build all

This commit is contained in:
Harvey Zhao committed 2025-12-13 14:11:16 +08:00
1 parent b84b0af2ec
commit 48b3f76151
228 files changed
+327 -310

No files matched your search

@@ -5,4 +5,4 @@
* (c) 2017-2025 Harvey Zack
* Released under the MIT License.
*/
!function(e,t,r,n,o,i,c,a){var u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},l="function"==typeof u[n]&&u[n],s=l.i||{},f=l.cache||{},p="undefined"!=typeof module&&"function"==typeof module.require&&module.require.bind(module);function d(t,r){if(!f[t]){if(!e[t]){if(o[t])return o[t];var i="function"==typeof u[n]&&u[n];if(!r&&i)return i(t,!0);if(l)return l(t,!0);if(p&&"string"==typeof t)return p(t);var c=Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}s.resolve=function(r){var n=e[t][1][r];return null!=n?n:r},s.cache={};var a=f[t]=new d.Module(t);e[t][0].call(a.exports,s,a,a.exports,u)}return f[t].exports;function s(e){var t=s.resolve(e);return!1===t?{}:d(t)}}d.isParcelRequire=!0,d.Module=function(e){this.id=e,this.bundle=d,this.require=p,this.exports={}},d.modules=e,d.cache=f,d.parent=l,d.distDir=void 0,d.publicUrl=void 0,d.devServer=void 0,d.i=s,d.register=function(t,r){e[t]=[function(e,t){t.exports=r},{}]},Object.defineProperty(d,"root",{get:function(){return u[n]}}),u[n]=d;for(var y=0;y<t.length;y++)d(t[y]);if(r){var h=d(r);"object"==typeof exports&&"undefined"!=typeof module?module.exports=h:"function"==typeof define&&define.amd&&define(function(){return h})}}({"5Wzsp":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"default",function(){return s});var i=e("@swc/helpers/cjs/_async_to_generator.cjs"),c=e("@swc/helpers/cjs/_object_spread.cjs"),a=e("@swc/helpers/cjs/_ts_generator.cjs"),u=e("bundle-text:./style.less"),l=o.interopDefault(u);function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,c._)({width:480,height:270,fallbackToVideoPiP:!0,placeholder:"Playing in Document Picture-in-Picture"},e);return function(e){var r,n="documentPictureInPicture"in window&&"function"==typeof(null==(r=window.documentPictureInPicture)?void 0:r.requestWindow),o=e.proxy,c=e.icons,u=e.i18n,l=e.template.$player,s=e.constructor.utils,f=s.append,p=s.tooltip,d=s.addClass,y=s.removeClass,h=s.sleep,_={win:null,originalParent:null,originalNext:null,currentDoc:null,placeholder:null};function m(){return(0,i._)(function(){var r,o,i,c,u,s,f,p;return(0,a._)(this,function(a){switch(a.label){case 0:if(!n&&t.fallbackToVideoPiP)return e.pip=!0,console.warn("[artplayer-plugin-document-pip] Document Picture-in-Picture is not supported, falling back to Video Picture-in-Picture"),[2];if(_.win)return[2];a.label=1;case 1:return a.trys.push([1,4,,5]),[4,window.documentPictureInPicture.requestWindow({width:t.width,height:t.height})];case 2:_.win=i=a.sent(),_.currentDoc=i.document,_.placeholder=document.createElement("div"),_.placeholder.className="artplayer-document-pip-placeholder",_.placeholder.style.cssText="display:flex;justify-content:center;align-items:center;width:100%;height:100%;",_.placeholder.textContent=t.placeholder,_.originalParent=l.parentNode,_.originalNext=l.nextSibling,_.originalParent.insertBefore(_.placeholder,_.originalNext),(c=i.document.createElement("div")).id="__art_dpip_root",i.document.body.appendChild(c);var y=i.document,m=y.createElement("style");if(m.textContent="\n html, body { margin:0; padding:0; width:100%; height:100%; background:#000; overflow:hidden; }\n #__art_dpip_root { position:absolute; inset:0; display:flex; }\n #__art_dpip_root > * { width:100% !important; height:100% !important; }\n ",y.head.appendChild(m),!y.querySelector('meta[name="viewport"]')){var b=y.createElement("meta");b.name="viewport",b.content="width=device-width,initial-scale=1",y.head.appendChild(b)}try{document.querySelectorAll('link[rel="stylesheet"]').forEach(function(e){var t=y.createElement("link");t.rel="stylesheet",t.href=e.href,e.media&&(t.media=e.media),e.crossOrigin&&(t.crossOrigin=e.crossOrigin),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),y.head.appendChild(t)})}catch(e){}try{document.querySelectorAll("style").forEach(function(e){var t=y.createElement("style");t.textContent=e.textContent,y.head.appendChild(t)})}catch(e){}return u=i.document.adoptNode(l),c.appendChild(u),_.currentDoc=i.document,s=function(){var t;return null==(t=e.resize)?void 0:t.call(e)},f=function(){return v()},i.addEventListener("resize",s),i.addEventListener("pagehide",f),i.addEventListener("unload",f),_.cleanup=function(){i.removeEventListener("resize",s),i.removeEventListener("pagehide",f),i.removeEventListener("unload",f)},d(l,"artplayer-document-pip"),null==(r=(o=e.events).bindGlobalEvents)||r.call(o),e.emit("document-pip",!0),[4,h(100)];case 3:return a.sent(),e.emit("resize"),[3,5];case 4:return p=a.sent(),e.notice.show="Document Picture-in-Picture open failed",console.warn("[artplayer-plugin-document-pip] open failed:",p),[3,5];case 5:return[2]}})})()}function v(){return(0,i._)(function(){var t,r,n,o;return(0,a._)(this,function(i){switch(i.label){case 0:if(!_.win)return[2];i.label=1;case 1:if(i.trys.push([1,3,,4]),null==(t=_.cleanup)||t.cLine truncated
!function(e,t,r,n,o,i,c,a){var u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},l="function"==typeof u[n]&&u[n],s=l.i||{},f=l.cache||{},p="undefined"!=typeof module&&"function"==typeof module.require&&module.require.bind(module);function d(t,r){if(!f[t]){if(!e[t]){if(o[t])return o[t];var i="function"==typeof u[n]&&u[n];if(!r&&i)return i(t,!0);if(l)return l(t,!0);if(p&&"string"==typeof t)return p(t);var c=Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}s.resolve=function(r){var n=e[t][1][r];return null!=n?n:r},s.cache={};var a=f[t]=new d.Module(t);e[t][0].call(a.exports,s,a,a.exports,u)}return f[t].exports;function s(e){var t=s.resolve(e);if(!1===t)return{};if(Array.isArray(t)){var r={__esModule:!0};return t.forEach(function(e){var t=e[0],n=e[1],o=e[2]||e[0],i=d(n);"*"===t?Object.keys(i).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return i[e]}})}):"*"===o?Object.defineProperty(r,t,{enumerable:!0,value:i}):Object.defineProperty(r,t,{enumerable:!0,get:function(){return"default"===o?i.__esModule?i.default:i:i[o]}})}),r}return d(t)}}d.isParcelRequire=!0,d.Module=function(e){this.id=e,this.bundle=d,this.require=p,this.exports={}},d.modules=e,d.cache=f,d.parent=l,d.distDir=void 0,d.publicUrl=void 0,d.devServer=void 0,d.i=s,d.register=function(t,r){e[t]=[function(e,t){t.exports=r},{}]},Object.defineProperty(d,"root",{get:function(){return u[n]}}),u[n]=d;for(var y=0;y<t.length;y++)d(t[y]);if(r){var h=d(r);"object"==typeof exports&&"undefined"!=typeof module?module.exports=h:"function"==typeof define&&define.amd&&define(function(){return h})}}({"5Wzsp":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"default",function(){return s});var i=e("@swc/helpers/cjs/_async_to_generator.cjs"),c=e("@swc/helpers/cjs/_object_spread.cjs"),a=e("@swc/helpers/cjs/_ts_generator.cjs"),u=e("bundle-text:./style.less"),l=o.interopDefault(u);function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,c._)({width:480,height:270,fallbackToVideoPiP:!0,placeholder:"Playing in Document Picture-in-Picture"},e);return function(e){var r,n="documentPictureInPicture"in window&&"function"==typeof(null==(r=window.documentPictureInPicture)?void 0:r.requestWindow),o=e.proxy,c=e.icons,u=e.i18n,l=e.template.$player,s=e.constructor.utils,f=s.append,p=s.tooltip,d=s.addClass,y=s.removeClass,h=s.sleep,_={win:null,originalParent:null,originalNext:null,currentDoc:null,placeholder:null};function m(){return(0,i._)(function(){var r,o,i,c,u,s,f,p;return(0,a._)(this,function(a){switch(a.label){case 0:if(!n&&t.fallbackToVideoPiP)return e.pip=!0,console.warn("[artplayer-plugin-document-pip] Document Picture-in-Picture is not supported, falling back to Video Picture-in-Picture"),[2];if(_.win)return[2];a.label=1;case 1:return a.trys.push([1,4,,5]),[4,window.documentPictureInPicture.requestWindow({width:t.width,height:t.height})];case 2:_.win=i=a.sent(),_.currentDoc=i.document,_.placeholder=document.createElement("div"),_.placeholder.className="artplayer-document-pip-placeholder",_.placeholder.style.cssText="display:flex;justify-content:center;align-items:center;width:100%;height:100%;",_.placeholder.textContent=t.placeholder,_.originalParent=l.parentNode,_.originalNext=l.nextSibling,_.originalParent.insertBefore(_.placeholder,_.originalNext),(c=i.document.createElement("div")).id="__art_dpip_root",i.document.body.appendChild(c);var y=i.document,m=y.createElement("style");if(m.textContent="\n html, body { margin:0; padding:0; width:100%; height:100%; background:#000; overflow:hidden; }\n #__art_dpip_root { position:absolute; inset:0; display:flex; }\n #__art_dpip_root > * { width:100% !important; height:100% !important; }\n ",y.head.appendChild(m),!y.querySelector('meta[name="viewport"]')){var b=y.createElement("meta");b.name="viewport",b.content="width=device-width,initial-scale=1",y.head.appendChild(b)}try{document.querySelectorAll('link[rel="stylesheet"]').forEach(function(e){var t=y.createElement("link");t.rel="stylesheet",t.href=e.href,e.media&&(t.media=e.media),e.crossOrigin&&(t.crossOrigin=e.crossOrigin),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),y.head.appendChild(t)})}catch(e){}try{document.querySelectorAll("style").forEach(function(e){var t=y.createElement("style");t.textContent=e.textContent,y.head.appendChild(t)})}catch(e){}return u=i.document.adoptNode(l),c.appendChild(u),_.currentDoc=i.document,s=function(){var t;return null==(t=e.resize)?void 0:t.call(e)},f=function(){return v()},i.addEventListener("resize",s),i.addEventListener("pagehide",f),i.addEventListener("unload",f),_.cleanup=function(){i.removeEventListener("resize",s),i.removeEventListener("pagehide",f),i.removeEventListener("unload",f)},d(l,"artplayer-document-pip"),null==(r=(o=e.Line truncated