mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 09:25:15 +00:00
3 lines
152 KiB
JavaScript
3 lines
152 KiB
JavaScript
|
(function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["exports","react","react-dom"],t):(e=e||self,t(e.Reactstrap={},e.React,e.ReactDOM))})(this,function(o,a,s){'use strict';var bt=String.prototype,ht=Number.prototype,yt=Math.min,Et=Math.floor,vt=Math.round,Nt=Math.max,xt=String.fromCharCode;function i(){return i=Object.assign||function(e){for(var t=1,o;t<arguments.length;t++)for(var n in o=arguments[t],o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n]);return e},i.apply(this,arguments)}function u(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function E(e,t){if(null==e)return{};var o={},n=Object.keys(e),a,s;for(s=0;s<n.length;s++)a=n[s],0<=t.indexOf(a)||(o[a]=e[a]);return o}function N(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e["default"]:e}function C(e,t){return t={exports:{}},e(t,t.exports),t.exports}function M(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 O(e){return M(e)===l}function P(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 _(){}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 R(e){document.body.style.paddingRight=0<e?e+"px":null}function j(){return document.body.clientWidth<window.innerWidth}function D(){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;j()&&R(o+e)}function F(e,t){return void 0===e&&(e=""),void 0===t&&(t=Oo),t?e.split(" ").map(function(e){return t[e]||e}).join(" "):e}function L(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=Array.isArray(t)?t:[t],n=o.length,a={},s;0<n;)n-=1,s=o[n],a[s]=e[s];return a}function U(e){co[e]||("undefined"!=typeof console&&console.error(e),co[e]=!0)}function W(e,t,o){if(!(e[t]instanceof uo))return new Error("Invalid prop `"+t+"` supplied to `"+o+"`. Expected prop to be an instance of Element. Validation failed.")}function z(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 H(e){var t=typeof e,o=0/0;if("number"==t)return e;if("symbol"==t||"object"===t&&"[object Symbol]"===$(e))return o;if(G(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=G(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 G(e){var t=typeof e;return null!=e&&("object"===t||"function"===t)}function K(e){if(!G(e))return!1;var t=$(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object Proxy]"===t}function V(e){if(z(e))return e.current;if(K(e))return e();if("string"==typeof e&&vo){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 X(e){return null!==e&&(Array.isArray(e)||vo&&"number"==typeof e.length)}function Y(e,t){var o=V(e);return t?X(o)?o:null===o?[]:[o]:X(o)?o[0]:o}function J(e,t,o,n){var a=e;X(a
|
||
|
//# sourceMappingURL=reactstrap.full.min.js.map
|