@luftborn/custom-elements 1.1.40 → 1.1.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (146) hide show
  1. package/demo/index.html +2 -2
  2. package/package.json +2 -2
  3. package/src/elements/CheckBoxElement/CheckBoxElement.ts +1 -0
  4. package/src/elements/DropDownList/DropDownListElement.ts +1 -0
  5. package/src/elements/RadioButtonGroup/RadioButtonGroupElement.ts +1 -0
  6. package/demo/index.js +0 -6357
  7. package/demo/index.min.js +0 -6358
  8. package/demo/index.min.js.map +0 -1
  9. package/dist/custom-form.d.ts +0 -20
  10. package/dist/custom-form.js +0 -147
  11. package/dist/custom-form.js.map +0 -1
  12. package/dist/elements/Address/AddressElement.d.ts +0 -28
  13. package/dist/elements/Address/AddressElement.js +0 -207
  14. package/dist/elements/Address/AddressElement.js.map +0 -1
  15. package/dist/elements/BankField/BankFieldElement.d.ts +0 -22
  16. package/dist/elements/BankField/BankFieldElement.js +0 -128
  17. package/dist/elements/BankField/BankFieldElement.js.map +0 -1
  18. package/dist/elements/CPRElement/CPRElement.d.ts +0 -14
  19. package/dist/elements/CPRElement/CPRElement.js +0 -83
  20. package/dist/elements/CPRElement/CPRElement.js.map +0 -1
  21. package/dist/elements/CVRElement/CVRElement.d.ts +0 -14
  22. package/dist/elements/CVRElement/CVRElement.js +0 -83
  23. package/dist/elements/CVRElement/CVRElement.js.map +0 -1
  24. package/dist/elements/CheckBoxElement/CheckBoxElement.d.ts +0 -14
  25. package/dist/elements/CheckBoxElement/CheckBoxElement.js +0 -96
  26. package/dist/elements/CheckBoxElement/CheckBoxElement.js.map +0 -1
  27. package/dist/elements/CustomRegularExpression/CustomRegularExpressionElement.d.ts +0 -12
  28. package/dist/elements/CustomRegularExpression/CustomRegularExpressionElement.js +0 -83
  29. package/dist/elements/CustomRegularExpression/CustomRegularExpressionElement.js.map +0 -1
  30. package/dist/elements/DateField/DateFieldElement.d.ts +0 -12
  31. package/dist/elements/DateField/DateFieldElement.js +0 -86
  32. package/dist/elements/DateField/DateFieldElement.js.map +0 -1
  33. package/dist/elements/DropDownList/DropDownListElement.d.ts +0 -14
  34. package/dist/elements/DropDownList/DropDownListElement.js +0 -93
  35. package/dist/elements/DropDownList/DropDownListElement.js.map +0 -1
  36. package/dist/elements/Elements.d.ts +0 -18
  37. package/dist/elements/Elements.js +0 -38
  38. package/dist/elements/Elements.js.map +0 -1
  39. package/dist/elements/EmailField/EmailFieldElement.d.ts +0 -13
  40. package/dist/elements/EmailField/EmailFieldElement.js +0 -84
  41. package/dist/elements/EmailField/EmailFieldElement.js.map +0 -1
  42. package/dist/elements/FileField/FileFieldElement.d.ts +0 -12
  43. package/dist/elements/FileField/FileFieldElement.js +0 -84
  44. package/dist/elements/FileField/FileFieldElement.js.map +0 -1
  45. package/dist/elements/IdentificationElement/IdentificationElement.d.ts +0 -18
  46. package/dist/elements/IdentificationElement/IdentificationElement.js +0 -95
  47. package/dist/elements/IdentificationElement/IdentificationElement.js.map +0 -1
  48. package/dist/elements/InternationaPhoneNumber/InternationaPhoneNumberElement.d.ts +0 -16
  49. package/dist/elements/InternationaPhoneNumber/InternationaPhoneNumberElement.js +0 -109
  50. package/dist/elements/InternationaPhoneNumber/InternationaPhoneNumberElement.js.map +0 -1
  51. package/dist/elements/NumericField/NumericFieldElement.d.ts +0 -12
  52. package/dist/elements/NumericField/NumericFieldElement.js +0 -92
  53. package/dist/elements/NumericField/NumericFieldElement.js.map +0 -1
  54. package/dist/elements/RadioButtonGroup/RadioButtonGroupElement.d.ts +0 -14
  55. package/dist/elements/RadioButtonGroup/RadioButtonGroupElement.js +0 -99
  56. package/dist/elements/RadioButtonGroup/RadioButtonGroupElement.js.map +0 -1
  57. package/dist/elements/TextAreaElement/TextAreaElement.d.ts +0 -12
  58. package/dist/elements/TextAreaElement/TextAreaElement.js +0 -80
  59. package/dist/elements/TextAreaElement/TextAreaElement.js.map +0 -1
  60. package/dist/elements/TextField/TextFieldElement.d.ts +0 -12
  61. package/dist/elements/TextField/TextFieldElement.js +0 -80
  62. package/dist/elements/TextField/TextFieldElement.js.map +0 -1
  63. package/dist/elements/TypeAhead/TypeAheadElement.d.ts +0 -24
  64. package/dist/elements/TypeAhead/TypeAheadElement.js +0 -210
  65. package/dist/elements/TypeAhead/TypeAheadElement.js.map +0 -1
  66. package/dist/framework/CustomEvents.d.ts +0 -21
  67. package/dist/framework/CustomEvents.js +0 -48
  68. package/dist/framework/CustomEvents.js.map +0 -1
  69. package/dist/framework/CustomInputElement.d.ts +0 -50
  70. package/dist/framework/CustomInputElement.js +0 -258
  71. package/dist/framework/CustomInputElement.js.map +0 -1
  72. package/dist/framework/Language/Languages/Base/BaseDictionary.d.ts +0 -4
  73. package/dist/framework/Language/Languages/Base/BaseDictionary.js +0 -21
  74. package/dist/framework/Language/Languages/Base/BaseDictionary.js.map +0 -1
  75. package/dist/framework/Language/Languages/DanishDictionary.d.ts +0 -4
  76. package/dist/framework/Language/Languages/DanishDictionary.js +0 -40
  77. package/dist/framework/Language/Languages/DanishDictionary.js.map +0 -1
  78. package/dist/framework/Language/Languages/EnglishDictionary.d.ts +0 -4
  79. package/dist/framework/Language/Languages/EnglishDictionary.js +0 -40
  80. package/dist/framework/Language/Languages/EnglishDictionary.js.map +0 -1
  81. package/dist/framework/Language/Translator.d.ts +0 -6
  82. package/dist/framework/Language/Translator.js +0 -33
  83. package/dist/framework/Language/Translator.js.map +0 -1
  84. package/dist/framework/Models/OptionWithDescription.d.ts +0 -6
  85. package/dist/framework/Models/OptionWithDescription.js +0 -10
  86. package/dist/framework/Models/OptionWithDescription.js.map +0 -1
  87. package/dist/framework/Polyfills/getAttributeNamesPolyfill.d.ts +0 -1
  88. package/dist/framework/Polyfills/getAttributeNamesPolyfill.js +0 -18
  89. package/dist/framework/Polyfills/getAttributeNamesPolyfill.js.map +0 -1
  90. package/dist/framework/Translations/CaseConverter.d.ts +0 -5
  91. package/dist/framework/Translations/CaseConverter.js +0 -51
  92. package/dist/framework/Translations/CaseConverter.js.map +0 -1
  93. package/dist/framework/Utilities/DomUtility.d.ts +0 -3
  94. package/dist/framework/Utilities/DomUtility.js +0 -13
  95. package/dist/framework/Utilities/DomUtility.js.map +0 -1
  96. package/dist/framework/Utilities/debouncer.d.ts +0 -8
  97. package/dist/framework/Utilities/debouncer.js +0 -52
  98. package/dist/framework/Utilities/debouncer.js.map +0 -1
  99. package/dist/framework/Validation/IValidator.interface.d.ts +0 -3
  100. package/dist/framework/Validation/IValidator.interface.js +0 -3
  101. package/dist/framework/Validation/IValidator.interface.js.map +0 -1
  102. package/dist/framework/Validation/Validators/BankAccount.d.ts +0 -4
  103. package/dist/framework/Validation/Validators/BankAccount.js +0 -13
  104. package/dist/framework/Validation/Validators/BankAccount.js.map +0 -1
  105. package/dist/framework/Validation/Validators/BankAccountRegistrationNumber.d.ts +0 -4
  106. package/dist/framework/Validation/Validators/BankAccountRegistrationNumber.js +0 -13
  107. package/dist/framework/Validation/Validators/BankAccountRegistrationNumber.js.map +0 -1
  108. package/dist/framework/Validation/Validators/BankIdNorway.d.ts +0 -5
  109. package/dist/framework/Validation/Validators/BankIdNorway.js +0 -22
  110. package/dist/framework/Validation/Validators/BankIdNorway.js.map +0 -1
  111. package/dist/framework/Validation/Validators/BankIdSweden.d.ts +0 -5
  112. package/dist/framework/Validation/Validators/BankIdSweden.js +0 -22
  113. package/dist/framework/Validation/Validators/BankIdSweden.js.map +0 -1
  114. package/dist/framework/Validation/Validators/CPR.d.ts +0 -9
  115. package/dist/framework/Validation/Validators/CPR.js +0 -76
  116. package/dist/framework/Validation/Validators/CPR.js.map +0 -1
  117. package/dist/framework/Validation/Validators/CVR.d.ts +0 -5
  118. package/dist/framework/Validation/Validators/CVR.js +0 -31
  119. package/dist/framework/Validation/Validators/CVR.js.map +0 -1
  120. package/dist/framework/custom-element.decorator.d.ts +0 -9
  121. package/dist/framework/custom-element.decorator.js +0 -52
  122. package/dist/framework/custom-element.decorator.js.map +0 -1
  123. package/dist/index.d.ts +0 -7
  124. package/dist/index.js +0 -15
  125. package/dist/index.js.map +0 -1
  126. package/node_modules/@webcomponents/webcomponentsjs/LICENSE.md +0 -19
  127. package/node_modules/@webcomponents/webcomponentsjs/README.md +0 -229
  128. package/node_modules/@webcomponents/webcomponentsjs/bundles/webcomponents-ce.js +0 -73
  129. package/node_modules/@webcomponents/webcomponentsjs/bundles/webcomponents-ce.js.map +0 -1
  130. package/node_modules/@webcomponents/webcomponentsjs/bundles/webcomponents-sd-ce-pf.js +0 -320
  131. package/node_modules/@webcomponents/webcomponentsjs/bundles/webcomponents-sd-ce-pf.js.map +0 -1
  132. package/node_modules/@webcomponents/webcomponentsjs/bundles/webcomponents-sd-ce.js +0 -221
  133. package/node_modules/@webcomponents/webcomponentsjs/bundles/webcomponents-sd-ce.js.map +0 -1
  134. package/node_modules/@webcomponents/webcomponentsjs/bundles/webcomponents-sd.js +0 -169
  135. package/node_modules/@webcomponents/webcomponentsjs/bundles/webcomponents-sd.js.map +0 -1
  136. package/node_modules/@webcomponents/webcomponentsjs/custom-elements-es5-adapter.js +0 -15
  137. package/node_modules/@webcomponents/webcomponentsjs/package.json +0 -82
  138. package/node_modules/@webcomponents/webcomponentsjs/src/entrypoints/custom-elements-es5-adapter-index.js +0 -16
  139. package/node_modules/@webcomponents/webcomponentsjs/src/entrypoints/webcomponents-bundle-index.js +0 -53
  140. package/node_modules/@webcomponents/webcomponentsjs/src/entrypoints/webcomponents-ce-index.js +0 -17
  141. package/node_modules/@webcomponents/webcomponentsjs/src/entrypoints/webcomponents-sd-ce-index.js +0 -19
  142. package/node_modules/@webcomponents/webcomponentsjs/src/entrypoints/webcomponents-sd-ce-pf-index.js +0 -28
  143. package/node_modules/@webcomponents/webcomponentsjs/src/entrypoints/webcomponents-sd-index.js +0 -18
  144. package/node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js +0 -321
  145. package/node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js.map +0 -1
  146. package/node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js +0 -185
@@ -1,169 +0,0 @@
1
- /**
2
- @license @nocompile
3
- Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
4
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7
- Code distributed by Google as part of the polymer project is also
8
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9
- */
10
- (function(){/*
11
-
12
- Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
13
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
14
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
15
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
16
- Code distributed by Google as part of the polymer project is also
17
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
18
- */
19
- 'use strict';var n;function aa(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}function ba(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:aa(a)}}function da(a){for(var b,c=[];!(b=a.next()).done;)c.push(b.value);return c}var ea="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;function fa(){}fa.prototype.toJSON=function(){return{}};
20
- function p(a){a.__shady||(a.__shady=new fa);return a.__shady}function q(a){return a&&a.__shady};var t=window.ShadyDOM||{};t.na=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var ha=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");t.h=!!(ha&&ha.configurable&&ha.get);t.R=t.force||!t.na;t.j=t.noPatch||!1;t.M=t.preferPerformance;t.T="on-demand"===t.j;t.ca=navigator.userAgent.match("Trident");function u(a){return(a=q(a))&&void 0!==a.firstChild}function v(a){return a instanceof ShadowRoot}function ia(a){return(a=(a=q(a))&&a.root)&&ja(a)}
21
- var x=Element.prototype,ka=x.matches||x.matchesSelector||x.mozMatchesSelector||x.msMatchesSelector||x.oMatchesSelector||x.webkitMatchesSelector,la=document.createTextNode(""),ma=0,na=[];(new MutationObserver(function(){for(;na.length;)try{na.shift()()}catch(a){throw la.textContent=ma++,a;}})).observe(la,{characterData:!0});function oa(a){na.push(a);la.textContent=ma++}var pa=!!document.contains;function qa(a,b){for(;b;){if(b==a)return!0;b=b.__shady_parentNode}return!1}
22
- function ra(a){for(var b=a.length-1;0<=b;b--){var c=a[b],d=c.getAttribute("id")||c.getAttribute("name");d&&"length"!==d&&isNaN(d)&&(a[d]=c)}a.item=function(e){return a[e]};a.namedItem=function(e){if("length"!==e&&isNaN(e)&&a[e])return a[e];for(var f=ba(a),g=f.next();!g.done;g=f.next())if(g=g.value,(g.getAttribute("id")||g.getAttribute("name"))==e)return g;return null};return a}function sa(a){var b=[];for(a=a.__shady_native_firstChild;a;a=a.__shady_native_nextSibling)b.push(a);return b}
23
- function ta(a){var b=[];for(a=a.__shady_firstChild;a;a=a.__shady_nextSibling)b.push(a);return b}function ua(a,b,c){c.configurable=!0;if(c.value)a[b]=c.value;else try{Object.defineProperty(a,b,c)}catch(d){}}function y(a,b,c,d){c=void 0===c?"":c;for(var e in b)d&&0<=d.indexOf(e)||ua(a,c+e,b[e])}function va(a,b){for(var c in b)c in a&&ua(a,c,b[c])}function z(a){var b={};Object.getOwnPropertyNames(a).forEach(function(c){b[c]=Object.getOwnPropertyDescriptor(a,c)});return b}
24
- function wa(a,b){for(var c=Object.getOwnPropertyNames(b),d=0,e;d<c.length;d++)e=c[d],a[e]=b[e]};var xa=[],ya;function za(a){ya||(ya=!0,oa(Aa));xa.push(a)}function Aa(){ya=!1;for(var a=!!xa.length;xa.length;)xa.shift()();return a}Aa.list=xa;function Ba(){this.a=!1;this.addedNodes=[];this.removedNodes=[];this.I=new Set}function Ca(a){a.a||(a.a=!0,oa(function(){a.flush()}))}Ba.prototype.flush=function(){if(this.a){this.a=!1;var a=this.takeRecords();a.length&&this.I.forEach(function(b){b(a)})}};Ba.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var a=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];this.addedNodes=[];this.removedNodes=[];return a}return[]};
25
- function Da(a,b){var c=p(a);c.C||(c.C=new Ba);c.C.I.add(b);var d=c.C;return{ga:b,ia:d,ha:a,takeRecords:function(){return d.takeRecords()}}}function Ea(a){var b=a&&a.ia;b&&(b.I.delete(a.ga),b.I.size||(p(a.ha).C=null))}
26
- function Fa(a,b){var c=b.getRootNode();return a.map(function(d){var e=c===d.target.getRootNode();if(e&&d.addedNodes){if(e=[].slice.call(d.addedNodes).filter(function(f){return c===f.getRootNode()}),e.length)return d=Object.create(d),Object.defineProperty(d,"addedNodes",{value:e,configurable:!0}),d}else if(e)return d}).filter(function(d){return d})};var Ga=/[&\u00A0"]/g,Ha=/[&\u00A0<>]/g;function Ia(a){switch(a){case "&":return"&amp;";case "<":return"&lt;";case ">":return"&gt;";case '"':return"&quot;";case "\u00a0":return"&nbsp;"}}function Ka(a){for(var b={},c=0;c<a.length;c++)b[a[c]]=!0;return b}var La=Ka("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),Ma=Ka("style script xmp iframe noembed noframes plaintext noscript".split(" "));
27
- function Na(a,b){"template"===a.localName&&(a=a.content);for(var c="",d=b?b(a):a.childNodes,e=0,f=d.length,g=void 0;e<f&&(g=d[e]);e++){a:{var h=g;var l=a,k=b;switch(h.nodeType){case Node.ELEMENT_NODE:l=h.localName;for(var m="<"+l,r=h.attributes,w=0,ca;ca=r[w];w++)m+=" "+ca.name+'="'+ca.value.replace(Ga,Ia)+'"';m+=">";h=La[l]?m:m+Na(h,k)+"</"+l+">";break a;case Node.TEXT_NODE:h=h.data;h=l&&Ma[l.localName]?h:h.replace(Ha,Ia);break a;case Node.COMMENT_NODE:h="\x3c!--"+h.data+"--\x3e";break a;default:throw window.console.error(h),
28
- Error("not implemented");}}c+=h}return c};var Oa=t.h,Pa={querySelector:function(a){return this.__shady_native_querySelector(a)},querySelectorAll:function(a){return this.__shady_native_querySelectorAll(a)}},Qa={};function Ra(a){Qa[a]=function(b){return b["__shady_native_"+a]}}function Sa(a,b){y(a,b,"__shady_native_");for(var c in b)Ra(c)}function A(a,b){b=void 0===b?[]:b;for(var c=0;c<b.length;c++){var d=b[c],e=Object.getOwnPropertyDescriptor(a,d);e&&(Object.defineProperty(a,"__shady_native_"+d,e),e.value?Pa[d]||(Pa[d]=e.value):Ra(d))}}
29
- var B=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),C=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),Ta=document.implementation.createHTMLDocument("inert");function Ua(a){for(var b;b=a.__shady_native_firstChild;)a.__shady_native_removeChild(b)}var Va=["firstElementChild","lastElementChild","children","childElementCount"],Wa=["querySelector","querySelectorAll"];
30
- function Xa(){var a=["dispatchEvent","addEventListener","removeEventListener"];window.EventTarget?A(window.EventTarget.prototype,a):(A(Node.prototype,a),A(Window.prototype,a));Oa?A(Node.prototype,"parentNode firstChild lastChild previousSibling nextSibling childNodes parentElement textContent".split(" ")):Sa(Node.prototype,{parentNode:{get:function(){B.currentNode=this;return B.parentNode()}},firstChild:{get:function(){B.currentNode=this;return B.firstChild()}},lastChild:{get:function(){B.currentNode=
31
- this;return B.lastChild()}},previousSibling:{get:function(){B.currentNode=this;return B.previousSibling()}},nextSibling:{get:function(){B.currentNode=this;return B.nextSibling()}},childNodes:{get:function(){var b=[];B.currentNode=this;for(var c=B.firstChild();c;)b.push(c),c=B.nextSibling();return b}},parentElement:{get:function(){C.currentNode=this;return C.parentNode()}},textContent:{get:function(){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(var b=document.createTreeWalker(this,
32
- NodeFilter.SHOW_TEXT,null,!1),c="",d;d=b.nextNode();)c+=d.nodeValue;return c;default:return this.nodeValue}},set:function(b){if("undefined"===typeof b||null===b)b="";switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:Ua(this);(0<b.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_native_insertBefore(document.createTextNode(b),void 0);break;default:this.nodeValue=b}}}});A(Node.prototype,"appendChild insertBefore removeChild replaceChild cloneNode contains".split(" "));
33
- A(HTMLElement.prototype,["parentElement","contains"]);a={firstElementChild:{get:function(){C.currentNode=this;return C.firstChild()}},lastElementChild:{get:function(){C.currentNode=this;return C.lastChild()}},children:{get:function(){var b=[];C.currentNode=this;for(var c=C.firstChild();c;)b.push(c),c=C.nextSibling();return ra(b)}},childElementCount:{get:function(){return this.children?this.children.length:0}}};Oa?(A(Element.prototype,Va),A(Element.prototype,["previousElementSibling","nextElementSibling",
34
- "innerHTML","className"]),A(HTMLElement.prototype,["children","innerHTML","className"])):(Sa(Element.prototype,a),Sa(Element.prototype,{previousElementSibling:{get:function(){C.currentNode=this;return C.previousSibling()}},nextElementSibling:{get:function(){C.currentNode=this;return C.nextSibling()}},innerHTML:{get:function(){return Na(this,sa)},set:function(b){var c="template"===this.localName?this.content:this;Ua(c);var d=this.localName||"div";d=this.namespaceURI&&this.namespaceURI!==Ta.namespaceURI?
35
- Ta.createElementNS(this.namespaceURI,d):Ta.createElement(d);d.innerHTML=b;for(b="template"===this.localName?d.content:d;d=b.__shady_native_firstChild;)c.__shady_native_insertBefore(d,void 0)}},className:{get:function(){return this.getAttribute("class")||""},set:function(b){this.setAttribute("class",b)}}}));A(Element.prototype,"setAttribute getAttribute hasAttribute removeAttribute focus blur".split(" "));A(Element.prototype,Wa);A(HTMLElement.prototype,["focus","blur"]);window.HTMLTemplateElement&&
36
- A(window.HTMLTemplateElement.prototype,["innerHTML"]);Oa?A(DocumentFragment.prototype,Va):Sa(DocumentFragment.prototype,a);A(DocumentFragment.prototype,Wa);Oa?(A(Document.prototype,Va),A(Document.prototype,["activeElement"])):Sa(Document.prototype,a);A(Document.prototype,["importNode","getElementById"]);A(Document.prototype,Wa)};var Ya=z({get childNodes(){return this.__shady_childNodes},get firstChild(){return this.__shady_firstChild},get lastChild(){return this.__shady_lastChild},get childElementCount(){return this.__shady_childElementCount},get children(){return this.__shady_children},get firstElementChild(){return this.__shady_firstElementChild},get lastElementChild(){return this.__shady_lastElementChild},get shadowRoot(){return this.__shady_shadowRoot}}),Za=z({get textContent(){return this.__shady_textContent},set textContent(a){this.__shady_textContent=
37
- a},get innerHTML(){return this.__shady_innerHTML},set innerHTML(a){return this.__shady_innerHTML=a}}),$a=z({get parentElement(){return this.__shady_parentElement},get parentNode(){return this.__shady_parentNode},get nextSibling(){return this.__shady_nextSibling},get previousSibling(){return this.__shady_previousSibling},get nextElementSibling(){return this.__shady_nextElementSibling},get previousElementSibling(){return this.__shady_previousElementSibling},get className(){return this.__shady_className},
38
- set className(a){return this.__shady_className=a}});function ab(a){for(var b in a){var c=a[b];c&&(c.enumerable=!1)}}ab(Ya);ab(Za);ab($a);var bb=t.h||!0===t.j,cb=bb?function(){}:function(a){var b=p(a);b.ea||(b.ea=!0,va(a,$a))},db=bb?function(){}:function(a){var b=p(a);b.da||(b.da=!0,va(a,Ya),window.customElements&&window.customElements.polyfillWrapFlushCallback&&!t.j||va(a,Za))};var eb="__eventWrappers"+Date.now(),fb=function(){var a=Object.getOwnPropertyDescriptor(Event.prototype,"composed");return a?function(b){return a.get.call(b)}:null}(),gb=function(){function a(){}var b=!1,c={get capture(){b=!0;return!1}};window.addEventListener("test",a,c);window.removeEventListener("test",a,c);return b}();function hb(a){if(a&&"object"===typeof a){var b=!!a.capture;var c=!!a.once;var d=!!a.passive;var e=a.w}else b=!!a,d=c=!1;return{aa:e,capture:b,once:c,passive:d,Z:gb?a:b}}
39
- var ib={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,
40
- drag:!0,dragenter:!0,dragleave:!0,dragover:!0,drop:!0,dragend:!0,DOMActivate:!0,DOMFocusIn:!0,DOMFocusOut:!0,keypress:!0},jb={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function kb(a){return a instanceof Node?a.__shady_getRootNode():a}
41
- function lb(a,b){var c=[],d=a;for(a=kb(a);d;)c.push(d),d.__shady_assignedSlot?d=d.__shady_assignedSlot:d.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&d.host&&(b||d!==a)?d=d.host:d=d.__shady_parentNode;c[c.length-1]===document&&c.push(window);return c}function mb(a){a.__composedPath||(a.__composedPath=lb(a.target,!0));return a.__composedPath}function nb(a,b){if(!v)return a;a=lb(a,!0);for(var c=0,d,e=void 0,f,g=void 0;c<b.length;c++)if(d=b[c],f=kb(d),f!==e&&(g=a.indexOf(f),e=f),!v(f)||-1<g)return d}
42
- function ob(a){function b(c,d){c=new a(c,d);c.__composed=d&&!!d.composed;return c}b.__proto__=a;b.prototype=a.prototype;return b}var pb={focus:!0,blur:!0};function qb(a){return a.__target!==a.target||a.__relatedTarget!==a.relatedTarget}function rb(a,b,c){if(c=b.__handlers&&b.__handlers[a.type]&&b.__handlers[a.type][c])for(var d=0,e;(e=c[d])&&(!qb(a)||a.target!==a.relatedTarget)&&(e.call(b,a),!a.__immediatePropagationStopped);d++);}
43
- function sb(a){var b=a.composedPath();Object.defineProperty(a,"currentTarget",{get:function(){return d},configurable:!0});for(var c=b.length-1;0<=c;c--){var d=b[c];rb(a,d,"capture");if(a.N)return}Object.defineProperty(a,"eventPhase",{get:function(){return Event.AT_TARGET}});var e;for(c=0;c<b.length;c++){d=b[c];var f=q(d);f=f&&f.root;if(0===c||f&&f===e)if(rb(a,d,"bubble"),d!==window&&(e=d.__shady_getRootNode()),a.N)break}}
44
- function tb(a,b,c,d,e,f){for(var g=0;g<a.length;g++){var h=a[g],l=h.type,k=h.capture,m=h.once,r=h.passive;if(b===h.node&&c===l&&d===k&&e===m&&f===r)return g}return-1}function ub(a){Aa();return this.__shady_native_dispatchEvent(a)}
45
- function vb(a,b,c){var d=hb(c),e=d.capture,f=d.once,g=d.passive,h=d.aa;d=d.Z;if(b){var l=typeof b;if("function"===l||"object"===l)if("object"!==l||b.handleEvent&&"function"===typeof b.handleEvent){if(jb[a])return this.__shady_native_addEventListener(a,b,d);var k=h||this;if(h=b[eb]){if(-1<tb(h,k,a,e,f,g))return}else b[eb]=[];h=function(m){f&&this.__shady_removeEventListener(a,b,c);m.__target||wb(m);if(k!==this){var r=Object.getOwnPropertyDescriptor(m,"currentTarget");Object.defineProperty(m,"currentTarget",
46
- {get:function(){return k},configurable:!0})}m.__previousCurrentTarget=m.currentTarget;if(!v(k)&&"slot"!==k.localName||-1!=m.composedPath().indexOf(k))if(m.composed||-1<m.composedPath().indexOf(k))if(qb(m)&&m.target===m.relatedTarget)m.eventPhase===Event.BUBBLING_PHASE&&m.stopImmediatePropagation();else if(m.eventPhase===Event.CAPTURING_PHASE||m.bubbles||m.target===k||k instanceof Window){var w="function"===l?b.call(k,m):b.handleEvent&&b.handleEvent(m);k!==this&&(r?(Object.defineProperty(m,"currentTarget",
47
- r),r=null):delete m.currentTarget);return w}};b[eb].push({node:k,type:a,capture:e,once:f,passive:g,ya:h});pb[a]?(this.__handlers=this.__handlers||{},this.__handlers[a]=this.__handlers[a]||{capture:[],bubble:[]},this.__handlers[a][e?"capture":"bubble"].push(h)):this.__shady_native_addEventListener(a,h,d)}}}
48
- function xb(a,b,c){if(b){var d=hb(c);c=d.capture;var e=d.once,f=d.passive,g=d.aa;d=d.Z;if(jb[a])return this.__shady_native_removeEventListener(a,b,d);var h=g||this;g=void 0;var l=null;try{l=b[eb]}catch(k){}l&&(e=tb(l,h,a,c,e,f),-1<e&&(g=l.splice(e,1)[0].ya,l.length||(b[eb]=void 0)));this.__shady_native_removeEventListener(a,g||b,d);g&&pb[a]&&this.__handlers&&this.__handlers[a]&&(a=this.__handlers[a][c?"capture":"bubble"],b=a.indexOf(g),-1<b&&a.splice(b,1))}}
49
- function yb(){for(var a in pb)window.__shady_native_addEventListener(a,function(b){b.__target||(wb(b),sb(b))},!0)}
50
- var zb=z({get composed(){void 0===this.__composed&&(fb?this.__composed="focusin"===this.type||"focusout"===this.type||fb(this):!1!==this.isTrusted&&(this.__composed=ib[this.type]));return this.__composed||!1},composedPath:function(){this.__composedPath||(this.__composedPath=lb(this.__target,this.composed));return this.__composedPath},get target(){return nb(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){if(!this.__relatedTarget)return null;this.__relatedTargetComposedPath||
51
- (this.__relatedTargetComposedPath=lb(this.__relatedTarget,!0));return nb(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)},stopPropagation:function(){Event.prototype.stopPropagation.call(this);this.N=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this);this.N=this.__immediatePropagationStopped=!0}});
52
- function wb(a){a.__target=a.target;a.__relatedTarget=a.relatedTarget;if(t.h){var b=Object.getPrototypeOf(a);if(!b.hasOwnProperty("__shady_patchedProto")){var c=Object.create(b);c.__shady_sourceProto=b;y(c,zb);b.__shady_patchedProto=c}a.__proto__=b.__shady_patchedProto}else y(a,zb)}var Ab=ob(Event),Bb=ob(CustomEvent),Cb=ob(MouseEvent);
53
- function Db(){if(!fb&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var a=function(){var b=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this.__shady_dispatchEvent(b)};Element.prototype.click?Element.prototype.click=a:HTMLElement.prototype.click&&(HTMLElement.prototype.click=a)}}
54
- var Eb=Object.getOwnPropertyNames(Element.prototype).filter(function(a){return"on"===a.substring(0,2)}),Fb=Object.getOwnPropertyNames(HTMLElement.prototype).filter(function(a){return"on"===a.substring(0,2)});function Gb(a){return{set:function(b){var c=p(this),d=a.substring(2);c.v||(c.v={});c.v[a]&&this.removeEventListener(d,c.v[a]);this.__shady_addEventListener(d,b);c.v[a]=b},get:function(){var b=q(this);return b&&b.v&&b.v[a]},configurable:!0}};function Hb(a,b){return{index:a,D:[],H:b}}
55
- function Ib(a,b,c,d){var e=0,f=0,g=0,h=0,l=Math.min(b-e,d-f);if(0==e&&0==f)a:{for(g=0;g<l;g++)if(a[g]!==c[g])break a;g=l}if(b==a.length&&d==c.length){h=a.length;for(var k=c.length,m=0;m<l-g&&Jb(a[--h],c[--k]);)m++;h=m}e+=g;f+=g;b-=h;d-=h;if(0==b-e&&0==d-f)return[];if(e==b){for(b=Hb(e,0);f<d;)b.D.push(c[f++]);return[b]}if(f==d)return[Hb(e,b-e)];l=e;g=f;d=d-g+1;h=b-l+1;b=Array(d);for(k=0;k<d;k++)b[k]=Array(h),b[k][0]=k;for(k=0;k<h;k++)b[0][k]=k;for(k=1;k<d;k++)for(m=1;m<h;m++)if(a[l+m-1]===c[g+k-1])b[k][m]=
56
- b[k-1][m-1];else{var r=b[k-1][m]+1,w=b[k][m-1]+1;b[k][m]=r<w?r:w}l=b.length-1;g=b[0].length-1;d=b[l][g];for(a=[];0<l||0<g;)0==l?(a.push(2),g--):0==g?(a.push(3),l--):(h=b[l-1][g-1],k=b[l-1][g],m=b[l][g-1],r=k<m?k<h?k:h:m<h?m:h,r==h?(h==d?a.push(0):(a.push(1),d=h),l--,g--):r==k?(a.push(3),l--,d=k):(a.push(2),g--,d=m));a.reverse();b=void 0;l=[];for(g=0;g<a.length;g++)switch(a[g]){case 0:b&&(l.push(b),b=void 0);e++;f++;break;case 1:b||(b=Hb(e,0));b.H++;e++;b.D.push(c[f]);f++;break;case 2:b||(b=Hb(e,0));
57
- b.H++;e++;break;case 3:b||(b=Hb(e,0)),b.D.push(c[f]),f++}b&&l.push(b);return l}function Jb(a,b){return a===b};var Kb=z({dispatchEvent:ub,addEventListener:vb,removeEventListener:xb});var Lb=null;function D(){Lb||(Lb=window.ShadyCSS&&window.ShadyCSS.ScopingShim);return Lb||null}function Mb(a,b,c){var d=D();return d&&"class"===b?(d.setElementClass(a,c),!0):!1}function Nb(a,b){var c=D();c&&c.unscopeNode(a,b)}function Ob(a,b){var c=D();if(!c)return!0;if(a.nodeType===Node.DOCUMENT_FRAGMENT_NODE){c=!0;for(a=a.__shady_firstChild;a;a=a.__shady_nextSibling)c=c&&Ob(a,b);return c}return a.nodeType!==Node.ELEMENT_NODE?!0:c.currentScopeForNode(a)===b}
58
- function Pb(a){if(a.nodeType!==Node.ELEMENT_NODE)return"";var b=D();return b?b.currentScopeForNode(a):""}function Qb(a,b){if(a)for(a.nodeType===Node.ELEMENT_NODE&&b(a),a=a.__shady_firstChild;a;a=a.__shady_nextSibling)a.nodeType===Node.ELEMENT_NODE&&Qb(a,b)};var Rb=window.document,Sb=t.M,Tb=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"),Ub=Tb&&Tb.get;function Vb(a){for(var b;b=a.__shady_firstChild;)a.__shady_removeChild(b)}function Wb(a){var b=q(a);if(b&&void 0!==b.L)for(b=a.__shady_firstChild;b;b=b.__shady_nextSibling)Wb(b);if(a=q(a))a.L=void 0}function Xb(a){var b=a;if(a&&"slot"===a.localName){var c=q(a);(c=c&&c.B)&&(b=c.length?c[0]:Xb(a.__shady_nextSibling))}return b}
59
- function Yb(a,b,c){if(a=(a=q(a))&&a.C){if(b)if(b.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(var d=0,e=b.childNodes.length;d<e;d++)a.addedNodes.push(b.childNodes[d]);else a.addedNodes.push(b);c&&a.removedNodes.push(c);Ca(a)}}
60
- var cc=z({get parentNode(){var a=q(this);a=a&&a.parentNode;return void 0!==a?a:this.__shady_native_parentNode},get firstChild(){var a=q(this);a=a&&a.firstChild;return void 0!==a?a:this.__shady_native_firstChild},get lastChild(){var a=q(this);a=a&&a.lastChild;return void 0!==a?a:this.__shady_native_lastChild},get nextSibling(){var a=q(this);a=a&&a.nextSibling;return void 0!==a?a:this.__shady_native_nextSibling},get previousSibling(){var a=q(this);a=a&&a.previousSibling;return void 0!==a?a:this.__shady_native_previousSibling},
61
- get childNodes(){if(u(this)){var a=q(this);if(!a.childNodes){a.childNodes=[];for(var b=this.__shady_firstChild;b;b=b.__shady_nextSibling)a.childNodes.push(b)}var c=a.childNodes}else c=this.__shady_native_childNodes;c.item=function(d){return c[d]};return c},get parentElement(){var a=q(this);(a=a&&a.parentNode)&&a.nodeType!==Node.ELEMENT_NODE&&(a=null);return void 0!==a?a:this.__shady_native_parentElement},get isConnected(){if(Ub&&Ub.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;
62
- var a=this.ownerDocument;if(pa){if(a.__shady_native_contains(this))return!0}else if(a.documentElement&&a.documentElement.__shady_native_contains(this))return!0;for(a=this;a&&!(a instanceof Document);)a=a.__shady_parentNode||(v(a)?a.host:void 0);return!!(a&&a instanceof Document)},get textContent(){if(u(this)){for(var a=[],b=this.__shady_firstChild;b;b=b.__shady_nextSibling)b.nodeType!==Node.COMMENT_NODE&&a.push(b.__shady_textContent);return a.join("")}return this.__shady_native_textContent},set textContent(a){if("undefined"===
63
- typeof a||null===a)a="";switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:if(!u(this)&&t.h){var b=this.__shady_firstChild;(b!=this.__shady_lastChild||b&&b.nodeType!=Node.TEXT_NODE)&&Vb(this);this.__shady_native_textContent=a}else Vb(this),(0<a.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_insertBefore(document.createTextNode(a));break;default:this.nodeValue=a}},insertBefore:function(a,b){if(this.ownerDocument!==Rb&&a.ownerDocument!==Rb)return this.__shady_native_insertBefore(a,
64
- b),a;if(a===this)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(b){var c=q(b);c=c&&c.parentNode;if(void 0!==c&&c!==this||void 0===c&&b.__shady_native_parentNode!==this)throw Error("Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.");}if(b===a)return a;Yb(this,a);var d=[],e=(c=E(this))?c.host.localName:Pb(this),f=a.__shady_parentNode;if(f){var g=Pb(a);var h=!!c||!E(a)||
65
- Sb&&void 0!==this.__noInsertionPoint;f.__shady_removeChild(a,h)}f=!0;var l=(!Sb||void 0===a.__noInsertionPoint&&void 0===this.__noInsertionPoint)&&!Ob(a,e),k=c&&!a.__noInsertionPoint&&(!Sb||a.nodeType===Node.DOCUMENT_FRAGMENT_NODE);if(k||l)l&&(g=g||Pb(a)),Qb(a,function(m){k&&"slot"===m.localName&&d.push(m);if(l){var r=g;D()&&(r&&Nb(m,r),(r=D())&&r.scopeNode(m,e))}});d.length&&(Zb(c),c.c.push.apply(c.c,d instanceof Array?d:da(ba(d))),F(c));u(this)&&($b(a,this,b),h=q(this),h.root?(f=!1,ia(this)&&F(h.root)):
66
- c&&"slot"===this.localName&&(f=!1,F(c)));f?(c=v(this)?this.host:this,b?(b=Xb(b),c.__shady_native_insertBefore(a,b)):c.__shady_native_appendChild(a)):a.ownerDocument!==this.ownerDocument&&this.ownerDocument.adoptNode(a);return a},appendChild:function(a){if(this!=a||!v(a))return this.__shady_insertBefore(a)},removeChild:function(a,b){b=void 0===b?!1:b;if(this.ownerDocument!==Rb)return this.__shady_native_removeChild(a);if(a.__shady_parentNode!==this)throw Error("The node to be removed is not a child of this node: "+
67
- a);Yb(this,null,a);var c=E(a),d=c&&ac(c,a),e=q(this);if(u(this)&&(bc(a,this),ia(this))){F(e.root);var f=!0}if(D()&&!b&&c&&a.nodeType!==Node.TEXT_NODE){var g=Pb(a);Qb(a,function(h){Nb(h,g)})}Wb(a);c&&((b="slot"===this.localName)&&(f=!0),(d||b)&&F(c));f||(f=v(this)?this.host:this,(!e.root&&"slot"!==a.localName||f===a.__shady_native_parentNode)&&f.__shady_native_removeChild(a));return a},replaceChild:function(a,b){this.__shady_insertBefore(a,b);this.__shady_removeChild(b);return a},cloneNode:function(a){if("template"==
68
- this.localName)return this.__shady_native_cloneNode(a);var b=this.__shady_native_cloneNode(!1);if(a&&b.nodeType!==Node.ATTRIBUTE_NODE){a=this.__shady_firstChild;for(var c;a;a=a.__shady_nextSibling)c=a.__shady_cloneNode(!0),b.__shady_appendChild(c)}return b},getRootNode:function(a){if(this&&this.nodeType){var b=p(this),c=b.L;void 0===c&&(v(this)?(c=this,b.L=c):(c=(c=this.__shady_parentNode)?c.__shady_getRootNode(a):this,document.documentElement.__shady_native_contains(this)&&(b.L=c)));return c}},contains:function(a){return qa(this,
69
- a)}});var ec=z({get assignedSlot(){var a=this.__shady_parentNode;(a=a&&a.__shady_shadowRoot)&&dc(a);return(a=q(this))&&a.assignedSlot||null}});function fc(a,b,c){var d=[];gc(a,b,c,d);return d}function gc(a,b,c,d){for(a=a.__shady_firstChild;a;a=a.__shady_nextSibling){var e;if(e=a.nodeType===Node.ELEMENT_NODE){e=a;var f=b,g=c,h=d,l=f(e);l&&h.push(e);g&&g(l)?e=l:(gc(e,f,g,h),e=void 0)}if(e)break}}
70
- var G=z({get firstElementChild(){var a=q(this);if(a&&void 0!==a.firstChild){for(a=this.__shady_firstChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.__shady_nextSibling;return a}return this.__shady_native_firstElementChild},get lastElementChild(){var a=q(this);if(a&&void 0!==a.lastChild){for(a=this.__shady_lastChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.__shady_previousSibling;return a}return this.__shady_native_lastElementChild},get children(){return u(this)?ra(Array.prototype.filter.call(ta(this),
71
- function(a){return a.nodeType===Node.ELEMENT_NODE})):this.__shady_native_children},get childElementCount(){var a=this.__shady_children;return a?a.length:0}}),hc=z({querySelector:function(a){return fc(this,function(b){return ka.call(b,a)},function(b){return!!b})[0]||null},querySelectorAll:function(a,b){if(b){b=Array.prototype.slice.call(this.__shady_native_querySelectorAll(a));var c=this.__shady_getRootNode();return ra(b.filter(function(d){return d.__shady_getRootNode()==c}))}return ra(fc(this,function(d){return ka.call(d,
72
- a)}))}}),ic=t.M&&!t.j?wa({},G):G;wa(G,hc);var jc=window.document;function kc(a,b){if("slot"===b)a=a.__shady_parentNode,ia(a)&&F(q(a).root);else if("slot"===a.localName&&"name"===b&&(b=E(a))){if(b.a){lc(b);var c=a.fa,d=mc(a);if(d!==c){c=b.b[c];var e=c.indexOf(a);0<=e&&c.splice(e,1);c=b.b[d]||(b.b[d]=[]);c.push(a);1<c.length&&(b.b[d]=nc(c))}}F(b)}}
73
- var oc=z({get previousElementSibling(){var a=q(this);if(a&&void 0!==a.previousSibling){for(a=this.__shady_previousSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.__shady_previousSibling;return a}return this.__shady_native_previousElementSibling},get nextElementSibling(){var a=q(this);if(a&&void 0!==a.nextSibling){for(a=this.__shady_nextSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.__shady_nextSibling;return a}return this.__shady_native_nextElementSibling},get slot(){return this.getAttribute("slot")},
74
- set slot(a){this.__shady_setAttribute("slot",a)},get className(){return this.getAttribute("class")||""},set className(a){this.__shady_setAttribute("class",a)},setAttribute:function(a,b){this.ownerDocument!==jc?this.__shady_native_setAttribute(a,b):Mb(this,a,b)||(this.__shady_native_setAttribute(a,b),kc(this,a))},removeAttribute:function(a){this.ownerDocument!==jc?this.__shady_native_removeAttribute(a):Mb(this,a,"")?""===this.getAttribute(a)&&this.__shady_native_removeAttribute(a):(this.__shady_native_removeAttribute(a),
75
- kc(this,a))}});t.M||Eb.forEach(function(a){oc[a]=Gb(a)});
76
- var tc=z({attachShadow:function(a){if(!this)throw Error("Must provide a host.");if(!a)throw Error("Not enough arguments.");if(a.shadyUpgradeFragment&&!t.ca){var b=a.shadyUpgradeFragment;b.__proto__=ShadowRoot.prototype;pc(b,this,a);qc(b,b);a=b.__noInsertionPoint?null:b.querySelectorAll("slot");b.__noInsertionPoint=void 0;if(a&&a.length){var c=b;Zb(c);c.c.push.apply(c.c,a instanceof Array?a:da(ba(a)));F(b)}b.host.__shady_native_appendChild(b)}else b=new rc(sc,this,a);return this.__CE_shadowRoot=b},
77
- get shadowRoot(){var a=q(this);return a&&a.ra||null}});wa(oc,tc);var uc=document.implementation.createHTMLDocument("inert"),vc=z({get innerHTML(){return u(this)?Na("template"===this.localName?this.content:this,ta):this.__shady_native_innerHTML},set innerHTML(a){if("template"===this.localName)this.__shady_native_innerHTML=a;else{Vb(this);var b=this.localName||"div";b=this.namespaceURI&&this.namespaceURI!==uc.namespaceURI?uc.createElementNS(this.namespaceURI,b):uc.createElement(b);for(t.h?b.__shady_native_innerHTML=a:b.innerHTML=a;a=b.__shady_firstChild;)this.__shady_insertBefore(a)}}});var wc=z({blur:function(){var a=q(this);(a=(a=a&&a.root)&&a.activeElement)?a.__shady_blur():this.__shady_native_blur()}});t.M||Fb.forEach(function(a){wc[a]=Gb(a)});var xc=z({assignedNodes:function(a){if("slot"===this.localName){var b=this.__shady_getRootNode();b&&v(b)&&dc(b);return(b=q(this))?(a&&a.flatten?b.B:b.assignedNodes)||[]:[]}},addEventListener:function(a,b,c){if("slot"!==this.localName||"slotchange"===a)vb.call(this,a,b,c);else{"object"!==typeof c&&(c={capture:!!c});var d=this.__shady_parentNode;if(!d)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");c.w=this;d.__shady_addEventListener(a,b,c)}},removeEventListener:function(a,
78
- b,c){if("slot"!==this.localName||"slotchange"===a)xb.call(this,a,b,c);else{"object"!==typeof c&&(c={capture:!!c});var d=this.__shady_parentNode;if(!d)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");c.w=this;d.__shady_removeEventListener(a,b,c)}}});var yc=z({getElementById:function(a){return""===a?null:fc(this,function(b){return b.id==a},function(b){return!!b})[0]||null}});var zc=z({get activeElement(){var a=t.h?document.__shady_native_activeElement:document.activeElement;if(!a||!a.nodeType)return null;var b=!!v(this);if(!(this===document||b&&this.host!==a&&this.host.__shady_native_contains(a)))return null;for(b=E(a);b&&b!==this;)a=b.host,b=E(a);return this===document?b?null:a:b===this?a:null}});var Ac=window.document,Bc=z({importNode:function(a,b){if(a.ownerDocument!==Ac||"template"===a.localName)return this.__shady_native_importNode(a,b);var c=this.__shady_native_importNode(a,!1);if(b)for(a=a.__shady_firstChild;a;a=a.__shady_nextSibling)b=this.__shady_importNode(a,!0),c.__shady_appendChild(b);return c}});var Cc=z({dispatchEvent:ub,addEventListener:vb.bind(window),removeEventListener:xb.bind(window)});var H={};Object.getOwnPropertyDescriptor(HTMLElement.prototype,"parentElement")&&(H.parentElement=cc.parentElement);Object.getOwnPropertyDescriptor(HTMLElement.prototype,"contains")&&(H.contains=cc.contains);Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&(H.children=G.children);Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&(H.innerHTML=vc.innerHTML);Object.getOwnPropertyDescriptor(HTMLElement.prototype,"className")&&(H.className=oc.className);
79
- var I={EventTarget:[Kb],Node:[cc,window.EventTarget?null:Kb],Text:[ec],Comment:[ec],CDATASection:[ec],ProcessingInstruction:[ec],Element:[oc,G,ec,!t.h||"innerHTML"in Element.prototype?vc:null,window.HTMLSlotElement?null:xc],HTMLElement:[wc,H],HTMLSlotElement:[xc],DocumentFragment:[ic,yc],Document:[Bc,ic,yc,zc],Window:[Cc]},Dc=t.h?null:["innerHTML","textContent"];function J(a,b,c,d){b.forEach(function(e){return a&&e&&y(a,e,c,d)})}
80
- function Ec(a){var b=a?null:Dc,c;for(c in I)J(window[c]&&window[c].prototype,I[c],a,b)}["Text","Comment","CDATASection","ProcessingInstruction"].forEach(function(a){var b=window[a],c=Object.create(b.prototype);c.__shady_protoIsPatched=!0;J(c,I.EventTarget);J(c,I.Node);I[a]&&J(c,I[a]);b.prototype.__shady_patchedProto=c});function Fc(a){a.__shady_protoIsPatched=!0;J(a,I.EventTarget);J(a,I.Node);J(a,I.Element);J(a,I.HTMLElement);J(a,I.HTMLSlotElement);return a};var Gc=t.T,Hc=t.h;function Ic(a,b){if(Gc&&!a.__shady_protoIsPatched&&!v(a)){var c=Object.getPrototypeOf(a),d=c.hasOwnProperty("__shady_patchedProto")&&c.__shady_patchedProto;d||(d=Object.create(c),Fc(d),c.__shady_patchedProto=d);Object.setPrototypeOf(a,d)}Hc||(1===b?cb(a):2===b&&db(a))}
81
- function Jc(a,b,c,d){Ic(a,1);d=d||null;var e=p(a),f=d?p(d):null;e.previousSibling=d?f.previousSibling:b.__shady_lastChild;if(f=q(e.previousSibling))f.nextSibling=a;if(f=q(e.nextSibling=d))f.previousSibling=a;e.parentNode=b;d?d===c.firstChild&&(c.firstChild=a):(c.lastChild=a,c.firstChild||(c.firstChild=a));c.childNodes=null}
82
- function $b(a,b,c){Ic(b,2);var d=p(b);void 0!==d.firstChild&&(d.childNodes=null);if(a.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(a=a.__shady_native_firstChild;a;a=a.__shady_native_nextSibling)Jc(a,b,d,c);else Jc(a,b,d,c)}
83
- function bc(a,b){var c=p(a);b=p(b);a===b.firstChild&&(b.firstChild=c.nextSibling);a===b.lastChild&&(b.lastChild=c.previousSibling);a=c.previousSibling;var d=c.nextSibling;a&&(p(a).nextSibling=d);d&&(p(d).previousSibling=a);c.parentNode=c.previousSibling=c.nextSibling=void 0;void 0!==b.childNodes&&(b.childNodes=null)}
84
- function qc(a,b){var c=p(a);if(b||void 0===c.firstChild){c.childNodes=null;var d=c.firstChild=a.__shady_native_firstChild;c.lastChild=a.__shady_native_lastChild;Ic(a,2);c=d;for(d=void 0;c;c=c.__shady_native_nextSibling){var e=p(c);e.parentNode=b||a;e.nextSibling=c.__shady_native_nextSibling;e.previousSibling=d||null;d=c;Ic(c,1)}}};var Kc=z({addEventListener:function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.w=c.w||this;this.host.__shady_addEventListener(a,b,c)},removeEventListener:function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.w=c.w||this;this.host.__shady_removeEventListener(a,b,c)}});function Lc(a,b){y(a,Kc,b);y(a,zc,b);y(a,vc,b);y(a,G,b);t.j&&!b?(y(a,cc,b),y(a,yc,b)):t.h||(y(a,$a),y(a,Ya),y(a,Za))};var sc={},K=t.deferConnectionCallbacks&&"loading"===document.readyState,Mc;function Nc(a){var b=[];do b.unshift(a);while(a=a.__shady_parentNode);return b}function rc(a,b,c){if(a!==sc)throw new TypeError("Illegal constructor");this.a=null;pc(this,b,c)}
85
- function pc(a,b,c){a.host=b;a.mode=c&&c.mode;qc(a.host);b=p(a.host);b.root=a;b.ra="closed"!==a.mode?a:null;b=p(a);b.firstChild=b.lastChild=b.parentNode=b.nextSibling=b.previousSibling=null;if(t.preferPerformance)for(;b=a.host.__shady_native_firstChild;)a.host.__shady_native_removeChild(b);else F(a)}function F(a){a.A||(a.A=!0,za(function(){return dc(a)}))}
86
- function dc(a){var b;if(b=a.A){for(var c;a;)a:{a.A&&(c=a),b=a;a=b.host.__shady_getRootNode();if(v(a)&&(b=q(b.host))&&0<b.G)break a;a=void 0}b=c}(c=b)&&c._renderSelf()}
87
- rc.prototype._renderSelf=function(){var a=K;K=!0;this.A=!1;if(this.a){lc(this);for(var b=0,c;b<this.a.length;b++){c=this.a[b];var d=q(c),e=d.assignedNodes;d.assignedNodes=[];d.B=[];if(d.W=e)for(d=0;d<e.length;d++){var f=q(e[d]);f.O=f.assignedSlot;f.assignedSlot===c&&(f.assignedSlot=null)}}for(b=this.host.__shady_firstChild;b;b=b.__shady_nextSibling)Oc(this,b);for(b=0;b<this.a.length;b++){c=this.a[b];e=q(c);if(!e.assignedNodes.length)for(d=c.__shady_firstChild;d;d=d.__shady_nextSibling)Oc(this,d,c);
88
- (d=(d=q(c.__shady_parentNode))&&d.root)&&(ja(d)||d.A)&&d._renderSelf();Pc(this,e.B,e.assignedNodes);if(d=e.W){for(f=0;f<d.length;f++)q(d[f]).O=null;e.W=null;d.length>e.assignedNodes.length&&(e.P=!0)}e.P&&(e.P=!1,Qc(this,c))}c=this.a;b=[];for(e=0;e<c.length;e++)d=c[e].__shady_parentNode,(f=q(d))&&f.root||!(0>b.indexOf(d))||b.push(d);for(c=0;c<b.length;c++){f=b[c];e=f===this?this.host:f;d=[];for(f=f.__shady_firstChild;f;f=f.__shady_nextSibling)if("slot"==f.localName)for(var g=q(f).B,h=0;h<g.length;h++)d.push(g[h]);
89
- else d.push(f);f=sa(e);g=Ib(d,d.length,f,f.length);for(var l=h=0,k=void 0;h<g.length&&(k=g[h]);h++){for(var m=0,r=void 0;m<k.D.length&&(r=k.D[m]);m++)r.__shady_native_parentNode===e&&e.__shady_native_removeChild(r),f.splice(k.index+l,1);l-=k.H}l=0;for(k=void 0;l<g.length&&(k=g[l]);l++)for(h=f[k.index],m=k.index;m<k.index+k.H;m++)r=d[m],e.__shady_native_insertBefore(r,h),f.splice(m,0,r)}}if(!t.preferPerformance&&!this.V)for(b=this.host.__shady_firstChild;b;b=b.__shady_nextSibling)c=q(b),b.__shady_native_parentNode!==
90
- this.host||"slot"!==b.localName&&c.assignedSlot||this.host.__shady_native_removeChild(b);this.V=!0;K=a;Mc&&Mc()};function Oc(a,b,c){var d=p(b),e=d.O;d.O=null;c||(c=(a=a.b[b.__shady_slot||"__catchall"])&&a[0]);c?(p(c).assignedNodes.push(b),d.assignedSlot=c):d.assignedSlot=void 0;e!==d.assignedSlot&&d.assignedSlot&&(p(d.assignedSlot).P=!0)}function Pc(a,b,c){for(var d=0,e=void 0;d<c.length&&(e=c[d]);d++)if("slot"==e.localName){var f=q(e).assignedNodes;f&&f.length&&Pc(a,b,f)}else b.push(c[d])}
91
- function Qc(a,b){b.__shady_native_dispatchEvent(new Event("slotchange"));b=q(b);b.assignedSlot&&Qc(a,b.assignedSlot)}function Zb(a){a.c=a.c||[];a.a=a.a||[];a.b=a.b||{}}function lc(a){if(a.c&&a.c.length){for(var b=a.c,c,d=0;d<b.length;d++){var e=b[d];qc(e);var f=e.__shady_parentNode;qc(f);f=q(f);f.G=(f.G||0)+1;f=mc(e);a.b[f]?(c=c||{},c[f]=!0,a.b[f].push(e)):a.b[f]=[e];a.a.push(e)}if(c)for(var g in c)a.b[g]=nc(a.b[g]);a.c=[]}}
92
- function mc(a){var b=a.name||a.getAttribute("name")||"__catchall";return a.fa=b}function nc(a){return a.sort(function(b,c){b=Nc(b);for(var d=Nc(c),e=0;e<b.length;e++){c=b[e];var f=d[e];if(c!==f)return b=ta(c.__shady_parentNode),b.indexOf(c)-b.indexOf(f)}})}
93
- function ac(a,b){if(a.a){lc(a);var c=a.b,d;for(d in c)for(var e=c[d],f=0;f<e.length;f++){var g=e[f];if(qa(b,g)){e.splice(f,1);var h=a.a.indexOf(g);0<=h&&(a.a.splice(h,1),(h=q(g.__shady_parentNode))&&h.G&&h.G--);f--;g=q(g);if(h=g.B)for(var l=0;l<h.length;l++){var k=h[l],m=k.__shady_native_parentNode;m&&m.__shady_native_removeChild(k)}g.B=[];g.assignedNodes=[];h=!0}}return h}}function ja(a){lc(a);return!(!a.a||!a.a.length)}
94
- (function(a){a.__proto__=DocumentFragment.prototype;Lc(a,"__shady_");Lc(a);Object.defineProperties(a,{nodeType:{value:Node.DOCUMENT_FRAGMENT_NODE,configurable:!0},nodeName:{value:"#document-fragment",configurable:!0},nodeValue:{value:null,configurable:!0}});["localName","namespaceURI","prefix"].forEach(function(b){Object.defineProperty(a,b,{value:void 0,configurable:!0})});["ownerDocument","baseURI","isConnected"].forEach(function(b){Object.defineProperty(a,b,{get:function(){return this.host[b]},
95
- configurable:!0})})})(rc.prototype);
96
- if(window.customElements&&window.customElements.define&&t.R&&!t.preferPerformance){var Rc=new Map;Mc=function(){var a=[];Rc.forEach(function(d,e){a.push([e,d])});Rc.clear();for(var b=0;b<a.length;b++){var c=a[b][0];a[b][1]?c.__shadydom_connectedCallback():c.__shadydom_disconnectedCallback()}};K&&document.addEventListener("readystatechange",function(){K=!1;Mc()},{once:!0});var Sc=function(a,b,c){var d=0,e="__isConnected"+d++;if(b||c)a.prototype.connectedCallback=a.prototype.__shadydom_connectedCallback=
97
- function(){K?Rc.set(this,!0):this[e]||(this[e]=!0,b&&b.call(this))},a.prototype.disconnectedCallback=a.prototype.__shadydom_disconnectedCallback=function(){K?this.isConnected||Rc.set(this,!1):this[e]&&(this[e]=!1,c&&c.call(this))};return a},Tc=window.customElements.define,Uc=function(a,b){var c=b.prototype.connectedCallback,d=b.prototype.disconnectedCallback;Tc.call(window.customElements,a,Sc(b,c,d));b.prototype.connectedCallback=c;b.prototype.disconnectedCallback=d};window.customElements.define=
98
- Uc;Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:Uc,configurable:!0})}function E(a){a=a.__shady_getRootNode();if(v(a))return a};function L(a){this.node=a}n=L.prototype;n.addEventListener=function(a,b,c){return this.node.__shady_addEventListener(a,b,c)};n.removeEventListener=function(a,b,c){return this.node.__shady_removeEventListener(a,b,c)};n.appendChild=function(a){return this.node.__shady_appendChild(a)};n.insertBefore=function(a,b){return this.node.__shady_insertBefore(a,b)};n.removeChild=function(a){return this.node.__shady_removeChild(a)};n.replaceChild=function(a,b){return this.node.__shady_replaceChild(a,b)};
99
- n.cloneNode=function(a){return this.node.__shady_cloneNode(a)};n.getRootNode=function(a){return this.node.__shady_getRootNode(a)};n.contains=function(a){return this.node.__shady_contains(a)};n.dispatchEvent=function(a){return this.node.__shady_dispatchEvent(a)};n.setAttribute=function(a,b){this.node.__shady_setAttribute(a,b)};n.getAttribute=function(a){return this.node.__shady_native_getAttribute(a)};n.removeAttribute=function(a){this.node.__shady_removeAttribute(a)};n.attachShadow=function(a){return this.node.__shady_attachShadow(a)};
100
- n.focus=function(){this.node.__shady_native_focus()};n.blur=function(){this.node.__shady_blur()};n.importNode=function(a,b){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_importNode(a,b)};n.getElementById=function(a){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_getElementById(a)};n.querySelector=function(a){return this.node.__shady_querySelector(a)};n.querySelectorAll=function(a,b){return this.node.__shady_querySelectorAll(a,b)};
101
- n.assignedNodes=function(a){if("slot"===this.node.localName)return this.node.__shady_assignedNodes(a)};
102
- ea.Object.defineProperties(L.prototype,{activeElement:{configurable:!0,enumerable:!0,get:function(){if(v(this.node)||this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_activeElement}},_activeElement:{configurable:!0,enumerable:!0,get:function(){return this.activeElement}},host:{configurable:!0,enumerable:!0,get:function(){if(v(this.node))return this.node.host}},parentNode:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentNode}},firstChild:{configurable:!0,
103
- enumerable:!0,get:function(){return this.node.__shady_firstChild}},lastChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastChild}},nextSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextSibling}},previousSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousSibling}},childNodes:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childNodes}},parentElement:{configurable:!0,enumerable:!0,
104
- get:function(){return this.node.__shady_parentElement}},firstElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstElementChild}},lastElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastElementChild}},nextElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextElementSibling}},previousElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousElementSibling}},
105
- children:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_children}},childElementCount:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childElementCount}},shadowRoot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_shadowRoot}},assignedSlot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_assignedSlot}},isConnected:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_isConnected}},innerHTML:{configurable:!0,
106
- enumerable:!0,get:function(){return this.node.__shady_innerHTML},set:function(a){this.node.__shady_innerHTML=a}},textContent:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_textContent},set:function(a){this.node.__shady_textContent=a}},slot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_slot},set:function(a){this.node.__shady_slot=a}},className:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_className},set:function(a){return this.node.__shady_className=
107
- a}}});function Vc(a){Object.defineProperty(L.prototype,a,{get:function(){return this.node["__shady_"+a]},set:function(b){this.node["__shady_"+a]=b},configurable:!0})}Eb.forEach(function(a){return Vc(a)});Fb.forEach(function(a){return Vc(a)});var Wc=new WeakMap;function Xc(a){if(v(a)||a instanceof L)return a;var b=Wc.get(a);b||(b=new L(a),Wc.set(a,b));return b};if(t.R){var Yc=t.h?function(a){return a}:function(a){db(a);cb(a);return a},ShadyDOM={inUse:t.R,patch:Yc,isShadyRoot:v,enqueue:za,flush:Aa,flushInitial:function(a){!a.V&&a.A&&dc(a)},settings:t,filterMutations:Fa,observeChildren:Da,unobserveChildren:Ea,deferConnectionCallbacks:t.deferConnectionCallbacks,preferPerformance:t.preferPerformance,handlesDynamicScoping:!0,wrap:t.j?Xc:Yc,wrapIfNeeded:!0===t.j?Xc:function(a){return a},Wrapper:L,composedPath:mb,noPatch:t.j,patchOnDemand:t.T,nativeMethods:Pa,
108
- nativeTree:Qa,patchElementProto:Fc};window.ShadyDOM=ShadyDOM;Xa();Ec("__shady_");Object.defineProperty(document,"_activeElement",zc.activeElement);y(Window.prototype,Cc,"__shady_");t.j?t.T&&y(Element.prototype,tc):(Ec(),Db());yb();window.Event=Ab;window.CustomEvent=Bb;window.MouseEvent=Cb;window.ShadowRoot=rc};/*
109
-
110
- Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
111
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
112
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
113
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
114
- Code distributed by Google as part of the polymer project is also
115
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
116
- */
117
- function Zc(){this.end=this.start=0;this.rules=this.parent=this.previous=null;this.cssText=this.parsedCssText="";this.atRule=!1;this.type=0;this.parsedSelector=this.selector=this.keyframesName=""}
118
- function $c(a){var b=a=a.replace(ad,"").replace(bd,""),c=new Zc;c.start=0;c.end=b.length;for(var d=c,e=0,f=b.length;e<f;e++)if("{"===b[e]){d.rules||(d.rules=[]);var g=d,h=g.rules[g.rules.length-1]||null;d=new Zc;d.start=e+1;d.parent=g;d.previous=h;g.rules.push(d)}else"}"===b[e]&&(d.end=e+1,d=d.parent||c);return cd(c,a)}
119
- function cd(a,b){var c=b.substring(a.start,a.end-1);a.parsedCssText=a.cssText=c.trim();a.parent&&(c=b.substring(a.previous?a.previous.end:a.parent.start,a.start-1),c=dd(c),c=c.replace(ed," "),c=c.substring(c.lastIndexOf(";")+1),c=a.parsedSelector=a.selector=c.trim(),a.atRule=0===c.indexOf("@"),a.atRule?0===c.indexOf("@media")?a.type=fd:c.match(gd)&&(a.type=hd,a.keyframesName=a.selector.split(ed).pop()):a.type=0===c.indexOf("--")?id:jd);if(c=a.rules)for(var d=0,e=c.length,f=void 0;d<e&&(f=c[d]);d++)cd(f,
120
- b);return a}function dd(a){return a.replace(/\\([0-9a-f]{1,6})\s/gi,function(b,c){b=c;for(c=6-b.length;c--;)b="0"+b;return"\\"+b})}
121
- function kd(a,b,c){c=void 0===c?"":c;var d="";if(a.cssText||a.rules){var e=a.rules,f;if(f=e)f=e[0],f=!(f&&f.selector&&0===f.selector.indexOf("--"));if(f){f=0;for(var g=e.length,h=void 0;f<g&&(h=e[f]);f++)d=kd(h,b,d)}else b?b=a.cssText:(b=a.cssText,b=b.replace(ld,"").replace(md,""),b=b.replace(nd,"").replace(od,"")),(d=b.trim())&&(d=" "+d+"\n")}d&&(a.selector&&(c+=a.selector+" {\n"),c+=d,a.selector&&(c+="}\n\n"));return c}
122
- var jd=1,hd=7,fd=4,id=1E3,ad=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,bd=/@import[^;]*;/gim,ld=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,md=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,nd=/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,od=/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,gd=/^@[^\s]*keyframes/,ed=/\s+/g;var M=!(window.ShadyDOM&&window.ShadyDOM.inUse),pd;function qd(a){pd=a&&a.shimcssproperties?!1:M||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)"))}var rd;window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(rd=window.ShadyCSS.cssBuild);var N=!(!window.ShadyCSS||!window.ShadyCSS.disableRuntime);
123
- window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?pd=window.ShadyCSS.nativeCss:window.ShadyCSS?(qd(window.ShadyCSS),window.ShadyCSS=void 0):qd(window.WebComponents&&window.WebComponents.flags);var O=pd;var sd=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,td=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,ud=/(--[\w-]+)\s*([:,;)]|$)/gi,vd=/(animation\s*:)|(animation-name\s*:)/,wd=/@media\s(.*)/,xd=/\{[^}]*\}/g;var yd=new Set;function P(a,b){if(!a)return"";"string"===typeof a&&(a=$c(a));b&&Q(a,b);return kd(a,O)}function zd(a){!a.__cssRules&&a.textContent&&(a.__cssRules=$c(a.textContent));return a.__cssRules||null}function Ad(a){return!!a.parent&&a.parent.type===hd}function Q(a,b,c,d){if(a){var e=!1,f=a.type;if(d&&f===fd){var g=a.selector.match(wd);g&&(window.matchMedia(g[1]).matches||(e=!0))}f===jd?b(a):c&&f===hd?c(a):f===id&&(e=!0);if((a=a.rules)&&!e)for(e=0,f=a.length,g=void 0;e<f&&(g=a[e]);e++)Q(g,b,c,d)}}
124
- function Bd(a,b,c,d){var e=document.createElement("style");b&&e.setAttribute("scope",b);e.textContent=a;Cd(e,c,d);return e}var R=null;function Dd(a){a=document.createComment(" Shady DOM styles for "+a+" ");var b=document.head;b.insertBefore(a,(R?R.nextSibling:null)||b.firstChild);return R=a}function Cd(a,b,c){b=b||document.head;b.insertBefore(a,c&&c.nextSibling||b.firstChild);R?a.compareDocumentPosition(R)===Node.DOCUMENT_POSITION_PRECEDING&&(R=a):R=a}
125
- function Ed(a,b){for(var c=0,d=a.length;b<d;b++)if("("===a[b])c++;else if(")"===a[b]&&0===--c)return b;return-1}function Fd(a,b){var c=a.indexOf("var(");if(-1===c)return b(a,"","","");var d=Ed(a,c+3),e=a.substring(c+4,d);c=a.substring(0,c);a=Fd(a.substring(d+1),b);d=e.indexOf(",");return-1===d?b(c,e.trim(),"",a):b(c,e.substring(0,d).trim(),e.substring(d+1).trim(),a)}function Gd(a,b){M?a.setAttribute("class",b):window.ShadyDOM.nativeMethods.setAttribute.call(a,"class",b)}
126
- var Hd=window.ShadyDOM&&window.ShadyDOM.wrap||function(a){return a};function S(a){var b=a.localName,c="";b?-1<b.indexOf("-")||(c=b,b=a.getAttribute&&a.getAttribute("is")||""):(b=a.is,c=a.extends);return{is:b,F:c}}function Id(a){for(var b=[],c="",d=0;0<=d&&d<a.length;d++)if("("===a[d]){var e=Ed(a,d);c+=a.slice(d,e+1);d=e}else","===a[d]?(b.push(c),c=""):c+=a[d];c&&b.push(c);return b}
127
- function T(a){if(void 0!==rd)return rd;if(void 0===a.__cssBuild){var b=a.getAttribute("css-build");if(b)a.__cssBuild=b;else{a:{b="template"===a.localName?a.content.firstChild:a.firstChild;if(b instanceof Comment&&(b=b.textContent.trim().split(":"),"css-build"===b[0])){b=b[1];break a}b=""}if(""!==b){var c="template"===a.localName?a.content.firstChild:a.firstChild;c.parentNode.removeChild(c)}a.__cssBuild=b}}return a.__cssBuild||""}
128
- function Jd(a){a=void 0===a?"":a;return""!==a&&O?M?"shadow"===a:"shady"===a:!1};function Kd(){}function Ld(a,b){Md(U,a,function(c){V(c,b||"")})}function Md(a,b,c){b.nodeType===Node.ELEMENT_NODE&&c(b);var d;"template"===b.localName?d=(b.content||b._content||b).childNodes:d=b.children||b.childNodes;if(d)for(b=0;b<d.length;b++)Md(a,d[b],c)}
129
- function V(a,b,c){if(b)if(a.classList)c?(a.classList.remove("style-scope"),a.classList.remove(b)):(a.classList.add("style-scope"),a.classList.add(b));else if(a.getAttribute){var d=a.getAttribute("class");c?d&&(b=d.replace("style-scope","").replace(b,""),Gd(a,b)):Gd(a,(d?d+" ":"")+"style-scope "+b)}}function Nd(a,b,c){Md(U,a,function(d){V(d,b,!0);V(d,c)})}function Od(a,b){Md(U,a,function(c){V(c,b||"",!0)})}
130
- function Pd(a,b,c,d,e){var f=U;e=void 0===e?"":e;""===e&&(M||"shady"===(void 0===d?"":d)?e=P(b,c):(a=S(a),e=Qd(f,b,a.is,a.F,c)+"\n\n"));return e.trim()}function Qd(a,b,c,d,e){var f=Rd(c,d);c=c?"."+c:"";return P(b,function(g){g.c||(g.selector=g.g=Sd(a,g,a.b,c,f),g.c=!0);e&&e(g,c,f)})}function Rd(a,b){return b?"[is="+a+"]":a}
131
- function Sd(a,b,c,d,e){var f=Id(b.selector);if(!Ad(b)){b=0;for(var g=f.length,h=void 0;b<g&&(h=f[b]);b++)f[b]=c.call(a,h,d,e)}return f.filter(function(l){return!!l}).join(",")}function Td(a){return a.replace(Ud,function(b,c,d){-1<d.indexOf("+")?d=d.replace(/\+/g,"___"):-1<d.indexOf("___")&&(d=d.replace(/___/g,"+"));return":"+c+"("+d+")"})}
132
- function Vd(a){for(var b=[],c;c=a.match(Wd);){var d=c.index,e=Ed(a,d);if(-1===e)throw Error(c.input+" selector missing ')'");c=a.slice(d,e+1);a=a.replace(c,"\ue000");b.push(c)}return{U:a,matches:b}}function Xd(a,b){var c=a.split("\ue000");return b.reduce(function(d,e,f){return d+e+c[f+1]},c[0])}
133
- Kd.prototype.b=function(a,b,c){var d=!1;a=a.trim();var e=Ud.test(a);e&&(a=a.replace(Ud,function(h,l,k){return":"+l+"("+k.replace(/\s/g,"")+")"}),a=Td(a));var f=Wd.test(a);if(f){var g=Vd(a);a=g.U;g=g.matches}a=a.replace(Yd,":host $1");a=a.replace(Zd,function(h,l,k){d||(h=$d(k,l,b,c),d=d||h.stop,l=h.ka,k=h.value);return l+k});f&&(a=Xd(a,g));e&&(a=Td(a));return a=a.replace(ae,function(h,l,k,m){return'[dir="'+k+'"] '+l+m+", "+l+'[dir="'+k+'"]'+m})};
134
- function $d(a,b,c,d){var e=a.indexOf("::slotted");0<=a.indexOf(":host")?a=be(a,d):0!==e&&(a=c?ce(a,c):a);c=!1;0<=e&&(b="",c=!0);if(c){var f=!0;c&&(a=a.replace(de,function(g,h){return" > "+h}))}return{value:a,ka:b,stop:f}}function ce(a,b){a=a.split(/(\[.+?\])/);for(var c=[],d=0;d<a.length;d++)if(1===d%2)c.push(a[d]);else{var e=a[d];if(""!==e||d!==a.length-1)e=e.split(":"),e[0]+=b,c.push(e.join(":"))}return c.join("")}
135
- function be(a,b){var c=a.match(ee);return(c=c&&c[2].trim()||"")?c[0].match(fe)?a.replace(ee,function(d,e,f){return b+f}):c.split(fe)[0]===b?c:"should_not_match":a.replace(":host",b)}function ge(a){":root"===a.selector&&(a.selector="html")}Kd.prototype.c=function(a){return a.match(":host")?"":a.match("::slotted")?this.b(a,":not(.style-scope)"):ce(a.trim(),":not(.style-scope)")};ea.Object.defineProperties(Kd.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});
136
- var Ud=/:(nth[-\w]+)\(([^)]+)\)/,Zd=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,fe=/[[.:#*]/,Yd=/^(::slotted)/,ee=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,de=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,ae=/(.*):dir\((?:(ltr|rtl))\)(.*)/,Wd=/:(?:matches|any|-(?:webkit|moz)-any)/,U=new Kd;function W(a,b,c,d,e){this.o=a||null;this.b=b||null;this.S=c||[];this.l=null;this.cssBuild=e||"";this.F=d||"";this.a=this.m=this.u=null}function X(a){return a?a.__styleInfo:null}function he(a,b){return a.__styleInfo=b}W.prototype.c=function(){return this.o};W.prototype._getStyleRules=W.prototype.c;function ie(a){var b=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return b&&b.call(this,a)}var je=/:host\s*>\s*/,ke=navigator.userAgent.match("Trident");function le(){}function me(a){var b={},c=[],d=0;Q(a,function(f){ne(f);f.index=d++;f=f.f.cssText;for(var g;g=ud.exec(f);){var h=g[1];":"!==g[2]&&(b[h]=!0)}},function(f){c.push(f)});a.b=c;a=[];for(var e in b)a.push(e);return a}
137
- function ne(a){if(!a.f){var b={},c={};oe(a,c)&&(b.s=c,a.rules=null);b.cssText=a.parsedCssText.replace(xd,"").replace(sd,"");a.f=b}}function oe(a,b){var c=a.f;if(c){if(c.s)return Object.assign(b,c.s),!0}else{c=a.parsedCssText;for(var d;a=sd.exec(c);){d=(a[2]||a[3]).trim();if("inherit"!==d||"unset"!==d)b[a[1].trim()]=d;d=!0}return d}}
138
- function pe(a,b,c){b&&(b=0<=b.indexOf(";")?qe(a,b,c):Fd(b,function(d,e,f,g){if(!e)return d+g;(e=pe(a,c[e],c))&&"initial"!==e?"apply-shim-inherit"===e&&(e="inherit"):e=pe(a,c[f]||f,c)||f;return d+(e||"")+g}));return b&&b.trim()||""}
139
- function qe(a,b,c){b=b.split(";");for(var d=0,e,f;d<b.length;d++)if(e=b[d]){td.lastIndex=0;if(f=td.exec(e))e=pe(a,c[f[1]],c);else if(f=e.indexOf(":"),-1!==f){var g=e.substring(f);g=g.trim();g=pe(a,g,c)||g;e=e.substring(0,f)+g}b[d]=e&&e.lastIndexOf(";")===e.length-1?e.slice(0,-1):e||""}return b.join(";")}
140
- function re(a,b){var c={},d=[];Q(a,function(e){e.f||ne(e);var f=e.g||e.parsedSelector;b&&e.f.s&&f&&ie.call(b,f)&&(oe(e,c),e=e.index,f=parseInt(e/32,10),d[f]=(d[f]||0)|1<<e%32)},null,!0);return{s:c,key:d}}
141
- function se(a,b,c,d){b.f||ne(b);if(b.f.s){var e=S(a);a=e.is;e=e.F;e=a?Rd(a,e):"html";var f=b.parsedSelector;var g=!!f.match(je)||"html"===e&&-1<f.indexOf("html");var h=0===f.indexOf(":host")&&!g;"shady"===c&&(g=f===e+" > *."+e||-1!==f.indexOf("html"),h=!g&&0===f.indexOf(e));if(g||h)c=e,h&&(b.g||(b.g=Sd(U,b,U.b,a?"."+a:"",e)),c=b.g||e),g&&"html"===e&&(c=b.g||b.J),d({U:c,pa:h,za:g})}}
142
- function te(a,b,c){var d={},e={};Q(b,function(f){se(a,f,c,function(g){ie.call(a._element||a,g.U)&&(g.pa?oe(f,d):oe(f,e))})},null,!0);return{sa:e,oa:d}}
143
- function ue(a,b,c,d){var e=S(b),f=Rd(e.is,e.F),g=new RegExp("(?:^|[^.#[:])"+(b.extends?"\\"+f.slice(0,-1)+"\\]":f)+"($|[.:[\\s>+~])"),h=X(b);e=h.o;h=h.cssBuild;var l=ve(e,d);return Pd(b,e,function(k){var m="";k.f||ne(k);k.f.cssText&&(m=qe(a,k.f.cssText,c));k.cssText=m;if(!M&&!Ad(k)&&k.cssText){var r=m=k.cssText;null==k.Y&&(k.Y=vd.test(m));if(k.Y)if(null==k.K){k.K=[];for(var w in l)r=l[w],r=r(m),m!==r&&(m=r,k.K.push(w))}else{for(w=0;w<k.K.length;++w)r=l[k.K[w]],m=r(m);r=m}k.cssText=r;k.g=k.g||k.selector;
144
- m="."+d;w=Id(k.g);r=0;for(var ca=w.length,Ja=void 0;r<ca&&(Ja=w[r]);r++)w[r]=Ja.match(g)?Ja.replace(f,m):m+" "+Ja;k.selector=w.join(",")}},h)}function ve(a,b){a=a.b;var c={};if(!M&&a)for(var d=0,e=a[d];d<a.length;e=a[++d]){var f=e,g=b;f.i=new RegExp("\\b"+f.keyframesName+"(?!\\B|-)","g");f.a=f.keyframesName+"-"+g;f.g=f.g||f.selector;f.selector=f.g.replace(f.keyframesName,f.a);c[e.keyframesName]=we(e)}return c}function we(a){return function(b){return b.replace(a.i,a.a)}}
145
- function xe(a,b){var c=ye,d=zd(a);a.textContent=P(d,function(e){var f=e.cssText=e.parsedCssText;e.f&&e.f.cssText&&(f=f.replace(ld,"").replace(md,""),e.cssText=qe(c,f,b))})}ea.Object.defineProperties(le.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var ye=new le;var ze={},Ae=window.customElements;if(Ae&&!M&&!N){var Be=Ae.define;Ae.define=function(a,b,c){ze[a]||(ze[a]=Dd(a));Be.call(Ae,a,b,c)}};function Ce(){this.cache={}}Ce.prototype.store=function(a,b,c,d){var e=this.cache[a]||[];e.push({s:b,styleElement:c,m:d});100<e.length&&e.shift();this.cache[a]=e};function De(){}var Ee=new RegExp(U.a+"\\s*([^\\s]*)");function Fe(a){return(a=(a.classList&&a.classList.value?a.classList.value:a.getAttribute("class")||"").match(Ee))?a[1]:""}function Ge(a){var b=Hd(a).getRootNode();return b===a||b===a.ownerDocument?"":(a=b.host)?S(a).is:""}
146
- function He(a){for(var b=0;b<a.length;b++){var c=a[b];if(c.target!==document.documentElement&&c.target!==document.head)for(var d=0;d<c.addedNodes.length;d++){var e=c.addedNodes[d];if(e.nodeType===Node.ELEMENT_NODE){var f=e.getRootNode(),g=Fe(e);if(g&&f===e.ownerDocument&&("style"!==e.localName&&"template"!==e.localName||""===T(e)))Od(e,g);else if(f instanceof ShadowRoot)for(f=Ge(e),f!==g&&Nd(e,g,f),e=window.ShadyDOM.nativeMethods.querySelectorAll.call(e,":not(."+U.a+")"),g=0;g<e.length;g++){f=e[g];
147
- var h=Ge(f);h&&V(f,h)}}}}}
148
- if(!(M||window.ShadyDOM&&window.ShadyDOM.handlesDynamicScoping)){var Ie=new MutationObserver(He),Je=function(a){Ie.observe(a,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Je(document);else{var Ke=function(){Je(document.body)};window.HTMLImports?window.HTMLImports.whenReady(Ke):requestAnimationFrame(function(){if("loading"===document.readyState){var a=function(){Ke();document.removeEventListener("readystatechange",a)};document.addEventListener("readystatechange",
149
- a)}else Ke()})}De=function(){He(Ie.takeRecords())}};var Le={};var Me=Promise.resolve();function Ne(a){if(a=Le[a])a._applyShimCurrentVersion=a._applyShimCurrentVersion||0,a._applyShimValidatingVersion=a._applyShimValidatingVersion||0,a._applyShimNextVersion=(a._applyShimNextVersion||0)+1}function Oe(a){return a._applyShimCurrentVersion===a._applyShimNextVersion}function Pe(a){a._applyShimValidatingVersion=a._applyShimNextVersion;a._validating||(a._validating=!0,Me.then(function(){a._applyShimCurrentVersion=a._applyShimNextVersion;a._validating=!1}))};var Qe={},Re=new Ce;function Y(){this.X={};this.c=document.documentElement;var a=new Zc;a.rules=[];this.i=he(this.c,new W(a));this.J=!1;this.a=this.b=null}n=Y.prototype;n.flush=function(){De()};n.ma=function(a){return zd(a)};n.wa=function(a){return P(a)};n.prepareTemplate=function(a,b,c){this.prepareTemplateDom(a,b);this.prepareTemplateStyles(a,b,c)};
150
- n.prepareTemplateStyles=function(a,b,c){if(!a._prepared&&!N){M||ze[b]||(ze[b]=Dd(b));a._prepared=!0;a.name=b;a.extends=c;Le[b]=a;var d=T(a),e=Jd(d);c={is:b,extends:c};for(var f=[],g=a.content.querySelectorAll("style"),h=0;h<g.length;h++){var l=g[h];if(l.hasAttribute("shady-unscoped")){if(!M){var k=l.textContent;if(!yd.has(k)){yd.add(k);var m=document.createElement("style");m.setAttribute("shady-unscoped","");m.textContent=k;document.head.appendChild(m)}l.parentNode.removeChild(l)}}else f.push(l.textContent),
151
- l.parentNode.removeChild(l)}f=f.join("").trim()+(Qe[b]||"");Se(this);if(!e){if(g=!d)g=td.test(f)||sd.test(f),td.lastIndex=0,sd.lastIndex=0;h=$c(f);g&&O&&this.b&&this.b.transformRules(h,b);a._styleAst=h}g=[];O||(g=me(a._styleAst));if(!g.length||O)h=M?a.content:null,b=ze[b]||null,d=Pd(c,a._styleAst,null,d,e?f:""),d=d.length?Bd(d,c.is,h,b):null,a._style=d;a.a=g}};n.qa=function(a,b){Qe[b]=a.join(" ")};
152
- n.prepareTemplateDom=function(a,b){if(!N){var c=T(a);M||"shady"===c||a._domPrepared||(a._domPrepared=!0,Ld(a.content,b))}};function Te(a){var b=S(a),c=b.is;b=b.F;var d=ze[c]||null,e=Le[c];if(e){c=e._styleAst;var f=e.a;e=T(e);b=new W(c,d,f,b,e);he(a,b);return b}}
153
- function Ue(a){!a.a&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(a.a=window.ShadyCSS.CustomStyleInterface,a.a.transformCallback=function(b){a.ba(b)},a.a.validateCallback=function(){requestAnimationFrame(function(){(a.a.enqueued||a.J)&&a.flushCustomStyles()})})}function Se(a){if(!a.b&&window.ShadyCSS&&window.ShadyCSS.ApplyShim){a.b=window.ShadyCSS.ApplyShim;a.b.invalidCallback=Ne;var b=!0}else b=!1;Ue(a);return b}
154
- n.flushCustomStyles=function(){if(!N){var a=Se(this);if(this.a){var b=this.a.processStyles();if((a||this.a.enqueued)&&!Jd(this.i.cssBuild)){if(O){if(!this.i.cssBuild)for(a=0;a<b.length;a++){var c=this.a.getStyleForCustomStyle(b[a]);if(c&&O&&this.b){var d=zd(c);Se(this);this.b.transformRules(d);c.textContent=P(d)}}}else{Ve(this,b);We(this,this.c,this.i);for(a=0;a<b.length;a++)(c=this.a.getStyleForCustomStyle(b[a]))&&xe(c,this.i.u);this.J&&this.styleDocument()}this.a.enqueued=!1}}}};
155
- function Ve(a,b){b=b.map(function(c){return a.a.getStyleForCustomStyle(c)}).filter(function(c){return!!c});b.sort(function(c,d){c=d.compareDocumentPosition(c);return c&Node.DOCUMENT_POSITION_FOLLOWING?1:c&Node.DOCUMENT_POSITION_PRECEDING?-1:0});a.i.o.rules=b.map(function(c){return zd(c)})}
156
- n.styleElement=function(a,b){if(N){if(b){X(a)||he(a,new W(null));var c=X(a);c.l=c.l||{};Object.assign(c.l,b);Xe(this,a,c)}}else if(c=X(a)||Te(a))if(a!==this.c&&(this.J=!0),b&&(c.l=c.l||{},Object.assign(c.l,b)),O)Xe(this,a,c);else if(this.flush(),We(this,a,c),c.S&&c.S.length){b=S(a).is;var d;a:{if(d=Re.cache[b])for(var e=d.length-1;0<=e;e--){var f=d[e];b:{var g=c.S;for(var h=0;h<g.length;h++){var l=g[h];if(f.s[l]!==c.u[l]){g=!1;break b}}g=!0}if(g){d=f;break a}}d=void 0}g=d?d.styleElement:null;e=c.m;
157
- (f=d&&d.m)||(f=this.X[b]=(this.X[b]||0)+1,f=b+"-"+f);c.m=f;f=c.m;h=ye;h=g?g.textContent||"":ue(h,a,c.u,f);l=X(a);var k=l.a;k&&!M&&k!==g&&(k._useCount--,0>=k._useCount&&k.parentNode&&k.parentNode.removeChild(k));M?l.a?(l.a.textContent=h,g=l.a):h&&(g=Bd(h,f,a.shadowRoot,l.b)):g?g.parentNode||(ke&&-1<h.indexOf("@media")&&(g.textContent=h),Cd(g,null,l.b)):h&&(g=Bd(h,f,null,l.b));g&&(g._useCount=g._useCount||0,l.a!=g&&g._useCount++,l.a=g);f=g;M||(g=c.m,l=h=a.getAttribute("class")||"",e&&(l=h.replace(new RegExp("\\s*x-scope\\s*"+
158
- e+"\\s*","g")," ")),l+=(l?" ":"")+"x-scope "+g,h!==l&&Gd(a,l));d||Re.store(b,c.u,f,c.m)}};
159
- function Xe(a,b,c){var d=S(b).is;if(c.l){var e=c.l,f;for(f in e)null===f?b.style.removeProperty(f):b.style.setProperty(f,e[f])}e=Le[d];if(!(!e&&b!==a.c||e&&""!==T(e))&&e&&e._style&&!Oe(e)){if(Oe(e)||e._applyShimValidatingVersion!==e._applyShimNextVersion)Se(a),a.b&&a.b.transformRules(e._styleAst,d),e._style.textContent=Pd(b,c.o),Pe(e);M&&(a=b.shadowRoot)&&(a=a.querySelector("style"))&&(a.textContent=Pd(b,c.o));c.o=e._styleAst}}
160
- function Ye(a,b){return(b=Hd(b).getRootNode().host)?X(b)||Te(b)?b:Ye(a,b):a.c}function We(a,b,c){var d=Ye(a,b),e=X(d),f=e.u;d===a.c||f||(We(a,d,e),f=e.u);a=Object.create(f||null);d=te(b,c.o,c.cssBuild);b=re(e.o,b).s;Object.assign(a,d.oa,b,d.sa);b=c.l;for(var g in b)if((e=b[g])||0===e)a[g]=e;g=ye;b=Object.getOwnPropertyNames(a);for(e=0;e<b.length;e++)d=b[e],a[d]=pe(g,a[d],a);c.u=a}n.styleDocument=function(a){this.styleSubtree(this.c,a)};
161
- n.styleSubtree=function(a,b){var c=Hd(a),d=c.shadowRoot,e=a===this.c;(d||e)&&this.styleElement(a,b);if(a=e?c:d)for(a=Array.from(a.querySelectorAll("*")).filter(function(f){return Hd(f).shadowRoot}),b=0;b<a.length;b++)this.styleSubtree(a[b])};
162
- n.ba=function(a){var b=this,c=T(a);c!==this.i.cssBuild&&(this.i.cssBuild=c);if(!Jd(c)){var d=zd(a);Q(d,function(e){if(M)ge(e);else{var f=U;e.selector=e.parsedSelector;ge(e);e.selector=e.g=Sd(f,e,f.c,void 0,void 0)}O&&""===c&&(Se(b),b.b&&b.b.transformRule(e))});O?a.textContent=P(d):this.i.o.rules.push(d)}};n.getComputedStyleValue=function(a,b){var c;O||(c=(X(a)||X(Ye(this,a))).u[b]);return(c=c||window.getComputedStyle(a).getPropertyValue(b))?c.trim():""};
163
- n.va=function(a,b){var c=Hd(a).getRootNode(),d;b?d=("string"===typeof b?b:String(b)).split(/\s/):d=[];b=c.host&&c.host.localName;if(!b&&(c=a.getAttribute("class"))){c=c.split(/\s/);for(var e=0;e<c.length;e++)if(c[e]===U.a){b=c[e+1];break}}b&&d.push(U.a,b);O||(b=X(a))&&b.m&&d.push(ye.a,b.m);Gd(a,d.join(" "))};n.ja=function(a){return X(a)};n.ua=function(a,b){V(a,b)};n.xa=function(a,b){V(a,b,!0)};n.ta=function(a){return Ge(a)};n.la=function(a){return Fe(a)};Y.prototype.flush=Y.prototype.flush;
164
- Y.prototype.prepareTemplate=Y.prototype.prepareTemplate;Y.prototype.styleElement=Y.prototype.styleElement;Y.prototype.styleDocument=Y.prototype.styleDocument;Y.prototype.styleSubtree=Y.prototype.styleSubtree;Y.prototype.getComputedStyleValue=Y.prototype.getComputedStyleValue;Y.prototype.setElementClass=Y.prototype.va;Y.prototype._styleInfoForNode=Y.prototype.ja;Y.prototype.transformCustomStyleForDocument=Y.prototype.ba;Y.prototype.getStyleAst=Y.prototype.ma;Y.prototype.styleAstToString=Y.prototype.wa;
165
- Y.prototype.flushCustomStyles=Y.prototype.flushCustomStyles;Y.prototype.scopeNode=Y.prototype.ua;Y.prototype.unscopeNode=Y.prototype.xa;Y.prototype.scopeForNode=Y.prototype.ta;Y.prototype.currentScopeForNode=Y.prototype.la;Y.prototype.prepareAdoptedCssText=Y.prototype.qa;Object.defineProperties(Y.prototype,{nativeShadow:{get:function(){return M}},nativeCss:{get:function(){return O}}});var Z=new Y,Ze,$e;window.ShadyCSS&&(Ze=window.ShadyCSS.ApplyShim,$e=window.ShadyCSS.CustomStyleInterface);
166
- window.ShadyCSS={ScopingShim:Z,prepareTemplate:function(a,b,c){Z.flushCustomStyles();Z.prepareTemplate(a,b,c)},prepareTemplateDom:function(a,b){Z.prepareTemplateDom(a,b)},prepareTemplateStyles:function(a,b,c){Z.flushCustomStyles();Z.prepareTemplateStyles(a,b,c)},styleSubtree:function(a,b){Z.flushCustomStyles();Z.styleSubtree(a,b)},styleElement:function(a){Z.flushCustomStyles();Z.styleElement(a)},styleDocument:function(a){Z.flushCustomStyles();Z.styleDocument(a)},flushCustomStyles:function(){Z.flushCustomStyles()},
167
- getComputedStyleValue:function(a,b){return Z.getComputedStyleValue(a,b)},nativeCss:O,nativeShadow:M,cssBuild:rd,disableRuntime:N};Ze&&(window.ShadyCSS.ApplyShim=Ze);$e&&(window.ShadyCSS.CustomStyleInterface=$e);}).call(this);
168
-
169
- //# sourceMappingURL=webcomponents-sd.js.map