{"id":"yNWR","dependencies":[{"name":"/home/ikr/prj/stc-b2b/react-period-of-stay-input/node_modules/react-onclickoutside/package.json","includedInParent":true,"mtime":1533713806875},{"name":"/home/ikr/prj/stc-b2b/react-period-of-stay-input/package.json","includedInParent":true,"mtime":1534170011202},{"name":"react","loc":{"line":1,"column":41},"parent":"/home/ikr/prj/stc-b2b/react-period-of-stay-input/node_modules/react-onclickoutside/dist/react-onclickoutside.es.js","resolved":"/home/ikr/prj/stc-b2b/react-period-of-stay-input/node_modules/react/index.js"},{"name":"react-dom","loc":{"line":2,"column":28},"parent":"/home/ikr/prj/stc-b2b/react-period-of-stay-input/node_modules/react-onclickoutside/dist/react-onclickoutside.es.js","resolved":"/home/ikr/prj/stc-b2b/react-period-of-stay-input/node_modules/react-dom/index.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.IGNORE_CLASS_NAME=void 0;var e=require(\"react\"),t=require(\"react-dom\");function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function o(e,t){if(null==e)return{};var n,o,i={},r=Object.keys(e);for(o=0;o<r.length;o++)n=r[o],t.indexOf(n)>=0||(i[n]=e[n]);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(o=0;o<c.length;o++)n=c[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function i(e,t,n){return e===t||(e.correspondingElement?e.correspondingElement.classList.contains(n):e.classList.contains(n))}function r(e,t,n){if(e===t)return!0;for(;e.parentNode;){if(i(e,t,n))return!0;e=e.parentNode}return e}function c(e){return document.documentElement.clientWidth<=e.clientX||document.documentElement.clientHeight<=e.clientY}var s=function(){if(\"undefined\"!=typeof window&&\"function\"==typeof window.addEventListener){var e=!1,t=Object.defineProperty({},\"passive\",{get:function(){e=!0}}),n=function(){};return window.addEventListener(\"testPassiveEventSupport\",n,t),window.removeEventListener(\"testPassiveEventSupport\",n,t),e}};function u(e){return void 0===e&&(e=0),function(){return++e}}var d,l=u(),a={},p={},f=[\"touchstart\",\"touchmove\"],O=\"ignore-react-onclickoutside\";function v(e,t){var n=null;return-1!==f.indexOf(t)&&d&&(n={passive:!e.props.preventDefault}),n}function m(i,u){var f,m;return m=f=function(f){function O(e){var t;return(t=f.call(this,e)||this).__outsideClickHandler=function(e){if(\"function\"!=typeof t.__clickOutsideHandlerProp){var n=t.getInstance();if(\"function\"!=typeof n.props.handleClickOutside){if(\"function\"!=typeof n.handleClickOutside)throw new Error(\"WrappedComponent lacks a handleClickOutside(event) function for processing outside click events.\");n.handleClickOutside(e)}else n.props.handleClickOutside(e)}else t.__clickOutsideHandlerProp(e)},t.enableOnClickOutside=function(){if(\"undefined\"!=typeof document&&!p[t._uid]){void 0===d&&(d=s()),p[t._uid]=!0;var e=t.props.eventTypes;e.forEach||(e=[e]),a[t._uid]=function(e){t.props.disableOnClickOutside||null!==t.componentNode&&(t.props.preventDefault&&e.preventDefault(),t.props.stopPropagation&&e.stopPropagation(),t.props.excludeScrollbar&&c(e)||r(e.target,t.componentNode,t.props.outsideClickIgnoreClass)===document&&t.__outsideClickHandler(e))},e.forEach(function(e){document.addEventListener(e,a[t._uid],v(t,e))})}},t.disableOnClickOutside=function(){delete p[t._uid];var e=a[t._uid];if(e&&\"undefined\"!=typeof document){var n=t.props.eventTypes;n.forEach||(n=[n]),n.forEach(function(n){return document.removeEventListener(n,e,v(t,n))}),delete a[t._uid]}},t.getRef=function(e){return t.instanceRef=e},t._uid=l(),t}n(O,f);var m=O.prototype;return m.getInstance=function(){if(!i.prototype.isReactComponent)return this;var e=this.instanceRef;return e.getInstance?e.getInstance():e},m.componentDidMount=function(){if(\"undefined\"!=typeof document&&document.createElement){var e=this.getInstance();if(u&&\"function\"==typeof u.handleClickOutside&&(this.__clickOutsideHandlerProp=u.handleClickOutside(e),\"function\"!=typeof this.__clickOutsideHandlerProp))throw new Error(\"WrappedComponent lacks a function for processing outside click events specified by the handleClickOutside config option.\");this.componentNode=(0,t.findDOMNode)(this.getInstance()),this.enableOnClickOutside()}},m.componentDidUpdate=function(){this.componentNode=(0,t.findDOMNode)(this.getInstance())},m.componentWillUnmount=function(){this.disableOnClickOutside()},m.render=function(){var t=this.props,n=(t.excludeScrollbar,o(t,[\"excludeScrollbar\"]));return i.prototype.isReactComponent?n.ref=this.getRef:n.wrappedRef=this.getRef,n.disableOnClickOutside=this.disableOnClickOutside,n.enableOnClickOutside=this.enableOnClickOutside,(0,e.createElement)(i,n)},O}(e.Component),f.displayName=\"OnClickOutside(\"+(i.displayName||i.name||\"Component\")+\")\",f.defaultProps={eventTypes:[\"mousedown\",\"touchstart\"],excludeScrollbar:u&&u.excludeScrollbar||!1,outsideClickIgnoreClass:O,preventDefault:!1,stopPropagation:!1},f.getClass=function(){return i.getClass?i.getClass():i},m}exports.IGNORE_CLASS_NAME=O,exports.default=m;","map":null},"hash":"080e1e9d3693a65c505422e4bce61eb0","cacheData":{"env":{}}}