Files
zyplayer-doc/zyplayer-doc-api/src/main/resources/dist/assets/custom.914a01ae.js

6 lines
45 KiB
JavaScript
Raw Normal View History

var Xr=Object.defineProperty,Yr=Object.defineProperties;var Zr=Object.getOwnPropertyDescriptors;var nr=Object.getOwnPropertySymbols;var et=Object.prototype.hasOwnProperty,rt=Object.prototype.propertyIsEnumerable;var ar=(r,e,t)=>e in r?Xr(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,Ae=(r,e)=>{for(var t in e||(e={}))et.call(e,t)&&ar(r,t,e[t]);if(nr)for(var t of nr(e))rt.call(e,t)&&ar(r,t,e[t]);return r},Oe=(r,e)=>Yr(r,Zr(e));import{R as tt,B as ae}from"./vendor.d3f949c4.js";var Ee={exports:{}},or=function(e,t){return function(){for(var a=new Array(arguments.length),o=0;o<a.length;o++)a[o]=arguments[o];return e.apply(t,a)}},nt=or,_=Object.prototype.toString;function ir(r){return _.call(r)==="[object Array]"}function Pe(r){return typeof r=="undefined"}function at(r){return r!==null&&!Pe(r)&&r.constructor!==null&&!Pe(r.constructor)&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}function ot(r){return _.call(r)==="[object ArrayBuffer]"}function it(r){return typeof FormData!="undefined"&&r instanceof FormData}function ut(r){var e;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?e=ArrayBuffer.isView(r):e=r&&r.buffer&&r.buffer instanceof ArrayBuffer,e}function ft(r){return typeof r=="string"}function st(r){return typeof r=="number"}function ur(r){return r!==null&&typeof r=="object"}function lt(r){return _.call(r)==="[object Date]"}function ct(r){return _.call(r)==="[object File]"}function pt(r){return _.call(r)==="[object Blob]"}function fr(r){return _.call(r)==="[object Function]"}function yt(r){return ur(r)&&fr(r.pipe)}function dt(r){return typeof URLSearchParams!="undefined"&&r instanceof URLSearchParams}function mt(r){return r.replace(/^\s*/,"").replace(/\s*$/,"")}function ht(){return typeof navigator!="undefined"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window!="undefined"&&typeof document!="undefined"}function oe(r,e){if(!(r===null||typeof r=="undefined"))if(typeof r!="object"&&(r=[r]),ir(r))for(var t=0,n=r.length;t<n;t++)e.call(null,r[t],t,r);else for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&e.call(null,r[a],a,r)}function sr(){var r={};function e(a,o){typeof r[o]=="object"&&typeof a=="object"?r[o]=sr(r[o],a):r[o]=a}for(var t=0,n=arguments.length;t<n;t++)oe(arguments[t],e);return r}function xe(){var r={};function e(a,o){typeof r[o]=="object"&&typeof a=="object"?r[o]=xe(r[o],a):typeof a=="object"?r[o]=xe({},a):r[o]=a}for(var t=0,n=arguments.length;t<n;t++)oe(arguments[t],e);return r}function vt(r,e,t){return oe(e,function(a,o){t&&typeof a=="function"?r[o]=nt(a,t):r[o]=a}),r}var A={isArray:ir,isArrayBuffer:ot,isBuffer:at,isFormData:it,isArrayBufferView:ut,isString:ft,isNumber:st,isObject:ur,isUndefined:Pe,isDate:lt,isFile:ct,isBlob:pt,isFunction:fr,isStream:yt,isURLSearchParams:dt,isStandardBrowserEnv:ht,forEach:oe,merge:sr,deepMerge:xe,extend:vt,trim:mt},q=A;function lr(r){return encodeURIComponent(r).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var cr=function(e,t,n){if(!t)return e;var a;if(n)a=n(t);else if(q.isURLSearchParams(t))a=t.toString();else{var o=[];q.forEach(t,function(f,s){f===null||typeof f=="undefined"||(q.isArray(f)?s=s+"[]":f=[f],q.forEach(f,function(c){q.isDate(c)?c=c.toISOString():q.isObject(c)&&(c=JSON.stringify(c)),o.push(lr(s)+"="+lr(c))}))}),a=o.join("&")}if(a){var u=e.indexOf("#");u!==-1&&(e=e.slice(0,u)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e},gt=A;function ie(){this.handlers=[]}ie.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1};ie.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)};ie.prototype.forEach=function(e){gt.forEach(this.handlers,function(n){n!==null&&e(n)})};var St=ie,bt=A,wt=function(e,t,n){return bt.forEach(n,function(o){e=o(e,t)}),e},pr=function(e){return!!(e&&e.__CANCEL__)},At=A,Ot=function(e,t){At.forEach(e,function(a,o){o!==t&&o.toUpperCase()===t.toUpperCase()&&(e[t]=a,delete
`),function(i){if(o=i.indexOf(":"),n=Re.trim(i.substr(0,o)).toLowerCase(),a=Re.trim(i.substr(o+1)),n){if(t[n]&&It.indexOf(n)>=0)return;n==="set-cookie"?t[n]=(t[n]?t[n]:[]).concat([a]):t[n]=t[n]?t[n]+", "+a:a}}),t},dr=A,Tt=dr.isStandardBrowserEnv()?function(){var e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a"),n;function a(o){var u=o;return e&&(t.setAttribute("href",u),u=t.href),t.setAttribute("href",u),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}return n=a(window.location.href),function(u){var i=dr.isString(u)?a(u):u;return i.protocol===n.protocol&&i.host===n.host}}():function(){return function(){return!0}}(),ue=A,Bt=ue.isStandardBrowserEnv()?function(){return{write:function(t,n,a,o,u,i){var f=[];f.push(t+"="+encodeURIComponent(n)),ue.isNumber(a)&&f.push("expires="+new Date(a).toGMTString()),ue.isString(o)&&f.push("path="+o),ue.isString(u)&&f.push("domain="+u),i===!0&&f.push("secure"),document.cookie=f.join("; ")},read:function(t){var n=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),fe=A,Mt=Rt,Lt=cr,_t=Dt,qt=Ut,jt=Tt,$e=yr,mr=function(e){return new Promise(function(n,a){var o=e.data,u=e.headers;fe.isFormData(o)&&delete u["Content-Type"];var i=new XMLHttpRequest;if(e.auth){var f=e.auth.username||"",s=e.auth.password||"";u.Authorization="Basic "+btoa(f+":"+s)}var l=_t(e.baseURL,e.url);if(i.open(e.method.toUpperCase(),Lt(l,e.params,e.paramsSerializer),!0),i.timeout=e.timeout,i.onreadystatechange=function(){if(!(!i||i.readyState!==4)&&!(i.status===0&&!(i.responseURL&&i.responseURL.indexOf("file:")===0))){var y="getAllResponseHeaders"in i?qt(i.getAllResponseHeaders()):null,v=!e.responseType||e.responseType==="text"?i.responseText:i.response,h={data:v,status:i.status,statusText:i.statusText,headers:y,config:e,request:i};Mt(n,a,h),i=null}},i.onabort=function(){!i||(a($e("Request aborted",e,"ECONNABORTED",i)),i=null)},i.onerror=function(){a($e("Network Error",e,null,i)),i=null},i.ontimeout=function(){var y="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(y=e.timeoutErrorMessage),a($e(y,e,"ECONNABORTED",i)),i=null},fe.isStandardBrowserEnv()){var c=Bt,m=(e.withCredentials||jt(l))&&e.xsrfCookieName?c.read(e.xsrfCookieName):void 0;m&&(u[e.xsrfHeaderName]=m)}if("setRequestHeader"in i&&fe.forEach(u,function(y,v){typeof o=="undefined"&&v.toLowerCase()==="content-type"?delete u[v]:i.setRequestHeader(v,y)}),fe.isUndefined(e.withCredentials)||(i.withCredentials=!!e.withCredentials),e.responseType)try{i.responseType=e.responseType}catch(p){if(e.responseType!=="json")throw p}typeof e.onDownloadProgress=="function"&&i.addEventListener("progress",e.onDownloadProgress),typeof e.onUploadProgress=="function"&&i.upload&&i.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(y){!i||(i.abort(),a(y),i=null)}),o===void 0&&(o=null),i.send(o)})},w=A,hr=Ot,Wt={"Content-Type":"application/x-www-form-urlencoded"};function vr(r,e){!w.isUndefined(r)&&w.isUndefined(r["Content-Type"])&&(r["Content-Type"]=e)}function Ht(){var r;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(r=mr),r}var se={adapter:Ht(),transformRequest:[function(e,t){return hr(t,"Accept"),hr(t,"Content-Type"),w.isFormData(e)||w.isArrayBuffer(e)||w.isBuffer(e)||w.isStream(e)||w.isFile(e)||w.isBlob(e)?e:w.isArrayBufferView(e)?e.buffer:w.isURLSearchParams(e)?(vr(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):w.isObject(e)?(vr(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if(typeof e=="string")try{e=JSON.parse(e)}catch{}return e}],timeout:0,xsrfCo
`)>=0)return!1;return!0}function ta(r,e){var t;if(r.indent===" ")t=" ";else if(typeof r.indent=="number"&&r.indent>0)t=Array(r.indent+1).join(" ");else return null;return{base:t,prev:Array(e+1).join(t)}}function Qe(r,e){if(r.length===0)return"";var t=`
`+e.prev+e.base;return t+r.join(","+t)+`
`+e.prev}function ge(r,e){var t=Ge(r),n=[];if(t){n.length=r.length;for(var a=0;a<r.length;a++)n[a]=I(r,a)?e(r[a],r):""}var o=typeof We=="function"?We(r):[],u;if(Z){u={};for(var i=0;i<o.length;i++)u["$"+o[i]]=o[i]}for(var f in r)!I(r,f)||t&&String(Number(f))===f&&f<r.length||Z&&u["$"+f]instanceof Symbol||(/[^\w$]/.test(f)?n.push(e(f,r)+": "+e(r[f],r)):n.push(f+": "+e(r[f],r)));if(typeof We=="function")for(var s=0;s<o.length;s++)Bn.call(r,o[s])&&n.push("["+e(o[s])+"]: "+e(r[o[s]],r));return n}var Je=Be,z=On,na=Mn,aa=Je("%TypeError%"),Se=Je("%WeakMap%",!0),be=Je("%Map%",!0),oa=z("WeakMap.prototype.get",!0),ia=z("WeakMap.prototype.set",!0),ua=z("WeakMap.prototype.has",!0),fa=z("Map.prototype.get",!0),sa=z("Map.prototype.set",!0),la=z("Map.prototype.has",!0),Ke=function(r,e){for(var t=r,n;(n=t.next)!==null;t=n)if(n.key===e)return t.next=n.next,n.next=r.next,r.next=n,n},ca=function(r,e){var t=Ke(r,e);return t&&t.value},pa=function(r,e,t){var n=Ke(r,e);n?n.value=t:r.next={key:e,next:r.next,value:t}},ya=function(r,e){return!!Ke(r,e)},da=function(){var e,t,n,a={assert:function(o){if(!a.has(o))throw new aa("Side channel does not contain "+na(o))},get:function(o){if(Se&&o&&(typeof o=="object"||typeof o=="function")){if(e)return oa(e,o)}else if(be){if(t)return fa(t,o)}else if(n)return ca(n,o)},has:function(o){if(Se&&o&&(typeof o=="object"||typeof o=="function")){if(e)return ua(e,o)}else if(be){if(t)return la(t,o)}else if(n)return ya(n,o);return!1},set:function(o,u){Se&&o&&(typeof o=="object"||typeof o=="function")?(e||(e=new Se),ia(e,o,u)):be?(t||(t=new be),sa(t,o,u)):(n||(n={key:{},next:null}),pa(n,o,u))}};return a},ma=String.prototype.replace,ha=/%20/g,Xe={RFC1738:"RFC1738",RFC3986:"RFC3986"},Ye={default:Xe.RFC3986,formatters:{RFC1738:function(r){return ma.call(r,ha,"+")},RFC3986:function(r){return String(r)}},RFC1738:Xe.RFC1738,RFC3986:Xe.RFC3986},va=Ye,Ze=Object.prototype.hasOwnProperty,U=Array.isArray,R=function(){for(var r=[],e=0;e<256;++e)r.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return r}(),ga=function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(U(n)){for(var a=[],o=0;o<n.length;++o)typeof n[o]!="undefined"&&a.push(n[o]);t.obj[t.prop]=a}}},jr=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},a=0;a<e.length;++a)typeof e[a]!="undefined"&&(n[a]=e[a]);return n},Sa=function r(e,t,n){if(!t)return e;if(typeof t!="object"){if(U(e))e.push(t);else if(e&&typeof e=="object")(n&&(n.plainObjects||n.allowPrototypes)||!Ze.call(Object.prototype,t))&&(e[t]=!0);else return[e,t];return e}if(!e||typeof e!="object")return[e].concat(t);var a=e;return U(e)&&!U(t)&&(a=jr(e,n)),U(e)&&U(t)?(t.forEach(function(o,u){if(Ze.call(e,u)){var i=e[u];i&&typeof i=="object"&&o&&typeof o=="object"?e[u]=r(i,o,n):e.push(o)}else e[u]=o}),e):Object.keys(t).reduce(function(o,u){var i=t[u];return Ze.call(o,u)?o[u]=r(o[u],i,n):o[u]=i,o},a)},ba=function(e,t){return Object.keys(t).reduce(function(n,a){return n[a]=t[a],n},e)},wa=function(r,e,t){var n=r.replace(/\+/g," ");if(t==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch{return n}},Aa=function(e,t,n,a,o){if(e.length===0)return e;var u=e;if(typeof e=="symbol"?u=Symbol.prototype.toString.call(e):typeof e!="string"&&(u=String(e)),n==="iso-8859-1")return escape(u).replace(/%u[0-9a-f]{4}/gi,function(l){return"%26%23"+parseInt(l.slice(2),16)+"%3B"});for(var i="",f=0;f<u.length;++f){var s=u.charCodeAt(f);if(s===45||s===46||s===95||s===126||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||o===va.RFC1738&&(s===40||s===41)){i+=u.charAt(f);continue}if(s<128){i=i+R[s];continue}if(s<2048){i=i+(R[192|s>>6]+R[128|s&63]);continue}if(s<55296||s>=57344){i=i+(R[224|s>>12]+R[128|s>>6&63]+R[128|s&63]);continue}f+=1,s=65536+((s&1023)<<10|u.charCodeAt(f)&1023),i+=R[240|s>>18]+R[128|s>>12&63]+R[128|s>>6&63]+R[128|s&63]}return i},Oa=function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],a=0;a<t.length;++a)for(var o=t[a],u=o.obj[o.prop],i=Object.keys(u),f=0;f<i.length;++f){var s=i[f],l=u[s];typeof l=="object"&&l!==null&&n.indexOf(l)===-1&&(t.push({obj:u,prop:s}),n.pus