1var feloader = function(t) { 2 ! function(t) { 3 "use strict"; 4 for (var e, r, n = {}, o = function() {}, i = "memory".split(","), a = 5 "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" 6 .split(","); e = i.pop();) t[e] = t[e] || n; 7 for (; r = a.pop();) t[r] = t[r] || o 8 }(this.console = this.console || {}); 9 var e = this, 10 r = function() { 11 this.Env = { 12 host: e, 13 mods: {} 14 }, this.Config = { 15 debug: "", 16 packages: {}, 17 fns: {}, 18 useDailyAssets: !1, 19 forceAssetsHost: t, 20 crossorigin: !0 21 }, (this.Loader = {}).Status = { 22 ERROR: -1, 23 UNLOADED: 0, 24 LOADING: 1, 25 LOADED: 2, 26 INITIALIZING: 3, 27 INITIALIZED: 4 28 }, this.initUtils(), this.initDataStructure(), this.initCssOnLoad(), this.initGetScript(), this 29 .initConfig(), this.initComboLoader(), this.initLoader(), this.init() 30 }; 31 return r.prototype.__BUILD_TIME = "", r.prototype.version = "3.0.2", r.prototype.config = function(e, r) { 32 var n, o, i, a = this.Config, 33 s = a.fns, 34 u = this; 35 if ("string" == typeof e) n = s[e], r === t ? o = n ? n.call(u) : a[e] : n ? o = n.call(u, r) : a[e] = 36 r; 37 else 38 for (var c in e) r = e[c], (i = s[c]) ? i.call(u, r) : a[c] = r; 39 return o 40 }, r 41}(); 42! function(t) { 43 var e = new RegExp( 44 "^([\\w\\d+.-]+:)?(?://(?:([^/?#@]*)@)?([\\w\\d\\-\\u0100-\\uffff.+%]*|\\[[^\\]]+\\])(?::([0-9]+))?)?([^?#]+)?(\\?[^#]*)?(#.*)?$" 45 ), 46 r = { 47 protocol: 1, 48 auth: 2, 49 hostname: 3, 50 port: 4, 51 pathname: 5, 52 search: 6, 53 hash: 7 54 }; 55 56 function n(t) { 57 var e = 0; 58 return parseFloat(t.replace(/\./g, (function() { 59 return 0 == e++ ? "." : "" 60 }))) 61 } 62 63 function o(t) { 64 var e = t.split(/\//); 65 return "/" === t.charAt(0) && e[0] && e.unshift(""), "/" === t.charAt(t.length - 1) && t.length > 1 && e[e 66 .length - 1] && e.push(""), e 67 } 68 var i = Array.isArray || function(t) { 69 return "[object Array]" === Object.prototype.toString.call(t) 70 }; 71 72 function a(t) { 73 var e = []; 74 for (var r in t) e.push(r); 75 return e 76 } 77 78 function s(t, e) { 79 for (var r in e) t[r] = e[r]; 80 return t 81 } 82 var u = /(http(s)?:)?\/\/([^/]+)(?::(\d+))?/, 83 c = Array.prototype.map, 84 l = Array.prototype.filter, 85 f = String.prototype.startsWith, 86 d = { 87 noop: function() {}, 88 filter: l ? function(t, e, r) { 89 return c.call(t, e, r || this) 90 } : function(t, e, r) { 91 for (var n = t.length, o = new Array(n), i = 0; i < n; i++) { 92 var a = "string" == typeof t ? t.charAt(i) : t[i]; 93 (a || i in t) && e.call(r || this, a, i, t) && o.push(a) 94 } 95 return o 96 }, 97 map: c ? function(t, e, r) { 98 return c.call(t, e, r || this) 99 } : function(t, e, r) { 100 for (var n = t.length, o = new Array(n), i = 0; i < n; i++) { 101 var a = "string" == typeof t ? t.charAt(i) : t[i]; 102 (a || i in t) && (o[i] = e.call(r || this, a, i, t)) 103 } 104 return o 105 }, 106 startsWith: f ? function(t, e) { 107 return f.call(t, e) 108 } : function(t, e) { 109 return 0 === t.lastIndexOf(e, 0) 110 }, 111 isEmptyObject: function(t) { 112 for (var e in t) 113 if (void 0 !== e) return !1; 114 return !0 115 }, 116 endsWith: function(t, e) { 117 var r = t.length - e.length; 118 return r >= 0 && t.indexOf(e, r) === r 119 }, 120 now: Date.now || function() { 121 return +new Date 122 }, 123 each: function(t, e) { 124 var r, n, o = 0; 125 if (i(t)) 126 for (n = t.length; o < n && !1 !== e(t[o], o, t); o++); 127 else 128 for (n = (r = a(t)).length; o < n && !1 !== e(t[r[o]], r[o], t); o++); 129 }, 130 keys: a, 131 isArray: i, 132 throttle: function(t, e, r) { 133 var n, o, i, a = null, 134 s = 0; 135 r || (r = {}); 136 var u = function() { 137 return window.performance ? performance.now() : Date.now() 138 }, 139 c = function() { 140 s = !1 === r.leading ? 0 : u(), a = null, i = t.apply(n, o), a || (n = o = null) 141 }; 142 return function() { 143 var l = u(); 144 s || !1 !== r.leading || (s = l); 145 var f = e - (l - s); 146 return n = this, o = arguments, f <= 0 || f > e ? (clearTimeout(a), a = null, s = l, i = t 147 .apply(n, o), a || (n = o = null)) : a || !1 === r.trailing || (a = setTimeout(c, 148 f)), i 149 } 150 }, 151 indexOf: function(t, e) { 152 for (var r = 0, n = e.length; r < n; r++) 153 if (e[r] === t) return r; 154 return -1 155 }, 156 normalizeSlash: function(t) { 157 return t.replace(/\\/g, "/") 158 }, 159 normalizePath: function(t, n) { 160 if ("." !== n.charAt(0)) return n; 161 var i = ""; 162 if (d.startsWithProtocol(t)) { 163 var a = function(t) { 164 var n = t.match(e) || [], 165 o = {}; 166 for (var i in r) o[i] = n[r[i]]; 167 return o.hostname && (o.hostname = o.hostname.toLowerCase()), o.hostname && !o 168 .pathname && (o.pathname = "/"), o.host = o.hostname, o.port && (o.host = o 169 .hostname + ":" + o.port), o 170 }(t); 171 i = a.protocol + "//" + a.host, t = a.pathname 172 } 173 var s = o(t), 174 u = o(n); 175 s.pop(); 176 for (var c = 0, l = u.length; c < l; c++) { 177 var f = u[c]; 178 "." === f || (".." === f ? s.pop() : s.push(f)) 179 } 180 return i + s.join("/").replace(/\/+/, "/") 181 }, 182 startsWithProtocol: function(t) { 183 return d.startsWith(t, "http:") || d.startsWith(t, "https:") || d.startsWith(t, "file:") 184 }, 185 isSameOriginAs: function(t, e) { 186 var r = t.match(u), 187 n = e.match(u); 188 return r[0] === n[0] 189 }, 190 getHash: function(t) {
191 var e, r = 5381; 192 for (e = t.length; --e > -1;) r = (r << 5) + r + t.charCodeAt(e); 193 return r + "" 194 }, 195 getSuffix: function(t) { 196 var e = t.match(/\.(\w+)$/); 197 if (e) return e[1] 198 } 199 }; 200 t.prototype.initUtils = function() { 201 var t, e, r = this.Loader, 202 o = this.Env, 203 i = r.Status, 204 a = o.mods, 205 u = o.host, 206 c = r.Utils = {}, 207 l = u.document, 208 f = (u.navigator || {}).userAgent || ""; 209 ((t = f.match(/Web[Kk]it[\/]{0,1}([\d.]*)/)) || (t = f.match(/Safari[\/]{0,1}([\d.]*)/))) && t[1] && (c 210 .webkit = n(t[1])), (t = f.match(/Trident\/([\d.]*)/)) && (c.trident = n(t[1])), (t = f.match( 211 /Gecko/)) && (c.gecko = .1, (t = f.match(/rv:([\d.]*)/)) && t[1] && (c.gecko = n(t[1]))), (t = f 212 .match(/MSIE ([^;]*)|Trident.*; rv(?:\s|:)?([0-9.]+)/)) && (e = t[1] || t[2]) && (c.ie = n(e), c 213 .ieMode = l.documentMode || c.ie, c.trident = c.trident || 1), s(c, d), s(c, { 214 mix: s, 215 docHead: function() { 216 return l.getElementsByTagName("head")[0] || l.documentElement 217 }, 218 collectErrors: function(t, e, r) { 219 var n, o, a; 220 for (r = r || {}, e = e || [], n = 0; n < t.length; n++) r[o = (a = t[n]).id] || (r[o] = 221 1, a.status !== i.ERROR ? c.collectErrors(a.getNormalizedRequiredModules(), e, 222 r) : e.push(a)); 223 return e 224 }, 225 createModule: function(t, e) { 226 t = function(t) { 227 return "/" === t.charAt(0) && (t = 0 === t.indexOf("//") ? location.protocol + 228 t : location.protocol + "//" + location.host + t), "/" === t.charAt(t 229 .length - 1) && (t += "index"), "@" === t[0] && (2 === t.split("/") 230 .length ? t += "/index" : t = t.replace("/module/", "/").replace( 231 "/lib/", "/")), d.endsWith(t, ".js") && (t = t.slice(0, -3)), t 232 }(t); 233 var n = a[t]; 234 return n || (n = a[t]), n ? (e && n.reset(e), n) : (a[t] = n = new r.Module(s({ 235 id: t 236 }, e)), n) 237 }, 238 createModules: function(t) { 239 return c.map(t, (function(t) { 240 return c.createModule(t) 241 })) 242 }, 243 initModules: function(t) { 244 var e, r = t.length, 245 n = 1; 246 for (e = 0; e < r; e++) n &= t[e].initRecursive(); 247 return n 248 }, 249 getModulesExports: function(t) { 250 for (var e = t.length, r = [], n = 0; n < e; n++) { 251 var o = t[n].getExports(); 252 o && o.default ? r.push(o.default) : r.push(o) 253 } 254 return r 255 }, 256 addModule: function(t, e, r) { 257 var n = a[t]; 258 n && void 0 !== n.factory ? console.warn(t + " is defined more than once") : c 259 .createModule(t, s({ 260 id: t, 261 status: i.LOADED, 262 factory: e 263 }, r)) 264 } 265 }) 266 } 267}(feloader), 268function(t, e) { 269 function r(t, r) { 270 var n = this; 271 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 272 .modules = {}, n.ctx = r, n.ctx.Loader.Utils.mix(n, t) 273 } 274 275 function n(t, r) { 276 return t[r] !== e ? t[r] : t.ctx.Config[r] 277 } 278 279 function o(t, r) { 280 var n = this; 281 n.ctx = r; 282 var o = this.ctx.Loader.Status, 283 i = this.ctx.Loader.Utils; 284 n.exports = e, n.module = n, n.status = o.UNLOADED, n.id = e, n.factory = e, n.config = e, n.cjs = 1, (0, this 285 .ctx.Loader.Utils.mix)(n, t), n.waits = {}; 286 var a = n._require = function(t, e) { 287 if ("string" == typeof t) { 288 var r = n.resolve(t); 289 return i.initModules(r.getNormalizedModules()), r.getExports() 290 }! function(t, e, r) { 291 for (var n = 0; n < e.length; n++) e[n] = t.resolve(e[n]).id; 292 t.ctx.use(e, r) 293 }(n, t, e) 294 }; 295 a.toUrl = function(t) { 296 var e = n.getUri(), 297 r = "", 298 o = e, 299 a = e.indexOf("//"); 300 return -1 !== a && (r = e.slice(0, a + 2), o = e.slice(a + 2)), r + i.normalizePath(o, t) 301 }, a.load = r.getScript 302 } 303 304 function i(e, r) { 305 var n = e.indexOf("!"); 306 if (-1 !== n) { 307 var o = e.substring(0, n); 308 e = e.substring(n + 1); 309 var i = r.ctx.Loader.Utils.createModule(o); 310 i.initRecursive(); 311 var a = i.getExports() || {}; 312 a.alias && (e = a.alias(t, e, o)) 313 } 314 return e 315 } 316 r.prototype = { 317 constructor: r, 318 reset: function(t) { 319 for (var e in this.ctx.Loader.Utils.mix(this, t), this.modules) this.modules[e].reset() 320 }, 321 getFilter: function() { 322 return n(this, "filter") 323 }, 324 getTag: function() { 325 return n(this, "tag") 326 }, 327 getBase: function() { 328 return this.base 329 },
330 getCharset: function() { 331 return n(this, "charset") 332 }, 333 isCombine: function() { 334 return n(this, "combine") 335 }, 336 getGroup: function() { 337 return n(this, "group") 338 }, 339 addChildModule: function(t, e) { 340 this.modules[t] = e 341 } 342 }, o.prototype = { 343 feloader: 1, 344 constructor: o, 345 config: function() { 346 return this.config 347 }, 348 reset: function(t) { 349 var e = this; 350 (0, this.ctx.Loader.Utils.mix)(e, t), t && t.requires && e.setRequiresModules(t.requires), delete e 351 .packageInfo 352 }, 353 require: function(t) { 354 return this.resolve(t).getExports() 355 }, 356 resolve: function(t) { 357 var e = this.ctx.Loader.Utils; 358 return e.createModule(e.normalizePath(this.id, t)) 359 }, 360 add: function(t) { 361 this.waits[t.id] = t 362 }, 363 remove: function(t) { 364 delete this.waits[t.id] 365 }, 366 contains: function(t) { 367 return this.waits[t.id] 368 }, 369 flush: function() { 370 this.ctx.Loader.Utils.each(this.waits, (function(t) { 371 t.flush() 372 })), this.waits = {} 373 }, 374 getType: function() { 375 var t = this.ctx.Loader.Utils, 376 e = this, 377 r = e.type; 378 if (!r) { 379 var n = e.id; 380 r = t.endsWith(n, ".css") ? "css" : "js", e.type = r 381 } 382 return r 383 }, 384 getAlias: function() { 385 var t = this, 386 e = t.id, 387 r = function(t) { 388 var e, r, n = t.id, 389 o = t.alias; 390 "string" == typeof o && (t.alias = o = [o]); 391 if (o) return o; 392 (e = t.getPackage()) && (e.name === n && (r = e.main) ? (n += "/", "." !== r.charAt(0) && ( 393 r = "./" + r), o = [t.ctx.Loader.Utils.normalizePath(n, r)]) : e.alias && (o = e 394 .alias(n))); 395 return o = t.alias = o || [i(n, t)] 396 }(t), 397 n = []; 398 if (r[0] === e) n = r; 399 else if (r.length > 1) 400 for (var o = 0, a = r.length; o < a; o++) { 401 var s = r[o]; 402 if (s && s !== e) { 403 var u = this.ctx.Loader.Utils.createModule(s).getAlias(); 404 u ? n.push.apply(n, u) : n.push(s) 405 } 406 } else n.push(r[0]); 407 return t.normalizedAlias = n, n 408 }, 409 getNormalizedModules: function() { 410 var t = this, 411 e = t.getAlias(), 412 r = [], 413 n = this.ctx.Loader.Utils; 414 return n.each(e, (function(t) { 415 t && r.push(t) 416 })), t.normalizedModules = n.map(r, (function(e) { 417 return t.ctx.Loader.Utils.createModule(e) 418 })), t.normalizedModules 419 }, 420 fixTwoVersion: function(t) { 421 var e = /(\d+\.\d+\.\d+\/.*)\d+\.\d+\.\d+\//; 422 return e.test(t) && (t = t.replace(e, "$1")), t 423 }, 424 getUri: function() { 425 var t = this; 426 return t.uri = this.ctx.Loader.Utils.normalizeSlash(this.ctx.Config.resolveModFn(t)), this 427 .fixTwoVersion(t.uri) 428 }, 429 getUrl: function() { 430 return this.getUri() 431 }, 432 getExports: function() { 433 var t = this.getNormalizedModules(); 434 return t[0] && t[0].exports 435 }, 436 getPackage: function() { 437 var t = this; 438 if (void 0 !== t.packageInfo) return t.packageInfo; 439 var e, r = t.id, 440 n = this.ctx.Config, 441 o = this.ctx.Loader.Utils, 442 i = o.startsWith, 443 a = o.filter, 444 s = n.packages, 445 u = t.id + "/", 446 c = a(u.split("/"), (function(t) { 447 return t.length > 0 448 })).slice(0, 2).join("/"); 449 if (s[c]) return t.packageInfo = s[c], t.packageInfo; 450 for (e in c = "", s) { 451 var l = e; 452 o.endsWith(l, "/") || (l += "/"), i(u, l) && e.length > c.length && (c = e) 453 } 454 return s[c] ? (t.packageInfo = s[c], t.packageInfo.addChildModule(c, t), t.packageInfo) : i(r, 455 "/") || i(r, "http://") || i(r, "https://") || i(r, "file://") ? (t.packageInfo = null, t 456 .packageInfo) : (t.packageInfo = s.core, t.packageInfo) 457 }, 458 getTag: function() { 459 var t = this; 460 return t.tag || t.getPackage() && t.getPackage().getTag() 461 }, 462 getCharset: function() { 463 var t = this; 464 return t.charset || t.getPackage() && t.getPackage().getCharset() 465 }, 466 setRequiresModules: function(t) { 467 var e = this, 468 r = e.requiredModules = e.ctx.Loader.Utils.map(function(t, e) { 469 for (var r = (t = t || []).length, n = 0; n < r; n++) t[n] = e.resolve(t[n]).id; 470 return t 471 }(t, e), (function(t) { 472 return e.ctx.Loader.Utils.createModule(t) 473 })), 474 n = []; 475 this.ctx.Loader.Utils.each(r, (function(t) { 476 n.push.apply(n, t.getNormalizedModules()) 477 })), e.normalizedRequiredModules = n 478 }, 479 getNormalizedRequiredModules: function() { 480 var t = this; 481 return t.setRequiresModules(t.requires), t.normalizedRequiredModules 482 }, 483 getRequiredModules: function() { 484 var t = this; 485 return t.requiredModules || t.setRequiresModules(t.requires), t.requiredModules 486 }, 487 callFactory: function() { 488 var t = this; 489 return t.factory.apply(t, t.cjs ? [t._require, t.exports, t] : t.ctx.Loader.Utils.map(t 490 .getRequiredModules(), (function(t) { 491 return t.getExports() 492 }))) 493 }, 494 initSelf: function() { 495 var t, r = this, 496 n = r.factory, 497 o = this.ctx.Config, 498 i = this.ctx.Loader.Status, 499 a = this.ctx.Loader.Utils; 500 if ("function" == typeof n) { 501 if (r.exports = {}, o.debug) t = r.callFactory(); 502 else { 503 try { 504 t = r.callFactory() 505 } catch (t) { 506 if (r.status = i.ERROR, r.onError || o.onModuleError) { 507 var s = { 508 type: "init", 509 exception: t, 510 module: r 511 }; 512 r.error = s, r.onError && r.onError(s), o.onModuleError && o.onModuleError(s) 513 } else console.error(t), setTimeout((function() { 514 throw t 515 }), 0); 516 return 0 517 } 518 var u = 1; 519 if (a.each(r.getNormalizedRequiredModules(), (function(t) { 520 if (t.status === i.ERROR) return u = 0, !1 521 })), !u) return 0 522 } 523 t !== e && (r.exports = t) 524 } else r.exports = n; 525 return r.status = i.INITIALIZED, r.afterInit && r.afterInit(r), o.afterModuleInit && o 526 .afterModuleInit(r), 1 527 }, 528 initRecursive: function() { 529 var t = this, 530 e = 1, 531 r = t.status, 532 n = this.ctx.Loader.Status, 533 o = this.ctx.Loader.Utils; 534 return r === n.ERROR ? 0 : (r >= n.INITIALIZING || (t.status = n.INITIALIZING, t.cjs ? e = t 535 .initSelf() : (o.each(t.getNormalizedRequiredModules(), (function(t) { 536 e = e && t.initRecursive() 537 })), e && t.initSelf())), e) 538 }, 539 undef: function() { 540 this.status = this.ctx.Loader.Status.UNLOADED, this.error = null, this.factory = null, this 541 .exports = null 542 } 543 }; 544 t.prototype.initDataStructure = function() { 545 var t = this, 546 e = this.Loader; 547 e.Package = function(e) { 548 return new r(e, t) 549 }, e.Module = function(e) { 550 return new o(e, t) 551 } 552 } 553}(feloader), feloader.prototype.initCssOnLoad = function() { 554 var t = this.Loader.Utils, 555 e = 0, 556 r = {}; 557 558 function n(e) { 559 var r = 0; 560 if (t.webkit) e.sheet && (r = 1); 561 else if (e.sheet) try { 562 e.sheet.cssRules && (r = 1) 563 } catch (t) { 564 "NS_ERROR_DOM_SECURITY_ERR" === t.name && (r = 1) 565 } 566 return r 567 } 568 569 function o() { 570 for (var i in r) { 571 var a = r[i], 572 s = a.node; 573 n(s) && (a.callback && a.callback.call(s), delete r[i]) 574 } 575 e = t.isEmptyObject(r) ? 0 : setTimeout(o, 30) 576 } 577 t.pollCss = function(t, n) { 578 var i = t.href, 579 a = r[i] = {}; 580 a.node = t, a.callback = n, e || o() 581 }, t.isCssLoaded = n 582 }, feloader.prototype.initGetScript = function() { 583 var t, e = this.Env.host.document, 584 r = this.Loader.Utils, 585 n = this.Config, 586 o = {}, 587 i = r.webkit;
588 this.getScript = function(a, s, u) { 589 var c, l, f, d, h, g = s, 590 p = n.crossorigin, 591 v = r.endsWith(a, ".css"); 592 if ("object" == typeof g && (s = g.success, c = g.error, l = g.timeout, u = g.charset, f = g.attrs), 593 v && r.ieMode < 10 && e.getElementsByTagName("style").length + e.getElementsByTagName("link") 594 .length >= 31) return setTimeout((function() { 595 throw new Error( 596 "style and link's number is more than 31.ie < 10 can not insert link: " + a) 597 }), 0), void(c && c()); 598 if ((d = o[a] = o[a] || []).push([s, c]), d.length > 1) return d.node; 599 var m = e.createElement(v ? "link" : "script"); 600 f && r.each(f, (function(t, e) { 601 m.setAttribute(e, t) 602 })), u && (m.charset = u), v ? (m.href = a, m.rel = "stylesheet") : (m.src = a, m.async = !0, p && m 603 .setAttribute("crossorigin", "anonymous")), d.node = m; 604 var y = function(t) { 605 var e, n = t; 606 h && (clearTimeout(h), h = void 0), r.each(o[a], (function(t) { 607 (e = t[n]) && e.call(m) 608 })), delete o[a] 609 }, 610 x = "onload" in m, 611 b = n.forceCssPoll || i && i < 536 || !i && !r.trident && !r.gecko; 612 613 function M() { 614 var t = m.readyState; 615 t && "loaded" !== t && "complete" !== t || (m.onreadystatechange = m.onload = null, y(0)) 616 } 617 return v && b && x && (x = !1), x ? (m.onload = M, m.onerror = function() { 618 m.onerror = null, y(1) 619 }) : v ? r.pollCss(m, (function() { 620 y(0) 621 })) : m.onreadystatechange = M, l && (h = setTimeout((function() { 622 y(1) 623 }), 1e3 * l)), t || (t = r.docHead()), v ? t.appendChild(m) : t.insertBefore(m, t.firstChild), m 624 } 625 }, 626 function(t, e) { 627 function r(t, e) { 628 return function(r) { 629 var n = {}; 630 for (var o in r) n[o] = {}, n[o][t] = r[o]; 631 e.config("modules", n) 632 } 633 } 634 feloader.prototype.initConfig = function() { 635 var t = this, 636 n = this.Loader, 637 o = n.Package, 638 i = n.Utils, 639 a = this.Env.host, 640 s = this.Config, 641 u = a.location, 642 c = s.fns; 643 644 function l(t, e) { 645 if (t = i.normalizeSlash(t), e && "/" !== t.charAt(t.length - 1) && (t += "/"), u) { 646 if (i.startsWith(t, "http:") || i.startsWith(t, "//") || i.startsWith(t, "https:") || i 647 .startsWith(t, "file:")) return t; 648 t = u.protocol + "//" + u.host + i.normalizePath(u.pathname, t) 649 } 650 return t 651 } 652 653 function f(t, e, r) { 654 var n = e.getTag() || s.tag || ""; 655 return n && (r && (n += r), t += "?t=" + n), t 656 } 657 s.loadModsFn = function(e, r) { 658 window.isPortalDomain && (window.gConfig = window.gConfig || {}, e.uri = {}), t.getScript(e.uri, r) 659 }, s.resolveModFn = function(t) { 660 var e, r, n, o = t.id, 661 a = t.path, 662 s = t.getPackage(); 663 if (!s) { 664 var u = i.endsWith(o, ".css"), 665 c = i.endsWith(o, ".js"); 666 return u || c || (o += ".js"), f(o, t, r = "." + (n = u ? "css" : "js")) 667 } 668 var l = s.getBase(), 669 d = s.name; 670 return r = "." + (n = t.getType()), a || (i.endsWith(o, r) && (o = o.slice(0, -r.length)), 671 "function" == typeof(e = s.getFilter() || "") ? a = e(o, n) : "string" == typeof e && ( 672 e && (e = "." + e), a = o + e + r)), f("core" === d ? l + a : o === d ? l.substring( 673 0, l.length - 1) + e + r : l + (a = a.substring(d.length + 1)), t, r) 674 }, c.requires = r("requires", t), c.alias = r("alias", t), c.packages = function(t) { 675 var r = s.packages; 676 return t === e ? r : t ? (i.each(t, (function(t, e) { 677 var n = t.name || e; 678 i.startsWith(n, "/") ? n = u.protocol + "//" + u.host + n : (i.startsWith(n, 679 "./") || i.startsWith(n, "../")) && (n = i.normalizePath(u.href, 680 n)), i.endsWith(n, "/") && (n = n.slice(0, -1)), t.name = n; 681 var a = t.base || t.path; 682 a && (t.base = l(a, !0)), r[n] ? r[n].reset(t) : r[n] = new o(t) 683 })), e) : (s.packages = { 684 core: r.core 685 }, e) 686 }, c.modules = function(t) { 687 t && i.each(t, (function(t, e) { 688 var r = t.uri; 689 r && (t.uri = l(r)), i.createModule(e, t) 690 })) 691 }, c.base = function(t) { 692 var r = s.packages.core; 693 return t ? (this.config("packages", { 694 core: { 695 base: t 696 } 697 }), e) : r && r.getBase() 698 } 699 } 700 }(), 701 function(t, e) { 702 function r(t, e) { 703 if (t || "function" != typeof e) t && t.requires && !t.cjs && (t.cjs = 0); 704 else { 705 var r = []; 706 r.length && ((t = t || {}).requires = r) 707 } 708 return t 709 } 710 711 function n(t) { 712 var e, r, n, o = []; 713 for (e = 0, n = t.length; e < n; e++) "exports" === (r = t[e]) || "module" === r || "require" === r || o 714 .push(r); 715 return o 716 } 717 718 function o(t, e) { 719 var r = ""; - 1 !== t.indexOf("//") && (r = t.substring(0, t.indexOf("//") + 2)), t = t.substring(r.length) 720 .split(/\//), e = e.substring(r.length).split(/\//); 721 for (var n = Math.min(t.length, e.length), o = 0; o < n && t[o] === e[o]; o++); 722 var i = r + t.slice(0, o).join("/") + "/"; 723 return i = i.replace(/\/\/$/, "/") 724 } 725 feloader.prototype.initComboLoader = function() { 726 var t, i, a = this.Loader, 727 s = this.Config, 728 u = a.Status, 729 c = a.Utils, 730 l = c.addModule, 731 f = c.each, 732 d = c.getHash, 733 h = u.LOADING, 734 g = u.LOADED, 735 p = u.ERROR, 736 v = c.ieMode && c.ieMode < 10; 737 738 function m(r, n, o) { 739 var a = r && r.length, 740 u = [], 741 c = []; 742 743 function d() { 744 --a || n(c, u) 745 } 746 f(r, (function(r) { 747 var n, a = { 748 timeout: o, 749 success: function() { 750 c.push(r), n && t && (l(n.id, t.factory, t.config), t = e), d() 751 }, 752 error: function() { 753 u.push(r), d() 754 }, 755 charset: r.charset 756 }; 757 r.combine || ("css" === (n = r.mods[0]).getType() ? n = e : v && (i = n.id, a 758 .attrs = { 759 "data-mod-id": n.id 760 })), s.loadModsFn(r, a) 761 })) 762 } 763 var y = 0; 764 765 function x(t) { 766 this.callback = t, this.head = this.tail = e, this.id = "loader" + ++y 767 } 768 x.add = function(o, a, s, u) { 769 if ("string" == typeof o) 770 if (3 === u && c.isArray(a)) { 771 var f = a; 772 a = s, s = { 773 requires: n(f), 774 cjs: 1 775 } 776 } else 2 === u && a.call && (s = { 777 cjs: 1 778 }); 779 if (c.isArray(o) && 2 === u) { 780 f = o; 781 o = a, a = { 782 requires: n(f), 783 cjs: 1 784 } 785 } 786 "function" == typeof o || 1 === u ? (s = r(s = a, a = o), v ? ((o = function() { 787 var t, e, r, n, o = document.getElementsByTagName("script"); 788 for (e = o.length - 1; e >= 0; e--) 789 if ("interactive" === (n = o[e]).readyState) { 790 t = n; 791 break 792 } r = t ? t.getAttribute("data-mod-id") : i; 793 return r 794 }()) && l(o, a, s), i = null, 0) : t = { 795 factory: a, 796 config: s 797 }) : (v ? (i = null, 0) : t = e, s = r(s, a), l(o, a, s)) 798 }, c.mix(x.prototype, { 799 use: function(t) { 800 for (var e, r = s.timeout, n = [], o = 0; o < t.length; o++) t[o].id && n.push(t[
801 o]); 802 t = n, (e = this.getComboUris(t)).css && m(e.css, (function(t, e) { 803 f(t, (function(t) { 804 f(t.mods, (function(t) { 805 l(t.id, c.noop), t.flush() 806 })) 807 })), f(e, (function(t) { 808 f(t.mods, (function(e) { 809 var r = e.id + 810 " is not loaded! can not find module in uri: " + 811 t.uri; 812 console.error(r), e.status = p; 813 var n = { 814 type: "load", 815 exception: r, 816 module: e 817 }; 818 e.error = n, e.onError && e.onError( 819 n), s.onModuleError && s 820 .onModuleError(n), e.flush() 821 })) 822 })) 823 }), r), e.js && m(e.js, (function(t) { 824 f(e.js, (function(t) { 825 f(t.mods, (function(e) { 826 if (!e.factory) { 827 var r = e.id + 828 " is not loaded! can not find module in uri: " + 829 t.uri; 830 console.error(r), e.status = p; 831 var n = { 832 type: "load", 833 exception: r, 834 module: e 835 }; 836 e.error = n, e.onError && e 837 .onError(n), s 838 .onModuleError && s 839 .onModuleError(n) 840 } 841 e.flush() 842 })) 843 })) 844 }), r) 845 }, 846 calculate: function(t, e, r, n, o) { 847 var i, a, u, c, l = this; 848 for (o = o || [], n = n || {}, i = 0; i < t.length; i++) { 849 if (!n[a = (u = t[i]).id]) 850 if ((c = u.status) !== p) 851 if (s.requireModsPre && l.calculate(u.getNormalizedRequiredModules(), e, 852 r, n, o), c > g) n[a] = 1; 853 else c === g || u.contains(l) || (c !== h && (u.status = h, o.push(u)), 854 u.add(l), l.wait(u)), s.requireModsPre || l.calculate(u 855 .getNormalizedRequiredModules(), e, r, n, o), n[a] = 1; 856 else e.push(u), n[a] = 1 857 } 858 return o 859 }, 860 getComboMods: function(t) { 861 var e, r, n, i, a, s, u, l, f, h = t.length, 862 g = {}, 863 p = {}; 864 for (e = 0; e < h; ++e) 865 if (a = (n = t[e]).getType(), n.getUri(), (i = n.getPackage()) ? (l = i 866 .getBase(), i.name, u = i.getCharset(), s = i.getTag(), f = i 867 .getGroup()) : l = n.id, i && i.isCombine() && f) { 868 var v = g[a] || (g[a] = {}), 869 m = v[f = f + "-" + u] || (v[f] = {}), 870 y = 0; 871 c.each(m, (function(t, e) { 872 if (c.isSameOriginAs(e, l)) { 873 var r = o(e, l); 874 t.push(n), s && s !== t.tag && (t.tag = d(t.tag + s)), 875 delete m[e], m[r] = t, y = 1 876 } 877 })), y || ((r = m[l] = [n]).charset = u, r.tag = s || "") 878 } else { 879 var x = p[a] || (p[a] = {}); 880 (r = x[l]) ? s && s !== r.tag && (r.tag = d(r.tag + s)): ((r = x[l] = []) 881 .charset = u, r.tag = s || ""), r.push(n) 882 } return { 883 groups: g, 884 normals: p 885 } 886 }, 887 getComboUris: function(t) { 888 var r, n, i, a = s.comboPrefix, 889 u = s.comboSep, 890 l = {}, 891 f = s.comboMaxFileNum, 892 d = s.comboMaxUriLength, 893 h = this.getComboMods(t); 894 895 function g(t, r, n) { 896 var i, h = [], 897 g = [], 898 p = n.tag, 899 v = n.charset, 900 m = p ? "?t=" + encodeURIComponent(p) + "." + t : "", 901 y = r.length, 902 x = []; 903 904 function b(t) { 905 return t 906 } 907 908 function M(t) { 909 x.push({ 910 combine: 1, 911 uri: b(t), 912 charset: v, 913 mods: g 914 }) 915 } 916 917 function E() { 918 return function(t, e, r, n, o, i) { 919 if (t && e.length > 1) { 920 for (var a = t.length, s = [], u = 0; u < e.length; u++) s[u] = 921 e[u].substring(a); 922 return r + t + n + s.join(o) + i 923 } 924 return r + n + e.join(o) + i 925 }(i, h, r, a, u, m) 926 } 927 for (var L = 0; L < n.length; L++) { 928 var w = n[L], 929 k = w.getUri(); 930 if (w.getPackage() && w.getPackage().isCombine() && c.startsWith(k, r)) { 931 var C = k.slice(y).replace(/\?.*$/, ""); 932 h.push(C), g.push(w), i === e ? i = -1 !== C.indexOf("/") ? C : "" : 933 "" !== i && "/" === (i = o(i, C)) && (i = ""), (h.length > f || E() 934 .length > d) && (h.pop(), g.pop(), M(E()), h = [], g = [], i = 935 e, L--) 936 } else x.push({ 937 combine: 0, 938 uri: b(k), 939 charset: v, 940 mods: [w] 941 }) 942 } 943 h.length && M(E()), l[t].push.apply(l[t], x) 944 } 945 var p = h.normals, 946 v = h.groups; 947 for (r in p) 948 for (n in l[r] = l[r] || [], p[r]) g(r, n, p[r][n]); 949 for (r in v) 950 for (i in l[r] = l[r] || [], v[r]) 951 for (n in v[r][i]) g(r, n, v[r][i][n]); 952 return l 953 }, 954 flush: function() { 955 var t = this; 956 if (t.callback) { 957 for (var e = t.head, r = t.callback; e;) { 958 var n = e.node, 959 o = n.status; 960 if (!(o >= g || o === p)) return; 961 n.remove(t), e = t.head = e.next 962 } 963 t.callback = null, r() 964 } 965 }, 966 isCompleteLoading: function() { 967 return !this.head 968 }, 969 wait: function(t) { 970 var e = this; 971 if (e.head) { 972 var r = { 973 node: t 974 }; 975 e.tail.next = r, e.tail = r 976 } else e.tail = e.head = { 977 node: t 978 } 979 } 980 }), a.ComboLoader = x 981 } 982 }(), 983 function(t) { 984 t.prototype.initLoader = function() { 985 var e = this.Loader, 986 r = e.Utils, 987 n = r.createModule, 988 o = e.ComboLoader; 989 r.mix(this, { 990 getModule: function(t) { 991 return n(t) 992 }, 993 getPackage: function(t) { 994 return this.Config.packages[t] 995 }, 996 add: function(t, e, r) { 997 o.add(t, e, r, arguments.length) 998 }, 999 use: function(e, n, i) { 1000 var a; 1001 if ("string" == typeof e && (e = e.split(/\s*,\s*/)), !e || e && !e.length) 1002 return t; 1003 "object" == typeof n && (i = n.error, n = n.success); 1004 for (var s = 0; s < e.length; s++) { 1005 var u = e[s]; 1006 (r.startsWith(u, "./") || r.startsWith(u, "../")) && (e[s] = r.normalizePath( 1007 location.href, u)) 1008 } 1009 var c = r.createModules(e), 1010 l = []; 1011 1012 function f(e, n) { 1013 if (console.error("feloader: " + n + " the following modules error"), console 1014 .error(r.map(e, (function(t) { 1015 return t.id 1016 }))), i) { 1017 try { 1018 i.apply(t, e) 1019 } catch (t) { 1020 throw console.error(t), t 1021 } 1022 i = null 1023 } 1024 } 1025 1026 function d() { 1027 0; 1028 var e = [], 1029 o = a.calculate(l, e); 1030 if (e.length) f(e, "load"); 1031 else if (a.isCompleteLoading()) { 1032 if (r.initModules(l)) { 1033 if (n) { 1034 try { 1035 n.apply(t, r.getModulesExports(c)) 1036 } catch (t) { 1037 throw console.error(t), t 1038 } 1039 n = null 1040 } 1041 } else f(r.collectErrors(l), "init") 1042 } else a.callback = d, o.length && a.use(o) 1043 } 1044 return r.each(c, (function(t) { 1045 l.push.apply(l, t.getNormalizedModules()) 1046 })), a = new o(d), d(), t 1047 }, 1048 require: function(t) { 1049 return n(t).getExports() 1050 }, 1051 undef: function(t) { 1052 var e = n(t).getNormalizedModules(); 1053 r.each(e, (function(t) { 1054 t.undef() 1055 })) 1056 } 1057 }); 1058 this.config({ 1059 comboPrefix: "??", 1060 comboSep: ",", 1061 charset: "utf-8", 1062 filter: "", 1063 lang: "zh-cn" 1064 }), this.config("packages", { 1065 core: { 1066 filter: "", 1067 base: "." 1068 } 1069 }) 1070 } 1071 }(feloader), 1072 function(t) { 1073 t.prototype.init = function() {}, window.feloader = t = new t; 1074 var e = t.Env.host && t.Env.host.document, 1075 r = t.Loader.Utils, 1076 n = function(t, e) { 1077 var r = new RegExp("^(.*)(" + e + ")(?:-debug|)?\\.js[^/]*", "i"), 1078 n = new RegExp("(" + e + ")(?:-debug|)?\\.js", "i"), 1079 o = t.src || ""; 1080 if (!o.match(n)) return 0; 1081 var i, a, s = t.getAttribute("data-config"),
1082 u = (s = s ? new Function("return " + s)() : {}).comboPrefix, 1083 c = s.comboSep, 1084 l = o.indexOf(u); 1085 if (-1 === l) a = o.replace(r, "$1"); 1086 else { 1087 "/" !== (a = o.substring(0, l)).charAt(a.length - 1) && (a += "/"); 1088 for (var f = 0, d = (i = o.substring(l + u.length).split(c)).length; f < d; f++) { 1089 var h = i[f]; 1090 if (h.match(n)) { 1091 a += h.replace(r, "$1"); 1092 break 1093 } 1094 } 1095 } 1096 return s.base = s.base || a, s 1097 }, 1098 o = function(t) { 1099 var r, o, i = e.getElementsByTagName("script"); 1100 for (r = i.length - 1; r >= 0; r--) 1101 if (o = n(i[r], t)) return o; 1102 return null 1103 }; 1104 t.init = function(e) { 1105 var r = e.name; 1106 t.config(o(r)) 1107 }, t.onLoad = function(t) { 1108 var e = function() { 1109 setTimeout(t, 16) 1110 }; 1111 "complete" === document.readyState ? e() : window.addEventListener("load", e) 1112 }, t.domReady = function(t) { 1113 window.addEventListener("DOMContentLoaded", (function() { 1114 setTimeout(t, 16) 1115 })) 1116 }, e && e.getElementsByTagName && t.config(r.mix({ 1117 comboMaxUriLength: 2e3, 1118 comboMaxFileNum: 40 1119 }, o("feloader"))); 1120 var i = window, 1121 a = i.require; 1122 i.require = function() { 1123 t.use.apply(t, arguments) 1124 }, i.require.config = function() { 1125 t.config.apply(t, arguments) 1126 }; 1127 var s = i.define; 1128 i.define = function() { 1129 t.add.apply(t, arguments) 1130 }, i.define.amd = {}, t.noConflict = function() { 1131 i.require = a, i.define = s 1132 } 1133 }(feloader), 1134 function(t, e) { 1135 e.gConfig = e.gConfig || {}; 1136 var r, n, o, i = e.gConfig.seed, 1137 a = t.Loader.Utils, 1138 s = /iPhone|iPad|iPod|Android/i.test(navigator.userAgent); 1139 1140 function u(t) { 1141 r && n || e.addEventListener("orientationchange", (function() { 1142 r = e.innerHeight, n = e.innerWidth 1143 })); 1144 var o = 0, 1145 i = 0, 1146 a = t.getBoundingClientRect(); 1147 return !(!a.width && !a.height || a.top - (r || (r = e.innerHeight)) > i || a.bottom + i < 0 || a.left - ( 1148 n || (n = e.innerWidth)) > o || a.right + o < 0) 1149 } 1150 1151 function c(t, r) { 1152 "string" == typeof t && (t = document.querySelector(t)); 1153 var n = { 1154 scroller: e, 1155 rootMarginY: 667, 1156 rootMarginX: 0 1157 }; 1158 if (e.IntersectionObserver) { 1159 var o = new IntersectionObserver((function(e) { 1160 e[0].intersectionRatio > 0 && (r(t), o.disconnect()) 1161 }), { 1162 root: n.scroller === e ? null : n.scroller, 1163 rootMargin: "".concat(n.rootMarginY, "px ").concat(n.rootMarginX, "px"), 1164 threshold: 1e-4 1165 }); 1166 o.observe(t) 1167 } else { 1168 var i = function() { 1169 return u(t) 1170 }; 1171 if (i()) return r(t); 1172 var s = a.throttle((function() { 1173 i() && (n.scroller.removeEventListener("scroll", s, { 1174 passive: !0 1175 }), e.removeEventListener("orientationchange", s), r(t)) 1176 }), 50); 1177 n.scroller.addEventListener("scroll", s, { 1178 passive: !0 1179 }), e.addEventListener("orientationchange", s) 1180 } 1181 } 1182 1183 function l() { 1184 for (var t = s ? "data-mod-name-m" : "data-mod-name-pc", e = document.querySelectorAll("[" + t + "]"), 1185 r = [], n = 0; n < e.length; n++) { 1186 var o = e[n], 1187 i = o.getAttribute("data-loaded"), 1188 a = o.getAttribute(t); 1189 i || "@" !== a[0] || r.push({ 1190 name: a, 1191 dom: o 1192 }) 1193 } 1194 return r 1195 } 1196 1197 function f(t, e) { 1198 e.getAttribute("data-loaded") || (e.setAttribute("data-loaded", !0), feloader.use(t, (function(t) { 1199 new t(e) 1200 }), (function(r) { 1201 setTimeout((function() { 1202 feloader.use(t, (function(t) { 1203 new t(e) 1204 })) 1205 }), 100), console.error(t + "模åå 载失败ï¼100msåéè¯ä¸æ¬¡!"), console.error(r) 1206 }))) 1207 } 1208 1209 function d(t, e) { 1210 if ("string" != typeof t) return !1; 1211 if ("string" != typeof e) return !1; 1212 t = t.split("."), e = e.split("."); 1213 for (var r = Math.min(t.length, e.length), n = 0; n < r; ++n) { 1214 if (t[n] = parseInt(t[n], 10), e[n] = parseInt(e[n], 10), t[n] > e[n]) return 1; 1215 if (t[n] < e[n]) return -1 1216 } 1217 return t.length == e.length ? 0 : t.length < e.length ? -1 : 1 1218 } 1219 1220 function h(t, e) { 1221 for (var r in delete t.data.packages[e], t.data.modules) 0 === r.indexOf(e + "/") && delete t.data.modules[ 1222 r] 1223 } 1224 1225 function g(t) { 1226 return t && "object" == typeof t && !Array.isArray(t) 1227 } 1228 1229 function p(t, e, r) { 1230 return e in t ? Object.defineProperty(t, e, { 1231 value: r, 1232 enumerable: !0, 1233 configurable: !0, 1234 writable: !0 1235 }) : t[e] = r, t 1236 } 1237 1238 function v(t) { 1239 for (var e = arguments.length, r = new Array(e > 1 ? e - 1 : 0), n = 1; n < e; n++) r[n - 1] = arguments[n]; 1240 if (!r.length) return t; 1241 var o = r.shift(); 1242 if (g(t) && g(o)) 1243 for (var i in o) g(o[i]) ? (t[i] || a.mix(t, p({}, i, {})), v(t[i], o[i])) : a.mix(t, p({}, i, o[i])); 1244 return v.apply(void 0, [t].concat(r)) 1245 } 1246 1247 function m(t, e) { 1248 for (var r in t.data.packages) { 1249 if (e.data.packages.hasOwnProperty(r)) 1250 if (t.data.packages[r].version) - 1 === d(t.data.packages[r].version, e.data.packages[r].version) && 1251 h(t, r) 1252 } 1253 return t 1254 } 1255 e.NodeList && !NodeList.prototype.forEach && (NodeList.prototype.forEach = function(t, r) { 1256 r = r || e; 1257 for (var n = 0; n < this.length; n++) t.call(r, this[n], n, this) 1258 }), e.gConfig.feloaderConfig && t.config(e.gConfig.feloaderConfig), -1 !== e.location.href.indexOf( 1259 "feloader=debug") && t.config({ 1260 filter: "debug" 1261 }), i && i.length && (o = 1 === i.length ? i[0].data : function(t) { 1262 for (var e = {}, r = t.length, n = 0; n < r; n++) 1263 for (var o = t[n], i = 0; i < r; i++) 1264 if (n !== i) { 1265 var a; 1266 a = m(o, t[i]), t[n] = a 1267 } for (var s = 0; s < t.length; s++) e = 0 === s ? v(t[s].data, t[s + 1].data) : v(e, t[s] 1268 .data); 1269 return e 1270 }(i), e.gConfig && e.gConfig.devModule && o.packages[e.gConfig.devModule.name] && (o.packages[e.gConfig 1271 .devModule.name].path = e.gConfig.devModule.path), t.config(o)), t.domReady((function() { 1272 var t = l(); 1273 if (t && t.length) 1274 for (var e = 0; e < t.length; e++) ! function(e) { 1275 var r = t[e]; 1276 c(r.dom, (function(t) { 1277 f(r.name, t) 1278 })) 1279 }(e) 1280 })), t.onLoad((function() { 1281 var t = l(); 1282 if (t && t.length) 1283 for (var e = 0; e < t.length; e++) { 1284 var r = t[e]; 1285 f(r.name, r.dom) 1286 } 1287 })) 1288 }(feloader, window);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.