| 1 if(!HTMLElement.prototype.createShadowRoot||window.__forceShadowDomPolyfill){!fu
nction(){Element.prototype.webkitCreateShadowRoot&&(Element.prototype.webkitCrea
teShadowRoot=function(){return window.ShadowDOMPolyfill.wrapIfNeeded(this).creat
eShadowRoot()})}(),function(a){"use strict";function b(){function a(a){"splice"=
==a[0].type&&"splice"===a[1].type&&(b=!0)}if("function"!=typeof Object.observe||
"function"!=typeof Array.observe)return!1;var b=!1,c=[0];return Array.observe(c,
a),c[1]=1,c.length=0,Object.deliverChangeRecords(a),b}function c(){if(a.document
&&"securityPolicy"in a.document&&!a.document.securityPolicy.allowsEval)return!1;
try{var b=new Function("","return true;");return b()}catch(c){return!1}}function
d(a){return+a===a>>>0}function e(a){return+a}function f(a){return a===Object(a)
}function g(a,b){return a===b?0!==a||1/a===1/b:H(a)&&H(b)?!0:a!==a&&b!==b}functi
on h(a){return"string"!=typeof a?!1:(a=a.trim(),""==a?!0:"."==a[0]?!1:P.test(a))
}function i(a,b){if(b!==Q)throw Error("Use Path.get to retrieve path objects");r
eturn""==a.trim()?this:d(a)?(this.push(a),this):(a.split(/\s*\.\s*/).filter(func
tion(a){return a}).forEach(function(a){this.push(a)},this),G&&!F&&this.length&&(
this.getValueFrom=this.compiledGetValueFromFn()),void 0)}function j(a){if(a inst
anceof i)return a;null==a&&(a=""),"string"!=typeof a&&(a=String(a));var b=R[a];i
f(b)return b;if(!h(a))return S;var b=new i(a,Q);return R[a]=b,b}function k(b){fo
r(var c=0;T>c&&b.check();)b.report(),c++;a.testingExposeCycleCount&&(a.dirtyChec
kCycleCount=c)}function l(a){for(var b in a)return!1;return!0}function m(a){retu
rn l(a.added)&&l(a.removed)&&l(a.changed)}function n(a,b){var c={},d={},e={};for
(var f in b){var g=a[f];(void 0===g||g!==b[f])&&(f in a?g!==b[f]&&(e[f]=g):d[f]=
void 0)}for(var f in a)f in b||(c[f]=a[f]);return Array.isArray(a)&&a.length!==b
.length&&(e.length=a.length),{added:c,removed:d,changed:e}}function o(a,b){var c
=b||(Array.isArray(a)?[]:{});for(var d in a)c[d]=a[d];return Array.isArray(a)&&(
c.length=a.length),c}function p(a,b,c,d){if(this.closed=!1,this.object=a,this.ca
llback=b,this.target=c,this.token=d,this.reporting=!0,F){var e=this;this.boundIn
ternalCallback=function(a){e.internalCallback(a)}}q(this)}function q(a){V&&(U.pu
sh(a),p._allObserversCount++)}function r(a,b,c,d){p.call(this,a,b,c,d),this.conn
ect(),this.sync(!0)}function s(a,b,c,d){if(!Array.isArray(a))throw Error("Provid
ed object is not an Array");r.call(this,a,b,c,d)}function t(a){this.arr=[],this.
callback=a,this.isObserved=!0}function u(a,b,c,d,e,g,h){var b=b instanceof i?b:j
(b);return b&&b.length&&f(a)?(p.call(this,a,c,d,e),this.valueFn=g,this.setValueF
n=h,this.path=b,this.connect(),this.sync(!0),void 0):(this.value_=b?b.getValueFr
om(a):void 0,this.value=g?g(this.value_):this.value_,this.closed=!0,void 0)}func
tion v(a,b,c,d){p.call(this,void 0,a,b,c),this.valueFn=d,this.observed=[],this.v
alues=[],this.value=void 0,this.oldValue=void 0,this.oldValues=void 0,this.chang
eFlags=void 0,this.started=!1}function w(a,b){if("function"==typeof Object.obser
ve){var c=Object.getNotifier(a);return function(d,e){var f={object:a,type:d,name
:b};2===arguments.length&&(f.oldValue=e),c.notify(f)}}}function x(a,b,c){for(var
d={},e={},f=0;f<b.length;f++){var g=b[f];$[g.type]?(g.name in c||(c[g.name]=g.o
ldValue),"updated"!=g.type&&("new"!=g.type?g.name in d?(delete d[g.name],delete
c[g.name]):e[g.name]=!0:g.name in e?delete e[g.name]:d[g.name]=!0)):(console.err
or("Unknown changeRecord type: "+g.type),console.error(g))}for(var h in d)d[h]=a
[h];for(var h in e)e[h]=void 0;var i={};for(var h in c)if(!(h in d||h in e)){var
j=a[h];c[h]!==j&&(i[h]=j)}return{added:d,removed:e,changed:i}}function y(a,b,c)
{return{index:a,removed:b,addedCount:c}}function z(){}function A(a,b,c,d,e,f){re
turn db.calcSplices(a,b,c,d,e,f)}function B(a,b,c,d){return c>b||a>d?-1:b==c||d=
=a?0:c>a?d>b?b-c:d-c:b>d?d-a:b-a}function C(a,b,c,d){for(var e=y(b,c,d),f=!1,g=0
,h=0;h<a.length;h++){var i=a[h];if(i.index+=g,!f){var j=B(e.index,e.index+e.remo
ved.length,i.index,i.index+i.addedCount);if(j>=0){a.splice(h,1),h--,g-=i.addedCo
unt-i.removed.length,e.addedCount+=i.addedCount-j;var k=e.removed.length+i.remov
ed.length-j;if(e.addedCount||k){var c=i.removed;if(e.index<i.index){var l=e.remo
ved.slice(0,i.index-e.index);Array.prototype.push.apply(l,c),c=l}if(e.index+e.re
moved.length>i.index+i.addedCount){var m=e.removed.slice(i.index+i.addedCount-e.
index);Array.prototype.push.apply(c,m)}e.removed=c,i.index<e.index&&(e.index=i.i
ndex)}else f=!0}else if(e.index<i.index){f=!0,a.splice(h,0,e),h++;var n=e.addedC
ount-e.removed.length;i.index+=n,g+=n}}}f||a.push(e)}function D(a,b){for(var c=[
],f=0;f<b.length;f++){var g=b[f];switch(g.type){case"splice":C(c,g.index,g.remov
ed.slice(),g.addedCount);break;case"new":case"updated":case"deleted":if(!d(g.nam
e))continue;var h=e(g.name);if(0>h)continue;C(c,h,[g.oldValue],1);break;default:
console.error("Unexpected record type: "+JSON.stringify(g))}}return c}function E
(a,b){var c=[];return D(a,b).forEach(function(b){return 1==b.addedCount&&1==b.re
moved.length?(b.removed[0]!==a[b.index]&&c.push(b),void 0):(c=c.concat(A(a,b.ind
ex,b.index+b.addedCount,b.removed,0,b.removed.length)),void 0)}),c}var F=b(),G=c
(),H=a.Number.isNaN||function(b){return"number"==typeof b&&a.isNaN(b)},I="__prot
o__"in{}?function(a){return a}:function(a){var b=a.__proto__;if(!b)return a;var
c=Object.create(b);return Object.getOwnPropertyNames(a).forEach(function(b){Obje
ct.defineProperty(c,b,Object.getOwnPropertyDescriptor(a,b))}),c},J="[$_a-zA-Z]",
K="[$_a-zA-Z0-9]",L=J+"+"+K+"*",M="(?:[0-9]|[1-9]+[0-9]+)",N="(?:"+L+"|"+M+")",O
="(?:"+N+")(?:\\s*\\.\\s*"+N+")*",P=new RegExp("^"+O+"$"),Q={},R={};i.get=j,i.pr
ototype=I({__proto__:[],valid:!0,toString:function(){return this.join(".")},getV
alueFrom:function(a,b){for(var c=0;c<this.length;c++){if(null==a)return;b&&b.obs
erve(a),a=a[this[c]]}return a},compiledGetValueFromFn:function(){var a=this.map(
function(a){return d(a)?'["'+a+'"]':"."+a}),b="",c="obj";b+="if (obj != null";fo
r(var e=0;e<this.length-1;e++)this[e],c+=a[e],b+=" &&\n "+c+" != null";retur
n b+=")\n",c+=a[e],b+=" return "+c+";\nelse\n return undefined;",new Function(
"obj",b)},setValueFrom:function(a,b){if(!this.length)return!1;for(var c=0;c<this
.length-1;c++){if(!f(a))return!1;a=a[this[c]]}return f(a)?(a[this[c]]=b,!0):!1}}
);var S=new i("",Q);S.valid=!1,S.getValueFrom=S.setValueFrom=function(){};var T=
1e3;p.prototype={internalCallback:function(a){this.closed||this.reporting&&this.
check(a)&&(this.report(),this.testingResults&&(this.testingResults.anyChanged=!0
))},close:function(){this.closed||(this.object&&"function"==typeof this.object.c
lose&&this.object.close(),this.disconnect(),this.object=void 0,this.closed=!0)},
deliver:function(a){this.closed||(F?(this.testingResults=a,Object.deliverChangeR
ecords(this.boundInternalCallback),this.testingResults=void 0):k(this))},report:
function(){this.reporting&&(this.sync(!1),this.callback&&(this.reportArgs.push(t
his.token),this.invokeCallback(this.reportArgs)),this.reportArgs=void 0)},invoke
Callback:function(a){try{this.callback.apply(this.target,a)}catch(b){p._errorThr
ownDuringCallback=!0,console.error("Exception caught during observer callback: "
+(b.stack||b))}},reset:function(){this.closed||(F&&(this.reporting=!1,Object.del
iverChangeRecords(this.boundInternalCallback),this.reporting=!0),this.sync(!0))}
};var U,V=!F||a.forceCollectObservers;p._allObserversCount=0,V&&(U=[]);var W=!1,
X="function"==typeof Object.deliverAllChangeRecords;a.Platform=a.Platform||{},a.
Platform.performMicrotaskCheckpoint=function(){if(!W){if(X)return Object.deliver
AllChangeRecords(),void 0;if(V){W=!0;var b=0,c={};do{b++;var d=U;U=[],c.anyChang
ed=!1;for(var e=0;e<d.length;e++){var f=d[e];f.closed||(F?f.deliver(c):f.check()
&&(c.anyChanged=!0,f.report()),U.push(f))}}while(T>b&&c.anyChanged);a.testingExp
oseCycleCount&&(a.dirtyCheckCycleCount=b),p._allObserversCount=U.length,W=!1}}},
V&&(a.Platform.clearObservers=function(){U=[]}),r.prototype=I({__proto__:p.proto
type,connect:function(){F&&Object.observe(this.object,this.boundInternalCallback
)},sync:function(){F||(this.oldObject=o(this.object))},check:function(a){var b,c
;if(F){if(!a)return!1;c={},b=x(this.object,a,c)}else c=this.oldObject,b=n(this.o
bject,this.oldObject);return m(b)?!1:(this.reportArgs=[b.added||{},b.removed||{}
,b.changed||{}],this.reportArgs.push(function(a){return c[a]}),!0)},disconnect:f
unction(){F?this.object&&Object.unobserve(this.object,this.boundInternalCallback
):this.oldObject=void 0}}),s.prototype=I({__proto__:r.prototype,connect:function
(){F&&Array.observe(this.object,this.boundInternalCallback)},sync:function(){F||
(this.oldObject=this.object.slice())},check:function(a){var b;if(F){if(!a)return
!1;b=E(this.object,a)}else b=A(this.object,0,this.object.length,this.oldObject,0
,this.oldObject.length);return b&&b.length?(this.reportArgs=[b],!0):!1}}),s.appl
ySplices=function(a,b,c){c.forEach(function(c){for(var d=[c.index,c.removed.leng
th],e=c.index;e<c.index+c.addedCount;)d.push(b[e]),e++;Array.prototype.splice.ap
ply(a,d)})};var Y=Object.getPrototypeOf({}),Z=Object.getPrototypeOf([]);t.protot
ype={reset:function(){this.isObserved=!this.isObserved},observe:function(a){if(f
(a)&&a!==Y&&a!==Z){var b=this.arr.indexOf(a);b>=0&&this.arr[b+1]===this.isObserv
ed||(0>b&&(b=this.arr.length,this.arr[b]=a,Object.observe(a,this.callback)),this
.arr[b+1]=this.isObserved,this.observe(Object.getPrototypeOf(a)))}},cleanup:func
tion(){for(var a=0,b=0,c=this.isObserved;b<this.arr.length;){var d=this.arr[b];t
his.arr[b+1]==c?(b>a&&(this.arr[a]=d,this.arr[a+1]=c),a+=2):Object.unobserve(d,t
his.callback),b+=2}this.arr.length=a}},u.prototype=I({__proto__:p.prototype,conn
ect:function(){F&&(this.observedSet=new t(this.boundInternalCallback))},disconne
ct:function(){this.value=void 0,this.value_=void 0,this.observedSet&&(this.obser
vedSet.reset(),this.observedSet.cleanup(),this.observedSet=void 0)},check:functi
on(){return this.observedSet&&this.observedSet.reset(),this.value_=this.path.get
ValueFrom(this.object,this.observedSet),this.observedSet&&this.observedSet.clean
up(),g(this.value_,this.oldValue_)?!1:(this.value=this.valueFn?this.valueFn(this
.value_):this.value_,this.reportArgs=[this.value,this.oldValue],!0)},sync:functi
on(a){a&&(this.observedSet&&this.observedSet.reset(),this.value_=this.path.getVa
lueFrom(this.object,this.observedSet),this.value=this.valueFn?this.valueFn(this.
value_):this.value_,this.observedSet&&this.observedSet.cleanup()),this.oldValue_
=this.value_,this.oldValue=this.value},setValue:function(a){this.path&&("functio
n"==typeof this.setValueFn&&(a=this.setValueFn(a)),this.path.setValueFrom(this.o
bject,a))}}),v.prototype=I({__proto__:u.prototype,addPath:function(a,b){if(this.
started)throw Error("Cannot add more paths once started.");var b=b instanceof i?
b:j(b),c=b?b.getValueFrom(a):void 0;this.observed.push(a,b),this.values.push(c)}
,start:function(){this.connect(),this.sync(!0)},getValues:function(){this.observ
edSet&&this.observedSet.reset();for(var a=!1,b=0;b<this.observed.length;b+=2){va
r c=this.observed[b+1];if(c){var d=this.observed[b],e=c.getValueFrom(d,this.obse
rvedSet),f=this.values[b/2];if(!g(e,f)){if(!a&&!this.valueFn){this.oldValues=thi
s.oldValues||[],this.changeFlags=this.changeFlags||[];for(var h=0;h<this.values.
length;h++)this.oldValues[h]=this.values[h],this.changeFlags[h]=!1}this.valueFn|
|(this.changeFlags[b/2]=!0),this.values[b/2]=e,a=!0}}}return this.observedSet&&t
his.observedSet.cleanup(),a},check:function(){if(this.getValues()){if(this.value
Fn){if(this.value=this.valueFn(this.values),g(this.value,this.oldValue))return!1
;this.reportArgs=[this.value,this.oldValue]}else this.reportArgs=[this.values,th
is.oldValues,this.changeFlags];return!0}},sync:function(a){a&&(this.getValues(),
this.valueFn&&(this.value=this.valueFn(this.values))),this.valueFn&&(this.oldVal
ue=this.value)},close:function(){if(this.observed){for(var a=0;a<this.observed.l
ength;a+=2){var b=this.observed[a];b&&"function"==typeof b.close&&b.close()}this
.observed=void 0,this.values=void 0}p.prototype.close.call(this)}});var $={"new"
:!0,updated:!0,deleted:!0};u.defineProperty=function(a,b,c){var d=c.object,e=j(c
.path),f=w(a,b),g=new u(d,c.path,function(a,b){f&&f("updated",b)});return Object
.defineProperty(a,b,{get:function(){return e.getValueFrom(d)},set:function(a){e.
setValueFrom(d,a)},configurable:!0}),{close:function(){var c=e.getValueFrom(d);f
&&g.deliver(),g.close(),Object.defineProperty(a,b,{value:c,writable:!0,configura
ble:!0})}}};var _=0,ab=1,bb=2,cb=3;z.prototype={calcEditDistances:function(a,b,c
,d,e,f){for(var g=f-e+1,h=c-b+1,i=new Array(g),j=0;g>j;j++)i[j]=new Array(h),i[j
][0]=j;for(var k=0;h>k;k++)i[0][k]=k;for(var j=1;g>j;j++)for(var k=1;h>k;k++)if(
this.equals(a[b+k-1],d[e+j-1]))i[j][k]=i[j-1][k-1];else{var l=i[j-1][k]+1,m=i[j]
[k-1]+1;i[j][k]=m>l?l:m}return i},spliceOperationsFromEditDistances:function(a){
for(var b=a.length-1,c=a[0].length-1,d=a[b][c],e=[];b>0||c>0;)if(0!=b)if(0!=c){v
ar f,g=a[b-1][c-1],h=a[b-1][c],i=a[b][c-1];f=i>h?g>h?h:g:g>i?i:g,f==g?(g==d?e.pu
sh(_):(e.push(ab),d=g),b--,c--):f==h?(e.push(cb),b--,d=h):(e.push(bb),c--,d=i)}e
lse e.push(cb),b--;else e.push(bb),c--;return e.reverse(),e},calcSplices:functio
n(a,b,c,d,e,f){var g=0,h=0,i=Math.min(c-b,f-e);if(0==b&&0==e&&(g=this.sharedPref
ix(a,d,i)),c==a.length&&f==d.length&&(h=this.sharedSuffix(a,d,i-g)),b+=g,e+=g,c-
=h,f-=h,0==c-b&&0==f-e)return[];if(b==c){for(var j=y(b,[],0);f>e;)j.removed.push
(d[e++]);return[j]}if(e==f)return[y(b,[],c-b)];for(var k=this.spliceOperationsFr
omEditDistances(this.calcEditDistances(a,b,c,d,e,f)),j=void 0,l=[],m=b,n=e,o=0;o
<k.length;o++)switch(k[o]){case _:j&&(l.push(j),j=void 0),m++,n++;break;case ab:
j||(j=y(m,[],0)),j.addedCount++,m++,j.removed.push(d[n]),n++;break;case bb:j||(j
=y(m,[],0)),j.addedCount++,m++;break;case cb:j||(j=y(m,[],0)),j.removed.push(d[n
]),n++}return j&&l.push(j),l},sharedPrefix:function(a,b,c){for(var d=0;c>d;d++)i
f(!this.equals(a[d],b[d]))return d;return c},sharedSuffix:function(a,b,c){for(va
r d=a.length,e=b.length,f=0;c>f&&this.equals(a[--d],b[--e]);)f++;return f},calcu
lateSplices:function(a,b){return this.calcSplices(a,0,a.length,b,0,b.length)},eq
uals:function(a,b){return a===b}};var db=new z;a.Observer=p,a.Observer.hasObject
Observe=F,a.ArrayObserver=s,a.ArrayObserver.calculateSplices=function(a,b){retur
n db.calculateSplices(a,b)},a.ArraySplice=z,a.ObjectObserver=r,a.PathObserver=u,
a.CompoundPathObserver=v,a.Path=i}("undefined"!=typeof global&&global?global:thi
s),("undefined"==typeof WeakMap||navigator.userAgent.indexOf("Firefox/")>-1)&&!f
unction(){var a=Object.defineProperty,b=Date.now()%1e9,c=function(){this.name="_
_st"+(1e9*Math.random()>>>0)+(b++ +"__")};c.prototype={set:function(b,c){var d=b
[this.name];d&&d[0]===b?d[1]=c:a(b,this.name,{value:[b,c],writable:!0})},get:fun
ction(a){var b;return(b=a[this.name])&&b[0]===a?b[1]:void 0},"delete":function(a
){this.set(a,void 0)}},window.WeakMap=c}();var ShadowDOMPolyfill={};!function(a)
{"use strict";function b(a){if(!a)throw new Error("Assertion failed")}function c
(a,b){return Object.getOwnPropertyNames(b).forEach(function(c){Object.defineProp
erty(a,c,Object.getOwnPropertyDescriptor(b,c))}),a}function d(a,b){return Object
.getOwnPropertyNames(b).forEach(function(c){switch(c){case"arguments":case"calle
r":case"length":case"name":case"prototype":case"toString":return}Object.definePr
operty(a,c,Object.getOwnPropertyDescriptor(b,c))}),a}function e(a,b){for(var c=0
;c<b.length;c++)if(b[c]in a)return b[c]}function f(a){var b=a.__proto__||Object.
getPrototypeOf(a),c=C.get(b);if(c)return c;var d=f(b),e=r(d);return o(b,e,a),e}f
unction g(a,b){m(a,b,!0)}function h(a,b){m(b,a,!1)}function i(a){return/^on[a-z]
+$/.test(a)}function j(a){return F?new Function("return this.impl."+a):function(
){return this.impl[a]}}function k(a){return F?new Function("v","this.impl."+a+"
= v"):function(b){this.impl[a]=b}}function l(a){return F?new Function("return th
is.impl."+a+".apply(this.impl, arguments)"):function(){return this.impl[a].apply
(this.impl,arguments)}}function m(b,c,d){Object.getOwnPropertyNames(b).forEach(f
unction(e){if(!(e in c)){I&&b.__lookupGetter__(e);var f;try{f=Object.getOwnPrope
rtyDescriptor(b,e)}catch(g){f=J}var h,m;if(d&&"function"==typeof f.value)return
c[e]=l(e),void 0;var n=i(e);h=n?a.getEventHandlerGetter(e):j(e),(f.writable||f.s
et)&&(m=n?a.getEventHandlerSetter(e):k(e)),Object.defineProperty(c,e,{get:h,set:
m,configurable:f.configurable,enumerable:f.enumerable})}})}function n(a,b,c){var
e=a.prototype;o(e,b,c),d(b,a)}function o(a,c,d){var e=c.prototype;b(void 0===C.
get(a)),C.set(a,c),D.set(e,a),g(a,e),d&&h(e,d)}function p(a,b){return C.get(b.pr
ototype)===a}function q(a){var b=Object.getPrototypeOf(a),c=f(b),d=r(c);return o
(b,d,a),d}function r(a){function b(b){a.call(this,b)}return b.prototype=Object.c
reate(a.prototype),b.prototype.constructor=b,b}function s(a){return a instanceof
E.EventTarget||a instanceof E.Event||a instanceof E.Range||a instanceof E.DOMIm
plementation}function t(a){return a instanceof M||a instanceof L||a instanceof N
||a instanceof O||a instanceof K}function u(a){return null===a?null:(b(t(a)),a.p
olymerWrapper_||(a.polymerWrapper_=new(f(a))(a)))}function v(a){return null===a?
null:(b(s(a)),a.impl)}function w(a){return a&&s(a)?v(a):a}function x(a){return a
&&!s(a)?u(a):a}function y(a,c){null!==c&&(b(t(a)),b(void 0===c||s(c)),a.polymerW
rapper_=c)}function z(a,b,c){Object.defineProperty(a.prototype,b,{get:c,configur
able:!0,enumerable:!0})}function A(a,b){z(a,b,function(){return u(this.impl[b])}
)}function B(a,b){a.forEach(function(a){b.forEach(function(b){a.prototype[b]=fun
ction(){var a=x(this);return a[b].apply(a,arguments)}})})}var C=new WeakMap,D=ne
w WeakMap,E=Object.create(null),F=!("securityPolicy"in document)||document.secur
ityPolicy.allowsEval;if(F)try{var G=new Function("","return true;");F=G()}catch(
H){}Object.getOwnPropertyNames(window);var I=/Firefox/.test(navigator.userAgent)
,J={get:function(){},set:function(){},configurable:!0,enumerable:!0},K=DOMImplem
entation,L=Event,M=Node,N=Window,O=Range;a.assert=b,a.constructorTable=C,a.defin
eGetter=z,a.defineWrapGetter=A,a.forwardMethodsToWrapper=B,a.isWrapperFor=p,a.mi
xin=c,a.nativePrototypeTable=D,a.oneOf=e,a.registerObject=q,a.registerWrapper=n,
a.rewrap=y,a.unwrap=v,a.unwrapIfNeeded=w,a.wrap=u,a.wrapIfNeeded=x,a.wrappers=E}
(this.ShadowDOMPolyfill),function(a){"use strict";function b(a){return a instanc
eof N.ShadowRoot}function c(a){var b=a.localName;return"content"===b||"shadow"==
=b}function d(a){return!!a.shadowRoot}function e(a){var b;return a.parentNode||(
b=a.defaultView)&&M(b)||null}function f(f,g,h){if(h.length)return h.shift();if(b
(f))return j(f)||a.getHostForShadowRoot(f);var i=a.eventParentsTable.get(f);if(i
){for(var k=1;k<i.length;k++)h[k-1]=i[k];return i[0]}if(g&&c(f)){var l=f.parentN
ode;if(l&&d(l))for(var m=a.getShadowTrees(l),n=j(g),k=0;k<m.length;k++)if(m[k].c
ontains(n))return n}return e(f)}function g(a){for(var d=[],e=a,g=[],i=[];e;){var
j=null;if(c(e)){j=h(d);var k=d[d.length-1]||e;d.push(k)}else d.length||d.push(e
);var l=d[d.length-1];g.push({target:l,currentTarget:e}),b(e)&&d.pop(),e=f(e,j,i
)}return g}function h(a){for(var b=a.length-1;b>=0;b--)if(!c(a[b]))return a[b];r
eturn null}function i(d,e){for(var g=[];d;){for(var i=[],j=e,l=void 0;j;){var n=
null;if(i.length){if(c(j)&&(n=h(i),k(l))){var o=i[i.length-1];i.push(o)}}else i.
push(j);if(m(j,d))return i[i.length-1];b(j)&&i.pop(),l=j,j=f(j,n,g)}d=b(d)?a.get
HostForShadowRoot(d):d.parentNode}}function j(b){return a.insertionParentTable.g
et(b)}function k(a){return j(a)}function l(a){for(var b;b=a.parentNode;)a=b;retu
rn a}function m(a,b){return l(a)===l(b)}function n(b,c){if(b===c)return!0;if(b i
nstanceof N.ShadowRoot){var d=a.getHostForShadowRoot(b);return n(l(d),c)}return!
1}function o(a){switch(a){case"DOMAttrModified":case"DOMAttributeNameChanged":ca
se"DOMCharacterDataModified":case"DOMElementNameChanged":case"DOMNodeInserted":c
ase"DOMNodeInsertedIntoDocument":case"DOMNodeRemoved":case"DOMNodeRemovedFromDoc
ument":case"DOMSubtreeModified":return!0}return!1}function p(b){if(!P.get(b)){P.
set(b,!0),o(b.type)||a.renderAllPending();var c=M(b.target),d=M(b);return q(d,c)
}}function q(a,b){var c=g(b);return"load"===a.type&&2===c.length&&c[0].target in
stanceof N.Document&&c.shift(),X.set(a,c),r(a,c)&&s(a,c)&&t(a,c),T.set(a,w.NONE)
,R.set(a,null),a.defaultPrevented}function r(a,b){for(var c,d=b.length-1;d>0;d--
){var e=b[d].target,f=b[d].currentTarget;if(e!==f&&(c=w.CAPTURING_PHASE,!u(b[d],
a,c)))return!1}return!0}function s(a,b){var c=w.AT_TARGET;return u(b[0],a,c)}fun
ction t(a,b){for(var c,d=a.bubbles,e=1;e<b.length;e++){var f=b[e].target,g=b[e].
currentTarget;if(f===g)c=w.AT_TARGET;else{if(!d||V.get(a))continue;c=w.BUBBLING_
PHASE}if(!u(b[e],a,c))return}}function u(a,b,c){var d=a.target,e=a.currentTarget
,f=O.get(e);if(!f)return!0;if("relatedTarget"in b){var g=L(b),h=M(g.relatedTarge
t),j=i(e,h);if(j===d)return!0;S.set(b,j)}T.set(b,c);var k=b.type,l=!1;Q.set(b,d)
,R.set(b,e);for(var m=0;m<f.length;m++){var n=f[m];if(n.removed)l=!0;else if(!(n
.type!==k||!n.capture&&c===w.CAPTURING_PHASE||n.capture&&c===w.BUBBLING_PHASE))t
ry{if("function"==typeof n.handler?n.handler.call(e,b):n.handler.handleEvent(b),
V.get(b))return!1}catch(o){window.onerror?window.onerror(o.message):console.erro
r(o)}}if(l){var p=f.slice();f.length=0;for(var m=0;m<p.length;m++)p[m].removed||
f.push(p[m])}return!U.get(b)}function v(a,b,c){this.type=a,this.handler=b,this.c
apture=Boolean(c)}function w(a,b){return a instanceof Y?(this.impl=a,void 0):M(A
(Y,"Event",a,b))}function x(a){return a&&a.relatedTarget?Object.create(a,{relate
dTarget:{value:L(a.relatedTarget)}}):a}function y(a,b,c){var d=window[a],e=funct
ion(b,c){return b instanceof d?(this.impl=b,void 0):M(A(d,a,b,c))};return e.prot
otype=Object.create(b.prototype),c&&J(e.prototype,c),d&&(d.prototype["init"+a]?K
(d,e,document.createEvent(a)):K(d,e,new d("temp"))),e}function z(a,b){return fun
ction(){arguments[b]=L(arguments[b]);var c=L(this);c[a].apply(c,arguments)}}func
tion A(a,b,c,d){if(gb)return new a(c,x(d));var e=L(document.createEvent(b)),f=fb
[b],g=[c];return Object.keys(f).forEach(function(a){var b=null!=d&&a in d?d[a]:f
[a];"relatedTarget"===a&&(b=L(b)),g.push(b)}),e["init"+b].apply(e,g),e}function
B(a){return"function"==typeof a?!0:a&&a.handleEvent}function C(a){this.impl=a}fu
nction D(b){return b instanceof N.ShadowRoot&&(b=a.getHostForShadowRoot(b)),L(b)
}function E(a){I(a,jb)}function F(b,c,d,e){a.renderAllPending();for(var f=M(kb.c
all(c.impl,d,e)),h=g(f,this),i=0;i<h.length;i++){var j=h[i];if(j.currentTarget==
=b)return j.target}return null}function G(a){return function(){var b=W.get(this)
;return b&&b[a]&&b[a].value||null}}function H(a){var b=a.slice(2);return functio
n(c){var d=W.get(this);d||(d=Object.create(null),W.set(this,d));var e=d[a];if(e&
&this.removeEventListener(b,e.wrapped,!1),"function"==typeof c){var f=function(b
){var d=c.call(this,b);d===!1?b.preventDefault():"onbeforeunload"===a&&"string"=
=typeof d&&(b.returnValue=d)};this.addEventListener(b,f,!1),d[a]={value:c,wrappe
d:f}}}}var I=a.forwardMethodsToWrapper,J=a.mixin,K=a.registerWrapper,L=a.unwrap,
M=a.wrap,N=a.wrappers;new WeakMap;var O=new WeakMap,P=new WeakMap,Q=new WeakMap,
R=new WeakMap,S=new WeakMap,T=new WeakMap,U=new WeakMap,V=new WeakMap,W=new Weak
Map,X=new WeakMap;v.prototype={equals:function(a){return this.handler===a.handle
r&&this.type===a.type&&this.capture===a.capture},get removed(){return null===thi
s.handler},remove:function(){this.handler=null}};var Y=window.Event;w.prototype=
{get target(){return Q.get(this)},get currentTarget(){return R.get(this)},get ev
entPhase(){return T.get(this)},get path(){var a=new N.NodeList,b=X.get(this);if(
b){for(var c=0,d=b.length-1,e=l(R.get(this)),f=0;d>=f;f++){var g=b[f].currentTar
get,h=l(g);n(e,h)&&(f!==d||g instanceof N.Node)&&(a[c++]=g)}a.length=c}return a}
,stopPropagation:function(){U.set(this,!0)},stopImmediatePropagation:function(){
U.set(this,!0),V.set(this,!0)}},K(Y,w,document.createEvent("Event"));var Z=y("UI
Event",w),$=y("CustomEvent",w),_={get relatedTarget(){return S.get(this)||M(L(th
is).relatedTarget)}},ab=J({initMouseEvent:z("initMouseEvent",14)},_),bb=J({initF
ocusEvent:z("initFocusEvent",5)},_),cb=y("MouseEvent",Z,ab),db=y("FocusEvent",Z,
bb),eb=y("MutationEvent",w,{initMutationEvent:z("initMutationEvent",3),get relat
edNode(){return M(this.impl.relatedNode)}}),fb=Object.create(null),gb=function()
{try{new window.MouseEvent("click")}catch(a){return!1}return!0}();if(!gb){var hb
=function(a,b,c){if(c){var d=fb[c];b=J(J({},d),b)}fb[a]=b};hb("Event",{bubbles:!
1,cancelable:!1}),hb("CustomEvent",{detail:null},"Event"),hb("UIEvent",{view:nul
l,detail:0},"Event"),hb("MouseEvent",{screenX:0,screenY:0,clientX:0,clientY:0,ct
rlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1,button:0,relatedTarget:null},"UIEvent"
),hb("FocusEvent",{relatedTarget:null},"UIEvent")}var ib=window.EventTarget,jb=[
"addEventListener","removeEventListener","dispatchEvent"];[Node,Window].forEach(
function(a){var b=a.prototype;jb.forEach(function(a){Object.defineProperty(b,a+"
_",{value:b[a]})})}),C.prototype={addEventListener:function(a,b,c){if(B(b)){var
d=new v(a,b,c),e=O.get(this);if(e){for(var f=0;f<e.length;f++)if(d.equals(e[f]))
return}else e=[],O.set(this,e);e.push(d);var g=D(this);g.addEventListener_(a,p,!
0)}},removeEventListener:function(a,b,c){c=Boolean(c);var d=O.get(this);if(d){fo
r(var e=0,f=!1,g=0;g<d.length;g++)d[g].type===a&&d[g].capture===c&&(e++,d[g].han
dler===b&&(f=!0,d[g].remove()));if(f&&1===e){var h=D(this);h.removeEventListener
_(a,p,!0)}}},dispatchEvent:function(a){var b=D(this);return b.dispatchEvent_(L(a
))}},ib&&K(ib,C);var kb=document.elementFromPoint;a.adjustRelatedTarget=i,a.elem
entFromPoint=F,a.getEventHandlerGetter=G,a.getEventHandlerSetter=H,a.wrapEventTa
rgetMethods=E,a.wrappers.CustomEvent=$,a.wrappers.Event=w,a.wrappers.EventTarget
=C,a.wrappers.FocusEvent=db,a.wrappers.MouseEvent=cb,a.wrappers.MutationEvent=eb
,a.wrappers.UIEvent=Z}(this.ShadowDOMPolyfill),function(a){"use strict";function
b(a,b){Object.defineProperty(a,b,{enumerable:!1})}function c(){this.length=0,b(
this,"length")}function d(a){if(null==a)return a;for(var b=new c,d=0,e=a.length;
e>d;d++)b[d]=f(a[d]);return b.length=e,b}function e(a,b){a.prototype[b]=function
(){return d(this.impl[b].apply(this.impl,arguments))}}var f=a.wrap;c.prototype={
item:function(a){return this[a]}},b(c.prototype,"item"),a.wrappers.NodeList=c,a.
addWrapNodeListMethod=e,a.wrapNodeList=d}(this.ShadowDOMPolyfill),function(a){"u
se strict";function b(a){o(a instanceof k)}function c(a,b,c,d){if(!(a instanceof
DocumentFragment))return a.parentNode&&a.parentNode.removeChild(a),a.parentNode
_=b,a.previousSibling_=c,a.nextSibling_=d,c&&(c.nextSibling_=a),d&&(d.previousSi
bling_=a),[a];for(var e,f=[];e=a.firstChild;)a.removeChild(e),f.push(e),e.parent
Node_=b;for(var g=0;g<f.length;g++)f[g].previousSibling_=f[g-1]||c,f[g].nextSibl
ing_=f[g+1]||d;return c&&(c.nextSibling_=f[0]),d&&(d.previousSibling_=f[f.length
-1]),f}function d(a){if(a instanceof DocumentFragment){for(var b=[],c=0,d=a.firs
tChild;d;d=d.nextSibling)b[c++]=d;return b}return[a]}function e(a){for(var b=0;b
<a.length;b++)a[b].nodeWasAdded_()}function f(a,b){var c=a.nodeType===k.DOCUMENT
_NODE?a:a.ownerDocument;c!==b.ownerDocument&&c.adoptNode(b)}function g(b,c){if(c
.length){var d=b.ownerDocument;if(d!==c[0].ownerDocument)for(var e=0;e<c.length;
e++)a.adoptNodeNoRemove(c[e],d)}}function h(a,b){g(a,b);var c=b.length;if(1===c)
return r(b[0]);for(var d=r(a.ownerDocument.createDocumentFragment()),e=0;c>e;e++
)d.appendChild(r(b[e]));return d}function i(a){if(a.invalidateShadowRenderer()){
for(var b=a.firstChild;b;){o(b.parentNode===a);var c=b.nextSibling,d=r(b),e=d.pa
rentNode;e&&y.call(e,d),b.previousSibling_=b.nextSibling_=b.parentNode_=null,b=c
}a.firstChild_=a.lastChild_=null}else for(var c,f=r(a),g=f.firstChild;g;)c=g.nex
tSibling,y.call(f,g),g=c}function j(a){var b=a.parentNode;return b&&b.invalidate
ShadowRenderer()}function k(a){o(a instanceof u),l.call(this,a),this.parentNode_
=void 0,this.firstChild_=void 0,this.lastChild_=void 0,this.nextSibling_=void 0,
this.previousSibling_=void 0}var l=a.wrappers.EventTarget,m=a.wrappers.NodeList,
n=a.defineWrapGetter,o=a.assert,p=a.mixin,q=a.registerWrapper,r=a.unwrap,s=a.wra
p,t=a.wrapIfNeeded,u=window.Node,v=u.prototype.appendChild,w=u.prototype.insertB
efore,x=u.prototype.replaceChild,y=u.prototype.removeChild,z=u.prototype.compare
DocumentPosition;k.prototype=Object.create(l.prototype),p(k.prototype,{appendChi
ld:function(a){b(a);var g;if(this.invalidateShadowRenderer()||j(a)){var i=this.l
astChild,k=null;g=c(a,this,i,k),this.lastChild_=g[g.length-1],i||(this.firstChil
d_=g[0]),v.call(this.impl,h(this,g))}else g=d(a),f(this,a),v.call(this.impl,r(a)
);return e(g),a},insertBefore:function(a,i){if(!i)return this.appendChild(a);b(a
),b(i),o(i.parentNode===this);var k;if(this.invalidateShadowRenderer()||j(a)){va
r l=i.previousSibling,m=i;k=c(a,this,l,m),this.firstChild===i&&(this.firstChild_
=k[0]);var n=r(i),p=n.parentNode;p?w.call(p,h(this,k),n):g(this,k)}else k=d(a),f
(this,a),w.call(this.impl,r(a),r(i));return e(k),a},removeChild:function(a){if(b
(a),a.parentNode!==this)throw new Error("NotFoundError");var c=r(a);if(this.inva
lidateShadowRenderer()){var d=this.firstChild,e=this.lastChild,f=a.nextSibling,g
=a.previousSibling,h=c.parentNode;h&&y.call(h,c),d===a&&(this.firstChild_=f),e==
=a&&(this.lastChild_=g),g&&(g.nextSibling_=f),f&&(f.previousSibling_=g),a.previo
usSibling_=a.nextSibling_=a.parentNode_=void 0}else y.call(this.impl,c);return a
},replaceChild:function(a,g){if(b(a),b(g),g.parentNode!==this)throw new Error("N
otFoundError");var i,k=r(g);if(this.invalidateShadowRenderer()||j(a)){var l=g.pr
eviousSibling,m=g.nextSibling;m===a&&(m=a.nextSibling),i=c(a,this,l,m),this.firs
tChild===g&&(this.firstChild_=i[0]),this.lastChild===g&&(this.lastChild_=i[i.len
gth-1]),g.previousSibling_=g.nextSibling_=g.parentNode_=void 0,k.parentNode&&x.c
all(k.parentNode,h(this,i),k)}else i=d(a),f(this,a),x.call(this.impl,r(a),k);ret
urn e(i),g},nodeWasAdded_:function(){for(var a=this.firstChild;a;a=a.nextSibling
)a.nodeWasAdded_()},hasChildNodes:function(){return null===this.firstChild},get
parentNode(){return void 0!==this.parentNode_?this.parentNode_:s(this.impl.paren
tNode)},get firstChild(){return void 0!==this.firstChild_?this.firstChild_:s(thi
s.impl.firstChild)},get lastChild(){return void 0!==this.lastChild_?this.lastChi
ld_:s(this.impl.lastChild)},get nextSibling(){return void 0!==this.nextSibling_?
this.nextSibling_:s(this.impl.nextSibling)},get previousSibling(){return void 0!
==this.previousSibling_?this.previousSibling_:s(this.impl.previousSibling)},get
parentElement(){for(var a=this.parentNode;a&&a.nodeType!==k.ELEMENT_NODE;)a=a.pa
rentNode;return a},get textContent(){for(var a="",b=this.firstChild;b;b=b.nextSi
bling)a+=b.textContent;return a},set textContent(a){if(this.invalidateShadowRend
erer()){if(i(this),""!==a){var b=this.impl.ownerDocument.createTextNode(a);this.
appendChild(b)}}else this.impl.textContent=a},get childNodes(){for(var a=new m,b
=0,c=this.firstChild;c;c=c.nextSibling)a[b++]=c;return a.length=b,a},cloneNode:f
unction(a){if(!this.invalidateShadowRenderer())return s(this.impl.cloneNode(a));
var b=s(this.impl.cloneNode(!1));if(a)for(var c=this.firstChild;c;c=c.nextSiblin
g)b.appendChild(c.cloneNode(!0));return b},contains:function(a){if(!a)return!1;i
f(a=t(a),a===this)return!0;var b=a.parentNode;return b?this.contains(b):!1},comp
areDocumentPosition:function(a){return z.call(this.impl,r(a))}}),n(k,"ownerDocum
ent"),q(u,k,document.createDocumentFragment()),delete k.prototype.querySelector,
delete k.prototype.querySelectorAll,k.prototype=p(Object.create(l.prototype),k.p
rototype),a.wrappers.Node=k}(this.ShadowDOMPolyfill),function(a){"use strict";fu
nction b(a,c){for(var d,e=a.firstElementChild;e;){if(e.matches(c))return e;if(d=
b(e,c))return d;e=e.nextElementSibling}return null}function c(a,b,d){for(var e=a
.firstElementChild;e;)e.matches(b)&&(d[d.length++]=e),c(e,b,d),e=e.nextElementSi
bling; | 1 if(!HTMLElement.prototype.createShadowRoot&&!HTMLElement.prototype.webkitCreateS
hadowRoot||window.__forceShadowDomPolyfill){!function(){Element.prototype.webkit
CreateShadowRoot&&(Element.prototype.webkitCreateShadowRoot=function(){return wi
ndow.ShadowDOMPolyfill.wrapIfNeeded(this).createShadowRoot()})}(),function(a){"u
se strict";function b(){function a(a){"splice"===a[0].type&&"splice"===a[1].type
&&(b=!0)}if("function"!=typeof Object.observe||"function"!=typeof Array.observe)
return!1;var b=!1,c=[0];return Array.observe(c,a),c[1]=1,c.length=0,Object.deliv
erChangeRecords(a),b}function c(){if(a.document&&"securityPolicy"in a.document&&
!a.document.securityPolicy.allowsEval)return!1;try{var b=new Function("","return
true;");return b()}catch(c){return!1}}function d(a){return+a===a>>>0}function e
(a){return+a}function f(a){return a===Object(a)}function g(a,b){return a===b?0!=
=a||1/a===1/b:H(a)&&H(b)?!0:a!==a&&b!==b}function h(a){return"string"!=typeof a?
!1:(a=a.trim(),""==a?!0:"."==a[0]?!1:P.test(a))}function i(a,b){if(b!==Q)throw E
rror("Use Path.get to retrieve path objects");return""==a.trim()?this:d(a)?(this
.push(a),this):(a.split(/\s*\.\s*/).filter(function(a){return a}).forEach(functi
on(a){this.push(a)},this),G&&!F&&this.length&&(this.getValueFrom=this.compiledGe
tValueFromFn()),void 0)}function j(a){if(a instanceof i)return a;null==a&&(a="")
,"string"!=typeof a&&(a=String(a));var b=R[a];if(b)return b;if(!h(a))return S;va
r b=new i(a,Q);return R[a]=b,b}function k(b){for(var c=0;T>c&&b.check();)b.repor
t(),c++;a.testingExposeCycleCount&&(a.dirtyCheckCycleCount=c)}function l(a){for(
var b in a)return!1;return!0}function m(a){return l(a.added)&&l(a.removed)&&l(a.
changed)}function n(a,b){var c={},d={},e={};for(var f in b){var g=a[f];(void 0==
=g||g!==b[f])&&(f in a?g!==b[f]&&(e[f]=g):d[f]=void 0)}for(var f in a)f in b||(c
[f]=a[f]);return Array.isArray(a)&&a.length!==b.length&&(e.length=a.length),{add
ed:c,removed:d,changed:e}}function o(a,b){var c=b||(Array.isArray(a)?[]:{});for(
var d in a)c[d]=a[d];return Array.isArray(a)&&(c.length=a.length),c}function p(a
,b,c,d){if(this.closed=!1,this.object=a,this.callback=b,this.target=c,this.token
=d,this.reporting=!0,F){var e=this;this.boundInternalCallback=function(a){e.inte
rnalCallback(a)}}q(this)}function q(a){V&&(U.push(a),p._allObserversCount++)}fun
ction r(a,b,c,d){p.call(this,a,b,c,d),this.connect(),this.sync(!0)}function s(a,
b,c,d){if(!Array.isArray(a))throw Error("Provided object is not an Array");r.cal
l(this,a,b,c,d)}function t(a){this.arr=[],this.callback=a,this.isObserved=!0}fun
ction u(a,b,c,d,e,g,h){var b=b instanceof i?b:j(b);return b&&b.length&&f(a)?(p.c
all(this,a,c,d,e),this.valueFn=g,this.setValueFn=h,this.path=b,this.connect(),th
is.sync(!0),void 0):(this.value_=b?b.getValueFrom(a):void 0,this.value=g?g(this.
value_):this.value_,this.closed=!0,void 0)}function v(a,b,c,d){p.call(this,void
0,a,b,c),this.valueFn=d,this.observed=[],this.values=[],this.started=!1}function
w(a,b){if("function"==typeof Object.observe){var c=Object.getNotifier(a);return
function(d,e){var f={object:a,type:d,name:b};2===arguments.length&&(f.oldValue=
e),c.notify(f)}}}function x(a,b,c){for(var d={},e={},f=0;f<b.length;f++){var g=b
[f];$[g.type]?(g.name in c||(c[g.name]=g.oldValue),"updated"!=g.type&&("new"!=g.
type?g.name in d?(delete d[g.name],delete c[g.name]):e[g.name]=!0:g.name in e?de
lete e[g.name]:d[g.name]=!0)):(console.error("Unknown changeRecord type: "+g.typ
e),console.error(g))}for(var h in d)d[h]=a[h];for(var h in e)e[h]=void 0;var i={
};for(var h in c)if(!(h in d||h in e)){var j=a[h];c[h]!==j&&(i[h]=j)}return{adde
d:d,removed:e,changed:i}}function y(a,b,c){return{index:a,removed:b,addedCount:c
}}function z(){}function A(a,b,c,d,e,f){return db.calcSplices(a,b,c,d,e,f)}funct
ion B(a,b,c,d){return c>b||a>d?-1:b==c||d==a?0:c>a?d>b?b-c:d-c:b>d?d-a:b-a}funct
ion C(a,b,c,d){for(var e=y(b,c,d),f=!1,g=0,h=0;h<a.length;h++){var i=a[h];if(i.i
ndex+=g,!f){var j=B(e.index,e.index+e.removed.length,i.index,i.index+i.addedCoun
t);if(j>=0){a.splice(h,1),h--,g-=i.addedCount-i.removed.length,e.addedCount+=i.a
ddedCount-j;var k=e.removed.length+i.removed.length-j;if(e.addedCount||k){var c=
i.removed;if(e.index<i.index){var l=e.removed.slice(0,i.index-e.index);Array.pro
totype.push.apply(l,c),c=l}if(e.index+e.removed.length>i.index+i.addedCount){var
m=e.removed.slice(i.index+i.addedCount-e.index);Array.prototype.push.apply(c,m)
}e.removed=c,i.index<e.index&&(e.index=i.index)}else f=!0}else if(e.index<i.inde
x){f=!0,a.splice(h,0,e),h++;var n=e.addedCount-e.removed.length;i.index+=n,g+=n}
}}f||a.push(e)}function D(a,b){for(var c=[],f=0;f<b.length;f++){var g=b[f];switc
h(g.type){case"splice":C(c,g.index,g.removed.slice(),g.addedCount);break;case"ne
w":case"updated":case"deleted":if(!d(g.name))continue;var h=e(g.name);if(0>h)con
tinue;C(c,h,[g.oldValue],1);break;default:console.error("Unexpected record type:
"+JSON.stringify(g))}}return c}function E(a,b){var c=[];return D(a,b).forEach(f
unction(b){return 1==b.addedCount&&1==b.removed.length?(b.removed[0]!==a[b.index
]&&c.push(b),void 0):(c=c.concat(A(a,b.index,b.index+b.addedCount,b.removed,0,b.
removed.length)),void 0)}),c}var F=b(),G=c(),H=a.Number.isNaN||function(b){retur
n"number"==typeof b&&a.isNaN(b)},I="__proto__"in{}?function(a){return a}:functio
n(a){var b=a.__proto__;if(!b)return a;var c=Object.create(b);return Object.getOw
nPropertyNames(a).forEach(function(b){Object.defineProperty(c,b,Object.getOwnPro
pertyDescriptor(a,b))}),c},J="[$_a-zA-Z]",K="[$_a-zA-Z0-9]",L=J+"+"+K+"*",M="(?:
[0-9]|[1-9]+[0-9]+)",N="(?:"+L+"|"+M+")",O="(?:"+N+")(?:\\s*\\.\\s*"+N+")*",P=ne
w RegExp("^"+O+"$"),Q={},R={};i.get=j,i.prototype=I({__proto__:[],valid:!0,toStr
ing:function(){return this.join(".")},getValueFrom:function(a,b){for(var c=0;c<t
his.length;c++){if(null==a)return;b&&b.observe(a),a=a[this[c]]}return a},compile
dGetValueFromFn:function(){var a=this.map(function(a){return d(a)?'["'+a+'"]':".
"+a}),b="",c="obj";b+="if (obj != null";for(var e=0;e<this.length-1;e++)this[e],
c+=a[e],b+=" &&\n "+c+" != null";return b+=")\n",c+=a[e],b+=" return "+c+";
\nelse\n return undefined;",new Function("obj",b)},setValueFrom:function(a,b){i
f(!this.length)return!1;for(var c=0;c<this.length-1;c++){if(!f(a))return!1;a=a[t
his[c]]}return f(a)?(a[this[c]]=b,!0):!1}});var S=new i("",Q);S.valid=!1,S.getVa
lueFrom=S.setValueFrom=function(){};var T=1e3;p.prototype={internalCallback:func
tion(a){this.closed||this.reporting&&this.check(a)&&(this.report(),this.testingR
esults&&(this.testingResults.anyChanged=!0))},close:function(){this.closed||(thi
s.object&&"function"==typeof this.object.close&&this.object.close(),this.disconn
ect(),this.object=void 0,this.closed=!0)},deliver:function(a){this.closed||(F?(t
his.testingResults=a,Object.deliverChangeRecords(this.boundInternalCallback),thi
s.testingResults=void 0):k(this))},report:function(){this.reporting&&(this.sync(
!1),this.callback&&(this.reportArgs.push(this.token),this.invokeCallback(this.re
portArgs)),this.reportArgs=void 0)},invokeCallback:function(a){try{this.callback
.apply(this.target,a)}catch(b){p._errorThrownDuringCallback=!0,console.error("Ex
ception caught during observer callback: "+(b.stack||b))}},reset:function(){this
.closed||(F&&(this.reporting=!1,Object.deliverChangeRecords(this.boundInternalCa
llback),this.reporting=!0),this.sync(!0))}};var U,V=!F||a.forceCollectObservers;
p._allObserversCount=0,V&&(U=[]);var W=!1,X="function"==typeof Object.deliverAll
ChangeRecords;a.Platform=a.Platform||{},a.Platform.performMicrotaskCheckpoint=fu
nction(){if(!W){if(X)return Object.deliverAllChangeRecords(),void 0;if(V){W=!0;v
ar b=0,c={};do{b++;var d=U;U=[],c.anyChanged=!1;for(var e=0;e<d.length;e++){var
f=d[e];f.closed||(F?f.deliver(c):f.check()&&(c.anyChanged=!0,f.report()),U.push(
f))}}while(T>b&&c.anyChanged);a.testingExposeCycleCount&&(a.dirtyCheckCycleCount
=b),p._allObserversCount=U.length,W=!1}}},V&&(a.Platform.clearObservers=function
(){U=[]}),r.prototype=I({__proto__:p.prototype,connect:function(){F&&Object.obse
rve(this.object,this.boundInternalCallback)},sync:function(){F||(this.oldObject=
o(this.object))},check:function(a){var b,c;if(F){if(!a)return!1;c={},b=x(this.ob
ject,a,c)}else c=this.oldObject,b=n(this.object,this.oldObject);return m(b)?!1:(
this.reportArgs=[b.added||{},b.removed||{},b.changed||{}],this.reportArgs.push(f
unction(a){return c[a]}),!0)},disconnect:function(){F?this.object&&Object.unobse
rve(this.object,this.boundInternalCallback):this.oldObject=void 0}}),s.prototype
=I({__proto__:r.prototype,connect:function(){F&&Array.observe(this.object,this.b
oundInternalCallback)},sync:function(){F||(this.oldObject=this.object.slice())},
check:function(a){var b;if(F){if(!a)return!1;b=E(this.object,a)}else b=A(this.ob
ject,0,this.object.length,this.oldObject,0,this.oldObject.length);return b&&b.le
ngth?(this.reportArgs=[b],!0):!1}}),s.applySplices=function(a,b,c){c.forEach(fun
ction(c){for(var d=[c.index,c.removed.length],e=c.index;e<c.index+c.addedCount;)
d.push(b[e]),e++;Array.prototype.splice.apply(a,d)})};var Y=Object.getPrototypeO
f({}),Z=Object.getPrototypeOf([]);t.prototype={reset:function(){this.isObserved=
!this.isObserved},observe:function(a){if(f(a)&&a!==Y&&a!==Z){var b=this.arr.inde
xOf(a);b>=0&&this.arr[b+1]===this.isObserved||(0>b&&(b=this.arr.length,this.arr[
b]=a,Object.observe(a,this.callback)),this.arr[b+1]=this.isObserved,this.observe
(Object.getPrototypeOf(a)))}},cleanup:function(){for(var a=0,b=0,c=this.isObserv
ed;b<this.arr.length;){var d=this.arr[b];this.arr[b+1]==c?(b>a&&(this.arr[a]=d,t
his.arr[a+1]=c),a+=2):Object.unobserve(d,this.callback),b+=2}this.arr.length=a}}
,u.prototype=I({__proto__:p.prototype,connect:function(){F&&(this.observedSet=ne
w t(this.boundInternalCallback))},disconnect:function(){this.value=void 0,this.v
alue_=void 0,this.observedSet&&(this.observedSet.reset(),this.observedSet.cleanu
p(),this.observedSet=void 0)},check:function(){return this.observedSet&&this.obs
ervedSet.reset(),this.value_=this.path.getValueFrom(this.object,this.observedSet
),this.observedSet&&this.observedSet.cleanup(),g(this.value_,this.oldValue_)?!1:
(this.value=this.valueFn?this.valueFn(this.value_):this.value_,this.reportArgs=[
this.value,this.oldValue],!0)},sync:function(a){a&&(this.observedSet&&this.obser
vedSet.reset(),this.value_=this.path.getValueFrom(this.object,this.observedSet),
this.value=this.valueFn?this.valueFn(this.value_):this.value_,this.observedSet&&
this.observedSet.cleanup()),this.oldValue_=this.value_,this.oldValue=this.value}
,setValue:function(a){this.path&&("function"==typeof this.setValueFn&&(a=this.se
tValueFn(a)),this.path.setValueFrom(this.object,a))}}),v.prototype=I({__proto__:
u.prototype,addPath:function(a,b){if(this.started)throw Error("Cannot add more p
aths once started.");var b=b instanceof i?b:j(b),c=b?b.getValueFrom(a):void 0;th
is.observed.push(a,b),this.values.push(c)},start:function(){this.connect(),this.
sync(!0)},getValues:function(){this.observedSet&&this.observedSet.reset();for(va
r a=!1,b=0;b<this.observed.length;b+=2){var c=this.observed[b+1];if(c){var d=thi
s.observed[b],e=c.getValueFrom(d,this.observedSet),f=this.values[b/2];g(e,f)||(t
his.values[b/2]=e,a=!0)}}return this.observedSet&&this.observedSet.cleanup(),a},
check:function(){return this.getValues()?(this.value=this.valueFn(this.values),g
(this.value,this.oldValue)?!1:(this.reportArgs=[this.value,this.oldValue],!0)):v
oid 0},sync:function(a){a&&(this.getValues(),this.value=this.valueFn(this.values
)),this.oldValue=this.value},close:function(){if(this.observed){for(var a=0;a<th
is.observed.length;a+=2){var b=this.observed[a];b&&"function"==typeof b.close&&b
.close()}this.observed=void 0,this.values=void 0}p.prototype.close.call(this)}})
;var $={"new":!0,updated:!0,deleted:!0};u.defineProperty=function(a,b,c){var d=c
.object,e=j(c.path),f=w(a,b),g=new u(d,c.path,function(a,b){f&&f("updated",b)});
return Object.defineProperty(a,b,{get:function(){return e.getValueFrom(d)},set:f
unction(a){e.setValueFrom(d,a)},configurable:!0}),{close:function(){var c=e.getV
alueFrom(d);f&&g.deliver(),g.close(),Object.defineProperty(a,b,{value:c,writable
:!0,configurable:!0})}}};var _=0,ab=1,bb=2,cb=3;z.prototype={calcEditDistances:f
unction(a,b,c,d,e,f){for(var g=f-e+1,h=c-b+1,i=new Array(g),j=0;g>j;j++)i[j]=new
Array(h),i[j][0]=j;for(var k=0;h>k;k++)i[0][k]=k;for(var j=1;g>j;j++)for(var k=
1;h>k;k++)if(this.equals(a[b+k-1],d[e+j-1]))i[j][k]=i[j-1][k-1];else{var l=i[j-1
][k]+1,m=i[j][k-1]+1;i[j][k]=m>l?l:m}return i},spliceOperationsFromEditDistances
:function(a){for(var b=a.length-1,c=a[0].length-1,d=a[b][c],e=[];b>0||c>0;)if(0!
=b)if(0!=c){var f,g=a[b-1][c-1],h=a[b-1][c],i=a[b][c-1];f=i>h?g>h?h:g:g>i?i:g,f=
=g?(g==d?e.push(_):(e.push(ab),d=g),b--,c--):f==h?(e.push(cb),b--,d=h):(e.push(b
b),c--,d=i)}else e.push(cb),b--;else e.push(bb),c--;return e.reverse(),e},calcSp
lices:function(a,b,c,d,e,f){var g=0,h=0,i=Math.min(c-b,f-e);if(0==b&&0==e&&(g=th
is.sharedPrefix(a,d,i)),c==a.length&&f==d.length&&(h=this.sharedSuffix(a,d,i-g))
,b+=g,e+=g,c-=h,f-=h,0==c-b&&0==f-e)return[];if(b==c){for(var j=y(b,[],0);f>e;)j
.removed.push(d[e++]);return[j]}if(e==f)return[y(b,[],c-b)];for(var k=this.splic
eOperationsFromEditDistances(this.calcEditDistances(a,b,c,d,e,f)),j=void 0,l=[],
m=b,n=e,o=0;o<k.length;o++)switch(k[o]){case _:j&&(l.push(j),j=void 0),m++,n++;b
reak;case ab:j||(j=y(m,[],0)),j.addedCount++,m++,j.removed.push(d[n]),n++;break;
case bb:j||(j=y(m,[],0)),j.addedCount++,m++;break;case cb:j||(j=y(m,[],0)),j.rem
oved.push(d[n]),n++}return j&&l.push(j),l},sharedPrefix:function(a,b,c){for(var
d=0;c>d;d++)if(!this.equals(a[d],b[d]))return d;return c},sharedSuffix:function(
a,b,c){for(var d=a.length,e=b.length,f=0;c>f&&this.equals(a[--d],b[--e]);)f++;re
turn f},calculateSplices:function(a,b){return this.calcSplices(a,0,a.length,b,0,
b.length)},equals:function(a,b){return a===b}};var db=new z;a.Observer=p,a.Obser
ver.hasObjectObserve=F,a.ArrayObserver=s,a.ArrayObserver.calculateSplices=functi
on(a,b){return db.calculateSplices(a,b)},a.ArraySplice=z,a.ObjectObserver=r,a.Pa
thObserver=u,a.CompoundPathObserver=v,a.Path=i}("undefined"!=typeof global&&glob
al?global:this),("undefined"==typeof WeakMap||navigator.userAgent.indexOf("Firef
ox/")>-1)&&!function(){var a=Object.defineProperty,b=Date.now()%1e9,c=function()
{this.name="__st"+(1e9*Math.random()>>>0)+(b++ +"__")};c.prototype={set:function
(b,c){var d=b[this.name];d&&d[0]===b?d[1]=c:a(b,this.name,{value:[b,c],writable:
!0})},get:function(a){var b;return(b=a[this.name])&&b[0]===a?b[1]:void 0},"delet
e":function(a){this.set(a,void 0)}},window.WeakMap=c}();var ShadowDOMPolyfill={}
;!function(a){"use strict";function b(a){if(!a)throw new Error("Assertion failed
")}function c(a,b){return Object.getOwnPropertyNames(b).forEach(function(c){Obje
ct.defineProperty(a,c,Object.getOwnPropertyDescriptor(b,c))}),a}function d(a,b){
return Object.getOwnPropertyNames(b).forEach(function(c){switch(c){case"argument
s":case"caller":case"length":case"name":case"prototype":case"toString":return}Ob
ject.defineProperty(a,c,Object.getOwnPropertyDescriptor(b,c))}),a}function e(a,b
){for(var c=0;c<b.length;c++)if(b[c]in a)return b[c]}function f(a){var b=a.__pro
to__||Object.getPrototypeOf(a),c=C.get(b);if(c)return c;var d=f(b),e=r(d);return
o(b,e,a),e}function g(a,b){m(a,b,!0)}function h(a,b){m(b,a,!1)}function i(a){re
turn/^on[a-z]+$/.test(a)}function j(a){return F?new Function("return this.impl."
+a):function(){return this.impl[a]}}function k(a){return F?new Function("v","thi
s.impl."+a+" = v"):function(b){this.impl[a]=b}}function l(a){return F?new Functi
on("return this.impl."+a+".apply(this.impl, arguments)"):function(){return this.
impl[a].apply(this.impl,arguments)}}function m(b,c,d){Object.getOwnPropertyNames
(b).forEach(function(e){if(!(e in c)){I&&b.__lookupGetter__(e);var f;try{f=Objec
t.getOwnPropertyDescriptor(b,e)}catch(g){f=J}var h,m;if(d&&"function"==typeof f.
value)return c[e]=l(e),void 0;var n=i(e);h=n?a.getEventHandlerGetter(e):j(e),(f.
writable||f.set)&&(m=n?a.getEventHandlerSetter(e):k(e)),Object.defineProperty(c,
e,{get:h,set:m,configurable:f.configurable,enumerable:f.enumerable})}})}function
n(a,b,c){var e=a.prototype;o(e,b,c),d(b,a)}function o(a,c,d){var e=c.prototype;
b(void 0===C.get(a)),C.set(a,c),D.set(e,a),g(a,e),d&&h(e,d)}function p(a,b){retu
rn C.get(b.prototype)===a}function q(a){var b=Object.getPrototypeOf(a),c=f(b),d=
r(c);return o(b,d,a),d}function r(a){function b(b){a.call(this,b)}return b.proto
type=Object.create(a.prototype),b.prototype.constructor=b,b}function s(a){return
a instanceof E.EventTarget||a instanceof E.Event||a instanceof E.Range||a insta
nceof E.DOMImplementation}function t(a){return a instanceof M||a instanceof L||a
instanceof N||a instanceof O||a instanceof K}function u(a){return null===a?null
:(b(t(a)),a.polymerWrapper_||(a.polymerWrapper_=new(f(a))(a)))}function v(a){ret
urn null===a?null:(b(s(a)),a.impl)}function w(a){return a&&s(a)?v(a):a}function
x(a){return a&&!s(a)?u(a):a}function y(a,c){null!==c&&(b(t(a)),b(void 0===c||s(c
)),a.polymerWrapper_=c)}function z(a,b,c){Object.defineProperty(a.prototype,b,{g
et:c,configurable:!0,enumerable:!0})}function A(a,b){z(a,b,function(){return u(t
his.impl[b])})}function B(a,b){a.forEach(function(a){b.forEach(function(b){a.pro
totype[b]=function(){var a=x(this);return a[b].apply(a,arguments)}})})}var C=new
WeakMap,D=new WeakMap,E=Object.create(null),F=!("securityPolicy"in document)||d
ocument.securityPolicy.allowsEval;if(F)try{var G=new Function("","return true;")
;F=G()}catch(H){}Object.getOwnPropertyNames(window);var I=/Firefox/.test(navigat
or.userAgent),J={get:function(){},set:function(){},configurable:!0,enumerable:!0
},K=DOMImplementation,L=Event,M=Node,N=Window,O=Range;a.assert=b,a.constructorTa
ble=C,a.defineGetter=z,a.defineWrapGetter=A,a.forwardMethodsToWrapper=B,a.isWrap
perFor=p,a.mixin=c,a.nativePrototypeTable=D,a.oneOf=e,a.registerObject=q,a.regis
terWrapper=n,a.rewrap=y,a.unwrap=v,a.unwrapIfNeeded=w,a.wrap=u,a.wrapIfNeeded=x,
a.wrappers=E}(this.ShadowDOMPolyfill),function(a){"use strict";function b(a){ret
urn a instanceof N.ShadowRoot}function c(a){var b=a.localName;return"content"===
b||"shadow"===b}function d(a){return!!a.shadowRoot}function e(a){var b;return a.
parentNode||(b=a.defaultView)&&M(b)||null}function f(f,g,h){if(h.length)return h
.shift();if(b(f))return j(f)||a.getHostForShadowRoot(f);var i=a.eventParentsTabl
e.get(f);if(i){for(var k=1;k<i.length;k++)h[k-1]=i[k];return i[0]}if(g&&c(f)){va
r l=f.parentNode;if(l&&d(l))for(var m=a.getShadowTrees(l),n=j(g),k=0;k<m.length;
k++)if(m[k].contains(n))return n}return e(f)}function g(a){for(var d=[],e=a,g=[]
,i=[];e;){var j=null;if(c(e)){j=h(d);var k=d[d.length-1]||e;d.push(k)}else d.len
gth||d.push(e);var l=d[d.length-1];g.push({target:l,currentTarget:e}),b(e)&&d.po
p(),e=f(e,j,i)}return g}function h(a){for(var b=a.length-1;b>=0;b--)if(!c(a[b]))
return a[b];return null}function i(d,e){for(var g=[];d;){for(var i=[],j=e,l=void
0;j;){var n=null;if(i.length){if(c(j)&&(n=h(i),k(l))){var o=i[i.length-1];i.pus
h(o)}}else i.push(j);if(m(j,d))return i[i.length-1];b(j)&&i.pop(),l=j,j=f(j,n,g)
}d=b(d)?a.getHostForShadowRoot(d):d.parentNode}}function j(b){return a.insertion
ParentTable.get(b)}function k(a){return j(a)}function l(a){for(var b;b=a.parentN
ode;)a=b;return a}function m(a,b){return l(a)===l(b)}function n(b,c){if(b===c)re
turn!0;if(b instanceof N.ShadowRoot){var d=a.getHostForShadowRoot(b);return n(l(
d),c)}return!1}function o(a){switch(a){case"DOMAttrModified":case"DOMAttributeNa
meChanged":case"DOMCharacterDataModified":case"DOMElementNameChanged":case"DOMNo
deInserted":case"DOMNodeInsertedIntoDocument":case"DOMNodeRemoved":case"DOMNodeR
emovedFromDocument":case"DOMSubtreeModified":return!0}return!1}function p(b){if(
!P.get(b)){P.set(b,!0),o(b.type)||a.renderAllPending();var c=M(b.target),d=M(b);
return q(d,c)}}function q(a,b){var c=g(b);return"load"===a.type&&2===c.length&&c
[0].target instanceof N.Document&&c.shift(),X.set(a,c),r(a,c)&&s(a,c)&&t(a,c),T.
set(a,w.NONE),R.set(a,null),a.defaultPrevented}function r(a,b){for(var c,d=b.len
gth-1;d>0;d--){var e=b[d].target,f=b[d].currentTarget;if(e!==f&&(c=w.CAPTURING_P
HASE,!u(b[d],a,c)))return!1}return!0}function s(a,b){var c=w.AT_TARGET;return u(
b[0],a,c)}function t(a,b){for(var c,d=a.bubbles,e=1;e<b.length;e++){var f=b[e].t
arget,g=b[e].currentTarget;if(f===g)c=w.AT_TARGET;else{if(!d||V.get(a))continue;
c=w.BUBBLING_PHASE}if(!u(b[e],a,c))return}}function u(a,b,c){var d=a.target,e=a.
currentTarget,f=O.get(e);if(!f)return!0;if("relatedTarget"in b){var g=L(b),h=M(g
.relatedTarget),j=i(e,h);if(j===d)return!0;S.set(b,j)}T.set(b,c);var k=b.type,l=
!1;Q.set(b,d),R.set(b,e);for(var m=0;m<f.length;m++){var n=f[m];if(n.removed)l=!
0;else if(!(n.type!==k||!n.capture&&c===w.CAPTURING_PHASE||n.capture&&c===w.BUBB
LING_PHASE))try{if("function"==typeof n.handler?n.handler.call(e,b):n.handler.ha
ndleEvent(b),V.get(b))return!1}catch(o){window.onerror?window.onerror(o.message)
:console.error(o)}}if(l){var p=f.slice();f.length=0;for(var m=0;m<p.length;m++)p
[m].removed||f.push(p[m])}return!U.get(b)}function v(a,b,c){this.type=a,this.han
dler=b,this.capture=Boolean(c)}function w(a,b){return a instanceof Y?(this.impl=
a,void 0):M(A(Y,"Event",a,b))}function x(a){return a&&a.relatedTarget?Object.cre
ate(a,{relatedTarget:{value:L(a.relatedTarget)}}):a}function y(a,b,c){var d=wind
ow[a],e=function(b,c){return b instanceof d?(this.impl=b,void 0):M(A(d,a,b,c))};
return e.prototype=Object.create(b.prototype),c&&J(e.prototype,c),d&&(d.prototyp
e["init"+a]?K(d,e,document.createEvent(a)):K(d,e,new d("temp"))),e}function z(a,
b){return function(){arguments[b]=L(arguments[b]);var c=L(this);c[a].apply(c,arg
uments)}}function A(a,b,c,d){if(gb)return new a(c,x(d));var e=L(document.createE
vent(b)),f=fb[b],g=[c];return Object.keys(f).forEach(function(a){var b=null!=d&&
a in d?d[a]:f[a];"relatedTarget"===a&&(b=L(b)),g.push(b)}),e["init"+b].apply(e,g
),e}function B(a){return"function"==typeof a?!0:a&&a.handleEvent}function C(a){t
his.impl=a}function D(b){return b instanceof N.ShadowRoot&&(b=a.getHostForShadow
Root(b)),L(b)}function E(a){I(a,jb)}function F(b,c,d,e){a.renderAllPending();for
(var f=M(kb.call(c.impl,d,e)),h=g(f,this),i=0;i<h.length;i++){var j=h[i];if(j.cu
rrentTarget===b)return j.target}return null}function G(a){return function(){var
b=W.get(this);return b&&b[a]&&b[a].value||null}}function H(a){var b=a.slice(2);r
eturn function(c){var d=W.get(this);d||(d=Object.create(null),W.set(this,d));var
e=d[a];if(e&&this.removeEventListener(b,e.wrapped,!1),"function"==typeof c){var
f=function(b){var d=c.call(this,b);d===!1?b.preventDefault():"onbeforeunload"==
=a&&"string"==typeof d&&(b.returnValue=d)};this.addEventListener(b,f,!1),d[a]={v
alue:c,wrapped:f}}}}var I=a.forwardMethodsToWrapper,J=a.mixin,K=a.registerWrappe
r,L=a.unwrap,M=a.wrap,N=a.wrappers;new WeakMap;var O=new WeakMap,P=new WeakMap,Q
=new WeakMap,R=new WeakMap,S=new WeakMap,T=new WeakMap,U=new WeakMap,V=new WeakM
ap,W=new WeakMap,X=new WeakMap;v.prototype={equals:function(a){return this.handl
er===a.handler&&this.type===a.type&&this.capture===a.capture},get removed(){retu
rn null===this.handler},remove:function(){this.handler=null}};var Y=window.Event
;w.prototype={get target(){return Q.get(this)},get currentTarget(){return R.get(
this)},get eventPhase(){return T.get(this)},get path(){var a=new N.NodeList,b=X.
get(this);if(b){for(var c=0,d=b.length-1,e=l(R.get(this)),f=0;d>=f;f++){var g=b[
f].currentTarget,h=l(g);n(e,h)&&(f!==d||g instanceof N.Node)&&(a[c++]=g)}a.lengt
h=c}return a},stopPropagation:function(){U.set(this,!0)},stopImmediatePropagatio
n:function(){U.set(this,!0),V.set(this,!0)}},K(Y,w,document.createEvent("Event")
);var Z=y("UIEvent",w),$=y("CustomEvent",w),_={get relatedTarget(){return S.get(
this)||M(L(this).relatedTarget)}},ab=J({initMouseEvent:z("initMouseEvent",14)},_
),bb=J({initFocusEvent:z("initFocusEvent",5)},_),cb=y("MouseEvent",Z,ab),db=y("F
ocusEvent",Z,bb),eb=y("MutationEvent",w,{initMutationEvent:z("initMutationEvent"
,3),get relatedNode(){return M(this.impl.relatedNode)}}),fb=Object.create(null),
gb=function(){try{new window.MouseEvent("click")}catch(a){return!1}return!0}();i
f(!gb){var hb=function(a,b,c){if(c){var d=fb[c];b=J(J({},d),b)}fb[a]=b};hb("Even
t",{bubbles:!1,cancelable:!1}),hb("CustomEvent",{detail:null},"Event"),hb("UIEve
nt",{view:null,detail:0},"Event"),hb("MouseEvent",{screenX:0,screenY:0,clientX:0
,clientY:0,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1,button:0,relatedTarget:nu
ll},"UIEvent"),hb("FocusEvent",{relatedTarget:null},"UIEvent")}var ib=window.Eve
ntTarget,jb=["addEventListener","removeEventListener","dispatchEvent"];[Node,Win
dow].forEach(function(a){var b=a.prototype;jb.forEach(function(a){Object.defineP
roperty(b,a+"_",{value:b[a]})})}),C.prototype={addEventListener:function(a,b,c){
if(B(b)){var d=new v(a,b,c),e=O.get(this);if(e){for(var f=0;f<e.length;f++)if(d.
equals(e[f]))return}else e=[],O.set(this,e);e.push(d);var g=D(this);g.addEventLi
stener_(a,p,!0)}},removeEventListener:function(a,b,c){c=Boolean(c);var d=O.get(t
his);if(d){for(var e=0,f=!1,g=0;g<d.length;g++)d[g].type===a&&d[g].capture===c&&
(e++,d[g].handler===b&&(f=!0,d[g].remove()));if(f&&1===e){var h=D(this);h.remove
EventListener_(a,p,!0)}}},dispatchEvent:function(a){var b=D(this);return b.dispa
tchEvent_(L(a))}},ib&&K(ib,C);var kb=document.elementFromPoint;a.adjustRelatedTa
rget=i,a.elementFromPoint=F,a.getEventHandlerGetter=G,a.getEventHandlerSetter=H,
a.wrapEventTargetMethods=E,a.wrappers.CustomEvent=$,a.wrappers.Event=w,a.wrapper
s.EventTarget=C,a.wrappers.FocusEvent=db,a.wrappers.MouseEvent=cb,a.wrappers.Mut
ationEvent=eb,a.wrappers.UIEvent=Z}(this.ShadowDOMPolyfill),function(a){"use str
ict";function b(a,b){Object.defineProperty(a,b,{enumerable:!1})}function c(){thi
s.length=0,b(this,"length")}function d(a){if(null==a)return a;for(var b=new c,d=
0,e=a.length;e>d;d++)b[d]=f(a[d]);return b.length=e,b}function e(a,b){a.prototyp
e[b]=function(){return d(this.impl[b].apply(this.impl,arguments))}}var f=a.wrap;
c.prototype={item:function(a){return this[a]}},b(c.prototype,"item"),a.wrappers.
NodeList=c,a.addWrapNodeListMethod=e,a.wrapNodeList=d}(this.ShadowDOMPolyfill),f
unction(a){"use strict";function b(a){o(a instanceof k)}function c(a,b,c,d){if(!
(a instanceof DocumentFragment))return a.parentNode&&a.parentNode.removeChild(a)
,a.parentNode_=b,a.previousSibling_=c,a.nextSibling_=d,c&&(c.nextSibling_=a),d&&
(d.previousSibling_=a),[a];for(var e,f=[];e=a.firstChild;)a.removeChild(e),f.pus
h(e),e.parentNode_=b;for(var g=0;g<f.length;g++)f[g].previousSibling_=f[g-1]||c,
f[g].nextSibling_=f[g+1]||d;return c&&(c.nextSibling_=f[0]),d&&(d.previousSiblin
g_=f[f.length-1]),f}function d(a){if(a instanceof DocumentFragment){for(var b=[]
,c=0,d=a.firstChild;d;d=d.nextSibling)b[c++]=d;return b}return[a]}function e(a){
for(var b=0;b<a.length;b++)a[b].nodeWasAdded_()}function f(a,b){var c=a.nodeType
===k.DOCUMENT_NODE?a:a.ownerDocument;c!==b.ownerDocument&&c.adoptNode(b)}functio
n g(b,c){if(c.length){var d=b.ownerDocument;if(d!==c[0].ownerDocument)for(var e=
0;e<c.length;e++)a.adoptNodeNoRemove(c[e],d)}}function h(a,b){g(a,b);var c=b.len
gth;if(1===c)return r(b[0]);for(var d=r(a.ownerDocument.createDocumentFragment()
),e=0;c>e;e++)d.appendChild(r(b[e]));return d}function i(a){if(a.invalidateShado
wRenderer()){for(var b=a.firstChild;b;){o(b.parentNode===a);var c=b.nextSibling,
d=r(b),e=d.parentNode;e&&y.call(e,d),b.previousSibling_=b.nextSibling_=b.parentN
ode_=null,b=c}a.firstChild_=a.lastChild_=null}else for(var c,f=r(a),g=f.firstChi
ld;g;)c=g.nextSibling,y.call(f,g),g=c}function j(a){var b=a.parentNode;return b&
&b.invalidateShadowRenderer()}function k(a){o(a instanceof u),l.call(this,a),thi
s.parentNode_=void 0,this.firstChild_=void 0,this.lastChild_=void 0,this.nextSib
ling_=void 0,this.previousSibling_=void 0}var l=a.wrappers.EventTarget,m=a.wrapp
ers.NodeList,n=a.defineWrapGetter,o=a.assert,p=a.mixin,q=a.registerWrapper,r=a.u
nwrap,s=a.wrap,t=a.wrapIfNeeded,u=window.Node,v=u.prototype.appendChild,w=u.prot
otype.insertBefore,x=u.prototype.replaceChild,y=u.prototype.removeChild,z=u.prot
otype.compareDocumentPosition;k.prototype=Object.create(l.prototype),p(k.prototy
pe,{appendChild:function(a){b(a);var g;if(this.invalidateShadowRenderer()||j(a))
{var i=this.lastChild,k=null;g=c(a,this,i,k),this.lastChild_=g[g.length-1],i||(t
his.firstChild_=g[0]),v.call(this.impl,h(this,g))}else g=d(a),f(this,a),v.call(t
his.impl,r(a));return e(g),a},insertBefore:function(a,i){if(!i)return this.appen
dChild(a);b(a),b(i),o(i.parentNode===this);var k;if(this.invalidateShadowRendere
r()||j(a)){var l=i.previousSibling,m=i;k=c(a,this,l,m),this.firstChild===i&&(thi
s.firstChild_=k[0]);var n=r(i),p=n.parentNode;p?w.call(p,h(this,k),n):g(this,k)}
else k=d(a),f(this,a),w.call(this.impl,r(a),r(i));return e(k),a},removeChild:fun
ction(a){if(b(a),a.parentNode!==this)throw new Error("NotFoundError");var c=r(a)
;if(this.invalidateShadowRenderer()){var d=this.firstChild,e=this.lastChild,f=a.
nextSibling,g=a.previousSibling,h=c.parentNode;h&&y.call(h,c),d===a&&(this.first
Child_=f),e===a&&(this.lastChild_=g),g&&(g.nextSibling_=f),f&&(f.previousSibling
_=g),a.previousSibling_=a.nextSibling_=a.parentNode_=void 0}else y.call(this.imp
l,c);return a},replaceChild:function(a,g){if(b(a),b(g),g.parentNode!==this)throw
new Error("NotFoundError");var i,k=r(g);if(this.invalidateShadowRenderer()||j(a
)){var l=g.previousSibling,m=g.nextSibling;m===a&&(m=a.nextSibling),i=c(a,this,l
,m),this.firstChild===g&&(this.firstChild_=i[0]),this.lastChild===g&&(this.lastC
hild_=i[i.length-1]),g.previousSibling_=g.nextSibling_=g.parentNode_=void 0,k.pa
rentNode&&x.call(k.parentNode,h(this,i),k)}else i=d(a),f(this,a),x.call(this.imp
l,r(a),k);return e(i),g},nodeWasAdded_:function(){},hasChildNodes:function(){ret
urn null===this.firstChild},get parentNode(){return void 0!==this.parentNode_?th
is.parentNode_:s(this.impl.parentNode)},get firstChild(){return void 0!==this.fi
rstChild_?this.firstChild_:s(this.impl.firstChild)},get lastChild(){return void
0!==this.lastChild_?this.lastChild_:s(this.impl.lastChild)},get nextSibling(){re
turn void 0!==this.nextSibling_?this.nextSibling_:s(this.impl.nextSibling)},get
previousSibling(){return void 0!==this.previousSibling_?this.previousSibling_:s(
this.impl.previousSibling)},get parentElement(){for(var a=this.parentNode;a&&a.n
odeType!==k.ELEMENT_NODE;)a=a.parentNode;return a},get textContent(){for(var a="
",b=this.firstChild;b;b=b.nextSibling)a+=b.textContent;return a},set textContent
(a){if(this.invalidateShadowRenderer()){if(i(this),""!==a){var b=this.impl.owner
Document.createTextNode(a);this.appendChild(b)}}else this.impl.textContent=a},ge
t childNodes(){for(var a=new m,b=0,c=this.firstChild;c;c=c.nextSibling)a[b++]=c;
return a.length=b,a},cloneNode:function(a){if(!this.invalidateShadowRenderer())r
eturn s(this.impl.cloneNode(a));var b=s(this.impl.cloneNode(!1));if(a)for(var c=
this.firstChild;c;c=c.nextSibling)b.appendChild(c.cloneNode(!0));return b},conta
ins:function(a){if(!a)return!1;if(a=t(a),a===this)return!0;var b=a.parentNode;re
turn b?this.contains(b):!1},compareDocumentPosition:function(a){return z.call(th
is.impl,r(a))}}),n(k,"ownerDocument"),q(u,k,document.createDocumentFragment()),d
elete k.prototype.querySelector,delete k.prototype.querySelectorAll,k.prototype=
p(Object.create(l.prototype),k.prototype),a.wrappers.Node=k}(this.ShadowDOMPolyf
ill),function(a){"use strict";function b(a,c){for(var d,e=a.firstElementChild;e;
){if(e.matches(c))return e;if(d=b(e,c))return d;e=e.nextElementSibling}return nu
ll}function c(a,b,d){for(var e=a.firstElementChild;e;)e.matches(b)&&(d[d.length+
+]=e),c(e,b,d),e=e.nextElementSibling;return d}var d={querySelector:function(a){
return b(this,a)},querySelectorAll:function(a){return c(this,a,new NodeList)}},e
={getElementsByTagName:function(a){return this.querySelectorAll(a)},getElementsB
yClassName:function(a){return this.querySelectorAll("."+a)},getElementsByTagName
NS:function(a,b){if("*"===a)return this.getElementsByTagName(b);for(var c=new No
deList,d=this.getElementsByTagName(b),e=0,f=0;e<d.length;e++)d[e].namespaceURI==
=a&&(c[f++]=d[e]); |
| 2 return d}var d={querySelector:function(a){return b(this,a)},querySelectorAll:fun
ction(a){return c(this,a,new NodeList)}},e={getElementsByTagName:function(a){ret
urn this.querySelectorAll(a)},getElementsByClassName:function(a){return this.que
rySelectorAll("."+a)},getElementsByTagNameNS:function(a,b){if("*"===a)return thi
s.getElementsByTagName(b);for(var c=new NodeList,d=this.getElementsByTagName(b),
e=0,f=0;e<d.length;e++)d[e].namespaceURI===a&&(c[f++]=d[e]);return c.length=f,c}
};a.GetElementsByInterface=e,a.SelectorsInterface=d}(this.ShadowDOMPolyfill),fun
ction(a){"use strict";function b(a){for(;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.
nextSibling;return a}function c(a){for(;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.p
reviousSibling;return a}var d=a.wrappers.NodeList,e={get firstElementChild(){ret
urn b(this.firstChild)},get lastElementChild(){return c(this.lastChild)},get chi
ldElementCount(){for(var a=0,b=this.firstElementChild;b;b=b.nextElementSibling)a
++;return a},get children(){for(var a=new d,b=0,c=this.firstElementChild;c;c=c.n
extElementSibling)a[b++]=c;return a.length=b,a}},f={get nextElementSibling(){ret
urn b(this.nextSibling)},get previousElementSibling(){return c(this.previousSibl
ing)}};a.ChildNodeInterface=f,a.ParentNodeInterface=e}(this.ShadowDOMPolyfill),f
unction(a){"use strict";function b(a){d.call(this,a)}var c=a.ChildNodeInterface,
d=a.wrappers.Node,e=a.mixin,f=a.registerWrapper,g=window.CharacterData;b.prototy
pe=Object.create(d.prototype),e(b.prototype,{get textContent(){return this.data}
,set textContent(a){this.data=a}}),e(b.prototype,c),f(g,b,document.createTextNod
e("")),a.wrappers.CharacterData=b}(this.ShadowDOMPolyfill),function(a){"use stri
ct";function b(b,c){var d=b.parentNode;if(d&&d.shadowRoot){var e=a.getRendererFo
rHost(d);e.dependsOnAttribute(c)&&e.invalidate()}}function c(a){g.call(this,a)}f
unction d(a,c,d){var e=d||c;Object.defineProperty(a,c,{get:function(){return thi
s.impl[c]},set:function(a){this.impl[c]=a,b(this,e)},configurable:!0,enumerable:
!0})}var e=a.ChildNodeInterface,f=a.GetElementsByInterface,g=a.wrappers.Node,h=a
.ParentNodeInterface,i=a.SelectorsInterface;a.addWrapNodeListMethod;var j=a.mixi
n,k=a.oneOf,l=a.registerWrapper,m=a.wrappers,n=window.Element,o=k(n.prototype,["
matches","mozMatchesSelector","msMatchesSelector","webkitMatchesSelector"]),p=n.
prototype[o];c.prototype=Object.create(g.prototype),j(c.prototype,{createShadowR
oot:function(){var b=new m.ShadowRoot(this);this.impl.polymerShadowRoot_=b;var c
=a.getRendererForHost(this);return c.invalidate(),b},get shadowRoot(){return thi
s.impl.polymerShadowRoot_||null},setAttribute:function(a,c){this.impl.setAttribu
te(a,c),b(this,a)},removeAttribute:function(a){this.impl.removeAttribute(a),b(th
is,a)},matches:function(a){return p.call(this.impl,a)}}),c.prototype[o]=function
(a){return this.matches(a)},n.prototype.webkitCreateShadowRoot&&(c.prototype.web
kitCreateShadowRoot=c.prototype.createShadowRoot),d(c.prototype,"id"),d(c.protot
ype,"className","class"),j(c.prototype,e),j(c.prototype,f),j(c.prototype,h),j(c.
prototype,i),l(n,c),a.matchesName=o,a.wrappers.Element=c}(this.ShadowDOMPolyfill
),function(a){"use strict";function b(a){switch(a){case"&":return"&";case"<"
:return"<";case'"':return"""}}function c(a){return a.replace(p,b)}functi
on d(a){switch(a.nodeType){case Node.ELEMENT_NODE:for(var b,d=a.tagName.toLowerC
ase(),f="<"+d,g=a.attributes,h=0;b=g[h];h++)f+=" "+b.name+'="'+c(b.value)+'"';re
turn f+=">",q[d]?f:f+e(a)+"</"+d+">";case Node.TEXT_NODE:return c(a.nodeValue);c
ase Node.COMMENT_NODE:return"<!--"+c(a.nodeValue)+"-->";default:throw console.er
ror(a),new Error("not implemented")}}function e(a){for(var b="",c=a.firstChild;c
;c=c.nextSibling)b+=d(c);return b}function f(a,b,c){var d=c||"div";a.textContent
="";var e=n(a.ownerDocument.createElement(d));e.innerHTML=b;for(var f;f=e.firstC
hild;)a.appendChild(o(f))}function g(a){j.call(this,a)}function h(b){k(g,b,funct
ion(){return a.renderAllPending(),this.impl[b]})}function i(b){Object.defineProp
erty(g.prototype,b,{value:function(){return a.renderAllPending(),this.impl[b].ap
ply(this.impl,arguments)},configurable:!0,enumerable:!0})}var j=a.wrappers.Eleme
nt,k=a.defineGetter,l=a.mixin,m=a.registerWrapper,n=a.unwrap,o=a.wrap,p=/&|<|"/g
,q={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keyge
n:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},r=window.HTMLElement;g.
prototype=Object.create(j.prototype),l(g.prototype,{get innerHTML(){return e(thi
s)},set innerHTML(a){this.invalidateShadowRenderer()?f(this,a,this.tagName):this
.impl.innerHTML=a},get outerHTML(){return d(this)},set outerHTML(a){var b=this.p
arentNode;b&&(b.invalidateShadowRenderer(),this.impl.outerHTML=a)}}),["clientHei
ght","clientLeft","clientTop","clientWidth","offsetHeight","offsetLeft","offsetT
op","offsetWidth","scrollHeight","scrollLeft","scrollTop","scrollWidth"].forEach
(h),["getBoundingClientRect","getClientRects","scrollIntoView"].forEach(i),m(r,g
,document.createElement("b")),a.wrappers.HTMLElement=g,a.getInnerHTML=e,a.setInn
erHTML=f}(this.ShadowDOMPolyfill),function(a){"use strict";function b(a){c.call(
this,a)}var c=a.wrappers.HTMLElement,d=a.mixin,e=a.registerWrapper,f=window.HTML
ContentElement;b.prototype=Object.create(c.prototype),d(b.prototype,{get select(
){return this.getAttribute("select")},set select(a){this.setAttribute("select",a
)},setAttribute:function(a,b){c.prototype.setAttribute.call(this,a,b),"select"==
=String(a).toLowerCase()&&this.invalidateShadowRenderer(!0)}}),f&&e(f,b),a.wrapp
ers.HTMLContentElement=b}(this.ShadowDOMPolyfill),function(a){"use strict";funct
ion b(a){c.call(this,a)}var c=a.wrappers.HTMLElement,d=a.mixin,e=a.registerWrapp
er,f=window.HTMLShadowElement;b.prototype=Object.create(c.prototype),d(b.prototy
pe,{}),f&&e(f,b),a.wrappers.HTMLShadowElement=b}(this.ShadowDOMPolyfill),functio
n(a){"use strict";function b(a){if(!a.defaultView)return a;var b=m.get(a);if(!b)
{for(b=a.implementation.createHTMLDocument("");b.lastChild;)b.removeChild(b.last
Child);m.set(a,b)}return b}function c(a){for(var c,d=b(a.ownerDocument),e=j(d.cr
eateDocumentFragment());c=a.firstChild;)e.appendChild(c);return e}function d(a){
if(e.call(this,a),!n){var b=c(a);l.set(this,k(b))}}var e=a.wrappers.HTMLElement,
f=a.getInnerHTML,g=a.mixin,h=a.registerWrapper,i=a.setInnerHTML,j=a.unwrap,k=a.w
rap,l=new WeakMap,m=new WeakMap,n=window.HTMLTemplateElement;d.prototype=Object.
create(e.prototype),g(d.prototype,{get content(){return n?k(this.impl.content):l
.get(this)},get innerHTML(){return f(this.content)},set innerHTML(a){i(this.cont
ent,a)}}),n&&h(n,d),a.wrappers.HTMLTemplateElement=d}(this.ShadowDOMPolyfill),fu
nction(a){"use strict";function b(a){switch(a.localName){case"content":return ne
w c(a);case"shadow":return new e(a);case"template":return new f(a)}d.call(this,a
)}var c=a.wrappers.HTMLContentElement,d=a.wrappers.HTMLElement,e=a.wrappers.HTML
ShadowElement,f=a.wrappers.HTMLTemplateElement;a.mixin;var g=a.registerWrapper,h
=window.HTMLUnknownElement;b.prototype=Object.create(d.prototype),g(h,b),a.wrapp
ers.HTMLUnknownElement=b}(this.ShadowDOMPolyfill),function(a){"use strict";var b
=a.GetElementsByInterface,c=a.ParentNodeInterface,d=a.SelectorsInterface,e=a.mix
in,f=a.registerObject,g=f(document.createDocumentFragment());e(g.prototype,c),e(
g.prototype,d),e(g.prototype,b);var h=f(document.createTextNode("")),i=f(documen
t.createComment(""));a.wrappers.Comment=i,a.wrappers.DocumentFragment=g,a.wrappe
rs.Text=h}(this.ShadowDOMPolyfill),function(a){"use strict";function b(a){var b=
i(a.impl.ownerDocument.createDocumentFragment());c.call(this,b),g(b,this);var d=
a.shadowRoot;k.set(this,d),j.set(this,a)}var c=a.wrappers.DocumentFragment,d=a.e
lementFromPoint,e=a.getInnerHTML,f=a.mixin,g=a.rewrap,h=a.setInnerHTML,i=a.unwra
p,j=new WeakMap,k=new WeakMap;b.prototype=Object.create(c.prototype),f(b.prototy
pe,{get innerHTML(){return e(this)},set innerHTML(a){h(this,a),this.invalidateSh
adowRenderer()},get olderShadowRoot(){return k.get(this)||null},invalidateShadow
Renderer:function(){return j.get(this).invalidateShadowRenderer()},elementFromPo
int:function(a,b){return d(this,this.ownerDocument,a,b)},getElementById:function
(a){return this.querySelector("#"+a)}}),a.wrappers.ShadowRoot=b,a.getHostForShad
owRoot=function(a){return j.get(a)}}(this.ShadowDOMPolyfill),function(a){"use st
rict";function b(a){a.previousSibling_=a.previousSibling,a.nextSibling_=a.nextSi
bling,a.parentNode_=a.parentNode}function c(a,c,e){var f=G(a),g=G(c),h=e?G(e):nu
ll;if(d(c),b(c),e)a.firstChild===e&&(a.firstChild_=e),e.previousSibling_=e.previ
ousSibling;else{a.lastChild_=a.lastChild,a.lastChild===a.firstChild&&(a.firstChi
ld_=a.firstChild);var i=H(f.lastChild);i&&(i.nextSibling_=i.nextSibling)}f.inser
tBefore(g,h)}function d(a){var c=G(a),d=c.parentNode;if(d){var e=H(d);b(a),a.pre
viousSibling&&(a.previousSibling.nextSibling_=a),a.nextSibling&&(a.nextSibling.p
reviousSibling_=a),e.lastChild===a&&(e.lastChild_=a),e.firstChild===a&&(e.firstC
hild_=a),d.removeChild(c)}}function e(a,b){g(b).push(a),x(a,b);var c=J.get(a);c|
|J.set(a,c=[]),c.push(b)}function f(a){I.set(a,[])}function g(a){return I.get(a)
}function h(a){for(var b=[],c=0,d=a.firstChild;d;d=d.nextSibling)b[c++]=d;return
b}function i(a,b,c){for(var d=a.firstChild;d;d=d.nextSibling)if(b(d)){if(c(d)==
=!1)return}else i(d,b,c)}function j(a,b){var c=b.getAttribute("select");if(!c)re
turn!0;if(c=c.trim(),!c)return!0;if(!(a instanceof y))return!1;if(!M.test(c))ret
urn!1;if(":"===c[0]&&!N.test(c))return!1;try{return a.matches(c)}catch(d){return
!1}}function k(){for(var a=0;a<P.length;a++)P[a].render();P=[]}function l(){E=nu
ll,k()}function m(a){var b=L.get(a);return b||(b=new q(a),L.set(a,b)),b}function
n(a){for(;a;a=a.parentNode)if(a instanceof C)return a;return null}function o(a)
{return m(D(a))}function p(a){this.skip=!1,this.node=a,this.childNodes=[]}functi
on q(a){this.host=a,this.dirty=!1,this.invalidateAttributes(),this.associateNode
(a)}function r(a){return a instanceof z}function s(a){return a instanceof z}func
tion t(a){return a instanceof A}function u(a){return a instanceof A}function v(a
){return a.shadowRoot}function w(a){for(var b=[],c=a.shadowRoot;c;c=c.olderShado
wRoot)b.push(c);return b}function x(a,b){K.set(a,b)}var y=a.wrappers.Element,z=a
.wrappers.HTMLContentElement,A=a.wrappers.HTMLShadowElement,B=a.wrappers.Node,C=
a.wrappers.ShadowRoot;a.assert;var D=a.getHostForShadowRoot;a.mixin;var E,F=a.on
eOf,G=a.unwrap,H=a.wrap,I=new WeakMap,J=new WeakMap,K=new WeakMap,L=new WeakMap,
M=/^[*.:#[a-zA-Z_|]/,N=new RegExp("^:("+["link","visited","target","enabled","di
sabled","checked","indeterminate","nth-child","nth-last-child","nth-of-type","nt
h-last-of-type","first-child","last-child","first-of-type","last-of-type","only-
of-type"].join("|")+")"),O=F(window,["requestAnimationFrame","mozRequestAnimatio
nFrame","webkitRequestAnimationFrame","setTimeout"]),P=[],Q=new ArraySplice;Q.eq
uals=function(a,b){return G(a.node)===b},p.prototype={append:function(a){var b=n
ew p(a);return this.childNodes.push(b),b},sync:function(a){if(!this.skip){for(va
r b=this.node,e=this.childNodes,f=h(G(b)),g=a||new WeakMap,i=Q.calculateSplices(
e,f),j=0,k=0,l=0,m=0;m<i.length;m++){for(var n=i[m];l<n.index;l++)k++,e[j++].syn
c(g);for(var o=n.removed.length,p=0;o>p;p++){var q=H(f[k++]);g.get(q)||d(q)}for(
var r=n.addedCount,s=f[k]&&H(f[k]),p=0;r>p;p++){var t=e[j++],u=t.node;c(b,u,s),g
.set(u,!0),t.sync(g)}l+=r}for(var m=l;m<e.length;m++)e[m++].sync(g)}}},q.prototy
pe={render:function(a){if(this.dirty){this.invalidateAttributes(),this.treeCompo
sition();var b=this.host,c=b.shadowRoot;this.associateNode(b);for(var d=!e,e=a||
new p(b),f=c.firstChild;f;f=f.nextSibling)this.renderNode(c,e,f,!1);d&&e.sync(),
this.dirty=!1}},invalidate:function(){if(!this.dirty){if(this.dirty=!0,P.push(th
is),E)return;E=window[O](l,0)}},renderNode:function(a,b,c,d){if(v(c)){b=b.append
(c);var e=m(c);e.dirty=!0,e.render(b)}else r(c)?this.renderInsertionPoint(a,b,c,
d):t(c)?this.renderShadowInsertionPoint(a,b,c):this.renderAsAnyDomTree(a,b,c,d)}
,renderAsAnyDomTree:function(a,b,c,d){if(b=b.append(c),v(c)){var e=m(c);b.skip=!
e.dirty,e.render(b)}else for(var f=c.firstChild;f;f=f.nextSibling)this.renderNod
e(a,b,f,d)},renderInsertionPoint:function(a,b,c,d){var e=g(c);if(e.length){this.
associateNode(c);for(var f=0;f<e.length;f++){var h=e[f];r(h)&&d?this.renderInser
tionPoint(a,b,h,d):this.renderAsAnyDomTree(a,b,h,d)}}else this.renderFallbackCon
tent(a,b,c);this.associateNode(c.parentNode)},renderShadowInsertionPoint:functio
n(a,b,c){var d=a.olderShadowRoot;if(d){x(d,c),this.associateNode(c.parentNode);f
or(var e=d.firstChild;e;e=e.nextSibling)this.renderNode(d,b,e,!0)}else this.rend
erFallbackContent(a,b,c)},renderFallbackContent:function(a,b,c){this.associateNo
de(c),this.associateNode(c.parentNode);for(var d=c.firstChild;d;d=d.nextSibling)
this.renderAsAnyDomTree(a,b,d,!1)},invalidateAttributes:function(){this.attribut
es=Object.create(null)},updateDependentAttributes:function(a){if(a){var b=this.a
ttributes;/\.\w+/.test(a)&&(b["class"]=!0),/#\w+/.test(a)&&(b.id=!0),a.replace(/
\[\s*([^\s=\|~\]]+)/g,function(a,c){b[c]=!0})}},dependsOnAttribute:function(a){r
eturn this.attributes[a]},distribute:function(a,b){var c=this;i(a,s,function(a){
f(a),c.updateDependentAttributes(a.getAttribute("select"));for(var d=0;d<b.lengt
h;d++){var g=b[d];void 0!==g&&j(g,a)&&(e(g,a),b[d]=void 0)}})},treeComposition:f
unction(){for(var a=this.host,b=a.shadowRoot,c=[],d=a.firstChild;d;d=d.nextSibli
ng)if(r(d)){var e=g(d);e&&e.length||(e=h(d)),c.push.apply(c,e)}else c.push(d);fo
r(var f,j;b;){if(f=void 0,i(b,u,function(a){return f=a,!1}),j=f,this.distribute(
b,c),j){var k=b.olderShadowRoot;if(k){b=k,x(b,j);continue}break}break}},associat
eNode:function(a){a.impl.polymerShadowRenderer_=this}},B.prototype.invalidateSha
dowRenderer=function(){var a=this.impl.polymerShadowRenderer_;return a?(a.invali
date(),!0):!1},z.prototype.getDistributedNodes=function(){return k(),g(this)},A.
prototype.nodeWasAdded_=z.prototype.nodeWasAdded_=function(){this.invalidateShad
owRenderer();var a,b=n(this);b&&(a=o(b)),this.impl.polymerShadowRenderer_=a,a&&a
.invalidate()},a.eventParentsTable=J,a.getRendererForHost=m,a.getShadowTrees=w,a
.insertionParentTable=K,a.renderAllPending=k,a.visual={insertBefore:c,remove:d}}
(this.ShadowDOMPolyfill),function(a){"use strict";function b(b){if(window[b]){d(
!a.wrappers[b]);var i=function(a){c.call(this,a)};i.prototype=Object.create(c.pr
ototype),e(i.prototype,{get form(){return h(g(this).form)}}),f(window[b],i,docum
ent.createElement(b.slice(4,-7))),a.wrappers[b]=i}}var c=a.wrappers.HTMLElement,
d=a.assert,e=a.mixin,f=a.registerWrapper,g=a.unwrap,h=a.wrap,i=["HTMLButtonEleme
nt","HTMLFieldSetElement","HTMLInputElement","HTMLKeygenElement","HTMLLabelEleme
nt","HTMLLegendElement","HTMLObjectElement","HTMLOptionElement","HTMLOutputEleme
nt","HTMLSelectElement","HTMLTextAreaElement"];i.forEach(b)}(this.ShadowDOMPolyf
ill),function(a){"use strict";function b(a){k.call(this,a)}function c(a){var c=d
ocument[a];b.prototype[a]=function(){return v(c.apply(this.impl,arguments))}}fun
ction d(a,b){y.call(b.impl,u(a)),e(a,b)}function e(a,b){a.shadowRoot&&b.adoptNod
e(a.shadowRoot),a instanceof n&&f(a,b);for(var c=a.firstChild;c;c=c.nextSibling)
e(c,b)}function f(a,b){var c=a.olderShadowRoot;c&&b.adoptNode(c)}function g(a){t
his.impl=a}function h(a,b){var c=document.implementation[b];a.prototype[b]=funct
ion(){return v(c.apply(this.impl,arguments))}}function i(a,b){var c=document.imp
lementation[b];a.prototype[b]=function(){return c.apply(this.impl,arguments)}}va
r j=a.GetElementsByInterface,k=a.wrappers.Node,l=a.ParentNodeInterface,m=a.Selec
torsInterface,n=a.wrappers.ShadowRoot,o=a.defineWrapGetter,p=a.elementFromPoint,
q=a.forwardMethodsToWrapper,r=a.matchesName,s=a.mixin,t=a.registerWrapper,u=a.un
wrap,v=a.wrap,w=a.wrapEventTargetMethods;a.wrapNodeList;var x=new WeakMap;b.prot
otype=Object.create(k.prototype),o(b,"documentElement"),o(b,"body"),o(b,"head"),
["createComment","createDocumentFragment","createElement","createElementNS","cre
ateEvent","createEventNS","createRange","createTextNode","getElementById"].forEa
ch(c);var y=document.adoptNode;if(s(b.prototype,{adoptNode:function(a){return a.
parentNode&&a.parentNode.removeChild(a),d(a,this),a},elementFromPoint:function(a
,b){return p(this,this,a,b)}}),document.register){var z=document.register;b.prot
otype.register=function(b,c){function d(a){return a?(this.impl=a,void 0):documen
t.createElement(b)}var e=c.prototype;if(a.nativePrototypeTable.get(e))throw new
Error("NotSupportedError");for(var f,g=Object.getPrototypeOf(e),h=[];g&&!(f=a.na
tivePrototypeTable.get(g));)h.push(g),g=Object.getPrototypeOf(g);if(!f)throw new
Error("NotSupportedError");for(var i=Object.create(f),j=h.length-1;j>=0;j--)i=O
bject.create(i);return["createdCallback","enteredDocumentCallback","leftDocument
Callback","attributeChangedCallback"].forEach(function(a){var b=e[a];b&&(i[a]=fu
nction(){b.apply(v(this),arguments)})}),z.call(u(this),b,{prototype:i}),d.protot
ype=e,d.prototype.constructor=d,a.constructorTable.set(i,d),a.nativePrototypeTab
le.set(e,i),d},q([window.HTMLDocument||window.Document],["register"])}q([window.
HTMLBodyElement,window.HTMLDocument||window.Document,window.HTMLHeadElement,wind
ow.HTMLHtmlElement],["appendChild","compareDocumentPosition","contains","getElem
entsByClassName","getElementsByTagName","getElementsByTagNameNS","insertBefore",
"querySelector","querySelectorAll","removeChild","replaceChild",r]),q([window.HT
MLDocument||window.Document],["adoptNode","contains","createComment","createDocu
mentFragment","createElement","createElementNS","createEvent","createEventNS","c
reateRange","createTextNode","elementFromPoint","getElementById"]),s(b.prototype
,j),s(b.prototype,l),s(b.prototype,m),s(b.prototype,{get implementation(){var a=
x.get(this);return a?a:(a=new g(u(this).implementation),x.set(this,a),a)}}),t(wi
ndow.Document,b,document.implementation.createHTMLDocument("")),window.HTMLDocum
ent&&t(window.HTMLDocument,b),w([window.HTMLBodyElement,window.HTMLDocument||win
dow.Document,window.HTMLHeadElement]),h(g,"createDocumentType"),h(g,"createDocum
ent"),h(g,"createHTMLDocument"),i(g,"hasFeature"),t(window.DOMImplementation,g),
q([window.DOMImplementation],["createDocumentType","createDocument","createHTMLD
ocument","hasFeature"]),a.adoptNodeNoRemove=d,a.wrappers.DOMImplementation=g,a.w
rappers.Document=b}(this.ShadowDOMPolyfill),function(a){"use strict";function b(
a){c.call(this,a)}var c=a.wrappers.EventTarget,d=a.mixin,e=a.registerWrapper,f=a
.unwrap,g=a.unwrapIfNeeded,h=a.wrap,i=a.renderAllPending,j=window.Window;b.proto
type=Object.create(c.prototype);var k=window.getComputedStyle;j.prototype.getCom
putedStyle=function(a,b){return i(),k.call(this||window,g(a),b)},["addEventListe
ner","removeEventListener","dispatchEvent"].forEach(function(a){j.prototype[a]=f
unction(){var b=h(this||window);return b[a].apply(b,arguments)}}),d(b.prototype,
{getComputedStyle:function(a,b){return k.call(f(this),g(a),b)}}),e(j,b),a.wrappe
rs.Window=b}(this.ShadowDOMPolyfill),function(a){"use strict";function b(a){this
.impl=a}function c(a){return new b(a)}function d(a){return a.map(c)}function e(a
){var b=this;this.impl=new k(function(c){a.call(b,d(c),b)})}var f=a.defineGetter
,g=a.defineWrapGetter,h=a.registerWrapper,i=a.unwrapIfNeeded,j=a.wrapNodeList;a.
wrappers;var k=window.MutationObserver||window.WebKitMutationObserver;if(k){var
l=window.MutationRecord;b.prototype={get addedNodes(){return j(this.impl.addedNo
des)},get removedNodes(){return j(this.impl.removedNodes)}},["target","previousS
ibling","nextSibling"].forEach(function(a){g(b,a)}),["type","attributeName","att
ributeNamespace","oldValue"].forEach(function(a){f(b,a,function(){return this.im
pl[a]})}),l&&h(l,b),window.Node,e.prototype={observe:function(a,b){this.impl.obs
erve(i(a),b)},disconnect:function(){this.impl.disconnect()},takeRecords:function
(){return d(this.impl.takeRecords())}},a.wrappers.MutationObserver=e,a.wrappers.
MutationRecord=b}}(this.ShadowDOMPolyfill),function(a){"use strict";function b(a
){this.impl=a}var c=a.registerWrapper,d=a.unwrap,e=a.unwrapIfNeeded,f=a.wrap,g=w
indow.Range;b.prototype={get startContainer(){return f(this.impl.startContainer)
},get endContainer(){return f(this.impl.endContainer)},get commonAncestorContain
er(){return f(this.impl.commonAncestorContainer)},setStart:function(a,b){this.im
pl.setStart(e(a),b)},setEnd:function(a,b){this.impl.setEnd(e(a),b)},setStartBefo
re:function(a){this.impl.setStartBefore(e(a))},setStartAfter:function(a){this.im
pl.setStartAfter(e(a))},setEndBefore:function(a){this.impl.setEndBefore(e(a))},s
etEndAfter:function(a){this.impl.setEndAfter(e(a))},selectNode:function(a){this.
impl.selectNode(e(a))},selectNodeContents:function(a){this.impl.selectNodeConten
ts(e(a))},compareBoundaryPoints:function(a,b){return this.impl.compareBoundaryPo
ints(a,d(b))},extractContents:function(){return f(this.impl.extractContents())},
cloneContents:function(){return f(this.impl.cloneContents())},insertNode:functio
n(a){this.impl.insertNode(e(a))},surroundContents:function(a){this.impl.surround
Contents(e(a))},cloneRange:function(){return f(this.impl.cloneRange())},isPointI
nRange:function(a,b){return this.impl.isPointInRange(e(a),b)},comparePoint:funct
ion(a,b){return this.impl.comparePoint(e(a),b)},intersectsNode:function(a){retur
n this.impl.intersectsNode(e(a))}},g.prototype.createContextualFragment&&(b.prot
otype.createContextualFragment=function(a){return f(this.impl.createContextualFr
agment(a))}),c(window.Range,b),a.wrappers.Range=b}(this.ShadowDOMPolyfill),funct
ion(a){"use strict";function b(a){var b=c[a],d=window[b];if(d){var e=document.cr
eateElement(a),f=e.constructor;window[b]=f}}a.isWrapperFor;var c={a:"HTMLAnchorE
lement",applet:"HTMLAppletElement",area:"HTMLAreaElement",audio:"HTMLAudioElemen
t",br:"HTMLBRElement",base:"HTMLBaseElement",body:"HTMLBodyElement",button:"HTML
ButtonElement",canvas:"HTMLCanvasElement",dl:"HTMLDListElement",datalist:"HTMLDa
taListElement",dir:"HTMLDirectoryElement",div:"HTMLDivElement",embed:"HTMLEmbedE
lement",fieldset:"HTMLFieldSetElement",font:"HTMLFontElement",form:"HTMLFormElem
ent",frame:"HTMLFrameElement",frameset:"HTMLFrameSetElement",hr:"HTMLHRElement",
head:"HTMLHeadElement",h1:"HTMLHeadingElement",html:"HTMLHtmlElement",iframe:"HT
MLIFrameElement",input:"HTMLInputElement",li:"HTMLLIElement",label:"HTMLLabelEle
ment",legend:"HTMLLegendElement",link:"HTMLLinkElement",map:"HTMLMapElement",men
u:"HTMLMenuElement",menuitem:"HTMLMenuItemElement",meta:"HTMLMetaElement",meter:
"HTMLMeterElement",del:"HTMLModElement",ol:"HTMLOListElement",object:"HTMLObject
Element",optgroup:"HTMLOptGroupElement",option:"HTMLOptionElement",output:"HTMLO
utputElement",p:"HTMLParagraphElement",param:"HTMLParamElement",pre:"HTMLPreElem
ent",progress:"HTMLProgressElement",q:"HTMLQuoteElement",script:"HTMLScriptEleme
nt",select:"HTMLSelectElement",source:"HTMLSourceElement",span:"HTMLSpanElement"
,style:"HTMLStyleElement",caption:"HTMLTableCaptionElement",col:"HTMLTableColEle
ment",table:"HTMLTableElement",tr:"HTMLTableRowElement",thead:"HTMLTableSectionE
lement",tbody:"HTMLTableSectionElement",textarea:"HTMLTextAreaElement",title:"HT
MLTitleElement",ul:"HTMLUListElement",video:"HTMLVideoElement"};Object.keys(c).f
orEach(b),Object.getOwnPropertyNames(a.wrappers).forEach(function(b){window[b]=a
.wrappers[b]}),a.knownElements=c}(this.ShadowDOMPolyfill),function(){var a=windo
w.ShadowDOMPolyfill;a.wrap,Object.defineProperties(HTMLElement.prototype,{webkit
ShadowRoot:{get:function(){return this.shadowRoot}}}),HTMLElement.prototype.webk
itCreateShadowRoot=HTMLElement.prototype.createShadowRoot,window.dartExperimenta
lFixupGetTag=function(b){function c(a){if(a instanceof d)return"NodeList";if(a i
nstanceof e)return"ShadowRoot";if(window.MutationRecord&&a instanceof MutationRe
cord)return"MutationRecord";if(window.MutationObserver&&a instanceof MutationObs
erver)return"MutationObserver";var c=f(a);if(a!==c){var g=a.constructor;if(g===c
.constructor){var h=g._ShadowDOMPolyfill$cacheTag_;return h||(h=Object.prototype
.toString.call(c),h=h.substring(8,h.length-1),g._ShadowDOMPolyfill$cacheTag_=h),
h}a=c}return b(a)}var d=a.wrappers.NodeList,e=a.wrappers.ShadowRoot,f=a.unwrapIf
Needed;return c}}();var Platform={};!function(a){function b(a,b){var c="";return
Array.prototype.forEach.call(a,function(a){c+=a.textContent+"\n\n"}),b||(c=c.re
place(m,"")),c}function c(a){var b=document.createElement("style");b.textContent
=a,document.head.appendChild(b);var c=b.sheet.cssRules;return b.parentNode.remov
eChild(b),c}function d(a){for(var b=0,c=[];b<a.length;b++)c.push(a[b].cssText);r
eturn c.join("\n\n")}function e(a){a&&f().appendChild(document.createTextNode(a)
)}function f(){return g||(g=document.createElement("style"),g.setAttribute("Shad
owCSSShim","")),g}var g,h={strictStyling:!1,registry:{},shimStyling:function(a,b
,c){if(a){var d=this.registerDefinition(a,b,c);this.strictStyling&&this.applySco
peToContent(a,b),this.shimPolyfillDirectives(d.rootStyles,b),this.applyShimming(
d.scopeStyles,b)}},shimShadowDOMStyling:function(a,b){this.shimPolyfillDirective
s(a,b),this.applyShimming(a,b)},registerDefinition:function(a,b,c){var d=this.re
gistry[b]={root:a,name:b,extendsName:c},e=a.querySelectorAll("style");e=e?Array.
prototype.slice.call(e,0):[],d.rootStyles=e,d.scopeStyles=d.rootStyles;var f=thi
s.registry[d.extendsName];return f&&(d.scopeStyles=d.scopeStyles.concat(f.scopeS
tyles)),d},applyScopeToContent:function(a,b){a&&(Array.prototype.forEach.call(a.
querySelectorAll("*"),function(a){a.setAttribute(b,"")}),Array.prototype.forEach
.call(a.querySelectorAll("template"),function(a){this.applyScopeToContent(a.cont
ent,b)},this))},shimPolyfillDirectives:function(a,b){a&&Array.prototype.forEach.
call(a,function(a){a.textContent=this.convertPolyfillDirectives(a.textContent,b)
},this)},convertPolyfillDirectives:function(a,b){for(var c,d,e="",f=0;c=n.exec(a
);)e+=a.substring(f,c.index),d=c[1].slice(0,-2).replace(q,b),e+=this.scopeSelect
or(d,b)+"{",f=n.lastIndex;return e+=a.substring(f,a.length)},applyShimming:funct
ion(a,b){var c=this.shimAtHost(a,b);c+=this.shimScoping(a,b),e(c)},shimAtHost:fu
nction(a,b){return a?this.convertAtHostStyles(a,b):void 0},convertAtHostStyles:f
unction(a,e){for(var f,g=b(a),h="",j=0;f=i.exec(g);)h+=g.substring(j,f.index),h+
=this.scopeHostCss(f[1],e),j=i.lastIndex;h+=g.substring(j,g.length);var k=new Re
gExp("^"+e+p,"m"),g=d(this.findAtHostRules(c(h),k));return g},scopeHostCss:funct
ion(a,b){for(var c,d="";c=j.exec(a);)d+=this.scopeHostSelector(c[1],b)+" "+c[2]+
"\n ";return d},scopeHostSelector:function(a,b){var c=[],d=a.split(","),e="[
is="+b+"]";return d.forEach(function(a){a=a.trim(),a.match(k)?a=a.replace(k,b+"$
1$3, "+e+"$1$3"):a.match(l)&&(a=b+a+", "+e+a),c.push(a)},this),c.join(", ")},fin
dAtHostRules:function(a,b){return Array.prototype.filter.call(a,this.isHostRule.
bind(this,b))},isHostRule:function(a,b){return b.selectorText&&b.selectorText.ma
tch(a)||b.cssRules&&this.findAtHostRules(b.cssRules,a).length||b.type==CSSRule.W
EBKIT_KEYFRAMES_RULE},shimScoping:function(a,b){return a?this.convertScopedStyle
s(a,b):void 0},convertScopedStyles:function(a,d){Array.prototype.forEach.call(a,
function(a){a.parentNode&&a.parentNode.removeChild(a)});var e=b(a).replace(i,"")
;e=this.convertPseudos(e);var f=c(e);return e=this.scopeRules(f,d)},convertPseud
os:function(a){return a.replace(o," [pseudo=$1]")},scopeRules:function(a,b){var
c="";return Array.prototype.forEach.call(a,function(a){a.selectorText&&a.style&&
a.style.cssText?(c+=this.scopeSelector(a.selectorText,b,this.strictStyling)+" {\
n ",c+=this.propertiesFromRule(a)+"\n}\n\n"):a.media?(c+="@media "+a.media
.mediaText+" {\n",c+=this.scopeRules(a.cssRules,b),c+="\n}\n\n"):a.cssText&&(c+=
a.cssText+"\n\n")},this),c},scopeSelector:function(a,b,c){var d=[],e=a.split(","
);return e.forEach(function(a){a=a.trim(),this.selectorNeedsScoping(a,b)&&(a=c?t
his.applyStrictSelectorScope(a,b):this.applySimpleSelectorScope(a,b)),d.push(a)}
,this),d.join(", ")},selectorNeedsScoping:function(a,b){var c="("+b+"|\\[is="+b+
"\\])",d=new RegExp("^"+c+p,"m");return!a.match(d)},applySimpleSelectorScope:fun
ction(a,b){return b+" "+a+", "+"[is="+b+"] "+a},applyStrictSelectorScope:functio
n(a,b){var c=[" ",">","+","~"],d=a,e="["+b+"]";return c.forEach(function(a){var
b=d.split(a);d=b.map(function(a){var b=a.trim();return b&&c.indexOf(b)<0&&b.inde
xOf(e)<0&&(a=b.replace(/([^:]*)(:*)(.*)/,"$1"+e+"$2$3")),a}).join(a)}),d},proper
tiesFromRule:function(a){var b=a.style.cssText;return a.style.content&&!a.style.
content.match(/['"]+/)&&(b="content: '"+a.style.content+"';\n"+a.style.cssText.r
eplace(/content:[^;]*;/g,"")),b}},i=/@host[^{]*{(([^}]*?{[^{]*?}[\s\S]*?)+)}/gim
,j=/([^{]*)({[\s\S]*?})/gim,k=/(.*)((?:\*)|(?:\:scope))(.*)/,l=/^[.\[:]/,m=/\/\*
[^*]*\*+([^/*][^*]*\*+)*\//gim,n=/\/\*\s*@polyfill ([^*]*\*+([^/*][^*]*\*+)*\/)(
[^{]*?){/gim,o=/::(x-[^\s{,(]*)/gim,p="([>\\s~+[.,{:][\\s\\S]*)?$",q=/@host/gim;
if(window.ShadowDOMPolyfill){e("style { display: none !important; }\n");var r=do
cument.querySelector("head");r.insertBefore(f(),r.childNodes[0])}a.ShadowCSS=h}(
window.Platform),function(a){function b(a,b){if(window.ShadowDOMPolyfill){for(va
r h,i=this.convertPolyfillDirectives(a,b),j="",k=0;h=e.exec(i);)j+=i.substring(k
,h.index),j+=this.scopeHostCss(h[1],b),k=e.lastIndex;j+=i.substring(k,i.length);
var l=new RegExp("^"+b+g,"m"),m=d(this.findAtHostRules(c(j),l));i=i.replace(f,""
),i=this.convertPseudos(i);var n=c(i),o=this.scopeRules(n,b);return m+o}}functio
n c(a){var b=document.createElement("style");b.textContent=a,document.head.appen
dChild(b);var c=b.sheet.cssRules;return b.parentNode.removeChild(b),c}function d
(a){for(var b=0,c=[];b<a.length;b++)c.push(a[b].cssText);return c.join("\n\n")}v
ar e=/@host[^{]*{(([^}]*?{[^{]*?}[\s\S]*?)+)}/gim,f=/\/\*[^*]*\*+([^/*][^*]*\*+)
*\//gim,g="([>\\s~+[.,{:][\\s\\S]*)?$";a.ShadowCSS.shimShadowDOMStyling2=b}(wind
ow.Platform)} | 2 return c.length=f,c}};a.GetElementsByInterface=e,a.SelectorsInterface=d}(this.Sh
adowDOMPolyfill),function(a){"use strict";function b(a){for(;a&&a.nodeType!==Nod
e.ELEMENT_NODE;)a=a.nextSibling;return a}function c(a){for(;a&&a.nodeType!==Node
.ELEMENT_NODE;)a=a.previousSibling;return a}var d=a.wrappers.NodeList,e={get fir
stElementChild(){return b(this.firstChild)},get lastElementChild(){return c(this
.lastChild)},get childElementCount(){for(var a=0,b=this.firstElementChild;b;b=b.
nextElementSibling)a++;return a},get children(){for(var a=new d,b=0,c=this.first
ElementChild;c;c=c.nextElementSibling)a[b++]=c;return a.length=b,a}},f={get next
ElementSibling(){return b(this.nextSibling)},get previousElementSibling(){return
c(this.previousSibling)}};a.ChildNodeInterface=f,a.ParentNodeInterface=e}(this.
ShadowDOMPolyfill),function(a){"use strict";function b(a){d.call(this,a)}var c=a
.ChildNodeInterface,d=a.wrappers.Node,e=a.mixin,f=a.registerWrapper,g=window.Cha
racterData;b.prototype=Object.create(d.prototype),e(b.prototype,{get textContent
(){return this.data},set textContent(a){this.data=a}}),e(b.prototype,c),f(g,b,do
cument.createTextNode("")),a.wrappers.CharacterData=b}(this.ShadowDOMPolyfill),f
unction(a){"use strict";function b(b,c){var d=b.parentNode;if(d&&d.shadowRoot){v
ar e=a.getRendererForHost(d);e.dependsOnAttribute(c)&&e.invalidate()}}function c
(a){g.call(this,a)}function d(a,c,d){var e=d||c;Object.defineProperty(a,c,{get:f
unction(){return this.impl[c]},set:function(a){this.impl[c]=a,b(this,e)},configu
rable:!0,enumerable:!0})}var e=a.ChildNodeInterface,f=a.GetElementsByInterface,g
=a.wrappers.Node,h=a.ParentNodeInterface,i=a.SelectorsInterface;a.addWrapNodeLis
tMethod;var j=a.mixin,k=a.oneOf,l=a.registerWrapper,m=a.wrappers,n=new WeakMap,o
=window.Element,p=k(o.prototype,["matches","mozMatchesSelector","msMatchesSelect
or","webkitMatchesSelector"]),q=o.prototype[p];c.prototype=Object.create(g.proto
type),j(c.prototype,{createShadowRoot:function(){var b=new m.ShadowRoot(this);n.
set(this,b);var c=a.getRendererForHost(this);return c.invalidate(),b},get shadow
Root(){return n.get(this)||null},setAttribute:function(a,c){this.impl.setAttribu
te(a,c),b(this,a)},removeAttribute:function(a){this.impl.removeAttribute(a),b(th
is,a)},matches:function(a){return q.call(this.impl,a)}}),c.prototype[p]=function
(a){return this.matches(a)},o.prototype.webkitCreateShadowRoot&&(c.prototype.web
kitCreateShadowRoot=c.prototype.createShadowRoot),d(c.prototype,"id"),d(c.protot
ype,"className","class"),j(c.prototype,e),j(c.prototype,f),j(c.prototype,h),j(c.
prototype,i),l(o,c),a.matchesName=p,a.wrappers.Element=c}(this.ShadowDOMPolyfill
),function(a){"use strict";function b(a){switch(a){case"&":return"&";case"<"
:return"<";case'"':return"""}}function c(a){return a.replace(p,b)}functi
on d(a){switch(a.nodeType){case Node.ELEMENT_NODE:for(var b,d=a.tagName.toLowerC
ase(),f="<"+d,g=a.attributes,h=0;b=g[h];h++)f+=" "+b.name+'="'+c(b.value)+'"';re
turn f+=">",q[d]?f:f+e(a)+"</"+d+">";case Node.TEXT_NODE:return c(a.nodeValue);c
ase Node.COMMENT_NODE:return"<!--"+c(a.nodeValue)+"-->";default:throw console.er
ror(a),new Error("not implemented")}}function e(a){for(var b="",c=a.firstChild;c
;c=c.nextSibling)b+=d(c);return b}function f(a,b,c){var d=c||"div";a.textContent
="";var e=n(a.ownerDocument.createElement(d));e.innerHTML=b;for(var f;f=e.firstC
hild;)a.appendChild(o(f))}function g(a){j.call(this,a)}function h(b){k(g,b,funct
ion(){return a.renderAllPending(),this.impl[b]})}function i(b){Object.defineProp
erty(g.prototype,b,{value:function(){return a.renderAllPending(),this.impl[b].ap
ply(this.impl,arguments)},configurable:!0,enumerable:!0})}var j=a.wrappers.Eleme
nt,k=a.defineGetter,l=a.mixin,m=a.registerWrapper,n=a.unwrap,o=a.wrap,p=/&|<|"/g
,q={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keyge
n:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},r=window.HTMLElement;g.
prototype=Object.create(j.prototype),l(g.prototype,{get innerHTML(){return e(thi
s)},set innerHTML(a){this.invalidateShadowRenderer()?f(this,a,this.tagName):this
.impl.innerHTML=a},get outerHTML(){return d(this)},set outerHTML(a){var b=this.p
arentNode;b&&(b.invalidateShadowRenderer(),this.impl.outerHTML=a)}}),["clientHei
ght","clientLeft","clientTop","clientWidth","offsetHeight","offsetLeft","offsetT
op","offsetWidth","scrollHeight","scrollLeft","scrollTop","scrollWidth"].forEach
(h),["getBoundingClientRect","getClientRects","scrollIntoView"].forEach(i),m(r,g
,document.createElement("b")),a.wrappers.HTMLElement=g,a.getInnerHTML=e,a.setInn
erHTML=f}(this.ShadowDOMPolyfill),function(a){"use strict";function b(a){c.call(
this,a)}var c=a.wrappers.HTMLElement,d=a.mixin,e=a.registerWrapper,f=window.HTML
ContentElement;b.prototype=Object.create(c.prototype),d(b.prototype,{get select(
){return this.getAttribute("select")},set select(a){this.setAttribute("select",a
)},setAttribute:function(a,b){c.prototype.setAttribute.call(this,a,b),"select"==
=String(a).toLowerCase()&&this.invalidateShadowRenderer(!0)}}),f&&e(f,b),a.wrapp
ers.HTMLContentElement=b}(this.ShadowDOMPolyfill),function(a){"use strict";funct
ion b(a){c.call(this,a)}var c=a.wrappers.HTMLElement,d=a.mixin,e=a.registerWrapp
er,f=window.HTMLShadowElement;b.prototype=Object.create(c.prototype),d(b.prototy
pe,{}),f&&e(f,b),a.wrappers.HTMLShadowElement=b}(this.ShadowDOMPolyfill),functio
n(a){"use strict";function b(a){if(!a.defaultView)return a;var b=m.get(a);if(!b)
{for(b=a.implementation.createHTMLDocument("");b.lastChild;)b.removeChild(b.last
Child);m.set(a,b)}return b}function c(a){for(var c,d=b(a.ownerDocument),e=j(d.cr
eateDocumentFragment());c=a.firstChild;)e.appendChild(c);return e}function d(a){
if(e.call(this,a),!n){var b=c(a);l.set(this,k(b))}}var e=a.wrappers.HTMLElement,
f=a.getInnerHTML,g=a.mixin,h=a.registerWrapper,i=a.setInnerHTML,j=a.unwrap,k=a.w
rap,l=new WeakMap,m=new WeakMap,n=window.HTMLTemplateElement;d.prototype=Object.
create(e.prototype),g(d.prototype,{get content(){return n?k(this.impl.content):l
.get(this)},get innerHTML(){return f(this.content)},set innerHTML(a){i(this.cont
ent,a)}}),n&&h(n,d),a.wrappers.HTMLTemplateElement=d}(this.ShadowDOMPolyfill),fu
nction(a){"use strict";function b(a){switch(a.localName){case"content":return ne
w c(a);case"shadow":return new e(a);case"template":return new f(a)}d.call(this,a
)}var c=a.wrappers.HTMLContentElement,d=a.wrappers.HTMLElement,e=a.wrappers.HTML
ShadowElement,f=a.wrappers.HTMLTemplateElement;a.mixin;var g=a.registerWrapper,h
=window.HTMLUnknownElement;b.prototype=Object.create(d.prototype),g(h,b),a.wrapp
ers.HTMLUnknownElement=b}(this.ShadowDOMPolyfill),function(a){"use strict";var b
=a.GetElementsByInterface,c=a.ParentNodeInterface,d=a.SelectorsInterface,e=a.mix
in,f=a.registerObject,g=f(document.createDocumentFragment());e(g.prototype,c),e(
g.prototype,d),e(g.prototype,b);var h=f(document.createTextNode("")),i=f(documen
t.createComment(""));a.wrappers.Comment=i,a.wrappers.DocumentFragment=g,a.wrappe
rs.Text=h}(this.ShadowDOMPolyfill),function(a){"use strict";function b(a){var b=
i(a.impl.ownerDocument.createDocumentFragment());c.call(this,b),g(b,this);var d=
a.shadowRoot;k.set(this,d),j.set(this,a)}var c=a.wrappers.DocumentFragment,d=a.e
lementFromPoint,e=a.getInnerHTML,f=a.mixin,g=a.rewrap,h=a.setInnerHTML,i=a.unwra
p,j=new WeakMap,k=new WeakMap;b.prototype=Object.create(c.prototype),f(b.prototy
pe,{get innerHTML(){return e(this)},set innerHTML(a){h(this,a),this.invalidateSh
adowRenderer()},get olderShadowRoot(){return k.get(this)||null},invalidateShadow
Renderer:function(){return j.get(this).invalidateShadowRenderer()},elementFromPo
int:function(a,b){return d(this,this.ownerDocument,a,b)},getElementById:function
(a){return this.querySelector("#"+a)}}),a.wrappers.ShadowRoot=b,a.getHostForShad
owRoot=function(a){return j.get(a)}}(this.ShadowDOMPolyfill),function(a){"use st
rict";function b(a){a.previousSibling_=a.previousSibling,a.nextSibling_=a.nextSi
bling,a.parentNode_=a.parentNode}function c(a,c,e){var f=G(a),g=G(c),h=e?G(e):nu
ll;if(d(c),b(c),e)a.firstChild===e&&(a.firstChild_=e),e.previousSibling_=e.previ
ousSibling;else{a.lastChild_=a.lastChild,a.lastChild===a.firstChild&&(a.firstChi
ld_=a.firstChild);var i=H(f.lastChild);i&&(i.nextSibling_=i.nextSibling)}f.inser
tBefore(g,h)}function d(a){var c=G(a),d=c.parentNode;if(d){var e=H(d);b(a),a.pre
viousSibling&&(a.previousSibling.nextSibling_=a),a.nextSibling&&(a.nextSibling.p
reviousSibling_=a),e.lastChild===a&&(e.lastChild_=a),e.firstChild===a&&(e.firstC
hild_=a),d.removeChild(c)}}function e(a,b){g(b).push(a),x(a,b);var c=J.get(a);c|
|J.set(a,c=[]),c.push(b)}function f(a){I.set(a,[])}function g(a){return I.get(a)
}function h(a){for(var b=[],c=0,d=a.firstChild;d;d=d.nextSibling)b[c++]=d;return
b}function i(a,b,c){for(var d=a.firstChild;d;d=d.nextSibling)if(b(d)){if(c(d)==
=!1)return}else i(d,b,c)}function j(a,b){var c=b.getAttribute("select");if(!c)re
turn!0;if(c=c.trim(),!c)return!0;if(!(a instanceof y))return!1;if(!N.test(c))ret
urn!1;if(":"===c[0]&&!O.test(c))return!1;try{return a.matches(c)}catch(d){return
!1}}function k(){for(var a=0;a<Q.length;a++)Q[a].render();Q=[]}function l(){E=nu
ll,k()}function m(a){var b=L.get(a);return b||(b=new q(a),L.set(a,b)),b}function
n(a){for(;a;a=a.parentNode)if(a instanceof C)return a;return null}function o(a)
{return m(D(a))}function p(a){this.skip=!1,this.node=a,this.childNodes=[]}functi
on q(a){this.host=a,this.dirty=!1,this.invalidateAttributes(),this.associateNode
(a)}function r(a){return a instanceof z}function s(a){return a instanceof z}func
tion t(a){return a instanceof A}function u(a){return a instanceof A}function v(a
){return a.shadowRoot}function w(a){for(var b=[],c=a.shadowRoot;c;c=c.olderShado
wRoot)b.push(c);return b}function x(a,b){K.set(a,b)}var y=a.wrappers.Element,z=a
.wrappers.HTMLContentElement,A=a.wrappers.HTMLShadowElement,B=a.wrappers.Node,C=
a.wrappers.ShadowRoot;a.assert;var D=a.getHostForShadowRoot;a.mixin;var E,F=a.on
eOf,G=a.unwrap,H=a.wrap,I=new WeakMap,J=new WeakMap,K=new WeakMap,L=new WeakMap,
M=new WeakMap,N=/^[*.:#[a-zA-Z_|]/,O=new RegExp("^:("+["link","visited","target"
,"enabled","disabled","checked","indeterminate","nth-child","nth-last-child","nt
h-of-type","nth-last-of-type","first-child","last-child","first-of-type","last-o
f-type","only-of-type"].join("|")+")"),P=F(window,["requestAnimationFrame","mozR
equestAnimationFrame","webkitRequestAnimationFrame","setTimeout"]),Q=[],R=new Ar
raySplice;R.equals=function(a,b){return G(a.node)===b},p.prototype={append:funct
ion(a){var b=new p(a);return this.childNodes.push(b),b},sync:function(a){if(!thi
s.skip){for(var b=this.node,e=this.childNodes,f=h(G(b)),g=a||new WeakMap,i=R.cal
culateSplices(e,f),j=0,k=0,l=0,m=0;m<i.length;m++){for(var n=i[m];l<n.index;l++)
k++,e[j++].sync(g);for(var o=n.removed.length,p=0;o>p;p++){var q=H(f[k++]);g.get
(q)||d(q)}for(var r=n.addedCount,s=f[k]&&H(f[k]),p=0;r>p;p++){var t=e[j++],u=t.n
ode;c(b,u,s),g.set(u,!0),t.sync(g)}l+=r}for(var m=l;m<e.length;m++)e[m++].sync(g
)}}},q.prototype={render:function(a){if(this.dirty){this.invalidateAttributes(),
this.treeComposition();var b=this.host,c=b.shadowRoot;this.associateNode(b);for(
var d=!e,e=a||new p(b),f=c.firstChild;f;f=f.nextSibling)this.renderNode(c,e,f,!1
);d&&e.sync(),this.dirty=!1}},invalidate:function(){if(!this.dirty){if(this.dirt
y=!0,Q.push(this),E)return;E=window[P](l,0)}},renderNode:function(a,b,c,d){if(v(
c)){b=b.append(c);var e=m(c);e.dirty=!0,e.render(b)}else r(c)?this.renderInserti
onPoint(a,b,c,d):t(c)?this.renderShadowInsertionPoint(a,b,c):this.renderAsAnyDom
Tree(a,b,c,d)},renderAsAnyDomTree:function(a,b,c,d){if(b=b.append(c),v(c)){var e
=m(c);b.skip=!e.dirty,e.render(b)}else for(var f=c.firstChild;f;f=f.nextSibling)
this.renderNode(a,b,f,d)},renderInsertionPoint:function(a,b,c,d){var e=g(c);if(e
.length){this.associateNode(c);for(var f=0;f<e.length;f++){var h=e[f];r(h)&&d?th
is.renderInsertionPoint(a,b,h,d):this.renderAsAnyDomTree(a,b,h,d)}}else this.ren
derFallbackContent(a,b,c);this.associateNode(c.parentNode)},renderShadowInsertio
nPoint:function(a,b,c){var d=a.olderShadowRoot;if(d){x(d,c),this.associateNode(c
.parentNode);for(var e=d.firstChild;e;e=e.nextSibling)this.renderNode(d,b,e,!0)}
else this.renderFallbackContent(a,b,c)},renderFallbackContent:function(a,b,c){th
is.associateNode(c),this.associateNode(c.parentNode);for(var d=c.firstChild;d;d=
d.nextSibling)this.renderAsAnyDomTree(a,b,d,!1)},invalidateAttributes:function()
{this.attributes=Object.create(null)},updateDependentAttributes:function(a){if(a
){var b=this.attributes;/\.\w+/.test(a)&&(b["class"]=!0),/#\w+/.test(a)&&(b.id=!
0),a.replace(/\[\s*([^\s=\|~\]]+)/g,function(a,c){b[c]=!0})}},dependsOnAttribute
:function(a){return this.attributes[a]},distribute:function(a,b){var c=this;i(a,
s,function(a){f(a),c.updateDependentAttributes(a.getAttribute("select"));for(var
d=0;d<b.length;d++){var g=b[d];void 0!==g&&j(g,a)&&(e(g,a),b[d]=void 0)}})},tre
eComposition:function(){for(var a=this.host,b=a.shadowRoot,c=[],d=a.firstChild;d
;d=d.nextSibling)if(r(d)){var e=g(d);e&&e.length||(e=h(d)),c.push.apply(c,e)}els
e c.push(d);for(var f,j;b;){if(f=void 0,i(b,u,function(a){return f=a,!1}),j=f,th
is.distribute(b,c),j){var k=b.olderShadowRoot;if(k){b=k,x(b,j);continue}break}br
eak}},associateNode:function(a){M.set(a,this)}},B.prototype.invalidateShadowRend
erer=function(){var a=M.get(this);return a?(a.invalidate(),!0):!1},z.prototype.g
etDistributedNodes=function(){var a=M.get(this);return a&&a.render(),g(this)},A.
prototype.nodeWasAdded_=z.prototype.nodeWasAdded_=function(){this.invalidateShad
owRenderer();var a,b=n(this);b&&(a=o(b)),M.set(this,a),a&&a.invalidate()},a.even
tParentsTable=J,a.getRendererForHost=m,a.getShadowTrees=w,a.insertionParentTable
=K,a.renderAllPending=k,a.visual={insertBefore:c,remove:d}}(this.ShadowDOMPolyfi
ll),function(a){"use strict";function b(b){if(window[b]){d(!a.wrappers[b]);var i
=function(a){c.call(this,a)};i.prototype=Object.create(c.prototype),e(i.prototyp
e,{get form(){return h(g(this).form)}}),f(window[b],i,document.createElement(b.s
lice(4,-7))),a.wrappers[b]=i}}var c=a.wrappers.HTMLElement,d=a.assert,e=a.mixin,
f=a.registerWrapper,g=a.unwrap,h=a.wrap,i=["HTMLButtonElement","HTMLFieldSetElem
ent","HTMLInputElement","HTMLKeygenElement","HTMLLabelElement","HTMLLegendElemen
t","HTMLObjectElement","HTMLOptionElement","HTMLOutputElement","HTMLSelectElemen
t","HTMLTextAreaElement"];i.forEach(b)}(this.ShadowDOMPolyfill),function(a){"use
strict";function b(a){k.call(this,a)}function c(a){var c=document[a];b.prototyp
e[a]=function(){return v(c.apply(this.impl,arguments))}}function d(a,b){y.call(b
.impl,u(a)),e(a,b)}function e(a,b){a.shadowRoot&&b.adoptNode(a.shadowRoot),a ins
tanceof n&&f(a,b);for(var c=a.firstChild;c;c=c.nextSibling)e(c,b)}function f(a,b
){var c=a.olderShadowRoot;c&&b.adoptNode(c)}function g(a){this.impl=a}function h
(a,b){var c=document.implementation[b];a.prototype[b]=function(){return v(c.appl
y(this.impl,arguments))}}function i(a,b){var c=document.implementation[b];a.prot
otype[b]=function(){return c.apply(this.impl,arguments)}}var j=a.GetElementsByIn
terface,k=a.wrappers.Node,l=a.ParentNodeInterface,m=a.SelectorsInterface,n=a.wra
ppers.ShadowRoot,o=a.defineWrapGetter,p=a.elementFromPoint,q=a.forwardMethodsToW
rapper,r=a.matchesName,s=a.mixin,t=a.registerWrapper,u=a.unwrap,v=a.wrap,w=a.wra
pEventTargetMethods;a.wrapNodeList;var x=new WeakMap;b.prototype=Object.create(k
.prototype),o(b,"documentElement"),o(b,"body"),o(b,"head"),["createComment","cre
ateDocumentFragment","createElement","createElementNS","createEvent","createEven
tNS","createRange","createTextNode","getElementById"].forEach(c);var y=document.
adoptNode;if(s(b.prototype,{adoptNode:function(a){return a.parentNode&&a.parentN
ode.removeChild(a),d(a,this),a},elementFromPoint:function(a,b){return p(this,thi
s,a,b)}}),document.register){var z=document.register;b.prototype.register=functi
on(b,c){function d(a){return a?(this.impl=a,void 0):document.createElement(b)}va
r e=c.prototype;if(a.nativePrototypeTable.get(e))throw new Error("NotSupportedEr
ror");for(var f,g=Object.getPrototypeOf(e),h=[];g&&!(f=a.nativePrototypeTable.ge
t(g));)h.push(g),g=Object.getPrototypeOf(g);if(!f)throw new Error("NotSupportedE
rror");for(var i=Object.create(f),j=h.length-1;j>=0;j--)i=Object.create(i);retur
n["createdCallback","enteredDocumentCallback","leftDocumentCallback","attributeC
hangedCallback"].forEach(function(a){var b=e[a];b&&(i[a]=function(){b.apply(v(th
is),arguments)})}),z.call(u(this),b,{prototype:i}),d.prototype=e,d.prototype.con
structor=d,a.constructorTable.set(i,d),a.nativePrototypeTable.set(e,i),d},q([win
dow.HTMLDocument||window.Document],["register"])}q([window.HTMLBodyElement,windo
w.HTMLDocument||window.Document,window.HTMLHeadElement,window.HTMLHtmlElement],[
"appendChild","compareDocumentPosition","contains","getElementsByClassName","get
ElementsByTagName","getElementsByTagNameNS","insertBefore","querySelector","quer
ySelectorAll","removeChild","replaceChild",r]),q([window.HTMLDocument||window.Do
cument],["adoptNode","contains","createComment","createDocumentFragment","create
Element","createElementNS","createEvent","createEventNS","createRange","createTe
xtNode","elementFromPoint","getElementById"]),s(b.prototype,j),s(b.prototype,l),
s(b.prototype,m),s(b.prototype,{get implementation(){var a=x.get(this);return a?
a:(a=new g(u(this).implementation),x.set(this,a),a)}}),t(window.Document,b,docum
ent.implementation.createHTMLDocument("")),window.HTMLDocument&&t(window.HTMLDoc
ument,b),w([window.HTMLBodyElement,window.HTMLDocument||window.Document,window.H
TMLHeadElement]),h(g,"createDocumentType"),h(g,"createDocument"),h(g,"createHTML
Document"),i(g,"hasFeature"),t(window.DOMImplementation,g),q([window.DOMImplemen
tation],["createDocumentType","createDocument","createHTMLDocument","hasFeature"
]),a.adoptNodeNoRemove=d,a.wrappers.DOMImplementation=g,a.wrappers.Document=b}(t
his.ShadowDOMPolyfill),function(a){"use strict";function b(a){c.call(this,a)}var
c=a.wrappers.EventTarget,d=a.mixin,e=a.registerWrapper,f=a.unwrap,g=a.unwrapIfN
eeded,h=a.wrap,i=a.renderAllPending,j=window.Window;b.prototype=Object.create(c.
prototype);var k=window.getComputedStyle;j.prototype.getComputedStyle=function(a
,b){return i(),k.call(this||window,g(a),b)},["addEventListener","removeEventList
ener","dispatchEvent"].forEach(function(a){j.prototype[a]=function(){var b=h(thi
s||window);return b[a].apply(b,arguments)}}),d(b.prototype,{getComputedStyle:fun
ction(a,b){return k.call(f(this),g(a),b)}}),e(j,b),a.wrappers.Window=b}(this.Sha
dowDOMPolyfill),function(a){"use strict";function b(a){this.impl=a}function c(a)
{return new b(a)}function d(a){return a.map(c)}function e(a){var b=this;this.imp
l=new k(function(c){a.call(b,d(c),b)})}var f=a.defineGetter,g=a.defineWrapGetter
,h=a.registerWrapper,i=a.unwrapIfNeeded,j=a.wrapNodeList;a.wrappers;var k=window
.MutationObserver||window.WebKitMutationObserver;if(k){var l=window.MutationReco
rd;b.prototype={get addedNodes(){return j(this.impl.addedNodes)},get removedNode
s(){return j(this.impl.removedNodes)}},["target","previousSibling","nextSibling"
].forEach(function(a){g(b,a)}),["type","attributeName","attributeNamespace","old
Value"].forEach(function(a){f(b,a,function(){return this.impl[a]})}),l&&h(l,b),w
indow.Node,e.prototype={observe:function(a,b){this.impl.observe(i(a),b)},disconn
ect:function(){this.impl.disconnect()},takeRecords:function(){return d(this.impl
.takeRecords())}},a.wrappers.MutationObserver=e,a.wrappers.MutationRecord=b}}(th
is.ShadowDOMPolyfill),function(a){"use strict";function b(a){this.impl=a}var c=a
.registerWrapper,d=a.unwrap,e=a.unwrapIfNeeded,f=a.wrap,g=window.Range;b.prototy
pe={get startContainer(){return f(this.impl.startContainer)},get endContainer(){
return f(this.impl.endContainer)},get commonAncestorContainer(){return f(this.im
pl.commonAncestorContainer)},setStart:function(a,b){this.impl.setStart(e(a),b)},
setEnd:function(a,b){this.impl.setEnd(e(a),b)},setStartBefore:function(a){this.i
mpl.setStartBefore(e(a))},setStartAfter:function(a){this.impl.setStartAfter(e(a)
)},setEndBefore:function(a){this.impl.setEndBefore(e(a))},setEndAfter:function(a
){this.impl.setEndAfter(e(a))},selectNode:function(a){this.impl.selectNode(e(a))
},selectNodeContents:function(a){this.impl.selectNodeContents(e(a))},compareBoun
daryPoints:function(a,b){return this.impl.compareBoundaryPoints(a,d(b))},extract
Contents:function(){return f(this.impl.extractContents())},cloneContents:functio
n(){return f(this.impl.cloneContents())},insertNode:function(a){this.impl.insert
Node(e(a))},surroundContents:function(a){this.impl.surroundContents(e(a))},clone
Range:function(){return f(this.impl.cloneRange())},isPointInRange:function(a,b){
return this.impl.isPointInRange(e(a),b)},comparePoint:function(a,b){return this.
impl.comparePoint(e(a),b)},intersectsNode:function(a){return this.impl.intersect
sNode(e(a))}},g.prototype.createContextualFragment&&(b.prototype.createContextua
lFragment=function(a){return f(this.impl.createContextualFragment(a))}),c(window
.Range,b),a.wrappers.Range=b}(this.ShadowDOMPolyfill),function(a){"use strict";f
unction b(a){var b=c[a],d=window[b];if(d){var e=document.createElement(a),f=e.co
nstructor;window[b]=f}}a.isWrapperFor;var c={a:"HTMLAnchorElement",applet:"HTMLA
ppletElement",area:"HTMLAreaElement",audio:"HTMLAudioElement",br:"HTMLBRElement"
,base:"HTMLBaseElement",body:"HTMLBodyElement",button:"HTMLButtonElement",canvas
:"HTMLCanvasElement",dl:"HTMLDListElement",datalist:"HTMLDataListElement",dir:"H
TMLDirectoryElement",div:"HTMLDivElement",embed:"HTMLEmbedElement",fieldset:"HTM
LFieldSetElement",font:"HTMLFontElement",form:"HTMLFormElement",frame:"HTMLFrame
Element",frameset:"HTMLFrameSetElement",hr:"HTMLHRElement",head:"HTMLHeadElement
",h1:"HTMLHeadingElement",html:"HTMLHtmlElement",iframe:"HTMLIFrameElement",inpu
t:"HTMLInputElement",li:"HTMLLIElement",label:"HTMLLabelElement",legend:"HTMLLeg
endElement",link:"HTMLLinkElement",map:"HTMLMapElement",menu:"HTMLMenuElement",m
enuitem:"HTMLMenuItemElement",meta:"HTMLMetaElement",meter:"HTMLMeterElement",de
l:"HTMLModElement",ol:"HTMLOListElement",object:"HTMLObjectElement",optgroup:"HT
MLOptGroupElement",option:"HTMLOptionElement",output:"HTMLOutputElement",p:"HTML
ParagraphElement",param:"HTMLParamElement",pre:"HTMLPreElement",progress:"HTMLPr
ogressElement",q:"HTMLQuoteElement",script:"HTMLScriptElement",select:"HTMLSelec
tElement",source:"HTMLSourceElement",span:"HTMLSpanElement",style:"HTMLStyleElem
ent",caption:"HTMLTableCaptionElement",col:"HTMLTableColElement",table:"HTMLTabl
eElement",tr:"HTMLTableRowElement",thead:"HTMLTableSectionElement",tbody:"HTMLTa
bleSectionElement",textarea:"HTMLTextAreaElement",title:"HTMLTitleElement",ul:"H
TMLUListElement",video:"HTMLVideoElement"};Object.keys(c).forEach(b),Object.getO
wnPropertyNames(a.wrappers).forEach(function(b){window[b]=a.wrappers[b]}),a.know
nElements=c}(this.ShadowDOMPolyfill),function(){var a=window.ShadowDOMPolyfill;a
.wrap,Object.defineProperties(HTMLElement.prototype,{webkitShadowRoot:{get:funct
ion(){return this.shadowRoot}}}),HTMLElement.prototype.webkitCreateShadowRoot=HT
MLElement.prototype.createShadowRoot,window.dartExperimentalFixupGetTag=function
(b){function c(a){if(a instanceof d)return"NodeList";if(a instanceof e)return"Sh
adowRoot";if(a instanceof MutationRecord)return"MutationRecord";if(a instanceof
MutationObserver)return"MutationObserver";var c=f(a);if(a!==c){var g=a.construct
or;if(g===c.constructor){var h=g._ShadowDOMPolyfill$cacheTag_;return h||(h=Objec
t.prototype.toString.call(c),h=h.substring(8,h.length-1),g._ShadowDOMPolyfill$ca
cheTag_=h),h}a=c}return b(a)}var d=a.wrappers.NodeList,e=a.wrappers.ShadowRoot,f
=a.unwrapIfNeeded;return c}}();var Platform={};!function(a){function b(a,b){var
c="";return Array.prototype.forEach.call(a,function(a){c+=a.textContent+"\n\n"})
,b||(c=c.replace(m,"")),c}function c(a){var b=document.createElement("style");b.
textContent=a,document.head.appendChild(b);var c=b.sheet.cssRules;return b.paren
tNode.removeChild(b),c}function d(a){for(var b=0,c=[];b<a.length;b++)c.push(a[b]
.cssText);return c.join("\n\n")}function e(a){a&&f().appendChild(document.create
TextNode(a))}function f(){return g||(g=document.createElement("style"),g.setAttr
ibute("ShadowCSSShim","")),g}var g,h={strictStyling:!1,registry:{},shimStyling:f
unction(a,b,c){if(a){var d=this.registerDefinition(a,b,c);this.strictStyling&&th
is.applyScopeToContent(a,b),this.shimPolyfillDirectives(d.rootStyles,b),this.app
lyShimming(d.scopeStyles,b)}},shimShadowDOMStyling:function(a,b){this.shimPolyfi
llDirectives(a,b),this.applyShimming(a,b)},registerDefinition:function(a,b,c){va
r d=this.registry[b]={root:a,name:b,extendsName:c},e=a.querySelectorAll("style")
;e=e?Array.prototype.slice.call(e,0):[],d.rootStyles=e,d.scopeStyles=d.rootStyle
s;var f=this.registry[d.extendsName];return f&&(d.scopeStyles=d.scopeStyles.conc
at(f.scopeStyles)),d},applyScopeToContent:function(a,b){a&&(Array.prototype.forE
ach.call(a.querySelectorAll("*"),function(a){a.setAttribute(b,"")}),Array.protot
ype.forEach.call(a.querySelectorAll("template"),function(a){this.applyScopeToCon
tent(a.content,b)},this))},shimPolyfillDirectives:function(a,b){a&&Array.prototy
pe.forEach.call(a,function(a){a.textContent=this.convertPolyfillDirectives(a.tex
tContent,b)},this)},convertPolyfillDirectives:function(a,b){for(var c,d,e="",f=0
;c=n.exec(a);)e+=a.substring(f,c.index),d=c[1].slice(0,-2).replace(q,b),e+=this.
scopeSelector(d,b)+"{",f=n.lastIndex;return e+=a.substring(f,a.length)},applyShi
mming:function(a,b){var c=this.shimAtHost(a,b);c+=this.shimScoping(a,b),e(c)},sh
imAtHost:function(a,b){return a?this.convertAtHostStyles(a,b):void 0},convertAtH
ostStyles:function(a,e){for(var f,g=b(a),h="",j=0;f=i.exec(g);)h+=g.substring(j,
f.index),h+=this.scopeHostCss(f[1],e),j=i.lastIndex;h+=g.substring(j,g.length);v
ar k=new RegExp("^"+e+p,"m"),g=d(this.findAtHostRules(c(h),k));return g},scopeHo
stCss:function(a,b){for(var c,d="";c=j.exec(a);)d+=this.scopeHostSelector(c[1],b
)+" "+c[2]+"\n ";return d},scopeHostSelector:function(a,b){var c=[],d=a.split("
,"),e="[is="+b+"]";return d.forEach(function(a){a=a.trim(),a.match(k)?a=a.replac
e(k,b+"$1$3, "+e+"$1$3"):a.match(l)&&(a=b+a+", "+e+a),c.push(a)},this),c.join(",
")},findAtHostRules:function(a,b){return Array.prototype.filter.call(a,this.isH
ostRule.bind(this,b))},isHostRule:function(a,b){return b.selectorText&&b.selecto
rText.match(a)||b.cssRules&&this.findAtHostRules(b.cssRules,a).length||b.type==C
SSRule.WEBKIT_KEYFRAMES_RULE},shimScoping:function(a,b){return a?this.convertSco
pedStyles(a,b):void 0},convertScopedStyles:function(a,d){Array.prototype.forEach
.call(a,function(a){a.parentNode&&a.parentNode.removeChild(a)});var e=b(a).repla
ce(i,"");e=this.convertPseudos(e);var f=c(e);return e=this.scopeRules(f,d)},conv
ertPseudos:function(a){return a.replace(o," [pseudo=$1]")},scopeRules:function(a
,b){var c="";return Array.prototype.forEach.call(a,function(a){a.selectorText&&a
.style&&a.style.cssText?(c+=this.scopeSelector(a.selectorText,b,this.strictStyli
ng)+" {\n ",c+=this.propertiesFromRule(a)+"\n}\n\n"):a.media?(c+="@media "
+a.media.mediaText+" {\n",c+=this.scopeRules(a.cssRules,b),c+="\n}\n\n"):a.cssTe
xt&&(c+=a.cssText+"\n\n")},this),c},scopeSelector:function(a,b,c){var d=[],e=a.s
plit(",");return e.forEach(function(a){a=a.trim(),this.selectorNeedsScoping(a,b)
&&(a=c?this.applyStrictSelectorScope(a,b):this.applySimpleSelectorScope(a,b)),d.
push(a)},this),d.join(", ")},selectorNeedsScoping:function(a,b){var c="("+b+"|\\
[is="+b+"\\])",d=new RegExp("^"+c+p,"m");return!a.match(d)},applySimpleSelectorS
cope:function(a,b){return b+" "+a+", "+"[is="+b+"] "+a},applyStrictSelectorScope
:function(a,b){var c=[" ",">","+","~"],d=a,e="["+b+"]";return c.forEach(function
(a){var b=d.split(a);d=b.map(function(a){var b=a.trim();return b&&c.indexOf(b)<0
&&b.indexOf(e)<0&&(a=b.replace(/([^:]*)(:*)(.*)/,"$1"+e+"$2$3")),a}).join(a)}),d
},propertiesFromRule:function(a){var b=a.style.cssText;return a.style.content&&!
a.style.content.match(/['"]+/)&&(b="content: '"+a.style.content+"';\n"+a.style.c
ssText.replace(/content:[^;]*;/g,"")),b}},i=/@host[^{]*{(([^}]*?{[^{]*?}[\s\S]*?
)+)}/gim,j=/([^{]*)({[\s\S]*?})/gim,k=/(.*)((?:\*)|(?:\:scope))(.*)/,l=/^[.\[:]/
,m=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,n=/\/\*\s*@polyfill ([^*]*\*+([^/*][^*]*\
*+)*\/)([^{]*?){/gim,o=/::(x-[^\s{,(]*)/gim,p="([>\\s~+[.,{:][\\s\\S]*)?$",q=/@h
ost/gim;if(window.ShadowDOMPolyfill){e("style { display: none !important; }\n");
var r=document.querySelector("head");r.insertBefore(f(),r.childNodes[0])}a.Shado
wCSS=h}(window.Platform),function(a){function b(a,b){if(window.ShadowDOMPolyfill
){for(var h,i=this.convertPolyfillDirectives(a,b),j="",k=0;h=e.exec(i);)j+=i.sub
string(k,h.index),j+=this.scopeHostCss(h[1],b),k=e.lastIndex;j+=i.substring(k,i.
length);var l=new RegExp("^"+b+g,"m"),m=d(this.findAtHostRules(c(j),l));i=i.repl
ace(f,""),i=this.convertPseudos(i);var n=c(i),o=this.scopeRules(n,b);return m+o}
}function c(a){var b=document.createElement("style");b.textContent=a,document.he
ad.appendChild(b);var c=b.sheet.cssRules;return b.parentNode.removeChild(b),c}fu
nction d(a){for(var b=0,c=[];b<a.length;b++)c.push(a[b].cssText);return c.join("
\n\n")}var e=/@host[^{]*{(([^}]*?{[^{]*?}[\s\S]*?)+)}/gim,f=/\/\*[^*]*\*+([^/*][
^*]*\*+)*\//gim,g="([>\\s~+[.,{:][\\s\\S]*)?$";a.ShadowCSS.shimShadowDOMStyling2
=b}(window.Platform)} |