define("@ali/rax-pkg-rax/index", [], function(require, exports, module) {module.exports=function(n){var t={};function e(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return n[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=n,e.c=t,e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:r})},e.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,t){if(1&t&&(n=e(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var i in n)e.d(r,i,function(t){return n[t]}.bind(null,i));return r},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},e.p="/",e(e.s=0)}([function(n,t,e){n.exports=e(1)},function(n,t,e){"use strict";n.exports=e(2)},function(n,t,e){n.exports=e(3)},function(n,t){var e={t:1,i:!1,driver:null,rootComponents:{},rootInstances:{},owner:null};function r(n,t,e,r,i){return{type:n,key:t,ref:e,props:r,_owner:i}}function i(n){return null===n}function o(n){return"function"==typeof n}function u(n){return"object"==typeof n}function s(n){return"[object Object]"===h.toString.call(n)}function f(n){return Array.isArray(n)}function c(n){return"string"==typeof n}function a(n){return"number"==typeof n}var l=function(){},h={};function p(n,t){if(f(n))for(var e=0,r=n.length;e":"no owner")+"."+o)}function D(n,t){throw b("Error",n,t)}function I(n,t){var e=b("Warn",n,t);y((function(){throw e}),0)}var R={key:!0,ref:!0};function S(n,t,i){var o,u={},s=null,c=null;if(null!=t)for(o in c=void 0===t.ref?null:t.ref,s=void 0===t.key?null:""+t.key,t)R[o]||(u[o]=t[o]);var a=arguments.length-2;if(a>0)if(1!==a||f(i)){var h=i;if(a>1){h=Array(a);for(var p=0;p=0;i--){var o=t.V[r[i]].C();if(!f(o))return o;if(o.length>0)return o[o.length-1]}if(!(t instanceof e.R))return null;n=t}}var tn=function(){function n(n,t){this.props=n,this.context=t,this.refs={}}var t=n.prototype;return t.setState=function(n,t){this.updater.setState(this,n,t)},t.forceUpdate=function(n){this.updater.forceUpdate(this,n)},n}(),en=function(n){function t(t,e){var r;return(r=n.call(this,t,e)||this).Z=!0,r}return J(t,n),t}(tn),rn=1,on=function(n){function t(){var t;return(t=n.call(this)||this).$=[],t.q=rn++,t}J(t,n);var e=t.prototype;return e.D=function(){return this.B().D()},e.B=function(){return this._internal._renderedComponent},e.h=function(n){this.$=n,this.forceUpdate()},e.render=function(){return this.$},t}(tn),un={set:function(n,t){n._r||(n._r=t,t.q&&(e.rootInstances[t.q]=t,e.rootComponents[t.q]=t._internal))},get:function(n){return n._r},remove:function(n){var t=this.get(n);t&&(n._r=null,t.q&&(delete e.rootComponents[t.q],delete e.rootInstances[t.q]))},mount:function(n,t,r){var i=r.parent,o=r.hydrate,u=e.driver;null==t&&(t=u.createBody());var s,f={element:n,container:t,hydrate:o};if(u.beforeRender&&u.beforeRender(f),i){var c=i._internal;s=c.F(c._context)}var a=this.get(t);if(a&&a.q)return s&&(a._internal.G=s),a.h(n),u.afterRender&&u.afterRender(f),a;var l=X(S(on)).I(t,i,s||{});return this.set(t,l),l.h(n),u.afterRender&&u.afterRender(f),l}},sn=Object.assign,fn=/^on[A-Z]/,cn=function(n){function t(){return n.apply(this,arguments)||this}J(t,n);var r=t.prototype;return r.I=function(n,t,e,r){this.g(n,t,e);var i=this.O,o=i.props,u=i.type,s=o.children,f=o.append||"tree";this.J=sn({},o.style);var c={type:u,props:o};return c._internal=this,this._instance=c,"tree"===f?(this.K(s,e),this.A(r)):(this.A(r),this.K(s,e)),i&&i.ref&&Y(i._owner,i.ref,this),c},r.K=function(n,t){if(null==n)return n;var e=this.C();return this.L(e,F(n),t)},r.L=function(n,t,e,r){for(var i=this.V={},o=[],u=0,s=t.length;u-1&&!(t=i[e](r.props,n));e--);return!t||r.cn!==r._forwardRef}),r}J(t,n);var e=t.prototype;return e.getHooks=function(){return this.on},e.getHookID=function(){return++this.un},e.useContext=function(n){var t=this,e=n._contextID,r=this.sn[e];if(!r){var i=n.an(this);if(r=this.sn[e]={vn:i},i){var o=function(n){r.ln!==n&&(t.v=!0,t.h())};i.pn(o),this.willUnmount.push((function(){return i.dn(o)}))}}return r.ln=r.vn?r.vn.getValue():n._defaultValue},e.componentWillMount=function(){this.v=!0},e.componentDidMount=function(){U(this.didMount)},e.componentWillReceiveProps=function(){this.v=!0},e.componentDidUpdate=function(){U(this.didUpdate)},e.componentWillUnmount=function(){U(this.willUnmount)},e.h=function(){this.setState(h)},e.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&&D(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}(tn),hn=[];function pn(n){return n._n}function vn(n){var t=n._internal;if(t){e.i=!0;var r=t.O,i=t._context,o=t.G||i;t.G=void 0,(pn(t)||t.xn)&&(t.S(r,r,i,o),g(m)),e.i=!1}}function dn(n,t){return t._internal._mountID-n._internal._mountID}function _n(){if(e.i)return C(_n);var n,t=hn;if(t.length>0)for(O(),hn=[],t.length>1&&(t=t.filter((function(n){return!!n._internal})).sort(dn));n=t.pop();)vn(n)}function mn(n,t){if(hn.indexOf(n)<0&&hn.push(n),t){if(hn.length>1)return;C(_n)}else _n()}function yn(n,t,e){var r=n._internal;if(r){e&&function(n,t){(function(n){return n.wn}(n)||function(n){return n.wn=[]}(n)).push(t)}(r,e);var i=r._renderedComponent;t?(n.tn&&(r.xn=!0),function(n,t){(pn(n)||function(n){return n._n=[]}(n)).push(t)}(r,t),!r.yn&&i&&mn(n,!0)):(r.xn=!0,i&&mn(n))}}var gn={setState:function(n,t,r){e.i||O(),yn(n,t,r)},forceUpdate:function(n,t){yn(n,null,t)}};function Cn(n,t,e){try{return n()}catch(n){e?e(n):function(n,t){var e=L(n,(function(n){return n.componentDidCatch||n.constructor&&n.constructor.getDerivedStateFromError}));e?k((function(){var n=e._internal;n&&Cn((function(){if(e.componentDidCatch&&e.componentDidCatch(t),e.constructor&&e.constructor.getDerivedStateFromError){var n=e.constructor.getDerivedStateFromError(t);e.setState(n)}}),n.m)})):y((function(){throw t}),0)}(t,n)}}function wn(n,t){k((function(){Cn(n,t)}))}function xn(n,t){n&&wn((function(){U(n,t)}),t)}var On=function(n){function t(){return n.apply(this,arguments)||this}J(t,n);var r=t.prototype;return r.I=function(n,t,r,i){this.g(n,t,r);var u,s,f=this.O,c=f.type,a=f.ref,l=f.props,h=c.prototype,p=this.bn(r);if(Cn((function(){h&&h.render?u=new c(l,p):o(c)?u=new ln(c,a):D(6,c)}),t),u){u.props=l,u.context=p,u.refs={},u.updater=gn,u._internal=this,this._instance=u;var v=u.state;void 0===v&&(u.state=v=null),u.componentWillMount&&Cn((function(){u.componentWillMount()}),u),e.owner=this,u.state=this.jn(l,p);var d=this.wn;return this.wn=null,Cn((function(){s=u.render()}),u),e.owner=null,this._renderedComponent=X(s),this._renderedComponent.I(this._parent,u,this.F(r),i),!f.type._forwardRef&&a&&Y(f._owner,a,this),u.componentDidMount&&wn((function(){u.componentDidMount()}),u),xn(d,u),u}},r.unmountComponent=function(n){var t=this._instance;if(t&&t.componentWillUnmount&&Cn((function(){t.componentWillUnmount()}),t),null!=this._renderedComponent){var e=this.O,r=e.ref;!e.type._forwardRef&&r&&Z(e._owner,r,this),this._renderedComponent.unmountComponent(n),this._renderedComponent=null}this._n=null,this.xn=!1,this.k()},r.bn=function(n){var t={},e=this.O.type.contextTypes;if(e)for(var r in e)t[r]=n[r];return t},r.F=function(n){var t=this._instance,e=t.getChildContext&&t.getChildContext();return e?sn({},n,e):n},r.jn=function(n,t){var e=this._instance,r=this._n;if(!r)return e.state;this._n=null;for(var i=sn({},e.state),u=0;u0)for(var h=0;h0&&function(){var e=g(v.clickTrackInfo||v.trackInfo).gokey,t=void 0===e?"":e;window&&window.goldlog&&window.goldlog.record&&window.goldlog.record(E,"CLK",t+"&spm="+h,"GET")}(),t&&t(e),!1};var c,p=window.$zebra&&window.$zebra.moduleId||"0",h=function(){if(o.isWeb&&window.$zebra){var e=window.$zebra;return[e.spma,e.spmb,window.$zebra.uuid||p,"0"].join(".")}return"0.0.0.0"}(),m=Object(n.useRef)(null),v=function(e){return"object"==typeof e?e:"string"==typeof e&&e.length>0?JSON.parse(e):{}}(e["data-track-params"]||""),w=(c=e["data-track-params"]||"")?"string"==typeof c?c:JSON.stringify(c):"",y=v.trackInfo||v.clickTrackInfo,k=e["data-track-type"]||"ALL",b=e["exp-type"]||("CLK"===k?"":"auto"),x=e.onClick,O=e.href,_=Object(n.useState)(e["data-spm"]||e["data-spm-d"]),P=_[0],T=_[1],j={};P&&(j["data-spm"]=P);var C=g(y),E=C.logkey,A=C.gokey,S=e.style||{};S=d({display:"flex",position:"relative"},S),o.isWeb&&function(){if(window.__disableTrackerExp)return!1;if(y&&E&&A&&1!==f[E]){var e=window.goldlog_queue||(window.goldlog_queue=[]),t=O?"a":"div";e.push({action:"goldlog.appendMetaInfo",arguments:["aplus-auto-exp",[{logkey:E,cssSelector:t+'[exp-type="auto"][logkey="'+E+'"]',props:["gokey","gmkey"]}]]}),f[E]=1}}(),Object(n.useImperativeHandle)(t,(function(){return m.current})),function(e,t){return!!(e&&t&&t.indexOf("utLogMap")>=0)}(O,A)&&Object(n.useEffect)((function(){l(A,m.current,T)}),[]);var I=e.component||(O?i.a:s.a);return Object(n.createElement)(I,d({ref:m,href:O,isonce:!0},e,{style:S,onClick:function(e){return a(e,x)},onAppear:function(t){var n=e.onAppear;r(),n&&n(t)},target:"_blank"},j,{logkey:E,gokey:A,"exp-type":b,"data-track-params":w}),e.children)}},function(e,t,r){"use strict";r.r(t);var n=r(0),o=r(3),a=r.n(o),i=r(2),c=r.n(i);function s(e,t){for(var r=0;r=0||(o[r]=e[r]);return o}(e,["href","style","data-spm","data-track-type","onClick","onAppear"]),k=e["data-exp-type"]||e["exp-type"]||("CLK"===l?"":"auto"),b=Object(n.useState)(function(e){if("string"==typeof e&&e){try{return JSON.parse(e)}catch(t){console.error(t),console.error("parse string type track-params err: "+e)}return{}}return e||{}}(e["data-track-params"]))[0],x=Object(n.useRef)(null),O=Object(n.useRef)(!0),_=v({ref:x,style:o,"data-spm":i,onClick:function(t){var r=e.href,n="",o={};if(r){var a=x.current,i=function(e){for(var t=e;"body"!==t.role;)t=t.parentNode;var r=t.pureChildren&&t.pureChildren[0];return r.attr&&r.attr["spm-id"]||"0.0"}(a),c=function(e){for(var t=e.parentNode;!t.attr||!t.attr["data-spm"];)t=t.parentNode;return[t.attr["data-spm"],t]}(a),s=c[0],v=function(e,t,r){if(e&&e.attr&&e.attr["data-spm"]){var n=e.attr["data-spm"];if(0===n.indexOf("d"))return n;console.warn('customized spmd should start with "d"')}for(var o=0,a=r;a&&a.attr&&a.attr["data-spm"]===t;)o+=h(a,e),a=a.previousSibling;return o+1}(a,s,c[1]);try{o=(new u).parse(r)}catch(t){console.error("parse href error:"),console.error(t),o={params:{}}}n=i+"."+s+"."+v}try{d&&d(t,{spm:n})}catch(t){console.error("props.onClick function exec err:",t)}if("CLK"!==l&&"ALL"!==l||function(e){var t=e.clickTrackInfo||e.trackInfo;if(t){var r=g(t),n=r.logkey,o=r.gokey;r.chksum;n&&o&&p.customAdvance(f(),2101,n,"","",m(n,o,"CLK"))}}(b),n)return o.params.spm=n,weex.requireModule("navigator").push({url:o.toString(),animated:!0},(function(){})),!1}},y);(w||"ALL"===l||"EXP"===l)&&(_.onAppear=function(e){try{w&&w(e)}catch(e){console.error("props.onAppear function exec err:",e)}O.current&&(O.current=!1,"EXP"!==l&&"ALL"!==l||("rt"===k?function(e){var t=e.trackInfo||e.clickTrackInfo;if(t){var r=g(t),n=r.logkey,o=r.gokey;r.chksum;n&&o&&p.commitut("expose",2201,f(),"",n,"","",m(n,o,"EXP"))}}(b):"auto"===k&&x.current&&x.current.ref&&function(e,t){if(p&&p.setExposureView){var r=t.trackInfo||t.clickTrackInfo;if(r){var n=g(r),o=n.logkey,a=n.gokey,i=(n.chksum,m(o,a,"EXP"));p.setExposureView(e,o,i)}}}(x.current.ref,b)))}),r&&(_.xhref=r),Object(n.useImperativeHandle)(t,(function(){return x.current}));var P=e.component||(r?c.a:a.a);return Object(n.createElement)(P,_,e.children)}}]);;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-rax-image/index",[],(function(e,r,t){t.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=".package",t(t.s=0)}([function(e,r,t){r.__esModule=!0,r.default=void 0;var n=t(1),o=t(2);function i(){return(i=Object.assign||function(e){for(var r=1;r1&&r.currentTarget.naturalHeight>1?n(r):l(r))},s.onError=l,delete s.source;var p=s.resizeMode||s.style.resizeMode;p&&(o.isWeex?(s.resize=p,s.style.resizeMode=p):s.style.objectFit=p);var v=s.className,y=s.style,g=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);o0&&parseFloat(H)<1&&(L=H*K,A=!1),D&&(R=!1),!X&&K&&c&&v){var Z=c/parseInt(K,10);X=parseInt(v/Z,10)}var ee=Object.assign({height:X},d);J&&(z&&window.devicePixelRatio>1&&"string"==typeof K&&K.indexOf("rem")>-1&&(K=2*parseInt(K.split("rem")[0])+"rem"),J=(0,a.default)(J,{ignoreGif:P,ignorePng:!0,removeScheme:b,replaceDomain:h,scalingWidth:A?K:L,webp:O&&l&&p,compressSuffix:R?s(Q,E):D})),f&&(ee.resizeMode=f);var te=w;return(window.__isHydrating||window.__isSSR||e.isHydrating||e.isSSR)&&(G=!1),G?(T.onAppear=function(){t.current&&Y(!0)},V&&(te=J)):te=J,n?(0,r.createElement)(o.default,_extends({ref:t},T,{"data-once":!0,style:_extends({},ee,{backgroundImage:"url("+te+")",backgroundSize:f||"cover",backgroundRepeat:"no-repeat"},{backgroundPosition:"cover"===f||"contain"===f?"center":null},{height:ee.height?ee.height:U})}),n):(0,r.createElement)(i.default,_extends({ref:t},T,{"data-once":!0,source:{uri:te},style:ee}))}u.default.isSupport((function(e){l=e})),u.default.isSupport((function(e){p=e}),"alpha"),v=(0,r.forwardRef)(v),t.default=(0,r.memo)(v,(function(e,t){if(e.children)return!0})),e.exports=t.default},function(t,n){var r=e("@ali/rax-pkg-rax/index");t.exports=r},function(t,n){var r=e("@ali/rax-pkg-rax-view/index");t.exports=r},function(t,n){var r=e("@ali/rax-pkg-rax-image/index");t.exports=r},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=t.scalingWidth,c=t.webp,p=t.compressSuffix,s=t.quality,v=t.acutance,g=t.removeScheme,w=t.replaceDomain,m=t.ignoreGif,_=t.ignorePng,b=e;if("string"==typeof e){var x=(0,r.default)(e);if(x){var h=(0,o.default)(e),y=x[1],A=x[2],S=A.match(l)||[],O=!~A.indexOf("gif")&&!~A.indexOf("GIF")||!m,j=!~A.indexOf("png")&&!~A.indexOf("png")||!_,P=S[1]||"";n&&O&&(P=(0,u.default)(n,h)||P);var M=S[5]||"";c&&O&&(M=(0,d.default)(h)||M);var R=S[3]||"";(p||s||v)&&O&&j&&(R=(0,f.default)(p,s,v,h)||R);var I=P&&S[2]||"",Q=P||R?S[4]||".jpg":"",k=P||R?"_":"";h&&("_"==k&&(k="@"),e.split("@")[1]&&(k="")),O&&("_.jpg"!==S[0]&&(b=b.replace(S[0],"")),b+=h?k+P+I+R+M:k+P+I+R+Q+M,g&&(b=(0,i.default)(b))),w&&(b=(0,a.default)(b,y))}}return b};var r=c(n(6)),o=c(n(7)),i=c(n(8)),a=c(n(9)),u=c(n(10)),d=c(n(11)),f=c(n(12));function c(e){return e&&e.__esModule?e:{default:e}}var l=/_(\d+x\d+|cy\d+i\d+|sum|m|b)?(xz|xc)?((?:q\d+)?(?:s\d+)?)(\.jpg)?(_\.webp)?$/i;e.exports=t.default},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.match(n)};var n=/^(?:(?:http|https):)?\/\/(.+\.(?:alicdn|taobaocdn|taobao)\.(?:com|net))(\/.*(?:\.(jpg|png|gif|jpeg|webp))?)$/i;e.exports=t.default},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.match(n)};var n=/^(?:(?:http|https):)?\/\/(ossgw\.(?:alicdn|taobaocdn|taobao)\.(?:com|net))(\/.*(?:\.(jpg|png|gif|jpeg|webp))?)$/i;e.exports=t.default},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(/(http|https):/gi,"")},e.exports=t.default},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var i=t.match(r);return i&&i[0]!=n&&-1===o.indexOf(t)?e.replace(t,n):e};var n="gw.alicdn.com",r=/(.+\.(?:alicdn|taobaocdn|taobao|mmcdn)\.com)/,o=["a.tbcdn.cn","assets.alicdn.com","wwc.taobaocdn.com","wwc.alicdn.com","cbu01.alicdn.com","ossgw.alicdn.com"];e.exports=t.default},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var i="string"==typeof e&&e.indexOf("rem")>-1;if(i||"number"==typeof e){var a=parseFloat(e,10),u=1;i&&n&&(u=o/n);var d=function(e,t){var n=1e3,r=e,o=0;t.forEach((function(t,i){var a=Math.abs(t-e);if(0===a)return r=t,o=i,!1;n>a&&(n=a,r=t,o=i)})),e>r&&t[o+1]&&(r=t[o+1]);if(t.indexOf(r)>-1)return r}(parseInt(a/u,10),r);if(d)return t?"_"+d+"w":d+"x10000"}return""};"undefined"==typeof window||_typeof(window);var n=window.screen&&window.screen.width;window.__isSSR||(n=document.documentElement.clientWidth/750*n);var r=[110,140,150,170,220,230,240,290,300,360,450,570,580,620,790],o=750;e.exports=t.default},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e?r:n};var n="_.webp",r=".webp";e.exports=t.default},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){return r?(e.startsWith("Q")&&(e="_"+e.split("Q")[1]+"Q"),e||(t?"_"+t:"Q")):e||(t?"Q"+t:"")+(n?"S"+n:"")},e.exports=t.default},function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;function r(e,t){if(window.localStorage&&"function"==typeof window.localStorage.setItem)try{window.localStorage.setItem("webpsupport-"+t,e)}catch(e){}}window.__isSSR||(n=!!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/));var o={isSupport:function(e,t){if("function"==typeof e)if(t=t||"lossy",window.__isSSR)e(!0);else if(window.navigator.userAgent.match(/windows|win32/i)||n&&window.navigator.userAgent.match(/UCBrowser/i))e(!1);else if(window.chrome||window.opera||window.ucweb)e(!0);else{var o=window.localStorage&&window.localStorage.getItem("webpsupport-"+t);o?e("true"==o):function(e,t){if("function"==typeof e){var n=new Image;n.onload=function(){var o=n.width>0&&n.height>0;r(o,t),e(o)},n.onerror=function(){r(!1,t),e(!1)}}}(e,t)}}};t.default=o,e.exports=t.default}])}));define("@ali/pcom-floor-title/index", [], function(require, exports, module) {module.exports=function(e){var t={};function i(n){if(t[n])return t[n].exports;var l=t[n]={i:n,l:!1,exports:{}};return e[n].call(l.exports,l,l.exports,i),l.l=!0,l.exports}return i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},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,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var l in e)i.d(n,l,function(t){return e[t]}.bind(null,l));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="./",i(i.s=6)}([function(e,t){e.exports=require("@ali/rax-pkg-rax/index")},function(e,t){e.exports=require("@ali/rax-pkg-rax-view/index")},function(e,t){e.exports=require("@ali/rax-pkg-rax-picture/index")},function(e,t){e.exports=require("@ali/rax-pkg-universal-env/index")},function(e,t){e.exports=require("@ali/rax-pkg-rax-text/index")},function(e,t){e.exports=require("@ali/pcom-tracker-link/index")},function(e,t,i){e.exports=i(7)},function(e,t,i){"use strict";i.r(t);var n=i(0),l=i(3),o=i(4),r=i.n(o),a=i(1),c=i.n(a),f=i(5),d=i.n(f),u=i(2),p=i.n(u);function s(){return(s=Object.assign||function(e){for(var t=1;t20&&r.isWeb)return!1;var t=Object.assign({url:i(e)},u,e);if(t.sampling=(r.isNode||"undefined"==typeof location?"":location.href).indexOf("jt_debug=1")>-1?1:t.sampling,Math.random()*t.sampling<1)if(r.isWeex){var n;try{n=__weex_require__("@weex-module/userTrack")}catch(e){}var o="undefined"!=typeof __weex_options__&&__weex_options__.weex,f=r.isWeex&&"object"==typeof o&&"windmill"===o.config.container||!1,s=!1;if(f)try{var m=__weex_require__("@weex-module/keyboard");"function"==typeof m.hideKeyboard&&(s=!0)}catch(e){}n.commitEvent&&(f&&s?(t.isInWindmill="weex",n.commitEvent({eventId:"19999",eventid:"19999",name:location.href,pageName:location.href,arg1:c,arg2:"",arg3:"",param:t,params:t})):n.commitEvent(location.href,"19999",c,"","",t))}else r.isWeb&&"undefined"!=typeof goldlog?goldlog.send&&(t.grey=function(e){if(document&&document.querySelector){var t=document.querySelector('meta[name="'+e+'"]');if(t)return t.getAttribute("content")}return""}("def-grey"),goldlog.send("//gm.mmstat.com"+c,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:"http://gm.mmstat.com"+c,method:"GET",data:e,dataType:"text"}).catch((function(){})):my.httpRequest&&"function"==typeof my.httpRequest&&my.httpRequest({url:"//gm.mmstat.com"+c,method:"get",data:e,dataType:"json"})}(t))}t.default={report:f,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),f(r))},reportApi:function(e,t){e&&e.url&&(e.type="api",e.module=t,e.sampling=e.sampling||"100",f(e))},setConfig:function(e){e&&e.sampling&&(u.sampling=e.sampling)}}}]);;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/universal-mtop@5/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=2)}([function(e,t){e.exports=require("@ali/rax-pkg-universal-env/index")},function(e,t){e.exports=require("@ali/universal-tracker@3/index")},function(e,t,n){e.exports=n(4)},function(e,t){!function(e,t){function n(){var e={},t=new c((function(t,n){e.resolve=t,e.reject=n}));return e.promise=t,e}function o(e,t){for(var n in t)void 0===e[n]&&(e[n]=t[n]);return e}function r(e){var t=[];for(var n in e)e[n]&&t.push(n+"="+encodeURIComponent(e[n]));return t.join("&")}function i(e){return"[object Object]"=={}.toString.call(e)}function s(e){var t=new RegExp("(?:^|;\\s*)"+e+"\\=([^;]+)(?:;\\s*|$)").exec(document.cookie);return t?t[1]:void 0}function a(e,t,n){var o=new Date;o.setTime(o.getTime()-864e5);document.cookie=e+"=;path=/;domain=."+t+";expires="+o.toGMTString(),document.cookie=e+"=;path=/;domain=."+n+"."+t+";expires="+o.toGMTString()}function p(e,t){for(var n=e.split("."),o=t.split("."),r=0;3>r;r++){var i=Number(n[r]),s=Number(o[r]);if(i>s)return 1;if(s>i)return-1;if(!isNaN(i)&&isNaN(s))return 1;if(isNaN(i)&&!isNaN(s))return-1}return 0}function u(e){this.id=""+(new Date).getTime()+ ++h,this.params=o(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=f.slice(0)}var c=e.Promise,d=(c||{resolve:function(){}}).resolve();String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")});var l={useJsonpResultType:!1,safariGoLogin:!0,useAlipayJSBridge:!1},f=[],m={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 o=new RegExp("([^.]*?)\\.?((?:"+["taobao.net","taobao.com","tmall.com","tmall.hk","alibaba-inc.com"].join(")|(?:").replace(/\./g,"\\.")+"))","i"),r=t.match(o)||[],i=r[2]||"taobao.com",s=r[1]||"m";"taobao.net"!==i||"x"!==s&&"waptest"!==s&&"daily"!==s?"taobao.net"===i&&"demo"===s?s="demo":"alibaba-inc.com"===i&&"zebra"===s?s="zebra":"waptest"!==s&&"wapa"!==s&&"m"!==s&&(s="m"):s="waptest";var a="h5api";"taobao.net"===i&&"waptest"===s&&(a="acs"),l.mainDomain=i,l.subDomain=s,l.prefix=a})(),function(){var t=e.navigator.userAgent,n=t.match(/WindVane[\/\s]([\d\.\_]+)/);n&&(l.WindVaneVersion=n[1]);var o=t.match(/AliApp\(([^\/]+)\/([\d\.\_]+)\)/i);o&&(l.AliAppName=o[1],l.AliAppVersion=o[2]);var r=t.match(/AMapClient\/([\d\.\_]+)/i);r&&(l.AliAppName="AMAP",l.AliAppVersion=r[1])}();var g=/[Android|Adr]/.test(e.navigator.userAgent),_="AP"===l.AliAppName&&p(l.AliAppVersion,"10.1.2")>=0||"KB"===l.AliAppName&&p(l.AliAppVersion,"7.1.62")>=0||g&&"AMAP"===l.AliAppName&&p(l.AliAppVersion,"1.0.1")>=0,h=0;u.prototype.use=function(e){if(!e)throw new Error("middleware is undefined");return this.middlewares.push(e),this},u.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()},u.prototype.__processRequestType=function(n){var o=this,r=this.params,s=this.options;if(!0===l.H5Request&&(s.H5Request=!0),!0===l.WindVaneRequest&&(s.WindVaneRequest=!0),!1===s.H5Request&&!0===s.WindVaneRequest){if(!_&&(!t.windvane||parseFloat(s.WindVaneVersion)<5.4))throw new Error("WINDVANE_NOT_FOUND::\u7f3a\u5c11WindVane\u73af\u5883");if(_&&!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===s.H5Request)s.WindVaneRequest=!1;else if(void 0===s.WindVaneRequest&&void 0===s.H5Request){if(t.windvane&&parseFloat(s.WindVaneVersion)>=5.4?s.WindVaneRequest=!0:s.H5Request=!0,_){if(s.WindVaneRequest=s.H5Request=void 0,e.AlipayJSBridge)if(i(r.data))s.WindVaneRequest=!0;else try{i(JSON.parse(r.data))?s.WindVaneRequest=!0:s.H5Request=!0}catch(e){s.H5Request=!0}else s.H5Request=!0;"AMAP"!==l.AliAppName||r.useNebulaJSbridgeWithAMAP||(s.WindVaneRequest=s.H5Request=void 0,s.H5Request=!0)}window.self!==window.top&&(s.H5Request=!0)}var a=e.navigator.userAgent.toLowerCase();return a.indexOf("youku")>-1&&s.mainDomain.indexOf("youku.com")<0&&(s.WindVaneRequest=!1,s.H5Request=!0),s.mainDomain.indexOf("youku.com")>-1&&a.indexOf("youku")<0&&(s.WindVaneRequest=!1,s.H5Request=!0),n?n().then((function(){var e=s.retJson.ret;if(e instanceof Array&&(e=e.join(",")),!0===s.WindVaneRequest&&_&&s.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(!_||!isNaN(s.retJson.error)||-1!==s.retJson.error.indexOf("FAIL_SYS_ACCESS_DENIED"))return _&&i(r.data)&&(r.data=JSON.stringify(r.data)),l.H5Request=!0,o.__sequence([o.__processRequestType,o.__processToken,o.__processRequestUrl,o.middlewares,o.__processRequest]);void 0===s.retJson.api&&void 0===s.retJson.v&&(s.retJson.api=r.api,s.retJson.v=r.v,s.retJson.ret=[s.retJson.error+"::"+s.retJson.errorMessage],s.retJson.data={})}})):void 0};var v="_m_h5_c",y="_m_h5_tk";u.prototype.__getTokenFromAlipay=function(){var t=n(),o=this.options,r=(e.navigator.userAgent,!!location.protocol.match(/^https?\:$/));return!0===o.useAlipayJSBridge&&!r&&_&&e.AlipayJSBridge&&e.AlipayJSBridge.call?e.AlipayJSBridge.call("getMtopToken",(function(e){e&&e.token&&(o.token=e.token),t.resolve()}),(function(){t.resolve()})):t.resolve(),t.promise},u.prototype.__getTokenFromCookie=function(){var e=this.options;return e.CDR&&s(v)?e.token=s(v).split(";")[0]:e.token=e.token||s(y),e.token&&(e.token=e.token.split("_")[0]),c.resolve()},u.prototype.__waitWKWebViewCookie=function(t){var n=this.options;n.waitWKWebViewCookieFn&&n.H5Request&&e.webkit&&e.webkit.messageHandlers?n.waitWKWebViewCookieFn(t):t()},u.prototype.__processToken=function(e){var t=this,n=this.options;return this.params,n.token&&delete n.token,!0!==n.WindVaneRequest?d.then((function(){return t.__getTokenFromAlipay()})).then((function(){return t.__getTokenFromCookie()})).then(e).then((function(){var e=n.retJson,o=e.ret;if(o instanceof Array&&(o=o.join(",")),o.indexOf("TOKEN_EMPTY")>-1||(!0===n.CDR||!0===n.syncCookieMode)&&o.indexOf("ILLEGAL_ACCESS")>-1||o.indexOf("TOKEN_EXOIRED")>-1){if(n.maxRetryTimes=n.maxRetryTimes||5,n.failTimes=n.failTimes||0,n.H5Request&&++n.failTimes0&&(a(v,n.pageDomain,"*"),a(y,n.mainDomain,n.subDomain),a("_m_h5_tk_enc",n.mainDomain,n.subDomain)),e.retType=m.TOKEN_EXPIRED}})):void e()},u.prototype.__processRequestUrl=function(t){var n=this.params,o=this.options;if(o.hostSetting&&o.hostSetting[e.location.hostname]){var r=o.hostSetting[e.location.hostname];r.prefix&&(o.prefix=r.prefix),r.subDomain&&(o.subDomain=r.subDomain),r.mainDomain&&(o.mainDomain=r.mainDomain)}if(!0===o.H5Request){var i="//"+(o.prefix?o.prefix+".":"")+(o.subDomain?o.subDomain+".":"")+o.mainDomain+"/h5/"+n.api.toLowerCase()+"/"+n.v.toLowerCase()+"/",s=n.appKey||("waptest"===o.subDomain?"4272":"12574478"),a=(new Date).getTime(),p=function(e){function t(e,t){return e<>>32-t}function n(e,t){var n,o,r,i,s;return r=2147483648&e,i=2147483648&t,s=(1073741823&e)+(1073741823&t),(n=1073741824&e)&(o=1073741824&t)?2147483648^s^r^i:n|o?1073741824&s?3221225472^s^r^i:1073741824^s^r^i:s^r^i}function o(e,o,r,i,s,a,p){return e=n(e,n(n(function(e,t,n){return e&t|~e&n}(o,r,i),s),p)),n(t(e,a),o)}function r(e,o,r,i,s,a,p){return e=n(e,n(n(function(e,t,n){return e&n|t&~n}(o,r,i),s),p)),n(t(e,a),o)}function i(e,o,r,i,s,a,p){return e=n(e,n(n(function(e,t,n){return e^t^n}(o,r,i),s),p)),n(t(e,a),o)}function s(e,o,r,i,s,a,p){return e=n(e,n(n(function(e,t,n){return t^(e|~n)}(o,r,i),s),p)),n(t(e,a),o)}function a(e){var t,n="",o="";for(t=0;3>=t;t++)n+=(o="0"+(e>>>8*t&255).toString(16)).substr(o.length-2,2);return n}var p,u,c,d,l,f,m,g,_,h;for(h=function(e){for(var t,n=e.length,o=n+8,r=16*((o-o%64)/64+1),i=new Array(r-1),s=0,a=0;n>a;)s=a%4*8,i[t=(a-a%4)/4]=i[t]|e.charCodeAt(a)<>>29,i}(e=function(e){e=e.replace(/\r\n/g,"\n");for(var t="",n=0;no?t+=String.fromCharCode(o):o>127&&2048>o?(t+=String.fromCharCode(o>>6|192),t+=String.fromCharCode(63&o|128)):(t+=String.fromCharCode(o>>12|224),t+=String.fromCharCode(o>>6&63|128),t+=String.fromCharCode(63&o|128))}return t}(e)),f=1732584193,m=4023233417,g=2562383102,_=271733878,p=0;p=200&&300>r||304==r){o(),e=u.responseText,n=u.getAllResponseHeaders()||"";try{(e=/^\s*$/.test(e)?{}:JSON.parse(e)).responseHeaders=n,p.results=[e],i.resolve()}catch(e){t("PARSE_JSON_ERROR::\u89e3\u6790JSON\u5931\u8d25")}}else o("ABORT"),t(p.abortErrMsg||"ABORT::\u63a5\u53e3\u5f02\u5e38\u9000\u51fa")}};var l,f,m=p.path+"?"+r(p.querystring);p.getJSON?(l="GET",m+="&"+r(p.postdata)):p.postJSON&&(l="POST",f=r(p.postdata)),u.open(l,m,!0),u.withCredentials=!0,u.setRequestHeader("Accept","application/json"),u.setRequestHeader("Content-type","application/x-www-form-urlencoded");var g=a.ext_headers||a.headers;if(g)for(var _ in g)u.setRequestHeader(_,g[_]);return u.send(f),i.promise},u.prototype.__requestWindVane=function(){function e(e){i.results=[e],o.resolve()}var o=n(),r=this.params,i=this.options,s=r.data,a=r.api,p=r.v,u=i.postJSON?1:0,c=i.getJSON||i.postJSON||i.getOriginalJSONP?"originaljson":"";void 0!==r.valueType&&("original"===r.valueType?c="originaljson":"string"===r.valueType&&(c="")),!0===i.useJsonpResultType&&(c="");var d,l,f="https"===location.protocol?1:0,m=r.isSec||0,g=r.sessionOption||"AutoLoginOnly",_=r.ecode||0,h=r.ext_headers||{},v=r.ext_querys||{};d=2*(l=void 0!==r.timer?parseInt(r.timer):void 0!==r.timeout?parseInt(r.timeout):2e4),!0===r.needLogin&&void 0===r.sessionOption&&(g="AutoLoginAndManualLogin"),void 0!==r.secType&&void 0===r.isSec&&(m=r.secType);var y={api:a,v:p,post:String(u),type:c,isHttps:String(f),ecode:String(_),isSec:String(m),param:JSON.parse(s),timer:l,sessionOption:g,ext_headers:h,ext_querys:v};r.ttid&&!0===i.dangerouslySetWVTtid&&(y.ttid=r.ttid),Object.assign&&r.dangerouslySetWindvaneParams&&Object.assign(y,r.dangerouslySetWindvaneParams);var S="MtopWVPlugin";return"string"==typeof r.customWindVaneClassName&&(S=r.customWindVaneClassName),t.windvane.call(S,"send",y,e,e,d),o.promise},u.prototype.__requestAlipay=function(){var t=n(),o=this.params,r=this.options,s={apiName:o.api,apiVersion:o.v,needEcodeSign:"1"===String(o.ecode),headers:o.ext_headers||{},usePost:!!r.postJSON};i(o.data)||(o.data=JSON.parse(o.data)),s.data=o.data,o.ttid&&!0===r.dangerouslySetWVTtid&&(s.ttid=o.ttid),(r.getJSON||r.postJSON||r.getOriginalJSONP)&&(s.type="originaljson"),void 0!==o.valueType&&("original"===o.valueType?s.type="originaljson":"string"===o.valueType&&delete s.type),!0===r.useJsonpResultType&&delete s.type,Object.assign&&o.dangerouslySetAlipayParams&&Object.assign(s,o.dangerouslySetAlipayParams);var a="mtop";return"string"==typeof o.customAlipayJSBridgeApi&&(a=o.customAlipayJSBridgeApi),e.AlipayJSBridge.call(a,s,(function(e){r.results=[e],t.resolve()})),t.promise},u.prototype.__processRequest=function(e,t){var n=this;return d.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 _?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]),o=t&&t.ret||[];t.ret=o,o instanceof Array&&(o=o.join(","));var r=t.c;e.CDR&&r&&function(e,t,n){var o=n||{};document.cookie=e.replace(/[^+#$&^`|]/g,encodeURIComponent).replace("(","%28").replace(")","%29")+"="+t.replace(/[^+#$&\/:<-\[\]-}]/g,encodeURIComponent)+(o.domain?";domain="+o.domain:"")+(o.path?";path="+o.path:"")+(o.secure?";secure":"")+(o.httponly?";HttpOnly":"")+(o.sameSite?";Samesite="+o.sameSite:"")}(v,r,{domain:e.pageDomain,path:"/",secure:e.secure,sameSite:e.sameSite}),o.indexOf("SUCCESS")>-1?t.retType=m.SUCCESS:t.retType=m.ERROR,e.retJson=t}))},u.prototype.__sequence=function(e){var t=this,o=[],r=[];e.forEach((function e(i){if(i instanceof Array)i.forEach(e);else{var s,a=n(),p=n();o.push((function(){return a=n(),(s=i.call(t,(function(e){return a.resolve(e),p.promise}),(function(e){return a.reject(e),p.promise})))&&(s=s.catch((function(e){a.reject(e)}))),a.promise})),r.push((function(e){return p.resolve(e),s}))}}));for(var i,s=d;i=o.shift();)s=s.then(i);for(;i=r.pop();)s=s.then(i);return s};var O=function(e){e()},R=function(e){e()};u.prototype.request=function(n){var r=this;if(this.options=o(n||{},l),!c){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 s=c.resolve([O,R]).then((function(e){var t=e[0],n=e[1];return r.__sequence([t,r.__processRequestMethod,r.__processRequestType,r.__processToken,r.__processRequestUrl,r.middlewares,r.__processRequest,n])})).then((function(){var e=r.options.retJson;return e.retType!==m.SUCCESS?c.reject(e):r.options.successCallback?void r.options.successCallback(e):c.resolve(e)})).catch((function(e){var n;return e instanceof Error?(console.error(e.stack),n={ret:[e.message],stack:[e.stack],retJson:m.ERROR}):n="string"==typeof e?{ret:[e],retJson:m.ERROR}:void 0!==e?e:r.options.retJson,t.mtop.errorListener&&t.mtop.errorListener({api:r.params.api,data:r.params.data,v:r.params.v,retJson:n}),r.options.failureCallback?void r.options.failureCallback(n):c.reject(n)}));return this.__processRequestType(),r.options.H5Request&&(r.constructor.__firstProcessor||(r.constructor.__firstProcessor=s),O=function(e){r.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=s,s},t.mtop=function(e){return new u(e)},t.mtop.request=function(e,t,n){var o={H5Request:e.H5Request,WindVaneRequest:e.WindVaneRequest,LoginRequest:e.LoginRequest,AntiCreep:e.AntiCreep,AntiFlood:e.AntiFlood,successCallback:t,failureCallback:n||t};return new u(e).request(o)},t.mtop.H5Request=function(e,t,n){return new u(e).request({H5Request:!0,successCallback:t,failureCallback:n||t})},t.mtop.middlewares=f,t.mtop.config=l,t.mtop.RESPONSE_TYPE=m,t.mtop.CLASS=u}(window,window.lib||(window.lib={})),function(e,t){function n(e){return e.preventDefault(),!1}function o(t,o){var r=this,i=e.dpr||1,s=document.createElement("div"),a=document.documentElement.getBoundingClientRect(),p=Math.max(a.width,window.innerWidth)/i,u=Math.max(a.height,window.innerHeight)/i;s.style.cssText=["-webkit-transform:scale("+i+") translateZ(0)","-ms-transform:scale("+i+") translateZ(0)","transform:scale("+i+") translateZ(0)","-webkit-transform-origin:0 0","-ms-transform-origin:0 0","transform-origin:0 0","width:"+p+"px","height:"+u+"px","z-index:2147483647","position:"+(p>800?"fixed":"absolute"),"left:0","top:0px","background:"+(p>800?"rgba(0,0,0,.5)":"#FFF"),"display:none"].join(";");var c=document.createElement("div");c.style.cssText=["width:100%","height:52px","background:#EEE","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(";"),c.innerText=t;var d=navigator.userAgent.match(/.*(iPhone|iPad|Android|ios|SymbianOS|Windows Phone).*/i),l=document.createElement("img");l.style.cssText=["display:block","position:absolute","margin-top:15px","right:0","top:0","height:15px","line-height:52px","padding:0 20px","color:#999"].join(";"),l.src="https://gw.alicdn.com/tfs/TB1QZN.CYj1gK0jSZFuXXcrHpXa-200-200.png";var f=document.createElement("iframe");f.style.cssText=["width:100%","height:100%","border:0","overflow:hidden"].join(";"),d?(c.appendChild(l),s.appendChild(c)):(l.style.cssText=["position:absolute","width:15px","height:15px","top: 50%;","left: 50%;","margin: -153px 0 0 184px;","cursor: pointer","border:0","z-index:1","overflow:hidden"].join(";"),s.appendChild(l),f.style.cssText=["position:absolute","top:50%","left:50%","margin: -160px 0 0 -210px;","height:320px","min-width:420px","border:0","background:#FFF","overflow:hidden"].join(";")),s.appendChild(f),s.className="J_MIDDLEWARE_FRAME_WIDGET",document.body.appendChild(s),f.src=o,l.addEventListener("click",(function(){r.hide();var e=document.createEvent("HTMLEvents");e.initEvent("close",!1,!1),s.dispatchEvent(e)}),!1),this.addEventListener=function(){s.addEventListener.apply(s,arguments)},this.removeEventListener=function(){s.removeEventListener.apply(s,arguments)},this.show=function(){document.addEventListener("touchmove",n,!1),s.style.display="block",window.scrollTo(0,0)},this.hide=function(){document.removeEventListener("touchmove",n),window.scrollTo(0,-a.top),s.parentNode&&s.parentNode.removeChild(s)}}if(!t||!t.mtop||t.mtop.ERROR)throw new Error("Mtop \u521d\u59cb\u5316\u5931\u8d25\uff01");var r=e.Promise,i=t.mtop.CLASS,s=t.mtop.config,a=t.mtop.RESPONSE_TYPE;t.mtop.middlewares.push((function(e){var n=this,o=this.options,r=this.params;return e().then((function(){var e=o.retJson,i=e.ret,p=navigator.userAgent.toLowerCase(),u=p.indexOf("safari")>-1&&p.indexOf("chrome")<0&&p.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=a.SESSION_EXPIRED,!o.WindVaneRequest&&(!0===s.LoginRequest||!0===o.LoginRequest||!0===r.needLogin))){if(!t.login)throw new Error("LOGIN_NOT_FOUND::\u7f3a\u5c11lib.login");if(!0!==o.safariGoLogin||!u||"taobao.com"===o.pageDomain)return t.login.goLoginAsync().then((function(){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){return new i(e).request({LoginRequest:!0,H5Request:!0,successCallback:t,failureCallback:n||t})},t.mtop.antiFloodRequest=function(e,t,n){return new i(e).request({AntiFlood:!0,successCallback:t,failureCallback:n||t})},t.mtop.middlewares.push((function(e){var t=this.options;return this.params,!0!==t.H5Request||!0!==s.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){return new i(e).request({AntiCreep:!0,successCallback:t,failureCallback:n||t})},t.mtop.middlewares.push((function(t){var n=this,i=this.options,a=this.params;return!1!==i.AntiCreep&&(i.AntiCreep=!0),!0!==a.forceAntiCreep&&!0!==i.H5Request||!0!==s.AntiCreep&&!0!==i.AntiCreep?void t():t().then((function(){var t=i.retJson,s=t.ret;if(s instanceof Array&&(s=s.join(",")),(s.indexOf("RGV587_ERROR::SM")>-1||s.indexOf("ASSIST_FLAG")>-1)&&t.data.url){var p="_m_h5_smt",u=function(e){var t=new RegExp("(?:^|;\\s*)"+e+"\\=([^;]+)(?:;\\s*|$)").exec(document.cookie);return t?t[1]:void 0}(p),c=!1;if(!0===i.saveAntiCreepToken&&u)for(var d in u=JSON.parse(u))a[d]&&(c=!0);if(!0===i.saveAntiCreepToken&&u&&!c){for(var d in u)a[d]=u[d];return n.__sequence([n.__processToken,n.__processRequestUrl,n.__processUnitPrefix,n.middlewares,n.__processRequest])}return new r((function(r,s){function u(){d.removeEventListener("close",u),e.removeEventListener("message",c),s("USER_INPUT_CANCEL::\u7528\u6237\u53d6\u6d88\u8f93\u5165")}function c(t){var o;try{o=JSON.parse(t.data)||{}}catch(e){}if(o&&"child"===o.type){var l;d.removeEventListener("close",u),e.removeEventListener("message",c),d.hide();try{for(var f in"string"==typeof(l=JSON.parse(decodeURIComponent(o.content)))&&(l=JSON.parse(l)),l)a[f]=l[f];!0===i.saveAntiCreepToken?(document.cookie=p+"="+JSON.stringify(l)+";",e.location.reload()):n.__sequence([n.__processToken,n.__processRequestUrl,n.__processUnitPrefix,n.middlewares,n.__processRequest]).then(r)}catch(e){s("USER_INPUT_FAILURE::\u7528\u6237\u8f93\u5165\u5931\u8d25")}}}var d=new o("",t.data.url);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);var o=n(0),r=n(1),i=n.n(r);var s,a={ERROR:-1,SUCCESS:0,TOKEN_EXPIRED:1,SESSION_EXPIRED:2};var p,u;function c(){return(c=Object.assign||function(e){for(var t=1;t-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 l(e,t,n){var r;e.disableTracker||(r=o.isMiniApp?e.miniAppID?"UN_MINIAPP/"+e.miniAppID:"UN_MINIAPP":location.hostname+location.pathname,i.a.report({url:"//tarzan/error/"+r+"/"+e.api+"/"+e.v,message:JSON.stringify(t),reverse1:n,type:"mtop"}))}function f(e){var t;return e.api&&(t=function(e,t,n){var o;if(e){for(var r in o=[],e)e.hasOwnProperty(r)&&(!t||t.indexOf(r)>-1)&&void 0!==e[r]&&""!==e[r]&&o.push(r+"-"+(n?encodeURIComponent(e[r]):e[r]));o.sort()}else o=[];return o.join("_")}(e.data,e.requiredParams,e.encodeParam)),"//fallback.alicdn.com/mtop/"+e.api+"_"+(e.v||"1.0")+"/"+t}t.default={request:function(e,t,n){function r(){return new Promise((function(t,n){o.isWeex?p?function(e,t,n){if(p.request){o.isWeex&&e.dataType&&/^(original){0,1}jsonp$/.test(e.dataType)&&(e.dataType=e.dataType.replace("jsonp","json"));var r=setTimeout((function(){n({ret:["TIMEOUT::\u63a5\u53e3\u8d85\u65f6"],retType:a.ERROR})}),e.timeout||2e4);p.request(e,(function(e){clearTimeout(r),e.retType=d(e),e&&e.MP_TIME_OUT?n({ret:["TIMEOUT::\u63a5\u53e3\u8d85\u65f6"],retType:-1}):t(e)}),(function(e){clearTimeout(r),e.retType=d(e),n(e)}))}}(e,t,n):u&&u.call?function(e,t,n){u&&u.call&&(e.param=e.data||e.param,"POST"===e.type&&(e.post="1"),u.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)})))}(e,t,n):n("Windvane & Mtop require error"):o.isWeb?lib.mtop.request(e,(function(o){o&&o.ret&&o.ret.length&&"WV_ERR::PARAM_PARSE_ERROR"===o.ret[0]?lib.mtop.H5Request(e,t,n):t(o)}),n):o.isMiniApp&&function(e){return s||(s=my.getSystemInfoSync()),new Promise((function(t,n){var o,r=Object.assign({},e,{apiName:e.api,apiVersion:e.v,needEcodeSign:"1"===String(e.ecode),usePost:"POST"===e.type});o=e.data,"[object Object]"!={}.toString.call(o)&&(r.data=JSON.parse(e.data)),Object.assign&&e.dangerouslySetAlipayParams&&Object.assign(r,e.dangerouslySetAlipayParams),"alipay"===s.app||"alipay"===e.miniAppType?((e.originaljsonp||e.json)&&(r.type="originaljson"),void 0!==e.valueType&&("original"===e.valueType?r.type="originaljson":"string"===e.valueType&&delete r.type),!0===e.useJsonpResultType&&delete r.type,my.call("mtop",r,(function(e){if(Array.isArray(e.ret)){var o=!0;for(var r in e.ret)/^SUCCESS::/.test(e.ret[r])||(o=!1);o?t(e):n(e)}else n(e)}))):(r.success=function(e){t(e)},r.fail=function(e){n(e)},my.sendMtop(r))}))}(e).then(t).catch(n)}))}return e&&void 0===e.preventFallback&&(e.preventFallback=!0),new Promise((function(i,s){r().then((function(e){t&&t(e),i(e)})).catch((function(r){if(n=n||t,r&&(r.api||r.v)||(r={api:e.api,v:e.v,data:{},ret:["FAIL::"+(JSON.stringify(r)||"")],retType:-1}),void 0===r.retType&&(r.retType=-1),l(e,r,"0012"),e&&(1==e.ecode||e.preventFallback||o.isMiniApp))return n&&n(r),s(r);(function(e,t){return new Promise((function(n,o){"string"==typeof e.data&&(e.data=JSON.parse(e.data));var r=f(e),i=new XMLHttpRequest;i.open("get",r,!0),i.send(null),i.onreadystatechange=function(){if(4==this.readyState&&200==this.status)try{var r=JSON.parse(this.responseText);r&&r.success&&r.result&&!r.result.backup?(l(e,t,"0210"),o(t)):n(r)}catch(n){l(e,t,"0210"),o(t)}else 4==this.readyState&&(l(e,t,"0011"),o(t))}}))})(e,r).then((function(e){t(e),i(e)})).catch((function(e){(n=n||t)&&n(e),s(e)}))}))}))},config:function(e,t){o.isWeex||"undefined"!=typeof lib&&lib.mtop&&("string"==typeof e?lib.mtop.config[e]=t:lib.mtop.config=c({},lib.mtop.config,e))},RESPONSE_TYPE:a}}]);;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/pcom-mtop/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=1)}([function(e,t){e.exports=require("@ali/universal-mtop@5/index")},function(e,t,r){e.exports=r(2)},function(e,t,r){"use strict";r.r(t);var n=r(0),o=r.n(n);t.default=o.a}]);;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/tubes-tb-core-engine/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=11)}([function(t,e,n){"use strict";var r=n(6);n.o(r,"handleError")&&n.d(e,"handleError",(function(){return r.handleError})),n.o(r,"isArray")&&n.d(e,"isArray",(function(){return r.isArray})),n.o(r,"isFunc")&&n.d(e,"isFunc",(function(){return r.isFunc})),n.o(r,"isPromise")&&n.d(e,"isPromise",(function(){return r.isPromise})),n.o(r,"isString")&&n.d(e,"isString",(function(){return r.isString})),n.o(r,"isUndefined")&&n.d(e,"isUndefined",(function(){return r.isUndefined})),n.o(r,"nextTick")&&n.d(e,"nextTick",(function(){return r.nextTick}))},function(t,e,n){t.exports=n(12)},function(t,e){t.exports=require("@ali/rax-pkg-universal-env/index")},function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"b",(function(){return s})),n.d(e,"e",(function(){return a})),n.d(e,"f",(function(){return u})),n.d(e,"d",(function(){return c}));var r=Object.prototype.toString,o=function(t){return"[object Array]"===r.call(t)},i=function(t){return"[object Object]"===r.call(t)},s=function(t){return"[object Function]"===r.call(t)},a=function(t){return"[object String]"===r.call(t)},u=function(t){return"[object Undefined]"===r.call(t)},c=function(t){return"[object Promise]"===r.call(t)}},function(t,e){t.exports=require("@ali/pcom-mtop/index")},function(t,e,n){"use strict";(function(t){var r=n(2),o="undefined"!=typeof self?self:void 0!==t?t:"undefined"!=typeof window?window:{};function i(t){return"string"!=typeof t&&(t=String(t)),t.toLowerCase()}function s(t){return"string"!=typeof t&&(t=String(t)),t}function a(t){this.originHeaders=t,this.map={},t instanceof a?t.forEach((function(t,e){this.append(e,t)}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function u(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function c(t){return new Promise((function(e,n){t.onload=function(){e(t.result)},t.onerror=function(){n(t.error)}}))}function f(t){var e=new FileReader;return e.readAsArrayBuffer(t),c(e)}a.prototype.append=function(t,e){t=i(t),e=s(e);var n=this.map[t];n||(n=[],this.map[t]=n),n.push(e)},a.prototype.delete=function(t){delete this.map[i(t)]},a.prototype.get=function(t){var e=this.map[i(t)];return e?e[0]:null},a.prototype.getAll=function(t){return this.map[i(t)]||[]},a.prototype.has=function(t){return this.map.hasOwnProperty(i(t))},a.prototype.set=function(t,e){this.map[i(t)]=[s(e)]},a.prototype.forEach=function(t,e){Object.getOwnPropertyNames(this.map).forEach((function(n){this.map[n].forEach((function(r){t.call(e,r,n,this)}),this)}),this)};var l="FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch(t){return!1}}(),h="FormData"in o,d="ArrayBuffer"in o;function p(){return this.bodyUsed=!1,this._initBody=function(t,e){if(this._bodyInit=t,"string"==typeof t)this._bodyText=t;else if(l&&Blob.prototype.isPrototypeOf(t))this._bodyBlob=t,this._options=e;else if(h&&FormData.prototype.isPrototypeOf(t))this._bodyFormData=t;else if(t){if(!d||!ArrayBuffer.prototype.isPrototypeOf(t))throw new Error("unsupported BodyInit type")}else this._bodyText=""},l?(this.blob=function(){var t=u(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(f)},this.text=function(){var t,e,n,r,o,i,s,a=u(this);if(a)return a;if(this._bodyBlob)return t=this._bodyBlob,e=this._options,n=new FileReader,r=e.headers.map["content-type"]?e.headers.map["content-type"].toString():"",o=/charset\=[0-9a-zA-Z\-\_]*;?/,i=t.type.match(o)||r.match(o),s=[t],i&&s.push(i[0].replace(/^charset\=/,"").replace(/;$/,"")),n.readAsText.apply(n,s),c(n);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){var t=u(this);return t||Promise.resolve(this._bodyText)},h&&(this.formData=function(){return this.text().then(m)}),this.json=function(){return this.text().then(JSON.parse)},this}var v=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,e){var n,r,o=(e=e||{}).body;if(y.prototype.isPrototypeOf(t)){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new a(t.headers)),this.method=t.method,this.mode=t.mode,o||(o=t._bodyInit,t.bodyUsed=!0)}else this.url=t;if(this.credentials=e.credentials||this.credentials||"omit",!e.headers&&this.headers||(this.headers=new a(e.headers)),this.method=(n=e.method||this.method||"GET",r=n.toUpperCase(),v.indexOf(r)>-1?r:n),this.mode=e.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o,e)}function m(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var n=t.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(o))}})),e}function g(t){var e=new a;return t.getAllResponseHeaders().trim().split("\n").forEach((function(t){var n=t.trim().split(":"),r=n.shift().trim(),o=n.join(":").trim();e.append(r,o)})),e}function b(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 a?e.headers:new a(e.headers),this.url=e.url||""}y.prototype.clone=function(){return new y(this)},p.call(y.prototype),p.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new a(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var w=[301,302,303,307,308];b.redirect=function(t,e){if(-1===w.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})};e.a=function(t,e){return new Promise((function(n,o){var i;if(i=y.prototype.isPrototypeOf(t)&&!e?t:new y(t,e),r.isWeex){var s=__weex_require__("@weex-module/stream"),a={url:i.url,method:i.method,headers:i.headers&&i.headers.originHeaders};void 0!==i._bodyInit&&(a.body=i._bodyInit),s.fetch?(a.type=e&&e.dataType?e.dataType:"json",s.fetch(a,(function(t){try{"string"==typeof t&&(t=JSON.parse(t));var e=new b("string"==typeof t.data?t.data:JSON.stringify(t.data),{status:t.status,statusText:t.statusText,headers:t.headers,url:i.url});n(e)}catch(t){o(t)}}),(function(){}))):s.sendHttp&&s.sendHttp(a,(function(t){n(new b(t,{status:200}))}))}else{var u=function(){if(4===c.readyState){var t=1223===c.status?204:c.status;if(t<100||t>599){if(f)return;return f=!0,void o(new TypeError("Network request failed"))}var e={status:t,statusText:c.statusText,headers:g(c),url:"responseURL"in c?c.responseURL:/^X-Request-URL:/im.test(c.getAllResponseHeaders())?c.getResponseHeader("X-Request-URL"):void 0},r="response"in c?c.response:c.responseText;f||(f=!0,n(new b(r,e)))}},c=new XMLHttpRequest,f=!1;c.onreadystatechange=u,c.onload=u,c.onerror=function(){f||(f=!0,o(new TypeError("Network request failed")))},c.ontimeout=function(){o(new TypeError("Network request timeout"))},c.open(i.method,i.url,!0);try{"include"===i.credentials&&("withCredentials"in c?c.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 c&&l&&(c.responseType="blob"),i.headers.forEach((function(t,e){c.setRequestHeader(e,t)})),c.send(void 0===i._bodyInit?null:i._bodyInit)}}))}}).call(this,n(13))},function(t,e,n){"use strict";n.d(e,"handleError",(function(){return i}));var r=n(3);n.d(e,"isArray",(function(){return r.a})),n.d(e,"isFunc",(function(){return r.b})),n.d(e,"isPromise",(function(){return r.d})),n.d(e,"isString",(function(){return r.e})),n.d(e,"isUndefined",(function(){return r.f}));n(7);var o=n(8);n.d(e,"nextTick",(function(){return o.a}));n(9),n(10);function i(t,e,n){var r="Error in "+e+': "'+t.toString()+'"';t.name="[Tubes warn]",t.message=""+r,n&&(n.event.$emit("error",t),n.logger.getLogger("core-engine","core").error("/tubes.engine.error","error="+t.toString()+"&platform="+n.config.platform+"&version="+n._version)),console.error(t)}},function(t,e,n){"use strict"},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=[],o=!1;function i(t,e){var n;if(r.push((function(){t?t.call(e):n(e)})),o||(o=!0,Promise.resolve().then(s)),!t)return new Promise((function(t){n=t}))}function s(){o=!1;var t=r.slice(0);r.length=0;for(var e=0;e=0;--i){var s=this.tryEntries[i],a=s.completion;if("root"===s.tryLoc)return o("end");if(s.tryLoc<=this.prev){var u=r.call(s,"catchLoc"),c=r.call(s,"finallyLoc");if(u&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),_(n),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;_(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:k(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),p}},t}(t.exports);try{regeneratorRuntime=r}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},function(t,e){var n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";n.r(e);var r=n(1),o=n.n(r),i=n(0),s=/^([a-zA-Z_$]+)(\.[\w$]+)*$/;function a(t,e,n){void 0===n&&(n=!1);for(var r=e.split("."),o=r.pop(),s=t,a=0;a1?r-1:0),s=1;s1?Array.prototype.slice.call(arguments).pop():void 0};return Object(i.isString)(t)&&Object(i.isFunc)(e)?this.event.$on(t,e,n):this.$emit(t,r)},e.$emit=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r=t.length?{done:!0}:{done:!1,value:t[r++]}}}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 m(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.id)&&!e.tb.schedule.pending_queue.find((function(t){return n.id===t.effect.id}))}));var r=e.effectsToLoop(n);e.tb.schedule.insert(r)}}},e.disableMethods=function(t){for(var e=this.effects.filter((function(e){return!t||e.id>t.id})),n=0,r=e.length;n a"),new Function("let a = {...{}}"),new Function("(function(a){for(let a = 1; a < 2; a++){}})(1)"),new Function("var a = async function() { return ''}"),!0}catch(n){return!1}}var s=[],b=!1;function p(n,r){var t;if(s.push((function(){n?n.call(r):t(r)})),b||(b=!0,Promise.resolve().then(v)),!n)return new Promise((function(n){t=n}))}function v(){b=!1;var n=s.slice(0);s.length=0;for(var r=0;r=0||(i[t]=e[t]);return i}(e,["source","fallbackSource","onLoad","onError","style","resizeMode","loading"]);t=t||u,a=a||u;var b=p,y=Object(n.useState)({}),g=y[0],v=y[1];b.onError=Object(n.useCallback)((function(e){void 0===g.uri&&v({uri:t.uri}),c&&c(e)}),[t.uri,c,g]),b.onLoad=Object(n.useCallback)((function(e){i.isMiniApp||i.isWeChatMiniProgram||e&&e.success||e&&e.currentTarget&&e.currentTarget.naturalWidth>1&&e.currentTarget.naturalHeight>1?l&&l(e):(void 0===g.uri&&v({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 x=t,O=x.width,j=x.height,h=x.uri;return b.src=h,b.style=o({width:O,height:j},s),d&&(i.isWeb?b.loading=d:(i.isMiniApp||i.isWeChatMiniProgram||i.isByteDanceMicroApp)&&(b["lazy-load"]="lazy"===d)),(f=f||b.style.resizeMode)&&(i.isWeex?(b.resize=f,b.style.resizeMode=f):b.style.objectFit=f),i.isWeex?Object(n.createElement)("image",o({quality:"original"},b,{ref:r})):Object(n.createElement)("img",o({},b,{ref:r}))}));r.default=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/rax-pkg-rax-view@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=4)}([function(e,r){e.exports=require("@ali/rax-pkg-rax/index")},function(e,r,t){var n;!function(){"use strict";var t=function(){function e(){}function r(e,r){for(var t=r.length,n=0;n=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-picture@3/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/rax-pkg-rax/index")},function(e,t){e.exports=require("@ali/rax-pkg-universal-env/index")},function(e,t){e.exports=require("@ali/rax-pkg-rax-image@2/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,"PictureContext",(function(){return E}));var n=r(0),o=r(1),i=r(2),a=r.n(i);function c(e){if(e&&"object"==typeof e&&e instanceof Array){var t={};return e.forEach((function(e){t=Object.assign(t,e||{})})),t}if(e&&"string"==typeof e){var r={};e.replace(/\s/g,"").split(";").forEach((function(e){var t=e.split(":"),n=t[0],o=t[1],i=void 0===o?"":o;n&&(r[n]=i)})),e=r}return e||{}}function u(){return u=Object.assign||function(e){for(var t=1;t-1||o.indexOf("rem")>-1||o.indexOf("vw")>-1;e.indexOf("vw")>-1&&(i=7.5*i),c&&"undefined"!=typeof window&&(window.screen&&window.screen.width&&(a=750/window.screen.width),r&&window.devicePixelRatio>1&&(i*=window.devicePixelRatio))}else i=e;var u=function(e,t){void 0===t&&(t=y);for(var r=1e3,n=e,o=0,i=!1,a=0;au&&!i&&(r=u,n=c,o=a)}return e>n&&t[o+1]&&(n=t[o+1]),t.indexOf(n)>-1&&n}(Math.floor(i/a),n);return u?t?"_"+u+"w":u+"x10000":""},x=/_(\d+x\d+|cy\d+i\d+|sum|m|b)?(xz|xc)?((?:q\d+)?(?:s\d+)?)(\.jpg)?(_\.webp)?$/i,j=function(e,t){var r=t.scalingWidth,n=t.autoPixelRatio,o=t.webp,i=t.compressSuffix,a=t.quality,c=t.acutance,u=t.removeScheme,l=t.replaceDomain,f=t.ignoreGif,s=t.ignorePng,p=t.ignoreApng,d=t.scalingSizes;if("string"!=typeof e)return e;var w=e.match(g);if(!w)return e;var h=w[1],b=w[2],y=/\.gif($|\?)/i.test(b)&&f,j=/\.png($|\?)/i.test(b)&&s,P=/\.apng($|\?)/i.test(b)&&p,S=function(e){return e.match(v)}(e);if(y||P)return l?m(e,h):e;var _=e.split("?"),M=_[0],A=_[1],I=b.match(x)||[];"_.jpg"!==I[0]&&(M=M.replace(I[0],""));var z=I[1]||"";r&&(z=O(r,S,n,d)||z);var E=I[3]||"";(i||a||c)&&!j&&(E=function(e,t,r,n){return n?(e.startsWith("Q")&&(e="_"+e.split("Q")[1]+"Q"),e||(t?"_"+t:"Q")):e||(t?"Q"+t:"")+(r?"S"+r:"")}(i,a,c,S)||E);var R=z&&I[2]||"",C=z||E?I[4]||".jpg":"",Q=function(e){return e?".webp":"_.webp"}(S);if(Q&&e.indexOf(Q)>-1?M=M.replace(Q,""):o||(Q=""),S){var k="";(z||E||Q)&&-1===e.indexOf("@")&&(k="@"),M+=k+z+R+E+Q}else{M+=(z||E?"_":"")+z+R+E+C+Q}return u&&(M=function(e){return e.replace(/(http|https):/gi,"")}(M)),l&&(M=m(M,h)),A&&(M+="?"+A),M};function P(e,t){try{window.localStorage&&"function"==typeof window.localStorage.setItem&&window.localStorage.setItem("webpsupport-"+t,""+e)}catch(e){console.error(e)}}function S(e,t){var r;void 0===t&&(t="lossy"),"function"==typeof e&&(o.isMiniApp||o.isWeChatMiniProgram||o.isWeex?e(!0):"undefined"!=typeof window?window.navigator&&window.navigator.userAgent&&((r=window.navigator.userAgent).match(/PHA/)||r.match(/AliApp\(TB\//)||(r.match(/windows|win32/i)||r.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)&&r.match(/UCBrowser/i),0))||window.chrome||window.opera||"true"==function(e){var t;try{window.localStorage&&"function"==typeof window.localStorage.getItem&&(t=window.localStorage.getItem(e))}catch(e){console.error(e)}return t}("webpsupport-"+t)?e(!0):function(e,t){if("function"==typeof e)if("undefined"!=typeof Image){var r=new Image;r.onload=function(){var n=r.width>0&&r.height>0;P(n,t),e(n)},r.onerror=function(){P(!1,t),e(!1)},r.src="//gw.alicdn.com/mt/TB11KmBXwoQMeJjy0FoXXcShVXa-1-1.png_.webp"}else e(!1)}(e,t):e(!1))}function _(e,t){var r=function(e){var t=[],r=[];return"string"==typeof e&&(r=e.split(",")),Array.isArray(e)&&(r=e),r&&r[0]&&(t[0]=r[0]),r&&r[1]&&(t[1]=r[1]),t}(t);return e?r[0]:r[1]}function M(){return M=Object.assign||function(e){for(var t=1;t=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/psolution-tb-solution/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="https://dev.g.alicdn.com/psolution/tb-solution/1.1.34/",n(n.s=11)}([function(t,e,n){t.exports=n(7)},function(t,e){t.exports=require("@ali/rax-pkg-rax/index")},function(t,e){t.exports=require("@ali/tubes-tb-core-engine/index")},function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(0),i=n.n(r),o=n(5);function a(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,i)}function s(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function s(t){a(o,r,i,s,c,"next",t)}function c(t){a(o,r,i,s,c,"throw",t)}s(void 0)}))}}function c(){return u.apply(this,arguments)}function u(){return(u=s(i.a.mark((function t(e){var n,r;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,l(e.plugins,e.config);case 2:return n=t.sent,t.next=5,h(e.tubes,e.config);case 5:return r=t.sent,t.abrupt("return",{plugins:n,tubes:r});case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function l(){return f.apply(this,arguments)}function f(){return(f=s(i.a.mark((function t(e,n){var r,o,a,s,c,u;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=[],o=0,a=e.length;case 2:if(!(o=3&&(!a||a>=3)?3:d>=2&&(!a||a>=2)?2:1:1)}if(r.setAttribute("data-dpr",a),!i)if((i=n.createElement("meta")).setAttribute("name","viewport"),i.setAttribute("content","initial-scale="+s+", maximum-scale="+s+", minimum-scale="+s+", user-scalable=no"),r.firstElementChild)r.firstElementChild.appendChild(i);else{var p=n.createElement("div");p.appendChild(i),n.write(p.innerHTML)}function v(){var t=r.clientWidth||r.getBoundingClientRect().width;r.style.fontSize=t/750*100+"px",window.__global_rem_unit__=t/750}var g="orientationchange"in window?"orientationchange":"resize";e.addEventListener(g,(function(){clearTimeout(t),t=setTimeout(v,300)}),!1),e.addEventListener("pageshow",(function(e){e.persisted&&(clearTimeout(t),t=setTimeout(v,300))}),!1),v()},a=n(2),s=n.n(a),c=n(4),u=n(3);function l(){var t=window.g_config||{},e=t.loadedCss,n=t.seed;if(e&&e.length)for(var r=0;r=0?feloader.config("combine",!1):feloader.config("combine",!0)}function f(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,i)}function h(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){f(o,r,i,a,s,"next",t)}function s(t){f(o,r,i,a,s,"throw",t)}a(void 0)}))}}var d=location.host,p="pre"===window.__whEnv||d.indexOf(".wapa.")>-1||d.indexOf(".waptest.")>-1||/^pre-/.test(d);e.a=function(){return v.apply(this,arguments)};function v(){return(v=h(i.a.mark((function t(){var e,n,r,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return l(),o(),Object(c.setupAppear)(),e=window.$ability||[],t.next=6,Object(u.a)(e);case 6:n=t.sent,r=n.plugins,a=n.tubes,window.tb=new s.a({config:{device:window.__detectedDevice,development:p,platform:window.createPlatform},logger:window.loggerConfig,plugins:r,tubes:a}),window.tb.run();case 11:case"end":return t.stop()}}),t)})))).apply(this,arguments)}},function(t,e,n){var r=function(t){"use strict";var e=Object.prototype,n=e.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},i=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function c(t,e,n,r){var i=e&&e.prototype instanceof f?e:f,o=Object.create(i.prototype),a=new E(r||[]);return o._invoke=function(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return I()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=y(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 c=u(t,e,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}(t,n,a),o}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var l={};function f(){}function h(){}function d(){}var p={};s(p,i,(function(){return this}));var v=Object.getPrototypeOf,g=v&&v(v(O([])));g&&g!==e&&n.call(g,i)&&(p=g);var m=d.prototype=f.prototype=Object.create(p);function w(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){var r;this._invoke=function(i,o){function a(){return new e((function(r,a){!function r(i,o,a,s){var c=u(t[i],t,o);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,s)}))}s(c.arg)}(i,o,r,a)}))}return r=r?r.then(a,a):a()}}function y(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,y(t,e),"throw"===e.method))return l;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var r=u(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,l;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,l)}function _(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 x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function O(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function e(){for(;++r=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(s&&c){if(this.prev=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),x(n),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;x(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:O(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},t}(t.exports);try{regeneratorRuntime=r}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},function(t,e,n){"use strict";e.__esModule=!0,e.createIntersectionObserver=c,e.destroyIntersectionObserver=function(){i&&(i.disconnect(),i=null)},e.observerElement=function(t){i||c();t===document&&(t=document.documentElement);i.observe(t)};var r,i,o=(r=n(9))&&r.__esModule?r:{default:r};var a="undefined"!=typeof window&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype?window.IntersectionObserver:o.default;var s={root:null,rootMargin:"0px",threshold:function(t){for(var e=[],n=0;n.01&&!f(e.getAttribute("data-appeared"))&&!l(e,"appear")?(e.setAttribute("data-appeared","true"),e.setAttribute("data-has-appeared","true"),e.dispatchEvent(h("appear",{direction:i>o?"up":"down"}))):0===r&&f(e.getAttribute("data-appeared"))&&!l(e,"disappear")&&(e.setAttribute("data-appeared","false"),e.setAttribute("data-has-disappeared","true"),e.dispatchEvent(h("disappear",{direction:i>o?"up":"down"}))),e.setAttribute("data-before-current-y",i)}))}function l(t,e){var n="appear"===e?"data-has-appeared":"data-has-disappeared";return(f(t.getAttribute("isonce"))||f(t.getAttribute("data-once")))&&f(t.getAttribute(n))}function f(t){return t&&"false"!==t}function h(t,e){return new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:e})}},function(t,e,n){"use strict";e.__esModule=!0,e.IntersectionObserverEntry=i,e.default=void 0;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=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),a=this._rootContainsTarget(r),s=n.entry,u=t&&a&&this._computeTargetAndRootIntersection(r,e),l=n.entry=new i({time:window.performance&&performance.now&&performance.now(),target:r,boundingClientRect:o,rootBounds:e,intersectionRect:u});s?t&&a?this._hasCrossedThreshold(s,l)&&this._queuedEntries.push(l):s&&s.isIntersecting&&this._queuedEntries.push(l):this._queuedEntries.push(l)}),n),n._queuedEntries.length&&n._callback(n.takeRecords(),n)};var r,o,a,s=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(s.root&&1!=s.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=(r=this._checkForIntersections,o=this.THROTTLE_TIMEOUT,a=null,function(){a||(a=setTimeout((function(){r(),a=null}),o))}),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(s.rootMargin),this.thresholds=this._initThresholds(s.threshold),this.root=s.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,s(window,"resize",this._checkForIntersections,!0),s(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,a,s,u,f,h=c(t),d=l(t),p=!1;!p;){var v=null,g=1==d.nodeType?window.getComputedStyle(d):{};if("none"===g.display)return;if(d===this.root||d===document?(p=!0,v=e):d!==document.body&&d!==document.documentElement&&"visible"!==g.overflow&&(v=c(d)),v&&(n=v,r=h,i=void 0,o=void 0,a=void 0,s=void 0,u=void 0,f=void 0,i=Math.max(n.top,r.top),o=Math.min(n.bottom,r.bottom),a=Math.max(n.left,r.left),s=Math.min(n.right,r.right),f=o-i,!(h=(u=s-a)>=0&&f>=0&&{top:i,bottom:o,left:a,right:s,width:u,height:f})))break;d=l(d)}return h}},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)for(var i=0;i-1||i.indexOf(".waptest.")>-1||/^pre-/.test(i);var o=n(1),a=n(10),s=n.n(a);n(12);function c(){return(c=Object.assign||function(t){for(var e=1;e=0||(i[n]=t[n]);return i}(t,f),u=a?Object(o.useRef)(null):null,l=s;return a&&(l=function(t){s&&s(t),!u||u.current&&u.current.triggeredAppear||(a&&a(t),u.current={triggeredAppear:!0})}),Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",h({},c,{ref:e,onAppear:l,className:"rax-view-v2 "+(n||""),style:r}),i))}));d.displayName="View";var p=d,v=(n(14),["className","style","numberOfLines","children","onPress","onClick"]);function g(){return(g=Object.assign||function(t){for(var e=1;e=0||(i[n]=t[n]);return i}(t,v),l="string"==typeof i?parseInt(i,10):i,f="";null!=a&&(f=Array.isArray(a)?a.join(""):a.toString());var h=["rax-text-v2",n];return l&&(h.push("rax-text-v2--overflow-hidden"),1===l?h.push("rax-text-v2--singleline"):h.push("rax-text-v2--multiline")),Object(o.createElement)(o.Fragment,null,Object(o.createElement)("span",g({},u,{ref:e,className:h.join(" "),style:g({},r,{webkitLineClamp:l>1?l:void 0}),onClick:c||s}),f))}));m.displayName="Text";var w=[{name:["@ali/rax-pkg-rax-picture/index","@ali/rax-pkg-rax-picture/index-es6"],exports:l},{name:["@ali/rax-picture@3/index","@ali/rax-picture@3/index-es6"],exports:l},{name:["@ali/rax-pkg-rax-view@2/index","@ali/rax-pkg-rax-view@2/index-es6"],exports:p},{name:["@ali/rax-pkg-rax-text@2/index","@ali/rax-pkg-rax-text@2/index-es6"],exports:m}];function b(t){window.__default_modules__=window.__default_modules__||{},t.map((function(t,e){var n=t.exports;if(n)if("string"==typeof t.name){var r="module_"+e;window.__default_modules__[r]=function(){return n},define(t.name,[],(function(t,e,n){n.exports=window.__default_modules__[r]()}))}else"object"==typeof t.name&&t.name.length&&t.name.map((function(t,r){var i="module_"+e+"_"+r;window.__default_modules__[i]=function(){return n},define(t,[],(function(t,e,n){n.exports=window.__default_modules__[i]()}))}))}))}window.$config&&!1===window.$config.replaceCom||w.forEach((function(t){t.name.forEach((function(e){var n,r,i;null!=(n=window.feloader)&&null!=(r=n.Env)&&null!=(i=r.mods)&&i[e]?window.feloader.Env.mods[e].exports=t.exports:b([t])}))}));e.default=Object(r.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/pcom-pha-helper/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";t.__esModule=!0,t.default=void 0;var r={fetchEnvInfo:function(e){void 0===e&&(e={});return new Promise((function(t){window.pha||t({}),addEventListener("message",(function(e){var n=e.data;"env-info"===n.type&&t(n.env)})),setTimeout((function(e){return t({})}),e.timeout||1e3),pha.postMessage({type:"fetch-env-info"},"AppWorker")}))}};t.default=r}]);; (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/tubes-tb-ability-env/plugin/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=15)}([function(e,t){e.exports=require("@ali/rax-pkg-universal-env/index")},function(e,t,n){e.exports=n(6)},function(e,t,n){e.exports=n(7)},function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return d})),n.d(t,"c",(function(){return p}));var r=n(1),i=n.n(r),o=n(0),a=n(4),c=n.n(a),s=n(5),u=n.n(s),l=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{s(r.next(e))}catch(e){o(e)}}function c(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,c)}s((r=r.apply(e,t||[])).next())}))},f="isHydrate";function d(e){return l(this,void 0,void 0,i.a.mark((function t(){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.store.set("env",{}),p(e,"isWeb",o.isWeb),p(e,"isNode",o.isNode),p(e,"isApp","undefined"!=typeof window&&"true"===String(window.__inApp)),p(e,"isZcache","undefined"!=typeof window&&"true"===String(window.__isZcache)),p(e,"device","undefined"!=typeof window?window.__detectedDevice:""),p(e,"ignoreFirstScreenLimit",!("undefined"==typeof window||!window._wv_preload)),w(e),m(e),t.next=11,Promise.all([h(e),v(e)]);case 11:case"end":return t.stop()}}),t)})))}function v(e){return l(this,void 0,void 0,i.a.mark((function t(){var n,r;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n="object"==typeof window.__pha_environment__,p(e,"isPha",n),!n){t.next=14;break}return t.prev=3,t.next=6,u.a.fetchEnvInfo({timeout:2e3});case 6:r=t.sent,window.__phaEnvConf__=r,p(e,"phaConf",r),t.next=14;break;case 11:t.prev=11,t.t0=t.catch(3),e.log("fetchPHAEnv\u65f6\u62a5\u9519\u4e86",t.t0);case 14:case"end":return t.stop()}}),t,null,[[3,11]])})))}function p(e,t,n){e.store.set("env."+t,n)}function h(e){return l(this,void 0,void 0,i.a.mark((function t(){var n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n="",t.prev=1,t.next=4,c.a.getDeviceLevel();case 4:n=t.sent,t.next=9;break;case 7:t.prev=7,t.t0=t.catch(1);case 9:p(e,"deviceLevel",n);case 10:case"end":return t.stop()}}),t,null,[[1,7]])})))}function w(e){var t="docSsr"===window.__ssrType||void 0!==window.__INIT_DATA,n=window.__render_use_hydrate||t;p(e,f,n)}function m(e){if(window&&window.navigator&&window.navigator.userAgent){var t=window.navigator.userAgent;p(e,"isIOS",/iphone|ipad|ipod/i.test(t)),p(e,"isAndroid",/Safari/.test(t)&&/Android[\s\/]([\d\.]+)/.test(t))}}},function(e,t,n){e.exports=n(10)},function(e,t){e.exports=require("@ali/pcom-pha-helper/index")},function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},i=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var i=t&&t.prototype instanceof f?t:f,o=Object.create(i.prototype),a=new O(r||[]);return o._invoke=function(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return P()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var c=_(a,n);if(c){if(c===l)continue;return c}}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 s=u(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===l)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}(e,n,a),o}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var l={};function f(){}function d(){}function v(){}var p={};p[i]=function(){return this};var h=Object.getPrototypeOf,w=h&&h(h(E([])));w&&w!==t&&n.call(w,i)&&(p=w);var m=v.prototype=f.prototype=Object.create(p);function g(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function y(e,t){var r;this._invoke=function(i,o){function a(){return new t((function(r,a){!function r(i,o,a,c){var s=u(e[i],e,o);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return r("throw",e,a,c)}))}c(s.arg)}(i,o,r,a)}))}return r=r?r.then(a,a):a()}}function _(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var r=u(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,l;var i=r.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 b(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 x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(b,this),this.reset(!0)}function E(e){if(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;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var c=n.call(o,"catchLoc"),s=n.call(o,"finallyLoc");if(c&&s){if(this.prev=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(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 i=r.arg;x(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:E(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){"use strict";n.r(t);var r=n(0),i=function(){return r.isWeex?"lx"===navigator.appName.toLowerCase():Boolean(navigator.userAgent.match(/aliapp\(lx/i))},o=Boolean(r.isWeb&&window.WindVane&&window.WindVane.isAvailable),a=Boolean(r.isWeb&&navigator.userAgent.match(/(windmill)/i));t.default={isWeb:r.isWeb,isWeex:r.isWeex,isWindVane:o,isWindmillWebview:a,isTM:r.isWeex?"tm"===navigator.appName.toLowerCase():Boolean(navigator.userAgent.match(/aliapp\(tm/i)),isTB:r.isWeex?"tb"===navigator.appName.toLowerCase():Boolean(navigator.userAgent.match(/aliapp\(tb/i)),isLX:i(),isPig:i(),isAndroid:r.isWeex?"android"==navigator.platform.toLowerCase():Boolean(navigator.userAgent.match(/android/i)),isIOS:r.isWeex?"ios"==navigator.platform.toLowerCase():Boolean(navigator.userAgent.match(/(iphone|ipod|ipad)/i))}},function(e,t){"undefined"==typeof window&&(window={ctrl:{},lib:{}}),!window.ctrl&&(window.ctrl={}),!window.lib&&(window.lib={}),function(e,t){function n(e,t){e=e.toString().split("."),t=t.toString().split(".");for(var n=0;nr)return-1;if(r>i)return 1}return 0}var r=e.Promise,i=e.document,o=e.navigator.userAgent,a=/Windows\sPhone\s(?:OS\s)?[\d\.]+/i.test(o)||/Windows\sNT\s[\d\.]+/i.test(o),c=a&&e.WindVane_Win_Private&&e.WindVane_Win_Private.call,s=/iPhone|iPad|iPod/i.test(o),u=/Android/i.test(o),l=o.match(/WindVane[\/\s](\d+[._]\d+[._]\d+)/),f=Object.prototype.hasOwnProperty,d=t.windvane=e.WindVane||(e.WindVane={version:"3.0.7"}),v=Math.floor(65536*Math.random()),p=1,h=[],w="hybrid",m="iframe_",g="param_",y={isAvailable:1===n(l=l?(l[1]||"0.0.0").replace(/\_/g,"."):"0.0.0","0"),isNewBridgeAvailable:1===n(l,u?"8.3.0":"8.2.0"),call2:function(e,t,n,r,i){var o=e.indexOf(".");return y.call(e.substr(0,o),e.substr(o+1),t,n,r,i)},call:function(t,n,i,o,a,c){var s,l;"number"==typeof arguments[arguments.length-1]&&(c=arguments[arguments.length-1]),"function"!=typeof o&&(o=null),"function"!=typeof a&&(a=null),!r||o||a||(l=new r((function(e,t){o=e,a=t})));var f=(""+n).indexOf(".")>-1;if((!u||!f)&&y.isNewBridgeAvailable&&e.__windvane__&&(!e.__windvane__.call&&e.__windvane__.windVaneCoreJs&&new Function(e.__windvane__.windVaneCoreJs())(),e.__windvane__.call))return e.__windvane__.call(t+"."+n,i,o,a,c),l;s=_.getSid();var d={success:o,failure:a};return c>0&&(d.timeout=setTimeout((function(){y.onFailure(s,{ret:"HY_TIMEOUT"})}),c)),_.registerCall(s,d),_.registerGC(s,c),y.isAvailable?_.callMethod(t,n,i,s):y.onFailure(s,{ret:"HY_NOT_IN_WINDVANE"}),l},fireEvent:function(e,t){var n=i.createEvent("HTMLEvents");n.initEvent(e,!1,!0),n.param=_.parseData(t),i.dispatchEvent(n)},getParam:function(e){return _.getParam(e)},setData:function(){},find:function(e,t){t||_.unregisterCall(e,!1)},onSuccess:function(e,t,n){_.onComplete(e,t,"success",n)},onFailure:function(e,t){_.onComplete(e,t,"failure")}};y.isNewBridgeAvailable&&e.__windvane__&&e.__windvane__.callSync&&(y.callSync=function(t,n){if(s)return e.__windvane__.callSync(t,n);if(u){var r={name:t};n&&(r.params=JSON.stringify(n));var i=e.__windvane__.callSync(r);if(i)try{return JSON.parse(i)}catch(e){}}});var _={params:{},calls:{},getSid:function(){return(v+p++)%65536+""},buildParam:function(e){return e&&"object"==typeof e?JSON.stringify(e):e||""},getParam:function(e){return this.params[g+e]||""},setParam:function(e,t){this.params[g+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=h.pop();n||((n=i.createElement("iframe")).setAttribute("frameborder","0"),n.style.cssText="width:0;height:0;border:0;display:none;"),n.setAttribute("id",m+e),n.setAttribute("src",t),n.parentNode||setTimeout((function(){i.body.appendChild(n)}),5)},retrieveIframe:function(e){var t=i.querySelector("#"+(m+e));if(t)if(h.length>=3)try{i.body.removeChild(t)}catch(e){}else h.indexOf(t)<0&&h.push(t)},callMethod:function(t,n,r,i){var o=_.buildParam(r);if(a)c?e.WindVane_Win_Private.call(t,n,i,o):this.onComplete(i,{ret:"HY_NO_HANDLER_ON_WP"},"failure");else if(s){this.setParam(i,o);var l=w+"://"+t+":"+i+"/"+n+"?"+encodeURIComponent(o);this.useIframe(i,l)}else if(u){this.setParam(i,r);l=w+"://"+t+":"+i+"/"+n+"?"+o;window.prompt(l,"wv_hybrid:")}else this.onComplete(i,{ret:"HY_NOT_SUPPORT_DEVICE"},"failure")},registerGC:function(e,t){var n=this,r=Math.max(t||0,6e5),i=Math.max(t||0,6e4);setTimeout((function(){n.unregisterCall(e)}),r),s&&setTimeout((function(){n.params[g+e]&&delete n.params[g+e]}),i)},onComplete:function(e,t,n,r){var i=this.unregisterCall(e,r),o=i.success,a=i.failure,c=(t=this.parseData(t)).ret;"string"==typeof c&&((t=t.value||t).ret||(t.ret=[c])),"success"===n?o&&o(t):"failure"===n&&a&&a(t),s&&(this.retrieveIframe(e),this.params[g+e]&&delete this.params[g+e])}};for(var b in y)f.call(d,b)||(d[b]=y[b])}(window,window.lib||(window.lib={})),e.exports=window.lib.windvane},function(e,t){e.exports=require("@weex-module/device")},function(e,t,n){"use strict";n.r(t),n.d(t,"getDeviceLevel",(function(){return h}));var r=n(2),i=n.n(r),o=function(e,t){e=String(e),t=String(t);for(var n=e.split("."),r=t.split("."),i=0,o=Math.max(n.length,r.length);i0||parseInt(n[i])>parseInt(r[i]))return 1;if(r[i]&&!n[i]&&parseInt(r[i])>0||parseInt(n[i])=t.length?{done:!0}:{done:!1,value:t[r++]}}}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 l(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n>18&63)+e.charAt(i>>12&63)+e.charAt(i>>6&63)+e.charAt(63&i);return 2==a?(n=t.charCodeAt(c)<<8,r=t.charCodeAt(++c),u+=e.charAt((i=n+r)>>10)+e.charAt(i>>4&63)+e.charAt(i<<2&63)+"="):1==a&&(i=t.charCodeAt(c),u+=e.charAt(i>>2)+e.charAt(i<<4&63)+"=="),u}function m(t){try{return(new f.a).parse(t)}catch(t){return console.error("data-loader parse page url error",t),{pathname:"",params:{}}}}function w(){var t="undefined"!=typeof window?window.__detectedDevice:"";return{device:t,isPhone:"phone"===t,isApp:"undefined"!=typeof window&&v(window.__inApp),isWeb:i.isWeb,isMiniApp:i.isMiniApp}}var y={getItem:function(t){var e;try{e=window.localStorage.getItem(t)}catch(t){console.error(t)}return e},setItem:function(t,e){try{window.localStorage.setItem(t,e)}catch(t){console.error(t)}},removeItem:function(t){try{window.localStorage.removeItem(t)}catch(t){console.error(t)}}};function g(t,e){var n,r;try{n=(new f.a).parse(e),r=(new f.a).parse(t)}catch(t){console.error("ForceKangarooReqUrl parse url error",t)}if(n){for(var o in r.params)"wh_pid"!==o&&r.params.hasOwnProperty(o)&&(n.params[o]=r.params[o]);return e=n.toString()}return t}function b(t){window.location&&window.location.replace?window.location.replace(t):window.location.href=t}function x(t){var e,n=(null==t?void 0:t.pageInfo)||{};if("over"===n.pageStatus){if(((null===(e=window.location)||void 0===e?void 0:e.href)||"").indexOf("wh_preview=offline")>=0||"maintain"===window.__systemPreviewEnv)return;var r=n.offlineUrl||n.$act.offlineUrl||"https://www.tmall.com";if(n.popBeforeOpenOffline&&window.WindVane&&window.WindVane.call){var o={url:r,popBeforeOpen:!0};window.WindVane.call("WVNative","openWindow",o,(function(){}),(function(){b(r)}))}else b(r)}}function P(t){var e=window.__prerender&&window.__prerender.dom,n=!0===window.__ignoreSSR;return(e||n)&&t&&t.html&&delete t.html,t}function _(t){if(void 0===t&&(t={}),"maintain"===(null===window||void 0===window?void 0:window.__systemPreviewEnv)&&t.handlerExtraParamMaintainEnv&&(t.extraParamsOfCurrentEnv=t.handlerExtraParamMaintainEnv),"preview"===(null===window||void 0===window?void 0:window.__systemPreviewEnv)&&t.handlerExtraParamPreviewEnv&&(t.extraParamsOfCurrentEnv=t.handlerExtraParamPreviewEnv),"string"==typeof t.extraParamsOfCurrentEnv)try{t.extraParamsOfCurrentEnv=JSON.parse(t.extraParamsOfCurrentEnv)}catch(t){console.error("extra param of current env is not valide")}return t}function j(t){var e,n;return void 0===t&&(t={}),(null===(n=null===(e=window.location)||void 0===e?void 0:e.hostname)||void 0===n?void 0:n.includes(".wapa."))&&t.mtopConfig&&void 0!==t.mtopConfig.subDomain&&(t.mtopConfig.subDomain=void 0),t}function E(t){var e,n=window.__systemPreviewEnv;if((null===(e=window.lib)||void 0===e?void 0:e.mtop)&&t&&"preview"!==n&&"maintain"!==n&&"object"==typeof t)for(var r in t)!t[r]&&""!==t[r]||void 0===t[r]||("function"==typeof window.lib.mtop.config?window.lib.mtop.config(r,t[r]):"object"==typeof window.lib.mtop.config&&(window.lib.mtop.config[r]=t[r]))}function O(t){return t.uuid||t.moduleId}function A(t){var e="";"true"===String(t.isBottomData)&&(e="screen-fe-bottom");var n=t.serverBottomApp||[],r=t.failApp||[];if(!e&&0===n.length&&0===r.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=O(t),a=i[o],u={};a&&Object.keys(a).length&&Object.keys(a).forEach((function(t){if(e)u[t]=e;else{var i=o+"."+t;n.indexOf(i)>=0?u[t]="single-tag-server-bottom":r.indexOf(i)>=0&&(u[t]="single-tag-fe-bottom")}})),t.bottomStatus=u})),t}function S(){if(window.feloader&&window.feloader.getScript){var t="//"+(window.feloader.Config.useDailyAssets?"dev.":"")+"g.alicdn.com/code/npm/@ali/pcom-ark-act-error-page/1.0.0/index.min.js";window.feloader.getScript(t)}}function U(t){var e;void 0===t&&(t={});var n,r=t.handlerConfigByPage||[];if(!r.length)return t;try{n=(new f.a).parse(t.url||location.href)}catch(t){console.error("useHandlerConfigByPage parse url error",t)}return(null===(e=null==n?void 0:n.params)||void 0===e?void 0:e.wh_pid)&&r.forEach((function(e){var r,o,i=(null===(r=n.params.wh_pid)||void 0===r?void 0:r.split("-"))||[],a=i[i.length-1];(null===(o=null==e?void 0:e.pid)||void 0===o?void 0:o.indexOf(a))>=0&&(e.mtopApiName&&(t.mtopApiName=e.mtopApiName),e.bottomUrlPrefix&&(t.bottomUrlPrefix=e.bottomUrlPrefix),e.bottomUrlPrefixPreEnv&&(t.bottomUrlPrefixPreEnv=e.bottomUrlPrefixPreEnv),e.bottomQueryKeys&&(t.pageUrlBottomQueryKeys=e.bottomQueryKeys))})),t}function T(t){var e=document.body.querySelector(".log-view");if(e){var n=document.createElement("p");n.innerText=t,e.appendChild(n)}}Promise.any||(Promise.any=function(t){return new Promise((function(e,n){var r,o,i,a,u,c=!1,f=[],l=0,d=[];function p(t){c||(c=!0,e(t))}function v(t){d.push(t),d.length>=l&&n(d)}for(var h,m=s(t);!(h=m()).done;){var w=h.value;l++,f.push(w)}for(var y=0,g=f;y0&&(r=document.documentElement.clientHeight);var i=t.store.get("env.deviceLevel");return"high_end"===i?o=1.5:"low_end"===i?(r=1.75*document.documentElement.clientWidth,o=1):o=n?1.5:1.2,r*o}},function(t,e,n){t.exports=n(11)},function(t,e){t.exports=require("@ali/pcom-ark-url/index")},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return i}));var r="undefined"!=typeof __weex_options__&&__weex_options__.weex,o=("object"==typeof navigator&&("Mozilla"===navigator.appCodeName||navigator.product),void 0!==t&&(!t.versions||t.versions.node),"function"==typeof callNative||"object"==typeof WXEnvironment&&"Web"!==WXEnvironment.platform),i=o&&"object"==typeof r&&"windmill"===r.config.container||!1}).call(this,n(12))},function(t,e){t.exports=require("@weex-module/cookie")},function(t,e,n){"use strict";n.d(e,"e",(function(){return o})),n.d(e,"b",(function(){return i})),n.d(e,"d",(function(){return a})),n.d(e,"a",(function(){return u})),n.d(e,"c",(function(){return c}));var r=n(0),o=r.j+"BeforeFirstScreen",i=r.j+"AfterFirstScreen",a=r.j+"BeforeFellowScreen",u=r.j+"AfterFellowScreen",c=r.j+"AfGetFirstScreenDataBfStore"},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(1),o=n(0),i="https://kangaroo.alicdn.com/bottom",a=["wh_pid","wh_fromout","wh_ttid","wh_act_nativebar","wh_solution_version","wh_seed","wh_bizStageId","wh_minisite_scene","wh_inshopfrom","wh_sid"];function u(t,e,n){var u,c,f;void 0===n&&(n={});var s,l=(Object(o.q)(t,o.c)||[]).sort().join(";"),d=Object(r.f)().device,p=function(t,e){void 0===e&&(e={});var n,o,i,u=Object(r.l)(t)||{},c=(null===(n=e.pageUrlBottomQueryKeys)||void 0===n?void 0:n.split(","))||a;if(null===(o=e.pageUrlBottomQueryKeysByPage)||void 0===o?void 0:o.length){var f=null,s=(null===(i=u.params.wh_pid)||void 0===i?void 0:i.split("-"))||[],l=s[s.length-1];e.pageUrlBottomQueryKeysByPage.forEach((function(t){var e;(null===(e=t.pid)||void 0===e?void 0:e.indexOf(l))>=0&&(f=t.bottomQueryKeys||"")})),f&&(c=f.split(","))}c.sort();var d=[],p=u.params;c.forEach((function(t){p&&p[t]&&d.push(t+"="+encodeURIComponent(p[t]))}));var v=d.join("&"),h=u.pathname.endsWith("/")?u.pathname.slice(0,-1):u.pathname;d.length>0&&"/"===u.pathname&&(h+="/");var m="https://"+u.hostname+(u.port&&":"+u.port)+h;v&&(m+="?"+v);return m}(e,n),v=Object(r.c)(p),h=l?"/excludes="+l:"",m=l?"_excludes_"+l:"";return s="wapa"===(null===(f=null===(c=null===(u=null===window||void 0===window?void 0:window.lib)||void 0===u?void 0:u.mtop)||void 0===c?void 0:c.config)||void 0===f?void 0:f.subDomain)?n.bottomUrlPrefixPreEnv||n.bottomUrlPrefix||i:n.bottomUrlPrefix||i,function(t,e){var n=Object(r.f)(),o=n.isWeb,i=n.isMiniApp;return new Promise((function(n,r){o&&!i?t.jsonp(e.url,e).then((function(t){n(t)})).catch((function(t){r(t)})):i&&(e.fail=function(t){r(t)},e.success=function(t){if(t.data){var e=t.data.split("({")[1].split("})")[0];n(JSON.parse("{"+e+"}"))}else r(t)},e.dataType="text",e.method="GET",-1===e.url.indexOf("http")&&(e.url="https:"+e.url),"undefined"!=typeof my&&my.request(e))}))}(t,{url:s+"/"+v+"/device="+d+h+"/data.jsonp",method:"jsonp",timeout:1e4,jsonpCallbackFunctionName:"callback_"+v+"_device_"+d+m}).then((function(t){return void 0===t&&(t={}),t.isBottomData=!0,t})).catch((function(e){throw t.log(e),e}))}},function(t,e){t.exports=require("@ali/rax-pkg-universal-env/index")},function(t,e,n){"use strict";var r=n(2),o=n.n(r),i=n(1),a="alideviceid",u="_oneId";var c=function(t){var e={};if(!t)return e;var n=t._oneId,r=t.alideviceid,o=function(t,e){var n=e[0],r=e[1],o={};return o[n]=r,i.n.removeItem(t),i.n.setItem(n,r),o};if(n)return o(a,[u,n]);if(r)return o(u,[a,r]);var c=i.n.getItem(u);return c?(i.n.removeItem(a),e._oneId=c,e):function(){var t={},e=i.n.getItem(a);return e?(i.n.removeItem(a),t.alideviceid=e,t):t}()},f=n(7),s=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,u)}c((r=r.apply(t,e||[])).next())}))};e.a=function(t,e,n){return void 0===e&&(e={}),void 0===n&&(n={disablePrefetch:!1}),s(this,void 0,void 0,o.a.mark((function r(){var a,u,s,l,d,p,v,h,m,w,y,g,b,x,P,_,j,E,O,A,S,U,T,k,L;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a=["sm4","hng"],u=Object(i.f)(),s=u.isPhone,l=u.isApp,d=u.device,v=(p=n).disablePrefetch,h=void 0!==v&&v,m=p.mtopApiName,w=p.dataType,y=p.extraParams,g=void 0===y?{}:y,b=p.queryWhitelist,x=void 0===b?"wh_pid":b,P=!h&&s&&l,r.next=6,Object(i.e)(a);case 6:return _=r.sent,j=Object.assign({},e),E=j.url||location&&location.href,O=Object(i.l)(E).params,delete j.url,A=Object.assign(Object.assign(Object.assign({url:E,cookie:_,device:d,backupParams:"device",usePrefetch:P},c(O)),j),g),S={api:m||"mtop.tmall.kangaroo.core.service.route.PageRecommendService",v:"1.0",dataType:w||"jsonp",jsonpIncPrefix:"kangaroo",data:A,timeout:5e3},P&&(A.queryWhitelist=x,O[x]&&(A[x]=O[x])),s&&l&&!P&&(S.ignorePrefetch=!0,S.data.ignorePrefetch=!0),U={bottomUrlPrefix:n.bottomUrlPrefix,bottomUrlPrefixPreEnv:n.bottomUrlPrefixPreEnv,pageUrlBottomQueryKeys:n.pageUrlBottomQueryKeys,pageUrlBottomQueryKeysByPage:n.pageUrlBottomQueryKeysByPage},r.prev=16,r.next=19,t.mtop(S);case 19:if(T=r.sent,k=T&&T.data&&T.data.resultValue,P&&T&&T.stat&&(""+T.stat.isPrefetch=="1"||""+T.stat.isPrefetch=="true")&&k&&!k.mtopPrefetch&&(k.mtopPrefetch=!0),k){r.next=24;break}throw new Error("kangaroo mtop request has no data.resultValue");case 24:return r.abrupt("return",k);case 27:return r.prev=27,r.t0=r.catch(16),window.dispatchEvent(new CustomEvent("pushTubeError",{detail:{code:"tubes_data-ability_kangarooRequestBottom",message:r.t0.message||"kangarooRequestBottom"}})),r.next=32,Object(f.a)(t,E,U);case 32:return(L=r.sent)&&L.mtopPrefetch&&delete L.mtopPrefetch,t.log("got bottom data: ",L),r.abrupt("return",L);case 36:case"end":return r.stop()}}),r,null,[[16,27]])})))}},function(t,e,n){t.exports=n(13)},function(t,e,n){var r=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,n){return t[e]=n}}function f(t,e,n,r){var o=e&&e.prototype instanceof h?e:h,i=Object.create(o.prototype),a=new A(r||[]);return i._invoke=function(t,e,n){var r=l;return function(o,i){if(r===d)throw new Error("Generator is already running");if(r===p){if("throw"===o)throw i;return U()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=j(a,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(r===l)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=d;var c=s(t,e,n);if("normal"===c.type){if(r=n.done?p:"suspendedYield",c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=p,n.method="throw",n.arg=c.arg)}}}(t,n,a),i}function s(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=f;var l="suspendedStart",d="executing",p="completed",v={};function h(){}function m(){}function w(){}var y={};c(y,i,(function(){return this}));var g=Object.getPrototypeOf,b=g&&g(g(S([])));b&&b!==n&&r.call(b,i)&&(y=b);var x=w.prototype=h.prototype=Object.create(y);function P(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){function n(o,i,a,u){var c=s(t[o],t,i);if("throw"!==c.type){var f=c.arg,l=f.value;return l&&"object"==typeof l&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){f.value=t,a(f)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var o;this._invoke=function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}}function j(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,j(t,n),"throw"===n.method))return v;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=s(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,v;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function E(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 O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function S(t){if(t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){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=r.call(a,"catchLoc"),f=r.call(a,"finallyLoc");if(c&&f){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),O(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:S(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}(t.exports);try{regeneratorRuntime=r}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function u(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var c,f=[],s=!1,l=-1;function d(){s&&c&&(s=!1,c.length?f=c.concat(f):l=-1,f.length&&p())}function p(){if(!s){var t=u(d);s=!0;for(var e=f.length;e;){for(c=f,f=[];++l1)for(var n=1;n-1){var c=a.substring(0,u),f=a.substring(u+1);r[c]=f}}return r}var i={get:function(t,e){return void 0===e&&(e=""),new Promise((function(i,a){if(r.b){n(5).read({url:e},(function(e){var n=e||{},r=n.value,o=n.data,a={};r&&(a=r),o&&(a=o),i(t?a[t]||"":a)}),(function(t){a(t)}))}else{var u={};if(r.a)u=o(n(5).get());else u=o(document.cookie);i(t?u[t]:u)}}))},set:function(t){var e;if(void 0===t&&(t={}),t.name)if(r.b)n(5).write(((e={})[t.name]=t.value,e.domain=t.domain||location.hostname,e));else if(r.a){n(5).setObject(t)}else{var o=[];["path","domain","maxAge","expires"].forEach((function(e){t[e]&&o.push(e.replace(/([A-Z])/g,"-$1").toLowerCase()+"="+t[e])})),t.secure&&o.push("secure"),document.cookie=t.name+"="+t.value+"; "+o.join("; ")}}};e.default=i},,,function(t,e,n){t.exports=n(17)},function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return s}));var r=n(2),o=n.n(r),i=n(6),a=n(9),u=n(7),c=n(1),f=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,u)}c((r=r.apply(t,e||[])).next())}))};function s(t){var e=t=Object(c.r)(t),n=e.mtopApiName,r=e.mtopConfig,s=void 0===r?{}:r,l=e.bottomUrlPrefix,d=e.bottomUrlPrefixPreEnv,p=e.pageUrlBottomQueryKeys,v=e.pageUrlBottomQueryKeysByPage;this.define("getKangarooDataFromAbilityPageData",(function(t,e){return void 0===t&&(t={}),void 0===e&&(e={}),f(this,void 0,void 0,o.a.mark((function r(){var i;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return i={mtopApiName:n,bottomUrlPrefix:l,bottomUrlPrefixPreEnv:d,pageUrlBottomQueryKeys:p,pageUrlBottomQueryKeysByPage:v,dataType:null==s?void 0:s.dataType},r.next=3,Object(a.a)(this,e,Object.assign(Object.assign({},i),t));case 3:return r.abrupt("return",r.sent);case 4:case"end":return r.stop()}}),r,this)})))})),this.define("getBottomDataFromAbilityPageData",(function(t){return f(this,void 0,void 0,o.a.mark((function e(){var n;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={bottomUrlPrefix:l,pageUrlBottomQueryKeys:p,pageUrlBottomQueryKeysByPage:v},e.next=3,Object(u.a)(this,t||location.href,n);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e,this)})))})),this.hook(i.c,(function(t){var e=t.params||{},n=e.pageInfo||{};!n.fri&&e.fri&&(n.fri=e.fri),n.__pvuuid=e.pvuuid,window.$zebra=window.$zebra||{},window.$zebra=Object.assign({},window.$zebra,n),window.__pvuuid=e.pvuuid;var r=n.campaignPageId;r&&(window.$zebra.forceDynamicParams=window.$zebra.forceDynamicParams||{},window.$zebra.forceDynamicParams.wh_pid=r)}))}}]);; (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'); });