!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;Object.keys(v.uaReplacement).forEach(function(e){b=b.replace(e,v.uaReplacement[e])}),Object.defineProperty(navigator,"userAgent",{get:function(){return b}})}var y=[/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/],g={categoryMap:{request:"request"},tagMap:{actName:"act.name",actDeveloper:"act.developer",userid:"userid",pid:"pid"},maxBreadcrumbs:50,sampleRate:.3,autoCategoryRule:{},ignoreEventRule:y,ignoreErrors:y,ignoreBreadcrumbRule:[],changeEvent:function(e){return e}},j={sampleRate:.05,costTimeLimit:2e4,api:"https://front-perf.like-video.com/api/call",reportWaitMilliseconds:2e3},M=window.fetch;var N=function(e){return Promise.resolve().then(function(){return M.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 L;function O(e){return(L||(L=JSON.parse(window.atob("eyJBRSI6IjFiMWYuMTY0MTNlMTMuanNvbiIsIkFNIjoiMWIxNy4yYWFkYzViMC5qc29uIiwiQVIiOiIxYjA4LjhiZmY0NGJlLmpzb24iLCJBVCI6IjFiMGUuNWM5MTEyMjguanNvbiIsIkFVIjoiMWIwZi42ZDljM2JlNC5qc29uIiwiQVoiOiIxYjAwLjQ3OGViNmY0Lmpzb24iLCJCRCI6IjE4MWUuYWZiMzFkNzcuanNvbiIsIkJFIjoiMTgxZi5kNTM3NTU1Yy5qc29uIiwiQkkiOiIxODEzLmM1MTUwNDgzLmpzb24iLCJCTSI6IjE4MTcuZmY2MTM5NmYuanNvbiIsIkJPIjoiMTgxNS43YjJmNDhiYi5qc29uIiwiQlIiOiIxODA4LmVjMjFjNTk0Lmpzb24iLCJCWSI6IjE4MDMuNWMzMTIyODcuanNvbiIsIkNBIjoiMTkxYi4wMjQ4YjBlYS5qc29uIiwiQ0wiOiIxOTE2LjA5OWMyNjBiLmpzb24iLCJDTiI6IjE5MTQuZWM3ZGNhZmEuanNvbiIsIkNPIjoiMTkxNS42YTdlNDIxNS5qc29uIiwiREUiOiIxZTFmLjY1OGRhMmE3Lmpzb24iLCJESyI6IjFlMTEuN2IyZjQ4YmIuanNvbiIsIkRaIjoiMWUwMC45MjIwYjFmYi5qc29uIiwiRUciOiIxZjFkLmI2YjA0MzFjLmpzb24iLCJFUyI6IjFmMDkuNW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QwMC4wNWE0ZDhlYi5qc29uIiwiT00iOiIxNTE3LmU3NmI5ZGIxLmpzb24iLCJQRSI6IjBhMWYuOTA5NTVlZWIuanNvbiIsIlBIIjoiMGExMi5mZDA4NWIxMS5qc29uIiwiUEsiOiIwYTExLjJlYTdlZTZkLmpzb24iLCJQTCI6IjBhMTYuY2ZjMDFlZTIuanNvbiIsIlBTIjoiMGEwOS42YTk2MWE2Yy5qc29uIiwiUUEiOiIwYjFiLmY1YWQ3YmQ2Lmpzb24iLCJSTyI6IjA4MTUuMmI5NWY4N2MuanNvbiIsIlJVIjoiMDgwZi4wZjVhMjNiOS5qc29uIiwiU0EiOiIwOTFiLmI1ZWMyNjEyLmpzb24iLCJTRSI6IjA5MWYuYTFjMDg4YWYuanNvbiIsIlNHIjoiMDkxZC5jZmMwMWVlMi5qc29uIiwiU1kiOiIwOTAzLjZjNDVjODk0Lmpzb24iLCJUSCI6IjBlMTIuY2Q1MGM3YWEuanNvbiIsIlRKIjoiMGUxMC41YzMxMjI4Ny5qc29uIiwiVE0iOiIwZTE3LjQ5NzkxMTAzLmpzb24iLCJUUiI6IjBlMDguNTM3NzI4MDQuanNvbiIsIlRXIjoiMGUwZC5iODliMTJhMS5qc29uIiwiVUEiOiIwZjFiLmMwOTM2NTY1Lmpzb24iLCJVUyI6IjBmMDkuMTM1NGY3MDEuanNvbiIsIlVaIjoiMGYwMC45OWNmZWM2OC5qc29uIiwiVkUiOiIwYzFmLjQ5OGQ2OTM0Lmpzb24iLCJWTiI6IjBjMTQuYzYwZDVlMjguanNvbiIsIllFIjoiMDMxZi5jNDUyNzMxNS5qc29uIiwiWkEiOiIwMDFiLmZiZWIxNTVmLmpzb24iLCJvdGhlciI6IjM1MmUzMjNmMjguZmVlZWJmZGQuanNvbiJ9"))),L)[e]}var Y=["hostBlockConfig"],Z=s().bundleCode,k=window.document&&window.document.currentScript,C=k&&k.src?k.src.replace(/[^/]*$/,""):"",T={},W={},x={};function R(e){var t=e||Z||"other",n="other"===t?t:t.toUpperCase();return O(n)?n:"other"}function E(e){var t=function(e){return"".concat(C,"bundles/").concat(O(e))}(e);return function(e){return N(e)}(t).then(function(e){return e.default})}function J(e){var t=R(e);return x[t]||(x[t]=E(t).catch(function(){return"other"===t?{}:E("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)})}(z),S=window.atob("Y3VzdG9tQ291bnRyeUNvZGU=");function A(e,t){var n=t&&(t.customBundleCode||t[S]),i=R(n||Z),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=W.hostAliasConfig,a=W.antiBanApiConfig,c=void 0===a?{}:a,u=(void 0===o?{}:o)[r[2]]||r[2],s=T[R(i)];s||J(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 G(e,t,n){var i=e,r=t;return t&&!function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}(e)?r=A(t,n):i=A(e,n),{url:i,baseURL:r}}window.doBlockHostReplace=G,window.getAllHostConfig=function(){return T};var V={sampleRate:.2,api:G(j.api).url},F=Object.assign({},j,V);function U(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}}z.then(function(){F.api=G(j.api).url});var D=s(),X=D.appVersionCode,q=D.phoneName;console.info(q,D,"ua info");var Q=/ipad|iphone|ipod/i.test("".concat(q).toLowerCase());["1452","1453"].includes(X)&&Q&&window.addEventListener("load",function(){document.querySelectorAll("script").forEach(function(e){e&&e.src.includes("nativeapi")&&(e.onload=void(window.nativeApi&&window.nativeApi.openWebView&&U(window.nativeApi,"openWebView",function(e){return function(){for(var t=arguments.length,n=new Array(t),i=0;i=10||(P+=1,window.setTimeout(function(){$()||(ee(),e())},1e3))}(),window.addEventListener("DOMContentLoaded",te),window.addEventListener("load",function(){te(),ee()});var ne={},ie=!1,re=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;U(XMLHttpRequest.prototype,"setRequestHeader",function(t){return function(){for(var n=e.get(this),i=arguments.length,r=new Array(i),o=0;o=400?ae(a,0,{success:0,errType:c.status>=500?3:2,status:c.status,costTime:+new Date-c.startTime}):c.status<400&&c.status>=200&&ae(a,0,{success:1,errType:"",status:c.status,costTime:+new Date-c.startTime}))}),c.addEventListener("error",function(){ae(a,0,{success:0,errType:4,status:c.status,costTime:+new Date-c.startTime})})),t.apply(c,i)}}),U(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&&ae(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=G(e.url).url;return Object.assign(e,{url:t})}return e})},window["common_vendor"]&&r(),ne[i]?ne[i].loadedCallbacks.includes(r)||ne[i].loadedCallbacks.push(r):ie?(re(i),ne[i]={register:!0,loadedCallbacks:[]}):ne[i]={register:!1,loadedCallbacks:[]}}();var ce=s(),ue=p("install_package"),se=/^https:\/\/.*\/as\/common-static\/pear\/prod\/(gray-?)?\d+-[a-zA-Z]+\.json.*$/;function le(e){var t=(e||{}).install_package,n=ce.installPackage;void 0!==t&&(n=t),d&&ue&&(n=ue);var i=m(n);return{config:i.config,defaultConfig:i.defaultConfig,install_package:n}}function pe(e,t){var n=e;return Object.keys(t).forEach(function(e){n=n.replace(new RegExp(e,"gi"),t[e])}),n}function de(e,t){var n=le(t),i=n.config,r=n.defaultConfig,o=e;if(o&&i&&r&&!i.disable){i.linkReplacement&&(o=pe(o,i.linkReplacement)),r.linkReplacement&&(o=pe(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=pe(o,i.replacement)),r.replacement&&(o=pe(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&&(U(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