var feloader=function(t){!function(t){"use strict";for(var e,r,n={},i=function(){},o="memory".split(","),a="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");e=o.pop();)t[e]=t[e]||n;for(;r=a.pop();)t[r]=t[r]||i}(this.console=this.console||{});var e=this,r=function(){this.Env={host:e,mods:{}},this.Config={debug:"",packages:{},fns:{},useDailyAssets:!1,forceAssetsHost:t,assetsHost:"g.alicdn.com",dailyAssetsHost:"dev.g.alicdn.com",crossorigin:!1};var r=this.Loader={};r.Status={ERROR:-1,UNLOADED:0,LOADING:1,LOADED:2,INITIALIZING:3,INITIALIZED:4},this.initUtils(),this.initDataStructure(),this.initCssOnLoad(),this.initGetScript(),this.initConfig(),this.initComboLoader(),this.initLoader(),this.init()};return r.prototype.__BUILD_TIME="",r.prototype.version="5.0.12",r.prototype.config=function(e,r){var n,i,o,a=this.Config,s=a.fns,u=this;if("string"==typeof e)n=s[e],r===t?i=n?n.call(u):a[e]:n?i=n.call(u,r):a[e]=r;else for(var c in e)r=e[c],o=s[c],o?o.call(u,r):a[c]=r;return i},r.prototype.isFeloader=!0,r}();!function(t){function e(t){var e=t.match(u)||[],r={};for(var n in c)r[n]=e[c[n]];return r.hostname&&(r.hostname=r.hostname.toLowerCase()),r.hostname&&!r.pathname&&(r.pathname="/"),r.host=r.hostname,r.port&&(r.host=r.hostname+":"+r.port),r}function r(t){var e=0;return parseFloat(t.replace(/\./g,function(){return 0===e++?".":""}))}function n(t){var e=t.split(/\//);return"/"===t.charAt(0)&&e[0]&&e.unshift(""),"/"===t.charAt(t.length-1)&&t.length>1&&e[e.length-1]&&e.push(""),e}function i(t,e){var r,n,i=0;if(l(t))for(n=t.length;n>i&&e(t[i],i,t)!==!1;i++);else for(r=o(t),n=r.length;n>i&&e(t[r[i]],r[i],t)!==!1;i++);}function o(t){var e=[];for(var r in t)e.push(r);return e}function a(t,e){for(var r in e)t[r]=e[r];return t}function s(t){return"/"===t.charAt(0)&&(t=0===t.indexOf("//")?location.protocol+t:location.protocol+"//"+location.host+t),"/"===t.charAt(t.length-1)&&(t+="index"),p.endsWith(t,".js")&&(t=t.slice(0,-3)),t}var u=new RegExp("^([\\w\\d+.-]+:)?(?://(?:([^/?#@]*)@)?([\\w\\d\\-\\u0100-\\uffff.+%]*|\\[[^\\]]+\\])(?::([0-9]+))?)?([^?#]+)?(\\?[^#]*)?(#.*)?$"),c={protocol:1,auth:2,hostname:3,port:4,pathname:5,search:6,hash:7},l=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},f=/(http(s)?:)?\/\/([^\/]+)(?::(\d+))?/,d=Array.prototype.map,h=Array.prototype.filter,g=String.prototype.startsWith,p={noop:function(){},filter:h?function(t,e,r){return d.call(t,e,r||this)}:function(t,e,r){for(var n=t.length,i=new Array(n),o=0;n>o;o++){var a="string"==typeof t?t.charAt(o):t[o];(a||o in t)&&e.call(r||this,a,o,t)&&i.push(a)}return i},map:d?function(t,e,r){return d.call(t,e,r||this)}:function(t,e,r){for(var n=t.length,i=new Array(n),o=0;n>o;o++){var a="string"==typeof t?t.charAt(o):t[o];(a||o in t)&&(i[o]=e.call(r||this,a,o,t))}return i},startsWith:g?function(t,e){return g.call(t,e)}:function(t,e){return 0===t.lastIndexOf(e,0)},isEmptyObject:function(t){for(var e in t)if(void 0!==e)return!1;return!0},endsWith:function(t,e){var r=t.length-e.length;return r>=0&&t.indexOf(e,r)===r},now:Date.now||function(){return+new Date},each:i,keys:o,isArray:l,indexOf:function(t,e){for(var r=0,n=e.length;n>r;r++)if(e[r]===t)return r;return-1},normalizeSlash:function(t){return t.replace(/\\/g,"/")},normalizePath:function(t,r){var i=r.charAt(0);if("."!==i)return r;var o="";if(p.startsWithProtocol(t)){var a=e(t);o=a.protocol+"//"+a.host,t=a.pathname}var s=n(t),u=n(r);s.pop();for(var c=0,l=u.length;l>c;c++){var f=u[c];"."===f||(".."===f?s.pop():s.push(f))}return o+s.join("/").replace(/\/+/,"/")},startsWithProtocol:function(t){return p.startsWith(t,"http:")||p.startsWith(t,"https:")||p.startsWith(t,"file:")},isSameOriginAs:function(t,e){var r=t.match(f),n=e.match(f);return r[0]===n[0]},getHash:function(t){var e,r=5381;for(e=t.length;--e>-1;)r=(r <<5)+r+t.charCodeAt(e);return r+ ""},getSuffix:function(t){var e=t.match(/\.(\w+)$/);return e?e[1]:void 0}},m=function(){var t,e,n=this.Loader,i=this.Env,o=n.Status,u=i.mods,c=i.host,l=n.Utils={},f=c.document,d=(c.navigator||{}).userAgent|| "";((t=d.match(/Web[Kk]it[\/]{0,1}([\d.]*)/))||(t=d.match(/Safari[\/]{0,1}([\d.]*)/)))&&t[1]&&(l.webkit=r(t[1])),(t=d.match(/Trident\/([\d.]*)/))&&(l.trident=r(t[1])),(t=d.match(/Gecko/))&&(l.gecko=.1,(t=d.match(/rv:([\d.]*)/))&&t[1]&&(l.gecko=r(t[1]))),(t=d.match(/MSIE ([^;]*)|Trident.*; rv(?:\s|:)?([0-9.]+)/))&&(e=t[1]||t[2])&&(l.ie=r(e),l.ieMode=f.documentMode||l.ie,l.trident=l.trident||1),a(l,p),a(l,{mix:a,docHead:function(){return f.getElementsByTagName( "head")[0]||f.documentElement},collectErrors:function(t,e,r){var n,i,a,s;for(r=r||{},e=e||[],n=0;ne;e++)n&=t[e].initRecursive();return n},getModulesExports:function(t){for(var e=t.length,r=[],n=0;e>n;n++)r.push(t[n].getExports());return r},addModule:function(t,e,r){var n=u[t];return n&&void 0!==n.factory?(console.warn(t+" is defined more than once"),void 0):(l.createModule(t,a({id:t,status:o.LOADED,factory:e},r)),void 0)}})};t.prototype.initUtils=m}(feloader),function(t,e){function r(t,r){var n=this;n.name=e,n.base=e,n.main=e,n.filter=e,n.tag=e,n.charset=e,n.combine=e,n.group=e,n.modules={},n.ctx=r,n.ctx.Loader.Utils.mix(n,t)}function n(t,r){return t[r]!==e?t[r]:t.ctx.Config[r]}function i(t,e,r){for(var n=0;n n;n++)t[n]=e.resolve(t[n]).id;return t}function u(t){var e,r=t.id,n=t.alias;if("string"==typeof n&&(t.alias=n=[n]),n)return n;if(e=t.getPackage()){var i;e.name===r&&(i=e.main)?(r+="/","."!==i.charAt(0)&&(i="./"+i),n=[t.ctx.Loader.Utils.normalizePath(r,i)]):e.alias&&(n=e.alias(r))}return n=t.alias=n||[a(r,t)]}var c="ignorePackageNameInUri";r.prototype={constructor:r,reset:function(t){this.ctx.Loader.Utils.mix(this,t);for(var e in this.modules)this.modules[e].reset()},getFilter:function(){return n(this,"filter")},getTag:function(){return n(this,"tag")},getBase:function(){return this.base},getCharset:function(){return n(this,"charset")},isCombine:function(){return n(this,"combine")},isIgnorePackageNameInUri:function(){return n(this,c)},getGroup:function(){return n(this,"group")},addChildModule:function(t,e){this.modules[t]=e}},o.prototype={feloader:1,constructor:o,config:function(){return this.config},reset:function(t){var e=this,r=this.ctx.Loader.Utils.mix;r(e,t),t&&t.requires&&e.setRequiresModules(t.requires),delete e.packageInfo},require:function(t){return this.resolve(t).getExports()},resolve:function(t){var e=this.ctx.Loader.Utils;return e.createModule(e.normalizePath(this.id,t))},add:function(t){this.waits[t.id]=t},remove:function(t){delete this.waits[t.id]},contains:function(t){return this.waits[t.id]},flush:function(){this.ctx.Loader.Utils.each(this.waits,function(t){t.flush()}),this.waits={}},getType:function(){var t=this.ctx.Loader.Utils,e=this,r=e.type;if(!r){var n=e.id;r=t.endsWith(n,".css")?"css":"js",e.type=r}return r},getAlias:function(){var t=this,e=t.id,r=u(t),n=[];if(r[0]===e)n=r;else if(r.length>1)for(var i=0,o=r.length;o>i;i++){var a=r[i];if(a&&a!==e){var s=this.ctx.Loader.Utils.createModule(a),c=s.getAlias();c?n.push.apply(n,c):n.push(a)}}else n.push(r[0]);return t.normalizedAlias=n,n},getNormalizedModules:function(){var t=this,e=t.getAlias(),r=[],n=this.ctx.Loader.Utils;return n.each(e,function(t){t&&r.push(t)}),t.normalizedModules=n.map(r,function(e){return t.ctx.Loader.Utils.createModule(e)}),t.normalizedModules},fixTwoVersion:function(t){var e=/(\d+\.\d+\.\d+\/.*)\d+\.\d+\.\d+\//;return e.test(t)&&(t=t.replace(e,"$1")),t},getUri:function(){var t=this;return t.uri=this.ctx.Loader.Utils.normalizeSlash(this.ctx.Config.resolveModFn(t)),this.fixTwoVersion(t.uri)},getUrl:function(){return this.getUri()},getExports:function(){var t=this.getNormalizedModules();return t[0]&&t[0].exports},getPackage:function(){var t=this;if("undefined"!=typeof t.packageInfo)return t.packageInfo;var e=t.id,r=this.ctx.Config,n=this.ctx.Loader.Utils,i=n.startsWith,o=n.filter,a=r.packages,s=t.id+"/",u=o(s.split("/"),function(t){return t.length>0}).slice(0,2).join("/");if(a[u])return t.packageInfo=a[u],t.packageInfo;u="";var c;for(c in a){var l=c;n.endsWith(l,"/")||(l+="/"),i(s,l)&&c.length>u.length&&(u=c)}return a[u]?(t.packageInfo=a[u],t.packageInfo.addChildModule(u,t),t.packageInfo):i(e,"/")||i(e,"http://")||i(e,"https://")||i(e,"file://")?(t.packageInfo=null,t.packageInfo):(t.packageInfo=a.core,t.packageInfo)},getTag:function(){var t=this;return t.tag||t.getPackage()&&t.getPackage().getTag()},getCharset:function(){var t=this;return t.charset||t.getPackage()&&t.getPackage().getCharset()},setRequiresModules:function(t){var e=this,r=e.requiredModules=e.ctx.Loader.Utils.map(s(t,e),function(t){return e.ctx.Loader.Utils.createModule(t)}),n=[];this.ctx.Loader.Utils.each(r,function(t){n.push.apply(n,t.getNormalizedModules())}),e.normalizedRequiredModules=n},getNormalizedRequiredModules:function(){var t=this;return t.setRequiresModules(t.requires),t.normalizedRequiredModules},getRequiredModules:function(){var t=this;return t.requiredModules?t.requiredModules:(t.setRequiresModules(t.requires),t.requiredModules)},callFactory:function(){var t=this;return t.factory.apply(t,t.cjs?[t._require,t.exports,t]:t.ctx.Loader.Utils.map(t.getRequiredModules(),function(t){return t.getExports()}))},initSelf:function(){var t,r=this,n=r.factory,i=this.ctx.Config,o=this.ctx.Loader.Status,a=this.ctx.Loader.Utils;if("function"==typeof n){if(r.exports={},i.debug)t=r.callFactory();else{try{t=r.callFactory()}catch(s){if(r.status=o.ERROR,r.onError||i.onModuleError){var u={type:"init",exception:s,module:r};r.error=u,r.onError&&r.onError(u),i.onModuleError&&i.onModuleError(u)}else setTimeout(function(){throw s},0);return 0}var c=1;if(a.each(r.getNormalizedRequiredModules(),function(t){return t.status===o.ERROR?(c=0,!1):void 0}),!c)return 0}t!==e&&(r.exports=t)}else r.exports=n;return r.status=o.INITIALIZED,r.afterInit&&r.afterInit(r),i.afterModuleInit&&i.afterModuleInit(r),1},initRecursive:function(){var t=this,e=1,r=t.status,n=this.ctx.Loader.Status,i=this.ctx.Loader.Utils;return r===n.ERROR?0:r>=n.INITIALIZING?e:(t.status=n.INITIALIZING,t.cjs?e=t.initSelf():(i.each(t.getNormalizedRequiredModules(),function(t){e=e&&t.initRecursive()}),e&&t.initSelf()),e)},undef:function(){this.status=this.ctx.Loader.Status.UNLOADED,this.error=null,this.factory=null,this.exports=null}};var l=function(){var t=this,e=this.Loader;e.Package=function(e){return new r(e,t)},e.Module=function(e){return new o(e,t)}};t.prototype.initDataStructure=l}(feloader),function(t){var e=function(){function t(){o||r()}function e(t){var e=0;if(i.webkit)t.sheet&&(e=1);else if(t.sheet)try{var r=t.sheet.cssRules;r&&(e=1)}catch(n){var o=n.name;"NS_ERROR_DOM_SECURITY_ERR"===o&&(e=1)}return e}function r(){for(var t in a){var s=a[t],u=s.node;e(u)&&(s.callback&&s.callback.call(u),delete a[t])}o=i.isEmptyObject(a)?0:setTimeout(r,n)}var n=30,i=this.Loader.Utils,o=0,a={};i.pollCss=function(e,r){var n=e.href,i=a[n]={};i.node=e,i.callback=r,t()},i.isCssLoaded=e};t.prototype.initCssOnLoad=e}(feloader),function(t){var e=function(){var t,e=1e3,r=this.Env.host,n=r.document,i=this.Loader.Utils,o=this.Config,a={},s=i.webkit;this.getScript=function(r,u,c,l){function f(){var t=M.readyState;t&&"loaded"!==t&&"complete"!==t||(M.onreadystatechange=M.onload=null,E(0))}var d,h,g,p,m,v=u,y=o.crossorigin,x=i.endsWith(r,".css");if(l===!0?y=!0:l===!1&&(y=!1),"object"==typeof v&&(u=v.success,d=v.error,h=v.timeout,c=v.charset,g=v.attrs,v.crossorigin===!0?y=!0:v.crossorigin===!1&&(y=!1)),x&&i.ieMode <10&&n.getElementsByTagName( "style").length+n.getElementsByTagName( "link").length>=31)return setTimeout(function(){throw new Error("style and link's number is more than 31.ie < 10 can not insert link: "+r)},0),d&&d(),void 0;if(p=a[r]=a[r]||[],p.push([u,d]),p.length>1)return p.node;var M=n.createElement(x?"link ":"script "),b=function(){m&&(clearTimeout(m),m=void 0)};g&&i.each(g,function(t,e){M.setAttribute(e,t)}),c&&(M.charset=c),x?(M.href=r,M.rel="stylesheet "):(M.src=r,M.async=!0,y&&M.setAttribute("crossorigin ","anonymous ")),p.node=M;var E=function(t){var e,n=t;b(),i.each(a[r],function(t){(e=t[n])&&e.call(M)}),delete a[r]},L="onload "in M,k=o.forceCssPoll||s&&536>s||!s&&!i.trident&&!i.gecko&&!Object.assign;return x&&k&&L&&(L=!1),L?(M.onload=f,M.onerror=function(){M.onerror=null,E(1)}):x?i.pollCss(M,function(){E(0)}):M.onreadystatechange=f,h&&(m=setTimeout(function(){E(1)},h*e)),t||(t=i.docHead()),x?t.appendChild(M):t.insertBefore(M,t.firstChild),M}};t.prototype.initGetScript=e}(feloader),function(t,e){function r(t,e){return function(r){var n={};for(var i in r)n[i]={},n[i][t]=r[i];e.config("modules ",n)}}var n=function(){function t(t,e){if(t=s.normalizeSlash(t),e&&"/ "!==t.charAt(t.length-1)&&(t+="/ "),l){if(s.startsWith(t,"http: ")||s.startsWith(t,"// ")||s.startsWith(t,"https: ")||s.startsWith(t,"file: "))return t;t=l.protocol+"// "+l.host+s.normalizePath(l.pathname,t)}return t}function n(t,e,r){var n=e.getTag()||c.tag||" ";return n&&(r&&(n+=r),t+="?t="+n),t}var i=this,o=this.Loader,a=o.Package,s=o.Utils,u=this.Env.host,c=this.Config,l=u.location,f=c.fns;c.loadModsFn=function(t,e){i.getScript(t.uri,e)},c.resolveModFn=function(t){var e,r,i,o,a=t.id,u=t.path,c=t.getPackage();if(!c){var l=s.endsWith(a," .css "),f=s.endsWith(a,".js ");return o=l?"css ":"js ",i=". "+o,l||f||(a+=".js "),n(a,t,i)}var d=c.getBase(),h=c.name;return o=t.getType(),i=". "+o,u||(s.endsWith(a,i)&&(a=a.slice(0,-i.length)),e=c.getFilter()||" ","function "==typeof e?u=e(a,o):"string "==typeof e&&(e&&(e="- "+e),u=a+e+i)),"core "===h?r=d+u:a===h?r=d.substring(0,d.length-1)+e+i:(c.isIgnorePackageNameInUri()&&(u=u.substring(h.length+1)),r=d+u),n(r,t,i)},f.requires=r("requires ",i),f.alias=r("alias ",i),f.packages=function(r){var n=c.packages;return r===e?n:r?(s.each(r,function(e,r){var i=e.name||r;s.startsWith(i,"/ ")?i=l.protocol+"// "+l.host+i:(s.startsWith(i,"./ ")||s.startsWith(i,"../ "))&&(i=s.normalizePath(l.href,i)),s.endsWith(i,"/ ")&&(i=i.slice(0,-1)),e.name=i;var o=e.base||e.path;o&&(e.base=t(o,!0)),n[i]?n[i].reset(e):n[i]=new a(e)}),e):(c.packages={core:n.core},e)},f.modules=function(e){e&&s.each(e,function(e,r){var n=e.uri;n&&(e.uri=t(n)),s.createModule(r,e)})},f.base=function(t){var r=this,n=c.packages.core;return t?(r.config("packages ",{core:{base:t}}),e):n&&n.getBase()}};t.prototype.initConfig=n}(feloader),function(t,e){function r(t,e){if(t||"function "!=typeof e)t&&t.requires&&!t.cjs&&(t.cjs=0);else{var r=[];r.length&&(t=t||{},t.requires=r)}return t}function n(t){var e,r,n,i=[];for(e=0,n=t.length;n>e;e++)r=t[e],"exports "===r||"module "===r||"require "===r||i.push(r);return i}function i(t,e){var r=t.indexOf("// "),n=" ";-1!==r&&(n=t.substring(0,t.indexOf("// ")+2)),t=t.substring(n.length).split(/\//),e=e.substring(n.length).split(/\//);for(var i=Math.min(t.length,e.length),o=0;i>o&&t[o]===e[o];o++);var a=n+t.slice(0,o).join("/ ")+"/ ";return a=a.replace(/\/\/$/,"/ ")}function o(t,e,r,n,i,o){if(t&&e.length>1){for(var a=t.length,s=[],u=0;u=0;e--)if(n=i[e],"interactive "===n.readyState){t=n;break}return r=t?t.getAttribute("data-mod-id "):c}var u,c,l,f=this.Loader,d=this.Config,h=f.Status,g=f.Utils,p=g.addModule,m=g.each,v=g.getHash,y=h.LOADING,x=h.LOADED,M=h.ERROR,b=g.ieMode&&g.ieMode<10,E=0;a.add=function(t,i,o,a){if("string "==typeof t)if(3===a&&g.isArray(i)){var f=i;i=o,o={requires:n(f),cjs:1}}else 2===a&&i.call&&(o={cjs:1});if(g.isArray(t)&&2===a){var f=t;t=i,i={requires:n(f),cjs:1}}"function "==typeof t||1===a?(o=i,i=t,o=r(o,i),b?(t=s(),t&&p(t,i,o),c=null,l=0):u={factory:i,config:o}):(b?(c=null,l=0):u=e,o=r(o,i),p(t,i,o))};var L;L=function(t){m(t,function(t){var e=[];m(t.mods,function(t){t.status===x&&e.push(t.id)})})},g.mix(a.prototype,{use:function(e){for(var r,n=this,i=d.timeout,o=[],a=0;ax)n[a]=1;else if(u===x||s.contains(l)||(u!==y&&(s.status=y,i.push(s)),s.add(l),l.wait(s)),r[a])console.warn("find cyclic dependency between mods: "+r),n[a]=1;else{r[a]=1,r.push(a),d.requireModsPre||l.calculate(s.getNormalizedRequiredModules(),e,r,n,i),n[a]=1;for(var f=c;fe;++e)if(n=t[e],a=n.getType(),d=n.getUri(),o=n.getPackage(),o?(c=o.getBase(),l=o.name,u=o.getCharset(),s=o.getTag(),f=o.getGroup()):c=n.id,o&&o.isCombine()&&f){var y=p[a]||(p[a]={});f=f+"- "+u;var x=y[f]||(y[f]={}),M=0;g.each(x,function(t,e){if(g.isSameOriginAs(e,c)){var r=i(e,c);t.push(n),s&&s!==t.tag&&(t.tag=v(t.tag+s)),delete x[e],x[r]=t,M=1}}),M||(r=x[c]=[n],r.charset=u,r.tag=s||" ")}else{var b=m[a]||(m[a]={});(r=b[c])?s&&s!==r.tag&&(r.tag=v(r.tag+s)):(r=b[c]=[],r.charset=u,r.tag=s||" "),r.push(n)}return{groups:p,normals:m}},getComboUris:function(t){function r(t,r,n){function a(t){if(r){if(d.useDailyAssets&&t.indexOf(d.dailyAssetsHost)<0)return t.replace(d.assetsHost,d.dailyAssetsHost);if(d.forceAssetsHost)return t.replace(d.assetsHost,d.forceAssetsHost)}return t}function s(t){L.push({combine:1,uri:a(t),charset:M,mods:y})}function p(){return o(m,v,r,u,c,b)}for(var m,v=[],y=[],x=n.tag,M=n.charset,b=x?"?t="+encodeURIComponent(x)+" . "+t:" ",E=r.length,L=[],k=0;kf||p().length>h)&&(v.pop(),y.pop(),s(p()),v=[],y=[],m=e,k--)}else L.push({combine:0,uri:a(q),charset:M,mods:[w]})}v.length&&s(p()),l[t].push.apply(l[t],L)}var n,a,s,u=d.comboPrefix,c=d.comboSep,l={},f=d.comboMaxFileNum,h=d.comboMaxUriLength,p=this.getComboMods(t),m=p.normals,v=p.groups;for(n in m){l[n]=l[n]||[];for(a in m[n])r(n,a,m[n][a])}for(n in v){l[n]=l[n]||[];for(s in v[n])for(a in v[n][s])r(n,a,v[n][s][a])}return l},flush:function(){var t=this;if(t.callback){for(var e=t.head,r=t.callback;e;){var n=e.node,i=n.status;if(!(i>=x||i===M))return;n.remove(t),e=t.head=e.next}t.callback=null,r()}},isCompleteLoading:function(){return!this.head},wait:function(t){var e=this;if(e.head){var r={node:t};e.tail.next=r,e.tail=r}else e.tail=e.head={node:t}}}),f.ComboLoader=a};t.prototype.initComboLoader=a}(feloader),function(t){var e=function(){var e=this.Loader,r=e.Utils,n=r.createModule,i=e.ComboLoader;r.mix(this,{getModule:function(t){return n(t)},getPackage:function(t){return this.Config.packages[t]},add:function(t,e,r){i.add(t,e,r,arguments.length)},use:function(e,n,o){function a(e,n){console.error("feloader: "+n+" the following modules error "),console.error(r.map(e,function(t){return t.id})),o&&(o.apply(t,e),o=null)}function s(){++c;var e=[],i=u.calculate(h,e);if(e.length)a(e,"load ");else if(u.isCompleteLoading()){var o=r.initModules(h);o?n&&(n.apply(t,r.getModulesExports(d)),n=null):a(r.collectErrors(h),"init ")}else u.callback=s,i.length&&u.use(i)}var u,c=0;if("string "==typeof e&&(e=e.split(/\s*,\s*/)),!e||e&&!e.length)return t;"object "==typeof n&&(o=n.error,n=n.success);for(var l=0;ld;d++){var g=s[d];if(g.match(n)){u+=g.replace(r,"$1 ");break}}}return a.base=a.base||u,a},s=function(t){var e,n,i=r.getElementsByTagName("script ");for(e=i.length-1;e>=0;e--)if(n=a(i[e],t))return n;return null};t.init=function(e){var r=e.name;t.config(s(r))},r&&r.getElementsByTagName&&(t.config(i.mix({comboMaxUriLength:2e3,comboMaxFileNum:40},s("feloader "))),t.config("combine ",!0)),function(){function e(t){var e;for(e=0;e2&&void 0!==arguments[2]?arguments[2]:{};this.send(e,["math ",t,n])}},function(e,t){TES.time=function(e,t,n,o){isNaN(this.navigationStart)||(!isNaN(t)&&t>1552293392133&&!isNaN(n)?this.send(e,["time ",t-this.navigationStart,n,o||{}]):(this._timeRecord||(this._timeRecord={}),this._timeRecord[e]=Date.now()))},TES.timeEnd=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!isNaN(this.navigationStart)&&this._timeRecord&&this._timeRecord[e]&&(this.send(e,["time ",this._timeRecord[e]-this.navigationStart,Date.now()-this._timeRecord[e],t]),delete this._timeRecord[e])}},function(e,t){function n(e){return(n="function "==typeof Symbol&&"symbol "==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function "==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol ":typeof e})(e)}TES.timeStamp=function(e,t,o){isNaN(this.navigationStart)||this.send(e,["timeStamp ",(t&&t>1552293392133?t:Date.now())-this.navigationStart,("object "===n(t)?t:o)||{}])}},function(e,t){TES.request=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(e&&-1===e.indexOf("/aplustrack/ ")){n.url=e;var r=n.status;delete n.status,void 0===r&&n.opt&&void 0!==n.opt.code&&(r=n.opt.code,delete n.opt.code),void 0===r&&n.res&&void 0!==n.res.status&&(r=n.res.status,delete n.res.status);var i=n.duration;delete n.duration,void 0===i&&n.opt&&void 0!==n.opt.duration&&(i=n.opt.duration,delete n.opt.duration),null===n.traceId&&delete n.traceId,this.send(t,["api ",e.replace(/^(https?:)?/," ").replace(/\?.*$/," "),r,i,n],!0,!1!==o)}},TES.requestCount=function(){},TES.requestSuccess=function(e,t,n){this.request(e,"requestSuccess ",t,n)},TES.requestError=TES.requestReject=TES.requestCrash=function(e,t,n){this.request(e,"requestError ",t,n)}},function(e,t){TES.injectMtopHook=function(){function e(e){var t=this.options,n=this.params,o=Date.now();return e().then((function(){var e=t.retJson.ret;e instanceof Array&&(e=e.join(", "));var r=-1===e.indexOf("SUCCESS ");if(r||window.TES_ENABLE_API_SUCCESS){var i,s,a,c=t.retJson.code||200,u=t.retJson.responseHeaders;if("string "==typeof u){var d=u.match(/(x-eagleeye-id|eagleeye-traceid):\s*([a-z0-9]+)/);d&&(i=d[2]);var f=u.match(/status:\s*(\d+)/);f&&(c=f[1])}if(e){var l=e.split(":: ");s=l[0],a=l[1]}TES[r?"requestError ":"requestSuccess "](n.api,{status:c,code:s,duration:Date.now()-o,msg:a,params:n.data,traceId:i,type:"mtop "})}}))}var t;(window.lib||(lib={}),lib.mtop&&lib.mtop.middlewares)?lib.mtop.middlewares.push(e):Object.defineProperty(lib,"mtop ",{set:function(n){var o;(t=n).middlewares?-1===t.middlewares.indexOf(e)&&t.middlewares.push(e):Object.defineProperty(t,"middlewares ",{set:function(t){-1===(o=t).indexOf(e)&&o.push(e)},get:function(){return o}})},get:function(){return t}})}},function(e,t,n){"use strict ";n.r(t);var o=function(e,t){"function "==typeof requestIdleCallback?requestIdleCallback(e,{timeout:t||1e3}):setTimeout(e,0)},r=function(e){"complete "===document.readyState?e():window.addEventListener("load ",e)},i=function(){var e=" ";if(window.goldlog&&goldlog.spm_ab)return e=goldlog.spm_ab.join(". ");if((e=document.querySelector('meta[name="spm-id "]')||document.querySelector('meta[name="data-spm "]'))&&(e=e.content)&&-1!==e.indexOf(". "))return e;var t;return t=document.body&&document.body.getAttribute("data-spm "),e&&t?e+". "+t:" "},s=void 0!==document.hidden?{hidden:"hidden ",visibilityChange:"visibilitychange "}:void 0!==document.webkitHidden?{hidden:"webkitHidden ",visibilityChange:"webkitvisibilitychange "}:void 0!==document.msHidden?{hidden:"msHidden ",visibilityChange:"msvisibilitychange "}:void 0,a=!!s,c=function(e,t){var n;a&&document.addEventListener(s.visibilityChange,n=function(o){t&&document.removeEventListener(s.visibilityChange,n),e(!document[s.hidden])})};function u(e){return(u="function "==typeof Symbol&&"symbol "==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function "==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol ":typeof e})(e)}window.TES={},window.performance&&performance.timing&&0!==performance.timing.navigationStart&&(TES.navigationStart=performance.timing.navigationStart);var d=/(iPhone|iPad|iPod|iOS|Android)/i.test(navigator.userAgent),f=("file: "===location.protocol?"http: ":location.protocol)+"//gm.mmstat.com/codetrack.1.3? ",l=1700,p=function e(t,n){return n=n||" ",t?e(--t,"0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz ".charAt(Math.floor(60*Math.random()))+n):n}(20);TES.queue=[];var m=[],g=-1!==navigator.userAgent.indexOf("WindVane "),v=function(){var e={},t=document.getElementById("J_Tes_Monitor ");if(t)try{var n=t.getAttribute("exparams ");n&&(e=function(e){if("{} "===e)return{};var t,n=e.split("& "),o={};try{for(var r=0,i=n.length;r200&&m.shift(),m.push(e)};var y,S=function(){for(var e=0,t=new Array(256),n=0;256!==n;++n){e=n;for(var o=8;o--;)e=1&e?-306674912^e>>>1:e>>>1;t[n]=e}return"undefined "!=typeof Int32Array?new Int32Array(t):t}();function E(e){for(var t,n,o=-1,r=0,i=e.length;r>>8^S[255&(o^t)]:t<2048?o=(o=o>>>8^S[255&(o^(192|t>>6&31))])>>>8^S[255&(o^(128|63&t))]:t>=55296&&t<57344?(t=64+(1023&t),n=1023&e.charCodeAt(r++),o=(o=(o=(o=o>>>8^S[255&(o^(240|t>>8&7))])>>>8^S[255&(o^(128|t>>2&63))])>>>8^S[255&(o^(128|n>>6&15|(3&t)<<4))])>>>8^S[255&(o^(128|63&n))]):o=(o=(o=o>>>8^S[255&(o^(224|t>>12&15))])>>>8^S[255&(o^(128|t>>6&63))])>>>8^S[255&(o^(128|63&t))];return-1^o}function w(e){return(w="function "==typeof Symbol&&"symbol "==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function "==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol ":typeof e})(e)}function b(e){return e?((e=e.split("\n ").slice(1)).length>3&&!0===window.TES_DISABLE_POST&&(e=e.slice(0,2).concat(["... ",e[e.length-1]])),e.map((function(e){return e.replace(/^\s+at\s+/g," ")})).join("^ ")):" "}function T(e){return e?!window.TES_DISABLE_POST||e.length<1001?e:e.substr(0,997)+"... ":" "}function _(e,t,n,o,r){try{"string "==typeof e?TES.send("error ",["jserror ",e||" ",T(t),n||0,o||0,b(r&&r.stack)]):TES.send("error ",["jserror ",e.message||" ",T(e.filename),e.lineno||0,e.colno||0,b(e.error&&e.error.stack||e.stack)])}catch(e){}}function j(e){if(e)try{var t=" ",n=0,o=0,r=" ",i=" ";"string "==typeof e?t=e:"object "===w(e.reason)?t=e.reason.message:"string "==typeof e.message&&(t=e.message);var s=e.reason;if("object "===w(s)){if("number "==typeof s.column)o=s.column,n=s.line;else if(s.stack){(a=s.stack.match(/at\s+.+:(\d+):(\d+)/))&&(n=a[1],o=a[2])}if(s.sourceURL)r=s.sourceURL;else if(s.stack){var a;(a=s.stack.match(/at\s+(.+):\d+:\d+/))&&(r=a[1])}s.stack&&(i=b(s.stack))}TES.send("promise ",["jserror ",t,T(r),n,o,i])}catch(e){}}TES._send=function(e){if(e){"[object Array] "===Object.prototype.toString.call(e)&&(e=e.join("| "));var t=["msg="+encodeURIComponent(e)," hash="+E(e)];for(var n in v.spm||" complete "===document.readyState||(v.spm=i()),v)v.hasOwnProperty(n)&&" "!==v[n]&&t.push(n+"="+v[n]);this._sendAplus(t.join(" & "))}},TES._sendAll=function(){var e=this;if(this.queue.length){var t=this.queue.join("; ");if(window.TES_DISABLE_POST||(l=5300),t.lengthl||encodeURIComponent(encodeURIComponent(n+r)).length>l))break;this.queue.shift(),n+=n?"; "+r:r}this._send(n),this.queue.length&&o((function(){e._sendAll()}))}},TES._waitSend=function(e){this.queue.push(e.join("| ")),r((function(){o((function(){TES._sendAll()}))})),this._bindUnload||(c((function(e){e||TES._sendAll()})),this._bindUnload=!0)},TES.send=function(e,t,n,o){"[object Object] "!==Object.prototype.toString.call(t[t.length-1])&&t.push({}),t[t.length-1].timeStamp||(t[t.length-1].timeStamp=Date.now()),(t=(t=[e].concat(t)).map((function(e){if("object "===u(e))try{return JSON.stringify(e)}catch(e){}return"string "==typeof e?e.replace(/\|/g,"丨 ").replace(/;/g,"; "):e}))).push(1),o?this._send(t):this._waitSend(t)},TES.record=function(e,t,n,o,r,i){this.send(t,["normal ",e,n,o],r,i)},TES.monitor=function(e,t,n,o,r,i){this.send(t,["monitor ",e,n,o],r,i)},TES.error=function(e,t,n,o,r,i){this.send(t,["error ",e,n,o],!1!==r,i)};var A=function(e){if(e)window.PromiseRejectionEvent&&e instanceof PromiseRejectionEvent?j(e):_.apply(null,arguments);else{if(window.batTrack)return;y||(y=!0,window.addEventListener("error ",_),window.addEventListener("unhandledrejection ",j))}},O=function(e){for(var t=[],n=window,o=document,r=0,i=e.length;r1e3&&s.shift(),s.push(e)})),i.addEventListener("transitionend ",n=function(t){i.removeEventListener("transitionend ",n),P(I[r]),delete I[r],s.length&&o((function(){var n=k(t.path||t.target)+"%transition% "+t.propertyName;if(!e[n]){e[n]=!0;var o=Math.floor(1e3*t.elapsedTime/(1e3/60));TES.send(n,["animFPS ",(o-s.length)/o,1e3/x(s)])}}))})})),document.addEventListener("animationstart ",(function(t){var n,r=Math.random(),i=t.target,s=[];TES._fps(r,(function(e){s.length>1e3&&s.shift(),s.push(e)})),i.addEventListener("animationend ",n=function(t){i.removeEventListener("animationend ",n),P(I[r]),delete I[r],s.length&&o((function(){var n=k(t.path||t.target)+"%animation% "+t.animationName;if(!e[n]){e[n]=!0;var o=Math.floor(1e3*t.elapsedTime/(1e3/60));TES.send(n,["animFPS ",(o-s.length)/o,1e3/x(s)])}}))})}))};var q;n(0),n(1),n(2);TES.timing=function(){this.navigationStart&&r((function(){setTimeout((function(){TES.send("timing ",["perf ",performance.timing])}),100)}))},["pointerdown ","touchstart ","mousedown ","keydown ","mouseover "].forEach((function(e){document.addEventListener(e,(function(e){q=e}),{capture:!0,passive:!0})}));var R=function(){return q};TES.longTask=function(){if(window.PerformanceLongTaskTiming){var e=0,t=new PerformanceObserver((function(t){t.getEntries().forEach((function(t){var n=R();o((function(){TES.send("longtask_ "+e,["longtask ",t.startTime,t.duration,n?k(n.path||n.target):" "]),e++}))}))}));t.observe({entryTypes:["longtask "]}),c((function(e){e?setTimeout((function(){t.observe({entryTypes:["longtask "]})}),100):t.disconnect()}))}},TES.tsl=function(){if(window.PerformanceTouchScrollLatencyTiming){var e,t=0,n=0;new PerformanceObserver((function(e){e.getEntries().forEach((function(e){n++,e.duration>100&&(t++,TES.send("tsl_ "+t,["tsl ",e.name,e.startTime,e.duration,n,t]))}))})).observe({entryTypes:["touchscrolllatency "]}),c((function(o){!o&&n>0&&e!==n&&(TES.send("tsl_ "+t,["tsl "," "," "," ",n,t],!0,!0),e=n)}))}},TES.entries=function(e){r((function(){var t=window.performance;if(t.getEntries){var n=t.getEntries(e);n.length&&n.forEach((function(e){return TES.send("entries ",["perf ",e],!0)}))}}))},TES.eventTiming=function(){if(window.PerformanceEventTiming){var e=0,t=new PerformanceObserver((function(t){var n=t.getEntries().filter((function(e){return e.processingEnd-e.processingStart>1})).sort((function(e,t){return t.processingEnd-t.processingStart-(e.processingEnd-e.processingStart)}))[0];if(n){var r=R();o((function(){TES.send("eventTiming_ "+e,["eventTiming ",n.name,n.duration,n.processingEnd-n.processingStart,r?k(r.path||r.target):" ",n.startTime]),e++}))}}));t.observe({entryTypes:["event "]}),c((function(e){e?setTimeout((function(){t.observe({entryTypes:["event "]})}),100):t.disconnect()}))}};n(3);function C(e){return(C="function "==typeof Symbol&&"symbol "==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function "==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol ":typeof e})(e)}function N(e,t){return(void 0===t||200===t)&&(void 0!==e.success?!0===e.success||"true "===e.success:void 0!==e.isSuccess?!0===e.isSuccess||"true "===e.success:void 0!==e.isOk?!0===e.isOk||"true "===e.success:void 0!==e.ok?!0===e.ok||"true "===e.success:void 0===e.status||200==e.status)}function M(e){var t=e.msg||e.message||e.errMsg||e.errorMessage||e.sucMsg||e.subMsg||e.errorMsg||e.ret||e.errorResponse;return"object "===C(t)&&(t=t.msg||t.message||t.info||t.ret||t.code||JSON.stringify(t)),t&&t.length>50&&(t=t.substring(1,50)),t}var D={parseResponse:function(e,t){var n=e;if("string "==typeof n)try{n=JSON.parse(e)}catch(e){}return"object "!==C(n)?{success:void 0===t||200===t}:{msg:M(n),success:N(n,t)}},isSuccess:N,getResponseBody:function(e,t){if(t.originResponse)return e;if("jsonp "===t.method)return e.json();var n=t.headers&&t.headers.accept||"text ",o=e.headers&&e.headers.get?e.headers.get("content-type "):null;return o||(o=n),-1!==o.toLowerCase().indexOf("application/json ")?e.json():-1!==o.toLowerCase().indexOf("text ")?e.text():e.blob()},getMessage:M};function H(e){return(H="function "==typeof Symbol&&"symbol "==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function "==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol ":typeof e})(e)}function F(e,t,n,o,r){(!1===e.success||window.TES_ENABLE_API_SUCCESS)&&TES[!1===e.success?"requestError ":"requestSuccess "](t,{status:o,duration:n,traceId:r,msg:e.msg,type:"xhr "})}TES.injectFetchHook=function(){if("function "==typeof window.fetch){var e=window.fetch;window.fetch=function(t,n){var o=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);if(n&&("HEAD "===n.method||"no-cors "===n.mode))return e.apply(window,o);var r=(t&&"string "!=typeof t?t.url:t)||" ";if(r.match(/\.(js|css|png|jpg|gif|jpeg|webp)(\?.*)?$/))return e.apply(window,o);var i=Date.now();return e.apply(window,o).then((function(e){var t=e.clone?e.clone():e;return D.getResponseBody(t,n||{}).then((function(e){var n=Date.now()-i;e&&"object "===H(e)||(e={});var o,s=t.status;e=D.parseResponse(e,s);try{o=t.headers.get("eagleeye-traceid ")||t.headers.get("x-eagleeye-id ")}catch(e){}(!1===e.success||window.TES_ENABLE_API_SUCCESS)&&TES[!1===e.success?"requestError ":"requestSuccess "](r,{status:s,duration:n,traceId:o,msg:e.msg,type:"fetch "})})),e}),(function(e){throw TES.requestError(r,{status:0,duration:Date.now()-i,msg:e.message,type:"fetch "}),e}))}}},TES.injectXhrHook=function(){if("function "==typeof window.XMLHttpRequest&&window.addEventListener){var e=window.XMLHttpRequest,t=function(t){var n,o,r=new e(t),i=r.send,s=r.open;return r.open=function(e,t){var n=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);s.apply(r,n),o=t||" "},r.send=function(e){n=Date.now(),i.apply(r,arguments)},r.addEventListener("readystatechange ",(function(e){if(o&&4===r.readyState&&(-1===o.indexOf("api=")||-1===o.indexOf(" v=")||-1===o.indexOf(" jsv="))){var t,i=Date.now()-n,s=r.status;try{var a=r.getAllResponseHeaders();-1===a.indexOf(" eagleeye-traceid ")&&-1===a.indexOf("x-eagleeye-id ")||(t=r.getResponseHeader("eagleeye-traceid ")||r.getResponseHeader("x-eagleeye-id "))}catch(e){}if(r.responseType&&"text "!==r.responseType)if("blob "===r.responseType&&r.response){var c=new FileReader;c.readAsText.apply(c,[r.response]),c.onloadend=function(){F(D.parseResponse(c.result,s),o,i,s,t)}}else F({success:200===s},o,i,s,t);else F(D.parseResponse(r.responseText,s),o,i,s,t)}})),r};t.prototype=e.prototype,window.XMLHttpRequest=t}};n(4);TES.jserror=A,TES.event=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;this.send(e,["event ",t],!0,n)},A(),window.__disabledAutoInjectFetch||window.TES_DISABLE_API_INJECT||(TES.injectFetchHook(),TES.injectXhrHook(),TES.injectMtopHook()),r((function(){["longTask ","tsl ","animFPS ","eventTiming ","timing "].forEach((function(e){var t=.01;"timing "===e&&(t=1),void 0!==window["TES_SAMPLING_ ".concat(e)]?t=window["TES_SAMPLING_ ".concat(e)]:void 0!==window.TES_SAMPLING&&(t=window.TES_SAMPLING),Math.random()