GoScrobble/web/node_modules/reactstrap/dist/reactstrap.min.js

3 lines
109 KiB
JavaScript
Raw Normal View History

2022-04-25 02:47:15 +00:00
(function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("react-popper"),require("react-dom")):"function"==typeof define&&define.amd?define(["exports","react","react-popper","react-dom"],t):(e=e||self,t(e.Reactstrap={},e.React,e.ReactPopper || undefined,e.ReactDOM))})(this,function(o,a,s,i){'use strict';var me=String.fromCharCode;function u(){return u=Object.assign||function(e){for(var t,o=1;o<arguments.length;o++)for(var n in t=arguments[o],t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},u.apply(this,arguments)}function E(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function N(e,t){if(null==e)return{};var o,n,a={},s=Object.keys(e);for(n=0;n<s.length;n++)o=s[n],0<=t.indexOf(o)||(a[o]=e[o]);return a}function T(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e["default"]:e}function M(e,t){return t={exports:{}},e(t,t.exports),t.exports}function O(t){if("object"==typeof t&&null!==t){var o=t.$$typeof;switch(o){case b:switch(t=t.type,t){case k:case l:case d:case f:case e:case n:return t;default:switch(t=t&&t.$$typeof,t){case h:case m:case r:case q:case g:return t;default:return o;}}case c:return o;}}}function P(e){return O(e)===l}function _(e){if(null===e||e===void 0)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function S(){}function R(){}function I(){var e=document.createElement("div");e.style.position="absolute",e.style.top="-9999px",e.style.width="50px",e.style.height="50px",e.style.overflow="scroll",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}function j(e){document.body.style.paddingRight=0<e?e+"px":null}function D(){return document.body.clientWidth<window.innerWidth}function F(){var e=window.getComputedStyle(document.body,null);return parseInt(e&&e.getPropertyValue("padding-right")||0,10)}function A(){var e=I(),t=document.querySelectorAll(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top")[0],o=t?parseInt(t.style.paddingRight||0,10):0;D()&&j(o+e)}function L(e,t){return void 0===e&&(e=""),void 0===t&&(t=Je),t?e.split(" ").map(function(e){return t[e]||e}).join(" "):e}function z(e,t){var o={};return Object.keys(e).forEach(function(n){-1===t.indexOf(n)&&(o[n]=e[n])}),o}function B(e,t){for(var o,n=Array.isArray(t)?t:[t],a=n.length,s={};0<a;)a-=1,o=n[a],s[o]=e[o];return s}function U(e){tt[e]||("undefined"!=typeof console&&console.error(e),tt[e]=!0)}function W(e,t,o){if(!(e[t]instanceof ot))return new Error("Invalid prop `"+t+"` supplied to `"+o+"`. Expected prop to be an instance of Element. Validation failed.")}function G(e){return!!(e&&"object"==typeof e)&&"current"in e}function $(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}function K(e){var t=typeof e,o=0/0;if("number"==t)return e;if("symbol"==t||"object"===t&&"[object Symbol]"===$(e))return o;if(H(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=H(n)?""+n:n}if("string"!=t)return 0===e?e:+e;e=e.replace(/^\s+|\s+$/g,"");var a=/^0b[01]+$/i.test(e);return a||/^0o[0-7]+$/i.test(e)?parseInt(e.slice(2),a?2:8):/^[-+]0x[0-9a-f]+$/i.test(e)?o:+e}function H(e){var t=typeof e;return null!=e&&("object"===t||"function"===t)}function V(e){if(!H(e))return!1;var t=$(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object Proxy]"===t}function X(e){if(G(e))return e.current;if(V(e))return e();if("string"==typeof e&&ct){var t=document.querySelectorAll(e);if(t.length||(t=document.querySelectorAll("#"+e)),!t.length)throw new Error("The target '"+e+"' could not be identified in the dom, tip: check spelling");return t}return e}function Y(e){return null!==e&&(Array.isArray(e)||ct&&"number"==typeof e.length)}function J(e,t){var o=X(e);return t?Y(o)?o:null===o?[]:[o]:Y(o)?o[0]:o}function Q(e,t,o,n){var a=e;Y(a)||(a=[a]);var s=o;if("s
//# sourceMappingURL=reactstrap.min.js.map