define("@ali/gcom-aec-tb-ability-env/tube/index", [], function(require, exports, module) {"use strict";var e,r=require("@ali/gcom-aec-env/index"),t=require("@ali/gcom-aec-ae-helper/index");function n(e,r,t,n,o,i,c){try{var a=e[i](c),u=a.value}catch(e){t(e);return}a.done?r(u):Promise.resolve(u).then(n,o)}"function"==typeof SuppressedError&&SuppressedError;var o=(e=function(){var e,n,o,i,c=arguments;return function(e,r){var t,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},c=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return c.next=a(0),c.throw=a(1),c.return=a(2),"function"==typeof Symbol&&(c[Symbol.iterator]=function(){return this}),c;function a(a){return function(u){return function(a){if(t)throw TypeError("Generator is already executing.");for(;c&&(c=0,a[0]&&(i=0)),i;)try{if(t=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,n=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=r.call(e,i)}catch(e){a=[6,e],n=0}finally{t=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}(this,function(a){var u,l;return e=c.length>0&&void 0!==c[0]?c[0]:{},this.store.set("env.device",e.device),this.store.set("env.heightLimit",t.getScreenHeight()||0),window._page_config_=(null===(n=window)||void 0===n?void 0:n._page_config_)||{},window._page_config_.loader=(u=function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},n=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.forEach(function(r){var n;n=t[r],r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n})}return e}({},null===(i=window)||void 0===i?void 0:null===(o=i._page_config_)||void 0===o?void 0:o.loader),l=l={gdpr:!r.isAEApp,"smart-banner":{enable:!1}},Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(l)):(function(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(l)).forEach(function(e){Object.defineProperty(u,e,Object.getOwnPropertyDescriptor(l,e))}),u),[2]})},function(){var r=this,t=arguments;return new Promise(function(o,i){var c=e.apply(r,t);function a(e){n(c,o,i,a,u,"next",e)}function u(e){n(c,o,i,a,u,"throw",e)}a(void 0)})});module.exports=o;
;        (function(e, k, f, g, d) {            if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {                if (k(e).length === 2 && e[g](f) === !0 || k(e).length === 1 && e[g](f) === !1) {                    module.exports = e[d];                    module.exports[d] = module.exports;                }            }        })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });

define("@ali/gcom-aec-device/index", [], function(require, exports, module) {"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@ali/gcom-aec-env/index"),t=require("@ali/gcom-aec-utils/index");if(exports.statusBarHeight=40,exports.isIphoneXSeries=!1,e.isIOS){var r=window.screen,s=r.width,i=r.height;(375==s&&812==i||414==s&&896==i||390==s&&844==i||428==s&&926==i)&&(exports.isIphoneXSeries=!0)}var a=t.qs.parse(location.href);exports.statusBarHeight=parseInt(a.statusBarHeight)||0,exports.bottomBarHeight=0;
;        (function(e, k, f, g, d) {            if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {                if (k(e).length === 2 && e[g](f) === !0 || k(e).length === 1 && e[g](f) === !1) {                    module.exports = e[d];                    module.exports[d] = module.exports;                }            }        })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });

define("@ali/gcom-aec-error-page@1/index", [], function(require, exports, module) {"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,n,t,a,r,i=require("@ali/pnpm-react@18/index"),o=require("@ali/gcom-aec-view@1/index"),u=require("@ali/gcom-aec-image@1/index"),s=require("@ali/pnpm-react@18/jsx-runtime"),c=require("@ali/gcom-aec-device/index"),l=require("@ali/gcom-adc-api@1/index"),f=require("@ali/gcom-aec-utils/index");function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var p=d(o),m=d(u),g={},v="undefined"!=typeof window&&"onload"in window,h="undefined"!=typeof process&&!!(process.versions&&process.versions.node),w="undefined"!=typeof WXEnvironment&&"Web"!==WXEnvironment.platform,y="undefined"!=typeof __kraken__,_="undefined"!=typeof my&&null!==my&&void 0!==my.alert,b="undefined"!=typeof tt&&null!==tt&&void 0!==tt.showToast,x="undefined"!=typeof swan&&null!==swan&&void 0!==swan.showToast,P="undefined"!=typeof ks&&null!==ks&&void 0!==ks.showToast,M=!b&&"undefined"!=typeof wx&&null!==wx&&(void 0!==wx.request||void 0!==wx.miniProgram),k="undefined"!=typeof global&&null!==global&&void 0!==global.callNative&&!w,W=v&&"object"==typeof pha,j=_&&v&&my.isFRM,A="object"==typeof navigator?navigator.userAgent||navigator.swuserAgent:"",N=/.+AliApp\((\w+)\/((?:\d+\.)+\d+)\).* .*(WindVane)(?:\/((?:\d+\.)+\d+))?.*/.test(A)&&v&&"undefined"!=typeof WindVane&&void 0!==WindVane.call,B=function(e){if(e.__esModule)return e;var n=e.default;if("function"==typeof n){var t=function e(){return this instanceof e?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};t.prototype=n.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,a.get?a:{enumerable:!0,get:function(){return e[n]}})}),t}(Object.freeze({__proto__:null,isWeb:v,isNode:h,isWeex:w,isKraken:y,isMiniApp:_,isByteDanceMicroApp:b,isBaiduSmartProgram:x,isKuaiShouMiniProgram:P,isWeChatMiniProgram:M,isQuickApp:k,isPHA:W,isFRM:j,isWindVane:N,default:{isWeb:v,isNode:h,isWeex:w,isKraken:y,isMiniApp:_,isByteDanceMicroApp:b,isBaiduSmartProgram:x,isKuaiShouMiniProgram:P,isWeChatMiniProgram:M,isQuickApp:k,isPHA:W,isWindVane:N,isFRM:j}}));g.__esModule=!0,Object.keys(B).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in g&&g[e]===B[e]||(g[e]=B[e]))});var O=/"[^"]+"|'[^']+'|url\([^\)]+\)|(\d*\.?\d+)rpx/g,T=g.isWeb?"web":g.isWeex?"weex":g.isNode?"node":"",q=function(e,n){var t=Math.pow(10,n+1);return 10*Math.round(Math.floor(e*t)/10)/t},E=function(e,n){return n?parseFloat(e)*t+"px":e},H=function(e,n){return n?q(parseFloat(e)/(a/100),4)+"vw":e};void 0===t&&(t=1),void 0===a&&(a=750);var R=function(){function e(){this.__store={}}var n=e.prototype;return n.set=function(e,n){this.__store[e+"_"+typeof e]=n},n.get=function(e){return this.__store[e+"_"+typeof e]},n.has=function(e){return Object.prototype.hasOwnProperty.call(this.__store,e+"_"+typeof e)},e}(),S=(e=function(e,n,t){return t&&(T=t),"string"==typeof e&&O.test(e)?"web"===T||"node"===T?e.replace(O,H):"weex"===T?e.replace(O,E):e:e},n=new R,function(){var t=arguments.length<=0?void 0:arguments[0];return n.has(t)||n.set(t,e.apply(void 0,arguments)),n.get(t)});function C(e,n,t,a,r){return s.jsx(e,F(n),t,a,r)}function V(e,n,t,a,r){return s.jsxs(e,F(n),t,a,r)}function F(e){if(e&&"style"in e){var n=e.style;if("object"==typeof n){var t=Object.assign({},e),a={};for(var r in n)a[r]="string"==typeof n[r]?S(n[r]):n[r];return t.style=a,t}}return e}var D=i.memo(function(){return V(p.default,{className:"aec-error-pc-page-container",children:[C(m.default,{className:"aec-error-pc-page-icon",source:{uri:"//ae-pic-a1.aliexpress-media.com/kf/He587f500bdc542539ac3763739b2ebb1a/568x693.png"},compressInfo:{width:"auto",height:168}}),C("span",{className:"aec-error-pc-page-title",children:"Page under Maintenance"}),C("span",{className:"aec-error-pc-page-text",children:"We are working hard to fix this problem, Please check back later."}),C("span",{className:"aec-error-pc-page-btn",onClick:function(){var e;null===(e=window.location)||void 0===e||e.reload()},children:"Refresh"})]})}),I={};I.__esModule=!0,Object.keys(B).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in I&&I[e]===B[e]||(I[e]=B[e]))});var K={};K.__esModule=!0,K.default=void 0;var Q=function(e){return new Promise(function(n){setTimeout(function(){history.go(e.step)}),n()})};K.default={push:function(e){return new Promise(function(n){setTimeout(function(){location.href=e.url}),n()})},pop:function(){return Q({step:-1})},go:Q};var X={};function z(){return r=r||__weex_require__("@weex-module/navigator")}X.__esModule=!0,X.default=void 0;var J=function(e){return new Promise(function(n){var t=!e||!e.animated||e.animated;z().pop({animated:t.toString()},function(){n()})})};X.default={push:function(e){return new Promise(function(n){var t=e.url,a=e.animated;z().push({url:t,animated:(void 0===a||a).toString()},function(){n()})})},pop:J,go:function(e){return new Promise(function(n,t){var a=e.step,r=e.animated;a<0?J({animated:void 0===r||r}).then(n):t()})}};var G={};G.__esModule=!0,G.default=void 0,G.default={push:function(e){return new Promise(function(n,t){var a=e.url;my.navigateTo({url:a,success:n,fail:t})})},pop:function(){return new Promise(function(e,n){my.navigateBack({delta:1,success:e,fail:n})})},go:function(e){return new Promise(function(n,t){var a=e.step;a<0?my.navigateBack({delta:Math.abs(a),success:n,fail:t}):t()})}};var L={};L.__esModule=!0,L.default=void 0,L.default={push:function(e){return new Promise(function(n,t){var a=e.url;wx.navigateTo({url:a,success:n,fail:t})})},pop:function(){return new Promise(function(e,n){wx.navigateBack({delta:1,success:e,fail:n})})},go:function(e){return new Promise(function(n,t){var a=e.step;a<0?wx.navigateBack({delta:Math.abs(a),success:n,fail:t}):t()})}};var U={};U.__esModule=!0,U.default=void 0,U.default={push:function(e){return new Promise(function(n,t){var a=e.url;tt.navigateTo({url:a,success:n,fail:t})})},pop:function(){return new Promise(function(e,n){tt.navigateBack({delta:1,success:e,fail:n})})},go:function(e){return new Promise(function(n,t){var a=e.step;a<0?tt.navigateBack({delta:Math.abs(a),success:n,fail:t}):t()})}};var Y=void 0,Z=ea(K),$=ea(X),ee=ea(G),en=ea(L),et=ea(U);function ea(e){return e&&e.__esModule?e:{default:e}}Y=function(){for(var e=arguments.length,n=Array(e),t=0;t<e;t++)n[t]=arguments[t];for(var a=0;a<n.length;a++){var r=n[a]();if(r)return r}}(function(){return I.isWeb?Z.default:null},function(){return I.isWeex?$.default:null},function(){return I.isMiniApp?ee.default:null},function(){return I.isWeChatMiniProgram?en.default:null},function(){return I.isByteDanceMicroApp?et.default:null},function(){return Z.default});var er=i.memo(function(e){var n=e.title,t=f.getAEInfo().isRtl,a=f.getPageType();return V(p.default,{className:"aec-error-page-container",style:{marginTop:"".concat(300+c.statusBarHeight,"rpx")},children:[V(p.default,{className:"aec-error-page-nav",style:{top:"".concat(c.statusBarHeight,"rpx")},children:["embed"===a||"tabbar"===a?null:C(m.default,{className:"aec-error-page-back",source:{uri:t?"//ae-pic-a1.aliexpress-media.com/kf/Ha8fda2634c3441d89f6493a3bc5cbaf7M/48x48.png":"//ae-pic-a1.aliexpress-media.com/kf/Ha5280829ad6043faad290318712c7565T/48x48.png"},compressInfo:{width:44,height:44},onClick:function(){window.pha&&window.WindVane?l.call("PHAJSBridge","navigationBar.back",{}):Y.pop({animated:!0})}}),n&&C("span",{className:"aec-error-page-nav-title",children:n})]}),C(m.default,{className:"aec-error-page-icon",source:{uri:"//ae-pic-a1.aliexpress-media.com/kf/S41a619e2e372478eab2da438e63c1bcaR/360x360.png"},compressInfo:{width:360,height:360}}),C("span",{className:"aec-error-page-title",children:"Page under Maintenance"}),C("span",{className:"aec-error-page-text",children:"We are working hard to fix this problem, Please check back later."}),C("span",{className:"aec-error-page-btn",onClick:function(){var e;null===(e=window.location)||void 0===e||e.reload()},children:"Refresh"})]})});exports.ErrorPagePC=D,exports.ErrorPagePhone=er;
;        (function(e, k, f, g, d) {            if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {                if (k(e).length === 2 && e[g](f) === !0 || k(e).length === 1 && e[g](f) === !1) {                    module.exports = e[d];                    module.exports[d] = module.exports;                }            }        })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });
//# sourceMappingURL=index.js.map
define("@ali/gcom-aec-tb-ability-error/tube/index", [], function(require, exports, module) {"use strict";var e,t,n,r,o,i=require("@ali/pnpm-react-dom@18/client"),a=require("@ali/gcom-aec-error-page@1/index"),u=require("@ali/pnpm-react@18/jsx-runtime");function s(e,t,n,r,o,i,a){try{var u=e[i](a),s=u.value}catch(e){n(e);return}u.done?t(s):Promise.resolve(s).then(r,o)}var l={},c="undefined"!=typeof window&&"onload"in window,d="undefined"!=typeof process&&!!(process.versions&&process.versions.node),f="undefined"!=typeof WXEnvironment&&"Web"!==WXEnvironment.platform,p="undefined"!=typeof __kraken__,v="undefined"!=typeof my&&null!==my&&void 0!==my.alert,y="undefined"!=typeof tt&&null!==tt&&void 0!==tt.showToast,h="undefined"!=typeof swan&&null!==swan&&void 0!==swan.showToast,b="undefined"!=typeof ks&&null!==ks&&void 0!==ks.showToast,w=!y&&"undefined"!=typeof wx&&null!==wx&&(void 0!==wx.request||void 0!==wx.miniProgram),g="undefined"!=typeof global&&null!==global&&void 0!==global.callNative&&!f,m=c&&"object"==typeof pha,_=v&&c&&my.isFRM,P="object"==typeof navigator?navigator.userAgent||navigator.swuserAgent:"",x=/.+AliApp\((\w+)\/((?:\d+\.)+\d+)\).* .*(WindVane)(?:\/((?:\d+\.)+\d+))?.*/.test(P)&&c&&"undefined"!=typeof WindVane&&void 0!==WindVane.call,M=function(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}),n}(Object.freeze({__proto__:null,isWeb:c,isNode:d,isWeex:f,isKraken:p,isMiniApp:v,isByteDanceMicroApp:y,isBaiduSmartProgram:h,isKuaiShouMiniProgram:b,isWeChatMiniProgram:w,isQuickApp:g,isPHA:m,isFRM:_,isWindVane:x,default:{isWeb:c,isNode:d,isWeex:f,isKraken:p,isMiniApp:v,isByteDanceMicroApp:y,isBaiduSmartProgram:h,isKuaiShouMiniProgram:b,isWeChatMiniProgram:w,isQuickApp:g,isPHA:m,isWindVane:x,isFRM:_}}));l.__esModule=!0,Object.keys(M).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in l&&l[e]===M[e]||(l[e]=M[e]))});var j=/"[^"]+"|'[^']+'|url\([^\)]+\)|(\d*\.?\d+)rpx/g,k=l.isWeb?"web":l.isWeex?"weex":l.isNode?"node":"",W=function(e,t){var n=Math.pow(10,t+1);return 10*Math.round(Math.floor(e*n)/10)/n},O=function(e,t){return t?parseFloat(e)*r+"px":e},A=function(e,t){return t?W(parseFloat(e)/(o/100),4)+"vw":e};void 0===r&&(r=1),void 0===o&&(o=750);var E=function(){function e(){this.__store={}}var t=e.prototype;return t.set=function(e,t){this.__store[e+"_"+typeof e]=t},t.get=function(e){return this.__store[e+"_"+typeof e]},t.has=function(e){return Object.prototype.hasOwnProperty.call(this.__store,e+"_"+typeof e)},e}(),S=(e=function(e,t,n){return n&&(k=n),"string"==typeof e&&j.test(e)?"web"===k||"node"===k?e.replace(j,A):"weex"===k?e.replace(j,O):e:e},t=new E,function(){var n=arguments.length<=0?void 0:arguments[0];return t.has(n)||t.set(n,e.apply(void 0,arguments)),t.get(n)}),B=(n=function(){var e,t,n=arguments;return function(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),u=Object.defineProperty;return u(a,"next",{value:s(0)}),u(a,"throw",{value:s(1)}),u(a,"return",{value:s(2)}),"function"==typeof Symbol&&u(a,Symbol.iterator,{value:function(){return this}}),a;function s(u){return function(s){return function(u){if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,r=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){i=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){i.label=u[1];break}if(6===u[0]&&i.label<o[1]){i.label=o[1],o=u;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(u);break}o[2]&&i.ops.pop(),i.trys.pop();continue}u=t.call(e,i)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,s])}}}(this,function(r){return e=n.length>0&&void 0!==n[0]?n[0]:{},t=this,window.addEventListener("pushTubeError",function(n){if((null==n?void 0:null===(r=n.detail)||void 0===r?void 0:r.level)==="error"){null===(o=t.clearSkeleton)||void 0===o||o.call(t);var r,o,s=(null==e?void 0:e.device)==="pc"?a.ErrorPagePC:a.ErrorPagePhone,l=document.getElementById("root");i.createRoot(l).render(u.jsx(s,function(e){if(e&&"style"in e){var t=e.style;if("object"==typeof t){var n=Object.assign({},e),r={};for(var o in t)r[o]="string"==typeof t[o]?S(t[o]):t[o];return n.style=r,n}}return e}({}),void 0,void 0,void 0)),t.suspend()}}),[2]})},function(){var e=this,t=arguments;return new Promise(function(r,o){var i=n.apply(e,t);function a(e){s(i,r,o,a,u,"next",e)}function u(e){s(i,r,o,a,u,"throw",e)}a(void 0)})});module.exports=B;
;        (function(e, k, f, g, d) {            if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {                if (k(e).length === 2 && e[g](f) === !0 || k(e).length === 1 && e[g](f) === !1) {                    module.exports = e[d];                    module.exports[d] = module.exports;                }            }        })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });

define("@ali/gcom-aec-tb-ability-ssr/tube/index", [], function(require, exports, module) {"use strict";var e=require("@ali/gcom-aec-tb-ability-ssr/vendor.cjs.es5.production"),a=require("@ali/gcom-aec-env/index"),o="<!--first_chunk_end-->",t=function(e){var a,t,n,i;if((null===(t=window.adc)||void 0===t?void 0:null===(a=t.config)||void 0===a?void 0:a.enableSnapshotV2)&&(null===(i=window.adc)||void 0===i?void 0:null===(n=i.snapshot)||void 0===n?void 0:n.saveData))try{var s,r=new Date().getTime(),l=((null===(s=document.documentElement)||void 0===s?void 0:s.outerHTML)||"").split(o)[0],d=new Date().getTime()-r;window.dispatchEvent(new CustomEvent("pushTubeLog",{detail:{code:"tubes_ssr-ability_snapshotGenerateDuration",message:d}})),l&&e.hook("afterModuleRender",function(){window.adc.snapshot.saveData({key:location.href,data:"<!DOCTYPE html>"+l+o},function(){console.log("[aec-tb-ability-ssr]: snapshot save success!")},function(e){console.error("[aec-tb-ability-ssr]: snapshot save fail!",e)})},{once:!0})}catch(e){console.error("[aec-tb-ability-ssr]: snapshot save fail!",e)}},n=function(){var e,a,o,t;if((null===(a=window.adc)||void 0===a?void 0:null===(e=a.config)||void 0===e?void 0:e.enableSnapshotV2)&&(null===(t=window.adc)||void 0===t?void 0:null===(o=t.snapshot)||void 0===o?void 0:o.clearData))try{window.adc.snapshot.clearData({key:location.href},function(){console.log("[aec-tb-ability-ssr]: snapshot clear success!")},function(e){console.error("[aec-tb-ability-ssr]: snapshot clear fail!",e)})}catch(e){console.error("[aec-tb-ability-ssr]: snapshot clear fail!",e)}},i=function(){var e,a,o;null===(o=window.adc)||void 0===o||null===(a=o.streamSsr)||void 0===a||null===(e=a.updateCacheKey)||void 0===e||e.call(a,{cacheKey:"no-cache",clearFcc:!0},function(){console.log("window.adc.streamSsr.updateCacheKey success")},function(){console.log("window.adc.streamSsr.updateCacheKey fail")})};module.exports=function(){var o=this;a.isWeb&&e.ssrChecker.isStreamingSSR()&&(this.suspend(),window.addEventListener("stream-end",function(){var a=location.href.includes("adc_strategy=snapshot");if(window.__streamingSSROneChunk&&!a)t(o),o.resume();else{var s=o.store.get("ssr.data"),r=(null==s?void 0:s.data)||{},l=window.__STREAMING_DATA__||{},d=s||{},c=d.traceId,u=void 0===c?"":c,v=d.cacheTraceId,w=void 0===v?"":v,h=Object.keys(r),f=Object.keys(l);if(h.length!==f.length||h.some(function(e){return!f.includes(e)})||location.href.includes("force_clear=true")){n(),i(),null===(_=window.tubes_ability_report)||void 0===_||null===(m=_.markADCPerformanceData)||void 0===m||m.call(_,"pageStreamSSRModNotMatch","true");var m,_,p=[w,h.join(","),u,f.join(",")];window.dispatchEvent(new CustomEvent("stream-error",{detail:{message:"module not match error",data:p}}));return}var b=!1;if(a){var g=Array.from(document.getElementById("root").querySelectorAll(".mui-zebra-module.aec-default")).map(function(e){return e.id}).filter(function(e){return"first-screen-end-row"!==e});(g.length!==h.length||g.some(function(e){return!h.includes(e)}))&&(b=!0,n())}b||t(o);var y=!0;Object.keys(l).forEach(function(a){var o,t,n;y&&r[a]&&Object.keys(r[a]).forEach(function(o){var t;["locale","theme"].includes(o)&&!e.isEqual(r[a][o],null===(t=l[a])||void 0===t?void 0:t[o])&&(y=!1,window.dispatchEvent(new CustomEvent("pushTubeLog",{detail:{code:"tubes_app-ability_streamSsrCacheNotMatch",message:"".concat(a,".").concat(o," not match"),data:[w,u]}})))}),r[a]&&(r[a]=l[a]),(null===(n=window.__INIT_DATA__)||void 0===n?void 0:null===(t=n.data)||void 0===t?void 0:null===(o=t[a])||void 0===o?void 0:o.fields)&&(window.__INIT_DATA__.data[a].fields=e._object_spread({},window.__INIT_DATA__.data[a].fields,l[a]))}),y||i(),o.resume()}}),window.addEventListener("stream-error",function(e){var a,t,n=(e||{}).detail,i=void 0===n?{}:n;null===(t=window.tubes_ability_report)||void 0===t||null===(a=t.markADCPerformanceData)||void 0===a||a.call(t,"pageStreamSSRError","true"),window.dispatchEvent(new CustomEvent("pushTubeLog",{detail:{code:"tubes_app-ability_streamSsrError",message:(null==i?void 0:i.message)||"stream ssr error",data:(null==i?void 0:i.data)||[]}})),window.__INIT_DATA__=null,window.__STREAMING_DATA__=null,o.store.set("ssr.data",null),o.resume()}))};
;        (function(e, k, f, g, d) {            if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {                if (k(e).length === 2 && e[g](f) === !0 || k(e).length === 1 && e[g](f) === !1) {                    module.exports = e[d];                    module.exports[d] = module.exports;                }            }        })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });

define("@ali/gcom-aec-tb-ability-data/tube/index", [], function(require, exports, module) {"use strict";var e,t,a,r,o,n,i,s,l,u=require("@ali/gcom-aec-tb-ability-data/vendor.cjs.es5.production"),c=require("@ali/gcom-aec-utils/index"),d=require("@ali/gcom-auc-galaxy-protocol-sdk@1/index"),_=require("@ali/gcom-aec-env/index");require("@ali/gcom-aec-mtop/index"),require("@ali/gcom-aec-fetch/index");var v=_.isMobile?"msite":"pc",f=c.getAEInfo(),p=f.aeLocale,g=f.aeRegion,h=u.getWhPid(window.location.href),E={_storageKey:"AE_GCP_DATA_CACHE",_cacheTime:2592e5,_pageKey:"".concat(h,"_").concat(g,"_").concat(p,"_").concat(v),setCache:function(e){var t={success:!1};try{var a=JSON.parse(localStorage.getItem(this._storageKey)||"{}");if(Object.keys(a).includes(this._pageKey)){var r=a[this._pageKey];(r.expireTime<new Date().getTime()||JSON.stringify(r.data)!==JSON.stringify(e))&&(a[this._pageKey]={data:e,expireTime:Date.now()+this._cacheTime})}else a[this._pageKey]={data:e,expireTime:Date.now()+this._cacheTime};localStorage.setItem(this._storageKey,JSON.stringify(a)),t.success=!0}catch(e){console.log("FS_DATA_CACHE_MANAGER set cache error: ",e)}return t},getCache:function(){var e={data:{},success:!1};try{var t=JSON.parse(localStorage.getItem(this._storageKey)||"{}");if(Object.keys(t).includes(this._pageKey)){var a=t[this._pageKey];if(a.expireTime>new Date().getTime())e.success=!0,e.data=a.data;else throw Error("".concat(this._pageKey," cache expire"))}else throw Error("".concat(this._pageKey," cache empty"))}catch(e){console.log("FS_DATA_CACHE_MANAGER get cache error: ",e)}return e},computeCacheData:function(e){var t={modules:[],data:{},seedComboUris:""},a=["gmod-new-gcp-page-header","gmod-new-scene-card"],r=!0,o=!1,n=void 0;try{for(var i,s=e.modules[Symbol.iterator]();!(r=(i=s.next()).done);r=!0){var l=i.value;if(a.includes(l.name))t.modules.push(l);else break}}catch(e){o=!0,n=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw n}}return t.modules.forEach(function(a){t.data[a.uuid]=e.data[a.uuid]}),t.seedComboUris=e.seedComboUris,t}},S={_isOpen:!0,_openPlatform:["pc","msite"],customOpenValidate:function(){return h.includes("300000423")},judgeIsHitPreRender:function(){return!!(this._isOpen&&this._openPlatform.includes(v)&&this.customOpenValidate())&&E.getCache().success},initPreRender:function(e){var t=E.getCache();if(t.success){e.store.set("env.isPreRender",!0);var a=t.data;e.store.set("pageData.data",u._object_spread({},a.data)),e.store.set("pageData.modules",u._to_consumable_array(a.modules)),e.store.set("pageData.resultValue",a)}},updatePreRenderCache:function(e){if(this._isOpen&&this._openPlatform.includes(v)&&this.customOpenValidate()){var t=E.computeCacheData(e);E.setCache(t)}},clearPreRenderStatus:function(e){e.store.get("env.isPreRender")&&(e.store.set("env.isPreRender",!1),e.store.set("pageData.data",{}),e.store.set("pageData.modules",[]),e.store.set("modSplit.processed",[]),e.store.set("moduleRows",{bodyModList:[],emptyRowModIds:[],pendingBodyRows:[]}))}},y=function(e){var t=u.getWhPid(e.url);return new Promise(function(e){var a,r;(null===(r=window)||void 0===r?void 0:null===(a=r.pha)||void 0===a?void 0:a.dataPrefetch)?window.pha.dataPrefetch.getData({key:"upr_".concat(t)},function(t){if(!u.checkRetSuccess(t)){console.log("tubes_data: pha prefetch fail: check data failed"),e(null);return}var a,r=null==t?void 0:null===(a=t.data)||void 0===a?void 0:a.resultValue;if(!r||!r.data){console.log("tubes_data: pha prefetch fail: data has no resultValue"),e(null);return}if(r&&"true"===String(null==r?void 0:r.isInvalidRequest)){console.log("tubes_data: pha prefetch fail: data all resource fail"),e(null);return}console.log("tubes_data: pha prefetch success !"),e(r)},function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};console.log("tubes_data: pha prefetch fail: ",t),e(null)}):e(null)})},m=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(null==t?void 0:null===(e=t.failApp)||void 0===e?void 0:e.length)>0},R=(e=u._async_to_generator(function(e){var t,a,r,o,n;return u.__generator(this,function(i){return(t=e.failApp,a=e.data,r=e.traceId,Array.isArray(t)&&0!==t.length)?(o=/\.autoBuildTag/,n=[],t.forEach(function(t){o.test(t)&&(t=t.replace(".autoBuildTag",".data"));var i,s=t.split(".");if(2===s.length){var l=u._sliced_to_array(s,2),c=l[0],d=l[1];if(null==a?void 0:a[c]){var _=a[c][d],v=Array.isArray(_)&&_.length,f="object"==typeof _,p={};if(v?p=null===(i=_[0])||void 0===i?void 0:i.__data_param:f&&(p=null==_?void 0:_.__data_param),v||f){var g=p.appId,h=p.backupParams;if(g&&h){window.dispatchEvent(new CustomEvent("pushTubeError",{detail:{code:"tubes_data-ability_hasFailApp",message:"".concat(t," request failed in kangaroo request!"),data:[g,r,c,d]}})),"string"==typeof h&&(h=h.split(","));var E=h.reduce(function(e,t){var a,r=null===(a=p)||void 0===a?void 0:a[t];return r&&(e[t]=r),e},{}),S=u.getBottomData({appId:g,backupParams:E}).then(function(t){var a=t.data;return(null==a?void 0:a.length)||(window.dispatchEvent(new CustomEvent("pushTubeError",{detail:{code:"tubes_data-ability_failAppFailed",message:"request failed in resId request: ".concat(null==t?void 0:t.resId,"!"),data:[c,d]}})),e.isResourceBottomDataError=!0),e.data[c][d]=a,e}).catch(function(e){console.error("request failed in resId request: ".concat(JSON.stringify(e))),window.dispatchEvent(new CustomEvent("pushTubeError",{detail:{code:"tubes_data-ability_failAppFailed",message:"request failed in resId request: ".concat(JSON.stringify(e)),data:[c,d]}}))});n.push(S)}}}}}),[2,Promise.all(n)]):[2,e]})}),function(t){return e.apply(this,arguments)}),w=(t=u._async_to_generator(function(e,t){var a,r,o;return u.__generator(this,function(n){switch(n.label){case 0:if(!(a=m(t)))return[2,a];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,R(t)];case 2:return n.sent(),[3,4];case 3:return n.sent(),e.log("failApp request failed!",null===(r=t)||void 0===r?void 0:r.failApp),window.dispatchEvent(new CustomEvent("pushTubeError",{detail:{code:"tubes_data-ability_failAppFailed",message:"failApp request failed!",data:null===(o=t)||void 0===o?void 0:o.failApp}})),t=null,[3,4];case 4:return[2,a]}})}),function(e,a){return t.apply(this,arguments)}),T={finished:!1,finishTime:0},b=(a=u._async_to_generator(function(e){return u.__generator(this,function(t){return[2,new Promise(function(t){setTimeout(function(){t()},e)})]})}),function(e){return a.apply(this,arguments)}),O=(r=u._async_to_generator(function(){var e,t,a,r,o,n,i,s,l,c,d,_,v,f,p,g,h;return u.__generator(this,function(E){switch(E.label){case 0:if(!((null===(a=window)||void 0===a?void 0:null===(t=a.adc)||void 0===t?void 0:null===(e=t.config)||void 0===e?void 0:e.enablePreRequire)&&(null===(n=window)||void 0===n?void 0:null===(o=n.adc)||void 0===o?void 0:null===(r=o.config)||void 0===r?void 0:r.isJsModulesFull)&&(null===(l=window)||void 0===l?void 0:null===(s=l.feloader)||void 0===s?void 0:null===(i=s.Env)||void 0===i?void 0:i.mods)))return[3,9];u.markPerformanceData("fsPreRequireStart",new Date().getTime()),c=Object.keys(window.feloader.Env.mods).filter(function(e){return e.startsWith("@ali/gmod")}),d=!0,_=!1,v=void 0,E.label=1;case 1:E.trys.push([1,6,7,8]),f=c[Symbol.iterator](),E.label=2;case 2:if(d=(p=f.next()).done)return[3,5];return g=p.value,[4,b(0)];case 3:var S;if(E.sent(),T.finished)return[3,5];console.log("tubes_data: preheat require dependency: ".concat(g)),S=g,window.dispatchEvent(new CustomEvent("pushTubeLog",{detail:{code:"tubes_data-ability_fePreRequire",message:"require resource: ".concat(S)}})),new Promise(function(e,t){try{(0,window.require)(S,e,t)}catch(e){t(e)}}).catch(function(e){console.error("[aec-tb-ability-data]: mod ".concat("".concat(S," require warm-up error: ").concat(e))),window.dispatchEvent(new CustomEvent("pushTubeError",{detail:{code:"tubes_data-ability_fePreRequireError",message:"".concat(S," require failed!")}}))}),E.label=4;case 4:return d=!0,[3,2];case 5:return[3,8];case 6:return h=E.sent(),_=!0,v=h,[3,8];case 7:try{d||null==f.return||f.return()}finally{if(_)throw v}return[7];case 8:u.markPerformanceData("fsPreRequireEnd",T.finishTime||new Date().getTime()),E.label=9;case 9:return[2]}})}),function(){return r.apply(this,arguments)}),D=(o=u._async_to_generator(function(e,t){var a,r,o,n,i,s,l,c;return u.__generator(this,function(_){switch(_.label){case 0:if(n=e.store.get("ssr.data"),1===t.requestFlag&&n)return[2,n];if(O(),i=null===(o=window.$mock)||void 0===o?void 0:null===(r=o.firstScreenData)||void 0===r?void 0:null===(a=r.data)||void 0===a?void 0:a.resultValue)return[2,i];_.label=1;case 1:if(_.trys.push([1,6,,7]),u.markPerformanceData("fsDataRequestStart",new Date().getTime()),!(1===t.requestFlag||2===t.requestFlag&&u.IS_ADC_CDN_STRATEGY))return[3,3];return[4,y(t)];case 2:s=_.sent(),_.label=3;case 3:if(s)return[3,5];return u.markPerformanceData("fsSecondDataRequestStart",new Date().getTime()),[4,u.getKangarooData(e,{},t)];case 4:s=_.sent(),_.label=5;case 5:return(null===(l=s)||void 0===l?void 0:l.asyncHandler)&&(s=d.convertGalaxyToPegasus(s)),u.markPerformanceData("fsDataRequestEnd",new Date().getTime()),u.markPerformanceData("fsDataRequestBottom",u.boolToNumber(!!s.isBottomData)),[3,7];case 6:return c=_.sent(),e.log("get first screen data error, will show error page",c),window.dispatchEvent(new CustomEvent("pushTubeError",{detail:{code:"tubes_data-ability_fetchScreenDataError",message:c.message||"fetchScreenDataError",level:"error"}})),s=null,[3,7];case 7:return T.finished=!0,T.finishTime=new Date().getTime(),[2,s]}})}),function(e,t){return o.apply(this,arguments)}),A=function(e,t){var a=t.pvuuid,r=t.allUI,o=t.pageInfo,n=t.seed,i=t.fullScreenAmount,s=t.heightCalculateInfo,l=t.renderExtends,c=(o||{}).schemaVersion;u.setMyStore(e,u.PVUUID_STORE,a),u.setMyStore(e,u.SCHEMA_VERSION_STORE,c),u.setMyStore(e,u.ALL_UI,r),u.setMyStore(e,u.PAGE_INFO_STORE,o),u.setMyStore(e,u.SEED_STORE,n),u.setMyStore(e,u.FULL_SCREEN_AMOUNT,i),u.setMyStore(e,u.HEIGHT_CALCULATE_INFO,s),u.setMyStore(e,u.RENDER_EXTENDS,l)},C=function(e,t){if(!t){u.setMyStore(e,u.HAS_MORE_MODULES_STORE,!1);return}var a=t.hasMoreModules,r=t.fri,o=t.sysInfo,n=t.transProtocol,i=u.getExcludes(e,t);u.setMyStore(e,u.RESULT_VALUE_STORE,t),u.setMyStore(e,u.HAS_MORE_MODULES_STORE,"true"===String(a)),u.setMyStore(e,u.FRI_STORE,r),u.setMyStore(e,u.SYS_INFO_STORE,o),u.setMyStore(e,u.EXCLUDES_STORE,i),u.setMyStore(e,u.TRANS_PROTOCOL,n),u.updateModulesDataToStore(e,t),u.updateModulesToStore(e,t)},M=(n=u._async_to_generator(function(e,t){var a;return u.__generator(this,function(r){switch(r.label){case 0:return e.hook(u.BEFORE_FIRST_SCREEN),[4,D(e,t)];case 1:if(!(a=r.sent()))return[2,null];return u.markPerformanceData("pageEnv",a.pageEnv),u.markPerformanceData("isPageInGray",a.isPageInGray),t.requestFlag>1&&u.clearStoreData(e),S.updatePreRenderCache(a),S.clearPreRenderStatus(e),e.hook(u.AFTER_GET_FS_DATA_BEFORE_STORE,a),A(e,a),[4,w(e,a)];case 2:return r.sent(),C(e,a),e.hook(u.AFTER_FIRST_SCREEN,a),[2,a]}})}),function(e,t){return n.apply(this,arguments)}),P={locale:"en_US",country:"US",currency:"USD"},L=function(){var e,t,a,r,o,n,i,s,l=c.getAEInfo(),u=l.aeLocale,d=l.aeRegion,_=l.aeCurrency,v=l.aep_usuc_f;return!c.queryCookie(v,"region")&&(null===(t=window)||void 0===t?void 0:null===(e=t.__ext)||void 0===e?void 0:e.aeRegion)&&d===P.country&&u===P.locale&&_===P.currency?{aeRegion:null===(r=window)||void 0===r?void 0:null===(a=r.__ext)||void 0===a?void 0:a.aeRegion,aeLocale:null===(n=window)||void 0===n?void 0:null===(o=n.__ext)||void 0===o?void 0:o.aeLocale,aeCurrency:null===(s=window)||void 0===s?void 0:null===(i=s.__ext)||void 0===i?void 0:i.aeCurrency}:{aeRegion:d,aeLocale:u,aeCurrency:_}},I=function(e){var t=u.getMyStore(e,u.FRI_STORE),a=u.getMyStore(e,u.EXCLUDES_STORE),r=u.getMyStore(e,u.PVUUID_STORE),o=u.getMyStore(e,u.CURRENT_SEQUENCE_STORE),n=u.getMyStore(e,u.TRANS_PROTOCOL);return u._object_spread({fri:JSON.stringify(t),excludes:a?a.join(";"):"",pvuuid:r,sequence:o,transProtocol:n,backupParams:"aeCurrency,aeRegion,aeLocale,device,aeDevice,excludes"},L())},q=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=u.getMyStore(e,u.FELLOW_SCREEN_DATA_CACHE);u.setMyStore(e,u.FELLOW_SCREEN_DATA_CACHE,u._to_consumable_array(a).concat([t]))},F=function(e,t,a){if(!t){u.setMyStore(e,u.HAS_MORE_MODULES_STORE,!1);return}var r=u.getExcludes(e,t),o=t.hasMoreModules,n=t.fri,i=t.sysInfo;u.setMyStore(e,u.RESULT_VALUE_STORE,t),u.setMyStore(e,u.HAS_MORE_MODULES_STORE,"true"===String(o)),u.setMyStore(e,u.FRI_STORE,n),u.setMyStore(e,u.SYS_INFO_STORE,i),u.setMyStore(e,u.EXCLUDES_STORE,r),a?(u.updateModulesDataToStore(e,t),u.updateModulesToStore(e,t)):q(e,t)},U=(i=u._async_to_generator(function(e){var t,a,r,o,n,i=arguments;return u.__generator(this,function(s){switch(s.label){case 0:return t=i.length>1&&void 0!==i[1]?i[1]:{},a=i.length>2&&void 0!==i[2]?i[2]:{},r=!(i.length>3)||void 0===i[3]||i[3],u.increaseSequenceToStore(e),e.hook(u.BEFORE_FELLOW_SCREEN),[4,u.getKangarooData(e,u._object_spread({},t,I(e)),u._object_spread({disablePrefetch:!0},a))];case 1:if((null===(o=n=s.sent())||void 0===o?void 0:o.asyncHandler)&&(n=d.convertGalaxyToPegasus(n)),u.getMyStore(e,u.REQUEST_FLAG)!==a.requestFlag)return[2];return[4,w(e,n)];case 2:return s.sent(),F(e,n,r),u.getMyStore(e,u.HAS_MORE_MODULES_STORE)&&U(e,u._object_spread({},t,I(e)),a,r),e.hook(u.AFTER_FELLOW_SCREEN),[2]}})}),function(e){return i.apply(this,arguments)}),N=function(e,t,a){if(!_.isNode){u.setMyStore(e,u.IS_FIRST_SCREEN_STORE,!1);var r=u.getMyStore(e,u.HAS_MORE_MODULES_STORE),o=t.isBottomData;r&&!(void 0!==o&&o)?U(e,{},a):u.setMyStore(e,u.HAS_MORE_MODULES_STORE,!1)}},k=(s=u._async_to_generator(function(e,t){var a,r,o;return u.__generator(this,function(n){switch(n.label){case 0:return[4,M(e,t)];case 1:if(a=n.sent(),!(r=window._wv_preload&&!window._wv_attached))return[3,3];return[4,u.getAttachedStatus()];case 2:r=!n.sent(),n.label=3;case 3:return r?null===(o=document)||void 0===o||o.addEventListener("WV.Event.Preload.Attach",function(){var r,o;"true"===String(null===(o=window.adc)||void 0===o?void 0:null===(r=o.config)||void 0===r?void 0:r.enablePreRenderRefresh)?(console.log("[aec-tb-ability-data]: preload start to refresh data."),setTimeout(function(){window.dispatchEvent(new CustomEvent("pullrefresh"))},0)):(console.log("[aec-tb-ability-data]: preload start to request fellowScreenData."),N(e,a||{},t))}):N(e,a||{},t),[2]}})}),function(e,t){return s.apply(this,arguments)}),x=1,H=(l=u._async_to_generator(function(e){var t,a,r,o,n,i,s,l,d,_,v,f,p,g,h,E,y,m,R,w,T;return u.__generator(this,function(b){switch(b.label){case 0:if(u.initStore(this),null===(t=e)||void 0===t?void 0:t.disableService)return[3,4];if(R={url:null===(a=e)||void 0===a?void 0:a.url,device:null===(r=e)||void 0===r?void 0:r.device,api:null===(n=e)||void 0===n?void 0:null===(o=n.mtopConfig)||void 0===o?void 0:o.api,dataType:null===(s=e)||void 0===s?void 0:null===(i=s.mtopConfig)||void 0===i?void 0:i.dataType,type:null===(d=e)||void 0===d?void 0:null===(l=d.mtopConfig)||void 0===l?void 0:l.type,appId:null===(v=e)||void 0===v?void 0:null===(_=v.mtopConfig)||void 0===_?void 0:_.appId,extraParams:null===(p=e)||void 0===p?void 0:null===(f=p.mtopConfig)||void 0===f?void 0:f.extraParams,disablePrefetch:null===(g=e)||void 0===g?void 0:g.disablePrefetch,prefetchOptions:null===(h=e)||void 0===h?void 0:h.prefetchOptions,disableWebFetch:null===(E=e)||void 0===E?void 0:E.disableWebFetch,previewEnv:null===(y=e)||void 0===y?void 0:y.previewEnv,mockData:null===(m=e)||void 0===m?void 0:m.mockData,requestFlag:x},!S.judgeIsHitPreRender())return[3,1];return S.initPreRender(this),k(this,R),[3,3];case 1:return[4,k(this,R)];case 2:b.sent(),b.label=3;case 3:w=this,T=c.getPageType(),window.addEventListener("pullrefresh",u._async_to_generator(function(){var e,t,a,r,o,n;return u.__generator(this,function(i){switch(i.label){case 0:if(a=u.getMyStore(w,u.RESULT_VALUE_STORE),r=window._wv_preload&&"true"===String(null===(t=window.adc)||void 0===t?void 0:null===(e=t.config)||void 0===e?void 0:e.enablePreRenderRefresh),!(("embed"===T||r||u.IS_ADC_CDN_STRATEGY)&&a))return[3,2];return x++,u.setMyStore(w,u.REQUEST_FLAG,x),[4,k(w,u._object_spread_props(u._object_spread({},R),{requestFlag:x}))];case 1:return i.sent(),null===(o=window.pha)||void 0===o||o.pullRefresh.stop({}),[3,3];case 2:window.location.reload(),null===(n=window.pha)||void 0===n||n.pullRefresh.stop({}),i.label=3;case 3:return[2]}})})),b.label=4;case 4:return[2]}})}),function(e){return l.apply(this,arguments)});module.exports=H;
;        (function(e, k, f, g, d) {            if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {                if (k(e).length === 2 && e[g](f) === !0 || k(e).length === 1 && e[g](f) === !1) {                    module.exports = e[d];                    module.exports[d] = module.exports;                }            }        })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });

define("@ali/gcom-aec-spm/index", [], function(require, exports, module) {"use strict";var o=require("@ali/rax-pkg-universal-env/index");o.isNode&&(global.window={});var e=["0","0"];void 0===window.__UNIVERSAL_SPM__&&(window.__UNIVERSAL_SPM__={getPageSPM:function(){if(o.isWeb&&window.goldlog){var i=window.goldlog.spm_ab;e=i&&Array.isArray(i)&&"0.0"!==i.join(".")?i:e}return[e[0],e[1]]},getSPM:function(o,e){return[].concat(this.getPageSPM(),o||0,e||0)},getSPMQueryString:function(o,e){return"spm=".concat(this.getSPM(o,e).join("."))},setPageSPM:function(i,n){e[0]=i,e[1]=n,o.isWeb&&(window.goldlog&&window.goldlog.setPageSPM?window.goldlog.setPageSPM(i,n):(window.goldlog_queue||(window.goldlog_queue=[])).push({action:"goldlog.setPageSPM",arguments:[i,n]}))}});var i=window.__UNIVERSAL_SPM__;module.exports=i;
;        (function(e, k, f, g, d) {            if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {                if (k(e).length === 2 && e[g](f) === !0 || k(e).length === 1 && e[g](f) === !1) {                    module.exports = e[d];                    module.exports[d] = module.exports;                }            }        })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });

define("@ali/gcom-aec-tb-ability-spm/tube/index", [], function(require, exports, module) {"use strict";var e=require("@ali/gcom-aec-tb-ability-spm/vendor.cjs.es5.production"),t=require("@ali/gcom-aec-spm/index"),a=require("@ali/gcom-aec-env/index"),r=require("@ali/gcom-aec-tracker@1/index"),s=t&&"object"==typeof t&&"default"in t?t:{default:t};function o(){return(o=e._async_to_generator(function(t){var o,i,n,p,d,u,g,c,m,l,h,_,f,v,S;return e.__generator(this,function(w){return o=this.store.get("env.isPreRender"),a.isNode||o||(i=this.store.get("pageData.fri"),n=this.store.get("pageSpm.pvSent"),p=this.store.get("pageData.modules"),d=this.store.get("pageData.pageInfo"),!n&&(this.hook("pageSpm.beforeSend"),this.store.set("pageSpm.pvSent",!0),c=void 0!==(g=t.disableSendSpm)&&g,l=void 0===(m=t.sendSpmParams)?{}:m,h=d.spma,_=d.spmb,f=d.utPageName,s.default.setPageSPM(h,_),r.tracker.setConfig({pageName:f}),!c&&!(window._wv_preload&&!window._wv_attached)&&(v=e.getPageABTest(i),window._spm_pre_sent?a.isADC&&v&&window.pha.userTrack.updatePageUtparam({utabtest:v}):e.sendPageSpm("".concat(h,".").concat(_),e._object_spread_props(e._object_spread({},l),{abtest:v}))),this.hook("pageSpm.afterSend"),S=!1,null===(u=p)||void 0===u||u.forEach(function(t){var a=null==t?void 0:t.uuid;if(a){var r=e.getModuleABTest(i,d,a);r&&(t.abtest=r,S=!0)}}),S&&this.store.set("pageData.modules",p))),[2]})})).apply(this,arguments)}module.exports=function(e){return o.apply(this,arguments)};
;        (function(e, k, f, g, d) {            if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {                if (k(e).length === 2 && e[g](f) === !0 || k(e).length === 1 && e[g](f) === !1) {                    module.exports = e[d];                    module.exports[d] = module.exports;                }            }        })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });

define("@ali/gcom-aec-tb-ability-module-loader/tube/index", [], function(require, exports, module) {"use strict";var e,o,n,t,r,i,l=require("@ali/gcom-aec-env/index"),a=require("@ali/gcom-aec-scripts-loader/index"),u=require("@ali/gcom-aec-utils/index");function c(e,o,n,t,r,i,l){try{var a=e[i](l),u=a.value}catch(e){n(e);return}a.done?o(u):Promise.resolve(u).then(t,r)}function d(e){return function(){var o=this,n=arguments;return new Promise(function(t,r){var i=e.apply(o,n);function l(e){c(i,t,r,l,a,"next",e)}function a(e){c(i,t,r,l,a,"throw",e)}l(void 0)})}}function s(e,o){var n,t,r,i={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},l=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return l.next=a(0),l.throw=a(1),l.return=a(2),"function"==typeof Symbol&&(l[Symbol.iterator]=function(){return this}),l;function a(a){return function(u){return function(a){if(n)throw TypeError("Generator is already executing.");for(;l&&(l=0,a[0]&&(i=0)),i;)try{if(n=1,t&&(r=2&a[0]?t.return:a[0]?t.throw||((r=t.return)&&r.call(t),0):t.next)&&!(r=r.call(t,a[1])).done)return r;switch(t=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,t=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(r=(r=i.trys).length>0&&r[r.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){i.label=a[1];break}if(6===a[0]&&i.label<r[1]){i.label=r[1],r=a;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(a);break}r[2]&&i.ops.pop(),i.trys.pop();continue}a=o.call(e,i)}catch(e){a=[6,e],t=0}finally{n=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}function f(e,o,n){return o in e?Object.defineProperty(e,o,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[o]=n,e}function v(e){for(var o=1;o<arguments.length;o++){var n=null!=arguments[o]?arguments[o]:{},t=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.forEach(function(o){f(e,o,n[o])})}return e}function p(e,o){return o=null!=o?o:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):(function(e,o){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n.push.apply(n,t)}return n})(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))}),e}function m(e,o){(null==o||o>e.length)&&(o=e.length);for(var n=0,t=Array(o);n<o;n++)t[n]=e[n];return t}function h(e,o){if(e){if("string"==typeof e)return m(e,o);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(e,o)}}"function"==typeof SuppressedError&&SuppressedError;var w=function(e){var o,n=function(e){if(Array.isArray(e))return e}(o=e.split("??")||[])||function(e,o){var n,t,r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var i=[],l=!0,a=!1;try{for(r=r.call(e);!(l=(n=r.next()).done)&&(i.push(n.value),!o||i.length!==o);l=!0);}catch(e){a=!0,t=e}finally{try{l||null==r.return||r.return()}finally{if(a)throw t}}return i}}(o,2)||h(o,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),t=n[0],r=n[1],i=t.replace("http:","").replace("https:","").replace("//dev.g.alicdn.com/","").replace("//g.alicdn.com/","").replace("//assets.alicdn.com/g/","").replace("//assets.aliexpress-media.com/g/",""),l=(null==r?void 0:r.split(","))||[];return{host:t,uris:l=l.map(function(e){return i+e})}},b=function(e){var o=document.createElement("link");o.type="text/css",o.rel="stylesheet",o.href=e;var n=document.querySelector("head");n&&n.appendChild(o)},g=(null===(i=new u.Url().parse(location.href))||void 0===i?void 0:null===(r=i.params)||void 0===r?void 0:r.debug)==="true",y=function(){for(var e,o=arguments.length,n=Array(o),t=0;t<o;t++)n[t]=arguments[t];g&&(e=console).log.apply(e,function(e){if(Array.isArray(e))return m(e)}(n)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||h(n)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())},E=(e=d(function(){return s(this,function(e){return[2,new Promise(function(e){var o,n,t;(null===(t=window)||void 0===t?void 0:null===(n=t.adc)||void 0===n?void 0:null===(o=n.pageStatus)||void 0===o?void 0:o.isForegroundApp)?window.adc.pageStatus.isForegroundApp({},function(o){var n="true"===String(o.result)?"foreground":"background";console.log("[aec-tb-ability-module-loader]: getForegroundStatus success. foregroundStatus: ",n),e(n)},function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};console.log("[aec-tb-ability-module-loader]: getForegroundStatus fail: ",o),e("unknown")}):e("unknown")})]})}),function(){return e.apply(this,arguments)}),j={},S={},O=RegExp("^rax-pkg/(.*)/([0-9]+).[0-9]+.[0-9]+/index.js$"),_=RegExp("^code/npm/@ali/(.*)/([0-9]+).[0-9]+.[0-9]+/(.*).js$");window.feloader&&(window.feloader.undef=function(e){var o=window.feloader.Loader.Utils,n=(0,o.createModule)(e).getNormalizedModules();o.each(n,function(e){e.status=window.feloader.Loader.Status.UNLOADED,e.error=void 0,e.factory=void 0,e.exports=void 0})});var x=function(e,o){if(e&&o){var n=w(o).uris,t=void 0===n?[]:n;(null==t?void 0:t.length)&&t.forEach(function(o){e[o]=!0})}},q=!0;function k(e,o){var n="js"===o?j:S,t=e.filter(function(e){return(null==e?void 0:e.type)===o}),r=(null===(c=window)||void 0===c?void 0:null===(u=c.adc)||void 0===u?void 0:null===(a=u.config)||void 0===a?void 0:a.defineJsModules)||(null===(d=window)||void 0===d?void 0:d.page_cache_modules)||[],i=(null===(m=window)||void 0===m?void 0:null===(f=m.adc)||void 0===f?void 0:null===(s=f.config)||void 0===s?void 0:s.defineCssModules)||(null===(h=window)||void 0===h?void 0:h.css_cache_modules)||[],l=(null===(E=window)||void 0===E?void 0:null===(g=E.adc)||void 0===g?void 0:null===(b=g.config)||void 0===b?void 0:b.defineJsModulesMap)||{};if(q&&Object.keys(l).length>0){r=[];var a,u,c,d,s,f,m,h,b,g,E,x,k,D=(null===(k=window.feloader)||void 0===k?void 0:null===(x=k.Env)||void 0===x?void 0:x.mods)||[];Object.keys(D).forEach(function(e){var o;(null===(o=D[e])||void 0===o?void 0:o.factory)&&l[e]&&r.push(l[e])}),window.page_cache_modules&&(window.page_cache_modules=r),window.adc&&window.adc.config&&(window.adc.config.defineJsModules=r)}y("tubes_module-loader: defineJsModules: ",r),y("tubes_module-loader: defineCssModules: ",i);var M=t.map(function(e){var t=w(null==e?void 0:e.uri),l=t.host,a=t.uris,u=(void 0===a?[]:a).filter(function(e){if(n[e])return!1;if("css"===o&&i&&i.length>0){var t,l=i.includes(e);if(y("tubes_module-loader: ".concat(e," hit css upr cache: ").concat(l)),l)return!1;var a=e.replace(/\/\d+\.\d+\.\d+\//,"/"),u=null===(t=i.find)||void 0===t?void 0:t.call(i,function(e){return e.replace(/\/\d+\.\d+\.\d+\//,"/")===a}),c=u&&document.getElementById(u);c&&c.parentNode&&(y("tubes_module-loader: remove css upr define ".concat(u)),c.parentNode.removeChild(c))}if("js"===o&&r&&r.length>0){var d,s,f,v,p,m,h,w,b,g,E,j,S,x,q,k,D,M,P=r.includes(e);if(y("tubes_module-loader: ".concat(e," hit js upr cache: ").concat(P)),P)return!1;var A="0",C="",N="",T="",L="",I="",J="",U=O.exec(e);(null==U?void 0:U[1])&&(A=U[2],C="@ali/rax-pkg-".concat(U[1],"/index"),N="@ali/rax-pkg-".concat(U[1],"@").concat(A,"/index"),I="rax-pkg-".concat(U[1]));var F=_.exec(e),R="vendor.cjs.es5.production-v2";(null==F?void 0:F[1])&&(A=F[2],J=F[3],C="@ali/".concat(F[1],"/").concat(J),N="@ali/".concat(F[1],"@").concat(A,"/").concat(J),T="@ali/".concat(F[1],"/").concat(R),L="@ali/".concat(F[1],"@").concat(A,"/").concat(R),I="code/npm/@ali/".concat(F[1])),(null===(p=window)||void 0===p?void 0:null===(v=p.feloader)||void 0===v?void 0:null===(f=v.Env)||void 0===f?void 0:null===(s=f.mods)||void 0===s?void 0:null===(d=s[C])||void 0===d?void 0:d.factory)&&(y("tubes_module-loader: remove js upr define ".concat(C)),null===(j=window)||void 0===j||null===(E=j.feloader)||void 0===E||E.undef(C),T&&(null===(x=window)||void 0===x||null===(S=x.feloader)||void 0===S||S.undef(T))),(null===(g=window)||void 0===g?void 0:null===(b=g.feloader)||void 0===b?void 0:null===(w=b.Env)||void 0===w?void 0:null===(h=w.mods)||void 0===h?void 0:null===(m=h[N])||void 0===m?void 0:m.factory)&&(y("tubes_module-loader: remove js upr define ".concat(N)),null===(k=window)||void 0===k||null===(q=k.feloader)||void 0===q||q.undef(N),L&&(null===(M=window)||void 0===M||null===(D=M.feloader)||void 0===D||D.undef(L)),I="".concat(I,"/").concat(A));var $=r.filter(function(e){return e.startsWith(I)&&e.includes(J)}).sort()[0],z=r.findIndex(function(e){return e===$});z>-1&&r.splice(z,1)}return!0});return p(v({},e),{uri:(null==u?void 0:u.length)?"".concat(void 0===l?"":l,"??").concat(u.join(",")):""})}).filter(function(e){return!!(null==e?void 0:e.uri)});return q=!1,M}var D=function(e){k(e,"css").forEach(function(e){var o=null==e?void 0:e.uri;b(o),x(S,o)})},M=(o=d(function(e,o){var n;return s(this,function(t){switch(t.label){case 0:return[4,Promise.all((n=k(e,"js")).map(function(e){var n=e.uri.replace("//g.alicdn.com","//assets.aliexpress-media.com/g");return window.dispatchEvent(new CustomEvent("pushTubeLog",{detail:{code:"tubes_module-loader-ability_loadJsFromComboUri",message:"request resource: ".concat(n)}})),a.loadScript(n).catch(function(e){E().then(function(t){window.dispatchEvent(new CustomEvent("pushTubeError",{detail:{code:"tubes_module-loader-ability_loadJsFromComboUriError",message:"".concat(n," request failed! foregroundStatus: ").concat(t),data:e,level:1===o?"error":""}}))})})}))];case 1:return t.sent().filter(function(e){return void 0!==e}).forEach(function(e){x(j,null==e?void 0:e.src)}),[2,n]}})}),function(e,n){return o.apply(this,arguments)}),P=function(e,o,n){var t;return Array.isArray(null==o?void 0:null===(t=o.preload)||void 0===t?void 0:t.js)&&o.preload.js.forEach(function(e){x(j,e)}),D(n),M(n,e.store.get("pageData.sequence")).catch(function(){window.dispatchEvent(new CustomEvent("pushTubeError",{detail:{code:"tubes_module-loader-ability_loadJsFromComboUriError",message:"loadJsFromComboUri request failed!"}}))})},A=function(e,o){var n=e.store.get("pageData.modules")||[],t=e.store.get("pageData.resultValue")||{},r=(null==t?void 0:t.seedComboUris)||[];return(null==n?void 0:n.length)&&(null==r?void 0:r.length)?P(e,o,r):Promise.resolve(null)},C=function(e){var o,n=e.config,t=e.fullName,r=e.name,i="";return(null==n?void 0:n.device)==="pc"&&(i="-pc"),(null===(o=window)||void 0===o?void 0:o._supportsES6)&&(i+="-es6"),"".concat(t||"mui/".concat(r),"/index").concat(i)},N=(n=d(function(e,o){var n,t,r;return s(this,function(i){switch(i.label){case 0:if(!(null===(n=t=e.store.get("pageData.modules")||[])||void 0===n?void 0:n.length))return[2,{}];return[4,Promise.all(t.map(function(e){return C({config:o,fullName:null==e?void 0:e.fullName,name:null==e?void 0:e.name})}).map(function(e){return window.dispatchEvent(new CustomEvent("pushTubeLog",{detail:{code:"tubes_module-loader-ability_feRequire",message:"require resource: ".concat(e)}})),new Promise(function(o,n){try{(0,window.require)(e,o,n)}catch(e){n(e)}}).catch(function(){console.error("[aec-tb-ability-module-loader]: ".concat("".concat(e," require failed!"))),window.dispatchEvent(new CustomEvent("pushTubeError",{detail:{code:"tubes_module-loader-ability_feRequireError",message:"".concat(e," require failed!")}}))})}))];case 1:return r=i.sent(),[2,t.reduce(function(e,o,n){return p(v({},e),f({},null==o?void 0:o.fullName,r[n]))},{})]}})}),function(e,o){return n.apply(this,arguments)}),T=function(e,o){var n,t,r=e.store.get("pageData.modules")||[];if(null===(n=(t=window).slog)||void 0===n||n.call(t,"[aec-tb-ability-module-loader]: modules ".concat(JSON.stringify(r))),!(null==r?void 0:r.length))return{};var i=r.map(function(e){return C({config:o,fullName:null==e?void 0:e.fullName,name:null==e?void 0:e.name})});return r.reduce(function(e,o,n){var t,r,l,a,u,c=i[n];null===(t=(r=window).slog)||void 0===t||t.call(r,"[aec-tb-ability-module-loader]: require ".concat(c));try{l=nativeRequire(c)}catch(e){null===(a=(u=window).slog)||void 0===a||a.call(u,"[aec-tb-ability-module-loader]: ".concat(c," require failed! ").concat(e.toString()))}return p(v({},e),f({},null==o?void 0:o.fullName,l.default||l))},{})},L="afterModuleLoader",I=(t=d(function(e){var o,n,t,r,i,a;return s(this,function(u){switch(u.label){case 0:if(o=this.store.get("pageData.sequence"),this.hook("beforeModuleLoader",{sequence:o}),!l.isNode)return[3,2];return[4,T(this,e)];case 1:return n=u.sent(),this.store.set("moduleDefineMap",n),this.hook(L,{sequence:o}),[3,5];case 2:return(r=(null===(t=window.tubes_ability_report)||void 0===t?void 0:t.markADCPerformanceData)||function(){})("fsModuleLoadStart",new Date().getTime()),[4,A(this,e)];case 3:return i=u.sent(),r("fsModuleLoadEnd",new Date().getTime()),r("fsModuleLoadList",i),r("fsModuleRequireStart",new Date().getTime()),[4,N(this,e)];case 4:a=u.sent(),r("fsModuleRequireEnd",new Date().getTime()),this.store.set("moduleDefineMap",a),this.hook(L,{sequence:o,urls:i}),u.label=5;case 5:return[2]}})}),function(e){return t.apply(this,arguments)});module.exports=I;
;        (function(e, k, f, g, d) {            if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {                if (k(e).length === 2 && e[g](f) === !0 || k(e).length === 1 && e[g](f) === !1) {                    module.exports = e[d];                    module.exports[d] = module.exports;                }            }        })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });

define("@ali/gcom-aec-tb-ability-module-split/vendor.cjs.es5.production-v2", [], function(require, exports, module) {"use strict";function r(r,e,t,n,o,c,a){try{var i=r[c](a),u=i.value}catch(r){t(r);return}i.done?e(u):Promise.resolve(u).then(n,o)}function e(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function t(r,e){(null==e||e>r.length)&&(e=r.length);for(var t=0,n=Array(e);t<e;t++)n[t]=r[t];return n}"function"==typeof SuppressedError&&SuppressedError,exports.__generator=function(r,e){var t,n,o,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=i(0),a.throw=i(1),a.return=i(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function i(i){return function(u){return function(i){if(t)throw TypeError("Generator is already executing.");for(;a&&(a=0,i[0]&&(c=0)),c;)try{if(t=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return c.label++,{value:i[1],done:!1};case 5:c.label++,n=i[1],i=[0];continue;case 7:i=c.ops.pop(),c.trys.pop();continue;default:if(!(o=(o=c.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){c=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){c.label=i[1];break}if(6===i[0]&&c.label<o[1]){c.label=o[1],o=i;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(i);break}o[2]&&c.ops.pop(),c.trys.pop();continue}i=e.call(r,c)}catch(r){i=[6,r],n=0}finally{t=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}},exports._async_to_generator=function(e){return function(){var t=this,n=arguments;return new Promise(function(o,c){var a=e.apply(t,n);function i(e){r(a,o,c,i,u,"next",e)}function u(e){r(a,o,c,i,u,"throw",e)}i(void 0)})}},exports._define_property=e,exports._object_spread=function(r){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(t){e(r,t,n[t])})}return r},exports._object_spread_props=function(r,e){return e=null!=e?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(e)):(function(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);t.push.apply(t,n)}return t})(Object(e)).forEach(function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(e,t))}),r},exports._to_consumable_array=function(r){return function(r){if(Array.isArray(r))return t(r)}(r)||function(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)}(r)||function(r,e){if(r){if("string"==typeof r)return t(r,e);var n=Object.prototype.toString.call(r).slice(8,-1);if("Object"===n&&r.constructor&&(n=r.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return t(r,e)}}(r)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()};
;        (function(e, k, f, g, d) {            if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {                if (k(e).length === 2 && e[g](f) === !0 || k(e).length === 1 && e[g](f) === !1) {                    module.exports = e[d];                    module.exports[d] = module.exports;                }            }        })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });

define("@ali/gcom-aec-tb-ability-module-split/tube/index", [], function(require, exports, module) {"use strict";var e=require("@ali/gcom-aec-tb-ability-module-split/vendor.cjs.es5.production-v2"),t=require("@ali/gcom-aec-env/index"),o=function(e){return e.uuid||e.moduleId||e.rmcId},r=function(e){return"[object Array]"===toString.call(e)},n=function(e){return"[object Object]"===toString.call(e)};function i(e,t){if(void 0===t&&(t=!1),!r(e)&&!n(e))return e;if(n(e)){for(var o={},a=Object.keys(e),s=0,l=a.length;s<l;s++)o[a[s]]=t?i(e[a[s]],t):e[a[s]];return o}if(r(e)){for(var u=[],d=0,c=e.length;d<c;d++)u[d]=t?i(e[d],t):e[d];return u}return e}var a=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return e;var o={};return t?o=i(e,!0):Object.keys(e).forEach(function(t){o[t]=i(e[t])}),o},s="bodyModList",l="pendingBodyRows",u="emptyRowModIds",d="getModuleRows",c="tubes_module-split-ability_splitEmptyError",h=function(e,t){var o=e.fullName;return t&&t[o]||function(){}},p=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3?arguments[3]:void 0,i=o(e);return{rowId:"".concat(i,"-").concat(r),splitResult:t,rowIndex:r,moduleInfo:e,moduleClass:n}},m=function(e,t,o,r,n,i){var a,s=e.getModuleRowHeight;try{a=s&&"number"==typeof s?s:s&&s instanceof Function?s(o,r,n):e[d]?300:({})[t]||0}catch(e){console.error("[aec-tb-ability-module-split]: ".concat(e))}var l=Number(a);if(Number.isNaN(l)){var u="mod split row height is not a number: ".concat(t," ").concat(i," ").concat(a);return console.error("[aec-tb-ability-module-split]: ".concat(u)),window.dispatchEvent(new CustomEvent("pushTubeError",{detail:{code:"tubes_module-split-ability_splitHeightNaNError",message:u}})),0}return l},g=function(t,o,r,n,i,a){for(var s=t.data,l=[],u=0,d=0;d<s.length;d+=o){var h=s.slice(d,d+o),g=e._object_spread_props(e._object_spread({},t),{data:h}),f={rowData:g,layoutHeight:m(n,i,g,r,u,a)};l.push(p(r,f,u,n)),u++}return 0===l.length&&window.dispatchEvent(new CustomEvent("pushTubeError",{detail:{code:c,message:"split by gsize result empty",data:[a,i]}})),l},f=function(t,r,n,i){var a=t.fullName,s=o(t),l=h(t,n);if(!l)return console.error("[aec-tb-ability-module-split]: can't get module class define of ".concat(a)),window.dispatchEvent(new CustomEvent("pushTubeError",{detail:{code:"tubes_module-split-ability_noDefineError",message:"no define of ".concat(a),data:[s,a]}})),[];var u=l.gSize;if(u&&u>1&&r.data)return g(r,u,t,l,a,s);if(!(l[d]instanceof Function))return console.warn("module ".concat(s," ").concat(t.fullName," did not have ").concat(d," function")),[p(t,{rowData:r,layoutHeight:m(l,a,r,t,0,s)},0,l)];var f=l[d],v=[];try{var b=[r,r.$theme,r.$attr].concat(e._to_consumable_array(i),[t.dataConfig,s,t]);v=f.apply(void 0,e._to_consumable_array(b))||[],0===v.length?window.dispatchEvent(new CustomEvent("pushTubeError",{detail:{code:c,message:"split by ".concat(d," result empty"),data:[s,a]}})):v.length>1&&!v.reduce(function(e,t){var o,r;return(null==e?void 0:null===(o=e.data)||void 0===o?void 0:o.length)===(null==t?void 0:null===(r=t.data)||void 0===r?void 0:r.length)})&&window.dispatchEvent(new CustomEvent("pushTubeError",{detail:{code:"tubes_module-split-ability_emptyPitError",message:"split by ".concat(d," result empty pit"),data:[s,a]}}))}catch(e){v=[],console.error("[aec-tb-ability-module-split]: exec ".concat(d," function error:"),e),window.dispatchEvent(new CustomEvent("pushTubeError",{detail:{code:c,message:"split by ".concat(d," throws error, result empty, msg: ").concat(null==e?void 0:e.message),data:[s,a]}}))}return v.map(function(e,o){return e.$theme=r.$theme,e.$attr=r.$attr,e.locale=r.locale,p(t,{rowData:e,layoutHeight:m(l,a,e,t,o,s)},o,l)})},v=function(o){var r,n=(o||{}).detail,i=(null==n?void 0:n.contentOffset)||{};if((!t.isAndroid||0!==i.y)&&"true"!==String(this.store.get("pageData.hasMoreModules"))){var a=this.store.get("moduleRows");a&&a[l].length&&((r=a[s]).push.apply(r,e._to_consumable_array(a[l])),a[l]=[],this.store.set("moduleRows",a))}},b=function(e){window&&window.addEventListener("onListEndReached",v.bind(e))},y=!0,w=e._async_to_generator(function(){var r,n,i,d,c,h,p,m,g,v,w,_,E,C,S,R,I,N,D,H,j,L,M,x,F,T,$,q,O;return e.__generator(this,function(k){if(r={},e._define_property(r,s,[]),e._define_property(r,u,[]),e._define_property(r,l,[]),n=r,i=this.store.get("modSplit.init"),d=this.store.get("modSplit.processed")||[],i||(b(this),this.store.set("modSplit.init",!0)),c=this.store.get("pageData.data"),h=this.store.get("pageData.sysInfo"),p=this.store.get("pageData.pageInfo"),m=this.store.get("pageData.modules"),g=this.store.get("env.heightLimit"),v=this.store.get("moduleDefineMap"),w=(this.store.get("pageData.heightCalculateInfo")||{}).fsSplitRatio,_=this.store.get("moduleRows")||n,E=this.store.get("env.ignoreFirstScreenLimit")||!1,_[l].length&&((C=_[s]).push.apply(C,e._to_consumable_array(_[l])),_[l]=[]),m.forEach(function(t){var r,n=o(t);if(!(d.indexOf(n)>=0)){var i=f(t,a(c[n]||{}),v,[p,h]);i&&i[0]&&(i[0].isFirstCell=!0,i[i.length-1]&&(i[i.length-1].isLastCell=!0)),_[s]=_[s]||[],i.length>0?(t.cellLength=i.length,(r=_[s]).push.apply(r,e._to_consumable_array(i))):_[u].push(n),d.push(n)}}),y&&!E){for(S=0,R=0,I=g*(Number(w)||1.2),t.isMobile?(D=null===(N=document)||void 0===N?void 0:N.querySelector(".header-toolbar"))&&(S+=D.clientHeight*(750/window.innerWidth)):(j=null===(H=document)||void 0===H?void 0:H.querySelector(".header-container-item"))&&(S+=j.clientHeight);S<I&&R<_[s].length;)R+=1,$=(null===(M=T=_[s][R-1])||void 0===M?void 0:null===(L=M.splitResult)||void 0===L?void 0:L.layoutHeight)||0,q=null===(F=T)||void 0===F?void 0:null===(x=F.moduleInfo)||void 0===x?void 0:x.moduleRealtimeHeight,T.isFirstCell&&T.isLastCell?S+=Number(null!=q?q:$)||0:S+=$;R<_[s].length&&(O=_[s].splice(R),_[l]=O),this.store.set("modSplit.sumHeight",S)}return(!t.isNode&&y||1===window.streamingSSRChunkSequence)&&_[s].push({rowId:"first-screen-end-row",rowIndex:0,isFirstCell:!0,isLastCell:!0,moduleInfo:{uuid:"first-screen-end-row",name:"first-screen-end-row"},splitResult:{}}),y&&(y=!1),this.store.set("moduleRows",_),this.store.set("modSplit.processed",d),[2]})});module.exports=w;
;        (function(e, k, f, g, d) {            if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {                if (k(e).length === 2 && e[g](f) === !0 || k(e).length === 1 && e[g](f) === !1) {                    module.exports = e[d];                    module.exports[d] = module.exports;                }            }        })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });

define("@ali/gcom-aec-tb-ability-floor-title/vendor.cjs.es5.production-v2", [], function(require, exports, module) {"use strict";function e(e,r,t,n,o,a,c){try{var i=e[a](c),u=i.value}catch(e){t(e);return}i.done?r(u):Promise.resolve(u).then(n,o)}function r(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function t(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}"function"==typeof SuppressedError&&SuppressedError,exports.__generator=function(e,r){var t,n,o,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},c=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return c.next=i(0),c.throw=i(1),c.return=i(2),"function"==typeof Symbol&&(c[Symbol.iterator]=function(){return this}),c;function i(i){return function(u){return function(i){if(t)throw TypeError("Generator is already executing.");for(;c&&(c=0,i[0]&&(a=0)),a;)try{if(t=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=r.call(e,a)}catch(e){i=[6,e],n=0}finally{t=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}},exports._async_to_generator=function(r){return function(){var t=this,n=arguments;return new Promise(function(o,a){var c=r.apply(t,n);function i(r){e(c,o,a,i,u,"next",r)}function u(r){e(c,o,a,i,u,"throw",r)}i(void 0)})}},exports._class_call_check=function(e,r){if(!(e instanceof r))throw TypeError("Cannot call a class as a function")},exports._create_class=function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e},exports._define_property=r,exports._object_spread=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),o.forEach(function(t){r(e,t,n[t])})}return e},exports._object_spread_props=function(e,r){return r=null!=r?r:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):(function(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}),e},exports._to_consumable_array=function(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,r){if(e){if("string"==typeof e)return n(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return n(e,r)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()};
;        (function(e, k, f, g, d) {            if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {                if (k(e).length === 2 && e[g](f) === !0 || k(e).length === 1 && e[g](f) === !1) {                    module.exports = e[d];                    module.exports[d] = module.exports;                }            }        })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });

define("@ali/gcom-aec-tb-ability-floor-title/tube/index", [], function(require, exports, module) {"use strict";var e=require("@ali/gcom-aec-tb-ability-floor-title/vendor.cjs.es5.production-v2"),t=function(e){return e.uuid||e.moduleId},i=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e?"hidePCElevatorTitle":"hideMobileElevatorTitle"},l=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=e.locale,n=void 0===l?{}:l,o=e.theme,a=void 0===o?{}:o,d=(null==n?void 0:n.locale)||n;return(null==a?void 0:a[i(t)])!=="true"&&(null==d?void 0:d.mainTitle)&&d?{title:d.mainTitle,icon:null==a?void 0:a.mainTitleIcon}:null},n=function(){},o=new(function(){function t(){e._class_call_check(this,t),e._define_property(this,"allUI",void 0),e._define_property(this,"moduleList",void 0),e._define_property(this,"isInit",void 0),e._define_property(this,"changeCallBack",void 0),e._define_property(this,"hiddenModules",{}),this.allUI=[],this.isInit=!1,this.moduleList=[],this.hiddenModules={}}return e._create_class(t,[{key:"init",value:function(){this.isInit||(this.isInit=!0,this.bindEvent())}},{key:"bindEvent",value:function(){var e="object"==typeof window?window.addEventListener.bind(window):n;e("hideFloorTitle",this._hideHandler.bind(this)),e("customTitleCreated",this._customTitleCreateHandler.bind(this))}},{key:"setAllUI",value:function(e){var t=this;this.allUI=e.filter(function(e){return!t.hiddenModules[e.moduleId]}),this.changeCallBack(this.allUI)}},{key:"onAllUIChange",value:function(e){this.changeCallBack=e||n}},{key:"setModuleList",value:function(e){this.moduleList=e}},{key:"_hideHandler",value:function(e){if(e&&"hideFloorTitle"===e.type&&e.detail){var t=(e.detail||{}).moduleId,i=!1,l=this.allUI.filter(function(e){return e.moduleId!==t||(i=!0,!1)});i&&(this.hiddenModules[t]=!0,this.allUI=l,this.changeCallBack(this.allUI))}}},{key:"_customTitleCreateHandler",value:function(t){var i,l=this;if(t&&"customTitleCreated"===t.type&&t.detail){var n=t.detail||{},o=n.moduleId,a=n.titleData,d=void 0===a?{}:a;if(o&&d.title&&d.moduleId){var s=this.allUI.findIndex(function(e){return e.moduleId===o});if(-1!==s){this.allUI.splice(s,1,d),this.allUI=e._to_consumable_array(this.allUI),this.changeCallBack(this.allUI),this.hiddenModules[o]=!1;return}var r=this.moduleList.findIndex(function(e){return e===o});if(-1!==r){for(var u=r-1,h=0;u>=0&&"break"!==function(){var e=l.moduleList[u],t=l.allUI.findIndex(function(t){return t.moduleId===e});if(t>=0)return i=t,"break"}();u--);h=this.moduleList[u]?i+1:0,this.allUI.splice(h,0,d),this.allUI=e._to_consumable_array(this.allUI),this.hiddenModules[o]=!1,this.changeCallBack(this.allUI)}}}}}]),t}()),a=e._async_to_generator(function(){var i,n,a,d,s,r,u,h,c;return e.__generator(this,function(v){return i=this,a=this.store.get("pageData.modules")||[],d=[],s=999999,(null===(n=a)||void 0===n?void 0:n.length)>0&&a.forEach(function(e,t){var i;((null==e?void 0:e.fullName)==="@ali/gmod-aem-lift"||(null==e?void 0:null===(i=e.kangaroo)||void 0===i?void 0:i.type)==="lift")&&(s=t),t>s&&d.push(e)}),r=this.store.get("pageData.data")||[],u="pc"===this.store.get("env.device"),o.isInit||o.onAllUIChange(function(e){i.store.set("pageData.allUI",e),window.__lteElevatorAllUI=e,window.dispatchEvent(new CustomEvent("onFloorTitleUpdate",{detail:{allUI:e}}))}),o.init(),h=[],c=d.reduce(function(i,n){var o=t(n);if(h.includes(o))return i;h.push(o);var a=l(r[o]||{},u);return a&&a.title?i.concat([e._object_spread_props(e._object_spread({},a),{id:o,moduleId:o})]):i},[]),o.setModuleList(d.map(function(e){return t(e)})),o.setAllUI(c),[2]})});module.exports=a;
;        (function(e, k, f, g, d) {            if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {                if (k(e).length === 2 && e[g](f) === !0 || k(e).length === 1 && e[g](f) === !1) {                    module.exports = e[d];                    module.exports[d] = module.exports;                }            }        })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });

define("@ali/pnpm-intersection-observer/index", [], function(require, exports, module) {module.exports=function(t){var e={};function n(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(o,i,function(e){return t[e]}.bind(null,i));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=0)}([function(t,e,n){t.exports=n(1)},function(t,e,n){"use strict";t.exports=n(2)},function(t,e){!function(){"use strict";if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var t=function(t){for(var e=window.document,n=i(e);n;)n=i(e=n.ownerDocument);return e}(),e=[],n=null,o=null;s.prototype.THROTTLE_TIMEOUT=100,s.prototype.POLL_INTERVAL=null,s.prototype.USE_MUTATION_OBSERVER=!0,s._setupCrossOriginUpdater=function(){return n||(n=function(t,n){o=t&&n?l(t,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},e.forEach((function(t){t._checkForIntersections()}))}),n},s._resetCrossOriginUpdater=function(){n=null,o=null},s.prototype.observe=function(t){if(!this._observationTargets.some((function(e){return e.element==t}))){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(t.ownerDocument),this._checkForIntersections()}},s.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._unmonitorIntersections(t.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},s.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},s.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},s.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]}))},s.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}}));return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},s.prototype._monitorIntersections=function(e){var n=e.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(e)){var o=this._checkForIntersections,r=null,s=null;this.POLL_INTERVAL?r=n.setInterval(o,this.POLL_INTERVAL):(h(n,"resize",o,!0),h(e,"scroll",o,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(s=new n.MutationObserver(o)).observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(e),this._monitoringUnsubscribes.push((function(){var t=e.defaultView;t&&(r&&t.clearInterval(r),u(t,"resize",o,!0)),u(e,"scroll",o,!0),s&&s.disconnect()}));var c=this.root&&(this.root.ownerDocument||this.root)||t;if(e!=c){var a=i(e);a&&this._monitorIntersections(a.ownerDocument)}}},s.prototype._unmonitorIntersections=function(e){var n=this._monitoringDocuments.indexOf(e);if(-1!=n){var o=this.root&&(this.root.ownerDocument||this.root)||t,r=this._observationTargets.some((function(t){var n=t.element.ownerDocument;if(n==e)return!0;for(;n&&n!=o;){var r=i(n);if((n=r&&r.ownerDocument)==e)return!0}return!1}));if(!r){var s=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),s(),e!=o){var h=i(e);h&&this._unmonitorIntersections(h.ownerDocument)}}}},s.prototype._unmonitorAllIntersections=function(){var t=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var e=0;e<t.length;e++)t[e]()},s.prototype._checkForIntersections=function(){if(this.root||!n||o){var t=this._rootIsInDom(),e=t?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(o){var i=o.element,s=c(i),h=this._rootContainsTarget(i),u=o.entry,a=t&&h&&this._computeTargetAndRootIntersection(i,s,e),l=null;this._rootContainsTarget(i)?n&&!this.root||(l=e):l={top:0,bottom:0,left:0,right:0,width:0,height:0};var f=o.entry=new r({time:window.performance&&performance.now&&performance.now(),target:i,boundingClientRect:s,rootBounds:l,intersectionRect:a});u?t&&h?this._hasCrossedThreshold(u,f)&&this._queuedEntries.push(f):u&&u.isIntersecting&&this._queuedEntries.push(f):this._queuedEntries.push(f)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},s.prototype._computeTargetAndRootIntersection=function(e,i,r){if("none"!=window.getComputedStyle(e).display){for(var s,h,u,a,f,d,g,m,v=i,b=p(e),_=!1;!_&&b;){var w=null,y=1==b.nodeType?window.getComputedStyle(b):{};if("none"==y.display)return null;if(b==this.root||9==b.nodeType)if(_=!0,b==this.root||b==t)n&&!this.root?!o||0==o.width&&0==o.height?(b=null,w=null,v=null):w=o:w=r;else{var I=p(b),T=I&&c(I),E=I&&this._computeTargetAndRootIntersection(I,T,r);T&&E?(b=I,w=l(T,E)):(b=null,v=null)}else{var R=b.ownerDocument;b!=R.body&&b!=R.documentElement&&"visible"!=y.overflow&&(w=c(b))}if(w&&(s=w,h=v,u=void 0,a=void 0,f=void 0,d=void 0,g=void 0,m=void 0,u=Math.max(s.top,h.top),a=Math.min(s.bottom,h.bottom),f=Math.max(s.left,h.left),d=Math.min(s.right,h.right),m=a-u,v=(g=d-f)>=0&&m>=0&&{top:u,bottom:a,left:f,right:d,width:g,height:m}||null),!v)break;b=b&&p(b)}return v}},s.prototype._getRootRect=function(){var e;if(this.root&&!d(this.root))e=c(this.root);else{var n=d(this.root)?this.root:t,o=n.documentElement,i=n.body;e={top:0,left:0,right:o.clientWidth||i.clientWidth,width:o.clientWidth||i.clientWidth,bottom:o.clientHeight||i.clientHeight,height:o.clientHeight||i.clientHeight}}return this._expandRectByRootMargin(e)},s.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map((function(e,n){return"px"==e.unit?e.value:e.value*(n%2?t.width:t.height)/100})),n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},s.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,o=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==o)for(var i=0;i<this.thresholds.length;i++){var r=this.thresholds[i];if(r==n||r==o||r<n!=r<o)return!0}},s.prototype._rootIsInDom=function(){return!this.root||f(t,this.root)},s.prototype._rootContainsTarget=function(e){var n=this.root&&(this.root.ownerDocument||this.root)||t;return f(n,e)&&(!this.root||n==e.ownerDocument)},s.prototype._registerInstance=function(){e.indexOf(this)<0&&e.push(this)},s.prototype._unregisterInstance=function(){var t=e.indexOf(this);-1!=t&&e.splice(t,1)},window.IntersectionObserver=s,window.IntersectionObserverEntry=r}function i(t){try{return t.defaultView&&t.defaultView.frameElement||null}catch(t){return null}}function r(t){this.time=t.time,this.target=t.target,this.rootBounds=a(t.rootBounds),this.boundingClientRect=a(t.boundingClientRect),this.intersectionRect=a(t.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0}),this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,n=e.width*e.height,o=this.intersectionRect,i=o.width*o.height;this.intersectionRatio=n?Number((i/n).toFixed(4)):this.isIntersecting?1:0}function s(t,e){var n,o,i,r=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(r.root&&1!=r.root.nodeType&&9!=r.root.nodeType)throw new Error("root must be a Document or Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),o=this.THROTTLE_TIMEOUT,i=null,function(){i||(i=setTimeout((function(){n(),i=null}),o))}),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(r.rootMargin),this.thresholds=this._initThresholds(r.threshold),this.root=r.root||null,this.rootMargin=this._rootMarginValues.map((function(t){return t.value+t.unit})).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function h(t,e,n,o){"function"==typeof t.addEventListener?t.addEventListener(e,n,o||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,n)}function u(t,e,n,o){"function"==typeof t.removeEventListener?t.removeEventListener(e,n,o||!1):"function"==typeof t.detachEvent&&t.detachEvent("on"+e,n)}function c(t){var e;try{e=t.getBoundingClientRect()}catch(t){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function a(t){return!t||"x"in t?t:{top:t.top,y:t.top,bottom:t.bottom,left:t.left,x:t.left,right:t.right,width:t.width,height:t.height}}function l(t,e){var n=e.top-t.top,o=e.left-t.left;return{top:n,left:o,height:e.height,width:e.width,bottom:n+e.height,right:o+e.width}}function f(t,e){for(var n=e;n;){if(n==t)return!0;n=p(n)}return!1}function p(e){var n=e.parentNode;return 9==e.nodeType&&e!=t?i(e):(n&&n.assignedSlot&&(n=n.assignedSlot.parentNode),n&&11==n.nodeType&&n.host?n.host:n)}function d(t){return t&&9===t.nodeType}}()}]);;        (function (e, k, f, g, d) { if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {            if ((k(e).length === 2 && e[g](f) === !0) || (k(e).length === 1 && e[g](f) === !1)) {                module.exports = e[d];                module.exports[d] = module.exports;            }        } })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });
define("@ali/gcom-aec-tb-ability-app/tube/index", [], function(require, exports, module) {"use strict";var e=require("@ali/gcom-aec-tb-ability-app/vendor.cjs.es5.production"),t=require("@ali/pnpm-react-dom@18/client");require("@ali/pnpm-intersection-observer/index"),require("@ali/pnpm-react@18/index"),require("@ali/gcom-aec-env/index"),require("@ali/gcom-aec-view@1/index"),require("@ali/gcom-aec-image@1/index"),require("@ali/gcom-aec-utils/index"),require("@ali/pnpm-react@18/jsx-runtime"),require("@ali/gcom-aec-appear@1/index");var o=e.once(function(){var e=0,t=0;window.document.addEventListener("scroll",function(o){o.nativeEvent={get contentOffset(){return{x:window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0,y:window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0}},get contentSize(){return{width:document.documentElement.scrollWidth||document.body.scrollWidth||0,height:document.documentElement.scrollHeight||document.body.scrollHeight||0}}},window.dispatchEvent(new CustomEvent("onListScroll",{detail:o}));var r=document.body.scrollHeight,n=document.documentElement.clientHeight,i=document.body.scrollTop+document.documentElement.scrollTop,s=i>e,d=r!==t;r-n-i<100&&s&&d&&(window.dispatchEvent(new CustomEvent("onListEndReached",{detail:o})),t=r),e=i})}),r=window.didaSnapshot||{},n=r.canUseSnapshot,i=r.setCurPageSnapshot,s=r.getStorageEngine,d=r.removeAppliedSnapshot,a=!1,l=null,c=!1;function u(){if(!(null==n?void 0:n())||c)return a;window.__hasProcessSnapshot=!0,c=!0;var e=this.store.get("pageData.modules");return e&&(l=e.map(function(e){return"".concat(e.fullName,"@").concat(e.version)}).join(",")),1===window.__snapshotStatus&&(l===window.__appliedSnapshotDigest?a=!0:null==d||d()),a}var m=!1;function p(){return(null==n?void 0:n())&&!m?(m=!0,l&&(null==i||i(l,null==s?void 0:s())),a=!1):a}module.exports=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.hook("beforeModuleRender");var n=u.call(this),i=this.store.get("env.isSSR"),s=this.store.get("env.device"),d=this.store.get("env.isHydrate")||n,a=this.store.get("pageData.pageInfo"),l=this.store.get("env.renderTimes")||1,c=this.store.get("moduleRows.bodyModList")||[],m=this.store.get("pageData.renderExtends")||{},h=null!==(S=this.store.get("pageData.hasMoreModules"))&&void 0!==S&&S;o(),e.initThemePack(m);var g=e.genModuleSplits(c),v=g.backgroundModList,f=g.headerModList,w=g.bodyModList,b=g.footerModList,y=e.renderModuleGroup(this,f,"header"),M=e.renderModuleGroup(this,b,"footer"),L=e.renderModuleGroup(this,v,"background"),E=e.renderListItemGroup(this,w,"body");if(1===l){var S,T=e.jsx(e.Page,{ctx:this,device:s,pageInfo:a,renderTimes:l,disablePullRefresh:null==r?void 0:r.disablePullRefresh,backgroundModuleList:L,headerModuleList:y,bodyModuleList:E,footerModuleList:M,hasMoreModules:h});e.reportPerformanceData("fsRenderType",i?window.__ssrType:"csr"),e.reportPerformanceData("fsRenderStart",new Date().getTime()),e.reportPerformanceData("c5",i?window.__ssrType:"csr"),e.reportPerformanceData("fsp",new Date().getTime());var _=document.getElementById("root");d?t.hydrateRoot(_,T,{onRecoverableError:function(t,o){var r;window.dispatchEvent(new CustomEvent("pushTubeLog",{detail:e._object_spread({code:"tubes_app-ability_ssrHydrateErrorStack"},(null==o?void 0:o.componentStack)?{message:null===(r="lastest resource: ".concat(e.extractLatestResource(o.componentStack)))||void 0===r?void 0:r.slice(0,1e3)}:{},t?{data:(null==t?void 0:t.message)||String(t)}:{})})),console.error("[aec-tb-ability-app]: hydrate error:",t),console.error("[aec-tb-ability-app]: hydrate error stack:",o.componentStack),e.GLOBAL_VAR.hydrateError=!0}}):t.createRoot(_).render(T),this.hook("afterModuleRender"),p.call(this),this.store.set("env.renderTimes",l+1)}else this.hook("updatePageData",{renderTimes:l,hasMoreModules:h,backgroundModuleList:L,headerModuleList:y,bodyModuleList:E,footerModuleList:M})};
;        (function(e, k, f, g, d) {            if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {                if (k(e).length === 2 && e[g](f) === !0 || k(e).length === 1 && e[g](f) === !1) {                    module.exports = e[d];                    module.exports[d] = module.exports;                }            }        })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });

