text: (window.webpackJsonpCheckout=window.webpackJsonpCheckout||[]).push([[2],{1533:function(e,t,n){"use strict";var r=n(683),o=n(1514);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Popper",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"placements",{enumerable:!0,get:function(){return a.placements}}),Object.defineProperty(t,"Manager",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"Reference",{enumerable:!0,get:function(){return p.default}});var a=o(n(1645)),u=r(n(1542)),p=r(n(1648))},1542:function(e,t,n){"use strict";var r=n(1514),o=n(683);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ManagerContext=void 0;var a=o(n(1515)),u=o(n(1516)),p=o(n(1517)),i=o(n(1520)),s=r(n(0)),f=(0,o(n(1646)).default)({setReferenceNode:void 0,referenceNode:void 0});t.ManagerContext=f;var l=function(e){function t(){var t;return t=e.call(this)||this,(0,i.default)((0,p.default)((0,p.default)(t)),"setReferenceNode",(function(e){e&&t.state.context.referenceNode!==e&&t.setState((function(t){var n=t.context;return{context:(0,a.default)({},n,{referenceNode:e})}}))})),t.state={context:{setReferenceNode:t.setReferenceNode,referenceNode:void 0}},t}return(0,u.default)(t,e),t.prototype.render=function(){return s.createElement(f.Provider,{value:this.state.context},this.props.children)},t}(s.Component);t.default=l},1569:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.safeInvoke=t.unwrapArray=void 0;t.unwrapArray=function(e){return Array.isArray(e)?e[0]:e};t.safeInvoke=function(e){if("function"==typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e.apply(void 0,n)}}},1645:function(e,t,n){"use strict";n(15);var r=n(1514),o=n(683);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.referenceElement,n=(0,a.default)(e,["referenceElement"]);return f.createElement(d.ManagerContext.Consumer,null,(function(e){var r=e.referenceNode;return f.createElement(y,(0,u.default)({referenceElement:void 0!==t?t:r},n))}))},t.placements=t.InnerPopper=void 0;var a=o(n(1541)),u=o(n(1515)),p=o(n(1516)),i=o(n(1517)),s=o(n(1520)),f=r(n(0)),l=o(n(1568)),d=n(1542),c=n(1569),v={position:"absolute",top:0,left:0,opacity:0,pointerEvents:"none"},h={},y=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t=e.call.apply(e,[this].concat(r))||this,(0,s.default)((0,i.default)((0,i.default)(t)),"state",{data:void 0,placement:void 0}),(0,s.default)((0,i.default)((0,i.default)(t)),"popperInstance",void 0),(0,s.default)((0,i.default)((0,i.default)(t)),"popperNode",null),(0,s.default)((0,i.default)((0,i.default)(t)),"arrowNode",null),(0,s.default)((0,i.default)((0,i.default)(t)),"setPopperNode",(function(e){e&&t.popperNode!==e&&((0,c.safeInvoke)(t.props.innerRef,e),t.popperNode=e,t.updatePopperInstance())})),(0,s.default)((0,i.default)((0,i.default)(t)),"setArrowNode",(function(e){t.arrowNode=e})),(0,s.default)((0,i.default)((0,i.default)(t)),"updateStateModifier",{enabled:!0,order:900,fn:function(e){var n=e.placement;return t.setState({data:e,placement:n}),e}}),(0,s.default)((0,i.default)((0,i.default)(t)),"getOptions",(function(){return{placement:t.props.placement,eventsEnabled:t.props.eventsEnabled,positionFixed:t.props.positionFixed,modifiers:(0,u.default)({},t.props.modifiers,{arrow:(0,u.default)({},t.props.modifiers&&t.props.modifiers.arrow,{enabled:!!t.arrowNode,element:t.arrowNode}),applyStyle:{enabled:!1},updateStateModifier:t.updateStateModifier})}})),(0,s.default)((0,i.default)((0,i.default)(t)),"getPopperStyle",(function(){return t.popperNode&&t.state.data?(0,u.default)({position:t.state.data.offsets.popper.position},t.state.data.styles):v})),(0,s.default)((0,i.default)((0,i.default)(t)),"getPopperPlacement",(function(){return t.state.data?t.state.placement:void 0})),(0,s.default)((0,i.default)((0,i.default)(t)),"getArrowStyle",(function(){return t.arrowNode&&t.state.data?t.state.data.arrowStyles:h})),(0,s.default)((0,i.default)((0,i.default)(t)),"getOutOfBoundariesState",(function(){return t.state.data?t.state.data.hide:void 0})),(0,s.default)((0,i.default)((0,i.default)(t)),"destroyPopperInstance",(function(){t.popperInstance&&(t.popperInstance.destroy(),t.popperInstance=null)})),(0,s.default)((0,i.default)((0,i.default)(t)),"updatePopperInstance",(function(){t.destroyPopperInstance();var e=(0,i.default)((0,i.default)(t)).popperNode,n=t.props.referenceElement;n&&e&&(t.popperInstance=new l.default(n,e,t.getOptions()))})),(0,s.default)((0,i.default)((0,i.default)(t)),"scheduleUpdate",(function(){t.popperInstance&&t.popperInstance.scheduleUpdate()})),t}(0,p.default)(t,e);var n=t.prototype;return n.componentDidUpdate=function(e,t){this.props.placement!==e.placement||this.props.referenceElement!==e.referenceElement||this.props.positionFixed!==e.positionFixed?this.updatePopperInstance():this.props.eventsEnabled!==e.eventsEnabled&&this.popperInstance&&(this.props.eventsEnabled?this.popperInstance.enableEventListeners():this.popperInstance.disableEventListeners()),t.placement!==this.state.placement&&this.scheduleUpdate()},n.componentWillUnmount=function(){(0,c.safeInvoke)(this.props.innerRef,null),this.destroyPopperInstance()},n.render=function(){return(0,c.unwrapArray)(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()}})},t}(f.Component);t.InnerPopper=y,(0,s.default)(y,"defaultProps",{placement:"bottom",eventsEnabled:!0,referenceElement:void 0,positionFixed:!1});var m=l.default.placements;t.placements=m},1646:function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(0)),o=a(n(1647));function a(e){return e&&e.__esModule?e:{default:e}}t.default=r.default.createContext||o.default,e.exports=t.default},1647:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(8),n(9),n(10),n(15),n(28),n(5),n(3),n(4),n(7),n(20),n(6),t.__esModule=!0;var o=n(0),a=(p(o),p(n(111))),u=p(n(689));p(n(692));function p(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==r(t)&&"function"!=typeof t?e:t}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+r(t));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=1073741823;t.default=function(e,t){var n,r,p="__create-react-context-"+(0,u.default)()+"__",d=function(e){function n(){var t,r,o,a;i(this,n);for(var u=arguments.length,p=Array(u),f=0;f<u;f++)p[f]=arguments[f];return t=r=s(this,e.call.apply(e,[this].concat(p))),r.emitter=(o=r.props.value,a=[],{on:function(e){a.push(e)},off:function(e){a=a.filter((function(t){return t!==e}))},get:function(){return o},set:function(e,t){o=e,a.forEach((function(e){return e(o,t)}))}}),s(r,t)}return f(n,e),n.prototype.getChildContext=function(){var e;return(e={})[p]=this.emitter,e},n.prototype.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n=this.props.value,r=e.value,o=void 0;((a=n)===(u=r)?0!==a||1/a==1/u:a!=a&&u!=u)?o=0:(o="function"==typeof t?t(n,r):l,0!==(o|=0)&&this.emitter.set(e.value,o))}var a,u},n.prototype.render=function(){return this.props.children},n}(o.Component);d.childContextTypes=((n={})[p]=a.default.object.isRequired,n);var c=function(t){function n(){var e,r;i(this,n);for(var o=arguments.length,a=Array(o),u=0;u<o;u++)a[u]=arguments[u];return e=r=s(this,t.call.apply(t,[this].concat(a))),r.state={value:r.getValue()},r.onUpdate=function(e,t){0!=((0|r.observedBits)&t)&&r.setState({value:r.getValue()})},s(r,e)}return f(n,t),n.prototype.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?l:t},n.prototype.componentDidMount=function(){this.context[p]&&this.context[p].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?l:e},n.prototype.componentWillUnmount=function(){this.context[p]&&this.context[p].off(this.onUpdate)},n.prototype.getValue=function(){return this.context[p]?this.context[p].get():e},n.prototype.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(o.Component);return c.contextTypes=((r={})[p]=a.default.object,r),{Provider:d,Consumer:c}},e.exports=t.default},1648:function(e,t,n){"use strict";n(15);var r=n(1514),o=n(683);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return s.createElement(l.ManagerContext.Consumer,null,(function(t){var n=t.setReferenceNode;return s.createElement(c,(0,a.default)({setReferenceNode:n},e))}))};var a=o(n(1515)),u=o(n(1516)),p=o(n(1517)),i=o(n(1520)),s=r(n(0)),f=o(n(686)),l=n(1542),d=n(1569),c=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t=e.call.apply(e,[this].concat(r))||this,(0,i.default)((0,p.default)((0,p.default)(t)),"refHandler",(function(e){(0,d.safeInvoke)(t.props.innerRef,e),(0,d.safeInvoke)(t.props.setReferenceNode,e)})),t}return(0,u.default)(t,e),t.prototype.render=function(){return(0,f.default)(Boolean(this.props.setReferenceNode),"`Reference` should not be used outside of a `Manager` component."),(0,d.unwrapArray)(this.props.children)({ref:this.refHandler})},t}(s.Component)}}]);
  //# sourceMappingURL=vendors~billing~payment~shipping-d67d2984.js.map