@angular/platform-browser 6.0.3 → 6.0.7

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 (95) hide show
  1. package/animations/animations.metadata.json +1 -1
  2. package/animations/src/providers.d.ts +1 -1
  3. package/animations.d.ts +0 -5
  4. package/animations.metadata.json +1 -1
  5. package/bundles/platform-browser-animations.umd.js +53 -24
  6. package/bundles/platform-browser-animations.umd.js.map +1 -1
  7. package/bundles/platform-browser-animations.umd.min.js +18 -4
  8. package/bundles/platform-browser-animations.umd.min.js.map +1 -1
  9. package/bundles/platform-browser-testing.umd.js +24 -13
  10. package/bundles/platform-browser-testing.umd.js.map +1 -1
  11. package/bundles/platform-browser-testing.umd.min.js +9 -2
  12. package/bundles/platform-browser-testing.umd.min.js.map +1 -1
  13. package/bundles/platform-browser.umd.js +106 -362
  14. package/bundles/platform-browser.umd.js.map +1 -1
  15. package/bundles/platform-browser.umd.min.js +9 -9
  16. package/bundles/platform-browser.umd.min.js.map +1 -1
  17. package/esm2015/animations/src/animation_builder.js +3 -10
  18. package/esm2015/animations/src/animation_renderer.js +4 -11
  19. package/esm2015/animations/src/module.js +1 -23
  20. package/esm2015/animations/src/providers.js +9 -15
  21. package/esm2015/src/browser/location/browser_platform_location.js +2 -9
  22. package/esm2015/src/browser/meta.js +2 -9
  23. package/esm2015/src/browser/title.js +2 -9
  24. package/esm2015/src/browser/transfer_state.js +1 -21
  25. package/esm2015/src/browser.js +2 -11
  26. package/esm2015/src/dom/dom_renderer.js +3 -10
  27. package/esm2015/src/dom/events/dom_events.js +12 -14
  28. package/esm2015/src/dom/events/event_manager.js +3 -10
  29. package/esm2015/src/dom/events/hammer_gestures.js +4 -20
  30. package/esm2015/src/dom/events/key_events.js +2 -11
  31. package/esm2015/src/dom/shared_styles_host.js +2 -18
  32. package/esm2015/src/security/dom_sanitization_service.js +2 -9
  33. package/esm2015/src/version.js +1 -1
  34. package/esm2015/testing/src/browser.js +0 -11
  35. package/esm5/animations/index.js +5 -1
  36. package/esm5/animations/public_api.js +6 -1
  37. package/esm5/animations/src/animation_builder.js +10 -3
  38. package/esm5/animations/src/animation_renderer.js +6 -10
  39. package/esm5/animations/src/animations.js +6 -1
  40. package/esm5/animations/src/module.js +8 -5
  41. package/esm5/animations/src/private_export.js +8 -1
  42. package/esm5/animations/src/providers.js +8 -6
  43. package/esm5/index.js +5 -1
  44. package/esm5/public_api.js +6 -1
  45. package/esm5/src/browser/browser_adapter.js +5 -25
  46. package/esm5/src/browser/generic_browser_adapter.js +2 -14
  47. package/esm5/src/browser/location/browser_platform_location.js +3 -8
  48. package/esm5/src/browser/location/history.js +1 -1
  49. package/esm5/src/browser/meta.js +6 -6
  50. package/esm5/src/browser/server-transition.js +1 -1
  51. package/esm5/src/browser/testability.js +1 -1
  52. package/esm5/src/browser/title.js +4 -18
  53. package/esm5/src/browser/tools/browser.js +1 -1
  54. package/esm5/src/browser/tools/common_tools.js +3 -50
  55. package/esm5/src/browser/tools/tools.js +1 -1
  56. package/esm5/src/browser/transfer_state.js +8 -50
  57. package/esm5/src/browser.js +3 -17
  58. package/esm5/src/dom/debug/by.js +5 -57
  59. package/esm5/src/dom/debug/ng_probe.js +1 -1
  60. package/esm5/src/dom/dom_adapter.js +4 -22
  61. package/esm5/src/dom/dom_renderer.js +3 -3
  62. package/esm5/src/dom/dom_tokens.js +1 -1
  63. package/esm5/src/dom/events/dom_events.js +24 -25
  64. package/esm5/src/dom/events/event_manager.js +7 -51
  65. package/esm5/src/dom/events/hammer_gestures.js +24 -38
  66. package/esm5/src/dom/events/key_events.js +8 -50
  67. package/esm5/src/dom/shared_styles_host.js +2 -4
  68. package/esm5/src/dom/util.js +1 -1
  69. package/esm5/src/platform-browser.js +1 -1
  70. package/esm5/src/private_export.js +1 -1
  71. package/esm5/src/security/dom_sanitization_service.js +4 -66
  72. package/esm5/src/version.js +7 -2
  73. package/esm5/testing/index.js +5 -1
  74. package/esm5/testing/public_api.js +6 -1
  75. package/esm5/testing/src/browser.js +8 -3
  76. package/esm5/testing/src/browser_util.js +3 -11
  77. package/esm5/testing/src/matchers.js +1 -5
  78. package/esm5/testing/src/testing.js +6 -1
  79. package/fesm2015/animations.js +13 -14
  80. package/fesm2015/animations.js.map +1 -1
  81. package/fesm2015/platform-browser.js +26 -30
  82. package/fesm2015/platform-browser.js.map +1 -1
  83. package/fesm2015/testing.js +1 -3
  84. package/fesm2015/testing.js.map +1 -1
  85. package/fesm5/animations.js +50 -20
  86. package/fesm5/animations.js.map +1 -1
  87. package/fesm5/platform-browser.js +107 -363
  88. package/fesm5/platform-browser.js.map +1 -1
  89. package/fesm5/testing.js +24 -13
  90. package/fesm5/testing.js.map +1 -1
  91. package/package.json +3 -3
  92. package/platform-browser.metadata.json +1 -1
  93. package/src/dom/events/dom_events.d.ts +1 -8
  94. package/testing.d.ts +0 -5
  95. package/testing.metadata.json +1 -1
@@ -1,9 +1,9 @@
1
1
  /**
2
- * @license Angular v6.0.3
2
+ * @license Angular v6.0.7
3
3
  * (c) 2010-2018 Google, Inc. https://angular.io/
4
4
  * License: MIT
5
5
  */
6
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/common"),require("@angular/core")):"function"==typeof define&&define.amd?define("@angular/platform-browser",["exports","@angular/common","@angular/core"],e):e((t.ng=t.ng||{},t.ng.platformBrowser={}),t.ng.common,t.ng.core)}(this,function(t,e,n){"use strict";var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};function o(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var i=Object.assign||function t(e){for(var n,r=1,o=arguments.length;r<o;r++)for(var i in n=arguments[r])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e};function a(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}
6
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/common"),require("@angular/core")):"function"==typeof define&&define.amd?define("@angular/platform-browser",["exports","@angular/common","@angular/core"],e):e((t.ng=t.ng||{},t.ng.platformBrowser={}),t.ng.common,t.ng.core)}(this,function(t,e,n){"use strict";var o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};function r(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var i=Object.assign||function t(e){for(var n,o=1,r=arguments.length;o<r;o++)for(var i in n=arguments[o])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e};function a(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var o,r,i=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a}
7
7
  /**
8
8
  * @license
9
9
  * Copyright Google Inc. All Rights Reserved.
@@ -11,14 +11,14 @@
11
11
  * Use of this source code is governed by an MIT-style license that can be
12
12
  * found in the LICENSE file at https://angular.io/license
13
13
  */
14
- var u=null;function s(){return u}function c(t){u||(u=t)}var p,l=function(){function t(){this.resourceLoaderType=null}return Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(t){this._attrToPropMap=t},enumerable:!0,configurable:!0}),t}(),f=function(t){function e(){var e=t.call(this)||this;e._animationPrefix=null,e._transitionEnd=null;try{var n=e.createElement("div",document);if(null!=e.getStyle(n,"animationName"))e._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],o=0;o<r.length;o++)if(null!=e.getStyle(n,r[o]+"AnimationName")){e._animationPrefix="-"+r[o].toLowerCase()+"-";break}var i={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(i).forEach(function(t){null!=e.getStyle(n,t)&&(e._transitionEnd=i[t])})}catch(t){e._animationPrefix=null,e._transitionEnd=null}return e}return o(e,t),e.prototype.getDistributedNodes=function(t){return t.getDistributedNodes()},e.prototype.resolveAndSetHref=function(t,e,n){t.href=null==n?e:e+"/../"+n},e.prototype.supportsDOMEvents=function(){return!0},e.prototype.supportsNativeShadowDOM=function(){return"function"==typeof document.body.createShadowRoot},e.prototype.getAnimationPrefix=function(){return this._animationPrefix?this._animationPrefix:""},e.prototype.getTransitionEnd=function(){return this._transitionEnd?this._transitionEnd:""},e.prototype.supportsAnimation=function(){return null!=this._animationPrefix&&null!=this._transitionEnd},e}(l),d={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},y={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},h={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","":"NumLock"};
14
+ var u=null;function s(){return u}function c(t){u||(u=t)}var p,l=function(){function t(){this.resourceLoaderType=null}return Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(t){this._attrToPropMap=t},enumerable:!0,configurable:!0}),t}(),f=function(t){function e(){var e=t.call(this)||this;e._animationPrefix=null,e._transitionEnd=null;try{var n=e.createElement("div",document);if(null!=e.getStyle(n,"animationName"))e._animationPrefix="";else for(var o=["Webkit","Moz","O","ms"],r=0;r<o.length;r++)if(null!=e.getStyle(n,o[r]+"AnimationName")){e._animationPrefix="-"+o[r].toLowerCase()+"-";break}var i={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(i).forEach(function(t){null!=e.getStyle(n,t)&&(e._transitionEnd=i[t])})}catch(t){e._animationPrefix=null,e._transitionEnd=null}return e}return r(e,t),e.prototype.getDistributedNodes=function(t){return t.getDistributedNodes()},e.prototype.resolveAndSetHref=function(t,e,n){t.href=null==n?e:e+"/../"+n},e.prototype.supportsDOMEvents=function(){return!0},e.prototype.supportsNativeShadowDOM=function(){return"function"==typeof document.body.createShadowRoot},e.prototype.getAnimationPrefix=function(){return this._animationPrefix?this._animationPrefix:""},e.prototype.getTransitionEnd=function(){return this._transitionEnd?this._transitionEnd:""},e.prototype.supportsAnimation=function(){return null!=this._animationPrefix&&null!=this._transitionEnd},e}(l),d={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},y={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},h={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","":"NumLock"};
15
15
  /**
16
16
  * @license
17
17
  * Copyright Google Inc. All Rights Reserved.
18
18
  *
19
19
  * Use of this source code is governed by an MIT-style license that can be
20
20
  * found in the LICENSE file at https://angular.io/license
21
- */n.ɵglobal.Node&&(p=n.ɵglobal.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))});var m,g=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.parse=function(t){throw new Error("parse not implemented")},n.makeCurrent=function(){c(new n)},n.prototype.hasProperty=function(t,e){return e in t},n.prototype.setProperty=function(t,e,n){t[e]=n},n.prototype.getProperty=function(t,e){return t[e]},n.prototype.invoke=function(t,e,n){var r;(r=t)[e].apply(r,function o(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(a(arguments[e]));return t}(n))},n.prototype.logError=function(t){window.console&&(console.error?console.error(t):console.log(t))},n.prototype.log=function(t){window.console&&window.console.log&&window.console.log(t)},n.prototype.logGroup=function(t){window.console&&window.console.group&&window.console.group(t)},n.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(n.prototype,"attrToPropMap",{get:function(){return d},enumerable:!0,configurable:!0}),n.prototype.contains=function(t,e){return p.call(t,e)},n.prototype.querySelector=function(t,e){return t.querySelector(e)},n.prototype.querySelectorAll=function(t,e){return t.querySelectorAll(e)},n.prototype.on=function(t,e,n){t.addEventListener(e,n,!1)},n.prototype.onAndCancel=function(t,e,n){return t.addEventListener(e,n,!1),function(){t.removeEventListener(e,n,!1)}},n.prototype.dispatchEvent=function(t,e){t.dispatchEvent(e)},n.prototype.createMouseEvent=function(t){var e=this.getDefaultDocument().createEvent("MouseEvent");return e.initEvent(t,!0,!0),e},n.prototype.createEvent=function(t){var e=this.getDefaultDocument().createEvent("Event");return e.initEvent(t,!0,!0),e},n.prototype.preventDefault=function(t){t.preventDefault(),t.returnValue=!1},n.prototype.isPrevented=function(t){return t.defaultPrevented||null!=t.returnValue&&!t.returnValue},n.prototype.getInnerHTML=function(t){return t.innerHTML},n.prototype.getTemplateContent=function(t){return"content"in t&&this.isTemplateElement(t)?t.content:null},n.prototype.getOuterHTML=function(t){return t.outerHTML},n.prototype.nodeName=function(t){return t.nodeName},n.prototype.nodeValue=function(t){return t.nodeValue},n.prototype.type=function(t){return t.type},n.prototype.content=function(t){return this.hasProperty(t,"content")?t.content:t},n.prototype.firstChild=function(t){return t.firstChild},n.prototype.nextSibling=function(t){return t.nextSibling},n.prototype.parentElement=function(t){return t.parentNode},n.prototype.childNodes=function(t){return t.childNodes},n.prototype.childNodesAsList=function(t){for(var e=t.childNodes,n=new Array(e.length),r=0;r<e.length;r++)n[r]=e[r];return n},n.prototype.clearNodes=function(t){for(;t.firstChild;)t.removeChild(t.firstChild)},n.prototype.appendChild=function(t,e){t.appendChild(e)},n.prototype.removeChild=function(t,e){t.removeChild(e)},n.prototype.replaceChild=function(t,e,n){t.replaceChild(e,n)},n.prototype.remove=function(t){return t.parentNode&&t.parentNode.removeChild(t),t},n.prototype.insertBefore=function(t,e,n){t.insertBefore(n,e)},n.prototype.insertAllBefore=function(t,e,n){n.forEach(function(n){return t.insertBefore(n,e)})},n.prototype.insertAfter=function(t,e,n){t.insertBefore(n,e.nextSibling)},n.prototype.setInnerHTML=function(t,e){t.innerHTML=e},n.prototype.getText=function(t){return t.textContent},n.prototype.setText=function(t,e){t.textContent=e},n.prototype.getValue=function(t){return t.value},n.prototype.setValue=function(t,e){t.value=e},n.prototype.getChecked=function(t){return t.checked},n.prototype.setChecked=function(t,e){t.checked=e},n.prototype.createComment=function(t){return this.getDefaultDocument().createComment(t)},n.prototype.createTemplate=function(t){var e=this.getDefaultDocument().createElement("template");return e.innerHTML=t,e},n.prototype.createElement=function(t,e){return(e=e||this.getDefaultDocument()).createElement(t)},n.prototype.createElementNS=function(t,e,n){return(n=n||this.getDefaultDocument()).createElementNS(t,e)},n.prototype.createTextNode=function(t,e){return(e=e||this.getDefaultDocument()).createTextNode(t)},n.prototype.createScriptTag=function(t,e,n){var r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(t,e),r},n.prototype.createStyleElement=function(t,e){var n=(e=e||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(t,e)),n},n.prototype.createShadowRoot=function(t){return t.createShadowRoot()},n.prototype.getShadowRoot=function(t){return t.shadowRoot},n.prototype.getHost=function(t){return t.host},n.prototype.clone=function(t){return t.cloneNode(!0)},n.prototype.getElementsByClassName=function(t,e){return t.getElementsByClassName(e)},n.prototype.getElementsByTagName=function(t,e){return t.getElementsByTagName(e)},n.prototype.classList=function(t){return Array.prototype.slice.call(t.classList,0)},n.prototype.addClass=function(t,e){t.classList.add(e)},n.prototype.removeClass=function(t,e){t.classList.remove(e)},n.prototype.hasClass=function(t,e){return t.classList.contains(e)},n.prototype.setStyle=function(t,e,n){t.style[e]=n},n.prototype.removeStyle=function(t,e){t.style[e]=""},n.prototype.getStyle=function(t,e){return t.style[e]},n.prototype.hasStyle=function(t,e,n){var r=this.getStyle(t,e)||"";return n?r==n:r.length>0},n.prototype.tagName=function(t){return t.tagName},n.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,r=0;r<n.length;r++){var o=n.item(r);e.set(o.name,o.value)}return e},n.prototype.hasAttribute=function(t,e){return t.hasAttribute(e)},n.prototype.hasAttributeNS=function(t,e,n){return t.hasAttributeNS(e,n)},n.prototype.getAttribute=function(t,e){return t.getAttribute(e)},n.prototype.getAttributeNS=function(t,e,n){return t.getAttributeNS(e,n)},n.prototype.setAttribute=function(t,e,n){t.setAttribute(e,n)},n.prototype.setAttributeNS=function(t,e,n,r){t.setAttributeNS(e,n,r)},n.prototype.removeAttribute=function(t,e){t.removeAttribute(e)},n.prototype.removeAttributeNS=function(t,e,n){t.removeAttributeNS(e,n)},n.prototype.templateAwareRoot=function(t){return this.isTemplateElement(t)?this.content(t):t},n.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},n.prototype.getDefaultDocument=function(){return document},n.prototype.getBoundingClientRect=function(t){try{return t.getBoundingClientRect()}catch(t){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},n.prototype.getTitle=function(t){return t.title},n.prototype.setTitle=function(t,e){t.title=e||""},n.prototype.elementMatches=function(t,e){return!!this.isElementNode(t)&&(t.matches&&t.matches(e)||t.msMatchesSelector&&t.msMatchesSelector(e)||t.webkitMatchesSelector&&t.webkitMatchesSelector(e))},n.prototype.isTemplateElement=function(t){return this.isElementNode(t)&&"TEMPLATE"===t.nodeName},n.prototype.isTextNode=function(t){return t.nodeType===Node.TEXT_NODE},n.prototype.isCommentNode=function(t){return t.nodeType===Node.COMMENT_NODE},n.prototype.isElementNode=function(t){return t.nodeType===Node.ELEMENT_NODE},n.prototype.hasShadowRoot=function(t){return null!=t.shadowRoot&&t instanceof HTMLElement},n.prototype.isShadowRoot=function(t){return t instanceof DocumentFragment},n.prototype.importIntoDoc=function(t){return document.importNode(this.templateAwareRoot(t),!0)},n.prototype.adoptNode=function(t){return document.adoptNode(t)},n.prototype.getHref=function(t){return t.getAttribute("href")},n.prototype.getEventKey=function(t){var e=t.key;if(null==e){if(null==(e=t.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&h.hasOwnProperty(e)&&(e=h[e]))}return y[e]||e},n.prototype.getGlobalEventTarget=function(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null},n.prototype.getHistory=function(){return window.history},n.prototype.getLocation=function(){return window.location},n.prototype.getBaseHref=function(t){var e=function n(){return v||(v=document.querySelector("base"))?v.getAttribute("href"):null}();return null==e?null:function r(t){return m||(m=document.createElement("a")),m.setAttribute("href",t),"/"===m.pathname.charAt(0)?m.pathname:"/"+m.pathname}
21
+ */n.ɵglobal.Node&&(p=n.ɵglobal.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))});var m,g=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.parse=function(t){throw new Error("parse not implemented")},n.makeCurrent=function(){c(new n)},n.prototype.hasProperty=function(t,e){return e in t},n.prototype.setProperty=function(t,e,n){t[e]=n},n.prototype.getProperty=function(t,e){return t[e]},n.prototype.invoke=function(t,e,n){var o;(o=t)[e].apply(o,function r(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(a(arguments[e]));return t}(n))},n.prototype.logError=function(t){window.console&&(console.error?console.error(t):console.log(t))},n.prototype.log=function(t){window.console&&window.console.log&&window.console.log(t)},n.prototype.logGroup=function(t){window.console&&window.console.group&&window.console.group(t)},n.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(n.prototype,"attrToPropMap",{get:function(){return d},enumerable:!0,configurable:!0}),n.prototype.contains=function(t,e){return p.call(t,e)},n.prototype.querySelector=function(t,e){return t.querySelector(e)},n.prototype.querySelectorAll=function(t,e){return t.querySelectorAll(e)},n.prototype.on=function(t,e,n){t.addEventListener(e,n,!1)},n.prototype.onAndCancel=function(t,e,n){return t.addEventListener(e,n,!1),function(){t.removeEventListener(e,n,!1)}},n.prototype.dispatchEvent=function(t,e){t.dispatchEvent(e)},n.prototype.createMouseEvent=function(t){var e=this.getDefaultDocument().createEvent("MouseEvent");return e.initEvent(t,!0,!0),e},n.prototype.createEvent=function(t){var e=this.getDefaultDocument().createEvent("Event");return e.initEvent(t,!0,!0),e},n.prototype.preventDefault=function(t){t.preventDefault(),t.returnValue=!1},n.prototype.isPrevented=function(t){return t.defaultPrevented||null!=t.returnValue&&!t.returnValue},n.prototype.getInnerHTML=function(t){return t.innerHTML},n.prototype.getTemplateContent=function(t){return"content"in t&&this.isTemplateElement(t)?t.content:null},n.prototype.getOuterHTML=function(t){return t.outerHTML},n.prototype.nodeName=function(t){return t.nodeName},n.prototype.nodeValue=function(t){return t.nodeValue},n.prototype.type=function(t){return t.type},n.prototype.content=function(t){return this.hasProperty(t,"content")?t.content:t},n.prototype.firstChild=function(t){return t.firstChild},n.prototype.nextSibling=function(t){return t.nextSibling},n.prototype.parentElement=function(t){return t.parentNode},n.prototype.childNodes=function(t){return t.childNodes},n.prototype.childNodesAsList=function(t){for(var e=t.childNodes,n=new Array(e.length),o=0;o<e.length;o++)n[o]=e[o];return n},n.prototype.clearNodes=function(t){for(;t.firstChild;)t.removeChild(t.firstChild)},n.prototype.appendChild=function(t,e){t.appendChild(e)},n.prototype.removeChild=function(t,e){t.removeChild(e)},n.prototype.replaceChild=function(t,e,n){t.replaceChild(e,n)},n.prototype.remove=function(t){return t.parentNode&&t.parentNode.removeChild(t),t},n.prototype.insertBefore=function(t,e,n){t.insertBefore(n,e)},n.prototype.insertAllBefore=function(t,e,n){n.forEach(function(n){return t.insertBefore(n,e)})},n.prototype.insertAfter=function(t,e,n){t.insertBefore(n,e.nextSibling)},n.prototype.setInnerHTML=function(t,e){t.innerHTML=e},n.prototype.getText=function(t){return t.textContent},n.prototype.setText=function(t,e){t.textContent=e},n.prototype.getValue=function(t){return t.value},n.prototype.setValue=function(t,e){t.value=e},n.prototype.getChecked=function(t){return t.checked},n.prototype.setChecked=function(t,e){t.checked=e},n.prototype.createComment=function(t){return this.getDefaultDocument().createComment(t)},n.prototype.createTemplate=function(t){var e=this.getDefaultDocument().createElement("template");return e.innerHTML=t,e},n.prototype.createElement=function(t,e){return(e=e||this.getDefaultDocument()).createElement(t)},n.prototype.createElementNS=function(t,e,n){return(n=n||this.getDefaultDocument()).createElementNS(t,e)},n.prototype.createTextNode=function(t,e){return(e=e||this.getDefaultDocument()).createTextNode(t)},n.prototype.createScriptTag=function(t,e,n){var o=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return o.setAttribute(t,e),o},n.prototype.createStyleElement=function(t,e){var n=(e=e||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(t,e)),n},n.prototype.createShadowRoot=function(t){return t.createShadowRoot()},n.prototype.getShadowRoot=function(t){return t.shadowRoot},n.prototype.getHost=function(t){return t.host},n.prototype.clone=function(t){return t.cloneNode(!0)},n.prototype.getElementsByClassName=function(t,e){return t.getElementsByClassName(e)},n.prototype.getElementsByTagName=function(t,e){return t.getElementsByTagName(e)},n.prototype.classList=function(t){return Array.prototype.slice.call(t.classList,0)},n.prototype.addClass=function(t,e){t.classList.add(e)},n.prototype.removeClass=function(t,e){t.classList.remove(e)},n.prototype.hasClass=function(t,e){return t.classList.contains(e)},n.prototype.setStyle=function(t,e,n){t.style[e]=n},n.prototype.removeStyle=function(t,e){t.style[e]=""},n.prototype.getStyle=function(t,e){return t.style[e]},n.prototype.hasStyle=function(t,e,n){var o=this.getStyle(t,e)||"";return n?o==n:o.length>0},n.prototype.tagName=function(t){return t.tagName},n.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,o=0;o<n.length;o++){var r=n.item(o);e.set(r.name,r.value)}return e},n.prototype.hasAttribute=function(t,e){return t.hasAttribute(e)},n.prototype.hasAttributeNS=function(t,e,n){return t.hasAttributeNS(e,n)},n.prototype.getAttribute=function(t,e){return t.getAttribute(e)},n.prototype.getAttributeNS=function(t,e,n){return t.getAttributeNS(e,n)},n.prototype.setAttribute=function(t,e,n){t.setAttribute(e,n)},n.prototype.setAttributeNS=function(t,e,n,o){t.setAttributeNS(e,n,o)},n.prototype.removeAttribute=function(t,e){t.removeAttribute(e)},n.prototype.removeAttributeNS=function(t,e,n){t.removeAttributeNS(e,n)},n.prototype.templateAwareRoot=function(t){return this.isTemplateElement(t)?this.content(t):t},n.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},n.prototype.getDefaultDocument=function(){return document},n.prototype.getBoundingClientRect=function(t){try{return t.getBoundingClientRect()}catch(t){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},n.prototype.getTitle=function(t){return t.title},n.prototype.setTitle=function(t,e){t.title=e||""},n.prototype.elementMatches=function(t,e){return!!this.isElementNode(t)&&(t.matches&&t.matches(e)||t.msMatchesSelector&&t.msMatchesSelector(e)||t.webkitMatchesSelector&&t.webkitMatchesSelector(e))},n.prototype.isTemplateElement=function(t){return this.isElementNode(t)&&"TEMPLATE"===t.nodeName},n.prototype.isTextNode=function(t){return t.nodeType===Node.TEXT_NODE},n.prototype.isCommentNode=function(t){return t.nodeType===Node.COMMENT_NODE},n.prototype.isElementNode=function(t){return t.nodeType===Node.ELEMENT_NODE},n.prototype.hasShadowRoot=function(t){return null!=t.shadowRoot&&t instanceof HTMLElement},n.prototype.isShadowRoot=function(t){return t instanceof DocumentFragment},n.prototype.importIntoDoc=function(t){return document.importNode(this.templateAwareRoot(t),!0)},n.prototype.adoptNode=function(t){return document.adoptNode(t)},n.prototype.getHref=function(t){return t.getAttribute("href")},n.prototype.getEventKey=function(t){var e=t.key;if(null==e){if(null==(e=t.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&h.hasOwnProperty(e)&&(e=h[e]))}return y[e]||e},n.prototype.getGlobalEventTarget=function(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null},n.prototype.getHistory=function(){return window.history},n.prototype.getLocation=function(){return window.location},n.prototype.getBaseHref=function(t){var e=function n(){return v||(v=document.querySelector("base"))?v.getAttribute("href"):null}();return null==e?null:function o(t){return m||(m=document.createElement("a")),m.setAttribute("href",t),"/"===m.pathname.charAt(0)?m.pathname:"/"+m.pathname}
22
22
  /**
23
23
  * @license
24
24
  * Copyright Google Inc. All Rights Reserved.
@@ -40,14 +40,14 @@ function _(){return!!window.history.pushState}
40
40
  *
41
41
  * Use of this source code is governed by an MIT-style license that can be
42
42
  * found in the LICENSE file at https://angular.io/license
43
- */var E=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n._init(),n}return o(e,t),e.prototype._init=function(){this.location=s().getLocation(),this._history=s().getHistory()},e.prototype.getBaseHrefFromDOM=function(){return s().getBaseHref(this._doc)},e.prototype.onPopState=function(t){s().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)},e.prototype.onHashChange=function(t){s().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)},Object.defineProperty(e.prototype,"pathname",{get:function(){return this.location.pathname},set:function(t){this.location.pathname=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"search",{get:function(){return this.location.search},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hash",{get:function(){return this.location.hash},enumerable:!0,configurable:!0}),e.prototype.pushState=function(t,e,n){_()?this._history.pushState(t,e,n):this.location.hash=n},e.prototype.replaceState=function(t,e,n){_()?this._history.replaceState(t,e,n):this.location.hash=n},e.prototype.forward=function(){this._history.forward()},e.prototype.back=function(){this._history.back()},e.decorators=[{type:n.Injectable}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:n.Inject,args:[w]}]}]},e}(e.PlatformLocation),b=function(){function t(t){this._doc=t,this._dom=s()}return t.prototype.addTag=function(t,e){return void 0===e&&(e=!1),t?this._getOrCreateElement(t,e):null},t.prototype.addTags=function(t,e){var n=this;return void 0===e&&(e=!1),t?t.reduce(function(t,r){return r&&t.push(n._getOrCreateElement(r,e)),t},[]):[]},t.prototype.getTag=function(t){return t&&this._dom.querySelector(this._doc,"meta["+t+"]")||null},t.prototype.getTags=function(t){if(!t)return[];var e=this._dom.querySelectorAll(this._doc,"meta["+t+"]");return e?[].slice.call(e):[]},t.prototype.updateTag=function(t,e){if(!t)return null;e=e||this._parseSelector(t);var n=this.getTag(e);return n?this._setMetaElementAttributes(t,n):this._getOrCreateElement(t,!0)},t.prototype.removeTag=function(t){this.removeTagElement(this.getTag(t))},t.prototype.removeTagElement=function(t){t&&this._dom.remove(t)},t.prototype._getOrCreateElement=function(t,e){if(void 0===e&&(e=!1),!e){var n=this._parseSelector(t),r=this.getTag(n);if(r&&this._containsAttributes(t,r))return r}var o=this._dom.createElement("meta");this._setMetaElementAttributes(t,o);var i=this._dom.getElementsByTagName(this._doc,"head")[0];return this._dom.appendChild(i,o),o},t.prototype._setMetaElementAttributes=function(t,e){var n=this;return Object.keys(t).forEach(function(r){return n._dom.setAttribute(e,r,t[r])}),e},t.prototype._parseSelector=function(t){var e=t.name?"name":"property";return e+'="'+t[e]+'"'},t.prototype._containsAttributes=function(t,e){var n=this;return Object.keys(t).every(function(r){return n._dom.getAttribute(e,r)===t[r]})},t.decorators=[{type:n.Injectable}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:n.Inject,args:[w]}]}]},t}(),S=new n.InjectionToken("TRANSITION_ID");
43
+ */var E=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n._init(),n}return r(e,t),e.prototype._init=function(){this.location=s().getLocation(),this._history=s().getHistory()},e.prototype.getBaseHrefFromDOM=function(){return s().getBaseHref(this._doc)},e.prototype.onPopState=function(t){s().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)},e.prototype.onHashChange=function(t){s().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)},Object.defineProperty(e.prototype,"pathname",{get:function(){return this.location.pathname},set:function(t){this.location.pathname=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"search",{get:function(){return this.location.search},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hash",{get:function(){return this.location.hash},enumerable:!0,configurable:!0}),e.prototype.pushState=function(t,e,n){_()?this._history.pushState(t,e,n):this.location.hash=n},e.prototype.replaceState=function(t,e,n){_()?this._history.replaceState(t,e,n):this.location.hash=n},e.prototype.forward=function(){this._history.forward()},e.prototype.back=function(){this._history.back()},e.decorators=[{type:n.Injectable}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:n.Inject,args:[w]}]}]},e}(e.PlatformLocation),b=function(){function t(t){this._doc=t,this._dom=s()}return t.prototype.addTag=function(t,e){return void 0===e&&(e=!1),t?this._getOrCreateElement(t,e):null},t.prototype.addTags=function(t,e){var n=this;return void 0===e&&(e=!1),t?t.reduce(function(t,o){return o&&t.push(n._getOrCreateElement(o,e)),t},[]):[]},t.prototype.getTag=function(t){return t&&this._dom.querySelector(this._doc,"meta["+t+"]")||null},t.prototype.getTags=function(t){if(!t)return[];var e=this._dom.querySelectorAll(this._doc,"meta["+t+"]");return e?[].slice.call(e):[]},t.prototype.updateTag=function(t,e){if(!t)return null;e=e||this._parseSelector(t);var n=this.getTag(e);return n?this._setMetaElementAttributes(t,n):this._getOrCreateElement(t,!0)},t.prototype.removeTag=function(t){this.removeTagElement(this.getTag(t))},t.prototype.removeTagElement=function(t){t&&this._dom.remove(t)},t.prototype._getOrCreateElement=function(t,e){if(void 0===e&&(e=!1),!e){var n=this._parseSelector(t),o=this.getTag(n);if(o&&this._containsAttributes(t,o))return o}var r=this._dom.createElement("meta");this._setMetaElementAttributes(t,r);var i=this._dom.getElementsByTagName(this._doc,"head")[0];return this._dom.appendChild(i,r),r},t.prototype._setMetaElementAttributes=function(t,e){var n=this;return Object.keys(t).forEach(function(o){return n._dom.setAttribute(e,o,t[o])}),e},t.prototype._parseSelector=function(t){var e=t.name?"name":"property";return e+'="'+t[e]+'"'},t.prototype._containsAttributes=function(t,e){var n=this;return Object.keys(t).every(function(o){return n._dom.getAttribute(e,o)===t[o]})},t.decorators=[{type:n.Injectable}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:n.Inject,args:[w]}]}]},t}(),S=new n.InjectionToken("TRANSITION_ID");
44
44
  /**
45
45
  * @license
46
46
  * Copyright Google Inc. All Rights Reserved.
47
47
  *
48
48
  * Use of this source code is governed by an MIT-style license that can be
49
49
  * found in the LICENSE file at https://angular.io/license
50
- */function T(t,e,r){return function(){r.get(n.ApplicationInitStatus).donePromise.then(function(){var n=s();Array.prototype.slice.apply(n.querySelectorAll(e,"style[ng-transition]")).filter(function(e){return n.getAttribute(e,"ng-transition")===t}).forEach(function(t){return n.remove(t)})})}}var A=[{provide:n.APP_INITIALIZER,useFactory:T,deps:[S,w,n.Injector],multi:!0}],N=function(){function t(){}return t.init=function(){n.setTestabilityGetter(new t)},t.prototype.addToWindow=function(t){n.ɵglobal.getAngularTestability=function(e,n){void 0===n&&(n=!0);var r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},n.ɵglobal.getAllAngularTestabilities=function(){return t.getAllTestabilities()},n.ɵglobal.getAllAngularRootElements=function(){return t.getAllRootElements()},n.ɵglobal.frameworkStabilizers||(n.ɵglobal.frameworkStabilizers=[]),n.ɵglobal.frameworkStabilizers.push(function(t){var e=n.ɵglobal.getAllAngularTestabilities(),r=e.length,o=!1,i=function(e){o=o||e,0==--r&&t(o)};e.forEach(function(t){t.whenStable(i)})})},t.prototype.findTestabilityInTree=function(t,e,n){if(null==e)return null;var r=t.getTestability(e);return null!=r?r:n?s().isShadowRoot(e)?this.findTestabilityInTree(t,s().getHost(e),!0):this.findTestabilityInTree(t,s().parentElement(e),!0):null},t}(),C=function(){function t(t){this._doc=t}return t.prototype.getTitle=function(){return s().getTitle(this._doc)},t.prototype.setTitle=function(t){s().setTitle(this._doc,t)},t.decorators=[{type:n.Injectable}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:n.Inject,args:[w]}]}]},t}();
50
+ */function T(t,e,o){return function(){o.get(n.ApplicationInitStatus).donePromise.then(function(){var n=s();Array.prototype.slice.apply(n.querySelectorAll(e,"style[ng-transition]")).filter(function(e){return n.getAttribute(e,"ng-transition")===t}).forEach(function(t){return n.remove(t)})})}}var A=[{provide:n.APP_INITIALIZER,useFactory:T,deps:[S,w,n.Injector],multi:!0}],N=function(){function t(){}return t.init=function(){n.setTestabilityGetter(new t)},t.prototype.addToWindow=function(t){n.ɵglobal.getAngularTestability=function(e,n){void 0===n&&(n=!0);var o=t.findTestabilityInTree(e,n);if(null==o)throw new Error("Could not find testability for element.");return o},n.ɵglobal.getAllAngularTestabilities=function(){return t.getAllTestabilities()},n.ɵglobal.getAllAngularRootElements=function(){return t.getAllRootElements()},n.ɵglobal.frameworkStabilizers||(n.ɵglobal.frameworkStabilizers=[]),n.ɵglobal.frameworkStabilizers.push(function(t){var e=n.ɵglobal.getAllAngularTestabilities(),o=e.length,r=!1,i=function(e){r=r||e,0==--o&&t(r)};e.forEach(function(t){t.whenStable(i)})})},t.prototype.findTestabilityInTree=function(t,e,n){if(null==e)return null;var o=t.getTestability(e);return null!=o?o:n?s().isShadowRoot(e)?this.findTestabilityInTree(t,s().getHost(e),!0):this.findTestabilityInTree(t,s().parentElement(e),!0):null},t}(),C=function(){function t(t){this._doc=t}return t.prototype.getTitle=function(){return s().getTitle(this._doc)},t.prototype.setTitle=function(t){s().setTitle(this._doc,t)},t.decorators=[{type:n.Injectable}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:n.Inject,args:[w]}]}]},t}();
51
51
  /**
52
52
  * @license
53
53
  * Copyright Google Inc. All Rights Reserved.
@@ -69,21 +69,21 @@ function P(t,e){"undefined"!=typeof COMPILED&&COMPILED||((n.ɵglobal.ng=n.ɵglob
69
69
  *
70
70
  * Use of this source code is governed by an MIT-style license that can be
71
71
  * found in the LICENSE file at https://angular.io/license
72
- */var I={ApplicationRef:n.ApplicationRef,NgZone:n.NgZone},R="probe",L="coreTokens";function O(t){return n.getDebugNode(t)}function M(t){return P(R,O),P(L,i({},I,function e(t){return t.reduce(function(t,e){return t[e.name]=e.token,t},{})}(t||[]))),function(){return O}}var k=[{provide:n.APP_INITIALIZER,useFactory:M,deps:[[n.NgProbeToken,new n.Optional]],multi:!0}],D=new n.InjectionToken("EventManagerPlugins"),x=function(){function t(t,e){var n=this;this._zone=e,this._eventNameToPlugin=new Map,t.forEach(function(t){return t.manager=n}),this._plugins=t.slice().reverse()}return t.prototype.addEventListener=function(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)},t.prototype.addGlobalEventListener=function(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)},t.prototype.getZone=function(){return this._zone},t.prototype._findPluginFor=function(t){var e=this._eventNameToPlugin.get(t);if(e)return e;for(var n=this._plugins,r=0;r<n.length;r++){var o=n[r];if(o.supports(t))return this._eventNameToPlugin.set(t,o),o}throw new Error("No event manager plugin found for event "+t)},t.decorators=[{type:n.Injectable}],t.ctorParameters=function(){return[{type:Array,decorators:[{type:n.Inject,args:[D]}]},{type:n.NgZone}]},t}(),H=function(){function t(t){this._doc=t}return t.prototype.addGlobalEventListener=function(t,e,n){var r=s().getGlobalEventTarget(this._doc,t);if(!r)throw new Error("Unsupported event target "+r+" for event "+e);return this.addEventListener(r,e,n)},t}(),B=function(){function t(){this._stylesSet=new Set}return t.prototype.addStyles=function(t){var e=this,n=new Set;t.forEach(function(t){e._stylesSet.has(t)||(e._stylesSet.add(t),n.add(t))}),this.onStylesAdded(n)},t.prototype.onStylesAdded=function(t){},t.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},t.decorators=[{type:n.Injectable}],t.ctorParameters=function(){return[]},t}(),j=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n._hostNodes=new Set,n._styleNodes=new Set,n._hostNodes.add(e.head),n}return o(e,t),e.prototype._addStylesToHost=function(t,e){var n=this;t.forEach(function(t){var r=n._doc.createElement("style");r.textContent=t,n._styleNodes.add(e.appendChild(r))})},e.prototype.addHost=function(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)},e.prototype.removeHost=function(t){this._hostNodes.delete(t)},e.prototype.onStylesAdded=function(t){var e=this;this._hostNodes.forEach(function(n){return e._addStylesToHost(t,n)})},e.prototype.ngOnDestroy=function(){this._styleNodes.forEach(function(t){return s().remove(t)})},e.decorators=[{type:n.Injectable}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:n.Inject,args:[w]}]}]},e}(B),z={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},V=/%COMP%/g,F="_nghost-%COMP%",U="_ngcontent-%COMP%";
72
+ */var I={ApplicationRef:n.ApplicationRef,NgZone:n.NgZone},R="probe",L="coreTokens";function O(t){return n.getDebugNode(t)}function M(t){return P(R,O),P(L,i({},I,function e(t){return t.reduce(function(t,e){return t[e.name]=e.token,t},{})}(t||[]))),function(){return O}}var k=[{provide:n.APP_INITIALIZER,useFactory:M,deps:[[n.NgProbeToken,new n.Optional]],multi:!0}],D=new n.InjectionToken("EventManagerPlugins"),x=function(){function t(t,e){var n=this;this._zone=e,this._eventNameToPlugin=new Map,t.forEach(function(t){return t.manager=n}),this._plugins=t.slice().reverse()}return t.prototype.addEventListener=function(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)},t.prototype.addGlobalEventListener=function(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)},t.prototype.getZone=function(){return this._zone},t.prototype._findPluginFor=function(t){var e=this._eventNameToPlugin.get(t);if(e)return e;for(var n=this._plugins,o=0;o<n.length;o++){var r=n[o];if(r.supports(t))return this._eventNameToPlugin.set(t,r),r}throw new Error("No event manager plugin found for event "+t)},t.decorators=[{type:n.Injectable}],t.ctorParameters=function(){return[{type:Array,decorators:[{type:n.Inject,args:[D]}]},{type:n.NgZone}]},t}(),H=function(){function t(t){this._doc=t}return t.prototype.addGlobalEventListener=function(t,e,n){var o=s().getGlobalEventTarget(this._doc,t);if(!o)throw new Error("Unsupported event target "+o+" for event "+e);return this.addEventListener(o,e,n)},t}(),B=function(){function t(){this._stylesSet=new Set}return t.prototype.addStyles=function(t){var e=this,n=new Set;t.forEach(function(t){e._stylesSet.has(t)||(e._stylesSet.add(t),n.add(t))}),this.onStylesAdded(n)},t.prototype.onStylesAdded=function(t){},t.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},t.decorators=[{type:n.Injectable}],t}(),j=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n._hostNodes=new Set,n._styleNodes=new Set,n._hostNodes.add(e.head),n}return r(e,t),e.prototype._addStylesToHost=function(t,e){var n=this;t.forEach(function(t){var o=n._doc.createElement("style");o.textContent=t,n._styleNodes.add(e.appendChild(o))})},e.prototype.addHost=function(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)},e.prototype.removeHost=function(t){this._hostNodes.delete(t)},e.prototype.onStylesAdded=function(t){var e=this;this._hostNodes.forEach(function(n){return e._addStylesToHost(t,n)})},e.prototype.ngOnDestroy=function(){this._styleNodes.forEach(function(t){return s().remove(t)})},e.decorators=[{type:n.Injectable}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:n.Inject,args:[w]}]}]},e}(B),z={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},V=/%COMP%/g,F="_nghost-%COMP%",U="_ngcontent-%COMP%";
73
73
  /**
74
74
  * @license
75
75
  * Copyright Google Inc. All Rights Reserved.
76
76
  *
77
77
  * Use of this source code is governed by an MIT-style license that can be
78
78
  * found in the LICENSE file at https://angular.io/license
79
- */function G(t){return U.replace(V,t)}function Z(t){return F.replace(V,t)}function K(t,e,n){for(var r=0;r<e.length;r++){var o=e[r];Array.isArray(o)?K(t,o,n):(o=o.replace(V,t),n.push(o))}return n}function q(t){return function(e){!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}var W=function(){function t(t,e){this.eventManager=t,this.sharedStylesHost=e,this.rendererByCompId=new Map,this.defaultRenderer=new J(t)}return t.prototype.createRenderer=function(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case n.ViewEncapsulation.Emulated:var r=this.rendererByCompId.get(e.id);return r||(r=new $(this.eventManager,this.sharedStylesHost,e),this.rendererByCompId.set(e.id,r)),r.applyToHost(t),r;case n.ViewEncapsulation.Native:return new tt(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){var o=K(e.id,e.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}},t.prototype.begin=function(){},t.prototype.end=function(){},t.decorators=[{type:n.Injectable}],t.ctorParameters=function(){return[{type:x},{type:j}]},t}(),J=function(){function t(t){this.eventManager=t,this.data=Object.create(null)}return t.prototype.destroy=function(){},t.prototype.createElement=function(t,e){return e?document.createElementNS(z[e],t):document.createElement(t)},t.prototype.createComment=function(t){return document.createComment(t)},t.prototype.createText=function(t){return document.createTextNode(t)},t.prototype.appendChild=function(t,e){t.appendChild(e)},t.prototype.insertBefore=function(t,e,n){t&&t.insertBefore(e,n)},t.prototype.removeChild=function(t,e){t&&t.removeChild(e)},t.prototype.selectRootElement=function(t){var e="string"==typeof t?document.querySelector(t):t;if(!e)throw new Error('The selector "'+t+'" did not match any elements');return e.textContent="",e},t.prototype.parentNode=function(t){return t.parentNode},t.prototype.nextSibling=function(t){return t.nextSibling},t.prototype.setAttribute=function(t,e,n,r){if(r){e=r+":"+e;var o=z[r];o?t.setAttributeNS(o,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)},t.prototype.removeAttribute=function(t,e,n){if(n){var r=z[n];r?t.removeAttributeNS(r,e):t.removeAttribute(n+":"+e)}else t.removeAttribute(e)},t.prototype.addClass=function(t,e){t.classList.add(e)},t.prototype.removeClass=function(t,e){t.classList.remove(e)},t.prototype.setStyle=function(t,e,r,o){o&n.RendererStyleFlags2.DashCase?t.style.setProperty(e,r,o&n.RendererStyleFlags2.Important?"important":""):t.style[e]=r},t.prototype.removeStyle=function(t,e,r){r&n.RendererStyleFlags2.DashCase?t.style.removeProperty(e):t.style[e]=""},t.prototype.setProperty=function(t,e,n){Y(e,"property"),t[e]=n},t.prototype.setValue=function(t,e){t.nodeValue=e},t.prototype.listen=function(t,e,n){return Y(e,"listener"),"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,q(n)):this.eventManager.addEventListener(t,e,q(n))},t}(),X="@".charCodeAt(0);function Y(t,e){if(t.charCodeAt(0)===X)throw new Error("Found the synthetic "+e+" "+t+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var Q,$=function(t){function e(e,n,r){var o=t.call(this,e)||this;o.component=r;var i=K(r.id,r.styles,[]);return n.addStyles(i),o.contentAttr=G(r.id),o.hostAttr=Z(r.id),o}return o(e,t),e.prototype.applyToHost=function(e){t.prototype.setAttribute.call(this,e,this.hostAttr,"")},e.prototype.createElement=function(e,n){var r=t.prototype.createElement.call(this,e,n);return t.prototype.setAttribute.call(this,r,this.contentAttr,""),r},e}(J),tt=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;i.sharedStylesHost=n,i.hostEl=r,i.component=o,i.shadowRoot=r.createShadowRoot(),i.sharedStylesHost.addHost(i.shadowRoot);for(var a=K(o.id,o.styles,[]),u=0;u<a.length;u++){var s=document.createElement("style");s.textContent=a[u],i.shadowRoot.appendChild(s)}return i}return o(e,t),e.prototype.nodeOrShadowRoot=function(t){return t===this.hostEl?this.shadowRoot:t},e.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},e.prototype.appendChild=function(e,n){return t.prototype.appendChild.call(this,this.nodeOrShadowRoot(e),n)},e.prototype.insertBefore=function(e,n,r){return t.prototype.insertBefore.call(this,this.nodeOrShadowRoot(e),n,r)},e.prototype.removeChild=function(e,n){return t.prototype.removeChild.call(this,this.nodeOrShadowRoot(e),n)},e.prototype.parentNode=function(e){return this.nodeOrShadowRoot(t.prototype.parentNode.call(this,this.nodeOrShadowRoot(e)))},e}(J),et="undefined"!=typeof Zone&&Zone.__symbol__||function(t){return"__zone_symbol__"+t},nt=et("addEventListener"),rt=et("removeEventListener"),ot={},it="__zone_symbol__propagationStopped",at="undefined"!=typeof Zone&&Zone[et("BLACK_LISTED_EVENTS")];at&&(Q={},at.forEach(function(t){Q[t]=t}));var ut,st=function(t){return!!Q&&Q.hasOwnProperty(t)},ct=function(t){var e=ot[t.type];if(e){var n=this[e];if(n){var r=[t];if(1===n.length)return(a=n[0]).zone!==Zone.current?a.zone.run(a.handler,this,r):a.handler.apply(this,r);for(var o=n.slice(),i=0;i<o.length&&!0!==t[it];i++){var a;(a=o[i]).zone!==Zone.current?a.zone.run(a.handler,this,r):a.handler.apply(this,r)}}}},pt=function(t){function e(e,n){var r=t.call(this,e)||this;return r.ngZone=n,r.patchEvent(),r}return o(e,t),e.prototype.patchEvent=function(){if(Event&&Event.prototype&&!Event.prototype.__zone_symbol__stopImmediatePropagation){var t=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[it]=!0),t&&t.apply(this,arguments)}}},e.prototype.supports=function(t){return!0},e.prototype.addEventListener=function(t,e,r){var o=this,i=r;if(!t[nt]||n.NgZone.isInAngularZone()&&!st(e))t.addEventListener(e,i,!1);else{var a=ot[e];a||(a=ot[e]=et("ANGULAR"+e+"FALSE"));var u=t[a],s=u&&u.length>0;u||(u=t[a]=[]);var c=st(e)?Zone.root:Zone.current;if(0===u.length)u.push({zone:c,handler:i});else{for(var p=!1,l=0;l<u.length;l++)if(u[l].handler===i){p=!0;break}p||u.push({zone:c,handler:i})}s||t[nt](e,ct,!1)}return function(){return o.removeEventListener(t,e,i)}},e.prototype.removeEventListener=function(t,e,n){var r=t[rt];if(!r)return t.removeEventListener.apply(t,[e,n,!1]);var o=ot[e],i=o&&t[o];if(!i)return t.removeEventListener.apply(t,[e,n,!1]);for(var a=!1,u=0;u<i.length;u++)if(i[u].handler===n){a=!0,i.splice(u,1);break}a?0===i.length&&r.apply(t,[e,ct,!1]):t.removeEventListener.apply(t,[e,n,!1])},e.decorators=[{type:n.Injectable}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:n.Inject,args:[w]}]},{type:n.NgZone}]},e}(H),lt={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},ft=new n.InjectionToken("HammerGestureConfig"),dt=function(){function t(){this.events=[],this.overrides={}}return t.prototype.buildHammer=function(t){var e=new Hammer(t,this.options);for(var n in e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0}),this.overrides)e.get(n).set(this.overrides[n]);return e},t.decorators=[{type:n.Injectable}],t.ctorParameters=function(){return[]},t}(),yt=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o._config=n,o.console=r,o}return o(e,t),e.prototype.supports=function(t){return!(!lt.hasOwnProperty(t.toLowerCase())&&!this.isCustomEvent(t)||!window.Hammer&&(this.console.warn("Hammer.js is not loaded, can not bind '"+t+"' event."),1))},e.prototype.addEventListener=function(t,e,n){var r=this,o=this.manager.getZone();return e=e.toLowerCase(),o.runOutsideAngular(function(){var i=r._config.buildHammer(t),a=function(t){o.runGuarded(function(){n(t)})};return i.on(e,a),function(){return i.off(e,a)}})},e.prototype.isCustomEvent=function(t){return this._config.events.indexOf(t)>-1},e.decorators=[{type:n.Injectable}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:n.Inject,args:[w]}]},{type:dt,decorators:[{type:n.Inject,args:[ft]}]},{type:n.ɵConsole}]},e}(H),ht=["alt","control","meta","shift"],mt={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},gt=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.supports=function(t){return null!=e.parseEventName(t)},e.prototype.addEventListener=function(t,n,r){var o=e.parseEventName(n),i=e.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return s().onAndCancel(t,o.domEventName,i)})},e.parseEventName=function(t){var n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;var o=e._normalizeKey(n.pop()),i="";if(ht.forEach(function(t){var e=n.indexOf(t);e>-1&&(n.splice(e,1),i+=t+".")}),i+=o,0!=n.length||0===o.length)return null;var a={};return a.domEventName=r,a.fullKey=i,a},e.getEventFullKey=function(t){var e="",n=s().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),ht.forEach(function(r){r!=n&&(0,mt[r])(t)&&(e+=r+".")}),e+=n},e.eventCallback=function(t,n,r){return function(o){e.getEventFullKey(o)===t&&r.runGuarded(function(){return n(o)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e.decorators=[{type:n.Injectable}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:n.Inject,args:[w]}]}]},e}(H),vt=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return o(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case n.SecurityContext.NONE:return e;case n.SecurityContext.HTML:return e instanceof _t?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),n.ɵ_sanitizeHtml(this._doc,String(e)));case n.SecurityContext.STYLE:return e instanceof Et?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),n.ɵ_sanitizeStyle(e));case n.SecurityContext.SCRIPT:if(e instanceof bt)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case n.SecurityContext.URL:return e instanceof Tt||e instanceof St?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),n.ɵ_sanitizeUrl(String(e)));case n.SecurityContext.RESOURCE_URL:if(e instanceof Tt)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+t+" (see http://g.co/ng/security#xss)")}},e.prototype.checkNotSafeValue=function(t,e){if(t instanceof wt)throw new Error("Required a safe "+e+", got a "+t.getTypeName()+" (see http://g.co/ng/security#xss)")},e.prototype.bypassSecurityTrustHtml=function(t){return new _t(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new Et(t)},e.prototype.bypassSecurityTrustScript=function(t){return new bt(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new St(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new Tt(t)},e.decorators=[{type:n.Injectable}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:n.Inject,args:[w]}]}]},e}(ut=function ut(){}),wt=function(){function t(t){this.changingThisBreaksApplicationSecurity=t}return t.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},t}(),_t=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(wt),Et=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTypeName=function(){return"Style"},e}(wt),bt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTypeName=function(){return"Script"},e}(wt),St=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTypeName=function(){return"URL"},e}(wt),Tt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(wt),At=[{provide:n.PLATFORM_ID,useValue:e.ɵPLATFORM_BROWSER_ID},{provide:n.PLATFORM_INITIALIZER,useValue:Pt,multi:!0},{provide:e.PlatformLocation,useClass:E,deps:[w]},{provide:w,useFactory:Rt,deps:[]}],Nt=[{provide:n.Sanitizer,useExisting:ut},{provide:ut,useClass:vt,deps:[w]}],Ct=n.createPlatformFactory(n.platformCore,"browser",At);function Pt(){g.makeCurrent(),N.init()}function It(){return new n.ErrorHandler}function Rt(){return document}var Lt=function(){function t(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return t.withServerTransition=function(e){return{ngModule:t,providers:[{provide:n.APP_ID,useValue:e.appId},{provide:S,useExisting:n.APP_ID},A]}},t.decorators=[{type:n.NgModule,args:[{providers:[Nt,{provide:n.ɵAPP_ROOT,useValue:!0},{provide:n.ErrorHandler,useFactory:It,deps:[]},{provide:D,useClass:pt,multi:!0},{provide:D,useClass:gt,multi:!0},{provide:D,useClass:yt,multi:!0},{provide:ft,useClass:dt},W,{provide:n.RendererFactory2,useExisting:W},{provide:B,useExisting:j},j,n.Testability,x,k,b,C],exports:[e.CommonModule,n.ApplicationModule]}]}],t.ctorParameters=function(){return[{type:t,decorators:[{type:n.Optional},{type:n.SkipSelf}]}]},t}(),Ot="undefined"!=typeof window&&window||{},Mt=function Mt(t,e){this.msPerTick=t,this.numTicks=e},kt=function(){function t(t){this.appRef=t.injector.get(n.ApplicationRef)}return t.prototype.timeChangeDetection=function(t){var e=t&&t.record,n=null!=Ot.console.profile;e&&n&&Ot.console.profile("Change Detection");for(var r=s().performanceNow(),o=0;o<5||s().performanceNow()-r<500;)this.appRef.tick(),o++;var i=s().performanceNow();e&&n&&Ot.console.profileEnd("Change Detection");var a=(i-r)/o;return Ot.console.log("ran "+o+" change detection cycles"),Ot.console.log(a.toFixed(2)+" ms per check"),new Mt(a,o)},t}(),Dt=function(){function t(){this.store={},this.onSerializeCallbacks={}}return t.init=function(e){var n=new t;return n.store=e,n},t.prototype.get=function(t,e){return void 0!==this.store[t]?this.store[t]:e},t.prototype.set=function(t,e){this.store[t]=e},t.prototype.remove=function(t){delete this.store[t]},t.prototype.hasKey=function(t){return this.store.hasOwnProperty(t)},t.prototype.onSerialize=function(t,e){this.onSerializeCallbacks[t]=e},t.prototype.toJson=function(){for(var t in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(t))try{this.store[t]=this.onSerializeCallbacks[t]()}catch(t){console.warn("Exception in onSerialize callback: ",t)}return JSON.stringify(this.store)},t.decorators=[{type:n.Injectable}],t.ctorParameters=function(){return[]},t}();
79
+ */function G(t){return U.replace(V,t)}function Z(t){return F.replace(V,t)}function K(t,e,n){for(var o=0;o<e.length;o++){var r=e[o];Array.isArray(r)?K(t,r,n):(r=r.replace(V,t),n.push(r))}return n}function q(t){return function(e){!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}var W=function(){function t(t,e){this.eventManager=t,this.sharedStylesHost=e,this.rendererByCompId=new Map,this.defaultRenderer=new J(t)}return t.prototype.createRenderer=function(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case n.ViewEncapsulation.Emulated:var o=this.rendererByCompId.get(e.id);return o||(o=new $(this.eventManager,this.sharedStylesHost,e),this.rendererByCompId.set(e.id,o)),o.applyToHost(t),o;case n.ViewEncapsulation.Native:return new tt(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){var r=K(e.id,e.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}},t.prototype.begin=function(){},t.prototype.end=function(){},t.decorators=[{type:n.Injectable}],t.ctorParameters=function(){return[{type:x},{type:j}]},t}(),J=function(){function t(t){this.eventManager=t,this.data=Object.create(null)}return t.prototype.destroy=function(){},t.prototype.createElement=function(t,e){return e?document.createElementNS(z[e],t):document.createElement(t)},t.prototype.createComment=function(t){return document.createComment(t)},t.prototype.createText=function(t){return document.createTextNode(t)},t.prototype.appendChild=function(t,e){t.appendChild(e)},t.prototype.insertBefore=function(t,e,n){t&&t.insertBefore(e,n)},t.prototype.removeChild=function(t,e){t&&t.removeChild(e)},t.prototype.selectRootElement=function(t){var e="string"==typeof t?document.querySelector(t):t;if(!e)throw new Error('The selector "'+t+'" did not match any elements');return e.textContent="",e},t.prototype.parentNode=function(t){return t.parentNode},t.prototype.nextSibling=function(t){return t.nextSibling},t.prototype.setAttribute=function(t,e,n,o){if(o){e=o+":"+e;var r=z[o];r?t.setAttributeNS(r,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)},t.prototype.removeAttribute=function(t,e,n){if(n){var o=z[n];o?t.removeAttributeNS(o,e):t.removeAttribute(n+":"+e)}else t.removeAttribute(e)},t.prototype.addClass=function(t,e){t.classList.add(e)},t.prototype.removeClass=function(t,e){t.classList.remove(e)},t.prototype.setStyle=function(t,e,o,r){r&n.RendererStyleFlags2.DashCase?t.style.setProperty(e,o,r&n.RendererStyleFlags2.Important?"important":""):t.style[e]=o},t.prototype.removeStyle=function(t,e,o){o&n.RendererStyleFlags2.DashCase?t.style.removeProperty(e):t.style[e]=""},t.prototype.setProperty=function(t,e,n){Y(e,"property"),t[e]=n},t.prototype.setValue=function(t,e){t.nodeValue=e},t.prototype.listen=function(t,e,n){return Y(e,"listener"),"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,q(n)):this.eventManager.addEventListener(t,e,q(n))},t}(),X="@".charCodeAt(0);function Y(t,e){if(t.charCodeAt(0)===X)throw new Error("Found the synthetic "+e+" "+t+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var Q,$=function(t){function e(e,n,o){var r=t.call(this,e)||this;r.component=o;var i=K(o.id,o.styles,[]);return n.addStyles(i),r.contentAttr=G(o.id),r.hostAttr=Z(o.id),r}return r(e,t),e.prototype.applyToHost=function(e){t.prototype.setAttribute.call(this,e,this.hostAttr,"")},e.prototype.createElement=function(e,n){var o=t.prototype.createElement.call(this,e,n);return t.prototype.setAttribute.call(this,o,this.contentAttr,""),o},e}(J),tt=function(t){function e(e,n,o,r){var i=t.call(this,e)||this;i.sharedStylesHost=n,i.hostEl=o,i.component=r,i.shadowRoot=o.createShadowRoot(),i.sharedStylesHost.addHost(i.shadowRoot);for(var a=K(r.id,r.styles,[]),u=0;u<a.length;u++){var s=document.createElement("style");s.textContent=a[u],i.shadowRoot.appendChild(s)}return i}return r(e,t),e.prototype.nodeOrShadowRoot=function(t){return t===this.hostEl?this.shadowRoot:t},e.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},e.prototype.appendChild=function(e,n){return t.prototype.appendChild.call(this,this.nodeOrShadowRoot(e),n)},e.prototype.insertBefore=function(e,n,o){return t.prototype.insertBefore.call(this,this.nodeOrShadowRoot(e),n,o)},e.prototype.removeChild=function(e,n){return t.prototype.removeChild.call(this,this.nodeOrShadowRoot(e),n)},e.prototype.parentNode=function(e){return this.nodeOrShadowRoot(t.prototype.parentNode.call(this,this.nodeOrShadowRoot(e)))},e}(J),et="undefined"!=typeof Zone&&Zone.__symbol__||function(t){return"__zone_symbol__"+t},nt=et("addEventListener"),ot=et("removeEventListener"),rt={},it="__zone_symbol__propagationStopped",at="undefined"!=typeof Zone&&Zone[et("BLACK_LISTED_EVENTS")];at&&(Q={},at.forEach(function(t){Q[t]=t}));var ut,st=function(t){return!!Q&&Q.hasOwnProperty(t)},ct=function(t){var e=rt[t.type];if(e){var n=this[e];if(n){var o=[t];if(1===n.length)return(a=n[0]).zone!==Zone.current?a.zone.run(a.handler,this,o):a.handler.apply(this,o);for(var r=n.slice(),i=0;i<r.length&&!0!==t[it];i++){var a;(a=r[i]).zone!==Zone.current?a.zone.run(a.handler,this,o):a.handler.apply(this,o)}}}},pt=function(t){function o(n,o,r){var i=t.call(this,n)||this;return i.ngZone=o,r&&e.isPlatformServer(r)||i.patchEvent(),i}return r(o,t),o.prototype.patchEvent=function(){if("undefined"!=typeof Event&&Event&&Event.prototype&&!Event.prototype.__zone_symbol__stopImmediatePropagation){var t=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[it]=!0),t&&t.apply(this,arguments)}}},o.prototype.supports=function(t){return!0},o.prototype.addEventListener=function(t,e,o){var r=this,i=o;if(!t[nt]||n.NgZone.isInAngularZone()&&!st(e))t.addEventListener(e,i,!1);else{var a=rt[e];a||(a=rt[e]=et("ANGULAR"+e+"FALSE"));var u=t[a],s=u&&u.length>0;u||(u=t[a]=[]);var c=st(e)?Zone.root:Zone.current;if(0===u.length)u.push({zone:c,handler:i});else{for(var p=!1,l=0;l<u.length;l++)if(u[l].handler===i){p=!0;break}p||u.push({zone:c,handler:i})}s||t[nt](e,ct,!1)}return function(){return r.removeEventListener(t,e,i)}},o.prototype.removeEventListener=function(t,e,n){var o=t[ot];if(!o)return t.removeEventListener.apply(t,[e,n,!1]);var r=rt[e],i=r&&t[r];if(!i)return t.removeEventListener.apply(t,[e,n,!1]);for(var a=!1,u=0;u<i.length;u++)if(i[u].handler===n){a=!0,i.splice(u,1);break}a?0===i.length&&o.apply(t,[e,ct,!1]):t.removeEventListener.apply(t,[e,n,!1])},o.decorators=[{type:n.Injectable}],o.ctorParameters=function(){return[{type:void 0,decorators:[{type:n.Inject,args:[w]}]},{type:n.NgZone},{type:void 0,decorators:[{type:n.Optional},{type:n.Inject,args:[n.PLATFORM_ID]}]}]},o}(H),lt={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},ft=new n.InjectionToken("HammerGestureConfig"),dt=function(){function t(){this.events=[],this.overrides={}}return t.prototype.buildHammer=function(t){var e=new Hammer(t,this.options);for(var n in e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0}),this.overrides)e.get(n).set(this.overrides[n]);return e},t.decorators=[{type:n.Injectable}],t}(),yt=function(t){function e(e,n,o){var r=t.call(this,e)||this;return r._config=n,r.console=o,r}return r(e,t),e.prototype.supports=function(t){return!(!lt.hasOwnProperty(t.toLowerCase())&&!this.isCustomEvent(t)||!window.Hammer&&(this.console.warn("Hammer.js is not loaded, can not bind '"+t+"' event."),1))},e.prototype.addEventListener=function(t,e,n){var o=this,r=this.manager.getZone();return e=e.toLowerCase(),r.runOutsideAngular(function(){var i=o._config.buildHammer(t),a=function(t){r.runGuarded(function(){n(t)})};return i.on(e,a),function(){return i.off(e,a)}})},e.prototype.isCustomEvent=function(t){return this._config.events.indexOf(t)>-1},e.decorators=[{type:n.Injectable}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:n.Inject,args:[w]}]},{type:dt,decorators:[{type:n.Inject,args:[ft]}]},{type:n.ɵConsole}]},e}(H),ht=["alt","control","meta","shift"],mt={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},gt=function(t){function e(e){return t.call(this,e)||this}return r(e,t),e.prototype.supports=function(t){return null!=e.parseEventName(t)},e.prototype.addEventListener=function(t,n,o){var r=e.parseEventName(n),i=e.eventCallback(r.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return s().onAndCancel(t,r.domEventName,i)})},e.parseEventName=function(t){var n=t.toLowerCase().split("."),o=n.shift();if(0===n.length||"keydown"!==o&&"keyup"!==o)return null;var r=e._normalizeKey(n.pop()),i="";if(ht.forEach(function(t){var e=n.indexOf(t);e>-1&&(n.splice(e,1),i+=t+".")}),i+=r,0!=n.length||0===r.length)return null;var a={};return a.domEventName=o,a.fullKey=i,a},e.getEventFullKey=function(t){var e="",n=s().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),ht.forEach(function(o){o!=n&&(0,mt[o])(t)&&(e+=o+".")}),e+=n},e.eventCallback=function(t,n,o){return function(r){e.getEventFullKey(r)===t&&o.runGuarded(function(){return n(r)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e.decorators=[{type:n.Injectable}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:n.Inject,args:[w]}]}]},e}(H),vt=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return r(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case n.SecurityContext.NONE:return e;case n.SecurityContext.HTML:return e instanceof _t?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),n.ɵ_sanitizeHtml(this._doc,String(e)));case n.SecurityContext.STYLE:return e instanceof Et?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),n.ɵ_sanitizeStyle(e));case n.SecurityContext.SCRIPT:if(e instanceof bt)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case n.SecurityContext.URL:return e instanceof Tt||e instanceof St?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),n.ɵ_sanitizeUrl(String(e)));case n.SecurityContext.RESOURCE_URL:if(e instanceof Tt)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+t+" (see http://g.co/ng/security#xss)")}},e.prototype.checkNotSafeValue=function(t,e){if(t instanceof wt)throw new Error("Required a safe "+e+", got a "+t.getTypeName()+" (see http://g.co/ng/security#xss)")},e.prototype.bypassSecurityTrustHtml=function(t){return new _t(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new Et(t)},e.prototype.bypassSecurityTrustScript=function(t){return new bt(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new St(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new Tt(t)},e.decorators=[{type:n.Injectable}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:n.Inject,args:[w]}]}]},e}(ut=function ut(){}),wt=function(){function t(t){this.changingThisBreaksApplicationSecurity=t}return t.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},t}(),_t=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(wt),Et=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTypeName=function(){return"Style"},e}(wt),bt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTypeName=function(){return"Script"},e}(wt),St=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTypeName=function(){return"URL"},e}(wt),Tt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(wt),At=[{provide:n.PLATFORM_ID,useValue:e.ɵPLATFORM_BROWSER_ID},{provide:n.PLATFORM_INITIALIZER,useValue:Pt,multi:!0},{provide:e.PlatformLocation,useClass:E,deps:[w]},{provide:w,useFactory:Rt,deps:[]}],Nt=[{provide:n.Sanitizer,useExisting:ut},{provide:ut,useClass:vt,deps:[w]}],Ct=n.createPlatformFactory(n.platformCore,"browser",At);function Pt(){g.makeCurrent(),N.init()}function It(){return new n.ErrorHandler}function Rt(){return document}var Lt=function(){function t(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return t.withServerTransition=function(e){return{ngModule:t,providers:[{provide:n.APP_ID,useValue:e.appId},{provide:S,useExisting:n.APP_ID},A]}},t.decorators=[{type:n.NgModule,args:[{providers:[Nt,{provide:n.ɵAPP_ROOT,useValue:!0},{provide:n.ErrorHandler,useFactory:It,deps:[]},{provide:D,useClass:pt,multi:!0},{provide:D,useClass:gt,multi:!0},{provide:D,useClass:yt,multi:!0},{provide:ft,useClass:dt},W,{provide:n.RendererFactory2,useExisting:W},{provide:B,useExisting:j},j,n.Testability,x,k,b,C],exports:[e.CommonModule,n.ApplicationModule]}]}],t.ctorParameters=function(){return[{type:t,decorators:[{type:n.Optional},{type:n.SkipSelf}]}]},t}(),Ot="undefined"!=typeof window&&window||{},Mt=function Mt(t,e){this.msPerTick=t,this.numTicks=e},kt=function(){function t(t){this.appRef=t.injector.get(n.ApplicationRef)}return t.prototype.timeChangeDetection=function(t){var e=t&&t.record,n=null!=Ot.console.profile;e&&n&&Ot.console.profile("Change Detection");for(var o=s().performanceNow(),r=0;r<5||s().performanceNow()-o<500;)this.appRef.tick(),r++;var i=s().performanceNow();e&&n&&Ot.console.profileEnd("Change Detection");var a=(i-o)/r;return Ot.console.log("ran "+r+" change detection cycles"),Ot.console.log(a.toFixed(2)+" ms per check"),new Mt(a,r)},t}(),Dt=function(){function t(){this.store={},this.onSerializeCallbacks={}}return t.init=function(e){var n=new t;return n.store=e,n},t.prototype.get=function(t,e){return void 0!==this.store[t]?this.store[t]:e},t.prototype.set=function(t,e){this.store[t]=e},t.prototype.remove=function(t){delete this.store[t]},t.prototype.hasKey=function(t){return this.store.hasOwnProperty(t)},t.prototype.onSerialize=function(t,e){this.onSerializeCallbacks[t]=e},t.prototype.toJson=function(){for(var t in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(t))try{this.store[t]=this.onSerializeCallbacks[t]()}catch(t){console.warn("Exception in onSerialize callback: ",t)}return JSON.stringify(this.store)},t.decorators=[{type:n.Injectable}],t}();
80
80
  /**
81
81
  * @license
82
82
  * Copyright Google Inc. All Rights Reserved.
83
83
  *
84
84
  * Use of this source code is governed by an MIT-style license that can be
85
85
  * found in the LICENSE file at https://angular.io/license
86
- */function xt(t,e){var n=t.getElementById(e+"-state"),r={};if(n&&n.textContent)try{r=JSON.parse(function o(t){var e={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return t.replace(/&[^;]+;/g,function(t){return e[t]})}(n.textContent))}catch(t){console.warn("Exception while restoring TransferState for app "+e,t)}return Dt.init(r)}var Ht=function(){function t(){}return t.decorators=[{type:n.NgModule,args:[{providers:[{provide:Dt,useFactory:xt,deps:[w,n.APP_ID]}]}]}],t.ctorParameters=function(){return[]},t}(),Bt=function(){function t(){}return t.all=function(){return function(t){return!0}},t.css=function(t){return function(e){return null!=e.nativeElement&&s().elementMatches(e.nativeElement,t)}},t.directive=function(t){return function(e){return-1!==e.providerTokens.indexOf(t)}},t}(),jt=new n.Version("6.0.3");
86
+ */function xt(t,e){var n=t.getElementById(e+"-state"),o={};if(n&&n.textContent)try{o=JSON.parse(function r(t){var e={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return t.replace(/&[^;]+;/g,function(t){return e[t]})}(n.textContent))}catch(t){console.warn("Exception while restoring TransferState for app "+e,t)}return Dt.init(o)}var Ht=function(){function t(){}return t.decorators=[{type:n.NgModule,args:[{providers:[{provide:Dt,useFactory:xt,deps:[w,n.APP_ID]}]}]}],t}(),Bt=function(){function t(){}return t.all=function(){return function(t){return!0}},t.css=function(t){return function(e){return null!=e.nativeElement&&s().elementMatches(e.nativeElement,t)}},t.directive=function(t){return function(e){return-1!==e.providerTokens.indexOf(t)}},t}(),jt=new n.Version("6.0.7");
87
87
  /**
88
88
  * @license
89
89
  * Copyright Google Inc. All Rights Reserved.