2 lines
75 KiB
JavaScript
2 lines
75 KiB
JavaScript
|
/*! For license information please see imou-player.js.LICENSE.txt */
|
||
|
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.library=e():t.library=e()}(self,(()=>(()=>{var t={132:(t,e,n)=>{var i;function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}!function(t){var e,n=t.document,i={modules:{},status:{},timeout:10,event:{}},o=function(){this.v="2.6.7"},r=t.LAYUI_GLOBAL||{},s=(e=n.currentScript?n.currentScript.src:function(){for(var t,e=n.scripts,i=e.length-1,a=i;a>0;a--)if("interactive"===e[a].readyState){t=e[a].src;break}return t||e[i].src}(),i.dir=r.dir||e.substring(0,e.lastIndexOf("/")+1)),c=function(e,n){n=n||"log",t.console&&console[n]&&console[n]("layui error hint: ".concat(e))},l="undefined"!=typeof opera&&"[object Opera]"===opera.toString(),u=i.builtin={lay:"lay",layer:"layer",laydate:"laydate",laypage:"laypage",laytpl:"laytpl",layedit:"layedit",form:"form",upload:"upload",dropdown:"dropdown",transfer:"transfer",tree:"tree",table:"table",element:"element",rate:"rate",colorpicker:"colorpicker",slider:"slider",carousel:"carousel",flow:"flow",util:"util",code:"code",jquery:"jquery",all:"all","layui.all":"layui.all"};o.prototype.cache=i,o.prototype.define=function(t,e){return"function"==typeof t&&(e=t,t=[]),this.use(t,(function(){var t=function(t,e){m[t]=e,i.status[t]=!0};return"function"==typeof e&&e((function(n,a){t(n,a),i.callback[n]=function(){e(t)}})),this}),null,"define"),this},o.prototype.use=function(e,a,o,r){var d=this,h=i.dir=i.dir?i.dir:s,y=n.getElementsByTagName("head")[0];e="string"==typeof e?[e]:"function"==typeof e?(a=e,["all"]):e,t.jQuery&&jQuery.fn.on&&(d.each(e,(function(t,n){"jquery"===n&&e.splice(t,1)})),m.jquery=m.$=jQuery);var f=e[0],p=0;function g(t,e){var n="PLaySTATION 3"===navigator.platform?/^complete$/:/^(complete|loaded)$/;("load"===t.type||n.test((t.currentTarget||t.srcElement).readyState))&&(i.modules[f]=e,y.removeChild(T),function t(){if(++p>1e3*i.timeout/4)return c("".concat(f," is not a valid module"),"error");i.status[f]?v():setTimeout(t,4)}())}function v(){o.push(m[f]),e.length>1?d.use(e.slice(1),a,o,r):"function"==typeof a&&function(){if(m.jquery&&"function"==typeof m.jquery&&"define"!==r)return m.jquery((function(){a.apply(m,o)}));a.apply(m,o)}()}if(o=o||[],i.host=i.host||(h.match(/\/\/([\s\S]+?)\//)||["//".concat(location.host,"/")])[0],0===e.length||m["layui.all"]&&u[f])return v(),d;var b,w="".concat((u[f]?"".concat(h,"modules/"):/^\{\/\}/.test(d.modules[f])?"":i.base||"")+(d.modules[f]||f),".js");if(w=w.replace(/^\{\/\}/,""),!i.modules[f]&&m[f]&&(i.modules[f]=w),i.modules[f])!function t(){if(++p>1e3*i.timeout/4)return c("".concat(f," is not a valid module"),"error");"string"==typeof i.modules[f]&&i.status[f]?v():setTimeout(t,4)}();else{var T=n.createElement("script");T.async=!0,T.charset="utf-8",T.src=w+((b=!0===i.version?i.v||(new Date).getTime():i.version||"")?"?v=".concat(b):""),y.appendChild(T),!T.attachEvent||T.attachEvent.toString&&T.attachEvent.toString().indexOf("[native code")<0||l?T.addEventListener("load",(function(t){g(t,w)}),!1):T.attachEvent("onreadystatechange",(function(t){g(t,w)})),i.modules[f]=w}return d},o.prototype.getStyle=function(e,n){var i=e.currentStyle?e.currentStyle:t.getComputedStyle(e,null);return i[i.getPropertyValue?"getPropertyValue":"getAttribute"](n)},o.prototype.link=function(t,e,a){var o=this,r=n.getElementsByTagName("head")[0],s=n.createElement("link");"string"==typeof e&&(a=e);var l=(a||t).replace(/\.|\//g,""),u=s.id="layuicss-".concat(l),d="creating",h=0;return s.rel="stylesheet",s.href=t+(i.debug?"?v=".concat((new Date).getTime()):""),s.media="all",n.getElementById(u)||r.appendChild(s),"function"!=typeof e||function a(r){var s=n.getElementById(u);if(++h>1e3*i.timeout/100)return c("".concat(t," timeout"));1989===parseInt(o.getStyle(s,"width"))?(r===d&&s.removeAttribute("lay-status"),s.getAttribute("lay-status")===d?setTime
|