Page MenuHomePhabricator
Paste P5068

(An Untitled Masterwork)
ActivePublic

Authored by Paladox on Mar 17 2017, 6:11 PM.
Tags
None
Referenced Files
F6672477:
Mar 17 2017, 6:11 PM
Subscribers
None
Fails with
404 GET /accounts/self/detail
safari 10.0.3 ✖ elements/diff/gr-diff-comment-thread/gr-diff-comment-thread_test.html » comment action tests » new comment gets created
undefined is not an object (evaluating 'c1.id.localeCompare')
<unknown> at <unknown> at gr-diff-comment-thread.js:171:0
<unknown> at _commentsChanged at gr-diff-comment-thread.js:111:0
<unknown> at _complexObserverEffect at data:text/javascript;charset=utf-8,Polymer.nar%20%3D%20%5B%5D%3B%0APolymer.Annotations%20%3D%20%7B%0AparseAnnotations%3A%20function%20(template)%20%7B%0Avar%20list%20%3D%20%5B%5D%3B%0Avar%20content%20%3D%20template._content%20%7C%7C%20template.content%3B%0Athis._parseNodeAnnotations(content%2C%20list%2C%20template.hasAttribute('strip-whitespace'))%3B%0Areturn%20list%3B%0A%7D%2C%0A_parseNodeAnnotations%3A%20function%20(node%2C%20list%2C%20stripWhiteSpace)%20%7B%0Areturn%20node.nodeType%20%3D%3D%3D%20Node.TEXT_NODE%20%3F%20this._parseTextNodeAnnotation(node%2C%20list)%20%3A%20this._parseElementAnnotations(node%2C%20list%2C%20stripWhiteSpace)%3B%0A%7D%2C%0A_bindingRegex%3A%20function%20()%20%7B%0Avar%20IDENT%20%3D%20'(%3F%3A'%20%2B%20'%5Ba-zA-Z_%24%5D%5B%5C%5Cw.%3A%24%5C%5C-*%5D*'%20%2B%20')'%3B%0Avar%20NUMBER%20%3D%20'(%3F%3A'%20%2B%20'%5B-%2B%5D%3F%5B0-9%5D*%5C%5C.%3F%5B0-9%5D%2B(%3F%3A%5BeE%5D%5B-%2B%5D%3F%5B0-9%5D%2B)%3F'%20%2B%20')'%3B%0Avar%20SQUOTE_STRING%20%3D%20'(%3F%3A'%20%2B%20'%5C'(%3F%3A%5B%5E%5C'%5C%5C%5C%5C%5D%7C%5C%5C%5C%5C.)*%5C''%20%2B%20')'%3B%0Avar%20DQUOTE_STRING%20%3D%20'(%3F%3A'%20%2B%20'%22(%3F%3A%5B%5E%22%5C%5C%5C%5C%5D%7C%5C%5C%5C%5C.)*%22'%20%2B%20')'%3B%0Avar%20STRING%20%3D%20'(%3F%3A'%20%2B%20SQUOTE_STRING%20%2B%20'%7C'%20%2B%20DQUOTE_STRING%20%2B%20')'%3B%0Avar%20ARGUMENT%20%3D%20'(%3F%3A'%20%2B%20IDENT%20%2B%20'%7C'%20%2B%20NUMBER%20%2B%20'%7C'%20%2B%20STRING%20%2B%20'%5C%5Cs*'%20%2B%20')'%3B%0Avar%20ARGUMENTS%20%3D%20'(%3F%3A'%20%2B%20ARGUMENT%20%2B%20'(%3F%3A%2C%5C%5Cs*'%20%2B%20ARGUMENT%20%2B%20')*'%20%2B%20')'%3B%0Avar%20ARGUMENT_LIST%20%3D%20'(%3F%3A'%20%2B%20'%5C%5C(%5C%5Cs*'%20%2B%20'(%3F%3A'%20%2B%20ARGUMENTS%20%2B%20'%3F'%20%2B%20')'%20%2B%20'%5C%5C)%5C%5Cs*'%20%2B%20')'%3B%0Avar%20BINDING%20%3D%20'('%20%2B%20IDENT%20%2B%20'%5C%5Cs*'%20%2B%20ARGUMENT_LIST%20%2B%20'%3F'%20%2B%20')'%3B%0Avar%20OPEN_BRACKET%20%3D%20'(%5C%5C%5B%5C%5C%5B%7C%7B%7B)'%20%2B%20'%5C%5Cs*'%3B%0Avar%20CLOSE_BRACKET%20%3D%20'(%3F%3A%5D%5D%7C%7D%7D)'%3B%0Avar%20NEGATE%20%3D%20'(%3F%3A(!)%5C%5Cs*)%3F'%3B%0Avar%20EXPRESSION%20%3D%20OPEN_BRACKET%20%2B%20NEGATE%20%2B%20BINDING%20%2B%20CLOSE_BRACKET%3B%0Areturn%20new%20RegExp(EXPRESSION%2C%20'g')%3B%0A%7D()%2C%0A_parseBindings%3A%20function%20(text)%20%7B%0Avar%20re%20%3D%20this._bindingRegex%3B%0Avar%20parts%20%3D%20%5B%5D%3B%0Avar%20lastIndex%20%3D%200%3B%0Avar%20m%3B%0Awhile%20((m%20%3D%20re.exec(text))%20!%3D%3D%20null)%20%7B%0Aif%20(m.index%20%3E%20lastIndex)%20%7B%0Aparts.push(%7B%20literal%3A%20text.slice(lastIndex%2C%20m.index)%20%7D)%3B%0A%7D%0Avar%20mode%20%3D%20m%5B1%5D%5B0%5D%3B%0Avar%20negate%20%3D%20Boolean(m%5B2%5D)%3B%0Avar%20value%20%3D%20m%5B3%5D.trim()%3B%0Avar%20customEvent%2C%20notifyEvent%2C%20colon%3B%0Aif%20(mode%20%3D%3D%20'%7B'%20%26%26%20(colon%20%3D%20value.indexOf('%3A%3A'))%20%3E%200)%20%7B%0AnotifyEvent%20%3D%20value.substring(colon%20%2B%202)%3B%0Avalue%20%3D%20value.substring(0%2C%20colon)%3B%0AcustomEvent%20%3D%20true%3B%0A%7D%0Aparts.push(%7B%0AcompoundIndex%3A%20parts.length%2C%0Avalue%3A%20value%2C%0Amode%3A%20mode%2C%0Anegate%3A%20negate%2C%0Aevent%3A%20notifyEvent%2C%0AcustomEvent%3A%20customEvent%0A%7D)%3B%0AlastIndex%20%3D%20re.lastIndex%3B%0A%7D%0Aif%20(lastIndex%20%26%26%20lastIndex%20%3C%20text.length)%20%7B%0Avar%20literal%20%3D%20text.substring(lastIndex)%3B%0Aif%20(literal)%20%7B%0Aparts.push(%7B%20literal%3A%20literal%20%7D)%3B%0A%7D%0A%7D%0Aif%20(parts.length)%20%7B%0Areturn%20parts%3B%0A%7D%0A%7D%2C%0A_literalFromParts%3A%20function%20(parts)%20%7B%0Avar%20s%20%3D%20''%3B%0Afor%20(var%20i%20%3D%200%3B%20i%20%3C%20parts.length%3B%20i%2B%2B)%20%7B%0Avar%20literal%20%3D%20parts%5Bi%5D.literal%3B%0As%20%2B%3D%20literal%20%7C%7C%20''%3B%0A%7D%0Areturn%20s%3B%0A%7D%2C%0A_parseTextNodeAnnotation%3A%20function%20(node%2C%20list)%20%7B%0Avar%20parts%20%3D%20this._parseBindings(node.textContent)%3B%0Aif%20(parts)%20%7B%0Anode.textContent%20%3D%20this._literalFromParts(parts)%20%7C%7C%20'%20'%3B%0Avar%20annote%20%3D%20%7B%0Abindings%3A%20%5B%7B%0Akind%3A%20'text'%2C%0Aname%3A%20'textContent'%2C%0Aparts%3A%20parts%2C%0AisCompound%3A%20parts.length%20!%3D%3D%201%0A%7D%5D%0A%7D%3B%0Alist.push(annote)%3B%0Areturn%20annote%3B%0A%7D%0A%7D%2C%0A_parseElementAnnotations%3A%20function%20(element%2C%20list%2C%20stripWhiteSpace)%20%7B%0Avar%20annote%20%3D%20%7B%0Abindings%3A%20%5B%5D%2C%0Aevents%3A%20%5B%5D%0A%7D%3B%0Aif%20(element.localName%20%3D%3D%3D%20'content')%20%7B%0Alist._hasContent%20%3D%20true%3B%0A%7D%0Athis._parseChildNodesAnnotations(element%2C%20annote%2C%20list%2C%20stripWhiteSpace)%3B%0Aif%20(element.attributes)%20%7B%0Athis._parseNodeAttributeAnnotations(element%2C%20annote%2C%20list)%3B%0Aif%20(this.prepElement)%20%7B%0Athis.prepElement(element)%3B%0A%7D%0A%7D%0Aif%20(annote.bindings.length%20%7C%7C%20annote.events.length%20%7C%7C%20annote.id)%20%7B%0Alist.push(annote)%3B%0A%7D%0Areturn%20annote%3B%0A%7D%2C%0A_parseChildNodesAnnotations%3A%20function%20(root%2C%20annote%2C%20list%2C%20stripWhiteSpace)%20%7B%0Aif%20(root.firstChild)%20%7B%0Avar%20node%20%3D%20root.firstChild%3B%0Avar%20i%20%3D%200%3B%0Awhile%20(node)%20%7B%0Avar%20next%20%3D%20node.nextSibling%3B%0Aif%20(node.localName%20%3D%3D%3D%20'template'%20%26%26%20!node.hasAttribute('preserve-content'))%20%7B%0Athis._parseTemplate(node%2C%20i%2C%20list%2C%20annote)%3B%0A%7D%0Aif%20(node.localName%20%3D%3D%20'slot')%20%7B%0Anode%20%3D%20this._replaceSlotWithContent(node)%3B%0A%7D%0Aif%20(node.nodeType%20%3D%3D%3D%20Node.TEXT_NODE)%20%7B%0Avar%20n%20%3D%20next%3B%0Awhile%20(n%20%26%26%20n.nodeType%20%3D%3D%3D%20Node.TEXT_NODE)%20%7B%0Anode.textContent%20%2B%3D%20n.textContent%3B%0Anext%20%3D%20n.nextSibling%3B%0Aroot.removeChild(n)%3B%0An%20%3D%20next%3B%0A%7D%0Aif%20(stripWhiteSpace%20%26%26%20!node.textContent.trim())%20%7B%0Aroot.removeChild(node)%3B%0Ai--%3B%0A%7D%0A%7D%0Aif%20(node.parentNode)%20%7B%0Avar%20childAnnotation%20%3D%20this._parseNodeAnnotations(node%2C%20list%2C%20stripWhiteSpace)%3B%0Aif%20(childAnnotation)%20%7B%0AchildAnnotation.parent%20%3D%20annote%3B%0AchildAnnotation.index%20%3D%20i%3B%0A%7D%0A%7D%0Anode%20%3D%20next%3B%0Ai%2B%2B%3B%0A%7D%0A%7D%0A%7D%2C%0A_replaceSlotWithContent%3A%20function%20(slot)%20%7B%0Avar%20content%20%3D%20slot.ownerDocument.createElement('content')%3B%0Awhile%20(slot.firstChild)%20%7B%0Acontent.appendChild(slot.firstChild)%3B%0A%7D%0Avar%20attrs%20%3D%20slot.attributes%3B%0Afor%20(var%20i%20%3D%200%3B%20i%20%3C%20attrs.length%3B%20i%2B%2B)%20%7B%0Avar%20attr%20%3D%20attrs%5Bi%5D%3B%0Acontent.setAttribute(attr.name%2C%20attr.value)%3B%0A%7D%0Avar%20name%20%3D%20slot.getAttribute('name')%3B%0Aif%20(name)%20%7B%0Acontent.setAttribute('select'%2C%20'%5Bslot%3D%5C''%20%2B%20name%20%2B%20'%5C'%5D')%3B%0A%7D%0Aslot.parentNode.replaceChild(content%2C%20slot)%3B%0Areturn%20content%3B%0A%7D%2C%0A_parseTemplate%3A%20function%20(node%2C%20index%2C%20list%2C%20parent)%20%7B%0Avar%20content%20%3D%20document.createDocumentFragment()%3B%0Acontent._notes%20%3D%20this.parseAnnotations(node)%3B%0Acontent.appendChild(node.content)%3B%0Alist.push(%7B%0Abindings%3A%20Polymer.nar%2C%0Aevents%3A%20Polymer.nar%2C%0AtemplateContent%3A%20content%2C%0Aparent%3A%20parent%2C%0Aindex%3A%20index%0A%7D)%3B%0A%7D%2C%0A_parseNodeAttributeAnnotations%3A%20function%20(node%2C%20annotation)%20%7B%0Avar%20attrs%20%3D%20Array.prototype.slice.call(node.attributes)%3B%0Afor%20(var%20i%20%3D%20attrs.length%20-%201%2C%20a%3B%20a%20%3D%20attrs%5Bi%5D%3B%20i--)%20%7B%0Avar%20n%20%3D%20a.name%3B%0Avar%20v%20%3D%20a.value%3B%0Avar%20b%3B%0Aif%20(n.slice(0%2C%203)%20%3D%3D%3D%20'on-')%20%7B%0Anode.removeAttribute(n)%3B%0Aannotation.events.push(%7B%0Aname%3A%20n.slice(3)%2C%0Avalue%3A%20v%0A%7D)%3B%0A%7D%20else%20if%20(b%20%3D%20this._parseNodeAttributeAnnotation(node%2C%20n%2C%20v))%20%7B%0Aannotation.bindings.push(b)%3B%0A%7D%20else%20if%20(n%20%3D%3D%3D%20'id')%20%7B%0Aannotation.id%20%3D%20v%3B%0A%7D%0A%7D%0A%7D%2C%0A_parseNodeAttributeAnnotation%3A%20function%20(node%2C%20name%2C%20value)%20%7B%0Avar%20parts%20%3D%20this._parseBindings(value)%3B%0Aif%20(parts)%20%7B%0Avar%20origName%20%3D%20name%3B%0Avar%20kind%20%3D%20'property'%3B%0Aif%20(name%5Bname.length%20-%201%5D%20%3D%3D%20'%24')%20%7B%0Aname%20%3D%20name.slice(0%2C%20-1)%3B%0Akind%20%3D%20'attribute'%3B%0A%7D%0Avar%20literal%20%3D%20this._literalFromParts(parts)%3B%0Aif%20(literal%20%26%26%20kind%20%3D%3D%20'attribute')%20%7B%0Anode.setAttribute(name%2C%20literal)%3B%0A%7D%0Aif%20(node.localName%20%3D%3D%3D%20'input'%20%26%26%20origName%20%3D%3D%3D%20'value')%20%7B%0Anode.setAttribute(origName%2C%20'')%3B%0A%7D%0Anode.removeAttribute(origName)%3B%0Avar%20propertyName%20%3D%20Polymer.CaseMap.dashToCamelCase(name)%3B%0Aif%20(kind%20%3D%3D%3D%20'property')%20%7B%0Aname%20%3D%20propertyName%3B%0A%7D%0Areturn%20%7B%0Akind%3A%20kind%2C%0Aname%3A%20name%2C%0ApropertyName%3A%20propertyName%2C%0Aparts%3A%20parts%2C%0Aliteral%3A%20literal%2C%0AisCompound%3A%20parts.length%20!%3D%3D%201%0A%7D%3B%0A%7D%0A%7D%2C%0AfindAnnotatedNode%3A%20function%20(root%2C%20annote)%20%7B%0Avar%20parent%20%3D%20annote.parent%20%26%26%20Polymer.Annotations.findAnnotatedNode(root%2C%20annote.parent)%3B%0Aif%20(parent)%20%7B%0Afor%20(var%20n%20%3D%20parent.firstChild%2C%20i%20%3D%200%3B%20n%3B%20n%20%3D%20n.nextSibling)%20%7B%0Aif%20(annote.index%20%3D%3D%3D%20i%2B%2B)%20%7B%0Areturn%20n%3B%0A%7D%0A%7D%0A%7D%20else%20%7B%0Areturn%20root%3B%0A%7D%0A%7D%0A%7D%3B(function%20()%20%7B%0Afunction%20resolveCss(cssText%2C%20ownerDocument)%20%7B%0Areturn%20cssText.replace(CSS_URL_RX%2C%20function%20(m%2C%20pre%2C%20url%2C%20post)%20%7B%0Areturn%20pre%20%2B%20'%5C''%20%2B%20resolve(url.replace(%2F%5B%22'%5D%2Fg%2C%20'')%2C%20ownerDocument)%20%2B%20'%5C''%20%2B%20post%3B%0A%7D)%3B%0A%7D%0Afunction%20resolveAttrs(element%2C%20ownerDocument)%20%7B%0Afor%20(var%20name%20in%20URL_ATTRS)%20%7B%0Avar%20a%24%20%3D%20URL_ATTRS%5Bname%5D%3B%0Afor%20(var%20i%20%3D%200%2C%20l%20%3D%20a%24.length%2C%20a%2C%20at%2C%20v%3B%20i%20%3C%20l%20%26%26%20(a%20%3D%20a%24%5Bi%5D)%3B%20i%2B%2B)%20%7B%0Aif%20(name%20%3D%3D%3D%20'*'%20%7C%7C%20element.localName%20%3D%3D%3D%20name)%20%7B%0Aat%20%3D%20element.attributes%5Ba%5D%3B%0Av%20%3D%20at%20%26%26%20at.value%3B%0Aif%20(v%20%26%26%20v.search(BINDING_RX)%20%3C%200)%20%7B%0Aat.value%20%3D%20a%20%3D%3D%3D%20'style'%20%3F%20resolveCss(v%2C%20ownerDocument)%20%3A%20resolve(v%2C%20ownerDocument)%3B%0A%7D%0A%7D%0A%7D%0A%7D%0A%7D%0Afunction%20resolve(url%2C%20ownerDocument)%20%7B%0Aif%20(url%20%26%26%20ABS_URL.test(url))%20%7B%0Areturn%20url%3B%0A%7D%0Avar%20resolver%20%3D%20getUrlResolver(ownerDocument)%3B%0Aresolver.href%20%3D%20url%3B%0Areturn%20resolver.href%20%7C%7C%20url%3B%0A%7D%0Avar%20tempDoc%3B%0Avar%20tempDocBase%3B%0Afunction%20resolveUrl(url%2C%20baseUri)%20%7B%0Aif%20(!tempDoc)%20%7B%0AtempDoc%20%3D%20document.implementation.createHTMLDocument('temp')%3B%0AtempDocBase%20%3D%20tempDoc.createElement('base')%3B%0AtempDoc.head.appendChild(tempDocBase)%3B%0A%7D%0AtempDocBase.href%20%3D%20baseUri%3B%0Areturn%20resolve(url%2C%20tempDoc)%3B%0A%7D%0Afunction%20getUrlResolver(ownerDocument)%20%7B%0Areturn%20ownerDocument.body.__urlResolver%20%7C%7C%20(ownerDocum
162,5 77%
<unknown> at _complexObserverPathEffect at data:text/javascript;charset=utf-8,Polymer.nar%20%3D%20%5B%5D%3B%0APolymer.Annotations%20%3D%20%7B%0AparseAnnotations%3A%20function%20(template)%20%7B%0Avar%20list%20%3D%20%5B%5D%3B%0Avar%20content%20%3D%20template._content%20%7C%7C%20template.content%3B%0Athis._parseNodeAnnotations(content%2C%20list%2C%20template.hasAttribute('strip-whitespace'))%3B%0Areturn%20list%3B%0A%7D%2C%0A_parseNodeAnnotations%3A%20function%20(node%2C%20list%2C%20stripWhiteSpace)%20%7B%0Areturn%20node.nodeType%20%3D%3D%3D%20Node.TEXT_NODE%20%3F%20this._parseTextNodeAnnotation(node%2C%20list)%20%3A%20this._parseElementAnnotations(node%2C%20list%2C%20stripWhiteSpace)%3B%0A%7D%2C%0A_bindingRegex%3A%20function%20()%20%7B%0Avar%20IDENT%20%3D%20'(%3F%3A'%20%2B%20'%5Ba-zA-Z_%24%5D%5B%5C%5Cw.%3A%24%5C%5C-*%5D*'%20%2B%20')'%3B%0Avar%20NUMBER%20%3D%20'(%3F%3A'%20%2B%20'%5B-%2B%5D%3F%5B0-9%5D*%5C%5C.%3F%5B0-9%5D%2B(%3F%3A%5BeE%5D%5B-%2B%5D%3F%5B0-9%5D%2B)%3F'%20%2B%20')'%3B%0Avar%20SQUOTE_STRING%20%3D%20'(%3F%3A'%20%2B%20'%5C'(%3F%3A%5B%5E%5C'%5C%5C%5C%5C%5D%7C%5C%5C%5C%5C.)*%5C''%20%2B%20')'%3B%0Avar%20DQUOTE_STRING%20%3D%20'(%3F%3A'%20%2B%20'%22(%3F%3A%5B%5E%22%5C%5C%5C%5C%5D%7C%5C%5C%5C%5C.)*%22'%20%2B%20')'%3B%0Avar%20STRING%20%3D%20'(%3F%3A'%20%2B%20SQUOTE_STRING%20%2B%20'%7C'%20%2B%20DQUOTE_STRING%20%2B%20')'%3B%0Avar%20ARGUMENT%20%3D%20'(%3F%3A'%20%2B%20IDENT%20%2B%20'%7C'%20%2B%20NUMBER%20%2B%20'%7C'%20%2B%20STRING%20%2B%20'%5C%5Cs*'%20%2B%20')'%3B%0Avar%20ARGUMENTS%20%3D%20'(%3F%3A'%20%2B%20ARGUMENT%20%2B%20'(%3F%3A%2C%5C%5Cs*'%20%2B%20ARGUMENT%20%2B%20')*'%20%2B%20')'%3B%0Avar%20ARGUMENT_LIST%20%3D%20'(%3F%3A'%20%2B%20'%5C%5C(%5C%5Cs*'%20%2B%20'(%3F%3A'%20%2B%20ARGUMENTS%20%2B%20'%3F'%20%2B%20')'%20%2B%20'%5C%5C)%5C%5Cs*'%20%2B%20')'%3B%0Avar%20BINDING%20%3D%20'('%20%2B%20IDENT%20%2B%20'%5C%5Cs*'%20%2B%20ARGUMENT_LIST%20%2B%20'%3F'%20%2B%20')'%3B%0Avar%20OPEN_BRACKET%20%3D%20'(%5C%5C%5B%5C%5C%5B%7C%7B%7B)'%20%2B%20'%5C%5Cs*'%3B%0Avar%20CLOSE_BRACKET%20%3D%20'(%3F%3A%5D%5D%7C%7D%7D)'%3B%0Avar%20NEGATE%20%3D%20'(%3F%3A(!)%5C%5Cs*)%3F'%3B%0Avar%20EXPRESSION%20%3D%20OPEN_BRACKET%20%2B%20NEGATE%20%2B%20BINDING%20%2B%20CLOSE_BRACKET%3B%0Areturn%20new%20RegExp(EXPRESSION%2C%20'g')%3B%0A%7D()%2C%0A_parseBindings%3A%20function%20(text)%20%7B%0Avar%20re%20%3D%20this._bindingRegex%3B%0Avar%20parts%20%3D%20%5B%5D%3B%0Avar%20lastIndex%20%3D%200%3B%0Avar%20m%3B%0Awhile%20((m%20%3D%20re.exec(text))%20!%3D%3D%20null)%20%7B%0Aif%20(m.index%20%3E%20lastIndex)%20%7B%0Aparts.push(%7B%20literal%3A%20text.slice(lastIndex%2C%20m.index)%20%7D)%3B%0A%7D%0Avar%20mode%20%3D%20m%5B1%5D%5B0%5D%3B%0Avar%20negate%20%3D%20Boolean(m%5B2%5D)%3B%0Avar%20value%20%3D%20m%5B3%5D.trim()%3B%0Avar%20customEvent%2C%20notifyEvent%2C%20colon%3B%0Aif%20(mode%20%3D%3D%20'%7B'%20%26%26%20(colon%20%3D%20value.indexOf('%3A%3A'))%20%3E%200)%20%7B%0AnotifyEvent%20%3D%20value.substring(colon%20%2B%202)%3B%0Avalue%20%3D%20value.substring(0%2C%20colon)%3B%0AcustomEvent%20%3D%20true%3B%0A%7D%0Aparts.push(%7B%0AcompoundIndex%3A%20parts.length%2C%0Avalue%3A%20value%2C%0Amode%3A%20mode%2C%0Anegate%3A%20negate%2C%0Aevent%3A%20notifyEvent%2C%0AcustomEvent%3A%20customEvent%0A%7D)%3B%0AlastIndex%20%3D%20re.lastIndex%3B%0A%7D%0Aif%20(lastIndex%20%26%26%20lastIndex%20%3C%20text.length)%20%7B%0Avar%20literal%20%3D%20text.substring(lastIndex)%3B%0Aif%20(literal)%20%7B%0Aparts.push(%7B%20literal%3A%20literal%20%7D)%3B%0A%7D%0A%7D%0Aif%20(parts.length)%20%7B%0Areturn%20parts%3B%0A%7D%0A%7D%2C%0A_literalFromParts%3A%20function%20(parts)%20%7B%0Avar%20s%20%3D%20''%3B%0Afor%20(var%20i%20%3D%200%3B%20i%20%3C%20parts.length%3B%20i%2B%2B)%20%7B%0Avar%20literal%20%3D%20parts%5Bi%5D.literal%3B%0As%20%2B%3D%20literal%20%7C%7C%20''%3B%0A%7D%0Areturn%20s%3B%0A%7D%2C%0A_parseTextNodeAnnotation%3A%20function%20(node%2C%20list)%20%7B%0Avar%20parts%20%3D%20this._parseBindings(node.textContent)%3B%0Aif%20(parts)%20%7B%0Anode.textContent%20%3D%20this._literalFromParts(parts)%20%7C%7C%20'%20'%3B%0Avar%20annote%20%3D%20%7B%0Abindings%3A%20%5B%7B%0Akind%3A%20'text'%2C%0Aname%3A%20'textContent'%2C%0Aparts%3A%20parts%2C%0AisCompound%3A%20parts.length%20!%3D%3D%201%0A%7D%5D%0A%7D%3B%0Alist.push(annote)%3B%0Areturn%20annote%3B%0A%7D%0A%7D%2C%0A_parseElementAnnotations%3A%20function%20(element%2C%20list%2C%20stripWhiteSpace)%20%7B%0Avar%20annote%20%3D%20%7B%0Abindings%3A%20%5B%5D%2C%0Aevents%3A%20%5B%5D%0A%7D%3B%0Aif%20(element.localName%20%3D%3D%3D%20'content')%20%7B%0Alist._hasContent%20%3D%20true%3B%0A%7D%0Athis._parseChildNodesAnnotations(element%2C%20annote%2C%20list%2C%20stripWhiteSpace)%3B%0Aif%20(element.attributes)%20%7B%0Athis._parseNodeAttributeAnnotations(element%2C%20annote%2C%20list)%3B%0Aif%20(this.prepElement)%20%7B%0Athis.prepElement(element)%3B%0A%7D%0A%7D%0Aif%20(annote.bindings.length%20%7C%7C%20annote.events.length%20%7C%7C%20annote.id)%20%7B%0Alist.push(annote)%3B%0A%7D%0Areturn%20annote%3B%0A%7D%2C%0A_parseChildNodesAnnotations%3A%20function%20(root%2C%20annote%2C%20list%2C%20stripWhiteSpace)%20%7B%0Aif%20(root.firstChild)%20%7B%0Avar%20node%20%3D%20root.firstChild%3B%0Avar%20i%20%3D%200%3B%0Awhile%20(node)%20%7B%0Avar%20next%20%3D%20node.nextSibling%3B%0Aif%20(node.localName%20%3D%3D%3D%20'template'%20%26%26%20!node.hasAttribute('preserve-content'))%20%7B%0Athis._parseTemplate(node%2C%20i%2C%20list%2C%20annote)%3B%0A%7D%0Aif%20(node.localName%20%3D%3D%20'slot')%20%7B%0Anode%20%3D%20this._replaceSlotWithContent(node)%3B%0A%7D%0Aif%20(node.nodeType%20%3D%3D%3D%20Node.TEXT_NODE)%20%7B%0Avar%20n%20%3D%20next%3B%0Awhile%20(n%20%26%26%20n.nodeType%20%3D%3D%3D%20Node.TEXT_NODE)%20%7B%0Anode.textContent%20%2B%3D%20n.textContent%3B%0Anext%20%3D%20n.nextSibling%3B%0Aroot.removeChild(n)%3B%0An%20%3D%20next%3B%0A%7D%0Aif%20(stripWhiteSpace%20%26%26%20!node.textContent.trim())%20%7B%0Aroot.removeChild(node)%3B%0Ai--%3B%0A%7D%0A%7D%0Aif%20(node.parentNode)%20%7B%0Avar%20childAnnotation%20%3D%20this._parseNodeAnnotations(node%2C%20list%2C%20stripWhiteSpace)%3B%0Aif%20(childAnnotation)%20%7B%0AchildAnnotation.parent%20%3D%20annote%3B%0AchildAnnotation.index%20%3D%20i%3B%0A%7D%0A%7D%0Anode%20%3D%20next%3B%0Ai%2B%2B%3B%0A%7D%0A%7D%0A%7D%2C%0A_replaceSlotWithContent%3A%20function%20(slot)%20%7B%0Avar%20content%20%3D%20slot.ownerDocument.createElement('content')%3B%0Awhile%20(slot.firstChild)%20%7B%0Acontent.appendChild(slot.firstChild)%3B%0A%7D%0Avar%20attrs%20%3D%20slot.attributes%3B%0Afor%20(var%20i%20%3D%200%3B%20i%20%3C%20attrs.length%3B%20i%2B%2B)%20%7B%0Avar%20attr%20%3D%20attrs%5Bi%5D%3B%0Acontent.setAttribute(attr.name%2C%20attr.value)%3B%0A%7D%0Avar%20name%20%3D%20slot.getAttribute('name')%3B%0Aif%20(name)%20%7B%0Acontent.setAttribute('select'%2C%20'%5Bslot%3D%5C''%20%2B%20name%20%2B%20'%5C'%5D')%3B%0A%7D%0Aslot.parentNode.replaceChild(content%2C%20slot)%3B%0Areturn%20content%3B%0A%7D%2C%0A_parseTemplate%3A%20function%20(node%2C%20index%2C%20list%2C%20parent)%20%7B%0Avar%20content%20%3D%20document.createDocumentFragment()%3B%0Acontent._notes%20%3D%20this.parseAnnotations(node)%3B%0Acontent.appendChild(node.content)%3B%0Alist.push(%7B%0Abindings%3A%20Polymer.nar%2C%0Aevents%3A%20Polymer.nar%2C%0AtemplateContent%3A%20content%2C%0Aparent%3A%20parent%2C%0Aindex%3A%20index%0A%7D)%3B%0A%7D%2C%0A_parseNodeAttributeAnnotations%3A%20function%20(node%2C%20annotation)%20%7B%0Avar%20attrs%20%3D%20Array.prototype.slice.call(node.attributes)%3B%0Afor%20(var%20i%20%3D%20attrs.length%20-%201%2C%20a%3B%20a%20%3D%20attrs%5Bi%5D%3B%20i--)%20%7B%0Avar%20n%20%3D%20a.name%3B%0Avar%20v%20%3D%20a.value%3B%0Avar%20b%3B%0Aif%20(n.slice(0%2C%203)%20%3D%3D%3D%20'on-')%20%7B%0Anode.removeAttribute(n)%3B%0Aannotation.events.push(%7B%0Aname%3A%20n.slice(3)%2C%0Avalue%3A%20v%0A%7D)%3B%0A%7D%20else%20if%20(b%20%3D%20this._parseNodeAttributeAnnotation(node%2C%20n%2C%20v))%20%7B%0Aannotation.bindings.push(b)%3B%0A%7D%20else%20if%20(n%20%3D%3D%3D%20'id')%20%7B%0Aannotation.id%20%3D%20v%3B%0A%7D%0A%7D%0A%7D%2C%0A_parseNodeAttributeAnnotation%3A%20function%20(node%2C%20name%2C%20value)%20%7B%0Avar%20parts%20%3D%20this._parseBindings(value)%3B%0Aif%20(parts)%20%7B%0Avar%20origName%20%3D%20name%3B%0Avar%20kind%20%3D%20'property'%3B%0Aif%20(name%5Bname.length%20-%201%5D%20%3D%3D%20'%24')%20%7B%0Aname%20%3D%20name.slice(0%2C%20-1)%3B%0Akind%20%3D%20'attribute'%3B%0A%7D%0Avar%20literal%20%3D%20this._literalFromParts(parts)%3B%0Aif%20(literal%20%26%26%20kind%20%3D%3D%20'attribute')%20%7B%0Anode.setAttribute(name%2C%20literal)%3B%0A%7D%0Aif%20(node.localName%20%3D%3D%3D%20'input'%20%26%26%20origName%20%3D%3D%3D%20'value')%20%7B%0Anode.setAttribute(origName%2C%20'')%3B%0A%7D%0Anode.removeAttribute(origName)%3B%0Avar%20propertyName%20%3D%20Polymer.CaseMap.dashToCamelCase(name)%3B%0Aif%20(kind%20%3D%3D%3D%20'property')%20%7B%0Aname%20%3D%20propertyName%3B%0A%7D%0Areturn%20%7B%0Akind%3A%20kind%2C%0Aname%3A%20name%2C%0ApropertyName%3A%20propertyName%2C%0Aparts%3A%20parts%2C%0Aliteral%3A%20literal%2C%0AisCompound%3A%20parts.length%20!%3D%3D%201%0A%7D%3B%0A%7D%0A%7D%2C%0AfindAnnotatedNode%3A%20function%20(root%2C%20annote)%20%7B%0Avar%20parent%20%3D%20annote.parent%20%26%26%20Polymer.Annotations.findAnnotatedNode(root%2C%20annote.parent)%3B%0Aif%20(parent)%20%7B%0Afor%20(var%20n%20%3D%20parent.firstChild%2C%20i%20%3D%200%3B%20n%3B%20n%20%3D%20n.nextSibling)%20%7B%0Aif%20(annote.index%20%3D%3D%3D%20i%2B%2B)%20%7B%0Areturn%20n%3B%0A%7D%0A%7D%0A%7D%20else%20%7B%0Areturn%20root%3B%0A%7D%0A%7D%0A%7D%3B(function%20()%20%7B%0Afunction%20resolveCss(cssText%2C%20ownerDocument)%20%7B%0Areturn%20cssText.replace(CSS_URL_RX%2C%20function%20(m%2C%20pre%2C%20url%2C%20post)%20%7B%0Areturn%20pre%20%2B%20'%5C''%20%2B%20resolve(url.replace(%2F%5B%22'%5D%2Fg%2C%20'')%2C%20ownerDocument)%20%2B%20'%5C''%20%2B%20post%3B%0A%7D)%3B%0A%7D%0Afunction%20resolveAttrs(element%2C%20ownerDocument)%20%7B%0Afor%20(var%20name%20in%20URL_ATTRS)%20%7B%0Avar%20a%24%20%3D%20URL_ATTRS%5Bname%5D%3B%0Afor%20(var%20i%20%3D%200%2C%20l%20%3D%20a%24.length%2C%20a%2C%20at%2C%20v%3B%20i%20%3C%20l%20%26%26%20(a%20%3D%20a%24%5Bi%5D)%3B%20i%2B%2B)%20%7B%0Aif%20(name%20%3D%3D%3D%20'*'%20%7C%7C%20element.localName%20%3D%3D%3D%20name)%20%7B%0Aat%20%3D%20element.attributes%5Ba%5D%3B%0Av%20%3D%20at%20%26%26%20at.value%3B%0Aif%20(v%20%26%26%20v.search(BINDING_RX)%20%3C%200)%20%7B%0Aat.value%20%3D%20a%20%3D%3D%3D%20'style'%20%3F%20resolveCss(v%2C%20ownerDocument)%20%3A%20resolve(v%2C%20ownerDocument)%3B%0A%7D%0A%7D%0A%7D%0A%7D%0A%7D%0Afunction%20resolve(url%2C%20ownerDocument)%20%7B%0Aif%20(url%20%26%26%20ABS_URL.test(url))%20%7B%0Areturn%20url%3B%0A%7D%0Avar%20resolver%20%3D%20getUrlResolver(ownerDocument)%3B%0Aresolver.href%20%3D%20url%3B%0Areturn%20resolver.href%20%7C%7C%20url%3B%0A%7D%0Avar%20tempDoc%3B%0Avar%20tempDocBase%3B%0Afunction%20resolveUrl(url%2C%20baseUri)%20%7B%0Aif%20(!tempDoc)%20%7B%0AtempDoc%20%3D%20document.implementation.createHTMLDocument('temp')%3B%0AtempDocBase%20%3D%20tempDoc.createElement('base')%3B%0AtempDoc.head.appendChild(tempDocBase)%3B%0A%7D%0AtempDocBase.href%20%3D%20baseUri%3B%0Areturn%20resolve(url%2C%20tempDoc)%3B%0A%7D%0Afunction%20getUrlResolver(ownerDocument)%20%7B%0Areturn%20ownerDocument.body.__urlResolver%20%7C%7C%20(ownerDocum
163,5 77%
<unknown> at _pathEffector at data:text/javascript;charset=utf-8,Polymer.nar%20%3D%20%5B%5D%3B%0APolymer.Annotations%20%3D%20%7B%0AparseAnnotations%3A%20function%20(template)%20%7B%0Avar%20list%20%3D%20%5B%5D%3B%0Avar%20content%20%3D%20template._content%20%7C%7C%20template.content%3B%0Athis._parseNodeAnnotations(content%2C%20list%2C%20template.hasAttribute('strip-whitespace'))%3B%0Areturn%20list%3B%0A%7D%2C%0A_parseNodeAnnotations%3A%20function%20(node%2C%20list%2C%20stripWhiteSpace)%20%7B%0Areturn%20node.nodeType%20%3D%3D%3D%20Node.TEXT_NODE%20%3F%20this._parseTextNodeAnnotation(node%2C%20list)%20%3A%20this._parseElementAnnotations(node%2C%20list%2C%20stripWhiteSpace)%3B%0A%7D%2C%0A_bindingRegex%3A%20function%20()%20%7B%0Avar%20IDENT%20%3D%20'(%3F%3A'%20%2B%20'%5Ba-zA-Z_%24%5D%5B%5C%5Cw.%3A%24%5C%5C-*%5D*'%20%2B%20')'%3B%0Avar%20NUMBER%20%3D%20'(%3F%3A'%20%2B%20'%5B-%2B%5D%3F%5B0-9%5D*%5C%5C.%3F%5B0-9%5D%2B(%3F%3A%5BeE%5D%5B-%2B%5D%3F%5B0-9%5D%2B)%3F'%20%2B%20')'%3B%0Avar%20SQUOTE_STRING%20%3D%20'(%3F%3A'%20%2B%20'%5C'(%3F%3A%5B%5E%5C'%5C%5C%5C%5C%5D%7C%5C%5C%5C%5C.)*%5C''%20%2B%20')'%3B%0Avar%20DQUOTE_STRING%20%3D%20'(%3F%3A'%20%2B%20'%22(%3F%3A%5B%5E%22%5C%5C%5C%5C%5D%7C%5C%5C%5C%5C.)*%22'%20%2B%20')'%3B%0Avar%20STRING%20%3D%20'(%3F%3A'%20%2B%20SQUOTE_STRING%20%2B%20'%7C'%20%2B%20DQUOTE_STRING%20%2B%20')'%3B%0Avar%20ARGUMENT%20%3D%20'(%3F%3A'%20%2B%20IDENT%20%2B%20'%7C'%20%2B%20NUMBER%20%2B%20'%7C'%20%2B%20STRING%20%2B%20'%5C%5Cs*'%20%2B%20')'%3B%0Avar%20ARGUMENTS%20%3D%20'(%3F%3A'%20%2B%20ARGUMENT%20%2B%20'(%3F%3A%2C%5C%5Cs*'%20%2B%20ARGUMENT%20%2B%20')*'%20%2B%20')'%3B%0Avar%20ARGUMENT_LIST%20%3D%20'(%3F%3A'%20%2B%20'%5C%5C(%5C%5Cs*'%20%2B%20'(%3F%3A'%20%2B%20ARGUMENTS%20%2B%20'%3F'%20%2B%20')'%20%2B%20'%5C%5C)%5C%5Cs*'%20%2B%20')'%3B%0Avar%20BINDING%20%3D%20'('%20%2B%20IDENT%20%2B%20'%5C%5Cs*'%20%2B%20ARGUMENT_LIST%20%2B%20'%3F'%20%2B%20')'%3B%0Avar%20OPEN_BRACKET%20%3D%20'(%5C%5C%5B%5C%5C%5B%7C%7B%7B)'%20%2B%20'%5C%5Cs*'%3B%0Avar%20CLOSE_BRACKET%20%3D%20'(%3F%3A%5D%5D%7C%7D%7D)'%3B%0Avar%20NEGATE%20%3D%20'(%3F%3A(!)%5C%5Cs*)%3F'%3B%0Avar%20EXPRESSION%20%3D%20OPEN_BRACKET%20%2B%20NEGATE%20%2B%20BINDING%20%2B%20CLOSE_BRACKET%3B%0Areturn%20new%20RegExp(EXPRESSION%2C%20'g')%3B%0A%7D()%2C%0A_parseBindings%3A%20function%20(text)%20%7B%0Avar%20re%20%3D%20this._bindingRegex%3B%0Avar%20parts%20%3D%20%5B%5D%3B%0Avar%20lastIndex%20%3D%200%3B%0Avar%20m%3B%0Awhile%20((m%20%3D%20re.exec(text))%20!%3D%3D%20null)%20%7B%0Aif%20(m.index%20%3E%20lastIndex)%20%7B%0Aparts.push(%7B%20literal%3A%20text.slice(lastIndex%2C%20m.index)%20%7D)%3B%0A%7D%0Avar%20mode%20%3D%20m%5B1%5D%5B0%5D%3B%0Avar%20negate%20%3D%20Boolean(m%5B2%5D)%3B%0Avar%20value%20%3D%20m%5B3%5D.trim()%3B%0Avar%20customEvent%2C%20notifyEvent%2C%20colon%3B%0Aif%20(mode%20%3D%3D%20'%7B'%20%26%26%20(colon%20%3D%20value.indexOf('%3A%3A'))%20%3E%200)%20%7B%0AnotifyEvent%20%3D%20value.substring(colon%20%2B%202)%3B%0Avalue%20%3D%20value.substring(0%2C%20colon)%3B%0AcustomEvent%20%3D%20true%3B%0A%7D%0Aparts.push(%7B%0AcompoundIndex%3A%20parts.length%2C%0Avalue%3A%20value%2C%0Amode%3A%20mode%2C%0Anegate%3A%20negate%2C%0Aevent%3A%20notifyEvent%2C%0AcustomEvent%3A%20customEvent%0A%7D)%3B%0AlastIndex%20%3D%20re.lastIndex%3B%0A%7D%0Aif%20(lastIndex%20%26%26%20lastIndex%20%3C%20text.length)%20%7B%0Avar%20literal%20%3D%20text.substring(lastIndex)%3B%0Aif%20(literal)%20%7B%0Aparts.push(%7B%20literal%3A%20literal%20%7D)%3B%0A%7D%0A%7D%0Aif%20(parts.length)%20%7B%0Areturn%20parts%3B%0A%7D%0A%7D%2C%0A_literalFromParts%3A%20function%20(parts)%20%7B%0Avar%20s%20%3D%20''%3B%0Afor%20(var%20i%20%3D%200%3B%20i%20%3C%20parts.length%3B%20i%2B%2B)%20%7B%0Avar%20literal%20%3D%20parts%5Bi%5D.literal%3B%0As%20%2B%3D%20literal%20%7C%7C%20''%3B%0A%7D%0Areturn%20s%3B%0A%7D%2C%0A_parseTextNodeAnnotation%3A%20function%20(node%2C%20list)%20%7B%0Avar%20parts%20%3D%20this._parseBindings(node.textContent)%3B%0Aif%20(parts)%20%7B%0Anode.textContent%20%3D%20this._literalFromParts(parts)%20%7C%7C%20'%20'%3B%0Avar%20annote%20%3D%20%7B%0Abindings%3A%20%5B%7B%0Akind%3A%20'text'%2C%0Aname%3A%20'textContent'%2C%0Aparts%3A%20parts%2C%0AisCompound%3A%20parts.length%20!%3D%3D%201%0A%7D%5D%0A%7D%3B%0Alist.push(annote)%3B%0Areturn%20annote%3B%0A%7D%0A%7D%2C%0A_parseElementAnnotations%3A%20function%20(element%2C%20list%2C%20stripWhiteSpace)%20%7B%0Avar%20annote%20%3D%20%7B%0Abindings%3A%20%5B%5D%2C%0Aevents%3A%20%5B%5D%0A%7D%3B%0Aif%20(element.localName%20%3D%3D%3D%20'content')%20%7B%0Alist._hasContent%20%3D%20true%3B%0A%7D%0Athis._parseChildNodesAnnotations(element%2C%20annote%2C%20list%2C%20stripWhiteSpace)%3B%0Aif%20(element.attributes)%20%7B%0Athis._parseNodeAttributeAnnotations(element%2C%20annote%2C%20list)%3B%0Aif%20(this.prepElement)%20%7B%0Athis.prepElement(element)%3B%0A%7D%0A%7D%0Aif%20(annote.bindings.length%20%7C%7C%20annote.events.length%20%7C%7C%20annote.id)%20%7B%0Alist.push(annote)%3B%0A%7D%0Areturn%20annote%3B%0A%7D%2C%0A_parseChildNodesAnnotations%3A%20function%20(root%2C%20annote%2C%20list%2C%20stripWhiteSpace)%20%7B%0Aif%20(root.firstChild)%20%7B%0Avar%20node%20%3D%20root.firstChild%3B%0Avar%20i%20%3D%200%3B%0Awhile%20(node)%20%7B%0Avar%20next%20%3D%20node.nextSibling%3B%0Aif%20(node.localName%20%3D%3D%3D%20'template'%20%26%26%20!node.hasAttribute('preserve-content'))%20%7B%0Athis._parseTemplate(node%2C%20i%2C%20list%2C%20annote)%3B%0A%7D%0Aif%20(node.localName%20%3D%3D%20'slot')%20%7B%0Anode%20%3D%20this._replaceSlotWithContent(node)%3B%0A%7D%0Aif%20(node.nodeType%20%3D%3D%3D%20Node.TEXT_NODE)%20%7B%0Avar%20n%20%3D%20next%3B%0Awhile%20(n%20%26%26%20n.nodeType%20%3D%3D%3D%20Node.TEXT_NODE)%20%7B%0Anode.textContent%20%2B%3D%20n.textContent%3B%0Anext%20%3D%20n.nextSibling%3B%0Aroot.removeChild(n)%3B%0An%20%3D%20next%3B%0A%7D%0Aif%20(stripWhiteSpace%20%26%26%20!node.textContent.trim())%20%7B%0Aroot.removeChild(node)%3B%0Ai--%3B%0A%7D%0A%7D%0Aif%20(node.parentNode)%20%7B%0Avar%20childAnnotation%20%3D%20this._parseNodeAnnotations(node%2C%20list%2C%20stripWhiteSpace)%3B%0Aif%20(childAnnotation)%20%7B%0AchildAnnotation.parent%20%3D%20annote%3B%0AchildAnnotation.index%20%3D%20i%3B%0A%7D%0A%7D%0Anode%20%3D%20next%3B%0Ai%2B%2B%3B%0A%7D%0A%7D%0A%7D%2C%0A_replaceSlotWithContent%3A%20function%20(slot)%20%7B%0Avar%20content%20%3D%20slot.ownerDocument.createElement('content')%3B%0Awhile%20(slot.firstChild)%20%7B%0Acontent.appendChild(slot.firstChild)%3B%0A%7D%0Avar%20attrs%20%3D%20slot.attributes%3B%0Afor%20(var%20i%20%3D%200%3B%20i%20%3C%20attrs.length%3B%20i%2B%2B)%20%7B%0Avar%20attr%20%3D%20attrs%5Bi%5D%3B%0Acontent.setAttribute(attr.name%2C%20attr.value)%3B%0A%7D%0Avar%20name%20%3D%20slot.getAttribute('name')%3B%0Aif%20(name)%20%7B%0Acontent.setAttribute('select'%2C%20'%5Bslot%3D%5C''%20%2B%20name%20%2B%20'%5C'%5D')%3B%0A%7D%0Aslot.parentNode.replaceChild(content%2C%20slot)%3B%0Areturn%20content%3B%0A%7D%2C%0A_parseTemplate%3A%20function%20(node%2C%20index%2C%20list%2C%20parent)%20%7B%0Avar%20content%20%3D%20document.createDocumentFragment()%3B%0Acontent._notes%20%3D%20this.parseAnnotations(node)%3B%0Acontent.appendChild(node.content)%3B%0Alist.push(%7B%0Abindings%3A%20Polymer.nar%2C%0Aevents%3A%20Polymer.nar%2C%0AtemplateContent%3A%20content%2C%0Aparent%3A%20parent%2C%0Aindex%3A%20index%0A%7D)%3B%0A%7D%2C%0A_parseNodeAttributeAnnotations%3A%20function%20(node%2C%20annotation)%20%7B%0Avar%20attrs%20%3D%20Array.prototype.slice.call(node.attributes)%3B%0Afor%20(var%20i%20%3D%20attrs.length%20-%201%2C%20a%3B%20a%20%3D%20attrs%5Bi%5D%3B%20i--)%20%7B%0Avar%20n%20%3D%20a.name%3B%0Avar%20v%20%3D%20a.value%3B%0Avar%20b%3B%0Aif%20(n.slice(0%2C%203)%20%3D%3D%3D%20'on-')%20%7B%0Anode.removeAttribute(n)%3B%0Aannotation.events.push(%7B%0Aname%3A%20n.slice(3)%2C%0Avalue%3A%20v%0A%7D)%3B%0A%7D%20else%20if%20(b%20%3D%20this._parseNodeAttributeAnnotation(node%2C%20n%2C%20v))%20%7B%0Aannotation.bindings.push(b)%3B%0A%7D%20else%20if%20(n%20%3D%3D%3D%20'id')%20%7B%0Aannotation.id%20%3D%20v%3B%0A%7D%0A%7D%0A%7D%2C%0A_parseNodeAttributeAnnotation%3A%20function%20(node%2C%20name%2C%20value)%20%7B%0Avar%20parts%20%3D%20this._parseBindings(value)%3B%0Aif%20(parts)%20%7B%0Avar%20origName%20%3D%20name%3B%0Avar%20kind%20%3D%20'property'%3B%0Aif%20(name%5Bname.length%20-%201%5D%20%3D%3D%20'%24')%20%7B%0Aname%20%3D%20name.slice(0%2C%20-1)%3B%0Akind%20%3D%20'attribute'%3B%0A%7D%0Avar%20literal%20%3D%20this._literalFromParts(parts)%3B%0Aif%20(literal%20%26%26%20kind%20%3D%3D%20'attribute')%20%7B%0Anode.setAttribute(name%2C%20literal)%3B%0A%7D%0Aif%20(node.localName%20%3D%3D%3D%20'input'%20%26%26%20origName%20%3D%3D%3D%20'value')%20%7B%0Anode.setAttribute(origName%2C%20'')%3B%0A%7D%0Anode.removeAttribute(origName)%3B%0Avar%20propertyName%20%3D%20Polymer.CaseMap.dashToCamelCase(name)%3B%0Aif%20(kind%20%3D%3D%3D%20'property')%20%7B%0Aname%20%3D%20propertyName%3B%0A%7D%0Areturn%20%7B%0Akind%3A%20kind%2C%0Aname%3A%20name%2C%0ApropertyName%3A%20propertyName%2C%0Aparts%3A%20parts%2C%0Aliteral%3A%20literal%2C%0AisCompound%3A%20parts.length%20!%3D%3D%201%0A%7D%3B%0A%7D%0A%7D%2C%0AfindAnnotatedNode%3A%20function%20(root%2C%20annote)%20%7B%0Avar%20parent%20%3D%20annote.parent%20%26%26%20Polymer.Annotations.findAnnotatedNode(root%2C%20annote.parent)%3B%0Aif%20(parent)%20%7B%0Afor%20(var%20n%20%3D%20parent.firstChild%2C%20i%20%3D%200%3B%20n%3B%20n%20%3D%20n.nextSibling)%20%7B%0Aif%20(annote.index%20%3D%3D%3D%20i%2B%2B)%20%7B%0Areturn%20n%3B%0A%7D%0A%7D%0A%7D%20else%20%7B%0Areturn%20root%3B%0A%7D%0A%7D%0A%7D%3B(function%20()%20%7B%0Afunction%20resolveCss(cssText%2C%20ownerDocument)%20%7B%0Areturn%20cssText.replace(CSS_URL_RX%2C%20function%20(m%2C%20pre%2C%20url%2C%20post)%20%7B%0Areturn%20pre%20%2B%20'%5C''%20%2B%20resolve(url.replace(%2F%5B%22'%5D%2Fg%2C%20'')%2C%20ownerDocument)%20%2B%20'%5C''%20%2B%20post%3B%0A%7D)%3B%0A%7D%0Afunction%20resolveAttrs(element%2C%20ownerDocument)%20%7B%0Afor%20(var%20name%20in%20URL_ATTRS)%20%7B%0Avar%20a%24%20%3D%20URL_ATTRS%5Bname%5D%3B%0Afor%20(var%20i%20%3D%200%2C%20l%20%3D%20a%24.length%2C%20a%2C%20at%2C%20v%3B%20i%20%3C%20l%20%26%26%20(a%20%3D%20a%24%5Bi%5D)%3B%20i%2B%2B)%20%7B%0Aif%20(name%20%3D%3D%3D%20'*'%20%7C%7C%20element.localName%20%3D%3D%3D%20name)%20%7B%0Aat%20%3D%20element.attributes%5Ba%5D%3B%0Av%20%3D%20at%20%26%26%20at.value%3B%0Aif%20(v%20%26%26%20v.search(BINDING_RX)%20%3C%200)%20%7B%0Aat.value%20%3D%20a%20%3D%3D%3D%20'style'%20%3F%20resolveCss(v%2C%20ownerDocument)%20%3A%20resolve(v%2C%20ownerDocument)%3B%0A%7D%0A%7D%0A%7D%0A%7D%0A%7D%0Afunction%20resolve(url%2C%20ownerDocument)%20%7B%0Aif%20(url%20%26%26%20ABS_URL.test(url))%20%7B%0Areturn%20url%3B%0A%7D%0Avar%20resolver%20%3D%20getUrlResolver(ownerDocument)%3B%0Aresolver.href%20%3D%20url%3B%0Areturn%20resolver.href%20%7C%7C%20url%3B%0A%7D%0Avar%20tempDoc%3B%0Avar%20tempDocBase%3B%0Afunction%20resolveUrl(url%2C%20baseUri)%20%7B%0Aif%20(!tempDoc)%20%7B%0AtempDoc%20%3D%20document.implementation.createHTMLDocument('temp')%3B%0AtempDocBase%20%3D%20tempDoc.createElement('base')%3B%0AtempDoc.head.appendChild(tempDocBase)%3B%0A%7D%0AtempDocBase.href%20%3D%20baseUri%3B%0Areturn%20resolve(url%2C%20tempDoc)%3B%0A%7D%0Afunction%20getUrlResolver(ownerDocument)%20%7B%0Areturn%20ownerDocument.body.__urlResolver%20%7C%7C%20(ownerDocum
164,5 77%
<unknown> at _notifyPath at data:text/javascript;charset=utf-8,Polymer.nar%20%3D%20%5B%5D%3B%0APolymer.Annotations%20%3D%20%7B%0AparseAnnotations%3A%20function%20(template)%20%7B%0Avar%20list%20%3D%20%5B%5D%3B%0Avar%20content%20%3D%20template._content%20%7C%7C%20template.content%3B%0Athis._parseNodeAnnotations(content%2C%20list%2C%20template.hasAttribute('strip-whitespace'))%3B%0Areturn%20list%3B%0A%7D%2C%0A_parseNodeAnnotations%3A%20function%20(node%2C%20list%2C%20stripWhiteSpace)%20%7B%0Areturn%20node.nodeType%20%3D%3D%3D%20Node.TEXT_NODE%20%3F%20this._parseTextNodeAnnotation(node%2C%20list)%20%3A%20this._parseElementAnnotations(node%2C%20list%2C%20stripWhiteSpace)%3B%0A%7D%2C%0A_bindingRegex%3A%20function%20()%20%7B%0Avar%20IDENT%20%3D%20'(%3F%3A'%20%2B%20'%5Ba-zA-Z_%24%5D%5B%5C%5Cw.%3A%24%5C%5C-*%5D*'%20%2B%20')'%3B%0Avar%20NUMBER%20%3D%20'(%3F%3A'%20%2B%20'%5B-%2B%5D%3F%5B0-9%5D*%5C%5C.%3F%5B0-9%5D%2B(%3F%3A%5BeE%5D%5B-%2B%5D%3F%5B0-9%5D%2B)%3F'%20%2B%20')'%3B%0Avar%20SQUOTE_STRING%20%3D%20'(%3F%3A'%20%2B%20'%5C'(%3F%3A%5B%5E%5C'%5C%5C%5C%5C%5D%7C%5C%5C%5C%5C.)*%5C''%20%2B%20')'%3B%0Avar%20DQUOTE_STRING%20%3D%20'(%3F%3A'%20%2B%20'%22(%3F%3A%5B%5E%22%5C%5C%5C%5C%5D%7C%5C%5C%5C%5C.)*%22'%20%2B%20')'%3B%0Avar%20STRING%20%3D%20'(%3F%3A'%20%2B%20SQUOTE_STRING%20%2B%20'%7C'%20%2B%20DQUOTE_STRING%20%2B%20')'%3B%0Avar%20ARGUMENT%20%3D%20'(%3F%3A'%20%2B%20IDENT%20%2B%20'%7C'%20%2B%20NUMBER%20%2B%20'%7C'%20%2B%20STRING%20%2B%20'%5C%5Cs*'%20%2B%20')'%3B%0Avar%20ARGUMENTS%20%3D%20'(%3F%3A'%20%2B%20ARGUMENT%20%2B%20'(%3F%3A%2C%5C%5Cs*'%20%2B%20ARGUMENT%20%2B%20')*'%20%2B%20')'%3B%0Avar%20ARGUMENT_LIST%20%3D%20'(%3F%3A'%20%2B%20'%5C%5C(%5C%5Cs*'%20%2B%20'(%3F%3A'%20%2B%20ARGUMENTS%20%2B%20'%3F'%20%2B%20')'%20%2B%20'%5C%5C)%5C%5Cs*'%20%2B%20')'%3B%0Avar%20BINDING%20%3D%20'('%20%2B%20IDENT%20%2B%20'%5C%5Cs*'%20%2B%20ARGUMENT_LIST%20%2B%20'%3F'%20%2B%20')'%3B%0Avar%20OPEN_BRACKET%20%3D%20'(%5C%5C%5B%5C%5C%5B%7C%7B%7B)'%20%2B%20'%5C%5Cs*'%3B%0Avar%20CLOSE_BRACKET%20%3D%20'(%3F%3A%5D%5D%7C%7D%7D)'%3B%0Avar%20NEGATE%20%3D%20'(%3F%3A(!)%5C%5Cs*)%3F'%3B%0Avar%20EXPRESSION%20%3D%20OPEN_BRACKET%20%2B%20NEGATE%20%2B%20BINDING%20%2B%20CLOSE_BRACKET%3B%0Areturn%20new%20RegExp(EXPRESSION%2C%20'g')%3B%0A%7D()%2C%0A_parseBindings%3A%20function%20(text)%20%7B%0Avar%20re%20%3D%20this._bindingRegex%3B%0Avar%20parts%20%3D%20%5B%5D%3B%0Avar%20lastIndex%20%3D%200%3B%0Avar%20m%3B%0Awhile%20((m%20%3D%20re.exec(text))%20!%3D%3D%20null)%20%7B%0Aif%20(m.index%20%3E%20lastIndex)%20%7B%0Aparts.push(%7B%20literal%3A%20text.slice(lastIndex%2C%20m.index)%20%7D)%3B%0A%7D%0Avar%20mode%20%3D%20m%5B1%5D%5B0%5D%3B%0Avar%20negate%20%3D%20Boolean(m%5B2%5D)%3B%0Avar%20value%20%3D%20m%5B3%5D.trim()%3B%0Avar%20customEvent%2C%20notifyEvent%2C%20colon%3B%0Aif%20(mode%20%3D%3D%20'%7B'%20%26%26%20(colon%20%3D%20value.indexOf('%3A%3A'))%20%3E%200)%20%7B%0AnotifyEvent%20%3D%20value.substring(colon%20%2B%202)%3B%0Avalue%20%3D%20value.substring(0%2C%20colon)%3B%0AcustomEvent%20%3D%20true%3B%0A%7D%0Aparts.push(%7B%0AcompoundIndex%3A%20parts.length%2C%0Avalue%3A%20value%2C%0Amode%3A%20mode%2C%0Anegate%3A%20negate%2C%0Aevent%3A%20notifyEvent%2C%0AcustomEvent%3A%20customEvent%0A%7D)%3B%0AlastIndex%20%3D%20re.lastIndex%3B%0A%7D%0Aif%20(lastIndex%20%26%26%20lastIndex%20%3C%20text.length)%20%7B%0Avar%20literal%20%3D%20text.substring(lastIndex)%3B%0Aif%20(literal)%20%7B%0Aparts.push(%7B%20literal%3A%20literal%20%7D)%3B%0A%7D%0A%7D%0Aif%20(parts.length)%20%7B%0Areturn%20parts%3B%0A%7D%0A%7D%2C%0A_literalFromParts%3A%20function%20(parts)%20%7B%0Avar%20s%20%3D%20''%3B%0Afor%20(var%20i%20%3D%200%3B%20i%20%3C%20parts.length%3B%20i%2B%2B)%20%7B%0Avar%20literal%20%3D%20parts%5Bi%5D.literal%3B%0As%20%2B%3D%20literal%20%7C%7C%20''%3B%0A%7D%0Areturn%20s%3B%0A%7D%2C%0A_parseTextNodeAnnotation%3A%20function%20(node%2C%20list)%20%7B%0Avar%20parts%20%3D%20this._parseBindings(node.textContent)%3B%0Aif%20(parts)%20%7B%0Anode.textContent%20%3D%20this._literalFromParts(parts)%20%7C%7C%20'%20'%3B%0Avar%20annote%20%3D%20%7B%0Abindings%3A%20%5B%7B%0Akind%3A%20'text'%2C%0Aname%3A%20'textContent'%2C%0Aparts%3A%20parts%2C%0AisCompound%3A%20parts.length%20!%3D%3D%201%0A%7D%5D%0A%7D%3B%0Alist.push(annote)%3B%0Areturn%20annote%3B%0A%7D%0A%7D%2C%0A_parseElementAnnotations%3A%20function%20(element%2C%20list%2C%20stripWhiteSpace)%20%7B%0Avar%20annote%20%3D%20%7B%0Abindings%3A%20%5B%5D%2C%0Aevents%3A%20%5B%5D%0A%7D%3B%0Aif%20(element.localName%20%3D%3D%3D%20'content')%20%7B%0Alist._hasContent%20%3D%20true%3B%0A%7D%0Athis._parseChildNodesAnnotations(element%2C%20annote%2C%20list%2C%20stripWhiteSpace)%3B%0Aif%20(element.attributes)%20%7B%0Athis._parseNodeAttributeAnnotations(element%2C%20annote%2C%20list)%3B%0Aif%20(this.prepElement)%20%7B%0Athis.prepElement(element)%3B%0A%7D%0A%7D%0Aif%20(annote.bindings.length%20%7C%7C%20annote.events.length%20%7C%7C%20annote.id)%20%7B%0Alist.push(annote)%3B%0A%7D%0Areturn%20annote%3B%0A%7D%2C%0A_parseChildNodesAnnotations%3A%20function%20(root%2C%20annote%2C%20list%2C%20stripWhiteSpace)%20%7B%0Aif%20(root.firstChild)%20%7B%0Avar%20node%20%3D%20root.firstChild%3B%0Avar%20i%20%3D%200%3B%0Awhile%20(node)%20%7B%0Avar%20next%20%3D%20node.nextSibling%3B%0Aif%20(node.localName%20%3D%3D%3D%20'template'%20%26%26%20!node.hasAttribute('preserve-content'))%20%7B%0Athis._parseTemplate(node%2C%20i%2C%20list%2C%20annote)%3B%0A%7D%0Aif%20(node.localName%20%3D%3D%20'slot')%20%7B%0Anode%20%3D%20this._replaceSlotWithContent(node)%3B%0A%7D%0Aif%20(node.nodeType%20%3D%3D%3D%20Node.TEXT_NODE)%20%7B%0Avar%20n%20%3D%20next%3B%0Awhile%20(n%20%26%26%20n.nodeType%20%3D%3D%3D%20Node.TEXT_NODE)%20%7B%0Anode.textContent%20%2B%3D%20n.textContent%3B%0Anext%20%3D%20n.nextSibling%3B%0Aroot.removeChild(n)%3B%0An%20%3D%20next%3B%0A%7D%0Aif%20(stripWhiteSpace%20%26%26%20!node.textContent.trim())%20%7B%0Aroot.removeChild(node)%3B%0Ai--%3B%0A%7D%0A%7D%0Aif%20(node.parentNode)%20%7B%0Avar%20childAnnotation%20%3D%20this._parseNodeAnnotations(node%2C%20list%2C%20stripWhiteSpace)%3B%0Aif%20(childAnnotation)%20%7B%0AchildAnnotation.parent%20%3D%20annote%3B%0AchildAnnotation.index%20%3D%20i%3B%0A%7D%0A%7D%0Anode%20%3D%20next%3B%0Ai%2B%2B%3B%0A%7D%0A%7D%0A%7D%2C%0A_replaceSlotWithContent%3A%20function%20(slot)%20%7B%0Avar%20content%20%3D%20slot.ownerDocument.createElement('content')%3B%0Awhile%20(slot.firstChild)%20%7B%0Acontent.appendChild(slot.firstChild)%3B%0A%7D%0Avar%20attrs%20%3D%20slot.attributes%3B%0Afor%20(var%20i%20%3D%200%3B%20i%20%3C%20attrs.length%3B%20i%2B%2B)%20%7B%0Avar%20attr%20%3D%20attrs%5Bi%5D%3B%0Acontent.setAttribute(attr.name%2C%20attr.value)%3B%0A%7D%0Avar%20name%20%3D%20slot.getAttribute('name')%3B%0Aif%20(name)%20%7B%0Acontent.setAttribute('select'%2C%20'%5Bslot%3D%5C''%20%2B%20name%20%2B%20'%5C'%5D')%3B%0A%7D%0Aslot.parentNode.replaceChild(content%2C%20slot)%3B%0Areturn%20content%3B%0A%7D%2C%0A_parseTemplate%3A%20function%20(node%2C%20index%2C%20list%2C%20parent)%20%7B%0Avar%20content%20%3D%20document.createDocumentFragment()%3B%0Acontent._notes%20%3D%20this.parseAnnotations(node)%3B%0Acontent.appendChild(node.content)%3B%0Alist.push(%7B%0Abindings%3A%20Polymer.nar%2C%0Aevents%3A%20Polymer.nar%2C%0AtemplateContent%3A%20content%2C%0Aparent%3A%20parent%2C%0Aindex%3A%20index%0A%7D)%3B%0A%7D%2C%0A_parseNodeAttributeAnnotations%3A%20function%20(node%2C%20annotation)%20%7B%0Avar%20attrs%20%3D%20Array.prototype.slice.call(node.attributes)%3B%0Afor%20(var%20i%20%3D%20attrs.length%20-%201%2C%20a%3B%20a%20%3D%20attrs%5Bi%5D%3B%20i--)%20%7B%0Avar%20n%20%3D%20a.name%3B%0Avar%20v%20%3D%20a.value%3B%0Avar%20b%3B%0Aif%20(n.slice(0%2C%203)%20%3D%3D%3D%20'on-')%20%7B%0Anode.removeAttribute(n)%3B%0Aannotation.events.push(%7B%0Aname%3A%20n.slice(3)%2C%0Avalue%3A%20v%0A%7D)%3B%0A%7D%20else%20if%20(b%20%3D%20this._parseNodeAttributeAnnotation(node%2C%20n%2C%20v))%20%7B%0Aannotation.bindings.push(b)%3B%0A%7D%20else%20if%20(n%20%3D%3D%3D%20'id')%20%7B%0Aannotation.id%20%3D%20v%3B%0A%7D%0A%7D%0A%7D%2C%0A_parseNodeAttributeAnnotation%3A%20function%20(node%2C%20name%2C%20value)%20%7B%0Avar%20parts%20%3D%20this._parseBindings(value)%3B%0Aif%20(parts)%20%7B%0Avar%20origName%20%3D%20name%3B%0Avar%20kind%20%3D%20'property'%3B%0Aif%20(name%5Bname.length%20-%201%5D%20%3D%3D%20'%24')%20%7B%0Aname%20%3D%20name.slice(0%2C%20-1)%3B%0Akind%20%3D%20'attribute'%3B%0A%7D%0Avar%20literal%20%3D%20this._literalFromParts(parts)%3B%0Aif%20(literal%20%26%26%20kind%20%3D%3D%20'attribute')%20%7B%0Anode.setAttribute(name%2C%20literal)%3B%0A%7D%0Aif%20(node.localName%20%3D%3D%3D%20'input'%20%26%26%20origName%20%3D%3D%3D%20'value')%20%7B%0Anode.setAttribute(origName%2C%20'')%3B%0A%7D%0Anode.removeAttribute(origName)%3B%0Avar%20propertyName%20%3D%20Polymer.CaseMap.dashToCamelCase(name)%3B%0Aif%20(kind%20%3D%3D%3D%20'property')%20%7B%0Aname%20%3D%20propertyName%3B%0A%7D%0Areturn%20%7B%0Akind%3A%20kind%2C%0Aname%3A%20name%2C%0ApropertyName%3A%20propertyName%2C%0Aparts%3A%20parts%2C%0Aliteral%3A%20literal%2C%0AisCompound%3A%20parts.length%20!%3D%3D%201%0A%7D%3B%0A%7D%0A%7D%2C%0AfindAnnotatedNode%3A%20function%20(root%2C%20annote)%20%7B%0Avar%20parent%20%3D%20annote.parent%20%26%26%20Polymer.Annotations.findAnnotatedNode(root%2C%20annote.parent)%3B%0Aif%20(parent)%20%7B%0Afor%20(var%20n%20%3D%20parent.firstChild%2C%20i%20%3D%200%3B%20n%3B%20n%20%3D%20n.nextSibling)%20%7B%0Aif%20(annote.index%20%3D%3D%3D%20i%2B%2B)%20%7B%0Areturn%20n%3B%0A%7D%0A%7D%0A%7D%20else%20%7B%0Areturn%20root%3B%0A%7D%0A%7D%0A%7D%3B(function%20()%20%7B%0Afunction%20resolveCss(cssText%2C%20ownerDocument)%20%7B%0Areturn%20cssText.replace(CSS_URL_RX%2C%20function%20(m%2C%20pre%2C%20url%2C%20post)%20%7B%0Areturn%20pre%20%2B%20'%5C''%20%2B%20resolve(url.replace(%2F%5B%22'%5D%2Fg%2C%20'')%2C%20ownerDocument)%20%2B%20'%5C''%20%2B%20post%3B%0A%7D)%3B%0A%7D%0Afunction%20resolveAttrs(element%2C%20ownerDocument)%20%7B%0Afor%20(var%20name%20in%20URL_ATTRS)%20%7B%0Avar%20a%24%20%3D%20URL_ATTRS%5Bname%5D%3B%0Afor%20(var%20i%20%3D%200%2C%20l%20%3D%20a%24.length%2C%20a%2C%20at%2C%20v%3B%20i%20%3C%20l%20%26%26%20(a%20%3D%20a%24%5Bi%5D)%3B%20i%2B%2B)%20%7B%0Aif%20(name%20%3D%3D%3D%20'*'%20%7C%7C%20element.localName%20%3D%3D%3D%20name)%20%7B%0Aat%20%3D%20element.attributes%5Ba%5D%3B%0Av%20%3D%20at%20%26%26%20at.value%3B%0Aif%20(v%20%26%26%20v.search(BINDING_RX)%20%3C%200)%20%7B%0Aat.value%20%3D%20a%20%3D%3D%3D%20'style'%20%3F%20resolveCss(v%2C%20ownerDocument)%20%3A%20resolve(v%2C%20ownerDocument)%3B%0A%7D%0A%7D%0A%7D%0A%7D%0A%7D%0Afunction%20resolve(url%2C%20ownerDocument)%20%7B%0Aif%20(url%20%26%26%20ABS_URL.test(url))%20%7B%0Areturn%20url%3B%0A%7D%0Avar%20resolver%20%3D%20getUrlResolver(ownerDocument)%3B%0Aresolver.href%20%3D%20url%3B%0Areturn%20resolver.href%20%7C%7C%20url%3B%0A%7D%0Avar%20tempDoc%3B%0Avar%20tempDocBase%3B%0Afunction%20resolveUrl(url%2C%20baseUri)%20%7B%0Aif%20(!tempDoc)%20%7B%0AtempDoc%20%3D%20document.implementation.createHTMLDocument('temp')%3B%0AtempDocBase%20%3D%20tempDoc.createElement('base')%3B%0AtempDoc.head.appendChild(tempDocBase)%3B%0A%7D%0AtempDocBase.href%20%3D%20baseUri%3B%0Areturn%20resolve(url%2C%20tempDoc)%3B%0A%7D%0Afunction%20getUrlResolver(ownerDocument)%20%7B%0Areturn%20ownerDocument.body.__urlResolver%20%7C%7C%20(ownerDocum
165,5 78%
<unknown> at _notifySplices at data:text/javascript;charset=utf-8,Polymer.nar%20%3D%20%5B%5D%3B%0APolymer.Annotations%20%3D%20%7B%0AparseAnnotations%3A%20function%20(template)%20%7B%0Avar%20list%20%3D%20%5B%5D%3B%0Avar%20content%20%3D%20template._content%20%7C%7C%20template.content%3B%0Athis._parseNodeAnnotations(content%2C%20list%2C%20template.hasAttribute('strip-whitespace'))%3B%0Areturn%20list%3B%0A%7D%2C%0A_parseNodeAnnotations%3A%20function%20(node%2C%20list%2C%20stripWhiteSpace)%20%7B%0Areturn%20node.nodeType%20%3D%3D%3D%20Node.TEXT_NODE%20%3F%20this._parseTextNodeAnnotation(node%2C%20list)%20%3A%20this._parseElementAnnotations(node%2C%20list%2C%20stripWhiteSpace)%3B%0A%7D%2C%0A_bindingRegex%3A%20function%20()%20%7B%0Avar%20IDENT%20%3D%20'(%3F%3A'%20%2B%20'%5Ba-zA-Z_%24%5D%5B%5C%5Cw.%3A%24%5C%5C-*%5D*'%20%2B%20')'%3B%0Avar%20NUMBER%20%3D%20'(%3F%3A'%20%2B%20'%5B-%2B%5D%3F%5B0-9%5D*%5C%5C.%3F%5B0-9%5D%2B(%3F%3A%5BeE%5D%5B-%2B%5D%3F%5B0-9%5D%2B)%3F'%20%2B%20')'%3B%0Avar%20SQUOTE_STRING%20%3D%20'(%3F%3A'%20%2B%20'%5C'(%3F%3A%5B%5E%5C'%5C%5C%5C%5C%5D%7C%5C%5C%5C%5C.)*%5C''%20%2B%20')'%3B%0Avar%20DQUOTE_STRING%20%3D%20'(%3F%3A'%20%2B%20'%22(%3F%3A%5B%5E%22%5C%5C%5C%5C%5D%7C%5C%5C%5C%5C.)*%22'%20%2B%20')'%3B%0Avar%20STRING%20%3D%20'(%3F%3A'%20%2B%20SQUOTE_STRING%20%2B%20'%7C'%20%2B%20DQUOTE_STRING%20%2B%20')'%3B%0Avar%20ARGUMENT%20%3D%20'(%3F%3A'%20%2B%20IDENT%20%2B%20'%7C'%20%2B%20NUMBER%20%2B%20'%7C'%20%2B%20STRING%20%2B%20'%5C%5Cs*'%20%2B%20')'%3B%0Avar%20ARGUMENTS%20%3D%20'(%3F%3A'%20%2B%20ARGUMENT%20%2B%20'(%3F%3A%2C%5C%5Cs*'%20%2B%20ARGUMENT%20%2B%20')*'%20%2B%20')'%3B%0Avar%20ARGUMENT_LIST%20%3D%20'(%3F%3A'%20%2B%20'%5C%5C(%5C%5Cs*'%20%2B%20'(%3F%3A'%20%2B%20ARGUMENTS%20%2B%20'%3F'%20%2B%20')'%20%2B%20'%5C%5C)%5C%5Cs*'%20%2B%20')'%3B%0Avar%20BINDING%20%3D%20'('%20%2B%20IDENT%20%2B%20'%5C%5Cs*'%20%2B%20ARGUMENT_LIST%20%2B%20'%3F'%20%2B%20')'%3B%0Avar%20OPEN_BRACKET%20%3D%20'(%5C%5C%5B%5C%5C%5B%7C%7B%7B)'%20%2B%20'%5C%5Cs*'%3B%0Avar%20CLOSE_BRACKET%20%3D%20'(%3F%3A%5D%5D%7C%7D%7D)'%3B%0Avar%20NEGATE%20%3D%20'(%3F%3A(!)%5C%5Cs*)%3F'%3B%0Avar%20EXPRESSION%20%3D%20OPEN_BRACKET%20%2B%20NEGATE%20%2B%20BINDING%20%2B%20CLOSE_BRACKET%3B%0Areturn%20new%20RegExp(EXPRESSION%2C%20'g')%3B%0A%7D()%2C%0A_parseBindings%3A%20function%20(text)%20%7B%0Avar%20re%20%3D%20this._bindingRegex%3B%0Avar%20parts%20%3D%20%5B%5D%3B%0Avar%20lastIndex%20%3D%200%3B%0Avar%20m%3B%0Awhile%20((m%20%3D%20re.exec(text))%20!%3D%3D%20null)%20%7B%0Aif%20(m.index%20%3E%20lastIndex)%20%7B%0Aparts.push(%7B%20literal%3A%20text.slice(lastIndex%2C%20m.index)%20%7D)%3B%0A%7D%0Avar%20mode%20%3D%20m%5B1%5D%5B0%5D%3B%0Avar%20negate%20%3D%20Boolean(m%5B2%5D)%3B%0Avar%20value%20%3D%20m%5B3%5D.trim()%3B%0Avar%20customEvent%2C%20notifyEvent%2C%20colon%3B%0Aif%20(mode%20%3D%3D%20'%7B'%20%26%26%20(colon%20%3D%20value.indexOf('%3A%3A'))%20%3E%200)%20%7B%0AnotifyEvent%20%3D%20value.substring(colon%20%2B%202)%3B%0Avalue%20%3D%20value.substring(0%2C%20colon)%3B%0AcustomEvent%20%3D%20true%3B%0A%7D%0Aparts.push(%7B%0AcompoundIndex%3A%20parts.length%2C%0Avalue%3A%20value%2C%0Amode%3A%20mode%2C%0Anegate%3A%20negate%2C%0Aevent%3A%20notifyEvent%2C%0AcustomEvent%3A%20customEvent%0A%7D)%3B%0AlastIndex%20%3D%20re.lastIndex%3B%0A%7D%0Aif%20(lastIndex%20%26%26%20lastIndex%20%3C%20text.length)%20%7B%0Avar%20literal%20%3D%20text.substring(lastIndex)%3B%0Aif%20(literal)%20%7B%0Aparts.push(%7B%20literal%3A%20literal%20%7D)%3B%0A%7D%0A%7D%0Aif%20(parts.length)%20%7B%0Areturn%20parts%3B%0A%7D%0A%7D%2C%0A_literalFromParts%3A%20function%20(parts)%20%7B%0Avar%20s%20%3D%20''%3B%0Afor%20(var%20i%20%3D%200%3B%20i%20%3C%20parts.length%3B%20i%2B%2B)%20%7B%0Avar%20literal%20%3D%20parts%5Bi%5D.literal%3B%0As%20%2B%3D%20literal%20%7C%7C%20''%3B%0A%7D%0Areturn%20s%3B%0A%7D%2C%0A_parseTextNodeAnnotation%3A%20function%20(node%2C%20list)%20%7B%0Avar%20parts%20%3D%20this._parseBindings(node.textContent)%3B%0Aif%20(parts)%20%7B%0Anode.textContent%20%3D%20this._literalFromParts(parts)%20%7C%7C%20'%20'%3B%0Avar%20annote%20%3D%20%7B%0Abindings%3A%20%5B%7B%0Akind%3A%20'text'%2C%0Aname%3A%20'textContent'%2C%0Aparts%3A%20parts%2C%0AisCompound%3A%20parts.length%20!%3D%3D%201%0A%7D%5D%0A%7D%3B%0Alist.push(annote)%3B%0Areturn%20annote%3B%0A%7D%0A%7D%2C%0A_parseElementAnnotations%3A%20function%20(element%2C%20list%2C%20stripWhiteSpace)%20%7B%0Avar%20annote%20%3D%20%7B%0Abindings%3A%20%5B%5D%2C%0Aevents%3A%20%5B%5D%0A%7D%3B%0Aif%20(element.localName%20%3D%3D%3D%20'content')%20%7B%0Alist._hasContent%20%3D%20true%3B%0A%7D%0Athis._parseChildNodesAnnotations(element%2C%20annote%2C%20list%2C%20stripWhiteSpace)%3B%0Aif%20(element.attributes)%20%7B%0Athis._parseNodeAttributeAnnotations(element%2C%20annote%2C%20list)%3B%0Aif%20(this.prepElement)%20%7B%0Athis.prepElement(element)%3B%0A%7D%0A%7D%0Aif%20(annote.bindings.length%20%7C%7C%20annote.events.length%20%7C%7C%20annote.id)%20%7B%0Alist.push(annote)%3B%0A%7D%0Areturn%20annote%3B%0A%7D%2C%0A_parseChildNodesAnnotations%3A%20function%20(root%2C%20annote%2C%20list%2C%20stripWhiteSpace)%20%7B%0Aif%20(root.firstChild)%20%7B%0Avar%20node%20%3D%20root.firstChild%3B%0Avar%20i%20%3D%200%3B%0Awhile%20(node)%20%7B%0Avar%20next%20%3D%20node.nextSibling%3B%0Aif%20(node.localName%20%3D%3D%3D%20'template'%20%26%26%20!node.hasAttribute('preserve-content'))%20%7B%0Athis._parseTemplate(node%2C%20i%2C%20list%2C%20annote)%3B%0A%7D%0Aif%20(node.localName%20%3D%3D%20'slot')%20%7B%0Anode%20%3D%20this._replaceSlotWithContent(node)%3B%0A%7D%0Aif%20(node.nodeType%20%3D%3D%3D%20Node.TEXT_NODE)%20%7B%0Avar%20n%20%3D%20next%3B%0Awhile%20(n%20%26%26%20n.nodeType%20%3D%3D%3D%20Node.TEXT_NODE)%20%7B%0Anode.textContent%20%2B%3D%20n.textContent%3B%0Anext%20%3D%20n.nextSibling%3B%0Aroot.removeChild(n)%3B%0An%20%3D%20next%3B%0A%7D%0Aif%20(stripWhiteSpace%20%26%26%20!node.textContent.trim())%20%7B%0Aroot.removeChild(node)%3B%0Ai--%3B%0A%7D%0A%7D%0Aif%20(node.parentNode)%20%7B%0Avar%20childAnnotation%20%3D%20this._parseNodeAnnotations(node%2C%20list%2C%20stripWhiteSpace)%3B%0Aif%20(childAnnotation)%20%7B%0AchildAnnotation.parent%20%3D%20annote%3B%0AchildAnnotation.index%20%3D%20i%3B%0A%7D%0A%7D%0Anode%20%3D%20next%3B%0Ai%2B%2B%3B%0A%7D%0A%7D%0A%7D%2C%0A_replaceSlotWithContent%3A%20function%20(slot)%20%7B%0Avar%20content%20%3D%20slot.ownerDocument.createElement('content')%3B%0Awhile%20(slot.firstChild)%20%7B%0Acontent.appendChild(slot.firstChild)%3B%0A%7D%0Avar%20attrs%20%3D%20slot.attributes%3B%0Afor%20(var%20i%20%3D%200%3B%20i%20%3C%20attrs.length%3B%20i%2B%2B)%20%7B%0Avar%20attr%20%3D%20attrs%5Bi%5D%3B%0Acontent.setAttribute(attr.name%2C%20attr.value)%3B%0A%7D%0Avar%20name%20%3D%20slot.getAttribute('name')%3B%0Aif%20(name)%20%7B%0Acontent.setAttribute('select'%2C%20'%5Bslot%3D%5C''%20%2B%20name%20%2B%20'%5C'%5D')%3B%0A%7D%0Aslot.parentNode.replaceChild(content%2C%20slot)%3B%0Areturn%20content%3B%0A%7D%2C%0A_parseTemplate%3A%20function%20(node%2C%20index%2C%20list%2C%20parent)%20%7B%0Avar%20content%20%3D%20document.createDocumentFragment()%3B%0Acontent._notes%20%3D%20this.parseAnnotations(node)%3B%0Acontent.appendChild(node.content)%3B%0Alist.push(%7B%0Abindings%3A%20Polymer.nar%2C%0Aevents%3A%20Polymer.nar%2C%0AtemplateContent%3A%20content%2C%0Aparent%3A%20parent%2C%0Aindex%3A%20index%0A%7D)%3B%0A%7D%2C%0A_parseNodeAttributeAnnotations%3A%20function%20(node%2C%20annotation)%20%7B%0Avar%20attrs%20%3D%20Array.prototype.slice.call(node.attributes)%3B%0Afor%20(var%20i%20%3D%20attrs.length%20-%201%2C%20a%3B%20a%20%3D%20attrs%5Bi%5D%3B%20i--)%20%7B%0Avar%20n%20%3D%20a.name%3B%0Avar%20v%20%3D%20a.value%3B%0Avar%20b%3B%0Aif%20(n.slice(0%2C%203)%20%3D%3D%3D%20'on-')%20%7B%0Anode.removeAttribute(n)%3B%0Aannotation.events.push(%7B%0Aname%3A%20n.slice(3)%2C%0Avalue%3A%20v%0A%7D)%3B%0A%7D%20else%20if%20(b%20%3D%20this._parseNodeAttributeAnnotation(node%2C%20n%2C%20v))%20%7B%0Aannotation.bindings.push(b)%3B%0A%7D%20else%20if%20(n%20%3D%3D%3D%20'id')%20%7B%0Aannotation.id%20%3D%20v%3B%0A%7D%0A%7D%0A%7D%2C%0A_parseNodeAttributeAnnotation%3A%20function%20(node%2C%20name%2C%20value)%20%7B%0Avar%20parts%20%3D%20this._parseBindings(value)%3B%0Aif%20(parts)%20%7B%0Avar%20origName%20%3D%20name%3B%0Avar%20kind%20%3D%20'property'%3B%0Aif%20(name%5Bname.length%20-%201%5D%20%3D%3D%20'%24')%20%7B%0Aname%20%3D%20name.slice(0%2C%20-1)%3B%0Akind%20%3D%20'attribute'%3B%0A%7D%0Avar%20literal%20%3D%20this._literalFromParts(parts)%3B%0Aif%20(literal%20%26%26%20kind%20%3D%3D%20'attribute')%20%7B%0Anode.setAttribute(name%2C%20literal)%3B%0A%7D%0Aif%20(node.localName%20%3D%3D%3D%20'input'%20%26%26%20origName%20%3D%3D%3D%20'value')%20%7B%0Anode.setAttribute(origName%2C%20'')%3B%0A%7D%0Anode.removeAttribute(origName)%3B%0Avar%20propertyName%20%3D%20Polymer.CaseMap.dashToCamelCase(name)%3B%0Aif%20(kind%20%3D%3D%3D%20'property')%20%7B%0Aname%20%3D%20propertyName%3B%0A%7D%0Areturn%20%7B%0Akind%3A%20kind%2C%0Aname%3A%20name%2C%0ApropertyName%3A%20propertyName%2C%0Aparts%3A%20parts%2C%0Aliteral%3A%20literal%2C%0AisCompound%3A%20parts.length%20!%3D%3D%201%0A%7D%3B%0A%7D%0A%7D%2C%0AfindAnnotatedNode%3A%20function%20(root%2C%20annote)%20%7B%0Avar%20parent%20%3D%20annote.parent%20%26%26%20Polymer.Annotations.findAnnotatedNode(root%2C%20annote.parent)%3B%0Aif%20(parent)%20%7B%0Afor%20(var%20n%20%3D%20parent.firstChild%2C%20i%20%3D%200%3B%20n%3B%20n%20%3D%20n.nextSibling)%20%7B%0Aif%20(annote.index%20%3D%3D%3D%20i%2B%2B)%20%7B%0Areturn%20n%3B%0A%7D%0A%7D%0A%7D%20else%20%7B%0Areturn%20root%3B%0A%7D%0A%7D%0A%7D%3B(function%20()%20%7B%0Afunction%20resolveCss(cssText%2C%20ownerDocument)%20%7B%0Areturn%20cssText.replace(CSS_URL_RX%2C%20function%20(m%2C%20pre%2C%20url%2C%20post)%20%7B%0Areturn%20pre%20%2B%20'%5C''%20%2B%20resolve(url.replace(%2F%5B%22'%5D%2Fg%2C%20'')%2C%20ownerDocument)%20%2B%20'%5C''%20%2B%20post%3B%0A%7D)%3B%0A%7D%0Afunction%20resolveAttrs(element%2C%20ownerDocument)%20%7B%0Afor%20(var%20name%20in%20URL_ATTRS)%20%7B%0Avar%20a%24%20%3D%20URL_ATTRS%5Bname%5D%3B%0Afor%20(var%20i%20%3D%200%2C%20l%20%3D%20a%24.length%2C%20a%2C%20at%2C%20v%3B%20i%20%3C%20l%20%26%26%20(a%20%3D%20a%24%5Bi%5D)%3B%20i%2B%2B)%20%7B%0Aif%20(name%20%3D%3D%3D%20'*'%20%7C%7C%20element.localName%20%3D%3D%3D%20name)%20%7B%0Aat%20%3D%20element.attributes%5Ba%5D%3B%0Av%20%3D%20at%20%26%26%20at.value%3B%0Aif%20(v%20%26%26%20v.search(BINDING_RX)%20%3C%200)%20%7B%0Aat.value%20%3D%20a%20%3D%3D%3D%20'style'%20%3F%20resolveCss(v%2C%20ownerDocument)%20%3A%20resolve(v%2C%20ownerDocument)%3B%0A%7D%0A%7D%0A%7D%0A%7D%0A%7D%0Afunction%20resolve(url%2C%20ownerDocument)%20%7B%0Aif%20(url%20%26%26%20ABS_URL.test(url))%20%7B%0Areturn%20url%3B%0A%7D%0Avar%20resolver%20%3D%20getUrlResolver(ownerDocument)%3B%0Aresolver.href%20%3D%20url%3B%0Areturn%20resolver.href%20%7C%7C%20url%3B%0A%7D%0Avar%20tempDoc%3B%0Avar%20tempDocBase%3B%0Afunction%20resolveUrl(url%2C%20baseUri)%20%7B%0Aif%20(!tempDoc)%20%7B%0AtempDoc%20%3D%20document.implementation.createHTMLDocument('temp')%3B%0AtempDocBase%20%3D%20tempDoc.createElement('base')%3B%0AtempDoc.head.appendChild(tempDocBase)%3B%0A%7D%0AtempDocBase.href%20%3D%20baseUri%3B%0Areturn%20resolve(url%2C%20tempDoc)%3B%0A%7D%0Afunction%20getUrlResolver(ownerDocument)%20%7B%0Areturn%20ownerDocument.body.__urlResolver%20%7C%7C%20(ownerDocum
166,5 78%
<unknown> at _notifySplice at data:text/javascript;charset=utf-8,Polymer.nar%20%3D%20%5B%5D%3B%0APolymer.Annotations%20%3D%20%7B%0AparseAnnotations%3A%20function%20(template)%20%7B%0Avar%20list%20%3D%20%5B%5D%3B%0Avar%20content%20%3D%20template._content%20%7C%7C%20template.content%3B%0Athis._parseNodeAnnotations(content%2C%20list%2C%20template.hasAttribute('strip-whitespace'))%3B%0Areturn%20list%3B%0A%7D%2C%0A_parseNodeAnnotations%3A%20function%20(node%2C%20list%2C%20stripWhiteSpace)%20%7B%0Areturn%20node.nodeType%20%3D%3D%3D%20Node.TEXT_NODE%20%3F%20this._parseTextNodeAnnotation(node%2C%20list)%20%3A%20this._parseElementAnnotations(node%2C%20list%2C%20stripWhiteSpace)%3B%0A%7D%2C%0A_bindingRegex%3A%20function%20()%20%7B%0Avar%20IDENT%20%3D%20'(%3F%3A'%20%2B%20'%5Ba-zA-Z_%24%5D%5B%5C%5Cw.%3A%24%5C%5C-*%5D*'%20%2B%20')'%3B%0Avar%20NUMBER%20%3D%20'(%3F%3A'%20%2B%20'%5B-%2B%5D%3F%5B0-9%5D*%5C%5C.%3F%5B0-9%5D%2B(%3F%3A%5BeE%5D%5B-%2B%5D%3F%5B0-9%5D%2B)%3F'%20%2B%20')'%3B%0Avar%20SQUOTE_STRING%20%3D%20'(%3F%3A'%20%2B%20'%5C'(%3F%3A%5B%5E%5C'%5C%5C%5C%5C%5D%7C%5C%5C%5C%5C.)*%5C''%20%2B%20')'%3B%0Avar%20DQUOTE_STRING%20%3D%20'(%3F%3A'%20%2B%20'%22(%3F%3A%5B%5E%22%5C%5C%5C%5C%5D%7C%5C%5C%5C%5C.)*%22'%20%2B%20')'%3B%0Avar%20STRING%20%3D%20'(%3F%3A'%20%2B%20SQUOTE_STRING%20%2B%20'%7C'%20%2B%20DQUOTE_STRING%20%2B%20')'%3B%0Avar%20ARGUMENT%20%3D%20'(%3F%3A'%20%2B%20IDENT%20%2B%20'%7C'%20%2B%20NUMBER%20%2B%20'%7C'%20%2B%20STRING%20%2B%20'%5C%5Cs*'%20%2B%20')'%3B%0Avar%20ARGUMENTS%20%3D%20'(%3F%3A'%20%2B%20ARGUMENT%20%2B%20'(%3F%3A%2C%5C%5Cs*'%20%2B%20ARGUMENT%20%2B%20')*'%20%2B%20')'%3B%0Avar%20ARGUMENT_LIST%20%3D%20'(%3F%3A'%20%2B%20'%5C%5C(%5C%5Cs*'%20%2B%20'(%3F%3A'%20%2B%20ARGUMENTS%20%2B%20'%3F'%20%2B%20')'%20%2B%20'%5C%5C)%5C%5Cs*'%20%2B%20')'%3B%0Avar%20BINDING%20%3D%20'('%20%2B%20IDENT%20%2B%20'%5C%5Cs*'%20%2B%20ARGUMENT_LIST%20%2B%20'%3F'%20%2B%20')'%3B%0Avar%20OPEN_BRACKET%20%3D%20'(%5C%5C%5B%5C%5C%5B%7C%7B%7B)'%20%2B%20'%5C%5Cs*'%3B%0Avar%20CLOSE_BRACKET%20%3D%20'(%3F%3A%5D%5D%7C%7D%7D)'%3B%0Avar%20NEGATE%20%3D%20'(%3F%3A(!)%5C%5Cs*)%3F'%3B%0Avar%20EXPRESSION%20%3D%20OPEN_BRACKET%20%2B%20NEGATE%20%2B%20BINDING%20%2B%20CLOSE_BRACKET%3B%0Areturn%20new%20RegExp(EXPRESSION%2C%20'g')%3B%0A%7D()%2C%0A_parseBindings%3A%20function%20(text)%20%7B%0Avar%20re%20%3D%20this._bindingRegex%3B%0Avar%20parts%20%3D%20%5B%5D%3B%0Avar%20lastIndex%20%3D%200%3B%0Avar%20m%3B%0Awhile%20((m%20%3D%20re.exec(text))%20!%3D%3D%20null)%20%7B%0Aif%20(m.index%20%3E%20lastIndex)%20%7B%0Aparts.push(%7B%20literal%3A%20text.slice(lastIndex%2C%20m.index)%20%7D)%3B%0A%7D%0Avar%20mode%20%3D%20m%5B1%5D%5B0%5D%3B%0Avar%20negate%20%3D%20Boolean(m%5B2%5D)%3B%0Avar%20value%20%3D%20m%5B3%5D.trim()%3B%0Avar%20customEvent%2C%20notifyEvent%2C%20colon%3B%0Aif%20(mode%20%3D%3D%20'%7B'%20%26%26%20(colon%20%3D%20value.indexOf('%3A%3A'))%20%3E%200)%20%7B%0AnotifyEvent%20%3D%20value.substring(colon%20%2B%202)%3B%0Avalue%20%3D%20value.substring(0%2C%20colon)%3B%0AcustomEvent%20%3D%20true%3B%0A%7D%0Aparts.push(%7B%0AcompoundIndex%3A%20parts.length%2C%0Avalue%3A%20value%2C%0Amode%3A%20mode%2C%0Anegate%3A%20negate%2C%0Aevent%3A%20notifyEvent%2C%0AcustomEvent%3A%20customEvent%0A%7D)%3B%0AlastIndex%20%3D%20re.lastIndex%3B%0A%7D%0Aif%20(lastIndex%20%26%26%20lastIndex%20%3C%20text.length)%20%7B%0Avar%20literal%20%3D%20text.substring(lastIndex)%3B%0Aif%20(literal)%20%7B%0Aparts.push(%7B%20literal%3A%20literal%20%7D)%3B%0A%7D%0A%7D%0Aif%20(parts.length)%20%7B%0Areturn%20parts%3B%0A%7D%0A%7D%2C%0A_literalFromParts%3A%20function%20(parts)%20%7B%0Avar%20s%20%3D%20''%3B%0Afor%20(var%20i%20%3D%200%3B%20i%20%3C%20parts.length%3B%20i%2B%2B)%20%7B%0Avar%20literal%20%3D%20parts%5Bi%5D.literal%3B%0As%20%2B%3D%20literal%20%7C%7C%20''%3B%0A%7D%0Areturn%20s%3B%0A%7D%2C%0A_parseTextNodeAnnotation%3A%20function%20(node%2C%20list)%20%7B%0Avar%20parts%20%3D%20this._parseBindings(node.textContent)%3B%0Aif%20(parts)%20%7B%0Anode.textContent%20%3D%20this._literalFromParts(parts)%20%7C%7C%20'%20'%3B%0Avar%20annote%20%3D%20%7B%0Abindings%3A%20%5B%7B%0Akind%3A%20'text'%2C%0Aname%3A%20'textContent'%2C%0Aparts%3A%20parts%2C%0AisCompound%3A%20parts.length%20!%3D%3D%201%0A%7D%5D%0A%7D%3B%0Alist.push(annote)%3B%0Areturn%20annote%3B%0A%7D%0A%7D%2C%0A_parseElementAnnotations%3A%20function%20(element%2C%20list%2C%20stripWhiteSpace)%20%7B%0Avar%20annote%20%3D%20%7B%0Abindings%3A%20%5B%5D%2C%0Aevents%3A%20%5B%5D%0A%7D%3B%0Aif%20(element.localName%20%3D%3D%3D%20'content')%20%7B%0Alist._hasContent%20%3D%20true%3B%0A%7D%0Athis._parseChildNodesAnnotations(element%2C%20annote%2C%20list%2C%20stripWhiteSpace)%3B%0Aif%20(element.attributes)%20%7B%0Athis._parseNodeAttributeAnnotations(element%2C%20annote%2C%20list)%3B%0Aif%20(this.prepElement)%20%7B%0Athis.prepElement(element)%3B%0A%7D%0A%7D%0Aif%20(annote.bindings.length%20%7C%7C%20annote.events.length%20%7C%7C%20annote.id)%20%7B%0Alist.push(annote)%3B%0A%7D%0Areturn%20annote%3B%0A%7D%2C%0A_parseChildNodesAnnotations%3A%20function%20(root%2C%20annote%2C%20list%2C%20stripWhiteSpace)%20%7B%0Aif%20(root.firstChild)%20%7B%0Avar%20node%20%3D%20root.firstChild%3B%0Avar%20i%20%3D%200%3B%0Awhile%20(node)%20%7B%0Avar%20next%20%3D%20node.nextSibling%3B%0Aif%20(node.localName%20%3D%3D%3D%20'template'%20%26%26%20!node.hasAttribute('preserve-content'))%20%7B%0Athis._parseTemplate(node%2C%20i%2C%20list%2C%20annote)%3B%0A%7D%0Aif%20(node.localName%20%3D%3D%20'slot')%20%7B%0Anode%20%3D%20this._replaceSlotWithContent(node)%3B%0A%7D%0Aif%20(node.nodeType%20%3D%3D%3D%20Node.TEXT_NODE)%20%7B%0Avar%20n%20%3D%20next%3B%0Awhile%20(n%20%26%26%20n.nodeType%20%3D%3D%3D%20Node.TEXT_NODE)%20%7B%0Anode.textContent%20%2B%3D%20n.textContent%3B%0Anext%20%3D%20n.nextSibling%3B%0Aroot.removeChild(n)%3B%0An%20%3D%20next%3B%0A%7D%0Aif%20(stripWhiteSpace%20%26%26%20!node.textContent.trim())%20%7B%0Aroot.removeChild(node)%3B%0Ai--%3B%0A%7D%0A%7D%0Aif%20(node.parentNode)%20%7B%0Avar%20childAnnotation%20%3D%20this._parseNodeAnnotations(node%2C%20list%2C%20stripWhiteSpace)%3B%0Aif%20(childAnnotation)%20%7B%0AchildAnnotation.parent%20%3D%20annote%3B%0AchildAnnotation.index%20%3D%20i%3B%0A%7D%0A%7D%0Anode%20%3D%20next%3B%0Ai%2B%2B%3B%0A%7D%0A%7D%0A%7D%2C%0A_replaceSlotWithContent%3A%20function%20(slot)%20%7B%0Avar%20content%20%3D%20slot.ownerDocument.createElement('content')%3B%0Awhile%20(slot.firstChild)%20%7B%0Acontent.appendChild(slot.firstChild)%3B%0A%7D%0Avar%20attrs%20%3D%20slot.attributes%3B%0Afor%20(var%20i%20%3D%200%3B%20i%20%3C%20attrs.length%3B%20i%2B%2B)%20%7B%0Avar%20attr%20%3D%20attrs%5Bi%5D%3B%0Acontent.setAttribute(attr.name%2C%20attr.value)%3B%0A%7D%0Avar%20name%20%3D%20slot.getAttribute('name')%3B%0Aif%20(name)%20%7B%0Acontent.setAttribute('select'%2C%20'%5Bslot%3D%5C''%20%2B%20name%20%2B%20'%5C'%5D')%3B%0A%7D%0Aslot.parentNode.replaceChild(content%2C%20slot)%3B%0Areturn%20content%3B%0A%7D%2C%0A_parseTemplate%3A%20function%20(node%2C%20index%2C%20list%2C%20parent)%20%7B%0Avar%20content%20%3D%20document.createDocumentFragment()%3B%0Acontent._notes%20%3D%20this.parseAnnotations(node)%3B%0Acontent.appendChild(node.content)%3B%0Alist.push(%7B%0Abindings%3A%20Polymer.nar%2C%0Aevents%3A%20Polymer.nar%2C%0AtemplateContent%3A%20content%2C%0Aparent%3A%20parent%2C%0Aindex%3A%20index%0A%7D)%3B%0A%7D%2C%0A_parseNodeAttributeAnnotations%3A%20function%20(node%2C%20annotation)%20%7B%0Avar%20attrs%20%3D%20Array.prototype.slice.call(node.attributes)%3B%0Afor%20(var%20i%20%3D%20attrs.length%20-%201%2C%20a%3B%20a%20%3D%20attrs%5Bi%5D%3B%20i--)%20%7B%0Avar%20n%20%3D%20a.name%3B%0Avar%20v%20%3D%20a.value%3B%0Avar%20b%3B%0Aif%20(n.slice(0%2C%203)%20%3D%3D%3D%20'on-')%20%7B%0Anode.removeAttribute(n)%3B%0Aannotation.events.push(%7B%0Aname%3A%20n.slice(3)%2C%0Avalue%3A%20v%0A%7D)%3B%0A%7D%20else%20if%20(b%20%3D%20this._parseNodeAttributeAnnotation(node%2C%20n%2C%20v))%20%7B%0Aannotation.bindings.push(b)%3B%0A%7D%20else%20if%20(n%20%3D%3D%3D%20'id')%20%7B%0Aannotation.id%20%3D%20v%3B%0A%7D%0A%7D%0A%7D%2C%0A_parseNodeAttributeAnnotation%3A%20function%20(node%2C%20name%2C%20value)%20%7B%0Avar%20parts%20%3D%20this._parseBindings(value)%3B%0Aif%20(parts)%20%7B%0Avar%20origName%20%3D%20name%3B%0Avar%20kind%20%3D%20'property'%3B%0Aif%20(name%5Bname.length%20-%201%5D%20%3D%3D%20'%24')%20%7B%0Aname%20%3D%20name.slice(0%2C%20-1)%3B%0Akind%20%3D%20'attribute'%3B%0A%7D%0Avar%20literal%20%3D%20this._literalFromParts(parts)%3B%0Aif%20(literal%20%26%26%20kind%20%3D%3D%20'attribute')%20%7B%0Anode.setAttribute(name%2C%20literal)%3B%0A%7D%0Aif%20(node.localName%20%3D%3D%3D%20'input'%20%26%26%20origName%20%3D%3D%3D%20'value')%20%7B%0Anode.setAttribute(origName%2C%20'')%3B%0A%7D%0Anode.removeAttribute(origName)%3B%0Avar%20propertyName%20%3D%20Polymer.CaseMap.dashToCamelCase(name)%3B%0Aif%20(kind%20%3D%3D%3D%20'property')%20%7B%0Aname%20%3D%20propertyName%3B%0A%7D%0Areturn%20%7B%0Akind%3A%20kind%2C%0Aname%3A%20name%2C%0ApropertyName%3A%20propertyName%2C%0Aparts%3A%20parts%2C%0Aliteral%3A%20literal%2C%0AisCompound%3A%20parts.length%20!%3D%3D%201%0A%7D%3B%0A%7D%0A%7D%2C%0AfindAnnotatedNode%3A%20function%20(root%2C%20annote)%20%7B%0Avar%20parent%20%3D%20annote.parent%20%26%26%20Polymer.Annotations.findAnnotatedNode(root%2C%20annote.parent)%3B%0Aif%20(parent)%20%7B%0Afor%20(var%20n%20%3D%20parent.firstChild%2C%20i%20%3D%200%3B%20n%3B%20n%20%3D%20n.nextSibling)%20%7B%0Aif%20(annote.index%20%3D%3D%3D%20i%2B%2B)%20%7B%0Areturn%20n%3B%0A%7D%0A%7D%0A%7D%20else%20%7B%0Areturn%20root%3B%0A%7D%0A%7D%0A%7D%3B(function%20()%20%7B%0Afunction%20resolveCss(cssText%2C%20ownerDocument)%20%7B%0Areturn%20cssText.replace(CSS_URL_RX%2C%20function%20(m%2C%20pre%2C%20url%2C%20post)%20%7B%0Areturn%20pre%20%2B%20'%5C''%20%2B%20resolve(url.replace(%2F%5B%22'%5D%2Fg%2C%20'')%2C%20ownerDocument)%20%2B%20'%5C''%20%2B%20post%3B%0A%7D)%3B%0A%7D%0Afunction%20resolveAttrs(element%2C%20ownerDocument)%20%7B%0Afor%20(var%20name%20in%20URL_ATTRS)%20%7B%0Avar%20a%24%20%3D%20URL_ATTRS%5Bname%5D%3B%0Afor%20(var%20i%20%3D%200%2C%20l%20%3D%20a%24.length%2C%20a%2C%20at%2C%20v%3B%20i%20%3C%20l%20%26%26%20(a%20%3D%20a%24%5Bi%5D)%3B%20i%2B%2B)%20%7B%0Aif%20(name%20%3D%3D%3D%20'*'%20%7C%7C%20element.localName%20%3D%3D%3D%20name)%20%7B%0Aat%20%3D%20element.attributes%5Ba%5D%3B%0Av%20%3D%20at%20%26%26%20at.value%3B%0Aif%20(v%20%26%26%20v.search(BINDING_RX)%20%3C%200)%20%7B%0Aat.value%20%3D%20a%20%3D%3D%3D%20'style'%20%3F%20resolveCss(v%2C%20ownerDocument)%20%3A%20resolve(v%2C%20ownerDocument)%3B%0A%7D%0A%7D%0A%7D%0A%7D%0A%7D%0Afunction%20resolve(url%2C%20ownerDocument)%20%7B%0Aif%20(url%20%26%26%20ABS_URL.test(url))%20%7B%0Areturn%20url%3B%0A%7D%0Avar%20resolver%20%3D%20getUrlResolver(ownerDocument)%3B%0Aresolver.href%20%3D%20url%3B%0Areturn%20resolver.href%20%7C%7C%20url%3B%0A%7D%0Avar%20tempDoc%3B%0Avar%20tempDocBase%3B%0Afunction%20resolveUrl(url%2C%20baseUri)%20%7B%0Aif%20(!tempDoc)%20%7B%0AtempDoc%20%3D%20document.implementation.createHTMLDocument('temp')%3B%0AtempDocBase%20%3D%20tempDoc.createElement('base')%3B%0AtempDoc.head.appendChild(tempDocBase)%3B%0A%7D%0AtempDocBase.href%20%3D%20baseUri%3B%0Areturn%20resolve(url%2C%20tempDoc)%3B%0A%7D%0Afunction%20getUrlResolver(ownerDocument)%20%7B%0Areturn%20ownerDocument.body.__urlResolver%20%7C%7C%20(ownerDocum
167,5 79%
<unknown> at push at data:text/javascript;charset=utf-8,Polymer.nar%20%3D%20%5B%5D%3B%0APolymer.Annotations%20%3D%20%7B%0AparseAnnotations%3A%20function%20(template)%20%7B%0Avar%20list%20%3D%20%5B%5D%3B%0Avar%20content%20%3D%20template._content%20%7C%7C%20template.content%3B%0Athis._parseNodeAnnotations(content%2C%20list%2C%20template.hasAttribute('strip-whitespace'))%3B%0Areturn%20list%3B%0A%7D%2C%0A_parseNodeAnnotations%3A%20function%20(node%2C%20list%2C%20stripWhiteSpace)%20%7B%0Areturn%20node.nodeType%20%3D%3D%3D%20Node.TEXT_NODE%20%3F%20this._parseTextNodeAnnotation(node%2C%20list)%20%3A%20this._parseElementAnnotations(node%2C%20list%2C%20stripWhiteSpace)%3B%0A%7D%2C%0A_bindingRegex%3A%20function%20()%20%7B%0Avar%20IDENT%20%3D%20'(%3F%3A'%20%2B%20'%5Ba-zA-Z_%24%5D%5B%5C%5Cw.%3A%24%5C%5C-*%5D*'%20%2B%20')'%3B%0Avar%20NUMBER%20%3D%20'(%3F%3A'%20%2B%20'%5B-%2B%5D%3F%5B0-9%5D*%5C%5C.%3F%5B0-9%5D%2B(%3F%3A%5BeE%5D%5B-%2B%5D%3F%5B0-9%5D%2B)%3F'%20%2B%20')'%3B%0Avar%20SQUOTE_STRING%20%3D%20'(%3F%3A'%20%2B%20'%5C'(%3F%3A%5B%5E%5C'%5C%5C%5C%5C%5D%7C%5C%5C%5C%5C.)*%5C''%20%2B%20')'%3B%0Avar%20DQUOTE_STRING%20%3D%20'(%3F%3A'%20%2B%20'%22(%3F%3A%5B%5E%22%5C%5C%5C%5C%5D%7C%5C%5C%5C%5C.)*%22'%20%2B%20')'%3B%0Avar%20STRING%20%3D%20'(%3F%3A'%20%2B%20SQUOTE_STRING%20%2B%20'%7C'%20%2B%20DQUOTE_STRING%20%2B%20')'%3B%0Avar%20ARGUMENT%20%3D%20'(%3F%3A'%20%2B%20IDENT%20%2B%20'%7C'%20%2B%20NUMBER%20%2B%20'%7C'%20%2B%20STRING%20%2B%20'%5C%5Cs*'%20%2B%20')'%3B%0Avar%20ARGUMENTS%20%3D%20'(%3F%3A'%20%2B%20ARGUMENT%20%2B%20'(%3F%3A%2C%5C%5Cs*'%20%2B%20ARGUMENT%20%2B%20')*'%20%2B%20')'%3B%0Avar%20ARGUMENT_LIST%20%3D%20'(%3F%3A'%20%2B%20'%5C%5C(%5C%5Cs*'%20%2B%20'(%3F%3A'%20%2B%20ARGUMENTS%20%2B%20'%3F'%20%2B%20')'%20%2B%20'%5C%5C)%5C%5Cs*'%20%2B%20')'%3B%0Avar%20BINDING%20%3D%20'('%20%2B%20IDENT%20%2B%20'%5C%5Cs*'%20%2B%20ARGUMENT_LIST%20%2B%20'%3F'%20%2B%20')'%3B%0Avar%20OPEN_BRACKET%20%3D%20'(%5C%5C%5B%5C%5C%5B%7C%7B%7B)'%20%2B%20'%5C%5Cs*'%3B%0Avar%20CLOSE_BRACKET%20%3D%20'(%3F%3A%5D%5D%7C%7D%7D)'%3B%0Avar%20NEGATE%20%3D%20'(%3F%3A(!)%5C%5Cs*)%3F'%3B%0Avar%20EXPRESSION%20%3D%20OPEN_BRACKET%20%2B%20NEGATE%20%2B%20BINDING%20%2B%20CLOSE_BRACKET%3B%0Areturn%20new%20RegExp(EXPRESSION%2C%20'g')%3B%0A%7D()%2C%0A_parseBindings%3A%20function%20(text)%20%7B%0Avar%20re%20%3D%20this._bindingRegex%3B%0Avar%20parts%20%3D%20%5B%5D%3B%0Avar%20lastIndex%20%3D%200%3B%0Avar%20m%3B%0Awhile%20((m%20%3D%20re.exec(text))%20!%3D%3D%20null)%20%7B%0Aif%20(m.index%20%3E%20lastIndex)%20%7B%0Aparts.push(%7B%20literal%3A%20text.slice(lastIndex%2C%20m.index)%20%7D)%3B%0A%7D%0Avar%20mode%20%3D%20m%5B1%5D%5B0%5D%3B%0Avar%20negate%20%3D%20Boolean(m%5B2%5D)%3B%0Avar%20value%20%3D%20m%5B3%5D.trim()%3B%0Avar%20customEvent%2C%20notifyEvent%2C%20colon%3B%0Aif%20(mode%20%3D%3D%20'%7B'%20%26%26%20(colon%20%3D%20value.indexOf('%3A%3A'))%20%3E%200)%20%7B%0AnotifyEvent%20%3D%20value.substring(colon%20%2B%202)%3B%0Avalue%20%3D%20value.substring(0%2C%20colon)%3B%0AcustomEvent%20%3D%20true%3B%0A%7D%0Aparts.push(%7B%0AcompoundIndex%3A%20parts.length%2C%0Avalue%3A%20value%2C%0Amode%3A%20mode%2C%0Anegate%3A%20negate%2C%0Aevent%3A%20notifyEvent%2C%0AcustomEvent%3A%20customEvent%0A%7D)%3B%0AlastIndex%20%3D%20re.lastIndex%3B%0A%7D%0Aif%20(lastIndex%20%26%26%20lastIndex%20%3C%20text.length)%20%7B%0Avar%20literal%20%3D%20text.substring(lastIndex)%3B%0Aif%20(literal)%20%7B%0Aparts.push(%7B%20literal%3A%20literal%20%7D)%3B%0A%7D%0A%7D%0Aif%20(parts.length)%20%7B%0Areturn%20parts%3B%0A%7D%0A%7D%2C%0A_literalFromParts%3A%20function%20(parts)%20%7B%0Avar%20s%20%3D%20''%3B%0Afor%20(var%20i%20%3D%200%3B%20i%20%3C%20parts.length%3B%20i%2B%2B)%20%7B%0Avar%20literal%20%3D%20parts%5Bi%5D.literal%3B%0As%20%2B%3D%20literal%20%7C%7C%20''%3B%0A%7D%0Areturn%20s%3B%0A%7D%2C%0A_parseTextNodeAnnotation%3A%20function%20(node%2C%20list)%20%7B%0Avar%20parts%20%3D%20this._parseBindings(node.textContent)%3B%0Aif%20(parts)%20%7B%0Anode.textContent%20%3D%20this._literalFromParts(parts)%20%7C%7C%20'%20'%3B%0Avar%20annote%20%3D%20%7B%0Abindings%3A%20%5B%7B%0Akind%3A%20'text'%2C%0Aname%3A%20'textContent'%2C%0Aparts%3A%20parts%2C%0AisCompound%3A%20parts.length%20!%3D%3D%201%0A%7D%5D%0A%7D%3B%0Alist.push(annote)%3B%0Areturn%20annote%3B%0A%7D%0A%7D%2C%0A_parseElementAnnotations%3A%20function%20(element%2C%20list%2C%20stripWhiteSpace)%20%7B%0Avar%20annote%20%3D%20%7B%0Abindings%3A%20%5B%5D%2C%0Aevents%3A%20%5B%5D%0A%7D%3B%0Aif%20(element.localName%20%3D%3D%3D%20'content')%20%7B%0Alist._hasContent%20%3D%20true%3B%0A%7D%0Athis._parseChildNodesAnnotations(element%2C%20annote%2C%20list%2C%20stripWhiteSpace)%3B%0Aif%20(element.attributes)%20%7B%0Athis._parseNodeAttributeAnnotations(element%2C%20annote%2C%20list)%3B%0Aif%20(this.prepElement)%20%7B%0Athis.prepElement(element)%3B%0A%7D%0A%7D%0Aif%20(annote.bindings.length%20%7C%7C%20annote.events.length%20%7C%7C%20annote.id)%20%7B%0Alist.push(annote)%3B%0A%7D%0Areturn%20annote%3B%0A%7D%2C%0A_parseChildNodesAnnotations%3A%20function%20(root%2C%20annote%2C%20list%2C%20stripWhiteSpace)%20%7B%0Aif%20(root.firstChild)%20%7B%0Avar%20node%20%3D%20root.firstChild%3B%0Avar%20i%20%3D%200%3B%0Awhile%20(node)%20%7B%0Avar%20next%20%3D%20node.nextSibling%3B%0Aif%20(node.localName%20%3D%3D%3D%20'template'%20%26%26%20!node.hasAttribute('preserve-content'))%20%7B%0Athis._parseTemplate(node%2C%20i%2C%20list%2C%20annote)%3B%0A%7D%0Aif%20(node.localName%20%3D%3D%20'slot')%20%7B%0Anode%20%3D%20this._replaceSlotWithContent(node)%3B%0A%7D%0Aif%20(node.nodeType%20%3D%3D%3D%20Node.TEXT_NODE)%20%7B%0Avar%20n%20%3D%20next%3B%0Awhile%20(n%20%26%26%20n.nodeType%20%3D%3D%3D%20Node.TEXT_NODE)%20%7B%0Anode.textContent%20%2B%3D%20n.textContent%3B%0Anext%20%3D%20n.nextSibling%3B%0Aroot.removeChild(n)%3B%0An%20%3D%20next%3B%0A%7D%0Aif%20(stripWhiteSpace%20%26%26%20!node.textContent.trim())%20%7B%0Aroot.removeChild(node)%3B%0Ai--%3B%0A%7D%0A%7D%0Aif%20(node.parentNode)%20%7B%0Avar%20childAnnotation%20%3D%20this._parseNodeAnnotations(node%2C%20list%2C%20stripWhiteSpace)%3B%0Aif%20(childAnnotation)%20%7B%0AchildAnnotation.parent%20%3D%20annote%3B%0AchildAnnotation.index%20%3D%20i%3B%0A%7D%0A%7D%0Anode%20%3D%20next%3B%0Ai%2B%2B%3B%0A%7D%0A%7D%0A%7D%2C%0A_replaceSlotWithContent%3A%20function%20(slot)%20%7B%0Avar%20content%20%3D%20slot.ownerDocument.createElement('content')%3B%0Awhile%20(slot.firstChild)%20%7B%0Acontent.appendChild(slot.firstChild)%3B%0A%7D%0Avar%20attrs%20%3D%20slot.attributes%3B%0Afor%20(var%20i%20%3D%200%3B%20i%20%3C%20attrs.length%3B%20i%2B%2B)%20%7B%0Avar%20attr%20%3D%20attrs%5Bi%5D%3B%0Acontent.setAttribute(attr.name%2C%20attr.value)%3B%0A%7D%0Avar%20name%20%3D%20slot.getAttribute('name')%3B%0Aif%20(name)%20%7B%0Acontent.setAttribute('select'%2C%20'%5Bslot%3D%5C''%20%2B%20name%20%2B%20'%5C'%5D')%3B%0A%7D%0Aslot.parentNode.replaceChild(content%2C%20slot)%3B%0Areturn%20content%3B%0A%7D%2C%0A_parseTemplate%3A%20function%20(node%2C%20index%2C%20list%2C%20parent)%20%7B%0Avar%20content%20%3D%20document.createDocumentFragment()%3B%0Acontent._notes%20%3D%20this.parseAnnotations(node)%3B%0Acontent.appendChild(node.content)%3B%0Alist.push(%7B%0Abindings%3A%20Polymer.nar%2C%0Aevents%3A%20Polymer.nar%2C%0AtemplateContent%3A%20content%2C%0Aparent%3A%20parent%2C%0Aindex%3A%20index%0A%7D)%3B%0A%7D%2C%0A_parseNodeAttributeAnnotations%3A%20function%20(node%2C%20annotation)%20%7B%0Avar%20attrs%20%3D%20Array.prototype.slice.call(node.attributes)%3B%0Afor%20(var%20i%20%3D%20attrs.length%20-%201%2C%20a%3B%20a%20%3D%20attrs%5Bi%5D%3B%20i--)%20%7B%0Avar%20n%20%3D%20a.name%3B%0Avar%20v%20%3D%20a.value%3B%0Avar%20b%3B%0Aif%20(n.slice(0%2C%203)%20%3D%3D%3D%20'on-')%20%7B%0Anode.removeAttribute(n)%3B%0Aannotation.events.push(%7B%0Aname%3A%20n.slice(3)%2C%0Avalue%3A%20v%0A%7D)%3B%0A%7D%20else%20if%20(b%20%3D%20this._parseNodeAttributeAnnotation(node%2C%20n%2C%20v))%20%7B%0Aannotation.bindings.push(b)%3B%0A%7D%20else%20if%20(n%20%3D%3D%3D%20'id')%20%7B%0Aannotation.id%20%3D%20v%3B%0A%7D%0A%7D%0A%7D%2C%0A_parseNodeAttributeAnnotation%3A%20function%20(node%2C%20name%2C%20value)%20%7B%0Avar%20parts%20%3D%20this._parseBindings(value)%3B%0Aif%20(parts)%20%7B%0Avar%20origName%20%3D%20name%3B%0Avar%20kind%20%3D%20'property'%3B%0Aif%20(name%5Bname.length%20-%201%5D%20%3D%3D%20'%24')%20%7B%0Aname%20%3D%20name.slice(0%2C%20-1)%3B%0Akind%20%3D%20'attribute'%3B%0A%7D%0Avar%20literal%20%3D%20this._literalFromParts(parts)%3B%0Aif%20(literal%20%26%26%20kind%20%3D%3D%20'attribute')%20%7B%0Anode.setAttribute(name%2C%20literal)%3B%0A%7D%0Aif%20(node.localName%20%3D%3D%3D%20'input'%20%26%26%20origName%20%3D%3D%3D%20'value')%20%7B%0Anode.setAttribute(origName%2C%20'')%3B%0A%7D%0Anode.removeAttribute(origName)%3B%0Avar%20propertyName%20%3D%20Polymer.CaseMap.dashToCamelCase(name)%3B%0Aif%20(kind%20%3D%3D%3D%20'property')%20%7B%0Aname%20%3D%20propertyName%3B%0A%7D%0Areturn%20%7B%0Akind%3A%20kind%2C%0Aname%3A%20name%2C%0ApropertyName%3A%20propertyName%2C%0Aparts%3A%20parts%2C%0Aliteral%3A%20literal%2C%0AisCompound%3A%20parts.length%20!%3D%3D%201%0A%7D%3B%0A%7D%0A%7D%2C%0AfindAnnotatedNode%3A%20function%20(root%2C%20annote)%20%7B%0Avar%20parent%20%3D%20annote.parent%20%26%26%20Polymer.Annotations.findAnnotatedNode(root%2C%20annote.parent)%3B%0Aif%20(parent)%20%7B%0Afor%20(var%20n%20%3D%20parent.firstChild%2C%20i%20%3D%200%3B%20n%3B%20n%20%3D%20n.nextSibling)%20%7B%0Aif%20(annote.index%20%3D%3D%3D%20i%2B%2B)%20%7B%0Areturn%20n%3B%0A%7D%0A%7D%0A%7D%20else%20%7B%0Areturn%20root%3B%0A%7D%0A%7D%0A%7D%3B(function%20()%20%7B%0Afunction%20resolveCss(cssText%2C%20ownerDocument)%20%7B%0Areturn%20cssText.replace(CSS_URL_RX%2C%20function%20(m%2C%20pre%2C%20url%2C%20post)%20%7B%0Areturn%20pre%20%2B%20'%5C''%20%2B%20resolve(url.replace(%2F%5B%22'%5D%2Fg%2C%20'')%2C%20ownerDocument)%20%2B%20'%5C''%20%2B%20post%3B%0A%7D)%3B%0A%7D%0Afunction%20resolveAttrs(element%2C%20ownerDocument)%20%7B%0Afor%20(var%20name%20in%20URL_ATTRS)%20%7B%0Avar%20a%24%20%3D%20URL_ATTRS%5Bname%5D%3B%0Afor%20(var%20i%20%3D%200%2C%20l%20%3D%20a%24.length%2C%20a%2C%20at%2C%20v%3B%20i%20%3C%20l%20%26%26%20(a%20%3D%20a%24%5Bi%5D)%3B%20i%2B%2B)%20%7B%0Aif%20(name%20%3D%3D%3D%20'*'%20%7C%7C%20element.localName%20%3D%3D%3D%20name)%20%7B%0Aat%20%3D%20element.attributes%5Ba%5D%3B%0Av%20%3D%20at%20%26%26%20at.value%3B%0Aif%20(v%20%26%26%20v.search(BINDING_RX)%20%3C%200)%20%7B%0Aat.value%20%3D%20a%20%3D%3D%3D%20'style'%20%3F%20resolveCss(v%2C%20ownerDocument)%20%3A%20resolve(v%2C%20ownerDocument)%3B%0A%7D%0A%7D%0A%7D%0A%7D%0A%7D%0Afunction%20resolve(url%2C%20ownerDocument)%20%7B%0Aif%20(url%20%26%26%20ABS_URL.test(url))%20%7B%0Areturn%20url%3B%0A%7D%0Avar%20resolver%20%3D%20getUrlResolver(ownerDocument)%3B%0Aresolver.href%20%3D%20url%3B%0Areturn%20resolver.href%20%7C%7C%20url%3B%0A%7D%0Avar%20tempDoc%3B%0Avar%20tempDocBase%3B%0Afunction%20resolveUrl(url%2C%20baseUri)%20%7B%0Aif%20(!tempDoc)%20%7B%0AtempDoc%20%3D%20document.implementation.createHTMLDocument('temp')%3B%0AtempDocBase%20%3D%20tempDoc.createElement('base')%3B%0AtempDoc.head.appendChild(tempDocBase)%3B%0A%7D%0AtempDocBase.href%20%3D%20baseUri%3B%0Areturn%20resolve(url%2C%20tempDoc)%3B%0A%7D%0Afunction%20getUrlResolver(ownerDocument)%20%7B%0Areturn%20ownerDocument.body.__urlResolver%20%7C%7C%20(ownerDocum
168,5 79%
<unknown> at addDraft at gr-diff-comment-thread.js:103:0
<unknown> at addOrEditDraft at gr-diff-comment-thread.js:95:0
<unknown> at <unknown> at gr-diff-comment-thread_test.html:549:0
safari 10.0.3 ✖ elements/diff/gr-diff-comment-thread/gr-diff-comment-thread_test.html » comment action tests » new comment gets created
undefined is not an object (evaluating 'c1.id.localeCompare')
<unknown> at <unknown> at gr-diff-comment-thread.js:171:0
<unknown> at _commentsChanged at gr-diff-comment-thread.js:111:0