@drayman/elements 1.23.0 → 1.25.0

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 (117) hide show
  1. package/README.md +2 -4
  2. package/dist/button/3rdpartylicenses.txt +3 -45
  3. package/dist/button/main.js +1 -1
  4. package/dist/button/polyfills.js +1 -1
  5. package/dist/calendar/3rdpartylicenses.txt +3 -52
  6. package/dist/calendar/favicon.ico +0 -0
  7. package/dist/calendar/main.js +1 -1
  8. package/dist/calendar/polyfills.js +1 -1
  9. package/dist/calendar/styles.css +1 -1
  10. package/dist/checkbox/3rdpartylicenses.txt +3 -30
  11. package/dist/checkbox/main.js +1 -1
  12. package/dist/checkbox/polyfills.js +1 -1
  13. package/dist/claviz-charts/3rdpartylicenses.txt +1 -28
  14. package/dist/claviz-charts/main.js +1 -1
  15. package/dist/claviz-charts/polyfills.js +1 -1
  16. package/dist/code-editor/3rdpartylicenses.txt +2 -139
  17. package/dist/code-editor/main.js +1 -1
  18. package/dist/code-editor/polyfills.js +1 -1
  19. package/dist/datepicker/3rdpartylicenses.txt +3 -91
  20. package/dist/datepicker/main.js +1 -1
  21. package/dist/datepicker/polyfills.js +1 -1
  22. package/dist/file-uploader/3rdpartylicenses.txt +1 -28
  23. package/dist/file-uploader/main.js +1 -1
  24. package/dist/file-uploader/polyfills.js +1 -1
  25. package/dist/{jsondiffpatch → gauge}/3rdpartylicenses.txt +15 -38
  26. package/dist/gauge/main.js +1 -0
  27. package/dist/gauge/polyfills.js +1 -0
  28. package/dist/grid/3rdpartylicenses.txt +3 -45
  29. package/dist/grid/main.js +1 -1
  30. package/dist/grid/polyfills.js +1 -1
  31. package/dist/menu/3rdpartylicenses.txt +3 -45
  32. package/dist/menu/main.js +1 -1
  33. package/dist/menu/polyfills.js +1 -1
  34. package/dist/nebula/3rdpartylicenses.txt +24 -62
  35. package/dist/nebula/main.js +1 -1
  36. package/dist/nebula/polyfills.js +1 -1
  37. package/dist/ngx-charts/3rdpartylicenses.txt +2 -44
  38. package/dist/ngx-charts/main.js +1 -1
  39. package/dist/ngx-charts/polyfills.js +1 -1
  40. package/dist/ngx-graph/3rdpartylicenses.txt +3 -69
  41. package/dist/ngx-graph/favicon.ico +0 -0
  42. package/dist/ngx-graph/main.js +1 -1
  43. package/dist/ngx-graph/polyfills.js +1 -1
  44. package/dist/number-field/3rdpartylicenses.txt +3 -30
  45. package/dist/number-field/main.js +1 -1
  46. package/dist/number-field/polyfills.js +1 -1
  47. package/dist/pdf-viewer/3rdpartylicenses.txt +26 -12
  48. package/dist/pdf-viewer/main.js +1 -1
  49. package/dist/pdf-viewer/polyfills.js +1 -1
  50. package/dist/radio-group/3rdpartylicenses.txt +3 -52
  51. package/dist/radio-group/main.js +1 -1
  52. package/dist/radio-group/polyfills.js +1 -1
  53. package/dist/select/3rdpartylicenses.txt +3 -30
  54. package/dist/select/main.js +1 -1
  55. package/dist/select/polyfills.js +1 -1
  56. package/dist/table/3rdpartylicenses.txt +3 -91
  57. package/dist/table/main.js +1 -1
  58. package/dist/table/polyfills.js +1 -1
  59. package/dist/text-field/3rdpartylicenses.txt +3 -45
  60. package/dist/text-field/main.js +1 -1
  61. package/dist/text-field/polyfills.js +1 -1
  62. package/dist/textarea-field/3rdpartylicenses.txt +3 -30
  63. package/dist/textarea-field/main.js +1 -1
  64. package/dist/textarea-field/polyfills.js +1 -1
  65. package/dist/timepicker/3rdpartylicenses.txt +3 -67
  66. package/dist/timepicker/main.js +1 -1
  67. package/dist/timepicker/polyfills.js +1 -1
  68. package/dist/types/checkbox/src/app/models/checkbox-options.d.ts +0 -0
  69. package/dist/types/claviz-charts/src/app/models/claviz-charts-options.d.ts +0 -0
  70. package/dist/types/datepicker/src/app/models/datepicker-options.d.ts +0 -0
  71. package/dist/types/file-uploader/src/app/models/file-uploader-options.d.ts +0 -0
  72. package/dist/types/gauge/src/app/models/gauge-options.d.ts +87 -0
  73. package/dist/types/menu/src/app/models/menu-options.d.ts +0 -0
  74. package/dist/types/nebula/src/app/models/nebula-options.d.ts +15 -0
  75. package/dist/types/ngx-charts/src/app/models/ngx-charts-options.d.ts +0 -0
  76. package/dist/types/ngx-graph/src/app/models/ngx-graph-options.d.ts +0 -0
  77. package/dist/types/number-field/src/app/models/number-field-options.d.ts +0 -0
  78. package/dist/types/pdf-viewer/src/app/models/pdf-viewer-options.d.ts +0 -0
  79. package/dist/types/radio-group/src/app/models/radio-group-options.d.ts +0 -0
  80. package/dist/types/select/src/app/models/select-options.d.ts +0 -0
  81. package/dist/types/shared/models/autocomplete-options-base.d.ts +0 -0
  82. package/dist/types/shared/models/button-options-base.d.ts +0 -0
  83. package/dist/types/shared/models/button-options.d.ts +0 -0
  84. package/dist/types/shared/models/field-options-base.d.ts +0 -0
  85. package/dist/types/shared/models/input-field-options-base.d.ts +0 -0
  86. package/dist/types/shared/models/input-mask-options-base.d.ts +0 -0
  87. package/dist/types/table/src/app/models/table-options.d.ts +0 -0
  88. package/dist/types/text-field/src/app/models/text-field-options.d.ts +0 -0
  89. package/dist/types/textarea-field/src/app/models/textarea-field-options.d.ts +0 -0
  90. package/dist/types/timepicker/src/app/models/timepicker-options.d.ts +0 -0
  91. package/dist/types/youtube-player/src/app/models/youtube-player-options.d.ts +0 -0
  92. package/dist/youtube-player/3rdpartylicenses.txt +2 -29
  93. package/dist/youtube-player/main.js +1 -1
  94. package/dist/youtube-player/polyfills.js +1 -1
  95. package/package.json +188 -183
  96. package/types/index.d.ts +35 -0
  97. package/dist/jsondiffpatch/favicon.ico +0 -0
  98. package/dist/jsondiffpatch/main.js +0 -1
  99. package/dist/jsondiffpatch/polyfills.js +0 -1
  100. package/dist/monaco-editor/3rdpartylicenses.txt +0 -406
  101. package/dist/monaco-editor/favicon.ico +0 -0
  102. package/dist/monaco-editor/main.js +0 -1
  103. package/dist/monaco-editor/polyfills.js +0 -1
  104. package/dist/monaco-editor/styles.css +0 -1
  105. package/dist/picasso/3rdpartylicenses.txt +0 -465
  106. package/dist/picasso/favicon.ico +0 -0
  107. package/dist/picasso/main.js +0 -1
  108. package/dist/picasso/polyfills.js +0 -1
  109. package/dist/picasso/styles.css +0 -0
  110. package/dist/pivot-grid/3rdpartylicenses.txt +0 -418
  111. package/dist/pivot-grid/main.js +0 -1
  112. package/dist/pivot-grid/polyfills.js +0 -1
  113. package/dist/pivot-grid/styles.css +0 -0
  114. package/dist/types/picasso/src/app/models/picasso-options.d.ts +0 -3
  115. package/dist/types/pivot-grid/src/app/models/pivot-grid-options.d.ts +0 -62
  116. /package/dist/{pivot-grid → gauge}/favicon.ico +0 -0
  117. /package/dist/{jsondiffpatch → gauge}/styles.css +0 -0
@@ -1 +1 @@
1
- !function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,(function(e){return t[e]}).bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}({0:function(t,e,n){t.exports=n("zUnb")},"9BI+":function(t,e,n){window,t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,(function(e){return t[e]}).bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=12)}([function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var i="/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */",s=r.sources.map((function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"}));return[n].concat(s).concat([i]).join("\n")}return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},i=0;i<this.length;i++){var s=this[i][0];null!=s&&(r[s]=!0)}for(i=0;i<t.length;i++){var o=t[i];null!=o[0]&&r[o[0]]||(n&&!o[2]?o[2]=n:n&&(o[2]="("+o[2]+") and ("+n+")"),e.push(o))}},e}},function(t,e,n){var r,i,s={},o=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===i&&(i=r.apply(this,arguments)),i}),a=function(t){var e={};return function(t,n){if("function"==typeof t)return t();if(void 0===e[t]){var r=(function(t,e){return e?e.querySelector(t):document.querySelector(t)}).call(this,t,n);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(t){r=null}e[t]=r}return e[t]}}(),l=null,c=0,u=[],h=n(7);function p(t,e){for(var n=0;n<t.length;n++){var r=t[n],i=s[r.id];if(i){i.refs++;for(var o=0;o<i.parts.length;o++)i.parts[o](r.parts[o]);for(;o<r.parts.length;o++)i.parts.push(b(r.parts[o],e))}else{var a=[];for(o=0;o<r.parts.length;o++)a.push(b(r.parts[o],e));s[r.id]={id:r.id,refs:1,parts:a}}}}function d(t,e){for(var n=[],r={},i=0;i<t.length;i++){var s=t[i],o=e.base?s[0]+e.base:s[0],a={css:s[1],media:s[2],sourceMap:s[3]};r[o]?r[o].parts.push(a):n.push(r[o]={id:o,parts:[a]})}return n}function f(t,e){var n=a(t.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=u[u.length-1];if("top"===t.insertAt)r?r.nextSibling?n.insertBefore(e,r.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),u.push(e);else if("bottom"===t.insertAt)n.appendChild(e);else{if("object"!=typeof t.insertAt||!t.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var i=a(t.insertAt.before,n);n.insertBefore(e,i)}}function m(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var e=u.indexOf(t);e>=0&&u.splice(e,1)}function y(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var r=n.nc;r&&(t.attrs.nonce=r)}return g(e,t.attrs),f(t,e),e}function g(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}function b(t,e){var n,r,i,s;if(e.transform&&t.css){if(!(s="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=s}if(e.singleton){var o=c++;n=l||(l=y(e)),r=w.bind(null,n,o,!1),i=w.bind(null,n,o,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",g(e,t.attrs),f(t,e),e}(e),r=(function(t,e,n){var r=n.css,i=n.sourceMap;(e.convertToAbsoluteUrls||void 0===e.convertToAbsoluteUrls&&i)&&(r=h(r)),i&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var s=new Blob([r],{type:"text/css"}),o=t.href;t.href=URL.createObjectURL(s),o&&URL.revokeObjectURL(o)}).bind(null,n,e),i=function(){m(n),n.href&&URL.revokeObjectURL(n.href)}):(n=y(e),r=(function(t,e){var n=e.css,r=e.media;if(r&&t.setAttribute("media",r),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}).bind(null,n),i=function(){m(n)});return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else i()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=o()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=d(t,e);return p(n,e),function(t){for(var r=[],i=0;i<n.length;i++)(o=s[n[i].id]).refs--,r.push(o);for(t&&p(d(t,e),e),i=0;i<r.length;i++){var o;if(0===(o=r[i]).refs){for(var a=0;a<o.parts.length;a++)o.parts[a]();delete s[o.id]}}}};var v,_=(v=[],function(t,e){return v[t]=e,v.filter(Boolean).join("\n")});function w(t,e,n,r){var i=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=_(e,i);else{var s=document.createTextNode(i),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(s,o[e]):t.appendChild(s)}}},function(t,e,n){"use strict";var r,i;"undefined"!=typeof window&&window,void 0===(i="function"==typeof(r=function(){if("undefined"==typeof window)return null;var t="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),e=t.requestAnimationFrame||t.mozRequestAnimationFrame||t.webkitRequestAnimationFrame||function(e){return t.setTimeout(e,20)};function n(t,e){var n=Object.prototype.toString.call(t),r="[object Array]"===n||"[object NodeList]"===n||"[object HTMLCollection]"===n||"[object Object]"===n||"undefined"!=typeof jQuery&&t instanceof jQuery||"undefined"!=typeof Elements&&t instanceof Elements,i=0,s=t.length;if(r)for(;i<s;i++)e(t[i]);else e(t)}function r(t){if(!t.getBoundingClientRect)return{width:t.offsetWidth,height:t.offsetHeight};var e=t.getBoundingClientRect();return{width:Math.round(e.width),height:Math.round(e.height)}}function i(t,e){Object.keys(e).forEach((function(n){t.style[n]=e[n]}))}var s=function(t,o){var a=0;function l(){var t,e,n=[];this.add=function(t){n.push(t)},this.call=function(r){for(t=0,e=n.length;t<e;t++)n[t].call(this,r)},this.remove=function(r){var i=[];for(t=0,e=n.length;t<e;t++)n[t]!==r&&i.push(n[t]);n=i},this.length=function(){return n.length}}n(t,(function(t){!function(t,n){if(t)if(t.resizedAttached)t.resizedAttached.add(n);else{t.resizedAttached=new l,t.resizedAttached.add(n),t.resizeSensor=document.createElement("div"),t.resizeSensor.dir="ltr",t.resizeSensor.className="resize-sensor";var s={pointerEvents:"none",position:"absolute",left:"0px",top:"0px",right:"0px",bottom:"0px",overflow:"hidden",zIndex:"-1",visibility:"hidden",maxWidth:"100%"},o={position:"absolute",left:"0px",top:"0px",transition:"0s"};i(t.resizeSensor,s);var c=document.createElement("div");c.className="resize-sensor-expand",i(c,s);var u=document.createElement("div");i(u,o),c.appendChild(u);var h=document.createElement("div");h.className="resize-sensor-shrink",i(h,s);var p=document.createElement("div");i(p,o),i(p,{width:"200%",height:"200%"}),h.appendChild(p),t.resizeSensor.appendChild(c),t.resizeSensor.appendChild(h),t.appendChild(t.resizeSensor);var d,f,m=window.getComputedStyle(t),y=m?m.getPropertyValue("position"):null;"absolute"!==y&&"relative"!==y&&"fixed"!==y&&"sticky"!==y&&(t.style.position="relative");var g=r(t),b=0,v=0,_=!0;a=0;var w=function(){if(_){if(0===t.offsetWidth&&0===t.offsetHeight)return void(a||(a=e((function(){a=0,w()}))));_=!1}var n,r;r=t.offsetHeight,u.style.width=(n=t.offsetWidth)+10+"px",u.style.height=r+10+"px",c.scrollLeft=n+10,c.scrollTop=r+10,h.scrollLeft=n+10,h.scrollTop=r+10};t.resizeSensor.resetSensor=w;var x=function(){f=0,d&&(b=g.width,v=g.height,t.resizedAttached&&t.resizedAttached.call(g))},E=function(){g=r(t),(d=g.width!==b||g.height!==v)&&!f&&(f=e(x)),w()},S=function(t,e,n){t.attachEvent?t.attachEvent("on"+e,n):t.addEventListener(e,n)};S(c,"scroll",E),S(h,"scroll",E),a=e(w)}}(t,o)})),this.detach=function(e){a||(window.cancelAnimationFrame(a),a=0),s.detach(t,e)},this.reset=function(){t.resizeSensor.resetSensor()}};if(s.reset=function(t){n(t,(function(t){t.resizeSensor.resetSensor()}))},s.detach=function(t,e){n(t,(function(t){t&&(t.resizedAttached&&"function"==typeof e&&(t.resizedAttached.remove(e),t.resizedAttached.length())||t.resizeSensor&&(t.contains(t.resizeSensor)&&t.removeChild(t.resizeSensor),delete t.resizeSensor,delete t.resizedAttached))}))},"undefined"!=typeof MutationObserver){var o=new MutationObserver((function(t){for(var e in t)if(t.hasOwnProperty(e))for(var n=t[e].addedNodes,r=0;r<n.length;r++)n[r].resizeSensor&&s.reset(n[r])}));document.addEventListener("DOMContentLoaded",(function(t){o.observe(document.body,{childList:!0,subtree:!0})}))}return s})?r.call(e,n,e,t):r)||(t.exports=i)},function(t,e,n){t.exports={ResizeSensor:n(2),ElementQueries:n(10)}},function(t,e,n){"use strict";(function(t){for(var n="undefined"!=typeof window&&"undefined"!=typeof document,r=["Edge","Trident","Firefox"],i=0,s=0;s<r.length;s+=1)if(n&&navigator.userAgent.indexOf(r[s])>=0){i=1;break}var o=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),i))}};function a(t){return t&&"[object Function]"==={}.toString.call(t)}function l(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function c(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function u(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=l(t);return/(auto|scroll|overlay)/.test(e.overflow+e.overflowY+e.overflowX)?t:u(c(t))}var h=n&&!(!window.MSInputMethodContext||!document.documentMode),p=n&&/MSIE 10/.test(navigator.userAgent);function d(t){return 11===t?h:10===t?p:h||p}function f(t){if(!t)return document.documentElement;for(var e=d(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===l(n,"position")?f(n):n:t?t.ownerDocument.documentElement:document.documentElement}function m(t){return null!==t.parentNode?m(t.parentNode):t}function y(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,i=n?e:t,s=document.createRange();s.setStart(r,0),s.setEnd(i,0);var o,a,l=s.commonAncestorContainer;if(t!==l&&e!==l||r.contains(i))return"BODY"===(a=(o=l).nodeName)||"HTML"!==a&&f(o.firstElementChild)!==o?f(l):l;var c=m(t);return c.host?y(c.host,e):y(t,m(e).host)}function g(t){var e="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=t.nodeName;return"BODY"===n||"HTML"===n?(t.ownerDocument.scrollingElement||t.ownerDocument.documentElement)[e]:t[e]}function b(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+r+"Width"],10)}function v(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],d(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function _(t){var e=t.body,n=t.documentElement,r=d(10)&&getComputedStyle(n);return{height:v("Height",e,n,r),width:v("Width",e,n,r)}}var w=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},x=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),E=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},S=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function k(t){return S({},t,{right:t.left+t.width,bottom:t.top+t.height})}function T(t){var e={};try{if(d(10)){e=t.getBoundingClientRect();var n=g(t,"top"),r=g(t,"left");e.top+=n,e.left+=r,e.bottom+=n,e.right+=r}else e=t.getBoundingClientRect()}catch(t){}var i={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},s="HTML"===t.nodeName?_(t.ownerDocument):{},o=t.offsetWidth-(s.width||t.clientWidth||i.right-i.left),a=t.offsetHeight-(s.height||t.clientHeight||i.bottom-i.top);if(o||a){var c=l(t);o-=b(c,"x"),a-=b(c,"y"),i.width-=o,i.height-=a}return k(i)}function C(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=d(10),i="HTML"===e.nodeName,s=T(t),o=T(e),a=u(t),c=l(e),h=parseFloat(c.borderTopWidth,10),p=parseFloat(c.borderLeftWidth,10);n&&i&&(o.top=Math.max(o.top,0),o.left=Math.max(o.left,0));var f=k({top:s.top-o.top-h,left:s.left-o.left-p,width:s.width,height:s.height});if(f.marginTop=0,f.marginLeft=0,!r&&i){var m=parseFloat(c.marginTop,10),y=parseFloat(c.marginLeft,10);f.top-=h-m,f.bottom-=h-m,f.left-=p-y,f.right-=p-y,f.marginTop=m,f.marginLeft=y}return(r&&!n?e.contains(a):e===a&&"BODY"!==a.nodeName)&&(f=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=g(e,"top"),i=g(e,"left"),s=n?-1:1;return t.top+=r*s,t.bottom+=r*s,t.left+=i*s,t.right+=i*s,t}(f,e)),f}function A(t){if(!t||!t.parentElement||d())return document.documentElement;for(var e=t.parentElement;e&&"none"===l(e,"transform");)e=e.parentElement;return e||document.documentElement}function I(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s={top:0,left:0},o=i?A(t):y(t,e);if("viewport"===r)s=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,r=C(t,n),i=Math.max(n.clientWidth,window.innerWidth||0),s=Math.max(n.clientHeight,window.innerHeight||0),o=e?0:g(n),a=e?0:g(n,"left");return k({top:o-r.top+r.marginTop,left:a-r.left+r.marginLeft,width:i,height:s})}(o,i);else{var a=void 0;"scrollParent"===r?"BODY"===(a=u(c(e))).nodeName&&(a=t.ownerDocument.documentElement):a="window"===r?t.ownerDocument.documentElement:r;var h=C(a,o,i);if("HTML"!==a.nodeName||function t(e){var n=e.nodeName;if("BODY"===n||"HTML"===n)return!1;if("fixed"===l(e,"position"))return!0;var r=c(e);return!!r&&t(r)}(o))s=h;else{var p=_(t.ownerDocument),d=p.height,f=p.width;s.top+=h.top-h.marginTop,s.bottom=d+h.top,s.left+=h.left-h.marginLeft,s.right=f+h.left}}var m="number"==typeof(n=n||0);return s.left+=m?n:n.left||0,s.top+=m?n:n.top||0,s.right-=m?n:n.right||0,s.bottom-=m?n:n.bottom||0,s}function O(t,e,n,r,i){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var o=I(n,r,s,i),a={top:{width:o.width,height:e.top-o.top},right:{width:o.right-e.right,height:o.height},bottom:{width:o.width,height:o.bottom-e.bottom},left:{width:e.left-o.left,height:o.height}},l=Object.keys(a).map((function(t){return S({key:t},a[t],{area:(e=a[t],e.width*e.height)});var e})).sort((function(t,e){return e.area-t.area})),c=l.filter((function(t){return t.width>=n.clientWidth&&t.height>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,h=t.split("-")[1];return u+(h?"-"+h:"")}function N(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return C(n,r?A(e):y(e,n),r)}function D(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),r=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+r,height:t.offsetHeight+n}}function M(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function P(t,e,n){n=n.split("-")[0];var r=D(t),i={width:r.width,height:r.height},s=-1!==["right","left"].indexOf(n),o=s?"top":"left",a=s?"left":"top",l=s?"height":"width",c=s?"width":"height";return i[o]=e[o]+e[l]/2-r[l]/2,i[a]=n===a?e[a]-r[c]:e[M(a)],i}function F(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function j(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===n}));var r=F(t,(function(t){return t[e]===n}));return t.indexOf(r)}(t,"name",n))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&a(n)&&(e.offsets.popper=k(e.offsets.popper),e.offsets.reference=k(e.offsets.reference),e=n(e,t))})),e}function R(t,e){return t.some((function(t){return t.enabled&&t.name===e}))}function L(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<e.length;r++){var i=e[r],s=i?""+i+n:t;if(void 0!==document.body.style[s])return s}return null}function H(t){var e=t.ownerDocument;return e?e.defaultView:window}function V(){var t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.state,H(this.reference).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function B(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function z(t,e){Object.keys(e).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&B(e[n])&&(r="px"),t.style[n]=e[n]+r}))}var q=n&&/Firefox/i.test(navigator.userAgent);function $(t,e,n){var r=F(t,(function(t){return t.name===e})),i=!!r&&t.some((function(t){return t.name===n&&t.enabled&&t.order<r.order}));if(!i){var s="`"+e+"`";console.warn("`"+n+"` modifier is required by "+s+" modifier in order to work, be sure to include it before "+s+"!")}return i}var Q=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],W=Q.slice(3);function U(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=W.indexOf(t),r=W.slice(n+1).concat(W.slice(0,n));return e?r.reverse():r}var Z={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var i=t.offsets,s=i.reference,o=i.popper,a=-1!==["bottom","top"].indexOf(n),l=a?"left":"top",c=a?"width":"height",u={start:E({},l,s[l]),end:E({},l,s[l]+s[c]-o[c])};t.offsets.popper=S({},o,u[r])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n,r=e.offset,i=t.offsets,s=i.popper,o=i.reference,a=t.placement.split("-")[0];return n=B(+r)?[+r,0]:function(t,e,n,r){var i=[0,0],s=-1!==["right","left"].indexOf(r),o=t.split(/(\+|\-)/).map((function(t){return t.trim()})),a=o.indexOf(F(o,(function(t){return-1!==t.search(/,|\s/)})));o[a]&&-1===o[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==a?[o.slice(0,a).concat([o[a].split(l)[0]]),[o[a].split(l)[1]].concat(o.slice(a+1))]:[o];return(c=c.map((function(t,r){var i=(1===r?!s:s)?"height":"width",o=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,o=!0,t):o?(t[t.length-1]+=e,o=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,n,r){var i=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),s=+i[1],o=i[2];if(!s)return t;if(0===o.indexOf("%")){var a=void 0;switch(o){case"%p":a=n;break;case"%":case"%r":default:a=r}return k(a)[e]/100*s}return"vh"===o||"vw"===o?("vh"===o?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*s:s}(t,i,e,n)}))}))).forEach((function(t,e){t.forEach((function(n,r){B(n)&&(i[e]+=n*("-"===t[r-1]?-1:1))}))})),i}(r,s,o,a),"left"===a?(s.top+=n[0],s.left-=n[1]):"right"===a?(s.top+=n[0],s.left+=n[1]):"top"===a?(s.left+=n[0],s.top-=n[1]):"bottom"===a&&(s.left+=n[0],s.top+=n[1]),t.popper=s,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||f(t.instance.popper);t.instance.reference===n&&(n=f(n));var r=L("transform"),i=t.instance.popper.style,s=i.top,o=i.left,a=i[r];i.top="",i.left="",i[r]="";var l=I(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);i.top=s,i.left=o,i[r]=a,e.boundaries=l;var c=t.offsets.popper,u={primary:function(t){var n=c[t];return c[t]<l[t]&&!e.escapeWithReference&&(n=Math.max(c[t],l[t])),E({},t,n)},secondary:function(t){var n="right"===t?"left":"top",r=c[n];return c[t]>l[t]&&!e.escapeWithReference&&(r=Math.min(c[n],l[t]-("right"===t?c.width:c.height))),E({},n,r)}};return e.priority.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";c=S({},c,u[e](t))})),t.offsets.popper=c,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,r=e.reference,i=t.placement.split("-")[0],s=Math.floor,o=-1!==["top","bottom"].indexOf(i),a=o?"right":"bottom",l=o?"left":"top",c=o?"width":"height";return n[a]<s(r[l])&&(t.offsets.popper[l]=s(r[l])-n[c]),n[l]>s(r[a])&&(t.offsets.popper[l]=s(r[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!$(t.instance.modifiers,"arrow","keepTogether"))return t;var r=e.element;if("string"==typeof r){if(!(r=t.instance.popper.querySelector(r)))return t}else if(!t.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var i=t.placement.split("-")[0],s=t.offsets,o=s.popper,a=s.reference,c=-1!==["left","right"].indexOf(i),u=c?"height":"width",h=c?"Top":"Left",p=h.toLowerCase(),d=c?"left":"top",f=c?"bottom":"right",m=D(r)[u];a[f]-m<o[p]&&(t.offsets.popper[p]-=o[p]-(a[f]-m)),a[p]+m>o[f]&&(t.offsets.popper[p]+=a[p]+m-o[f]),t.offsets.popper=k(t.offsets.popper);var y=a[p]+a[u]/2-m/2,g=l(t.instance.popper),b=parseFloat(g["margin"+h],10),v=parseFloat(g["border"+h+"Width"],10),_=y-t.offsets.popper[p]-b-v;return _=Math.max(Math.min(o[u]-m,_),0),t.arrowElement=r,t.offsets.arrow=(E(n={},p,Math.round(_)),E(n,d,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(R(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=I(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],i=M(r),s=t.placement.split("-")[1]||"",o=[];switch(e.behavior){case"flip":o=[r,i];break;case"clockwise":o=U(r);break;case"counterclockwise":o=U(r,!0);break;default:o=e.behavior}return o.forEach((function(a,l){if(r!==a||o.length===l+1)return t;r=t.placement.split("-")[0],i=M(r);var c=t.offsets.popper,u=t.offsets.reference,h=Math.floor,p="left"===r&&h(c.right)>h(u.left)||"right"===r&&h(c.left)<h(u.right)||"top"===r&&h(c.bottom)>h(u.top)||"bottom"===r&&h(c.top)<h(u.bottom),d=h(c.left)<h(n.left),f=h(c.right)>h(n.right),m=h(c.top)<h(n.top),y=h(c.bottom)>h(n.bottom),g="left"===r&&d||"right"===r&&f||"top"===r&&m||"bottom"===r&&y,b=-1!==["top","bottom"].indexOf(r),v=!!e.flipVariations&&(b&&"start"===s&&d||b&&"end"===s&&f||!b&&"start"===s&&m||!b&&"end"===s&&y)||!!e.flipVariationsByContent&&(b&&"start"===s&&f||b&&"end"===s&&d||!b&&"start"===s&&y||!b&&"end"===s&&m);(p||g||v)&&(t.flipped=!0,(p||g)&&(r=o[l+1]),v&&(s=function(t){return"end"===t?"start":"start"===t?"end":t}(s)),t.placement=r+(s?"-"+s:""),t.offsets.popper=S({},t.offsets.popper,P(t.instance.popper,t.offsets.reference,t.placement)),t=j(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],r=t.offsets,i=r.popper,s=r.reference,o=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return i[o?"left":"top"]=s[n]-(a?i[o?"width":"height"]:0),t.placement=M(e),t.offsets.popper=k(i),t}},hide:{order:800,enabled:!0,fn:function(t){if(!$(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=F(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,r=e.y,i=t.offsets.popper,s=F(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==s&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var o,a,l=void 0!==s?s:e.gpuAcceleration,c=f(t.instance.popper),u=T(c),h={position:i.position},p=function(t,e){var n=t.offsets,r=n.popper,i=Math.round,s=Math.floor,o=function(t){return t},a=i(n.reference.width),l=i(r.width),c=-1!==["left","right"].indexOf(t.placement),u=-1!==t.placement.indexOf("-"),h=e?c||u||a%2==l%2?i:s:o,p=e?i:o;return{left:h(a%2==1&&l%2==1&&!u&&e?r.left-1:r.left),top:p(r.top),bottom:p(r.bottom),right:h(r.right)}}(t,window.devicePixelRatio<2||!q),d="bottom"===n?"top":"bottom",m="right"===r?"left":"right",y=L("transform");if(a="bottom"===d?"HTML"===c.nodeName?-c.clientHeight+p.bottom:-u.height+p.bottom:p.top,o="right"===m?"HTML"===c.nodeName?-c.clientWidth+p.right:-u.width+p.right:p.left,l&&y)h[y]="translate3d("+o+"px, "+a+"px, 0)",h[d]=0,h[m]=0,h.willChange="transform";else{var g="right"===m?-1:1;h[d]=a*("bottom"===d?-1:1),h[m]=o*g,h.willChange=d+", "+m}return t.attributes=S({},{"x-placement":t.placement},t.attributes),t.styles=S({},h,t.styles),t.arrowStyles=S({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return z(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEach((function(t){!1!==n[t]?e.setAttribute(t,n[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&z(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,r,i){var s=N(i,e,t,n.positionFixed),o=O(n.placement,s,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",o),z(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},Y=function(){function t(e,n){var r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};w(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=o(this.update.bind(this)),this.options=S({},t.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(S({},t.Defaults.modifiers,i.modifiers)).forEach((function(e){r.options.modifiers[e]=S({},t.Defaults.modifiers[e]||{},i.modifiers?i.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return S({name:t},r.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&a(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return x(t,[{key:"update",value:function(){return(function(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=N(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=O(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=P(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=j(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}).call(this)}},{key:"destroy",value:function(){return(function(){return this.state.isDestroyed=!0,R(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[L("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}).call(this)}},{key:"enableEventListeners",value:function(){return(function(){this.state.eventsEnabled||(this.state=function(t,e,n,r){n.updateBound=r,H(t).addEventListener("resize",n.updateBound,{passive:!0});var i=u(t);return function t(e,n,r,i){var s="BODY"===e.nodeName,o=s?e.ownerDocument.defaultView:e;o.addEventListener(n,r,{passive:!0}),s||t(u(o.parentNode),n,r,i),i.push(o)}(i,"scroll",n.updateBound,n.scrollParents),n.scrollElement=i,n.eventsEnabled=!0,n}(this.reference,0,this.state,this.scheduleUpdate))}).call(this)}},{key:"disableEventListeners",value:function(){return V.call(this)}}]),t}();Y.Utils=("undefined"!=typeof window?window:t).PopperUtils,Y.placements=Q,Y.Defaults=Z,e.a=Y}).call(this,n(11))},function(t,e,n){var r=n(6);"string"==typeof r&&(r=[[t.i,r,""]]),n(1)(r,{hmr:!0,transform:void 0,insertInto:void 0}),r.locals&&(t.exports=r.locals)},function(t,e,n){(t.exports=n(0)(!1)).push([t.i,".bar {\r\n cursor: pointer;\r\n}\r\n\r\n.bar:hover {\r\n opacity: 0.8;\r\n transition: opacity 0.1s ease-in-out;\r\n}\r\n\r\n.bar-text {\r\n pointer-events: none;\r\n}\r\n\r\n.chart {\r\n width: 100%;\r\n}\r\n",""])},function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var n=e.protocol+"//"+e.host,r=n+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(t,e){var i,s=e.trim().replace(/^"(.*)"$/,(function(t,e){return e})).replace(/^'(.*)'$/,(function(t,e){return e}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(s)?t:(i=0===s.indexOf("//")?s:0===s.indexOf("/")?n+s:r+s.replace(/^\.\//,""),"url("+JSON.stringify(i)+")")}))}},function(t,e,n){var r=n(9);"string"==typeof r&&(r=[[t.i,r,""]]),n(1)(r,{hmr:!0,transform:void 0,insertInto:void 0}),r.locals&&(t.exports=r.locals)},function(t,e,n){(t.exports=n(0)(!1)).push([t.i,'.tippy-tooltip.light-border-theme{background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,8,16,.15);color:#26323d;box-shadow:0 3px 14px -.5px rgba(0,8,16,.08)}.tippy-tooltip.light-border-theme .tippy-backdrop{background-color:#fff}.tippy-tooltip.light-border-theme .tippy-arrow:after,.tippy-tooltip.light-border-theme .tippy-arrow:before,.tippy-tooltip.light-border-theme .tippy-roundarrow:after,.tippy-tooltip.light-border-theme .tippy-roundarrow:before{content:"";position:absolute;z-index:-1}.tippy-tooltip.light-border-theme .tippy-roundarrow{fill:#fff}.tippy-tooltip.light-border-theme .tippy-roundarrow:after{background-image:url(data:image/svg+xml;base64,PHN2ZyBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEuNDE0IiB2aWV3Qm94PSIwIDAgMTggNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMCA3czIuMDIxLS4wMTUgNS4yNTMtNC4yMThDNi41ODQgMS4wNTEgNy43OTcuMDA3IDkgMGMxLjIwMy0uMDA3IDIuNDE2IDEuMDM1IDMuNzYxIDIuNzgyQzE2LjAxMiA3LjAwNSAxOCA3IDE4IDd6IiBmaWxsPSIjMzMzIiBmaWxsLW9wYWNpdHk9Ii4yMzUiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvc3ZnPg==);background-size:18px 7px;width:18px;height:7px;left:0;top:0;fill:rgba(0,8,16,.15)}.tippy-tooltip.light-border-theme[x-placement^=top] .tippy-roundarrow:after{top:1px;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.tippy-tooltip.light-border-theme[x-placement^=top] .tippy-arrow{border-top-color:#fff}.tippy-tooltip.light-border-theme[x-placement^=top] .tippy-arrow:after{border-top:7px solid #fff;top:-7px}.tippy-tooltip.light-border-theme[x-placement^=top] .tippy-arrow:before{border-top:7px solid rgba(0,8,16,.2);bottom:-1px}.tippy-tooltip.light-border-theme[x-placement^=bottom] .tippy-roundarrow:after{top:-1px}.tippy-tooltip.light-border-theme[x-placement^=bottom] .tippy-arrow{border-bottom-color:#fff}.tippy-tooltip.light-border-theme[x-placement^=bottom] .tippy-arrow:after{border-bottom:7px solid #fff;bottom:-7px}.tippy-tooltip.light-border-theme[x-placement^=bottom] .tippy-arrow:before{border-bottom:7px solid rgba(0,8,16,.2);bottom:-6px}.tippy-tooltip.light-border-theme[x-placement^=left] .tippy-roundarrow:after{left:1px;top:0;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.tippy-tooltip.light-border-theme[x-placement^=left] .tippy-arrow{border-left-color:#fff}.tippy-tooltip.light-border-theme[x-placement^=left] .tippy-arrow:after{border-left:7px solid #fff;left:-7px}.tippy-tooltip.light-border-theme[x-placement^=left] .tippy-arrow:before{border-left:7px solid rgba(0,8,16,.2);left:-6px}.tippy-tooltip.light-border-theme[x-placement^=right] .tippy-roundarrow:after{left:-1px;top:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.tippy-tooltip.light-border-theme[x-placement^=right] .tippy-arrow{border-right-color:#fff}.tippy-tooltip.light-border-theme[x-placement^=right] .tippy-arrow:after{border-right:7px solid #fff;right:-7px}.tippy-tooltip.light-border-theme[x-placement^=right] .tippy-arrow:before{border-right:7px solid rgba(0,8,16,.2);right:-6px}.tippy-tooltip.light-border-theme[x-placement^=bottom] .tippy-arrow,.tippy-tooltip.light-border-theme[x-placement^=bottom] .tippy-roundarrow,.tippy-tooltip.light-border-theme[x-placement^=top] .tippy-arrow,.tippy-tooltip.light-border-theme[x-placement^=top] .tippy-roundarrow{-webkit-transform:translateX(-1px);transform:translateX(-1px)}.tippy-tooltip.light-border-theme[x-placement^=bottom] .tippy-arrow:after,.tippy-tooltip.light-border-theme[x-placement^=bottom] .tippy-arrow:before,.tippy-tooltip.light-border-theme[x-placement^=top] .tippy-arrow:after,.tippy-tooltip.light-border-theme[x-placement^=top] .tippy-arrow:before{left:-7px;border-left:7px solid transparent;border-right:7px solid transparent}.tippy-tooltip.light-border-theme[x-placement^=left] .tippy-arrow,.tippy-tooltip.light-border-theme[x-placement^=left] .tippy-roundarrow,.tippy-tooltip.light-border-theme[x-placement^=right] .tippy-arrow,.tippy-tooltip.light-border-theme[x-placement^=right] .tippy-roundarrow{-webkit-transform:translateY(-1px);transform:translateY(-1px)}.tippy-tooltip.light-border-theme[x-placement^=left] .tippy-arrow:after,.tippy-tooltip.light-border-theme[x-placement^=left] .tippy-arrow:before,.tippy-tooltip.light-border-theme[x-placement^=right] .tippy-arrow:after,.tippy-tooltip.light-border-theme[x-placement^=right] .tippy-arrow:before{top:-7px;border-top:7px solid transparent;border-bottom:7px solid transparent}',""])},function(t,e,n){"use strict";var r,i,s;"undefined"!=typeof window&&window,i=[n(2)],void 0===(s="function"==typeof(r=function(t){var e=function(){var e,n={},r=[];function i(t){t||(t=document.documentElement);var e=window.getComputedStyle(t,null).fontSize;return parseFloat(e)||16}function s(t,e){var n=e.split(/\d/),r=n[n.length-1];switch(e=parseFloat(e),r){case"px":return e;case"em":return e*i(t);case"rem":return e*i();case"vw":return e*document.documentElement.clientWidth/100;case"vh":return e*document.documentElement.clientHeight/100;case"vmin":case"vmax":var s=document.documentElement.clientWidth/100,o=document.documentElement.clientHeight/100;return e*(0,Math["vmin"===r?"min":"max"])(s,o);default:return e}}function o(t,e){var r,i,o,a,l,c,u,h;this.element=t;var p=["min-width","min-height","max-width","max-height"];this.call=function(){for(r in o=function(t){if(!t.getBoundingClientRect)return{width:t.offsetWidth,height:t.offsetHeight};var e=t.getBoundingClientRect();return{width:Math.round(e.width),height:Math.round(e.height)}}(this.element),c={},n[e])n[e].hasOwnProperty(r)&&(a=s(this.element,(i=n[e][r]).value),l="width"===i.property?o.width:o.height,u="","min"===i.mode&&l>=a&&(u+=i.value),"max"===i.mode&&l<=a&&(u+=i.value),c[h=i.mode+"-"+i.property]||(c[h]=""),u&&-1===(" "+c[h]+" ").indexOf(" "+u+" ")&&(c[h]+=" "+u));for(var t in p)p.hasOwnProperty(t)&&(c[p[t]]?this.element.setAttribute(p[t],c[p[t]].substr(1)):this.element.removeAttribute(p[t]))}}function a(e,n){e.elementQueriesSetupInformation||(e.elementQueriesSetupInformation=new o(e,n)),e.elementQueriesSensor||(e.elementQueriesSensor=new t(e,(function(){e.elementQueriesSetupInformation.call()})))}function l(t,i,s,o){if(void 0===n[t]){n[t]=[];var a=r.length;e.innerHTML+="\n"+t+" {animation: 0.1s element-queries;}",e.innerHTML+="\n"+t+" > .resize-sensor {min-width: "+a+"px;}",r.push(t)}n[t].push({mode:i,property:s,value:o})}function c(t){var e;if(document.querySelectorAll&&(e=t?t.querySelectorAll.bind(t):document.querySelectorAll.bind(document)),e||"undefined"==typeof $$||(e=$$),e||"undefined"==typeof jQuery||(e=jQuery),!e)throw"No document.querySelectorAll, jQuery or Mootools's $$ found.";return e}function u(e){var n=[],r=[],i=[],s=0,o=-1,a=[];for(var l in e.children)if(e.children.hasOwnProperty(l)&&e.children[l].tagName&&"img"===e.children[l].tagName.toLowerCase()){n.push(e.children[l]);var c=e.children[l].getAttribute("min-width")||e.children[l].getAttribute("data-min-width"),u=e.children[l].getAttribute("data-src")||e.children[l].getAttribute("url");i.push(u),r.push({minWidth:c}),c?e.children[l].style.display="none":(s=n.length-1,e.children[l].style.display="block")}function h(){var t,l=!1;for(t in n)n.hasOwnProperty(t)&&r[t].minWidth&&e.offsetWidth>r[t].minWidth&&(l=t);if(l||(l=s),o!==l)if(a[l])n[o].style.display="none",n[l].style.display="block",o=l;else{var c=new Image;c.onload=function(){n[l].src=i[l],n[o].style.display="none",n[l].style.display="block",a[l]=!0,o=l},c.src=i[l]}else n[l].src=i[l]}o=s,e.resizeSensorInstance=new t(e,h),h()}var h=/,?[\s\t]*([^,\n]*?)((?:\[[\s\t]*?(?:min|max)-(?:width|height)[\s\t]*?[~$\^]?=[\s\t]*?"[^"]*?"[\s\t]*?])+)([^,\n\s\{]*)/gim,p=/\[[\s\t]*?(min|max)-(width|height)[\s\t]*?[~$\^]?=[\s\t]*?"([^"]*?)"[\s\t]*?]/gim;function d(t){var e,n,r,i;for(t=t.replace(/'/g,'"');null!==(e=h.exec(t));)for(n=e[1]+e[3],r=e[2];null!==(i=p.exec(r));)l(n,i[1],i[2],i[3])}function f(t){var e="";if(t)if("string"==typeof t)-1===(t=t.toLowerCase()).indexOf("min-width")&&-1===t.indexOf("max-width")||d(t);else for(var n=0,r=t.length;n<r;n++)1===t[n].type?-1!==(e=t[n].selectorText||t[n].cssText).indexOf("min-height")||-1!==e.indexOf("max-height")?d(e):-1===e.indexOf("min-width")&&-1===e.indexOf("max-width")||d(e):4===t[n].type?f(t[n].cssRules||t[n].rules):3===t[n].type&&t[n].styleSheet.hasOwnProperty("cssRules")&&f(t[n].styleSheet.cssRules)}var m=!1;this.init=function(){var n="animationstart";void 0!==document.documentElement.style.webkitAnimationName?n="webkitAnimationStart":void 0!==document.documentElement.style.MozAnimationName?n="mozanimationstart":void 0!==document.documentElement.style.OAnimationName&&(n="oanimationstart"),document.body.addEventListener(n,(function(e){var n=e.target,i=n&&window.getComputedStyle(n,null),s=i&&i.getPropertyValue("animation-name");if(s&&-1!==s.indexOf("element-queries")){n.elementQueriesSensor=new t(n,(function(){n.elementQueriesSetupInformation&&n.elementQueriesSetupInformation.call()}));var o=window.getComputedStyle(n.resizeSensor,null).getPropertyValue("min-width");o=parseInt(o.replace("px","")),a(e.target,r[o])}})),m||((e=document.createElement("style")).type="text/css",e.innerHTML="[responsive-image] > img, [data-responsive-image] {overflow: hidden; padding: 0; } [responsive-image] > img, [data-responsive-image] > img {width: 100%;}",e.innerHTML+="\n@keyframes element-queries { 0% { visibility: inherit; } }",document.getElementsByTagName("head")[0].appendChild(e),m=!0);for(var i=0,s=document.styleSheets.length;i<s;i++)try{document.styleSheets[i].href&&0===document.styleSheets[i].href.indexOf("file://")&&console.warn("CssElementQueries: unable to parse local css files, "+document.styleSheets[i].href),f(document.styleSheets[i].cssRules||document.styleSheets[i].rules||document.styleSheets[i].cssText)}catch(t){}!function(){for(var t=c()("[data-responsive-image],[responsive-image]"),e=0,n=t.length;e<n;e++)u(t[e])}()},this.findElementQueriesElements=function(t){!function(t){var e=c(t);for(var r in n)if(n.hasOwnProperty(r))for(var i=e(r,t),s=0,o=i.length;s<o;s++)a(i[s],r)}(t)},this.update=function(){this.init()}};return e.update=function(){e.instance.update()},e.detach=function(t){t.elementQueriesSetupInformation?(t.elementQueriesSensor.detach(),delete t.elementQueriesSetupInformation,delete t.elementQueriesSensor):t.resizeSensorInstance&&(t.resizeSensorInstance.detach(),delete t.resizeSensorInstance)},e.init=function(){e.instance||(e.instance=new e),e.instance.init()},e.findElementQueriesElements=function(t){e.instance.findElementQueriesElements(t)},e.listen=function(){!function(t){if(document.addEventListener)document.addEventListener("DOMContentLoaded",t,!1);else if(/KHTML|WebKit|iCab/i.test(navigator.userAgent))var e=setInterval((function(){/loaded|complete/i.test(document.readyState)&&(t(),clearInterval(e))}),10);else window.onload=t}(e.init)},e})?r.apply(e,i):r)||(t.exports=s)},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";function r(t,e){(function(t){return"string"==typeof t&&-1!==t.indexOf(".")&&1===parseFloat(t)})(t)&&(t="100%");var n=function(t){return"string"==typeof t&&-1!==t.indexOf("%")}(t);return t=360===e?t:Math.min(e,Math.max(0,parseFloat(t))),n&&(t=parseInt(String(t*e),10)/100),Math.abs(t-e)<1e-6?1:t=360===e?(t<0?t%e+e:t%e)/parseFloat(String(e)):t%e/parseFloat(String(e))}function i(t){return Math.min(1,Math.max(0,t))}function s(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function o(t){return t<=1?100*Number(t)+"%":t}function a(t){return 1===t.length?"0"+t:String(t)}function l(t,e,n){t=r(t,255),e=r(e,255),n=r(n,255);var i=Math.max(t,e,n),s=Math.min(t,e,n),o=0,a=0,l=(i+s)/2;if(i===s)a=0,o=0;else{var c=i-s;switch(a=l>.5?c/(2-i-s):c/(i+s),i){case t:o=(e-n)/c+(e<n?6:0);break;case e:o=(n-t)/c+2;break;case n:o=(t-e)/c+4}o/=6}return{h:o,s:a,l:l}}function c(t,e,n){t=r(t,255),e=r(e,255),n=r(n,255);var i=Math.max(t,e,n),s=Math.min(t,e,n),o=0,a=i,l=i-s,c=0===i?0:l/i;if(i===s)o=0;else{switch(i){case t:o=(e-n)/l+(e<n?6:0);break;case e:o=(n-t)/l+2;break;case n:o=(t-e)/l+4}o/=6}return{h:o,s:c,v:a}}function u(t,e,n,r){var i=[a(Math.round(t).toString(16)),a(Math.round(e).toString(16)),a(Math.round(n).toString(16))];return r&&i[0].charAt(0)===i[0].charAt(1)&&i[1].charAt(0)===i[1].charAt(1)&&i[2].charAt(0)===i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function h(t){return Math.round(255*parseFloat(t)).toString(16)}function p(t){return d(t)/255}function d(t){return parseInt(t,16)}n.r(e),n(5),n(8);var f={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function m(t){var e,n,i={r:0,g:0,b:0},a=1,l=null,c=null,u=null,h=!1,m=!1;return"string"==typeof t&&(t=function(t){if(0===(t=t.trim().toLowerCase()).length)return!1;var e=!1;if(f[t])t=f[t],e=!0;else if("transparent"===t)return{r:0,g:0,b:0,a:0,format:"name"};var n=v.rgb.exec(t);return n?{r:n[1],g:n[2],b:n[3]}:(n=v.rgba.exec(t))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=v.hsl.exec(t))?{h:n[1],s:n[2],l:n[3]}:(n=v.hsla.exec(t))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=v.hsv.exec(t))?{h:n[1],s:n[2],v:n[3]}:(n=v.hsva.exec(t))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=v.hex8.exec(t))?{r:d(n[1]),g:d(n[2]),b:d(n[3]),a:p(n[4]),format:e?"name":"hex8"}:(n=v.hex6.exec(t))?{r:d(n[1]),g:d(n[2]),b:d(n[3]),format:e?"name":"hex"}:(n=v.hex4.exec(t))?{r:d(n[1]+n[1]),g:d(n[2]+n[2]),b:d(n[3]+n[3]),a:p(n[4]+n[4]),format:e?"name":"hex8"}:!!(n=v.hex3.exec(t))&&{r:d(n[1]+n[1]),g:d(n[2]+n[2]),b:d(n[3]+n[3]),format:e?"name":"hex"}}(t)),"object"==typeof t&&(_(t.r)&&_(t.g)&&_(t.b)?(e=t.g,n=t.b,i={r:255*r(t.r,255),g:255*r(e,255),b:255*r(n,255)},h=!0,m="%"===String(t.r).substr(-1)?"prgb":"rgb"):_(t.h)&&_(t.s)&&_(t.v)?(l=o(t.s),c=o(t.v),i=function(t,e,n){t=6*r(t,360),e=r(e,100),n=r(n,100);var i=Math.floor(t),s=t-i,o=n*(1-e),a=n*(1-s*e),l=n*(1-(1-s)*e),c=i%6;return{r:255*[n,a,o,o,l,n][c],g:255*[l,n,n,a,o,o][c],b:255*[o,o,l,n,n,a][c]}}(t.h,l,c),h=!0,m="hsv"):_(t.h)&&_(t.s)&&_(t.l)&&(l=o(t.s),u=o(t.l),i=function(t,e,n){var i,s,o;function a(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*n*(e-t):n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}if(t=r(t,360),e=r(e,100),n=r(n,100),0===e)s=n,o=n,i=n;else{var l=n<.5?n*(1+e):n+e-n*e,c=2*n-l;i=a(c,l,t+1/3),s=a(c,l,t),o=a(c,l,t-1/3)}return{r:255*i,g:255*s,b:255*o}}(t.h,l,u),h=!0,m="hsl"),Object.prototype.hasOwnProperty.call(t,"a")&&(a=t.a)),a=s(a),{ok:h,format:t.format||m,r:Math.min(255,Math.max(i.r,0)),g:Math.min(255,Math.max(i.g,0)),b:Math.min(255,Math.max(i.b,0)),a:a}}var y="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",g="[\\s|\\(]+("+y+")[,|\\s]+("+y+")[,|\\s]+("+y+")\\s*\\)?",b="[\\s|\\(]+("+y+")[,|\\s]+("+y+")[,|\\s]+("+y+")[,|\\s]+("+y+")\\s*\\)?",v={CSS_UNIT:new RegExp(y),rgb:new RegExp("rgb"+g),rgba:new RegExp("rgba"+b),hsl:new RegExp("hsl"+g),hsla:new RegExp("hsla"+b),hsv:new RegExp("hsv"+g),hsva:new RegExp("hsva"+b),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function _(t){return Boolean(v.CSS_UNIT.exec(String(t)))}var w=function(){function t(e,n){if(void 0===e&&(e=""),void 0===n&&(n={}),e instanceof t)return e;this.originalInput=e;var r=m(e);this.originalInput=e,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=n.format||r.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=r.ok}return t.prototype.isDark=function(){return this.getBrightness()<128},t.prototype.isLight=function(){return!this.isDark()},t.prototype.getBrightness=function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},t.prototype.getLuminance=function(){var t=this.toRgb(),e=t.r/255,n=t.g/255,r=t.b/255;return.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},t.prototype.getAlpha=function(){return this.a},t.prototype.setAlpha=function(t){return this.a=s(t),this.roundA=Math.round(100*this.a)/100,this},t.prototype.toHsv=function(){var t=c(this.r,this.g,this.b);return{h:360*t.h,s:t.s,v:t.v,a:this.a}},t.prototype.toHsvString=function(){var t=c(this.r,this.g,this.b),e=Math.round(360*t.h),n=Math.round(100*t.s),r=Math.round(100*t.v);return 1===this.a?"hsv("+e+", "+n+"%, "+r+"%)":"hsva("+e+", "+n+"%, "+r+"%, "+this.roundA+")"},t.prototype.toHsl=function(){var t=l(this.r,this.g,this.b);return{h:360*t.h,s:t.s,l:t.l,a:this.a}},t.prototype.toHslString=function(){var t=l(this.r,this.g,this.b),e=Math.round(360*t.h),n=Math.round(100*t.s),r=Math.round(100*t.l);return 1===this.a?"hsl("+e+", "+n+"%, "+r+"%)":"hsla("+e+", "+n+"%, "+r+"%, "+this.roundA+")"},t.prototype.toHex=function(t){return void 0===t&&(t=!1),u(this.r,this.g,this.b,t)},t.prototype.toHexString=function(t){return void 0===t&&(t=!1),"#"+this.toHex(t)},t.prototype.toHex8=function(t){return void 0===t&&(t=!1),function(t,e,n,r,i){var s=[a(Math.round(t).toString(16)),a(Math.round(e).toString(16)),a(Math.round(n).toString(16)),a(h(r))];return i&&s[0].charAt(0)===s[0].charAt(1)&&s[1].charAt(0)===s[1].charAt(1)&&s[2].charAt(0)===s[2].charAt(1)&&s[3].charAt(0)===s[3].charAt(1)?s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0)+s[3].charAt(0):s.join("")}(this.r,this.g,this.b,this.a,t)},t.prototype.toHex8String=function(t){return void 0===t&&(t=!1),"#"+this.toHex8(t)},t.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},t.prototype.toRgbString=function(){var t=Math.round(this.r),e=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb("+t+", "+e+", "+n+")":"rgba("+t+", "+e+", "+n+", "+this.roundA+")"},t.prototype.toPercentageRgb=function(){var t=function(t){return Math.round(100*r(t,255))+"%"};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},t.prototype.toPercentageRgbString=function(){var t=function(t){return Math.round(100*r(t,255))};return 1===this.a?"rgb("+t(this.r)+"%, "+t(this.g)+"%, "+t(this.b)+"%)":"rgba("+t(this.r)+"%, "+t(this.g)+"%, "+t(this.b)+"%, "+this.roundA+")"},t.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var t="#"+u(this.r,this.g,this.b,!1),e=0,n=Object.keys(f);e<n.length;e++){var r=n[e];if(f[r]===t)return r}return!1},t.prototype.toString=function(t){var e=Boolean(t);t=t||this.format;var n=!1;return e||!(this.a<1&&this.a>=0)||!t.startsWith("hex")&&"name"!==t?("rgb"===t&&(n=this.toRgbString()),"prgb"===t&&(n=this.toPercentageRgbString()),"hex"!==t&&"hex6"!==t||(n=this.toHexString()),"hex3"===t&&(n=this.toHexString(!0)),"hex4"===t&&(n=this.toHex8String(!0)),"hex8"===t&&(n=this.toHex8String()),"name"===t&&(n=this.toName()),"hsl"===t&&(n=this.toHslString()),"hsv"===t&&(n=this.toHsvString()),n||this.toHexString()):"name"===t&&0===this.a?this.toName():this.toRgbString()},t.prototype.clone=function(){return new t(this.toString())},t.prototype.lighten=function(e){void 0===e&&(e=10);var n=this.toHsl();return n.l+=e/100,n.l=i(n.l),new t(n)},t.prototype.brighten=function(e){void 0===e&&(e=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-e/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-e/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-e/100*255))),new t(n)},t.prototype.darken=function(e){void 0===e&&(e=10);var n=this.toHsl();return n.l-=e/100,n.l=i(n.l),new t(n)},t.prototype.tint=function(t){return void 0===t&&(t=10),this.mix("white",t)},t.prototype.shade=function(t){return void 0===t&&(t=10),this.mix("black",t)},t.prototype.desaturate=function(e){void 0===e&&(e=10);var n=this.toHsl();return n.s-=e/100,n.s=i(n.s),new t(n)},t.prototype.saturate=function(e){void 0===e&&(e=10);var n=this.toHsl();return n.s+=e/100,n.s=i(n.s),new t(n)},t.prototype.greyscale=function(){return this.desaturate(100)},t.prototype.spin=function(e){var n=this.toHsl(),r=(n.h+e)%360;return n.h=r<0?360+r:r,new t(n)},t.prototype.mix=function(e,n){void 0===n&&(n=50);var r=this.toRgb(),i=new t(e).toRgb(),s=n/100;return new t({r:(i.r-r.r)*s+r.r,g:(i.g-r.g)*s+r.g,b:(i.b-r.b)*s+r.b,a:(i.a-r.a)*s+r.a})},t.prototype.analogous=function(e,n){void 0===e&&(e=6),void 0===n&&(n=30);var r=this.toHsl(),i=360/n,s=[this];for(r.h=(r.h-(i*e>>1)+720)%360;--e;)r.h=(r.h+i)%360,s.push(new t(r));return s},t.prototype.complement=function(){var e=this.toHsl();return e.h=(e.h+180)%360,new t(e)},t.prototype.monochromatic=function(e){void 0===e&&(e=6);for(var n=this.toHsv(),r=n.h,i=n.s,s=n.v,o=[],a=1/e;e--;)o.push(new t({h:r,s:i,v:s})),s=(s+a)%1;return o},t.prototype.splitcomplement=function(){var e=this.toHsl(),n=e.h;return[this,new t({h:(n+72)%360,s:e.s,l:e.l}),new t({h:(n+216)%360,s:e.s,l:e.l})]},t.prototype.triad=function(){return this.polyad(3)},t.prototype.tetrad=function(){return this.polyad(4)},t.prototype.polyad=function(e){for(var n=this.toHsl(),r=n.h,i=[this],s=360/e,o=1;o<e;o++)i.push(new t({h:(r+o*s)%360,s:n.s,l:n.l}));return i},t.prototype.equals=function(e){return this.toRgbString()===new t(e).toRgbString()},t}(),x=n(3),E=n(4);function S(){return(S=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var k="undefined"!=typeof window&&"undefined"!=typeof document,T=k?navigator.userAgent:"",C=/MSIE |Trident\//.test(T),A=/UCBrowser\//.test(T),I=k&&/iPhone|iPad|iPod/.test(navigator.platform)&&!window.MSStream,O={a11y:!0,allowHTML:!0,animateFill:!0,animation:"shift-away",appendTo:function(){return document.body},aria:"describedby",arrow:!1,arrowType:"sharp",boundary:"scrollParent",content:"",delay:0,distance:10,duration:[325,275],flip:!0,flipBehavior:"flip",flipOnUpdate:!1,followCursor:!1,hideOnClick:!0,ignoreAttributes:!1,inertia:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,lazy:!0,maxWidth:350,multiple:!1,offset:0,onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},placement:"top",popperOptions:{},role:"tooltip",showOnInit:!1,size:"regular",sticky:!1,target:"",theme:"dark",touch:!0,touchHold:!1,trigger:"mouseenter focus",updateDuration:0,wait:null,zIndex:9999},N=["arrow","arrowType","boundary","distance","flip","flipBehavior","flipOnUpdate","offset","placement","popperOptions"],D=k?Element.prototype:{},M=D.matches||D.matchesSelector||D.webkitMatchesSelector||D.mozMatchesSelector||D.msMatchesSelector;function P(t){return[].slice.call(t)}function F(t,e){return(D.closest||function(t){for(var e=this;e;){if(M.call(e,t))return e;e=e.parentElement}}).call(t,e)}function j(t,e){for(;t;){if(e(t))return t;t=t.parentElement}}var R={passive:!0},L="x-placement",H="x-out-of-boundaries",V="tippy-iOS",B="tippy-active",z=".tippy-popper",q=Object.keys(O);function $(t,e){return{}.hasOwnProperty.call(t,e)}function Q(t,e,n){if(Array.isArray(t)){var r=t[e];return null==r?n:r}return t}function W(t,e){var n;return function(){var r=this,i=arguments;clearTimeout(n),n=setTimeout((function(){return t.apply(r,i)}),e)}}function U(t,e){return t&&t.modifiers&&t.modifiers[e]}function Z(t,e){return t.indexOf(e)>-1}function Y(t){return!(!t||!$(t,"isVirtual"))||t instanceof Element}function K(t,e){return"function"==typeof t?t.apply(null,e):t}function X(t,e){t.filter((function(t){return"flip"===t.name}))[0].enabled=e}function G(){return document.createElement("div")}function J(t,e){t.forEach((function(t){t&&(t.style.transitionDuration="".concat(e,"ms"))}))}function tt(t,e){t.forEach((function(t){t&&t.setAttribute("data-state",e)}))}function et(t,e){var n=S({},e,{content:K(e.content,[t])},e.ignoreAttributes?{}:function(t){return q.reduce((function(e,n){var r=(t.getAttribute("data-tippy-".concat(n))||"").trim();if(!r)return e;if("content"===n)e[n]=r;else try{e[n]=JSON.parse(r)}catch(t){e[n]=r}return e}),{})}(t));return(n.arrow||A)&&(n.animateFill=!1),n}function nt(t,e){Object.keys(t).forEach((function(t){if(!$(e,t))throw new Error("[tippy]: `".concat(t,"` is not a valid option"))}))}function rt(t,e){t.innerHTML=e instanceof Element?e.innerHTML:e}function it(t,e){e.content instanceof Element?(rt(t,""),t.appendChild(e.content)):"function"!=typeof e.content&&(t[e.allowHTML?"innerHTML":"textContent"]=e.content)}function st(t){return{tooltip:t.querySelector(".tippy-tooltip"),backdrop:t.querySelector(".tippy-backdrop"),content:t.querySelector(".tippy-content"),arrow:t.querySelector(".tippy-arrow")||t.querySelector(".tippy-roundarrow")}}function ot(t){t.setAttribute("data-inertia","")}function at(t){var e=G();return"round"===t?(e.className="tippy-roundarrow",rt(e,'<svg viewBox="0 0 18 7" xmlns="http://www.w3.org/2000/svg"><path d="M0 7s2.021-.015 5.253-4.218C6.584 1.051 7.797.007 9 0c1.203-.007 2.416 1.035 3.761 2.782C16.012 7.005 18 7 18 7H0z"/></svg>')):e.className="tippy-arrow",e}function lt(){var t=G();return t.className="tippy-backdrop",t.setAttribute("data-state","hidden"),t}function ct(t,e){t.setAttribute("tabindex","-1"),e.setAttribute("data-interactive","")}function ut(t,e,n){var r=A&&void 0!==document.body.style.webkitTransition?"webkitTransitionEnd":"transitionend";t[e+"EventListener"](r,n)}function ht(t){var e=t.getAttribute(L);return e?e.split("-")[0]:""}function pt(t,e,n){n.split(" ").forEach((function(n){t.classList[e](n+"-theme")}))}function dt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.checkHideOnClick,n=t.exclude,r=t.duration;P(document.querySelectorAll(z)).forEach((function(t){var i=t._tippy;!i||e&&!0!==i.props.hideOnClick||n&&t===n.popper||i.hide(r)}))}var ft=!1;function mt(){ft||(ft=!0,I&&document.body.classList.add(V),window.performance&&document.addEventListener("mousemove",gt))}var yt=0;function gt(){var t=performance.now();t-yt<20&&(ft=!1,document.removeEventListener("mousemove",gt),I||document.body.classList.remove(V)),yt=t}function bt(t){if(!(t.target instanceof Element))return dt();var e=F(t.target,z);if(!(e&&e._tippy&&e._tippy.props.interactive)){var n=j(t.target,(function(t){return t._tippy&&t._tippy.reference===t}));if(n){var r=n._tippy;if(r){var i=Z(r.props.trigger||"","click");if(ft||i)return dt({exclude:r,checkHideOnClick:!0});if(!0!==r.props.hideOnClick||i)return;r.clearDelayTimeouts()}}dt({checkHideOnClick:!0})}}function vt(){var t=document.activeElement;t&&t.blur&&t._tippy&&t.blur()}var _t=1;var wt=!1;function xt(t,e){nt(e||{},O),wt||(document.addEventListener("click",bt,!0),document.addEventListener("touchstart",mt,R),window.addEventListener("blur",vt),wt=!0);var n,r=S({},O,e);"[object Object]"!=={}.toString.call(n=t)||n.addEventListener||function(t){var e={isVirtual:!0,attributes:t.attributes||{},setAttribute:function(e,n){t.attributes[e]=n},getAttribute:function(e){return t.attributes[e]},removeAttribute:function(e){delete t.attributes[e]},hasAttribute:function(e){return e in t.attributes},addEventListener:function(){},removeEventListener:function(){},classList:{classNames:{},add:function(e){t.classList.classNames[e]=!0},remove:function(e){delete t.classList.classNames[e]},contains:function(e){return e in t.classList.classNames}}};for(var n in e)t[n]=e[n]}(t);var i=function(t){if(Y(t))return[t];if(t instanceof NodeList)return P(t);if(Array.isArray(t))return t;try{return P(document.querySelectorAll(t))}catch(t){return[]}}(t).reduce((function(t,e){var n=e&&function t(e,n){var r,i,s,o,a,l=et(e,n);if(!l.multiple&&e._tippy)return null;var c,u,h,p,d=!1,f=!1,m=[],y=l.interactiveDebounce>0?W(Y,l.interactiveDebounce):Y,g=_t++,b=function(t,e){var n=G();n.className="tippy-popper",n.id="tippy-".concat(t),n.style.zIndex=""+e.zIndex,e.role&&n.setAttribute("role",e.role);var r=G();r.className="tippy-tooltip",r.style.maxWidth=e.maxWidth+("number"==typeof e.maxWidth?"px":""),r.setAttribute("data-size",e.size),r.setAttribute("data-animation",e.animation),r.setAttribute("data-state","hidden"),pt(r,"add",e.theme);var i=G();return i.className="tippy-content",i.setAttribute("data-state","hidden"),e.interactive&&ct(n,r),e.arrow&&r.appendChild(at(e.arrowType)),e.animateFill&&(r.appendChild(lt()),r.setAttribute("data-animatefill","")),e.inertia&&ot(r),it(i,e),r.appendChild(i),n.appendChild(r),n}(g,l),v={id:g,reference:e,popper:b,popperChildren:st(b),popperInstance:null,props:l,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},clearDelayTimeouts:xt,set:Et,setContent:function(t){Et({content:t})},show:St,hide:kt,enable:function(){v.state.isEnabled=!0},disable:function(){v.state.isEnabled=!1},destroy:function(t){v.state.isDestroyed||(v.state.isMounted&&kt(0),D(),delete v.reference._tippy,v.props.target&&t&&P(v.reference.querySelectorAll(v.props.target)).forEach((function(t){t._tippy&&t._tippy.destroy()})),v.popperInstance&&v.popperInstance.destroy(),v.state.isDestroyed=!0)}};return e._tippy=v,b._tippy=v,I(),l.lazy||(bt(),v.popperInstance.disableEventListeners()),l.showOnInit&&vt(),l.a11y&&!l.target&&(p=e)instanceof Element&&(!M.call(p,"a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]")||p.hasAttribute("disabled"))&&e.setAttribute("tabindex","0"),b.addEventListener("mouseenter",(function(t){v.props.interactive&&v.state.isVisible&&"mouseenter"===r&&vt(t)})),b.addEventListener("mouseleave",(function(){v.props.interactive&&"mouseenter"===r&&document.addEventListener("mousemove",y)})),v;function _(){document.removeEventListener("mousemove",V)}function w(){document.body.removeEventListener("mouseleave",wt),document.removeEventListener("mousemove",y)}function x(){return[v.popperChildren.tooltip,v.popperChildren.backdrop,v.popperChildren.content]}function k(){return v.props.followCursor&&!ft&&"focus"!==r}function T(t,e){var n=v.popperChildren.tooltip;function r(t){t.target===n&&(ut(n,"remove",r),e())}if(0===t)return e();ut(n,"remove",h),ut(n,"add",r),h=r}function A(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];v.reference.addEventListener(t,e,n),m.push({eventType:t,handler:e,options:n})}function I(){v.props.touchHold&&!v.props.target&&(A("touchstart",q,R),A("touchend",rt,R)),v.props.trigger.trim().split(" ").forEach((function(t){if("manual"!==t)if(v.props.target)switch(t){case"mouseenter":A("mouseover",mt),A("mouseout",yt);break;case"focus":A("focusin",mt),A("focusout",yt);break;case"click":A(t,mt)}else switch(A(t,q),t){case"mouseenter":A("mouseleave",rt);break;case"focus":A(C?"focusout":"blur",dt)}}))}function D(){m.forEach((function(t){v.reference.removeEventListener(t.eventType,t.handler,t.options)})),m=[]}function V(t){var e=i=t,n=e.clientX,r=e.clientY;if(v.popperInstance){var s=ht(v.popper),o=v.props.arrow?4+("round"===v.props.arrowType?18:16):4,a=Z(["top","bottom"],s),l=Z(["left","right"],s),c=a?Math.max(o,n):n,u=l?Math.max(o,r):r;a&&c>o&&(c=Math.min(n,window.innerWidth-o)),l&&u>o&&(u=Math.min(r,window.innerHeight-o));var h=v.reference.getBoundingClientRect(),p=v.props.followCursor,d="horizontal"===p,f="vertical"===p;v.popperInstance.reference=S({},v.popperInstance.reference,{getBoundingClientRect:function(){return{width:0,height:0,top:d?h.top:u,bottom:d?h.bottom:u,left:f?h.left:c,right:f?h.right:c}},clientWidth:0,clientHeight:0}),v.popperInstance.scheduleUpdate(),"initial"===p&&v.state.isVisible&&_()}}function q(t){v.state.isEnabled&&!gt(t)&&(v.state.isVisible||(r=t.type,t instanceof MouseEvent&&(i=t)),"click"===t.type&&!1!==v.props.hideOnClick&&v.state.isVisible?wt():vt(t))}function Y(t){var e=j(t.target,(function(t){return t._tippy}));F(t.target,z)===v.popper||e===v.reference||function(t,e,n,r){if(!t)return!0;var i=n.clientX,s=n.clientY,o=r.interactiveBorder,a=r.distance;return e.top-s>("top"===t?o+a:o)||s-e.bottom>("bottom"===t?o+a:o)||e.left-i>("left"===t?o+a:o)||i-e.right>("right"===t?o+a:o)}(ht(v.popper),v.popper.getBoundingClientRect(),t,v.props)&&(w(),wt())}function rt(t){if(!gt(t))return v.props.interactive?(document.body.addEventListener("mouseleave",wt),void document.addEventListener("mousemove",y)):void wt()}function dt(t){t.target===v.reference&&(v.props.interactive&&t.relatedTarget&&v.popper.contains(t.relatedTarget)||wt())}function mt(t){F(t.target,v.props.target)&&vt(t)}function yt(t){F(t.target,v.props.target)&&wt()}function gt(t){var e="ontouchstart"in window,n=Z(t.type,"touch"),r=v.props.touchHold;return e&&ft&&r&&!n||ft&&!r&&n}function bt(){var t=v.props.popperOptions,e=v.popperChildren,n=e.tooltip,r=e.arrow,i=U(t,"preventOverflow");function s(t){v.props.flip&&!v.props.flipOnUpdate&&(t.flipped&&(v.popperInstance.options.placement=t.placement),X(v.popperInstance.modifiers,!1)),n.setAttribute(L,t.placement),!1!==t.attributes[H]?n.setAttribute(H,""):n.removeAttribute(H),u&&u!==t.placement&&f&&(n.style.transition="none",requestAnimationFrame((function(){n.style.transition=""}))),u=t.placement,f=v.state.isVisible;var e=ht(v.popper),r=n.style;r.top=r.bottom=r.left=r.right="",r[e]=-(v.props.distance-10)+"px";var s=i&&void 0!==i.padding?i.padding:4,o="number"==typeof s,a=S({top:o?s:s.top,bottom:o?s:s.bottom,left:o?s:s.left,right:o?s:s.right},!o&&s);a[e]=o?s+v.props.distance:(s[e]||0)+v.props.distance,v.popperInstance.modifiers.filter((function(t){return"preventOverflow"===t.name}))[0].padding=a}var o=S({placement:v.props.placement},t,{modifiers:S({},t?t.modifiers:{},{preventOverflow:S({boundariesElement:v.props.boundary,padding:4},i),arrow:S({element:r,enabled:!!r},U(t,"arrow")),flip:S({enabled:v.props.flip,padding:v.props.distance+4,behavior:v.props.flipBehavior},U(t,"flip")),offset:S({offset:v.props.offset},U(t,"offset"))}),onCreate:function(e){s(e),t&&t.onCreate&&t.onCreate(e)},onUpdate:function(e){s(e),t&&t.onUpdate&&t.onUpdate(e)}});v.popperInstance=new E.a(v.reference,v.popper,o)}function vt(e){if(xt(),!v.state.isVisible){if(v.props.target)return function(e){if(e){var r=F(e.target,v.props.target);r&&!r._tippy&&(t(r,S({},v.props,{content:K(n.content,[r]),appendTo:n.appendTo,target:"",showOnInit:!0})),vt(e))}}(e);if(d=!0,v.props.wait)return v.props.wait(v,e);k()&&!v.state.isMounted&&document.addEventListener("mousemove",V);var r=Q(v.props.delay,0,O.delay);r?s=setTimeout((function(){St()}),r):St()}}function wt(){if(xt(),!v.state.isVisible)return _();d=!1;var t=Q(v.props.delay,1,O.delay);t?o=setTimeout((function(){v.state.isVisible&&kt()}),t):a=requestAnimationFrame((function(){kt()}))}function xt(){clearTimeout(s),clearTimeout(o),cancelAnimationFrame(a)}function Et(t){nt(t=t||{},O);var e=v.props,n=et(v.reference,S({},v.props,t,{ignoreAttributes:!0}));n.ignoreAttributes=$(t,"ignoreAttributes")?t.ignoreAttributes||!1:e.ignoreAttributes,v.props=n,($(t,"trigger")||$(t,"touchHold"))&&(D(),I()),$(t,"interactiveDebounce")&&(w(),y=W(Y,t.interactiveDebounce||0)),function(t,e,n){var r=st(t),i=r.tooltip,s=r.content,o=r.backdrop,a=r.arrow;t.style.zIndex=""+n.zIndex,i.setAttribute("data-size",n.size),i.setAttribute("data-animation",n.animation),i.style.maxWidth=n.maxWidth+("number"==typeof n.maxWidth?"px":""),n.role?t.setAttribute("role",n.role):t.removeAttribute("role"),e.content!==n.content&&it(s,n),!e.animateFill&&n.animateFill?(i.appendChild(lt()),i.setAttribute("data-animatefill","")):e.animateFill&&!n.animateFill&&(i.removeChild(o),i.removeAttribute("data-animatefill")),!e.arrow&&n.arrow?i.appendChild(at(n.arrowType)):e.arrow&&!n.arrow&&i.removeChild(a),e.arrow&&n.arrow&&e.arrowType!==n.arrowType&&i.replaceChild(at(n.arrowType),a),!e.interactive&&n.interactive?ct(t,i):e.interactive&&!n.interactive&&function(t,e){t.removeAttribute("tabindex"),e.removeAttribute("data-interactive")}(t,i),!e.inertia&&n.inertia?ot(i):e.inertia&&!n.inertia&&function(t){t.removeAttribute("data-inertia")}(i),e.theme!==n.theme&&(pt(i,"remove",e.theme),pt(i,"add",n.theme))}(v.popper,e,n),v.popperChildren=st(v.popper),v.popperInstance&&(v.popperInstance.update(),N.some((function(n){return $(t,n)&&t[n]!==e[n]}))&&(v.popperInstance.destroy(),bt(),v.state.isVisible||v.popperInstance.disableEventListeners(),v.props.followCursor&&i&&V(i)))}function St(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Q(v.props.duration,0,O.duration[1]);if(!v.state.isDestroyed&&v.state.isEnabled&&(!ft||v.props.touch)&&!v.reference.hasAttribute("disabled")&&!1!==v.props.onShow(v)){v.popper.style.visibility="visible",v.state.isVisible=!0,v.props.interactive&&v.reference.classList.add(B);var e=x();J(e.concat(v.popper),0),function(t){var e=!(k()||"initial"===v.props.followCursor&&ft);v.popperInstance?(k()||(v.popperInstance.scheduleUpdate(),e&&v.popperInstance.enableEventListeners()),X(v.popperInstance.modifiers,v.props.flip)):(bt(),e||v.popperInstance.disableEventListeners()),v.popperInstance.reference=v.reference;var n=v.popperChildren.arrow;k()?(n&&(n.style.margin="0"),i&&V(i)):n&&(n.style.margin=""),ft&&i&&"initial"===v.props.followCursor&&(V(i),n&&(n.style.margin="0")),function(t,e){var n=t.options,r=n.onCreate,i=n.onUpdate;n.onCreate=n.onUpdate=function(t){e(),i&&i(t),n.onCreate=r,n.onUpdate=i}}(v.popperInstance,t);var r=v.props.appendTo;(c="parent"===r?v.reference.parentNode:K(r,[v.reference])).contains(v.popper)||(c.appendChild(v.popper),v.props.onMount(v),v.state.isMounted=!0)}((function(){v.state.isVisible&&(k()||v.popperInstance.update(),v.popperChildren.backdrop&&(v.popperChildren.content.style.transitionDelay=Math.round(t/12)+"ms"),v.props.sticky&&(J([v.popper],C?0:v.props.updateDuration),function t(){v.popperInstance&&v.popperInstance.scheduleUpdate(),v.state.isMounted?requestAnimationFrame(t):J([v.popper],0)}()),J([v.popper],l.updateDuration),J(e,t),tt(e,"visible"),function(t,e){T(t,(function(){v.props.aria&&v.reference.setAttribute("aria-".concat(v.props.aria),v.popper.id),v.props.onShown(v),v.state.isShown=!0}))}(t))}))}}function kt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Q(v.props.duration,1,O.duration[1]);if(!v.state.isDestroyed&&v.state.isEnabled&&!1!==v.props.onHide(v)){v.popper.style.visibility="hidden",v.state.isVisible=!1,v.state.isShown=!1,f=!1,v.props.interactive&&v.reference.classList.remove(B);var e=x();J(e,t),tt(e,"hidden"),function(t,e){T(t,(function(){!v.state.isVisible&&c&&c.contains(v.popper)&&(d||_(),v.props.aria&&v.reference.removeAttribute("aria-".concat(v.props.aria)),v.popperInstance.disableEventListeners(),v.popperInstance.options.placement=v.props.placement,c.removeChild(v.popper),v.props.onHidden(v),v.state.isMounted=!1)}))}(t)}}}(e,r);return n&&t.push(n),t}),[]);return Y(t)?i[0]:i}xt.version="4.2.1",xt.defaults=O,xt.setDefaults=function(t){Object.keys(t).forEach((function(e){O[e]=t[e]}))},xt.hideAll=dt,xt.group=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.delay,r=void 0===n?t[0].props.delay:n,i=e.duration,s=void 0===i?0:i;if(!t.some((function(t){return $(t,"_originalProps")}))){var o=!1;t.forEach((function(t){t._originalProps=S({},t.props)})),h()}function a(t){o=t,h()}function l(e){e._originalProps.onShow(e),t.forEach((function(t){t.set({duration:s}),t.hide()})),a(!0)}function c(t){t._originalProps.onHide(t),a(!1)}function u(t){t._originalProps.onShown(t),t.set({duration:t._originalProps.duration})}function h(){t.forEach((function(t){t.set({onShow:l,onShown:u,onHide:c,delay:o?[0,Array.isArray(r)?r[1]:r]:r,duration:o?s:t._originalProps.duration})}))}},k&&setTimeout((function(){P(document.querySelectorAll("[data-tippy]")).forEach((function(t){var e=t.getAttribute("data-tippy");e&&xt(t,{content:e})}))})),function(t){if(k){var e=document.createElement("style");e.type="text/css",e.textContent='.tippy-iOS{cursor:pointer!important;-webkit-tap-highlight-color:transparent}.tippy-popper{transition-timing-function:cubic-bezier(.165,.84,.44,1);max-width:calc(100% - 8px);pointer-events:none;outline:0}.tippy-popper[x-placement^=top] .tippy-backdrop{border-radius:40% 40% 0 0}.tippy-popper[x-placement^=top] .tippy-roundarrow{bottom:-7px;bottom:-6.5px;-webkit-transform-origin:50% 0;transform-origin:50% 0;margin:0 3px}.tippy-popper[x-placement^=top] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.tippy-popper[x-placement^=top] .tippy-arrow{border-top:8px solid #333;border-right:8px solid transparent;border-left:8px solid transparent;bottom:-7px;margin:0 3px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-backdrop{-webkit-transform-origin:0 25%;transform-origin:0 25%}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-55%);transform:scale(1) translate(-50%,-55%)}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-50%,-45%);transform:scale(.2) translate(-50%,-45%);opacity:0}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px)}.tippy-popper[x-placement^=top] [data-animation=perspective]{-webkit-transform-origin:bottom;transform-origin:bottom}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=visible]{-webkit-transform:perspective(700px) translateY(-10px) rotateX(0);transform:perspective(700px) translateY(-10px) rotateX(0)}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:perspective(700px) translateY(0) rotateX(60deg);transform:perspective(700px) translateY(0) rotateX(60deg)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=top] [data-animation=scale]{-webkit-transform-origin:bottom;transform-origin:bottom}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=visible]{-webkit-transform:translateY(-10px) scale(1);transform:translateY(-10px) scale(1)}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(-10px) scale(.5);transform:translateY(-10px) scale(.5)}.tippy-popper[x-placement^=bottom] .tippy-backdrop{border-radius:0 0 30% 30%}.tippy-popper[x-placement^=bottom] .tippy-roundarrow{top:-7px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%;margin:0 3px}.tippy-popper[x-placement^=bottom] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(0);transform:rotate(0)}.tippy-popper[x-placement^=bottom] .tippy-arrow{border-bottom:8px solid #333;border-right:8px solid transparent;border-left:8px solid transparent;top:-7px;margin:0 3px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-backdrop{-webkit-transform-origin:0 -50%;transform-origin:0 -50%}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-45%);transform:scale(1) translate(-50%,-45%)}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-50%);transform:scale(.2) translate(-50%);opacity:0}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(20px);transform:translateY(20px)}.tippy-popper[x-placement^=bottom] [data-animation=perspective]{-webkit-transform-origin:top;transform-origin:top}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=visible]{-webkit-transform:perspective(700px) translateY(10px) rotateX(0);transform:perspective(700px) translateY(10px) rotateX(0)}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:perspective(700px) translateY(0) rotateX(-60deg);transform:perspective(700px) translateY(0) rotateX(-60deg)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=bottom] [data-animation=scale]{-webkit-transform-origin:top;transform-origin:top}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=visible]{-webkit-transform:translateY(10px) scale(1);transform:translateY(10px) scale(1)}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(10px) scale(.5);transform:translateY(10px) scale(.5)}.tippy-popper[x-placement^=left] .tippy-backdrop{border-radius:50% 0 0 50%}.tippy-popper[x-placement^=left] .tippy-roundarrow{right:-12px;-webkit-transform-origin:33.33333333% 50%;transform-origin:33.33333333% 50%;margin:3px 0}.tippy-popper[x-placement^=left] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.tippy-popper[x-placement^=left] .tippy-arrow{border-left:8px solid #333;border-top:8px solid transparent;border-bottom:8px solid transparent;right:-7px;margin:3px 0;-webkit-transform-origin:0 50%;transform-origin:0 50%}.tippy-popper[x-placement^=left] .tippy-backdrop{-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-75%,-50%);transform:scale(.2) translate(-75%,-50%);opacity:0}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(-20px);transform:translateX(-20px)}.tippy-popper[x-placement^=left] [data-animation=perspective]{-webkit-transform-origin:right;transform-origin:right}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=visible]{-webkit-transform:perspective(700px) translateX(-10px) rotateY(0);transform:perspective(700px) translateX(-10px) rotateY(0)}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:perspective(700px) translateX(0) rotateY(-60deg);transform:perspective(700px) translateX(0) rotateY(-60deg)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=left] [data-animation=scale]{-webkit-transform-origin:right;transform-origin:right}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=visible]{-webkit-transform:translateX(-10px) scale(1);transform:translateX(-10px) scale(1)}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(-10px) scale(.5);transform:translateX(-10px) scale(.5)}.tippy-popper[x-placement^=right] .tippy-backdrop{border-radius:0 50% 50% 0}.tippy-popper[x-placement^=right] .tippy-roundarrow{left:-12px;-webkit-transform-origin:66.66666666% 50%;transform-origin:66.66666666% 50%;margin:3px 0}.tippy-popper[x-placement^=right] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.tippy-popper[x-placement^=right] .tippy-arrow{border-right:8px solid #333;border-top:8px solid transparent;border-bottom:8px solid transparent;left:-7px;margin:3px 0;-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.tippy-popper[x-placement^=right] .tippy-backdrop{-webkit-transform-origin:-50% 0;transform-origin:-50% 0}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-25%,-50%);transform:scale(.2) translate(-25%,-50%);opacity:0}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(20px);transform:translateX(20px)}.tippy-popper[x-placement^=right] [data-animation=perspective]{-webkit-transform-origin:left;transform-origin:left}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=visible]{-webkit-transform:perspective(700px) translateX(10px) rotateY(0);transform:perspective(700px) translateX(10px) rotateY(0)}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:perspective(700px) translateX(0) rotateY(60deg);transform:perspective(700px) translateX(0) rotateY(60deg)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=right] [data-animation=scale]{-webkit-transform-origin:left;transform-origin:left}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=visible]{-webkit-transform:translateX(10px) scale(1);transform:translateX(10px) scale(1)}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(10px) scale(.5);transform:translateX(10px) scale(.5)}.tippy-tooltip{position:relative;color:#fff;border-radius:.25rem;font-size:.875rem;padding:.3125rem .5625rem;line-height:1.4;text-align:center;background-color:#333}.tippy-tooltip[data-size=small]{padding:.1875rem .375rem;font-size:.75rem}.tippy-tooltip[data-size=large]{padding:.375rem .75rem;font-size:1rem}.tippy-tooltip[data-animatefill]{overflow:hidden;background-color:transparent}.tippy-tooltip[data-interactive],.tippy-tooltip[data-interactive] path{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-tooltip[data-inertia][data-state=hidden]{transition-timing-function:ease}.tippy-arrow,.tippy-roundarrow{position:absolute;width:0;height:0}.tippy-roundarrow{width:18px;height:7px;fill:#333;pointer-events:none}.tippy-backdrop{position:absolute;background-color:#333;border-radius:50%;width:calc(110% + 2rem);left:50%;top:50%;z-index:-1;transition:all cubic-bezier(.46,.1,.52,.98);-webkit-backface-visibility:hidden;backface-visibility:hidden}.tippy-backdrop:after{content:"";float:left;padding-top:100%}.tippy-backdrop+.tippy-content{transition-property:opacity;will-change:opacity}.tippy-backdrop+.tippy-content[data-state=visible]{opacity:1}.tippy-backdrop+.tippy-content[data-state=hidden]{opacity:0}';var n=document.head,r=n.firstChild;r?n.insertBefore(e,r):n.appendChild(e)}}();var Et=xt;function St(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.createElementNS("http://www.w3.org/2000/svg",t);for(var r in e)e.hasOwnProperty(r)&&n.setAttribute(r,e[r]);return n}function kt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;e=e||document.body;var n=t.cloneNode(!0);e.appendChild(n);var r=n.getBoundingClientRect();return e.removeChild(n),r}function Tt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ct(t,e){var n=t.getBoundingClientRect(),r={padding:15,data:[],reversed:!1,orientation:"horizontal",select:function(t){},verticalTextTopDown:!1},i=St("svg",{class:"chart"});t.appendChild(i);var s=function(t,e){var n=function(t){for(var e=[],n=0;n<t.length;n++){for(var r=0,i=0;i<t[n].data.length;i++)r+=Number(t[n].data[i].value);e.push({line:t[n],sum:r})}var s=e.sort((function(t,e){return t.sum-e.sum}));return s[s.length-1]}(r.data);if(n){for(var s="horizontal"===r.orientation,o=s?t:e,a=function(t,e,n){for(var r=0,i=0;i<t.length;i++){var s=St("text");s.innerHTML=t[i];var o=kt(s,n);o[e]>r&&(r=o[e])}return r+10}(r.data.map((function(t){return t.label})),s?"width":"height",i),l=(o-(a+r.padding)-n.line.data.length*r.padding)/n.sum,c=((s?e:t)-(r.data.length-1)*r.padding)/r.data.length,u=St("g"),h=function(t){var e=0,n=r.reversed?o-a:0,h=t*(c+r.padding),p=At(s?n:h,s?h:n,r.data[t].color?r.data[t].color:"#d3d3d3",s?a:c,s?c:a,r.data[t].label,i,void 0,r.verticalTextTopDown,!1,r.data[t].style);u.appendChild(p);for(var d=function(n){var h=r.reversed?o-(e+a+r.padding+r.data[t].data[n].value*l):a+r.padding+e,p=t*(c+r.padding),d=r.data[t].data[n].value*l,f=At(s?h:p,s?p:h,r.data[t].data[n].color,s?d:c,s?c:d,r.data[t].data[n].label,i,r.data[t].data[n].tooltip,r.verticalTextTopDown,!0,r.data[t].data[n].style);f.addEventListener("click",(function(){return r.select(r.data[t].data[n])})),u.appendChild(f),e+=r.data[t].data[n].value*l+r.padding},f=0;f<r.data[t].data.length;f++)d(f)},p=0;p<r.data.length;p++)h(p);for(i.setAttribute("height",e.toString());i.firstChild;)i.firstChild.remove();i.appendChild(u)}};function o(e){r=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){Tt(t,e,n[e])}))}return t}({},r,e);var n=t.getBoundingClientRect();s(n.width,n.height)}o(e);var a=n.height===t.getBoundingClientRect().height;return new x.ResizeSensor(t,(function(t){t.height&&t.width&&s(t.width,a?t.height:i.getBoundingClientRect().height)})),o}function At(t,e,n,r,i,s,o){var a=arguments.length>7&&void 0!==arguments[7]?arguments[7]:s,l=arguments.length>8?arguments[8]:void 0,c=!(arguments.length>9&&void 0!==arguments[9])||arguments[9],u=arguments.length>10&&void 0!==arguments[10]?arguments[10]:"",h=St("g",{transform:"translate(".concat(t,",").concat(e,")")});h.appendChild(St("rect",{width:r,height:i,style:"fill: ".concat(n,";"),class:"bar",rx:3,ry:3}));var p=St("text",{x:r/2,y:i/2,class:"bar-text","dominant-baseline":"middle","text-anchor":"middle",fill:new w(n).isLight()?"black":"white",style:u});p.innerHTML="".concat(s);var d=kt(p,o);return d.width<r?h.appendChild(p):d.width<i&&(p.setAttribute("transform","rotate(".concat(l?"":"-","90, ").concat(r/2,", ").concat(i/2,")")),h.appendChild(p)),c&&a&&Et(h,{content:a,arrow:!0,interactive:!0,followCursor:"horizontal",theme:"light-border"}),h}n.d(e,"generateContainerChart",(function(){return Ct}))}])},zUnb:function(t,e,n){"use strict";function r(t){return"function"==typeof t}n.r(e);let i=!1;const s={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=t},get useDeprecatedSynchronousErrorHandling(){return i}};function o(t){setTimeout(()=>{throw t},0)}const a={closed:!0,next(t){},error(t){if(s.useDeprecatedSynchronousErrorHandling)throw t;o(t)},complete(){}},l=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))();function c(t){return null!==t&&"object"==typeof t}const u=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();let h=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:i,_unsubscribe:s,_subscriptions:o}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(let t=0;t<n.length;++t)n[t].remove(this);if(r(s)){i&&(this._unsubscribe=void 0);try{s.call(this)}catch(a){e=a instanceof u?p(a.errors):[a]}}if(l(o)){let t=-1,n=o.length;for(;++t<n;){const n=o[t];if(c(n))try{n.unsubscribe()}catch(a){e=e||[],a instanceof u?e=e.concat(p(a.errors)):e.push(a)}}}if(e)throw new u(e)}add(e){let n=e;if(!e)return t.EMPTY;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){const e=n;n=new t,n._subscriptions=[e]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}let{_parentOrParents:r}=n;if(null===r)n._parentOrParents=this;else if(r instanceof t){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}const i=this._subscriptions;return null===i?this._subscriptions=[n]:i.push(n),n}remove(t){const e=this._subscriptions;if(e){const n=e.indexOf(t);-1!==n&&e.splice(n,1)}}}return t.EMPTY=function(t){return t.closed=!0,t}(new t),t})();function p(t){return t.reduce((t,e)=>t.concat(e instanceof u?e.errors:e),[])}const d=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class f extends h{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a;break;case 1:if(!t){this.destination=a;break}if("object"==typeof t){t instanceof f?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new m(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new m(this,t,e,n)}}[d](){return this}static create(t,e,n){const r=new f(t,e,n);return r.syncErrorThrowable=!1,r}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class m extends f{constructor(t,e,n,i){let s;super(),this._parentSubscriber=t;let o=this;r(e)?s=e:e&&(s=e.next,n=e.error,i=e.complete,e!==a&&(o=Object.create(e),r(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=s,this._error=n,this._complete=i}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;s.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=s;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):o(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;o(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);s.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),s.useDeprecatedSynchronousErrorHandling)throw n;o(n)}}__tryOrSetError(t,e,n){if(!s.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return s.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(o(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const y=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function g(t){return t}let b=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:r}=this,i=function(t,e,n){if(t){if(t instanceof f)return t;if(t[d])return t[d]()}return t||e||n?new f(t,e,n):new f(a)}(t,e,n);if(i.add(r?r.call(i,this.source):this.source||s.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),s.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i}_trySubscribe(t){try{return this._subscribe(t)}catch(e){s.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:r}=t;if(e||r)return!1;t=n&&n instanceof f?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=v(e))((e,n)=>{let r;r=this.subscribe(e=>{try{t(e)}catch(i){n(i),r&&r.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[y](){return this}pipe(...t){return 0===t.length?this:(0===(e=t).length?g:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}toPromise(t){return new(t=v(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function v(t){if(t||(t=s.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const _=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class w extends h{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}class x extends f{constructor(t){super(t),this.destination=t}}let E=(()=>{class t extends b{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[d](){return new x(this)}lift(t){const e=new S(this,this);return e.operator=t,e}next(t){if(this.closed)throw new _;if(!this.isStopped){const{observers:e}=this,n=e.length,r=e.slice();for(let i=0;i<n;i++)r[i].next(t)}}error(t){if(this.closed)throw new _;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:e}=this,n=e.length,r=e.slice();for(let i=0;i<n;i++)r[i].error(t);this.observers.length=0}complete(){if(this.closed)throw new _;this.isStopped=!0;const{observers:t}=this,e=t.length,n=t.slice();for(let r=0;r<e;r++)n[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new _;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new _;return this.hasError?(t.error(this.thrownError),h.EMPTY):this.isStopped?(t.complete(),h.EMPTY):(this.observers.push(t),new w(this,t))}asObservable(){const t=new b;return t.source=this,t}}return t.create=(t,e)=>new S(t,e),t})();class S extends E{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):h.EMPTY}}function k(t){return t&&"function"==typeof t.schedule}function T(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new C(t,e))}}class C{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new A(t,this.project,this.thisArg))}}class A extends f{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}const I=t=>e=>{for(let n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.complete()};function O(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const N=O(),D=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function M(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const P=t=>{if(t&&"function"==typeof t[y])return r=t,t=>{const e=r[y]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(D(t))return I(t);if(M(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,o),t);if(t&&"function"==typeof t[N])return e=t,t=>{const n=e[N]();for(;;){let e;try{e=n.next()}catch(r){return t.error(r),t}if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t};{const e=c(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,n,r};function F(t,e){return new b(n=>{const r=new h;let i=0;return r.add(e.schedule((function(){i!==t.length?(n.next(t[i++]),n.closed||r.add(this.schedule())):n.complete()}))),r})}function j(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[y]}(t))return function(t,e){return new b(n=>{const r=new h;return r.add(e.schedule(()=>{const i=t[y]();r.add(i.subscribe({next(t){r.add(e.schedule(()=>n.next(t)))},error(t){r.add(e.schedule(()=>n.error(t)))},complete(){r.add(e.schedule(()=>n.complete()))}}))})),r})}(t,e);if(M(t))return function(t,e){return new b(n=>{const r=new h;return r.add(e.schedule(()=>t.then(t=>{r.add(e.schedule(()=>{n.next(t),r.add(e.schedule(()=>n.complete()))}))},t=>{r.add(e.schedule(()=>n.error(t)))}))),r})}(t,e);if(D(t))return F(t,e);if(function(t){return t&&"function"==typeof t[N]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new b(n=>{const r=new h;let i;return r.add(()=>{i&&"function"==typeof i.return&&i.return()}),r.add(e.schedule(()=>{i=t[N](),r.add(e.schedule((function(){if(n.closed)return;let t,e;try{const n=i.next();t=n.value,e=n.done}catch(r){return void n.error(r)}e?n.complete():(n.next(t),this.schedule())})))})),r})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof b?t:new b(P(t))}class R extends f{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class L extends f{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function H(t,e){if(!e.closed)return t instanceof b?t.subscribe(e):P(t)(e)}class V{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new B(t,this.project,this.concurrent))}}class B extends L{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}_tryNext(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(e)}_innerSub(t){const e=new R(this),n=this.destination;n.add(e);const r=H(t,e);r!==e&&n.add(r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t){this.destination.next(t)}notifyComplete(){const t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function z(t,e){return e?F(t,e):new b(I(t))}function q(...t){let e=Number.POSITIVE_INFINITY,n=null,r=t[t.length-1];return k(r)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof r&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof b?t[0]:function(t=Number.POSITIVE_INFINITY){return function t(e,n,r=Number.POSITIVE_INFINITY){return"function"==typeof n?i=>i.pipe(t((t,r)=>j(e(t,r)).pipe(T((e,i)=>n(t,e,r,i))),r)):("number"==typeof n&&(r=n),t=>t.lift(new V(e,r)))}(g,t)}(e)(z(t,n))}function $(){return function(t){return t.lift(new Q(t))}}class Q{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const r=new W(t,n),i=e.subscribe(r);return r.closed||(r.connection=n.connect()),i}}class W extends f{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}class U extends b{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new h,t.add(this.source.subscribe(new Y(this.getSubject(),this))),t.closed&&(this._connection=null,t=h.EMPTY)),t}refCount(){return $()(this)}}const Z=(()=>{const t=U.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class Y extends x{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function K(){return new E}function X(t){return{toString:t}.toString()}const G="__parameters__";function J(t,e,n){return X(()=>{const r=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function i(...t){if(this instanceof i)return r.apply(this,t),this;const e=new i(...t);return n.annotation=e,n;function n(t,n,r){const i=t.hasOwnProperty(G)?t[G]:Object.defineProperty(t,G,{value:[]})[G];for(;i.length<=r;)i.push(null);return(i[r]=i[r]||[]).push(e),t}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}const tt=J("Inject",t=>({token:t})),et=J("Optional"),nt=J("Self"),rt=J("SkipSelf");var it=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});function st(t){for(let e in t)if(t[e]===st)return e;throw Error("Could not find renamed property on target object.")}function ot(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function at(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function lt(t){return ct(t,t[ht])||ct(t,t[ft])}function ct(t,e){return e&&e.token===t?e:null}function ut(t){return t&&(t.hasOwnProperty(pt)||t.hasOwnProperty(mt))?t[pt]:null}const ht=st({"\u0275prov":st}),pt=st({"\u0275inj":st}),dt=st({"\u0275provFallback":st}),ft=st({ngInjectableDef:st}),mt=st({ngInjectorDef:st});function yt(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(yt).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function gt(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const bt=st({__forward_ref__:st});function vt(t){return t.__forward_ref__=vt,t.toString=function(){return yt(this())},t}function _t(t){return"function"==typeof(e=t)&&e.hasOwnProperty(bt)&&e.__forward_ref__===vt?t():t;var e}const wt="undefined"!=typeof globalThis&&globalThis,xt="undefined"!=typeof window&&window,Et="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,St="undefined"!=typeof global&&global,kt=wt||St||xt||Et,Tt=st({"\u0275cmp":st}),Ct=st({"\u0275dir":st}),At=st({"\u0275pipe":st}),It=st({"\u0275mod":st}),Ot=st({"\u0275loc":st}),Nt=st({"\u0275fac":st}),Dt=st({__NG_ELEMENT_ID__:st});class Mt{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=ot({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return"InjectionToken "+this._desc}}const Pt=new Mt("INJECTOR",-1),Ft={},jt=/\n/gm,Rt="__source",Lt=st({provide:String,useValue:st});let Ht,Vt=void 0;function Bt(t){const e=Vt;return Vt=t,e}function zt(t){const e=Ht;return Ht=t,e}function qt(t,e=it.Default){if(void 0===Vt)throw new Error("inject() must be called from an injection context");return null===Vt?Qt(t,void 0,e):Vt.get(t,e&it.Optional?null:void 0,e)}function $t(t,e=it.Default){return(Ht||qt)(_t(t),e)}function Qt(t,e,n){const r=lt(t);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&it.Optional)return null;if(void 0!==e)return e;throw new Error(`Injector: NOT_FOUND [${yt(t)}]`)}function Wt(t){const e=[];for(let n=0;n<t.length;n++){const r=_t(t[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let t=void 0,n=it.Default;for(let e=0;e<r.length;e++){const i=r[e];i instanceof et||"Optional"===i.ngMetadataName||i===et?n|=it.Optional:i instanceof rt||"SkipSelf"===i.ngMetadataName||i===rt?n|=it.SkipSelf:i instanceof nt||"Self"===i.ngMetadataName||i===nt?n|=it.Self:t=i instanceof tt||i===tt?i.token:i}e.push($t(t,n))}else e.push($t(r))}return e}class Ut{get(t,e=Ft){if(e===Ft){const e=new Error(`NullInjectorError: No provider for ${yt(t)}!`);throw e.name="NullInjectorError",e}return e}}class Zt{}function Yt(t,e){t.forEach(t=>Array.isArray(t)?Yt(t,e):e(t))}function Kt(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Xt(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}var Gt=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),Jt=function(t){return t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});const te={},ee=[];let ne=0;function re(t){return le(t)||function(t){return t[Ct]||null}(t)}function ie(t){return function(t){return t[At]||null}(t)}const se={};function oe(t){const e={type:t.type,bootstrap:t.bootstrap||ee,declarations:t.declarations||ee,imports:t.imports||ee,exports:t.exports||ee,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&X(()=>{se[t.id]=t.type}),e}function ae(t,e){if(null==t)return te;const n={};for(const r in t)if(t.hasOwnProperty(r)){let i=t[r],s=i;Array.isArray(i)&&(s=i[1],i=i[0]),n[i]=r,e&&(e[i]=s)}return n}function le(t){return t[Tt]||null}function ce(t,e){return t.hasOwnProperty(Nt)?t[Nt]:null}function ue(t,e){const n=t[It]||null;if(!n&&!0===e)throw new Error(`Type ${yt(t)} does not have '\u0275mod' property.`);return n}const he=20,pe=10;function de(t){return Array.isArray(t)&&"object"==typeof t[1]}function fe(t){return Array.isArray(t)&&!0===t[1]}function me(t){return 0!=(8&t.flags)}function ye(t){return null!==t.template}function ge(t){return 0!=(512&t[2])}class be{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function ve(){return _e}function _e(t){return t.type.prototype.ngOnChanges&&(t.setInput=xe),we}function we(){const t=Ee(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===te)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function xe(t,e,n,r){const i=Ee(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:te,current:null}),s=i.current||(i.current={}),o=i.previous,a=this.declaredInputs[n],l=o[a];s[a]=new be(l&&l.currentValue,e,o===te),t[r]=e}function Ee(t){return t.__ngSimpleChanges__||null}ve.ngInherit=!0;let Se=void 0;function ke(t){return!!t.listen}const Te={createRenderer:(t,e)=>void 0!==Se?Se:"undefined"!=typeof document?document:void 0};function Ce(t){for(;Array.isArray(t);)t=t[0];return t}function Ae(t,e){return Ce(e[t.index])}function Ie(t,e){const n=e[t];return de(n)?n:n[0]}function Oe(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Ne(t){return 4==(4&t[2])}function De(t){return 128==(128&t[2])}function Me(t,e){return null===t||null==e?null:t[e]}function Pe(t){t[18]=0}function Fe(t,e){t[5]+=e;let n=t,r=t[3];for(;null!==r&&(1===e&&1===n[5]||-1===e&&0===n[5]);)r[5]+=e,n=r,r=r[3]}const je={lFrame:Ge(null),bindingsEnabled:!0,checkNoChangesMode:!1};function Re(){return je.bindingsEnabled}function Le(){return je.lFrame.lView}function He(){return je.lFrame.tView}function Ve(){return je.lFrame.previousOrParentTNode}function Be(t,e){je.lFrame.previousOrParentTNode=t,je.lFrame.isParent=e}function ze(){return je.lFrame.isParent}function qe(){return je.checkNoChangesMode}function $e(t){je.checkNoChangesMode=t}function Qe(t,e){const n=je.lFrame;n.bindingIndex=n.bindingRootIndex=t,We(e)}function We(t){je.lFrame.currentDirectiveIndex=t}function Ue(){return je.lFrame.currentQueryIndex}function Ze(t){je.lFrame.currentQueryIndex=t}function Ye(t,e){const n=Xe();je.lFrame=n,n.previousOrParentTNode=e,n.lView=t}function Ke(t,e){const n=Xe(),r=t[1];je.lFrame=n,n.previousOrParentTNode=e,n.lView=t,n.tView=r,n.contextLView=t,n.bindingIndex=r.bindingStartIndex}function Xe(){const t=je.lFrame,e=null===t?null:t.child;return null===e?Ge(t):e}function Ge(t){const e={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null};return null!==t&&(t.child=e),e}function Je(){const t=je.lFrame;return je.lFrame=t.parent,t.previousOrParentTNode=null,t.lView=null,t}const tn=Je;function en(){const t=Je();t.isParent=!0,t.tView=null,t.selectedIndex=0,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function nn(t){je.lFrame.selectedIndex=t}function rn(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){const e=t.data[n].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:i,ngAfterViewInit:s,ngAfterViewChecked:o,ngOnDestroy:a}=e;r&&(t.contentHooks||(t.contentHooks=[])).push(-n,r),i&&((t.contentHooks||(t.contentHooks=[])).push(n,i),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,i)),s&&(t.viewHooks||(t.viewHooks=[])).push(-n,s),o&&((t.viewHooks||(t.viewHooks=[])).push(n,o),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,o)),null!=a&&(t.destroyHooks||(t.destroyHooks=[])).push(n,a)}}function sn(t,e,n){ln(t,e,3,n)}function on(t,e,n,r){(3&t[2])===n&&ln(t,e,n,r)}function an(t,e){let n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function ln(t,e,n,r){const i=null!=r?r:-1;let s=0;for(let o=void 0!==r?65535&t[18]:0;o<e.length;o++)if("number"==typeof e[o+1]){if(s=e[o],null!=r&&s>=r)break}else e[o]<0&&(t[18]+=65536),(s<i||-1==i)&&(cn(t,n,e,o),t[18]=(4294901760&t[18])+o+2),o++}function cn(t,e,n,r){const i=n[r]<0,s=n[r+1],o=t[i?-n[r]:n[r]];i?t[2]>>11<t[18]>>16&&(3&t[2])===e&&(t[2]+=2048,s.call(o)):s.call(o)}class un{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function hn(t,e,n){const r=ke(t);let i=0;for(;i<n.length;){const s=n[i];if("number"==typeof s){if(0!==s)break;i++;const o=n[i++],a=n[i++],l=n[i++];r?t.setAttribute(e,a,l,o):e.setAttributeNS(o,a,l)}else{const o=s,a=n[++i];64===o.charCodeAt(0)?r&&t.setProperty(e,o,a):r?t.setAttribute(e,o,a):e.setAttribute(o,a),i++}}return i}function pn(t,e){if(null===e||0===e.length);else if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let r=0;r<e.length;r++){const i=e[r];"number"==typeof i?n=i:0===n||dn(t,n,i,null,-1===n||2===n?e[++r]:null)}}return t}function dn(t,e,n,r,i){let s=0,o=t.length;if(-1===e)o=-1;else for(;s<t.length;){const n=t[s++];if("number"==typeof n){if(n===e){o=-1;break}if(n>e){o=s-1;break}}}for(;s<t.length;){const e=t[s];if("number"==typeof e)break;if(e===n){if(null===r)return void(null!==i&&(t[s+1]=i));if(r===t[s+1])return void(t[s+2]=i)}s++,null!==r&&s++,null!==i&&s++}-1!==o&&(t.splice(o,0,e),s=o+1),t.splice(s++,0,n),null!==r&&t.splice(s++,0,r),null!==i&&t.splice(s++,0,i)}function fn(t){return-1!==t}function mn(t){return 32767&t}function yn(t){return t>>16}function gn(t,e){let n=yn(t),r=e;for(;n>0;)r=r[15],n--;return r}function bn(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():function(t){return"string"==typeof t?t:null==t?"":""+t}(t)}const vn=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(kt))();function _n(t){return t instanceof Function?t():t}let wn=!0;function xn(t){const e=wn;return wn=t,e}let En=0;function Sn(t,e){const n=Tn(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,kn(r.data,t),kn(e,null),kn(r.blueprint,null));const i=Cn(t,e),s=t.injectorIndex;if(fn(i)){const t=mn(i),n=gn(i,e),r=n[1].data;for(let i=0;i<8;i++)e[s+i]=n[t+i]|r[t+i]}return e[s+8]=i,s}function kn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Tn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null==e[t.injectorIndex+8]?-1:t.injectorIndex}function Cn(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=e[6],r=1;for(;n&&-1===n.injectorIndex;)n=(e=e[15])?e[6]:null,r++;return n?n.injectorIndex|r<<16:-1}function An(t,e,n){!function(t,e,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Dt)&&(r=n[Dt]),null==r&&(r=n[Dt]=En++);const i=255&r,s=1<<i,o=64&i,a=32&i,l=e.data;128&i?o?a?l[t+7]|=s:l[t+6]|=s:a?l[t+5]|=s:l[t+4]|=s:o?a?l[t+3]|=s:l[t+2]|=s:a?l[t+1]|=s:l[t]|=s}(t,e,n)}const In={};function On(t,e,n,r,i,s){const o=e[1],a=o.data[t+8],l=Nn(a,o,n,null==r?function(t){return 2==(2&t.flags)}(a)&&wn:r!=o&&3===a.type,i&it.Host&&s===a);return null!==l?Dn(e,o,l,a):In}function Nn(t,e,n,r,i){const s=t.providerIndexes,o=e.data,a=1048575&s,l=t.directiveStart,c=s>>20,u=i?a+c:t.directiveEnd;for(let h=r?a:a+c;h<u;h++){const t=o[h];if(h<l&&n===t||h>=l&&t.type===n)return h}if(i){const t=o[l];if(t&&ye(t)&&t.type===n)return l}return null}function Dn(t,e,n,r){let i=t[n];const s=e.data;if(i instanceof un){const o=i;if(o.resolving)throw new Error("Circular dep for "+bn(s[n]));const a=xn(o.canSeeViewProviders);let l;o.resolving=!0,o.injectImpl&&(l=zt(o.injectImpl)),Ye(t,r);try{i=t[n]=o.factory(void 0,s,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=e.type.prototype;if(r){const r=_e(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,i),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s))}(n,s[n],e)}finally{o.injectImpl&&zt(l),xn(a),o.resolving=!1,tn()}}return i}function Mn(t,e,n){const r=64&t,i=32&t;let s;return s=128&t?r?i?n[e+7]:n[e+6]:i?n[e+5]:n[e+4]:r?i?n[e+3]:n[e+2]:i?n[e+1]:n[e],!!(s&1<<t)}function Pn(t,e){return!(t&it.Self||t&it.Host&&e)}class Fn{constructor(t,e){this._tNode=t,this._lView=e}get(t,e){return function(t,e,n,r=it.Default,i){if(null!==t){const i=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(Dt)?t[Dt]:void 0;return"number"==typeof e&&e>0?255&e:e}(n);if("function"==typeof i){Ye(e,t);try{const t=i();if(null!=t||r&it.Optional)return t;throw new Error(`No provider for ${bn(n)}!`)}finally{tn()}}else if("number"==typeof i){if(-1===i)return new Fn(t,e);let s=null,o=Tn(t,e),a=-1,l=r&it.Host?e[16][6]:null;for((-1===o||r&it.SkipSelf)&&(a=-1===o?Cn(t,e):e[o+8],Pn(r,!1)?(s=e[1],o=mn(a),e=gn(a,e)):o=-1);-1!==o;){a=e[o+8];const t=e[1];if(Mn(i,o,t.data)){const t=On(o,e,n,s,r,l);if(t!==In)return t}Pn(r,e[1].data[o+8]===l)&&Mn(i,o,e)?(s=t,o=mn(a),e=gn(a,e)):o=-1}}}if(r&it.Optional&&void 0===i&&(i=null),0==(r&(it.Self|it.Host))){const t=e[9],s=zt(void 0);try{return t?t.get(n,i,r&it.Optional):Qt(n,i,r&it.Optional)}finally{zt(s)}}if(r&it.Optional)return i;throw new Error(`NodeInjector: NOT_FOUND [${bn(n)}]`)}(this._tNode,this._lView,t,void 0,e)}}function jn(t){return t.ngDebugContext}function Rn(t){return t.ngOriginalError}function Ln(t,...e){t.error(...e)}class Hn{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),r=function(t){return t.ngErrorLogger||Ln}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?jn(t)?jn(t):this._findContext(Rn(t)):null}_findOriginalError(t){let e=Rn(t);for(;e&&Rn(e);)e=Rn(e);return e}}let Vn=!0,Bn=!1;function zn(){return Bn=!0,Vn}function qn(t,e){t.__ngContext__=e}function $n(t){throw new Error("Multiple components match node with tagname "+t.tagName)}function Qn(){throw new Error("Cannot mix multi providers and regular providers")}function Wn(t,e,n){let r=t.length;for(;;){const i=t.indexOf(e,n);if(-1===i)return i;if(0===i||t.charCodeAt(i-1)<=32){const n=e.length;if(i+n===r||t.charCodeAt(i+n)<=32)return i}n=i+1}}const Un="ng-template";function Zn(t,e,n){let r=0;for(;r<t.length;){let i=t[r++];if(n&&"class"===i){if(i=t[r],-1!==Wn(i.toLowerCase(),e,0))return!0}else if(1===i){for(;r<t.length&&"string"==typeof(i=t[r++]);)if(i.toLowerCase()===e)return!0;return!1}}return!1}function Yn(t){return 0===t.type&&t.tagName!==Un}function Kn(t,e,n){return e===(0!==t.type||n?t.tagName:Un)}function Xn(t,e,n){let r=4;const i=t.attrs||[],s=function(t){for(let n=0;n<t.length;n++)if(3===(e=t[n])||4===e||6===e)return n;var e;return t.length}(i);let o=!1;for(let a=0;a<e.length;a++){const l=e[a];if("number"!=typeof l){if(!o)if(4&r){if(r=2|1&r,""!==l&&!Kn(t,l,n)||""===l&&1===e.length){if(Gn(r))return!1;o=!0}}else{const c=8&r?l:e[++a];if(8&r&&null!==t.attrs){if(!Zn(t.attrs,c,n)){if(Gn(r))return!1;o=!0}continue}const u=Jn(8&r?"class":l,i,Yn(t),n);if(-1===u){if(Gn(r))return!1;o=!0;continue}if(""!==c){let t;t=u>s?"":i[u+1].toLowerCase();const e=8&r?t:null;if(e&&-1!==Wn(e,c,0)||2&r&&c!==t){if(Gn(r))return!1;o=!0}}}}else{if(!o&&!Gn(r)&&!Gn(l))return!1;if(o&&Gn(l))continue;o=!1,r=l|1&r}}return Gn(r)||o}function Gn(t){return 0==(1&t)}function Jn(t,e,n,r){if(null===e)return-1;let i=0;if(r||!n){let n=!1;for(;i<e.length;){const r=e[i];if(r===t)return i;if(3===r||6===r)n=!0;else{if(1===r||2===r){let t=e[++i];for(;"string"==typeof t;)t=e[++i];continue}if(4===r)break;if(0===r){i+=4;continue}}i+=n?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const r=t[n];if("number"==typeof r)return-1;if(r===e)return n;n++}return-1}(e,t)}function tr(t,e,n=!1){for(let r=0;r<e.length;r++)if(Xn(t,e[r],n))return!0;return!1}function er(t,e){return t?":not("+e.trim()+")":e}function nr(t){let e=t[0],n=1,r=2,i="",s=!1;for(;n<t.length;){let o=t[n];if("string"==typeof o)if(2&r){const e=t[++n];i+="["+o+(e.length>0?'="'+e+'"':"")+"]"}else 8&r?i+="."+o:4&r&&(i+=" "+o);else""===i||Gn(o)||(e+=er(s,i),i=""),r=o,s=s||!Gn(r);n++}return""!==i&&(e+=er(s,i)),e}const rr={};function ir(t){const e=t[3];return fe(e)?e[3]:e}function sr(t){return ar(t[13])}function or(t){return ar(t[4])}function ar(t){for(;null!==t&&!fe(t);)t=t[4];return t}function lr(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],s=n[r+1];if(-1!==s){const n=t.data[s];Ze(i),n.contentQueries(2,e[s],s)}}}function cr(t,e,n){return ke(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function ur(t,e,n,r,i,s,o,a,l,c){const u=e.blueprint.slice();return u[0]=i,u[2]=140|r,Pe(u),u[3]=u[15]=t,u[8]=n,u[10]=o||t&&t[10],u[11]=a||t&&t[11],u[12]=l||t&&t[12]||null,u[9]=c||t&&t[9]||null,u[6]=s,u[16]=2==e.type?t[16]:u,u}function hr(t,e,n,r,i,s){const o=n+he,a=t.data[o]||function(t,e,n,r,i,s){const o=Ve(),a=ze(),l=a?o:o&&o.parent,c=t.data[n]=vr(0,l&&l!==e?l:null,r,n,i,s);return null===t.firstChild&&(t.firstChild=c),o&&(!a||null!=o.child||null===c.parent&&2!==o.type?a||(o.next=c):o.child=c),c}(t,e,o,r,i,s);return Be(a,!0),a}function pr(t,e,n){Ke(e,e[6]);try{const r=t.viewQuery;null!==r&&Rr(1,r,n);const i=t.template;null!==i&&mr(t,e,i,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&lr(t,e),t.staticViewQueries&&Rr(2,t.viewQuery,n);const s=t.components;null!==s&&function(t,e){for(let n=0;n<e.length;n++)Mr(t,e[n])}(e,s)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0),r}finally{e[2]&=-5,en()}}function dr(t,e,n,r){const i=e[2];if(256==(256&i))return;Ke(e,e[6]);const s=qe();try{Pe(e),je.lFrame.bindingIndex=t.bindingStartIndex,null!==n&&mr(t,e,n,2,r);const o=3==(3&i);if(!s)if(o){const n=t.preOrderCheckHooks;null!==n&&sn(e,n,null)}else{const n=t.preOrderHooks;null!==n&&on(e,n,0,null),an(e,0)}if(function(t){for(let e=sr(t);null!==e;e=or(e)){if(!e[2])continue;const t=e[9];for(let e=0;e<t.length;e++){const n=t[e],r=n[3];0==(1024&n[2])&&Fe(r,1),n[2]|=1024}}}(e),function(t){for(let e=sr(t);null!==e;e=or(e))for(let t=pe;t<e.length;t++){const n=e[t],r=n[1];De(n)&&dr(r,n,r.template,n[8])}}(e),null!==t.contentQueries&&lr(t,e),!s)if(o){const n=t.contentCheckHooks;null!==n&&sn(e,n)}else{const n=t.contentHooks;null!==n&&on(e,n,1),an(e,1)}!function(t,e){try{const n=t.expandoInstructions;if(null!==n){let r=t.expandoStartIndex,i=-1,s=-1;for(let t=0;t<n.length;t++){const o=n[t];"number"==typeof o?o<=0?(s=0-o,nn(s),r+=9+n[++t],i=r):r+=o:(null!==o&&(Qe(r,i),o(2,e[i])),i++)}}}finally{nn(-1)}}(t,e);const a=t.components;null!==a&&function(t,e){for(let n=0;n<e.length;n++)Dr(t,e[n])}(e,a);const l=t.viewQuery;if(null!==l&&Rr(2,l,r),!s)if(o){const n=t.viewCheckHooks;null!==n&&sn(e,n)}else{const n=t.viewHooks;null!==n&&on(e,n,2),an(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),s||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,Fe(e[3],-1))}finally{en()}}function fr(t,e,n,r){const i=e[10],s=!qe(),o=Ne(e);try{s&&!o&&i.begin&&i.begin(),o&&pr(t,e,r),dr(t,e,n,r)}finally{s&&!o&&i.end&&i.end()}}function mr(t,e,n,r,i){const s=je.lFrame.selectedIndex;try{nn(-1),2&r&&e.length>he&&function(t,e,n,r){if(!r)if(3==(3&e[2])){const n=t.preOrderCheckHooks;null!==n&&sn(e,n,0)}else{const n=t.preOrderHooks;null!==n&&on(e,n,0,0)}nn(0)}(t,e,0,qe()),n(r,i)}finally{nn(s)}}function yr(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=gr(1,-1,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function gr(t,e,n,r,i,s,o,a,l,c){const u=he+r,h=u+i,p=function(t,e){const n=[];for(let r=0;r<e;r++)n.push(r<t?null:rr);return n}(u,h),d="function"==typeof c?c():c;return p[1]={type:t,id:e,blueprint:p,template:n,queries:null,viewQuery:a,node:null,data:p.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:h,expandoInstructions:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:l,consts:d,incompleteFirstPass:!1}}function br(t,e,n,r){const i=(s=e)[7]||(s[7]=[]);var s;i.push(n),t.firstCreatePass&&function(t){return t.cleanup||(t.cleanup=[])}(t).push(r,i.length-1)}function vr(t,e,n,r,i,s){return{type:n,index:r,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:i,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function _r(t,e,n){for(let r in t)if(t.hasOwnProperty(r)){const i=t[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(e,i):n[r]=[e,i]}return n}function wr(t,e){const n=t.expandoInstructions;n.push(e.hostBindings),0!==e.hostVars&&n.push(e.hostVars)}function xr(t,e,n){for(let r=0;r<n;r++)e.push(rr),t.blueprint.push(rr),t.data.push(null)}function Er(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Sr(t,e,n){const r=he-e.index,i=t.data.length-(1048575&e.providerIndexes);(t.expandoInstructions||(t.expandoInstructions=[])).push(r,i,n)}function kr(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Tr(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;ye(e)&&(n[""]=t)}}function Cr(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function Ar(t,e,n){t.data.push(n);const r=n.factory||(n.factory=ce(n.type)),i=new un(r,ye(n),null);t.blueprint.push(i),e.push(i)}function Ir(t,e,n){const r=Ae(e,t),i=yr(n),s=t[10],o=Pr(t,ur(t,i,null,n.onPush?64:16,r,e,s,s.createRenderer(r,n)));t[e.index]=o}function Or(t,e,n,r,i,s){const o=s[e];if(null!==o){const t=r.setInput;for(let e=0;e<o.length;){const i=o[e++],s=o[e++],a=o[e++];null!==t?r.setInput(n,a,i,s):n[s]=a}}}function Nr(t,e){let n=null,r=0;for(;r<e.length;){const i=e[r];if(0!==i)if(5!==i){if("number"==typeof i)break;t.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,t[i],e[r+1])),r+=2}else r+=2;else r+=4}return n}function Dr(t,e){const n=Ie(e,t);if(De(n)){const t=n[1];80&n[2]?dr(t,n,t.template,n[8]):n[5]>0&&function t(e){for(let r=sr(e);null!==r;r=or(r))for(let e=pe;e<r.length;e++){const n=r[e];if(1024&n[2]){const t=n[1];dr(t,n,t.template,n[8])}else n[5]>0&&t(n)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=Ie(n[r],e);De(i)&&i[5]>0&&t(i)}}(n)}}function Mr(t,e){const n=Ie(e,t),r=n[1];!function(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}(r,n),pr(r,n,n[8])}function Pr(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function Fr(t,e,n){const r=e[10];r.begin&&r.begin();try{dr(t,e,t.template,n)}catch(i){throw function(t,e){const n=t[9],r=n?n.get(Hn,null):null;r&&r.handleError(e)}(e,i),i}finally{r.end&&r.end()}}function jr(t){!function(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],r=Oe(n),i=r[1];fr(i,r,i.template,n)}}(t[8])}function Rr(t,e,n){Ze(0),e(t,n)}const Lr=(()=>Promise.resolve(null))();function Hr(t,e){const n=e[3];return-1===t.index?fe(n)?n:null:n}function Vr(t,e){const n=Hr(t,e);return n?Xr(e[11],n[7]):null}function Br(t,e,n,r,i){if(null!=r){let s,o=!1;fe(r)?s=r:de(r)&&(o=!0,r=r[0]);const a=Ce(r);0===t&&null!==n?null==i?Yr(e,n,a):Zr(e,n,a,i||null):1===t&&null!==n?Zr(e,n,a,i||null):2===t?function(t,e,n){const r=Xr(t,e);r&&function(t,e,n,r){ke(t)?t.removeChild(e,n,r):e.removeChild(n)}(t,r,e,n)}(e,a,o):3===t&&e.destroyNode(a),null!=s&&function(t,e,n,r,i){const s=n[7];s!==Ce(n)&&Br(e,t,r,s,i);for(let o=pe;o<n.length;o++){const i=n[o];ei(i[1],i,t,e,r,s)}}(e,t,s,n,i)}}function zr(t,e,n,r){const i=Vr(t.node,e);i&&ei(t,e,e[11],n?1:2,i,r)}function qr(t,e){const n=t[9],r=n.indexOf(e);1024&e[2]&&Fe(e[3],-1),n.splice(r,1)}function $r(t,e){if(t.length<=pe)return;const n=pe+e,r=t[n];if(r){const i=r[17];null!==i&&i!==t&&qr(i,r),e>0&&(t[n-1][4]=r[4]);const s=Xt(t,pe+e);zr(r[1],r,!1,null);const o=s[19];null!==o&&o.detachView(s[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function Qr(t,e){if(!(256&e[2])){const n=e[11];ke(n)&&n.destroyNode&&ei(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return Ur(t[1],t);for(;e;){let n=null;if(de(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)de(e)&&Ur(e[1],e),e=Wr(e,t);null===e&&(e=t),de(e)&&Ur(e[1],e),n=e&&e[4]}e=n}}(e)}}function Wr(t,e){let n;return de(t)&&(n=t[6])&&2===n.type?Hr(n,t):t[3]===e?null:t[3]}function Ur(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let r=0;r<n.length;r+=2){const t=e[n[r]];if(!(t instanceof un)){const e=n[r+1];if(Array.isArray(e))for(let n=0;n<e.length;n+=2)e[n+1].call(t[e[n]]);else e.call(t)}}}(t,e),function(t,e){const n=t.cleanup;if(null!==n){const t=e[7];for(let r=0;r<n.length-1;r+=2)if("string"==typeof n[r]){const i=n[r+1],s="function"==typeof i?i(e):Ce(e[i]),o=t[n[r+2]],a=n[r+3];"boolean"==typeof a?s.removeEventListener(n[r],o,a):a>=0?t[a]():t[-a].unsubscribe(),r+=2}else n[r].call(t[n[r+1]]);e[7]=null}}(t,e);const n=e[6];n&&3===n.type&&ke(e[11])&&e[11].destroy();const r=e[17];if(null!==r&&fe(e[3])){r!==e[3]&&qr(r,e);const n=e[19];null!==n&&n.detachView(t)}}}function Zr(t,e,n,r){ke(t)?t.insertBefore(e,n,r):e.insertBefore(n,r,!0)}function Yr(t,e,n){ke(t)?t.appendChild(e,n):e.appendChild(n)}function Kr(t,e,n,r){null!==r?Zr(t,e,n,r):Yr(t,e,n)}function Xr(t,e){return ke(t)?t.parentNode(e):e.parentNode}function Gr(t,e,n,r){const i=function(t,e,n){let r=e.parent;for(;null!=r&&(4===r.type||5===r.type);)r=(e=r).parent;if(null==r){const t=n[6];return 2===t.type?Vr(t,n):n[0]}if(e&&5===e.type&&4&e.flags)return Ae(e,n).parentNode;if(2&r.flags){const e=t.data,n=e[e[r.index].directiveStart].encapsulation;if(n!==Jt.ShadowDom&&n!==Jt.Native)return null}return Ae(r,n)}(t,r,e);if(null!=i){const t=e[11],s=function(t,e){if(2===t.type){const n=Hr(t,e);return null===n?null:Jr(n.indexOf(e,pe)-pe,n)}return 4===t.type||5===t.type?Ae(t,e):null}(r.parent||e[6],e);if(Array.isArray(n))for(let e=0;e<n.length;e++)Kr(t,i,n[e],s);else Kr(t,i,n,s)}}function Jr(t,e){const n=pe+t+1;if(n<e.length){const t=e[n],r=t[1].firstChild;if(null!==r)return function t(e,n){if(null!==n){const r=n.type;if(3===r)return Ae(n,e);if(0===r)return Jr(-1,e[n.index]);if(4===r||5===r){const r=n.child;if(null!==r)return t(e,r);{const t=e[n.index];return fe(t)?Jr(-1,t):Ce(t)}}{const r=e[16],i=r[6],s=ir(r),o=i.projection[n.projection];return null!=o?t(s,o):t(e,n.next)}}return null}(t,r)}return e[7]}function ti(t,e,n,r,i,s,o){for(;null!=n;){const a=r[n.index],l=n.type;o&&0===e&&(a&&qn(Ce(a),r),n.flags|=4),64!=(64&n.flags)&&(4===l||5===l?(ti(t,e,n.child,r,i,s,!1),Br(e,t,i,a,s)):1===l?ni(t,e,r,n,i,s):Br(e,t,i,a,s)),n=o?n.projectionNext:n.next}}function ei(t,e,n,r,i,s){ti(n,r,t.node.child,e,i,s,!1)}function ni(t,e,n,r,i,s){const o=n[16],a=o[6].projection[r.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++)Br(e,t,i,a[l],s);else ti(t,e,a,o[3],i,s,!0)}function ri(t,e,n){ke(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function ii(t,e,n){ke(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}class si{constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._viewContainerRef=null}get rootNodes(){const t=this._lView;return null==t[0]?function t(e,n,r,i,s=!1){for(;null!==r;){const o=n[r.index];if(null!==o&&i.push(Ce(o)),fe(o))for(let e=pe;e<o.length;e++){const n=o[e],r=n[1].firstChild;null!==r&&t(n[1],n,r,i)}const a=r.type;if(4===a||5===a)t(e,n,r.child,i);else if(1===a){const e=n[16],s=e[6].projection[r.projection];if(Array.isArray(s))i.push(...s);else{const n=ir(e);t(n[1],n,s,i,!0)}}r=s?r.projectionNext:r.next}return i}(t[1],t,t[6].child,[]):[]}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){const t=this._viewContainerRef.indexOf(this);t>-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}Qr(this._lView[1],this._lView)}onDestroy(t){br(this._lView[1],this._lView,null,t)}markForCheck(){!function(t){for(;t;){t[2]|=64;const e=ir(t);if(ge(t)&&!e)return t;t=e}}(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Fr(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){$e(!0);try{Fr(t,e,n)}finally{$e(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}detachFromAppRef(){var t;this._appRef=null,ei(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class oi extends si{constructor(t){super(t),this._view=t}detectChanges(){jr(this._view)}checkNoChanges(){!function(t){$e(!0);try{jr(t)}finally{$e(!1)}}(this._view)}get context(){return null}}let ai,li,ci;function ui(t,e,n){return ai||(ai=class extends t{}),new ai(Ae(e,n))}function hi(t,e,n,r){return li||(li=class extends t{constructor(t,e,n){super(),this._declarationView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=ur(this._declarationView,e,t,16,null,e.node);n[17]=this._declarationView[this._declarationTContainer.index];const r=this._declarationView[19];return null!==r&&(n[19]=r.createEmbeddedView(e)),pr(e,n,t),new si(n)}}),0===n.type?new li(r,n,ui(e,n,r)):null}function pi(t,e,n,r){let i;ci||(ci=class extends t{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostView=n}get element(){return ui(e,this._hostTNode,this._hostView)}get injector(){return new Fn(this._hostTNode,this._hostView)}get parentInjector(){const t=Cn(this._hostTNode,this._hostView),e=gn(t,this._hostView),n=function(t,e,n){if(n.parent&&-1!==n.parent.injectorIndex){const t=n.parent.injectorIndex;let e=n.parent;for(;null!=e.parent&&t==e.parent.injectorIndex;)e=e.parent;return e}let r=yn(t),i=e,s=e[6];for(;r>1;)i=i[15],s=i[6],r--;return s}(t,this._hostView,this._hostTNode);return fn(t)&&null!=n?new Fn(n,e):new Fn(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){return null!==this._lContainer[8]&&this._lContainer[8][t]||null}get length(){return this._lContainer.length-pe}createEmbeddedView(t,e,n){const r=t.createEmbeddedView(e||{});return this.insert(r,n),r}createComponent(t,e,n,r,i){const s=n||this.parentInjector;if(!i&&null==t.ngModule&&s){const t=s.get(Zt,null);t&&(i=t)}const o=t.create(s,r,void 0,i);return this.insert(o.hostView,e),o}insert(t,e){const n=t._lView,r=n[1];if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),fe(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],r=new ci(e,e[6],e[3]);r.detach(r.indexOf(t))}}const i=this._adjustIndex(e);return function(t,e,n,r){const i=pe+r,s=n.length;r>0&&(n[i-1][4]=e),r<s-pe?(e[4]=n[i],Kt(n,pe+r,e)):(n.push(e),e[4]=null),e[3]=n;const o=e[17];null!==o&&n!==o&&function(t,e){const n=t[9];e[16]!==e[3][3][16]&&(t[2]=!0),null===n?t[9]=[e]:n.push(e)}(o,e);const a=e[19];null!==a&&a.insertView(t),e[2]|=128}(r,n,this._lContainer,i),zr(r,n,!0,Jr(i,this._lContainer)),t.attachToViewContainerRef(this),Kt(this._lContainer[8],i,t),t}move(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(t,e)}indexOf(t){const e=this._lContainer[8];return null!==e?e.indexOf(t):-1}remove(t){this.allocateContainerIfNeeded();const e=this._adjustIndex(t,-1),n=$r(this._lContainer,e);n&&(Xt(this._lContainer[8],e),Qr(n[1],n))}detach(t){this.allocateContainerIfNeeded();const e=this._adjustIndex(t,-1),n=$r(this._lContainer,e);return n&&null!=Xt(this._lContainer[8],e)?new si(n):null}_adjustIndex(t,e=0){return null==t?this.length+e:t}allocateContainerIfNeeded(){null===this._lContainer[8]&&(this._lContainer[8]=[])}});const s=r[n.index];if(fe(s))i=s;else{let t;if(4===n.type)t=Ce(s);else if(t=r[11].createComment(""),ge(r)){const e=r[11],i=Ae(n,r);Zr(e,Xr(e,i),t,function(t,e){return ke(t)?t.nextSibling(e):e.nextSibling}(e,i))}else Gr(r[1],r,t,n);r[n.index]=i=new Array(s,!0,!1,r,null,0,n,t,null,null),Pr(r,i)}return new ci(i,n,r)}const di=new Mt("Set Injector scope."),fi={},mi={},yi=[];let gi=void 0;function bi(){return void 0===gi&&(gi=new Ut),gi}function vi(t,e=null,n=null,r){return new _i(t,n,e||bi(),r)}class _i{constructor(t,e,n,r=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const i=[];e&&Yt(e,n=>this.processProvider(n,t,e)),Yt([t],t=>this.processInjectorType(t,[],i)),this.records.set(Pt,xi(void 0,this));const s=this.records.get(di);this.scope=null!=s?s.value:null,this.source=r||("object"==typeof t?null:yt(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=Ft,n=it.Default){this.assertNotDestroyed();const r=Bt(this);try{if(!(n&it.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(i=t)||"object"==typeof i&&i instanceof Mt)&&lt(t);e=n&&this.injectableDefInScope(n)?xi(wi(t),fi):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&it.Self?bi():this.parent).get(t,e=n&it.Optional&&e===Ft?null:e)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(yt(t)),r)throw s;return function(t,e,n,r){const i=t.ngTempTokenPath;throw e[Rt]&&i.unshift(e[Rt]),t.message=function(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let i=yt(e);if(Array.isArray(e))i=e.map(yt).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let r=e[n];t.push(n+":"+("string"==typeof r?JSON.stringify(r):yt(r)))}i=`{${t.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${t.replace(jt,"\n ")}`}("\n"+t.message,i,n,r),t.ngTokenPath=i,t.ngTempTokenPath=null,t}(s,t,"R3InjectorError",this.source)}throw s}finally{Bt(r)}var i}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(yt(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=_t(t)))return!1;let r=ut(t);const i=null==r&&t.ngModule||void 0,s=void 0===i?t:i,o=-1!==n.indexOf(s);if(void 0!==i&&(r=ut(i)),null==r)return!1;if(null!=r.imports&&!o){let t;n.push(s);try{Yt(r.imports,r=>{this.processInjectorType(r,e,n)&&(void 0===t&&(t=[]),t.push(r))})}finally{}if(void 0!==t)for(let e=0;e<t.length;e++){const{ngModule:n,providers:r}=t[e];Yt(r,t=>this.processProvider(t,n,r||yi))}}this.injectorDefTypes.add(s),this.records.set(s,xi(r.factory,fi));const a=r.providers;if(null!=a&&!o){const e=t;Yt(a,t=>this.processProvider(t,e,a))}return void 0!==i&&void 0!==t.providers}processProvider(t,e,n){let r=Si(t=_t(t))?t:_t(t&&t.provide);const i=function(t,e,n){return Ei(t)?xi(void 0,t.useValue):xi(function(t,e,n){let r=void 0;if(Si(t)){const e=_t(t);return ce(e)||wi(e)}if(Ei(t))r=()=>_t(t.useValue);else if((i=t)&&i.useFactory)r=()=>t.useFactory(...Wt(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))r=()=>$t(_t(t.useExisting));else{const i=_t(t&&(t.useClass||t.provide));if(i||function(t,e,n){let r="";throw t&&e&&(r=` - only instances of Provider and Type are allowed, got: [${e.map(t=>t==n?"?"+n+"?":"...").join(", ")}]`),new Error(`Invalid provider for the NgModule '${yt(t)}'`+r)}(e,n,t),!function(t){return!!t.deps}(t))return ce(i)||wi(i);r=()=>new i(...Wt(t.deps))}var i;return r}(t,e,n),fi)}(t,e,n);if(Si(t)||!0!==t.multi){const t=this.records.get(r);t&&void 0!==t.multi&&Qn()}else{let e=this.records.get(r);e?void 0===e.multi&&Qn():(e=xi(void 0,fi,!0),e.factory=()=>Wt(e.multi),this.records.set(r,e)),r=t,e.multi.push(t)}this.records.set(r,i)}hydrate(t,e){var n;return e.value===mi?function(t){throw new Error("Cannot instantiate cyclic dependency! "+t)}(yt(t)):e.value===fi&&(e.value=mi,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}}function wi(t){const e=lt(t),n=null!==e?e.factory:ce(t);if(null!==n)return n;const r=ut(t);if(null!==r)return r.factory;if(t instanceof Mt)throw new Error(`Token ${yt(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=function(t,e){const n=[];for(let r=0;r<t;r++)n.push("?");return n}(e);throw new Error(`Can't resolve all parameters for ${yt(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[ht]||t[ft]||t[dt]&&t[dt]());if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function xi(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Ei(t){return null!==t&&"object"==typeof t&&Lt in t}function Si(t){return"function"==typeof t}const ki=function(t,e,n){return function(t,e=null,n=null,r){const i=vi(t,e,n,r);return i._resolveInjectorDefTypes(),i}({name:n},e,t,n)};let Ti=(()=>{class t{static create(t,e){return Array.isArray(t)?ki(t,e,""):ki(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=Ft,t.NULL=new Ut,t.\u0275prov=ot({token:t,providedIn:"any",factory:()=>$t(Pt)}),t.__NG_ELEMENT_ID__=-1,t})();function Ci(t,e,n){let r=n?t.styles:null,i=n?t.classes:null,s=0;if(null!==e)for(let o=0;o<e.length;o++){const t=e[o];"number"==typeof t?s=t:1==s?i=gt(i,t):2==s&&(r=gt(r,t+": "+e[++o]+";"))}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=i:t.classesWithoutHost=i}let Ai=null;function Ii(){if(!Ai){const t=kt.Symbol;if(t&&t.iterator)Ai=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const n=t[e];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(Ai=n)}}}return Ai}function Oi(t){return!!Ni(t)&&(Array.isArray(t)||!(t instanceof Map)&&Ii()in t)}function Ni(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Di(t,e,n,r,i){const s=i?"class":"style";!function(t,e,n,r,i){for(let s=0;s<n.length;){const o=n[s++],a=n[s++],l=e[o],c=t.data[o];null!==c.setInput?c.setInput(l,i,r,a):l[a]=i}}(t,n,e.inputs[s],s,r)}function Mi(t,e,n,r){const i=Le(),s=He(),o=he+t,a=i[11],l=i[o]=cr(e,a,je.lFrame.currentNamespace),c=s.firstCreatePass?function(t,e,n,r,i,s,o){const a=e.consts,l=Me(a,s),c=hr(e,n[6],t,3,i,l);return function(t,e,n,r){let i=!1;if(Re()){const s=function(t,e,n){const r=t.directiveRegistry;let i=null;if(r)for(let s=0;s<r.length;s++){const o=r[s];tr(n,o.selectors,!1)&&(i||(i=[]),An(Sn(n,e),t,o.type),ye(o)?(2&n.flags&&$n(n),kr(t,n),i.unshift(o)):i.push(o))}return i}(t,e,n),o=null===r?null:{"":-1};if(null!==s){let r=0;i=!0,Cr(n,t.data.length,s.length);for(let t=0;t<s.length;t++){const e=s[t];e.providersResolver&&e.providersResolver(e)}Sr(t,n,s.length);let a=!1,l=!1;for(let i=0;i<s.length;i++){const c=s[i];n.mergedAttrs=pn(n.mergedAttrs,c.hostAttrs),Ar(t,e,c),Tr(t.data.length-1,c,o),null!==c.contentQueries&&(n.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(n.flags|=128);const u=c.type.prototype;!a&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index-he),a=!0),l||!u.ngOnChanges&&!u.ngDoCheck||((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index-he),l=!0),wr(t,c),r+=c.hostVars}!function(t,e){const n=e.directiveEnd,r=t.data,i=e.attrs,s=[];let o=null,a=null;for(let l=e.directiveStart;l<n;l++){const t=r[l],n=t.inputs,c=null===i||Yn(e)?null:Nr(n,i);s.push(c),o=_r(n,l,o),a=_r(t.outputs,l,a)}null!==o&&(o.hasOwnProperty("class")&&(e.flags|=16),o.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=s,e.inputs=o,e.outputs=a}(t,n),xr(t,e,r)}o&&function(t,e,n){if(e){const r=t.localNames=[];for(let t=0;t<e.length;t+=2){const i=n[e[t+1]];if(null==i)throw new Error(`Export of name '${e[t+1]}' not found!`);r.push(e[t],i)}}}(n,r,o)}n.mergedAttrs=pn(n.mergedAttrs,n.attrs)}(e,n,c,Me(a,o)),null!==c.attrs&&Ci(c,c.attrs,!1),null!==c.mergedAttrs&&Ci(c,c.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,c),c}(t,s,i,0,e,n,r):s.data[o];Be(c,!0);const u=c.mergedAttrs;null!==u&&hn(a,l,u);const h=c.classes;null!==h&&ii(a,l,h);const p=c.styles;null!==p&&ri(a,l,p),Gr(s,i,l,c),0===je.lFrame.elementDepthCount&&qn(l,i),je.lFrame.elementDepthCount++,function(t){return 1==(1&t.flags)}(c)&&(function(t,e,n){Re()&&(function(t,e,n,r){const i=n.directiveStart,s=n.directiveEnd;t.firstCreatePass||Sn(n,e),qn(r,e);const o=n.initialInputs;for(let a=i;a<s;a++){const r=t.data[a],s=ye(r);s&&Ir(e,n,r);const l=Dn(e,t,a,n);qn(l,e),null!==o&&Or(0,a-i,l,r,0,o),s&&(Ie(n.index,e)[8]=l)}}(t,e,n,Ae(n,e)),128==(128&n.flags)&&function(t,e,n){const r=n.directiveStart,i=n.directiveEnd,s=t.expandoInstructions,o=t.firstCreatePass,a=n.index-he,l=je.lFrame.currentDirectiveIndex;try{nn(a);for(let n=r;n<i;n++){const r=t.data[n],i=e[n];We(n),null!==r.hostBindings||0!==r.hostVars||null!==r.hostAttrs?Er(r,i):o&&s.push(null)}}finally{nn(-1),We(l)}}(t,e,n))}(s,i,c),function(t,e,n){if(me(e)){const r=e.directiveEnd;for(let i=e.directiveStart;i<r;i++){const e=t.data[i];e.contentQueries&&e.contentQueries(1,n[i],i)}}}(s,c,i)),null!==r&&function(t,e,n=Ae){const r=e.localNames;if(null!==r){let i=e.index+1;for(let s=0;s<r.length;s+=2){const o=r[s+1],a=-1===o?n(e,t):t[o];t[i++]=a}}}(i,c)}function Pi(t){return!!t&&"function"==typeof t.then}function Fi(t,e){const n=Oe(t)[1],r=n.data.length-1;rn(n,{directiveStart:r,directiveEnd:r+1})}class ji{}class Ri{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${yt(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let Li=(()=>{class t{}return t.NULL=new Ri,t})(),Hi=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=()=>Vi(t),t})();const Vi=function(t){return ui(t,Ve(),Le())};class Bi{}var zi=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});let qi=(()=>{class t{}return t.\u0275prov=ot({token:t,providedIn:"root",factory:()=>null}),t})();class $i{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Qi=new $i("10.1.0");class Wi{constructor(){}supports(t){return Oi(t)}create(t){return new Zi(t)}}const Ui=(t,e)=>e;class Zi{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Ui}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,r=0,i=null;for(;e||n;){const s=!n||e&&e.currentIndex<Gi(n,r,i)?e:n,o=Gi(s,r,i),a=s.currentIndex;if(s===n)r--,n=n._nextRemoved;else if(e=e._next,null==s.previousIndex)r++;else{i||(i=[]);const t=o-r,e=a-r;if(t!=e){for(let n=0;n<t;n++){const r=n<i.length?i[n]:i[n]=0,s=r+n;e<=s&&s<t&&(i[n]=r+1)}i[s.previousIndex]=e-t}}o!==a&&t(s,o,a)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!Oi(t))throw new Error(`Error trying to diff '${yt(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,n,r,i=this._itHead,s=!1;if(Array.isArray(t)){this.length=t.length;for(let e=0;e<this.length;e++)n=t[e],r=this._trackByFn(e,n),null!==i&&Object.is(i.trackById,r)?(s&&(i=this._verifyReinsertion(i,n,r,e)),Object.is(i.item,n)||this._addIdentityChange(i,n)):(i=this._mismatch(i,n,r,e),s=!0),i=i._next}else e=0,function(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[Ii()]();let r;for(;!(r=n.next()).done;)e(r.value)}}(t,t=>{r=this._trackByFn(e,t),null!==i&&Object.is(i.trackById,r)?(s&&(i=this._verifyReinsertion(i,t,r,e)),Object.is(i.item,t)||this._addIdentityChange(i,t)):(i=this._mismatch(i,t,r,e),s=!0),i=i._next,e++}),this.length=e;return this._truncate(i),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t,e;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=e)t.previousIndex=t.currentIndex,e=t._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,r){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,i,r)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,i,r)):t=this._addAfter(new Yi(e,n),i,r),t}_verifyReinsertion(t,e,n,r){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?t=this._reinsertAfter(i,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,i=t._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Xi),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Xi),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Yi{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Ki{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class Xi{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new Ki,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Gi(t,e,n){const r=t.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+e+i}class Ji{constructor(){}supports(t){return t instanceof Map||Ni(t)}create(){return new ts}}class ts{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||Ni(t)))throw new Error(`Error trying to diff '${yt(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(t,n)=>{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const r=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}const n=new es(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class es{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let ns=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new rt,new et]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.\u0275prov=ot({token:t,providedIn:"root",factory:()=>new t([new Wi])}),t})(),rs=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new rt,new et]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=ot({token:t,providedIn:"root",factory:()=>new t([new Ji])}),t})();const is=[new Ji],ss=new ns([new Wi]),os=new rs(is);let as=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>ls(t,Hi),t})();const ls=function(t,e){return hi(t,e,Ve(),Le())};let cs=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>us(t,Hi),t})();const us=function(t,e){return pi(t,e,Ve(),Le())},hs={};class ps extends Li{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=le(t);return new ms(e,this.ngModule)}}function ds(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const fs=new Mt("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>vn});class ms extends ji{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(nr).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return ds(this.componentDef.inputs)}get outputs(){return ds(this.componentDef.outputs)}create(t,e,n,r){const i=(r=r||this.ngModule)?function(t,e){return{get:(n,r,i)=>{const s=t.get(n,hs,i);return s!==hs||r===hs?s:e.get(n,r,i)}}}(t,r.injector):t,s=i.get(Bi,Te),o=i.get(qi,null),a=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(ke(t))return t.selectRootElement(e,n===Jt.ShadowDom);let r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(a,n,this.componentDef.encapsulation):cr(l,s.createRenderer(null,this.componentDef),function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,h={components:[],scheduler:vn,clean:Lr,playerHandler:null,flags:0},p=gr(0,-1,null,1,0,null,null,null,null,null),d=ur(null,p,h,u,null,null,s,a,o,i);let f,m;Ke(d,null);try{const t=function(t,e,n,r,i,s){const o=n[1];n[20]=t;const a=hr(o,null,0,3,null,null),l=a.mergedAttrs=e.hostAttrs;null!==l&&(Ci(a,l,!0),null!==t&&(hn(i,t,l),null!==a.classes&&ii(i,t,a.classes),null!==a.styles&&ri(i,t,a.styles)));const c=r.createRenderer(t,e),u=ur(n,yr(e),null,e.onPush?64:16,n[20],a,r,c,void 0);return o.firstCreatePass&&(An(Sn(a,n),o,e.type),kr(o,a),Cr(a,n.length,1)),Pr(n,u),n[20]=u}(c,this.componentDef,d,s,a);if(c)if(n)hn(a,c,["ng-version",Qi.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let r=1,i=2;for(;r<t.length;){let s=t[r];if("string"==typeof s)2===i?""!==s&&e.push(s,t[++r]):8===i&&n.push(s);else{if(!Gn(i))break;i=s}r++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]);t&&hn(a,c,t),e&&e.length>0&&ii(a,c,e.join(" "))}if(m=p.data[20],void 0!==e){const t=m.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const r=e[n];t.push(null!=r?Array.from(r):null)}}f=function(t,e,n,r,i){const s=n[1],o=function(t,e,n){const r=Ve();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Sr(t,r,1),Ar(t,e,n));const i=Dn(e,t,e.length-1,r);qn(i,e);const s=Ae(r,e);return s&&qn(s,e),i}(s,n,e);r.components.push(o),t[8]=o,i&&i.forEach(t=>t(o,e)),e.contentQueries&&e.contentQueries(1,o,n.length-1);const a=Ve();if(s.firstCreatePass&&(null!==e.hostBindings||null!==e.hostAttrs)){nn(a.index-he);const t=n[1];wr(t,e),xr(t,n,e.hostVars),Er(e,o)}return o}(t,this.componentDef,d,h,[Fi]),pr(p,d,null)}finally{en()}const y=new ys(this.componentType,f,ui(Hi,m,d),d,m);return p.node.child=m,y}}class ys extends class{}{constructor(t,e,n,r,i){super(),this.location=n,this._rootLView=r,this._tNode=i,this.destroyCbs=[],this.instance=e,this.hostView=this.changeDetectorRef=new oi(r),function(t,e,n,r){let i=t.node;null==i&&(t.node=i=vr(0,null,2,-1,null,null)),r[6]=i}(r[1],0,0,r),this.componentType=t}get injector(){return new Fn(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(t=>t()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(t){this.destroyCbs&&this.destroyCbs.push(t)}}const gs=void 0;var bs=["en",[["a","p"],["AM","PM"],gs],[["AM","PM"],gs,gs],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],gs,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],gs,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",gs,"{1} 'at' {0}",gs],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let vs={};function _s(t){return t in vs||(vs[t]=kt.ng&&kt.ng.common&&kt.ng.common.locales&&kt.ng.common.locales[t]),vs[t]}var ws=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}({});const xs="en-US";let Es=xs;function Ss(t){var e,n;n="Expected localeId to be defined",null==(e=t)&&function(t,e,n,r){throw new Error("ASSERTION ERROR: "+t+` [Expected=> null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&(Es=t.toLowerCase().replace(/_/g,"-"))}const ks=new Map;class Ts extends Zt{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new ps(this);const n=ue(t),r=t[Ot]||null;r&&Ss(r),this._bootstrapComponents=_n(n.bootstrap),this._r3Injector=vi(t,e,[{provide:Zt,useValue:this},{provide:Li,useValue:this.componentFactoryResolver}],yt(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=Ti.THROW_IF_NOT_FOUND,n=it.Default){return t===Ti||t===Zt||t===Pt?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Cs extends class{}{constructor(t){super(),this.moduleType=t,null!==ue(t)&&function t(e){if(null!==e.\u0275mod.id){const t=e.\u0275mod.id;(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${yt(e)} vs ${yt(e.name)}`)})(t,ks.get(t),e),ks.set(t,e)}let n=e.\u0275mod.imports;n instanceof Function&&(n=n()),n&&n.forEach(e=>t(e))}(t)}create(t){return new Ts(this.moduleType,t)}}const As=class extends E{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let r,i=t=>null,s=()=>null;t&&"object"==typeof t?(r=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(i=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(s=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(r=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(i=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(s=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const o=super.subscribe(r,i,s);return t instanceof h&&t.add(o),o}};function Is(){return this._results[Ii()]()}class Os{constructor(){this.dirty=!0,this._results=[],this.changes=new As,this.length=0;const t=Ii(),e=Os.prototype;e[t]||(e[t]=Is)}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t){this._results=function t(e,n){void 0===n&&(n=e);for(let r=0;r<e.length;r++){let i=e[r];Array.isArray(i)?(n===e&&(n=e.slice(0,r)),t(i,n)):n!==e&&n.push(i)}return n}(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class Ns{constructor(t){this.queryList=t,this.matches=null}clone(){return new Ns(this.queryList)}setDirty(){this.queryList.setDirty()}}class Ds{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const n=null!==t.contentQueries?t.contentQueries[0]:e.length,r=[];for(let t=0;t<n;t++){const n=e.getByIndex(t);r.push(this.queries[n.indexInDeclarationView].clone())}return new Ds(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==Hs(t,e).matches&&this.queries[e].setDirty()}}class Ms{constructor(t,e,n,r=null){this.predicate=t,this.descendants=e,this.isStatic=n,this.read=r}}class Ps{constructor(t=[]){this.queries=t}elementStart(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let n=0;n<this.length;n++){const r=null!==e?e.length:0,i=this.getByIndex(n).embeddedTView(t,r);i&&(i.indexInDeclarationView=n,null!==e?e.push(i):e=[i])}return null!==e?new Ps(e):null}template(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Fs{constructor(t,e=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new Fs(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&!1===this.metadata.descendants){const e=this._declarationNodeIndex;let n=t.parent;for(;null!==n&&4===n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(t,e){const n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){const i=n[r];this.matchTNodeWithReadOption(t,e,js(e,i)),this.matchTNodeWithReadOption(t,e,Nn(e,t,i,!1,!1))}else n===as?0===e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,Nn(e,t,n,!1,!1))}matchTNodeWithReadOption(t,e,n){if(null!==n){const r=this.metadata.read;if(null!==r)if(r===Hi||r===cs||r===as&&0===e.type)this.addMatch(e.index,-2);else{const n=Nn(e,t,r,!1,!1);null!==n&&this.addMatch(e.index,n)}else this.addMatch(e.index,n)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function js(t,e){const n=t.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===e)return n[r+1];return null}function Rs(t,e,n,r){return-1===n?function(t,e){return 3===t.type||4===t.type?ui(Hi,t,e):0===t.type?hi(as,Hi,t,e):null}(e,t):-2===n?function(t,e,n){return n===Hi?ui(Hi,e,t):n===as?hi(as,Hi,e,t):n===cs?pi(cs,Hi,e,t):void 0}(t,e,r):Dn(t,t[1],n,e)}function Ls(t,e,n,r){const i=e[19].queries[r];if(null===i.matches){const r=t.data,s=n.matches,o=[];for(let t=0;t<s.length;t+=2){const i=s[t];o.push(i<0?null:Rs(e,r[i],s[t+1],n.metadata.read))}i.matches=o}return i.matches}function Hs(t,e){return t.queries.getByIndex(e)}const Vs=new Mt("Application Initializer");let Bs=(()=>{class t{constructor(t){this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const e=this.appInits[n]();Pi(e)&&t.push(e)}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)($t(Vs,8))},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})();const zs=new Mt("AppId"),qs={provide:zs,useFactory:function(){return`${$s()}${$s()}${$s()}`},deps:[]};function $s(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Qs=new Mt("Platform Initializer"),Ws=new Mt("Platform ID"),Us=new Mt("appBootstrapListener");let Zs=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})();const Ys=new Mt("LocaleId"),Ks=new Mt("DefaultCurrencyCode");class Xs{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const Gs=function(t){return new Cs(t)},Js=Gs,to=function(t){return Promise.resolve(Gs(t))},eo=function(t){const e=Gs(t),n=_n(ue(t).declarations).reduce((t,e)=>{const n=le(e);return n&&t.push(new ms(n)),t},[]);return new Xs(e,n)},no=eo,ro=function(t){return Promise.resolve(eo(t))};let io=(()=>{class t{constructor(){this.compileModuleSync=Js,this.compileModuleAsync=to,this.compileModuleAndAllComponentsSync=no,this.compileModuleAndAllComponentsAsync=ro}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})();const so=(()=>Promise.resolve(0))();function oo(t){"undefined"==typeof Zone?so.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class ao{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new As(!1),this.onMicrotaskEmpty=new As(!1),this.onStable=new As(!1),this.onError=new As(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const n=this;n._nesting=0,n._outer=n._inner=Zone.current,Zone.wtfZoneSpec&&(n._inner=n._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(n._inner=n._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(n._inner=n._inner.fork(Zone.longStackTraceZoneSpec)),n.shouldCoalesceEventChangeDetection=e,n.lastRequestAnimationFrameId=-1,n.nativeRequestAnimationFrame=function(){let t=kt.requestAnimationFrame,e=kt.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=!!t.shouldCoalesceEventChangeDetection&&t.nativeRequestAnimationFrame&&(()=>{!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(kt,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,ho(t),uo(t)},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),ho(t))}(t)});t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:e},onInvokeTask:(n,r,i,s,o,a)=>{try{return po(t),n.invokeTask(i,s,o,a)}finally{e&&"eventTask"===s.type&&e(),fo(t)}},onInvoke:(e,n,r,i,s,o,a)=>{try{return po(t),e.invoke(r,i,s,o,a)}finally{fo(t)}},onHasTask:(e,n,r,i)=>{e.hasTask(r,i),n===r&&("microTask"==i.change?(t._hasPendingMicrotasks=i.microTask,ho(t),uo(t)):"macroTask"==i.change&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(e,n,r,i)=>(e.handleError(r,i),t.runOutsideAngular(()=>t.onError.emit(i)),!1)})}(n)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ao.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(ao.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,r){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+r,t,co,lo,lo);try{return i.runTask(s,e,n)}finally{i.cancelTask(s)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}function lo(){}const co={};function uo(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function ho(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||t.shouldCoalesceEventChangeDetection&&-1!==t.lastRequestAnimationFrameId)}function po(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function fo(t){t._nesting--,uo(t)}class mo{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new As,this.onMicrotaskEmpty=new As,this.onStable=new As,this.onError=new As}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,r){return t.apply(e,n)}}let yo=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ao.assertNotInAngularZone(),oo(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())oo(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let r=-1;e&&e>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==r),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\u0275fac=function(e){return new(e||t)($t(ao))},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})(),go=(()=>{class t{constructor(){this._applications=new Map,_o.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return _o.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})();class bo{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}let vo,_o=new bo;const wo=new Mt("AllowMultipleToken");function xo(t,e,n=[]){const r="Platform: "+e,i=new Mt(r);return(e=[])=>{let s=Eo();if(!s||s.injector.get(wo,!1))if(t)t(n.concat(e).concat({provide:i,useValue:!0}));else{const t=n.concat(e).concat({provide:i,useValue:!0},{provide:di,useValue:"platform"});!function(t){if(vo&&!vo.destroyed&&!vo.injector.get(wo,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");vo=t.get(So);const e=t.get(Qs,null);e&&e.forEach(t=>t())}(Ti.create({providers:t,name:r}))}return function(t){const e=Eo();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(i)}}function Eo(){return vo&&!vo.destroyed?vo:null}let So=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new mo:("zone.js"===t?void 0:t)||new ao({enableLongStackTrace:zn(),shouldCoalesceEventChangeDetection:e}),n}(e?e.ngZone:void 0,e&&e.ngZoneEventCoalescing||!1),r=[{provide:ao,useValue:n}];return n.run(()=>{const e=Ti.create({providers:r,parent:this.injector,name:t.moduleType.name}),i=t.create(e),s=i.injector.get(Hn,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return i.onDestroy(()=>Co(this._modules,i)),n.runOutsideAngular(()=>n.onError.subscribe({next:t=>{s.handleError(t)}})),function(t,e,n){try{const r=n();return Pi(r)?r.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}(s,n,()=>{const t=i.injector.get(Bs);return t.runInitializers(),t.donePromise.then(()=>(Ss(i.injector.get(Ys,xs)||xs),this._moduleDoBootstrap(i),i))})})}bootstrapModule(t,e=[]){const n=ko({},e);return function(t,e,n){const r=new Cs(n);return Promise.resolve(r)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(To);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${yt(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)($t(Ti))},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})();function ko(t,e){return Array.isArray(e)?e.reduce(ko,t):Object.assign(Object.assign({},t),e)}let To=(()=>{class t{constructor(t,e,n,r,i,s){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=zn(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new b(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),a=new b(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{ao.assertNotInAngularZone(),oo(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{ao.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=q(o,a.pipe(t=>{return $()((e=K,function(t){let n;n="function"==typeof e?e:function(){return e};const r=Object.create(t,Z);return r.source=t,r.subjectFactory=n,r})(t));var e}))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=t instanceof ji?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(Zt),i=n.create(Ti.NULL,[],e||n.selector,r);i.onDestroy(()=>{this._unloadComponent(i)});const s=i.injector.get(yo,null);return s&&i.injector.get(go).registerApplication(i.location.nativeElement,s),this._loadComponent(i),zn()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),i}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges();if(this._enforceNoNewChanges)for(let t of this._views)t.checkNoChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Co(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Us,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}_unloadComponent(t){this.detachView(t.hostView),Co(this.components,t)}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy())}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)($t(ao),$t(Zs),$t(Ti),$t(Hn),$t(Li),$t(Bs))},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})();function Co(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const Ao=xo(null,"core",[{provide:Ws,useValue:"unknown"},{provide:So,deps:[Ti]},{provide:go,deps:[]},{provide:Zs,deps:[]}]),Io=[{provide:To,useClass:To,deps:[ao,Zs,Ti,Hn,Li,Bs]},{provide:fs,deps:[ao],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Bs,useClass:Bs,deps:[[new et,Vs]]},{provide:io,useClass:io,deps:[]},qs,{provide:ns,useFactory:function(){return ss},deps:[]},{provide:rs,useFactory:function(){return os},deps:[]},{provide:Ys,useFactory:function(t){return Ss(t=t||"undefined"!=typeof $localize&&$localize.locale||xs),t},deps:[[new tt(Ys),new et,new rt]]},{provide:Ks,useValue:"USD"}];let Oo=(()=>{class t{constructor(t){}}return t.\u0275mod=oe({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)($t(To))},providers:Io}),t})();class No extends h{constructor(t,e){super()}schedule(t,e=0){return this}}class Do extends No{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this}requestAsyncId(t,e,n=0){return setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n=!1,r=void 0;try{this.work(t)}catch(i){n=!0,r=!!i&&i||new Error(i)}if(n)return this.unsubscribe(),r}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}class Mo extends Do{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(t,e,n):t.flush(this)}}let Po=(()=>{class t{constructor(e,n=t.now){this.SchedulerAction=e,this.now=n}schedule(t,e=0,n){return new this.SchedulerAction(this,t).schedule(n,e)}}return t.now=()=>Date.now(),t})();class Fo extends Po{constructor(t,e=Po.now){super(t,()=>Fo.delegate&&Fo.delegate!==this?Fo.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return Fo.delegate&&Fo.delegate!==this?Fo.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}class jo extends Fo{}const Ro=new jo(Mo),Lo=new b(t=>t.complete());let Ho=(()=>{class t{constructor(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}accept(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}toObservable(){switch(this.kind){case"N":return function(...t){let e=t[t.length-1];return k(e)?(t.pop(),F(t,e)):z(t)}(this.value);case"E":return t=this.error,new b(e=>e.error(t));case"C":return Lo}var t;throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}static createError(e){return new t("E",void 0,e)}static createComplete(){return t.completeNotification}}return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t})();class Vo extends f{constructor(t,e,n=0){super(t),this.scheduler=e,this.delay=n}static dispatch(t){const{notification:e,destination:n}=t;e.observe(n),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(Vo.dispatch,this.delay,new Bo(t,this.destination)))}_next(t){this.scheduleMessage(Ho.createNext(t))}_error(t){this.scheduleMessage(Ho.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(Ho.createComplete()),this.unsubscribe()}}class Bo{constructor(t,e){this.notification=t,this.destination=e}}class zo extends E{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift(),super.next(t)}nextTimeWindow(t){this._events.push(new qo(this._getNow(),t)),this._trimBufferThenGetEvents(),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,n=e?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,i=n.length;let s;if(this.closed)throw new _;if(this.isStopped||this.hasError?s=h.EMPTY:(this.observers.push(t),s=new w(this,t)),r&&t.add(t=new Vo(t,r)),e)for(let o=0;o<i&&!t.closed;o++)t.next(n[o]);else for(let o=0;o<i&&!t.closed;o++)t.next(n[o].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),s}_getNow(){return(this.scheduler||Ro).now()}_trimBufferThenGetEvents(){const t=this._getNow(),e=this._bufferSize,n=this._windowTime,r=this._events,i=r.length;let s=0;for(;s<i&&!(t-r[s].time<n);)s++;return i>e&&(s=Math.max(s,i-e)),s>0&&r.splice(0,s),r}}class qo{constructor(t,e){this.time=t,this.value=e}}class $o{constructor(t){this.project=t}call(t,e){return e.subscribe(new Qo(t,this.project))}}class Qo extends L{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const n=new R(this),r=this.destination;r.add(n),this.innerSubscription=H(t,n),this.innerSubscription!==n&&r.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}const Wo=(()=>{const t=Element.prototype;return t.matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector})(),Uo={schedule(t,e){const n=setTimeout(t,e);return()=>clearTimeout(n)},scheduleBeforeRender(t){if("undefined"==typeof window)return Uo.schedule(t,0);if(void 0===window.requestAnimationFrame)return Uo.schedule(t,16);const e=window.requestAnimationFrame(t);return()=>window.cancelAnimationFrame(e)}};function Zo(t,e,n){let r=n;return function(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}(t)&&e.some((e,n)=>!("*"===e||!function(t,e){return Wo.call(t,e)}(t,e)||(r=n,0))),r}class Yo{constructor(t,e){this.componentFactory=e.get(Li).resolveComponentFactory(t)}create(t){return new Ko(this.componentFactory,t)}}class Ko{constructor(t,e){this.componentFactory=t,this.injector=e,this.eventEmitters=new zo(1),this.events=this.eventEmitters.pipe(function t(e,n){return"function"==typeof n?r=>r.pipe(t((t,r)=>j(e(t,r)).pipe(T((e,i)=>n(t,e,r,i))))):t=>t.lift(new $o(e))}(t=>q(...t))),this.componentRef=null,this.inputChanges=null,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set,this.ngZone=this.injector.get(ao),this.elementZone="undefined"==typeof Zone?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{null!==this.componentRef&&null===this.scheduledDestroyFn&&(this.scheduledDestroyFn=Uo.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null)},10))})}getInputValue(t){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,e){this.runInZone(()=>{var n,r;null!==this.componentRef?((n=e)!==(r=this.getInputValue(t))&&(n==n||r==r)||void 0===e&&this.unchangedInputs.has(t))&&(this.recordInputChange(t,e),this.componentRef.instance[t]=e,this.scheduleDetectChanges()):this.initialInputValues.set(t,e)})}initializeComponent(t){const e=Ti.create({providers:[],parent:this.injector}),n=function(t,e){const n=t.childNodes,r=e.map(()=>[]);let i=-1;e.some((t,e)=>"*"===t&&(i=e,!0));for(let s=0,o=n.length;s<o;++s){const t=n[s],o=Zo(t,e,i);-1!==o&&r[o].push(t)}return r}(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(e,n,t),this.implementsOnChanges="function"==typeof this.componentRef.instance.ngOnChanges,this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(To).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:t})=>{this.implementsOnChanges&&this.unchangedInputs.add(t),this.initialInputValues.has(t)&&this.setInputValue(t,this.initialInputValues.get(t))}),this.initialInputValues.clear()}initializeOutputs(t){const e=this.componentFactory.outputs.map(({propName:e,templateName:n})=>t.instance[e].pipe(T(t=>({name:n,value:t}))));this.eventEmitters.next(e)}callNgOnChanges(t){if(!this.implementsOnChanges||null===this.inputChanges)return;const e=this.inputChanges;this.inputChanges=null,t.instance.ngOnChanges(e)}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Uo.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(t,e){if(null!==this.componentRef&&!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const n=this.inputChanges[t];if(n)return void(n.currentValue=e);const r=this.unchangedInputs.has(t);this.unchangedInputs.delete(t);const i=r?void 0:this.getInputValue(t);this.inputChanges[t]=new be(i,e,r)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}}class Xo extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function Go(t,e){t.forEach(({propName:t})=>{Object.defineProperty(e,t,{get(){return this.ngElementStrategy.getInputValue(t)},set(e){this.ngElementStrategy.setInputValue(t,e)},configurable:!0,enumerable:!0})})}let Jo=null;function ta(){return Jo}const ea=new Mt("DocumentToken");var na=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({});class ra{}let ia=(()=>{class t extends ra{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(function(t){return function(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=_s(e);if(n)return n;const r=e.split("-")[0];if(n=_s(r),n)return n;if("en"===r)return bs;throw new Error(`Missing locale data for the locale "${t}".`)}(t)[ws.PluralCase]}(e||this.locale)(t)){case na.Zero:return"zero";case na.One:return"one";case na.Two:return"two";case na.Few:return"few";case na.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)($t(Ys))},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})(),sa=(()=>{class t{}return t.\u0275mod=oe({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)},providers:[{provide:ra,useClass:ia}]}),t})();class oa extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var t;t=new oa,Jo||(Jo=t)}getProperty(t,e){return t[e]}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}getValue(t){return t.value}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=la||(la=document.querySelector("base"),la)?la.getAttribute("href"):null;return null==e?null:(n=e,aa||(aa=document.createElement("a")),aa.setAttribute("href",n),"/"===aa.pathname.charAt(0)?aa.pathname:"/"+aa.pathname);var n}resetBaseElement(){la=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return function(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[r,i]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(r.trim()===e)return decodeURIComponent(i)}return null}(document.cookie,t)}}let aa,la=null;const ca=new Mt("TRANSITION_ID"),ua=[{provide:Vs,useFactory:function(t,e,n){return()=>{n.get(Bs).donePromise.then(()=>{const n=ta();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[ca,ea,Ti],multi:!0}];class ha{static init(){var t;t=new ha,_o=t}addToWindow(t){kt.getAngularTestability=(e,n=!0)=>{const r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},kt.getAllAngularTestabilities=()=>t.getAllTestabilities(),kt.getAllAngularRootElements=()=>t.getAllRootElements(),kt.frameworkStabilizers||(kt.frameworkStabilizers=[]),kt.frameworkStabilizers.push(t=>{const e=kt.getAllAngularTestabilities();let n=e.length,r=!1;const i=function(e){r=r||e,n--,0==n&&t(r)};e.forEach((function(t){t.whenStable(i)}))})}findTestabilityInTree(t,e,n){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:n?ta().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const pa=new Mt("EventManagerPlugins");let da=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let r=0;r<n.length;r++){const e=n[r];if(e.supports(t))return this._eventNameToPlugin.set(t,e),e}throw new Error("No event manager plugin found for event "+t)}}return t.\u0275fac=function(e){return new(e||t)($t(pa),$t(ao))},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})();class fa{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const r=ta().getGlobalEventTarget(this._doc,t);if(!r)throw new Error(`Unsupported event target ${r} for event ${e}`);return this.addEventListener(r,e,n)}}let ma=(()=>{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})(),ya=(()=>{class t extends ma{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,this._styleNodes.add(e.appendChild(n))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>ta().remove(t))}}return t.\u0275fac=function(e){return new(e||t)($t(ea))},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})();const ga={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/"},ba=/%COMP%/g;function va(t,e,n){for(let r=0;r<e.length;r++){let i=e[r];Array.isArray(i)?va(t,i,n):(i=i.replace(ba,t),n.push(i))}return n}function _a(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let wa=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new xa(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case Jt.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new Ea(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case Jt.Native:case Jt.ShadowDom:return new Sa(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=va(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)($t(da),$t(ya),$t(zs))},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})();class xa{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(ga[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,r){if(r){e=r+":"+e;const i=ga[r];i?t.setAttributeNS(i,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=ga[n];r?t.removeAttributeNS(r,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,r){r&zi.DashCase?t.style.setProperty(e,n,r&zi.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&zi.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,_a(n)):this.eventManager.addEventListener(t,e,_a(n))}}class Ea extends xa{constructor(t,e,n,r){super(t),this.component=n;const i=va(r+"-"+n.id,n.styles,[]);e.addStyles(i),this.contentAttr="_ngcontent-%COMP%".replace(ba,r+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(ba,r+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class Sa extends xa{constructor(t,e,n,r){super(t),this.sharedStylesHost=e,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===Jt.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const i=va(r.id,r.styles,[]);for(let s=0;s<i.length;s++){const t=document.createElement("style");t.textContent=i[s],this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let ka=(()=>{class t extends fa{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)($t(ea))},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})();const Ta=["alt","control","meta","shift"],Ca={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Aa={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Ia={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let Oa=(()=>{class t extends fa{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,r){const i=t.parseEventName(n),s=t.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ta().onAndCancel(e,i.domEventName,s))}static parseEventName(e){const n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const i=t._normalizeKey(n.pop());let s="";if(Ta.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),s+=t+".")}),s+=i,0!=n.length||0===i.length)return null;const o={};return o.domEventName=r,o.fullKey=s,o}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&Aa.hasOwnProperty(e)&&(e=Aa[e]))}return Ca[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),Ta.forEach(r=>{r!=n&&(0,Ia[r])(t)&&(e+=r+".")}),e+=n,e}static eventCallback(e,n,r){return i=>{t.getEventFullKey(i)===e&&r.runGuarded(()=>n(i))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)($t(ea))},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})();const Na=xo(Ao,"browser",[{provide:Ws,useValue:"browser"},{provide:Qs,useValue:function(){oa.makeCurrent(),ha.init()},multi:!0},{provide:ea,useFactory:function(){return function(t){Se=t}(document),document},deps:[]}]),Da=[[],{provide:di,useValue:"root"},{provide:Hn,useFactory:function(){return new Hn},deps:[]},{provide:pa,useClass:ka,multi:!0,deps:[ea,ao,Ws]},{provide:pa,useClass:Oa,multi:!0,deps:[ea]},[],{provide:wa,useClass:wa,deps:[da,ya,zs]},{provide:Bi,useExisting:wa},{provide:ma,useExisting:ya},{provide:ya,useClass:ya,deps:[ea]},{provide:yo,useClass:yo,deps:[ao]},{provide:da,useClass:da,deps:[pa,ao]},[]];let Ma=(()=>{class t{constructor(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.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:zs,useValue:e.appId},{provide:ca,useExisting:zs},ua]}}}return t.\u0275mod=oe({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)($t(t,12))},providers:Da,imports:[sa,Oo]}),t})();"undefined"!=typeof window&&window;class Pa{}const Fa="*";function ja(t,e=null){return{type:2,steps:t,options:e}}function Ra(t){return{type:6,styles:t,offset:null}}function La(t){Promise.resolve(null).then(t)}class Ha{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){La(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){}setPosition(t){}getPosition(){return 0}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class Va{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,r=0;const i=this.players.length;0==i?La(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==i&&this._onFinish()}),t.onDestroy(()=>{++n==i&&this._onDestroy()}),t.onStart(()=>{++r==i&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}getPosition(){let t=0;return this.players.forEach(e=>{const n=e.getPosition();t=Math.min(n,t)}),t}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}function Ba(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function za(t){switch(t.length){case 0:return new Ha;case 1:return t[0];default:return new Va(t)}}function qa(t,e,n,r,i={},s={}){const o=[],a=[];let l=-1,c=null;if(r.forEach(t=>{const n=t.offset,r=n==l,u=r&&c||{};Object.keys(t).forEach(n=>{let r=n,a=t[n];if("offset"!==n)switch(r=e.normalizePropertyName(r,o),a){case"!":a=i[n];break;case Fa:a=s[n];break;default:a=e.normalizeStyleValue(n,r,a,o)}u[r]=a}),r||a.push(u),c=u,l=n}),o.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${o.join(t)}`)}return a}function $a(t,e,n,r){switch(e){case"start":t.onStart(()=>r(n&&Qa(n,"start",t)));break;case"done":t.onDone(()=>r(n&&Qa(n,"done",t)));break;case"destroy":t.onDestroy(()=>r(n&&Qa(n,"destroy",t)))}}function Qa(t,e,n){const r=n.totalTime,i=Wa(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==r?t.totalTime:r,!!n.disabled),s=t._data;return null!=s&&(i._data=s),i}function Wa(t,e,n,r,i="",s=0,o){return{element:t,triggerName:e,fromState:n,toState:r,phaseName:i,totalTime:s,disabled:!!o}}function Ua(t,e,n){let r;return t instanceof Map?(r=t.get(e),r||t.set(e,r=n)):(r=t[e],r||(r=t[e]=n)),r}function Za(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let Ya=(t,e)=>!1,Ka=(t,e)=>!1,Xa=(t,e,n)=>[];const Ga=Ba();(Ga||"undefined"!=typeof Element)&&(Ya=(t,e)=>t.contains(e),Ka=(()=>{if(Ga||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,n)=>e.apply(t,[n]):Ka}})(),Xa=(t,e,n)=>{let r=[];if(n)r.push(...t.querySelectorAll(e));else{const n=t.querySelector(e);n&&r.push(n)}return r});let Ja=null,tl=!1;function el(t){Ja||(Ja=("undefined"!=typeof document?document.body:null)||{},tl=!!Ja.style&&"WebkitAppearance"in Ja.style);let e=!0;return Ja.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in Ja.style,!e&&tl)&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in Ja.style),e}const nl=Ka,rl=Ya,il=Xa;function sl(t){const e={};return Object.keys(t).forEach(n=>{const r=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[r]=t[n]}),e}let ol=(()=>{class t{validateStyleProperty(t){return el(t)}matchesElement(t,e){return nl(t,e)}containsElement(t,e){return rl(t,e)}query(t,e,n){return il(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,r,i,s=[],o){return new Ha(n,r)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})(),al=(()=>{class t{}return t.NOOP=new ol,t})();const ll="ng-enter",cl="ng-leave",ul="ng-trigger",hl=".ng-trigger",pl="ng-animating",dl=".ng-animating";function fl(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:ml(parseFloat(e[1]),e[2])}function ml(t,e){switch(e){case"s":return 1e3*t;default:return t}}function yl(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let r,i=0,s="";if("string"==typeof t){const n=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};r=ml(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(i=ml(parseFloat(o),n[4]));const a=n[5];a&&(s=a)}else r=t;if(!n){let n=!1,s=e.length;r<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),i<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(s,0,`The provided timing value "${t}" is invalid.`)}return{duration:r,delay:i,easing:s}}(t,e,n)}function gl(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function bl(t,e,n={}){if(e)for(let r in t)n[r]=t[r];else gl(t,n);return n}function vl(t,e,n){return n?e+":"+n+";":""}function _l(t){let e="";for(let n=0;n<t.style.length;n++){const r=t.style.item(n);e+=vl(0,r,t.style.getPropertyValue(r))}for(const n in t.style)t.style.hasOwnProperty(n)&&!n.startsWith("_")&&(e+=vl(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.style[n]));t.setAttribute("style",e)}function wl(t,e,n){t.style&&(Object.keys(e).forEach(r=>{const i=Il(r);n&&!n.hasOwnProperty(r)&&(n[r]=t.style[i]),t.style[i]=e[r]}),Ba()&&_l(t))}function xl(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=Il(e);t.style[n]=""}),Ba()&&_l(t))}function El(t){return Array.isArray(t)?1==t.length?t[0]:ja(t):t}const Sl=new RegExp("{{\\s*(.+?)\\s*}}","g");function kl(t){let e=[];if("string"==typeof t){let n;for(;n=Sl.exec(t);)e.push(n[1]);Sl.lastIndex=0}return e}function Tl(t,e,n){const r=t.toString(),i=r.replace(Sl,(t,r)=>{let i=e[r];return e.hasOwnProperty(r)||(n.push("Please provide a value for the animation param "+r),i=""),i.toString()});return i==r?t:i}function Cl(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const Al=/-+([a-z0-9])/g;function Il(t){return t.replace(Al,(...t)=>t[1].toUpperCase())}function Ol(t,e){return 0===t||0===e}function Nl(t,e,n){const r=Object.keys(n);if(r.length&&e.length){let s=e[0],o=[];if(r.forEach(t=>{s.hasOwnProperty(t)||o.push(t),s[t]=n[t]}),o.length)for(var i=1;i<e.length;i++){let n=e[i];o.forEach((function(e){n[e]=Ml(t,e)}))}}return e}function Dl(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw new Error("Unable to resolve animation metadata node #"+e.type)}}function Ml(t,e){return window.getComputedStyle(t)[e]}const Pl="*";function Fl(t,e){const n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(t=>function(t,e,n){if(":"==t[0]){const r=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e)<parseFloat(t);default:return e.push(`The transition alias value "${t}" is not supported`),"* => *"}}(t,n);if("function"==typeof r)return void e.push(r);t=r}const r=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const i=r[1],s=r[2],o=r[3];e.push(Ll(i,o)),"<"!=s[0]||i==Pl&&o==Pl||e.push(Ll(o,i))}(t,n,e)):n.push(t),n}const jl=new Set(["true","1"]),Rl=new Set(["false","0"]);function Ll(t,e){const n=jl.has(t)||Rl.has(t),r=jl.has(e)||Rl.has(e);return(i,s)=>{let o=t==Pl||t==i,a=e==Pl||e==s;return!o&&n&&"boolean"==typeof i&&(o=i?jl.has(t):Rl.has(t)),!a&&r&&"boolean"==typeof s&&(a=s?jl.has(e):Rl.has(e)),o&&a}}const Hl=new RegExp("s*:selfs*,?","g");function Vl(t,e,n){return new Bl(t).build(e,n)}class Bl{constructor(t){this._driver=t}build(t,e){const n=new zl(e);return this._resetContextStyleTimingState(n),Dl(this,El(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,r=e.depCount=0;const i=[],s=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,r=n.name;r.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,i.push(this.visitState(n,e))}),n.name=r}else if(1==t.type){const i=this.visitTransition(t,e);n+=i.queryCount,r+=i.depCount,s.push(i)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:i,transitions:s,queryCount:n,depCount:r,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(n.containsDynamicStyles){const i=new Set,s=r||{};if(n.styles.forEach(t=>{if(ql(t)){const e=t;Object.keys(e).forEach(t=>{kl(e[t]).forEach(t=>{s.hasOwnProperty(t)||i.add(t)})})}}),i.size){const n=Cl(i.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:t.name,style:n,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=Dl(this,El(t.animation),e);return{type:1,matchers:Fl(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:$l(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>Dl(this,t,e)),options:$l(t.options)}}visitGroup(t,e){const n=e.currentTime;let r=0;const i=t.steps.map(t=>{e.currentTime=n;const i=Dl(this,t,e);return r=Math.max(r,e.currentTime),i});return e.currentTime=r,{type:3,steps:i,options:$l(t.options)}}visitAnimate(t,e){const n=function(t,e){let n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return Ql(yl(t,e).duration,0,"");const r=t;if(r.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=Ql(0,0,"");return t.dynamic=!0,t.strValue=r,t}return n=n||yl(r,e),Ql(n.duration,n.delay,n.easing)}(t.timings,e.errors);let r;e.currentAnimateTimings=n;let i=t.styles?t.styles:Ra({});if(5==i.type)r=this.visitKeyframes(i,e);else{let i=t.styles,s=!1;if(!i){s=!0;const t={};n.easing&&(t.easing=n.easing),i=Ra(t)}e.currentTime+=n.duration+n.delay;const o=this.visitStyle(i,e);o.isEmptyStep=s,r=o}return e.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?t==Fa?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let r=!1,i=null;return n.forEach(t=>{if(ql(t)){const e=t,n=e.easing;if(n&&(i=n,delete e.easing),!r)for(let t in e)if(e[t].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:i,offset:t.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let r=e.currentTime,i=e.currentTime;n&&i>0&&(i-=n.duration+n.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const s=e.collectedStyles[e.currentQuerySelector],o=s[n];let a=!0;o&&(i!=r&&i>=o.startTime&&r<=o.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${i}ms" and "${r}ms"`),a=!1),i=o.startTime),a&&(s[n]={startTime:i,endTime:r}),e.options&&function(t,e,n){const r=e.params||{},i=kl(t);i.length&&i.forEach(t=>{r.hasOwnProperty(t)||n.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[n],e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),n;let r=0;const i=[];let s=!1,o=!1,a=0;const l=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let l=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(ql(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(ql(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),c=0;return null!=l&&(r++,c=n.offset=l),o=o||c<0||c>1,s=s||c<a,a=c,i.push(c),n});o&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),s&&e.errors.push("Please ensure that all keyframe offsets are in order");const c=t.steps.length;let u=0;r>0&&r<c?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==r&&(u=1/(c-1));const h=c-1,p=e.currentTime,d=e.currentAnimateTimings,f=d.duration;return l.forEach((t,r)=>{const s=u>0?r==h?1:u*r:i[r],o=s*f;e.currentTime=p+d.delay+o,d.duration=o,this._validateStyleAst(t,e),t.offset=s,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:Dl(this,El(t.animation),e),options:$l(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:$l(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:$l(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;const[i,s]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(Hl,"")),[t=t.replace(/@\*/g,hl).replace(/@\w+/g,t=>".ng-trigger-"+t.substr(1)).replace(/:animating/g,dl),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+i:i,Ua(e.collectedStyles,e.currentQuerySelector,{});const o=Dl(this,El(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:i,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:o,originalSelector:t.selector,options:$l(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:yl(t.timings,e.errors,!0);return{type:12,animation:Dl(this,El(t.animation),e),timings:n,options:null}}}class zl{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function ql(t){return!Array.isArray(t)&&"object"==typeof t}function $l(t){var e;return t?(t=gl(t)).params&&(t.params=(e=t.params)?gl(e):null):t={},t}function Ql(t,e,n){return{duration:t,delay:e,easing:n}}function Wl(t,e,n,r,i,s,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:i,delay:s,totalTime:i+s,easing:o,subTimeline:a}}class Ul{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const Zl=new RegExp(":enter","g"),Yl=new RegExp(":leave","g");function Kl(t,e,n,r,i,s={},o={},a,l,c=[]){return(new Xl).buildKeyframes(t,e,n,r,i,s,o,a,l,c)}class Xl{buildKeyframes(t,e,n,r,i,s,o,a,l,c=[]){l=l||new Ul;const u=new Jl(t,e,l,r,i,c,[]);u.options=a,u.currentTimeline.setStyles([s],null,u.errors,a),Dl(this,n,u);const h=u.timelines.filter(t=>t.containsAnimation());if(h.length&&Object.keys(o).length){const t=h[h.length-1];t.allowOnlyTimelineStyles()||t.setStyles([o],null,u.errors,a)}return h.length?h.map(t=>t.buildKeyframes()):[Wl(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const r=e.createSubContext(t.options),i=e.currentTimeline.currentTime,s=this._visitSubInstructions(n,r,r.options);i!=s&&e.transformIntoNewTimeline(s)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,n){let r=e.currentTimeline.currentTime;const i=null!=n.duration?fl(n.duration):null,s=null!=n.delay?fl(n.delay):null;return 0!==i&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,i,s);r=Math.max(r,n.duration+n.delay)}),r}visitReference(t,e){e.updateOptions(t.options,!0),Dl(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let r=e;const i=t.options;if(i&&(i.params||i.delay)&&(r=e.createSubContext(i),r.transformIntoNewTimeline(),null!=i.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Gl);const t=fl(i.delay);r.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>Dl(this,t,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let r=e.currentTimeline.currentTime;const i=t.options&&t.options.delay?fl(t.options.delay):0;t.steps.forEach(s=>{const o=e.createSubContext(t.options);i&&o.delayNextStep(i),Dl(this,s,o),r=Math.max(r,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return yl(e.params?Tl(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());const i=t.style;5==i.type?this.visitKeyframes(i,e):(e.incrementTime(n.duration),this.visitStyle(i,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();const i=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(i):n.setStyles(t.styles,i,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,r=e.currentTimeline.duration,i=n.duration,s=e.createSubContext().currentTimeline;s.easing=n.easing,t.styles.forEach(t=>{s.forwardTime((t.offset||0)*i),s.setStyles(t.styles,t.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(r+i),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,r=t.options||{},i=r.delay?fl(r.delay):0;i&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Gl);let s=n;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=o.length;let a=null;o.forEach((n,r)=>{e.currentQueryIndex=r;const o=e.createSubContext(t.options,n);i&&o.delayNextStep(i),n===e.element&&(a=o.currentTimeline),Dl(this,t.animation,o),o.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,o.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,r=e.currentTimeline,i=t.timings,s=Math.abs(i.duration),o=s*(e.currentQueryTotal-1);let a=s*e.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const l=e.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;Dl(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-c+(r.startTime-n.currentTimeline.startTime)}}const Gl={};class Jl{constructor(t,e,n,r,i,s,o,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=s,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Gl,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new tc(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let r=this.options;null!=n.duration&&(r.duration=fl(n.duration)),null!=n.delay&&(r.delay=fl(n.delay));const i=n.params;if(i){let t=r.params;t||(t=this.options.params={}),Object.keys(i).forEach(n=>{e&&t.hasOwnProperty(n)||(t[n]=Tl(i[n],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(t=>{n[t]=e[t]})}}return t}createSubContext(t=null,e,n){const r=e||this.element,i=new Jl(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(t),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(t){return this.previousNode=Gl,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},i=new ec(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(i),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,r,i,s){let o=[];if(r&&o.push(this.element),t.length>0){t=(t=t.replace(Zl,"."+this._enterClassName)).replace(Yl,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=n);0!==n&&(e=n<0?e.slice(e.length+n,e.length):e.slice(0,n)),o.push(...e)}return i||0!=o.length||s.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class tc{constructor(t,e,n,r){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new tc(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||Fa,this._currentKeyframe[t]=Fa}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,r){e&&(this._previousKeyframe.easing=e);const i=r&&r.params||{},s=function(t,e){const n={};let r;return t.forEach(t=>{"*"===t?(r=r||Object.keys(e),r.forEach(t=>{n[t]=Fa})):bl(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(s).forEach(t=>{const e=Tl(s[t],i,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:Fa),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const n=this._styleSummary[e],r=t._styleSummary[e];(!n||r.time>n.time)&&this._updateStyle(e,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((i,s)=>{const o=bl(i,!0);Object.keys(o).forEach(n=>{const r=o[n];"!"==r?t.add(n):r==Fa&&e.add(n)}),n||(o.offset=s/this.duration),r.push(o)});const i=t.size?Cl(t.values()):[],s=e.size?Cl(e.values()):[];if(n){const t=r[0],e=gl(t);t.offset=0,e.offset=1,r=[t,e]}return Wl(this.element,r,i,s,this.duration,this.startTime,this.easing,!1)}}class ec extends tc{constructor(t,e,n,r,i,s,o=!1){super(t,e,s.delay),this.element=e,this.keyframes=n,this.preStyleProps=r,this.postStyleProps=i,this._stretchStartingKeyframe=o,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const i=[],s=n+e,o=e/s,a=bl(t[0],!1);a.offset=0,i.push(a);const l=bl(t[0],!1);l.offset=nc(o),i.push(l);const c=t.length-1;for(let r=1;r<=c;r++){let o=bl(t[r],!1);o.offset=nc((e+o.offset*n)/s),i.push(o)}n=s,e=0,r="",t=i}return Wl(this.element,t,this.preStyleProps,this.postStyleProps,n,e,r,!0)}}function nc(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class rc{}class ic extends rc{normalizePropertyName(t,e){return Il(t)}normalizeStyleValue(t,e,n,r){let i="";const s=n.toString().trim();if(sc[e]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&r.push(`Please provide a CSS unit value for ${t}:${n}`)}return s+i}}const sc=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function oc(t,e,n,r,i,s,o,a,l,c,u,h,p){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:s,toState:r,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:h,errors:p}}const ac={};class lc{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,r){return function(t,e,n,r,i){return t.some(t=>t(e,n,r,i))}(this.ast.matchers,t,e,n,r)}buildStyles(t,e,n){const r=this._stateStyles["*"],i=this._stateStyles[t],s=r?r.buildStyles(e,n):{};return i?i.buildStyles(e,n):s}build(t,e,n,r,i,s,o,a,l,c){const u=[],h=this.ast.options&&this.ast.options.params||ac,p=this.buildStyles(n,o&&o.params||ac,u),d=a&&a.params||ac,f=this.buildStyles(r,d,u),m=new Set,y=new Map,g=new Map,b="void"===r,v={params:Object.assign(Object.assign({},h),d)},_=c?[]:Kl(t,e,this.ast.animation,i,s,p,f,v,l,u);let w=0;if(_.forEach(t=>{w=Math.max(t.duration+t.delay,w)}),u.length)return oc(e,this._triggerName,n,r,b,p,f,[],[],y,g,w,u);_.forEach(t=>{const n=t.element,r=Ua(y,n,{});t.preStyleProps.forEach(t=>r[t]=!0);const i=Ua(g,n,{});t.postStyleProps.forEach(t=>i[t]=!0),n!==e&&m.add(n)});const x=Cl(m.values());return oc(e,this._triggerName,n,r,b,p,f,_,x,y,g,w)}}class cc{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const n={},r=gl(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(r[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const i=t;Object.keys(i).forEach(t=>{let s=i[t];s.length>1&&(s=Tl(s,r,e)),n[t]=s})}}),n}}class uc{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new cc(t.style,t.options&&t.options.params||{})}),hc(this.states,"true","1"),hc(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new lc(t,e,this.states))}),this.fallbackTransition=new lc(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,r){return this.transitionFactories.find(i=>i.match(t,e,n,r))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function hc(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const pc=new Ul;class dc{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],r=Vl(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[t]=r}_buildPlayer(t,e,n){const r=t.element,i=qa(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(r,i,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const r=[],i=this._animations[t];let s;const o=new Map;if(i?(s=Kl(this._driver,e,i,ll,cl,{},{},n,pc,r),s.forEach(t=>{const e=Ua(o,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(r.push("The requested animation doesn't exist or has already been destroyed"),s=[]),r.length)throw new Error("Unable to create the animation due to the following errors: "+r.join("\n"));o.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,Fa)})});const a=za(s.map(t=>{const e=o.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=a,a.onDestroy(()=>this.destroy(t)),this.players.push(a),a}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e}listen(t,e,n,r){const i=Wa(e,"","","");return $a(this._getPlayer(t),n,i,r),()=>{}}command(t,e,n,r){if("register"==n)return void this.register(t,r[0]);if("create"==n)return void this.create(t,e,r[0]||{});const i=this._getPlayer(t);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}}const fc="ng-animate-queued",mc="ng-animate-disabled",yc=".ng-animate-disabled",gc=[],bc={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},vc={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class _c{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=null!=(r=n?t.value:t)?r:null,n){const e=gl(t);delete e.value,this.options=e}else this.options={};var r;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(n=>{null==t[n]&&(t[n]=e[n])})}}}const wc="void",xc=new _c(wc);class Ec{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Oc(e,this._hostClassName)}listen(t,e,n,r){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${e}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(i=n)&&"done"!=i)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var i;const s=Ua(this._elementListeners,t,[]),o={name:e,phase:n,callback:r};s.push(o);const a=Ua(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(Oc(t,ul),Oc(t,"ng-trigger-"+e),a[e]=xc),()=>{this._engine.afterFlush(()=>{const t=s.indexOf(o);t>=0&&s.splice(t,1),this._triggers[e]||delete a[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,n,r=!0){const i=this._getTrigger(e),s=new kc(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(Oc(t,ul),Oc(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,o={}));let a=o[e];const l=new _c(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),o[e]=l,a||(a=xc),l.value!==wc&&a.value===l.value){if(!function(t,e){const n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(let i=0;i<n.length;i++){const r=n[i];if(!e.hasOwnProperty(r)||t[r]!==e[r])return!1}return!0}(a.params,l.params)){const e=[],n=i.matchStyles(a.value,a.params,e),r=i.matchStyles(l.value,l.params,e);e.length?this._engine.reportError(e):this._engine.afterFlush(()=>{xl(t,n),wl(t,r)})}return}const c=Ua(this._engine.playersByElement,t,[]);c.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let u=i.matchTransition(a.value,l.value,t,l.params),h=!1;if(!u){if(!r)return;u=i.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:u,fromState:a,toState:l,player:s,isFallbackTransition:h}),h||(Oc(t,fc),s.onStart(()=>{Nc(t,fc)})),s.onDone(()=>{let e=this.players.indexOf(s);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(s);t>=0&&n.splice(t,1)}}),this.players.push(s),c.push(s),s}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,n)=>{delete e[t]}),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const n=this._engine.driver.query(t,hl,!0);n.forEach(t=>{if(t.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach(n=>n.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,n,r){const i=this._engine.statesByElement.get(t);if(i){const s=[];if(Object.keys(i).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,wc,r);n&&s.push(n)}}),s.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&za(s).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t);if(e){const n=new Set;e.forEach(e=>{const r=e.name;if(n.has(r))return;n.add(r);const i=this._triggers[r].fallbackTransition,s=this._engine.statesByElement.get(t)[r]||xc,o=new _c(wc),a=new kc(this.id,r,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:r,transition:i,fromState:s,toState:o,player:a,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)r=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)n.markElementAsRemoved(this.id,t,!1,e);else{const r=t.__ng_removed;r&&r!==bc||(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Oc(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const r=n.player;if(r.destroyed)return;const i=n.element,s=this._elementListeners.get(i);s&&s.forEach(e=>{if(e.name==n.triggerName){const r=Wa(i,n.triggerName,n.fromState.value,n.toState.value);r._data=t,$a(n.player,e.phase,r,e.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,r=e.transition.ast.depCount;return 0==n||0==r?n-r:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class Sc{constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const n=new Ec(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList.length-1;if(n>=0){let r=!1;for(let i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,e)){this._namespaceList.splice(i+1,0,t),r=!0;break}r||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let r=this._namespaceLookup[t];r&&r.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(n);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n){const t=Object.keys(n);for(let r=0;r<t.length;r++){const i=n[t[r]].namespaceId;if(i){const t=this._fetchNamespace(i);t&&e.add(t)}}}return e}trigger(t,e,n,r){if(Tc(e)){const i=this._fetchNamespace(t);if(i)return i.trigger(e,n,r),!0}return!1}insertNode(t,e,n,r){if(!Tc(e))return;const i=e.__ng_removed;if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;const t=this.collectedLeaveElements.indexOf(e);t>=0&&this.collectedLeaveElements.splice(t,1)}if(t){const r=this._fetchNamespace(t);r&&r.insertNode(e,n)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Oc(t,mc)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Nc(t,mc))}removeNode(t,e,n,r){if(Tc(e)){const i=t?this._fetchNamespace(t):null;if(i?i.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(t,e,n,r){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,r,i){return Tc(e)?this._fetchNamespace(t).listen(e,n,r,i):()=>{}}_buildInstruction(t,e,n,r,i){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,r,t.fromState.options,t.toState.options,e,i)}destroyInnerAnimations(t){let e=this.driver.query(t,hl,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,dl,!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return za(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=bc,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,yc)&&this.markElementAsDisabled(t,!1),this.driver.query(t,yc,!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++)Oc(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{e=this._flushAnimations(n,t)}finally{for(let t=0;t<n.length;t++)n[t]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(t=>t()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?za(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+t.join("\n"))}_flushAnimations(t,e){const n=new Ul,r=[],i=new Map,s=[],o=new Map,a=new Map,l=new Map,c=new Set;this.disabledNodes.forEach(t=>{c.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let n=0;n<e.length;n++)c.add(e[n])});const u=this.bodyNode,h=Array.from(this.statesByElement.keys()),p=Ic(h,this.collectedEnterElements),d=new Map;let f=0;p.forEach((t,e)=>{const n=ll+f++;d.set(e,n),t.forEach(t=>Oc(t,n))});const m=[],y=new Set,g=new Set;for(let O=0;O<this.collectedLeaveElements.length;O++){const t=this.collectedLeaveElements[O],e=t.__ng_removed;e&&e.setForRemoval&&(m.push(t),y.add(t),e.hasAnimation?this.driver.query(t,".ng-star-inserted",!0).forEach(t=>y.add(t)):g.add(t))}const b=new Map,v=Ic(h,Array.from(y));v.forEach((t,e)=>{const n=cl+f++;b.set(e,n),t.forEach(t=>Oc(t,n))}),t.push(()=>{p.forEach((t,e)=>{const n=d.get(e);t.forEach(t=>Nc(t,n))}),v.forEach((t,e)=>{const n=b.get(e);t.forEach(t=>Nc(t,n))}),m.forEach(t=>{this.processLeaveNode(t)})});const _=[],w=[];for(let O=this._namespaceList.length-1;O>=0;O--)this._namespaceList[O].drainQueuedTransitions(e).forEach(t=>{const e=t.player,i=t.element;if(_.push(e),this.collectedEnterElements.length){const t=i.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const c=!u||!this.driver.containsElement(u,i),h=b.get(i),p=d.get(i),f=this._buildInstruction(t,n,p,h,c);if(f.errors&&f.errors.length)w.push(f);else{if(c)return e.onStart(()=>xl(i,f.fromStyles)),e.onDestroy(()=>wl(i,f.toStyles)),void r.push(e);if(t.isFallbackTransition)return e.onStart(()=>xl(i,f.fromStyles)),e.onDestroy(()=>wl(i,f.toStyles)),void r.push(e);f.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(i,f.timelines),s.push({instruction:f,player:e,element:i}),f.queriedElements.forEach(t=>Ua(o,t,[]).push(e)),f.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=a.get(e);t||a.set(e,t=new Set),n.forEach(e=>t.add(e))}}),f.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let r=l.get(e);r||l.set(e,r=new Set),n.forEach(t=>r.add(t))})}});if(w.length){const t=[];w.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),_.forEach(t=>t.destroy()),this.reportError(t)}const x=new Map,E=new Map;s.forEach(t=>{const e=t.element;n.has(e)&&(E.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,x))}),r.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{Ua(x,e,[]).push(t),t.destroy()})});const S=m.filter(t=>Mc(t,a,l)),k=new Map;Ac(k,this.driver,g,l,Fa).forEach(t=>{Mc(t,a,l)&&S.push(t)});const T=new Map;p.forEach((t,e)=>{Ac(T,this.driver,new Set(t),a,"!")}),S.forEach(t=>{const e=k.get(t),n=T.get(t);k.set(t,Object.assign(Object.assign({},e),n))});const C=[],A=[],I={};s.forEach(t=>{const{element:e,player:s,instruction:o}=t;if(n.has(e)){if(c.has(e))return s.onDestroy(()=>wl(e,o.toStyles)),s.disabled=!0,s.overrideTotalTime(o.totalTime),void r.push(s);let t=I;if(E.size>1){let n=e;const r=[];for(;n=n.parentNode;){const e=E.get(n);if(e){t=e;break}r.push(n)}r.forEach(e=>E.set(e,t))}const n=this._buildAnimation(s.namespaceId,o,x,i,T,k);if(s.setRealPlayer(n),t===I)C.push(s);else{const e=this.playersByElement.get(t);e&&e.length&&(s.parentPlayer=za(e)),r.push(s)}}else xl(e,o.fromStyles),s.onDestroy(()=>wl(e,o.toStyles)),A.push(s),c.has(e)&&r.push(s)}),A.forEach(t=>{const e=i.get(t.element);if(e&&e.length){const n=za(e);t.setRealPlayer(n)}}),r.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let O=0;O<m.length;O++){const t=m[O],e=t.__ng_removed;if(Nc(t,cl),e&&e.hasAnimation)continue;let n=[];if(o.size){let e=o.get(t);e&&e.length&&n.push(...e);let r=this.driver.query(t,dl,!0);for(let t=0;t<r.length;t++){let e=o.get(r[t]);e&&e.length&&n.push(...e)}}const r=n.filter(t=>!t.destroyed);r.length?Dc(this,t,r):this.processLeaveNode(t)}return m.length=0,C.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),C}elementContainsData(t,e){let n=!1;const r=e.__ng_removed;return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,r,i){let s=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(s=e)}else{const e=this.playersByElement.get(t);if(e){const t=!i||i==wc;e.forEach(e=>{e.queued||(t||e.triggerName==r)&&s.push(e)})}}return(n||r)&&(s=s.filter(t=>!(n&&n!=t.namespaceId||r&&r!=t.triggerName))),s}_beforeAnimationBuild(t,e,n){const r=e.element,i=e.isRemovalTransition?void 0:t,s=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,a=t!==r,l=Ua(n,t,[]);this._getPreviousPlayers(t,a,i,s,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})}xl(r,e.fromStyles)}_buildAnimation(t,e,n,r,i,s){const o=e.triggerName,a=e.element,l=[],c=new Set,u=new Set,h=e.timelines.map(e=>{const h=e.element;c.add(h);const p=h.__ng_removed;if(p&&p.removedBeforeQueried)return new Ha(e.duration,e.delay);const d=h!==a,f=function(t){const e=[];return function t(e,n){for(let r=0;r<e.length;r++){const i=e[r];i instanceof Va?t(i.players,n):n.push(i)}}(t,e),e}((n.get(h)||gc).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===h),m=i.get(h),y=s.get(h),g=qa(0,this._normalizer,0,e.keyframes,m,y),b=this._buildPlayer(e,g,f);if(e.subTimeline&&r&&u.add(h),d){const e=new kc(t,o,h);e.setRealPlayer(b),l.push(e)}return b});l.forEach(t=>{Ua(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let r;if(t instanceof Map){if(r=t.get(e),r){if(r.length){const t=r.indexOf(n);r.splice(t,1)}0==r.length&&t.delete(e)}}else if(r=t[e],r){if(r.length){const t=r.indexOf(n);r.splice(t,1)}0==r.length&&delete t[e]}return r}(this.playersByQueriedElement,t.element,t))}),c.forEach(t=>Oc(t,pl));const p=za(h);return p.onDestroy(()=>{c.forEach(t=>Nc(t,pl)),wl(a,e.toStyles)}),u.forEach(t=>{Ua(r,t,[]).push(p)}),p}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new Ha(t.duration,t.delay)}}class kc{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new Ha,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(n=>$a(t,e,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){Ua(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function Tc(t){return t&&1===t.nodeType}function Cc(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function Ac(t,e,n,r,i){const s=[];n.forEach(t=>s.push(Cc(t)));const o=[];r.forEach((n,r)=>{const s={};n.forEach(t=>{const n=s[t]=e.computeStyle(r,t,i);n&&0!=n.length||(r.__ng_removed=vc,o.push(r))}),t.set(r,s)});let a=0;return n.forEach(t=>Cc(t,s[a++])),o}function Ic(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const r=new Set(e),i=new Map;return e.forEach(t=>{const e=function t(e){if(!e)return 1;let s=i.get(e);if(s)return s;const o=e.parentNode;return s=n.has(o)?o:r.has(o)?1:t(o),i.set(e,s),s}(t);1!==e&&n.get(e).push(t)}),n}function Oc(t,e){if(t.classList)t.classList.add(e);else{let n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function Nc(t,e){if(t.classList)t.classList.remove(e);else{let n=t.$$classes;n&&delete n[e]}}function Dc(t,e,n){za(n).onDone(()=>t.processLeaveNode(e))}function Mc(t,e,n){const r=n.get(t);if(!r)return!1;let i=e.get(t);return i?r.forEach(t=>i.add(t)):e.set(t,r),n.delete(t),!0}class Pc{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new Sc(t,e,n),this._timelineEngine=new dc(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,r,i){const s=t+"-"+r;let o=this._triggerCache[s];if(!o){const t=[],e=Vl(this._driver,i,t);if(t.length)throw new Error(`The animation trigger "${r}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);o=function(t,e){return new uc(t,e)}(r,e),this._triggerCache[s]=o}this._transitionEngine.registerTrigger(e,r,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,r){this._transitionEngine.insertNode(t,e,n,r)}onRemove(t,e,n,r){this._transitionEngine.removeNode(t,e,r||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,r){if("@"==n.charAt(0)){const[t,i]=Za(n);this._timelineEngine.command(t,e,i,r)}else this._transitionEngine.trigger(t,e,n,r)}listen(t,e,n,r,i){if("@"==n.charAt(0)){const[t,r]=Za(n);return this._timelineEngine.listen(t,e,r,i)}return this._transitionEngine.listen(t,e,n,r,i)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Fc(t,e){let n=null,r=null;return Array.isArray(e)&&e.length?(n=Rc(e[0]),e.length>1&&(r=Rc(e[e.length-1]))):e&&(n=Rc(e)),n||r?new jc(t,n,r):null}let jc=(()=>{class t{constructor(e,n,r){this._element=e,this._startStyles=n,this._endStyles=r,this._state=0;let i=t.initialStylesByElement.get(e);i||t.initialStylesByElement.set(e,i={}),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&wl(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(wl(this._element,this._initialStyles),this._endStyles&&(wl(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(xl(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(xl(this._element,this._endStyles),this._endStyles=null),wl(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function Rc(t){let e=null;const n=Object.keys(t);for(let r=0;r<n.length;r++){const i=n[r];Lc(i)&&(e=e||{},e[i]=t[i])}return e}function Lc(t){return"display"===t||"position"===t}const Hc="animation",Vc="animationend";class Bc{constructor(t,e,n,r,i,s,o){this._element=t,this._name=e,this._duration=n,this._delay=r,this._easing=i,this._fillMode=s,this._onDoneFn=o,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=t=>this._handleCallback(t)}apply(){!function(t,e){const n=Uc(t,"").trim();n.length&&(function(t,e){let n=0;for(let r=0;r<t.length;r++)","===t.charAt(r)&&n++}(n),e=`${n}, ${e}`),Wc(t,"",e)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),Qc(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){zc(this._element,this._name,"paused")}resume(){zc(this._element,this._name,"running")}setPosition(t){const e=qc(this._element,this._name);this._position=t*this._duration,Wc(this._element,"Delay",`-${this._position}ms`,e)}getPosition(){return this._position}_handleCallback(t){const e=t._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(t.elapsedTime.toFixed(3));t.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Qc(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=Uc(t,"").split(","),r=$c(n,e);r>=0&&(n.splice(r,1),Wc(t,"",n.join(",")))}(this._element,this._name))}}function zc(t,e,n){Wc(t,"PlayState",n,qc(t,e))}function qc(t,e){const n=Uc(t,"");return n.indexOf(",")>0?$c(n.split(","),e):$c([n],e)}function $c(t,e){for(let n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function Qc(t,e,n){n?t.removeEventListener(Vc,e):t.addEventListener(Vc,e)}function Wc(t,e,n,r){const i=Hc+e;if(null!=r){const e=t.style[i];if(e.length){const t=e.split(",");t[r]=n,n=t.join(",")}}t.style[i]=n}function Uc(t,e){return t.style[Hc+e]}class Zc{constructor(t,e,n,r,i,s,o,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=r,this._delay=i,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=s||"linear",this.totalTime=r+i,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new Bc(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(t[n]=e?this._finalStyles[n]:Ml(this.element,n))})}this.currentSnapshot=t}}class Yc extends Ha{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=sl(e)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class Kc{constructor(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}validateStyleProperty(t){return el(t)}matchesElement(t,e){return nl(t,e)}containsElement(t,e){return rl(t,e)}query(t,e,n){return il(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>sl(t));let r=`@keyframes ${e} {\n`,i="";n.forEach(t=>{i=" ";const e=parseFloat(t.offset);r+=`${i}${100*e}% {\n`,i+=" ",Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(r+=`${i}animation-timing-function: ${n};\n`));default:return void(r+=`${i}${e}: ${n};\n`)}}),r+=i+"}\n"}),r+="}\n";const s=document.createElement("style");return s.innerHTML=r,s}animate(t,e,n,r,i,s=[],o){o&&this._notifyFaultyScrubber();const a=s.filter(t=>t instanceof Zc),l={};Ol(n,r)&&a.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const c=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(n=>{"offset"!=n&&"easing"!=n&&(e[n]=t[n])})}),e}(e=Nl(t,e,l));if(0==n)return new Yc(t,c);const u="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,u,e);document.querySelector("head").appendChild(h);const p=Fc(t,e),d=new Zc(t,e,u,n,r,i,c,p);return d.onDestroy(()=>{var t;(t=h).parentNode.removeChild(t)}),d}_notifyFaultyScrubber(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}class Xc{constructor(t,e,n,r){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,n){return t.animate(e,n)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:Ml(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class Gc{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Jc().toString()),this._cssKeyframesDriver=new Kc}validateStyleProperty(t){return el(t)}matchesElement(t,e){return nl(t,e)}containsElement(t,e){return rl(t,e)}query(t,e,n){return il(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,r,i,s=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,r,i,s);const a={duration:n,delay:r,fill:0==r?"both":"forwards"};i&&(a.easing=i);const l={},c=s.filter(t=>t instanceof Xc);Ol(n,r)&&c.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const u=Fc(t,e=Nl(t,e=e.map(t=>bl(t,!1)),l));return new Xc(t,e,a,u)}}function Jc(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}let tu=(()=>{class t extends Pa{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:Jt.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?ja(t):t;return ru(this._renderer,null,e,"register",[n]),new eu(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)($t(Bi),$t(ea))},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})();class eu extends class{}{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new nu(this._id,t,e||{},this._renderer)}}class nu{constructor(t,e,n,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return ru(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset")}setPosition(t){this._command("setPosition",t)}getPosition(){return 0}}function ru(t,e,n,r,i){return t.setProperty(e,`@@${n}:${r}`,i)}const iu="@",su="@.disabled";let ou=(()=>{class t{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const n=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(n);return t||(t=new au("",n,this.engine),this._rendererCache.set(n,t)),t}const r=e.id,i=e.id+"-"+this._currentId;this._currentId++,this.engine.register(i,t);const s=e=>{Array.isArray(e)?e.forEach(s):this.engine.registerTrigger(r,i,t,e.name,e)};return e.data.animation.forEach(s),new lu(this,i,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){t>=0&&t<this._microtaskId?this._zone.run(()=>e(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,n]=t;e(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\u0275fac=function(e){return new(e||t)($t(Bi),$t(Pc),$t(ao))},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})();class au{constructor(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,!0)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,r){this.delegate.setAttribute(t,e,n,r)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,r){this.delegate.setStyle(t,e,n,r)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){e.charAt(0)==iu&&e==su?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class lu extends au{constructor(t,e,n,r){super(e,n,r),this.factory=t,this.namespaceId=e}setProperty(t,e,n){e.charAt(0)==iu?"."==e.charAt(1)&&e==su?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if(e.charAt(0)==iu){const r=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let i=e.substr(1),s="";return i.charAt(0)!=iu&&([i,s]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(i)),this.engine.listen(this.namespaceId,r,i,s,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}let cu=(()=>{class t extends Pc{constructor(t,e,n){super(t.body,e,n)}}return t.\u0275fac=function(e){return new(e||t)($t(ea),$t(al),$t(rc))},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})();const uu=[{provide:al,useFactory:function(){return"function"==typeof Jc()?new Gc:new Kc}},{provide:new Mt("AnimationModuleType"),useValue:"BrowserAnimations"},{provide:Pa,useClass:tu},{provide:rc,useFactory:function(){return new ic}},{provide:Pc,useClass:cu},{provide:Bi,useFactory:function(t,e,n){return new ou(t,e,n)},deps:[wa,Pc,ao]}];let hu=(()=>{class t{}return t.\u0275mod=oe({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)},providers:uu,imports:[Ma]}),t})();var pu=n("9BI+");const du=["wrapper"];let fu=(()=>{class t{constructor(){}ngOnChanges(){var t;null===(t=this.changeChartOptions)||void 0===t||t.call(this,this.options)}ngAfterViewInit(){this.changeChartOptions=Object(pu.generateContainerChart)(this.wrapper.nativeElement,this.options)}get options(){const t={data:this.data||[]};return this.orientation&&(t.orientation=this.orientation),this.padding&&(t.padding=this.padding),this.reversed&&(t.reversed=this.reversed),this.verticalTextTopDown&&(t.verticalTextTopDown=this.verticalTextTopDown),this.onClick&&(t.select=this.onClick),t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=(e={type:t,selectors:[["drayman-claviz-charts-internal"]],viewQuery:function(t,e){var n,r,i,s,o,a;1&t&&(s=du,o=!0,function(t,e,n,r,i,s){t.firstCreatePass&&function(t,e,n){null===t.queries&&(t.queries=new Ps),t.queries.track(new Fs(e,-1))}(t,new Ms(n,r,!1,i)),function(t,e){const n=new Os;br(t,e,n,n.destroy),null===e[19]&&(e[19]=new Ds),e[19].queries.push(new Ns(n))}(t,e)}(He(),Le(),s,o,a)),2&t&&function(t){const e=Le(),n=He(),r=Ue();Ze(r+1);const i=Hs(n,r);if(t.dirty&&Ne(e)===i.metadata.isStatic){if(null===i.matches)t.reset([]);else{const s=i.crossesNgTemplate?function t(e,n,r,i){const s=e.queries.getByIndex(r),o=s.matches;if(null!==o){const a=Ls(e,n,s,r);for(let e=0;e<o.length;e+=2){const r=o[e];if(r>0)i.push(a[e/2]);else{const s=o[e+1],a=n[-r];for(let e=pe;e<a.length;e++){const n=a[e];n[17]===n[3]&&t(n[1],n,s,i)}if(null!==a[9]){const e=a[9];for(let n=0;n<e.length;n++){const r=e[n];t(r[1],r,s,i)}}}}}return i}(n,e,r,[]):Ls(n,e,i,r);t.reset(s),t.notifyOnChanges()}return!0}return!1}((r=Le(),i=Ue(),n=r[19].queries[i].queryList))&&(e.wrapper=n.first)},inputs:{padding:"padding",data:"data",reversed:"reversed",orientation:"orientation",verticalTextTopDown:"verticalTextTopDown",onClick:"onClick"},features:[ve],decls:2,vars:0,consts:[[2,"height","100%","width","100%"],["wrapper",""]],template:function(t,e){1&t&&(Mi(0,"div",0,1),function(){let t=Ve();ze()?je.lFrame.isParent=!1:(t=t.parent,Be(t,!1));const e=t;je.lFrame.elementDepthCount--;const n=He();n.firstCreatePass&&(rn(n,t),me(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&Di(n,e,Le(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&Di(n,e,Le(),e.stylesWithoutHost,!1)}())},styles:[""]},X(()=>{const t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Gt.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||ee,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Jt.Emulated,id:"c",styles:e.styles||ee,_:null,setInput:null,schemas:e.schemas||null,tView:null},r=e.directives,i=e.features,s=e.pipes;return n.id+=ne++,n.inputs=ae(e.inputs,t),n.outputs=ae(e.outputs),i&&i.forEach(t=>t(n)),n.directiveDefs=r?()=>("function"==typeof r?r():r).map(re):null,n.pipeDefs=s?()=>("function"==typeof s?s():s).map(ie):null,n})),t;var e})(),mu=(()=>{class t{constructor(t){this.injector=t}ngDoBootstrap(){const t=function(t,e){const n=function(t,e){return e.get(Li).resolveComponentFactory(t).inputs}(t,e.injector),r=e.strategyFactory||new Yo(t,e.injector),i=function(t){const e={};return t.forEach(({propName:t,templateName:n})=>{var r;e[(r=n,r.replace(/[A-Z]/g,t=>"-"+t.toLowerCase()))]=t}),e}(n);class s extends Xo{constructor(t){super(),this.injector=t}get ngElementStrategy(){if(!this._ngElementStrategy){const t=this._ngElementStrategy=r.create(this.injector||e.injector),i=n.filter(({propName:t})=>this.hasOwnProperty(t)).map(({propName:t})=>[t,this[t]]);this instanceof s?i.forEach(([t])=>delete this[t]):Go(n,this),i.forEach(([e,n])=>t.setInputValue(e,n))}return this._ngElementStrategy}attributeChangedCallback(t,e,n,r){this.ngElementStrategy.setInputValue(i[t],n)}connectedCallback(){let t=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),t=!0),this.ngElementStrategy.connect(this),t||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(t=>{const e=function(t,e,n){if("function"!=typeof CustomEvent){const r=t.createEvent("CustomEvent");return r.initCustomEvent(e,!1,!1,n),r}return new CustomEvent(e,{bubbles:!1,cancelable:!1,detail:n})}(this.ownerDocument,t.name,t.value);this.dispatchEvent(e)})}}return s.observedAttributes=Object.keys(i),Object.defineProperty(s.prototype,"ngElementStrategy",{enumerable:!0}),Go(n,s.prototype),s}(fu,{injector:this.injector});customElements.define("drayman-claviz-charts",t)}}return t.\u0275mod=oe({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)($t(Ti))},imports:[[Ma,hu]]}),t})();(function(){if(Bn)throw new Error("Cannot enable prod mode after platform setup.");Vn=!1})(),Na().bootstrapModule(mu).catch(t=>console.error(t))},zn8P:function(t,e){function n(t){return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}))}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="zn8P"}});
1
+ (()=>{var Jv={522:xr=>{window,xr.exports=function(Qe){var Ue={};function Z(B){if(Ue[B])return Ue[B].exports;var he=Ue[B]={i:B,l:!1,exports:{}};return Qe[B].call(he.exports,he,he.exports,Z),he.l=!0,he.exports}return Z.m=Qe,Z.c=Ue,Z.d=function(B,he,qe){Z.o(B,he)||Object.defineProperty(B,he,{enumerable:!0,get:qe})},Z.r=function(B){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(B,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(B,"__esModule",{value:!0})},Z.t=function(B,he){if(1&he&&(B=Z(B)),8&he||4&he&&"object"==typeof B&&B&&B.__esModule)return B;var qe=Object.create(null);if(Z.r(qe),Object.defineProperty(qe,"default",{enumerable:!0,value:B}),2&he&&"string"!=typeof B)for(var lt in B)Z.d(qe,lt,function(Te){return B[Te]}.bind(null,lt));return qe},Z.n=function(B){var he=B&&B.__esModule?function(){return B.default}:function(){return B};return Z.d(he,"a",he),he},Z.o=function(B,he){return Object.prototype.hasOwnProperty.call(B,he)},Z.p="",Z(Z.s=12)}([function(Qe,Ue,Z){"use strict";Qe.exports=function(B){var he=[];return he.toString=function(){return this.map(function(qe){var lt=function(Te,K){var Ve=Te[1]||"",Ae=Te[3];if(!Ae)return Ve;if(K&&"function"==typeof btoa){var Gt="/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(Ae))))+" */",ie=Ae.sources.map(function(De){return"/*# sourceURL="+Ae.sourceRoot+De+" */"});return[Ve].concat(ie).concat([Gt]).join("\n")}return[Ve].join("\n")}(qe,B);return qe[2]?"@media "+qe[2]+"{"+lt+"}":lt}).join("")},he.i=function(qe,lt){"string"==typeof qe&&(qe=[[null,qe,""]]);for(var Te={},K=0;K<this.length;K++){var Ve=this[K][0];null!=Ve&&(Te[Ve]=!0)}for(K=0;K<qe.length;K++){var Ae=qe[K];null!=Ae[0]&&Te[Ae[0]]||(lt&&!Ae[2]?Ae[2]=lt:lt&&(Ae[2]="("+Ae[2]+") and ("+lt+")"),he.push(Ae))}},he}},function(Qe,Ue,Z){var B,he,C,qe={},lt=(B=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===he&&(he=B.apply(this,arguments)),he}),Te=(C={},function(T,$){if("function"==typeof T)return T();if(void 0===C[T]){var L=function(V,ue){return ue?ue.querySelector(V):document.querySelector(V)}.call(this,T,$);if(window.HTMLIFrameElement&&L instanceof window.HTMLIFrameElement)try{L=L.contentDocument.head}catch(V){L=null}C[T]=L}return C[T]}),K=null,Ve=0,Ae=[],Gt=Z(7);function ie(te,C){for(var T=0;T<te.length;T++){var $=te[T],L=qe[$.id];if(L){L.refs++;for(var V=0;V<L.parts.length;V++)L.parts[V]($.parts[V]);for(;V<$.parts.length;V++)L.parts.push(Nt($.parts[V],C))}else{var ue=[];for(V=0;V<$.parts.length;V++)ue.push(Nt($.parts[V],C));qe[$.id]={id:$.id,refs:1,parts:ue}}}}function xe(te,C){for(var T=[],$={},L=0;L<te.length;L++){var V=te[L],ue=C.base?V[0]+C.base:V[0],ee={css:V[1],media:V[2],sourceMap:V[3]};$[ue]?$[ue].parts.push(ee):T.push($[ue]={id:ue,parts:[ee]})}return T}function De(te,C){var T=Te(te.insertInto);if(!T)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var $=Ae[Ae.length-1];if("top"===te.insertAt)$?$.nextSibling?T.insertBefore(C,$.nextSibling):T.appendChild(C):T.insertBefore(C,T.firstChild),Ae.push(C);else if("bottom"===te.insertAt)T.appendChild(C);else{if("object"!=typeof te.insertAt||!te.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var L=Te(te.insertAt.before,T);T.insertBefore(C,L)}}function _t(te){if(null===te.parentNode)return!1;te.parentNode.removeChild(te);var C=Ae.indexOf(te);C>=0&&Ae.splice(C,1)}function ot(te){var C=document.createElement("style");if(void 0===te.attrs.type&&(te.attrs.type="text/css"),void 0===te.attrs.nonce){var T=Z.nc;T&&(te.attrs.nonce=T)}return ce(C,te.attrs),De(te,C),C}function ce(te,C){Object.keys(C).forEach(function(T){te.setAttribute(T,C[T])})}function Nt(te,C){var T,$,L,V,ee,ge;if(C.transform&&te.css){if(!(V="function"==typeof C.transform?C.transform(te.css):C.transform.default(te.css)))return function(){};te.css=V}if(C.singleton){var ue=Ve++;T=K||(K=ot(C)),$=bt.bind(null,T,ue,!1),L=bt.bind(null,T,ue,!0)}else te.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(ee=C,ge=document.createElement("link"),void 0===ee.attrs.type&&(ee.attrs.type="text/css"),ee.attrs.rel="stylesheet",ce(ge,ee.attrs),De(ee,ge),$=function(ee,ge,ft){var et=ft.css,wt=ft.sourceMap;(ge.convertToAbsoluteUrls||void 0===ge.convertToAbsoluteUrls&&wt)&&(et=Gt(et)),wt&&(et+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(wt))))+" */");var ut=new Blob([et],{type:"text/css"}),ct=ee.href;ee.href=URL.createObjectURL(ut),ct&&URL.revokeObjectURL(ct)}.bind(null,T=ge,C),L=function(){_t(T),T.href&&URL.revokeObjectURL(T.href)}):(T=ot(C),$=function(ee,ge){var ft=ge.css,et=ge.media;if(et&&ee.setAttribute("media",et),ee.styleSheet)ee.styleSheet.cssText=ft;else{for(;ee.firstChild;)ee.removeChild(ee.firstChild);ee.appendChild(document.createTextNode(ft))}}.bind(null,T),L=function(){_t(T)});return $(te),function(ee){if(ee){if(ee.css===te.css&&ee.media===te.media&&ee.sourceMap===te.sourceMap)return;$(te=ee)}else L()}}Qe.exports=function(te,C){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(C=C||{}).attrs="object"==typeof C.attrs?C.attrs:{},C.singleton||"boolean"==typeof C.singleton||(C.singleton=lt()),C.insertInto||(C.insertInto="head"),C.insertAt||(C.insertAt="bottom");var T=xe(te,C);return ie(T,C),function($){for(var L=[],V=0;V<T.length;V++)(ee=qe[T[V].id]).refs--,L.push(ee);for($&&ie(xe($,C),C),V=0;V<L.length;V++){var ee;if(0===(ee=L[V]).refs){for(var ge=0;ge<ee.parts.length;ge++)ee.parts[ge]();delete qe[ee.id]}}}};var Ge,Ne=(Ge=[],function(te,C){return Ge[te]=C,Ge.filter(Boolean).join("\n")});function bt(te,C,T,$){var L=T?"":$.css;if(te.styleSheet)te.styleSheet.cssText=Ne(C,L);else{var V=document.createTextNode(L),ue=te.childNodes;ue[C]&&te.removeChild(ue[C]),ue.length?te.insertBefore(V,ue[C]):te.appendChild(V)}}},function(Qe,Ue,Z){"use strict";var B,he;void 0===(he="function"==typeof(B=function(){if("undefined"==typeof window)return null;var qe="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),lt=qe.requestAnimationFrame||qe.mozRequestAnimationFrame||qe.webkitRequestAnimationFrame||function(ie){return qe.setTimeout(ie,20)};function Te(ie,xe){var De=Object.prototype.toString.call(ie),_t="[object Array]"===De||"[object NodeList]"===De||"[object HTMLCollection]"===De||"[object Object]"===De||"undefined"!=typeof jQuery&&ie instanceof jQuery||"undefined"!=typeof Elements&&ie instanceof Elements,ot=0,ce=ie.length;if(_t)for(;ot<ce;ot++)xe(ie[ot]);else xe(ie)}function K(ie){if(!ie.getBoundingClientRect)return{width:ie.offsetWidth,height:ie.offsetHeight};var xe=ie.getBoundingClientRect();return{width:Math.round(xe.width),height:Math.round(xe.height)}}function Ve(ie,xe){Object.keys(xe).forEach(function(De){ie.style[De]=xe[De]})}var Ae=function(ie,xe){var De=0;function _t(){var ce,Nt,Ge=[];this.add=function(Ne){Ge.push(Ne)},this.call=function(Ne){for(ce=0,Nt=Ge.length;ce<Nt;ce++)Ge[ce].call(this,Ne)},this.remove=function(Ne){var bt=[];for(ce=0,Nt=Ge.length;ce<Nt;ce++)Ge[ce]!==Ne&&bt.push(Ge[ce]);Ge=bt},this.length=function(){return Ge.length}}Te(ie,function(ce){!function ot(ce,Nt){if(ce)if(ce.resizedAttached)ce.resizedAttached.add(Nt);else{ce.resizedAttached=new _t,ce.resizedAttached.add(Nt),ce.resizeSensor=document.createElement("div"),ce.resizeSensor.dir="ltr",ce.resizeSensor.className="resize-sensor";var Ge={pointerEvents:"none",position:"absolute",left:"0px",top:"0px",right:"0px",bottom:"0px",overflow:"hidden",zIndex:"-1",visibility:"hidden",maxWidth:"100%"},Ne={position:"absolute",left:"0px",top:"0px",transition:"0s"};Ve(ce.resizeSensor,Ge);var bt=document.createElement("div");bt.className="resize-sensor-expand",Ve(bt,Ge);var te=document.createElement("div");Ve(te,Ne),bt.appendChild(te);var C=document.createElement("div");C.className="resize-sensor-shrink",Ve(C,Ge);var T=document.createElement("div");Ve(T,Ne),Ve(T,{width:"200%",height:"200%"}),C.appendChild(T),ce.resizeSensor.appendChild(bt),ce.resizeSensor.appendChild(C),ce.appendChild(ce.resizeSensor);var $,L,V=window.getComputedStyle(ce),ue=V?V.getPropertyValue("position"):null;"absolute"!==ue&&"relative"!==ue&&"fixed"!==ue&&"sticky"!==ue&&(ce.style.position="relative");var ee=K(ce),ge=0,ft=0,et=!0;De=0;var wt=function(){if(et){if(0===ce.offsetWidth&&0===ce.offsetHeight)return void(De||(De=lt(function(){De=0,wt()})));et=!1}var Jt,ln;ln=ce.offsetHeight,te.style.width=(Jt=ce.offsetWidth)+10+"px",te.style.height=ln+10+"px",bt.scrollLeft=Jt+10,bt.scrollTop=ln+10,C.scrollLeft=Jt+10,C.scrollTop=ln+10};ce.resizeSensor.resetSensor=wt;var St=function(){L=0,$&&(ge=ee.width,ft=ee.height,ce.resizedAttached&&ce.resizedAttached.call(ee))},ut=function(){ee=K(ce),($=ee.width!==ge||ee.height!==ft)&&!L&&(L=lt(St)),wt()},ct=function(jt,Jt,ln){jt.attachEvent?jt.attachEvent("on"+Jt,ln):jt.addEventListener(Jt,ln)};ct(bt,"scroll",ut),ct(C,"scroll",ut),De=lt(wt)}}(ce,xe)}),this.detach=function(ce){De||(window.cancelAnimationFrame(De),De=0),Ae.detach(ie,ce)},this.reset=function(){ie.resizeSensor.resetSensor()}};if(Ae.reset=function(ie){Te(ie,function(xe){xe.resizeSensor.resetSensor()})},Ae.detach=function(ie,xe){Te(ie,function(De){De&&(De.resizedAttached&&"function"==typeof xe&&(De.resizedAttached.remove(xe),De.resizedAttached.length())||De.resizeSensor&&(De.contains(De.resizeSensor)&&De.removeChild(De.resizeSensor),delete De.resizeSensor,delete De.resizedAttached))})},"undefined"!=typeof MutationObserver){var Gt=new MutationObserver(function(ie){for(var xe in ie)if(ie.hasOwnProperty(xe))for(var De=ie[xe].addedNodes,_t=0;_t<De.length;_t++)De[_t].resizeSensor&&Ae.reset(De[_t])});document.addEventListener("DOMContentLoaded",function(ie){Gt.observe(document.body,{childList:!0,subtree:!0})})}return Ae})?B.call(Ue,Z,Ue,Qe):B)||(Qe.exports=he)},function(Qe,Ue,Z){Qe.exports={ResizeSensor:Z(2),ElementQueries:Z(10)}},function(Qe,Ue,Z){"use strict";(function(B){for(var he="undefined"!=typeof window&&"undefined"!=typeof document,qe=["Edge","Trident","Firefox"],lt=0,Te=0;Te<qe.length;Te+=1)if(he&&navigator.userAgent.indexOf(qe[Te])>=0){lt=1;break}var K=he&&window.Promise?function(f){var y=!1;return function(){y||(y=!0,window.Promise.resolve().then(function(){y=!1,f()}))}}:function(f){var y=!1;return function(){y||(y=!0,setTimeout(function(){y=!1,f()},lt))}};function Ve(f){return f&&"[object Function]"==={}.toString.call(f)}function Ae(f,y){if(1!==f.nodeType)return[];var _=f.ownerDocument.defaultView.getComputedStyle(f,null);return y?_[y]:_}function Gt(f){return"HTML"===f.nodeName?f:f.parentNode||f.host}function ie(f){if(!f)return document.body;switch(f.nodeName){case"HTML":case"BODY":return f.ownerDocument.body;case"#document":return f.body}var y=Ae(f);return/(auto|scroll|overlay)/.test(y.overflow+y.overflowY+y.overflowX)?f:ie(Gt(f))}var xe=he&&!(!window.MSInputMethodContext||!document.documentMode),De=he&&/MSIE 10/.test(navigator.userAgent);function _t(f){return 11===f?xe:10===f?De:xe||De}function ot(f){if(!f)return document.documentElement;for(var y=_t(10)?document.body:null,_=f.offsetParent||null;_===y&&f.nextElementSibling;)_=(f=f.nextElementSibling).offsetParent;var E=_&&_.nodeName;return E&&"BODY"!==E&&"HTML"!==E?-1!==["TH","TD","TABLE"].indexOf(_.nodeName)&&"static"===Ae(_,"position")?ot(_):_:f?f.ownerDocument.documentElement:document.documentElement}function ce(f){return null!==f.parentNode?ce(f.parentNode):f}function Nt(f,y){if(!(f&&f.nodeType&&y&&y.nodeType))return document.documentElement;var _=f.compareDocumentPosition(y)&Node.DOCUMENT_POSITION_FOLLOWING,E=_?f:y,F=_?y:f,x=document.createRange();x.setStart(E,0),x.setEnd(F,0);var N,H,U=x.commonAncestorContainer;if(f!==U&&y!==U||E.contains(F))return"BODY"===(H=(N=U).nodeName)||"HTML"!==H&&ot(N.firstElementChild)!==N?ot(U):U;var se=ce(f);return se.host?Nt(se.host,y):Nt(f,ce(y).host)}function Ge(f){var y="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",_=f.nodeName;return"BODY"===_||"HTML"===_?(f.ownerDocument.scrollingElement||f.ownerDocument.documentElement)[y]:f[y]}function Ne(f,y){var _="x"===y?"Left":"Top",E="Left"===_?"Right":"Bottom";return parseFloat(f["border"+_+"Width"],10)+parseFloat(f["border"+E+"Width"],10)}function bt(f,y,_,E){return Math.max(y["offset"+f],y["scroll"+f],_["client"+f],_["offset"+f],_["scroll"+f],_t(10)?parseInt(_["offset"+f])+parseInt(E["margin"+("Height"===f?"Top":"Left")])+parseInt(E["margin"+("Height"===f?"Bottom":"Right")]):0)}function te(f){var y=f.body,_=f.documentElement,E=_t(10)&&getComputedStyle(_);return{height:bt("Height",y,_,E),width:bt("Width",y,_,E)}}var C=function(f,y){if(!(f instanceof y))throw new TypeError("Cannot call a class as a function")},T=function(){function f(y,_){for(var E=0;E<_.length;E++){var F=_[E];F.enumerable=F.enumerable||!1,F.configurable=!0,"value"in F&&(F.writable=!0),Object.defineProperty(y,F.key,F)}}return function(y,_,E){return _&&f(y.prototype,_),E&&f(y,E),y}}(),$=function(f,y,_){return y in f?Object.defineProperty(f,y,{value:_,enumerable:!0,configurable:!0,writable:!0}):f[y]=_,f},L=Object.assign||function(f){for(var y=1;y<arguments.length;y++){var _=arguments[y];for(var E in _)Object.prototype.hasOwnProperty.call(_,E)&&(f[E]=_[E])}return f};function V(f){return L({},f,{right:f.left+f.width,bottom:f.top+f.height})}function ue(f){var y={};try{if(_t(10)){y=f.getBoundingClientRect();var _=Ge(f,"top"),E=Ge(f,"left");y.top+=_,y.left+=E,y.bottom+=_,y.right+=E}else y=f.getBoundingClientRect()}catch(X){}var F={left:y.left,top:y.top,width:y.right-y.left,height:y.bottom-y.top},x="HTML"===f.nodeName?te(f.ownerDocument):{},U=f.offsetWidth-(x.width||f.clientWidth||F.right-F.left),se=f.offsetHeight-(x.height||f.clientHeight||F.bottom-F.top);if(U||se){var ae=Ae(f);U-=Ne(ae,"x"),se-=Ne(ae,"y"),F.width-=U,F.height-=se}return V(F)}function ee(f,y){var _=arguments.length>2&&void 0!==arguments[2]&&arguments[2],E=_t(10),F="HTML"===y.nodeName,x=ue(f),N=ue(y),H=ie(f),U=Ae(y),se=parseFloat(U.borderTopWidth,10),ae=parseFloat(U.borderLeftWidth,10);_&&F&&(N.top=Math.max(N.top,0),N.left=Math.max(N.left,0));var X=V({top:x.top-N.top-se,left:x.left-N.left-ae,width:x.width,height:x.height});if(X.marginTop=0,X.marginLeft=0,!E&&F){var de=parseFloat(U.marginTop,10),Me=parseFloat(U.marginLeft,10);X.top-=se-de,X.bottom-=se-de,X.left-=ae-Me,X.right-=ae-Me,X.marginTop=de,X.marginLeft=Me}return(E&&!_?y.contains(H):y===H&&"BODY"!==H.nodeName)&&(X=function(_e,tt){var gt=arguments.length>2&&void 0!==arguments[2]&&arguments[2],Wt=Ge(tt,"top"),mt=Ge(tt,"left"),ne=gt?-1:1;return _e.top+=Wt*ne,_e.bottom+=Wt*ne,_e.left+=mt*ne,_e.right+=mt*ne,_e}(X,y)),X}function ge(f){if(!f||!f.parentElement||_t())return document.documentElement;for(var y=f.parentElement;y&&"none"===Ae(y,"transform");)y=y.parentElement;return y||document.documentElement}function ft(f,y,_,E){var F=arguments.length>4&&void 0!==arguments[4]&&arguments[4],x={top:0,left:0},N=F?ge(f):Nt(f,y);if("viewport"===E)x=function(Me){var _e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],tt=Me.ownerDocument.documentElement,gt=ee(Me,tt),Wt=Math.max(tt.clientWidth,window.innerWidth||0),mt=Math.max(tt.clientHeight,window.innerHeight||0),ne=_e?0:Ge(tt),en=_e?0:Ge(tt,"left");return V({top:ne-gt.top+gt.marginTop,left:en-gt.left+gt.marginLeft,width:Wt,height:mt})}(N,F);else{var H=void 0;"scrollParent"===E?"BODY"===(H=ie(Gt(y))).nodeName&&(H=f.ownerDocument.documentElement):H="window"===E?f.ownerDocument.documentElement:E;var U=ee(H,N,F);if("HTML"!==H.nodeName||function Me(_e){var tt=_e.nodeName;if("BODY"===tt||"HTML"===tt)return!1;if("fixed"===Ae(_e,"position"))return!0;var gt=Gt(_e);return!!gt&&Me(gt)}(N))x=U;else{var se=te(f.ownerDocument),ae=se.height,X=se.width;x.top+=U.top-U.marginTop,x.bottom=ae+U.top,x.left+=U.left-U.marginLeft,x.right=X+U.left}}var de="number"==typeof(_=_||0);return x.left+=de?_:_.left||0,x.top+=de?_:_.top||0,x.right-=de?_:_.right||0,x.bottom-=de?_:_.bottom||0,x}function et(f,y,_,E,F){var x=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===f.indexOf("auto"))return f;var N=ft(_,E,x,F),H={top:{width:N.width,height:y.top-N.top},right:{width:N.right-y.right,height:N.height},bottom:{width:N.width,height:N.bottom-y.bottom},left:{width:y.left-N.left,height:N.height}},U=Object.keys(H).map(function(de){return L({key:de},H[de],{area:(Me=H[de],Me.width*Me.height)});var Me}).sort(function(de,Me){return Me.area-de.area}),se=U.filter(function(de){return de.width>=_.clientWidth&&de.height>=_.clientHeight}),ae=se.length>0?se[0].key:U[0].key,X=f.split("-")[1];return ae+(X?"-"+X:"")}function wt(f,y,_){var E=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return ee(_,E?ge(y):Nt(y,_),E)}function St(f){var y=f.ownerDocument.defaultView.getComputedStyle(f),_=parseFloat(y.marginTop||0)+parseFloat(y.marginBottom||0),E=parseFloat(y.marginLeft||0)+parseFloat(y.marginRight||0);return{width:f.offsetWidth+E,height:f.offsetHeight+_}}function ut(f){var y={left:"right",right:"left",bottom:"top",top:"bottom"};return f.replace(/left|right|bottom|top/g,function(_){return y[_]})}function ct(f,y,_){_=_.split("-")[0];var E=St(f),F={width:E.width,height:E.height},x=-1!==["right","left"].indexOf(_),N=x?"top":"left",H=x?"left":"top",U=x?"height":"width",se=x?"width":"height";return F[N]=y[N]+y[U]/2-E[U]/2,F[H]=_===H?y[H]-E[se]:y[ut(H)],F}function jt(f,y){return Array.prototype.find?f.find(y):f.filter(y)[0]}function Jt(f,y,_){return(void 0===_?f:f.slice(0,function(E,F,x){if(Array.prototype.findIndex)return E.findIndex(function(H){return H[F]===x});var N=jt(E,function(H){return H[F]===x});return E.indexOf(N)}(f,"name",_))).forEach(function(E){E.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var F=E.function||E.fn;E.enabled&&Ve(F)&&(y.offsets.popper=V(y.offsets.popper),y.offsets.reference=V(y.offsets.reference),y=F(y,E))}),y}function ln(f,y){return f.some(function(_){return _.enabled&&_.name===y})}function mr(f){for(var y=[!1,"ms","Webkit","Moz","O"],_=f.charAt(0).toUpperCase()+f.slice(1),E=0;E<y.length;E++){var F=y[E],x=F?""+F+_:f;if(void 0!==document.body.style[x])return x}return null}function zr(f){var y=f.ownerDocument;return y?y.defaultView:window}function ai(){var y;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(y=this.state,zr(this.reference).removeEventListener("resize",y.updateBound),y.scrollParents.forEach(function(_){_.removeEventListener("scroll",y.updateBound)}),y.updateBound=null,y.scrollParents=[],y.scrollElement=null,y.eventsEnabled=!1,y))}function Nr(f){return""!==f&&!isNaN(parseFloat(f))&&isFinite(f)}function li(f,y){Object.keys(y).forEach(function(_){var E="";-1!==["width","height","top","right","bottom","left"].indexOf(_)&&Nr(y[_])&&(E="px"),f.style[_]=y[_]+E})}var Oo=he&&/Firefox/i.test(navigator.userAgent);function Fi(f,y,_){var E=jt(f,function(H){return H.name===y}),F=!!E&&f.some(function(H){return H.name===_&&H.enabled&&H.order<E.order});if(!F){var x="`"+y+"`";console.warn("`"+_+"` modifier is required by "+x+" modifier in order to work, be sure to include it before "+x+"!")}return F}var Oi=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],qr=Oi.slice(3);function In(f){var y=arguments.length>1&&void 0!==arguments[1]&&arguments[1],_=qr.indexOf(f),E=qr.slice(_+1).concat(qr.slice(0,_));return y?E.reverse():E}var Pr_FLIP="flip",Pr_CLOCKWISE="clockwise",Pr_COUNTERCLOCKWISE="counterclockwise";var ci={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(f){var y=f.placement,_=y.split("-")[0],E=y.split("-")[1];if(E){var F=f.offsets,x=F.reference,N=F.popper,H=-1!==["bottom","top"].indexOf(_),U=H?"left":"top",se=H?"width":"height",ae={start:$({},U,x[U]),end:$({},U,x[U]+x[se]-N[se])};f.offsets.popper=L({},N,ae[E])}return f}},offset:{order:200,enabled:!0,fn:function(f,y){var U,_=y.offset,F=f.offsets,x=F.popper,N=F.reference,H=f.placement.split("-")[0];return U=Nr(+_)?[+_,0]:function ui(f,y,_,E){var F=[0,0],x=-1!==["right","left"].indexOf(E),N=f.split(/(\+|\-)/).map(function(ae){return ae.trim()}),H=N.indexOf(jt(N,function(ae){return-1!==ae.search(/,|\s/)}));N[H]&&-1===N[H].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var U=/\s*,\s*|\s+/,se=-1!==H?[N.slice(0,H).concat([N[H].split(U)[0]]),[N[H].split(U)[1]].concat(N.slice(H+1))]:[N];return(se=se.map(function(ae,X){var de=(1===X?!x:x)?"height":"width",Me=!1;return ae.reduce(function(_e,tt){return""===_e[_e.length-1]&&-1!==["+","-"].indexOf(tt)?(_e[_e.length-1]=tt,Me=!0,_e):Me?(_e[_e.length-1]+=tt,Me=!1,_e):_e.concat(tt)},[]).map(function(_e){return gt=de,Wt=y,mt=_,Oe=(ne=(tt=_e).match(/((?:\-|\+)?\d*\.?\d*)(.*)/))[2],(en=+ne[1])?0===Oe.indexOf("%")?V("%p"===Oe?Wt:mt)[gt]/100*en:"vh"===Oe||"vw"===Oe?("vh"===Oe?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*en:en:tt;var tt,gt,Wt,mt,ne,en,Oe})})).forEach(function(ae,X){ae.forEach(function(de,Me){Nr(de)&&(F[X]+=de*("-"===ae[Me-1]?-1:1))})}),F}(_,x,N,H),"left"===H?(x.top+=U[0],x.left-=U[1]):"right"===H?(x.top+=U[0],x.left+=U[1]):"top"===H?(x.left+=U[0],x.top-=U[1]):"bottom"===H&&(x.left+=U[0],x.top+=U[1]),f.popper=x,f},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(f,y){var _=y.boundariesElement||ot(f.instance.popper);f.instance.reference===_&&(_=ot(_));var E=mr("transform"),F=f.instance.popper.style,x=F.top,N=F.left,H=F[E];F.top="",F.left="",F[E]="";var U=ft(f.instance.popper,f.instance.reference,y.padding,_,f.positionFixed);F.top=x,F.left=N,F[E]=H,y.boundaries=U;var ae=f.offsets.popper,X={primary:function(de){var Me=ae[de];return ae[de]<U[de]&&!y.escapeWithReference&&(Me=Math.max(ae[de],U[de])),$({},de,Me)},secondary:function(de){var Me="right"===de?"left":"top",_e=ae[Me];return ae[de]>U[de]&&!y.escapeWithReference&&(_e=Math.min(ae[Me],U[de]-("right"===de?ae.width:ae.height))),$({},Me,_e)}};return y.priority.forEach(function(de){var Me=-1!==["left","top"].indexOf(de)?"primary":"secondary";ae=L({},ae,X[Me](de))}),f.offsets.popper=ae,f},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(f){var y=f.offsets,_=y.popper,E=y.reference,F=f.placement.split("-")[0],x=Math.floor,N=-1!==["top","bottom"].indexOf(F),H=N?"right":"bottom",U=N?"left":"top",se=N?"width":"height";return _[H]<x(E[U])&&(f.offsets.popper[U]=x(E[U])-_[se]),_[U]>x(E[H])&&(f.offsets.popper[U]=x(E[H])),f}},arrow:{order:500,enabled:!0,fn:function(f,y){var _;if(!Fi(f.instance.modifiers,"arrow","keepTogether"))return f;var E=y.element;if("string"==typeof E){if(!(E=f.instance.popper.querySelector(E)))return f}else if(!f.instance.popper.contains(E))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),f;var F=f.placement.split("-")[0],x=f.offsets,N=x.popper,H=x.reference,U=-1!==["left","right"].indexOf(F),se=U?"height":"width",ae=U?"Top":"Left",X=ae.toLowerCase(),de=U?"left":"top",Me=U?"bottom":"right",_e=St(E)[se];H[Me]-_e<N[X]&&(f.offsets.popper[X]-=N[X]-(H[Me]-_e)),H[X]+_e>N[Me]&&(f.offsets.popper[X]+=H[X]+_e-N[Me]),f.offsets.popper=V(f.offsets.popper);var tt=H[X]+H[se]/2-_e/2,gt=Ae(f.instance.popper),Wt=parseFloat(gt["margin"+ae],10),mt=parseFloat(gt["border"+ae+"Width"],10),ne=tt-f.offsets.popper[X]-Wt-mt;return ne=Math.max(Math.min(N[se]-_e,ne),0),f.arrowElement=E,f.offsets.arrow=($(_={},X,Math.round(ne)),$(_,de,""),_),f},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(f,y){if(ln(f.instance.modifiers,"inner")||f.flipped&&f.placement===f.originalPlacement)return f;var _=ft(f.instance.popper,f.instance.reference,y.padding,y.boundariesElement,f.positionFixed),E=f.placement.split("-")[0],F=ut(E),x=f.placement.split("-")[1]||"",N=[];switch(y.behavior){case Pr_FLIP:N=[E,F];break;case Pr_CLOCKWISE:N=In(E);break;case Pr_COUNTERCLOCKWISE:N=In(E,!0);break;default:N=y.behavior}return N.forEach(function(H,U){if(E!==H||N.length===U+1)return f;E=f.placement.split("-")[0],F=ut(E);var kt,se=f.offsets.popper,ae=f.offsets.reference,X=Math.floor,de="left"===E&&X(se.right)>X(ae.left)||"right"===E&&X(se.left)<X(ae.right)||"top"===E&&X(se.bottom)>X(ae.top)||"bottom"===E&&X(se.top)<X(ae.bottom),Me=X(se.left)<X(_.left),_e=X(se.right)>X(_.right),tt=X(se.top)<X(_.top),gt=X(se.bottom)>X(_.bottom),Wt="left"===E&&Me||"right"===E&&_e||"top"===E&&tt||"bottom"===E&&gt,mt=-1!==["top","bottom"].indexOf(E),Oe=!!y.flipVariations&&(mt&&"start"===x&&Me||mt&&"end"===x&&_e||!mt&&"start"===x&&tt||!mt&&"end"===x&&gt)||!!y.flipVariationsByContent&&(mt&&"start"===x&&_e||mt&&"end"===x&&Me||!mt&&"start"===x&&gt||!mt&&"end"===x&&tt);(de||Wt||Oe)&&(f.flipped=!0,(de||Wt)&&(E=N[U+1]),Oe&&(x="end"===(kt=x)?"start":"start"===kt?"end":kt),f.placement=E+(x?"-"+x:""),f.offsets.popper=L({},f.offsets.popper,ct(f.instance.popper,f.offsets.reference,f.placement)),f=Jt(f.instance.modifiers,f,"flip"))}),f},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(f){var y=f.placement,_=y.split("-")[0],E=f.offsets,F=E.popper,x=E.reference,N=-1!==["left","right"].indexOf(_),H=-1===["top","left"].indexOf(_);return F[N?"left":"top"]=x[_]-(H?F[N?"width":"height"]:0),f.placement=ut(y),f.offsets.popper=V(F),f}},hide:{order:800,enabled:!0,fn:function(f){if(!Fi(f.instance.modifiers,"hide","preventOverflow"))return f;var y=f.offsets.reference,_=jt(f.instance.modifiers,function(E){return"preventOverflow"===E.name}).boundaries;if(y.bottom<_.top||y.left>_.right||y.top>_.bottom||y.right<_.left){if(!0===f.hide)return f;f.hide=!0,f.attributes["x-out-of-boundaries"]=""}else{if(!1===f.hide)return f;f.hide=!1,f.attributes["x-out-of-boundaries"]=!1}return f}},computeStyle:{order:850,enabled:!0,fn:function(f,y){var _=y.x,E=y.y,F=f.offsets.popper,x=jt(f.instance.modifiers,function(ne){return"applyStyle"===ne.name}).gpuAcceleration;void 0!==x&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var ne,en,Oe,kt,yr,Fe,Gr,Ri,z,di,pe,It,ki,_e,tt,N=void 0!==x?x:y.gpuAcceleration,H=ot(f.instance.popper),U=ue(H),se={position:F.position},ae=(ne=f,en=window.devicePixelRatio<2||!Oo,kt=(Oe=ne.offsets).popper,yr=Math.round,Fe=Math.floor,Gr=function(Ns){return Ns},Ri=yr(Oe.reference.width),z=yr(kt.width),di=-1!==["left","right"].indexOf(ne.placement),pe=-1!==ne.placement.indexOf("-"),ki=en?yr:Gr,{left:(It=en?di||pe||Ri%2==z%2?yr:Fe:Gr)(Ri%2==1&&z%2==1&&!pe&&en?kt.left-1:kt.left),top:ki(kt.top),bottom:ki(kt.bottom),right:It(kt.right)}),X="bottom"===_?"top":"bottom",de="right"===E?"left":"right",Me=mr("transform");if(tt="bottom"===X?"HTML"===H.nodeName?-H.clientHeight+ae.bottom:-U.height+ae.bottom:ae.top,_e="right"===de?"HTML"===H.nodeName?-H.clientWidth+ae.right:-U.width+ae.right:ae.left,N&&Me)se[Me]="translate3d("+_e+"px, "+tt+"px, 0)",se[X]=0,se[de]=0,se.willChange="transform";else{var Wt="right"===de?-1:1;se[X]=tt*("bottom"===X?-1:1),se[de]=_e*Wt,se.willChange=X+", "+de}return f.attributes=L({},{"x-placement":f.placement},f.attributes),f.styles=L({},se,f.styles),f.arrowStyles=L({},f.offsets.arrow,f.arrowStyles),f},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(f){var y,_;return li(f.instance.popper,f.styles),y=f.instance.popper,_=f.attributes,Object.keys(_).forEach(function(E){!1!==_[E]?y.setAttribute(E,_[E]):y.removeAttribute(E)}),f.arrowElement&&Object.keys(f.arrowStyles).length&&li(f.arrowElement,f.arrowStyles),f},onLoad:function(f,y,_,E,F){var x=wt(F,y,f,_.positionFixed),N=et(_.placement,x,y,f,_.modifiers.flip.boundariesElement,_.modifiers.flip.padding);return y.setAttribute("x-placement",N),li(y,{position:_.positionFixed?"fixed":"absolute"}),_},gpuAcceleration:void 0}}},Un=function(){function f(y,_){var E=this,F=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};C(this,f),this.scheduleUpdate=function(){return requestAnimationFrame(E.update)},this.update=K(this.update.bind(this)),this.options=L({},f.Defaults,F),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=y&&y.jquery?y[0]:y,this.popper=_&&_.jquery?_[0]:_,this.options.modifiers={},Object.keys(L({},f.Defaults.modifiers,F.modifiers)).forEach(function(N){E.options.modifiers[N]=L({},f.Defaults.modifiers[N]||{},F.modifiers?F.modifiers[N]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(N){return L({name:N},E.options.modifiers[N])}).sort(function(N,H){return N.order-H.order}),this.modifiers.forEach(function(N){N.enabled&&Ve(N.onLoad)&&N.onLoad(E.reference,E.popper,E.options,N,E.state)}),this.update();var x=this.options.eventsEnabled;x&&this.enableEventListeners(),this.state.eventsEnabled=x}return T(f,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var y={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};y.offsets.reference=wt(this.state,this.popper,this.reference,this.options.positionFixed),y.placement=et(this.options.placement,y.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),y.originalPlacement=y.placement,y.positionFixed=this.options.positionFixed,y.offsets.popper=ct(this.popper,y.offsets.reference,y.placement),y.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",y=Jt(this.modifiers,y),this.state.isCreated?this.options.onUpdate(y):(this.state.isCreated=!0,this.options.onCreate(y))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,ln(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[mr("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=function Pi(f,y,_,E){_.updateBound=E,zr(f).addEventListener("resize",_.updateBound,{passive:!0});var F=ie(f);return function x(N,H,U,se){var ae="BODY"===N.nodeName,X=ae?N.ownerDocument.defaultView:N;X.addEventListener(H,U,{passive:!0}),ae||x(ie(X.parentNode),H,U,se),se.push(X)}(F,"scroll",_.updateBound,_.scrollParents),_.scrollElement=F,_.eventsEnabled=!0,_}(this.reference,0,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return ai.call(this)}}]),f}();Un.Utils=("undefined"!=typeof window?window:B).PopperUtils,Un.placements=Oi,Un.Defaults=ci,Ue.a=Un}).call(this,Z(11))},function(Qe,Ue,Z){var B=Z(6);"string"==typeof B&&(B=[[Qe.i,B,""]]);Z(1)(B,{hmr:!0,transform:void 0,insertInto:void 0}),B.locals&&(Qe.exports=B.locals)},function(Qe,Ue,Z){(Qe.exports=Z(0)(!1)).push([Qe.i,".bar {\r\n cursor: pointer;\r\n}\r\n\r\n.bar:hover {\r\n opacity: 0.8;\r\n transition: opacity 0.1s ease-in-out;\r\n}\r\n\r\n.bar-text {\r\n pointer-events: none;\r\n}\r\n\r\n.chart {\r\n width: 100%;\r\n}\r\n",""])},function(Qe,Ue){Qe.exports=function(Z){var B="undefined"!=typeof window&&window.location;if(!B)throw new Error("fixUrls requires window.location");if(!Z||"string"!=typeof Z)return Z;var he=B.protocol+"//"+B.host,qe=he+B.pathname.replace(/\/[^\/]*$/,"/");return Z.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(lt,Te){var K,Ve=Te.trim().replace(/^"(.*)"$/,function(Ae,Gt){return Gt}).replace(/^'(.*)'$/,function(Ae,Gt){return Gt});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(Ve)?lt:(K=0===Ve.indexOf("//")?Ve:0===Ve.indexOf("/")?he+Ve:qe+Ve.replace(/^\.\//,""),"url("+JSON.stringify(K)+")")})}},function(Qe,Ue,Z){var B=Z(9);"string"==typeof B&&(B=[[Qe.i,B,""]]);Z(1)(B,{hmr:!0,transform:void 0,insertInto:void 0}),B.locals&&(Qe.exports=B.locals)},function(Qe,Ue,Z){(Qe.exports=Z(0)(!1)).push([Qe.i,'.tippy-tooltip.light-border-theme{background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,8,16,.15);color:#26323d;box-shadow:0 3px 14px -.5px rgba(0,8,16,.08)}.tippy-tooltip.light-border-theme .tippy-backdrop{background-color:#fff}.tippy-tooltip.light-border-theme .tippy-arrow:after,.tippy-tooltip.light-border-theme .tippy-arrow:before,.tippy-tooltip.light-border-theme .tippy-roundarrow:after,.tippy-tooltip.light-border-theme .tippy-roundarrow:before{content:"";position:absolute;z-index:-1}.tippy-tooltip.light-border-theme .tippy-roundarrow{fill:#fff}.tippy-tooltip.light-border-theme .tippy-roundarrow:after{background-image:url(data:image/svg+xml;base64,PHN2ZyBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEuNDE0IiB2aWV3Qm94PSIwIDAgMTggNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMCA3czIuMDIxLS4wMTUgNS4yNTMtNC4yMThDNi41ODQgMS4wNTEgNy43OTcuMDA3IDkgMGMxLjIwMy0uMDA3IDIuNDE2IDEuMDM1IDMuNzYxIDIuNzgyQzE2LjAxMiA3LjAwNSAxOCA3IDE4IDd6IiBmaWxsPSIjMzMzIiBmaWxsLW9wYWNpdHk9Ii4yMzUiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvc3ZnPg==);background-size:18px 7px;width:18px;height:7px;left:0;top:0;fill:rgba(0,8,16,.15)}.tippy-tooltip.light-border-theme[x-placement^=top] .tippy-roundarrow:after{top:1px;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.tippy-tooltip.light-border-theme[x-placement^=top] .tippy-arrow{border-top-color:#fff}.tippy-tooltip.light-border-theme[x-placement^=top] .tippy-arrow:after{border-top:7px solid #fff;top:-7px}.tippy-tooltip.light-border-theme[x-placement^=top] .tippy-arrow:before{border-top:7px solid rgba(0,8,16,.2);bottom:-1px}.tippy-tooltip.light-border-theme[x-placement^=bottom] .tippy-roundarrow:after{top:-1px}.tippy-tooltip.light-border-theme[x-placement^=bottom] .tippy-arrow{border-bottom-color:#fff}.tippy-tooltip.light-border-theme[x-placement^=bottom] .tippy-arrow:after{border-bottom:7px solid #fff;bottom:-7px}.tippy-tooltip.light-border-theme[x-placement^=bottom] .tippy-arrow:before{border-bottom:7px solid rgba(0,8,16,.2);bottom:-6px}.tippy-tooltip.light-border-theme[x-placement^=left] .tippy-roundarrow:after{left:1px;top:0;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.tippy-tooltip.light-border-theme[x-placement^=left] .tippy-arrow{border-left-color:#fff}.tippy-tooltip.light-border-theme[x-placement^=left] .tippy-arrow:after{border-left:7px solid #fff;left:-7px}.tippy-tooltip.light-border-theme[x-placement^=left] .tippy-arrow:before{border-left:7px solid rgba(0,8,16,.2);left:-6px}.tippy-tooltip.light-border-theme[x-placement^=right] .tippy-roundarrow:after{left:-1px;top:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.tippy-tooltip.light-border-theme[x-placement^=right] .tippy-arrow{border-right-color:#fff}.tippy-tooltip.light-border-theme[x-placement^=right] .tippy-arrow:after{border-right:7px solid #fff;right:-7px}.tippy-tooltip.light-border-theme[x-placement^=right] .tippy-arrow:before{border-right:7px solid rgba(0,8,16,.2);right:-6px}.tippy-tooltip.light-border-theme[x-placement^=bottom] .tippy-arrow,.tippy-tooltip.light-border-theme[x-placement^=bottom] .tippy-roundarrow,.tippy-tooltip.light-border-theme[x-placement^=top] .tippy-arrow,.tippy-tooltip.light-border-theme[x-placement^=top] .tippy-roundarrow{-webkit-transform:translateX(-1px);transform:translateX(-1px)}.tippy-tooltip.light-border-theme[x-placement^=bottom] .tippy-arrow:after,.tippy-tooltip.light-border-theme[x-placement^=bottom] .tippy-arrow:before,.tippy-tooltip.light-border-theme[x-placement^=top] .tippy-arrow:after,.tippy-tooltip.light-border-theme[x-placement^=top] .tippy-arrow:before{left:-7px;border-left:7px solid transparent;border-right:7px solid transparent}.tippy-tooltip.light-border-theme[x-placement^=left] .tippy-arrow,.tippy-tooltip.light-border-theme[x-placement^=left] .tippy-roundarrow,.tippy-tooltip.light-border-theme[x-placement^=right] .tippy-arrow,.tippy-tooltip.light-border-theme[x-placement^=right] .tippy-roundarrow{-webkit-transform:translateY(-1px);transform:translateY(-1px)}.tippy-tooltip.light-border-theme[x-placement^=left] .tippy-arrow:after,.tippy-tooltip.light-border-theme[x-placement^=left] .tippy-arrow:before,.tippy-tooltip.light-border-theme[x-placement^=right] .tippy-arrow:after,.tippy-tooltip.light-border-theme[x-placement^=right] .tippy-arrow:before{top:-7px;border-top:7px solid transparent;border-bottom:7px solid transparent}',""])},function(Qe,Ue,Z){"use strict";var B,he,qe;he=[Z(2)],void 0===(qe="function"==typeof(B=function(lt){var Te=function(){var K,Ve={},Ae=[];function Gt(C){C||(C=document.documentElement);var T=window.getComputedStyle(C,null).fontSize;return parseFloat(T)||16}function ie(C,T){var $=T.split(/\d/),L=$[$.length-1];switch(T=parseFloat(T),L){case"px":default:return T;case"em":return T*Gt(C);case"rem":return T*Gt();case"vw":return T*document.documentElement.clientWidth/100;case"vh":return T*document.documentElement.clientHeight/100;case"vmin":case"vmax":var V=document.documentElement.clientWidth/100,ue=document.documentElement.clientHeight/100;return T*(0,Math["vmin"===L?"min":"max"])(V,ue)}}function xe(C,T){var $,L,V,ue,ee,ge,ft,et;this.element=C;var wt=["min-width","min-height","max-width","max-height"];this.call=function(){for($ in V=function(ut){if(!ut.getBoundingClientRect)return{width:ut.offsetWidth,height:ut.offsetHeight};var ct=ut.getBoundingClientRect();return{width:Math.round(ct.width),height:Math.round(ct.height)}}(this.element),ge={},Ve[T])Ve[T].hasOwnProperty($)&&(ue=ie(this.element,(L=Ve[T][$]).value),ee="width"===L.property?V.width:V.height,ft="","min"===L.mode&&ee>=ue&&(ft+=L.value),"max"===L.mode&&ee<=ue&&(ft+=L.value),ge[et=L.mode+"-"+L.property]||(ge[et]=""),ft&&-1===(" "+ge[et]+" ").indexOf(" "+ft+" ")&&(ge[et]+=" "+ft));for(var St in wt)wt.hasOwnProperty(St)&&(ge[wt[St]]?this.element.setAttribute(wt[St],ge[wt[St]].substr(1)):this.element.removeAttribute(wt[St]))}}function De(C,T){C.elementQueriesSetupInformation||(C.elementQueriesSetupInformation=new xe(C,T)),C.elementQueriesSensor||(C.elementQueriesSensor=new lt(C,function(){C.elementQueriesSetupInformation.call()}))}function _t(C,T,$,L){if(void 0===Ve[C]){Ve[C]=[];var V=Ae.length;K.innerHTML+="\n"+C+" {animation: 0.1s element-queries;}",K.innerHTML+="\n"+C+" > .resize-sensor {min-width: "+V+"px;}",Ae.push(C)}Ve[C].push({mode:T,property:$,value:L})}function ot(C){var T;if(document.querySelectorAll&&(T=C?C.querySelectorAll.bind(C):document.querySelectorAll.bind(document)),T||"undefined"==typeof $$||(T=$$),T||"undefined"==typeof jQuery||(T=jQuery),!T)throw"No document.querySelectorAll, jQuery or Mootools's $$ found.";return T}function ce(C){var T=[],$=[],L=[],V=0,ue=-1,ee=[];for(var ge in C.children)if(C.children.hasOwnProperty(ge)&&C.children[ge].tagName&&"img"===C.children[ge].tagName.toLowerCase()){T.push(C.children[ge]);var ft=C.children[ge].getAttribute("min-width")||C.children[ge].getAttribute("data-min-width"),et=C.children[ge].getAttribute("data-src")||C.children[ge].getAttribute("url");L.push(et),$.push({minWidth:ft}),ft?C.children[ge].style.display="none":(V=T.length-1,C.children[ge].style.display="block")}function St(){var ut,ct=!1;for(ut in T)T.hasOwnProperty(ut)&&$[ut].minWidth&&C.offsetWidth>$[ut].minWidth&&(ct=ut);if(ct||(ct=V),ue!==ct)if(ee[ct])T[ue].style.display="none",T[ct].style.display="block",ue=ct;else{var jt=new Image;jt.onload=function(){T[ct].src=L[ct],T[ue].style.display="none",T[ct].style.display="block",ee[ct]=!0,ue=ct},jt.src=L[ct]}else T[ct].src=L[ct]}ue=V,C.resizeSensorInstance=new lt(C,St),St()}var Nt=/,?[\s\t]*([^,\n]*?)((?:\[[\s\t]*?(?:min|max)-(?:width|height)[\s\t]*?[~$\^]?=[\s\t]*?"[^"]*?"[\s\t]*?])+)([^,\n\s\{]*)/gim,Ge=/\[[\s\t]*?(min|max)-(width|height)[\s\t]*?[~$\^]?=[\s\t]*?"([^"]*?)"[\s\t]*?]/gim;function Ne(C){var T,$,L,V;for(C=C.replace(/'/g,'"');null!==(T=Nt.exec(C));)for($=T[1]+T[3],L=T[2];null!==(V=Ge.exec(L));)_t($,V[1],V[2],V[3])}function bt(C){var T="";if(C)if("string"==typeof C)-1===(C=C.toLowerCase()).indexOf("min-width")&&-1===C.indexOf("max-width")||Ne(C);else for(var $=0,L=C.length;$<L;$++)1===C[$].type?-1!==(T=C[$].selectorText||C[$].cssText).indexOf("min-height")||-1!==T.indexOf("max-height")?Ne(T):-1===T.indexOf("min-width")&&-1===T.indexOf("max-width")||Ne(T):4===C[$].type?bt(C[$].cssRules||C[$].rules):3===C[$].type&&C[$].styleSheet.hasOwnProperty("cssRules")&&bt(C[$].styleSheet.cssRules)}var te=!1;this.init=function(){var C="animationstart";void 0!==document.documentElement.style.webkitAnimationName?C="webkitAnimationStart":void 0!==document.documentElement.style.MozAnimationName?C="mozanimationstart":void 0!==document.documentElement.style.OAnimationName&&(C="oanimationstart"),document.body.addEventListener(C,function(L){var V=L.target,ue=V&&window.getComputedStyle(V,null),ee=ue&&ue.getPropertyValue("animation-name");if(ee&&-1!==ee.indexOf("element-queries")){V.elementQueriesSensor=new lt(V,function(){V.elementQueriesSetupInformation&&V.elementQueriesSetupInformation.call()});var et=window.getComputedStyle(V.resizeSensor,null).getPropertyValue("min-width");et=parseInt(et.replace("px","")),De(L.target,Ae[et])}}),te||((K=document.createElement("style")).type="text/css",K.innerHTML="[responsive-image] > img, [data-responsive-image] {overflow: hidden; padding: 0; } [responsive-image] > img, [data-responsive-image] > img {width: 100%;}",K.innerHTML+="\n@keyframes element-queries { 0% { visibility: inherit; } }",document.getElementsByTagName("head")[0].appendChild(K),te=!0);for(var T=0,$=document.styleSheets.length;T<$;T++)try{document.styleSheets[T].href&&0===document.styleSheets[T].href.indexOf("file://")&&console.warn("CssElementQueries: unable to parse local css files, "+document.styleSheets[T].href),bt(document.styleSheets[T].cssRules||document.styleSheets[T].rules||document.styleSheets[T].cssText)}catch(L){}!function(){for(var L=ot()("[data-responsive-image],[responsive-image]"),V=0,ue=L.length;V<ue;V++)ce(L[V])}()},this.findElementQueriesElements=function(C){!function(T){var $=ot(T);for(var L in Ve)if(Ve.hasOwnProperty(L))for(var V=$(L,T),ue=0,ee=V.length;ue<ee;ue++)De(V[ue],L)}(C)},this.update=function(){this.init()}};return Te.update=function(){Te.instance.update()},Te.detach=function(K){K.elementQueriesSetupInformation?(K.elementQueriesSensor.detach(),delete K.elementQueriesSetupInformation,delete K.elementQueriesSensor):K.resizeSensorInstance&&(K.resizeSensorInstance.detach(),delete K.resizeSensorInstance)},Te.init=function(){Te.instance||(Te.instance=new Te),Te.instance.init()},Te.findElementQueriesElements=function(K){Te.instance.findElementQueriesElements(K)},Te.listen=function(){!function(K){if(document.addEventListener)document.addEventListener("DOMContentLoaded",K,!1);else if(/KHTML|WebKit|iCab/i.test(navigator.userAgent))var Ve=setInterval(function(){/loaded|complete/i.test(document.readyState)&&(K(),clearInterval(Ve))},10);else window.onload=K}(Te.init)},Te})?B.apply(Ue,he):B)||(Qe.exports=qe)},function(Qe,Ue){var Z;Z=function(){return this}();try{Z=Z||new Function("return this")()}catch(B){"object"==typeof window&&(Z=window)}Qe.exports=Z},function(Qe,Ue,Z){"use strict";function B(g,h){var w;"string"==typeof(w=g)&&-1!==w.indexOf(".")&&1===parseFloat(w)&&(g="100%");var D=function(w){return"string"==typeof w&&-1!==w.indexOf("%")}(g);return g=360===h?g:Math.min(h,Math.max(0,parseFloat(g))),D&&(g=parseInt(String(g*h),10)/100),Math.abs(g-h)<1e-6?1:g=360===h?(g<0?g%h+h:g%h)/parseFloat(String(h)):g%h/parseFloat(String(h))}function he(g){return Math.min(1,Math.max(0,g))}function qe(g){return g=parseFloat(g),(isNaN(g)||g<0||g>1)&&(g=1),g}function lt(g){return g<=1?100*Number(g)+"%":g}function Te(g){return 1===g.length?"0"+g:String(g)}function K(g,h,D){g=B(g,255),h=B(h,255),D=B(D,255);var w=Math.max(g,h,D),O=Math.min(g,h,D),k=0,Re=0,me=(w+O)/2;if(w===O)Re=0,k=0;else{var Pe=w-O;switch(Re=me>.5?Pe/(2-w-O):Pe/(w+O),w){case g:k=(h-D)/Pe+(h<D?6:0);break;case h:k=(D-g)/Pe+2;break;case D:k=(g-h)/Pe+4}k/=6}return{h:k,s:Re,l:me}}function Ve(g,h,D){g=B(g,255),h=B(h,255),D=B(D,255);var w=Math.max(g,h,D),O=Math.min(g,h,D),k=0,Re=w,me=w-O,Pe=0===w?0:me/w;if(w===O)k=0;else{switch(w){case g:k=(h-D)/me+(h<D?6:0);break;case h:k=(D-g)/me+2;break;case D:k=(g-h)/me+4}k/=6}return{h:k,s:Pe,v:Re}}function Ae(g,h,D,w){var O=[Te(Math.round(g).toString(16)),Te(Math.round(h).toString(16)),Te(Math.round(D).toString(16))];return w&&O[0].charAt(0)===O[0].charAt(1)&&O[1].charAt(0)===O[1].charAt(1)&&O[2].charAt(0)===O[2].charAt(1)?O[0].charAt(0)+O[1].charAt(0)+O[2].charAt(0):O.join("")}function Gt(g){return Math.round(255*parseFloat(g)).toString(16)}function ie(g){return xe(g)/255}function xe(g){return parseInt(g,16)}Z.r(Ue),Z(5),Z(8);var De={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};var ot="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",ce="[\\s|\\(]+("+ot+")[,|\\s]+("+ot+")[,|\\s]+("+ot+")\\s*\\)?",Nt="[\\s|\\(]+("+ot+")[,|\\s]+("+ot+")[,|\\s]+("+ot+")[,|\\s]+("+ot+")\\s*\\)?",Ge={CSS_UNIT:new RegExp(ot),rgb:new RegExp("rgb"+ce),rgba:new RegExp("rgba"+Nt),hsl:new RegExp("hsl"+ce),hsla:new RegExp("hsla"+Nt),hsv:new RegExp("hsv"+ce),hsva:new RegExp("hsva"+Nt),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Ne(g){return Boolean(Ge.CSS_UNIT.exec(String(g)))}var bt=function(){function g(h,D){if(void 0===h&&(h=""),void 0===D&&(D={}),h instanceof g)return h;this.originalInput=h;var w=function _t(g){var D,w,O={r:0,g:0,b:0},k=1,Re=null,me=null,Pe=null,Pt=!1,Vt=!1;return"string"==typeof g&&(g=function(le){if(0===(le=le.trim().toLowerCase()).length)return!1;var re=!1;if(De[le])le=De[le],re=!0;else if("transparent"===le)return{r:0,g:0,b:0,a:0,format:"name"};var P=Ge.rgb.exec(le);return P?{r:P[1],g:P[2],b:P[3]}:(P=Ge.rgba.exec(le))?{r:P[1],g:P[2],b:P[3],a:P[4]}:(P=Ge.hsl.exec(le))?{h:P[1],s:P[2],l:P[3]}:(P=Ge.hsla.exec(le))?{h:P[1],s:P[2],l:P[3],a:P[4]}:(P=Ge.hsv.exec(le))?{h:P[1],s:P[2],v:P[3]}:(P=Ge.hsva.exec(le))?{h:P[1],s:P[2],v:P[3],a:P[4]}:(P=Ge.hex8.exec(le))?{r:xe(P[1]),g:xe(P[2]),b:xe(P[3]),a:ie(P[4]),format:re?"name":"hex8"}:(P=Ge.hex6.exec(le))?{r:xe(P[1]),g:xe(P[2]),b:xe(P[3]),format:re?"name":"hex"}:(P=Ge.hex4.exec(le))?{r:xe(P[1]+P[1]),g:xe(P[2]+P[2]),b:xe(P[3]+P[3]),a:ie(P[4]+P[4]),format:re?"name":"hex8"}:!!(P=Ge.hex3.exec(le))&&{r:xe(P[1]+P[1]),g:xe(P[2]+P[2]),b:xe(P[3]+P[3]),format:re?"name":"hex"}}(g)),"object"==typeof g&&(Ne(g.r)&&Ne(g.g)&&Ne(g.b)?(D=g.g,w=g.b,O={r:255*B(g.r,255),g:255*B(D,255),b:255*B(w,255)},Pt=!0,Vt="%"===String(g.r).substr(-1)?"prgb":"rgb"):Ne(g.h)&&Ne(g.s)&&Ne(g.v)?(Re=lt(g.s),me=lt(g.v),O=function(le,re,P){le=6*B(le,360),re=B(re,100),P=B(P,100);var st=Math.floor(le),Ce=le-st,tn=P*(1-re),un=P*(1-Ce*re),b=P*(1-(1-Ce)*re),J=st%6;return{r:255*[P,un,tn,tn,b,P][J],g:255*[b,P,P,un,tn,tn][J],b:255*[tn,tn,b,P,P,un][J]}}(g.h,Re,me),Pt=!0,Vt="hsv"):Ne(g.h)&&Ne(g.s)&&Ne(g.l)&&(Re=lt(g.s),Pe=lt(g.l),O=function(le,re,P){var st,Ce,tn;function un(Qt,Dt,dt){return dt<0&&(dt+=1),dt>1&&(dt-=1),dt<.16666666666666666?Qt+6*dt*(Dt-Qt):dt<.5?Dt:dt<.6666666666666666?Qt+(Dt-Qt)*(.6666666666666666-dt)*6:Qt}if(le=B(le,360),re=B(re,100),P=B(P,100),0===re)Ce=P,tn=P,st=P;else{var b=P<.5?P*(1+re):P+re-P*re,J=2*P-b;st=un(J,b,le+.3333333333333333),Ce=un(J,b,le),tn=un(J,b,le-.3333333333333333)}return{r:255*st,g:255*Ce,b:255*tn}}(g.h,Re,Pe),Pt=!0,Vt="hsl"),Object.prototype.hasOwnProperty.call(g,"a")&&(k=g.a)),k=qe(k),{ok:Pt,format:g.format||Vt,r:Math.min(255,Math.max(O.r,0)),g:Math.min(255,Math.max(O.g,0)),b:Math.min(255,Math.max(O.b,0)),a:k}}(h);this.originalInput=h,this.r=w.r,this.g=w.g,this.b=w.b,this.a=w.a,this.roundA=Math.round(100*this.a)/100,this.format=D.format||w.format,this.gradientType=D.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=w.ok}return g.prototype.isDark=function(){return this.getBrightness()<128},g.prototype.isLight=function(){return!this.isDark()},g.prototype.getBrightness=function(){var h=this.toRgb();return(299*h.r+587*h.g+114*h.b)/1e3},g.prototype.getLuminance=function(){var h=this.toRgb(),D=h.r/255,w=h.g/255,O=h.b/255;return.2126*(D<=.03928?D/12.92:Math.pow((D+.055)/1.055,2.4))+.7152*(w<=.03928?w/12.92:Math.pow((w+.055)/1.055,2.4))+.0722*(O<=.03928?O/12.92:Math.pow((O+.055)/1.055,2.4))},g.prototype.getAlpha=function(){return this.a},g.prototype.setAlpha=function(h){return this.a=qe(h),this.roundA=Math.round(100*this.a)/100,this},g.prototype.toHsv=function(){var h=Ve(this.r,this.g,this.b);return{h:360*h.h,s:h.s,v:h.v,a:this.a}},g.prototype.toHsvString=function(){var h=Ve(this.r,this.g,this.b),D=Math.round(360*h.h),w=Math.round(100*h.s),O=Math.round(100*h.v);return 1===this.a?"hsv("+D+", "+w+"%, "+O+"%)":"hsva("+D+", "+w+"%, "+O+"%, "+this.roundA+")"},g.prototype.toHsl=function(){var h=K(this.r,this.g,this.b);return{h:360*h.h,s:h.s,l:h.l,a:this.a}},g.prototype.toHslString=function(){var h=K(this.r,this.g,this.b),D=Math.round(360*h.h),w=Math.round(100*h.s),O=Math.round(100*h.l);return 1===this.a?"hsl("+D+", "+w+"%, "+O+"%)":"hsla("+D+", "+w+"%, "+O+"%, "+this.roundA+")"},g.prototype.toHex=function(h){return void 0===h&&(h=!1),Ae(this.r,this.g,this.b,h)},g.prototype.toHexString=function(h){return void 0===h&&(h=!1),"#"+this.toHex(h)},g.prototype.toHex8=function(h){return void 0===h&&(h=!1),w=this.g,O=this.b,k=this.a,Re=h,me=[Te(Math.round(this.r).toString(16)),Te(Math.round(w).toString(16)),Te(Math.round(O).toString(16)),Te(Gt(k))],Re&&me[0].charAt(0)===me[0].charAt(1)&&me[1].charAt(0)===me[1].charAt(1)&&me[2].charAt(0)===me[2].charAt(1)&&me[3].charAt(0)===me[3].charAt(1)?me[0].charAt(0)+me[1].charAt(0)+me[2].charAt(0)+me[3].charAt(0):me.join("");var w,O,k,Re,me},g.prototype.toHex8String=function(h){return void 0===h&&(h=!1),"#"+this.toHex8(h)},g.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},g.prototype.toRgbString=function(){var h=Math.round(this.r),D=Math.round(this.g),w=Math.round(this.b);return 1===this.a?"rgb("+h+", "+D+", "+w+")":"rgba("+h+", "+D+", "+w+", "+this.roundA+")"},g.prototype.toPercentageRgb=function(){var h=function(D){return Math.round(100*B(D,255))+"%"};return{r:h(this.r),g:h(this.g),b:h(this.b),a:this.a}},g.prototype.toPercentageRgbString=function(){var h=function(D){return Math.round(100*B(D,255))};return 1===this.a?"rgb("+h(this.r)+"%, "+h(this.g)+"%, "+h(this.b)+"%)":"rgba("+h(this.r)+"%, "+h(this.g)+"%, "+h(this.b)+"%, "+this.roundA+")"},g.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var h="#"+Ae(this.r,this.g,this.b,!1),D=0,w=Object.keys(De);D<w.length;D++){var O=w[D];if(De[O]===h)return O}return!1},g.prototype.toString=function(h){var D=Boolean(h);h=h||this.format;var w=!1;return D||!(this.a<1&&this.a>=0)||!h.startsWith("hex")&&"name"!==h?("rgb"===h&&(w=this.toRgbString()),"prgb"===h&&(w=this.toPercentageRgbString()),"hex"!==h&&"hex6"!==h||(w=this.toHexString()),"hex3"===h&&(w=this.toHexString(!0)),"hex4"===h&&(w=this.toHex8String(!0)),"hex8"===h&&(w=this.toHex8String()),"name"===h&&(w=this.toName()),"hsl"===h&&(w=this.toHslString()),"hsv"===h&&(w=this.toHsvString()),w||this.toHexString()):"name"===h&&0===this.a?this.toName():this.toRgbString()},g.prototype.clone=function(){return new g(this.toString())},g.prototype.lighten=function(h){void 0===h&&(h=10);var D=this.toHsl();return D.l+=h/100,D.l=he(D.l),new g(D)},g.prototype.brighten=function(h){void 0===h&&(h=10);var D=this.toRgb();return D.r=Math.max(0,Math.min(255,D.r-Math.round(-h/100*255))),D.g=Math.max(0,Math.min(255,D.g-Math.round(-h/100*255))),D.b=Math.max(0,Math.min(255,D.b-Math.round(-h/100*255))),new g(D)},g.prototype.darken=function(h){void 0===h&&(h=10);var D=this.toHsl();return D.l-=h/100,D.l=he(D.l),new g(D)},g.prototype.tint=function(h){return void 0===h&&(h=10),this.mix("white",h)},g.prototype.shade=function(h){return void 0===h&&(h=10),this.mix("black",h)},g.prototype.desaturate=function(h){void 0===h&&(h=10);var D=this.toHsl();return D.s-=h/100,D.s=he(D.s),new g(D)},g.prototype.saturate=function(h){void 0===h&&(h=10);var D=this.toHsl();return D.s+=h/100,D.s=he(D.s),new g(D)},g.prototype.greyscale=function(){return this.desaturate(100)},g.prototype.spin=function(h){var D=this.toHsl(),w=(D.h+h)%360;return D.h=w<0?360+w:w,new g(D)},g.prototype.mix=function(h,D){void 0===D&&(D=50);var w=this.toRgb(),O=new g(h).toRgb(),k=D/100;return new g({r:(O.r-w.r)*k+w.r,g:(O.g-w.g)*k+w.g,b:(O.b-w.b)*k+w.b,a:(O.a-w.a)*k+w.a})},g.prototype.analogous=function(h,D){void 0===h&&(h=6),void 0===D&&(D=30);var w=this.toHsl(),O=360/D,k=[this];for(w.h=(w.h-(O*h>>1)+720)%360;--h;)w.h=(w.h+O)%360,k.push(new g(w));return k},g.prototype.complement=function(){var h=this.toHsl();return h.h=(h.h+180)%360,new g(h)},g.prototype.monochromatic=function(h){void 0===h&&(h=6);for(var D=this.toHsv(),w=D.h,O=D.s,k=D.v,Re=[],me=1/h;h--;)Re.push(new g({h:w,s:O,v:k})),k=(k+me)%1;return Re},g.prototype.splitcomplement=function(){var h=this.toHsl(),D=h.h;return[this,new g({h:(D+72)%360,s:h.s,l:h.l}),new g({h:(D+216)%360,s:h.s,l:h.l})]},g.prototype.triad=function(){return this.polyad(3)},g.prototype.tetrad=function(){return this.polyad(4)},g.prototype.polyad=function(h){for(var D=this.toHsl(),w=D.h,O=[this],k=360/h,Re=1;Re<h;Re++)O.push(new g({h:(w+Re*k)%360,s:D.s,l:D.l}));return O},g.prototype.equals=function(h){return this.toRgbString()===new g(h).toRgbString()},g}(),te=Z(3),C=Z(4);function T(){return(T=Object.assign||function(g){for(var h=1;h<arguments.length;h++){var D=arguments[h];for(var w in D)Object.prototype.hasOwnProperty.call(D,w)&&(g[w]=D[w])}return g}).apply(this,arguments)}var $="undefined"!=typeof window&&"undefined"!=typeof document,L=$?navigator.userAgent:"",V=/MSIE |Trident\//.test(L),ue=/UCBrowser\//.test(L),ee=$&&/iPhone|iPad|iPod/.test(navigator.platform)&&!window.MSStream,ge={a11y:!0,allowHTML:!0,animateFill:!0,animation:"shift-away",appendTo:function(){return document.body},aria:"describedby",arrow:!1,arrowType:"sharp",boundary:"scrollParent",content:"",delay:0,distance:10,duration:[325,275],flip:!0,flipBehavior:"flip",flipOnUpdate:!1,followCursor:!1,hideOnClick:!0,ignoreAttributes:!1,inertia:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,lazy:!0,maxWidth:350,multiple:!1,offset:0,onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},placement:"top",popperOptions:{},role:"tooltip",showOnInit:!1,size:"regular",sticky:!1,target:"",theme:"dark",touch:!0,touchHold:!1,trigger:"mouseenter focus",updateDuration:0,wait:null,zIndex:9999},ft=["arrow","arrowType","boundary","distance","flip","flipBehavior","flipOnUpdate","offset","placement","popperOptions"],et=$?Element.prototype:{},wt=et.matches||et.matchesSelector||et.webkitMatchesSelector||et.mozMatchesSelector||et.msMatchesSelector;function St(g){return[].slice.call(g)}function ut(g,h){return(et.closest||function(D){for(var w=this;w;){if(wt.call(w,D))return w;w=w.parentElement}}).call(g,h)}function ct(g,h){for(;g;){if(h(g))return g;g=g.parentElement}}var jt={passive:!0},ln="x-placement",mr="x-out-of-boundaries",zr="tippy-iOS",Pi="tippy-active",ai=".tippy-popper",qr=Object.keys(ge);function In(g,h){return{}.hasOwnProperty.call(g,h)}function Pr(g,h,D){if(Array.isArray(g)){var w=g[h];return null==w?D:w}return g}function ui(g,h){var D;return function(){var w=this,O=arguments;clearTimeout(D),D=setTimeout(function(){return g.apply(w,O)},h)}}function ci(g,h){return g&&g.modifiers&&g.modifiers[h]}function Un(g,h){return g.indexOf(h)>-1}function f(g){return!(!g||!In(g,"isVirtual"))||g instanceof Element}function y(g,h){return"function"==typeof g?g.apply(null,h):g}function _(g,h){g.filter(function(D){return"flip"===D.name})[0].enabled=h}function E(){return document.createElement("div")}function F(g,h){g.forEach(function(D){D&&(D.style.transitionDuration="".concat(h,"ms"))})}function x(g,h){g.forEach(function(D){D&&D.setAttribute("data-state",h)})}function N(g,h){var w,D=T({},h,{content:y(h.content,[g])},h.ignoreAttributes?{}:(w=g,qr.reduce(function(O,k){var Re=(w.getAttribute("data-tippy-".concat(k))||"").trim();if(!Re)return O;if("content"===k)O[k]=Re;else try{O[k]=JSON.parse(Re)}catch(me){O[k]=Re}return O},{})));return(D.arrow||ue)&&(D.animateFill=!1),D}function H(g,h){Object.keys(g).forEach(function(D){if(!In(h,D))throw new Error("[tippy]: `".concat(D,"` is not a valid option"))})}function U(g,h){g.innerHTML=h instanceof Element?h.innerHTML:h}function se(g,h){h.content instanceof Element?(U(g,""),g.appendChild(h.content)):"function"!=typeof h.content&&(g[h.allowHTML?"innerHTML":"textContent"]=h.content)}function ae(g){return{tooltip:g.querySelector(".tippy-tooltip"),backdrop:g.querySelector(".tippy-backdrop"),content:g.querySelector(".tippy-content"),arrow:g.querySelector(".tippy-arrow")||g.querySelector(".tippy-roundarrow")}}function X(g){g.setAttribute("data-inertia","")}function de(g){var h=E();return"round"===g?(h.className="tippy-roundarrow",U(h,'<svg viewBox="0 0 18 7" xmlns="http://www.w3.org/2000/svg"><path d="M0 7s2.021-.015 5.253-4.218C6.584 1.051 7.797.007 9 0c1.203-.007 2.416 1.035 3.761 2.782C16.012 7.005 18 7 18 7H0z"/></svg>')):h.className="tippy-arrow",h}function Me(){var g=E();return g.className="tippy-backdrop",g.setAttribute("data-state","hidden"),g}function _e(g,h){g.setAttribute("tabindex","-1"),h.setAttribute("data-interactive","")}function tt(g,h,D){var w=ue&&void 0!==document.body.style.webkitTransition?"webkitTransitionEnd":"transitionend";g[h+"EventListener"](w,D)}function gt(g){var h=g.getAttribute(ln);return h?h.split("-")[0]:""}function Wt(g,h,D){D.split(" ").forEach(function(w){g.classList[h](w+"-theme")})}function mt(){var g=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},h=g.checkHideOnClick,D=g.exclude,w=g.duration;St(document.querySelectorAll(ai)).forEach(function(O){var k=O._tippy;!k||h&&!0!==k.props.hideOnClick||D&&O===D.popper||k.hide(w)})}var ne=!1;function en(){ne||(ne=!0,ee&&document.body.classList.add(zr),window.performance&&document.addEventListener("mousemove",kt))}var Oe=0;function kt(){var g=performance.now();g-Oe<20&&(ne=!1,document.removeEventListener("mousemove",kt),ee||document.body.classList.remove(zr)),Oe=g}function Ro(g){if(!(g.target instanceof Element))return mt();var h=ut(g.target,ai);if(!(h&&h._tippy&&h._tippy.props.interactive)){var D=ct(g.target,function(k){return k._tippy&&k._tippy.reference===k});if(D){var w=D._tippy;if(w){var O=Un(w.props.trigger||"","click");if(ne||O)return mt({exclude:w,checkHideOnClick:!0});if(!0!==w.props.hideOnClick||O)return;w.clearDelayTimeouts()}}mt({checkHideOnClick:!0})}}function yr(){var g=document.activeElement;g&&g.blur&&g._tippy&&g.blur()}var Fe=1;function Gr(g,h){var D,w,O,k,Re,me=N(g,h);if(!me.multiple&&g._tippy)return null;var Pe,Pt,Vt,le,re=!1,P=!1,st=[],Ce=me.interactiveDebounce>0?ui(Or,me.interactiveDebounce):Or,tn=Fe++,un=function(j,ve){var be=E();be.className="tippy-popper",be.id="tippy-".concat(j),be.style.zIndex=""+ve.zIndex,ve.role&&be.setAttribute("role",ve.role);var fe=E();fe.className="tippy-tooltip",fe.style.maxWidth=ve.maxWidth+("number"==typeof ve.maxWidth?"px":""),fe.setAttribute("data-size",ve.size),fe.setAttribute("data-animation",ve.animation),fe.setAttribute("data-state","hidden"),Wt(fe,"add",ve.theme);var G=E();return G.className="tippy-content",G.setAttribute("data-state","hidden"),ve.interactive&&_e(be,fe),ve.arrow&&fe.appendChild(de(ve.arrowType)),ve.animateFill&&(fe.appendChild(Me()),fe.setAttribute("data-animatefill","")),ve.inertia&&X(fe),se(G,ve),fe.appendChild(G),be.appendChild(fe),be}(tn,me),b={id:tn,reference:g,popper:un,popperChildren:ae(un),popperInstance:null,props:me,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},clearDelayTimeouts:vn,set:wl,setContent:function(j){wl({content:j})},show:Fs,hide:fn,enable:function(){b.state.isEnabled=!0},disable:function(){b.state.isEnabled=!1},destroy:function(j){b.state.isDestroyed||(b.state.isMounted&&fn(0),cn(),delete b.reference._tippy,b.props.target&&j&&St(b.reference.querySelectorAll(b.props.target)).forEach(function(ve){ve._tippy&&ve._tippy.destroy()}),b.popperInstance&&b.popperInstance.destroy(),b.state.isDestroyed=!0)}};return g._tippy=b,un._tippy=b,xn(),me.lazy||(Li(),b.popperInstance.disableEventListeners()),me.showOnInit&&Bi(),me.a11y&&!me.target&&(le=g)instanceof Element&&(!wt.call(le,"a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]")||le.hasAttribute("disabled"))&&g.setAttribute("tabindex","0"),un.addEventListener("mouseenter",function(j){b.props.interactive&&b.state.isVisible&&"mouseenter"===D&&Bi(j)}),un.addEventListener("mouseleave",function(){b.props.interactive&&"mouseenter"===D&&document.addEventListener("mousemove",Ce)}),b;function J(){document.removeEventListener("mousemove",zn)}function Qt(){document.body.removeEventListener("mouseleave",dn),document.removeEventListener("mousemove",Ce)}function Dt(){return[b.popperChildren.tooltip,b.popperChildren.backdrop,b.popperChildren.content]}function dt(){return b.props.followCursor&&!ne&&"focus"!==D}function yn(j,ve){var be=b.popperChildren.tooltip;function fe(G){G.target===be&&(tt(be,"remove",fe),ve())}if(0===j)return ve();tt(be,"remove",Vt),tt(be,"add",fe),Vt=fe}function Ht(j,ve){var be=arguments.length>2&&void 0!==arguments[2]&&arguments[2];b.reference.addEventListener(j,ve,be),st.push({eventType:j,handler:ve,options:be})}function xn(){b.props.touchHold&&!b.props.target&&(Ht("touchstart",Fr,jt),Ht("touchend",fi,jt)),b.props.trigger.trim().split(" ").forEach(function(j){if("manual"!==j)if(b.props.target)switch(j){case"mouseenter":Ht("mouseover",hi),Ht("mouseout",Ps);break;case"focus":Ht("focusin",hi),Ht("focusout",Ps);break;case"click":Ht(j,hi)}else switch(Ht(j,Fr),j){case"mouseenter":Ht("mouseleave",fi);break;case"focus":Ht(V?"focusout":"blur",Se)}})}function cn(){st.forEach(function(j){b.reference.removeEventListener(j.eventType,j.handler,j.options)}),st=[]}function zn(j){var ve=w=j,be=ve.clientX,fe=ve.clientY;if(b.popperInstance){var G=gt(b.popper),He=b.props.arrow?4+("round"===b.props.arrowType?18:16):4,hn=Un(["top","bottom"],G),ke=Un(["left","right"],G),je=hn?Math.max(He,be):be,ht=ke?Math.max(He,fe):fe;hn&&je>He&&(je=Math.min(be,window.innerWidth-He)),ke&&ht>He&&(ht=Math.min(fe,window.innerHeight-He));var nt=b.reference.getBoundingClientRect(),pt=b.props.followCursor,Tn="horizontal"===pt,nn="vertical"===pt;b.popperInstance.reference=T({},b.popperInstance.reference,{getBoundingClientRect:function(){return{width:0,height:0,top:Tn?nt.top:ht,bottom:Tn?nt.bottom:ht,left:nn?nt.left:je,right:nn?nt.right:je}},clientWidth:0,clientHeight:0}),b.popperInstance.scheduleUpdate(),"initial"===pt&&b.state.isVisible&&J()}}function Fr(j){b.state.isEnabled&&!ir(j)&&(b.state.isVisible||(D=j.type,j instanceof MouseEvent&&(w=j)),"click"===j.type&&!1!==b.props.hideOnClick&&b.state.isVisible?dn():Bi(j))}function Or(j){var ve=ct(j.target,function(G){return G._tippy});ut(j.target,ai)===b.popper||ve===b.reference||function(G,He,hn,ke){if(!G)return!0;var je=hn.clientX,ht=hn.clientY,nt=ke.interactiveBorder,pt=ke.distance;return He.top-ht>("top"===G?nt+pt:nt)||ht-He.bottom>("bottom"===G?nt+pt:nt)||He.left-je>("left"===G?nt+pt:nt)||je-He.right>("right"===G?nt+pt:nt)}(gt(b.popper),b.popper.getBoundingClientRect(),j,b.props)&&(Qt(),dn())}function fi(j){if(!ir(j))return b.props.interactive?(document.body.addEventListener("mouseleave",dn),void document.addEventListener("mousemove",Ce)):void dn()}function Se(j){j.target===b.reference&&(b.props.interactive&&j.relatedTarget&&b.popper.contains(j.relatedTarget)||dn())}function hi(j){ut(j.target,b.props.target)&&Bi(j)}function Ps(j){ut(j.target,b.props.target)&&dn()}function ir(j){var ve="ontouchstart"in window,be=Un(j.type,"touch"),fe=b.props.touchHold;return ve&&ne&&fe&&!be||ne&&!fe&&be}function Li(){var j=b.props.popperOptions,ve=b.popperChildren,be=ve.tooltip,fe=ve.arrow,G=ci(j,"preventOverflow");function He(ke){b.props.flip&&!b.props.flipOnUpdate&&(ke.flipped&&(b.popperInstance.options.placement=ke.placement),_(b.popperInstance.modifiers,!1)),be.setAttribute(ln,ke.placement),!1!==ke.attributes[mr]?be.setAttribute(mr,""):be.removeAttribute(mr),Pt&&Pt!==ke.placement&&P&&(be.style.transition="none",requestAnimationFrame(function(){be.style.transition=""})),Pt=ke.placement,P=b.state.isVisible;var je=gt(b.popper),ht=be.style;ht.top=ht.bottom=ht.left=ht.right="",ht[je]=-(b.props.distance-10)+"px";var nt=G&&void 0!==G.padding?G.padding:4,pt="number"==typeof nt,Tn=T({top:pt?nt:nt.top,bottom:pt?nt:nt.bottom,left:pt?nt:nt.left,right:pt?nt:nt.right},!pt&&nt);Tn[je]=pt?nt+b.props.distance:(nt[je]||0)+b.props.distance,b.popperInstance.modifiers.filter(function(nn){return"preventOverflow"===nn.name})[0].padding=Tn}var hn=T({placement:b.props.placement},j,{modifiers:T({},j?j.modifiers:{},{preventOverflow:T({boundariesElement:b.props.boundary,padding:4},G),arrow:T({element:fe,enabled:!!fe},ci(j,"arrow")),flip:T({enabled:b.props.flip,padding:b.props.distance+4,behavior:b.props.flipBehavior},ci(j,"flip")),offset:T({offset:b.props.offset},ci(j,"offset"))}),onCreate:function(ke){He(ke),j&&j.onCreate&&j.onCreate(ke)},onUpdate:function(ke){He(ke),j&&j.onUpdate&&j.onUpdate(ke)}});b.popperInstance=new C.a(b.reference,b.popper,hn)}function Bi(j){if(vn(),!b.state.isVisible){if(b.props.target)return function(be){if(be){var fe=ut(be.target,b.props.target);fe&&!fe._tippy&&(Gr(fe,T({},b.props,{content:y(h.content,[fe]),appendTo:h.appendTo,target:"",showOnInit:!0})),Bi(be))}}(j);if(re=!0,b.props.wait)return b.props.wait(b,j);dt()&&!b.state.isMounted&&document.addEventListener("mousemove",zn);var ve=Pr(b.props.delay,0,ge.delay);ve?O=setTimeout(function(){Fs()},ve):Fs()}}function dn(){if(vn(),!b.state.isVisible)return J();re=!1;var j=Pr(b.props.delay,1,ge.delay);j?k=setTimeout(function(){b.state.isVisible&&fn()},j):Re=requestAnimationFrame(function(){fn()})}function vn(){clearTimeout(O),clearTimeout(k),cancelAnimationFrame(Re)}function wl(j){H(j=j||{},ge);var fe,G,He,Tn,hn,ke,je,ht,nt,ve=b.props,be=N(b.reference,T({},b.props,j,{ignoreAttributes:!0}));be.ignoreAttributes=In(j,"ignoreAttributes")?j.ignoreAttributes||!1:ve.ignoreAttributes,b.props=be,(In(j,"trigger")||In(j,"touchHold"))&&(cn(),xn()),In(j,"interactiveDebounce")&&(Qt(),Ce=ui(Or,j.interactiveDebounce||0)),G=ve,He=be,ke=(hn=ae(fe=b.popper)).tooltip,je=hn.content,ht=hn.backdrop,nt=hn.arrow,fe.style.zIndex=""+He.zIndex,ke.setAttribute("data-size",He.size),ke.setAttribute("data-animation",He.animation),ke.style.maxWidth=He.maxWidth+("number"==typeof He.maxWidth?"px":""),He.role?fe.setAttribute("role",He.role):fe.removeAttribute("role"),G.content!==He.content&&se(je,He),!G.animateFill&&He.animateFill?(ke.appendChild(Me()),ke.setAttribute("data-animatefill","")):G.animateFill&&!He.animateFill&&(ke.removeChild(ht),ke.removeAttribute("data-animatefill")),!G.arrow&&He.arrow?ke.appendChild(de(He.arrowType)):G.arrow&&!He.arrow&&ke.removeChild(nt),G.arrow&&He.arrow&&G.arrowType!==He.arrowType&&ke.replaceChild(de(He.arrowType),nt),!G.interactive&&He.interactive?_e(fe,ke):G.interactive&&!He.interactive&&(Tn=ke,fe.removeAttribute("tabindex"),Tn.removeAttribute("data-interactive")),!G.inertia&&He.inertia?X(ke):G.inertia&&!He.inertia&&ke.removeAttribute("data-inertia"),G.theme!==He.theme&&(Wt(ke,"remove",G.theme),Wt(ke,"add",He.theme)),b.popperChildren=ae(b.popper),b.popperInstance&&(b.popperInstance.update(),ft.some(function(fe){return In(j,fe)&&j[fe]!==ve[fe]})&&(b.popperInstance.destroy(),Li(),b.state.isVisible||b.popperInstance.disableEventListeners(),b.props.followCursor&&w&&zn(w)))}function Fs(){var j=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Pr(b.props.duration,0,ge.duration[1]);if(!b.state.isDestroyed&&b.state.isEnabled&&(!ne||b.props.touch)&&!b.reference.hasAttribute("disabled")&&!1!==b.props.onShow(b)){b.popper.style.visibility="visible",b.state.isVisible=!0,b.props.interactive&&b.reference.classList.add(Pi);var ve=Dt();F(ve.concat(b.popper),0),function(be){var fe=!(dt()||"initial"===b.props.followCursor&&ne);b.popperInstance?(dt()||(b.popperInstance.scheduleUpdate(),fe&&b.popperInstance.enableEventListeners()),_(b.popperInstance.modifiers,b.props.flip)):(Li(),fe||b.popperInstance.disableEventListeners()),b.popperInstance.reference=b.reference;var ke,ht,nt,pt,G=b.popperChildren.arrow;dt()?(G&&(G.style.margin="0"),w&&zn(w)):G&&(G.style.margin=""),ne&&w&&"initial"===b.props.followCursor&&(zn(w),G&&(G.style.margin="0")),ke=function(){b.state.isVisible&&(dt()||b.popperInstance.update(),b.popperChildren.backdrop&&(b.popperChildren.content.style.transitionDelay=Math.round(j/12)+"ms"),b.props.sticky&&(F([b.popper],V?0:b.props.updateDuration),function be(){b.popperInstance&&b.popperInstance.scheduleUpdate(),b.state.isMounted?requestAnimationFrame(be):F([b.popper],0)}()),F([b.popper],me.updateDuration),F(ve,j),x(ve,"visible"),yn(j,function(){b.props.aria&&b.reference.setAttribute("aria-".concat(b.props.aria),b.popper.id),b.props.onShown(b),b.state.isShown=!0}))},nt=(ht=b.popperInstance.options).onCreate,pt=ht.onUpdate,ht.onCreate=ht.onUpdate=function(Tn){ke(),pt&&pt(Tn),ht.onCreate=nt,ht.onUpdate=pt};var He=b.props.appendTo;(Pe="parent"===He?b.reference.parentNode:y(He,[b.reference])).contains(b.popper)||(Pe.appendChild(b.popper),b.props.onMount(b),b.state.isMounted=!0)}()}}function fn(){var fe,j=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Pr(b.props.duration,1,ge.duration[1]);if(!b.state.isDestroyed&&b.state.isEnabled&&!1!==b.props.onHide(b)){b.popper.style.visibility="hidden",b.state.isVisible=!1,b.state.isShown=!1,P=!1,b.props.interactive&&b.reference.classList.remove(Pi);var ve=Dt();F(ve,j),x(ve,"hidden"),fe=function(){re||J(),b.props.aria&&b.reference.removeAttribute("aria-".concat(b.props.aria)),b.popperInstance.disableEventListeners(),b.popperInstance.options.placement=b.props.placement,Pe.removeChild(b.popper),b.props.onHidden(b),b.state.isMounted=!1},yn(j,function(){!b.state.isVisible&&Pe&&Pe.contains(b.popper)&&fe()})}}}var Ri=!1;function z(g,h){H(h||{},ge),Ri||(document.addEventListener("click",Ro,!0),document.addEventListener("touchstart",en,jt),window.addEventListener("blur",yr),Ri=!0);var D,w=T({},ge,h);"[object Object]"!=={}.toString.call(D=g)||D.addEventListener||function(k){var Re={isVirtual:!0,attributes:k.attributes||{},setAttribute:function(Pe,Pt){k.attributes[Pe]=Pt},getAttribute:function(Pe){return k.attributes[Pe]},removeAttribute:function(Pe){delete k.attributes[Pe]},hasAttribute:function(Pe){return Pe in k.attributes},addEventListener:function(){},removeEventListener:function(){},classList:{classNames:{},add:function(Pe){k.classList.classNames[Pe]=!0},remove:function(Pe){delete k.classList.classNames[Pe]},contains:function(Pe){return Pe in k.classList.classNames}}};for(var me in Re)k[me]=Re[me]}(g);var O=function(k){if(f(k))return[k];if(k instanceof NodeList)return St(k);if(Array.isArray(k))return k;try{return St(document.querySelectorAll(k))}catch(Re){return[]}}(g).reduce(function(k,Re){var me=Re&&Gr(Re,w);return me&&k.push(me),k},[]);return f(g)?O[0]:O}z.version="4.2.1",z.defaults=ge,z.setDefaults=function(g){Object.keys(g).forEach(function(h){ge[h]=g[h]})},z.hideAll=mt,z.group=function(g){var h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},D=h.delay,w=void 0===D?g[0].props.delay:D,O=h.duration,k=void 0===O?0:O;if(!g.some(function(re){return In(re,"_originalProps")})){var Re=!1;g.forEach(function(re){re._originalProps=T({},re.props)}),le()}function me(re){Re=re,le()}function Pe(re){re._originalProps.onShow(re),g.forEach(function(P){P.set({duration:k}),P.hide()}),me(!0)}function Pt(re){re._originalProps.onHide(re),me(!1)}function Vt(re){re._originalProps.onShown(re),re.set({duration:re._originalProps.duration})}function le(){g.forEach(function(re){re.set({onShow:Pe,onShown:Vt,onHide:Pt,delay:Re?[0,Array.isArray(w)?w[1]:w]:w,duration:Re?k:re._originalProps.duration})})}},$&&setTimeout(function(){St(document.querySelectorAll("[data-tippy]")).forEach(function(g){var h=g.getAttribute("data-tippy");h&&z(g,{content:h})})}),function(g){if($){var h=document.createElement("style");h.type="text/css",h.textContent='.tippy-iOS{cursor:pointer!important;-webkit-tap-highlight-color:transparent}.tippy-popper{transition-timing-function:cubic-bezier(.165,.84,.44,1);max-width:calc(100% - 8px);pointer-events:none;outline:0}.tippy-popper[x-placement^=top] .tippy-backdrop{border-radius:40% 40% 0 0}.tippy-popper[x-placement^=top] .tippy-roundarrow{bottom:-7px;bottom:-6.5px;-webkit-transform-origin:50% 0;transform-origin:50% 0;margin:0 3px}.tippy-popper[x-placement^=top] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.tippy-popper[x-placement^=top] .tippy-arrow{border-top:8px solid #333;border-right:8px solid transparent;border-left:8px solid transparent;bottom:-7px;margin:0 3px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-backdrop{-webkit-transform-origin:0 25%;transform-origin:0 25%}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-55%);transform:scale(1) translate(-50%,-55%)}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-50%,-45%);transform:scale(.2) translate(-50%,-45%);opacity:0}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px)}.tippy-popper[x-placement^=top] [data-animation=perspective]{-webkit-transform-origin:bottom;transform-origin:bottom}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=visible]{-webkit-transform:perspective(700px) translateY(-10px) rotateX(0);transform:perspective(700px) translateY(-10px) rotateX(0)}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:perspective(700px) translateY(0) rotateX(60deg);transform:perspective(700px) translateY(0) rotateX(60deg)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=top] [data-animation=scale]{-webkit-transform-origin:bottom;transform-origin:bottom}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=visible]{-webkit-transform:translateY(-10px) scale(1);transform:translateY(-10px) scale(1)}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(-10px) scale(.5);transform:translateY(-10px) scale(.5)}.tippy-popper[x-placement^=bottom] .tippy-backdrop{border-radius:0 0 30% 30%}.tippy-popper[x-placement^=bottom] .tippy-roundarrow{top:-7px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%;margin:0 3px}.tippy-popper[x-placement^=bottom] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(0);transform:rotate(0)}.tippy-popper[x-placement^=bottom] .tippy-arrow{border-bottom:8px solid #333;border-right:8px solid transparent;border-left:8px solid transparent;top:-7px;margin:0 3px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-backdrop{-webkit-transform-origin:0 -50%;transform-origin:0 -50%}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-45%);transform:scale(1) translate(-50%,-45%)}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-50%);transform:scale(.2) translate(-50%);opacity:0}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(20px);transform:translateY(20px)}.tippy-popper[x-placement^=bottom] [data-animation=perspective]{-webkit-transform-origin:top;transform-origin:top}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=visible]{-webkit-transform:perspective(700px) translateY(10px) rotateX(0);transform:perspective(700px) translateY(10px) rotateX(0)}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:perspective(700px) translateY(0) rotateX(-60deg);transform:perspective(700px) translateY(0) rotateX(-60deg)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=bottom] [data-animation=scale]{-webkit-transform-origin:top;transform-origin:top}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=visible]{-webkit-transform:translateY(10px) scale(1);transform:translateY(10px) scale(1)}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(10px) scale(.5);transform:translateY(10px) scale(.5)}.tippy-popper[x-placement^=left] .tippy-backdrop{border-radius:50% 0 0 50%}.tippy-popper[x-placement^=left] .tippy-roundarrow{right:-12px;-webkit-transform-origin:33.33333333% 50%;transform-origin:33.33333333% 50%;margin:3px 0}.tippy-popper[x-placement^=left] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.tippy-popper[x-placement^=left] .tippy-arrow{border-left:8px solid #333;border-top:8px solid transparent;border-bottom:8px solid transparent;right:-7px;margin:3px 0;-webkit-transform-origin:0 50%;transform-origin:0 50%}.tippy-popper[x-placement^=left] .tippy-backdrop{-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-75%,-50%);transform:scale(.2) translate(-75%,-50%);opacity:0}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(-20px);transform:translateX(-20px)}.tippy-popper[x-placement^=left] [data-animation=perspective]{-webkit-transform-origin:right;transform-origin:right}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=visible]{-webkit-transform:perspective(700px) translateX(-10px) rotateY(0);transform:perspective(700px) translateX(-10px) rotateY(0)}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:perspective(700px) translateX(0) rotateY(-60deg);transform:perspective(700px) translateX(0) rotateY(-60deg)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=left] [data-animation=scale]{-webkit-transform-origin:right;transform-origin:right}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=visible]{-webkit-transform:translateX(-10px) scale(1);transform:translateX(-10px) scale(1)}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(-10px) scale(.5);transform:translateX(-10px) scale(.5)}.tippy-popper[x-placement^=right] .tippy-backdrop{border-radius:0 50% 50% 0}.tippy-popper[x-placement^=right] .tippy-roundarrow{left:-12px;-webkit-transform-origin:66.66666666% 50%;transform-origin:66.66666666% 50%;margin:3px 0}.tippy-popper[x-placement^=right] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.tippy-popper[x-placement^=right] .tippy-arrow{border-right:8px solid #333;border-top:8px solid transparent;border-bottom:8px solid transparent;left:-7px;margin:3px 0;-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.tippy-popper[x-placement^=right] .tippy-backdrop{-webkit-transform-origin:-50% 0;transform-origin:-50% 0}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-25%,-50%);transform:scale(.2) translate(-25%,-50%);opacity:0}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(20px);transform:translateX(20px)}.tippy-popper[x-placement^=right] [data-animation=perspective]{-webkit-transform-origin:left;transform-origin:left}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=visible]{-webkit-transform:perspective(700px) translateX(10px) rotateY(0);transform:perspective(700px) translateX(10px) rotateY(0)}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:perspective(700px) translateX(0) rotateY(60deg);transform:perspective(700px) translateX(0) rotateY(60deg)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=right] [data-animation=scale]{-webkit-transform-origin:left;transform-origin:left}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=visible]{-webkit-transform:translateX(10px) scale(1);transform:translateX(10px) scale(1)}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(10px) scale(.5);transform:translateX(10px) scale(.5)}.tippy-tooltip{position:relative;color:#fff;border-radius:.25rem;font-size:.875rem;padding:.3125rem .5625rem;line-height:1.4;text-align:center;background-color:#333}.tippy-tooltip[data-size=small]{padding:.1875rem .375rem;font-size:.75rem}.tippy-tooltip[data-size=large]{padding:.375rem .75rem;font-size:1rem}.tippy-tooltip[data-animatefill]{overflow:hidden;background-color:transparent}.tippy-tooltip[data-interactive],.tippy-tooltip[data-interactive] path{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-tooltip[data-inertia][data-state=hidden]{transition-timing-function:ease}.tippy-arrow,.tippy-roundarrow{position:absolute;width:0;height:0}.tippy-roundarrow{width:18px;height:7px;fill:#333;pointer-events:none}.tippy-backdrop{position:absolute;background-color:#333;border-radius:50%;width:calc(110% + 2rem);left:50%;top:50%;z-index:-1;transition:all cubic-bezier(.46,.1,.52,.98);-webkit-backface-visibility:hidden;backface-visibility:hidden}.tippy-backdrop:after{content:"";float:left;padding-top:100%}.tippy-backdrop+.tippy-content{transition-property:opacity;will-change:opacity}.tippy-backdrop+.tippy-content[data-state=visible]{opacity:1}.tippy-backdrop+.tippy-content[data-state=hidden]{opacity:0}';var D=document.head,w=D.firstChild;w?D.insertBefore(h,w):D.appendChild(h)}}();var di=z;function pe(g){var h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},D=document.createElementNS("http://www.w3.org/2000/svg",g);for(var w in h)h.hasOwnProperty(w)&&D.setAttribute(w,h[w]);return D}function It(g){var h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;h=h||document.body;var D=g.cloneNode(!0);h.appendChild(D);var w=D.getBoundingClientRect();return h.removeChild(D),w}function ki(g,h,D){return h in g?Object.defineProperty(g,h,{value:D,enumerable:!0,configurable:!0,writable:!0}):g[h]=D,g}function Ns(g,h){var D=g.getBoundingClientRect(),w={padding:15,data:[],reversed:!1,orientation:"horizontal",select:function(Pe){},verticalTextTopDown:!1},O=pe("svg",{class:"chart"});g.appendChild(O);var k=function(Pe,Pt){var Vt=function(J){for(var Qt=[],Dt=0;Dt<J.length;Dt++){for(var dt=0,yn=0;yn<J[Dt].data.length;yn++)dt+=Number(J[Dt].data[yn].value);Qt.push({line:J[Dt],sum:dt})}var Ht=Qt.sort(function(xn,cn){return xn.sum-cn.sum});return Ht[Ht.length-1]}(w.data);if(Vt){for(var le="horizontal"===w.orientation,re=le?Pe:Pt,P=function(J,Qt,Dt){for(var dt=0,yn=0;yn<J.length;yn++){var Ht=pe("text");Ht.innerHTML=J[yn];var xn=It(Ht,Dt);xn[Qt]>dt&&(dt=xn[Qt])}return dt+10}(w.data.map(function(J){return J.label}),le?"width":"height",O),st=(re-(P+w.padding)-Vt.line.data.length*w.padding)/Vt.sum,Ce=((le?Pt:Pe)-(w.data.length-1)*w.padding)/w.data.length,tn=pe("g"),un=function(J){var Qt=0,Dt=w.reversed?re-P:0,dt=J*(Ce+w.padding),yn=bl(le?Dt:dt,le?dt:Dt,w.data[J].color?w.data[J].color:"#d3d3d3",le?P:Ce,le?Ce:P,w.data[J].label,O,void 0,w.verticalTextTopDown,!1,w.data[J].style);tn.appendChild(yn);for(var Ht=function(cn){var Fr=w.reversed?re-(Qt+P+w.padding+w.data[J].data[cn].value*st):P+w.padding+Qt,Or=J*(Ce+w.padding),fi=w.data[J].data[cn].value*st,Se=bl(le?Fr:Or,le?Or:Fr,w.data[J].data[cn].color,le?fi:Ce,le?Ce:fi,w.data[J].data[cn].label,O,w.data[J].data[cn].tooltip,w.verticalTextTopDown,!0,w.data[J].data[cn].style);Se.addEventListener("click",function(){return w.select(w.data[J].data[cn])}),tn.appendChild(Se),Qt+=w.data[J].data[cn].value*st+w.padding},xn=0;xn<w.data[J].data.length;xn++)Ht(xn)},b=0;b<w.data.length;b++)un(b);for(O.setAttribute("height",Pt.toString());O.firstChild;)O.firstChild.remove();O.appendChild(tn)}};function Re(Pe){w=function(Vt){for(var le=1;le<arguments.length;le++){var re=null!=arguments[le]?arguments[le]:{},P=Object.keys(re);"function"==typeof Object.getOwnPropertySymbols&&(P=P.concat(Object.getOwnPropertySymbols(re).filter(function(st){return Object.getOwnPropertyDescriptor(re,st).enumerable}))),P.forEach(function(st){ki(Vt,st,re[st])})}return Vt}({},w,Pe);var Pt=g.getBoundingClientRect();k(Pt.width,Pt.height)}Re(h);var me=D.height===g.getBoundingClientRect().height;return new te.ResizeSensor(g,function(Pe){Pe.height&&Pe.width&&k(Pe.width,me?Pe.height:O.getBoundingClientRect().height)}),Re}function bl(g,h,D,w,O,k,Re){var me=arguments.length>7&&void 0!==arguments[7]?arguments[7]:k,Pe=arguments.length>8?arguments[8]:void 0,Pt=!(arguments.length>9&&void 0!==arguments[9])||arguments[9],Vt=arguments.length>10&&void 0!==arguments[10]?arguments[10]:"",le=pe("g",{transform:"translate(".concat(g,",").concat(h,")")});le.appendChild(pe("rect",{width:w,height:O,style:"fill: ".concat(D,";"),class:"bar",rx:3,ry:3}));var re=pe("text",{x:w/2,y:O/2,class:"bar-text","dominant-baseline":"middle","text-anchor":"middle",fill:new bt(D).isLight()?"black":"white",style:Vt});re.innerHTML="".concat(k);var P=It(re,Re);return P.width<w?le.appendChild(re):P.width<O&&(re.setAttribute("transform","rotate(".concat(Pe?"":"-","90, ").concat(w/2,", ").concat(O/2,")")),le.appendChild(re)),Pt&&me&&di(le,{content:me,arrow:!0,interactive:!0,followCursor:"horizontal",theme:"light-border"}),le}Z.d(Ue,"generateContainerChart",function(){return Ns})}])}},qd={};function Gd(xr){var Qe=qd[xr];if(void 0!==Qe)return Qe.exports;var Ue=qd[xr]={exports:{}};return Jv[xr](Ue,Ue.exports,Gd),Ue.exports}(()=>{"use strict";function xr(t){return"function"==typeof t}let Qe=!1;const Ue={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else Qe&&console.log("RxJS: Back to a better error behavior. Thank you. <3");Qe=t},get useDeprecatedSynchronousErrorHandling(){return Qe}};function Z(t){setTimeout(()=>{throw t},0)}const B={closed:!0,next(t){},error(t){if(Ue.useDeprecatedSynchronousErrorHandling)throw t;Z(t)},complete(){}},he=Array.isArray||(t=>t&&"number"==typeof t.length);function qe(t){return null!==t&&"object"==typeof t}const Te=(()=>{function t(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((n,r)=>`${r+1}) ${n.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return t.prototype=Object.create(Error.prototype),t})();class K{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:r,_unsubscribe:i,_subscriptions:o}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof K)n.remove(this);else if(null!==n)for(let s=0;s<n.length;++s)n[s].remove(this);if(xr(i)){r&&(this._unsubscribe=void 0);try{i.call(this)}catch(s){e=s instanceof Te?Ve(s.errors):[s]}}if(he(o)){let s=-1,a=o.length;for(;++s<a;){const l=o[s];if(qe(l))try{l.unsubscribe()}catch(u){e=e||[],u instanceof Te?e=e.concat(Ve(u.errors)):e.push(u)}}}if(e)throw new Te(e)}add(e){let n=e;if(!e)return K.EMPTY;switch(typeof e){case"function":n=new K(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof K)){const o=n;n=new K,n._subscriptions=[o]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}let{_parentOrParents:r}=n;if(null===r)n._parentOrParents=this;else if(r instanceof K){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}const i=this._subscriptions;return null===i?this._subscriptions=[n]:i.push(n),n}remove(e){const n=this._subscriptions;if(n){const r=n.indexOf(e);-1!==r&&n.splice(r,1)}}}var t;function Ve(t){return t.reduce((e,n)=>e.concat(n instanceof Te?n.errors:n),[])}K.EMPTY=((t=new K).closed=!0,t);const Ae="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class ie extends K{constructor(e,n,r){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=B;break;case 1:if(!e){this.destination=B;break}if("object"==typeof e){e instanceof ie?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new xe(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new xe(this,e,n,r)}}[Ae](){return this}static create(e,n,r){const i=new ie(e,n,r);return i.syncErrorThrowable=!1,i}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class xe extends ie{constructor(e,n,r,i){super(),this._parentSubscriber=e;let o,s=this;xr(n)?o=n:n&&(o=n.next,r=n.error,i=n.complete,n!==B&&(s=Object.create(n),xr(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=o,this._error=r,this._complete=i}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:n}=this;Ue.useDeprecatedSynchronousErrorHandling&&n.syncErrorThrowable?this.__tryOrSetError(n,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:n}=this,{useDeprecatedSynchronousErrorHandling:r}=Ue;if(this._error)r&&n.syncErrorThrowable?(this.__tryOrSetError(n,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(n.syncErrorThrowable)r?(n.syncErrorValue=e,n.syncErrorThrown=!0):Z(e),this.unsubscribe();else{if(this.unsubscribe(),r)throw e;Z(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const n=()=>this._complete.call(this._context);Ue.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,n){try{e.call(this._context,n)}catch(r){if(this.unsubscribe(),Ue.useDeprecatedSynchronousErrorHandling)throw r;Z(r)}}__tryOrSetError(e,n,r){if(!Ue.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{n.call(this._context,r)}catch(i){return Ue.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=i,e.syncErrorThrown=!0,!0):(Z(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const ot="function"==typeof Symbol&&Symbol.observable||"@@observable";function ce(t){return t}let Ne=(()=>{class t{constructor(n){this._isScalar=!1,n&&(this._subscribe=n)}lift(n){const r=new t;return r.source=this,r.operator=n,r}subscribe(n,r,i){const{operator:o}=this,s=function _t(t,e,n){if(t){if(t instanceof ie)return t;if(t[Ae])return t[Ae]()}return t||e||n?new ie(t,e,n):new ie(B)}(n,r,i);if(s.add(o?o.call(s,this.source):this.source||Ue.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),Ue.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(n){try{return this._subscribe(n)}catch(r){Ue.useDeprecatedSynchronousErrorHandling&&(n.syncErrorThrown=!0,n.syncErrorValue=r),function De(t){for(;t;){const{closed:e,destination:n,isStopped:r}=t;if(e||r)return!1;t=n&&n instanceof ie?n:null}return!0}(n)?n.error(r):console.warn(r)}}forEach(n,r){return new(r=bt(r))((i,o)=>{let s;s=this.subscribe(a=>{try{n(a)}catch(l){o(l),s&&s.unsubscribe()}},o,i)})}_subscribe(n){const{source:r}=this;return r&&r.subscribe(n)}[ot](){return this}pipe(...n){return 0===n.length?this:function Ge(t){return 0===t.length?ce:1===t.length?t[0]:function(n){return t.reduce((r,i)=>i(r),n)}}(n)(this)}toPromise(n){return new(n=bt(n))((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return t.create=e=>new t(e),t})();function bt(t){if(t||(t=Ue.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const C=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class T extends K{constructor(e,n){super(),this.subject=e,this.subscriber=n,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,n=e.observers;if(this.subject=null,!n||0===n.length||e.isStopped||e.closed)return;const r=n.indexOf(this.subscriber);-1!==r&&n.splice(r,1)}}class $ extends ie{constructor(e){super(e),this.destination=e}}let L=(()=>{class t extends Ne{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[Ae](){return new $(this)}lift(n){const r=new V(this,this);return r.operator=n,r}next(n){if(this.closed)throw new C;if(!this.isStopped){const{observers:r}=this,i=r.length,o=r.slice();for(let s=0;s<i;s++)o[s].next(n)}}error(n){if(this.closed)throw new C;this.hasError=!0,this.thrownError=n,this.isStopped=!0;const{observers:r}=this,i=r.length,o=r.slice();for(let s=0;s<i;s++)o[s].error(n);this.observers.length=0}complete(){if(this.closed)throw new C;this.isStopped=!0;const{observers:n}=this,r=n.length,i=n.slice();for(let o=0;o<r;o++)i[o].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(n){if(this.closed)throw new C;return super._trySubscribe(n)}_subscribe(n){if(this.closed)throw new C;return this.hasError?(n.error(this.thrownError),K.EMPTY):this.isStopped?(n.complete(),K.EMPTY):(this.observers.push(n),new T(this,n))}asObservable(){const n=new Ne;return n.source=this,n}}return t.create=(e,n)=>new V(e,n),t})();class V extends L{constructor(e,n){super(),this.destination=e,this.source=n}next(e){const{destination:n}=this;n&&n.next&&n.next(e)}error(e){const{destination:n}=this;n&&n.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:n}=this;return n?this.source.subscribe(e):K.EMPTY}}function ue(t){return t&&"function"==typeof t.schedule}function ee(t,e){return function(r){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new ge(t,e))}}class ge{constructor(e,n){this.project=e,this.thisArg=n}call(e,n){return n.subscribe(new ft(e,this.project,this.thisArg))}}class ft extends ie{constructor(e,n,r){super(e),this.project=n,this.count=0,this.thisArg=r||this}_next(e){let n;try{n=this.project.call(this.thisArg,e,this.count++)}catch(r){return void this.destination.error(r)}this.destination.next(n)}}const et=t=>e=>{for(let n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.complete()},ut=function St(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}(),ln=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function mr(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const zr=t=>{if(t&&"function"==typeof t[ot])return(t=>e=>{const n=t[ot]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)})(t);if(ln(t))return et(t);if(mr(t))return(t=>e=>(t.then(n=>{e.closed||(e.next(n),e.complete())},n=>e.error(n)).then(null,Z),e))(t);if(t&&"function"==typeof t[ut])return(t=>e=>{const n=t[ut]();for(;;){let r;try{r=n.next()}catch(i){return e.error(i),e}if(r.done){e.complete();break}if(e.next(r.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e})(t);{const n=`You provided ${qe(t)?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(n)}};function Nr(t,e){return new Ne(n=>{const r=new K;let i=0;return r.add(e.schedule(function(){i!==t.length?(n.next(t[i++]),n.closed||r.add(this.schedule())):n.complete()})),r})}function qr(t,e){return e?function Oi(t,e){if(null!=t){if(function Oo(t){return t&&"function"==typeof t[ot]}(t))return function Pi(t,e){return new Ne(n=>{const r=new K;return r.add(e.schedule(()=>{const i=t[ot]();r.add(i.subscribe({next(o){r.add(e.schedule(()=>n.next(o)))},error(o){r.add(e.schedule(()=>n.error(o)))},complete(){r.add(e.schedule(()=>n.complete()))}}))})),r})}(t,e);if(mr(t))return function ai(t,e){return new Ne(n=>{const r=new K;return r.add(e.schedule(()=>t.then(i=>{r.add(e.schedule(()=>{n.next(i),r.add(e.schedule(()=>n.complete()))}))},i=>{r.add(e.schedule(()=>n.error(i)))}))),r})}(t,e);if(ln(t))return Nr(t,e);if(function Fi(t){return t&&"function"==typeof t[ut]}(t)||"string"==typeof t)return function li(t,e){if(!t)throw new Error("Iterable cannot be null");return new Ne(n=>{const r=new K;let i;return r.add(()=>{i&&"function"==typeof i.return&&i.return()}),r.add(e.schedule(()=>{i=t[ut](),r.add(e.schedule(function(){if(n.closed)return;let o,s;try{const a=i.next();o=a.value,s=a.done}catch(a){return void n.error(a)}s?n.complete():(n.next(o),this.schedule())}))})),r})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof Ne?t:new Ne(zr(t))}class In extends ie{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class ui extends ie{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function Un(t,e){if(!e.closed)return t instanceof Ne?t.subscribe(e):zr(t)(e)}function f(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe(f((i,o)=>qr(t(i,o)).pipe(ee((s,a)=>e(i,s,o,a))),n)):("number"==typeof e&&(n=e),r=>r.lift(new y(t,n)))}class y{constructor(e,n=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=n}call(e,n){return n.subscribe(new _(e,this.project,this.concurrent))}}class _ extends ui{constructor(e,n,r=Number.POSITIVE_INFINITY){super(e),this.project=n,this.concurrent=r,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let n;const r=this.index++;try{n=this.project(e,r)}catch(i){return void this.destination.error(i)}this.active++,this._innerSub(n)}_innerSub(e){const n=new In(this),r=this.destination;r.add(n);const i=Un(e,n);i!==n&&r.add(i)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e){this.destination.next(e)}notifyComplete(){const e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function F(t=Number.POSITIVE_INFINITY){return f(ce,t)}function x(t,e){return e?Nr(t,e):new Ne(et(t))}function N(...t){let e=Number.POSITIVE_INFINITY,n=null,r=t[t.length-1];return ue(r)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof r&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof Ne?t[0]:F(e)(x(t,n))}function H(){return function(e){return e.lift(new U(e))}}class U{constructor(e){this.connectable=e}call(e,n){const{connectable:r}=this;r._refCount++;const i=new se(e,r),o=n.subscribe(i);return i.closed||(i.connection=r.connect()),o}}class se extends ie{constructor(e,n){super(e),this.connectable=n}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const n=e._refCount;if(n<=0)return void(this.connection=null);if(e._refCount=n-1,n>1)return void(this.connection=null);const{connection:r}=this,i=e._connection;this.connection=null,i&&(!r||i===r)&&i.unsubscribe()}}class ae extends Ne{constructor(e,n){super(),this.source=e,this.subjectFactory=n,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new K,e.add(this.source.subscribe(new de(this.getSubject(),this))),e.closed&&(this._connection=null,e=K.EMPTY)),e}refCount(){return H()(this)}}const X=(()=>{const t=ae.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class de extends ${constructor(e,n){super(e),this.connectable=n}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const n=e._connection;e._refCount=0,e._subject=null,e._connection=null,n&&n.unsubscribe()}}}class gt{constructor(e,n){this.subjectFactory=e,this.selector=n}call(e,n){const{selector:r}=this,i=this.subjectFactory(),o=r(i).subscribe(e);return o.add(n.subscribe(i)),o}}function Wt(){return new L}function ne(t){for(let e in t)if(t[e]===ne)return e;throw Error("Could not find renamed property on target object.")}function Oe(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(Oe).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function kt(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const Ro=ne({__forward_ref__:ne});function yr(t){return t.__forward_ref__=yr,t.toString=function(){return Oe(this())},t}function Fe(t){return function Gr(t){return"function"==typeof t&&t.hasOwnProperty(Ro)&&t.__forward_ref__===yr}(t)?t():t}class z extends Error{constructor(e,n){super(function di(t,e){return`NG0${Math.abs(t)}${e?": "+e:""}`}(e,n)),this.code=e}}function It(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():function pe(t){return"string"==typeof t?t:null==t?"":String(t)}(t)}function g(t,e){const n=e?` in ${e}`:"";throw new z(-201,`No provider for ${It(t)} found${n}`)}function st(t,e){null==t&&function Ce(t,e,n,r){throw new Error(`ASSERTION ERROR: ${t}`+(null==r?"":` [Expected=> ${n} ${r} ${e} <=Actual]`))}(e,t,null,"!=")}function J(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Dt(t){return{providers:t.providers||[],imports:t.imports||[]}}function dt(t){return yn(t,zn)||yn(t,Or)}function yn(t,e){return t.hasOwnProperty(e)?t[e]:null}function cn(t){return t&&(t.hasOwnProperty(Fr)||t.hasOwnProperty(fi))?t[Fr]:null}const zn=ne({\u0275prov:ne}),Fr=ne({\u0275inj:ne}),Or=ne({ngInjectableDef:ne}),fi=ne({ngInjectorDef:ne});var Se=(()=>((Se=Se||{})[Se.Default=0]="Default",Se[Se.Host=1]="Host",Se[Se.Self=2]="Self",Se[Se.SkipSelf=4]="SkipSelf",Se[Se.Optional=8]="Optional",Se))();let hi;function ir(t){const e=hi;return hi=t,e}function Li(t,e,n){const r=dt(t);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Se.Optional?null:void 0!==e?e:void g(Oe(t),"Injector")}function dn(t){return{toString:t}.toString()}var vn=(()=>((vn=vn||{})[vn.OnPush=0]="OnPush",vn[vn.Default=1]="Default",vn))(),fn=(()=>(function(t){t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom"}(fn||(fn={})),fn))();const j="undefined"!=typeof globalThis&&globalThis,ve="undefined"!=typeof window&&window,be="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,G=j||"undefined"!=typeof global&&global||ve||be,ke={},je=[],ht=ne({\u0275cmp:ne}),nt=ne({\u0275dir:ne}),pt=ne({\u0275pipe:ne}),Tn=ne({\u0275mod:ne}),nn=ne({\u0275fac:ne}),pi=ne({__NG_ELEMENT_ID__:ne});let Dl=0;function _l(t){return dn(()=>{const n={},r={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===vn.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||je,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||fn.Emulated,id:"c",styles:t.styles||je,_:null,setInput:null,schemas:t.schemas||null,tView:null},i=t.directives,o=t.features,s=t.pipes;return r.id+=Dl++,r.inputs=Yd(t.inputs,n),r.outputs=Yd(t.outputs),o&&o.forEach(a=>a(r)),r.directiveDefs=i?()=>("function"==typeof i?i():i).map(Wd):null,r.pipeDefs=s?()=>("function"==typeof s?s():s).map(Qd):null,r})}function Wd(t){return sn(t)||function Wr(t){return t[nt]||null}(t)}function Qd(t){return function gi(t){return t[pt]||null}(t)}const Kd={};function ji(t){return dn(()=>{const e={type:t.type,bootstrap:t.bootstrap||je,declarations:t.declarations||je,imports:t.imports||je,exports:t.exports||je,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(Kd[t.id]=t.type),e})}function Yd(t,e){if(null==t)return ke;const n={};for(const r in t)if(t.hasOwnProperty(r)){let i=t[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,e&&(e[i]=o)}return n}function sn(t){return t[ht]||null}function Gn(t,e){const n=t[Tn]||null;if(!n&&!0===e)throw new Error(`Type ${Oe(t)} does not have '\u0275mod' property.`);return n}function vr(t){return Array.isArray(t)&&"object"==typeof t[1]}function sr(t){return Array.isArray(t)&&!0===t[1]}function Sl(t){return 0!=(8&t.flags)}function Ls(t){return 2==(2&t.flags)}function ar(t){return null!==t.template}function ob(t){return 0!=(512&t[2])}function bi(t,e){return t.hasOwnProperty(nn)?t[nn]:null}class Xd{constructor(e,n,r){this.previousValue=e,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function jo(){return Jd}function Jd(t){return t.type.prototype.ngOnChanges&&(t.setInput=ub),lb}function lb(){const t=tf(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===ke)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function ub(t,e,n,r){const i=tf(t)||function cb(t,e){return t[ef]=e}(t,{previous:ke,current:null}),o=i.current||(i.current={}),s=i.previous,a=this.declaredInputs[n],l=s[a];o[a]=new Xd(l&&l.currentValue,e,s===ke),t[r]=e}jo.ngInherit=!0;const ef="__ngSimpleChanges__";function tf(t){return t[ef]||null}let xl;function Ot(t){return!!t.listen}const nf={createRenderer:(t,e)=>function Nl(){return void 0!==xl?xl:"undefined"!=typeof document?document:void 0}()};function $t(t){for(;Array.isArray(t);)t=t[0];return t}function Pn(t,e){return $t(e[t.index])}function Fn(t,e){const n=e[t];return vr(n)?n:n[0]}function rf(t){return 4==(4&t[2])}function Fl(t){return 128==(128&t[2])}function Qr(t,e){return null==e?null:t[e]}function of(t){t[18]=0}function Ol(t,e){t[5]+=e;let n=t,r=t[3];for(;null!==r&&(1===e&&1===n[5]||-1===e&&0===n[5]);)r[5]+=e,n=r,r=r[3]}const Le={lFrame:pf(null),bindingsEnabled:!0};function af(){return Le.bindingsEnabled}function A(){return Le.lFrame.lView}function rt(){return Le.lFrame.tView}function Kt(){let t=lf();for(;null!==t&&64===t.type;)t=t.parent;return t}function lf(){return Le.lFrame.currentTNode}function br(t,e){const n=Le.lFrame;n.currentTNode=t,n.isParent=e}function Rl(){return Le.lFrame.isParent}function Mb(t,e){const n=Le.lFrame;n.bindingIndex=n.bindingRootIndex=t,Ll(e)}function Ll(t){Le.lFrame.currentDirectiveIndex=t}function df(){return Le.lFrame.currentQueryIndex}function jl(t){Le.lFrame.currentQueryIndex=t}function xb(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function ff(t,e,n){if(n&Se.SkipSelf){let i=e,o=t;for(;!(i=i.parent,null!==i||n&Se.Host||(i=xb(o),null===i||(o=o[15],10&i.type))););if(null===i)return!1;e=i,t=o}const r=Le.lFrame=hf();return r.currentTNode=e,r.lView=t,!0}function Hs(t){const e=hf(),n=t[1];Le.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function hf(){const t=Le.lFrame,e=null===t?null:t.child;return null===e?pf(t):e}function pf(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function gf(){const t=Le.lFrame;return Le.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const mf=gf;function $s(){const t=gf();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Kr(t){Le.lFrame.selectedIndex=t}function Us(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){const o=t.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:u,ngOnDestroy:c}=o;s&&(t.contentHooks||(t.contentHooks=[])).push(-n,s),a&&((t.contentHooks||(t.contentHooks=[])).push(n,a),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,a)),l&&(t.viewHooks||(t.viewHooks=[])).push(-n,l),u&&((t.viewHooks||(t.viewHooks=[])).push(n,u),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,u)),null!=c&&(t.destroyHooks||(t.destroyHooks=[])).push(n,c)}}function zs(t,e,n){yf(t,e,3,n)}function qs(t,e,n,r){(3&t[2])===n&&yf(t,e,n,r)}function Vl(t,e){let n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function yf(t,e,n,r){const o=null!=r?r:-1,s=e.length-1;let a=0;for(let l=void 0!==r?65535&t[18]:0;l<s;l++)if("number"==typeof e[l+1]){if(a=e[l],null!=r&&a>=r)break}else e[l]<0&&(t[18]+=65536),(a<o||-1==o)&&(jb(t,n,e,l),t[18]=(4294901760&t[18])+l+2),l++}function jb(t,e,n,r){const i=n[r]<0,o=n[r+1],a=t[i?-n[r]:n[r]];if(i){if(t[2]>>11<t[18]>>16&&(3&t[2])===e){t[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}class Ho{constructor(e,n,r){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Gs(t,e,n){const r=Ot(t);let i=0;for(;i<n.length;){const o=n[i];if("number"==typeof o){if(0!==o)break;i++;const s=n[i++],a=n[i++],l=n[i++];r?t.setAttribute(e,a,l,s):e.setAttributeNS(s,a,l)}else{const s=o,a=n[++i];$l(s)?r&&t.setProperty(e,s,a):r?t.setAttribute(e,s,a):e.setAttribute(s,a),i++}}return i}function vf(t){return 3===t||4===t||6===t}function $l(t){return 64===t.charCodeAt(0)}function Ws(t,e){if(null!==e&&0!==e.length)if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let r=0;r<e.length;r++){const i=e[r];"number"==typeof i?n=i:0===n||bf(t,n,i,null,-1===n||2===n?e[++r]:null)}}return t}function bf(t,e,n,r,i){let o=0,s=t.length;if(-1===e)s=-1;else for(;o<t.length;){const a=t[o++];if("number"==typeof a){if(a===e){s=-1;break}if(a>e){s=o-1;break}}}for(;o<t.length;){const a=t[o];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==i&&(t[o+1]=i));if(r===t[o+1])return void(t[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==s&&(t.splice(s,0,e),o=s+1),t.splice(o++,0,n),null!==r&&t.splice(o++,0,r),null!==i&&t.splice(o++,0,i)}function wf(t){return-1!==t}function Gi(t){return 32767&t}function Wi(t,e){let n=function zb(t){return t>>16}(t),r=e;for(;n>0;)r=r[15],n--;return r}let Ul=!0;function Qs(t){const e=Ul;return Ul=t,e}let qb=0;function Uo(t,e){const n=ql(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,zl(r.data,t),zl(e,null),zl(r.blueprint,null));const i=Ks(t,e),o=t.injectorIndex;if(wf(i)){const s=Gi(i),a=Wi(i,e),l=a[1].data;for(let u=0;u<8;u++)e[o+u]=a[s+u]|l[s+u]}return e[o+8]=i,o}function zl(t,e){t.push(0,0,0,0,0,0,0,0,e)}function ql(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Ks(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,r=null,i=e;for(;null!==i;){const o=i[1],s=o.type;if(r=2===s?o.declTNode:1===s?i[6]:null,null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Ys(t,e,n){!function Gb(t,e,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(pi)&&(r=n[pi]),null==r&&(r=n[pi]=qb++);const i=255&r;e.data[t+(i>>5)]|=1<<i}(t,e,n)}function Ef(t,e,n){if(n&Se.Optional)return t;g(e,"NodeInjector")}function Cf(t,e,n,r){if(n&Se.Optional&&void 0===r&&(r=null),0==(n&(Se.Self|Se.Host))){const i=t[9],o=ir(void 0);try{return i?i.get(e,r,n&Se.Optional):Li(e,r,n&Se.Optional)}finally{ir(o)}}return Ef(r,e,n)}const If={};function Qb(){return new Qi(Kt(),A())}function Kb(t,e,n,r,i,o){const s=e[1],a=s.data[t+8],c=Zs(a,s,n,null==r?Ls(a)&&Ul:r!=s&&0!=(3&a.type),i&Se.Host&&o===a);return null!==c?zo(e,s,c,a):If}function Zs(t,e,n,r,i){const o=t.providerIndexes,s=e.data,a=1048575&o,l=t.directiveStart,c=o>>20,p=i?a+c:t.directiveEnd;for(let m=r?a:a+c;m<p;m++){const v=s[m];if(m<l&&n===v||m>=l&&v.type===n)return m}if(i){const m=s[l];if(m&&ar(m)&&m.type===n)return l}return null}function zo(t,e,n,r){let i=t[n];const o=e.data;if(function Vb(t){return t instanceof Ho}(i)){const s=i;s.resolving&&function ki(t,e){const n=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new z(-200,`Circular dependency in DI detected for ${t}${n}`)}(It(o[n]));const a=Qs(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?ir(s.injectImpl):null;ff(t,r,Se.Default);try{i=t[n]=s.factory(void 0,o,t,r),e.firstCreatePass&&n>=r.directiveStart&&function Bb(t,e,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(r){const s=Jd(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,o))}(n,o[n],e)}finally{null!==l&&ir(l),Qs(a),s.resolving=!1,mf()}}return i}function Tf(t,e,n){return!!(n[e+(t>>5)]&1<<t)}function Mf(t,e){return!(t&Se.Self||t&Se.Host&&e)}class Qi{constructor(e,n){this._tNode=e,this._lView=n}get(e,n,r){return function Sf(t,e,n,r=Se.Default,i){if(null!==t){const o=function Yb(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(pi)?t[pi]:void 0;return"number"==typeof e?e>=0?255&e:Qb:e}(n);if("function"==typeof o){if(!ff(e,t,r))return r&Se.Host?Ef(i,n,r):Cf(e,n,r,i);try{const s=o(r);if(null!=s||r&Se.Optional)return s;g(n)}finally{mf()}}else if("number"==typeof o){let s=null,a=ql(t,e),l=-1,u=r&Se.Host?e[16][6]:null;for((-1===a||r&Se.SkipSelf)&&(l=-1===a?Ks(t,e):e[a+8],-1!==l&&Mf(r,!1)?(s=e[1],a=Gi(l),e=Wi(l,e)):a=-1);-1!==a;){const c=e[1];if(Tf(o,a,c.data)){const d=Kb(a,e,n,s,r,u);if(d!==If)return d}l=e[a+8],-1!==l&&Mf(r,e[1].data[a+8]===u)&&Tf(o,a,e)?(s=c,a=Gi(l),e=Wi(l,e)):a=-1}}}return Cf(e,n,r,i)}(this._tNode,this._lView,e,r,n)}}class it{constructor(e,n){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=J({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}function Kn(t,e){void 0===e&&(e=t);for(let n=0;n<t.length;n++){let r=t[n];Array.isArray(r)?(e===t&&(e=t.slice(0,n)),Kn(r,e)):e!==t&&e.push(r)}return e}function wr(t,e){t.forEach(n=>Array.isArray(n)?wr(n,e):e(n))}function xf(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Xs(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}const Qo={},ea="ngTempTokenPath",lw=/\n/gm,Rf="__source",cw=ne({provide:String,useValue:ne});let Ko;function kf(t){const e=Ko;return Ko=t,e}function dw(t,e=Se.Default){if(void 0===Ko)throw new z(203,"");return null===Ko?Li(t,void 0,e):Ko.get(t,e&Se.Optional?null:void 0,e)}function Xe(t,e=Se.Default){return(function Ps(){return hi}()||dw)(Fe(t),e)}const fw=Xe;function Jl(t){const e=[];for(let n=0;n<t.length;n++){const r=Fe(t[n]);if(Array.isArray(r)){if(0===r.length)throw new z(900,"");let i,o=Se.Default;for(let s=0;s<r.length;s++){const a=r[s],l=hw(a);"number"==typeof l?-1===l?i=a.token:o|=l:i=a}e.push(Xe(i,o))}else e.push(Xe(r))}return e}function hw(t){return t.__NG_DI_FLAG__}var Rn=(()=>((Rn=Rn||{})[Rn.Important=1]="Important",Rn[Rn.DashCase=2]="DashCase",Rn))();const zf="__ngContext__";function gn(t,e){t[zf]=e}function ru(t){const e=function Xo(t){return t[zf]||null}(t);return e?Array.isArray(e)?e:e.lView:null}function ou(t,e){return undefined(t,e)}function Jo(t){const e=t[3];return sr(e)?e[3]:e}function su(t){return Zf(t[13])}function au(t){return Zf(t[4])}function Zf(t){for(;null!==t&&!sr(t);)t=t[4];return t}function to(t,e,n,r,i){if(null!=r){let o,s=!1;sr(r)?o=r:vr(r)&&(s=!0,r=r[0]);const a=$t(r);0===t&&null!==n?null==i?rh(e,n,a):wi(e,n,a,i||null,!0):1===t&&null!==n?wi(e,n,a,i||null,!0):2===t?function pu(t,e,n){const r=ia(t,e);r&&function zw(t,e,n,r){Ot(t)?t.removeChild(e,n,r):e.removeChild(n)}(t,r,e,n)}(e,a,s):3===t&&e.destroyNode(a),null!=o&&function Ww(t,e,n,r,i){const o=n[7];o!==$t(n)&&to(e,t,r,o,i);for(let a=10;a<n.length;a++){const l=n[a];es(l[1],l,t,e,r,o)}}(e,t,o,n,i)}}function uu(t,e,n){if(Ot(t))return t.createElement(e,n);{const r=null!==n?function pb(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(n):null;return null===r?t.createElement(e):t.createElementNS(r,e)}}function Jf(t,e){const n=t[9],r=n.indexOf(e),i=e[3];1024&e[2]&&(e[2]&=-1025,Ol(i,-1)),n.splice(r,1)}function cu(t,e){if(t.length<=10)return;const n=10+e,r=t[n];if(r){const i=r[17];null!==i&&i!==t&&Jf(i,r),e>0&&(t[n-1][4]=r[4]);const o=Xs(t,10+e);!function kw(t,e){es(t,e,e[11],2,null,null),e[0]=null,e[6]=null}(r[1],r);const s=o[19];null!==s&&s.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function eh(t,e){if(!(256&e[2])){const n=e[11];Ot(n)&&n.destroyNode&&es(t,e,n,3,null,null),function jw(t){let e=t[13];if(!e)return du(t[1],t);for(;e;){let n=null;if(vr(e))n=e[13];else{const r=e[10];r&&(n=r)}if(!n){for(;e&&!e[4]&&e!==t;)vr(e)&&du(e[1],e),e=e[3];null===e&&(e=t),vr(e)&&du(e[1],e),n=e&&e[4]}e=n}}(e)}}function du(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function Uw(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let r=0;r<n.length;r+=2){const i=e[n[r]];if(!(i instanceof Ho)){const o=n[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const a=i[o[s]],l=o[s+1];try{l.call(a)}finally{}}else try{o.call(i)}finally{}}}}(t,e),function $w(t,e){const n=t.cleanup,r=e[7];let i=-1;if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const s=n[o+1],a="function"==typeof s?s(e):$t(e[s]),l=r[i=n[o+2]],u=n[o+3];"boolean"==typeof u?a.removeEventListener(n[o],l,u):u>=0?r[i=u]():r[i=-u].unsubscribe(),o+=2}else{const s=r[i=n[o+1]];n[o].call(s)}if(null!==r){for(let o=i+1;o<r.length;o++)r[o]();e[7]=null}}(t,e),1===e[1].type&&Ot(e[11])&&e[11].destroy();const n=e[17];if(null!==n&&sr(e[3])){n!==e[3]&&Jf(n,e);const r=e[19];null!==r&&r.detachView(t)}}}function th(t,e,n){return function nh(t,e,n){let r=e;for(;null!==r&&40&r.type;)r=(e=r).parent;if(null===r)return n[0];if(2&r.flags){const i=t.data[r.directiveStart].encapsulation;if(i===fn.None||i===fn.Emulated)return null}return Pn(r,n)}(t,e.parent,n)}function wi(t,e,n,r,i){Ot(t)?t.insertBefore(e,n,r,i):e.insertBefore(n,r,i)}function rh(t,e,n){Ot(t)?t.appendChild(e,n):e.appendChild(n)}function ih(t,e,n,r,i){null!==r?wi(t,e,n,r,i):rh(t,e,n)}function ia(t,e){return Ot(t)?t.parentNode(e):e.parentNode}let ah=function sh(t,e,n){return 40&t.type?Pn(t,n):null};function oa(t,e,n,r){const i=th(t,r,e),o=e[11],a=function oh(t,e,n){return ah(t,e,n)}(r.parent||e[6],r,e);if(null!=i)if(Array.isArray(n))for(let l=0;l<n.length;l++)ih(o,i,n[l],a,!1);else ih(o,i,n,a,!1)}function sa(t,e){if(null!==e){const n=e.type;if(3&n)return Pn(e,t);if(4&n)return hu(-1,t[e.index]);if(8&n){const r=e.child;if(null!==r)return sa(t,r);{const i=t[e.index];return sr(i)?hu(-1,i):$t(i)}}if(32&n)return ou(e,t)()||$t(t[e.index]);{const r=uh(t,e);return null!==r?Array.isArray(r)?r[0]:sa(Jo(t[16]),r):sa(t,e.next)}}return null}function uh(t,e){return null!==e?t[16][6].projection[e.projection]:null}function hu(t,e){const n=10+t+1;if(n<e.length){const r=e[n],i=r[1].firstChild;if(null!==i)return sa(r,i)}return e[7]}function gu(t,e,n,r,i,o,s){for(;null!=n;){const a=r[n.index],l=n.type;if(s&&0===e&&(a&&gn($t(a),r),n.flags|=4),64!=(64&n.flags))if(8&l)gu(t,e,n.child,r,i,o,!1),to(e,t,i,a,o);else if(32&l){const u=ou(n,r);let c;for(;c=u();)to(e,t,i,c,o);to(e,t,i,a,o)}else 16&l?ch(t,e,r,n,i,o):to(e,t,i,a,o);n=s?n.projectionNext:n.next}}function es(t,e,n,r,i,o){gu(n,r,t.firstChild,e,i,o,!1)}function ch(t,e,n,r,i,o){const s=n[16],l=s[6].projection[r.projection];if(Array.isArray(l))for(let u=0;u<l.length;u++)to(e,t,i,l[u],o);else gu(t,e,l,s[3],i,o,!0)}function dh(t,e,n){Ot(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function mu(t,e,n){Ot(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}function Cu(t){return t.ngOriginalError}function I0(t,...e){t.error(...e)}class is{constructor(){this._console=console}handleError(e){const n=this._findOriginalError(e),r=function S0(t){return t&&t.ngErrorLogger||I0}(e);r(this._console,"ERROR",e),n&&r(this._console,"ORIGINAL ERROR",n)}_findOriginalError(e){let n=e&&Cu(e);for(;n&&Cu(n);)n=Cu(n);return n||null}}const F0=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(G))();function _r(t){return t instanceof Function?t():t}function Ih(t,e,n){let r=t.length;for(;;){const i=t.indexOf(e,n);if(-1===i)return i;if(0===i||t.charCodeAt(i-1)<=32){const o=e.length;if(i+o===r||t.charCodeAt(i+o)<=32)return i}n=i+1}}const Th="ng-template";function L0(t,e,n){let r=0;for(;r<t.length;){let i=t[r++];if(n&&"class"===i){if(i=t[r],-1!==Ih(i.toLowerCase(),e,0))return!0}else if(1===i){for(;r<t.length&&"string"==typeof(i=t[r++]);)if(i.toLowerCase()===e)return!0;return!1}}return!1}function Mh(t){return 4===t.type&&t.value!==Th}function B0(t,e,n){return e===(4!==t.type||n?t.value:Th)}function j0(t,e,n){let r=4;const i=t.attrs||[],o=function $0(t){for(let e=0;e<t.length;e++)if(vf(t[e]))return e;return t.length}(i);let s=!1;for(let a=0;a<e.length;a++){const l=e[a];if("number"!=typeof l){if(!s)if(4&r){if(r=2|1&r,""!==l&&!B0(t,l,n)||""===l&&1===e.length){if(lr(r))return!1;s=!0}}else{const u=8&r?l:e[++a];if(8&r&&null!==t.attrs){if(!L0(t.attrs,u,n)){if(lr(r))return!1;s=!0}continue}const d=V0(8&r?"class":l,i,Mh(t),n);if(-1===d){if(lr(r))return!1;s=!0;continue}if(""!==u){let p;p=d>o?"":i[d+1].toLowerCase();const m=8&r?p:null;if(m&&-1!==Ih(m,u,0)||2&r&&u!==p){if(lr(r))return!1;s=!0}}}}else{if(!s&&!lr(r)&&!lr(l))return!1;if(s&&lr(l))continue;s=!1,r=l|1&r}}return lr(r)||s}function lr(t){return 0==(1&t)}function V0(t,e,n,r){if(null===e)return-1;let i=0;if(r||!n){let o=!1;for(;i<e.length;){const s=e[i];if(s===t)return i;if(3===s||6===s)o=!0;else{if(1===s||2===s){let a=e[++i];for(;"string"==typeof a;)a=e[++i];continue}if(4===s)break;if(0===s){i+=4;continue}}i+=o?1:2}return-1}return function U0(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const r=t[n];if("number"==typeof r)return-1;if(r===e)return n;n++}return-1}(e,t)}function Ah(t,e,n=!1){for(let r=0;r<e.length;r++)if(j0(t,e[r],n))return!0;return!1}function xh(t,e){return t?":not("+e.trim()+")":e}function q0(t){let e=t[0],n=1,r=2,i="",o=!1;for(;n<t.length;){let s=t[n];if("string"==typeof s)if(2&r){const a=t[++n];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!lr(s)&&(e+=xh(o,i),i=""),r=s,o=o||!lr(r);n++}return""!==i&&(e+=xh(o,i)),e}const Be={};function $h(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],o=n[r+1];if(-1!==o){const s=t.data[o];jl(i),s.contentQueries(2,e[o],o)}}}function os(t,e,n,r,i,o,s,a,l,u){const c=e.blueprint.slice();return c[0]=i,c[2]=140|r,of(c),c[3]=c[15]=t,c[8]=n,c[10]=s||t&&t[10],c[11]=a||t&&t[11],c[12]=l||t&&t[12]||null,c[9]=u||t&&t[9]||null,c[6]=o,c[16]=2==e.type?t[16]:c,c}function ro(t,e,n,r,i){let o=t.data[e];if(null===o)o=function ku(t,e,n,r,i){const o=lf(),s=Rl(),l=t.data[e]=function cD(t,e,n,r,i,o){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,n,e,r,i);return null===t.firstChild&&(t.firstChild=l),null!==o&&(s?null==o.child&&null!==l.parent&&(o.child=l):null===o.next&&(o.next=l)),l}(t,e,n,r,i),function Tb(){return Le.lFrame.inI18n}()&&(o.flags|=64);else if(64&o.type){o.type=n,o.value=r,o.attrs=i;const s=function Vo(){const t=Le.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return br(o,!0),o}function io(t,e,n,r){if(0===n)return-1;const i=e.length;for(let o=0;o<n;o++)e.push(r),t.blueprint.push(r),t.data.push(null);return i}function ss(t,e,n){Hs(e);try{const r=t.viewQuery;null!==r&&qu(1,r,n);const i=t.template;null!==i&&Uh(t,e,i,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&$h(t,e),t.staticViewQueries&&qu(2,t.viewQuery,n);const o=t.components;null!==o&&function aD(t,e){for(let n=0;n<e.length;n++)MD(t,e[n])}(e,o)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),r}finally{e[2]&=-5,$s()}}function oo(t,e,n,r){const i=e[2];if(256!=(256&i)){Hs(e);try{of(e),function uf(t){return Le.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==n&&Uh(t,e,n,2,r);const s=3==(3&i);if(s){const u=t.preOrderCheckHooks;null!==u&&zs(e,u,null)}else{const u=t.preOrderHooks;null!==u&&qs(e,u,0,null),Vl(e,0)}if(function ID(t){for(let e=su(t);null!==e;e=au(e)){if(!e[2])continue;const n=e[9];for(let r=0;r<n.length;r++){const i=n[r],o=i[3];0==(1024&i[2])&&Ol(o,1),i[2]|=1024}}}(e),function SD(t){for(let e=su(t);null!==e;e=au(e))for(let n=10;n<e.length;n++){const r=e[n],i=r[1];Fl(r)&&oo(i,r,i.template,r[8])}}(e),null!==t.contentQueries&&$h(t,e),s){const u=t.contentCheckHooks;null!==u&&zs(e,u)}else{const u=t.contentHooks;null!==u&&qs(e,u,1),Vl(e,1)}!function oD(t,e){const n=t.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)Kr(~i);else{const o=i,s=n[++r],a=n[++r];Mb(s,o),a(2,e[o])}}}finally{Kr(-1)}}(t,e);const a=t.components;null!==a&&function sD(t,e){for(let n=0;n<e.length;n++)TD(t,e[n])}(e,a);const l=t.viewQuery;if(null!==l&&qu(2,l,r),s){const u=t.viewCheckHooks;null!==u&&zs(e,u)}else{const u=t.viewHooks;null!==u&&qs(e,u,2),Vl(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),e[2]&=-73,1024&e[2]&&(e[2]&=-1025,Ol(e[3],-1))}finally{$s()}}}function lD(t,e,n,r){const i=e[10],s=rf(e);try{!s&&i.begin&&i.begin(),s&&ss(t,e,r),oo(t,e,n,r)}finally{!s&&i.end&&i.end()}}function Uh(t,e,n,r,i){const o=function Dn(){return Le.lFrame.selectedIndex}(),s=2&r;try{Kr(-1),s&&e.length>20&&function Nh(t,e,n,r){if(!r)if(3==(3&e[2])){const o=t.preOrderCheckHooks;null!==o&&zs(e,o,n)}else{const o=t.preOrderHooks;null!==o&&qs(e,o,0,n)}Kr(n)}(t,e,20,!1),n(r,i)}finally{Kr(o)}}function qh(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=pa(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function pa(t,e,n,r,i,o,s,a,l,u){const c=20+r,d=c+i,p=function uD(t,e){const n=[];for(let r=0;r<e;r++)n.push(r<t?null:Be);return n}(c,d),m="function"==typeof u?u():u;return p[1]={type:t,blueprint:p,template:n,queries:null,viewQuery:a,declTNode:e,data:p.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:d,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:l,consts:m,incompleteFirstPass:!1}}function Qh(t,e,n,r){const i=function ip(t){return t[7]||(t[7]=[])}(e);null===n?i.push(r):(i.push(n),t.firstCreatePass&&function op(t){return t.cleanup||(t.cleanup=[])}(t).push(r,i.length-1))}function Kh(t,e,n){for(let r in t)if(t.hasOwnProperty(r)){const i=t[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(e,i):n[r]=[e,i]}return n}function Zh(t,e,n,r,i,o){const s=o.hostBindings;if(s){let a=t.hostBindingOpCodes;null===a&&(a=t.hostBindingOpCodes=[]);const l=~e.index;(function mD(t){let e=t.length;for(;e>0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(a)!=l&&a.push(l),a.push(r,i,s)}}function Xh(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Jh(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function DD(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;ar(e)&&(n[""]=t)}}function ep(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function tp(t,e,n,r,i){t.data[r]=i;const o=i.factory||(i.factory=bi(i.type)),s=new Ho(o,ar(i),null);t.blueprint[r]=s,n[r]=s,Zh(t,e,0,r,io(t,n,i.hostVars,Be),i)}function _D(t,e,n){const r=Pn(e,t),i=qh(n),o=t[10],s=ga(t,os(t,i,null,n.onPush?64:16,r,e,o,o.createRenderer(r,n),null,null));t[e.index]=s}function ED(t,e,n,r,i,o){const s=o[e];if(null!==s){const a=r.setInput;for(let l=0;l<s.length;){const u=s[l++],c=s[l++],d=s[l++];null!==a?r.setInput(n,d,u,c):n[c]=d}}}function CD(t,e){let n=null,r=0;for(;r<e.length;){const i=e[r];if(0!==i)if(5!==i){if("number"==typeof i)break;t.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,t[i],e[r+1])),r+=2}else r+=2;else r+=4}return n}function TD(t,e){const n=Fn(e,t);if(Fl(n)){const r=n[1];80&n[2]?oo(r,n,r.template,n[8]):n[5]>0&&Hu(n)}}function Hu(t){for(let r=su(t);null!==r;r=au(r))for(let i=10;i<r.length;i++){const o=r[i];if(1024&o[2]){const s=o[1];oo(s,o,s.template,o[8])}else o[5]>0&&Hu(o)}const n=t[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=Fn(n[r],t);Fl(i)&&i[5]>0&&Hu(i)}}function MD(t,e){const n=Fn(e,t),r=n[1];(function AD(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])})(r,n),ss(r,n,n[8])}function ga(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function zu(t,e,n){const r=e[10];r.begin&&r.begin();try{oo(t,e,t.template,n)}catch(i){throw function ap(t,e){const n=t[9],r=n?n.get(is,null):null;r&&r.handleError(e)}(e,i),i}finally{r.end&&r.end()}}function rp(t){!function Uu(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],r=ru(n),i=r[1];lD(i,r,i.template,n)}}(t[8])}function qu(t,e,n){jl(0),e(t,n)}const ND=(()=>Promise.resolve(null))();function ma(t,e,n){let r=n?t.styles:null,i=n?t.classes:null,o=0;if(null!==e)for(let s=0;s<e.length;s++){const a=e[s];"number"==typeof a?o=a:1==o?i=kt(i,a):2==o&&(r=kt(r,a+": "+e[++s]+";"))}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=i:t.classesWithoutHost=i}const Gu=new it("INJECTOR",-1);class up{get(e,n=Qo){if(n===Qo){const r=new Error(`NullInjectorError: No provider for ${Oe(e)}!`);throw r.name="NullInjectorError",r}return n}}const Wu=new it("Set Injector scope."),as={},OD={};let Qu;function cp(){return void 0===Qu&&(Qu=new up),Qu}function dp(t,e=null,n=null,r){const i=fp(t,e,n,r);return i._resolveInjectorDefTypes(),i}function fp(t,e=null,n=null,r){return new RD(t,n,e||cp(),r)}class RD{constructor(e,n,r,i=null){this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const o=[];n&&wr(n,a=>this.processProvider(a,e,n)),wr([e],a=>this.processInjectorType(a,[],o)),this.records.set(Gu,so(void 0,this));const s=this.records.get(Wu);this.scope=null!=s?s.value:null,this.source=i||("object"==typeof e?null:Oe(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,n=Qo,r=Se.Default){this.assertNotDestroyed();const i=kf(this),o=ir(void 0);try{if(!(r&Se.SkipSelf)){let a=this.records.get(e);if(void 0===a){const l=function UD(t){return"function"==typeof t||"object"==typeof t&&t instanceof it}(e)&&dt(e);a=l&&this.injectableDefInScope(l)?so(Ku(e),as):null,this.records.set(e,a)}if(null!=a)return this.hydrate(e,a)}return(r&Se.Self?cp():this.parent).get(e,n=r&Se.Optional&&n===Qo?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[ea]=s[ea]||[]).unshift(Oe(e)),i)throw s;return function pw(t,e,n,r){const i=t[ea];throw e[Rf]&&i.unshift(e[Rf]),t.message=function gw(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let i=Oe(e);if(Array.isArray(e))i=e.map(Oe).join(" -> ");else if("object"==typeof e){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):Oe(a)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${t.replace(lw,"\n ")}`}("\n"+t.message,i,n,r),t.ngTokenPath=i,t[ea]=null,t}(s,e,"R3InjectorError",this.source)}throw s}finally{ir(o),kf(i)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((r,i)=>e.push(Oe(i))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new z(205,!1)}processInjectorType(e,n,r){if(!(e=Fe(e)))return!1;let i=cn(e);const o=null==i&&e.ngModule||void 0,s=void 0===o?e:o,a=-1!==r.indexOf(s);if(void 0!==o&&(i=cn(o)),null==i)return!1;if(null!=i.imports&&!a){let c;r.push(s);try{wr(i.imports,d=>{this.processInjectorType(d,n,r)&&(void 0===c&&(c=[]),c.push(d))})}finally{}if(void 0!==c)for(let d=0;d<c.length;d++){const{ngModule:p,providers:m}=c[d];wr(m,v=>this.processProvider(v,p,m||je))}}this.injectorDefTypes.add(s);const l=bi(s)||(()=>new s);this.records.set(s,so(l,as));const u=i.providers;if(null!=u&&!a){const c=e;wr(u,d=>this.processProvider(d,c,u))}return void 0!==o&&void 0!==e.providers}processProvider(e,n,r){let i=ao(e=Fe(e))?e:Fe(e&&e.provide);const o=function LD(t,e,n){return pp(t)?so(void 0,t.useValue):so(function hp(t,e,n){let r;if(ao(t)){const i=Fe(t);return bi(i)||Ku(i)}if(pp(t))r=()=>Fe(t.useValue);else if(function jD(t){return!(!t||!t.useFactory)}(t))r=()=>t.useFactory(...Jl(t.deps||[]));else if(function BD(t){return!(!t||!t.useExisting)}(t))r=()=>Xe(Fe(t.useExisting));else{const i=Fe(t&&(t.useClass||t.provide));if(!function HD(t){return!!t.deps}(t))return bi(i)||Ku(i);r=()=>new i(...Jl(t.deps))}return r}(t),as)}(e);if(ao(e)||!0!==e.multi)this.records.get(i);else{let s=this.records.get(i);s||(s=so(void 0,as,!0),s.factory=()=>Jl(s.multi),this.records.set(i,s)),i=e,s.multi.push(e)}this.records.set(i,o)}hydrate(e,n){return n.value===as&&(n.value=OD,n.value=n.factory()),"object"==typeof n.value&&n.value&&function $D(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(n.value)&&this.onDestroy.add(n.value),n.value}injectableDefInScope(e){if(!e.providedIn)return!1;const n=Fe(e.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function Ku(t){const e=dt(t),n=null!==e?e.factory:bi(t);if(null!==n)return n;if(t instanceof it)throw new z(204,!1);if(t instanceof Function)return function kD(t){const e=t.length;if(e>0)throw function Wo(t,e){const n=[];for(let r=0;r<t;r++)n.push(e);return n}(e,"?"),new z(204,!1);const n=function Ht(t){const e=t&&(t[zn]||t[Or]);if(e){const n=function xn(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new z(204,!1)}function so(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function pp(t){return null!==t&&"object"==typeof t&&cw in t}function ao(t){return"function"==typeof t}let Yn=(()=>{class t{static create(n,r){var i;if(Array.isArray(n))return dp({name:""},r,n,"");{const o=null!==(i=n.name)&&void 0!==i?i:"";return dp({name:o},n.parent,n.providers,o)}}}return t.THROW_IF_NOT_FOUND=Qo,t.NULL=new up,t.\u0275prov=J({token:t,providedIn:"any",factory:()=>Xe(Gu)}),t.__NG_ELEMENT_ID__=-1,t})();function ZD(t,e){Us(ru(t)[1],Kt())}let ya=null;function lo(){if(!ya){const t=G.Symbol;if(t&&t.iterator)ya=t.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<e.length;++n){const r=e[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(ya=r)}}}return ya}function ic(t,e,n,r,i){const s=i?"class":"style";!function lp(t,e,n,r,i){for(let o=0;o<n.length;){const s=n[o++],a=n[o++],l=e[s],u=t.data[s];null!==u.setInput?u.setInput(l,i,r,a):l[a]=i}}(t,n,e.inputs[s],s,r)}function oc(t,e,n,r){const i=A(),o=rt(),s=20+t,a=i[11],l=i[s]=uu(a,e,function Lb(){return Le.lFrame.currentNamespace}()),u=o.firstCreatePass?function P_(t,e,n,r,i,o,s){const a=e.consts,u=ro(e,t,2,i,Qr(a,o));return function ju(t,e,n,r){let i=!1;if(af()){const o=function bD(t,e,n){const r=t.directiveRegistry;let i=null;if(r)for(let o=0;o<r.length;o++){const s=r[o];Ah(n,s.selectors,!1)&&(i||(i=[]),Ys(Uo(n,e),t,s.type),ar(s)?(Jh(t,n),i.unshift(s)):i.push(s))}return i}(t,e,n),s=null===r?null:{"":-1};if(null!==o){i=!0,ep(n,t.data.length,o.length);for(let c=0;c<o.length;c++){const d=o[c];d.providersResolver&&d.providersResolver(d)}let a=!1,l=!1,u=io(t,e,o.length,null);for(let c=0;c<o.length;c++){const d=o[c];n.mergedAttrs=Ws(n.mergedAttrs,d.hostAttrs),tp(t,n,e,u,d),DD(u,d,s),null!==d.contentQueries&&(n.flags|=8),(null!==d.hostBindings||null!==d.hostAttrs||0!==d.hostVars)&&(n.flags|=128);const p=d.type.prototype;!a&&(p.ngOnChanges||p.ngOnInit||p.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index),a=!0),!l&&(p.ngOnChanges||p.ngDoCheck)&&((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index),l=!0),u++}!function dD(t,e){const r=e.directiveEnd,i=t.data,o=e.attrs,s=[];let a=null,l=null;for(let u=e.directiveStart;u<r;u++){const c=i[u],d=c.inputs,p=null===o||Mh(e)?null:CD(d,o);s.push(p),a=Kh(d,u,a),l=Kh(c.outputs,u,l)}null!==a&&(a.hasOwnProperty("class")&&(e.flags|=16),a.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=s,e.inputs=a,e.outputs=l}(t,n)}s&&function wD(t,e,n){if(e){const r=t.localNames=[];for(let i=0;i<e.length;i+=2){const o=n[e[i+1]];if(null==o)throw new z(-301,!1);r.push(e[i],o)}}}(n,r,s)}return n.mergedAttrs=Ws(n.mergedAttrs,n.attrs),i}(e,n,u,Qr(a,s)),null!==u.attrs&&ma(u,u.attrs,!1),null!==u.mergedAttrs&&ma(u,u.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,u),u}(s,o,i,0,e,n,r):o.data[s];br(u,!0);const c=u.mergedAttrs;null!==c&&Gs(a,l,c);const d=u.classes;null!==d&&mu(a,l,d);const p=u.styles;return null!==p&&dh(a,l,p),64!=(64&u.flags)&&oa(o,i,l,u),0===function wb(){return Le.lFrame.elementDepthCount}()&&gn(l,i),function Db(){Le.lFrame.elementDepthCount++}(),function Bs(t){return 1==(1&t.flags)}(u)&&(function Lu(t,e,n){!af()||(function yD(t,e,n,r){const i=n.directiveStart,o=n.directiveEnd;t.firstCreatePass||Uo(n,e),gn(r,e);const s=n.initialInputs;for(let a=i;a<o;a++){const l=t.data[a],u=ar(l);u&&_D(e,n,l);const c=zo(e,t,a,n);gn(c,e),null!==s&&ED(0,a-i,c,l,0,s),u&&(Fn(n.index,e)[8]=c)}}(t,e,n,Pn(n,e)),128==(128&n.flags)&&function vD(t,e,n){const r=n.directiveStart,i=n.directiveEnd,s=n.index,a=function Ab(){return Le.lFrame.currentDirectiveIndex}();try{Kr(s);for(let l=r;l<i;l++){const u=t.data[l],c=e[l];Ll(l),(null!==u.hostBindings||0!==u.hostVars||null!==u.hostAttrs)&&Xh(u,c)}}finally{Kr(-1),Ll(a)}}(t,e,n))}(o,i,u),function zh(t,e,n){if(Sl(e)){const i=e.directiveEnd;for(let o=e.directiveStart;o<i;o++){const s=t.data[o];s.contentQueries&&s.contentQueries(1,n[o],o)}}}(o,u,i)),null!==r&&function Bu(t,e,n=Pn){const r=e.localNames;if(null!==r){let i=e.index+1;for(let o=0;o<r.length;o+=2){const s=r[o+1],a=-1===s?n(e,t):t[s];t[i++]=a}}}(i,u),oc}function sc(){let t=Kt();Rl()?function kl(){Le.lFrame.isParent=!1}():(t=t.parent,br(t,!1));const e=t;!function _b(){Le.lFrame.elementDepthCount--}();const n=rt();return n.firstCreatePass&&(Us(n,t),Sl(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function $b(t){return 0!=(16&t.flags)}(e)&&ic(n,e,A(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function Ub(t){return 0!=(32&t.flags)}(e)&&ic(n,e,A(),e.stylesWithoutHost,!1),sc}function ac(t,e,n,r){return oc(t,e,n,r),sc(),ac}function cc(t){return!!t&&"function"==typeof t.then}const R_=function Yp(t){return!!t&&"function"==typeof t.subscribe},Da="en-US";let Wg=Da;class vm{}class MC{resolveComponentFactory(e){throw function TC(t){const e=Error(`No component factory found for ${Oe(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(e)}}let Eo=(()=>{class t{}return t.NULL=new MC,t})();function AC(){return Co(Kt(),A())}function Co(t,e){return new So(Pn(t,e))}let So=(()=>{class t{constructor(n){this.nativeElement=n}}return t.__NG_ELEMENT_ID__=AC,t})();function xC(t){return t instanceof So?t.nativeElement:t}class gs{}let FC=(()=>{class t{}return t.\u0275prov=J({token:t,providedIn:"root",factory:()=>null}),t})();class Ia{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const OC=new Ia("13.4.0"),Dc={};function Ta(t,e,n,r,i=!1){for(;null!==n;){const o=e[n.index];if(null!==o&&r.push($t(o)),sr(o))for(let a=10;a<o.length;a++){const l=o[a],u=l[1].firstChild;null!==u&&Ta(l[1],l,u,r)}const s=n.type;if(8&s)Ta(t,e,n.child,r);else if(32&s){const a=ou(n,e);let l;for(;l=a();)r.push(l)}else if(16&s){const a=uh(e,n);if(Array.isArray(a))r.push(...a);else{const l=Jo(e[16]);Ta(l[1],l,a,r,!0)}}n=i?n.projectionNext:n.next}return r}class ms{constructor(e,n){this._lView=e,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const e=this._lView,n=e[1];return Ta(n,e,n.firstChild,[])}get context(){return this._lView[8]}set context(e){this._lView[8]=e}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const e=this._lView[3];if(sr(e)){const n=e[8],r=n?n.indexOf(this):-1;r>-1&&(cu(e,r),Xs(n,r))}this._attachedToViewContainer=!1}eh(this._lView[1],this._lView)}onDestroy(e){Qh(this._lView[1],this._lView,null,e)}markForCheck(){!function $u(t){for(;t;){t[2]|=64;const e=Jo(t);if(ob(t)&&!e)return t;t=e}return null}(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){zu(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new z(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Bw(t,e){es(t,e,e[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new z(902,"");this._appRef=e}}class RC extends ms{constructor(e){super(e),this._view=e}detectChanges(){rp(this._view)}checkNoChanges(){}get context(){return null}}class Dm extends Eo{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const n=sn(e);return new _c(n,this.ngModule)}}function _m(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}class _c extends vm{constructor(e,n){super(),this.componentDef=e,this.ngModule=n,this.componentType=e.type,this.selector=function G0(t){return t.map(q0).join(",")}(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return _m(this.componentDef.inputs)}get outputs(){return _m(this.componentDef.outputs)}create(e,n,r,i){const o=(i=i||this.ngModule)?function LC(t,e){return{get:(n,r,i)=>{const o=t.get(n,Dc,i);return o!==Dc||r===Dc?o:e.get(n,r,i)}}}(e,i.injector):e,s=o.get(gs,nf),a=o.get(FC,null),l=s.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",c=r?function Wh(t,e,n){if(Ot(t))return t.selectRootElement(e,n===fn.ShadowDom);let r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(l,r,this.componentDef.encapsulation):uu(s.createRenderer(null,this.componentDef),u,function kC(t){const e=t.toLowerCase();return"svg"===e?"svg":"math"===e?"math":null}(u)),d=this.componentDef.onPush?576:528,p=function Sp(t,e){return{components:[],scheduler:t||F0,clean:ND,playerHandler:e||null,flags:0}}(),m=pa(0,null,null,1,0,null,null,null,null,null),v=os(null,m,p,d,null,null,s,l,a,o);let S,M;Hs(v);try{const R=function Ep(t,e,n,r,i,o){const s=n[1];n[20]=t;const l=ro(s,20,2,"#host",null),u=l.mergedAttrs=e.hostAttrs;null!==u&&(ma(l,u,!0),null!==t&&(Gs(i,t,u),null!==l.classes&&mu(i,t,l.classes),null!==l.styles&&dh(i,t,l.styles)));const c=r.createRenderer(t,e),d=os(n,qh(e),null,e.onPush?64:16,n[20],l,r,c,o||null,null);return s.firstCreatePass&&(Ys(Uo(l,n),s,e.type),Jh(s,l),ep(l,n.length,1)),ga(n,d),n[20]=d}(c,this.componentDef,v,s,l);if(c)if(r)Gs(l,c,["ng-version",OC.full]);else{const{attrs:I,classes:q}=function W0(t){const e=[],n=[];let r=1,i=2;for(;r<t.length;){let o=t[r];if("string"==typeof o)2===i?""!==o&&e.push(o,t[++r]):8===i&&n.push(o);else{if(!lr(i))break;i=o}r++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]);I&&Gs(l,c,I),q&&q.length>0&&mu(l,c,q.join(" "))}if(M=function Pl(t,e){return t.data[e]}(m,20),void 0!==n){const I=M.projection=[];for(let q=0;q<this.ngContentSelectors.length;q++){const oe=n[q];I.push(null!=oe?Array.from(oe):null)}}S=function Cp(t,e,n,r,i){const o=n[1],s=function gD(t,e,n){const r=Kt();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),tp(t,r,e,io(t,e,1,null),n));const i=zo(e,t,r.directiveStart,r);gn(i,e);const o=Pn(r,e);return o&&gn(o,e),i}(o,n,e);if(r.components.push(s),t[8]=s,i&&i.forEach(l=>l(s,e)),e.contentQueries){const l=Kt();e.contentQueries(1,s,l.directiveStart)}const a=Kt();return!o.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(Kr(a.index),Zh(n[1],a,0,a.directiveStart,a.directiveEnd,e),Xh(e,s)),s}(R,this.componentDef,v,p,[ZD]),ss(m,v,null)}finally{$s()}return new jC(this.componentType,S,Co(M,v),v,M)}}class jC extends class IC{}{constructor(e,n,r,i,o){super(),this.location=r,this._rootLView=i,this._tNode=o,this.instance=n,this.hostView=this.changeDetectorRef=new RC(i),this.componentType=e}get injector(){return new Qi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}}class Io{}const To=new Map;class Sm extends Io{constructor(e,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Dm(this);const r=Gn(e);this._bootstrapComponents=_r(r.bootstrap),this._r3Injector=fp(e,n,[{provide:Io,useValue:this},{provide:Eo,useValue:this.componentFactoryResolver}],Oe(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,n=Yn.THROW_IF_NOT_FOUND,r=Se.Default){return e===Yn||e===Io||e===Gu?this:this._r3Injector.get(e,n,r)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class Ec extends class HC{}{constructor(e){super(),this.moduleType=e,null!==Gn(e)&&function $C(t){const e=new Set;!function n(r){const i=Gn(r,!0),o=i.id;null!==o&&(function Em(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${Oe(e)} vs ${Oe(e.name)}`)}(o,To.get(o),r),To.set(o,r));const s=_r(i.imports);for(const a of s)e.has(a)||(e.add(a),n(a))}(t)}(e)}create(e){return new Sm(this.moduleType,e)}}function Cc(t){return e=>{setTimeout(t,void 0,e)}}const jr=class sS extends L{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,n,r){var i,o,s;let a=e,l=n||(()=>null),u=r;if(e&&"object"==typeof e){const d=e;a=null===(i=d.next)||void 0===i?void 0:i.bind(d),l=null===(o=d.error)||void 0===o?void 0:o.bind(d),u=null===(s=d.complete)||void 0===s?void 0:s.bind(d)}this.__isAsync&&(l=Cc(l),a&&(a=Cc(a)),u&&(u=Cc(u)));const c=super.subscribe({next:a,error:l,complete:u});return e instanceof K&&e.add(c),c}};function aS(){return this._results[lo()]()}class Sc{constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=lo(),r=Sc.prototype;r[n]||(r[n]=aS)}get changes(){return this._changes||(this._changes=new jr)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,n){return this._results.reduce(e,n)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,n){const r=this;r.dirty=!1;const i=Kn(e);(this._changesDetected=!function Jb(t,e,n){if(t.length!==e.length)return!1;for(let r=0;r<t.length;r++){let i=t[r],o=e[r];if(n&&(i=n(i),o=n(o)),o!==i)return!1}return!0}(r._results,i,n))&&(r._results=i,r.length=i.length,r.last=i[this.length-1],r.first=i[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;let Vr=(()=>{class t{}return t.__NG_ELEMENT_ID__=cS,t})();const lS=Vr,uS=class extends lS{constructor(e,n,r){super(),this._declarationLView=e,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(e){const n=this._declarationTContainer.tViews,r=os(this._declarationLView,n,e,16,null,n.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const o=this._declarationLView[19];return null!==o&&(r[19]=o.createEmbeddedView(n)),ss(n,r,e),new ms(r)}};function cS(){return Ma(Kt(),A())}function Ma(t,e){return 4&t.type?new uS(e,t,Co(t,e)):null}let Tr=(()=>{class t{}return t.__NG_ELEMENT_ID__=dS,t})();function dS(){return Fm(Kt(),A())}const fS=Tr,Nm=class extends fS{constructor(e,n,r){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=r}get element(){return Co(this._hostTNode,this._hostLView)}get injector(){return new Qi(this._hostTNode,this._hostLView)}get parentInjector(){const e=Ks(this._hostTNode,this._hostLView);if(wf(e)){const n=Wi(e,this._hostLView),r=Gi(e);return new Qi(n[1].data[r+8],n)}return new Qi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const n=Pm(this._lContainer);return null!==n&&n[e]||null}get length(){return this._lContainer.length-10}createEmbeddedView(e,n,r){const i=e.createEmbeddedView(n||{});return this.insert(i,r),i}createComponent(e,n,r,i,o){const s=e&&!function Go(t){return"function"==typeof t}(e);let a;if(s)a=n;else{const d=n||{};a=d.index,r=d.injector,i=d.projectableNodes,o=d.ngModuleRef}const l=s?e:new _c(sn(e)),u=r||this.parentInjector;if(!o&&null==l.ngModule){const p=(s?u:this.parentInjector).get(Io,null);p&&(o=p)}const c=l.create(u,i,void 0,o);return this.insert(c.hostView,a),c}insert(e,n){const r=e._lView,i=r[1];if(function bb(t){return sr(t[3])}(r)){const c=this.indexOf(e);if(-1!==c)this.detach(c);else{const d=r[3],p=new Nm(d,d[6],d[3]);p.detach(p.indexOf(e))}}const o=this._adjustIndex(n),s=this._lContainer;!function Vw(t,e,n,r){const i=10+r,o=n.length;r>0&&(n[i-1][4]=e),r<o-10?(e[4]=n[i],xf(n,10+r,e)):(n.push(e),e[4]=null),e[3]=n;const s=e[17];null!==s&&n!==s&&function Hw(t,e){const n=t[9];e[16]!==e[3][3][16]&&(t[2]=!0),null===n?t[9]=[e]:n.push(e)}(s,e);const a=e[19];null!==a&&a.insertView(t),e[2]|=128}(i,r,s,o);const a=hu(o,s),l=r[11],u=ia(l,s[7]);return null!==u&&function Lw(t,e,n,r,i,o){r[0]=i,r[6]=e,es(t,r,n,1,i,o)}(i,s[6],l,r,u,a),e.attachToViewContainerRef(),xf(Ic(s),o,e),e}move(e,n){return this.insert(e,n)}indexOf(e){const n=Pm(this._lContainer);return null!==n?n.indexOf(e):-1}remove(e){const n=this._adjustIndex(e,-1),r=cu(this._lContainer,n);r&&(Xs(Ic(this._lContainer),n),eh(r[1],r))}detach(e){const n=this._adjustIndex(e,-1),r=cu(this._lContainer,n);return r&&null!=Xs(Ic(this._lContainer),n)?new ms(r):null}_adjustIndex(e,n=0){return null==e?this.length+n:e}};function Pm(t){return t[8]}function Ic(t){return t[8]||(t[8]=[])}function Fm(t,e){let n;const r=e[t.index];if(sr(r))n=r;else{let i;if(8&t.type)i=$t(r);else{const o=e[11];i=o.createComment("");const s=Pn(t,e);wi(o,ia(o,s),i,function qw(t,e){return Ot(t)?t.nextSibling(e):e.nextSibling}(o,s),!1)}e[t.index]=n=function np(t,e,n,r){return new Array(t,!0,!1,e,null,0,r,n,null,null)}(r,e,i,t),ga(e,n)}return new Nm(n,t,e)}class Tc{constructor(e){this.queryList=e,this.matches=null}clone(){return new Tc(this.queryList)}setDirty(){this.queryList.setDirty()}}class Mc{constructor(e=[]){this.queries=e}createEmbeddedView(e){const n=e.queries;if(null!==n){const r=null!==e.contentQueries?e.contentQueries[0]:n.length,i=[];for(let o=0;o<r;o++){const s=n.getByIndex(o);i.push(this.queries[s.indexInDeclarationView].clone())}return new Mc(i)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let n=0;n<this.queries.length;n++)null!==Hm(e,n).matches&&this.queries[n].setDirty()}}class Om{constructor(e,n,r=null){this.predicate=e,this.flags=n,this.read=r}}class Ac{constructor(e=[]){this.queries=e}elementStart(e,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(e,n)}elementEnd(e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(e)}embeddedTView(e){let n=null;for(let r=0;r<this.length;r++){const i=null!==n?n.length:0,o=this.getByIndex(r).embeddedTView(e,i);o&&(o.indexInDeclarationView=r,null!==n?n.push(o):n=[o])}return null!==n?new Ac(n):null}template(e,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(e,n)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}}class xc{constructor(e,n=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(e,n){this.isApplyingToNode(n)&&this.matchTNode(e,n)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,n){this.elementStart(e,n)}embeddedTView(e,n){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,n),new xc(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=e.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(e,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const o=r[i];this.matchTNodeWithReadOption(e,n,gS(n,o)),this.matchTNodeWithReadOption(e,n,Zs(n,e,o,!1,!1))}else r===Vr?4&n.type&&this.matchTNodeWithReadOption(e,n,-1):this.matchTNodeWithReadOption(e,n,Zs(n,e,r,!1,!1))}matchTNodeWithReadOption(e,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===So||i===Tr||i===Vr&&4&n.type)this.addMatch(n.index,-2);else{const o=Zs(n,e,i,!1,!1);null!==o&&this.addMatch(n.index,o)}else this.addMatch(n.index,r)}}addMatch(e,n){null===this.matches?this.matches=[e,n]:this.matches.push(e,n)}}function gS(t,e){const n=t.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===e)return n[r+1];return null}function yS(t,e,n,r){return-1===n?function mS(t,e){return 11&t.type?Co(t,e):4&t.type?Ma(t,e):null}(e,t):-2===n?function vS(t,e,n){return n===So?Co(e,t):n===Vr?Ma(e,t):n===Tr?Fm(e,t):void 0}(t,e,r):zo(t,t[1],n,e)}function Rm(t,e,n,r){const i=e[19].queries[r];if(null===i.matches){const o=t.data,s=n.matches,a=[];for(let l=0;l<s.length;l+=2){const u=s[l];a.push(u<0?null:yS(e,o[u],s[l+1],n.metadata.read))}i.matches=a}return i.matches}function Nc(t,e,n,r){const i=t.queries.getByIndex(n),o=i.matches;if(null!==o){const s=Rm(t,e,i,n);for(let a=0;a<o.length;a+=2){const l=o[a];if(l>0)r.push(s[a/2]);else{const u=o[a+1],c=e[-l];for(let d=10;d<c.length;d++){const p=c[d];p[17]===p[3]&&Nc(p[1],p,u,r)}if(null!==c[9]){const d=c[9];for(let p=0;p<d.length;p++){const m=d[p];Nc(m[1],m,u,r)}}}}}return r}function km(t){const e=A(),n=rt(),r=df();jl(r+1);const i=Hm(n,r);if(t.dirty&&rf(e)===(2==(2&i.metadata.flags))){if(null===i.matches)t.reset([]);else{const o=i.crossesNgTemplate?Nc(n,e,r,[]):Rm(n,e,i,r);t.reset(o,xC),t.notifyOnChanges()}return!0}return!1}function Lm(t,e,n){const r=rt();r.firstCreatePass&&(function Vm(t,e,n){null===t.queries&&(t.queries=new Ac),t.queries.track(new xc(e,n))}(r,new Om(t,e,n),-1),2==(2&e)&&(r.staticViewQueries=!0)),function jm(t,e,n){const r=new Sc(4==(4&n));Qh(t,e,r,r.destroy),null===e[19]&&(e[19]=new Mc),e[19].queries.push(new Tc(r))}(r,A(),e)}function Hm(t,e){return t.queries.getByIndex(e)}function Na(...t){}const iy=new it("Application Initializer");let Lc=(()=>{class t{constructor(n){this.appInits=n,this.resolve=Na,this.reject=Na,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const o=this.appInits[i]();if(cc(o))n.push(o);else if(R_(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});n.push(s)}}Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}}return t.\u0275fac=function(n){return new(n||t)(Xe(iy,8))},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const ws=new it("AppId",{providedIn:"root",factory:function oy(){return`${Bc()}${Bc()}${Bc()}`}});function Bc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const sy=new it("Platform Initializer"),ay=new it("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),jS=new it("appBootstrapListener"),ei=new it("LocaleId",{providedIn:"root",factory:()=>fw(ei,Se.Optional|Se.SkipSelf)||function VS(){return"undefined"!=typeof $localize&&$localize.locale||Da}()}),zS=(()=>Promise.resolve(0))();function jc(t){"undefined"==typeof Zone?zS.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class an{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new jr(!1),this.onMicrotaskEmpty=new jr(!1),this.onStable=new jr(!1),this.onError=new jr(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function qS(){let t=G.requestAnimationFrame,e=G.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function QS(t){const e=()=>{!function WS(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(G,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Hc(t),t.isCheckStableRunning=!0,Vc(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Hc(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,o,s,a)=>{try{return ly(t),n.invokeTask(i,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||t.shouldCoalesceRunChangeDetection)&&e(),uy(t)}},onInvoke:(n,r,i,o,s,a,l)=>{try{return ly(t),n.invoke(i,o,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),uy(t)}},onHasTask:(n,r,i,o)=>{n.hasTask(i,o),r===i&&("microTask"==o.change?(t._hasPendingMicrotasks=o.microTask,Hc(t),Vc(t)):"macroTask"==o.change&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,r,i,o)=>(n.handleError(i,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!an.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(an.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,n,r){return this._inner.run(e,n,r)}runTask(e,n,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,GS,Na,Na);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(e,n,r){return this._inner.runGuarded(e,n,r)}runOutsideAngular(e){return this._outer.run(e)}}const GS={};function Vc(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Hc(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function ly(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function uy(t){t._nesting--,Vc(t)}class KS{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new jr,this.onMicrotaskEmpty=new jr,this.onStable=new jr,this.onError=new jr}run(e,n,r){return e.apply(n,r)}runGuarded(e,n,r){return e.apply(n,r)}runOutsideAngular(e){return e()}runTask(e,n,r,i){return e.apply(n,r)}}let $c=(()=>{class t{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{an.assertNotInAngularZone(),jc(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())jc(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,r,i){return[]}}return t.\u0275fac=function(n){return new(n||t)(Xe(an))},t.\u0275prov=J({token:t,factory:t.\u0275fac}),t})(),YS=(()=>{class t{constructor(){this._applications=new Map,Uc.addToWindow(this)}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Uc.findTestabilityInTree(this,n,r)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();class ZS{addToWindow(e){}findTestabilityInTree(e,n,r){return null}}let Uc=new ZS,Ci=null;const cy=new it("AllowMultipleToken"),dy=new it("PlatformOnDestroy");function fy(t,e,n=[]){const r=`Platform: ${e}`,i=new it(r);return(o=[])=>{let s=zc();if(!s||s.injector.get(cy,!1)){const a=[...n,...o,{provide:i,useValue:!0}];t?t(a):function tI(t){if(Ci&&!Ci.get(cy,!1))throw new z(400,"");Ci=t;const e=t.get(hy),n=t.get(sy,null);n&&n.forEach(r=>r())}(function rI(t=[],e){return Yn.create({name:e,providers:[{provide:Wu,useValue:"platform"},{provide:dy,useValue:()=>Ci=null},...t]})}(a,r))}return function nI(t){const e=zc();if(!e)throw new z(401,"");return e}()}}function zc(){var t;return null!==(t=null==Ci?void 0:Ci.get(hy))&&void 0!==t?t:null}let hy=(()=>{class t{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const a=function iI(t,e){let n;return n="noop"===t?new KS:("zone.js"===t?void 0:t)||new an({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),l=[{provide:an,useValue:a}];return a.run(()=>{const u=Yn.create({providers:l,parent:this.injector,name:n.moduleType.name}),c=n.create(u),d=c.injector.get(is,null);if(!d)throw new z(402,"");return a.runOutsideAngular(()=>{const p=a.onError.subscribe({next:m=>{d.handleError(m)}});c.onDestroy(()=>{Gc(this._modules,c),p.unsubscribe()})}),function oI(t,e,n){try{const r=n();return cc(r)?r.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}(d,a,()=>{const p=c.injector.get(Lc);return p.runInitializers(),p.donePromise.then(()=>(function xE(t){st(t,"Expected localeId to be defined"),"string"==typeof t&&(Wg=t.toLowerCase().replace(/_/g,"-"))}(c.injector.get(ei,Da)||Da),this._moduleDoBootstrap(c),c))})})}bootstrapModule(n,r=[]){const i=py({},r);return function JS(t,e,n){const r=new Ec(n);return Promise.resolve(r)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(n){const r=n.injector.get(qc);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new z(403,"");n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new z(404,"");this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(dy,null);null==n||n(),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(n){return new(n||t)(Xe(Yn))},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();function py(t,e){return Array.isArray(e)?e.reduce(py,t):Object.assign(Object.assign({},t),e)}let qc=(()=>{class t{constructor(n,r,i,o){this._zone=n,this._injector=r,this._exceptionHandler=i,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const s=new Ne(l=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{l.next(this._stable),l.complete()})}),a=new Ne(l=>{let u;this._zone.runOutsideAngular(()=>{u=this._zone.onStable.subscribe(()=>{an.assertNotInAngularZone(),jc(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,l.next(!0))})})});const c=this._zone.onUnstable.subscribe(()=>{an.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{l.next(!1)}))});return()=>{u.unsubscribe(),c.unsubscribe()}});this.isStable=N(s,a.pipe(function mt(){return t=>H()(function tt(t,e){return function(r){let i;if(i="function"==typeof t?t:function(){return t},"function"==typeof e)return r.lift(new gt(i,e));const o=Object.create(r,X);return o.source=r,o.subjectFactory=i,o}}(Wt)(t))}()))}bootstrap(n,r){if(!this._initStatus.done)throw new z(405,"");let i;i=n instanceof vm?n:this._injector.get(Eo).resolveComponentFactory(n),this.componentTypes.push(i.componentType);const o=function eI(t){return t.isBoundToModule}(i)?void 0:this._injector.get(Io),a=i.create(Yn.NULL,[],r||i.selector,o),l=a.location.nativeElement,u=a.injector.get($c,null),c=u&&a.injector.get(YS);return u&&c&&c.registerApplication(l,u),a.onDestroy(()=>{this.detachView(a.hostView),Gc(this.components,a),c&&c.unregisterApplication(l)}),this._loadComponent(a),a}tick(){if(this._runningTick)throw new z(101,"");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Gc(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(jS,[]).concat(this._bootstrapListeners).forEach(i=>i(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(n){return new(n||t)(Xe(an),Xe(Yn),Xe(is),Xe(Lc))},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Gc(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}let my=!0,by=(()=>{class t{}return t.__NG_ELEMENT_ID__=lI,t})();function lI(t){return function uI(t,e,n){if(Ls(t)&&!n){const r=Fn(t.index,e);return new ms(r,r)}return 47&t.type?new ms(e[16],e):null}(Kt(),A(),16==(16&t))}const _I=fy(null,"core",[]);let EI=(()=>{class t{constructor(n){}}return t.\u0275fac=function(n){return new(n||t)(Xe(qc))},t.\u0275mod=ji({type:t}),t.\u0275inj=Dt({}),t})(),Ra=null;function _s(){return Ra}const Xn=new it("DocumentToken");let bM=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=ji({type:t}),t.\u0275inj=Dt({}),t})();class fd extends class EM extends class II{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function SI(t){Ra||(Ra=t)}(new fd)}onAndCancel(e,n,r){return e.addEventListener(n,r,!1),()=>{e.removeEventListener(n,r,!1)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,n){return(n=n||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,n){return"window"===n?window:"document"===n?e:"body"===n?e.body:null}getBaseHref(e){const n=function CM(){return Is=Is||document.querySelector("base"),Is?Is.getAttribute("href"):null}();return null==n?null:function SM(t){Wa=Wa||document.createElement("a"),Wa.setAttribute("href",t);const e=Wa.pathname;return"/"===e.charAt(0)?e:`/${e}`}(n)}resetBaseElement(){Is=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return function fT(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const r=n.indexOf("="),[i,o]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}(document.cookie,e)}}let Wa,Is=null;const Qy=new it("TRANSITION_ID"),TM=[{provide:iy,useFactory:function IM(t,e,n){return()=>{n.get(Lc).donePromise.then(()=>{const r=_s(),i=e.querySelectorAll(`style[ng-transition="${t}"]`);for(let o=0;o<i.length;o++)r.remove(i[o])})}},deps:[Qy,Xn,Yn],multi:!0}];class hd{static init(){!function XS(t){Uc=t}(new hd)}addToWindow(e){G.getAngularTestability=(r,i=!0)=>{const o=e.findTestabilityInTree(r,i);if(null==o)throw new Error("Could not find testability for element.");return o},G.getAllAngularTestabilities=()=>e.getAllTestabilities(),G.getAllAngularRootElements=()=>e.getAllRootElements(),G.frameworkStabilizers||(G.frameworkStabilizers=[]),G.frameworkStabilizers.push(r=>{const i=G.getAllAngularTestabilities();let o=i.length,s=!1;const a=function(l){s=s||l,o--,0==o&&r(s)};i.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(e,n,r){if(null==n)return null;const i=e.getTestability(n);return null!=i?i:r?_s().isShadowRoot(n)?this.findTestabilityInTree(e,n.host,!0):this.findTestabilityInTree(e,n.parentElement,!0):null}}let MM=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=J({token:t,factory:t.\u0275fac}),t})();const Qa=new it("EventManagerPlugins");let Ka=(()=>{class t{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(i=>i.manager=this),this._plugins=n.slice().reverse()}addEventListener(n,r,i){return this._findPluginFor(r).addEventListener(n,r,i)}addGlobalEventListener(n,r,i){return this._findPluginFor(r).addGlobalEventListener(n,r,i)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const i=this._plugins;for(let o=0;o<i.length;o++){const s=i[o];if(s.supports(n))return this._eventNameToPlugin.set(n,s),s}throw new Error(`No event manager plugin found for event ${n}`)}}return t.\u0275fac=function(n){return new(n||t)(Xe(Qa),Xe(an))},t.\u0275prov=J({token:t,factory:t.\u0275fac}),t})();class Ky{constructor(e){this._doc=e}addGlobalEventListener(e,n,r){const i=_s().getGlobalEventTarget(this._doc,e);if(!i)throw new Error(`Unsupported event target ${i} for event ${n}`);return this.addEventListener(i,n,r)}}let Yy=(()=>{class t{constructor(){this._stylesSet=new Set}addStyles(n){const r=new Set;n.forEach(i=>{this._stylesSet.has(i)||(this._stylesSet.add(i),r.add(i))}),this.onStylesAdded(r)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=J({token:t,factory:t.\u0275fac}),t})(),Ts=(()=>{class t extends Yy{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,r,i){n.forEach(o=>{const s=this._doc.createElement("style");s.textContent=o,i.push(r.appendChild(s))})}addHost(n){const r=[];this._addStylesToHost(this._stylesSet,n,r),this._hostNodes.set(n,r)}removeHost(n){const r=this._hostNodes.get(n);r&&r.forEach(Zy),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,i)=>{this._addStylesToHost(n,i,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(Zy))}}return t.\u0275fac=function(n){return new(n||t)(Xe(Xn))},t.\u0275prov=J({token:t,factory:t.\u0275fac}),t})();function Zy(t){_s().remove(t)}const pd={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/",math:"http://www.w3.org/1998/MathML/"},gd=/%COMP%/g;function Ya(t,e,n){for(let r=0;r<e.length;r++){let i=e[r];Array.isArray(i)?Ya(t,i,n):(i=i.replace(gd,t),n.push(i))}return n}function ev(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let Za=(()=>{class t{constructor(n,r,i){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new md(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case fn.Emulated:{let i=this.rendererByCompId.get(r.id);return i||(i=new OM(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,i)),i.applyToHost(n),i}case 1:case fn.ShadowDom:return new RM(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const i=Ya(r.id,r.styles,[]);this.sharedStylesHost.addStyles(i),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(n){return new(n||t)(Xe(Ka),Xe(Ts),Xe(ws))},t.\u0275prov=J({token:t,factory:t.\u0275fac}),t})();class md{constructor(e){this.eventManager=e,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(e,n){return n?document.createElementNS(pd[n]||n,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,n){e.appendChild(n)}insertBefore(e,n,r){e&&e.insertBefore(n,r)}removeChild(e,n){e&&e.removeChild(n)}selectRootElement(e,n){let r="string"==typeof e?document.querySelector(e):e;if(!r)throw new Error(`The selector "${e}" did not match any elements`);return n||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,n,r,i){if(i){n=i+":"+n;const o=pd[i];o?e.setAttributeNS(o,n,r):e.setAttribute(n,r)}else e.setAttribute(n,r)}removeAttribute(e,n,r){if(r){const i=pd[r];i?e.removeAttributeNS(i,n):e.removeAttribute(`${r}:${n}`)}else e.removeAttribute(n)}addClass(e,n){e.classList.add(n)}removeClass(e,n){e.classList.remove(n)}setStyle(e,n,r,i){i&(Rn.DashCase|Rn.Important)?e.style.setProperty(n,r,i&Rn.Important?"important":""):e.style[n]=r}removeStyle(e,n,r){r&Rn.DashCase?e.style.removeProperty(n):e.style[n]=""}setProperty(e,n,r){e[n]=r}setValue(e,n){e.nodeValue=n}listen(e,n,r){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,n,ev(r)):this.eventManager.addEventListener(e,n,ev(r))}}class OM extends md{constructor(e,n,r,i){super(e),this.component=r;const o=Ya(i+"-"+r.id,r.styles,[]);n.addStyles(o),this.contentAttr=function NM(t){return"_ngcontent-%COMP%".replace(gd,t)}(i+"-"+r.id),this.hostAttr=function PM(t){return"_nghost-%COMP%".replace(gd,t)}(i+"-"+r.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,n){const r=super.createElement(e,n);return super.setAttribute(r,this.contentAttr,""),r}}class RM extends md{constructor(e,n,r,i){super(e),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=Ya(i.id,i.styles,[]);for(let s=0;s<o.length;s++){const a=document.createElement("style");a.textContent=o[s],this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,n){return super.appendChild(this.nodeOrShadowRoot(e),n)}insertBefore(e,n,r){return super.insertBefore(this.nodeOrShadowRoot(e),n,r)}removeChild(e,n){return super.removeChild(this.nodeOrShadowRoot(e),n)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}let kM=(()=>{class t extends Ky{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i){return n.addEventListener(r,i,!1),()=>this.removeEventListener(n,r,i)}removeEventListener(n,r,i){return n.removeEventListener(r,i)}}return t.\u0275fac=function(n){return new(n||t)(Xe(Xn))},t.\u0275prov=J({token:t,factory:t.\u0275fac}),t})();const nv=["alt","control","meta","shift"],BM={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},rv={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},jM={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let VM=(()=>{class t extends Ky{constructor(n){super(n)}supports(n){return null!=t.parseEventName(n)}addEventListener(n,r,i){const o=t.parseEventName(r),s=t.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>_s().onAndCancel(n,o.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const o=t._normalizeKey(r.pop());let s="";if(nv.forEach(l=>{const u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=o,0!=r.length||0===o.length)return null;const a={};return a.domEventName=i,a.fullKey=s,a}static getEventFullKey(n){let r="",i=function HM(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&rv.hasOwnProperty(e)&&(e=rv[e]))}return BM[e]||e}(n);return i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),nv.forEach(o=>{o!=i&&jM[o](n)&&(r+=o+".")}),r+=i,r}static eventCallback(n,r,i){return o=>{t.getEventFullKey(o)===n&&i.runGuarded(()=>r(o))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return t.\u0275fac=function(n){return new(n||t)(Xe(Xn))},t.\u0275prov=J({token:t,factory:t.\u0275fac}),t})();const qM=fy(_I,"browser",[{provide:ay,useValue:"browser"},{provide:sy,useValue:function $M(){fd.makeCurrent(),hd.init()},multi:!0},{provide:Xn,useFactory:function zM(){return function gb(t){xl=t}(document),document},deps:[]}]),GM=[{provide:Wu,useValue:"root"},{provide:is,useFactory:function UM(){return new is},deps:[]},{provide:Qa,useClass:kM,multi:!0,deps:[Xn,an,ay]},{provide:Qa,useClass:VM,multi:!0,deps:[Xn]},{provide:Za,useClass:Za,deps:[Ka,Ts,ws]},{provide:gs,useExisting:Za},{provide:Yy,useExisting:Ts},{provide:Ts,useClass:Ts,deps:[Xn]},{provide:$c,useClass:$c,deps:[an]},{provide:Ka,useClass:Ka,deps:[Qa,an]},{provide:class DM{},useClass:MM,deps:[]}];let iv=(()=>{class t{constructor(n){if(n)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.")}static withServerTransition(n){return{ngModule:t,providers:[{provide:ws,useValue:n.appId},{provide:Qy,useExisting:ws},TM]}}}return t.\u0275fac=function(n){return new(n||t)(Xe(t,12))},t.\u0275mod=ji({type:t}),t.\u0275inj=Dt({providers:GM,imports:[bM,EI]}),t})();"undefined"!=typeof window&&window;class rA extends K{constructor(e,n){super()}schedule(e,n=0){return this}}class iA extends rA{constructor(e,n){super(e,n),this.scheduler=e,this.work=n,this.pending=!1}schedule(e,n=0){if(this.closed)return this;this.state=e;const r=this.id,i=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(i,r,n)),this.pending=!0,this.delay=n,this.id=this.id||this.requestAsyncId(i,this.id,n),this}requestAsyncId(e,n,r=0){return setInterval(e.flush.bind(e,this),r)}recycleAsyncId(e,n,r=0){if(null!==r&&this.delay===r&&!1===this.pending)return n;clearInterval(n)}execute(e,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(e,n);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,n){let i,r=!1;try{this.work(e)}catch(o){r=!0,i=!!o&&o||new Error(o)}if(r)return this.unsubscribe(),i}_unsubscribe(){const e=this.id,n=this.scheduler,r=n.actions,i=r.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&r.splice(i,1),null!=e&&(this.id=this.recycleAsyncId(n,e,null)),this.delay=null}}let av=(()=>{class t{constructor(n,r=t.now){this.SchedulerAction=n,this.now=r}schedule(n,r=0,i){return new this.SchedulerAction(this,n).schedule(i,r)}}return t.now=()=>Date.now(),t})();class ni extends av{constructor(e,n=av.now){super(e,()=>ni.delegate&&ni.delegate!==this?ni.delegate.now():n()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,n=0,r){return ni.delegate&&ni.delegate!==this?ni.delegate.schedule(e,n,r):super.schedule(e,n,r)}flush(e){const{actions:n}=this;if(this.active)return void n.push(e);let r;this.active=!0;do{if(r=e.execute(e.state,e.delay))break}while(e=n.shift());if(this.active=!1,r){for(;e=n.shift();)e.unsubscribe();throw r}}}const aA=new class sA extends ni{}(class oA extends iA{constructor(e,n){super(e,n),this.scheduler=e,this.work=n}schedule(e,n=0){return n>0?super.schedule(e,n):(this.delay=n,this.state=e,this.scheduler.flush(this),this)}execute(e,n){return n>0||this.closed?super.execute(e,n):this._execute(e,n)}requestAsyncId(e,n,r=0){return null!==r&&r>0||null===r&&this.delay>0?super.requestAsyncId(e,n,r):e.flush(this)}}),lA=new Ne(t=>t.complete());function hA({error:t,subscriber:e}){e.error(t)}class tr{constructor(e,n,r){this.kind=e,this.value=n,this.error=r,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,n,r){switch(this.kind){case"N":return e&&e(this.value);case"E":return n&&n(this.error);case"C":return r&&r()}}accept(e,n,r){return e&&"function"==typeof e.next?this.observe(e):this.do(e,n,r)}toObservable(){switch(this.kind){case"N":return function dA(...t){let e=t[t.length-1];return ue(e)?(t.pop(),Nr(t,e)):x(t)}(this.value);case"E":return function fA(t,e){return new Ne(e?n=>e.schedule(hA,0,{error:t,subscriber:n}):n=>n.error(t))}(this.error);case"C":return function uA(t){return t?function cA(t){return new Ne(e=>t.schedule(()=>e.complete()))}(t):lA}()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new tr("N",e):tr.undefinedValueNotification}static createError(e){return new tr("E",void 0,e)}static createComplete(){return tr.completeNotification}}tr.completeNotification=new tr("C"),tr.undefinedValueNotification=new tr("N",void 0);class Xa extends ie{constructor(e,n,r=0){super(e),this.scheduler=n,this.delay=r}static dispatch(e){const{notification:n,destination:r}=e;n.observe(r),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule(Xa.dispatch,this.delay,new gA(e,this.destination)))}_next(e){this.scheduleMessage(tr.createNext(e))}_error(e){this.scheduleMessage(tr.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(tr.createComplete()),this.unsubscribe()}}class gA{constructor(e,n){this.notification=e,this.destination=n}}class mA extends L{constructor(e=Number.POSITIVE_INFINITY,n=Number.POSITIVE_INFINITY,r){super(),this.scheduler=r,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=e<1?1:e,this._windowTime=n<1?1:n,n===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(e){const n=this._events;n.push(e),n.length>this._bufferSize&&n.shift(),super.next(e)}nextTimeWindow(e){this._events.push(new yA(this._getNow(),e)),this._trimBufferThenGetEvents(),super.next(e)}_subscribe(e){const n=this._infiniteTimeWindow,r=n?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,o=r.length;let s;if(this.closed)throw new C;if(this.isStopped||this.hasError?s=K.EMPTY:(this.observers.push(e),s=new T(this,e)),i&&e.add(e=new Xa(e,i)),n)for(let a=0;a<o&&!e.closed;a++)e.next(r[a]);else for(let a=0;a<o&&!e.closed;a++)e.next(r[a].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),s}_getNow(){return(this.scheduler||aA).now()}_trimBufferThenGetEvents(){const e=this._getNow(),n=this._bufferSize,r=this._windowTime,i=this._events,o=i.length;let s=0;for(;s<o&&!(e-i[s].time<r);)s++;return o>n&&(s=Math.max(s,o-n)),s>0&&i.splice(0,s),i}}class yA{constructor(e,n){this.time=e,this.value=n}}function lv(t,e){return"function"==typeof e?n=>n.pipe(lv((r,i)=>qr(t(r,i)).pipe(ee((o,s)=>e(r,o,i,s))))):n=>n.lift(new vA(t))}class vA{constructor(e){this.project=e}call(e,n){return n.subscribe(new bA(e,this.project))}}class bA extends ui{constructor(e,n){super(e),this.project=n,this.index=0}_next(e){let n;const r=this.index++;try{n=this.project(e,r)}catch(i){return void this.destination.error(i)}this._innerSub(n)}_innerSub(e){const n=this.innerSubscription;n&&n.unsubscribe();const r=new In(this),i=this.destination;i.add(r),this.innerSubscription=Un(e,r),this.innerSubscription!==r&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;(!e||e.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(e){this.destination.next(e)}}const Ja={schedule(t,e){const n=setTimeout(t,e);return()=>clearTimeout(n)},scheduleBeforeRender(t){if("undefined"==typeof window)return Ja.schedule(t,0);if(void 0===window.requestAnimationFrame)return Ja.schedule(t,16);const e=window.requestAnimationFrame(t);return()=>window.cancelAnimationFrame(e)}};let vd;function MA(t,e,n){let r=n;return function DA(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}(t)&&e.some((i,o)=>!("*"===i||!function EA(t,e){if(!vd){const n=Element.prototype;vd=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE&&vd.call(t,e)}(t,i)||(r=o,0))),r}class xA{constructor(e,n){this.componentFactory=n.get(Eo).resolveComponentFactory(e)}create(e){return new NA(this.componentFactory,e)}}class NA{constructor(e,n){this.componentFactory=e,this.injector=n,this.eventEmitters=new mA(1),this.events=this.eventEmitters.pipe(lv(r=>N(...r))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:r})=>r)),this.ngZone=this.injector.get(an),this.elementZone="undefined"==typeof Zone?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=Ja.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(e){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,n){this.runInZone(()=>{null!==this.componentRef?function CA(t,e){return t===e||t!=t&&e!=e}(n,this.getInputValue(e))&&(void 0!==n||!this.unchangedInputs.has(e))||(this.recordInputChange(e,n),this.unchangedInputs.delete(e),this.hasInputChanges=!0,this.componentRef.instance[e]=n,this.scheduleDetectChanges()):this.initialInputValues.set(e,n)})}initializeComponent(e){const n=Yn.create({providers:[],parent:this.injector}),r=function TA(t,e){const n=t.childNodes,r=e.map(()=>[]);let i=-1;e.some((o,s)=>"*"===o&&(i=s,!0));for(let o=0,s=n.length;o<s;++o){const a=n[o],l=MA(a,e,i);-1!==l&&r[l].push(a)}return r}(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(n,r,e),this.viewChangeDetectorRef=this.componentRef.injector.get(by),this.implementsOnChanges=function _A(t){return"function"==typeof t}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(qc).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:e})=>{this.initialInputValues.has(e)&&this.setInputValue(e,this.initialInputValues.get(e))}),this.initialInputValues.clear()}initializeOutputs(e){const n=this.componentFactory.outputs.map(({propName:r,templateName:i})=>e.instance[r].pipe(ee(s=>({name:i,value:s}))));this.eventEmitters.next(n)}callNgOnChanges(e){if(!this.implementsOnChanges||null===this.inputChanges)return;const n=this.inputChanges;this.inputChanges=null,e.instance.ngOnChanges(n)}markViewForCheck(e){this.hasInputChanges&&(this.hasInputChanges=!1,e.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Ja.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(e,n){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const r=this.inputChanges[e];if(r)return void(r.currentValue=n);const i=this.unchangedInputs.has(e),o=i?void 0:this.getInputValue(e);this.inputChanges[e]=new Xd(o,n,i)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}}class PA extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}class uv{}const $r="*";function cv(t,e=null){return{type:2,steps:t,options:e}}function dv(t){return{type:6,styles:t,offset:null}}function fv(t){Promise.resolve(null).then(t)}class Ms{constructor(e=0,n=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){fv(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){const n="start"==e?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}}class hv{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let n=0,r=0,i=0;const o=this.players.length;0==o?fv(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==o&&this._onFinish()}),s.onDestroy(()=>{++r==o&&this._onDestroy()}),s.onStart(()=>{++i==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const n=e*this.totalTime;this.players.forEach(r=>{const i=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(i)})}getPosition(){const e=this.players.reduce((n,r)=>null===n||r.totalTime>n.totalTime?r:n,null);return null!=e?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const n="start"==e?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}}const Je=!1;function pv(t){return new z(3e3,Je)}function p1(){return"undefined"!=typeof window&&void 0!==window.document}function wd(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function ri(t){switch(t.length){case 0:return new Ms;case 1:return t[0];default:return new hv(t)}}function gv(t,e,n,r,i={},o={}){const s=[],a=[];let l=-1,u=null;if(r.forEach(c=>{const d=c.offset,p=d==l,m=p&&u||{};Object.keys(c).forEach(v=>{let S=v,M=c[v];if("offset"!==v)switch(S=e.normalizePropertyName(S,s),M){case"!":M=i[v];break;case $r:M=o[v];break;default:M=e.normalizeStyleValue(v,S,M,s)}m[S]=M}),p||a.push(m),u=m,l=d}),s.length)throw function r1(t){return new z(3502,Je)}();return a}function Dd(t,e,n,r){switch(e){case"start":t.onStart(()=>r(n&&_d(n,"start",t)));break;case"done":t.onDone(()=>r(n&&_d(n,"done",t)));break;case"destroy":t.onDestroy(()=>r(n&&_d(n,"destroy",t)))}}function _d(t,e,n){const r=n.totalTime,o=Ed(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==r?t.totalTime:r,!!n.disabled),s=t._data;return null!=s&&(o._data=s),o}function Ed(t,e,n,r,i="",o=0,s){return{element:t,triggerName:e,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function Ln(t,e,n){let r;return t instanceof Map?(r=t.get(e),r||t.set(e,r=n)):(r=t[e],r||(r=t[e]=n)),r}function mv(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let Cd=(t,e)=>!1,yv=(t,e,n)=>[],vv=null;function Sd(t){const e=t.parentNode||t.host;return e===vv?null:e}(wd()||"undefined"!=typeof Element)&&(p1()?(vv=(()=>document.documentElement)(),Cd=(t,e)=>{for(;e;){if(e===t)return!0;e=Sd(e)}return!1}):Cd=(t,e)=>t.contains(e),yv=(t,e,n)=>{if(n)return Array.from(t.querySelectorAll(e));const r=t.querySelector(e);return r?[r]:[]});let Ii=null,bv=!1;function wv(t){Ii||(Ii=function m1(){return"undefined"!=typeof document?document.body:null}()||{},bv=!!Ii.style&&"WebkitAppearance"in Ii.style);let e=!0;return Ii.style&&!function g1(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in Ii.style,!e&&bv&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in Ii.style)),e}const Dv=Cd,_v=yv;let Ev=(()=>{class t{validateStyleProperty(n){return wv(n)}matchesElement(n,r){return!1}containsElement(n,r){return Dv(n,r)}getParentElement(n){return Sd(n)}query(n,r,i){return _v(n,r,i)}computeStyle(n,r,i){return i||""}animate(n,r,i,o,s,a=[],l){return new Ms(i,o)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=J({token:t,factory:t.\u0275fac}),t})(),Id=(()=>{class t{}return t.NOOP=new Ev,t})();const Td="ng-enter",tl="ng-leave",nl="ng-trigger",rl=".ng-trigger",Sv="ng-animating",Md=".ng-animating";function Ti(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Ad(parseFloat(e[1]),e[2])}function Ad(t,e){return"s"===e?1e3*t:t}function il(t,e,n){return t.hasOwnProperty("duration")?t:function b1(t,e,n){let i,o=0,s="";if("string"==typeof t){const a=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return e.push(pv()),{duration:0,delay:0,easing:""};i=Ad(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=Ad(parseFloat(l),a[4]));const u=a[5];u&&(s=u)}else i=t;if(!n){let a=!1,l=e.length;i<0&&(e.push(function RA(){return new z(3100,Je)}()),a=!0),o<0&&(e.push(function kA(){return new z(3101,Je)}()),a=!0),a&&e.splice(l,0,pv())}return{duration:i,delay:o,easing:s}}(t,e,n)}function Ao(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function ii(t,e,n={}){if(e)for(let r in t)n[r]=t[r];else Ao(t,n);return n}function Tv(t,e,n){return n?e+":"+n+";":""}function Mv(t){let e="";for(let n=0;n<t.style.length;n++){const r=t.style.item(n);e+=Tv(0,r,t.style.getPropertyValue(r))}for(const n in t.style)t.style.hasOwnProperty(n)&&!n.startsWith("_")&&(e+=Tv(0,_1(n),t.style[n]));t.setAttribute("style",e)}function Mr(t,e,n){t.style&&(Object.keys(e).forEach(r=>{const i=Nd(r);n&&!n.hasOwnProperty(r)&&(n[r]=t.style[i]),t.style[i]=e[r]}),wd()&&Mv(t))}function Mi(t,e){t.style&&(Object.keys(e).forEach(n=>{const r=Nd(n);t.style[r]=""}),wd()&&Mv(t))}function As(t){return Array.isArray(t)?1==t.length?t[0]:cv(t):t}const xd=new RegExp("{{\\s*(.+?)\\s*}}","g");function Av(t){let e=[];if("string"==typeof t){let n;for(;n=xd.exec(t);)e.push(n[1]);xd.lastIndex=0}return e}function ol(t,e,n){const r=t.toString(),i=r.replace(xd,(o,s)=>{let a=e[s];return e.hasOwnProperty(s)||(n.push(function BA(t){return new z(3003,Je)}()),a=""),a.toString()});return i==r?t:i}function sl(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const D1=/-+([a-z0-9])/g;function Nd(t){return t.replace(D1,(...e)=>e[1].toUpperCase())}function _1(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Bn(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw function jA(t){return new z(3004,Je)}()}}function xv(t,e){return window.getComputedStyle(t)[e]}function M1(t,e){const n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(r=>function A1(t,e,n){if(":"==t[0]){const l=function x1(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(n,r)=>parseFloat(r)>parseFloat(n);case":decrement":return(n,r)=>parseFloat(r)<parseFloat(n);default:return e.push(function JA(t){return new z(3016,Je)}()),"* => *"}}(t,n);if("function"==typeof l)return void e.push(l);t=l}const r=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push(function XA(t){return new z(3015,Je)}()),e;const i=r[1],o=r[2],s=r[3];e.push(Nv(i,s));"<"==o[0]&&!("*"==i&&"*"==s)&&e.push(Nv(s,i))}(r,n,e)):n.push(t),n}const cl=new Set(["true","1"]),dl=new Set(["false","0"]);function Nv(t,e){const n=cl.has(t)||dl.has(t),r=cl.has(e)||dl.has(e);return(i,o)=>{let s="*"==t||t==i,a="*"==e||e==o;return!s&&n&&"boolean"==typeof i&&(s=i?cl.has(t):dl.has(t)),!a&&r&&"boolean"==typeof o&&(a=o?cl.has(e):dl.has(e)),s&&a}}const N1=new RegExp("s*:selfs*,?","g");function Pd(t,e,n,r){return new P1(t).build(e,n,r)}class P1{constructor(e){this._driver=e}build(e,n,r){const i=new R1(n);this._resetContextStyleTimingState(i);const o=Bn(this,As(e),i);return i.unsupportedCSSPropertiesFound.size&&i.unsupportedCSSPropertiesFound.keys(),o}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}visitTrigger(e,n){let r=n.queryCount=0,i=n.depCount=0;const o=[],s=[];return"@"==e.name.charAt(0)&&n.errors.push(function HA(){return new z(3006,Je)}()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(n),0==a.type){const l=a,u=l.name;u.toString().split(/\s*,\s*/).forEach(c=>{l.name=c,o.push(this.visitState(l,n))}),l.name=u}else if(1==a.type){const l=this.visitTransition(a,n);r+=l.queryCount,i+=l.depCount,s.push(l)}else n.errors.push(function $A(){return new z(3007,Je)}())}),{type:7,name:e.name,states:o,transitions:s,queryCount:r,depCount:i,options:null}}visitState(e,n){const r=this.visitStyle(e.styles,n),i=e.options&&e.options.params||null;if(r.containsDynamicStyles){const o=new Set,s=i||{};r.styles.forEach(a=>{if(fl(a)){const l=a;Object.keys(l).forEach(u=>{Av(l[u]).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}}),o.size&&(sl(o.values()),n.errors.push(function UA(t,e){return new z(3008,Je)}()))}return{type:0,name:e.name,style:r,options:i?{params:i}:null}}visitTransition(e,n){n.queryCount=0,n.depCount=0;const r=Bn(this,As(e.animation),n);return{type:1,matchers:M1(e.expr,n.errors),animation:r,queryCount:n.queryCount,depCount:n.depCount,options:Ai(e.options)}}visitSequence(e,n){return{type:2,steps:e.steps.map(r=>Bn(this,r,n)),options:Ai(e.options)}}visitGroup(e,n){const r=n.currentTime;let i=0;const o=e.steps.map(s=>{n.currentTime=r;const a=Bn(this,s,n);return i=Math.max(i,n.currentTime),a});return n.currentTime=i,{type:3,steps:o,options:Ai(e.options)}}visitAnimate(e,n){const r=function L1(t,e){if(t.hasOwnProperty("duration"))return t;if("number"==typeof t)return Fd(il(t,e).duration,0,"");const n=t;if(n.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=Fd(0,0,"");return o.dynamic=!0,o.strValue=n,o}const i=il(n,e);return Fd(i.duration,i.delay,i.easing)}(e.timings,n.errors);n.currentAnimateTimings=r;let i,o=e.styles?e.styles:dv({});if(5==o.type)i=this.visitKeyframes(o,n);else{let s=e.styles,a=!1;if(!s){a=!0;const u={};r.easing&&(u.easing=r.easing),s=dv(u)}n.currentTime+=r.duration+r.delay;const l=this.visitStyle(s,n);l.isEmptyStep=a,i=l}return n.currentAnimateTimings=null,{type:4,timings:r,style:i,options:null}}visitStyle(e,n){const r=this._makeStyleAst(e,n);return this._validateStyleAst(r,n),r}_makeStyleAst(e,n){const r=[];Array.isArray(e.styles)?e.styles.forEach(s=>{"string"==typeof s?s==$r?r.push(s):n.errors.push(function zA(t){return new z(3002,Je)}()):r.push(s)}):r.push(e.styles);let i=!1,o=null;return r.forEach(s=>{if(fl(s)){const a=s,l=a.easing;if(l&&(o=l,delete a.easing),!i)for(let u in a)if(a[u].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:r,easing:o,offset:e.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(e,n){const r=n.currentAnimateTimings;let i=n.currentTime,o=n.currentTime;r&&o>0&&(o-=r.duration+r.delay),e.styles.forEach(s=>{"string"!=typeof s&&Object.keys(s).forEach(a=>{if(!this._driver.validateStyleProperty(a))return delete s[a],void n.unsupportedCSSPropertiesFound.add(a);const l=n.collectedStyles[n.currentQuerySelector],u=l[a];let c=!0;u&&(o!=i&&o>=u.startTime&&i<=u.endTime&&(n.errors.push(function qA(t,e,n,r,i){return new z(3010,Je)}()),c=!1),o=u.startTime),c&&(l[a]={startTime:o,endTime:i}),n.options&&function w1(t,e,n){const r=e.params||{},i=Av(t);i.length&&i.forEach(o=>{r.hasOwnProperty(o)||n.push(function LA(t){return new z(3001,Je)}())})}(s[a],n.options,n.errors)})})}visitKeyframes(e,n){const r={type:5,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push(function GA(){return new z(3011,Je)}()),r;let o=0;const s=[];let a=!1,l=!1,u=0;const c=e.steps.map(R=>{const I=this._makeStyleAst(R,n);let q=null!=I.offset?I.offset:function k1(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(n=>{if(fl(n)&&n.hasOwnProperty("offset")){const r=n;e=parseFloat(r.offset),delete r.offset}});else if(fl(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(I.styles),oe=0;return null!=q&&(o++,oe=I.offset=q),l=l||oe<0||oe>1,a=a||oe<u,u=oe,s.push(oe),I});l&&n.errors.push(function WA(){return new z(3012,Je)}()),a&&n.errors.push(function QA(){return new z(3200,Je)}());const d=e.steps.length;let p=0;o>0&&o<d?n.errors.push(function KA(){return new z(3202,Je)}()):0==o&&(p=1/(d-1));const m=d-1,v=n.currentTime,S=n.currentAnimateTimings,M=S.duration;return c.forEach((R,I)=>{const q=p>0?I==m?1:p*I:s[I],oe=q*M;n.currentTime=v+S.delay+oe,S.duration=oe,this._validateStyleAst(R,n),R.offset=q,r.styles.push(R)}),r}visitReference(e,n){return{type:8,animation:Bn(this,As(e.animation),n),options:Ai(e.options)}}visitAnimateChild(e,n){return n.depCount++,{type:9,options:Ai(e.options)}}visitAnimateRef(e,n){return{type:10,animation:this.visitReference(e.animation,n),options:Ai(e.options)}}visitQuery(e,n){const r=n.currentQuerySelector,i=e.options||{};n.queryCount++,n.currentQuery=e;const[o,s]=function F1(t){const e=!!t.split(/\s*,\s*/).find(n=>":self"==n);return e&&(t=t.replace(N1,"")),t=t.replace(/@\*/g,rl).replace(/@\w+/g,n=>rl+"-"+n.substr(1)).replace(/:animating/g,Md),[t,e]}(e.selector);n.currentQuerySelector=r.length?r+" "+o:o,Ln(n.collectedStyles,n.currentQuerySelector,{});const a=Bn(this,As(e.animation),n);return n.currentQuery=null,n.currentQuerySelector=r,{type:11,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:Ai(e.options)}}visitStagger(e,n){n.currentQuery||n.errors.push(function YA(){return new z(3013,Je)}());const r="full"===e.timings?{duration:0,delay:0,easing:"full"}:il(e.timings,n.errors,!0);return{type:12,animation:Bn(this,As(e.animation),n),timings:r,options:null}}}class R1{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function fl(t){return!Array.isArray(t)&&"object"==typeof t}function Ai(t){return t?(t=Ao(t)).params&&(t.params=function O1(t){return t?Ao(t):null}(t.params)):t={},t}function Fd(t,e,n){return{duration:t,delay:e,easing:n}}function Od(t,e,n,r,i,o,s=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}class hl{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,n){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...n)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const V1=new RegExp(":enter","g"),$1=new RegExp(":leave","g");function Rd(t,e,n,r,i,o={},s={},a,l,u=[]){return(new U1).buildKeyframes(t,e,n,r,i,o,s,a,l,u)}class U1{buildKeyframes(e,n,r,i,o,s,a,l,u,c=[]){u=u||new hl;const d=new kd(e,n,u,i,o,c,[]);d.options=l,d.currentTimeline.setStyles([s],null,d.errors,l),Bn(this,r,d);const p=d.timelines.filter(m=>m.containsAnimation());if(Object.keys(a).length){let m;for(let v=p.length-1;v>=0;v--){const S=p[v];if(S.element===n){m=S;break}}m&&!m.allowOnlyTimelineStyles()&&m.setStyles([a],null,d.errors,l)}return p.length?p.map(m=>m.buildKeyframes()):[Od(n,[],[],[],0,0,"",!1)]}visitTrigger(e,n){}visitState(e,n){}visitTransition(e,n){}visitAnimateChild(e,n){const r=n.subInstructions.get(n.element);if(r){const i=n.createSubContext(e.options),o=n.currentTimeline.currentTime,s=this._visitSubInstructions(r,i,i.options);o!=s&&n.transformIntoNewTimeline(s)}n.previousNode=e}visitAnimateRef(e,n){const r=n.createSubContext(e.options);r.transformIntoNewTimeline(),this.visitReference(e.animation,r),n.transformIntoNewTimeline(r.currentTimeline.currentTime),n.previousNode=e}_visitSubInstructions(e,n,r){let o=n.currentTimeline.currentTime;const s=null!=r.duration?Ti(r.duration):null,a=null!=r.delay?Ti(r.delay):null;return 0!==s&&e.forEach(l=>{const u=n.appendInstructionToTimeline(l,s,a);o=Math.max(o,u.duration+u.delay)}),o}visitReference(e,n){n.updateOptions(e.options,!0),Bn(this,e.animation,n),n.previousNode=e}visitSequence(e,n){const r=n.subContextCount;let i=n;const o=e.options;if(o&&(o.params||o.delay)&&(i=n.createSubContext(o),i.transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=pl);const s=Ti(o.delay);i.delayNextStep(s)}e.steps.length&&(e.steps.forEach(s=>Bn(this,s,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),n.previousNode=e}visitGroup(e,n){const r=[];let i=n.currentTimeline.currentTime;const o=e.options&&e.options.delay?Ti(e.options.delay):0;e.steps.forEach(s=>{const a=n.createSubContext(e.options);o&&a.delayNextStep(o),Bn(this,s,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(s=>n.currentTimeline.mergeTimelineCollectedStyles(s)),n.transformIntoNewTimeline(i),n.previousNode=e}_visitTiming(e,n){if(e.dynamic){const r=e.strValue;return il(n.params?ol(r,n.params,n.errors):r,n.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,n){const r=n.currentAnimateTimings=this._visitTiming(e.timings,n),i=n.currentTimeline;r.delay&&(n.incrementTime(r.delay),i.snapshotCurrentStyles());const o=e.style;5==o.type?this.visitKeyframes(o,n):(n.incrementTime(r.duration),this.visitStyle(o,n),i.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=e}visitStyle(e,n){const r=n.currentTimeline,i=n.currentAnimateTimings;!i&&r.getCurrentStyleProperties().length&&r.forwardFrame();const o=i&&i.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(o):r.setStyles(e.styles,o,n.errors,n.options),n.previousNode=e}visitKeyframes(e,n){const r=n.currentAnimateTimings,i=n.currentTimeline.duration,o=r.duration,a=n.createSubContext().currentTimeline;a.easing=r.easing,e.styles.forEach(l=>{a.forwardTime((l.offset||0)*o),a.setStyles(l.styles,l.easing,n.errors,n.options),a.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(a),n.transformIntoNewTimeline(i+o),n.previousNode=e}visitQuery(e,n){const r=n.currentTimeline.currentTime,i=e.options||{},o=i.delay?Ti(i.delay):0;o&&(6===n.previousNode.type||0==r&&n.currentTimeline.getCurrentStyleProperties().length)&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=pl);let s=r;const a=n.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,n.errors);n.currentQueryTotal=a.length;let l=null;a.forEach((u,c)=>{n.currentQueryIndex=c;const d=n.createSubContext(e.options,u);o&&d.delayNextStep(o),u===n.element&&(l=d.currentTimeline),Bn(this,e.animation,d),d.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,d.currentTimeline.currentTime)}),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(s),l&&(n.currentTimeline.mergeTimelineCollectedStyles(l),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=e}visitStagger(e,n){const r=n.parentContext,i=n.currentTimeline,o=e.timings,s=Math.abs(o.duration),a=s*(n.currentQueryTotal-1);let l=s*n.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=r.currentStaggerTime}const c=n.currentTimeline;l&&c.delayNextStep(l);const d=c.currentTime;Bn(this,e.animation,n),n.previousNode=e,r.currentStaggerTime=i.currentTime-d+(i.startTime-r.currentTimeline.startTime)}}const pl={};class kd{constructor(e,n,r,i,o,s,a,l){this._driver=e,this.element=n,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=pl,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new gl(this._driver,n,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,n){if(!e)return;const r=e;let i=this.options;null!=r.duration&&(i.duration=Ti(r.duration)),null!=r.delay&&(i.delay=Ti(r.delay));const o=r.params;if(o){let s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!n||!s.hasOwnProperty(a))&&(s[a]=ol(o[a],s,this.errors))})}}_copyOptions(){const e={};if(this.options){const n=this.options.params;if(n){const r=e.params={};Object.keys(n).forEach(i=>{r[i]=n[i]})}}return e}createSubContext(e=null,n,r){const i=n||this.element,o=new kd(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(e){return this.previousNode=pl,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,n,r){const i={duration:null!=n?n:e.duration,delay:this.currentTimeline.currentTime+(null!=r?r:0)+e.delay,easing:""},o=new z1(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,n,r,i,o,s){let a=[];if(i&&a.push(this.element),e.length>0){e=(e=e.replace(V1,"."+this._enterClassName)).replace($1,"."+this._leaveClassName);let u=this._driver.query(this.element,e,1!=r);0!==r&&(u=r<0?u.slice(u.length+r,u.length):u.slice(0,r)),a.push(...u)}return!o&&0==a.length&&s.push(function ZA(t){return new z(3014,Je)}()),a}}class gl{constructor(e,n,r,i){this._driver=e,this.element=n,this.startTime=r,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const n=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||n?(this.forwardTime(this.currentTime+e),n&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,n){return this.applyStylesToKeyframe(),new gl(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,n){this._localTimelineStyles[e]=n,this._globalTimelineStyles[e]=n,this._styleSummary[e]={time:this.currentTime,value:n}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(n=>{this._backFill[n]=this._globalTimelineStyles[n]||$r,this._currentKeyframe[n]=$r}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,n,r,i){n&&(this._previousKeyframe.easing=n);const o=i&&i.params||{},s=function q1(t,e){const n={};let r;return t.forEach(i=>{"*"===i?(r=r||Object.keys(e),r.forEach(o=>{n[o]=$r})):ii(i,!1,n)}),n}(e,this._globalTimelineStyles);Object.keys(s).forEach(a=>{const l=ol(s[a],o,r);this._pendingStyles[a]=l,this._localTimelineStyles.hasOwnProperty(a)||(this._backFill[a]=this._globalTimelineStyles.hasOwnProperty(a)?this._globalTimelineStyles[a]:$r),this._updateStyle(a,l)})}applyStylesToKeyframe(){const e=this._pendingStyles,n=Object.keys(e);0!=n.length&&(this._pendingStyles={},n.forEach(r=>{this._currentKeyframe[r]=e[r]}),Object.keys(this._localTimelineStyles).forEach(r=>{this._currentKeyframe.hasOwnProperty(r)||(this._currentKeyframe[r]=this._localTimelineStyles[r])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(e=>{const n=this._localTimelineStyles[e];this._pendingStyles[e]=n,this._updateStyle(e,n)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let n in this._currentKeyframe)e.push(n);return e}mergeTimelineCollectedStyles(e){Object.keys(e._styleSummary).forEach(n=>{const r=this._styleSummary[n],i=e._styleSummary[n];(!r||i.time>r.time)&&this._updateStyle(n,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((a,l)=>{const u=ii(a,!0);Object.keys(u).forEach(c=>{const d=u[c];"!"==d?e.add(c):d==$r&&n.add(c)}),r||(u.offset=l/this.duration),i.push(u)});const o=e.size?sl(e.values()):[],s=n.size?sl(n.values()):[];if(r){const a=i[0],l=Ao(a);a.offset=0,l.offset=1,i=[a,l]}return Od(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)}}class z1 extends gl{constructor(e,n,r,i,o,s,a=!1){super(e,n,s.delay),this.keyframes=r,this.preStyleProps=i,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:n,duration:r,easing:i}=this.timings;if(this._stretchStartingKeyframe&&n){const o=[],s=r+n,a=n/s,l=ii(e[0],!1);l.offset=0,o.push(l);const u=ii(e[0],!1);u.offset=Ov(a),o.push(u);const c=e.length-1;for(let d=1;d<=c;d++){let p=ii(e[d],!1);p.offset=Ov((n+p.offset*r)/s),o.push(p)}r=s,n=0,i="",e=o}return Od(this.element,e,this.preStyleProps,this.postStyleProps,r,n,i,!0)}}function Ov(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class Ld{}class G1 extends Ld{normalizePropertyName(e,n){return Nd(e)}normalizeStyleValue(e,n,r,i){let o="";const s=r.toString().trim();if(W1[n]&&0!==r&&"0"!==r)if("number"==typeof r)o="px";else{const a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&i.push(function VA(t,e){return new z(3005,Je)}())}return s+o}}const W1=(()=>function Q1(t){const e={};return t.forEach(n=>e[n]=!0),e}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function Rv(t,e,n,r,i,o,s,a,l,u,c,d,p){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:d,errors:p}}const Bd={};class kv{constructor(e,n,r){this._triggerName=e,this.ast=n,this._stateStyles=r}match(e,n,r,i){return function K1(t,e,n,r,i){return t.some(o=>o(e,n,r,i))}(this.ast.matchers,e,n,r,i)}buildStyles(e,n,r){const i=this._stateStyles["*"],o=this._stateStyles[e],s=i?i.buildStyles(n,r):{};return o?o.buildStyles(n,r):s}build(e,n,r,i,o,s,a,l,u,c){const d=[],p=this.ast.options&&this.ast.options.params||Bd,v=this.buildStyles(r,a&&a.params||Bd,d),S=l&&l.params||Bd,M=this.buildStyles(i,S,d),R=new Set,I=new Map,q=new Map,oe="void"===i,We={params:Object.assign(Object.assign({},p),S)},Ct=c?[]:Rd(e,n,this.ast.animation,o,s,v,M,We,u,d);let At=0;if(Ct.forEach(Vn=>{At=Math.max(Vn.duration+Vn.delay,At)}),d.length)return Rv(n,this._triggerName,r,i,oe,v,M,[],[],I,q,At,d);Ct.forEach(Vn=>{const Hn=Vn.element,No=Ln(I,Hn,{});Vn.preStyleProps.forEach(gr=>No[gr]=!0);const Ur=Ln(q,Hn,{});Vn.postStyleProps.forEach(gr=>Ur[gr]=!0),Hn!==n&&R.add(Hn)});const jn=sl(R.values());return Rv(n,this._triggerName,r,i,oe,v,M,Ct,jn,I,q,At)}}class Y1{constructor(e,n,r){this.styles=e,this.defaultParams=n,this.normalizer=r}buildStyles(e,n){const r={},i=Ao(this.defaultParams);return Object.keys(e).forEach(o=>{const s=e[o];null!=s&&(i[o]=s)}),this.styles.styles.forEach(o=>{if("string"!=typeof o){const s=o;Object.keys(s).forEach(a=>{let l=s[a];l.length>1&&(l=ol(l,i,n));const u=this.normalizer.normalizePropertyName(a,n);l=this.normalizer.normalizeStyleValue(a,u,l,n),r[u]=l})}}),r}}class X1{constructor(e,n,r){this.name=e,this.ast=n,this._normalizer=r,this.transitionFactories=[],this.states={},n.states.forEach(i=>{this.states[i.name]=new Y1(i.style,i.options&&i.options.params||{},r)}),Lv(this.states,"true","1"),Lv(this.states,"false","0"),n.transitions.forEach(i=>{this.transitionFactories.push(new kv(e,i,this.states))}),this.fallbackTransition=function J1(t,e,n){return new kv(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},e)}(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,n,r,i){return this.transitionFactories.find(s=>s.match(e,n,r,i))||null}matchStyles(e,n,r){return this.fallbackTransition.buildStyles(e,n,r)}}function Lv(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const ex=new hl;class tx{constructor(e,n,r){this.bodyNode=e,this._driver=n,this._normalizer=r,this._animations={},this._playersById={},this.players=[]}register(e,n){const r=[],o=Pd(this._driver,n,r,[]);if(r.length)throw function i1(t){return new z(3503,Je)}();this._animations[e]=o}_buildPlayer(e,n,r){const i=e.element,o=gv(0,this._normalizer,0,e.keyframes,n,r);return this._driver.animate(i,o,e.duration,e.delay,e.easing,[],!0)}create(e,n,r={}){const i=[],o=this._animations[e];let s;const a=new Map;if(o?(s=Rd(this._driver,n,o,Td,tl,{},{},r,ex,i),s.forEach(c=>{const d=Ln(a,c.element,{});c.postStyleProps.forEach(p=>d[p]=null)})):(i.push(function o1(){return new z(3300,Je)}()),s=[]),i.length)throw function s1(t){return new z(3504,Je)}();a.forEach((c,d)=>{Object.keys(c).forEach(p=>{c[p]=this._driver.computeStyle(d,p,$r)})});const u=ri(s.map(c=>{const d=a.get(c.element);return this._buildPlayer(c,{},d)}));return this._playersById[e]=u,u.onDestroy(()=>this.destroy(e)),this.players.push(u),u}destroy(e){const n=this._getPlayer(e);n.destroy(),delete this._playersById[e];const r=this.players.indexOf(n);r>=0&&this.players.splice(r,1)}_getPlayer(e){const n=this._playersById[e];if(!n)throw function a1(t){return new z(3301,Je)}();return n}listen(e,n,r,i){const o=Ed(n,"","","");return Dd(this._getPlayer(e),r,o,i),()=>{}}command(e,n,r,i){if("register"==r)return void this.register(e,i[0]);if("create"==r)return void this.create(e,n,i[0]||{});const o=this._getPlayer(e);switch(r){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e)}}}const Bv="ng-animate-queued",jd="ng-animate-disabled",sx=[],jv={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ax={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},nr="__ng_removed";class Vd{constructor(e,n=""){this.namespaceId=n;const r=e&&e.hasOwnProperty("value");if(this.value=function dx(t){return null!=t?t:null}(r?e.value:e),r){const o=Ao(e);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const n=e.params;if(n){const r=this.options.params;Object.keys(n).forEach(i=>{null==r[i]&&(r[i]=n[i])})}}}const xs="void",Hd=new Vd(xs);class lx{constructor(e,n,r){this.id=e,this.hostElement=n,this._engine=r,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,rr(n,this._hostClassName)}listen(e,n,r,i){if(!this._triggers.hasOwnProperty(n))throw function l1(t,e){return new z(3302,Je)}();if(null==r||0==r.length)throw function u1(t){return new z(3303,Je)}();if(!function fx(t){return"start"==t||"done"==t}(r))throw function c1(t,e){return new z(3400,Je)}();const o=Ln(this._elementListeners,e,[]),s={name:n,phase:r,callback:i};o.push(s);const a=Ln(this._engine.statesByElement,e,{});return a.hasOwnProperty(n)||(rr(e,nl),rr(e,nl+"-"+n),a[n]=Hd),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers[n]||delete a[n]})}}register(e,n){return!this._triggers[e]&&(this._triggers[e]=n,!0)}_getTrigger(e){const n=this._triggers[e];if(!n)throw function d1(t){return new z(3401,Je)}();return n}trigger(e,n,r,i=!0){const o=this._getTrigger(n),s=new $d(this.id,n,e);let a=this._engine.statesByElement.get(e);a||(rr(e,nl),rr(e,nl+"-"+n),this._engine.statesByElement.set(e,a={}));let l=a[n];const u=new Vd(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),a[n]=u,l||(l=Hd),u.value!==xs&&l.value===u.value){if(!function gx(t,e){const n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(let i=0;i<n.length;i++){const o=n[i];if(!e.hasOwnProperty(o)||t[o]!==e[o])return!1}return!0}(l.params,u.params)){const S=[],M=o.matchStyles(l.value,l.params,S),R=o.matchStyles(u.value,u.params,S);S.length?this._engine.reportError(S):this._engine.afterFlush(()=>{Mi(e,M),Mr(e,R)})}return}const p=Ln(this._engine.playersByElement,e,[]);p.forEach(S=>{S.namespaceId==this.id&&S.triggerName==n&&S.queued&&S.destroy()});let m=o.matchTransition(l.value,u.value,e,u.params),v=!1;if(!m){if(!i)return;m=o.fallbackTransition,v=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:n,transition:m,fromState:l,toState:u,player:s,isFallbackTransition:v}),v||(rr(e,Bv),s.onStart(()=>{xo(e,Bv)})),s.onDone(()=>{let S=this.players.indexOf(s);S>=0&&this.players.splice(S,1);const M=this._engine.playersByElement.get(e);if(M){let R=M.indexOf(s);R>=0&&M.splice(R,1)}}),this.players.push(s),p.push(s),s}deregister(e){delete this._triggers[e],this._engine.statesByElement.forEach((n,r)=>{delete n[e]}),this._elementListeners.forEach((n,r)=>{this._elementListeners.set(r,n.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const n=this._engine.playersByElement.get(e);n&&(n.forEach(r=>r.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,n){const r=this._engine.driver.query(e,rl,!0);r.forEach(i=>{if(i[nr])return;const o=this._engine.fetchNamespacesByElement(i);o.size?o.forEach(s=>s.triggerLeaveAnimation(i,n,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,n,r,i){const o=this._engine.statesByElement.get(e),s=new Map;if(o){const a=[];if(Object.keys(o).forEach(l=>{if(s.set(l,o[l].value),this._triggers[l]){const u=this.trigger(e,l,xs,i);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,n,s),r&&ri(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const n=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(n&&r){const i=new Set;n.forEach(o=>{const s=o.name;if(i.has(s))return;i.add(s);const l=this._triggers[s].fallbackTransition,u=r[s]||Hd,c=new Vd(xs),d=new $d(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:l,fromState:u,toState:c,player:d,isFallbackTransition:!0})})}}removeNode(e,n){const r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,n),this.triggerLeaveAnimation(e,n,!0))return;let i=!1;if(r.totalAnimations){const o=r.players.length?r.playersByQueriedElement.get(e):[];if(o&&o.length)i=!0;else{let s=e;for(;s=s.parentNode;)if(r.statesByElement.get(s)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)r.markElementAsRemoved(this.id,e,!1,n);else{const o=e[nr];(!o||o===jv)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,n))}}insertNode(e,n){rr(e,this._hostClassName)}drainQueuedTransitions(e){const n=[];return this._queue.forEach(r=>{const i=r.player;if(i.destroyed)return;const o=r.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==r.triggerName){const l=Ed(o,r.triggerName,r.fromState.value,r.toState.value);l._data=e,Dd(r.player,a.phase,l,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):n.push(r)}),this._queue=[],n.sort((r,i)=>{const o=r.transition.ast.depCount,s=i.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(r.element,i.element)?1:-1})}destroy(e){this.players.forEach(n=>n.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let n=!1;return this._elementListeners.has(e)&&(n=!0),n=!!this._queue.find(r=>r.element===e)||n,n}}class ux{constructor(e,n,r){this.bodyNode=e,this.driver=n,this._normalizer=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(i,o)=>{}}_onRemovalComplete(e,n){this.onRemovalComplete(e,n)}get queuedPlayers(){const e=[];return this._namespaceList.forEach(n=>{n.players.forEach(r=>{r.queued&&e.push(r)})}),e}createNamespace(e,n){const r=new lx(e,n,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,n)?this._balanceNamespaceList(r,n):(this.newHostElements.set(n,r),this.collectEnterElement(n)),this._namespaceLookup[e]=r}_balanceNamespaceList(e,n){const r=this._namespaceList,i=this.namespacesByHostElement,o=r.length-1;if(o>=0){let s=!1;if(void 0!==this.driver.getParentElement){let a=this.driver.getParentElement(n);for(;a;){const l=i.get(a);if(l){const u=r.indexOf(l);r.splice(u+1,0,e),s=!0;break}a=this.driver.getParentElement(a)}}else for(let a=o;a>=0;a--)if(this.driver.containsElement(r[a].hostElement,n)){r.splice(a+1,0,e),s=!0;break}s||r.unshift(e)}else r.push(e);return i.set(n,e),e}register(e,n){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,n)),r}registerTrigger(e,n,r){let i=this._namespaceLookup[e];i&&i.register(n,r)&&this.totalAnimations++}destroy(e,n){if(!e)return;const r=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(r.hostElement),delete this._namespaceLookup[e];const i=this._namespaceList.indexOf(r);i>=0&&this._namespaceList.splice(i,1)}),this.afterFlushAnimationsDone(()=>r.destroy(n))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const n=new Set,r=this.statesByElement.get(e);if(r){const i=Object.keys(r);for(let o=0;o<i.length;o++){const s=r[i[o]].namespaceId;if(s){const a=this._fetchNamespace(s);a&&n.add(a)}}}return n}trigger(e,n,r,i){if(ml(n)){const o=this._fetchNamespace(e);if(o)return o.trigger(n,r,i),!0}return!1}insertNode(e,n,r,i){if(!ml(n))return;const o=n[nr];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(n);s>=0&&this.collectedLeaveElements.splice(s,1)}if(e){const s=this._fetchNamespace(e);s&&s.insertNode(n,r)}i&&this.collectEnterElement(n)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,n){n?this.disabledNodes.has(e)||(this.disabledNodes.add(e),rr(e,jd)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),xo(e,jd))}removeNode(e,n,r,i){if(ml(n)){const o=e?this._fetchNamespace(e):null;if(o?o.removeNode(n,i):this.markElementAsRemoved(e,n,!1,i),r){const s=this.namespacesByHostElement.get(n);s&&s.id!==e&&s.removeNode(n,i)}}else this._onRemovalComplete(n,i)}markElementAsRemoved(e,n,r,i,o){this.collectedLeaveElements.push(n),n[nr]={namespaceId:e,setForRemoval:i,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,n,r,i,o){return ml(n)?this._fetchNamespace(e).listen(n,r,i,o):()=>{}}_buildInstruction(e,n,r,i,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,i,e.fromState.options,e.toState.options,n,o)}destroyInnerAnimations(e){let n=this.driver.query(e,rl,!0);n.forEach(r=>this.destroyActiveAnimationsForElement(r)),0!=this.playersByQueriedElement.size&&(n=this.driver.query(e,Md,!0),n.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(e){const n=this.playersByElement.get(e);n&&n.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(e){const n=this.playersByQueriedElement.get(e);n&&n.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return ri(this.players).onDone(()=>e());e()})}processLeaveNode(e){var n;const r=e[nr];if(r&&r.setForRemoval){if(e[nr]=jv,r.namespaceId){this.destroyInnerAnimations(e);const i=this._fetchNamespace(r.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,r.setForRemoval)}(null===(n=e.classList)||void 0===n?void 0:n.contains(jd))&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(e=-1){let n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,i)=>this._balanceNamespaceList(r,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++)rr(this.collectedEnterElements[r],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const r=[];try{n=this._flushAnimations(r,e)}finally{for(let i=0;i<r.length;i++)r[i]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++)this.processLeaveNode(this.collectedLeaveElements[r]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(r=>r()),this._flushFns=[],this._whenQuietFns.length){const r=this._whenQuietFns;this._whenQuietFns=[],n.length?ri(n).onDone(()=>{r.forEach(i=>i())}):r.forEach(i=>i())}}reportError(e){throw function f1(t){return new z(3402,Je)}()}_flushAnimations(e,n){const r=new hl,i=[],o=new Map,s=[],a=new Map,l=new Map,u=new Map,c=new Set;this.disabledNodes.forEach(Y=>{c.add(Y);const ye=this.driver.query(Y,".ng-animate-queued",!0);for(let Ie=0;Ie<ye.length;Ie++)c.add(ye[Ie])});const d=this.bodyNode,p=Array.from(this.statesByElement.keys()),m=$v(p,this.collectedEnterElements),v=new Map;let S=0;m.forEach((Y,ye)=>{const Ie=Td+S++;v.set(ye,Ie),Y.forEach(at=>rr(at,Ie))});const M=[],R=new Set,I=new Set;for(let Y=0;Y<this.collectedLeaveElements.length;Y++){const ye=this.collectedLeaveElements[Y],Ie=ye[nr];Ie&&Ie.setForRemoval&&(M.push(ye),R.add(ye),Ie.hasAnimation?this.driver.query(ye,".ng-star-inserted",!0).forEach(at=>R.add(at)):I.add(ye))}const q=new Map,oe=$v(p,Array.from(R));oe.forEach((Y,ye)=>{const Ie=tl+S++;q.set(ye,Ie),Y.forEach(at=>rr(at,Ie))}),e.push(()=>{m.forEach((Y,ye)=>{const Ie=v.get(ye);Y.forEach(at=>xo(at,Ie))}),oe.forEach((Y,ye)=>{const Ie=q.get(ye);Y.forEach(at=>xo(at,Ie))}),M.forEach(Y=>{this.processLeaveNode(Y)})});const We=[],Ct=[];for(let Y=this._namespaceList.length-1;Y>=0;Y--)this._namespaceList[Y].drainQueuedTransitions(n).forEach(Ie=>{const at=Ie.player,on=Ie.element;if(We.push(at),this.collectedEnterElements.length){const Sn=on[nr];if(Sn&&Sn.setForMove){if(Sn.previousTriggersValues&&Sn.previousTriggersValues.has(Ie.triggerName)){const xi=Sn.previousTriggersValues.get(Ie.triggerName),si=this.statesByElement.get(Ie.element);si&&si[Ie.triggerName]&&(si[Ie.triggerName].value=xi)}return void at.destroy()}}const Ar=!d||!this.driver.containsElement(d,on),$n=q.get(on),oi=v.get(on),xt=this._buildInstruction(Ie,r,oi,$n,Ar);if(xt.errors&&xt.errors.length)return void Ct.push(xt);if(Ar)return at.onStart(()=>Mi(on,xt.fromStyles)),at.onDestroy(()=>Mr(on,xt.toStyles)),void i.push(at);if(Ie.isFallbackTransition)return at.onStart(()=>Mi(on,xt.fromStyles)),at.onDestroy(()=>Mr(on,xt.toStyles)),void i.push(at);const Xv=[];xt.timelines.forEach(Sn=>{Sn.stretchStartingKeyframe=!0,this.disabledNodes.has(Sn.element)||Xv.push(Sn)}),xt.timelines=Xv,r.append(on,xt.timelines),s.push({instruction:xt,player:at,element:on}),xt.queriedElements.forEach(Sn=>Ln(a,Sn,[]).push(at)),xt.preStyleProps.forEach((Sn,xi)=>{const si=Object.keys(Sn);if(si.length){let Ni=l.get(xi);Ni||l.set(xi,Ni=new Set),si.forEach(zd=>Ni.add(zd))}}),xt.postStyleProps.forEach((Sn,xi)=>{const si=Object.keys(Sn);let Ni=u.get(xi);Ni||u.set(xi,Ni=new Set),si.forEach(zd=>Ni.add(zd))})});if(Ct.length){const Y=[];Ct.forEach(ye=>{Y.push(function h1(t,e){return new z(3505,Je)}())}),We.forEach(ye=>ye.destroy()),this.reportError(Y)}const At=new Map,jn=new Map;s.forEach(Y=>{const ye=Y.element;r.has(ye)&&(jn.set(ye,ye),this._beforeAnimationBuild(Y.player.namespaceId,Y.instruction,At))}),i.forEach(Y=>{const ye=Y.element;this._getPreviousPlayers(ye,!1,Y.namespaceId,Y.triggerName,null).forEach(at=>{Ln(At,ye,[]).push(at),at.destroy()})});const Vn=M.filter(Y=>zv(Y,l,u)),Hn=new Map;Hv(Hn,this.driver,I,u,$r).forEach(Y=>{zv(Y,l,u)&&Vn.push(Y)});const Ur=new Map;m.forEach((Y,ye)=>{Hv(Ur,this.driver,new Set(Y),l,"!")}),Vn.forEach(Y=>{const ye=Hn.get(Y),Ie=Ur.get(Y);Hn.set(Y,Object.assign(Object.assign({},ye),Ie))});const gr=[],Po=[],Fo={};s.forEach(Y=>{const{element:ye,player:Ie,instruction:at}=Y;if(r.has(ye)){if(c.has(ye))return Ie.onDestroy(()=>Mr(ye,at.toStyles)),Ie.disabled=!0,Ie.overrideTotalTime(at.totalTime),void i.push(Ie);let on=Fo;if(jn.size>1){let $n=ye;const oi=[];for(;$n=$n.parentNode;){const xt=jn.get($n);if(xt){on=xt;break}oi.push($n)}oi.forEach(xt=>jn.set(xt,on))}const Ar=this._buildAnimation(Ie.namespaceId,at,At,o,Ur,Hn);if(Ie.setRealPlayer(Ar),on===Fo)gr.push(Ie);else{const $n=this.playersByElement.get(on);$n&&$n.length&&(Ie.parentPlayer=ri($n)),i.push(Ie)}}else Mi(ye,at.fromStyles),Ie.onDestroy(()=>Mr(ye,at.toStyles)),Po.push(Ie),c.has(ye)&&i.push(Ie)}),Po.forEach(Y=>{const ye=o.get(Y.element);if(ye&&ye.length){const Ie=ri(ye);Y.setRealPlayer(Ie)}}),i.forEach(Y=>{Y.parentPlayer?Y.syncPlayerEvents(Y.parentPlayer):Y.destroy()});for(let Y=0;Y<M.length;Y++){const ye=M[Y],Ie=ye[nr];if(xo(ye,tl),Ie&&Ie.hasAnimation)continue;let at=[];if(a.size){let Ar=a.get(ye);Ar&&Ar.length&&at.push(...Ar);let $n=this.driver.query(ye,Md,!0);for(let oi=0;oi<$n.length;oi++){let xt=a.get($n[oi]);xt&&xt.length&&at.push(...xt)}}const on=at.filter(Ar=>!Ar.destroyed);on.length?hx(this,ye,on):this.processLeaveNode(ye)}return M.length=0,gr.forEach(Y=>{this.players.push(Y),Y.onDone(()=>{Y.destroy();const ye=this.players.indexOf(Y);this.players.splice(ye,1)}),Y.play()}),gr}elementContainsData(e,n){let r=!1;const i=n[nr];return i&&i.setForRemoval&&(r=!0),this.playersByElement.has(n)&&(r=!0),this.playersByQueriedElement.has(n)&&(r=!0),this.statesByElement.has(n)&&(r=!0),this._fetchNamespace(e).elementContainsData(n)||r}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,n,r,i,o){let s=[];if(n){const a=this.playersByQueriedElement.get(e);a&&(s=a)}else{const a=this.playersByElement.get(e);if(a){const l=!o||o==xs;a.forEach(u=>{u.queued||!l&&u.triggerName!=i||s.push(u)})}}return(r||i)&&(s=s.filter(a=>!(r&&r!=a.namespaceId||i&&i!=a.triggerName))),s}_beforeAnimationBuild(e,n,r){const o=n.element,s=n.isRemovalTransition?void 0:e,a=n.isRemovalTransition?void 0:n.triggerName;for(const l of n.timelines){const u=l.element,c=u!==o,d=Ln(r,u,[]);this._getPreviousPlayers(u,c,s,a,n.toState).forEach(m=>{const v=m.getRealPlayer();v.beforeDestroy&&v.beforeDestroy(),m.destroy(),d.push(m)})}Mi(o,n.fromStyles)}_buildAnimation(e,n,r,i,o,s){const a=n.triggerName,l=n.element,u=[],c=new Set,d=new Set,p=n.timelines.map(v=>{const S=v.element;c.add(S);const M=S[nr];if(M&&M.removedBeforeQueried)return new Ms(v.duration,v.delay);const R=S!==l,I=function px(t){const e=[];return Uv(t,e),e}((r.get(S)||sx).map(At=>At.getRealPlayer())).filter(At=>!!At.element&&At.element===S),q=o.get(S),oe=s.get(S),We=gv(0,this._normalizer,0,v.keyframes,q,oe),Ct=this._buildPlayer(v,We,I);if(v.subTimeline&&i&&d.add(S),R){const At=new $d(e,a,S);At.setRealPlayer(Ct),u.push(At)}return Ct});u.forEach(v=>{Ln(this.playersByQueriedElement,v.element,[]).push(v),v.onDone(()=>function cx(t,e,n){let r;if(t instanceof Map){if(r=t.get(e),r){if(r.length){const i=r.indexOf(n);r.splice(i,1)}0==r.length&&t.delete(e)}}else if(r=t[e],r){if(r.length){const i=r.indexOf(n);r.splice(i,1)}0==r.length&&delete t[e]}return r}(this.playersByQueriedElement,v.element,v))}),c.forEach(v=>rr(v,Sv));const m=ri(p);return m.onDestroy(()=>{c.forEach(v=>xo(v,Sv)),Mr(l,n.toStyles)}),d.forEach(v=>{Ln(i,v,[]).push(m)}),m}_buildPlayer(e,n,r){return n.length>0?this.driver.animate(e.element,n,e.duration,e.delay,e.easing,r):new Ms(e.duration,e.delay)}}class $d{constructor(e,n,r){this.namespaceId=e,this.triggerName=n,this.element=r,this._player=new Ms,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(n=>{this._queuedCallbacks[n].forEach(r=>Dd(e,n,void 0,r))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const n=this._player;n.triggerCallback&&e.onStart(()=>n.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,n){Ln(this._queuedCallbacks,e,[]).push(n)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const n=this._player;n.triggerCallback&&n.triggerCallback(e)}}function ml(t){return t&&1===t.nodeType}function Vv(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function Hv(t,e,n,r,i){const o=[];n.forEach(l=>o.push(Vv(l)));const s=[];r.forEach((l,u)=>{const c={};l.forEach(d=>{const p=c[d]=e.computeStyle(u,d,i);(!p||0==p.length)&&(u[nr]=ax,s.push(u))}),t.set(u,c)});let a=0;return n.forEach(l=>Vv(l,o[a++])),s}function $v(t,e){const n=new Map;if(t.forEach(a=>n.set(a,[])),0==e.length)return n;const i=new Set(e),o=new Map;function s(a){if(!a)return 1;let l=o.get(a);if(l)return l;const u=a.parentNode;return l=n.has(u)?u:i.has(u)?1:s(u),o.set(a,l),l}return e.forEach(a=>{const l=s(a);1!==l&&n.get(l).push(a)}),n}function rr(t,e){var n;null===(n=t.classList)||void 0===n||n.add(e)}function xo(t,e){var n;null===(n=t.classList)||void 0===n||n.remove(e)}function hx(t,e,n){ri(n).onDone(()=>t.processLeaveNode(e))}function Uv(t,e){for(let n=0;n<t.length;n++){const r=t[n];r instanceof hv?Uv(r.players,e):e.push(r)}}function zv(t,e,n){const r=n.get(t);if(!r)return!1;let i=e.get(t);return i?r.forEach(o=>i.add(o)):e.set(t,r),n.delete(t),!0}class yl{constructor(e,n,r){this.bodyNode=e,this._driver=n,this._normalizer=r,this._triggerCache={},this.onRemovalComplete=(i,o)=>{},this._transitionEngine=new ux(e,n,r),this._timelineEngine=new tx(e,n,r),this._transitionEngine.onRemovalComplete=(i,o)=>this.onRemovalComplete(i,o)}registerTrigger(e,n,r,i,o){const s=e+"-"+i;let a=this._triggerCache[s];if(!a){const l=[],c=Pd(this._driver,o,l,[]);if(l.length)throw function n1(t,e){return new z(3404,Je)}();a=function Z1(t,e,n){return new X1(t,e,n)}(i,c,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(n,i,a)}register(e,n){this._transitionEngine.register(e,n)}destroy(e,n){this._transitionEngine.destroy(e,n)}onInsert(e,n,r,i){this._transitionEngine.insertNode(e,n,r,i)}onRemove(e,n,r,i){this._transitionEngine.removeNode(e,n,i||!1,r)}disableAnimations(e,n){this._transitionEngine.markElementAsDisabled(e,n)}process(e,n,r,i){if("@"==r.charAt(0)){const[o,s]=mv(r);this._timelineEngine.command(o,n,s,i)}else this._transitionEngine.trigger(e,n,r,i)}listen(e,n,r,i,o){if("@"==r.charAt(0)){const[s,a]=mv(r);return this._timelineEngine.listen(s,n,a,o)}return this._transitionEngine.listen(e,n,r,i,o)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let yx=(()=>{class t{constructor(n,r,i){this._element=n,this._startStyles=r,this._endStyles=i,this._state=0;let o=t.initialStylesByElement.get(n);o||t.initialStylesByElement.set(n,o={}),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Mr(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Mr(this._element,this._initialStyles),this._endStyles&&(Mr(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Mi(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Mi(this._element,this._endStyles),this._endStyles=null),Mr(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function Ud(t){let e=null;const n=Object.keys(t);for(let r=0;r<n.length;r++){const i=n[r];vx(i)&&(e=e||{},e[i]=t[i])}return e}function vx(t){return"display"===t||"position"===t}class qv{constructor(e,n,r,i){this.element=e,this.keyframes=n,this.options=r,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(e,n,r){return e.animate(n,r)}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e={};if(this.hasStarted()){const n=this._finalKeyframe;Object.keys(n).forEach(r=>{"offset"!=r&&(e[r]=this._finished?n[r]:xv(this.element,r))})}this.currentSnapshot=e}triggerCallback(e){const n="start"==e?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}}class bx{validateStyleProperty(e){return wv(e)}matchesElement(e,n){return!1}containsElement(e,n){return Dv(e,n)}getParentElement(e){return Sd(e)}query(e,n,r){return _v(e,n,r)}computeStyle(e,n,r){return window.getComputedStyle(e)[n]}animate(e,n,r,i,o,s=[]){const l={duration:r,delay:i,fill:0==i?"both":"forwards"};o&&(l.easing=o);const u={},c=s.filter(p=>p instanceof qv);(function E1(t,e){return 0===t||0===e})(r,i)&&c.forEach(p=>{let m=p.currentSnapshot;Object.keys(m).forEach(v=>u[v]=m[v])}),n=function C1(t,e,n){const r=Object.keys(n);if(r.length&&e.length){let o=e[0],s=[];if(r.forEach(a=>{o.hasOwnProperty(a)||s.push(a),o[a]=n[a]}),s.length)for(var i=1;i<e.length;i++){let a=e[i];s.forEach(function(l){a[l]=xv(t,l)})}}return e}(e,n=n.map(p=>ii(p,!1)),u);const d=function mx(t,e){let n=null,r=null;return Array.isArray(e)&&e.length?(n=Ud(e[0]),e.length>1&&(r=Ud(e[e.length-1]))):e&&(n=Ud(e)),n||r?new yx(t,n,r):null}(e,n);return new qv(e,n,l,d)}}let wx=(()=>{class t extends uv{constructor(n,r){super(),this._nextAnimationId=0,this._renderer=n.createRenderer(r.body,{id:"0",encapsulation:fn.None,styles:[],data:{animation:[]}})}build(n){const r=this._nextAnimationId.toString();this._nextAnimationId++;const i=Array.isArray(n)?cv(n):n;return Gv(this._renderer,null,r,"register",[i]),new Dx(r,this._renderer)}}return t.\u0275fac=function(n){return new(n||t)(Xe(gs),Xe(Xn))},t.\u0275prov=J({token:t,factory:t.\u0275fac}),t})();class Dx extends class OA{}{constructor(e,n){super(),this._id=e,this._renderer=n}create(e,n){return new _x(this._id,e,n||{},this._renderer)}}class _x{constructor(e,n,r,i){this.id=e,this.element=n,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",r)}_listen(e,n){return this._renderer.listen(this.element,`@@${this.id}:${e}`,n)}_command(e,...n){return Gv(this._renderer,this.element,this.id,e,n)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(e){this._command("setPosition",e)}getPosition(){var e,n;return null!==(n=null===(e=this._renderer.engine.players[+this.id])||void 0===e?void 0:e.getPosition())&&void 0!==n?n:0}}function Gv(t,e,n,r,i){return t.setProperty(e,`@@${n}:${r}`,i)}const Wv="@.disabled";let Ex=(()=>{class t{constructor(n,r,i){this.delegate=n,this.engine=r,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),r.onRemovalComplete=(o,s)=>{const a=null==s?void 0:s.parentNode(o);a&&s.removeChild(a,o)}}createRenderer(n,r){const o=this.delegate.createRenderer(n,r);if(!(n&&r&&r.data&&r.data.animation)){let c=this._rendererCache.get(o);return c||(c=new Qv("",o,this.engine),this._rendererCache.set(o,c)),c}const s=r.id,a=r.id+"-"+this._currentId;this._currentId++,this.engine.register(a,n);const l=c=>{Array.isArray(c)?c.forEach(l):this.engine.registerTrigger(s,a,n,c.name,c)};return r.data.animation.forEach(l),new Cx(this,a,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(n,r,i){n>=0&&n<this._microtaskId?this._zone.run(()=>r(i)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(o=>{const[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([r,i]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\u0275fac=function(n){return new(n||t)(Xe(gs),Xe(yl),Xe(an))},t.\u0275prov=J({token:t,factory:t.\u0275fac}),t})();class Qv{constructor(e,n,r){this.namespaceId=e,this.delegate=n,this.engine=r,this.destroyNode=this.delegate.destroyNode?i=>n.destroyNode(i):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(e,n){return this.delegate.createElement(e,n)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,n){this.delegate.appendChild(e,n),this.engine.onInsert(this.namespaceId,n,e,!1)}insertBefore(e,n,r,i=!0){this.delegate.insertBefore(e,n,r),this.engine.onInsert(this.namespaceId,n,e,i)}removeChild(e,n,r){this.engine.onRemove(this.namespaceId,n,this.delegate,r)}selectRootElement(e,n){return this.delegate.selectRootElement(e,n)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,n,r,i){this.delegate.setAttribute(e,n,r,i)}removeAttribute(e,n,r){this.delegate.removeAttribute(e,n,r)}addClass(e,n){this.delegate.addClass(e,n)}removeClass(e,n){this.delegate.removeClass(e,n)}setStyle(e,n,r,i){this.delegate.setStyle(e,n,r,i)}removeStyle(e,n,r){this.delegate.removeStyle(e,n,r)}setProperty(e,n,r){"@"==n.charAt(0)&&n==Wv?this.disableAnimations(e,!!r):this.delegate.setProperty(e,n,r)}setValue(e,n){this.delegate.setValue(e,n)}listen(e,n,r){return this.delegate.listen(e,n,r)}disableAnimations(e,n){this.engine.disableAnimations(e,n)}}class Cx extends Qv{constructor(e,n,r,i){super(n,r,i),this.factory=e,this.namespaceId=n}setProperty(e,n,r){"@"==n.charAt(0)?"."==n.charAt(1)&&n==Wv?this.disableAnimations(e,r=void 0===r||!!r):this.engine.process(this.namespaceId,e,n.substr(1),r):this.delegate.setProperty(e,n,r)}listen(e,n,r){if("@"==n.charAt(0)){const i=function Sx(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(e);let o=n.substr(1),s="";return"@"!=o.charAt(0)&&([o,s]=function Ix(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(o)),this.engine.listen(this.namespaceId,i,o,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,r,a)})}return this.delegate.listen(e,n,r)}}let Tx=(()=>{class t extends yl{constructor(n,r,i){super(n.body,r,i)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(n){return new(n||t)(Xe(Xn),Xe(Id),Xe(Ld))},t.\u0275prov=J({token:t,factory:t.\u0275fac}),t})();const Kv=new it("AnimationModuleType"),Yv=[{provide:uv,useClass:wx},{provide:Ld,useFactory:function Mx(){return new G1}},{provide:yl,useClass:Tx},{provide:gs,useFactory:function Ax(t,e,n){return new Ex(t,e,n)},deps:[Za,yl,an]}],Zv=[{provide:Id,useFactory:()=>new bx},{provide:Kv,useValue:"BrowserAnimations"},...Yv],xx=[{provide:Id,useClass:Ev},{provide:Kv,useValue:"NoopAnimations"},...Yv];let Nx=(()=>{class t{static withConfig(n){return{ngModule:t,providers:n.disableAnimations?xx:Zv}}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=ji({type:t}),t.\u0275inj=Dt({providers:Zv,imports:[iv]}),t})();var Px=Gd(522);const Fx=["wrapper"];let Ox=(()=>{class t{constructor(){}ngOnChanges(){var n;null===(n=this.changeChartOptions)||void 0===n||n.call(this,this.options)}ngAfterViewInit(){this.changeChartOptions=(0,Px.generateContainerChart)(this.wrapper.nativeElement,this.options)}get options(){const n={data:this.data||[]};return this.orientation&&(n.orientation=this.orientation),this.padding&&(n.padding=this.padding),this.reversed&&(n.reversed=this.reversed),this.verticalTextTopDown&&(n.verticalTextTopDown=this.verticalTextTopDown),this.onClick&&(n.select=this.onClick),n}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=_l({type:t,selectors:[["drayman-claviz-charts-internal"]],viewQuery:function(n,r){if(1&n&&Lm(Fx,5),2&n){let i;km(i=function Bm(){return function wS(t,e){return t[19].queries[e].queryList}(A(),df())}())&&(r.wrapper=i.first)}},inputs:{padding:"padding",data:"data",reversed:"reversed",orientation:"orientation",verticalTextTopDown:"verticalTextTopDown",onClick:"onClick"},features:[jo],decls:2,vars:0,consts:[[2,"height","100%","width","100%"],["wrapper",""]],template:function(n,r){1&n&&ac(0,"div",0,1)},styles:[""]}),t})(),Rx=(()=>{class t{constructor(n){this.injector=n}ngDoBootstrap(){const n=function FA(t,e){const n=function IA(t,e){return e.get(Eo).resolveComponentFactory(t).inputs}(t,e.injector),r=e.strategyFactory||new xA(t,e.injector),i=function SA(t){const e={};return t.forEach(({propName:n,templateName:r})=>{e[function wA(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}(r)]=n}),e}(n);class o extends PA{constructor(a){super(),this.injector=a}get ngElementStrategy(){if(!this._ngElementStrategy){const a=this._ngElementStrategy=r.create(this.injector||e.injector);n.forEach(({propName:l})=>{if(!this.hasOwnProperty(l))return;const u=this[l];delete this[l],a.setInputValue(l,u)})}return this._ngElementStrategy}attributeChangedCallback(a,l,u,c){this.ngElementStrategy.setInputValue(i[a],u)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{const l=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(l)})}}return o.observedAttributes=Object.keys(i),n.forEach(({propName:s})=>{Object.defineProperty(o.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(a){this.ngElementStrategy.setInputValue(s,a)},configurable:!0,enumerable:!0})}),o}(Ox,{injector:this.injector});customElements.define("drayman-claviz-charts",n)}}return t.\u0275fac=function(n){return new(n||t)(Xe(Yn))},t.\u0275mod=ji({type:t}),t.\u0275inj=Dt({imports:[[iv,Nx]]}),t})();(function aI(){my=!1})(),qM().bootstrapModule(Rx).catch(t=>console.error(t))})()})();