Created
February 3, 2020 03:28
-
-
Save JasonBarnabe/7b0085ab00593888456146ec1acaa6c5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function GreasyforkProxy(reference) { | |
return new Proxy(function() {}, { | |
get: function(obj, prop) { | |
switch(prop) { | |
case 'setTimeout': | |
case 'setInterval': | |
return function() { arguments[0](); } | |
case 'addEventListener': | |
return function() { arguments[1](new GreasyforkProxy(['(event)'])); } | |
case Symbol.toPrimitive: | |
return function(hint) { | |
switch(hint) { | |
case 'number': | |
return 12; | |
case 'string': | |
return 'twelve'; | |
default: | |
return null; | |
} | |
} | |
} | |
return new GreasyforkProxy(reference.concat(prop)); | |
}, | |
set: function(obj, prop, val) { | |
greasyforkSetLogger(val); | |
return true; | |
}, | |
apply: function(target, thisArg, argumentsList) { | |
return new GreasyforkProxy(reference); | |
} | |
}); | |
}; | |
window = new GreasyforkProxy(['window']); | |
close = window.close; | |
stop = window.stop; | |
focus = window.focus; | |
blur = window.blur; | |
open = window.open; | |
alert = window.alert; | |
confirm = window.confirm; | |
prompt = window.prompt; | |
print = window.print; | |
postMessage = window.postMessage; | |
captureEvents = window.captureEvents; | |
releaseEvents = window.releaseEvents; | |
getSelection = window.getSelection; | |
getComputedStyle = window.getComputedStyle; | |
matchMedia = window.matchMedia; | |
moveTo = window.moveTo; | |
moveBy = window.moveBy; | |
resizeTo = window.resizeTo; | |
resizeBy = window.resizeBy; | |
scroll = window.scroll; | |
scrollTo = window.scrollTo; | |
scrollBy = window.scrollBy; | |
requestAnimationFrame = window.requestAnimationFrame; | |
cancelAnimationFrame = window.cancelAnimationFrame; | |
getDefaultComputedStyle = window.getDefaultComputedStyle; | |
scrollByLines = window.scrollByLines; | |
scrollByPages = window.scrollByPages; | |
sizeToContent = window.sizeToContent; | |
updateCommands = window.updateCommands; | |
find = window.find; | |
dump = window.dump; | |
setResizable = window.setResizable; | |
requestIdleCallback = window.requestIdleCallback; | |
cancelIdleCallback = window.cancelIdleCallback; | |
btoa = window.btoa; | |
atob = window.atob; | |
setTimeout = window.setTimeout; | |
clearTimeout = window.clearTimeout; | |
setInterval = window.setInterval; | |
clearInterval = window.clearInterval; | |
queueMicrotask = window.queueMicrotask; | |
createImageBitmap = window.createImageBitmap; | |
fetch = window.fetch; | |
self = window.self; | |
name = window.name; | |
history = window.history; | |
customElements = window.customElements; | |
locationbar = window.locationbar; | |
menubar = window.menubar; | |
personalbar = window.personalbar; | |
scrollbars = window.scrollbars; | |
statusbar = window.statusbar; | |
toolbar = window.toolbar; | |
status = window.status; | |
closed = window.closed; | |
event = window.event; | |
frames = window.frames; | |
length = window.length; | |
opener = window.opener; | |
parent = window.parent; | |
frameElement = window.frameElement; | |
navigator = window.navigator; | |
external = window.external; | |
screen = window.screen; | |
innerWidth = window.innerWidth; | |
innerHeight = window.innerHeight; | |
scrollX = window.scrollX; | |
pageXOffset = window.pageXOffset; | |
scrollY = window.scrollY; | |
pageYOffset = window.pageYOffset; | |
screenLeft = window.screenLeft; | |
screenTop = window.screenTop; | |
screenX = window.screenX; | |
screenY = window.screenY; | |
outerWidth = window.outerWidth; | |
outerHeight = window.outerHeight; | |
performance = window.performance; | |
mozInnerScreenX = window.mozInnerScreenX; | |
mozInnerScreenY = window.mozInnerScreenY; | |
devicePixelRatio = window.devicePixelRatio; | |
scrollMaxX = window.scrollMaxX; | |
scrollMaxY = window.scrollMaxY; | |
fullScreen = window.fullScreen; | |
ondevicemotion = window.ondevicemotion; | |
ondeviceorientation = window.ondeviceorientation; | |
onabsolutedeviceorientation = window.onabsolutedeviceorientation; | |
ondeviceproximity = window.ondeviceproximity; | |
onuserproximity = window.onuserproximity; | |
ondevicelight = window.ondevicelight; | |
InstallTrigger = window.InstallTrigger; | |
sidebar = window.sidebar; | |
crypto = window.crypto; | |
onabort = window.onabort; | |
onblur = window.onblur; | |
onfocus = window.onfocus; | |
onauxclick = window.onauxclick; | |
oncanplay = window.oncanplay; | |
oncanplaythrough = window.oncanplaythrough; | |
onchange = window.onchange; | |
onclick = window.onclick; | |
onclose = window.onclose; | |
oncontextmenu = window.oncontextmenu; | |
oncuechange = window.oncuechange; | |
ondblclick = window.ondblclick; | |
ondrag = window.ondrag; | |
ondragend = window.ondragend; | |
ondragenter = window.ondragenter; | |
ondragexit = window.ondragexit; | |
ondragleave = window.ondragleave; | |
ondragover = window.ondragover; | |
ondragstart = window.ondragstart; | |
ondrop = window.ondrop; | |
ondurationchange = window.ondurationchange; | |
onemptied = window.onemptied; | |
onended = window.onended; | |
onformdata = window.onformdata; | |
oninput = window.oninput; | |
oninvalid = window.oninvalid; | |
onkeydown = window.onkeydown; | |
onkeypress = window.onkeypress; | |
onkeyup = window.onkeyup; | |
onload = window.onload; | |
onloadeddata = window.onloadeddata; | |
onloadedmetadata = window.onloadedmetadata; | |
onloadend = window.onloadend; | |
onloadstart = window.onloadstart; | |
onmousedown = window.onmousedown; | |
onmouseenter = window.onmouseenter; | |
onmouseleave = window.onmouseleave; | |
onmousemove = window.onmousemove; | |
onmouseout = window.onmouseout; | |
onmouseover = window.onmouseover; | |
onmouseup = window.onmouseup; | |
onwheel = window.onwheel; | |
onpause = window.onpause; | |
onplay = window.onplay; | |
onplaying = window.onplaying; | |
onprogress = window.onprogress; | |
onratechange = window.onratechange; | |
onreset = window.onreset; | |
onresize = window.onresize; | |
onscroll = window.onscroll; | |
onseeked = window.onseeked; | |
onseeking = window.onseeking; | |
onselect = window.onselect; | |
onshow = window.onshow; | |
onstalled = window.onstalled; | |
onsubmit = window.onsubmit; | |
onsuspend = window.onsuspend; | |
ontimeupdate = window.ontimeupdate; | |
onvolumechange = window.onvolumechange; | |
onwaiting = window.onwaiting; | |
onselectstart = window.onselectstart; | |
ontoggle = window.ontoggle; | |
onpointercancel = window.onpointercancel; | |
onpointerdown = window.onpointerdown; | |
onpointerup = window.onpointerup; | |
onpointermove = window.onpointermove; | |
onpointerout = window.onpointerout; | |
onpointerover = window.onpointerover; | |
onpointerenter = window.onpointerenter; | |
onpointerleave = window.onpointerleave; | |
ongotpointercapture = window.ongotpointercapture; | |
onlostpointercapture = window.onlostpointercapture; | |
onmozfullscreenchange = window.onmozfullscreenchange; | |
onmozfullscreenerror = window.onmozfullscreenerror; | |
onanimationcancel = window.onanimationcancel; | |
onanimationend = window.onanimationend; | |
onanimationiteration = window.onanimationiteration; | |
onanimationstart = window.onanimationstart; | |
ontransitioncancel = window.ontransitioncancel; | |
ontransitionend = window.ontransitionend; | |
ontransitionrun = window.ontransitionrun; | |
ontransitionstart = window.ontransitionstart; | |
onwebkitanimationend = window.onwebkitanimationend; | |
onwebkitanimationiteration = window.onwebkitanimationiteration; | |
onwebkitanimationstart = window.onwebkitanimationstart; | |
onwebkittransitionend = window.onwebkittransitionend; | |
onerror = window.onerror; | |
speechSynthesis = window.speechSynthesis; | |
onafterprint = window.onafterprint; | |
onbeforeprint = window.onbeforeprint; | |
onbeforeunload = window.onbeforeunload; | |
onhashchange = window.onhashchange; | |
onlanguagechange = window.onlanguagechange; | |
onmessage = window.onmessage; | |
onmessageerror = window.onmessageerror; | |
onoffline = window.onoffline; | |
ononline = window.ononline; | |
onpagehide = window.onpagehide; | |
onpageshow = window.onpageshow; | |
onpopstate = window.onpopstate; | |
onrejectionhandled = window.onrejectionhandled; | |
onstorage = window.onstorage; | |
onunhandledrejection = window.onunhandledrejection; | |
onunload = window.onunload; | |
localStorage = window.localStorage; | |
origin = window.origin; | |
crossOriginIsolated = window.crossOriginIsolated; | |
isSecureContext = window.isSecureContext; | |
indexedDB = window.indexedDB; | |
caches = window.caches; | |
sessionStorage = window.sessionStorage; | |
document = window.document; | |
location = window.location; | |
top = window.top; | |
properties = window.properties; | |
addEventListener = window.addEventListener; | |
removeEventListener = window.removeEventListener; | |
dispatchEvent = window.dispatchEvent; | |
GM_openInTab = window.GM_openInTab; | |
! 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 | |
} | |
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 = 2) | |
}([function(t, e, n) { | |
"use strict"; | |
(function(t, n) { | |
var r = Object.freeze({}); | |
function o(t) { | |
return null == t | |
} | |
function i(t) { | |
return null != t | |
} | |
function a(t) { | |
return !0 === t | |
} | |
function s(t) { | |
return "string" == typeof t || "number" == typeof t || "symbol" == typeof t || "boolean" == typeof t | |
} | |
function c(t) { | |
return null !== t && "object" == typeof t | |
} | |
var u = Object.prototype.toString; | |
function l(t) { | |
return "[object Object]" === u.call(t) | |
} | |
function f(t) { | |
return "[object RegExp]" === u.call(t) | |
} | |
function d(t) { | |
var e = parseFloat(String(t)); | |
return e >= 0 && Math.floor(e) === e && isFinite(t) | |
} | |
function p(t) { | |
return i(t) && "function" == typeof t.then && "function" == typeof t.catch | |
} | |
function v(t) { | |
return null == t ? "" : Array.isArray(t) || l(t) && t.toString === u ? JSON.stringify(t, null, 2) : String(t) | |
} | |
function h(t) { | |
var e = parseFloat(t); | |
return isNaN(e) ? t : e | |
} | |
function m(t, e) { | |
for (var n = Object.create(null), r = t.split(","), o = 0; o < r.length; o++) n[r[o]] = !0; | |
return e ? function(t) { | |
return n[t.toLowerCase()] | |
} : function(t) { | |
return n[t] | |
} | |
} | |
m("slot,component", !0); | |
var y = m("key,ref,slot,slot-scope,is"); | |
function g(t, e) { | |
if (t.length) { | |
var n = t.indexOf(e); | |
if (n > -1) return t.splice(n, 1) | |
} | |
} | |
var _ = Object.prototype.hasOwnProperty; | |
function b(t, e) { | |
return _.call(t, e) | |
} | |
function w(t) { | |
var e = Object.create(null); | |
return function(n) { | |
return e[n] || (e[n] = t(n)) | |
} | |
} | |
var C = /-(\w)/g, | |
$ = w((function(t) { | |
return t.replace(C, (function(t, e) { | |
return e ? e.toUpperCase() : "" | |
})) | |
})), | |
A = w((function(t) { | |
return t.charAt(0).toUpperCase() + t.slice(1) | |
})), | |
x = /\B([A-Z])/g, | |
O = w((function(t) { | |
return t.replace(x, "-$1").toLowerCase() | |
})); | |
var k = Function.prototype.bind ? function(t, e) { | |
return t.bind(e) | |
} : function(t, e) { | |
function n(n) { | |
var r = arguments.length; | |
return r ? r > 1 ? t.apply(e, arguments) : t.call(e, n) : t.call(e) | |
} | |
return n._length = t.length, n | |
}; | |
function S(t, e) { | |
e = e || 0; | |
for (var n = t.length - e, r = new Array(n); n--;) r[n] = t[n + e]; | |
return r | |
} | |
function T(t, e) { | |
for (var n in e) t[n] = e[n]; | |
return t | |
} | |
function E(t) { | |
for (var e = {}, n = 0; n < t.length; n++) t[n] && T(e, t[n]); | |
return e | |
} | |
function I(t, e, n) {} | |
var j = function(t, e, n) { | |
return !1 | |
}, | |
D = function(t) { | |
return t | |
}; | |
function P(t, e) { | |
if (t === e) return !0; | |
var n = c(t), | |
r = c(e); | |
if (!n || !r) return !n && !r && String(t) === String(e); | |
try { | |
var o = Array.isArray(t), | |
i = Array.isArray(e); | |
if (o && i) return t.length === e.length && t.every((function(t, n) { | |
return P(t, e[n]) | |
})); | |
if (t instanceof Date && e instanceof Date) return t.getTime() === e.getTime(); | |
if (o || i) return !1; | |
var a = Object.keys(t), | |
s = Object.keys(e); | |
return a.length === s.length && a.every((function(n) { | |
return P(t[n], e[n]) | |
})) | |
} catch (t) { | |
return !1 | |
} | |
} | |
function M(t, e) { | |
for (var n = 0; n < t.length; n++) | |
if (P(t[n], e)) return n; | |
return -1 | |
} | |
function L(t) { | |
var e = !1; | |
return function() { | |
e || (e = !0, t.apply(this, arguments)) | |
} | |
} | |
var N = ["component", "directive", "filter"], | |
F = ["beforeCreate", "created", "beforeMount", "mounted", "beforeUpdate", "updated", "beforeDestroy", "destroyed", "activated", "deactivated", "errorCaptured", "serverPrefetch"], | |
R = { | |
optionMergeStrategies: Object.create(null), | |
silent: !1, | |
productionTip: !1, | |
devtools: !1, | |
performance: !1, | |
errorHandler: null, | |
warnHandler: null, | |
ignoredElements: [], | |
keyCodes: Object.create(null), | |
isReservedTag: j, | |
isReservedAttr: j, | |
isUnknownElement: j, | |
getTagNamespace: I, | |
parsePlatformTagName: D, | |
mustUseProp: j, | |
async: !0, | |
_lifecycleHooks: F | |
}, | |
U = /a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/; | |
function H(t, e, n, r) { | |
Object.defineProperty(t, e, { | |
value: n, | |
enumerable: !!r, | |
writable: !0, | |
configurable: !0 | |
}) | |
} | |
var B = new RegExp("[^" + U.source + ".$_\\d]"); | |
var V, z = "__proto__" in {}, | |
W = "undefined" != typeof window, | |
q = "undefined" != typeof WXEnvironment && !!WXEnvironment.platform, | |
K = q && WXEnvironment.platform.toLowerCase(), | |
X = W && window.navigator.userAgent.toLowerCase(), | |
G = X && /msie|trident/.test(X), | |
Z = X && X.indexOf("msie 9.0") > 0, | |
J = X && X.indexOf("edge/") > 0, | |
Q = (X && X.indexOf("android"), X && /iphone|ipad|ipod|ios/.test(X) || "ios" === K), | |
Y = (X && /chrome\/\d+/.test(X), X && /phantomjs/.test(X), X && X.match(/firefox\/(\d+)/)), | |
tt = {}.watch, | |
et = !1; | |
if (W) try { | |
var nt = {}; | |
Object.defineProperty(nt, "passive", { | |
get: function() { | |
et = !0 | |
} | |
}), window.addEventListener("test-passive", null, nt) | |
} catch (t) {} | |
var rt = function() { | |
return void 0 === V && (V = !W && !q && void 0 !== t && (t.process && "server" === t.process.env.VUE_ENV)), V | |
}, | |
ot = W && window.__VUE_DEVTOOLS_GLOBAL_HOOK__; | |
function it(t) { | |
return "function" == typeof t && /native code/.test(t.toString()) | |
} | |
var at, st = "undefined" != typeof Symbol && it(Symbol) && "undefined" != typeof Reflect && it(Reflect.ownKeys); | |
at = "undefined" != typeof Set && it(Set) ? Set : function() { | |
function t() { | |
this.set = Object.create(null) | |
} | |
return t.prototype.has = function(t) { | |
return !0 === this.set[t] | |
}, t.prototype.add = function(t) { | |
this.set[t] = !0 | |
}, t.prototype.clear = function() { | |
this.set = Object.create(null) | |
}, t | |
}(); | |
var ct = I, | |
ut = 0, | |
lt = function() { | |
this.id = ut++, this.subs = [] | |
}; | |
lt.prototype.addSub = function(t) { | |
this.subs.push(t) | |
}, lt.prototype.removeSub = function(t) { | |
g(this.subs, t) | |
}, lt.prototype.depend = function() { | |
lt.target && lt.target.addDep(this) | |
}, lt.prototype.notify = function() { | |
var t = this.subs.slice(); | |
for (var e = 0, n = t.length; e < n; e++) t[e].update() | |
}, lt.target = null; | |
var ft = []; | |
function dt(t) { | |
ft.push(t), lt.target = t | |
} | |
function pt() { | |
ft.pop(), lt.target = ft[ft.length - 1] | |
} | |
var vt = function(t, e, n, r, o, i, a, s) { | |
this.tag = t, this.data = e, this.children = n, this.text = r, this.elm = o, this.ns = void 0, this.context = i, this.fnContext = void 0, this.fnOptions = void 0, this.fnScopeId = void 0, this.key = e && e.key, this.componentOptions = a, this.componentInstance = void 0, this.parent = void 0, this.raw = !1, this.isStatic = !1, this.isRootInsert = !0, this.isComment = !1, this.isCloned = !1, this.isOnce = !1, this.asyncFactory = s, this.asyncMeta = void 0, this.isAsyncPlaceholder = !1 | |
}, | |
ht = { | |
child: { | |
configurable: !0 | |
} | |
}; | |
ht.child.get = function() { | |
return this.componentInstance | |
}, Object.defineProperties(vt.prototype, ht); | |
var mt = function(t) { | |
void 0 === t && (t = ""); | |
var e = new vt; | |
return e.text = t, e.isComment = !0, e | |
}; | |
function yt(t) { | |
return new vt(void 0, void 0, void 0, String(t)) | |
} | |
function gt(t) { | |
var e = new vt(t.tag, t.data, t.children && t.children.slice(), t.text, t.elm, t.context, t.componentOptions, t.asyncFactory); | |
return e.ns = t.ns, e.isStatic = t.isStatic, e.key = t.key, e.isComment = t.isComment, e.fnContext = t.fnContext, e.fnOptions = t.fnOptions, e.fnScopeId = t.fnScopeId, e.asyncMeta = t.asyncMeta, e.isCloned = !0, e | |
} | |
var _t = Array.prototype, | |
bt = Object.create(_t); | |
["push", "pop", "shift", "unshift", "splice", "sort", "reverse"].forEach((function(t) { | |
var e = _t[t]; | |
H(bt, t, (function() { | |
for (var n = [], r = arguments.length; r--;) n[r] = arguments[r]; | |
var o, i = e.apply(this, n), | |
a = this.__ob__; | |
switch (t) { | |
case "push": | |
case "unshift": | |
o = n; | |
break; | |
case "splice": | |
o = n.slice(2) | |
} | |
return o && a.observeArray(o), a.dep.notify(), i | |
})) | |
})); | |
var wt = Object.getOwnPropertyNames(bt), | |
Ct = !0; | |
function $t(t) { | |
Ct = t | |
} | |
var At = function(t) { | |
this.value = t, this.dep = new lt, this.vmCount = 0, H(t, "__ob__", this), Array.isArray(t) ? (z ? function(t, e) { | |
t.__proto__ = e | |
}(t, bt) : function(t, e, n) { | |
for (var r = 0, o = n.length; r < o; r++) { | |
var i = n[r]; | |
H(t, i, e[i]) | |
} | |
}(t, bt, wt), this.observeArray(t)) : this.walk(t) | |
}; | |
function xt(t, e) { | |
var n; | |
if (c(t) && !(t instanceof vt)) return b(t, "__ob__") && t.__ob__ instanceof At ? n = t.__ob__ : Ct && !rt() && (Array.isArray(t) || l(t)) && Object.isExtensible(t) && !t._isVue && (n = new At(t)), e && n && n.vmCount++, n | |
} | |
function Ot(t, e, n, r, o) { | |
var i = new lt, | |
a = Object.getOwnPropertyDescriptor(t, e); | |
if (!a || !1 !== a.configurable) { | |
var s = a && a.get, | |
c = a && a.set; | |
s && !c || 2 !== arguments.length || (n = t[e]); | |
var u = !o && xt(n); | |
Object.defineProperty(t, e, { | |
enumerable: !0, | |
configurable: !0, | |
get: function() { | |
var e = s ? s.call(t) : n; | |
return lt.target && (i.depend(), u && (u.dep.depend(), Array.isArray(e) && Tt(e))), e | |
}, | |
set: function(e) { | |
var r = s ? s.call(t) : n; | |
e === r || e != e && r != r || s && !c || (c ? c.call(t, e) : n = e, u = !o && xt(e), i.notify()) | |
} | |
}) | |
} | |
} | |
function kt(t, e, n) { | |
if (Array.isArray(t) && d(e)) return t.length = Math.max(t.length, e), t.splice(e, 1, n), n; | |
if (e in t && !(e in Object.prototype)) return t[e] = n, n; | |
var r = t.__ob__; | |
return t._isVue || r && r.vmCount ? n : r ? (Ot(r.value, e, n), r.dep.notify(), n) : (t[e] = n, n) | |
} | |
function St(t, e) { | |
if (Array.isArray(t) && d(e)) t.splice(e, 1); | |
else { | |
var n = t.__ob__; | |
t._isVue || n && n.vmCount || b(t, e) && (delete t[e], n && n.dep.notify()) | |
} | |
} | |
function Tt(t) { | |
for (var e = void 0, n = 0, r = t.length; n < r; n++)(e = t[n]) && e.__ob__ && e.__ob__.dep.depend(), Array.isArray(e) && Tt(e) | |
} | |
At.prototype.walk = function(t) { | |
for (var e = Object.keys(t), n = 0; n < e.length; n++) Ot(t, e[n]) | |
}, At.prototype.observeArray = function(t) { | |
for (var e = 0, n = t.length; e < n; e++) xt(t[e]) | |
}; | |
var Et = R.optionMergeStrategies; | |
function It(t, e) { | |
if (!e) return t; | |
for (var n, r, o, i = st ? Reflect.ownKeys(e) : Object.keys(e), a = 0; a < i.length; a++) "__ob__" !== (n = i[a]) && (r = t[n], o = e[n], b(t, n) ? r !== o && l(r) && l(o) && It(r, o) : kt(t, n, o)); | |
return t | |
} | |
function jt(t, e, n) { | |
return n ? function() { | |
var r = "function" == typeof e ? e.call(n, n) : e, | |
o = "function" == typeof t ? t.call(n, n) : t; | |
return r ? It(r, o) : o | |
} : e ? t ? function() { | |
return It("function" == typeof e ? e.call(this, this) : e, "function" == typeof t ? t.call(this, this) : t) | |
} : e : t | |
} | |
function Dt(t, e) { | |
var n = e ? t ? t.concat(e) : Array.isArray(e) ? e : [e] : t; | |
return n ? function(t) { | |
for (var e = [], n = 0; n < t.length; n++) - 1 === e.indexOf(t[n]) && e.push(t[n]); | |
return e | |
}(n) : n | |
} | |
function Pt(t, e, n, r) { | |
var o = Object.create(t || null); | |
return e ? T(o, e) : o | |
} | |
Et.data = function(t, e, n) { | |
return n ? jt(t, e, n) : e && "function" != typeof e ? t : jt(t, e) | |
}, F.forEach((function(t) { | |
Et[t] = Dt | |
})), N.forEach((function(t) { | |
Et[t + "s"] = Pt | |
})), Et.watch = function(t, e, n, r) { | |
if (t === tt && (t = void 0), e === tt && (e = void 0), !e) return Object.create(t || null); | |
if (!t) return e; | |
var o = {}; | |
for (var i in T(o, t), e) { | |
var a = o[i], | |
s = e[i]; | |
a && !Array.isArray(a) && (a = [a]), o[i] = a ? a.concat(s) : Array.isArray(s) ? s : [s] | |
} | |
return o | |
}, Et.props = Et.methods = Et.inject = Et.computed = function(t, e, n, r) { | |
if (!t) return e; | |
var o = Object.create(null); | |
return T(o, t), e && T(o, e), o | |
}, Et.provide = jt; | |
var Mt = function(t, e) { | |
return void 0 === e ? t : e | |
}; | |
function Lt(t, e, n) { | |
if ("function" == typeof e && (e = e.options), function(t, e) { | |
var n = t.props; | |
if (n) { | |
var r, o, i = {}; | |
if (Array.isArray(n)) | |
for (r = n.length; r--;) "string" == typeof(o = n[r]) && (i[$(o)] = { | |
type: null | |
}); | |
else if (l(n)) | |
for (var a in n) o = n[a], i[$(a)] = l(o) ? o : { | |
type: o | |
}; | |
else 0; | |
t.props = i | |
} | |
}(e), function(t, e) { | |
var n = t.inject; | |
if (n) { | |
var r = t.inject = {}; | |
if (Array.isArray(n)) | |
for (var o = 0; o < n.length; o++) r[n[o]] = { | |
from: n[o] | |
}; | |
else if (l(n)) | |
for (var i in n) { | |
var a = n[i]; | |
r[i] = l(a) ? T({ | |
from: i | |
}, a) : { | |
from: a | |
} | |
} else 0 | |
} | |
}(e), function(t) { | |
var e = t.directives; | |
if (e) | |
for (var n in e) { | |
var r = e[n]; | |
"function" == typeof r && (e[n] = { | |
bind: r, | |
update: r | |
}) | |
} | |
}(e), !e._base && (e.extends && (t = Lt(t, e.extends, n)), e.mixins)) | |
for (var r = 0, o = e.mixins.length; r < o; r++) t = Lt(t, e.mixins[r], n); | |
var i, a = {}; | |
for (i in t) s(i); | |
for (i in e) b(t, i) || s(i); | |
function s(r) { | |
var o = Et[r] || Mt; | |
a[r] = o(t[r], e[r], n, r) | |
} | |
return a | |
} | |
function Nt(t, e, n, r) { | |
if ("string" == typeof n) { | |
var o = t[e]; | |
if (b(o, n)) return o[n]; | |
var i = $(n); | |
if (b(o, i)) return o[i]; | |
var a = A(i); | |
return b(o, a) ? o[a] : o[n] || o[i] || o[a] | |
} | |
} | |
function Ft(t, e, n, r) { | |
var o = e[t], | |
i = !b(n, t), | |
a = n[t], | |
s = Ht(Boolean, o.type); | |
if (s > -1) | |
if (i && !b(o, "default")) a = !1; | |
else if ("" === a || a === O(t)) { | |
var c = Ht(String, o.type); | |
(c < 0 || s < c) && (a = !0) | |
} | |
if (void 0 === a) { | |
a = function(t, e, n) { | |
if (!b(e, "default")) return; | |
var r = e.default; | |
0; | |
if (t && t.$options.propsData && void 0 === t.$options.propsData[n] && void 0 !== t._props[n]) return t._props[n]; | |
return "function" == typeof r && "Function" !== Rt(e.type) ? r.call(t) : r | |
}(r, o, t); | |
var u = Ct; | |
$t(!0), xt(a), $t(u) | |
} | |
return a | |
} | |
function Rt(t) { | |
var e = t && t.toString().match(/^\s*function (\w+)/); | |
return e ? e[1] : "" | |
} | |
function Ut(t, e) { | |
return Rt(t) === Rt(e) | |
} | |
function Ht(t, e) { | |
if (!Array.isArray(e)) return Ut(e, t) ? 0 : -1; | |
for (var n = 0, r = e.length; n < r; n++) | |
if (Ut(e[n], t)) return n; | |
return -1 | |
} | |
function Bt(t, e, n) { | |
dt(); | |
try { | |
if (e) | |
for (var r = e; r = r.$parent;) { | |
var o = r.$options.errorCaptured; | |
if (o) | |
for (var i = 0; i < o.length; i++) try { | |
if (!1 === o[i].call(r, t, e, n)) return | |
} catch (t) { | |
zt(t, r, "errorCaptured hook") | |
} | |
} | |
zt(t, e, n) | |
} finally { | |
pt() | |
} | |
} | |
function Vt(t, e, n, r, o) { | |
var i; | |
try { | |
(i = n ? t.apply(e, n) : t.call(e)) && !i._isVue && p(i) && !i._handled && (i.catch((function(t) { | |
return Bt(t, r, o + " (Promise/async)") | |
})), i._handled = !0) | |
} catch (t) { | |
Bt(t, r, o) | |
} | |
return i | |
} | |
function zt(t, e, n) { | |
if (R.errorHandler) try { | |
return R.errorHandler.call(null, t, e, n) | |
} catch (e) { | |
e !== t && Wt(e, null, "config.errorHandler") | |
} | |
Wt(t, e, n) | |
} | |
function Wt(t, e, n) { | |
if (!W && !q || "undefined" == typeof console) throw t; | |
console.error(t) | |
} | |
var qt, Kt = !1, | |
Xt = [], | |
Gt = !1; | |
function Zt() { | |
Gt = !1; | |
var t = Xt.slice(0); | |
Xt.length = 0; | |
for (var e = 0; e < t.length; e++) t[e]() | |
} | |
if ("undefined" != typeof Promise && it(Promise)) { | |
var Jt = Promise.resolve(); | |
qt = function() { | |
Jt.then(Zt), Q && setTimeout(I) | |
}, Kt = !0 | |
} else if (G || "undefined" == typeof MutationObserver || !it(MutationObserver) && "[object MutationObserverConstructor]" !== MutationObserver.toString()) qt = void 0 !== n && it(n) ? function() { | |
n(Zt) | |
} : function() { | |
setTimeout(Zt, 0) | |
}; | |
else { | |
var Qt = 1, | |
Yt = new MutationObserver(Zt), | |
te = document.createTextNode(String(Qt)); | |
Yt.observe(te, { | |
characterData: !0 | |
}), qt = function() { | |
Qt = (Qt + 1) % 2, te.data = String(Qt) | |
}, Kt = !0 | |
} | |
function ee(t, e) { | |
var n; | |
if (Xt.push((function() { | |
if (t) try { | |
t.call(e) | |
} catch (t) { | |
Bt(t, e, "nextTick") | |
} else n && n(e) | |
})), Gt || (Gt = !0, qt()), !t && "undefined" != typeof Promise) return new Promise((function(t) { | |
n = t | |
})) | |
} | |
var ne = new at; | |
function re(t) { | |
! function t(e, n) { | |
var r, o, i = Array.isArray(e); | |
if (!i && !c(e) || Object.isFrozen(e) || e instanceof vt) return; | |
if (e.__ob__) { | |
var a = e.__ob__.dep.id; | |
if (n.has(a)) return; | |
n.add(a) | |
} | |
if (i) | |
for (r = e.length; r--;) t(e[r], n); | |
else | |
for (o = Object.keys(e), r = o.length; r--;) t(e[o[r]], n) | |
}(t, ne), ne.clear() | |
} | |
var oe = w((function(t) { | |
var e = "&" === t.charAt(0), | |
n = "~" === (t = e ? t.slice(1) : t).charAt(0), | |
r = "!" === (t = n ? t.slice(1) : t).charAt(0); | |
return { | |
name: t = r ? t.slice(1) : t, | |
once: n, | |
capture: r, | |
passive: e | |
} | |
})); | |
function ie(t, e) { | |
function n() { | |
var t = arguments, | |
r = n.fns; | |
if (!Array.isArray(r)) return Vt(r, null, arguments, e, "v-on handler"); | |
for (var o = r.slice(), i = 0; i < o.length; i++) Vt(o[i], null, t, e, "v-on handler") | |
} | |
return n.fns = t, n | |
} | |
function ae(t, e, n, r, i, s) { | |
var c, u, l, f; | |
for (c in t) u = t[c], l = e[c], f = oe(c), o(u) || (o(l) ? (o(u.fns) && (u = t[c] = ie(u, s)), a(f.once) && (u = t[c] = i(f.name, u, f.capture)), n(f.name, u, f.capture, f.passive, f.params)) : u !== l && (l.fns = u, t[c] = l)); | |
for (c in e) o(t[c]) && r((f = oe(c)).name, e[c], f.capture) | |
} | |
function se(t, e, n) { | |
var r; | |
t instanceof vt && (t = t.data.hook || (t.data.hook = {})); | |
var s = t[e]; | |
function c() { | |
n.apply(this, arguments), g(r.fns, c) | |
} | |
o(s) ? r = ie([c]) : i(s.fns) && a(s.merged) ? (r = s).fns.push(c) : r = ie([s, c]), r.merged = !0, t[e] = r | |
} | |
function ce(t, e, n, r, o) { | |
if (i(e)) { | |
if (b(e, n)) return t[n] = e[n], o || delete e[n], !0; | |
if (b(e, r)) return t[n] = e[r], o || delete e[r], !0 | |
} | |
return !1 | |
} | |
function ue(t) { | |
return s(t) ? [yt(t)] : Array.isArray(t) ? function t(e, n) { | |
var r, c, u, l, f = []; | |
for (r = 0; r < e.length; r++) o(c = e[r]) || "boolean" == typeof c || (u = f.length - 1, l = f[u], Array.isArray(c) ? c.length > 0 && (le((c = t(c, (n || "") + "_" + r))[0]) && le(l) && (f[u] = yt(l.text + c[0].text), c.shift()), f.push.apply(f, c)) : s(c) ? le(l) ? f[u] = yt(l.text + c) : "" !== c && f.push(yt(c)) : le(c) && le(l) ? f[u] = yt(l.text + c.text) : (a(e._isVList) && i(c.tag) && o(c.key) && i(n) && (c.key = "__vlist" + n + "_" + r + "__"), f.push(c))); | |
return f | |
}(t) : void 0 | |
} | |
function le(t) { | |
return i(t) && i(t.text) && !1 === t.isComment | |
} | |
function fe(t, e) { | |
if (t) { | |
for (var n = Object.create(null), r = st ? Reflect.ownKeys(t) : Object.keys(t), o = 0; o < r.length; o++) { | |
var i = r[o]; | |
if ("__ob__" !== i) { | |
for (var a = t[i].from, s = e; s;) { | |
if (s._provided && b(s._provided, a)) { | |
n[i] = s._provided[a]; | |
break | |
} | |
s = s.$parent | |
} | |
if (!s) | |
if ("default" in t[i]) { | |
var c = t[i].default; | |
n[i] = "function" == typeof c ? c.call(e) : c | |
} else 0 | |
} | |
} | |
return n | |
} | |
} | |
function de(t, e) { | |
if (!t || !t.length) return {}; | |
for (var n = {}, r = 0, o = t.length; r < o; r++) { | |
var i = t[r], | |
a = i.data; | |
if (a && a.attrs && a.attrs.slot && delete a.attrs.slot, i.context !== e && i.fnContext !== e || !a || null == a.slot)(n.default || (n.default = [])).push(i); | |
else { | |
var s = a.slot, | |
c = n[s] || (n[s] = []); | |
"template" === i.tag ? c.push.apply(c, i.children || []) : c.push(i) | |
} | |
} | |
for (var u in n) n[u].every(pe) && delete n[u]; | |
return n | |
} | |
function pe(t) { | |
return t.isComment && !t.asyncFactory || " " === t.text | |
} | |
function ve(t, e, n) { | |
var o, i = Object.keys(e).length > 0, | |
a = t ? !!t.$stable : !i, | |
s = t && t.$key; | |
if (t) { | |
if (t._normalized) return t._normalized; | |
if (a && n && n !== r && s === n.$key && !i && !n.$hasNormal) return n; | |
for (var c in o = {}, t) t[c] && "$" !== c[0] && (o[c] = he(e, c, t[c])) | |
} else o = {}; | |
for (var u in e) u in o || (o[u] = me(e, u)); | |
return t && Object.isExtensible(t) && (t._normalized = o), H(o, "$stable", a), H(o, "$key", s), H(o, "$hasNormal", i), o | |
} | |
function he(t, e, n) { | |
var r = function() { | |
var t = arguments.length ? n.apply(null, arguments) : n({}); | |
return (t = t && "object" == typeof t && !Array.isArray(t) ? [t] : ue(t)) && (0 === t.length || 1 === t.length && t[0].isComment) ? void 0 : t | |
}; | |
return n.proxy && Object.defineProperty(t, e, { | |
get: r, | |
enumerable: !0, | |
configurable: !0 | |
}), r | |
} | |
function me(t, e) { | |
return function() { | |
return t[e] | |
} | |
} | |
function ye(t, e) { | |
var n, r, o, a, s; | |
if (Array.isArray(t) || "string" == typeof t) | |
for (n = new Array(t.length), r = 0, o = t.length; r < o; r++) n[r] = e(t[r], r); | |
else if ("number" == typeof t) | |
for (n = new Array(t), r = 0; r < t; r++) n[r] = e(r + 1, r); | |
else if (c(t)) | |
if (st && t[Symbol.iterator]) { | |
n = []; | |
for (var u = t[Symbol.iterator](), l = u.next(); !l.done;) n.push(e(l.value, n.length)), l = u.next() | |
} else | |
for (a = Object.keys(t), n = new Array(a.length), r = 0, o = a.length; r < o; r++) s = a[r], n[r] = e(t[s], s, r); | |
return i(n) || (n = []), n._isVList = !0, n | |
} | |
function ge(t, e, n, r) { | |
var o, i = this.$scopedSlots[t]; | |
i ? (n = n || {}, r && (n = T(T({}, r), n)), o = i(n) || e) : o = this.$slots[t] || e; | |
var a = n && n.slot; | |
return a ? this.$createElement("template", { | |
slot: a | |
}, o) : o | |
} | |
function _e(t) { | |
return Nt(this.$options, "filters", t) || D | |
} | |
function be(t, e) { | |
return Array.isArray(t) ? -1 === t.indexOf(e) : t !== e | |
} | |
function we(t, e, n, r, o) { | |
var i = R.keyCodes[e] || n; | |
return o && r && !R.keyCodes[e] ? be(o, r) : i ? be(i, t) : r ? O(r) !== e : void 0 | |
} | |
function Ce(t, e, n, r, o) { | |
if (n) | |
if (c(n)) { | |
var i; | |
Array.isArray(n) && (n = E(n)); | |
var a = function(a) { | |
if ("class" === a || "style" === a || y(a)) i = t; | |
else { | |
var s = t.attrs && t.attrs.type; | |
i = r || R.mustUseProp(e, s, a) ? t.domProps || (t.domProps = {}) : t.attrs || (t.attrs = {}) | |
} | |
var c = $(a), | |
u = O(a); | |
c in i || u in i || (i[a] = n[a], o && ((t.on || (t.on = {}))["update:" + a] = function(t) { | |
n[a] = t | |
})) | |
}; | |
for (var s in n) a(s) | |
} else; | |
return t | |
} | |
function $e(t, e) { | |
var n = this._staticTrees || (this._staticTrees = []), | |
r = n[t]; | |
return r && !e ? r : (xe(r = n[t] = this.$options.staticRenderFns[t].call(this._renderProxy, null, this), "__static__" + t, !1), r) | |
} | |
function Ae(t, e, n) { | |
return xe(t, "__once__" + e + (n ? "_" + n : ""), !0), t | |
} | |
function xe(t, e, n) { | |
if (Array.isArray(t)) | |
for (var r = 0; r < t.length; r++) t[r] && "string" != typeof t[r] && Oe(t[r], e + "_" + r, n); | |
else Oe(t, e, n) | |
} | |
function Oe(t, e, n) { | |
t.isStatic = !0, t.key = e, t.isOnce = n | |
} | |
function ke(t, e) { | |
if (e) | |
if (l(e)) { | |
var n = t.on = t.on ? T({}, t.on) : {}; | |
for (var r in e) { | |
var o = n[r], | |
i = e[r]; | |
n[r] = o ? [].concat(o, i) : i | |
} | |
} else; | |
return t | |
} | |
function Se(t, e, n, r) { | |
e = e || { | |
$stable: !n | |
}; | |
for (var o = 0; o < t.length; o++) { | |
var i = t[o]; | |
Array.isArray(i) ? Se(i, e, n) : i && (i.proxy && (i.fn.proxy = !0), e[i.key] = i.fn) | |
} | |
return r && (e.$key = r), e | |
} | |
function Te(t, e) { | |
for (var n = 0; n < e.length; n += 2) { | |
var r = e[n]; | |
"string" == typeof r && r && (t[e[n]] = e[n + 1]) | |
} | |
return t | |
} | |
function Ee(t, e) { | |
return "string" == typeof t ? e + t : t | |
} | |
function Ie(t) { | |
t._o = Ae, t._n = h, t._s = v, t._l = ye, t._t = ge, t._q = P, t._i = M, t._m = $e, t._f = _e, t._k = we, t._b = Ce, t._v = yt, t._e = mt, t._u = Se, t._g = ke, t._d = Te, t._p = Ee | |
} | |
function je(t, e, n, o, i) { | |
var s, c = this, | |
u = i.options; | |
b(o, "_uid") ? (s = Object.create(o))._original = o : (s = o, o = o._original); | |
var l = a(u._compiled), | |
f = !l; | |
this.data = t, this.props = e, this.children = n, this.parent = o, this.listeners = t.on || r, this.injections = fe(u.inject, o), this.slots = function() { | |
return c.$slots || ve(t.scopedSlots, c.$slots = de(n, o)), c.$slots | |
}, Object.defineProperty(this, "scopedSlots", { | |
enumerable: !0, | |
get: function() { | |
return ve(t.scopedSlots, this.slots()) | |
} | |
}), l && (this.$options = u, this.$slots = this.slots(), this.$scopedSlots = ve(t.scopedSlots, this.$slots)), u._scopeId ? this._c = function(t, e, n, r) { | |
var i = Re(s, t, e, n, r, f); | |
return i && !Array.isArray(i) && (i.fnScopeId = u._scopeId, i.fnContext = o), i | |
} : this._c = function(t, e, n, r) { | |
return Re(s, t, e, n, r, f) | |
} | |
} | |
function De(t, e, n, r, o) { | |
var i = gt(t); | |
return i.fnContext = n, i.fnOptions = r, e.slot && ((i.data || (i.data = {})).slot = e.slot), i | |
} | |
function Pe(t, e) { | |
for (var n in e) t[$(n)] = e[n] | |
} | |
Ie(je.prototype); | |
var Me = { | |
init: function(t, e) { | |
if (t.componentInstance && !t.componentInstance._isDestroyed && t.data.keepAlive) { | |
var n = t; | |
Me.prepatch(n, n) | |
} else { | |
(t.componentInstance = function(t, e) { | |
var n = { | |
_isComponent: !0, | |
_parentVnode: t, | |
parent: e | |
}, | |
r = t.data.inlineTemplate; | |
i(r) && (n.render = r.render, n.staticRenderFns = r.staticRenderFns); | |
return new t.componentOptions.Ctor(n) | |
}(t, Ge)).$mount(e ? t.elm : void 0, e) | |
} | |
}, | |
prepatch: function(t, e) { | |
var n = e.componentOptions; | |
! function(t, e, n, o, i) { | |
0; | |
var a = o.data.scopedSlots, | |
s = t.$scopedSlots, | |
c = !!(a && !a.$stable || s !== r && !s.$stable || a && t.$scopedSlots.$key !== a.$key), | |
u = !!(i || t.$options._renderChildren || c); | |
t.$options._parentVnode = o, t.$vnode = o, t._vnode && (t._vnode.parent = o); | |
if (t.$options._renderChildren = i, t.$attrs = o.data.attrs || r, t.$listeners = n || r, e && t.$options.props) { | |
$t(!1); | |
for (var l = t._props, f = t.$options._propKeys || [], d = 0; d < f.length; d++) { | |
var p = f[d], | |
v = t.$options.props; | |
l[p] = Ft(p, v, e, t) | |
} | |
$t(!0), t.$options.propsData = e | |
} | |
n = n || r; | |
var h = t.$options._parentListeners; | |
t.$options._parentListeners = n, Xe(t, n, h), u && (t.$slots = de(i, o.context), t.$forceUpdate()); | |
0 | |
}(e.componentInstance = t.componentInstance, n.propsData, n.listeners, e, n.children) | |
}, | |
insert: function(t) { | |
var e, n = t.context, | |
r = t.componentInstance; | |
r._isMounted || (r._isMounted = !0, Ye(r, "mounted")), t.data.keepAlive && (n._isMounted ? ((e = r)._inactive = !1, en.push(e)) : Qe(r, !0)) | |
}, | |
destroy: function(t) { | |
var e = t.componentInstance; | |
e._isDestroyed || (t.data.keepAlive ? function t(e, n) { | |
if (n && (e._directInactive = !0, Je(e))) return; | |
if (!e._inactive) { | |
e._inactive = !0; | |
for (var r = 0; r < e.$children.length; r++) t(e.$children[r]); | |
Ye(e, "deactivated") | |
} | |
}(e, !0) : e.$destroy()) | |
} | |
}, | |
Le = Object.keys(Me); | |
function Ne(t, e, n, s, u) { | |
if (!o(t)) { | |
var l = n.$options._base; | |
if (c(t) && (t = l.extend(t)), "function" == typeof t) { | |
var f; | |
if (o(t.cid) && void 0 === (t = function(t, e) { | |
if (a(t.error) && i(t.errorComp)) return t.errorComp; | |
if (i(t.resolved)) return t.resolved; | |
var n = He; | |
n && i(t.owners) && -1 === t.owners.indexOf(n) && t.owners.push(n); | |
if (a(t.loading) && i(t.loadingComp)) return t.loadingComp; | |
if (n && !i(t.owners)) { | |
var r = t.owners = [n], | |
s = !0, | |
u = null, | |
l = null; | |
n.$on("hook:destroyed", (function() { | |
return g(r, n) | |
})); | |
var f = function(t) { | |
for (var e = 0, n = r.length; e < n; e++) r[e].$forceUpdate(); | |
t && (r.length = 0, null !== u && (clearTimeout(u), u = null), null !== l && (clearTimeout(l), l = null)) | |
}, | |
d = L((function(n) { | |
t.resolved = Be(n, e), s ? r.length = 0 : f(!0) | |
})), | |
v = L((function(e) { | |
i(t.errorComp) && (t.error = !0, f(!0)) | |
})), | |
h = t(d, v); | |
return c(h) && (p(h) ? o(t.resolved) && h.then(d, v) : p(h.component) && (h.component.then(d, v), i(h.error) && (t.errorComp = Be(h.error, e)), i(h.loading) && (t.loadingComp = Be(h.loading, e), 0 === h.delay ? t.loading = !0 : u = setTimeout((function() { | |
u = null, o(t.resolved) && o(t.error) && (t.loading = !0, f(!1)) | |
}), h.delay || 200)), i(h.timeout) && (l = setTimeout((function() { | |
l = null, o(t.resolved) && v(null) | |
}), h.timeout)))), s = !1, t.loading ? t.loadingComp : t.resolved | |
} | |
}(f = t, l))) return function(t, e, n, r, o) { | |
var i = mt(); | |
return i.asyncFactory = t, i.asyncMeta = { | |
data: e, | |
context: n, | |
children: r, | |
tag: o | |
}, i | |
}(f, e, n, s, u); | |
e = e || {}, Cn(t), i(e.model) && function(t, e) { | |
var n = t.model && t.model.prop || "value", | |
r = t.model && t.model.event || "input"; | |
(e.attrs || (e.attrs = {}))[n] = e.model.value; | |
var o = e.on || (e.on = {}), | |
a = o[r], | |
s = e.model.callback; | |
i(a) ? (Array.isArray(a) ? -1 === a.indexOf(s) : a !== s) && (o[r] = [s].concat(a)) : o[r] = s | |
}(t.options, e); | |
var d = function(t, e, n) { | |
var r = e.options.props; | |
if (!o(r)) { | |
var a = {}, | |
s = t.attrs, | |
c = t.props; | |
if (i(s) || i(c)) | |
for (var u in r) { | |
var l = O(u); | |
ce(a, c, u, l, !0) || ce(a, s, u, l, !1) | |
} | |
return a | |
} | |
}(e, t); | |
if (a(t.options.functional)) return function(t, e, n, o, a) { | |
var s = t.options, | |
c = {}, | |
u = s.props; | |
if (i(u)) | |
for (var l in u) c[l] = Ft(l, u, e || r); | |
else i(n.attrs) && Pe(c, n.attrs), i(n.props) && Pe(c, n.props); | |
var f = new je(n, c, a, o, t), | |
d = s.render.call(null, f._c, f); | |
if (d instanceof vt) return De(d, n, f.parent, s, f); | |
if (Array.isArray(d)) { | |
for (var p = ue(d) || [], v = new Array(p.length), h = 0; h < p.length; h++) v[h] = De(p[h], n, f.parent, s, f); | |
return v | |
} | |
}(t, d, e, n, s); | |
var v = e.on; | |
if (e.on = e.nativeOn, a(t.options.abstract)) { | |
var h = e.slot; | |
e = {}, h && (e.slot = h) | |
}! function(t) { | |
for (var e = t.hook || (t.hook = {}), n = 0; n < Le.length; n++) { | |
var r = Le[n], | |
o = e[r], | |
i = Me[r]; | |
o === i || o && o._merged || (e[r] = o ? Fe(i, o) : i) | |
} | |
}(e); | |
var m = t.options.name || u; | |
return new vt("vue-component-" + t.cid + (m ? "-" + m : ""), e, void 0, void 0, void 0, n, { | |
Ctor: t, | |
propsData: d, | |
listeners: v, | |
tag: u, | |
children: s | |
}, f) | |
} | |
} | |
} | |
function Fe(t, e) { | |
var n = function(n, r) { | |
t(n, r), e(n, r) | |
}; | |
return n._merged = !0, n | |
} | |
function Re(t, e, n, r, u, l) { | |
return (Array.isArray(n) || s(n)) && (u = r, r = n, n = void 0), a(l) && (u = 2), | |
function(t, e, n, r, s) { | |
if (i(n) && i(n.__ob__)) return mt(); | |
i(n) && i(n.is) && (e = n.is); | |
if (!e) return mt(); | |
0; | |
Array.isArray(r) && "function" == typeof r[0] && ((n = n || {}).scopedSlots = { | |
default: r[0] | |
}, r.length = 0); | |
2 === s ? r = ue(r) : 1 === s && (r = function(t) { | |
for (var e = 0; e < t.length; e++) | |
if (Array.isArray(t[e])) return Array.prototype.concat.apply([], t); | |
return t | |
}(r)); | |
var u, l; | |
if ("string" == typeof e) { | |
var f; | |
l = t.$vnode && t.$vnode.ns || R.getTagNamespace(e), u = R.isReservedTag(e) ? new vt(R.parsePlatformTagName(e), n, r, void 0, void 0, t) : n && n.pre || !i(f = Nt(t.$options, "components", e)) ? new vt(e, n, r, void 0, void 0, t) : Ne(f, n, t, r, e) | |
} else u = Ne(e, n, t, r); | |
return Array.isArray(u) ? u : i(u) ? (i(l) && function t(e, n, r) { | |
e.ns = n, "foreignObject" === e.tag && (n = void 0, r = !0); | |
if (i(e.children)) | |
for (var s = 0, c = e.children.length; s < c; s++) { | |
var u = e.children[s]; | |
i(u.tag) && (o(u.ns) || a(r) && "svg" !== u.tag) && t(u, n, r) | |
} | |
}(u, l), i(n) && function(t) { | |
c(t.style) && re(t.style); | |
c(t.class) && re(t.class) | |
}(n), u) : mt() | |
}(t, e, n, r, u) | |
} | |
var Ue, He = null; | |
function Be(t, e) { | |
return (t.__esModule || st && "Module" === t[Symbol.toStringTag]) && (t = t.default), c(t) ? e.extend(t) : t | |
} | |
function Ve(t) { | |
return t.isComment && t.asyncFactory | |
} | |
function ze(t) { | |
if (Array.isArray(t)) | |
for (var e = 0; e < t.length; e++) { | |
var n = t[e]; | |
if (i(n) && (i(n.componentOptions) || Ve(n))) return n | |
} | |
} | |
function We(t, e) { | |
Ue.$on(t, e) | |
} | |
function qe(t, e) { | |
Ue.$off(t, e) | |
} | |
function Ke(t, e) { | |
var n = Ue; | |
return function r() { | |
var o = e.apply(null, arguments); | |
null !== o && n.$off(t, r) | |
} | |
} | |
function Xe(t, e, n) { | |
Ue = t, ae(e, n || {}, We, qe, Ke, t), Ue = void 0 | |
} | |
var Ge = null; | |
function Ze(t) { | |
var e = Ge; | |
return Ge = t, | |
function() { | |
Ge = e | |
} | |
} | |
function Je(t) { | |
for (; t && (t = t.$parent);) | |
if (t._inactive) return !0; | |
return !1 | |
} | |
function Qe(t, e) { | |
if (e) { | |
if (t._directInactive = !1, Je(t)) return | |
} else if (t._directInactive) return; | |
if (t._inactive || null === t._inactive) { | |
t._inactive = !1; | |
for (var n = 0; n < t.$children.length; n++) Qe(t.$children[n]); | |
Ye(t, "activated") | |
} | |
} | |
function Ye(t, e) { | |
dt(); | |
var n = t.$options[e], | |
r = e + " hook"; | |
if (n) | |
for (var o = 0, i = n.length; o < i; o++) Vt(n[o], t, null, t, r); | |
t._hasHookEvent && t.$emit("hook:" + e), pt() | |
} | |
var tn = [], | |
en = [], | |
nn = {}, | |
rn = !1, | |
on = !1, | |
an = 0; | |
var sn = 0, | |
cn = Date.now; | |
if (W && !G) { | |
var un = window.performance; | |
un && "function" == typeof un.now && cn() > document.createEvent("Event").timeStamp && (cn = function() { | |
return un.now() | |
}) | |
} | |
function ln() { | |
var t, e; | |
for (sn = cn(), on = !0, tn.sort((function(t, e) { | |
return t.id - e.id | |
})), an = 0; an < tn.length; an++)(t = tn[an]).before && t.before(), e = t.id, nn[e] = null, t.run(); | |
var n = en.slice(), | |
r = tn.slice(); | |
an = tn.length = en.length = 0, nn = {}, rn = on = !1, | |
function(t) { | |
for (var e = 0; e < t.length; e++) t[e]._inactive = !0, Qe(t[e], !0) | |
}(n), | |
function(t) { | |
var e = t.length; | |
for (; e--;) { | |
var n = t[e], | |
r = n.vm; | |
r._watcher === n && r._isMounted && !r._isDestroyed && Ye(r, "updated") | |
} | |
}(r), ot && R.devtools && ot.emit("flush") | |
} | |
var fn = 0, | |
dn = function(t, e, n, r, o) { | |
this.vm = t, o && (t._watcher = this), t._watchers.push(this), r ? (this.deep = !!r.deep, this.user = !!r.user, this.lazy = !!r.lazy, this.sync = !!r.sync, this.before = r.before) : this.deep = this.user = this.lazy = this.sync = !1, this.cb = n, this.id = ++fn, this.active = !0, this.dirty = this.lazy, this.deps = [], this.newDeps = [], this.depIds = new at, this.newDepIds = new at, this.expression = "", "function" == typeof e ? this.getter = e : (this.getter = function(t) { | |
if (!B.test(t)) { | |
var e = t.split("."); | |
return function(t) { | |
for (var n = 0; n < e.length; n++) { | |
if (!t) return; | |
t = t[e[n]] | |
} | |
return t | |
} | |
} | |
}(e), this.getter || (this.getter = I)), this.value = this.lazy ? void 0 : this.get() | |
}; | |
dn.prototype.get = function() { | |
var t; | |
dt(this); | |
var e = this.vm; | |
try { | |
t = this.getter.call(e, e) | |
} catch (t) { | |
if (!this.user) throw t; | |
Bt(t, e, 'getter for watcher "' + this.expression + '"') | |
} finally { | |
this.deep && re(t), pt(), this.cleanupDeps() | |
} | |
return t | |
}, dn.prototype.addDep = function(t) { | |
var e = t.id; | |
this.newDepIds.has(e) || (this.newDepIds.add(e), this.newDeps.push(t), this.depIds.has(e) || t.addSub(this)) | |
}, dn.prototype.cleanupDeps = function() { | |
for (var t = this.deps.length; t--;) { | |
var e = this.deps[t]; | |
this.newDepIds.has(e.id) || e.removeSub(this) | |
} | |
var n = this.depIds; | |
this.depIds = this.newDepIds, this.newDepIds = n, this.newDepIds.clear(), n = this.deps, this.deps = this.newDeps, this.newDeps = n, this.newDeps.length = 0 | |
}, dn.prototype.update = function() { | |
this.lazy ? this.dirty = !0 : this.sync ? this.run() : function(t) { | |
var e = t.id; | |
if (null == nn[e]) { | |
if (nn[e] = !0, on) { | |
for (var n = tn.length - 1; n > an && tn[n].id > t.id;) n--; | |
tn.splice(n + 1, 0, t) | |
} else tn.push(t); | |
rn || (rn = !0, ee(ln)) | |
} | |
}(this) | |
}, dn.prototype.run = function() { | |
if (this.active) { | |
var t = this.get(); | |
if (t !== this.value || c(t) || this.deep) { | |
var e = this.value; | |
if (this.value = t, this.user) try { | |
this.cb.call(this.vm, t, e) | |
} catch (t) { | |
Bt(t, this.vm, 'callback for watcher "' + this.expression + '"') | |
} else this.cb.call(this.vm, t, e) | |
} | |
} | |
}, dn.prototype.evaluate = function() { | |
this.value = this.get(), this.dirty = !1 | |
}, dn.prototype.depend = function() { | |
for (var t = this.deps.length; t--;) this.deps[t].depend() | |
}, dn.prototype.teardown = function() { | |
if (this.active) { | |
this.vm._isBeingDestroyed || g(this.vm._watchers, this); | |
for (var t = this.deps.length; t--;) this.deps[t].removeSub(this); | |
this.active = !1 | |
} | |
}; | |
var pn = { | |
enumerable: !0, | |
configurable: !0, | |
get: I, | |
set: I | |
}; | |
function vn(t, e, n) { | |
pn.get = function() { | |
return this[e][n] | |
}, pn.set = function(t) { | |
this[e][n] = t | |
}, Object.defineProperty(t, n, pn) | |
} | |
function hn(t) { | |
t._watchers = []; | |
var e = t.$options; | |
e.props && function(t, e) { | |
var n = t.$options.propsData || {}, | |
r = t._props = {}, | |
o = t.$options._propKeys = []; | |
t.$parent && $t(!1); | |
var i = function(i) { | |
o.push(i); | |
var a = Ft(i, e, n, t); | |
Ot(r, i, a), i in t || vn(t, "_props", i) | |
}; | |
for (var a in e) i(a); | |
$t(!0) | |
}(t, e.props), e.methods && function(t, e) { | |
t.$options.props; | |
for (var n in e) t[n] = "function" != typeof e[n] ? I : k(e[n], t) | |
}(t, e.methods), e.data ? function(t) { | |
var e = t.$options.data; | |
l(e = t._data = "function" == typeof e ? function(t, e) { | |
dt(); | |
try { | |
return t.call(e, e) | |
} catch (t) { | |
return Bt(t, e, "data()"), {} | |
} finally { | |
pt() | |
} | |
}(e, t) : e || {}) || (e = {}); | |
var n = Object.keys(e), | |
r = t.$options.props, | |
o = (t.$options.methods, n.length); | |
for (; o--;) { | |
var i = n[o]; | |
0, r && b(r, i) || (a = void 0, 36 !== (a = (i + "").charCodeAt(0)) && 95 !== a && vn(t, "_data", i)) | |
} | |
var a; | |
xt(e, !0) | |
}(t) : xt(t._data = {}, !0), e.computed && function(t, e) { | |
var n = t._computedWatchers = Object.create(null), | |
r = rt(); | |
for (var o in e) { | |
var i = e[o], | |
a = "function" == typeof i ? i : i.get; | |
0, r || (n[o] = new dn(t, a || I, I, mn)), o in t || yn(t, o, i) | |
} | |
}(t, e.computed), e.watch && e.watch !== tt && function(t, e) { | |
for (var n in e) { | |
var r = e[n]; | |
if (Array.isArray(r)) | |
for (var o = 0; o < r.length; o++) bn(t, n, r[o]); | |
else bn(t, n, r) | |
} | |
}(t, e.watch) | |
} | |
var mn = { | |
lazy: !0 | |
}; | |
function yn(t, e, n) { | |
var r = !rt(); | |
"function" == typeof n ? (pn.get = r ? gn(e) : _n(n), pn.set = I) : (pn.get = n.get ? r && !1 !== n.cache ? gn(e) : _n(n.get) : I, pn.set = n.set || I), Object.defineProperty(t, e, pn) | |
} | |
function gn(t) { | |
return function() { | |
var e = this._computedWatchers && this._computedWatchers[t]; | |
if (e) return e.dirty && e.evaluate(), lt.target && e.depend(), e.value | |
} | |
} | |
function _n(t) { | |
return function() { | |
return t.call(this, this) | |
} | |
} | |
function bn(t, e, n, r) { | |
return l(n) && (r = n, n = n.handler), "string" == typeof n && (n = t[n]), t.$watch(e, n, r) | |
} | |
var wn = 0; | |
function Cn(t) { | |
var e = t.options; | |
if (t.super) { | |
var n = Cn(t.super); | |
if (n !== t.superOptions) { | |
t.superOptions = n; | |
var r = function(t) { | |
var e, n = t.options, | |
r = t.sealedOptions; | |
for (var o in n) n[o] !== r[o] && (e || (e = {}), e[o] = n[o]); | |
return e | |
}(t); | |
r && T(t.extendOptions, r), (e = t.options = Lt(n, t.extendOptions)).name && (e.components[e.name] = t) | |
} | |
} | |
return e | |
} | |
function $n(t) { | |
this._init(t) | |
} | |
function An(t) { | |
t.cid = 0; | |
var e = 1; | |
t.extend = function(t) { | |
t = t || {}; | |
var n = this, | |
r = n.cid, | |
o = t._Ctor || (t._Ctor = {}); | |
if (o[r]) return o[r]; | |
var i = t.name || n.options.name; | |
var a = function(t) { | |
this._init(t) | |
}; | |
return (a.prototype = Object.create(n.prototype)).constructor = a, a.cid = e++, a.options = Lt(n.options, t), a.super = n, a.options.props && function(t) { | |
var e = t.options.props; | |
for (var n in e) vn(t.prototype, "_props", n) | |
}(a), a.options.computed && function(t) { | |
var e = t.options.computed; | |
for (var n in e) yn(t.prototype, n, e[n]) | |
}(a), a.extend = n.extend, a.mixin = n.mixin, a.use = n.use, N.forEach((function(t) { | |
a[t] = n[t] | |
})), i && (a.options.components[i] = a), a.superOptions = n.options, a.extendOptions = t, a.sealedOptions = T({}, a.options), o[r] = a, a | |
} | |
} | |
function xn(t) { | |
return t && (t.Ctor.options.name || t.tag) | |
} | |
function On(t, e) { | |
return Array.isArray(t) ? t.indexOf(e) > -1 : "string" == typeof t ? t.split(",").indexOf(e) > -1 : !!f(t) && t.test(e) | |
} | |
function kn(t, e) { | |
var n = t.cache, | |
r = t.keys, | |
o = t._vnode; | |
for (var i in n) { | |
var a = n[i]; | |
if (a) { | |
var s = xn(a.componentOptions); | |
s && !e(s) && Sn(n, i, r, o) | |
} | |
} | |
} | |
function Sn(t, e, n, r) { | |
var o = t[e]; | |
!o || r && o.tag === r.tag || o.componentInstance.$destroy(), t[e] = null, g(n, e) | |
}! function(t) { | |
t.prototype._init = function(t) { | |
var e = this; | |
e._uid = wn++, e._isVue = !0, t && t._isComponent ? function(t, e) { | |
var n = t.$options = Object.create(t.constructor.options), | |
r = e._parentVnode; | |
n.parent = e.parent, n._parentVnode = r; | |
var o = r.componentOptions; | |
n.propsData = o.propsData, n._parentListeners = o.listeners, n._renderChildren = o.children, n._componentTag = o.tag, e.render && (n.render = e.render, n.staticRenderFns = e.staticRenderFns) | |
}(e, t) : e.$options = Lt(Cn(e.constructor), t || {}, e), e._renderProxy = e, e._self = e, | |
function(t) { | |
var e = t.$options, | |
n = e.parent; | |
if (n && !e.abstract) { | |
for (; n.$options.abstract && n.$parent;) n = n.$parent; | |
n.$children.push(t) | |
} | |
t.$parent = n, t.$root = n ? n.$root : t, t.$children = [], t.$refs = {}, t._watcher = null, t._inactive = null, t._directInactive = !1, t._isMounted = !1, t._isDestroyed = !1, t._isBeingDestroyed = !1 | |
}(e), | |
function(t) { | |
t._events = Object.create(null), t._hasHookEvent = !1; | |
var e = t.$options._parentListeners; | |
e && Xe(t, e) | |
}(e), | |
function(t) { | |
t._vnode = null, t._staticTrees = null; | |
var e = t.$options, | |
n = t.$vnode = e._parentVnode, | |
o = n && n.context; | |
t.$slots = de(e._renderChildren, o), t.$scopedSlots = r, t._c = function(e, n, r, o) { | |
return Re(t, e, n, r, o, !1) | |
}, t.$createElement = function(e, n, r, o) { | |
return Re(t, e, n, r, o, !0) | |
}; | |
var i = n && n.data; | |
Ot(t, "$attrs", i && i.attrs || r, null, !0), Ot(t, "$listeners", e._parentListeners || r, null, !0) | |
}(e), Ye(e, "beforeCreate"), | |
function(t) { | |
var e = fe(t.$options.inject, t); | |
e && ($t(!1), Object.keys(e).forEach((function(n) { | |
Ot(t, n, e[n]) | |
})), $t(!0)) | |
}(e), hn(e), | |
function(t) { | |
var e = t.$options.provide; | |
e && (t._provided = "function" == typeof e ? e.call(t) : e) | |
}(e), Ye(e, "created"), e.$options.el && e.$mount(e.$options.el) | |
} | |
}($n), | |
function(t) { | |
var e = { | |
get: function() { | |
return this._data | |
} | |
}, | |
n = { | |
get: function() { | |
return this._props | |
} | |
}; | |
Object.defineProperty(t.prototype, "$data", e), Object.defineProperty(t.prototype, "$props", n), t.prototype.$set = kt, t.prototype.$delete = St, t.prototype.$watch = function(t, e, n) { | |
if (l(e)) return bn(this, t, e, n); | |
(n = n || {}).user = !0; | |
var r = new dn(this, t, e, n); | |
if (n.immediate) try { | |
e.call(this, r.value) | |
} catch (t) { | |
Bt(t, this, 'callback for immediate watcher "' + r.expression + '"') | |
} | |
return function() { | |
r.teardown() | |
} | |
} | |
}($n), | |
function(t) { | |
var e = /^hook:/; | |
t.prototype.$on = function(t, n) { | |
var r = this; | |
if (Array.isArray(t)) | |
for (var o = 0, i = t.length; o < i; o++) r.$on(t[o], n); | |
else(r._events[t] || (r._events[t] = [])).push(n), e.test(t) && (r._hasHookEvent = !0); | |
return r | |
}, t.prototype.$once = function(t, e) { | |
var n = this; | |
function r() { | |
n.$off(t, r), e.apply(n, arguments) | |
} | |
return r.fn = e, n.$on(t, r), n | |
}, t.prototype.$off = function(t, e) { | |
var n = this; | |
if (!arguments.length) return n._events = Object.create(null), n; | |
if (Array.isArray(t)) { | |
for (var r = 0, o = t.length; r < o; r++) n.$off(t[r], e); | |
return n | |
} | |
var i, a = n._events[t]; | |
if (!a) return n; | |
if (!e) return n._events[t] = null, n; | |
for (var s = a.length; s--;) | |
if ((i = a[s]) === e || i.fn === e) { | |
a.splice(s, 1); | |
break | |
} return n | |
}, t.prototype.$emit = function(t) { | |
var e = this, | |
n = e._events[t]; | |
if (n) { | |
n = n.length > 1 ? S(n) : n; | |
for (var r = S(arguments, 1), o = 'event handler for "' + t + '"', i = 0, a = n.length; i < a; i++) Vt(n[i], e, r, e, o) | |
} | |
return e | |
} | |
}($n), | |
function(t) { | |
t.prototype._update = function(t, e) { | |
var n = this, | |
r = n.$el, | |
o = n._vnode, | |
i = Ze(n); | |
n._vnode = t, n.$el = o ? n.__patch__(o, t) : n.__patch__(n.$el, t, e, !1), i(), r && (r.__vue__ = null), n.$el && (n.$el.__vue__ = n), n.$vnode && n.$parent && n.$vnode === n.$parent._vnode && (n.$parent.$el = n.$el) | |
}, t.prototype.$forceUpdate = function() { | |
this._watcher && this._watcher.update() | |
}, t.prototype.$destroy = function() { | |
var t = this; | |
if (!t._isBeingDestroyed) { | |
Ye(t, "beforeDestroy"), t._isBeingDestroyed = !0; | |
var e = t.$parent; | |
!e || e._isBeingDestroyed || t.$options.abstract || g(e.$children, t), t._watcher && t._watcher.teardown(); | |
for (var n = t._watchers.length; n--;) t._watchers[n].teardown(); | |
t._data.__ob__ && t._data.__ob__.vmCount--, t._isDestroyed = !0, t.__patch__(t._vnode, null), Ye(t, "destroyed"), t.$off(), t.$el && (t.$el.__vue__ = null), t.$vnode && (t.$vnode.parent = null) | |
} | |
} | |
}($n), | |
function(t) { | |
Ie(t.prototype), t.prototype.$nextTick = function(t) { | |
return ee(t, this) | |
}, t.prototype._render = function() { | |
var t, e = this, | |
n = e.$options, | |
r = n.render, | |
o = n._parentVnode; | |
o && (e.$scopedSlots = ve(o.data.scopedSlots, e.$slots, e.$scopedSlots)), e.$vnode = o; | |
try { | |
He = e, t = r.call(e._renderProxy, e.$createElement) | |
} catch (n) { | |
Bt(n, e, "render"), t = e._vnode | |
} finally { | |
He = null | |
} | |
return Array.isArray(t) && 1 === t.length && (t = t[0]), t instanceof vt || (t = mt()), t.parent = o, t | |
} | |
}($n); | |
var Tn = [String, RegExp, Array], | |
En = { | |
KeepAlive: { | |
name: "keep-alive", | |
abstract: !0, | |
props: { | |
include: Tn, | |
exclude: Tn, | |
max: [String, Number] | |
}, | |
created: function() { | |
this.cache = Object.create(null), this.keys = [] | |
}, | |
destroyed: function() { | |
for (var t in this.cache) Sn(this.cache, t, this.keys) | |
}, | |
mounted: function() { | |
var t = this; | |
this.$watch("include", (function(e) { | |
kn(t, (function(t) { | |
return On(e, t) | |
})) | |
})), this.$watch("exclude", (function(e) { | |
kn(t, (function(t) { | |
return !On(e, t) | |
})) | |
})) | |
}, | |
render: function() { | |
var t = this.$slots.default, | |
e = ze(t), | |
n = e && e.componentOptions; | |
if (n) { | |
var r = xn(n), | |
o = this.include, | |
i = this.exclude; | |
if (o && (!r || !On(o, r)) || i && r && On(i, r)) return e; | |
var a = this.cache, | |
s = this.keys, | |
c = null == e.key ? n.Ctor.cid + (n.tag ? "::" + n.tag : "") : e.key; | |
a[c] ? (e.componentInstance = a[c].componentInstance, g(s, c), s.push(c)) : (a[c] = e, s.push(c), this.max && s.length > parseInt(this.max) && Sn(a, s[0], s, this._vnode)), e.data.keepAlive = !0 | |
} | |
return e || t && t[0] | |
} | |
} | |
}; | |
! function(t) { | |
var e = { | |
get: function() { | |
return R | |
} | |
}; | |
Object.defineProperty(t, "config", e), t.util = { | |
warn: ct, | |
extend: T, | |
mergeOptions: Lt, | |
defineReactive: Ot | |
}, t.set = kt, t.delete = St, t.nextTick = ee, t.observable = function(t) { | |
return xt(t), t | |
}, t.options = Object.create(null), N.forEach((function(e) { | |
t.options[e + "s"] = Object.create(null) | |
})), t.options._base = t, T(t.options.components, En), | |
function(t) { | |
t.use = function(t) { | |
var e = this._installedPlugins || (this._installedPlugins = []); | |
if (e.indexOf(t) > -1) return this; | |
var n = S(arguments, 1); | |
return n.unshift(this), "function" == typeof t.install ? t.install.apply(t, n) : "function" == typeof t && t.apply(null, n), e.push(t), this | |
} | |
}(t), | |
function(t) { | |
t.mixin = function(t) { | |
return this.options = Lt(this.options, t), this | |
} | |
}(t), An(t), | |
function(t) { | |
N.forEach((function(e) { | |
t[e] = function(t, n) { | |
return n ? ("component" === e && l(n) && (n.name = n.name || t, n = this.options._base.extend(n)), "directive" === e && "function" == typeof n && (n = { | |
bind: n, | |
update: n | |
}), this.options[e + "s"][t] = n, n) : this.options[e + "s"][t] | |
} | |
})) | |
}(t) | |
}($n), Object.defineProperty($n.prototype, "$isServer", { | |
get: rt | |
}), Object.defineProperty($n.prototype, "$ssrContext", { | |
get: function() { | |
return this.$vnode && this.$vnode.ssrContext | |
} | |
}), Object.defineProperty($n, "FunctionalRenderContext", { | |
value: je | |
}), $n.version = "2.6.11"; | |
var In = m("style,class"), | |
jn = m("input,textarea,option,select,progress"), | |
Dn = m("contenteditable,draggable,spellcheck"), | |
Pn = m("events,caret,typing,plaintext-only"), | |
Mn = m("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"), | |
Ln = "http://www.w3.org/1999/xlink", | |
Nn = function(t) { | |
return ":" === t.charAt(5) && "xlink" === t.slice(0, 5) | |
}, | |
Fn = function(t) { | |
return Nn(t) ? t.slice(6, t.length) : "" | |
}, | |
Rn = function(t) { | |
return null == t || !1 === t | |
}; | |
function Un(t) { | |
for (var e = t.data, n = t, r = t; i(r.componentInstance);)(r = r.componentInstance._vnode) && r.data && (e = Hn(r.data, e)); | |
for (; i(n = n.parent);) n && n.data && (e = Hn(e, n.data)); | |
return function(t, e) { | |
if (i(t) || i(e)) return Bn(t, Vn(e)); | |
return "" | |
}(e.staticClass, e.class) | |
} | |
function Hn(t, e) { | |
return { | |
staticClass: Bn(t.staticClass, e.staticClass), | |
class: i(t.class) ? [t.class, e.class] : e.class | |
} | |
} | |
function Bn(t, e) { | |
return t ? e ? t + " " + e : t : e || "" | |
} | |
function Vn(t) { | |
return Array.isArray(t) ? function(t) { | |
for (var e, n = "", r = 0, o = t.length; r < o; r++) i(e = Vn(t[r])) && "" !== e && (n && (n += " "), n += e); | |
return n | |
}(t) : c(t) ? function(t) { | |
var e = ""; | |
for (var n in t) t[n] && (e && (e += " "), e += n); | |
return e | |
}(t) : "string" == typeof t ? t : "" | |
} | |
var zn = { | |
svg: "http://www.w3.org/2000/svg", | |
math: "http://www.w3.org/1998/Math/MathML" | |
}, | |
Wn = m("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"), | |
qn = m("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view", !0), | |
Kn = function(t) { | |
return Wn(t) || qn(t) | |
}; | |
var Xn = Object.create(null); | |
var Gn = m("text,number,password,search,email,tel,url"); | |
var Zn = Object.freeze({ | |
createElement: function(t, e) { | |
var n = document.createElement(t); | |
return "select" !== t ? n : (e.data && e.data.attrs && void 0 !== e.data.attrs.multiple && n.setAttribute("multiple", "multiple"), n) | |
}, | |
createElementNS: function(t, e) { | |
return document.createElementNS(zn[t], e) | |
}, | |
createTextNode: function(t) { | |
return document.createTextNode(t) | |
}, | |
createComment: function(t) { | |
return document.createComment(t) | |
}, | |
insertBefore: function(t, e, n) { | |
t.insertBefore(e, n) | |
}, | |
removeChild: function(t, e) { | |
t.removeChild(e) | |
}, | |
appendChild: function(t, e) { | |
t.appendChild(e) | |
}, | |
parentNode: function(t) { | |
return t.parentNode | |
}, | |
nextSibling: function(t) { | |
return t.nextSibling | |
}, | |
tagName: function(t) { | |
return t.tagName | |
}, | |
setTextContent: function(t, e) { | |
t.textContent = e | |
}, | |
setStyleScope: function(t, e) { | |
t.setAttribute(e, "") | |
} | |
}), | |
Jn = { | |
create: function(t, e) { | |
Qn(e) | |
}, | |
update: function(t, e) { | |
t.data.ref !== e.data.ref && (Qn(t, !0), Qn(e)) | |
}, | |
destroy: function(t) { | |
Qn(t, !0) | |
} | |
}; | |
function Qn(t, e) { | |
var n = t.data.ref; | |
if (i(n)) { | |
var r = t.context, | |
o = t.componentInstance || t.elm, | |
a = r.$refs; | |
e ? Array.isArray(a[n]) ? g(a[n], o) : a[n] === o && (a[n] = void 0) : t.data.refInFor ? Array.isArray(a[n]) ? a[n].indexOf(o) < 0 && a[n].push(o) : a[n] = [o] : a[n] = o | |
} | |
} | |
var Yn = new vt("", {}, []), | |
tr = ["create", "activate", "update", "remove", "destroy"]; | |
function er(t, e) { | |
return t.key === e.key && (t.tag === e.tag && t.isComment === e.isComment && i(t.data) === i(e.data) && function(t, e) { | |
if ("input" !== t.tag) return !0; | |
var n, r = i(n = t.data) && i(n = n.attrs) && n.type, | |
o = i(n = e.data) && i(n = n.attrs) && n.type; | |
return r === o || Gn(r) && Gn(o) | |
}(t, e) || a(t.isAsyncPlaceholder) && t.asyncFactory === e.asyncFactory && o(e.asyncFactory.error)) | |
} | |
function nr(t, e, n) { | |
var r, o, a = {}; | |
for (r = e; r <= n; ++r) i(o = t[r].key) && (a[o] = r); | |
return a | |
} | |
var rr = { | |
create: or, | |
update: or, | |
destroy: function(t) { | |
or(t, Yn) | |
} | |
}; | |
function or(t, e) { | |
(t.data.directives || e.data.directives) && function(t, e) { | |
var n, r, o, i = t === Yn, | |
a = e === Yn, | |
s = ar(t.data.directives, t.context), | |
c = ar(e.data.directives, e.context), | |
u = [], | |
l = []; | |
for (n in c) r = s[n], o = c[n], r ? (o.oldValue = r.value, o.oldArg = r.arg, cr(o, "update", e, t), o.def && o.def.componentUpdated && l.push(o)) : (cr(o, "bind", e, t), o.def && o.def.inserted && u.push(o)); | |
if (u.length) { | |
var f = function() { | |
for (var n = 0; n < u.length; n++) cr(u[n], "inserted", e, t) | |
}; | |
i ? se(e, "insert", f) : f() | |
} | |
l.length && se(e, "postpatch", (function() { | |
for (var n = 0; n < l.length; n++) cr(l[n], "componentUpdated", e, t) | |
})); | |
if (!i) | |
for (n in s) c[n] || cr(s[n], "unbind", t, t, a) | |
}(t, e) | |
} | |
var ir = Object.create(null); | |
function ar(t, e) { | |
var n, r, o = Object.create(null); | |
if (!t) return o; | |
for (n = 0; n < t.length; n++)(r = t[n]).modifiers || (r.modifiers = ir), o[sr(r)] = r, r.def = Nt(e.$options, "directives", r.name); | |
return o | |
} | |
function sr(t) { | |
return t.rawName || t.name + "." + Object.keys(t.modifiers || {}).join(".") | |
} | |
function cr(t, e, n, r, o) { | |
var i = t.def && t.def[e]; | |
if (i) try { | |
i(n.elm, t, n, r, o) | |
} catch (r) { | |
Bt(r, n.context, "directive " + t.name + " " + e + " hook") | |
} | |
} | |
var ur = [Jn, rr]; | |
function lr(t, e) { | |
var n = e.componentOptions; | |
if (!(i(n) && !1 === n.Ctor.options.inheritAttrs || o(t.data.attrs) && o(e.data.attrs))) { | |
var r, a, s = e.elm, | |
c = t.data.attrs || {}, | |
u = e.data.attrs || {}; | |
for (r in i(u.__ob__) && (u = e.data.attrs = T({}, u)), u) a = u[r], c[r] !== a && fr(s, r, a); | |
for (r in (G || J) && u.value !== c.value && fr(s, "value", u.value), c) o(u[r]) && (Nn(r) ? s.removeAttributeNS(Ln, Fn(r)) : Dn(r) || s.removeAttribute(r)) | |
} | |
} | |
function fr(t, e, n) { | |
t.tagName.indexOf("-") > -1 ? dr(t, e, n) : Mn(e) ? Rn(n) ? t.removeAttribute(e) : (n = "allowfullscreen" === e && "EMBED" === t.tagName ? "true" : e, t.setAttribute(e, n)) : Dn(e) ? t.setAttribute(e, function(t, e) { | |
return Rn(e) || "false" === e ? "false" : "contenteditable" === t && Pn(e) ? e : "true" | |
}(e, n)) : Nn(e) ? Rn(n) ? t.removeAttributeNS(Ln, Fn(e)) : t.setAttributeNS(Ln, e, n) : dr(t, e, n) | |
} | |
function dr(t, e, n) { | |
if (Rn(n)) t.removeAttribute(e); | |
else { | |
if (G && !Z && "TEXTAREA" === t.tagName && "placeholder" === e && "" !== n && !t.__ieph) { | |
var r = function(e) { | |
e.stopImmediatePropagation(), t.removeEventListener("input", r) | |
}; | |
t.addEventListener("input", r), t.__ieph = !0 | |
} | |
t.setAttribute(e, n) | |
} | |
} | |
var pr = { | |
create: lr, | |
update: lr | |
}; | |
function vr(t, e) { | |
var n = e.elm, | |
r = e.data, | |
a = t.data; | |
if (!(o(r.staticClass) && o(r.class) && (o(a) || o(a.staticClass) && o(a.class)))) { | |
var s = Un(e), | |
c = n._transitionClasses; | |
i(c) && (s = Bn(s, Vn(c))), s !== n._prevClass && (n.setAttribute("class", s), n._prevClass = s) | |
} | |
} | |
var hr, mr = { | |
create: vr, | |
update: vr | |
}; | |
function yr(t, e, n) { | |
var r = hr; | |
return function o() { | |
var i = e.apply(null, arguments); | |
null !== i && br(t, o, n, r) | |
} | |
} | |
var gr = Kt && !(Y && Number(Y[1]) <= 53); | |
function _r(t, e, n, r) { | |
if (gr) { | |
var o = sn, | |
i = e; | |
e = i._wrapper = function(t) { | |
if (t.target === t.currentTarget || t.timeStamp >= o || t.timeStamp <= 0 || t.target.ownerDocument !== document) return i.apply(this, arguments) | |
} | |
} | |
hr.addEventListener(t, e, et ? { | |
capture: n, | |
passive: r | |
} : n) | |
} | |
function br(t, e, n, r) { | |
(r || hr).removeEventListener(t, e._wrapper || e, n) | |
} | |
function wr(t, e) { | |
if (!o(t.data.on) || !o(e.data.on)) { | |
var n = e.data.on || {}, | |
r = t.data.on || {}; | |
hr = e.elm, | |
function(t) { | |
if (i(t.__r)) { | |
var e = G ? "change" : "input"; | |
t[e] = [].concat(t.__r, t[e] || []), delete t.__r | |
} | |
i(t.__c) && (t.change = [].concat(t.__c, t.change || []), delete t.__c) | |
}(n), ae(n, r, _r, br, yr, e.context), hr = void 0 | |
} | |
} | |
var Cr, $r = { | |
create: wr, | |
update: wr | |
}; | |
function Ar(t, e) { | |
if (!o(t.data.domProps) || !o(e.data.domProps)) { | |
var n, r, a = e.elm, | |
s = t.data.domProps || {}, | |
c = e.data.domProps || {}; | |
for (n in i(c.__ob__) && (c = e.data.domProps = T({}, c)), s) n in c || (a[n] = ""); | |
for (n in c) { | |
if (r = c[n], "textContent" === n || "innerHTML" === n) { | |
if (e.children && (e.children.length = 0), r === s[n]) continue; | |
1 === a.childNodes.length && a.removeChild(a.childNodes[0]) | |
} | |
if ("value" === n && "PROGRESS" !== a.tagName) { | |
a._value = r; | |
var u = o(r) ? "" : String(r); | |
xr(a, u) && (a.value = u) | |
} else if ("innerHTML" === n && qn(a.tagName) && o(a.innerHTML)) { | |
(Cr = Cr || document.createElement("div")).innerHTML = "<svg>" + r + "</svg>"; | |
for (var l = Cr.firstChild; a.firstChild;) a.removeChild(a.firstChild); | |
for (; l.firstChild;) a.appendChild(l.firstChild) | |
} else if (r !== s[n]) try { | |
a[n] = r | |
} catch (t) {} | |
} | |
} | |
} | |
function xr(t, e) { | |
return !t.composing && ("OPTION" === t.tagName || function(t, e) { | |
var n = !0; | |
try { | |
n = document.activeElement !== t | |
} catch (t) {} | |
return n && t.value !== e | |
}(t, e) || function(t, e) { | |
var n = t.value, | |
r = t._vModifiers; | |
if (i(r)) { | |
if (r.number) return h(n) !== h(e); | |
if (r.trim) return n.trim() !== e.trim() | |
} | |
return n !== e | |
}(t, e)) | |
} | |
var Or = { | |
create: Ar, | |
update: Ar | |
}, | |
kr = w((function(t) { | |
var e = {}, | |
n = /:(.+)/; | |
return t.split(/;(?![^(]*\))/g).forEach((function(t) { | |
if (t) { | |
var r = t.split(n); | |
r.length > 1 && (e[r[0].trim()] = r[1].trim()) | |
} | |
})), e | |
})); | |
function Sr(t) { | |
var e = Tr(t.style); | |
return t.staticStyle ? T(t.staticStyle, e) : e | |
} | |
function Tr(t) { | |
return Array.isArray(t) ? E(t) : "string" == typeof t ? kr(t) : t | |
} | |
var Er, Ir = /^--/, | |
jr = /\s*!important$/, | |
Dr = function(t, e, n) { | |
if (Ir.test(e)) t.style.setProperty(e, n); | |
else if (jr.test(n)) t.style.setProperty(O(e), n.replace(jr, ""), "important"); | |
else { | |
var r = Mr(e); | |
if (Array.isArray(n)) | |
for (var o = 0, i = n.length; o < i; o++) t.style[r] = n[o]; | |
else t.style[r] = n | |
} | |
}, | |
Pr = ["Webkit", "Moz", "ms"], | |
Mr = w((function(t) { | |
if (Er = Er || document.createElement("div").style, "filter" !== (t = $(t)) && t in Er) return t; | |
for (var e = t.charAt(0).toUpperCase() + t.slice(1), n = 0; n < Pr.length; n++) { | |
var r = Pr[n] + e; | |
if (r in Er) return r | |
} | |
})); | |
function Lr(t, e) { | |
var n = e.data, | |
r = t.data; | |
if (!(o(n.staticStyle) && o(n.style) && o(r.staticStyle) && o(r.style))) { | |
var a, s, c = e.elm, | |
u = r.staticStyle, | |
l = r.normalizedStyle || r.style || {}, | |
f = u || l, | |
d = Tr(e.data.style) || {}; | |
e.data.normalizedStyle = i(d.__ob__) ? T({}, d) : d; | |
var p = function(t, e) { | |
var n, r = {}; | |
if (e) | |
for (var o = t; o.componentInstance;)(o = o.componentInstance._vnode) && o.data && (n = Sr(o.data)) && T(r, n); | |
(n = Sr(t.data)) && T(r, n); | |
for (var i = t; i = i.parent;) i.data && (n = Sr(i.data)) && T(r, n); | |
return r | |
}(e, !0); | |
for (s in f) o(p[s]) && Dr(c, s, ""); | |
for (s in p)(a = p[s]) !== f[s] && Dr(c, s, null == a ? "" : a) | |
} | |
} | |
var Nr = { | |
create: Lr, | |
update: Lr | |
}, | |
Fr = /\s+/; | |
function Rr(t, e) { | |
if (e && (e = e.trim())) | |
if (t.classList) e.indexOf(" ") > -1 ? e.split(Fr).forEach((function(e) { | |
return t.classList.add(e) | |
})) : t.classList.add(e); | |
else { | |
var n = " " + (t.getAttribute("class") || "") + " "; | |
n.indexOf(" " + e + " ") < 0 && t.setAttribute("class", (n + e).trim()) | |
} | |
} | |
function Ur(t, e) { | |
if (e && (e = e.trim())) | |
if (t.classList) e.indexOf(" ") > -1 ? e.split(Fr).forEach((function(e) { | |
return t.classList.remove(e) | |
})) : t.classList.remove(e), t.classList.length || t.removeAttribute("class"); | |
else { | |
for (var n = " " + (t.getAttribute("class") || "") + " ", r = " " + e + " "; n.indexOf(r) >= 0;) n = n.replace(r, " "); | |
(n = n.trim()) ? t.setAttribute("class", n): t.removeAttribute("class") | |
} | |
} | |
function Hr(t) { | |
if (t) { | |
if ("object" == typeof t) { | |
var e = {}; | |
return !1 !== t.css && T(e, Br(t.name || "v")), T(e, t), e | |
} | |
return "string" == typeof t ? Br(t) : void 0 | |
} | |
} | |
var Br = w((function(t) { | |
return { | |
enterClass: t + "-enter", | |
enterToClass: t + "-enter-to", | |
enterActiveClass: t + "-enter-active", | |
leaveClass: t + "-leave", | |
leaveToClass: t + "-leave-to", | |
leaveActiveClass: t + "-leave-active" | |
} | |
})), | |
Vr = W && !Z, | |
zr = "transition", | |
Wr = "transitionend", | |
qr = "animation", | |
Kr = "animationend"; | |
Vr && (void 0 === window.ontransitionend && void 0 !== window.onwebkittransitionend && (zr = "WebkitTransition", Wr = "webkitTransitionEnd"), void 0 === window.onanimationend && void 0 !== window.onwebkitanimationend && (qr = "WebkitAnimation", Kr = "webkitAnimationEnd")); | |
var Xr = W ? window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : setTimeout : function(t) { | |
return t() | |
}; | |
function Gr(t) { | |
Xr((function() { | |
Xr(t) | |
})) | |
} | |
function Zr(t, e) { | |
var n = t._transitionClasses || (t._transitionClasses = []); | |
n.indexOf(e) < 0 && (n.push(e), Rr(t, e)) | |
} | |
function Jr(t, e) { | |
t._transitionClasses && g(t._transitionClasses, e), Ur(t, e) | |
} | |
function Qr(t, e, n) { | |
var r = to(t, e), | |
o = r.type, | |
i = r.timeout, | |
a = r.propCount; | |
if (!o) return n(); | |
var s = "transition" === o ? Wr : Kr, | |
c = 0, | |
u = function() { | |
t.removeEventListener(s, l), n() | |
}, | |
l = function(e) { | |
e.target === t && ++c >= a && u() | |
}; | |
setTimeout((function() { | |
c < a && u() | |
}), i + 1), t.addEventListener(s, l) | |
} | |
var Yr = /\b(transform|all)(,|$)/; | |
function to(t, e) { | |
var n, r = window.getComputedStyle(t), | |
o = (r[zr + "Delay"] || "").split(", "), | |
i = (r[zr + "Duration"] || "").split(", "), | |
a = eo(o, i), | |
s = (r[qr + "Delay"] || "").split(", "), | |
c = (r[qr + "Duration"] || "").split(", "), | |
u = eo(s, c), | |
l = 0, | |
f = 0; | |
return "transition" === e ? a > 0 && (n = "transition", l = a, f = i.length) : "animation" === e ? u > 0 && (n = "animation", l = u, f = c.length) : f = (n = (l = Math.max(a, u)) > 0 ? a > u ? "transition" : "animation" : null) ? "transition" === n ? i.length : c.length : 0, { | |
type: n, | |
timeout: l, | |
propCount: f, | |
hasTransform: "transition" === n && Yr.test(r[zr + "Property"]) | |
} | |
} | |
function eo(t, e) { | |
for (; t.length < e.length;) t = t.concat(t); | |
return Math.max.apply(null, e.map((function(e, n) { | |
return no(e) + no(t[n]) | |
}))) | |
} | |
function no(t) { | |
return 1e3 * Number(t.slice(0, -1).replace(",", ".")) | |
} | |
function ro(t, e) { | |
var n = t.elm; | |
i(n._leaveCb) && (n._leaveCb.cancelled = !0, n._leaveCb()); | |
var r = Hr(t.data.transition); | |
if (!o(r) && !i(n._enterCb) && 1 === n.nodeType) { | |
for (var a = r.css, s = r.type, u = r.enterClass, l = r.enterToClass, f = r.enterActiveClass, d = r.appearClass, p = r.appearToClass, v = r.appearActiveClass, m = r.beforeEnter, y = r.enter, g = r.afterEnter, _ = r.enterCancelled, b = r.beforeAppear, w = r.appear, C = r.afterAppear, $ = r.appearCancelled, A = r.duration, x = Ge, O = Ge.$vnode; O && O.parent;) x = O.context, O = O.parent; | |
var k = !x._isMounted || !t.isRootInsert; | |
if (!k || w || "" === w) { | |
var S = k && d ? d : u, | |
T = k && v ? v : f, | |
E = k && p ? p : l, | |
I = k && b || m, | |
j = k && "function" == typeof w ? w : y, | |
D = k && C || g, | |
P = k && $ || _, | |
M = h(c(A) ? A.enter : A); | |
0; | |
var N = !1 !== a && !Z, | |
F = ao(j), | |
R = n._enterCb = L((function() { | |
N && (Jr(n, E), Jr(n, T)), R.cancelled ? (N && Jr(n, S), P && P(n)) : D && D(n), n._enterCb = null | |
})); | |
t.data.show || se(t, "insert", (function() { | |
var e = n.parentNode, | |
r = e && e._pending && e._pending[t.key]; | |
r && r.tag === t.tag && r.elm._leaveCb && r.elm._leaveCb(), j && j(n, R) | |
})), I && I(n), N && (Zr(n, S), Zr(n, T), Gr((function() { | |
Jr(n, S), R.cancelled || (Zr(n, E), F || (io(M) ? setTimeout(R, M) : Qr(n, s, R))) | |
}))), t.data.show && (e && e(), j && j(n, R)), N || F || R() | |
} | |
} | |
} | |
function oo(t, e) { | |
var n = t.elm; | |
i(n._enterCb) && (n._enterCb.cancelled = !0, n._enterCb()); | |
var r = Hr(t.data.transition); | |
if (o(r) || 1 !== n.nodeType) return e(); | |
if (!i(n._leaveCb)) { | |
var a = r.css, | |
s = r.type, | |
u = r.leaveClass, | |
l = r.leaveToClass, | |
f = r.leaveActiveClass, | |
d = r.beforeLeave, | |
p = r.leave, | |
v = r.afterLeave, | |
m = r.leaveCancelled, | |
y = r.delayLeave, | |
g = r.duration, | |
_ = !1 !== a && !Z, | |
b = ao(p), | |
w = h(c(g) ? g.leave : g); | |
0; | |
var C = n._leaveCb = L((function() { | |
n.parentNode && n.parentNode._pending && (n.parentNode._pending[t.key] = null), _ && (Jr(n, l), Jr(n, f)), C.cancelled ? (_ && Jr(n, u), m && m(n)) : (e(), v && v(n)), n._leaveCb = null | |
})); | |
y ? y($) : $() | |
} | |
function $() { | |
C.cancelled || (!t.data.show && n.parentNode && ((n.parentNode._pending || (n.parentNode._pending = {}))[t.key] = t), d && d(n), _ && (Zr(n, u), Zr(n, f), Gr((function() { | |
Jr(n, u), C.cancelled || (Zr(n, l), b || (io(w) ? setTimeout(C, w) : Qr(n, s, C))) | |
}))), p && p(n, C), _ || b || C()) | |
} | |
} | |
function io(t) { | |
return "number" == typeof t && !isNaN(t) | |
} | |
function ao(t) { | |
if (o(t)) return !1; | |
var e = t.fns; | |
return i(e) ? ao(Array.isArray(e) ? e[0] : e) : (t._length || t.length) > 1 | |
} | |
function so(t, e) { | |
!0 !== e.data.show && ro(e) | |
} | |
var co = function(t) { | |
var e, n, r = {}, | |
c = t.modules, | |
u = t.nodeOps; | |
for (e = 0; e < tr.length; ++e) | |
for (r[tr[e]] = [], n = 0; n < c.length; ++n) i(c[n][tr[e]]) && r[tr[e]].push(c[n][tr[e]]); | |
function l(t) { | |
var e = u.parentNode(t); | |
i(e) && u.removeChild(e, t) | |
} | |
function f(t, e, n, o, s, c, l) { | |
if (i(t.elm) && i(c) && (t = c[l] = gt(t)), t.isRootInsert = !s, ! function(t, e, n, o) { | |
var s = t.data; | |
if (i(s)) { | |
var c = i(t.componentInstance) && s.keepAlive; | |
if (i(s = s.hook) && i(s = s.init) && s(t, !1), i(t.componentInstance)) return d(t, e), p(n, t.elm, o), a(c) && function(t, e, n, o) { | |
var a, s = t; | |
for (; s.componentInstance;) | |
if (s = s.componentInstance._vnode, i(a = s.data) && i(a = a.transition)) { | |
for (a = 0; a < r.activate.length; ++a) r.activate[a](Yn, s); | |
e.push(s); | |
break | |
} p(n, t.elm, o) | |
}(t, e, n, o), !0 | |
} | |
}(t, e, n, o)) { | |
var f = t.data, | |
h = t.children, | |
m = t.tag; | |
i(m) ? (t.elm = t.ns ? u.createElementNS(t.ns, m) : u.createElement(m, t), g(t), v(t, h, e), i(f) && y(t, e), p(n, t.elm, o)) : a(t.isComment) ? (t.elm = u.createComment(t.text), p(n, t.elm, o)) : (t.elm = u.createTextNode(t.text), p(n, t.elm, o)) | |
} | |
} | |
function d(t, e) { | |
i(t.data.pendingInsert) && (e.push.apply(e, t.data.pendingInsert), t.data.pendingInsert = null), t.elm = t.componentInstance.$el, h(t) ? (y(t, e), g(t)) : (Qn(t), e.push(t)) | |
} | |
function p(t, e, n) { | |
i(t) && (i(n) ? u.parentNode(n) === t && u.insertBefore(t, e, n) : u.appendChild(t, e)) | |
} | |
function v(t, e, n) { | |
if (Array.isArray(e)) { | |
0; | |
for (var r = 0; r < e.length; ++r) f(e[r], n, t.elm, null, !0, e, r) | |
} else s(t.text) && u.appendChild(t.elm, u.createTextNode(String(t.text))) | |
} | |
function h(t) { | |
for (; t.componentInstance;) t = t.componentInstance._vnode; | |
return i(t.tag) | |
} | |
function y(t, n) { | |
for (var o = 0; o < r.create.length; ++o) r.create[o](Yn, t); | |
i(e = t.data.hook) && (i(e.create) && e.create(Yn, t), i(e.insert) && n.push(t)) | |
} | |
function g(t) { | |
var e; | |
if (i(e = t.fnScopeId)) u.setStyleScope(t.elm, e); | |
else | |
for (var n = t; n;) i(e = n.context) && i(e = e.$options._scopeId) && u.setStyleScope(t.elm, e), n = n.parent; | |
i(e = Ge) && e !== t.context && e !== t.fnContext && i(e = e.$options._scopeId) && u.setStyleScope(t.elm, e) | |
} | |
function _(t, e, n, r, o, i) { | |
for (; r <= o; ++r) f(n[r], i, t, e, !1, n, r) | |
} | |
function b(t) { | |
var e, n, o = t.data; | |
if (i(o)) | |
for (i(e = o.hook) && i(e = e.destroy) && e(t), e = 0; e < r.destroy.length; ++e) r.destroy[e](t); | |
if (i(e = t.children)) | |
for (n = 0; n < t.children.length; ++n) b(t.children[n]) | |
} | |
function w(t, e, n) { | |
for (; e <= n; ++e) { | |
var r = t[e]; | |
i(r) && (i(r.tag) ? (C(r), b(r)) : l(r.elm)) | |
} | |
} | |
function C(t, e) { | |
if (i(e) || i(t.data)) { | |
var n, o = r.remove.length + 1; | |
for (i(e) ? e.listeners += o : e = function(t, e) { | |
function n() { | |
0 == --n.listeners && l(t) | |
} | |
return n.listeners = e, n | |
}(t.elm, o), i(n = t.componentInstance) && i(n = n._vnode) && i(n.data) && C(n, e), n = 0; n < r.remove.length; ++n) r.remove[n](t, e); | |
i(n = t.data.hook) && i(n = n.remove) ? n(t, e) : e() | |
} else l(t.elm) | |
} | |
function $(t, e, n, r) { | |
for (var o = n; o < r; o++) { | |
var a = e[o]; | |
if (i(a) && er(t, a)) return o | |
} | |
} | |
function A(t, e, n, s, c, l) { | |
if (t !== e) { | |
i(e.elm) && i(s) && (e = s[c] = gt(e)); | |
var d = e.elm = t.elm; | |
if (a(t.isAsyncPlaceholder)) i(e.asyncFactory.resolved) ? k(t.elm, e, n) : e.isAsyncPlaceholder = !0; | |
else if (a(e.isStatic) && a(t.isStatic) && e.key === t.key && (a(e.isCloned) || a(e.isOnce))) e.componentInstance = t.componentInstance; | |
else { | |
var p, v = e.data; | |
i(v) && i(p = v.hook) && i(p = p.prepatch) && p(t, e); | |
var m = t.children, | |
y = e.children; | |
if (i(v) && h(e)) { | |
for (p = 0; p < r.update.length; ++p) r.update[p](t, e); | |
i(p = v.hook) && i(p = p.update) && p(t, e) | |
} | |
o(e.text) ? i(m) && i(y) ? m !== y && function(t, e, n, r, a) { | |
var s, c, l, d = 0, | |
p = 0, | |
v = e.length - 1, | |
h = e[0], | |
m = e[v], | |
y = n.length - 1, | |
g = n[0], | |
b = n[y], | |
C = !a; | |
for (0; d <= v && p <= y;) o(h) ? h = e[++d] : o(m) ? m = e[--v] : er(h, g) ? (A(h, g, r, n, p), h = e[++d], g = n[++p]) : er(m, b) ? (A(m, b, r, n, y), m = e[--v], b = n[--y]) : er(h, b) ? (A(h, b, r, n, y), C && u.insertBefore(t, h.elm, u.nextSibling(m.elm)), h = e[++d], b = n[--y]) : er(m, g) ? (A(m, g, r, n, p), C && u.insertBefore(t, m.elm, h.elm), m = e[--v], g = n[++p]) : (o(s) && (s = nr(e, d, v)), o(c = i(g.key) ? s[g.key] : $(g, e, d, v)) ? f(g, r, t, h.elm, !1, n, p) : er(l = e[c], g) ? (A(l, g, r, n, p), e[c] = void 0, C && u.insertBefore(t, l.elm, h.elm)) : f(g, r, t, h.elm, !1, n, p), g = n[++p]); | |
d > v ? _(t, o(n[y + 1]) ? null : n[y + 1].elm, n, p, y, r) : p > y && w(e, d, v) | |
}(d, m, y, n, l) : i(y) ? (i(t.text) && u.setTextContent(d, ""), _(d, null, y, 0, y.length - 1, n)) : i(m) ? w(m, 0, m.length - 1) : i(t.text) && u.setTextContent(d, "") : t.text !== e.text && u.setTextContent(d, e.text), i(v) && i(p = v.hook) && i(p = p.postpatch) && p(t, e) | |
} | |
} | |
} | |
function x(t, e, n) { | |
if (a(n) && i(t.parent)) t.parent.data.pendingInsert = e; | |
else | |
for (var r = 0; r < e.length; ++r) e[r].data.hook.insert(e[r]) | |
} | |
var O = m("attrs,class,staticClass,staticStyle,key"); | |
function k(t, e, n, r) { | |
var o, s = e.tag, | |
c = e.data, | |
u = e.children; | |
if (r = r || c && c.pre, e.elm = t, a(e.isComment) && i(e.asyncFactory)) return e.isAsyncPlaceholder = !0, !0; | |
if (i(c) && (i(o = c.hook) && i(o = o.init) && o(e, !0), i(o = e.componentInstance))) return d(e, n), !0; | |
if (i(s)) { | |
if (i(u)) | |
if (t.hasChildNodes()) | |
if (i(o = c) && i(o = o.domProps) && i(o = o.innerHTML)) { | |
if (o !== t.innerHTML) return !1 | |
} else { | |
for (var l = !0, f = t.firstChild, p = 0; p < u.length; p++) { | |
if (!f || !k(f, u[p], n, r)) { | |
l = !1; | |
break | |
} | |
f = f.nextSibling | |
} | |
if (!l || f) return !1 | |
} | |
else v(e, u, n); | |
if (i(c)) { | |
var h = !1; | |
for (var m in c) | |
if (!O(m)) { | |
h = !0, y(e, n); | |
break | |
}! h && c.class && re(c.class) | |
} | |
} else t.data !== e.text && (t.data = e.text); | |
return !0 | |
} | |
return function(t, e, n, s) { | |
if (!o(e)) { | |
var c, l = !1, | |
d = []; | |
if (o(t)) l = !0, f(e, d); | |
else { | |
var p = i(t.nodeType); | |
if (!p && er(t, e)) A(t, e, d, null, null, s); | |
else { | |
if (p) { | |
if (1 === t.nodeType && t.hasAttribute("data-server-rendered") && (t.removeAttribute("data-server-rendered"), n = !0), a(n) && k(t, e, d)) return x(e, d, !0), t; | |
c = t, t = new vt(u.tagName(c).toLowerCase(), {}, [], void 0, c) | |
} | |
var v = t.elm, | |
m = u.parentNode(v); | |
if (f(e, d, v._leaveCb ? null : m, u.nextSibling(v)), i(e.parent)) | |
for (var y = e.parent, g = h(e); y;) { | |
for (var _ = 0; _ < r.destroy.length; ++_) r.destroy[_](y); | |
if (y.elm = e.elm, g) { | |
for (var C = 0; C < r.create.length; ++C) r.create[C](Yn, y); | |
var $ = y.data.hook.insert; | |
if ($.merged) | |
for (var O = 1; O < $.fns.length; O++) $.fns[O]() | |
} else Qn(y); | |
y = y.parent | |
} | |
i(m) ? w([t], 0, 0) : i(t.tag) && b(t) | |
} | |
} | |
return x(e, d, l), e.elm | |
} | |
i(t) && b(t) | |
} | |
}({ | |
nodeOps: Zn, | |
modules: [pr, mr, $r, Or, Nr, W ? { | |
create: so, | |
activate: so, | |
remove: function(t, e) { | |
!0 !== t.data.show ? oo(t, e) : e() | |
} | |
} : {}].concat(ur) | |
}); | |
Z && document.addEventListener("selectionchange", (function() { | |
var t = document.activeElement; | |
t && t.vmodel && yo(t, "input") | |
})); | |
var uo = { | |
inserted: function(t, e, n, r) { | |
"select" === n.tag ? (r.elm && !r.elm._vOptions ? se(n, "postpatch", (function() { | |
uo.componentUpdated(t, e, n) | |
})) : lo(t, e, n.context), t._vOptions = [].map.call(t.options, vo)) : ("textarea" === n.tag || Gn(t.type)) && (t._vModifiers = e.modifiers, e.modifiers.lazy || (t.addEventListener("compositionstart", ho), t.addEventListener("compositionend", mo), t.addEventListener("change", mo), Z && (t.vmodel = !0))) | |
}, | |
componentUpdated: function(t, e, n) { | |
if ("select" === n.tag) { | |
lo(t, e, n.context); | |
var r = t._vOptions, | |
o = t._vOptions = [].map.call(t.options, vo); | |
if (o.some((function(t, e) { | |
return !P(t, r[e]) | |
})))(t.multiple ? e.value.some((function(t) { | |
return po(t, o) | |
})) : e.value !== e.oldValue && po(e.value, o)) && yo(t, "change") | |
} | |
} | |
}; | |
function lo(t, e, n) { | |
fo(t, e, n), (G || J) && setTimeout((function() { | |
fo(t, e, n) | |
}), 0) | |
} | |
function fo(t, e, n) { | |
var r = e.value, | |
o = t.multiple; | |
if (!o || Array.isArray(r)) { | |
for (var i, a, s = 0, c = t.options.length; s < c; s++) | |
if (a = t.options[s], o) i = M(r, vo(a)) > -1, a.selected !== i && (a.selected = i); | |
else if (P(vo(a), r)) return void(t.selectedIndex !== s && (t.selectedIndex = s)); | |
o || (t.selectedIndex = -1) | |
} | |
} | |
function po(t, e) { | |
return e.every((function(e) { | |
return !P(e, t) | |
})) | |
} | |
function vo(t) { | |
return "_value" in t ? t._value : t.value | |
} | |
function ho(t) { | |
t.target.composing = !0 | |
} | |
function mo(t) { | |
t.target.composing && (t.target.composing = !1, yo(t.target, "input")) | |
} | |
function yo(t, e) { | |
var n = document.createEvent("HTMLEvents"); | |
n.initEvent(e, !0, !0), t.dispatchEvent(n) | |
} | |
function go(t) { | |
return !t.componentInstance || t.data && t.data.transition ? t : go(t.componentInstance._vnode) | |
} | |
var _o = { | |
model: uo, | |
show: { | |
bind: function(t, e, n) { | |
var r = e.value, | |
o = (n = go(n)).data && n.data.transition, | |
i = t.__vOriginalDisplay = "none" === t.style.display ? "" : t.style.display; | |
r && o ? (n.data.show = !0, ro(n, (function() { | |
t.style.display = i | |
}))) : t.style.display = r ? i : "none" | |
}, | |
update: function(t, e, n) { | |
var r = e.value; | |
!r != !e.oldValue && ((n = go(n)).data && n.data.transition ? (n.data.show = !0, r ? ro(n, (function() { | |
t.style.display = t.__vOriginalDisplay | |
})) : oo(n, (function() { | |
t.style.display = "none" | |
}))) : t.style.display = r ? t.__vOriginalDisplay : "none") | |
}, | |
unbind: function(t, e, n, r, o) { | |
o || (t.style.display = t.__vOriginalDisplay) | |
} | |
} | |
}, | |
bo = { | |
name: String, | |
appear: Boolean, | |
css: Boolean, | |
mode: String, | |
type: String, | |
enterClass: String, | |
leaveClass: String, | |
enterToClass: String, | |
leaveToClass: String, | |
enterActiveClass: String, | |
leaveActiveClass: String, | |
appearClass: String, | |
appearActiveClass: String, | |
appearToClass: String, | |
duration: [Number, String, Object] | |
}; | |
function wo(t) { | |
var e = t && t.componentOptions; | |
return e && e.Ctor.options.abstract ? wo(ze(e.children)) : t | |
} | |
function Co(t) { | |
var e = {}, | |
n = t.$options; | |
for (var r in n.propsData) e[r] = t[r]; | |
var o = n._parentListeners; | |
for (var i in o) e[$(i)] = o[i]; | |
return e | |
} | |
function $o(t, e) { | |
if (/\d-keep-alive$/.test(e.tag)) return t("keep-alive", { | |
props: e.componentOptions.propsData | |
}) | |
} | |
var Ao = function(t) { | |
return t.tag || Ve(t) | |
}, | |
xo = function(t) { | |
return "show" === t.name | |
}, | |
Oo = { | |
name: "transition", | |
props: bo, | |
abstract: !0, | |
render: function(t) { | |
var e = this, | |
n = this.$slots.default; | |
if (n && (n = n.filter(Ao)).length) { | |
0; | |
var r = this.mode; | |
0; | |
var o = n[0]; | |
if (function(t) { | |
for (; t = t.parent;) | |
if (t.data.transition) return !0 | |
}(this.$vnode)) return o; | |
var i = wo(o); | |
if (!i) return o; | |
if (this._leaving) return $o(t, o); | |
var a = "__transition-" + this._uid + "-"; | |
i.key = null == i.key ? i.isComment ? a + "comment" : a + i.tag : s(i.key) ? 0 === String(i.key).indexOf(a) ? i.key : a + i.key : i.key; | |
var c = (i.data || (i.data = {})).transition = Co(this), | |
u = this._vnode, | |
l = wo(u); | |
if (i.data.directives && i.data.directives.some(xo) && (i.data.show = !0), l && l.data && ! function(t, e) { | |
return e.key === t.key && e.tag === t.tag | |
}(i, l) && !Ve(l) && (!l.componentInstance || !l.componentInstance._vnode.isComment)) { | |
var f = l.data.transition = T({}, c); | |
if ("out-in" === r) return this._leaving = !0, se(f, "afterLeave", (function() { | |
e._leaving = !1, e.$forceUpdate() | |
})), $o(t, o); | |
if ("in-out" === r) { | |
if (Ve(i)) return u; | |
var d, p = function() { | |
d() | |
}; | |
se(c, "afterEnter", p), se(c, "enterCancelled", p), se(f, "delayLeave", (function(t) { | |
d = t | |
})) | |
} | |
} | |
return o | |
} | |
} | |
}, | |
ko = T({ | |
tag: String, | |
moveClass: String | |
}, bo); | |
function So(t) { | |
t.elm._moveCb && t.elm._moveCb(), t.elm._enterCb && t.elm._enterCb() | |
} | |
function To(t) { | |
t.data.newPos = t.elm.getBoundingClientRect() | |
} | |
function Eo(t) { | |
var e = t.data.pos, | |
n = t.data.newPos, | |
r = e.left - n.left, | |
o = e.top - n.top; | |
if (r || o) { | |
t.data.moved = !0; | |
var i = t.elm.style; | |
i.transform = i.WebkitTransform = "translate(" + r + "px," + o + "px)", i.transitionDuration = "0s" | |
} | |
} | |
delete ko.mode; | |
var Io = { | |
Transition: Oo, | |
TransitionGroup: { | |
props: ko, | |
beforeMount: function() { | |
var t = this, | |
e = this._update; | |
this._update = function(n, r) { | |
var o = Ze(t); | |
t.__patch__(t._vnode, t.kept, !1, !0), t._vnode = t.kept, o(), e.call(t, n, r) | |
} | |
}, | |
render: function(t) { | |
for (var e = this.tag || this.$vnode.data.tag || "span", n = Object.create(null), r = this.prevChildren = this.children, o = this.$slots.default || [], i = this.children = [], a = Co(this), s = 0; s < o.length; s++) { | |
var c = o[s]; | |
if (c.tag) | |
if (null != c.key && 0 !== String(c.key).indexOf("__vlist")) i.push(c), n[c.key] = c, (c.data || (c.data = {})).transition = a; | |
else; | |
} | |
if (r) { | |
for (var u = [], l = [], f = 0; f < r.length; f++) { | |
var d = r[f]; | |
d.data.transition = a, d.data.pos = d.elm.getBoundingClientRect(), n[d.key] ? u.push(d) : l.push(d) | |
} | |
this.kept = t(e, null, u), this.removed = l | |
} | |
return t(e, null, i) | |
}, | |
updated: function() { | |
var t = this.prevChildren, | |
e = this.moveClass || (this.name || "v") + "-move"; | |
t.length && this.hasMove(t[0].elm, e) && (t.forEach(So), t.forEach(To), t.forEach(Eo), this._reflow = document.body.offsetHeight, t.forEach((function(t) { | |
if (t.data.moved) { | |
var n = t.elm, | |
r = n.style; | |
Zr(n, e), r.transform = r.WebkitTransform = r.transitionDuration = "", n.addEventListener(Wr, n._moveCb = function t(r) { | |
r && r.target !== n || r && !/transform$/.test(r.propertyName) || (n.removeEventListener(Wr, t), n._moveCb = null, Jr(n, e)) | |
}) | |
} | |
}))) | |
}, | |
methods: { | |
hasMove: function(t, e) { | |
if (!Vr) return !1; | |
if (this._hasMove) return this._hasMove; | |
var n = t.cloneNode(); | |
t._transitionClasses && t._transitionClasses.forEach((function(t) { | |
Ur(n, t) | |
})), Rr(n, e), n.style.display = "none", this.$el.appendChild(n); | |
var r = to(n); | |
return this.$el.removeChild(n), this._hasMove = r.hasTransform | |
} | |
} | |
} | |
}; | |
$n.config.mustUseProp = function(t, e, n) { | |
return "value" === n && jn(t) && "button" !== e || "selected" === n && "option" === t || "checked" === n && "input" === t || "muted" === n && "video" === t | |
}, $n.config.isReservedTag = Kn, $n.config.isReservedAttr = In, $n.config.getTagNamespace = function(t) { | |
return qn(t) ? "svg" : "math" === t ? "math" : void 0 | |
}, $n.config.isUnknownElement = function(t) { | |
if (!W) return !0; | |
if (Kn(t)) return !1; | |
if (t = t.toLowerCase(), null != Xn[t]) return Xn[t]; | |
var e = document.createElement(t); | |
return t.indexOf("-") > -1 ? Xn[t] = e.constructor === window.HTMLUnknownElement || e.constructor === window.HTMLElement : Xn[t] = /HTMLUnknownElement/.test(e.toString()) | |
}, T($n.options.directives, _o), T($n.options.components, Io), $n.prototype.__patch__ = W ? co : I, $n.prototype.$mount = function(t, e) { | |
return function(t, e, n) { | |
var r; | |
return t.$el = e, t.$options.render || (t.$options.render = mt), Ye(t, "beforeMount"), r = function() { | |
t._update(t._render(), n) | |
}, new dn(t, r, I, { | |
before: function() { | |
t._isMounted && !t._isDestroyed && Ye(t, "beforeUpdate") | |
} | |
}, !0), n = !1, null == t.$vnode && (t._isMounted = !0, Ye(t, "mounted")), t | |
}(this, t = t && W ? function(t) { | |
if ("string" == typeof t) { | |
var e = document.querySelector(t); | |
return e || document.createElement("div") | |
} | |
return t | |
}(t) : void 0, e) | |
}, W && setTimeout((function() { | |
R.devtools && ot && ot.emit("init", $n) | |
}), 0), e.a = $n | |
}).call(this, n(1), n(3).setImmediate) | |
}, function(t, e) { | |
var n; | |
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) { | |
t.exports = n(6) | |
}, function(t, e, n) { | |
(function(t) { | |
var r = void 0 !== t && t || "undefined" != typeof self && self || window, | |
o = Function.prototype.apply; | |
function i(t, e) { | |
this._id = t, this._clearFn = e | |
} | |
e.setTimeout = function() { | |
return new i(o.call(setTimeout, r, arguments), clearTimeout) | |
}, e.setInterval = function() { | |
return new i(o.call(setInterval, r, arguments), clearInterval) | |
}, e.clearTimeout = e.clearInterval = function(t) { | |
t && t.close() | |
}, i.prototype.unref = i.prototype.ref = function() {}, i.prototype.close = function() { | |
this._clearFn.call(r, this._id) | |
}, e.enroll = function(t, e) { | |
clearTimeout(t._idleTimeoutId), t._idleTimeout = e | |
}, e.unenroll = function(t) { | |
clearTimeout(t._idleTimeoutId), t._idleTimeout = -1 | |
}, e._unrefActive = e.active = function(t) { | |
clearTimeout(t._idleTimeoutId); | |
var e = t._idleTimeout; | |
e >= 0 && (t._idleTimeoutId = setTimeout((function() { | |
t._onTimeout && t._onTimeout() | |
}), e)) | |
}, n(4), e.setImmediate = "undefined" != typeof self && self.setImmediate || void 0 !== t && t.setImmediate || this && this.setImmediate, e.clearImmediate = "undefined" != typeof self && self.clearImmediate || void 0 !== t && t.clearImmediate || this && this.clearImmediate | |
}).call(this, n(1)) | |
}, function(t, e, n) { | |
(function(t, e) { | |
! function(t, n) { | |
"use strict"; | |
if (!t.setImmediate) { | |
var r, o, i, a, s, c = 1, | |
u = {}, | |
l = !1, | |
f = t.document, | |
d = Object.getPrototypeOf && Object.getPrototypeOf(t); | |
d = d && d.setTimeout ? d : t, "[object process]" === {}.toString.call(t.process) ? r = function(t) { | |
e.nextTick((function() { | |
v(t) | |
})) | |
} : ! function() { | |
if (t.postMessage && !t.importScripts) { | |
var e = !0, | |
n = t.onmessage; | |
return t.onmessage = function() { | |
e = !1 | |
}, t.postMessage("", "*"), t.onmessage = n, e | |
} | |
}() ? t.MessageChannel ? ((i = new MessageChannel).port1.onmessage = function(t) { | |
v(t.data) | |
}, r = function(t) { | |
i.port2.postMessage(t) | |
}) : f && "onreadystatechange" in f.createElement("script") ? (o = f.documentElement, r = function(t) { | |
var e = f.createElement("script"); | |
e.onreadystatechange = function() { | |
v(t), e.onreadystatechange = null, o.removeChild(e), e = null | |
}, o.appendChild(e) | |
}) : r = function(t) { | |
setTimeout(v, 0, t) | |
} : (a = "setImmediate$" + Math.random() + "$", s = function(e) { | |
e.source === t && "string" == typeof e.data && 0 === e.data.indexOf(a) && v(+e.data.slice(a.length)) | |
}, t.addEventListener ? t.addEventListener("message", s, !1) : t.attachEvent("onmessage", s), r = function(e) { | |
t.postMessage(a + e, "*") | |
}), d.setImmediate = function(t) { | |
"function" != typeof t && (t = new Function("" + t)); | |
for (var e = new Array(arguments.length - 1), n = 0; n < e.length; n++) e[n] = arguments[n + 1]; | |
var o = { | |
callback: t, | |
args: e | |
}; | |
return u[c] = o, r(c), c++ | |
}, d.clearImmediate = p | |
} | |
function p(t) { | |
delete u[t] | |
} | |
function v(t) { | |
if (l) setTimeout(v, 0, t); | |
else { | |
var e = u[t]; | |
if (e) { | |
l = !0; | |
try { | |
! function(t) { | |
var e = t.callback, | |
n = t.args; | |
switch (n.length) { | |
case 0: | |
e(); | |
break; | |
case 1: | |
e(n[0]); | |
break; | |
case 2: | |
e(n[0], n[1]); | |
break; | |
case 3: | |
e(n[0], n[1], n[2]); | |
break; | |
default: | |
e.apply(void 0, n) | |
} | |
}(e) | |
} finally { | |
p(t), l = !1 | |
} | |
} | |
} | |
} | |
}("undefined" == typeof self ? void 0 === t ? this : t : self) | |
}).call(this, n(1), n(5)) | |
}, 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 s(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, u = [], | |
l = !1, | |
f = -1; | |
function d() { | |
l && c && (l = !1, c.length ? u = c.concat(u) : f = -1, u.length && p()) | |
} | |
function p() { | |
if (!l) { | |
var t = s(d); | |
l = !0; | |
for (var e = u.length; e;) { | |
for (c = u, u = []; ++f < e;) c && c[f].run(); | |
f = -1, e = u.length | |
} | |
c = null, l = !1, | |
function(t) { | |
if (r === clearTimeout) return clearTimeout(t); | |
if ((r === a || !r) && clearTimeout) return r = clearTimeout, clearTimeout(t); | |
try { | |
r(t) | |
} catch (e) { | |
try { | |
return r.call(null, t) | |
} catch (e) { | |
return r.call(this, t) | |
} | |
} | |
}(t) | |
} | |
} | |
function v(t, e) { | |
this.fun = t, this.array = e | |
} | |
function h() {} | |
o.nextTick = function(t) { | |
var e = new Array(arguments.length - 1); | |
if (arguments.length > 1) | |
for (var n = 1; n < arguments.length; n++) e[n - 1] = arguments[n]; | |
u.push(new v(t, e)), 1 !== u.length || l || s(p) | |
}, v.prototype.run = function() { | |
this.fun.apply(null, this.array) | |
}, o.title = "browser", o.browser = !0, o.env = {}, o.argv = [], o.version = "", o.versions = {}, o.on = h, o.addListener = h, o.once = h, o.off = h, o.removeListener = h, o.removeAllListeners = h, o.emit = h, o.prependListener = h, o.prependOnceListener = h, o.listeners = function(t) { | |
return [] | |
}, o.binding = function(t) { | |
throw new Error("process.binding is not supported") | |
}, o.cwd = function() { | |
return "/" | |
}, o.chdir = function(t) { | |
throw new Error("process.chdir is not supported") | |
}, o.umask = function() { | |
return 0 | |
} | |
}, function(t, e, n) { | |
"use strict"; | |
n.r(e); | |
var r = n(0), | |
o = document.createElement("div"); | |
o.className = "iciba-root", document.body.appendChild(o); | |
var i = o.attachShadow ? o.attachShadow({ | |
mode: "open" | |
}) : o.createShadowRoot(); | |
r.a.prototype.shadowRoot = i, r.a.prototype.icibaRoot = o; | |
var a, s; | |
a = new r.a({ | |
render: function(t) { | |
return t("app") | |
}, | |
components: {} | |
}), s = document.createElement("div"), i.appendChild(s), a.$mount(s) | |
}]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'mini_racer' | |
context = MiniRacer::Context.new(timeout: 500, max_memory: 20_000_000) | |
context.attach 'greasyforkSetLogger', ->(value) {} | |
context.eval(File.read('script.js')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment