text: !function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("react"),require("nplayer")):"function"==typeof define&&define.amd?define("NPlayerReact",["react","nplayer"],r):"object"==typeof exports?exports.NPlayerReact=r(require("react"),require("nplayer")):e.NPlayerReact=r(e.React,e.NPlayer)}(this,(function(e,r){return function(){"use strict";var t={169:function(e){e.exports=r},698:function(r){r.exports=e}},n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var u=n[e]={exports:{}};return t[e](u,u.exports,o),u.exports}o.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(r,{a:r}),r},o.d=function(e,r){for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)};var u={};return function(){var e=o(698),r=o.n(e),t=o(169);function n(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function c(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?n(Object(t),!0).forEach((function(r){i(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):n(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function i(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function f(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t,n,o={},u=Object.keys(e);for(n=0;n<u.length;n++)t=u[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(n=0;n<u.length;n++)t=u[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var a=r().forwardRef((function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0,u=(0,e.useRef)(),i=(0,e.useRef)(),a=n.options,p=f(n,["options"]);return(0,e.useEffect)((function(){if(u.current&&"undefined"!=typeof document)return i.current||(i.current=new t.Player.Player(a)),i.current.mount(u.current),"function"==typeof o?i.current&&o(i.current):o&&(o.current=i.current),function(){i.current&&i.current.dispose()}}),[o]),r().createElement("div",c(c({},p),{},{style:c({width:"100%",height:"100%"},p.style),ref:u}))}));a.displayName="NPlayer",u.default=(0,e.memo)(a)}(),u=u.default}()}));
  //# sourceMappingURL=index.min.js.map