filesbox/web/dist/22004.c5103583.async.js

7 lines
105 KiB
JavaScript
Raw Permalink Normal View History

2024-07-26 06:10:54 +00:00
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[22004],{9996:function(Z){"use strict";var g=function(R){return D(R)&&!O(R)};function D(_){return!!_&&typeof _=="object"}function O(_){var R=Object.prototype.toString.call(_);return R==="[object RegExp]"||R==="[object Date]"||L(_)}var k=typeof Symbol=="function"&&Symbol.for,w=k?Symbol.for("react.element"):60103;function L(_){return _.$$typeof===w}function M(_){return Array.isArray(_)?[]:{}}function V(_,R){return R.clone!==!1&&R.isMergeableObject(_)?j(M(_),_,R):_}function I(_,R,E){return _.concat(R).map(function(S){return V(S,E)})}function A(_,R){if(!R.customMerge)return j;var E=R.customMerge(_);return typeof E=="function"?E:j}function N(_){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(_).filter(function(R){return Object.propertyIsEnumerable.call(_,R)}):[]}function U(_){return Object.keys(_).concat(N(_))}function z(_,R){try{return R in _}catch(E){return!1}}function $(_,R){return z(_,R)&&!(Object.hasOwnProperty.call(_,R)&&Object.propertyIsEnumerable.call(_,R))}function W(_,R,E){var S={};return E.isMergeableObject(_)&&U(_).forEach(function(C){S[C]=V(_[C],E)}),U(R).forEach(function(C){$(_,C)||(z(_,C)&&E.isMergeableObject(R[C])?S[C]=A(C,E)(_[C],R[C],E):S[C]=V(R[C],E))}),S}function j(_,R,E){E=E||{},E.arrayMerge=E.arrayMerge||I,E.isMergeableObject=E.isMergeableObject||g,E.cloneUnlessOtherwiseSpecified=V;var S=Array.isArray(R),C=Array.isArray(_),f=S===C;return f?S?E.arrayMerge(_,R,E):W(_,R,E):V(R,E)}j.all=function(R,E){if(!Array.isArray(R))throw new Error("first argument should be an array");return R.reduce(function(S,C){return j(S,C,E)},{})};var K=j;Z.exports=K},49090:function(Z){Z.exports=function(w,L,M){var V=document.head||document.getElementsByTagName("head")[0],I=document.createElement("script");typeof L=="function"&&(M=L,L={}),L=L||{},M=M||function(){},I.type=L.type||"text/javascript",I.charset=L.charset||"utf8",I.async="async"in L?!!L.async:!0,I.src=w,L.attrs&&g(I,L.attrs),L.text&&(I.text=""+L.text);var A="onload"in I?D:O;A(I,M),I.onload||D(I,M),V.appendChild(I)};function g(k,w){for(var L in w)k.setAttribute(L,w[L])}function D(k,w){k.onload=function(){this.onerror=this.onload=null,w(null,k)},k.onerror=function(){this.onerror=this.onload=null,w(new Error("Failed to load "+this.src),k)}}function O(k,w){k.onreadystatechange=function(){this.readyState!="complete"&&this.readyState!="loaded"||(this.onreadystatechange=null,w(null,k))}}},30845:function(Z,g,D){"use strict";D.r(g);var O=Number.isNaN||function(V){return typeof V=="number"&&V!==V};function k(M,V){return!!(M===V||O(M)&&O(V))}function w(M,V){if(M.length!==V.length)return!1;for(var I=0;I<M.length;I++)if(!k(M[I],V[I]))return!1;return!0}function L(M,V){V===void 0&&(V=w);var I,A=[],N,U=!1;function z(){for(var $=[],W=0;W<arguments.length;W++)$[W]=arguments[W];return U&&I===this&&V($,A)||(N=M.apply(this,$),U=!0,I=this,A=$),N}return z}g.default=L},60722:function(Z,g,D){"use strict";function O(n){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(r){return typeof r}:O=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},O(n)}Object.defineProperty(g,"__esModule",{value:!0}),g.default=void 0;var k=A(D(67294)),w=V(D(69590)),L=D(85741),M=D(38045);function V(n){return n&&n.__esModule?n:{default:n}}function I(){if(typeof WeakMap!="function")return null;var n=new WeakMap;return I=function(){return n},n}function A(n){if(n&&n.__esModule)return n;if(n===null||O(n)!=="object"&&typeof n!="function")return{default:n};var t=I();if(t&&t.has(n))return t.get(n);var r={},e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in n)if(Object.prototype.hasOwnProperty.call(n,o)){var u=e?Object.getOwnPropertyDescriptor(n,o):null;u&&(u.get||u.set)?Object.defineProperty(r,o,u):r[o]=n[o]}return r.default=n,t&&t.set(n,r),r}function N(){return N=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(n[e]=r[e])}return n},N.apply
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function K(v,m){if(!!v){if(typeof v=="string")return E(v,m);var T=Object.prototype.toString.call(v).slice(8,-1);if(T==="Object"&&v.constructor&&(T=v.constructor.name),T==="Map"||T==="Set")return Array.from(v);if(T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T))return E(v,m)}}function _(v){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(v))return Array.from(v)}function R(v){if(Array.isArray(v))return E(v)}function E(v,m){(m==null||m>v.length)&&(m=v.length);for(var T=0,H=new Array(m);T<m;T++)H[T]=v[T];return H}function S(v,m){if(!(v instanceof m))throw new TypeError("Cannot call a class as a function")}function C(v,m){for(var T=0;T<m.length;T++){var H=m[T];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(v,H.key,H)}}function f(v,m,T){return m&&C(v.prototype,m),T&&C(v,T),v}function y(v,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(m&&m.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),m&&n(v,m)}function n(v,m){return n=Object.setPrototypeOf||function(H,Y){return H.__proto__=Y,H},n(v,m)}function t(v){var m=o();return function(){var H=u(v),Y;if(m){var F=u(this).constructor;Y=Reflect.construct(H,arguments,F)}else Y=H.apply(this,arguments);return r(this,Y)}}function r(v,m){return m&&(N(m)==="object"||typeof m=="function")?m:e(v)}function e(v){if(v===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v}function o(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(v){return!1}}function u(v){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(T){return T.__proto__||Object.getPrototypeOf(T)},u(v)}function i(v,m,T){return m in v?Object.defineProperty(v,m,{value:T,enumerable:!0,configurable:!0,writable:!0}):v[m]=T,v}function a(){if(typeof WeakMap!="function")return null;var v=new WeakMap;return a=function(){return v},v}function d(v){if(v&&v.__esModule)return v;if(v===null||N(v)!=="object"&&typeof v!="function")return{default:v};var m=a();if(m&&m.has(v))return m.get(v);var T={},H=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Y in v)if(Object.prototype.hasOwnProperty.call(v,Y)){var F=H?Object.getOwnPropertyDescriptor(v,Y):null;F&&(F.get||F.set)?Object.defineProperty(T,Y,F):T[Y]=v[Y]}return T.default=v,m&&m.set(v,T),T}var P=(0,O.lazy)(function(){return Promise.resolve().then(function(){return d(D(83855))})}),s=typeof window!="undefined"&&window.document,c=typeof D.g!="undefined"&&D.g.window&&D.g.window.document,h=Object.keys(M.propTypes),p=s||c?O.Suspense:function(){return null},l=[],b=function(m,T){var H,Y;return Y=H=function(F){y(q,F);var X=t(q);function q(){var B;S(this,q);for(var Q=arguments.length,J=new Array(Q),re=0;re<Q;re++)J[re]=arguments[re];return B=X.call.apply(X,[this].concat(J)),i(e(B),"state",{showPreview:!!B.props.light}),i(e(B),"references",{wrapper:function(G){B.wrapper=G},player:function(G){B.player=G}}),i(e(B),"handleClickPreview",function(x){B.setState({showPreview:!1}),B.props.onClickPreview(x)}),i(e(B),"showPreview",function(){B.setState({showPreview:!0})}),i(e(B),"getDuration",function(){return B.player?B.player.getDuration():null}),i(e(B),"getCurrentTime",function(){return B.player?B.player.getCurrentTime():null}),i(e(B),"getSecondsLoaded",function(){return B.player?B.player.getSecondsLoaded():null}),i(e(B),"getInternalPlayer",function(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"player";return B.player?B.player.getInternalPlayer(x):null}),i(e(B),"seekTo",function(x,G){if(!B.player)return null;B.player.seekTo(x,G)}),i(e(B),"handleReady",function(){B.props.onReady(e(B))}),i(e(B),"getActivePlayer",(0,w.default)(function(x){for(var G=0,ee=[].concat(l,W(m));G<ee.length;G++){var te=ee[G];if(te.canPlay(
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,d=!1,P;return{s:function(){o=r[Symbol.iterator]()},n:function(){var c=o.next();return a=c.done,c},e:function(c){d=!0,P=c},f:function(){try{!a&&o.return!=null&&o.return()}finally{if(d)throw P}}}}function w(r,e){if(!!r){if(typeof r=="string")return L(r,e);var o=Object.prototype.toString.call(r).slice(8,-1);if(o==="Object"&&r.constructor&&(o=r.constructor.name),o==="Map"||o==="Set")return Array.from(r);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return L(r,e)}}function L(r,e){(e==null||e>r.length)&&(e=r.length);for(var o=0,u=new Array(e);o<e;o++)u[o]=r[o];return u}var M=/(?:youtu\.be\/|youtube(?:-nocookie)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//;g.MATCH_URL_YOUTUBE=M;var V=/(?:soundcloud\.com|snd\.sc)\/[^.]+$/;g.MATCH_URL_SOUNDCLOUD=V;var I=/vimeo\.com\/(?!progressive_redirect).+/;g.MATCH_URL_VIMEO=I;var A=/^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/;g.MATCH_URL_FACEBOOK=A;var N=/^https?:\/\/fb\.watch\/.+$/;g.MATCH_URL_FACEBOOK_WATCH=N;var U=/streamable\.com\/([a-z0-9]+)$/;g.MATCH_URL_STREAMABLE=U;var z=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?(.*)$/;g.MATCH_URL_WISTIA=z;var $=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/;g.MATCH_URL_TWITCH_VIDEO=$;var W=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/;g.MATCH_URL_TWITCH_CHANNEL=W;var j=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?(?:[\w.#_-]+)?/;g.MATCH_URL_DAILYMOTION=j;var K=/mixcloud\.com\/([^/]+\/[^/]+)/;g.MATCH_URL_MIXCLOUD=K;var _=/vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/;g.MATCH_URL_VIDYARD=_;var R=/^https?:\/\/[a-zA-Z]+\.kaltura.(com|org)\/p\/([0-9]+)\/sp\/([0-9]+)00\/embedIframeJs\/uiconf_id\/([0-9]+)\/partner_id\/([0-9]+)(.*)entry_id.([a-zA-Z0-9-_].*)$/;g.MATCH_URL_KALTURA=R;var E=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i;g.AUDIO_EXTENSIONS=E;var S=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i;g.VIDEO_EXTENSIONS=S;var C=/\.(m3u8)($|\?)/i;g.HLS_EXTENSIONS=C;var f=/\.(mpd)($|\?)/i;g.DASH_EXTENSIONS=f;var y=/\.(flv)($|\?)/i;g.FLV_EXTENSIONS=y;var n=function r(e){if(e instanceof Array){var o=k(e),u;try{for(o.s();!(u=o.n()).done;){var i=u.value;if(typeof i=="string"&&r(i)||r(i.src))return!0}}catch(a){o.e(a)}finally{o.f()}return!1}return(0,O.isMediaStream)(e)||(0,O.isBlobUrl)(e)?!0:E.test(e)||S.test(e)||C.test(e)||f.test(e)||y.test(e)},t={youtube:function(e){return e instanceof Array?e.every(function(o){return M.test(o)}):M.test(e)},soundcloud:function(e){return V.test(e)&&!E.test(e)},vimeo:function(e){return I.test(e)&&!S.test(e)&&!C.test(e)},facebook:function(e){return A.test(e)||N.test(e)},streamable:function(e){return U.test(e)},wistia:function(e){return z.test(e)},twitch:function(e){return $.test(e)||W.test(e)},dailymotion:function(e){return j.test(e)},mixcloud:function(e){return K.test(e)},vidyard:function(e){return _.test(e)},kaltura:function(e){return R.test(e)},file:n};g.canPlay=t},36807:function(Z,g,D){"use strict";function O(a){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(P){return typeof P}:O=function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P},O(a)}Object.defineProperty(g,"__esModule",{value:!0}),g.default=void 0;var k=V(D(67294)),w=D(38045),L=D(71776);function M(){if(typeof WeakMap!="function")return null;var a=new WeakMap;return M=function(){return a},a}function V(a){if(a&&a.__esModule)return a;if(a===null||O(a)!=="object"&&typeof a!="function")return{default:a};var d=M();if(d&&d.has(a))return d.get(a);var P={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in a)if(Object.prototype.hasOwnProperty.call(a,c)){var h=s?Object.getOwnPropertyDescriptor(a,c):null;h&&(h.get||h.set)?Object.defineProperty(P,c,h):P[c]=a[c]}return P.default=a,d&&d.set(a,P),P}function I(a,d){va
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function z(a,d){if(!!a){if(typeof a=="string")return $(a,d);var P=Object.prototype.toString.call(a).slice(8,-1);if(P==="Object"&&a.constructor&&(P=a.constructor.name),P==="Map"||P==="Set")return Array.from(a);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return $(a,d)}}function $(a,d){(d==null||d>a.length)&&(d=a.length);for(var P=0,s=new Array(d);P<d;P++)s[P]=a[P];return s}function W(a,d){if(!(typeof Symbol=="undefined"||!(Symbol.iterator in Object(a)))){var P=[],s=!0,c=!1,h=void 0;try{for(var p=a[Symbol.iterator](),l;!(s=(l=p.next()).done)&&(P.push(l.value),!(d&&P.length===d));s=!0);}catch(b){c=!0,h=b}finally{try{!s&&p.return!=null&&p.return()}finally{if(c)throw h}}return P}}function j(a){if(Array.isArray(a))return a}function K(a,d){if(!(a instanceof d))throw new TypeError("Cannot call a class as a function")}function _(a,d){for(var P=0;P<d.length;P++){var s=d[P];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(a,s.key,s)}}function R(a,d,P){return d&&_(a.prototype,d),P&&_(a,P),a}function E(a,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function");a.prototype=Object.create(d&&d.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),d&&S(a,d)}function S(a,d){return S=Object.setPrototypeOf||function(s,c){return s.__proto__=c,s},S(a,d)}function C(a){var d=n();return function(){var s=t(a),c;if(d){var h=t(this).constructor;c=Reflect.construct(s,arguments,h)}else c=s.apply(this,arguments);return f(this,c)}}function f(a,d){return d&&(O(d)==="object"||typeof d=="function")?d:y(a)}function y(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function n(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(a){return!1}}function t(a){return t=Object.setPrototypeOf?Object.getPrototypeOf:function(P){return P.__proto__||Object.getPrototypeOf(P)},t(a)}function r(a,d,P){return d in a?Object.defineProperty(a,d,{value:P,enumerable:!0,configurable:!0,writable:!0}):a[d]=P,a}var e="https://api.dmcdn.net/all.js",o="DM",u="dmAsyncInit",i=function(a){E(P,a);var d=C(P);function P(){var s;K(this,P);for(var c=arguments.length,h=new Array(c),p=0;p<c;p++)h[p]=arguments[p];return s=d.call.apply(d,[this].concat(h)),r(y(s),"callPlayer",w.callPlayer),r(y(s),"onDurationChange",function(){var l=s.getDuration();s.props.onDuration(l)}),r(y(s),"mute",function(){s.callPlayer("setMuted",!0)}),r(y(s),"unmute",function(){s.callPlayer("setMuted",!1)}),r(y(s),"ref",function(l){s.container=l}),s}return R(P,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(c){var h=this,p=this.props,l=p.controls,b=p.config,v=p.onError,m=p.playing,T=c.match(L.MATCH_URL_DAILYMOTION),H=N(T,2),Y=H[1];if(this.player){this.player.load(Y,{start:(0,w.parseStartTime)(c),autoplay:m});return}(0,w.getSDK)(e,o,u,function(F){return F.player}).then(function(F){if(!!h.container){var X=F.player;h.player=new X(h.container,{width:"100%",height:"100%",video:Y,params:A({controls:l,autoplay:h.props.playing,mute:h.props.muted,start:(0,w.parseStartTime)(c),origin:window.location.origin},b.params),events:{apiready:h.props.onReady,seeked:function(){return h.props.onSeek(h.player.currentTime)},video_end:h.props.onEnded,durationchange:h.onDurationChange,pause:h.props.onPause,playing:h.props.onPlay,waiting:h.props.onBuffer,error:function(B){return v(B)}}})}},v)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(c){this.callPlayer("seek",c)}},{key:"setVolume",value:function(c){this.callPlayer("setVolume",c)}},{key:"getDuration",value:function(){return this.player.duration||null}},{key:"get
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function z(c,h){if(!!c){if(typeof c=="string")return $(c,h);var p=Object.prototype.toString.call(c).slice(8,-1);if(p==="Object"&&c.constructor&&(p=c.constructor.name),p==="Map"||p==="Set")return Array.from(c);if(p==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(p))return $(c,h)}}function $(c,h){(h==null||h>c.length)&&(h=c.length);for(var p=0,l=new Array(h);p<h;p++)l[p]=c[p];return l}function W(c,h){if(!(typeof Symbol=="undefined"||!(Symbol.iterator in Object(c)))){var p=[],l=!0,b=!1,v=void 0;try{for(var m=c[Symbol.iterator](),T;!(l=(T=m.next()).done)&&(p.push(T.value),!(h&&p.length===h));l=!0);}catch(H){b=!0,v=H}finally{try{!l&&m.return!=null&&m.return()}finally{if(b)throw v}}return p}}function j(c){if(Array.isArray(c))return c}function K(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}function _(c,h){for(var p=0;p<h.length;p++){var l=h[p];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(c,l.key,l)}}function R(c,h,p){return h&&_(c.prototype,h),p&&_(c,p),c}function E(c,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function");c.prototype=Object.create(h&&h.prototype,{constructor:{value:c,writable:!0,configurable:!0}}),h&&S(c,h)}function S(c,h){return S=Object.setPrototypeOf||function(l,b){return l.__proto__=b,l},S(c,h)}function C(c){var h=n();return function(){var l=t(c),b;if(h){var v=t(this).constructor;b=Reflect.construct(l,arguments,v)}else b=l.apply(this,arguments);return f(this,b)}}function f(c,h){return h&&(O(h)==="object"||typeof h=="function")?h:y(c)}function y(c){if(c===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c}function n(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(c){return!1}}function t(c){return t=Object.setPrototypeOf?Object.getPrototypeOf:function(p){return p.__proto__||Object.getPrototypeOf(p)},t(c)}function r(c,h,p){return h in c?Object.defineProperty(c,h,{value:p,enumerable:!0,configurable:!0,writable:!0}):c[h]=p,c}var e="https://www.youtube.com/iframe_api",o="YT",u="onYouTubeIframeAPIReady",i=/[?&](?:list|channel)=([a-zA-Z0-9_-]+)/,a=/user\/([a-zA-Z0-9_-]+)\/?/,d=/youtube-nocookie\.com/,P="https://www.youtube-nocookie.com",s=function(c){E(p,c);var h=C(p);function p(){var l;K(this,p);for(var b=arguments.length,v=new Array(b),m=0;m<b;m++)v[m]=arguments[m];return l=h.call.apply(h,[this].concat(v)),r(y(l),"callPlayer",w.callPlayer),r(y(l),"parsePlaylist",function(T){if(T instanceof Array)return{listType:"playlist",playlist:T.map(l.getID).join(",")};if(i.test(T)){var H=T.match(i),Y=N(H,2),F=Y[1];return{listType:"playlist",list:F.replace(/^UC/,"UU")}}if(a.test(T)){var X=T.match(a),q=N(X,2),B=q[1];return{listType:"user_uploads",list:B}}return{}}),r(y(l),"onStateChange",function(T){var H=T.data,Y=l.props,F=Y.onPlay,X=Y.onPause,q=Y.onBuffer,B=Y.onBufferEnd,Q=Y.onEnded,J=Y.onReady,re=Y.loop,x=Y.config,G=x.playerVars,ee=x.onUnstarted,te=window[o].PlayerState,ne=te.UNSTARTED,oe=te.PLAYING,ae=te.PAUSED,ie=te.BUFFERING,ue=te.ENDED,le=te.CUED;if(H===ne&&ee(),H===oe&&(F(),B()),H===ae&&X(),H===ie&&q(),H===ue){var ce=!!l.callPlayer("getPlaylist");re&&!ce&&(G.start?l.seekTo(G.start):l.play()),Q()}H===le&&J()}),r(y(l),"mute",function(){l.callPlayer("mute")}),r(y(l),"unmute",function(){l.callPlayer("unMute")}),r(y(l),"ref",function(T){l.container=T}),l}return R(p,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"getID",value:function(b){return!b||b instanceof Array||i.test(b)?null:b.match(L.MATCH_URL_YOUTUBE)[1]}},{key:"load",value:function(b,v){var m=this,T=this.props,H=T.playing,Y=T.muted,F=T.playsinline,X=T.controls,q=T.loop,B=T.config,Q=T.onError,J=B.playerVars,re=B.embedOptions,x=this.getID(b);if(v){if(i.test(b)||a.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function V(i,a){if(!!i){if(typeof i=="string")return I(i,a);var d=Object.prototype.toString.call(i).slice(8,-1);if(d==="Object"&&i.constructor&&(d=i.constructor.name),d==="Map"||d==="Set")return Array.from(i);if(d==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d))return I(i,a)}}function I(i,a){(a==null||a>i.length)&&(a=i.length);for(var d=0,P=new Array(a);d<a;d++)P[d]=i[d];return P}function A(i,a){if(!(typeof Symbol=="undefined"||!(Symbol.iterator in Object(i)))){var d=[],P=!0,s=!1,c=void 0;try{for(var h=i[Symbol.iterator](),p;!(P=(p=h.next()).done)&&(d.push(p.value),!(a&&d.length===a));P=!0);}catch(l){s=!0,c=l}finally{try{!P&&h.return!=null&&h.return()}finally{if(s)throw c}}return d}}function N(i){if(Array.isArray(i))return i}var U=/[?&#](?:start|t)=([0-9hms]+)/,z=/[?&#]end=([0-9hms]+)/,$=/(\d+)(h|m|s)/g,W=/^\d+$/;function j(i,a){if(!(i instanceof Array)){var d=i.match(a);if(d){var P=d[1];if(P.match($))return K(P);if(W.test(P))return parseInt(P)}}}function K(i){for(var a=0,d=$.exec(i);d!==null;){var P=d,s=L(P,3),c=s[1],h=s[2];h==="h"&&(a+=parseInt(c,10)*60*60),h==="m"&&(a+=parseInt(c,10)*60),h==="s"&&(a+=parseInt(c,10)),d=$.exec(i)}return a}function _(i){return j(i,U)}function R(i){return j(i,z)}function E(){return Math.random().toString(36).substr(2,5)}function S(i){return Object.keys(i).map(function(a){return"".concat(a,"=").concat(i[a])}).join("&")}function C(i){return window[i]?window[i]:window.exports&&window.exports[i]?window.exports[i]:window.module&&window.module.exports&&window.module.exports[i]?window.module.exports[i]:null}var f={};function y(i,a){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,P=arguments.length>3&&arguments[3]!==void 0?arguments[3]:function(){return!0},s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:O.default,c=C(a);return c&&P(c)?Promise.resolve(c):new Promise(function(h,p){if(f[i]){f[i].push({resolve:h,reject:p});return}f[i]=[{resolve:h,reject:p}];var l=function(m){f[i].forEach(function(T){return T.resolve(m)})};if(d){var b=window[d];window[d]=function(){b&&b(),l(C(a))}}s(i,function(v){v?(f[i].forEach(function(m){return m.reject(v)}),f[i]=null):d||l(C(a))})})}function n(i,a){return(0,k.default)(a.config,i.config)}function t(i){for(var a,d=arguments.length,P=new Array(d>1?d-1:0),s=1;s<d;s++)P[s-1]=arguments[s];for(var c=(a=[]).concat.apply(a,P),h={},p=Object.keys(i),l=0,b=p;l<b.length;l++){var v=b[l];c.indexOf(v)===-1&&(h[v]=i[v])}return h}function r(i){var a;if(!this.player||!this.player[i]){var d="ReactPlayer: ".concat(this.constructor.displayName," player could not call %c").concat(i,"%c \u2013 ");return this.player?this.player[i]||(d+="The method was not available"):d+="The player was not available",console.warn(d,"font-weight: bold",""),null}for(var P=arguments.length,s=new Array(P>1?P-1:0),c=1;c<P;c++)s[c-1]=arguments[c];return(a=this.player)[i].apply(a,s)}function e(i){return typeof window!="undefined"&&typeof window.MediaStream!="undefined"&&i instanceof window.MediaStream}function o(i){return/^blob:/.test(i)}function u(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document.createElement("video"),a=/iPhone|iPod/.test(navigator.userAgent)===!1;return i.webkitSupportsPresentationMode&&typeof i.webkitSetPresentationMode=="function"&&a}}}]);