modify landing page

This commit is contained in:
Bkk1234 committed 2026-11-16 01:39:59 +07:00
commit dd232b1c02
2599 files changed
+226992

No files matched your search

@@ -0,0 +1 @@
var baxiaCommon=function(){"use strict";var win=window,BAXIA_KEY="__baxia__",getStore=function(e,t){var n=win[BAXIA_KEY]||{};return e?n[e]||t:n},setStore=function(e,t){win[BAXIA_KEY]=win[BAXIA_KEY]||{},win[BAXIA_KEY][e]=t},includes=function(e,t){return!!e&&e.indexOf(t)>-1},isObjectString=function(e){var t=!0;try{JSON.parse(e)}catch(n){t=!1}return t},isEmptyObject=function(e){if(!e)return!0;for(var t in e)return!1;return!0},toArray=function(e){for(var t=Array(e.length),n=0;t.length>n;++n)t[n]=e[n];return t},addQueryString=function(e,t,n){return includes(e,t)?e:e.indexOf("?")>-1?e+"&"+t+"="+n:e+"?"+t+"="+n},addFormUrlEncoded=function(e,t,n){return includes(e,t)?e:e+"&"+t+"="+n},isMobile=function(){return navigator.userAgent.match(/.*(iPhone|iPad|Android|ios|SymbianOS|Windows Phone).*/i)},isRendered=function(e){if(e&&!document.getElementById(e.id))return!1;var t=e&&e.querySelector(".nc_wrapper"),n=e&&e.querySelector("._nc");return!!t||!!n};function addVersionToUrl(e){return getStore("options",{}).addVersionToUrl?!e||endsWith(e,".js")||endsWith(e,".css")||includes(e,"_bx-v")?e:addQueryString(e,"_bx-v",version):e}function endsWith(e,t){return!!e&&e.substring(e.length-t.length)===t}function formatJsonp(e){return void 0===e&&(e=""),e.substring(e.indexOf("{"),e.lastIndexOf("}")+1)}var formatInjectOptions=function(options){if("string"==typeof options.checkApiPath){var reg_1=options.checkApiPath+"";options.checkApiPath=function(e){return RegExp(reg_1).test(e)}}if("string"==typeof options.renderTo&&(options.renderTo=document.querySelector(options.renderTo)),"string"==typeof options.renderNC&&(options.renderNC="true"===options.renderNC),"string"==typeof options.awscTimeout&&(options.awscTimeout=+options.awscTimeout),"string"==typeof options.showCallback){var _showCallback_1=options.showCallback+"";options.showCallback=function(){eval(_showCallback_1)}}if("string"==typeof options.hideCallback){var _hideCallback_1=options.hideCallback+"";options.hideCallback=function(){eval(_hideCallback_1)}}return options},isGray=function(){var e=document.currentScript&&document.currentScript.src;if(e&&e.indexOf("ratio")>-1){var t=e.match(/ratio=([^&]+)/),n=+encodeURIComponent(t&&t[1]);return Math.random()<=n}return!0};function getCurrentJSDomain(){var e=getCurrentScript(),t=e&&e.src?e.src.match(/https\:\/\/([^&]+).alicdn/):null;t||(t=e&&e.src?e.src.match(/https\:\/\/([^&]+).slatic.net/):[,"g"]);var n=t&&t[1],r="";return-1===["laz-g-cdn","aeis","assets","lazada-slatic-g","lzd-g"].indexOf(n)&&(n="g"),"lzd-g"===n?r="https://"+n+".slatic.net/g/":(r="https://"+n+".alicdn.com/","assets"===n&&(r+="g/")),r}function getCurrentScript(){if(document.currentScript)return document.currentScript;var e=null,t=document.getElementsByTagName("script"),n=null;try{throw Error()}catch(a){var r,o=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(a.stack)||[!1])[1];for(r in t)if((n=t[r]).src==o||"interactive"==n.readyState)return e=t[r],t[r]}return e}function getDomain(e){var t=e.match(/(https?:\/\/)?((([\w-]+\.)+\w+)|localhost)(:\d{1,5})?/g);return t&&t[0]||""}function crossOrigin(e){try{return!e||(e.url?e=e.url:e.href?e=e.href:"[object Array]"===Object.prototype.toString.call(e)&&(e=e[0]),"/"!==e.substring(0,1)?host!==getDomain(e):"//"===e.substring(0,2)&&host!==getDomain(location.protocol+e))}catch(t){return log("跨域校验异常,message:"+t,1,1),!0}}var host=location.protocol+"//"+location.host,version="2.5.6",loc=location,doc=document,log=function(e,t,n){(void 0===t&&(t=1),void 0===n&&(n=.1),0>=n||Math.random()<n)&&_send({code:t,msg:(e+"").substr(0,1e3)+";v:"+version,pid:"baxia",page:loc.href.split(/[#?]/)[0],query:loc.search.substr(1),hash:loc.hash,referrer:doc.referrer,title:doc.title,ua:navigator.userAgent},"//gm.mmstat.com/fsp.1.1?")};function importantLog(e){log(e,13,.1)}function veryImportantLog(e){log(e,16,1)}function _send(e,t){var n=[];for(var r in e)n.push(r+"="+encodeURIComponent(e[r]));(new Image).src=t+n.join("&")}var addEvent=function(e,t,n,r){if(void 0===r&&(r=!1),t.addEventListener)t.addEventListener(e,n,r);else if(t.attachEvent)return t.attachEvent("on"+e,n),!1},isSupportedHookProperty=function(){var e={test:"true"};try{return Object.defineProperty(e,"test",{enumerable:!1,value:e}),Object.getOwnPropertyDescriptor(XMLHttpRequest.prototype,"readyState")&&e.test==e.test}catch(t){return!1}}(),hookFunctionAndArguments=function(e,t,n,r){var o=e[t];e[t]=function(){var e=toArray(arguments);if(n&&!r&&!1===n.apply(this,e))return;return r&&(e=n.apply(this,e)),o.apply(this,e)}},hookFunction=function(e,t,n){var r=e[t];e[t]=function(){var e=toArray(arguments);if(n&&!1===n.apply(this,e))return;return r.apply(this,e)}},hookProperty=function(e,t,n,r){if(Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(isSupportedHookProperty&&!o||!o)importantLog("错误:不支持 hookProperty");else{var a=o.set,i=o.get;isSupportedHookProperty&&Object.defineProperty(e,t,{set:function(){var e=toArray(arguments);if(n){var t=n&&n.apply(this,e);e=t?[Line truncated