;;var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},_classCallCheck=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},_createClass=function(){function e(e,t){for(var r=0;r1&&e[e.length-1]&&e.push(""),e}function i(t,e){var r,n,i=0;if(l(t))for(n=t.length;n>i&&e(t[i],i,t)!==!1;i++);else for(r=o(t),n=r.length;n>i&&e(t[r[i]],r[i],t)!==!1;i++);}function o(t){var e=[];for(var r in t)e.push(r);return e}function a(t,e){for(var r in e)t[r]=e[r];return t}function s(t){return"/"===t.charAt(0)&&(t=0===t.indexOf("//")?location.protocol+t:location.protocol+"//"+location.host+t),"/"===t.charAt(t.length-1)&&(t+="index"),p.endsWith(t,".js")&&(t=t.slice(0,-3)),t}var u=new RegExp("^([\\w\\d+.-]+:)?(?://(?:([^/?#@]*)@)?([\\w\\d\\-\\u0100-\\uffff.+%]*|\\[[^\\]]+\\])(?::([0-9]+))?)?([^?#]+)?(\\?[^#]*)?(#.*)?$"),c={protocol:1,auth:2,hostname:3,port:4,pathname:5,search:6,hash:7},l=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},f=/(http(s)?:)?\/\/([^\/]+)(?::(\d+))?/,d=Array.prototype.map,h=Array.prototype.filter,g=String.prototype.startsWith,p={noop:function(){},filter:h?function(t,e,r){return d.call(t,e,r||this)}:function(t,e,r){for(var n=t.length,i=new Array(n),o=0;n>o;o++){var a="string"==typeof t?t.charAt(o):t[o];(a||o in t)&&e.call(r||this,a,o,t)&&i.push(a)}return i},map:d?function(t,e,r){return d.call(t,e,r||this)}:function(t,e,r){for(var n=t.length,i=new Array(n),o=0;n>o;o++){var a="string"==typeof t?t.charAt(o):t[o];(a||o in t)&&(i[o]=e.call(r||this,a,o,t))}return i},startsWith:g?function(t,e){return g.call(t,e)}:function(t,e){return 0===t.lastIndexOf(e,0)},isEmptyObject:function(t){for(var e in t)if(void 0!==e)return!1;return!0},endsWith:function(t,e){var r=t.length-e.length;return r>=0&&t.indexOf(e,r)===r},now:Date.now||function(){return+new Date},each:i,keys:o,isArray:l,indexOf:function(t,e){for(var r=0,n=e.length;n>r;r++)if(e[r]===t)return r;return-1},normalizeSlash:function(t){return t.replace(/\\/g,"/")},normalizePath:function(t,r){var i=r.charAt(0);if("."!==i)return r;var o="";if(p.startsWithProtocol(t)){var a=e(t);o=a.protocol+"//"+a.host,t=a.pathname}var s=n(t),u=n(r);s.pop();for(var c=0,l=u.length;l>c;c++){var f=u[c];"."===f||(".."===f?s.pop():s.push(f))}return o+s.join("/").replace(/\/+/,"/")},startsWithProtocol:function(t){return p.startsWith(t,"http:")||p.startsWith(t,"https:")||p.startsWith(t,"file:")},isSameOriginAs:function(t,e){var r=t.match(f),n=e.match(f);return r[0]===n[0]},getHash:function(t){var e,r=5381;for(e=t.length;--e>-1;)r=(r<<5)+r+t.charCodeAt(e);return r+""},getSuffix:function(t){var e=t.match(/\.(\w+)$/);return e?e[1]:void 0}},m=function(){var t,e,n=this.Loader,i=this.Env,o=n.Status,u=i.mods,c=i.host,l=n.Utils={},f=c.document,d=(c.navigator||{}).userAgent||"";((t=d.match(/Web[Kk]it[\/]{0,1}([\d.]*)/))||(t=d.match(/Safari[\/]{0,1}([\d.]*)/)))&&t[1]&&(l.webkit=r(t[1])),(t=d.match(/Trident\/([\d.]*)/))&&(l.trident=r(t[1])),(t=d.match(/Gecko/))&&(l.gecko=.1,(t=d.match(/rv:([\d.]*)/))&&t[1]&&(l.gecko=r(t[1]))),(t=d.match(/MSIE ([^;]*)|Trident.*; rv(?:\s|:)?([0-9.]+)/))&&(e=t[1]||t[2])&&(l.ie=r(e),l.ieMode=f.documentMode||l.ie,l.trident=l.trident||1),a(l,p),a(l,{mix:a,docHead:function(){return f.getElementsByTagName("head")[0]||f.documentElement},collectErrors:function(t,e,r){var n,i,a,s;for(r=r||{},e=e||[],n=0;ne;e++)n&=t[e].initRecursive();return n},getModulesExports:function(t){for(var e=t.length,r=[],n=0;e>n;n++)r.push(t[n].getExports());return r},addModule:function(t,e,r){var n=u[t];return n&&void 0!==n.factory?(console.warn(t+" is defined more than once"),void 0):(l.createModule(t,a({id:t,status:o.LOADED,factory:e},r)),void 0)}})};t.prototype.initUtils=m}(feloader),function(t,e){function r(t,r){var n=this;n.name=e,n.base=e,n.main=e,n.filter=e,n.tag=e,n.charset=e,n.combine=e,n.group=e,n.modules={},n.ctx=r,n.ctx.Loader.Utils.mix(n,t)}function n(t,r){return t[r]!==e?t[r]:t.ctx.Config[r]}function i(t,e,r){for(var n=0;nn;n++)t[n]=e.resolve(t[n]).id;return t}function u(t){var e,r=t.id,n=t.alias;if("string"==typeof n&&(t.alias=n=[n]),n)return n;if(e=t.getPackage()){var i;e.name===r&&(i=e.main)?(r+="/","."!==i.charAt(0)&&(i="./"+i),n=[t.ctx.Loader.Utils.normalizePath(r,i)]):e.alias&&(n=e.alias(r))}return n=t.alias=n||[a(r,t)]}var c="ignorePackageNameInUri";r.prototype={constructor:r,reset:function(t){this.ctx.Loader.Utils.mix(this,t);for(var e in this.modules)this.modules[e].reset()},getFilter:function(){return n(this,"filter")},getTag:function(){return n(this,"tag")},getBase:function(){return this.base},getCharset:function(){return n(this,"charset")},isCombine:function(){return n(this,"combine")},isIgnorePackageNameInUri:function(){return n(this,c)},getGroup:function(){return n(this,"group")},addChildModule:function(t,e){this.modules[t]=e}},o.prototype={feloader:1,constructor:o,config:function(){return this.config},reset:function(t){var e=this,r=this.ctx.Loader.Utils.mix;r(e,t),t&&t.requires&&e.setRequiresModules(t.requires),delete e.packageInfo},require:function(t){return this.resolve(t).getExports()},resolve:function(t){var e=this.ctx.Loader.Utils;return e.createModule(e.normalizePath(this.id,t))},add:function(t){this.waits[t.id]=t},remove:function(t){delete this.waits[t.id]},contains:function(t){return this.waits[t.id]},flush:function(){this.ctx.Loader.Utils.each(this.waits,function(t){t.flush()}),this.waits={}},getType:function(){var t=this.ctx.Loader.Utils,e=this,r=e.type;if(!r){var n=e.id;r=t.endsWith(n,".css")?"css":"js",e.type=r}return r},getAlias:function(){var t=this,e=t.id,r=u(t),n=[];if(r[0]===e)n=r;else if(r.length>1)for(var i=0,o=r.length;o>i;i++){var a=r[i];if(a&&a!==e){var s=this.ctx.Loader.Utils.createModule(a),c=s.getAlias();c?n.push.apply(n,c):n.push(a)}}else n.push(r[0]);return t.normalizedAlias=n,n},getNormalizedModules:function(){var t=this,e=t.getAlias(),r=[],n=this.ctx.Loader.Utils;return n.each(e,function(t){t&&r.push(t)}),t.normalizedModules=n.map(r,function(e){return t.ctx.Loader.Utils.createModule(e)}),t.normalizedModules},fixTwoVersion:function(t){var e=/(\d+\.\d+\.\d+\/.*)\d+\.\d+\.\d+\//;return e.test(t)&&(t=t.replace(e,"$1")),t},getUri:function(){var t=this;return t.uri=this.ctx.Loader.Utils.normalizeSlash(this.ctx.Config.resolveModFn(t)),this.fixTwoVersion(t.uri)},getUrl:function(){return this.getUri()},getExports:function(){var t=this.getNormalizedModules();return t[0]&&t[0].exports},getPackage:function(){var t=this;if("undefined"!=typeof t.packageInfo)return t.packageInfo;var e=t.id,r=this.ctx.Config,n=this.ctx.Loader.Utils,i=n.startsWith,o=n.filter,a=r.packages,s=t.id+"/",u=o(s.split("/"),function(t){return t.length>0}).slice(0,2).join("/");if(a[u])return t.packageInfo=a[u],t.packageInfo;u="";var c;for(c in a){var l=c;n.endsWith(l,"/")||(l+="/"),i(s,l)&&c.length>u.length&&(u=c)}return a[u]?(t.packageInfo=a[u],t.packageInfo.addChildModule(u,t),t.packageInfo):i(e,"/")||i(e,"http://")||i(e,"https://")||i(e,"file://")?(t.packageInfo=null,t.packageInfo):(t.packageInfo=a.core,t.packageInfo)},getTag:function(){var t=this;return t.tag||t.getPackage()&&t.getPackage().getTag()},getCharset:function(){var t=this;return t.charset||t.getPackage()&&t.getPackage().getCharset()},setRequiresModules:function(t){var e=this,r=e.requiredModules=e.ctx.Loader.Utils.map(s(t,e),function(t){return e.ctx.Loader.Utils.createModule(t)}),n=[];this.ctx.Loader.Utils.each(r,function(t){n.push.apply(n,t.getNormalizedModules())}),e.normalizedRequiredModules=n},getNormalizedRequiredModules:function(){var t=this;return t.setRequiresModules(t.requires),t.normalizedRequiredModules},getRequiredModules:function(){var t=this;return t.requiredModules?t.requiredModules:(t.setRequiresModules(t.requires),t.requiredModules)},callFactory:function(){var t=this;return t.factory.apply(t,t.cjs?[t._require,t.exports,t]:t.ctx.Loader.Utils.map(t.getRequiredModules(),function(t){return t.getExports()}))},initSelf:function(){var t,r=this,n=r.factory,i=this.ctx.Config,o=this.ctx.Loader.Status,a=this.ctx.Loader.Utils;if("function"==typeof n){if(r.exports={},i.debug)t=r.callFactory();else{try{t=r.callFactory()}catch(s){if(r.status=o.ERROR,r.onError||i.onModuleError){var u={type:"init",exception:s,module:r};r.error=u,r.onError&&r.onError(u),i.onModuleError&&i.onModuleError(u)}else setTimeout(function(){throw s},0);return 0}var c=1;if(a.each(r.getNormalizedRequiredModules(),function(t){return t.status===o.ERROR?(c=0,!1):void 0}),!c)return 0}t!==e&&(r.exports=t)}else r.exports=n;return r.status=o.INITIALIZED,r.afterInit&&r.afterInit(r),i.afterModuleInit&&i.afterModuleInit(r),1},initRecursive:function(){var t=this,e=1,r=t.status,n=this.ctx.Loader.Status,i=this.ctx.Loader.Utils;return r===n.ERROR?0:r>=n.INITIALIZING?e:(t.status=n.INITIALIZING,t.cjs?e=t.initSelf():(i.each(t.getNormalizedRequiredModules(),function(t){e=e&&t.initRecursive()}),e&&t.initSelf()),e)},undef:function(){this.status=this.ctx.Loader.Status.UNLOADED,this.error=null,this.factory=null,this.exports=null}};var l=function(){var t=this,e=this.Loader;e.Package=function(e){return new r(e,t)},e.Module=function(e){return new o(e,t)}};t.prototype.initDataStructure=l}(feloader),function(t){var e=function(){function t(){o||r()}function e(t){var e=0;if(i.webkit)t.sheet&&(e=1);else if(t.sheet)try{var r=t.sheet.cssRules;r&&(e=1)}catch(n){var o=n.name;"NS_ERROR_DOM_SECURITY_ERR"===o&&(e=1)}return e}function r(){for(var t in a){var s=a[t],u=s.node;e(u)&&(s.callback&&s.callback.call(u),delete a[t])}o=i.isEmptyObject(a)?0:setTimeout(r,n)}var n=30,i=this.Loader.Utils,o=0,a={};i.pollCss=function(e,r){var n=e.href,i=a[n]={};i.node=e,i.callback=r,t()},i.isCssLoaded=e};t.prototype.initCssOnLoad=e}(feloader),function(t){var e=function(){var t,e=1e3,r=this.Env.host,n=r.document,i=this.Loader.Utils,o=this.Config,a={},s=i.webkit;this.getScript=function(r,u,c,l){function f(){var t=M.readyState;t&&"loaded"!==t&&"complete"!==t||(M.onreadystatechange=M.onload=null,E(0))}var d,h,g,p,m,v=u,y=o.crossorigin,x=i.endsWith(r,".css");if(l===!0?y=!0:l===!1&&(y=!1),"object"==typeof v&&(u=v.success,d=v.error,h=v.timeout,c=v.charset,g=v.attrs,v.crossorigin===!0?y=!0:v.crossorigin===!1&&(y=!1)),x&&i.ieMode<10&&n.getElementsByTagName("style").length+n.getElementsByTagName("link").length>=31)return setTimeout(function(){throw new Error("style and link's number is more than 31.ie < 10 can not insert link: "+r)},0),d&&d(),void 0;if(p=a[r]=a[r]||[],p.push([u,d]),p.length>1)return p.node;var M=n.createElement(x?"link":"script"),b=function(){m&&(clearTimeout(m),m=void 0)};g&&i.each(g,function(t,e){M.setAttribute(e,t)}),c&&(M.charset=c),x?(M.href=r,M.rel="stylesheet"):(M.src=r,M.async=!0,y&&M.setAttribute("crossorigin","anonymous")),p.node=M;var E=function(t){var e,n=t;b(),i.each(a[r],function(t){(e=t[n])&&e.call(M)}),delete a[r]},L="onload"in M,k=o.forceCssPoll||s&&536>s||!s&&!i.trident&&!i.gecko;return x&&k&&L&&(L=!1),L?(M.onload=f,M.onerror=function(){M.onerror=null,E(1)}):x?i.pollCss(M,function(){E(0)}):M.onreadystatechange=f,h&&(m=setTimeout(function(){E(1)},h*e)),t||(t=i.docHead()),x?t.appendChild(M):t.insertBefore(M,t.firstChild),M}};t.prototype.initGetScript=e}(feloader),function(t,e){function r(t,e){return function(r){var n={};for(var i in r)n[i]={},n[i][t]=r[i];e.config("modules",n)}}var n=function(){function t(t,e){if(t=s.normalizeSlash(t),e&&"/"!==t.charAt(t.length-1)&&(t+="/"),l){if(s.startsWith(t,"http:")||s.startsWith(t,"//")||s.startsWith(t,"https:")||s.startsWith(t,"file:"))return t;t=l.protocol+"//"+l.host+s.normalizePath(l.pathname,t)}return t}function n(t,e,r){var n=e.getTag()||c.tag||"";return n&&(r&&(n+=r),t+="?t="+n),t}var i=this,o=this.Loader,a=o.Package,s=o.Utils,u=this.Env.host,c=this.Config,l=u.location,f=c.fns;c.loadModsFn=function(t,e){i.getScript(t.uri,e)},c.resolveModFn=function(t){var e,r,i,o,a=t.id,u=t.path,c=t.getPackage();if(!c){var l=s.endsWith(a,".css"),f=s.endsWith(a,".js");return o=l?"css":"js",i="."+o,l||f||(a+=".js"),n(a,t,i)}var d=c.getBase(),h=c.name;return o=t.getType(),i="."+o,u||(s.endsWith(a,i)&&(a=a.slice(0,-i.length)),e=c.getFilter()||"","function"==typeof e?u=e(a,o):"string"==typeof e&&(e&&(e="-"+e),u=a+e+i)),"core"===h?r=d+u:a===h?r=d.substring(0,d.length-1)+e+i:(c.isIgnorePackageNameInUri()&&(u=u.substring(h.length+1)),r=d+u),n(r,t,i)},f.requires=r("requires",i),f.alias=r("alias",i),f.packages=function(r){var n=c.packages;return r===e?n:r?(s.each(r,function(e,r){var i=e.name||r;s.startsWith(i,"/")?i=l.protocol+"//"+l.host+i:(s.startsWith(i,"./")||s.startsWith(i,"../"))&&(i=s.normalizePath(l.href,i)),s.endsWith(i,"/")&&(i=i.slice(0,-1)),e.name=i;var o=e.base||e.path;o&&(e.base=t(o,!0)),n[i]?n[i].reset(e):n[i]=new a(e)}),e):(c.packages={core:n.core},e)},f.modules=function(e){e&&s.each(e,function(e,r){var n=e.uri;n&&(e.uri=t(n)),s.createModule(r,e)})},f.base=function(t){var r=this,n=c.packages.core;return t?(r.config("packages",{core:{base:t}}),e):n&&n.getBase()}};t.prototype.initConfig=n}(feloader),function(t,e){function r(t,e){if(t||"function"!=typeof e)t&&t.requires&&!t.cjs&&(t.cjs=0);else{var r=[];r.length&&(t=t||{},t.requires=r)}return t}function n(t){var e,r,n,i=[];for(e=0,n=t.length;n>e;e++)r=t[e],"exports"===r||"module"===r||"require"===r||i.push(r);return i}function i(t,e){var r=t.indexOf("//"),n="";-1!==r&&(n=t.substring(0,t.indexOf("//")+2)),t=t.substring(n.length).split(/\//),e=e.substring(n.length).split(/\//);for(var i=Math.min(t.length,e.length),o=0;i>o&&t[o]===e[o];o++);var a=n+t.slice(0,o).join("/")+"/";return a=a.replace(/\/\/$/,"/")}function o(t,e,r,n,i,o){if(t&&e.length>1){for(var a=t.length,s=[],u=0;u=0;e--)if(n=i[e],"interactive"===n.readyState){t=n;break}return r=t?t.getAttribute("data-mod-id"):c}var u,c,l,f=this.Loader,d=this.Config,h=f.Status,g=f.Utils,p=g.addModule,m=g.each,v=g.getHash,y=h.LOADING,x=h.LOADED,M=h.ERROR,b=g.ieMode&&g.ieMode<10,E=0;a.add=function(t,i,o,a){if("string"==typeof t)if(3===a&&g.isArray(i)){var f=i;i=o,o={requires:n(f),cjs:1}}else 2===a&&i.call&&(o={cjs:1});if(g.isArray(t)&&2===a){var f=t;t=i,i={requires:n(f),cjs:1}}"function"==typeof t||1===a?(o=i,i=t,o=r(o,i),b?(t=s(),t&&p(t,i,o),c=null,l=0):u={factory:i,config:o}):(b?(c=null,l=0):u=e,o=r(o,i),p(t,i,o))};var L;L=function(t){m(t,function(t){var e=[];m(t.mods,function(t){t.status===x&&e.push(t.id)})})},g.mix(a.prototype,{use:function(e){for(var r,n=this,i=d.timeout,o=[],a=0;ax)n[a]=1;else if(u===x||s.contains(l)||(u!==y&&(s.status=y,i.push(s)),s.add(l),l.wait(s)),r[a])console.warn("find cyclic dependency between mods: "+r),n[a]=1;else{r[a]=1,r.push(a),d.requireModsPre||l.calculate(s.getNormalizedRequiredModules(),e,r,n,i),n[a]=1;for(var f=c;fe;++e)if(n=t[e],a=n.getType(),d=n.getUri(),o=n.getPackage(),o?(c=o.getBase(),l=o.name,u=o.getCharset(),s=o.getTag(),f=o.getGroup()):c=n.id,o&&o.isCombine()&&f){var y=p[a]||(p[a]={});f=f+"-"+u;var x=y[f]||(y[f]={}),M=0;g.each(x,function(t,e){if(g.isSameOriginAs(e,c)){var r=i(e,c);t.push(n),s&&s!==t.tag&&(t.tag=v(t.tag+s)),delete x[e],x[r]=t,M=1}}),M||(r=x[c]=[n],r.charset=u,r.tag=s||"")}else{var b=m[a]||(m[a]={});(r=b[c])?s&&s!==r.tag&&(r.tag=v(r.tag+s)):(r=b[c]=[],r.charset=u,r.tag=s||""),r.push(n)}return{groups:p,normals:m}},getComboUris:function(t){function r(t,r,n){function a(t){if(r){if(d.useDailyAssets)return t.replace(d.assetsHost,d.dailyAssetsHost);if(d.forceAssetsHost)return t.replace(d.assetsHost,d.forceAssetsHost)}return t}function s(t){L.push({combine:1,uri:a(t),charset:M,mods:y})}function p(){return o(m,v,r,u,c,b)}for(var m,v=[],y=[],x=n.tag,M=n.charset,b=x?"?t="+encodeURIComponent(x)+"."+t:"",E=r.length,L=[],k=0;kf||p().length>h)&&(v.pop(),y.pop(),s(p()),v=[],y=[],m=e,k--)}else L.push({combine:0,uri:a(q),charset:M,mods:[w]})}v.length&&s(p()),l[t].push.apply(l[t],L)}var n,a,s,u=d.comboPrefix,c=d.comboSep,l={},f=d.comboMaxFileNum,h=d.comboMaxUriLength,p=this.getComboMods(t),m=p.normals,v=p.groups;for(n in m){l[n]=l[n]||[];for(a in m[n])r(n,a,m[n][a])}for(n in v){l[n]=l[n]||[];for(s in v[n])for(a in v[n][s])r(n,a,v[n][s][a])}return l},flush:function(){var t=this;if(t.callback){for(var e=t.head,r=t.callback;e;){var n=e.node,i=n.status;if(!(i>=x||i===M))return;n.remove(t),e=t.head=e.next}t.callback=null,r()}},isCompleteLoading:function(){return!this.head},wait:function(t){var e=this;if(e.head){var r={node:t};e.tail.next=r,e.tail=r}else e.tail=e.head={node:t}}}),f.ComboLoader=a};t.prototype.initComboLoader=a}(feloader),function(t){var e=function(){var e=this.Loader,r=e.Utils,n=r.createModule,i=e.ComboLoader;r.mix(this,{getModule:function(t){return n(t)},getPackage:function(t){return this.Config.packages[t]},add:function(t,e,r){i.add(t,e,r,arguments.length)},use:function(e,n,o){function a(e,n){console.error("feloader: "+n+" the following modules error"),console.error(r.map(e,function(t){return t.id})),o&&(o.apply(t,e),o=null)}function s(){++c;var e=[],i=u.calculate(h,e);if(e.length)a(e,"load");else if(u.isCompleteLoading()){var o=r.initModules(h);o?n&&(n.apply(t,r.getModulesExports(d)),n=null):a(r.collectErrors(h),"init")}else u.callback=s,i.length&&u.use(i)}var u,c=0;if("string"==typeof e&&(e=e.split(/\s*,\s*/)),!e||e&&!e.length)return t;"object"==typeof n&&(o=n.error,n=n.success);for(var l=0;ld;d++){var g=s[d];if(g.match(n)){u+=g.replace(r,"$1");break}}}return a.base=a.base||u,a},s=function(t){var e,n,i=r.getElementsByTagName("script");for(e=i.length-1;e>=0;e--)if(n=a(i[e],t))return n;return null};t.init=function(e){var r=e.name;t.config(s(r))},r&&r.getElementsByTagName&&(t.config(i.mix({comboMaxUriLength:2e3,comboMaxFileNum:40},s("feloader"))),t.config("combine",!0)),function(){function e(t){var e;for(e=0;e=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),f=n.call(a,"finallyLoc");if(u&&f){if(this.prev=0;--e){var o=this.tryEntries[e];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),j(e),y}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;j(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:S(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),y}},t}(t.exports);try{regeneratorRuntime=n}catch(o){Function("r","regeneratorRuntime = r")(n)}}])})); define("@ali/mui-mtb-windvane/index",function(e,t,i){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};"undefined"==typeof window&&(window={"ctrl":{},"lib":{}}),!window.ctrl&&(window.ctrl={}),!window.lib&&(window.lib={}),function(e,t){function i(e,t){e=e.toString().split("."),t=t.toString().split(".");for(var i=0;in)return-1;if(n>r)return 1}return 0}var r=e.Promise,a=e.document,o=e.navigator.userAgent,l=/Windows\sPhone\s(?:OS\s)?[\d\.]+/i.test(o)||/Windows\sNT\s[\d\.]+/i.test(o),s=l&&e.WindVane_Win_Private&&e.WindVane_Win_Private.call,u=/iPhone|iPad|iPod/i.test(o),c=/Android/i.test(o),d=o.match(/WindVane[\/\s](\d+[._]\d+[._]\d+)/),f=o.match(/UWS[\/\s](\d+[._]\d+[._]\d+[._]\d+)/),_=Object.prototype.hasOwnProperty,m=t.windvane=e.WindVane||(e.WindVane={"version":"3.0.6"}),v=Math.floor(65536*Math.random()),p=1,w=[],h=3,b="hybrid",g="wv_hybrid",y="iframe_",S="param_",C=6e5,N=6e4;d=d?(d[1]||"0.0.0").replace(/\_/g,"."):"0.0.0",f=f?(f[1]||"0.0.0.0").replace(/\_/g,"."):"0.0.0.0";var P={"isAvailable":1===i(d,"0"),"isNewBridgeAvailable":1===i(d,c?"8.5.0":"8.2.0"),"isConsoleBridgeAvailable":c&&i(f,"3.16.1.22")>=0&&!0===window.__useConsoleBridge,"call2":function(e,t,i,n,r){var a=e.indexOf(".");return P.call(e.substr(0,a),e.substr(a+1),t,i,n,r)},"call":function(t,i,n,a,o,l){var s,u;if("number"==typeof arguments[arguments.length-1]&&(l=arguments[arguments.length-1]),"function"!=typeof a&&(a=null),"function"!=typeof o&&(o=null),!r||a||o||(u=new r(function(e,t){a=e,o=t})),P.isNewBridgeAvailable&&e.__windvane__&&e.__windvane__.call&&!P.isConsoleBridgeAvailable)return e.__windvane__.call(t+"."+i,n,a,o,l),u;s=A.getSid();var c={"success":a,"failure":o};return l>0&&(c.timeout=setTimeout(function(){P.onFailure(s,{"ret":"HY_TIMEOUT"})},l)),A.registerCall(s,c),A.registerGC(s,l),P.isAvailable?A.callMethod(t,i,n,s):P.onFailure(s,{"ret":"HY_NOT_IN_WINDVANE"}),u},"fireEvent":function(e,t,i){var n=a.createEvent("HTMLEvents");n.initEvent(e,!1,!0),n.param=A.parseData(t),a.dispatchEvent(n)},"getParam":function(e){return A.getParam(e)},"setData":function(e,t){},"find":function(e,t){t||A.unregisterCall(e,!1)},"onSuccess":function(e,t,i){A.onComplete(e,t,"success",i)},"onFailure":function(e,t){A.onComplete(e,t,"failure")}};P.isNewBridgeAvailable&&e.__windvane__&&e.__windvane__.callSync&&(P.callSync=function(t,i){if(u)return e.__windvane__.callSync(t,i);if(c){var n={"name":t};i&&(n.params=JSON.stringify(i));var r=e.__windvane__.callSync(n);if(r)try{return JSON.parse(r)}catch(o){}}});var A={"params":{},"calls":{},"getSid":function(){return(v+p++)%65536+""},"buildParam":function(e){return e&&"object"==(void 0===e?"undefined":n(e))?JSON.stringify(e):e||""},"getParam":function(e){return this.params[S+e]||""},"setParam":function(e,t){this.params[S+e]=t},"parseData":function(e){var t;if(e&&"string"==typeof e)try{t=JSON.parse(e)}catch(i){t={"ret":"HY_RESULT_PARSE_ERROR","originValue":e}}else t=e||{};return t},"registerCall":function(e,t){this.calls[e]=t},"unregisterCall":function(e,t){var i=this.calls[e]||{},n=i.timeout;return n&&clearTimeout(n),t||delete this.calls[e],i},"useIframe":function(e,t){var i=y+e,n=w.pop();n||(n=a.createElement("iframe"),n.setAttribute("frameborder","0"),n.style.cssText="width:0;height:0;border:0;display:none;"),n.setAttribute("id",i),n.setAttribute("src",t),n.parentNode||setTimeout(function(){a.body.appendChild(n)},5)},"retrieveIframe":function(e){var t=y+e,i=a.querySelector("#"+t);if(i)if(w.length>=h)try{a.body.removeChild(i)}catch(r){}else w.indexOf(i)<0&&w.push(i)},"callMethod":function(t,i,n,r){var a=A.buildParam(n);if(l)s?e.WindVane_Win_Private.call(t,i,r,a):this.onComplete(r,{"ret":"HY_NO_HANDLER_ON_WP"},"failure");else if(u){this.setParam(r,a);var o=b+"://"+t+":"+r+"/"+i+"?"+encodeURIComponent(a);this.useIframe(r,o)}else if(c){this.setParam(r,n);var o=b+"://"+t+":"+r+"/"+i+"?"+a,d=g+":";P.isConsoleBridgeAvailable?window.console.log(o):window.prompt(o,d)}else this.onComplete(r,{"ret":"HY_NOT_SUPPORT_DEVICE"},"failure")},"registerGC":function(e,t){var i=this,n=Math.max(t||0,C),r=Math.max(t||0,N);setTimeout(function(){i.unregisterCall(e)},n),u&&setTimeout(function(){i.params[S+e]&&delete i.params[S+e]},r)},"onComplete":function(e,t,i,n){var r=this.unregisterCall(e,n),a=r.success,o=r.failure;t=this.parseData(t);var l=t.ret;"string"==typeof l&&(t=t.value||t,t.ret||(t.ret=[l])),"success"===i?a&&a(t):"failure"===i&&o&&o(t),u&&(this.retrieveIframe(e),this.params[S+e]&&delete this.params[S+e])}};for(var O in P)_.call(m,O)||(m[O]=P[O])}(window,window.lib||(window.lib={})),i.exports=window.lib.windvane}); define("@ali/gcom-aec-core-render-adc/index", [], function(require, exports, module) {module.exports=function(e){var n={};function i(t){if(n[t])return n[t].exports;var o=n[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,i),o.l=!0,o.exports}return i.m=e,i.c=n,i.d=function(e,n,t){i.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,n){if(1&n&&(e=i(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)i.d(t,o,function(n){return e[n]}.bind(null,o));return t},i.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(n,"a",n),n},i.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},i.p="/",i(i.s=17)}([function(e,n){e.exports=require("@ali/gcom-aec-env/index")},function(e,n){e.exports=require("@ali/gcom-aec-tb-ability-data@0/index")},function(e,n){e.exports=require("@ali/gcom-aec-tb-ability-spm@0/index")},function(e,n){e.exports=require("@ali/gcom-aec-tb-ability-app@0/index")},function(e,n){e.exports=require("@ali/gcom-aec-utils/index")},function(e,n){e.exports=require("@ali/gcom-aec-ae-helper/index")},function(e,n){e.exports=require("@ali/gcom-aec-core-engine@0/index")},function(e,n){e.exports=require("@ali/gcom-aec-tb-ability-responsive@0/index")},function(e,n){e.exports=require("@ali/gcom-aec-tb-ability-skeleton@0/index")},function(e,n){e.exports=require("@ali/gcom-aec-tb-ability-error@0/index")},function(e,n){e.exports=require("@ali/gcom-aec-tb-ability-ssr/index")},function(e,n){e.exports=require("@ali/gcom-aec-tb-ability-offline@0/index")},function(e,n){e.exports=require("@ali/gcom-aec-tb-ability-script@0/index")},function(e,n){e.exports=require("@ali/gcom-aec-tb-ability-report@0/index")},function(e,n){e.exports=require("@ali/gcom-aec-tb-ability-module-loader@0/index")},function(e,n){e.exports=require("@ali/gcom-aec-tb-ability-module-split@0/index")},function(e,n){e.exports=require("@ali/gcom-aec-tb-ability-floor-title@0/index")},function(e,n,i){e.exports=i(18)},function(e,n,i){"use strict";i.r(n);var t=i(4),o=i(0),r=i(5),a=i(6),l=i.n(a),u=i(7),d=i(8),c=i(9),p=i(10),s=i(1),f=i(11),m=i(12),b=i(2),g=i(13),v=i(14),w=i(15),x=i(16),h=i(3),y=function(){function e(){}return e.prototype.start=function(e){var n=t.qs.parse(window.location.href),a=new l.a({plugins:[{name:"env",handler:function(){i(19)}},{name:"ssr",handler:p.plugin},{name:"responsive",handler:u.plugin},{name:"report",handler:g.plugin},{name:"skeleton",handler:d.plugin},{name:"data",handler:s.plugin,config:{mtopConfig:{appId:"21892"}}},{name:"offline",handler:f.plugin},{name:"spm",handler:b.plugin},{name:"script",handler:m.plugin,config:{loaderConfig:{header:!0,footer:!1,aplus:!1}}},{name:"app",handler:h.plugin},{name:"refresh",handler:function(){window.addEventListener("pullrefresh",(function(){window.location.reload(),null===window||void 0===window||window.pha.pullRefresh.stop({})}))}}],tubes:[{name:"env",handler:function(e){var n,i=this.store.get("ssr.isDocSsr");this.store.set("env.isHydrate",i),this.store.set("env.device",e.device),this.store.set("env.ignoreFirstScreenLimit",i);var t=i?0:Object(r.getScreenHeight)();this.store.set("env.heightLimit",t),window._page_config_=(null===window||void 0===window?void 0:window._page_config_)||{},window._page_config_.loader=Object.assign(Object.assign({},null===(n=null===window||void 0===window?void 0:window._page_config_)||void 0===n?void 0:n.loader),{gdpr:!o.isAEApp,"smart-banner":!o.isAEApp||{enable:!1}})}},{name:"error",handler:c.tube},{name:"data",handler:s.tube,config:{mtopConfig:{appId:"21892",extraParams:{moduleAmountLimit:(null==n?void 0:n.moduleAmountLimit)||0}},disableWebFetch:/disableWebFetch=true/.test(window.location.href)}},{name:"spm",handler:b.tube},{name:"moduleLoader",handler:v.tube,config:{asyncRender:!0,preload:e.preload}},{name:"moduleSplit",handler:w.tube},{name:"floorTitle",handler:x.tube},{name:"app",handler:h.tube}],config:{device:o.isAEApp&&"adc"===n.wh_ttid?"native":(null==e?void 0:e.platform)||"phone",platform:"ae-campaign",previewEnv:null==e?void 0:e.previewEnv,url:(null==n?void 0:n.debugUrl)||(null==e?void 0:e.url)||window.location.href,development:!!(null==n?void 0:n.debug)}});window.__tube=a,a.run()},e}();n.default=new y},function(e,n,i){"use strict";!function(){function e(e,n){n=n||{bubbles:!1,cancelable:!1,detail:void 0};var i=document.createEvent("CustomEvent");return i.initCustomEvent(e,n.bubbles,n.cancelable,n.detail),i}"function"!=typeof window.CustomEvent&&window.Event&&(e.prototype=window.Event.prototype,window.CustomEvent=e)}()}]);; (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-utils/index", [], function(require, exports, module) {module.exports=function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="/",t(t.s=2)}([function(e,n){e.exports=require("@ali/gcom-aec-env/index")},function(e,n){e.exports=require("@ali/gcom-adc-api@1/index")},function(e,n,t){e.exports=t(3)},function(e,n,t){"use strict";t.r(n),t.d(n,"getAECommonEnv",(function(){return v})),t.d(n,"getAEEnv",(function(){return y})),t.d(n,"getAEEnvIncludeHawe",(function(){return _})),t.d(n,"getAEInfo",(function(){return b})),t.d(n,"getAEInfoIncludeHawe",(function(){return R})),t.d(n,"getAEInfoByHawe",(function(){return L})),t.d(n,"queryCookie",(function(){return a})),t.d(n,"getCookie",(function(){return c})),t.d(n,"isLogin",(function(){return f})),t.d(n,"login",(function(){return l})),t.d(n,"qs",(function(){return C})),t.d(n,"Url",(function(){return x})),t.d(n,"getPageType",(function(){return E})),t.d(n,"pageInfo",(function(){return P}));var r,o=t(0);if(o.isAEApp&&o.isAndroid){r=document.cookie,window.__AndroidCookieTimer&&clearInterval(window.__AndroidCookieTimer),window.__AndroidCookieTimer=setInterval((function(){r=document.cookie}),12e3)}function i(e){var n=r||document.cookie;if(n.length>0){var t=n.indexOf(e+"=");if(-1!==t){t=t+e.length+1;var o=n.indexOf(";",t);-1===o&&(o=n.length);var i="",a=n.substring(t,o);try{i=decodeURIComponent(a)}catch(e){}return i}}return""}function a(e,n){var t=new RegExp("(.*&?"+n+"=)(.*?)(&.*|$)"),r=e.match(t);return r?r[2]:""}function c(e,n){var t;t=i(e);return n?a(t,n):t}var u=function(e){return void 0===e&&(e=window.Hawe),function(e){if(!e)throw Error("\u9700\u8981\u5728\u9875\u9762\u4e2d\u5f15\u5165 Hawe")}(e),new Promise((function(n,t){try{e&&e.appinfo((function(e){var t=e.lang,r=void 0===t?"":t,o=e.currency,i=void 0===o?"":o,a=r.split("_");n({aeLocale:r,aeRegion:a.length>1?a[1]:"",aeCurrency:i})}))}catch(e){t(e)}}))},s=t(1);function f(){return o.isADC&&window.WindVane?new Promise((function(e){Object(s.call)("AEWVLogin","isLogin",{},(function(n){e("true"===(null==n?void 0:n.isLoggedIn)||!0===(null==n?void 0:n.isLoggedIn))}),(function(){e(!1)}))})):Promise.resolve("y"===c("xman_us_t","sign"))}function l(){return new Promise((function(e){f().then((function(n){return n?e(n):o.isADC&&window.WindVane?Object(s.call)("AEWVLogin","login",{},(function(n){return e("true"===(null==n?void 0:n.isLoggedIn)||!0===(null==n?void 0:n.isLoggedIn))}),(function(n){return e(n)})):void(window.location.href="https://login.aliexpress.com?return_url="+encodeURIComponent(window.location.href))}))}))}var d={locale:"en_US",country:"US",currency:"USD",direction:"rtl"},h=["ar_SA","ar_MA","he_IL","iw_IL"],p={RTL:"rtl",LTR:"ltr"},g={iw_IL:"he_IL",ar_MA:"ar_SA",in_ID:"id_ID"},m=null;function v(){if(m)return m;var e=c("aep_usuc_f"),n=a(e,"b_locale")||d.locale,t={isRtl:!1,aeLocale:n,aeRegion:a(e,"region")||d.country,aeCurrency:a(e,"c_tp")||d.currency,aeDirection:-1!==h.indexOf(n)?p.RTL:p.LTR};if(t.isRtl=t.aeDirection===p.RTL,o.isPHA)try{t.aeLocale=window.pha.environment.aeLocale||t.aeLocale,t.aeRegion=window.pha.environment.aeCountry||t.aeRegion,t.aeCurrency=window.pha.environment.aeCurrency||t.aeCurrency,t.aeDirection=window.pha.environment.aeDirection||t.aeDirection}catch(e){}return m=t,t}function y(){return v()}function _(e){return new Promise((function(n,t){try{o.isAEApp?u(e).then((function(e){var t=e.aeLocale,r=e.aeRegion,o=e.aeCurrency;if(!t||!r||!o){var i=v();t=i.aeLocale,r=i.aeRegion,o=i.aeCurrency}n({aeLocale:t,aeRegion:r,aeCurrency:o,aeDirection:-1!==h.indexOf(t)?p.RTL:p.LTR})})):n(y())}catch(e){t(e)}}))}var w=null;function b(){var e,n,t,r,o,i,u,s,f,l,d,h,p;try{i=w||(w=c("cna")),u=a(o=c("aep_usuc_f"),"x_alimid"),s=a(o,"acs_rt"),f="y"===c("xman_us_t","sign");var m=v();e=m.aeLocale,n=m.aeRegion,t=m.aeCurrency,l=m.aeDirection,r=m.isRtl,d=a(o,"province")||"",h=a(o,"city")||"",p=a(o,"site")||"glo"}catch(e){console.error(e)}return{aeLocale:e=g[e]||e,aeRegion:n,aeCurrency:t,aeDirection:l,isRtl:r,aep_usuc_f:o,cna:i,buyerAliId:u,acs_rt:s,isWebLogin:f,province:d,city:h,site:p}}function R(e){var n,t,r,o,i=!1;return new Promise((function(a){return f().then((function(c){return _(e).then((function(e){n=e.aeLocale,t=e.aeRegion,r=e.aeCurrency,o=e.aeDirection,i=o===p.RTL,n=g[n]||n,a({isWebLogin:c,aeLocale:n,aeRegion:t,aeCurrency:r,isRtl:i,aep_usuc_f:undefined,cna:undefined,buyerAliId:undefined,acs_rt:undefined})}))}))}))}var L=R,C={parse:function(e){var n={},t=null,r=/[?&](.*?)=([^&#]*)/g;for(t=r.exec(e);t;){try{n[t[1]]=decodeURIComponent(t[2])}catch(e){try{n[t[1]]=unescape(t[2])}catch(e){n[t[1]]=t[2]}}t=r.exec(e)}return n},stringify:function(e){return e?Object.keys(e).map((function(n){return n+"="+encodeURIComponent(e[n])})).join("&"):""}};function I(e,n){for(var t=0;t-1},o=function(n){return i.match(n)};var u,d=(u=i.toLowerCase().match(/cpu iphone os (.*?) like mac os/))&&Array.isArray(u)&&u.length>0&&u[1]?u[1].replace(/_/gi,"."):"",a=function(){var n=i.toLowerCase().match(/android [\d._]+/gi);return i.toLowerCase().indexOf("android")>0?(""+n).replace(/[^0-9|_.]/gi,"").replace(/_/gi,"."):""}(),p="undefined"!=typeof window&&"onload"in window,s=!1,c=!1,f=!1,l=!1,A=!1,g=!1,b=!1,v=!1,m=!1,h="",y="",P="",w="",O=void 0!==window.pha,x=O;s=!!o(/AppleWebKit.*Mobile.*/),c=!!o(/\(i[^;]+;( U;)? CPU.+Mac OS X/)||t("iPhone"),f=t("Android")||t("Adr"),h=c?"ios":"android",l=t("iPhone"),A=t("iPad"),g=t("AliApp"),b=g&&(t("Aliexpress")||t("AE")),v=g&&t("TMG"),m=g&&t("DingTalk"),y=c?d:a;var M=o(/AliApp\((.*?)\/(.*?)\)/g);(null==M?void 0:M.length)>0&&M.forEach((function(n){if(-1===n.indexOf("AliexpressAndroid")){var e=n.match(/AliApp\((.*?)\/(.*?)\)/);(null==e?void 0:e.length)>1&&(P=e[1],w=e[2])}}));e.default={isMobile:s,isIOS:c,isAndroid:f,isIPhone:l,isIPad:A,isAliApp:g,isAEApp:b,isTMGApp:v,osName:h,osVersion:y,appName:P,appVersion:w,isDingTalkApp:m,isPHA:O,isADC:x}}]);; (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-adc-api@1/index", [], function(require, exports, module) {"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=window.pha,n=(null==e?void 0:e.environment)||{};exports.call=function(n,o,i,s,t){return new Promise(function(l,d){var r,u=function(e){null==s||s(e),l(e)},a=function(e){null==t||t(e),d(e)};if(null==e?void 0:null===(r=e[n])||void 0===r?void 0:r[o])e[n][o](i,u,a);else if(window.WindVane)window.WindVane.call(n,o,i,u,a);else{if(function(e,n,o,i,s){if("message"===e&&"postMessage"===n){var t;if(null==window?void 0:null===(t=window.pha)||void 0===t?void 0:t.postMessage){var l=o.message,d=o.targetOrigin;window.pha.postMessage({message:l},d),i({})}else(void 0)("message.postMessage not found");return!0}return!1}(n,o,u,a))return;a("module.method not found")}})},exports.env=n; ; (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-ae-helper/index", [], function(require, exports, module) {module.exports=function(e){var r={};function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(n,o,function(r){return e[r]}.bind(null,o));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="/",t(t.s=3)}([function(e,r){e.exports=require("@ali/gcom-aec-env/index")},function(e,r){e.exports=require("@ali/gcom-aec-mtop/index")},function(e,r){e.exports=require("@ali/gcom-aec-utils/index")},function(e,r,t){e.exports=t(4)},function(e,r,t){"use strict";t.r(r),t.d(r,"getScreenHeight",(function(){return o})),t.d(r,"getTppData",(function(){return g}));var n=t(0);function o(){var e=window.innerWidth,r=window.innerHeight;return n.isMobile?750*Number(r)/Number(e):Number(r)}var i=t(1),a=t.n(i),u=t(2),c=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.indexOf(n)<0&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);or)return-1;if(r>o)return 1}return 0}var r=e.Promise,o=e.document,i=e.navigator.userAgent,a=/Windows\sPhone\s(?:OS\s)?[\d\.]+/i.test(i)||/Windows\sNT\s[\d\.]+/i.test(i),s=a&&e.WindVane_Win_Private&&e.WindVane_Win_Private.call,u=/iPhone|iPad|iPod/i.test(i),c=/Android/i.test(i),d=i.match(/WindVane[\/\s](\d+[._]\d+[._]\d+)/),l=Object.prototype.hasOwnProperty,p=t.windvane=e.WindVane||(e.WindVane={version:"3.0.7"}),f=Math.floor(65536*Math.random()),h=1,m=[],v="hybrid",_="iframe_",w="param_",g={isAvailable:1===n(d=d?(d[1]||"0.0.0").replace(/\_/g,"."):"0.0.0","0"),isNewBridgeAvailable:1===n(d,c?"8.3.0":"8.2.0"),call2:function(e,t,n,r,o){var i=e.indexOf(".");return g.call(e.substr(0,i),e.substr(i+1),t,n,r,o)},call:function(t,n,o,i,a,s){var u,d;"number"==typeof arguments[arguments.length-1]&&(s=arguments[arguments.length-1]),"function"!=typeof i&&(i=null),"function"!=typeof a&&(a=null),!r||i||a||(d=new r((function(e,t){i=e,a=t})));var l=(""+n).indexOf(".")>-1;if((!c||!l)&&g.isNewBridgeAvailable&&e.__windvane__&&(!e.__windvane__.call&&e.__windvane__.windVaneCoreJs&&new Function(e.__windvane__.windVaneCoreJs())(),e.__windvane__.call))return e.__windvane__.call(t+"."+n,o,i,a,s),d;u=y.getSid();var p={success:i,failure:a};return s>0&&(p.timeout=setTimeout((function(){g.onFailure(u,{ret:"HY_TIMEOUT"})}),s)),y.registerCall(u,p),y.registerGC(u,s),g.isAvailable?y.callMethod(t,n,o,u):g.onFailure(u,{ret:"HY_NOT_IN_WINDVANE"}),d},fireEvent:function(e,t){var n=o.createEvent("HTMLEvents");n.initEvent(e,!1,!0),n.param=y.parseData(t),o.dispatchEvent(n)},getParam:function(e){return y.getParam(e)},setData:function(){},find:function(e,t){t||y.unregisterCall(e,!1)},onSuccess:function(e,t,n){y.onComplete(e,t,"success",n)},onFailure:function(e,t){y.onComplete(e,t,"failure")}};g.isNewBridgeAvailable&&e.__windvane__&&e.__windvane__.callSync&&(g.callSync=function(t,n){if(u)return e.__windvane__.callSync(t,n);if(c){var r={name:t};n&&(r.params=JSON.stringify(n));var o=e.__windvane__.callSync(r);if(o)try{return JSON.parse(o)}catch(e){}}});var y={params:{},calls:{},getSid:function(){return(f+h++)%65536+""},buildParam:function(e){return e&&"object"==typeof e?JSON.stringify(e):e||""},getParam:function(e){return this.params[w+e]||""},setParam:function(e,t){this.params[w+e]=t},parseData:function(e){var t;if(e&&"string"==typeof e)try{t=JSON.parse(e)}catch(n){t={ret:"HY_RESULT_PARSE_ERROR",originValue:e}}else t=e||{};return t},registerCall:function(e,t){this.calls[e]=t},unregisterCall:function(e,t){var n=this.calls[e]||{},r=n.timeout;return r&&clearTimeout(r),t||delete this.calls[e],n},useIframe:function(e,t){var n=m.pop();n||((n=o.createElement("iframe")).setAttribute("frameborder","0"),n.style.cssText="width:0;height:0;border:0;display:none;"),n.setAttribute("id",_+e),n.setAttribute("src",t),n.parentNode||setTimeout((function(){o.body.appendChild(n)}),5)},retrieveIframe:function(e){var t=o.querySelector("#"+(_+e));if(t)if(m.length>=3)try{o.body.removeChild(t)}catch(e){}else m.indexOf(t)<0&&m.push(t)},callMethod:function(t,n,r,o){var i=y.buildParam(r);if(a)s?e.WindVane_Win_Private.call(t,n,o,i):this.onComplete(o,{ret:"HY_NO_HANDLER_ON_WP"},"failure");else if(u){this.setParam(o,i);var d=v+"://"+t+":"+o+"/"+n+"?"+encodeURIComponent(i);this.useIframe(o,d)}else if(c){this.setParam(o,r);d=v+"://"+t+":"+o+"/"+n+"?"+i;window.prompt(d,"wv_hybrid:")}else this.onComplete(o,{ret:"HY_NOT_SUPPORT_DEVICE"},"failure")},registerGC:function(e,t){var n=this,r=Math.max(t||0,6e5),o=Math.max(t||0,6e4);setTimeout((function(){n.unregisterCall(e)}),r),u&&setTimeout((function(){n.params[w+e]&&delete n.params[w+e]}),o)},onComplete:function(e,t,n,r){var o=this.unregisterCall(e,r),i=o.success,a=o.failure,s=(t=this.parseData(t)).ret;"string"==typeof s&&((t=t.value||t).ret||(t.ret=[s])),"success"===n?i&&i(t):"failure"===n&&a&&a(t),u&&(this.retrieveIframe(e),this.params[w+e]&&delete this.params[w+e])}};for(var b in g)l.call(p,b)||(p[b]=g[b])}(window,window.lib||(window.lib={})),e.exports=window.lib.windvane},function(e,t){e.exports=require("@ali/universal-mtop@6/index")},function(e,t){!function(e,t){function n(){var e={},t=new p((function(t,n){e.resolve=t,e.reject=n}));return e.promise=t,e}function r(e,t){for(var n in t)void 0===e[n]&&(e[n]=t[n]);return e}function o(e){(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]||document.firstElementChild||document).appendChild(e)}function i(){if(window.etSign)window.__etReady=!0;else{window.etReady=function(){window.__etReady=!0};var e=document.createElement("script");e.id="aplus-sufei",e.src="//g.alicdn.com/secdev/entry/index.js",o(e)}}function a(e){var t=[];for(var n in e)e[n]&&t.push(n+"="+encodeURIComponent(e[n]));return t.join("&")}function s(e){return"[object Object]"=={}.toString.call(e)}function u(e){var t=new RegExp("(?:^|;\\s*)"+e+"\\=([^;]+)(?:;\\s*|$)").exec(document.cookie);return t?t[1]:void 0}function c(e,t,n){var r=new Date;r.setTime(r.getTime()-864e5);document.cookie=e+"=;path=/;domain=."+t+";expires="+r.toGMTString(),document.cookie=e+"=;path=/;domain=."+n+"."+t+";expires="+r.toGMTString()}function d(e,t){for(var n=e.split("."),r=t.split("."),o=0;3>o;o++){var i=Number(n[o]),a=Number(r[o]);if(i>a)return 1;if(a>i)return-1;if(!isNaN(i)&&isNaN(a))return 1;if(isNaN(i)&&!isNaN(a))return-1}return 0}function l(e){this.id=""+(new Date).getTime()+ ++g,this.params=r(e||{},{v:"*",data:{},type:"get",dataType:"jsonp"}),this.params.type=this.params.type.toLowerCase(),"object"==typeof this.params.data&&(this.params.data=JSON.stringify(this.params.data)),this.middlewares=m.slice(0)}var p=e.Promise,f=(p||{resolve:function(){}}).resolve();String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")});var h={useJsonpResultType:!1,safariGoLogin:!0,useAlipayJSBridge:!1},m=[],v={ERROR:-1,SUCCESS:0,TOKEN_EXPIRED:1,SESSION_EXPIRED:2};(function(){var t=e.location.hostname;if(!t){var n=e.parent.location.hostname;n&&~n.indexOf("zebra.alibaba-inc.com")&&(t=n)}var r=new RegExp("([^.]*?)\\.?((?:"+["taobao.net","taobao.com","tmall.com","tmall.hk","alibaba-inc.com"].join(")|(?:").replace(/\./g,"\\.")+"))","i"),o=t.match(r)||[],i=o[2]||"taobao.com",a=o[1]||"m";"taobao.net"!==i||"x"!==a&&"waptest"!==a&&"daily"!==a?"taobao.net"===i&&"demo"===a?a="demo":"alibaba-inc.com"===i&&"zebra"===a?a="zebra":"waptest"!==a&&"wapa"!==a&&"m"!==a&&(a="m"):a="waptest";var s="h5api";"taobao.net"===i&&"waptest"===a&&(s="acs"),h.mainDomain=i,h.subDomain=a,h.prefix=s})(),function(){var t=e.navigator.userAgent,n=t.match(/WindVane[\/\s]([\d\.\_]+)/);n&&(h.WindVaneVersion=n[1]);var r=t.match(/AliApp\(([^\/]+)\/([\d\.\_]+)\)/i);r&&(h.AliAppName=r[1],h.AliAppVersion=r[2]);var o=t.match(/AMapClient\/([\d\.\_]+)/i);o&&(h.AliAppName="AMAP",h.AliAppVersion=o[1])}();var _=/[Android|Adr]/.test(e.navigator.userAgent),w="AP"===h.AliAppName&&d(h.AliAppVersion,"10.1.2")>=0||"KB"===h.AliAppName&&d(h.AliAppVersion,"7.1.62")>=0||_&&"AMAP"===h.AliAppName&&d(h.AliAppVersion,"1.0.1")>=0,g=0;l.prototype.use=function(e){if(!e)throw new Error("middleware is undefined");return this.middlewares.push(e),this},l.prototype.__processRequestMethod=function(e){var t=this.params,n=this.options;"get"===t.type&&"jsonp"===t.dataType?n.getJSONP=!0:"get"===t.type&&"originaljsonp"===t.dataType?n.getOriginalJSONP=!0:"get"===t.type&&"json"===t.dataType?n.getJSON=!0:"post"===t.type&&(n.postJSON=!0),e()},l.prototype.__processRequestType=function(n){var r=this,o=this.params,i=this.options;if(!0===h.H5Request&&(i.H5Request=!0),!0===h.WindVaneRequest&&(i.WindVaneRequest=!0),!1===i.H5Request&&!0===i.WindVaneRequest){if(!w&&(!t.windvane||parseFloat(i.WindVaneVersion)<5.4))throw new Error("WINDVANE_NOT_FOUND::\u7f3a\u5c11WindVane\u73af\u5883");if(w&&!e.AlipayJSBridge)throw new Error("ALIPAY_NOT_READY::\u652f\u4ed8\u5b9d\u901a\u9053\u672a\u51c6\u5907\u597d\uff0c\u652f\u4ed8\u5b9d\u8bf7\u89c1 https://lark.alipay.com/mtbsdkdocs/mtopjssdkdocs/pucq6z")}else if(!0===i.H5Request)i.WindVaneRequest=!1;else if(void 0===i.WindVaneRequest&&void 0===i.H5Request){if(t.windvane&&parseFloat(i.WindVaneVersion)>=5.4?i.WindVaneRequest=!0:i.H5Request=!0,w){if(i.WindVaneRequest=i.H5Request=void 0,e.AlipayJSBridge)if(s(o.data))i.WindVaneRequest=!0;else try{s(JSON.parse(o.data))?i.WindVaneRequest=!0:i.H5Request=!0}catch(e){i.H5Request=!0}else i.H5Request=!0;"AMAP"!==h.AliAppName||o.useNebulaJSbridgeWithAMAP||(i.WindVaneRequest=i.H5Request=void 0,i.H5Request=!0)}window.self!==window.top&&(i.H5Request=!0)}var a=e.navigator.userAgent.toLowerCase();return a.indexOf("youku")>-1&&i.mainDomain.indexOf("youku.com")<0&&(i.WindVaneRequest=!1,i.H5Request=!0),i.mainDomain.indexOf("youku.com")>-1&&a.indexOf("youku")<0&&(i.WindVaneRequest=!1,i.H5Request=!0),n?n().then((function(){var e=i.retJson.ret;if(e instanceof Array&&(e=e.join(",")),!0===i.WindVaneRequest&&w&&i.retJson.error||!e||e.indexOf("PARAM_PARSE_ERROR")>-1||e.indexOf("HY_FAILED")>-1||e.indexOf("HY_NO_HANDLER")>-1||e.indexOf("HY_CLOSED")>-1||e.indexOf("HY_EXCEPTION")>-1||e.indexOf("HY_NO_PERMISSION")>-1){if(!w||!isNaN(i.retJson.error)||-1!==i.retJson.error.indexOf("FAIL_SYS_ACCESS_DENIED"))return w&&s(o.data)&&(o.data=JSON.stringify(o.data)),h.H5Request=!0,r.__sequence([r.__processRequestType,r.__processToken,r.__processRequestUrl,r.middlewares,r.__processRequest]);void 0===i.retJson.api&&void 0===i.retJson.v&&(i.retJson.api=o.api,i.retJson.v=o.v,i.retJson.ret=[i.retJson.error+"::"+i.retJson.errorMessage],i.retJson.data={})}})):void 0};var y="_m_h5_c",b="_m_h5_tk";l.prototype.__getTokenFromAlipay=function(){var t=n(),r=this.options,o=(e.navigator.userAgent,!!location.protocol.match(/^https?\:$/));return!0===r.useAlipayJSBridge&&!o&&w&&e.AlipayJSBridge&&e.AlipayJSBridge.call?e.AlipayJSBridge.call("getMtopToken",(function(e){e&&e.token&&(r.token=e.token),t.resolve()}),(function(){t.resolve()})):t.resolve(),t.promise},l.prototype.__getTokenFromCookie=function(){var e=this.options;return e.CDR&&u(y)?e.token=u(y).split(";")[0]:e.token=e.token||u(b),e.token&&(e.token=e.token.split("_")[0]),p.resolve()},l.prototype.__waitWKWebViewCookie=function(t){var n=this.options;n.waitWKWebViewCookieFn&&n.H5Request&&e.webkit&&e.webkit.messageHandlers?n.waitWKWebViewCookieFn(t):t()},l.prototype.__processToken=function(e){var t=this,n=this.options;return this.params,n.token&&delete n.token,!0!==n.WindVaneRequest?f.then((function(){return t.__getTokenFromAlipay()})).then((function(){return t.__getTokenFromCookie()})).then(e).then((function(){var e=n.retJson,r=e.ret;if(r instanceof Array&&(r=r.join(",")),r.indexOf("TOKEN_EMPTY")>-1||(!0===n.CDR||!0===n.syncCookieMode)&&r.indexOf("ILLEGAL_ACCESS")>-1||r.indexOf("TOKEN_EXOIRED")>-1){if(n.maxRetryTimes=n.maxRetryTimes||5,n.failTimes=n.failTimes||0,n.H5Request&&++n.failTimes0&&(c(y,n.pageDomain,"*"),c(b,n.mainDomain,n.subDomain),c("_m_h5_tk_enc",n.mainDomain,n.subDomain)),e.retType=v.TOKEN_EXPIRED}})):void e()},l.prototype.__processRequestUrl=function(t){var n=this.params,r=this.options;if(r.hostSetting&&r.hostSetting[e.location.hostname]){var o=r.hostSetting[e.location.hostname];o.prefix&&(r.prefix=o.prefix),o.subDomain&&(r.subDomain=o.subDomain),o.mainDomain&&(r.mainDomain=o.mainDomain)}if(!0===r.H5Request){var a="//"+(r.prefix?r.prefix+".":"")+(r.subDomain?r.subDomain+".":"")+r.mainDomain+"/h5/"+n.api.toLowerCase()+"/"+n.v.toLowerCase()+"/",s=n.appKey||("waptest"===r.subDomain?"4272":"12574478"),u=(new Date).getTime(),c=function(e){function t(e,t){return e<>>32-t}function n(e,t){var n,r,o,i,a;return o=2147483648&e,i=2147483648&t,a=(1073741823&e)+(1073741823&t),(n=1073741824&e)&(r=1073741824&t)?2147483648^a^o^i:n|r?1073741824&a?3221225472^a^o^i:1073741824^a^o^i:a^o^i}function r(e,r,o,i,a,s,u){return e=n(e,n(n(function(e,t,n){return e&t|~e&n}(r,o,i),a),u)),n(t(e,s),r)}function o(e,r,o,i,a,s,u){return e=n(e,n(n(function(e,t,n){return e&n|t&~n}(r,o,i),a),u)),n(t(e,s),r)}function i(e,r,o,i,a,s,u){return e=n(e,n(n(function(e,t,n){return e^t^n}(r,o,i),a),u)),n(t(e,s),r)}function a(e,r,o,i,a,s,u){return e=n(e,n(n(function(e,t,n){return t^(e|~n)}(r,o,i),a),u)),n(t(e,s),r)}function s(e){var t,n="",r="";for(t=0;3>=t;t++)n+=(r="0"+(e>>>8*t&255).toString(16)).substr(r.length-2,2);return n}var u,c,d,l,p,f,h,m,v,_;for(e=function(e){e=e.replace(/\r\n/g,"\n");for(var t="",n=0;nr?t+=String.fromCharCode(r):r>127&&2048>r?(t+=String.fromCharCode(r>>6|192),t+=String.fromCharCode(63&r|128)):(t+=String.fromCharCode(r>>12|224),t+=String.fromCharCode(r>>6&63|128),t+=String.fromCharCode(63&r|128))}return t}(e),_=function(e){for(var t,n=e.length,r=n+8,o=16*((r-r%64)/64+1),i=new Array(o-1),a=0,s=0;n>s;)a=s%4*8,i[t=(s-s%4)/4]=i[t]|e.charCodeAt(s)<>>29,i}(e),f=1732584193,h=4023233417,m=2562383102,v=271733878,u=0;u<_.length;u+=16)c=f,d=h,l=m,p=v,f=r(f,h,m,v,_[u+0],7,3614090360),v=r(v,f,h,m,_[u+1],12,3905402710),m=r(m,v,f,h,_[u+2],17,606105819),h=r(h,m,v,f,_[u+3],22,3250441966),f=r(f,h,m,v,_[u+4],7,4118548399),v=r(v,f,h,m,_[u+5],12,1200080426),m=r(m,v,f,h,_[u+6],17,2821735955),h=r(h,m,v,f,_[u+7],22,4249261313),f=r(f,h,m,v,_[u+8],7,1770035416),v=r(v,f,h,m,_[u+9],12,2336552879),m=r(m,v,f,h,_[u+10],17,4294925233),h=r(h,m,v,f,_[u+11],22,2304563134),f=r(f,h,m,v,_[u+12],7,1804603682),v=r(v,f,h,m,_[u+13],12,4254626195),m=r(m,v,f,h,_[u+14],17,2792965006),f=o(f,h=r(h,m,v,f,_[u+15],22,1236535329),m,v,_[u+1],5,4129170786),v=o(v,f,h,m,_[u+6],9,3225465664),m=o(m,v,f,h,_[u+11],14,643717713),h=o(h,m,v,f,_[u+0],20,3921069994),f=o(f,h,m,v,_[u+5],5,3593408605),v=o(v,f,h,m,_[u+10],9,38016083),m=o(m,v,f,h,_[u+15],14,3634488961),h=o(h,m,v,f,_[u+4],20,3889429448),f=o(f,h,m,v,_[u+9],5,568446438),v=o(v,f,h,m,_[u+14],9,3275163606),m=o(m,v,f,h,_[u+3],14,4107603335),h=o(h,m,v,f,_[u+8],20,1163531501),f=o(f,h,m,v,_[u+13],5,2850285829),v=o(v,f,h,m,_[u+2],9,4243563512),m=o(m,v,f,h,_[u+7],14,1735328473),f=i(f,h=o(h,m,v,f,_[u+12],20,2368359562),m,v,_[u+5],4,4294588738),v=i(v,f,h,m,_[u+8],11,2272392833),m=i(m,v,f,h,_[u+11],16,1839030562),h=i(h,m,v,f,_[u+14],23,4259657740),f=i(f,h,m,v,_[u+1],4,2763975236),v=i(v,f,h,m,_[u+4],11,1272893353),m=i(m,v,f,h,_[u+7],16,4139469664),h=i(h,m,v,f,_[u+10],23,3200236656),f=i(f,h,m,v,_[u+13],4,681279174),v=i(v,f,h,m,_[u+0],11,3936430074),m=i(m,v,f,h,_[u+3],16,3572445317),h=i(h,m,v,f,_[u+6],23,76029189),f=i(f,h,m,v,_[u+9],4,3654602809),v=i(v,f,h,m,_[u+12],11,3873151461),m=i(m,v,f,h,_[u+15],16,530742520),f=a(f,h=i(h,m,v,f,_[u+2],23,3299628645),m,v,_[u+0],6,4096336452),v=a(v,f,h,m,_[u+7],10,1126891415),m=a(m,v,f,h,_[u+14],15,2878612391),h=a(h,m,v,f,_[u+5],21,4237533241),f=a(f,h,m,v,_[u+12],6,1700485571),v=a(v,f,h,m,_[u+3],10,2399980690),m=a(m,v,f,h,_[u+10],15,4293915773),h=a(h,m,v,f,_[u+1],21,2240044497),f=a(f,h,m,v,_[u+8],6,1873313359),v=a(v,f,h,m,_[u+15],10,4264355552),m=a(m,v,f,h,_[u+6],15,2734768916),h=a(h,m,v,f,_[u+13],21,1309151649),f=a(f,h,m,v,_[u+4],6,4149444226),v=a(v,f,h,m,_[u+11],10,3174756917),m=a(m,v,f,h,_[u+2],15,718787259),h=a(h,m,v,f,_[u+9],21,3951481745),f=n(f,c),h=n(h,d),m=n(m,l),v=n(v,p);return(s(f)+s(h)+s(m)+s(v)).toLowerCase()}(r.token+"&"+u+"&"+s+"&"+n.data),d={jsv:"2.7.2",appKey:s,t:u,sign:c},l={data:n.data,ua:n.ua};Object.keys(n).forEach((function(e){void 0===d[e]&&void 0===l[e]&&"headers"!==e&&"ext_headers"!==e&&"ext_querys"!==e&&(d[e]=n[e])})),n.ext_querys&&Object.keys(n.ext_querys).forEach((function(e){d[e]=n.ext_querys[e]})),r.getJSONP?d.type="jsonp":r.getOriginalJSONP?d.type="originaljsonp":(r.getJSON||r.postJSON)&&(d.type="originaljson"),void 0!==n.valueType&&("original"===n.valueType?r.getJSONP||r.getOriginalJSONP?d.type="originaljsonp":(r.getJSON||r.postJSON)&&(d.type="originaljson"):"string"===n.valueType&&(r.getJSONP||r.getOriginalJSONP?d.type="jsonp":(r.getJSON||r.postJSON)&&(d.type="json"))),!0===r.useJsonpResultType&&"originaljson"===d.type&&delete d.type,r.dangerouslySetProtocol&&(a=r.dangerouslySetProtocol+":"+a),"5.0"===n.SV&&(a+="5.0/",i()),r.querystring=d,r.postdata=l,r.path=a}t()},l.prototype.__processUnitPrefix=function(e){e()};var S=0;l.prototype.__requestJSONP=function(e){function t(e){if(d&&clearTimeout(d),l.parentNode&&l.parentNode.removeChild(l),"TIMEOUT"===e)window[c]=function(){window[c]=void 0;try{delete window[c]}catch(e){}};else{window[c]=void 0;try{delete window[c]}catch(e){}}}var r=n(),i=this.params,s=this.options,u=i.timeout||2e4,c="mtopjsonp"+(i.jsonpIncPrefix||"")+ ++S,d=setTimeout((function(){e(s.timeoutErrMsg||"TIMEOUT::\u63a5\u53e3\u8d85\u65f6"),t("TIMEOUT")}),u);s.querystring.callback=c;var l=document.createElement("script"),p=s.path+"?"+a(s.querystring)+"&"+a(s.postdata);return"5.0"===i.SV&&window.etSign&&(p+="&bx_et="+window.etSign(p)),l.src=p,l.async=!0,l.onerror=function(){t("ABORT"),e(s.abortErrMsg||"ABORT::\u63a5\u53e3\u5f02\u5e38\u9000\u51fa")},window[c]=function(){s.results=Array.prototype.slice.call(arguments),t(),r.resolve()},o(l),r.promise},l.prototype.__requestJSON=function(t){function r(e){l&&clearTimeout(l),"TIMEOUT"===e&&c.abort()}var o=n(),i=this.params,s=this.options,c=new e.XMLHttpRequest,d=i.timeout||2e4,l=setTimeout((function(){t(s.timeoutErrMsg||"TIMEOUT::\u63a5\u53e3\u8d85\u65f6"),r("TIMEOUT")}),d);s.CDR&&u(y)&&(s.querystring.c=decodeURIComponent(u(y))),c.onreadystatechange=function(){if(4==c.readyState){var e,n,i=c.status;if(i>=200&&300>i||304==i){r(),e=c.responseText,n=c.getAllResponseHeaders()||"";try{(e=/^\s*$/.test(e)?{}:JSON.parse(e)).responseHeaders=n,s.results=[e],o.resolve()}catch(e){t("PARSE_JSON_ERROR::\u89e3\u6790JSON\u5931\u8d25")}}else r("ABORT"),t(s.abortErrMsg||"ABORT::\u63a5\u53e3\u5f02\u5e38\u9000\u51fa")}};var p,f,h=s.path+"?"+a(s.querystring);s.getJSON?(p="GET",h+="&"+a(s.postdata)):s.postJSON&&(p="POST",f=a(s.postdata)),"5.0"===i.SV&&window.etSign&&(h+="&bx_et="+window.etSign(h)),c.open(p,h,!0),c.withCredentials=!0,c.setRequestHeader("Accept","application/json"),c.setRequestHeader("Content-type","application/x-www-form-urlencoded");var m=i.ext_headers||i.headers;if(m)for(var v in m)c.setRequestHeader(v,m[v]);return c.send(f),o.promise},l.prototype.__requestWindVane=function(e){function r(e){a.results=[e],o.resolve()}var o=n(),i=this.params,a=this.options,s=i.data,u=i.api,c=i.v,d=a.postJSON?1:0,l=a.getJSON||a.postJSON||a.getOriginalJSONP?"originaljson":"";void 0!==i.valueType&&("original"===i.valueType?l="originaljson":"string"===i.valueType&&(l="")),!0===a.useJsonpResultType&&(l="");var p,f,h="https"===location.protocol?1:0,m=i.isSec||0,v=i.sessionOption||"AutoLoginOnly",_=i.ecode||0,w=i.ext_headers||{},g=i.ext_querys||{};p=2*(f=void 0!==i.timer?parseInt(i.timer):void 0!==i.timeout?parseInt(i.timeout):2e4),!0===i.needLogin&&void 0===i.sessionOption&&(v="AutoLoginAndManualLogin"),void 0!==i.secType&&void 0===i.isSec&&(m=i.secType);var y={api:u,v:c,post:String(d),type:l,isHttps:String(h),ecode:String(_),isSec:String(m),param:JSON.parse(s),timer:f,needLogin:!!i.needLogin,sessionOption:v,ext_headers:w,ext_querys:g};i.ttid&&!0===a.dangerouslySetWVTtid&&(y.ttid=i.ttid),Object.assign&&i.dangerouslySetWindvaneParams&&Object.assign(y,i.dangerouslySetWindvaneParams);var b="MtopWVPlugin";return"string"==typeof i.customWindVaneClassName&&(b=i.customWindVaneClassName),t.windvane.call(b,"send",y,r,r,p),o.promise},l.prototype.__requestAlipay=function(t){var r=n(),o=this.params,i=this.options,a={apiName:o.api,apiVersion:o.v,needEcodeSign:"1"===String(o.ecode),headers:o.ext_headers||{},usePost:!!i.postJSON};s(o.data)||(o.data=JSON.parse(o.data)),a.data=o.data,o.ttid&&!0===i.dangerouslySetWVTtid&&(a.ttid=o.ttid),(i.getJSON||i.postJSON||i.getOriginalJSONP)&&(a.type="originaljson"),void 0!==o.valueType&&("original"===o.valueType?a.type="originaljson":"string"===o.valueType&&delete a.type),!0===i.useJsonpResultType&&delete a.type,Object.assign&&o.dangerouslySetAlipayParams&&Object.assign(a,o.dangerouslySetAlipayParams);var u="mtop";return"string"==typeof o.customAlipayJSBridgeApi&&(u=o.customAlipayJSBridgeApi),e.AlipayJSBridge.call(u,a,(function(e){i.results=[e],r.resolve()})),r.promise},l.prototype.__processRequest=function(e,t){var n=this;return f.then((function(){var e=n.options;if(e.H5Request&&(e.getJSONP||e.getOriginalJSONP))return n.__requestJSONP(t);if(e.H5Request&&(e.getJSON||e.postJSON))return n.__requestJSON(t);if(e.WindVaneRequest)return w?n.__requestAlipay(t):n.__requestWindVane(t);throw new Error("UNEXCEPT_REQUEST::\u9519\u8bef\u7684\u8bf7\u6c42\u7c7b\u578b")})).then(e).then((function(){var e=n.options,t=(n.params,e.results[0]),r=t&&t.ret||[];t.ret=r,r instanceof Array&&(r=r.join(","));var o=t.c;e.CDR&&o&&function(e,t,n){var r=n||{};document.cookie=e.replace(/[^+#$&^`|]/g,encodeURIComponent).replace("(","%28").replace(")","%29")+"="+t.replace(/[^+#$&/:<-\[\]-}]/g,encodeURIComponent)+(r.domain?";domain="+r.domain:"")+(r.path?";path="+r.path:"")+(r.secure?";secure":"")+(r.httponly?";HttpOnly":"")+(r.sameSite?";Samesite="+r.sameSite:"")}(y,o,{domain:e.pageDomain,path:"/",secure:e.secure,sameSite:e.sameSite}),r.indexOf("SUCCESS")>-1?t.retType=v.SUCCESS:t.retType=v.ERROR,e.retJson=t}))},l.prototype.__sequence=function(e){var t=this,r=[],o=[];e.forEach((function e(i){if(i instanceof Array)i.forEach(e);else{var a,s=n(),u=n();r.push((function(){return s=n(),(a=i.call(t,(function(e){return s.resolve(e),u.promise}),(function(e){return s.reject(e),u.promise})))&&(a=a.catch((function(e){s.reject(e)}))),s.promise})),o.push((function(e){return u.resolve(e),a}))}}));for(var i,a=f;i=r.shift();)a=a.then(i);for(;i=o.pop();)a=a.then(i);return a};var E=function(e){if(h.EtRequest&&!window.__etReady){i();var t,n,r=Number(h.EtLoadTimeout)||5e3,o=!1;window.etReady=function(){window.__etReady=!0,o||(o=!0,e())};var a=function(){t&&clearInterval(t),n&&clearTimeout(n),o||(o=!0,e())};t=setInterval((function(){try{window.etSign&&(window.__etReady=!0,a()),window.etReady&&!window.__etReady&&(window.etReady=function(){window.__etReady=!0,a()})}catch(e){a()}}),100),n=setTimeout((function(){a()}),r)}else e()},O=function(e){e()};l.prototype.request=function(n){var o=this;if(this.options=r(n||{},h),!p){var i="\u5f53\u524d\u6d4f\u89c8\u5668\u4e0d\u652f\u6301Promise\uff0c\u8bf7\u5728windows\u5bf9\u8c61\u4e0a\u6302\u8f7dPromise\u5bf9\u8c61";throw t.mtop={ERROR:i},new Error(i)}var a=p.resolve([E,O]).then((function(e){var t=e[0],n=e[1];return o.__sequence([t,o.__processRequestMethod,o.__processRequestType,o.__processToken,o.__processRequestUrl,o.middlewares,o.__processRequest,n])})).then((function(){var e=o.options.retJson;return e.retType!==v.SUCCESS?p.reject(e):o.options.successCallback?void o.options.successCallback(e):p.resolve(e)})).catch((function(e){var n;return e instanceof Error?(console.error(e.stack),n={ret:[e.message],stack:[e.stack],retJson:v.ERROR}):n="string"==typeof e?{ret:[e],retJson:v.ERROR}:void 0!==e?e:o.options.retJson,t.mtop.errorListener&&t.mtop.errorListener({api:o.params.api,data:o.params.data,v:o.params.v,retJson:n}),o.options.failureCallback?void o.options.failureCallback(n):p.reject(n)}));return this.__processRequestType(),o.options.H5Request&&(o.constructor.__firstProcessor||(o.constructor.__firstProcessor=a),E=function(e){o.constructor.__firstProcessor.then(e).catch(e)}),("get"===this.params.type&&"json"===this.params.dataType||"post"===this.params.type)&&(n.pageDomain=n.pageDomain||function(e){try{return".com"!==e.substring(e.lastIndexOf("."))?(e.split(".")||[]).length<=3?e:e.split(".").slice(1).join("."):e.substring(e.lastIndexOf(".",e.lastIndexOf(".")-1)+1)}catch(t){return e.substring(e.lastIndexOf(".",e.lastIndexOf(".")-1)+1)}}(e.location.hostname),n.mainDomain!==n.pageDomain&&(n.maxRetryTimes=4,n.CDR=!0)),this.__requestProcessor=a,a},t.mtop=function(e){return new l(e)},t.mtop.request=function(e,t,n){var r={H5Request:e.H5Request,WindVaneRequest:e.WindVaneRequest,LoginRequest:e.LoginRequest,AntiCreep:e.AntiCreep,AntiFlood:e.AntiFlood,successCallback:t,failureCallback:n||t};return new l(e).request(r)},t.mtop.H5Request=function(e,t,n){var r={H5Request:!0,successCallback:t,failureCallback:n||t};return new l(e).request(r)},t.mtop.middlewares=m,t.mtop.config=h,t.mtop.RESPONSE_TYPE=v,t.mtop.CLASS=l}(window,window.lib||(window.lib={})),function(e,t){function n(e){return e.preventDefault(),!1}function r(t,r){var o=navigator.userAgent.match(/.*(iPhone|iPad|Android|ios|SymbianOS|Windows Phone).*/i),i=o&&r.h5url?r.h5url:r.url,a=r.dialogSize,s=this,u=e.dpr||1,c=document.createElement("div"),d=document.documentElement.getBoundingClientRect(),l=Math.max(d.width,window.innerWidth)/u,p=window.innerHeight/u;c.style.cssText=["-webkit-transform:scale("+u+") translateZ(0)","-ms-transform:scale("+u+") translateZ(0)","transform:scale("+u+") translateZ(0)","-webkit-transform-origin:0 0","-ms-transform-origin:0 0","transform-origin:0 0","width:"+l+"px","height:"+p+"px","z-index:2147483647","position: fixed","left:0","top:0px","background:"+(l>800?"rgba(0,0,0,.5)":"#FFF"),"display:none"].join(";");var f=document.createElement("div");f.style.cssText=["width:100%","height:52px","background:transparent","line-height:52px","text-align:left","box-sizing:border-box","padding-left:20px","position:absolute","left:0","top:0","font-size:16px","font-weight:bold","color:#333"].join(";"),f.innerText=t;var h=document.createElement("img");h.style.cssText=["display:block","position:absolute","margin-top:15px","right:0","top:0","height:15px","line-height:52px","padding:0 20px","color:#999"].join(";"),h.src="https://gw.alicdn.com/tfs/TB1QZN.CYj1gK0jSZFuXXcrHpXa-200-200.png";var m=document.createElement("iframe");if(m.style.cssText=["width:100%","height:100%","border:0","overflow:hidden"].join(";"),o)f.appendChild(h),c.appendChild(f);else{var v=a&&a.width||"420px",_=a&&a.height||"320px",w=50,g=50,y=24,b=-39;_.indexOf("px")>-1?y-=Number(_.replace("px",""))/2:_.indexOf("%")>-1&&(w-=Number(_.replace("%",""))/2),v.indexOf("px")>-1?b+=Number(v.replace("px",""))/2:v.indexOf("%")>-1&&(g+=Number(v.replace("%",""))/2),h.style.cssText=["position:absolute","width:15px","height:15px","top:"+w+"%","left:"+g+"%","cursor: pointer","border:0","z-index:1","overflow:hidden","margin-top:"+y+"px","margin-left:"+b+"px"].join(";"),c.appendChild(h),m.style.cssText=["position:absolute","top:0px","left:0px","bottom:0px","right:0px","margin:auto","width:"+v,"height:"+_,"border:0","background:#FFF","overflow:hidden","border-radius:18px"].join(";")}c.appendChild(m),c.className="J_MIDDLEWARE_FRAME_WIDGET",document.body.appendChild(c),m.src=i,h.addEventListener("click",(function(){s.hide();var e=document.createEvent("HTMLEvents");e.initEvent("close",!1,!1),c.dispatchEvent(e)}),!1),this.addEventListener=function(){c.addEventListener.apply(c,arguments)},this.removeEventListener=function(){c.removeEventListener.apply(c,arguments)},this.show=function(){document.addEventListener("touchmove",n,!1),c.style.display="block",window.scrollTo(0,0)},this.hide=function(){document.removeEventListener("touchmove",n),window.scrollTo(0,-d.top),c.parentNode&&c.parentNode.removeChild(c)}}if(!t||!t.mtop||t.mtop.ERROR)throw new Error("Mtop \u521d\u59cb\u5316\u5931\u8d25\uff01");var o=e.Promise,i=t.mtop.CLASS,a=t.mtop.config,s=t.mtop.RESPONSE_TYPE;t.mtop.middlewares.push((function(e){var n=this,r=this.options,o=this.params;return e().then((function(){var e=r.retJson,i=e.ret,u=navigator.userAgent.toLowerCase(),c=u.indexOf("safari")>-1&&u.indexOf("chrome")<0&&u.indexOf("qqbrowser")<0;if(i instanceof Array&&(i=i.join(",")),(i.indexOf("SESSION_EXPIRED")>-1||i.indexOf("SID_INVALID")>-1||i.indexOf("AUTH_REJECT")>-1||i.indexOf("NEED_LOGIN")>-1)&&(e.retType=s.SESSION_EXPIRED,!r.WindVaneRequest&&(!0===a.LoginRequest||!0===r.LoginRequest||!0===o.needLogin))){if(!t.login)throw new Error("LOGIN_NOT_FOUND::\u7f3a\u5c11lib.login");if(!0!==r.safariGoLogin||!c||"taobao.com"===r.pageDomain)return t.login.goLoginAsync().then((function(e){return n.__sequence([n.__processToken,n.__processRequestUrl,n.__processUnitPrefix,n.middlewares,n.__processRequest])})).catch((function(e){throw"CANCEL"===e?new Error("LOGIN_CANCEL::\u7528\u6237\u53d6\u6d88\u767b\u5f55"):new Error("LOGIN_FAILURE::\u7528\u6237\u767b\u5f55\u5931\u8d25")}));t.login.goLogin()}}))})),t.mtop.loginRequest=function(e,t,n){var r={LoginRequest:!0,H5Request:!0,successCallback:t,failureCallback:n||t};return new i(e).request(r)},t.mtop.antiFloodRequest=function(e,t,n){var r={AntiFlood:!0,successCallback:t,failureCallback:n||t};return new i(e).request(r)},t.mtop.middlewares.push((function(e){var t=this.options;return this.params,!0!==t.H5Request||!0!==a.AntiFlood&&!0!==t.AntiFlood?void e():e().then((function(){var e=t.retJson,n=e.ret;n instanceof Array&&(n=n.join(",")),n.indexOf("FAIL_SYS_USER_VALIDATE")>-1&&e.data.url&&(t.AntiFloodReferer?location.href=e.data.url.replace(/(http_referer=).+/,"$1"+t.AntiFloodReferer):location.href=e.data.url)}))})),t.mtop.antiCreepRequest=function(e,t,n){var r={AntiCreep:!0,successCallback:t,failureCallback:n||t};return new i(e).request(r)},t.mtop.middlewares.push((function(t){var n=this,i=this.options,s=this.params;return!1!==i.AntiCreep&&(i.AntiCreep=!0),!0!==s.forceAntiCreep&&!0!==i.H5Request||!0!==a.AntiCreep&&!0!==i.AntiCreep?void t():t().then((function(){var t=i.retJson,a=t.ret;if(a instanceof Array&&(a=a.join(",")),a.indexOf("CHECKJS_FLAG")>-1&&t.uuid&&t.serid){try{var u=!!window.document._sufei_data2,c=new Image,d="https://fourier.taobao.com/ts?ext=200&uuid="+t.uuid+"&serid="+t.serid+"&sufei="+u;window.location&&location.href&&(d+="&href=="+location.href.substr(0,128)),window.__fyModule&&(d+="&fyModuleLoad="+window.__fyModule.load+"&fyModuleInit="+window.__fyModule.init),window.__umModule&&(d+="&umModuleLoad="+window.__umModule.load+"&umModuleInit="+window.__umModule.init),window.__uabModule&&(d+="&uabModuleLoad="+window.__uabModule.load+"&uabModuleInit="+window.__uabModule.init),window.__ncModule&&(d+="&ncModuleLoad="+window.__ncModule.load+"&ncModuleInit="+window.__ncModule.init),window.__nsModule&&(d+="&nsModuleLoad="+window.__nsModule.load+"&nsModuleInit="+window.__nsModule.init),window.__etModule&&(d+="&etModuleLoad="+window.__etModule.load+"&etModuleInit="+window.__etModule.init),c.src=d,document.body.appendChild(c)}catch(e){console.log(e,"\u4e0a\u62a5\u5f02\u5e38")}return n.__sequence([n.__processToken,n.__processRequestUrl,n.__processUnitPrefix,n.middlewares,n.__processRequest])}if((a.indexOf("RGV587_ERROR::SM")>-1||a.indexOf("ASSIST_FLAG")>-1)&&t.data.url){var l="_m_h5_smt",p=function(e){var t=new RegExp("(?:^|;\\s*)"+e+"\\=([^;]+)(?:;\\s*|$)").exec(document.cookie);return t?t[1]:void 0}(l),f=!1;if(!0===i.saveAntiCreepToken&&p)for(var h in p=JSON.parse(p))s[h]&&(f=!0);if(!0===i.saveAntiCreepToken&&p&&!f){for(var h in p)s[h]=p[h];return n.__sequence([n.__processToken,n.__processRequestUrl,n.__processUnitPrefix,n.middlewares,n.__processRequest])}return new o((function(o,a){function u(){d.removeEventListener("close",u),e.removeEventListener("message",c),a("USER_INPUT_CANCEL::\u7528\u6237\u53d6\u6d88\u8f93\u5165")}function c(t){var r;try{r=JSON.parse(t.data)||{}}catch(e){}if(r&&"child"===r.type){var p;d.removeEventListener("close",u),e.removeEventListener("message",c),d.hide();try{for(var f in"string"==typeof(p=JSON.parse(decodeURIComponent(r.content)))&&(p=JSON.parse(p)),p)s[f]=p[f];!0===i.saveAntiCreepToken?(document.cookie=l+"="+JSON.stringify(p)+";",e.location.reload()):n.__sequence([n.__processToken,n.__processRequestUrl,n.__processUnitPrefix,n.middlewares,n.__processRequest]).then(o)}catch(e){a("USER_INPUT_FAILURE::\u7528\u6237\u8f93\u5165\u5931\u8d25")}}}var d=new r("",t.data);d.addEventListener("close",u,!1),e.addEventListener("message",c,!1),d.show()}))}}))}))}(window,window.lib||(window.lib={}))},function(e,t,n){"use strict";n.r(t),n.d(t,"mtopRequestWithPrefetch",(function(){return J}));n(1);var r,o,i,a,s,u,c,d=function(){function e(e,t){this.defaultMiddlewares=e,this.instanceMiddlewares=[],this.coreMiddlewares=t}var t=e.prototype;return t.use=function(e){this.instanceMiddlewares.push(e)},t.execute=function(e){var t,n=(t=[].concat(this.defaultMiddlewares,this.instanceMiddlewares,this.coreMiddlewares),function(e,n){var r=-1;return function o(i){if(i<=r)return Promise.reject(new Error("next() should not be called multiple times in one middleware!"));r=i;var a=t[i]||n;if(!a)return Promise.resolve();try{return Promise.resolve(a(e,(function(){return o(i+1)})))}catch(e){return Promise.reject(e)}}(0)});return n(e)},e}(),l=function(){function e(e,t){this.onion=new d(e,t)}var t=e.prototype;return t.use=function(e){return this.onion.use(e),this},t.request=function(e){var t=this.onion,n={req:{options:e},res:null};return new Promise((function(e,r){t.execute(n).then((function(){var t=n.req.options,o=t.successHandler,i=t.errorHandler;if(o){var a=o(n.res)||{};if(a.ok||a.success||0===a.retType)return e(a);var s=i?i(a):a;return r(s)}e(n.res)})).catch((function(e){var t=n.req.options.errorHandler;t&&(e=t(e)),r(e)}))}))},e}();!function(e){e.AE="AE",e.Lazada="Lazada"}(r||(r={})),function(e){e.AE="24815441",e.Lazada="24677475"}(o||(o={})),function(e){e.AE="acs",e.Lazada="acs-m"}(i||(i={})),function(e){e.AE="pre-acs",e.Lazada="acs-wapa"}(a||(a={})),function(e){e.AE="",e.Lazada="lazada"}(s||(s={})),function(e){e.AE="aliexpress.com",e.AERu="aliexpress.ru"}(u||(u={})),function(e){e.SG="sg",e.ID="co.id",e.TH="co.th",e.VN="vn",e.MY="com.my",e.PH="com.ph"}(c||(c={}));var p=["sg","co.id","co.th","vn","com.my","com.ph"];var f=function(e,t){var n="";switch(e){case r.AE:n=t.AE;break;case r.Lazada:n=t.Lazada;break;default:n=t.AE}return n},h=function(e){return f(e,o)};function m(e){return void 0===e&&(e=window.location.host),t={isLazada:-1!==e.indexOf("lazada")},n=t.isLazada,o=void 0!==n&&n,i=r.AE,o&&(i=r.Lazada),i;var t,n,o,i}function v(e){return e||(e=m()),h(e)}var _,w=function(e){["prefix","subDomain","mainDomain"].forEach((function(t){window.lib.mtop.config[t]=e[t]||""}))},g={api:"",v:"1.0",ecode:0};window.__isSSR||(_=n(2).default);var y=function(e){var t="";if(e===r.Lazada)t=p.filter((function(e){return-1!==window.location.host.indexOf(e)}))[0]||"";else t=/aliexpress\.ru/.test(window.location.host)?u.AERu:u.AE;return t},b=function(e,t){if(!e)return t();var n=m(),o=function(e){void 0===e&&(e=window.location.href);var t={},n=null,r=/[?&](.*?)=([^&#]*)/g;for(n=r.exec(e);n;){try{t[n[1]]=decodeURIComponent(n[2])}catch(e){try{t[n[1]]=unescape(n[2])}catch(e){t[n[1]]=n[2]}}n=r.exec(e)}return t}(),u={},c=f(n,i),d=o._prefix_;if(d?c="true"===d?f(n,a):d:"pre"===e.req.options._env_&&(c=e.req.options._prefix_||f(n,a)),["_env_","_prefix_"].forEach((function(t){e.req.options[t]&&delete e.req.options[t]})),u.prefix=c,n===r.AE&&d){var l=o._projectTag_,p=o._dpath_;l&&(e.req.options.tb_eagleeyex_scm_project=l),p&&(e.req.options.tb_eagleeyex_dpath_env=p)}return u.subDomain=f(n,s),u.mainDomain=y(n),e.req.libMtopConfig=u,t()};var S=[b],E=[function(e,t){if(!e||!_)return t();_.config=function(){console.warn("Disable overwriting of window.lib.mtop.config")};var n=e.req,r=(void 0===n?{}:n).libMtopConfig,o=void 0===r?{}:r,i=Object.assign(Object.assign({},g),e.req.options);return w(o),_.request(i).then((function(t){e.res=t})).catch((function(e){throw e}))}],O=[].concat([function(e,t){if(!e)return t();var n=e.req,r=(void 0===n?{}:n).options;return(void 0===r?{}:r).appKey||(e.req.options.appKey=v()),t()}]);O=O.concat(S);var R=function(){var e=new l(O,E),t=function(t){return e.request(t)};return t.use=e.use.bind(e),t};var x=function(){var e=/AliApp\(AE/.test(window.navigator.userAgent)&&!!window.WindVane;window.lib&&window.lib.mtop&&(window.lib.mtop.config=window.lib.mtop.config||{},window.lib.mtop.config.H5Request=!e,window.lib.mtop.config.WindVaneRequest=e,window.__nativecb=function(){})};window.lib&&window.lib.mtop||window.__isSSR||n(3);var A=[function(e,t){if(!e)return t();var n=e.req,r=(void 0===n?{}:n).options;return(void 0===r?{}:r).appKey||(e.req.options.appKey=v()),t()},b],q=[function(e,t){if(!e)return t();var n=e.req,r=(void 0===n?{}:n).libMtopConfig,o=void 0===r?{}:r,i=Object.assign(Object.assign({},g),e.req.options);if(window.lib&&window.lib.mtop)return w(o),x(),window.lib.mtop.request(i).then((function(t){e.res=t})).catch((function(e){throw e}));console.error("window.lib.mtop undefined!")}],N=function(){var e=new l(A,q),t=function(t){return e.request(t)};return t.use=e.use.bind(e),t};function T(){T=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function c(e,t,n,o){var i=t&&t.prototype instanceof p?t:p,a=Object.create(i.prototype),s=new R(o||[]);return r(a,"_invoke",{value:b(e,n,s)}),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l={};function p(){}function f(){}function h(){}var m={};u(m,i,(function(){return this}));var v=Object.getPrototypeOf,_=v&&v(v(x([])));_&&_!==t&&n.call(_,i)&&(m=_);var w=h.prototype=p.prototype=Object.create(m);function g(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function y(e,t){function o(r,i,a,s){var u=d(e[r],e,i);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?t.resolve(l.__await).then((function(e){o("next",e,a,s)}),(function(e){o("throw",e,a,s)})):t.resolve(l).then((function(e){c.value=e,a(c)}),(function(e){return o("throw",e,a,s)}))}s(u.arg)}var i;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return i=i?i.then(r,r):r()}})}function b(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=S(a,n);if(s){if(s===l)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=d(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===l)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function S(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),l;var o=d(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,l;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function x(e){if(e||""===e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(s&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},e}var C,L=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function s(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},P=void 0!==window.pha;x();var k=N();function J(e,t){return L(this,void 0,void 0,T().mark((function n(){var r;return T().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r=e,(null==t?void 0:t.prefetchKey)&&(r=Object.assign({},{prefetchKey:null==t?void 0:t.prefetchKey},e)),!P||!C){n.next=4;break}return n.abrupt("return",C(r));case 4:return n.abrupt("return",k(r));case 5:case"end":return n.stop()}}),n)})))}P&&(C=R());t.default=k}]);; (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/universal-mtop@6/index", [], function(require, exports, module) {module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=1)}([function(e,t){e.exports=require("@ali/rax-pkg-universal-env/index")},function(e,t,n){e.exports=n(2)},function(e,t,n){"use strict";n.r(t),n.d(t,"request",(function(){return j}));var r=n(0),i="__UNIVERSAL_MTOP_APPEND_LIB_MTOP_IN_BROWSER__";function o(){if(!r.isWeb)throw Error("\u975e\u6d4f\u89c8\u5668\u73af\u5883\u4e0d\u80fd\u63d2\u5165 lib-mtop.js");return window[i]||(window[i]=new Promise((function(e,t){if(window.lib&&window.lib.mtop)return e(lib.mtop);var n=document.createElement("script");n.src="//g.alicdn.com/mtb/lib-mtop/2.7.0/mtop.js",n.async=!0,n.crossOrigin="anonymous",n.onerror=function(){delete window[i],t(new Error("\u52a0\u8f7d lib-mtop.js \u5931\u8d25"))},n.onload=function(){window.lib&&window.lib.mtop?e(lib.mtop):(delete window[i],t(new Error("\u672a\u68c0\u6d4b\u5230\u5168\u5c40 mtop \u53d8\u91cf\uff0c\u8bf7\u68c0\u67e5 lib-mtop.js")))},function(e){(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]||document.firstElementChild||document).appendChild(e)}(n)}))),window[i]}var a={ERROR:-1,SUCCESS:0,TOKEN_EXPIRED:1,SESSION_EXPIRED:2};function s(){var e=!1;if(r.isWeb){var t=window.navigator.userAgent,n=t.match(/WindVane[\/\s]([\d\.\_]+)/)&&t.match(/WindVane[\/\s]([\d\.\_]+)/)[1];window.lib&&window.lib.windvane&&parseFloat(n)>5.4&&(e=!0),t.indexOf("youku")>-1&&location.hostname.indexOf("youku.com")<0&&(e=!1),location.hostname.indexOf("youku.com")>-1&&t.indexOf("youku")<0&&(e=!1),window.self!==window.top&&(e=!1)}return e}function c(e,t,n){if(!s())throw Error("\u5f53\u524d web \u73af\u5883\u4e0d\u80fd\u53d1\u9001 windvane \u8bf7\u6c42");e.param=e.data||e.param,"POST"===e.type&&(e.post="1"),"json"!==e.dataType&&"originaljsonp"!==e.dataType&&"original"!==e.valueType||(e.type="originaljson",delete e.dataType),e.sessionOption||(!0===e.needLogin?e.sessionOption="AutoLoginAndManualLogin":e.sessionOption="AutoLoginOnly"),Object.assign&&e.dangerouslySetWindvaneParams&&(Object.assign(e,e.dangerouslySetWindvaneParams),delete e.dangerouslySetWindvaneParams);var r=function(e){"string"==typeof e&&(e=JSON.parse(e)),e.retType===a.SUCCESS||e.ret&&e.ret[0].indexOf("SUCCESS")>-1?t&&t(e):n&&n(e)};lib.windvane.call("MtopWVPlugin","send",e,r,r)}function p(e){var t=e.ret||"";return Array.isArray(t)&&(t=t.join(",")),t.indexOf("SUCCESS")>-1?a.SUCCESS:t.indexOf("TOKEN_EMPTY")>-1||t.indexOf("TOKEN_EXOIRED")>-1?a.TOKEN_EXPIRED:t.indexOf("SESSION_EXPIRED")>-1||t.indexOf("SID_INVALID")>-1||t.indexOf("AUTH_REJECT")>-1||t.indexOf("NEED_LOGIN")>-1?a.SESSION_EXPIRED:a.ERROR}function u(e,t,n){var r=function(){try{return __weex_require__("@weex-module/mtop")}catch(e){console.warn("Mtop require error")}}(),i=function(){try{return __weex_require__("@weex-module/windvane")}catch(e){console.warn("Windvane require error")}}();if(r){e.dataType&&/^(original){0,1}jsonp$/.test(e.dataType)&&(e.dataType=e.dataType.replace("jsonp","json"));var o=setTimeout((function(){n({ret:["TIMEOUT::\u63a5\u53e3\u8d85\u65f6"],retType:a.ERROR})}),e.timeout||2e4);r.request(e,(function(e){clearTimeout(o),e.retType=p(e),e&&e.MP_TIME_OUT?n({ret:["TIMEOUT::\u63a5\u53e3\u8d85\u65f6"],retType:-1}):t(e)}),(function(e){clearTimeout(o),e.retType=p(e),n(e)}))}else i?(e.param=e.data||e.param,"POST"===e.type&&(e.post="1"),i.call({class:"MtopWVPlugin",method:"send",data:e},(function(e){"string"==typeof e&&(e=JSON.parse(e)),e.retType===a.SUCCESS||e.ret&&e.ret[0].indexOf("SUCCESS")>-1?t&&t(e):n&&n(e)}))):n&&n("Windvane & Mtop require error")}var l={render:"rx_render_err",data:"rx_data_fetch_err",error:"rax_error"},f=function(e){var t=r.isNode||"undefined"==typeof location?"":location.href||"",n=l[e.type]||(e.type?e.type+"/":"")+"rx_user_define_err",i=[t.replace(/[\?#].*$/,"").replace(/\/$/,""),e.module||"",n].join("/").toLowerCase();return r.isWeex?encodeURIComponent(i):i},d=0,m={screen:"undefined"==typeof screen?"0x0":(screen&&screen.width)+"x"+(screen&&screen.height),sampling:1,version:"rx-tracker/3.0.7",native:r.isWeex?1:0,isInWindmill:0},y="/jstracker.3";function g(e){if(++d>20&&r.isWeb)return!1;var t=Object.assign({url:f(e)},m,e);if(t.sampling=(r.isNode||"undefined"==typeof location?"":location.href).indexOf("jt_debug=1")>-1?1:t.sampling,function(){if(r.isWeb&&"undefined"!=typeof goldlog&&window.JSTracker2&&window.JSTracker2.push)return!0;return!1}())window.JSTracker2.push(t);else if(Math.random()*t.sampling<1)if(r.isWeex){var n;try{n=__weex_require__("@weex-module/userTrack")}catch(e){}var i="undefined"!=typeof __weex_options__&&__weex_options__.weex,o=r.isWeex&&"object"==typeof i&&i.config&&"windmill"===i.config.container||!1,a=!1;if(o)try{var s=__weex_require__("@weex-module/keyboard");"function"==typeof s.hideKeyboard&&(a=!0)}catch(e){}n.commitEvent&&(o&&a?(t.isInWindmill="weex",n.commitEvent({eventId:"19999",eventid:"19999",name:location.href,pageName:location.href,arg1:y,arg2:"",arg3:"",param:t,params:t})):n.commitEvent(location.href,"19999",y,"","",t))}else r.isWeb&&"undefined"!=typeof goldlog?(t.grey=function(e){if(document&&document.querySelector){var t=document.querySelector('meta[name="'+e+'"]');if(t)return t.getAttribute("content")}return""}("def-grey"),"undefined"!=typeof aplus&&(t=function(e){var t="";if("object"==typeof e)for(var n in e)""!=t&&(t+="&"),t+=n+"="+encodeURIComponent(e[n]);else t=e;return t}(t)),goldlog.send&&goldlog.send("//gm.mmstat.com"+y,t)):function(){if("undefined"!=typeof my&&my.getSystemInfoSync&&"function"==typeof my.getSystemInfoSync&&("TB"===my.getSystemInfoSync().app||"alipay"===my.getSystemInfoSync().app))return!0;return!1}()&&(t.isInWindmill="web",function(e){my.request&&"function"==typeof my.request?my.request({url:"https://gm.mmstat.com"+y,method:"GET",data:e,dataType:"text"}).catch((function(){})):my.httpRequest&&"function"==typeof my.httpRequest&&my.httpRequest({url:"//gm.mmstat.com"+y,method:"get",data:e,dataType:"json"})}(t))}var w,v={report:g,reportError:function(e,t,n){var r={};e&&e instanceof Error&&(r={stack:JSON.stringify(e.stack),name:e.name,message:e.message,type:"error",module:t},n&&(r.reverse1=n),g(r))},reportApi:function(e,t){e&&e.url&&(e.type="api",e.module=t,e.sampling=e.sampling||"100",g(e))},setConfig:function(e){e&&e.sampling&&(m.sampling=e.sampling),e&&e.pid&&(m.pid=e.pid)}};function b(e){var t=e||{},n=t.api,i=void 0===n?"":n,o=t.v,a=void 0===o?"":o,s=t.miniAppID,c=t.trackerConfig,p=i+"/"+a;r.isMiniApp&&(p=(s?"UN_MINIAPP/"+s:"UN_MINIAPP")+"/"+p);return c&&c.requestCode&&(p+="/"+c.requestCode),p.toLowerCase()}function S(e){var t="",n=e||{},r=n.data,i=n.trackerConfig,o=!(i&&!0===i.disableParmas);return r&&o&&(t="object"==typeof r?JSON.stringify(r):r),t}function _(e,t){var n=!0===e?100:1;return(t.trackerConfig||{}).sampling||n}function O(e){var t,n=e.params,r=e.state,i=e.begin,o=e.startTime,a=e.apiType,s=e.apiTypeState,c=e.apiTypeMsg,p=e.result;try{if(!n.disableTracker&&v&&v.report){var u,l,f=r,d=(null==(t=(n||{}).trackerConfig)?void 0:t.collectionUrl)||"";!f&&function(e,t){var n=(e||{}).trackerConfig,r=null==n?void 0:n.filterErrorMsg,i=!1;if(t&&r&&"function"==typeof r)try{i=r(t)}catch(e){}return i}(n,p)&&(f=!0);var m={api:b(n),success:f,params:S(n),timing:Date.now()-i,st:o,sampling:_(f,n),message:!f&&p?JSON.stringify(p):"mtop\u8c03\u7528",type:"mtop_perf",falcoId:(null==p||null==(u=p.stat)?void 0:u.falcoId)||"",traceId:(null==p||null==(l=p.stat)?void 0:l.eagleEyeTraceId)||"",apiType:a||1,apiTypeState:s||!1,apiTypeMsg:c||""};d&&(m.collection_url=d),v.report(m)}}catch(e){console.warn("log send error")}}var T=function(e){return new Promise((function(t,n){var r,i=Object.assign({},e,{apiName:e.api,apiVersion:e.v,needEcodeSign:"1"===String(e.ecode)});r=e.data,"[object Object]"!={}.toString.call(r)&&(i.data=JSON.parse(e.data)),Object.assign&&e.dangerouslySetAlipayParams&&Object.assign(i,e.dangerouslySetAlipayParams),"alipay"===e.miniAppType||"alipay"===(w||(w=my.getSystemInfoSync()),w).app?("POST"===e.type&&(i.usePost=!0),(e.originaljsonp||e.json)&&(i.type="originaljson"),void 0!==e.valueType&&("original"===e.valueType?i.type="originaljson":"string"===e.valueType&&delete i.type),!0===e.useJsonpResultType&&delete i.type,my.call("mtop",i,(function(e){if(Array.isArray(e.ret)){var r=!0;for(var i in e.ret)/^SUCCESS::/.test(e.ret[i])||(r=!1);r?t(e):n(e)}else n(e)}))):(i.method=e.type,i.success=function(e){t(e)},i.fail=function(e){n(e)},my.sendMtop(i))}))};function E(){return E=Object.assign?Object.assign.bind():function(e){for(var t=1;t-1)&&void 0!==e[i]&&""!==e[i]&&r.push(i+"-"+(n?encodeURIComponent(e[i]):e[i]));r.sort()}else r=[];return r.join("_")}(e.data,e.requiredParams,e.encodeParam)),console.warn("\u6ce8\u610f\uff1a\u6cf0\u5c71\u5bb9\u707e\u5df2\u7ecf\u4e0b\u7ebf\uff0c\u8bf7\u8bbe\u7f6e fallback \u53c2\u6570\u81ea\u5b9a\u4e49\u515c\u5e95 CDN \u5730\u5740\uff0c\u6216\u81ea\u884c\u5b9e\u73b0"),"//fallback.alicdn.com/mtop/"+e.api+"_"+(e.v||"1.0")+"/"+t}function P(e,t,n){o().then((function(){Object.assign(lib.mtop.config,h),lib.mtop.request(e,t,n)})).catch(n)}function I(e,t,n){return function(r){e&&e(r),t&&t(r),n&&n(r)}}function j(e,t,n){var i,o=!1;return"function"!=typeof t&&"function"!=typeof n||console.error("Mtop Error: request \u65b9\u6cd5\u4ec5\u652f\u6301 Promise \u94fe\u5f0f\u8c03\u7528\u65b9\u5f0f\uff01"),e&&(void 0===e.preventFallback&&(e.preventFallback=!0),i=e.fallback,delete e.fallback),new Promise((function(t,n){var a,p,l,f,d,m=Date.now(),y=(d=-1,r.isWeb&&window.performance&&window.performance.now&&(d=window.performance.now()),d),g=function(e){return t(e)},w=I((function(t){O({params:e,startTime:y,begin:m,state:!0,result:t})}),g),v=I((function(t){t&&(t.api||t.v)||(t={api:e.api,v:e.v,data:{},ret:t.ret||["FAIL::"+(JSON.stringify(t)||"")],retType:-1}),void 0===t.retType&&(t.retType=-1),O({params:e,startTime:y,begin:m,state:!1,result:t})}),(function(a){var s=a.ret;return s instanceof Array&&(s=s.join(",")),o&&(s.indexOf("PARAM_PARSE_ERROR")>-1||s.indexOf("HY_FAILED")>-1||s.indexOf("HY_NO_HANDLER")>-1||s.indexOf("HY_CLOSED")>-1||s.indexOf("HY_EXCEPTION")>-1||s.indexOf("HY_NO_PERMISSION")>-1)?(o=!1,e.H5Request=!0,P(e,w,v)):e&&(1==e.ecode||e.preventFallback||r.isMiniApp)?n(a):void function(e,t,n){return new Promise((function(r,i){"string"==typeof e.data&&(e.data=JSON.parse(e.data));var o="function"==typeof t?t(e):x(e),a=new XMLHttpRequest;a.open("get",o,!0),a.send(null),a.onreadystatechange=function(){if(4==this.readyState&&200==this.status)try{var e=JSON.parse(this.responseText);e&&e.success&&e.result&&!e.result.backup?i(n):r(e)}catch(e){i(n)}else 4==this.readyState&&i(n)}}))}(e,i,a).then((function(e){t(e)})).catch((function(e){n(e)}))}));if(!0===e.H5Request||r.isWeb&&!0===(null==(a=window)||null==(p=a.lib)||null==(l=p.mtop)||null==(f=l.config)?void 0:f.LibMtopRequest)||!0===h.LibMtopRequest||!0===e.LibMtopRequest)P(e,w,v);else if(r.isWeex)u(e,w,v);else if(r.isWeb)window.pha&&e.prefetchKey&&window.pha.dataPrefetch?function(e,t,n,r,i){window.pha.dataPrefetch.getData({key:e.prefetchKey},(function(i){O({params:e,startTime:n,begin:t,state:!0,apiType:2,apiTypeState:!0,apiTypeMsg:""}),r(i)}),(function(o){void 0===o&&(o={});var a=o.message;console.error("PHA \u9884\u8bf7\u6c42\u5931\u8d25 "+a+"\uff0c\u91cd\u8bd5 MTOP \u8bf7\u6c42\uff01");var p=function(i){O({params:e,startTime:n,begin:t,state:!0,apiType:2,apiTypeState:!1,apiTypeMsg:a}),r(i)};s()?c(e,p,i):P(e,p,i)}))}(e,m,y,I(null,g),v):s()?(o=!0,c(e,w,v)):P(e,w,v);else{if(!r.isMiniApp)throw Error("\u5f53\u524d\u5bb9\u5668\u6682\u4e0d\u652f\u6301\u4f7f\u7528\uff0c\u8bf7\u53cd\u9988 http://gitlab.alibaba-inc.com/ali-rax-pkg/universal-mtop/issues");T(e).then(w).catch(v)}}))}r.isWeb&&!s()&&o().catch((function(e){console.warn("Init lib-mtop.js failed",e)}));t.default={request:j,config:function(e,t){r.isWeex||r.isWeb&&("string"==typeof e?h[e]=t:h=window.lib&&window.lib.mtop?E({},lib.mtop.config,h,e):E({},h,e))},_getConfig:function(){if(r.isWeb&&window.lib&&window.lib.mtop)return E({},window.lib.mtop.config,h)},RESPONSE_TYPE:a,initLibMtopInBrowser:o}}]);;if ('default' in module.exports && Object.keys(module.exports).length === 2) { var m = module; m.exports = m.exports.default; m.exports.default = m.exports;}}); define("@ali/rax-pkg-universal-env/index", [], function(require, exports, module) {module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";e.exports=n(2)},function(e,t,n){"use strict";t.__esModule=!0;var r=n(3);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||(t[e]=r[e]))}))},function(e,t){e.exports=require("@ali/pnpm-uni--env@1/index")}]);; (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-uni--env@1/index", [], function(require, exports, module) {module.exports=function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="/",t(t.s=0)}([function(e,n,t){e.exports=t(1)},function(e,n,t){"use strict";e.exports=t(2)},function(e,n,t){"use strict";function r(e){return"undefined"===e}t.r(n),t.d(n,"isWeb",(function(){return o})),t.d(n,"isNode",(function(){return i})),t.d(n,"isWeex",(function(){return u})),t.d(n,"isKraken",(function(){return s})),t.d(n,"isMiniApp",(function(){return f})),t.d(n,"isByteDanceMicroApp",(function(){return a})),t.d(n,"isBaiduSmartProgram",(function(){return p})),t.d(n,"isKuaiShouMiniProgram",(function(){return l})),t.d(n,"isWeChatMiniProgram",(function(){return c})),t.d(n,"isQuickApp",(function(){return d}));var o=!r(typeof window)&&"onload"in window,i=!r(typeof process)&&!(!process.versions||!process.versions.node),u=!r(typeof WXEnvironment)&&"Web"!==WXEnvironment.platform,s=!r(typeof __kraken__),f=!r(typeof my)&&null!==my&&!r(typeof my.alert),a=!r(typeof tt)&&null!==tt&&!r(typeof tt)&&!r(tt.showToast),p=!r(typeof swan)&&null!==swan&&!r(typeof swan)&&!r(swan.showToast),l=!r(typeof ks)&&null!==ks&&!r(typeof ks)&&!r(ks.showToast),c=!(a||r(typeof wx)||null===wx||r(typeof wx.login)&&r(typeof wx.miniProgram)),d=!r(typeof global)&&null!==global&&!r(typeof global.callNative)&&!u;n.default={isWeb:o,isNode:i,isWeex:u,isKraken:s,isMiniApp:f,isByteDanceMicroApp:a,isBaiduSmartProgram:p,isKuaiShouMiniProgram:l,isWeChatMiniProgram:c,isQuickApp:d}}]);; (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-core-engine@0/index", [], function(require, exports, module) {module.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="/",r(r.s=0)}([function(t,e,r){t.exports=r(1)},function(t,e,r){"use strict";r.r(e);var n=Object.prototype.toString,o=function(t){return"[object Array]"===n.call(t)},i=function(t){return"[object Function]"===n.call(t)},a=function(t){return"[object String]"===n.call(t)};var c=[],u=!1;function s(){u=!1;var t=c.slice(0);c.length=0;for(var e=0;e1?n-1:0),i=1;i=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:k(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},t}var g=function(t,e,r,n){return new(r||(r=Promise))((function(o,i){function a(t){try{u(n.next(t))}catch(t){i(t)}}function c(t){try{u(n.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,c)}u((n=n.apply(t,e||[])).next())}))},m=function(){function t(t){this.tb=t.tb,this.event=new v(t)}var e=t.prototype;return e.hook=function(t,e,r){var n={time:Date.now(),params:arguments.length>1?Array.prototype.slice.call(arguments).pop():void 0};return a(t)&&i(e)?this.event.$on(t,e,r):this.$emit(t,n)},e.$emit=function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),o=1;o=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function b(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:k(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},t}var k=function(t,e,r,n){return new(r||(r=Promise))((function(o,i){function a(t){try{u(n.next(t))}catch(t){i(t)}}function c(t){try{u(n.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,c)}u((n=n.apply(t,e||[])).next())}))},P=0,T=function(){function t(t){this.middlewares=t.tubes||[],this.tb=t.tb,this.effects=this.middlewaresToEffects(this.middlewares),this.customProperties={}}var e=t.prototype;return e.run=function(){var t=this.effectsToLoop(this.effects);this.tb.schedule.insert(t)},e.middlewaresToEffects=function(t){return t.map((function(t){var e=o(t)?t:[t];return{id:P++,middlewares:e}}))},e.parallel=function(t,e){var r=this,n=t.map((function(t){var n=null;try{t.ctx=new O(r,e,t),n=t.handler.call(t.ctx,Object.assign(Object.assign({},t.config),r.tb.config))}catch(t){n=Promise.reject(t)}return Promise.resolve(n).catch((function(e){return f(e,'"'+t.name+'" tube',r.tb)}))}));return Promise.all(n)},e.effectsToLoop=function(t){var e=this;return t.map((function(t){var r=function(){return k(this,void 0,void 0,j().mark((function r(){return j().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,e.parallel(t.middlewares,t);case 2:case"end":return r.stop()}}),r)})))};return r.effect=t,r}))},e.insertTasksByEffects=function(t){var e=this;return function(r){if(r){r=r.filter((function(r){return(!t||r.id>t.id)&&!e.tb.schedule.pending_queue.find((function(t){return r.id===t.effect.id}))}));var n=e.effectsToLoop(r);e.tb.schedule.insert(n)}}},e.disableMethods=function(t){for(var e=this.effects.filter((function(e){return!t||e.id>t.id})),r=0,n=e.length;r=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:j(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},t}var N=function(t,e,r,n){return new(r||(r=Promise))((function(o,i){function a(t){try{u(n.next(t))}catch(t){i(t)}}function c(t){try{u(n.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,c)}u((n=n.apply(t,e||[])).next())}))},A=function(){function t(t){var e;this.flushSchedulerQueue=(e=null,function(){var t=this;return e||(e=function(t,e){var r;if(c.push((function(){t?t.call(e):r(e)})),u||(u=!0,Promise.resolve().then(s)),!t)return new Promise((function(t){r=t}))}().then((function(){return e=null,t.run()})))}),this.tb=t.tb,this.pending_queue=[],this.status={NOWAIT:!0,defer:Promise.resolve(),suspend_count:0}}var e=t.prototype;return e.insert=function(t){var e;return t=o(t)?t:[t],(e=this.pending_queue).push.apply(e,t),this.status.NOWAIT?this.flushSchedulerQueue():this.status.defer},e.run=function(){var t=this;if(this.status.suspend_count)return this.status.defer;var e=this;return this.status.NOWAIT=!1,this.status.defer=function t(){return N(this,void 0,void 0,S().mark((function r(){var n;return S().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!e.status.NOWAIT){r.next=2;break}return r.abrupt("return");case 2:if(e.pending_queue.sort((function(t,e){return t.effect.id-e.effect.id})),n=e.pending_queue.shift()){r.next=6;break}return r.abrupt("return",e.status.NOWAIT=!0);case 6:return r.next=8,Promise.resolve(n());case 8:return r.abrupt("return",t());case 9:case"end":return r.stop()}}),r)})))}(),this.status.defer.catch((function(e){f(e,"Schedule Loop",t.tb)}))},e.suspend=function(){this.status.suspend_count++,this.status.NOWAIT=!0},e.resume=function(){0==--this.status.suspend_count&&this.flushSchedulerQueue()},e.clear=function(){this.pending_queue=[],this.status.suspend_count=0},t}(),G={ALL:-1/0,DEBUG:0,INFO:1,WARN:2,ERROR:3,FATAL:4,NONE:1/0},$=function(){function t(t){this.level=G[t],this.levelStr=t}return t.prototype.isLessThan=function(t){return"string"==typeof t&&(t=G[t.toUpperCase()]),this.level=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:j(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},t}var Z=function(t,e,r,n){return new(r||(r=Promise))((function(o,i){function a(t){try{u(n.next(t))}catch(t){i(t)}}function c(t){try{u(n.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,c)}u((n=n.apply(t,e||[])).next())}))},J=function(){function t(t){void 0===t&&(t={}),this._version="0.1.0",this.config=t.config||{},this.schedule=new A({tb:this}),this.store=new d({disableReactive:t.disableReactive}),this.event=new v({tb:this}),this.hook=new m({tb:this}),this.logger=new H(t.logger),this.plugin=new x({plugins:t.plugins,tb:this}),this.middleware=new T({tubes:t.tubes,tb:this})}return t.prototype.run=function(){return Z(this,void 0,void 0,z().mark((function t(){return z().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:this.plugin.init(),this.middleware.run(),this.logger.getLogger("core-engine","core").info("/tubes.engine.coverage","platform="+this.config.platform+"&version="+this._version);case 3:case"end":return t.stop()}}),t,this)})))},t}();e.default=J}]);; (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-responsive@0/index", [], function(require, exports, module) {module.exports=function(n){var e={};function t(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return n[i].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=n,t.c=e,t.d=function(n,e,i){t.o(n,e)||Object.defineProperty(n,e,{enumerable:!0,get:i})},t.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},t.t=function(n,e){if(1&e&&(n=t(n)),8&e)return n;if(4&e&&"object"==typeof n&&n&&n.__esModule)return n;var i=Object.create(null);if(t.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:n}),2&e&&"string"!=typeof n)for(var o in n)t.d(i,o,function(e){return n[e]}.bind(null,o));return i},t.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(e,"a",e),e},t.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},t.p="/",t(t.s=2)}([function(n,e){n.exports=require("@ali/gcom-aec-env/index")},function(n,e){n.exports=require("@ali/gcom-aec-utils/index")},function(n,e,t){n.exports=t(3)},function(n,e,t){"use strict";t.r(e),t.d(e,"plugin",(function(){return l})),t.d(e,"tube",(function(){return i}));var i=function(){},o=t(0),r=t(1);function d(){return window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth}var l=function(){var n,e;if(o.isMobile)return null;var t,i,l,u=Object(r.getAEInfo)().isRtl,a=0,c=function(){var n=document.getElementById("content");n&&(u?(n.style.paddingRight="0px",n.style.paddingLeft=a+"px"):(n.style.paddingLeft="0px",n.style.paddingRight=a+"px"));var e=d()-a;window.initialAvaiableWidth=e;var t=new CustomEvent("availableWidthChanged",{detail:e});window.dispatchEvent(t)};(null===(n=null===window||void 0===window?void 0:window._global_header_23_config_)||void 0===n?void 0:n.hideShopCart)?a=d()>1280&&(null===(e=null===window||void 0===window?void 0:window._global_header_23_config_)||void 0===e?void 0:e.sideCartWidth)?400:360:document.addEventListener("cart_show",(function(n){var e,t=n.detail,i=null!==(e=null==t?void 0:t.width)&&void 0!==e?e:208;a=d()>1280&&(null==t?void 0:t.show)?i:0,c()})),c(),window.initialAvaiableWidth=d()-a,window.addEventListener("resize",(t=function(){var n;a=(null===(n=null===window||void 0===window?void 0:window._global_header_23_config_)||void 0===n?void 0:n.hideShopCart)?d()>1280?400:360:d()>1280?208:0,c()},i=40,l=null,function(){for(var n=this,e=arguments.length,o=new Array(e),r=0;r":"no owner")+"."+o)}function W(n,t){throw D("Error",n,t)}function U(n,t){var r=D("Warn",n,t);_((function(){throw r}),0)}var O={key:!0,ref:!0};function I(n,t,i){var o,u={},f=null,c=null;if(null!=t)for(o in c=void 0===t.ref?null:t.ref,f=void 0===t.key?null:""+t.key,t)O[o]||(u[o]=t[o]);var l=arguments.length-2;if(l>0)if(1!==l||s(i)){var a=i;if(l>1){a=Array(l);for(var p=0;p=0;i--){var o=t.T[e[i]].W();if(!s(o))return o;if(o.length>0)return o[o.length-1]}if(!(t instanceof r.I))return null;n=t}}var an=function(){function n(n){this.Z=n}var t=n.prototype;return t.$=function(n,t,e){this._parent=n,this.m=t,this._context=e,this._mountID=r.t++},t.q=function(){this.Z=this[E]=this._parent=this.m=this._context=null,this[H]&&(this[H]=this[H][S]=null)},t.R=function(n,t,r,e){this.$(n,t,r),this.B(e);var i={};return i[S]=this,i},t.unmountComponent=function(n){this[E]&&!n&&r.driver.removeChild(this[E],this._parent),this.q()},t.u=function(){var n=this.Z,t=n&&n.type;return t&&t.displayName||t&&t.name||t||n},t.B=function(n){var t=this.W(),e=this._parent;n?n(t,e):r.driver.appendChild(t,e)},t.W=function(){return null==this[E]?this[E]=this.F():this[E]},t.N=function(){return this.W()},n}(),hn=Object.assign,pn="style",vn="children",dn="tree",mn=/^on[A-Z]/,yn=function(n){function t(){return n.apply(this,arguments)||this}Y(t,n);var e=t.prototype;return e.R=function(n,t,r,e){this.$(n,t,r);var i=this.Z,o=i.props,u=i.type,f=o[vn],s=o.append||dn;this.G=hn({},o[pn]);var c={type:u,props:o};return c[S]=this,this[H]=c,s===dn?(this.J(f,r),this.B(e)):(this.B(e),this.J(f,r)),i&&i.ref&&un(i._owner,i.ref,this),c},e.J=function(n,t){if(null==n)return n;var r=this.W();return this.K(r,$(n),t)},e.K=function(n,t,r,e){for(var i=this.T={},o=[],u=0,f=t.length;u-1&&!(t=i[r](e.props,n));r--);return!t||e.cn!==e._forwardRef}),e}Y(t,n);var r=t.prototype;return r.getHooks=function(){return this.on},r.getHookID=function(){return++this.un},r.useContext=function(n){var t=this,r=n._contextID,e=this.sn[r];if(!e){var i=n.an(this);if(e=this.sn[r]={vn:i},i){var o=function(n){e.ln!==n&&(t.v=!0,t.h())};i.pn(o),this.willUnmount.push((function(){return i.dn(o)}))}}return e.ln=e.vn?e.vn.getValue():n._defaultValue},r.componentWillMount=function(){this.v=!0},r.componentDidMount=function(){j(this.didMount)},r.componentWillReceiveProps=function(){this.v=!0},r.componentDidUpdate=function(){j(this.didUpdate)},r.componentWillUnmount=function(){j(this.willUnmount)},r.h=function(){this.setState(p)},r.render=function(){this.un=0,this.fn=0,this.o=!1;for(var n=this.rn(this.props,this._forwardRef?this._forwardRef:this.context);this.o;)this.fn++,this.fn>24&&W(4),this.un=0,this.o=!1,n=this.rn(this.props,this._forwardRef?this._forwardRef:this.context);return this.v&&(this.en=n,this.v=!1),this.en},t}(z),_n=[];function wn(n){return n._n}function Cn(n){var t=n[S];if(t){r.i=!0;var e=t.Z,i=t._context,o=t.H||i;t.H=void 0,(wn(t)||t.xn)&&(t.M(e,e,i,o),w(g)),r.i=!1}}function xn(n,t){return t[S]._mountID-n[S]._mountID}function bn(){if(r.i)return C(bn);var n,t=_n;if(t.length>0)for(k(),_n=[],t.length>1&&(t=t.filter((function(n){return!!n[S]})).sort(xn));n=t.pop();)Cn(n)}function kn(n,t){if(_n.indexOf(n)<0&&_n.push(n),t){if(_n.length>1)return;C(bn)}else bn()}function Rn(n,t,r){var e=n[S];if(e){r&&function(n,t){var r=function(n){return n.wn}(n)||function(n){return n.wn=[]}(n);r.push(t)}(e,r);var i=e[T];t?(n.tn&&(e.xn=!0),function(n,t){var r=wn(n)||function(n){return n._n=[]}(n);r.push(t)}(e,t),!e.bn&&i&&kn(n,!0)):(e.xn=!0,i&&kn(n))}}var Dn={setState:function(n,t,e){r.i||k(),Rn(n,t,e)},forceUpdate:function(n,t){Rn(n,null,t)}};function Wn(n,t,r){try{return n()}catch(n){r?r(n):function(n,t){var r=q(n,(function(n){return n.componentDidCatch||n.constructor&&n.constructor.getDerivedStateFromError}));r?R((function(){var n=r[S];n&&Wn((function(){if(r.componentDidCatch&&r.componentDidCatch(t),r.constructor&&r.constructor.getDerivedStateFromError){var n=r.constructor.getDerivedStateFromError(t);r.setState(n)}}),n.m)})):_((function(){throw t}),0)}(t,n)}}function Un(n,t){R((function(){Wn(n,t)}))}function On(n,t){n&&Un((function(){j(n,t)}),t)}var In=function(n){function t(){return n.apply(this,arguments)||this}Y(t,n);var e=t.prototype;return e.R=function(n,t,e,i){this.$(n,t,e);var u,f,s=this.Z,c=s.type,l=s.ref,a=s.props,h=c.prototype,p=this.yn(e);if(Wn((function(){h&&h.render?u=new c(a,p):o(c)?u=new gn(c,l):W(6,c)}),t),u){u.props=a,u.context=p,u.refs={},u.updater=Dn,u[S]=this,this[H]=u;var v=u.state;void 0===v&&(u.state=v=null),u.componentWillMount&&Wn((function(){u.componentWillMount()}),u),r.owner=this,u.state=this.jn(a,p);var d=this.wn;return this.wn=null,Wn((function(){f=u.render()}),u),r.owner=null,this[T]=K(f),this[T].R(this._parent,u,this.U(e),i),!s.type._forwardRef&&l&&un(s._owner,l,this),u.componentDidMount&&Un((function(){u.componentDidMount()}),u),On(d,u),u}},e.unmountComponent=function(n){var t=this[H];if(t&&t.componentWillUnmount&&Wn((function(){t.componentWillUnmount()}),t),null!=this[T]){var r=this.Z,e=r.ref;!r.type._forwardRef&&e&&fn(r._owner,e,this),this[T].unmountComponent(n),this[T]=null}this._n=null,this.xn=!1,this.q()},e.yn=function(n){var t={},r=this.Z.type.contextTypes;if(r)for(var e in r)t[e]=n[e];return t},e.U=function(n){var t=this[H],r=t.getChildContext&&t.getChildContext();return r?hn({},n,r):n},e.jn=function(n,t){var r=this[H],e=this._n;if(!e)return r.state;this._n=null;for(var i=hn({},r.state),u=0;u0)for(var h=0;h0)for(var o=n-1;o>=r;o--)t.removeChild(t.childNodes[o]);for(var i=t.childNodes.length-1;i>=0;i--)e(t.childNodes[i])}(t),p=!1)}function z(e){e.textContent=""}var Z="true"==function(e){for(var t=window.location.search.substring(1).split("&"),n=0;n5&&($.warn("[lineHeight \u6837\u5f0f\u5f02\u5e38]\uff1a"+t.lineHeight+"\uff0c\u8bf7\u4f7f\u7528\u6807\u51c6\u7684\u884c\u9ad8\u5b9a\u4e49\u65b9\u5f0f\uff0c\u4f8b\u5982 line-height:1 \u6216\u8005 line-height: 30rpx"),t.lineHeight=t.lineHeight+"rpx"),t};function J(){return(J=Object.assign||function(e){for(var t=1;t=0||(i[t]=e[t]);return i}(e,f),l=s;return c&&(l=function(e){s&&s(e),t.current&&t.current.triggeredAppear||(c&&c(e),t.current={triggeredAppear:!0})}),Object(i.createElement)("div",p({},u,{onAppear:l,ref:r,className:a()("rax-view-v2",n),style:Object.assign({},y(a()("rax-view-v2",n)),o)}))}))),g=["className","style","onFirstAppear","onAppear"];function h(){return h=Object.assign||function(e){for(var r=1;r=0||(i[t]=e[t]);return i}(e,g),f=s;c&&(f=function(e){s&&s(e),t.current&&t.current.triggeredAppear||(c&&c(e),t.current={triggeredAppear:!0})});var p="object"==typeof __weex_v2__;return Object(i.createElement)("div",h({},u,{onAppear:f,ref:r,className:a()(p?"rax-view-v2":"",n),style:Object.assign({},m(a()(p?"rax-view-v2":"",n)),o)}))}))),w=["className","style","onFirstAppear","onAppear"];function A(){return A=Object.assign||function(e){for(var r=1;r=0||(i[t]=e[t]);return i}(e,w);return Object(i.createElement)("view",A({},u,{onAppear:s,onDisappear:u.onDisappear,onFirstAppear:c,ref:r,className:a()("rax-view-v2",n),style:Object.assign({},E(a()("rax-view-v2",n)),o)}))}))),N=["className","style","onFirstAppear","onAppear","onDisappear"];function S(){return S=Object.assign||function(e){for(var r=1;r=0||(i[t]=e[t]);return i}(e,N);Object(i.useEffect)((function(){if("function"==typeof u||"function"==typeof s||"function"==typeof f){if(e.id){var r=document.getElementById(e.id);if(null!=r&&r._internal){var n=function(){t.observer=r._internal.createIntersectionObserver().relativeToViewport(),t.observer.observe("#"+e.id,(function(e){var r=e.intersectionRatio;(void 0===r?0:r)>0?("function"==typeof u&&u(e),"function"==typeof s&&(t.triggeredAppear||(s(e),t.triggeredAppear=!0,"function"!=typeof u&&"function"!=typeof f&&t.observer.disconnect()))):"function"==typeof f&&f(e)})),window.removeEventListener("setDataFinished",n)};window.addEventListener("setDataFinished",n)}return function(){t.observer&&t.observer.disconnect()}}console.warn("id is required if using onAppear in wechat miniprogram!")}}),[e.id,u,f]);var l=u;return s&&(l=function(e){u&&u(e),t.triggeredAppear||(s&&s(e),t.triggeredAppear=!0)}),Object(i.createElement)("div",S({},p,{onAppear:l,onDisappear:f,ref:r,className:a()("rax-view-v2",o),style:Object.assign({},D(a()("rax-view-v2",o)),c)}))}))),L=null;L=n.isWeb?b:n.isMiniApp?P:n.isWeChatMiniProgram?k:n.isWeex?O:b;r.default=L}]);; (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/rax-pkg-rax-text@2/index", [], function(require, exports, module) {module.exports=function(e){var r={};function t(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,t),i.l=!0,i.exports}return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var i in e)t.d(n,i,function(r){return e[r]}.bind(null,i));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="/",t(t.s=3)}([function(e,r){e.exports=require("@ali/rax-pkg-rax/index")},function(e,r){e.exports=require("@ali/rax-pkg-universal-env/index")},function(e,r,t){},function(e,r,t){e.exports=t(4)},function(e,r,t){"use strict";e.exports=t(5)},function(e,r,t){"use strict";t.r(r);var n=t(1),i=t(0);function o(e){return e.displayName="ScrollView",e}var a=t(2),s=t.n(a),c=["className","style","numberOfLines","children","onPress","onClick"];function l(){return(l=Object.assign||function(e){for(var r=1;r=0||(i[t]=e[t]);return i}(e,c),m="string"==typeof o?parseInt(o,10):o,y="";null!=a&&(y=Array.isArray(a)?a.join(""):a.toString());var h=[v,t];m&&(h.push(v+"--overflow-hidden"),1===m?h.push(v+"--singleline"):h.push(v+"--multiline"));var b=m>1?m:void 0;return Object(i.createElement)("span",l({},f,{ref:r,className:h.join(" "),style:Object.assign({},p(h.join(" ")),l({},n,{WebkitLineClamp:b,lineClamp:b})),onClick:u||s}),y)}))),y=["className","style","numberOfLines","children","onPress","onClick"];function h(){return(h=Object.assign||function(e){for(var r=1;r=0||(i[t]=e[t]);return i}(e,y),f="string"==typeof a?parseInt(a,10):a,p="";null!=s&&(p=Array.isArray(s)?s.join(""):s.toString());var v=[g,t];!n.isMiniApp&&f&&(v=v.concat(["rax-text-v2--overflow-hidden","rax-text-v2--multiline"]));var m=f>0?f:void 0,b=v.join(" ");return Object(i.createElement)("text",h({},u,{ref:r,className:b,style:Object.assign({},O(b),h({},o,{WebkitLineClamp:m})),onClick:l||c,"number-of-lines":f}),p)}))),x=["className","style","numberOfLines","children","onPress","onClick"];function _(){return(_=Object.assign||function(e){for(var r=1;r=0||(i[t]=e[t]);return i}(e,x),u=c||s,f="string"==typeof o?parseInt(o,10):o,p="";if(null!=a&&(p=Array.isArray(a)?a.join(""):a.toString()),"object"==typeof __weex_v2__){var v=[t];f&&(v.push("rax-text-v2--overflow-hidden"),1===f?v.push("rax-text-v2--singleline"):v.push("rax-text-v2--multiline"));var m=f>1?f:void 0;return Object(i.createElement)("text",_({},l,{ref:r,className:v.join(" "),style:Object.assign({},C(v.join(" ")),_({},n,{lineClamp:m})),onClick:u}),p)}return Object(i.createElement)("text",_({},l,{ref:r,className:t,style:Object.assign({},C(t),_({lines:f},n)),onClick:u}),p)}))),S=null;S=n.isWeb?m:n.isMiniApp||n.isWeChatMiniProgram||n.isByteDanceMicroApp||n.isBaiduSmartProgram||n.isKuaiShouMiniProgram?d:n.isWeex?k:m;r.default=S}]);; (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-image/index", [], function(require, exports, module) {module.exports=function(e){var r={};function t(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,t),i.l=!0,i.exports}return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var i in e)t.d(n,i,function(r){return e[r]}.bind(null,i));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="/",t(t.s=1)}([function(e,r){e.exports=require("@ali/rax-pkg-rax/index")},function(e,r,t){e.exports=t(2)},function(e,r,t){"use strict";t.r(r),t.d(r,"useImageSource",(function(){return x})),t.d(r,"useWebpCheck",(function(){return k})),t.d(r,"Image",(function(){return E})),t.d(r,"compressImage",(function(){return S})),t.d(r,"checkWebp",(function(){return g}));var n=t(0),i={},o=["source","fallbackSource","onLoad","onError","style","resizeMode","loading"];function u(){return u=Object.assign?Object.assign.bind():function(e){for(var r=1;r=0||(i[t]=e[t]);return i}(e,o);t=t||i,a=a||i;var p=v,b=Object(n.useState)({}),g=b[0],h=b[1];p.onError=Object(n.useCallback)((function(e){void 0===g.uri&&h({uri:t.uri}),c&&c(e)}),[t.uri,c,g]),p.onLoad=Object(n.useCallback)((function(e){e&&e.success||e&&e.currentTarget&&e.currentTarget.naturalWidth>1&&e.currentTarget.naturalHeight>1?l&&l(e):(void 0===g.uri&&h({uri:t.uri}),c&&c(e))}),[l,c]),void 0!==g.uri&&(g.uri!==t.uri?g.uri=void 0:null!=a.uri&&(t=a));var w=t,y=w.width,O=w.height,j=w.uri;return p.src=j,p.style=u({width:y,height:O},d),f&&(p.loading=f),(s=s||p.style.resizeMode)&&(p.style.objectFit=s),Object(n.createElement)("img",u({},p,{ref:r}))})),l=["source","fallbackSource","onLoad","onError","style","resizeMode","loading","placeholder"];function c(){return c=Object.assign?Object.assign.bind():function(e){for(var r=1;r=0||(i[t]=e[t]);return i}(e,l);t=t||i,o=o||i;var b=p,g=Object(n.useState)({}),h=g[0],w=g[1];b.onError=Object(n.useCallback)((function(e){void 0===h.uri&&w({uri:t.uri}),a&&a(e)}),[t.uri,a,h]),b.onLoad=Object(n.useCallback)((function(e){u&&u(e)}),[u,a]),void 0!==h.uri&&(h.uri!==t.uri?h.uri=void 0:null!=o.uri&&(t=o));var y=t,O=y.width,j=y.height,m=y.uri;return b.src=m,b.style=c({width:O,height:j},d),f&&(b["lazy-load"]="lazy"===f),v&&(b["default-source"]=v),(s=s||b.style.resizeMode)&&(b.style.objectFit=s),Object(n.createElement)("img",c({},b,{ref:r}))}));var d=["source","fallbackSource","onLoad","onError","style","resizeMode","loading"];function s(){return s=Object.assign?Object.assign.bind():function(e){for(var r=1;r=0||(i[t]=e[t]);return i}(e,d));t=t||i,o=o||i;var v=f,p=Object(n.useState)({}),b=p[0],g=p[1];v.onError=Object(n.useCallback)((function(e){void 0===b.uri&&g({uri:t.uri}),a&&a(e)}),[t.uri,a,b]),v.onLoad=Object(n.useCallback)((function(e){e&&e.success||e&&e.currentTarget&&e.currentTarget.naturalWidth>1&&e.currentTarget.naturalHeight>1?u&&u(e):(void 0===b.uri&&g({uri:t.uri}),a&&a(e))}),[u,a]),void 0!==b.uri&&(b.uri!==t.uri?b.uri=void 0:null!=o.uri&&(t=o));var h=t,w=h.width,y=h.height,O=h.uri;return v.src=O,v.style=s({width:w,height:y},l),(c=c||v.style.resizeMode)&&(v.resize=c,v.style.resizeMode=c),Object(n.createElement)("image",s({quality:"original"},v,{ref:r}))})),v=a,p=null;function b(){var e,r,t;if(null===(t=null===(r=null===(e=window.__ext)||void 0===e?void 0:e.accept)||void 0===r?void 0:r.includes)||void 0===t?void 0:t.call(r,"image/webp"))return!0;var n,i=navigator.userAgent.toLowerCase(),o={};return(n=i.match(/edge\/([\d\.]+)/))?o.edge=n[1]:(n=i.match(/firefox\/([\d\.]+)/))?o.firefox=n[1]:(n=i.match(/(?:opera|opr).([\d\.]+)/))?o.opera=n[1]:(n=i.match(/version\/([\d\.]+).*safari/))&&(o.safari=n[1]),!!(o.firefox&&o.firefox.split(".")[0]>64||o.edge&&o.edge.split(".")[0]>17||o.opera&&o.opera.split(".")[0]>12||o.safari&&(i.includes("mac")?o.safari.split(".")[0]>=16:o.safari.split(".")[0]>=14))}function g(){var e,r,t;if(window.__isSSR)return b();if("docSsr"===window.__ssrType&&!b())return!1;if(null===p)try{p=0===(null===(r=null===(e=document.createElement("canvas"))||void 0===e?void 0:e.toDataURL("image/webp"))||void 0===r?void 0:r.indexOf("data:image/webp"))||"1"===(null===(t=null===window||void 0===window?void 0:window.localStorage)||void 0===t?void 0:t.getItem("ae_u_webp"))}catch(e){p=!1}return p}!function(){var e;if("undefined"==typeof Image)return p=!1,void(null===(e=null===window||void 0===window?void 0:window.localStorage)||void 0===e||e.removeItem("ae_u_webp"));var r=new Image;r.onload=function(){var e;p=r.width>0&&r.height>0,null===(e=null===window||void 0===window?void 0:window.localStorage)||void 0===e||e.setItem("ae_u_webp","1")},r.onerror=function(){var e;p=!1,null===(e=null===window||void 0===window?void 0:window.localStorage)||void 0===e||e.removeItem("ae_u_webp")},r.src="data:image/webp;base64,UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA"}();var h=[50,80,100,120,140,200,220,250,300,350,480,640,720,960];var w=!1,y=!1;function O(e){return/^.+_\.webp$/.test(e)}function j(){return y||(y=!0,w=g()),w}function m(e){var r=e.width,t=e.clipAsSquare,n=function(e,r){return void 0===r&&(r=h),r.find((function(r){return r>=e}))}(r);if(!n)return"";var i=n+"x"+n;return t?i+"xz":i}var S=function(e,r){void 0===r&&(r={});var t=function(e){return/(\.((jp(e)?g)|png)).+\1/.test(e)||O(e)}(e),n=!/(ae0(1|2|3|4).alicdn.com\/kf)/.test(e),i=function(e){var r=e&&e.match(/(\.jpg|\.jpeg|\.png)/);return!!r&&r[0]}(e);if(n||!i)return e;var o=r,u=o.clipAsSquare,a=void 0!==u&&u,l=o.compressQuality,c=void 0!==l&&l,d=o.quality,s=void 0===d?85:d,f=o.relativeQuality,v=void 0!==f&&f,p=o.useWebp,b=void 0===p||p,g=o.height,h=o.width,w={height:g,width:h,clipAsSquare:a};if(t)return!b||O?e:function(e){var r=O(e);return j()&&!r?e+"_.webp":e}(e);var y="";return(g||h)&&(g||(w.height=h),h||(w.width=g),y=m(w)),/(\.jpg|\.jpeg)/.test(e)&&c&&(y=function(e,r){var t=e.compressQuality,n=e.quality,i=e.relativeQuality;return r+(t?i?"q"+n:"Q"+n:"")}({compressQuality:c,quality:s,relativeQuality:v},y)),b&&j()?y?e+"_"+y+i+"_.webp":e+"_.webp":y?e+"_"+y+i:e};function _(){return _=Object.assign?Object.assign.bind():function(e){for(var r=1;r-1&&e.tube.suspend()}(this),function(e){e.hook("afterModuleRender",(function(){e.store.set("env.isHydrate",!1)}))}(this))}}]);; (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@0/index", [], function(require, exports, module) {module.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="/",r(r.s=4)}([function(t,e){t.exports=require("@ali/gcom-aec-utils/index")},function(t,e){t.exports=require("@ali/gcom-aec-env/index")},function(t,e){t.exports=require("@ali/gcom-aec-fetch/index")},function(t,e){t.exports=require("@ali/gcom-aec-mtop/index")},function(t,e,r){t.exports=r(5)},function(t,e,r){"use strict";r.r(e),r.d(e,"plugin",(function(){return ut})),r.d(e,"tube",(function(){return zt}));var n=r(0),o="pageData",i="resultValue",a="isFirstScreen",c="fullScreenAmount",u="heightCalculateInfo",s="hasMoreModules",l="modules",f="excludes",h="pvuuid",p="schemaVersion",d="sequence",v="allUI",y="fri",g="pageInfo",m="seed",w="data",b="sysInfo",x="dataTraceMap",_="fellowScreenDataCache",E="renderExtends";function L(t,e,r,n){if(void 0===n&&(n=!0),n)t.store.set(o+"."+e,r);else{var i=t.store.get(o+"."+e);if("object"==typeof i&&"object"==typeof r){var a=Object.assign(Object.assign({},i),r);t.store.set(o+"."+e,a)}else t.store.set(o+"."+e,r)}}function O(t,e){return t.store.get(o+"."+e)}function j(t){var e=O(t,d)||1;L(t,d,e+1)}var k=o+"BeforeFirstScreen",S=o+"AfterFirstScreen",A=o+"BeforeFellowScreen",P=o+"AfterFellowScreen",T=o+"AfGetFirstScreenDataBfStore",I=r(2),N=r.n(I),C=r(1),D=r(3),G=r.n(D),F="https://bottom.campaign.aliexpress.com/failover/",R=["wh_act_nativebar","wh_bizStageId","wh_fromout","wh_inshopfrom","wh_minisite_scene","wh_pid","wh_seed","wh_solution_version","wh_ttid"];function q(t){var e=function(t){var e=t.appId||"",r=t.backupParams||{},n=t.prefix||F;if(t.url)n+=U(M(t.url));else{var o=e.split(",");n+=o.sort().join("/")}return Object.keys(r).sort().forEach((function(t){n+="/"+t+"="+r[t]})),n+="/data.jsonp"}(t),r=function(t){var e="callback_",r=t.appId||"",n=t.backupParams||{};if(t.url)e+=U(M(t.url));else{var o=r.replace(/-/g,"_").split(",");e+=o.sort().join(",")}return Object.keys(n).sort().forEach((function(t){e+="_"+t+"_"+n[t]})),e}(t);return N()(e,{mode:"jsonp",jsonpCallback:"cb",jsonpCallbackFunctionName:r}).then((function(t){return t.json()})).then((function(t){return void 0===t&&(t={}),t.isBottomData=!0,t})).catch((function(t){throw t}))}function M(t){if(void 0===t&&(t=""),!t)return t;var e=(new n.Url).parse(t),r=[];R.forEach((function(t){e.params&&e.params[t]&&r.push(t+"="+encodeURIComponent(e.params[t]))}));var o=r.join("&"),i=e.pathname.endsWith("/")?e.pathname.slice(0,-1):e.pathname;r.length>0&&"/"===e.pathname&&(i+="/");var a=""+e.hostname+(e.port&&":"+e.port)+i;return o&&(a+="?"+o),a}function U(t){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";t=String(t),/[^\0-\xFF]/.test(t)&&console.error("The string to be encoded contains characters outside of the Latin1 range.");for(var r,n,o,i,a=t.length%3,c="",u=-1,s=t.length-a;++u>18&63)+e.charAt(i>>12&63)+e.charAt(i>>6&63)+e.charAt(63&i);return 2==a?(r=t.charCodeAt(u)<<8,n=t.charCodeAt(++u),c+=e.charAt((i=r+n)>>10)+e.charAt(i>>4&63)+e.charAt(i<<2&63)+"="):1==a&&(i=t.charCodeAt(u),c+=e.charAt(i>>2)+e.charAt(i<<4&63)+"=="),c}function V(){var t={};try{var e=Object(n.getCookie)("acs_usuc_t","x_csrf"),r=JSON.parse(Object(n.getCookie)("xman_us_f","x_as_i")||"{}"),o=r.tagtime||0,i=r.channel;(new Date).getTime()-o>2592e5&&(i=void 0),t.csrfToken=e,t.channel=i,t.cna=Object(n.getCookie)("cna")||"",t.acs_rt=Object(n.getCookie)("aep_usuc_f","acs_rt")||"",t.ae_u_p_s=Object(n.getCookie)("aep_usuc_f","ae_u_p_s")||"null",t.screenHeight=window.innerHeight,t.screenWidth=window.innerWidth,t.screenInnerHeight=C.isMobile?750*Number(t.screenHeight)/Number(t.screenWidth):Number(t.screenHeight)}catch(t){console.warn("cookie error",t.message)}return t}function B(t){var e="";switch(t){case"pc":e="pc";break;case"phone":e="msite";break;default:e="app"}return e}var K=function(t,e){var r,n;null===(n=null===window||void 0===window?void 0:window.WindVane)||void 0===n||n.call("AEWVAdcPerformance","update",((r={})[t]=e,r),(function(e){console.log("AEWVAdcPerformance report "+t+" success "+JSON.stringify(e))}),(function(e){console.log("AEWVAdcPerformance report "+t+" fail "+JSON.stringify(e))}))},J=function(t){return t?1:0},W=function(t){var e;return!(!(null==t?void 0:t.success)&&!(null==t?void 0:t.ok)&&200!==(null==t?void 0:t.code))||/SUCCESS/i.test(null===(e=null==t?void 0:t.ret)||void 0===e?void 0:e[0])},H=function(t){var e;if(t&&t!==window.location.href){var r=(new n.Url).parse(window.location.href),o=(null==r?void 0:r.params)||{};e=Object.keys(o).reduce((function(e,r){if(!r)return e;var n=o[r];return n&&t.indexOf(r+"="+n)<0&&(e+=(e.indexOf("?")<0?"?":"&")+r+"="+n),e}),t)}else e=window.location.href;var i=function(t){return t.replace(/https:\/\/(.*?).aliexpress.com\/gcp/,"https://campaign.aliexpress.com/gcp-plus").replace(/https:\/\/(.*?).aliexpress.com\/campaign/,"https://campaign.aliexpress.com").replace(/https:\/\/campaign-aliexpress-com.reviewcook.taobao.com/,"https://campaign.aliexpress.com").replace(/https:\/\/(.*?).aliexpress.com\/pre-campaign/,"https://pre-wormhole.aliexpress.com").replace(/https:\/\/pre--wormhole-aliexpress-com.reviewcook.taobao.com/,"https://pre-wormhole.aliexpress.com").replace(/https:\/\/(.*?).aliexpress.com\/pre-gcp/,"https://pre-wormhole.aliexpress.com/gcp-plus").replace(/https:\/\/(.*?).aliexpress.com\/sp\/campaign/,"https://campaign.aliexpress.com")}(e);return{campaignUrl:i,campaignUrlObj:(new n.Url).parse(i)}},Y="mtop.relationrecommend.aliexpressrecommend.recommend",z="POST",$="jsonp",Q=["debug","wh_debug","wh_pid","productIds","productModuleUUIDs","topTabIds","previewTime","mitTaskId","disableFshCal","traffic_type","___pre_develop_env"];function X(){X=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var i=e&&e.prototype instanceof y?e:y,a=Object.create(i.prototype),c=new A(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="executing",d="completed",v={};function y(){}function g(){}function m(){}var w={};s(w,a,(function(){return this}));var b=Object.getPrototypeOf,x=b&&b(b(P([])));x&&x!==r&&n.call(x,a)&&(w=x);var _=m.prototype=y.prototype=Object.create(w);function E(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===p)throw new Error("Generator is already running");if(o===d){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=p;var s=f(e,r,n);if("normal"===s.type){if(o=n.done?d:"suspendedYield",s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=d,n.method="throw",n.arg=s.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),S(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}var Z=function(t,e,r,n){return new(r||(r=Promise))((function(o,i){function a(t){try{u(n.next(t))}catch(t){i(t)}}function c(t){try{u(n.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,c)}u((n=n.apply(t,e||[])).next())}))},tt=function(t,e,r){var o,i;return void 0===e&&(e={}),Z(this,void 0,void 0,X().mark((function a(){var c,u,s,l,f,h,p,d,v,y,g,m,w,b,x,_,E,L,O,j,k,S,A,P,T,I,F,R,M,U,K,J,tt,rt;return X().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(R=function(t,e){var n;return Z(this,void 0,void 0,X().mark((function o(){var i,a,u,l,h,p,x,P,R,q,M,U,V,B,K,J,W,H,Z,tt,et,rt,nt;return X().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(i=e.api,a=e.dataType,u=e.type,l=e.extraParams,h=void 0===l?{}:l,p=e.mockData,x=Object.assign(Object.assign({backupParams:"aeCurrency,aeRegion,aeLocale,device,aeDevice",aeCurrency:L,aeLocale:_,aeRegion:E,aeDevice:O,device:c,channel:d,cna:v,acs_rt:y,url:T,gdpr:g||"",sequence:k},t),{extParam:JSON.stringify(Object.assign({screenHeight:w,screenWidth:b,platform:j,aeCurrency:L,aeLocale:_,aeRegion:E,aeDevice:O,device:c,gabStrategyConfig:null===(n=null===window||void 0===window?void 0:window.__ext)||void 0===n?void 0:n.gab_strategy},h))}),C.isPHA&&(P=window.pha.environment,R=P.aeCity,q=P.aeState,M=P.aeAppKey,U=P.aeAppVersion,V=P.aeAppVersionNum,B=P.aeSaasRegion,x=Object.assign(Object.assign({},x),{aeCity:R,aeState:q,aeAppKey:M,aeAppVersion:U,aeAppVersionNum:V,aeSaasRegion:B})),!p){o.next=7;break}return o.next=6,new Promise((function(t){setTimeout((function(){t(p)}),500)}));case 6:case 11:case 22:case 28:case 37:case 40:return o.abrupt("return",o.sent);case 7:if(f||C.isPHA){o.next=29;break}if(!(null===window||void 0===window?void 0:window.__INIT_DATA_CALLBACK__)||!S||-1!==window.location.host.indexOf("pre-wormhole")){o.next=12;break}return o.next=11,new Promise((function(t,e){window.__INIT_DATA_CALLBACK__((function(r){(null==r?void 0:r.success)?t(r):e(r)}))}));case 12:if(K=window.location.host,(/campaign|pre-wormhole/.test(K)||/aliexpress.com/.test(K))&&(K="pc"===j?"//www.aliexpress.com":"//m.aliexpress.com"),J=K+"/campaign/api/tpp/fetch",W=Q.reduce((function(t,e){var r,n=null===(r=I.params)||void 0===r?void 0:r[e];return n&&(t+=(t.indexOf("?")<0?"?":"&")+e+"="+n),t}),""+I.origin+I.pathname),!S){o.next=25;break}return H={backupParams:"aeCurrency,aeRegion,aeLocale,device,aeDevice",aeDevice:O,url:W,device:c,sequence:k,extParam:JSON.stringify(Object.assign({screenHeight:w,screenWidth:b},h))},Z=J+"?appId="+s+"&searchParams="+encodeURIComponent(JSON.stringify(H)),F&&(Z=Z+"&wh_pid="+F),o.next=22,N()(Z,{credentials:"include",method:"GET"}).then((function(t){return t.json()}));case 25:return tt={appId:s,searchParams:x,csrfToken:m},o.next=28,N()(J,{method:"POST",credentials:"include",headers:{"Content-Type":"text/plain"},body:JSON.stringify(tt)}).then((function(t){return t.json()}));case 29:if(et={appId:s,params:JSON.stringify(x)},rt={api:i||Y,v:"1.0",ecode:0,type:u||z,dataType:a||$,jsonpIncPrefix:"kangaroo",timeout:8e3,data:et,csrfToken:m,prefetchKey:"upr_"+F},nt=null,!S){o.next=38;break}return rt.isMajorRequest=!0,A?(nt=null==r?void 0:r.prefetchOptions,F&&!nt&&(nt={prefetchKey:"upr_"+F})):nt=null,o.next=37,Object(D.mtopRequestWithPrefetch)(rt,nt);case 38:return o.next=40,G()(rt);case 41:case"end":return o.stop()}}),o)})))},c=r.device,u=r.url,s=r.appId,l=r.disablePrefetch,f=r.disableWebFetch,h=r.previewEnv,p=V(),d=p.channel,v=p.cna,y=p.acs_rt,g=p.ae_u_p_s,m=p.csrfToken,w=p.screenHeight,b=p.screenWidth,x=Object(n.getAEInfo)(),_=x.aeLocale,E=x.aeRegion,L=x.aeCurrency,O=B(c),j=c,k=(null==e?void 0:e.sequence)||1,S=1===k,A=!l,P=H(u),T=P.campaignUrl,I=P.campaignUrlObj,F=null===(o=I.params)||void 0===o?void 0:o.wh_pid,a.prev=11,"maintain"!==h){a.next=16;break}return a.next=15,et(j);case 15:return a.abrupt("return",a.sent);case 16:return a.next=18,R(e,r);case 18:if(M=a.sent,W(M)){a.next=21;break}throw new Error("kangaroo mtop request failed");case 21:if((U=null===(i=null==M?void 0:M.data)||void 0===i?void 0:i.resultValue)&&U.data){a.next=24;break}throw new Error("kangaroo mtop request has no data.resultValue");case 24:if(!U||"true"!==String(null==U?void 0:U.isInvalidRequest)){a.next=26;break}throw new Error("kangaroo mtop request failed. all Resource fail");case 26:return A&&("success"!==(K=M.prefetchStatus)&&"merge"!==K||(U.mtopPrefetch=!0),U.prefetchStatus=K),J=M.costTime,U.costTime=J||-1,U.isSW=M.fromSW||!1,a.abrupt("return",U);case 33:return a.prev=33,a.t0=a.catch(11),t.log("get first screen data error, will request bottom data",a.t0),window.dispatchEvent(new CustomEvent("pushTubeError",{detail:{code:"tubes_data-ability_kangarooRequestBottom",message:a.t0.message||"kangarooRequestBottom"}})),tt={appId:s,backupParams:{device:c,aeDevice:O,aeRegion:E,aeLocale:_,aeCurrency:L},url:T},a.next=40,q(tt);case 40:if((rt=a.sent)&&rt.data){a.next=43;break}throw new Error("bottom request has no data");case 43:return t.log("got bottom data: ",rt),a.abrupt("return",rt);case 45:case"end":return a.stop()}}),a,null,[[11,33]])})))};function et(t){return new Promise((function(e,r){try{if(["pc","phone"].includes(t)){var n=document.querySelector("#local-page-info").innerHTML;return void e(JSON.parse(n))}e(window.__firstScreenData)}catch(t){r(t)}}))}var rt=function(t,e,r){var o,i,a,c;if(!Array.isArray(t)||t.length<=0)return{};try{for(var u,s,l=Object(n.getAEInfo)(),f=l.aeRegion,h=l.aeLocale,p=!1,d=!1,v=!1,y=!1,g=null,m=n.qs.parse(r).previewTime||Date.now(),w=0,b=t.length;wm||_=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),S(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}var ct=function(t,e,r,n){return new(r||(r=Promise))((function(o,i){function a(t){try{u(n.next(t))}catch(t){i(t)}}function c(t){try{u(n.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,c)}u((n=n.apply(t,e||[])).next())}))};function ut(t){var e=this,r=t.mtopConfig,o=t.url,i=t.device;this.define("getKangarooDataFromAbilityPageData",(function(t,n){return void 0===t&&(t={}),void 0===n&&(n={}),ct(e,void 0,void 0,at().mark((function e(){var a;return at().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a={api:(null==r?void 0:r.api)||Y,dataType:(null==r?void 0:r.dataType)||$,type:(null==r?void 0:r.type)||z,appId:null==r?void 0:r.appId,url:o,device:i},e.next=3,tt(this,t,Object.assign(Object.assign({},a),n));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e,this)})))})),this.define("getBottomDataFromAbilityPageData",(function(t){return ct(e,void 0,void 0,at().mark((function e(){return at().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,q(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))})),this.hook(T,(function(t){var e,r,a=t.params||{},c=a.globalGabValue||"",u=a.renderExtends||{},s=a.pageInfo||{},l=null==s?void 0:s.customConfig;try{"string"==typeof l&&(l=JSON.parse(l))}catch(t){l={}}a.modulesStaticI18n&&(window.flute_langs=a.modulesStaticI18n),s.customConfig=l;var f=(null==u?void 0:u.styleDelivery)||(null==l?void 0:l.styleDelivery)||[],h=rt(f,i,o);h&&Object.keys(h).length>0&&(s.theme=h);var p=null!==(e=null==u?void 0:u.i18nTitle)&&void 0!==e?e:{default:"AliExpress"},d=ot(p);if(d){s.title=d,document.title=d;var v=null===(r=document.querySelector)||void 0===r?void 0:r.call(document,"meta[property='og:title']");v&&v.setAttribute("content",d)}s.spma=it(i),window.__pvuuid=a.pvuuid;var y=Object(n.getAEInfo)().isRtl;window.__isRtl=y,window.styleDeliveryNavigationBarBgColor=null==h?void 0:h.bgColor,window.$zebra=window.$zebra||{},window.$zebra=Object.assign({},window.$zebra,s,{childSceneInfo:null==u?void 0:u.childSceneInfo}),window.$zebra.globalGabValue=c}))}function st(){st=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var i=e&&e.prototype instanceof y?e:y,a=Object.create(i.prototype),c=new A(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="executing",d="completed",v={};function y(){}function g(){}function m(){}var w={};s(w,a,(function(){return this}));var b=Object.getPrototypeOf,x=b&&b(b(P([])));x&&x!==r&&n.call(x,a)&&(w=x);var _=m.prototype=y.prototype=Object.create(w);function E(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===p)throw new Error("Generator is already running");if(o===d){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=p;var s=f(e,r,n);if("normal"===s.type){if(o=n.done?d:"suspendedYield",s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=d,n.method="throw",n.arg=s.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),S(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}var lt,ft=function(t,e,r,n){return new(r||(r=Promise))((function(o,i){function a(t){try{u(n.next(t))}catch(t){i(t)}}function c(t){try{u(n.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,c)}u((n=n.apply(t,e||[])).next())}))},ht=function(t){return ft(this,void 0,void 0,st().mark((function e(){var r,n,o,i,a;return st().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.failApp,n=t.data,o=t.traceId,Array.isArray(r)&&0!==r.length){e.next=3;break}return e.abrupt("return",t);case 3:return i=/\.autoBuildTag/,a=[],r.forEach((function(e){var r;i.test(e)&&(e=e.replace(".autoBuildTag",".data"));var c=e.split(".");if(2===c.length){var u=c[0],s=c[1];if(null==n?void 0:n[u]){var l=n[u][s],f=Array.isArray(l)&&l.length,h="object"==typeof l,p={};if(f?p=null===(r=l[0])||void 0===r?void 0:r.__data_param:h&&(p=null==l?void 0:l.__data_param),f||h){var d=p.appId,v=p.backupParams;if(d&&v){window.dispatchEvent(new CustomEvent("pushTubeError",{detail:{code:"tubes_data-ability_hasFailApp",message:e+" request failed in kangaroo request!",data:[d,o,u,s]}})),"string"==typeof v&&(v=v.split(","));var y=q({appId:d,backupParams:v.reduce((function(t,e){var r=null==p?void 0:p[e];return r&&(t[e]=r),t}),{})}).then((function(e){var r=e.data;return(null==r?void 0:r.length)||(window.dispatchEvent(new CustomEvent("pushTubeError",{detail:{code:"tubes_data-ability_failAppFailed",message:"request failed in resId request: "+(null==e?void 0:e.resId)+"!",data:[u,s]}})),t.isResourceBottomDataError=!0),t.data[u][s]=r,t})).catch((function(t){console.error("request failed in resId request: "+JSON.stringify(t)),window.dispatchEvent(new CustomEvent("pushTubeError",{detail:{code:"tubes_data-ability_failAppFailed",message:"request failed in resId request: "+JSON.stringify(t),data:[u,s]}}))}));a.push(y)}}}}})),e.abrupt("return",Promise.all(a));case 7:case"end":return e.stop()}}),e)})))},pt=function(t){var e,r=null===(e=H(t.url).campaignUrlObj.params)||void 0===e?void 0:e.wh_pid;return new Promise((function(t){var e;(null===(e=null===window||void 0===window?void 0:window.pha)||void 0===e?void 0:e.dataPrefetch)?window.pha.dataPrefetch.getData({key:"upr_"+r},(function(e){var r;if(!W(e))return console.log("tubes_data: pha prefetch fail: check data failed"),void t(null);var n=null===(r=null==e?void 0:e.data)||void 0===r?void 0:r.resultValue;return n&&n.data?n&&"true"===String(null==n?void 0:n.isInvalidRequest)?(console.log("tubes_data: pha prefetch fail: data all resource fail"),void t(null)):(console.log("tubes_data: pha prefetch success !"),void t(n)):(console.log("tubes_data: pha prefetch fail: data has no resultValue"),void t(null))}),(function(e){void 0===e&&(e={}),console.log("tubes_data: pha prefetch fail: ",e),t(null)})):t(null)}))};function dt(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return vt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return vt(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function vt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r(new Date).getTime()))throw new Error(this._pageKey+" cache expire");t.success=!0,t.data=r.data}catch(t){console.log("FS_DATA_CACHE_MANAGER get cache error: ",t)}return t},computeCacheData:function(t){for(var e,r={modules:[],data:{},seedComboUris:""},n=["gmod-new-gcp-page-header","gmod-new-scene-card"],o=dt(t.modules);!(e=o()).done;){var i=e.value;if(!n.includes(i.name))break;r.modules.push(i)}return r.modules.forEach((function(e){r.data[e.uuid]=t.data[e.uuid]})),r.seedComboUris=t.seedComboUris,r}},Et={_isOpen:!0,_openPlatform:["pc","msite"],customOpenValidate:function(){return xt.includes("300000423")},judgeIsHitPreRender:function(){return!!(this._isOpen&&this._openPlatform.includes(yt)&&this.customOpenValidate())&&_t.getCache().success},initPreRender:function(t){var e=_t.getCache();if(e.success){t.store.set("env.isPreRender",!0);var r=e.data;t.store.set("pageData.data",Object.assign({},r.data)),t.store.set("pageData.modules",[].concat(r.modules)),t.store.set("pageData.resultValue",r)}},updatePreRenderCache:function(t){if(this._isOpen&&this._openPlatform.includes(yt)&&this.customOpenValidate()){var e=_t.computeCacheData(t);_t.setCache(e)}},clearPreRenderStatus:function(t){t.store.get("env.isPreRender")&&(t.store.set("env.isPreRender",!1),t.store.set("pageData.data",{}),t.store.set("pageData.modules",[]),t.store.set("modSplit.processed",[]),t.store.set("moduleRows",{bodyModList:[],emptyRowModIds:[],pendingBodyRows:[]}))}},Lt=function(t){var e=O(t,y),r=O(t,f),n=O(t,h),o=O(t,d);return{fri:JSON.stringify(e),excludes:r?r.join(";"):"",pvuuid:n,sequence:o,backupParams:"aeCurrency,aeRegion,aeLocale,device,aeDevice,excludes"}};function Ot(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return jt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return jt(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function jt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),S(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}var St=function(t,e,r,n){return new(r||(r=Promise))((function(o,i){function a(t){try{u(n.next(t))}catch(t){i(t)}}function c(t){try{u(n.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,c)}u((n=n.apply(t,e||[])).next())}))},At={finished:!1,finishTime:0},Pt=function(t){return new Promise((function(e){try{(0,window.require)(t,e)}catch(r){console.error("mod "+t+" require warm-up error: "+r),e(null)}}))},Tt=function(t){return St(void 0,void 0,void 0,kt().mark((function e(){return kt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e){setTimeout((function(){e()}),t)})));case 1:case"end":return e.stop()}}),e)})))},It=function(){return St(void 0,void 0,void 0,kt().mark((function t(){var e,r,n,o,i,a,c,u,s,l;return kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!((null===(r=null===(e=null===window||void 0===window?void 0:window.adc)||void 0===e?void 0:e.config)||void 0===r?void 0:r.enablePreRequire)&&(null===(o=null===(n=null===window||void 0===window?void 0:window.adc)||void 0===n?void 0:n.config)||void 0===o?void 0:o.isJsModulesFull)&&(null===(a=null===(i=null===window||void 0===window?void 0:window.feloader)||void 0===i?void 0:i.Env)||void 0===a?void 0:a.mods))){t.next=15;break}K("fsPreRequireStart",(new Date).getTime()),c=Object.keys(window.feloader.Env.mods).filter((function(t){return t.startsWith("@ali/gmod")})),u=Ot(c);case 4:if((s=u()).done){t.next=14;break}return l=s.value,t.next=8,Tt(0);case 8:if(!At.finished){t.next=10;break}return t.abrupt("break",14);case 10:console.log("tubes_data: preheat require dependency: "+l),Pt(l);case 12:t.next=4;break;case 14:K("fsPreRequireEnd",At.finishTime||(new Date).getTime());case 15:case"end":return t.stop()}}),t)})))};function Nt(){Nt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var i=e&&e.prototype instanceof y?e:y,a=Object.create(i.prototype),c=new A(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="executing",d="completed",v={};function y(){}function g(){}function m(){}var w={};s(w,a,(function(){return this}));var b=Object.getPrototypeOf,x=b&&b(b(P([])));x&&x!==r&&n.call(x,a)&&(w=x);var _=m.prototype=y.prototype=Object.create(w);function E(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===p)throw new Error("Generator is already running");if(o===d){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=p;var s=f(e,r,n);if("normal"===s.type){if(o=n.done?d:"suspendedYield",s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=d,n.method="throw",n.arg=s.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),S(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}var Ct=function(t,e,r,n){return new(r||(r=Promise))((function(o,i){function a(t){try{u(n.next(t))}catch(t){i(t)}}function c(t){try{u(n.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,c)}u((n=n.apply(t,e||[])).next())}))};function Dt(t,e){return Ct(this,void 0,void 0,Nt().mark((function r(){var n;return Nt().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t.hook(k),r.next=3,Gt(t,e);case 3:if(n=r.sent){r.next=6;break}return r.abrupt("return");case 6:return Et.updatePreRenderCache(n),Et.clearPreRenderStatus(t),o=n,i=void 0,a=void 0,i=window.__prerender&&window.__prerender.dom,a=!0===window.__ignoreSSR,(i||a)&&o&&o.html&&delete o.html,t.hook(T,n),Ft(t,n),r.next=13,Rt(t,n);case 13:qt(t,n),Mt(t,n,e),t.hook(S,n);case 16:case"end":return r.stop()}var o,i,a}),r)})))}function Gt(t,e){return Ct(this,void 0,void 0,Nt().mark((function r(){var n,o,i;return Nt().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!(n=t.store.get("ssr.data"))){r.next=3;break}return r.abrupt("return",n);case 3:if(!(o=t.store.get("prender.data"))){r.next=6;break}return r.abrupt("return",o);case 6:return It(),r.prev=7,K("fsDataRequestStart",(new Date).getTime()),r.next=11,pt(e);case 11:if(i=r.sent){r.next=17;break}return K("fsSecondDataRequestStart",(new Date).getTime()),r.next=16,tt(t,{},e);case 16:i=r.sent;case 17:K("fsDataRequestEnd",(new Date).getTime()),K("fsDataRequestBottom",J(!!i.isBottomData)),r.next=26;break;case 21:r.prev=21,r.t0=r.catch(7),t.log("get first screen data error, will show error page",r.t0),window.dispatchEvent(new CustomEvent("pushTubeError",{detail:{code:"tubes_data-ability_fetchScreenDataError",message:r.t0.message||"fetchScreenDataError",level:"error"}})),i=null;case 26:return At.finished=!0,At.finishTime=(new Date).getTime(),r.abrupt("return",i);case 29:case"end":return r.stop()}}),r,null,[[7,21]])})))}function Ft(t,e){var r=e.pvuuid,n=e.allUI,o=e.pageInfo,i=e.seed,a=e.fullScreenAmount,s=e.heightCalculateInfo,l=e.renderExtends,f=(o||{}).schemaVersion;L(t,h,r),L(t,p,f),L(t,v,n),L(t,g,o),L(t,m,i),L(t,c,a),L(t,u,s),L(t,E,l)}function Rt(t,e){return Ct(this,void 0,void 0,Nt().mark((function r(){var n;return Nt().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n=Wt(e)){r.next=3;break}return r.abrupt("return",n);case 3:return r.prev=3,r.next=6,ht(e);case 6:r.next=13;break;case 8:r.prev=8,r.t0=r.catch(3),t.log("failApp request failed!",null==e?void 0:e.failApp),window.dispatchEvent(new CustomEvent("pushTubeError",{detail:{code:"tubes_data-ability_failAppFailed",message:"failApp request failed!",data:null==e?void 0:e.failApp}})),e=null;case 13:return r.abrupt("return",n);case 14:case"end":return r.stop()}}),r,null,[[3,8]])})))}function qt(t,e){if(e){var r=e.hasMoreModules,n=e.fri,o=e.sysInfo,a=Bt(t,e);L(t,i,e),L(t,s,"true"===String(r)),L(t,y,n),L(t,b,o),L(t,f,a),Kt(t,e),Jt(t,e)}else L(t,s,!1)}function Mt(t,e,r){var n=O(t,s),o=e.disableGetFellowScreen,i=void 0!==o&&o,a=e.isBottomData;!n||i||void 0!==a&&a||Ut(t,{},r)}function Ut(t,e,r,n){return void 0===e&&(e={}),void 0===r&&(r={}),void 0===n&&(n=!0),Ct(this,void 0,void 0,Nt().mark((function o(){var i;return Nt().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return j(t),L(t,a,!1),t.hook(A),o.next=5,tt(t,Object.assign(Object.assign({},e),Lt(t)),Object.assign({disablePrefetch:!0},r));case 5:if(!Wt(i=o.sent)){o.next=9;break}return o.next=9,ht(i);case 9:Vt(t,i,n),O(t,s)&&Ut(t,Object.assign(Object.assign({},e),Lt(t)),r,n),t.hook(P);case 13:case"end":return o.stop()}}),o)})))}function Vt(t,e,r){if(e){var n=e.hasMoreModules,o=e.fri,a=e.sysInfo,c=Bt(t,e);L(t,i,e),L(t,s,"true"===String(n)),L(t,y,o),L(t,b,a),L(t,f,c),r?(Kt(t,e),Jt(t,e)):function(t,e){void 0===e&&(e={});var r=O(t,_);L(t,_,[].concat(r,[e]))}(t,e)}else L(t,s,!1)}function Bt(t,e){void 0===e&&(e={});var r=O(t,f),n=[].concat(r,Object.keys(e&&e.data||{}));return n.sort(),n}function Kt(t,e){void 0===e&&(e={});var r=O(t,w),n=O(t,x),o=e,i=o.data,a=void 0===i?{}:i,c=o.traceId;L(t,w,Object.assign(Object.assign({},r),a)),L(t,x,Object.assign(Object.assign({},n),function(t,e){var r={};return Object.keys(t).forEach((function(t){r[t]=e})),r}(a,c)))}function Jt(t,e){void 0===e&&(e={}),e=function(t){var e="";"true"===String(t.isBottomData)&&(e="screen-fe-bottom");var r=t.serverBottomApp||[],n=t.failApp||[];if(!e&&0===r.length&&0===n.length)return t;t.modules=t.modules||[],t.data=t.data||{};var o=t.modules,i=t.data;return o.forEach((function(t){var o=function(t){return t.uuid||t.moduleId}(t),a=i[o],c={};a&&Object.keys(a).length&&Object.keys(a).forEach((function(t){if(e)c[t]=e;else{var i=o+"."+t;r.indexOf(i)>=0?c[t]="single-tag-server-bottom":n.indexOf(i)>=0&&(c[t]="single-tag-fe-bottom")}})),t.bottomStatus=c})),t}(e);var r=O(t,l),n=e.modules,o=[].concat(r,void 0===n?[]:n);return o.forEach((function(t,e){t&&void 0===t.index&&(t.index=e)})),L(t,l,o),o}function Wt(t){var e;return void 0===t&&(t={}),(null===(e=null==t?void 0:t.failApp)||void 0===e?void 0:e.length)>0}function Ht(){Ht=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var i=e&&e.prototype instanceof y?e:y,a=Object.create(i.prototype),c=new A(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="executing",d="completed",v={};function y(){}function g(){}function m(){}var w={};s(w,a,(function(){return this}));var b=Object.getPrototypeOf,x=b&&b(b(P([])));x&&x!==r&&n.call(x,a)&&(w=x);var _=m.prototype=y.prototype=Object.create(w);function E(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===p)throw new Error("Generator is already running");if(o===d){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=p;var s=f(e,r,n);if("normal"===s.type){if(o=n.done?d:"suspendedYield",s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=d,n.method="throw",n.arg=s.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),S(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}var Yt=function(t,e,r,n){return new(r||(r=Promise))((function(o,i){function a(t){try{u(n.next(t))}catch(t){i(t)}}function c(t){try{u(n.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,c)}u((n=n.apply(t,e||[])).next())}))};function zt(t){var e,r,n,i,b;return void 0===t&&(t={}),Yt(this,void 0,void 0,Ht().mark((function O(){var j;return Ht().wrap((function(O){for(;;)switch(O.prev=O.next){case 0:if((k=this).store.set(o,{}),L(k,a,!0),L(k,s,!0),L(k,l,[]),L(k,f,[]),L(k,h,""),L(k,p,""),L(k,d,1),L(k,v,[]),L(k,y,{}),L(k,g,{}),L(k,m,{}),L(k,w,{}),L(k,x,{}),L(k,_,[]),L(k,c,0),L(k,u,{}),L(k,E,{}),null==t?void 0:t.disableService){O.next=10;break}if(j={url:null==t?void 0:t.url,device:null==t?void 0:t.device,api:null===(e=null==t?void 0:t.mtopConfig)||void 0===e?void 0:e.api,dataType:null===(r=null==t?void 0:t.mtopConfig)||void 0===r?void 0:r.dataType,type:null===(n=null==t?void 0:t.mtopConfig)||void 0===n?void 0:n.type,appId:null===(i=null==t?void 0:t.mtopConfig)||void 0===i?void 0:i.appId,extraParams:null===(b=null==t?void 0:t.mtopConfig)||void 0===b?void 0:b.extraParams,disablePrefetch:null==t?void 0:t.disablePrefetch,prefetchOptions:null==t?void 0:t.prefetchOptions,disableWebFetch:null==t?void 0:t.disableWebFetch,previewEnv:null==t?void 0:t.previewEnv,mockData:null==t?void 0:t.mockData},!Et.judgeIsHitPreRender()){O.next=8;break}Et.initPreRender(this),Dt(this,j),O.next=10;break;case 8:return O.next=10,Dt(this,j);case 10:case"end":return O.stop()}var k}),O,this)})))}}]);; (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-fetch/index", [], function(require, exports, module) {module.exports=function(t){var e={};function r(o){if(e[o])return e[o].exports;var n=e[o]={i:o,l:!1,exports:{}};return t[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=t,r.c=e,r.d=function(t,e,o){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)r.d(o,n,function(e){return t[e]}.bind(null,n));return o},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="/",r(r.s=1)}([function(t,e,r){"use strict";(function(t){var r="undefined"!=typeof self?self:void 0!==t?t:"undefined"!=typeof window?window:{};function o(t){return"string"!=typeof t&&(t=String(t)),t.toLowerCase()}function n(t){return"string"!=typeof t&&(t=String(t)),t}function i(t){this.originHeaders=t,this.map={},t instanceof i?t.forEach((function(t,e){this.append(e,t)}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function s(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function a(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function u(t){var e=new FileReader;return e.readAsArrayBuffer(t),a(e)}i.prototype.append=function(t,e){t=o(t),e=n(e);var r=this.map[t];r||(r=[],this.map[t]=r),r.push(e)},i.prototype.delete=function(t){delete this.map[o(t)]},i.prototype.get=function(t){var e=this.map[o(t)];return e?e[0]:null},i.prototype.getAll=function(t){return this.map[o(t)]||[]},i.prototype.has=function(t){return this.map.hasOwnProperty(o(t))},i.prototype.set=function(t,e){this.map[o(t)]=[n(e)]},i.prototype.forEach=function(t,e){Object.getOwnPropertyNames(this.map).forEach((function(r){this.map[r].forEach((function(o){t.call(e,o,r,this)}),this)}),this)};var d={blob:"FileReader"in r&&"Blob"in r&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in r,arrayBuffer:"ArrayBuffer"in r};function c(){return this.bodyUsed=!1,this._initBody=function(t,e){if(this._bodyInit=t,"string"==typeof t)this._bodyText=t;else if(d.blob&&Blob.prototype.isPrototypeOf(t))this._bodyBlob=t,this._options=e;else if(d.formData&&FormData.prototype.isPrototypeOf(t))this._bodyFormData=t;else if(t){if(!d.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(t))throw new Error("unsupported BodyInit type")}else this._bodyText=""},d.blob?(this.blob=function(){var t=s(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(u)},this.text=function(){var t,e,r,o,n,i,u,d=s(this);if(d)return d;if(this._bodyBlob)return t=this._bodyBlob,e=this._options,r=new FileReader,o=e.headers.map["content-type"]?e.headers.map["content-type"].toString():"",n=/charset\=[0-9a-zA-Z\-\_]*;?/,i=t.type.match(n)||o.match(n),u=[t],i&&u.push(i[0].replace(/^charset\=/,"").replace(/;$/,"")),r.readAsText.apply(r,u),a(r);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){return s(this)||Promise.resolve(this._bodyText)},d.formData&&(this.formData=function(){return this.text().then(l)}),this.json=function(){return this.text().then(JSON.parse)},this}var f=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function h(t,e){var r,o,n=(e=e||{}).body;if(h.prototype.isPrototypeOf(t)){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new i(t.headers)),this.method=t.method,this.mode=t.mode,n||(n=t._bodyInit,t.bodyUsed=!0)}else this.url=t;if(this.credentials=e.credentials||this.credentials||"omit",!e.headers&&this.headers||(this.headers=new i(e.headers)),this.method=(r=e.method||this.method||"GET",o=r.toUpperCase(),f.indexOf(o)>-1?o:r),this.mode=e.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n,e)}function l(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),o=r.shift().replace(/\+/g," "),n=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(o),decodeURIComponent(n))}})),e}function p(t){var e=new i;return t.getAllResponseHeaders().trim().split("\n").forEach((function(t){var r=t.trim().split(":"),o=r.shift().trim(),n=r.join(":").trim();e.append(o,n)})),e}function y(t,e){e||(e={}),this._initBody(t,e),this.type="default",this.status=e.status,this.ok=this.status>=200&&this.status<300,this.statusText=e.statusText,this.headers=e.headers instanceof i?e.headers:new i(e.headers),this.url=e.url||""}h.prototype.clone=function(){return new h(this)},c.call(h.prototype),c.call(y.prototype),y.prototype.clone=function(){return new y(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new i(this.headers),url:this.url})},y.error=function(){var t=new y(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];y.redirect=function(t,e){if(-1===m.indexOf(e))throw new RangeError("Invalid status code");return new y(null,{status:e,headers:{location:t}})};e.a=function(t,e){return new Promise((function(r,o){var n;n=h.prototype.isPrototypeOf(t)&&!e?t:new h(t,e);var i=new XMLHttpRequest;var s=!1;function a(){if(4===i.readyState){var t=1223===i.status?204:i.status;if(t<100||t>599){if(s)return;return s=!0,void o(new TypeError("Network request failed"))}var e={status:t,statusText:i.statusText,headers:p(i),url:"responseURL"in i?i.responseURL:/^X-Request-URL:/im.test(i.getAllResponseHeaders())?i.getResponseHeader("X-Request-URL"):void 0},n="response"in i?i.response:i.responseText;s||(s=!0,r(new y(n,e)))}}i.onreadystatechange=a,i.onload=a,i.onerror=function(){s||(s=!0,o(new TypeError("Network request failed")))},i.ontimeout=function(){o(new TypeError("Network request timeout"))},i.open(n.method,n.url,!0);try{"include"===n.credentials&&("withCredentials"in i?i.withCredentials=!0:console&&console.warn&&console.warn("withCredentials is not supported, you can ignore this warning"))}catch(t){console&&console.warn&&console.warn("set withCredentials error:"+t)}"responseType"in i&&d.blob&&(i.responseType="blob"),n.headers.forEach((function(t,e){i.setRequestHeader(e,t)})),i.send(void 0===n._bodyInit?null:n._bodyInit)}))}}).call(this,r(2))},function(t,e,r){t.exports=r(3)},function(t,e){var r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){"use strict";r.r(e);var o=r(0),n=5e3,i="callback";function s(t){try{delete window[t]}catch(e){window[t]=void 0}}function a(t){document.getElementsByTagName("head")[0].removeChild(t)}var u=function(t,e){return void 0===e&&(e={}),new Promise((function(r,o){var u,d=null!=e.timeout?e.timeout:n,c=null!=e.jsonpCallback?e.jsonpCallback:i,f=e.jsonpCallbackFunctionName||"jsonp_"+Date.now()+"_"+Math.ceil(1e5*Math.random()),h=document.createElement("script");window[f]=function(t){r({ok:!0,json:function(){return Promise.resolve(t)}}),u&&clearTimeout(u),a(h),s(f)},h.onreadystatechange=h.onerror=function(){this.readyState&&("loaded"!==this.readyState&&"complete"!==this.readyState||window[f])||(o(new Error("JSONP request to "+t+" error")),u&&clearTimeout(u),s(f),a(h))},t+=-1===t.indexOf("?")?"?":"&",h.setAttribute("src",t+c+"="+f),document.getElementsByTagName("head")[0].appendChild(h),u=setTimeout((function(){o(new Error("JSONP request to "+t+" timed out")),s(f),a(h)}),d)}))};e.default=function(t,e){return void 0===e&&(e={}),"jsonp"===e.mode?u(t,e):"undefined"!=typeof fetch?fetch(t,e):Object(o.a)(t,e)}}]);; (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-offline@0/index", [], function(require, exports, module) {module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=7)}([function(e,t){e.exports=require("@ali/rax-pkg-rax/index")},function(e,t){e.exports=require("@ali/gcom-aec-utils/index")},function(e,t){e.exports=require("@ali/rax-pkg-rax-text@2/index")},function(e,t){e.exports=require("@ali/pcom-driver/index")},function(e,t){e.exports=require("@ali/rax-pkg-rax-view@2/index")},function(e,t){e.exports=require("@ali/gcom-aec-image/index")},function(e,t){e.exports={page:{alignItems:"center",justifyContent:"flex-start",position:"absolute",top:0,left:0,right:0,bottom:0},"offline-icon":{width:"180rpx",height:"180rpx",marginTop:"300rpx",marginBottom:"45rpx"},"prompt-text-one":{fontSize:"36rpx",color:"rgb(25,25,25)",letterSpacing:0,textAlign:"center",lineHeight:"44rpx",marginBottom:"18rpx"},"prompt-text-two":{fontSize:"24rpx",color:"rgb(117,117,117)",letterSpacing:0,textAlign:"center",lineHeight:"32rpx"}}},function(e,t,n){e.exports=n(8)},function(e,t,n){"use strict";n.r(t),n.d(t,"plugin",(function(){return S}));var r,o=n(1),i=n(0),a=n(3),u=n.n(a),l=n(4),c=n.n(l),f=n(2),p=n.n(f),s=n(5),d=n.n(s),m={"ko-kr":{promptText1:"\uc774\ubca4\ud2b8\uac00 \uc885\ub8cc\ub418\uc5c8\uc2b5\ub2c8\ub2e4.",promptText2:"\ub2e4\uc74c \uae30\ud68c\ub97c \uae30\ub300\ud574\uc8fc\uc138\uc694!"},"en-us":{promptText1:"This event has ended.",promptText2:"Please stay tuned for the next one!"}},x=Object(o.getAEInfo)().aeLocale;var g,b,v=null!==(r=m[(g=x,b=function(e){switch(e){case"ar_MA":return"ar_SA";case"he_IL":return"iw_IL";case"id_ID":return"in_ID";default:return e}}(g),-1!==(null==b?void 0:b.indexOf("_"))?null==b?void 0:b.toLowerCase().replace("_","-"):"en-us")])&&void 0!==r?r:m.en_us,y=n(6),h=n.n(y).a,O={uri:"//ae01.alicdn.com/kf/S0b32acc94ad842339b6d7b175bb9e1798/360x360.png"},_=function(){var e,t;return Object(i.createElement)(c.a,{className:"page",style:h.page},Object(i.createElement)(d.a,{className:"offline-icon",source:O,style:h["offline-icon"]}),Object(i.createElement)(p.a,{className:"prompt-text-one",numberOfLines:1,style:h["prompt-text-one"]},null!==(e=null==v?void 0:v.promptText1)&&void 0!==e?e:"This event has ended."),Object(i.createElement)(p.a,{className:"prompt-text-two",numberOfLines:1,style:h["prompt-text-two"]},null!==(t=null==v?void 0:v.promptText2)&&void 0!==t?t:"Please stay tuned for the next one!"))},j=function(){var e=Object(i.createElement)(_,null);Object(i.render)(e,null,{driver:u.a})},T=function(){var e=document.querySelector("#content")||document.body,t=document.querySelector("#skeleton-diagram");e&&t&&e.removeChild(t)};function w(e){var t=e||{},n=t.pageInfo,r=t.sysInfo,o=Number(null==r?void 0:r.serverTime);if(!(null==n?void 0:n.offlineTime)||!o)return!1;try{var i=Number(n.offlineTime);return(Number.isNaN(i)||i<0)&&(i=function(e){try{var t=/(\d{4})-(\d{2})-(\d{2}) (\d{2}):(\d{2}):(\d{2})/.exec(e),n=t[1],r=t[2],o=t[3],i=t[4],a=t[5],u=t[6],l=new Date;return l.setFullYear(+n,+r-1,+o),l.setHours(+i,+a,+u),l.getTime()}catch(e){return null}}(n.offlineTime)),o&&i&&o>i}catch(e){return!1}}function S(e){var t=this;this.hook("pageDataAfterFirstScreen",(function(){var n;if("maintain"!==e.previewEnv){var r=Object(o.getPageType)(),i=t.store.get("pageData.resultValue"),a=null===(n=null==i?void 0:i.pageInfo)||void 0===n?void 0:n.offlineUrl;if(w(i)||/test_offline=true/.test(window.location.href)){if(/no_offline_jump/.test(window.location.href))return;"embed"===r||"tabbar"===r?(T(),j(),t.tube.suspend()):a&&location.replace(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/gcom-aec-tb-ability-script@0/index", [], function(require, exports, module) {module.exports=function(e){var o={};function n(t){if(o[t])return o[t].exports;var r=o[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=o,n.d=function(e,o,t){n.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:t})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,o){if(1&o&&(e=n(e)),8&o)return e;if(4&o&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(n.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&o&&"string"!=typeof e)for(var r in e)n.d(t,r,function(o){return e[o]}.bind(null,r));return t},n.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(o,"a",o),o},n.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},n.p="/",n(n.s=2)}([function(e,o){e.exports=require("@ali/gcom-aec-env/index")},function(e,o){e.exports=require("@ali/gcom-aec-scripts-loader/index")},function(e,o,n){e.exports=n(5)},function(e,o,n){"use strict";n.r(o);var t=[{name:"service-worker",url:"//assets.alicdn.com/g/gsgp/source-page-scripts/pc/service-worker.js",load:/www.aliexpress.com/.test(window.location.href)},{name:"react",url:"//assets.alicdn.com/g/ae-fe/global/0.0.3/index.js",payload:{async:!1},load:!0},{name:"cosmos",url:"//assets.alicdn.com/g/ae-fe/cosmos/0.0.201/pc/campaign.js",payload:{async:!1,onload:function(){document.dispatchEvent(new CustomEvent("cosmosReady")),window.__cosmosReady__=!0}},load:!0},{name:"header",url:"//assets.alicdn.com/g/ae-fe/page-header-ui/0.0.7/js/index.js",payload:{async:!1},load:!0},{name:"footer",url:"//assets.alicdn.com/g/gsgp/source-page-scripts/pc/footer.js",load:!0}];o.default=t},function(e,o,n){"use strict";n.r(o);var t=n(0),r={name:"cosmos",url:"//assets.alicdn.com/g/ae-fe/cosmos/0.0.191/msite/campaign.js",load:!0},i=[{name:"service-worker",url:"//assets.alicdn.com/g/gsgp/source-page-scripts/msite/service-worker.js",load:/m.aliexpress.com/.test(window.location.href)},r];if(t.isAEApp){var a=document.createElement("meta");a.setAttribute("name","aplus-toUT"),a.setAttribute("content","2");var d=document.querySelector("head");null==d||d.appendChild(a),t.isADC&&(i=[r])}o.default=i},function(e,o,n){"use strict";n.r(o),n.d(o,"plugin",(function(){return r}));var t=n(1);function r(e){var o=this;this.event.$on("perflog.send",(function(){var r=o.store.get("pageData.renderExtends")||{};!function(e,o){var r,i,a,d,s=(e||{}).device,c=void 0===s?"pc":s,l=[];l="pc"===c?null===(r=n(3))||void 0===r?void 0:r.default:null===(i=n(4))||void 0===i?void 0:i.default,"phone"===c&&"false"===(null===(a=null==o?void 0:o.headerDisplay)||void 0===a?void 0:a.msite)&&(l=l.filter((function(e){return"header"!==e.name}))),"pc"===c&&"false"===(null===(d=null==o?void 0:o.headerDisplay)||void 0===d?void 0:d.pc)&&(l=l.filter((function(e){return"header"!==e.name})));var u=(e||{}).loaderConfig,p=((null===window||void 0===window?void 0:window._page_config_)||{}).loader,f=void 0===p?{}:p,v=l.filter((function(e){var o=e||{},n=o.name,t=void 0===n?"":n,r=o.load,i=function(e){return void 0===e||"boolean"==typeof e?e:null==e?void 0:e.load}(null==u?void 0:u[t]),a=null==f?void 0:f[t],d=void 0!==i?i:r;return!!(d=void 0!==a?a:d)})),m=v.map((function(e){return e.url}));Object(t.loadScripts)({srcList:m,srcListMap:v})}(e,r)})),this.hook("pageDataAfterFirstScreen",(function(){var n=(o.store.get("pageData.pageInfo")||{}).spmb;!function(e,o){var n,t;if("pc"!==(null==e?void 0:e.device)){window.SMART_BANNER_CONFIG=window.SMART_BANNER_CONFIG||{};try{window.SMART_BANNER_CONFIG.ready=!0,window.SMART_BANNER_CONFIG.spmb=o;var r=null===(n=null===window||void 0===window?void 0:window.document)||void 0===n?void 0:n.createEvent("Event");r.initEvent("smartBannerReady",!0,!0),null===(t=null===window||void 0===window?void 0:window.document)||void 0===t||t.dispatchEvent(r)}catch(e){console.error(e)}}}(e,void 0===n?"":n)}))}}]);; (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-scripts-loader/index", [], function(require, exports, module) {module.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},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";function r(t){var e="function"==typeof Map?new Map:void 0;return r=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return o(t,arguments,i(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),u(r,t)},r(t)}function o(){return(o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}()?Reflect.construct.bind():function(t,e,n){var r=[null];r.push.apply(r,e);var o=new(Function.bind.apply(t,r));return n&&u(o,n.prototype),o}).apply(null,arguments)}function u(t,e){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},u(t,e)}function i(t){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},i(t)}n.r(e),n.d(e,"loadScript",(function(){return f})),n.d(e,"loadScripts",(function(){return a}));var c=function(t){var e,n;function r(e){var n;return void 0===e&&(e=""),(n=t.call(this,e)||this).name="ScriptLoadError",n}return n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,u(e,n),r}(r(Error));function l(t,e){return void 0===e&&(e=null),new Promise((function(n,r){var o,u=document.createElement("script");u.addEventListener("load",(function(){n(u)})),u.addEventListener("error",(function(){r(new c("[script-load] "+t+" failed to load."))})),u.type="text/javascript",u.async=!0,u.src=t,u.crossOrigin="anonymous",e&&(null===(o=Object.keys(e))||void 0===o?void 0:o.length)&&Object.keys(e).forEach((function(t){(e[t]||"false"===String(e[t]))&&(u[t]=e[t])})),document.querySelector("head").appendChild(u)}))}function f(t,e,n){return void 0===e&&(e={}),void 0===n&&(n=null),t?l(t,n):Promise.resolve()}function a(t){var e=t||{},n=e.srcList,r=void 0===n?[]:n,o=e.srcListMap,u=void 0===o?[]:o;if(!(null==r?void 0:r.length)&&!(null==u?void 0:u.length))return Promise.resolve();var i=[];return i=(null==u?void 0:u.length)?u.map((function(t){var e=t.url,n=void 0===e?"":e,r=t.payload;return l(n,r).catch((function(){throw new c("[script-load] "+n+" failed to load.")}))})):r.map((function(t){return l(t).catch((function(){throw new c("[script-load] "+t+" failed to load.")}))})),Promise.all(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@0/index", [], function(require, exports, module) {module.exports=function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=3)}([function(e,t){e.exports=require("@ali/gcom-aec-tracker/index")},function(e,t){e.exports=require("@ali/gcom-aec-env/index")},function(e,t){e.exports=require("@ali/gcom-aec-spm/index")},function(e,t,n){e.exports=n(4)},function(e,t,n){"use strict";n.r(t),n.d(t,"plugin",(function(){return p})),n.d(t,"tube",(function(){return l}));var o=n(1),r=n(0),a="";var i={};function u(e,t,n){var o=function(e,t){var n,o,r;if(i&&Object.keys(i).length>0)return i;var a=(null==e?void 0:e.pageTracks)||[],u=(null===(r=null===(o=null===(n=null==t?void 0:t.plugins)||void 0===n?void 0:n["zebra-plugin-dtc"])||void 0===o?void 0:o.data)||void 0===r?void 0:r.abFloors)||[],s=[],p={};return u.forEach((function(e){if(e.groups){var t=e.component+"_"+e.module;Object.keys(e.groups).forEach((function(e){s.push({moduleId:e,key:t})}))}})),a.forEach((function(e){e.forEach((function(e){p[e.component+"_"+e.module]="aliabtest"+e.abtest}))})),s.forEach((function(e){var t=e.moduleId,n=e.key;i[t]||(i[t]=[]),p[n]&&i[t].push(p[n])})),Object.keys(i).forEach((function(e){i[e]=i[e].join(".")})),i}(e,t);return null==o?void 0:o[n]}var s=function(e,t,n){var o=function(e){var t;if(!a){var n=null===(t=null==e?void 0:e.pageTracks)||void 0===t?void 0:t.reduce((function(e,t){return[].concat(e,t.reduce((function(e,t){return[].concat(e,["aliabtest"+t.abtest])}),[]))}),[]);a=null==n?void 0:n.join(".")}return a}(n);r.tracker.pv(e,Object.assign(Object.assign({},t),{abtest:o}))};var p=function(e){var t=this,n=e.disableSendSpm,a=void 0!==n&&n,i=e.sendSpmParams,p=void 0===i?{}:i,d=e.disableModuleExp;void 0!==d&&d||window.addEventListener("moduleAppear",(function(e){var n;!function(e,t){var n=null==t?void 0:t.uuid;if(n){var o=e.store.get("pageData.fri"),a=e.store.get("pageData.pageInfo"),i=e.store.get("pageSpm.moduleExpMap")||{};if(!i[n]){i[n]=!0,e.store.set("pageSpm.moduleExpMap",i);var s=a.spma,p=a.spmb,d=t.spm||n,c=u(o,a,n);r.tracker.exp("Floor_Exposure_Event",s+"."+p+"."+d,{abtest:c},n)}}}(t,null===(n=null==e?void 0:e.detail)||void 0===n?void 0:n.moduleInfo)})),this.hook("pageSpm.afterSend",(function(){var e=t.store.get("pageData.pageInfo"),n=t.store.get("pageData.fri");o.isADC&&window.addEventListener("pageappear",(function(){if(!a){var t=e.spma,o=e.spmb;s(t+"."+o,p,n)}}))}),{once:!0})},d=n(2),c=n.n(d),l=function(e){var t=this.store.get("env.isNode"),n=this.store.get("env.isPreRender");if(!t&&!n){var o=this.store.get("pageData.fri"),a=this.store.get("pageData.pageInfo"),i=this.store.get("pageData.modules");if(!this.store.get("pageSpm.pvSent")){this.hook("pageSpm.beforeSend"),this.store.set("pageSpm.pvSent",!0);var p=e.disableSendSpm,d=void 0!==p&&p,l=e.sendSpmParams,f=void 0===l?{}:l,v=a.spma,g=a.spmb,m=a.utPageName;c.a.setPageSPM(v,g),r.tracker.setConfig({pageName:m}),d||s(v+"."+g,f,o),this.hook("pageSpm.afterSend");var b=!1;null==i||i.forEach((function(e){var t=null==e?void 0:e.uuid;if(t){var n=u(o,a,t);n&&(e.abtest=n,b=!0)}})),b&&this.store.set("pageData.modules",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-tracker/index", [], function(require, exports, module) {module.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/",r(r.s=4)}([function(e,t){e.exports=require("@ali/gcom-aec-env/index")},function(e,t){e.exports=require("@ali/gcom-aec-utils/index")},function(e,t){e.exports=require("@ali/rax-pkg-rax/index")},function(e,t){e.exports=require("@ali/rax-pkg-rax-view@2/index")},function(e,t,r){e.exports=r(5)},function(e,t,r){"use strict";r.r(t),r.d(t,"tracker",(function(){return O}));var n=r(2),o=r(3),a=r.n(o),i=r(1),c=r(0),s=Date.now()+"_"+Math.floor(1e3*Math.random()),p={};try{var l=i.qs.parse(window.location.href);l.spm&&(p["spm-url"]=l.spm),l["spm-url"]&&(p["spm-pre"]=l["spm-url"]),l.pvid&&(p.pvid=l.pvid),l["scm-url"]&&(p["scm-url"]=l["scm-url"])}catch(e){console.log(e)}var u=p,f=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o=3?{onAppear:function(){if(Array.isArray(f)&&f.length>=3){var e=f[0],t=f[1],r=f[2];O.exp(e,u,t,r)}d&&d()}}:{},h=function(e,t){if(e){var r=new RegExp("("+t+"=)(.*?)([;&]|$)");return e.replace(r,"")}},k="";try{if(p){var x=p.split("?"),j=x[0],P=x[1],S=P?P.split("#"):"",A=S[0],N=S[1];new URLSearchParams(A).set("spm",u);var T=A;T=h(A,"spm");var U="spm="+u;if(c.isIOS?(T=h(T,"_target"),U+="&_target=blank"):(T=h(T,"aecmd"),U+="&aecmd=true"),c.isMobile&&!c.isAliApp)T=h(T,"browser_id"),T=h(T,"aff_trace_key"),T=h(T,"aff_platform"),U=""+U+("&browser_id="+(Object(i.getCookie)("aep_usuc_f","acs_rt")||Object(i.getCookie)("xman_us_f","acs_rt")))+("&aff_trace_key="+Object(i.getCookie)("aeu_cid"))+"&aff_platform=msite";k=A?j+"?"+T+"&"+U+(N?"#"+N:""):j+"?"+U+(N?"#"+N:"")}}catch(e){console.log(e)}var q=Object.assign(Object.assign({ref:t,target:o,style:b,href:k,onClick:function(e){if(Array.isArray(g)&&g.length>=2){var t=g[0],r=g[1];O.clk(t,u,r)}m&&m(e)}},_),y);return k?(q.style=Object.assign({textDecoration:"none",color:"inherit",boxSizing:"border-box",display:"flex",flexDirection:"column",flexShrink:0,alignContent:"flex-start",border:"0 solid black",margin:0,padding:0},q.style),Object(n.createElement)("a",q,w)):Object(n.createElement)(a.a,q,w)}));h.displayName="Link";var k=h;t.default=k}]);; (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) {module.exports=function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";n.r(t);var o;if(void 0!==window.__UNIVERSAL_SPM__)o=window.__UNIVERSAL_SPM__;else{var r=["0","0"];o={getPageSPM:function(){if(window.goldlog){var e=window.goldlog.spm_ab;r=e&&Array.isArray(e)&&"0.0"!==e.join(".")?e:r}return[r[0],r[1]]},getSPM:function(e,t){return[].concat(this.getPageSPM(),e||0,t||0)},getSPMQueryString:function(e,t){return"spm="+this.getSPM(e,t).join(".")},setPageSPM:function(e,t){(r[0]=e,r[1]=t,window.goldlog&&window.goldlog.setPageSPM)?window.goldlog.setPageSPM(e,t):(window.goldlog_queue||(window.goldlog_queue=[])).push({action:"goldlog.setPageSPM",arguments:[e,t]})}},window.__UNIVERSAL_SPM__=o}t.default=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-tb-ability-report@0/index", [], function(require, exports, module) {module.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=4)}([function(e,t){e.exports=require("@ali/gcom-aec-env/index")},function(e,t){e.exports=require("@ali/gcom-aec-utils/index")},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i=0||(o[n]=e[n]);return o},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(){return e.exports=n=Object.assign?Object.assign.bind():function(e){for(var t=1;t0&&t>0&&(this.data.fsHeightTppCalculateRatio=((a.isMobile?d*e:d)/t).toFixed(4)),this.data.fsHeightSplitRatio="0.0000";var c=this.ctx.store.get("modSplit.sumHeight")||0;t>0&&(this.data.fsHeightSplitRatio=((a.isMobile?c*e:c)/t).toFixed(4)),this.data.fsHeightRatio="0.0000";var f=function(e){for(var t=(null==e?void 0:e.offsetTop)||0,n=(null==e?void 0:e.offsetLeft)||0,i=null==e?void 0:e.offsetParent;null!==i;)t+=i.offsetTop,n+=i.offsetLeft,i=i.offsetParent;return{top:t,left:n}}(null===document||void 0===document?void 0:document.getElementById("first-screen-end-row")).top;f>0&&t>0&&(this.data.fsHeightRatio=(f/t).toFixed(4),this.data.issf=f>=t,u("fsHeightRatio",this.data.fsHeightRatio))},t.report=function(){if(!this.isReported){this.isReported=!0;var e=this.data,t=this.stamp;i&&i.sendSafeEvent({eventId:"webRenderComplete",eventName:"web\u9875\u9762\u6e32\u67d3\u5b8c\u6210"}),this.ctx.event.$emit(o,{data:e,stamp:t,tracker:i})}},t.cal=function(){var e=this;setTimeout((function(){try{e.calFsHeightRatioInfo(),e.calFsModuleHeightInfo()}catch(e){console.log("report FsHeightInfo error",e)}e.report()}),500)},e}(),l=f;var p=function(e){var t=new l(this,e);t.enable&&(t.initListener(),this.event.$on(o,(function(e){!function(e){(0,n(7).default)(e)}(e||{})})))}}]);; (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@0/index", [], function(require, exports, module) {module.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="/",r(r.s=2)}([function(t,e,r){"use strict";r.d(e,"a",(function(){return n})),r.d(e,"b",(function(){return i}));var n=function(){window.feloader&&(window.feloader.undef=function(t){var e=window.feloader.Loader.Utils,r=(0,e.createModule)(t).getNormalizedModules();e.each(r,(function(t){t.status=window.feloader.Loader.Status.UNLOADED,t.error=void 0,t.factory=void 0,t.exports=void 0}))})},o={},i=function(t,e){var r,n;o[t]||(o[t]=!0,null===(n=null===window||void 0===window?void 0:window.WindVane)||void 0===n||n.call("AEWVAdcPerformance","update",((r={})[t]=e,r),(function(e){console.log("AEWVAdcPerformance report "+t+" success"+JSON.stringify(e))}),(function(e){console.log("AEWVAdcPerformance report "+t+" fail"+JSON.stringify(e))})))}},function(t,e){t.exports=require("@ali/gcom-aec-scripts-loader/index")},function(t,e,r){t.exports=r(4)},function(t,e,r){"use strict";r.r(e),r.d(e,"appendCssToHead",(function(){return d}));var n=r(1),o=r(0);function i(){i=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new S(n||[]);return o(a,"_invoke",{value:O(t,r,u)}),a}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var h="suspendedStart",v="executing",p="completed",y={};function g(){}function w(){}function m(){}var b={};s(b,u,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,u)&&(b=E);var L=m.prototype=g.prototype=Object.create(b);function _(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,u){var c=d(t[o],t,i);if("throw"!==c.type){var l=c.arg,s=l.value;return s&&"object"==typeof s&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===v)throw new Error("Generator is already running");if(o===p){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===y)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var l=d(e,r,n);if("normal"===l.type){if(o=n.done?p:"suspendedYield",l.arg===y)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=p,n.method="throw",n.arg=l.arg)}}}function k(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,k(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=d(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(c&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),N(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;N(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}var a=function(t,e,r,n){return new(r||(r=Promise))((function(o,i){function a(t){try{c(n.next(t))}catch(t){i(t)}}function u(t){try{c(n.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,u)}c((n=n.apply(t,e||[])).next())}))},u={},c={},l=new RegExp("^rax-pkg/(.*)/([0-9]+).[0-9]+.[0-9]+/index.js$"),s=new RegExp("^code/npm/@ali/(.*)/([0-9]+).[0-9]+.[0-9]+/index.js$"),f=new RegExp("^(.*)/[0-9]+.[0-9]+.[0-9]+/index.css$");function d(t){var e=document.createElement("link");e.type="text/css",e.rel="stylesheet",e.href=t;var r=document.querySelector("head");r&&r.appendChild(e)}function h(t,e){var r,n,o,i,a="js"===e?c:u,d=t.filter((function(t){return(null==t?void 0:t.type)===e})),h=(null===(n=null===(r=null===window||void 0===window?void 0:window.adc)||void 0===r?void 0:r.config)||void 0===n?void 0:n.defineJsModules)||(null===window||void 0===window?void 0:window.page_cache_modules)||[],v=(null===(i=null===(o=null===window||void 0===window?void 0:window.adc)||void 0===o?void 0:o.config)||void 0===i?void 0:i.defineCssModules)||(null===window||void 0===window?void 0:window.css_cache_modules)||[];console.log("tubes_module-loader: defineJsModules: ",h),console.log("tubes_module-loader: defineCssModules: ",v);var y=d.map((function(t){var r=p(null==t?void 0:t.uri),n=r.host,o=void 0===n?"":n,i=r.uris,u=(void 0===i?[]:i).filter((function(t){var r,n,o,i,u,c,d,p,y,g,w;if(a[t])return!1;if("css"===e&&v&&v.length>0){var m=v.includes(t);if(console.log("tubes_module-loader: "+t+" hit css upr cache: "+m),m)return!1;var b=f.exec(t),x=null==b?void 0:b[1],E=x&&(null===(r=v.find)||void 0===r?void 0:r.call(v,(function(t){return t.startsWith(x)}))),L=E&&document.getElementById(E);L&&L.parentNode&&(console.log("tubes_module-loader: remove css upr define "+E),L.parentNode.removeChild(L))}if("js"===e&&h&&h.length>0){var _=h.includes(t);if(console.log("tubes_module-loader: "+t+" hit js upr cache: "+_),_)return!1;var j="0",O="",k="",P="",N=l.exec(t);(null==N?void 0:N[1])&&(j=N[2],O="@ali/rax-pkg-"+N[1]+"/index",k="@ali/rax-pkg-"+N[1]+"@"+j+"/index",P="rax-pkg-"+N[1]);var S=s.exec(t);(null==S?void 0:S[1])&&(j=S[2],O="@ali/"+S[1]+"/index",k="@ali/"+S[1]+"@"+j+"/index",P="code/npm/@ali/"+S[1]),(null===(u=null===(i=null===(o=null===(n=null===window||void 0===window?void 0:window.feloader)||void 0===n?void 0:n.Env)||void 0===o?void 0:o.mods)||void 0===i?void 0:i[O])||void 0===u?void 0:u.factory)&&(console.log("tubes_module-loader: remove js upr define "+O),null===(c=null===window||void 0===window?void 0:window.feloader)||void 0===c||c.undef(O)),(null===(g=null===(y=null===(p=null===(d=null===window||void 0===window?void 0:window.feloader)||void 0===d?void 0:d.Env)||void 0===p?void 0:p.mods)||void 0===y?void 0:y[k])||void 0===g?void 0:g.factory)&&(console.log("tubes_module-loader: remove js upr define "+k),null===(w=null===window||void 0===window?void 0:window.feloader)||void 0===w||w.undef(k),P=P+"/"+j);var T=h.filter((function(t){return t.startsWith(P)})).sort()[0],G=h.findIndex((function(t){return t===T}));G>-1&&h.splice(G,1)}return!0}));return Object.assign(Object.assign({},t),{uri:(null==u?void 0:u.length)?o+"??"+u.join(","):""})})).filter((function(t){return!!(null==t?void 0:t.uri)}));return y}function v(t,e){if(t&&e){var r=p(e).uris,n=void 0===r?[]:r;(null==n?void 0:n.length)&&n.forEach((function(e){return t[e]=!0}))}}function p(t){var e=t.split("??")||[],r=e[0],n=e[1];return{host:r,uris:(null==n?void 0:n.split(","))||[]}}Object(o.a)(),e.default=function(t,e,r){var o,l=(e||{}).asyncRender;return void 0===l||l?(Array.isArray(null===(o=null==e?void 0:e.preload)||void 0===o?void 0:o.js)&&e.preload.js.forEach((function(t){v(c,t)})),function(t){var e=h(t,"css");e.forEach((function(t){var e=null==t?void 0:t.uri;d(e),v(u,e)}))}(r),function(t,e){return a(this,void 0,void 0,i().mark((function r(){var o,a;return i().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=h(t,"js"),a=o.map((function(t){var r=t.uri.replace("//g.alicdn.com","//assets.alicdn.com/g");return Object(n.loadScript)(r).catch((function(t){1===e&&window.dispatchEvent(new CustomEvent("pushTubeError",{detail:{code:"tubes_module-loader_loadJsFromComboUri",message:r+" request failed!",level:"error"}})),window.dispatchEvent(new CustomEvent("pushTubeError",{detail:{code:"tubes_module-loader_loadJsFromComboUri",message:r+" request failed!",data:t}}))}))})),r.next=4,Promise.all(a);case 4:return r.sent.filter((function(t){return void 0!==t})).forEach((function(t){v(c,null==t?void 0:t.src)})),r.abrupt("return",o);case 8:case"end":return r.stop()}}),r)})))}(r,t.store.get("pageData.sequence")).catch((function(t){window.dispatchEvent(new CustomEvent("pushTubeError",{detail:{code:"tubes_module-loader_loadJsFromComboUri",message:"loadJsFromComboUri request failed!",data:t}}))}))):Promise.resolve()}},function(t,e,r){"use strict";r.r(e),r.d(e,"tube",(function(){return h}));var n="afterModuleLoader";function o(){o=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var o=e&&e.prototype instanceof g?e:g,a=Object.create(o.prototype),u=new S(n||[]);return i(a,"_invoke",{value:O(t,r,u)}),a}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var h="suspendedStart",v="executing",p="completed",y={};function g(){}function w(){}function m(){}var b={};s(b,u,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,u)&&(b=E);var L=m.prototype=g.prototype=Object.create(b);function _(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,u){var c=d(t[o],t,i);if("throw"!==c.type){var l=c.arg,s=l.value;return s&&"object"==typeof s&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,u)}))}u(c.arg)}var o;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}})}function O(e,r,n){var o=h;return function(i,a){if(o===v)throw new Error("Generator is already running");if(o===p){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===y)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var l=d(e,r,n);if("normal"===l.type){if(o=n.done?p:"suspendedYield",l.arg===y)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=p,n.method="throw",n.arg=l.arg)}}}function k(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,k(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=d(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(c&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),N(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;N(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}var i=function(t,e,r,n){return new(r||(r=Promise))((function(o,i){function a(t){try{c(n.next(t))}catch(t){i(t)}}function u(t){try{c(n.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,u)}c((n=n.apply(t,e||[])).next())}))};function a(t){var e=t.config,r=t.fullName,n=t.name;t.modSpec;return(r||"mui/"+n)+"/index"+("pc"===(null==e?void 0:e.device)?"-pc":(null===window||void 0===window?void 0:window.__supportsES6)?"-es6":"")}function u(t){return new Promise((function(e,r){try{(0,window.require)(t,e,r)}catch(t){r(t)}}))}function c(t,e){var r;return i(this,void 0,void 0,o().mark((function n(){var i,c,l,s,f,d,h,v,p,y;return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(c=(i=e||{}).isSourcePage,l=i.sourceModuleMap,s=void 0===l?{}:l,null==(f=t.store.get("pageData.modules")||[])?void 0:f.length){n.next=4;break}return n.abrupt("return",{});case 4:if((null==e?void 0:e.development)&&t.log("modules",f),!c){n.next=8;break}return d=(null===(r=Object.keys(s))||void 0===r?void 0:r.length)?f.reduce((function(t,e){var r,n,o,i=null===(n=null===(r=null==e?void 0:e.fullName)||void 0===r?void 0:r.split("--"))||void 0===n?void 0:n[2];i&&(t=Object.assign(Object.assign({},t),((o={})[null==e?void 0:e.fullName]=s[i],o)));return t}),{}):{},n.abrupt("return",d);case 8:return h=f.map((function(t){return a({config:e,fullName:null==t?void 0:t.fullName,name:null==t?void 0:t.name,modSpec:null==t?void 0:t.modSpec})})),v=h.map((function(t){return u(t).catch((function(e){console.error("\ud83d\ude00\u6a21\u5757require\u62a5\u9519\u5566\uff01\uff01\uff01"+t+" request failed!"),window.dispatchEvent(new CustomEvent("pushTubeError",{detail:{code:"tubes_module-loader_feRequireAll",message:t+" request failed!",data:e}}))}))})),n.next=12,Promise.all(v);case 12:return p=n.sent,y=f.reduce((function(t,e,r){var n;return Object.assign(Object.assign({},t),((n={})[null==e?void 0:e.fullName]=p[r],n))}),{}),n.abrupt("return",y);case 15:case"end":return n.stop()}}),n)})))}var l=r(0);function s(){s=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new S(n||[]);return o(a,"_invoke",{value:O(t,r,u)}),a}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var h="suspendedStart",v="executing",p="completed",y={};function g(){}function w(){}function m(){}var b={};l(b,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==r&&n.call(E,a)&&(b=E);var L=m.prototype=g.prototype=Object.create(b);function _(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,u){var c=d(t[o],t,i);if("throw"!==c.type){var l=c.arg,s=l.value;return s&&"object"==typeof s&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===v)throw new Error("Generator is already running");if(o===p){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===y)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var l=d(e,r,n);if("normal"===l.type){if(o=n.done?p:"suspendedYield",l.arg===y)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=p,n.method="throw",n.arg=l.arg)}}}function k(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,k(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=d(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(c&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),N(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;N(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}var f=function(t,e,r,n){return new(r||(r=Promise))((function(o,i){function a(t){try{c(n.next(t))}catch(t){i(t)}}function u(t){try{c(n.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,u)}c((n=n.apply(t,e||[])).next())}))};function d(t){var e;if(null==t?void 0:t.isSourcePage)return Promise.resolve(null);var n=this.store.get("pageData.modules")||[],o=this.store.get("pageData.resultValue")||{},i=(null==o?void 0:o.seedComboUris)||[];return(null==t?void 0:t.development)&&this.log("seedComboUris",i),(null==n?void 0:n.length)&&(null==i?void 0:i.length)?(null===(e=r(3))||void 0===e?void 0:e.default)(this,t,i):Promise.resolve(null)}var h=function(t){return f(this,void 0,void 0,s().mark((function e(){var r,o,i;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=this.store.get("pageData.sequence"),this.hook("beforeModuleLoader",{sequence:r}),!this.store.get("env.isNode")){e.next=8;break}u=void 0,u=(a=this).store.get("ssr.module"),a.store.set("moduleDefineMap",u),this.hook(n,{sequence:r}),e.next=22;break;case 8:return Object(l.b)("fsModuleLoadStart",(new Date).getTime()),e.next=11,d.apply(this,[t]);case 11:return o=e.sent,Object(l.b)("fsModuleLoadEnd",(new Date).getTime()),Object(l.b)("fsModuleLoadList",o),Object(l.b)("fsModuleRequireStart",(new Date).getTime()),e.next=17,c(this,t);case 17:i=e.sent,Object(l.b)("fsModuleRequireEnd",(new Date).getTime()),(null==t?void 0:t.development)&&this.log("moduleDefineMap",i),this.store.set("moduleDefineMap",i),this.hook(n,{sequence:r,urls:o});case 22:case"end":return e.stop()}var a,u}),e,this)})))}}]);; (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@0/index", [], function(require, exports, module) {module.exports=function(e){var t={};function o(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}return o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/",o(o.s=1)}([function(e,t){e.exports=require("@ali/gcom-aec-env/index")},function(e,t,o){e.exports=o(2)},function(e,t,o){"use strict";o.r(t),o.d(t,"tube",(function(){return R}));var n=o(0),r="bodyModList",i="pendingBodyRows",l="emptyRowModIds",s="getModuleRows",u="getModuleRowHeight",a=300,d="aec-tb-ability-module-split-empty",c="aec-tb-ability-module-empty-pit",f="aec-tb-ability-module-split-no-define";function p(e){return e.uuid||e.moduleId||e.rmcId}function h(e,t,o,n){return o=o||0,{rowId:p(e)+"-"+o,splitResult:t,rowIndex:o,moduleInfo:e,moduleClass:n}}function m(e,t,o,n,r){var i,l=e[u];if(l&&"number"==typeof l)i=l;else if(l&&l instanceof Function)i=l(o,n,r);else{i=e[s]?a:{}[t]||0}var d=Number(i);return Number.isNaN(d)?(console.error("mod split row height is not a number: "+t+" "+i),0):d}function g(e,t,o,n){var r=function(e,t){var o=e.fullName;return t&&t[""+o]||function(){}}(e,o),i=e.fullName,l=p(e);if(!r)return console.error("can't get module class define of "+i),window.dispatchEvent(new CustomEvent("pushTubeError",{detail:{code:f,message:"no define of "+i,data:[l,i]}})),[];var u=r.gSize;if(u&&u>1&&t.data)return function(e,t,o,n,r,i){for(var l=e.data,s=[],u=0,a=0;a1){g.reduce((function(e,t){var o,n;return(null===(o=null==e?void 0:e.data)||void 0===o?void 0:o.length)===(null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.length)}))||window.dispatchEvent(new CustomEvent("pushTubeError",{detail:{code:c,message:"split by "+s+" result empty pit",data:[l,i]}}))}}catch(e){g=[],console.error("exec "+s+" function error:",e),window.dispatchEvent(new CustomEvent("pushTubeError",{detail:{code:d,message:"split by "+s+" throws error, result empty, msg: "+(null==e?void 0:e.message),data:[l,i]}}))}return g.map((function(o,n){return o.$theme=t.$theme,o.$attr=t.$attr,o.locale=t.locale,h(e,{rowData:o,layoutHeight:m(r,i,o,e,n)},n,r)}))}console.warn("module "+l+" "+e.fullName+" did not have "+s+" function"),e.data=t;var w=!1;t.theme&&!e.config&&(w=!0,e.config=t.theme);var y=h(e,{rowData:t,layoutHeight:m(r,i,t,e,0)},0,r);return w||delete e.config,[y]}var v=function(e){return"[object Array]"===toString.call(e)},w=function(e){return"[object Object]"===toString.call(e)},y=function(e){return I(e)},b=function(e){return I(e,!0)};function I(e,t){if(void 0===t&&(t=!1),!v(e)&&!w(e))return e;if(w(e)){for(var o={},n=Object.keys(e),r=0,i=n.length;r=n?n-s:a,f=i):"append"===r&&(d=o+n,c=0,f=i),{spliceStart:d,spliceDeleteAmount:c,spliceInsertArr:f}}(f,c),y=w.spliceStart,b=w.spliceDeleteAmount,I=w.spliceInsertArr;if(null!==y&&null!==b&&null!==I){var C=u[g]||[],E=C[h]||{},S=p(E.moduleInfo),L=null;if(E.moduleClass[s]instanceof Function){var R=E.moduleClass[s];L=I.reduce((function(e,n){var r=R(n,E.$theme,E.$attr,o,t,E.dataConfig,a,E.moduleInfo)||[];return e.concat(r)}),[])}if(L){var x=v-b+L.length;x>0&&(E.moduleInfo.cellLength=x);var D,j,O,M,P=(D=L,O=(j=E).moduleClass,M=j.moduleInfo,D.map((function(e,t){return{splitResult:{rowData:e,layoutHeight:m(O,M.fullName,e,M,t)},moduleInfo:M,moduleClass:O}})));C.splice.apply(C,[y,b].concat(P));for(var H=h;H=0)){var o,n=function(e,t){if(void 0===t&&(t=!1),!e)return e;var o={};return t?o=b(e):Object.keys(e).forEach((function(t){o[t]=y(e[t])})),o}(m[t]||{}),i=g(e,n,I,[w,v]);if(i&&i[0]&&(i[0].isFirstCell=!0,i[i.length-1]&&(i[i.length-1].isLastCell=!0)),R[r]=R[r]||[],i.length>0)e.cellLength=i.length,(o=R[r]).push.apply(o,i);else R[l].push(t);d.push(t)}})),L&&!x){var D=0,j=0,O=f*(Number(E)||1.2);if(n.isMobile){var M=null===document||void 0===document?void 0:document.querySelector(".header-toolbar");M&&(D+=M.clientHeight*(750/window.innerWidth))}else{var P=null===document||void 0===document?void 0:document.querySelector(".header-container-item");P&&(D+=P.clientHeight)}for(;D=0)return a=i,1};d>=0&&!c();d--);s=this.moduleList[d]?a+1:0,this.allUI.splice(s,0,o),this.allUI=[].concat(this.allUI),this.hiddenModules[n]=!1,this.changeCallBack(this.allUI)}}}},t}());var r=function(){var t=this,e=this.store.get("pageData.modules")||[],i=[],n=999999;(null==e?void 0:e.length)>0&&e.forEach((function(t,e){"@ali/gmod-h5-rax-lift"===(null==t?void 0:t.fullName)&&(n=e),e>n&&i.push(t)}));var r=this.store.get("pageData.data")||[],u=this.store.get("env.device");o.isInit||o.onAllUIChange((function(e){t.store.set("pageData.allUI",e),window.__lteElevatorAllUI=e,window.dispatchEvent(new CustomEvent("onFloorTitleUpdate",{detail:{allUI:e}}))})),o.init();var a=[],d=i.reduce((function(t,e){var i=l(e);if(a.includes(i))return t;a.push(i);var n=function(t,e){var i;void 0===e&&(e=!1);var n=t.locale,l=void 0===n?{}:n,o=t.theme,r=void 0===o?{}:o,u=(null==l?void 0:l.locale)||l;return null!==(i="true"===(null==r?void 0:r[function(t){return void 0===t&&(t=!1),t?"hidePCElevatorTitle":"hideMobileElevatorTitle"}(e)]))&&void 0!==i&&i||!(null==u?void 0:u.mainTitle)||!u?null:{title:u.mainTitle,icon:null==r?void 0:r.mainTitleIcon}}(r[i]||{},"pc"===u);return n&&n.title?t.concat([Object.assign(Object.assign({},n),{id:i,moduleId:i})]):t}),[]);o.setModuleList(i.map((function(t){return l(t)}))),o.setAllUI(d)}}]);; (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@0/index", [], function(require, exports, module) {module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=15)}([function(e,t){e.exports=require("@ali/rax-pkg-rax/index")},function(e,t,n){e.exports=n(21)()},function(e,t){e.exports=require("@ali/rax-pkg-rax-view@2/index")},function(e,t,n){"use strict";(function(e,r){n.d(t,"g",(function(){return o})),n.d(t,"e",(function(){return i})),n.d(t,"d",(function(){return c})),n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return l})),n.d(t,"c",(function(){return u})),n.d(t,"f",(function(){return f}));var o="undefined"!=typeof window&&"onload"in window,i=void 0!==e&&!(!e.versions||!e.versions.node),a="undefined"!=typeof WXEnvironment&&"Web"!==WXEnvironment.platform,c="undefined"!=typeof my&&null!==my&&void 0!==my.alert,s="undefined"!=typeof tt&&null!==tt&&void 0!==tt.showToast,l="undefined"!=typeof swan&&null!==swan&&void 0!==swan.showToast,u="undefined"!=typeof ks&&null!==ks&&void 0!==ks.showToast,f=!s&&"undefined"!=typeof wx&&null!==wx&&(void 0!==wx.request||void 0!==wx.miniProgram),d=(null!=r&&r.callNative,c&&o&&my.isFRM,"object"==typeof navigator?navigator.userAgent||navigator.swuserAgent:"");/.+AliApp\((\w+)\/((?:\d+\.)+\d+)\).* .*(WindVane)(?:\/((?:\d+\.)+\d+))?.*/.test(d)&&o&&"undefined"!=typeof WindVane&&WindVane.call}).call(this,n(18),n(19))},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t1)for(var n=1;ne&&r!==t&&(window.dispatchEvent(new CustomEvent("onListEndReached",{detail:n})),t=r),e=i}))},l=null,u=!1,function(){if(!u){u=!0;for(var e=arguments.length,t=new Array(e),n=0;n=e.config.duration?e.config.duration:e.now-e.start,e.progress=e.easingFn(e.duration/e.config.duration),e.percent=e.duration/e.config.duration+e._hasFinishedPercent,e.percent>=1||e._stop)return e.percent=e._stop&&e._stop.percent?e._stop.percent:1,e.duration=e._stop&&e._stop.duration?e._stop.duration:e.duration,n({percent:e.progress,originPercent:e.percent,t:e.t,type:E}),r({percent:e.percent,t:e.t,type:I}),void(e.percent>=1&&(e.isfinished=!0,e.stop()));n({percent:e.progress,originPercent:e.percent,t:e.t,type:E}),e._run()}))},t.stop=function(){var e=this.config.onEnd;this._stop={percent:this.percent,now:this.now},e({percent:1,t:this.t,type:j}),S(this._raf)},e}();function T(e,t){var n,r,o,i,a=0;function c(){i=0,a=+new Date,o=e.apply(n,r),n=null,r=null}return function(){n=this,r=arguments;var e=(new Date).getTime()-a;return i||(e>=t?c():i=setTimeout(c,t-e)),o}}function z(e){return e.defaultProps={scrollEventThrottle:50,onEndReachedThreshold:500,showsHorizontalScrollIndicator:!0,showsVerticalScrollIndicator:!0,className:"rax-scrollview"},e.displayName="ScrollView",e}var k=n(5),C=n.n(k);function R(){return R=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&(e.current.scrollLeft=a+r.percent*(t-a)),n>=0&&(e.current.scrollTop=c+r.percent*(n-c)))}}).run():(t>=0&&(e.current.scrollLeft=t),n>=0&&(e.current.scrollTop=n))}function V(){return M||(M=document.documentElement.clientWidth/F)}function B(e){var t=V();if("number"==typeof e)return e*t;var n=/^(\d+)(r{0,1}px){0,1}$/.exec(e);if(n){if(!n[2])return parseInt(n[1])*t;if("rpx"===n[2])return parseInt(n[1])*t;if("px"===n[2])return parseInt(n[1])}return 0}var q=z(Object(h.forwardRef)((function(e,t){var n,r=e.className,o=e.style,i=e.horizontal,a=e.contentContainerStyle,c=e.disableScroll,s=e.scrollEventThrottle,l=e.showsHorizontalScrollIndicator,u=e.showsVerticalScrollIndicator,f=e.onEndReached,d=e.onEndReachedThreshold,p=e.onScroll,m=e.children,g=Object(h.useRef)(0),y=Object(h.useRef)(0),b=Object(h.useRef)(0),O=Object(h.useRef)(null),S=Object(h.useRef)(null),x=function(t){if(e.onScroll){var n=t.target||t.srcElement||{};t.nativeEvent={get contentOffset(){return{x:n.scrollLeft,y:n.scrollTop}},get contentSize(){return{width:n.scrollWidth,height:n.scrollHeight}}},p(t)}if(f){var r=O.current;if(!r)return;b.current=i?r.offsetWidth:r.offsetHeight;var o=i?r.scrollWidth:r.scrollHeight,a=i?r.scrollLeft:r.scrollTop,c=B(d),s=o-a-b.currentg.current,u=o!=y.current;s&&l&&u&&(y.current=o,e.onEndReached(t)),g.current=a}};if(Object(h.useImperativeHandle)(t,(function(){return{_nativeNode:O.current,resetScroll:function(){y.current=0,g.current=0},scrollTo:function(e){var t=e||{},n=t.x,r=void 0===n?0:n,o=t.y,i=void 0===o?0:o,a=t.animated,c=void 0===a||a,s=t.duration,l=void 0===s?400:s;G(O,B(r),B(i),c,l)},scrollIntoView:function(e){var t=e||{},n=t.id,r=t.animated,o=void 0===r||r,i=t.duration,a=void 0===i?400:i,c=t.offsetX,s=t.offsetY;if(!n)throw new Error("Params missing id.");var l=document.getElementById(n);if(l&&S.current){var u=l.getBoundingClientRect(),f=S.current.getBoundingClientRect(),d=u.x-f.x+B(c),h=u.y-f.y+B(s);G(O,d,h,o,a)}}}})),o){var j=["alignItems","justifyContent"].filter((function(e){return void 0!==o[e]}));0!==j.length&&console.warn("ScrollView child layout ("+JSON.stringify(j)+") must be applied through the contentContainerStyle prop.")}var E=Object(h.createElement)(v.a,{ref:S,className:w()((n={},n[W+"-content-container-horizontal"]=i,n[W+"-webcontainer"]=!i,n)),style:Object.assign({},D(w()((n={},n[W+"-content-container-horizontal"]=i,n[W+"-webcontainer"]=!i,n))),a)},m),I=R({},o);null!==I.height&&void 0!==I.height||(I.flex=1);var _=w()(W,W+"-"+(i?"horizontal":"vertical"),r);if(!(i?l:u)&&"undefined"!=typeof document&&"function"==typeof document.getElementById&&!document.getElementById(H)){var P=document.createElement("style");P.id=H,document.head.appendChild(P),P.innerHTML="."+W+"::-webkit-scrollbar{display: none;}"}I.WebkitOverflowScrolling="touch",i?(I.overflowX="scroll",I.overflowY="hidden"):(I.overflowX="hidden",I.overflowY="scroll"),c&&(I.overflowX="hidden",I.overflowY="scroll");var L=R({},e);return delete L.onEndReachedThreshold,Object(h.createElement)(v.a,R({},L,{ref:O,className:_,style:Object.assign({},D(_),I),onScroll:s?T(x,s):x}),E)}))),U=n(3);function Y(){return Y=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(n,X),o[t]||{})};function $(){return $=Object.assign?Object.assign.bind():function(e){for(var t=1;t=this.itemCount)throw Error("Requested index "+e+" is outside of range 0.."+this.itemCount);if(e>this.lastMeasuredIndex){for(var t=this.getSizeAndPositionOfLastMeasuredItem(),n=t.offset+t.size,r=this.lastMeasuredIndex+1;r<=e;r++){var o=this.itemSizeGetter(r);if(null==o||isNaN(o))throw Error("Invalid size returned for index "+r+" of value "+o);this.itemSizeAndPositionData[r]={offset:n,size:o},n+=o}this.lastMeasuredIndex=e}return this.itemSizeAndPositionData[e]},t.getSizeAndPositionOfLastMeasuredItem=function(){return this.lastMeasuredIndex>=0?this.itemSizeAndPositionData[this.lastMeasuredIndex]:{offset:0,size:0}},t.getTotalSize=function(e){if(e)return e;var t=this.getSizeAndPositionOfLastMeasuredItem();return t.offset+t.size+(this.itemCount-this.lastMeasuredIndex-1)*this.estimatedItemSize},t.getUpdatedOffsetForIndex=function(e){var t=e.align,n=void 0===t?Ue:t,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;if(r<=0)return 0;var a,c=this.getSizeAndPositionForIndex(i),s=c.offset,l=s-r+c.size;switch(n){case Xe:a=l;break;case Ye:a=s-(r-c.size)/2;break;case Ue:a=s;break;default:a=Math.max(l,Math.min(s,o))}var u=this.getTotalSize();return Math.max(0,Math.min(u-r,a))},t.getVisibleRange=function(e){var t=e.containerSize,n=e.offset,r=e.overscanCount;if(0===this.getTotalSize())return{};var o=n+t,i=this.findNearestItem(n);if(void 0===i)throw Error("Invalid offset "+n+" specified");var a=this.getSizeAndPositionForIndex(i);n=a.offset+a.size;for(var c=i;n=e?this.binarySearch({high:n,low:0,offset:e}):this.exponentialSearch({index:n,offset:e})},t.binarySearch=function(e){for(var t=e.low,n=e.high,r=e.offset,o=0,i=0;t<=n;){if(o=t+Math.floor((n-t)/2),(i=this.getSizeAndPositionForIndex(o).offset)===r)return o;ir&&(n=o-1)}return t>0?t-1:0},t.exponentialSearch=function(e){for(var t=e.index,n=e.offset,r=1;t=n)&&(e=0),this.sizeAndPositionManager.getUpdatedOffsetForIndex({align:t,containerSize:o[et[this.scrollDirection]],currentOffset:this.state&&this.state.offset||0,targetIndex:e})},o.recomputeSizes=function(e){void 0===e&&(e=0),this.styleCache={},this.sizeAndPositionManager.resetItem(e)},o.getClientWidth=function(){return document.documentElement.clientWidth},o.getRenderProps=function(e){var t,n=this,r=e.style,o=void 0===r?{}:r,i=e.offset,a=e.overscanCount,c=e.totalSize,s=e.stickyIndices,l=e.children,u=e.width,f=[],d=ct({},ft,o,{width:u}),h=this.sizeAndPositionManager.getVisibleRange({containerSize:e[et[this.scrollDirection]]||o[et[this.scrollDirection]]||0,offset:i,overscanCount:a}),p=h.start,v=h.stop,m=ct({},ut,((t={})[et[this.scrollDirection]]=this.sizeAndPositionManager.getTotalSize(c),t));if(null!=s&&0!==s.length&&(s.forEach((function(e){var t=l[e];f.push(ct({},t,{props:ct({},t.props,{style:ct({},t.props.style,n.getStyle(e,!0))})}))})),this.scrollDirection===Je&&(m.display="flex")),void 0!==p&&void 0!==v&&l){var g=p;(Array.isArray(l)?l.slice(p,v+1):[l]).forEach((function(e){f.push(ct({},e,{props:ct({},e.props,{style:ct({},e.props.style,n.getStyle(g,!1))})})),g++}))}return{wrapperStyle:d,innerStyle:m,nodeItems:f}},r}(h.PureComponent);function ht(){return ht=Object.assign?Object.assign.bind():function(e){for(var t=1;t=e.config.duration?e.config.duration:e.now-e.start,e.progress=e.easingFn(e.duration/e.config.duration),e.percent=e.duration/e.config.duration+e._hasFinishedPercent,e.percent>=1||e._stop)return e.percent=e._stop&&e._stop.percent?e._stop.percent:1,e.duration=e._stop&&e._stop.duration?e._stop.duration:e.duration,n({percent:e.progress,originPercent:e.percent,t:e.t,type:yt}),r({percent:e.percent,t:e.t,type:wt}),void(e.percent>=1&&(e.isfinished=!0,e.stop()));n({percent:e.progress,originPercent:e.percent,t:e.t,type:yt}),e._run()}))},t.stop=function(){var e=this.config.onEnd;this._stop={percent:this.percent,now:this.now},e({percent:1,t:this.t,type:gt}),vt(this._raf)},e}(),xt=St;function jt(){return jt=Object.assign?Object.assign.bind():function(e){for(var t=1;tt.lastScrollDistance,S=w!=t.lastScrollContentSize;w-b-y=t?c():i=setTimeout(c,t-e)),o}}(o,r)),this.rootNode.addEventListener("scroll",o,{passive:!0}),null!=t?this.scrollTo(t):null!=n&&this.scrollTo(this.getOffsetForIndex(n))},o.componentDidUpdate=function(e,t){var n=this.state,r=n.offset,o=n.scrollChangeReason;t.offset!==r&&o===Ze&&this.scrollTo(r)},o.componentWillUnmount=function(){this.rootNode.removeEventListener("scroll",this.handleScroll)},o.scrollTo=function(e,t){var n=this;t?new xt({duration:400,easing:"easeOutSine",onRun:function(t){if(e>=0){var r=n.rootNode[Qe[n.scrollDirection]];n.rootNode[Qe[n.scrollDirection]]=r+t.percent*(e/n.pixelRatio-r)}}}).run():this.rootNode[Qe[this.scrollDirection]]=e/this.pixelRatio},o.render=function(){var e=this.props,t=e.children,n=e.style,r=void 0===n?{}:n,o=e.width,i=e.horizontal,a=e.showsHorizontalScrollIndicator,c=e.showsVerticalScrollIndicator,s=e.className,l=e.nestedList,u=e.onTouchStart,f=e.onTouchMove,d=e.onTouchEnd,p=e.onTouchCancel,v=(function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n])}(e,Pt),this.state.offset),m=Lt({},kt,r,{width:o});if(!(i?a:c)&&"undefined"!=typeof document&&!document.getElementById(zt)){var g=document.createElement("style");g.id=zt,document.head.appendChild(g),g.innerHTML="."+this.props.className+"::-webkit-scrollbar{display: none;}"}if(l)return Object(h.createElement)("div",{ref:this.getRef,style:m,className:s},t);var y=this.getRenderProps(Lt({},this.props,{offset:v})),w=y.innerStyle,b=y.nodeItems;return Object(h.createElement)("div",{onTouchStart:u,onTouchMove:f,onTouchEnd:d,onTouchCancel:p,ref:this.getRef,style:m,className:s},Object(h.createElement)("div",{style:w},b))},o.getNodeOffset=function(){return this.rootNode[Qe[this.scrollDirection]]},r}(dt);Ct.defaultProps={width:"100%",scrollEventThrottle:50,onEndReachedThreshold:500,showsHorizontalScrollIndicator:!0,showsVerticalScrollIndicator:!0,className:"rax-virtualized-list",nestedList:!1},Ct.propTypes={onScroll:Be.a.func,style:Be.a.object,width:Be.a.oneOfType([Be.a.number,Be.a.string]),onEndReached:Be.a.func,onEndReachedThreshold:Be.a.number,scrollEventThrottle:Be.a.number,className:Be.a.string,nestedList:Be.a.bool},Ct.NestedList=_t;var Rt=["className","style"],Nt=["className","style"],At=["className","style"],Dt=["className","style","onEndReachedThreshold"];function Mt(){return Mt=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[n]=e[n]);return o}var Ht=Object(h.createContext)(!0),Wt=Object(h.memo)(Object(h.forwardRef)((function(e,t){var n=e.className,r=e.style,o=Ft(e,Rt);Object(h.useContext)(Ht);return Object(h.createElement)(v.a,Mt({},o,{ref:t,className:n,style:r}))})));Wt.displayName="Cell";var Gt=Object(h.memo)(Object(h.forwardRef)((function(e,t){var n=e.className,r=e.style,o=Ft(e,Nt);Object(h.useContext)(Ht);return Object(h.createElement)(v.a,Mt({},o,{ref:t,className:n,style:r}))})));Gt.displayName="Header";var Vt=Object(h.memo)(Object(h.forwardRef)((function(e,t){var n=e.className,r=e.style,o=Ft(e,At);return Object(h.useContext)(Ht)?Object(h.createElement)(Ct.NestedList,Mt({},o,{ref:t,className:n,style:r})):Object(h.createElement)(v.a,Mt({},o,{ref:t,className:n,style:r}))})));Vt.displayName="NestedList";var Bt=Object(h.forwardRef)((function(e,t){var n=e.className,r=e.style,o=(e.onEndReachedThreshold,Ft(e,Dt),Object(h.useState)(0)),i=(o[0],o[1],Object(h.useRef)(null));Object(h.useRef)(null);Object(h.useRef)(null);var a=!(!e.itemSize&&!e.nestedList);return Object(h.useImperativeHandle)(t,(function(){return{_nativeNode:a?i.current:i.current._nativeNode,resetScroll:function(){i.current.resetScroll()},scrollTo:function(e){var t=parseInt(e.x),n=parseInt(e.y),r=!e||void 0===e.animated||e.animated;a?i.current.scrollTo(t||n,r):i.current.scrollTo(e)},scrollIntoView:function(e){a||i.current.scrollIntoView(e)}}})),a?Object(h.createElement)(Ct,Mt({},e,{className:n,style:r,ref:i})):Object(h.createElement)(Ge,Mt({},e,{className:n,style:r,ref:i}))}));Bt.Header=Gt,Bt.Cell=Wt,Bt.NestedList=Vt,Bt.displayName="RecyclerView";var qt=Bt,Ut=n(9),Yt=n.n(Ut),Xt=n(10),Jt=n.n(Xt),Kt=n(11),$t=n(12),Zt=n.n($t),Qt=function(e){var t=e.theme||{},n=t.bgImg,r=void 0===n?"":n,o=t.width,i=t.height,a=2,c=r.match(/\/[\d\D]+-(\d+)-(\d+)\.\w+$/);c&&c[1]&&c[2]?a=c[1]/c[2]:o&&i&&(a=Number(o)/Number(i));var s=Object(h.useRef)(null);return r?Object(h.createElement)(Zt.a,{ref:s,style:{position:"absolute",top:0,left:0,width:750,height:750/a},url:r}):null};function en(){return en=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(s&&l){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:T(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function Dn(e,t,n,r,o,i,a){try{var c=e[i](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,o)}function Mn(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Dn(i,r,o,a,c,"next",e)}function c(e){Dn(i,r,o,a,c,"throw",e)}a(void 0)}))}}function Fn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hn(e,t){return Hn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Hn(e,t)}var Wn=function(e){var t,n;n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,Hn(t,n),o.getIndexedDB=function(){return window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB};var r=o.prototype;function o(t){var n=e.call(this)||this;Pn(Fn(n),"storage",void 0),Pn(Fn(n),"dbPromise",void 0),n.storage=t,Rn("snapshot-IndexedDbStorageEngine-constructor","in");var r=o.getIndexedDB().open(o.DbName,1);return n.dbPromise=new Promise((function(e,t){r.onerror=t,r.onsuccess=function(t){Rn("snapshot-IndexedDbStorageEngine-onsuccess","in"),e(t.target.result)},r.onupgradeneeded=function(t){var r=t.target;Rn("snapshot-IndexedDbStorageEngine-onupgradeneeded","in");var o=r.result;o.objectStoreNames.contains(n.storage)||(o.createObjectStore(n.storage),Rn("snapshot-IndexedDbStorageEngine-onupgradeneeded-createObjectStore","in"));var i=r.transaction;i?i.oncomplete=function(){Rn("snapshot-IndexedDbStorageEngine-onupgradeneeded-transaction.oncomplete"),e(o)}:e(o)}})),n}return r.get=function(){var e=Mn(An().mark((function e(t){var n,r=this;return An().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Rn("snapshot-IndexedDbStorageEngine-get","in"),e.next=3,this.dbPromise;case 3:return n=e.sent,Rn("snapshot-IndexedDbStorageEngine-get","after db"),e.abrupt("return",new Promise((function(e,o){if(!n)return o();var i=n.transaction([r.storage]).objectStore(r.storage).get(t);i.onerror=o,i.onsuccess=function(){Rn("snapshot-IndexedDbStorageEngine-get-onsuccess","in"),e(i.result)}})));case 6:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}(),r.remove=function(){var e=Mn(An().mark((function e(t){var n,r=this;return An().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.dbPromise;case 2:return n=e.sent,e.abrupt("return",new Promise((function(e,o){if(!n)return o();var i=n.transaction([r.storage]).objectStore(r.storage).delete(t);i.onerror=o,i.onsuccess=function(){e(!0)}})));case 4:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}(),r.set=function(){var e=Mn(An().mark((function e(t,n){var r,o=this;return An().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.dbPromise;case 2:return r=e.sent,e.abrupt("return",new Promise((function(e,i){if(!r)return i();var a=r.transaction([o.storage],"readwrite").objectStore(o.storage).put(n,t);a.onerror=i,a.onsuccess=function(){e(!0)}})));case 4:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}(),o}(Nn);function Gn(){Gn=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof m?t:m,a=Object.create(i.prototype),c=new L(r||[]);return o(a,"_invoke",{value:E(e,n,c)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",h="executing",p="completed",v={};function m(){}function g(){}function y(){}var w={};l(w,a,(function(){return this}));var b=Object.getPrototypeOf,O=b&&b(b(T([])));O&&O!==n&&r.call(O,a)&&(w=O);var S=y.prototype=m.prototype=Object.create(w);function x(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function n(o,i,a,c){var s=f(e[o],e,i);if("throw"!==s.type){var l=s.arg,u=l.value;return u&&"object"==typeof u&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,c)}),(function(e){n("throw",e,a,c)})):t.resolve(u).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,c)}))}c(s.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function E(t,n,r){var o=d;return function(i,a){if(o===h)throw new Error("Generator is already running");if(o===p){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var c=r.delegate;if(c){var s=I(c,r);if(s){if(s===v)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var l=f(t,n,r);if("normal"===l.type){if(o=r.done?p:"suspendedYield",l.arg===v)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(o=p,r.method="throw",r.arg=l.arg)}}}function I(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,I(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function L(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function T(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(s&&l){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:T(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function Vn(e,t,n,r,o,i,a){try{var c=e[i](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,o)}function Bn(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Vn(i,r,o,a,c,"next",e)}function c(e){Vn(i,r,o,a,c,"throw",e)}a(void 0)}))}}function qn(e,t){return qn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},qn(e,t)}Pn(Wn,"DbName","dida_db");var Un=function(e){var t,n;n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,qn(t,n);var r=o.prototype;function o(t){var n;return Pn(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n=e.call(this)||this),"prefix",void 0),n.prefix=t,n}return r.get=function(){var e=Bn(Gn().mark((function e(t){var n;return Gn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!==(n=localStorage.getItem(this.modifyKey(t)))){e.next=3;break}return e.abrupt("return",void 0);case 3:return e.abrupt("return",JSON.parse(n));case 4:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}(),r.set=function(){var e=Bn(Gn().mark((function e(t,n){return Gn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return localStorage.setItem(this.modifyKey(t),JSON.stringify(n)),e.abrupt("return",!0);case 2:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}(),r.remove=function(){var e=Bn(Gn().mark((function e(t){return Gn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return localStorage.removeItem(this.modifyKey(t)),e.abrupt("return",!0);case 2:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}(),r.modifyKey=function(e){return this.prefix?this.prefix+"-"+e:e},o}(Nn);function Yn(){return window.location.href}function Xn(){var e;return"localStorage"!==(null===(e=window.__snapshotConfig)||void 0===e?void 0:e.storage)&&Wn.getIndexedDB()?(Rn("snapshot-getStorageEngine","IndexedDbStorageEngine"),new Wn(Ln)):(Rn("snapshot-getStorageEngine","LocalStorageEngine"),new Un(Ln))}function Jn(e){var t=new Date(e).toLocaleString("en-US",{timeZone:"America/Los_Angeles"});return new Date(t).getTime()}function Kn(e){var t,n=Number(null===(t=window.__snapshotConfig)||void 0===t?void 0:t.maxAge)||kn;if(0===n)return!0;var r=Date.now(),o=Jn(r);return!!(e.offlineTime&&o>e.offlineTime)||(!!(e.teasingEndTime&&Jn(e.datetime)<=e.teasingEndTime&&o>e.teasingEndTime)||r>e.datetime+n)}function $n(){return null===document||void 0===document?void 0:document.getElementById("root")}function Zn(){Zn=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof m?t:m,a=Object.create(i.prototype),c=new L(r||[]);return o(a,"_invoke",{value:E(e,n,c)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",h="executing",p="completed",v={};function m(){}function g(){}function y(){}var w={};l(w,a,(function(){return this}));var b=Object.getPrototypeOf,O=b&&b(b(T([])));O&&O!==n&&r.call(O,a)&&(w=O);var S=y.prototype=m.prototype=Object.create(w);function x(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function n(o,i,a,c){var s=f(e[o],e,i);if("throw"!==s.type){var l=s.arg,u=l.value;return u&&"object"==typeof u&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,c)}),(function(e){n("throw",e,a,c)})):t.resolve(u).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,c)}))}c(s.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function E(t,n,r){var o=d;return function(i,a){if(o===h)throw new Error("Generator is already running");if(o===p){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var c=r.delegate;if(c){var s=I(c,r);if(s){if(s===v)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var l=f(t,n,r);if("normal"===l.type){if(o=r.done?p:"suspendedYield",l.arg===v)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(o=p,r.method="throw",r.arg=l.arg)}}}function I(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,I(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function L(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function T(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(s&&l){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:T(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function Qn(e,t,n,r,o,i,a){try{var c=e[i](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,o)}function er(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Qn(i,r,o,a,c,"next",e)}function c(e){Qn(i,r,o,a,c,"throw",e)}a(void 0)}))}}function tr(){var e,t,n,r=null===(e=window.location)||void 0===e?void 0:e.href,o=null===(t=window.adc)||void 0===t||null===(n=t.config)||void 0===n?void 0:n.defineCssModules,i=Array.isArray(o)&&o.length>0;return"docSsr"!==window.__ssrType&&!!r.includes("snapshot=true")&&i}function nr(e){return rr.apply(this,arguments)}function rr(){return(rr=er(Zn().mark((function e(t){var n,r;return Zn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.get(Tn);case 2:if(e.t0=e.sent,e.t0){e.next=5;break}e.t0=[];case 5:n=e.t0,n.filter(Kn).forEach((function(e){t.remove(e.key)})),r=n.filter((function(e){return!Kn(e)})),t.set(Tn,r);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function or(){return(or=er(Zn().mark((function e(t,n,r){var o,i,a,c,s,l,u,f,d,h,p,v,m;return Zn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===n&&(n=Xn()),void 0===r&&(r=zn),e.next=4,n.get(Tn);case 4:if(e.t0=e.sent,e.t0){e.next=7;break}e.t0=[];case 7:if(c=e.t0,s=$n(),Rn("snapshot-setCurPageSnapshot",{snapshotMeta:c,root:s}),s){e.next=12;break}return e.abrupt("return");case 12:if(l=s.innerHTML.replace(/]*>[\s\S]*?<\/object>/g,""),g=l,u=Math.floor(g.length/100)/10,Rn("snapshot-setCurPageSnapshot",{snapshotContent:l,newSnapshotSize:u}),!(u>r)){e.next=17;break}return e.abrupt("return");case 17:f=Yn(),d=c.reduce((function(e,t){return t.size+e}),u);case 19:if(!(d>r)){e.next=29;break}if(h=c.pop()){e.next=23;break}return e.abrupt("break",29);case 23:p=h.key,v=h.size,n.remove(p),Rn("snapshot-setCurPageSnapshot-while",{key:p,totalSize:d,limit:r}),d-=v,e.next=19;break;case 29:-1!==(m=c.findIndex((function(e){return e.key===f})))&&c.splice(m,1),c.unshift({datetime:Math.floor(Date.now()),digest:t,key:f,size:u,offlineTime:(null===(o=window.$zebra)||void 0===o?void 0:o.offlineTime)||null,teasingEndTime:(null===(i=window.$zebra)||void 0===i||null===(a=i.childSceneInfo)||void 0===a?void 0:a.teasingEndTime)||null}),n.set(Tn,c),n.set(f,l),Rn("snapshot-setCurPageSnapshot-set",{SnapshotMetaKey:Tn,snapshotMeta:c,key:f,snapshotContent:l}),nr(n);case 36:case"end":return e.stop()}var g}),e)})))).apply(this,arguments)}var ir=null,ar=!1;function cr(){if(tr()&&!ar){ar=!0;var e,t=this.store.get("pageData.modules");t&&(ir=t.map((function(e){return e.fullName+"@"+e.version})).join(",")),1===window.__snapshotStatus&&(ir===window.__appliedSnapshotDigest?this.store.set("env.isHydrate",!0):(e=$n(),window.__snapshotStatus=-1,e&&window.__appliedSnapshotDigest&&(e.innerHTML="")))}}var sr=!1;function lr(){tr()&&(sr||(sr=!0,ir&&function(e,t,n){or.apply(this,arguments)}(ir,Xn())))}var ur=function(e){var t;void 0===e&&(e={}),this.hook("beforeModuleRender"),cr.call(this);var n=this.store.get("env.isHydrate"),r=this.store.get("env.isNode"),i=this.store.get("env.device"),a=this.store.get("moduleRows.bodyModList")||[],s=this.store.get("moduleRows.bodyChildList")||[],l=this.store.get("pageData.pageInfo"),u=this.store.get("pageData.renderExtends")||{};e.useWaterfall=null!==(t=e.useWaterfall)&&void 0!==t?t:"pc"!==i&&(/useWaterfall=true/.test(window.location.href)||"true"===(null==u?void 0:u.useWaterfall)),window.themePack=Object.assign(Object.assign(Object.assign({},null===window||void 0===window?void 0:window.themePack),null==u?void 0:u.themePack),{isMobile:Kt.isMobile});var f=function(e,t){if(mn)return mn;var n=Object(h.forwardRef)((function(n,r){var o=n.children,i=n.disablePullRefresh,a=n.device,c=pn(n,["children","disablePullRefresh","device"]),s=Object(h.useCallback)((function(e){window.dispatchEvent(new CustomEvent("onListEndReached",{detail:e}))}),[]),l=Object(h.useCallback)((function(e){var t=e&&e.contentSize||{};vn!==t.height&&(vn=t.height),window.dispatchEvent(new CustomEvent("onListScroll",{detail:e}))}),[]),u=(null==t?void 0:t.useWaterfall)?e.Header:e.Cell;return Object(h.createElement)(e,hn({id:"recyclerview",ref:r},c,{onScroll:l,onEndReached:s}),!i&&Object(h.createElement)(an.a,null),o,Object(h.createElement)(u,null,Object(h.createElement)(cn,{device:a})))}));return n.Cell=e.Cell,n.Header=dn(e,t),n.Default=(null==t?void 0:t.useWaterfall)?e.Header:e.Cell,mn=n,n}((null==e?void 0:e.useWaterfall)?Yt.a:qt,e),d=function(e,t,n){var r=[],o=[],i=[],a=[],c=Array.isArray(e)?e:[e];return(null==n?void 0:n.isSourcePage)?(Array.isArray(t)?t:[t]).filter(Boolean).forEach((function(e,t){var n,c,s=Object.assign(Object.assign({},e.props),{children:e,isSourcePage:!0});if(!(null===(n=null==s?void 0:s.moduleInfo)||void 0===n?void 0:n.uuid)){var l="custom-child-"+t;s=Object.assign(Object.assign({},s),{moduleInfo:{uuid:l},rowIndex:0,rowId:l+"-0",splitResult:{rowData:{}}})}switch(null===(c=null==e?void 0:e.type)||void 0===c?void 0:c.modulePosition){case"background":r.push(s);break;case"top":o.push(s);break;case"bottom":a.push(s);break;default:i.push(s)}})):c.filter(Boolean).forEach((function(e){var t;switch(null===(t=null==e?void 0:e.moduleClass)||void 0===t?void 0:t.modulePosition){case"background":r.push(e);break;case"top":o.push(e);break;case"bottom":a.push(e);break;default:i.push(e)}})),{backgroundModList:r,headerModList:o,bodyModList:i,footerModList:a}}(a,s,e),p=d.backgroundModList,v=d.headerModList,m=d.bodyModList,g=d.footerModList,y=En(this,p,"background"),w=En(this,v,"header"),b=En(this,g,"footer"),O=In(this,m,"cell",f),S=Object(h.createElement)(rn,{theme:null==l?void 0:l.theme,device:i},y,w,Object(h.createElement)(f,{device:i,disablePullRefresh:null==e?void 0:e.disablePullRefresh},O),b);r||(null==e?void 0:e.isSourcePage)?this.hook("afterModuleRender",{component:S}):(c("fsRenderType","docSsr"===window.__ssrType?"ssr":"csr"),c("fsRenderStart",(new Date).getTime()),Object(h.render)(S,o(),{driver:Jt.a,hydrate:n},(function(){var e,t;c("fsRenderEnd",(new Date).getTime()),null===(t=null===(e=null===window||void 0===window?void 0:window.performance)||void 0===e?void 0:e.measure)||void 0===t||t.call(e,"fsRender","fsRenderStart","fsRenderEnd")})),this.hook("afterModuleRender"),lr.call(this))}}]);; (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-appear/index", [], function(require, exports, module) {module.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},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";n.r(e),n.d(e,"setupAppear",(function(){return I}));var r=[];function i(t){this.time=t.time,this.target=t.target,this.rootBounds=t.rootBounds,this.boundingClientRect=t.boundingClientRect,this.intersectionRect=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,r=this.intersectionRect,i=r.width*r.height;this.intersectionRatio=n?Number((i/n).toFixed(4)):this.isIntersecting?1:0}var o,s=function(){function t(t,e){var n=this;this.THROTTLE_TIMEOUT=100,this.POLL_INTERVAL=null,this.USE_MUTATION_OBSERVER=!0,this._checkForIntersections=function(){var t=n._rootIsInDom(),e=t?n._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};n._observationTargets.forEach((function(n){var r=n.element,o=c(r),s=this._rootContainsTarget(r),a=n.entry,u=t&&s&&this._computeTargetAndRootIntersection(r,e);n.entry=new i({time:window.performance&&performance.now&&performance.now(),target:r,boundingClientRect:o,rootBounds:e,intersectionRect:u});var h=n.entry;a?t&&s?this._hasCrossedThreshold(a,h)&&this._queuedEntries.push(h):a&&a.isIntersecting&&this._queuedEntries.push(h):this._queuedEntries.push(h)}),n),n._queuedEntries.length&&n._callback(n.takeRecords(),n)};var r,o,s,a=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(a.root&&1!=a.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=(r=this._checkForIntersections,o=this.THROTTLE_TIMEOUT,s=null,function(){s||(s=setTimeout((function(){r(),s=null}),o))}),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(a.rootMargin),this.thresholds=this._initThresholds(a.threshold),this.root=a.root||null,this.rootMargin=this._rootMarginValues.map((function(t){return t.value+t.unit})).join(" ")}var e=t.prototype;return e.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(),this._checkForIntersections()}},e.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!==t})),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},e.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},e.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},e._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]}))},e._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},e._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(a(window,"resize",this._checkForIntersections,!0),a(document,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in window&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},e._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,u(window,"resize",this._checkForIntersections,!0),u(document,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},e._computeTargetAndRootIntersection=function(t,e){if("none"!=window.getComputedStyle(t).display){for(var n,r,i,o,s,a,u,h,l=c(t),f=d(t),p=!1;!p;){var g=null,v=1==f.nodeType?window.getComputedStyle(f):{};if("none"===v.display)return;if(f===this.root||f===document?(p=!0,g=e):f!==document.body&&f!==document.documentElement&&"visible"!==v.overflow&&(g=c(f)),g&&(n=g,r=l,i=void 0,o=void 0,s=void 0,a=void 0,u=void 0,h=void 0,i=Math.max(n.top,r.top),o=Math.min(n.bottom,r.bottom),s=Math.max(n.left,r.left),a=Math.min(n.right,r.right),h=o-i,!(l=(u=a-s)>=0&&h>=0&&{top:i,bottom:o,left:s,right:a,width:u,height:h})))break;f=d(f)}return l}},e._getRootRect=function(){var t;if(this.root)t=c(this.root);else{var e=document.documentElement,n=document.body;t={top:0,left:0,right:e.clientWidth||n.clientWidth,width:e.clientWidth||n.clientWidth,bottom:e.clientHeight||n.clientHeight,height:e.clientHeight||n.clientHeight}}return this._expandRectByRootMargin(t)},e._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},e._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,r=e.isIntersecting?e.intersectionRatio||0:-1;if(n===r)return!1;for(var i=0;i.01&&!m(e.getAttribute("data-appeared"))&&!v(e,"appear")?(e.setAttribute("data-appeared","true"),e.setAttribute("data-has-appeared","true"),e.dispatchEvent(b("appear",{direction:i>o?"up":"down"}))):0===r&&m(e.getAttribute("data-appeared"))&&!v(e,"disappear")&&(e.setAttribute("data-appeared","false"),e.setAttribute("data-has-disappeared","true"),e.dispatchEvent(b("disappear",{direction:i>o?"up":"down"}))),e.setAttribute("data-before-current-y",i)}))}function v(t,e){var n="appear"===e?"data-has-appeared":"data-has-disappeared";return(m(t.getAttribute("isonce"))||m(t.getAttribute("data-once")))&&m(t.getAttribute(n))}function m(t){return t&&"false"!==t}function b(t,e){return new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:e})}var _=function(t){var e=t.prototype.addEventListener;return t.prototype.addEventListener=function(t,n,r){var i,s=t&&String(t).toLowerCase();"appear"!==s&&"disappear"!==s||(i=this,o||p(),i===document&&(i=document.documentElement),o.observe(i)),e.call(this,t,n,r)},function(){t.prototype.addEventListener=e,o&&(o.disconnect(),o=null)}};function I(t){return void 0===t&&(t=window),p(),_(t.Node)}e.default=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/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=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;i0?j.push(e):y.push(e):b.length>0?j.push(Object(n.createElement)(f,{key:"child"+t},e)):y.push(Object(n.createElement)(f,{key:"child"+t},e))}));var h=[];return b.forEach((function(e,t){var r=t%c;h[r]=h[r]||[],h[r].push(e)})),Object(n.createElement)(i.a,v({ref:t},e),y,Object(n.createElement)(a.a,{style:Object.assign(Object.assign({},O),{marginLeft:s+"rpx",marginRight:d+"rpx"})},h.map((function(e,t){return Object(n.createElement)(a.a,{key:"column"+t,style:Object.assign(Object.assign({},m),{width:o+"rpx"})},e)}))),j)}));j.Header=f,j.Cell=b;var h=j;t.default=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-rax-scrollview/index", [], function(require, exports, module) {module.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},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=8)}([function(t,e){t.exports=require("@ali/rax-pkg-rax/index")},function(t,e,n){"use strict";(function(t,r){n.d(e,"g",(function(){return o})),n.d(e,"e",(function(){return i})),n.d(e,"d",(function(){return a})),n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return l})),n.d(e,"c",(function(){return u})),n.d(e,"f",(function(){return f}));var o="undefined"!=typeof window&&"onload"in window,i=void 0!==t&&!(!t.versions||!t.versions.node),c="undefined"!=typeof WXEnvironment&&"Web"!==WXEnvironment.platform,a="undefined"!=typeof my&&null!==my&&void 0!==my.alert,s="undefined"!=typeof tt&&null!==tt&&void 0!==tt.showToast,l="undefined"!=typeof swan&&null!==swan&&void 0!==swan.showToast,u="undefined"!=typeof ks&&null!==ks&&void 0!==ks.showToast,f=!s&&"undefined"!=typeof wx&&null!==wx&&(void 0!==wx.request||void 0!==wx.miniProgram),p=(null!=r&&r.callNative,a&&o&&my.isFRM,"object"==typeof navigator?navigator.userAgent||navigator.swuserAgent:"");/.+AliApp\((\w+)\/((?:\d+\.)+\d+)\).* .*(WindVane)(?:\/((?:\d+\.)+\d+))?.*/.test(p)&&o&&"undefined"!=typeof WindVane&&WindVane.call}).call(this,n(10),n(11))},function(t,e,n){var r;!function(){"use strict";var n=function(){function t(){}function e(t,e){for(var n=e.length,r=0;r1)for(var n=1;n=0||(o[n]=t[n]);return o}(t,l),p=s;return a&&(p=function(t){s&&s(t),n.current&&n.current.triggeredAppear||(a&&a(t),n.current={triggeredAppear:!0})}),Object(r.createElement)("div",u({},f,{onAppear:p,ref:e,className:i()("rax-view-v2",o),style:Object.assign({},d(i()("rax-view-v2",o)),c)}))}))),v=["className","style","onFirstAppear","onAppear"];function g(){return g=Object.assign||function(t){for(var e=1;e=0||(o[n]=t[n]);return o}(t,v),u=s;a&&(u=function(t){s&&s(t),n.current&&n.current.triggeredAppear||(a&&a(t),n.current={triggeredAppear:!0})});var f="object"==typeof __weex_v2__;return Object(r.createElement)("div",g({},l,{onAppear:u,ref:e,className:i()(f?"rax-view-v2":"",o),style:Object.assign({},w(i()(f?"rax-view-v2":"",o)),c)}))})));var b=["className","style","onFirstAppear","onAppear"];function O(){return O=Object.assign||function(t){for(var e=1;e=0||(o[n]=t[n]);return o}(t,b);return Object(r.createElement)("view",O({},l,{onAppear:s,onDisappear:l.onDisappear,onFirstAppear:a,ref:e,className:i()("rax-view-v2",o),style:Object.assign({},S(i()("rax-view-v2",o)),c)}))})));var _=["className","style","onFirstAppear","onAppear","onDisappear"];function E(){return E=Object.assign||function(t){for(var e=1;e=0||(o[n]=t[n]);return o}(t,_);Object(r.useEffect)((function(){if("function"==typeof l||"function"==typeof s||"function"==typeof u){if(t.id){var e=document.getElementById(t.id);if(null!=e&&e._internal){var r=function(){n.observer=e._internal.createIntersectionObserver().relativeToViewport(),n.observer.observe("#"+t.id,(function(t){var e=t.intersectionRatio;(void 0===e?0:e)>0?("function"==typeof l&&l(t),"function"==typeof s&&(n.triggeredAppear||(s(t),n.triggeredAppear=!0,"function"!=typeof l&&"function"!=typeof u&&n.observer.disconnect()))):"function"==typeof u&&u(t)})),window.removeEventListener("setDataFinished",r)};window.addEventListener("setDataFinished",r)}return function(){n.observer&&n.observer.disconnect()}}console.warn("id is required if using onAppear in wechat miniprogram!")}}),[t.id,l,u]);var p=l;return s&&(p=function(t){l&&l(t),n.triggeredAppear||(s&&s(t),n.triggeredAppear=!0)}),Object(r.createElement)("div",E({},f,{onAppear:p,onDisappear:u,ref:e,className:i()("rax-view-v2",c),style:Object.assign({},R(i()("rax-view-v2",c)),a)}))})));var P=h,I=n(3),z=n.n(I);function N(){return N=Object.assign?Object.assign.bind():function(t){for(var e=1;e=t.config.duration?t.config.duration:t.now-t.start,t.progress=t.easingFn(t.duration/t.config.duration),t.percent=t.duration/t.config.duration+t._hasFinishedPercent,t.percent>=1||t._stop)return t.percent=t._stop&&t._stop.percent?t._stop.percent:1,t.duration=t._stop&&t._stop.duration?t._stop.duration:t.duration,n({percent:t.progress,originPercent:t.percent,t:t.t,type:H}),r({percent:t.percent,t:t.t,type:k}),void(t.percent>=1&&(t.isfinished=!0,t.stop()));n({percent:t.progress,originPercent:t.percent,t:t.t,type:H}),t._run()}))},e.stop=function(){var t=this.config.onEnd;this._stop={percent:this.percent,now:this.now},t({percent:1,t:this.t,type:C}),W(this._raf)},t}();function B(t,e){var n,r,o,i,c=0;function a(){i=0,c=+new Date,o=t.apply(n,r),n=null,r=null}return function(){n=this,r=arguments;var t=(new Date).getTime()-c;return i||(t>=e?a():i=setTimeout(a,e-t)),o}}function q(t){return t.defaultProps={scrollEventThrottle:50,onEndReachedThreshold:500,showsHorizontalScrollIndicator:!0,showsVerticalScrollIndicator:!0,className:"rax-scrollview"},t.displayName="ScrollView",t}var X=n(5),Y=n.n(X);function J(){return J=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0&&(t.current.scrollLeft=c+r.percent*(e-c)),n>=0&&(t.current.scrollTop=a+r.percent*(n-a)))}}).run():(e>=0&&(t.current.scrollLeft=e),n>=0&&(t.current.scrollTop=n))}function rt(){return K||(K=document.documentElement.clientWidth/Q)}function ot(t){var e=rt();if("number"==typeof t)return t*e;var n=/^(\d+)(r{0,1}px){0,1}$/.exec(t);if(n){if(!n[2])return parseInt(n[1])*e;if("rpx"===n[2])return parseInt(n[1])*e;if("px"===n[2])return parseInt(n[1])}return 0}var it=q(Object(r.forwardRef)((function(t,e){var n,o=t.className,i=t.style,c=t.horizontal,a=t.contentContainerStyle,s=t.disableScroll,l=t.scrollEventThrottle,u=t.showsHorizontalScrollIndicator,f=t.showsVerticalScrollIndicator,p=t.onEndReached,d=t.onEndReachedThreshold,h=t.onScroll,v=t.children,g=Object(r.useRef)(0),m=Object(r.useRef)(0),y=Object(r.useRef)(0),w=Object(r.useRef)(null),b=Object(r.useRef)(null),O=function(e){if(t.onScroll&&(e.nativeEvent={get contentOffset(){return{x:e.target.scrollLeft,y:e.target.scrollTop}},get contentSize(){return{width:e.target.scrollWidth,height:e.target.scrollHeight}}},h(e)),p){var n=w.current;if(!n)return;y.current=c?n.offsetWidth:n.offsetHeight;var r=c?n.scrollWidth:n.scrollHeight,o=c?n.scrollLeft:n.scrollTop,i=ot(d),a=r-o-y.currentg.current,l=r!=m.current;a&&s&&l&&(m.current=r,t.onEndReached(e)),g.current=o}};if(Object(r.useImperativeHandle)(e,(function(){return{_nativeNode:w.current,resetScroll:function(){m.current=0,g.current=0},scrollTo:function(t){var e=t||{},n=e.x,r=void 0===n?0:n,o=e.y,i=void 0===o?0:o,c=e.animated,a=void 0===c||c,s=e.duration,l=void 0===s?400:s;nt(w,ot(r),ot(i),a,l)},scrollIntoView:function(t){var e=t||{},n=e.id,r=e.animated,o=void 0===r||r,i=e.duration,c=void 0===i?400:i,a=e.offsetX,s=e.offsetY;if(!n)throw new Error("Params missing id.");var l=document.getElementById(n);if(l&&b.current){var u=l.getBoundingClientRect(),f=b.current.getBoundingClientRect(),p=u.x-f.x+ot(a),d=u.y-f.y+ot(s);nt(w,p,d,o,c)}}}})),i){var j=["alignItems","justifyContent"].filter((function(t){return void 0!==i[t]}));0!==j.length&&console.warn("ScrollView child layout ("+JSON.stringify(j)+") must be applied through the contentContainerStyle prop.")}var x=Object(r.createElement)(P,{ref:b,className:z()((n={},n[et+"-content-container-horizontal"]=c,n[et+"-webcontainer"]=!c,n)),style:Object.assign({},G(z()((n={},n[et+"-content-container-horizontal"]=c,n[et+"-webcontainer"]=!c,n))),a)},v),S=J({},i);null!==S.height&&void 0!==S.height||(S.flex=1);var _=z()(et,et+"-"+(c?"horizontal":"vertical"),o);if(!(c?u:f)&&"undefined"!=typeof document&&"function"==typeof document.getElementById&&!document.getElementById(Z)){var E=document.createElement("style");E.id=Z,document.head.appendChild(E),E.innerHTML="."+et+"::-webkit-scrollbar{display: none;}"}S.WebkitOverflowScrolling="touch",c?(S.overflowX="scroll",S.overflowY="hidden"):(S.overflowX="hidden",S.overflowY="scroll"),s&&(S.overflowX="hidden",S.overflowY="scroll");var A=J({},t);return delete A.onEndReachedThreshold,Object(r.createElement)(P,J({},A,{ref:w,className:_,style:Object.assign({},G(_),S),onScroll:l?B(O,l):O}),x)}))),ct=n(1);function at(){return at=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0||(o[n]=t[n]);return o}(n,st),o[e]||{})};function ft(){return ft=Object.assign?Object.assign.bind():function(t){for(var e=1;e