Results
19.02.2020
jquery_ui 8.x-1.4 ::
assets/vendor/jquery.ui/ui/widgets/dialog-min.js
* http://jquery.org/license
*/
!function(i){"use strict";"function"==typeof define&&define.amd?define(["jquery","./button","./draggable","./mouse","./resizable","../focusable","../keycode","../position","../safe-active-element","../safe-blur","../tabbable","../unique-id","../version","../widget"],i):i(jQuery)}((function(i){"use strict";return i.widget("ui.dialog",{version:"1.13.2",options:{appendTo:"body",autoOpen:!0,buttons:[],classes:{"ui-dialog":"ui-corner-all","ui-dialog-titlebar":"ui-corner-all"},closeOnEscape:!0,closeText:"Close",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(t){var e=i(this).css(t).offset().top;e<0&&i(this).css("top",t.top-e)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},sizeRelatedOptions:{buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},resizableRelatedOptions:{maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr("title"),null==this.options.title&&null!=this.originalTitle&&(this.options.title=this.originalTitle),this.options.disabled&&(this.options.disabled=!1),this._createWrapper(),this.element.show().removeAttr("title").appendTo(this.uiDialog),this._addClass("ui-dialog-content","ui-widget-content"),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&i.fn.draggable&&this._makeDraggable(),this.options.resizable&&i.fn.resizable&&this._makeResizable(),this._isOpen=!1,this._trackFocus()},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var t=this.options.appendTo;return t&&(t.jquery||t.nodeType)?i(t):this.document.find(t||"body").eq(0)},_destroy:function(){var i,t=this.originalPosition;this._untrackInstance(),this._destroyOverlay(),this.element.removeUniqueId().css(this.originalCss).detach(),this.uiDialog.remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),(i=t.parent.children().eq(t.index)).length&&i[0]!==this.element[0]?i.before(this.element):t.parent.append(this.element)},widget:function(){return this.uiDialog},disable:i.noop,enable:i.noop,close:function(t){var e=this;this._isOpen&&!1!==this._trigger("beforeClose",t)&&(this._isOpen=!1,this._focusedElement=null,this._destroyOverlay(),this._untrackInstance(),this.opener.filter(":focusable").trigger("focus").length||i.ui.safeBlur(i.ui.safeActiveElement(this.document[0])),this._hide(this.uiDialog,this.options.hide,(function(){e._trigger("close",t)})))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(t,e){var o=!1,s=this.uiDialog.siblings(".ui-front:visible").map((function(){return+i(this).css("z-index")})).get(),n=Math.max.apply(null,s);return n>=+this.uiDialog.css("z-index")&&(this.uiDialog.css("z-index",n+1),o=!0),o&&!e&&this._trigger("focus",t),o},open:function(){var t=this;this._isOpen?this._moveToTop()&&this._focusTabbable():(this._isOpen=!0,this.opener=i(i.ui.safeActiveElement(this.document[0])),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this.overlay&&this.overlay.css("z-index",this.uiDialog.css("z-index")-1),this._show(this.uiDialog,this.options.show,(function(){t._focusTabbable(),t._trigger("focus")})),this._makeFocusTarget(),this._trigger("open"))},_focusTabbable:function(){var i=this._focusedElement;i||(i=this.element.find("[autofocus]")),i.length||(i=this.element.find(":tabbable")),i.length||(i=this.uiDialogButtonPane.find(":tabbable")),i.length||(i=this.uiDialogTitlebarClose.filter(":tabbable")),i.length||(i=this.uiDialog),i.eq(0).trigger("focus")},_restoreTabbableFocus:function(){var t=i.ui.safeActiveElement(this.document[0]);this.uiDialog[0]===t||i.contains(this.uiDialog[0],t)||this._focusTabbable()},_keepFocus:function(i){i.preventDefault(),this._restoreTabbableFocus(),this._delay(this._restoreTabbableFocus)},_createWrapper:function(){this.uiDialog=i("<div>").hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo()),this._addClass(this.uiDialog,"ui-dialog","ui-widget ui-widget-content ui-front"),this._on(this.uiDialog,{keydown:function(t){if(this.options.closeOnEscape&&!t.isDefaultPrevented()&&t.keyCode&&t.keyCode===i.ui.keyCode.ESCAPE)return t.preventDefault(),void this.close(t);if(t.keyCode===i.ui.keyCode.TAB&&!t.isDefaultPrevented()){var e=this.uiDialog.find(":tabbable"),o=e.first(),s=e.last();t.target!==s[0]&&t.target!==this.uiDialog[0]||t.shiftKey?t.target!==o[0]&&t.target!==this.uiDialog[0]||!t.shiftKey||(this._delay((function(){s.trigger("focus")})),t.preventDefault()):(this._delay((function(){o.trigger("focus")})),t.preventDefault())}},mousedown:function(i){this._moveToTop(i)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var t;this.uiDialogTitlebar=i("<div>"),this._addClass(this.uiDialogTitlebar,"ui-dialog-titlebar","ui-widget-header ui-helper-clearfix"),this._on(this.uiDialogTitlebar,{mousedown:function(t){i(t.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.trigger("focus")}}),this.uiDialogTitlebarClose=i("<button type='button'></button>").button({label:i("<a>").text(this.options.closeText).html(),icon:"ui-icon-closethick",showLabel:!1}).appendTo(this.uiDialogTitlebar),this._addClass(this.uiDialogTitlebarClose,"ui-dialog-titlebar-close"),this._on(this.uiDialogTitlebarClose,{click:function(i){i.preventDefault(),this.close(i)}}),t=i("<span>").uniqueId().prependTo(this.uiDialogTitlebar),this._addClass(t,"ui-dialog-title"),this._title(t),this.uiDialogTitlebar.prependTo(this.uiDialog),this.uiDialog.attr({"aria-labelledby":t.attr("id")})},_title:function(i){this.options.title?i.text(this.options.title):i.html(" ")},_createButtonPane:function(){this.uiDialogButtonPane=i("<div>"),this._addClass(this.uiDialogButtonPane,"ui-dialog-buttonpane","ui-widget-content ui-helper-clearfix"),this.uiButtonSet=i("<div>").appendTo(this.uiDialogButtonPane),this._addClass(this.uiButtonSet,"ui-dialog-buttonset"),this._createButtons()},_createButtons:function(){var t=this,e=this.options.buttons;this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),i.isEmptyObject(e)||Array.isArray(e)&&!e.length?this._removeClass(this.uiDialog,"ui-dialog-buttons"):(i.each(e,(function(e,o){var s,n;o="function"==typeof o?{click:o,text:e}:o,o=i.extend({type:"button"},o),s=o.click,n={icon:o.icon,iconPosition:o.iconPosition,showLabel:o.showLabel,icons:o.icons,text:o.text},delete o.click,delete o.icon,delete o.iconPosition,delete o.showLabel,delete o.icons,"boolean"==typeof o.text&&delete o.text,i("<button></button>",o).button(n).appendTo(t.uiButtonSet).on("click",(function(){s.apply(t.element[0],arguments)}))})),this._addClass(this.uiDialog,"ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog))},_makeDraggable:function(){var t=this,e=this.options;function o(i){return{position:i.position,offset:i.offset}}this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(e,s){t._addClass(i(this),"ui-dialog-dragging"),t._blockFrames(),t._trigger("dragStart",e,o(s))},drag:function(i,e){t._trigger("drag",i,o(e))},stop:function(s,n){var a=n.offset.left-t.document.scrollLeft(),l=n.offset.top-t.document.scrollTop();e.position={my:"left top",at:"left"+(a>=0?"+":"")+a+" top"+(l>=0?"+":"")+l,of:t.window},t._removeClass(i(this),"ui-dialog-dragging"),t._unblockFrames(),t._trigger("dragStop",s,o(n))}})},_makeResizable:function(){var t=this,e=this.options,o=e.resizable,s=this.uiDialog.css("position"),n="string"==typeof o?o:"n,e,s,w,se,sw,ne,nw";function a(i){return{originalPosition:i.originalPosition,originalSize:i.originalSize,position:i.position,size:i.size}}this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:e.maxWidth,maxHeight:e.maxHeight,minWidth:e.minWidth,minHeight:this._minHeight(),handles:n,start:function(e,o){t._addClass(i(this),"ui-dialog-resizing"),t._blockFrames(),t._trigger("resizeStart",e,a(o))},resize:function(i,e){t._trigger("resize",i,a(e))},stop:function(o,s){var n=t.uiDialog.offset(),l=n.left-t.document.scrollLeft(),h=n.top-t.document.scrollTop();e.height=t.uiDialog.height(),e.width=t.uiDialog.width(),e.position={my:"left top",at:"left"+(l>=0?"+":"")+l+" top"+(h>=0?"+":"")+h,of:t.window},t._removeClass(i(this),"ui-dialog-resizing"),t._unblockFrames(),t._trigger("resizeStop",o,a(s))}}).css("position",s)},_trackFocus:function(){this._on(this.widget(),{focusin:function(t){this._makeFocusTarget(),this._focusedElement=i(t.target)}})},_makeFocusTarget:function(){this._untrackInstance(),this._trackingInstances().unshift(this)},_untrackInstance:function(){var t=this._trackingInstances(),e=i.inArray(this,t);-1!==e&&t.splice(e,1)},_trackingInstances:function(){var i=this.document.data("ui-dialog-instances");return i||(i=[],this.document.data("ui-dialog-instances",i)),i},_minHeight:function(){var i=this.options;return"auto"===i.height?i.minHeight:Math.min(i.minHeight,i.height)},_position:function(){var i=this.uiDialog.is(":visible");i||this.uiDialog.show(),this.uiDialog.position(this.options.position),i||this.uiDialog.hide()},_setOptions:function(t){var e=this,o=!1,s={};i.each(t,(function(i,t){e._setOption(i,t),i in e.sizeRelatedOptions&&(o=!0),i in e.resizableRelatedOptions&&(s[i]=t)})),o&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",s)},_setOption:function(t,e){var o,s,n=this.uiDialog;"disabled"!==t&&(this._super(t,e),"appendTo"===t&&this.uiDialog.appendTo(this._appendTo()),"buttons"===t&&this._createButtons(),"closeText"===t&&this.uiDialogTitlebarClose.button({label:i("<a>").text(""+this.options.closeText).html()}),"draggable"===t&&((o=n.is(":data(ui-draggable)"))&&!e&&n.draggable("destroy"),!o&&e&&this._makeDraggable()),"position"===t&&this._position(),"resizable"===t&&((s=n.is(":data(ui-resizable)"))&&!e&&n.resizable("destroy"),s&&"string"==typeof e&&n.resizable("option","handles",e),s||!1===e||this._makeResizable()),"title"===t&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))},_size:function(){var i,t,e,o=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),o.minWidth>o.width&&(o.width=o.minWidth),i=this.uiDialog.css({height:"auto",width:o.width}).outerHeight(),t=Math.max(0,o.minHeight-i),e="number"==typeof o.maxHeight?Math.max(0,o.maxHeight-i):"none","auto"===o.height?this.element.css({minHeight:t,maxHeight:e,height:"auto"}):this.element.height(Math.max(0,o.height-i)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map((function(){var t=i(this);return i("<div>").css({position:"absolute",width:t.outerWidth(),height:t.outerHeight()}).appendTo(t.parent()).offset(t.offset())[0]}))},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(t){return!!i(t.target).closest(".ui-dialog").length||!!i(t.target).closest(".ui-datepicker").length},_createOverlay:function(){if(this.options.modal){var t=i.fn.jquery.substring(0,4),e=!0;this._delay((function(){e=!1})),this.document.data("ui-dialog-overlays")||this.document.on("focusin.ui-dialog",function(i){if(!e){var o=this._trackingInstances()[0];o._allowInteraction(i)||(i.preventDefault(),o._focusTabbable(),"3.4."!==t&&"3.5."!==t||o._delay(o._restoreTabbableFocus))}}.bind(this)),this.overlay=i("<div>").appendTo(this._appendTo()),this._addClass(this.overlay,null,"ui-widget-overlay ui-front"),this._on(this.overlay,{mousedown:"_keepFocus"}),this.document.data("ui-dialog-overlays",(this.document.data("ui-dialog-overlays")||0)+1)}},_destroyOverlay:function(){if(this.options.modal&&this.overlay){var i=this.document.data("ui-dialog-overlays")-1;i?this.document.data("ui-dialog-overlays",i):(this.document.off("focusin.ui-dialog"),this.document.removeData("ui-dialog-overlays")),this.overlay.remove(),this.overlay=null}}}),!1!==i.uiBackCompat&&i.widget("ui.dialog",i.ui.dialog,{options:{dialogClass:""},_createWrapper:function(){this._super(),this.uiDialog.addClass(this.options.dialogClass)},_setOption:function(i,t){"dialogClass"===i&&this.uiDialog.removeClass(this.options.dialogClass).addClass(t),this._superApply(arguments)}}),i.ui.dialog}));
//# sourceMappingURL=dialog-min.js.map 19.02.2020
jquery_ui 8.x-1.4 ::
assets/vendor/jquery.ui/ui/tabbable.js
/*! * jQuery UI Tabbable 1.13.2 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */
*/
//>>label: :tabbable Selector
//>>group: Core
//>>description: Selects elements which can be tabbed to.
//>>docs: http://api.jqueryui.com/tabbable-selector/
( function( factory ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
return $.extend( $.expr.pseudos, {
tabbable: function( element ) {
var tabIndex = $.attr( element, "tabindex" ),
hasTabindex = tabIndex != null;
return ( !hasTabindex || tabIndex >= 0 ) && $.ui.focusable( element, hasTabindex );
}
} ); 19.02.2020
jquery_ui 8.x-1.4 ::
assets/vendor/jquery.ui/ui/core.js
"./safe-blur", "./scroll-parent", "./tabbable", "./unique-id", "./version" ] ); } )();
19.02.2020
jquery_ui 8.x-1.4 ::
assets/vendor/jquery.ui/ui/tabbable-min.js
/*! * jQuery UI Tabbable 1.13.2 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */
* http://jquery.org/license
*/
!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","./version","./focusable"],e):e(jQuery)}((function(e){"use strict";return e.extend(e.expr.pseudos,{tabbable:function(n){var t=e.attr(n,"tabindex"),u=null!=t;return(!u||t>=0)&&e.ui.focusable(n,u)}})}));
//# sourceMappingURL=tabbable-min.js.map 19.02.2020
jquery_ui 8.x-1.4 ::
assets/vendor/jquery.ui/ui/core-min.js
!function(){"use strict";define(["jquery","./data","./disable-selection","./focusable","./form","./ie","./keycode","./labels","./jquery-patch.js","./plugin","./safe-active-element","./safe-blur","./scroll-parent","./tabbable","./unique-id","./version"])}();
//# sourceMappingURL=core-min.js.map 04.09.2021
language_negotiation_matrix 1.0.0-beta2 ::
js/element.codemirror.js
cm.replaceSelection(spaces, 'end', '+element');
},
// On 'Escape' move to the next tabbable input.
// @see http://bgrins.github.io/codemirror-accessible/
Esc: function (cm) {
// Must show and then textarea so that we can determine
// its tabindex.
var textarea = $(cm.getTextArea());
$(textarea).show().addClass('visually-hidden');
var textarea = $(cm.getTextArea());
$(textarea).show().addClass('visually-hidden');
var $tabbable = $(':tabbable');
var tabindex = $tabbable.index(textarea);
$(textarea).hide().removeClass('visually-hidden');
// Tabindex + 2 accounts for the CodeMirror's iframe.
$tabbable.eq(tabindex + 2).trigger('focus');
}
}
}, Drupal.language_negotiation_matrix.codeMirror.options);
var editor = CodeMirror.fromTextArea(this, options); 13.04.2022
lb_plus 1.0.x-dev ::
js/tools/layout/behaviors/block-preview.js
$blocks
.find(
'button, [href], input, select, textarea, iframe, [tabindex]:not([tabindex="-1"]):not(.tabbable)',
)
.not(
(index, element) =>
$(element).closest('[data-contextual-id]').length > 0,
)
.attr('tabindex', -1); 29.07.2020
media_directories 2.x-dev ::
modules/media_directories_ui/src/Form/MediaCombinedUploadForm.php
if (end($triggering_element['#parents']) === 'remove_button') {
// When the list of added media is empty, return to the media library and
// shift focus back to the first tabbable element (which should be the
// source field).
if (empty($added_media)) {
$build = [
'#theme' => 'media_directories_add',
'#selected_type' => 'combined_upload',
'#active_directory' => -1, 29.07.2020
media_directories 2.x-dev ::
modules/media_directories_ui/src/Form/AddMediaFormBase.php
if (end($triggering_element['#parents']) === 'remove_button') {
// When the list of added media is empty, return to the media library and
// shift focus back to the first tabbable element (which should be the
// source field).
if (empty($added_media)) {
$build = [
'#theme' => 'media_directories_add',
'#selected_type' => $media_type->id(),
'#active_directory' => $this->getDirectory($form_state),
$form_state->setRebuild();
$response->addCommand(new ReplaceCommand('#media-library-add-form-wrapper', $build));
// $response->addCommand(new InvokeCommand('#media-library-add-form-wrapper :tabbable', 'focus'));
}
// When there are still more items, update the form and shift the focus to
// the next media item. If the last list item is removed, shift focus to
// the previous item.
else {
$response->addCommand(new ReplaceCommand("#$wrapper_id", $form)); 09.04.2022
media_external 1.0.0-alpha1 ::
js/media_library.ui.js
(function ($, Drupal, window, _ref) {
var tabbable = _ref.tabbable;
/**
* When a user interacts with the media library we want the selection to
* persist as long as the media library modal is opened. We temporarily
* store the selected items while the user filters the media library view or
* navigates to different tabs.
});
// Set focus to the first tabbable element in the results.
var mediaLibraryContent = document.getElementById('media-library-results');
if (mediaLibraryContent) {
var tabbableContent = tabbable(mediaLibraryContent);
if (tabbableContent.length) {
tabbableContent[0].focus();
}
}
// Remove any response-specific settings so they don't get used on
// the next call by mistake.
this.settings = null;
}; })(jQuery, Drupal, window, window.tabbable);
09.04.2022
media_external 1.0.0-alpha1 ::
media_external.libraries.yml
- core/jquery
- core/once
- core/tabbable
- media_library/ui 10.03.2020
media_library_extend 8.x-1.x-dev ::
js/media_library_extend.ui.js
});
$('#media-library-content :tabbable:first').focus();
this.settings = null;
};
ajaxObject.execute();
});
} 19.06.2020
media_library_form_element 2.0.0 ::
src/Element/MediaLibrary.php
'js-media-library-open-button',
],
// The jQuery UI dialog automatically moves focus to the first :tabbable
// element of the modal, so we need to disable refocus on the button.
'data-disable-refocus' => 'true',
],
'#media_library_state' => $state,
'#ajax' => [
'callback' => [static::class, 'openMediaLibrary'], 25.11.2021
media_library_media_modify 1.0.x-dev ::
src/Plugin/views/field/MediaLibraryMediaModifyEditLink.php
'query' => $query,
],
// The AJAX system automatically moves focus to the first tabbable
// element of the modal, so we need to disable refocus on the button.
'disable-refocus' => TRUE,
'callback' => [static::class, 'showEditForm'],
'wrapper' => 'media-library-wrapper',
'progress' => [
'type' => 'throbber', 31.03.2025
megamenu_sdc 1.0.x-dev ::
components/menu_hamburger/menu_hamburger.js
(function(Drupal, once, tabbable) {
// Ensure Drupal.megamenu_sdc exists as an object with required methods
Drupal.megamenu_sdc = Drupal.megamenu_sdc || {
areAnySubNavsOpen: function() {
return false;
},
props.header.addEventListener('keydown', (e) => {
if (e.key === 'Tab' && isNavOpen(props.navWrapper)) {
const tabbableNavElements = tabbable.tabbable(props.navWrapper);
tabbableNavElements.unshift(props.navButton);
const firstTabbableEl = tabbableNavElements[0];
const lastTabbableEl =
tabbableNavElements[tabbableNavElements.length - 1];
if (e.shiftKey) {
if (
document.activeElement === firstTabbableEl &&
!props.megamenu_sdc.isDesktopNav()
) {
lastTabbableEl.focus();
e.preventDefault();
}
} else if (
document.activeElement === lastTabbableEl &&
!props.megamenu_sdc.isDesktopNav()
) {
firstTabbableEl.focus();
e.preventDefault();
}
}
});
// Remove overlays when browser is resized and desktop nav appears.
}; })(Drupal, once, tabbable);
18.08.2020
opigno_dashboard 8.x-1.8 ::
ng/dist/main.bundle.js
webpackJsonp([1],{"/Lkn":function(e,t,n){"use strict";var r=n("pICe");t.dragula=r.dragula;var o=n("Kg3V");t.DragulaDirective=o.DragulaDirective;var i=n("sY2v");t.DragulaService=i.DragulaService;var s=n("NijM");t.DragulaModule=s.DragulaModule},0:function(e,t,n){e.exports=n("cDNt")},"1j/l":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=Array.isArray||function(e){return e&&"number"==typeof e.length}},"2kLc":function(e,t,n){"use strict";t.a=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];var n=Number.POSITIVE_INFINITY,a=null,u=e[e.length-1];return Object(i.a)(u)?(a=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(n=e.pop())):"number"==typeof u&&(n=e.pop()),null===a&&1===e.length&&e[0]instanceof r.a?e[0]:Object(s.a)(n)(new o.a(e,a))};var r=n("AP4T"),o=n("Oryw"),i=n("3iOE"),s=n("bywS")},"3iOE":function(e,t,n){"use strict";t.a=function(e){return e&&"function"==typeof e.schedule}},"6Xbx":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__extends=function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},n.d(t,"__assign",function(){return o}),t.__rest=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},t.__decorate=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},t.__param=function(e,t){return function(n,r){t(n,r,e)}},t.__metadata=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},t.__awaiter=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){e.done?o(e.value):new n(function(t){t(e.value)}).then(s,a)}u((r=r.apply(e,t||[])).next())})},t.__generator=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(o=r[2&i[0]?"return":i[0]?"throw":"next"])&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[0,o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){s.label=i[1];break}if(6===i[0]&&s.label<o[1]){s.label=o[1],o=i;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(i);break}o[2]&&s.ops.pop(),s.trys.pop();continue}i=t.call(e,s)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}},t.__exportStar=function(e,t){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])},t.__values=i,t.__read=s,t.__spread=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(s(arguments[t]));return e},t.__await=a,t.__asyncGenerator=function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(e){o[e]&&(r[e]=function(t){return new Promise(function(n,r){i.push([e,t,n,r])>1||u(e,t)})})}function u(e,t){try{(n=o[e](t)).value instanceof a?Promise.resolve(n.value.v).then(l,c):d(i[0][2],n)}catch(e){d(i[0][3],e)}var n}function l(e){u("next",e)}function c(e){u("throw",e)}function d(e,t){e(t),i.shift(),i.length&&u(i[0][0],i[0][1])}},t.__asyncDelegator=function(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){e[r]&&(t[r]=function(t){return(n=!n)?{value:a(e[r](t)),done:"return"===r}:o?o(t):t})}},t.__asyncValues=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator];return t?t.call(e):i(e)},t.__makeTemplateObject=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},t.__importStar=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},t.__importDefault=function(e){return e&&e.__esModule?e:{default:e}};var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};function i(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function s(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s}function a(e){return this instanceof a?(this.v=e,this):new a(e)}},"7MSi":function(e,t,n){(function(t){var n=t.CustomEvent;e.exports=function(){try{var e=new n("cat",{detail:{foo:"bar"}});return"cat"===e.type&&"bar"===e.detail.foo}catch(e){}return!1}()?n:"function"==typeof document.createEvent?function(e,t){var n=document.createEvent("CustomEvent");return t?n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail):n.initCustomEvent(e,!1,!1,void 0),n}:function(e,t){var n=document.createEventObject();return n.type=e,t?(n.bubbles=Boolean(t.bubbles),n.cancelable=Boolean(t.cancelable),n.detail=t.detail):(n.bubbles=!1,n.cancelable=!1,n.detail=void 0),n}}).call(t,n("GTd5"))},"8Ut3":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("6Xbx"),o=function(e){function t(t,n){e.call(this),this.value=t,this.scheduler=n,this._isScalar=!0,n&&(this._isScalar=!1)}return Object(r.__extends)(t,e),t.create=function(e,n){return new t(e,n)},t.dispatch=function(e){var t=e.value,n=e.subscriber;e.done?n.complete():(n.next(t),n.closed||(e.done=!0,this.schedule(e)))},t.prototype._subscribe=function(e){var n=this.value,r=this.scheduler;if(r)return r.schedule(t.dispatch,0,{done:!1,value:n,subscriber:e});e.next(n),e.closed||e.complete()},t}(n("AP4T").a)},"8ofh":function(e,t,n){"use strict";t.a=function(e){return r=e,i};var r,o=n("NePw");function i(){try{return r.apply(this,arguments)}catch(e){return o.a.e=e,o.a}}},"8z3O":function(e,t,n){"use strict";var r={},o="(?:^|\\s)",i="(?:\\s|$)";function s(e){var t=r[e];return t?t.lastIndex=0:r[e]=t=new RegExp(o+e+i,"g"),t}e.exports={add:function(e,t){var n=e.className;n.length?s(t).test(n)||(e.className+=" "+t):e.className=t},rm:function(e,t){e.className=e.className.replace(s(t)," ").trim()}}},AP4T:function(e,t,n){"use strict";var r=n("xIGM"),o=n("E9/g"),i=n("V7AE"),s=n("grVA"),a=n("mz3w");n.d(t,"a",function(){return u});var u=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r=this.operator,a=function(e,t,n){if(e){if(e instanceof o.a)return e;if(e[i.a])return e[i.a]()}return e||t||n?new o.a(e,t,n):new o.a(s.a)}(e,t,n);if(r?r.call(a,this.source):a.add(this.source||!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.syncErrorThrown=!0,e.syncErrorValue=t,e.error(t)}},e.prototype.forEach=function(e,t){var n=this;if(t||(r.a.Rx&&r.a.Rx.config&&r.a.Rx.config.Promise?t=r.a.Rx.config.Promise:r.a.Promise&&(t=r.a.Promise)),!t)throw new Error("no Promise impl found");return new t(function(t,r){var o;o=n.subscribe(function(t){if(o)try{e(t)}catch(e){r(e),o.unsubscribe()}else e(t)},r,t)})},e.prototype._subscribe=function(e){return this.source.subscribe(e)},e.prototype[a.a]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return 0===e.length?this:((n=e)?1===n.length?n[0]:function(e){return n.reduce(function(e,t){return t(e)},e)}:function(){})(this);var n},e.prototype.toPromise=function(e){var t=this;if(e||(r.a.Rx&&r.a.Rx.config&&r.a.Rx.config.Promise?e=r.a.Rx.config.Promise:r.a.Promise&&(e=r.a.Promise)),!e)throw new Error("no Promise impl found");return new e(function(e,n){var r;t.subscribe(function(e){return r=e},function(e){return n(e)},function(){return e(r)})})},e.create=function(t){return new e(t)},e}()},B1iP:function(e,t,n){"use strict";t.a=function(e){return"function"==typeof e}},D0JW:function(e,t,n){"use strict";(function(t){var n=[],r="",o=/^on/;for(r in t)o.test(r)&&n.push(r.slice(2));e.exports=n}).call(t,n("GTd5"))},"E9/g":function(e,t,n){"use strict";n.d(t,"a",function(){return u});var r=n("6Xbx"),o=n("B1iP"),i=n("qLnt"),s=n("grVA"),a=n("V7AE"),u=function(e){function t(t,n,r){switch(e.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=s.a;break;case 1:if(!t){this.destination=s.a;break}if("object"==typeof t){if(c(t)){var o=t[a.a]();this.syncErrorThrowable=o.syncErrorThrowable,this.destination=o,o.add(this)}else this.syncErrorThrowable=!0,this.destination=new l(this,t);break}default:this.syncErrorThrowable=!0,this.destination=new l(this,t,n,r)}}return Object(r.__extends)(t,e),t.prototype[a.a]=function(){return this},t.create=function(e,n,r){var o=new t(e,n,r);return o.syncErrorThrowable=!1,o},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parent,t=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=t,this},t}(i.a),l=function(e){function t(t,n,r,i){var a;e.call(this),this._parentSubscriber=t;var u=this;Object(o.a)(n)?a=n:n&&(a=n.next,r=n.error,i=n.complete,n!==s.a&&(u=Object.create(n),Object(o.a)(u.unsubscribe)&&this.add(u.unsubscribe.bind(u)),u.unsubscribe=this.unsubscribe.bind(this))),this._context=u,this._next=a,this._error=r,this._complete=i}return Object(r.__extends)(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber;if(this._error)t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else{if(!t.syncErrorThrowable)throw this.unsubscribe(),e;t.syncErrorValue=e,t.syncErrorThrown=!0,this.unsubscribe()}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(e){throw this.unsubscribe(),e}},t.prototype.__tryOrSetError=function(e,t,n){try{t.call(this._context,n)}catch(t){return e.syncErrorValue=t,e.syncErrorThrown=!0,!0}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(u);function c(e){return e instanceof u||"syncErrorThrowable"in e&&e[a.a]}},"Ecq+":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("6Xbx"),o=function(e){function t(t){e.call(this),this.scheduler=t}return Object(r.__extends)(t,e),t.create=function(e){return new t(e)},t.dispatch=function(e){e.subscriber.complete()},t.prototype._subscribe=function(e){var n=this.scheduler;if(n)return n.schedule(t.dispatch,0,{subscriber:e});e.complete()},t}(n("AP4T").a)},GTd5:function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},Kg3V:function(e,t,n){"use strict";var r=n("6Xbx").__decorate,o=n("6Xbx").__metadata,i=n("LMZF"),s=(n("sY2v"),n("pICe")),a=function(){function e(e,t){this.el=e,this.dragulaService=t,this.container=e.nativeElement}return e.prototype.ngOnInit=function(){var e=this,t=this.dragulaService.find(this.dragula),n=function(){e.dragulaModel&&(e.drake.models?e.drake.models.push(e.dragulaModel):e.drake.models=[e.dragulaModel])};t?(this.drake=t.drake,n(),this.drake.containers.push(this.container)):(this.drake=s.dragula([this.container],Object.assign({},this.dragulaOptions)),n(),this.dragulaService.add(this.dragula,this.drake))},e.prototype.ngOnChanges=function(e){if(e&&e.dragulaModel&&this.drake)if(this.drake.models){var t=this.drake.models.indexOf(e.dragulaModel.previousValue);this.drake.models.splice(t,1,e.dragulaModel.currentValue)}else this.drake.models=[e.dragulaModel.currentValue]},e}();r([i.Input(),o("design:type",String)],a.prototype,"dragula",void 0),r([i.Input(),o("design:type",Object)],a.prototype,"dragulaModel",void 0),r([i.Input(),o("design:type",Object)],a.prototype,"dragulaOptions",void 0),a=r([i.Directive({selector:"[dragula]"})],a),t.DragulaDirective=a},LMZF:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){n.d(t,"createPlatform",function(){return un}),n.d(t,"assertPlatform",function(){return cn}),n.d(t,"destroyPlatform",function(){return dn}),n.d(t,"getPlatform",function(){return pn}),n.d(t,"PlatformRef",function(){return fn}),n.d(t,"ApplicationRef",function(){return vn}),n.d(t,"enableProdMode",function(){return on}),n.d(t,"isDevMode",function(){return sn}),n.d(t,"createPlatformFactory",function(){return ln}),n.d(t,"NgProbeToken",function(){return an}),n.d(t,"APP_ID",function(){return it}),n.d(t,"PACKAGE_ROOT_URL",function(){return pt}),n.d(t,"PLATFORM_INITIALIZER",function(){return lt}),n.d(t,"PLATFORM_ID",function(){return ct}),n.d(t,"APP_BOOTSTRAP_LISTENER",function(){return dt}),n.d(t,"APP_INITIALIZER",function(){return rt}),n.d(t,"ApplicationInitStatus",function(){return ot}),n.d(t,"DebugElement",function(){return Bn}),n.d(t,"DebugNode",function(){return Ln}),n.d(t,"asNativeElements",function(){return Hn}),n.d(t,"getDebugNode",function(){return Zn}),n.d(t,"Testability",function(){return Wt}),n.d(t,"TestabilityRegistry",function(){return Qt}),n.d(t,"setTestabilityGetter",function(){return Jt}),n.d(t,"TRANSLATIONS",function(){return vr}),n.d(t,"TRANSLATIONS_FORMAT",function(){return yr}),n.d(t,"LOCALE_ID",function(){return hr}),n.d(t,"MissingTranslationStrategy",function(){return gr}),n.d(t,"ApplicationModule",function(){return wr}),n.d(t,"wtfCreateScope",function(){return Vt}),n.d(t,"wtfLeave",function(){return Lt}),n.d(t,"wtfStartTimeRange",function(){return Bt}),n.d(t,"wtfEndTimeRange",function(){return Ht}),n.d(t,"Type",function(){return De}),n.d(t,"EventEmitter",function(){return Ut}),n.d(t,"ErrorHandler",function(){return Te}),n.d(t,"Sanitizer",function(){return Er}),n.d(t,"SecurityContext",function(){return Cr}),n.d(t,"ANALYZE_FOR_ENTRY_COMPONENTS",function(){return g}),n.d(t,"Attribute",function(){return m}),n.d(t,"ContentChild",function(){return w}),n.d(t,"ContentChildren",function(){return b}),n.d(t,"Query",function(){return _}),n.d(t,"ViewChild",function(){return E}),n.d(t,"ViewChildren",function(){return C}),n.d(t,"Component",function(){return k}),n.d(t,"Directive",function(){return T}),n.d(t,"HostBinding",function(){return P}),n.d(t,"HostListener",function(){return N}),n.d(t,"Input",function(){return A}),n.d(t,"Output",function(){return R}),n.d(t,"Pipe",function(){return I}),n.d(t,"CUSTOM_ELEMENTS_SCHEMA",function(){return D}),n.d(t,"NO_ERRORS_SCHEMA",function(){return M}),n.d(t,"NgModule",function(){return j}),n.d(t,"ViewEncapsulation",function(){return F}),n.d(t,"Version",function(){return V}),n.d(t,"VERSION",function(){return L}),n.d(t,"forwardRef",function(){return te}),n.d(t,"resolveForwardRef",function(){return ne}),n.d(t,"Injector",function(){return ae}),n.d(t,"ReflectiveInjector",function(){return $e}),n.d(t,"ResolvedReflectiveFactory",function(){return Ke}),n.d(t,"ReflectiveKey",function(){return Pe}),n.d(t,"InjectionToken",function(){return l}),n.d(t,"Inject",function(){return B}),n.d(t,"Optional",function(){return H}),n.d(t,"Injectable",function(){return U}),n.d(t,"Self",function(){return z}),n.d(t,"SkipSelf",function(){return q}),n.d(t,"Host",function(){return Z}),n.d(t,"NgZone",function(){return zt}),n.d(t,"RenderComponentType",function(){return gn}),n.d(t,"Renderer",function(){return _n}),n.d(t,"Renderer2",function(){return En}),n.d(t,"RendererFactory2",function(){return wn}),n.d(t,"RendererStyleFlags2",function(){return Cn}),n.d(t,"RootRenderer",function(){return bn}),n.d(t,"COMPILER_OPTIONS",function(){return gt}),n.d(t,"Compiler",function(){return yt}),n.d(t,"CompilerFactory",function(){return mt}),n.d(t,"ModuleWithComponentFactories",function(){return ht}),n.d(t,"ComponentFactory",function(){return bt}),n.d(t,"ComponentRef",function(){return _t}),n.d(t,"ComponentFactoryResolver",function(){return Ot}),n.d(t,"ElementRef",function(){return xn}),n.d(t,"NgModuleFactory",function(){return At}),n.d(t,"NgModuleRef",function(){return It}),n.d(t,"NgModuleFactoryLoader",function(){return Sn}),n.d(t,"getModuleFactory",function(){return kn}),n.d(t,"QueryList",function(){return In}),n.d(t,"SystemJsNgModuleLoader",function(){return Pn}),n.d(t,"SystemJsNgModuleLoaderConfig",function(){return An}),n.d(t,"TemplateRef",function(){return Dn}),n.d(t,"ViewContainerRef",function(){return Mn}),n.d(t,"EmbeddedViewRef",function(){return Vn}),n.d(t,"ViewRef",function(){return Fn}),n.d(t,"ChangeDetectionStrategy",function(){return x}),n.d(t,"ChangeDetectorRef",function(){return jn}),n.d(t,"DefaultIterableDiffer",function(){return er}),n.d(t,"IterableDiffers",function(){return ur}),n.d(t,"KeyValueDiffers",function(){return lr}),n.d(t,"SimpleChange",function(){return Yn}),n.d(t,"WrappedValue",function(){return Gn}),n.d(t,"platformCore",function(){return fr}),n.d(t,"\u0275ALLOW_MULTIPLE_PLATFORMS",function(){return rn}),n.d(t,"\u0275APP_ID_RANDOM_PROVIDER",function(){return at}),n.d(t,"\u0275devModeEqual",function(){return Xn}),n.d(t,"\u0275isListLikeIterable",function(){return Wn}),n.d(t,"\u0275ChangeDetectorStatus",function(){return S}),n.d(t,"\u0275isDefaultChangeDetectionStrategy",function(){return O}),n.d(t,"\u0275Console",function(){return ft}),n.d(t,"\u0275ComponentFactory",function(){return bt}),n.d(t,"\u0275CodegenComponentFactoryResolver",function(){return Tt}),n.d(t,"\u0275ReflectionCapabilities",function(){return Le}),n.d(t,"\u0275RenderDebugInfo",function(){return mn}),n.d(t,"\u0275global",function(){return G}),n.d(t,"\u0275looseIdentical",function(){return $}),n.d(t,"\u0275stringify",function(){return ee}),n.d(t,"\u0275makeDecorator",function(){return f}),n.d(t,"\u0275isObservable",function(){return nt}),n.d(t,"\u0275isPromise",function(){return tt}),n.d(t,"\u0275clearOverrides",function(){return Js}),n.d(t,"\u0275overrideComponentView",function(){return Qs}),n.d(t,"\u0275overrideProvider",function(){return Ws}),n.d(t,"\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR",function(){return Ci}),n.d(t,"\u0275defineComponent",function(){return iu}),n.d(t,"\u0275detectChanges",function(){return ou}),n.d(t,"\u0275renderComponent",function(){return ru}),n.d(t,"\u0275C",function(){return qa}),n.d(t,"\u0275D",function(){return za}),n.d(t,"\u0275E",function(){return Na}),n.d(t,"\u0275T",function(){return Ha}),n.d(t,"\u0275V",function(){return Ga}),n.d(t,"\u0275b",function(){return $a}),n.d(t,"\u0275b1",function(){return eu}),n.d(t,"\u0275c",function(){return Za}),n.d(t,"\u0275cR",function(){return Ka}),n.d(t,"\u0275cr",function(){return Xa}),n.d(t,"\u0275e",function(){return Fa}),n.d(t,"\u0275p",function(){return Va}),n.d(t,"\u0275s",function(){return Ba}),n.d(t,"\u0275t",function(){return Ua}),n.d(t,"\u0275v",function(){return Ya}),n.d(t,"\u0275registerModuleFactory",function(){return Tn}),n.d(t,"\u0275EMPTY_ARRAY",function(){return wo}),n.d(t,"\u0275EMPTY_MAP",function(){return Co}),n.d(t,"\u0275and",function(){return Eo}),n.d(t,"\u0275ccf",function(){return Uo}),n.d(t,"\u0275cmf",function(){return $s}),n.d(t,"\u0275crt",function(){return Ur}),n.d(t,"\u0275did",function(){return pi}),n.d(t,"\u0275eld",function(){return xo}),n.d(t,"\u0275elementEventFullName",function(){return eo}),n.d(t,"\u0275getComponentViewDefinitionFactory",function(){return zo}),n.d(t,"\u0275inlineInterpolate",function(){return _o}),n.d(t,"\u0275interpolate",function(){return mo}),n.d(t,"\u0275mod",function(){return No}),n.d(t,"\u0275mpd",function(){return Po}),n.d(t,"\u0275ncd",function(){return Di}),n.d(t,"\u0275nov",function(){return ei}),n.d(t,"\u0275pid",function(){return fi}),n.d(t,"\u0275prd",function(){return hi}),n.d(t,"\u0275pad",function(){return Fi}),n.d(t,"\u0275pod",function(){return Vi}),n.d(t,"\u0275ppd",function(){return ji}),n.d(t,"\u0275qud",function(){return Ii}),n.d(t,"\u0275ted",function(){return Bi}),n.d(t,"\u0275unv",function(){return Lr}),n.d(t,"\u0275vid",function(){return zi}),n.d(t,"AUTO_STYLE",function(){return gu}),n.d(t,"trigger",function(){return mu}),n.d(t,"animate",function(){return _u}),n.d(t,"group",function(){return bu}),n.d(t,"sequence",function(){return wu}),n.d(t,"style",function(){return Cu}),n.d(t,"state",function(){return Eu}),n.d(t,"keyframes",function(){return xu}),n.d(t,"transition",function(){return Su}),n.d(t,"\u0275bf",function(){return cu}),n.d(t,"\u0275bg",function(){return du}),n.d(t,"\u0275bk",function(){return vu}),n.d(t,"\u0275bh",function(){return pu}),n.d(t,"\u0275bj",function(){return hu}),n.d(t,"\u0275bi",function(){return fu}),n.d(t,"\u0275bl",function(){return yu}),n.d(t,"\u0275be",function(){return lu}),n.d(t,"\u0275n",function(){return mr}),n.d(t,"\u0275o",function(){return _r}),n.d(t,"\u0275q",function(){return br}),n.d(t,"\u0275i",function(){return st}),n.d(t,"\u0275j",function(){return dr}),n.d(t,"\u0275k",function(){return pr}),n.d(t,"\u0275l",function(){return Jn}),n.d(t,"\u0275m",function(){return ir}),n.d(t,"\u0275f",function(){return et}),n.d(t,"\u0275g",function(){return ze}),n.d(t,"\u0275h",function(){return Ge}),n.d(t,"\u0275r",function(){return jt}),n.d(t,"\u0275w",function(){return Pt}),n.d(t,"\u0275u",function(){return Rt}),n.d(t,"\u0275z",function(){return Mt}),n.d(t,"\u0275x",function(){return Nt}),n.d(t,"\u0275y",function(){return Dt}),n.d(t,"\u0275bc",function(){return ha}),n.d(t,"\u0275a",function(){return v}),n.d(t,"\u0275d",function(){return y}),n.d(t,"\u0275ba",function(){return vi}),n.d(t,"\u0275bb",function(){return Rr});var r=n("6Xbx"),o=n("AP4T"),i=n("2kLc"),s=n("URbD"),a=n("TO51"),u=n("qLnt"),l=function(){function e(e){this._desc=e,this.ngMetadataName="InjectionToken"}return e.prototype.toString=function(){return"InjectionToken "+this._desc},e}(),c="__annotations__",d="__paramaters__",p="__prop__metadata__";function f(e,t,n,r){var o=h(t);function i(e){if(this instanceof i)return o.call(this,e),this;var t=new i(e),n=function(e){return(e.hasOwnProperty(c)?e[c]:Object.defineProperty(e,c,{value:[]})[c]).push(t),e};return r&&r(n),n}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i}function h(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(e){var r=e.apply(void 0,t);for(var o in r)this[o]=r[o]}}}function v(e,t,n){var r=h(t);function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(this instanceof o)return r.apply(this,e),this;var n,i=new((n=o).bind.apply(n,[void 0].concat(e)));return s.annotation=i,s;function s(e,t,n){for(var r=e.hasOwnProperty(d)?e[d]:Object.defineProperty(e,d,{value:[]})[d];r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(i),e}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o}function y(e,t,n){var r=h(t);function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(this instanceof o)return r.apply(this,e),this;var n,i=new((n=o).bind.apply(n,[void 0].concat(e)));return function(e,t){var n=e.constructor,r=n.hasOwnProperty(p)?n[p]:Object.defineProperty(n,p,{value:{}})[p];r[t]=r.hasOwnProperty(t)&&r[t]||[],r[t].unshift(i)}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o}var g=new l("AnalyzeForEntryComponents"),m=v("Attribute",function(e){return{attributeName:e}}),_=function(){},b=y("ContentChildren",function(e,t){return void 0===t&&(t={}),Object(r.__assign)({selector:e,first:!1,isViewQuery:!1,descendants:!1},t)},_),w=y("ContentChild",function(e,t){return void 0===t&&(t={}),Object(r.__assign)({selector:e,first:!0,isViewQuery:!1,descendants:!0},t)},_),C=y("ViewChildren",function(e,t){return void 0===t&&(t={}),Object(r.__assign)({selector:e,first:!1,isViewQuery:!0,descendants:!0},t)},_),E=y("ViewChild",function(e,t){return Object(r.__assign)({selector:e,first:!0,isViewQuery:!0,descendants:!0},t)},_),x=function(){var e={OnPush:0,Default:1};return e[e.OnPush]="OnPush",e[e.Default]="Default",e}(),S=function(){var e={CheckOnce:0,Checked:1,CheckAlways:2,Detached:3,Errored:4,Destroyed:5};return e[e.CheckOnce]="CheckOnce",e[e.Checked]="Checked",e[e.CheckAlways]="CheckAlways",e[e.Detached]="Detached",e[e.Errored]="Errored",e[e.Destroyed]="Destroyed",e}();function O(e){return null==e||e===x.Default}var T=f("Directive",function(e){return void 0===e&&(e={}),e}),k=f("Component",function(e){return void 0===e&&(e={}),Object(r.__assign)({changeDetection:x.Default},e)},T),I=f("Pipe",function(e){return Object(r.__assign)({pure:!0},e)}),A=y("Input",function(e){return{bindingPropertyName:e}}),R=y("Output",function(e){return{bindingPropertyName:e}}),P=y("HostBinding",function(e){return{hostPropertyName:e}}),N=y("HostListener",function(e,t){return{eventName:e,args:t}}),D={name:"custom-elements"},M={name:"no-errors-schema"},j=f("NgModule",function(e){return e}),F=function(){var e={Emulated:0,Native:1,None:2};return e[e.Emulated]="Emulated",e[e.Native]="Native",e[e.None]="None",e}(),V=function(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")},L=new V("5.2.11"),B=v("Inject",function(e){return{token:e}}),H=v("Optional"),U=f("Injectable"),z=v("Self"),q=v("SkipSelf"),Z=v("Host"),K="undefined"!=typeof window&&window,X="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,G=K||void 0!==e&&e||X,Y=Promise.resolve(0),W=null;function Q(){if(!W){var e=G.Symbol;if(e&&e.iterator)W=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),n=0;n<t.length;++n){var r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(W=r)}}return W}function J(e){"undefined"==typeof Zone?Y.then(function(){e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}function $(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function ee(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(ee).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function te(e){return e.__forward_ref__=te,e.toString=function(){return ee(this())},e}function ne(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")&&e.__forward_ref__===te?e():e}var re="__source",oe=new Object,ie=oe,se=function(){function e(){}return e.prototype.get=function(e,t){if(void 0===t&&(t=oe),t===oe)throw new Error("NullInjectorError: No provider for "+ee(e)+"!");return t},e}(),ae=function(){function e(){}return e.create=function(e,t){return Array.isArray(e)?new ge(e,t):new ge(e.providers,e.parent,e.name||null)},e.THROW_IF_NOT_FOUND=oe,e.NULL=new se,e}(),ue=function(e){return e},le=[],ce=ue,de=function(){return Array.prototype.slice.call(arguments)},pe={},fe=function(e){for(var t in e)if(e[t]===pe)return t;throw Error("!prop")}({provide:String,useValue:pe}),he=ae.NULL,ve=/\n/gm,ye="\u0275",ge=function(){function e(e,t,n){void 0===t&&(t=he),void 0===n&&(n=null),this.parent=t,this.source=n;var r=this._records=new Map;r.set(ae,{token:ae,fn:ue,deps:le,value:this,useNew:!1}),function e(t,n){if(n)if((n=ne(n))instanceof Array)for(var r=0;r<n.length;r++)e(t,n[r]);else{if("function"==typeof n)throw be("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw be("Unexpected provider",n);var o=ne(n.provide),i=function(e){var t=function(e){var t=le,n=e.deps;if(n&&n.length){t=[];for(var r=0;r<n.length;r++){var o=6;if((u=ne(n[r]))instanceof Array)for(var i=0,s=u;i<s.length;i++){var a=s[i];a instanceof H||a==H?o|=1:a instanceof q||a==q?o&=-3:a instanceof z||a==z?o&=-5:u=a instanceof B?a.token:ne(a)}t.push({token:u,options:o})}}else if(e.useExisting){var u;t=[{token:u=ne(e.useExisting),options:6}]}else if(!(n||fe in e))throw be("'deps' required",e);return t}(e),n=ue,r=le,o=!1,i=ne(e.provide);if(fe in e)r=e.useValue;else if(e.useFactory)n=e.useFactory;else if(e.useExisting);else if(e.useClass)o=!0,n=ne(e.useClass);else{if("function"!=typeof i)throw be("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",e);o=!0,n=i}return{deps:t,fn:n,useNew:o,value:r}}(n);if(!0===n.multi){var s=t.get(o);if(s){if(s.fn!==de)throw me(o)}else t.set(o,s={token:n.provide,deps:[],useNew:!1,fn:de,value:le});s.deps.push({token:o=n,options:6})}var a=t.get(o);if(a&&a.fn==de)throw me(o);t.set(o,i)}}(r,e)}return e.prototype.get=function(e,t){var n=this._records.get(e);try{return function e(t,n,r,o,i){try{return function(t,n,r,o,i){var s,a;if(n){if((s=n.value)==ce)throw Error(ye+"Circular dependency");if(s===le){n.value=ce;var u=n.useNew,l=n.fn,c=n.deps,d=le;if(c.length){d=[];for(var p=0;p<c.length;p++){var f=c[p],h=f.options,v=2&h?r.get(f.token):void 0;d.push(e(f.token,v,r,v||4&h?o:he,1&h?null:ae.THROW_IF_NOT_FOUND))}}n.value=s=u?new((a=l).bind.apply(a,[void 0].concat(d))):l.apply(void 0,d)}}else s=o.get(t,i);return s}(t,n,r,o,i)}catch(e){throw e instanceof Error||(e=new Error(e)),(e.ngTempTokenPath=e.ngTempTokenPath||[]).unshift(t),n&&n.value==ce&&(n.value=le),e}}(e,n,this._records,this.parent,t)}catch(t){var r=t.ngTempTokenPath;throw e[re]&&r.unshift(e[re]),t.message=_e("\n"+t.message,r,this.source),t.ngTokenPath=r,t.ngTempTokenPath=null,t}},e.prototype.toString=function(){var e=[];return this._records.forEach(function(t,n){return e.push(ee(n))}),"StaticInjector["+e.join(", ")+"]"},e}();function me(e){return be("Cannot mix multi providers and regular providers",e)}function _e(e,t,n){void 0===n&&(n=null),e=e&&"\n"===e.charAt(0)&&e.charAt(1)==ye?e.substr(2):e;var r=ee(t);if(t instanceof Array)r=t.map(ee).join(" -> ");else if("object"==typeof t){var o=[];for(var i in t)if(t.hasOwnProperty(i)){var s=t[i];o.push(i+":"+("string"==typeof s?JSON.stringify(s):ee(s)))}r="{"+o.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+e.replace(ve,"\n ")}function be(e,t){return new Error(_e(e,t))}var we="ngDebugContext",Ce="ngOriginalError",Ee="ngErrorLogger";function xe(e){return e[we]}function Se(e){return e[Ce]}function Oe(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e.error.apply(e,t)}var Te=function(){function e(){this._console=console}return e.prototype.handleError=function(e){var t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e[Ee]||Oe}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)},e.prototype._findContext=function(e){return e?xe(e)?xe(e):this._findContext(Se(e)):null},e.prototype._findOriginalError=function(e){for(var t=Se(e);t&&Se(t);)t=Se(t);return t},e}();function ke(e){return e.length>1?" ("+function(e){for(var t=[],n=0;n<e.length;++n){if(t.indexOf(e[n])>-1)return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map(function(e){return ee(e.token)}).join(" -> ")+")":""}function Ie(e,t,n,r){var o=[t],i=n(o),s=r?function(e,t){var n=i+" caused by: "+(t instanceof Error?t.message:t),r=Error(n);return r[Ce]=t,r}(0,r):Error(i);return s.addKey=Ae,s.keys=o,s.injectors=[e],s.constructResolvingMessage=n,s[Ce]=r,s}function Ae(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function Re(e,t){for(var n=[],r=0,o=t.length;r<o;r++){var i=t[r];n.push(i&&0!=i.length?i.map(ee).join(" "):"?")}return Error("Cannot resolve all parameters for '"+ee(e)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+ee(e)+"' is decorated with Injectable.")}var Pe=function(){function e(e,t){if(this.token=e,this.id=t,!e)throw new Error("Token must be defined!");this.displayName=ee(this.token)}return e.get=function(e){return Ne.get(ne(e))},Object.defineProperty(e,"numberOfKeys",{get:function(){return Ne.numberOfKeys},enumerable:!0,configurable:!0}),e}(),Ne=new(function(){function e(){this._allKeys=new Map}return e.prototype.get=function(e){if(e instanceof Pe)return e;if(this._allKeys.has(e))return this._allKeys.get(e);var t=new Pe(e,Pe.numberOfKeys);return this._allKeys.set(e,t),t},Object.defineProperty(e.prototype,"numberOfKeys",{get:function(){return this._allKeys.size},enumerable:!0,configurable:!0}),e}()),De=Function;function Me(e){return"function"==typeof e}var je=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,Fe=/^class\s+[A-Za-z\d$_]*\s*extends\s+[A-Za-z\d$_]+\s*{/,Ve=/^class\s+[A-Za-z\d$_]*\s*extends\s+[A-Za-z\d$_]+\s*{[\s\S]*constructor\s*\(/,Le=function(){function e(e){this._reflect=e||G.Reflect}return e.prototype.isReflectionEnabled=function(){return!0},e.prototype.factory=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new(e.bind.apply(e,[void 0].concat(t)))}},e.prototype._zipTypesAndAnnotations=function(e,t){var n;n=void 0===e?new Array(t.length):new Array(e.length);for(var r=0;r<n.length;r++)n[r]=void 0===e?[]:e[r]!=Object?[e[r]]:[],t&&null!=t[r]&&(n[r]=n[r].concat(t[r]));return n},e.prototype._ownParameters=function(e,t){var n=e.toString();if(je.exec(n)||Fe.exec(n)&&!Ve.exec(n))return null;if(e.parameters&&e.parameters!==t.parameters)return e.parameters;var r=e.ctorParameters;if(r&&r!==t.ctorParameters){var o="function"==typeof r?r():r,i=o.map(function(e){return e&&e.type}),s=o.map(function(e){return e&&Be(e.decorators)});return this._zipTypesAndAnnotations(i,s)}var a=e.hasOwnProperty(d)&&e[d],u=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return u||a?this._zipTypesAndAnnotations(u,a):new Array(e.length).fill(void 0)},e.prototype.parameters=function(e){if(!Me(e))return[];var t=He(e),n=this._ownParameters(e,t);return n||t===Object||(n=this.parameters(t)),n||[]},e.prototype._ownAnnotations=function(e,t){if(e.annotations&&e.annotations!==t.annotations){var n=e.annotations;return"function"==typeof n&&n.annotations&&(n=n.annotations),n}return e.decorators&&e.decorators!==t.decorators?Be(e.decorators):e.hasOwnProperty(c)?e[c]:null},e.prototype.annotations=function(e){if(!Me(e))return[];var t=He(e),n=this._ownAnnotations(e,t)||[];return(t!==Object?this.annotations(t):[]).concat(n)},e.prototype._ownPropMetadata=function(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){var n=e.propMetadata;return"function"==typeof n&&n.propMetadata&&(n=n.propMetadata),n}if(e.propDecorators&&e.propDecorators!==t.propDecorators){var r=e.propDecorators,o={};return Object.keys(r).forEach(function(e){o[e]=Be(r[e])}),o}return e.hasOwnProperty(p)?e[p]:null},e.prototype.propMetadata=function(e){if(!Me(e))return{};var t=He(e),n={};if(t!==Object){var r=this.propMetadata(t);Object.keys(r).forEach(function(e){n[e]=r[e]})}var o=this._ownPropMetadata(e,t);return o&&Object.keys(o).forEach(function(e){var t=[];n.hasOwnProperty(e)&&t.push.apply(t,n[e]),t.push.apply(t,o[e]),n[e]=t}),n},e.prototype.hasLifecycleHook=function(e,t){return e instanceof De&&t in e.prototype},e.prototype.guards=function(e){return{}},e.prototype.getter=function(e){return new Function("o","return o."+e+";")},e.prototype.setter=function(e){return new Function("o","v","return o."+e+" = v;")},e.prototype.method=function(e){return new Function("o","args","if (!o."+e+") throw new Error('\""+e+"\" is undefined');\n return o."+e+".apply(o, args);")},e.prototype.importUri=function(e){return"object"==typeof e&&e.filePath?e.filePath:"./"+ee(e)},e.prototype.resourceUri=function(e){return"./"+ee(e)},e.prototype.resolveIdentifier=function(e,t,n,r){return r},e.prototype.resolveEnum=function(e,t){return e[t]},e}();function Be(e){return e?e.map(function(e){var t=e.type.annotationCls;return new(t.bind.apply(t,[void 0].concat(e.args?e.args:[])))}):[]}function He(e){var t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}var Ue=new(function(){function e(e){this.reflectionCapabilities=e}return e.prototype.updateCapabilities=function(e){this.reflectionCapabilities=e},e.prototype.factory=function(e){return this.reflectionCapabilities.factory(e)},e.prototype.parameters=function(e){return this.reflectionCapabilities.parameters(e)},e.prototype.annotations=function(e){return this.reflectionCapabilities.annotations(e)},e.prototype.propMetadata=function(e){return this.reflectionCapabilities.propMetadata(e)},e.prototype.hasLifecycleHook=function(e,t){return this.reflectionCapabilities.hasLifecycleHook(e,t)},e.prototype.getter=function(e){return this.reflectionCapabilities.getter(e)},e.prototype.setter=function(e){return this.reflectionCapabilities.setter(e)},e.prototype.method=function(e){return this.reflectionCapabilities.method(e)},e.prototype.importUri=function(e){return this.reflectionCapabilities.importUri(e)},e.prototype.resourceUri=function(e){return this.reflectionCapabilities.resourceUri(e)},e.prototype.resolveIdentifier=function(e,t,n,r){return this.reflectionCapabilities.resolveIdentifier(e,t,n,r)},e.prototype.resolveEnum=function(e,t){return this.reflectionCapabilities.resolveEnum(e,t)},e}())(new Le),ze=function(){function e(e,t,n){this.key=e,this.optional=t,this.visibility=n}return e.fromKey=function(t){return new e(t,!1,null)},e}(),qe=[],Ze=function(e,t,n){this.key=e,this.resolvedFactories=t,this.multiProvider=n,this.resolvedFactory=this.resolvedFactories[0]},Ke=function(e,t){this.factory=e,this.dependencies=t};function Xe(e){return new Ze(Pe.get(e.provide),[function(e){var t,n;if(e.useClass){var r=ne(e.useClass);t=Ue.factory(r),n=Ye(r)}else e.useExisting?(t=function(e){return e},n=[ze.fromKey(Pe.get(e.useExisting))]):e.useFactory?(t=e.useFactory,n=function(e,t){if(t){var n=t.map(function(e){return[e]});return t.map(function(t){return We(e,t,n)})}return Ye(e)}(e.useFactory,e.deps)):(t=function(){return e.useValue},n=qe);return new Ke(t,n)}(e)],e.multi||!1)}function Ge(e){var t=function(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=t.get(r.key.id);if(o){if(r.multiProvider!==o.multiProvider)throw Error("Cannot mix multi providers and regular providers, got: "+o+" "+r);if(r.multiProvider)for(var i=0;i<r.resolvedFactories.length;i++)o.resolvedFactories.push(r.resolvedFactories[i]);else t.set(r.key.id,r)}else{var s;s=r.multiProvider?new Ze(r.key,r.resolvedFactories.slice(),r.multiProvider):r,t.set(r.key.id,s)}}return t}(function e(t,n){return t.forEach(function(t){if(t instanceof De)n.push({provide:t,useClass:t});else if(t&&"object"==typeof t&&void 0!==t.provide)n.push(t);else{if(!(t instanceof Array))throw Error("Invalid provider - only instances of Provider and Type are allowed, got: "+t);e(t,n)}}),n}(e,[]).map(Xe),new Map);return Array.from(t.values())}function Ye(e){var t=Ue.parameters(e);if(!t)return[];if(t.some(function(e){return null==e}))throw Re(e,t);return t.map(function(n){return We(e,n,t)})}function We(e,t,n){var r=null,o=!1;if(!Array.isArray(t))return Qe(t instanceof B?t.token:t,o,null);for(var i=null,s=0;s<t.length;++s){var a=t[s];a instanceof De?r=a:a instanceof B?r=a.token:a instanceof H?o=!0:a instanceof z||a instanceof q?i=a:a instanceof l&&(r=a)}if(null!=(r=ne(r)))return Qe(r,o,i);throw Re(e,n)}function Qe(e,t,n){return new ze(Pe.get(e),t,n)}var Je=new Object,$e=function(){function e(){}return e.resolve=function(e){return Ge(e)},e.resolveAndCreate=function(t,n){var r=e.resolve(t);return e.fromResolvedProviders(r,n)},e.fromResolvedProviders=function(e,t){return new et(e,t)},e}(),et=function(){function e(e,t){this._constructionCounter=0,this._providers=e,this.parent=t||null;var n=e.length;this.keyIds=new Array(n),this.objs=new Array(n);for(var r=0;r<n;r++)this.keyIds[r]=e[r].key.id,this.objs[r]=Je}return e.prototype.get=function(e,t){return void 0===t&&(t=ie),this._getByKey(Pe.get(e),null,t)},e.prototype.resolveAndCreateChild=function(e){var t=$e.resolve(e);return this.createChildFromResolved(t)},e.prototype.createChildFromResolved=function(t){var n=new e(t);return n.parent=this,n},e.prototype.resolveAndInstantiate=function(e){return this.instantiateResolved($e.resolve([e])[0])},e.prototype.instantiateResolved=function(e){return this._instantiateProvider(e)},e.prototype.getProviderAtIndex=function(e){if(e<0||e>=this._providers.length)throw function(e){return Error("Index "+e+" is out-of-bounds.")}(e);return this._providers[e]},e.prototype._new=function(e){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw Ie(this,e.key,function(e){return"Cannot instantiate cyclic dependency!"+ke(e)});return this._instantiateProvider(e)},e.prototype._getMaxNumberOfObjects=function(){return this.objs.length},e.prototype._instantiateProvider=function(e){if(e.multiProvider){for(var t=new Array(e.resolvedFactories.length),n=0;n<e.resolvedFactories.length;++n)t[n]=this._instantiate(e,e.resolvedFactories[n]);return t}return this._instantiate(e,e.resolvedFactories[0])},e.prototype._instantiate=function(e,t){var n,r,o,i=this,s=t.factory;try{n=t.dependencies.map(function(e){return i._getByReflectiveDependency(e)})}catch(t){throw t.addKey&&t.addKey(this,e.key),t}try{r=s.apply(void 0,n)}catch(t){throw Ie(this,e.key,function(e){var t=ee(e[0].token);return o.message+": Error during instantiation of "+t+"!"+ke(e)+"."},o=t)}return r},e.prototype._getByReflectiveDependency=function(e){return this._getByKey(e.key,e.visibility,e.optional?null:ie)},e.prototype._getByKey=function(t,n,r){return t===e.INJECTOR_KEY?this:n instanceof z?this._getByKeySelf(t,r):this._getByKeyDefault(t,r,n)},e.prototype._getObjByKeyId=function(e){for(var t=0;t<this.keyIds.length;t++)if(this.keyIds[t]===e)return this.objs[t]===Je&&(this.objs[t]=this._new(this._providers[t])),this.objs[t];return Je},e.prototype._throwOrNull=function(e,t){if(t!==ie)return t;throw function(e,t){return Ie(e,t,function(e){return"No provider for "+ee(e[0].token)+"!"+ke(e)})}(this,e)},e.prototype._getByKeySelf=function(e,t){var n=this._getObjByKeyId(e.id);return n!==Je?n:this._throwOrNull(e,t)},e.prototype._getByKeyDefault=function(t,n,r){var o;for(o=r instanceof q?this.parent:this;o instanceof e;){var i=o,s=i._getObjByKeyId(t.id);if(s!==Je)return s;o=i.parent}return null!==o?o.get(t.token,n):this._throwOrNull(t,n)},Object.defineProperty(e.prototype,"displayName",{get:function(){return"ReflectiveInjector(providers: ["+function(e,t){for(var n=new Array(e._providers.length),r=0;r<e._providers.length;++r)n[r]=' "'+e.getProviderAtIndex(r).key.displayName+'" ';return n}(this).join(", ")+"])"},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.displayName},e.INJECTOR_KEY=Pe.get(ae),e}();function tt(e){return!!e&&"function"==typeof e.then}function nt(e){return!!e&&"function"==typeof e.subscribe}var rt=new l("Application Initializer"),ot=function(){function e(e){var t=this;this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(e,n){t.resolve=e,t.reject=n})}return e.prototype.runInitializers=function(){var e=this;if(!this.initialized){var t=[],n=function(){e.done=!0,e.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var o=this.appInits[r]();tt(o)&&t.push(o)}Promise.all(t).then(function(){n()}).catch(function(t){e.reject(t)}),0===t.length&&n(),this.initialized=!0}},e}(),it=new l("AppId");function st(){return""+ut()+ut()+ut()}var at={provide:it,useFactory:st,deps:[]};function ut(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var lt=new l("Platform Initializer"),ct=new l("Platform ID"),dt=new l("appBootstrapListener"),pt=new l("Application Packages Root URL"),ft=function(){function e(){}return e.prototype.log=function(e){console.log(e)},e.prototype.warn=function(e){console.warn(e)},e.ctorParameters=function(){return[]},e}(),ht=function(e,t){this.ngModuleFactory=e,this.componentFactories=t};function vt(){throw new Error("Runtime compiler is not loaded")}var yt=function(){function e(){}return e.prototype.compileModuleSync=function(e){throw vt()},e.prototype.compileModuleAsync=function(e){throw vt()},e.prototype.compileModuleAndAllComponentsSync=function(e){throw vt()},e.prototype.compileModuleAndAllComponentsAsync=function(e){throw vt()},e.prototype.clearCache=function(){},e.prototype.clearCacheFor=function(e){},e}(),gt=new l("compilerOptions"),mt=function(){},_t=function(){},bt=function(){};function wt(e){var t=Error("No component factory found for "+ee(e)+". Did you add it to @NgModule.entryComponents?");return t[xt]=e,t}var Ct,Et,xt="ngComponent",St=function(){function e(){}return e.prototype.resolveComponentFactory=function(e){throw wt(e)},e}(),Ot=function(){function e(){}return e.NULL=new St,e}(),Tt=function(){function e(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(var r=0;r<e.length;r++){var o=e[r];this._factories.set(o.componentType,o)}}return e.prototype.resolveComponentFactory=function(e){var t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw wt(e);return new kt(t,this._ngModule)},e}(),kt=function(e){function t(t,n){var r=e.call(this)||this;return r.factory=t,r.ngModule=n,r.selector=t.selector,r.componentType=t.componentType,r.ngContentSelectors=t.ngContentSelectors,r.inputs=t.inputs,r.outputs=t.outputs,r}return Object(r.__extends)(t,e),t.prototype.create=function(e,t,n,r){return this.factory.create(e,t,n,r||this.ngModule)},t}(bt),It=function(){},At=function(){};function Rt(){var e=G.wtf;return!(!e||!(Ct=e.trace)||(Et=Ct.events,0))}function Pt(e,t){return void 0===t&&(t=null),Et.createScope(e,t)}function Nt(e,t){return Ct.leaveScope(e,t),t}function Dt(e,t){return Ct.beginTimeRange(e,t)}function Mt(e){Ct.endTimeRange(e)}var jt=Rt();function Ft(e,t){return null}var Vt=jt?Pt:function(e,t){return Ft},Lt=jt?Nt:function(e,t){return t},Bt=jt?Dt:function(e,t){return null},Ht=jt?Mt:function(e){return null},Ut=function(e){function t(t){void 0===t&&(t=!1);var n=e.call(this)||this;return n.__isAsync=t,n}return Object(r.__extends)(t,e),t.prototype.emit=function(t){e.prototype.next.call(this,t)},t.prototype.subscribe=function(t,n,r){var o,i=function(e){return null},s=function(){return null};t&&"object"==typeof t?(o=this.__isAsync?function(e){setTimeout(function(){return t.next(e)})}:function(e){t.next(e)},t.error&&(i=this.__isAsync?function(e){setTimeout(function(){return t.error(e)})}:function(e){t.error(e)}),t.complete&&(s=this.__isAsync?function(){setTimeout(function(){return t.complete()})}:function(){t.complete()})):(o=this.__isAsync?function(e){setTimeout(function(){return t(e)})}:function(e){t(e)},n&&(i=this.__isAsync?function(e){setTimeout(function(){return n(e)})}:function(e){n(e)}),r&&(s=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()}));var a=e.prototype.subscribe.call(this,o,i,s);return t instanceof u.a&&t.add(a),a},t}(a.a),zt=function(){function e(e){var t,n=e.enableLongStackTrace,r=void 0!==n&&n;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ut(!1),this.onMicrotaskEmpty=new Ut(!1),this.onStable=new Ut(!1),this.onError=new Ut(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(t=this)._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(e,n,r,o,i,s){try{return Xt(t),e.invokeTask(r,o,i,s)}finally{Gt(t)}},onInvoke:function(e,n,r,o,i,s,a){try{return Xt(t),e.invoke(r,o,i,s,a)}finally{Gt(t)}},onHasTask:function(e,n,r,o){e.hasTask(r,o),n===r&&("microTask"==o.change?(t.hasPendingMicrotasks=o.microTask,Kt(t)):"macroTask"==o.change&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:function(e,n,r,o){return e.handleError(r,o),t.runOutsideAngular(function(){return t.onError.emit(o)}),!1}})}return e.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},e.assertInAngularZone=function(){if(!e.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},e.assertNotInAngularZone=function(){if(e.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},e.prototype.run=function(e,t,n){return this._inner.run(e,t,n)},e.prototype.runTask=function(e,t,n,r){var o=this._inner,i=o.scheduleEventTask("NgZoneEvent: "+r,e,Zt,qt,qt);try{return o.runTask(i,t,n)}finally{o.cancelTask(i)}},e.prototype.runGuarded=function(e,t,n){return this._inner.runGuarded(e,t,n)},e.prototype.runOutsideAngular=function(e){return this._outer.run(e)},e}();function qt(){}var Zt={};function Kt(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(function(){return e.onStable.emit(null)})}finally{e.isStable=!0}}}function Xt(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Gt(e){e._nesting--,Kt(e)}var Yt=function(){function e(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ut,this.onMicrotaskEmpty=new Ut,this.onStable=new Ut,this.onError=new Ut}return e.prototype.run=function(e){return e()},e.prototype.runGuarded=function(e){return e()},e.prototype.runOutsideAngular=function(e){return e()},e.prototype.runTask=function(e){return e()},e}(),Wt=function(){function e(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this._watchAngularEvents()}return e.prototype._watchAngularEvents=function(){var e=this;this._ngZone.onUnstable.subscribe({next:function(){e._didWork=!0,e._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.subscribe({next:function(){zt.assertNotInAngularZone(),J(function(){e._isZoneStable=!0,e._runCallbacksIfReady()})}})})},e.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},e.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},e.prototype.isStable=function(){return this._isZoneStable&&0==this._pendingCount&&!this._ngZone.hasPendingMacrotasks},e.prototype._runCallbacksIfReady=function(){var e=this;this.isStable()?J(function(){for(;0!==e._callbacks.length;)e._callbacks.pop()(e._didWork);e._didWork=!1}):this._didWork=!0},e.prototype.whenStable=function(e){this._callbacks.push(e),this._runCallbacksIfReady()},e.prototype.getPendingRequestCount=function(){return this._pendingCount},e.prototype.findProviders=function(e,t,n){return[]},e}(),Qt=function(){function e(){this._applications=new Map,en.addToWindow(this)}return e.prototype.registerApplication=function(e,t){this._applications.set(e,t)},e.prototype.unregisterApplication=function(e){this._applications.delete(e)},e.prototype.unregisterAllApplications=function(){this._applications.clear()},e.prototype.getTestability=function(e){return this._applications.get(e)||null},e.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},e.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},e.prototype.findTestabilityInTree=function(e,t){return void 0===t&&(t=!0),en.findTestabilityInTree(this,e,t)},e.ctorParameters=function(){return[]},e}();function Jt(e){en=e}var $t,en=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}()),tn=!0,nn=!1,rn=new l("AllowMultipleToken");function on(){if(nn)throw new Error("Cannot enable prod mode after platform setup.");tn=!1}function sn(){return nn=!0,tn}var an=function(e,t){this.name=e,this.token=t};function un(e){if($t&&!$t.destroyed&&!$t.injector.get(rn,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");$t=e.get(fn);var t=e.get(lt,null);return t&&t.forEach(function(e){return e()}),$t}function ln(e,t,n){void 0===n&&(n=[]);var r="Platform: "+t,o=new l(r);return function(t){void 0===t&&(t=[]);var i=pn();if(!i||i.injector.get(rn,!1))if(e)e(n.concat(t).concat({provide:o,useValue:!0}));else{var s=n.concat(t).concat({provide:o,useValue:!0});un(ae.create({providers:s,name:r}))}return cn(o)}}function cn(e){var t=pn();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}function dn(){$t&&!$t.destroyed&&$t.destroy()}function pn(){return $t&&!$t.destroyed?$t:null}var fn=function(){function e(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return e.prototype.bootstrapModuleFactory=function(e,t){var n,r=this,o="noop"===(n=t?t.ngZone:void 0)?new Yt:("zone.js"===n?void 0:n)||new zt({enableLongStackTrace:sn()}),i=[{provide:zt,useValue:o}];return o.run(function(){var t=ae.create({providers:i,parent:r.injector,name:e.moduleType.name}),n=e.create(t),s=n.injector.get(Te,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return yn(r._modules,n)}),o.runOutsideAngular(function(){return o.onError.subscribe({next:function(e){s.handleError(e)}})}),function(e,t,o){try{var i=((s=n.injector.get(ot)).runInitializers(),s.donePromise.then(function(){return r._moduleDoBootstrap(n),n}));return tt(i)?i.catch(function(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}):i}catch(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}var s}(s,o)})},e.prototype.bootstrapModule=function(e,t){var n=this;void 0===t&&(t=[]);var r=this.injector.get(mt),o=hn({},t);return r.createCompiler([o]).compileModuleAsync(e).then(function(e){return n.bootstrapModuleFactory(e,o)})},e.prototype._moduleDoBootstrap=function(e){var t=e.injector.get(vn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+ee(e.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');e.instance.ngDoBootstrap(t)}this._modules.push(e)},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},Object.defineProperty(e.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()}),this._destroyed=!0},Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),e}();function hn(e,t){return Array.isArray(t)?t.reduce(hn,e):Object(r.__assign)({},e,t)}var vn=function(){function e(e,t,n,r,a,u){var l=this;this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=a,this._initStatus=u,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=sn(),this._zone.onMicrotaskEmpty.subscribe({next:function(){l._zone.run(function(){l.tick()})}});var c=new o.a(function(e){l._stable=l._zone.isStable&&!l._zone.hasPendingMacrotasks&&!l._zone.hasPendingMicrotasks,l._zone.runOutsideAngular(function(){e.next(l._stable),e.complete()})}),d=new o.a(function(e){var t;l._zone.runOutsideAngular(function(){t=l._zone.onStable.subscribe(function(){zt.assertNotInAngularZone(),J(function(){l._stable||l._zone.hasPendingMacrotasks||l._zone.hasPendingMicrotasks||(l._stable=!0,e.next(!0))})})});var n=l._zone.onUnstable.subscribe(function(){zt.assertInAngularZone(),l._stable&&(l._stable=!1,l._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=Object(i.a)(c,s.a.call(d))}return e.prototype.bootstrap=function(e,t){var n,r=this;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.");n=e instanceof bt?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var o=n instanceof kt?null:this._injector.get(It),i=n.create(ae.NULL,[],t||n.selector,o);i.onDestroy(function(){r._unloadComponent(i)});var s=i.injector.get(Wt,null);return s&&i.injector.get(Qt).registerApplication(i.location.nativeElement,s),this._loadComponent(i),sn()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i},e.prototype.tick=function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=e._tickScope();try{this._runningTick=!0,this._views.forEach(function(e){return e.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(e){return e.checkNoChanges()})}catch(e){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(e)})}finally{this._runningTick=!1,Lt(n)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;yn(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(dt,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),yn(this.components,e)},e.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(e){return e.destroy()})},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),e._tickScope=Vt("ApplicationRef#tick()"),e}();function yn(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var gn=function(e,t,n,r,o,i){this.id=e,this.templateUrl=t,this.slotCount=n,this.encapsulation=r,this.styles=o,this.animations=i},mn=function(){},_n=function(){},bn=function(){},wn=function(){},Cn=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}(),En=function(){},xn=function(e){this.nativeElement=e},Sn=function(){},On=new Map;function Tn(e,t){var n=On.get(e);if(n)throw new Error("Duplicate module registered for "+e+" - "+n.moduleType.name+" vs "+t.moduleType.name);On.set(e,t)}function kn(e){var t=On.get(e);if(!t)throw new Error("No module with ID "+e+" loaded");return t}var In=function(){function e(){this.dirty=!0,this._results=[],this.changes=new Ut,this.length=0}return e.prototype.map=function(e){return this._results.map(e)},e.prototype.filter=function(e){return this._results.filter(e)},e.prototype.find=function(e){return this._results.find(e)},e.prototype.reduce=function(e,t){return this._results.reduce(e,t)},e.prototype.forEach=function(e){this._results.forEach(e)},e.prototype.some=function(e){return this._results.some(e)},e.prototype.toArray=function(){return this._results.slice()},e.prototype[Q()]=function(){return this._results[Q()]()},e.prototype.toString=function(){return this._results.toString()},e.prototype.reset=function(e){this._results=function e(t){return t.reduce(function(t,n){var r=Array.isArray(n)?e(n):n;return t.concat(r)},[])}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}(),An=function(){},Rn={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Pn=function(){function e(e,t){this._compiler=e,this._config=t||Rn}return e.prototype.load=function(e){return this._compiler instanceof yt?this.loadFactory(e):this.loadAndCompile(e)},e.prototype.loadAndCompile=function(e){var t=this,r=e.split("#"),o=r[0],i=r[1];return void 0===i&&(i="default"),n("YuZA")(o).then(function(e){return e[i]}).then(function(e){return Nn(e,o,i)}).then(function(e){return t._compiler.compileModuleAsync(e)})},e.prototype.loadFactory=function(e){var t=e.split("#"),r=t[0],o=t[1],i="NgFactory";return void 0===o&&(o="default",i=""),n("YuZA")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(function(e){return e[o+i]}).then(function(e){return Nn(e,r,o)})},e}();function Nn(e,t,n){if(!e)throw new Error("Cannot find '"+n+"' in '"+t+"'");return e}var Dn=function(){},Mn=function(){},jn=function(){},Fn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t}(jn),Vn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t}(Fn),Ln=function(){function e(e,t,n){this._debugContext=n,this.nativeNode=e,t&&t instanceof Bn?t.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(e.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),e}(),Bn=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=t,o}return Object(r.__extends)(t,e),t.prototype.addChild=function(e){e&&(this.childNodes.push(e),e.parent=this)},t.prototype.removeChild=function(e){var t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))},t.prototype.insertChildrenAfter=function(e,t){var n,r=this,o=this.childNodes.indexOf(e);-1!==o&&((n=this.childNodes).splice.apply(n,[o+1,0].concat(t)),t.forEach(function(e){e.parent&&e.parent.removeChild(e),e.parent=r}))},t.prototype.insertBefore=function(e,t){var n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))},t.prototype.query=function(e){return this.queryAll(e)[0]||null},t.prototype.queryAll=function(e){var t=[];return Un(this,e,t),t},t.prototype.queryAllNodes=function(e){var t=[];return zn(this,e,t),t},Object.defineProperty(t.prototype,"children",{get:function(){return this.childNodes.filter(function(e){return e instanceof t})},enumerable:!0,configurable:!0}),t.prototype.triggerEventHandler=function(e,t){this.listeners.forEach(function(n){n.name==e&&n.callback(t)})},t}(Ln);function Hn(e){return e.map(function(e){return e.nativeElement})}function Un(e,t,n){e.childNodes.forEach(function(e){e instanceof Bn&&(t(e)&&n.push(e),Un(e,t,n))})}function zn(e,t,n){e instanceof Bn&&e.childNodes.forEach(function(e){t(e)&&n.push(e),e instanceof Bn&&zn(e,t,n)})}var qn=new Map;function Zn(e){return qn.get(e)||null}function Kn(e){qn.set(e.nativeNode,e)}function Xn(e,t){var n=Wn(e),r=Wn(t);return n&&r?function(e,t,n){for(var r=e[Q()](),o=t[Q()]();;){var i=r.next(),s=o.next();if(i.done&&s.done)return!0;if(i.done||s.done)return!1;if(!n(i.value,s.value))return!1}}(e,t,Xn):!(n||!e||"object"!=typeof e&&"function"!=typeof e||r||!t||"object"!=typeof t&&"function"!=typeof t)||$(e,t)}var Gn=function(){function e(e){this.wrapped=e}return e.wrap=function(t){return new e(t)},e.unwrap=function(t){return e.isWrapped(t)?t.wrapped:t},e.isWrapped=function(t){return t instanceof e},e}(),Yn=function(){function e(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}return e.prototype.isFirstChange=function(){return this.firstChange},e}();function Wn(e){return!!Qn(e)&&(Array.isArray(e)||!(e instanceof Map)&&Q()in e)}function Qn(e){return null!==e&&("function"==typeof e||"object"==typeof e)}var Jn=function(){function e(){}return e.prototype.supports=function(e){return Wn(e)},e.prototype.create=function(e){return new er(e)},e}(),$n=function(e,t){return t},er=function(){function e(e){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=e||$n}return e.prototype.forEachItem=function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)},e.prototype.forEachOperation=function(e){for(var t=this._itHead,n=this._removalsHead,r=0,o=null;t||n;){var i=!n||t&&t.currentIndex<or(n,r,o)?t:n,s=or(i,r,o),a=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(t=t._next,null==i.previousIndex)r++;else{o||(o=[]);var u=s-r,l=a-r;if(u!=l){for(var c=0;c<u;c++){var d=c<o.length?o[c]:o[c]=0,p=d+c;l<=p&&p<u&&(o[c]=d+1)}o[i.previousIndex]=l-u}}s!==a&&e(i,s,a)}},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachMovedItem=function(e){var t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.forEachIdentityChange=function(e){var t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)},e.prototype.diff=function(e){if(null==e&&(e=[]),!Wn(e))throw new Error("Error trying to diff '"+ee(e)+"'. Only arrays and iterables are allowed");return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var n,r,o,i=this._itHead,s=!1;if(Array.isArray(e)){this.length=e.length;for(var a=0;a<this.length;a++)o=this._trackByFn(a,r=e[a]),null!==i&&$(i.trackById,o)?(s&&(i=this._verifyReinsertion(i,r,o,a)),$(i.item,r)||this._addIdentityChange(i,r)):(i=this._mismatch(i,r,o,a),s=!0),i=i._next}else n=0,function(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++)t(e[n]);else for(var r=e[Q()](),o=void 0;!(o=r.next()).done;)t(o.value)}(e,function(e){o=t._trackByFn(n,e),null!==i&&$(i.trackById,o)?(s&&(i=t._verifyReinsertion(i,e,o,n)),$(i.item,e)||t._addIdentityChange(i,e)):(i=t._mismatch(i,e,o,n),s=!0),i=i._next,n++}),this.length=n;return this._truncate(i),this.collection=e,this.isDirty},Object.defineProperty(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),e.prototype._reset=function(){if(this.isDirty){var e=void 0,t=void 0;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}},e.prototype._mismatch=function(e,t,n,r){var o;return null===e?o=this._itTail:(o=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?($(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,o,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?($(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,o,r)):e=this._addAfter(new tr(t,n),o,r),e},e.prototype._verifyReinsertion=function(e,t,n,r){var o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e},e.prototype._truncate=function(e){for(;null!==e;){var t=e._next;this._addToRemovals(this._unlink(e)),e=t}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)},e.prototype._reinsertAfter=function(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);var r=e._prevRemoved,o=e._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._moveAfter=function(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._addAfter=function(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e},e.prototype._insertAfter=function(e,t,n){var r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new rr),this._linkedRecords.put(e),e.currentIndex=n,e},e.prototype._remove=function(e){return this._addToRemovals(this._unlink(e))},e.prototype._unlink=function(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);var t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e},e.prototype._addToMoves=function(e,t){return e.previousIndex===t?e:(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e,e)},e.prototype._addToRemovals=function(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new rr),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e},e.prototype._addIdentityChange=function(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e},e}(),tr=function(e,t){this.item=e,this.trackById=t,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},nr=function(){function e(){this._head=null,this._tail=null}return e.prototype.add=function(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)},e.prototype.get=function(e,t){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&$(n.trackById,e))return n;return null},e.prototype.remove=function(e){var t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head},e}(),rr=function(){function e(){this.map=new Map}return e.prototype.put=function(e){var t=e.trackById,n=this.map.get(t);n||(n=new nr,this.map.set(t,n)),n.add(e)},e.prototype.get=function(e,t){var n=this.map.get(e);return n?n.get(e,t):null},e.prototype.remove=function(e){var t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e},Object.defineProperty(e.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),e.prototype.clear=function(){this.map.clear()},e}();function or(e,t,n){var r=e.previousIndex;if(null===r)return r;var o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var ir=function(){function e(){}return e.prototype.supports=function(e){return e instanceof Map||Qn(e)},e.prototype.create=function(){return new sr},e}(),sr=function(){function e(){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}return Object.defineProperty(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),e.prototype.forEachItem=function(e){var t;for(t=this._mapHead;null!==t;t=t._next)e(t)},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachChangedItem=function(e){var t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.diff=function(e){if(e){if(!(e instanceof Map||Qn(e)))throw new Error("Error trying to diff '"+ee(e)+"'. Only maps and objects are allowed")}else e=new Map;return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(e,function(e,r){if(n&&n.key===r)t._maybeAddToChanges(n,e),t._appendAfter=n,n=n._next;else{var o=t._getOrCreateRecordForKey(r,e);n=t._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty},e.prototype._insertBeforeOrAppend=function(e,t){if(e){var n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null},e.prototype._getOrCreateRecordForKey=function(e,t){if(this._records.has(e)){var n=this._records.get(e);this._maybeAddToChanges(n,t);var r=n._prev,o=n._next;return r&&(r._next=o),o&&(o._prev=r),n._next=null,n._prev=null,n}var i=new ar(e);return this._records.set(e,i),i.currentValue=t,this._addToAdditions(i),i},e.prototype._reset=function(){if(this.isDirty){var e=void 0;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}},e.prototype._maybeAddToChanges=function(e,t){$(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))},e.prototype._addToAdditions=function(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)},e.prototype._addToChanges=function(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)},e.prototype._forEach=function(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(function(n){return t(e[n],n)})},e}(),ar=function(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null},ur=function(){function e(e){this.factories=e}return e.create=function(t,n){if(null!=n){var r=n.factories.slice();return new e(t=t.concat(r))}return new e(t)},e.extend=function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new q,new H]]}},e.prototype.find=function(e){var t,n=this.factories.find(function(t){return t.supports(e)});if(null!=n)return n;throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+((t=e).name||typeof t)+"'")},e}(),lr=function(){function e(e){this.factories=e}return e.create=function(t,n){if(n){var r=n.factories.slice();t=t.concat(r)}return new e(t)},e.extend=function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new q,new H]]}},e.prototype.find=function(e){var t=this.factories.find(function(t){return t.supports(e)});if(t)return t;throw new Error("Cannot find a differ supporting object '"+e+"'")},e}(),cr=[new ir],dr=new ur([new Jn]),pr=new lr(cr),fr=ln(null,"core",[{provide:ct,useValue:"unknown"},{provide:fn,deps:[ae]},{provide:Qt,deps:[]},{provide:ft,deps:[]}]),hr=new l("LocaleId"),vr=new l("Translations"),yr=new l("TranslationsFormat"),gr=function(){var e={Error:0,Warning:1,Ignore:2};return e[e.Error]="Error",e[e.Warning]="Warning",e[e.Ignore]="Ignore",e}();function mr(){return dr}function _r(){return pr}function br(e){return e||"en-US"}var wr=function(e){},Cr=function(){var e={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return e[e.NONE]="NONE",e[e.HTML]="HTML",e[e.STYLE]="STYLE",e[e.SCRIPT]="SCRIPT",e[e.URL]="URL",e[e.RESOURCE_URL]="RESOURCE_URL",e}(),Er=function(){};function xr(e,t,n){var r=e.state,o=1792&r;return o===t?(e.state=-1793&r|n,e.initIndex=-1,!0):o===n}function Sr(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function Or(e,t){return e.nodes[t]}function Tr(e,t){return e.nodes[t]}function kr(e,t){return e.nodes[t]}function Ir(e,t){return e.nodes[t]}function Ar(e,t){return e.nodes[t]}var Rr=function(){},Pr={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0};function Nr(e,t,n,r){var o="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+t+"'. Current value: '"+n+"'.";return r&&(o+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(e,t){var n=new Error(e);return Dr(n,t),n}(o,e)}function Dr(e,t){e[we]=t,e[Ee]=t.logError.bind(t)}function Mr(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+e)}var jr=function(){},Fr=new Map;function Vr(e){var t=Fr.get(e);return t||(t=ee(e)+"_"+Fr.size,Fr.set(e,t)),t}function Lr(e,t,n,r){if(Gn.isWrapped(r)){r=Gn.unwrap(r);var o=e.def.nodes[t].bindingIndex+n,i=Gn.unwrap(e.oldValues[o]);e.oldValues[o]=new Gn(i)}return r}var Br="$$undefined",Hr="$$empty";function Ur(e){return{id:Br,styles:e.styles,encapsulation:e.encapsulation,data:e.data}}var zr=0;function qr(e){if(e&&e.id===Br){var t=null!=e.encapsulation&&e.encapsulation!==F.None||e.styles.length||Object.keys(e.data).length;e.id=t?"c"+zr++:Hr}return e&&e.id===Hr&&(e=null),e||null}function Zr(e,t,n,r){return!(!(2&e.state)&&$(e.oldValues[t.bindingIndex+n],r))}function Kr(e,t,n,r){return!!Zr(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function Xr(e,t,n,r){var o=e.oldValues[t.bindingIndex+n];if(1&e.state||!Xn(o,r)){var i=t.bindings[n].name;throw Nr(Pr.createDebugContext(e,t.nodeIndex),i+": "+o,i+": "+r,0!=(1&e.state))}}function Gr(e){for(var t=e;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function Yr(e,t){for(var n=e;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function Wr(e,t,n,r){try{return Gr(33554432&e.def.nodes[t].flags?Tr(e,t).componentView:e),Pr.handleEvent(e,t,n,r)}catch(t){e.root.errorHandler.handleError(t)}}function Qr(e){return e.parent?Tr(e.parent,e.parentNodeDef.nodeIndex):null}function Jr(e){return e.parent?e.parentNodeDef.parent:null}function $r(e,t){switch(201347067&t.flags){case 1:return Tr(e,t.nodeIndex).renderElement;case 2:return Or(e,t.nodeIndex).renderText}}function eo(e,t){return e?e+":"+t:t}function to(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function no(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function ro(e){return 1<<e%32}function oo(e){var t={},n=0,r={};return e&&e.forEach(function(e){var o=e[0],i=e[1];"number"==typeof o?(t[o]=i,n|=ro(o)):r[o]=i}),{matchedQueries:t,references:r,matchedQueryIds:n}}function io(e,t){return e.map(function(e){var n,r;return Array.isArray(e)?(r=e[0],n=e[1]):(r=0,n=e),n&&("function"==typeof n||"object"==typeof n)&&t&&Object.defineProperty(n,re,{value:t,configurable:!0}),{flags:r,token:n,tokenKey:Vr(n)}})}function so(e,t,n){var r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===F.Native?Tr(e,n.renderParent.nodeIndex).renderElement:void 0:t}var ao=new WeakMap;function uo(e){var t=ao.get(e);return t||((t=e(function(){return jr})).factory=e,ao.set(e,t)),t}function lo(e,t,n,r,o){3===t&&(n=e.renderer.parentNode($r(e,e.def.lastRenderRootNode))),co(e,t,0,e.def.nodes.length-1,n,r,o)}function co(e,t,n,r,o,i,s){for(var a=n;a<=r;a++){var u=e.def.nodes[a];11&u.flags&&fo(e,u,t,o,i,s),a+=u.childCount}}function po(e,t,n,r,o,i){for(var s=e;s&&!to(s);)s=s.parent;for(var a=s.parent,u=Jr(s),l=u.nodeIndex+u.childCount,c=u.nodeIndex+1;c<=l;c++){var d=a.def.nodes[c];d.ngContentIndex===t&&fo(a,d,n,r,o,i),c+=d.childCount}if(!a.parent){var p=e.root.projectableNodes[t];if(p)for(c=0;c<p.length;c++)ho(e,p[c],n,r,o,i)}}function fo(e,t,n,r,o,i){if(8&t.flags)po(e,t.ngContent.index,n,r,o,i);else{var s=$r(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&ho(e,s,n,r,o,i),32&t.bindingFlags&&ho(Tr(e,t.nodeIndex).componentView,s,n,r,o,i)):ho(e,s,n,r,o,i),16777216&t.flags)for(var a=Tr(e,t.nodeIndex).viewContainer._embeddedViews,u=0;u<a.length;u++)lo(a[u],n,r,o,i);1&t.flags&&!t.element.name&&co(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,o,i)}}function ho(e,t,n,r,o,i){var s=e.renderer;switch(n){case 1:s.appendChild(r,t);break;case 2:s.insertBefore(r,t,o);break;case 3:s.removeChild(r,t);break;case 0:i.push(t)}}var vo=/^:([^:]+):(.+)$/;function yo(e){if(":"===e[0]){var t=e.match(vo);return[t[1],t[2]]}return["",e]}function go(e){for(var t=0,n=0;n<e.length;n++)t|=e[n].flags;return t}function mo(e,t){for(var n="",r=0;r<2*e;r+=2)n=n+t[r]+bo(t[r+1]);return n+t[2*e]}function _o(e,t,n,r,o,i,s,a,u,l,c,d,p,f,h,v,y,g,m,_){switch(e){case 1:return t+bo(n)+r;case 2:return t+bo(n)+r+bo(o)+i;case 3:return t+bo(n)+r+bo(o)+i+bo(s)+a;case 4:return t+bo(n)+r+bo(o)+i+bo(s)+a+bo(u)+l;case 5:return t+bo(n)+r+bo(o)+i+bo(s)+a+bo(u)+l+bo(c)+d;case 6:return t+bo(n)+r+bo(o)+i+bo(s)+a+bo(u)+l+bo(c)+d+bo(p)+f;case 7:return t+bo(n)+r+bo(o)+i+bo(s)+a+bo(u)+l+bo(c)+d+bo(p)+f+bo(h)+v;case 8:return t+bo(n)+r+bo(o)+i+bo(s)+a+bo(u)+l+bo(c)+d+bo(p)+f+bo(h)+v+bo(y)+g;case 9:return t+bo(n)+r+bo(o)+i+bo(s)+a+bo(u)+l+bo(c)+d+bo(p)+f+bo(h)+v+bo(y)+g+bo(m)+_;default:throw new Error("Does not support more than 9 expressions")}}function bo(e){return null!=e?e.toString():""}var wo=[],Co={};function Eo(e,t,n,r,o,i){e|=1;var s=oo(t);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:s.matchedQueries,matchedQueryIds:s.matchedQueryIds,references:s.references,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:i?uo(i):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:o||jr},provider:null,text:null,query:null,ngContent:null}}function xo(e,t,n,r,o,i,s,a,u,l,c,d){void 0===s&&(s=[]),l||(l=jr);var p=oo(n),f=p.matchedQueries,h=p.references,v=p.matchedQueryIds,y=null,g=null;i&&(y=(A=yo(i))[0],g=A[1]),a=a||[];for(var m=new Array(a.length),_=0;_<a.length;_++){var b=a[_],w=b[0],C=b[2],E=yo(b[1]),x=E[0],S=E[1],O=void 0,T=void 0;switch(15&w){case 4:T=C;break;case 1:case 8:O=C}m[_]={flags:w,ns:x,name:S,nonMinifiedName:S,securityContext:O,suffix:T}}u=u||[];var k=new Array(u.length);for(_=0;_<u.length;_++){var I=u[_];k[_]={type:0,target:I[0],eventName:I[1],propName:null}}var A,R=(s=s||[]).map(function(e){var t=e[1],n=yo(e[0]);return[n[0],n[1],t]});return d=qr(d),c&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:f,matchedQueryIds:v,references:h,ngContentIndex:r,childCount:o,bindings:m,bindingFlags:go(m),outputs:k,element:{ns:y,name:g,attrs:R,template:null,componentProvider:null,componentView:c||null,componentRendererType:d,publicProviders:null,allProviders:null,handleEvent:l||jr},provider:null,text:null,query:null,ngContent:null}}function So(e,t,n){var r,o=n.element,i=e.root.selectorOrNode,s=e.renderer;if(e.parent||!i){r=o.name?s.createElement(o.name,o.ns):s.createComment("");var a=so(e,t,n);a&&s.appendChild(a,r)}else r=s.selectRootElement(i);if(o.attrs)for(var u=0;u<o.attrs.length;u++){var l=o.attrs[u];s.setAttribute(r,l[1],l[2],l[0])}return r}function Oo(e,t,n,r){for(var o=0;o<n.outputs.length;o++){var i=n.outputs[o],s=To(e,n.nodeIndex,eo(i.target,i.eventName)),a=i.target,u=e;"component"===i.target&&(a=null,u=t);var l=u.renderer.listen(a||r,i.eventName,s);e.disposables[n.outputIndex+o]=l}}function To(e,t,n){return function(r){return Wr(e,t,n,r)}}function ko(e,t,n,r){if(!Kr(e,t,n,r))return!1;var o=t.bindings[n],i=Tr(e,t.nodeIndex),s=i.renderElement,a=o.name;switch(15&o.flags){case 1:!function(e,t,n,r,o,i){var s=t.securityContext,a=s?e.root.sanitizer.sanitize(s,i):i;a=null!=a?a.toString():null;var u=e.renderer;null!=i?u.setAttribute(n,o,a,r):u.removeAttribute(n,o,r)}(e,o,s,o.ns,a,r);break;case 2:!function(e,t,n,r){var o=e.renderer;r?o.addClass(t,n):o.removeClass(t,n)}(e,s,a,r);break;case 4:!function(e,t,n,r,o){var i=e.root.sanitizer.sanitize(Cr.STYLE,o);if(null!=i){i=i.toString();var s=t.suffix;null!=s&&(i+=s)}else i=null;var a=e.renderer;null!=i?a.setStyle(n,r,i):a.removeStyle(n,r)}(e,o,s,a,r);break;case 8:!function(e,t,n,r,o){var i=t.securityContext,s=i?e.root.sanitizer.sanitize(i,o):o;e.renderer.setProperty(n,r,s)}(33554432&t.flags&&32&o.flags?i.componentView:e,o,s,a,r)}return!0}var Io=new Object,Ao=Vr(ae),Ro=Vr(It);function Po(e,t,n,r){return n=ne(n),{index:-1,deps:io(r,ee(t)),flags:e,token:t,value:n}}function No(e){for(var t={},n=0;n<e.length;n++){var r=e[n];r.index=n,t[Vr(r.token)]=r}return{factory:null,providersByKey:t,providers:e}}function Do(e,t,n){if(void 0===n&&(n=ae.THROW_IF_NOT_FOUND),8&t.flags)return t.token;if(2&t.flags&&(n=null),1&t.flags)return e._parent.get(t.token,n);var r=t.tokenKey;switch(r){case Ao:case Ro:return e}var o=e._def.providersByKey[r];if(o){var i=e._providers[o.index];return void 0===i&&(i=e._providers[o.index]=Mo(e,o)),i===Io?void 0:i}return e._parent.get(t.token,n)}function Mo(e,t){var n;switch(201347067&t.flags){case 512:n=function(e,t,n){var r=n.length;switch(r){case 0:return new t;case 1:return new t(Do(e,n[0]));case 2:return new t(Do(e,n[0]),Do(e,n[1]));case 3:return new t(Do(e,n[0]),Do(e,n[1]),Do(e,n[2]));default:for(var o=new Array(r),i=0;i<r;i++)o[i]=Do(e,n[i]);return new(t.bind.apply(t,[void 0].concat(o)))}}(e,t.value,t.deps);break;case 1024:n=function(e,t,n){var r=n.length;switch(r){case 0:return t();case 1:return t(Do(e,n[0]));case 2:return t(Do(e,n[0]),Do(e,n[1]));case 3:return t(Do(e,n[0]),Do(e,n[1]),Do(e,n[2]));default:for(var o=Array(r),i=0;i<r;i++)o[i]=Do(e,n[i]);return t.apply(void 0,o)}}(e,t.value,t.deps);break;case 2048:n=Do(e,t.deps[0]);break;case 256:n=t.value}return void 0===n?Io:n}function jo(e,t){var n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;var r=n[t];return r.viewContainerParent=null,Bo(n,t),Pr.dirtyParentQueries(r),Vo(r),r}function Fo(e,t,n){var r=t?$r(t,t.def.lastRenderRootNode):e.renderElement;lo(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function Vo(e){lo(e,3,null,null,void 0)}function Lo(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Bo(e,t){t>=e.length-1?e.pop():e.splice(t,1)}var Ho=new Object;function Uo(e,t,n,r,o,i){return new qo(e,t,n,r,o,i)}function zo(e){return e.viewDefFactory}var qo=function(e){function t(t,n,r,o,i,s){var a=e.call(this)||this;return a.selector=t,a.componentType=n,a._inputs=o,a._outputs=i,a.ngContentSelectors=s,a.viewDefFactory=r,a}return Object(r.__extends)(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){var e=[],t=this._inputs;for(var n in t)e.push({propName:n,templateName:t[n]});return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){var e=[];for(var t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,r){if(!r)throw new Error("ngModule should be provided");var o=uo(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,s=Pr.createRootView(e,t||[],n,o,r,Ho),a=kr(s,i).instance;return n&&s.renderer.setAttribute(Tr(s,0).renderElement,"ng-version",L.full),new Zo(s,new Yo(s),a)},t}(bt),Zo=function(e){function t(t,n,r){var o=e.call(this)||this;return o._view=t,o._viewRef=n,o._component=r,o._elDef=o._view.def.nodes[0],o.hostView=n,o.changeDetectorRef=n,o.instance=r,o}return Object(r.__extends)(t,e),Object.defineProperty(t.prototype,"location",{get:function(){return new xn(Tr(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new $o(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._viewRef.destroy()},t.prototype.onDestroy=function(e){this._viewRef.onDestroy(e)},t}(_t);function Ko(e,t,n){return new Xo(e,t,n)}var Xo=function(){function e(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}return Object.defineProperty(e.prototype,"element",{get:function(){return new xn(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new $o(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentInjector",{get:function(){for(var e=this._view,t=this._elDef.parent;!t&&e;)t=Jr(e),e=e.parent;return e?new $o(e,t):new $o(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=jo(this._data,e);Pr.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new Yo(t);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(e.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),e.prototype.createEmbeddedView=function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r},e.prototype.createComponent=function(e,t,n,r,o){var i=n||this.parentInjector;o||e instanceof kt||(o=i.get(It));var s=e.create(i,r,void 0,o);return this.insert(s.hostView,t),s},e.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,o,i,s=e;return o=s._view,i=(n=this._data).viewContainer._embeddedViews,null!==(r=t)&&void 0!==r||(r=i.length),o.viewContainerParent=this._view,Lo(i,r,o),function(e,t){var n=Qr(t);if(n&&n!==e&&!(16&t.state)){t.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),function(e,n){if(!(4&n.flags)){t.parent.def.nodeFlags|=4,n.flags|=4;for(var r=n.parent;r;)r.childFlags|=4,r=r.parent}}(0,t.parentNodeDef)}}(n,o),Pr.dirtyParentQueries(o),Fo(n,r>0?i[r-1]:null,o),s.attachToViewContainerRef(this),e},e.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,o,i,s,a=this._embeddedViews.indexOf(e._view);return o=t,s=(i=(n=this._data).viewContainer._embeddedViews)[r=a],Bo(i,r),null==o&&(o=i.length),Lo(i,o,s),Pr.dirtyParentQueries(s),Vo(s),Fo(n,o>0?i[o-1]:null,s),e},e.prototype.indexOf=function(e){return this._embeddedViews.indexOf(e._view)},e.prototype.remove=function(e){var t=jo(this._data,e);t&&Pr.destroyView(t)},e.prototype.detach=function(e){var t=jo(this._data,e);return t?new Yo(t):null},e}();function Go(e){return new Yo(e)}var Yo=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return lo(this._view,0,void 0,void 0,e=[]),e;var e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),e.prototype.markForCheck=function(){Gr(this._view)},e.prototype.detach=function(){this._view.state&=-5},e.prototype.detectChanges=function(){var e=this._view.root.rendererFactory;e.begin&&e.begin();try{Pr.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){Pr.checkNoChangesView(this._view)},e.prototype.reattach=function(){this._view.state|=4},e.prototype.onDestroy=function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)},e.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Pr.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,Vo(this._view),Pr.dirtyParentQueries(this._view)},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e}();function Wo(e,t){return new Qo(e,t)}var Qo=function(e){function t(t,n){var r=e.call(this)||this;return r._parentView=t,r._def=n,r}return Object(r.__extends)(t,e),t.prototype.createEmbeddedView=function(e){return new Yo(Pr.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new xn(Tr(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(Dn);function Jo(e,t){return new $o(e,t)}var $o=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){return void 0===t&&(t=ae.THROW_IF_NOT_FOUND),Pr.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:Vr(e)},t)},e}();function ei(e,t){var n=e.def.nodes[t];if(1&n.flags){var r=Tr(e,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return Or(e,n.nodeIndex).renderText;if(20240&n.flags)return kr(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function ti(e){return new ni(e.renderer)}var ni=function(){function e(e){this.delegate=e}return e.prototype.selectRootElement=function(e){return this.delegate.selectRootElement(e)},e.prototype.createElement=function(e,t){var n=yo(t),r=this.delegate.createElement(n[1],n[0]);return e&&this.delegate.appendChild(e,r),r},e.prototype.createViewRoot=function(e){return e},e.prototype.createTemplateAnchor=function(e){var t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t},e.prototype.createText=function(e,t){var n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n},e.prototype.projectNodes=function(e,t){for(var n=0;n<t.length;n++)this.delegate.appendChild(e,t[n])},e.prototype.attachViewAfter=function(e,t){for(var n=this.delegate.parentNode(e),r=this.delegate.nextSibling(e),o=0;o<t.length;o++)this.delegate.insertBefore(n,t[o],r)},e.prototype.detachView=function(e){for(var t=0;t<e.length;t++){var n=e[t],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}},e.prototype.destroyView=function(e,t){for(var n=0;n<t.length;n++)this.delegate.destroyNode(t[n])},e.prototype.listen=function(e,t,n){return this.delegate.listen(e,t,n)},e.prototype.listenGlobal=function(e,t,n){return this.delegate.listen(e,t,n)},e.prototype.setElementProperty=function(e,t,n){this.delegate.setProperty(e,t,n)},e.prototype.setElementAttribute=function(e,t,n){var r=yo(t),o=r[0],i=r[1];null!=n?this.delegate.setAttribute(e,i,n,o):this.delegate.removeAttribute(e,i,o)},e.prototype.setBindingDebugInfo=function(e,t,n){},e.prototype.setElementClass=function(e,t,n){n?this.delegate.addClass(e,t):this.delegate.removeClass(e,t)},e.prototype.setElementStyle=function(e,t,n){null!=n?this.delegate.setStyle(e,t,n):this.delegate.removeStyle(e,t)},e.prototype.invokeElementMethod=function(e,t,n){e[t].apply(e,n)},e.prototype.setText=function(e,t){this.delegate.setValue(e,t)},e.prototype.animate=function(){throw new Error("Renderer.animate is no longer supported!")},e}();function ri(e,t,n,r){return new oi(e,t,n,r)}var oi=function(){function e(e,t,n,r){this._moduleType=e,this._parent=t,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){for(var t=e._def,n=e._providers=new Array(t.providers.length),r=0;r<t.providers.length;r++){var o=t.providers[r];4096&o.flags||(n[r]=Mo(e,o))}}(this)}return e.prototype.get=function(e,t){return void 0===t&&(t=ae.THROW_IF_NOT_FOUND),Do(this,{token:e,tokenKey:Vr(e),flags:0},t)},Object.defineProperty(e.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentFactoryResolver",{get:function(){return this.get(Ot)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+ee(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,function(e,t){for(var n=e._def,r=0;r<n.providers.length;r++)if(131072&n.providers[r].flags){var o=e._providers[r];o&&o!==Io&&o.ngOnDestroy()}}(this),this._destroyListeners.forEach(function(e){return e()})},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},e}(),ii=Vr(_n),si=Vr(En),ai=Vr(xn),ui=Vr(Mn),li=Vr(Dn),ci=Vr(jn),di=Vr(ae);function pi(e,t,n,r,o,i,s,a){var u=[];if(s)for(var l in s){var c=s[l];u[c[0]]={flags:8,name:l,nonMinifiedName:c[1],ns:null,securityContext:null,suffix:null}}var d=[];if(a)for(var p in a)d.push({type:1,propName:p,target:null,eventName:a[p]});return vi(e,t|=16384,n,r,o,o,i,u,d)}function fi(e,t,n){return vi(-1,e|=16,null,0,t,t,n)}function hi(e,t,n,r,o){return vi(-1,e,t,0,n,r,o)}function vi(e,t,n,r,o,i,s,a,u){var l=oo(n),c=l.matchedQueries,d=l.references,p=l.matchedQueryIds;u||(u=[]),a||(a=[]),i=ne(i);var f=io(s,ee(o));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:p,references:d,ngContentIndex:-1,childCount:r,bindings:a,bindingFlags:go(a),outputs:u,element:null,provider:{token:o,value:i,deps:f},text:null,query:null,ngContent:null}}function yi(e,t){return bi(e,t)}function gi(e,t){for(var n=e;n.parent&&!to(n);)n=n.parent;return wi(n.parent,Jr(n),!0,t.provider.value,t.provider.deps)}function mi(e,t){var n=wi(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var r=0;r<t.outputs.length;r++){var o=t.outputs[r],i=n[o.propName].subscribe(_i(e,t.parent.nodeIndex,o.eventName));e.disposables[t.outputIndex+r]=i.unsubscribe.bind(i)}return n}function _i(e,t,n){return function(r){return Wr(e,t,n,r)}}function bi(e,t){var n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return wi(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,o){var i=o.length;switch(i){case 0:return r();case 1:return r(Ei(e,t,n,o[0]));case 2:return r(Ei(e,t,n,o[0]),Ei(e,t,n,o[1]));case 3:return r(Ei(e,t,n,o[0]),Ei(e,t,n,o[1]),Ei(e,t,n,o[2]));default:for(var s=Array(i),a=0;a<i;a++)s[a]=Ei(e,t,n,o[a]);return r.apply(void 0,s)}}(e,t.parent,n,r.value,r.deps);case 2048:return Ei(e,t.parent,n,r.deps[0]);case 256:return r.value}}function wi(e,t,n,r,o){var i=o.length;switch(i){case 0:return new r;case 1:return new r(Ei(e,t,n,o[0]));case 2:return new r(Ei(e,t,n,o[0]),Ei(e,t,n,o[1]));case 3:return new r(Ei(e,t,n,o[0]),Ei(e,t,n,o[1]),Ei(e,t,n,o[2]));default:for(var s=new Array(i),a=0;a<i;a++)s[a]=Ei(e,t,n,o[a]);return new(r.bind.apply(r,[void 0].concat(s)))}}var Ci={};function Ei(e,t,n,r,o){if(void 0===o&&(o=ae.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var i=e;2&r.flags&&(o=null);var s=r.tokenKey;for(s===ci&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);e;){if(t)switch(s){case ii:return ti(xi(e,t,n));case si:return xi(e,t,n).renderer;case ai:return new xn(Tr(e,t.nodeIndex).renderElement);case ui:return Tr(e,t.nodeIndex).viewContainer;case li:if(t.element.template)return Tr(e,t.nodeIndex).template;break;case ci:return Go(xi(e,t,n));case di:return Jo(e,t);default:var a=(n?t.element.allProviders:t.element.publicProviders)[s];if(a){var u=kr(e,a.nodeIndex);return u||(u={instance:bi(e,a)},e.nodes[a.nodeIndex]=u),u.instance}}n=to(e),t=Jr(e),e=e.parent}var l=i.root.injector.get(r.token,Ci);return l!==Ci||o===Ci?l:i.root.ngModule.injector.get(r.token,o)}function xi(e,t,n){var r;if(n)r=Tr(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!to(r);)r=r.parent;return r}function Si(e,t,n,r,o,i){if(32768&n.flags){var s=Tr(e,n.parent.nodeIndex).componentView;2&s.def.flags&&(s.state|=8)}if(t.instance[n.bindings[r].name]=o,524288&n.flags){i=i||{};var a=Gn.unwrap(e.oldValues[n.bindingIndex+r]);i[n.bindings[r].nonMinifiedName]=new Yn(a,o,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=o,i}function Oi(e,t){if(e.def.nodeFlags&t)for(var n=e.def.nodes,r=0,o=0;o<n.length;o++){var i=n[o],s=i.parent;for(!s&&i.flags&t&&ki(e,o,i.flags&t,r++),0==(i.childFlags&t)&&(o+=i.childCount);s&&1&s.flags&&o===s.nodeIndex+s.childCount;)s.directChildFlags&t&&(r=Ti(e,s,t,r)),s=s.parent}}function Ti(e,t,n,r){for(var o=t.nodeIndex+1;o<=t.nodeIndex+t.childCount;o++){var i=e.def.nodes[o];i.flags&n&&ki(e,o,i.flags&n,r++),o+=i.childCount}return r}function ki(e,t,n,r){var o=kr(e,t);if(o){var i=o.instance;i&&(Pr.setCurrentNode(e,t),1048576&n&&Sr(e,512,r)&&i.ngAfterContentInit(),2097152&n&&i.ngAfterContentChecked(),4194304&n&&Sr(e,768,r)&&i.ngAfterViewInit(),8388608&n&&i.ngAfterViewChecked(),131072&n&&i.ngOnDestroy())}}function Ii(e,t,n){var r=[];for(var o in n)r.push({propName:o,bindingType:n[o]});return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:t,filterId:ro(t),bindings:r},ngContent:null}}function Ai(e){for(var t=e.def.nodeMatchedQueries;e.parent&&no(e);){var n=e.parentNodeDef;e=e.parent;for(var r=n.nodeIndex+n.childCount,o=0;o<=r;o++)67108864&(i=e.def.nodes[o]).flags&&536870912&i.flags&&(i.query.filterId&t)===i.query.filterId&&Ar(e,o).setDirty(),!(1&i.flags&&o+i.childCount<n.nodeIndex)&&67108864&i.childFlags&&536870912&i.childFlags||(o+=i.childCount)}if(134217728&e.def.nodeFlags)for(o=0;o<e.def.nodes.length;o++){var i;134217728&(i=e.def.nodes[o]).flags&&536870912&i.flags&&Ar(e,o).setDirty(),o+=i.childCount}}function Ri(e,t){var n=Ar(e,t.nodeIndex);if(n.dirty){var r,o=void 0;if(67108864&t.flags){var i=t.parent.parent;o=Pi(e,i.nodeIndex,i.nodeIndex+i.childCount,t.query,[]),r=kr(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(o=Pi(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(o);for(var s=t.query.bindings,a=!1,u=0;u<s.length;u++){var l=s[u],c=void 0;switch(l.bindingType){case 0:c=n.first;break;case 1:c=n,a=!0}r[l.propName]=c}a&&n.notifyOnChanges()}}function Pi(e,t,n,r,o){for(var i=t;i<=n;i++){var s=e.def.nodes[i],a=s.matchedQueries[r.id];if(null!=a&&o.push(Ni(e,s,a)),1&s.flags&&s.element.template&&(s.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var u=Tr(e,i);if((s.childMatchedQueries&r.filterId)===r.filterId&&(Pi(e,i+1,i+s.childCount,r,o),i+=s.childCount),16777216&s.flags)for(var l=u.viewContainer._embeddedViews,c=0;c<l.length;c++){var d=l[c],p=Qr(d);p&&p===u&&Pi(d,0,d.def.nodes.length-1,r,o)}var f=u.template._projectedViews;if(f)for(c=0;c<f.length;c++){var h=f[c];Pi(h,0,h.def.nodes.length-1,r,o)}}(s.childMatchedQueries&r.filterId)!==r.filterId&&(i+=s.childCount)}return o}function Ni(e,t,n){if(null!=n)switch(n){case 1:return Tr(e,t.nodeIndex).renderElement;case 0:return new xn(Tr(e,t.nodeIndex).renderElement);case 2:return Tr(e,t.nodeIndex).template;case 3:return Tr(e,t.nodeIndex).viewContainer;case 4:return kr(e,t.nodeIndex).instance}}function Di(e,t){return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:8,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:t}}}function Mi(e,t,n){var r=so(e,t,n);r&&po(e,n.ngContent.index,1,r,null,void 0)}function ji(e,t){return Li(128,e,new Array(t+1))}function Fi(e,t){return Li(32,e,new Array(t))}function Vi(e,t){for(var n=Object.keys(t),r=n.length,o=new Array(r),i=0;i<r;i++){var s=n[i];o[t[s]]=s}return Li(64,e,o)}function Li(e,t,n){for(var r=new Array(n.length),o=0;o<n.length;o++){var i=n[o];r[o]={flags:8,name:i,ns:null,nonMinifiedName:i,securityContext:null,suffix:null}}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:r,bindingFlags:go(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function Bi(e,t,n){for(var r=new Array(n.length-1),o=1;o<n.length;o++)r[o-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[o]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function Hi(e,t,n){var r,o=e.renderer;r=o.createText(n.text.prefix);var i=so(e,t,n);return i&&o.appendChild(i,r),{renderText:r}}function Ui(e,t){return(null!=e?e.toString():"")+t.suffix}function zi(e,t,n,r){for(var o=0,i=0,s=0,a=0,u=0,l=null,c=null,d=!1,p=!1,f=null,h=0;h<t.length;h++){var v=t[h];if(v.nodeIndex=h,v.parent=l,v.bindingIndex=o,v.outputIndex=i,v.renderParent=c,s|=v.flags,u|=v.matchedQueryIds,v.element){var y=v.element;y.publicProviders=l?l.element.publicProviders:Object.create(null),y.allProviders=y.publicProviders,d=!1,p=!1,v.element.template&&(u|=v.element.template.nodeMatchedQueries)}if(Zi(l,v,t.length),o+=v.bindings.length,i+=v.outputs.length,!c&&3&v.flags&&(f=v),20224&v.flags){d||(d=!0,l.element.publicProviders=Object.create(l.element.publicProviders),l.element.allProviders=l.element.publicProviders);var g=0!=(32768&v.flags);0==(8192&v.flags)||g?l.element.publicProviders[Vr(v.provider.token)]=v:(p||(p=!0,l.element.allProviders=Object.create(l.element.publicProviders)),l.element.allProviders[Vr(v.provider.token)]=v),g&&(l.element.componentProvider=v)}if(l?(l.childFlags|=v.flags,l.directChildFlags|=v.flags,l.childMatchedQueries|=v.matchedQueryIds,v.element&&v.element.template&&(l.childMatchedQueries|=v.element.template.nodeMatchedQueries)):a|=v.flags,v.childCount>0)l=v,qi(v)||(c=v);else for(;l&&h===l.nodeIndex+l.childCount;){var m=l.parent;m&&(m.childFlags|=l.childFlags,m.childMatchedQueries|=l.childMatchedQueries),c=(l=m)&&qi(l)?l.renderParent:l}}return{factory:null,nodeFlags:s,rootNodeFlags:a,nodeMatchedQueries:u,flags:e,nodes:t,updateDirectives:n||jr,updateRenderer:r||jr,handleEvent:function(e,n,r,o){return t[n].element.handleEvent(e,r,o)},bindingCount:o,outputCount:i,lastRenderRootNode:f}}function qi(e){return 0!=(1&e.flags)&&null===e.element.name}function Zi(e,t,n){var r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+t.nodeIndex+"!")}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+t.nodeIndex+"!");if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+t.nodeIndex+"!");if(134217728&t.flags&&e)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+t.nodeIndex+"!")}if(t.childCount){var o=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=o&&t.nodeIndex+t.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+t.nodeIndex+"!")}}function Ki(e,t,n,r){var o=Yi(e.root,e.renderer,e,t,n);return Wi(o,e.component,r),Qi(o),o}function Xi(e,t,n){var r=Yi(e,e.renderer,null,null,t);return Wi(r,n,n),Qi(r),r}function Gi(e,t,n,r){var o,i=t.element.componentRendererType;return o=i?e.root.rendererFactory.createRenderer(r,i):e.root.renderer,Yi(e.root,o,e,t.element.componentProvider,n)}function Yi(e,t,n,r,o){var i=new Array(o.nodes.length),s=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:e,renderer:t,oldValues:new Array(o.bindingCount),disposables:s,initIndex:-1}}function Wi(e,t,n){e.component=t,e.context=n}function Qi(e){var t;to(e)&&(t=Tr(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,r=e.nodes,o=0;o<n.nodes.length;o++){var i=n.nodes[o];Pr.setCurrentNode(e,o);var s=void 0;switch(201347067&i.flags){case 1:var a=So(e,t,i),u=void 0;if(33554432&i.flags){var l=uo(i.element.componentView);u=Pr.createComponentView(e,i,l,a)}Oo(e,u,i,a),s={renderElement:a,componentView:u,viewContainer:null,template:i.element.template?Wo(e,i):void 0},16777216&i.flags&&(s.viewContainer=Ko(e,i,s));break;case 2:s=Hi(e,t,i);break;case 512:case 1024:case 2048:case 256:(s=r[o])||4096&i.flags||(s={instance:yi(e,i)});break;case 16:s={instance:gi(e,i)};break;case 16384:(s=r[o])||(s={instance:mi(e,i)}),32768&i.flags&&Wi(Tr(e,i.parent.nodeIndex).componentView,s.instance,s.instance);break;case 32:case 64:case 128:s={value:void 0};break;case 67108864:case 134217728:s=new In;break;case 8:Mi(e,t,i),s=void 0}r[o]=s}ss(e,is.CreateViewNodes),cs(e,201326592,268435456,0)}function Ji(e){ts(e),Pr.updateDirectives(e,1),as(e,is.CheckNoChanges),Pr.updateRenderer(e,1),ss(e,is.CheckNoChanges),e.state&=-97}function $i(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,xr(e,0,256),ts(e),Pr.updateDirectives(e,0),as(e,is.CheckAndUpdate),cs(e,67108864,536870912,0);var t=xr(e,256,512);Oi(e,2097152|(t?1048576:0)),Pr.updateRenderer(e,0),ss(e,is.CheckAndUpdate),cs(e,134217728,536870912,0),Oi(e,8388608|((t=xr(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,xr(e,768,1024)}function es(e,t,n,r,o,i,s,a,u,l,c,d,p){return 0===n?function(e,t,n,r,o,i,s,a,u,l,c,d){switch(201347067&t.flags){case 1:return function(e,t,n,r,o,i,s,a,u,l,c,d){var p=t.bindings.length,f=!1;return p>0&&ko(e,t,0,n)&&(f=!0),p>1&&ko(e,t,1,r)&&(f=!0),p>2&&ko(e,t,2,o)&&(f=!0),p>3&&ko(e,t,3,i)&&(f=!0),p>4&&ko(e,t,4,s)&&(f=!0),p>5&&ko(e,t,5,a)&&(f=!0),p>6&&ko(e,t,6,u)&&(f=!0),p>7&&ko(e,t,7,l)&&(f=!0),p>8&&ko(e,t,8,c)&&(f=!0),p>9&&ko(e,t,9,d)&&(f=!0),f}(e,t,n,r,o,i,s,a,u,l,c,d);case 2:return function(e,t,n,r,o,i,s,a,u,l,c,d){var p=!1,f=t.bindings,h=f.length;if(h>0&&Kr(e,t,0,n)&&(p=!0),h>1&&Kr(e,t,1,r)&&(p=!0),h>2&&Kr(e,t,2,o)&&(p=!0),h>3&&Kr(e,t,3,i)&&(p=!0),h>4&&Kr(e,t,4,s)&&(p=!0),h>5&&Kr(e,t,5,a)&&(p=!0),h>6&&Kr(e,t,6,u)&&(p=!0),h>7&&Kr(e,t,7,l)&&(p=!0),h>8&&Kr(e,t,8,c)&&(p=!0),h>9&&Kr(e,t,9,d)&&(p=!0),p){var v=t.text.prefix;h>0&&(v+=Ui(n,f[0])),h>1&&(v+=Ui(r,f[1])),h>2&&(v+=Ui(o,f[2])),h>3&&(v+=Ui(i,f[3])),h>4&&(v+=Ui(s,f[4])),h>5&&(v+=Ui(a,f[5])),h>6&&(v+=Ui(u,f[6])),h>7&&(v+=Ui(l,f[7])),h>8&&(v+=Ui(c,f[8])),h>9&&(v+=Ui(d,f[9]));var y=Or(e,t.nodeIndex).renderText;e.renderer.setValue(y,v)}return p}(e,t,n,r,o,i,s,a,u,l,c,d);case 16384:return function(e,t,n,r,o,i,s,a,u,l,c,d){var p=kr(e,t.nodeIndex),f=p.instance,h=!1,v=void 0,y=t.bindings.length;return y>0&&Zr(e,t,0,n)&&(h=!0,v=Si(e,p,t,0,n,v)),y>1&&Zr(e,t,1,r)&&(h=!0,v=Si(e,p,t,1,r,v)),y>2&&Zr(e,t,2,o)&&(h=!0,v=Si(e,p,t,2,o,v)),y>3&&Zr(e,t,3,i)&&(h=!0,v=Si(e,p,t,3,i,v)),y>4&&Zr(e,t,4,s)&&(h=!0,v=Si(e,p,t,4,s,v)),y>5&&Zr(e,t,5,a)&&(h=!0,v=Si(e,p,t,5,a,v)),y>6&&Zr(e,t,6,u)&&(h=!0,v=Si(e,p,t,6,u,v)),y>7&&Zr(e,t,7,l)&&(h=!0,v=Si(e,p,t,7,l,v)),y>8&&Zr(e,t,8,c)&&(h=!0,v=Si(e,p,t,8,c,v)),y>9&&Zr(e,t,9,d)&&(h=!0,v=Si(e,p,t,9,d,v)),v&&f.ngOnChanges(v),65536&t.flags&&Sr(e,256,t.nodeIndex)&&f.ngOnInit(),262144&t.flags&&f.ngDoCheck(),h}(e,t,n,r,o,i,s,a,u,l,c,d);case 32:case 64:case 128:return function(e,t,n,r,o,i,s,a,u,l,c,d){var p=t.bindings,f=!1,h=p.length;if(h>0&&Kr(e,t,0,n)&&(f=!0),h>1&&Kr(e,t,1,r)&&(f=!0),h>2&&Kr(e,t,2,o)&&(f=!0),h>3&&Kr(e,t,3,i)&&(f=!0),h>4&&Kr(e,t,4,s)&&(f=!0),h>5&&Kr(e,t,5,a)&&(f=!0),h>6&&Kr(e,t,6,u)&&(f=!0),h>7&&Kr(e,t,7,l)&&(f=!0),h>8&&Kr(e,t,8,c)&&(f=!0),h>9&&Kr(e,t,9,d)&&(f=!0),f){var v=Ir(e,t.nodeIndex),y=void 0;switch(201347067&t.flags){case 32:y=new Array(p.length),h>0&&(y[0]=n),h>1&&(y[1]=r),h>2&&(y[2]=o),h>3&&(y[3]=i),h>4&&(y[4]=s),h>5&&(y[5]=a),h>6&&(y[6]=u),h>7&&(y[7]=l),h>8&&(y[8]=c),h>9&&(y[9]=d);break;case 64:y={},h>0&&(y[p[0].name]=n),h>1&&(y[p[1].name]=r),h>2&&(y[p[2].name]=o),h>3&&(y[p[3].name]=i),h>4&&(y[p[4].name]=s),h>5&&(y[p[5].name]=a),h>6&&(y[p[6].name]=u),h>7&&(y[p[7].name]=l),h>8&&(y[p[8].name]=c),h>9&&(y[p[9].name]=d);break;case 128:var g=n;switch(h){case 1:y=g.transform(n);break;case 2:y=g.transform(r);break;case 3:y=g.transform(r,o);break;case 4:y=g.transform(r,o,i);break;case 5:y=g.transform(r,o,i,s);break;case 6:y=g.transform(r,o,i,s,a);break;case 7:y=g.transform(r,o,i,s,a,u);break;case 8:y=g.transform(r,o,i,s,a,u,l);break;case 9:y=g.transform(r,o,i,s,a,u,l,c);break;case 10:y=g.transform(r,o,i,s,a,u,l,c,d)}}v.value=y}return f}(e,t,n,r,o,i,s,a,u,l,c,d);default:throw"unreachable"}}(e,t,r,o,i,s,a,u,l,c,d,p):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){for(var r=!1,o=0;o<n.length;o++)ko(e,t,o,n[o])&&(r=!0);return r}(e,t,n);case 2:return function(e,t,n){for(var r=t.bindings,o=!1,i=0;i<n.length;i++)Kr(e,t,i,n[i])&&(o=!0);if(o){var s="";for(i=0;i<n.length;i++)s+=Ui(n[i],r[i]);s=t.text.prefix+s;var a=Or(e,t.nodeIndex).renderText;e.renderer.setValue(a,s)}return o}(e,t,n);case 16384:return function(e,t,n){for(var r=kr(e,t.nodeIndex),o=r.instance,i=!1,s=void 0,a=0;a<n.length;a++)Zr(e,t,a,n[a])&&(i=!0,s=Si(e,r,t,a,n[a],s));return s&&o.ngOnChanges(s),65536&t.flags&&Sr(e,256,t.nodeIndex)&&o.ngOnInit(),262144&t.flags&&o.ngDoCheck(),i}(e,t,n);case 32:case 64:case 128:return function(e,t,n){for(var r=t.bindings,o=!1,i=0;i<n.length;i++)Kr(e,t,i,n[i])&&(o=!0);if(o){var s=Ir(e,t.nodeIndex),a=void 0;switch(201347067&t.flags){case 32:a=n;break;case 64:for(a={},i=0;i<n.length;i++)a[r[i].name]=n[i];break;case 128:var u=n[0],l=n.slice(1);a=u.transform.apply(u,l)}s.value=a}return o}(e,t,n);default:throw"unreachable"}}(e,t,r)}function ts(e){var t=e.def;if(4&t.nodeFlags)for(var n=0;n<t.nodes.length;n++){var r=t.nodes[n];if(4&r.flags){var o=Tr(e,n).template._projectedViews;if(o)for(var i=0;i<o.length;i++){var s=o[i];s.state|=32,Yr(s,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function ns(e,t,n,r,o,i,s,a,u,l,c,d,p){return 0===n?function(e,t,n,r,o,i,s,a,u,l,c,d){var p=t.bindings.length;p>0&&Xr(e,t,0,n),p>1&&Xr(e,t,1,r),p>2&&Xr(e,t,2,o),p>3&&Xr(e,t,3,i),p>4&&Xr(e,t,4,s),p>5&&Xr(e,t,5,a),p>6&&Xr(e,t,6,u),p>7&&Xr(e,t,7,l),p>8&&Xr(e,t,8,c),p>9&&Xr(e,t,9,d)}(e,t,r,o,i,s,a,u,l,c,d,p):function(e,t,n){for(var r=0;r<n.length;r++)Xr(e,t,r,n[r])}(e,t,r),!1}function rs(e,t){if(Ar(e,t.nodeIndex).dirty)throw Nr(Pr.createDebugContext(e,t.nodeIndex),"Query "+t.query.id+" not dirty","Query "+t.query.id+" dirty",0!=(1&e.state))}function os(e){if(!(128&e.state)){if(as(e,is.Destroy),ss(e,is.Destroy),Oi(e,131072),e.disposables)for(var t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(16&e.state){var t=Qr(e);if(t){var n=t.template._projectedViews;n&&(Bo(n,n.indexOf(e)),Pr.dirtyParentQueries(e))}}}(e),e.renderer.destroyNode&&function(e){for(var t=e.def.nodes.length,n=0;n<t;n++){var r=e.def.nodes[n];1&r.flags?e.renderer.destroyNode(Tr(e,n).renderElement):2&r.flags?e.renderer.destroyNode(Or(e,n).renderText):(67108864&r.flags||134217728&r.flags)&&Ar(e,n).destroy()}}(e),to(e)&&e.renderer.destroy(),e.state|=128}}var is=function(){var e={CreateViewNodes:0,CheckNoChanges:1,CheckNoChangesProjectedViews:2,CheckAndUpdate:3,CheckAndUpdateProjectedViews:4,Destroy:5};return e[e.CreateViewNodes]="CreateViewNodes",e[e.CheckNoChanges]="CheckNoChanges",e[e.CheckNoChangesProjectedViews]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews]="CheckAndUpdateProjectedViews",e[e.Destroy]="Destroy",e}();function ss(e,t){var n=e.def;if(33554432&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];33554432&o.flags?us(Tr(e,r).componentView,t):0==(33554432&o.childFlags)&&(r+=o.childCount)}}function as(e,t){var n=e.def;if(16777216&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];if(16777216&o.flags)for(var i=Tr(e,r).viewContainer._embeddedViews,s=0;s<i.length;s++)us(i[s],t);else 0==(16777216&o.childFlags)&&(r+=o.childCount)}}function us(e,t){var n=e.state;switch(t){case is.CheckNoChanges:0==(128&n)&&(12==(12&n)?Ji(e):64&n&&ls(e,is.CheckNoChangesProjectedViews));break;case is.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?Ji(e):64&n&&ls(e,t));break;case is.CheckAndUpdate:0==(128&n)&&(12==(12&n)?$i(e):64&n&&ls(e,is.CheckAndUpdateProjectedViews));break;case is.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?$i(e):64&n&&ls(e,t));break;case is.Destroy:os(e);break;case is.CreateViewNodes:Qi(e)}}function ls(e,t){as(e,t),ss(e,t)}function cs(e,t,n,r){if(e.def.nodeFlags&t&&e.def.nodeFlags&n)for(var o=e.def.nodes.length,i=0;i<o;i++){var s=e.def.nodes[i];if(s.flags&t&&s.flags&n)switch(Pr.setCurrentNode(e,s.nodeIndex),r){case 0:Ri(e,s);break;case 1:rs(e,s)}s.childFlags&t&&s.childFlags&n||(i+=s.childCount)}}var ds=!1;function ps(){if(!ds){ds=!0;var e=sn()?{setCurrentNode:Ds,createRootView:hs,createEmbeddedView:ys,createComponentView:gs,createNgModuleRef:ms,overrideProvider:ws,overrideComponentView:Cs,clearOverrides:Es,checkAndUpdateView:Ts,checkNoChangesView:ks,destroyView:Is,createDebugContext:function(e,t){return new qs(e,t)},handleEvent:Ms,updateDirectives:js,updateRenderer:Fs}:{setCurrentNode:function(){},createRootView:fs,createEmbeddedView:Ki,createComponentView:Gi,createNgModuleRef:ri,overrideProvider:jr,overrideComponentView:jr,clearOverrides:jr,checkAndUpdateView:$i,checkNoChangesView:Ji,destroyView:os,createDebugContext:function(e,t){return new qs(e,t)},handleEvent:function(e,t,n,r){return e.def.handleEvent(e,t,n,r)},updateDirectives:function(e,t){return e.def.updateDirectives(0===t?Ss:Os,e)},updateRenderer:function(e,t){return e.def.updateRenderer(0===t?Ss:Os,e)}};Pr.setCurrentNode=e.setCurrentNode,Pr.createRootView=e.createRootView,Pr.createEmbeddedView=e.createEmbeddedView,Pr.createComponentView=e.createComponentView,Pr.createNgModuleRef=e.createNgModuleRef,Pr.overrideProvider=e.overrideProvider,Pr.overrideComponentView=e.overrideComponentView,Pr.clearOverrides=e.clearOverrides,Pr.checkAndUpdateView=e.checkAndUpdateView,Pr.checkNoChangesView=e.checkNoChangesView,Pr.destroyView=e.destroyView,Pr.resolveDep=Ei,Pr.createDebugContext=e.createDebugContext,Pr.handleEvent=e.handleEvent,Pr.updateDirectives=e.updateDirectives,Pr.updateRenderer=e.updateRenderer,Pr.dirtyParentQueries=Ai}}function fs(e,t,n,r,o,i){return Xi(vs(e,o,o.injector.get(wn),t,n),r,i)}function hs(e,t,n,r,o,i){var s=o.injector.get(wn),a=vs(e,o,new Gs(s),t,n),u=xs(r);return Ks(Ns.create,Xi,null,[a,u,i])}function vs(e,t,n,r,o){var i=t.injector.get(Er),s=t.injector.get(Te);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:o,sanitizer:i,rendererFactory:n,renderer:n.createRenderer(null,null),errorHandler:s}}function ys(e,t,n,r){var o=xs(n);return Ks(Ns.create,Ki,null,[e,t,o,r])}function gs(e,t,n,r){return n=bs.get(t.element.componentProvider.provider.token)||xs(n),Ks(Ns.create,Gi,null,[e,t,n,r])}function ms(e,t,n,r){return ri(e,t,n,function(e){var t=function(e){var t=!1,n=!1;return 0===_s.size?{hasOverrides:t,hasDeprecatedOverrides:n}:(e.providers.forEach(function(e){var r=_s.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),{hasOverrides:t,hasDeprecatedOverrides:n})}(e),n=t.hasDeprecatedOverrides;return t.hasOverrides?(function(e){for(var t=0;t<e.providers.length;t++){var r=e.providers[t];n&&(r.flags|=4096);var o=_s.get(r.token);o&&(r.flags=-3841&r.flags|o.flags,r.deps=io(o.deps),r.value=o.value)}}(e=e.factory(function(){return jr})),e):e}(r))}var _s=new Map,bs=new Map;function ws(e){_s.set(e.token,e)}function Cs(e,t){var n=uo(uo(zo(t)).nodes[0].element.componentView);bs.set(e,n)}function Es(){_s.clear(),bs.clear()}function xs(e){if(0===_s.size)return e;var t=function(e){for(var t=[],n=null,r=0;r<e.nodes.length;r++){var o=e.nodes[r];1&o.flags&&(n=o),n&&3840&o.flags&&_s.has(o.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(function(){return jr});for(var n=0;n<t.length;n++)r(e,t[n]);return e;function r(e,t){for(var n=t+1;n<e.nodes.length;n++){var r=e.nodes[n];if(1&r.flags)return;if(3840&r.flags){var o=r.provider,i=_s.get(o.token);i&&(r.flags=-3841&r.flags|i.flags,o.deps=io(i.deps),o.value=i.value)}}}}function Ss(e,t,n,r,o,i,s,a,u,l,c,d,p){var f=e.def.nodes[t];return es(e,f,n,r,o,i,s,a,u,l,c,d,p),224&f.flags?Ir(e,t).value:void 0}function Os(e,t,n,r,o,i,s,a,u,l,c,d,p){var f=e.def.nodes[t];return ns(e,f,n,r,o,i,s,a,u,l,c,d,p),224&f.flags?Ir(e,t).value:void 0}function Ts(e){return Ks(Ns.detectChanges,$i,null,[e])}function ks(e){return Ks(Ns.checkNoChanges,Ji,null,[e])}function Is(e){return Ks(Ns.destroy,os,null,[e])}var As,Rs,Ps,Ns=function(){var e={create:0,detectChanges:1,checkNoChanges:2,destroy:3,handleEvent:4};return e[e.create]="create",e[e.detectChanges]="detectChanges",e[e.checkNoChanges]="checkNoChanges",e[e.destroy]="destroy",e[e.handleEvent]="handleEvent",e}();function Ds(e,t){Rs=e,Ps=t}function Ms(e,t,n,r){return Ds(e,t),Ks(Ns.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function js(e,t){if(128&e.state)throw Mr(Ns[As]);return Ds(e,Us(e,0)),e.def.updateDirectives(function(e,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var s=e.def.nodes[n];return 0===t?Vs(e,s,r,o):Ls(e,s,r,o),16384&s.flags&&Ds(e,Us(e,n)),224&s.flags?Ir(e,s.nodeIndex).value:void 0},e)}function Fs(e,t){if(128&e.state)throw Mr(Ns[As]);return Ds(e,zs(e,0)),e.def.updateRenderer(function(e,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var s=e.def.nodes[n];return 0===t?Vs(e,s,r,o):Ls(e,s,r,o),3&s.flags&&Ds(e,zs(e,n)),224&s.flags?Ir(e,s.nodeIndex).value:void 0},e)}function Vs(e,t,n,r){if(es.apply(void 0,[e,t,n].concat(r))){var o=1===n?r[0]:r;if(16384&t.flags){for(var i={},s=0;s<t.bindings.length;s++){var a=t.bindings[s],u=o[s];8&a.flags&&(i[(p=a.nonMinifiedName,"ng-reflect-"+(p=p.replace(/[$@]/g,"_").replace(Bs,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"-"+e[1].toLowerCase()})))]=Hs(u))}var l=t.parent,c=Tr(e,l.nodeIndex).renderElement;if(l.element.name)for(var d in i)null!=(u=i[d])?e.renderer.setAttribute(c,d,u):e.renderer.removeAttribute(c,d);else e.renderer.setValue(c,"bindings="+JSON.stringify(i,null,2))}}var p}function Ls(e,t,n,r){ns.apply(void 0,[e,t,n].concat(r))}var Bs=/([A-Z])/g;function Hs(e){try{return null!=e?e.toString().slice(0,30):e}catch(e){return"[ERROR] Exception while trying to serialize the value"}}function Us(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(16384&r.flags&&r.bindings&&r.bindings.length)return n}return null}function zs(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(3&r.flags&&r.bindings&&r.bindings.length)return n}return null}var qs=function(){function e(e,t){this.view=e,this.nodeIndex=t,null==t&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];for(var n=this.nodeDef,r=e;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=Jr(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(e.prototype,"elOrCompView",{get:function(){return Tr(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return Jo(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){var e=[];if(this.elDef)for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){var e={};if(this.elDef){Zs(this.elView,this.elDef,e);for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&Zs(this.elView,n,e),t+=n.childCount}}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentRenderElement",{get:function(){var e=function(e){for(;e&&!to(e);)e=e.parent;return e.parent?Tr(e.parent,Jr(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?$r(this.view,this.nodeDef):$r(this.elView,this.elDef)},enumerable:!0,configurable:!0}),e.prototype.logError=function(e){for(var t,n,r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];2&this.nodeDef.flags?(t=this.view.def,n=this.nodeDef.nodeIndex):(t=this.elView.def,n=this.elDef.nodeIndex);var i=function(e,t){for(var n=-1,r=0;r<=t;r++)3&e.nodes[r].flags&&n++;return n}(t,n),s=-1;t.factory(function(){return++s===i?(t=e.error).bind.apply(t,[e].concat(r)):jr;var t}),s<i&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error.apply(e,r))},e}();function Zs(e,t,n){for(var r in t.references)n[r]=Ni(e,t,t.references[r])}function Ks(e,t,n,r){var o=As,i=Rs,s=Ps;try{As=e;var a=t.apply(n,r);return Rs=i,Ps=s,As=o,a}catch(e){if(xe(e)||!Rs)throw e;throw function(e,t){return e instanceof Error||(e=new Error(e.toString())),Dr(e,t),e}(e,Xs())}}function Xs(){return Rs?new qs(Rs,Ps):null}var Gs=function(){function e(e){this.delegate=e}return e.prototype.createRenderer=function(e,t){return new Ys(this.delegate.createRenderer(e,t))},e.prototype.begin=function(){this.delegate.begin&&this.delegate.begin()},e.prototype.end=function(){this.delegate.end&&this.delegate.end()},e.prototype.whenRenderingDone=function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)},e}(),Ys=function(){function e(e){this.delegate=e,this.data=this.delegate.data}return e.prototype.destroyNode=function(e){!function(e){qn.delete(e.nativeNode)}(Zn(e)),this.delegate.destroyNode&&this.delegate.destroyNode(e)},e.prototype.destroy=function(){this.delegate.destroy()},e.prototype.createElement=function(e,t){var n=this.delegate.createElement(e,t),r=Xs();if(r){var o=new Bn(n,null,r);o.name=e,Kn(o)}return n},e.prototype.createComment=function(e){var t=this.delegate.createComment(e),n=Xs();return n&&Kn(new Ln(t,null,n)),t},e.prototype.createText=function(e){var t=this.delegate.createText(e),n=Xs();return n&&Kn(new Ln(t,null,n)),t},e.prototype.appendChild=function(e,t){var n=Zn(e),r=Zn(t);n&&r&&n instanceof Bn&&n.addChild(r),this.delegate.appendChild(e,t)},e.prototype.insertBefore=function(e,t,n){var r=Zn(e),o=Zn(t),i=Zn(n);r&&o&&r instanceof Bn&&r.insertBefore(i,o),this.delegate.insertBefore(e,t,n)},e.prototype.removeChild=function(e,t){var n=Zn(e),r=Zn(t);n&&r&&n instanceof Bn&&n.removeChild(r),this.delegate.removeChild(e,t)},e.prototype.selectRootElement=function(e){var t=this.delegate.selectRootElement(e),n=Xs();return n&&Kn(new Bn(t,null,n)),t},e.prototype.setAttribute=function(e,t,n,r){var o=Zn(e);o&&o instanceof Bn&&(o.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)},e.prototype.removeAttribute=function(e,t,n){var r=Zn(e);r&&r instanceof Bn&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)},e.prototype.addClass=function(e,t){var n=Zn(e);n&&n instanceof Bn&&(n.classes[t]=!0),this.delegate.addClass(e,t)},e.prototype.removeClass=function(e,t){var n=Zn(e);n&&n instanceof Bn&&(n.classes[t]=!1),this.delegate.removeClass(e,t)},e.prototype.setStyle=function(e,t,n,r){var o=Zn(e);o&&o instanceof Bn&&(o.styles[t]=n),this.delegate.setStyle(e,t,n,r)},e.prototype.removeStyle=function(e,t,n){var r=Zn(e);r&&r instanceof Bn&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)},e.prototype.setProperty=function(e,t,n){var r=Zn(e);r&&r instanceof Bn&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)},e.prototype.listen=function(e,t,n){if("string"!=typeof e){var r=Zn(e);r&&r.listeners.push(new function(e,t){this.name=e,this.callback=t}(t,n))}return this.delegate.listen(e,t,n)},e.prototype.parentNode=function(e){return this.delegate.parentNode(e)},e.prototype.nextSibling=function(e){return this.delegate.nextSibling(e)},e.prototype.setValue=function(e,t){return this.delegate.setValue(e,t)},e}();function Ws(e){return ps(),Pr.overrideProvider(e)}function Qs(e,t){return ps(),Pr.overrideComponentView(e,t)}function Js(){return ps(),Pr.clearOverrides()}function $s(e,t,n){return new ea(e,t,n)}var ea=function(e){function t(t,n,r){var o=e.call(this)||this;return o.moduleType=t,o._bootstrapComponents=n,o._ngModuleDefFactory=r,o}return Object(r.__extends)(t,e),t.prototype.create=function(e){ps();var t=uo(this._ngModuleDefFactory);return Pr.createNgModuleRef(this.moduleType,e||ae.NULL,this._bootstrapComponents,t)},t}(At);function ta(e){return"string"==typeof e?'"'+e+'"':""+e}function na(e,t,n,r){e!=t&&ia(e,t,n,"==",r)}function ra(e,t){oa(e,null,t)}function oa(e,t,n){e==t&&ia(e,t,n,"!=")}function ia(e,t,n,r,o){throw void 0===o&&(o=ta),new Error("ASSERT: expected "+n+" "+r+" "+o(t)+" but was "+o(e)+"!")}function sa(e,t){oa(e,null,"node"),na(3&e.flags,t,"Node.type",aa)}function aa(e){return 1==e?"Projection":0==e?"Container":2==e?"View":3==e?"Element":"??? "+e+" ???"}function ua(e,t,n,r){ngDevMode&&sa(e,0),ngDevMode&&sa(t,2);var o=function(e){for(var t=e;t;){ngDevMode&&sa(t,0);var n=t.data.renderParent;if(null!==n)return n.native;var r=t.parent;if(ngDevMode&&ra(r,"container.parent"),3==(3&r.flags))return null;ngDevMode&&sa(r,2),t=r.parent}return null}(e),i=t.child;if(o)for(;i;){var s=3&i.flags,a=null,u=e.view.renderer,l=u.listen;if(3===s)n?l?u.insertBefore(o,i.native,r):o.insertBefore(i.native,r,!0):l?u.removeChild(o,i.native):o.removeChild(i.native),a=i.next;else if(0===s){var c=i.data;n?l?u.appendChild(o,i.native):o.appendChild(i.native):l?u.removeChild(o,i.native):o.removeChild(i.native),a=c.views.length?c.views[0].child:null}else a=1===s?i.data[0]:i.child;if(null===a){for(;i&&!i.next;)(i=i.parent)===t&&(i=null);i=i&&i.next}else i=a}}function la(e,t){var n=e.data.views,r=n[t];return t>0&&ca(n[t-1],r.next),n.splice(t,1),function(e){for(var t=e;t;){var n=null;if(t.views&&t.views.length?n=t.views[0].data:t.child?n=t.child:t.next&&(pa(t),n=t.next),null==n){for(;t&&!t.next;)pa(t),t=da(t,e);pa(t||e),n=t&&t.next}t=n}}(r.data),ua(e,r,!1),e.query&&e.query.removeView(e,r,t),r}function ca(e,t){e.next=t,e.data.next=t?t.data:null}function da(e,t){var n;return(n=e.node)&&2==(3&n.flags)?n.parent.data:e.parent===t?null:e.parent}function pa(e){if(e.cleanup){for(var t=e.cleanup,n=0;n<t.length-1;n+=2)"string"==typeof t[n]?(t[n+1].removeEventListener(t[n],t[n+2],t[n+3]),n+=2):t[n].call(t[n+1]);e.cleanup=null}}function fa(e,t,n){if(null!==t&&3==(3&e.flags)&&(e.view!==n||null===e.data)){var r=n.renderer;return r.listen?r.appendChild(e.native,t):e.native.appendChild(t),!0}return!1}function ha(e){return"function"==typeof e?e.name||e:"string"==typeof e?e:null==e?"":""+e}"undefined"==typeof ngDevMode&&("undefined"!=typeof window&&(window.ngDevMode=!0),"undefined"!=typeof self&&(self.ngDevMode=!0),void 0!==e&&(e.ngDevMode=!0));var va,ya,ga,ma,_a,ba,wa,Ca,Ea,xa,Sa,Oa=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}(),Ta={createRenderer:function(e,t){return document}},ka="__ngHostLNode__";function Ia(e,t){var n=ba;return Ea=e.data,xa=e.bindingStartIndex||0,_a=e.ngStaticData,Ca=e.creationMode,Sa=e.viewHookStartIndex,va=e.renderer,null!=t&&(ga=t,ma=!0),ba=e,n}function Aa(e){!function(){if(null!=Sa){for(var e=Sa,t=e;e<Ea.length;)Ea[e+1].call(Ea[e+2]),16===Ea[e]&&(t<e&&(Ea[t]=Ea[e],Ea[t+1]=Ea[e+1],Ea[t+2]=Ea[e+2]),t+=3),e+=3;Ea.length=t}}(),Ia(e,null)}function Ra(e,t,n){return{parent:ba,id:e,node:null,data:[],ngStaticData:n,cleanup:null,renderer:t,child:null,tail:null,next:null,bindingStartIndex:null,creationMode:!0,viewHookStartIndex:null}}function Pa(e,t,n,r){var o=ma?ga:ga&&ga.parent,i=(ma?wa:ga&&ga.query)||o&&o.query&&o.query.child(),s=null!=r,a={flags:t,native:n,view:ba,parent:o,child:null,next:null,nodeInjector:o?o.nodeInjector:null,data:s?r:null,query:i,staticData:null};return 2==(2&t)&&s&&(ngDevMode&&na(r.node,null,"viewState.node"),r.node=a),null!=e&&(ngDevMode&&na(Ea.length,e,"data.length not in sequence"),Ea[e]=a,e>=_a.length?_a[e]=null:a.staticData=_a[e],ma?(wa=null,ga.view!==ba&&2!=(3&ga.flags)||(ngDevMode&&na(ga.child,null,"previousNode.child"),ga.child=a)):ga&&(ngDevMode&&na(ga.next,null,"previousNode.next"),ga.next=a)),ga=a,ma=!0,a}function Na(e,t,n,r){var o,i;if(null==t){var s=Ea[e];i=s&&s.native}else{ngDevMode&&na(ba.bindingStartIndex,null,"bindingStartIndex");var a="string"!=typeof t,u=a?t.tag:t;if(null===u)throw"for now name is required";i=va.createElement(u);var l=null;if(a){var c=Da(t.template);l=Qa(Ra(-1,ya.createRenderer(i,t.rendererType),c))}null==(o=Pa(e,3,i,l)).staticData&&(ngDevMode&&nu(e-1),o.staticData=_a[e]=La(u,n||null,null,r||null)),n&&function(e,t){ngDevMode&&na(t.length%2,0,"attrs.length % 2");for(var n=va.setAttribute,r=0;r<t.length;r+=2)n?va.setAttribute(e,t[r],t[1|r]):e.setAttribute(t[r],t[1|r])}(i,n),fa(o.parent,i,ba)}return i}function Da(e){return e.ngStaticData||(e.ngStaticData=[])}function Ma(e,t){return new Error("Renderer: "+e+" ["+ha(t)+"]")}function ja(e,t){ngDevMode&&nu(-1),ya=e;var n=e.createRenderer(null,null),r="string"==typeof t?n.selectRootElement?n.selectRootElement(t):n.querySelector(t):t;if(ngDevMode&&!r)throw Ma("string"==typeof t?"Host node with selector not found:":"Host node is required:",t);return r}function Fa(){ma?ma=!1:(ngDevMode&&tu(),ga=ga.parent),ngDevMode&&sa(ga,3);var e=ga.query;e&&e.addNode(ga)}function Va(e,t,n){if(n!==Ja){var r=Ea[e],o=r.staticData;void 0===o.inputs&&(o.inputs=null,o=function(e,t,n){void 0===n&&(n=!1);for(var r=e>>12,o=r,i=r+((4092&e)>>2);o<i;o++){var s=_a[o],a=n?s.inputs:s.outputs;for(var u in a)if(a.hasOwnProperty(u)){var l=a[u],c=n?t.inputs||(t.inputs={}):t.outputs||(t.outputs={});c.hasOwnProperty(u)?c[u].push(o,l):c[u]=[o,l]}}return t}(r.flags,o,!0));var i,s=o.inputs;if(s&&(i=s[t]))!function(e,t){for(var n=0;n<e.length;n+=2)ngDevMode&&nu(e[n]),Ea[e[n]][e[1|n]]=t}(i,n);else{var a=r.native;va.setProperty?va.setProperty(a,t,n):a.setProperty?a.setProperty(t,n):a[t]=n}}}function La(e,t,n,r){return{tagName:e,attrs:t,localNames:r?[r,-1]:null,initialInputs:void 0,inputs:void 0,outputs:void 0,containerStatic:n}}function Ba(e,t,n,r){if(n!==Ja){var o=Ea[e];null==n?va.removeStyle?va.removeStyle(o.native,t,Oa.DashCase):o.native.style.removeProperty(t):va.setStyle?va.setStyle(o.native,t,r?ha(n)+r:ha(n),Oa.DashCase):o.native.style.setProperty(t,r?ha(n)+r:ha(n))}}function Ha(e,t){ngDevMode&&na(ba.bindingStartIndex,null,"bindingStartIndex");var n=null!=t?va.createText?va.createText(ha(t)):va.createTextNode(ha(t)):null,r=Pa(e,3,n);ma=!1,fa(r.parent,n,ba)}function Ua(e,t){var n=e<Ea.length&&Ea[e];n&&n.native?t!==Ja&&(va.setValue?va.setValue(n.native,ha(t)):n.native.textContent=ha(t)):n?(n.native=va.createText?va.createText(ha(t)):va.createTextNode(ha(t)),function(e,t){var n=e.parent;if(3==(3&n.flags)&&(n.view!==t||null===n.data)){for(var r=e.next,o=null;r&&null===(o=r.native);)r=r.next;var i=t.renderer;i.listen?i.insertBefore(n.native,e.native,o):n.native.insertBefore(e.native,o,!1)}}(n,ba)):Ha(e,t)}function za(e,t,n,r){var o;if(null==t)ngDevMode&&nu(e),o=Ea[e];else{ngDevMode&&na(ba.bindingStartIndex,null,"bindingStartIndex"),ngDevMode&&na(ma,!0,"isParent");var i=ga.flags;if(0==(4092&i)?i=e<<12|4|3&i:i+=4,ga.flags=i,ngDevMode&&nu(e-1),Object.defineProperty(t,ka,{enumerable:!1,value:ga}),Ea[e]=o=t,e>=_a.length&&(_a[e]=n,r)){ngDevMode&&ra(ga.staticData,"previousOrParentNode.staticData");var s=ga.staticData;(s.localNames||(s.localNames=[])).push(r,e)}var a=n.diPublic;a&&a(n);var u=ga.staticData;u&&u.attrs&&function(e,t,r){var o=((4092&ga.flags)>>2)-1,i=r.initialInputs;(void 0===i||o>=i.length)&&(i=function(e,t,n){var r=n.initialInputs||(n.initialInputs=[]);r[e]=null;for(var o=n.attrs,i=0;i<o.length;i+=2){var s=t[o[i]];void 0!==s&&(r[e]||(r[e]=[])).push(s,o[1|i])}return r}(o,n.inputs,r));var s=i[o];if(s)for(var a=0;a<s.length;a+=2)e[s[a]]=s[1|a]}(o,0,u)}return o}function qa(e,t,n,r,o){ngDevMode&&na(ba.bindingStartIndex,null,"bindingStartIndex");var i=va.createComment(ngDevMode?"container":""),s=null,a=ma?ga:ga.parent;ngDevMode&&oa(a,null,"currentParent"),fa(a,i,ba)&&(s=a);var u=Pa(e,0,i,{views:[],nextIndex:0,renderParent:s,template:null==t?null:t,next:null,parent:ba});null==u.staticData&&(u.staticData=_a[e]=La(n||null,r||null,[],o||null)),Qa(u.data)}function Za(){ma?ma=!1:(ngDevMode&&tu(),ga=ga.parent),ngDevMode&&sa(ga,0);var e=ga.query;e&&e.addNode(ga)}function Ka(e){ngDevMode&&nu(e),ga=Ea[e],ngDevMode&&sa(ga,0),ma=!0,ga.data.nextIndex=0}function Xa(){ma?ma=!1:(ngDevMode&&sa(ga,2),ngDevMode&&tu(),ga=ga.parent),ngDevMode&&sa(ga,0);var e=ga;ngDevMode&&sa(e,0);for(var t=e.data.nextIndex;t<e.data.views.length;)la(e,t)}function Ga(e){var t=ma?ga:ga.parent;ngDevMode&&sa(t,0);var n=t.data,r=n.views,o=!Ca&&n.nextIndex<r.length&&r[n.nextIndex],i=o&&e===o.data.id;if(i)ga=r[n.nextIndex++],ngDevMode&&sa(ga,2),ma=!0,Ia(o.data,ga);else{var s=Ra(e,va,function(e,t){ngDevMode&&sa(t,0);var n=t.staticData.containerStatic;return(e>=n.length||null==n[e])&&(n[e]=[]),n[e]}(e,t));Ia(s,Pa(null,2,null,s)),n.nextIndex++}return!i}function Ya(){ma=!1;var e=ga=ba.node,t=ga.parent;ngDevMode&&sa(e,2),ngDevMode&&sa(t,0);var n=t.data,r=n.nextIndex<=n.views.length?n.views[n.nextIndex-1]:null;(null==r||r.data.id!==e.data.id)&&(function(e,t,n){var r=e.data,o=r.views;n>0&&ca(o[n-1],t),n<o.length&&o[n].data.id!==t.data.id?(ca(t,o[n]),o.splice(n,0,t)):n>=o.length&&o.push(t),r.nextIndex<=n&&r.nextIndex++,null!==e.data.renderParent&&ua(e,t,!0,function(t,n,r){var o=n.views;return t+1<o.length?o[t+1].child.native:e.native}(n,r)),e.query&&e.query.insertView(e,t,n)}(t,e,n.nextIndex-1),ba.creationMode=!1),Aa(ba.parent),ngDevMode&&na(ma,!1,"isParent"),ngDevMode&&sa(ga,2)}ba=Ra(null,null,[]);var Wa=function(e,t,n){ngDevMode&&nu(t);var r=Ea[t];ngDevMode&&sa(r,3),ngDevMode&&oa(r.data,null,"isComponent"),ngDevMode&&nu(e);var o=r.data;ngDevMode&&oa(o,null,"hostView");var i=Ea[e],s=Ia(o,r);try{n(i,Ca)}finally{o.creationMode=!1,Aa(s)}};function Qa(e){return ba.tail?ba.tail.next=e:ba.child=e,ba.tail=e,e}var Ja={};function $a(e){var t,n,r;return(t=Ca)?("number"!=typeof ba.bindingStartIndex&&(xa=ba.bindingStartIndex=Ea.length),Ea[xa++]=e):((t=e!==Ja&&(r=e,!((n=Ea[xa])!=n&&r!=r)&&n!==r))&&(Ea[xa]=e),xa++),t?e:Ja}function eu(e,t,n){return $a(t)===Ja?Ja:e+ha(t)+n}function tu(){oa(ga.parent,null,"isParent")}function nu(e,t){var n,r;null==t&&(t=Ea),(n=t?t.length:0)<(r=e)&&ia(n,r,"data.length",">")}function ru(e,t){void 0===t&&(t={});var n,r=t.rendererFactory||Ta,o=e.ngComponentDef,i=ja(r,t.host||o.tag),s=Ia(Ra(-1,r.createRenderer(i,o.rendererType),[]),null);try{ma=!1,ga=null,Pa(0,3,i,Ra(-1,va,Da(o.template))),n=za(1,o.n(),o)}finally{Aa(s)}return t.features&&t.features.forEach(function(e){return e(n,o)}),ou(n),n}function ou(e){ngDevMode&&ra(e,"component");var t=e[ka];ngDevMode&&!t&&Ma("Not a directive instance",e),ngDevMode&&ra(t.data,"hostNode.data"),function(e,n,r,o){var i=Ia(n,t);try{ya.begin&&ya.begin(),r.constructor.ngComponentDef.r(1,0)}finally{ya.end&&ya.end(),n.creationMode=!1,Aa(i)}}(0,t.view,e)}function iu(e){var t={type:e.type,diPublic:null,n:e.factory,tag:e.tag||null,template:e.template||null,r:e.refresh||function(t,n){Wa(t,n,e.template)},h:e.hostBindings||au,inputs:uu(e.inputs),outputs:uu(e.outputs),methods:uu(e.methods),rendererType:qr(e.rendererType)||null},n=e.features;return n&&n.forEach(function(e){return e(t)}),t}var su={};function au(){}function uu(e){if(null==e)return su;var t={};for(var n in e)t[e[n]]=n;return t}function lu(e,t){return{type:7,name:e,definitions:t,options:{}}}function cu(e,t){return void 0===t&&(t=null),{type:4,styles:t,timings:e}}function du(e,t){return void 0===t&&(t=null),{type:3,steps:e,options:t}}function pu(e,t){return void 0===t&&(t=null),{type:2,steps:e,options:t}}function fu(e){return{type:6,styles:e,offset:null}}function hu(e,t,n){return{type:0,name:e,styles:t,options:n}}function vu(e){return{type:5,steps:e}}function yu(e,t,n){return void 0===n&&(n=null),{type:1,expr:e,animation:t,options:n}}var gu="*";function mu(e,t){return lu(e,t)}function _u(e,t){return cu(e,t)}function bu(e){return du(e)}function wu(e){return pu(e)}function Cu(e){return fu(e)}function Eu(e,t){return hu(e,t)}function xu(e){return vu(e)}function Su(e,t){return yu(e,t)}}.call(t,n("GTd5"))},NGRF:function(e,t,n){"use strict";t.a=function(e){return null!=e&&"object"==typeof e}},NePw:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r={e:{}}},NijM:function(e,t,n){"use strict";var r=n("6Xbx").__decorate,o=n("LMZF"),i=n("Kg3V"),s=n("sY2v"),a=function(){};a=r([o.NgModule({exports:[i.DragulaDirective],declarations:[i.DragulaDirective],providers:[s.DragulaService]})],a),t.DragulaModule=a},Oryw:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var r=n("6Xbx"),o=n("AP4T"),i=n("8Ut3"),s=n("Ecq+"),a=n("3iOE"),u=function(e){function t(t,n){e.call(this),this.array=t,this.scheduler=n,n||1!==t.length||(this._isScalar=!0,this.value=t[0])}return Object(r.__extends)(t,e),t.create=function(e,n){return new t(e,n)},t.of=function(){for(var e=[],n=0;n<arguments.length;n++)e[n-0]=arguments[n];var r=e[e.length-1];Object(a.a)(r)?e.pop():r=null;var o=e.length;return o>1?new t(e,r):1===o?new i.a(e[0],r):new s.a(r)},t.dispatch=function(e){var t=e.array,n=e.index,r=e.subscriber;n>=e.count?r.complete():(r.next(t[n]),r.closed||(e.index=n+1,this.schedule(e)))},t.prototype._subscribe=function(e){var n=this.array,r=n.length,o=this.scheduler;if(o)return o.schedule(t.dispatch,0,{array:n,index:0,count:r,subscriber:e});for(var i=0;i<r&&!e.closed;i++)e.next(n[i]);e.complete()},t}(o.a)},TO51:function(e,t,n){"use strict";var r=n("6Xbx"),o=n("AP4T"),i=n("E9/g"),s=n("qLnt"),a=n("Upor"),u=function(e){function t(t,n){e.call(this),this.subject=t,this.subscriber=n,this.closed=!1}return Object(r.__extends)(t,e),t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}},t}(s.a),l=n("V7AE");n.d(t,"b",function(){return c}),n.d(t,"a",function(){return d});var c=function(e){function t(t){e.call(this,t),this.destination=t}return Object(r.__extends)(t,e),t}(i.a),d=function(e){function t(){e.call(this),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}return Object(r.__extends)(t,e),t.prototype[l.a]=function(){return new c(this)},t.prototype.lift=function(e){var t=new p(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new a.a;if(!this.isStopped)for(var t=this.observers,n=t.length,r=t.slice(),o=0;o<n;o++)r[o].next(e)},t.prototype.error=function(e){if(this.closed)throw new a.a;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,n=t.length,r=t.slice(),o=0;o<n;o++)r[o].error(e);this.observers.length=0},t.prototype.complete=function(){if(this.closed)throw new a.a;this.isStopped=!0;for(var e=this.observers,t=e.length,n=e.slice(),r=0;r<t;r++)n[r].complete();this.observers.length=0},t.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},t.prototype._trySubscribe=function(t){if(this.closed)throw new a.a;return e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){if(this.closed)throw new a.a;return this.hasError?(e.error(this.thrownError),s.a.EMPTY):this.isStopped?(e.complete(),s.a.EMPTY):(this.observers.push(e),new u(this,e))},t.prototype.asObservable=function(){var e=new o.a;return e.source=this,e},t.create=function(e,t){return new p(e,t)},t}(o.a),p=function(e){function t(t,n){e.call(this),this.destination=t,this.source=n}return Object(r.__extends)(t,e),t.prototype.next=function(e){var t=this.destination;t&&t.next&&t.next(e)},t.prototype.error=function(e){var t=this.destination;t&&t.error&&this.destination.error(e)},t.prototype.complete=function(){var e=this.destination;e&&e.complete&&this.destination.complete()},t.prototype._subscribe=function(e){return this.source?this.source.subscribe(e):s.a.EMPTY},t}(d)},URbD:function(e,t,n){"use strict";t.a=function(){return Object(r.a)()(this)};var r=n("eIqN")},Upor:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("6Xbx"),o=function(e){function t(){var t=e.call(this,"object unsubscribed");this.name=t.name="ObjectUnsubscribedError",this.stack=t.stack,this.message=t.message}return Object(r.__extends)(t,e),t}(Error)},V7AE:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("xIGM").a.Symbol,o="function"==typeof r&&"function"==typeof r.for?r.for("rxSubscriber"):"@@rxSubscriber"},VlH2:function(e,t){var n="function"==typeof setImmediate;e.exports=n?function(e){setImmediate(e)}:function(e){setTimeout(e,0)}},WMjF:function(e,t,n){"use strict";(function(t){var r=n("7MSi"),o=n("D0JW"),i=t.document,s=function(e,t,n,r){return e.addEventListener(t,n,r)},a=function(e,t,n,r){return e.removeEventListener(t,n,r)},u=[];function l(e,t,n){var r=function(e,t,n){var r,o;for(r=0;r<u.length;r++)if((o=u[r]).element===e&&o.type===t&&o.fn===n)return r}(e,t,n);if(r){var o=u[r].wrapper;return u.splice(r,1),o}}t.addEventListener||(s=function(e,n,r){return e.attachEvent("on"+n,function(e,n,r){var o=l(e,n,r)||function(e,n,r){return function(n){var o=n||t.event;o.target=o.target||o.srcElement,o.preventDefault=o.preventDefault||function(){o.returnValue=!1},o.stopPropagation=o.stopPropagation||function(){o.cancelBubble=!0},o.which=o.which||o.keyCode,r.call(e,o)}}(e,0,r);return u.push({wrapper:o,element:e,type:n,fn:r}),o}(e,n,r))},a=function(e,t,n){var r=l(e,t,n);if(r)return e.detachEvent("on"+t,r)}),e.exports={add:s,remove:a,fabricate:function(e,t,n){var s=-1===o.indexOf(t)?new r(t,{detail:n}):function(){var e;return i.createEvent?(e=i.createEvent("Event")).initEvent(t,!0,!0):i.createEventObject&&(e=i.createEventObject()),e}();e.dispatchEvent?e.dispatchEvent(s):e.fireEvent("on"+t,s)}}}).call(t,n("GTd5"))},X3fp:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(e){var t=e.Symbol;if("function"==typeof t)return t.iterator||(t.iterator=t("iterator polyfill")),t.iterator;var n=e.Set;if(n&&"function"==typeof(new n)["@@iterator"])return"@@iterator";var r=e.Map;if(r)for(var o=Object.getOwnPropertyNames(r.prototype),i=0;i<o.length;++i){var s=o[i];if("entries"!==s&&"size"!==s&&r.prototype[s]===r.prototype.entries)return s}return"@@iterator"}(n("xIGM").a)},YuZA:function(e,t){function n(e){return Promise.resolve().then(function(){throw new Error("Cannot find module '"+e+"'.")})}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="YuZA"},bywS:function(e,t,n){"use strict";var r=n("wP3s");function o(e){return e}t.a=function(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),Object(r.a)(o,null,e)}},cDNt:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("LMZF"),o=n("6Xbx"),i=function(){},s=["en",[["a","p"],["AM","PM"]],[["AM","PM"],,],[["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"]],,[["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"]],,[["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}",,"{1} 'at' {0}"],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],a={},u=function(){var e={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return e[e.Zero]="Zero",e[e.One]="One",e[e.Two]="Two",e[e.Few]="Few",e[e.Many]="Many",e[e.Other]="Other",e}(),l=new r.InjectionToken("UseV4Plurals"),c=function(){},d=function(e){function t(t,n){var r=e.call(this)||this;return r.locale=t,r.deprecatedPluralFn=n,r}return Object(o.__extends)(t,e),t.prototype.getPluralCategory=function(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):function(e){return function(e){var t=e.toLowerCase().replace(/_/g,"-"),n=a[t];if(n)return n;var r=t.split("-")[0];if(n=a[r])return n;if("en"===r)return s;throw new Error('Missing locale data for the locale "'+e+'".')}(e)[17]}(t||this.locale)(e)){case u.Zero:return"zero";case u.One:return"one";case u.Two:return"two";case u.Few:return"few";case u.Many:return"many";default:return"other"}},t}(c);function p(e,t){t=encodeURIComponent(t);for(var n=0,r=e.split(";");n<r.length;n++){var o=r[n],i=o.indexOf("="),s=-1==i?[o,""]:[o.slice(0,i),o.slice(i+1)],a=s[1];if(s[0].trim()===t)return decodeURIComponent(a)}return null}var f=function(){function e(e,t,n,r){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=r,this._initialClasses=[]}return Object.defineProperty(e.prototype,"klass",{set:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClass",{set:function(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Object(r["\u0275isListLikeIterable"])(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}},e.prototype._applyKeyValueChanges=function(e){var t=this;e.forEachAddedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachChangedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachRemovedItem(function(e){e.previousValue&&t._toggleClass(e.key,!1)})},e.prototype._applyIterableChanges=function(e){var t=this;e.forEachAddedItem(function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(r["\u0275stringify"])(e.item));t._toggleClass(e.item,!0)}),e.forEachRemovedItem(function(e){return t._toggleClass(e.item,!1)})},e.prototype._applyClasses=function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!0)}):Object.keys(e).forEach(function(n){return t._toggleClass(n,!!e[n])}))},e.prototype._removeClasses=function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!1)}):Object.keys(e).forEach(function(e){return t._toggleClass(e,!1)}))},e.prototype._toggleClass=function(e,t){var n=this;(e=e.trim())&&e.split(/\s+/g).forEach(function(e){t?n._renderer.addClass(n._ngEl.nativeElement,e):n._renderer.removeClass(n._ngEl.nativeElement,e)})},e}(),h=function(){function e(e,t,n,r){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=r}return Object.defineProperty(e.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),e}(),v=function(){function e(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._differ=null}return Object.defineProperty(e.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(e){Object(r.isDevMode)()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(e)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngForTemplate",{set:function(e){e&&(this._template=e)},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){if("ngForOf"in e){var t=e.ngForOf.currentValue;if(!this._differ&&t)try{this._differ=this._differs.find(t).create(this.ngForTrackBy)}catch(e){throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+((n=t).name||typeof n)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var n},e.prototype.ngDoCheck=function(){if(this._differ){var e=this._differ.diff(this.ngForOf);e&&this._applyChanges(e)}},e.prototype._applyChanges=function(e){var t=this,n=[];e.forEachOperation(function(e,r,o){if(null==e.previousIndex){var i=t._viewContainer.createEmbeddedView(t._template,new h(null,t.ngForOf,-1,-1),o),s=new y(e,i);n.push(s)}else null==o?t._viewContainer.remove(r):(i=t._viewContainer.get(r),t._viewContainer.move(i,o),s=new y(e,i),n.push(s))});for(var r=0;r<n.length;r++)this._perViewChange(n[r].view,n[r].record);r=0;for(var o=this._viewContainer.length;r<o;r++){var i=this._viewContainer.get(r);i.context.index=r,i.context.count=o}e.forEachIdentityChange(function(e){t._viewContainer.get(e.currentIndex).context.$implicit=e.item})},e.prototype._perViewChange=function(e,t){e.context.$implicit=t.item},e}(),y=function(e,t){this.record=e,this.view=t},g=function(){function e(e,t){this._viewContainer=e,this._context=new m,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}return Object.defineProperty(e.prototype,"ngIf",{set:function(e){this._context.$implicit=this._context.ngIf=e,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngIfThen",{set:function(e){this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngIfElse",{set:function(e){this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),e.prototype._updateView=function(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))},e}(),m=function(){this.$implicit=null,this.ngIf=null},_=function(){},b=new r.InjectionToken("DocumentToken"),w=null;function C(){return w}var E,x={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},S={"\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"},O={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"};r["\u0275global"].Node&&(E=r["\u0275global"].Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))});var T,k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.parse=function(e){throw new Error("parse not implemented")},t.makeCurrent=function(){var e;e=new t,w||(w=e)},t.prototype.hasProperty=function(e,t){return t in e},t.prototype.setProperty=function(e,t,n){e[t]=n},t.prototype.getProperty=function(e,t){return e[t]},t.prototype.invoke=function(e,t,n){var r;(r=e)[t].apply(r,n)},t.prototype.logError=function(e){window.console&&(console.error?console.error(e):console.log(e))},t.prototype.log=function(e){window.console&&window.console.log&&window.console.log(e)},t.prototype.logGroup=function(e){window.console&&window.console.group&&window.console.group(e)},t.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return x},enumerable:!0,configurable:!0}),t.prototype.contains=function(e,t){return E.call(e,t)},t.prototype.querySelector=function(e,t){return e.querySelector(t)},t.prototype.querySelectorAll=function(e,t){return e.querySelectorAll(t)},t.prototype.on=function(e,t,n){e.addEventListener(t,n,!1)},t.prototype.onAndCancel=function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}},t.prototype.dispatchEvent=function(e,t){e.dispatchEvent(t)},t.prototype.createMouseEvent=function(e){var t=this.getDefaultDocument().createEvent("MouseEvent");return t.initEvent(e,!0,!0),t},t.prototype.createEvent=function(e){var t=this.getDefaultDocument().createEvent("Event");return t.initEvent(e,!0,!0),t},t.prototype.preventDefault=function(e){e.preventDefault(),e.returnValue=!1},t.prototype.isPrevented=function(e){return e.defaultPrevented||null!=e.returnValue&&!e.returnValue},t.prototype.getInnerHTML=function(e){return e.innerHTML},t.prototype.getTemplateContent=function(e){return"content"in e&&this.isTemplateElement(e)?e.content:null},t.prototype.getOuterHTML=function(e){return e.outerHTML},t.prototype.nodeName=function(e){return e.nodeName},t.prototype.nodeValue=function(e){return e.nodeValue},t.prototype.type=function(e){return e.type},t.prototype.content=function(e){return this.hasProperty(e,"content")?e.content:e},t.prototype.firstChild=function(e){return e.firstChild},t.prototype.nextSibling=function(e){return e.nextSibling},t.prototype.parentElement=function(e){return e.parentNode},t.prototype.childNodes=function(e){return e.childNodes},t.prototype.childNodesAsList=function(e){for(var t=e.childNodes,n=new Array(t.length),r=0;r<t.length;r++)n[r]=t[r];return n},t.prototype.clearNodes=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},t.prototype.appendChild=function(e,t){e.appendChild(t)},t.prototype.removeChild=function(e,t){e.removeChild(t)},t.prototype.replaceChild=function(e,t,n){e.replaceChild(t,n)},t.prototype.remove=function(e){return e.parentNode&&e.parentNode.removeChild(e),e},t.prototype.insertBefore=function(e,t,n){e.insertBefore(n,t)},t.prototype.insertAllBefore=function(e,t,n){n.forEach(function(n){return e.insertBefore(n,t)})},t.prototype.insertAfter=function(e,t,n){e.insertBefore(n,t.nextSibling)},t.prototype.setInnerHTML=function(e,t){e.innerHTML=t},t.prototype.getText=function(e){return e.textContent},t.prototype.setText=function(e,t){e.textContent=t},t.prototype.getValue=function(e){return e.value},t.prototype.setValue=function(e,t){e.value=t},t.prototype.getChecked=function(e){return e.checked},t.prototype.setChecked=function(e,t){e.checked=t},t.prototype.createComment=function(e){return this.getDefaultDocument().createComment(e)},t.prototype.createTemplate=function(e){var t=this.getDefaultDocument().createElement("template");return t.innerHTML=e,t},t.prototype.createElement=function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)},t.prototype.createElementNS=function(e,t,n){return(n=n||this.getDefaultDocument()).createElementNS(e,t)},t.prototype.createTextNode=function(e,t){return(t=t||this.getDefaultDocument()).createTextNode(e)},t.prototype.createScriptTag=function(e,t,n){var r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(e,t),r},t.prototype.createStyleElement=function(e,t){var n=(t=t||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(e,t)),n},t.prototype.createShadowRoot=function(e){return e.createShadowRoot()},t.prototype.getShadowRoot=function(e){return e.shadowRoot},t.prototype.getHost=function(e){return e.host},t.prototype.clone=function(e){return e.cloneNode(!0)},t.prototype.getElementsByClassName=function(e,t){return e.getElementsByClassName(t)},t.prototype.getElementsByTagName=function(e,t){return e.getElementsByTagName(t)},t.prototype.classList=function(e){return Array.prototype.slice.call(e.classList,0)},t.prototype.addClass=function(e,t){e.classList.add(t)},t.prototype.removeClass=function(e,t){e.classList.remove(t)},t.prototype.hasClass=function(e,t){return e.classList.contains(t)},t.prototype.setStyle=function(e,t,n){e.style[t]=n},t.prototype.removeStyle=function(e,t){e.style[t]=""},t.prototype.getStyle=function(e,t){return e.style[t]},t.prototype.hasStyle=function(e,t,n){var r=this.getStyle(e,t)||"";return n?r==n:r.length>0},t.prototype.tagName=function(e){return e.tagName},t.prototype.attributeMap=function(e){for(var t=new Map,n=e.attributes,r=0;r<n.length;r++){var o=n.item(r);t.set(o.name,o.value)}return t},t.prototype.hasAttribute=function(e,t){return e.hasAttribute(t)},t.prototype.hasAttributeNS=function(e,t,n){return e.hasAttributeNS(t,n)},t.prototype.getAttribute=function(e,t){return e.getAttribute(t)},t.prototype.getAttributeNS=function(e,t,n){return e.getAttributeNS(t,n)},t.prototype.setAttribute=function(e,t,n){e.setAttribute(t,n)},t.prototype.setAttributeNS=function(e,t,n,r){e.setAttributeNS(t,n,r)},t.prototype.removeAttribute=function(e,t){e.removeAttribute(t)},t.prototype.removeAttributeNS=function(e,t,n){e.removeAttributeNS(t,n)},t.prototype.templateAwareRoot=function(e){return this.isTemplateElement(e)?this.content(e):e},t.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},t.prototype.getDefaultDocument=function(){return document},t.prototype.getBoundingClientRect=function(e){try{return e.getBoundingClientRect()}catch(e){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},t.prototype.getTitle=function(e){return e.title},t.prototype.setTitle=function(e,t){e.title=t||""},t.prototype.elementMatches=function(e,t){return!!this.isElementNode(e)&&(e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t))},t.prototype.isTemplateElement=function(e){return this.isElementNode(e)&&"TEMPLATE"===e.nodeName},t.prototype.isTextNode=function(e){return e.nodeType===Node.TEXT_NODE},t.prototype.isCommentNode=function(e){return e.nodeType===Node.COMMENT_NODE},t.prototype.isElementNode=function(e){return e.nodeType===Node.ELEMENT_NODE},t.prototype.hasShadowRoot=function(e){return null!=e.shadowRoot&&e instanceof HTMLElement},t.prototype.isShadowRoot=function(e){return e instanceof DocumentFragment},t.prototype.importIntoDoc=function(e){return document.importNode(this.templateAwareRoot(e),!0)},t.prototype.adoptNode=function(e){return document.adoptNode(e)},t.prototype.getHref=function(e){return e.getAttribute("href")},t.prototype.getEventKey=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&O.hasOwnProperty(t)&&(t=O[t]))}return S[t]||t},t.prototype.getGlobalEventTarget=function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null},t.prototype.getHistory=function(){return window.history},t.prototype.getLocation=function(){return window.location},t.prototype.getBaseHref=function(e){var t,n=I||(I=document.querySelector("base"))?I.getAttribute("href"):null;return null==n?null:(t=n,T||(T=document.createElement("a")),T.setAttribute("href",t),"/"===T.pathname.charAt(0)?T.pathname:"/"+T.pathname)},t.prototype.resetBaseElement=function(){I=null},t.prototype.getUserAgent=function(){return window.navigator.userAgent},t.prototype.setData=function(e,t,n){this.setAttribute(e,"data-"+t,n)},t.prototype.getData=function(e,t){return this.getAttribute(e,"data-"+t)},t.prototype.getComputedStyle=function(e){return getComputedStyle(e)},t.prototype.supportsWebAnimation=function(){return"function"==typeof Element.prototype.animate},t.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},t.prototype.supportsCookies=function(){return!0},t.prototype.getCookie=function(e){return p(document.cookie,e)},t.prototype.setCookie=function(e,t){document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)},t}(function(e){function t(){var t=e.call(this)||this;t._animationPrefix=null,t._transitionEnd=null;try{var n=t.createElement("div",document);if(null!=t.getStyle(n,"animationName"))t._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],o=0;o<r.length;o++)if(null!=t.getStyle(n,r[o]+"AnimationName")){t._animationPrefix="-"+r[o].toLowerCase()+"-";break}var i={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(i).forEach(function(e){null!=t.getStyle(n,e)&&(t._transitionEnd=i[e])})}catch(e){t._animationPrefix=null,t._transitionEnd=null}return t}return Object(o.__extends)(t,e),t.prototype.getDistributedNodes=function(e){return e.getDistributedNodes()},t.prototype.resolveAndSetHref=function(e,t,n){e.href=null==n?t:t+"/../"+n},t.prototype.supportsDOMEvents=function(){return!0},t.prototype.supportsNativeShadowDOM=function(){return"function"==typeof document.body.createShadowRoot},t.prototype.getAnimationPrefix=function(){return this._animationPrefix?this._animationPrefix:""},t.prototype.getTransitionEnd=function(){return this._transitionEnd?this._transitionEnd:""},t.prototype.supportsAnimation=function(){return null!=this._animationPrefix&&null!=this._transitionEnd},t}(function(){function e(){this.resourceLoaderType=null}return Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(e){this._attrToPropMap=e},enumerable:!0,configurable:!0}),e}())),I=null,A=b;function R(){return!!window.history.pushState}var P=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n._init(),n}return Object(o.__extends)(t,e),t.prototype._init=function(){this.location=C().getLocation(),this._history=C().getHistory()},t.prototype.getBaseHrefFromDOM=function(){return C().getBaseHref(this._doc)},t.prototype.onPopState=function(e){C().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)},t.prototype.onHashChange=function(e){C().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)},Object.defineProperty(t.prototype,"pathname",{get:function(){return this.location.pathname},set:function(e){this.location.pathname=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"search",{get:function(){return this.location.search},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hash",{get:function(){return this.location.hash},enumerable:!0,configurable:!0}),t.prototype.pushState=function(e,t,n){R()?this._history.pushState(e,t,n):this.location.hash=n},t.prototype.replaceState=function(e,t,n){R()?this._history.replaceState(e,t,n):this.location.hash=n},t.prototype.forward=function(){this._history.forward()},t.prototype.back=function(){this._history.back()},t.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Inject,args:[A]}]}]},t}(i),N=function(){function e(e){this._doc=e,this._dom=C()}return e.prototype.addTag=function(e,t){return void 0===t&&(t=!1),e?this._getOrCreateElement(e,t):null},e.prototype.addTags=function(e,t){var n=this;return void 0===t&&(t=!1),e?e.reduce(function(e,r){return r&&e.push(n._getOrCreateElement(r,t)),e},[]):[]},e.prototype.getTag=function(e){return e&&this._dom.querySelector(this._doc,"meta["+e+"]")||null},e.prototype.getTags=function(e){if(!e)return[];var t=this._dom.querySelectorAll(this._doc,"meta["+e+"]");return t?[].slice.call(t):[]},e.prototype.updateTag=function(e,t){if(!e)return null;t=t||this._parseSelector(e);var n=this.getTag(t);return n?this._setMetaElementAttributes(e,n):this._getOrCreateElement(e,!0)},e.prototype.removeTag=function(e){this.removeTagElement(this.getTag(e))},e.prototype.removeTagElement=function(e){e&&this._dom.remove(e)},e.prototype._getOrCreateElement=function(e,t){if(void 0===t&&(t=!1),!t){var n=this._parseSelector(e),r=this.getTag(n);if(r&&this._containsAttributes(e,r))return r}var o=this._dom.createElement("meta");this._setMetaElementAttributes(e,o);var i=this._dom.getElementsByTagName(this._doc,"head")[0];return this._dom.appendChild(i,o),o},e.prototype._setMetaElementAttributes=function(e,t){var n=this;return Object.keys(e).forEach(function(r){return n._dom.setAttribute(t,r,e[r])}),t},e.prototype._parseSelector=function(e){var t=e.name?"name":"property";return t+'="'+e[t]+'"'},e.prototype._containsAttributes=function(e,t){var n=this;return Object.keys(e).every(function(r){return n._dom.getAttribute(t,r)===e[r]})},e}(),D=new r.InjectionToken("TRANSITION_ID"),M=[{provide:r.APP_INITIALIZER,useFactory:function(e,t,n){return function(){n.get(r.ApplicationInitStatus).donePromise.then(function(){var n=C();Array.prototype.slice.apply(n.querySelectorAll(t,"style[ng-transition]")).filter(function(t){return n.getAttribute(t,"ng-transition")===e}).forEach(function(e){return n.remove(e)})})}},deps:[D,A,r.Injector],multi:!0}],j=function(){function e(){}return e.init=function(){Object(r.setTestabilityGetter)(new e)},e.prototype.addToWindow=function(e){r["\u0275global"].getAngularTestability=function(t,n){void 0===n&&(n=!0);var r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},r["\u0275global"].getAllAngularTestabilities=function(){return e.getAllTestabilities()},r["\u0275global"].getAllAngularRootElements=function(){return e.getAllRootElements()},r["\u0275global"].frameworkStabilizers||(r["\u0275global"].frameworkStabilizers=[]),r["\u0275global"].frameworkStabilizers.push(function(e){var t=r["\u0275global"].getAllAngularTestabilities(),n=t.length,o=!1,i=function(t){o=o||t,0==--n&&e(o)};t.forEach(function(e){e.whenStable(i)})})},e.prototype.findTestabilityInTree=function(e,t,n){if(null==t)return null;var r=e.getTestability(t);return null!=r?r:n?C().isShadowRoot(t)?this.findTestabilityInTree(e,C().getHost(t),!0):this.findTestabilityInTree(e,C().parentElement(t),!0):null},e}(),F=function(){function e(e){this._doc=e}return e.prototype.getTitle=function(){return C().getTitle(this._doc)},e.prototype.setTitle=function(e){C().setTitle(this._doc,e)},e}();function V(e,t){"undefined"!=typeof COMPILED&&COMPILED||((r["\u0275global"].ng=r["\u0275global"].ng||{})[e]=t)}var L={ApplicationRef:r.ApplicationRef,NgZone:r.NgZone};function B(e){return Object(r.getDebugNode)(e)}var H=new r.InjectionToken("EventManagerPlugins"),U=function(){function e(e,t){var n=this;this._zone=t,this._eventNameToPlugin=new Map,e.forEach(function(e){return e.manager=n}),this._plugins=e.slice().reverse()}return e.prototype.addEventListener=function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)},e.prototype.addGlobalEventListener=function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)},e.prototype.getZone=function(){return this._zone},e.prototype._findPluginFor=function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,r=0;r<n.length;r++){var o=n[r];if(o.supports(e))return this._eventNameToPlugin.set(e,o),o}throw new Error("No event manager plugin found for event "+e)},e}(),z=function(){function e(e){this._doc=e}return e.prototype.addGlobalEventListener=function(e,t,n){var r=C().getGlobalEventTarget(this._doc,e);if(!r)throw new Error("Unsupported event target "+r+" for event "+t);return this.addEventListener(r,t,n)},e}(),q=function(){function e(){this._stylesSet=new Set}return e.prototype.addStyles=function(e){var t=this,n=new Set;e.forEach(function(e){t._stylesSet.has(e)||(t._stylesSet.add(e),n.add(e))}),this.onStylesAdded(n)},e.prototype.onStylesAdded=function(e){},e.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},e}(),Z=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n._hostNodes=new Set,n._styleNodes=new Set,n._hostNodes.add(t.head),n}return Object(o.__extends)(t,e),t.prototype._addStylesToHost=function(e,t){var n=this;e.forEach(function(e){var r=n._doc.createElement("style");r.textContent=e,n._styleNodes.add(t.appendChild(r))})},t.prototype.addHost=function(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)},t.prototype.removeHost=function(e){this._hostNodes.delete(e)},t.prototype.onStylesAdded=function(e){var t=this;this._hostNodes.forEach(function(n){return t._addStylesToHost(e,n)})},t.prototype.ngOnDestroy=function(){this._styleNodes.forEach(function(e){return C().remove(e)})},t}(q),K={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/"},X=/%COMP%/g,G="_nghost-%COMP%",Y="_ngcontent-%COMP%";function W(e,t,n){for(var r=0;r<t.length;r++){var o=t[r];Array.isArray(o)?W(e,o,n):(o=o.replace(X,e),n.push(o))}return n}function Q(e){return function(t){!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}var J=function(){function e(e,t){this.eventManager=e,this.sharedStylesHost=t,this.rendererByCompId=new Map,this.defaultRenderer=new $(e)}return e.prototype.createRenderer=function(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case r.ViewEncapsulation.Emulated:var n=this.rendererByCompId.get(t.id);return n||(n=new re(this.eventManager,this.sharedStylesHost,t),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n;case r.ViewEncapsulation.Native:return new oe(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){var o=W(t.id,t.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}},e.prototype.begin=function(){},e.prototype.end=function(){},e}(),$=function(){function e(e){this.eventManager=e,this.data=Object.create(null)}return e.prototype.destroy=function(){},e.prototype.createElement=function(e,t){return t?document.createElementNS(K[t],e):document.createElement(e)},e.prototype.createComment=function(e){return document.createComment(e)},e.prototype.createText=function(e){return document.createTextNode(e)},e.prototype.appendChild=function(e,t){e.appendChild(t)},e.prototype.insertBefore=function(e,t,n){e&&e.insertBefore(t,n)},e.prototype.removeChild=function(e,t){e&&e.removeChild(t)},e.prototype.selectRootElement=function(e){var t="string"==typeof e?document.querySelector(e):e;if(!t)throw new Error('The selector "'+e+'" did not match any elements');return t.textContent="",t},e.prototype.parentNode=function(e){return e.parentNode},e.prototype.nextSibling=function(e){return e.nextSibling},e.prototype.setAttribute=function(e,t,n,r){if(r){t=r+":"+t;var o=K[r];o?e.setAttributeNS(o,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)},e.prototype.removeAttribute=function(e,t,n){if(n){var r=K[n];r?e.removeAttributeNS(r,t):e.removeAttribute(n+":"+t)}else e.removeAttribute(t)},e.prototype.addClass=function(e,t){e.classList.add(t)},e.prototype.removeClass=function(e,t){e.classList.remove(t)},e.prototype.setStyle=function(e,t,n,o){o&r.RendererStyleFlags2.DashCase?e.style.setProperty(t,n,o&r.RendererStyleFlags2.Important?"important":""):e.style[t]=n},e.prototype.removeStyle=function(e,t,n){n&r.RendererStyleFlags2.DashCase?e.style.removeProperty(t):e.style[t]=""},e.prototype.setProperty=function(e,t,n){te(t,"property"),e[t]=n},e.prototype.setValue=function(e,t){e.nodeValue=t},e.prototype.listen=function(e,t,n){return te(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Q(n)):this.eventManager.addEventListener(e,t,Q(n))},e}(),ee="@".charCodeAt(0);function te(e,t){if(e.charCodeAt(0)===ee)throw new Error("Found the synthetic "+t+" "+e+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var ne,re=function(e){function t(t,n,r){var o=e.call(this,t)||this;o.component=r;var i=W(r.id,r.styles,[]);return n.addStyles(i),o.contentAttr=Y.replace(X,r.id),o.hostAttr=G.replace(X,r.id),o}return Object(o.__extends)(t,e),t.prototype.applyToHost=function(t){e.prototype.setAttribute.call(this,t,this.hostAttr,"")},t.prototype.createElement=function(t,n){var r=e.prototype.createElement.call(this,t,n);return e.prototype.setAttribute.call(this,r,this.contentAttr,""),r},t}($),oe=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;i.sharedStylesHost=n,i.hostEl=r,i.component=o,i.shadowRoot=r.createShadowRoot(),i.sharedStylesHost.addHost(i.shadowRoot);for(var s=W(o.id,o.styles,[]),a=0;a<s.length;a++){var u=document.createElement("style");u.textContent=s[a],i.shadowRoot.appendChild(u)}return i}return Object(o.__extends)(t,e),t.prototype.nodeOrShadowRoot=function(e){return e===this.hostEl?this.shadowRoot:e},t.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},t.prototype.appendChild=function(t,n){return e.prototype.appendChild.call(this,this.nodeOrShadowRoot(t),n)},t.prototype.insertBefore=function(t,n,r){return e.prototype.insertBefore.call(this,this.nodeOrShadowRoot(t),n,r)},t.prototype.removeChild=function(t,n){return e.prototype.removeChild.call(this,this.nodeOrShadowRoot(t),n)},t.prototype.parentNode=function(t){return this.nodeOrShadowRoot(e.prototype.parentNode.call(this,this.nodeOrShadowRoot(t)))},t}($),ie="undefined"!=typeof Zone&&Zone.__symbol__||function(e){return"__zone_symbol__"+e},se=ie("addEventListener"),ae=ie("removeEventListener"),ue={},le="__zone_symbol__propagationStopped";"undefined"!=typeof Zone&&Zone[ie("BLACK_LISTED_EVENTS")]&&(ne={});var ce=function(e){return!!ne&&ne.hasOwnProperty(e)},de=function(e){var t=ue[e.type];if(t){var n=this[t];if(n){var r=[e];if(1===n.length)return(s=n[0]).zone!==Zone.current?s.zone.run(s.handler,this,r):s.handler.apply(this,r);for(var o=n.slice(),i=0;i<o.length&&!0!==e[le];i++){var s;(s=o[i]).zone!==Zone.current?s.zone.run(s.handler,this,r):s.handler.apply(this,r)}}}},pe=function(e){function t(t,n){var r=e.call(this,t)||this;return r.ngZone=n,r.patchEvent(),r}return Object(o.__extends)(t,e),t.prototype.patchEvent=function(){if(Event&&Event.prototype&&!Event.prototype.__zone_symbol__stopImmediatePropagation){var e=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[le]=!0),e&&e.apply(this,arguments)}}},t.prototype.supports=function(e){return!0},t.prototype.addEventListener=function(e,t,n){var o=this,i=n;if(!e[se]||r.NgZone.isInAngularZone()&&!ce(t))e.addEventListener(t,i,!1);else{var s=ue[t];s||(s=ue[t]=ie("ANGULAR"+t+"FALSE"));var a=e[s],u=a&&a.length>0;a||(a=e[s]=[]);var l=ce(t)?Zone.root:Zone.current;if(0===a.length)a.push({zone:l,handler:i});else{for(var c=!1,d=0;d<a.length;d++)if(a[d].handler===i){c=!0;break}c||a.push({zone:l,handler:i})}u||e[se](t,de,!1)}return function(){return o.removeEventListener(e,t,i)}},t.prototype.removeEventListener=function(e,t,n){var r=e[ae];if(!r)return e.removeEventListener.apply(e,[t,n,!1]);var o=ue[t],i=o&&e[o];if(!i)return e.removeEventListener.apply(e,[t,n,!1]);for(var s=!1,a=0;a<i.length;a++)if(i[a].handler===n){s=!0,i.splice(a,1);break}s?0===i.length&&r.apply(e,[t,de,!1]):e.removeEventListener.apply(e,[t,n,!1])},t}(z),fe={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},he=new r.InjectionToken("HammerGestureConfig"),ve=function(){function e(){this.events=[],this.overrides={}}return e.prototype.buildHammer=function(e){var t=new Hammer(e);for(var n in t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0}),this.overrides)t.get(n).set(this.overrides[n]);return t},e}(),ye=function(e){function t(t,n){var r=e.call(this,t)||this;return r._config=n,r}return Object(o.__extends)(t,e),t.prototype.supports=function(e){if(!fe.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e))return!1;if(!window.Hammer)throw new Error("Hammer.js is not loaded, can not bind "+e+" event");return!0},t.prototype.addEventListener=function(e,t,n){var r=this,o=this.manager.getZone();return t=t.toLowerCase(),o.runOutsideAngular(function(){var i=r._config.buildHammer(e),s=function(e){o.runGuarded(function(){n(e)})};return i.on(t,s),function(){return i.off(t,s)}})},t.prototype.isCustomEvent=function(e){return this._config.events.indexOf(e)>-1},t}(z),ge=["alt","control","meta","shift"],me={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},_e=function(e){function t(t){return e.call(this,t)||this}return Object(o.__extends)(t,e),t.prototype.supports=function(e){return null!=t.parseEventName(e)},t.prototype.addEventListener=function(e,n,r){var o=t.parseEventName(n),i=t.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return C().onAndCancel(e,o.domEventName,i)})},t.parseEventName=function(e){var n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;var o=t._normalizeKey(n.pop()),i="";if(ge.forEach(function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),i+=e+".")}),i+=o,0!=n.length||0===o.length)return null;var s={};return s.domEventName=r,s.fullKey=i,s},t.getEventFullKey=function(e){var t="",n=C().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),ge.forEach(function(r){r!=n&&(0,me[r])(e)&&(t+=r+".")}),t+=n},t.eventCallback=function(e,n,r){return function(o){t.getEventFullKey(o)===e&&r.runGuarded(function(){return n(o)})}},t._normalizeKey=function(e){switch(e){case"esc":return"escape";default:return e}},t}(z),be=function(){function e(e,t){this.defaultDoc=e,this.DOM=t;var n=this.DOM.createHtmlDocument();if(this.inertBodyElement=n.body,null==this.inertBodyElement){var r=this.DOM.createElement("html",n);this.inertBodyElement=this.DOM.createElement("body",n),this.DOM.appendChild(r,this.inertBodyElement),this.DOM.appendChild(n,r)}this.DOM.setInnerHTML(this.inertBodyElement,'<svg><g onload="this.parentNode.remove()"></g></svg>'),!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.DOM.setInnerHTML(this.inertBodyElement,'<svg><p><style><img src="</style><img src=x onerror=alert(1)//">'),this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(e){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(null);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e="<body><remove></remove>"+e+"</body>";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(e){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var t=this.DOM.createElement("template");return"content"in t?(this.DOM.setInnerHTML(t,e),t):(this.DOM.setInnerHTML(this.inertBodyElement,e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},e.prototype.stripCustomNsAttrs=function(e){var t=this;this.DOM.attributeMap(e).forEach(function(n,r){"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||t.DOM.removeAttribute(e,r)});for(var n=0,r=this.DOM.childNodesAsList(e);n<r.length;n++){var o=r[n];this.DOM.isElementNode(o)&&this.stripCustomNsAttrs(o)}},e}(),we=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Ce=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Ee(e){return(e=String(e)).match(we)||e.match(Ce)?e:(Object(r.isDevMode)()&&C().log("WARNING: sanitizing unsafe URL value "+e+" (see http://g.co/ng/security#xss)"),"unsafe:"+e)}function xe(e){for(var t={},n=0,r=e.split(",");n<r.length;n++)t[r[n]]=!0;return t}function Se(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n={},r=0,o=e;r<o.length;r++){var i=o[r];for(var s in i)i.hasOwnProperty(s)&&(n[s]=!0)}return n}var Oe,Te=xe("area,br,col,hr,img,wbr"),ke=xe("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ie=xe("rp,rt"),Ae=Se(Ie,ke),Re=Se(Te,Se(ke,xe("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Se(Ie,xe("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Ae),Pe=xe("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ne=xe("srcset"),De=Se(Pe,Ne,xe("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width")),Me=function(){function e(){this.sanitizedSomething=!1,this.buf=[],this.DOM=C()}return e.prototype.sanitizeChildren=function(e){for(var t=this.DOM.firstChild(e);t;)if(this.DOM.isElementNode(t)?this.startElement(t):this.DOM.isTextNode(t)?this.chars(this.DOM.nodeValue(t)):this.sanitizedSomething=!0,this.DOM.firstChild(t))t=this.DOM.firstChild(t);else for(;t;){this.DOM.isElementNode(t)&&this.endElement(t);var n=this.checkClobberedElement(t,this.DOM.nextSibling(t));if(n){t=n;break}t=this.checkClobberedElement(t,this.DOM.parentElement(t))}return this.buf.join("")},e.prototype.startElement=function(e){var t=this,n=this.DOM.nodeName(e).toLowerCase();Re.hasOwnProperty(n)?(this.buf.push("<"),this.buf.push(n),this.DOM.attributeMap(e).forEach(function(e,n){var r,o=n.toLowerCase();De.hasOwnProperty(o)?(Pe[o]&&(e=Ee(e)),Ne[o]&&(r=e,e=(r=String(r)).split(",").map(function(e){return Ee(e.trim())}).join(", ")),t.buf.push(" "),t.buf.push(n),t.buf.push('="'),t.buf.push(Ve(e)),t.buf.push('"')):t.sanitizedSomething=!0}),this.buf.push(">")):this.sanitizedSomething=!0},e.prototype.endElement=function(e){var t=this.DOM.nodeName(e).toLowerCase();Re.hasOwnProperty(t)&&!Te.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))},e.prototype.chars=function(e){this.buf.push(Ve(e))},e.prototype.checkClobberedElement=function(e,t){if(t&&this.DOM.contains(e,t))throw new Error("Failed to sanitize html because the element is clobbered: "+this.DOM.getOuterHTML(e));return t},e}(),je=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Fe=/([^\#-~ |!])/g;function Ve(e){return e.replace(/&/g,"&").replace(je,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(Fe,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Le=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Be=/^url\(([^)]+)\)$/,He=function(){},Ue=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n}return Object(o.__extends)(t,e),t.prototype.sanitize=function(e,t){if(null==t)return null;switch(e){case r.SecurityContext.NONE:return t;case r.SecurityContext.HTML:return t instanceof qe?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),function(e,t){var n=C(),o=null;try{Oe=Oe||new be(e,n);var i=t?String(t):"";o=Oe.getInertBodyElement(i);var s=5,a=i;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,i=a,a=n.getInnerHTML(o),o=Oe.getInertBodyElement(i)}while(i!==a);var u=new Me,l=u.sanitizeChildren(n.getTemplateContent(o)||o);return Object(r.isDevMode)()&&u.sanitizedSomething&&n.log("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),l}finally{if(o)for(var c=n.getTemplateContent(o)||o,d=0,p=n.childNodesAsList(c);d<p.length;d++)n.removeChild(c,p[d])}}(this._doc,String(t)));case r.SecurityContext.STYLE:return t instanceof Ze?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),function(e){if(!(e=String(e).trim()))return"";var t=e.match(Be);return t&&Ee(t[1])===t[1]||e.match(Le)&&function(e){for(var t=!0,n=!0,r=0;r<e.length;r++){var o=e.charAt(r);"'"===o&&n?t=!t:'"'===o&&t&&(n=!n)}return t&&n}(e)?e:(Object(r.isDevMode)()&&C().log("WARNING: sanitizing unsafe style value "+e+" (see http://g.co/ng/security#xss)."),"unsafe")}(t));case r.SecurityContext.SCRIPT:if(t instanceof Ke)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"Script"),new Error("unsafe value used in a script context");case r.SecurityContext.URL:return t instanceof Ge||t instanceof Xe?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"URL"),Ee(String(t)));case r.SecurityContext.RESOURCE_URL:if(t instanceof Ge)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+e+" (see http://g.co/ng/security#xss)")}},t.prototype.checkNotSafeValue=function(e,t){if(e instanceof ze)throw new Error("Required a safe "+t+", got a "+e.getTypeName()+" (see http://g.co/ng/security#xss)")},t.prototype.bypassSecurityTrustHtml=function(e){return new qe(e)},t.prototype.bypassSecurityTrustStyle=function(e){return new Ze(e)},t.prototype.bypassSecurityTrustScript=function(e){return new Ke(e)},t.prototype.bypassSecurityTrustUrl=function(e){return new Xe(e)},t.prototype.bypassSecurityTrustResourceUrl=function(e){return new Ge(e)},t}(He),ze=function(){function e(e){this.changingThisBreaksApplicationSecurity=e}return e.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},e}(),qe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.getTypeName=function(){return"HTML"},t}(ze),Ze=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.getTypeName=function(){return"Style"},t}(ze),Ke=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.getTypeName=function(){return"Script"},t}(ze),Xe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.getTypeName=function(){return"URL"},t}(ze),Ge=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.getTypeName=function(){return"ResourceURL"},t}(ze),Ye=[{provide:r.PLATFORM_ID,useValue:"browser"},{provide:r.PLATFORM_INITIALIZER,useValue:function(){k.makeCurrent(),j.init()},multi:!0},{provide:i,useClass:P,deps:[A]},{provide:A,useFactory:function(){return document},deps:[]}],We=Object(r.createPlatformFactory)(r.platformCore,"browser",Ye);function Qe(){return new r.ErrorHandler}var Je=function(){function e(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return e.withServerTransition=function(t){return{ngModule:e,providers:[{provide:r.APP_ID,useValue:t.appId},{provide:D,useExisting:r.APP_ID},M]}},e}();"undefined"!=typeof window&&window;var $e=n("Oryw").a.of,et=n("wP3s"),tt=n("E9/g");function nt(e,t){return function(n){return n.lift(new rt(e,t))}}var rt=function(){function e(e,t){this.predicate=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new ot(e,this.predicate,this.thisArg))},e}(),ot=function(e){function t(t,n,r){e.call(this,t),this.predicate=n,this.thisArg=r,this.count=0}return Object(o.__extends)(t,e),t.prototype._next=function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}t&&this.destination.next(e)},t}(tt.a);function it(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new st(e,t))}}var st=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new at(e,this.project,this.thisArg))},e}(),at=function(e){function t(t,n,r){e.call(this,t),this.project=n,this.count=0,this.thisArg=r||this}return Object(o.__extends)(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(tt.a);function ut(e,t){return it(e,t)(this)}var lt=n("AP4T"),ct=function(){},dt=function(){},pt=function(){function e(e){var t=this;this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?function(){t.headers=new Map,e.split("\n").forEach(function(e){var n=e.indexOf(":");if(n>0){var r=e.slice(0,n),o=r.toLowerCase(),i=e.slice(n+1).trim();t.maybeSetNormalizedName(r,o),t.headers.has(o)?t.headers.get(o).push(i):t.headers.set(o,[i])}})}:function(){t.headers=new Map,Object.keys(e).forEach(function(n){var r=e[n],o=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(t.headers.set(o,r),t.maybeSetNormalizedName(n,o))})}:this.headers=new Map}return e.prototype.has=function(e){return this.init(),this.headers.has(e.toLowerCase())},e.prototype.get=function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null},e.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},e.prototype.getAll=function(e){return this.init(),this.headers.get(e.toLowerCase())||null},e.prototype.append=function(e,t){return this.clone({name:e,value:t,op:"a"})},e.prototype.set=function(e,t){return this.clone({name:e,value:t,op:"s"})},e.prototype.delete=function(e,t){return this.clone({name:e,value:t,op:"d"})},e.prototype.maybeSetNormalizedName=function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)},e.prototype.init=function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(e){return t.applyUpdate(e)}),this.lazyUpdate=null))},e.prototype.copyFrom=function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach(function(n){t.headers.set(n,e.headers.get(n)),t.normalizedNames.set(n,e.normalizedNames.get(n))})},e.prototype.clone=function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n},e.prototype.applyUpdate=function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);var r=("a"===e.op?this.headers.get(t):void 0)||[];r.push.apply(r,n),this.headers.set(t,r);break;case"d":var o=e.value;if(o){var i=this.headers.get(t);if(!i)return;0===(i=i.filter(function(e){return-1===o.indexOf(e)})).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,i)}else this.headers.delete(t),this.normalizedNames.delete(t)}},e.prototype.forEach=function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return e(t.normalizedNames.get(n),t.headers.get(n))})},e}(),ft=function(){function e(){}return e.prototype.encodeKey=function(e){return ht(e)},e.prototype.encodeValue=function(e){return ht(e)},e.prototype.decodeKey=function(e){return decodeURIComponent(e)},e.prototype.decodeValue=function(e){return decodeURIComponent(e)},e}();function ht(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var vt=function(){function e(e){void 0===e&&(e={});var t,n,r,o=this;if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new ft,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(t=e.fromString,n=this.encoder,r=new Map,t.length>0&&t.split("&").forEach(function(e){var t=e.indexOf("="),o=-1==t?[n.decodeKey(e),""]:[n.decodeKey(e.slice(0,t)),n.decodeValue(e.slice(t+1))],i=o[0],s=o[1],a=r.get(i)||[];a.push(s),r.set(i,a)}),r)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(function(t){var n=e.fromObject[t];o.map.set(t,Array.isArray(n)?n:[n])})):this.map=null}return e.prototype.has=function(e){return this.init(),this.map.has(e)},e.prototype.get=function(e){this.init();var t=this.map.get(e);return t?t[0]:null},e.prototype.getAll=function(e){return this.init(),this.map.get(e)||null},e.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},e.prototype.append=function(e,t){return this.clone({param:e,value:t,op:"a"})},e.prototype.set=function(e,t){return this.clone({param:e,value:t,op:"s"})},e.prototype.delete=function(e,t){return this.clone({param:e,value:t,op:"d"})},e.prototype.toString=function(){var e=this;return this.init(),this.keys().map(function(t){var n=e.encoder.encodeKey(t);return e.map.get(t).map(function(t){return n+"="+e.encoder.encodeValue(t)}).join("&")}).join("&")},e.prototype.clone=function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([t]),n},e.prototype.init=function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(t){return e.map.set(t,e.cloneFrom.map.get(t))}),this.updates.forEach(function(t){switch(t.op){case"a":case"s":var n=("a"===t.op?e.map.get(t.param):void 0)||[];n.push(t.value),e.map.set(t.param,n);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var r=e.map.get(t.param)||[],o=r.indexOf(t.value);-1!==o&&r.splice(o,1),r.length>0?e.map.set(t.param,r):e.map.delete(t.param)}}),this.cloneFrom=null)},e}();function yt(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function gt(e){return"undefined"!=typeof Blob&&e instanceof Blob}function mt(e){return"undefined"!=typeof FormData&&e instanceof FormData}var _t=function(){function e(e,t,n,r){var o;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,o=r):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.params&&(this.params=o.params)),this.headers||(this.headers=new pt),this.params){var i=this.params.toString();if(0===i.length)this.urlWithParams=t;else{var s=t.indexOf("?");this.urlWithParams=t+(-1===s?"?":s<t.length-1?"&":"")+i}}else this.params=new vt,this.urlWithParams=t}return e.prototype.serializeBody=function(){return null===this.body?null:yt(this.body)||gt(this.body)||mt(this.body)||"string"==typeof this.body?this.body:this.body instanceof vt?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()},e.prototype.detectContentTypeHeader=function(){return null===this.body?null:mt(this.body)?null:gt(this.body)?this.body.type||null:yt(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof vt?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null},e.prototype.clone=function(t){void 0===t&&(t={});var n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=void 0!==t.body?t.body:this.body,s=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,a=void 0!==t.reportProgress?t.reportProgress:this.reportProgress,u=t.headers||this.headers,l=t.params||this.params;return void 0!==t.setHeaders&&(u=Object.keys(t.setHeaders).reduce(function(e,n){return e.set(n,t.setHeaders[n])},u)),t.setParams&&(l=Object.keys(t.setParams).reduce(function(e,n){return e.set(n,t.setParams[n])},l)),new e(n,r,i,{params:l,headers:u,reportProgress:a,responseType:o,withCredentials:s})},e}(),bt=function(){var e={Sent:0,UploadProgress:1,ResponseHeader:2,DownloadProgress:3,Response:4,User:5};return e[e.Sent]="Sent",e[e.UploadProgress]="UploadProgress",e[e.ResponseHeader]="ResponseHeader",e[e.DownloadProgress]="DownloadProgress",e[e.Response]="Response",e[e.User]="User",e}(),wt=function(){return function(e,t,n){void 0===t&&(t=200),void 0===n&&(n="OK"),this.headers=e.headers||new pt,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}(),Ct=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n.type=bt.ResponseHeader,n}return Object(o.__extends)(t,e),t.prototype.clone=function(e){return void 0===e&&(e={}),new t({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})},t}(wt),Et=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n.type=bt.Response,n.body=void 0!==t.body?t.body:null,n}return Object(o.__extends)(t,e),t.prototype.clone=function(e){return void 0===e&&(e={}),new t({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})},t}(wt),xt=function(e){function t(t){var n=e.call(this,t,0,"Unknown Error")||this;return n.name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for "+(t.url||"(unknown url)"):"Http failure response for "+(t.url||"(unknown url)")+": "+t.status+" "+t.statusText,n.error=t.error||null,n}return Object(o.__extends)(t,e),t}(wt);function St(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var Ot=function(){function e(e){this.handler=e}return e.prototype.request=function(e,t,n){var r,o=this;if(void 0===n&&(n={}),e instanceof _t)r=e;else{var i;i=n.headers instanceof pt?n.headers:new pt(n.headers);var s=void 0;n.params&&(s=n.params instanceof vt?n.params:new vt({fromObject:n.params})),r=new _t(e,t,void 0!==n.body?n.body:null,{headers:i,params:s,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var a=function(e,t){return function(e,t){return Object(et.a)(e,t,1)}(e,t)(this)}.call($e(r),function(e){return o.handler.handle(e)});if(e instanceof _t||"events"===n.observe)return a;var u=function(e,t){return nt(e,t)(this)}.call(a,function(e){return e instanceof Et});switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return ut.call(u,function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body});case"blob":return ut.call(u,function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body});case"text":return ut.call(u,function(e){if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body});case"json":default:return ut.call(u,function(e){return e.body})}case"response":return u;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},e.prototype.delete=function(e,t){return void 0===t&&(t={}),this.request("DELETE",e,t)},e.prototype.get=function(e,t){return void 0===t&&(t={}),this.request("GET",e,t)},e.prototype.head=function(e,t){return void 0===t&&(t={}),this.request("HEAD",e,t)},e.prototype.jsonp=function(e,t){return this.request("JSONP",e,{params:(new vt).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},e.prototype.options=function(e,t){return void 0===t&&(t={}),this.request("OPTIONS",e,t)},e.prototype.patch=function(e,t,n){return void 0===n&&(n={}),this.request("PATCH",e,St(n,t))},e.prototype.post=function(e,t,n){return void 0===n&&(n={}),this.request("POST",e,St(n,t))},e.prototype.put=function(e,t,n){return void 0===n&&(n={}),this.request("PUT",e,St(n,t))},e}(),Tt=function(){function e(e,t){this.next=e,this.interceptor=t}return e.prototype.handle=function(e){return this.interceptor.intercept(e,this.next)},e}(),kt=new r.InjectionToken("HTTP_INTERCEPTORS"),It=function(){function e(){}return e.prototype.intercept=function(e,t){return t.handle(e)},e}(),At=/^\)\]\}',?\n/,Rt=function(){},Pt=function(){function e(){}return e.prototype.build=function(){return new XMLHttpRequest},e}(),Nt=function(){function e(e){this.xhrFactory=e}return e.prototype.handle=function(e){var t=this;if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new lt.a(function(n){var r=t.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach(function(e,t){return r.setRequestHeader(e,t.join(","))}),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var o=e.detectContentTypeHeader();null!==o&&r.setRequestHeader("Content-Type",o)}if(e.responseType){var i=e.responseType.toLowerCase();r.responseType="json"!==i?i:"text"}var s=e.serializeBody(),a=null,u=function(){if(null!==a)return a;var t=1223===r.status?204:r.status,n=r.statusText||"OK",o=new pt(r.getAllResponseHeaders()),i=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(r)||e.url;return a=new Ct({headers:o,status:t,statusText:n,url:i})},l=function(){var t=u(),o=t.headers,i=t.status,s=t.statusText,a=t.url,l=null;204!==i&&(l=void 0===r.response?r.responseText:r.response),0===i&&(i=l?200:0);var c=i>=200&&i<300;if("json"===e.responseType&&"string"==typeof l){var d=l;l=l.replace(At,"");try{l=""!==l?JSON.parse(l):null}catch(e){l=d,c&&(c=!1,l={error:e,text:l})}}c?(n.next(new Et({body:l,headers:o,status:i,statusText:s,url:a||void 0})),n.complete()):n.error(new xt({error:l,headers:o,status:i,statusText:s,url:a||void 0}))},c=function(e){var t=new xt({error:e,status:r.status||0,statusText:r.statusText||"Unknown Error"});n.error(t)},d=!1,p=function(t){d||(n.next(u()),d=!0);var o={type:bt.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(o.total=t.total),"text"===e.responseType&&r.responseText&&(o.partialText=r.responseText),n.next(o)},f=function(e){var t={type:bt.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return r.addEventListener("load",l),r.addEventListener("error",c),e.reportProgress&&(r.addEventListener("progress",p),null!==s&&r.upload&&r.upload.addEventListener("progress",f)),r.send(s),n.next({type:bt.Sent}),function(){r.removeEventListener("error",c),r.removeEventListener("load",l),e.reportProgress&&(r.removeEventListener("progress",p),null!==s&&r.upload&&r.upload.removeEventListener("progress",f)),r.abort()}})},e}(),Dt=new r.InjectionToken("XSRF_COOKIE_NAME"),Mt=new r.InjectionToken("XSRF_HEADER_NAME"),jt=function(){},Ft=function(){function e(e,t,n){this.doc=e,this.platform=t,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return e.prototype.getToken=function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=p(e,this.cookieName),this.lastCookieString=e),this.lastToken},e}(),Vt=function(){function e(e,t){this.tokenService=e,this.headerName=t}return e.prototype.intercept=function(e,t){var n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);var r=this.tokenService.getToken();return null===r||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,r)})),t.handle(e)},e}(),Lt=function(){function e(e,t){this.backend=e,this.injector=t,this.chain=null}return e.prototype.handle=function(e){if(null===this.chain){var t=this.injector.get(kt,[]);this.chain=t.reduceRight(function(e,t){return new Tt(e,t)},this.backend)}return this.chain.handle(e)},e}(),Bt=function(){function e(){}return e.disable=function(){return{ngModule:e,providers:[{provide:Vt,useClass:It}]}},e.withOptions=function(t){return void 0===t&&(t={}),{ngModule:e,providers:[t.cookieName?{provide:Dt,useValue:t.cookieName}:[],t.headerName?{provide:Mt,useValue:t.headerName}:[]]}},e}(),Ht=function(){},Ut=function(){function e(){}return e.prototype.build=function(){return new XMLHttpRequest},e}(),zt=function(){var e={Get:0,Post:1,Put:2,Delete:3,Options:4,Head:5,Patch:6};return e[e.Get]="Get",e[e.Post]="Post",e[e.Put]="Put",e[e.Delete]="Delete",e[e.Options]="Options",e[e.Head]="Head",e[e.Patch]="Patch",e}(),qt=function(){var e={Basic:0,Cors:1,Default:2,Error:3,Opaque:4};return e[e.Basic]="Basic",e[e.Cors]="Cors",e[e.Default]="Default",e[e.Error]="Error",e[e.Opaque]="Opaque",e}(),Zt=function(){var e={NONE:0,JSON:1,FORM:2,FORM_DATA:3,TEXT:4,BLOB:5,ARRAY_BUFFER:6};return e[e.NONE]="NONE",e[e.JSON]="JSON",e[e.FORM]="FORM",e[e.FORM_DATA]="FORM_DATA",e[e.TEXT]="TEXT",e[e.BLOB]="BLOB",e[e.ARRAY_BUFFER]="ARRAY_BUFFER",e}(),Kt=function(){var e={Text:0,Json:1,ArrayBuffer:2,Blob:3};return e[e.Text]="Text",e[e.Json]="Json",e[e.ArrayBuffer]="ArrayBuffer",e[e.Blob]="Blob",e}(),Xt=function(){function e(t){var n=this;this._headers=new Map,this._normalizedNames=new Map,t&&(t instanceof e?t.forEach(function(e,t){e.forEach(function(e){return n.append(t,e)})}):Object.keys(t).forEach(function(e){var r=Array.isArray(t[e])?t[e]:[t[e]];n.delete(e),r.forEach(function(t){return n.append(e,t)})}))}return e.fromResponseHeaderString=function(t){var n=new e;return t.split("\n").forEach(function(e){var t=e.indexOf(":");if(t>0){var r=e.slice(0,t),o=e.slice(t+1).trim();n.set(r,o)}}),n},e.prototype.append=function(e,t){var n=this.getAll(e);null===n?this.set(e,t):n.push(t)},e.prototype.delete=function(e){var t=e.toLowerCase();this._normalizedNames.delete(t),this._headers.delete(t)},e.prototype.forEach=function(e){var t=this;this._headers.forEach(function(n,r){return e(n,t._normalizedNames.get(r),t._headers)})},e.prototype.get=function(e){var t=this.getAll(e);return null===t?null:t.length>0?t[0]:null},e.prototype.has=function(e){return this._headers.has(e.toLowerCase())},e.prototype.keys=function(){return Array.from(this._normalizedNames.values())},e.prototype.set=function(e,t){Array.isArray(t)?t.length&&this._headers.set(e.toLowerCase(),[t.join(",")]):this._headers.set(e.toLowerCase(),[t]),this.mayBeSetNormalizedName(e)},e.prototype.values=function(){return Array.from(this._headers.values())},e.prototype.toJSON=function(){var e=this,t={};return this._headers.forEach(function(n,r){var o=[];n.forEach(function(e){return o.push.apply(o,e.split(","))}),t[e._normalizedNames.get(r)]=o}),t},e.prototype.getAll=function(e){return this.has(e)&&this._headers.get(e.toLowerCase())||null},e.prototype.entries=function(){throw new Error('"entries" method is not implemented on Headers class')},e.prototype.mayBeSetNormalizedName=function(e){var t=e.toLowerCase();this._normalizedNames.has(t)||this._normalizedNames.set(t,e)},e}(),Gt=function(){function e(e){void 0===e&&(e={});var t=e.body,n=e.status,r=e.headers,o=e.statusText,i=e.type,s=e.url;this.body=null!=t?t:null,this.status=null!=n?n:null,this.headers=null!=r?r:null,this.statusText=null!=o?o:null,this.type=null!=i?i:null,this.url=null!=s?s:null}return e.prototype.merge=function(t){return new e({body:t&&null!=t.body?t.body:this.body,status:t&&null!=t.status?t.status:this.status,headers:t&&null!=t.headers?t.headers:this.headers,statusText:t&&null!=t.statusText?t.statusText:this.statusText,type:t&&null!=t.type?t.type:this.type,url:t&&null!=t.url?t.url:this.url})},e}(),Yt=function(e){function t(){return e.call(this,{status:200,statusText:"Ok",type:qt.Default,headers:new Xt})||this}return Object(o.__extends)(t,e),t}(Gt),Wt=function(){};function Qt(e){if("string"!=typeof e)return e;switch(e.toUpperCase()){case"GET":return zt.Get;case"POST":return zt.Post;case"PUT":return zt.Put;case"DELETE":return zt.Delete;case"OPTIONS":return zt.Options;case"HEAD":return zt.Head;case"PATCH":return zt.Patch}throw new Error('Invalid request method. The method "'+e+'" is not supported.')}var Jt=function(e){return e>=200&&e<300},$t=function(){function e(){}return e.prototype.encodeKey=function(e){return en(e)},e.prototype.encodeValue=function(e){return en(e)},e}();function en(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var tn=function(){function e(e,t){void 0===e&&(e=""),void 0===t&&(t=new $t),this.rawParams=e,this.queryEncoder=t,this.paramsMap=function(e){void 0===e&&(e="");var t=new Map;return e.length>0&&e.split("&").forEach(function(e){var n=e.indexOf("="),r=-1==n?[e,""]:[e.slice(0,n),e.slice(n+1)],o=r[0],i=r[1],s=t.get(o)||[];s.push(i),t.set(o,s)}),t}(e)}return e.prototype.clone=function(){var t=new e("",this.queryEncoder);return t.appendAll(this),t},e.prototype.has=function(e){return this.paramsMap.has(e)},e.prototype.get=function(e){var t=this.paramsMap.get(e);return Array.isArray(t)?t[0]:null},e.prototype.getAll=function(e){return this.paramsMap.get(e)||[]},e.prototype.set=function(e,t){if(void 0!==t&&null!==t){var n=this.paramsMap.get(e)||[];n.length=0,n.push(t),this.paramsMap.set(e,n)}else this.delete(e)},e.prototype.setAll=function(e){var t=this;e.paramsMap.forEach(function(e,n){var r=t.paramsMap.get(n)||[];r.length=0,r.push(e[0]),t.paramsMap.set(n,r)})},e.prototype.append=function(e,t){if(void 0!==t&&null!==t){var n=this.paramsMap.get(e)||[];n.push(t),this.paramsMap.set(e,n)}},e.prototype.appendAll=function(e){var t=this;e.paramsMap.forEach(function(e,n){for(var r=t.paramsMap.get(n)||[],o=0;o<e.length;++o)r.push(e[o]);t.paramsMap.set(n,r)})},e.prototype.replaceAll=function(e){var t=this;e.paramsMap.forEach(function(e,n){var r=t.paramsMap.get(n)||[];r.length=0;for(var o=0;o<e.length;++o)r.push(e[o]);t.paramsMap.set(n,r)})},e.prototype.toString=function(){var e=this,t=[];return this.paramsMap.forEach(function(n,r){n.forEach(function(n){return t.push(e.queryEncoder.encodeKey(r)+"="+e.queryEncoder.encodeValue(n))})}),t.join("&")},e.prototype.delete=function(e){this.paramsMap.delete(e)},e}(),nn=function(){function e(){}return e.prototype.json=function(){return"string"==typeof this._body?JSON.parse(this._body):this._body instanceof ArrayBuffer?JSON.parse(this.text()):this._body},e.prototype.text=function(e){if(void 0===e&&(e="legacy"),this._body instanceof tn)return this._body.toString();if(this._body instanceof ArrayBuffer)switch(e){case"legacy":return String.fromCharCode.apply(null,new Uint16Array(this._body));case"iso-8859":return String.fromCharCode.apply(null,new Uint8Array(this._body));default:throw new Error("Invalid value for encodingHint: "+e)}return null==this._body?"":"object"==typeof this._body?JSON.stringify(this._body,null,2):this._body.toString()},e.prototype.arrayBuffer=function(){return this._body instanceof ArrayBuffer?this._body:function(e){for(var t=new Uint16Array(e.length),n=0,r=e.length;n<r;n++)t[n]=e.charCodeAt(n);return t.buffer}(this.text())},e.prototype.blob=function(){if(this._body instanceof Blob)return this._body;if(this._body instanceof ArrayBuffer)return new Blob([this._body]);throw new Error("The request body isn't either a blob or an array buffer")},e}(),rn=function(e){function t(t){var n=e.call(this)||this;return n._body=t.body,n.status=t.status,n.ok=n.status>=200&&n.status<=299,n.statusText=t.statusText,n.headers=t.headers,n.type=t.type,n.url=t.url,n}return Object(o.__extends)(t,e),t.prototype.toString=function(){return"Response with status: "+this.status+" "+this.statusText+" for URL: "+this.url},t}(nn),on=/^\)\]\}',?\n/,sn=function(){function e(e,t,n){var r=this;this.request=e,this.response=new lt.a(function(o){var i=t.build();i.open(zt[e.method].toUpperCase(),e.url),null!=e.withCredentials&&(i.withCredentials=e.withCredentials);var s=function(){var t=1223===i.status?204:i.status,r=null;204!==t&&"string"==typeof(r=void 0===i.response?i.responseText:i.response)&&(r=r.replace(on,"")),0===t&&(t=r?200:0);var s,a=Xt.fromResponseHeaderString(i.getAllResponseHeaders()),u=("responseURL"in(s=i)?s.responseURL:/^X-Request-URL:/m.test(s.getAllResponseHeaders())?s.getResponseHeader("X-Request-URL"):null)||e.url,l=new Gt({body:r,status:t,headers:a,statusText:i.statusText||"OK",url:u});null!=n&&(l=n.merge(l));var c=new rn(l);if(c.ok=Jt(t),c.ok)return o.next(c),void o.complete();o.error(c)},a=function(e){var t=new Gt({body:e,type:qt.Error,status:i.status,statusText:i.statusText});null!=n&&(t=n.merge(t)),o.error(new rn(t))};if(r.setDetectedContentType(e,i),null==e.headers&&(e.headers=new Xt),e.headers.has("Accept")||e.headers.append("Accept","application/json, text/plain, */*"),e.headers.forEach(function(e,t){return i.setRequestHeader(t,e.join(","))}),null!=e.responseType&&null!=i.responseType)switch(e.responseType){case Kt.ArrayBuffer:i.responseType="arraybuffer";break;case Kt.Json:i.responseType="json";break;case Kt.Text:i.responseType="text";break;case Kt.Blob:i.responseType="blob";break;default:throw new Error("The selected responseType is not supported")}return i.addEventListener("load",s),i.addEventListener("error",a),i.send(r.request.getBody()),function(){i.removeEventListener("load",s),i.removeEventListener("error",a),i.abort()}})}return e.prototype.setDetectedContentType=function(e,t){if(null==e.headers||null==e.headers.get("Content-Type"))switch(e.contentType){case Zt.NONE:break;case Zt.JSON:t.setRequestHeader("content-type","application/json");break;case Zt.FORM:t.setRequestHeader("content-type","application/x-www-form-urlencoded;charset=UTF-8");break;case Zt.TEXT:t.setRequestHeader("content-type","text/plain");break;case Zt.BLOB:var n=e.blob();n.type&&t.setRequestHeader("content-type",n.type)}},e}(),an=function(){function e(e,t){void 0===e&&(e="XSRF-TOKEN"),void 0===t&&(t="X-XSRF-TOKEN"),this._cookieName=e,this._headerName=t}return e.prototype.configureRequest=function(e){var t=C().getCookie(this._cookieName);t&&e.headers.set(this._headerName,t)},e}(),un=function(){function e(e,t,n){this._browserXHR=e,this._baseResponseOptions=t,this._xsrfStrategy=n}return e.prototype.createConnection=function(e){return this._xsrfStrategy.configureRequest(e),new sn(e,this._browserXHR,this._baseResponseOptions)},e}(),ln=function(){function e(e){void 0===e&&(e={});var t=e.method,n=e.headers,r=e.body,o=e.url,i=e.search,s=e.params,a=e.withCredentials,u=e.responseType;this.method=null!=t?Qt(t):null,this.headers=null!=n?n:null,this.body=null!=r?r:null,this.url=null!=o?o:null,this.params=this._mergeSearchParams(s||i),this.withCredentials=null!=a?a:null,this.responseType=null!=u?u:null}return Object.defineProperty(e.prototype,"search",{get:function(){return this.params},set:function(e){this.params=e},enumerable:!0,configurable:!0}),e.prototype.merge=function(t){return new e({method:t&&null!=t.method?t.method:this.method,headers:t&&null!=t.headers?t.headers:new Xt(this.headers),body:t&&null!=t.body?t.body:this.body,url:t&&null!=t.url?t.url:this.url,params:t&&this._mergeSearchParams(t.params||t.search),withCredentials:t&&null!=t.withCredentials?t.withCredentials:this.withCredentials,responseType:t&&null!=t.responseType?t.responseType:this.responseType})},e.prototype._mergeSearchParams=function(e){return e?e instanceof tn?e.clone():"string"==typeof e?new tn(e):this._parseParams(e):this.params},e.prototype._parseParams=function(e){var t=this;void 0===e&&(e={});var n=new tn;return Object.keys(e).forEach(function(r){var o=e[r];Array.isArray(o)?o.forEach(function(e){return t._appendParam(r,e,n)}):t._appendParam(r,o,n)}),n},e.prototype._appendParam=function(e,t,n){"string"!=typeof t&&(t=JSON.stringify(t)),n.append(e,t)},e}(),cn=function(e){function t(){return e.call(this,{method:zt.Get,headers:new Xt})||this}return Object(o.__extends)(t,e),t}(ln),dn=function(e){function t(t){var n=e.call(this)||this,r=t.url;n.url=t.url;var o,i=t.params||t.search;if(i&&(o="object"!=typeof i||i instanceof tn?i.toString():function(e){var t=new tn;return Object.keys(e).forEach(function(n){var r=e[n];r&&Array.isArray(r)?r.forEach(function(e){return t.append(n,e.toString())}):t.append(n,r.toString())}),t}(i).toString()).length>0){var s="?";-1!=n.url.indexOf("?")&&(s="&"==n.url[n.url.length-1]?"":"&"),n.url=r+s+o}return n._body=t.body,n.method=Qt(t.method),n.headers=new Xt(t.headers),n.contentType=n.detectContentType(),n.withCredentials=t.withCredentials,n.responseType=t.responseType,n}return Object(o.__extends)(t,e),t.prototype.detectContentType=function(){switch(this.headers.get("content-type")){case"application/json":return Zt.JSON;case"application/x-www-form-urlencoded":return Zt.FORM;case"multipart/form-data":return Zt.FORM_DATA;case"text/plain":case"text/html":return Zt.TEXT;case"application/octet-stream":return this._body instanceof yn?Zt.ARRAY_BUFFER:Zt.BLOB;default:return this.detectContentTypeFromBody()}},t.prototype.detectContentTypeFromBody=function(){return null==this._body?Zt.NONE:this._body instanceof tn?Zt.FORM:this._body instanceof hn?Zt.FORM_DATA:this._body instanceof vn?Zt.BLOB:this._body instanceof yn?Zt.ARRAY_BUFFER:this._body&&"object"==typeof this._body?Zt.JSON:Zt.TEXT},t.prototype.getBody=function(){switch(this.contentType){case Zt.JSON:case Zt.FORM:return this.text();case Zt.FORM_DATA:return this._body;case Zt.TEXT:return this.text();case Zt.BLOB:return this.blob();case Zt.ARRAY_BUFFER:return this.arrayBuffer();default:return null}},t}(nn),pn=function(){},fn="object"==typeof window?window:pn,hn=fn.FormData||pn,vn=fn.Blob||pn,yn=fn.ArrayBuffer||pn;function gn(e,t){return e.createConnection(t).response}function mn(e,t,n,r){return e.merge(new ln(t?{method:t.method||n,url:t.url||r,search:t.search,params:t.params,headers:t.headers,body:t.body,withCredentials:t.withCredentials,responseType:t.responseType}:{method:n,url:r}))}var _n=function(){function e(e,t){this._backend=e,this._defaultOptions=t}return e.prototype.request=function(e,t){var n;if("string"==typeof e)n=gn(this._backend,new dn(mn(this._defaultOptions,t,zt.Get,e)));else{if(!(e instanceof dn))throw new Error("First argument must be a url string or Request instance.");n=gn(this._backend,e)}return n},e.prototype.get=function(e,t){return this.request(new dn(mn(this._defaultOptions,t,zt.Get,e)))},e.prototype.post=function(e,t,n){return this.request(new dn(mn(this._defaultOptions.merge(new ln({body:t})),n,zt.Post,e)))},e.prototype.put=function(e,t,n){return this.request(new dn(mn(this._defaultOptions.merge(new ln({body:t})),n,zt.Put,e)))},e.prototype.delete=function(e,t){return this.request(new dn(mn(this._defaultOptions,t,zt.Delete,e)))},e.prototype.patch=function(e,t,n){return this.request(new dn(mn(this._defaultOptions.merge(new ln({body:t})),n,zt.Patch,e)))},e.prototype.head=function(e,t){return this.request(new dn(mn(this._defaultOptions,t,zt.Head,e)))},e.prototype.options=function(e,t){return this.request(new dn(mn(this._defaultOptions,t,zt.Options,e)))},e}();function bn(){return new an}function wn(e,t){return new _n(e,t)}var Cn,En=function(){},xn=n("Ecq+"),Sn=n("1j/l"),On=n("qgI0"),Tn=n("lI6h"),kn=function(e){function t(t,n){e.call(this),this.sources=t,this.resultSelector=n}return Object(o.__extends)(t,e),t.create=function(){for(var e=[],n=0;n<arguments.length;n++)e[n-0]=arguments[n];if(null===e||0===arguments.length)return new xn.a;var r=null;return"function"==typeof e[e.length-1]&&(r=e.pop()),1===e.length&&Object(Sn.a)(e[0])&&(e=e[0]),0===e.length?new xn.a:new t(e,r)},t.prototype._subscribe=function(e){return new In(e,this.sources,this.resultSelector)},t}(lt.a),In=function(e){function t(t,n,r){e.call(this,t),this.sources=n,this.resultSelector=r,this.completed=0,this.haveValues=0;var o=n.length;this.total=o,this.values=new Array(o);for(var i=0;i<o;i++){var s=n[i],a=Object(On.a)(this,s,null,i);a&&(a.outerIndex=i,this.add(a))}}return Object(o.__extends)(t,e),t.prototype.notifyNext=function(e,t,n,r,o){this.values[n]=t,o._hasValue||(o._hasValue=!0,this.haveValues++)},t.prototype.notifyComplete=function(e){var t=this.destination,n=this.haveValues,r=this.resultSelector,o=this.values,i=o.length;if(e._hasValue){if(this.completed++,this.completed===i){if(n===i){var s=r?r.apply(this,o):o;t.next(s)}t.complete()}}else t.complete()},t}(Tn.a),An=kn.create,Rn=n("xIGM"),Pn=function(){function e(){this._accessors=[]}return e.prototype.add=function(e,t){this._accessors.push([e,t])},e.prototype.remove=function(e){for(var t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)},e.prototype.select=function(e){var t=this;this._accessors.forEach(function(n){t._isSameGroup(n,e)&&n[1]!==e&&n[1].fireUncheck(e.value)})},e.prototype._isSameGroup=function(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name},e}(),Nn=function(){},Dn=function(){},Mn=(n("/Lkn"),new r.InjectionToken("cdk-dir-doc")),jn=function(){return function(e){this.value="ltr",this.change=new r.EventEmitter,e&&(this.value=(e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null)||"ltr")}}(),Fn=function(){},Vn=n("TO51"),Ln="undefined"!=typeof Intl&&Intl.v8BreakIterator,Bn=function(){return function(){this.isBrowser="object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Ln)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}();function Hn(){if(null==Cn&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Cn=!0}}))}finally{Cn=Cn||!1}return Cn}var Un=function(){},zn=new r.InjectionToken("mat-sanity-checks"),qn=function(){function e(e){this._sanityChecksEnabled=e,this._hasDoneGlobalChecks=!1,this._hasCheckedHammer=!1,this._document="object"==typeof document&&document?document:null,this._window="object"==typeof window&&window?window:null,this._areChecksEnabled()&&!this._hasDoneGlobalChecks&&(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._hasDoneGlobalChecks=!0)}return e.prototype._areChecksEnabled=function(){return this._sanityChecksEnabled&&Object(r.isDevMode)()&&!this._isTestEnv()},e.prototype._isTestEnv=function(){return this._window&&(this._window.__karma__||this._window.jasmine)},e.prototype._checkDoctypeIsDefined=function(){this._document&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")},e.prototype._checkThemeIsPresent=function(){if(this._document&&"function"==typeof getComputedStyle){var e=this._document.createElement("div");e.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(e);var t=getComputedStyle(e);t&&"none"!==t.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(e)}},e.prototype._checkHammerIsAvailable=function(){!this._hasCheckedHammer&&this._window&&(this._areChecksEnabled()&&!this._window.Hammer&&console.warn("Could not find HammerJS. Certain Angular Material components may not work correctly."),this._hasCheckedHammer=!0)},e}(),Zn=function(){function e(){}return e.prototype.isErrorState=function(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))},e}(),Kn=function(){},Xn=function(){},Gn=function(){},Yn=function(e){function t(){var t=e.call(this,"argument out of range");this.name=t.name="ArgumentOutOfRangeError",this.stack=t.stack,this.message=t.message}return Object(o.__extends)(t,e),t}(Error);function Wn(e){return function(t){return 0===e?new xn.a:t.lift(new Qn(e))}}var Qn=function(){function e(e){if(this.total=e,this.total<0)throw new Yn}return e.prototype.call=function(e,t){return t.subscribe(new Jn(e,this.total))},e}(),Jn=function(e){function t(t,n){e.call(this,t),this.total=n,this.count=0}return Object(o.__extends)(t,e),t.prototype._next=function(e){var t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))},t}(tt.a),$n=n("qLnt"),er=function(e){function t(t,n){e.call(this,t,n),this.scheduler=t,this.work=n,this.pending=!1}return Object(o.__extends)(t,e),t.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e,this.pending=!0;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this},t.prototype.requestAsyncId=function(e,t,n){return void 0===n&&(n=0),Rn.a.setInterval(e.flush.bind(e,this),n)},t.prototype.recycleAsyncId=function(e,t,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return t;Rn.a.clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var n=!1,r=void 0;try{this.work(e)}catch(e){n=!0,r=!!e&&e||new Error(e)}if(n)return this.unsubscribe(),r},t.prototype._unsubscribe=function(){var e=this.id,t=this.scheduler,n=t.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null},t}(function(e){function t(t,n){e.call(this)}return Object(o.__extends)(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}($n.a)),tr=new(function(e){function t(){e.apply(this,arguments),this.actions=[],this.active=!1,this.scheduled=void 0}return Object(o.__extends)(t,e),t.prototype.flush=function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}},t}(function(){function e(t,n){void 0===n&&(n=e.now),this.SchedulerAction=t,this.now=n}return e.prototype.schedule=function(e,t,n){return void 0===t&&(t=0),new this.SchedulerAction(this,e).schedule(n,t)},e.now=Date.now?Date.now:function(){return+new Date},e}()))(er);function nr(e,t,n){return function(r){return r.lift(new rr(e,t,n))}}var rr=function(){function e(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}return e.prototype.call=function(e,t){return t.subscribe(new or(e,this.nextOrObserver,this.error,this.complete))},e}(),or=function(e){function t(t,n,r,o){e.call(this,t);var i=new tt.a(n,r,o);i.syncErrorThrowable=!0,this.add(i),this.safeSubscriber=i}return Object(o.__extends)(t,e),t.prototype._next=function(e){var t=this.safeSubscriber;t.next(e),t.syncErrorThrown?this.destination.error(t.syncErrorValue):this.destination.next(e)},t.prototype._error=function(e){var t=this.safeSubscriber;t.error(e),this.destination.error(t.syncErrorThrown?t.syncErrorValue:e)},t.prototype._complete=function(){var e=this.safeSubscriber;e.complete(),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.complete()},t}(tt.a),ir=function(){function e(e){this._platform=e}return e.prototype.isDisabled=function(e){return e.hasAttribute("disabled")},e.prototype.isVisible=function(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility},e.prototype.isTabbable=function(e){if(!this._platform.isBrowser)return!1;var t=function(e){try{return e.frameElement}catch(e){return null}}(e.ownerDocument.defaultView||window);if(t){var n=t&&t.nodeName.toLowerCase();if(-1===ar(t))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===n)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(t))return!1}var r=e.nodeName.toLowerCase(),o=ar(e);if(e.hasAttribute("contenteditable"))return-1!==o;if("iframe"===r)return!1;if("audio"===r){if(!e.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===r){if(!e.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==r||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){var t=e.nodeName.toLowerCase(),n="input"===t&&e.type;return"text"===n||"password"===n||"select"===t||"textarea"===t}(e))&&e.tabIndex>=0},e.prototype.isFocusable=function(e){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){var t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||sr(e))}(e)&&!this.isDisabled(e)&&this.isVisible(e)},e}();function sr(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;var t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function ar(e){if(!sr(e))return null;var t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}var ur=function(){function e(e,t,n,r,o){void 0===o&&(o=!1),this._element=e,this._checker=t,this._ngZone=n,this._document=r,this._enabled=!0,o||this.attachAnchors()}return Object.defineProperty(e.prototype,"enabled",{get:function(){return this._enabled},set:function(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._startAnchor.tabIndex=this._endAnchor.tabIndex=this._enabled?0:-1)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this._startAnchor&&this._startAnchor.parentNode&&this._startAnchor.parentNode.removeChild(this._startAnchor),this._endAnchor&&this._endAnchor.parentNode&&this._endAnchor.parentNode.removeChild(this._endAnchor),this._startAnchor=this._endAnchor=null},e.prototype.attachAnchors=function(){var e=this;this._startAnchor||(this._startAnchor=this._createAnchor()),this._endAnchor||(this._endAnchor=this._createAnchor()),this._ngZone.runOutsideAngular(function(){e._startAnchor.addEventListener("focus",function(){e.focusLastTabbableElement()}),e._endAnchor.addEventListener("focus",function(){e.focusFirstTabbableElement()}),e._element.parentNode&&(e._element.parentNode.insertBefore(e._startAnchor,e._element),e._element.parentNode.insertBefore(e._endAnchor,e._element.nextSibling))})},e.prototype.focusInitialElementWhenReady=function(){var e=this;return new Promise(function(t){e._executeOnStable(function(){return t(e.focusInitialElement())})})},e.prototype.focusFirstTabbableElementWhenReady=function(){var e=this;return new Promise(function(t){e._executeOnStable(function(){return t(e.focusFirstTabbableElement())})})},e.prototype.focusLastTabbableElementWhenReady=function(){var e=this;return new Promise(function(t){e._executeOnStable(function(){return t(e.focusLastTabbableElement())})})},e.prototype._getRegionBoundary=function(e){for(var t=this._element.querySelectorAll("[cdk-focus-region-"+e+"], [cdkFocusRegion"+e+"], [cdk-focus-"+e+"]"),n=0;n<t.length;n++)t[n].hasAttribute("cdk-focus-"+e)?console.warn("Found use of deprecated attribute 'cdk-focus-"+e+"', use 'cdkFocusRegion"+e+"' instead.",t[n]):t[n].hasAttribute("cdk-focus-region-"+e)&&console.warn("Found use of deprecated attribute 'cdk-focus-region-"+e+"', use 'cdkFocusRegion"+e+"' instead.",t[n]);return"start"==e?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)},e.prototype.focusInitialElement=function(){var e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");return this._element.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead.",this._element),e?(e.focus(),!0):this.focusFirstTabbableElement()},e.prototype.focusFirstTabbableElement=function(){var e=this._getRegionBoundary("start");return e&&e.focus(),!!e},e.prototype.focusLastTabbableElement=function(){var e=this._getRegionBoundary("end");return e&&e.focus(),!!e},e.prototype._getFirstTabbableElement=function(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;for(var t=e.children||e.childNodes,n=0;n<t.length;n++){var r=t[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[n]):null;if(r)return r}return null},e.prototype._getLastTabbableElement=function(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;for(var t=e.children||e.childNodes,n=t.length-1;n>=0;n--){var r=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(r)return r}return null},e.prototype._createAnchor=function(){var e=this._document.createElement("div");return e.tabIndex=this._enabled?0:-1,e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e},e.prototype._executeOnStable=function(e){this._ngZone.isStable?e():this._ngZone.onStable.asObservable().pipe(Wn(1)).subscribe(e)},e}(),lr=function(){function e(e,t,n){this._checker=e,this._ngZone=t,this._document=n}return e.prototype.create=function(e,t){return void 0===t&&(t=!1),new ur(e,this._checker,this._ngZone,this._document,t)},e}();function cr(e,t){return(e.getAttribute(t)||"").match(/\S+/g)||[]}var dr=0,pr=new Map,fr=null,hr=function(){function e(e){this._document=e}return e.prototype.describe=function(e,t){this._canBeDescribed(e,t)&&(pr.has(t)||this._createMessageElement(t),this._isElementDescribedByMessage(e,t)||this._addMessageReference(e,t))},e.prototype.removeDescription=function(e,t){if(this._canBeDescribed(e,t)){this._isElementDescribedByMessage(e,t)&&this._removeMessageReference(e,t);var n=pr.get(t);n&&0===n.referenceCount&&this._deleteMessageElement(t),fr&&0===fr.childNodes.length&&this._deleteMessagesContainer()}},e.prototype.ngOnDestroy=function(){for(var e=this._document.querySelectorAll("[cdk-describedby-host]"),t=0;t<e.length;t++)this._removeCdkDescribedByReferenceIds(e[t]),e[t].removeAttribute("cdk-describedby-host");fr&&this._deleteMessagesContainer(),pr.clear()},e.prototype._createMessageElement=function(e){var t=this._document.createElement("div");t.setAttribute("id","cdk-describedby-message-"+dr++),t.appendChild(this._document.createTextNode(e)),fr||this._createMessagesContainer(),fr.appendChild(t),pr.set(e,{messageElement:t,referenceCount:0})},e.prototype._deleteMessageElement=function(e){var t=pr.get(e),n=t&&t.messageElement;fr&&n&&fr.removeChild(n),pr.delete(e)},e.prototype._createMessagesContainer=function(){(fr=this._document.createElement("div")).setAttribute("id","cdk-describedby-message-container"),fr.setAttribute("aria-hidden","true"),fr.style.display="none",this._document.body.appendChild(fr)},e.prototype._deleteMessagesContainer=function(){fr&&fr.parentNode&&(fr.parentNode.removeChild(fr),fr=null)},e.prototype._removeCdkDescribedByReferenceIds=function(e){var t=cr(e,"aria-describedby").filter(function(e){return 0!=e.indexOf("cdk-describedby-message")});e.setAttribute("aria-describedby",t.join(" "))},e.prototype._addMessageReference=function(e,t){var n,r,o,i,s=pr.get(t);o=s.messageElement.id,(i=cr(n=e,r="aria-describedby")).some(function(e){return e.trim()==o.trim()})||(i.push(o.trim()),n.setAttribute(r,i.join(" "))),e.setAttribute("cdk-describedby-host",""),s.referenceCount++},e.prototype._removeMessageReference=function(e,t){var n,r,o,i,s=pr.get(t);s.referenceCount--,o=s.messageElement.id,i=cr(n=e,r="aria-describedby").filter(function(e){return e!=o.trim()}),n.setAttribute(r,i.join(" ")),e.removeAttribute("cdk-describedby-host")},e.prototype._isElementDescribedByMessage=function(e,t){var n=cr(e,"aria-describedby"),r=pr.get(t),o=r&&r.messageElement.id;return!!o&&-1!=n.indexOf(o)},e.prototype._canBeDescribed=function(e,t){return e.nodeType===this._document.ELEMENT_NODE&&null!=t&&!!(""+t).trim()},e}();function vr(e,t){return e||new hr(t)}var yr=new r.InjectionToken("liveAnnouncerElement"),gr=function(){function e(e,t){this._document=t,this._liveElement=e||this._createLiveElement()}return e.prototype.announce=function(e,t){var n=this;return void 0===t&&(t="polite"),this._liveElement.textContent="",this._liveElement.setAttribute("aria-live",t),new Promise(function(t){setTimeout(function(){n._liveElement.textContent=e,t()},100)})},e.prototype.ngOnDestroy=function(){this._liveElement&&this._liveElement.parentNode&&this._liveElement.parentNode.removeChild(this._liveElement)},e.prototype._createLiveElement=function(){var e=this._document.createElement("div");return e.classList.add("cdk-visually-hidden"),e.setAttribute("aria-atomic","true"),e.setAttribute("aria-live","polite"),this._document.body.appendChild(e),e},e}();function mr(e,t,n){return e||new gr(t,n)}var _r=function(){function e(e,t){this._ngZone=e,this._platform=t,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._unregisterGlobalListeners=function(){},this._monitoredElementCount=0}return e.prototype.monitor=function(e,t,n){var o=this;if(t instanceof r.Renderer2||(n=t),n=!!n,!this._platform.isBrowser)return $e(null);if(this._elementInfo.has(e)){var i=this._elementInfo.get(e);return i.checkChildren=n,i.subject.asObservable()}var s={unlisten:function(){},checkChildren:n,subject:new Vn.a};this._elementInfo.set(e,s),this._incrementMonitoredElementCount();var a=function(t){return o._onFocus(t,e)},u=function(t){return o._onBlur(t,e)};return this._ngZone.runOutsideAngular(function(){e.addEventListener("focus",a,!0),e.addEventListener("blur",u,!0)}),s.unlisten=function(){e.removeEventListener("focus",a,!0),e.removeEventListener("blur",u,!0)},s.subject.asObservable()},e.prototype.stopMonitoring=function(e){var t=this._elementInfo.get(e);t&&(t.unlisten(),t.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._decrementMonitoredElementCount())},e.prototype.focusVia=function(e,t){this._setOriginForCurrentEventQueue(t),e.focus()},e.prototype.ngOnDestroy=function(){var e=this;this._elementInfo.forEach(function(t,n){return e.stopMonitoring(n)})},e.prototype._registerGlobalListeners=function(){var e=this;if(this._platform.isBrowser){var t=function(){e._lastTouchTarget=null,e._setOriginForCurrentEventQueue("keyboard")},n=function(){e._lastTouchTarget||e._setOriginForCurrentEventQueue("mouse")},r=function(t){null!=e._touchTimeoutId&&clearTimeout(e._touchTimeoutId),e._lastTouchTarget=t.target,e._touchTimeoutId=setTimeout(function(){return e._lastTouchTarget=null},650)},o=function(){e._windowFocused=!0,e._windowFocusTimeoutId=setTimeout(function(){return e._windowFocused=!1},0)};this._ngZone.runOutsideAngular(function(){document.addEventListener("keydown",t,!0),document.addEventListener("mousedown",n,!0),document.addEventListener("touchstart",r,!Hn()||{passive:!0,capture:!0}),window.addEventListener("focus",o)}),this._unregisterGlobalListeners=function(){document.removeEventListener("keydown",t,!0),document.removeEventListener("mousedown",n,!0),document.removeEventListener("touchstart",r,!Hn()||{passive:!0,capture:!0}),window.removeEventListener("focus",o),clearTimeout(e._windowFocusTimeoutId),clearTimeout(e._touchTimeoutId),clearTimeout(e._originTimeoutId)}}},e.prototype._toggleClass=function(e,t,n){n?e.classList.add(t):e.classList.remove(t)},e.prototype._setClasses=function(e,t){this._elementInfo.get(e)&&(this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t))},e.prototype._setOriginForCurrentEventQueue=function(e){var t=this;this._origin=e,this._originTimeoutId=setTimeout(function(){return t._origin=null},0)},e.prototype._wasCausedByTouch=function(e){var t=e.target;return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))},e.prototype._onFocus=function(e,t){var n=this._elementInfo.get(t);n&&(n.checkChildren||t===e.target)&&(this._origin||(this._origin=this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"),this._setClasses(t,this._origin),n.subject.next(this._origin),this._lastFocusOrigin=this._origin,this._origin=null)},e.prototype._onBlur=function(e,t){var n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),n.subject.next(null))},e.prototype._incrementMonitoredElementCount=function(){1==++this._monitoredElementCount&&this._registerGlobalListeners()},e.prototype._decrementMonitoredElementCount=function(){--this._monitoredElementCount||(this._unregisterGlobalListeners(),this._unregisterGlobalListeners=function(){})},e}();function br(e,t,n){return e||new _r(t,n)}var wr=function(){},Cr=n("8ofh"),Er=n("B1iP"),xr=n("NePw"),Sr=Object.prototype.toString,Or=function(e){function t(t,n,r,o){e.call(this),this.sourceObj=t,this.eventName=n,this.selector=r,this.options=o}return Object(o.__extends)(t,e),t.create=function(e,n,r,o){return Object(Er.a)(r)&&(o=r,r=void 0),new t(e,n,o,r)},t.setupSubscription=function(e,n,r,o,i){var s;if(function(e){return!!e&&"[object NodeList]"===Sr.call(e)}(e)||function(e){return!!e&&"[object HTMLCollection]"===Sr.call(e)}(e))for(var a=0,u=e.length;a<u;a++)t.setupSubscription(e[a],n,r,o,i);else if(function(e){return!!e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){var l=e;e.addEventListener(n,r,i),s=function(){return l.removeEventListener(n,r,i)}}else if(function(e){return!!e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){var c=e;e.on(n,r),s=function(){return c.off(n,r)}}else{if(!function(e){return!!e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e))throw new TypeError("Invalid event target");var d=e;e.addListener(n,r),s=function(){return d.removeListener(n,r)}}o.add(new $n.a(s))},t.prototype._subscribe=function(e){var n=this.selector;t.setupSubscription(this.sourceObj,this.eventName,n?function(){for(var t=[],r=0;r<arguments.length;r++)t[r-0]=arguments[r];var o=Object(Cr.a)(n).apply(void 0,t);o===xr.a?e.error(xr.a.e):e.next(o)}:function(t){return e.next(t)},e,this.options)},t}(lt.a).create,Tr=function(){function e(e){this.durationSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new kr(e,this.durationSelector))},e}(),kr=function(e){function t(t,n){e.call(this,t),this.durationSelector=n,this.hasValue=!1}return Object(o.__extends)(t,e),t.prototype._next=function(e){if(this.value=e,this.hasValue=!0,!this.throttled){var t=Object(Cr.a)(this.durationSelector)(e);if(t===xr.a)this.destination.error(xr.a.e);else{var n=Object(On.a)(this,t);n.closed?this.clearThrottle():this.add(this.throttled=n)}}},t.prototype.clearThrottle=function(){var e=this.value,t=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),t&&(this.value=null,this.hasValue=!1,this.destination.next(e))},t.prototype.notifyNext=function(e,t,n,r){this.clearThrottle()},t.prototype.notifyComplete=function(){this.clearThrottle()},t}(Tn.a),Ir=n("3iOE"),Ar=function(e){function t(t,n,r){var o,i;void 0===t&&(t=0),e.call(this),this.period=-1,this.dueTime=0,o=n,!Object(Sn.a)(o)&&o-parseFloat(o)+1>=0?this.period=Number(n)<1?1:Number(n):Object(Ir.a)(n)&&(r=n),Object(Ir.a)(r)||(r=tr),this.scheduler=r,this.dueTime=(i=t)instanceof Date&&!isNaN(+i)?+t-this.scheduler.now():t}return Object(o.__extends)(t,e),t.create=function(e,n,r){return void 0===e&&(e=0),new t(e,n,r)},t.dispatch=function(e){var t=e.index,n=e.period,r=e.subscriber;if(r.next(t),!r.closed){if(-1===n)return r.complete();e.index=t+1,this.schedule(e,n)}},t.prototype._subscribe=function(e){return this.scheduler.schedule(t.dispatch,this.dueTime,{index:0,period:this.period,subscriber:e})},t}(lt.a).create;function Rr(e,t){return void 0===t&&(t=tr),n=function(){return Ar(e,t)},function(e){return e.lift(new Tr(n))};var n}var Pr=n("2kLc"),Nr=function(){function e(e,t){this._ngZone=e,this._platform=t,this._scrolled=new Vn.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}return e.prototype.register=function(e){var t=this,n=e.elementScrolled().subscribe(function(){return t._scrolled.next(e)});this.scrollContainers.set(e,n)},e.prototype.deregister=function(e){var t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))},e.prototype.scrolled=function(e){var t=this;return void 0===e&&(e=20),this._platform.isBrowser?lt.a.create(function(n){t._globalSubscription||t._addGlobalListener();var r=e>0?t._scrolled.pipe(Rr(e)).subscribe(n):t._scrolled.subscribe(n);return t._scrolledCount++,function(){r.unsubscribe(),t._scrolledCount--,t._scrolledCount||t._removeGlobalListener()}}):$e()},e.prototype.ngOnDestroy=function(){var e=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(t,n){return e.deregister(n)})},e.prototype.ancestorScrolled=function(e,t){var n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(nt(function(e){return!e||n.indexOf(e)>-1}))},e.prototype.getAncestorScrollContainers=function(e){var t=this,n=[];return this.scrollContainers.forEach(function(r,o){t._scrollableContainsElement(o,e)&&n.push(o)}),n},e.prototype._scrollableContainsElement=function(e,t){var n=t.nativeElement,r=e.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1},e.prototype._addGlobalListener=function(){var e=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return Or(window.document,"scroll").subscribe(function(){return e._scrolled.next()})})},e.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)},e}();function Dr(e,t,n){return e||new Nr(t,n)}var Mr=function(){function e(e,t){var n=this;this._platform=e,this._change=e.isBrowser?t.runOutsideAngular(function(){return Object(Pr.a)(Or(window,"resize"),Or(window,"orientationchange"))}):$e(),this._invalidateCache=this.change().subscribe(function(){return n._updateViewportSize()})}return e.prototype.ngOnDestroy=function(){this._invalidateCache.unsubscribe()},e.prototype.getViewportSize=function(){this._viewportSize||this._updateViewportSize();var e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e},e.prototype.getViewportRect=function(){var e=this.getViewportScrollPosition(),t=this.getViewportSize(),n=t.width,r=t.height;return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+n,height:r,width:n}},e.prototype.getViewportScrollPosition=function(){if(!this._platform.isBrowser)return{top:0,left:0};var e=document.documentElement.getBoundingClientRect();return{top:-e.top||document.body.scrollTop||window.scrollY||document.documentElement.scrollTop||0,left:-e.left||document.body.scrollLeft||window.scrollX||document.documentElement.scrollLeft||0}},e.prototype.change=function(e){return void 0===e&&(e=20),e>0?this._change.pipe(Rr(e)):this._change},e.prototype._updateViewportSize=function(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}},e}();function jr(e,t,n){return e||new Mr(t,n)}var Fr=function(){};function Vr(){throw Error("Host already has a portal attached")}var Lr=function(){function e(){}return e.prototype.attach=function(e){return null==e&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),e.hasAttached()&&Vr(),this._attachedHost=e,e.attach(this)},e.prototype.detach=function(){var e=this._attachedHost;null==e?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,e.detach())},Object.defineProperty(e.prototype,"isAttached",{get:function(){return null!=this._attachedHost},enumerable:!0,configurable:!0}),e.prototype.setAttachedHost=function(e){this._attachedHost=e},e}(),Br=function(e){function t(t,n,r){var o=e.call(this)||this;return o.component=t,o.viewContainerRef=n,o.injector=r,o}return Object(o.__extends)(t,e),t}(Lr),Hr=function(e){function t(t,n,r){var o=e.call(this)||this;return o.templateRef=t,o.viewContainerRef=n,o.context=r,o}return Object(o.__extends)(t,e),Object.defineProperty(t.prototype,"origin",{get:function(){return this.templateRef.elementRef},enumerable:!0,configurable:!0}),t.prototype.attach=function(t,n){return void 0===n&&(n=this.context),this.context=n,e.prototype.attach.call(this,t)},t.prototype.detach=function(){return this.context=void 0,e.prototype.detach.call(this)},t}(Lr),Ur=function(e){function t(t,n,r,o){var i=e.call(this)||this;return i.outletElement=t,i._componentFactoryResolver=n,i._appRef=r,i._defaultInjector=o,i}return Object(o.__extends)(t,e),t.prototype.attachComponentPortal=function(e){var t,n=this,r=this._componentFactoryResolver.resolveComponentFactory(e.component);return e.viewContainerRef?(t=e.viewContainerRef.createComponent(r,e.viewContainerRef.length,e.injector||e.viewContainerRef.parentInjector),this.setDisposeFn(function(){return t.destroy()})):(t=r.create(e.injector||this._defaultInjector),this._appRef.attachView(t.hostView),this.setDisposeFn(function(){n._appRef.detachView(t.hostView),t.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(t)),t},t.prototype.attachTemplatePortal=function(e){var t=this,n=e.viewContainerRef,r=n.createEmbeddedView(e.templateRef,e.context);return r.detectChanges(),r.rootNodes.forEach(function(e){return t.outletElement.appendChild(e)}),this.setDisposeFn(function(){var e=n.indexOf(r);-1!==e&&n.remove(e)}),r},t.prototype.dispose=function(){e.prototype.dispose.call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)},t.prototype._getComponentRootNode=function(e){return e.hostView.rootNodes[0]},t}(function(){function e(){this._isDisposed=!1}return e.prototype.hasAttached=function(){return!!this._attachedPortal},e.prototype.attach=function(e){return e||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&Vr(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),e instanceof Br?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof Hr?(this._attachedPortal=e,this.attachTemplatePortal(e)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()},e.prototype.detach=function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()},e.prototype.dispose=function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0},e.prototype.setDisposeFn=function(e){this._disposeFn=e},e.prototype._invokeDisposeFn=function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)},e}()),zr=function(){},qr=function(){function e(){}return e.prototype.enable=function(){},e.prototype.disable=function(){},e.prototype.attach=function(){},e}(),Zr=function(){return function(e){var t=this;this.scrollStrategy=new qr,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.direction="ltr",e&&Object.keys(e).filter(function(t){return void 0!==e[t]}).forEach(function(n){return t[n]=e[n]})}}();function Kr(){return Error("Scroll strategy has already been attached.")}var Xr=function(){function e(e,t,n,r){var o=this;this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=n,this._config=r,this._scrollSubscription=null,this._detach=function(){o.disable(),o._overlayRef.hasAttached()&&o._ngZone.run(function(){return o._overlayRef.detach()})}}return e.prototype.attach=function(e){if(this._overlayRef)throw Kr();this._overlayRef=e},e.prototype.enable=function(){var e=this;if(!this._scrollSubscription){var t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(function(){var t=e._viewportRuler.getViewportScrollPosition().top;Math.abs(t-e._initialScrollPosition)>e._config.threshold?e._detach():e._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}},e.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},e}(),Gr=function(){function e(e,t){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}return e.prototype.attach=function(){},e.prototype.enable=function(){if(this._canBeEnabled()){var e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=-this._previousScrollPosition.left+"px",e.style.top=-this._previousScrollPosition.top+"px",e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}},e.prototype.disable=function(){if(this._isEnabled){var e=this._document.documentElement,t=this._document.body,n=e.style.scrollBehavior||"",r=t.style.scrollBehavior||"";this._isEnabled=!1,e.style.left=this._previousHTMLStyles.left,e.style.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),e.style.scrollBehavior=t.style.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),e.style.scrollBehavior=n,t.style.scrollBehavior=r}},e.prototype._canBeEnabled=function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width},e}();function Yr(e,t){return t.some(function(t){return e.bottom<t.top||e.top>t.bottom||e.right<t.left||e.left>t.right})}function Wr(e,t){return t.some(function(t){return e.top<t.top||e.bottom>t.bottom||e.left<t.left||e.right>t.right})}var Qr=function(){function e(e,t,n,r){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this._config=r,this._scrollSubscription=null}return e.prototype.attach=function(e){if(this._overlayRef)throw Kr();this._overlayRef=e},e.prototype.enable=function(){var e=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){if(e._overlayRef.updatePosition(),e._config&&e._config.autoClose){var t=e._overlayRef.overlayElement.getBoundingClientRect(),n=e._viewportRuler.getViewportSize(),r=n.width,o=n.height;Yr(t,[{width:r,height:o,bottom:o,right:r,top:0,left:0}])&&(e.disable(),e._ngZone.run(function(){return e._overlayRef.detach()}))}}))},e.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},e}(),Jr=function(){return function(e,t,n,r){var o=this;this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this.noop=function(){return new qr},this.close=function(e){return new Xr(o._scrollDispatcher,o._ngZone,o._viewportRuler,e)},this.block=function(){return new Gr(o._viewportRuler,o._document)},this.reposition=function(e){return new Qr(o._scrollDispatcher,o._viewportRuler,o._ngZone,e)},this._document=r}}(),$r=function(){function e(e,t,n,r,o,i){this._portalOutlet=e,this._pane=t,this._config=n,this._ngZone=r,this._keyboardDispatcher=o,this._document=i,this._backdropElement=null,this._backdropClick=new Vn.a,this._attachments=new Vn.a,this._detachments=new Vn.a,this._keydownEvents=new Vn.a,n.scrollStrategy&&n.scrollStrategy.attach(this)}return Object.defineProperty(e.prototype,"overlayElement",{get:function(){return this._pane},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"backdropElement",{get:function(){return this._backdropElement},enumerable:!0,configurable:!0}),e.prototype.attach=function(e){var t=this,n=this._portalOutlet.attach(e);return this._config.positionStrategy&&this._config.positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._config.scrollStrategy&&this._config.scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(Wn(1)).subscribe(function(){t.hasAttached()&&t.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&(Array.isArray(this._config.panelClass)?this._config.panelClass.forEach(function(e){return t._pane.classList.add(e)}):this._pane.classList.add(this._config.panelClass)),this._attachments.next(),this._keyboardDispatcher.add(this),n},e.prototype.detach=function(){if(this.hasAttached()){this.detachBackdrop(),this._togglePointerEvents(!1),this._config.positionStrategy&&this._config.positionStrategy.detach&&this._config.positionStrategy.detach(),this._config.scrollStrategy&&this._config.scrollStrategy.disable();var e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),e}},e.prototype.dispose=function(){var e=this.hasAttached();this._config.positionStrategy&&this._config.positionStrategy.dispose(),this._config.scrollStrategy&&this._config.scrollStrategy.disable(),this.detachBackdrop(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),e&&this._detachments.next(),this._detachments.complete()},e.prototype.hasAttached=function(){return this._portalOutlet.hasAttached()},e.prototype.backdropClick=function(){return this._backdropClick.asObservable()},e.prototype.attachments=function(){return this._attachments.asObservable()},e.prototype.detachments=function(){return this._detachments.asObservable()},e.prototype.keydownEvents=function(){return this._keydownEvents.asObservable()},e.prototype.getConfig=function(){return this._config},e.prototype.updatePosition=function(){this._config.positionStrategy&&this._config.positionStrategy.apply()},e.prototype.updateSize=function(e){this._config=Object(o.__assign)({},this._config,e),this._updateElementSize()},e.prototype.setDirection=function(e){this._config=Object(o.__assign)({},this._config,{direction:e}),this._updateElementDirection()},e.prototype._updateElementDirection=function(){this._pane.setAttribute("dir",this._config.direction)},e.prototype._updateElementSize=function(){(this._config.width||0===this._config.width)&&(this._pane.style.width=eo(this._config.width)),(this._config.height||0===this._config.height)&&(this._pane.style.height=eo(this._config.height)),(this._config.minWidth||0===this._config.minWidth)&&(this._pane.style.minWidth=eo(this._config.minWidth)),(this._config.minHeight||0===this._config.minHeight)&&(this._pane.style.minHeight=eo(this._config.minHeight)),(this._config.maxWidth||0===this._config.maxWidth)&&(this._pane.style.maxWidth=eo(this._config.maxWidth)),(this._config.maxHeight||0===this._config.maxHeight)&&(this._pane.style.maxHeight=eo(this._config.maxHeight))},e.prototype._togglePointerEvents=function(e){this._pane.style.pointerEvents=e?"auto":"none"},e.prototype._attachBackdrop=function(){var e=this;this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._backdropElement.classList.add(this._config.backdropClass),this._pane.parentElement.insertBefore(this._backdropElement,this._pane),this._backdropElement.addEventListener("click",function(t){return e._backdropClick.next(t)}),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){e._backdropElement&&e._backdropElement.classList.add("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")},e.prototype._updateStackingOrder=function(){this._pane.nextSibling&&this._pane.parentNode.appendChild(this._pane)},e.prototype.detachBackdrop=function(){var e=this,t=this._backdropElement;if(t){var n=function(){t&&t.parentNode&&t.parentNode.removeChild(t),e._backdropElement==t&&(e._backdropElement=null)};t.classList.remove("cdk-overlay-backdrop-showing"),this._config.backdropClass&&t.classList.remove(this._config.backdropClass),t.addEventListener("transitionend",n),t.style.pointerEvents="none",this._ngZone.runOutsideAngular(function(){setTimeout(n,500)})}},e}();function eo(e){return"string"==typeof e?e:e+"px"}var to=function(){function e(e,t,n,r,o){this._connectedTo=n,this._viewportRuler=r,this._document=o,this._dir="ltr",this._offsetX=0,this._offsetY=0,this.scrollables=[],this._resizeSubscription=$n.a.EMPTY,this._preferredPositions=[],this._applied=!1,this._positionLocked=!1,this._onPositionChange=new Vn.a,this._origin=this._connectedTo.nativeElement,this.withFallbackPosition(e,t)}return Object.defineProperty(e.prototype,"_isRtl",{get:function(){return"rtl"===this._dir},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onPositionChange",{get:function(){return this._onPositionChange.asObservable()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"positions",{get:function(){return this._preferredPositions},enumerable:!0,configurable:!0}),e.prototype.attach=function(e){var t=this;this._pane=e.overlayElement,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(function(){return t.apply()})},e.prototype.dispose=function(){this._applied=!1,this._resizeSubscription.unsubscribe(),this._onPositionChange.complete()},e.prototype.detach=function(){this._applied=!1,this._resizeSubscription.unsubscribe()},e.prototype.apply=function(){if(this._applied&&this._positionLocked&&this._lastConnectedPosition)this.recalculateLastPosition();else{this._applied=!0;for(var e,t,n=this._pane,r=this._origin.getBoundingClientRect(),o=n.getBoundingClientRect(),i=this._viewportRuler.getViewportSize(),s=0,a=this._preferredPositions;s<a.length;s++){var u=a[s],l=this._getOriginConnectionPoint(r,u),c=this._getOverlayPoint(l,o,i,u);if(c.fitsInViewport)return this._setElementPosition(n,o,c,u),void(this._lastConnectedPosition=u);(!e||e.visibleArea<c.visibleArea)&&(e=c,t=u)}this._setElementPosition(n,o,e,t)}},e.prototype.recalculateLastPosition=function(){if(this._lastConnectedPosition){var e=this._origin.getBoundingClientRect(),t=this._pane.getBoundingClientRect(),n=this._viewportRuler.getViewportSize(),r=this._lastConnectedPosition||this._preferredPositions[0],o=this._getOriginConnectionPoint(e,r),i=this._getOverlayPoint(o,t,n,r);this._setElementPosition(this._pane,t,i,r)}},e.prototype.withScrollableContainers=function(e){this.scrollables=e},e.prototype.withFallbackPosition=function(e,t,n,r){var o=new function(e,t,n,r){this.offsetX=n,this.offsetY=r,this.originX=e.originX,this.originY=e.originY,this.overlayX=t.overlayX,this.overlayY=t.overlayY}(e,t,n,r);return this._preferredPositions.push(o),this},e.prototype.withDirection=function(e){return this._dir=e,this},e.prototype.withOffsetX=function(e){return this._offsetX=e,this},e.prototype.withOffsetY=function(e){return this._offsetY=e,this},e.prototype.withLockedPosition=function(e){return this._positionLocked=e,this},e.prototype.withPositions=function(e){return this._preferredPositions=e.slice(),this},e.prototype.setOrigin=function(e){return this._origin=e.nativeElement,this},e.prototype._getStartX=function(e){return this._isRtl?e.right:e.left},e.prototype._getEndX=function(e){return this._isRtl?e.left:e.right},e.prototype._getOriginConnectionPoint=function(e,t){var n=this._getStartX(e),r=this._getEndX(e);return{x:"center"==t.originX?n+e.width/2:"start"==t.originX?n:r,y:"center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom}},e.prototype._getOverlayPoint=function(e,t,n,r){var o=e.x+("center"==r.overlayX?-t.width/2:"start"===r.overlayX?this._isRtl?-t.width:0:this._isRtl?0:-t.width)+(void 0===r.offsetX?this._offsetX:r.offsetX),i=e.y+("center"==r.overlayY?-t.height/2:"top"==r.overlayY?0:-t.height)+(void 0===r.offsetY?this._offsetY:r.offsetY),s=0-i,a=i+t.height-n.height,u=this._subtractOverflows(t.width,0-o,o+t.width-n.width)*this._subtractOverflows(t.height,s,a);return{x:o,y:i,fitsInViewport:t.width*t.height===u,visibleArea:u}},e.prototype._getScrollVisibility=function(e){var t=this._origin.getBoundingClientRect(),n=e.getBoundingClientRect(),r=this.scrollables.map(function(e){return e.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:Wr(t,r),isOriginOutsideView:Yr(t,r),isOverlayClipped:Wr(n,r),isOverlayOutsideView:Yr(n,r)}},e.prototype._setElementPosition=function(e,t,n,r){var o,i="bottom"===r.overlayY?"bottom":"top",s="top"===i?n.y:this._document.documentElement.clientHeight-(n.y+t.height),a="left"==(o="rtl"===this._dir?"end"===r.overlayX?"left":"right":"end"===r.overlayX?"right":"left")?n.x:this._document.documentElement.clientWidth-(n.x+t.width);["top","bottom","left","right"].forEach(function(t){return e.style[t]=null}),e.style[i]=s+"px",e.style[o]=a+"px";var u=new function(e,t){this.connectionPair=e,this.scrollableViewProperties=t}(r,this._getScrollVisibility(e));this._onPositionChange.next(u)},e.prototype._subtractOverflows=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(e,t){return e-Math.max(t,0)},e)},e}(),no=function(){function e(e){this._document=e,this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height="",this._wrapper=null}return e.prototype.attach=function(e){var t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height})},e.prototype.top=function(e){return void 0===e&&(e=""),this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this},e.prototype.left=function(e){return void 0===e&&(e=""),this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this},e.prototype.bottom=function(e){return void 0===e&&(e=""),this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this},e.prototype.right=function(e){return void 0===e&&(e=""),this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this},e.prototype.width=function(e){return void 0===e&&(e=""),this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this},e.prototype.height=function(e){return void 0===e&&(e=""),this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this},e.prototype.centerHorizontally=function(e){return void 0===e&&(e=""),this.left(e),this._justifyContent="center",this},e.prototype.centerVertically=function(e){return void 0===e&&(e=""),this.top(e),this._alignItems="center",this},e.prototype.apply=function(){if(this._overlayRef.hasAttached()){var e=this._overlayRef.overlayElement;!this._wrapper&&e.parentNode&&(this._wrapper=this._document.createElement("div"),this._wrapper.classList.add("cdk-global-overlay-wrapper"),e.parentNode.insertBefore(this._wrapper,e),this._wrapper.appendChild(e));var t=e.style,n=e.parentNode.style,r=this._overlayRef.getConfig();t.position=this._cssPosition,t.marginLeft="100%"===r.width?"0":this._leftOffset,t.marginTop="100%"===r.height?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,n.justifyContent="100%"===r.width?"flex-start":this._justifyContent,n.alignItems="100%"===r.height?"flex-start":this._alignItems}},e.prototype.dispose=function(){this._wrapper&&this._wrapper.parentNode&&(this._wrapper.parentNode.removeChild(this._wrapper),this._wrapper=null)},e}(),ro=function(){function e(e,t){this._viewportRuler=e,this._document=t}return e.prototype.global=function(){return new no(this._document)},e.prototype.connectedTo=function(e,t,n){return new to(t,n,e,this._viewportRuler,this._document)},e}(),oo=function(){function e(e){this._document=e,this._attachedOverlays=[]}return e.prototype.ngOnDestroy=function(){this._unsubscribeFromKeydownEvents()},e.prototype.add=function(e){this._keydownEventSubscription||this._subscribeToKeydownEvents(),this._attachedOverlays.push(e)},e.prototype.remove=function(e){var t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this._unsubscribeFromKeydownEvents()},e.prototype._subscribeToKeydownEvents=function(){var e=this,t=Or(this._document.body,"keydown",!0);this._keydownEventSubscription=t.pipe(nt(function(){return!!e._attachedOverlays.length})).subscribe(function(t){e._selectOverlayFromEvent(t)._keydownEvents.next(t)})},e.prototype._unsubscribeFromKeydownEvents=function(){this._keydownEventSubscription&&(this._keydownEventSubscription.unsubscribe(),this._keydownEventSubscription=null)},e.prototype._selectOverlayFromEvent=function(e){return this._attachedOverlays.find(function(t){return t.overlayElement===e.target||t.overlayElement.contains(e.target)})||this._attachedOverlays[this._attachedOverlays.length-1]},e}();function io(e,t){return e||new oo(t)}var so=function(){function e(e){this._document=e}return e.prototype.ngOnDestroy=function(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)},e.prototype.getContainerElement=function(){return this._containerElement||this._createContainer(),this._containerElement},e.prototype._createContainer=function(){var e=this._document.createElement("div");e.classList.add("cdk-overlay-container"),this._document.body.appendChild(e),this._containerElement=e},e}();function ao(e,t){return e||new so(t)}var uo=0,lo=function(){function e(e,t,n,r,o,i,s,a,u){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=n,this._positionBuilder=r,this._keyboardDispatcher=o,this._appRef=i,this._injector=s,this._ngZone=a,this._document=u}return e.prototype.create=function(e){var t=this._createPaneElement(),n=this._createPortalOutlet(t);return new $r(n,t,new Zr(e),this._ngZone,this._keyboardDispatcher,this._document)},e.prototype.position=function(){return this._positionBuilder},e.prototype._createPaneElement=function(){var e=this._document.createElement("div");return e.id="cdk-overlay-"+uo++,e.classList.add("cdk-overlay-pane"),this._overlayContainer.getContainerElement().appendChild(e),e},e.prototype._createPortalOutlet=function(e){return new Ur(e,this._componentFactoryResolver,this._appRef,this._injector)},e}(),co=new r.InjectionToken("cdk-connected-overlay-scroll-strategy");function po(e){return function(){return e.scrollStrategies.reposition()}}var fo=function(){};n("8Ut3"),n("kQVV"),n("mHG6"),n("X3fp"),Math.pow(2,53),n("mz3w"),n("bywS");var ho=function(){},vo=function(){},yo=function(){function e(){this._listeners=[]}return e.prototype.notify=function(e,t){for(var n=0,r=this._listeners;n<r.length;n++)(0,r[n])(e,t)},e.prototype.listen=function(e){var t=this;return this._listeners.push(e),function(){t._listeners=t._listeners.filter(function(t){return e!==t})}},e.prototype.ngOnDestroy=function(){this._listeners=[]},e}();function go(e){return e||new yo}var mo=function(){},_o=function(){},bo=function(){function e(){}return e.prototype.create=function(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)},e}(),wo=function(){},Co=function(){},Eo=function(){},xo=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new So(e,this.selector,this.caught))},e}(),So=function(e){function t(t,n,r){e.call(this,t),this.selector=n,this.caught=r}return Object(o.__extends)(t,e),t.prototype.error=function(t){if(!this.isStopped){var n=void 0;try{n=this.selector(t,this.caught)}catch(t){return void e.prototype.error.call(this,t)}this._unsubscribeAndRecycle(),this.add(Object(On.a)(this,n))}},t}(Tn.a),Oo=function(){function e(e){this.callback=e}return e.prototype.call=function(e,t){return t.subscribe(new To(e,this.callback))},e}(),To=function(e){function t(t,n){e.call(this,t),this.add(new $n.a(n))}return Object(o.__extends)(t,e),t}(tt.a),ko=n("eIqN"),Io=function(e){function t(t,n){e.call(this),this.error=t,this.scheduler=n}return Object(o.__extends)(t,e),t.create=function(e,n){return new t(e,n)},t.dispatch=function(e){e.subscriber.error(e.error)},t.prototype._subscribe=function(e){var n=this.error,r=this.scheduler;if(e.syncErrorThrowable=!0,r)return r.schedule(t.dispatch,0,{error:n,subscriber:e});e.error(n)},t}(lt.a).create;function Ao(e){return Error('Unable to find icon with the name "'+e+'"')}function Ro(e){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was \""+e+'".')}var Po=function(e){this.url=e,this.svgElement=null},No=function(){function e(e,t,n){this._httpClient=e,this._sanitizer=t,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._defaultFontSetClass="material-icons",this._document=n}return e.prototype.addSvgIcon=function(e,t){return this.addSvgIconInNamespace("",e,t)},e.prototype.addSvgIconInNamespace=function(e,t,n){var r=jo(e,t);return this._svgIconConfigs.set(r,new Po(n)),this},e.prototype.addSvgIconSet=function(e){return this.addSvgIconSetInNamespace("",e)},e.prototype.addSvgIconSetInNamespace=function(e,t){var n=new Po(t),r=this._iconSetConfigs.get(e);return r?r.push(n):this._iconSetConfigs.set(e,[n]),this},e.prototype.registerFontClassAlias=function(e,t){return void 0===t&&(t=e),this._fontCssClassesByAlias.set(e,t),this},e.prototype.classNameForFontAlias=function(e){return this._fontCssClassesByAlias.get(e)||e},e.prototype.setDefaultFontSetClass=function(e){return this._defaultFontSetClass=e,this},e.prototype.getDefaultFontSetClass=function(){return this._defaultFontSetClass},e.prototype.getSvgIconFromUrl=function(e){var t=this,n=this._sanitizer.sanitize(r.SecurityContext.RESOURCE_URL,e);if(!n)throw Ro(e);var o=this._cachedIconsByUrl.get(n);return o?$e(Mo(o)):this._loadSvgIconFromConfig(new Po(e)).pipe(nr(function(e){return t._cachedIconsByUrl.set(n,e)}),it(function(e){return Mo(e)}))},e.prototype.getNamedSvgIcon=function(e,t){void 0===t&&(t="");var n=jo(t,e),r=this._svgIconConfigs.get(n);if(r)return this._getSvgFromConfig(r);var o=this._iconSetConfigs.get(t);return o?this._getSvgFromIconSetConfigs(e,o):Io(Ao(n))},e.prototype._getSvgFromConfig=function(e){return e.svgElement?$e(Mo(e.svgElement)):this._loadSvgIconFromConfig(e).pipe(nr(function(t){return e.svgElement=t}),it(function(e){return Mo(e)}))},e.prototype._getSvgFromIconSetConfigs=function(e,t){var n=this,o=this._extractIconWithNameFromAnySet(e,t);if(o)return $e(o);var i=t.filter(function(e){return!e.svgElement}).map(function(e){return n._loadSvgIconSetFromConfig(e).pipe((t=function(t){var o=n._sanitizer.sanitize(r.SecurityContext.RESOURCE_URL,e.url);return console.log("Loading icon set URL: "+o+" failed: "+t),$e(null)},function(e){var n=new xo(t),r=e.lift(n);return n.caught=r}));var t});return An(i).pipe(it(function(){var r=n._extractIconWithNameFromAnySet(e,t);if(!r)throw Ao(e);return r}))},e.prototype._extractIconWithNameFromAnySet=function(e,t){for(var n=t.length-1;n>=0;n--){var r=t[n];if(r.svgElement){var o=this._extractSvgIconFromSet(r.svgElement,e);if(o)return o}}return null},e.prototype._loadSvgIconFromConfig=function(e){var t=this;return this._fetchUrl(e.url).pipe(it(function(e){return t._createSvgElementForSingleIcon(e)}))},e.prototype._loadSvgIconSetFromConfig=function(e){var t=this;return e.svgElement?$e(e.svgElement):this._fetchUrl(e.url).pipe(it(function(n){return e.svgElement||(e.svgElement=t._svgElementFromString(n)),e.svgElement}))},e.prototype._createSvgElementForSingleIcon=function(e){var t=this._svgElementFromString(e);return this._setSvgAttributes(t),t},e.prototype._extractSvgIconFromSet=function(e,t){var n=e.querySelector("#"+t);if(!n)return null;var r=n.cloneNode(!0);if(r.id="","svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r));var o=this._svgElementFromString("<svg></svg>");return o.appendChild(r),this._setSvgAttributes(o)},e.prototype._svgElementFromString=function(e){if(this._document||"undefined"!=typeof document){var t=(this._document||document).createElement("DIV");t.innerHTML=e;var n=t.querySelector("svg");if(!n)throw Error("<svg> tag not found");return n}throw new Error("MatIconRegistry could not resolve document.")},e.prototype._toSvgElement=function(e){for(var t=this._svgElementFromString("<svg></svg>"),n=0;n<e.childNodes.length;n++)e.childNodes[n].nodeType===this._document.ELEMENT_NODE&&t.appendChild(e.childNodes[n].cloneNode(!0));return t},e.prototype._setSvgAttributes=function(e){return e.getAttribute("xmlns")||e.setAttribute("xmlns","http://www.w3.org/2000/svg"),e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),e},e.prototype._fetchUrl=function(e){var t=this;if(!this._httpClient)throw Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.");var n=this._sanitizer.sanitize(r.SecurityContext.RESOURCE_URL,e);if(!n)throw Ro(e);var o=this._inProgressUrlFetches.get(n);if(o)return o;var i,s=this._httpClient.get(n,{responseType:"text"}).pipe((i=function(){return t._inProgressUrlFetches.delete(n)},function(e){return e.lift(new Oo(i))}),Object(ko.a)());return this._inProgressUrlFetches.set(n,s),s},e}();function Do(e,t,n,r){return e||new No(t,n,r)}function Mo(e){return e.cloneNode(!0)}function jo(e,t){return e+":"+t}var Fo=function(){},Vo=new r.InjectionToken("mat-menu-default-options"),Lo=new r.InjectionToken("mat-menu-scroll-strategy");function Bo(e){return function(){return e.scrollStrategies.reposition()}}var Ho=function(){},Uo=new r.InjectionToken("mat-select-scroll-strategy");function zo(e){return function(){return e.scrollStrategies.reposition()}}var qo=function(){},Zo=n("Upor"),Ko=function(e){function t(t){e.call(this),this._value=t}return Object(o.__extends)(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),t.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return n&&!n.closed&&t.next(this._value),n},t.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new Zo.a;return this._value},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(Vn.a);lt.a.forkJoin=An,lt.a.prototype.map=ut;var Xo=function(){function e(e,t){this.http=e,this.sanitizer=t,this._columns=new Ko(0),this.managePanel=!1,this.positions=[[],[],[],[]],this.apiBaseUrl=window.appConfig.apiBaseUrl,this.apiRouteName=window.appConfig.apiRouteName,this.getPositioningUrl=window.appConfig.getPositioningUrl,this.getDefaultPositioningUrl=window.appConfig.getDefaultPositioningUrl,this.setPositioningUrl=window.appConfig.setPositioningUrl,this.setDefaultPositioningUrl=window.appConfig.setDefaultPositioningUrl,this.restoreToDefaultAllUrl=window.appConfig.restoreToDefaultAllUrl,this.getBlocksContentUrl=window.appConfig.getBlocksContentUrl,this.defaultConfig=JSON.parse(window.appConfig.defaultConfig),this.defaultColumns=window.appConfig.defaultColumns,this.loading=window.appConfig.loading}return Object.defineProperty(e.prototype,"columns",{get:function(){return this._columns.getValue()},set:function(e){this._columns.next(e),this.changeLayout()},enumerable:!0,configurable:!0}),e.prototype.getBlocksContents=function(){return this.http.get(this.getBlocksContentUrl).map(function(e){return e.json()})},e.prototype.getBlockContent=function(e){var t;return void 0!==this.blocksContents&&void 0!==this.blocksContents[e.id]&&this.blocksContents[e.id]&&(t=this.blocksContents[e.id]),t},e.prototype.getPositioning=function(){var e;e="opigno_dashboard.dashboard_admin_default_settings"==this.apiRouteName?this.getDefaultPositioningUrl:this.getPositioningUrl;var t=new Xt;return t.append("Cache-Control","no-cache, no-store, must-revalidate, post-check=0, pre-check=0"),t.append("Pragma","no-cache"),t.append("Expires","0"),this.http.get(e,{headers:t}).map(function(e){return e.json()})},e.prototype.setPositioning=function(){var e={};e.positions=this.positions,e.columns=this.columns,e.apiRouteName=this.apiRouteName,this.http.post("opigno_dashboard.dashboard_admin_default_settings"==this.apiRouteName?this.setDefaultPositioningUrl:this.setPositioningUrl,JSON.stringify(e)).subscribe(function(e){},function(e){console.error(e)})},e.prototype.changeLayout=function(){var e;e=4==this.columns?3:3==this.columns?2:this.columns;for(var t=0;t<this.positions.length;t++)t>e&&this.positions[t].length&&(this.positions[e]=this.positions[e].concat(this.positions[t]),this.positions[t]=[]);this.setPositioning(),this.loading=!1},e.prototype.restoreToDefaultAll=function(){var e=this.restoreToDefaultAllUrl;confirm("Warning! You going to set all users dashboard to default configuration!")&&this.http.post(e,"").subscribe(function(e){},function(e){console.error(e)})},e.prototype.displayRestoreToDefaultButton=function(){return"opigno_dashboard.dashboard_admin_default_settings"!==this.apiRouteName},e.prototype.reinit=function(){var e=this;for(var t in this.columns=this.defaultColumns,this.positions)if("0"!=t)for(var n in this.positions[t])this.positions[0].push(this.positions[t][n]);for(var r=1;r<=3;r++)this.positions[r]=JSON.parse(JSON.stringify(this.defaultConfig[r])),this.defaultConfig[r].forEach(function(t){e.positions[0]=e.positions[0].filter(function(e){return e.id!==t.id})});this.setPositioning()},e.prototype.range=function(e){for(var t=[],n=0;n<e;++n)t.push(n+1);return t},e.prototype.closeManageDashboard=function(){this.managePanel=!1,setTimeout(function(){window.Drupal.attachBehaviors(document.querySelector(".dashboard"),window.Drupal.settings)})},e}(),Go=function(){function e(e,t){var n=this;this.appService=e,this.dragulaService=t,this.locales=window.appConfig.locales,this.dragulaService.setOptions("nested-bag",{revertOnSpill:!0,moves:function(e,t,n,r){return n.classList.contains("handle")},accepts:function(e,t,n,r){return!(e.classList.contains("mandatory")&&t.classList.contains("blocks")&&t.classList.contains("panel"))}}),this.dragulaService.drop.subscribe(function(e){var t=n;setTimeout(function(){t.appService.setPositioning()})})}return e.prototype.ngOnInit=function(){var e=this,t=this.appService.getPositioning(),n=this.appService.getBlocksContents();this.appService.manageDashboardAccess=window.drupalSettings.manageDashboardAccess,lt.a.forkJoin([t,n]).subscribe(function(t){e.appService.positions=t[0].positions,e.appService.columns=parseInt(t[0].columns),e.appService.blocksContents=t[1].blocks,setTimeout(function(){window.Drupal.attachBehaviors(document.querySelector(".dashboard"),window.Drupal.settings);var e=t[1].drupalSettings;if(e&&e.views&&e.views.ajaxViews){var n=e.views.ajaxViews;Object.keys(n||{}).forEach(function(e){window.Drupal.views.instances[e]=new window.Drupal.views.ajaxView(n[e])})}})})},e.prototype.removeBlock=function(e){for(var t in this.appService.positions)for(var n in this.appService.positions[t])this.appService.positions[t][n]==e&&(this.appService.positions[0].push(e),this.appService.positions[t].splice(parseInt(n),1),this.appService.setPositioning())},e}(),Yo=function(){function e(e){this.appService=e,this.locales=window.appConfig.locales}return e.prototype.ngOnInit=function(){},e}(),Wo=function(){function e(e){this.sanitizer=e}return e.prototype.transform=function(e){return this.sanitizer.bypassSecurityTrustHtml(e)},e}(),Qo=function(){function e(e){this.elementRef=e}return e.prototype.ngOnInit=function(){var e=this;setTimeout(function(){e.reinsertScripts()})},e.prototype.reinsertScripts=function(){for(var e=this.elementRef.nativeElement.getElementsByTagName("script"),t=e.length,n=0;n<t;n++){var r=e[n],o=document.createElement("script");o.type=r.type?r.type:"text/javascript",r.innerHTML?o.innerHTML=r.innerHTML:r.src&&(o.src=r.src),o.async=!1,r.parentNode.replaceChild(o,r)}},e}(),Jo=function(){},$o=r["\u0275crt"]({encapsulation:2,styles:[],data:{}});function ei(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,4,null,null,null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](2,0,null,null,1,"button",[["class","btn btn-rounded"],["name","button"],["type","button"]],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.appService.reinit()&&r),r},null,null)),(e()(),r["\u0275ted"](3,null,["",""])),(e()(),r["\u0275ted"](-1,null,["\n "]))],null,function(e,t){e(t,3,0,t.component.locales.restoreToDefault)})}function ti(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,7,"div",[],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](2,0,null,null,1,"button",[["class","close-dashboard"],["type","button"]],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.appService.closeManageDashboard()&&r),r},null,null)),(e()(),r["\u0275eld"](3,0,null,null,0,"i",[["class","fi fi-rr-cross-small"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](5,0,null,null,1,"h2",[],null,null,null,null,null)),(e()(),r["\u0275ted"](6,null,["",""])),(e()(),r["\u0275ted"](-1,null,["\n"])),(e()(),r["\u0275ted"](-1,null,["\n\n"])),(e()(),r["\u0275eld"](9,0,null,null,25,"section",[["class","layout"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](11,0,null,null,22,"div",[["class","content-box"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](13,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),r["\u0275ted"](14,null,["",""])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](16,0,null,null,1,"button",[["class","radio"],["id","layout-1"],["name","layout"]],[[2,"active",null]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==(e.component.appService.columns=1)&&r),r},null,null)),(e()(),r["\u0275ted"](17,null,["",""])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](19,0,null,null,1,"button",[["class","radio"],["id","layout-2"],["name","layout"]],[[2,"active",null]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==(e.component.appService.columns=2)&&r),r},null,null)),(e()(),r["\u0275ted"](20,null,["",""])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](22,0,null,null,1,"button",[["class","radio"],["id","layout-3"],["name","layout"]],[[2,"active",null]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==(e.component.appService.columns=3)&&r),r},null,null)),(e()(),r["\u0275ted"](23,null,["",""])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](25,0,null,null,1,"button",[["class","radio"],["id","layout-4"],["name","layout"]],[[2,"active",null]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==(e.component.appService.columns=4)&&r),r},null,null)),(e()(),r["\u0275ted"](26,null,["",""])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](28,0,null,null,1,"button",[["class","radio"],["id","layout-5"],["name","layout"]],[[2,"active",null]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==(e.component.appService.columns=5)&&r),r},null,null)),(e()(),r["\u0275ted"](29,null,["",""])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,ei)),r["\u0275did"](32,16384,null,0,g,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n"])),(e()(),r["\u0275ted"](-1,null,["\n"]))],function(e,t){e(t,32,0,t.component.appService.displayRestoreToDefaultButton())},function(e,t){var n=t.component;e(t,6,0,n.locales.manageYourDashboard),e(t,14,0,n.locales.layout),e(t,16,0,1==n.appService.columns),e(t,17,0,n.locales.oneColumn),e(t,19,0,2==n.appService.columns),e(t,20,0,n.locales.twoColumns),e(t,22,0,3==n.appService.columns),e(t,23,0,n.locales.asymColumns),e(t,25,0,4==n.appService.columns),e(t,26,0,n.locales.threeColumns),e(t,28,0,5==n.appService.columns),e(t,29,0,n.locales.threeAsymColumns)})}var ni=n("Kg3V"),ri=n("sY2v"),oi=r["\u0275crt"]({encapsulation:0,styles:[["app-panel[_ngcontent-%COMP%]{position:fixed;z-index:5;top:0;right:0;bottom:0;width:400px;background-color:#fff;box-shadow:0 0 5px 5px #eee;padding:2rem;overflow:auto}.trigger-btn[_ngcontent-%COMP%]{text-align:right;margin-bottom:1rem}.dashboard-column-wrapper.panel-open[_ngcontent-%COMP%]{min-height:500px;display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap;margin:0}.dashboard-column-wrapper[_ngcontent-%COMP%]:not(.three-col-layout) .dashboard-column[_ngcontent-%COMP%]{-ms-flex:1;flex:1;padding:0 6px}@media screen and (max-width:575px){.dashboard-column-wrapper[_ngcontent-%COMP%]:not(.three-col-layout) .dashboard-column[_ngcontent-%COMP%]{-ms-flex:1 0 100%;flex:1 0 100%}}.dashboard-column-wrapper.panel-open[_ngcontent-%COMP%] .dashboard-column[_ngcontent-%COMP%]{margin:0 6px}.dashboard-column-wrapper[_ngcontent-%COMP%] .dashboard-column.wide-col[_ngcontent-%COMP%]{-ms-flex:2;flex:2}.dashboard-column-wrapper.panel-open[_ngcontent-%COMP%] .dashboard-column.col-xl-3[_ngcontent-%COMP%]{-ms-flex:1.5;flex:1.5}.dashboard-column-wrapper.panel-open[_ngcontent-%COMP%] .dashboard-column.col-xl-4[_ngcontent-%COMP%]{-ms-flex:2;flex:2}.dashboard-column-wrapper.panel-open[_ngcontent-%COMP%] .dashboard-column.col-xl-5[_ngcontent-%COMP%]{-ms-flex:3;flex:3}.dashboard-column-wrapper.panel-open[_ngcontent-%COMP%] .dashboard-column[_ngcontent-%COMP%]{border:1px dashed #2f3758;border-radius:10px;padding:20px 10px}"]],data:{}});function ii(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,0,"div",[["class","loader"]],null,null,null,null,null))],null,null)}function si(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,4,"div",[["class","block-page-title-block"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](2,0,null,null,1,"h1",[],null,null,null,null,null)),(e()(),r["\u0275ted"](3,null,["",""])),(e()(),r["\u0275ted"](-1,null,["\n "]))],null,function(e,t){e(t,3,0,t.component.locales.title)})}function ai(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,4,null,null,null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,si)),r["\u0275did"](3,16384,null,0,g,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275ted"](-1,null,["\n "]))],function(e,t){e(t,3,0,!t.component.appService.managePanel)},null)}function ui(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"button",[["class","btn btn-rounded restore-default-all"],["type","button"]],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.appService.restoreToDefaultAll()&&r),r},null,null)),(e()(),r["\u0275ted"](1,null,["",""]))],null,function(e,t){e(t,1,0,t.component.locales.restoreToDefaultAll)})}function li(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"button",[["class","btn btn-rounded"],["type","button"]],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=0!=(e.component.appService.managePanel=!0)&&r),r},null,null)),(e()(),r["\u0275ted"](1,null,["",""]))],null,function(e,t){e(t,1,0,t.component.locales.manageYourDashboard)})}function ci(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,4,null,null,null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,li)),r["\u0275did"](3,16384,null,0,g,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275ted"](-1,null,["\n "]))],function(e,t){e(t,3,0,t.component.appService.manageDashboardAccess)},null)}function di(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"app-panel",[],null,null,null,ti,$o)),r["\u0275did"](1,114688,null,0,Yo,[Xo],null,null)],function(e,t){e(t,1,0)},null)}function pi(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,5,"div",[["class","dashboard-block"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](2,0,null,null,0,"span",[["class","handle ic-drag-handle-black-24px"]],[[2,"hidden",null]],null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](4,0,null,null,0,"div",[["class","title"]],[[8,"innerHTML",1]],null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "]))],null,function(e,t){e(t,2,0,!t.component.appService.managePanel),e(t,4,0,t.context.$implicit.admin_label)})}function fi(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,11,"section",[["class","add-blocks content-box"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](2,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),r["\u0275ted"](3,null,["",""])),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](5,0,null,null,5,"div",[["class","blocks panel"]],null,null,null,null,null)),r["\u0275did"](6,606208,null,0,ni.DragulaDirective,[r.ElementRef,ri.DragulaService],{dragula:[0,"dragula"],dragulaModel:[1,"dragulaModel"]},null),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,pi)),r["\u0275did"](9,802816,null,0,v,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n "]))],function(e,t){var n=t.component;e(t,6,0,"nested-bag",n.appService.positions[0]),e(t,9,0,n.appService.positions[0])},function(e,t){e(t,3,0,t.component.locales.addBlocks)})}function hi(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"button",[["class","remove"],["type","button"]],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.removeBlock(e.parent.context.$implicit)&&r),r},null,null)),(e()(),r["\u0275eld"](1,0,null,null,0,"i",[["class","fi fi-rr-cross-small"]],null,null,null,null,null))],null,null)}function vi(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,8,"div",[["class","dashboard-block"]],[[2,"mandatory",null]],null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](2,0,null,null,0,"span",[["class","handle ic-drag-handle-black-24px"]],[[2,"hidden",null]],null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](4,0,null,null,0,"div",[["class","title"]],[[8,"innerHTML",1]],null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,hi)),r["\u0275did"](7,16384,null,0,g,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275ted"](-1,null,["\n "]))],function(e,t){e(t,7,0,t.component.appService.managePanel&&!t.context.$implicit.mandatory)},function(e,t){var n=t.component;e(t,0,0,t.context.$implicit.mandatory),e(t,2,0,!n.appService.managePanel),e(t,4,0,t.context.$implicit.admin_label)})}function yi(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,4,null,null,null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,vi)),r["\u0275did"](3,802816,null,0,v,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),r["\u0275ted"](-1,null,["\n "]))],function(e,t){e(t,3,0,t.component.appService.positions[1])},null)}function gi(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,2,"div",[["appRunScripts",""],["class","dashboard-drupal-block"]],[[8,"innerHTML",1]],null,null,null,null)),r["\u0275did"](1,81920,null,0,Qo,[r.ElementRef],null,null),r["\u0275ppd"](2,1)],function(e,t){e(t,1,0)},function(e,t){var n=t.component;e(t,0,0,r["\u0275unv"](t,0,0,e(t,2,0,r["\u0275nov"](t.parent.parent.parent.parent,0),n.appService.getBlockContent(t.parent.context.$implicit))))})}function mi(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,4,null,null,null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,gi)),r["\u0275did"](3,16384,null,0,g,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275ted"](-1,null,["\n "]))],function(e,t){e(t,3,0,t.component.appService.getBlockContent(t.context.$implicit))},null)}function _i(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,4,null,null,null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,mi)),r["\u0275did"](3,802816,null,0,v,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),r["\u0275ted"](-1,null,["\n "]))],function(e,t){e(t,3,0,t.component.appService.positions[1])},null)}function bi(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,10,"div",[["class","dashboard-column"]],null,null,null,null,null)),r["\u0275did"](1,278528,null,0,f,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["\u0275pod"](2,{"col-left col-xl-3 col-md-6":0}),r["\u0275did"](3,606208,null,0,ni.DragulaDirective,[r.ElementRef,ri.DragulaService],{dragula:[0,"dragula"],dragulaModel:[1,"dragulaModel"]},null),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,yi)),r["\u0275did"](6,16384,null,0,g,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,_i)),r["\u0275did"](9,16384,null,0,g,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275ted"](-1,null,["\n "]))],function(e,t){var n=t.component;e(t,1,0,"dashboard-column",e(t,2,0,5==n.appService.columns)),e(t,3,0,"nested-bag",n.appService.positions[1]),e(t,6,0,n.appService.managePanel),e(t,9,0,!n.appService.managePanel)},null)}function wi(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"button",[["class","remove"],["type","button"]],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.removeBlock(e.parent.context.$implicit)&&r),r},null,null)),(e()(),r["\u0275eld"](1,0,null,null,0,"i",[["class","fi fi-rr-cross-small"]],null,null,null,null,null))],null,null)}function Ci(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,8,"div",[["class","dashboard-block"]],[[2,"mandatory",null]],null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](2,0,null,null,0,"span",[["class","handle ic-drag-handle-black-24px"]],[[2,"hidden",null]],null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](4,0,null,null,0,"div",[["class","title"]],[[8,"innerHTML",1]],null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,wi)),r["\u0275did"](7,16384,null,0,g,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275ted"](-1,null,["\n "]))],function(e,t){e(t,7,0,t.component.appService.managePanel&&!t.context.$implicit.mandatory)},function(e,t){var n=t.component;e(t,0,0,t.context.$implicit.mandatory),e(t,2,0,!n.appService.managePanel),e(t,4,0,t.context.$implicit.admin_label)})}function Ei(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,4,null,null,null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,Ci)),r["\u0275did"](3,802816,null,0,v,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),r["\u0275ted"](-1,null,["\n "]))],function(e,t){e(t,3,0,t.component.appService.positions[2])},null)}function xi(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,2,"div",[["appRunScripts",""],["class","dashboard-drupal-block"]],[[8,"innerHTML",1]],null,null,null,null)),r["\u0275did"](1,81920,null,0,Qo,[r.ElementRef],null,null),r["\u0275ppd"](2,1)],function(e,t){e(t,1,0)},function(e,t){var n=t.component;e(t,0,0,r["\u0275unv"](t,0,0,e(t,2,0,r["\u0275nov"](t.parent.parent.parent.parent,0),n.appService.getBlockContent(t.parent.context.$implicit))))})}function Si(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,4,null,null,null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,xi)),r["\u0275did"](3,16384,null,0,g,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275ted"](-1,null,["\n "]))],function(e,t){e(t,3,0,t.component.appService.getBlockContent(t.context.$implicit))},null)}function Oi(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,4,null,null,null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,Si)),r["\u0275did"](3,802816,null,0,v,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),r["\u0275ted"](-1,null,["\n "]))],function(e,t){e(t,3,0,t.component.appService.positions[2])},null)}function Ti(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,10,"div",[["class","dashboard-column"]],null,null,null,null,null)),r["\u0275did"](1,278528,null,0,f,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["\u0275pod"](2,{"col-center col-xl-5 col-md-12":0,"wide-col":1}),r["\u0275did"](3,606208,null,0,ni.DragulaDirective,[r.ElementRef,ri.DragulaService],{dragula:[0,"dragula"],dragulaModel:[1,"dragulaModel"]},null),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,Ei)),r["\u0275did"](6,16384,null,0,g,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,Oi)),r["\u0275did"](9,16384,null,0,g,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275ted"](-1,null,["\n "]))],function(e,t){var n=t.component;e(t,1,0,"dashboard-column",e(t,2,0,5==n.appService.columns,3==n.appService.columns)),e(t,3,0,"nested-bag",n.appService.positions[2]),e(t,6,0,n.appService.managePanel),e(t,9,0,!n.appService.managePanel)},null)}function ki(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"button",[["class","remove"],["type","button"]],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.removeBlock(e.parent.context.$implicit)&&r),r},null,null)),(e()(),r["\u0275eld"](1,0,null,null,0,"i",[["class","fi fi-rr-cross-small"]],null,null,null,null,null))],null,null)}function Ii(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,8,"div",[["class","dashboard-block"]],[[2,"mandatory",null]],null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](2,0,null,null,0,"span",[["class","handle ic-drag-handle-black-24px"]],[[2,"hidden",null]],null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](4,0,null,null,0,"div",[["class","title"]],[[8,"innerHTML",1]],null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,ki)),r["\u0275did"](7,16384,null,0,g,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275ted"](-1,null,["\n "]))],function(e,t){e(t,7,0,t.component.appService.managePanel&&!t.context.$implicit.mandatory)},function(e,t){var n=t.component;e(t,0,0,t.context.$implicit.mandatory),e(t,2,0,!n.appService.managePanel),e(t,4,0,t.context.$implicit.admin_label)})}function Ai(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,4,null,null,null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,Ii)),r["\u0275did"](3,802816,null,0,v,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),r["\u0275ted"](-1,null,["\n "]))],function(e,t){e(t,3,0,t.component.appService.positions[3])},null)}function Ri(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,2,"div",[["appRunScripts",""],["class","dashboard-drupal-block"]],[[8,"innerHTML",1]],null,null,null,null)),r["\u0275did"](1,81920,null,0,Qo,[r.ElementRef],null,null),r["\u0275ppd"](2,1)],function(e,t){e(t,1,0)},function(e,t){var n=t.component;e(t,0,0,r["\u0275unv"](t,0,0,e(t,2,0,r["\u0275nov"](t.parent.parent.parent.parent,0),n.appService.getBlockContent(t.parent.context.$implicit))))})}function Pi(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,4,null,null,null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,Ri)),r["\u0275did"](3,16384,null,0,g,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275ted"](-1,null,["\n "]))],function(e,t){e(t,3,0,t.component.appService.getBlockContent(t.context.$implicit))},null)}function Ni(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,4,null,null,null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,Pi)),r["\u0275did"](3,802816,null,0,v,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),r["\u0275ted"](-1,null,["\n "]))],function(e,t){e(t,3,0,t.component.appService.positions[3])},null)}function Di(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,10,"div",[["class","dashboard-column"]],null,null,null,null,null)),r["\u0275did"](1,278528,null,0,f,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["\u0275pod"](2,{"col-right col-xl-4 col-md-6":0}),r["\u0275did"](3,606208,null,0,ni.DragulaDirective,[r.ElementRef,ri.DragulaService],{dragula:[0,"dragula"],dragulaModel:[1,"dragulaModel"]},null),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,Ai)),r["\u0275did"](6,16384,null,0,g,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,Ni)),r["\u0275did"](9,16384,null,0,g,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275ted"](-1,null,["\n "]))],function(e,t){var n=t.component;e(t,1,0,"dashboard-column",e(t,2,0,5==n.appService.columns)),e(t,3,0,"nested-bag",n.appService.positions[3]),e(t,6,0,n.appService.managePanel),e(t,9,0,!n.appService.managePanel)},null)}function Mi(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,4,null,null,null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275eld"](2,0,null,null,1,"button",[["class","btn btn-rounded save-dashboard"],["type","button"]],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.appService.closeManageDashboard()&&r),r},null,null)),(e()(),r["\u0275ted"](3,null,["",""])),(e()(),r["\u0275ted"](-1,null,["\n"]))],null,function(e,t){e(t,3,0,t.component.locales.saveBtn)})}function ji(e){return r["\u0275vid"](0,[r["\u0275pid"](0,Wo,[He]),(e()(),r["\u0275and"](16777216,null,null,1,null,ii)),r["\u0275did"](2,16384,null,0,g,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275ted"](-1,null,["\n\n"])),(e()(),r["\u0275eld"](4,0,null,null,13,"div",[["class","dashboard-region-top"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,ai)),r["\u0275did"](7,16384,null,0,g,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275ted"](-1,null,["\n\n "])),(e()(),r["\u0275eld"](9,0,null,null,7,"div",[["class","trigger-btn d-flex"]],null,null,null,null,null)),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,ui)),r["\u0275did"](12,16384,null,0,g,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,ci)),r["\u0275did"](15,16384,null,0,g,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275ted"](-1,null,["\n"])),(e()(),r["\u0275ted"](-1,null,["\n\n"])),(e()(),r["\u0275and"](16777216,null,null,1,null,di)),r["\u0275did"](20,16384,null,0,g,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275ted"](-1,null,["\n\n"])),(e()(),r["\u0275eld"](22,0,null,null,15,"div",[["class","dashboard-column-wrapper row"]],null,null,null,null,null)),r["\u0275did"](23,278528,null,0,f,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["\u0275pod"](24,{"panel-open":0,"three-col-layout":1}),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,fi)),r["\u0275did"](27,16384,null,0,g,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,bi)),r["\u0275did"](30,16384,null,0,g,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,Ti)),r["\u0275did"](33,16384,null,0,g,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275ted"](-1,null,["\n "])),(e()(),r["\u0275and"](16777216,null,null,1,null,Di)),r["\u0275did"](36,16384,null,0,g,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275ted"](-1,null,["\n"])),(e()(),r["\u0275ted"](-1,null,["\n\n"])),(e()(),r["\u0275and"](16777216,null,null,1,null,Mi)),r["\u0275did"](40,16384,null,0,g,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["\u0275ted"](-1,null,["\n"]))],function(e,t){var n=t.component;e(t,2,0,n.appService.loading),e(t,7,0,n.appService.displayRestoreToDefaultButton()),e(t,12,0,!n.appService.displayRestoreToDefaultButton()),e(t,15,0,!n.appService.managePanel),e(t,20,0,n.appService.managePanel),e(t,23,0,"dashboard-column-wrapper row",e(t,24,0,n.appService.managePanel,5==n.appService.columns)),e(t,27,0,n.appService.managePanel),e(t,30,0,n.appService.columns>=1),e(t,33,0,n.appService.columns>=2),e(t,36,0,n.appService.columns>=4),e(t,40,0,n.appService.managePanel)},null)}var Fi=r["\u0275ccf"]("app-root",Go,function(e){return r["\u0275vid"](0,[(e()(),r["\u0275eld"](0,0,null,null,1,"app-root",[],null,null,null,ji,oi)),r["\u0275did"](1,114688,null,0,Go,[Xo,ri.DragulaService],null,null)],function(e,t){e(t,1,0)},null)},{},{},[]),Vi=n("NijM"),Li=r["\u0275cmf"](Jo,[Go],function(e){return r["\u0275mod"]([r["\u0275mpd"](512,r.ComponentFactoryResolver,r["\u0275CodegenComponentFactoryResolver"],[[8,[Fi]],[3,r.ComponentFactoryResolver],r.NgModuleRef]),r["\u0275mpd"](5120,r.LOCALE_ID,r["\u0275q"],[[3,r.LOCALE_ID]]),r["\u0275mpd"](4608,c,d,[r.LOCALE_ID,[2,l]]),r["\u0275mpd"](4608,r.Compiler,r.Compiler,[]),r["\u0275mpd"](5120,r.APP_ID,r["\u0275i"],[]),r["\u0275mpd"](5120,r.IterableDiffers,r["\u0275n"],[]),r["\u0275mpd"](5120,r.KeyValueDiffers,r["\u0275o"],[]),r["\u0275mpd"](4608,He,Ue,[b]),r["\u0275mpd"](6144,r.Sanitizer,null,[He]),r["\u0275mpd"](4608,he,ve,[]),r["\u0275mpd"](5120,H,function(e,t,n,r,o){return[new pe(e,t),new _e(n),new ye(r,o)]},[b,r.NgZone,b,b,he]),r["\u0275mpd"](4608,U,U,[H,r.NgZone]),r["\u0275mpd"](135680,Z,Z,[b]),r["\u0275mpd"](4608,J,J,[U,Z]),r["\u0275mpd"](6144,r.RendererFactory2,null,[J]),r["\u0275mpd"](6144,q,null,[Z]),r["\u0275mpd"](4608,r.Testability,r.Testability,[r.NgZone]),r["\u0275mpd"](4608,N,N,[b]),r["\u0275mpd"](4608,F,F,[b]),r["\u0275mpd"](4608,jt,Ft,[b,r.PLATFORM_ID,Dt]),r["\u0275mpd"](4608,Vt,Vt,[jt,Mt]),r["\u0275mpd"](5120,kt,function(e){return[e]},[Vt]),r["\u0275mpd"](4608,Pt,Pt,[]),r["\u0275mpd"](6144,Rt,null,[Pt]),r["\u0275mpd"](4608,Nt,Nt,[Rt]),r["\u0275mpd"](6144,dt,null,[Nt]),r["\u0275mpd"](4608,ct,Lt,[dt,r.Injector]),r["\u0275mpd"](4608,Ot,Ot,[ct]),r["\u0275mpd"](4608,Ut,Ut,[]),r["\u0275mpd"](4608,Gt,Yt,[]),r["\u0275mpd"](5120,Wt,bn,[]),r["\u0275mpd"](4608,un,un,[Ut,Gt,Wt]),r["\u0275mpd"](4608,ln,cn,[]),r["\u0275mpd"](5120,_n,wn,[un,ln]),r["\u0275mpd"](4608,ri.DragulaService,ri.DragulaService,[]),r["\u0275mpd"](4608,Pn,Pn,[]),r["\u0275mpd"](6144,Mn,null,[b]),r["\u0275mpd"](4608,jn,jn,[[2,Mn]]),r["\u0275mpd"](5120,No,Do,[[3,No],[2,Ot],He,[2,b]]),r["\u0275mpd"](4608,Bn,Bn,[]),r["\u0275mpd"](4608,ir,ir,[Bn]),r["\u0275mpd"](4608,lr,lr,[ir,r.NgZone,b]),r["\u0275mpd"](136192,hr,vr,[[3,hr],b]),r["\u0275mpd"](5120,gr,mr,[[3,gr],[2,yr],b]),r["\u0275mpd"](5120,_r,br,[[3,_r],r.NgZone,Bn]),r["\u0275mpd"](5120,yo,go,[[3,yo]]),r["\u0275mpd"](5120,Nr,Dr,[[3,Nr],r.NgZone,Bn]),r["\u0275mpd"](5120,Mr,jr,[[3,Mr],Bn,r.NgZone]),r["\u0275mpd"](4608,Jr,Jr,[Nr,Mr,r.NgZone,b]),r["\u0275mpd"](5120,so,ao,[[3,so],b]),r["\u0275mpd"](4608,ro,ro,[Mr,b]),r["\u0275mpd"](5120,oo,io,[[3,oo],b]),r["\u0275mpd"](4608,lo,lo,[Jr,so,r.ComponentFactoryResolver,ro,oo,r.ApplicationRef,r.Injector,r.NgZone,b]),r["\u0275mpd"](5120,co,po,[lo]),r["\u0275mpd"](5120,Lo,Bo,[lo]),r["\u0275mpd"](4608,Zn,Zn,[]),r["\u0275mpd"](5120,Uo,zo,[lo]),r["\u0275mpd"](4608,bo,bo,[]),r["\u0275mpd"](4608,Xo,Xo,[_n,He]),r["\u0275mpd"](512,_,_,[]),r["\u0275mpd"](1024,r.ErrorHandler,Qe,[]),r["\u0275mpd"](1024,r.APP_INITIALIZER,function(e){return[(t=e,V("probe",B),V("coreTokens",Object(o.__assign)({},L,(t||[]).reduce(function(e,t){return e[t.name]=t.token,e},{}))),function(){return B})];var t},[[2,r.NgProbeToken]]),r["\u0275mpd"](512,r.ApplicationInitStatus,r.ApplicationInitStatus,[[2,r.APP_INITIALIZER]]),r["\u0275mpd"](131584,r.ApplicationRef,r.ApplicationRef,[r.NgZone,r["\u0275Console"],r.Injector,r.ErrorHandler,r.ComponentFactoryResolver,r.ApplicationInitStatus]),r["\u0275mpd"](512,r.ApplicationModule,r.ApplicationModule,[r.ApplicationRef]),r["\u0275mpd"](512,Je,Je,[[3,Je]]),r["\u0275mpd"](512,Bt,Bt,[]),r["\u0275mpd"](512,Ht,Ht,[]),r["\u0275mpd"](512,En,En,[]),r["\u0275mpd"](512,Vi.DragulaModule,Vi.DragulaModule,[]),r["\u0275mpd"](512,Nn,Nn,[]),r["\u0275mpd"](512,Dn,Dn,[]),r["\u0275mpd"](512,Fn,Fn,[]),r["\u0275mpd"](256,zn,!0,[]),r["\u0275mpd"](512,qn,qn,[[2,zn]]),r["\u0275mpd"](512,Fo,Fo,[]),r["\u0275mpd"](512,_o,_o,[]),r["\u0275mpd"](512,Un,Un,[]),r["\u0275mpd"](512,Kn,Kn,[]),r["\u0275mpd"](512,wr,wr,[]),r["\u0275mpd"](512,vo,vo,[]),r["\u0275mpd"](512,mo,mo,[]),r["\u0275mpd"](512,zr,zr,[]),r["\u0275mpd"](512,Fr,Fr,[]),r["\u0275mpd"](512,fo,fo,[]),r["\u0275mpd"](512,Ho,Ho,[]),r["\u0275mpd"](512,ho,ho,[]),r["\u0275mpd"](512,Eo,Eo,[]),r["\u0275mpd"](512,Xn,Xn,[]),r["\u0275mpd"](512,Gn,Gn,[]),r["\u0275mpd"](512,qo,qo,[]),r["\u0275mpd"](512,wo,wo,[]),r["\u0275mpd"](512,Co,Co,[]),r["\u0275mpd"](512,Jo,Jo,[]),r["\u0275mpd"](256,Dt,"XSRF-TOKEN",[]),r["\u0275mpd"](256,Mt,"X-XSRF-TOKEN",[]),r["\u0275mpd"](256,Vo,{overlapTrigger:!0,xPosition:"after",yPosition:"below"},[])])});Object(r.enableProdMode)(),We().bootstrapModuleFactory(Li).catch(function(e){return console.log(e)})},eIqN:function(e,t,n){"use strict";var r=n("6Xbx"),o=n("TO51"),i=n("AP4T"),s=n("E9/g"),a=n("qLnt");function u(){return function(e){return e.lift(new l(e))}}var l=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var n=this.connectable;n._refCount++;var r=new c(e,n),o=t.subscribe(r);return r.closed||(r.connection=n.connect()),o},e}(),c=function(e){function t(t,n){e.call(this,t),this.connectable=n}return Object(r.__extends)(t,e),t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},t}(s.a),d=function(e){function t(t,n){e.call(this),this.source=t,this.subjectFactory=n,this._refCount=0,this._isComplete=!1}return Object(r.__extends)(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new a.a).add(this.source.subscribe(new f(this.getSubject(),this))),e.closed?(this._connection=null,e=a.a.EMPTY):this._connection=e),e},t.prototype.refCount=function(){return u()(this)},t}(i.a).prototype,p={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:d._subscribe},_isComplete:{value:d._isComplete,writable:!0},getSubject:{value:d.getSubject},connect:{value:d.connect},refCount:{value:d.refCount}},f=function(e){function t(t,n){e.call(this,t),this.connectable=n}return Object(r.__extends)(t,e),t.prototype._error=function(t){this._unsubscribe(),e.prototype._error.call(this,t)},t.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},t}(o.b);function h(){return new o.a}t.a=function(){return function(e){return u()((t=h,function(e){var n;n="function"==typeof t?t:function(){return t};var r=Object.create(e,p);return r.source=e,r.subjectFactory=n,r})(e));var t}}},"fd+Y":function(e,t,n){"use strict";var r=n("hMwh"),o=n("qbbb");e.exports=function(e,t){var n=t||{},i={};return void 0===e&&(e={}),e.on=function(t,n){return i[t]?i[t].push(n):i[t]=[n],e},e.once=function(t,n){return n._once=!0,e.on(t,n),e},e.off=function(t,n){var r=arguments.length;if(1===r)delete i[t];else if(0===r)i={};else{var o=i[t];if(!o)return e;o.splice(o.indexOf(n),1)}return e},e.emit=function(){var t=r(arguments);return e.emitterSnapshot(t.shift()).apply(this,t)},e.emitterSnapshot=function(t){var s=(i[t]||[]).slice(0);return function(){var i=r(arguments),a=this||e;if("error"===t&&!1!==n.throws&&!s.length)throw 1===i.length?i[0]:i;return s.forEach(function(r){n.async?o(r,i,a):r.apply(a,i),r._once&&e.off(t,r)}),e}},e}},grVA:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r={closed:!0,next:function(e){},error:function(e){throw e},complete:function(){}}},hMwh:function(e,t){e.exports=function(e,t){return Array.prototype.slice.call(e,t)}},kQVV:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(e){return e&&"number"==typeof e.length}},lI6h:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("6Xbx"),o=function(e){function t(){e.apply(this,arguments)}return Object(r.__extends)(t,e),t.prototype.notifyNext=function(e,t,n,r,o){this.destination.next(t)},t.prototype.notifyError=function(e,t){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t}(n("E9/g").a)},mHG6:function(e,t,n){"use strict";t.a=function(e){return e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}},mz3w:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(e){var t,r=n("xIGM").a.Symbol;return"function"==typeof r?r.observable?t=r.observable:(t=r("observable"),r.observable=t):t="@@observable",t}()},p4E6:function(e,t,n){"use strict";(function(t){var r=n("fd+Y"),o=n("WMjF"),i=n("8z3O"),s=document,a=s.documentElement;function u(e,n,r,i){t.navigator.pointerEnabled?o[n](e,{mouseup:"pointerup",mousedown:"pointerdown",mousemove:"pointermove"}[r],i):t.navigator.msPointerEnabled?o[n](e,{mouseup:"MSPointerUp",mousedown:"MSPointerDown",mousemove:"MSPointerMove"}[r],i):(o[n](e,{mouseup:"touchend",mousedown:"touchstart",mousemove:"touchmove"}[r],i),o[n](e,r,i))}function l(e){if(void 0!==e.touches)return e.touches.length;if(void 0!==e.which&&0!==e.which)return e.which;if(void 0!==e.buttons)return e.buttons;var t=e.button;return void 0!==t?1&t?1:2&t?3:4&t?2:0:void 0}function c(e,n){return void 0!==t[n]?t[n]:a.clientHeight?a[e]:s.body[e]}function d(e,t,n){var r,o=e||{},i=o.className;return o.className+=" gu-hide",r=s.elementFromPoint(t,n),o.className=i,r}function p(){return!1}function f(){return!0}function h(e){return e.width||e.right-e.left}function v(e){return e.height||e.bottom-e.top}function y(e){return e.parentNode===s?null:e.parentNode}function g(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName||"SELECT"===e.tagName||function e(t){return!!t&&"false"!==t.contentEditable&&("true"===t.contentEditable||e(y(t)))}(e)}function m(e){return e.nextElementSibling||function(){var t=e;do{t=t.nextSibling}while(t&&1!==t.nodeType);return t}()}function _(e,t){var n=function(e){return e.targetTouches&&e.targetTouches.length?e.targetTouches[0]:e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e}(t),r={pageX:"clientX",pageY:"clientY"};return e in r&&!(e in n)&&r[e]in n&&(e=r[e]),n[e]}e.exports=function(e,t){var n,b,w,C,E,x,S,O,T,k,I;1===arguments.length&&!1===Array.isArray(e)&&(t=e,e=[]);var A,R=null,P=t||{};void 0===P.moves&&(P.moves=f),void 0===P.accepts&&(P.accepts=f),void 0===P.invalid&&(P.invalid=function(){return!1}),void 0===P.containers&&(P.containers=e||[]),void 0===P.isContainer&&(P.isContainer=p),void 0===P.copy&&(P.copy=!1),void 0===P.copySortSource&&(P.copySortSource=!1),void 0===P.revertOnSpill&&(P.revertOnSpill=!1),void 0===P.removeOnSpill&&(P.removeOnSpill=!1),void 0===P.direction&&(P.direction="vertical"),void 0===P.ignoreInputTextSelection&&(P.ignoreInputTextSelection=!0),void 0===P.mirrorContainer&&(P.mirrorContainer=s.body);var N=r({containers:P.containers,start:function(e){var t=H(e);t&&U(t)},end:z,cancel:G,remove:X,destroy:function(){M(!0),Z({})},canMove:function(e){return!!H(e)},dragging:!1});return!0===P.removeOnSpill&&N.on("over",function(e){i.rm(e,"gu-hide")}).on("out",function(e){N.dragging&&i.add(e,"gu-hide")}),M(),N;function D(e){return-1!==N.containers.indexOf(e)||P.isContainer(e)}function M(e){var t=e?"remove":"add";u(a,t,"mousedown",L),u(a,t,"mouseup",Z)}function j(e){u(a,e?"remove":"add","mousemove",B)}function F(e){var t=e?"remove":"add";o[t](a,"selectstart",V),o[t](a,"click",V)}function V(e){A&&e.preventDefault()}function L(e){if(x=e.clientX,S=e.clientY,1===l(e)&&!e.metaKey&&!e.ctrlKey){var t=e.target,n=H(t);n&&(A=n,j(),"mousedown"===e.type&&(g(t)?t.focus():e.preventDefault()))}}function B(e){if(A)if(0!==l(e)){if(void 0===e.clientX||e.clientX!==x||void 0===e.clientY||e.clientY!==S){if(P.ignoreInputTextSelection){var t=_("clientX",e),r=_("clientY",e);if(g(s.elementFromPoint(t,r)))return}var o=A;j(!0),F(),z(),U(o);var d,p={left:(d=w.getBoundingClientRect()).left+c("scrollLeft","pageXOffset"),top:d.top+c("scrollTop","pageYOffset")};C=_("pageX",e)-p.left,E=_("pageY",e)-p.top,i.add(k||w,"gu-transit"),function(){if(!n){var e=w.getBoundingClientRect();(n=w.cloneNode(!0)).style.width=h(e)+"px",n.style.height=v(e)+"px",i.rm(n,"gu-transit"),i.add(n,"gu-mirror"),P.mirrorContainer.appendChild(n),u(a,"add","mousemove",J),i.add(P.mirrorContainer,"gu-unselectable"),N.emit("cloned",n,w,"mirror")}}(),J(e)}}else Z({})}function H(e){if(!(N.dragging&&n||D(e))){for(var t=e;y(e)&&!1===D(y(e));){if(P.invalid(e,t))return;if(!(e=y(e)))return}var r=y(e);if(r&&!P.invalid(e,t)&&P.moves(e,r,t,m(e)))return{item:e,source:r}}}function U(e){("boolean"==typeof P.copy?P.copy:P.copy(e.item,e.source))&&(k=e.item.cloneNode(!0),N.emit("cloned",k,e.item,"copy")),b=e.source,w=e.item,O=T=m(e.item),N.dragging=!0,N.emit("drag",w,b)}function z(){if(N.dragging){var e=k||w;K(e,y(e))}}function q(){A=!1,j(!0),F(!0)}function Z(e){if(q(),N.dragging){var t=k||w,r=_("clientX",e),o=_("clientY",e),i=Q(d(n,r,o),r,o);i&&(k&&P.copySortSource||!k||i!==b)?K(t,i):P.removeOnSpill?X():G()}}function K(e,t){var n=y(e);k&&P.copySortSource&&t===b&&n.removeChild(w),W(t)?N.emit("cancel",e,b,b):N.emit("drop",e,t,b,T),Y()}function X(){if(N.dragging){var e=k||w,t=y(e);t&&t.removeChild(e),N.emit(k?"cancel":"remove",e,t,b),Y()}}function G(e){if(N.dragging){var t=arguments.length>0?e:P.revertOnSpill,n=k||w,r=y(n),o=W(r);!1===o&&t&&(k?r&&r.removeChild(k):b.insertBefore(n,O)),o||t?N.emit("cancel",n,b,b):N.emit("drop",n,r,b,T),Y()}}function Y(){var e=k||w;q(),n&&(i.rm(P.mirrorContainer,"gu-unselectable"),u(a,"remove","mousemove",J),y(n).removeChild(n),n=null),e&&i.rm(e,"gu-transit"),I&&clearTimeout(I),N.dragging=!1,R&&N.emit("out",e,R,b),N.emit("dragend",e),b=w=k=O=T=I=R=null}function W(e,t){var r;return r=void 0!==t?t:n?T:m(k||w),e===b&&r===O}function Q(e,t,n){for(var r=e;r&&!o();)r=y(r);return r;function o(){if(!1===D(r))return!1;var o=$(r,e),i=ee(r,o,t,n);return!!W(r,i)||P.accepts(w,r,b,i)}}function J(e){if(n){e.preventDefault();var t=_("clientX",e),r=_("clientY",e),o=r-E;n.style.left=t-C+"px",n.style.top=o+"px";var i=k||w,s=d(n,t,r),a=Q(s,t,r),u=null!==a&&a!==R;(u||null===a)&&(R&&f("out"),R=a,u&&f("over"));var l=y(i);if(a!==b||!k||P.copySortSource){var c,p=$(a,s);if(null!==p)c=ee(a,p,t,r);else{if(!0!==P.revertOnSpill||k)return void(k&&l&&l.removeChild(i));c=O,a=b}(null===c&&u||c!==i&&c!==m(i))&&(T=c,a.insertBefore(i,c),N.emit("shadow",i,a,b))}else l&&l.removeChild(i)}function f(e){N.emit(e,i,R,b)}}function $(e,t){for(var n=t;n!==e&&y(n)!==e;)n=y(n);return n===a?null:n}function ee(e,t,n,r){var o,i="horizontal"===P.direction;return t!==e?(o=t.getBoundingClientRect(),(i?n>o.left+h(o)/2:r>o.top+v(o)/2)?m(t):t):function(){var t,o,s,a=e.children.length;for(t=0;t<a;t++){if(s=(o=e.children[t]).getBoundingClientRect(),i&&s.left+s.width/2>n)return o;if(!i&&s.top+s.height/2>r)return o}return null}()}}}).call(t,n("GTd5"))},pICe:function(e,t,n){"use strict";var r=n("p4E6");t.dragula=r.default||r},qLnt:function(e,t,n){"use strict";var r=n("1j/l"),o=n("NGRF"),i=n("B1iP"),s=n("8ofh"),a=n("NePw"),u=n("6Xbx"),l=function(e){function t(t){e.call(this),this.errors=t;var n=Error.call(this,t?t.length+" errors occurred during unsubscription:\n "+t.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"");this.name=n.name="UnsubscriptionError",this.stack=n.stack,this.message=n.message}return Object(u.__extends)(t,e),t}(Error);n.d(t,"a",function(){return c});var c=function(){function e(e){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}var t;return e.prototype.unsubscribe=function(){var e,t=!1;if(!this.closed){var n=this._parent,u=this._parents,c=this._unsubscribe,p=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var f=-1,h=u?u.length:0;n;)n.remove(this),n=++f<h&&u[f]||null;if(Object(i.a)(c)&&Object(s.a)(c).call(this)===a.a&&(t=!0,e=e||(a.a.e instanceof l?d(a.a.e.errors):[a.a.e])),Object(r.a)(p))for(f=-1,h=p.length;++f<h;){var v=p[f];if(Object(o.a)(v)&&Object(s.a)(v.unsubscribe).call(v)===a.a){t=!0,e=e||[];var y=a.a.e;y instanceof l?e=e.concat(d(y.errors)):e.push(y)}}if(t)throw new l(e)}},e.prototype.add=function(t){if(!t||t===e.EMPTY)return e.EMPTY;if(t===this)return this;var n=t;switch(typeof t){case"function":n=new e(t);case"object":if(n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if("function"!=typeof n._addParent){var r=n;(n=new e)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}return(this._subscriptions||(this._subscriptions=[])).push(n),n._addParent(this),n},e.prototype.remove=function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}},e.prototype._addParent=function(e){var t=this._parent,n=this._parents;t&&t!==e?n?-1===n.indexOf(e)&&n.push(e):this._parents=[e]:this._parent=e},e.EMPTY=((t=new e).closed=!0,t),e}();function d(e){return e.reduce(function(e,t){return e.concat(t instanceof l?t.errors:t)},[])}},qbbb:function(e,t,n){"use strict";var r=n("VlH2");e.exports=function(e,t,n){e&&r(function(){e.apply(n||null,t||[])})}},qgI0:function(e,t,n){"use strict";var r=n("xIGM"),o=n("kQVV"),i=n("mHG6"),s=n("NGRF"),a=n("AP4T"),u=n("X3fp"),l=n("6Xbx"),c=function(e){function t(t,n,r){e.call(this),this.parent=t,this.outerValue=n,this.outerIndex=r,this.index=0}return Object(l.__extends)(t,e),t.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},t.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t}(n("E9/g").a),d=n("mz3w");t.a=function(e,t,n,l){var p=new c(e,n,l);if(p.closed)return null;if(t instanceof a.a)return t._isScalar?(p.next(t.value),p.complete(),null):(p.syncErrorThrowable=!0,t.subscribe(p));if(Object(o.a)(t)){for(var f=0,h=t.length;f<h&&!p.closed;f++)p.next(t[f]);p.closed||p.complete()}else{if(Object(i.a)(t))return t.then(function(e){p.closed||(p.next(e),p.complete())},function(e){return p.error(e)}).then(null,function(e){r.a.setTimeout(function(){throw e})}),p;if(t&&"function"==typeof t[u.a])for(var v=t[u.a]();;){var y=v.next();if(y.done){p.complete();break}if(p.next(y.value),p.closed)break}else if(t&&"function"==typeof t[d.a]){var g=t[d.a]();if("function"==typeof g.subscribe)return g.subscribe(new c(e,n,l));p.error(new TypeError("Provided object does not correctly implement Symbol.observable"))}else{var m=Object(s.a)(t)?"an invalid object":"'"+t+"'";p.error(new TypeError("You provided "+m+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable."))}}return null}},sY2v:function(e,t,n){"use strict";var r=n("6Xbx").__decorate,o=n("pICe"),i=n("LMZF"),s=function(){function e(){this.cancel=new i.EventEmitter,this.cloned=new i.EventEmitter,this.drag=new i.EventEmitter,this.dragend=new i.EventEmitter,this.drop=new i.EventEmitter,this.out=new i.EventEmitter,this.over=new i.EventEmitter,this.remove=new i.EventEmitter,this.shadow=new i.EventEmitter,this.dropModel=new i.EventEmitter,this.removeModel=new i.EventEmitter,this.events=["cancel","cloned","drag","dragend","drop","out","over","remove","shadow","dropModel","removeModel"],this.bags=[]}return e.prototype.add=function(e,t){var n=this.find(e);if(n)throw new Error('Bag named: "'+e+'" already exists.');return this.bags.push(n={name:e,drake:t}),t.models&&this.handleModels(e,t),n.initEvents||this.setupEvents(n),n},e.prototype.find=function(e){for(var t=0,n=this.bags;t<n.length;t++){var r=n[t];if(r.name===e)return r}},e.prototype.destroy=function(e){var t=this.find(e),n=this.bags.indexOf(t);this.bags.splice(n,1),t.drake.destroy()},e.prototype.setOptions=function(e,t){var n=this.add(e,o.dragula(t));this.handleModels(e,n.drake)},e.prototype.handleModels=function(e,t){var n,r,o,i,s=this;t.on("remove",function(n,o){t.models&&((i=t.models[t.containers.indexOf(o)]).splice(r,1),s.removeModel.emit([e,n,o]))}),t.on("drag",function(e,t){n=e,r=s.domIndexOf(e,t)}),t.on("drop",function(a,u,l){if(t.models&&u){if(o=s.domIndexOf(a,u),i=t.models[t.containers.indexOf(l)],u===l)i.splice(o,0,i.splice(r,1)[0]);else{var c=n===a,d=t.models[t.containers.indexOf(u)],p=c?i[r]:JSON.parse(JSON.stringify(i[r]));c&&i.splice(r,1),d.splice(o,0,p),u.removeChild(a)}s.dropModel.emit([e,a,u,l])}})},e.prototype.setupEvents=function(e){e.initEvents=!0;var t=this;this.events.forEach(function(n){e.drake.on(n,function(){var r=Array.prototype.slice.call(arguments);t[n].emit([e.name].concat(r))})})},e.prototype.domIndexOf=function(e,t){return Array.prototype.indexOf.call(t.children,e)},e}();s=r([i.Injectable()],s),t.DragulaService=s},wP3s:function(e,t,n){"use strict";t.a=function(e,t,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),function(r){return"number"==typeof t&&(n=t,t=null),r.lift(new s(e,t,n))}};var r=n("6Xbx"),o=n("qgI0"),i=n("lI6h"),s=function(){function e(e,t,n){void 0===n&&(n=Number.POSITIVE_INFINITY),this.project=e,this.resultSelector=t,this.concurrent=n}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.project,this.resultSelector,this.concurrent))},e}(),a=function(e){function t(t,n,r,o){void 0===o&&(o=Number.POSITIVE_INFINITY),e.call(this,t),this.project=n,this.resultSelector=r,this.concurrent=o,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return Object(r.__extends)(t,e),t.prototype._next=function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)},t.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(e){return void this.destination.error(e)}this.active++,this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){this.add(Object(o.a)(this,e,t,n))},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},t.prototype.notifyNext=function(e,t,n,r,o){this.resultSelector?this._notifyResultSelector(e,t,n,r):this.destination.next(t)},t.prototype._notifyResultSelector=function(e,t,n,r){var o;try{o=this.resultSelector(e,t,n,r)}catch(e){return void this.destination.error(e)}this.destination.next(o)},t.prototype.notifyComplete=function(e){var t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(i.a)},xIGM:function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return i});var r="undefined"!=typeof window&&window,o="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,i=r||void 0!==e&&e||o}).call(t,n("GTd5"))}},[0]); 25.02.2020
panopoly_magic 8.x-2.x-dev ::
js/panopoly_magic.preview.base.js
$blocks
.find(
'button, [href], input, select, textarea, iframe, [tabindex]:not([tabindex="-1"]):not(.tabbable)',
)
// Don't remove the manual preview link from tab order.
.not(
(index, element) =>
$(element).hasClass('panopoly-magic-manual-preview-link'),
) 01.06.2022
rigel 5.0.3 ::
js/global.js
// Tab js //
$('.tabbable-panel ul.nav-tabs a').click(function () {
// Check for active
$('.tabbable-panel ul.nav-tabs li').removeClass('active');
$(this).parent().addClass('active');
// Display active tab
let currentTab = $(this).attr('href');
$('.tabbable-panel .tab-content div.tab-pane').hide();
$(currentTab).show();
return false;
});
// Min & Max input // 02.09.2020
sfc 8.x-1.3 ::
modules/sfc_dev/src/Controller/ComponentDevController.php
$command = new ReplaceCommand('.js-component-preview', $content);
$response->addCommand($command);
$command = new InvokeCommand('.js-component-preview :tabbable:first', 'focus');
$response->addCommand($command);
$command = new InvokeCommand('[data-component-picker-id]', 'removeClass', ['active']);
$response->addCommand($command);
$command = new InvokeCommand('[data-component-picker-id="' . $plugin_id . '"]', 'addClass', ['active']);
$response->addCommand($command);
$command = new RefreshComponentAssetsCommand($component, $this->assetResolver); 07.02.2019
sooperthemes_gridstack 8.x-1.x-dev ::
vendor/gridstack/gridstack.jQueryUI.js
'jquery-ui/form', 'jquery-ui/ie', 'jquery-ui/keycode', 'jquery-ui/labels', 'jquery-ui/jquery-1-7',
'jquery-ui/plugin', 'jquery-ui/safe-active-element', 'jquery-ui/safe-blur', 'jquery-ui/scroll-parent',
'jquery-ui/tabbable', 'jquery-ui/unique-id', 'jquery-ui/version', 'jquery-ui/widget',
'jquery-ui/widgets/mouse', 'jquery-ui/widgets/draggable', 'jquery-ui/widgets/droppable',
'jquery-ui/widgets/resizable'], factory);
} else if (typeof exports !== 'undefined') {
try { jQuery = require('jquery'); } catch (e) {}
try { _ = require('lodash'); } catch (e) {}
try { GridStackUI = require('gridstack'); } catch (e) {} 