mirror of
https://github.com/jlengrand/webcomponentsjs.git
synced 2026-03-10 08:51:22 +00:00
Merge pull request #701 from webcomponents/v1-update-builds
update builds.
This commit is contained in:
@@ -105,9 +105,9 @@ this.previousSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;retu
|
||||
d;d=c[b];b++)d.nodeType!==Node.COMMENT_NODE&&a.push(d.textContent);return a.join("")}return Mb(this)},set:function(a){if(this.nodeType!==Node.ELEMENT_NODE)this.nodeValue=a;else{for(;this.firstChild;)this.removeChild(this.firstChild);a&&this.appendChild(document.createTextNode(a))}},configurable:!0},firstElementChild:{get:function(){if(B(this,"firstChild")){for(var a=this.firstChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.nextSibling;return a}return Gb(this)},configurable:!0},lastElementChild:{get:function(){if(B(this,
|
||||
"lastChild")){for(var a=this.lastChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return Hb(this)},configurable:!0},children:{get:function(){return B(this,"firstChild")?Array.prototype.filter.call(this.childNodes,function(a){return a.nodeType===Node.ELEMENT_NODE}):Kb(this)},configurable:!0},innerHTML:{get:function(){var a="template"===this.localName?this.content:this;return B(this,"firstChild")?Ha(a):Lb(a)},set:function(a){for(var b="template"===this.localName?this.content:this;b.firstChild;)b.removeChild(b.firstChild);
|
||||
for(Za&&Za.set?Za.set.call(oa,a):oa.innerHTML=a;oa.firstChild;)b.appendChild(oa.firstChild)},configurable:!0}},rc={shadowRoot:{get:function(){return this.shadyRoot},set:function(a){this.shadyRoot=a},configurable:!0}},Ja={activeElement:{get:function(){var a;a=$a&&$a.get?$a.get.call(document):E.hasDescriptors?void 0:document.activeElement;if(a&&a.nodeType){var b=!!G(this);if(this===document||b&&this.host!==a&&this.host.contains(a)){for(b=S(a);b&&b!==this;)a=b.host,b=S(a);a=this===document?b?null:a:
|
||||
b===this?a:null}else a=null}else a=null;return a},set:function(){},configurable:!0}},zb=E.hasDescriptors?function(){}:function(a){a.__shady&&a.__shady.__outsideAccessors||(a.__shady=a.__shady||{},a.__shady.__outsideAccessors=!0,L(a,Ob,!0))},yb=E.hasDescriptors?function(){}:function(a){a.__shady&&a.__shady.__insideAccessors||(a.__shady=a.__shady||{},a.__shady.__insideAccessors=!0,L(a,Ia,!0),L(a,rc,!0))},pa=null,pd={blur:!0,focus:!0,focusin:!0,focusout:!0,click:!0,dblclick:!0,mousedown:!0,mouseenter:!0,
|
||||
mouseleave:!0,mousemove:!0,mouseout:!0,mouseover:!0,mouseup:!0,wheel:!0,beforeinput:!0,input:!0,keydown:!0,keyup:!0,compositionstart:!0,compositionupdate:!0,compositionend:!0,touchstart:!0,touchend:!0,touchmove:!0,touchcancel:!0,pointerover:!0,pointerenter:!0,pointerdown:!0,pointermove:!0,pointerup:!0,pointercancel:!0,pointerout:!0,pointerleave:!0,gotpointercapture:!0,lostpointercapture:!0,dragstart:!0,drag:!0,dragenter:!0,dragleave:!0,dragover:!0,drop:!0,dragend:!0,DOMActivate:!0,DOMFocusIn:!0,DOMFocusOut:!0,
|
||||
keypress:!0},cc={get composed(){this.isTrusted&&void 0===this.__composed&&(this.__composed=pd[this.type]);return this.__composed||!1},composedPath:function(){this.__composedPath||(this.__composedPath=Pa(this.__target,this.composed));return this.__composedPath},get target(){return $b(this.currentTarget,this.composedPath())},get relatedTarget(){if(!this.__relatedTarget)return null;this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=Pa(this.__relatedTarget,!0));return $b(this.currentTarget,
|
||||
b===this?a:null}else a=null}else a=null;return a},set:function(){},configurable:!0}},zb=E.hasDescriptors?function(){}:function(a){a.__shady&&a.__shady.__outsideAccessors||(a.__shady=a.__shady||{},a.__shady.__outsideAccessors=!0,L(a,Ob,!0))},yb=E.hasDescriptors?function(){}:function(a){a.__shady&&a.__shady.__insideAccessors||(a.__shady=a.__shady||{},a.__shady.__insideAccessors=!0,L(a,Ia,!0),L(a,rc,!0))},pa=null,pd={focusin:!0,focusout:!0,click:!0,dblclick:!0,mousedown:!0,mouseenter:!0,mouseleave:!0,
|
||||
mousemove:!0,mouseout:!0,mouseover:!0,mouseup:!0,wheel:!0,beforeinput:!0,input:!0,keydown:!0,keyup:!0,compositionstart:!0,compositionupdate:!0,compositionend:!0,touchstart:!0,touchend:!0,touchmove:!0,touchcancel:!0,pointerover:!0,pointerenter:!0,pointerdown:!0,pointermove:!0,pointerup:!0,pointercancel:!0,pointerout:!0,pointerleave:!0,gotpointercapture:!0,lostpointercapture:!0,dragstart:!0,drag:!0,dragenter:!0,dragleave:!0,dragover:!0,drop:!0,dragend:!0,DOMActivate:!0,DOMFocusIn:!0,DOMFocusOut:!0,
|
||||
keypress:!0},cc={get composed(){!1!==this.isTrusted&&void 0===this.__composed&&(this.__composed=pd[this.type]);return this.__composed||!1},composedPath:function(){this.__composedPath||(this.__composedPath=Pa(this.__target,this.composed));return this.__composedPath},get target(){return $b(this.currentTarget,this.composedPath())},get relatedTarget(){if(!this.__relatedTarget)return null;this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=Pa(this.__relatedTarget,!0));return $b(this.currentTarget,
|
||||
this.__relatedTargetComposedPath)},stopPropagation:function(){Event.prototype.stopPropagation.call(this);this.__propagationStopped=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this);this.__propagationStopped=this.__immediatePropagationStopped=!0}},Ra={focus:!0,blur:!0},qd=Qa(window.Event),rd=Qa(window.CustomEvent),sd=Qa(window.MouseEvent),td="function"===typeof Event?Event:function(a,b){b=b||{};var c=document.createEvent("Event");c.initEvent(a,!!b.bubbles,
|
||||
!!b.cancelable);return c};y.prototype.getInsertionPoints=function(){return this.root.querySelectorAll(this.insertionPointTag)};y.prototype.hasInsertionPoint=function(){return!(!this.root._insertionPoints||!this.root._insertionPoints.length)};y.prototype.isInsertionPoint=function(a){return a.localName&&a.localName==this.insertionPointTag};y.prototype.distribute=function(){return this.hasInsertionPoint()?this.distributePool(this.root,this.collectPool()):[]};y.prototype.collectPool=function(){for(var a=
|
||||
[],b=0,c=this.root.host.firstChild;c;c=c.nextSibling)a[b++]=c;return a};y.prototype.distributePool=function(a,b){a=[];for(var c=this.root._insertionPoints,d=0,e=c.length,f;d<e&&(f=c[d]);d++){this.distributeInsertionPoint(f,b);var g=f.parentNode;g&&g.shadyRoot&&g.shadyRoot.hasInsertionPoint()&&a.push(g.shadyRoot)}for(f=0;f<b.length;f++)if(c=b[f])c.__shady=c.__shady||{},c.__shady.assignedSlot=void 0,(d=T(c))&&V.call(d,c);return a};y.prototype.distributeInsertionPoint=function(a,b){var c=a.__shady.assignedNodes;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -128,8 +128,8 @@ set:function(a){this.setAttribute("class",a)},configurable:!0},nextElementSiblin
|
||||
a&&this.appendChild(document.createTextNode(a))}},configurable:!0},firstElementChild:{get:function(){if(D(this,"firstChild")){for(var a=this.firstChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.nextSibling;return a}return Nb(this)},configurable:!0},lastElementChild:{get:function(){if(D(this,"lastChild")){for(var a=this.lastChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return Ob(this)},configurable:!0},children:{get:function(){return D(this,"firstChild")?Array.prototype.filter.call(this.childNodes,
|
||||
function(a){return a.nodeType===Node.ELEMENT_NODE}):Rb(this)},configurable:!0},innerHTML:{get:function(){var a="template"===this.localName?this.content:this;return D(this,"firstChild")?Ma(a):Sb(a)},set:function(a){for(var b="template"===this.localName?this.content:this;b.firstChild;)b.removeChild(b.firstChild);for(fb&&fb.set?fb.set.call(ta,a):ta.innerHTML=a;ta.firstChild;)b.appendChild(ta.firstChild)},configurable:!0}},Bc={shadowRoot:{get:function(){return this.shadyRoot},set:function(a){this.shadyRoot=
|
||||
a},configurable:!0}},Oa={activeElement:{get:function(){var a;a=gb&&gb.get?gb.get.call(document):K.hasDescriptors?void 0:document.activeElement;if(a&&a.nodeType){var b=!!N(this);if(this===document||b&&this.host!==a&&this.host.contains(a)){for(b=V(a);b&&b!==this;)a=b.host,b=V(a);a=this===document?b?null:a:b===this?a:null}else a=null}else a=null;return a},set:function(){},configurable:!0}},Gb=K.hasDescriptors?function(){}:function(a){a.__shady&&a.__shady.__outsideAccessors||(a.__shady=a.__shady||{},
|
||||
a.__shady.__outsideAccessors=!0,J(a,Vb,!0))},Fb=K.hasDescriptors?function(){}:function(a){a.__shady&&a.__shady.__insideAccessors||(a.__shady=a.__shady||{},a.__shady.__insideAccessors=!0,J(a,Na,!0),J(a,Bc,!0))},ua=null,Fd={blur:!0,focus:!0,focusin:!0,focusout:!0,click:!0,dblclick:!0,mousedown:!0,mouseenter:!0,mouseleave:!0,mousemove:!0,mouseout:!0,mouseover:!0,mouseup:!0,wheel:!0,beforeinput:!0,input:!0,keydown:!0,keyup:!0,compositionstart:!0,compositionupdate:!0,compositionend:!0,touchstart:!0,touchend:!0,
|
||||
touchmove:!0,touchcancel:!0,pointerover:!0,pointerenter:!0,pointerdown:!0,pointermove:!0,pointerup:!0,pointercancel:!0,pointerout:!0,pointerleave:!0,gotpointercapture:!0,lostpointercapture:!0,dragstart:!0,drag:!0,dragenter:!0,dragleave:!0,dragover:!0,drop:!0,dragend:!0,DOMActivate:!0,DOMFocusIn:!0,DOMFocusOut:!0,keypress:!0},jc={get composed(){this.isTrusted&&void 0===this.__composed&&(this.__composed=Fd[this.type]);return this.__composed||!1},composedPath:function(){this.__composedPath||(this.__composedPath=
|
||||
a.__shady.__outsideAccessors=!0,J(a,Vb,!0))},Fb=K.hasDescriptors?function(){}:function(a){a.__shady&&a.__shady.__insideAccessors||(a.__shady=a.__shady||{},a.__shady.__insideAccessors=!0,J(a,Na,!0),J(a,Bc,!0))},ua=null,Fd={focusin:!0,focusout:!0,click:!0,dblclick:!0,mousedown:!0,mouseenter:!0,mouseleave:!0,mousemove:!0,mouseout:!0,mouseover:!0,mouseup:!0,wheel:!0,beforeinput:!0,input:!0,keydown:!0,keyup:!0,compositionstart:!0,compositionupdate:!0,compositionend:!0,touchstart:!0,touchend:!0,touchmove:!0,
|
||||
touchcancel:!0,pointerover:!0,pointerenter:!0,pointerdown:!0,pointermove:!0,pointerup:!0,pointercancel:!0,pointerout:!0,pointerleave:!0,gotpointercapture:!0,lostpointercapture:!0,dragstart:!0,drag:!0,dragenter:!0,dragleave:!0,dragover:!0,drop:!0,dragend:!0,DOMActivate:!0,DOMFocusIn:!0,DOMFocusOut:!0,keypress:!0},jc={get composed(){!1!==this.isTrusted&&void 0===this.__composed&&(this.__composed=Fd[this.type]);return this.__composed||!1},composedPath:function(){this.__composedPath||(this.__composedPath=
|
||||
Ua(this.__target,this.composed));return this.__composedPath},get target(){return gc(this.currentTarget,this.composedPath())},get relatedTarget(){if(!this.__relatedTarget)return null;this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=Ua(this.__relatedTarget,!0));return gc(this.currentTarget,this.__relatedTargetComposedPath)},stopPropagation:function(){Event.prototype.stopPropagation.call(this);this.__propagationStopped=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this);
|
||||
this.__propagationStopped=this.__immediatePropagationStopped=!0}},Wa={focus:!0,blur:!0},Gd=Va(window.Event),Hd=Va(window.CustomEvent),Id=Va(window.MouseEvent),Jd="function"===typeof Event?Event:function(a,b){b=b||{};var c=document.createEvent("Event");c.initEvent(a,!!b.bubbles,!!b.cancelable);return c};C.prototype.getInsertionPoints=function(){return this.root.querySelectorAll(this.insertionPointTag)};C.prototype.hasInsertionPoint=function(){return!(!this.root._insertionPoints||!this.root._insertionPoints.length)};
|
||||
C.prototype.isInsertionPoint=function(a){return a.localName&&a.localName==this.insertionPointTag};C.prototype.distribute=function(){return this.hasInsertionPoint()?this.distributePool(this.root,this.collectPool()):[]};C.prototype.collectPool=function(){for(var a=[],b=0,c=this.root.host.firstChild;c;c=c.nextSibling)a[b++]=c;return a};C.prototype.distributePool=function(a,b){a=[];for(var c=this.root._insertionPoints,d=0,e=c.length,f;d<e&&(f=c[d]);d++){this.distributeInsertionPoint(f,b);var g=f.parentNode;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -81,9 +81,9 @@ this.previousSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;retu
|
||||
d;d=c[b];b++)d.nodeType!==Node.COMMENT_NODE&&a.push(d.textContent);return a.join("")}return Lb(this)},set:function(a){if(this.nodeType!==Node.ELEMENT_NODE)this.nodeValue=a;else{for(;this.firstChild;)this.removeChild(this.firstChild);a&&this.appendChild(document.createTextNode(a))}},configurable:!0},firstElementChild:{get:function(){if(A(this,"firstChild")){for(var a=this.firstChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.nextSibling;return a}return Fb(this)},configurable:!0},lastElementChild:{get:function(){if(A(this,
|
||||
"lastChild")){for(var a=this.lastChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.previousSibling;return a}return Gb(this)},configurable:!0},children:{get:function(){return A(this,"firstChild")?Array.prototype.filter.call(this.childNodes,function(a){return a.nodeType===Node.ELEMENT_NODE}):Jb(this)},configurable:!0},innerHTML:{get:function(){var a="template"===this.localName?this.content:this;return A(this,"firstChild")?Ga(a):Kb(a)},set:function(a){for(var b="template"===this.localName?this.content:this;b.firstChild;)b.removeChild(b.firstChild);
|
||||
for(Ya&&Ya.set?Ya.set.call(na,a):na.innerHTML=a;na.firstChild;)b.appendChild(na.firstChild)},configurable:!0}},qc={shadowRoot:{get:function(){return this.shadyRoot},set:function(a){this.shadyRoot=a},configurable:!0}},Ia={activeElement:{get:function(){var a;a=Za&&Za.get?Za.get.call(document):D.hasDescriptors?void 0:document.activeElement;if(a&&a.nodeType){var b=!!F(this);if(this===document||b&&this.host!==a&&this.host.contains(a)){for(b=Q(a);b&&b!==this;)a=b.host,b=Q(a);a=this===document?b?null:a:
|
||||
b===this?a:null}else a=null}else a=null;return a},set:function(){},configurable:!0}},yb=D.hasDescriptors?function(){}:function(a){a.__shady&&a.__shady.__outsideAccessors||(a.__shady=a.__shady||{},a.__shady.__outsideAccessors=!0,J(a,Nb,!0))},xb=D.hasDescriptors?function(){}:function(a){a.__shady&&a.__shady.__insideAccessors||(a.__shady=a.__shady||{},a.__shady.__insideAccessors=!0,J(a,Ha,!0),J(a,qc,!0))},oa=null,od={blur:!0,focus:!0,focusin:!0,focusout:!0,click:!0,dblclick:!0,mousedown:!0,mouseenter:!0,
|
||||
mouseleave:!0,mousemove:!0,mouseout:!0,mouseover:!0,mouseup:!0,wheel:!0,beforeinput:!0,input:!0,keydown:!0,keyup:!0,compositionstart:!0,compositionupdate:!0,compositionend:!0,touchstart:!0,touchend:!0,touchmove:!0,touchcancel:!0,pointerover:!0,pointerenter:!0,pointerdown:!0,pointermove:!0,pointerup:!0,pointercancel:!0,pointerout:!0,pointerleave:!0,gotpointercapture:!0,lostpointercapture:!0,dragstart:!0,drag:!0,dragenter:!0,dragleave:!0,dragover:!0,drop:!0,dragend:!0,DOMActivate:!0,DOMFocusIn:!0,DOMFocusOut:!0,
|
||||
keypress:!0},bc={get composed(){this.isTrusted&&void 0===this.__composed&&(this.__composed=od[this.type]);return this.__composed||!1},composedPath:function(){this.__composedPath||(this.__composedPath=Oa(this.__target,this.composed));return this.__composedPath},get target(){return Zb(this.currentTarget,this.composedPath())},get relatedTarget(){if(!this.__relatedTarget)return null;this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=Oa(this.__relatedTarget,!0));return Zb(this.currentTarget,
|
||||
b===this?a:null}else a=null}else a=null;return a},set:function(){},configurable:!0}},yb=D.hasDescriptors?function(){}:function(a){a.__shady&&a.__shady.__outsideAccessors||(a.__shady=a.__shady||{},a.__shady.__outsideAccessors=!0,J(a,Nb,!0))},xb=D.hasDescriptors?function(){}:function(a){a.__shady&&a.__shady.__insideAccessors||(a.__shady=a.__shady||{},a.__shady.__insideAccessors=!0,J(a,Ha,!0),J(a,qc,!0))},oa=null,od={focusin:!0,focusout:!0,click:!0,dblclick:!0,mousedown:!0,mouseenter:!0,mouseleave:!0,
|
||||
mousemove:!0,mouseout:!0,mouseover:!0,mouseup:!0,wheel:!0,beforeinput:!0,input:!0,keydown:!0,keyup:!0,compositionstart:!0,compositionupdate:!0,compositionend:!0,touchstart:!0,touchend:!0,touchmove:!0,touchcancel:!0,pointerover:!0,pointerenter:!0,pointerdown:!0,pointermove:!0,pointerup:!0,pointercancel:!0,pointerout:!0,pointerleave:!0,gotpointercapture:!0,lostpointercapture:!0,dragstart:!0,drag:!0,dragenter:!0,dragleave:!0,dragover:!0,drop:!0,dragend:!0,DOMActivate:!0,DOMFocusIn:!0,DOMFocusOut:!0,
|
||||
keypress:!0},bc={get composed(){!1!==this.isTrusted&&void 0===this.__composed&&(this.__composed=od[this.type]);return this.__composed||!1},composedPath:function(){this.__composedPath||(this.__composedPath=Oa(this.__target,this.composed));return this.__composedPath},get target(){return Zb(this.currentTarget,this.composedPath())},get relatedTarget(){if(!this.__relatedTarget)return null;this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=Oa(this.__relatedTarget,!0));return Zb(this.currentTarget,
|
||||
this.__relatedTargetComposedPath)},stopPropagation:function(){Event.prototype.stopPropagation.call(this);this.__propagationStopped=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this);this.__propagationStopped=this.__immediatePropagationStopped=!0}},Qa={focus:!0,blur:!0},pd=Pa(window.Event),qd=Pa(window.CustomEvent),rd=Pa(window.MouseEvent),sd="function"===typeof Event?Event:function(a,b){b=b||{};var c=document.createEvent("Event");c.initEvent(a,!!b.bubbles,
|
||||
!!b.cancelable);return c};z.prototype.getInsertionPoints=function(){return this.root.querySelectorAll(this.insertionPointTag)};z.prototype.hasInsertionPoint=function(){return!(!this.root._insertionPoints||!this.root._insertionPoints.length)};z.prototype.isInsertionPoint=function(a){return a.localName&&a.localName==this.insertionPointTag};z.prototype.distribute=function(){return this.hasInsertionPoint()?this.distributePool(this.root,this.collectPool()):[]};z.prototype.collectPool=function(){for(var a=
|
||||
[],b=0,c=this.root.host.firstChild;c;c=c.nextSibling)a[b++]=c;return a};z.prototype.distributePool=function(a,b){a=[];for(var c=this.root._insertionPoints,d=0,e=c.length,f;d<e&&(f=c[d]);d++){this.distributeInsertionPoint(f,b);var g=f.parentNode;g&&g.shadyRoot&&g.shadyRoot.hasInsertionPoint()&&a.push(g.shadyRoot)}for(f=0;f<b.length;f++)if(c=b[f])c.__shady=c.__shady||{},c.__shady.assignedSlot=void 0,(d=R(c))&&T.call(d,c);return a};z.prototype.distributeInsertionPoint=function(a,b){var c=a.__shady.assignedNodes;
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user