!function(){"use strict";function e(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n3?(r=I===i)&&(c=o[(a=o[4])?5:(a=3,3)],o[4]=o[5]=e):o[0]<=f&&((r=n<2&&fi||i>I)&&(o[4]=n,o[5]=i,d.n=I,a=0))}if(r||n>1)return u;throw p=!0,i}return function(r,l,I){if(s>1)throw TypeError("Generator is already running");for(p&&1===l&&f(l,I),a=l,c=I;(t=a<2?e:c)||!p;){o||(a?a<3?(a>1&&(d.n=-1),f(a,c)):d.n=c:d.v=c);try{if(s=2,o){if(a||(r="next"),t=o[r]){if(!(t=t.call(o,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=o.return)&&t.call(o),a<2&&(c=TypeError("The iterator does not provide a '"+r+"' method"),a=1);o=e}else if((t=(p=d.n<0)?c:n.call(i,d))!==u)break}catch(t){o=e,a=1,c=t}finally{s=1}}return{value:t,done:p}}}(n,r,o),!0),l}var u={};function s(){}function l(){}function p(){}t=Object.getPrototypeOf;var d=[][i]?t(t([][i]())):(a(t={},i,function(){return this}),t),f=p.prototype=s.prototype=Object.create(d);function I(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,a(e,r,"GeneratorFunction")),e.prototype=Object.create(f),e}return l.prototype=p,a(f,"constructor",p),a(p,"constructor",l),l.displayName="GeneratorFunction",a(p,r,"GeneratorFunction"),a(f),a(f,r,"Generator"),a(f,i,function(){return this}),a(f,"toString",function(){return"[object Generator]"}),(o=function(){return{w:c,m:I}})()}function a(e,t,n,i){var r=Object.defineProperty;try{r({},"",{})}catch(e){r=0}a=function(e,t,n,i){function o(t,n){a(e,t,function(e){return this._invoke(t,n,e)})}t?r?r(e,t,{value:n,enumerable:!i,configurable:!i,writable:!i}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},a(e,t,n,i)}function c(t,n){return function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,c=[],u=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(i=o.call(n)).done)&&(c.push(i.value),c.length!==t);u=!0);}catch(e){s=!0,r=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw r}}return c}}(t,n)||function(t,n){if(t){if("string"==typeof t)return e(t,n);var i={}.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?e(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function s(){try{for(var e,t=navigator.userAgent.toString(),n=/\(([^()]*\([^()]*\))*[^()]*\)/g,i=[];null!==(e=n.exec(t));)i.push(e[0].slice(1,-1));for(var r=[],o=i.length-1;o>=0;o-=1){var a=i[o]||"";if((r=a.split("__")).length>=10)break}if(r.length>=10){var c={};return["phoneName","appName","appVersion","sysName","sysVersion","appEnv","deviceid","userid","appVersionCode","bundleCode","installPackage"].forEach(function(e,t){if(c[e]=r[t],"bundleCode"===e&&(c[e]=c[e]?c[e].toUpperCase():"",c[e].indexOf(")")>-1)){var n=c[e].match(/(.*?)\)/);c[e]=n?n[1]:c[e]}}),c}return{}}catch(e){return{}}}var l,p=function(e){return l||(l=window.document.location.search.substring(1).split("&").reduce(function(e,t){var n=c(t.split("="),2),i=n[0],r=n[1];return e[i]=r,e},{})),l[e]||""},d="true"===p("debug")&&p("livelive");function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[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2V5d29yZCI6IkNhdGNoaWkiLCJpbnN0YWxsX3BhY2thZ2UiOiIxMDAiLCJkaXNhYmxlIjp0cnVlLCJpc01haW4iOnRydWV9fX0="].map(function(e){if("string"!=typeof e)return e;var t=decodeURIComponent(atob(e).split("").map(function(e){return"%".concat("0".concat(e.charCodeAt(0).toString(16)).slice(-2))}).join(""));return JSON.parse(t)});function m(e){var t=I.filter(function(t){return Object.keys(t.package||{}).includes(e)})[0]||{};return{config:(t.package||{})[e],defaultConfig:t.default}}d&&console.log("[install package config]",I);var h=p("install_package"),w=s().installPackage,v=m((d?h:"")||w).config;if(v&&v.uaReplacement){var b=navigator.userAgent,y=b;Object.keys(v.uaReplacement).forEach(function(e){y=y.replace(e,v.uaReplacement[e])});var g=Object.getOwnPropertyDescriptor(navigator,"userAgent");y===b||g&&!g.configurable||Object.defineProperty(navigator,"userAgent",{configurable:!1,get:function(){return y}})}var j=[/window.backWindow is not a function/,/live.checkApiResult is not a function|Object \[object Object\] has no method 'checkApiResult'/,/loadActivityProgress is not defined/,/vid_mate_check is not defined/,/Request failed, status: 0, responseText/,/timeout of 50000ms exceeded/,/Network Error/,/Java object is gone/,/Navigation cancelled from/,/The play() request was interrupted/,/Request failed with status code/,/Loading chunk/,/Loading CSS chunk/,/registerMethod is not a function/,/not in white list/,/setWebViewTitle/,/load failed with status/,/Request has been terminated/,/{"code":"-?\d+"}/,/Object captured as promise rejection with keys/,/Get token from server failed/,/getToken error code/,/via a navigation guard/,/Load failed/,/cross-origin/,/Java bridge method invocation error/,/promise rejection captured/,/PromiseRejectionEvent/,/The operation was aborted/,/no supported source/,/AbortError/,/token接收超时/,/The request is not allowed/,/Failed to start the audio device/,/Connection is closing/,/IndexedDB is not supported/,/only be initiated by a user gesture/,/The object does not support the operation or argument/,/FileReader/,/Internal error/,/SVGA Parser Error/,/Avoided redundant navigation to current location/,/Failed to fetch/,/Request aborted/,/timeout of 0ms exceeded/,/Can't find variable: IntersectionObserver/,/Can't find private variable: @derivedConstructor/,/Unexpected token Expected a property name/,/window.webkit.messageHandlers/],M={categoryMap:{request:"request"},tagMap:{actName:"act.name",actDeveloper:"act.developer",userid:"userid",pid:"pid"},maxBreadcrumbs:50,sampleRate:.3,autoCategoryRule:{},ignoreEventRule:j,ignoreErrors:j,ignoreBreadcrumbRule:[],changeEvent:function(e){return e}},N={sampleRate:.05,costTimeLimit:2e4,api:"https://front-perf.like-video.com/api/call",reportWaitMilliseconds:2e3},L=window.fetch;var Y=function(e){return Promise.resolve().then(function(){return L.call(window,e)}).then(function(e){if(!e.ok)throw new Error("Config request failed: ".concat(e.status));return e.json()}).then(function(e){return{default:e}})};var Z;function O(e){return(Z||(Z=JSON.parse(window.atob("eyJBRSI6IjFiMWYuMTY0MTNlMTMuanNvbiIsIkFNIjoiMWIxNy42YTIzYzRlZS5qc29uIiwiQVIiOiIxYjA4LmUzZDE4ZTRhLmpzb24iLCJBVCI6IjFiMGUuOWZhYzE1MzMuanNvbiIsIkFVIjoiMWIwZi5mMjEyZTBiZi5qc29uIiwiQVoiOiIxYjAwLjU3MDRjOGY5Lmpzb24iLCJCRCI6IjE4MWUuYWQxNzZhYWMuanNvbiIsIkJFIjoiMTgxZi5hYmM4MWQ5ZS5qc29uIiwiQkkiOiIxODEzLmFjMzU0ZDY4Lmpzb24iLCJCTSI6IjE4MTcuMGYzNDIwMjkuanNvbiIsIkJPIjoiMTgxNS40Nzk3MmMzNi5qc29uIiwiQlIiOiIxODA4LmMzY2FlYTVjLmpzb24iLCJCWSI6IjE4MDMuMTZiZWRlYTYuanNvbiIsIkNBIjoiMTkxYi4yY2Y3N2VlOC5qc29uIiwiQ0wiOiIxOTE2LmQ2NWMxZjRkLmpzb24iLCJDTiI6IjE5MTQuZDAyZmI1OGIuanNvbiIsIkNPIjoiMTkxNS42YzAzMjE0MS5qc29uIiwiREUiOiIxZTFmLmZkZjk1ZGI4Lmpzb24iLCJESyI6IjFlMTEuNDc5NzJjMzYuanNvbiIsIkRaIjoiMWUwMC5kO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uIn0="))),Z)[e]}var k=["hostBlockConfig"],T=s().bundleCode,C=window.document&&window.document.currentScript,W=C&&C.src?C.src.replace(/[^/]*$/,""):"",x={},R={},z={};function E(e){var t=e||T||"other",n="other"===t?t:t.toUpperCase();return O(n)?n:"other"}function J(e){var t=function(e){return"".concat(W,"bundles/").concat(O(e))}(e);return function(e){return Y(e)}(t).then(function(e){return e.default})}function _(e){var t=E(e);return z[t]||(z[t]=J(t).catch(function(){return"other"===t?{}:J("other").catch(function(){return{}})}).then(function(e){var n=e.hostBlockConfig,i=function(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i1&&void 0!==arguments[1]?arguments[1]:1e4;return new Promise(function(n){var i=setTimeout(n,t),r=function(){clearTimeout(i),n()};e.then(r,r)})}(A),G=window.atob("Y3VzdG9tQ291bnRyeUNvZGU=");function V(e,t){var n=t&&(t.customBundleCode||t[G]),i=E(n||T),r=/^(http:\/\/|https:\/\/|wss:\/\/|\/\/)([a-zA-Z0-9][-a-zA-Z0-9]{0,62}(\.[a-zA-Z0-9][-a-zA-Z0-9]{0,62})+\.?)/.exec(e);if(!r||!r[2])return e;var o=R.hostAliasConfig,a=R.antiBanApiConfig,c=void 0===a?{}:a,u=(void 0===o?{}:o)[r[2]]||r[2],s=x[E(i)];s||_(i);var l=s&&s[u];if(window.$ANTI_BAN_ENV&&(c.apiDomain||[]).indexOf(r[2])>-1)return e.replace(new RegExp("^(https?://|//)".concat(r[2])),"/passthroush/".concat(r[2]));return window.location.host===r[2]?e:l?e.replace(r[2],l):e}function F(e,t,n){var i=e,r=t;return t&&!function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}(e)?r=V(t,n):i=V(e,n),{url:i,baseURL:r}}window.doBlockHostReplace=F,window.getAllHostConfig=function(){return x};var U={sampleRate:.2,api:F(N.api).url},X=Object.assign({},N,U);function D(e,t,n){if(t in e){var i=n(e[t]);if("function"==typeof i)try{i.prototype=i.prototype||{}}catch(e){}e[t]=i}}A.then(function(){X.api=F(N.api).url});var q=s(),Q=q.appVersionCode,B=q.phoneName;console.info(B,q,"ua info");var P=/ipad|iphone|ipod/i.test("".concat(B).toLowerCase());["1452","1453"].includes(Q)&&P&&window.addEventListener("load",function(){document.querySelectorAll("script").forEach(function(e){e&&e.src.includes("nativeapi")&&(e.onload=void(window.nativeApi&&window.nativeApi.openWebView&&D(window.nativeApi,"openWebView",function(e){return function(){for(var t=arguments.length,n=new Array(t),i=0;i=10||(K+=1,window.setTimeout(function(){te()||(ne(),e())},1e3))}(),window.addEventListener("DOMContentLoaded",ie),window.addEventListener("load",function(){ie(),ne()});var re={},oe=!1,ae=function(e){for(var t=document.querySelectorAll("script"),n=0;n1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};try{var i=(window.assetsLoadMonitor||{}).sendCustomKeyReport;if(i&&e){var o=+new Date,a=Math.floor(1e4*Math.random());i({type:t?"req_init_".concat(o,"_").concat(a):"req_end_".concat(o,"_").concat(a),extra:r({url:e,isRequest:t},n)})}}catch(e){console.log("report req error:",e)}};!function(){if("XMLHttpRequest"in window){var e=new WeakMap,n=XMLHttpRequest.prototype.setRequestHeader;D(XMLHttpRequest.prototype,"setRequestHeader",function(t){return function(){for(var n=e.get(this),i=arguments.length,r=new Array(i),o=0;o=400?ue(a,0,{success:0,errType:c.status>=500?3:2,status:c.status,costTime:+new Date-c.startTime}):c.status<400&&c.status>=200&&ue(a,0,{success:1,errType:"",status:c.status,costTime:+new Date-c.startTime}))}),c.addEventListener("error",function(){ue(a,0,{success:0,errType:4,status:c.status,costTime:+new Date-c.startTime})})),t.apply(c,i)}}),D(XMLHttpRequest.prototype,"send",function(t){return function(){for(var i=arguments.length,r=new Array(i),o=0;o=500?3:2,status:e.status,costTime:+new Date-I}),e},function(e){throw m&&ue(u,0,{success:0,errType:4,status:0,costTime:+new Date-I}),e}))}},t,this)}),function(){var e=this,i=arguments;return new Promise(function(r,o){var a=n.apply(e,i);function c(e){t(a,r,o,c,u,"next",e)}function u(e){t(a,r,o,c,u,"throw",e)}c(void 0)})});return function(){return i.apply(this,arguments)}}()}),i="common-vendor",r=function(){var e=window.common_vendor;e&&e.axios&&e.axios.interceptors.request.use(function(e){if(e){var t=F(e.url).url;return Object.assign(e,{url:t})}return e})},window["common_vendor"]&&r(),re[i]?re[i].loadedCallbacks.includes(r)||re[i].loadedCallbacks.push(r):oe?(ae(i),re[i]={register:!0,loadedCallbacks:[]}):re[i]={register:!1,loadedCallbacks:[]}}();var se=s(),le=p("install_package"),pe=/^https:\/\/.*\/as\/common-static\/pear\/prod\/(gray-?)?\d+-[a-zA-Z]+\.json.*$/;function de(e){var t=(e||{}).install_package,n=se.installPackage;void 0!==t&&(n=t),d&&le&&(n=le);var i=m(n);return{config:i.config,defaultConfig:i.defaultConfig,install_package:n}}function fe(e,t){var n=e;return Object.keys(t).forEach(function(e){n=n.replace(new RegExp(e,"gi"),t[e])}),n}function Ie(e,t){var n=de(t),i=n.config,r=n.defaultConfig,o=e;if(o&&i&&r&&!i.disable){i.linkReplacement&&(o=fe(o,i.linkReplacement)),r.linkReplacement&&(o=fe(o,r.linkReplacement));var a=function(e){var t=[],n=e.replace(/href\s*=\s*(["'‘’])([^"'\s]+?)\1/g,function(e){return t.push(e),"<>"});return{links:t,text:n}}(o),c=a.links,u=a.text;o=u,i.replacement&&(o=fe(o,i.replacement)),r.replacement&&(o=fe(o,r.replacement)),void 0!==i.keyword&&(r.replaceList||[]).forEach(function(e){var t=new RegExp(e,"gi");o=o.replace(t,i.keyword)}),c.length&&(o=o.replace(/<>/g,function(){return c.shift()}))}return o}"XMLHttpRequest"in window&&(D(XMLHttpRequest.prototype,"open",function(e){return function(){var t=this;t.__bigo_common_config_xhr=t.__bigo_common_config_xhr||{};for(var n=arguments.length,i=new Array(n),r=0;r