Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
146 changes: 75 additions & 71 deletions pkg/assets/bindata.go
Original file line number Diff line number Diff line change
Expand Up @@ -26072,7 +26072,7 @@ c.name && (a[0] = "[" + c.name + "] " + a[0]), c.level === b.WARN && console.war
return a.Logger = b._prevLogger, b;
}, a.Logger = b);
}(this), window.WebComponents = window.WebComponents || {}, function(a) {
var b = a.flags || {}, c = "webcomponents.js", d = document.querySelector('script[src*="' + c + '"]'), b = {};
var b = a.flags || {}, c = "webcomponents.js", d = document.querySelector('script[src*="' + c + '"]');
if (!b.noOpts) {
if (location.search.slice(1).split("&").forEach(function(a) {
a = a.split("="), a[0] && (b[a[0]] = a[1] || !0);
Expand Down Expand Up @@ -27267,7 +27267,7 @@ compareDocumentPosition:function(a) {
return U.call(J(this), L(a));
},
normalize:function() {
for (var a, b, c = i(this.childNodes), d = [], e = "", f = 0; f < c.length; f++) b = c[f], b.nodeType === w.TEXT_NODE ? a || b.data.length ? a ? (e += b.data, d.push(b)) :a = b :this.removeNode(b) :(a && d.length && (a.data += e, t(d)), d = [], e = "", a = null, b.childNodes.length && b.normalize());
for (var a, b, c = i(this.childNodes), d = [], e = "", f = 0; f < c.length; f++) b = c[f], b.nodeType === w.TEXT_NODE ? a || b.data.length ? a ? (e += b.data, d.push(b)) :a = b :this.removeChild(b) :(a && d.length && (a.data += e, t(d)), d = [], e = "", a = null, b.childNodes.length && b.normalize());
a && d.length && (a.data += e, t(d));
}
}), B(w, "ownerDocument"), H(S, w, document.createDocumentFragment()), delete w.prototype.querySelector, delete w.prototype.querySelectorAll, w.prototype = F(Object.create(x.prototype), w.prototype), a.cloneNode = u, a.nodeWasAdded = j, a.nodeWasRemoved = l, a.nodesWereAdded = k, a.nodesWereRemoved = m, a.originalInsertBefore = V, a.originalRemoveChild = W, a.snapshotNodeList = i, a.wrappers.Node = w;
Expand Down Expand Up @@ -27453,38 +27453,37 @@ return this.parentNode && this.parentNode.insertBefore(f, this.nextSibling), f;
}), f(g, c, document.createTextNode("")), a.wrappers.Text = c;
}(window.ShadowDOMPolyfill), function(a) {
"use strict";
function b(b) {
a.invalidateRendererBasedOnAttribute(b, "class");
function b(a) {
return f(a).getAttribute("class");
}
function c(a, b) {
d(a, this), this.ownerElement_ = b;
g(a, "attributes", {
name:"class",
namespace:null,
oldValue:b
});
}
var d = a.setWrapper, e = a.unsafeUnwrap;
c.prototype = {
constructor:c,
get length() {
return e(this).length;
},
item:function(a) {
return e(this).item(a);
},
contains:function(a) {
return e(this).contains(a);
},
add:function() {
e(this).add.apply(e(this), arguments), b(this.ownerElement_);
},
remove:function() {
e(this).remove.apply(e(this), arguments), b(this.ownerElement_);
},
toggle:function() {
var a = e(this).toggle.apply(e(this), arguments);
return b(this.ownerElement_), a;
},
toString:function() {
return e(this).toString();
function d(b) {
a.invalidateRendererBasedOnAttribute(b, "class");
}
function e(a, e, f) {
var g = a.ownerElement_;
if (null == g) return e.apply(a, f);
var h = b(g), i = e.apply(a, f);
return b(g) !== h && (c(g, h), d(g)), i;
}
}, a.wrappers.DOMTokenList = c;
var f = a.unsafeUnwrap, g = a.enqueueMutation, h = DOMTokenList.prototype.add;
DOMTokenList.prototype.add = function() {
e(this, h, arguments);
};
var i = DOMTokenList.prototype.remove;
DOMTokenList.prototype.remove = function() {
e(this, i, arguments);
};
var j = DOMTokenList.prototype.toggle;
DOMTokenList.prototype.toggle = function() {
return e(this, j, arguments);
};
}(window.ShadowDOMPolyfill), function(a) {
"use strict";
function b(b, c) {
Expand All @@ -27495,7 +27494,7 @@ e.dependsOnAttribute(c) && e.invalidate();
}
}
function c(a, b, c) {
k(a, "attributes", {
j(a, "attributes", {
name:b,
namespace:null,
oldValue:c
Expand All @@ -27504,51 +27503,51 @@ oldValue:c
function d(a) {
g.call(this, a);
}
var e = a.ChildNodeInterface, f = a.GetElementsByInterface, g = a.wrappers.Node, h = a.wrappers.DOMTokenList, i = a.ParentNodeInterface, j = a.SelectorsInterface, k = (a.addWrapNodeListMethod, a.enqueueMutation), l = a.mixin, m = (a.oneOf, a.registerWrapper), n = a.unsafeUnwrap, o = a.wrappers, p = window.Element, q = [ "matches", "mozMatchesSelector", "msMatchesSelector", "webkitMatchesSelector" ].filter(function(a) {
return p.prototype[a];
}), r = q[0], s = p.prototype[r], t = new WeakMap();
d.prototype = Object.create(g.prototype), l(d.prototype, {
var e = a.ChildNodeInterface, f = a.GetElementsByInterface, g = a.wrappers.Node, h = a.ParentNodeInterface, i = a.SelectorsInterface, j = (a.addWrapNodeListMethod, a.enqueueMutation), k = a.mixin, l = (a.oneOf, a.registerWrapper), m = a.unsafeUnwrap, n = a.wrappers, o = window.Element, p = [ "matches", "mozMatchesSelector", "msMatchesSelector", "webkitMatchesSelector" ].filter(function(a) {
return o.prototype[a];
}), q = p[0], r = o.prototype[q], s = new WeakMap();
d.prototype = Object.create(g.prototype), k(d.prototype, {
createShadowRoot:function() {
var b = new o.ShadowRoot(this);
n(this).polymerShadowRoot_ = b;
var b = new n.ShadowRoot(this);
m(this).polymerShadowRoot_ = b;
var c = a.getRendererForHost(this);
return c.invalidate(), b;
},
get shadowRoot() {
return n(this).polymerShadowRoot_ || null;
return m(this).polymerShadowRoot_ || null;
},
setAttribute:function(a, d) {
var e = n(this).getAttribute(a);
n(this).setAttribute(a, d), c(this, a, e), b(this, a);
var e = m(this).getAttribute(a);
m(this).setAttribute(a, d), c(this, a, e), b(this, a);
},
removeAttribute:function(a) {
var d = n(this).getAttribute(a);
n(this).removeAttribute(a), c(this, a, d), b(this, a);
var d = m(this).getAttribute(a);
m(this).removeAttribute(a), c(this, a, d), b(this, a);
},
matches:function(a) {
return s.call(n(this), a);
return r.call(m(this), a);
},
get classList() {
var a = t.get(this);
return a || t.set(this, a = new h(n(this).classList, this)), a;
var a = s.get(this);
return a || (a = m(this).classList, a.ownerElement_ = this, s.set(this, a)), a;
},
get className() {
return n(this).className;
return m(this).className;
},
set className(a) {
this.setAttribute("class", a);
},
get id() {
return n(this).id;
return m(this).id;
},
set id(a) {
this.setAttribute("id", a);
}
}), q.forEach(function(a) {
}), p.forEach(function(a) {
"matches" !== a && (d.prototype[a] = function(a) {
return this.matches(a);
});
}), p.prototype.webkitCreateShadowRoot && (d.prototype.webkitCreateShadowRoot = d.prototype.createShadowRoot), l(d.prototype, e), l(d.prototype, f), l(d.prototype, i), l(d.prototype, j), m(p, d, document.createElementNS(null, "x")), a.invalidateRendererBasedOnAttribute = b, a.matchesNames = q, a.wrappers.Element = d;
}), o.prototype.webkitCreateShadowRoot && (d.prototype.webkitCreateShadowRoot = d.prototype.createShadowRoot), k(d.prototype, e), k(d.prototype, f), k(d.prototype, h), k(d.prototype, i), l(o, d, document.createElementNS(null, "x")), a.invalidateRendererBasedOnAttribute = b, a.matchesNames = p, a.wrappers.Element = d;
}(window.ShadowDOMPolyfill), function(a) {
"use strict";
function b(a) {
Expand Down Expand Up @@ -27937,12 +27936,12 @@ var c = a.wrappers.HTMLContentElement, d = a.wrappers.HTMLElement, e = a.wrapper
b.prototype = Object.create(d.prototype), g(h, b), a.wrappers.HTMLUnknownElement = b;
}(window.ShadowDOMPolyfill), function(a) {
"use strict";
var b = a.wrappers.Element, c = a.wrappers.HTMLElement, d = a.registerObject, e = "http://www.w3.org/2000/svg", f = document.createElementNS(e, "title"), g = d(f), h = Object.getPrototypeOf(g.prototype).constructor;
if (!("classList" in f)) {
var i = Object.getOwnPropertyDescriptor(b.prototype, "classList");
Object.defineProperty(c.prototype, "classList", i), delete b.prototype.classList;
var b = a.wrappers.Element, c = a.wrappers.HTMLElement, d = a.registerObject, e = a.defineWrapGetter, f = "http://www.w3.org/2000/svg", g = document.createElementNS(f, "title"), h = d(g), i = Object.getPrototypeOf(h.prototype).constructor;
if (!("classList" in g)) {
var j = Object.getOwnPropertyDescriptor(b.prototype, "classList");
Object.defineProperty(c.prototype, "classList", j), delete b.prototype.classList;
}
a.wrappers.SVGElement = h;
e(i, "ownerSVGElement"), a.wrappers.SVGElement = i;
}(window.ShadowDOMPolyfill), function(a) {
"use strict";
function b(a) {
Expand Down Expand Up @@ -28528,7 +28527,7 @@ H.call(B(this), b, l);
return d;
}, t([ window.HTMLDocument || window.Document ], [ "registerElement" ]);
}
t([ window.HTMLBodyElement, window.HTMLDocument || window.Document, window.HTMLHeadElement, window.HTMLHtmlElement ], [ "appendChild", "compareDocumentPosition", "contains", "getElementsByClassName", "getElementsByTagName", "getElementsByTagNameNS", "insertBefore", "querySelector", "querySelectorAll", "removeChild", "replaceChild" ].concat(u)), t([ window.HTMLDocument || window.Document ], [ "adoptNode", "importNode", "contains", "createComment", "createDocumentFragment", "createElement", "createElementNS", "createEvent", "createEventNS", "createRange", "createTextNode", "elementFromPoint", "getElementById", "getElementsByName", "getSelection" ]), v(b.prototype, j), v(b.prototype, l), v(b.prototype, n), v(b.prototype, {
t([ window.HTMLBodyElement, window.HTMLDocument || window.Document, window.HTMLHeadElement, window.HTMLHtmlElement ], [ "appendChild", "compareDocumentPosition", "contains", "getElementsByClassName", "getElementsByTagName", "getElementsByTagNameNS", "insertBefore", "querySelector", "querySelectorAll", "removeChild", "replaceChild" ]), t([ window.HTMLBodyElement, window.HTMLHeadElement, window.HTMLHtmlElement ], u), t([ window.HTMLDocument || window.Document ], [ "adoptNode", "importNode", "contains", "createComment", "createDocumentFragment", "createElement", "createElementNS", "createEvent", "createEventNS", "createRange", "createTextNode", "elementFromPoint", "getElementById", "getElementsByName", "getSelection" ]), v(b.prototype, j), v(b.prototype, l), v(b.prototype, n), v(b.prototype, {
get implementation() {
var a = E.get(this);
return a ? a :(a = new g(B(this).implementation), E.set(this, a), a);
Expand Down Expand Up @@ -29175,9 +29174,9 @@ childList:!0
}), function() {
if ("loading" === document.readyState) for (var a, b = document.querySelectorAll("link[rel=import]"), c = 0, d = b.length; d > c && (a = b[c]); c++) j(a);
}()), b(function() {
HTMLImports.ready = !0, HTMLImports.readyTime = new Date().getTime(), o.dispatchEvent(new CustomEvent("HTMLImportsLoaded", {
bubbles:!0
}));
HTMLImports.ready = !0, HTMLImports.readyTime = new Date().getTime();
var a = o.createEvent("CustomEvent");
a.initCustomEvent("HTMLImportsLoaded", !0, !0, {}), o.dispatchEvent(a);
}), a.IMPORT_LINK_TYPE = k, a.useNative = l, a.rootDocument = o, a.whenReady = b, a.isIE = q;
}(HTMLImports), function(a) {
var b = [], c = function(a) {
Expand Down Expand Up @@ -29207,25 +29206,26 @@ return b.href = f, f = b.href, c + "'" + f + "'" + e;
};
a.path = d;
}), HTMLImports.addModule(function(a) {
xhr = {
var b = {
async:!0,
ok:function(a) {
return a.status >= 200 && a.status < 300 || 304 === a.status || 0 === a.status;
},
load:function(b, c, d) {
var e = new XMLHttpRequest();
return (a.flags.debug || a.flags.bust) && (b += "?" + Math.random()), e.open("GET", b, xhr.async), e.addEventListener("readystatechange", function() {
if (4 === e.readyState) {
var a = e.getResponseHeader("Location"), b = null;
if (a) var b = "/" === a.substr(0, 1) ? location.origin + a :a;
c.call(d, !xhr.ok(e) && e, e.response || e.responseText, b);
load:function(c, d, e) {
var f = new XMLHttpRequest();
return (a.flags.debug || a.flags.bust) && (c += "?" + Math.random()), f.open("GET", c, b.async), f.addEventListener("readystatechange", function() {
if (4 === f.readyState) {
var a = f.getResponseHeader("Location"), c = null;
if (a) var c = "/" === a.substr(0, 1) ? location.origin + a :a;
d.call(e, !b.ok(f) && f, f.response || f.responseText, c);
}
}), e.send(), e;
}), f.send(), f;
},
loadDocument:function(a, b, c) {
this.load(a, b, c).responseType = "document";
}
}, a.xhr = xhr;
};
a.xhr = b;
}), HTMLImports.addModule(function(a) {
var b = a.xhr, c = a.flags, d = function(a, b) {
this.cache = {}, this.onload = a, this.oncomplete = b, this.inflight = 0, this.pending = {};
Expand All @@ -29248,7 +29248,7 @@ if (this.pending[a]) return this.pending[a].push(b), !0;
return this.cache[a] ? (this.onload(a, b, this.cache[a]), this.tail(), !0) :(this.pending[a] = [ b ], !1);
},
fetch:function(a, d) {
if (c.load && console.log("fetch", a, d), a.match(/^data:/)) {
if (c.load && console.log("fetch", a, d), a) if (a.match(/^data:/)) {
var e = a.split(","), f = e[0], g = e[1];
g = f.indexOf(";base64") > -1 ? atob(g) :decodeURIComponent(g), setTimeout(function() {
this.receive(a, d, null, g);
Expand All @@ -29258,7 +29258,11 @@ var h = function(b, c, e) {
this.receive(a, d, b, c, e);
}.bind(this);
b.load(a, h);
}
} else setTimeout(function() {
this.receive(a, d, {
error:"href must be specified"
}, null);
}.bind(this), 0);
},
receive:function(a, b, c, d, e) {
this.cache[a] = d;
Expand Down Expand Up @@ -29483,7 +29487,7 @@ a.importer = l, a.importLoader = m;
}), HTMLImports.addModule(function(a) {
var b = a.parser, c = a.importer, d = {
added:function(a) {
for (var d, e, f, g = 0, h = a.length; h > g && (f = a[g]); g++) d || (d = f.ownerDocument, e = b.isParsed(d)), loading = this.shouldLoadNode(f), loading && c.loadNode(f), this.shouldParseNode(f) && e && b.parseDynamic(f, loading);
for (var d, e, f, g, h = 0, i = a.length; i > h && (g = a[h]); h++) d || (d = g.ownerDocument, e = b.isParsed(d)), f = this.shouldLoadNode(g), f && c.loadNode(g), this.shouldParseNode(g) && e && b.parseDynamic(g, f);
},
shouldLoadNode:function(a) {
return 1 === a.nodeType && e.call(a, c.loadSelectorsForNode(a));
Expand Down