diff --git a/dist/index.html b/dist/index.html index 3c650ec087..e311925e11 100644 --- a/dist/index.html +++ b/dist/index.html @@ -36,5 +36,5 @@ - + \ No newline at end of file diff --git a/dist/main.15c651052774a237.js b/dist/main.15c651052774a237.js new file mode 100644 index 0000000000..7388361551 --- /dev/null +++ b/dist/main.15c651052774a237.js @@ -0,0 +1 @@ +(self.webpackChunkOpen_Capture=self.webpackChunkOpen_Capture||[]).push([[179],{7520:(N,U,C)=>{"use strict";function c(m){return m}C.d(U,{J:()=>c})},9958:(N,U,C)=>{"use strict";C.d(U,{N:()=>c});const c={url:"../../backend_oc",customId:"",fqdn:"",production:!0,version:C(4147).i8}},1872:(N,U,C)=>{"use strict";C.d(U,{R:()=>m});var c=C(5e3);let m=(()=>{class e{ngOnInit(){}}return e.\u0275fac=function(M){return new(M||e)},e.\u0275cmp=c.Xpm({type:e,selectors:[["app-loader"]],decls:10,vars:0,consts:[[1,"w-full","h-full"],["id","preloader",1,"absolute","inset-0","bg-white","z-30"],["id","status",1,"flex","absolute","items-center","justify-center","w-full","h-0","top-1/2"],["xmlns","http://www.w3.org/2000/svg","x","0px","y","0px","viewBox","0 0 74.4 81.9","width","300","height","300"],["id","fill","x1","0.5","y1","1","x2","0.5","y2","0"],["offset","0%","stop-color","#76B442"],["attributeName","stop-color","values","#76B442; #A7A8AA; #76B442","dur","1s","repeatCount","indefinite"],["offset","100%","stop-color","#A7A8AA"],["attributeName","stop-color","values","#A7A8AA; #76B442; #A7A8AA","dur","1s","repeatCount","indefinite"],["fill","url(#fill)","d","M1.9,79.4c-1.5-1.5,0.3-4.7,8.2-14.2c4.8-5.7,10.1-12.3,11.9-14.6l3.3-4.1l-1.6-1.7 c-7.2-7.4-8.6-20.6-3-29.7C27.9,3.4,43.8-1.4,56.8,4.2c6,2.6,11.8,8,14.4,13.5c2.7,5.6,2.5,15.4-0.4,21.1 c-6.6,13-22.8,18.9-36.3,13.3c-2.2-1-4.1-1.3-4.4-1c-0.3,0.4-5.8,7-12.2,14.8C8.8,76.8,5.7,80,4.3,80C3.3,80,2.1,79.7,1.9,79.4 L1.9,79.4z M53.5,48.8c5.7-2,10.7-6.3,13.4-11.3c2.8-5.2,2.9-13.8,0.1-18.9c-4.5-8.4-12-12.8-21.9-12.8c-26.3,0-33.2,33.2-9,42.7 C42.2,50.9,47.3,51,53.5,48.8L53.5,48.8z"]],template:function(M,k){1&M&&(c.TgZ(0,"div",0)(1,"div",1)(2,"div",2),c.O4$(),c.TgZ(3,"svg",3)(4,"linearGradient",4)(5,"stop",5),c._UZ(6,"animate",6),c.qZA(),c.TgZ(7,"stop",7),c._UZ(8,"animate",8),c.qZA()(),c._UZ(9,"path",9),c.qZA()()()())},encapsulation:2}),e})()},2595:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{D:()=>SplitterUpdateOutputComponent});var _angular_forms__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(3075),_env__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(9958),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(8505),rxjs_operators__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(8746),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(262),rxjs_operators__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(8675),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(4004),rxjs__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(9646),_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(7520),_angular_core__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(5e3),_angular_router__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(6696),_angular_common_http__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(520),_services_auth_service__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(2560),_services_user_service__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(230),_ngx_translate_core__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(4894),_services_notifications_notifications_service__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(7862),_services_settings_service__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(3208),_services_privileges_service__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(897),_angular_common__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(9808),_angular_material_form_field__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(3489),_angular_material_select__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(4107),_angular_material_core__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(508),_angular_material_input__WEBPACK_IMPORTED_MODULE_23__=__webpack_require__(8833),_angular_material_tabs__WEBPACK_IMPORTED_MODULE_24__=__webpack_require__(3251),_angular_material_sidenav__WEBPACK_IMPORTED_MODULE_25__=__webpack_require__(2638),_angular_material_button__WEBPACK_IMPORTED_MODULE_26__=__webpack_require__(7423),_angular_material_expansion__WEBPACK_IMPORTED_MODULE_27__=__webpack_require__(1125),_angular_material_autocomplete__WEBPACK_IMPORTED_MODULE_28__=__webpack_require__(1079),_angular_material_list__WEBPACK_IMPORTED_MODULE_29__=__webpack_require__(4623),_angular_material_divider__WEBPACK_IMPORTED_MODULE_30__=__webpack_require__(4834),_loader_component__WEBPACK_IMPORTED_MODULE_31__=__webpack_require__(1872),_verifier_outputs_update_update_output_component__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(6155);function SplitterUpdateOutputComponent_mat_expansion_panel_8_div_6_div_1_mat_expansion_panel_1_div_8_div_1_Template(N,U){if(1&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"div",42)(1,"button",43),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C);const m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(4).$implicit,e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,b=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(b.serviceSettings.changeSetting(m.id,e.id))}),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(2,"i"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(3,"p",44),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(5,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()()}if(2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(5);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("text-green-400",c.router.url.includes(C.route))("disable_link",C.showOnlyIfActive),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("routerLink",C.route),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",C.icon,""),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(5,9,C.label)," ")}}function SplitterUpdateOutputComponent_mat_expansion_panel_8_div_6_div_1_mat_expansion_panel_1_div_8_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"div"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(1,SplitterUpdateOutputComponent_mat_expansion_panel_8_div_6_div_1_mat_expansion_panel_1_div_8_div_1_Template,6,11,"div",41),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=U.$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(3).$implicit,m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("border-gray-600",!C.showOnlyIfActive)("border-t",!C.showOnlyIfActive)("w-full",!C.showOnlyIfActive),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",(m.privilegesService.hasPrivilege(C.privilege)||"*"===c.privilege)&&(!C.showOnlyIfActive||C.showOnlyIfActive&&m.router.url.includes(C.route)))}}function SplitterUpdateOutputComponent_mat_expansion_panel_8_div_6_div_1_mat_expansion_panel_1_Template(N,U){if(1&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-expansion-panel",35)(1,"mat-expansion-panel-header",36)(2,"mat-panel-title",37),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(3,"i"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(4,"button",38),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C);const m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,b=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(b.serviceSettings.changeSetting(m.id,e.id))}),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(5,"p",39),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(6),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(7,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()()(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(8,SplitterUpdateOutputComponent_mat_expansion_panel_8_div_6_div_1_mat_expansion_panel_1_div_8_Template,2,7,"div",40),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()}if(2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("expanded",m.router.url.includes(C.route)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",C.icon,""),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("text-green-400",m.router.url===C.route),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("text-green-400",m.router.url===C.route),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("routerLink",C.route),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("font-medium",m.router.url===C.route),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(7,13,C.label)," "),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",m.serviceSettings.getSettingsAction(c.id,C.id))}}function SplitterUpdateOutputComponent_mat_expansion_panel_8_div_6_div_1_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"div"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(1,SplitterUpdateOutputComponent_mat_expansion_panel_8_div_6_div_1_mat_expansion_panel_1_Template,9,15,"mat-expansion-panel",34),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",c.privilegesService.hasPrivilege(C.privilege)||"*"===C.privilege)}}function SplitterUpdateOutputComponent_mat_expansion_panel_8_div_6_ng_template_2_button_0_Template(N,U){if(1&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"button",38),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C);const m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,b=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(b.serviceSettings.changeSetting(m.id,e.id))}),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(1,"i"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(2,"p",39),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(4,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()}if(2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("text-green-400",c.router.url===C.route),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("routerLink",C.route),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",C.icon,""),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("font-medium",c.router.url===C.route),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(4,9,C.label)," ")}}function SplitterUpdateOutputComponent_mat_expansion_panel_8_div_6_ng_template_2_Template(N,U){if(1&N&&_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(0,SplitterUpdateOutputComponent_mat_expansion_panel_8_div_6_ng_template_2_button_0_Template,5,11,"button",45),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",c.privilegesService.hasPrivilege(C.privilege)||"*"===C.privilege)}}function SplitterUpdateOutputComponent_mat_expansion_panel_8_div_6_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"div"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(1,SplitterUpdateOutputComponent_mat_expansion_panel_8_div_6_div_1_Template,2,1,"div",32),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(2,SplitterUpdateOutputComponent_mat_expansion_panel_8_div_6_ng_template_2_Template,1,1,"ng-template",null,33,_angular_core__WEBPACK_IMPORTED_MODULE_7__.W1O),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=U.$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.MAs(3),m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("border-b",e.privilegesService.hasPrivilege(C.privilege)||"*"===C.privilege)("border-gray-400",e.privilegesService.hasPrivilege(C.privilege)||"*"===C.privilege),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",e.serviceSettings.getSettingsAction(m.id,C.id))("ngIfElse",c)}}function SplitterUpdateOutputComponent_mat_expansion_panel_8_Template(N,U){if(1&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-expansion-panel",28),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("opened",function(){const e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C).$implicit,b=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(b.serviceSettings.closeOtherParent(b.router.url,e.id))}),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(1,"mat-expansion-panel-header",29)(2,"mat-panel-title"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(4,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(5,"div",30),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(6,SplitterUpdateOutputComponent_mat_expansion_panel_8_div_6_Template,4,6,"div",31),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()}if(2&N){const C=U.$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("expanded",C.opened),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(4,3,C.label)," "),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",c.serviceSettings.getSettings()[C.id])}}function SplitterUpdateOutputComponent_div_10_Template(N,U){1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"div"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(1,"app-loader"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA())}function SplitterUpdateOutputComponent_div_21_ng_container_2_mat_form_field_1_mat_error_6_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-error"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(c.getErrorMessage(C.id,c.outputForm))}}function SplitterUpdateOutputComponent_div_21_ng_container_2_mat_form_field_1_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-form-field")(1,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(4,"input",49),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(5,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(6,SplitterUpdateOutputComponent_div_21_ng_container_2_mat_form_field_1_mat_error_6_Template,2,1,"mat-error",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,7,C.label)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.s9C("placeholder",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(5,9,C.label)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("value",C.control.value)("formControl",C.control)("type",C.type)("required",C.required),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.control.invalid)}}function SplitterUpdateOutputComponent_div_21_ng_container_2_mat_form_field_2_mat_option_5_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-option",52),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=U.$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("value",C.output_type_id),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",C.output_type_label," ")}}function SplitterUpdateOutputComponent_div_21_ng_container_2_mat_form_field_2_mat_error_6_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-error"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(c.getErrorMessage(C.id,c.outputForm))}}function SplitterUpdateOutputComponent_div_21_ng_container_2_mat_form_field_2_Template(N,U){if(1&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-form-field")(1,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(4,"mat-select",50),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("ngModelChange",function(m){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C);const e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit;return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(e.control.value=m)})("selectionChange",function(m){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C);const e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(3);return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(e.changeOutputType(m))}),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(5,SplitterUpdateOutputComponent_div_21_ng_container_2_mat_form_field_2_mat_option_5_Template,2,2,"mat-option",51),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(6,SplitterUpdateOutputComponent_div_21_ng_container_2_mat_form_field_2_mat_error_6_Template,2,1,"mat-error",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()}if(2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,6,C.label)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("name",C.id)("id",C.id)("ngModel",C.control.value),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",c.outputsTypes),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.control.invalid)}}function SplitterUpdateOutputComponent_div_21_ng_container_2_mat_form_field_3_mat_option_5_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-option",52),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(2,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=U.$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("value",C.id),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(2,2,C.label)," ")}}function SplitterUpdateOutputComponent_div_21_ng_container_2_mat_form_field_3_mat_error_6_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-error"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(c.getErrorMessage(C.id,c.outputForm))}}function SplitterUpdateOutputComponent_div_21_ng_container_2_mat_form_field_3_Template(N,U){if(1&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-form-field")(1,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(4,"mat-select",53),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("ngModelChange",function(m){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C);const e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit;return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(e.control.value=m)}),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(5,SplitterUpdateOutputComponent_div_21_ng_container_2_mat_form_field_3_mat_option_5_Template,3,4,"mat-option",51),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(6,SplitterUpdateOutputComponent_div_21_ng_container_2_mat_form_field_3_mat_error_6_Template,2,1,"mat-error",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()}if(2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,6,C.label)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("name",C.id)("id",C.id)("ngModel",C.control.value),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",C.values),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.control.invalid)}}function SplitterUpdateOutputComponent_div_21_ng_container_2_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.ynx(0),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(1,SplitterUpdateOutputComponent_div_21_ng_container_2_mat_form_field_1_Template,7,11,"mat-form-field",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(2,SplitterUpdateOutputComponent_div_21_ng_container_2_mat_form_field_2_Template,7,8,"mat-form-field",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(3,SplitterUpdateOutputComponent_div_21_ng_container_2_mat_form_field_3_Template,7,8,"mat-form-field",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.BQk()),2&N){const C=U.$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf","text"===C.type),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf","select"===C.type&&"output_type_id"===C.id),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf","select"===C.type&&"compress_type"===C.id&&"export_pdf"===c.selectedOutputType)}}function SplitterUpdateOutputComponent_div_21_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"div",46)(1,"form",47),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(2,SplitterUpdateOutputComponent_div_21_ng_container_2_Template,4,3,"ng-container",48),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",C.outputForm)}}function SplitterUpdateOutputComponent_form_32_span_4_Template(N,U){1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"span",60),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(2,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(2,1,"OUTPUT.no_auth_necessary")," "))}function SplitterUpdateOutputComponent_form_32_ng_container_6_mat_form_field_1_mat_error_5_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-error"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(c.getErrorMessage(C.id,c.outputsTypesForm[c.selectedOutputType].auth))}}function SplitterUpdateOutputComponent_form_32_ng_container_6_mat_form_field_1_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-form-field")(1,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(4,"input",49),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(5,SplitterUpdateOutputComponent_form_32_ng_container_6_mat_form_field_1_mat_error_5_Template,2,1,"mat-error",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,7,C.label)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("value",C.control.value)("formControl",C.control)("type",C.type)("placeholder",C.placeholder)("required",C.required),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.control.invalid)}}function SplitterUpdateOutputComponent_form_32_ng_container_6_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.ynx(0),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(1,SplitterUpdateOutputComponent_form_32_ng_container_6_mat_form_field_1_Template,6,9,"mat-form-field",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.BQk()),2&N){const C=U.$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf","text"===C.type||"number"===C.type||"password"===C.type)}}function SplitterUpdateOutputComponent_form_32_button_7_Template(N,U){if(1&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"button",20)(1,"span",61),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C);const m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(m.testConnection())}),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()}2&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,1,"OUTPUT.test_connection")))}function SplitterUpdateOutputComponent_form_32_span_10_Template(N,U){1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"span",60),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(2,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(2,1,"OUTPUT.no_parameters_necessary")," "))}function SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_1_mat_error_5_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-error"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(c.getErrorMessage(C.id,c.outputsTypesForm[c.selectedOutputType].parameters))}}function SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_1_mat_hint_6_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-hint"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(C.hint)}}function SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_1_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-form-field")(1,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(4,"input",49),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(5,SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_1_mat_error_5_Template,2,1,"mat-error",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(6,SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_1_mat_hint_6_Template,2,1,"mat-hint",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,8,C.label)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("value",C.control.value)("formControl",C.control)("type",C.type)("placeholder",C.placeholder)("required",C.required),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.control.invalid),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.hint)}}function SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_2_mat_error_5_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-error"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(c.getErrorMessage(C.id,c.outputsTypesForm[c.selectedOutputType].parameters))}}function SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_2_mat_hint_6_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-hint"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(C.hint)}}function SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_2_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-form-field",64)(1,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(4,"textarea",65),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(5,SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_2_mat_error_5_Template,2,1,"mat-error",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(6,SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_2_mat_hint_6_Template,2,1,"mat-hint",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,8,C.label)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("value",C.control.value)("formControl",C.control)("type",C.type)("placeholder",C.placeholder)("required",C.required),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.control.invalid),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.hint)}}function SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_3_mat_error_5_Template(N,U){1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-error"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(2,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(2,1,"OUTPUT.check_connection_before")))}function SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_3_mat_hint_6_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-hint"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(C.hint)}}function SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_3_mat_option_9_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-option",52),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(1,"span",70),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(2,"highlight"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(3,"span",71),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()),2&N){const C=U.$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(4);_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("value",C),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("innerHTML",_angular_core__WEBPACK_IMPORTED_MODULE_7__.xi3(2,3,C.value,c.toHighlight),_angular_core__WEBPACK_IMPORTED_MODULE_7__.oJD),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(C.extra)}}function SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_3_Template(N,U){if(1&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-form-field",66),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("focusin",function(){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C);const m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(e.retrieveDataFromWS(m.id))}),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(1,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(4,"input",67),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(5,SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_3_mat_error_5_Template,3,3,"mat-error",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(6,SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_3_mat_hint_6_Template,2,1,"mat-hint",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(7,"mat-autocomplete",68,69),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(9,SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_3_mat_option_9_Template,5,6,"mat-option",51),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(10,"async"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()}if(2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.MAs(8),c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,11,c.label)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("formControl",c.control)("type",c.type)("readonly",c.webservice&&!m.connection)("placeholder",c.placeholder)("required",c.required)("matAutocomplete",C),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",c.webservice&&!m.connection),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",c.hint),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("displayWith",m.displayFn),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(10,13,c.filteredOptions))}}function SplitterUpdateOutputComponent_form_32_ng_container_12_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.ynx(0),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(1,SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_1_Template,7,10,"mat-form-field",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(2,SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_2_Template,7,10,"mat-form-field",62),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(3,SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_3_Template,11,15,"mat-form-field",63),_angular_core__WEBPACK_IMPORTED_MODULE_7__.BQk()),2&N){const C=U.$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",("text"===C.type||"number"===C.type)&&!C.webservice),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf","textarea"===C.type&&!C.webservice),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",("text"===C.type||"number"===C.type)&&C.webservice)}}function SplitterUpdateOutputComponent_form_32_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"form",54)(1,"mat-tab-group",55)(2,"mat-tab",56),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(4,SplitterUpdateOutputComponent_form_32_span_4_Template,3,3,"span",57),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(5,"div",58),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(6,SplitterUpdateOutputComponent_form_32_ng_container_6_Template,2,1,"ng-container",48),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(7,SplitterUpdateOutputComponent_form_32_button_7_Template,4,3,"button",59),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(8,"mat-tab",56),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(9,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(10,SplitterUpdateOutputComponent_form_32_span_10_Template,3,3,"span",57),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(11,"div",58),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(12,SplitterUpdateOutputComponent_form_32_ng_container_12_Template,4,3,"ng-container",48),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()()()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("label",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,7,"OUTPUT.auth")),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",0===C.outputsTypesForm[C.selectedOutputType].auth.length),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",C.outputsTypesForm[C.selectedOutputType].auth),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",0!==C.outputsTypesForm[C.selectedOutputType].auth.length),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("label",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(9,9,"OUTPUT.parameters")),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",0===C.outputsTypesForm[C.selectedOutputType].parameters.length),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",C.outputsTypesForm[C.selectedOutputType].parameters)}}function SplitterUpdateOutputComponent_div_39_Template(N,U){1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"div",72)(1,"div",73),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(2,"i",74),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(3,"span",75),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(5,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()()),2&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(5,1,"OUTPUT.loading_custom_fields")," "))}function SplitterUpdateOutputComponent_div_40_div_1_mat_divider_7_Template(N,U){1&N&&_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(0,"mat-divider",79)}function SplitterUpdateOutputComponent_div_40_div_1_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"div",77)(1,"span"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(4,"span",71),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(5),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(6,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(7,SplitterUpdateOutputComponent_div_40_div_1_mat_divider_7_Template,1,0,"mat-divider",78),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()),2&N){const C=U.$implicit,c=U.index;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,3,C.label)," "),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(6,5,C.labelShort)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",0===c)}}function SplitterUpdateOutputComponent_div_40_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"div",15),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(1,SplitterUpdateOutputComponent_div_40_div_1_Template,8,7,"div",76),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",C.availableFields)}}let SplitterUpdateOutputComponent=(()=>{class SplitterUpdateOutputComponent{constructor(N,U,C,c,m,e,b,M,k,F){this.router=N,this.http=U,this.route=C,this.formBuilder=c,this.authService=m,this.userService=e,this.translate=b,this.notify=M,this.serviceSettings=k,this.privilegesService=F,this.headers=this.authService.headers,this.loading=!0,this.loadingCustomFields=!0,this.connection=!1,this.outputsTypes=[],this.outputsTypesForm=[],this.toHighlight="",this.outputForm=[{id:"output_type_id",label:this.translate.instant("HEADER.output_type"),type:"select",control:new _angular_forms__WEBPACK_IMPORTED_MODULE_8__.NI,required:!0,values:this.outputsTypes},{id:"output_label",label:this.translate.instant("HEADER.label"),type:"text",control:new _angular_forms__WEBPACK_IMPORTED_MODULE_8__.NI,required:!0},{id:"compress_type",label:this.translate.instant("OUTPUT.compress_type"),type:"select",control:new _angular_forms__WEBPACK_IMPORTED_MODULE_8__.NI,values:[{id:"",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.no_compress")},{id:"screen",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.compress_screen")},{id:"ebook",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.compress_ebook")},{id:"prepress",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.compress_prepress")},{id:"printer",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.compress_printer")},{id:"default",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.compress_default")}],required:!1}],this.availableFields=[{labelShort:"HEADER.id",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("HEADER.label")},{labelShort:"date",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("TYPES.date")},{labelShort:"id",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("SPLITTER.batch_identifier")},{labelShort:"document_identifier",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("SPLITTER.document_identifier")},{labelShort:"document_index",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("SPLITTER.document_index")},{labelShort:"validate_by_firstname",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.validate_by_lastname")},{labelShort:"validate_by_firstname",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.validate_by_firstname")},{labelShort:"doctype",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("SETTINGS.document_type")},{labelShort:"random",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.random")},{labelShort:"filename",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.filename")},{labelShort:"documents_count",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.documents_count")},{labelShort:"fileIndex",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.file_index")},{labelShort:"format",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.format")},{labelShort:"zip_filename",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.zip_filename")}],this.testConnectionMapping={export_openads:"testOpenadsConnection()",export_maarch:"testMaarchConnection()",export_cmis:"testCmisConnection()"}}ngOnInit(){this.serviceSettings.init(),this.outputId=this.route.snapshot.params.id,this.http.get(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/outputs/getById/"+this.outputId,{headers:this.authService.headers}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.b)(N=>{this.output=N;for(const U in N)N.hasOwnProperty(U)&&this.outputForm.forEach(C=>{C.id===U&&("output_type_id"===C.id&&(this.selectedOutputType=this.originalOutputType=N[U]),C.control.setValue(N[U]),"compress_type"===C.id&&null==N[U]&&C.control.setValue(""))});this.http.get(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/outputs/getOutputsTypes?module=splitter",{headers:this.authService.headers}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.b)(U=>{this.outputsTypes=U.outputs_types;for(const C of this.outputsTypes){this.outputsTypesForm[C.output_type_id]={auth:[],parameters:[]};for(const c in this.outputsTypesForm[C.output_type_id])if(C.data.options[c])for(const m of C.data.options[c])this.outputsTypesForm[C.output_type_id][c].push({id:m.id,label:m.label,type:m.type,placeholder:m.placeholder,control:new _angular_forms__WEBPACK_IMPORTED_MODULE_8__.NI,required:m.required,isJson:m.isJson,hint:m.hint,webservice:m.webservice})}for(const C in this.outputsTypesForm[this.originalOutputType])this.outputsTypesForm[this.originalOutputType][C].forEach(c=>{this.output.data.options[C].forEach(m=>{c.id===m.id&&m.value&&(m.webservice&&(c.values=[m.value]),c.control.setValue(m.value))})}),this.testConnection()}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.x)(()=>{this.loading=!1}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.K)(U=>(console.debug(U),this.notify.handleErrors(U),this.router.navigate(["/settings/splitter/outputs"]).then(),(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(!1)))).subscribe()}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.K)(N=>(console.debug(N),this.notify.handleErrors(N),this.router.navigate(["/settings/splitter/outputs"]).then(),(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(!1)))).subscribe(),this.http.get(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/customFields/list",{headers:this.authService.headers}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.b)(N=>{let U;N.customFields.forEach(C=>{U={id:C.id,labelShort:C.label_short,label:C.label,enabled:C.enabled},C.enabled&&this.availableFields.push(U)})}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.x)(()=>this.loadingCustomFields=!1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.K)(N=>(console.debug(N),this.notify.handleErrors(N),(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(!1)))).subscribe()}displayFn(N){return N?N.value:void 0}getErrorMessage(N,U){let C;return U.forEach(c=>{c.id===N&&c.control.invalid&&(c.required&&(C=this.translate.instant("AUTH.field_required")),c.control.errors.json_error&&(C=this.translate.instant("ERROR.json_pattern")))}),C}changeOutputType(N){this.selectedOutputType=N.value}isValidForm(N){let U=!0;return N.forEach(C=>{("DISABLED"!==C.control.status&&"VALID"!==C.control.status||null==C.control.value)&&(U=!1)}),U}getValueFromForm(N,U){let C="";return N.forEach(c=>{U===c.id&&(C=c.control.value)}),C}retrieveDataFromWS(fieldId){for(const cpt in this.outputsTypesForm[this.selectedOutputType].parameters){const element=this.outputsTypesForm[this.selectedOutputType].parameters[cpt];element.id===fieldId&&(!element.values||1===element.values.length)&&eval("this."+element.webservice+"("+cpt+")")}}_filter(N,U){if("string"==typeof N){this.toHighlight=N;const C=N.toLowerCase();return U.filter(c=>-1!==c.value.toLowerCase().indexOf(C))}return U}testCmisConnection(){const N=this.getCmisConnectionInfo();this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/splitter/cmis/testConnection",{args:N},{headers:this.authService.headers}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.b)(U=>{!0===U.status?(this.notify.success(this.translate.instant("OUTPUT.cmis_connection_ok")),this.connection=!0):(this.notify.error(this.translate.instant("OUTPUT.cmis_connection_ko")+" : "+U.message),this.connection=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.K)(U=>(console.debug(U),this.notify.handleErrors(U),(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(!1)))).subscribe()}getCmisConnectionInfo(){return{cmis_ws:this.getValueFromForm(this.outputsTypesForm[this.selectedOutputType].auth,"cmis_ws"),login:this.getValueFromForm(this.outputsTypesForm[this.selectedOutputType].auth,"login"),password:this.getValueFromForm(this.outputsTypesForm[this.selectedOutputType].auth,"password"),folder:this.getValueFromForm(this.outputsTypesForm[this.selectedOutputType].auth,"folder")}}testMaarchConnection(){const N=this.getMaarchConnectionInfo();this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/maarch/testConnection",{args:N},{headers:this.authService.headers}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.b)(U=>{const C=U.status;!0===C?(this.notify.success(this.translate.instant("OUTPUT.maarch_connection_ok")),this.connection=!0):(this.notify.error(this.translate.instant("OUTPUT.maarch_connection_ko")+" : "+C[1]),this.connection=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.K)(U=>(console.debug(U),this.notify.handleErrors(U),(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(!1)))).subscribe()}getOpenadsConnectionInfo(){return{openads_api:this.getValueFromForm(this.outputsTypesForm[this.selectedOutputType].auth,"openads_api"),login:this.getValueFromForm(this.outputsTypesForm[this.selectedOutputType].auth,"login"),password:this.getValueFromForm(this.outputsTypesForm[this.selectedOutputType].auth,"password")}}testOpenadsConnection(){const N=this.getOpenadsConnectionInfo();this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/splitter/openads/testConnection",{args:N},{headers:this.authService.headers}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.b)(U=>{!0===U.status?(this.notify.success(this.translate.instant("OUTPUT.openads_connection_ok")),this.connection=!0):(this.notify.error(this.translate.instant("OUTPUT.openads_connection_ko")+" : "+U.message),this.connection=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.K)(U=>(console.debug(U),this.notify.handleErrors(U),(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(!1)))).subscribe()}getMaarchConnectionInfo(){return{host:this.getValueFromForm(this.outputsTypesForm[this.selectedOutputType].auth,"host"),login:this.getValueFromForm(this.outputsTypesForm[this.selectedOutputType].auth,"login"),password:this.getValueFromForm(this.outputsTypesForm[this.selectedOutputType].auth,"password")}}getUsersFromMaarch(N){if(this.isValidForm(this.outputsTypesForm[this.selectedOutputType].auth)&&this.connection){const U=this.getMaarchConnectionInfo();this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/maarch/getUsers",{args:U},{headers:this.authService.headers}).toPromise().then(C=>{if(C&&C.users){const c=C.users,m=[];for(const e in c)m.push({id:c[e].id,value:c[e].firstname+" "+c[e].lastname,extra:c[e].user_id});this.setAutocompleteValues(N,m)}})}}getEntitiesFromMaarch(N){if(this.isValidForm(this.outputsTypesForm[this.selectedOutputType].auth)&&this.connection){const U=this.getMaarchConnectionInfo();this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/maarch/getEntities",{args:U},{headers:this.authService.headers}).toPromise().then(C=>{if(C&&C.entities){const c=C.entities,m=[];for(const e in c)m.push({id:c[e].serialId,value:c[e].entity_label,extra:c[e].entity_id});this.setAutocompleteValues(N,m)}})}}getDoctypesFromMaarch(N){if(this.isValidForm(this.outputsTypesForm[this.selectedOutputType].auth)&&this.connection){const U=this.getMaarchConnectionInfo();this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/maarch/getDoctypes",{args:U},{headers:this.authService.headers}).toPromise().then(C=>{if(C&&C.doctypes){const c=C.doctypes,m=[];for(const e in c)m.push({id:c[e].type_id,value:c[e].description,extra:c[e].type_id});this.setAutocompleteValues(N,m)}})}}getPrioritiesFromMaarch(N){if(this.isValidForm(this.outputsTypesForm[this.selectedOutputType].auth)&&this.connection){const U=this.getMaarchConnectionInfo();this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/maarch/getPriorities",{args:U},{headers:this.authService.headers}).toPromise().then(C=>{if(C&&C.priorities){const c=C.priorities,m=[];for(const e in c)m.push({id:c[e].id,value:c[e].label,extra:c[e].id});this.setAutocompleteValues(N,m)}})}}getStatusesFromMaarch(N){if(this.isValidForm(this.outputsTypesForm[this.selectedOutputType].auth)&&this.connection){const U=this.getMaarchConnectionInfo();this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/maarch/getStatuses",{args:U},{headers:this.authService.headers}).toPromise().then(C=>{if(C&&C.statuses){const c=C.statuses,m=[];for(const e in c)m.push({id:c[e].id,value:c[e].label_status,extra:c[e].id});this.setAutocompleteValues(N,m)}})}}getIndexingModelsFromMaarch(N){if(this.isValidForm(this.outputsTypesForm[this.selectedOutputType].auth)&&this.connection){const U=this.getMaarchConnectionInfo();this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/maarch/getIndexingModels",{args:U},{headers:this.authService.headers}).toPromise().then(C=>{if(C&&C.indexingModels){const c=C.indexingModels,m=[];for(const e in c)m.push({id:c[e].id,value:c[e].label,extra:c[e].category});this.setAutocompleteValues(N,m)}})}}updateOutput(){const N={output_type_id:"",output_label:"",data:{options:{auth:[],parameters:[]}}};for(const U in this.outputsTypesForm[this.selectedOutputType])for(const C in this.outputsTypesForm[this.selectedOutputType][U]){const c=this.outputsTypesForm[this.selectedOutputType][U][C];if(c.isJson)try{JSON.parse(c.control.value)}catch(m){return c.control.setErrors({json_error:!0}),void this.notify.error(this.translate.instant("OUTPUT.json_input_erorr",{field:c.label}))}N.data.options[U].push({id:c.id,type:c.type,webservice:c.webservice,value:void 0===c.value?c.control.value:c.value})}this.outputForm.forEach(U=>{N[U.id]=U.control.value}),this.http.put(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/outputs/update/"+this.outputId,{args:N},{headers:this.authService.headers}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.b)(()=>{this.notify.success(this.translate.instant("OUTPUT.output_updated"))}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.K)(U=>(console.debug(U),this.notify.handleErrors(U),this.router.navigate(["/settings/splitter/outputs"]).then(),(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(!1)))).subscribe()}setAutocompleteValues(N,U){this.outputsTypesForm[this.selectedOutputType].parameters[N].values=this.sortArrayAlphab(U);const C=this.outputsTypesForm[this.selectedOutputType].parameters[N];C.filteredOptions=C.control.valueChanges.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.O)(""),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.U)(c=>c?this._filter(c,C.values):C.values))}sortArrayAlphab(N){return N.sort((U,C)=>{const c=U.value.toUpperCase(),m=C.value.toUpperCase();return c===m?0:c>m?1:-1})}testConnection(){if(this.isValidForm(this.outputsTypesForm[this.selectedOutputType].auth)){const functionName=this.testConnectionMapping[this.selectedOutputType];eval("this."+functionName)}}}return SplitterUpdateOutputComponent.\u0275fac=function N(U){return new(U||SplitterUpdateOutputComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_angular_router__WEBPACK_IMPORTED_MODULE_16__.F0),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_angular_common_http__WEBPACK_IMPORTED_MODULE_17__.eN),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_angular_router__WEBPACK_IMPORTED_MODULE_16__.gz),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_angular_forms__WEBPACK_IMPORTED_MODULE_8__.qu),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_services_auth_service__WEBPACK_IMPORTED_MODULE_1__.e),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_services_user_service__WEBPACK_IMPORTED_MODULE_2__.K),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_ngx_translate_core__WEBPACK_IMPORTED_MODULE_18__.sK),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_services_notifications_notifications_service__WEBPACK_IMPORTED_MODULE_3__.g),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_services_settings_service__WEBPACK_IMPORTED_MODULE_4__.g),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_services_privileges_service__WEBPACK_IMPORTED_MODULE_5__.y))},SplitterUpdateOutputComponent.\u0275cmp=_angular_core__WEBPACK_IMPORTED_MODULE_7__.Xpm({type:SplitterUpdateOutputComponent,selectors:[["app-splitter-update-output"]],decls:41,vars:27,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],["mat-icon-button","",1,"absolute","right-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-xl","text-gray-900"],[1,"overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 64px)"],["class","flex justify-center items-center",4,"ngIf"],[1,"w-1/2","m-auto","border-green-400"],[1,"text-center","mt-10","mb-5"],[1,"flex","justify-center","items-center","mb-2"],["mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300"],[1,"block",3,"click"],[1,"flex","justify-center","items-center","ml-10","mr-5"],["class","w-full text-center",4,"ngIf"],["mode","side","opened","","position","end",1,"available-fields","w-1/4","flex","flex-col","h-full","border-r","border-green-400"],["sidenav2",""],["class","flex text-gray-400 object-contain","style","height: calc(100% - 8rem)",4,"ngIf"],["class","overflow-x-hidden overflow-y-auto","style","height: calc(100% - 64px)",4,"ngIf"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],[1,"flex","justify-center","items-center"],[1,"grid","grid-cols-2","gap-12","w-full","m-10","text-center"],[4,"ngFor","ngForOf"],["matInput","",3,"value","formControl","type","placeholder","required"],[3,"name","id","ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[3,"name","id","ngModel","ngModelChange"],[1,"w-full","text-center"],[1,"output-tab"],[3,"label"],["class","relative top-10 text-xl",4,"ngIf"],[1,"grid","grid-cols-4","gap-x-4","gap-y-10","m-5"],["mat-button","","class","border-solid border-green-400 border hover:bg-green-400 hover:text-white transition duration-300",4,"ngIf"],[1,"relative","top-10","text-xl"],[3,"click"],["class","col-span-4",4,"ngIf"],[3,"focusin",4,"ngIf"],[1,"col-span-4"],["matInput","","rows","16","spellcheck","false",3,"value","formControl","type","placeholder","required"],[3,"focusin"],["matInput","",3,"formControl","type","readonly","placeholder","required","matAutocomplete"],[3,"displayWith"],["autocomplete","matAutocomplete"],[3,"innerHTML"],[1,"text-green-400","ml-3",2,"font-size","12px"],[1,"flex","text-gray-400","object-contain",2,"height","calc(100% - 8rem)"],[1,"m-auto","text-center"],[1,"fa-solid","fa-code","fa-4x","fa-beat-fade","w-full","mb-2",2,"--fa-animation-duration","1.5s"],[1,"w-full"],["class","my-8 ml-2 text-base",4,"ngFor","ngForOf"],[1,"my-8","ml-2","text-base"],["class","border-green-400 mt-4",4,"ngIf"],[1,"border-green-400","mt-4"]],template:function N(U,C){if(1&U){const c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(5,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(6,"mat-divider",4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(7,"mat-nav-list",5),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(8,SplitterUpdateOutputComponent_mat_expansion_panel_8_Template,7,5,"mat-expansion-panel",6),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(9,"mat-sidenav-content",7),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(10,SplitterUpdateOutputComponent_div_10_Template,2,0,"div",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(11,"div",9)(12,"button",10),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(c);const e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.MAs(2);return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(e.toggle())}),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(13,"i",11),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(14,"div",12)(15,"h3"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(16),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(17,"hr",4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(18,"button",13),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(c);const e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.MAs(34);return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(e.toggle())}),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(19,"i",14),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(20,"div",15),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(21,SplitterUpdateOutputComponent_div_21_Template,3,1,"div",16),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(22,"mat-divider",17),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(23,"h4",18),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(24),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(25,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(26,"div",19)(27,"button",20)(28,"span",21),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("click",function(){return C.updateOutput()}),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(29),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(30,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(31,"div",22),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(32,SplitterUpdateOutputComponent_form_32_Template,13,11,"form",23),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(33,"mat-sidenav",24,25)(35,"h3",3),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(36),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(37,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(38,"mat-divider",4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(39,SplitterUpdateOutputComponent_div_39_Template,6,3,"div",26),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(40,SplitterUpdateOutputComponent_div_40_Template,2,1,"div",27),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()}if(2&U){const c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.MAs(2),m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.MAs(34);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(5,19,"SETTINGS.administration")),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",C.serviceSettings.getSettingsParent()),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.loading),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("transform",!c.opened)("rotate-180",!c.opened),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(C.serviceSettings.getTitle()),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("transform",m.opened)("rotate-180",m.opened),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",!C.loading),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(25,21,"OUTPUT.output_settings_list")),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(5),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(30,23,"OUTPUT.update")),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.selectedOutputType&&C.outputsTypesForm[C.selectedOutputType]),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(37,25,"FORMS.available_fields")," "),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.loadingCustomFields),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",!C.loadingCustomFields)}},dependencies:[_angular_common__WEBPACK_IMPORTED_MODULE_19__.sg,_angular_common__WEBPACK_IMPORTED_MODULE_19__.O5,_angular_router__WEBPACK_IMPORTED_MODULE_16__.rH,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_20__.TO,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_20__.KE,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_20__.bx,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_20__.hX,_angular_material_select__WEBPACK_IMPORTED_MODULE_21__.gD,_angular_material_core__WEBPACK_IMPORTED_MODULE_22__.ey,_angular_material_input__WEBPACK_IMPORTED_MODULE_23__.Nt,_angular_material_tabs__WEBPACK_IMPORTED_MODULE_24__.SP,_angular_material_tabs__WEBPACK_IMPORTED_MODULE_24__.uX,_angular_material_sidenav__WEBPACK_IMPORTED_MODULE_25__.JX,_angular_material_sidenav__WEBPACK_IMPORTED_MODULE_25__.TM,_angular_material_sidenav__WEBPACK_IMPORTED_MODULE_25__.Rh,_angular_material_button__WEBPACK_IMPORTED_MODULE_26__.lW,_angular_material_expansion__WEBPACK_IMPORTED_MODULE_27__.ib,_angular_material_expansion__WEBPACK_IMPORTED_MODULE_27__.yz,_angular_material_expansion__WEBPACK_IMPORTED_MODULE_27__.yK,_angular_material_autocomplete__WEBPACK_IMPORTED_MODULE_28__.XC,_angular_material_autocomplete__WEBPACK_IMPORTED_MODULE_28__.ZL,_angular_material_list__WEBPACK_IMPORTED_MODULE_29__.Hk,_angular_material_divider__WEBPACK_IMPORTED_MODULE_30__.d,_angular_forms__WEBPACK_IMPORTED_MODULE_8__._Y,_angular_forms__WEBPACK_IMPORTED_MODULE_8__.Fj,_angular_forms__WEBPACK_IMPORTED_MODULE_8__.JJ,_angular_forms__WEBPACK_IMPORTED_MODULE_8__.JL,_angular_forms__WEBPACK_IMPORTED_MODULE_8__.Q7,_angular_forms__WEBPACK_IMPORTED_MODULE_8__.oH,_angular_forms__WEBPACK_IMPORTED_MODULE_8__.On,_angular_forms__WEBPACK_IMPORTED_MODULE_8__.F,_loader_component__WEBPACK_IMPORTED_MODULE_31__.R,_angular_common__WEBPACK_IMPORTED_MODULE_19__.Ov,_ngx_translate_core__WEBPACK_IMPORTED_MODULE_18__.X$,_verifier_outputs_update_update_output_component__WEBPACK_IMPORTED_MODULE_6__.S]}),SplitterUpdateOutputComponent})()},6155:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{S:()=>HighlightPipe,v:()=>UpdateOutputComponent});var _angular_forms__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(3075),_env__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(9958),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(8505),rxjs_operators__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(8746),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(262),rxjs_operators__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(8675),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(4004),rxjs__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(9646),_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(7520),_angular_core__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(5e3),_angular_router__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(6696),_angular_common_http__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(520),_services_user_service__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(230),_services_auth_service__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(2560),_ngx_translate_core__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(4894),_services_notifications_notifications_service__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(7862),_services_history_service__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(69),_services_settings_service__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(3208),_services_privileges_service__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(897),_angular_common__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(9808),_angular_material_form_field__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(3489),_angular_material_select__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(4107),_angular_material_core__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(508),_angular_material_slide_toggle__WEBPACK_IMPORTED_MODULE_23__=__webpack_require__(2368),_angular_cdk_text_field__WEBPACK_IMPORTED_MODULE_24__=__webpack_require__(4533),_angular_material_input__WEBPACK_IMPORTED_MODULE_25__=__webpack_require__(8833),_angular_material_tabs__WEBPACK_IMPORTED_MODULE_26__=__webpack_require__(3251),_angular_material_sidenav__WEBPACK_IMPORTED_MODULE_27__=__webpack_require__(2638),_angular_material_button__WEBPACK_IMPORTED_MODULE_28__=__webpack_require__(7423),_angular_material_expansion__WEBPACK_IMPORTED_MODULE_29__=__webpack_require__(1125),_angular_material_autocomplete__WEBPACK_IMPORTED_MODULE_30__=__webpack_require__(1079),_angular_material_list__WEBPACK_IMPORTED_MODULE_31__=__webpack_require__(4623),_angular_material_divider__WEBPACK_IMPORTED_MODULE_32__=__webpack_require__(4834),_loader_component__WEBPACK_IMPORTED_MODULE_33__=__webpack_require__(1872),_services_hint_hint_service__WEBPACK_IMPORTED_MODULE_34__=__webpack_require__(7009);function UpdateOutputComponent_mat_expansion_panel_8_div_6_div_1_mat_expansion_panel_1_div_8_div_1_Template(N,U){if(1&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"div",42)(1,"button",43),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C);const m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(4).$implicit,e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,b=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(b.serviceSettings.changeSetting(m.id,e.id))}),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(2,"i"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(3,"p",44),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(5,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()()}if(2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(5);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("text-green-400",c.router.url.includes(C.route))("disable_link",C.showOnlyIfActive),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("routerLink",C.route),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",C.icon,""),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(5,9,C.label)," ")}}function UpdateOutputComponent_mat_expansion_panel_8_div_6_div_1_mat_expansion_panel_1_div_8_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"div"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(1,UpdateOutputComponent_mat_expansion_panel_8_div_6_div_1_mat_expansion_panel_1_div_8_div_1_Template,6,11,"div",41),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=U.$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(3).$implicit,m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("border-gray-600",!C.showOnlyIfActive)("border-t",!C.showOnlyIfActive)("w-full",!C.showOnlyIfActive),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",(m.privilegesService.hasPrivilege(C.privilege)||"*"===c.privilege)&&(!C.showOnlyIfActive||C.showOnlyIfActive&&m.router.url.includes(C.route)))}}function UpdateOutputComponent_mat_expansion_panel_8_div_6_div_1_mat_expansion_panel_1_Template(N,U){if(1&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-expansion-panel",35)(1,"mat-expansion-panel-header",36)(2,"mat-panel-title",37),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(3,"i"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(4,"button",38),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C);const m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,b=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(b.serviceSettings.changeSetting(m.id,e.id))}),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(5,"p",39),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(6),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(7,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()()(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(8,UpdateOutputComponent_mat_expansion_panel_8_div_6_div_1_mat_expansion_panel_1_div_8_Template,2,7,"div",40),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()}if(2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("expanded",m.router.url.includes(C.route)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",C.icon,""),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("text-green-400",m.router.url===C.route),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("text-green-400",m.router.url===C.route),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("routerLink",C.route),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("font-medium",m.router.url===C.route),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(7,13,C.label)," "),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",m.serviceSettings.getSettingsAction(c.id,C.id))}}function UpdateOutputComponent_mat_expansion_panel_8_div_6_div_1_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"div"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(1,UpdateOutputComponent_mat_expansion_panel_8_div_6_div_1_mat_expansion_panel_1_Template,9,15,"mat-expansion-panel",34),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",c.privilegesService.hasPrivilege(C.privilege)||"*"===C.privilege)}}function UpdateOutputComponent_mat_expansion_panel_8_div_6_ng_template_2_button_0_Template(N,U){if(1&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"button",38),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C);const m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,b=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(b.serviceSettings.changeSetting(m.id,e.id))}),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(1,"i"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(2,"p",39),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(4,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()}if(2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("text-green-400",c.router.url===C.route),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("routerLink",C.route),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",C.icon,""),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("font-medium",c.router.url===C.route),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(4,9,C.label)," ")}}function UpdateOutputComponent_mat_expansion_panel_8_div_6_ng_template_2_Template(N,U){if(1&N&&_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(0,UpdateOutputComponent_mat_expansion_panel_8_div_6_ng_template_2_button_0_Template,5,11,"button",45),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",c.privilegesService.hasPrivilege(C.privilege)||"*"===C.privilege)}}function UpdateOutputComponent_mat_expansion_panel_8_div_6_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"div"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(1,UpdateOutputComponent_mat_expansion_panel_8_div_6_div_1_Template,2,1,"div",32),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(2,UpdateOutputComponent_mat_expansion_panel_8_div_6_ng_template_2_Template,1,1,"ng-template",null,33,_angular_core__WEBPACK_IMPORTED_MODULE_7__.W1O),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=U.$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.MAs(3),m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("border-b",e.privilegesService.hasPrivilege(C.privilege)||"*"===C.privilege)("border-gray-400",e.privilegesService.hasPrivilege(C.privilege)||"*"===C.privilege),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",e.serviceSettings.getSettingsAction(m.id,C.id))("ngIfElse",c)}}function UpdateOutputComponent_mat_expansion_panel_8_Template(N,U){if(1&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-expansion-panel",28),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("opened",function(){const e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C).$implicit,b=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(b.serviceSettings.closeOtherParent(b.router.url,e.id))}),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(1,"mat-expansion-panel-header",29)(2,"mat-panel-title"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(4,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(5,"div",30),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(6,UpdateOutputComponent_mat_expansion_panel_8_div_6_Template,4,6,"div",31),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()}if(2&N){const C=U.$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("expanded",C.opened),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(4,3,C.label)," "),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",c.serviceSettings.getSettings()[C.id])}}function UpdateOutputComponent_div_10_Template(N,U){1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"div"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(1,"app-loader"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA())}function UpdateOutputComponent_div_21_ng_container_2_mat_form_field_1_mat_error_6_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-error"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(c.getErrorMessage(C.id,c.outputForm))}}function UpdateOutputComponent_div_21_ng_container_2_mat_form_field_1_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-form-field")(1,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(4,"input",49),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(5,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(6,UpdateOutputComponent_div_21_ng_container_2_mat_form_field_1_mat_error_6_Template,2,1,"mat-error",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,7,C.label)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.s9C("placeholder",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(5,9,C.label)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("value",C.control.value)("formControl",C.control)("type",C.type)("required",C.required),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.control.invalid)}}function UpdateOutputComponent_div_21_ng_container_2_mat_form_field_2_mat_option_5_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-option",52),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=U.$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("value",C.output_type_id),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",C.output_type_label," ")}}function UpdateOutputComponent_div_21_ng_container_2_mat_form_field_2_mat_error_6_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-error"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(c.getErrorMessage(C.id,c.outputForm))}}function UpdateOutputComponent_div_21_ng_container_2_mat_form_field_2_Template(N,U){if(1&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-form-field")(1,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(4,"mat-select",50),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("ngModelChange",function(m){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C);const e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit;return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(e.control.value=m)})("selectionChange",function(m){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C);const e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(3);return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(e.changeOutputType(m))}),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(5,UpdateOutputComponent_div_21_ng_container_2_mat_form_field_2_mat_option_5_Template,2,2,"mat-option",51),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(6,UpdateOutputComponent_div_21_ng_container_2_mat_form_field_2_mat_error_6_Template,2,1,"mat-error",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()}if(2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,6,C.label)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("name",C.id)("id",C.id)("ngModel",C.control.value),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",c.outputsTypes),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.control.invalid)}}function UpdateOutputComponent_div_21_ng_container_2_mat_form_field_3_mat_option_5_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-option",52),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(2,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=U.$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("value",C.id),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(2,2,C.label)," ")}}function UpdateOutputComponent_div_21_ng_container_2_mat_form_field_3_mat_error_6_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-error"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(c.getErrorMessage(C.id,c.outputForm))}}function UpdateOutputComponent_div_21_ng_container_2_mat_form_field_3_Template(N,U){if(1&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-form-field")(1,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(4,"mat-select",53),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("ngModelChange",function(m){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C);const e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit;return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(e.control.value=m)}),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(5,UpdateOutputComponent_div_21_ng_container_2_mat_form_field_3_mat_option_5_Template,3,4,"mat-option",51),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(6,UpdateOutputComponent_div_21_ng_container_2_mat_form_field_3_mat_error_6_Template,2,1,"mat-error",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()}if(2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,6,C.label)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("name",C.id)("id",C.id)("ngModel",C.control.value),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",C.values),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.control.invalid)}}function UpdateOutputComponent_div_21_ng_container_2_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.ynx(0),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(1,UpdateOutputComponent_div_21_ng_container_2_mat_form_field_1_Template,7,11,"mat-form-field",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(2,UpdateOutputComponent_div_21_ng_container_2_mat_form_field_2_Template,7,8,"mat-form-field",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(3,UpdateOutputComponent_div_21_ng_container_2_mat_form_field_3_Template,7,8,"mat-form-field",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.BQk()),2&N){const C=U.$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf","text"===C.type),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf","select"===C.type&&"output_type_id"===C.id),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf","select"===C.type&&("compress_type"===C.id||"ocrise"===C.id)&&"export_pdf"===c.selectedOutputType)}}function UpdateOutputComponent_div_21_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"div",46)(1,"form",47),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(2,UpdateOutputComponent_div_21_ng_container_2_Template,4,3,"ng-container",48),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",C.outputForm)}}function UpdateOutputComponent_form_32_span_4_Template(N,U){1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"span",61),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(2,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(2,1,"OUTPUT.no_auth_necessary")," "))}function UpdateOutputComponent_form_32_ng_container_6_mat_form_field_1_mat_error_5_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-error"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(c.getErrorMessage(C.id,c.outputsTypesForm[c.selectedOutputType].auth))}}function UpdateOutputComponent_form_32_ng_container_6_mat_form_field_1_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-form-field")(1,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(4,"input",49),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(5,UpdateOutputComponent_form_32_ng_container_6_mat_form_field_1_mat_error_5_Template,2,1,"mat-error",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,7,C.label)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("value",C.control.value)("formControl",C.control)("type",C.type)("placeholder",C.placeholder)("required",C.required),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.control.invalid)}}function UpdateOutputComponent_form_32_ng_container_6_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.ynx(0),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(1,UpdateOutputComponent_form_32_ng_container_6_mat_form_field_1_Template,6,9,"mat-form-field",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.BQk()),2&N){const C=U.$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf","text"===C.type||"number"===C.type||"password"===C.type)}}function UpdateOutputComponent_form_32_button_7_Template(N,U){if(1&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"button",20)(1,"span",62),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C);const m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(m.testConnection())}),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()}2&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,1,"OUTPUT.test_connection")))}function UpdateOutputComponent_form_32_span_10_Template(N,U){1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"span",61),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(2,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(2,1,"OUTPUT.no_parameters_necessary")," "))}function UpdateOutputComponent_form_32_ng_container_12_mat_form_field_1_mat_error_5_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-error"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",c.getErrorMessage(C.id,c.outputsTypesForm[c.selectedOutputType].parameters)," ")}}function UpdateOutputComponent_form_32_ng_container_12_mat_form_field_1_mat_hint_6_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-hint"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(C.hint)}}function UpdateOutputComponent_form_32_ng_container_12_mat_form_field_1_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-form-field")(1,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(4,"input",49),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(5,UpdateOutputComponent_form_32_ng_container_12_mat_form_field_1_mat_error_5_Template,2,1,"mat-error",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(6,UpdateOutputComponent_form_32_ng_container_12_mat_form_field_1_mat_hint_6_Template,2,1,"mat-hint",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,8,C.label)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("value",C.control.value)("formControl",C.control)("type",C.type)("placeholder",C.placeholder)("required",C.required),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.control.invalid),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.hint)}}function UpdateOutputComponent_form_32_ng_container_12_mat_form_field_2_mat_error_5_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-error"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(c.getErrorMessage(C.id,c.outputsTypesForm[c.selectedOutputType].parameters))}}function UpdateOutputComponent_form_32_ng_container_12_mat_form_field_2_mat_hint_6_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-hint"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(C.hint)}}function UpdateOutputComponent_form_32_ng_container_12_mat_form_field_2_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-form-field")(1,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(4,"textarea",64),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(5,UpdateOutputComponent_form_32_ng_container_12_mat_form_field_2_mat_error_5_Template,2,1,"mat-error",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(6,UpdateOutputComponent_form_32_ng_container_12_mat_form_field_2_mat_hint_6_Template,2,1,"mat-hint",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,8,C.label)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("value",C.control.value)("formControl",C.control)("type",C.type)("placeholder",C.placeholder)("required",C.required),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.control.invalid),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.hint)}}function UpdateOutputComponent_form_32_ng_container_12_mat_form_field_3_mat_error_5_Template(N,U){1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-error"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(2,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(2,1,"OUTPUT.check_connection_before")," "))}function UpdateOutputComponent_form_32_ng_container_12_mat_form_field_3_mat_hint_6_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-hint"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(C.hint)}}function UpdateOutputComponent_form_32_ng_container_12_mat_form_field_3_mat_option_9_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-option",52),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(1,"span",69),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(2,"highlight"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(3,"span",70),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()),2&N){const C=U.$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(4);_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("value",C),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("innerHTML",_angular_core__WEBPACK_IMPORTED_MODULE_7__.xi3(2,3,C.value,c.toHighlight),_angular_core__WEBPACK_IMPORTED_MODULE_7__.oJD),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(C.extra)}}function UpdateOutputComponent_form_32_ng_container_12_mat_form_field_3_Template(N,U){if(1&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-form-field",65),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("focusin",function(){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C);const m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(e.retrieveDataFromWS(m.id))}),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(1,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(4,"input",66),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(5,UpdateOutputComponent_form_32_ng_container_12_mat_form_field_3_mat_error_5_Template,3,3,"mat-error",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(6,UpdateOutputComponent_form_32_ng_container_12_mat_form_field_3_mat_hint_6_Template,2,1,"mat-hint",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(7,"mat-autocomplete",67,68),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(9,UpdateOutputComponent_form_32_ng_container_12_mat_form_field_3_mat_option_9_Template,5,6,"mat-option",51),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(10,"async"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()}if(2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.MAs(8),c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,11,c.label)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("formControl",c.control)("type",c.type)("readonly",c.webservice&&!m.connection)("placeholder",c.placeholder)("required",c.required)("matAutocomplete",C),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",c.webservice&&!m.connection),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",c.hint),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("displayWith",m.displayFn),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(10,13,c.filteredOptions))}}function UpdateOutputComponent_form_32_ng_container_12_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.ynx(0),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(1,UpdateOutputComponent_form_32_ng_container_12_mat_form_field_1_Template,7,10,"mat-form-field",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(2,UpdateOutputComponent_form_32_ng_container_12_mat_form_field_2_Template,7,10,"mat-form-field",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(3,UpdateOutputComponent_form_32_ng_container_12_mat_form_field_3_Template,11,15,"mat-form-field",63),_angular_core__WEBPACK_IMPORTED_MODULE_7__.BQk()),2&N){const C=U.$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",("text"===C.type||"number"===C.type)&&!C.webservice),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf","textarea"===C.type&&!C.webservice),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",("text"===C.type||"number"===C.type)&&C.webservice)}}function UpdateOutputComponent_form_32_mat_tab_13_ng_container_5_mat_slide_toggle_1_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-slide-toggle",74),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(2,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("formControl",C.control),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(2,2,C.label)," ")}}function UpdateOutputComponent_form_32_mat_tab_13_ng_container_5_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.ynx(0),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(1,UpdateOutputComponent_form_32_mat_tab_13_ng_container_5_mat_slide_toggle_1_Template,3,4,"mat-slide-toggle",73),_angular_core__WEBPACK_IMPORTED_MODULE_7__.BQk()),2&N){const C=U.$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf","boolean"===C.type)}}function UpdateOutputComponent_form_32_mat_tab_13_ng_container_7_mat_form_field_1_mat_error_5_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-error"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(3);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",c.getErrorMessage(C.id,c.outputsTypesForm[c.selectedOutputType].links)," ")}}function UpdateOutputComponent_form_32_mat_tab_13_ng_container_7_mat_form_field_1_mat_hint_6_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-hint"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(C.hint)}}function UpdateOutputComponent_form_32_mat_tab_13_ng_container_7_mat_form_field_1_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-form-field")(1,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(4,"input",49),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(5,UpdateOutputComponent_form_32_mat_tab_13_ng_container_7_mat_form_field_1_mat_error_5_Template,2,1,"mat-error",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(6,UpdateOutputComponent_form_32_mat_tab_13_ng_container_7_mat_form_field_1_mat_hint_6_Template,2,1,"mat-hint",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,8,C.label)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("value",C.control.value)("formControl",C.control)("type",C.type)("placeholder",C.placeholder)("required",C.required),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.control.invalid),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.hint)}}function UpdateOutputComponent_form_32_mat_tab_13_ng_container_7_mat_form_field_2_mat_error_5_Template(N,U){1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-error"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(2,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(2,1,"OUTPUT.check_connection_before")))}function UpdateOutputComponent_form_32_mat_tab_13_ng_container_7_mat_form_field_2_mat_hint_6_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-hint"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(C.hint)}}function UpdateOutputComponent_form_32_mat_tab_13_ng_container_7_mat_form_field_2_mat_option_9_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-option",52),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(1,"span",69),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(2,"highlight"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(3,"span",70),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()),2&N){const C=U.$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(5);_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("value",C),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("innerHTML",_angular_core__WEBPACK_IMPORTED_MODULE_7__.xi3(2,3,C.value,c.toHighlight),_angular_core__WEBPACK_IMPORTED_MODULE_7__.oJD),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(C.extra)}}function UpdateOutputComponent_form_32_mat_tab_13_ng_container_7_mat_form_field_2_Template(N,U){if(1&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-form-field",65),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("focusin",function(){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C);const m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(3);return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(e.retrieveDataFromWS(m.id,"links"))}),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(1,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(4,"input",66),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(5,UpdateOutputComponent_form_32_mat_tab_13_ng_container_7_mat_form_field_2_mat_error_5_Template,3,3,"mat-error",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(6,UpdateOutputComponent_form_32_mat_tab_13_ng_container_7_mat_form_field_2_mat_hint_6_Template,2,1,"mat-hint",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(7,"mat-autocomplete",67,68),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(9,UpdateOutputComponent_form_32_mat_tab_13_ng_container_7_mat_form_field_2_mat_option_9_Template,5,6,"mat-option",51),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(10,"async"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()}if(2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.MAs(8),c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(3);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,11,c.label)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("formControl",c.control)("type",c.type)("readonly",c.webservice&&!m.connection)("placeholder",c.placeholder)("required",c.required)("matAutocomplete",C),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",c.webservice&&!m.connection),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",c.hint),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("displayWith",m.displayFn),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(10,13,c.filteredOptions))}}function UpdateOutputComponent_form_32_mat_tab_13_ng_container_7_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.ynx(0),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(1,UpdateOutputComponent_form_32_mat_tab_13_ng_container_7_mat_form_field_1_Template,7,10,"mat-form-field",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(2,UpdateOutputComponent_form_32_mat_tab_13_ng_container_7_mat_form_field_2_Template,11,15,"mat-form-field",63),_angular_core__WEBPACK_IMPORTED_MODULE_7__.BQk()),2&N){const C=U.$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",("text"===C.type||"number"===C.type)&&!C.webservice),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",("text"===C.type||"number"===C.type)&&C.webservice)}}function UpdateOutputComponent_form_32_mat_tab_13_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-tab",56),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(1,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(2,"app-hint",71),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(4,"div",72),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(5,UpdateOutputComponent_form_32_mat_tab_13_ng_container_5_Template,2,1,"ng-container",48),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(6,"div",58),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(7,UpdateOutputComponent_form_32_mat_tab_13_ng_container_7_Template,3,2,"ng-container",48),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("label",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(1,4,"OUTPUT.links")),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("message",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,6,"OUTPUT.links_hint")),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",C.outputsTypesForm[C.selectedOutputType].links),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",C.outputsTypesForm[C.selectedOutputType].links)}}function UpdateOutputComponent_form_32_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"form",54)(1,"mat-tab-group",55)(2,"mat-tab",56),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(4,UpdateOutputComponent_form_32_span_4_Template,3,3,"span",57),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(5,"div",58),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(6,UpdateOutputComponent_form_32_ng_container_6_Template,2,1,"ng-container",48),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(7,UpdateOutputComponent_form_32_button_7_Template,4,3,"button",59),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(8,"mat-tab",56),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(9,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(10,UpdateOutputComponent_form_32_span_10_Template,3,3,"span",57),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(11,"div",58),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(12,UpdateOutputComponent_form_32_ng_container_12_Template,4,3,"ng-container",48),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(13,UpdateOutputComponent_form_32_mat_tab_13_Template,8,8,"mat-tab",60),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("label",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,8,"OUTPUT.auth")),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",0===C.outputsTypesForm[C.selectedOutputType].auth.length),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",C.outputsTypesForm[C.selectedOutputType].auth),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",0!==C.outputsTypesForm[C.selectedOutputType].auth.length),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("label",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(9,10,"OUTPUT.parameters")),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",0===C.outputsTypesForm[C.selectedOutputType].parameters.length),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",C.outputsTypesForm[C.selectedOutputType].parameters),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.outputsTypesForm[C.selectedOutputType].links)}}function UpdateOutputComponent_div_39_Template(N,U){1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"div",75)(1,"div",76),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(2,"i",77),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(3,"span",78),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(5,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()()),2&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(5,1,"OUTPUT.loading_custom_fields")," "))}function UpdateOutputComponent_div_40_div_1_mat_divider_7_Template(N,U){1&N&&_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(0,"mat-divider",82)}function UpdateOutputComponent_div_40_div_1_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"div",80)(1,"span"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(4,"span",70),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(5),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(6,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(7,UpdateOutputComponent_div_40_div_1_mat_divider_7_Template,1,0,"mat-divider",81),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()),2&N){const C=U.$implicit,c=U.index;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,3,C.label)," "),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(6,5,C.id)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",0===c)}}function UpdateOutputComponent_div_40_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"div",15),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(1,UpdateOutputComponent_div_40_div_1_Template,8,7,"div",79),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",C.availableFields)}}let HighlightPipe=(()=>{class N{transform(C,c){const m=c.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&").split(" ").filter(b=>b.length>0).join("|"),e=new RegExp(m,"gi");return c?C.replace(e,b=>`${b}`):C}}return N.\u0275fac=function(C){return new(C||N)},N.\u0275pipe=_angular_core__WEBPACK_IMPORTED_MODULE_7__.Yjl({name:"highlight",type:N,pure:!0}),N})(),UpdateOutputComponent=(()=>{class UpdateOutputComponent{constructor(N,U,C,c,m,e,b,M,k,F,G){this.router=N,this.http=U,this.route=C,this.userService=c,this.formBuilder=m,this.authService=e,this.translate=b,this.notify=M,this.historyService=k,this.serviceSettings=F,this.privilegesService=G,this.headers=this.authService.headers,this.loading=!0,this.loadingCustomFields=!0,this.connection=!1,this.outputsTypes=[],this.outputsTypesForm=[],this.toHighlight="",this.outputForm=[{id:"output_type_id",label:this.translate.instant("HEADER.output_type"),type:"select",control:new _angular_forms__WEBPACK_IMPORTED_MODULE_8__.NI,required:!0,values:this.outputsTypes},{id:"output_label",label:this.translate.instant("HEADER.label"),type:"text",control:new _angular_forms__WEBPACK_IMPORTED_MODULE_8__.NI,required:!0},{id:"compress_type",label:this.translate.instant("OUTPUT.compress_type"),type:"select",control:new _angular_forms__WEBPACK_IMPORTED_MODULE_8__.NI,values:[{id:"",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.no_compress")},{id:"screen",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.compress_screen")},{id:"ebook",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.compress_ebook")},{id:"prepress",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.compress_prepress")},{id:"printer",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.compress_printer")},{id:"default",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.compress_default")}],required:!1},{id:"ocrise",label:this.translate.instant("OUTPUT.enable_ocr"),type:"select",control:new _angular_forms__WEBPACK_IMPORTED_MODULE_8__.NI,values:[{id:!0,label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.ocr_enabled")},{id:!1,label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.ocr_disabled")}],required:!1}],this.availableFields=[{id:"HEADER.id",label:"HEADER.label"},{id:"name",label:"ACCOUNTS.supplier_name"},{id:"vat_number",label:"ACCOUNTS.vat_number"},{id:"siret",label:"ACCOUNTS.siret"},{id:"siren",label:"ACCOUNTS.siren"},{id:"invoice_number",label:"FACTURATION.invoice_number"},{id:"quotation_number",label:"FACTURATION.quotation_number"},{id:"document_date_year",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("FACTURATION.document_date_year")},{id:"total_ht",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("FACTURATION.total_ht")},{id:"total_ttc",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("FACTURATION.total_ttc")},{id:"total_vat",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("FACTURATION.total_vat")},{id:"document_date_month",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("FACTURATION.document_date_month")},{id:"document_date_day",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("FACTURATION.document_date_day")},{id:"register_date_year",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("FACTURATION.register_date_year")},{id:"register_date_month",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("FACTURATION.register_date_month")},{id:"register_date_day",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("FACTURATION.register_date_day")},{id:"delivery_number",label:"FACTURATION.delivery_number"}],this.testConnectionMapping={export_maarch:"testMaarchConnection()"}}ngOnInit(){this.serviceSettings.init(),this.outputId=this.route.snapshot.params.id,this.http.get(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/outputs/getById/"+this.outputId,{headers:this.authService.headers}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.b)(N=>{this.output=N;for(const U in N)N.hasOwnProperty(U)&&this.outputForm.forEach(C=>{C.id===U&&("output_type_id"===C.id&&(this.selectedOutputType=this.originalOutputType=N[U]),C.control.setValue(N[U]),"compress_type"===C.id&&null==N[U]&&C.control.setValue(""),"ocrise"===C.id&&null==N[U]&&C.control.setValue(""))});this.http.get(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/outputs/getOutputsTypes?module=verifier",{headers:this.authService.headers}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.b)(U=>{this.http.get(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/customFields/list?module=verifier",{headers:this.authService.headers}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.b)(C=>{C.customFields.forEach(c=>{this.availableFields.push({id:"custom_"+c.id,label:c.label})})}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.x)(()=>this.loadingCustomFields=!1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.K)(C=>(console.debug(C),this.notify.handleErrors(C),(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(!1)))).subscribe(),this.outputsTypes=U.outputs_types;for(const C of this.outputsTypes){this.outputsTypesForm[C.output_type_id]={auth:[],links:[],parameters:[]};for(const c in this.outputsTypesForm[C.output_type_id])if(C.data.options[c])for(const m of C.data.options[c])this.outputsTypesForm[C.output_type_id][c].push({id:m.id,label:m.label,type:m.type,placeholder:m.placeholder,control:new _angular_forms__WEBPACK_IMPORTED_MODULE_8__.NI,required:m.required,isJson:m.isJson,hint:m.hint,webservice:m.webservice});else"links"===c&&delete this.outputsTypesForm[C.output_type_id].links}for(const C in this.outputsTypesForm[this.originalOutputType])this.outputsTypesForm[this.originalOutputType][C].forEach(c=>{this.output.data.options[C]&&this.output.data.options[C].forEach(m=>{c.id===m.id&&m.value&&(m.webservice&&(c.values=[m.value]),c.control.setValue(m.value))})}),this.testConnection()}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.x)(()=>this.loading=!1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.K)(U=>(console.debug(U),this.notify.handleErrors(U),this.router.navigate(["/settings/verifier/outputs"]).then(),(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(!1)))).subscribe()}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.K)(N=>(console.debug(N),this.notify.handleErrors(N),this.router.navigate(["/settings/verifier/outputs"]).then(),(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(!1)))).subscribe()}displayFn(N){return N?N.value:void 0}getErrorMessage(N,U){let C;return U.forEach(c=>{c.id===N&&c.control.invalid&&(c.required&&(C=this.translate.instant("AUTH.field_required")),c.control.errors.json_error&&(C=this.translate.instant("ERROR.json_pattern")))}),C}changeOutputType(N){this.selectedOutputType=N.value}isValidForm(N){let U=!0;return N.forEach(C=>{("DISABLED"!==C.control.status&&"VALID"!==C.control.status||null==C.control.value)&&(U=!1)}),U}getValueFromForm(N,U){let C="";return N.forEach(c=>{U===c.id&&(C=c.control.value)}),C}retrieveDataFromWS(fieldId,category="parameters"){for(const cpt in this.outputsTypesForm[this.selectedOutputType][category]){const element=this.outputsTypesForm[this.selectedOutputType][category][cpt];element.id===fieldId&&(!element.values||1===element.values.length)&&eval("this."+element.webservice+"("+cpt+")")}}_filter(N,U){if("string"==typeof N){this.toHighlight=N;const C=N.toLowerCase();return U.filter(c=>-1!==c.value.toLowerCase().indexOf(C))}return U}testMaarchConnection(){const N=this.getMaarchConnectionInfo();this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/maarch/testConnection",{args:N},{headers:this.authService.headers}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.b)(U=>{const C=U.status[0];!0===C?(this.notify.success(this.translate.instant("OUTPUT.maarch_connection_ok")),this.connection=!0):(this.notify.error(this.translate.instant("OUTPUT.maarch_connection_ko")+" : "+C[1]),this.connection=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.K)(U=>(console.debug(U),this.notify.handleErrors(U),(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(!1)))).subscribe()}getMaarchConnectionInfo(){return{host:this.getValueFromForm(this.outputsTypesForm[this.selectedOutputType].auth,"host"),login:this.getValueFromForm(this.outputsTypesForm[this.selectedOutputType].auth,"login"),password:this.getValueFromForm(this.outputsTypesForm[this.selectedOutputType].auth,"password")}}getUsersFromMaarch(N){if(this.isValidForm(this.outputsTypesForm[this.selectedOutputType].auth)&&this.connection){const U=this.getMaarchConnectionInfo();this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/maarch/getUsers",{args:U},{headers:this.authService.headers}).toPromise().then(C=>{if(C&&C[0].users){const c=C[0].users,m=[];for(const e in c)m.push({id:c[e].id,value:c[e].firstname+" "+c[e].lastname,extra:c[e].user_id});this.setAutocompleteValues(N,m)}})}}getEntitiesFromMaarch(N){if(this.isValidForm(this.outputsTypesForm[this.selectedOutputType].auth)&&this.connection){const U=this.getMaarchConnectionInfo();this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/maarch/getEntities",{args:U},{headers:this.authService.headers}).toPromise().then(C=>{if(C&&C.entities){const c=C.entities,m=[];for(const e in c)m.push({id:c[e].serialId,value:c[e].entity_label,extra:c[e].entity_id});this.setAutocompleteValues(N,m)}})}}getCustomFieldsFromMaarch(N){if(this.isValidForm(this.outputsTypesForm[this.selectedOutputType].auth)&&this.connection){const U=this.getMaarchConnectionInfo();this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/maarch/getCustomFields",{args:U},{headers:this.authService.headers}).toPromise().then(C=>{if(C&&C.customFields){const c=C.customFields,m=[];for(const e in c)m.push({id:c[e].id,value:c[e].label,extra:c[e].id});this.setAutocompleteValues(N,m,"links")}})}}getContactsCustomFieldsFromMaarch(N){if(this.isValidForm(this.outputsTypesForm[this.selectedOutputType].auth)&&this.connection){const U=this.getMaarchConnectionInfo();this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/maarch/getContactsCustomFields",{args:U},{headers:this.authService.headers}).toPromise().then(C=>{if(C&&C.customFields){const c=C.customFields,m=[];for(const e in c)m.push({id:c[e].id,value:c[e].label,extra:c[e].id});this.setAutocompleteValues(N,m,"links")}})}}getDoctypesFromMaarch(N){if(this.isValidForm(this.outputsTypesForm[this.selectedOutputType].auth)&&this.connection){const U=this.getMaarchConnectionInfo();this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/maarch/getDoctypes",{args:U},{headers:this.authService.headers}).toPromise().then(C=>{if(C&&C.doctypes){const c=C.doctypes,m=[];for(const e in c)m.push({id:c[e].type_id,value:c[e].description,extra:c[e].type_id});this.setAutocompleteValues(N,m)}})}}getPrioritiesFromMaarch(N){if(this.isValidForm(this.outputsTypesForm[this.selectedOutputType].auth)&&this.connection){const U=this.getMaarchConnectionInfo();this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/maarch/getPriorities",{args:U},{headers:this.authService.headers}).toPromise().then(C=>{if(C&&C.priorities){const c=C.priorities,m=[];for(const e in c)m.push({id:c[e].id,value:c[e].label,extra:c[e].id});this.setAutocompleteValues(N,m)}})}}getStatusesFromMaarch(N){if(this.isValidForm(this.outputsTypesForm[this.selectedOutputType].auth)&&this.connection){const U=this.getMaarchConnectionInfo();this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/maarch/getStatuses",{args:U},{headers:this.authService.headers}).toPromise().then(C=>{if(C&&C.statuses){const c=C.statuses,m=[];for(const e in c)m.push({id:c[e].id,value:c[e].label_status,extra:c[e].id});this.setAutocompleteValues(N,m)}})}}getIndexingModelsFromMaarch(N){if(this.isValidForm(this.outputsTypesForm[this.selectedOutputType].auth)&&this.connection){const U=this.getMaarchConnectionInfo();this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/maarch/getIndexingModels",{args:U},{headers:this.authService.headers}).toPromise().then(C=>{if(C&&C.indexingModels){const c=C.indexingModels,m=[];for(const e in c)m.push({id:c[e].id,value:c[e].label,extra:c[e].category});this.setAutocompleteValues(N,m)}})}}updateOutput(){const N={output_type_id:"",output_label:"",data:{options:{auth:[],links:[],parameters:[]}}};for(const U in this.outputsTypesForm[this.selectedOutputType])if(this.outputsTypesForm[this.selectedOutputType][U])for(const C in this.outputsTypesForm[this.selectedOutputType][U]){const c=this.outputsTypesForm[this.selectedOutputType][U][C];if(c.isJson)try{JSON.parse(c.control.value)}catch(m){return c.control.setErrors({json_error:!0}),void this.notify.error(this.translate.instant("OUTPUT.json_input_erorr",{field:c.label}))}N.data.options[U].push({id:c.id,type:c.type,webservice:c.webservice,value:void 0===c.value?c.control.value:c.value})}0===N.data.options.links.length&&delete N.data.options.links,this.outputForm.forEach(U=>{N[U.id]=U.control.value}),this.http.put(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/outputs/update/"+this.outputId,{args:N},{headers:this.authService.headers}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.b)(()=>{this.notify.success(this.translate.instant("OUTPUT.output_updated")),this.historyService.addHistory("verifier","update_output",this.translate.instant("HISTORY-DESC.update-output",{output:N.output_label}))}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.K)(U=>(console.debug(U),this.notify.handleErrors(U),this.router.navigate(["/settings/verifier/outputs"]).then(),(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(!1)))).subscribe()}setAutocompleteValues(N,U,C="parameters"){this.outputsTypesForm[this.selectedOutputType][C][N].values=this.sortArrayAlphab(U);const c=this.outputsTypesForm[this.selectedOutputType][C][N];c.filteredOptions=c.control.valueChanges.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.O)(""),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.U)(m=>m?this._filter(m,c.values):c.values))}sortArrayAlphab(N){return N.sort((U,C)=>{const c=U.value.toUpperCase(),m=C.value.toUpperCase();return c===m?0:c>m?1:-1})}testConnection(){if(this.isValidForm(this.outputsTypesForm[this.selectedOutputType].auth)){const functionName=this.testConnectionMapping[this.selectedOutputType];eval("this."+functionName)}}}return UpdateOutputComponent.\u0275fac=function N(U){return new(U||UpdateOutputComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_angular_router__WEBPACK_IMPORTED_MODULE_16__.F0),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_angular_common_http__WEBPACK_IMPORTED_MODULE_17__.eN),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_angular_router__WEBPACK_IMPORTED_MODULE_16__.gz),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_services_user_service__WEBPACK_IMPORTED_MODULE_1__.K),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_angular_forms__WEBPACK_IMPORTED_MODULE_8__.qu),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_services_auth_service__WEBPACK_IMPORTED_MODULE_2__.e),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_ngx_translate_core__WEBPACK_IMPORTED_MODULE_18__.sK),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_services_notifications_notifications_service__WEBPACK_IMPORTED_MODULE_3__.g),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_services_history_service__WEBPACK_IMPORTED_MODULE_4__.q),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_services_settings_service__WEBPACK_IMPORTED_MODULE_5__.g),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_services_privileges_service__WEBPACK_IMPORTED_MODULE_6__.y))},UpdateOutputComponent.\u0275cmp=_angular_core__WEBPACK_IMPORTED_MODULE_7__.Xpm({type:UpdateOutputComponent,selectors:[["update-output"]],decls:41,vars:27,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],["mat-icon-button","",1,"absolute","right-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-xl","text-gray-900"],[1,"overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 64px)"],["class","flex justify-center items-center",4,"ngIf"],[1,"w-1/2","m-auto","border-green-400"],[1,"text-center","mt-10","mb-5"],[1,"flex","justify-center","items-center","mb-2"],["mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300"],[1,"block",3,"click"],[1,"flex","justify-center","items-center","ml-10","mr-5"],["class","w-full text-center",4,"ngIf"],["mode","side","opened","","position","end",1,"available-fields","w-1/4","flex","flex-col","h-full","border-r","border-green-400"],["sidenav2",""],["class","flex text-gray-400 object-contain","style","height: calc(100% - 8rem)",4,"ngIf"],["class","overflow-x-hidden overflow-y-auto","style","height: calc(100% - 64px)",4,"ngIf"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-10","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-8","2xl:ml-10","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],[1,"flex","justify-center","items-center"],[1,"grid","grid-cols-2","gap-12","w-full","m-10","text-center"],[4,"ngFor","ngForOf"],["matInput","",3,"value","formControl","type","placeholder","required"],[3,"name","id","ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[3,"name","id","ngModel","ngModelChange"],[1,"w-full","text-center"],[1,"output-tab"],[3,"label"],["class","relative top-10 text-xl",4,"ngIf"],[1,"grid","grid-cols-4","gap-x-4","gap-y-10","m-5"],["mat-button","","class","border-solid border-green-400 border hover:bg-green-400 hover:text-white transition duration-300",4,"ngIf"],[3,"label",4,"ngIf"],[1,"relative","top-10","text-xl"],[3,"click"],[3,"focusin",4,"ngIf"],["cdkTextareaAutosize","","cdkAutosizeMinRows","1","matInput","",3,"value","formControl","type","placeholder","required"],[3,"focusin"],["matInput","",3,"formControl","type","readonly","placeholder","required","matAutocomplete"],[3,"displayWith"],["autocomplete","matAutocomplete"],[3,"innerHTML"],[1,"text-green-400","ml-3",2,"font-size","12px"],["specificClass","w-3/4",3,"message"],[1,"flex","justify-center","m-10"],[3,"formControl",4,"ngIf"],[3,"formControl"],[1,"flex","text-gray-400","object-contain",2,"height","calc(100% - 8rem)"],[1,"m-auto","text-center"],[1,"fa-solid","fa-code","fa-4x","fa-beat-fade","w-full","mb-2",2,"--fa-animation-duration","1.5s"],[1,"w-full"],["class","my-8 ml-2 text-base",4,"ngFor","ngForOf"],[1,"my-8","ml-2","text-base"],["class","border-green-400 mt-4",4,"ngIf"],[1,"border-green-400","mt-4"]],template:function N(U,C){if(1&U){const c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(5,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(6,"mat-divider",4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(7,"mat-nav-list",5),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(8,UpdateOutputComponent_mat_expansion_panel_8_Template,7,5,"mat-expansion-panel",6),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(9,"mat-sidenav-content",7),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(10,UpdateOutputComponent_div_10_Template,2,0,"div",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(11,"div",9)(12,"button",10),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(c);const e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.MAs(2);return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(e.toggle())}),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(13,"i",11),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(14,"div",12)(15,"h3"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(16),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(17,"hr",4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(18,"button",13),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(c);const e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.MAs(34);return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(e.toggle())}),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(19,"i",14),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(20,"div",15),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(21,UpdateOutputComponent_div_21_Template,3,1,"div",16),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(22,"mat-divider",17),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(23,"h4",18),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(24),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(25,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(26,"div",19)(27,"button",20)(28,"span",21),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("click",function(){return C.updateOutput()}),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(29),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(30,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(31,"div",22),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(32,UpdateOutputComponent_form_32_Template,14,12,"form",23),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(33,"mat-sidenav",24,25)(35,"h3",3),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(36),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(37,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(38,"mat-divider",4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(39,UpdateOutputComponent_div_39_Template,6,3,"div",26),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(40,UpdateOutputComponent_div_40_Template,2,1,"div",27),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()}if(2&U){const c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.MAs(2),m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.MAs(34);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(5,19,"SETTINGS.administration")),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",C.serviceSettings.getSettingsParent()),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.loading),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("transform",!c.opened)("rotate-180",!c.opened),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(C.serviceSettings.getTitle()),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("transform",m.opened)("rotate-180",m.opened),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",!C.loading),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(25,21,"OUTPUT.output_settings_list")),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(5),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(30,23,"OUTPUT.update")),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.selectedOutputType&&C.outputsTypesForm[C.selectedOutputType]),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(37,25,"FORMS.available_fields")," "),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.loadingCustomFields),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",!C.loadingCustomFields)}},dependencies:[_angular_common__WEBPACK_IMPORTED_MODULE_19__.sg,_angular_common__WEBPACK_IMPORTED_MODULE_19__.O5,_angular_router__WEBPACK_IMPORTED_MODULE_16__.rH,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_20__.TO,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_20__.KE,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_20__.bx,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_20__.hX,_angular_material_select__WEBPACK_IMPORTED_MODULE_21__.gD,_angular_material_core__WEBPACK_IMPORTED_MODULE_22__.ey,_angular_material_slide_toggle__WEBPACK_IMPORTED_MODULE_23__.Rr,_angular_cdk_text_field__WEBPACK_IMPORTED_MODULE_24__.IC,_angular_material_input__WEBPACK_IMPORTED_MODULE_25__.Nt,_angular_material_tabs__WEBPACK_IMPORTED_MODULE_26__.SP,_angular_material_tabs__WEBPACK_IMPORTED_MODULE_26__.uX,_angular_material_sidenav__WEBPACK_IMPORTED_MODULE_27__.JX,_angular_material_sidenav__WEBPACK_IMPORTED_MODULE_27__.TM,_angular_material_sidenav__WEBPACK_IMPORTED_MODULE_27__.Rh,_angular_material_button__WEBPACK_IMPORTED_MODULE_28__.lW,_angular_material_expansion__WEBPACK_IMPORTED_MODULE_29__.ib,_angular_material_expansion__WEBPACK_IMPORTED_MODULE_29__.yz,_angular_material_expansion__WEBPACK_IMPORTED_MODULE_29__.yK,_angular_material_autocomplete__WEBPACK_IMPORTED_MODULE_30__.XC,_angular_material_autocomplete__WEBPACK_IMPORTED_MODULE_30__.ZL,_angular_material_list__WEBPACK_IMPORTED_MODULE_31__.Hk,_angular_material_divider__WEBPACK_IMPORTED_MODULE_32__.d,_angular_forms__WEBPACK_IMPORTED_MODULE_8__._Y,_angular_forms__WEBPACK_IMPORTED_MODULE_8__.Fj,_angular_forms__WEBPACK_IMPORTED_MODULE_8__.JJ,_angular_forms__WEBPACK_IMPORTED_MODULE_8__.JL,_angular_forms__WEBPACK_IMPORTED_MODULE_8__.Q7,_angular_forms__WEBPACK_IMPORTED_MODULE_8__.oH,_angular_forms__WEBPACK_IMPORTED_MODULE_8__.On,_angular_forms__WEBPACK_IMPORTED_MODULE_8__.F,_loader_component__WEBPACK_IMPORTED_MODULE_33__.R,_services_hint_hint_service__WEBPACK_IMPORTED_MODULE_34__.J,_angular_common__WEBPACK_IMPORTED_MODULE_19__.Ov,_ngx_translate_core__WEBPACK_IMPORTED_MODULE_18__.X$,HighlightPipe],styles:[".output-tab .mat-tab-header .mat-tab-label-container>.mat-tab-list>.mat-tab-labels>.mat-tab-label{width:50%}"]}),UpdateOutputComponent})()},6025:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{B:()=>StatisticsComponent});var rxjs__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(9646),_env__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(9958),moment_moment__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(5439),moment_moment__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(moment_moment__WEBPACK_IMPORTED_MODULE_1__),rxjs_operators__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(8505),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(8746),rxjs_operators__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(262),_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(7520),_angular_core__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(5e3),_angular_common_http__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(520),_services_auth_service__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(2560),_ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(4894),_services_notifications_notifications_service__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(7862),_services_settings_service__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(3208),_angular_common__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(9808),_angular_material_form_field__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(3489),_angular_material_select__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(4107),_angular_material_core__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(508),_angular_material_sidenav__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(2638),_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(5902),_angular_forms__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(3075),_loader_component__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(1872);function StatisticsComponent_div_2_Template(N,U){1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_5__.TgZ(0,"div"),_angular_core__WEBPACK_IMPORTED_MODULE_5__._UZ(1,"app-loader"),_angular_core__WEBPACK_IMPORTED_MODULE_5__.qZA())}function StatisticsComponent_mat_option_13_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_5__.TgZ(0,"mat-option",14),_angular_core__WEBPACK_IMPORTED_MODULE_5__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_5__.ALo(2,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_5__.TgZ(3,"span",15),_angular_core__WEBPACK_IMPORTED_MODULE_5__._uU(4),_angular_core__WEBPACK_IMPORTED_MODULE_5__.qZA()()),2&N){const C=U.$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_5__.Q6J("value",C.id),_angular_core__WEBPACK_IMPORTED_MODULE_5__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_5__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_5__.lcZ(2,3,C.label)," "),_angular_core__WEBPACK_IMPORTED_MODULE_5__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_5__.hij(" ",C.module," ")}}function StatisticsComponent_mat_option_17_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_5__.TgZ(0,"mat-option",14),_angular_core__WEBPACK_IMPORTED_MODULE_5__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_5__.ALo(2,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_5__._UZ(3,"i"),_angular_core__WEBPACK_IMPORTED_MODULE_5__.qZA()),2&N){const C=U.$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_5__.Q6J("value",C.id),_angular_core__WEBPACK_IMPORTED_MODULE_5__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_5__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_5__.lcZ(2,5,C.label)," "),_angular_core__WEBPACK_IMPORTED_MODULE_5__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_5__.Gre("fa-solid ",C.logo," ml-2")}}function StatisticsComponent_div_18_ngx_charts_bar_vertical_1_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_5__._UZ(0,"ngx-charts-bar-vertical",21),_angular_core__WEBPACK_IMPORTED_MODULE_5__.ALo(1,"translate")),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_5__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_5__.Q6J("results",C.currentData)("xAxis",!0)("yAxis",!0)("legend",!0)("legendTitle",_angular_core__WEBPACK_IMPORTED_MODULE_5__.lcZ(1,7,C.selectedStatistic.label))("showXAxisLabel",!0)("showYAxisLabel",!0)}}function StatisticsComponent_div_18_ngx_charts_pie_chart_2_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_5__._UZ(0,"ngx-charts-pie-chart",22),_angular_core__WEBPACK_IMPORTED_MODULE_5__.ALo(1,"translate")),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_5__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_5__.Q6J("results",C.currentData)("legendTitle",_angular_core__WEBPACK_IMPORTED_MODULE_5__.lcZ(1,3,C.selectedStatistic.label))("labels",!0)}}function StatisticsComponent_div_18_ngx_charts_pie_grid_3_Template(N,U){if(1&N&&_angular_core__WEBPACK_IMPORTED_MODULE_5__._UZ(0,"ngx-charts-pie-grid",23),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_5__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_5__.Q6J("results",C.currentData)}}function StatisticsComponent_div_18_ngx_charts_line_chart_4_Template(N,U){if(1&N&&_angular_core__WEBPACK_IMPORTED_MODULE_5__._UZ(0,"ngx-charts-line-chart",24),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_5__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_5__.Q6J("results",C.currentData)("xAxis",!0)("yAxis",!0)("legend",!1)("showXAxisLabel",!0)("showYAxisLabel",!0)}}function StatisticsComponent_div_18_Template(N,U){if(1&N&&(_angular_core__WEBPACK_IMPORTED_MODULE_5__.TgZ(0,"div",16),_angular_core__WEBPACK_IMPORTED_MODULE_5__.YNc(1,StatisticsComponent_div_18_ngx_charts_bar_vertical_1_Template,2,9,"ngx-charts-bar-vertical",17),_angular_core__WEBPACK_IMPORTED_MODULE_5__.YNc(2,StatisticsComponent_div_18_ngx_charts_pie_chart_2_Template,2,5,"ngx-charts-pie-chart",18),_angular_core__WEBPACK_IMPORTED_MODULE_5__.YNc(3,StatisticsComponent_div_18_ngx_charts_pie_grid_3_Template,1,1,"ngx-charts-pie-grid",19),_angular_core__WEBPACK_IMPORTED_MODULE_5__.YNc(4,StatisticsComponent_div_18_ngx_charts_line_chart_4_Template,1,6,"ngx-charts-line-chart",20),_angular_core__WEBPACK_IMPORTED_MODULE_5__.qZA()),2&N){const C=_angular_core__WEBPACK_IMPORTED_MODULE_5__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_5__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_5__.Q6J("ngIf","vertical-bar"===C.selectedDiagramType),_angular_core__WEBPACK_IMPORTED_MODULE_5__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_5__.Q6J("ngIf","pie-chart"===C.selectedDiagramType),_angular_core__WEBPACK_IMPORTED_MODULE_5__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_5__.Q6J("ngIf","pie-grid"===C.selectedDiagramType),_angular_core__WEBPACK_IMPORTED_MODULE_5__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_5__.Q6J("ngIf","line-charts"===C.selectedDiagramType)}}let StatisticsComponent=(()=>{class StatisticsComponent{constructor(N,U,C,c,m){this.http=N,this.authService=U,this.translate=C,this.notify=c,this.serviceSettings=m,this.currentData=[],this.loading=!1,this.options=[{id:"verifier_documents_validated_per_user",label:this.translate.instant("STATISTICS.verifier_documents_validated_per_user"),function:"this.getUsersProcessDocument",module:"verifier",data:[]},{id:"verifier_documents_validated_per_form",label:this.translate.instant("STATISTICS.verifier_documents_validated_per_form"),function:"this.getFormsProcessDocument",module:"verifier",data:[]},{id:"verifier_documents_uploaded",label:this.translate.instant("STATISTICS.verifier_documents_uploaded"),function:"this.getDocumentsUploadedVerifier",module:"verifier",data:[]},{id:"splitter_documents_uploaded",label:this.translate.instant("STATISTICS.splitter_documents_uploaded"),function:"this.getDocumentsUploadedSplitter",module:"splitter",data:[]}],this.diagramTypes=[{id:"vertical-bar",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_6__.J)("STATISTICS.diagram_vertical_bar"),logo:"fa-chart-column"},{id:"pie-chart",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_6__.J)("STATISTICS.diagram_pie_chart"),logo:"fa-chart-pie"},{id:"pie-grid",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_6__.J)("STATISTICS.diagram_pie_grid"),logo:"fa-grip"}],this.selectedDiagramType="vertical-bar"}ngOnInit(){this.authService.headersExists||this.authService.generateHeaders()}getDocumentsUploadedVerifier(N){const U=moment_moment__WEBPACK_IMPORTED_MODULE_1__().format("Y");this.http.get(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/history/list?module=verifier&submodule=upload_file&year="+U,{headers:this.authService.headers}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.b)(C=>{const c={};moment_moment__WEBPACK_IMPORTED_MODULE_1__.months().forEach(m=>{c[m]=0}),C.history.forEach(m=>{const e=moment_moment__WEBPACK_IMPORTED_MODULE_1__().localeData().longDateFormat("L"),M=moment_moment__WEBPACK_IMPORTED_MODULE_1__(m.date,e).format("MMMM");c[M]+=1}),Object.keys(c).forEach(m=>{this.options[N].data.push({name:m+" "+U,value:c[m]})}),this.currentData=this.options[N].data}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.x)(()=>this.loading=!1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.K)(C=>(console.debug(C),this.notify.handleErrors(C),(0,rxjs__WEBPACK_IMPORTED_MODULE_10__.of)(!1)))).subscribe()}getDocumentsUploadedSplitter(N){const U=moment_moment__WEBPACK_IMPORTED_MODULE_1__().format("Y");this.http.get(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/history/list?module=splitter&submodule=upload_file&year="+U,{headers:this.authService.headers}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.b)(C=>{const c={};moment_moment__WEBPACK_IMPORTED_MODULE_1__.months().forEach(m=>{c[m]=0}),C.history.forEach(m=>{const e=moment_moment__WEBPACK_IMPORTED_MODULE_1__().localeData().longDateFormat("L"),M=moment_moment__WEBPACK_IMPORTED_MODULE_1__(m.date,e).format("MMMM");c[M]+=1}),Object.keys(c).forEach(m=>{this.options[N].data.push({name:m+" "+U,value:c[m]})}),this.currentData=this.options[N].data}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.x)(()=>this.loading=!1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.K)(C=>(console.debug(C),this.notify.handleErrors(C),(0,rxjs__WEBPACK_IMPORTED_MODULE_10__.of)(!1)))).subscribe()}getFormsProcessDocument(N){this.http.get(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/forms/list?module=verifier",{headers:this.authService.headers}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.b)(U=>{U.forms.forEach(C=>{this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/verifier/invoices/list",{status:"END",form_id:C.id},{headers:this.authService.headers}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.b)(c=>{this.options[N].data.push({name:C.label+" ("+C.module+")",value:c.total}),this.currentData=this.options[N].data}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.x)(()=>this.loading=!1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.K)(c=>(console.debug(c),this.notify.handleErrors(c),(0,rxjs__WEBPACK_IMPORTED_MODULE_10__.of)(!1)))).subscribe()})}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.K)(U=>(console.debug(U),this.notify.handleErrors(U),(0,rxjs__WEBPACK_IMPORTED_MODULE_10__.of)(!1)))).subscribe()}getUsersProcessDocument(N){this.http.get(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/users/list_full",{headers:this.authService.headers}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.b)(U=>{this.http.get(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/history/list?submodule=document_validated",{headers:this.authService.headers}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.b)(C=>{U.users.forEach(c=>{let m=0;C.history.forEach(e=>{c.id===e.user_id&&(m+=1)}),this.options[N].data.push({name:c.lastname+" "+c.firstname,value:m}),this.currentData=this.options[N].data})}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.x)(()=>this.loading=!1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.K)(C=>(console.debug(C),this.notify.handleErrors(C),(0,rxjs__WEBPACK_IMPORTED_MODULE_10__.of)(!1)))).subscribe()}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.K)(U=>(console.debug(U),this.notify.handleErrors(U),(0,rxjs__WEBPACK_IMPORTED_MODULE_10__.of)(!1)))).subscribe()}changeStatistic(event){event.value&&this.options.forEach((option,cpt)=>{option.id===event.value&&(this.selectedStatistic=option,0===option.data.length?(this.currentData=[],this.loading=!0,eval(option.function+"("+cpt+")")):this.currentData=option.data)})}changeDiagramType(N){N.value&&this.diagramTypes.forEach(U=>{U.id===N.value&&(this.selectedDiagramType=U.id)})}}return StatisticsComponent.\u0275fac=function N(U){return new(U||StatisticsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_5__.Y36(_angular_common_http__WEBPACK_IMPORTED_MODULE_11__.eN),_angular_core__WEBPACK_IMPORTED_MODULE_5__.Y36(_services_auth_service__WEBPACK_IMPORTED_MODULE_2__.e),_angular_core__WEBPACK_IMPORTED_MODULE_5__.Y36(_ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__.sK),_angular_core__WEBPACK_IMPORTED_MODULE_5__.Y36(_services_notifications_notifications_service__WEBPACK_IMPORTED_MODULE_3__.g),_angular_core__WEBPACK_IMPORTED_MODULE_5__.Y36(_services_settings_service__WEBPACK_IMPORTED_MODULE_4__.g))},StatisticsComponent.\u0275cmp=_angular_core__WEBPACK_IMPORTED_MODULE_5__.Xpm({type:StatisticsComponent,selectors:[["app-statistics"]],decls:19,vars:14,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],[1,"settings_title","text-center"],[1,"border-green-400"],[1,"flex","justify-center",2,"height","calc(100% - 64px)"],[1,"w-full","h-1","absolute","text-center","mt-2","z-50"],[1,"w-1/4"],[3,"disabled","placeholder","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[1,"ml-4","w-1/4"],[3,"disabled","ngModel","placeholder","selectionChange"],["class","relative mt-20 w-full",4,"ngIf"],[3,"value"],[1,"text-green-400","ml-1","mt-2",2,"font-size","12px"],[1,"relative","mt-20","w-full"],[3,"results","xAxis","yAxis","legend","legendTitle","showXAxisLabel","showYAxisLabel",4,"ngIf"],[3,"results","legendTitle","labels",4,"ngIf"],[3,"results",4,"ngIf"],[3,"results","xAxis","yAxis","legend","showXAxisLabel","showYAxisLabel",4,"ngIf"],[3,"results","xAxis","yAxis","legend","legendTitle","showXAxisLabel","showYAxisLabel"],[3,"results","legendTitle","labels"],[3,"results"],[3,"results","xAxis","yAxis","legend","showXAxisLabel","showYAxisLabel"]],template:function N(U,C){1&U&&(_angular_core__WEBPACK_IMPORTED_MODULE_5__.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav-content",1),_angular_core__WEBPACK_IMPORTED_MODULE_5__.YNc(2,StatisticsComponent_div_2_Template,2,0,"div",2),_angular_core__WEBPACK_IMPORTED_MODULE_5__.TgZ(3,"div",3)(4,"div",4)(5,"h3"),_angular_core__WEBPACK_IMPORTED_MODULE_5__._uU(6),_angular_core__WEBPACK_IMPORTED_MODULE_5__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_5__._UZ(7,"hr",5),_angular_core__WEBPACK_IMPORTED_MODULE_5__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_5__.TgZ(8,"div",6)(9,"div",7)(10,"mat-form-field",8)(11,"mat-select",9),_angular_core__WEBPACK_IMPORTED_MODULE_5__.NdJ("selectionChange",function(m){return C.changeStatistic(m)}),_angular_core__WEBPACK_IMPORTED_MODULE_5__.ALo(12,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_5__.YNc(13,StatisticsComponent_mat_option_13_Template,5,5,"mat-option",10),_angular_core__WEBPACK_IMPORTED_MODULE_5__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_5__.TgZ(14,"mat-form-field",11)(15,"mat-select",12),_angular_core__WEBPACK_IMPORTED_MODULE_5__.NdJ("selectionChange",function(m){return C.changeDiagramType(m)}),_angular_core__WEBPACK_IMPORTED_MODULE_5__.ALo(16,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_5__.YNc(17,StatisticsComponent_mat_option_17_Template,4,7,"mat-option",10),_angular_core__WEBPACK_IMPORTED_MODULE_5__.qZA()()(),_angular_core__WEBPACK_IMPORTED_MODULE_5__.YNc(18,StatisticsComponent_div_18_Template,5,4,"div",13),_angular_core__WEBPACK_IMPORTED_MODULE_5__.qZA()()()),2&U&&(_angular_core__WEBPACK_IMPORTED_MODULE_5__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_5__.Q6J("ngIf",C.loading),_angular_core__WEBPACK_IMPORTED_MODULE_5__.xp6(4),_angular_core__WEBPACK_IMPORTED_MODULE_5__.Oqu(C.serviceSettings.getTitle()),_angular_core__WEBPACK_IMPORTED_MODULE_5__.xp6(5),_angular_core__WEBPACK_IMPORTED_MODULE_5__.Q6J("disabled",C.loading)("placeholder",_angular_core__WEBPACK_IMPORTED_MODULE_5__.lcZ(12,10,"STATISTICS.choose_statistic_report")),_angular_core__WEBPACK_IMPORTED_MODULE_5__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_5__.Q6J("ngForOf",C.options),_angular_core__WEBPACK_IMPORTED_MODULE_5__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_5__.Q6J("disabled",!C.selectedStatistic||C.loading)("ngModel",C.selectedDiagramType)("placeholder",_angular_core__WEBPACK_IMPORTED_MODULE_5__.lcZ(16,12,"STATISTICS.choose_diagram")),_angular_core__WEBPACK_IMPORTED_MODULE_5__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_5__.Q6J("ngForOf",C.diagramTypes),_angular_core__WEBPACK_IMPORTED_MODULE_5__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_5__.Q6J("ngIf",!C.loading&&C.selectedStatistic))},dependencies:[_angular_common__WEBPACK_IMPORTED_MODULE_13__.sg,_angular_common__WEBPACK_IMPORTED_MODULE_13__.O5,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_14__.KE,_angular_material_select__WEBPACK_IMPORTED_MODULE_15__.gD,_angular_material_core__WEBPACK_IMPORTED_MODULE_16__.ey,_angular_material_sidenav__WEBPACK_IMPORTED_MODULE_17__.TM,_angular_material_sidenav__WEBPACK_IMPORTED_MODULE_17__.Rh,_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_18__.K$,_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_18__.Dw,_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_18__.JU,_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_18__.Nm,_angular_forms__WEBPACK_IMPORTED_MODULE_19__.JJ,_angular_forms__WEBPACK_IMPORTED_MODULE_19__.On,_loader_component__WEBPACK_IMPORTED_MODULE_20__.R,_ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__.X$]}),StatisticsComponent})()},7867:(N,U,C)=>{"use strict";var c=C(2313),m=C(9958),e=C(5e3),b=C(508),M=C(5439);const F=M||C.t(M,2),G=new e.OlP("MAT_MOMENT_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:function ee(){return{useUtc:!1}}});function z(n,o){const t=Array(n);for(let i=0;i{class n extends b._A{constructor(t,i){super(),this._options=i,this.setLocale(t||F.locale())}setLocale(t){super.setLocale(t);let i=F.localeData(t);this._localeData={firstDayOfWeek:i.firstDayOfWeek(),longMonths:i.months(),shortMonths:i.monthsShort(),dates:z(31,a=>this.createDate(2017,0,a+1).format("D")),longDaysOfWeek:i.weekdays(),shortDaysOfWeek:i.weekdaysShort(),narrowDaysOfWeek:i.weekdaysMin()}}getYear(t){return this.clone(t).year()}getMonth(t){return this.clone(t).month()}getDate(t){return this.clone(t).date()}getDayOfWeek(t){return this.clone(t).day()}getMonthNames(t){return"long"==t?this._localeData.longMonths:this._localeData.shortMonths}getDateNames(){return this._localeData.dates}getDayOfWeekNames(t){return"long"==t?this._localeData.longDaysOfWeek:"short"==t?this._localeData.shortDaysOfWeek:this._localeData.narrowDaysOfWeek}getYearName(t){return this.clone(t).format("YYYY")}getFirstDayOfWeek(){return this._localeData.firstDayOfWeek}getNumDaysInMonth(t){return this.clone(t).daysInMonth()}clone(t){return t.clone().locale(this.locale)}createDate(t,i,a){const l=this._createMoment({year:t,month:i,date:a}).locale(this.locale);return l.isValid(),l}today(){return this._createMoment().locale(this.locale)}parse(t,i){return t&&"string"==typeof t?this._createMoment(t,i,this.locale):t?this._createMoment(t).locale(this.locale):null}format(t,i){return t=this.clone(t),this.isValid(t),t.format(i)}addCalendarYears(t,i){return this.clone(t).add({years:i})}addCalendarMonths(t,i){return this.clone(t).add({months:i})}addCalendarDays(t,i){return this.clone(t).add({days:i})}toIso8601(t){return this.clone(t).format()}deserialize(t){let i;if(t instanceof Date)i=this._createMoment(t).locale(this.locale);else if(this.isDateInstance(t))return this.clone(t);if("string"==typeof t){if(!t)return null;i=this._createMoment(t,F.ISO_8601).locale(this.locale)}return i&&this.isValid(i)?this._createMoment(i).locale(this.locale):super.deserialize(t)}isDateInstance(t){return F.isMoment(t)}isValid(t){return this.clone(t).isValid()}invalid(){return F.invalid()}_createMoment(t,i,a){const{strict:l,useUtc:h}=this._options||{};return h?F.utc(t,i,a,l):F(t,i,a,l)}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(b.Ad,8),e.LFG(G,8))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})();const ce={parse:{dateInput:"l"},display:{dateInput:"l",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};var de=C(1079),Ge=C(5664),le=C(3191);let Ne=0;const yt=(0,b.Id)(class{}),jt="mat-badge-content";let st=(()=>{class n extends yt{constructor(t,i,a,l,h){super(),this._ngZone=t,this._elementRef=i,this._ariaDescriber=a,this._renderer=l,this._animationMode=h,this._color="primary",this._overlap=!0,this.position="above after",this.size="medium",this._id=Ne++,this._isInitialized=!1}get color(){return this._color}set color(t){this._setColor(t),this._color=t}get overlap(){return this._overlap}set overlap(t){this._overlap=(0,le.Ig)(t)}get content(){return this._content}set content(t){this._updateRenderedContent(t)}get description(){return this._description}set description(t){this._updateHostAriaDescription(t)}get hidden(){return this._hidden}set hidden(t){this._hidden=(0,le.Ig)(t)}isAbove(){return-1===this.position.indexOf("below")}isAfter(){return-1===this.position.indexOf("before")}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&this._renderer.destroyNode(this._badgeElement),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_createBadgeElement(){const t=this._renderer.createElement("span"),i="mat-badge-active";return t.setAttribute("id",`mat-badge-content-${this._id}`),t.setAttribute("aria-hidden","true"),t.classList.add(jt),"NoopAnimations"===this._animationMode&&t.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(t),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{t.classList.add(i)})}):t.classList.add(i),t}_updateRenderedContent(t){const i=`${null!=t?t:""}`.trim();this._isInitialized&&i&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=i),this._content=i}_updateHostAriaDescription(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),t&&this._ariaDescriber.describe(this._elementRef.nativeElement,t),this._description=t}_setColor(t){const i=this._elementRef.nativeElement.classList;i.remove(`mat-badge-${this._color}`),t&&i.add(`mat-badge-${t}`)}_clearExistingBadges(){const t=this._elementRef.nativeElement.querySelectorAll(`:scope > .${jt}`);for(const i of Array.from(t))i!==this._badgeElement&&i.remove()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.R0b),e.Y36(e.SBq),e.Y36(Ge.$s),e.Y36(e.Qsj),e.Y36(e.QbO,8))},n.\u0275dir=e.lG2({type:n,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(t,i){2&t&&e.ekj("mat-badge-overlap",i.overlap)("mat-badge-above",i.isAbove())("mat-badge-below",!i.isAbove())("mat-badge-before",!i.isAfter())("mat-badge-after",i.isAfter())("mat-badge-small","small"===i.size)("mat-badge-medium","medium"===i.size)("mat-badge-large","large"===i.size)("mat-badge-hidden",i.hidden||!i.content)("mat-badge-disabled",i.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],position:["matBadgePosition","position"],content:["matBadge","content"],description:["matBadgeDescription","description"],size:["matBadgeSize","size"],hidden:["matBadgeHidden","hidden"]},features:[e.qOj]}),n})(),Te=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[Ge.rt,b.BQ,b.BQ]}),n})();var Le=C(925),at=C(7429),_e=C(9808),xt=C(1314),tt=C(1159),Ye=C(7579),qe=C(9770),ie=C(9646),Oe=C(226),mt=C(8675);function kt(n,o){}class ri{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0}}let Wt=(()=>{class n extends at.en{constructor(t,i,a,l,h,E,B,oe){super(),this._elementRef=t,this._focusTrapFactory=i,this._config=l,this._interactivityChecker=h,this._ngZone=E,this._overlayRef=B,this._focusMonitor=oe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=xe=>{this._portalOutlet.hasAttached();const Ve=this._portalOutlet.attachDomPortal(xe);return this._contentAttached(),Ve},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=a}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(t){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachComponentPortal(t);return this._contentAttached(),i}attachTemplatePortal(t){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachTemplatePortal(t);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(t,i){this._interactivityChecker.isFocusable(t)||(t.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const a=()=>{t.removeEventListener("blur",a),t.removeEventListener("mousedown",a),t.removeAttribute("tabindex")};t.addEventListener("blur",a),t.addEventListener("mousedown",a)})),t.focus(i)}_focusByCssSelector(t,i){let a=this._elementRef.nativeElement.querySelector(t);a&&this._forceFocus(a,i)}_trapFocus(){const t=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||t.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(i=>{i||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const t=this._config.restoreFocus;let i=null;if("string"==typeof t?i=this._document.querySelector(t):"boolean"==typeof t?i=t?this._elementFocusedBeforeDialogWasOpened:null:t&&(i=t),this._config.restoreFocus&&i&&"function"==typeof i.focus){const a=(0,Le.ht)(),l=this._elementRef.nativeElement;(!a||a===this._document.body||a===l||l.contains(a))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const t=this._elementRef.nativeElement,i=(0,Le.ht)();return t===i||t.contains(i)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,Le.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(Ge.qV),e.Y36(_e.K0,8),e.Y36(ri),e.Y36(Ge.ic),e.Y36(e.R0b),e.Y36(xt.Iu),e.Y36(Ge.tE))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cdk-dialog-container"]],viewQuery:function(t,i){if(1&t&&e.Gf(at.Pl,7),2&t){let a;e.iGM(a=e.CRH())&&(i._portalOutlet=a.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(t,i){2&t&&e.uIk("id",i._config.id||null)("role",i._config.role)("aria-modal",i._config.ariaModal)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null)},features:[e.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,i){1&t&&e.YNc(0,kt,0,0,"ng-template",0)},dependencies:[at.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),n})();class ye{constructor(o,t){this.overlayRef=o,this.config=t,this.closed=new Ye.x,this.disableClose=t.disableClose,this.backdropClick=o.backdropClick(),this.keydownEvents=o.keydownEvents(),this.outsidePointerEvents=o.outsidePointerEvents(),this.id=t.id,this.keydownEvents.subscribe(i=>{i.keyCode===tt.hY&&!this.disableClose&&!(0,tt.Vb)(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(o,t){if(this.containerInstance){const i=this.closed;this.containerInstance._closeInteractionType=(null==t?void 0:t.focusOrigin)||"program",this.overlayRef.dispose(),i.next(o),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(o="",t=""){return this.overlayRef.updateSize({width:o,height:t}),this}addPanelClass(o){return this.overlayRef.addPanelClass(o),this}removePanelClass(o){return this.overlayRef.removePanelClass(o),this}}const Xe=new e.OlP("DialogScrollStrategy"),Ae=new e.OlP("DialogData"),he=new e.OlP("DefaultDialogConfig"),Yt={provide:Xe,deps:[xt.aV],useFactory:function nt(n){return()=>n.scrollStrategies.block()}};let Lt=0,Ai=(()=>{class n{constructor(t,i,a,l,h,E){this._overlay=t,this._injector=i,this._defaultOptions=a,this._parentDialog=l,this._overlayContainer=h,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Ye.x,this._afterOpenedAtThisLevel=new Ye.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,qe.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,mt.O)(void 0))),this._scrollStrategy=E}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(t,i){const a=this._defaultOptions||new ri;(i=Object.assign(Object.assign({},a),i)).id=i.id||"cdk-dialog-"+Lt++,i.id&&this.getDialogById(i.id);const l=this._getOverlayConfig(i),h=this._overlay.create(l),E=new ye(h,i),B=this._attachContainer(h,E,i);return E.containerInstance=B,this._attachDialogContent(t,E,B,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(E),E.closed.subscribe(()=>this._removeOpenDialog(E,!0)),this.afterOpened.next(E),E}closeAll(){ei(this.openDialogs,t=>t.close())}getDialogById(t){return this.openDialogs.find(i=>i.id===t)}ngOnDestroy(){ei(this._openDialogsAtThisLevel,t=>{!1===t.config.closeOnDestroy&&this._removeOpenDialog(t,!1)}),ei(this._openDialogsAtThisLevel,t=>t.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(t){const i=new xt.X_({positionStrategy:t.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,width:t.width,height:t.height,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(i.backdropClass=t.backdropClass),i}_attachContainer(t,i,a){var l;const h=a.injector||(null===(l=a.viewContainerRef)||void 0===l?void 0:l.injector),E=[{provide:ri,useValue:a},{provide:ye,useValue:i},{provide:xt.Iu,useValue:t}];let B;a.container?"function"==typeof a.container?B=a.container:(B=a.container.type,E.push(...a.container.providers(a))):B=Wt;const oe=new at.C5(B,a.viewContainerRef,e.zs3.create({parent:h||this._injector,providers:E}),a.componentFactoryResolver);return t.attach(oe).instance}_attachDialogContent(t,i,a,l){if(t instanceof e.Rgc){const h=this._createInjector(l,i,a,void 0);let E={$implicit:l.data,dialogRef:i};l.templateContext&&(E=Object.assign(Object.assign({},E),"function"==typeof l.templateContext?l.templateContext():l.templateContext)),a.attachTemplatePortal(new at.UE(t,null,E,h))}else{const h=this._createInjector(l,i,a,this._injector),E=a.attachComponentPortal(new at.C5(t,l.viewContainerRef,h,l.componentFactoryResolver));i.componentInstance=E.instance}}_createInjector(t,i,a,l){var h;const E=t.injector||(null===(h=t.viewContainerRef)||void 0===h?void 0:h.injector),B=[{provide:Ae,useValue:t.data},{provide:ye,useValue:i}];return t.providers&&("function"==typeof t.providers?B.push(...t.providers(i,t,a)):B.push(...t.providers)),t.direction&&(!E||!E.get(Oe.Is,null,e.XFs.Optional))&&B.push({provide:Oe.Is,useValue:{value:t.direction,change:(0,ie.of)()}}),e.zs3.create({parent:E||l,providers:B})}_removeOpenDialog(t,i){const a=this.openDialogs.indexOf(t);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((l,h)=>{l?h.setAttribute("aria-hidden",l):h.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const i=t.parentElement.children;for(let a=i.length-1;a>-1;a--){const l=i[a];l!==t&&"SCRIPT"!==l.nodeName&&"STYLE"!==l.nodeName&&!l.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(l,l.getAttribute("aria-hidden")),l.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(xt.aV),e.LFG(e.zs3),e.LFG(he,8),e.LFG(n,12),e.LFG(xt.Xj),e.LFG(Xe))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})();function ei(n,o){let t=n.length;for(;t--;)o(n[t])}let hi=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[Ai,Yt],imports:[xt.U8,at.eL,Ge.rt,at.eL]}),n})();var ne=C(1777);let ni=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[hi,b.BQ,at.eL,b.BQ]}),n})();var Y=C(7423),X=C(449),A=C(3075);let Bi=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[b.BQ,b.si,b.BQ]}),n})();const xi=["*",[["mat-card-footer"]]],$n=["*","mat-card-footer"],Hi=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],ht=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"];let Re=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=e.lG2({type:n,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),n})(),We=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=e.lG2({type:n,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),n})(),Ie=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=e.lG2({type:n,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),n})(),_t=(()=>{class n{constructor(){this.align="start"}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=e.lG2({type:n,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(t,i){2&t&&e.ekj("mat-card-actions-align-end","end"===i.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),n})(),si=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=e.lG2({type:n,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-card-image"]}),n})(),ot=(()=>{class n{constructor(t){this._animationMode=t}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.QbO,8))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(t,i){2&t&&e.ekj("_mat-animation-noopable","NoopAnimations"===i._animationMode)},exportAs:["matCard"],ngContentSelectors:$n,decls:2,vars:0,template:function(t,i){1&t&&(e.F$t(xi),e.Hsn(0),e.Hsn(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}.mat-card._mat-animation-noopable{transition:none !important;animation:none !important}.mat-card>.mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card>.mat-divider-horizontal{left:auto;right:0}.mat-card>.mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card>.mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px;display:block;overflow:hidden}.mat-card-image img{width:100%}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}"],encapsulation:2,changeDetection:0}),n})(),qt=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:ht,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(t,i){1&t&&(e.F$t(Hi),e.Hsn(0),e.TgZ(1,"div",0),e.Hsn(2,1),e.qZA(),e.Hsn(3,2))},encapsulation:2,changeDetection:0}),n})(),ln=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[b.BQ,b.BQ]}),n})();var vt=C(7144);const rt=["input"],je=["label"],Mt=function(n){return{enterDuration:n}},Ut=["*"],Oi=new e.OlP("mat-checkbox-default-options",{providedIn:"root",factory:Ni});function Ni(){return{color:"accent",clickAction:"check-indeterminate"}}let Xt=0;const Li=Ni(),Sn={provide:A.JU,useExisting:(0,e.Gpc)(()=>Sa),multi:!0};class sa{}const za=(0,b.sb)((0,b.pj)((0,b.Kr)((0,b.Id)(class{constructor(n){this._elementRef=n}}))));let ya=(()=>{class n extends za{constructor(t,i,a,l,h,E,B){super(i),this._changeDetectorRef=a,this._ngZone=l,this._animationMode=E,this._options=B,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new e.vpe,this.indeterminateChange=new e.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||Li,this.color=this.defaultColor=this._options.color||Li.color,this.tabIndex=parseInt(h)||0,this.id=this._uniqueId=`${t}${++Xt}`}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(t){this._required=(0,le.Ig)(t)}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(t){const i=(0,le.Ig)(t);i!=this.checked&&(this._checked=i,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){const i=(0,le.Ig)(t);i!==this.disabled&&(this._disabled=i,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(t){const i=t!=this._indeterminate;this._indeterminate=(0,le.Ig)(t),i&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(t){this.checked=!!t}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(t){let i=this._currentCheckState,a=this._getAnimationTargetElement();if(i!==t&&a&&(this._currentAnimationClass&&a.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){a.classList.add(this._currentAnimationClass);const l=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{a.classList.remove(l)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){var t;const i=null===(t=this._options)||void 0===t?void 0:t.clickAction;this.disabled||"noop"===i?!this.disabled&&"noop"===i&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==i&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(t){t.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(t,i){if("NoopAnimations"===this._animationMode)return"";switch(t){case 0:if(1===i)return this._animationClasses.uncheckedToChecked;if(3==i)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===i?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===i?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===i?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(t){const i=this._inputElement;i&&(i.nativeElement.indeterminate=t)}}return n.\u0275fac=function(t){e.$Z()},n.\u0275dir=e.lG2({type:n,viewQuery:function(t,i){if(1&t&&(e.Gf(rt,5),e.Gf(je,5),e.Gf(b.wG,5)),2&t){let a;e.iGM(a=e.CRH())&&(i._inputElement=a.first),e.iGM(a=e.CRH())&&(i._labelElement=a.first),e.iGM(a=e.CRH())&&(i.ripple=a.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[e.qOj]}),n})(),Sa=(()=>{class n extends ya{constructor(t,i,a,l,h,E,B){super("mat-checkbox-",t,i,l,h,E,B),this._focusMonitor=a,this._animationClasses={uncheckedToChecked:"mat-checkbox-anim-unchecked-checked",uncheckedToIndeterminate:"mat-checkbox-anim-unchecked-indeterminate",checkedToUnchecked:"mat-checkbox-anim-checked-unchecked",checkedToIndeterminate:"mat-checkbox-anim-checked-indeterminate",indeterminateToChecked:"mat-checkbox-anim-indeterminate-checked",indeterminateToUnchecked:"mat-checkbox-anim-indeterminate-unchecked"}}_createChangeEvent(t){const i=new sa;return i.source=this,i.checked=t,i}_getAnimationTargetElement(){return this._elementRef.nativeElement}ngAfterViewInit(){super.ngAfterViewInit(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{t||this._onBlur()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onInputClick(t){t.stopPropagation(),super._handleInputClick()}focus(t,i){t?this._focusMonitor.focusVia(this._inputElement,t,i):this._inputElement.nativeElement.focus(i)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(Ge.tE),e.Y36(e.R0b),e.$8M("tabindex"),e.Y36(e.QbO,8),e.Y36(Oi,8))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(t,i){2&t&&(e.Ikx("id",i.id),e.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),e.ekj("mat-checkbox-indeterminate",i.indeterminate)("mat-checkbox-checked",i.checked)("mat-checkbox-disabled",i.disabled)("mat-checkbox-label-before","before"==i.labelPosition)("_mat-animation-noopable","NoopAnimations"===i._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[e._Bn([Sn]),e.qOj],ngContentSelectors:Ut,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(t,i){if(1&t&&(e.F$t(),e.TgZ(0,"label",0,1)(2,"span",2)(3,"input",3,4),e.NdJ("change",function(l){return i._onInteractionEvent(l)})("click",function(l){return i._onInputClick(l)}),e.qZA(),e.TgZ(5,"span",5),e._UZ(6,"span",6),e.qZA(),e._UZ(7,"span",7),e.TgZ(8,"span",8),e.O4$(),e.TgZ(9,"svg",9),e._UZ(10,"path",10),e.qZA(),e.kcU(),e._UZ(11,"span",11),e.qZA()(),e.TgZ(12,"span",12,13),e.NdJ("cdkObserveContent",function(){return i._onLabelTextChange()}),e.TgZ(14,"span",14),e._uU(15,"\xa0"),e.qZA(),e.Hsn(16),e.qZA()()),2&t){const a=e.MAs(1),l=e.MAs(13);e.uIk("for",i.inputId),e.xp6(2),e.ekj("mat-checkbox-inner-container-no-side-margin",!l.textContent||!l.textContent.trim()),e.xp6(1),e.Q6J("id",i.inputId)("required",i.required)("checked",i.checked)("disabled",i.disabled)("tabIndex",i.tabIndex),e.uIk("value",i.value)("name",i.name)("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby)("aria-checked",i._getAriaChecked())("aria-describedby",i.ariaDescribedby),e.xp6(2),e.Q6J("matRippleTrigger",a)("matRippleDisabled",i._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",e.VKq(19,Mt,"NoopAnimations"===i._animationMode?0:150))}},dependencies:[b.wG,vt.wD],styles:['@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative}.mat-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-checkbox-layout{-webkit-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:rgba(0,0,0,0);transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:rgba(0,0,0,0)}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox-input:focus~.mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),n})(),yo=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({}),n})(),Qi=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[b.si,b.BQ,vt.Q8,yo,b.BQ,yo]}),n})();var ma=C(6451),yn=C(5698),$i=C(2722),Rt=C(3489);const ga=["*"],To=new e.OlP("MatChipRemove"),Ia=new e.OlP("MatChipAvatar"),Qa=new e.OlP("MatChipTrailingIcon");class No{constructor(o){this._elementRef=o}}const Yn=(0,b.sb)((0,b.pj)((0,b.Kr)(No),"primary"),-1);let Un=(()=>{class n extends Yn{constructor(t,i,a,l,h,E,B,oe){super(t),this._ngZone=i,this._changeDetectorRef=h,this._hasFocus=!1,this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListDisabled=!1,this.role="option",this._selected=!1,this._selectable=!0,this._disabled=!1,this._removable=!0,this._onFocus=new Ye.x,this._onBlur=new Ye.x,this.selectionChange=new e.vpe,this.destroyed=new e.vpe,this.removed=new e.vpe,this._addHostClassName(),this._chipRippleTarget=E.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new b.IR(this,i,this._chipRippleTarget,a),this._chipRipple.setupTriggerEvents(t),this.rippleConfig=l||{},this._animationsDisabled="NoopAnimations"===B,this.tabIndex=null!=oe&&parseInt(oe)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(t){const i=(0,le.Ig)(t);i!==this._selected&&(this._selected=i,this._dispatchSelectionChange())}get value(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent}set value(t){this._value=t}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(t){this._selectable=(0,le.Ig)(t)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(t){this._disabled=(0,le.Ig)(t)}get removable(){return this._removable}set removable(t){this._removable=(0,le.Ig)(t)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}_addHostClassName(){const t="mat-basic-chip",i=this._elementRef.nativeElement;i.hasAttribute(t)||i.tagName.toLowerCase()===t?i.classList.add(t):i.classList.add("mat-standard-chip")}ngOnDestroy(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}select(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}deselect(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}selectViaInteraction(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}toggleSelected(t=!1){return this._selected=!this.selected,this._dispatchSelectionChange(t),this._changeDetectorRef.markForCheck(),this.selected}focus(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}remove(){this.removable&&this.removed.emit({chip:this})}_handleClick(t){this.disabled&&t.preventDefault()}_handleKeydown(t){if(!this.disabled)switch(t.keyCode){case tt.yY:case tt.ZH:this.remove(),t.preventDefault();break;case tt.L_:this.selectable&&this.toggleSelected(!0),t.preventDefault()}}_blur(){this._ngZone.onStable.pipe((0,yn.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(t=!1){this.selectionChange.emit({source:this,isUserInput:t,selected:this._selected})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(Le.t4),e.Y36(b.Y2,8),e.Y36(e.sBO),e.Y36(_e.K0),e.Y36(e.QbO,8),e.$8M("tabindex"))},n.\u0275dir=e.lG2({type:n,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(t,i,a){if(1&t&&(e.Suo(a,Ia,5),e.Suo(a,Qa,5),e.Suo(a,To,5)),2&t){let l;e.iGM(l=e.CRH())&&(i.avatar=l.first),e.iGM(l=e.CRH())&&(i.trailingIcon=l.first),e.iGM(l=e.CRH())&&(i.removeIcon=l.first)}},hostAttrs:[1,"mat-chip","mat-focus-indicator"],hostVars:15,hostBindings:function(t,i){1&t&&e.NdJ("click",function(l){return i._handleClick(l)})("keydown",function(l){return i._handleKeydown(l)})("focus",function(){return i.focus()})("blur",function(){return i._blur()}),2&t&&(e.uIk("tabindex",i.disabled?null:i.tabIndex)("role",i.role)("disabled",i.disabled||null)("aria-disabled",i.disabled.toString())("aria-selected",i.ariaSelected),e.ekj("mat-chip-selected",i.selected)("mat-chip-with-avatar",i.avatar)("mat-chip-with-trailing-icon",i.trailingIcon||i.removeIcon)("mat-chip-disabled",i.disabled)("_mat-animation-noopable",i._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[e.qOj]}),n})(),Aa=(()=>{class n{constructor(t,i){this._parentChip=t,"BUTTON"===i.nativeElement.nodeName&&i.nativeElement.setAttribute("type","button")}_handleClick(t){const i=this._parentChip;i.removable&&!i.disabled&&i.remove(),t.stopPropagation(),t.preventDefault()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Un),e.Y36(e.SBq))},n.\u0275dir=e.lG2({type:n,selectors:[["","matChipRemove",""]],hostAttrs:[1,"mat-chip-remove","mat-chip-trailing-icon"],hostBindings:function(t,i){1&t&&e.NdJ("click",function(l){return i._handleClick(l)})},features:[e._Bn([{provide:To,useExisting:n}])]}),n})();const Fr=new e.OlP("mat-chips-default-options"),Ka=(0,b.FD)(class{constructor(n,o,t,i){this._defaultErrorStateMatcher=n,this._parentForm=o,this._parentFormGroup=t,this.ngControl=i,this.stateChanges=new Ye.x}});let Nr=0;class lr{constructor(o,t){this.source=o,this.value=t}}let Ya=(()=>{class n extends Ka{constructor(t,i,a,l,h,E,B){super(E,l,h,B),this._elementRef=t,this._changeDetectorRef=i,this._dir=a,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new Ye.x,this._uid="mat-chip-list-"+Nr++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(oe,xe)=>oe===xe,this._disabled=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.change=new e.vpe,this.valueChange=new e.vpe,this.ngControl&&(this.ngControl.valueAccessor=this)}get selected(){var t,i;return this.multiple?(null===(t=this._selectionModel)||void 0===t?void 0:t.selected)||[]:null===(i=this._selectionModel)||void 0===i?void 0:i.selected[0]}get role(){return this._explicitRole?this._explicitRole:this.empty?null:"listbox"}set role(t){this._explicitRole=t}get multiple(){return this._multiple}set multiple(t){this._multiple=(0,le.Ig)(t),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){this.writeValue(t),this._value=t}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){var t,i,a,l;return null!==(l=null!==(t=this._required)&&void 0!==t?t:null===(a=null===(i=this.ngControl)||void 0===i?void 0:i.control)||void 0===a?void 0:a.hasValidator(A.kI.required))&&void 0!==l&&l}set required(t){this._required=(0,le.Ig)(t),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get focused(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||0===this.chips.length)}get shouldLabelFloat(){return!this.empty||this.focused}get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=(0,le.Ig)(t),this._syncChipsState()}get selectable(){return this._selectable}set selectable(t){this._selectable=(0,le.Ig)(t),this._syncChipsState()}set tabIndex(t){this._userTabIndex=t,this._tabIndex=t}get chipSelectionChanges(){return(0,ma.T)(...this.chips.map(t=>t.selectionChange))}get chipFocusChanges(){return(0,ma.T)(...this.chips.map(t=>t._onFocus))}get chipBlurChanges(){return(0,ma.T)(...this.chips.map(t=>t._onBlur))}get chipRemoveChanges(){return(0,ma.T)(...this.chips.map(t=>t.destroyed))}ngAfterContentInit(){this._keyManager=new Ge.Em(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe((0,$i.R)(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t)),this._keyManager.tabOut.pipe((0,$i.R)(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.chips.changes.pipe((0,mt.O)(null),(0,$i.R)(this._destroyed)).subscribe(()=>{(this.disabled||!this.selectable)&&Promise.resolve().then(()=>{this._syncChipsState()}),this._resetChips(),this._initializeSelection(),this._updateTabIndex(),this._updateFocusForDestroyedChips(),this.stateChanges.next()})}ngOnInit(){this._selectionModel=new X.Ov(this.multiple,void 0,!1),this.stateChanges.next()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}registerInput(t){this._chipInput=t,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",t.id)}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}writeValue(t){this.chips&&this._setSelectionByValue(t,!1)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this.stateChanges.next()}onContainerClick(t){this._originatesFromChip(t)||this.focus()}focus(t){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(t),this.stateChanges.next()))}_focusInput(t){this._chipInput&&this._chipInput.focus(t)}_keydown(t){const i=t.target;i&&i.classList.contains("mat-chip")&&(this._keyManager.onKeydown(t),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}_updateFocusForDestroyedChips(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){const t=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(t)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(t){return t>=0&&ta.deselect()),Array.isArray(t))t.forEach(a=>this._selectValue(a,i)),this._sortValues();else{const a=this._selectValue(t,i);a&&i&&this._keyManager.setActiveItem(a)}}_selectValue(t,i=!0){const a=this.chips.find(l=>null!=l.value&&this._compareWith(l.value,t));return a&&(i?a.selectViaInteraction():a.select(),this._selectionModel.select(a)),a}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(t){this._selectionModel.clear(),this.chips.forEach(i=>{i!==t&&i.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(t=>{t.selected&&this._selectionModel.select(t)}),this.stateChanges.next())}_propagateChanges(t){let i=null;i=Array.isArray(this.selected)?this.selected.map(a=>a.value):this.selected?this.selected.value:t,this._value=i,this.change.emit(new lr(this,i)),this.valueChange.emit(i),this._onChange(i),this._changeDetectorRef.markForCheck()}_blur(){this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(()=>{this.focused||this._markAsTouched()}):this._markAsTouched())}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}_allowFocusEscape(){-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(()=>{this._tabIndex=this._userTabIndex||0,this._changeDetectorRef.markForCheck()}))}_resetChips(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}_dropSubscriptions(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)}_listenToChipsSelection(){this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(t=>{t.source.selected?this._selectionModel.select(t.source):this._selectionModel.deselect(t.source),this.multiple||this.chips.forEach(i=>{!this._selectionModel.isSelected(i)&&i.selected&&i.deselect()}),t.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(t=>{let i=this.chips.toArray().indexOf(t.chip);this._isValidIndex(i)&&this._keyManager.updateActiveItem(i),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(t=>{const i=t.chip,a=this.chips.toArray().indexOf(t.chip);this._isValidIndex(a)&&i._hasFocus&&(this._lastDestroyedChipIndex=a)})}_originatesFromChip(t){let i=t.target;for(;i&&i!==this._elementRef.nativeElement;){if(i.classList.contains("mat-chip"))return!0;i=i.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(t=>t._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(t=>{t._chipListDisabled=this._disabled,t._chipListMultiple=this.multiple,t.chipListSelectable=this._selectable})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(Oe.Is,8),e.Y36(A.F,8),e.Y36(A.sg,8),e.Y36(b.rD),e.Y36(A.a5,10))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-chip-list"]],contentQueries:function(t,i,a){if(1&t&&e.Suo(a,Un,5),2&t){let l;e.iGM(l=e.CRH())&&(i.chips=l)}},hostAttrs:[1,"mat-chip-list"],hostVars:14,hostBindings:function(t,i){1&t&&e.NdJ("focus",function(){return i.focus()})("blur",function(){return i._blur()})("keydown",function(l){return i._keydown(l)}),2&t&&(e.Ikx("id",i._uid),e.uIk("tabindex",i.disabled?null:i._tabIndex)("aria-required",i.role?i.required:null)("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-multiselectable",i.multiple)("role",i.role)("aria-orientation",i.ariaOrientation),e.ekj("mat-chip-list-disabled",i.disabled)("mat-chip-list-invalid",i.errorState)("mat-chip-list-required",i.required))},inputs:{role:"role",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],errorStateMatcher:"errorStateMatcher",multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",tabIndex:"tabIndex"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[e._Bn([{provide:Rt.Eo,useExisting:n}]),e.qOj],ngContentSelectors:ga,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(t,i){1&t&&(e.F$t(),e.TgZ(0,"div",0),e.Hsn(1),e.qZA())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-chip::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}.mat-standard-chip._mat-animation-noopable{transition:none !important;animation:none !important}.mat-standard-chip .mat-chip-remove{border:none;-webkit-appearance:none;-moz-appearance:none;padding:0;background:none}.mat-standard-chip .mat-chip-remove.mat-icon,.mat-standard-chip .mat-chip-remove .mat-icon{width:18px;height:18px;font-size:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip.mat-chip-selected{outline-width:3px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden;transform:translateZ(0)}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}'],encapsulation:2,changeDetection:0}),n})(),rs=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[b.rD,{provide:Fr,useValue:{separatorKeyCodes:[tt.K5]}}],imports:[b.BQ]}),n})();var Nn=C(9071),Ta=C(727),Mo=C(9300),an=C(8833);const sc=["mat-calendar-body",""];function Ks(n,o){if(1&n&&(e.TgZ(0,"tr",2)(1,"td",3),e._uU(2),e.qZA()()),2&n){const t=e.oxw();e.xp6(1),e.Udp("padding-top",t._cellPadding)("padding-bottom",t._cellPadding),e.uIk("colspan",t.numCols),e.xp6(1),e.hij(" ",t.label," ")}}function Ms(n,o){if(1&n&&(e.TgZ(0,"td",3),e._uU(1),e.qZA()),2&n){const t=e.oxw(2);e.Udp("padding-top",t._cellPadding)("padding-bottom",t._cellPadding),e.uIk("colspan",t._firstRowOffset),e.xp6(1),e.hij(" ",t._firstRowOffset>=t.labelMinRequiredCells?t.label:""," ")}}function js(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"td",7)(1,"button",8),e.NdJ("click",function(a){const h=e.CHM(t).$implicit,E=e.oxw(2);return e.KtG(E._cellClicked(h,a))})("focus",function(a){const h=e.CHM(t).$implicit,E=e.oxw(2);return e.KtG(E._emitActiveDateChange(h,a))}),e.TgZ(2,"div",9),e._uU(3),e.qZA(),e._UZ(4,"div",10),e.qZA()()}if(2&n){const t=o.$implicit,i=o.index,a=e.oxw().index,l=e.oxw();e.Udp("width",l._cellWidth)("padding-top",l._cellPadding)("padding-bottom",l._cellPadding),e.uIk("data-mat-row",a)("data-mat-col",i),e.xp6(1),e.ekj("mat-calendar-body-disabled",!t.enabled)("mat-calendar-body-active",l._isActiveCell(a,i))("mat-calendar-body-range-start",l._isRangeStart(t.compareValue))("mat-calendar-body-range-end",l._isRangeEnd(t.compareValue))("mat-calendar-body-in-range",l._isInRange(t.compareValue))("mat-calendar-body-comparison-bridge-start",l._isComparisonBridgeStart(t.compareValue,a,i))("mat-calendar-body-comparison-bridge-end",l._isComparisonBridgeEnd(t.compareValue,a,i))("mat-calendar-body-comparison-start",l._isComparisonStart(t.compareValue))("mat-calendar-body-comparison-end",l._isComparisonEnd(t.compareValue))("mat-calendar-body-in-comparison-range",l._isInComparisonRange(t.compareValue))("mat-calendar-body-preview-start",l._isPreviewStart(t.compareValue))("mat-calendar-body-preview-end",l._isPreviewEnd(t.compareValue))("mat-calendar-body-in-preview",l._isInPreview(t.compareValue)),e.Q6J("ngClass",t.cssClasses)("tabindex",l._isActiveCell(a,i)?0:-1),e.uIk("aria-label",t.ariaLabel)("aria-disabled",!t.enabled||null)("aria-pressed",l._isSelected(t.compareValue))("aria-current",l.todayValue===t.compareValue?"date":null),e.xp6(1),e.ekj("mat-calendar-body-selected",l._isSelected(t.compareValue))("mat-calendar-body-comparison-identical",l._isComparisonIdentical(t.compareValue))("mat-calendar-body-today",l.todayValue===t.compareValue),e.xp6(1),e.hij(" ",t.displayValue," ")}}function Do(n,o){if(1&n&&(e.TgZ(0,"tr",4),e.YNc(1,Ms,2,6,"td",5),e.YNc(2,js,5,47,"td",6),e.qZA()),2&n){const t=o.$implicit,i=o.index,a=e.oxw();e.xp6(1),e.Q6J("ngIf",0===i&&a._firstRowOffset),e.xp6(1),e.Q6J("ngForOf",t)}}function Ur(n,o){if(1&n&&(e.TgZ(0,"th",5)(1,"span",6),e._uU(2),e.qZA(),e.TgZ(3,"span",7),e._uU(4),e.qZA()()),2&n){const t=o.$implicit;e.xp6(2),e.Oqu(t.long),e.xp6(2),e.Oqu(t.narrow)}}const Ws=["*"];function qs(n,o){}function Zr(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-month-view",5),e.NdJ("activeDateChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.activeDate=a)})("_userSelection",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l._dateSelected(a))}),e.qZA()}if(2&n){const t=e.oxw();e.Q6J("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)("comparisonStart",t.comparisonStart)("comparisonEnd",t.comparisonEnd)}}function $o(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-year-view",6),e.NdJ("activeDateChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.activeDate=a)})("monthSelected",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l._monthSelectedInYearView(a))})("selectedChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l._goToDateInView(a,"month"))}),e.qZA()}if(2&n){const t=e.oxw();e.Q6J("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)}}function cr(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-multi-year-view",7),e.NdJ("activeDateChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.activeDate=a)})("yearSelected",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l._yearSelectedInMultiYearView(a))})("selectedChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l._goToDateInView(a,"year"))}),e.qZA()}if(2&n){const t=e.oxw();e.Q6J("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)}}function lc(n,o){}const Tr=["button"];function Xa(n,o){1&n&&(e.O4$(),e.TgZ(0,"svg",3),e._UZ(1,"path",4),e.qZA())}const Uo=[[["","matDatepickerToggleIcon",""]]],ss=["[matDatepickerToggleIcon]"];class Ha{constructor(o,t,i,a,l={},h=o,E){this.value=o,this.displayValue=t,this.ariaLabel=i,this.enabled=a,this.cssClasses=l,this.compareValue=h,this.rawValue=E}}let zo=(()=>{class n{constructor(t,i){this._elementRef=t,this._ngZone=i,this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new e.vpe,this.previewChange=new e.vpe,this.activeDateChange=new e.vpe,this._enterHandler=a=>{if(this._skipNextFocus&&"focus"===a.type)this._skipNextFocus=!1;else if(a.target&&this.isRange){const l=this._getCellFromElement(a.target);l&&this._ngZone.run(()=>this.previewChange.emit({value:l.enabled?l:null,event:a}))}},this._leaveHandler=a=>{null!==this.previewEnd&&this.isRange&&a.target&&this._getCellFromElement(a.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:a}))},i.runOutsideAngular(()=>{const a=t.nativeElement;a.addEventListener("mouseenter",this._enterHandler,!0),a.addEventListener("focus",this._enterHandler,!0),a.addEventListener("mouseleave",this._leaveHandler,!0),a.addEventListener("blur",this._leaveHandler,!0)})}ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}_cellClicked(t,i){t.enabled&&this.selectedValueChange.emit({value:t.value,event:i})}_emitActiveDateChange(t,i){t.enabled&&this.activeDateChange.emit({value:t.value,event:i})}_isSelected(t){return this.startValue===t||this.endValue===t}ngOnChanges(t){const i=t.numCols,{rows:a,numCols:l}=this;(t.rows||i)&&(this._firstRowOffset=a&&a.length&&a[0].length?l-a[0].length:0),(t.cellAspectRatio||i||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/l+"%"),(i||!this._cellWidth)&&(this._cellWidth=100/l+"%")}ngOnDestroy(){const t=this._elementRef.nativeElement;t.removeEventListener("mouseenter",this._enterHandler,!0),t.removeEventListener("focus",this._enterHandler,!0),t.removeEventListener("mouseleave",this._leaveHandler,!0),t.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(t,i){let a=t*this.numCols+i;return t&&(a-=this._firstRowOffset),a==this.activeCell}_focusActiveCell(t=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,yn.q)(1)).subscribe(()=>{setTimeout(()=>{const i=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");i&&(t||(this._skipNextFocus=!0),i.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(t){return Dr(t,this.startValue,this.endValue)}_isRangeEnd(t){return Ds(t,this.startValue,this.endValue)}_isInRange(t){return La(t,this.startValue,this.endValue,this.isRange)}_isComparisonStart(t){return Dr(t,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(t,i,a){if(!this._isComparisonStart(t)||this._isRangeStart(t)||!this._isInRange(t))return!1;let l=this.rows[i][a-1];if(!l){const h=this.rows[i-1];l=h&&h[h.length-1]}return l&&!this._isRangeEnd(l.compareValue)}_isComparisonBridgeEnd(t,i,a){if(!this._isComparisonEnd(t)||this._isRangeEnd(t)||!this._isInRange(t))return!1;let l=this.rows[i][a+1];if(!l){const h=this.rows[i+1];l=h&&h[0]}return l&&!this._isRangeStart(l.compareValue)}_isComparisonEnd(t){return Ds(t,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(t){return La(t,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(t){return this.comparisonStart===this.comparisonEnd&&t===this.comparisonStart}_isPreviewStart(t){return Dr(t,this.previewStart,this.previewEnd)}_isPreviewEnd(t){return Ds(t,this.previewStart,this.previewEnd)}_isInPreview(t){return La(t,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(t){let i;if(Jr(t)?i=t:Jr(t.parentNode)&&(i=t.parentNode),i){const a=i.getAttribute("data-mat-row"),l=i.getAttribute("data-mat-col");if(a&&l)return this.rows[parseInt(a)][parseInt(l)]}return null}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(e.R0b))},n.\u0275cmp=e.Xpm({type:n,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange"},exportAs:["matCalendarBody"],features:[e.TTD],attrs:sc,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click","focus"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(t,i){1&t&&(e.YNc(0,Ks,3,6,"tr",0),e.YNc(1,Do,3,2,"tr",1)),2&t&&(e.Q6J("ngIf",i._firstRowOffset=o&&n===t}function La(n,o,t,i){return i&&null!==o&&null!==t&&o!==t&&n>=o&&n<=t}class Pa{constructor(o,t){this.start=o,this.end=t}}let dr=(()=>{class n{constructor(t,i){this.selection=t,this._adapter=i,this._selectionChanged=new Ye.x,this.selectionChanged=this._selectionChanged,this.selection=t}updateSelection(t,i){const a=this.selection;this.selection=t,this._selectionChanged.next({selection:t,source:i,oldValue:a})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(t){return this._adapter.isDateInstance(t)&&this._adapter.isValid(t)}}return n.\u0275fac=function(t){e.$Z()},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})(),Yr=(()=>{class n extends dr{constructor(t){super(null,t)}add(t){super.updateSelection(t,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const t=new n(this._adapter);return t.updateSelection(this.selection,this),t}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(b._A))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})();const Hn={provide:dr,deps:[[new e.FiY,new e.tp0,dr],b._A],useFactory:function na(n,o){return n||new Yr(o)}},ur=new e.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let In=(()=>{class n{constructor(t,i,a,l,h){this._changeDetectorRef=t,this._dateFormats=i,this._dateAdapter=a,this._dir=l,this._rangeStrategy=h,this._rerenderSubscription=Ta.w0.EMPTY,this.selectedChange=new e.vpe,this._userSelection=new e.vpe,this.activeDateChange=new e.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){const i=this._activeDate,a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(a,this.minDate,this.maxDate),this._hasSameMonthAndYear(i,this._activeDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof Pa?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,mt.O)(null)).subscribe(()=>this._init())}ngOnChanges(t){const i=t.comparisonStart||t.comparisonEnd;i&&!i.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(t){const i=t.value,a=this._getDateFromDayOfMonth(i);let l,h;this._selected instanceof Pa?(l=this._getDateInCurrentMonth(this._selected.start),h=this._getDateInCurrentMonth(this._selected.end)):l=h=this._getDateInCurrentMonth(this._selected),(l!==i||h!==i)&&this.selectedChange.emit(a),this._userSelection.emit({value:a,event:t.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_updateActiveDate(t){const a=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(t.value),this._dateAdapter.compareDate(a,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(t){const i=this._activeDate,a=this._isRtl();switch(t.keyCode){case tt.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,a?1:-1);break;case tt.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,a?-1:1);break;case tt.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case tt.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case tt.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case tt.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case tt.Ku:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case tt.VM:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case tt.K5:case tt.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&t.preventDefault());case tt.hY:return void(null!=this._previewEnd&&!(0,tt.Vb)(t)&&(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:t}),t.preventDefault(),t.stopPropagation()));default:return}this._dateAdapter.compareDate(i,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),t.preventDefault()}_handleCalendarBodyKeyup(t){(t.keyCode===tt.L_||t.keyCode===tt.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:t}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(t)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(t){this._matCalendarBody._focusActiveCell(t)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:t,value:i}){if(this._rangeStrategy){const l=this._rangeStrategy.createPreview(i?i.rawValue:null,this.selected,t);this._previewStart=this._getCellCompareValue(l.start),this._previewEnd=this._getCellCompareValue(l.end),this._changeDetectorRef.detectChanges()}}_getDateFromDayOfMonth(t){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),t)}_initWeekdays(){const t=this._dateAdapter.getFirstDayOfWeek(),i=this._dateAdapter.getDayOfWeekNames("narrow");let l=this._dateAdapter.getDayOfWeekNames("long").map((h,E)=>({long:h,narrow:i[E]}));this._weekdays=l.slice(t).concat(l.slice(0,t))}_createWeekCells(){const t=this._dateAdapter.getNumDaysInMonth(this.activeDate),i=this._dateAdapter.getDateNames();this._weeks=[[]];for(let a=0,l=this._firstWeekOffset;a=0)&&(!this.maxDate||this._dateAdapter.compareDate(t,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(t))}_getDateInCurrentMonth(t){return t&&this._hasSameMonthAndYear(t,this.activeDate)?this._dateAdapter.getDate(t):null}_hasSameMonthAndYear(t,i){return!(!t||!i||this._dateAdapter.getMonth(t)!=this._dateAdapter.getMonth(i)||this._dateAdapter.getYear(t)!=this._dateAdapter.getYear(i))}_getCellCompareValue(t){if(t){const i=this._dateAdapter.getYear(t),a=this._dateAdapter.getMonth(t),l=this._dateAdapter.getDate(t);return new Date(i,a,l).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(t){t instanceof Pa?(this._rangeStart=this._getCellCompareValue(t.start),this._rangeEnd=this._getCellCompareValue(t.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(t),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(t){return!this.dateFilter||this.dateFilter(t)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.sBO),e.Y36(b.sG,8),e.Y36(b._A,8),e.Y36(Oe.Is,8),e.Y36(ur,8))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-month-view"]],viewQuery:function(t,i){if(1&t&&e.Gf(zo,5),2&t){let a;e.iGM(a=e.CRH())&&(i._matCalendarBody=a.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[e.TTD],decls:7,vars:13,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","activeDateChange","previewChange","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(t,i){1&t&&(e.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),e.YNc(3,Ur,5,2,"th",2),e.qZA(),e.TgZ(4,"tr"),e._UZ(5,"th",3),e.qZA()(),e.TgZ(6,"tbody",4),e.NdJ("selectedValueChange",function(l){return i._dateSelected(l)})("activeDateChange",function(l){return i._updateActiveDate(l)})("previewChange",function(l){return i._previewChanged(l)})("keyup",function(l){return i._handleCalendarBodyKeyup(l)})("keydown",function(l){return i._handleCalendarBodyKeydown(l)}),e.qZA()()),2&t&&(e.xp6(3),e.Q6J("ngForOf",i._weekdays),e.xp6(3),e.Q6J("label",i._monthLabel)("rows",i._weeks)("todayValue",i._todayDate)("startValue",i._rangeStart)("endValue",i._rangeEnd)("comparisonStart",i._comparisonRangeStart)("comparisonEnd",i._comparisonRangeEnd)("previewStart",i._previewStart)("previewEnd",i._previewEnd)("isRange",i._isRange)("labelMinRequiredCells",3)("activeCell",i._dateAdapter.getDate(i.activeDate)-1))},dependencies:[_e.sg,zo],encapsulation:2,changeDetection:0}),n})(),Nl=(()=>{class n{constructor(t,i,a){this._changeDetectorRef=t,this._dateAdapter=i,this._dir=a,this._rerenderSubscription=Ta.w0.EMPTY,this.selectedChange=new e.vpe,this.yearSelected=new e.vpe,this.activeDateChange=new e.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let i=this._activeDate;const a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(a,this.minDate,this.maxDate),to(this._dateAdapter,i,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof Pa?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedYear(t)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,mt.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const i=this._dateAdapter.getYear(this._activeDate)-Ra(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let a=0,l=[];a<24;a++)l.push(i+a),4==l.length&&(this._years.push(l.map(h=>this._createCellForYear(h))),l=[]);this._changeDetectorRef.markForCheck()}_yearSelected(t){const i=t.value,a=this._dateAdapter.createDate(i,0,1),l=this._getDateFromYear(i);this.yearSelected.emit(a),this.selectedChange.emit(l)}_updateActiveDate(t){const a=this._activeDate;this.activeDate=this._getDateFromYear(t.value),this._dateAdapter.compareDate(a,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(t){const i=this._activeDate,a=this._isRtl();switch(t.keyCode){case tt.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,a?1:-1);break;case tt.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,a?-1:1);break;case tt.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case tt.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case tt.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Ra(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case tt.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-Ra(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case tt.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-240:-24);break;case tt.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?240:24);break;case tt.K5:case tt.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(i,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),t.preventDefault()}_handleCalendarBodyKeyup(t){(t.keyCode===tt.L_||t.keyCode===tt.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:t}),this._selectionKeyPressed=!1)}_getActiveCell(){return Ra(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(t){const i=this._dateAdapter.getMonth(this.activeDate),a=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(t,i,1));return this._dateAdapter.createDate(t,i,Math.min(this._dateAdapter.getDate(this.activeDate),a))}_createCellForYear(t){const i=this._dateAdapter.createDate(t,0,1),a=this._dateAdapter.getYearName(i),l=this.dateClass?this.dateClass(i,"multi-year"):void 0;return new Ha(t,a,a,this._shouldEnableYear(t),l)}_shouldEnableYear(t){if(null==t||this.maxDate&&t>this._dateAdapter.getYear(this.maxDate)||this.minDate&&t{class n{constructor(t,i,a,l){this._changeDetectorRef=t,this._dateFormats=i,this._dateAdapter=a,this._dir=l,this._rerenderSubscription=Ta.w0.EMPTY,this.selectedChange=new e.vpe,this.monthSelected=new e.vpe,this.activeDateChange=new e.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let i=this._activeDate;const a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(a,this.minDate,this.maxDate),this._dateAdapter.getYear(i)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof Pa?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedMonth(t)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,mt.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(t){const i=t.value,a=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),i,1);this.monthSelected.emit(a);const l=this._getDateFromMonth(i);this.selectedChange.emit(l)}_updateActiveDate(t){const a=this._activeDate;this.activeDate=this._getDateFromMonth(t.value),this._dateAdapter.compareDate(a,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(t){const i=this._activeDate,a=this._isRtl();switch(t.keyCode){case tt.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,a?1:-1);break;case tt.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,a?-1:1);break;case tt.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case tt.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case tt.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case tt.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case tt.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-10:-1);break;case tt.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?10:1);break;case tt.K5:case tt.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(i,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),t.preventDefault()}_handleCalendarBodyKeyup(t){(t.keyCode===tt.L_||t.keyCode===tt.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:t}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let t=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(i=>i.map(a=>this._createCellForMonth(a,t[a]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(t){return t&&this._dateAdapter.getYear(t)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(t):null}_getDateFromMonth(t){const i=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),a=this._dateAdapter.getNumDaysInMonth(i);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,Math.min(this._dateAdapter.getDate(this.activeDate),a))}_createCellForMonth(t,i){const a=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),l=this._dateAdapter.format(a,this._dateFormats.display.monthYearA11yLabel),h=this.dateClass?this.dateClass(a,"year"):void 0;return new Ha(t,i.toLocaleUpperCase(),l,this._shouldEnableMonth(t),h)}_shouldEnableMonth(t){const i=this._dateAdapter.getYear(this.activeDate);if(null==t||this._isYearAndMonthAfterMaxDate(i,t)||this._isYearAndMonthBeforeMinDate(i,t))return!1;if(!this.dateFilter)return!0;for(let l=this._dateAdapter.createDate(i,t,1);this._dateAdapter.getMonth(l)==t;l=this._dateAdapter.addCalendarDays(l,1))if(this.dateFilter(l))return!0;return!1}_isYearAndMonthAfterMaxDate(t,i){if(this.maxDate){const a=this._dateAdapter.getYear(this.maxDate),l=this._dateAdapter.getMonth(this.maxDate);return t>a||t===a&&i>l}return!1}_isYearAndMonthBeforeMinDate(t,i){if(this.minDate){const a=this._dateAdapter.getYear(this.minDate),l=this._dateAdapter.getMonth(this.minDate);return t{class n{constructor(){this.changes=new Ye.x,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(t,i){return`${t} \u2013 ${i}`}formatYearRangeLabel(t,i){return`${t} to ${i}`}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ws=0,_r=(()=>{class n{constructor(t,i,a,l,h){this._intl=t,this.calendar=i,this._dateAdapter=a,this._dateFormats=l,this._buttonDescriptionId="mat-calendar-button-"+ws++,this.calendar.stateChanges.subscribe(()=>h.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const i=this._dateAdapter.getYear(this.calendar.activeDate)-Ra(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),a=i+24-1,l=this._dateAdapter.getYearName(this._dateAdapter.createDate(i,0,1)),h=this._dateAdapter.getYearName(this._dateAdapter.createDate(a,0,1));return this._intl.formatYearRange(l,h)}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(t,i){return"month"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(i)&&this._dateAdapter.getMonth(t)==this._dateAdapter.getMonth(i):"year"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(i):to(this._dateAdapter,t,i,this.calendar.minDate,this.calendar.maxDate)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Es),e.Y36((0,e.Gpc)(()=>Er)),e.Y36(b._A,8),e.Y36(b.sG,8),e.Y36(e.sBO))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:Ws,decls:11,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["viewBox","0 0 10 5","focusable","false",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(t,i){1&t&&(e.F$t(),e.TgZ(0,"div",0)(1,"div",1)(2,"button",2),e.NdJ("click",function(){return i.currentPeriodClicked()}),e.TgZ(3,"span"),e._uU(4),e.qZA(),e.O4$(),e.TgZ(5,"svg",3),e._UZ(6,"polygon",4),e.qZA()(),e.kcU(),e._UZ(7,"div",5),e.Hsn(8),e.TgZ(9,"button",6),e.NdJ("click",function(){return i.previousClicked()}),e.qZA(),e.TgZ(10,"button",7),e.NdJ("click",function(){return i.nextClicked()}),e.qZA()()()),2&t&&(e.xp6(2),e.uIk("aria-label",i.periodButtonLabel)("aria-describedby",i._buttonDescriptionId),e.xp6(1),e.uIk("id",i._buttonDescriptionId),e.xp6(1),e.Oqu(i.periodButtonText),e.xp6(1),e.ekj("mat-calendar-invert","month"!==i.calendar.currentView),e.xp6(4),e.Q6J("disabled",!i.previousEnabled()),e.uIk("aria-label",i.prevButtonLabel),e.xp6(1),e.Q6J("disabled",!i.nextEnabled()),e.uIk("aria-label",i.nextButtonLabel))},dependencies:[Y.lW],encapsulation:2,changeDetection:0}),n})(),Er=(()=>{class n{constructor(t,i,a,l){this._dateAdapter=i,this._dateFormats=a,this._changeDetectorRef=l,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new e.vpe,this.yearSelected=new e.vpe,this.monthSelected=new e.vpe,this.viewChanged=new e.vpe(!0),this._userSelection=new e.vpe,this.stateChanges=new Ye.x,this._intlChanges=t.changes.subscribe(()=>{l.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get selected(){return this._selected}set selected(t){this._selected=t instanceof Pa?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get activeDate(){return this._clampedActiveDate}set activeDate(t){this._clampedActiveDate=this._dateAdapter.clampDate(t,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(t){const i=this._currentView!==t?t:null;this._currentView=t,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),i&&this.viewChanged.emit(i)}ngAfterContentInit(){this._calendarHeaderPortal=new at.C5(this.headerComponent||_r),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(t){const i=t.minDate&&!this._dateAdapter.sameDate(t.minDate.previousValue,t.minDate.currentValue)?t.minDate:void 0,a=t.maxDate&&!this._dateAdapter.sameDate(t.maxDate.previousValue,t.maxDate.currentValue)?t.maxDate:void 0,l=i||a||t.dateFilter;if(l&&!l.firstChange){const h=this._getCurrentViewComponent();h&&(this._changeDetectorRef.detectChanges(),h._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(t){const i=t.value;(this.selected instanceof Pa||i&&!this._dateAdapter.sameDate(i,this.selected))&&this.selectedChange.emit(i),this._userSelection.emit(t)}_yearSelectedInMultiYearView(t){this.yearSelected.emit(t)}_monthSelectedInYearView(t){this.monthSelected.emit(t)}_goToDateInView(t,i){this.activeDate=t,this.currentView=i}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Es),e.Y36(b._A,8),e.Y36(b.sG,8),e.Y36(e.sBO))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-calendar"]],viewQuery:function(t,i){if(1&t&&(e.Gf(In,5),e.Gf(Xo,5),e.Gf(Nl,5)),2&t){let a;e.iGM(a=e.CRH())&&(i.monthView=a.first),e.iGM(a=e.CRH())&&(i.yearView=a.first),e.iGM(a=e.CRH())&&(i.multiYearView=a.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[e._Bn([Hn]),e.TTD],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(t,i){1&t&&(e.YNc(0,qs,0,0,"ng-template",0),e.TgZ(1,"div",1),e.YNc(2,Zr,1,8,"mat-month-view",2),e.YNc(3,$o,1,6,"mat-year-view",3),e.YNc(4,cr,1,6,"mat-multi-year-view",4),e.qZA()),2&t&&(e.Q6J("cdkPortalOutlet",i._calendarHeaderPortal),e.xp6(1),e.Q6J("ngSwitch",i.currentView),e.xp6(1),e.Q6J("ngSwitchCase","month"),e.xp6(1),e.Q6J("ngSwitchCase","year"),e.xp6(1),e.Q6J("ngSwitchCase","multi-year"))},dependencies:[_e.RF,_e.n9,Ge.kH,at.Pl,In,Xo,Nl],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),n})();const Eo={transformPanel:(0,ne.X$)("transformPanel",[(0,ne.eR)("void => enter-dropdown",(0,ne.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ne.F4)([(0,ne.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,ne.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,ne.eR)("void => enter-dialog",(0,ne.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,ne.F4)([(0,ne.oB)({opacity:0,transform:"scale(0.7)"}),(0,ne.oB)({transform:"none",opacity:1})]))),(0,ne.eR)("* => void",(0,ne.jt)("100ms linear",(0,ne.oB)({opacity:0})))]),fadeInCalendar:(0,ne.X$)("fadeInCalendar",[(0,ne.SB)("void",(0,ne.oB)({opacity:0})),(0,ne.SB)("enter",(0,ne.oB)({opacity:1})),(0,ne.eR)("void => *",(0,ne.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let Qr=0;const wr=new e.OlP("mat-datepicker-scroll-strategy"),Tn={provide:wr,deps:[xt.aV],useFactory:function Qt(n){return()=>n.scrollStrategies.reposition()}},er=(0,b.pj)(class{constructor(n){this._elementRef=n}});let pr=(()=>{class n extends er{constructor(t,i,a,l,h,E){super(t),this._changeDetectorRef=i,this._globalModel=a,this._dateAdapter=l,this._rangeSelectionStrategy=h,this._subscriptions=new Ta.w0,this._animationDone=new Ye.x,this._actionsPortal=null,this._closeButtonText=E.closeCalendarLabel}ngOnInit(){this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(t){const i=this._model.selection,a=t.value,l=i instanceof Pa;if(l&&this._rangeSelectionStrategy){const h=this._rangeSelectionStrategy.selectionFinished(a,i,t.event);this._model.updateSelection(h,this)}else a&&(l||!this._dateAdapter.sameDate(a,i))&&this._model.add(a);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(t,i){this._model=t?this._globalModel.clone():this._globalModel,this._actionsPortal=t,i&&this._changeDetectorRef.detectChanges()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(dr),e.Y36(b._A),e.Y36(ur,8),e.Y36(Es))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-datepicker-content"]],viewQuery:function(t,i){if(1&t&&e.Gf(Er,5),2&t){let a;e.iGM(a=e.CRH())&&(i._calendar=a.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(t,i){1&t&&e.WFA("@transformPanel.done",function(){return i._animationDone.next()}),2&t&&(e.d8E("@transformPanel",i._animationState),e.ekj("mat-datepicker-content-touch",i.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[e.qOj],decls:5,vars:24,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","yearSelected","monthSelected","viewChanged","_userSelection"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(t,i){if(1&t&&(e.TgZ(0,"div",0)(1,"mat-calendar",1),e.NdJ("yearSelected",function(l){return i.datepicker._selectYear(l)})("monthSelected",function(l){return i.datepicker._selectMonth(l)})("viewChanged",function(l){return i.datepicker._viewChanged(l)})("_userSelection",function(l){return i._handleUserSelection(l)}),e.qZA(),e.YNc(2,lc,0,0,"ng-template",2),e.TgZ(3,"button",3),e.NdJ("focus",function(){return i._closeButtonFocused=!0})("blur",function(){return i._closeButtonFocused=!1})("click",function(){return i.datepicker.close()}),e._uU(4),e.qZA()()),2&t){let a;e.ekj("mat-datepicker-content-container-with-custom-header",i.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",i._actionsPortal),e.uIk("aria-modal",!0)("aria-labelledby",null!==(a=i._dialogLabelId)&&void 0!==a?a:void 0),e.xp6(1),e.Q6J("id",i.datepicker.id)("ngClass",i.datepicker.panelClass)("startAt",i.datepicker.startAt)("startView",i.datepicker.startView)("minDate",i.datepicker._getMinDate())("maxDate",i.datepicker._getMaxDate())("dateFilter",i.datepicker._getDateFilter())("headerComponent",i.datepicker.calendarHeaderComponent)("selected",i._getSelected())("dateClass",i.datepicker.dateClass)("comparisonStart",i.comparisonStart)("comparisonEnd",i.comparisonEnd)("@fadeInCalendar","enter"),e.xp6(1),e.Q6J("cdkPortalOutlet",i._actionsPortal),e.xp6(1),e.ekj("cdk-visually-hidden",!i._closeButtonFocused),e.Q6J("color",i.color||"primary"),e.xp6(1),e.Oqu(i._closeButtonText)}},dependencies:[_e.mk,Y.lW,Ge.mK,at.Pl,Er],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}"],encapsulation:2,data:{animation:[Eo.transformPanel,Eo.fadeInCalendar]},changeDetection:0}),n})(),Ma=(()=>{class n{constructor(t,i,a,l,h,E,B){this._overlay=t,this._ngZone=i,this._viewContainerRef=a,this._dateAdapter=h,this._dir=E,this._model=B,this._inputStateChanges=Ta.w0.EMPTY,this._document=(0,e.f3M)(_e.K0),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new e.vpe,this.monthSelected=new e.vpe,this.viewChanged=new e.vpe(!0),this.openedStream=new e.vpe,this.closedStream=new e.vpe,this._opened=!1,this.id="mat-datepicker-"+Qr++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new Ye.x,this._scrollStrategy=l}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(t){this._color=t}get touchUi(){return this._touchUi}set touchUi(t){this._touchUi=(0,le.Ig)(t)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(t){const i=(0,le.Ig)(t);i!==this._disabled&&(this._disabled=i,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(t){this._restoreFocus=(0,le.Ig)(t)}get panelClass(){return this._panelClass}set panelClass(t){this._panelClass=(0,le.du)(t)}get opened(){return this._opened}set opened(t){(0,le.Ig)(t)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}ngOnChanges(t){const i=t.xPosition||t.yPosition;if(i&&!i.firstChange&&this._overlayRef){const a=this._overlayRef.getConfig().positionStrategy;a instanceof xt._G&&(this._setConnectedPositions(a),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(t){this._model.add(t)}_selectYear(t){this.yearSelected.emit(t)}_selectMonth(t){this.monthSelected.emit(t)}_viewChanged(t){this.viewChanged.emit(t)}registerInput(t){return this._inputStateChanges.unsubscribe(),this.datepickerInput=t,this._inputStateChanges=t.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(t){var i;this._actionsPortal=t,null===(i=this._componentRef)||void 0===i||i.instance._assignActions(t,!0)}removeActions(t){var i;t===this._actionsPortal&&(this._actionsPortal=null,null===(i=this._componentRef)||void 0===i||i.instance._assignActions(null,!0))}open(){this._opened||this.disabled||(this._focusedElementBeforeOpen=(0,Le.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened)return;const t=this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,i=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:a,location:l}=this._componentRef;a._startExitAnimation(),a._animationDone.pipe((0,yn.q)(1)).subscribe(()=>{const h=this._document.activeElement;t&&(!h||h===this._document.activeElement||l.nativeElement.contains(h))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}t?setTimeout(i):i()}_applyPendingSelection(){var t,i;null===(i=null===(t=this._componentRef)||void 0===t?void 0:t.instance)||void 0===i||i._applyPendingSelection()}_forwardContentValues(t){t.datepicker=this,t.color=this.color,t._dialogLabelId=this.datepickerInput.getOverlayLabelId(),t._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const t=this.touchUi,i=new at.C5(pr,this._viewContainerRef),a=this._overlayRef=this._overlay.create(new xt.X_({positionStrategy:t?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[t?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:t?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(t?"dialog":"popup")}));this._getCloseStream(a).subscribe(l=>{l&&l.preventDefault(),this.close()}),a.keydownEvents().subscribe(l=>{const h=l.keyCode;(h===tt.LH||h===tt.JH||h===tt.oh||h===tt.SV||h===tt.Ku||h===tt.VM)&&l.preventDefault()}),this._componentRef=a.attach(i),this._forwardContentValues(this._componentRef.instance),t||this._ngZone.onStable.pipe((0,yn.q)(1)).subscribe(()=>a.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const t=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(t)}_setConnectedPositions(t){const i="end"===this.xPosition?"end":"start",a="start"===i?"end":"start",l="above"===this.yPosition?"bottom":"top",h="top"===l?"bottom":"top";return t.withPositions([{originX:i,originY:h,overlayX:i,overlayY:l},{originX:i,originY:l,overlayX:i,overlayY:h},{originX:a,originY:h,overlayX:a,overlayY:l},{originX:a,originY:l,overlayX:a,overlayY:h}])}_getCloseStream(t){return(0,ma.T)(t.backdropClick(),t.detachments(),t.keydownEvents().pipe((0,Mo.h)(i=>i.keyCode===tt.hY&&!(0,tt.Vb)(i)||this.datepickerInput&&(0,tt.Vb)(i,"altKey")&&i.keyCode===tt.LH)))}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(xt.aV),e.Y36(e.R0b),e.Y36(e.s_b),e.Y36(wr),e.Y36(b._A,8),e.Y36(Oe.Is,8),e.Y36(dr))},n.\u0275dir=e.lG2({type:n,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[e.TTD]}),n})(),te=(()=>{class n extends Ma{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[e._Bn([Hn,{provide:Ma,useExisting:n}]),e.qOj],decls:0,vars:0,template:function(t,i){},encapsulation:2,changeDetection:0}),n})();class q{constructor(o,t){this.target=o,this.targetElement=t,this.value=this.target.value}}let H=(()=>{class n{constructor(t,i,a){this._elementRef=t,this._dateAdapter=i,this._dateFormats=a,this.dateChange=new e.vpe,this.dateInput=new e.vpe,this.stateChanges=new Ye.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=Ta.w0.EMPTY,this._localeSubscription=Ta.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=l=>{const h=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(l.value));return!h||this._matchesFilter(h)?null:{matDatepickerFilter:!0}},this._minValidator=l=>{const h=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(l.value)),E=this._getMinDate();return!E||!h||this._dateAdapter.compareDate(E,h)<=0?null:{matDatepickerMin:{min:E,actual:h}}},this._maxValidator=l=>{const h=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(l.value)),E=this._getMaxDate();return!E||!h||this._dateAdapter.compareDate(E,h)>=0?null:{matDatepickerMax:{max:E,actual:h}}},this._lastValueValid=!1,this._localeSubscription=i.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(t){this._assignValueProgrammatically(t)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(t){const i=(0,le.Ig)(t),a=this._elementRef.nativeElement;this._disabled!==i&&(this._disabled=i,this.stateChanges.next(void 0)),i&&this._isInitialized&&a.blur&&a.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(t){this._model=t,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(i=>{if(this._shouldHandleChangeEvent(i)){const a=this._getValueFromModel(i.selection);this._lastValueValid=this._isValidValue(a),this._cvaOnChange(a),this._onTouched(),this._formatValue(a),this.dateInput.emit(new q(this,this._elementRef.nativeElement)),this.dateChange.emit(new q(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(t){(function Ce(n,o){const t=Object.keys(n);for(let i of t){const{previousValue:a,currentValue:l}=n[i];if(!o.isDateInstance(a)||!o.isDateInstance(l))return!0;if(!o.sameDate(a,l))return!0}return!1})(t,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(t){this._validatorOnChange=t}validate(t){return this._validator?this._validator(t):null}writeValue(t){this._assignValueProgrammatically(t)}registerOnChange(t){this._cvaOnChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_onKeydown(t){t.altKey&&t.keyCode===tt.JH&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),t.preventDefault())}_onInput(t){const i=this._lastValueValid;let a=this._dateAdapter.parse(t,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(a),a=this._dateAdapter.getValidDateOrNull(a);const l=!this._dateAdapter.sameDate(a,this.value);!a||l?this._cvaOnChange(a):(t&&!this.value&&this._cvaOnChange(a),i!==this._lastValueValid&&this._validatorOnChange()),l&&(this._assignValue(a),this.dateInput.emit(new q(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new q(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(t){this._elementRef.nativeElement.value=null!=t?this._dateAdapter.format(t,this._dateFormats.display.dateInput):""}_assignValue(t){this._model?(this._assignValueToModel(t),this._pendingValue=null):this._pendingValue=t}_isValidValue(t){return!t||this._dateAdapter.isValid(t)}_parentDisabled(){return!1}_assignValueProgrammatically(t){t=this._dateAdapter.deserialize(t),this._lastValueValid=this._isValidValue(t),t=this._dateAdapter.getValidDateOrNull(t),this._assignValue(t),this._formatValue(t)}_matchesFilter(t){const i=this._getDateFilter();return!i||i(t)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(b._A,8),e.Y36(b.sG,8))},n.\u0275dir=e.lG2({type:n,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[e.TTD]}),n})();const Bt={provide:A.JU,useExisting:(0,e.Gpc)(()=>Ea),multi:!0},Ii={provide:A.Cf,useExisting:(0,e.Gpc)(()=>Ea),multi:!0};let Ea=(()=>{class n extends H{constructor(t,i,a,l){super(t,i,a),this._formField=l,this._closedSubscription=Ta.w0.EMPTY,this._validator=A.kI.compose(super._getValidators())}set matDatepicker(t){t&&(this._datepicker=t,this._closedSubscription=t.closedStream.subscribe(()=>this._onTouched()),this._registerModel(t.registerInput(this)))}get min(){return this._min}set min(t){const i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(i,this._min)||(this._min=i,this._validatorOnChange())}get max(){return this._max}set max(t){const i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(i,this._max)||(this._max=i,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(t){const i=this._matchesFilter(this.value);this._dateFilter=t,this._matchesFilter(this.value)!==i&&this._validatorOnChange()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(t){return t}_assignValueToModel(t){this._model&&this._model.updateSelection(t,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(t){return t.source!==this}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(b._A,8),e.Y36(b.sG,8),e.Y36(Rt.G_,8))},n.\u0275dir=e.lG2({type:n,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(t,i){1&t&&e.NdJ("input",function(l){return i._onInput(l.target.value)})("change",function(){return i._onChange()})("blur",function(){return i._onBlur()})("keydown",function(l){return i._onKeydown(l)}),2&t&&(e.Ikx("disabled",i.disabled),e.uIk("aria-haspopup",i._datepicker?"dialog":null)("aria-owns",(null==i._datepicker?null:i._datepicker.opened)&&i._datepicker.id||null)("min",i.min?i._dateAdapter.toIso8601(i.min):null)("max",i.max?i._dateAdapter.toIso8601(i.max):null)("data-mat-calendar",i._datepicker?i._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[e._Bn([Bt,Ii,{provide:an.Jk,useExisting:n}]),e.qOj]}),n})(),Sr=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=e.lG2({type:n,selectors:[["","matDatepickerToggleIcon",""]]}),n})(),mo=(()=>{class n{constructor(t,i,a){this._intl=t,this._changeDetectorRef=i,this._stateChanges=Ta.w0.EMPTY;const l=Number(a);this.tabIndex=l||0===l?l:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(t){this._disabled=(0,le.Ig)(t)}ngOnChanges(t){t.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(t){this.datepicker&&!this.disabled&&(this.datepicker.open(),t.stopPropagation())}_watchStateChanges(){const t=this.datepicker?this.datepicker.stateChanges:(0,ie.of)(),i=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,ie.of)(),a=this.datepicker?(0,ma.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,ie.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,ma.T)(this._intl.changes,t,i,a).subscribe(()=>this._changeDetectorRef.markForCheck())}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Es),e.Y36(e.sBO),e.$8M("tabindex"))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-datepicker-toggle"]],contentQueries:function(t,i,a){if(1&t&&e.Suo(a,Sr,5),2&t){let l;e.iGM(l=e.CRH())&&(i._customIcon=l.first)}},viewQuery:function(t,i){if(1&t&&e.Gf(Tr,5),2&t){let a;e.iGM(a=e.CRH())&&(i._button=a.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(t,i){1&t&&e.NdJ("click",function(l){return i._open(l)}),2&t&&(e.uIk("tabindex",null)("data-mat-calendar",i.datepicker?i.datepicker.id:null),e.ekj("mat-datepicker-toggle-active",i.datepicker&&i.datepicker.opened)("mat-accent",i.datepicker&&"accent"===i.datepicker.color)("mat-warn",i.datepicker&&"warn"===i.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[e.TTD],ngContentSelectors:ss,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(t,i){1&t&&(e.F$t(Uo),e.TgZ(0,"button",0,1),e.YNc(2,Xa,2,0,"svg",2),e.Hsn(3),e.qZA()),2&t&&(e.Q6J("disabled",i.disabled)("disableRipple",i.disableRipple),e.uIk("aria-haspopup",i.datepicker?"dialog":null)("aria-label",i.ariaLabel||i._intl.openCalendarLabel)("tabindex",i.disabled?-1:i.tabIndex),e.xp6(2),e.Q6J("ngIf",!i._customIcon))},dependencies:[_e.O5,Y.lW],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0}),n})(),zs=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[Es,Tn],imports:[_e.ez,Y.ot,xt.U8,Ge.rt,at.eL,b.BQ,Nn.ZD]}),n})();function cs(n,o){}const io={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},no={dialogContainer:(0,ne.X$)("dialogContainer",[(0,ne.SB)("void, exit",(0,ne.oB)({opacity:0,transform:"scale(0.7)"})),(0,ne.SB)("enter",(0,ne.oB)({transform:"none"})),(0,ne.eR)("* => enter",(0,ne.ru)([(0,ne.jt)("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",(0,ne.oB)({transform:"none",opacity:1})),(0,ne.IO)("@*",(0,ne.pV)(),{optional:!0})]),io),(0,ne.eR)("* => void, * => exit",(0,ne.ru)([(0,ne.jt)("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",(0,ne.oB)({opacity:0})),(0,ne.IO)("@*",(0,ne.pV)(),{optional:!0})]),io)])};class hr{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0,this.enterAnimationDuration=io.params.enterAnimationDuration,this.exitAnimationDuration=io.params.exitAnimationDuration}}let Qs=(()=>{class n extends Wt{constructor(t,i,a,l,h,E,B,oe){super(t,i,a,l,h,E,B,oe),this._animationStateChanged=new e.vpe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(t){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(Ge.qV),e.Y36(_e.K0,8),e.Y36(hr),e.Y36(Ge.ic),e.Y36(e.R0b),e.Y36(xt.Iu),e.Y36(Ge.tE))},n.\u0275cmp=e.Xpm({type:n,selectors:[["ng-component"]],features:[e.qOj],decls:0,vars:0,template:function(t,i){},encapsulation:2}),n})(),Zc=(()=>{class n extends Qs{constructor(t,i,a,l,h,E,B,oe,xe){super(t,i,a,l,h,E,B,xe),this._changeDetectorRef=oe,this._state="enter"}_onAnimationDone({toState:t,totalTime:i}){"enter"===t?this._openAnimationDone(i):"exit"===t&&this._animationStateChanged.next({state:"closed",totalTime:i})}_onAnimationStart({toState:t,totalTime:i}){"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:i}):("exit"===t||"void"===t)&&this._animationStateChanged.next({state:"closing",totalTime:i})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||io.params.enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||io.params.exitAnimationDuration}}}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(Ge.qV),e.Y36(_e.K0,8),e.Y36(hr),e.Y36(Ge.ic),e.Y36(e.R0b),e.Y36(xt.Iu),e.Y36(e.sBO),e.Y36(Ge.tE))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(t,i){1&t&&e.WFA("@dialogContainer.start",function(l){return i._onAnimationStart(l)})("@dialogContainer.done",function(l){return i._onAnimationDone(l)}),2&t&&(e.Ikx("id",i._config.id),e.uIk("aria-modal",i._config.ariaModal)("role",i._config.role)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null),e.d8E("@dialogContainer",i._getAnimationState()))},features:[e.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,i){1&t&&e.YNc(0,cs,0,0,"ng-template",0)},dependencies:[at.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,data:{animation:[no.dialogContainer]}}),n})();class Ss{constructor(o,t,i){this._ref=o,this._containerInstance=i,this._afterOpened=new Ye.x,this._beforeClosed=new Ye.x,this._state=0,this.disableClose=t.disableClose,this.id=o.id,i._animationStateChanged.pipe((0,Mo.h)(a=>"opened"===a.state),(0,yn.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe((0,Mo.h)(a=>"closed"===a.state),(0,yn.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),o.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,ma.T)(this.backdropClick(),this.keydownEvents().pipe((0,Mo.h)(a=>a.keyCode===tt.hY&&!this.disableClose&&!(0,tt.Vb)(a)))).subscribe(a=>{this.disableClose||(a.preventDefault(),K(this,"keydown"===a.type?"keyboard":"mouse"))})}close(o){this._result=o,this._containerInstance._animationStateChanged.pipe((0,Mo.h)(t=>"closing"===t.state),(0,yn.q)(1)).subscribe(t=>{this._beforeClosed.next(o),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(o){let t=this._ref.config.positionStrategy;return o&&(o.left||o.right)?o.left?t.left(o.left):t.right(o.right):t.centerHorizontally(),o&&(o.top||o.bottom)?o.top?t.top(o.top):t.bottom(o.bottom):t.centerVertically(),this._ref.updatePosition(),this}updateSize(o="",t=""){return this._ref.updateSize(o,t),this}addPanelClass(o){return this._ref.addPanelClass(o),this}removePanelClass(o){return this._ref.removePanelClass(o),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function K(n,o,t){return n._closeInteractionType=o,n.close(t)}const se=new e.OlP("MatDialogData"),W=new e.OlP("mat-dialog-default-options"),ge=new e.OlP("mat-dialog-scroll-strategy"),Ht={provide:ge,deps:[xt.aV],useFactory:function Pt(n){return()=>n.scrollStrategies.block()}};let wi=0,Bn=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve){this._overlay=t,this._defaultOptions=a,this._parentDialog=l,this._dialogRefConstructor=B,this._dialogContainerType=oe,this._dialogDataToken=xe,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Ye.x,this._afterOpenedAtThisLevel=new Ye.x,this._idPrefix="mat-dialog-",this.afterAllClosed=(0,qe.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,mt.O)(void 0))),this._scrollStrategy=E,this._dialog=i.get(Ai)}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(t,i){let a;(i=Object.assign(Object.assign({},this._defaultOptions||new hr),i)).id=i.id||`${this._idPrefix}${wi++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();const l=this._dialog.open(t,Object.assign(Object.assign({},i),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:hr,useValue:i},{provide:ri,useValue:i}]},templateContext:()=>({dialogRef:a}),providers:(h,E,B)=>(a=new this._dialogRefConstructor(h,i,B),a.updatePosition(null==i?void 0:i.position),[{provide:this._dialogContainerType,useValue:B},{provide:this._dialogDataToken,useValue:E.data},{provide:this._dialogRefConstructor,useValue:a}])}));return a.componentInstance=l.componentInstance,this.openDialogs.push(a),this.afterOpened.next(a),a.afterClosed().subscribe(()=>{const h=this.openDialogs.indexOf(a);h>-1&&(this.openDialogs.splice(h,1),this.openDialogs.length||this._getAfterAllClosed().next())}),a}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(i=>i.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(t){let i=t.length;for(;i--;)t[i].close()}}return n.\u0275fac=function(t){e.$Z()},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})(),Ui=(()=>{class n extends Bn{constructor(t,i,a,l,h,E,B,oe){super(t,i,l,E,B,h,Ss,Zc,se,oe)}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(xt.aV),e.LFG(e.zs3),e.LFG(_e.Ye,8),e.LFG(W,8),e.LFG(ge),e.LFG(n,12),e.LFG(xt.Xj),e.LFG(e.QbO,8))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})(),Wn=0,An=(()=>{class n{constructor(t,i,a){this.dialogRef=t,this._elementRef=i,this._dialog=a,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=go(this._elementRef,this._dialog.openDialogs))}ngOnChanges(t){const i=t._matDialogClose||t._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(t){K(this.dialogRef,0===t.screenX&&0===t.screenY?"keyboard":"mouse",this.dialogResult)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Ss,8),e.Y36(e.SBq),e.Y36(Ui))},n.\u0275dir=e.lG2({type:n,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,i){1&t&&e.NdJ("click",function(l){return i._onButtonClick(l)}),2&t&&e.uIk("aria-label",i.ariaLabel||null)("type",i.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[e.TTD]}),n})(),ka=(()=>{class n{constructor(t,i,a){this._dialogRef=t,this._elementRef=i,this._dialog=a,this.id="mat-dialog-title-"+Wn++}ngOnInit(){this._dialogRef||(this._dialogRef=go(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const t=this._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=this.id)})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Ss,8),e.Y36(e.SBq),e.Y36(Ui))},n.\u0275dir=e.lG2({type:n,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,i){2&t&&e.Ikx("id",i.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),n})(),Gn=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=e.lG2({type:n,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),n})(),Qn=(()=>{class n{constructor(){this.align="start"}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=e.lG2({type:n,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"],hostVars:4,hostBindings:function(t,i){2&t&&e.ekj("mat-dialog-actions-align-center","center"===i.align)("mat-dialog-actions-align-end","end"===i.align)},inputs:{align:"align"}}),n})();function go(n,o){let t=n.nativeElement.parentElement;for(;t&&!t.classList.contains("mat-dialog-container");)t=t.parentElement;return t?o.find(i=>i.id===t.id):null}let ao=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[Ui,Ht],imports:[hi,xt.U8,at.eL,b.BQ,b.BQ]}),n})();var Zt=C(1125);let Cl=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[b.uc,b.BQ,b.uc,b.BQ]}),n})();var Kc=C(2843),Ld=C(4128),$e=C(8505),Mn=C(4004),Ke=C(262),Di=C(8746),Vl=C(3099),Ri=C(520);const Gl=["*"];let Vr;function ds(n){var o;return(null===(o=function Od(){if(void 0===Vr&&(Vr=null,"undefined"!=typeof window)){const n=window;void 0!==n.trustedTypes&&(Vr=n.trustedTypes.createPolicy("angular#components",{createHTML:o=>o}))}return Vr}())||void 0===o?void 0:o.createHTML(n))||n}function Ls(n){return Error(`Unable to find icon with the name "${n}"`)}function hc(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function Os(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}class la{constructor(o,t,i){this.url=o,this.svgText=t,this.options=i}}let es=(()=>{class n{constructor(t,i,a,l){this._httpClient=t,this._sanitizer=i,this._errorHandler=l,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=a}addSvgIcon(t,i,a){return this.addSvgIconInNamespace("",t,i,a)}addSvgIconLiteral(t,i,a){return this.addSvgIconLiteralInNamespace("",t,i,a)}addSvgIconInNamespace(t,i,a,l){return this._addSvgIconConfig(t,i,new la(a,null,l))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,i,a,l){const h=this._sanitizer.sanitize(e.q3G.HTML,a);if(!h)throw Os(a);const E=ds(h);return this._addSvgIconConfig(t,i,new la("",E,l))}addSvgIconSet(t,i){return this.addSvgIconSetInNamespace("",t,i)}addSvgIconSetLiteral(t,i){return this.addSvgIconSetLiteralInNamespace("",t,i)}addSvgIconSetInNamespace(t,i,a){return this._addSvgIconSetConfig(t,new la(i,null,a))}addSvgIconSetLiteralInNamespace(t,i,a){const l=this._sanitizer.sanitize(e.q3G.HTML,i);if(!l)throw Os(i);const h=ds(l);return this._addSvgIconSetConfig(t,new la("",h,a))}registerFontClassAlias(t,i=t){return this._fontCssClassesByAlias.set(t,i),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(...t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const i=this._sanitizer.sanitize(e.q3G.RESOURCE_URL,t);if(!i)throw hc(t);const a=this._cachedIconsByUrl.get(i);return a?(0,ie.of)(ks(a)):this._loadSvgIconFromConfig(new la(t,null)).pipe((0,$e.b)(l=>this._cachedIconsByUrl.set(i,l)),(0,Mn.U)(l=>ks(l)))}getNamedSvgIcon(t,i=""){const a=Is(i,t);let l=this._svgIconConfigs.get(a);if(l)return this._getSvgFromConfig(l);if(l=this._getIconConfigFromResolvers(i,t),l)return this._svgIconConfigs.set(a,l),this._getSvgFromConfig(l);const h=this._iconSetConfigs.get(i);return h?this._getSvgFromIconSetConfigs(t,h):(0,Kc._)(Ls(a))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?(0,ie.of)(ks(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe((0,Mn.U)(i=>ks(i)))}_getSvgFromIconSetConfigs(t,i){const a=this._extractIconWithNameFromAnySet(t,i);if(a)return(0,ie.of)(a);const l=i.filter(h=>!h.svgText).map(h=>this._loadSvgIconSetFromConfig(h).pipe((0,Ke.K)(E=>{const oe=`Loading icon set URL: ${this._sanitizer.sanitize(e.q3G.RESOURCE_URL,h.url)} failed: ${E.message}`;return this._errorHandler.handleError(new Error(oe)),(0,ie.of)(null)})));return(0,Ld.D)(l).pipe((0,Mn.U)(()=>{const h=this._extractIconWithNameFromAnySet(t,i);if(!h)throw Ls(t);return h}))}_extractIconWithNameFromAnySet(t,i){for(let a=i.length-1;a>=0;a--){const l=i[a];if(l.svgText&&l.svgText.toString().indexOf(t)>-1){const h=this._svgElementFromConfig(l),E=this._extractSvgIconFromSet(h,t,l.options);if(E)return E}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe((0,$e.b)(i=>t.svgText=i),(0,Mn.U)(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?(0,ie.of)(null):this._fetchIcon(t).pipe((0,$e.b)(i=>t.svgText=i))}_extractSvgIconFromSet(t,i,a){const l=t.querySelector(`[id="${i}"]`);if(!l)return null;const h=l.cloneNode(!0);if(h.removeAttribute("id"),"svg"===h.nodeName.toLowerCase())return this._setSvgAttributes(h,a);if("symbol"===h.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(h),a);const E=this._svgElementFromString(ds(""));return E.appendChild(h),this._setSvgAttributes(E,a)}_svgElementFromString(t){const i=this._document.createElement("DIV");i.innerHTML=t;const a=i.querySelector("svg");if(!a)throw Error(" tag not found");return a}_toSvgElement(t){const i=this._svgElementFromString(ds("")),a=t.attributes;for(let l=0;lds(xe)),(0,Di.x)(()=>this._inProgressUrlFetches.delete(E)),(0,Vl.B)());return this._inProgressUrlFetches.set(E,oe),oe}_addSvgIconConfig(t,i,a){return this._svgIconConfigs.set(Is(t,i),a),this}_addSvgIconSetConfig(t,i){const a=this._iconSetConfigs.get(t);return a?a.push(i):this._iconSetConfigs.set(t,[i]),this}_svgElementFromConfig(t){if(!t.svgElement){const i=this._svgElementFromString(t.svgText);this._setSvgAttributes(i,t.options),t.svgElement=i}return t.svgElement}_getIconConfigFromResolvers(t,i){for(let a=0;ao?o.pathname+o.search:""}}}),vl=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],el=vl.map(n=>`[${n}]`).join(", "),us=/^url\(['"]?#(.*?)['"]?\)$/;let So=(()=>{class n extends jc{constructor(t,i,a,l,h,E){super(t),this._iconRegistry=i,this._location=l,this._errorHandler=h,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=Ta.w0.EMPTY,E&&(E.color&&(this.color=this.defaultColor=E.color),E.fontSet&&(this.fontSet=E.fontSet)),a||t.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(t){this._inline=(0,le.Ig)(t)}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){const i=this._cleanupFontValue(t);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){const i=this._cleanupFontValue(t);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_splitIconName(t){if(!t)return["",""];const i=t.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&t.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){const t=this._elementRef.nativeElement;let i=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const a=t.childNodes[i];(1!==a.nodeType||"svg"===a.nodeName.toLowerCase())&&a.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const t=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(a=>a.length>0);this._previousFontSetClass.forEach(a=>t.classList.remove(a)),i.forEach(a=>t.classList.add(a)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return"string"==typeof t?t.trim().split(" ")[0]:t}_prependPathToReferences(t){const i=this._elementsWithExternalReferences;i&&i.forEach((a,l)=>{a.forEach(h=>{l.setAttribute(h.name,`url('${t}#${h.value}')`)})})}_cacheChildrenWithExternalReferences(t){const i=t.querySelectorAll(el),a=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let l=0;l{const E=i[l],B=E.getAttribute(h),oe=B?B.match(us):null;if(oe){let xe=a.get(E);xe||(xe=[],a.set(E,xe)),xe.push({name:h,value:oe[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){const[i,a]=this._splitIconName(t);i&&(this._svgNamespace=i),a&&(this._svgName=a),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(a,i).pipe((0,yn.q)(1)).subscribe(l=>this._setSvgElement(l),l=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${a}! ${l.message}`))})}}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(es),e.$8M("aria-hidden"),e.Y36(E_),e.Y36(e.qLn),e.Y36(Id,8))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(t,i){2&t&&(e.uIk("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet)("fontIcon",i._usingFontIcon()?i.fontIcon:null),e.ekj("mat-icon-inline",i.inline)("mat-icon-no-color","primary"!==i.color&&"accent"!==i.color&&"warn"!==i.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[e.qOj],ngContentSelectors:Gl,decls:1,vars:0,template:function(t,i){1&t&&(e.F$t(),e.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0}),n})(),Ps=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[b.BQ,b.BQ]}),n})();var rn=C(4623),_s=C(3101),Wc=C(3900),jl=C(1005);const ca=["mat-menu-item",""];function Rd(n,o){1&n&&(e.O4$(),e.TgZ(0,"svg",2),e._UZ(1,"polygon",3),e.qZA())}const Cu=["*"];function vu(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",0),e.NdJ("keydown",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l._handleKeydown(a))})("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.closed.emit("click"))})("@transformMenu.start",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l._onAnimationStart(a))})("@transformMenu.done",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l._onAnimationDone(a))}),e.TgZ(1,"div",1),e.Hsn(2),e.qZA()()}if(2&n){const t=e.oxw();e.Q6J("id",t.panelId)("ngClass",t._classList)("@transformMenu",t._panelAnimationState),e.uIk("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby||null)("aria-describedby",t.ariaDescribedby||null)}}const Wl={transformMenu:(0,ne.X$)("transformMenu",[(0,ne.SB)("void",(0,ne.oB)({opacity:0,transform:"scale(0.8)"})),(0,ne.eR)("void => enter",(0,ne.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ne.oB)({opacity:1,transform:"scale(1)"}))),(0,ne.eR)("* => void",(0,ne.jt)("100ms 25ms linear",(0,ne.oB)({opacity:0})))]),fadeInItems:(0,ne.X$)("fadeInItems",[(0,ne.SB)("showing",(0,ne.oB)({opacity:1})),(0,ne.eR)("void => *",[(0,ne.oB)({opacity:0}),(0,ne.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Np=new e.OlP("MatMenuContent"),tl=new e.OlP("MAT_MENU_PANEL"),A_=(0,b.Kr)((0,b.Id)(class{}));let xl=(()=>{class n extends A_{constructor(t,i,a,l,h){var E;super(),this._elementRef=t,this._document=i,this._focusMonitor=a,this._parentMenu=l,this._changeDetectorRef=h,this.role="menuitem",this._hovered=new Ye.x,this._focused=new Ye.x,this._highlighted=!1,this._triggersSubmenu=!1,null===(E=null==l?void 0:l.addItem)||void 0===E||E.call(l,this)}focus(t,i){this._focusMonitor&&t?this._focusMonitor.focusVia(this._getHostElement(),t,i):this._getHostElement().focus(i),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var t;const i=this._elementRef.nativeElement.cloneNode(!0),a=i.querySelectorAll("mat-icon, .material-icons");for(let l=0;l{class n{constructor(t,i,a,l){this._elementRef=t,this._ngZone=i,this._defaultOptions=a,this._changeDetectorRef=l,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new e.n_E,this._tabSubscription=Ta.w0.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new Ye.x,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new e.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+Nd++}get xPosition(){return this._xPosition}set xPosition(t){this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=(0,le.Ig)(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=(0,le.Ig)(t)}set panelClass(t){const i=this._previousPanelClass;i&&i.length&&i.split(" ").forEach(a=>{this._classList[a]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(a=>{this._classList[a]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Ge.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,mt.O)(this._directDescendantItems),(0,Wc.w)(t=>(0,ma.T)(...t.map(i=>i._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t)),this._directDescendantItems.changes.subscribe(t=>{var i;const a=this._keyManager;if("enter"===this._panelAnimationState&&(null===(i=a.activeItem)||void 0===i?void 0:i._hasFocus())){const l=t.toArray(),h=Math.max(0,Math.min(l.length-1,a.activeItemIndex||0));l[h]&&!l[h].disabled?a.setActiveItem(h):a.setNextItemActive()}})}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe((0,mt.O)(this._directDescendantItems),(0,Wc.w)(i=>(0,ma.T)(...i.map(a=>a._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){const i=t.keyCode,a=this._keyManager;switch(i){case tt.hY:(0,tt.Vb)(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case tt.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case tt.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(i===tt.LH||i===tt.JH)&&a.setFocusOrigin("keyboard"),void a.onKeydown(t)}t.stopPropagation()}focusFirstItem(t="program"){this._ngZone.onStable.pipe((0,yn.q)(1)).subscribe(()=>{let i=null;if(this._directDescendantItems.length&&(i=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!i||!i.contains(document.activeElement)){const a=this._keyManager;a.setFocusOrigin(t).setFirstItemActive(),!a.activeItem&&i&&i.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){const i=Math.min(this._baseElevation+t,24),a=`${this._elevationPrefix}${i}`,l=Object.keys(this._classList).find(h=>h.startsWith(this._elevationPrefix));(!l||l===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[a]=!0,this._previousElevation=a)}setPositionClasses(t=this.xPosition,i=this.yPosition){var a;const l=this._classList;l["mat-menu-before"]="before"===t,l["mat-menu-after"]="after"===t,l["mat-menu-above"]="above"===i,l["mat-menu-below"]="below"===i,null===(a=this._changeDetectorRef)||void 0===a||a.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,mt.O)(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(Yo),e.Y36(e.sBO))},n.\u0275dir=e.lG2({type:n,contentQueries:function(t,i,a){if(1&t&&(e.Suo(a,Np,5),e.Suo(a,xl,5),e.Suo(a,xl,4)),2&t){let l;e.iGM(l=e.CRH())&&(i.lazyContent=l.first),e.iGM(l=e.CRH())&&(i._allItems=l),e.iGM(l=e.CRH())&&(i.items=l)}},viewQuery:function(t,i){if(1&t&&e.Gf(e.Rgc,5),2&t){let a;e.iGM(a=e.CRH())&&(i.templateRef=a.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),n})(),Ho=(()=>{class n extends ts{constructor(t,i,a,l){super(t,i,a,l),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(Yo),e.Y36(e.sBO))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(t,i){2&t&&e.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[e._Bn([{provide:tl,useExisting:n}]),e.qOj],ngContentSelectors:Cu,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(t,i){1&t&&(e.F$t(),e.YNc(0,vu,3,6,"ng-template"))},dependencies:[_e.mk],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px;position:relative}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[Wl.transformMenu,Wl.fadeInItems]},changeDetection:0}),n})();const Bd=new e.OlP("mat-menu-scroll-strategy"),P={provide:Bd,deps:[xt.aV],useFactory:function O(n){return()=>n.scrollStrategies.reposition()}},Z=(0,Le.i$)({passive:!0});let Q=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe){this._overlay=t,this._element=i,this._viewContainerRef=a,this._menuItemInstance=E,this._dir=B,this._focusMonitor=oe,this._ngZone=xe,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=Ta.w0.EMPTY,this._hoverSubscription=Ta.w0.EMPTY,this._menuCloseSubscription=Ta.w0.EMPTY,this._handleTouchStart=Ve=>{(0,Ge.yG)(Ve)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new e.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new e.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=l,this._parentMaterialMenu=h instanceof ts?h:void 0,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,Z),E&&(E._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.subscribe(i=>{this._destroyMenu(i),("click"===i||"tab"===i)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(i)})))}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Z),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const t=this.menu;if(this._menuOpen||!t)return;const i=this._createOverlay(t),a=i.getConfig(),l=a.positionStrategy;this._setPosition(t,l),a.hasBackdrop=null==t.hasBackdrop?!this.triggersSubmenu():t.hasBackdrop,i.attach(this._getPortal(t)),t.lazyContent&&t.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(t),t instanceof ts&&(t._startAnimation(),t._directDescendantItems.changes.pipe((0,$i.R)(t.close)).subscribe(()=>{l.withLockedPosition(!1).reapplyLastPosition(),l.withLockedPosition(!0)}))}closeMenu(){var t;null===(t=this.menu)||void 0===t||t.close.emit()}focus(t,i){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,i):this._element.nativeElement.focus(i)}updatePosition(){var t;null===(t=this._overlayRef)||void 0===t||t.updatePosition()}_destroyMenu(t){var i;if(!this._overlayRef||!this.menuOpen)return;const a=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===t||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,a instanceof ts?(a._resetAnimation(),a.lazyContent?a._animationDone.pipe((0,Mo.h)(l=>"void"===l.toState),(0,yn.q)(1),(0,$i.R)(a.lazyContent._attached)).subscribe({next:()=>a.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),null===(i=null==a?void 0:a.lazyContent)||void 0===i||i.detach())}_initMenu(t){t.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,t.direction=this.dir,this._setMenuElevation(t),t.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(t){if(t.setElevation){let i=0,a=t.parentMenu;for(;a;)i++,a=a.parentMenu;t.setElevation(i)}}_setIsMenuOpen(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(t)}_createOverlay(t){if(!this._overlayRef){const i=this._getOverlayConfig(t);this._subscribeToPositions(t,i.positionStrategy),this._overlayRef=this._overlay.create(i),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(t){return new xt.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:t.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:t.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t,i){t.setPositionClasses&&i.positionChanges.subscribe(a=>{const l="start"===a.connectionPair.overlayX?"after":"before",h="top"===a.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>t.setPositionClasses(l,h)):t.setPositionClasses(l,h)})}_setPosition(t,i){let[a,l]="before"===t.xPosition?["end","start"]:["start","end"],[h,E]="above"===t.yPosition?["bottom","top"]:["top","bottom"],[B,oe]=[h,E],[xe,Ve]=[a,l],lt=0;if(this.triggersSubmenu()){if(Ve=a="before"===t.xPosition?"start":"end",l=xe="end"===a?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Ft=this._parentMaterialMenu.items.first;this._parentInnerPadding=Ft?Ft._getHostElement().offsetTop:0}lt="bottom"===h?this._parentInnerPadding:-this._parentInnerPadding}}else t.overlapTrigger||(B="top"===h?"bottom":"top",oe="top"===E?"bottom":"top");i.withPositions([{originX:a,originY:B,overlayX:xe,overlayY:h,offsetY:lt},{originX:l,originY:B,overlayX:Ve,overlayY:h,offsetY:lt},{originX:a,originY:oe,overlayX:xe,overlayY:E,offsetY:-lt},{originX:l,originY:oe,overlayX:Ve,overlayY:E,offsetY:-lt}])}_menuClosingActions(){const t=this._overlayRef.backdropClick(),i=this._overlayRef.detachments(),a=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,ie.of)(),l=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,Mo.h)(h=>h!==this._menuItemInstance),(0,Mo.h)(()=>this._menuOpen)):(0,ie.of)();return(0,ma.T)(t,a,l,i)}_handleMousedown(t){(0,Ge.X6)(t)||(this._openedBy=0===t.button?"mouse":void 0,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){const i=t.keyCode;(i===tt.K5||i===tt.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(i===tt.SV&&"ltr"===this.dir||i===tt.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,Mo.h)(t=>t===this._menuItemInstance&&!t.disabled),(0,jl.g)(0,_s.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof ts&&this.menu._isAnimating?this.menu._animationDone.pipe((0,yn.q)(1),(0,jl.g)(0,_s.E),(0,$i.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(t){return(!this._portal||this._portal.templateRef!==t.templateRef)&&(this._portal=new at.UE(t.templateRef,this._viewContainerRef)),this._portal}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(xt.aV),e.Y36(e.SBq),e.Y36(e.s_b),e.Y36(Bd),e.Y36(tl,8),e.Y36(xl,10),e.Y36(Oe.Is,8),e.Y36(Ge.tE),e.Y36(e.R0b))},n.\u0275dir=e.lG2({type:n,hostVars:3,hostBindings:function(t,i){1&t&&e.NdJ("click",function(l){return i._handleClick(l)})("mousedown",function(l){return i._handleMousedown(l)})("keydown",function(l){return i._handleKeydown(l)}),2&t&&e.uIk("aria-haspopup",i.menu?"menu":null)("aria-expanded",i.menuOpen||null)("aria-controls",i.menuOpen?i.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),n})(),pe=(()=>{class n extends Q{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[e.qOj]}),n})(),ve=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[P],imports:[_e.ez,b.BQ,b.si,xt.U8,Nn.ZD,b.BQ]}),n})();var Be=C(4107),At=C(5113);const gi=["tooltip"],mn="tooltip-panel",Pn=(0,Le.i$)({passive:!0}),Wa=new e.OlP("mat-tooltip-scroll-strategy"),il={provide:Wa,deps:[xt.aV],useFactory:function fo(n){return()=>n.scrollStrategies.reposition({scrollThrottle:20})}},aa=new e.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function da(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let bl=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt,Ft){this._overlay=t,this._elementRef=i,this._scrollDispatcher=a,this._viewContainerRef=l,this._ngZone=h,this._platform=E,this._ariaDescriber=B,this._focusMonitor=oe,this._dir=Ve,this._defaultOptions=lt,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new Ye.x,this._scrollStrategy=xe,this._document=Ft,lt&&(lt.position&&(this.position=lt.position),lt.touchGestures&&(this.touchGestures=lt.touchGestures)),Ve.change.pipe((0,$i.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(t){var i;t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(i=this._tooltipInstance)||void 0===i||i.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,le.Ig)(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(t){this._showDelay=(0,le.su)(t)}get hideDelay(){return this._hideDelay}set hideDelay(t){this._hideDelay=(0,le.su)(t),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=t?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,$i.R)(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,a])=>{t.removeEventListener(i,a,Pn)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay){var i;if(this.disabled||!this.message||this._isTooltipVisible())return void(null===(i=this._tooltipInstance)||void 0===i||i._cancelPendingAnimations());const a=this._createOverlay();this._detach(),this._portal=this._portal||new at.C5(this._tooltipComponent,this._viewContainerRef);const l=this._tooltipInstance=a.attach(this._portal).instance;l._triggerElement=this._elementRef.nativeElement,l._mouseLeaveHideDelay=this._hideDelay,l.afterHidden().pipe((0,$i.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),l.show(t)}hide(t=this.hideDelay){const i=this._tooltipInstance;i&&(i.isVisible()?i.hide(t):(i._cancelPendingAnimations(),this._detach()))}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){var t;if(this._overlayRef)return this._overlayRef;const i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),a=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return a.positionChanges.pipe((0,$i.R)(this._destroyed)).subscribe(l=>{this._updateCurrentPositionClass(l.connectionPair),this._tooltipInstance&&l.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:a,panelClass:`${this._cssClassPrefix}-${mn}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,$i.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,$i.R)(this._destroyed)).subscribe(()=>{var l;return null===(l=this._tooltipInstance)||void 0===l?void 0:l._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe((0,$i.R)(this._destroyed)).subscribe(l=>{this._isTooltipVisible()&&l.keyCode===tt.hY&&!(0,tt.Vb)(l)&&(l.preventDefault(),l.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),!(null===(t=this._defaultOptions)||void 0===t)&&t.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){const i=t.getConfig().positionStrategy,a=this._getOrigin(),l=this._getOverlayPosition();i.withPositions([this._addOffset(Object.assign(Object.assign({},a.main),l.main)),this._addOffset(Object.assign(Object.assign({},a.fallback),l.fallback))])}_addOffset(t){return t}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,i=this.position;let a;"above"==i||"below"==i?a={originX:"center",originY:"above"==i?"top":"bottom"}:"before"==i||"left"==i&&t||"right"==i&&!t?a={originX:"start",originY:"center"}:("after"==i||"right"==i&&t||"left"==i&&!t)&&(a={originX:"end",originY:"center"});const{x:l,y:h}=this._invertPosition(a.originX,a.originY);return{main:a,fallback:{originX:l,originY:h}}}_getOverlayPosition(){const t=!this._dir||"ltr"==this._dir.value,i=this.position;let a;"above"==i?a={overlayX:"center",overlayY:"bottom"}:"below"==i?a={overlayX:"center",overlayY:"top"}:"before"==i||"left"==i&&t||"right"==i&&!t?a={overlayX:"end",overlayY:"center"}:("after"==i||"right"==i&&t||"left"==i&&!t)&&(a={overlayX:"start",overlayY:"center"});const{x:l,y:h}=this._invertPosition(a.overlayX,a.overlayY);return{main:a,fallback:{overlayX:l,overlayY:h}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,yn.q)(1),(0,$i.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,i){return"above"===this.position||"below"===this.position?"top"===i?i="bottom":"bottom"===i&&(i="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:i}}_updateCurrentPositionClass(t){const{overlayY:i,originX:a,originY:l}=t;let h;if(h="center"===i?this._dir&&"rtl"===this._dir.value?"end"===a?"left":"right":"start"===a?"left":"right":"bottom"===i&&"top"===l?"above":"below",h!==this._currentPosition){const E=this._overlayRef;if(E){const B=`${this._cssClassPrefix}-${mn}-`;E.removePanelClass(B+this._currentPosition),E.addPanelClass(B+h)}this._currentPosition=h}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",i=>{var a;const l=i.relatedTarget;(!l||null===(a=this._overlayRef)||void 0===a||!a.overlayElement.contains(l))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",i],["touchcancel",i])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([i,a])=>{this._elementRef.nativeElement.addEventListener(i,a,Pn)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){const i=this._document.elementFromPoint(t.clientX,t.clientY),a=this._elementRef.nativeElement;i!==a&&!a.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){const t=this.touchGestures;if("off"!==t){const i=this._elementRef.nativeElement,a=i.style;("on"===t||"INPUT"!==i.nodeName&&"TEXTAREA"!==i.nodeName)&&(a.userSelect=a.msUserSelect=a.webkitUserSelect=a.MozUserSelect="none"),("on"===t||!i.draggable)&&(a.webkitUserDrag="none"),a.touchAction="none",a.webkitTapHighlightColor="transparent"}}}return n.\u0275fac=function(t){e.$Z()},n.\u0275dir=e.lG2({type:n,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),n})(),Xn=(()=>{class n extends bl{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt,Ft){super(t,i,a,l,h,E,B,oe,xe,Ve,lt,Ft),this._tooltipComponent=qc}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(xt.aV),e.Y36(e.SBq),e.Y36(Nn.mF),e.Y36(e.s_b),e.Y36(e.R0b),e.Y36(Le.t4),e.Y36(Ge.$s),e.Y36(Ge.tE),e.Y36(Wa),e.Y36(Oe.Is,8),e.Y36(aa,8),e.Y36(_e.K0))},n.\u0275dir=e.lG2({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[e.qOj]}),n})(),Ud=(()=>{class n{constructor(t,i){this._changeDetectorRef=t,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new Ye.x,this._animationsDisabled="NoopAnimations"===i}show(t){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},t)}hide(t){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},t)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:t}){(!t||!this._triggerElement.contains(t))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:t}){(t===this._showAnimation||t===this._hideAnimation)&&this._finalizeAnimation(t===this._showAnimation)}_cancelPendingAnimations(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(t){t?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(t){const i=this._tooltip.nativeElement,a=this._showAnimation,l=this._hideAnimation;if(i.classList.remove(t?l:a),i.classList.add(t?a:l),this._isVisible=t,t&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const h=getComputedStyle(i);("0s"===h.getPropertyValue("animation-duration")||"none"===h.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}t&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(t))}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.sBO),e.Y36(e.QbO,8))},n.\u0275dir=e.lG2({type:n}),n})(),qc=(()=>{class n extends Ud{constructor(t,i,a){super(t,a),this._breakpointObserver=i,this._isHandset=this._breakpointObserver.observe(At.u3.Handset),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.sBO),e.Y36(At.Yg),e.Y36(e.QbO,8))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-tooltip-component"]],viewQuery:function(t,i){if(1&t&&e.Gf(gi,7),2&t){let a;e.iGM(a=e.CRH())&&(i._tooltip=a.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,i){1&t&&e.NdJ("mouseleave",function(l){return i._handleMouseLeave(l)}),2&t&&e.Udp("zoom",i.isVisible()?1:null)},features:[e.qOj],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(t,i){if(1&t&&(e.TgZ(0,"div",0,1),e.NdJ("animationend",function(l){return i._handleAnimationEnd(l)}),e.ALo(2,"async"),e._uU(3),e.qZA()),2&t){let a;e.ekj("mat-tooltip-handset",null==(a=e.lcZ(2,4,i._isHandset))?null:a.matches),e.Q6J("ngClass",i.tooltipClass),e.xp6(3),e.Oqu(i.message)}},dependencies:[_e.mk,_e.Ov],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}"],encapsulation:2,changeDetection:0}),n})(),gc=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[il],imports:[Ge.rt,_e.ez,xt.U8,b.BQ,b.BQ,Nn.ZD]}),n})();function nl(n,o){if(1&n&&(e.TgZ(0,"mat-option",19),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function L_(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field",16)(1,"mat-select",17),e.NdJ("selectionChange",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l._changePageSize(a.value))}),e.YNc(2,nl,2,2,"mat-option",18),e.qZA()()}if(2&n){const t=e.oxw(2);e.Q6J("appearance",t._formFieldAppearance)("color",t.color),e.xp6(1),e.Q6J("value",t.pageSize)("disabled",t.disabled)("panelClass",t.selectConfig.panelClass||"")("disableOptionCentering",t.selectConfig.disableOptionCentering)("aria-label",t._intl.itemsPerPageLabel),e.xp6(1),e.Q6J("ngForOf",t._displayedPageSizeOptions)}}function so(n,o){if(1&n&&(e.TgZ(0,"div",20),e._uU(1),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Oqu(t.pageSize)}}function Rs(n,o){if(1&n&&(e.TgZ(0,"div",12)(1,"div",13),e._uU(2),e.qZA(),e.YNc(3,L_,3,8,"mat-form-field",14),e.YNc(4,so,2,1,"div",15),e.qZA()),2&n){const t=e.oxw();e.xp6(2),e.hij(" ",t._intl.itemsPerPageLabel," "),e.xp6(1),e.Q6J("ngIf",t._displayedPageSizeOptions.length>1),e.xp6(1),e.Q6J("ngIf",t._displayedPageSizeOptions.length<=1)}}function fc(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",21),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.firstPage())}),e.O4$(),e.TgZ(1,"svg",7),e._UZ(2,"path",22),e.qZA()()}if(2&n){const t=e.oxw();e.Q6J("matTooltip",t._intl.firstPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",t._previousButtonsDisabled()),e.uIk("aria-label",t._intl.firstPageLabel)}}function bu(n,o){if(1&n){const t=e.EpF();e.O4$(),e.kcU(),e.TgZ(0,"button",23),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.lastPage())}),e.O4$(),e.TgZ(1,"svg",7),e._UZ(2,"path",24),e.qZA()()}if(2&n){const t=e.oxw();e.Q6J("matTooltip",t._intl.lastPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",t._nextButtonsDisabled()),e.uIk("aria-label",t._intl.lastPageLabel)}}let Fs=(()=>{class n{constructor(){this.changes=new Ye.x,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(t,i,a)=>{if(0==a||0==i)return`0 of ${a}`;const l=t*i;return`${l+1} \u2013 ${l<(a=Math.max(a,0))?Math.min(l+i,a):l+i} of ${a}`}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const yu={provide:Fs,deps:[[new e.FiY,new e.tp0,Fs]],useFactory:function Bp(n){return n||new Fs}},Jc=new e.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),Yp=(0,b.Id)((0,b.dB)(class{}));let Zd=(()=>{class n extends Yp{constructor(t,i,a){if(super(),this._intl=t,this._changeDetectorRef=i,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.selectConfig={},this.page=new e.vpe,this._intlChanges=t.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),a){const{pageSize:l,pageSizeOptions:h,hidePageSize:E,showFirstLastButtons:B}=a;null!=l&&(this._pageSize=l),null!=h&&(this._pageSizeOptions=h),null!=E&&(this._hidePageSize=E),null!=B&&(this._showFirstLastButtons=B)}}get pageIndex(){return this._pageIndex}set pageIndex(t){this._pageIndex=Math.max((0,le.su)(t),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(t){this._length=(0,le.su)(t),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(t){this._pageSize=Math.max((0,le.su)(t),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(t){this._pageSizeOptions=(t||[]).map(i=>(0,le.su)(i)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(t){this._hidePageSize=(0,le.Ig)(t)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(t){this._showFirstLastButtons=(0,le.Ig)(t)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(t)}previousPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(t)}firstPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex=0,this._emitPageEvent(t)}lastPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(t)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const t=this.getNumberOfPages()-1;return this.pageIndext-i),this._changeDetectorRef.markForCheck())}_emitPageEvent(t){this.page.emit({previousPageIndex:t,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return n.\u0275fac=function(t){e.$Z()},n.\u0275dir=e.lG2({type:n,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[e.qOj]}),n})(),Co=(()=>{class n extends Zd{constructor(t,i,a){super(t,i,a),a&&null!=a.formFieldAppearance&&(this._formFieldAppearance=a.formFieldAppearance)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Fs),e.Y36(e.sBO),e.Y36(Jc,8))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[e.qOj],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","panelClass","disableOptionCentering","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,Rs,5,3,"div",2),e.TgZ(3,"div",3)(4,"div",4),e._uU(5),e.qZA(),e.YNc(6,fc,3,5,"button",5),e.TgZ(7,"button",6),e.NdJ("click",function(){return i.previousPage()}),e.O4$(),e.TgZ(8,"svg",7),e._UZ(9,"path",8),e.qZA()(),e.kcU(),e.TgZ(10,"button",9),e.NdJ("click",function(){return i.nextPage()}),e.O4$(),e.TgZ(11,"svg",7),e._UZ(12,"path",10),e.qZA()(),e.YNc(13,bu,3,5,"button",11),e.qZA()()()),2&t&&(e.xp6(2),e.Q6J("ngIf",!i.hidePageSize),e.xp6(3),e.hij(" ",i._intl.getRangeLabel(i.pageIndex,i.pageSize,i.length)," "),e.xp6(1),e.Q6J("ngIf",i.showFirstLastButtons),e.xp6(1),e.Q6J("matTooltip",i._intl.previousPageLabel)("matTooltipDisabled",i._previousButtonsDisabled())("matTooltipPosition","above")("disabled",i._previousButtonsDisabled()),e.uIk("aria-label",i._intl.previousPageLabel),e.xp6(3),e.Q6J("matTooltip",i._intl.nextPageLabel)("matTooltipDisabled",i._nextButtonsDisabled())("matTooltipPosition","above")("disabled",i._nextButtonsDisabled()),e.uIk("aria-label",i._intl.nextPageLabel),e.xp6(3),e.Q6J("ngIf",i.showFirstLastButtons))},dependencies:[_e.sg,_e.O5,Y.lW,Rt.KE,Be.gD,b.ey,Xn],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{display:inline-block;width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}"],encapsulation:2,changeDetection:0}),n})(),ms=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[yu],imports:[_e.ez,Y.ot,Be.LD,gc,b.BQ]}),n})();var is=C(4968);const Yd=["primaryValueBar"],Hd=(0,b.pj)(class{constructor(n){this._elementRef=n}},"primary"),Tu=new e.OlP("mat-progress-bar-location",{providedIn:"root",factory:function Mu(){const n=(0,e.f3M)(_e.K0),o=n?n.location:null;return{getPathname:()=>o?o.pathname+o.search:""}}}),Cc=new e.OlP("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");let vc=0,Du=(()=>{class n extends Hd{constructor(t,i,a,l,h,E){super(t),this._ngZone=i,this._animationMode=a,this._changeDetectorRef=E,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new e.vpe,this._animationEndSubscription=Ta.w0.EMPTY,this.mode="determinate",this.progressbarId="mat-progress-bar-"+vc++;const B=l?l.getPathname().split("#")[0]:"";this._rectangleFillValue=`url('${B}#${this.progressbarId}')`,this._isNoopAnimation="NoopAnimations"===a,h&&(h.color&&(this.color=this.defaultColor=h.color),this.mode=h.mode||this.mode)}get value(){return this._value}set value(t){var i;this._value=Vo((0,le.su)(t)||0),null===(i=this._changeDetectorRef)||void 0===i||i.markForCheck()}get bufferValue(){return this._bufferValue}set bufferValue(t){var i;this._bufferValue=Vo(t||0),null===(i=this._changeDetectorRef)||void 0===i||i.markForCheck()}_primaryTransform(){return{transform:`scale3d(${this.value/100}, 1, 1)`}}_bufferTransform(){return"buffer"===this.mode?{transform:`scale3d(${this.bufferValue/100}, 1, 1)`}:null}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{const t=this._primaryValueBar.nativeElement;this._animationEndSubscription=(0,is.R)(t,"transitionend").pipe((0,Mo.h)(i=>i.target===t)).subscribe(()=>{0!==this.animationEnd.observers.length&&("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))})})}ngOnDestroy(){this._animationEndSubscription.unsubscribe()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(e.QbO,8),e.Y36(Tu,8),e.Y36(Cc,8),e.Y36(e.sBO))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-progress-bar"]],viewQuery:function(t,i){if(1&t&&e.Gf(Yd,5),2&t){let a;e.iGM(a=e.CRH())&&(i._primaryValueBar=a.first)}},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-progress-bar"],hostVars:4,hostBindings:function(t,i){2&t&&(e.uIk("aria-valuenow","indeterminate"===i.mode||"query"===i.mode?null:i.value)("mode",i.mode),e.ekj("_mat-animation-noopable",i._isNoopAnimation))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[e.qOj],decls:10,vars:4,consts:[["aria-hidden","true"],["width","100%","height","4","focusable","false",1,"mat-progress-bar-background","mat-progress-bar-element"],["x","4","y","0","width","8","height","4","patternUnits","userSpaceOnUse",3,"id"],["cx","2","cy","2","r","2"],["width","100%","height","100%"],[1,"mat-progress-bar-buffer","mat-progress-bar-element",3,"ngStyle"],[1,"mat-progress-bar-primary","mat-progress-bar-fill","mat-progress-bar-element",3,"ngStyle"],["primaryValueBar",""],[1,"mat-progress-bar-secondary","mat-progress-bar-fill","mat-progress-bar-element"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.O4$(),e.TgZ(1,"svg",1)(2,"defs")(3,"pattern",2),e._UZ(4,"circle",3),e.qZA()(),e._UZ(5,"rect",4),e.qZA(),e.kcU(),e._UZ(6,"div",5)(7,"div",6,7)(9,"div",8),e.qZA()),2&t&&(e.xp6(3),e.Q6J("id",i.progressbarId),e.xp6(2),e.uIk("fill",i._rectangleFillValue),e.xp6(1),e.Q6J("ngStyle",i._bufferTransform()),e.xp6(1),e.Q6J("ngStyle",i._primaryTransform()))},dependencies:[_e.PC],styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}.mat-progress-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:"";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}'],encapsulation:2,changeDetection:0}),n})();function Vo(n,o=0,t=100){return Math.max(o,Math.min(t,n))}let lo=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[_e.ez,b.BQ,b.BQ]}),n})();function al(n,o){if(1&n&&(e.O4$(),e._UZ(0,"circle",4)),2&n){const t=e.oxw(),i=e.MAs(1);e.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%")("transform-origin",t._getCircleTransformOrigin(i)),e.uIk("r",t._getCircleRadius())}}function xc(n,o){if(1&n&&(e.O4$(),e._UZ(0,"circle",4)),2&n){const t=e.oxw(),i=e.MAs(1);e.Udp("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%")("transform-origin",t._getCircleTransformOrigin(i)),e.uIk("r",t._getCircleRadius())}}const Eu=(0,b.pj)(class{constructor(n){this._elementRef=n}},"primary"),yl=new e.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function ol(){return{diameter:100}}});class fn extends Eu{constructor(o,t,i,a,l,h,E,B){super(o),this._document=i,this._diameter=100,this._value=0,this._resizeSubscription=Ta.w0.EMPTY,this.mode="determinate";const oe=fn._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),oe.has(i.head)||oe.set(i.head,new Set([100])),this._noopAnimations="NoopAnimations"===a&&!!l&&!l._forceAnimations,"mat-spinner"===o.nativeElement.nodeName.toLowerCase()&&(this.mode="indeterminate"),l&&(l.color&&(this.color=this.defaultColor=l.color),l.diameter&&(this.diameter=l.diameter),l.strokeWidth&&(this.strokeWidth=l.strokeWidth)),t.isBrowser&&t.SAFARI&&E&&h&&B&&(this._resizeSubscription=E.change(150).subscribe(()=>{"indeterminate"===this.mode&&B.run(()=>h.markForCheck())}))}get diameter(){return this._diameter}set diameter(o){this._diameter=(0,le.su)(o),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(o){this._strokeWidth=(0,le.su)(o)}get value(){return"determinate"===this.mode?this._value:0}set value(o){this._value=Math.max(0,Math.min(100,(0,le.su)(o)))}ngOnInit(){const o=this._elementRef.nativeElement;this._styleRoot=(0,Le.kV)(o)||this._document.head,this._attachStyleNode(),o.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const o=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${o} ${o}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_getCircleTransformOrigin(o){var t;const i=50*(null!==(t=o.currentScale)&&void 0!==t?t:1);return`${i}% ${i}%`}_attachStyleNode(){const o=this._styleRoot,t=this._diameter,i=fn._diameters;let a=i.get(o);if(!a||!a.has(t)){const l=this._document.createElement("style");l.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),l.textContent=this._getAnimationText(),o.appendChild(l),a||(a=new Set,i.set(o,a)),a.add(t)}}_getAnimationText(){const o=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*o).replace(/END_VALUE/g,""+.2*o).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}fn._diameters=new WeakMap,fn.\u0275fac=function(o){return new(o||fn)(e.Y36(e.SBq),e.Y36(Le.t4),e.Y36(_e.K0,8),e.Y36(e.QbO,8),e.Y36(yl),e.Y36(e.sBO),e.Y36(Nn.rL),e.Y36(e.R0b))},fn.\u0275cmp=e.Xpm({type:fn,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(o,t){2&o&&(e.uIk("aria-valuemin","determinate"===t.mode?0:null)("aria-valuemax","determinate"===t.mode?100:null)("aria-valuenow","determinate"===t.mode?t.value:null)("mode",t.mode),e.Udp("width",t.diameter,"px")("height",t.diameter,"px"),e.ekj("_mat-animation-noopable",t._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[e.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(o,t){1&o&&(e.O4$(),e.TgZ(0,"svg",0,1),e.YNc(2,al,1,11,"circle",2),e.YNc(3,xc,1,9,"circle",3),e.qZA()),2&o&&(e.Udp("width",t.diameter,"px")("height",t.diameter,"px"),e.Q6J("ngSwitch","indeterminate"===t.mode),e.uIk("viewBox",t._getViewBox()),e.xp6(2),e.Q6J("ngSwitchCase",!0),e.xp6(1),e.Q6J("ngSwitchCase",!1))},dependencies:[_e.RF,_e.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:rgba(0,0,0,0);transition:stroke-dashoffset 225ms linear}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}.mat-progress-spinner[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}.mat-progress-spinner._mat-animation-noopable svg,.mat-progress-spinner._mat-animation-noopable circle{animation:none;transition:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}"],encapsulation:2,changeDetection:0});let T=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[b.BQ,_e.ez,b.BQ]}),n})(),Hp=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[b.si,b.BQ,b.BQ]}),n})();var Vt=C(2638),Va=C(2368);let Su=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[_e.ez,b.BQ,b.BQ]}),n})();var fr=C(7261);const I_=["mat-sort-header",""];function Kp(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",3),e.NdJ("@arrowPosition.start",function(){e.CHM(t);const a=e.oxw();return e.KtG(a._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){e.CHM(t);const a=e.oxw();return e.KtG(a._disableViewStateAnimation=!1)}),e._UZ(1,"div",4),e.TgZ(2,"div",5),e._UZ(3,"div",6)(4,"div",7)(5,"div",8),e.qZA()()}if(2&n){const t=e.oxw();e.Q6J("@arrowOpacity",t._getArrowViewState())("@arrowPosition",t._getArrowViewState())("@allowChildren",t._getArrowDirectionState()),e.xp6(2),e.Q6J("@indicator",t._getArrowDirectionState()),e.xp6(1),e.Q6J("@leftPointer",t._getArrowDirectionState()),e.xp6(1),e.Q6J("@rightPointer",t._getArrowDirectionState())}}const Pf=["*"],bc=new e.OlP("MAT_SORT_DEFAULT_OPTIONS"),P_=(0,b.dB)((0,b.Id)(class{}));let Go=(()=>{class n extends P_{constructor(t){super(),this._defaultOptions=t,this.sortables=new Map,this._stateChanges=new Ye.x,this.start="asc",this._direction="",this.sortChange=new e.vpe}get direction(){return this._direction}set direction(t){this._direction=t}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=(0,le.Ig)(t)}register(t){this.sortables.set(t.id,t)}deregister(t){this.sortables.delete(t.id)}sort(t){this.active!=t.id?(this.active=t.id,this.direction=t.start?t.start:this.start):this.direction=this.getNextSortDirection(t),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(t){var i,a,l;if(!t)return"";const h=null!==(a=null!==(i=null==t?void 0:t.disableClear)&&void 0!==i?i:this.disableClear)&&void 0!==a?a:!(null===(l=this._defaultOptions)||void 0===l||!l.disableClear);let E=function Rf(n,o){let t=["asc","desc"];return"desc"==n&&t.reverse(),o||t.push(""),t}(t.start||this.start,h),B=E.indexOf(this.direction)+1;return B>=E.length&&(B=0),E[B]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(bc,8))},n.\u0275dir=e.lG2({type:n,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[e.qOj,e.TTD]}),n})();const Ml=b.mZ.ENTERING+" "+b.yN.STANDARD_CURVE,gs={indicator:(0,ne.X$)("indicator",[(0,ne.SB)("active-asc, asc",(0,ne.oB)({transform:"translateY(0px)"})),(0,ne.SB)("active-desc, desc",(0,ne.oB)({transform:"translateY(10px)"})),(0,ne.eR)("active-asc <=> active-desc",(0,ne.jt)(Ml))]),leftPointer:(0,ne.X$)("leftPointer",[(0,ne.SB)("active-asc, asc",(0,ne.oB)({transform:"rotate(-45deg)"})),(0,ne.SB)("active-desc, desc",(0,ne.oB)({transform:"rotate(45deg)"})),(0,ne.eR)("active-asc <=> active-desc",(0,ne.jt)(Ml))]),rightPointer:(0,ne.X$)("rightPointer",[(0,ne.SB)("active-asc, asc",(0,ne.oB)({transform:"rotate(45deg)"})),(0,ne.SB)("active-desc, desc",(0,ne.oB)({transform:"rotate(-45deg)"})),(0,ne.eR)("active-asc <=> active-desc",(0,ne.jt)(Ml))]),arrowOpacity:(0,ne.X$)("arrowOpacity",[(0,ne.SB)("desc-to-active, asc-to-active, active",(0,ne.oB)({opacity:1})),(0,ne.SB)("desc-to-hint, asc-to-hint, hint",(0,ne.oB)({opacity:.54})),(0,ne.SB)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",(0,ne.oB)({opacity:0})),(0,ne.eR)("* => asc, * => desc, * => active, * => hint, * => void",(0,ne.jt)("0ms")),(0,ne.eR)("* <=> *",(0,ne.jt)(Ml))]),arrowPosition:(0,ne.X$)("arrowPosition",[(0,ne.eR)("* => desc-to-hint, * => desc-to-active",(0,ne.jt)(Ml,(0,ne.F4)([(0,ne.oB)({transform:"translateY(-25%)"}),(0,ne.oB)({transform:"translateY(0)"})]))),(0,ne.eR)("* => hint-to-desc, * => active-to-desc",(0,ne.jt)(Ml,(0,ne.F4)([(0,ne.oB)({transform:"translateY(0)"}),(0,ne.oB)({transform:"translateY(25%)"})]))),(0,ne.eR)("* => asc-to-hint, * => asc-to-active",(0,ne.jt)(Ml,(0,ne.F4)([(0,ne.oB)({transform:"translateY(25%)"}),(0,ne.oB)({transform:"translateY(0)"})]))),(0,ne.eR)("* => hint-to-asc, * => active-to-asc",(0,ne.jt)(Ml,(0,ne.F4)([(0,ne.oB)({transform:"translateY(0)"}),(0,ne.oB)({transform:"translateY(-25%)"})]))),(0,ne.SB)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",(0,ne.oB)({transform:"translateY(0)"})),(0,ne.SB)("hint-to-desc, active-to-desc, desc",(0,ne.oB)({transform:"translateY(-25%)"})),(0,ne.SB)("hint-to-asc, active-to-asc, asc",(0,ne.oB)({transform:"translateY(25%)"}))]),allowChildren:(0,ne.X$)("allowChildren",[(0,ne.eR)("* <=> *",[(0,ne.IO)("@*",(0,ne.pV)(),{optional:!0})])])};let R_=(()=>{class n{constructor(){this.changes=new Ye.x}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const m0={provide:R_,deps:[[new e.FiY,new e.tp0,R_]],useFactory:function wm(n){return n||new R_}},F_=(0,b.Id)(class{});let ns=(()=>{class n extends F_{constructor(t,i,a,l,h,E,B,oe){super(),this._intl=t,this._changeDetectorRef=i,this._sort=a,this._columnDef=l,this._focusMonitor=h,this._elementRef=E,this._ariaDescriber=B,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",null!=oe&&oe.arrowPosition&&(this.arrowPosition=null==oe?void 0:oe.arrowPosition),this._handleStateChanges()}get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(t){this._updateSortActionDescription(t)}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=(0,le.Ig)(t)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{const i=!!t;i!==this._showIndicatorHint&&(this._setIndicatorHintVisible(i),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(t){this._isDisabled()&&t||(this._showIndicatorHint=t,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(t){this._viewState=t||{},this._disableViewStateAnimation&&(this._viewState={toState:t.toState})}_toggleOnInteraction(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(t){!this._isDisabled()&&(t.keyCode===tt.L_||t.keyCode===tt.K5)&&(t.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const t=this._viewState.fromState;return(t?`${t}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(t){var i,a;this._sortButton&&(null===(i=this._ariaDescriber)||void 0===i||i.removeDescription(this._sortButton,this._sortActionDescription),null===(a=this._ariaDescriber)||void 0===a||a.describe(this._sortButton,t)),this._sortActionDescription=t}_handleStateChanges(){this._rerenderSubscription=(0,ma.T)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(R_),e.Y36(e.sBO),e.Y36(Go,8),e.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),e.Y36(Ge.tE),e.Y36(e.SBq),e.Y36(Ge.$s,8),e.Y36(bc,8))},n.\u0275cmp=e.Xpm({type:n,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(t,i){1&t&&e.NdJ("click",function(){return i._handleClick()})("keydown",function(l){return i._handleKeydown(l)})("mouseenter",function(){return i._setIndicatorHintVisible(!0)})("mouseleave",function(){return i._setIndicatorHintVisible(!1)}),2&t&&(e.uIk("aria-sort",i._getAriaSortAttribute()),e.ekj("mat-sort-header-disabled",i._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[e.qOj],attrs:I_,ngContentSelectors:Pf,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(t,i){1&t&&(e.F$t(),e.TgZ(0,"div",0)(1,"div",1),e.Hsn(2),e.qZA(),e.YNc(3,Kp,6,6,"div",2),e.qZA()),2&t&&(e.ekj("mat-sort-header-sorted",i._isSorted())("mat-sort-header-position-before","before"===i.arrowPosition),e.uIk("tabindex",i._isDisabled()?null:0)("role",i._isDisabled()?null:"button"),e.xp6(3),e.Q6J("ngIf",i._renderArrow()))},dependencies:[_e.O5],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],encapsulation:2,data:{animation:[gs.indicator,gs.leftPointer,gs.rightPointer,gs.arrowOpacity,gs.arrowPosition,gs.allowChildren]},changeDetection:0}),n})(),Ff=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[m0],imports:[_e.ez,b.BQ]}),n})();function Sm(n,o){1&n&&e.Hsn(0)}const Am=["*"];let Lm=(()=>{class n{constructor(t){this._elementRef=t}focus(){this._elementRef.nativeElement.focus()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]}),n})(),Om=(()=>{class n{constructor(t){this.template=t}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkStepLabel",""]]}),n})(),Gd=0;const Qc=new e.OlP("STEPPER_GLOBAL_OPTIONS");let N_=(()=>{class n{constructor(t,i){this._stepper=t,this.interacted=!1,this.interactedStream=new e.vpe,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=i||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}get editable(){return this._editable}set editable(t){this._editable=(0,le.Ig)(t)}get optional(){return this._optional}set optional(t){this._optional=(0,le.Ig)(t)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(t){this._completedOverride=(0,le.Ig)(t)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(t){this._customError=(0,le.Ig)(t)}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}select(){this._stepper.selected=this}reset(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){var t;return null!==(t=this._stepperOptions.showError)&&void 0!==t?t:null!=this._customError}}return n.\u0275fac=function(t){return new(t||n)(e.Y36((0,e.Gpc)(()=>Kd)),e.Y36(Qc,8))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cdk-step"]],contentQueries:function(t,i,a){if(1&t&&e.Suo(a,Om,5),2&t){let l;e.iGM(l=e.CRH())&&(i.stepLabel=l.first)}},viewQuery:function(t,i){if(1&t&&e.Gf(e.Rgc,7),2&t){let a;e.iGM(a=e.CRH())&&(i.content=a.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state",editable:"editable",optional:"optional",completed:"completed",hasError:"hasError"},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[e.TTD],ngContentSelectors:Am,decls:1,vars:0,template:function(t,i){1&t&&(e.F$t(),e.YNc(0,Sm,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),n})(),Kd=(()=>{class n{constructor(t,i,a){this._dir=t,this._changeDetectorRef=i,this._elementRef=a,this._destroyed=new Ye.x,this.steps=new e.n_E,this._sortedHeaders=new e.n_E,this._linear=!1,this._selectedIndex=0,this.selectionChange=new e.vpe,this._orientation="horizontal",this._groupId=Gd++}get linear(){return this._linear}set linear(t){this._linear=(0,le.Ig)(t)}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){var i;const a=(0,le.su)(t);this.steps&&this._steps?(this._isValidIndex(a),null===(i=this.selected)||void 0===i||i._markAsInteracted(),this._selectedIndex!==a&&!this._anyControlsInvalidOrPending(a)&&(a>=this._selectedIndex||this.steps.toArray()[a].editable)&&this._updateSelectedItemIndex(a)):this._selectedIndex=a}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(t){this.selectedIndex=t&&this.steps?this.steps.toArray().indexOf(t):-1}get orientation(){return this._orientation}set orientation(t){this._orientation=t,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===t)}ngAfterContentInit(){this._steps.changes.pipe((0,mt.O)(this._steps),(0,$i.R)(this._destroyed)).subscribe(t=>{this.steps.reset(t.filter(i=>i._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe((0,mt.O)(this._stepHeader),(0,$i.R)(this._destroyed)).subscribe(t=>{this._sortedHeaders.reset(t.toArray().sort((i,a)=>i._elementRef.nativeElement.compareDocumentPosition(a._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new Ge.Em(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,ie.of)()).pipe((0,mt.O)(this._layoutDirection()),(0,$i.R)(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(t=>t.reset()),this._stateChanged()}_getStepLabelId(t){return`cdk-step-label-${this._groupId}-${t}`}_getStepContentId(t){return`cdk-step-content-${this._groupId}-${t}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(t){const i=t-this._selectedIndex;return i<0?"rtl"===this._layoutDirection()?"next":"previous":i>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(t,i="number"){const a=this.steps.toArray()[t],l=this._isCurrentStep(t);return a._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(a,l):this._getGuidelineLogic(a,l,i)}_getDefaultIndicatorLogic(t,i){return t._showError()&&t.hasError&&!i?"error":!t.completed||i?"number":t.editable?"edit":"done"}_getGuidelineLogic(t,i,a="number"){return t._showError()&&t.hasError&&!i?"error":t.completed&&!i?"done":t.completed&&i?a:t.editable&&i?"edit":a}_isCurrentStep(t){return this._selectedIndex===t}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(t){const i=this.steps.toArray();this.selectionChange.emit({selectedIndex:t,previouslySelectedIndex:this._selectedIndex,selectedStep:i[t],previouslySelectedStep:i[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(t):this._keyManager.updateActiveItem(t),this._selectedIndex=t,this._stateChanged()}_onKeydown(t){const i=(0,tt.Vb)(t),a=t.keyCode,l=this._keyManager;null==l.activeItemIndex||i||a!==tt.L_&&a!==tt.K5?l.onKeydown(t):(this.selectedIndex=l.activeItemIndex,t.preventDefault())}_anyControlsInvalidOrPending(t){return!!(this._linear&&t>=0)&&this.steps.toArray().slice(0,t).some(i=>{const a=i.stepControl;return(a?a.invalid||a.pending||!i.interacted:!i.completed)&&!i.optional&&!i._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const t=this._elementRef.nativeElement,i=(0,Le.ht)();return t===i||t.contains(i)}_isValidIndex(t){return t>-1&&(!this.steps||t{class n{constructor(t){this._stepper=t,this.type="submit"}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Kd))},n.\u0275dir=e.lG2({type:n,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(t,i){1&t&&e.NdJ("click",function(){return i._stepper.next()}),2&t&&e.Ikx("type",i.type)},inputs:{type:"type"}}),n})(),f0=(()=>{class n{constructor(t){this._stepper=t,this.type="button"}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Kd))},n.\u0275dir=e.lG2({type:n,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(t,i){1&t&&e.NdJ("click",function(){return i._stepper.previous()}),2&t&&e.Ikx("type",i.type)},inputs:{type:"type"}}),n})(),Bf=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[Oe.vT]}),n})();var Uf=C(1884);function jp(n,o){if(1&n&&e.GkF(0,8),2&n){const t=e.oxw();e.Q6J("ngTemplateOutlet",t.iconOverrides[t.state])("ngTemplateOutletContext",t._getIconContext())}}function B_(n,o){if(1&n&&(e.TgZ(0,"span",13),e._uU(1),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Oqu(t._getDefaultTextForState(t.state))}}function Xc(n,o){if(1&n&&(e.TgZ(0,"span",14),e._uU(1),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Oqu(t._intl.completedLabel)}}function km(n,o){if(1&n&&(e.TgZ(0,"span",14),e._uU(1),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Oqu(t._intl.editableLabel)}}function U_(n,o){if(1&n&&(e.TgZ(0,"mat-icon",13),e._uU(1),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Oqu(t._getDefaultTextForState(t.state))}}function ir(n,o){if(1&n&&(e.ynx(0,9),e.YNc(1,B_,2,1,"span",10),e.YNc(2,Xc,2,1,"span",11),e.YNc(3,km,2,1,"span",11),e.YNc(4,U_,2,1,"mat-icon",12),e.BQk()),2&n){const t=e.oxw();e.Q6J("ngSwitch",t.state),e.xp6(1),e.Q6J("ngSwitchCase","number"),e.xp6(1),e.Q6J("ngIf","done"===t.state),e.xp6(1),e.Q6J("ngIf","edit"===t.state)}}function Zf(n,o){if(1&n&&(e.TgZ(0,"div",15),e.GkF(1,16),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngTemplateOutlet",t._templateLabel().template)}}function Im(n,o){if(1&n&&(e.TgZ(0,"div",15),e._uU(1),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Oqu(t.label)}}function oa(n,o){if(1&n&&(e.TgZ(0,"div",17),e._uU(1),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Oqu(t._intl.optionalLabel)}}function ed(n,o){if(1&n&&(e.TgZ(0,"div",18),e._uU(1),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Oqu(t.errorMessage)}}function jd(n,o){}function Wd(n,o){if(1&n&&(e.Hsn(0),e.YNc(1,jd,0,0,"ng-template",0)),2&n){const t=e.oxw();e.xp6(1),e.Q6J("cdkPortalOutlet",t._portal)}}const Yf=["*"];function C0(n,o){1&n&&e._UZ(0,"div",11)}const Au=function(n,o){return{step:n,i:o}};function Hf(n,o){if(1&n&&(e.ynx(0),e.GkF(1,9),e.YNc(2,C0,1,0,"div",10),e.BQk()),2&n){const t=o.$implicit,i=o.index,a=o.last;e.oxw(2);const l=e.MAs(4);e.xp6(1),e.Q6J("ngTemplateOutlet",l)("ngTemplateOutletContext",e.WLB(3,Au,t,i)),e.xp6(1),e.Q6J("ngIf",!a)}}const Wp=function(n){return{animationDuration:n}},Z_=function(n,o){return{value:n,params:o}};function qp(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",12),e.NdJ("@horizontalStepTransition.done",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l._animationDone.next(a))}),e.GkF(1,13),e.qZA()}if(2&n){const t=o.$implicit,i=o.index,a=e.oxw(2);e.ekj("mat-horizontal-stepper-content-inactive",a.selectedIndex!==i),e.Q6J("@horizontalStepTransition",e.WLB(8,Z_,a._getAnimationDirection(i),e.VKq(6,Wp,a._getAnimationDuration())))("id",a._getStepContentId(i)),e.uIk("aria-labelledby",a._getStepLabelId(i)),e.xp6(1),e.Q6J("ngTemplateOutlet",t.content)}}function Jp(n,o){if(1&n&&(e.TgZ(0,"div",4)(1,"div",5),e.YNc(2,Hf,3,6,"ng-container",6),e.qZA(),e.TgZ(3,"div",7),e.YNc(4,qp,2,11,"div",8),e.qZA()()),2&n){const t=e.oxw();e.xp6(2),e.Q6J("ngForOf",t.steps),e.xp6(2),e.Q6J("ngForOf",t.steps)}}function Pm(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",15),e.GkF(1,9),e.TgZ(2,"div",16)(3,"div",17),e.NdJ("@verticalStepTransition.done",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l._animationDone.next(a))}),e.TgZ(4,"div",18),e.GkF(5,13),e.qZA()()()()}if(2&n){const t=o.$implicit,i=o.index,a=o.last,l=e.oxw(2),h=e.MAs(4);e.xp6(1),e.Q6J("ngTemplateOutlet",h)("ngTemplateOutletContext",e.WLB(10,Au,t,i)),e.xp6(1),e.ekj("mat-stepper-vertical-line",!a),e.xp6(1),e.ekj("mat-vertical-stepper-content-inactive",l.selectedIndex!==i),e.Q6J("@verticalStepTransition",e.WLB(15,Z_,l._getAnimationDirection(i),e.VKq(13,Wp,l._getAnimationDuration())))("id",l._getStepContentId(i)),e.uIk("aria-labelledby",l._getStepLabelId(i)),e.xp6(2),e.Q6J("ngTemplateOutlet",t.content)}}function Y_(n,o){if(1&n&&(e.ynx(0),e.YNc(1,Pm,6,18,"div",14),e.BQk()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.steps)}}function Lu(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-step-header",19),e.NdJ("click",function(){const l=e.CHM(t).step;return e.KtG(l.select())})("keydown",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l._onKeydown(a))}),e.qZA()}if(2&n){const t=o.step,i=o.i,a=e.oxw();e.ekj("mat-horizontal-stepper-header","horizontal"===a.orientation)("mat-vertical-stepper-header","vertical"===a.orientation),e.Q6J("tabIndex",a._getFocusIndex()===i?0:-1)("id",a._getStepLabelId(i))("index",i)("state",a._getIndicatorType(i,t.state))("label",t.stepLabel||t.label)("selected",a.selectedIndex===i)("active",a._stepIsNavigable(i,t))("optional",t.optional)("errorMessage",t.errorMessage)("iconOverrides",a._iconOverrides)("disableRipple",a.disableRipple||!a._stepIsNavigable(i,t))("color",t.color||a.color),e.uIk("aria-posinset",i+1)("aria-setsize",a.steps.length)("aria-controls",a._getStepContentId(i))("aria-selected",a.selectedIndex==i)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null)("aria-disabled",!a._stepIsNavigable(i,t)||null)}}let Ou=(()=>{class n extends Om{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["","matStepLabel",""]],features:[e.qOj]}),n})(),td=(()=>{class n{constructor(){this.changes=new Ye.x,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const zp={provide:td,deps:[[new e.FiY,new e.tp0,td]],useFactory:function $p(n){return n||new td}},ku=(0,b.pj)(class extends Lm{constructor(o){super(o)}},"primary");let Rm=(()=>{class n extends ku{constructor(t,i,a,l){super(a),this._intl=t,this._focusMonitor=i,this._intlSubscription=t.changes.subscribe(()=>l.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(t,i){t?this._focusMonitor.focusVia(this._elementRef,t,i):this._elementRef.nativeElement.focus(i)}_stringLabel(){return this.label instanceof Ou?null:this.label}_templateLabel(){return this.label instanceof Ou?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(t){return"number"==t?`${this.index+1}`:"edit"==t?"create":"error"==t?"warning":t}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(td),e.Y36(Ge.tE),e.Y36(e.SBq),e.Y36(e.sBO))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],inputs:{color:"color",state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple"},features:[e.qOj],decls:10,vars:19,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content",3,"ngSwitch"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngSwitch",4,"ngSwitchDefault"],[1,"mat-step-label"],["class","mat-step-text-label",4,"ngIf"],["class","mat-step-optional",4,"ngIf"],["class","mat-step-sub-label-error",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],["aria-hidden","true",4,"ngSwitchCase"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true",4,"ngSwitchDefault"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[1,"mat-step-text-label"],[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(t,i){1&t&&(e._UZ(0,"div",0),e.TgZ(1,"div")(2,"div",1),e.YNc(3,jp,1,2,"ng-container",2),e.YNc(4,ir,5,4,"ng-container",3),e.qZA()(),e.TgZ(5,"div",4),e.YNc(6,Zf,2,1,"div",5),e.YNc(7,Im,2,1,"div",5),e.YNc(8,oa,2,1,"div",6),e.YNc(9,ed,2,1,"div",7),e.qZA()),2&t&&(e.Q6J("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disableRipple),e.xp6(1),e.Gre("mat-step-icon-state-",i.state," mat-step-icon"),e.ekj("mat-step-icon-selected",i.selected),e.xp6(1),e.Q6J("ngSwitch",!(!i.iconOverrides||!i.iconOverrides[i.state])),e.xp6(1),e.Q6J("ngSwitchCase",!0),e.xp6(2),e.ekj("mat-step-label-active",i.active)("mat-step-label-selected",i.selected)("mat-step-label-error","error"==i.state),e.xp6(1),e.Q6J("ngIf",i._templateLabel()),e.xp6(1),e.Q6J("ngIf",i._stringLabel()),e.xp6(1),e.Q6J("ngIf",i.optional&&"error"!=i.state),e.xp6(1),e.Q6J("ngIf","error"==i.state))},dependencies:[_e.O5,_e.tP,_e.RF,_e.n9,_e.ED,So,b.wG],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.cdk-high-contrast-active .mat-step-header[aria-disabled=true]{outline-color:GrayText}.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-label,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-icon,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}.mat-step-optional,.mat-step-sub-label-error{font-size:12px}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,changeDetection:0}),n})();const Nm={horizontalStepTransition:(0,ne.X$)("horizontalStepTransition",[(0,ne.SB)("previous",(0,ne.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),(0,ne.SB)("current",(0,ne.oB)({transform:"none",visibility:"inherit"})),(0,ne.SB)("next",(0,ne.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),(0,ne.eR)("* => *",(0,ne.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),{params:{animationDuration:"500ms"}})]),verticalStepTransition:(0,ne.X$)("verticalStepTransition",[(0,ne.SB)("previous",(0,ne.oB)({height:"0px",visibility:"hidden"})),(0,ne.SB)("next",(0,ne.oB)({height:"0px",visibility:"hidden"})),(0,ne.SB)("current",(0,ne.oB)({height:"*",visibility:"inherit"})),(0,ne.eR)("* <=> current",(0,ne.jt)("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),{params:{animationDuration:"225ms"}})])};let Xp=(()=>{class n{constructor(t){this.templateRef=t}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc))},n.\u0275dir=e.lG2({type:n,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}}),n})(),eh=(()=>{class n{constructor(t){this._template=t}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc))},n.\u0275dir=e.lG2({type:n,selectors:[["ng-template","matStepContent",""]]}),n})(),Iu=(()=>{class n extends N_{constructor(t,i,a,l){super(t,l),this._errorStateMatcher=i,this._viewContainerRef=a,this._isSelected=Ta.w0.EMPTY}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,Wc.w)(()=>this._stepper.selectionChange.pipe((0,Mn.U)(t=>t.selectedStep===this),(0,mt.O)(this._stepper.selected===this)))).subscribe(t=>{t&&this._lazyContent&&!this._portal&&(this._portal=new at.UE(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(t,i){return this._errorStateMatcher.isErrorState(t,i)||!!(t&&t.invalid&&this.interacted)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36((0,e.Gpc)(()=>H_)),e.Y36(b.rD,4),e.Y36(e.s_b),e.Y36(Qc,8))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-step"]],contentQueries:function(t,i,a){if(1&t&&(e.Suo(a,Ou,5),e.Suo(a,eh,5)),2&t){let l;e.iGM(l=e.CRH())&&(i.stepLabel=l.first),e.iGM(l=e.CRH())&&(i._lazyContent=l.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[e._Bn([{provide:b.rD,useExisting:n},{provide:N_,useExisting:n}]),e.qOj],ngContentSelectors:Yf,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(t,i){1&t&&(e.F$t(),e.YNc(0,Wd,2,1,"ng-template"))},dependencies:[at.Pl],encapsulation:2,changeDetection:0}),n})(),H_=(()=>{class n extends Kd{constructor(t,i,a){super(t,i,a),this.steps=new e.n_E,this.animationDone=new e.vpe,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new Ye.x,this._animationDuration="";const l=a.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===l?"vertical":"horizontal"}get animationDuration(){return this._animationDuration}set animationDuration(t){this._animationDuration=/^\d+$/.test(t)?t+"ms":t}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:t,templateRef:i})=>this._iconOverrides[t]=i),this.steps.changes.pipe((0,$i.R)(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe((0,Uf.x)((t,i)=>t.fromState===i.fromState&&t.toState===i.toState),(0,$i.R)(this._destroyed)).subscribe(t=>{"current"===t.toState&&this.animationDone.emit()})}_stepIsNavigable(t,i){return i.completed||this.selectedIndex===t||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Oe.Is,8),e.Y36(e.sBO),e.Y36(e.SBq))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(t,i,a){if(1&t&&(e.Suo(a,Iu,5),e.Suo(a,Xp,5)),2&t){let l;e.iGM(l=e.CRH())&&(i._steps=l),e.iGM(l=e.CRH())&&(i._icons=l)}},viewQuery:function(t,i){if(1&t&&e.Gf(Rm,5),2&t){let a;e.iGM(a=e.CRH())&&(i._stepHeader=a)}},hostAttrs:["role","tablist"],hostVars:11,hostBindings:function(t,i){2&t&&(e.uIk("aria-orientation",i.orientation),e.ekj("mat-stepper-horizontal","horizontal"===i.orientation)("mat-stepper-vertical","vertical"===i.orientation)("mat-stepper-label-position-end","horizontal"===i.orientation&&"end"==i.labelPosition)("mat-stepper-label-position-bottom","horizontal"===i.orientation&&"bottom"==i.labelPosition)("mat-stepper-header-position-bottom","bottom"===i.headerPosition))},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[e._Bn([{provide:Kd,useExisting:n}]),e.qOj],decls:5,vars:3,consts:[[3,"ngSwitch"],["class","mat-horizontal-stepper-wrapper",4,"ngSwitchCase"],[4,"ngSwitchCase"],["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[4,"ngFor","ngForOf"],[1,"mat-horizontal-content-container"],["class","mat-horizontal-stepper-content","role","tabpanel",3,"id","mat-horizontal-stepper-content-inactive",4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","mat-stepper-horizontal-line",4,"ngIf"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],["class","mat-step",4,"ngFor","ngForOf"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color","click","keydown"]],template:function(t,i){1&t&&(e.ynx(0,0),e.YNc(1,Jp,5,2,"div",1),e.YNc(2,Y_,2,1,"ng-container",2),e.BQk(),e.YNc(3,Lu,1,23,"ng-template",null,3,e.W1O)),2&t&&(e.Q6J("ngSwitch",i.orientation),e.xp6(1),e.Q6J("ngSwitchCase","horizontal"),e.xp6(1),e.Q6J("ngSwitchCase","vertical"))},dependencies:[_e.sg,_e.O5,_e.tP,_e.RF,_e.n9,Rm],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-inactive{height:0;overflow:hidden}.mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive){visibility:inherit !important}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-stepper-content:not(.mat-vertical-stepper-content-inactive){visibility:inherit !important}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}'],encapsulation:2,data:{animation:[Nm.horizontalStepTransition,Nm.verticalStepTransition]},changeDetection:0}),n})(),yc=(()=>{class n extends g0{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(t,i){2&t&&e.Ikx("type",i.type)},inputs:{type:"type"},features:[e.qOj]}),n})(),Vf=(()=>{class n extends f0{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(t,i){2&t&&e.Ikx("type",i.type)},inputs:{type:"type"},features:[e.qOj]}),n})(),Bm=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[zp,b.rD],imports:[b.BQ,_e.ez,at.eL,Y.ot,Bf,Ps,b.si,b.BQ]}),n})();var v0=C(2076),Dl=C(1135),Pu=C(5191);const Gf=[[["caption"]],[["colgroup"],["col"]]],th=["caption","colgroup, col"];function G_(n){return class extends n{constructor(...o){super(...o),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(o){const t=this._sticky;this._sticky=(0,le.Ig)(o),this._hasStickyChanged=t!==this._sticky}hasStickyChanged(){const o=this._hasStickyChanged;return this._hasStickyChanged=!1,o}resetStickyChanged(){this._hasStickyChanged=!1}}}const id=new e.OlP("CDK_TABLE");let Zs=(()=>{class n{constructor(t){this.template=t}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkCellDef",""]]}),n})(),qd=(()=>{class n{constructor(t){this.template=t}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkHeaderCellDef",""]]}),n})(),K_=(()=>{class n{constructor(t){this.template=t}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkFooterCellDef",""]]}),n})();class Zm{}const Kf=G_(Zm);let ql=(()=>{class n extends Kf{constructor(t){super(),this._table=t,this._stickyEnd=!1}get name(){return this._name}set name(t){this._setNameInput(t)}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){const i=this._stickyEnd;this._stickyEnd=(0,le.Ig)(t),this._hasStickyChanged=i!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(id,8))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,i,a){if(1&t&&(e.Suo(a,Zs,5),e.Suo(a,qd,5),e.Suo(a,K_,5)),2&t){let l;e.iGM(l=e.CRH())&&(i.cell=l.first),e.iGM(l=e.CRH())&&(i.headerCell=l.first),e.iGM(l=e.CRH())&&(i.footerCell=l.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[e._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),e.qOj]}),n})();class ll{constructor(o,t){t.nativeElement.classList.add(...o._columnCssClassName)}}let Jl=(()=>{class n extends ll{constructor(t,i){super(t,i)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(ql),e.Y36(e.SBq))},n.\u0275dir=e.lG2({type:n,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[e.qOj]}),n})(),nh=(()=>{class n extends ll{constructor(t,i){var a;if(super(t,i),1===(null===(a=t._table)||void 0===a?void 0:a._elementRef.nativeElement.nodeType)){const l=t._table._elementRef.nativeElement.getAttribute("role");i.nativeElement.setAttribute("role","grid"===l||"treegrid"===l?"gridcell":"cell")}}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(ql),e.Y36(e.SBq))},n.\u0275dir=e.lG2({type:n,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[e.qOj]}),n})();class Hm{constructor(){this.tasks=[],this.endTasks=[]}}const ah=new e.OlP("_COALESCED_STYLE_SCHEDULER");let Vm=(()=>{class n{constructor(t){this._ngZone=t,this._currentSchedule=null,this._destroyed=new Ye.x}schedule(t){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(t)}scheduleEnd(t){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(t)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new Hm,this._getScheduleObservable().pipe((0,$i.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const t=this._currentSchedule;this._currentSchedule=new Hm;for(const i of t.tasks)i();for(const i of t.endTasks)i()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,v0.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,yn.q)(1))}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(e.R0b))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})(),Ru=(()=>{class n{constructor(t,i){this.template=t,this._differs=i}ngOnChanges(t){if(!this._columnsDiffer){const i=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(i).create(),this._columnsDiffer.diff(i)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(t){return this instanceof Fu?t.headerCell.template:this instanceof fs?t.footerCell.template:t.cell.template}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc),e.Y36(e.ZZ4))},n.\u0275dir=e.lG2({type:n,features:[e.TTD]}),n})();class jf extends Ru{}const Wf=G_(jf);let Fu=(()=>{class n extends Wf{constructor(t,i,a){super(t,i),this._table=a}ngOnChanges(t){super.ngOnChanges(t)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(id,8))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[e.qOj,e.TTD]}),n})();class qf extends Ru{}const j_=G_(qf);let fs=(()=>{class n extends j_{constructor(t,i,a){super(t,i),this._table=a}ngOnChanges(t){super.ngOnChanges(t)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(id,8))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[e.qOj,e.TTD]}),n})(),Tc=(()=>{class n extends Ru{constructor(t,i,a){super(t,i),this._table=a}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(id,8))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[e.qOj]}),n})(),El=(()=>{class n{constructor(t){this._viewContainer=t,n.mostRecentCellOutlet=this}ngOnDestroy(){n.mostRecentCellOutlet===this&&(n.mostRecentCellOutlet=null)}}return n.mostRecentCellOutlet=null,n.\u0275fac=function(t){return new(t||n)(e.Y36(e.s_b))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkCellOutlet",""]]}),n})(),Nu=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,i){1&t&&e.GkF(0,0)},dependencies:[El],encapsulation:2}),n})(),oh=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,i){1&t&&e.GkF(0,0)},dependencies:[El],encapsulation:2}),n})(),Mc=(()=>{class n{constructor(t){this.templateRef=t,this._contentClassName="cdk-no-data-row"}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc))},n.\u0275dir=e.lG2({type:n,selectors:[["ng-template","cdkNoDataRow",""]]}),n})();const Gm=["top","bottom","left","right"];class rh{constructor(o,t,i,a,l=!0,h=!0,E){this._isNativeHtmlTable=o,this._stickCellCss=t,this.direction=i,this._coalescedStyleScheduler=a,this._isBrowser=l,this._needsPositionStickyOnElement=h,this._positionListener=E,this._cachedCellWidths=[],this._borderCellCss={top:`${t}-border-elem-top`,bottom:`${t}-border-elem-bottom`,left:`${t}-border-elem-left`,right:`${t}-border-elem-right`}}clearStickyPositioning(o,t){const i=[];for(const a of o)if(a.nodeType===a.ELEMENT_NODE){i.push(a);for(let l=0;l{for(const a of i)this._removeStickyStyle(a,t)})}updateStickyColumns(o,t,i,a=!0){if(!o.length||!this._isBrowser||!t.some(lt=>lt)&&!i.some(lt=>lt))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const l=o[0],h=l.children.length,E=this._getCellWidths(l,a),B=this._getStickyStartColumnPositions(E,t),oe=this._getStickyEndColumnPositions(E,i),xe=t.lastIndexOf(!0),Ve=i.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const lt="rtl"===this.direction,Ft=lt?"right":"left",ii=lt?"left":"right";for(const fi of o)for(let Wi=0;Wit[Wi]?fi:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Ve?[]:E.slice(Ve).map((fi,Wi)=>i[Wi+Ve]?fi:null).reverse()}))})}stickRows(o,t,i){if(!this._isBrowser)return;const a="bottom"===i?o.slice().reverse():o,l="bottom"===i?t.slice().reverse():t,h=[],E=[],B=[];for(let xe=0,Ve=0;xe{var xe,Ve;for(let lt=0;lt{t.some(a=>!a)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0,!1)})}_removeStickyStyle(o,t){for(const a of t)o.style[a]="",o.classList.remove(this._borderCellCss[a]);Gm.some(a=>-1===t.indexOf(a)&&o.style[a])?o.style.zIndex=this._getCalculatedZIndex(o):(o.style.zIndex="",this._needsPositionStickyOnElement&&(o.style.position=""),o.classList.remove(this._stickCellCss))}_addStickyStyle(o,t,i,a){o.classList.add(this._stickCellCss),a&&o.classList.add(this._borderCellCss[t]),o.style[t]=`${i}px`,o.style.zIndex=this._getCalculatedZIndex(o),this._needsPositionStickyOnElement&&(o.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(o){const t={top:100,bottom:10,left:1,right:1};let i=0;for(const a of Gm)o.style[a]&&(i+=t[a]);return i?`${i}`:""}_getCellWidths(o,t=!0){if(!t&&this._cachedCellWidths.length)return this._cachedCellWidths;const i=[],a=o.children;for(let l=0;l0;l--)t[l]&&(i[l]=a,a+=o[l]);return i}}const sh=new e.OlP("CDK_SPL");let Zu=(()=>{class n{constructor(t,i){this.viewContainer=t,this.elementRef=i}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.s_b),e.Y36(e.SBq))},n.\u0275dir=e.lG2({type:n,selectors:[["","rowOutlet",""]]}),n})(),Jd=(()=>{class n{constructor(t,i){this.viewContainer=t,this.elementRef=i}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.s_b),e.Y36(e.SBq))},n.\u0275dir=e.lG2({type:n,selectors:[["","headerRowOutlet",""]]}),n})(),W_=(()=>{class n{constructor(t,i){this.viewContainer=t,this.elementRef=i}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.s_b),e.Y36(e.SBq))},n.\u0275dir=e.lG2({type:n,selectors:[["","footerRowOutlet",""]]}),n})(),Ua=(()=>{class n{constructor(t,i){this.viewContainer=t,this.elementRef=i}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.s_b),e.Y36(e.SBq))},n.\u0275dir=e.lG2({type:n,selectors:[["","noDataRowOutlet",""]]}),n})(),zd=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt,Ft){this._differs=t,this._changeDetectorRef=i,this._elementRef=a,this._dir=h,this._platform=B,this._viewRepeater=oe,this._coalescedStyleScheduler=xe,this._viewportRuler=Ve,this._stickyPositioningListener=lt,this._ngZone=Ft,this._onDestroy=new Ye.x,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new e.vpe,this.viewChange=new Dl.X({start:0,end:Number.MAX_VALUE}),l||this._elementRef.nativeElement.setAttribute("role","table"),this._document=E,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(t){this._trackByFn=t}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(t){this._multiTemplateDataRows=(0,le.Ig)(t),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(t){this._fixedLayout=(0,le.Ig)(t),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((t,i)=>this.trackBy?this.trackBy(i.dataIndex,i.data):i),this._viewportRuler.change().pipe((0,$i.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const i=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||i,this._forceRecalculateCellWidths=i,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(t=>{t.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,X.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const t=this._dataDiffer.diff(this._renderRows);if(!t)return this._updateNoDataRow(),void this.contentChanged.next();const i=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(t,i,(a,l,h)=>this._getEmbeddedViewArgs(a.item,h),a=>a.item.data,a=>{1===a.operation&&a.context&&this._renderCellTemplateForItem(a.record.item.rowDef,a.context)}),this._updateRowIndexContext(),t.forEachIdentityChange(a=>{i.get(a.currentIndex).context.$implicit=a.item.data}),this._updateNoDataRow(),this._ngZone&&e.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,yn.q)(1),(0,$i.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(t){this._customColumnDefs.add(t)}removeColumnDef(t){this._customColumnDefs.delete(t)}addRowDef(t){this._customRowDefs.add(t)}removeRowDef(t){this._customRowDefs.delete(t)}addHeaderRowDef(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}removeHeaderRowDef(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}addFooterRowDef(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}removeFooterRowDef(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}setNoDataRow(t){this._customNoDataRow=t}updateStickyHeaderRowStyles(){const t=this._getRenderedRows(this._headerRowOutlet),a=this._elementRef.nativeElement.querySelector("thead");a&&(a.style.display=t.length?"":"none");const l=this._headerRowDefs.map(h=>h.sticky);this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,l,"top"),this._headerRowDefs.forEach(h=>h.resetStickyChanged())}updateStickyFooterRowStyles(){const t=this._getRenderedRows(this._footerRowOutlet),a=this._elementRef.nativeElement.querySelector("tfoot");a&&(a.style.display=t.length?"":"none");const l=this._footerRowDefs.map(h=>h.sticky);this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,l,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,l),this._footerRowDefs.forEach(h=>h.resetStickyChanged())}updateStickyColumnStyles(){const t=this._getRenderedRows(this._headerRowOutlet),i=this._getRenderedRows(this._rowOutlet),a=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...t,...i,...a],["left","right"]),this._stickyColumnStylesNeedReset=!1),t.forEach((l,h)=>{this._addStickyColumnStyles([l],this._headerRowDefs[h])}),this._rowDefs.forEach(l=>{const h=[];for(let E=0;E{this._addStickyColumnStyles([l],this._footerRowDefs[h])}),Array.from(this._columnDefsByName.values()).forEach(l=>l.resetStickyChanged())}_getAllRenderRows(){const t=[],i=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let a=0;a{const E=a&&a.has(h)?a.get(h):[];if(E.length){const B=E.shift();return B.dataIndex=i,B}return{data:t,rowDef:h,dataIndex:i}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Yu(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(i=>{this._columnDefsByName.has(i.name),this._columnDefsByName.set(i.name,i)})}_cacheRowDefs(){this._headerRowDefs=Yu(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Yu(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Yu(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const t=this._rowDefs.filter(i=>!i.when);this._defaultRowDef=t[0]}_renderUpdatedColumns(){const t=(h,E)=>h||!!E.getColumnsDiff(),i=this._rowDefs.reduce(t,!1);i&&this._forceRenderDataRows();const a=this._headerRowDefs.reduce(t,!1);a&&this._forceRenderHeaderRows();const l=this._footerRowDefs.reduce(t,!1);return l&&this._forceRenderFooterRows(),i||a||l}_switchDataSource(t){this._data=[],(0,X.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=t}_observeRenderChanges(){if(!this.dataSource)return;let t;(0,X.Z9)(this.dataSource)?t=this.dataSource.connect(this):(0,Pu.b)(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=(0,ie.of)(this.dataSource)),this._renderChangeSubscription=t.pipe((0,$i.R)(this._onDestroy)).subscribe(i=>{this._data=i||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((t,i)=>this._renderRow(this._headerRowOutlet,t,i)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,i)=>this._renderRow(this._footerRowOutlet,t,i)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(t,i){const a=Array.from(i.columns||[]).map(E=>this._columnDefsByName.get(E)),l=a.map(E=>E.sticky),h=a.map(E=>E.stickyEnd);this._stickyStyler.updateStickyColumns(t,l,h,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(t){const i=[];for(let a=0;a!l.when||l.when(i,t));else{let l=this._rowDefs.find(h=>h.when&&h.when(i,t))||this._defaultRowDef;l&&a.push(l)}return a}_getEmbeddedViewArgs(t,i){return{templateRef:t.rowDef.template,context:{$implicit:t.data},index:i}}_renderRow(t,i,a,l={}){const h=t.viewContainer.createEmbeddedView(i.template,l,a);return this._renderCellTemplateForItem(i,l),h}_renderCellTemplateForItem(t,i){for(let a of this._getCellTemplates(t))El.mostRecentCellOutlet&&El.mostRecentCellOutlet._viewContainer.createEmbeddedView(a,i);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const t=this._rowOutlet.viewContainer;for(let i=0,a=t.length;i{const a=this._columnDefsByName.get(i);return t.extractCellTemplate(a)}):[]}_applyNativeTableSections(){const t=this._document.createDocumentFragment(),i=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const a of i){const l=this._document.createElement(a.tag);l.setAttribute("role","rowgroup");for(const h of a.outlets)l.appendChild(h.elementRef.nativeElement);t.appendChild(l)}this._elementRef.nativeElement.appendChild(t)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const t=(i,a)=>i||a.hasStickyChanged();this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new rh(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,ie.of)()).pipe((0,$i.R)(this._onDestroy)).subscribe(i=>{this._stickyStyler.direction=i,this.updateStickyColumnStyles()})}_getOwnDefs(t){return t.filter(i=>!i._table||i._table===this)}_updateNoDataRow(){const t=this._customNoDataRow||this._noDataRow;if(!t)return;const i=0===this._rowOutlet.viewContainer.length;if(i===this._isShowingNoDataRow)return;const a=this._noDataRowOutlet.viewContainer;if(i){const l=a.createEmbeddedView(t.templateRef),h=l.rootNodes[0];1===l.rootNodes.length&&(null==h?void 0:h.nodeType)===this._document.ELEMENT_NODE&&(h.setAttribute("role","row"),h.classList.add(t._contentClassName))}else a.clear();this._isShowingNoDataRow=i}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.ZZ4),e.Y36(e.sBO),e.Y36(e.SBq),e.$8M("role"),e.Y36(Oe.Is,8),e.Y36(_e.K0),e.Y36(Le.t4),e.Y36(X.k),e.Y36(ah),e.Y36(Nn.rL),e.Y36(sh,12),e.Y36(e.R0b,8))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,i,a){if(1&t&&(e.Suo(a,Mc,5),e.Suo(a,ql,5),e.Suo(a,Tc,5),e.Suo(a,Fu,5),e.Suo(a,fs,5)),2&t){let l;e.iGM(l=e.CRH())&&(i._noDataRow=l.first),e.iGM(l=e.CRH())&&(i._contentColumnDefs=l),e.iGM(l=e.CRH())&&(i._contentRowDefs=l),e.iGM(l=e.CRH())&&(i._contentHeaderRowDefs=l),e.iGM(l=e.CRH())&&(i._contentFooterRowDefs=l)}},viewQuery:function(t,i){if(1&t&&(e.Gf(Zu,7),e.Gf(Jd,7),e.Gf(W_,7),e.Gf(Ua,7)),2&t){let a;e.iGM(a=e.CRH())&&(i._rowOutlet=a.first),e.iGM(a=e.CRH())&&(i._headerRowOutlet=a.first),e.iGM(a=e.CRH())&&(i._footerRowOutlet=a.first),e.iGM(a=e.CRH())&&(i._noDataRowOutlet=a.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,i){2&t&&e.ekj("cdk-table-fixed-layout",i.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[e._Bn([{provide:id,useExisting:n},{provide:X.k,useClass:X.yy},{provide:ah,useClass:Vm},{provide:sh,useValue:null}])],ngContentSelectors:th,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,i){1&t&&(e.F$t(Gf),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[Zu,Jd,W_,Ua],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),n})();function Yu(n,o){return n.concat(Array.from(o))}let zf=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[Nn.Cl]}),n})();const Jm=[[["caption"]],[["colgroup"],["col"]]],Hu=["caption","colgroup, col"];let nr=(()=>{class n extends zd{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(t,i){2&t&&e.ekj("mat-table-fixed-layout",i.fixedLayout)},exportAs:["matTable"],features:[e._Bn([{provide:X.k,useClass:X.yy},{provide:zd,useExisting:n},{provide:id,useExisting:n},{provide:ah,useClass:Vm},{provide:sh,useValue:null}]),e.qOj],ngContentSelectors:Hu,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,i){1&t&&(e.F$t(Jm),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[Zu,Jd,W_,Ua],styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),n})(),Ko=(()=>{class n extends Zs{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["","matCellDef",""]],features:[e._Bn([{provide:Zs,useExisting:n}]),e.qOj]}),n})(),jo=(()=>{class n extends qd{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["","matHeaderCellDef",""]],features:[e._Bn([{provide:qd,useExisting:n}]),e.qOj]}),n})(),Ao=(()=>{class n extends ql{get name(){return this._name}set name(t){this._setNameInput(t)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[e._Bn([{provide:ql,useExisting:n},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),e.qOj]}),n})(),Lo=(()=>{class n extends Jl{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[e.qOj]}),n})(),co=(()=>{class n extends nh{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[e.qOj]}),n})(),Oo=(()=>{class n extends Fu{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[e._Bn([{provide:Fu,useExisting:n}]),e.qOj]}),n})(),ar=(()=>{class n extends Tc{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[e._Bn([{provide:Tc,useExisting:n}]),e.qOj]}),n})(),Cr=(()=>{class n extends Nu{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[e._Bn([{provide:Nu,useExisting:n}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,i){1&t&&e.GkF(0,0)},dependencies:[El],encapsulation:2}),n})(),Ja=(()=>{class n extends oh{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[e._Bn([{provide:oh,useExisting:n}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,i){1&t&&e.GkF(0,0)},dependencies:[El],encapsulation:2}),n})(),lh=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[zf,b.BQ,b.BQ]}),n})();var va=C(3251);let Xm=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[b.BQ,b.BQ]}),n})();class ch extends class Dc{constructor(){this.expansionModel=new X.Ov(!0)}toggle(o){this.expansionModel.toggle(this._trackByValue(o))}expand(o){this.expansionModel.select(this._trackByValue(o))}collapse(o){this.expansionModel.deselect(this._trackByValue(o))}isExpanded(o){return this.expansionModel.isSelected(this._trackByValue(o))}toggleDescendants(o){this.expansionModel.isSelected(this._trackByValue(o))?this.collapseDescendants(o):this.expandDescendants(o)}collapseAll(){this.expansionModel.clear()}expandDescendants(o){let t=[o];t.push(...this.getDescendants(o)),this.expansionModel.select(...t.map(i=>this._trackByValue(i)))}collapseDescendants(o){let t=[o];t.push(...this.getDescendants(o)),this.expansionModel.deselect(...t.map(i=>this._trackByValue(i)))}_trackByValue(o){return this.trackBy?this.trackBy(o):o}}{constructor(o,t,i){super(),this.getLevel=o,this.isExpandable=t,this.options=i,this.options&&(this.trackBy=this.options.trackBy)}getDescendants(o){const i=[];for(let a=this.dataNodes.indexOf(o)+1;athis._trackByValue(o)))}}const Xd=new e.OlP("CDK_TREE_NODE_OUTLET_NODE");let cl=(()=>{class n{constructor(t,i){this.viewContainer=t,this._node=i}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.s_b),e.Y36(Xd,8))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkTreeNodeOutlet",""]]}),n})();class eg{constructor(o){this.$implicit=o}}let eu=(()=>{class n{constructor(t){this.template=t}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:["cdkTreeNodeDefWhen","when"]}}),n})(),Wo=(()=>{class n{constructor(t,i){this._differs=t,this._changeDetectorRef=i,this._onDestroy=new Ye.x,this._levels=new Map,this.viewChange=new Dl.X({start:0,end:Number.MAX_VALUE})}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}ngOnInit(){this._dataDiffer=this._differs.find([]).create(this.trackBy)}ngOnDestroy(){this._nodeOutlet.viewContainer.clear(),this.viewChange.complete(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null)}ngAfterContentChecked(){const t=this._nodeDefs.filter(i=>!i.when);this._defaultNodeDef=t[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(t){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),t||this._nodeOutlet.viewContainer.clear(),this._dataSource=t,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let t;(0,X.Z9)(this._dataSource)?t=this._dataSource.connect(this):(0,Pu.b)(this._dataSource)?t=this._dataSource:Array.isArray(this._dataSource)&&(t=(0,ie.of)(this._dataSource)),t&&(this._dataSubscription=t.pipe((0,$i.R)(this._onDestroy)).subscribe(i=>this.renderNodeChanges(i)))}renderNodeChanges(t,i=this._dataDiffer,a=this._nodeOutlet.viewContainer,l){const h=i.diff(t);!h||(h.forEachOperation((E,B,oe)=>{if(null==E.previousIndex)this.insertNode(t[oe],oe,a,l);else if(null==oe)a.remove(B),this._levels.delete(E.item);else{const xe=a.get(B);a.move(xe,oe)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(t,i){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(l=>l.when&&l.when(i,t))||this._defaultNodeDef}insertNode(t,i,a,l){const h=this._getNodeDef(t,i),E=new eg(t);E.level=this.treeControl.getLevel?this.treeControl.getLevel(t):void 0!==l&&this._levels.has(l)?this._levels.get(l)+1:0,this._levels.set(t,E.level),(a||this._nodeOutlet.viewContainer).createEmbeddedView(h.template,E,i),wl.mostRecentTreeNode&&(wl.mostRecentTreeNode.data=t)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.ZZ4),e.Y36(e.sBO))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cdk-tree"]],contentQueries:function(t,i,a){if(1&t&&e.Suo(a,eu,5),2&t){let l;e.iGM(l=e.CRH())&&(i._nodeDefs=l)}},viewQuery:function(t,i){if(1&t&&e.Gf(cl,7),2&t){let a;e.iGM(a=e.CRH())&&(i._nodeOutlet=a.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(t,i){1&t&&e.GkF(0,0)},dependencies:[cl],encapsulation:2}),n})(),wl=(()=>{class n{constructor(t,i){this._elementRef=t,this._tree=i,this._destroyed=new Ye.x,this._dataChanges=new Ye.x,n.mostRecentTreeNode=this,this.role="treeitem"}get role(){return"treeitem"}set role(t){this._elementRef.nativeElement.setAttribute("role",t)}get data(){return this._data}set data(t){t!==this._data&&(this._data=t,this._setRoleFromData(),this._dataChanges.next())}get isExpanded(){return this._tree.treeControl.isExpanded(this._data)}get level(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):this._parentNodeAriaLevel}ngOnInit(){this._parentNodeAriaLevel=function ig(n){let o=n.parentElement;for(;o&&!uh(o);)o=o.parentElement;return o?o.classList.contains("cdk-nested-tree-node")?(0,le.su)(o.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",`${this.level+1}`)}ngOnDestroy(){n.mostRecentTreeNode===this&&(n.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){this.role="treeitem"}}return n.mostRecentTreeNode=null,n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(Wo))},n.\u0275dir=e.lG2({type:n,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:1,hostBindings:function(t,i){2&t&&e.uIk("aria-expanded",i.isExpanded)},inputs:{role:"role"},exportAs:["cdkTreeNode"]}),n})();function uh(n){const o=n.classList;return!(!(null==o?void 0:o.contains("cdk-nested-tree-node"))&&!(null==o?void 0:o.contains("cdk-tree")))}const E0=/([A-Za-z%]+)$/;let Wu=(()=>{class n{constructor(t,i,a,l){this._treeNode=t,this._tree=i,this._element=a,this._dir=l,this._destroyed=new Ye.x,this.indentUnits="px",this._indent=40,this._setPadding(),l&&l.change.pipe((0,$i.R)(this._destroyed)).subscribe(()=>this._setPadding(!0)),t._dataChanges.subscribe(()=>this._setPadding())}get level(){return this._level}set level(t){this._setLevelInput(t)}get indent(){return this._indent}set indent(t){this._setIndentInput(t)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const t=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,i=null==this._level?t:this._level;return"number"==typeof i?`${i*this._indent}${this.indentUnits}`:null}_setPadding(t=!1){const i=this._paddingIndent();if(i!==this._currentPadding||t){const a=this._element.nativeElement,l=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",h="paddingLeft"===l?"paddingRight":"paddingLeft";a.style[l]=i||"",a.style[h]="",this._currentPadding=i}}_setLevelInput(t){this._level=(0,le.su)(t,null),this._setPadding()}_setIndentInput(t){let i=t,a="px";if("string"==typeof t){const l=t.split(E0);i=l[0],a=l[1]||a}this.indentUnits=a,this._indent=(0,le.su)(i),this._setPadding()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(wl),e.Y36(Wo),e.Y36(e.SBq),e.Y36(Oe.Is,8))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:["cdkTreeNodePadding","level"],indent:["cdkTreeNodePaddingIndent","indent"]}}),n})(),Kn=(()=>{class n{constructor(t,i){this._tree=t,this._treeNode=i,this._recursive=!1}get recursive(){return this._recursive}set recursive(t){this._recursive=(0,le.Ig)(t)}_toggle(t){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),t.stopPropagation()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Wo),e.Y36(wl))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(t,i){1&t&&e.NdJ("click",function(l){return i._toggle(l)})},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}}),n})(),qu=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({}),n})();const X_=(0,b.sb)((0,b.Id)(wl));let ep=(()=>{class n extends X_{constructor(t,i,a){super(t,i),this.tabIndex=Number(a)||0}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(Wo),e.$8M("tabindex"))},n.\u0275dir=e.lG2({type:n,selectors:[["mat-tree-node"]],hostAttrs:[1,"mat-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["matTreeNode"],features:[e._Bn([{provide:wl,useExisting:n}]),e.qOj]}),n})(),tu=(()=>{class n extends eu{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[e._Bn([{provide:eu,useExisting:n}]),e.qOj]}),n})(),_h=(()=>{class n extends Wu{get level(){return this._level}set level(t){this._setLevelInput(t)}get indent(){return this._indent}set indent(t){this._setIndentInput(t)}}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["","matTreeNodePadding",""]],inputs:{level:["matTreeNodePadding","level"],indent:["matTreeNodePaddingIndent","indent"]},features:[e._Bn([{provide:Wu,useExisting:n}]),e.qOj]}),n})(),or=(()=>{class n{constructor(t,i){this.viewContainer=t,this._node=i}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.s_b),e.Y36(Xd,8))},n.\u0275dir=e.lG2({type:n,selectors:[["","matTreeNodeOutlet",""]],features:[e._Bn([{provide:cl,useExisting:n}])]}),n})(),$l=(()=>{class n extends Wo{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-tree"]],viewQuery:function(t,i){if(1&t&&e.Gf(or,7),2&t){let a;e.iGM(a=e.CRH())&&(i._nodeOutlet=a.first)}},hostAttrs:["role","tree",1,"mat-tree"],exportAs:["matTree"],features:[e._Bn([{provide:Wo,useExisting:n}]),e.qOj],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(t,i){1&t&&e.GkF(0,0)},dependencies:[or],styles:[".mat-tree{display:block}.mat-tree-node{display:flex;align-items:center;flex:1;word-wrap:break-word}.mat-nested-tree-node{border-bottom-width:0}"],encapsulation:2}),n})(),ph=(()=>{class n extends Kn{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[e._Bn([{provide:Kn,useExisting:n}]),e.qOj]}),n})(),dl=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[qu,b.BQ,b.BQ]}),n})();class ad{constructor(o,t,i,a){this.transformFunction=o,this.getLevel=t,this.isExpandable=i,this.getChildren=a}_flattenNode(o,t,i,a){const l=this.transformFunction(o,t);if(i.push(l),this.isExpandable(l)){const h=this.getChildren(o);h&&(Array.isArray(h)?this._flattenChildren(h,t,i,a):h.pipe((0,yn.q)(1)).subscribe(E=>{this._flattenChildren(E,t,i,a)}))}return i}_flattenChildren(o,t,i,a){o.forEach((l,h)=>{let E=a.slice();E.push(h!=o.length-1),this._flattenNode(l,t+1,i,E)})}flattenNodes(o){let t=[];return o.forEach(i=>this._flattenNode(i,0,t,[])),t}expandFlattenedNodes(o,t){let i=[],a=[];return a[0]=!0,o.forEach(l=>{let h=!0;for(let E=0;E<=this.getLevel(l);E++)h=h&&a[E];h&&i.push(l),this.isExpandable(l)&&(a[this.getLevel(l)+1]=t.isExpanded(l))}),i}}class ko extends X.o2{constructor(o,t,i){super(),this._treeControl=o,this._treeFlattener=t,this._flattenedData=new Dl.X([]),this._expandedData=new Dl.X([]),this._data=new Dl.X([]),i&&(this.data=i)}get data(){return this._data.value}set data(o){this._data.next(o),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this._treeControl.dataNodes=this._flattenedData.value}connect(o){return(0,ma.T)(o.viewChange,this._treeControl.expansionModel.changed,this._flattenedData).pipe((0,Mn.U)(()=>(this._expandedData.next(this._treeFlattener.expandFlattenedNodes(this._flattenedData.value,this._treeControl)),this._expandedData.value)))}disconnect(){}}let Ju=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[{provide:b._A,useClass:ue,deps:[b.Ad,G]},{provide:b.sG,useValue:ce}],imports:[Qi,Be.LD,Va.rP,an.c,gc,va.Nh,Vt.SJ,Y.ot,ln,Bi,T,lo,Xm,ve,Cl,lh,ms,Ff,zs,b.XK,Zt.To,de.Bb,fr.ZX,Ps,ao,rn.ie,rs,Bm,Hp,Su,Te,ni,dl,b.si,Qi,Be.LD,Va.rP,an.c,gc,va.Nh,Vt.SJ,Y.ot,ln,Bi,T,lo,Xm,ve,Cl,lh,ms,Ff,zs,b.XK,Zt.To,de.Bb,fr.ZX,Ps,ao,rn.ie,rs,Bm,Hp,Su,Te,ni,b.si,dl]}),n})();var $a=C(3925),od=C(7009),$t=C(4894),Gi=C(7862),nC=C(4986),tp=C(5963);function aC(n=0,o=nC.z){return n<0&&(n=0),(0,tp.H)(n,n,o)}var ng=C(6406),ag=C(9751);function rd(n,o,t){for(let i in o)if(o.hasOwnProperty(i)){const a=o[i];a?n.setProperty(i,a,null!=t&&t.has(i)?"important":""):n.removeProperty(i)}return n}function Ec(n,o){const t=o?"":"none";rd(n.style,{"touch-action":o?"":"none","-webkit-user-drag":o?"":"none","-webkit-tap-highlight-color":o?"":"transparent","user-select":t,"-ms-user-select":t,"-webkit-user-select":t,"-moz-user-select":t})}function og(n,o,t){rd(n.style,{position:o?"":"fixed",top:o?"":"0",opacity:o?"":"0",left:o?"":"-999em"},t)}function as(n,o){return o&&"none"!=o?n+" "+o:n}function mh(n){const o=n.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(n)*o}function gh(n,o){return n.getPropertyValue(o).split(",").map(i=>i.trim())}function fh(n){const o=n.getBoundingClientRect();return{top:o.top,right:o.right,bottom:o.bottom,left:o.left,width:o.width,height:o.height,x:o.x,y:o.y}}function Ch(n,o,t){const{top:i,bottom:a,left:l,right:h}=n;return t>=i&&t<=a&&o>=l&&o<=h}function $u(n,o,t){n.top+=o,n.bottom=n.top+n.height,n.left+=t,n.right=n.left+n.width}function vh(n,o,t,i){const{top:a,right:l,bottom:h,left:E,width:B,height:oe}=n,xe=B*o,Ve=oe*o;return i>a-Ve&&iE-xe&&t{this.positions.set(t,{scrollPosition:{top:t.scrollTop,left:t.scrollLeft},clientRect:fh(t)})})}handleScroll(o){const t=(0,Le.sA)(o),i=this.positions.get(t);if(!i)return null;const a=i.scrollPosition;let l,h;if(t===this._document){const oe=this.getViewportScrollPosition();l=oe.top,h=oe.left}else l=t.scrollTop,h=t.scrollLeft;const E=a.top-l,B=a.left-h;return this.positions.forEach((oe,xe)=>{oe.clientRect&&t!==xe&&t.contains(xe)&&$u(oe.clientRect,E,B)}),a.top=l,a.left=h,{top:E,left:B}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function lg(n){const o=n.cloneNode(!0),t=o.querySelectorAll("[id]"),i=n.nodeName.toLowerCase();o.removeAttribute("id");for(let a=0;a{if(this.beforeStarted.next(),this._handles.length){const B=this._getTargetHandle(E);B&&!this._disabledHandles.has(B)&&!this.disabled&&this._initializeDragSequence(B,E)}else this.disabled||this._initializeDragSequence(this._rootElement,E)},this._pointerMove=E=>{const B=this._getPointerPositionOnPage(E);if(!this._hasStartedDragging){if(Math.abs(B.x-this._pickupPositionOnPage.x)+Math.abs(B.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const Ft=Date.now()>=this._dragStartTime+this._getDragStartDelay(E),ii=this._dropContainer;if(!Ft)return void this._endDragSequence(E);(!ii||!ii.isDragging()&&!ii.isReceiving())&&(E.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(E)))}return}E.preventDefault();const oe=this._getConstrainedPointerPosition(B);if(this._hasMoved=!0,this._lastKnownPointerPosition=B,this._updatePointerDirectionDelta(oe),this._dropContainer)this._updateActiveDropContainer(oe,B);else{const xe=this.constrainPosition?this._initialClientRect:this._pickupPositionOnPage,Ve=this._activeTransform;Ve.x=oe.x-xe.x+this._passiveTransform.x,Ve.y=oe.y-xe.y+this._passiveTransform.y,this._applyRootElementTransform(Ve.x,Ve.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:oe,event:E,distance:this._getDragDistance(oe),delta:this._pointerDirectionDelta})})},this._pointerUp=E=>{this._endDragSequence(E)},this._nativeDragStart=E=>{if(this._handles.length){const B=this._getTargetHandle(E);B&&!this._disabledHandles.has(B)&&!this.disabled&&E.preventDefault()}else this.disabled||E.preventDefault()},this.withRootElement(o).withParent(t.parentDragRef||null),this._parentPositions=new sg(i),h.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(o){const t=(0,le.Ig)(o);t!==this._disabled&&(this._disabled=t,this._toggleNativeDragInteractions(),this._handles.forEach(i=>Ec(i,t)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(o){this._handles=o.map(i=>(0,le.fI)(i)),this._handles.forEach(i=>Ec(i,this.disabled)),this._toggleNativeDragInteractions();const t=new Set;return this._disabledHandles.forEach(i=>{this._handles.indexOf(i)>-1&&t.add(i)}),this._disabledHandles=t,this}withPreviewTemplate(o){return this._previewTemplate=o,this}withPlaceholderTemplate(o){return this._placeholderTemplate=o,this}withRootElement(o){const t=(0,le.fI)(o);return t!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{t.addEventListener("mousedown",this._pointerDown,np),t.addEventListener("touchstart",this._pointerDown,ip),t.addEventListener("dragstart",this._nativeDragStart,np)}),this._initialTransform=void 0,this._rootElement=t),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(o){return this._boundaryElement=o?(0,le.fI)(o):null,this._resizeSubscription.unsubscribe(),o&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(o){return this._parentDragRef=o,this}dispose(){var o,t;this._removeRootElementListeners(this._rootElement),this.isDragging()&&(null===(o=this._rootElement)||void 0===o||o.remove()),null===(t=this._anchor)||void 0===t||t.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(o){!this._disabledHandles.has(o)&&this._handles.indexOf(o)>-1&&(this._disabledHandles.add(o),Ec(o,!0))}enableHandle(o){this._disabledHandles.has(o)&&(this._disabledHandles.delete(o),Ec(o,this.disabled))}withDirection(o){return this._direction=o,this}_withDropContainer(o){this._dropContainer=o}getFreeDragPosition(){const o=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:o.x,y:o.y}}setFreeDragPosition(o){return this._activeTransform={x:0,y:0},this._passiveTransform.x=o.x,this._passiveTransform.y=o.y,this._dropContainer||this._applyRootElementTransform(o.x,o.y),this}withPreviewContainer(o){return this._previewContainer=o,this}_sortFromLastPointerPosition(){const o=this._lastKnownPointerPosition;o&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(o),o)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){var o,t;null===(o=this._preview)||void 0===o||o.remove(),null===(t=this._previewRef)||void 0===t||t.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){var o,t;null===(o=this._placeholder)||void 0===o||o.remove(),null===(t=this._placeholderRef)||void 0===t||t.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(o){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this,event:o}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(o),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const t=this._getPointerPositionOnPage(o);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(t),dropPoint:t,event:o})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(o){Qu(o)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const t=this._dropContainer;if(t){const i=this._rootElement,a=i.parentNode,l=this._placeholder=this._createPlaceholderElement(),h=this._anchor=this._anchor||this._document.createComment(""),E=this._getShadowRoot();a.insertBefore(h,i),this._initialTransform=i.style.transform||"",this._preview=this._createPreviewElement(),og(i,!1,ap),this._document.body.appendChild(a.replaceChild(l,i)),this._getPreviewInsertionPoint(a,E).appendChild(this._preview),this.started.next({source:this,event:o}),t.start(),this._initialContainer=t,this._initialIndex=t.getItemIndex(this)}else this.started.next({source:this,event:o}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(t?t.getScrollableParents():[])}_initializeDragSequence(o,t){this._parentDragRef&&t.stopPropagation();const i=this.isDragging(),a=Qu(t),l=!a&&0!==t.button,h=this._rootElement,E=(0,Le.sA)(t),B=!a&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),oe=a?(0,Ge.yG)(t):(0,Ge.X6)(t);if(E&&E.draggable&&"mousedown"===t.type&&t.preventDefault(),i||l||B||oe)return;if(this._handles.length){const lt=h.style;this._rootElementTapHighlight=lt.webkitTapHighlightColor||"",lt.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._initialClientRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(lt=>this._updateOnScroll(lt)),this._boundaryElement&&(this._boundaryRect=fh(this._boundaryElement));const xe=this._previewTemplate;this._pickupPositionInElement=xe&&xe.template&&!xe.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialClientRect,o,t);const Ve=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(t);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:Ve.x,y:Ve.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,t)}_cleanupDragArtifacts(o){og(this._rootElement,!0,ap),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialClientRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const t=this._dropContainer,i=t.getItemIndex(this),a=this._getPointerPositionOnPage(o),l=this._getDragDistance(a),h=t._isOverContainer(a.x,a.y);this.ended.next({source:this,distance:l,dropPoint:a,event:o}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:t,previousContainer:this._initialContainer,isPointerOverContainer:h,distance:l,dropPoint:a,event:o}),t.drop(this,i,this._initialIndex,this._initialContainer,h,l,a,o),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:o,y:t},{x:i,y:a}){let l=this._initialContainer._getSiblingContainerFromPosition(this,o,t);!l&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(o,t)&&(l=this._initialContainer),l&&l!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=l,this._dropContainer.enter(this,o,t,l===this._initialContainer&&l.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:l,currentIndex:l.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(i,a),this._dropContainer._sortItem(this,o,t,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(o,t):this._applyPreviewTransform(o-this._pickupPositionInElement.x,t-this._pickupPositionInElement.y))}_createPreviewElement(){const o=this._previewTemplate,t=this.previewClass,i=o?o.template:null;let a;if(i&&o){const l=o.matchSize?this._initialClientRect:null,h=o.viewContainer.createEmbeddedView(i,o.context);h.detectChanges(),a=rC(h,this._document),this._previewRef=h,o.matchSize?yh(a,l):a.style.transform=zu(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else a=lg(this._rootElement),yh(a,this._initialClientRect),this._initialTransform&&(a.style.transform=this._initialTransform);return rd(a.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},ap),Ec(a,!1),a.classList.add("cdk-drag-preview"),a.setAttribute("dir",this._direction),t&&(Array.isArray(t)?t.forEach(l=>a.classList.add(l)):a.classList.add(t)),a}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const o=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(o.left,o.top);const t=function rg(n){const o=getComputedStyle(n),t=gh(o,"transition-property"),i=t.find(E=>"transform"===E||"all"===E);if(!i)return 0;const a=t.indexOf(i),l=gh(o,"transition-duration"),h=gh(o,"transition-delay");return mh(l[a])+mh(h[a])}(this._preview);return 0===t?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(i=>{const a=h=>{var E;(!h||(0,Le.sA)(h)===this._preview&&"transform"===h.propertyName)&&(null===(E=this._preview)||void 0===E||E.removeEventListener("transitionend",a),i(),clearTimeout(l))},l=setTimeout(a,1.5*t);this._preview.addEventListener("transitionend",a)}))}_createPlaceholderElement(){const o=this._placeholderTemplate,t=o?o.template:null;let i;return t?(this._placeholderRef=o.viewContainer.createEmbeddedView(t,o.context),this._placeholderRef.detectChanges(),i=rC(this._placeholderRef,this._document)):i=lg(this._rootElement),i.style.pointerEvents="none",i.classList.add("cdk-drag-placeholder"),i}_getPointerPositionInElement(o,t,i){const a=t===this._rootElement?null:t,l=a?a.getBoundingClientRect():o,h=Qu(i)?i.targetTouches[0]:i,E=this._getViewportScrollPosition();return{x:l.left-o.left+(h.pageX-l.left-E.left),y:l.top-o.top+(h.pageY-l.top-E.top)}}_getPointerPositionOnPage(o){const t=this._getViewportScrollPosition(),i=Qu(o)?o.touches[0]||o.changedTouches[0]||{pageX:0,pageY:0}:o,a=i.pageX-t.left,l=i.pageY-t.top;if(this._ownerSVGElement){const h=this._ownerSVGElement.getScreenCTM();if(h){const E=this._ownerSVGElement.createSVGPoint();return E.x=a,E.y=l,E.matrixTransform(h.inverse())}}return{x:a,y:l}}_getConstrainedPointerPosition(o){const t=this._dropContainer?this._dropContainer.lockAxis:null;let{x:i,y:a}=this.constrainPosition?this.constrainPosition(o,this,this._initialClientRect,this._pickupPositionInElement):o;if("x"===this.lockAxis||"x"===t?a=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===t)&&(i=this._pickupPositionOnPage.x),this._boundaryRect){const{x:l,y:h}=this._pickupPositionInElement,E=this._boundaryRect,{width:B,height:oe}=this._getPreviewRect(),xe=E.top+h,Ve=E.bottom-(oe-h);i=ug(i,E.left+l,E.right-(B-l)),a=ug(a,xe,Ve)}return{x:i,y:a}}_updatePointerDirectionDelta(o){const{x:t,y:i}=o,a=this._pointerDirectionDelta,l=this._pointerPositionAtLastDirectionChange,h=Math.abs(t-l.x),E=Math.abs(i-l.y);return h>this._config.pointerDirectionChangeThreshold&&(a.x=t>l.x?1:-1,l.x=t),E>this._config.pointerDirectionChangeThreshold&&(a.y=i>l.y?1:-1,l.y=i),a}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const o=this._handles.length>0||!this.isDragging();o!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=o,Ec(this._rootElement,o))}_removeRootElementListeners(o){o.removeEventListener("mousedown",this._pointerDown,np),o.removeEventListener("touchstart",this._pointerDown,ip),o.removeEventListener("dragstart",this._nativeDragStart,np)}_applyRootElementTransform(o,t){const i=zu(o,t),a=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=a.transform&&"none"!=a.transform?a.transform:""),a.transform=as(i,this._initialTransform)}_applyPreviewTransform(o,t){var i;const a=null!==(i=this._previewTemplate)&&void 0!==i&&i.template?void 0:this._initialTransform,l=zu(o,t);this._preview.style.transform=as(l,a)}_getDragDistance(o){const t=this._pickupPositionOnPage;return t?{x:o.x-t.x,y:o.y-t.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:o,y:t}=this._passiveTransform;if(0===o&&0===t||this.isDragging()||!this._boundaryElement)return;const i=this._rootElement.getBoundingClientRect(),a=this._boundaryElement.getBoundingClientRect();if(0===a.width&&0===a.height||0===i.width&&0===i.height)return;const l=a.left-i.left,h=i.right-a.right,E=a.top-i.top,B=i.bottom-a.bottom;a.width>i.width?(l>0&&(o+=l),h>0&&(o-=h)):o=0,a.height>i.height?(E>0&&(t+=E),B>0&&(t-=B)):t=0,(o!==this._passiveTransform.x||t!==this._passiveTransform.y)&&this.setFreeDragPosition({y:t,x:o})}_getDragStartDelay(o){const t=this.dragStartDelay;return"number"==typeof t?t:Qu(o)?t.touch:t?t.mouse:0}_updateOnScroll(o){const t=this._parentPositions.handleScroll(o);if(t){const i=(0,Le.sA)(o);this._boundaryRect&&i!==this._boundaryElement&&i.contains(this._boundaryElement)&&$u(this._boundaryRect,t.top,t.left),this._pickupPositionOnPage.x+=t.left,this._pickupPositionOnPage.y+=t.top,this._dropContainer||(this._activeTransform.x-=t.left,this._activeTransform.y-=t.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){var o;return(null===(o=this._parentPositions.positions.get(this._document))||void 0===o?void 0:o.scrollPosition)||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=(0,Le.kV)(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(o,t){const i=this._previewContainer||"global";if("parent"===i)return o;if("global"===i){const a=this._document;return t||a.fullscreenElement||a.webkitFullscreenElement||a.mozFullScreenElement||a.msFullscreenElement||a.body}return(0,le.fI)(i)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialClientRect),this._previewRect}_getTargetHandle(o){return this._handles.find(t=>o.target&&(o.target===t||t.contains(o.target)))}}function zu(n,o){return`translate3d(${Math.round(n)}px, ${Math.round(o)}px, 0)`}function ug(n,o,t){return Math.max(o,Math.min(t,n))}function Qu(n){return"t"===n.type[0]}function rC(n,o){const t=n.rootNodes;if(1===t.length&&t[0].nodeType===o.ELEMENT_NODE)return t[0];const i=o.createElement("div");return t.forEach(a=>i.appendChild(a)),i}function yh(n,o){n.style.width=`${o.width}px`,n.style.height=`${o.height}px`,n.style.transform=zu(o.left,o.top)}function Hs(n,o,t){const i=sd(o,n.length-1),a=sd(t,n.length-1);if(i===a)return;const l=n[i],h=a0)return null;const E="horizontal"===this.orientation,B=l.findIndex(Wi=>Wi.drag===o),oe=l[h],Ve=oe.clientRect,lt=B>h?1:-1,Ft=this._getItemOffsetPx(l[B].clientRect,Ve,lt),ii=this._getSiblingOffsetPx(B,l,lt),fi=l.slice();return Hs(l,B,h),l.forEach((Wi,Fn)=>{if(fi[Fn]===Wi)return;const ba=Wi.drag===o,br=ba?Ft:ii,yr=ba?o.getPlaceholderElement():Wi.drag.getRootElement();Wi.offset+=br,E?(yr.style.transform=as(`translate3d(${Math.round(Wi.offset)}px, 0, 0)`,Wi.initialTransform),$u(Wi.clientRect,0,br)):(yr.style.transform=as(`translate3d(0, ${Math.round(Wi.offset)}px, 0)`,Wi.initialTransform),$u(Wi.clientRect,br,0))}),this._previousSwap.overlaps=Ch(Ve,t,i),this._previousSwap.drag=oe.drag,this._previousSwap.delta=E?a.x:a.y,{previousIndex:B,currentIndex:h}}enter(o,t,i,a){const l=null==a||a<0?this._getItemIndexFromPointerPosition(o,t,i):a,h=this._activeDraggables,E=h.indexOf(o),B=o.getPlaceholderElement();let oe=h[l];if(oe===o&&(oe=h[l+1]),!oe&&(null==l||-1===l||l-1&&h.splice(E,1),oe&&!this._dragDropRegistry.isDragging(oe)){const xe=oe.getRootElement();xe.parentElement.insertBefore(B,xe),h.splice(l,0,o)}else(0,le.fI)(this._element).appendChild(B),h.push(o);B.style.transform="",this._cacheItemPositions()}withItems(o){this._activeDraggables=o.slice(),this._cacheItemPositions()}withSortPredicate(o){this._sortPredicate=o}reset(){this._activeDraggables.forEach(o=>{var t;const i=o.getRootElement();if(i){const a=null===(t=this._itemPositions.find(l=>l.drag===o))||void 0===t?void 0:t.initialTransform;i.style.transform=a||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(o){return("horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(i=>i.drag===o)}updateOnScroll(o,t){this._itemPositions.forEach(({clientRect:i})=>{$u(i,o,t)}),this._itemPositions.forEach(({drag:i})=>{this._dragDropRegistry.isDragging(i)&&i._sortFromLastPointerPosition()})}_cacheItemPositions(){const o="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(t=>{const i=t.getVisibleElement();return{drag:t,offset:0,initialTransform:i.style.transform||"",clientRect:fh(i)}}).sort((t,i)=>o?t.clientRect.left-i.clientRect.left:t.clientRect.top-i.clientRect.top)}_getItemOffsetPx(o,t,i){const a="horizontal"===this.orientation;let l=a?t.left-o.left:t.top-o.top;return-1===i&&(l+=a?t.width-o.width:t.height-o.height),l}_getSiblingOffsetPx(o,t,i){const a="horizontal"===this.orientation,l=t[o].clientRect,h=t[o+-1*i];let E=l[a?"width":"height"]*i;if(h){const B=a?"left":"top",oe=a?"right":"bottom";-1===i?E-=h.clientRect[B]-l[oe]:E+=l[B]-h.clientRect[oe]}return E}_shouldEnterAsFirstChild(o,t){if(!this._activeDraggables.length)return!1;const i=this._itemPositions,a="horizontal"===this.orientation;if(i[0].drag!==this._activeDraggables[0]){const h=i[i.length-1].clientRect;return a?o>=h.right:t>=h.bottom}{const h=i[0].clientRect;return a?o<=h.left:t<=h.top}}_getItemIndexFromPointerPosition(o,t,i,a){const l="horizontal"===this.orientation,h=this._itemPositions.findIndex(({drag:E,clientRect:B})=>{if(E===o)return!1;if(a){const oe=l?a.x:a.y;if(E===this._previousSwap.drag&&this._previousSwap.overlaps&&oe===this._previousSwap.delta)return!1}return l?t>=Math.floor(B.left)&&t=Math.floor(B.top)&&i!0,this.sortPredicate=()=>!0,this.beforeStarted=new Ye.x,this.entered=new Ye.x,this.exited=new Ye.x,this.dropped=new Ye.x,this.sorted=new Ye.x,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=Ta.w0.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new Ye.x,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),aC(0,ng.Z).pipe((0,$i.R)(this._stopScrollTimers)).subscribe(()=>{const h=this._scrollNode,E=this.autoScrollStep;1===this._verticalScrollDirection?h.scrollBy(0,-E):2===this._verticalScrollDirection&&h.scrollBy(0,E),1===this._horizontalScrollDirection?h.scrollBy(-E,0):2===this._horizontalScrollDirection&&h.scrollBy(E,0)})},this.element=(0,le.fI)(o),this._document=i,this.withScrollableParents([this.element]),t.registerDropContainer(this),this._parentPositions=new sg(i),this._sortStrategy=new Th(this.element,t),this._sortStrategy.withSortPredicate((h,E)=>this.sortPredicate(h,E,this))}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(o,t,i,a){this._draggingStarted(),null==a&&this.sortingDisabled&&(a=this._draggables.indexOf(o)),this._sortStrategy.enter(o,t,i,a),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:o,container:this,currentIndex:this.getItemIndex(o)})}exit(o){this._reset(),this.exited.next({item:o,container:this})}drop(o,t,i,a,l,h,E,B={}){this._reset(),this.dropped.next({item:o,currentIndex:t,previousIndex:i,container:this,previousContainer:a,isPointerOverContainer:l,distance:h,dropPoint:E,event:B})}withItems(o){const t=this._draggables;return this._draggables=o,o.forEach(i=>i._withDropContainer(this)),this.isDragging()&&(t.filter(a=>a.isDragging()).every(a=>-1===o.indexOf(a))?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(o){return this._sortStrategy.direction=o,this}connectedTo(o){return this._siblings=o.slice(),this}withOrientation(o){return this._sortStrategy.orientation=o,this}withScrollableParents(o){const t=(0,le.fI)(this.element);return this._scrollableElements=-1===o.indexOf(t)?[t,...o]:o.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(o){return this._isDragging?this._sortStrategy.getItemIndex(o):this._draggables.indexOf(o)}isReceiving(){return this._activeSiblings.size>0}_sortItem(o,t,i,a){if(this.sortingDisabled||!this._clientRect||!vh(this._clientRect,.05,t,i))return;const l=this._sortStrategy.sort(o,t,i,a);l&&this.sorted.next({previousIndex:l.previousIndex,currentIndex:l.currentIndex,container:this,item:o})}_startScrollingIfNecessary(o,t){if(this.autoScrollDisabled)return;let i,a=0,l=0;if(this._parentPositions.positions.forEach((h,E)=>{E===this._document||!h.clientRect||i||vh(h.clientRect,.05,o,t)&&([a,l]=function hg(n,o,t,i){const a=lC(o,i),l=pg(o,t);let h=0,E=0;if(a){const B=n.scrollTop;1===a?B>0&&(h=1):n.scrollHeight-B>n.clientHeight&&(h=2)}if(l){const B=n.scrollLeft;1===l?B>0&&(E=1):n.scrollWidth-B>n.clientWidth&&(E=2)}return[h,E]}(E,h.clientRect,o,t),(a||l)&&(i=E))}),!a&&!l){const{width:h,height:E}=this._viewportRuler.getViewportSize(),B={width:h,height:E,top:0,right:h,bottom:E,left:0};a=lC(B,t),l=pg(B,o),i=window}i&&(a!==this._verticalScrollDirection||l!==this._horizontalScrollDirection||i!==this._scrollNode)&&(this._verticalScrollDirection=a,this._horizontalScrollDirection=l,this._scrollNode=i,(a||l)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const o=(0,le.fI)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=o.msScrollSnapType||o.scrollSnapType||"",o.scrollSnapType=o.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const o=(0,le.fI)(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(o).clientRect}_reset(){this._isDragging=!1;const o=(0,le.fI)(this.element).style;o.scrollSnapType=o.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(t=>t._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(o,t){return null!=this._clientRect&&Ch(this._clientRect,o,t)}_getSiblingContainerFromPosition(o,t,i){return this._siblings.find(a=>a._canReceive(o,t,i))}_canReceive(o,t,i){if(!this._clientRect||!Ch(this._clientRect,t,i)||!this.enterPredicate(o,this))return!1;const a=this._getShadowRoot().elementFromPoint(t,i);if(!a)return!1;const l=(0,le.fI)(this.element);return a===l||l.contains(a)}_startReceiving(o,t){const i=this._activeSiblings;!i.has(o)&&t.every(a=>this.enterPredicate(a,this)||this._draggables.indexOf(a)>-1)&&(i.add(o),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(o){this._activeSiblings.delete(o),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(o=>{if(this.isDragging()){const t=this._parentPositions.handleScroll(o);t&&this._sortStrategy.updateOnScroll(t.top,t.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const o=(0,Le.kV)((0,le.fI)(this.element));this._cachedShadowRoot=o||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const o=this._sortStrategy.getActiveItemsSnapshot().filter(t=>t.isDragging());this._siblings.forEach(t=>t._startReceiving(this,o))}}function lC(n,o){const{top:t,bottom:i,height:a}=n,l=.05*a;return o>=t-l&&o<=t+l?1:o>=i-l&&o<=i+l?2:0}function pg(n,o){const{left:t,right:i,width:a}=n,l=.05*a;return o>=t-l&&o<=t+l?1:o>=i-l&&o<=i+l?2:0}const Mh=(0,Le.i$)({passive:!1,capture:!0});let cC=(()=>{class n{constructor(t,i){this._ngZone=t,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=a=>a.isDragging(),this.pointerMove=new Ye.x,this.pointerUp=new Ye.x,this.scroll=new Ye.x,this._preventDefaultWhileDragging=a=>{this._activeDragInstances.length>0&&a.preventDefault()},this._persistentTouchmoveListener=a=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&a.preventDefault(),this.pointerMove.next(a))},this._document=i}registerDropContainer(t){this._dropInstances.has(t)||this._dropInstances.add(t)}registerDragItem(t){this._dragInstances.add(t),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,Mh)})}removeDropContainer(t){this._dropInstances.delete(t)}removeDragItem(t){this._dragInstances.delete(t),this.stopDragging(t),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,Mh)}startDragging(t,i){if(!(this._activeDragInstances.indexOf(t)>-1)&&(this._activeDragInstances.push(t),1===this._activeDragInstances.length)){const a=i.type.startsWith("touch");this._globalListeners.set(a?"touchend":"mouseup",{handler:l=>this.pointerUp.next(l),options:!0}).set("scroll",{handler:l=>this.scroll.next(l),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:Mh}),a||this._globalListeners.set("mousemove",{handler:l=>this.pointerMove.next(l),options:Mh}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((l,h)=>{this._document.addEventListener(h,l.handler,l.options)})})}}stopDragging(t){const i=this._activeDragInstances.indexOf(t);i>-1&&(this._activeDragInstances.splice(i,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(t){return this._activeDragInstances.indexOf(t)>-1}scrolled(t){const i=[this.scroll];return t&&t!==this._document&&i.push(new ag.y(a=>this._ngZone.runOutsideAngular(()=>{const h=E=>{this._activeDragInstances.length&&a.next(E)};return t.addEventListener("scroll",h,!0),()=>{t.removeEventListener("scroll",h,!0)}}))),(0,ma.T)(...i)}ngOnDestroy(){this._dragInstances.forEach(t=>this.removeDragItem(t)),this._dropInstances.forEach(t=>this.removeDropContainer(t)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((t,i)=>{this._document.removeEventListener(i,t.handler,t.options)}),this._globalListeners.clear()}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(e.R0b),e.LFG(_e.K0))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const nu={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let Dh=(()=>{class n{constructor(t,i,a,l){this._document=t,this._ngZone=i,this._viewportRuler=a,this._dragDropRegistry=l}createDrag(t,i=nu){return new oC(t,i,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(t){return new S0(t,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(_e.K0),e.LFG(e.R0b),e.LFG(Nn.rL),e.LFG(cC))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const op=new e.OlP("CDK_DRAG_PARENT"),au=new e.OlP("CdkDropListGroup");let Xu=(()=>{class n{constructor(){this._items=new Set,this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,le.Ig)(t)}ngOnDestroy(){this._items.clear()}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkDropListGroup",""]],inputs:{disabled:["cdkDropListGroupDisabled","disabled"]},exportAs:["cdkDropListGroup"],features:[e._Bn([{provide:au,useExisting:n}])]}),n})();const Eh=new e.OlP("CDK_DRAG_CONFIG");let dC=0;const mg=new e.OlP("CdkDropList");let e_=(()=>{class n{constructor(t,i,a,l,h,E,B){this.element=t,this._changeDetectorRef=a,this._scrollDispatcher=l,this._dir=h,this._group=E,this._destroyed=new Ye.x,this.connectedTo=[],this.id="cdk-drop-list-"+dC++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new e.vpe,this.entered=new e.vpe,this.exited=new e.vpe,this.sorted=new e.vpe,this._unsortedItems=new Set,this._dropListRef=i.createDropList(t),this._dropListRef.data=this,B&&this._assignDefaults(B),this._dropListRef.enterPredicate=(oe,xe)=>this.enterPredicate(oe.data,xe.data),this._dropListRef.sortPredicate=(oe,xe,Ve)=>this.sortPredicate(oe,xe.data,Ve.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),n._dropLists.push(this),E&&E._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(t){this._dropListRef.disabled=this._disabled=(0,le.Ig)(t)}addItem(t){this._unsortedItems.add(t),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(t){this._unsortedItems.delete(t),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((t,i)=>t._dragRef.getVisibleElement().compareDocumentPosition(i._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const t=n._dropLists.indexOf(this);t>-1&&n._dropLists.splice(t,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(t){this._dir&&this._dir.change.pipe((0,mt.O)(this._dir.value),(0,$i.R)(this._destroyed)).subscribe(i=>t.withDirection(i)),t.beforeStarted.subscribe(()=>{const i=(0,le.Eq)(this.connectedTo).map(a=>"string"==typeof a?n._dropLists.find(h=>h.id===a):a);if(this._group&&this._group._items.forEach(a=>{-1===i.indexOf(a)&&i.push(a)}),!this._scrollableParentsResolved){const a=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(l=>l.getElementRef().nativeElement);this._dropListRef.withScrollableParents(a),this._scrollableParentsResolved=!0}t.disabled=this.disabled,t.lockAxis=this.lockAxis,t.sortingDisabled=(0,le.Ig)(this.sortingDisabled),t.autoScrollDisabled=(0,le.Ig)(this.autoScrollDisabled),t.autoScrollStep=(0,le.su)(this.autoScrollStep,2),t.connectedTo(i.filter(a=>a&&a!==this).map(a=>a._dropListRef)).withOrientation(this.orientation)})}_handleEvents(t){t.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(i=>{this.entered.emit({container:this,item:i.item.data,currentIndex:i.currentIndex})}),t.exited.subscribe(i=>{this.exited.emit({container:this,item:i.item.data}),this._changeDetectorRef.markForCheck()}),t.sorted.subscribe(i=>{this.sorted.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,container:this,item:i.item.data})}),t.dropped.subscribe(i=>{this.dropped.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,previousContainer:i.previousContainer.data,container:i.container.data,item:i.item.data,isPointerOverContainer:i.isPointerOverContainer,distance:i.distance,dropPoint:i.dropPoint,event:i.event}),this._changeDetectorRef.markForCheck()})}_assignDefaults(t){const{lockAxis:i,draggingDisabled:a,sortingDisabled:l,listAutoScrollDisabled:h,listOrientation:E}=t;this.disabled=null!=a&&a,this.sortingDisabled=null!=l&&l,this.autoScrollDisabled=null!=h&&h,this.orientation=E||"vertical",i&&(this.lockAxis=i)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(t=>t._dragRef))}}return n._dropLists=[],n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(Dh),e.Y36(e.sBO),e.Y36(Nn.mF),e.Y36(Oe.Is,8),e.Y36(au,12),e.Y36(Eh,8))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(t,i){2&t&&(e.uIk("id",i.id),e.ekj("cdk-drop-list-disabled",i.disabled)("cdk-drop-list-dragging",i._dropListRef.isDragging())("cdk-drop-list-receiving",i._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],data:["cdkDropListData","data"],orientation:["cdkDropListOrientation","orientation"],id:"id",lockAxis:["cdkDropListLockAxis","lockAxis"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[e._Bn([{provide:au,useValue:void 0},{provide:mg,useExisting:n}])]}),n})();const wh=new e.OlP("CdkDragHandle");let Sh=(()=>{class n{constructor(t,i){this.element=t,this._stateChanges=new Ye.x,this._disabled=!1,this._parentDrag=i}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,le.Ig)(t),this._stateChanges.next(this)}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(op,12))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:["cdkDragHandleDisabled","disabled"]},features:[e._Bn([{provide:wh,useExisting:n}])]}),n})();const gg=new e.OlP("CdkDragPlaceholder");let fg=(()=>{class n{constructor(t){this.templateRef=t}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc))},n.\u0275dir=e.lG2({type:n,selectors:[["ng-template","cdkDragPlaceholder",""]],inputs:{data:"data"},features:[e._Bn([{provide:gg,useExisting:n}])]}),n})();const Ah=new e.OlP("CdkDragPreview");let Lh=(()=>{class n{constructor(t){this.templateRef=t,this._matchSize=!1}get matchSize(){return this._matchSize}set matchSize(t){this._matchSize=(0,le.Ig)(t)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc))},n.\u0275dir=e.lG2({type:n,selectors:[["ng-template","cdkDragPreview",""]],inputs:{data:"data",matchSize:"matchSize"},features:[e._Bn([{provide:Ah,useExisting:n}])]}),n})(),ld=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt){this.element=t,this.dropContainer=i,this._ngZone=l,this._viewContainerRef=h,this._dir=B,this._changeDetectorRef=xe,this._selfHandle=Ve,this._parentDrag=lt,this._destroyed=new Ye.x,this.started=new e.vpe,this.released=new e.vpe,this.ended=new e.vpe,this.entered=new e.vpe,this.exited=new e.vpe,this.dropped=new e.vpe,this.moved=new ag.y(Ft=>{const ii=this._dragRef.moved.pipe((0,Mn.U)(fi=>({source:this,pointerPosition:fi.pointerPosition,event:fi.event,delta:fi.delta,distance:fi.distance}))).subscribe(Ft);return()=>{ii.unsubscribe()}}),this._dragRef=oe.createDrag(t,{dragStartThreshold:E&&null!=E.dragStartThreshold?E.dragStartThreshold:5,pointerDirectionChangeThreshold:E&&null!=E.pointerDirectionChangeThreshold?E.pointerDirectionChangeThreshold:5,zIndex:null==E?void 0:E.zIndex}),this._dragRef.data=this,n._dragInstances.push(this),E&&this._assignDefaults(E),i&&(this._dragRef._withDropContainer(i._dropListRef),i.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(t){this._disabled=(0,le.Ig)(t),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(t){this._dragRef.setFreeDragPosition(t)}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,yn.q)(1),(0,$i.R)(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(t){const i=t.rootElementSelector,a=t.freeDragPosition;i&&!i.firstChange&&this._updateRootElement(),a&&!a.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const t=n._dragInstances.indexOf(this);t>-1&&n._dragInstances.splice(t,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){var t;const i=this.element.nativeElement;let a=i;this.rootElementSelector&&(a=void 0!==i.closest?i.closest(this.rootElementSelector):null===(t=i.parentElement)||void 0===t?void 0:t.closest(this.rootElementSelector)),this._dragRef.withRootElement(a||i)}_getBoundaryElement(){const t=this.boundaryElement;return t?"string"==typeof t?this.element.nativeElement.closest(t):(0,le.fI)(t):null}_syncInputs(t){t.beforeStarted.subscribe(()=>{if(!t.isDragging()){const i=this._dir,a=this.dragStartDelay,l=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,h=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;t.disabled=this.disabled,t.lockAxis=this.lockAxis,t.dragStartDelay="object"==typeof a&&a?a:(0,le.su)(a),t.constrainPosition=this.constrainPosition,t.previewClass=this.previewClass,t.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(l).withPreviewTemplate(h).withPreviewContainer(this.previewContainer||"global"),i&&t.withDirection(i.value)}}),t.beforeStarted.pipe((0,yn.q)(1)).subscribe(()=>{var i;if(this._parentDrag)return void t.withParent(this._parentDrag._dragRef);let a=this.element.nativeElement.parentElement;for(;a;){if(a.classList.contains("cdk-drag")){t.withParent((null===(i=n._dragInstances.find(l=>l.element.nativeElement===a))||void 0===i?void 0:i._dragRef)||null);break}a=a.parentElement}})}_handleEvents(t){t.started.subscribe(i=>{this.started.emit({source:this,event:i.event}),this._changeDetectorRef.markForCheck()}),t.released.subscribe(i=>{this.released.emit({source:this,event:i.event})}),t.ended.subscribe(i=>{this.ended.emit({source:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event}),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(i=>{this.entered.emit({container:i.container.data,item:this,currentIndex:i.currentIndex})}),t.exited.subscribe(i=>{this.exited.emit({container:i.container.data,item:this})}),t.dropped.subscribe(i=>{this.dropped.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,previousContainer:i.previousContainer.data,container:i.container.data,isPointerOverContainer:i.isPointerOverContainer,item:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event})})}_assignDefaults(t){const{lockAxis:i,dragStartDelay:a,constrainPosition:l,previewClass:h,boundaryElement:E,draggingDisabled:B,rootElementSelector:oe,previewContainer:xe}=t;this.disabled=null!=B&&B,this.dragStartDelay=a||0,i&&(this.lockAxis=i),l&&(this.constrainPosition=l),h&&(this.previewClass=h),E&&(this.boundaryElement=E),oe&&(this.rootElementSelector=oe),xe&&(this.previewContainer=xe)}_setupHandlesListener(){this._handles.changes.pipe((0,mt.O)(this._handles),(0,$e.b)(t=>{const i=t.filter(a=>a._parentDrag===this).map(a=>a.element);this._selfHandle&&this.rootElementSelector&&i.push(this.element),this._dragRef.withHandles(i)}),(0,Wc.w)(t=>(0,ma.T)(...t.map(i=>i._stateChanges.pipe((0,mt.O)(i))))),(0,$i.R)(this._destroyed)).subscribe(t=>{const i=this._dragRef,a=t.element.nativeElement;t.disabled?i.disableHandle(a):i.enableHandle(a)})}}return n._dragInstances=[],n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(mg,12),e.Y36(_e.K0),e.Y36(e.R0b),e.Y36(e.s_b),e.Y36(Eh,8),e.Y36(Oe.Is,8),e.Y36(Dh),e.Y36(e.sBO),e.Y36(wh,10),e.Y36(op,12))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkDrag",""]],contentQueries:function(t,i,a){if(1&t&&(e.Suo(a,Ah,5),e.Suo(a,gg,5),e.Suo(a,wh,5)),2&t){let l;e.iGM(l=e.CRH())&&(i._previewTemplate=l.first),e.iGM(l=e.CRH())&&(i._placeholderTemplate=l.first),e.iGM(l=e.CRH())&&(i._handles=l)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(t,i){2&t&&e.ekj("cdk-drag-disabled",i.disabled)("cdk-drag-dragging",i._dragRef.isDragging())},inputs:{data:["cdkDragData","data"],lockAxis:["cdkDragLockAxis","lockAxis"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],boundaryElement:["cdkDragBoundary","boundaryElement"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"],disabled:["cdkDragDisabled","disabled"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],previewContainer:["cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[e._Bn([{provide:op,useExisting:n}]),e.TTD]}),n})(),Cg=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[Dh],imports:[Nn.ZD]}),n})(),O0=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[Gi.g,$a.e,od.J],imports:[Ju,_e.ez,$t.aw,Cg]}),n})();function Oh(n){return new e.vHH(3e3,!1)}function rb(){return"undefined"!=typeof window&&void 0!==window.document}function Eg(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function ru(n){switch(n.length){case 0:return new ne.ZN;case 1:return n[0];default:return new ne.ZE(n)}}function U0(n,o,t,i,a=new Map,l=new Map){const h=[],E=[];let B=-1,oe=null;if(i.forEach(xe=>{const Ve=xe.get("offset"),lt=Ve==B,Ft=lt&&oe||new Map;xe.forEach((ii,fi)=>{let Wi=fi,Fn=ii;if("offset"!==fi)switch(Wi=o.normalizePropertyName(Wi,h),Fn){case ne.k1:Fn=a.get(fi);break;case ne.l3:Fn=l.get(fi);break;default:Fn=o.normalizeStyleValue(fi,Wi,Fn,h)}Ft.set(Wi,Fn)}),lt||E.push(Ft),oe=Ft,B=Ve}),h.length)throw function mC(n){return new e.vHH(3502,!1)}();return E}function fC(n,o,t,i){switch(o){case"start":n.onStart(()=>i(t&&zl(t,"start",n)));break;case"done":n.onDone(()=>i(t&&zl(t,"done",n)));break;case"destroy":n.onDestroy(()=>i(t&&zl(t,"destroy",n)))}}function zl(n,o,t){const i=t.totalTime,l=lp(n.element,n.triggerName,n.fromState,n.toState,o||n.phaseName,null==i?n.totalTime:i,!!t.disabled),h=n._data;return null!=h&&(l._data=h),l}function lp(n,o,t,i,a="",l=0,h){return{element:n,triggerName:o,fromState:t,toState:i,phaseName:a,totalTime:l,disabled:!!h}}function Cs(n,o,t){let i=n.get(o);return i||n.set(o,i=t),i}function wg(n){const o=n.indexOf(":");return[n.substring(1,o),n.slice(o+1)]}let i_=(n,o)=>!1,Sg=(n,o,t)=>[],Fh=null;function Ag(n){const o=n.parentNode||n.host;return o===Fh?null:o}(Eg()||"undefined"!=typeof Element)&&(rb()?(Fh=(()=>document.documentElement)(),i_=(n,o)=>{for(;o;){if(o===n)return!0;o=Ag(o)}return!1}):i_=(n,o)=>n.contains(o),Sg=(n,o,t)=>{if(t)return Array.from(n.querySelectorAll(o));const i=n.querySelector(o);return i?[i]:[]});let dd=null,vC=!1;const cp=i_,ud=Sg;let _d=(()=>{class n{validateStyleProperty(t){return function xC(n){dd||(dd=function bC(){return"undefined"!=typeof document?document.body:null}()||{},vC=!!dd.style&&"WebkitAppearance"in dd.style);let o=!0;return dd.style&&!function CC(n){return"ebkit"==n.substring(1,6)}(n)&&(o=n in dd.style,!o&&vC&&(o="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in dd.style)),o}(t)}matchesElement(t,i){return!1}containsElement(t,i){return cp(t,i)}getParentElement(t){return Ag(t)}query(t,i,a){return ud(t,i,a)}computeStyle(t,i,a){return a||""}animate(t,i,a,l,h,E=[],B){return new ne.ZN(a,l)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})(),n_=(()=>{class n{}return n.NOOP=new _d,n})();const a_="ng-enter",su="ng-leave",o_="ng-trigger",lu=".ng-trigger",TC="ng-animating",MC=".ng-animating";function Ql(n){if("number"==typeof n)return n;const o=n.match(/^(-?[\.\d]+)(m?s)/);return!o||o.length<2?0:Bh(parseFloat(o[1]),o[2])}function Bh(n,o){return"s"===o?1e3*n:n}function up(n,o,t){return n.hasOwnProperty("duration")?n:function DC(n,o,t){let a,l=0,h="";if("string"==typeof n){const E=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===E)return o.push(Oh()),{duration:0,delay:0,easing:""};a=Bh(parseFloat(E[1]),E[2]);const B=E[3];null!=B&&(l=Bh(parseFloat(B),E[4]));const oe=E[5];oe&&(h=oe)}else a=n;if(!t){let E=!1,B=o.length;a<0&&(o.push(function vg(){return new e.vHH(3100,!1)}()),E=!0),l<0&&(o.push(function rp(){return new e.vHH(3101,!1)}()),E=!0),E&&o.splice(B,0,Oh())}return{duration:a,delay:l,easing:h}}(n,o,t)}function r_(n,o={}){return Object.keys(n).forEach(t=>{o[t]=n[t]}),o}function EC(n){const o=new Map;return Object.keys(n).forEach(t=>{o.set(t,n[t])}),o}function Sc(n,o=new Map,t){if(t)for(let[i,a]of t)o.set(i,a);for(let[i,a]of n)o.set(i,a);return o}function Z0(n,o,t){return t?o+":"+t+";":""}function wC(n){let o="";for(let t=0;t{const l=Pg(a);t&&!t.has(a)&&t.set(a,n.style[l]),n.style[l]=i}),Eg()&&wC(n))}function Ac(n,o){n.style&&(o.forEach((t,i)=>{const a=Pg(i);n.style[a]=""}),Eg()&&wC(n))}function _p(n){return Array.isArray(n)?1==n.length?n[0]:(0,ne.vP)(n):n}const kg=new RegExp("{{\\s*(.+?)\\s*}}","g");function Ig(n){let o=[];if("string"==typeof n){let t;for(;t=kg.exec(n);)o.push(t[1]);kg.lastIndex=0}return o}function pp(n,o,t){const i=n.toString(),a=i.replace(kg,(l,h)=>{let E=o[h];return null==E&&(t.push(function xg(n){return new e.vHH(3003,!1)}()),E=""),E.toString()});return a==i?n:a}function hp(n){const o=[];let t=n.next();for(;!t.done;)o.push(t.value),t=n.next();return o}const Y0=/-+([a-z0-9])/g;function Pg(n){return n.replace(Y0,(...o)=>o[1].toUpperCase())}function AC(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function vo(n,o,t){switch(o.type){case 7:return n.visitTrigger(o,t);case 0:return n.visitState(o,t);case 1:return n.visitTransition(o,t);case 2:return n.visitSequence(o,t);case 3:return n.visitGroup(o,t);case 4:return n.visitAnimate(o,t);case 5:return n.visitKeyframes(o,t);case 6:return n.visitStyle(o,t);case 8:return n.visitReference(o,t);case 9:return n.visitAnimateChild(o,t);case 10:return n.visitAnimateRef(o,t);case 11:return n.visitQuery(o,t);case 12:return n.visitStagger(o,t);default:throw function uC(n){return new e.vHH(3004,!1)}()}}function Uh(n,o){return window.getComputedStyle(n)[o]}function OC(n,o){const t=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(i=>function V0(n,o,t){if(":"==n[0]){const B=function Yh(n,o){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,i)=>parseFloat(i)>parseFloat(t);case":decrement":return(t,i)=>parseFloat(i) *"}}(n,t);if("function"==typeof B)return void o.push(B);n=B}const i=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return t.push(function tb(n){return new e.vHH(3015,!1)}()),o;const a=i[1],l=i[2],h=i[3];o.push(kC(a,h));"<"==l[0]&&!("*"==a&&"*"==h)&&o.push(kC(h,a))}(i,t,o)):t.push(n),t}const l_=new Set(["true","1"]),cu=new Set(["false","0"]);function kC(n,o){const t=l_.has(n)||cu.has(n),i=l_.has(o)||cu.has(o);return(a,l)=>{let h="*"==n||n==a,E="*"==o||o==l;return!h&&t&&"boolean"==typeof a&&(h=a?l_.has(n):cu.has(n)),!E&&i&&"boolean"==typeof l&&(E=l?l_.has(o):cu.has(o)),h&&E}}const G0=new RegExp("s*:selfs*,?","g");function fp(n,o,t,i){return new Ng(n).build(o,t,i)}class Ng{constructor(o){this._driver=o}build(o,t,i){const a=new Xl(t);return this._resetContextStyleTimingState(a),vo(this,_p(o),a)}_resetContextStyleTimingState(o){o.currentQuerySelector="",o.collectedStyles=new Map,o.collectedStyles.set("",new Map),o.currentTime=0}visitTrigger(o,t){let i=t.queryCount=0,a=t.depCount=0;const l=[],h=[];return"@"==o.name.charAt(0)&&t.errors.push(function wc(){return new e.vHH(3006,!1)}()),o.definitions.forEach(E=>{if(this._resetContextStyleTimingState(t),0==E.type){const B=E,oe=B.name;oe.toString().split(/\s*,\s*/).forEach(xe=>{B.name=xe,l.push(this.visitState(B,t))}),B.name=oe}else if(1==E.type){const B=this.visitTransition(E,t);i+=B.queryCount,a+=B.depCount,h.push(B)}else t.errors.push(function ou(){return new e.vHH(3007,!1)}())}),{type:7,name:o.name,states:l,transitions:h,queryCount:i,depCount:a,options:null}}visitState(o,t){const i=this.visitStyle(o.styles,t),a=o.options&&o.options.params||null;if(i.containsDynamicStyles){const l=new Set,h=a||{};i.styles.forEach(E=>{E instanceof Map&&E.forEach(B=>{Ig(B).forEach(oe=>{h.hasOwnProperty(oe)||l.add(oe)})})}),l.size&&(hp(l.values()),t.errors.push(function bg(n,o){return new e.vHH(3008,!1)}()))}return{type:0,name:o.name,style:i,options:a?{params:a}:null}}visitTransition(o,t){t.queryCount=0,t.depCount=0;const i=vo(this,_p(o.animation),t);return{type:1,matchers:OC(o.expr,t.errors),animation:i,queryCount:t.queryCount,depCount:t.depCount,options:pl(o.options)}}visitSequence(o,t){return{type:2,steps:o.steps.map(i=>vo(this,i,t)),options:pl(o.options)}}visitGroup(o,t){const i=t.currentTime;let a=0;const l=o.steps.map(h=>{t.currentTime=i;const E=vo(this,h,t);return a=Math.max(a,t.currentTime),E});return t.currentTime=a,{type:3,steps:l,options:pl(o.options)}}visitAnimate(o,t){const i=function vp(n,o){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return Gh(up(n,o).duration,0,"");const t=n;if(t.split(/\s+/).some(l=>"{"==l.charAt(0)&&"{"==l.charAt(1))){const l=Gh(0,0,"");return l.dynamic=!0,l.strValue=t,l}const a=up(t,o);return Gh(a.duration,a.delay,a.easing)}(o.timings,t.errors);t.currentAnimateTimings=i;let a,l=o.styles?o.styles:(0,ne.oB)({});if(5==l.type)a=this.visitKeyframes(l,t);else{let h=o.styles,E=!1;if(!h){E=!0;const oe={};i.easing&&(oe.easing=i.easing),h=(0,ne.oB)(oe)}t.currentTime+=i.duration+i.delay;const B=this.visitStyle(h,t);B.isEmptyStep=E,a=B}return t.currentAnimateTimings=null,{type:4,timings:i,style:a,options:null}}visitStyle(o,t){const i=this._makeStyleAst(o,t);return this._validateStyleAst(i,t),i}_makeStyleAst(o,t){const i=[],a=Array.isArray(o.styles)?o.styles:[o.styles];for(let E of a)"string"==typeof E?E===ne.l3?i.push(E):t.errors.push(new e.vHH(3002,!1)):i.push(EC(E));let l=!1,h=null;return i.forEach(E=>{if(E instanceof Map&&(E.has("easing")&&(h=E.get("easing"),E.delete("easing")),!l))for(let B of E.values())if(B.toString().indexOf("{{")>=0){l=!0;break}}),{type:6,styles:i,easing:h,offset:o.offset,containsDynamicStyles:l,options:null}}_validateStyleAst(o,t){const i=t.currentAnimateTimings;let a=t.currentTime,l=t.currentTime;i&&l>0&&(l-=i.duration+i.delay),o.styles.forEach(h=>{"string"!=typeof h&&h.forEach((E,B)=>{const oe=t.collectedStyles.get(t.currentQuerySelector),xe=oe.get(B);let Ve=!0;xe&&(l!=a&&l>=xe.startTime&&a<=xe.endTime&&(t.errors.push(function _C(n,o,t,i,a){return new e.vHH(3010,!1)}()),Ve=!1),l=xe.startTime),Ve&&oe.set(B,{startTime:l,endTime:a}),t.options&&function SC(n,o,t){const i=o.params||{},a=Ig(n);a.length&&a.forEach(l=>{i.hasOwnProperty(l)||t.push(function ul(n){return new e.vHH(3001,!1)}())})}(E,t.options,t.errors)})})}visitKeyframes(o,t){const i={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function k0(){return new e.vHH(3011,!1)}()),i;let l=0;const h=[];let E=!1,B=!1,oe=0;const xe=o.steps.map(Fn=>{const ba=this._makeStyleAst(Fn,t);let br=null!=ba.offset?ba.offset:function Cp(n){if("string"==typeof n)return null;let o=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){const i=t;o=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){const t=n;o=parseFloat(t.get("offset")),t.delete("offset")}return o}(ba.styles),yr=0;return null!=br&&(l++,yr=ba.offset=br),B=B||yr<0||yr>1,E=E||yr0&&l{const br=lt>0?ba==Ft?1:lt*ba:h[ba],yr=br*Wi;t.currentTime=ii+fi.delay+yr,fi.duration=yr,this._validateStyleAst(Fn,t),Fn.offset=br,i.styles.push(Fn)}),i}visitReference(o,t){return{type:8,animation:vo(this,_p(o.animation),t),options:pl(o.options)}}visitAnimateChild(o,t){return t.depCount++,{type:9,options:pl(o.options)}}visitAnimateRef(o,t){return{type:10,animation:this.visitReference(o.animation,t),options:pl(o.options)}}visitQuery(o,t){const i=t.currentQuerySelector,a=o.options||{};t.queryCount++,t.currentQuery=o;const[l,h]=function Bg(n){const o=!!n.split(/\s*,\s*/).find(t=>":self"==t);return o&&(n=n.replace(G0,"")),n=n.replace(/@\*/g,lu).replace(/@\w+/g,t=>lu+"-"+t.slice(1)).replace(/:animating/g,MC),[n,o]}(o.selector);t.currentQuerySelector=i.length?i+" "+l:l,Cs(t.collectedStyles,t.currentQuerySelector,new Map);const E=vo(this,_p(o.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:11,selector:l,limit:a.limit||0,optional:!!a.optional,includeSelf:h,animation:E,originalSelector:o.selector,options:pl(o.options)}}visitStagger(o,t){t.currentQuery||t.errors.push(function Tg(){return new e.vHH(3013,!1)}());const i="full"===o.timings?{duration:0,delay:0,easing:"full"}:up(o.timings,t.errors,!0);return{type:12,animation:vo(this,_p(o.animation),t),timings:i,options:null}}}class Xl{constructor(o){this.errors=o,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function pl(n){return n?(n=r_(n)).params&&(n.params=function Vh(n){return n?r_(n):null}(n.params)):n={},n}function Gh(n,o,t){return{duration:n,delay:o,easing:t}}function c_(n,o,t,i,a,l,h=null,E=!1){return{type:1,element:n,keyframes:o,preStyleProps:t,postStyleProps:i,duration:a,delay:l,totalTime:a+l,easing:h,subTimeline:E}}class d_{constructor(){this._map=new Map}get(o){return this._map.get(o)||[]}append(o,t){let i=this._map.get(o);i||this._map.set(o,i=[]),i.push(...t)}has(o){return this._map.has(o)}clear(){this._map.clear()}}const xp=new RegExp(":enter","g"),ub=new RegExp(":leave","g");function Kh(n,o,t,i,a,l=new Map,h=new Map,E,B,oe=[]){return(new _b).buildKeyframes(n,o,t,i,a,l,h,E,B,oe)}class _b{buildKeyframes(o,t,i,a,l,h,E,B,oe,xe=[]){oe=oe||new d_;const Ve=new Ug(o,t,oe,a,l,xe,[]);Ve.options=B;const lt=B.delay?Ql(B.delay):0;Ve.currentTimeline.delayNextStep(lt),Ve.currentTimeline.setStyles([h],null,Ve.errors,B),vo(this,i,Ve);const Ft=Ve.timelines.filter(ii=>ii.containsAnimation());if(Ft.length&&E.size){let ii;for(let fi=Ft.length-1;fi>=0;fi--){const Wi=Ft[fi];if(Wi.element===t){ii=Wi;break}}ii&&!ii.allowOnlyTimelineStyles()&&ii.setStyles([E],null,Ve.errors,B)}return Ft.length?Ft.map(ii=>ii.buildKeyframes()):[c_(t,[],[],[],0,lt,"",!1)]}visitTrigger(o,t){}visitState(o,t){}visitTransition(o,t){}visitAnimateChild(o,t){const i=t.subInstructions.get(t.element);if(i){const a=t.createSubContext(o.options),l=t.currentTimeline.currentTime,h=this._visitSubInstructions(i,a,a.options);l!=h&&t.transformIntoNewTimeline(h)}t.previousNode=o}visitAnimateRef(o,t){const i=t.createSubContext(o.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([o.options,o.animation.options],t,i),this.visitReference(o.animation,i),t.transformIntoNewTimeline(i.currentTimeline.currentTime),t.previousNode=o}_applyAnimationRefDelays(o,t,i){var a;for(const l of o){const h=null==l?void 0:l.delay;if(h){const E="number"==typeof h?h:Ql(pp(h,null!==(a=null==l?void 0:l.params)&&void 0!==a?a:{},t.errors));i.delayNextStep(E)}}}_visitSubInstructions(o,t,i){let l=t.currentTimeline.currentTime;const h=null!=i.duration?Ql(i.duration):null,E=null!=i.delay?Ql(i.delay):null;return 0!==h&&o.forEach(B=>{const oe=t.appendInstructionToTimeline(B,h,E);l=Math.max(l,oe.duration+oe.delay)}),l}visitReference(o,t){t.updateOptions(o.options,!0),vo(this,o.animation,t),t.previousNode=o}visitSequence(o,t){const i=t.subContextCount;let a=t;const l=o.options;if(l&&(l.params||l.delay)&&(a=t.createSubContext(l),a.transformIntoNewTimeline(),null!=l.delay)){6==a.previousNode.type&&(a.currentTimeline.snapshotCurrentStyles(),a.previousNode=bp);const h=Ql(l.delay);a.delayNextStep(h)}o.steps.length&&(o.steps.forEach(h=>vo(this,h,a)),a.currentTimeline.applyStylesToKeyframe(),a.subContextCount>i&&a.transformIntoNewTimeline()),t.previousNode=o}visitGroup(o,t){const i=[];let a=t.currentTimeline.currentTime;const l=o.options&&o.options.delay?Ql(o.options.delay):0;o.steps.forEach(h=>{const E=t.createSubContext(o.options);l&&E.delayNextStep(l),vo(this,h,E),a=Math.max(a,E.currentTimeline.currentTime),i.push(E.currentTimeline)}),i.forEach(h=>t.currentTimeline.mergeTimelineCollectedStyles(h)),t.transformIntoNewTimeline(a),t.previousNode=o}_visitTiming(o,t){if(o.dynamic){const i=o.strValue;return up(t.params?pp(i,t.params,t.errors):i,t.errors)}return{duration:o.duration,delay:o.delay,easing:o.easing}}visitAnimate(o,t){const i=t.currentAnimateTimings=this._visitTiming(o.timings,t),a=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),a.snapshotCurrentStyles());const l=o.style;5==l.type?this.visitKeyframes(l,t):(t.incrementTime(i.duration),this.visitStyle(l,t),a.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=o}visitStyle(o,t){const i=t.currentTimeline,a=t.currentAnimateTimings;!a&&i.hasCurrentStyleProperties()&&i.forwardFrame();const l=a&&a.easing||o.easing;o.isEmptyStep?i.applyEmptyStep(l):i.setStyles(o.styles,l,t.errors,t.options),t.previousNode=o}visitKeyframes(o,t){const i=t.currentAnimateTimings,a=t.currentTimeline.duration,l=i.duration,E=t.createSubContext().currentTimeline;E.easing=i.easing,o.styles.forEach(B=>{E.forwardTime((B.offset||0)*l),E.setStyles(B.styles,B.easing,t.errors,t.options),E.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(E),t.transformIntoNewTimeline(a+l),t.previousNode=o}visitQuery(o,t){const i=t.currentTimeline.currentTime,a=o.options||{},l=a.delay?Ql(a.delay):0;l&&(6===t.previousNode.type||0==i&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=bp);let h=i;const E=t.invokeQuery(o.selector,o.originalSelector,o.limit,o.includeSelf,!!a.optional,t.errors);t.currentQueryTotal=E.length;let B=null;E.forEach((oe,xe)=>{t.currentQueryIndex=xe;const Ve=t.createSubContext(o.options,oe);l&&Ve.delayNextStep(l),oe===t.element&&(B=Ve.currentTimeline),vo(this,o.animation,Ve),Ve.currentTimeline.applyStylesToKeyframe(),h=Math.max(h,Ve.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(h),B&&(t.currentTimeline.mergeTimelineCollectedStyles(B),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=o}visitStagger(o,t){const i=t.parentContext,a=t.currentTimeline,l=o.timings,h=Math.abs(l.duration),E=h*(t.currentQueryTotal-1);let B=h*t.currentQueryIndex;switch(l.duration<0?"reverse":l.easing){case"reverse":B=E-B;break;case"full":B=i.currentStaggerTime}const xe=t.currentTimeline;B&&xe.delayNextStep(B);const Ve=xe.currentTime;vo(this,o.animation,t),t.previousNode=o,i.currentStaggerTime=a.currentTime-Ve+(a.startTime-i.currentTimeline.startTime)}}const bp={};class Ug{constructor(o,t,i,a,l,h,E,B){this._driver=o,this.element=t,this.subInstructions=i,this._enterClassName=a,this._leaveClassName=l,this.errors=h,this.timelines=E,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=bp,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=B||new jh(this._driver,t,0),E.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(o,t){if(!o)return;const i=o;let a=this.options;null!=i.duration&&(a.duration=Ql(i.duration)),null!=i.delay&&(a.delay=Ql(i.delay));const l=i.params;if(l){let h=a.params;h||(h=this.options.params={}),Object.keys(l).forEach(E=>{(!t||!h.hasOwnProperty(E))&&(h[E]=pp(l[E],h,this.errors))})}}_copyOptions(){const o={};if(this.options){const t=this.options.params;if(t){const i=o.params={};Object.keys(t).forEach(a=>{i[a]=t[a]})}}return o}createSubContext(o=null,t,i){const a=t||this.element,l=new Ug(this._driver,a,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(a,i||0));return l.previousNode=this.previousNode,l.currentAnimateTimings=this.currentAnimateTimings,l.options=this._copyOptions(),l.updateOptions(o),l.currentQueryIndex=this.currentQueryIndex,l.currentQueryTotal=this.currentQueryTotal,l.parentContext=this,this.subContextCount++,l}transformIntoNewTimeline(o){return this.previousNode=bp,this.currentTimeline=this.currentTimeline.fork(this.element,o),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(o,t,i){const a={duration:null!=t?t:o.duration,delay:this.currentTimeline.currentTime+(null!=i?i:0)+o.delay,easing:""},l=new RC(this._driver,o.element,o.keyframes,o.preStyleProps,o.postStyleProps,a,o.stretchStartingKeyframe);return this.timelines.push(l),a}incrementTime(o){this.currentTimeline.forwardTime(this.currentTimeline.duration+o)}delayNextStep(o){o>0&&this.currentTimeline.delayNextStep(o)}invokeQuery(o,t,i,a,l,h){let E=[];if(a&&E.push(this.element),o.length>0){o=(o=o.replace(xp,"."+this._enterClassName)).replace(ub,"."+this._leaveClassName);let oe=this._driver.query(this.element,o,1!=i);0!==i&&(oe=i<0?oe.slice(oe.length+i,oe.length):oe.slice(0,i)),E.push(...oe)}return!l&&0==E.length&&h.push(function Mg(n){return new e.vHH(3014,!1)}()),E}}class jh{constructor(o,t,i,a){this._driver=o,this.element=t,this.startTime=i,this._elementTimelineStylesLookup=a,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(o){const t=1===this._keyframes.size&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+o),t&&this.snapshotCurrentStyles()):this.startTime+=o}fork(o,t){return this.applyStylesToKeyframe(),new jh(this._driver,o,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(o){this.applyStylesToKeyframe(),this.duration=o,this._loadKeyframe()}_updateStyle(o,t){this._localTimelineStyles.set(o,t),this._globalTimelineStyles.set(o,t),this._styleSummary.set(o,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(o){o&&this._previousKeyframe.set("easing",o);for(let[t,i]of this._globalTimelineStyles)this._backFill.set(t,i||ne.l3),this._currentKeyframe.set(t,ne.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(o,t,i,a){var l;t&&this._previousKeyframe.set("easing",t);const h=a&&a.params||{},E=function j0(n,o){const t=new Map;let i;return n.forEach(a=>{if("*"===a){i=i||o.keys();for(let l of i)t.set(l,ne.l3)}else Sc(a,t)}),t}(o,this._globalTimelineStyles);for(let[B,oe]of E){const xe=pp(oe,h,i);this._pendingStyles.set(B,xe),this._localTimelineStyles.has(B)||this._backFill.set(B,null!==(l=this._globalTimelineStyles.get(B))&&void 0!==l?l:ne.l3),this._updateStyle(B,xe)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((o,t)=>{this._currentKeyframe.set(t,o)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((o,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,o)}))}snapshotCurrentStyles(){for(let[o,t]of this._localTimelineStyles)this._pendingStyles.set(o,t),this._updateStyle(o,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const o=[];for(let t in this._currentKeyframe)o.push(t);return o}mergeTimelineCollectedStyles(o){o._styleSummary.forEach((t,i)=>{const a=this._styleSummary.get(i);(!a||t.time>a.time)&&this._updateStyle(i,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const o=new Set,t=new Set,i=1===this._keyframes.size&&0===this.duration;let a=[];this._keyframes.forEach((E,B)=>{const oe=Sc(E,new Map,this._backFill);oe.forEach((xe,Ve)=>{xe===ne.k1?o.add(Ve):xe===ne.l3&&t.add(Ve)}),i||oe.set("offset",B/this.duration),a.push(oe)});const l=o.size?hp(o.values()):[],h=t.size?hp(t.values()):[];if(i){const E=a[0],B=new Map(E);E.set("offset",0),B.set("offset",1),a=[E,B]}return c_(this.element,a,l,h,this.duration,this.startTime,this.easing,!1)}}class RC extends jh{constructor(o,t,i,a,l,h,E=!1){super(o,t,h.delay),this.keyframes=i,this.preStyleProps=a,this.postStyleProps=l,this._stretchStartingKeyframe=E,this.timings={duration:h.duration,delay:h.delay,easing:h.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let o=this.keyframes,{delay:t,duration:i,easing:a}=this.timings;if(this._stretchStartingKeyframe&&t){const l=[],h=i+t,E=t/h,B=Sc(o[0]);B.set("offset",0),l.push(B);const oe=Sc(o[0]);oe.set("offset",yp(E)),l.push(oe);const xe=o.length-1;for(let Ve=1;Ve<=xe;Ve++){let lt=Sc(o[Ve]);const Ft=lt.get("offset");lt.set("offset",yp((t+Ft*i)/h)),l.push(lt)}i=h,t=0,a="",o=l}return c_(this.element,o,this.preStyleProps,this.postStyleProps,i,t,a,!0)}}function yp(n,o=3){const t=Math.pow(10,o-1);return Math.round(n*t)/t}class Yg{}const FC=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class NC extends Yg{normalizePropertyName(o,t){return Pg(o)}normalizeStyleValue(o,t,i,a){let l="";const h=i.toString().trim();if(FC.has(t)&&0!==i&&"0"!==i)if("number"==typeof i)l="px";else{const E=i.match(/^[+-]?[\d\.]+([a-z]*)$/);E&&0==E[1].length&&a.push(function kh(n,o){return new e.vHH(3005,!1)}())}return h+l}}function Hg(n,o,t,i,a,l,h,E,B,oe,xe,Ve,lt){return{type:0,element:n,triggerName:o,isRemovalTransition:a,fromState:t,fromStyles:l,toState:i,toStyles:h,timelines:E,queriedElements:B,preStyleProps:oe,postStyleProps:xe,totalTime:Ve,errors:lt}}const Wh={};class u_{constructor(o,t,i){this._triggerName=o,this.ast=t,this._stateStyles=i}match(o,t,i,a){return function q0(n,o,t,i,a){return n.some(l=>l(o,t,i,a))}(this.ast.matchers,o,t,i,a)}buildStyles(o,t,i){let a=this._stateStyles.get("*");return void 0!==o&&(a=this._stateStyles.get(null==o?void 0:o.toString())||a),a?a.buildStyles(t,i):new Map}build(o,t,i,a,l,h,E,B,oe,xe){var Ve;const lt=[],Ft=this.ast.options&&this.ast.options.params||Wh,fi=this.buildStyles(i,E&&E.params||Wh,lt),Wi=B&&B.params||Wh,Fn=this.buildStyles(a,Wi,lt),ba=new Set,br=new Map,yr=new Map,ym="void"===a,Pp={params:__(Wi,Ft),delay:null===(Ve=this.ast.options)||void 0===Ve?void 0:Ve.delay},Rl=xe?[]:Kh(o,t,this.ast.animation,l,h,fi,Fn,Pp,oe,lt);let Bc=0;if(Rl.forEach(Dd=>{Bc=Math.max(Dd.duration+Dd.delay,Bc)}),lt.length)return Hg(t,this._triggerName,i,a,ym,fi,Fn,[],[],br,yr,Bc,lt);Rl.forEach(Dd=>{const r0=Dd.element,s0=Cs(br,r0,new Set);Dd.preStyleProps.forEach(Of=>s0.add(Of));const l0=Cs(yr,r0,new Set);Dd.postStyleProps.forEach(Of=>l0.add(Of)),r0!==t&&ba.add(r0)});const j1=hp(ba.values());return Hg(t,this._triggerName,i,a,ym,fi,Fn,Rl,j1,br,yr,Bc)}}function __(n,o){const t=r_(o);for(const i in n)n.hasOwnProperty(i)&&null!=n[i]&&(t[i]=n[i]);return t}class BC{constructor(o,t,i){this.styles=o,this.defaultParams=t,this.normalizer=i}buildStyles(o,t){const i=new Map,a=r_(this.defaultParams);return Object.keys(o).forEach(l=>{const h=o[l];null!==h&&(a[l]=h)}),this.styles.styles.forEach(l=>{"string"!=typeof l&&l.forEach((h,E)=>{h&&(h=pp(h,a,t));const B=this.normalizer.normalizePropertyName(E,t);h=this.normalizer.normalizeStyleValue(E,B,h,t),i.set(B,h)})}),i}}class qh{constructor(o,t,i){this.name=o,this.ast=t,this._normalizer=i,this.transitionFactories=[],this.states=new Map,t.states.forEach(a=>{this.states.set(a.name,new BC(a.style,a.options&&a.options.params||{},i))}),hl(this.states,"true","1"),hl(this.states,"false","0"),t.transitions.forEach(a=>{this.transitionFactories.push(new u_(o,a,this.states))}),this.fallbackTransition=function ZC(n,o,t){return new u_(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(h,E)=>!0],options:null,queryCount:0,depCount:0},o)}(o,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(o,t,i,a){return this.transitionFactories.find(h=>h.match(o,t,i,a))||null}matchStyles(o,t,i){return this.fallbackTransition.buildStyles(o,t,i)}}function hl(n,o,t){n.has(o)?n.has(t)||n.set(t,n.get(o)):n.has(t)&&n.set(o,n.get(t))}const Tp=new d_;class Kr{constructor(o,t,i){this.bodyNode=o,this._driver=t,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(o,t){const i=[],l=fp(this._driver,t,i,[]);if(i.length)throw function Ph(n){return new e.vHH(3503,!1)}();this._animations.set(o,l)}_buildPlayer(o,t,i){const a=o.element,l=U0(0,this._normalizer,0,o.keyframes,t,i);return this._driver.animate(a,l,o.duration,o.delay,o.easing,[],!0)}create(o,t,i={}){const a=[],l=this._animations.get(o);let h;const E=new Map;if(l?(h=Kh(this._driver,t,l,a_,su,new Map,new Map,i,Tp,a),h.forEach(xe=>{const Ve=Cs(E,xe.element,new Map);xe.postStyleProps.forEach(lt=>Ve.set(lt,null))})):(a.push(function R0(){return new e.vHH(3300,!1)}()),h=[]),a.length)throw function ib(n){return new e.vHH(3504,!1)}();E.forEach((xe,Ve)=>{xe.forEach((lt,Ft)=>{xe.set(Ft,this._driver.computeStyle(Ve,Ft,ne.l3))})});const oe=ru(h.map(xe=>{const Ve=E.get(xe.element);return this._buildPlayer(xe,new Map,Ve)}));return this._playersById.set(o,oe),oe.onDestroy(()=>this.destroy(o)),this.players.push(oe),oe}destroy(o){const t=this._getPlayer(o);t.destroy(),this._playersById.delete(o);const i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}_getPlayer(o){const t=this._playersById.get(o);if(!t)throw function gC(n){return new e.vHH(3301,!1)}();return t}listen(o,t,i,a){const l=lp(t,"","","");return fC(this._getPlayer(o),i,l,a),()=>{}}command(o,t,i,a){if("register"==i)return void this.register(o,a[0]);if("create"==i)return void this.create(o,t,a[0]||{});const l=this._getPlayer(o);switch(i){case"play":l.play();break;case"pause":l.pause();break;case"reset":l.reset();break;case"restart":l.restart();break;case"finish":l.finish();break;case"init":l.init();break;case"setPosition":l.setPosition(parseFloat(a[0]));break;case"destroy":this.destroy(o)}}}const pd="ng-animate-queued",xs="ng-animate-disabled",uu=[],hd={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},m_={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},kr="__ng_removed";class md{constructor(o,t=""){this.namespaceId=t;const i=o&&o.hasOwnProperty("value");if(this.value=function GC(n){return null!=n?n:null}(i?o.value:o),i){const l=r_(o);delete l.value,this.options=l}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(o){const t=o.params;if(t){const i=this.options.params;Object.keys(t).forEach(a=>{null==i[a]&&(i[a]=t[a])})}}}const ec="void",gd=new md(ec);class YC{constructor(o,t,i){this.id=o,this.hostElement=t,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+o,ml(t,this._hostClassName)}listen(o,t,i,a){if(!this._triggers.has(t))throw function Dg(n,o){return new e.vHH(3302,!1)}();if(null==i||0==i.length)throw function F0(n){return new e.vHH(3303,!1)}();if(!function KC(n){return"start"==n||"done"==n}(i))throw function Rh(n,o){return new e.vHH(3400,!1)}();const l=Cs(this._elementListeners,o,[]),h={name:t,phase:i,callback:a};l.push(h);const E=Cs(this._engine.statesByElement,o,new Map);return E.has(t)||(ml(o,o_),ml(o,o_+"-"+t),E.set(t,gd)),()=>{this._engine.afterFlush(()=>{const B=l.indexOf(h);B>=0&&l.splice(B,1),this._triggers.has(t)||E.delete(t)})}}register(o,t){return!this._triggers.has(o)&&(this._triggers.set(o,t),!0)}_getTrigger(o){const t=this._triggers.get(o);if(!t)throw function nb(n){return new e.vHH(3401,!1)}();return t}trigger(o,t,i,a=!0){const l=this._getTrigger(t),h=new $h(this.id,t,o);let E=this._engine.statesByElement.get(o);E||(ml(o,o_),ml(o,o_+"-"+t),this._engine.statesByElement.set(o,E=new Map));let B=E.get(t);const oe=new md(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&B&&oe.absorbOptions(B.options),E.set(t,oe),B||(B=gd),oe.value!==ec&&B.value===oe.value){if(!function Dp(n,o){const t=Object.keys(n),i=Object.keys(o);if(t.length!=i.length)return!1;for(let a=0;a{Ac(o,Wi),_l(o,Fn)})}return}const lt=Cs(this._engine.playersByElement,o,[]);lt.forEach(fi=>{fi.namespaceId==this.id&&fi.triggerName==t&&fi.queued&&fi.destroy()});let Ft=l.matchTransition(B.value,oe.value,o,oe.params),ii=!1;if(!Ft){if(!a)return;Ft=l.fallbackTransition,ii=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:t,transition:Ft,fromState:B,toState:oe,player:h,isFallbackTransition:ii}),ii||(ml(o,pd),h.onStart(()=>{fd(o,pd)})),h.onDone(()=>{let fi=this.players.indexOf(h);fi>=0&&this.players.splice(fi,1);const Wi=this._engine.playersByElement.get(o);if(Wi){let Fn=Wi.indexOf(h);Fn>=0&&Wi.splice(Fn,1)}}),this.players.push(h),lt.push(h),h}deregister(o){this._triggers.delete(o),this._engine.statesByElement.forEach(t=>t.delete(o)),this._elementListeners.forEach((t,i)=>{this._elementListeners.set(i,t.filter(a=>a.name!=o))})}clearElementCache(o){this._engine.statesByElement.delete(o),this._elementListeners.delete(o);const t=this._engine.playersByElement.get(o);t&&(t.forEach(i=>i.destroy()),this._engine.playersByElement.delete(o))}_signalRemovalForInnerTriggers(o,t){const i=this._engine.driver.query(o,lu,!0);i.forEach(a=>{if(a[kr])return;const l=this._engine.fetchNamespacesByElement(a);l.size?l.forEach(h=>h.triggerLeaveAnimation(a,t,!1,!0)):this.clearElementCache(a)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(a=>this.clearElementCache(a)))}triggerLeaveAnimation(o,t,i,a){const l=this._engine.statesByElement.get(o),h=new Map;if(l){const E=[];if(l.forEach((B,oe)=>{if(h.set(oe,B.value),this._triggers.has(oe)){const xe=this.trigger(o,oe,ec,a);xe&&E.push(xe)}}),E.length)return this._engine.markElementAsRemoved(this.id,o,!0,t,h),i&&ru(E).onDone(()=>this._engine.processLeaveNode(o)),!0}return!1}prepareLeaveAnimationListeners(o){const t=this._elementListeners.get(o),i=this._engine.statesByElement.get(o);if(t&&i){const a=new Set;t.forEach(l=>{const h=l.name;if(a.has(h))return;a.add(h);const B=this._triggers.get(h).fallbackTransition,oe=i.get(h)||gd,xe=new md(ec),Ve=new $h(this.id,h,o);this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:h,transition:B,fromState:oe,toState:xe,player:Ve,isFallbackTransition:!0})})}}removeNode(o,t){const i=this._engine;if(o.childElementCount&&this._signalRemovalForInnerTriggers(o,t),this.triggerLeaveAnimation(o,t,!0))return;let a=!1;if(i.totalAnimations){const l=i.players.length?i.playersByQueriedElement.get(o):[];if(l&&l.length)a=!0;else{let h=o;for(;h=h.parentNode;)if(i.statesByElement.get(h)){a=!0;break}}}if(this.prepareLeaveAnimationListeners(o),a)i.markElementAsRemoved(this.id,o,!1,t);else{const l=o[kr];(!l||l===hd)&&(i.afterFlush(()=>this.clearElementCache(o)),i.destroyInnerAnimations(o),i._onRemovalComplete(o,t))}}insertNode(o,t){ml(o,this._hostClassName)}drainQueuedTransitions(o){const t=[];return this._queue.forEach(i=>{const a=i.player;if(a.destroyed)return;const l=i.element,h=this._elementListeners.get(l);h&&h.forEach(E=>{if(E.name==i.triggerName){const B=lp(l,i.triggerName,i.fromState.value,i.toState.value);B._data=o,fC(i.player,E.phase,B,E.callback)}}),a.markedForDestroy?this._engine.afterFlush(()=>{a.destroy()}):t.push(i)}),this._queue=[],t.sort((i,a)=>{const l=i.transition.ast.depCount,h=a.transition.ast.depCount;return 0==l||0==h?l-h:this._engine.driver.containsElement(i.element,a.element)?1:-1})}destroy(o){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,o)}elementContainsData(o){let t=!1;return this._elementListeners.has(o)&&(t=!0),t=!!this._queue.find(i=>i.element===o)||t,t}}class HC{constructor(o,t,i){this.bodyNode=o,this.driver=t,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(a,l)=>{}}_onRemovalComplete(o,t){this.onRemovalComplete(o,t)}get queuedPlayers(){const o=[];return this._namespaceList.forEach(t=>{t.players.forEach(i=>{i.queued&&o.push(i)})}),o}createNamespace(o,t){const i=new YC(o,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(i,t):(this.newHostElements.set(t,i),this.collectEnterElement(t)),this._namespaceLookup[o]=i}_balanceNamespaceList(o,t){const i=this._namespaceList,a=this.namespacesByHostElement;if(i.length-1>=0){let h=!1,E=this.driver.getParentElement(t);for(;E;){const B=a.get(E);if(B){const oe=i.indexOf(B);i.splice(oe+1,0,o),h=!0;break}E=this.driver.getParentElement(E)}h||i.unshift(o)}else i.push(o);return a.set(t,o),o}register(o,t){let i=this._namespaceLookup[o];return i||(i=this.createNamespace(o,t)),i}registerTrigger(o,t,i){let a=this._namespaceLookup[o];a&&a.register(t,i)&&this.totalAnimations++}destroy(o,t){if(!o)return;const i=this._fetchNamespace(o);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[o];const a=this._namespaceList.indexOf(i);a>=0&&this._namespaceList.splice(a,1)}),this.afterFlushAnimationsDone(()=>i.destroy(t))}_fetchNamespace(o){return this._namespaceLookup[o]}fetchNamespacesByElement(o){const t=new Set,i=this.statesByElement.get(o);if(i)for(let a of i.values())if(a.namespaceId){const l=this._fetchNamespace(a.namespaceId);l&&t.add(l)}return t}trigger(o,t,i,a){if(Mp(t)){const l=this._fetchNamespace(o);if(l)return l.trigger(t,i,a),!0}return!1}insertNode(o,t,i,a){if(!Mp(t))return;const l=t[kr];if(l&&l.setForRemoval){l.setForRemoval=!1,l.setForMove=!0;const h=this.collectedLeaveElements.indexOf(t);h>=0&&this.collectedLeaveElements.splice(h,1)}if(o){const h=this._fetchNamespace(o);h&&h.insertNode(t,i)}a&&this.collectEnterElement(t)}collectEnterElement(o){this.collectedEnterElements.push(o)}markElementAsDisabled(o,t){t?this.disabledNodes.has(o)||(this.disabledNodes.add(o),ml(o,xs)):this.disabledNodes.has(o)&&(this.disabledNodes.delete(o),fd(o,xs))}removeNode(o,t,i,a){if(Mp(t)){const l=o?this._fetchNamespace(o):null;if(l?l.removeNode(t,a):this.markElementAsRemoved(o,t,!1,a),i){const h=this.namespacesByHostElement.get(t);h&&h.id!==o&&h.removeNode(t,a)}}else this._onRemovalComplete(t,a)}markElementAsRemoved(o,t,i,a,l){this.collectedLeaveElements.push(t),t[kr]={namespaceId:o,setForRemoval:a,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:l}}listen(o,t,i,a,l){return Mp(t)?this._fetchNamespace(o).listen(t,i,a,l):()=>{}}_buildInstruction(o,t,i,a,l){return o.transition.build(this.driver,o.element,o.fromState.value,o.toState.value,i,a,o.fromState.options,o.toState.options,t,l)}destroyInnerAnimations(o){let t=this.driver.query(o,lu,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(o,MC,!0),t.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(o){const t=this.playersByElement.get(o);t&&t.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(o){const t=this.playersByQueriedElement.get(o);t&&t.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(o=>{if(this.players.length)return ru(this.players).onDone(()=>o());o()})}processLeaveNode(o){var t;const i=o[kr];if(i&&i.setForRemoval){if(o[kr]=hd,i.namespaceId){this.destroyInnerAnimations(o);const a=this._fetchNamespace(i.namespaceId);a&&a.clearElementCache(o)}this._onRemovalComplete(o,i.setForRemoval)}!(null===(t=o.classList)||void 0===t)&&t.contains(xs)&&this.markElementAsDisabled(o,!1),this.driver.query(o,".ng-animate-disabled",!0).forEach(a=>{this.markElementAsDisabled(a,!1)})}flush(o=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,a)=>this._balanceNamespaceList(i,a)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],t.length?ru(t).onDone(()=>{i.forEach(a=>a())}):i.forEach(a=>a())}}reportError(o){throw function N0(n){return new e.vHH(3402,!1)}()}_flushAnimations(o,t){const i=new d_,a=[],l=new Map,h=[],E=new Map,B=new Map,oe=new Map,xe=new Set;this.disabledNodes.forEach(Xi=>{xe.add(Xi);const hn=this.driver.query(Xi,".ng-animate-queued",!0);for(let bn=0;bn{const bn=a_+fi++;ii.set(hn,bn),Xi.forEach(ra=>ml(ra,bn))});const Wi=[],Fn=new Set,ba=new Set;for(let Xi=0;XiFn.add(ra)):ba.add(hn))}const br=new Map,yr=jC(lt,Array.from(Fn));yr.forEach((Xi,hn)=>{const bn=su+fi++;br.set(hn,bn),Xi.forEach(ra=>ml(ra,bn))}),o.push(()=>{Ft.forEach((Xi,hn)=>{const bn=ii.get(hn);Xi.forEach(ra=>fd(ra,bn))}),yr.forEach((Xi,hn)=>{const bn=br.get(hn);Xi.forEach(ra=>fd(ra,bn))}),Wi.forEach(Xi=>{this.processLeaveNode(Xi)})});const ym=[],Pp=[];for(let Xi=this._namespaceList.length-1;Xi>=0;Xi--)this._namespaceList[Xi].drainQueuedTransitions(t).forEach(bn=>{const ra=bn.player,rr=bn.element;if(ym.push(ra),this.collectedEnterElements.length){const Gs=rr[kr];if(Gs&&Gs.setForMove){if(Gs.previousTriggersValues&&Gs.previousTriggersValues.has(bn.triggerName)){const Tm=Gs.previousTriggersValues.get(bn.triggerName),Uc=this.statesByElement.get(bn.element);if(Uc&&Uc.has(bn.triggerName)){const W1=Uc.get(bn.triggerName);W1.value=Tm,Uc.set(bn.triggerName,W1)}}return void ra.destroy()}}const _u=!Ve||!this.driver.containsElement(Ve,rr),rc=br.get(rr),Rp=ii.get(rr),Jo=this._buildInstruction(bn,i,Rp,rc,_u);if(Jo.errors&&Jo.errors.length)return void Pp.push(Jo);if(_u)return ra.onStart(()=>Ac(rr,Jo.fromStyles)),ra.onDestroy(()=>_l(rr,Jo.toStyles)),void a.push(ra);if(bn.isFallbackTransition)return ra.onStart(()=>Ac(rr,Jo.fromStyles)),ra.onDestroy(()=>_l(rr,Jo.toStyles)),void a.push(ra);const UT=[];Jo.timelines.forEach(Gs=>{Gs.stretchStartingKeyframe=!0,this.disabledNodes.has(Gs.element)||UT.push(Gs)}),Jo.timelines=UT,i.append(rr,Jo.timelines),h.push({instruction:Jo,player:ra,element:rr}),Jo.queriedElements.forEach(Gs=>Cs(E,Gs,[]).push(ra)),Jo.preStyleProps.forEach((Gs,Tm)=>{if(Gs.size){let Uc=B.get(Tm);Uc||B.set(Tm,Uc=new Set),Gs.forEach((W1,L2)=>Uc.add(L2))}}),Jo.postStyleProps.forEach((Gs,Tm)=>{let Uc=oe.get(Tm);Uc||oe.set(Tm,Uc=new Set),Gs.forEach((W1,L2)=>Uc.add(L2))})});if(Pp.length){const Xi=[];Pp.forEach(hn=>{Xi.push(function B0(n,o){return new e.vHH(3505,!1)}())}),ym.forEach(hn=>hn.destroy()),this.reportError(Xi)}const Rl=new Map,Bc=new Map;h.forEach(Xi=>{const hn=Xi.element;i.has(hn)&&(Bc.set(hn,hn),this._beforeAnimationBuild(Xi.player.namespaceId,Xi.instruction,Rl))}),a.forEach(Xi=>{const hn=Xi.element;this._getPreviousPlayers(hn,!1,Xi.namespaceId,Xi.triggerName,null).forEach(ra=>{Cs(Rl,hn,[]).push(ra),ra.destroy()})});const j1=Wi.filter(Xi=>zh(Xi,B,oe)),Dd=new Map;Kg(Dd,this.driver,ba,oe,ne.l3).forEach(Xi=>{zh(Xi,B,oe)&&j1.push(Xi)});const s0=new Map;Ft.forEach((Xi,hn)=>{Kg(s0,this.driver,new Set(Xi),B,ne.k1)}),j1.forEach(Xi=>{var hn,bn;const ra=Dd.get(Xi),rr=s0.get(Xi);Dd.set(Xi,new Map([...Array.from(null!==(hn=null==ra?void 0:ra.entries())&&void 0!==hn?hn:[]),...Array.from(null!==(bn=null==rr?void 0:rr.entries())&&void 0!==bn?bn:[])]))});const l0=[],Of=[],BT={};h.forEach(Xi=>{const{element:hn,player:bn,instruction:ra}=Xi;if(i.has(hn)){if(xe.has(hn))return bn.onDestroy(()=>_l(hn,ra.toStyles)),bn.disabled=!0,bn.overrideTotalTime(ra.totalTime),void a.push(bn);let rr=BT;if(Bc.size>1){let rc=hn;const Rp=[];for(;rc=rc.parentNode;){const Jo=Bc.get(rc);if(Jo){rr=Jo;break}Rp.push(rc)}Rp.forEach(Jo=>Bc.set(Jo,rr))}const _u=this._buildAnimation(bn.namespaceId,ra,Rl,l,s0,Dd);if(bn.setRealPlayer(_u),rr===BT)l0.push(bn);else{const rc=this.playersByElement.get(rr);rc&&rc.length&&(bn.parentPlayer=ru(rc)),a.push(bn)}}else Ac(hn,ra.fromStyles),bn.onDestroy(()=>_l(hn,ra.toStyles)),Of.push(bn),xe.has(hn)&&a.push(bn)}),Of.forEach(Xi=>{const hn=l.get(Xi.element);if(hn&&hn.length){const bn=ru(hn);Xi.setRealPlayer(bn)}}),a.forEach(Xi=>{Xi.parentPlayer?Xi.syncPlayerEvents(Xi.parentPlayer):Xi.destroy()});for(let Xi=0;Xi!_u.destroyed);rr.length?WC(this,hn,rr):this.processLeaveNode(hn)}return Wi.length=0,l0.forEach(Xi=>{this.players.push(Xi),Xi.onDone(()=>{Xi.destroy();const hn=this.players.indexOf(Xi);this.players.splice(hn,1)}),Xi.play()}),l0}elementContainsData(o,t){let i=!1;const a=t[kr];return a&&a.setForRemoval&&(i=!0),this.playersByElement.has(t)&&(i=!0),this.playersByQueriedElement.has(t)&&(i=!0),this.statesByElement.has(t)&&(i=!0),this._fetchNamespace(o).elementContainsData(t)||i}afterFlush(o){this._flushFns.push(o)}afterFlushAnimationsDone(o){this._whenQuietFns.push(o)}_getPreviousPlayers(o,t,i,a,l){let h=[];if(t){const E=this.playersByQueriedElement.get(o);E&&(h=E)}else{const E=this.playersByElement.get(o);if(E){const B=!l||l==ec;E.forEach(oe=>{oe.queued||!B&&oe.triggerName!=a||h.push(oe)})}}return(i||a)&&(h=h.filter(E=>!(i&&i!=E.namespaceId||a&&a!=E.triggerName))),h}_beforeAnimationBuild(o,t,i){const l=t.element,h=t.isRemovalTransition?void 0:o,E=t.isRemovalTransition?void 0:t.triggerName;for(const B of t.timelines){const oe=B.element,xe=oe!==l,Ve=Cs(i,oe,[]);this._getPreviousPlayers(oe,xe,h,E,t.toState).forEach(Ft=>{const ii=Ft.getRealPlayer();ii.beforeDestroy&&ii.beforeDestroy(),Ft.destroy(),Ve.push(Ft)})}Ac(l,t.fromStyles)}_buildAnimation(o,t,i,a,l,h){const E=t.triggerName,B=t.element,oe=[],xe=new Set,Ve=new Set,lt=t.timelines.map(ii=>{const fi=ii.element;xe.add(fi);const Wi=fi[kr];if(Wi&&Wi.removedBeforeQueried)return new ne.ZN(ii.duration,ii.delay);const Fn=fi!==B,ba=function On(n){const o=[];return gl(n,o),o}((i.get(fi)||uu).map(Rl=>Rl.getRealPlayer())).filter(Rl=>!!Rl.element&&Rl.element===fi),br=l.get(fi),yr=h.get(fi),ym=U0(0,this._normalizer,0,ii.keyframes,br,yr),Pp=this._buildPlayer(ii,ym,ba);if(ii.subTimeline&&a&&Ve.add(fi),Fn){const Rl=new $h(o,E,fi);Rl.setRealPlayer(Pp),oe.push(Rl)}return Pp});oe.forEach(ii=>{Cs(this.playersByQueriedElement,ii.element,[]).push(ii),ii.onDone(()=>function VC(n,o,t){let i=n.get(o);if(i){if(i.length){const a=i.indexOf(t);i.splice(a,1)}0==i.length&&n.delete(o)}return i}(this.playersByQueriedElement,ii.element,ii))}),xe.forEach(ii=>ml(ii,TC));const Ft=ru(lt);return Ft.onDestroy(()=>{xe.forEach(ii=>fd(ii,TC)),_l(B,t.toStyles)}),Ve.forEach(ii=>{Cs(a,ii,[]).push(Ft)}),Ft}_buildPlayer(o,t,i){return t.length>0?this.driver.animate(o.element,t,o.duration,o.delay,o.easing,i):new ne.ZN(o.duration,o.delay)}}class $h{constructor(o,t,i){this.namespaceId=o,this.triggerName=t,this.element=i,this._player=new ne.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(o){this._containsRealPlayer||(this._player=o,this._queuedCallbacks.forEach((t,i)=>{t.forEach(a=>fC(o,i,void 0,a))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(o.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(o){this.totalTime=o}syncPlayerEvents(o){const t=this._player;t.triggerCallback&&o.onStart(()=>t.triggerCallback("start")),o.onDone(()=>this.finish()),o.onDestroy(()=>this.destroy())}_queueEvent(o,t){Cs(this._queuedCallbacks,o,[]).push(t)}onDone(o){this.queued&&this._queueEvent("done",o),this._player.onDone(o)}onStart(o){this.queued&&this._queueEvent("start",o),this._player.onStart(o)}onDestroy(o){this.queued&&this._queueEvent("destroy",o),this._player.onDestroy(o)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(o){this.queued||this._player.setPosition(o)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(o){const t=this._player;t.triggerCallback&&t.triggerCallback(o)}}function Mp(n){return n&&1===n.nodeType}function Gg(n,o){const t=n.style.display;return n.style.display=null!=o?o:"none",t}function Kg(n,o,t,i,a){const l=[];t.forEach(B=>l.push(Gg(B)));const h=[];i.forEach((B,oe)=>{const xe=new Map;B.forEach(Ve=>{const lt=o.computeStyle(oe,Ve,a);xe.set(Ve,lt),(!lt||0==lt.length)&&(oe[kr]=m_,h.push(oe))}),n.set(oe,xe)});let E=0;return t.forEach(B=>Gg(B,l[E++])),h}function jC(n,o){const t=new Map;if(n.forEach(E=>t.set(E,[])),0==o.length)return t;const a=new Set(o),l=new Map;function h(E){if(!E)return 1;let B=l.get(E);if(B)return B;const oe=E.parentNode;return B=t.has(oe)?oe:a.has(oe)?1:h(oe),l.set(E,B),B}return o.forEach(E=>{const B=h(E);1!==B&&t.get(B).push(E)}),t}function ml(n,o){var t;null===(t=n.classList)||void 0===t||t.add(o)}function fd(n,o){var t;null===(t=n.classList)||void 0===t||t.remove(o)}function WC(n,o,t){ru(t).onDone(()=>n.processLeaveNode(o))}function gl(n,o){for(let t=0;ta.add(l)):o.set(n,i),t.delete(n),!0}class qo{constructor(o,t,i){this.bodyNode=o,this._driver=t,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(a,l)=>{},this._transitionEngine=new HC(o,t,i),this._timelineEngine=new Kr(o,t,i),this._transitionEngine.onRemovalComplete=(a,l)=>this.onRemovalComplete(a,l)}registerTrigger(o,t,i,a,l){const h=o+"-"+a;let E=this._triggerCache[h];if(!E){const B=[],xe=fp(this._driver,l,B,[]);if(B.length)throw function hC(n,o){return new e.vHH(3404,!1)}();E=function UC(n,o,t){return new qh(n,o,t)}(a,xe,this._normalizer),this._triggerCache[h]=E}this._transitionEngine.registerTrigger(t,a,E)}register(o,t){this._transitionEngine.register(o,t)}destroy(o,t){this._transitionEngine.destroy(o,t)}onInsert(o,t,i,a){this._transitionEngine.insertNode(o,t,i,a)}onRemove(o,t,i,a){this._transitionEngine.removeNode(o,t,a||!1,i)}disableAnimations(o,t){this._transitionEngine.markElementAsDisabled(o,t)}process(o,t,i,a){if("@"==i.charAt(0)){const[l,h]=wg(i);this._timelineEngine.command(l,t,h,a)}else this._transitionEngine.trigger(o,t,i,a)}listen(o,t,i,a,l){if("@"==i.charAt(0)){const[h,E]=wg(i);return this._timelineEngine.listen(h,t,E,l)}return this._transitionEngine.listen(o,t,i,a,l)}flush(o=-1){this._transitionEngine.flush(o)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Qh=(()=>{class n{constructor(t,i,a){this._element=t,this._startStyles=i,this._endStyles=a,this._state=0;let l=n.initialStylesByElement.get(t);l||n.initialStylesByElement.set(t,l=new Map),this._initialStyles=l}start(){this._state<1&&(this._startStyles&&_l(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(_l(this._element,this._initialStyles),this._endStyles&&(_l(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(Ac(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ac(this._element,this._endStyles),this._endStyles=null),_l(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function Xh(n){let o=null;return n.forEach((t,i)=>{(function g_(n){return"display"===n||"position"===n})(i)&&(o=o||new Map,o.set(i,t))}),o}class Cd{constructor(o,t,i,a){this.element=o,this.keyframes=t,this.options=i,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const o=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,o,this.options),this._finalKeyframe=o.length?o[o.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(o){const t=[];return o.forEach(i=>{t.push(Object.fromEntries(i))}),t}_triggerWebAnimation(o,t,i){return o.animate(this._convertKeyframesToObject(t),i)}onStart(o){this._originalOnStartFns.push(o),this._onStartFns.push(o)}onDone(o){this._originalOnDoneFns.push(o),this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(o=>o()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}setPosition(o){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=o*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const o=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,a)=>{"offset"!==a&&o.set(a,this._finished?i:Uh(this.element,a))}),this.currentSnapshot=o}triggerCallback(o){const t="start"===o?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class bs{validateStyleProperty(o){return!0}validateAnimatableStyleProperty(o){return!0}matchesElement(o,t){return!1}containsElement(o,t){return cp(o,t)}getParentElement(o){return Ag(o)}query(o,t,i){return ud(o,t,i)}computeStyle(o,t,i){return window.getComputedStyle(o)[t]}animate(o,t,i,a,l,h=[]){const B={duration:i,delay:a,fill:0==a?"both":"forwards"};l&&(B.easing=l);const oe=new Map,xe=h.filter(Ft=>Ft instanceof Cd);(function Rg(n,o){return 0===n||0===o})(i,a)&&xe.forEach(Ft=>{Ft.currentSnapshot.forEach((ii,fi)=>oe.set(fi,ii))});let Ve=function vs(n){return n.length?n[0]instanceof Map?n:n.map(o=>EC(o)):[]}(t).map(Ft=>Sc(Ft));Ve=function LC(n,o,t){if(t.size&&o.length){let i=o[0],a=[];if(t.forEach((l,h)=>{i.has(h)||a.push(h),i.set(h,l)}),a.length)for(let l=1;lh.set(E,Uh(n,E)))}}return o}(o,Ve,oe);const lt=function Ep(n,o){let t=null,i=null;return Array.isArray(o)&&o.length?(t=Xh(o[0]),o.length>1&&(i=Xh(o[o.length-1]))):o instanceof Map&&(t=Xh(o)),t||i?new Qh(n,t,i):null}(o,Ve);return new Cd(o,Ve,B,lt)}}let Lc=(()=>{class n extends ne._j{constructor(t,i){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(i.body,{id:"0",encapsulation:e.ifc.None,styles:[],data:{animation:[]}})}build(t){const i=this._nextAnimationId.toString();this._nextAnimationId++;const a=Array.isArray(t)?(0,ne.vP)(t):t;return fl(this._renderer,null,i,"register",[a]),new Pi(i,this._renderer)}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(e.FYo),e.LFG(_e.K0))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})();class Pi extends ne.LC{constructor(o,t){super(),this._id=o,this._renderer=t}create(o,t){return new em(this._id,o,t||{},this._renderer)}}class em{constructor(o,t,i,a){this.id=o,this.element=t,this._renderer=a,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(o,t){return this._renderer.listen(this.element,`@@${this.id}:${o}`,t)}_command(o,...t){return fl(this._renderer,this.element,this.id,o,t)}onDone(o){this._listen("done",o)}onStart(o){this._listen("start",o)}onDestroy(o){this._listen("destroy",o)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(o){this._command("setPosition",o)}getPosition(){var o,t;return null!==(t=null===(o=this._renderer.engine.players[+this.id])||void 0===o?void 0:o.getPosition())&&void 0!==t?t:0}}function fl(n,o,t,i,a){return n.setProperty(o,`@@${t}:${i}`,a)}const f_="@.disabled";let jg=(()=>{class n{constructor(t,i,a){this.delegate=t,this.engine=i,this._zone=a,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(l,h)=>{const E=null==h?void 0:h.parentNode(l);E&&h.removeChild(E,l)}}createRenderer(t,i){const l=this.delegate.createRenderer(t,i);if(!(t&&i&&i.data&&i.data.animation)){let xe=this._rendererCache.get(l);return xe||(xe=new vd("",l,this.engine,()=>this._rendererCache.delete(l)),this._rendererCache.set(l,xe)),xe}const h=i.id,E=i.id+"-"+this._currentId;this._currentId++,this.engine.register(E,t);const B=xe=>{Array.isArray(xe)?xe.forEach(B):this.engine.registerTrigger(h,E,t,xe.name,xe)};return i.data.animation.forEach(B),new Wg(this,E,l,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,i,a){t>=0&&ti(a)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(l=>{const[h,E]=l;h(E)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,a]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(e.FYo),e.LFG(qo),e.LFG(e.R0b))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})();class vd{constructor(o,t,i,a){this.namespaceId=o,this.delegate=t,this.engine=i,this._onDestroy=a,this.destroyNode=this.delegate.destroyNode?l=>t.destroyNode(l):null}get data(){return this.delegate.data}destroy(){var o;this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),null===(o=this._onDestroy)||void 0===o||o.call(this)}createElement(o,t){return this.delegate.createElement(o,t)}createComment(o){return this.delegate.createComment(o)}createText(o){return this.delegate.createText(o)}appendChild(o,t){this.delegate.appendChild(o,t),this.engine.onInsert(this.namespaceId,t,o,!1)}insertBefore(o,t,i,a=!0){this.delegate.insertBefore(o,t,i),this.engine.onInsert(this.namespaceId,t,o,a)}removeChild(o,t,i){this.engine.onRemove(this.namespaceId,t,this.delegate,i)}selectRootElement(o,t){return this.delegate.selectRootElement(o,t)}parentNode(o){return this.delegate.parentNode(o)}nextSibling(o){return this.delegate.nextSibling(o)}setAttribute(o,t,i,a){this.delegate.setAttribute(o,t,i,a)}removeAttribute(o,t,i){this.delegate.removeAttribute(o,t,i)}addClass(o,t){this.delegate.addClass(o,t)}removeClass(o,t){this.delegate.removeClass(o,t)}setStyle(o,t,i,a){this.delegate.setStyle(o,t,i,a)}removeStyle(o,t,i){this.delegate.removeStyle(o,t,i)}setProperty(o,t,i){"@"==t.charAt(0)&&t==f_?this.disableAnimations(o,!!i):this.delegate.setProperty(o,t,i)}setValue(o,t){this.delegate.setValue(o,t)}listen(o,t,i){return this.delegate.listen(o,t,i)}disableAnimations(o,t){this.engine.disableAnimations(o,t)}}class Wg extends vd{constructor(o,t,i,a,l){super(t,i,a,l),this.factory=o,this.namespaceId=t}setProperty(o,t,i){"@"==t.charAt(0)?"."==t.charAt(1)&&t==f_?this.disableAnimations(o,i=void 0===i||!!i):this.engine.process(this.namespaceId,o,t.slice(1),i):this.delegate.setProperty(o,t,i)}listen(o,t,i){if("@"==t.charAt(0)){const a=function tm(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(o);let l=t.slice(1),h="";return"@"!=l.charAt(0)&&([l,h]=function qC(n){const o=n.indexOf(".");return[n.substring(0,o),n.slice(o+1)]}(l)),this.engine.listen(this.namespaceId,a,l,h,E=>{this.factory.scheduleListenerCallback(E._data||-1,i,E)})}return this.delegate.listen(o,t,i)}}const ic=[{provide:ne._j,useClass:Lc},{provide:Yg,useFactory:function Io(){return new NC}},{provide:qo,useClass:(()=>{class n extends qo{constructor(t,i,a,l){super(t.body,i,a)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(_e.K0),e.LFG(n_),e.LFG(Yg),e.LFG(e.z2F))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})()},{provide:e.FYo,useFactory:function im(n,o,t){return new jg(n,o,t)},deps:[c.se,qo,e.R0b]}],xd=[{provide:n_,useFactory:()=>new bs},{provide:e.QbO,useValue:"BrowserAnimations"},...ic],Ir=[{provide:n_,useClass:_d},{provide:e.QbO,useValue:"NoopAnimations"},...ic];let nm=(()=>{class n{static withConfig(t){return{ngModule:n,providers:t.disableAnimations?Ir:xd}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:xd,imports:[c.b2]}),n})();class am{constructor(o,t="/assets/i18n/",i=".json"){this.http=o,this.prefix=t,this.suffix=i}getTranslation(o){return this.http.get(`${this.prefix}${o}${this.suffix}`)}}var Nt=C(6696),zi=C(230),nn=C(897),ua=C(8543);function $g(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-card",2)(1,"a",3),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.setValue("splitter"))}),e._UZ(2,"div",4),e.qZA(),e.TgZ(3,"mat-card-subtitle"),e._uU(4),e.ALo(5,"translate"),e.qZA()()}2&n&&(e.xp6(4),e.hij(" ",e.lcZ(5,1,"HOME.splitter")," "))}function om(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-card",2)(1,"a",5),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.setValue("verifier"))}),e._UZ(2,"div",6),e.qZA(),e.TgZ(3,"mat-card-subtitle"),e._uU(4),e.ALo(5,"translate"),e.qZA()()}2&n&&(e.xp6(4),e.hij(" ",e.lcZ(5,1,"HOME.verifier")," "))}let kc=(()=>{class n{constructor(t,i,a,l,h){this.router=t,this.userService=i,this.routerExtService=a,this.privilegesService=l,this.localStorageService=h}ngOnInit(){this.setValue(""),this.localStorageService.save("task_watcher_minimize_display","true");const t=this.privilegesService.hasPrivilege("access_splitter"),i=this.privilegesService.hasPrivilege("access_verifier");"/login"===this.routerExtService.getPreviousUrl()&&(i&&!t?this.router.navigate(["/verifier/list"]).then():t&&!i&&this.router.navigate(["/splitter/list"]).then())}setValue(t){this.localStorageService.save("splitter_or_verifier",t)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(zi.K),e.Y36($a.e),e.Y36(nn.y),e.Y36(ua.n))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-home"]],decls:3,vars:2,consts:[[1,"flex","relative","justify-center","items-center","gap-8",2,"height","85vh"],["class","text-center w-full 2xl:w-1/5 lg:w-1/3 sm:w-1/2 shadow-lg transition duration-500 ease-in-out\n transform hover:-translate-y-1 hover:scale-110 hover:shadow-2xl",4,"ngIf"],[1,"text-center","w-full","2xl:w-1/5","lg:w-1/3","sm:w-1/2","shadow-lg","transition","duration-500","ease-in-out","transform","hover:-translate-y-1","hover:scale-110","hover:shadow-2xl"],["routerLink","/splitter/list",1,"block",3,"click"],[1,"bg-splitter","bg-no-repeat","bg-center","w-full","h-64","transition","duration-500","ease-in-out","hover:opacity-30",2,"background-size","20rem"],["routerLink","/verifier/list",1,"block",3,"click"],[1,"bg-verifier","md:w-full","bg-no-repeat","bg-center","h-64","transition","duration-500","ease-in-out","hover:opacity-30",2,"background-size","12rem"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.YNc(1,$g,6,3,"mat-card",1),e.YNc(2,om,6,3,"mat-card",1),e.qZA()),2&t&&(e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege("access_splitter")),e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege("access_verifier")))},dependencies:[_e.O5,Nt.yS,ot,Ie,$t.X$],styles:[".disabled[_ngcontent-%COMP%]{opacity:.3;pointer-events:none!important}"]}),n})();var pi=C(2560);let Al=(()=>{class n{constructor(t,i,a){this.http=t,this.authService=i,this.notify=a}readConfig(){return this.authService.headersExists||this.authService.generateHeaders(),new Promise(t=>{this.http.get(m.N.url+"/ws/config/readConfig",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.setConfig(i.config),t(!0)}),(0,Ke.K)(i=>(console.debug(i),t(!1),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()})}setConfig(t){this.authService.setTokenConfig(btoa(JSON.stringify(t)))}getConfig(){return JSON.parse(atob(this.authService.getTokenConfig()))}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(Ri.eN),e.LFG(pi.e),e.LFG(Gi.g))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var kn=C(69);let jr=(()=>{class n{constructor(t,i,a,l,h,E){this.http=t,this.authService=i,this.translate=a,this.notify=l,this.dateAdapter=h,this.historyService=E,this.currentLang="fra",this.currentBabelLang="fr",this.dateAdaptaterLocale="fr-FR",this.langs=[],this.localeLoading=!1,this.dateAdapter.setLocale("fr-FR"),M.updateLocale("fr-FR",{monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),months:"Janvier_F\xe9vrier_Mars_Avril_Mai_Juin_Juillet_Ao\xfbt_Septembre_Octobre_Novembre_D\xe9cembre".split("_"),weekdays:"Dimanche_Lundi_Mardi_Mercredi_Jeudi_Vendredi_Samedi".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",l:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},week:{dow:1}}),M.updateLocale("en-GB",{longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",l:"MM/DD/YYYY",LL:"MMMM Do YYYY",LLL:"MMMM Do YYYY LT",LLLL:"dddd, MMMM Do YYYY LT",llll:"ddd, MMM D YYYY LT"},week:{dow:0}}),M.locale(this.dateAdaptaterLocale)}changeLocale(t){this.localeLoading=!0,this.authService.headersExists||this.authService.generateHeaders(),this.http.get(m.N.url+"/ws/i18n/changeLanguage/"+t.value,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.historyService.addHistory("general","language_changed",this.translate.instant("HISTORY-DESC.language_changed",{lang:t.source._elementRef.nativeElement.textContent})),this.getCurrentLocale()}),(0,Di.x)(()=>{setTimeout(()=>{this.localeLoading=!1,window.location.reload()},500)}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}getCurrentLocale(){this.http.get(m.N.url+"/ws/i18n/getCurrentLang").pipe((0,$e.b)(t=>{this.currentLang=t.lang,this.currentBabelLang=t.babel_lang,t.moment_lang&&(this.dateAdaptaterLocale=t.moment_lang),this.dateAdapter.setLocale(this.dateAdaptaterLocale),this.translate.use(this.currentLang),M.locale(this.dateAdaptaterLocale)}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}getLocales(){this.http.get(m.N.url+"/ws/i18n/getAllLang").pipe((0,$e.b)(t=>{this.langs=t.langs}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(Ri.eN),e.LFG(pi.e),e.LFG($t.sK),e.LFG(Gi.g),e.LFG(b._A),e.LFG(kn.q))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var Cn=C(1872);function zg(n,o){if(1&n&&(e.TgZ(0,"div",17),e._UZ(1,"img",18),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("src",t.loginImage,e.LSH)}}function bd(n,o){1&n&&e._UZ(0,"app-loader")}function Qg(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Oqu(t.getErrorMessage("username"))}}function yd(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.hij(" ",t.getErrorMessage("password")," ")}}function Xg(n,o){if(1&n&&(e.TgZ(0,"mat-hint",19)(1,"span",20),e._uU(2),e.ALo(3,"uppercase"),e.ALo(4,"translate"),e.qZA()()),2&n){const t=e.oxw();e.xp6(2),e.AsE(" ",e.lcZ(3,2,t.enableLoginMethodName)," ",e.lcZ(4,4,"LOGIN-METHODS.enabled")," ")}}function ef(n,o){1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"AUTH.login")," "))}function tf(n,o){1&n&&e._UZ(0,"i",21)}let JC=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt,Ft){this.router=t,this.http=i,this.sanitizer=a,this.formBuilder=l,this.authService=h,this.userService=E,this.translate=B,this.notify=oe,this.configService=xe,this.localeService=Ve,this.historyService=lt,this.localStorageService=Ft,this.loginImage="",this.loading=!0,this.processLogin=!1,this.showPassword=!1,this.isConnectionBtnDisabled=!0,this.subtitle=""}ngOnInit(){this.loginForm=this.formBuilder.group({username:[null,A.kI.required],password:[null,A.kI.required]}),void 0===this.localeService.currentLang&&this.localeService.getCurrentLocale(),this.http.get(m.N.url+"/ws/config/getLoginImage").pipe((0,$e.b)(t=>{this.localStorageService.save("login_image_b64",t),this.loginImage=this.sanitizer.bypassSecurityTrustUrl("data:image/png;base64, "+t)}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/config/getConfiguration/loginMessage",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{1===t.configuration.length&&(this.subtitle=t.configuration[0].data.value)}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/auth/getEnabledLoginMethod",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.enableLoginMethodName=t.login_method_name[0].method_name,this.isConnectionBtnDisabled=!1}),(0,Ke.K)(t=>(this.isConnectionBtnDisabled=!0,console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}onSubmit(){const t=this.loginForm.get("password").value,i=this.loginForm.get("username").value;t&&i&&(this.processLogin=!0,this.http.post(m.N.url+"/ws/auth/login",{username:i,password:t,lang:this.localeService.currentBabelLang},{observe:"response"}).pipe((0,$e.b)(a=>{this.userService.setUser(a.body.user),this.authService.setTokens(a.body.auth_token,btoa(JSON.stringify(this.userService.getUser()))),this.localStorageService.save("task_watcher_minimize_display","true"),this.authService.generateHeaders(),this.notify.success(this.translate.instant("AUTH.authenticated")),this.configService.readConfig().then(()=>{this.historyService.addHistory("general","login",this.translate.instant("HISTORY-DESC.login")),this.authService.getCachedUrl()?(this.router.navigate([this.authService.getCachedUrl()]).then(()=>{a.body.admin_password_alert&&this.notify.error(this.translate.instant("ERROR.admin_password_alert"))}),this.authService.cleanCachedUrl()):this.router.navigate(["/home"]).then(()=>{a.body.admin_password_alert&&this.notify.error(this.translate.instant("ERROR.admin_password_alert"))})})}),(0,Ke.K)(a=>(this.processLogin=!1,console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe())}getErrorMessage(t){return this.loginForm.get(t).hasError("required")?this.translate.instant("AUTH.field_required"):this.translate.instant("ERROR.unknow_error")}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(c.H7),e.Y36(A.qu),e.Y36(pi.e),e.Y36(zi.K),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(Al),e.Y36(jr),e.Y36(kn.q),e.Y36(ua.n))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-login"]],decls:35,vars:33,consts:[["class","relative top-16 2xl:top-32 flex justify-center h-20",4,"ngIf"],[1,"flex","justify-center","items-center",2,"height","85vh"],[4,"ngIf"],[1,"text-center","w-full","2xl:w-1/4","sm:w-1/2"],[1,"mb-5"],[1,"mt-5","mb-5"],[3,"formGroup","ngSubmit"],[1,"block"],["matInput","","formControlName","username","type","text","required","",3,"placeholder"],["matInput","","name","password","autocomplete","off","formControlName","password","required","",3,"type","placeholder"],["matSuffix","",1,"text-green-400","relative","cursor-pointer","-top-1.5","text-base",3,"click"],[1,"fa","fa-1x"],["align","end",4,"ngIf"],["mat-button","","type","submit",1,"w-1/3","border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300",3,"disabled"],["class","fa-solid text-2xl fa-circle-notch fa-spin text-gray-900","style","--fa-animation-duration: 1.5s;margin-top: -0.2rem;",4,"ngIf"],[1,"relative","my-4","text-green-400","font-bold"],["href","https://kutt.it/GuideDutilisation","target","_blank"],[1,"relative","top-16","2xl:top-32","flex","justify-center","h-20"],["alt","Open-Capture logo",3,"src"],["align","end"],[1,"underline","decoration-1"],[1,"fa-solid","text-2xl","fa-circle-notch","fa-spin","text-gray-900",2,"--fa-animation-duration","1.5s","margin-top","-0.2rem"]],template:function(t,i){1&t&&(e.YNc(0,zg,2,1,"div",0),e.TgZ(1,"div",1),e.YNc(2,bd,1,0,"app-loader",2),e.TgZ(3,"mat-card",3)(4,"mat-card-title",4),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.TgZ(7,"mat-card-subtitle",5),e._uU(8),e.qZA(),e.TgZ(9,"mat-card-content")(10,"form",6),e.NdJ("ngSubmit",function(){return i.onSubmit()}),e.TgZ(11,"mat-form-field",7)(12,"mat-label"),e._uU(13),e.ALo(14,"translate"),e.qZA(),e._UZ(15,"input",8),e.ALo(16,"translate"),e.YNc(17,Qg,2,1,"mat-error",2),e.qZA(),e.TgZ(18,"mat-form-field",7)(19,"mat-label"),e._uU(20),e.ALo(21,"translate"),e.qZA(),e._UZ(22,"input",9),e.ALo(23,"translate"),e.TgZ(24,"mat-icon",10),e.NdJ("click",function(){return i.showPassword=!i.showPassword}),e._UZ(25,"i",11),e.qZA(),e.YNc(26,yd,2,1,"mat-error",2),e.YNc(27,Xg,5,6,"mat-hint",12),e.qZA(),e.TgZ(28,"button",13),e.YNc(29,ef,3,3,"span",2),e.YNc(30,tf,1,0,"i",14),e.qZA()()(),e.TgZ(31,"span",15)(32,"a",16),e._uU(33),e.ALo(34,"translate"),e.qZA()()()()),2&t&&(e.Q6J("ngIf",i.loginImage),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.hij(" ",e.lcZ(6,21,"GLOBAL.login")," "),e.xp6(3),e.hij(" ",i.subtitle," "),e.xp6(2),e.Q6J("formGroup",i.loginForm),e.xp6(3),e.Oqu(e.lcZ(14,23,"USER.username")),e.xp6(2),e.s9C("placeholder",e.lcZ(16,25,"USER.username")),e.xp6(2),e.Q6J("ngIf",i.loginForm.controls.username.invalid),e.xp6(3),e.Oqu(e.lcZ(21,27,"USER.password")),e.xp6(2),e.s9C("placeholder",e.lcZ(23,29,"USER.password")),e.Q6J("type",i.showPassword?"text":"password"),e.xp6(3),e.ekj("fa-eye-slash",!i.showPassword)("fa-eye",i.showPassword),e.xp6(1),e.Q6J("ngIf",i.loginForm.controls.password.invalid),e.xp6(1),e.Q6J("ngIf","ldap"===i.enableLoginMethodName),e.xp6(1),e.Q6J("disabled",i.processLogin||i.isConnectionBtnDisabled),e.xp6(1),e.Q6J("ngIf",!i.processLogin&&!i.isConnectionBtnDisabled),e.xp6(1),e.Q6J("ngIf",i.processLogin||i.isConnectionBtnDisabled),e.xp6(3),e.hij(" ",e.lcZ(34,31,"GLOBAL.utilisation_guide")," "))},dependencies:[_e.O5,Rt.TO,Rt.KE,Rt.bx,Rt.hX,Rt.R9,an.Nt,Y.lW,ot,Re,We,Ie,So,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.sg,A.u,Cn.R,_e.gd,$t.X$]}),n})(),wp=(()=>{class n{constructor(t,i,a,l,h){this.router=t,this.authService=i,this.translate=a,this.notify=l,this.historyService=h}ngOnInit(){this.historyService.addHistory("general","logout",this.translate.instant("HISTORY-DESC.logout")),this.authService.logout()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-logout"]],decls:0,vars:0,template:function(t,i){}}),n})();const nf=["fileInputEl"];function Sp(n,o){1&n&&(e.TgZ(0,"mat-icon",9),e._uU(1,"cancel"),e.qZA())}function v_(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-chip",6),e.NdJ("removed",function(){const l=e.CHM(t).$implicit,h=e.oxw(2);return e.KtG(h.removeFile(l))}),e.ALo(1,"byte"),e.TgZ(2,"span",7),e._uU(3),e.qZA(),e.YNc(4,Sp,2,0,"mat-icon",8),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw(2);e.s9C("matTooltip",e.lcZ(1,6,t.size)),e.Q6J("matTooltipDisabled",i.displayFileSize)("disabled",i.disabled)("removable",!i.disabled),e.xp6(3),e.Oqu(i.getFileName(t)),e.xp6(1),e.Q6J("ngIf",!i.disabled)}}function Vs(n,o){if(1&n&&(e.TgZ(0,"mat-chip-list",4),e.YNc(1,v_,5,8,"mat-chip",5),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.files)}}function af(n,o){if(1&n&&(e.TgZ(0,"span",10),e._uU(1),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Oqu(t.emptyPlaceholder)}}let rf=(()=>{class n{constructor(){this.unit="Bytes"}transform(t,i){return t=t.toString(),parseInt(t,10)>=0&&(t=this.formatBytes(+t,+i)),t}formatBytes(t,i=2){if(0===t)return"0 Bytes";const l=i<0?0:i,E=Math.floor(Math.log(t)/Math.log(1024));return parseFloat((t/Math.pow(1024,E)).toFixed(l))+" "+["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][E]}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275pipe=e.Yjl({name:"byte",type:n,pure:!0}),n})(),Ll=(()=>{class n{constructor(){this.valueChanged=new e.vpe,this.accept="*",this._disabled=!1,this._multiple=!1,this.emptyPlaceholder=`Drop file${this.multiple?"s":""} or click to select`,this._displayFileSize=!1,this._activeBorderColor="purple",this._files=[],this._isDragOver=!1,this._onChange=t=>{},this._onTouched=()=>{}}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,le.Ig)(t)}set multiple(t){this._multiple=(0,le.Ig)(t)}get multiple(){return this._multiple}set displayFileSize(t){this._displayFileSize=(0,le.Ig)(t)}get displayFileSize(){return this._displayFileSize}set borderColor(t){this._activeBorderColor=t}get borderColor(){return this.isDragover?this._activeBorderColor:"#ccc"}get files(){return this._files}get isEmpty(){var t;return!(null!==(t=this.files)&&void 0!==t&&t.length)}get isDragover(){return this._isDragOver}set isDragover(t){this.disabled||(this._isDragOver=t)}writeValue(t){const i=this.convertToArray(t);if(!(i.length<2||this.multiple))throw Error("Multiple files not allowed");this._files=i,this.emitChanges(this._files)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}emitChanges(t){this.valueChanged.emit(t),this._onChange(t)}addFiles(t){const i=this.convertToArray(t);if(this.multiple){const a=this.files.concat(i);this.writeValue(a)}else this.writeValue(i)}removeFile(t){const i=this.files.indexOf(t);if(i>=0){const a=this.files.slice();a.splice(i,1),this.writeValue(a)}}clear(){this.writeValue([])}change(t){t.stopPropagation(),this._onTouched();const i=t.target.files;null!=i&&i.length&&this.addFiles(i),t.target.value=""}activate(t){t.preventDefault(),this.isDragover=!0}deactivate(t){t.preventDefault(),this.isDragover=!1}handleDrop(t){this.deactivate(t),this.disabled||this.removeDirectories(t.dataTransfer.files).then(a=>{null!=a&&a.length&&this.addFiles(a),this._onTouched()})}open(){var t;this.disabled||null===(t=this.fileInputEl)||void 0===t||t.nativeElement.click()}removeDirectories(t){return new Promise((i,a)=>{const l=this.convertToArray(t),h=[],E=[];for(let oe=0;oe{h.push(l[oe].name)},xe.onloadend=()=>B(oe),xe.readAsArrayBuffer(l[oe])}function B(oe){E.push(oe),E.length===l.length&&i(l.filter(xe=>!h.includes(xe.name)))}})}convertToArray(t){return t?t instanceof File?[t]:Array.isArray(t)?t:Array.prototype.slice.call(t):[]}getFileName(t){if(!this._displayFileSize)return t.name;const i=(new rf).transform(t.size);return`${t.name} (${i})`}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["ngx-file-drag-drop"]],viewQuery:function(t,i){if(1&t&&e.Gf(nf,5),2&t){let a;e.iGM(a=e.CRH())&&(i.fileInputEl=a.first)}},hostVars:6,hostBindings:function(t,i){1&t&&e.NdJ("change",function(l){return i.change(l)})("dragenter",function(l){return i.activate(l)})("dragover",function(l){return i.activate(l)})("dragleave",function(l){return i.deactivate(l)})("drop",function(l){return i.handleDrop(l)})("click",function(){return i.open()}),2&t&&(e.Udp("border-color",i.borderColor),e.ekj("disabled",i.disabled)("empty-input",i.isEmpty))},inputs:{disabled:"disabled",multiple:"multiple",displayFileSize:"displayFileSize",borderColor:["activeBorderColor","borderColor"],accept:"accept",emptyPlaceholder:"emptyPlaceholder"},outputs:{valueChanged:"valueChanged"},features:[e._Bn([{provide:A.JU,useExisting:(0,e.Gpc)(()=>n),multi:!0}])],decls:5,vars:4,consts:[["selectable","false",4,"ngIf"],["class","placeholder",4,"ngIf"],["type","file",1,"hidden"],["fileInputEl","","fileInput",""],["selectable","false"],["matTooltipPosition","below","selected","","color","accent","disableRipple","true",3,"matTooltip","matTooltipDisabled","disabled","removable","removed",4,"ngFor","ngForOf"],["matTooltipPosition","below","selected","","color","accent","disableRipple","true",3,"matTooltip","matTooltipDisabled","disabled","removable","removed"],[1,"filename"],["matChipRemove","",4,"ngIf"],["matChipRemove",""],[1,"placeholder"]],template:function(t,i){1&t&&(e.YNc(0,Vs,2,1,"mat-chip-list",0),e.YNc(1,af,2,1,"span",1),e._UZ(2,"input",2,3)),2&t&&(e.Q6J("ngIf",i.files.length),e.xp6(1),e.Q6J("ngIf",!i.files.length),e.xp6(1),e.uIk("multiple",i.multiple?"":null)("accept",i.accept))},dependencies:[_e.sg,_e.O5,Ya,Un,Aa,So,Xn,rf],styles:["input[_ngcontent-%COMP%]{width:0px;height:0px;opacity:0;overflow:hidden;position:absolute;z-index:-1}[_nghost-%COMP%]{display:block;border:2px dashed;border-radius:20px;min-height:50px;margin:10px auto;max-width:500px;padding:20px;cursor:pointer}.disabled[_nghost-%COMP%]{opacity:.5;cursor:unset}.placeholder[_ngcontent-%COMP%]{color:gray;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}mat-chip[_ngcontent-%COMP%]{max-width:100%}.filename[_ngcontent-%COMP%]{max-width:calc(100% - 1em);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.empty-input[_nghost-%COMP%]{display:flex;align-items:center;justify-content:center}.mat-chip.mat-standard-chip.mat-focus-indicator[_ngcontent-%COMP%]{box-shadow:none}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:after{background:unset}"]}),n})(),uo=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[_e.ez,rs,Ps,gc]}),n})();class xr{static fileExtension(o){return t=>{const i=o.map(h=>h.trim().toLowerCase()),l=t.value.map(h=>h.name).filter(h=>{const E=h.slice(2+(h.lastIndexOf(".")-1>>>0)).toLowerCase();return!i.includes(E)}).map(h=>({name:h,ext:h.slice(2+(h.lastIndexOf(".")-1>>>0))}));return l.length?{fileExtension:{requiredExtension:o.toString(),actualExtensions:l}}:null}}static uniqueFileNames(o){const i=o.value.map(l=>l.name).reduce((l,h)=>(l[h]=l[h]?l[h]+1:1,l),{}),a=Object.entries(i).filter(l=>l[1]>1).map(l=>({name:l[0],count:l[1]}));return a.length?{uniqueFileNames:{duplicatedFileNames:a}}:null}static fileType(o){return t=>{let i;if(Array.isArray(o)){const h=o.join("$|^");i=new RegExp(`$${h}^`,"i")}else i=o;const l=t.value.filter(h=>!i.test(h.type)).map(h=>({name:h.name,type:h.type}));return l.length?{fileType:{requiredType:o.toString(),actualTypes:l}}:null}}static maxFileCount(o){return t=>{const i=null!=t&&t.value?t.value.length:0;return o>=i?null:{maxFileCount:{maxCount:o,actualCount:i}}}}static maxFileSize(o){return t=>{const a=t.value.filter(l=>l.size>o).map(l=>({name:l.name,size:l.size}));return a.length?{maxFileSize:{maxSize:o,actualSizes:a}}:null}}static maxTotalSize(o){return t=>{const i=null!=t&&t.value?t.value.map(l=>l.size).reduce((l,h)=>l+h,0):0;return o>=i?null:{maxTotalSize:{maxSize:o,actualSize:i}}}}static required(o){var t;return(null===(t=null==o?void 0:o.value)||void 0===t?void 0:t.length)?null:{required:!0}}}var Rn=C(4834);function x_(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-list-item",13),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.setInput(l.id))}),e._uU(1),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw();e.ekj("bg-green-400",i.selectedInput===t.id),e.xp6(1),e.hij(" ",t.input_label," ")}}function $C(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function sf(n,o){1&n&&(e.TgZ(0,"span",14),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"UPLOAD.please_select_input")," "))}let J0=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve){this.router=t,this.http=i,this.route=a,this.userService=l,this.formBuilder=h,this.authService=E,this.translate=B,this.notify=oe,this.historyService=xe,this.localStorageService=Ve,this.headers=this.authService.headers,this.selectedInput="",this.selectedInputTechnicalId="",this.inputs=[],this.loading=!0,this.sending=!1,this.fileControl=new A.NI([],[xr.required,xr.fileExtension(["pdf"])])}ngOnInit(){this.authService.headersExists||this.authService.generateHeaders();const t=this.localStorageService.get("splitter_or_verifier");this.http.get(m.N.url+"/ws/inputs/list?module="+t,{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.inputs=i.inputs,1===this.inputs.length&&(this.selectedInput=i.inputs[0].id,this.selectedInputTechnicalId=i.inputs[0].input_id)}),(0,Di.x)(()=>{this.loading=!1}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}checkFile(t){if(t&&0!==t.length)for(let i=0;i{i.id===t&&(this.selectedInputTechnicalId=i.input_id)}),this.selectedInput=t}uploadInvoice(){this.sending=!0;const t=new FormData;if(0===this.fileControl.value.length)return void this.notify.handleErrors(this.translate.instant("UPLOAD.no_file"));for(let a=0;a{this.fileControl.setValue([]),this.notify.success(this.translate.instant("UPLOAD.upload_success")),this.sending=!1,this.historyService.addHistory(i,"upload_file",this.translate.instant("HISTORY-DESC.file_uploaded",{input:this.selectedInputTechnicalId}))}),(0,Ke.K)(a=>(this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe():this.notify.handleErrors(this.translate.instant("ERROR.unknow_error"))}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Nt.gz),e.Y36(zi.K),e.Y36(A.qu),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q),e.Y36(ua.n))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-upload"]],decls:20,vars:32,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"text-center","text-gray-900","m-0","h-16",2,"padding-top","1.2rem"],["class","hover:bg-green-400 cursor-pointer m-2 w-auto",3,"bg-green-400","click",4,"ngFor","ngForOf"],[1,"bg-white","overflow-hidden"],["mat-icon-button","",1,"absolute","left-2","top-2",2,"z-index","999",3,"click"],[1,"fa-solid","fa-stream","text-xl","text-gray-900"],[4,"ngIf"],[3,"formControl","activeBorderColor","multiple","accept","displayFileSize","emptyPlaceholder","valueChanged"],[1,"flex","justify-center","content-center"],["mat-flat-button","",1,"mt-5","border-solid","border-green-400","border","px-3","py-2","text-sm","font-medium","transition","duration-300",3,"disabled","click"],["class","flex justify-center mt-4 text-red-500",4,"ngIf"],[1,"hover:bg-green-400","cursor-pointer","m-2","w-auto",3,"click"],[1,"flex","justify-center","mt-4","text-red-500"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider"),e.TgZ(7,"mat-list"),e.YNc(8,x_,2,3,"mat-list-item",4),e.qZA()(),e.TgZ(9,"mat-sidenav-content",5)(10,"button",6),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(11,"i",7),e.qZA(),e.YNc(12,$C,2,0,"div",8),e.TgZ(13,"ngx-file-drag-drop",9),e.NdJ("valueChanged",function(h){return i.checkFile(h)}),e.ALo(14,"translate"),e.qZA(),e.TgZ(15,"div",10)(16,"button",11),e.NdJ("click",function(){return i.uploadInvoice()}),e._uU(17),e.ALo(18,"translate"),e.qZA()(),e.YNc(19,sf,3,3,"span",12),e.qZA()()}if(2&t){const a=e.MAs(2);e.xp6(4),e.Oqu(e.lcZ(5,26,"ACCOUNTS.choose_input_upload")),e.xp6(4),e.Q6J("ngForOf",i.inputs),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(1),e.Q6J("ngIf",i.loading),e.xp6(1),e.Tol("max-w-3xl h-56 mt-24"),e.ekj("pointer-events-none",i.sending)("disabled",i.sending),e.Q6J("formControl",i.fileControl)("activeBorderColor","#97BF3D")("multiple",!0)("accept","pdf")("displayFileSize",!0)("emptyPlaceholder",e.lcZ(14,28,"UPLOAD.placeholder")),e.xp6(3),e.ekj("hover:bg-green-400",!i.sending&&i.selectedInput&&0!==i.fileControl.value.length)("hover:text-white",!i.sending&&i.selectedInput&&0!==i.fileControl.value.length),e.Q6J("disabled",i.sending||""===i.selectedInput||0===i.fileControl.value.length),e.xp6(1),e.hij(" ",e.lcZ(18,30,"UPLOAD.upload_file")," "),e.xp6(2),e.Q6J("ngIf",""===i.selectedInput)}},dependencies:[_e.sg,_e.O5,Vt.JX,Vt.TM,Vt.Rh,Y.lW,rn.i$,rn.Tg,Rn.d,A.JJ,A.oH,Ll,Cn.R,$t.X$],styles:[".mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{--tw-bg-opacity: 1;background-color:rgb(151 191 61 / var(--tw-bg-opacity))}.upload .mat-tab-header .mat-tab-label-container>.mat-tab-list>.mat-tab-labels>.mat-tab-label{width:50%;height:4rem}\n"],encapsulation:2}),n})();var xn=C(3208),Ic=C(6155);function b_(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function $0(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",35)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",36),e.ALo(5,"translate"),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,5,t.label)),e.xp6(2),e.s9C("placeholder",e.lcZ(5,7,t.label)),e.Q6J("formControl",t.control)("type",t.type)("required",t.required)}}function zC(n,o){if(1&n&&(e.TgZ(0,"mat-option",39),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.history_submodule),e.xp6(1),e.Oqu(t.history_submodule)}}function z0(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field",35)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",37),e.NdJ("valueChange",function(a){e.CHM(t);const l=e.oxw().$implicit;return e.KtG(l.control.value=a)})("selectionChange",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.setSelectedSubModule(a.value))}),e.YNc(5,zC,2,2,"mat-option",38),e.qZA()()}if(2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,5,t.label)),e.xp6(2),e.Q6J("formControl",t.control)("value",t.control.value)("required",t.required),e.xp6(1),e.Q6J("ngForOf",t.values)}}function QC(n,o){if(1&n&&(e.TgZ(0,"mat-option",39),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.Oqu(e.lcZ(2,2,t.label))}}function lf(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field",35)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",37),e.NdJ("valueChange",function(a){e.CHM(t);const l=e.oxw().$implicit;return e.KtG(l.control.value=a)})("selectionChange",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.setSelectedModule(a.value))}),e.YNc(5,QC,3,4,"mat-option",38),e.qZA()()}if(2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,5,t.label)),e.xp6(2),e.Q6J("formControl",t.control)("value",t.control.value)("required",t.required),e.xp6(1),e.Q6J("ngForOf",t.values)}}function Ap(n,o){if(1&n&&(e.TgZ(0,"mat-hint"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit;e.xp6(1),e.Oqu(t.hint)}}function Ol(n,o){if(1&n&&(e.TgZ(0,"mat-option",44),e._UZ(1,"span",45),e.ALo(2,"highlight"),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3);e.Q6J("value",t)("id",t.id),e.xp6(1),e.Q6J("innerHTML",e.xi3(2,3,t.lastname+" "+t.firstname+" ("+t.username+")",i.toHighlight),e.oJD)}}function nc(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field")(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",40),e.YNc(5,Ap,2,1,"mat-hint",2),e.TgZ(6,"mat-autocomplete",41,42),e.NdJ("optionSelected",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.setSelectedUser(a.option.id))}),e.YNc(8,Ol,3,6,"mat-option",43),e.ALo(9,"async"),e.qZA()()}if(2&n){const t=e.MAs(7),i=e.oxw().$implicit,a=e.oxw();e.xp6(2),e.Oqu(e.lcZ(3,7,i.label)),e.xp6(2),e.Q6J("formControl",i.control)("type",i.type)("matAutocomplete",t),e.xp6(1),e.Q6J("ngIf",i.hint),e.xp6(1),e.Q6J("displayWith",a.displayFn),e.xp6(2),e.Q6J("ngForOf",e.lcZ(9,9,a.filteredUsers))}}function cf(n,o){if(1&n&&(e.ynx(0),e.YNc(1,$0,6,9,"mat-form-field",34),e.YNc(2,z0,6,7,"mat-form-field",34),e.YNc(3,lf,6,7,"mat-form-field",34),e.YNc(4,nc,10,11,"mat-form-field",2),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","text"===t.type),e.xp6(1),e.Q6J("ngIf","submodule"===t.id),e.xp6(1),e.Q6J("ngIf","module"===t.id),e.xp6(1),e.Q6J("ngIf","autocomplete"===t.type)}}function df(n,o){1&n&&(e.TgZ(0,"mat-header-cell",46),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.id")," "))}function rm(n,o){if(1&n&&(e.TgZ(0,"mat-cell",47),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.id," ")}}function uf(n,o){1&n&&(e.TgZ(0,"mat-header-cell",48),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"CUSTOM-FIELDS.module")," "))}function _f(n,o){if(1&n&&(e.TgZ(0,"mat-cell",49),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.history_module," ")}}function pf(n,o){1&n&&(e.TgZ(0,"mat-header-cell",50),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HISTORY.submodule")," "))}function hf(n,o){if(1&n&&(e.TgZ(0,"mat-cell",51),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.history_submodule," ")}}function mf(n,o){1&n&&(e.TgZ(0,"mat-header-cell",48),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HISTORY.history_date")," "))}function XC(n,o){if(1&n&&(e.TgZ(0,"mat-cell",49),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.date," ")}}function ev(n,o){1&n&&(e.TgZ(0,"mat-header-cell",48),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HISTORY.user_info")," "))}function tv(n,o){if(1&n&&(e.TgZ(0,"mat-cell",49),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.user_info," ")}}function sm(n,o){1&n&&(e.TgZ(0,"mat-header-cell",52),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HISTORY.history_desc")," "))}function Q0(n,o){1&n&&e._UZ(0,"mat-cell",53),2&n&&e.Q6J("innerHTML",""+o.$implicit.history_desc+"",e.oJD)}function X0(n,o){1&n&&(e.TgZ(0,"mat-header-cell",54),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HISTORY.user_ip")," "))}function ex(n,o){if(1&n&&(e.TgZ(0,"mat-cell",55),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.user_ip," ")}}function tx(n,o){1&n&&e._UZ(0,"mat-header-row")}function iv(n,o){1&n&&e._UZ(0,"mat-row",56)}const ix=function(){return[5,10,15,20,50]};let nx=(()=>{class n{constructor(t,i,a,l,h,E,B){this.http=t,this.datePipe=i,this.userService=a,this.authService=l,this.notify=h,this.translate=E,this.serviceSettings=B,this.columnsToDisplay=["id","history_module","history_submodule","history_date","user_info","history_desc","user_ip"],this.loading=!0,this.toHighlight="",this.pageSize=10,this.pageIndex=0,this.total=0,this.offset=0,this.userSelected="",this.moduleSelected="",this.subModuleSelected="",this.form=[{id:"user_id",type:"autocomplete",label:this.translate.instant("HISTORY.user"),control:new A.NI,values:[]},{id:"module",label:this.translate.instant("CUSTOM-FIELDS.module"),type:"select",control:new A.NI,values:[{id:"general",label:this.translate.instant("HISTORY.general")},{id:"accounts",label:this.translate.instant("HISTORY.accounts")},{id:"verifier",label:this.translate.instant("HOME.verifier")},{id:"splitter",label:this.translate.instant("HOME.splitter")}]},{id:"submodule",type:"select",label:this.translate.instant("HISTORY.submodule"),control:new A.NI,values:[]}]}_filter(t,i){if("string"==typeof t){this.toHighlight=t;const a=t.toLowerCase();return i.filter(l=>-1!==l.value.toLowerCase().indexOf(a))}return i}ngOnInit(){this.authService.headersExists||this.authService.generateHeaders(),this.userService.user||(this.userService.user=this.userService.getUserFromLocal()),this.http.get(m.N.url+"/ws/users/list_full",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.users=[],this.form.forEach(i=>{"user_id"===i.id?(this.http.get(m.N.url+"/ws/history/users",{headers:this.authService.headers}).pipe((0,$e.b)(a=>{a.history.forEach(l=>{t.users.forEach(h=>{l.user_id===h.id&&this.users.push(h)})})}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe(),this.filteredUsers=i.control.valueChanges.pipe((0,mt.O)(""),(0,Mn.U)(a=>a?this._filter(a,this.users):this.users))):"submodule"===i.id&&this.http.get(m.N.url+"/ws/history/submodules",{headers:this.authService.headers}).pipe((0,$e.b)(a=>{i.values=a.history}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe()})}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.loadHistory()}loadHistory(){this.http.get(m.N.url+"/ws/history/list?limit="+this.pageSize+"&offset="+this.offset+"&user="+this.userSelected+"&submodule="+this.subModuleSelected+"&module="+this.moduleSelected,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.history[0]&&(this.total=t.history[0].total),this.history=t.history,this.form.forEach(i=>{"module"===i.id&&i.values.forEach(a=>{this.history.forEach(l=>{l.history_module===a.id&&(l.history_module=this.translate.instant(a.label))})}),"submodule"===i.id&&this.http.get(m.N.url+"/ws/history/submodules?module="+this.moduleSelected,{headers:this.authService.headers}).pipe((0,$e.b)(a=>{i.values=a.history}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe()}),this.history.forEach(i=>{const a=M().localeData().longDateFormat("L");i.history_date=this.datePipe.transform(i.history_date,a+" HH:mm:ss")})}),(0,Di.x)(()=>{this.loading=!1}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}resetPaginator(){this.loading=!0,this.total=0,this.offset=0,this.pageIndex=0}setSelectedUser(t){this.userSelected=t,this.pageIndex=0,this.resetPaginator(),this.loadHistory()}setSelectedModule(t){this.moduleSelected=t,this.resetPaginator(),this.loadHistory()}setSelectedSubModule(t){this.subModuleSelected=t,this.resetPaginator(),this.loadHistory()}resetFilter(){this.subModuleSelected="",this.moduleSelected="",this.userSelected="",this.form.forEach(t=>{t.control.setValue("")}),this.loadHistory()}onPageChange(t){this.pageSize=t.pageSize,this.offset=this.pageSize*t.pageIndex,this.loadHistory()}displayFn(t){return t?t.lastname+" "+t.firstname+" ("+t.username+")":""}sortData(t){const i=this.history.slice();this.history=t.active&&""!==t.direction?i.sort((a,l)=>{const h="asc"===t.direction;switch(t.active){case"id":return this.compare(a.id,l.id,h);case"history_module":return this.compare(a.history_module,l.history_module,h);case"history_submodule":return this.compare(a.history_submodule,l.history_submodule,h);case"history_date":return this.compare(a.history_date,l.history_date,h);case"user_info":return this.compare(a.user_info,l.user_info,h);case"history_desc":return this.compare(a.history_desc,l.history_desc,h);case"user_ip":return this.compare(a.user_ip,l.user_ip,h);default:return 0}}):i}compare(t,i,a){return(t{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt){this.http=t,this.router=i,this.route=a,this.userService=l,this.formBuilder=h,this.authService=E,this.translate=B,this.notify=oe,this.localeService=xe,this.historyService=Ve,this.privilegeService=lt,this.headers=this.authService.headers,this.loading=!0,this.roles=[],this.profileForm=[{id:"firstname",label:this.translate.instant("USER.firstname"),type:"text",control:new A.NI,required:!0},{id:"lastname",label:this.translate.instant("USER.lastname"),type:"text",control:new A.NI,required:!0},{id:"old_password",label:this.translate.instant("USER.old_password"),type:"password",control:new A.NI,required:!1},{id:"new_password",label:this.translate.instant("USER.new_password"),type:"password",control:new A.NI,required:!1},{id:"role",label:this.translate.instant("HEADER.role"),type:"select",values:[],control:new A.NI,required:!1}],this.disablePasswordModification=!1}ngOnInit(){this.authService.headersExists||this.authService.generateHeaders(),this.http.get(m.N.url+"/ws/auth/retrieveLoginMethodName").pipe((0,$e.b)(i=>{i.login_methods.forEach(a=>{a.enabled&&"default"!==a.method_name&&(this.disablePasswordModification=!0)})}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe(),this.userId=parseInt(this.route.snapshot.params.id);let t=this.userService.user.id;void 0===t&&(t=this.userService.getUserFromLocal().id),this.userId!==parseInt(t)&&(this.privilegeService.hasPrivilege("update_user")||this.translate.get("ERROR.unauthorized").subscribe(i=>{this.notify.error(i),this.router.navigateByUrl("/home").then()})),this.http.get(m.N.url+"/ws/roles/list?full",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{i.roles.forEach(a=>{(a.editable||"*"===this.userService.getUser().privileges)&&this.roles.push(a)})}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/users/getById/"+this.userId,{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.profile=i;for(const a in this.profile)this.profile.hasOwnProperty(a)&&this.profileForm.forEach(l=>{l.id===a&&(l.control.value=this.profile[a],"role"===l.id&&(l.values=this.roles))})}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}isValidForm(){let t=!0;return this.profileForm.forEach(i=>{"DISABLED"!==i.control.status&&"VALID"!==i.control.status&&(t=!1),i.control.markAsTouched()}),t}onSubmit(){if(this.isValidForm()){this.loading=!0;const t={};this.profileForm.forEach(i=>{t[i.id]=i.control.value}),this.http.put(m.N.url+"/ws/users/update/"+this.userId,{args:t},{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.historyService.addHistory("general","profile_updated",this.translate.instant("HISTORY-DESC.profile-updated",{user:t.lastname+" "+t.firstname})),this.notify.success(this.translate.instant("USER.profile_updated")),this.userId===this.userService.user.id&&this.userService.setUser(i.user)}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}}getErrorMessage(t){let i;return this.profileForm.forEach(a=>{a.id===t&&a.required&&(i=this.translate.instant("AUTH.field_required"))}),i}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Ri.eN),e.Y36(Nt.F0),e.Y36(Nt.gz),e.Y36(zi.K),e.Y36(A.qu),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(jr),e.Y36(kn.q),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-user-profile"]],decls:1,vars:1,consts:[["class","flex justify-center items-center","style","height: 85vh",4,"ngIf"],[1,"flex","justify-center","items-center",2,"height","85vh"],[1,"text-center","w-full","lg:w-1/4"],[1,"mb-10"],[4,"ngIf"],[3,"ngSubmit"],[4,"ngFor","ngForOf"],[1,"button"],["type","submit","mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300"],["class","block",3,"pointer-events-none",4,"ngIf"],["class","block",4,"ngIf"],[1,"block"],["matInput","",3,"readonly","formControl","type","required","placeholder"],[3,"disabled","value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,i){1&t&&e.YNc(0,rv,12,6,"div",0),2&t&&e.Q6J("ngIf",!i.loading)},dependencies:[_e.sg,_e.O5,Rt.TO,Rt.KE,Rt.hX,Be.gD,b.ey,an.Nt,Y.lW,ot,Re,We,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.oH,A.F,$t.X$]}),n})(),lm=(()=>{class n{constructor(t,i,a){this.notify=t,this.router=i,this.translate=a}ngOnInit(){this.translate.get("ERROR.404").subscribe(t=>{this.notify.error(t),this.router.navigate(["/login"]).then()})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Gi.g),e.Y36(Nt.F0),e.Y36($t.sK))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-not-found"]],decls:9,vars:0,consts:[["id","preloader",1,"fixed","inset-0","bg-white","z-50"],["id","status",1,"flex","absolute","items-center","justify-center","w-full","h-0","top-1/2"],["xmlns","http://www.w3.org/2000/svg","x","0px","y","0px","viewBox","0 0 74.4 81.9","width","300","height","300"],["id","fill","x1","0.5","y1","1","x2","0.5","y2","0"],["offset","0%","stop-color","#76B442"],["attributeName","stop-color","values","#76B442; #A7A8AA; #76B442","dur","1s","repeatCount","indefinite"],["offset","100%","stop-color","#A7A8AA"],["attributeName","stop-color","values","#A7A8AA; #76B442; #A7A8AA","dur","1s","repeatCount","indefinite"],["fill","url(#fill)","d","M1.9,79.4c-1.5-1.5,0.3-4.7,8.2-14.2c4.8-5.7,10.1-12.3,11.9-14.6l3.3-4.1l-1.6-1.7\n c-7.2-7.4-8.6-20.6-3-29.7C27.9,3.4,43.8-1.4,56.8,4.2c6,2.6,11.8,8,14.4,13.5c2.7,5.6,2.5,15.4-0.4,21.1\n c-6.6,13-22.8,18.9-36.3,13.3c-2.2-1-4.1-1.3-4.4-1c-0.3,0.4-5.8,7-12.2,14.8C8.8,76.8,5.7,80,4.3,80C3.3,80,2.1,79.7,1.9,79.4\n L1.9,79.4z M53.5,48.8c5.7-2,10.7-6.3,13.4-11.3c2.8-5.2,2.9-13.8,0.1-18.9c-4.5-8.4-12-12.8-21.9-12.8c-26.3,0-33.2,33.2-9,42.7\n C42.2,50.9,47.3,51,53.5,48.8L53.5,48.8z"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0)(1,"div",1),e.O4$(),e.TgZ(2,"svg",2)(3,"linearGradient",3)(4,"stop",4),e._UZ(5,"animate",5),e.qZA(),e.TgZ(6,"stop",6),e._UZ(7,"animate",7),e.qZA()(),e._UZ(8,"path",8),e.qZA()()())}}),n})(),sn=(()=>{class n{constructor(t,i,a,l){this.router=t,this.translate=i,this.notify=a,this.privilegesService=l}canActivate(t){if(void 0!==t.data.privileges){let i=!0;return t.data.privileges.forEach(a=>{this.privilegesService.hasPrivilege(a)||(this.translate.get("ERROR.unauthorized").subscribe(h=>{let E="";t.routeConfig&&(E=""+this.translate.instant(t.data.title)+""),this.notify.error(h+E),this.router.navigateByUrl("/home").then()}),i=!1)}),i}return!1}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(Nt.F0),e.LFG($t.sK),e.LFG(Gi.g),e.LFG(nn.y))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var lv=C(6025);let cv=(()=>{class n{constructor(t,i){this.authService=t,this.router=i}canActivate(){return!this.authService.getToken()||(this.router.navigateByUrl("/home").then(),!1)}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(pi.e),e.LFG(Nt.F0))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),en=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt){this.router=t,this.http=i,this.authService=a,this.userService=l,this.notify=h,this.translate=E,this.configService=B,this.localeService=oe,this.historyService=xe,this.routerExtService=Ve,this.localStorage=lt}login(t,i){(void 0===this.userService.getUser()||0===Object.keys(this.userService.getUser()).length)&&void 0===this.userService.getUserFromLocal()&&this.http.post(m.N.url+"/ws/auth/login",{token:t,lang:this.localeService.currentBabelLang},{observe:"response"}).pipe((0,$e.b)(a=>{this.userService.setUser(a.body.user),this.authService.setTokens(a.body.auth_token,btoa(JSON.stringify(this.userService.getUser()))),this.authService.headersExists||this.authService.generateHeaders(),this.notify.success(this.translate.instant("AUTH.authenticated")),this.configService.readConfig().then(()=>{this.historyService.addHistory("general","login",this.translate.instant("HISTORY-DESC.login_with_token")),i&&(this.localStorage.save("task_watcher_minimize_display","true"),this.router.navigate([i]).then())})}),(0,Ke.K)(a=>402!==a.status?(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)):(0,ie.of)(!0))).subscribe()}canActivate(){const t=this.authService.getToken();let i="";if(!t){const a=new URLSearchParams(window.location.href);let l="";for(const[h,E]of a.entries())"token"===h&&(l=E,i=window.location.hash.replace("#","").replace(/\?.*/,""),this.login(l,i))}return t?(this.login(t,null),!0):(this.translate.get("AUTH.not_connected").subscribe(a=>{const l=this.routerExtService.getCurrentUrl();"/logout"!==l&&"/login"!==l&&"/500"!==l&&this.authService.setCachedUrl(l.replace(/^\//g,"")),this.notify.error(a),this.authService.logout()}),!1)}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(Nt.F0),e.LFG(Ri.eN),e.LFG(pi.e),e.LFG(zi.K),e.LFG(Gi.g),e.LFG($t.sK),e.LFG(Al),e.LFG(jr),e.LFG(kn.q),e.LFG($a.e),e.LFG(ua.n))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),cm=(()=>{class n{constructor(t,i,a){this.userService=t,this.serviceSettings=i,this.privilegesService=a}ngOnInit(){}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(zi.K),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-error"]],decls:11,vars:3,consts:[[1,"absolute","left-0","right-0","bottom-0","flex","justify-center",2,"top","4.1rem"],[1,"flex","items-center"],[1,"text-center"],[1,"relative","text-gray-900","-top-28",2,"font-size","15rem"],[1,"relative","text-green-400","top-14"],[1,"fa-solid","fa-gear","fa-3x","fa-spin","mx-4",2,"--fa-animation-duration","3s"],[1,"fa-solid","fa-gear","fa-3x","fa-spin","fa-spin-reverse","mx-4",2,"--fa-animation-duration","3.5s"],[1,"fa-solid","fa-gear","fa-3x","fa-spin","mx-4",2,"--fa-animation-duration","4s"],[1,"relative","top-28","text-5xl",3,"innerHTML"]],template:function(t,i){1&t&&(e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav-content",1)(2,"div",2)(3,"div",3),e._uU(4," 500 "),e.qZA(),e.TgZ(5,"div",4),e._UZ(6,"i",5)(7,"i",6)(8,"i",7),e.qZA(),e._UZ(9,"div",8),e.ALo(10,"translate"),e.qZA()()()),2&t&&(e.xp6(9),e.Q6J("innerHTML",e.lcZ(10,1,"ERROR.500"),e.oJD))},dependencies:[Vt.TM,Vt.Rh,$t.X$]}),n})();function dm(n,o,t,i,a,l,h){try{var E=n[l](h),B=E.value}catch(oe){return void t(oe)}E.done?o(B):Promise.resolve(B).then(i,a)}function xa(n){return function(){var o=this,t=arguments;return new Promise(function(i,a){var l=n.apply(o,t);function h(B){dm(l,i,a,h,E,"next",B)}function E(B){dm(l,i,a,h,E,"throw",B)}h(void 0)})}}function gf(n,o){if(1&n&&(e.TgZ(0,"mat-option",12),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.Oqu(t.label)}}function um(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-dialog-content",8)(1,"mat-form-field",9)(2,"mat-label"),e._uU(3),e.qZA(),e.TgZ(4,"mat-select",10),e.NdJ("valueChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.selectData=a)}),e.YNc(5,gf,2,2,"mat-option",11),e.qZA()()()}if(2&n){const t=e.oxw();e.xp6(3),e.Oqu(t.data.selectLabel),e.xp6(1),e.Q6J("value",t.selectData),e.xp6(1),e.Q6J("ngForOf",t.data.selectValues)}}function _m(n,o){if(1&n&&(e.TgZ(0,"button",13),e._uU(1),e.qZA()),2&n){const t=e.oxw();e.s9C("color",t.data.confirmButtonColor),e.Q6J("mat-dialog-close",t.selectData),e.xp6(1),e.Oqu(t.data.confirmButton)}}function Td(n,o){if(1&n&&(e.TgZ(0,"button",13),e._uU(1),e.qZA()),2&n){const t=e.oxw();e.ekj("text-green-400","green"===t.data.confirmButtonColor),e.s9C("color",t.data.confirmButtonColor),e.Q6J("mat-dialog-close",!0),e.xp6(1),e.hij("",t.data.confirmButton," ")}}let gn=(()=>{class n{constructor(t){this.data=t}ngOnInit(){}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(se))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-confirm-dialog"]],decls:10,vars:6,consts:[["mat-dialog-title",""],[1,"border-green-400","-mt-4","mb-4"],[1,"mat-typography",3,"innerHTML"],["class","mat-typography",4,"ngIf"],[1,"flex","justify-end"],["mat-button","",3,"mat-dialog-close"],["mat-button","","cdkFocusInitial","",3,"mat-dialog-close","color",4,"ngIf"],["mat-button","","cdkFocusInitial","",3,"mat-dialog-close","color","text-green-400",4,"ngIf"],[1,"mat-typography"],[1,"w-full","mt-1"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["mat-button","","cdkFocusInitial","",3,"mat-dialog-close","color"]],template:function(t,i){1&t&&(e.TgZ(0,"h2",0),e._uU(1),e.qZA(),e._UZ(2,"hr",1)(3,"mat-dialog-content",2),e.YNc(4,um,6,3,"mat-dialog-content",3),e.TgZ(5,"mat-dialog-actions",4)(6,"button",5),e._uU(7),e.qZA(),e.YNc(8,_m,2,3,"button",6),e.YNc(9,Td,2,5,"button",7),e.qZA()),2&t&&(e.xp6(1),e.Oqu(i.data.confirmTitle),e.xp6(2),e.Q6J("innerHTML",i.data.confirmText,e.oJD),e.xp6(1),e.Q6J("ngIf",i.data.selectValues),e.xp6(3),e.Oqu(i.data.cancelButton),e.xp6(1),e.Q6J("ngIf",i.data.selectValues),e.xp6(1),e.Q6J("ngIf",!i.data.selectValues))},dependencies:[Rt.KE,Rt.hX,Be.gD,b.ey,Y.lW,An,ka,Gn,Qn,_e.sg,_e.O5]}),n})();function dv(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",17),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.resetSearchCustomer())}),e._UZ(1,"i",18),e.ALo(2,"translate"),e.qZA()}2&n&&(e.xp6(1),e.Q6J("matTooltip",e.lcZ(2,1,"VERIFIER.reset_customers_search")))}function Pc(n,o){1&n&&(e.TgZ(0,"div",19)(1,"div",20),e._UZ(2,"i",21),e.TgZ(3,"span",22),e._uU(4),e.ALo(5,"translate"),e.qZA()()()),2&n&&(e.xp6(4),e.hij(" ",e.lcZ(5,1,"VERIFIER.loading_customers")," "))}function lx(n,o){1&n&&(e.TgZ(0,"div",19)(1,"div",20),e._UZ(2,"i",23),e.TgZ(3,"span",22),e._uU(4),e.ALo(5,"translate"),e.qZA()()()),2&n&&(e.xp6(4),e.hij(" ",e.lcZ(5,1,"VERIFIER.no_customers_filter")," "))}function ff(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-tree-node",28),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw(2);return e.KtG(h.loadInvoicePerCustomer(l))}),e.TgZ(1,"button",29),e._UZ(2,"i",30),e.qZA(),e.TgZ(3,"span",31),e._uU(4),e.qZA(),e.TgZ(5,"span",32),e._uU(6),e.qZA()()}if(2&n){const t=o.$implicit;e.xp6(4),e.Oqu(t.name),e.xp6(2),e.hij(" ",t.count," ")}}function pb(n,o){if(1&n&&(e.TgZ(0,"span",38),e._uU(1),e.qZA()),2&n){const t=e.oxw().$implicit;e.ekj("hidden",0===t.count&&0===t.id),e.xp6(1),e.hij(" ",t.count," ")}}function uv(n,o){if(1&n&&(e.TgZ(0,"mat-tree-node",33)(1,"button",34)(2,"mat-icon",35),e._uU(3),e.qZA()(),e.TgZ(4,"span",36),e._uU(5),e.qZA(),e.YNc(6,pb,2,3,"span",37),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(2);e.ekj("hidden",!t.display||0===t.count&&0===t.id),e.xp6(1),e.ekj("hidden",0===t.count&&0===t.id),e.xp6(2),e.hij(" ",i.treeControl.isExpanded(t)?"expand_more":"chevron_right"," "),e.xp6(1),e.ekj("pointer-events-none",0===t.count)("hidden",0===t.count&&0===t.id),e.xp6(1),e.hij(" ",t.name," "),e.xp6(1),e.Q6J("ngIf",!i.treeControl.isExpanded(t))}}function _v(n,o){if(1&n&&(e.TgZ(0,"span",42),e._uU(1),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.hij(" ",t.count," ")}}function hb(n,o){if(1&n&&(e.TgZ(0,"mat-tree-node",39)(1,"button",34),e._UZ(2,"i",40),e.qZA(),e.TgZ(3,"span",31),e._uU(4),e.qZA(),e.YNc(5,_v,2,1,"span",41),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(2);e.ekj("hidden",0===t.count),e.xp6(2),e.ekj("fa-folder-open",i.treeControl.isExpanded(t)),e.xp6(2),e.Oqu(t.name),e.xp6(1),e.Q6J("ngIf",!i.treeControl.isExpanded(t))}}function _n(n,o){if(1&n&&(e.TgZ(0,"mat-tree",24),e.YNc(1,ff,7,2,"mat-tree-node",25),e.YNc(2,uv,7,11,"mat-tree-node",26),e.YNc(3,hb,6,6,"mat-tree-node",27),e.qZA()),2&n){const t=e.oxw();e.Q6J("dataSource",t.dataSource)("treeControl",t.treeControl),e.xp6(1),e.Q6J("matTreeNodeDefWhen",t.isLevelTwo),e.xp6(1),e.Q6J("matTreeNodeDefWhen",t.hasChild)("matTreeNodeDefWhen",t.isNotLevelOne),e.xp6(1),e.Q6J("matTreeNodeDefWhen",t.isLevelOne)}}function cx(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA(),e.TgZ(2,"span",60),e._uU(3),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw();e.xp6(1),e.hij(" ",i.translate.instant(t.label)," "),e.xp6(2),e.hij(" ",i.totals[t.id]," ")}}function dx(n,o){if(1&n&&(e.TgZ(0,"mat-option",61),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.hij(" ",t.label," ")}}function pv(n,o){if(1&n&&(e.TgZ(0,"mat-option",61),e._uU(1),e.ALo(2,"translate"),e.TgZ(3,"span",62),e._uU(4),e.qZA()()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.hij(" ",e.lcZ(2,3,t.label)," "),e.xp6(3),e.Oqu(t.total)}}function y_(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",63)(1,"span",64),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.selectOrUnselectAllInvoices(a))}),e.qZA(),e.TgZ(2,"span"),e._uU(3),e.qZA(),e.TgZ(4,"span",65),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw(2);return a.stopPropagation(),e.KtG(l.deleteAllConfirmDialog())}),e._UZ(5,"i",66),e.ALo(6,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("innerHTML",t.translate.instant(t.invoiceToDeleteSelected?"VERIFIER.unselect_all":"VERIFIER.select_all"),e.oJD),e.xp6(1),e.ekj("hidden",0===t.totalChecked),e.xp6(1),e.hij(" (",t.totalChecked,")"),e.xp6(1),e.ekj("hidden",!t.invoiceToDeleteSelected),e.xp6(1),e.s9C("matTooltip",e.lcZ(6,7,"GLOBAL.delete_all_checked"))}}function ux(n,o){1&n&&(e.TgZ(0,"div",67),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SPLITTER.no_batch_found")," "))}function pm(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function Lp(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",94),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw().$implicit,E=e.oxw(3);return e.KtG(E.changeCustomer(l.id,h.invoice_id))}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw().$implicit;e.ekj("bg-green-400",t.id===i.customer_id),e.xp6(1),e.hij(" ",e.lcZ(2,3,t.name)," ")}}function xo(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",94),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw().$implicit,E=e.oxw(3);return e.KtG(E.changeInvoiceForm(l.id,h.invoice_id))}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw().$implicit;e.ekj("bg-green-400",t.id===i.form_id),e.xp6(1),e.hij(" ",e.lcZ(2,3,t.label)," ")}}function mb(n,o){1&n&&(e._UZ(0,"i",95),e.ALo(1,"translate")),2&n&&e.Q6J("matTooltip",e.lcZ(1,1,"VERIFIER.document_locked_by"))}function hv(n,o){if(1&n&&(e.TgZ(0,"div",96)(1,"strong"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._uU(4),e.qZA()),2&n){const t=o.$implicit;e.xp6(2),e.Oqu(e.lcZ(3,2,t.label)),e.xp6(2),e.hij("\xa0:\xa0",t.data," ")}}function mv(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-card",71)(1,"label",72)(2,"input",73),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.checkCheckedInvoices())}),e.qZA()(),e.TgZ(3,"div",74)(4,"div",75)(5,"mat-icon",76),e._uU(6,"more_vert"),e.qZA()(),e.TgZ(7,"mat-menu",null,77)(9,"button",78),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.TgZ(12,"button",78),e._uU(13),e.ALo(14,"translate"),e.qZA()(),e.TgZ(15,"mat-menu",null,79),e.YNc(17,Lp,3,5,"button",80),e.qZA(),e.TgZ(18,"mat-menu",null,81),e.YNc(20,xo,3,5,"button",80),e.qZA()(),e.TgZ(21,"img",82),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw(3);return e.KtG(l.locked?h.displayInvoiceLocked(l.locked_by):"")}),e.qZA(),e.TgZ(22,"mat-card-header",83),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw(3);return e.KtG(l.locked?h.displayInvoiceLocked(l.locked_by):"")}),e.TgZ(23,"mat-card-title",84)(24,"span",85),e.YNc(25,mb,2,3,"i",86),e._uU(26),e.ALo(27,"translate"),e.qZA(),e.TgZ(28,"span",87),e._uU(29),e._UZ(30,"i",88),e.qZA()(),e.TgZ(31,"mat-card-subtitle",89),e.YNc(32,hv,5,4,"div",90),e.qZA()(),e.TgZ(33,"mat-card-actions",91)(34,"i",92),e.NdJ("click",function(a){const h=e.CHM(t).$implicit,E=e.oxw(3);return a.stopPropagation(),e.KtG(E.deleteConfirmDialog(h.invoice_id))}),e.TgZ(35,"span",93),e._uU(36),e.ALo(37,"translate"),e.qZA()()()()}if(2&n){const t=o.$implicit,i=e.MAs(8),a=e.MAs(16),l=e.MAs(19),h=e.oxw(3);e.xp6(2),e.MGl("id","",t.invoice_id,"_checkbox"),e.xp6(2),e.Q6J("matMenuTriggerFor",i)("matTooltip",h.translate.instant("VERIFIER.documents_settings")),e.xp6(5),e.Q6J("matMenuTriggerFor",a),e.xp6(1),e.hij(" ",e.lcZ(11,18,"INPUT.associated_customer")," "),e.xp6(2),e.Q6J("matMenuTriggerFor",l),e.xp6(1),e.hij(" ",e.lcZ(14,20,"POSITIONS-MASKS.form_associated")," "),e.xp6(4),e.Q6J("ngForOf",h.dataSource.data),e.xp6(3),e.Q6J("ngForOf",h.filteredForms),e.xp6(1),e.Q6J("routerLink",t.locked?"/verifier/list":"/verifier/viewer/"+t.invoice_id)("src",t.thumb,e.LSH),e.xp6(1),e.Q6J("routerLink",t.locked?"/verifier/list":"/verifier/viewer/"+t.invoice_id),e.xp6(3),e.Q6J("ngIf",t.locked),e.xp6(1),e.hij(" ",t.supplier_name?t.supplier_name:e.lcZ(27,22,"ACCOUNTS.supplier_unknow")," "),e.xp6(2),e.Q6J("matTooltip",h.translate.instant("VERIFIER.nb_pages")+" : "+t.nb_pages),e.xp6(1),e.hij(" ",t.nb_pages,""),e.xp6(3),e.Q6J("ngForOf",t.display.subtitles),e.xp6(4),e.Oqu(e.lcZ(37,24,"VERIFIER.delete_document"))}}function _x(n,o){if(1&n&&(e.TgZ(0,"div",68)(1,"div",69),e.YNc(2,mv,38,26,"mat-card",70),e.qZA()()),2&n){const t=e.oxw(2);e.xp6(2),e.Q6J("ngForOf",t.invoices)}}function Cf(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-tab",43),e.YNc(1,cx,4,2,"ng-template",44),e.TgZ(2,"div",45)(3,"div",46)(4,"mat-form-field",47)(5,"mat-label"),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.TgZ(8,"input",48),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.search=a)})("keyup",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.searchInvoice(a))}),e.qZA()(),e.TgZ(9,"div",49)(10,"mat-form-field",50)(11,"mat-label"),e._uU(12),e.ALo(13,"translate"),e.qZA(),e.TgZ(14,"mat-select",51),e.NdJ("valueChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.currentStatus=a)})("selectionChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.changeStatus(a))}),e.YNc(15,dx,2,2,"mat-option",52),e.qZA()(),e.TgZ(16,"mat-form-field",50)(17,"mat-label"),e._uU(18),e.ALo(19,"translate"),e.qZA(),e.TgZ(20,"mat-select",51),e.NdJ("valueChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.currentForm=a)})("selectionChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.changeForm(a))}),e.YNc(21,pv,5,5,"mat-option",52),e.qZA()()(),e.TgZ(22,"span",53)(23,"mat-paginator",54),e.NdJ("page",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.onPageChange(a))}),e.qZA()()(),e.YNc(24,y_,7,9,"div",55),e._UZ(25,"hr",56),e.YNc(26,ux,3,3,"div",57),e.YNc(27,pm,2,0,"div",58),e.YNc(28,_x,3,1,"div",59),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("id",t.id)("disabled",i.loading),e.xp6(6),e.Oqu(e.lcZ(7,23,"VERIFIER.search")),e.xp6(2),e.Q6J("ngModel",i.search)("disabled",0===i.total),e.xp6(4),e.Oqu(e.lcZ(13,25,"STATUS.list")),e.xp6(2),e.Q6J("value",i.currentStatus)("disabled",i.loading),e.xp6(1),e.Q6J("ngForOf",i.status),e.xp6(3),e.Oqu(e.lcZ(19,27,"SETTINGS.list_forms")),e.xp6(2),e.Q6J("value",i.currentForm)("disabled",i.loading),e.xp6(1),e.Q6J("ngForOf",i.forms),e.xp6(1),e.ekj("hidden",i.loading||0===i.total),e.xp6(1),e.Q6J("length",i.total)("pageSize",i.pageSize)("pageIndex",i.pageIndex)("pageSizeOptions",i.pageSizeOptions),e.xp6(1),e.Q6J("ngIf",i.invoices.length>1),e.xp6(2),e.Q6J("ngIf",0===i.invoices.length),e.xp6(1),e.Q6J("ngIf",i.loading),e.xp6(1),e.Q6J("ngIf",!i.loading)}}let vf=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt){this.http=t,this.dialog=i,this.sanitizer=a,this.authService=l,this.userService=h,this.translate=E,this.notify=B,this.configService=oe,this.historyService=xe,this.routerExtService=Ve,this.localStorageService=lt,this.loading=!0,this.loadingCustomers=!0,this.status=[],this.forms=[{id:"",label:this.translate.instant("VERIFIER.all_forms")},{id:"no_form",label:this.translate.instant("VERIFIER.no_form")}],this.filteredForms=[],this.currentForm="",this.currentStatus="NEW",this.currentTime="today",this.batchList=[{id:"today",label:(0,He.J)("BATCH.today")},{id:"yesterday",label:(0,He.J)("BATCH.yesterday")},{id:"older",label:(0,He.J)("BATCH.older")}],this.pageSize=16,this.pageIndex=0,this.pageSizeOptions=[4,8,12,16,24,48],this.total=0,this.totals={},this.offset=0,this.selectedTab=0,this.invoices=[],this.allowedCustomers=[],this.allowedSuppliers=[],this.purchaseOrSale="",this.search="",this.TREE_DATA=[],this.expanded=!1,this.invoiceToDeleteSelected=!1,this.totalChecked=0,this.customerFilterEmpty=!1,this.customerFilter=new A.NI(""),this._transformer=(Ft,ii)=>({expandable:!!Ft.children&&Ft.children.length>0,name:Ft.name,supplier_id:Ft.supplier_id,id:Ft.id,parent_id:Ft.parent_id,purchase_or_sale:Ft.purchase_or_sale,display:Ft.display,count:Ft.count,level:ii,children:Ft.children}),this.treeControl=new ch(Ft=>Ft.level,Ft=>Ft.expandable),this.treeFlattener=new ad(this._transformer,Ft=>Ft.level,Ft=>Ft.expandable,Ft=>Ft.children),this.dataSource=new ko(this.treeControl,this.treeFlattener),this.hasChild=(Ft,ii)=>ii.expandable,this.isLevelOne=(Ft,ii)=>1===ii.level,this.isLevelTwo=(Ft,ii)=>2===ii.level,this.isNotLevelOne=(Ft,ii)=>1!==ii.level}ngOnInit(){var t=this;return xa(function*(){t.authService.headersExists||t.authService.generateHeaders(),t.userService.user||(t.userService.user=t.userService.getUserFromLocal()),(0,He.J)("VERIFIER.nb_pages"),(0,He.J)("VERIFIER.expand_all"),(0,He.J)("VERIFIER.collapse_all"),(0,He.J)("VERIFIER.select_all"),(0,He.J)("VERIFIER.unselect_all"),(0,He.J)("VERIFIER.documents_settings"),t.localStorageService.save("splitter_or_verifier","verifier"),t.removeLockByUserId(t.userService.user.username);const i=t.routerExtService.getPreviousUrl();i.includes("verifier/")&&!i.includes("settings")||"/"===i||"/upload"===i?(t.localStorageService.get("invoicesPageIndex")&&(t.pageIndex=parseInt(t.localStorageService.get("invoicesPageIndex"))),t.localStorageService.get("invoicesTimeIndex")&&(t.selectedTab=parseInt(t.localStorageService.get("invoicesTimeIndex")),t.currentTime=t.batchList[t.selectedTab].id),t.offset=t.pageSize*t.pageIndex):(t.localStorageService.remove("invoicesPageIndex"),t.localStorageService.remove("invoicesTimeIndex")),t.http.get(m.N.url+"/ws/status/list?module=verifier",{headers:t.authService.headers}).pipe((0,$e.b)(a=>{t.status=a.status}),(0,Ke.K)(a=>(console.debug(a),t.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe(),setTimeout(()=>{t.loadForms(),t.loadCustomers()},100)})()}loadForms(){this.http.get(m.N.url+"/ws/forms/list?module=verifier&totals=true&status="+this.currentStatus+"&user_id="+this.userService.user.id+"&time="+this.currentTime,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.filteredForms=[],this.forms=[{id:"",label:this.translate.instant("VERIFIER.all_forms")},{id:"no_form",label:this.translate.instant("VERIFIER.no_form")}],t.forms.forEach(i=>{this.forms.push(i),this.filteredForms.push(i)})}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}removeLockByUserId(t){this.http.put(m.N.url+"/ws/verifier/invoices/removeLockByUserId/"+t,{},{headers:this.authService.headers}).pipe((0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}loadCustomers(){this.TREE_DATA=[],this.http.get(m.N.url+"/ws/accounts/customers/list",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{const i=t.customers;this.TREE_DATA.push({name:this.translate.instant("ACCOUNTS.customer_not_specified"),id:0,parent_id:"",supplier_id:"",purchase_or_sale:"",display:!0,count:0,children:[]}),this.allowedCustomers.push(0),this.http.get(m.N.url+"/ws/users/getCustomersByUserId/"+this.userService.user.id,{headers:this.authService.headers}).pipe((0,$e.b)(a=>{i.forEach(l=>{a.forEach(h=>{h===l.id&&(this.allowedCustomers.push(l.id),this.TREE_DATA.push({name:l.name,id:l.id,parent_id:"",supplier_id:"",purchase_or_sale:"",display:!0,count:0,children:[]}))})}),this.loadInvoices().then()}),(0,Di.x)(()=>this.loadingCustomers=!1),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe()}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}loadInvoices(){var t=this;return xa(function*(){t.invoiceToDeleteSelected=!1,t.totalChecked=0,t.loading=!0,t.loadingCustomers=!0,t.invoices=[],t.loadForms();let i=m.N.url+"/ws/verifier/invoices/totals/"+t.currentStatus+"/"+t.userService.user.id;""!==t.currentForm&&(i=m.N.url+"/ws/verifier/invoices/totals/"+t.currentStatus+"/"+t.userService.user.id+"/"+t.currentForm),t.http.get(i,{headers:t.authService.headers}).pipe((0,$e.b)(a=>{t.totals=a.totals}),(0,Ke.K)(a=>(console.debug(a),t.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe(),t.http.post(m.N.url+"/ws/verifier/invoices/list",{allowedCustomers:t.allowedCustomers,status:t.currentStatus,limit:t.pageSize,allowedSuppliers:t.allowedSuppliers,form_id:t.currentForm,time:t.currentTime,offset:t.offset,search:t.search,purchaseOrSale:t.purchaseOrSale},{headers:t.authService.headers}).pipe((0,$e.b)(a=>{a&&(0!==a.invoices.length?t.total=a.total:0!==t.pageIndex&&(t.pageIndex=t.pageIndex-1,t.offset=t.pageSize*t.pageIndex,t.loadInvoices()),t.invoices=a.invoices,t.invoices.forEach(E=>{E.thumb.includes("data:image/jpeg;base64")||(E.thumb=t.sanitizer.bypassSecurityTrustUrl("data:image/jpeg;base64, "+E.thumb)),(null===E.form_label||""===E.form_label||void 0===E.form_label)&&(E.form_label=t.translate.instant("VERIFIER.no_form")),E.form_id?t.forms.forEach(oe=>{oe.id===E.form_id&&oe.settings.display&&(E.display=oe.settings.display)}):E.display={subtitles:[{id:"invoice_number",label:"FACTURATION.invoice_number"},{id:"document_date",label:"FACTURATION.document_date"},{id:"date",label:"VERIFIER.register_date"},{id:"original_filename",label:"VERIFIER.original_file"},{id:"form_label",label:"VERIFIER.form"}]},E.display||(E.display={subtitles:[{id:"invoice_number",label:"FACTURATION.invoice_number"},{id:"document_date",label:"FACTURATION.document_date"},{id:"date",label:"VERIFIER.register_date"},{id:"original_filename",label:"VERIFIER.original_file"},{id:"form_label",label:"VERIFIER.form"}]});const B=E.display.subtitles;E.display={subtitles:[]},B.forEach(oe=>{let xe="";E.datas.hasOwnProperty(oe.id)?xe=E.datas[oe.id]:E.hasOwnProperty(oe.id)&&(xe=E[oe.id]),E.display.subtitles.push({id:oe.id,label:oe.label,data:xe})})}));const l=[],h=[];t.allowedCustomers.forEach(E=>{t.invoices.forEach(B=>{"purchase"===B.purchase_or_sale&&!l.includes(E)&&l.push(E),"sale"===B.purchase_or_sale&&!h.includes(E)&&h.push(E)})}),t.TREE_DATA.forEach((E,B)=>{t.TREE_DATA[B].display=!0,t.TREE_DATA[B].count=0,t.TREE_DATA[B].children=[]}),t.TREE_DATA.forEach((E,B)=>{h.forEach(oe=>{if(E.id===oe){let xe=!1;t.TREE_DATA[B].children.forEach(Ve=>{0===Ve.id&&(xe=!0)}),xe||(t.TREE_DATA[B].children.push({name:t.translate.instant("UPLOAD.sale_invoice"),id:0,display:!0,count:0,children:[]}),t.createChildren("sale",0,B))}}),l.forEach(oe=>{if(E.id===oe&&t.TREE_DATA[B]){let xe=!1;t.TREE_DATA[B].children.forEach(Ve=>{1===Ve.id&&(xe=!0)}),xe||(t.TREE_DATA[B].children.push({name:t.translate.instant("UPLOAD.purchase_invoice"),id:1,display:!0,count:0,children:[]}),t.createChildren("purchase",1,B))}})}),t.dataSource.data=t.TREE_DATA,t.filterCustomers()}),(0,Di.x)(()=>{t.loading=!1,t.loadingCustomers=!1}),(0,Ke.K)(a=>(console.debug(a),t.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe()})()}fillChildren(t,i,a,l,h,E,B){let oe=!1;i.forEach(xe=>{xe.name===a&&(oe=!0,xe.count=xe.count+1)}),oe||i.push({name:l,supplier_id:h,id:E,parent_id:t,purchase_or_sale:B,count:1,display:!0})}resetSearchCustomer(){this.customerFilter.setValue(""),this.filterCustomers()}filterCustomers(){const t=this.dataSource.data;this.customerFilterEmpty=!1;let i=!1;t.forEach(a=>{a.name.toLowerCase().includes(this.customerFilter.value.toLowerCase())?(a.display=!0,i=!0):a.display=!1}),i||(this.customerFilterEmpty=!0),this.dataSource.data=t}changeCustomer(t,i){this.loading=!0,this.loadingCustomers=!0,this.http.put(m.N.url+"/ws/verifier/invoices/"+i+"/update",{args:{customer_id:t}},{headers:this.authService.headers}).pipe((0,Di.x)(()=>{this.resetInvoices(),this.notify.success(this.translate.instant("VERIFIER.customer_changed_successfully"))}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe()}changeInvoiceForm(t,i){this.loading=!0,this.loadingCustomers=!0,this.http.put(m.N.url+"/ws/verifier/invoices/"+i+"/update",{args:{form_id:t}},{headers:this.authService.headers}).pipe((0,Di.x)(()=>{this.resetInvoices(),this.notify.success(this.translate.instant("VERIFIER.form_changed"))}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe()}createChildren(t,i,a){this.TREE_DATA[a].children.forEach(l=>{l.id===i&&this.invoices.forEach(h=>{this.TREE_DATA[a].id===h.customer_id&&h.purchase_or_sale===t&&(this.fillChildren(this.TREE_DATA[a].id,l.children,h.supplier_name,h.supplier_id?h.supplier_name:this.translate.instant("ACCOUNTS.supplier_unknow"),h.supplier_id,h.invoice_id,t),l.count=l.count+1,this.TREE_DATA[a].count=this.TREE_DATA[a].count+1)})})}loadInvoicePerCustomer(t){const i=t.parent_id,a=t.supplier_id,l=t.purchase_or_sale;this.TREE_DATA.forEach(h=>{h.id===i&&(this.allowedCustomers=[h.id],this.allowedSuppliers=[a],this.purchaseOrSale=l,this.resetPaginator(),this.loadInvoices())})}resetInvoices(){this.loading=!0,this.loadingCustomers=!0,this.allowedCustomers=[],this.allowedSuppliers=[],this.purchaseOrSale="",this.search="",this.currentForm="",this.resetPaginator(),this.loadCustomers()}selectOrUnselectAllInvoices(t){const i=t.srcElement.textContent;this.invoiceToDeleteSelected=!this.invoiceToDeleteSelected;const a=document.getElementsByClassName("checkBox_list");Array.from(a).forEach(l=>{l.checked=i===this.translate.instant("VERIFIER.select_all")}),this.totalChecked=document.querySelectorAll(".checkBox_list:checked").length}deleteAllInvoices(){this.loading=!0,this.loadingCustomers=!0;const t=document.querySelectorAll(".checkBox_list:checked");Array.from(t).forEach(i=>{const a=i.id.split("_")[0];this.deleteInvoice(a,!0)}),this.notify.success(this.translate.instant("VERIFIER.all_documents_checked_deleted")),this.loadCustomers()}deleteInvoice(t,i=!1){this.http.delete(m.N.url+"/ws/verifier/invoices/delete/"+t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{i||(this.loadCustomers(),this.notify.success(this.translate.instant("VERIFIER.documents_deleted"))),this.historyService.addHistory("verifier","delete_document",this.translate.instant("HISTORY-DESC.delete_document",{document_id:t}))}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe()}checkCheckedInvoices(){this.totalChecked=document.querySelectorAll(".checkBox_list:checked").length,this.invoiceToDeleteSelected=0!==this.totalChecked}deleteConfirmDialog(t){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("VERIFIER.confirm_delete_document"),confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(a=>{a&&(this.loading=!0,this.loadingCustomers=!0,this.deleteInvoice(t))})}displayInvoiceLocked(t){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("VERIFIER.document_locked"),confirmText:this.translate.instant("VERIFIER.document_locked_by",{locked_by:t}),confirmButton:this.translate.instant("GLOBAL.confirm"),confirmButtonColor:"warn"},width:"600px"})}deleteAllConfirmDialog(){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("VERIFIER.confirm_delete_all_documents"),confirmButton:this.translate.instant("GLOBAL.delete_all_checked"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(i=>{i&&this.deleteAllInvoices()})}changeStatus(t){this.currentStatus=t.value,this.resetPaginator(),this.loadInvoices()}changeForm(t){this.currentForm=t.value,this.resetPaginator(),this.loadInvoices()}onTabChange(t){this.search="",this.selectedTab=t.index,this.localStorageService.save("invoicesTimeIndex",this.selectedTab),this.currentTime=this.batchList[this.selectedTab].id,this.resetPaginator(),this.loadInvoices()}onPageChange(t){this.pageSize=t.pageSize,this.offset=this.pageSize*t.pageIndex,this.pageIndex=t.pageIndex,this.localStorageService.save("invoicesPageIndex",t.pageIndex),this.loadInvoices()}searchInvoice(t){this.search=t.target.value,this.loadInvoices()}resetPaginator(){this.total=0,this.offset=0,this.pageIndex=0,this.localStorageService.save("invoicesPageIndex",this.pageIndex)}expandAll(){this.expanded?this.treeControl.collapseAll():this.treeControl.expandAll(),this.expanded=!this.expanded}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Ri.eN),e.Y36(Ui),e.Y36(c.H7),e.Y36(pi.e),e.Y36(zi.K),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(Al),e.Y36(kn.q),e.Y36($a.e),e.Y36(ua.n))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-verifier-list"]],features:[e._Bn([{provide:Rt.o2,useValue:{appearance:"fill"}}])],decls:25,vars:30,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"2xl:w-96","xl:w-80","md:w-72","sm:w-64","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"text-center","text-gray-900","m-0","h-16",2,"padding-top","1.2rem"],[1,"fa-solid","fa-sync-alt","mr-4","cursor-pointer",3,"matTooltip","click"],[1,"fa-solid","ml-4","cursor-pointer",3,"matTooltip","click"],[1,"pb-6"],["appearance","outline",1,"px-4","pt-4","-mb-6","w-full"],["matInput","","type","text","autocomplete","off",3,"formControl","readonly","keyup"],["matSuffix","","class","text-gray-900 cursor-pointer",3,"click",4,"ngIf"],["class","flex text-gray-400 object-contain","style","height: calc(100% - 10rem)",4,"ngIf"],[3,"dataSource","treeControl",4,"ngIf"],[1,"bg-white","overflow-hidden"],["mat-icon-button","",1,"absolute","left-2","top-2",2,"z-index","999",3,"click"],[1,"fa-solid","fa-stream","text-xl","text-gray-900"],["animationDuration","0ms",1,"batches","overflow-auto",3,"selectedIndex","selectedTabChange"],[3,"id","disabled",4,"ngFor","ngForOf"],["matSuffix","",1,"text-gray-900","cursor-pointer",3,"click"],[1,"fa-solid","fa-sync-alt","text-xl","relative",2,"top","-.3rem",3,"matTooltip"],[1,"flex","text-gray-400","object-contain",2,"height","calc(100% - 10rem)"],[1,"m-auto","text-center"],[1,"fa-solid","fa-users","fa-4x","fa-beat-fade","w-full","mb-2",2,"--fa-animation-duration","1.5s"],[1,"w-full"],[1,"fa-solid","fa-ban","fa-4x","fa-beat-fade","w-full","mb-2",2,"--fa-animation-duration","1.5s"],[3,"dataSource","treeControl"],["style","min-height: 24px","class","pl-12 cursor-pointer hover:bg-black hover:bg-opacity-20",3,"click",4,"matTreeNodeDef","matTreeNodeDefWhen"],["style","min-height: 24px","class","parent cursor-pointer hover:bg-black hover:bg-opacity-10","matTreeNodeToggle","",3,"hidden",4,"matTreeNodeDef","matTreeNodeDefWhen"],["style","min-height: 24px","class","child pl-6 cursor-pointer hover:bg-black hover:bg-opacity-10","matTreeNodeToggle","",3,"hidden",4,"matTreeNodeDef","matTreeNodeDefWhen"],[1,"pl-12","cursor-pointer","hover:bg-black","hover:bg-opacity-20",2,"min-height","24px",3,"click"],["mat-icon-button","","disabled",""],[1,"text-green-400","ml-4","fa-solid","fa-user","pb-0.5"],[1,"pl-2","font-normal","select-none"],[1,"float-right","ml-auto","select-none","mr-6","bottom-1","bg-green-400","rounded-full","px-1.5","py-0.5","text-center","text-xs","text-white"],["matTreeNodeToggle","",1,"parent","cursor-pointer","hover:bg-black","hover:bg-opacity-10",2,"min-height","24px"],["mat-icon-button",""],[1,"mat-icon-rtl-mirror","text-gray-900"],[1,"select-none"],["class","float-right ml-auto select-none mr-4 bg-green-400 rounded-full px-1.5 py-0.5 text-center text-xs text-white",3,"hidden",4,"ngIf"],[1,"float-right","ml-auto","select-none","mr-4","bg-green-400","rounded-full","px-1.5","py-0.5","text-center","text-xs","text-white"],["matTreeNodeToggle","",1,"child","pl-6","cursor-pointer","hover:bg-black","hover:bg-opacity-10",2,"min-height","24px"],[1,"text-gray-600","ml-4","fa-solid","fa-folder","pb-0.5"],["class","float-right ml-auto select-none mr-12 bottom-1 bg-green-400 rounded-full px-1.5 py-0.5 text-center text-xs text-white",4,"ngIf"],[1,"float-right","ml-auto","select-none","mr-12","bottom-1","bg-green-400","rounded-full","px-1.5","py-0.5","text-center","text-xs","text-white"],[3,"id","disabled"],["mat-tab-label",""],[1,"verifier-container","flex","flex-col"],[1,"grid","grid-cols-3","grid-flow-row","gap-0","mt-4","z-30"],["appearance","outline",1,"left-4","w-1/2"],["matInput","","type","text",3,"ngModel","disabled","ngModelChange","keyup"],[1,"w-full","m-auto","grid","grid-cols-2","gap-2"],["appearance","outline"],[3,"value","disabled","valueChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[1,"relative","right-0"],[3,"length","pageSize","pageIndex","pageSizeOptions","page"],["class","z-30 -mt-2 mb-2 select-none","style","margin-left: 1.2rem",4,"ngIf"],[1,"w-1/2","m-auto","mb-4","border-green-400","relative","z-30"],["class","m-4",4,"ngIf"],[4,"ngIf"],["class","content mx-10 mt-3",4,"ngIf"],[1,"text-green-400","ml-3","relative","bottom-1.5","font-bold",2,"font-size","12px"],[3,"value"],[1,"text-green-400","ml-3","font-bold",2,"font-size","12px"],[1,"z-30","-mt-2","mb-2","select-none",2,"margin-left","1.2rem"],[1,"cursor-pointer",3,"innerHTML","click"],[3,"click"],[1,"fa-solid","fa-trash","ml-2","text-red-500","cursor-pointer",3,"matTooltip"],[1,"m-4"],[1,"content","mx-10","mt-3"],[1,"cards-list","list","grid","2xl:grid-cols-4","md:grid-cols-3","sm:grid-cols-2","grid-flow-row","gap-12"],["class","cursor-pointer p-0 mb-0",4,"ngFor","ngForOf"],[1,"cursor-pointer","p-0","mb-0"],[1,"p-5","absolute","z-40","cursor-pointer"],["type","checkbox",1,"accent-green-400","checkBox_list","cursor-pointer",3,"id","click"],[1,"absolute","right-0","p-5","z-30"],["matTooltipPosition","above",3,"matMenuTriggerFor","matTooltip"],[1,"field_settings","text-md"],["menu","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor"],["customers","matMenu"],["mat-menu-item","",3,"bg-green-400","click",4,"ngFor","ngForOf"],["formMenu","matMenu"],["mat-card-image","","alt","Open-Capture Verifier image",1,"m-auto","p-4",3,"routerLink","src","click"],[1,"leading-6","relative","z-10","bg-white","pt-4","pl-4","pr-4",3,"routerLink","click"],[1,"break-all"],[1,"leading-7"],["class","fa-solid fa-lock text-base mb-2 relative","style","bottom: 0.1rem",3,"matTooltip",4,"ngIf"],[1,"absolute","right-6","text-green-400","text-base","badge","badge-secondary","badge-pill",3,"matTooltip"],[1,"far","fa-file-alt","ml-1"],[1,"mt-2","-mb-1"],["class","-mb-1 text-ellipsis overflow-hidden w-full inline-block",4,"ngFor","ngForOf"],[1,"pb-4","pl-4"],[1,"fa-solid","fa-trash","cursor-pointer","text-red-500",3,"click"],[1,"font-medium","mat-typography"],["mat-menu-item","",3,"click"],[1,"fa-solid","fa-lock","text-base","mb-2","relative",2,"bottom","0.1rem",3,"matTooltip"],[1,"-mb-1","text-ellipsis","overflow-hidden","w-full","inline-block"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3)(4,"i",4),e.NdJ("click",function(){return i.resetInvoices()}),e.ALo(5,"translate"),e.qZA(),e._uU(6),e.ALo(7,"translate"),e.TgZ(8,"i",5),e.NdJ("click",function(){return i.expandAll()}),e.qZA()(),e._UZ(9,"mat-divider"),e.TgZ(10,"div",6)(11,"mat-form-field",7)(12,"mat-label"),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.TgZ(15,"input",8),e.NdJ("keyup",function(){return i.filterCustomers()}),e.qZA(),e.YNc(16,dv,3,3,"button",9),e.qZA()(),e.YNc(17,Pc,6,3,"div",10),e.YNc(18,lx,6,3,"div",10),e.YNc(19,_n,4,6,"mat-tree",11),e.qZA(),e.TgZ(20,"mat-sidenav-content",12)(21,"button",13),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(22,"i",14),e.qZA(),e.TgZ(23,"mat-tab-group",15),e.NdJ("selectedTabChange",function(h){return i.onTabChange(h)}),e.YNc(24,Cf,29,29,"mat-tab",16),e.qZA()()()}if(2&t){const a=e.MAs(2);e.xp6(3),e.ekj("pointer-events-none",i.loading),e.xp6(1),e.Q6J("matTooltip",e.lcZ(5,24,"VERIFIER.reset_document_list")),e.xp6(2),e.hij(" ",e.lcZ(7,26,"VERIFIER.suppliers_by_customer")," "),e.xp6(2),e.ekj("fa-compress-arrows-alt",i.expanded)("fa-expand-arrows-alt",!i.expanded),e.Q6J("matTooltip",i.translate.instant(i.expanded?"VERIFIER.collapse_all":"VERIFIER.expand_all")),e.xp6(3),e.ekj("pointer-events-none",i.loadingCustomers||0===i.dataSource.data.length),e.xp6(2),e.hij(" ",e.lcZ(14,28,"VERIFIER.search_customer")," "),e.xp6(2),e.Q6J("formControl",i.customerFilter)("readonly",i.loadingCustomers||0===i.dataSource.data.length),e.xp6(1),e.Q6J("ngIf",i.customerFilter.value),e.xp6(1),e.Q6J("ngIf",i.loadingCustomers||0===i.dataSource.data.length),e.xp6(1),e.Q6J("ngIf",i.customerFilter.value&&!i.loadingCustomers&&i.customerFilterEmpty),e.xp6(1),e.Q6J("ngIf",!i.loadingCustomers&&0!==i.dataSource.data.length),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(1),e.Q6J("selectedIndex",i.selectedTab),e.xp6(1),e.Q6J("ngForOf",i.batchList)}},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.KE,Rt.hX,Rt.R9,Be.gD,b.ey,an.Nt,Xn,va.SP,va.uD,va.uX,Vt.JX,Vt.TM,Vt.Rh,Y.lW,ot,qt,We,Ie,_t,si,Ho,xl,pe,Co,So,Rn.d,tu,ph,$l,ep,A.Fj,A.JJ,A.oH,A.On,Cn.R,$t.X$],styles:['.mat-badge-content[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(76 76 78 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(151 191 61 / var(--tw-text-opacity));font-weight:700} .cards-list .mat-card .mat-card-header .mat-card-header-text{width:95%}@media (min-width: 640px){ .batches .mat-paginator-page-size{display:none}}@media (min-width: 1536px){ .batches .mat-paginator-page-size{display:flex}} .batches .mat-tab-header{z-index:20} .batches .mat-tab-header .mat-tab-label-container>.mat-tab-list>.mat-tab-labels .mat-tab-label{width:33.333333%;height:4rem} .batches .mat-tab-header .mat-tab-label-container>.mat-tab-list>.mat-tab-labels .mat-tab-label-active{opacity:1} .batches .mat-tab-body-wrapper>.mat-tab-body>.mat-tab-body-content{height:calc(100vh - 8rem)!important;overflow-x:hidden} .batches .mat-tab-body-wrapper>.mat-tab-body>.mat-tab-body-content .verifier-container>.content>.list>.mat-card:nth-last-child(-n+4){margin-bottom:1.25rem}.ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.5em;max-height:3} .list>mat-card{display:flex;flex-direction:column} .list>mat-card .mat-card-header{flex-shrink:0} .list>mat-card .mat-card-image{transform:scale(1);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s} .list>mat-card .mat-card-header .mat-card-title>span:first-child{position:relative} .list>mat-card .mat-card-header .mat-card-title>span:first-child:after{position:absolute;content:"";width:0px;height:.125rem;--tw-bg-opacity: 1;background-color:rgb(151 191 61 / var(--tw-bg-opacity));left:50%;bottom:-.125rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s} .list>mat-card:hover .mat-card-image{transform:scale(1.05)} .list>mat-card:hover .mat-card-header>.mat-card-header-text>.mat-card-title>span:first-child:after{width:100%;left:0} .list>mat-card:hover mat-card-actions{visibility:visible;opacity:1} .list>mat-card mat-card-actions{margin:0 16px;visibility:hidden;opacity:0;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s} .list>mat-card mat-card-actions i>span{visibility:hidden;opacity:0;margin-left:-.5rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s} .list>mat-card mat-card-actions i:hover>span{visibility:visible;opacity:1;margin-left:.5rem}']}),n})(),xf=(()=>{class n{transform(t,i,a){return t?a&&0!==a.length?t.filter(l=>-1!==l[i].toLowerCase().indexOf(a.toLowerCase())):t:[]}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275pipe=e.Yjl({name:"filter",type:n,pure:!0}),n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})();function gv(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA(),e.TgZ(2,"span",21),e._uU(3),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw();e.xp6(1),e.hij(" ",i.translate.instant(t.label)," "),e.xp6(2),e.hij(" ",i.totals[t.id]," ")}}function u(n,o){if(1&n&&(e.TgZ(0,"mat-option",22),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.hij(" ",t.label," ")}}function f(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",23)(1,"span",24),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.selectOrUnselectAllBatches(a))}),e.qZA(),e.TgZ(2,"span"),e._uU(3),e.qZA(),e.TgZ(4,"span")(5,"i",25),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw(2);return a.stopPropagation(),e.KtG(l.deleteAllConfirmDialog())}),e.ALo(6,"translate"),e.qZA()()()}if(2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("innerHTML",t.translate.instant(t.batchesSelected?"VERIFIER.unselect_all":"VERIFIER.select_all"),e.oJD),e.xp6(1),e.ekj("hidden",0===t.totalChecked),e.xp6(1),e.hij(" (",t.totalChecked,")"),e.xp6(1),e.ekj("hidden",!t.batchesSelected),e.xp6(1),e.s9C("matTooltip",e.lcZ(6,7,"GLOBAL.delete_all_checked"))}}function r(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function p(n,o){1&n&&(e.TgZ(0,"span",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"SPLITTER.no_batch_found")))}function x(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"i",45),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw(3);return a.stopPropagation(),e.KtG(h.mergeAllConfirmDialog(l.id))}),e.TgZ(1,"span",46),e._uU(2),e.ALo(3,"translate"),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(4);e.xp6(2),e.lnq(" ",e.lcZ(3,3,"SPLITTER.merge")," ",t.totalChecked," ",e.lcZ(4,5,"SPLITTER.batches")," ")}}function D(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-card",31)(1,"label",32)(2,"input",33),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.checkSelectedBatch())}),e.qZA()(),e._UZ(3,"img",34),e.TgZ(4,"mat-card-header",35)(5,"mat-card-title",36)(6,"span",37),e._uU(7),e.qZA(),e.TgZ(8,"span",38),e._uU(9),e._UZ(10,"i",39),e.qZA()(),e.TgZ(11,"mat-card-subtitle",40)(12,"strong"),e._uU(13),e.ALo(14,"translate"),e.qZA(),e._uU(15),e._UZ(16,"br"),e.TgZ(17,"strong"),e._uU(18),e.ALo(19,"translate"),e.qZA(),e._uU(20),e._UZ(21,"br"),e.TgZ(22,"strong"),e._uU(23),e.ALo(24,"translate"),e.qZA(),e._uU(25),e._UZ(26,"br"),e.qZA()(),e.TgZ(27,"mat-card-actions",41)(28,"i",42),e.NdJ("click",function(a){const h=e.CHM(t).$implicit,E=e.oxw(3);return a.stopPropagation(),e.KtG(E.openConfirmDialog(h.id))}),e.TgZ(29,"span",43),e._uU(30),e.ALo(31,"translate"),e.qZA()(),e.YNc(32,x,5,7,"i",44),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw(3);e.xp6(2),e.MGl("id","",t.id,"_checkbox"),e.xp6(1),e.Q6J("routerLink","/splitter/viewer/"+i.currentTime+"/"+t.id)("src",t.thumbnail,e.LSH),e.xp6(1),e.Q6J("routerLink","/splitter/viewer/"+i.currentTime+"/"+t.id),e.xp6(3),e.hij(" ",t.file_name," "),e.xp6(1),e.Q6J("matTooltip",i.translate.instant("OUTPUT.documents_count")+" : "+t.documents_count),e.xp6(1),e.hij(" ",t.documents_count,""),e.xp6(4),e.Oqu(e.lcZ(14,15,"SPLITTER.identifier")),e.xp6(2),e.hij(" : ",t.id,""),e.xp6(3),e.Oqu(e.lcZ(19,17,"VERIFIER.register_date")),e.xp6(2),e.hij(" : ",t.batch_date,""),e.xp6(3),e.Oqu(e.lcZ(24,19,"SPLITTER.form_label")),e.xp6(2),e.hij(" : ",t.form_label,""),e.xp6(5),e.Oqu(e.lcZ(31,21,"GLOBAL.delete")),e.xp6(2),e.Q6J("ngIf",i.totalChecked>=2&&i.isCheckboxChecked(t.id))}}function I(n,o){if(1&n&&(e.TgZ(0,"div",26)(1,"div",27),e.YNc(2,p,3,3,"span",28),e.ALo(3,"filter"),e.YNc(4,D,33,23,"mat-card",29),e.ALo(5,"filter"),e.qZA()()),2&n){const t=e.oxw(2);e.xp6(2),e.Q6J("ngIf",0===e.Dn7(3,2,t.batches,"file_name",t.searchText).length&&!t.isLoading),e.xp6(2),e.Q6J("ngForOf",e.Dn7(5,6,t.batches,"file_name",t.searchText))}}function V(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-tab",4),e.YNc(1,gv,4,2,"ng-template",5),e.TgZ(2,"div",6)(3,"div",7)(4,"mat-form-field",8)(5,"mat-label"),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.TgZ(8,"input",9),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.searchText=a)}),e.qZA()(),e.TgZ(9,"div",10)(10,"mat-form-field",11)(11,"mat-label"),e._uU(12),e.ALo(13,"translate"),e.qZA(),e.TgZ(14,"mat-select",12),e.NdJ("valueChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.currentStatus=a)})("selectionChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.changeStatus(a))}),e.YNc(15,u,2,2,"mat-option",13),e.qZA()(),e.TgZ(16,"i",14),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.loadBatches())}),e.ALo(17,"translate"),e.qZA()(),e.TgZ(18,"span",15)(19,"mat-paginator",16),e.NdJ("page",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.onPageChange(a))}),e.qZA()()(),e.YNc(20,f,7,9,"div",17),e._UZ(21,"hr",18),e.YNc(22,r,2,0,"div",19),e.YNc(23,I,6,10,"div",20),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("id",t.id)("disabled",i.isLoading),e.xp6(6),e.Oqu(e.lcZ(7,18,"SPLITTER.search")),e.xp6(2),e.Q6J("ngModel",i.searchText)("disabled",0===i.total),e.xp6(4),e.Oqu(e.lcZ(13,20,"STATUS.list")),e.xp6(2),e.Q6J("value",i.currentStatus)("disabled",i.isLoading),e.xp6(1),e.Q6J("ngForOf",i.status),e.xp6(1),e.Q6J("matTooltip",e.lcZ(17,22,"SPLITTER.reload_batches")),e.xp6(2),e.ekj("hidden",i.isLoading||0===i.total),e.xp6(1),e.Q6J("length",i.total)("pageSize",i.pageSize)("pageSizeOptions",i.pageSizeOptions),e.xp6(1),e.Q6J("ngIf",i.batches.length>1&&!i.isLoading),e.xp6(2),e.Q6J("ngIf",i.isLoading),e.xp6(1),e.Q6J("ngIf",!i.isLoading)}}let me=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt,Ft,ii){this.router=t,this.dialog=i,this.http=a,this.route=l,this.userService=h,this.formBuilder=E,this.authService=B,this._sanitizer=oe,this.translate=xe,this.notify=Ve,this.historyService=lt,this.routerExtService=Ft,this.localStorageService=ii,this.batches=[],this.isLoading=!0,this.status=[],this.gridColumns=4,this.page=1,this.selectedTab=0,this.searchText="",this.pageSize=16,this.pageIndex=1,this.offset=0,this.pageSizeOptions=[4,8,12,16,24,48],this.total=0,this.totals={},this.batchList=[{id:"today",label:(0,He.J)("BATCH.today")},{id:"yesterday",label:(0,He.J)("BATCH.yesterday")},{id:"older",label:(0,He.J)("BATCH.older")}],this.currentTime="today",this.currentStatus="NEW",this.batchesSelected=!1,this.totalChecked=0}ngOnInit(){this.authService.headersExists||this.authService.generateHeaders(),this.localStorageService.save("splitter_or_verifier","splitter");const t=this.routerExtService.getPreviousUrl();t.includes("splitter/")&&!t.includes("settings")||"/"===t||"/upload"===t?(this.localStorageService.get("splitterPageIndex")&&(this.pageIndex=parseInt(this.localStorageService.get("splitterPageIndex"))),this.localStorageService.get("splitterTimeIndex")&&(this.selectedTab=parseInt(this.localStorageService.get("splitterTimeIndex")),this.currentTime=this.batchList[this.selectedTab].id),this.offset=this.pageSize*this.pageIndex):(this.localStorageService.remove("splitterPageIndex"),this.localStorageService.remove("splitterTimeIndex")),this.http.get(m.N.url+"/ws/status/list?module=splitter",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.status=i.status}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe(),this.loadBatches()}loadBatches(){this.isLoading=!0,this.http.get(m.N.url+"/ws/splitter/invoices/totals/"+this.currentStatus,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.totals=t.totals}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/splitter/batches/"+(this.pageIndex-1)+"/"+this.pageSize+"/"+this.currentTime+"/"+this.currentStatus,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.batches=t.batches;for(let i=0;ithis.isLoading=!1),(0,Ke.K)(t=>(console.debug(t),(0,ie.of)(!1)))).subscribe()}sanitize(t){return this._sanitizer.bypassSecurityTrustUrl("data:image/jpg;base64,"+t)}checkSelectedBatch(){this.totalChecked=document.querySelectorAll(".checkBox_list:checked").length,this.batchesSelected=0!==this.totalChecked}mergeAllConfirmDialog(t){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("SPLITTER.confirm_merge_all_checked_batches"),confirmButton:this.translate.instant("SPLITTER.merge"),confirmButtonColor:"green",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(a=>{a&&this.mergeAllBatches(t)})}isCheckboxChecked(t){let i=!1;const a=document.getElementsByClassName("checkBox_list");return Array.from(a).forEach(l=>{const h=l.id.split("_")[0];parseInt(h)===t&&(i=!0)}),i}mergeAllBatches(t){const i=document.getElementsByClassName("checkBox_list"),a=[],l=[];Array.from(i).forEach(E=>{if(E.checked){const B=E.id.split("_")[0];B!==t.toString()&&a.push(B)}}),this.batches.forEach(E=>{a.forEach(B=>{parseInt(E.id)===parseInt(B)&&l.push(E.form_id)}),t===E.id&&l.push(E.form_id)}),1===l.filter((E,B,oe)=>oe.indexOf(E)===B).length?(this.isLoading=!0,this.http.post(m.N.url+"/ws/splitter/merge/"+t,{batches:a},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadBatches(),this.notify.success(this.translate.instant("SPLITTER.merge_success"))}),(0,Ke.K)(E=>(console.debug(E),this.notify.handleErrors(E),(0,ie.of)(!1)))).subscribe()):this.notify.error(this.translate.instant("SPLITTER.merge_error_form_not_match"))}deleteAllConfirmDialog(){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("SPLITTER.confirm_delete_all_batches"),confirmButton:this.translate.instant("GLOBAL.delete_all_checked"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(i=>{i&&this.deleteAllBatches()})}onPageChange(t){this.batches=[],this.pageIndex=t.pageIndex+1,this.pageSize=t.pageSize,this.localStorageService.save("splitterPageIndex",t.pageIndex),this.loadBatches()}openConfirmDialog(t){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("SPLITTER.confirm_batch_delete"),confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"400px"}).afterClosed().subscribe(a=>{a&&(this.deleteBatch(t),this.historyService.addHistory("splitter","delete_batch",this.translate.instant("HISTORY-DESC.delete_batch",{batch_id:t})))})}selectOrUnselectAllBatches(t){const i=t.srcElement.textContent;this.batchesSelected=!this.batchesSelected;const a=document.getElementsByClassName("checkBox_list");Array.from(a).forEach(l=>{l.checked=i===this.translate.instant("VERIFIER.select_all")}),this.totalChecked=document.querySelectorAll(".checkBox_list:checked").length}deleteAllBatches(){this.isLoading=!0;let t=!1;const i=document.querySelectorAll(".checkBox_list:checked");Array.from(i).forEach((a,l)=>{l===i.length-1&&(t=!0);const h=a.id.split("_")[0];this.deleteBatch(h,!0,t)}),this.notify.success(this.translate.instant("SPLITTER.all_batches_checked_deleted"))}deleteBatch(t,i=!1,a=!0){this.http.put(m.N.url+"/ws/splitter/status",{id:t,status:"DEL"},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{i||(this.notify.success(this.translate.instant("SPLITTER.batch_deleted")),this.isLoading=!1),a&&this.loadBatches()}),(0,Ke.K)(l=>(console.debug(l),(0,ie.of)(!1)))).subscribe()}resetPaginator(){this.total=0,this.offset=0,this.pageIndex=1,this.localStorageService.save("splitterPageIndex",this.pageIndex)}onTabChange(t){this.selectedTab=t.index,this.localStorageService.save("splitterTimeIndex",this.selectedTab),this.currentTime=this.batchList[this.selectedTab].id,this.resetPaginator(),this.loadBatches()}changeStatus(t){this.currentStatus=t.value,this.resetPaginator(),this.loadBatches()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ui),e.Y36(Ri.eN),e.Y36(Nt.gz),e.Y36(zi.K),e.Y36(A.qu),e.Y36(pi.e),e.Y36(c.H7),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q),e.Y36($a.e),e.Y36(ua.n))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-list"]],features:[e._Bn([{provide:Rt.o2,useValue:{appearance:"fill"}}])],decls:4,vars:2,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],[1,"bg-white","overflow-hidden"],["animationDuration","0ms",1,"batches","overflow-auto",3,"selectedIndex","selectedTabChange"],[3,"id","disabled",4,"ngFor","ngForOf"],[3,"id","disabled"],["mat-tab-label",""],[1,"splitter-container","flex","flex-col"],[1,"grid","grid-cols-3","grid-flow-row","gap-0","mt-4","z-30"],["appearance","outline",1,"left-4","w-1/2"],["matInput","","type","text",3,"ngModel","disabled","ngModelChange"],[1,"w-full","flex","justify-center","m-auto"],["appearance","outline"],[3,"value","disabled","valueChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[1,"fa-solid","fa-sync-alt","m-4","cursor-pointer","text-xl","hover:text-green-400",3,"matTooltip","click"],[1,"relative","right-0"],[3,"length","pageSize","pageSizeOptions","page"],["class","z-40 -mt-2 mb-2 select-none","style","margin-left: 1.2rem",4,"ngIf"],[1,"w-1/2","m-auto","mb-4","border-green-400","relative","z-30"],[4,"ngIf"],["class","content mx-10 mt-3",4,"ngIf"],[1,"text-green-400","ml-3","relative","bottom-1.5","font-bold",2,"font-size","12px"],[3,"value"],[1,"z-40","-mt-2","mb-2","select-none",2,"margin-left","1.2rem"],[1,"cursor-pointer",3,"innerHTML","click"],[1,"fa-solid","fa-trash","ml-5","text-red-500","cursor-pointer",3,"matTooltip","click"],[1,"content","mx-10","mt-3"],[1,"list","grid","2xl:grid-cols-4","md:grid-cols-3","sm:grid-cols-2","grid-flow-row","gap-12"],["class","text-gray-900",4,"ngIf"],["class","batch-card cursor-pointer p-0 mb-0",4,"ngFor","ngForOf"],[1,"text-gray-900"],[1,"batch-card","cursor-pointer","p-0","mb-0"],[1,"p-5","absolute","z-40","cursor-pointer"],["type","checkbox",1,"accent-green-400","checkBox_list","cursor-pointer",3,"id","click"],["mat-card-image","","alt","Open-Capture Splitter image",1,"m-auto","p-4",3,"routerLink","src"],[1,"leading-6","relative","z-10","bg-white","pt-4","pl-4","pr-4",3,"routerLink"],[1,"break-all"],[1,"leading-7"],[1,"absolute","right-6","text-green-400","text-base","badge","badge-secondary","badge-pill",3,"matTooltip"],[1,"far","fa-file-alt","ml-1"],[1,"mt-2","-mb-1","block","overflow-hidden","text-ellipsis","w-11/12"],[1,"pb-4"],[1,"fa-solid","fa-trash","cursor-pointer","text-red-500","pl-4",3,"click"],[1,"font-medium","mat-typography"],["class","fa-solid fa-object-group cursor-pointer text-green-400 relative float-right",3,"click",4,"ngIf"],[1,"fa-solid","fa-object-group","cursor-pointer","text-green-400","relative","float-right",3,"click"],[1,"font-medium","mat-typography","float-left","mr-3","relative","bottom-1"]],template:function(t,i){1&t&&(e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav-content",1)(2,"mat-tab-group",2),e.NdJ("selectedTabChange",function(l){return i.onTabChange(l)}),e.YNc(3,V,24,24,"mat-tab",3),e.qZA()()()),2&t&&(e.xp6(2),e.Q6J("selectedIndex",i.selectedTab),e.xp6(1),e.Q6J("ngForOf",i.batchList))},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.KE,Rt.hX,Be.gD,b.ey,an.Nt,Xn,va.SP,va.uD,va.uX,Vt.TM,Vt.Rh,ot,qt,We,Ie,_t,si,Co,A.Fj,A.JJ,A.On,Cn.R,$t.X$,xf],styles:['.mat-badge-content[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(76 76 78 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(151 191 61 / var(--tw-text-opacity));font-weight:700}@media (min-width: 640px){ .batches .mat-paginator-page-size{display:none}}@media (min-width: 1280px){ .batches .mat-paginator-page-size{display:flex}} .batches .mat-tab-header{z-index:20} .batches .mat-tab-header .mat-tab-label-container>.mat-tab-list>.mat-tab-labels .mat-tab-label{width:33.333333%;height:4rem} .batches .mat-tab-header .mat-tab-label-container>.mat-tab-list>.mat-tab-labels .mat-tab-label-active{opacity:1} .batches .mat-tab-body-wrapper>.mat-tab-body>.mat-tab-body-content{height:calc(100vh - 8rem)!important;overflow-x:hidden!important} .batches .mat-tab-body-wrapper>.mat-tab-body>.mat-tab-body-content .splitter-container>.content>.list>.mat-card:nth-last-child(-n+4){margin-bottom:1.25rem} .list>mat-card{display:flex;flex-direction:column} .list>mat-card .mat-card-header{flex-shrink:0} .list>mat-card .mat-card-image{transform:scale(1);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s} .list>mat-card .mat-card-header .mat-card-title>span:first-child{position:relative} .list>mat-card .mat-card-header .mat-card-title>span:first-child:after{position:absolute;content:"";width:0px;height:.125rem;--tw-bg-opacity: 1;background-color:rgb(151 191 61 / var(--tw-bg-opacity));left:50%;bottom:-.125rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s} .list>mat-card:hover .mat-card-image{transform:scale(1.05)} .list>mat-card:hover .mat-card-header>.mat-card-header-text>.mat-card-title>span:first-child:after{width:100%;left:0} .list>mat-card:hover mat-card-actions{visibility:visible;opacity:1} .list>mat-card mat-card-actions{margin:0 16px;visibility:hidden;opacity:0;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s} .list>mat-card mat-card-actions i>span{visibility:hidden;opacity:0;margin-left:-.5rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s} .list>mat-card mat-card-actions i:hover>span{visibility:visible;opacity:1;margin-left:.5rem}']}),n})();var fe=C(8372),Ue=C(4707);function dt(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function ft(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",20),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw(2);return a.stopPropagation(),e.KtG(h.cloneFormDoctypes(l.id,h.selectFormControl.value))}),e.ALo(1,"translate"),e.qZA()}2&n&&e.s9C("matTooltip",e.lcZ(1,1,"DOCTYPE.clone_doctypes"))}function wt(n,o){if(1&n&&(e.TgZ(0,"div")(1,"mat-option",17)(2,"span",18),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.YNc(5,ft,2,3,"button",19),e.qZA()()),2&n){const t=o.$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("value",t.id),e.xp6(2),e.Oqu(e.lcZ(4,3,t.label)),e.xp6(2),e.Q6J("ngIf",t.id!==i.selectFormControl.value)}}function oi(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",14)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",15),e.YNc(5,wt,6,5,"div",16),e.qZA()()),2&n){const t=e.oxw();e.xp6(2),e.Oqu(e.lcZ(3,3,"FORMS.choose_form")),e.xp6(2),e.Q6J("formControl",t.selectFormControl),e.xp6(1),e.Q6J("ngForOf",t.forms)}}function Mi(n,o){1&n&&(e.TgZ(0,"div",21),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"DOCTYPE.no_doctype_to_show")))}function St(n,o){1&n&&e._UZ(0,"span",27)}function yi(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-tree-node",22)(1,"button",23),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.selectNode(l,!1))})("dblclick",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.selectNode(l,!0))}),e._UZ(2,"i",24),e.TgZ(3,"span",25),e.YNc(4,St,1,0,"span",26),e._uU(5),e.qZA()()()}if(2&n){const t=o.$implicit,i=e.oxw();e.xp6(1),e.Q6J("ngClass",i.selectedDocTypeInput.id===t.id?"text-green-400":""),e.xp6(3),e.Q6J("ngIf",t.isDefault),e.xp6(1),e.hij(" ",t.label," ")}}function bi(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-tree-node",22)(1,"button",28),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.selectFolder(l))}),e._UZ(2,"i",29),e.TgZ(3,"span",25),e._uU(4),e.qZA()()()}if(2&n){const t=o.$implicit,i=e.oxw();e.xp6(1),e.Q6J("ngClass",i.selectedDocTypeInput.id===t.id?"text-green-400":""),e.uIk("aria-label","Toggle "+t.label),e.xp6(1),e.Q6J("ngClass",i.treeControl.isExpanded(t)?"fa fa-minus-square":"fa fa-plus-square"),e.xp6(2),e.Oqu(t.label)}}let vi=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt){this.http=t,this.router=i,this.route=a,this.formBuilder=l,this.authService=h,this.userService=E,this.translate=B,this.notify=oe,this.serviceSettings=xe,this.privilegesService=Ve,this.localStorageService=lt,this.doctypeData=[],this.loading=!0,this.dataChange=new Dl.X([])}get data(){return this.dataChange.value}loadTree(t){t&&(this.retrieveDocTypes(t),this.initialize())}retrieveDocTypes(t){this.loading=!0,this.doctypeData=[],this.http.get(m.N.url+"/ws/doctypes/list/"+t.toString(),{headers:this.authService.headers}).pipe((0,$e.b)(i=>{let a;i.doctypes.forEach(l=>{a={id:l.id,key:l.key,code:l.code,label:l.label,type:l.type,status:l.status,isDefault:l.is_default,formId:l.form_id},this.doctypeData.push(a)})}),(0,Di.x)(()=>{this.initialize(),this.loading=!1}),(0,Ke.K)(i=>(console.debug(i),this.loading=!1,this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}initialize(){this.loading=!0;const t=this.buildFileTree(this.doctypeData,"0");this.dataChange.next(t);const i=this.localStorageService.get("doctype_last_search_value")||"";i&&this.filter(i)}buildFileTree(t,i){return t.filter(a=>a.code.startsWith(i+".")&&(a.code.match(/\./g)||[]).length===(i.match(/\./g)||[]).length+1).map(a=>{const l=new Zi;l.id=a.id,l.key=a.key,l.label=a.label,l.code=a.code,l.type=a.type,l.isDefault=a.isDefault;const h=t.filter(E=>E.code.startsWith(i+"."));return h&&h.length>0&&(l.children=this.buildFileTree(h,a.code)),l})}_normalizeValue(t){return t.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"")}filter(t){let i;t?(i=this.doctypeData.filter(l=>this._normalizeValue(l.label).indexOf(this._normalizeValue(t))>-1&&1===l.code.lastIndexOf(".")),Object.assign([],i).forEach(l=>{const h=l.code;i=i.concat(this.doctypeData.filter(E=>E.code.startsWith(h+".")&&E.code!==h))})):i=this.doctypeData;const a=this.buildFileTree(i,"0");this.dataChange.next(a)}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(Ri.eN),e.LFG(Nt.F0),e.LFG(Nt.gz),e.LFG(A.qu),e.LFG(pi.e),e.LFG(zi.K),e.LFG($t.sK),e.LFG(Gi.g),e.LFG(xn.g),e.LFG(nn.y),e.LFG(ua.n))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})();class Zi{}class Ki{}let Ei=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt,Ft,ii){this.router=t,this.dialog=i,this.userService=a,this.translate=l,this.serviceSettings=h,this.treeDataObj=E,this.privilegesService=B,this.http=oe,this.route=xe,this.authService=Ve,this.formBuilder=lt,this.notify=Ft,this.localStorageService=ii,this.loading=!1,this.searchText=this.localStorageService.get("doctype_last_search_value")||"",this.selectedDocTypeInput={key:void 0,id:-1},this.selectedDoctypeOutput=new e.vpe,this.selectedFormOutput=new e.vpe,this.selectFormControl=new A.NI,this.forms=[],this.flatNodeMap=new Map,this.nestedNodeMap=new Map,this.getLevel=fi=>fi.level,this.isExpandable=fi=>fi.expandable,this.getChildren=fi=>fi.children,this.hasChild=(fi,Wi)=>"folder"===Wi.type,this.transformer=(fi,Wi)=>{const Fn=this.nestedNodeMap.get(fi),ba=Fn&&Fn.label===fi.label?Fn:new Ki;return ba.id=fi.id,ba.label=fi.label,ba.level=Wi,ba.type=fi.type,ba.code=fi.code,ba.key=fi.key,ba.isDefault=fi.isDefault,ba.expandable="folder"===fi.type,this.flatNodeMap.set(ba,fi),this.nestedNodeMap.set(fi,ba),ba}}ngOnInit(){this.authService.headersExists||this.authService.generateHeaders(),this.treeFlattener=new ad(this.transformer,this.getLevel,this.isExpandable,this.getChildren),this.treeControl=new ch(this.getLevel,this.isExpandable),this.dataSource=new ko(this.treeControl,this.treeFlattener),this.treeDataObj.dataChange.subscribe(t=>{this.dataSource.data=t,this.treeControl.expandAll()}),this.selectFormControl.valueChanges.subscribe(t=>{this.localStorageService.save("doctypeFormId",t),this.treeDataObj.loadTree(t),this.selectedFormOutput.emit({formId:t})}),this.data.hasOwnProperty("formId")?this.treeDataObj.loadTree(this.data.formId):this.loadForms()}loadForms(){this.loading=!0,this.http.get(m.N.url+"/ws/forms/list?module=splitter",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{if(this.forms=t.forms,this.forms.length>0){const i=this.localStorageService.get("doctypeFormId")?this.localStorageService.get("doctypeFormId"):this.forms[0].id;this.selectFormControl.setValue(Number(i))}else this.notify.handleErrors(this.translate.instant("FORMS.no_form_available"))}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),this.loading=!1,(0,ie.of)(!1)))).subscribe()}filterChanged(){this.localStorageService.save("doctype_last_search_value",this.searchText),this.treeDataObj.filter(this.searchText),this.searchText?this.treeControl.expandAll():this.treeControl.collapseAll(),this.treeControl.expandAll()}selectNode(t,i){this.selectedDocTypeInput=t,this.selectedDocTypeInput.isDblClick=i,this.selectedDoctypeOutput.emit(this.selectedDocTypeInput)}selectFolder(t){this.data.canFolderBeSelected&&(this.selectedDocTypeInput=t,this.selectedDoctypeOutput.emit(this.selectedDocTypeInput))}loadDefaultDocType(){this.treeDataObj.doctypeData.forEach(t=>{t.isDefault&&(this.selectedDocTypeInput=t,this.selectedDoctypeOutput.emit(t))})}cloneFormDoctypes(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("DOCTYPE.confirm_doctypes_clone"),confirmButton:this.translate.instant("DOCTYPE.clone_doctypes"),confirmButtonColor:"green",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.treeDataObj.loading=!0,this.http.get(m.N.url+"/ws/doctypes/clone/"+t+"/"+i,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.treeDataObj.retrieveDocTypes(this.selectFormControl.value),this.notify.success(this.translate.instant("DOCTYPE.doctypes_clone_success"))}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(h=>(console.debug(h),this.notify.handleErrors(h),this.treeDataObj.loading=!1,(0,ie.of)(!1)))).subscribe())})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ui),e.Y36(zi.K),e.Y36($t.sK),e.Y36(xn.g),e.Y36(vi),e.Y36(nn.y),e.Y36(Ri.eN),e.Y36(Nt.gz),e.Y36(pi.e),e.Y36(A.qu),e.Y36(Gi.g),e.Y36(ua.n))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-document-type-factory"]],inputs:{selectedDocTypeInput:"selectedDocTypeInput",data:"data"},outputs:{selectedDoctypeOutput:"selectedDoctypeOutput",selectedFormOutput:"selectedFormOutput"},features:[e._Bn([vi])],decls:19,vars:16,consts:[[4,"ngIf"],[1,"search-input","w-full","pl-4","pt-4"],[1,"w-60"],["matInput","",3,"ngModel","ngModelChange","input"],[1,"text-gray-400","ml-4","mx-2","my-4","hover:text-green-400","hover:cursor-pointer",3,"matTooltip","click"],[1,"fa-solid","fa-minimize","fa-lg"],[1,"text-gray-400","mx-2","my-4","hover:text-green-400","hover:cursor-pointer",3,"matTooltip","click"],[1,"fa-solid","fa-maximize","fa-lg"],["class","absolute right-4 w-60",4,"ngIf"],[1,"overflow-auto",2,"height","calc(100% - 9.5rem) !important"],["class","text-gray-400",4,"ngIf"],[3,"dataSource","treeControl"],["matTreeNodePadding","",4,"matTreeNodeDef"],["matTreeNodePadding","",4,"matTreeNodeDef","matTreeNodeDefWhen"],[1,"absolute","right-4","w-60"],["id","folder",3,"formControl"],[4,"ngFor","ngForOf"],[3,"value"],[1,""],["class","hover:text-green-400 fa fa-clone text-xl absolute right-0 m-2",3,"matTooltip","click",4,"ngIf"],[1,"hover:text-green-400","fa","fa-clone","text-xl","absolute","right-0","m-2",3,"matTooltip","click"],[1,"text-gray-400"],["matTreeNodePadding",""],["mat-button","",1,"h-8",3,"ngClass","click","dblclick"],[1,"fa-solid","fa-file","fw"],[1,"pl-1","font-normal"],["class","absolute top-4 right-4","matBadge","0","matBadgeSize","small","matBadgeOverlap","false",4,"ngIf"],["matBadge","0","matBadgeSize","small","matBadgeOverlap","false",1,"absolute","top-4","right-4"],["mat-button","","matTreeNodeToggle","",3,"ngClass","click"],[3,"ngClass"]],template:function(t,i){1&t&&(e.YNc(0,dt,2,0,"div",0),e.TgZ(1,"div",1)(2,"mat-form-field",2)(3,"mat-label"),e._uU(4),e.ALo(5,"translate"),e.qZA(),e.TgZ(6,"input",3),e.NdJ("ngModelChange",function(l){return i.searchText=l})("input",function(){return i.filterChanged()}),e.qZA()(),e.TgZ(7,"button",4),e.NdJ("click",function(){return i.treeControl.collapseAll()}),e.ALo(8,"translate"),e._UZ(9,"i",5),e.qZA(),e.TgZ(10,"button",6),e.NdJ("click",function(){return i.treeControl.expandAll()}),e.ALo(11,"translate"),e._UZ(12,"i",7),e.qZA(),e.YNc(13,oi,6,5,"mat-form-field",8),e.qZA(),e.TgZ(14,"mat-card",9),e.YNc(15,Mi,3,3,"div",10),e.TgZ(16,"mat-tree",11),e.YNc(17,yi,6,3,"mat-tree-node",12),e.YNc(18,bi,5,4,"mat-tree-node",13),e.qZA()()),2&t&&(e.Q6J("ngIf",i.treeDataObj.loading),e.xp6(4),e.Oqu(e.lcZ(5,10,"SPLITTER.search_folder")),e.xp6(2),e.Q6J("ngModel",i.searchText),e.xp6(1),e.Q6J("matTooltip",e.lcZ(8,12,"DOCTYPE.minimize_tree")),e.xp6(3),e.Q6J("matTooltip",e.lcZ(11,14,"DOCTYPE.maximize_tree")),e.xp6(3),e.Q6J("ngIf",!i.data.hasOwnProperty("formId")),e.xp6(2),e.Q6J("ngIf",0===i.treeDataObj.doctypeData.length),e.xp6(1),e.Q6J("dataSource",i.dataSource)("treeControl",i.treeControl),e.xp6(2),e.Q6J("matTreeNodeDefWhen",i.hasChild))},dependencies:[_e.mk,_e.sg,_e.O5,Rt.KE,Rt.hX,Be.gD,b.ey,an.Nt,Xn,Y.lW,ot,st,tu,_h,ph,$l,ep,A.Fj,A.JJ,A.oH,A.On,Cn.R,$t.X$],styles:[".xBorder[_ngcontent-%COMP%]{border-bottom:1px dotted black;width:24px;height:0;position:relative;left:5px;top:0;border-left:1px solid black}.yBorder[_ngcontent-%COMP%]{border-left:1px dotted black;position:relative;height:40px;left:5px;bottom:20px;border-block-start:5px}.mat-badge-content[_ngcontent-%COMP%]{font-size:0;background:#404040!important;width:8px!important;height:8px!important;line-height:8px!important}"]}),n})();const _a=function(n){return{canFolderBeSelected:!1,formId:n}};let jn=(()=>{class n{constructor(t,i,a){this.router=t,this.dialogRef=i,this.data=a}getOutPut(t){this.selectedItem=t,this.selectedItem.isDblClick&&this.dialogRef.close(this.selectedItem)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ss),e.Y36(se))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-document-type"]],decls:12,vars:11,consts:[[1,"w-full","h-full"],[1,"float-right",3,"mat-dialog-close"],[1,"fa","fa-times","fa-2x","hover:text-green-400"],[3,"selectedDocTypeInput","data","selectedDoctypeOutput"],[1,"text-gray-400","my-4"],[1,"fa-solid","fa-circle-info"],[1,"w-max","mx-auto"],["mat-button","",1,"mx-auto","h-12","w-48","bg-gray-200","text-gray-500",3,"mat-dialog-close"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0)(1,"button",1),e._UZ(2,"i",2),e.qZA(),e.TgZ(3,"app-document-type-factory",3),e.NdJ("selectedDoctypeOutput",function(l){return i.getOutPut(l)}),e.qZA(),e.TgZ(4,"span",4),e._UZ(5,"i",5),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.TgZ(8,"div",6)(9,"button",7),e._uU(10),e.ALo(11,"translate"),e.qZA()()()),2&t&&(e.xp6(3),e.Q6J("selectedDocTypeInput",i.data.selectedDocType)("data",e.VKq(9,_a,i.data.formId)),e.xp6(3),e.hij(" ",e.lcZ(7,5,"SPLITTER.doubleClickToSelectDoctype")," "),e.xp6(3),e.Q6J("mat-dialog-close",i.selectedItem),e.xp6(1),e.hij(" ",e.lcZ(11,7,"SPLITTER.save")," "))},dependencies:[Y.lW,An,Ei,$t.X$]}),n})();var wa=C(9209);let ea=(()=>{class n{constructor(t,i,a){this._el=t,this._ngZone=i,this.document=a,this.clickOutsideEnabled=!0,this.attachOutsideOnClick=!1,this.delayClickOutsideInit=!1,this.emitOnBlur=!1,this.exclude="",this.excludeBeforeClick=!1,this.clickOutsideEvents="",this.clickOutside=new e.vpe,this._nodesExcluded=[],this._events=["click"],this._initOnClickBody=this._initOnClickBody.bind(this),this._onClickBody=this._onClickBody.bind(this),this._onWindowBlur=this._onWindowBlur.bind(this)}ngOnInit(){this._init()}ngOnDestroy(){this._removeClickOutsideListener(),this._removeAttachOutsideOnClickListener(),this._removeWindowBlurListener()}ngOnChanges(t){(t.attachOutsideOnClick||t.exclude||t.emitOnBlur)&&this._init()}_init(){""!==this.clickOutsideEvents&&(this._events=this.clickOutsideEvents.split(",").map(t=>t.trim())),this._excludeCheck(),this.attachOutsideOnClick?this._initAttachOutsideOnClickListener():this._initOnClickBody(),this.emitOnBlur&&this._initWindowBlurListener()}_initOnClickBody(){this.delayClickOutsideInit?setTimeout(this._initClickOutsideListener.bind(this)):this._initClickOutsideListener()}_excludeCheck(){if(this.exclude)try{const t=Array.from(this.document.querySelectorAll(this.exclude));t&&(this._nodesExcluded=t)}catch(t){console.error("[ng-click-outside] Check your exclude selector syntax.",t)}}_onClickBody(t){!this.clickOutsideEnabled||(this.excludeBeforeClick&&this._excludeCheck(),!this._el.nativeElement.contains(t.target)&&!this._shouldExclude(t.target)&&(this._emit(t),this.attachOutsideOnClick&&this._removeClickOutsideListener()))}_onWindowBlur(t){setTimeout(()=>{this.document.hidden||this._emit(t)})}_emit(t){!this.clickOutsideEnabled||this._ngZone.run(()=>this.clickOutside.emit(t))}_shouldExclude(t){for(let i of this._nodesExcluded)if(i.contains(t))return!0;return!1}_initClickOutsideListener(){this._ngZone.runOutsideAngular(()=>{this._events.forEach(t=>this.document.addEventListener(t,this._onClickBody))})}_removeClickOutsideListener(){this._ngZone.runOutsideAngular(()=>{this._events.forEach(t=>this.document.removeEventListener(t,this._onClickBody))})}_initAttachOutsideOnClickListener(){this._ngZone.runOutsideAngular(()=>{this._events.forEach(t=>this._el.nativeElement.addEventListener(t,this._initOnClickBody))})}_removeAttachOutsideOnClickListener(){this._ngZone.runOutsideAngular(()=>{this._events.forEach(t=>this._el.nativeElement.removeEventListener(t,this._initOnClickBody))})}_initWindowBlurListener(){this._ngZone.runOutsideAngular(()=>{window.addEventListener("blur",this._onWindowBlur)})}_removeWindowBlurListener(){this._ngZone.runOutsideAngular(()=>{window.removeEventListener("blur",this._onWindowBlur)})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(_e.K0))},n.\u0275dir=e.lG2({type:n,selectors:[["","clickOutside",""]],inputs:{clickOutsideEnabled:"clickOutsideEnabled",attachOutsideOnClick:"attachOutsideOnClick",delayClickOutsideInit:"delayClickOutsideInit",emitOnBlur:"emitOnBlur",exclude:"exclude",excludeBeforeClick:"excludeBeforeClick",clickOutsideEvents:"clickOutsideEvents"},outputs:{clickOutside:"clickOutside"},standalone:!0,features:[e.TTD]}),n})(),ji=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({}),n})();var qi=C(9841);const Yi=["searchSelectInput"],ta=["innerSelectSearch"];function bo(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-checkbox",9),e.NdJ("change",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l._emitSelectAllBooleanToParent(a.checked))}),e.qZA()}if(2&n){const t=e.oxw();e.Q6J("color",null==t.matFormField?null:t.matFormField.color)("checked",t.toggleAllCheckboxChecked)("indeterminate",t.toggleAllCheckboxIndeterminate)("matTooltip",t.toggleAllCheckboxTooltipMessage)("matTooltipPosition",t.toggleAllCheckboxTooltipPosition)}}function pa(n,o){1&n&&e._UZ(0,"mat-spinner",10)}function qn(n,o){1&n&&e.Hsn(0,1,["*ngIf","clearIcon; else defaultIcon"])}function Po(n,o){if(1&n&&(e.TgZ(0,"mat-icon",14),e._uU(1),e.qZA()),2&n){const t=e.oxw(2);e.Q6J("svgIcon",t.closeSvgIcon),e.xp6(1),e.hij(" ",t.closeSvgIcon?null:t.closeIcon," ")}}function ia(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",11),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a._reset(!0))}),e.YNc(1,qn,1,0,"ng-content",12),e.YNc(2,Po,2,2,"ng-template",null,13,e.W1O),e.qZA()}if(2&n){const t=e.MAs(3),i=e.oxw();e.xp6(1),e.Q6J("ngIf",i.clearIcon)("ngIfElse",t)}}function Ga(n,o){1&n&&e.Hsn(0,2,["*ngIf","noEntriesFound; else defaultNoEntriesFound"])}function Na(n,o){if(1&n&&e._uU(0),2&n){const t=e.oxw(2);e.Oqu(t.noEntriesFoundLabel)}}function Za(n,o){if(1&n&&(e.TgZ(0,"div",15),e.YNc(1,Ga,1,0,"ng-content",12),e.YNc(2,Na,1,1,"ng-template",null,16,e.W1O),e.qZA()),2&n){const t=e.MAs(3),i=e.oxw();e.xp6(1),e.Q6J("ngIf",i.noEntriesFound)("ngIfElse",t)}}const kl=[[["",8,"mat-select-search-custom-header-content"]],[["","ngxMatSelectSearchClear",""]],[["","ngxMatSelectNoEntriesFound",""]]],Pr=function(n,o){return{"mat-select-search-inner-multiple":n,"mat-select-search-inner-toggle-all":o}},Il=[".mat-select-search-custom-header-content","[ngxMatSelectSearchClear]","[ngxMatSelectNoEntriesFound]"];let os=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=e.lG2({type:n,selectors:[["","ngxMatSelectSearchClear",""]]}),n})();const Ro=["ariaLabel","clearSearchInput","closeIcon","closeSvgIcon","disableInitialFocus","disableScrollToActiveOnOptionsChanged","enableClearOnEscapePressed","hideClearSearchButton","noEntriesFoundLabel","placeholderLabel","preventHomeEndKeyPropagation","searching"],ac=new e.OlP("mat-selectsearch-default-options");let Jn=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=e.lG2({type:n,selectors:[["","ngxMatSelectNoEntriesFound",""]]}),n})(),_o=(()=>{class n{constructor(t,i,a,l=null,h=null,E){this.matSelect=t,this.changeDetectorRef=i,this._viewportRuler=a,this.matOption=l,this.matFormField=h,this.placeholderLabel="Suche",this.type="text",this.closeIcon="close",this.noEntriesFoundLabel="Keine Optionen gefunden",this.clearSearchInput=!0,this.searching=!1,this.disableInitialFocus=!1,this.enableClearOnEscapePressed=!1,this.preventHomeEndKeyPropagation=!1,this.disableScrollToActiveOnOptionsChanged=!1,this.ariaLabel="dropdown search",this.showToggleAllCheckbox=!1,this.toggleAllCheckboxChecked=!1,this.toggleAllCheckboxIndeterminate=!1,this.toggleAllCheckboxTooltipMessage="",this.toggleAllCheckboxTooltipPosition="below",this.hideClearSearchButton=!1,this.alwaysRestoreSelectedOptionsMulti=!1,this.toggleAll=new e.vpe,this.onTouched=B=>{},this._options$=new Dl.X(null),this.optionsList$=this._options$.pipe((0,Wc.w)(B=>B?B.changes.pipe((0,Mn.U)(oe=>oe.toArray()),(0,mt.O)(B.toArray())):(0,ie.of)(null))),this.optionsLength$=this.optionsList$.pipe((0,Mn.U)(B=>B?B.length:0)),this._formControl=new A.NI(""),this._showNoEntriesFound$=(0,qi.a)([this._formControl.valueChanges,this.optionsLength$]).pipe((0,Mn.U)(([B,oe])=>this.noEntriesFoundLabel&&B&&oe===this.getOptionsLengthOffset())),this._onDestroy=new Ye.x,this.applyDefaultOptions(E)}get isInsideMatOption(){return!!this.matOption}get value(){return this._formControl.value}set _options(t){this._options$.next(t)}get _options(){return this._options$.getValue()}applyDefaultOptions(t){if(t)for(const i of Ro)t.hasOwnProperty(i)&&(this[i]=t[i])}ngOnInit(){const t="mat-select-search-panel";this.matSelect.panelClass?Array.isArray(this.matSelect.panelClass)?this.matSelect.panelClass.push(t):"string"==typeof this.matSelect.panelClass?this.matSelect.panelClass=[this.matSelect.panelClass,t]:"object"==typeof this.matSelect.panelClass&&(this.matSelect.panelClass[t]=!0):this.matSelect.panelClass=t,this.matOption?(this.matOption.disabled=!0,this.matOption._getHostElement().classList.add("contains-mat-select-search"),this.matOption._getHostElement().setAttribute("aria-hidden","true")):console.error(" must be placed inside a element"),this.matSelect.openedChange.pipe((0,jl.g)(1),(0,$i.R)(this._onDestroy)).subscribe(i=>{i?(this.updateInputWidth(),this.disableInitialFocus||this._focus()):this.clearSearchInput&&this._reset()}),this.matSelect.openedChange.pipe((0,yn.q)(1)).pipe((0,$i.R)(this._onDestroy)).subscribe(()=>{this.matSelect._keyManager?this.matSelect._keyManager.change.pipe((0,$i.R)(this._onDestroy)).subscribe(()=>this.adjustScrollTopToFitActiveOptionIntoView()):console.log("_keyManager was not initialized."),this._options=this.matSelect.options;let i=this._options.toArray()[this.getOptionsLengthOffset()];this._options.changes.pipe((0,$i.R)(this._onDestroy)).subscribe(()=>{setTimeout(()=>{const a=this._options.toArray(),l=a[this.getOptionsLengthOffset()],h=this.matSelect._keyManager;h&&this.matSelect.panelOpen&&((!this.matSelect.compareWith(i,l)||!h.activeItem||!a.find(B=>this.matSelect.compareWith(B,h.activeItem)))&&h.setFirstItemActive(),setTimeout(()=>{this.updateInputWidth()}),this.disableScrollToActiveOnOptionsChanged||this.adjustScrollTopToFitActiveOptionIntoView()),i=l})})}),this._showNoEntriesFound$.pipe((0,$i.R)(this._onDestroy)).subscribe(i=>{this.matOption&&(i?this.matOption._getHostElement().classList.add("mat-select-search-no-entries-found"):this.matOption._getHostElement().classList.remove("mat-select-search-no-entries-found"))}),this._viewportRuler.change().pipe((0,$i.R)(this._onDestroy)).subscribe(()=>{this.matSelect.panelOpen&&this.updateInputWidth()}),this.initMultipleHandling(),this.optionsList$.pipe((0,$i.R)(this._onDestroy)).subscribe(()=>{this.changeDetectorRef.markForCheck()})}_emitSelectAllBooleanToParent(t){this.toggleAll.emit(t)}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}_isToggleAllCheckboxVisible(){return this.matSelect.multiple&&this.showToggleAllCheckbox}_handleKeydown(t){(t.key&&1===t.key.length||t.keyCode>=tt.A&&t.keyCode<=tt.Z||t.keyCode>=tt.xE&&t.keyCode<=tt.aO||t.keyCode===tt.L_||this.preventHomeEndKeyPropagation&&(t.keyCode===tt.Sd||t.keyCode===tt.uR))&&t.stopPropagation(),this.matSelect.multiple&&t.key&&t.keyCode===tt.K5&&setTimeout(()=>this._focus()),!0===this.enableClearOnEscapePressed&&t.keyCode===tt.hY&&this.value&&(this._reset(!0),t.stopPropagation())}_handleKeyup(t){if(t.keyCode===tt.LH||t.keyCode===tt.JH){const i=this.matSelect._getAriaActiveDescendant(),a=this._options.toArray().findIndex(l=>l.id===i);-1!==a&&(this.unselectActiveDescendant(),this.activeDescendant=this._options.toArray()[a]._getHostElement(),this.activeDescendant.setAttribute("aria-selected","true"),this.searchSelectInput.nativeElement.setAttribute("aria-activedescendant",i))}}writeValue(t){this._lastExternalInputValue=t,this._formControl.setValue(t),this.changeDetectorRef.markForCheck()}onBlur(){this.unselectActiveDescendant(),this.onTouched()}registerOnChange(t){this._formControl.valueChanges.pipe((0,Mo.h)(i=>i!==this._lastExternalInputValue),(0,$e.b)(()=>this._lastExternalInputValue=void 0),(0,$i.R)(this._onDestroy)).subscribe(t)}registerOnTouched(t){this.onTouched=t}_focus(){if(!this.searchSelectInput||!this.matSelect.panel)return;const t=this.matSelect.panel.nativeElement,i=t.scrollTop;this.searchSelectInput.nativeElement.focus(),t.scrollTop=i}_reset(t){this._formControl.setValue(""),t&&this._focus()}initMultipleHandling(){this.matSelect.ngControl?(this.previousSelectedValues=this.matSelect.ngControl.value,this.matSelect.ngControl.valueChanges.pipe((0,$i.R)(this._onDestroy)).subscribe(t=>{let i=!1;if(this.matSelect.multiple&&(this.alwaysRestoreSelectedOptionsMulti||this._formControl.value&&this._formControl.value.length)&&this.previousSelectedValues&&Array.isArray(this.previousSelectedValues)){(!t||!Array.isArray(t))&&(t=[]);const a=this.matSelect.options.map(l=>l.value);this.previousSelectedValues.forEach(l=>{!t.some(h=>this.matSelect.compareWith(h,l))&&!a.some(h=>this.matSelect.compareWith(h,l))&&(t.push(l),i=!0)})}this.previousSelectedValues=t,i&&this.matSelect._onChange(t)})):this.matSelect.multiple&&console.error("the mat-select containing ngx-mat-select-search must have a ngModel or formControl directive when multiple=true")}adjustScrollTopToFitActiveOptionIntoView(){if(this.matSelect.panel&&this.matSelect.options.length>0){const t=this.getMatOptionHeight(),i=this.matSelect._keyManager.activeItemIndex||0,a=(0,b.CB)(i,this.matSelect.options,this.matSelect.optionGroups),l=(this.matOption?-1:0)+a+i,h=this.matSelect.panel.nativeElement.scrollTop,E=this.innerSelectSearch.nativeElement.offsetHeight,B=Math.floor((256-E)/t),oe=Math.round((h+E)/t)-1;oe>=l?this.matSelect.panel.nativeElement.scrollTop=l*t:oe+B<=l&&(this.matSelect.panel.nativeElement.scrollTop=(l+1)*t-(256-E))}}updateInputWidth(){if(!this.innerSelectSearch||!this.innerSelectSearch.nativeElement)return;let i,t=this.innerSelectSearch.nativeElement;for(;t=t.parentElement;)if(t.classList.contains("mat-select-panel")){i=t;break}i&&(this.innerSelectSearch.nativeElement.style.width=i.clientWidth+"px")}getMatOptionHeight(){return this.matSelect.options.length>0?this.matSelect.options.first._getHostElement().getBoundingClientRect().height:0}getOptionsLengthOffset(){return this.matOption?1:0}unselectActiveDescendant(){var t;null===(t=this.activeDescendant)||void 0===t||t.removeAttribute("aria-selected"),this.searchSelectInput.nativeElement.removeAttribute("aria-activedescendant")}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Be.gD),e.Y36(e.sBO),e.Y36(Nn.rL),e.Y36(b.ey,8),e.Y36(Rt.KE,8),e.Y36(ac,8))},n.\u0275cmp=e.Xpm({type:n,selectors:[["ngx-mat-select-search"]],contentQueries:function(t,i,a){if(1&t&&(e.Suo(a,os,5),e.Suo(a,Jn,5)),2&t){let l;e.iGM(l=e.CRH())&&(i.clearIcon=l.first),e.iGM(l=e.CRH())&&(i.noEntriesFound=l.first)}},viewQuery:function(t,i){if(1&t&&(e.Gf(Yi,7,e.SBq),e.Gf(ta,7,e.SBq)),2&t){let a;e.iGM(a=e.CRH())&&(i.searchSelectInput=a.first),e.iGM(a=e.CRH())&&(i.innerSelectSearch=a.first)}},hostVars:2,hostBindings:function(t,i){2&t&&e.ekj("mat-select-search-inside-mat-option",i.isInsideMatOption)},inputs:{placeholderLabel:"placeholderLabel",type:"type",closeIcon:"closeIcon",closeSvgIcon:"closeSvgIcon",noEntriesFoundLabel:"noEntriesFoundLabel",clearSearchInput:"clearSearchInput",searching:"searching",disableInitialFocus:"disableInitialFocus",enableClearOnEscapePressed:"enableClearOnEscapePressed",preventHomeEndKeyPropagation:"preventHomeEndKeyPropagation",disableScrollToActiveOnOptionsChanged:"disableScrollToActiveOnOptionsChanged",ariaLabel:"ariaLabel",showToggleAllCheckbox:"showToggleAllCheckbox",toggleAllCheckboxChecked:"toggleAllCheckboxChecked",toggleAllCheckboxIndeterminate:"toggleAllCheckboxIndeterminate",toggleAllCheckboxTooltipMessage:"toggleAllCheckboxTooltipMessage",toggleAllCheckboxTooltipPosition:"toggleAllCheckboxTooltipPosition",hideClearSearchButton:"hideClearSearchButton",alwaysRestoreSelectedOptionsMulti:"alwaysRestoreSelectedOptionsMulti"},outputs:{toggleAll:"toggleAll"},features:[e._Bn([{provide:A.JU,useExisting:(0,e.Gpc)(()=>n),multi:!0}])],ngContentSelectors:Il,decls:11,vars:14,consts:[["matInput","",1,"mat-select-search-input","mat-select-search-hidden"],[1,"mat-select-search-inner","mat-typography","mat-datepicker-content","mat-tab-header",3,"ngClass"],["innerSelectSearch",""],["class","mat-select-search-toggle-all-checkbox","matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change",4,"ngIf"],["autocomplete","off",1,"mat-select-search-input","mat-input-element",3,"type","formControl","placeholder","keydown","keyup","blur"],["searchSelectInput",""],["class","mat-select-search-spinner","diameter","16",4,"ngIf"],["mat-button","","mat-icon-button","","aria-label","Clear","class","mat-select-search-clear",3,"click",4,"ngIf"],["class","mat-select-search-no-entries-found",4,"ngIf"],["matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",1,"mat-select-search-toggle-all-checkbox",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change"],["diameter","16",1,"mat-select-search-spinner"],["mat-button","","mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear",3,"click"],[4,"ngIf","ngIfElse"],["defaultIcon",""],[3,"svgIcon"],[1,"mat-select-search-no-entries-found"],["defaultNoEntriesFound",""]],template:function(t,i){1&t&&(e.F$t(kl),e._UZ(0,"input",0),e.TgZ(1,"div",1,2),e.YNc(3,bo,1,5,"mat-checkbox",3),e.TgZ(4,"input",4,5),e.NdJ("keydown",function(l){return i._handleKeydown(l)})("keyup",function(l){return i._handleKeyup(l)})("blur",function(){return i.onBlur()}),e.qZA(),e.YNc(6,pa,1,0,"mat-spinner",6),e.YNc(7,ia,4,2,"button",7),e.Hsn(8),e.qZA(),e.YNc(9,Za,4,2,"div",8),e.ALo(10,"async")),2&t&&(e.xp6(1),e.Q6J("ngClass",e.WLB(11,Pr,i.matSelect.multiple,i._isToggleAllCheckboxVisible())),e.xp6(2),e.Q6J("ngIf",i._isToggleAllCheckboxVisible()),e.xp6(1),e.Q6J("type",i.type)("formControl",i._formControl)("placeholder",i.placeholderLabel),e.uIk("aria-label",i.ariaLabel),e.xp6(2),e.Q6J("ngIf",i.searching),e.xp6(1),e.Q6J("ngIf",!i.hideClearSearchButton&&i.value&&!i.searching),e.xp6(2),e.Q6J("ngIf",e.lcZ(10,9,i._showNoEntriesFound$)))},dependencies:[Sa,fn,Y.lW,So,_e.mk,_e.O5,Xn,A.Fj,A.JJ,A.oH,_e.Ov],styles:[".mat-select-search-hidden[_ngcontent-%COMP%]{visibility:hidden}.mat-select-search-inner[_ngcontent-%COMP%]{position:absolute;top:0;width:100%;border-bottom-width:1px;border-bottom-style:solid;z-index:100;font-size:inherit;box-shadow:none;border-radius:4px 4px 0 0;-webkit-transform:translate3d(0,0,0)}.mat-select-search-inner.mat-select-search-inner-multiple[_ngcontent-%COMP%]{width:100%}.mat-select-search-inner.mat-select-search-inner-multiple.mat-select-search-inner-toggle-all[_ngcontent-%COMP%]{display:flex;align-items:center}.mat-select-search-inner[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{flex-basis:auto}.mat-select-search-inner[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder{-ms-user-select:text} .mat-select-search-panel{transform:none!important;overflow-x:hidden}.mat-select-search-input[_ngcontent-%COMP%]{padding:16px 44px 16px 16px;box-sizing:border-box;width:100%}[dir=rtl][_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-right:16px;padding-left:44px}.mat-select-search-no-entries-found[_ngcontent-%COMP%]{padding:16px}.mat-select-search-clear[_ngcontent-%COMP%]{position:absolute;right:4px;top:5px}[dir=rtl][_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{right:auto;left:4px}.mat-select-search-spinner[_ngcontent-%COMP%]{position:absolute;right:16px;top:calc(50% - 8px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%]{right:auto;left:16px}.mat-select-search-inside-mat-option[_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-top:0;padding-bottom:0;height:3em;line-height:3em}.mat-select-search-inside-mat-option[_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{top:3px} .mat-option[aria-disabled=true].contains-mat-select-search{position:static;padding:0} .mat-option[aria-disabled=true].contains-mat-select-search .mat-icon{margin-right:0;margin-left:0} .mat-option[aria-disabled=true].contains-mat-select-search .mat-option-pseudo-checkbox{display:none} .mat-option[aria-disabled=true].contains-mat-select-search.mat-select-search-no-entries-found{height:6em}.mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:16px;padding-bottom:2px}[dir=rtl][_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:0;padding-right:16px}"],changeDetection:0}),n})(),Wr=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[_e.ez,A.UX,Y.ot,Qi,Ps,T,gc]]}),n})();const Rr=["cdkStepper"];function wn(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function po(n,o){1&n&&(e.TgZ(0,"span",66),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SPLITTER.no_batch_found")," "))}const T_=function(n){return{"border-4 border-green-400":n}};function Rc(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",67)(1,"mat-card",68)(2,"a",69),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw(2);return e.KtG(h.changeBatch(l.id))}),e.TgZ(3,"mat-card-header"),e._UZ(4,"img",70),e.qZA()(),e.TgZ(5,"mat-card-content")(6,"span",71),e.ALo(7,"translate"),e._uU(8),e._UZ(9,"i",72),e.qZA(),e.TgZ(10,"mat-card-subtitle",73)(11,"span",74),e._uU(12),e.qZA(),e.TgZ(13,"strong"),e._uU(14),e.ALo(15,"translate"),e.qZA(),e._uU(16),e._UZ(17,"br"),e.TgZ(18,"strong"),e._uU(19),e.ALo(20,"translate"),e.qZA(),e._uU(21),e._UZ(22,"br"),e.qZA()()()()}if(2&n){const t=o.$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngClass",e.VKq(16,T_,i.currentBatch.id===t.id)),e.xp6(3),e.Q6J("src",t.thumbnail,e.LSH),e.xp6(2),e.hYB("matTooltip","",e.lcZ(7,10,"SPLITTER.document_number")," : ",t.pageNumber,""),e.xp6(2),e.hij(" ",t.pageNumber," "),e.xp6(4),e.hij(" ",t.fileName," "),e.xp6(2),e.Oqu(e.lcZ(15,12,"SPLITTER.identifier")),e.xp6(2),e.hij(" : ",t.id,""),e.xp6(3),e.Oqu(e.lcZ(20,14,"VERIFIER.register_date")),e.xp6(2),e.hij(" : ",t.date,"")}}function fv(n,o){1&n&&e._UZ(0,"i",75)}function gb(n,o){1&n&&e._UZ(0,"i",76)}function px(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",77)(1,"img",78),e.NdJ("clickOutside",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.showZoomPage=!1)}),e.qZA()()}if(2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("src",t.zoomPage.thumbnail,e.LSH)("exclude",".btn-page-zoom, .btn-rotate")("ngClass",0===t.zoomPage.rotation?"rotate-0 h-full w-4/5 mr-6":90===t.zoomPage.rotation?"rotate-90 h-full w-4/5 mr-36":180===t.zoomPage.rotation?"rotate-180 h-full w-4/5 mr-6":-90===t.zoomPage.rotation?"-rotate-90 h-full w-4/5 mr-36":"")}}function fb(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",79),e.NdJ("click",function(){e.CHM(t),e.oxw();const a=e.MAs(20);return e.KtG(a.toggle())}),e.TgZ(1,"mat-slide-toggle",80),e.NdJ("change",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.changeInputMode(a))}),e._uU(2),e.ALo(3,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("checked","Auto"===t.inputMode),e.xp6(1),e.hij(" ",e.lcZ(3,2,"SPLITTER.auto_complete")," ")}}function Cb(n,o){if(1&n&&(e.TgZ(0,"mat-option",81),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.hij(" ",t.label," ")}}function vb(n,o){1&n&&(e.TgZ(0,"div",82),e._UZ(1,"i",83),e.TgZ(2,"span",84),e._uU(3),e.ALo(4,"translate"),e.qZA()()),2&n&&(e.xp6(3),e.Oqu(e.lcZ(4,1,"SPLITTER.no_metadata_required")))}function xb(n,o){if(1&n&&(e.TgZ(0,"mat-option"),e._UZ(1,"ngx-mat-select-search",91),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.xp6(1),e.s9C("placeholderLabel",e.lcZ(2,4,"SPLITTER.min_3_letter")),e.s9C("noEntriesFoundLabel",e.lcZ(3,6,"SPLITTER.no_result")),e.Q6J("formControlName","search_"+t.label_short)("searching",i.searching)}}function bb(n,o){if(1&n&&e._UZ(0,"span",88),2&n){const t=e.oxw().$implicit,i=e.oxw(2).$implicit,a=e.oxw(2);e.Q6J("innerHTML",a.getPlaceholderFromResultMask(i.resultMask,t),e.oJD)}}function yb(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2).$implicit;e.xp6(1),e.hij(" ",t[i.label_short]," ")}}function Tb(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-option",92),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw(4);return e.KtG(h.fillData(l))}),e.YNc(1,bb,1,1,"span",93),e.YNc(2,yb,2,1,"span",0),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw(4);e.Q6J("value",t.metadataId),e.xp6(1),e.Q6J("ngIf",t.metadataId!==i.batchMetadataValues.metadataId),e.xp6(1),e.Q6J("ngIf",t.metadataId===i.batchMetadataValues.metadataId)}}function Mb(n,o){if(1&n&&(e.ynx(0),e.TgZ(1,"mat-form-field",87)(2,"mat-label"),e._UZ(3,"span",88),e.qZA(),e.TgZ(4,"mat-select",89),e.YNc(5,xb,4,8,"mat-option",0),e.YNc(6,Tb,3,3,"mat-option",90),e.ALo(7,"async"),e.qZA()(),e.BQk()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(3),e.Q6J("innerHTML",i.getPlaceholderFromSearchMask(t.searchMask,t.label),e.oJD),e.xp6(1),e.Q6J("formControlName",t.label_short),e.xp6(1),e.Q6J("ngIf",t.metadata_key),e.xp6(1),e.Q6J("ngForOf",e.lcZ(7,4,i.filteredServerSideMetadata))}}function hx(n,o){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"mat-form-field",87)(2,"mat-label"),e._uU(3),e.qZA(),e.TgZ(4,"textarea",94),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw(2);return e.KtG(h.setValueChange(l.label_short,a))}),e.qZA()(),e.BQk()}if(2&n){const t=e.oxw().$implicit;e.xp6(3),e.Oqu(t.label),e.xp6(1),e.s9C("formControlName",t.label_short)}}function mx(n,o){if(1&n&&(e.ynx(0),e.TgZ(1,"mat-form-field",87)(2,"mat-label"),e._uU(3),e.qZA(),e._UZ(4,"input",95),e.qZA(),e.BQk()),2&n){const t=e.oxw().$implicit;e.xp6(3),e.Oqu(t.label),e.xp6(1),e.s9C("formControlName",t.label_short)}}function Db(n,o){if(1&n&&(e.TgZ(0,"mat-option",81),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.hij(" ",t.label," ")}}function Eb(n,o){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"mat-form-field",87)(2,"mat-label"),e._uU(3),e.qZA(),e.TgZ(4,"mat-select",96),e.NdJ("selectionChange",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw(2);return e.KtG(h.setValueChange(l.label_short,a.value))}),e.YNc(5,Db,2,2,"mat-option",25),e.qZA()(),e.BQk()}if(2&n){const t=e.oxw().$implicit;e.xp6(3),e.Oqu(t.label),e.xp6(1),e.Q6J("formControlName",t.label_short),e.xp6(1),e.Q6J("ngForOf",t.settings.options)}}function gx(n,o){if(1&n&&(e.ynx(0),e.TgZ(1,"mat-form-field",87),e._UZ(2,"input",97),e.TgZ(3,"mat-label"),e._uU(4),e.qZA(),e._UZ(5,"mat-datepicker-toggle",98)(6,"mat-datepicker",null,99),e.qZA(),e.BQk()),2&n){const t=e.MAs(7),i=e.oxw().$implicit;e.xp6(2),e.Q6J("id",i.id)("matDatepicker",t)("formControlName",i.label_short),e.xp6(2),e.Oqu(i.label),e.xp6(1),e.Q6J("for",t)}}function wb(n,o){if(1&n&&(e.ynx(0,100),e.TgZ(1,"mat-checkbox",101),e._uU(2),e.qZA(),e.BQk()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.s9C("formControlName",t.label_short),e.xp6(1),e.Oqu(t.label)}}function Sb(n,o){if(1&n&&(e.TgZ(0,"div",85),e.YNc(1,Mb,8,6,"ng-container",0),e.YNc(2,hx,5,2,"ng-container",0),e.YNc(3,mx,5,2,"ng-container",0),e.YNc(4,Eb,6,3,"ng-container",0),e.YNc(5,gx,8,5,"ng-container",0),e.YNc(6,wb,3,2,"ng-container",86),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(2);e.Tol(t.class),e.xp6(1),e.Q6J("ngIf","text"===t.type&&"Auto"===i.inputMode&&t.metadata_key),e.xp6(1),e.Q6J("ngIf","textarea"===t.type),e.xp6(1),e.Q6J("ngIf","text"===t.type&&(!t.metadata_key||"Manual"===i.inputMode)),e.xp6(1),e.Q6J("ngIf","select"===t.type),e.xp6(1),e.Q6J("ngIf","date"===t.type),e.xp6(1),e.Q6J("ngIf","checkbox"===t.type)}}function Ab(n,o){1&n&&(e.TgZ(0,"span",102),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"SPLITTER.no_document_to_show")))}function Cv(n,o){1&n&&e._UZ(0,"div",123)}function vv(n,o){1&n&&(e.TgZ(0,"div",124)(1,"div",125),e._UZ(2,"i",106),e.qZA(),e._UZ(3,"i",126),e.TgZ(4,"span"),e._uU(5),e.ALo(6,"translate"),e.qZA()()),2&n&&(e.xp6(5),e.Oqu(e.lcZ(6,1,"SPLITTER.drop_document_in_position")))}function fx(n,o){1&n&&(e.TgZ(0,"span",127),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"SPLITTER.no_selected_doctype")))}function xv(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"i",128),e.TgZ(2,"span",129),e._uU(3),e.ALo(4,"translate"),e.qZA()()),2&n&&(e.xp6(3),e.hij(" ",e.lcZ(4,1,"SPLITTER.no_metadata_required")," "))}function Lb(n,o){if(1&n&&(e.TgZ(0,"mat-option"),e._UZ(1,"ngx-mat-select-search",91),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw(3);e.xp6(1),e.s9C("placeholderLabel",e.lcZ(2,4,"SPLITTER.min_3_letter")),e.s9C("noEntriesFoundLabel",e.lcZ(3,6,"SPLITTER.no_result")),e.Q6J("formControlName","search_"+t.label_short)("searching",i.searching)}}function Ob(n,o){if(1&n&&e._UZ(0,"span",88),2&n){const t=e.oxw().$implicit,i=e.oxw(2).$implicit,a=e.oxw(3);e.Q6J("innerHTML",a.getPlaceholderFromResultMask(i.resultMask,t),e.oJD)}}function bv(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2).$implicit;e.xp6(1),e.hij(" ",t[i.label_short]," ")}}function kb(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-option",92),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw(5);return e.KtG(h.fillData(l))}),e.YNc(1,Ob,1,1,"span",93),e.YNc(2,bv,2,1,"span",0),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw(5);e.Q6J("value",t.metadataId),e.xp6(1),e.Q6J("ngIf",t.metadataId!==i.batchMetadataValues.metadataId),e.xp6(1),e.Q6J("ngIf",t.metadataId===i.batchMetadataValues.metadataId)}}function Cx(n,o){if(1&n&&(e.ynx(0,132),e.TgZ(1,"mat-form-field",87)(2,"mat-label"),e._UZ(3,"span",88),e.qZA(),e.TgZ(4,"mat-select",89),e.YNc(5,Lb,4,8,"mat-option",0),e.YNc(6,kb,3,3,"mat-option",90),e.ALo(7,"async"),e.qZA()(),e.BQk()),2&n){const t=e.oxw().$implicit,i=e.oxw(3);e.Q6J("ngClass",t.class),e.xp6(3),e.Q6J("innerHTML",i.getPlaceholderFromSearchMask(t.searchMask,t.label),e.oJD),e.xp6(1),e.Q6J("formControlName",t.label_short),e.xp6(1),e.Q6J("ngIf",t.metadata_key),e.xp6(1),e.Q6J("ngForOf",e.lcZ(7,5,i.filteredServerSideMetadata))}}function Op(n,o){if(1&n){const t=e.EpF();e.ynx(0,132),e.TgZ(1,"mat-form-field",87)(2,"mat-label"),e._uU(3),e.qZA(),e.TgZ(4,"textarea",94),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw(3);return e.KtG(h.setValueChange(l.label_short,a))}),e.qZA()(),e.BQk()}if(2&n){const t=e.oxw().$implicit;e.Q6J("ngClass",t.class),e.xp6(3),e.Oqu(t.label),e.xp6(1),e.s9C("formControlName",t.label_short)}}function vx(n,o){if(1&n&&(e.ynx(0,132),e.TgZ(1,"mat-form-field",87)(2,"mat-label"),e._uU(3),e.qZA(),e._UZ(4,"input",95),e.qZA(),e.BQk()),2&n){const t=e.oxw().$implicit;e.Q6J("ngClass",t.class),e.xp6(3),e.Oqu(t.label),e.xp6(1),e.s9C("formControlName",t.label_short)}}function Ib(n,o){if(1&n&&(e.TgZ(0,"mat-option",81),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.hij(" ",t.label," ")}}function I2(n,o){if(1&n){const t=e.EpF();e.ynx(0,132),e.TgZ(1,"mat-form-field",87)(2,"mat-label"),e._uU(3),e.qZA(),e.TgZ(4,"mat-select",96),e.NdJ("selectionChange",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw(3);return e.KtG(h.setValueChange(l.label_short,a.value))}),e.YNc(5,Ib,2,2,"mat-option",25),e.qZA()(),e.BQk()}if(2&n){const t=e.oxw().$implicit;e.Q6J("ngClass",t.class),e.xp6(3),e.Oqu(t.label),e.xp6(1),e.Q6J("formControlName",t.label_short),e.xp6(1),e.Q6J("ngForOf",t.settings.options)}}function xx(n,o){if(1&n&&(e.ynx(0),e.TgZ(1,"mat-form-field",87),e._UZ(2,"input",97),e.TgZ(3,"mat-label"),e._uU(4),e.qZA(),e._UZ(5,"mat-datepicker-toggle",98)(6,"mat-datepicker",null,99),e.qZA(),e.BQk()),2&n){const t=e.MAs(7),i=e.oxw().$implicit;e.xp6(2),e.Q6J("id",i.id)("matDatepicker",t)("formControlName",i.label_short),e.xp6(2),e.Oqu(i.label),e.xp6(1),e.Q6J("for",t)}}function yv(n,o){if(1&n&&(e.ynx(0,133),e.TgZ(1,"mat-checkbox",101),e._uU(2),e.qZA(),e.BQk()),2&n){const t=e.oxw().$implicit;e.Q6J("ngClass",t.class),e.xp6(1),e.s9C("formControlName",t.label_short),e.xp6(1),e.Oqu(t.label)}}function Pb(n,o){if(1&n&&(e.TgZ(0,"div",85),e.YNc(1,Cx,8,7,"ng-container",130),e.YNc(2,Op,5,3,"ng-container",130),e.YNc(3,vx,5,3,"ng-container",130),e.YNc(4,I2,6,4,"ng-container",130),e.YNc(5,xx,8,5,"ng-container",0),e.YNc(6,yv,3,3,"ng-container",131),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3);e.Tol(t.class),e.xp6(1),e.Q6J("ngIf","text"===t.type&&"Auto"===i.inputMode&&t.metadata_key),e.xp6(1),e.Q6J("ngIf","textarea"===t.type),e.xp6(1),e.Q6J("ngIf","text"===t.type&&(!t.metadata_key||"Manual"===i.inputMode)),e.xp6(1),e.Q6J("ngIf","select"===t.type),e.xp6(1),e.Q6J("ngIf","date"===t.type),e.xp6(1),e.Q6J("ngIf","checkbox"===t.type)}}function Tv(n,o){1&n&&e._UZ(0,"div",143)}function Rb(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.hij(" ",t.rotation," ")}}function bx(n,o){1&n&&e._UZ(0,"i",144)}function Mv(n,o){1&n&&e._UZ(0,"i",145)}function yx(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",134),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw(3);return l.checkBox=!l.checkBox,e.KtG(h.countSelectedPages())}),e.YNc(1,Tv,1,0,"div",135),e.TgZ(2,"div",136)(3,"mat-checkbox",137),e.NdJ("ngModelChange",function(a){const h=e.CHM(t).$implicit;return e.KtG(h.checkBox=a)})("click",function(a){return a.stopPropagation()})("change",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.countSelectedPages())}),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"button",138),e.NdJ("click",function(a){const h=e.CHM(t).index,E=e.oxw().index;return e.oxw(2).rotatePage(E,h),e.KtG(a.stopPropagation())}),e.ALo(6,"translate"),e.ALo(7,"translate"),e.YNc(8,Rb,2,1,"span",0),e._UZ(9,"i",139),e.qZA(),e.TgZ(10,"button",140),e.NdJ("click",function(a){const h=e.CHM(t).$implicit;return e.oxw(3).getZoomPage(h),e.KtG(a.stopPropagation())}),e.ALo(11,"translate"),e.YNc(12,bx,1,0,"i",141),e.YNc(13,Mv,1,0,"i",54),e.qZA()(),e._UZ(14,"img",142),e.ALo(15,"translate"),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw(3);e.xp6(3),e.s9C("matTooltip",e.lcZ(4,12,"SPLITTER.select")),e.MGl("id","page-check-box-",t.id,""),e.Q6J("ngModel",t.checkBox),e.xp6(2),e.hYB("matTooltip","",e.lcZ(6,14,"SPLITTER.pageRotated")," "," "+t.rotation+" "+e.lcZ(7,16,"SPLITTER.degrees"),""),e.xp6(3),e.Q6J("ngIf",0!==t.rotation),e.xp6(2),e.s9C("matTooltip",e.lcZ(11,18,"SPLITTER.zoom")),e.xp6(2),e.Q6J("ngIf",t.id!==i.currentBatch.pageIdInLoad),e.xp6(1),e.Q6J("ngIf",t.id===i.currentBatch.pageIdInLoad),e.xp6(1),e.s9C("title",e.lcZ(15,20,"SPLITTER.moveToAnotherDoc")),e.Q6J("ngClass",0===t.rotation?"rotate-0 m-auto":90===t.rotation?"rotate-90 m-auto scale-75 px-2":180===t.rotation?"rotate-180 m-auto":-90===t.rotation?"-rotate-90 m-auto scale-75 px-2":"")("src",t.thumbnail,e.LSH)}}function Tx(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-card",103),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw(2);return e.KtG(h.selectDocument(l))}),e.YNc(1,Cv,1,0,"div",104),e.TgZ(2,"div",105),e.ALo(3,"translate"),e._UZ(4,"i",106),e.qZA(),e.YNc(5,vv,7,3,"div",107),e.TgZ(6,"mat-card-title")(7,"mat-accordion")(8,"mat-expansion-panel",108,109),e.NdJ("opened",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.documentMetadataOpenState=!0)})("closed",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.documentMetadataOpenState=!1)}),e.TgZ(10,"mat-expansion-panel-header")(11,"mat-panel-title")(12,"button",110),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.MAs(9),E=e.oxw(2);return h.toggle(),e.KtG(E.openDocumentTypeDialog(l))}),e.ALo(13,"translate"),e.TgZ(14,"span",111),e._UZ(15,"i",112),e.YNc(16,fx,3,3,"span",113),e._uU(17),e.qZA()()(),e.TgZ(18,"button",114),e.NdJ("click",function(a){const h=e.CHM(t).index;return e.oxw(2).deleteDocument(h),e.KtG(a.stopPropagation())}),e.ALo(19,"translate"),e._UZ(20,"i",115),e.qZA()(),e.TgZ(21,"div",116)(22,"span",117),e._uU(23),e.ALo(24,"translate"),e.qZA(),e._UZ(25,"mat-divider",118),e.YNc(26,xv,5,3,"div",0),e.qZA(),e.TgZ(27,"form",119),e.YNc(28,Pb,7,8,"div",32),e.qZA()()()(),e.TgZ(29,"mat-card-content",120)(30,"div",121),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw(2);return e.KtG(h.selectDocument(l))})("cdkDropListDropped",function(a){const h=e.CHM(t).$implicit,E=e.oxw(2);return e.KtG(E.dropPage(a,h))}),e.YNc(31,yx,16,22,"div",122),e.qZA()()()}if(2&n){const t=o.$implicit,i=e.oxw(2);e.xp6(2),e.s9C("matTooltip",e.lcZ(3,19,"SPLITTER.change_document_position")),e.xp6(6),e.Q6J("expanded",0!==i.fieldsCategories.document_metadata.length),e.xp6(4),e.Gre("text-lg text-left hover:text-green-400 ",t.class,""),e.s9C("matTooltip",e.lcZ(13,21,"GLOBAL.edit")),e.Q6J("ngClass",t.documentTypeName?"":"text-red-500"),e.xp6(4),e.Q6J("ngIf",!t.documentTypeName),e.xp6(1),e.hij(" ",t.documentTypeName," "),e.xp6(1),e.s9C("matTooltip",e.lcZ(19,23,"GLOBAL.delete")),e.xp6(5),e.Oqu(e.lcZ(24,25,"SPLITTER.document_metadata")),e.xp6(3),e.Q6J("ngIf",0===i.fieldsCategories.document_metadata.length),e.xp6(1),e.Q6J("formGroup",t.form),e.xp6(1),e.Q6J("ngForOf",i.fieldsCategories.document_metadata),e.xp6(2),e.s9C("id",i.addDocumentIdToDropList(t.id)),e.Q6J("ngClass",i.currentBatch.selectedDocument.id===t.id?"border-2 border-green-400":"border-2 border-gray-200 hover:cursor-pointer")("cdkDropListData",t.pages)("cdkDropListConnectedTo",i.DropListDocumentsIds),e.xp6(1),e.Q6J("ngForOf",t.pages)}}function Mx(n,o){1&n&&e._UZ(0,"i",146)}function Dx(n,o){1&n&&e._UZ(0,"i",145)}function Fb(n,o){if(1&n&&(e.TgZ(0,"mat-option",81),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.hij(" ",t.documentTypeName," ")}}function Nb(n,o){1&n&&e._UZ(0,"i",147)}function Bb(n,o){1&n&&e._UZ(0,"i",145)}function Ub(n,o){1&n&&(e.TgZ(0,"span",148),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"OUTPUT.no_output_configured")))}const Ex=function(n){return{"text-green-400":n}},P2=function(n){return{"cursor-not-allowed text-gray-500 bg-gray-300":n}};function wx(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-drawer-container",2)(1,"mat-drawer",3,4)(3,"div",5)(4,"div",6)(5,"div",7),e._uU(6),e.ALo(7,"translate"),e.qZA()(),e.YNc(8,po,3,3,"span",8),e.YNc(9,Rc,23,18,"div",9),e.ALo(10,"slice"),e.qZA()(),e.TgZ(11,"mat-drawer-content")(12,"button",10),e.NdJ("click",function(){e.CHM(t);const a=e.MAs(2);return e.KtG(a.toggle())}),e.TgZ(13,"span"),e.YNc(14,fv,1,0,"i",11),e.YNc(15,gb,1,0,"i",12),e.qZA()(),e.YNc(16,px,2,3,"div",13),e.TgZ(17,"div",14)(18,"mat-accordion",15)(19,"mat-expansion-panel",16,17),e.NdJ("opened",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.batchMetadataOpenState=!0)})("closed",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.batchMetadataOpenState=!1)}),e.TgZ(21,"mat-expansion-panel-header")(22,"mat-panel-title",18)(23,"div",19)(24,"span"),e._uU(25),e.ALo(26,"translate"),e.qZA(),e.YNc(27,fb,4,4,"div",20),e.qZA(),e.TgZ(28,"div",21),e._UZ(29,"i",22),e.TgZ(30,"mat-form-field",23),e.NdJ("click",function(a){return a.stopPropagation()}),e.ALo(31,"translate"),e.TgZ(32,"mat-select",24),e.NdJ("selectionChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.onFormChange(a.value))})("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.currentBatch.formId=a)}),e.YNc(33,Cb,2,2,"mat-option",25),e.qZA()()(),e.TgZ(34,"div",26)(35,"span",27),e.ALo(36,"translate"),e._UZ(37,"i",28),e._uU(38),e.qZA(),e.TgZ(39,"span"),e._UZ(40,"i",29),e._uU(41),e.ALo(42,"translate"),e.qZA()()()(),e.YNc(43,vb,5,3,"div",30),e.TgZ(44,"form",31),e.YNc(45,Sb,7,8,"div",32),e.qZA(),e.TgZ(46,"button",33),e.NdJ("click",function(a){return e.CHM(t),e.oxw().loadReferential(!0),e.KtG(a.stopPropagation())}),e.ALo(47,"translate"),e._UZ(48,"i",34),e.qZA()()(),e.YNc(49,Ab,3,3,"span",35),e.TgZ(50,"div",36),e.NdJ("cdkDropListDropped",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.dropDocument(a))}),e.YNc(51,Tx,32,27,"mat-card",37),e.qZA(),e.TgZ(52,"mat-card",38)(53,"mat-card-content",39)(54,"div",40),e.ALo(55,"translate"),e.TgZ(56,"span",41),e._uU(57),e.qZA(),e._UZ(58,"i",42),e.qZA(),e.TgZ(59,"div",43)(60,"button",44),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.deleteSelectedPages())}),e.ALo(61,"translate"),e._UZ(62,"i",45),e.qZA(),e.TgZ(63,"button",46),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.setAllPagesTo(!0))}),e.ALo(64,"translate"),e._UZ(65,"i",47),e.qZA(),e.TgZ(66,"button",48),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.setAllPagesTo(!1))}),e.ALo(67,"translate"),e._UZ(68,"i",49),e.qZA(),e.TgZ(69,"button",50),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.rotateSelectedPages())}),e.ALo(70,"translate"),e._UZ(71,"i",51),e.qZA(),e.TgZ(72,"button",52),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.createDocument())}),e.ALo(73,"translate"),e.YNc(74,Mx,1,0,"i",53),e.YNc(75,Dx,1,0,"i",54),e.qZA(),e.TgZ(76,"mat-form-field",55)(77,"mat-label"),e._uU(78),e.ALo(79,"translate"),e.qZA(),e.TgZ(80,"mat-select",56),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.toolSelectedOption=a)}),e.YNc(81,Fb,2,2,"mat-option",25),e.qZA()(),e.TgZ(82,"button",46),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.sendSelectedPages())}),e.ALo(83,"translate"),e._UZ(84,"i",57),e.qZA(),e.TgZ(85,"button",58),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.saveInfo())}),e.ALo(86,"translate"),e.YNc(87,Nb,1,0,"i",59),e.YNc(88,Bb,1,0,"i",54),e.qZA()(),e.TgZ(89,"div",60)(90,"div",61)(91,"button",62),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.validateWithConfirmation())}),e._uU(92),e.ALo(93,"translate"),e.qZA(),e.TgZ(94,"button",63),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.cancel())}),e._uU(95),e.ALo(96,"translate"),e.qZA()(),e.TgZ(97,"div",26)(98,"span"),e._uU(99),e.qZA(),e.YNc(100,Ub,3,3,"span",64),e.qZA()()()(),e._UZ(101,"div",65),e.qZA()()()}if(2&n){const t=e.MAs(2),i=e.oxw();e.xp6(4),e.Q6J("ngSwitch",i.currentTime),e.xp6(2),e.AsE(" ",e.lcZ(7,50,i.timeLabels[i.currentTime]),", ",i.getStatusLabel(i.currentBatch.status)," "),e.xp6(2),e.Q6J("ngIf",0===i.batches.length),e.xp6(1),e.Q6J("ngForOf",e.Dn7(10,52,i.batches,0,10)),e.xp6(5),e.Q6J("ngIf",t.opened),e.xp6(1),e.Q6J("ngIf",!t.opened),e.xp6(1),e.Q6J("ngIf",i.showZoomPage),e.xp6(3),e.Q6J("expanded",!0),e.xp6(6),e.hij(" ",e.lcZ(26,56,"SPLITTER.batch_metadata")," "),e.xp6(2),e.Q6J("ngIf",0!==i.fieldsCategories.batch_metadata.length),e.xp6(3),e.s9C("matTooltip",e.lcZ(31,58,"SPLITTER.edit_used_form")),e.xp6(2),e.Q6J("ngModel",i.currentBatch.formId),e.xp6(1),e.Q6J("ngForOf",i.forms),e.xp6(2),e.s9C("matTooltip",e.lcZ(36,60,"HEADER.status")),e.xp6(3),e.hij(" ",i.getStatusLabel(i.currentBatch.status)," "),e.xp6(3),e.AsE(" ",e.lcZ(42,62,"SPLITTER.identifier")," : ",i.currentBatch.id," "),e.xp6(2),e.Q6J("ngIf",0===i.fieldsCategories.batch_metadata.length),e.xp6(1),e.Q6J("formGroup",i.batchForm),e.xp6(1),e.Q6J("ngForOf",i.fieldsCategories.batch_metadata),e.xp6(1),e.s9C("title",e.lcZ(47,64,"SPLITTER.loadReferential")),e.xp6(3),e.Q6J("ngIf",0===i.documents.length),e.xp6(2),e.Q6J("ngForOf",i.documents),e.xp6(3),e.hYB("matTooltip","",i.currentBatch.selectedPagesCount," ",e.lcZ(55,66,"SPLITTER.selected_pages"),""),e.xp6(3),e.Oqu(i.currentBatch.selectedPagesCount),e.xp6(3),e.s9C("matTooltip",e.lcZ(61,68,"SPLITTER.delete_selected_pages")),e.Q6J("disabled",0===i.currentBatch.selectedPagesCount),e.xp6(3),e.s9C("matTooltip",e.lcZ(64,70,"SPLITTER.select_all")),e.xp6(3),e.s9C("matTooltip",e.lcZ(67,72,"SPLITTER.unselect_all")),e.xp6(3),e.s9C("matTooltip",e.lcZ(70,74,"SPLITTER.rotatePage")),e.Q6J("disabled",0===i.currentBatch.selectedPagesCount),e.xp6(3),e.s9C("matTooltip",e.lcZ(73,76,"SPLITTER.add_document")),e.xp6(2),e.Q6J("ngIf",!i.addDocumentLoading),e.xp6(1),e.Q6J("ngIf",i.addDocumentLoading),e.xp6(3),e.Oqu(e.lcZ(79,78,"SPLITTER.send_to")),e.xp6(2),e.Q6J("ngModel",i.toolSelectedOption),e.xp6(1),e.Q6J("ngForOf",i.documents),e.xp6(1),e.s9C("matTooltip",e.lcZ(83,80,"SPLITTER.send")),e.xp6(3),e.s9C("matTooltip",e.lcZ(86,82,"SPLITTER.save")),e.Q6J("ngClass",e.VKq(88,Ex,i.isDataEdited)),e.xp6(2),e.Q6J("ngIf",!i.saveInfosLoading),e.xp6(1),e.Q6J("ngIf",i.saveInfosLoading),e.xp6(3),e.Q6J("disabled",0===i.outputs.length||"NEW"!==i.currentBatch.status||0===i.documents.length)("ngClass",e.VKq(90,P2,0===i.outputs.length||"NEW"!==i.currentBatch.status||0===i.documents.length)),e.xp6(1),e.hij(" ",e.lcZ(93,84,"GLOBAL.validate")," "),e.xp6(3),e.hij(" ",e.lcZ(96,86,"GLOBAL.quit")," "),e.xp6(4),e.Oqu(i.outputs.join(", ")),e.xp6(1),e.Q6J("ngIf",0===i.outputs.length)}}let Zb=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt,Ft,ii){this.router=t,this.dialog=i,this.http=a,this.route=l,this.userService=h,this._sanitizer=E,this.formBuilder=B,this.authService=oe,this.translate=xe,this.notify=Ve,this.historyService=lt,this.localeService=Ft,this.localStorageService=ii,this.loading=!0,this.showZoomPage=!1,this.isDataEdited=!1,this.batchesLoading=!1,this.saveInfosLoading=!1,this.documentsLoading=!1,this.addDocumentLoading=!1,this.batchMetadataOpenState=!0,this.documentMetadataOpenState=!1,this.batchForm=new A.cw({}),this.batches=[],this.forms=[],this.status=[],this.outputs=[],this.metadata=[],this.documents=[],this.movedPages=[],this.pagesImageUrls=[],this.deletedPagesIds=[],this.deletedDocumentsIds=[],this.DropListDocumentsIds=[],this.batchMetadataValues={},this.inputMode="Manual",this.currentTime="",this.toolSelectedOption="",this.timeLabels={today:(0,He.J)("BATCH.today"),yesterday:(0,He.J)("BATCH.yesterday"),older:(0,He.J)("BATCH.older")},this.defaultDoctype={label:null,key:null},this.zoomPage={thumbnail:"",rotation:0},this.currentBatch={id:-1,formId:-1,inputId:-1,pageIdInLoad:-1,previousFormId:-1,status:"",maxSplitIndex:0,selectedPagesCount:0,selectedDocument:{id:"",displayOrder:-1}},this.fieldsCategories={batch_metadata:[],document_metadata:[]},this.searching=!1,this.filteredServerSideMetadata=new Ue.t(1),this._onDestroy=new Ye.x}beforeunloadHandler(t){this.isDataEdited&&(t.returnValue=!0)}ngOnInit(){this.authService.headersExists||this.authService.generateHeaders(),this.localStorageService.save("splitter_or_verifier","splitter"),this.userService.user=this.userService.getUserFromLocal(),this.currentBatch.id=this.route.snapshot.params.id,this.currentTime=this.route.snapshot.params.currentTime,this.loadSelectedBatch(),this.translate.get("HISTORY-DESC.viewer_splitter",{batch_id:this.currentBatch.id}).subscribe(t=>{this.historyService.addHistory("splitter","viewer",t)})}setValuesFromSavedMetadata(t){for(const i of this.fieldsCategories.batch_metadata)if(this.currentBatch.customFieldsValues.hasOwnProperty(i.label_short)){const a=this.currentBatch.customFieldsValues[i.label_short];t.hasOwnProperty(i.label_short)&&t[i.label_short]!==a&&(this.batchMetadataValues[i.label_short]=a,this.batchForm.controls[i.label_short].setValue(a))}}loadSelectedBatch(){this.defaultDoctype={},this.documents=[],this.loadBatchById()}loadBatchById(){this.loading=!0,this.http.get(m.N.url+"/ws/splitter/batches/"+this.currentBatch.id,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.currentBatch={id:t.batches[0].id,formId:t.batches[0].form_id,previousFormId:t.batches[0].form_id,status:t.batches[0].status,customFieldsValues:t.batches[0].data.hasOwnProperty("custom_fields")?t.batches[0].data.custom_fields:{},selectedPagesCount:0,maxSplitIndex:0,selectedDocument:{id:"",displayOrder:-1}},this.loadForms(),this.loadBatches(),this.loadStatus(),this.loadFormFields(),this.loadDocuments(),this.loadDefaultDocType(),this.loadOutputsData(),this.loadReferentialOnView()}),(0,Ke.K)(t=>(this.loading=!1,this.notify.handleErrors(t),console.debug(t),(0,ie.of)(!1)))).subscribe()}getStatusLabel(t){const i=this.status.find(a=>a.id===t);return i?i.label:void 0}loadStatus(){this.http.get(m.N.url+"/ws/status/list?module=splitter",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.status=t.status}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}loadOutputsData(){this.loading=!0,this.outputs=[],this.http.get(m.N.url+"/ws/forms/getById/"+this.currentBatch.formId,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{for(const i of t.outputs)this.http.get(m.N.url+"/ws/outputs/getById/"+i,{headers:this.authService.headers}).pipe((0,$e.b)(a=>{this.outputs.push(a.output_label)}),(0,Ke.K)(a=>(this.loading=!1,this.notify.handleErrors(a),console.debug(a),(0,ie.of)(!1)))).subscribe()}),(0,Ke.K)(t=>(this.loading=!1,this.notify.handleErrors(t),console.debug(t),(0,ie.of)(!1)))).subscribe()}loadBatches(){this.batchesLoading=!0,this.batches=[],this.http.get(m.N.url+"/ws/splitter/batches/0/5/"+this.currentTime+"/"+this.currentBatch.status,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.batches.forEach(i=>this.batches.push({id:i.id,inputId:i.input_id,fileName:i.file_name,date:i.batch_date,pageNumber:i.documents_count,thumbnail:this.sanitize(i.thumbnail)})),this.batchesLoading=!1}),(0,Ke.K)(t=>(this.batchesLoading=!1,this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}loadDocuments(){this.documentsLoading=!0,this.http.get(m.N.url+"/ws/splitter/documents/"+this.currentBatch.id,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{for(let i=0;ithis.currentBatch.maxSplitIndex&&(this.currentBatch.maxSplitIndex=this.documents[i].splitIndex),t.documents[i].data.hasOwnProperty("custom_fields")&&(this.documents[i].customFieldsValues=t.documents[i].data.custom_fields),this.documents[i].form=this.getFormForDocument(i);for(const a of t.documents[i].pages)this.documents[i].pages.push({id:a.id,sourcePage:a.source_page,thumbnail:this.sanitize(a.thumbnail),showZoomButton:!1,checkBox:!1,rotation:a.rotation})}this.selectDocument(this.documents[0]),this.documentsLoading=!1}),(0,Ke.K)(t=>(this.notify.handleErrors(t),console.debug(t),this.documentsLoading=!1,(0,ie.of)(!1)))).subscribe()}updateDocumentDisplayOrder(){const t=[];for(const i of this.documents){const a=i.displayOrder,l=a+1;a>this.currentBatch.selectedDocument.displayOrder&&(i.displayOrder=l,t.push({id:Number(i.id.split("-").pop()),displayOrder:l}))}return t}sortDocumentsByDisplayOrder(){this.documents.sort((t,i)=>t.displayOrder>i.displayOrder?1:-1)}createDocument(){if(this.addDocumentLoading)return;this.isDataEdited=!0;const t=this.updateDocumentDisplayOrder();this.addDocumentLoading=!0,this.http.post(m.N.url+"/ws/splitter/addDocument",{batchId:this.currentBatch.id,splitIndex:this.currentBatch.maxSplitIndex+1,displayOrder:this.currentBatch.selectedDocument.displayOrder+1,updatedDocuments:t},{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.documents.push({id:`document-${i.newDocumentId}`,documentTypeName:this.defaultDoctype.label,documentTypeKey:this.defaultDoctype.key,splitIndex:this.currentBatch.maxSplitIndex+1,displayOrder:this.currentBatch.selectedDocument.displayOrder+1,status:"NEW",pages:[],customFieldsValues:{},class:""}),this.documents[this.documents.length-1].form=this.getFormForDocument(this.documents.length-1),this.sortDocumentsByDisplayOrder(),this.currentBatch.maxSplitIndex++,this.addDocumentLoading=!1,this.notify.success(this.translate.instant("SPLITTER.document_added_with_success"))}),(0,Ke.K)(i=>(this.addDocumentLoading=!1,this.notify.handleErrors(i),console.debug(i),(0,ie.of)(!1)))).subscribe()}getFormForDocument(t){const i=new A.cw({});for(const a of this.fieldsCategories.document_metadata){const l=a.required?new A.NI("",A.kI.required):new A.NI(""),h=a.label_short;if(this.documents[t].customFieldsValues.hasOwnProperty(h)&&l.setValue(this.documents[t].customFieldsValues[h]),l.valueChanges.subscribe(E=>{this.documents[t].customFieldsValues[h]=E}),i.addControl(h,l),a.metadata_key){const E=new A.NI("");i.addControl("search_"+h,E)}}return i}getPageUrlById(t){for(const i of this.pagesImageUrls)if(i.pageId===t)return i.url;return""}getZoomPage(t){this.currentBatch.pageIdInLoad=t.id,this.http.get(m.N.url+"/ws/splitter/pages/"+t.id.toString()+"/fullThumbnail",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.showZoomPage=!0,this.zoomPage={pageId:t.id,rotation:t.rotation,thumbnail:this.sanitize(i.fullThumbnail)},this.currentBatch.pageIdInLoad=-1}),(0,Ke.K)(i=>(console.debug(i),this.currentBatch.pageIdInLoad=-1,this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}loadDefaultDocType(){this.loading=!0,this.http.get(m.N.url+"/ws/doctypes/list/"+this.currentBatch.formId.toString(),{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.doctypes.forEach(i=>{i.is_default&&"document"===i.type&&(this.defaultDoctype={id:i.id,key:i.key,label:i.label,type:i.type,isDefault:i.is_default})}),this.loading=!1}),(0,Ke.K)(t=>(console.debug(t),this.loading=!1,this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}getPlaceholderFromResultMask(t,i){const a=t?t.split("#"):[],l=[];for(const h of a)l.push(i.hasOwnProperty(h)?i[h]:h);return l.join(" ")}getPlaceholderFromSearchMask(t,i){return t?t.replace("#label",i):""}changeInputMode(t){this.inputMode=t.checked?"Auto":"Manual",this.batchMetadataValues={},this.fillDataValues({})}fillDataValues(t){var i,a;this.isDataEdited=!0;for(const l of this.fieldsCategories.batch_metadata){const h=l.metadata_key,E=t.hasOwnProperty(h)?t[h]:"";h&&this.batchForm.get(h)&&(null===(i=this.batchForm.get(h))||void 0===i||i.setValue(E))}for(const l of this.fieldsCategories.document_metadata){const h=l.metadata_key,E=t.hasOwnProperty(h)?t[h]:"";for(const B of this.documents)h&&B.form.get(h)&&(null===(a=B.form.get(h))||void 0===a||a.setValue(E))}}loadReferentialOnView(){this.http.get(m.N.url+`/ws/splitter/metadataMethods/${this.currentBatch.formId}`,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.metadataMethods[0].callOnSplitterView&&this.loadReferential(!1)}),(0,Ke.K)(t=>(this.loading=!1,this.notify.handleErrors(t),console.debug(t),(0,ie.of)(!1)))).subscribe()}loadReferential(t){this.metadata=[],this.http.get(m.N.url+`/ws/splitter/loadReferential/${this.currentBatch.formId}`,{headers:this.authService.headers}).pipe((0,$e.b)(i=>{if(i.metadata.forEach(a=>{a.data.metadataId=a.id,this.metadata.push(a.data)}),this.currentBatch.customFieldsValues.hasOwnProperty("metadataId")){const a=this.metadata.filter(l=>l.metadataId===this.currentBatch.customFieldsValues.metadataId);a.length>0&&(this.filteredServerSideMetadata.next(a),this.fillData(a[0]),this.setValuesFromSavedMetadata(a[0]))}t&&this.loadSelectedBatch(),this.notify.success(this.translate.instant("SPLITTER.referential_updated"))}),(0,Ke.K)(i=>(this.loading=!1,this.notify.handleErrors(i),console.debug(i),(0,ie.of)(!1)))).subscribe()}setValueChange(t,i){this.isDataEdited=!0,this.batchMetadataValues[t]=i}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}fillData(t){var i,a;this.batchMetadataValues=t;const l=this.batchMetadataValues.metadataId;for(const h of this.fieldsCategories.batch_metadata)h.metadata_key&&("select"===h.type&&t[h.metadata_key]?null===(i=this.batchForm.get(h.metadata_key))||void 0===i||i.setValue(t[h.metadata_key]):null===(a=this.batchForm.get(h.metadata_key))||void 0===a||a.setValue(l))}loadForms(){this.forms=[],this.http.get(m.N.url+"/ws/forms/list?module=splitter",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.forms=t.forms}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}onFormChange(t){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("GLOBAL.confirm_form_change"),confirmButton:this.translate.instant("GLOBAL.confirm_modification"),confirmButtonColor:"green",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(a=>{a?(this.loading=!0,this.http.post(m.N.url+"/ws/splitter/changeForm",{batchId:this.currentBatch.id,formId:t},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("SPLITTER.barch_form_change_success")),this.translate.get("HISTORY-DESC.change_batch_form",{batch_id:this.currentBatch.id,form_id:t}).subscribe(l=>{this.historyService.addHistory("splitter","viewer",l)}),this.loadSelectedBatch()}),(0,Ke.K)(l=>(this.loading=!1,this.notify.handleErrors(l),console.debug(l),(0,ie.of)(!1)))).subscribe()):this.currentBatch.formId=this.currentBatch.previousFormId})}loadFormFields(){this.http.get(m.N.url+"/ws/forms/fields/getByFormId/"+this.currentBatch.formId,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{for(const i in this.fieldsCategories)this.fieldsCategories[i]=[],t.fields.hasOwnProperty(i)&&t.fields[i].forEach(a=>{this.fieldsCategories[i].push({id:a.id,type:a.type,label:a.label,class:a.class,settings:a.settings,required:a.required,searchMask:a.searchMask,resultMask:a.resultMask,label_short:a.label_short,metadata_key:a.metadata_key,validationMask:a.validationMask}),a.metadata_key&&"batch_metadata"===i&&(this.inputMode="Auto")});this.batchForm=this.toBatchFormGroup();for(const i in this.fieldsCategories)t.fields.hasOwnProperty(i)&&t.fields[i].forEach(a=>{var l;a.metadata_key&&this.batchForm.get("search_"+a.label_short)&&(null===(l=this.batchForm.get("search_"+a.label_short))||void 0===l||l.valueChanges.pipe((0,Mo.h)(h=>!!h),(0,$e.b)(()=>{}),(0,$i.R)(this._onDestroy),(0,fe.b)(200),(0,Mn.U)(h=>!this.metadata||h.length<3?[]:(this.searching=!0,this.metadata.filter(E=>(0,wa.remove)(E[a.label_short].toString()).toLowerCase().indexOf((0,wa.remove)(h.toString().toLowerCase()))>-1))),(0,jl.g)(500)).subscribe(h=>{this.filteredServerSideMetadata.next(h),this.searching=!1},()=>{this.searching=!1}))})}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(this.loading=!1,this.notify.handleErrors(t),console.debug(t),(0,ie.of)(!1)))).subscribe()}getFormFieldsValues(){var t;for(const i of this.fieldsCategories.batch_metadata)this.batchForm.get(i.label_short)&&(this.batchMetadataValues[i.label_short]=null===(t=this.batchForm.get(i.label_short))||void 0===t?void 0:t.value,"date"===i.type&&(this.batchMetadataValues[i.label_short]=M(this.batchMetadataValues[i.label_short]).format("L")))}toBatchFormGroup(){const t={},i=M().localeData().longDateFormat("L");return this.fieldsCategories.batch_metadata.forEach(a=>{if(t[a.label_short]=a.required?new A.NI("",A.kI.required):new A.NI(""),this.currentBatch.customFieldsValues.hasOwnProperty(a.label_short)){const l="date"!==a.type?this.currentBatch.customFieldsValues[a.label_short]:M(this.currentBatch.customFieldsValues[a.label_short],i);t[a.label_short].setValue(l)}a.metadata_key&&(t["search_"+a.label_short]=new A.NI(""))}),new A.cw(t)}addDocumentIdToDropList(t){return this.DropListDocumentsIds.includes(t)||this.DropListDocumentsIds.push(t),t}sanitize(t){return this._sanitizer.bypassSecurityTrustUrl("data:image/jpg;base64,"+t)}dropPage(t,i){this.isDataEdited=!0,t.previousContainer===t.container?Hs(t.container.data,t.previousIndex,t.currentIndex):(vr(t.previousContainer.data,t.container.data,t.previousIndex,t.currentIndex),this.movedPages.push({pageId:t.container.data[t.currentIndex].id,newDocumentId:Number(i.id.split("-")[1]),isAddInNewDoc:"USERADD"===i.status}))}dropDocument(t){this.isDataEdited=!0,Hs(this.documents,t.previousIndex,t.currentIndex),this.OrderDisplayDocumentValues()}OrderDisplayDocumentValues(){let t=1;for(const i of this.documents)i.displayOrder=t,t++}openDocumentTypeDialog(t){this.dialog.open(jn,{width:"800px",height:"900px",data:{selectedDocType:{key:t.documentTypeKey?t.documentTypeKey:""},formId:this.currentBatch.formId}}).afterClosed().subscribe(a=>{a&&(t.documentTypeName=a.label,t.documentTypeKey=a.key,this.isDataEdited=!0)})}selectDocument(t){this.currentBatch.selectedDocument={id:t.id,displayOrder:t.displayOrder}}deleteDocument(t){const i=this.documents[t].pages.length,a=i>0?this.translate.instant("SPLITTER.confirm_delete_document_not_empty",{pagesCount:i}):this.translate.instant("SPLITTER.confirm_delete_document_empty");this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:a,confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(h=>{h&&(this.deletedDocumentsIds.push(this.documents[t].id),this.documents=this.deleteItemFromList(this.documents,t),this.isDataEdited=!0)})}deleteItemFromList(t,i){return delete t[i],t.filter(a=>null!==a)}countSelectedPages(){let t=0;for(const i of this.documents)for(const a of i.pages)a.checkBox&&t++;this.currentBatch.selectedPagesCount=t}deleteSelectedPages(){0!==this.currentBatch.selectedPagesCount&&this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("SPLITTER.confirm_delete_pages",{pagesCount:this.currentBatch.selectedPagesCount}),confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(i=>{if(i){for(const a of this.documents)for(let l=0;la.id===this.toolSelectedOption);if(!t)return;const i=this.documents.indexOf(t[0]);for(const a of this.documents)for(let l=a.pages.length-1;l>=0;l--)if(a.pages[l].checkBox){const h=this.documents[i].pages.length;vr(a.pages,this.documents[i].pages,l,h),this.movedPages.push({pageId:this.documents[i].pages[h].id,newDocumentId:Number(this.documents[i].id.split("-")[1]),isAddInNewDoc:"USERADD"===this.documents[i].status})}this.isDataEdited=!0}changeBatch(t){this.loading=!0,this.fieldsCategories.batch_metadata=[],this.batchMetadataValues={},this.fillDataValues({}),this.router.navigate(["splitter/viewer/"+this.currentTime+"/"+t]).then(),this.currentBatch.id=t,this.loadSelectedBatch(),this.isDataEdited=!1}cancel(){this.isDataEdited?this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("SPLITTER.quit_without_saving_modifications"),confirmButton:this.translate.instant("SPLITTER.quit_without_saving"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(i=>{i&&this.router.navigate(["/splitter/list"]).then()}):this.router.navigate(["/splitter/list"]).then()}validateWithConfirmation(){if(!this.batchForm.valid&&"Manual"===this.inputMode)return this.notify.error(this.translate.instant("SPLITTER.error_empty_document_metadata")),void(this.loading=!1);if("Auto"!==this.inputMode||this.batchMetadataValues.metadataId||0===this.fieldsCategories.batch_metadata.length){for(const i of this.documents){if(!i.form.valid)return this.notify.error(this.translate.instant("SPLITTER.error_empty_document_metadata")),void(this.loading=!1);if(!i.documentTypeKey)return i.class="text-red-500",this.notify.error(this.translate.instant("SPLITTER.error_no_doc_type")),void(this.loading=!1);i.class=""}this.getFormFieldsValues();for(const i of this.fieldsCategories.batch_metadata)if(i.validationMask&&!this.batchMetadataValues[i.label_short].match(i.validationMask))return this.notify.error(this.translate.instant("SPLITTER.field_form_not_respected",{field:i.label})),void(this.loading=!1);this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("SPLITTER.confirm_validate"),confirmButton:this.translate.instant("SPLITTER.validate_batch"),confirmButtonColor:"green",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(i=>{i&&this.validate()})}else this.notify.error(this.translate.instant("SPLITTER.error_autocomplete_value"))}validate(){this.loading=!0,this.notify.success(this.translate.instant("SPLITTER.batch_validate_processing"),1e4);const t=this.batchMetadataValues;t.id=this.currentBatch.id,t.userName=this.userService.user.username,t.userLastName=this.userService.user.lastname,t.userFirstName=this.userService.user.firstname;const i=[];for(const a of this.documents){const l={id:a.id,displayOrder:a.displayOrder,documentTypeKey:a.documentTypeKey,documentTypeName:a.documentTypeName,metadata:a.form.getRawValue(),pages:[]};for(const h of a.pages)l.pages.push({id:h.id,rotation:h.rotation,sourcePage:h.sourcePage});i.push(l)}this.http.post(m.N.url+"/ws/splitter/validate",{documents:i,batchMetadata:t,movedPages:this.movedPages,batchId:this.currentBatch.id,deletedPagesIds:this.deletedPagesIds,deletedDocumentsIds:this.deletedDocumentsIds,formId:this.currentBatch.formId},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.router.navigate(["splitter/list"]).then(),this.notify.success(this.translate.instant("SPLITTER.validate_batch_success")),this.translate.get("HISTORY-DESC.validate_splitter",{batch_id:this.currentBatch.id}).subscribe(a=>{this.historyService.addHistory("splitter","viewer",a)}),this.loading=!0}),(0,Ke.K)(a=>(this.loading=!1,this.notify.handleErrors(a),console.debug(a),(0,ie.of)(!1)))).subscribe()}saveInfo(){this.saveInfosLoading=!0,this.getFormFieldsValues();const t=[];for(const i of this.documents){const a=Object.assign({},i);a.metadata=i.form.getRawValue(),delete a.class,delete a.form,t.push(a)}this.http.post(m.N.url+"/ws/splitter/saveInfo",{documents:t,movedPages:this.movedPages,batchId:this.currentBatch.id,deletedPagesIds:this.deletedPagesIds,batchMetadata:this.batchMetadataValues,deletedDocumentsIds:this.deletedDocumentsIds},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.saveInfosLoading=!1,this.isDataEdited=!1,this.notify.success(this.translate.instant("SPLITTER.batch_modification_saved"))}),(0,Ke.K)(i=>(this.saveInfosLoading=!1,this.notify.handleErrors(i),console.debug(i),(0,ie.of)(!1)))).subscribe()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ui),e.Y36(Ri.eN),e.Y36(Nt.gz),e.Y36(zi.K),e.Y36(c.H7),e.Y36(A.qu),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q),e.Y36(jr),e.Y36(ua.n))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-viewer"]],viewQuery:function(t,i){if(1&t&&e.Gf(Rr,5),2&t){let a;e.iGM(a=e.CRH())&&(i.cdkDropList=a.first)}},hostBindings:function(t,i){1&t&&e.NdJ("beforeunload",function(l){return i.beforeunloadHandler(l)},!1,e.Jf7)},decls:2,vars:2,consts:[[4,"ngIf"],["class","viewer-container","hasBackdrop","false",4,"ngIf"],["hasBackdrop","false",1,"viewer-container"],["mode","side","opened",""],["drawer",""],[1,"mt-1"],[1,"mt-2","w-full","h-10","grid","place-content-center",3,"ngSwitch"],[1,"text-base","text-slate-400"],["class","text-slate-400 w-full grid place-content-center",4,"ngIf"],["class","card",4,"ngFor","ngForOf"],["mat-raised-button","",1,"btn-show-batches","left-0",3,"click"],["class","fa-solid fa-angle-left",4,"ngIf"],["class","fa-solid fa-angle-right",4,"ngIf"],["class","fixed z-10 w-4/12 h-5/6 grid justify-items-stretch right-0 top-20",4,"ngIf"],[1,"w-10/12","absolute","top-0","mx-32"],[1,"metadata"],[1,"my-10","bg-gray-20",3,"expanded","opened","closed"],["batchMetadata",""],[1,"grid","grid-cols-3","gap-3"],[1,"grid","grid-cols-2","gap-2"],["class","mx-1",3,"click",4,"ngIf"],[1,"text-center"],[1,"fa-regular","fa-rectangle-list"],["id","form-select-field",3,"matTooltip","click"],[3,"ngModel","selectionChange","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"text-right","text-gray-400"],[1,"mx-2",3,"matTooltip"],[1,"fa-solid","fa-flag"],[1,"fa-solid","fa-pipe"],["class","text-gray-400 text-center w-full",4,"ngIf"],[1,"flex","flex-wrap","mx-8",3,"formGroup"],["class","flex items-center px-3",3,"class",4,"ngFor","ngForOf"],["mat-button","",1,"float-right","mb-2",3,"title","click"],[1,"fa-solid","fa-sync","fa-2x"],["class","block align-text-top text-center text-red-600",4,"ngIf"],["cdkDropList","",3,"cdkDropListDropped"],["class","document group","cdkDrag","",3,"click",4,"ngFor","ngForOf"],[1,"splitter-tools","divide-x","divide-green-500","border-gray-300","py-0"],[1,"grid","grid-rows-1","grid-cols-3",2,"overflow","auto"],[1,"absolute","top-2","left-8","text-gray-500","bg-white","px-2",3,"matTooltip"],[1,"font-medium","mx-1"],[1,"fa-solid","fa-file"],[1,"border","border-gray-600","rounded-lg","flex","h-20","col-span-2","py-4","my-4","overflow-x-auto","overflow-y-hidden"],["mat-button","",1,"btn-icon","w-8","ml-4",3,"matTooltip","disabled","click"],[1,"fas","fa-trash-alt","fa-lg"],["mat-button","",1,"btn-icon","w-8",3,"matTooltip","click"],[1,"fas","fa-check-circle","fa-lg"],["mat-button","",1,"btn-icon","border-r-2","border-black","w-8",3,"matTooltip","click"],[1,"fas","fa-ban","fa-lg"],["mat-button","",1,"btn-icon","btn-rotate","border-r-10","border-gray-400","w-8",3,"disabled","matTooltip","click"],[1,"fas","fa-rotate-right","fa-lg"],["mat-button","",3,"matTooltip","click"],["class","fas fa-plus-circle fa-lg",4,"ngIf"],["class","fas fa-circle-notch fa-spin fa-lg my-4",4,"ngIf"],[1,"-top-2"],[3,"ngModel","ngModelChange"],[1,"fa","fa-paper-plane","fa-lg"],["mat-button","",1,"w-8",3,"matTooltip","ngClass","click"],["class","fa fa-save fa-lg",4,"ngIf"],[1,"grid","grid-rows-4","py-2"],[1,"row-span-3","overflow-y-auto"],["mat-button","",1,"btn-validate-splitter","rounded-full","bg-green-400","text-white","text-sm","font-medium","transition","duration-300","mt-2","ml-2","float-right","top-4",2,"border-right","1px dotted white !important",3,"disabled","ngClass","click"],["mat-button","",1,"btn-validate-splitter","text-gray-500","bg-gray-300","rounded-full","text-sm","font-medium","transition","duration-300","mt-2","float-right","top-4",3,"click"],["class","text-red-500",4,"ngIf"],[1,"splitter-tools-place"],[1,"text-slate-400","w-full","grid","place-content-center"],[1,"card"],[1,"mat-elevation-z4","my-2",3,"ngClass"],[1,"image-link",3,"click"],["mat-card-image","","alt","Open-Capture Splitter image",3,"src"],[1,"float-right","text-green-400",3,"matTooltip"],[1,"far","fa-file"],[1,"mt-2","-mb-1","block","overflow-hidden","text-ellipsis","w-11/12"],[1,"leading-7","flex"],[1,"fa-solid","fa-angle-left"],[1,"fa-solid","fa-angle-right"],[1,"fixed","z-10","w-4/12","h-5/6","grid","justify-items-stretch","right-0","top-20"],["mat-card-image","","alt","Zoom Image",1,"justify-self-end","border-2","zoom-image",3,"src","exclude","ngClass","clickOutside"],[1,"mx-1",3,"click"],[3,"checked","change"],[3,"value"],[1,"text-gray-400","text-center","w-full"],[1,"block","fa-solid","fa-check","fa-3x"],[1,"block"],[1,"flex","items-center","px-3"],["class","flex justify-center inline-block my-4",4,"ngIf"],[1,"w-full"],[3,"innerHTML"],[1,"mat-search",3,"formControlName"],[3,"value","click",4,"ngFor","ngForOf"],[3,"formControlName","placeholderLabel","searching","noEntriesFoundLabel"],[3,"value","click"],[3,"innerHTML",4,"ngIf"],["matInput","",3,"formControlName","ngModelChange"],["matInput","",3,"formControlName"],[3,"formControlName","selectionChange"],["matInput","",3,"id","matDatepicker","formControlName"],["matSuffix","",3,"for"],["datePicker",""],[1,"flex","justify-center","inline-block","my-4"],[3,"formControlName"],[1,"block","align-text-top","text-center","text-red-600"],["cdkDrag","",1,"document","group",3,"click"],["class","w-full h-40 border-dashed border-2 border-gray-400 bg-gray-200",4,"cdkDragPlaceholder"],["cdkDragHandle","",1,"drag-document","absolute","w-6","h-6","-left-1","-top-1","z-10","rounded-full","text-gray-400","text-center","align-middle","bg-slate-50","drop-shadow-xl","hover:cursor-grabbing","group-hover:text-gray-500",3,"matTooltip"],[1,"fa-solid","fa-arrows-up-down-left-right","fa-lg"],["class","drop-shadow-xl w-4/6 h-40 text-center text-gray-500 bg-slate-50 grid place-content-center",4,"cdkDragPreview"],[1,"bg-gray-20",3,"expanded","opened","closed"],["documentMetadata",""],[3,"ngClass","matTooltip","click"],[1,"w-full","font-medium"],[1,"fa-solid","fa-edit"],["class","mx-2",4,"ngIf"],["mat-button","",1,"right-2",3,"matTooltip","click"],[1,"fa-solid","fa-trash-alt","fa-lg"],[1,"text-gray-400","w-full"],[1,"m-6","w-11/12"],[1,"mx-6",2,"width","96%"],[1,"flex","flex-wrap","mx-6","mt-4",3,"formGroup"],[1,"document-content"],["cdkDropListOrientation","horizontal","cdkDropList","",1,"drop-list",2,"background-image","url('assets/imgs/dots.jpg')","width","100%","overflow","scroll!important",3,"ngClass","id","cdkDropListData","cdkDropListConnectedTo","click","cdkDropListDropped"],["class","page m-1.5 bg-gray-200 rounded-md","cdkDrag","",3,"click",4,"ngFor","ngForOf"],[1,"w-full","h-40","border-dashed","border-2","border-gray-400","bg-gray-200"],[1,"drop-shadow-xl","w-4/6","h-40","text-center","text-gray-500","bg-slate-50","grid","place-content-center"],["cdkDragHandle","",1,"absolute","w-8","h-8","-left-1","-top-1","z-10","rounded-full","text-center","align-middle","bg-slate-50","drop-shadow-xl","hover:cursor-grabbing","group-hover:text-gray-500","grid","place-content-center"],[1,"fa-solid","fa-copy","fa-3x"],[1,"mx-2"],[1,"text-center","block","fa-solid","fa-check","fa-3x"],[1,"block","text-center"],[3,"ngClass",4,"ngIf"],["class","flex justify-center inline-block my-4",3,"ngClass",4,"ngIf"],[3,"ngClass"],[1,"flex","justify-center","inline-block","my-4",3,"ngClass"],["cdkDrag","",1,"page","m-1.5","bg-gray-200","rounded-md",3,"click"],["class","custom-placeholder bg-gray-200 m-1.5 border-dashed border-2 border-gray-400",4,"cdkDragPlaceholder"],[1,"flex","justify-between"],[1,"page-check-box","float-left","mt-4",3,"ngModel","matTooltip","id","ngModelChange","click","change"],["mat-button","",1,"page-header-btn","text-gray-400","m-1",3,"matTooltip","click"],[1,"fa-solid","fa-rotate-right"],["mat-button","",1,"page-header-btn","float-right","bg-gray-100",3,"matTooltip","click"],["class","fa-solid fa-search-plus",4,"ngIf"],["alt","Open-Capture Splitter image",3,"ngClass","src","title"],[1,"custom-placeholder","bg-gray-200","m-1.5","border-dashed","border-2","border-gray-400"],[1,"fa-solid","fa-search-plus"],[1,"fas","fa-circle-notch","fa-spin","fa-lg","my-4"],[1,"fas","fa-plus-circle","fa-lg"],[1,"fa","fa-save","fa-lg"],[1,"text-red-500"]],template:function(t,i){1&t&&(e.YNc(0,wn,2,0,"div",0),e.YNc(1,wx,102,92,"mat-drawer-container",1)),2&t&&(e.Q6J("ngIf",i.loading||i.documentsLoading||i.batchesLoading),e.xp6(1),e.Q6J("ngIf",!i.loading))},dependencies:[_e.mk,_e.sg,_e.O5,_e.RF,Sa,Rt.KE,Rt.hX,Rt.R9,Be.gD,b.ey,Va.Rr,an.Nt,Xn,Vt.jA,Vt.kh,Vt.LW,Y.lW,ot,qt,Re,We,Ie,si,te,Ea,mo,Zt.pp,Zt.ib,Zt.yz,Zt.yK,Rn.d,A._Y,A.Fj,A.JJ,A.JL,A.sg,A.u,A.On,ea,e_,ld,Sh,Lh,fg,_o,Cn.R,_e.Ov,_e.OU,$t.X$],styles:["[_nghost-%COMP%] .mat-slide-toggle.mat-checked:not(.mat-disabled) .mat-slide-toggle-bar{background-color:#97bf3d}[_nghost-%COMP%] .mat-slide-toggle.mat-checked:not(.mat-disabled) .mat-slide-toggle-thumb{background-color:#97bf3d} .mat-drawer-inner-container{overflow-x:hidden!important}.viewer-container[_ngcontent-%COMP%]{width:100%;border:1px solid #555;position:absolute;top:60px;bottom:0;z-index:-1}mat-drawer-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;background-color:#fff}mat-drawer[_ngcontent-%COMP%]{width:20%}a[_ngcontent-%COMP%]:hover{cursor:pointer}.btn-show-batches[_ngcontent-%COMP%]{position:sticky;width:8px!important;min-width:unset!important;min-height:100%;margin-top:0!important;top:0!important;left:0!important;z-index:1}.metadata[_ngcontent-%COMP%]{width:100%;height:200px!important}.mat-search[_ngcontent-%COMP%]{min-width:calc(100% + 250px)!important} .mat-search>.mat-select-trigger>.mat-select-arrow-wrapper{display:none}.mat-select-arrow-wrapper[_ngcontent-%COMP%]{display:none!important}.mat-select-placeholder[_ngcontent-%COMP%]{width:calc(100% - 250px)!important} #form-select-field .mat-form-field-outline{display:none!important} #form-select-field .mat-select-arrow-wrapper{display:none!important}.document[_ngcontent-%COMP%]{margin:10px auto;width:100%;box-shadow:1px 2px 10px #c5c5c5!important}.drag-document[_ngcontent-%COMP%]:hover{transform:scale(1.3)}.document-drop-placeholder[_ngcontent-%COMP%]{margin:10px auto;width:100%;height:300px;box-shadow:1px 2px 10px #c5c5c5!important}.btn-icon[_ngcontent-%COMP%]{border-right:1px solid rgb(75,85,99)!important;border-radius:0}.document-content[_ngcontent-%COMP%]{width:100%;height:80%}.drop-list[_ngcontent-%COMP%]{width:100%;border:solid 1px #ccc;min-height:350px;display:flex;flex-direction:row;border-radius:4px;background-size:60px 60px;background-color:#fff}.cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1)}.page[_ngcontent-%COMP%]:last-child{border:none}.drop-list.cdk-drop-list-dragging[_ngcontent-%COMP%] .page[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}.custom-placeholder[_ngcontent-%COMP%]{min-width:220px;max-width:220px;min-height:350px;max-height:350px;padding:10px;background:#ccc;z-index:1;transition:transform .25s cubic-bezier(0,0,.2,1)}.page[_ngcontent-%COMP%]{min-width:220px;max-width:220px;min-height:350px;max-height:350px;padding:5px;cursor:move;overflow:hidden}.page-header-btn[_ngcontent-%COMP%]{min-width:unset!important;margin-top:0!important;margin-bottom:5px!important}.page-check-box[_ngcontent-%COMP%]{transform:translateY(-50%)} .mat-checkbox-inner-container{width:18px!important;height:18px!important}.mat-checkbox-checked[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{transform:scale(4)} .mat-checkbox-checked.mat-accent .mat-checkbox-background, .mat-checkbox-indeterminate.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%], .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background-color:#97bf3d!important}.splitter-tools[_ngcontent-%COMP%]{position:sticky;z-index:10;bottom:10px!important;left:10%}.splitter-tools-place[_ngcontent-%COMP%]{width:50%;min-height:50px}.btn-validate-splitter[_ngcontent-%COMP%]{height:40px;width:150px}"]}),n})();var Yb=C(4533);function R2(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function F2(n,o){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"i",6),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.previousPage())}),e.qZA(),e._uU(2),e.ALo(3,"translate"),e.ALo(4,"translate"),e.TgZ(5,"i",7),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.nextPage())}),e.qZA(),e.BQk()}if(2&n){const t=e.oxw();e.xp6(2),e.HOy(" ",e.lcZ(3,4,"VERIFIER.page")," ",t.currentPage," ",e.lcZ(4,6,"VERIFIER.on")," ",t.invoice.nb_pages," ")}}function Hb(n,o){if(1&n&&(e.TgZ(0,"div",8),e._UZ(1,"img",9),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("src",t.imgSrc,e.LSH)}}function Vb(n,o){if(1&n&&(e.TgZ(0,"mat-option",27),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.hij(" ",t.label," ")}}function Sx(n,o){1&n&&(e.TgZ(0,"span",35),e.ALo(1,"translate"),e._uU(2,"\u2022"),e.qZA()),2&n&&e.s9C("matTooltip",e.lcZ(1,1,"VERIFIER.only_raw_footer"))}function Ax(n,o){1&n&&(e.TgZ(0,"span",36),e.ALo(1,"translate"),e._uU(2,"\u2022"),e.qZA()),2&n&&e.s9C("matTooltip",e.lcZ(1,1,"VERIFIER.calculated_footer"))}function Lx(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"i",40),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(5);return e.KtG(a.editSupplier())}),e.qZA()}}function Gb(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"i",41),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(5);return e.KtG(a.createSupplier())}),e.qZA()}}function Kb(n,o){if(1&n&&(e.TgZ(0,"span",37),e.YNc(1,Lx,1,0,"i",38),e.YNc(2,Gb,1,0,"i",39),e.qZA()),2&n){const t=e.oxw(4);e.xp6(1),e.Q6J("ngIf",t.invoice.supplier_id&&t.supplierExists&&"END"!==t.invoice.status),e.xp6(1),e.Q6J("ngIf",!t.invoice.supplier_id||!t.supplierExists&&"END"!==t.invoice.status)}}function jb(n,o){if(1&n&&(e.TgZ(0,"mat-error",54),e._uU(1),e.qZA()),2&n){const t=e.oxw(3).$implicit,i=e.oxw(2).$implicit,a=e.oxw(2);e.xp6(1),e.hij(" ",a.getErrorMessage(t.id,i.id)," ")}}function Wb(n,o){if(1&n&&(e.TgZ(0,"mat-option",55),e._UZ(1,"span",56),e.ALo(2,"highlight"),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(7);e.Q6J("value",t.name)("id",t.id),e.xp6(1),e.Q6J("innerHTML",e.xi3(2,3,t.name,i.toHighlight),e.oJD)}}function qb(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field",47),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw(2).$implicit,h=e.oxw(4);return e.KtG(h.updateFilteredOption(a,l.control))}),e.TgZ(1,"mat-label",48),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",49),e.YNc(5,jb,2,1,"mat-error",50),e.TgZ(6,"mat-autocomplete",51,52),e.NdJ("optionSelected",function(a){e.CHM(t);const l=e.oxw(6);return e.KtG(l.getSupplierInfo(a.option.id,!0))}),e.YNc(8,Wb,3,6,"mat-option",53),e.ALo(9,"async"),e.qZA()()}if(2&n){const t=e.MAs(7),i=e.oxw(2).$implicit,a=e.oxw(4);e.ekj("opacity-50","END"===a.invoice.status),e.xp6(2),e.hij(" ",e.lcZ(3,12,i.label)," "),e.xp6(2),e.Q6J("id",i.id)("required",i.required)("readonly","END"===a.invoice.status)("formControl",i.control)("pattern",i.pattern)("matAutocomplete",t),e.xp6(1),e.Q6J("ngIf",i.control.errors),e.xp6(1),e.Q6J("id",i.id),e.xp6(2),e.Q6J("ngForOf",e.lcZ(9,14,a.filteredOptions))}}function Jb(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw(3).$implicit;e.xp6(1),e.Oqu(t.cpt)}}function $b(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",61),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3).$implicit,l=e.oxw(2).$implicit,h=e.oxw(2);return e.KtG(h.duplicateField(a.id,l.id))}),e.TgZ(1,"mat-icon",62),e._uU(2,"add_circle"),e.qZA()()}}function hm(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",63),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3).$implicit,l=e.oxw(2).$implicit,h=e.oxw(2);return e.KtG(h.removeDuplicateField(a.id,l.id))}),e.TgZ(1,"mat-icon",64),e._uU(2,"delete_forever"),e.qZA()()}}function Ox(n,o){if(1&n&&(e.TgZ(0,"mat-error",54),e._uU(1),e.qZA()),2&n){const t=e.oxw(3).$implicit,i=e.oxw(2).$implicit,a=e.oxw(2);e.xp6(1),e.hij(" ",a.getErrorMessage(t.id,i.id)," ")}}function kx(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field",57)(1,"mat-label",48),e._uU(2),e.ALo(3,"translate"),e.YNc(4,Jb,2,1,"span",0),e.qZA(),e.YNc(5,$b,3,0,"span",58),e.YNc(6,hm,3,0,"span",59),e.TgZ(7,"input",60),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(6);return a.ocrFromUser=!0,e.KtG(a.saveInfo=!0)})("focusin",function(a){e.CHM(t);const l=e.oxw(2).$implicit,h=e.oxw(4);return e.KtG(h.ocr(a,!0,l.color))})("focusout",function(a){e.CHM(t);const l=e.oxw(2).$implicit,h=e.oxw(4);return h.ocr(a,!1),h.saveData(a.target.value,l.id),h.checkVAT(l.id,a.target.value),e.KtG(h.checkSirenOrSiret(l.id,a.target.value))}),e.qZA(),e.YNc(8,Ox,2,1,"mat-error",50),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(4);e.ekj("opacity-50","END"===i.invoice.status),e.xp6(2),e.hij(" ",e.lcZ(3,12,t.label)," "),e.xp6(2),e.Q6J("ngIf",i.isChildField(t.id)&&!t.id.includes("custom_")),e.xp6(1),e.Q6J("ngIf","multi"===t.display&&!t.lineSelected),e.xp6(1),e.Q6J("ngIf",i.isChildField(t.id)&&!t.lineSelected),e.xp6(1),e.Q6J("id",t.id)("formControl",t.control)("required",t.required)("pattern",t.pattern)("readonly","END"===i.invoice.status),e.xp6(1),e.Q6J("ngIf",t.control.errors)}}function Ix(n,o){if(1&n&&(e.ynx(0),e.YNc(1,qb,10,16,"mat-form-field",45),e.YNc(2,kx,9,14,"ng-template",null,46,e.W1O),e.BQk()),2&n){const t=e.MAs(3),i=e.oxw().$implicit,a=e.oxw(2).$implicit;e.xp6(1),e.Q6J("ngIf","supplier"===a.id&&"name"===i.id)("ngIfElse",t)}}function Px(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit;e.xp6(1),e.Oqu(t.cpt)}}function Rx(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",61),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw(2).$implicit,h=e.oxw(2);return e.KtG(h.duplicateField(a.id,l.id))}),e.TgZ(1,"mat-icon",62),e._uU(2,"add_circle"),e.qZA()()}}function Fx(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",63),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw(2).$implicit,h=e.oxw(2);return e.KtG(h.removeDuplicateField(a.id,l.id))}),e.TgZ(1,"mat-icon",64),e._uU(2,"delete_forever"),e.qZA()()}}function zb(n,o){if(1&n&&(e.TgZ(0,"mat-error",54),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw(2).$implicit,a=e.oxw(2);e.xp6(1),e.hij(" ",a.getErrorMessage(t.id,i.id)," ")}}function N2(n,o){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"mat-form-field",57)(2,"mat-label",48),e._uU(3),e.ALo(4,"translate"),e.YNc(5,Px,2,1,"span",0),e.qZA(),e.YNc(6,Rx,3,0,"span",58),e.YNc(7,Fx,3,0,"span",59),e.TgZ(8,"textarea",65),e.NdJ("focusin",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw(4);return e.KtG(h.ocr(a,!0,l.color))})("focusout",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw(4);return h.ocr(a,!1),e.KtG(h.saveData(a.target.value,l.id))}),e.qZA(),e.YNc(9,zb,2,1,"mat-error",50),e.qZA(),e.BQk()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(4);e.xp6(1),e.ekj("opacity-50","END"===i.invoice.status),e.xp6(2),e.hij(" ",e.lcZ(4,12,t.label)," "),e.xp6(2),e.Q6J("ngIf",i.isChildField(t.id)&&!t.id.includes("custom_")),e.xp6(1),e.Q6J("ngIf","multi"===t.display&&!t.lineSelected),e.xp6(1),e.Q6J("ngIf",i.isChildField(t.id)&&!t.lineSelected),e.xp6(1),e.Q6J("id",t.id)("required",t.required)("formControl",t.control)("pattern",t.pattern)("readonly","END"===i.invoice.status),e.xp6(1),e.Q6J("ngIf",t.control.errors)}}function Nx(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit;e.xp6(1),e.Oqu(t.cpt)}}function Bx(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",61),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw(2).$implicit,h=e.oxw(2);return e.KtG(h.duplicateField(a.id,l.id))}),e.TgZ(1,"mat-icon",62),e._uU(2,"add_circle"),e.qZA()()}}function Ux(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",63),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw(2).$implicit,h=e.oxw(2);return e.KtG(h.removeDuplicateField(a.id,l.id))}),e.TgZ(1,"mat-icon",64),e._uU(2,"delete_forever"),e.qZA()()}}function Qb(n,o){if(1&n&&(e.TgZ(0,"mat-error",54),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw(2).$implicit,a=e.oxw(2);e.xp6(1),e.hij(" ",a.getErrorMessage(t.id,i.id)," ")}}function Xb(n,o){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"mat-form-field",57)(2,"mat-label",48),e._uU(3),e.ALo(4,"translate"),e.YNc(5,Nx,2,1,"span",0),e.qZA(),e.YNc(6,Bx,3,0,"span",58),e.YNc(7,Ux,3,0,"span",59),e.TgZ(8,"input",66),e.NdJ("focusin",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw(4);return e.KtG(h.ocr(a,!0,l.color))})("focusout",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw(4);return h.ocr(a,!1),e.KtG(h.saveData(a.target.value,l.id))})("dateChange",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw(4);return e.KtG(h.saveData(a.targetElement.value,l.id))}),e.qZA(),e._UZ(9,"mat-datepicker-toggle",67)(10,"mat-datepicker",null,68),e.YNc(12,Qb,2,1,"mat-error",50),e.qZA(),e.BQk()}if(2&n){const t=e.MAs(11),i=e.oxw().$implicit,a=e.oxw(4);e.xp6(1),e.ekj("opacity-50","END"===a.invoice.status),e.xp6(2),e.hij(" ",e.lcZ(4,14,i.label)," "),e.xp6(2),e.Q6J("ngIf",a.isChildField(i.id)&&!i.id.includes("custom_")),e.xp6(1),e.Q6J("ngIf","multi"===i.display&&!i.lineSelected),e.xp6(1),e.Q6J("ngIf",a.isChildField(i.id)&&!i.lineSelected),e.xp6(1),e.Q6J("id",i.id)("matDatepicker",t)("formControl",i.control)("readonly","END"===a.invoice.status)("required",i.required),e.xp6(1),e.Q6J("disabled","END"===a.invoice.status)("for",t),e.xp6(3),e.Q6J("ngIf",i.control.errors)}}function mm(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit;e.xp6(1),e.Oqu(t.cpt)}}function ey(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",61),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw(2).$implicit,h=e.oxw(2);return e.KtG(h.duplicateField(a.id,l.id))}),e.TgZ(1,"mat-icon",62),e._uU(2,"add_circle"),e.qZA()()}}function Dv(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",63),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw(2).$implicit,h=e.oxw(2);return e.KtG(h.removeDuplicateField(a.id,l.id))}),e.TgZ(1,"mat-icon",64),e._uU(2,"delete_forever"),e.qZA()()}}function Fc(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-option",72),e.NdJ("onSelectionChange",function(a){e.CHM(t);const l=e.oxw(7);return e.KtG(l.setAutocompleteDefaultValue(a))}),e._UZ(1,"span",56),e.ALo(2,"highlight"),e.TgZ(3,"span",73),e._uU(4),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw(7);e.Q6J("value",t.data)("id",t.res_id),e.xp6(1),e.Q6J("innerHTML",e.xi3(2,4,t.data,i.toHighlight),e.oJD),e.xp6(3),e.hij(" ",t.alt_identifier," ")}}function ty(n,o){if(1&n&&(e.TgZ(0,"span"),e.YNc(1,Fc,5,7,"mat-option",71),e.ALo(2,"async"),e.qZA()),2&n){const t=e.oxw(2).$implicit;e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,1,t.autocomplete_values))}}function bf(n,o){1&n&&(e.TgZ(0,"mat-option"),e._UZ(1,"span",56),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.Q6J("innerHTML",e.lcZ(2,1,"VERIFIER.no_autocomplete_data"),e.oJD))}function gm(n,o){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"mat-form-field",57)(2,"mat-label",48),e._uU(3),e.ALo(4,"translate"),e.YNc(5,mm,2,1,"span",0),e.qZA(),e.YNc(6,ey,3,0,"span",58),e.YNc(7,Dv,3,0,"span",59),e.TgZ(8,"input",69),e.NdJ("focusin",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw(4);return e.KtG(h.ocr(a,!0,l.color))})("focusout",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw(4);return h.ocr(a,!1),e.KtG(h.saveData(a.target.value,l.id))}),e.qZA(),e.TgZ(9,"mat-autocomplete",null,70),e.YNc(11,ty,3,3,"span",0),e.YNc(12,bf,3,3,"mat-option",0),e.qZA()(),e.BQk()}if(2&n){const t=e.MAs(10),i=e.oxw().$implicit,a=e.oxw(4);e.xp6(3),e.hij(" ",e.lcZ(4,11,i.label)," "),e.xp6(2),e.Q6J("ngIf",a.isChildField(i.id)&&!i.id.includes("custom_")),e.xp6(1),e.Q6J("ngIf","multi"===i.display&&!i.lineSelected),e.xp6(1),e.Q6J("ngIf",a.isChildField(i.id)&&!i.lineSelected),e.xp6(1),e.Q6J("id",i.id)("required",i.required)("formControl",i.control)("matAutocomplete",t)("readonly","END"===a.invoice.status),e.xp6(3),e.Q6J("ngIf",i.autocomplete_values),e.xp6(1),e.Q6J("ngIf",!i.autocomplete_values)}}function iy(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw(3).$implicit;e.xp6(1),e.Oqu(t.cpt)}}function ny(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",61),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3).$implicit,l=e.oxw(2).$implicit,h=e.oxw(2);return e.KtG(h.duplicateField(a.id,l.id))}),e.TgZ(1,"mat-icon",62),e._uU(2,"add_circle"),e.qZA()()}}function ay(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",63),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3).$implicit,l=e.oxw(2).$implicit,h=e.oxw(2);return e.KtG(h.removeDuplicateField(a.id,l.id))}),e.TgZ(1,"mat-icon",64),e._uU(2,"delete_forever"),e.qZA()()}}function yf(n,o){1&n&&(e.TgZ(0,"mat-hint",78),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VERIFIER.accounting_plan_empty")," "))}function Tf(n,o){if(1&n&&(e.TgZ(0,"mat-option",55),e._UZ(1,"span",56),e.ALo(2,"highlight"),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(7);e.Q6J("value",t.compte_lib)("id",t.compte_num),e.xp6(1),e.Q6J("innerHTML",e.xi3(2,3,t.compte_num+" - "+t.compte_lib,i.toHighlightAccounting),e.oJD)}}function oy(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",57)(1,"mat-label",48),e._uU(2),e.ALo(3,"translate"),e.YNc(4,iy,2,1,"span",0),e.qZA(),e.YNc(5,ny,3,0,"span",58),e.YNc(6,ay,3,0,"span",59),e._UZ(7,"input",75),e.YNc(8,yf,3,3,"mat-hint",76),e.TgZ(9,"mat-autocomplete",null,77),e.YNc(11,Tf,3,6,"mat-option",53),e.ALo(12,"async"),e.qZA()()),2&n){const t=e.MAs(10),i=e.oxw(2).$implicit,a=e.oxw(4);e.ekj("opacity-50","END"===a.invoice.status),e.xp6(2),e.hij(" ",e.lcZ(3,13,i.label)," "),e.xp6(2),e.Q6J("ngIf",a.isChildField(i.id)&&!i.id.includes("custom_")),e.xp6(1),e.Q6J("ngIf","multi"===i.display&&!i.lineSelected),e.xp6(1),e.Q6J("ngIf",a.isChildField(i.id)&&!i.lineSelected),e.xp6(1),e.Q6J("id",i.id)("required",i.required)("formControl",i.control)("matAutocomplete",t)("readonly","END"===a.invoice.status),e.xp6(1),e.Q6J("ngIf",a.accountingPlanEmpty),e.xp6(3),e.Q6J("ngForOf",e.lcZ(12,15,i.values))}}function ry(n,o){if(1&n&&(e.TgZ(0,"mat-option",27),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.compte_num),e.xp6(1),e.AsE(" ",t.compte_num," - ",t.compte_lib," ")}}function Zx(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",57)(1,"mat-label",48),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",79),e.YNc(5,ry,2,3,"mat-option",21),e.qZA()()),2&n){const t=e.oxw(2).$implicit,i=e.oxw(4);e.ekj("opacity-50","END"===i.invoice.status),e.xp6(2),e.hij(" ",e.lcZ(3,6,t.label)," "),e.xp6(2),e.Q6J("id",t.id)("disabled","END"===i.invoice.status),e.xp6(1),e.Q6J("ngForOf",t.values)}}function Yx(n,o){if(1&n&&(e.ynx(0),e.YNc(1,oy,13,17,"mat-form-field",74),e.YNc(2,Zx,6,8,"mat-form-field",74),e.BQk()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.Q6J("ngIf",t.id.includes("accounting_plan")),e.xp6(1),e.Q6J("ngIf",!t.id.includes("accounting_plan"))}}function Ev(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",80),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().$implicit,l=e.oxw(2).$implicit,h=e.oxw(2);return e.KtG(h.duplicateLine(a.id,l.id))}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon",62),e._uU(3,"add_circle"),e.qZA()()}2&n&&e.Q6J("matTooltip",e.lcZ(1,1,"VERIFIER.duplicate_line"))}function Hx(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",81),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().$implicit,l=e.oxw(2).$implicit,h=e.oxw(2);return e.KtG(h.removeDuplicateLine(a.id,l.id))}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon",62),e._uU(3,"remove_circle"),e.qZA()()}2&n&&e.Q6J("matTooltip",e.lcZ(1,1,"VERIFIER.duplicate_line"))}function sy(n,o){if(1&n&&(e.TgZ(0,"div",42),e.YNc(1,Ix,4,2,"ng-container",0),e.YNc(2,N2,10,14,"ng-container",0),e.YNc(3,Xb,13,16,"ng-container",0),e.YNc(4,gm,13,13,"ng-container",0),e.YNc(5,Yx,3,2,"ng-container",0),e.YNc(6,Ev,4,3,"span",43),e.YNc(7,Hx,4,3,"span",44),e.qZA()),2&n){const t=o.$implicit;e.Tol(t.class),e.xp6(1),e.Q6J("ngIf","text"===t.type),e.xp6(1),e.Q6J("ngIf","textarea"===t.type),e.xp6(1),e.Q6J("ngIf","date"===t.type),e.xp6(1),e.Q6J("ngIf","autocomplete"===t.type),e.xp6(1),e.Q6J("ngIf","select"===t.type),e.xp6(1),e.Q6J("ngIf",t.fullSizeSelected),e.xp6(1),e.Q6J("ngIf",t.deleteLine)}}function ly(n,o){if(1&n&&(e.ynx(0),e.TgZ(1,"div",28),e._uU(2),e.ALo(3,"translate"),e.YNc(4,Sx,3,3,"span",29),e.YNc(5,Ax,3,3,"span",30),e.YNc(6,Kb,3,2,"span",31),e.qZA(),e.TgZ(7,"div",32)(8,"div",33),e.YNc(9,sy,8,9,"div",34),e.qZA()(),e.BQk()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Akn("width:calc(3% + "+(i.translate.instant(t.label).length+5)+"%)"),e.xp6(1),e.hij(" ",e.lcZ(3,8,t.label)," "),e.xp6(2),e.Q6J("ngIf",i.getOnlyRawFooter&&i.translate.instant(t.label)===i.translate.instant("FORMS.supplier")),e.xp6(1),e.Q6J("ngIf",!i.getOnlyRawFooter&&i.translate.instant(t.label)===i.translate.instant("FORMS.supplier")),e.xp6(1),e.Q6J("ngIf",i.translate.instant(t.label)===i.translate.instant("FORMS.supplier")),e.xp6(2),e.s9C("id",t.id),e.xp6(1),e.Q6J("ngForOf",i.form[t.id])}}function B2(n,o){if(1&n&&(e.ynx(0),e.YNc(1,ly,10,10,"ng-container",0),e.BQk()),2&n){const t=o.$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",0!==i.form[t.id].length)}}function wv(n,o){1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"FORMS.validate")))}function Sv(n,o){1&n&&e._UZ(0,"i",82)}function Vx(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",10)(1,"div")(2,"div",11)(3,"i",12),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.hideVisuals())}),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",13)(6,"mat-accordion")(7,"mat-expansion-panel",14),e.NdJ("expandedChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.settingsOpen=a)}),e.TgZ(8,"mat-expansion-panel-header")(9,"mat-panel-title",15),e._uU(10),e.ALo(11,"translate"),e.qZA()(),e.TgZ(12,"mat-tab-group",16)(13,"mat-tab",17),e.ALo(14,"translate"),e.TgZ(15,"p",18),e._uU(16),e.ALo(17,"translate"),e.qZA(),e.TgZ(18,"mat-form-field",19)(19,"mat-select",20),e.NdJ("valueChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.currentFormFields.form_id=a)})("selectionChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.changeForm(a))}),e.YNc(20,Vb,2,2,"mat-option",21),e.qZA(),e.TgZ(21,"mat-hint"),e._uU(22),e.ALo(23,"translate"),e.qZA()()()()()()()(),e.YNc(24,B2,2,1,"ng-container",22),e.TgZ(25,"div",23)(26,"button",24),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.validateForm())}),e.YNc(27,wv,3,3,"span",0),e.YNc(28,Sv,1,0,"i",25),e.qZA(),e.TgZ(29,"button",26),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.refuseForm())}),e._uU(30),e.ALo(31,"translate"),e.qZA()()()}if(2&n){const t=e.oxw();e.xp6(3),e.ekj("fa-eye-slash",t.visualIsHide),e.Q6J("matTooltip",e.lcZ(4,20,"VERIFIER.hide_visuals")),e.xp6(4),e.Q6J("expanded",t.settingsOpen),e.xp6(3),e.Oqu(e.lcZ(11,22,"GLOBAL.settings")),e.xp6(3),e.Q6J("label",e.lcZ(14,24,"VERIFIER.change_form")),e.xp6(3),e.Oqu(e.lcZ(17,26,"VERIFIER.change_form_details")),e.xp6(2),e.ekj("opacity-50","END"===t.invoice.status),e.xp6(1),e.Q6J("value",t.currentFormFields.form_id)("disabled","END"===t.invoice.status),e.xp6(1),e.Q6J("ngForOf",t.formList),e.xp6(2),e.AsE("",e.lcZ(23,28,"VERIFIER.outputs_list")," : ",t.outputsLabel.join(", "),""),e.xp6(2),e.Q6J("ngForOf",t.fieldCategories),e.xp6(2),e.Q6J("disabled","END"===t.invoice.status),e.xp6(1),e.Q6J("ngIf",!t.loadingSubmit),e.xp6(1),e.Q6J("ngIf",t.loadingSubmit),e.xp6(1),e.Q6J("disabled","END"===t.invoice.status),e.xp6(1),e.hij(" ",e.lcZ(31,30,"FORMS.refuse")," ")}}let Av=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt,Ft){this.router=t,this.http=i,this.route=a,this.sanitizer=l,this.authService=h,this.userService=E,this.translate=B,this.notify=oe,this.localeService=xe,this.configService=Ve,this.historyService=lt,this.localStorageService=Ft,this.isOCRRunning=!1,this.settingsOpen=!1,this.ocrFromUser=!1,this.accountingPlanEmpty=!1,this.getOnlyRawFooter=!1,this.disableOCR=!1,this.tokenError=!1,this.visualIsHide=!1,this.saveInfo=!0,this.loading=!0,this.loadingSubmit=!1,this.supplierExists=!0,this.deleteDataOnChangeForm=!0,this.oldVAT="",this.oldSIRET="",this.oldSIREN="",this.currentFilename="",this.lastLabel="",this.lastId="",this.lastColor="",this.toHighlight="",this.toHighlightAccounting="",this.token="",this.imgSrc="",this.ratio=0,this.currentPage=1,this.accountingPlan={},this.formSettings={},this.formList={},this.currentFormFields={},this.suppliers=[],this.currentSupplier={},this.outputsLabel=[],this.outputs=[],this.imgArray={},this.fieldCategories=[{id:"supplier",label:this.translate.instant("FORMS.supplier")},{id:"facturation",label:this.translate.instant("FACTURATION.facturation")},{id:"other",label:this.translate.instant("FORMS.other")}],this.form={supplier:[],facturation:[],other:[]},this.pattern={alphanum:"^[(\\-)?0-9a-zA-Z\\s']*$",alphanum_extended:"^[(\\-)?0-9a-zA-Z-/#,\\.'\\s]*$",alphanum_extended_with_accent:"^[(\\-)?0-9a-zA-Z\\u00C0-\\u017F-/#,'\\.\\s]*$",number_int:"^[(\\-)?0-9]*$",number_float:"^[(\\-)?0-9]*([.][0-9]*)*$",char:"^[A-Za-z\\s]*$",email:"^([A-Za-z0-9]+[\\.\\-_])*[A-Za-z0-9]+@[A-Za-z0-9-]+(\\.[A-Z|a-z]{2,})+$"},this.supplierNamecontrol=new A.NI}ngOnInit(){var t=this;return xa(function*(){t.authService.headersExists||t.authService.generateHeaders(),t.localStorageService.save("splitter_or_verifier","verifier"),t.ocrFromUser=!1,t.saveInfo=!0,t.config=t.configService.getConfig(),t.invoiceId=t.route.snapshot.params.id,t.translate.get("HISTORY-DESC.viewer",{document_id:t.invoiceId}).subscribe(l=>{t.historyService.addHistory("verifier","viewer",l)}),t.updateInvoice({locked:!0,locked_by:t.userService.user.username}),t.invoice=yield t.getInvoice(),t.currentFilename=t.invoice.full_jpg_filename,yield t.getThumb(t.invoice.full_jpg_filename),t.invoice.form_id&&(yield t.generateOutputs(t.invoice.form_id)),t.formList=yield t.getAllForm(),t.formList=t.formList.forms,t.suppliers=yield t.retrieveSuppliers(),t.suppliers=t.suppliers.suppliers;let i=!1;if(t.invoice.supplier_id)for(const l of t.suppliers)l.id===t.invoice.supplier_id&&(t.currentSupplier=l,l.form_id&&(i=l.form_id));if(0===Object.keys(t.currentFormFields).length){let l=!1;if(i)yield t.generateOutputs(i);else{for(const h of t.formList)h.default_form&&(l=h.id);l&&(yield t.generateOutputs(l))}l||i?t.currentFormFields=yield t.getForm():(t.notify.error(t.translate.instant("FORMS.no_form_available")),yield t.router.navigate(["/verifier/list"]))}t.imageInvoice=$("#document_image"),t.ratio=t.invoice.img_width/t.imageInvoice.width(),t.ocr({target:{id:"",labels:[{textContent:""}]}},!0),yield t.fillForm(t.currentFormFields),t.invoice.supplier_id&&t.getSupplierInfo(t.invoice.supplier_id,!1,!0),setTimeout(()=>{t.drawPositions(),t.convertAutocomplete(),document.getElementById("image").scrollTo({top:0,behavior:"smooth"}),t.loading=!1},500),$(".trigger").hide(),t.filteredOptions=t.supplierNamecontrol.valueChanges.pipe((0,mt.O)(""),(0,Mn.U)(l=>l?t._filter(l):t.suppliers.slice()))})()}convertAutocomplete(){this.outputs.forEach(t=>{if(t.data.options.links&&"export_maarch"===t.output_type_id){const i={host:t.data.options.auth[0].value,login:t.data.options.auth[1].value,password:t.data.options.auth[2].value,autocompleteField:"",maarchCustomField:"",maarchClause:"",vatNumberContactCustom:"",enabled:!1,supplierCustomId:""};t.data.options.links.forEach(a=>{"enabled"===a.id&&a.value&&(i.enabled=!0),"openCaptureField"===a.id&&a.value?i.autocompleteField=a.value:"maarchCustomField"===a.id&&a.value?i.maarchCustomField=a.value:"maarchClause"===a.id&&a.value?i.maarchClause=a.value:"vatNumberContactCustom"===a.id&&a.value&&(i.vatNumberContactCustom=a.value)}),i.enabled&&(this.form.supplier.forEach(a=>{("vat_number"===a.id||"siret"===a.id)&&(i.supplierCustomId+=a.control.value)}),this.form.facturation.forEach(a=>{a.id===i.autocompleteField&&this.http.post(m.N.url+"/ws/maarch/getDocumentsWithContact",i,{headers:this.authService.headers}).pipe((0,$e.b)(l=>{a.type="autocomplete",l&&l.count>0&&(a.autocomplete_values=a.control.valueChanges.pipe((0,mt.O)(""),(0,Mn.U)(h=>h?this._filter_data(h,l.resources):l.resources.slice())))}),(0,Ke.K)(l=>(console.debug(l),this.notify.handleErrors(l),(0,ie.of)(!1)))).subscribe()}))}})}generateOutputs(t){var i=this;return xa(function*(){if(i.currentFormFields=yield i.getFormFieldsById(t),i.formSettings=yield i.getFormById(t),0!==i.formSettings.outputs.length)for(const a in i.formSettings.outputs){const l=yield i.getOutputs(i.formSettings.outputs[a]);i.outputs.push(l),i.outputsLabel.push(l.output_label)}if(i.formSettings.supplier_verif&&!i.token){const a=yield i.generateTokenInsee();a.token&&(a.token.includes("ERROR")?(i.tokenError=!0,i.token=a.token.replace("ERROR : ","")):(i.tokenError=!1,i.token=a.token))}})()}generateTokenInsee(){var t=this;return xa(function*(){return yield t.http.get(m.N.url+"/ws/verifier/getTokenINSEE",{headers:t.authService.headers}).toPromise()})()}getThumb(t){var i=this;return xa(function*(){const a=t.split("-")[t.split("-").length-1].split(".")[0];return i.imgArray[a]?i.imgSrc=i.imgArray[a]:i.http.post(m.N.url+"/ws/verifier/getThumb",{args:{type:"full",filename:t}},{headers:i.authService.headers}).pipe((0,$e.b)(l=>{i.imgSrc=i.sanitizer.bypassSecurityTrustUrl("data:image/jpeg;base64, "+l.file),i.imgArray[a]=i.imgSrc}),(0,Ke.K)(l=>(console.debug(l),i.notify.handleErrors(l),(0,ie.of)(!1)))).subscribe(),i.imgSrc})()}_filter(t){this.toHighlight=t;const i=t.toLowerCase(),a=this.suppliers.filter(l=>-1!==l.name.toLowerCase().indexOf(i));return this.supplierExists=0!==a.length,this.supplierExists||this.form.supplier.forEach(l=>{"name"!==l.id&&(l.control.setValue(""),l.control.setErrors(null))}),a}_filter_data(t,i){this.toHighlight=t;const a=t.toLowerCase();return i.filter(l=>-1!==l.data.toLowerCase().indexOf(a))}updateFilteredOption(t,i){let a="";t.target.value?a=t.target.value:i.value&&(a=i.value),i.patchValue(a)}getFieldInfo(t){for(const i in this.fields)for(const a in this.form[i]){const l=this.form[i][a];if(l.id===t)return l}}drawPositions(){var t=this;return xa(function*(){for(const i in t.invoice.datas){const a=t.getPage(i),l=t.invoice.positions[i];if(l&&parseInt(String(a))===parseInt(String(t.currentPage))){const h=i.split("_"),E=t.getFieldInfo(i);let B="0";!isNaN(parseInt(h[h.length-1]))&&!i.includes("custom_")&&(B=h[h.length-1]),E&&(t.drawPositionByField(E,l,B),$("#"+E.id).blur())}}})()}drawPositionByField(t,i,a="0"){this.lastId=t.id,this.lastLabel=this.translate.instant(t.label).trim(),"0"!==a&&(this.lastLabel+=" "+parseInt(a)),this.lastColor=t.color,this.disableOCR=!0;const l={x:i.ocr_from_user?i.x/this.ratio:i.x/this.ratio-i.x/this.ratio*.005,y:i.ocr_from_user?i.y/this.ratio:i.y/this.ratio-i.y/this.ratio*.003,width:i.ocr_from_user?i.width/this.ratio:i.width/this.ratio+i.width/this.ratio*.05,height:i.ocr_from_user?i.height/this.ratio:i.height/this.ratio+i.height/this.ratio*.6},h=$(".trigger");h.hide(),h.trigger("mousedown"),h.trigger("mouseup",[l])}getPage(t){let i=1;return this.invoice.pages&&Object.keys(this.invoice.pages).forEach(a=>{a===t&&(i=this.invoice.pages[t])}),i}retrieveSuppliers(){var t=this;return xa(function*(){return yield t.http.get(m.N.url+"/ws/accounts/suppliers/list?order=name ASC",{headers:t.authService.headers}).toPromise()})()}getInvoice(){var t=this;return xa(function*(){return yield t.http.get(m.N.url+"/ws/verifier/invoices/"+t.invoiceId,{headers:t.authService.headers}).toPromise()})()}getForm(){var t=this;return xa(function*(){return t.invoice.form_id?yield t.http.get(m.N.url+"/ws/forms/fields/getByFormId/"+t.invoice.form_id,{headers:t.authService.headers}).toPromise():t.invoice.supplier_id?yield t.http.get(m.N.url+"/ws/forms/fields/getBySupplierId/"+t.invoice.supplier_id,{headers:t.authService.headers}).toPromise():yield t.http.get(m.N.url+"/ws/forms/getDefault/verifier",{headers:t.authService.headers}).toPromise()})()}getAllForm(){var t=this;return xa(function*(){return yield t.http.get(m.N.url+"/ws/forms/list?module=verifier",{headers:t.authService.headers}).toPromise()})()}getFormFieldsById(t){var i=this;return xa(function*(){return yield i.http.get(m.N.url+"/ws/forms/fields/getByFormId/"+t,{headers:i.authService.headers}).toPromise()})()}getFormById(t){var i=this;return xa(function*(){return yield i.http.get(m.N.url+"/ws/forms/getById/"+t,{headers:i.authService.headers}).toPromise()})()}fillForm(t){var i=this;return xa(function*(){i.form={supplier:[],facturation:[],other:[]},i.fields=t.fields;for(const a in i.fields)for(const l in i.fields[a]){const h=i.fields[a][l];i.form[a].push({id:h.id,label:h.label,required:h.required,control:new A.NI,type:h.type,pattern:i.getPattern(h.format),color:h.color,unit:h.unit,class:h.class,format:h.format,display:h.display,format_icon:h.format_icon,display_icon:h.display_icon,class_label:h.class_label,cpt:0,values:"",lineSelected:h.lineSelected,fullSizeSelected:h.fullSizeSelected});const E=i.form[a][i.form[a].length-1];if("accounting_plan"===h.id){let B={};B=yield i.retrieveAccountingPlan(),i.accountingPlanEmpty=0===Object.keys(B).length,i.accountingPlanEmpty&&(B=yield i.retrieveDefaultAccountingPlan()),i.accountingPlan=i.sortArray(B),E.values=i.form[a][l].control.valueChanges.pipe((0,mt.O)(""),(0,Mn.U)(oe=>oe?i._filter_accounting(i.accountingPlan,oe):i.accountingPlan))}if(i.invoice.datas[h.id]){let B=i.invoice.datas[h.id];if("date"===h.format&&""!==h.id&&void 0!==h.id&&B){B=B.replaceAll(".","/"),B=B.replaceAll(",","/"),B=B.replaceAll(" ","/");const oe=M().localeData().longDateFormat("L");B=M(B,oe),B=new Date(B._d)}E.control.setValue(B),E.control.markAsTouched(),("siret"===h.id||"siren"===h.id)&&i.checkSirenOrSiret(h.id,B),"vat_number"===h.id&&i.checkVAT(h.id,B)}if("name"===h.id&&"supplier"===a&&(i.supplierNamecontrol=i.form[a][l].control),h.lineSelected||h.fullSizeSelected){if(h.fullSizeSelected)for(const B in i.invoice.datas)B.includes(h.id+"_")&&i.duplicateLine(h.id,a,!0)}else i.findChildren(h.id,E,a)}})()}getOutputs(t){var i=this;return xa(function*(){return yield i.http.get(m.N.url+"/ws/outputs/getById/"+t,{headers:i.authService.headers}).toPromise()})()}_filter_accounting(t,i){this.toHighlightAccounting=i;const a=i.toLowerCase();return t.filter(l=>-1!==l.compte_lib.toLowerCase().indexOf(a)||-1!==l.compte_num.toLowerCase().indexOf(a))}sortArray(t){return t.sort((i,a)=>{const l=i.compte_num,h=a.compte_num;return l===h?0:l>h?1:-1})}retrieveAccountingPlan(){var t=this;return xa(function*(){return yield t.http.get(m.N.url+"/ws/accounts/customers/getAccountingPlan/"+t.invoice.customer_id,{headers:t.authService.headers}).toPromise()})()}retrieveDefaultAccountingPlan(){var t=this;return xa(function*(){return yield t.http.get(m.N.url+"/ws/accounts/customers/getDefaultAccountingPlan",{headers:t.authService.headers}).toPromise()})()}hideVisuals(){this.visualIsHide=!this.visualIsHide;const t=document.getElementsByClassName("select-areas-background-area");Array.from(t).forEach(i=>{const a=i.id.match(/(\d+)/)[0];this.visualIsHide?(document.getElementById("select-areas-background-area_"+a).style.display="none",document.getElementById("select-areas-outline_"+a).style.display="none",document.getElementById("select-areas-label-container_"+a).style.display="none"):(document.getElementById("select-areas-background-area_"+a).style.display="block",document.getElementById("select-areas-outline_"+a).style.display="block",document.getElementById("select-areas-label-container_"+a).style.display="block")})}findChildren(t,i,a){for(const l in this.invoice.datas)if(l.includes(t+"_")){i.cpt+=1;const h=l.split("_"),E=parseInt(h[h.length-1])+1;this.form[a].push({id:l,label:i.label,required:i.required,control:new A.NI,type:i.type,pattern:this.getPattern(i.format),color:i.color,unit:i.unit,class:i.class,format:i.format,display:"simple",format_icon:i.format_icon,display_icon:i.display_icon,class_label:i.class_label,cpt:E}),this.form[a][this.form[a].length-1].control.setValue(this.invoice.datas[l])}}getSelectionByCpt(t,i){for(const a in t)if(t[a].id===i)return t[a]}ocr(t,i,a="green"){$(".trigger").show();const l=this;this.lastId=t.target.id,this.lastLabel=t.target.labels[0].textContent.replace("*","").trim(),this.lastColor=a;const h=$(".image-container"),E=$(".delete-area"),B=$(".select-areas-background-area"),oe=$(".select-areas-resize-handler");if("END"!==this.invoice.status&&(E.addClass("pointer-events-auto"),B.addClass("pointer-events-auto"),oe.addClass("pointer-events-auto")),h.addClass("pointer-events-none"),h.addClass("cursor-auto"),i)$(".outline_"+l.lastId).toggleClass("animate"),this.scrollToElement(),"END"!==this.invoice.status&&(h.removeClass("pointer-events-none"),h.removeClass("cursor-auto")),this.imageInvoice.selectAreas({allowNudge:!1,minSize:[20,20],maxSize:[this.imageInvoice.width(),this.imageInvoice.height()/8],onChanged(xe,Ve,lt){if(0!==lt.length&&0!==lt.width&&0!==lt.height&&l.lastId){if($("#select-area-label_"+Ve).length>0){const Ft=$("#select-area-label_"+Ve).attr("class").replace("input_","").replace("select-none","");Ft.trim()!==l.lastId.trim()&&(l.lastId=Ft,l.lastLabel=$("#select-area-label_"+Ve).text())}l.ocr_process(xe,Ve,lt)}},onDeleted(xe,Ve){const lt=$("#select-area-label_"+Ve).attr("class").replace("input_","").replace("select-none","");lt&&(l.updateFormValue(lt,""),delete l.invoice.positions[lt.trim()],l.deleteDataOnChangeForm&&(l.deleteData(lt),l.deletePosition(lt),l.deletePage(lt)))}});else{let xe=!1;$(".select-areas-delete-area").click(()=>{xe=!0}),setTimeout(()=>{xe||(oe.hide(),E.hide())},200),$(".outline_"+l.lastId).removeClass("animate")}}scrollToElement(){if(this.invoice.positions[this.lastId]){const t=window.innerHeight;if(document.getElementsByClassName("input_"+this.lastId).length>0){const i=document.getElementsByClassName("input_"+this.lastId)[0].getBoundingClientRect().top;(i>=t||i<=t)&&document.getElementById("image").scrollTo({top:i-200,behavior:"smooth"})}}}ocr_process(t,i,a){const l=this.getPage(this.lastId);if(this.ocrFromUser||parseInt(String(l))===this.currentPage||0===l){if(0===$("#select-area-label_"+i).length){const oe=$("#select-areas-outline_"+i),xe=$("#select-areas-background-area_"+i),Ve=$("#select-areas-label-container_"+i),lt=$("#select-areas-delete_"+i),Ft=$(".select-areas-resize-handler_"+i);Ve.append('
'+this.lastLabel+"
"),xe.css("background-color",this.lastColor),oe.addClass("outline_"+this.lastId),xe.addClass("background_"+this.lastId),Ft.addClass("resize_"+this.lastId),lt.addClass("delete_"+this.lastId),xe.data("page",l),Ve.data("page",l),oe.data("page",l),"END"===this.invoice.status&&(oe.addClass("pointer-events-none"),xe.addClass("pointer-events-none"),Ft.addClass("pointer-events-none"),lt.addClass("pointer-events-none"))}const h=$("#select-area-label_"+i).attr("class").replace("input_","").replace("select-none","");$("#"+h).focus();const E=$("div[id*=select-area-label_]:contains("+this.lastLabel+")"),B=E.length;if(B>1){const oe=E[B-1].id.split("_")[1];$("#select-areas-label-container_"+oe).remove(),$("#select-areas-background-area_"+oe).remove(),$("#select-areas-outline_"+oe).remove(),$("#select-areas-delete_"+oe).remove(),$(".select-areas-resize-handler_"+oe).remove()}if(!this.isOCRRunning&&!this.loading&&this.saveInfo){this.isOCRRunning=!0;let oe=this.localeService.currentLang;0!==Object.keys(this.currentSupplier).length&&(oe=this.currentSupplier.document_lang),this.http.post(m.N.url+"/ws/verifier/ocrOnFly",{selection:this.getSelectionByCpt(a,i),fileName:this.currentFilename,lang:oe,thumbSize:{width:t.currentTarget.width,height:t.currentTarget.height}},{headers:this.authService.headers}).pipe((0,$e.b)(xe=>{this.isOCRRunning=!1;let Ve={x:0,y:0,width:0,height:0};this.invoice.positions[h.trim()]&&(Ve={x:this.invoice.positions[h.trim()].x/this.ratio-this.invoice.positions[h.trim()].x/this.ratio*.005,y:this.invoice.positions[h.trim()].y/this.ratio-this.invoice.positions[h.trim()].y/this.ratio*.003,width:this.invoice.positions[h.trim()].width/this.ratio+this.invoice.positions[h.trim()].width/this.ratio*.05,height:this.invoice.positions[h.trim()].height/this.ratio+this.invoice.positions[h.trim()].height/this.ratio*.6});const lt=this.getSelectionByCpt(a,i);lt.x!==Ve.x&<.y!==Ve.y&<.width!==Ve.width&<.height!==Ve.height&&(this.updateFormValue(h,xe.result),this.saveData(xe.result,this.lastId,!0)&&(this.savePosition(lt),this.savePages(this.currentPage).then()))}),(0,Ke.K)(xe=>(console.debug(xe),this.notify.handleErrors(xe),(0,ie.of)(!1)))).subscribe()}this.saveInfo=!0}else{const h=$(".input_"+this.lastId),E=$(".background_"+this.lastId),B=$(".outline_"+this.lastId);h.remove(),E.remove(),B.remove()}}updateFormValue(t,i){for(const a in this.form)this.form[a].forEach(l=>{if(l.id.trim()===t.trim()){if(("number_int"===l.format||"number_float"===l.format)&&(i=i.replace(/[A-Za-z\u20ac%$]/g,"")),"date"===l.type){const h=M().localeData().longDateFormat("L");i=M(i,h),i=new Date(i._d)}l.control.setValue(i),l.control.markAsTouched()}})}savePosition(t){t={ocr_from_user:!0,x:t.x*this.ratio,y:t.y*this.ratio,height:t.height*this.ratio,width:t.width*this.ratio},this.invoice.supplier_id&&this.http.put(m.N.url+"/ws/accounts/supplier/"+this.invoice.supplier_id+"/updatePosition",{args:{form_id:this.currentFormFields.form_id,[this.lastId]:t}},{headers:this.authService.headers}).pipe((0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe(),this.http.put(m.N.url+"/ws/verifier/invoices/"+this.invoice.id+"/updatePosition",{args:{[this.lastId]:t}},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.invoice.positions[this.lastId]=t}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}savePages(t){var i=this;return xa(function*(){i.invoice.supplier_id&&i.http.put(m.N.url+"/ws/accounts/supplier/"+i.invoice.supplier_id+"/updatePage",{args:{form_id:i.currentFormFields.form_id,[i.lastId]:t}},{headers:i.authService.headers}).pipe((0,Ke.K)(a=>(console.debug(a),i.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe(),i.http.put(m.N.url+"/ws/verifier/invoices/"+i.invoice.id+"/updatePage",{args:{[i.lastId]:t}},{headers:i.authService.headers}).pipe((0,$e.b)(()=>{i.invoice.pages[i.lastId]=t}),(0,Ke.K)(a=>(console.debug(a),i.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe()})()}saveData(t,i=!1,a=!1){if("END"!==this.invoice.status){const l=t;if(i){const h=this.getField(i);if(0!==Object.keys(h).length)return("addresses"===h.unit||"supplier"===h.unit)&&(a=!1),!h.control.errors&&this.invoice.datas[i]!==t&&(this.http.put(m.N.url+"/ws/verifier/invoices/"+this.invoice.id+"/updateData",{args:t={[i]:t}},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.invoice.datas[i]=l,a&&this.notify.success(this.translate.instant("INVOICES.position_and_data_updated",{input:this.lastLabel}))}),(0,Ke.K)(E=>(console.debug(E),this.notify.handleErrors(E),(0,ie.of)(!1)))).subscribe(),!0)}}return!1}createSupplier(){var t=this;const i={},a={};this.fields.supplier.forEach(l=>{const h=this.getField(l.id);"supplier"===l.unit&&(a[l.id]=h.control.value),"addresses"===l.unit&&(i[l.id]=h.control.value),this.saveData(h.control.value,l.id)}),this.http.post(m.N.url+"/ws/accounts/addresses/create",{args:i},{headers:this.authService.headers}).pipe((0,$e.b)(l=>{a.address_id=l.id,this.http.post(m.N.url+"/ws/accounts/suppliers/create",{args:a},{headers:this.authService.headers}).pipe((0,$e.b)(function(){var h=xa(function*(E){t.historyService.addHistory("accounts","create_supplier",t.translate.instant("HISTORY-DESC.create-supplier",{supplier:a.name})),t.notify.success(t.translate.instant("ACCOUNTS.supplier_created")),t.updateInvoice({supplier_id:E.id}),t.invoice.supplier_id=E.id,t.suppliers=yield t.retrieveSuppliers(),t.suppliers=t.suppliers.suppliers;for(const B of t.suppliers)B.id===t.invoice.supplier_id&&(t.currentSupplier=B)});return function(E){return h.apply(this,arguments)}}()),(0,Ke.K)(h=>(console.debug(h),this.notify.handleErrors(h),(0,ie.of)(!1)))).subscribe()}),(0,Ke.K)(l=>(console.debug(l),this.notify.handleErrors(l),(0,ie.of)(!1)))).subscribe()}editSupplier(){const t={},i={};this.fields.supplier.forEach(a=>{const l=this.getField(a.id);"supplier"===a.unit&&(t[a.id]=l.control.value),"addresses"===a.unit&&(i[a.id]=l.control.value),this.saveData(l.control.value,a.id)}),this.http.put(m.N.url+"/ws/accounts/suppliers/update/"+this.invoice.supplier_id,{args:t},{headers:this.authService.headers}).pipe((0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe(),this.http.put(m.N.url+"/ws/accounts/addresses/updateBySupplierId/"+this.invoice.supplier_id,{args:i},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.historyService.addHistory("accounts","update_supplier",this.translate.instant("HISTORY-DESC.update-supplier",{supplier:t.name})),this.notify.success(this.translate.instant("ACCOUNTS.supplier_updated"))}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe()}updateInvoice(t){this.http.put(m.N.url+"/ws/verifier/invoices/"+this.invoiceId+"/update",{args:t},{headers:this.authService.headers}).pipe((0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}getField(t){let i={};for(const a in this.form)this.form[a].forEach(l=>{l.id.trim()===t.trim()&&(i=l)});return i}deleteData(t,i=!1){let a;a=i?{fields:t,multiple:!0}:t.trim(),this.http.put(m.N.url+"/ws/verifier/invoices/"+this.invoice.id+"/deleteData",{args:a},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("INVOICES.data_deleted",{input:this.lastLabel}))}),(0,Ke.K)(l=>(console.debug(l),this.notify.handleErrors(l),(0,ie.of)(!1)))).subscribe()}deletePosition(t,i=!1){let a;a=i?{fields:t,multiple:!0}:t.trim(),this.http.put(m.N.url+"/ws/verifier/invoices/"+this.invoice.id+"/deletePosition",{args:a},{headers:this.authService.headers}).pipe((0,Ke.K)(l=>(console.debug(l),this.notify.handleErrors(l),(0,ie.of)(!1)))).subscribe(),this.invoice.supplier_id&&(a=i?{fields:t,multiple:!0,form_id:this.invoice.form_id}:{field_id:t.trim(),form_id:this.invoice.form_id},this.http.put(m.N.url+"/ws/accounts/suppliers/"+this.invoice.supplier_id+"/deletePosition",{args:a},{headers:this.authService.headers}).pipe((0,Ke.K)(l=>(console.debug(l),this.notify.handleErrors(l),(0,ie.of)(!1)))).subscribe())}deletePage(t,i=!1){let a;a=i?{fields:t,multiple:!0}:t.trim(),this.http.put(m.N.url+"/ws/verifier/invoices/"+this.invoice.id+"/deletePage",{args:a},{headers:this.authService.headers}).pipe((0,Ke.K)(l=>(console.debug(l),this.notify.handleErrors(l),(0,ie.of)(!1)))).subscribe(),this.invoice.supplier_id&&(a=i?{fields:t,multiple:!0,form_id:this.invoice.form_id}:{field_id:t.trim(),form_id:this.invoice.form_id},this.http.put(m.N.url+"/ws/accounts/suppliers/"+this.invoice.supplier_id+"/deletePage",{args:a},{headers:this.authService.headers}).pipe((0,Ke.K)(l=>(console.debug(l),this.notify.handleErrors(l),(0,ie.of)(!1)))).subscribe())}getPattern(t){let i="";for(const a in this.pattern)a===t&&(i=this.pattern[a]);return i}duplicateLine(t,i,a=!1){const l={},h={};if(this.form[i].forEach((E,B)=>{if(E.id.trim()===t.trim()){const oe=E.class.replace("w-1/","");if("full"!==oe)for(let xe=B-oe+1;xe<=B;xe++){const Ve=Object.assign({},this.form[i][xe]);if(this.form[i][xe].cpt+=1,Ve.id=Ve.id+"_"+this.form[i][xe].cpt,Ve.cpt=this.form[i][xe].cpt,Ve.display="simple",Ve.deleteLine=this.form[i][xe].fullSizeSelected,Ve.lineSelected=!0,Ve.fullSizeSelected=!1,Ve.control=new A.NI,this.invoice.datas[Ve.id]){let lt=this.invoice.datas[Ve.id];if("date"===Ve.format&&""!==Ve.id&&void 0!==Ve.id&<){lt=lt.replaceAll(".","/"),lt=lt.replaceAll(",","/"),lt=lt.replaceAll(" ","/");const Ft=M().localeData().longDateFormat("L");lt=M(lt,Ft),lt=new Date(lt._d)}Ve.control.setValue(lt),Ve.control.markAsTouched(),h[Ve.id]=lt}else l[Ve.id]="",h[Ve.id]="";this.form[i].splice(this.form[i][xe].cpt>1?xe+parseInt(oe)*parseInt(this.form[i][xe].cpt):xe+parseInt(oe),0,Ve),"accounting_plan"===Ve.id&&(this.form[i][B+E.cpt].values=this.form[i][B].control.valueChanges.pipe((0,mt.O)(""),(0,Mn.U)(lt=>lt?this._filter_accounting(this.accountingPlan,lt):this.accountingPlan)))}}}),a){let E=!0;Object.keys(h).forEach(B=>{h[B]&&(E=!1)}),E&&Object.keys(h).forEach(B=>{this.form[i].forEach((oe,xe)=>{if(B===oe.id){const Ve=oe.id.split("_").slice(0,-1).join("_");this.form[i].splice(xe,1),this.form[i].forEach(lt=>{lt.id.trim()===Ve.trim()&&(lt.cpt=lt.cpt-1)})}})})}else this.http.put(m.N.url+"/ws/verifier/invoices/"+this.invoice.id+"/updateData",{args:l},{headers:this.authService.headers}).pipe((0,Ke.K)(E=>(console.debug(E),this.notify.handleErrors(E),(0,ie.of)(!1)))).subscribe()}duplicateField(t,i){for(const a in this.form)a===i&&this.form[a].forEach((l,h)=>{if(l.id.trim()===t.trim()){const E=Object.assign({},l);E.id=E.id+"_"+l.cpt,l.cpt+=1,E.cpt=l.cpt,E.display="simple",E.control=new A.NI,this.form[a].splice(h+l.cpt,0,E),this.saveData("",E.id),this.notify.success(this.translate.instant("INVOICES.field_duplicated",{input:this.translate.instant(l.label)}))}})}removeDuplicateLine(t,i){const a=[];this.form[i].forEach((l,h)=>{if(l.id.trim()===t.trim()){const E=l.class.replace("w-1/","");if("full"!==E){for(let B=h-E+1;B<=h;B++){const oe=this.form[i][B].id.split("_").slice(0,-1).join("_");a.push(this.form[i][B].id),this.form[i].forEach(xe=>{xe.id.trim()===oe.trim()&&(xe.cpt=xe.cpt-1)})}this.form[i].splice(h+1-E,E)}}}),this.deleteData(a,!0),this.deletePosition(a,!0),this.deletePage(a,!0)}removeDuplicateField(t,i){const a=t.split("_").slice(0,-1).join("_");this.form[i].forEach((l,h)=>{l.id.trim()===t.trim()?(this.deleteData(l.id),this.deletePosition(l.id),this.deletePage(l.id),this.form[i].splice(h,1)):l.id.trim()===a.trim()&&(l.cpt=l.cpt-1)})}isChildField(t){const i=t.split("_");return Number.isInteger(parseInt(i[i.length-1]))&&!t.includes("custom_")}getSupplierInfo(t,i=!1,a=!1){this.suppliers.forEach(l=>{l.id===t&&this.http.get(m.N.url+"/ws/accounts/getAdressById/"+l.address_id,{headers:this.authService.headers}).pipe((0,$e.b)(h=>{const E={name:l.name,address1:h.address1,address2:h.address2,city:h.city,country:h.country,postal_code:h.postal_code,siret:l.siret,siren:l.siren,iban:l.iban,email:l.email,vat_number:l.vat_number};this.getOnlyRawFooter=l.get_only_raw_footer;for(const B in E)E[B]&&this.updateFormValue(B,E[B]);a||(this.updateInvoice({supplier_id:t}),this.saveData(E),this.http.put(m.N.url+"/ws/verifier/invoices/"+this.invoice.id+"/updateData",{args:E},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.invoice.supplier_id=t;for(const B of this.suppliers)B.id===this.invoice.supplier_id&&(this.currentSupplier=B);i&&this.notify.success(this.translate.instant("INVOICES.supplier_infos_updated"))}),(0,Ke.K)(B=>(console.debug(B),this.notify.handleErrors(B),(0,ie.of)(!1)))).subscribe())}),(0,Ke.K)(h=>(console.debug(h),this.notify.handleErrors(h),(0,ie.of)(!1)))).subscribe()})}verify(t,i,a=!1){if(a)return t.length===i;if(isNaN(t)||t.length!==i)return!1;let l=0,h=0;for(let E=i-1;E>=0;E--){const B=(t.charCodeAt(E)-48)*(l+1);h+=B>9?B-9:B,l=1-l}return h%10==0}getErrorMessage(t,i){let a;return this.form[i].forEach(l=>{if(l.id===t&&l.control.errors){const h=l.control.errors.required,E=l.control.errors.pattern,B=l.control.errors.matDatepickerParse,oe=l.control.errors.siret_error,xe=l.control.errors.siren_error,Ve=l.control.errors.vat_error;E?E.requiredPattern===this.getPattern("alphanum")?a=this.translate.instant("ERROR.alphanum_pattern"):E.requiredPattern===this.getPattern("alphanum_extended")?a=this.translate.instant("ERROR.alphanum_extended_pattern"):E.requiredPattern===this.getPattern("number_int")?a=this.translate.instant("ERROR.number_int_pattern"):E.requiredPattern===this.getPattern("number_float")?a=this.translate.instant("ERROR.number_float_pattern"):E.requiredPattern===this.getPattern("char")?a=this.translate.instant("ERROR.char_pattern"):E.requiredPattern===this.getPattern("email")&&(a=this.translate.instant("ERROR.email_pattern")):a=B?this.translate.instant("ERROR.date_pattern"):h?this.translate.instant("ERROR.field_required"):oe||xe||Ve||(this.tokenError?this.token:this.translate.instant("ERROR.unknow_error"))}}),a}setAutocompleteDefaultValue(t){t.isUserInput&&this.form.facturation.forEach(i=>{i.autocomplete_values&&(i.autocomplete_id=t.source.id)})}validateForm(){this.loadingSubmit=!0;let t=!0;const i={};for(const a in this.form)this.form[a].forEach(l=>{if(l.control.value){let h=l.control.value;if("date"===l.type){const E=M().localeData().longDateFormat("L");h=M(h,E),h=h.format(E)}Object.assign(i,{[l.id]:h})}l.control.errors&&(t=!1,l.control.markAsTouched(),this.notify.error(this.translate.instant("ERROR.form_not_valid")))});t?(this.saveData(i),0!==this.formSettings.outputs.length?this.formSettings.outputs.forEach((a,l)=>{this.http.get(m.N.url+"/ws/outputs/getById/"+a,{headers:this.authService.headers}).pipe((0,$e.b)(h=>{h.data.options.links&&this.form.facturation.forEach(E=>{E.autocomplete_values&&"export_maarch"===h.output_type_id&&(h.data.res_id=E.autocomplete_id)}),this.http.post(m.N.url+"/ws/verifier/invoices/"+this.invoice.id+"/"+h.output_type_id,{args:h},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{l+1===this.formSettings.outputs.length&&(this.historyService.addHistory("verifier","document_validated",this.translate.instant("HISTORY-DESC.document_validated",{document_id:this.invoiceId,outputs:this.outputsLabel.join(", ")})),this.updateInvoice({status:"END",locked:!1,locked_by:null}),this.router.navigate(["/verifier"]).then(),this.loadingSubmit=!1,this.formSettings.delete_documents_after_outputs&&this.http.get(m.N.url+"/ws/verifier/invoices/"+this.invoice.id+"/deleteDocuments",{headers:this.authService.headers}).pipe((0,Ke.K)(E=>(console.debug(E),this.notify.handleErrors(E),(0,ie.of)(!1)))).subscribe(),this.notify.success(this.translate.instant("VERIFIER.form_validated_and_output_done",{outputs:this.outputsLabel.join("
")})))}),(0,Ke.K)(E=>(this.loadingSubmit=!1,console.debug(E),this.notify.handleErrors(E),(0,ie.of)(!1)))).subscribe()}),(0,Ke.K)(h=>(console.debug(h),this.notify.handleErrors(h),(0,ie.of)(!1)))).subscribe()}):(this.notify.error(this.translate.instant("VERIFIER.no_outputs_for_this_form",{form:this.formSettings.label})),this.loadingSubmit=!1)):this.loadingSubmit=!1}refuseForm(){this.historyService.addHistory("verifier","document_refused",this.translate.instant("HISTORY-DESC.document_refused",{invoice_id:this.invoiceId})),this.updateInvoice({status:"ERR",locked:!1,locked_by:null}),this.notify.error(this.translate.instant("VERIFIER.document_refused")),this.router.navigate(["/verifier/list"]).then()}changeForm(t){var i=this;return xa(function*(){i.loading=!0;const a=t.value;for(const l in i.formList)i.formList[l].id===a&&(i.updateInvoice({form_id:a}),i.currentFormFields=yield i.getFormFieldsById(a),i.deleteDataOnChangeForm=!1,i.imageInvoice.selectAreas("destroy"),i.settingsOpen=!1,i.notify.success(i.translate.instant("VERIFIER.form_changed")),yield i.ngOnInit(),i.deleteDataOnChangeForm=!0)})()}nextPage(){this.currentPage1?(this.currentPage=this.currentPage-1,this.changeImage(this.currentPage,this.currentPage+1)):this.changeImage(this.invoice.nb_pages,this.currentPage)}changeImage(t,i){if(t){const a=this.currentFilename.split(".").pop(),l=("000"+i).substr(-3),h=("000"+t).substr(-3),E=this.currentFilename.replace(l+"."+a,h+"."+a);this.currentFilename=E,this.getThumb(E).then(),this.currentPage=t;for(const B in this.invoice.datas){const oe=this.getPage(B),xe=this.invoice.positions[B];if(xe){const Ve=$(".input_"+B),lt=$(".background_"+B),Ft=$(".outline_"+B),ii=$(".resize_"+B),fi=$(".delete_"+B);if(Ve.remove(),lt.remove(),Ft.remove(),ii.remove(),fi.remove(),parseInt(String(oe))===parseInt(String(this.currentPage))){this.lastId=B;const Wi=B.split("_");let Fn=this.getFieldInfo(B);if(!isNaN(parseInt(Wi[Wi.length-1]))&&!B.includes("custom_")){const ba=Wi[Wi.length-1],br=Wi.join("_").replace("_"+ba,"");Fn=this.getFieldInfo(br),Fn.label=this.translate.instant(Fn.label)+" "+(parseInt(ba)+1)}this.saveInfo=!1,Fn&&parseInt(String(oe))===this.currentPage&&this.drawPositionByField(Fn,xe)}}}}}checkSirenOrSiret(t,i){this.formSettings.supplier_verif&&"END"!==this.invoice.status&&("siren"===t&&this.oldSIREN!==i?this.verify(i,9)&&this.token?(this.oldSIREN=i,this.http.post(m.N.url+"/ws/verifier/verifySIREN",{token:this.token,siren:i},{headers:this.authService.headers}).pipe((0,Ke.K)(h=>(this.form.supplier.forEach(E=>{"siren"===E.id&&setTimeout(()=>{E.control.setErrors({siren_error:h.error.status}),E.control.markAsTouched()},100)}),(0,ie.of)(!1)))).subscribe()):this.form.supplier.forEach(h=>{"siren"===h.id&&setTimeout(()=>{h.control.setErrors(this.token?{siren_error:this.translate.instant("ERROR.wrong_siren_format")}:{siren_error:this.translate.instant("ERROR.insee_api_not_up")}),h.control.markAsTouched()},100)}):"siret"===t&&this.oldSIRET!==i&&(this.verify(i,14)&&this.token?(this.oldSIRET=i,this.http.post(m.N.url+"/ws/verifier/verifySIRET",{token:this.token,siret:i},{headers:this.authService.headers}).pipe((0,Ke.K)(h=>(this.form.supplier.forEach(E=>{"siret"===E.id&&setTimeout(()=>{E.control.setErrors({siret_error:h.error.status}),E.control.markAsTouched()},100)}),(0,ie.of)(!1)))).subscribe()):this.form.supplier.forEach(h=>{"siret"===h.id&&setTimeout(()=>{h.control.setErrors(this.token?{siret_error:this.translate.instant("ERROR.wrong_siret_format")}:{siret_error:this.translate.instant("ERROR.insee_api_not_up")}),h.control.markAsTouched()},100)})))}checkVAT(t,i){"vat_number"===t&&this.formSettings.supplier_verif&&"END"!==this.invoice.status&&this.oldVAT!==i&&(this.verify(i,13,!0)?(this.oldVAT=i,this.http.post(m.N.url+"/ws/verifier/verifyVATNumber",{vat_number:i},{headers:this.authService.headers}).pipe((0,Ke.K)(l=>(this.form.supplier.forEach(h=>{"vat_number"===h.id&&setTimeout(()=>{h.control.setErrors({vat_error:l.error.status}),h.control.markAsTouched()},100)}),(0,ie.of)(!1)))).subscribe()):this.form.supplier.forEach(l=>{"vat_number"===l.id&&setTimeout(()=>{l.control.setErrors(this.token?{vat_error:this.translate.instant("ERROR.wrong_vat_number_format")}:{vat_error:this.translate.instant("ERROR.ecu_api_not_up")}),l.control.markAsTouched()},100)}))}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Nt.gz),e.Y36(c.H7),e.Y36(pi.e),e.Y36(zi.K),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(jr),e.Y36(Al),e.Y36(kn.q),e.Y36(ua.n))},n.\u0275cmp=e.Xpm({type:n,selectors:[["verifier-viewer"]],features:[e._Bn([_e.uU])],decls:7,vars:4,consts:[[4,"ngIf"],[1,"grid","grid-cols-2","overflow-auto",2,"height","calc(100vh - 64px) !important"],[1,"fixed","z-50","text-xl","left-6","top-4"],["id","image",1,"overflow-auto",2,"height","calc(100vh - 64px) !important","direction","rtl"],["class","image-container px-4",4,"ngIf"],["class","px-4 overflow-auto pt-2",4,"ngIf"],[1,"fa","fa-arrow-left","cursor-pointer",3,"click"],[1,"fa","fa-arrow-right","cursor-pointer",3,"click"],[1,"image-container","px-4"],["id","document_image","alt","Open-Capture",3,"src"],[1,"px-4","overflow-auto","pt-2"],[1,"relative","float-left","top-5"],[1,"fa-solid","fa-eye","cursor-pointer","text-green-400","text-lg",3,"matTooltip","click"],[1,"relative","z-20","float-right",2,"width","96%"],[1,"top-2","mb-4",3,"expanded","expandedChange"],[1,"justify-center"],[1,"mx-5"],[3,"label"],[1,"mt-3","text-center","text-gray-400"],[1,"w-full"],[3,"value","disabled","valueChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[1,"mb-6","grid","grid-cols-2","gap-4","h-12","text-gray-900"],["mat-button","","type","submit",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300",3,"disabled","click"],["class","fa-solid text-2xl fa-circle-notch fa-spin text-gray-900","style","--fa-animation-duration: 1.5s;margin-top: -0.2rem;",4,"ngIf"],["mat-button","","type","submit",1,"border-solid","border-red-400","border","hover:bg-red-400","hover:text-white","transition","duration-300",3,"disabled","click"],[3,"value"],[1,"relative","text-xl","tracking-wider","pl-1.5","pr-1.5","bg-white","left-6","z-10"],["class","cursor-default relative top-1.5 text-red-500 text-3xl",3,"matTooltip",4,"ngIf"],["class","cursor-default relative top-1.5 text-green-400 text-3xl",3,"matTooltip",4,"ngIf"],["class","text-sm cursor-pointer ml-2",4,"ngIf"],[1,"relative","border-green-400","border","rounded-lg","-top-3.5"],[1,"flex","flex-wrap","w-full","my-3",2,"min-height","50px",3,"id"],["class","flex items-center px-3",3,"class",4,"ngFor","ngForOf"],[1,"cursor-default","relative","top-1.5","text-red-500","text-3xl",3,"matTooltip"],[1,"cursor-default","relative","top-1.5","text-green-400","text-3xl",3,"matTooltip"],[1,"text-sm","cursor-pointer","ml-2"],["class","fa-solid fa-edit",3,"click",4,"ngIf"],["class","fa-solid fa-plus",3,"click",4,"ngIf"],[1,"fa-solid","fa-edit",3,"click"],[1,"fa-solid","fa-plus",3,"click"],[1,"flex","items-center","px-3"],["class","relative -right-1.5 cursor-pointer text-gray-900","matTooltipPosition","above",3,"matTooltip","click",4,"ngIf"],["class","relative -right-1.5 cursor-pointer text-red-500","matTooltipPosition","above",3,"matTooltip","click",4,"ngIf"],["class","right-0 w-full form-viewer",3,"opacity-50","click",4,"ngIf","ngIfElse"],["other",""],[1,"right-0","w-full","form-viewer",3,"click"],[1,"overflow-ellipsis","overflow-hidden","whitespace-nowrap","w-8/12"],["matInput","","type","text",3,"id","required","readonly","formControl","pattern","matAutocomplete"],["class","mt-1",4,"ngIf"],[3,"id","optionSelected"],["auto","matAutocomplete"],[3,"value","id",4,"ngFor","ngForOf"],[1,"mt-1"],[3,"value","id"],[3,"innerHTML"],[1,"right-0","w-full","form-viewer"],["class","absolute -top-2 -right-2.5 cursor-pointer text-gray-900",3,"click",4,"ngIf"],["class","absolute -top-2 -right-2.5 cursor-pointer text-red-500",3,"click",4,"ngIf"],["matInput","","type","text",3,"id","formControl","required","pattern","readonly","click","focusin","focusout"],[1,"absolute","-top-2","-right-2.5","cursor-pointer","text-gray-900",3,"click"],[1,"text-lg"],[1,"absolute","-top-2","-right-2.5","cursor-pointer","text-red-500",3,"click"],[1,"text-xl"],["matInput","","cdkTextareaAutosize","","cdkAutosizeMinRows","1","cdkAutosizeMaxRows","5",3,"id","required","formControl","pattern","readonly","focusin","focusout"],["matInput","",3,"id","matDatepicker","formControl","readonly","required","focusin","focusout","dateChange"],["matSuffix","",3,"disabled","for"],["picker",""],["matInput","","type","text",3,"id","required","formControl","matAutocomplete","readonly","focusin","focusout"],["data","matAutocomplete"],[3,"value","id","onSelectionChange",4,"ngFor","ngForOf"],[3,"value","id","onSelectionChange"],[1,"text-green-400","ml-3",2,"font-size","12px"],["class","right-0 w-full form-viewer",3,"opacity-50",4,"ngIf"],["matInput","","type","text",3,"id","required","formControl","matAutocomplete","readonly"],["class","mt-1 h-6",4,"ngIf"],["accounting","matAutocomplete"],[1,"mt-1","h-6"],[3,"id","disabled"],["matTooltipPosition","above",1,"relative","-right-1.5","cursor-pointer","text-gray-900",3,"matTooltip","click"],["matTooltipPosition","above",1,"relative","-right-1.5","cursor-pointer","text-red-500",3,"matTooltip","click"],[1,"fa-solid","text-2xl","fa-circle-notch","fa-spin","text-gray-900",2,"--fa-animation-duration","1.5s","margin-top","-0.2rem"]],template:function(t,i){1&t&&(e.YNc(0,R2,2,0,"div",0),e.TgZ(1,"div",1)(2,"div",2),e.YNc(3,F2,6,8,"ng-container",0),e.qZA(),e.TgZ(4,"div",3),e.YNc(5,Hb,2,1,"div",4),e.qZA(),e.YNc(6,Vx,32,32,"div",5),e.qZA()),2&t&&(e.Q6J("ngIf",i.loading),e.xp6(3),e.Q6J("ngIf",!i.loading&&i.invoice&&i.invoice.nb_pages>1),e.xp6(2),e.Q6J("ngIf",i.invoice),e.xp6(1),e.Q6J("ngIf",i.fields))},dependencies:[_e.sg,_e.O5,Rt.TO,Rt.KE,Rt.bx,Rt.hX,Rt.R9,Be.gD,b.ey,Yb.IC,an.Nt,Xn,va.SP,va.uX,Y.lW,te,Ea,mo,Zt.pp,Zt.ib,Zt.yz,Zt.yK,de.XC,de.ZL,So,A.Fj,A.JJ,A.Q7,A.c5,A.oH,Cn.R,_e.Ov,$t.X$,Ic.S],styles:[".form-viewer>.mat-form-field-wrapper{padding-bottom:.75rem;padding-top:.75rem} .form-viewer>.mat-form-field-wrapper .mat-form-field-flex{height:3.5rem} .form-viewer>.mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix{width:100%} .form-viewer>.mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix div>button{visibility:hidden;opacity:0;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s;left:2rem} .form-viewer>.mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix div>button .mat-button-focus-overlay{background-color:transparent} .form-viewer>.mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix i{visibility:hidden;opacity:0;left:.125rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s;top:.125rem;top:7px} .form-viewer>.mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix .mat-form-field-label-wrapper>.mat-form-field-label>mat-label{margin-left:0;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s}"]}),n})();function Lv(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function cy(n,o){1&n&&(e.TgZ(0,"mat-header-cell",25),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.id")," "))}function dy(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.id," ")}}function uy(n,o){1&n&&(e.TgZ(0,"mat-header-cell",25),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ACCOUNTS.customer_name")," "))}function _y(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.name," ")}}function Gx(n,o){1&n&&(e.TgZ(0,"mat-header-cell",25),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ACCOUNTS.company_number")," "))}function Ov(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.company_number," ")}}function Kx(n,o){1&n&&(e.TgZ(0,"mat-header-cell",25),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ACCOUNTS.vat_number")," "))}function jx(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.vat_number," ")}}function Wx(n,o){1&n&&(e.TgZ(0,"mat-header-cell",25),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ACCOUNTS.siret")," "))}function qx(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.siret," ")}}function py(n,o){1&n&&(e.TgZ(0,"mat-header-cell",25),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ACCOUNTS.siren")," "))}function Jx(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.siren," ")}}function $x(n,o){1&n&&e._UZ(0,"mat-header-cell")}function hy(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-cell")(1,"button",26),e.NdJ("click",function(a){const h=e.CHM(t).$implicit,E=e.oxw();return a.stopPropagation(),e.KtG(E.deleteConfirmDialog(h.id,h.name))}),e.ALo(2,"translate"),e._UZ(3,"i",27),e.qZA()()}2&n&&(e.xp6(1),e.s9C("matTooltip",e.lcZ(2,1,"GLOBAL.delete")))}function zx(n,o){1&n&&e._UZ(0,"mat-header-row")}function Qx(n,o){1&n&&e._UZ(0,"mat-row",28),2&n&&e.MGl("routerLink","/accounts/customers/update/",o.$implicit.id,"")}const ys=function(){return[5,10,15,20,50]};let kp=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt,Ft,ii,fi){this.router=t,this.http=i,this.dialog=a,this.route=l,this.userService=h,this.formBuilder=E,this.authService=B,this.translate=oe,this.notify=xe,this.historyService=Ve,this.serviceSettings=lt,this.routerExtService=Ft,this.privilegesService=ii,this.localStorageService=fi,this.headers=this.authService.headers,this.loading=!0,this.columnsToDisplay=["id","name","company_number","vat_number","siret","siren","actions"],this.allCustomers=[],this.customers=[],this.pageSize=10,this.pageIndex=0,this.total=0,this.offset=0,this.search=""}ngOnInit(){this.authService.headersExists||this.authService.generateHeaders();const t=this.routerExtService.getPreviousUrl();t.includes("accounts/customers")||"/"===t?(this.localStorageService.get("customersPageIndex")&&(this.pageIndex=parseInt(this.localStorageService.get("customersPageIndex"))),this.offset=this.pageSize*this.pageIndex):this.localStorageService.remove("customersPageIndex"),this.http.get(m.N.url+"/ws/accounts/customers/list",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.allCustomers=i.customers}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe(),this.loadCustomers()}loadCustomers(){this.http.get(m.N.url+"/ws/accounts/customers/list?limit="+this.pageSize+"&offset="+this.offset+"&search="+this.search,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.customers=t.customers,0!==this.customers.length&&(this.total=t.customers[0].total)}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}searchCustomer(t){this.search=t.target.value,this.loadCustomers()}onPageChange(t){this.pageSize=t.pageSize,this.offset=this.pageSize*t.pageIndex,this.localStorageService.save("customersPageIndex",t.pageIndex),this.loadCustomers()}deleteConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("ACCOUNTS.confirm_delete_customer",{customer:i}),confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.deleteCustomer(t),this.historyService.addHistory("accounts","delete_customer",this.translate.instant("HISTORY-DESC.delete-customer",{customer:i})))})}deleteCustomer(t){void 0!==t&&this.http.delete(m.N.url+"/ws/accounts/customers/delete/"+t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadCustomers(),this.notify.success(this.translate.instant("ACCOUNTS.customer_deleted"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}sortData(t){const i=this.allCustomers.slice();t.active&&""!==t.direction?(this.customers=i.sort((a,l)=>{const h="asc"===t.direction;switch(t.active){case"id":return this.compare(a.id,l.id,h);case"name":return this.compare(a.name,l.name,h);case"company_number":return this.compare(a.company_number,l.company_number,h);case"vat_number":return this.compare(a.vat_number,l.vat_number,h);case"siret":return this.compare(a.siret,l.siret,h);case"siren":return this.compare(a.siren,l.siren,h);default:return 0}}),this.customers=this.customers.splice(0,this.pageSize)):this.customers=i.splice(0,this.pageSize)}compare(t,i,a){return(t{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt,Ft,ii,fi){this.router=t,this.http=i,this.dialog=a,this.route=l,this.userService=h,this.formBuilder=E,this.authService=B,this.translate=oe,this.notify=xe,this.historyService=Ve,this.serviceSettings=lt,this.routerExtService=Ft,this.privilegesService=ii,this.localStorageService=fi,this.columnsToDisplay=["id","name","email","vat_number","siret","siren","iban","form_label","actions"],this.headers=this.authService.headers,this.loading=!0,this.allSuppliers=[],this.suppliers=[],this.pageSize=10,this.pageIndex=0,this.total=0,this.offset=0,this.search=""}ngOnInit(){this.authService.headersExists||this.authService.generateHeaders();const t=this.routerExtService.getPreviousUrl();t.includes("accounts/suppliers")||"/"===t?(this.localStorageService.get("suppliersPageIndex")&&(this.pageIndex=parseInt(this.localStorageService.get("suppliersPageIndex"))),this.offset=this.pageSize*this.pageIndex):this.localStorageService.remove("suppliersPageIndex"),this.http.get(m.N.url+"/ws/accounts/suppliers/list",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.allSuppliers=i.suppliers}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe(),this.loadSuppliers()}loadSuppliers(){this.http.get(m.N.url+"/ws/accounts/suppliers/list?order=name&limit="+this.pageSize+"&offset="+this.offset+"&search="+this.search,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.suppliers=t.suppliers,0!==this.suppliers.length&&(this.total=t.suppliers[0].total),this.http.get(m.N.url+"/ws/forms/list?module=verifier",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{for(const a in this.suppliers)for(const l of i.forms)l.id===this.suppliers[a].form_id&&(this.suppliers[a].form_label=l.label)}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}searchSupplier(t){this.search=t.target.value,this.loadSuppliers()}onPageChange(t){this.pageSize=t.pageSize,this.offset=this.pageSize*t.pageIndex,this.localStorageService.save("suppliersPageIndex",t.pageIndex),this.loadSuppliers()}deleteConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("ACCOUNTS.confirm_delete_supplier",{supplier:i}),confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.deleteSupplier(t),this.historyService.addHistory("accounts","delete_supplier",this.translate.instant("HISTORY-DESC.delete-supplier",{supplier:i})))})}deletePositionsConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("ACCOUNTS.confirm_delete_supplier_positions",{supplier:i}),confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.deleteSupplierPositions(t),this.historyService.addHistory("accounts","delete_supplier_positions",this.translate.instant("HISTORY-DESC.delete-supplier-positions",{supplier:i})))})}skipAutoValidateConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("ACCOUNTS.confirm_skip_auto_validate",{supplier:i}),confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.skipAutoValidate(t),this.historyService.addHistory("accounts","skip_auto_validate",this.translate.instant("HISTORY-DESC.skip-auto-validate",{supplier:i})))})}deleteSupplier(t){void 0!==t&&this.http.delete(m.N.url+"/ws/accounts/suppliers/delete/"+t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadSuppliers(),this.notify.success(this.translate.instant("ACCOUNTS.supplier_deleted"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}skipAutoValidate(t){void 0!==t&&this.http.put(m.N.url+"/ws/accounts/suppliers/skipAutoValidate/"+t,{},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("ACCOUNTS.skip_validated_success"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}deleteSupplierPositions(t){void 0!==t&&this.http.delete(m.N.url+"/ws/accounts/suppliers/deletePositions/"+t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("ACCOUNTS.positions_deleted"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}sortData(t){const i=this.allSuppliers.slice();t.active&&""!==t.direction?(this.suppliers=i.sort((a,l)=>{const h="asc"===t.direction;switch(t.active){case"id":return this.compare(a.id,l.id,h);case"name":return this.compare(a.name,l.name,h);case"vat_number":return this.compare(a.vat_number,l.vat_number,h);case"siret":return this.compare(a.siret,l.siret,h);case"siren":return this.compare(a.siren,l.siren,h);case"iban":return this.compare(a.iban,l.iban,h);default:return 0}}),this.suppliers=this.suppliers.splice(0,this.pageSize)):this.suppliers=i.splice(0,this.pageSize)}compare(t,i,a){return(t{const a="data:"+t.mimetype+";base64, "+t.file,l=document.createElement("a");l.href=a,l.download=t.filename,l.click()}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}importSuppliers(t){const i=t.target.files[0];if(i){this.loading=!0;const a=new FormData;a.append(i.name,i),this.http.post(m.N.url+"/ws/accounts/supplier/importSuppliers",a,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("ACCOUNTS.suppliers_referencial_loaded")),this.loadSuppliers()}),(0,Ke.K)(l=>(console.debug(l),this.notify.handleErrors(l,"/accounts/suppliers/list"),(0,ie.of)(!1)))).subscribe()}}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Ui),e.Y36(Nt.gz),e.Y36(zi.K),e.Y36(A.qu),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q),e.Y36(xn.g),e.Y36($a.e),e.Y36(nn.y),e.Y36(ua.n))},n.\u0275cmp=e.Xpm({type:n,selectors:[["suppliers-list"]],decls:57,vars:29,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],[1,"absolute","left-4","top-0"],["matInput","","type","text",3,"disabled","keyup"],[1,"text-center"],[1,"border-green-400"],["routerLink","/accounts/suppliers/create",1,"relative","float-right","-top-12","right-4","ml-4"],[1,"fa-solid","fa-plus","text-2xl","ml-2"],[1,"ml-2","relative","-top-1"],[1,"relative","float-right","-top-12","right-4","ml-4",3,"matTooltip","disabled","click"],[1,"fa-solid","fa-file-export","text-2xl","ml-2"],["type","file","accept",".csv, .ods, .xlsx",1,"hidden",3,"change"],["suppliersUpload",""],[1,"fa-solid","fa-file-import","text-2xl","ml-2"],["matSort","",1,"w-full","table","relative","-top-8",3,"dataSource","matSortChange"],["matColumnDef","id"],["mat-sort-header","",4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","name"],["matColumnDef","email"],["matColumnDef","vat_number"],["matColumnDef","siret"],["matColumnDef","siren"],["matColumnDef","iban"],["matColumnDef","form_label"],["matColumnDef","actions"],[4,"matHeaderCellDef"],[4,"matHeaderRowDef"],["class","cursor-pointer hover:text-green-400 hover:shadow-md transition-colors duration-300",3,"routerLink",4,"matRowDef","matRowDefColumns"],["showFirstLastButtons","",3,"length","pageSize","pageIndex","pageSizeOptions","page"],["mat-sort-header",""],["mat-icon-button","",1,"inline-block","align-text-top",3,"matTooltip","click"],[1,"fa-solid","fa-trash","fa-lg"],[1,"fa-solid","fa-circle-xmark"],[1,"fa-solid","fa-forward","fa-lg"],[1,"cursor-pointer","hover:text-green-400","hover:shadow-md","transition-colors","duration-300",3,"routerLink"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav-content",1),e.YNc(2,my,2,0,"div",2),e.TgZ(3,"div",3)(4,"div",4)(5,"mat-form-field")(6,"mat-label"),e._uU(7),e.ALo(8,"translate"),e.qZA(),e.TgZ(9,"input",5),e.NdJ("keyup",function(h){return i.searchSupplier(h)}),e.qZA()()(),e.TgZ(10,"h3",6),e._uU(11),e.qZA(),e._UZ(12,"hr",7),e.TgZ(13,"button",8),e._UZ(14,"i",9),e.TgZ(15,"span",10),e._uU(16),e.ALo(17,"translate"),e.qZA()(),e.TgZ(18,"button",11),e.NdJ("click",function(){return i.getReferenceFile()}),e.ALo(19,"translate"),e._UZ(20,"i",12),e.qZA(),e.TgZ(21,"input",13,14),e.NdJ("change",function(h){return i.importSuppliers(h)}),e.qZA(),e.TgZ(23,"button",11),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(22);return e.KtG(h.click())}),e.ALo(24,"translate"),e._UZ(25,"i",15),e.qZA()(),e.TgZ(26,"mat-table",16),e.NdJ("matSortChange",function(h){return i.sortData(h)}),e.ynx(27,17),e.YNc(28,gy,3,3,"mat-header-cell",18),e.YNc(29,U2,2,1,"mat-cell",19),e.BQk(),e.ynx(30,20),e.YNc(31,Z2,3,3,"mat-header-cell",18),e.YNc(32,Xx,2,1,"mat-cell",19),e.BQk(),e.ynx(33,21),e.YNc(34,e1,3,3,"mat-header-cell",18),e.YNc(35,fm,2,1,"mat-cell",19),e.BQk(),e.ynx(36,22),e.YNc(37,fy,3,3,"mat-header-cell",18),e.YNc(38,kv,2,1,"mat-cell",19),e.BQk(),e.ynx(39,23),e.YNc(40,Cy,3,3,"mat-header-cell",18),e.YNc(41,t1,2,1,"mat-cell",19),e.BQk(),e.ynx(42,24),e.YNc(43,vy,3,3,"mat-header-cell",18),e.YNc(44,xy,2,1,"mat-cell",19),e.BQk(),e.ynx(45,25),e.YNc(46,by,3,3,"mat-header-cell",18),e.YNc(47,Iv,2,1,"mat-cell",19),e.BQk(),e.ynx(48,26),e.YNc(49,n1,3,3,"mat-header-cell",18),e.YNc(50,a1,2,1,"mat-cell",19),e.BQk(),e.ynx(51,27),e.YNc(52,Mf,1,0,"mat-header-cell",28),e.YNc(53,Pv,10,9,"mat-cell",19),e.BQk(),e.YNc(54,Y2,1,0,"mat-header-row",29),e.YNc(55,o1,1,1,"mat-row",30),e.qZA(),e.TgZ(56,"mat-paginator",31),e.NdJ("page",function(h){return i.onPageChange(h)}),e.qZA()()()}2&t&&(e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(5),e.Oqu(e.lcZ(8,20,"ACCOUNTS.search_supplier")),e.xp6(2),e.Q6J("disabled",i.loading),e.xp6(2),e.Oqu(i.serviceSettings.getTitle()),e.xp6(5),e.Oqu(e.lcZ(17,22,"ACCOUNTS.create_supplier")),e.xp6(2),e.ekj("hidden",!i.privilegesService.hasPrivilege("export_suppliers")),e.Q6J("matTooltip",e.lcZ(19,24,"ACCOUNTS.export_suppliers"))("disabled",i.loading),e.xp6(5),e.ekj("hidden",!i.privilegesService.hasPrivilege("import_suppliers")),e.Q6J("matTooltip",e.lcZ(24,26,"ACCOUNTS.import_suppliers"))("disabled",i.loading),e.xp6(3),e.Q6J("dataSource",i.suppliers),e.xp6(28),e.Q6J("matHeaderRowDef",i.columnsToDisplay),e.xp6(1),e.Q6J("matRowDefColumns",i.columnsToDisplay),e.xp6(1),e.Q6J("length",i.total)("pageSize",i.pageSize)("pageIndex",i.pageIndex)("pageSizeOptions",e.DdM(28,yy)))},dependencies:[_e.O5,Nt.rH,Rt.KE,Rt.hX,an.Nt,Xn,Vt.TM,Vt.Rh,Y.lW,nr,jo,Oo,Ao,Ko,ar,Lo,co,Cr,Ja,Co,Go,ns,Cn.R,$t.X$]}),n})();const Ip=["countryAutocomplete"];function Ty(n,o){if(1&n&&(e.TgZ(0,"mat-label"),e._uU(1),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Oqu(t.label)}}function s1(n,o){if(1&n&&e._UZ(0,"mat-icon",9),2&n){const t=e.oxw();e.Q6J("svgIcon",null==t.value||null==t.value.alpha2Code?null:t.value.alpha2Code.toLowerCase())}}function Rv(n,o){1&n&&e._UZ(0,"mat-progress-bar",10)}const My=function(n,o){return[n,o]};function Dy(n,o){if(1&n&&(e.TgZ(0,"small"),e._uU(1),e.ALo(2,"joinStrings"),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,e.WLB(3,My,null==t?null:t.name,null==t?null:t.alpha3Code)))}}function H2(n,o){if(1&n&&(e.TgZ(0,"small"),e._uU(1),e.ALo(2,"joinStrings"),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.Oqu(e.xi3(2,1,e.WLB(4,My,null==t?null:t.name,"("+(null==t?null:t.callingCode)+")")," "))}}function Ey(n,o){if(1&n&&(e.TgZ(0,"mat-option",11),e._UZ(1,"mat-icon",12),e.YNc(2,Dy,3,6,"small",1),e.YNc(3,H2,3,7,"small",1),e.qZA()),2&n){const t=o.$implicit,i=e.oxw();e.Q6J("value",null==t?null:t.name),e.xp6(1),e.Q6J("svgIcon",null==t||null==t.alpha2Code?null:t.alpha2Code.toLowerCase()),e.xp6(1),e.Q6J("ngIf",!i.showCallingCode),e.xp6(1),e.Q6J("ngIf",i.showCallingCode)}}const l1=new e.OlP("MatSelectCountryLangToken");let wy=(()=>{class n{transform(t,i){return t.filter(Boolean).join(i||" - ")}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275pipe=e.Yjl({name:"joinStrings",type:n,pure:!0}),n})(),Cm=(()=>{class n{constructor(t,i){this.i18n=t,this.cdRef=i,this.countries=[],this.placeHolder="Select country",this.showCallingCode=!1,this.excludedCountries=[],this.name="country",this.onCountrySelected=new e.vpe,this.debounceTime=300,this.filterString="",this.modelChanged=new Ye.x,this.countries$=new Dl.X([]),this.excludedCountries$=new Dl.X([]),this.value$=new Dl.X(null),this.unsubscribe$=new Ye.x,this.propagateChange=a=>{}}get value(){return this._value}set value(t){this.value$.next(t)}ngOnInit(){(0,qi.a)([this.countries$,this.value$,this.excludedCountries$]).pipe((0,fe.b)(0),(0,$i.R)(this.unsubscribe$)).subscribe(([t,i,a])=>{this._populateCountries(t,a),i&&this._setValue(i)}),this.countries.length||this._loadCountriesFromDb(),this.modelChanged.pipe((0,mt.O)(""),(0,fe.b)(this.debounceTime),(0,$i.R)(this.unsubscribe$)).subscribe(t=>{this.filterString=t,this._filter(t)})}ngOnChanges(t){var i,a,l;if(!(null===(i=t.countries)||void 0===i)&&i.currentValue&&this.countries$.next(t.countries.currentValue),!(null===(a=t.excludedCountries)||void 0===a)&&a.currentValue&&this.excludedCountries$.next(t.excludedCountries.currentValue),null!==(l=t.language)&&void 0!==l&&l.currentValue){let h=this._value;this.filterString="",this.inputChanged(""),this._setValue(null),this.onCountrySelected.emit(null),this._loadCountriesFromDb(null==h?void 0:h.alpha2Code)}}onBlur(){!this.inputElement.value&&this.nullable&&this.statesAutocompleteRef.panel&&(this._setValue(null),this.onCountrySelected.emit(null))}onOptionsSelected(t){const i=this.countries.find(a=>a.name===t.option.value);this._setValue(i),this.onCountrySelected.emit(i)}writeValue(t){t&&(this.value=t)}registerOnChange(t){this.propagateChange=t}registerOnTouched(t){}setDisabledState(t){this.disabled=t}autocompleteScroll(){this.itemsLoadSize&&setTimeout(()=>{this.statesAutocompleteRef&&this.autocompleteTrigger&&this.statesAutocompleteRef.panel&&(0,is.R)(this.statesAutocompleteRef.panel.nativeElement,"scroll").pipe((0,$i.R)(this.autocompleteTrigger.panelClosingActions)).subscribe(()=>{this.statesAutocompleteRef.panel.nativeElement.scrollHeight===this.statesAutocompleteRef.panel.nativeElement.scrollTop+this.statesAutocompleteRef.panel.nativeElement.clientHeight&&""===this.filterString&&(this.filteredOptions=[...this.filteredOptions,...this.countries.slice(this.filteredOptions.length,+this.filteredOptions.length+ +this.itemsLoadSize)])})})}inputChanged(t){this.modelChanged.next(t)}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}_loadCountriesFromDb(t){this.loadingDB=!0,this._importLang().then(i=>{this.countries$.next(i),this._setValue(i.find(a=>a.alpha2Code==t))}).catch(i=>console.error("Error: "+i)).finally(()=>this.loadingDB=!1)}_populateCountries(t,i){const a=i.map(l=>l.alpha2Code);this.countries=t.filter(l=>!a.includes(l.alpha2Code))}_setValue(t){if(t&&(!t.name||"Unknown"===t.name)){const i=this.countries.find(a=>a.alpha2Code===t.alpha2Code);i&&(t=i)}this._value=null!=t&&t.name?t:null,this.propagateChange(this._value)}_importLang(){switch(this.language||this.i18n){case"br":return Promise.resolve().then(function(){return Ay}).then(i=>i.COUNTRIES_DB_BR).then(i=>i);case"by":return Promise.resolve().then(function(){return c1}).then(i=>i.COUNTRIES_DB_BY).then(i=>i);case"de":return Promise.resolve().then(function(){return Oy}).then(i=>i.COUNTRIES_DB_DE).then(i=>i);case"es":return Promise.resolve().then(function(){return d1}).then(i=>i.COUNTRIES_DB_ES).then(i=>i);case"fr":return Promise.resolve().then(function(){return u1}).then(i=>i.COUNTRIES_DB_FR).then(i=>i);case"hr":return Promise.resolve().then(function(){return Ry}).then(i=>i.COUNTRIES_DB_HR).then(i=>i);case"hu":return Promise.resolve().then(function(){return _1}).then(i=>i.COUNTRIES_DB_HU).then(i=>i);case"it":return Promise.resolve().then(function(){return K2}).then(i=>i.COUNTRIES_DB_IT).then(i=>i);case"nl":return Promise.resolve().then(function(){return J2}).then(i=>i.COUNTRIES_DB_NL).then(i=>i);case"pt":return Promise.resolve().then(function(){return Df}).then(i=>i.COUNTRIES_DB_PT).then(i=>i);case"ru":return Promise.resolve().then(function(){return p1}).then(i=>i.COUNTRIES_DB_RU).then(i=>i);case"ua":return Promise.resolve().then(function(){return Bv}).then(i=>i.COUNTRIES_DB_UA).then(i=>i);case"gl":return Promise.resolve().then(function(){return j2}).then(i=>i.COUNTRIES_DB_GL).then(i=>i);case"eu":return Promise.resolve().then(function(){return q2}).then(i=>i.COUNTRIES_DB_EU).then(i=>i);case"ca":return Promise.resolve().then(function(){return W2}).then(i=>i.COUNTRIES_DB_CA).then(i=>i);default:return Promise.resolve().then(function(){return ky}).then(i=>i.COUNTRIES_DB).then(i=>i)}}_filter(t){const i=t.toLowerCase();this.filteredOptions=this.itemsLoadSize&&""===i?this.countries.slice(0,this.itemsLoadSize):this.countries.filter(a=>a.name.toLowerCase().includes(i)||a.alpha2Code.toLowerCase().includes(i)||a.alpha3Code.toLowerCase().includes(i)),this.cdRef.markForCheck()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36((0,e.Gpc)(()=>l1)),e.Y36(e.sBO))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-select-country"]],viewQuery:function(t,i){if(1&t&&(e.Gf(Ip,5),e.Gf(de.ZL,5),e.Gf(an.Nt,5)),2&t){let a;e.iGM(a=e.CRH())&&(i.statesAutocompleteRef=a.first),e.iGM(a=e.CRH())&&(i.autocompleteTrigger=a.first),e.iGM(a=e.CRH())&&(i.inputElement=a.first)}},inputs:{appearance:"appearance",countries:"countries",label:"label",placeHolder:"placeHolder",required:"required",disabled:"disabled",nullable:"nullable",readonly:"readonly",tabIndex:"tabIndex",class:"class",itemsLoadSize:"itemsLoadSize",loading:"loading",showCallingCode:"showCallingCode",excludedCountries:"excludedCountries",autocomplete:"autocomplete",language:"language",name:"name",value:"value"},outputs:{onCountrySelected:"onCountrySelected"},features:[e._Bn([{provide:A.JU,useExisting:(0,e.Gpc)(()=>n),multi:!0}]),e.TTD],decls:9,vars:16,consts:[[3,"appearance"],[4,"ngIf"],["class","mr-12 s-20 secondary-text","matSuffix","",3,"svgIcon",4,"ngIf"],["aria-label","country","matInput","","type","text",3,"matAutocomplete","placeholder","readonly","tabIndex","value","required","disabled","autocomplete","name","blur","input"],["inputElement",""],["mode","buffer",4,"ngIf"],[3,"opened","optionSelected"],["countryAutocomplete","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],["matSuffix","",1,"mr-12","s-20","secondary-text",3,"svgIcon"],["mode","buffer"],[3,"value"],[3,"svgIcon"]],template:function(t,i){if(1&t&&(e.TgZ(0,"mat-form-field",0),e.YNc(1,Ty,2,1,"mat-label",1),e.YNc(2,s1,1,1,"mat-icon",2),e.TgZ(3,"input",3,4),e.NdJ("blur",function(){return i.onBlur()})("input",function(l){return i.inputChanged(null==l||null==l.target?null:l.target.value)}),e.qZA(),e.YNc(5,Rv,1,0,"mat-progress-bar",5),e.TgZ(6,"mat-autocomplete",6,7),e.NdJ("opened",function(){return i.autocompleteScroll()})("optionSelected",function(l){return i.onOptionsSelected(l)}),e.YNc(8,Ey,4,4,"mat-option",8),e.qZA()()),2&t){const a=e.MAs(7);e.Q6J("appearance",i.appearance),e.xp6(1),e.Q6J("ngIf",i.label),e.xp6(1),e.Q6J("ngIf",i.value),e.xp6(1),e.Tol(i.class),e.Q6J("matAutocomplete",a)("placeholder",i.placeHolder)("readonly",i.readonly)("tabIndex",i.tabIndex)("value",i.showCallingCode?i.value?(null==i.value?null:i.value.name)+" ("+(null==i.value?null:i.value.callingCode)+")":"":null==i.value?null:i.value.name)("required",i.required)("disabled",i.disabled||i.loadingDB)("autocomplete",i.autocomplete)("name",i.name),e.xp6(2),e.Q6J("ngIf",i.loadingDB||i.loading),e.xp6(3),e.Q6J("ngForOf",i.filteredOptions)}},dependencies:[_e.sg,_e.O5,Rt.KE,Rt.hX,Rt.R9,an.Nt,de.XC,de.ZL,b.ey,So,Du,wy]}),n})();var Ay=Object.freeze({__proto__:null,COUNTRIES_DB_BR:[{name:"Afeganist\xe3o",alpha2Code:"AF",alpha3Code:"AFG",numericCode:"004",callingCode:"+93"},{name:"Ilhas de Aland",alpha2Code:"AX",alpha3Code:"ALA",numericCode:"248",callingCode:"+358"},{name:"Alb\xe2nia",alpha2Code:"AL",alpha3Code:"ALB",numericCode:"008",callingCode:"+355"},{name:"Arg\xe9lia",alpha2Code:"DZ",alpha3Code:"DZA",numericCode:"012",callingCode:"+213"},{name:"Samoa Americana",alpha2Code:"AS",alpha3Code:"ASM",numericCode:"016",callingCode:"+1684"},{name:"Andorra",alpha2Code:"AD",alpha3Code:"AND",numericCode:"020",callingCode:"+376"},{name:"Angola",alpha2Code:"AO",alpha3Code:"AGO",numericCode:"024",callingCode:"+244"},{name:"Anguila",alpha2Code:"AI",alpha3Code:"AIA",numericCode:"660",callingCode:"+1264"},{name:"Ant\xe1rtida",alpha2Code:"AQ",alpha3Code:"ATA",numericCode:"010",callingCode:"+672"},{name:"Ant\xedgua e Barbuda",alpha2Code:"AG",alpha3Code:"ATG",numericCode:"028",callingCode:"+1268"},{name:"Argentina",alpha2Code:"AR",alpha3Code:"ARG",numericCode:"032",callingCode:"+54"},{name:"Arm\xeania",alpha2Code:"AM",alpha3Code:"ARM",numericCode:"051",callingCode:"+374"},{name:"Aruba",alpha2Code:"AW",alpha3Code:"ABW",numericCode:"533",callingCode:"+297"},{name:"Austr\xe1lia",alpha2Code:"AU",alpha3Code:"AUS",numericCode:"036",callingCode:"+61"},{name:"\xe1ustria",alpha2Code:"AT",alpha3Code:"AUT",numericCode:"040",callingCode:"+43"},{name:"Azerbaij\xe3o",alpha2Code:"AZ",alpha3Code:"AZE",numericCode:"031",callingCode:"+994"},{name:"Bahamas",alpha2Code:"BS",alpha3Code:"BHS",numericCode:"044",callingCode:"+1242"},{name:"Bahrein",alpha2Code:"BH",alpha3Code:"BHR",numericCode:"048",callingCode:"+973"},{name:"Bangladesh",alpha2Code:"BD",alpha3Code:"BGD",numericCode:"050",callingCode:"+880"},{name:"Barbados",alpha2Code:"BB",alpha3Code:"BRB",numericCode:"052",callingCode:"+1246"},{name:"Bielorr\xfassia",alpha2Code:"BY",alpha3Code:"BLR",numericCode:"112",callingCode:"+375"},{name:"B\xe9lgica",alpha2Code:"BE",alpha3Code:"BEL",numericCode:"056",callingCode:"+32"},{name:"Belize",alpha2Code:"BZ",alpha3Code:"BLZ",numericCode:"084",callingCode:"+501"},{name:"Benin",alpha2Code:"BJ",alpha3Code:"BEN",numericCode:"204",callingCode:"+229"},{name:"Bermudas",alpha2Code:"BM",alpha3Code:"BMU",numericCode:"060",callingCode:"+1441"},{name:"But\xe3o",alpha2Code:"BT",alpha3Code:"BTN",numericCode:"064",callingCode:"+975"},{name:"Bol\xedvia",alpha2Code:"BO",alpha3Code:"BOL",numericCode:"068",callingCode:"+591"},{name:"Bonaire",alpha2Code:"BQ",alpha3Code:"BES",numericCode:"535",callingCode:"+5997"},{name:"B\xf3snia e Herzegovina",alpha2Code:"BA",alpha3Code:"BIH",numericCode:"070",callingCode:"+387"},{name:"Botsuana",alpha2Code:"BW",alpha3Code:"BWA",numericCode:"072",callingCode:"+267"},{name:"Ilha Bouvet",alpha2Code:"BV",alpha3Code:"BVT",numericCode:"074",callingCode:"+"},{name:"Brasil",alpha2Code:"BR",alpha3Code:"BRA",numericCode:"076",callingCode:"+55"},{name:"Territ\xf3rio Brit\xe2nico do Oceano \xed\xcddico",alpha2Code:"IO",alpha3Code:"IOT",numericCode:"086",callingCode:"+246"},{name:"Ilhas Menores Distantes dos Estados Unidos",alpha2Code:"UM",alpha3Code:"UMI",numericCode:"581",callingCode:"+"},{name:"Ilhas Virgens Brit\xe2nicas",alpha2Code:"VG",alpha3Code:"VGB",numericCode:"092",callingCode:"+1284"},{name:"Ilhas Virgens Americanas",alpha2Code:"VI",alpha3Code:"VIR",numericCode:"850",callingCode:"+1 340"},{name:"Brunei",alpha2Code:"BN",alpha3Code:"BRN",numericCode:"096",callingCode:"+673"},{name:"Bulg\xe1ria",alpha2Code:"BG",alpha3Code:"BGR",numericCode:"100",callingCode:"+359"},{name:"Burkina Faso",alpha2Code:"BF",alpha3Code:"BFA",numericCode:"854",callingCode:"+226"},{name:"Burundi",alpha2Code:"BI",alpha3Code:"BDI",numericCode:"108",callingCode:"+257"},{name:"Camboja",alpha2Code:"KH",alpha3Code:"KHM",numericCode:"116",callingCode:"+855"},{name:"Camar\xf5es",alpha2Code:"CM",alpha3Code:"CMR",numericCode:"120",callingCode:"+237"},{name:"Canad\xe1",alpha2Code:"CA",alpha3Code:"CAN",numericCode:"124",callingCode:"+1"},{name:"Cabo Verde",alpha2Code:"CV",alpha3Code:"CPV",numericCode:"132",callingCode:"+238"},{name:"Ilhas Cayman",alpha2Code:"KY",alpha3Code:"CYM",numericCode:"136",callingCode:"+1345"},{name:"Rep\xfablica Centro-Africana",alpha2Code:"CF",alpha3Code:"CAF",numericCode:"140",callingCode:"+236"},{name:"Chade",alpha2Code:"TD",alpha3Code:"TCD",numericCode:"148",callingCode:"+235"},{name:"Chile",alpha2Code:"CL",alpha3Code:"CHL",numericCode:"152",callingCode:"+56"},{name:"China",alpha2Code:"CN",alpha3Code:"CHN",numericCode:"156",callingCode:"+86"},{name:"Ilha Christmas",alpha2Code:"CX",alpha3Code:"CXR",numericCode:"162",callingCode:"+61"},{name:"Ilhas Cocos",alpha2Code:"CC",alpha3Code:"CCK",numericCode:"166",callingCode:"+61"},{name:"Col\xf4mbia",alpha2Code:"CO",alpha3Code:"COL",numericCode:"170",callingCode:"+57"},{name:"Comores",alpha2Code:"KM",alpha3Code:"COM",numericCode:"174",callingCode:"+269"},{name:"Congo",alpha2Code:"CG",alpha3Code:"COG",numericCode:"178",callingCode:"+242"},{name:"RD Congo",alpha2Code:"CD",alpha3Code:"COD",numericCode:"180",callingCode:"+243"},{name:"Ilhas Cook",alpha2Code:"CK",alpha3Code:"COK",numericCode:"184",callingCode:"+682"},{name:"Costa Rica",alpha2Code:"CR",alpha3Code:"CRI",numericCode:"188",callingCode:"+506"},{name:"Cro\xe1cia",alpha2Code:"HR",alpha3Code:"HRV",numericCode:"191",callingCode:"+385"},{name:"Cuba",alpha2Code:"CU",alpha3Code:"CUB",numericCode:"192",callingCode:"+53"},{name:"Cura\xe7ao",alpha2Code:"CW",alpha3Code:"CUW",numericCode:"531",callingCode:"+599"},{name:"Chipre",alpha2Code:"CY",alpha3Code:"CYP",numericCode:"196",callingCode:"+357"},{name:"Rep\xfablica Tcheca",alpha2Code:"CZ",alpha3Code:"CZE",numericCode:"203",callingCode:"+420"},{name:"Dinamarca",alpha2Code:"DK",alpha3Code:"DNK",numericCode:"208",callingCode:"+45"},{name:"Djibuti",alpha2Code:"DJ",alpha3Code:"DJI",numericCode:"262",callingCode:"+253"},{name:"Dominica",alpha2Code:"DM",alpha3Code:"DMA",numericCode:"212",callingCode:"+1767"},{name:"Rep\xfablica Dominicana",alpha2Code:"DO",alpha3Code:"DOM",numericCode:"214",callingCode:"+1809"},{name:"Equador",alpha2Code:"EC",alpha3Code:"ECU",numericCode:"218",callingCode:"+593"},{name:"Egito",alpha2Code:"EG",alpha3Code:"EGY",numericCode:"818",callingCode:"+20"},{name:"El Salvador",alpha2Code:"SV",alpha3Code:"SLV",numericCode:"222",callingCode:"+503"},{name:"Guin\xe9 Equatorial",alpha2Code:"GQ",alpha3Code:"GNQ",numericCode:"226",callingCode:"+240"},{name:"Eritreia",alpha2Code:"ER",alpha3Code:"ERI",numericCode:"232",callingCode:"+291"},{name:"Est\xf4nia",alpha2Code:"EE",alpha3Code:"EST",numericCode:"233",callingCode:"+372"},{name:"Eti\xf3pia",alpha2Code:"ET",alpha3Code:"ETH",numericCode:"231",callingCode:"+251"},{name:"Ilhas Malvinas",alpha2Code:"FK",alpha3Code:"FLK",numericCode:"238",callingCode:"+500"},{name:"Ilhas Faro\xe9",alpha2Code:"FO",alpha3Code:"FRO",numericCode:"234",callingCode:"+298"},{name:"Fiji",alpha2Code:"FJ",alpha3Code:"FJI",numericCode:"242",callingCode:"+679"},{name:"Finl\xe2ndia",alpha2Code:"FI",alpha3Code:"FIN",numericCode:"246",callingCode:"+358"},{name:"Fran\xe7a",alpha2Code:"FR",alpha3Code:"FRA",numericCode:"250",callingCode:"+33"},{name:"Guiana Francesa",alpha2Code:"GF",alpha3Code:"GUF",numericCode:"254",callingCode:"+594"},{name:"Polin\xe9sia Francesa",alpha2Code:"PF",alpha3Code:"PYF",numericCode:"258",callingCode:"+689"},{name:"Terras Austrais e Ant\xe1rticas Francesas",alpha2Code:"TF",alpha3Code:"ATF",numericCode:"260",callingCode:"+"},{name:"Gab\xe3o",alpha2Code:"GA",alpha3Code:"GAB",numericCode:"266",callingCode:"+241"},{name:"G\xe2mbia",alpha2Code:"GM",alpha3Code:"GMB",numericCode:"270",callingCode:"+220"},{name:"Ge\xf3rgia",alpha2Code:"GE",alpha3Code:"GEO",numericCode:"268",callingCode:"+995"},{name:"Alemanha",alpha2Code:"DE",alpha3Code:"DEU",numericCode:"276",callingCode:"+49"},{name:"Gana",alpha2Code:"GH",alpha3Code:"GHA",numericCode:"288",callingCode:"+233"},{name:"Gibraltar",alpha2Code:"GI",alpha3Code:"GIB",numericCode:"292",callingCode:"+350"},{name:"Gr\xe9cia",alpha2Code:"GR",alpha3Code:"GRC",numericCode:"300",callingCode:"+30"},{name:"Groel\xe2ndia",alpha2Code:"GL",alpha3Code:"GRL",numericCode:"304",callingCode:"+299"},{name:"Granada",alpha2Code:"GD",alpha3Code:"GRD",numericCode:"308",callingCode:"+1473"},{name:"Guadalupe",alpha2Code:"GP",alpha3Code:"GLP",numericCode:"312",callingCode:"+590"},{name:"Guam",alpha2Code:"GU",alpha3Code:"GUM",numericCode:"316",callingCode:"+1671"},{name:"Guatemala",alpha2Code:"GT",alpha3Code:"GTM",numericCode:"320",callingCode:"+502"},{name:"Guernsey",alpha2Code:"GG",alpha3Code:"GGY",numericCode:"831",callingCode:"+44"},{name:"Guin\xe9",alpha2Code:"GN",alpha3Code:"GIN",numericCode:"324",callingCode:"+224"},{name:"Guin\xe9-Bissau",alpha2Code:"GW",alpha3Code:"GNB",numericCode:"624",callingCode:"+245"},{name:"Guiana",alpha2Code:"GY",alpha3Code:"GUY",numericCode:"328",callingCode:"+592"},{name:"Haiti",alpha2Code:"HT",alpha3Code:"HTI",numericCode:"332",callingCode:"+509"},{name:"Ilha Heard e Ilhas McDonald",alpha2Code:"HM",alpha3Code:"HMD",numericCode:"334",callingCode:"+"},{name:"Vaticano",alpha2Code:"VA",alpha3Code:"VAT",numericCode:"336",callingCode:"+379"},{name:"Honduras",alpha2Code:"HN",alpha3Code:"HND",numericCode:"340",callingCode:"+504"},{name:"Hong Kong",alpha2Code:"HK",alpha3Code:"HKG",numericCode:"344",callingCode:"+852"},{name:"Hungria",alpha2Code:"HU",alpha3Code:"HUN",numericCode:"348",callingCode:"+36"},{name:"Isl\xe2ndia",alpha2Code:"IS",alpha3Code:"ISL",numericCode:"352",callingCode:"+354"},{name:"\xcdndia",alpha2Code:"IN",alpha3Code:"IND",numericCode:"356",callingCode:"+91"},{name:"Indon\xe9sia",alpha2Code:"ID",alpha3Code:"IDN",numericCode:"360",callingCode:"+62"},{name:"Costa do Marfim",alpha2Code:"CI",alpha3Code:"CIV",numericCode:"384",callingCode:"+225"},{name:"Ir\xe3",alpha2Code:"IR",alpha3Code:"IRN",numericCode:"364",callingCode:"+98"},{name:"Iraque",alpha2Code:"IQ",alpha3Code:"IRQ",numericCode:"368",callingCode:"+964"},{name:"Irlanda",alpha2Code:"IE",alpha3Code:"IRL",numericCode:"372",callingCode:"+353"},{name:"Ilha de Man",alpha2Code:"IM",alpha3Code:"IMN",numericCode:"833",callingCode:"+44"},{name:"Israel",alpha2Code:"IL",alpha3Code:"ISR",numericCode:"376",callingCode:"+972"},{name:"It\xe1lia",alpha2Code:"IT",alpha3Code:"ITA",numericCode:"380",callingCode:"+39"},{name:"Jamaica",alpha2Code:"JM",alpha3Code:"JAM",numericCode:"388",callingCode:"+1876"},{name:"Jap\xe3o",alpha2Code:"JP",alpha3Code:"JPN",numericCode:"392",callingCode:"+81"},{name:"Jersey",alpha2Code:"JE",alpha3Code:"JEY",numericCode:"832",callingCode:"+44"},{name:"Jord\xe2nia",alpha2Code:"JO",alpha3Code:"JOR",numericCode:"400",callingCode:"+962"},{name:"Cazaquist\xe3o",alpha2Code:"KZ",alpha3Code:"KAZ",numericCode:"398",callingCode:"+7"},{name:"Qu\xeania",alpha2Code:"KE",alpha3Code:"KEN",numericCode:"404",callingCode:"+254"},{name:"Kiribati",alpha2Code:"KI",alpha3Code:"KIR",numericCode:"296",callingCode:"+686"},{name:"Kuwait",alpha2Code:"KW",alpha3Code:"KWT",numericCode:"414",callingCode:"+965"},{name:"Quirguist\xe3o",alpha2Code:"KG",alpha3Code:"KGZ",numericCode:"417",callingCode:"+996"},{name:"Laos",alpha2Code:"LA",alpha3Code:"LAO",numericCode:"418",callingCode:"+856"},{name:"Let\xf4nia",alpha2Code:"LV",alpha3Code:"LVA",numericCode:"428",callingCode:"+371"},{name:"L\xedbano",alpha2Code:"LB",alpha3Code:"LBN",numericCode:"422",callingCode:"+961"},{name:"Lesoto",alpha2Code:"LS",alpha3Code:"LSO",numericCode:"426",callingCode:"+266"},{name:"Lib\xe9ria",alpha2Code:"LR",alpha3Code:"LBR",numericCode:"430",callingCode:"+231"},{name:"L\xedbia",alpha2Code:"LY",alpha3Code:"LBY",numericCode:"434",callingCode:"+218"},{name:"Liechtenstein",alpha2Code:"LI",alpha3Code:"LIE",numericCode:"438",callingCode:"+423"},{name:"Litu\xe2nia",alpha2Code:"LT",alpha3Code:"LTU",numericCode:"440",callingCode:"+370"},{name:"Luxemburgo",alpha2Code:"LU",alpha3Code:"LUX",numericCode:"442",callingCode:"+352"},{name:"Macau",alpha2Code:"MO",alpha3Code:"MAC",numericCode:"446",callingCode:"+853"},{name:"Maced\xf4nia",alpha2Code:"MK",alpha3Code:"MKD",numericCode:"807",callingCode:"+389"},{name:"Madagascar",alpha2Code:"MG",alpha3Code:"MDG",numericCode:"450",callingCode:"+261"},{name:"Malawi",alpha2Code:"MW",alpha3Code:"MWI",numericCode:"454",callingCode:"+265"},{name:"Mal\xe1sia",alpha2Code:"MY",alpha3Code:"MYS",numericCode:"458",callingCode:"+60"},{name:"Maldivas",alpha2Code:"MV",alpha3Code:"MDV",numericCode:"462",callingCode:"+960"},{name:"Mali",alpha2Code:"ML",alpha3Code:"MLI",numericCode:"466",callingCode:"+223"},{name:"Malta",alpha2Code:"MT",alpha3Code:"MLT",numericCode:"470",callingCode:"+356"},{name:"Ilhas Marshall",alpha2Code:"MH",alpha3Code:"MHL",numericCode:"584",callingCode:"+692"},{name:"Martinica",alpha2Code:"MQ",alpha3Code:"MTQ",numericCode:"474",callingCode:"+596"},{name:"Maurit\xe2nia",alpha2Code:"MR",alpha3Code:"MRT",numericCode:"478",callingCode:"+222"},{name:"Maur\xedcio",alpha2Code:"MU",alpha3Code:"MUS",numericCode:"480",callingCode:"+230"},{name:"Mayotte",alpha2Code:"YT",alpha3Code:"MYT",numericCode:"175",callingCode:"+262"},{name:"M\xe9xico",alpha2Code:"MX",alpha3Code:"MEX",numericCode:"484",callingCode:"+52"},{name:"Micron\xe9sia",alpha2Code:"FM",alpha3Code:"FSM",numericCode:"583",callingCode:"+691"},{name:"Mold\xe1via",alpha2Code:"MD",alpha3Code:"MDA",numericCode:"498",callingCode:"+373"},{name:"M\xf4naco",alpha2Code:"MC",alpha3Code:"MCO",numericCode:"492",callingCode:"+377"},{name:"Mong\xf3lia",alpha2Code:"MN",alpha3Code:"MNG",numericCode:"496",callingCode:"+976"},{name:"Montenegro",alpha2Code:"ME",alpha3Code:"MNE",numericCode:"499",callingCode:"+382"},{name:"Montserrat",alpha2Code:"MS",alpha3Code:"MSR",numericCode:"500",callingCode:"+1664"},{name:"Marrocos",alpha2Code:"MA",alpha3Code:"MAR",numericCode:"504",callingCode:"+212"},{name:"Mo\xe7ambique",alpha2Code:"MZ",alpha3Code:"MOZ",numericCode:"508",callingCode:"+258"},{name:"Myanmar",alpha2Code:"MM",alpha3Code:"MMR",numericCode:"104",callingCode:"+95"},{name:"Nam\xedbia",alpha2Code:"NA",alpha3Code:"NAM",numericCode:"516",callingCode:"+264"},{name:"Nauru",alpha2Code:"NR",alpha3Code:"NRU",numericCode:"520",callingCode:"+674"},{name:"Nepal",alpha2Code:"NP",alpha3Code:"NPL",numericCode:"524",callingCode:"+977"},{name:"Holanda",alpha2Code:"NL",alpha3Code:"NLD",numericCode:"528",callingCode:"+31"},{name:"Nova Caled\xf4nia",alpha2Code:"NC",alpha3Code:"NCL",numericCode:"540",callingCode:"+687"},{name:"Nova Zel\xe2ndia",alpha2Code:"NZ",alpha3Code:"NZL",numericCode:"554",callingCode:"+64"},{name:"Nicar\xe1gua",alpha2Code:"NI",alpha3Code:"NIC",numericCode:"558",callingCode:"+505"},{name:"N\xedger",alpha2Code:"NE",alpha3Code:"NER",numericCode:"562",callingCode:"+227"},{name:"Nig\xe9ria",alpha2Code:"NG",alpha3Code:"NGA",numericCode:"566",callingCode:"+234"},{name:"Niue",alpha2Code:"NU",alpha3Code:"NIU",numericCode:"570",callingCode:"+683"},{name:"Ilha Norfolk",alpha2Code:"NF",alpha3Code:"NFK",numericCode:"574",callingCode:"+672"},{name:"Coreia do Norte",alpha2Code:"KP",alpha3Code:"PRK",numericCode:"408",callingCode:"+850"},{name:"Ilhas Marianas",alpha2Code:"MP",alpha3Code:"MNP",numericCode:"580",callingCode:"+1670"},{name:"Noruega",alpha2Code:"NO",alpha3Code:"NOR",numericCode:"578",callingCode:"+47"},{name:"Om\xe3",alpha2Code:"OM",alpha3Code:"OMN",numericCode:"512",callingCode:"+968"},{name:"Paquist\xe3o",alpha2Code:"PK",alpha3Code:"PAK",numericCode:"586",callingCode:"+92"},{name:"Palau",alpha2Code:"PW",alpha3Code:"PLW",numericCode:"585",callingCode:"+680"},{name:"Palestina",alpha2Code:"PS",alpha3Code:"PSE",numericCode:"275",callingCode:"+970"},{name:"Panam\xe1",alpha2Code:"PA",alpha3Code:"PAN",numericCode:"591",callingCode:"+507"},{name:"Papua Nova Guin\xe9",alpha2Code:"PG",alpha3Code:"PNG",numericCode:"598",callingCode:"+675"},{name:"Paraguai",alpha2Code:"PY",alpha3Code:"PRY",numericCode:"600",callingCode:"+595"},{name:"Peru",alpha2Code:"PE",alpha3Code:"PER",numericCode:"604",callingCode:"+51"},{name:"Filipinas",alpha2Code:"PH",alpha3Code:"PHL",numericCode:"608",callingCode:"+63"},{name:"Ilhas Pitcairn",alpha2Code:"PN",alpha3Code:"PCN",numericCode:"612",callingCode:"+64"},{name:"Pol\xf4nia",alpha2Code:"PL",alpha3Code:"POL",numericCode:"616",callingCode:"+48"},{name:"Portugal",alpha2Code:"PT",alpha3Code:"PRT",numericCode:"620",callingCode:"+351"},{name:"Porto Rico",alpha2Code:"PR",alpha3Code:"PRI",numericCode:"630",callingCode:"+1"},{name:"Catar",alpha2Code:"QA",alpha3Code:"QAT",numericCode:"634",callingCode:"+974"},{name:"Kosovo",alpha2Code:"XK",alpha3Code:"KOS",numericCode:null,callingCode:"+383"},{name:"Reuni\xe3o",alpha2Code:"RE",alpha3Code:"REU",numericCode:"638",callingCode:"+262"},{name:"Rom\xeania",alpha2Code:"RO",alpha3Code:"ROU",numericCode:"642",callingCode:"+40"},{name:"R\xfassia",alpha2Code:"RU",alpha3Code:"RUS",numericCode:"643",callingCode:"+7"},{name:"Ruanda",alpha2Code:"RW",alpha3Code:"RWA",numericCode:"646",callingCode:"+250"},{name:"S\xe3o Bartolomeu",alpha2Code:"BL",alpha3Code:"BLM",numericCode:"652",callingCode:"+590"},{name:"Santa Helena",alpha2Code:"SH",alpha3Code:"SHN",numericCode:"654",callingCode:"+290"},{name:"S\xe3o Crist\xf3v\xe3o e Neves",alpha2Code:"KN",alpha3Code:"KNA",numericCode:"659",callingCode:"+1869"},{name:"Santa L\xfacia",alpha2Code:"LC",alpha3Code:"LCA",numericCode:"662",callingCode:"+1758"},{name:"Saint Martin",alpha2Code:"MF",alpha3Code:"MAF",numericCode:"663",callingCode:"+590"},{name:"Saint-Pierre e Miquelon",alpha2Code:"PM",alpha3Code:"SPM",numericCode:"666",callingCode:"+508"},{name:"S\xe3o Vicente e Granadinas",alpha2Code:"VC",alpha3Code:"VCT",numericCode:"670",callingCode:"+1784"},{name:"Samoa",alpha2Code:"WS",alpha3Code:"WSM",numericCode:"882",callingCode:"+685"},{name:"San Marino",alpha2Code:"SM",alpha3Code:"SMR",numericCode:"674",callingCode:"+378"},{name:"S\xe3o Tom\xe9 e Pr\xedncipe",alpha2Code:"ST",alpha3Code:"STP",numericCode:"678",callingCode:"+239"},{name:"Ar\xe1bia Saudita",alpha2Code:"SA",alpha3Code:"SAU",numericCode:"682",callingCode:"+966"},{name:"Senegal",alpha2Code:"SN",alpha3Code:"SEN",numericCode:"686",callingCode:"+221"},{name:"S\xe9rvia",alpha2Code:"RS",alpha3Code:"SRB",numericCode:"688",callingCode:"+381"},{name:"Seicheles",alpha2Code:"SC",alpha3Code:"SYC",numericCode:"690",callingCode:"+248"},{name:"Serra Leoa",alpha2Code:"SL",alpha3Code:"SLE",numericCode:"694",callingCode:"+232"},{name:"Singapura",alpha2Code:"SG",alpha3Code:"SGP",numericCode:"702",callingCode:"+65"},{name:"Sint Maarten",alpha2Code:"SX",alpha3Code:"SXM",numericCode:"534",callingCode:"+1721"},{name:"Eslov\xe1quia",alpha2Code:"SK",alpha3Code:"SVK",numericCode:"703",callingCode:"+421"},{name:"Eslov\xeania",alpha2Code:"SI",alpha3Code:"SVN",numericCode:"705",callingCode:"+386"},{name:"Ilhas Salom\xe3o",alpha2Code:"SB",alpha3Code:"SLB",numericCode:"090",callingCode:"+677"},{name:"Som\xe1lia",alpha2Code:"SO",alpha3Code:"SOM",numericCode:"706",callingCode:"+252"},{name:"Rep\xfablica Sul-Africana",alpha2Code:"ZA",alpha3Code:"ZAF",numericCode:"710",callingCode:"+27"},{name:"Ilhas Ge\xf3rgias do Sul e Sandwich do Sul",alpha2Code:"GS",alpha3Code:"SGS",numericCode:"239",callingCode:"+500"},{name:"Coreia do Sul",alpha2Code:"KR",alpha3Code:"KOR",numericCode:"410",callingCode:"+82"},{name:"Sud\xe3o do Sul",alpha2Code:"SS",alpha3Code:"SSD",numericCode:"728",callingCode:"+211"},{name:"Espanha",alpha2Code:"ES",alpha3Code:"ESP",numericCode:"724",callingCode:"+34"},{name:"Sri Lanka",alpha2Code:"LK",alpha3Code:"LKA",numericCode:"144",callingCode:"+94"},{name:"Sud\xe3o",alpha2Code:"SD",alpha3Code:"SDN",numericCode:"729",callingCode:"+249"},{name:"Suriname",alpha2Code:"SR",alpha3Code:"SUR",numericCode:"740",callingCode:"+597"},{name:"Svalbard",alpha2Code:"SJ",alpha3Code:"SJM",numericCode:"744",callingCode:"+4779"},{name:"Suazil\xe2ndia",alpha2Code:"SZ",alpha3Code:"SWZ",numericCode:"748",callingCode:"+268"},{name:"Su\xe9cia",alpha2Code:"SE",alpha3Code:"SWE",numericCode:"752",callingCode:"+46"},{name:"Su\xed\xe7a",alpha2Code:"CH",alpha3Code:"CHE",numericCode:"756",callingCode:"+41"},{name:"S\xedria",alpha2Code:"SY",alpha3Code:"SYR",numericCode:"760",callingCode:"+963"},{name:"Taiwan, China",alpha2Code:"TW",alpha3Code:"TWN",numericCode:"158",callingCode:"+886"},{name:"Tajiquist\xe3o",alpha2Code:"TJ",alpha3Code:"TJK",numericCode:"762",callingCode:"+992"},{name:"Tanz\xe2nia",alpha2Code:"TZ",alpha3Code:"TZA",numericCode:"834",callingCode:"+255"},{name:"Tail\xe2ndia",alpha2Code:"TH",alpha3Code:"THA",numericCode:"764",callingCode:"+66"},{name:"Timor Leste",alpha2Code:"TL",alpha3Code:"TLS",numericCode:"626",callingCode:"+670"},{name:"Togo",alpha2Code:"TG",alpha3Code:"TGO",numericCode:"768",callingCode:"+228"},{name:"Tokelau",alpha2Code:"TK",alpha3Code:"TKL",numericCode:"772",callingCode:"+690"},{name:"Tonga",alpha2Code:"TO",alpha3Code:"TON",numericCode:"776",callingCode:"+676"},{name:"Trinidad e Tobago",alpha2Code:"TT",alpha3Code:"TTO",numericCode:"780",callingCode:"+1868"},{name:"Tun\xedsia",alpha2Code:"TN",alpha3Code:"TUN",numericCode:"788",callingCode:"+216"},{name:"Turquia",alpha2Code:"TR",alpha3Code:"TUR",numericCode:"792",callingCode:"+90"},{name:"Turcomenist\xe3o",alpha2Code:"TM",alpha3Code:"TKM",numericCode:"795",callingCode:"+993"},{name:"Ilhas Turcas e Caicos",alpha2Code:"TC",alpha3Code:"TCA",numericCode:"796",callingCode:"+1649"},{name:"Tuvalu",alpha2Code:"TV",alpha3Code:"TUV",numericCode:"798",callingCode:"+688"},{name:"Uganda",alpha2Code:"UG",alpha3Code:"UGA",numericCode:"800",callingCode:"+256"},{name:"Ucr\xe2nia",alpha2Code:"UA",alpha3Code:"UKR",numericCode:"804",callingCode:"+380"},{name:"Emirados \xe1rabes Unidos",alpha2Code:"AE",alpha3Code:"ARE",numericCode:"784",callingCode:"+971"},{name:"Reino Unido",alpha2Code:"GB",alpha3Code:"GBR",numericCode:"826",callingCode:"+44"},{name:"Estados Unidos",alpha2Code:"US",alpha3Code:"USA",numericCode:"840",callingCode:"+1"},{name:"Uruguai",alpha2Code:"UY",alpha3Code:"URY",numericCode:"858",callingCode:"+598"},{name:"Uzbequist\xe3o",alpha2Code:"UZ",alpha3Code:"UZB",numericCode:"860",callingCode:"+998"},{name:"Vanuatu",alpha2Code:"VU",alpha3Code:"VUT",numericCode:"548",callingCode:"+678"},{name:"Venezuela",alpha2Code:"VE",alpha3Code:"VEN",numericCode:"862",callingCode:"+58"},{name:"Vietn\xe3",alpha2Code:"VN",alpha3Code:"VNM",numericCode:"704",callingCode:"+84"},{name:"Wallis e Futuna",alpha2Code:"WF",alpha3Code:"WLF",numericCode:"876",callingCode:"+681"},{name:"Saara Ocidental",alpha2Code:"EH",alpha3Code:"ESH",numericCode:"732",callingCode:"+212"},{name:"I\xeamen",alpha2Code:"YE",alpha3Code:"YEM",numericCode:"887",callingCode:"+967"},{name:"Z\xe2mbia",alpha2Code:"ZM",alpha3Code:"ZMB",numericCode:"894",callingCode:"+260"},{name:"Zimbabwe",alpha2Code:"ZW",alpha3Code:"ZWE",numericCode:"716",callingCode:"+263"}]}),c1=Object.freeze({__proto__:null,COUNTRIES_DB_BY:[{name:"\u0410\u0444\u0433\u0430\u043d\u0456\u0441\u0442\u0430\u043d",alpha2Code:"AF",alpha3Code:"AFG",numericCode:"004",callingCode:"+93"},{name:"\u0410\u043b\u0430\u043d\u0434\u0441\u043a\u0456\u044f \u0430\u0441\u0442\u0440\u0430\u0432\u044b",alpha2Code:"AX",alpha3Code:"ALA",numericCode:"248",callingCode:"+358"},{name:"\u0410\u043b\u0431\u0430\u043d\u0456\u044f",alpha2Code:"AL",alpha3Code:"ALB",numericCode:"008",callingCode:"+355"},{name:"\u0410\u043b\u0436\u044b\u0440",alpha2Code:"DZ",alpha3Code:"DZA",numericCode:"012",callingCode:"+213"},{name:"\u0410\u043c\u0435\u0440\u044b\u043a\u0430\u043d\u0441\u043a\u0430\u0435 \u0421\u0430\u043c\u043e\u0430",alpha2Code:"AS",alpha3Code:"ASM",numericCode:"016",callingCode:"+1684"},{name:"\u0410\u043d\u0434\u043e\u0440\u0430",alpha2Code:"AD",alpha3Code:"AND",numericCode:"020",callingCode:"+376"},{name:"\u0410\u043d\u0433\u043e\u043b\u0430",alpha2Code:"AO",alpha3Code:"AGO",numericCode:"024",callingCode:"+244"},{name:"\u0410\u043d\u0433\u0456\u043b\u044c\u044f",alpha2Code:"AI",alpha3Code:"AIA",numericCode:"660",callingCode:"+1264"},{name:"\u0410\u043d\u0442\u0430\u0440\u043a\u0442\u044b\u0434\u0430",alpha2Code:"AQ",alpha3Code:"ATA",numericCode:"010",callingCode:"+672"},{name:"\u0410\u043d\u0442\u044b\u0433\u0443\u0430 \u0456 \u0411\u0430\u0440\u0431\u0443\u0434\u0430",alpha2Code:"AG",alpha3Code:"ATG",numericCode:"028",callingCode:"+1268"},{name:"\u0410\u0440\u0433\u0435\u043d\u0446\u0456\u043d\u0430",alpha2Code:"AR",alpha3Code:"ARG",numericCode:"032",callingCode:"+54"},{name:"\u0410\u0440\u043c\u0435\u043d\u0456\u044f",alpha2Code:"AM",alpha3Code:"ARM",numericCode:"051",callingCode:"+374"},{name:"\u0410\u0440\u0443\u0431\u0430",alpha2Code:"AW",alpha3Code:"ABW",numericCode:"533",callingCode:"+297"},{name:"\u0410\u045e\u0441\u0442\u0440\u0430\u043b\u0456\u044f",alpha2Code:"AU",alpha3Code:"AUS",numericCode:"036",callingCode:"+61"},{name:"\u0410\u045e\u0441\u0442\u0440\u044b\u044f",alpha2Code:"AT",alpha3Code:"AUT",numericCode:"040",callingCode:"+43"},{name:"\u0410\u0437\u0435\u0440\u0431\u0430\u0439\u0434\u0436\u0430\u043d",alpha2Code:"AZ",alpha3Code:"AZE",numericCode:"031",callingCode:"+994"},{name:"\u0411\u0430\u0433\u0430\u043c\u044b",alpha2Code:"BS",alpha3Code:"BHS",numericCode:"044",callingCode:"+1242"},{name:"\u0411\u0430\u0445\u0440\u044d\u0439\u043d",alpha2Code:"BH",alpha3Code:"BHR",numericCode:"048",callingCode:"+973"},{name:"\u0411\u0430\u043d\u0433\u043b\u0430\u0434\u044d\u0448",alpha2Code:"BD",alpha3Code:"BGD",numericCode:"050",callingCode:"+880"},{name:"\u0411\u0430\u0440\u0431\u0430\u0434\u0430\u0441",alpha2Code:"BB",alpha3Code:"BRB",numericCode:"052",callingCode:"+1246"},{name:"\u0411\u0435\u043b\u0430\u0440\u0443\u0441\u044c",alpha2Code:"BY",alpha3Code:"BLR",numericCode:"112",callingCode:"+375"},{name:"\u0411\u0435\u043b\u044c\u0433\u0456\u044f",alpha2Code:"BE",alpha3Code:"BEL",numericCode:"056",callingCode:"+32"},{name:"\u0411\u0435\u043b\u0456\u0437",alpha2Code:"BZ",alpha3Code:"BLZ",numericCode:"084",callingCode:"+501"},{name:"\u0411\u0435\u043d\u0456\u043d",alpha2Code:"BJ",alpha3Code:"BEN",numericCode:"204",callingCode:"+229"},{name:"\u0411\u0435\u0440\u043c\u0443\u0434\u044b",alpha2Code:"BM",alpha3Code:"BMU",numericCode:"060",callingCode:"+1441"},{name:"\u0411\u0443\u0442\u0430\u043d",alpha2Code:"BT",alpha3Code:"BTN",numericCode:"064",callingCode:"+975"},{name:"\u0411\u0430\u043b\u0456\u0432\u0456\u044f",alpha2Code:"BO",alpha3Code:"BOL",numericCode:"068",callingCode:"+591"},{name:"\u041a\u0430\u0440\u044b\u0431\u0441\u043a\u0456\u044f \u041d\u0456\u0434\u044d\u0440\u043b\u0430\u043d\u0434\u044b",alpha2Code:"BQ",alpha3Code:"BES",numericCode:"535",callingCode:"+5997"},{name:"\u0411\u043e\u0441\u043d\u0456\u044f \u0456 \u0413\u0435\u0440\u0446\u0430\u0433\u0430\u0432\u0456\u043d\u0430",alpha2Code:"BA",alpha3Code:"BIH",numericCode:"070",callingCode:"+387"},{name:"\u0411\u0430\u0442\u0441\u0432\u0430\u043d\u0430",alpha2Code:"BW",alpha3Code:"BWA",numericCode:"072",callingCode:"+267"},{name:"\u0412\u043e\u0441\u0442\u0440\u0430\u045e \u0411\u0443\u0432\u044d",alpha2Code:"BV",alpha3Code:"BVT",numericCode:"074",callingCode:"+"},{name:"\u0411\u0440\u0430\u0437\u0456\u043b\u0456\u044f",alpha2Code:"BR",alpha3Code:"BRA",numericCode:"076",callingCode:"+55"},{name:"\u0411\u0440\u044b\u0442\u0430\u043d\u0441\u043a\u0430\u044f \u0442\u044d\u0440\u044b\u0442\u043e\u0440\u044b\u044f \u045e \u0406\u043d\u0434\u044b\u0439\u0441\u043a\u0456\u043c \u0430\u043a\u0456\u044f\u043d\u0435",alpha2Code:"IO",alpha3Code:"IOT",numericCode:"086",callingCode:"+246"},{name:"\u0412\u043e\u043d\u043a\u0430\u0432\u044b\u044f \u043c\u0430\u043b\u044b\u044f \u0430\u0441\u0442\u0440\u0430\u0432\u044b \u0417\u0428\u0410",alpha2Code:"UM",alpha3Code:"UMI",numericCode:"581",callingCode:"+"},{name:"\u0411\u0440\u044b\u0442\u0430\u043d\u0441\u043a\u0456\u044f \u0412\u0456\u0440\u0433\u0456\u043d\u0441\u043a\u0456\u044f \u0430\u0441\u0442\u0440\u0430\u0432\u044b",alpha2Code:"VG",alpha3Code:"VGB",numericCode:"092",callingCode:"+1284"},{name:"\u0410\u043c\u0435\u0440\u044b\u043a\u0430\u043d\u0441\u043a\u0456\u044f \u0412\u0456\u0440\u0433\u0456\u043d\u0441\u043a\u0456\u044f \u0430\u0441\u0442\u0440\u0430\u0432\u044b",alpha2Code:"VI",alpha3Code:"VIR",numericCode:"850",callingCode:"+1 340"},{name:"\u0411\u0440\u0443\u043d\u0435\u0439",alpha2Code:"BN",alpha3Code:"BRN",numericCode:"096",callingCode:"+673"},{name:"\u0411\u0430\u043b\u0433\u0430\u0440\u044b\u044f",alpha2Code:"BG",alpha3Code:"BGR",numericCode:"100",callingCode:"+359"},{name:"\u0411\u0443\u0440\u043a\u0456\u043d\u0430-\u0424\u0430\u0441\u043e",alpha2Code:"BF",alpha3Code:"BFA",numericCode:"854",callingCode:"+226"},{name:"\u0411\u0443\u0440\u0443\u043d\u0434\u0437\u0456",alpha2Code:"BI",alpha3Code:"BDI",numericCode:"108",callingCode:"+257"},{name:"\u041a\u0430\u043c\u0431\u043e\u0434\u0436\u0430",alpha2Code:"KH",alpha3Code:"KHM",numericCode:"116",callingCode:"+855"},{name:"\u041a\u0430\u043c\u0435\u0440\u0443\u043d",alpha2Code:"CM",alpha3Code:"CMR",numericCode:"120",callingCode:"+237"},{name:"\u041a\u0430\u043d\u0430\u0434\u0430",alpha2Code:"CA",alpha3Code:"CAN",numericCode:"124",callingCode:"+1"},{name:"\u041a\u0430\u0431\u0430-\u0412\u0435\u0440\u0434\u044d",alpha2Code:"CV",alpha3Code:"CPV",numericCode:"132",callingCode:"+238"},{name:"\u041a\u0430\u0439\u043c\u0430\u043d\u0430\u0432\u044b \u0430\u0441\u0442\u0440\u0430\u0432\u044b",alpha2Code:"KY",alpha3Code:"CYM",numericCode:"136",callingCode:"+1345"},{name:"\u0426\u0410\u0420",alpha2Code:"CF",alpha3Code:"CAF",numericCode:"140",callingCode:"+236"},{name:"\u0427\u0430\u0434",alpha2Code:"TD",alpha3Code:"TCD",numericCode:"148",callingCode:"+235"},{name:"\u0427\u044b\u043b\u0456",alpha2Code:"CL",alpha3Code:"CHL",numericCode:"152",callingCode:"+56"},{name:"\u041a\u0456\u0442\u0430\u0439",alpha2Code:"CN",alpha3Code:"CHN",numericCode:"156",callingCode:"+86"},{name:"\u0412\u043e\u0441\u0442\u0440\u0430\u045e \u0420\u0430\u0436\u0441\u0442\u0432\u0430",alpha2Code:"CX",alpha3Code:"CXR",numericCode:"162",callingCode:"+61"},{name:"\u041a\u0430\u043a\u043e\u0441\u0430\u0432\u044b\u044f \u0430\u0441\u0442\u0440\u0430\u0432\u044b",alpha2Code:"CC",alpha3Code:"CCK",numericCode:"166",callingCode:"+61"},{name:"\u041a\u0430\u043b\u0443\u043c\u0431\u0456\u044f",alpha2Code:"CO",alpha3Code:"COL",numericCode:"170",callingCode:"+57"},{name:"\u041a\u0430\u043c\u043e\u0440\u0441\u043a\u0456\u044f \u0430\u0441\u0442\u0440\u0430\u0432\u044b",alpha2Code:"KM",alpha3Code:"COM",numericCode:"174",callingCode:"+269"},{name:"\u0420\u044d\u0441\u043f\u0443\u0431\u043b\u0456\u043a\u0430 \u041a\u043e\u043d\u0433\u0430",alpha2Code:"CG",alpha3Code:"COG",numericCode:"178",callingCode:"+242"},{name:"\u0414\u0420 \u041a\u043e\u043d\u0433\u0430",alpha2Code:"CD",alpha3Code:"COD",numericCode:"180",callingCode:"+243"},{name:"\u0410\u0441\u0442\u0440\u0430\u0432\u044b \u041a\u0443\u043a\u0430",alpha2Code:"CK",alpha3Code:"COK",numericCode:"184",callingCode:"+682"},{name:"\u041a\u043e\u0441\u0442\u0430-\u0420\u044b\u043a\u0430",alpha2Code:"CR",alpha3Code:"CRI",numericCode:"188",callingCode:"+506"},{name:"\u0425\u0430\u0440\u0432\u0430\u0442\u044b\u044f",alpha2Code:"HR",alpha3Code:"HRV",numericCode:"191",callingCode:"+385"},{name:"\u041a\u0443\u0431\u0430",alpha2Code:"CU",alpha3Code:"CUB",numericCode:"192",callingCode:"+53"},{name:"\u041a\u044e\u0440\u0430\u0441\u0430\u0430",alpha2Code:"CW",alpha3Code:"CUW",numericCode:"531",callingCode:"+599"},{name:"\u041a\u0456\u043f\u0440",alpha2Code:"CY",alpha3Code:"CYP",numericCode:"196",callingCode:"+357"},{name:"\u0427\u044d\u0445\u0456\u044f",alpha2Code:"CZ",alpha3Code:"CZE",numericCode:"203",callingCode:"+420"},{name:"\u0414\u0430\u043d\u0456\u044f",alpha2Code:"DK",alpha3Code:"DNK",numericCode:"208",callingCode:"+45"},{name:"\u0414\u0436\u044b\u0431\u0443\u0446\u0456",alpha2Code:"DJ",alpha3Code:"DJI",numericCode:"262",callingCode:"+253"},{name:"\u0414\u0430\u043c\u0456\u043d\u0456\u043a\u0430",alpha2Code:"DM",alpha3Code:"DMA",numericCode:"212",callingCode:"+1767"},{name:"\u0414\u0430\u043c\u0456\u043d\u0456\u043a\u0430\u043d\u0441\u043a\u0430\u044f \u0420\u044d\u0441\u043f\u0443\u0431\u043b\u0456\u043a\u0430",alpha2Code:"DO",alpha3Code:"DOM",numericCode:"214",callingCode:"+1809"},{name:"\u042d\u043a\u0432\u0430\u0434\u043e\u0440",alpha2Code:"EC",alpha3Code:"ECU",numericCode:"218",callingCode:"+593"},{name:"\u0415\u0433\u0456\u043f\u0435\u0442",alpha2Code:"EG",alpha3Code:"EGY",numericCode:"818",callingCode:"+20"},{name:"\u0421\u0430\u043b\u044c\u0432\u0430\u0434\u043e\u0440",alpha2Code:"SV",alpha3Code:"SLV",numericCode:"222",callingCode:"+503"},{name:"\u042d\u043a\u0432\u0430\u0442\u0430\u0440\u044b\u044f\u043b\u044c\u043d\u0430\u044f \u0413\u0432\u0456\u043d\u0435\u044f",alpha2Code:"GQ",alpha3Code:"GNQ",numericCode:"226",callingCode:"+240"},{name:"\u042d\u0440\u044b\u0442\u0440\u044d\u044f",alpha2Code:"ER",alpha3Code:"ERI",numericCode:"232",callingCode:"+291"},{name:"\u042d\u0441\u0442\u043e\u043d\u0456\u044f",alpha2Code:"EE",alpha3Code:"EST",numericCode:"233",callingCode:"+372"},{name:"\u042d\u0444\u0456\u043e\u043f\u0456\u044f",alpha2Code:"ET",alpha3Code:"ETH",numericCode:"231",callingCode:"+251"},{name:"\u0424\u0430\u043b\u043a\u043b\u0435\u043d\u0434\u0441\u043a\u0456\u044f \u0430\u0441\u0442\u0440\u0430\u0432\u044b",alpha2Code:"FK",alpha3Code:"FLK",numericCode:"238",callingCode:"+500"},{name:"\u0424\u0430\u0440\u044d\u0440\u0441\u043a\u0456\u044f \u0430\u0441\u0442\u0440\u0430\u0432\u044b",alpha2Code:"FO",alpha3Code:"FRO",numericCode:"234",callingCode:"+298"},{name:"\u0424\u0456\u0434\u0436\u044b",alpha2Code:"FJ",alpha3Code:"FJI",numericCode:"242",callingCode:"+679"},{name:"\u0424\u0456\u043d\u043b\u044f\u043d\u0434\u044b\u044f",alpha2Code:"FI",alpha3Code:"FIN",numericCode:"246",callingCode:"+358"},{name:"\u0424\u0440\u0430\u043d\u0446\u044b\u044f",alpha2Code:"FR",alpha3Code:"FRA",numericCode:"250",callingCode:"+33"},{name:"\u0413\u0432\u0456\u044f\u043d\u0430",alpha2Code:"GF",alpha3Code:"GUF",numericCode:"254",callingCode:"+594"},{name:"\u0424\u0440\u0430\u043d\u0446\u0443\u0437\u0441\u043a\u0430\u044f \u041f\u0430\u043b\u0456\u043d\u0435\u0437\u0456\u044f",alpha2Code:"PF",alpha3Code:"PYF",numericCode:"258",callingCode:"+689"},{name:"\u0424\u0440\u0430\u043d\u0446\u0443\u0437\u0441\u043a\u0456\u044f \u041f\u0430\u045e\u0434\u043d\u0451\u0432\u044b\u044f \u0456 \u0410\u043d\u0442\u0430\u0440\u043a\u0442\u044b\u0447\u043d\u044b\u044f \u0422\u044d\u0440\u044b\u0442\u043e\u0440\u044b\u0456",alpha2Code:"TF",alpha3Code:"ATF",numericCode:"260",callingCode:"+"},{name:"\u0413\u0430\u0431\u043e\u043d",alpha2Code:"GA",alpha3Code:"GAB",numericCode:"266",callingCode:"+241"},{name:"\u0413\u0430\u043c\u0431\u0456\u044f",alpha2Code:"GM",alpha3Code:"GMB",numericCode:"270",callingCode:"+220"},{name:"\u0413\u0440\u0443\u0437\u0456\u044f",alpha2Code:"GE",alpha3Code:"GEO",numericCode:"268",callingCode:"+995"},{name:"\u0413\u0435\u0440\u043c\u0430\u043d\u0456\u044f",alpha2Code:"DE",alpha3Code:"DEU",numericCode:"276",callingCode:"+49"},{name:"\u0413\u0430\u043d\u0430",alpha2Code:"GH",alpha3Code:"GHA",numericCode:"288",callingCode:"+233"},{name:"\u0413\u0456\u0431\u0440\u0430\u043b\u0442\u0430\u0440",alpha2Code:"GI",alpha3Code:"GIB",numericCode:"292",callingCode:"+350"},{name:"\u0413\u0440\u044d\u0446\u044b\u044f",alpha2Code:"GR",alpha3Code:"GRC",numericCode:"300",callingCode:"+30"},{name:"\u0413\u0440\u044d\u043d\u043b\u0430\u043d\u0434\u044b\u044f",alpha2Code:"GL",alpha3Code:"GRL",numericCode:"304",callingCode:"+299"},{name:"\u0413\u0440\u044d\u043d\u0430\u0434\u0430",alpha2Code:"GD",alpha3Code:"GRD",numericCode:"308",callingCode:"+1473"},{name:"\u0413\u0432\u0430\u0434\u044d\u043b\u0443\u043f\u0430",alpha2Code:"GP",alpha3Code:"GLP",numericCode:"312",callingCode:"+590"},{name:"\u0413\u0443\u0430\u043c",alpha2Code:"GU",alpha3Code:"GUM",numericCode:"316",callingCode:"+1671"},{name:"\u0413\u0432\u0430\u0442\u044d\u043c\u0430\u043b\u0430",alpha2Code:"GT",alpha3Code:"GTM",numericCode:"320",callingCode:"+502"},{name:"\u0413\u0435\u0440\u043d\u0441\u0456",alpha2Code:"GG",alpha3Code:"GGY",numericCode:"831",callingCode:"+44"},{name:"\u0413\u0432\u0456\u043d\u0435\u044f",alpha2Code:"GN",alpha3Code:"GIN",numericCode:"324",callingCode:"+224"},{name:"\u0413\u0432\u0456\u043d\u0435\u044f-\u0411\u0456\u0441\u0430\u0443",alpha2Code:"GW",alpha3Code:"GNB",numericCode:"624",callingCode:"+245"},{name:"\u0413\u0430\u044f\u043d\u0430",alpha2Code:"GY",alpha3Code:"GUY",numericCode:"328",callingCode:"+592"},{name:"\u0413\u0430\u0456\u0446\u0456",alpha2Code:"HT",alpha3Code:"HTI",numericCode:"332",callingCode:"+509"},{name:"\u0425\u0435\u0440\u0434 \u0456 \u041c\u0430\u043a\u0434\u043e\u043d\u0430\u043b\u044c\u0434",alpha2Code:"HM",alpha3Code:"HMD",numericCode:"334",callingCode:"+"},{name:"\u0412\u0430\u0442\u044b\u043a\u0430\u043d",alpha2Code:"VA",alpha3Code:"VAT",numericCode:"336",callingCode:"+379"},{name:"\u0413\u0430\u043d\u0434\u0443\u0440\u0430\u0441",alpha2Code:"HN",alpha3Code:"HND",numericCode:"340",callingCode:"+504"},{name:"\u0413\u0430\u043d\u043a\u043e\u043d\u0433",alpha2Code:"HK",alpha3Code:"HKG",numericCode:"344",callingCode:"+852"},{name:"\u0412\u0435\u043d\u0433\u0440\u044b\u044f",alpha2Code:"HU",alpha3Code:"HUN",numericCode:"348",callingCode:"+36"},{name:"\u0406\u0441\u043b\u0430\u043d\u0434\u044b\u044f",alpha2Code:"IS",alpha3Code:"ISL",numericCode:"352",callingCode:"+354"},{name:"\u0406\u043d\u0434\u044b\u044f",alpha2Code:"IN",alpha3Code:"IND",numericCode:"356",callingCode:"+91"},{name:"\u0406\u043d\u0434\u0430\u043d\u0435\u0437\u0456\u044f",alpha2Code:"ID",alpha3Code:"IDN",numericCode:"360",callingCode:"+62"},{name:"\u041a\u043e\u0442-\u0434\u2019\u0406\u0432\u0443\u0430\u0440",alpha2Code:"CI",alpha3Code:"CIV",numericCode:"384",callingCode:"+225"},{name:"\u0406\u0440\u0430\u043d",alpha2Code:"IR",alpha3Code:"IRN",numericCode:"364",callingCode:"+98"},{name:"\u0406\u0440\u0430\u043a",alpha2Code:"IQ",alpha3Code:"IRQ",numericCode:"368",callingCode:"+964"},{name:"\u0406\u0440\u043b\u0430\u043d\u0434\u044b\u044f",alpha2Code:"IE",alpha3Code:"IRL",numericCode:"372",callingCode:"+353"},{name:"\u0412\u043e\u0441\u0442\u0440\u0430\u045e \u041c\u044d\u043d",alpha2Code:"IM",alpha3Code:"IMN",numericCode:"833",callingCode:"+44"},{name:"\u0406\u0437\u0440\u0430\u0456\u043b\u044c",alpha2Code:"IL",alpha3Code:"ISR",numericCode:"376",callingCode:"+972"},{name:"\u0406\u0442\u0430\u043b\u0456\u044f",alpha2Code:"IT",alpha3Code:"ITA",numericCode:"380",callingCode:"+39"},{name:"\u042f\u043c\u0430\u0439\u043a\u0430",alpha2Code:"JM",alpha3Code:"JAM",numericCode:"388",callingCode:"+1876"},{name:"\u042f\u043f\u043e\u043d\u0456\u044f",alpha2Code:"JP",alpha3Code:"JPN",numericCode:"392",callingCode:"+81"},{name:"\u0414\u0436\u044d\u0440\u0441\u0456",alpha2Code:"JE",alpha3Code:"JEY",numericCode:"832",callingCode:"+44"},{name:"\u0406\u0430\u0440\u0434\u0430\u043d\u0456\u044f",alpha2Code:"JO",alpha3Code:"JOR",numericCode:"400",callingCode:"+962"},{name:"\u041a\u0430\u0437\u0430\u0445\u0441\u0442\u0430\u043d",alpha2Code:"KZ",alpha3Code:"KAZ",numericCode:"398",callingCode:"+7"},{name:"\u041a\u0435\u043d\u0456\u044f",alpha2Code:"KE",alpha3Code:"KEN",numericCode:"404",callingCode:"+254"},{name:"\u041a\u0456\u0440\u044b\u0431\u0430\u0446\u0456",alpha2Code:"KI",alpha3Code:"KIR",numericCode:"296",callingCode:"+686"},{name:"\u041a\u0443\u0432\u0435\u0439\u0442",alpha2Code:"KW",alpha3Code:"KWT",numericCode:"414",callingCode:"+965"},{name:"\u041a\u044b\u0440\u0433\u044b\u0437\u0441\u0442\u0430\u043d",alpha2Code:"KG",alpha3Code:"KGZ",numericCode:"417",callingCode:"+996"},{name:"\u041b\u0430\u043e\u0441",alpha2Code:"LA",alpha3Code:"LAO",numericCode:"418",callingCode:"+856"},{name:"\u041b\u0430\u0442\u0432\u0456\u044f",alpha2Code:"LV",alpha3Code:"LVA",numericCode:"428",callingCode:"+371"},{name:"\u041b\u0456\u0432\u0430\u043d",alpha2Code:"LB",alpha3Code:"LBN",numericCode:"422",callingCode:"+961"},{name:"\u041b\u0435\u0441\u043e\u0442\u0430",alpha2Code:"LS",alpha3Code:"LSO",numericCode:"426",callingCode:"+266"},{name:"\u041b\u0456\u0431\u0435\u0440\u044b\u044f",alpha2Code:"LR",alpha3Code:"LBR",numericCode:"430",callingCode:"+231"},{name:"\u041b\u0456\u0432\u0456\u044f",alpha2Code:"LY",alpha3Code:"LBY",numericCode:"434",callingCode:"+218"},{name:"\u041b\u0456\u0445\u0442\u044d\u043d\u0448\u0442\u044d\u0439\u043d",alpha2Code:"LI",alpha3Code:"LIE",numericCode:"438",callingCode:"+423"},{name:"\u041b\u0456\u0442\u0432\u0430",alpha2Code:"LT",alpha3Code:"LTU",numericCode:"440",callingCode:"+370"},{name:"\u041b\u044e\u043a\u0441\u0435\u043c\u0431\u0443\u0440\u0433",alpha2Code:"LU",alpha3Code:"LUX",numericCode:"442",callingCode:"+352"},{name:"\u041c\u0430\u043a\u0430\u0430",alpha2Code:"MO",alpha3Code:"MAC",numericCode:"446",callingCode:"+853"},{name:"\u041f\u0430\u045e\u043d\u043e\u0447\u043d\u0430\u044f \u041c\u0430\u043a\u0435\u0434\u043e\u043d\u0456\u044f",alpha2Code:"MK",alpha3Code:"MKD",numericCode:"807",callingCode:"+389"},{name:"\u041c\u0430\u0434\u0430\u0433\u0430\u0441\u043a\u0430\u0440",alpha2Code:"MG",alpha3Code:"MDG",numericCode:"450",callingCode:"+261"},{name:"\u041c\u0430\u043b\u0430\u0432\u0456",alpha2Code:"MW",alpha3Code:"MWI",numericCode:"454",callingCode:"+265"},{name:"\u041c\u0430\u043b\u0430\u0439\u0437\u0456\u044f",alpha2Code:"MY",alpha3Code:"MYS",numericCode:"458",callingCode:"+60"},{name:"\u041c\u0430\u043b\u044c\u0434\u044b\u0432\u044b",alpha2Code:"MV",alpha3Code:"MDV",numericCode:"462",callingCode:"+960"},{name:"\u041c\u0430\u043b\u0456",alpha2Code:"ML",alpha3Code:"MLI",numericCode:"466",callingCode:"+223"},{name:"\u041c\u0430\u043b\u044c\u0442\u0430",alpha2Code:"MT",alpha3Code:"MLT",numericCode:"470",callingCode:"+356"},{name:"\u041c\u0430\u0440\u0448\u0430\u043b\u0430\u0432\u044b \u0410\u0441\u0442\u0440\u0430\u0432\u044b",alpha2Code:"MH",alpha3Code:"MHL",numericCode:"584",callingCode:"+692"},{name:"\u041c\u0430\u0440\u0446\u0456\u043d\u0456\u043a\u0430",alpha2Code:"MQ",alpha3Code:"MTQ",numericCode:"474",callingCode:"+596"},{name:"\u041c\u0430\u045e\u0440\u044b\u0442\u0430\u043d\u0456\u044f",alpha2Code:"MR",alpha3Code:"MRT",numericCode:"478",callingCode:"+222"},{name:"\u041c\u0430\u045e\u0440\u044b\u043a\u0456\u0439",alpha2Code:"MU",alpha3Code:"MUS",numericCode:"480",callingCode:"+230"},{name:"\u041c\u0430\u0451\u0442\u0430",alpha2Code:"YT",alpha3Code:"MYT",numericCode:"175",callingCode:"+262"},{name:"\u041c\u0435\u043a\u0441\u0456\u043a\u0430",alpha2Code:"MX",alpha3Code:"MEX",numericCode:"484",callingCode:"+52"},{name:"\u041c\u0456\u043a\u0440\u0430\u043d\u0435\u0437\u0456\u044f",alpha2Code:"FM",alpha3Code:"FSM",numericCode:"583",callingCode:"+691"},{name:"\u041c\u0430\u043b\u0434\u043e\u0432\u0430",alpha2Code:"MD",alpha3Code:"MDA",numericCode:"498",callingCode:"+373"},{name:"\u041c\u0430\u043d\u0430\u043a\u0430",alpha2Code:"MC",alpha3Code:"MCO",numericCode:"492",callingCode:"+377"},{name:"\u041c\u0430\u043d\u0433\u043e\u043b\u0456\u044f",alpha2Code:"MN",alpha3Code:"MNG",numericCode:"496",callingCode:"+976"},{name:"\u0427\u0430\u0440\u043d\u0430\u0433\u043e\u0440\u044b\u044f",alpha2Code:"ME",alpha3Code:"MNE",numericCode:"499",callingCode:"+382"},{name:"\u041c\u0430\u043d\u0442\u0441\u0435\u0440\u0430\u0442",alpha2Code:"MS",alpha3Code:"MSR",numericCode:"500",callingCode:"+1664"},{name:"\u041c\u0430\u0440\u043e\u043a\u0430",alpha2Code:"MA",alpha3Code:"MAR",numericCode:"504",callingCode:"+212"},{name:"\u041c\u0430\u0437\u0430\u043c\u0431\u0456\u043a",alpha2Code:"MZ",alpha3Code:"MOZ",numericCode:"508",callingCode:"+258"},{name:"\u041c\u2019\u044f\u043d\u043c\u0430",alpha2Code:"MM",alpha3Code:"MMR",numericCode:"104",callingCode:"+95"},{name:"\u041d\u0430\u043c\u0456\u0431\u0456\u044f",alpha2Code:"NA",alpha3Code:"NAM",numericCode:"516",callingCode:"+264"},{name:"\u041d\u0430\u0443\u0440\u0443",alpha2Code:"NR",alpha3Code:"NRU",numericCode:"520",callingCode:"+674"},{name:"\u041d\u0435\u043f\u0430\u043b",alpha2Code:"NP",alpha3Code:"NPL",numericCode:"524",callingCode:"+977"},{name:"\u041d\u0456\u0434\u044d\u0440\u043b\u0430\u043d\u0434\u044b",alpha2Code:"NL",alpha3Code:"NLD",numericCode:"528",callingCode:"+31"},{name:"\u041d\u043e\u0432\u0430\u044f \u041a\u0430\u043b\u0435\u0434\u043e\u043d\u0456\u044f",alpha2Code:"NC",alpha3Code:"NCL",numericCode:"540",callingCode:"+687"},{name:"\u041d\u043e\u0432\u0430\u044f \u0417\u0435\u043b\u0430\u043d\u0434\u044b\u044f",alpha2Code:"NZ",alpha3Code:"NZL",numericCode:"554",callingCode:"+64"},{name:"\u041d\u0456\u043a\u0430\u0440\u0430\u0433\u0443\u0430",alpha2Code:"NI",alpha3Code:"NIC",numericCode:"558",callingCode:"+505"},{name:"\u041d\u0456\u0433\u0435\u0440",alpha2Code:"NE",alpha3Code:"NER",numericCode:"562",callingCode:"+227"},{name:"\u041d\u0456\u0433\u0435\u0440\u044b\u044f",alpha2Code:"NG",alpha3Code:"NGA",numericCode:"566",callingCode:"+234"},{name:"\u041d\u0456\u0443\u044d",alpha2Code:"NU",alpha3Code:"NIU",numericCode:"570",callingCode:"+683"},{name:"\u0412\u043e\u0441\u0442\u0440\u0430\u045e \u041d\u043e\u0440\u0444\u0430\u043b\u043a",alpha2Code:"NF",alpha3Code:"NFK",numericCode:"574",callingCode:"+672"},{name:"\u041f\u0430\u045e\u043d\u043e\u0447\u043d\u0430\u044f \u041a\u0430\u0440\u044d\u044f",alpha2Code:"KP",alpha3Code:"PRK",numericCode:"408",callingCode:"+850"},{name:"\u041f\u0430\u045e\u043d\u043e\u0447\u043d\u044b\u044f \u041c\u0430\u0440\u044b\u044f\u043d\u0441\u043a\u0456\u044f \u0430\u0441\u0442\u0440\u0430\u0432\u044b",alpha2Code:"MP",alpha3Code:"MNP",numericCode:"580",callingCode:"+1670"},{name:"\u041d\u0430\u0440\u0432\u0435\u0433\u0456\u044f",alpha2Code:"NO",alpha3Code:"NOR",numericCode:"578",callingCode:"+47"},{name:"\u0410\u043c\u0430\u043d",alpha2Code:"OM",alpha3Code:"OMN",numericCode:"512",callingCode:"+968"},{name:"\u041f\u0430\u043a\u0456\u0441\u0442\u0430\u043d",alpha2Code:"PK",alpha3Code:"PAK",numericCode:"586",callingCode:"+92"},{name:"\u041f\u0430\u043b\u0430\u0443",alpha2Code:"PW",alpha3Code:"PLW",numericCode:"585",callingCode:"+680"},{name:"\u041f\u0430\u043b\u0435\u0441\u0446\u0456\u043d\u0430",alpha2Code:"PS",alpha3Code:"PSE",numericCode:"275",callingCode:"+970"},{name:"\u041f\u0430\u043d\u0430\u043c\u0430",alpha2Code:"PA",alpha3Code:"PAN",numericCode:"591",callingCode:"+507"},{name:"\u041f\u0430\u043f\u0443\u0430 \u2014 \u041d\u043e\u0432\u0430\u044f \u0413\u0432\u0456\u043d\u0435\u044f",alpha2Code:"PG",alpha3Code:"PNG",numericCode:"598",callingCode:"+675"},{name:"\u041f\u0430\u0440\u0430\u0433\u0432\u0430\u0439",alpha2Code:"PY",alpha3Code:"PRY",numericCode:"600",callingCode:"+595"},{name:"\u041f\u0435\u0440\u0443",alpha2Code:"PE",alpha3Code:"PER",numericCode:"604",callingCode:"+51"},{name:"\u0424\u0456\u043b\u0456\u043f\u0456\u043d\u044b",alpha2Code:"PH",alpha3Code:"PHL",numericCode:"608",callingCode:"+63"},{name:"\u0410\u0441\u0442\u0440\u0430\u0432\u044b \u041f\u0456\u0442\u043a\u044d\u0440\u043d",alpha2Code:"PN",alpha3Code:"PCN",numericCode:"612",callingCode:"+64"},{name:"\u041f\u043e\u043b\u044c\u0448\u0447\u0430",alpha2Code:"PL",alpha3Code:"POL",numericCode:"616",callingCode:"+48"},{name:"\u041f\u0430\u0440\u0442\u0443\u0433\u0430\u043b\u0456\u044f",alpha2Code:"PT",alpha3Code:"PRT",numericCode:"620",callingCode:"+351"},{name:"\u041f\u0443\u044d\u0440\u0442\u0430-\u0420\u044b\u043a\u0430",alpha2Code:"PR",alpha3Code:"PRI",numericCode:"630",callingCode:"+1"},{name:"\u041a\u0430\u0442\u0430\u0440",alpha2Code:"QA",alpha3Code:"QAT",numericCode:"634",callingCode:"+974"},{name:"\u0420\u044d\u0441\u043f\u0443\u0431\u043b\u0456\u043a\u0430 \u041a\u043e\u0441\u0430\u0432\u0430",alpha2Code:"XK",alpha3Code:"KOS",numericCode:null,callingCode:"+383"},{name:"\u0420\u044d\u044e\u043d\u044c\u0451\u043d",alpha2Code:"RE",alpha3Code:"REU",numericCode:"638",callingCode:"+262"},{name:"\u0420\u0443\u043c\u044b\u043d\u0456\u044f",alpha2Code:"RO",alpha3Code:"ROU",numericCode:"642",callingCode:"+40"},{name:"\u0420\u0430\u0441\u0456\u044f",alpha2Code:"RU",alpha3Code:"RUS",numericCode:"643",callingCode:"+7"},{name:"\u0420\u0443\u0430\u043d\u0434\u0430",alpha2Code:"RW",alpha3Code:"RWA",numericCode:"646",callingCode:"+250"},{name:"\u0421\u0435\u043d-\u0411\u0430\u0440\u0442\u044d\u043b\u044c\u043c\u0456",alpha2Code:"BL",alpha3Code:"BLM",numericCode:"652",callingCode:"+590"},{name:"\u0410\u0441\u0442\u0440\u0430\u0432\u044b \u0421\u0432\u044f\u0442\u043e\u0439 \u0410\u043b\u0435\u043d\u044b, \u0423\u0437\u043d\u044f\u0441\u0435\u043d\u043d\u044f \u0456 \u0422\u0440\u044b\u0441\u0442\u0430\u043d-\u0434\u0430-\u041a\u0443\u043d\u044c\u044f",alpha2Code:"SH",alpha3Code:"SHN",numericCode:"654",callingCode:"+290"},{name:"\u0421\u0435\u043d\u0442-\u041a\u0456\u0442\u0441 \u0456 \u041d\u0435\u0432\u0456\u0441",alpha2Code:"KN",alpha3Code:"KNA",numericCode:"659",callingCode:"+1869"},{name:"\u0421\u0435\u043d\u0442-\u041b\u044e\u0441\u0456\u044f",alpha2Code:"LC",alpha3Code:"LCA",numericCode:"662",callingCode:"+1758"},{name:"\u0421\u0435\u043d-\u041c\u0430\u0440\u0442\u044d\u043d",alpha2Code:"MF",alpha3Code:"MAF",numericCode:"663",callingCode:"+590"},{name:"\u0421\u0435\u043d-\u041f'\u0435\u0440 \u0456 \u041c\u0456\u043a\u0435\u043b\u043e\u043d",alpha2Code:"PM",alpha3Code:"SPM",numericCode:"666",callingCode:"+508"},{name:"\u0421\u0435\u043d\u0442-\u0412\u0456\u043d\u0441\u0435\u043d\u0442 \u0456 \u0413\u0440\u044d\u043d\u0430\u0434\u0437\u0456\u043d\u044b",alpha2Code:"VC",alpha3Code:"VCT",numericCode:"670",callingCode:"+1784"},{name:"\u0421\u0430\u043c\u043e\u0430",alpha2Code:"WS",alpha3Code:"WSM",numericCode:"882",callingCode:"+685"},{name:"\u0421\u0430\u043d-\u041c\u0430\u0440\u044b\u043d\u0430",alpha2Code:"SM",alpha3Code:"SMR",numericCode:"674",callingCode:"+378"},{name:"\u0421\u0430\u043d-\u0422\u0430\u043c\u044d \u0456 \u041f\u0440\u044b\u043d\u0441\u0456\u043f\u0456",alpha2Code:"ST",alpha3Code:"STP",numericCode:"678",callingCode:"+239"},{name:"\u0421\u0430\u0443\u0434\u0430\u045e\u0441\u043a\u0430\u044f \u0410\u0440\u0430\u0432\u0456\u044f",alpha2Code:"SA",alpha3Code:"SAU",numericCode:"682",callingCode:"+966"},{name:"\u0421\u0435\u043d\u0435\u0433\u0430\u043b",alpha2Code:"SN",alpha3Code:"SEN",numericCode:"686",callingCode:"+221"},{name:"\u0421\u0435\u0440\u0431\u0456\u044f",alpha2Code:"RS",alpha3Code:"SRB",numericCode:"688",callingCode:"+381"},{name:"\u0421\u0435\u0439\u0448\u044d\u043b\u044c\u0441\u043a\u0456\u044f \u0410\u0441\u0442\u0440\u0430\u0432\u044b",alpha2Code:"SC",alpha3Code:"SYC",numericCode:"690",callingCode:"+248"},{name:"\u0421\u044c\u0435\u0440\u0430-\u041b\u0435\u043e\u043d\u044d",alpha2Code:"SL",alpha3Code:"SLE",numericCode:"694",callingCode:"+232"},{name:"\u0421\u0456\u043d\u0433\u0430\u043f\u0443\u0440",alpha2Code:"SG",alpha3Code:"SGP",numericCode:"702",callingCode:"+65"},{name:"\u0421\u0456\u043d\u0442-\u041c\u0430\u0440\u0442\u044d\u043d",alpha2Code:"SX",alpha3Code:"SXM",numericCode:"534",callingCode:"+1721"},{name:"\u0421\u043b\u0430\u0432\u0430\u043a\u0456\u044f",alpha2Code:"SK",alpha3Code:"SVK",numericCode:"703",callingCode:"+421"},{name:"\u0421\u043b\u0430\u0432\u0435\u043d\u0456\u044f",alpha2Code:"SI",alpha3Code:"SVN",numericCode:"705",callingCode:"+386"},{name:"\u0421\u0430\u043b\u0430\u043c\u043e\u043d\u0430\u0432\u044b \u0410\u0441\u0442\u0440\u0430\u0432\u044b",alpha2Code:"SB",alpha3Code:"SLB",numericCode:"090",callingCode:"+677"},{name:"\u0421\u0430\u043c\u0430\u043b\u0456",alpha2Code:"SO",alpha3Code:"SOM",numericCode:"706",callingCode:"+252"},{name:"\u041f\u0410\u0420",alpha2Code:"ZA",alpha3Code:"ZAF",numericCode:"710",callingCode:"+27"},{name:"\u041f\u0430\u045e\u0434\u043d\u0451\u0432\u0430\u044f \u0414\u0436\u043e\u0440\u0434\u0436\u044b\u044f \u0456 \u041f\u0430\u045e\u0434\u043d\u0451\u0432\u044b\u044f \u0421\u0430\u043d\u0434\u0432\u0456\u0447\u0430\u0432\u044b \u0430\u0441\u0442\u0440\u0430\u0432\u044b",alpha2Code:"GS",alpha3Code:"SGS",numericCode:"239",callingCode:"+500"},{name:"\u0420\u044d\u0441\u043f\u0443\u0431\u043b\u0456\u043a\u0430 \u041a\u0430\u0440\u044d\u044f",alpha2Code:"KR",alpha3Code:"KOR",numericCode:"410",callingCode:"+82"},{name:"\u041f\u0430\u045e\u0434\u043d\u0451\u0432\u044b \u0421\u0443\u0434\u0430\u043d",alpha2Code:"SS",alpha3Code:"SSD",numericCode:"728",callingCode:"+211"},{name:"\u0406\u0441\u043f\u0430\u043d\u0456\u044f",alpha2Code:"ES",alpha3Code:"ESP",numericCode:"724",callingCode:"+34"},{name:"\u0428\u0440\u044b-\u041b\u0430\u043d\u043a\u0430",alpha2Code:"LK",alpha3Code:"LKA",numericCode:"144",callingCode:"+94"},{name:"\u0421\u0443\u0434\u0430\u043d",alpha2Code:"SD",alpha3Code:"SDN",numericCode:"729",callingCode:"+249"},{name:"\u0421\u0443\u0440\u044b\u043d\u0430\u043c",alpha2Code:"SR",alpha3Code:"SUR",numericCode:"740",callingCode:"+597"},{name:"\u0428\u043f\u0456\u0446\u0431\u0435\u0440\u0433\u0435\u043d \u0456 \u042f\u043d-\u041c\u0430\u0435\u043d",alpha2Code:"SJ",alpha3Code:"SJM",numericCode:"744",callingCode:"+4779"},{name:"\u0421\u0432\u0430\u0437\u0456\u043b\u0435\u043d\u0434",alpha2Code:"SZ",alpha3Code:"SWZ",numericCode:"748",callingCode:"+268"},{name:"\u0428\u0432\u0435\u0446\u044b\u044f",alpha2Code:"SE",alpha3Code:"SWE",numericCode:"752",callingCode:"+46"},{name:"\u0428\u0432\u0435\u0439\u0446\u0430\u0440\u044b\u044f",alpha2Code:"CH",alpha3Code:"CHE",numericCode:"756",callingCode:"+41"},{name:"\u0421\u0456\u0440\u044b\u044f",alpha2Code:"SY",alpha3Code:"SYR",numericCode:"760",callingCode:"+963"},{name:"\u041a\u0456\u0442\u0430\u0439\u0441\u043a\u0430\u044f \u0420\u044d\u0441\u043f\u0443\u0431\u043b\u0456\u043a\u0430",alpha2Code:"TW",alpha3Code:"TWN",numericCode:"158",callingCode:"+886"},{name:"\u0422\u0430\u0434\u0436\u044b\u043a\u0456\u0441\u0442\u0430\u043d",alpha2Code:"TJ",alpha3Code:"TJK",numericCode:"762",callingCode:"+992"},{name:"\u0422\u0430\u043d\u0437\u0430\u043d\u0456\u044f",alpha2Code:"TZ",alpha3Code:"TZA",numericCode:"834",callingCode:"+255"},{name:"\u0422\u0430\u0439\u043b\u0430\u043d\u0434",alpha2Code:"TH",alpha3Code:"THA",numericCode:"764",callingCode:"+66"},{name:"\u0423\u0441\u0445\u043e\u0434\u043d\u0456 \u0422\u044b\u043c\u043e\u0440",alpha2Code:"TL",alpha3Code:"TLS",numericCode:"626",callingCode:"+670"},{name:"\u0422\u043e\u0433\u0430",alpha2Code:"TG",alpha3Code:"TGO",numericCode:"768",callingCode:"+228"},{name:"\u0422\u0430\u043a\u0435\u043b\u0430\u0443",alpha2Code:"TK",alpha3Code:"TKL",numericCode:"772",callingCode:"+690"},{name:"\u0422\u043e\u043d\u0433\u0430",alpha2Code:"TO",alpha3Code:"TON",numericCode:"776",callingCode:"+676"},{name:"\u0422\u0440\u044b\u043d\u0456\u0434\u0430\u0434 \u0456 \u0422\u0430\u0431\u0430\u0433\u0430",alpha2Code:"TT",alpha3Code:"TTO",numericCode:"780",callingCode:"+1868"},{name:"\u0422\u0443\u043d\u0456\u0441",alpha2Code:"TN",alpha3Code:"TUN",numericCode:"788",callingCode:"+216"},{name:"\u0422\u0443\u0440\u0446\u044b\u044f",alpha2Code:"TR",alpha3Code:"TUR",numericCode:"792",callingCode:"+90"},{name:"\u0422\u0443\u0440\u043a\u043c\u0435\u043d\u0456\u0441\u0442\u0430\u043d",alpha2Code:"TM",alpha3Code:"TKM",numericCode:"795",callingCode:"+993"},{name:"\u0426\u0451\u0440\u043a\u0441 \u0456 \u041a\u0430\u0439\u043a\u0430\u0441",alpha2Code:"TC",alpha3Code:"TCA",numericCode:"796",callingCode:"+1649"},{name:"\u0422\u0443\u0432\u0430\u043b\u0443",alpha2Code:"TV",alpha3Code:"TUV",numericCode:"798",callingCode:"+688"},{name:"\u0423\u0433\u0430\u043d\u0434\u0430",alpha2Code:"UG",alpha3Code:"UGA",numericCode:"800",callingCode:"+256"},{name:"\u0423\u043a\u0440\u0430\u0456\u043d\u0430",alpha2Code:"UA",alpha3Code:"UKR",numericCode:"804",callingCode:"+380"},{name:"\u0410\u0431\u2019\u044f\u0434\u043d\u0430\u043d\u044b\u044f \u0410\u0440\u0430\u0431\u0441\u043a\u0456\u044f \u042d\u043c\u0456\u0440\u0430\u0442\u044b",alpha2Code:"AE",alpha3Code:"ARE",numericCode:"784",callingCode:"+971"},{name:"\u0412\u044f\u043b\u0456\u043a\u0430\u0431\u0440\u044b\u0442\u0430\u043d\u0456\u044f",alpha2Code:"GB",alpha3Code:"GBR",numericCode:"826",callingCode:"+44"},{name:"\u0417\u0428\u0410",alpha2Code:"US",alpha3Code:"USA",numericCode:"840",callingCode:"+1"},{name:"\u0423\u0440\u0443\u0433\u0432\u0430\u0439",alpha2Code:"UY",alpha3Code:"URY",numericCode:"858",callingCode:"+598"},{name:"\u0423\u0437\u0431\u0435\u043a\u0456\u0441\u0442\u0430\u043d",alpha2Code:"UZ",alpha3Code:"UZB",numericCode:"860",callingCode:"+998"},{name:"\u0412\u0430\u043d\u0443\u0430\u0442\u0443",alpha2Code:"VU",alpha3Code:"VUT",numericCode:"548",callingCode:"+678"},{name:"\u0412\u0435\u043d\u0435\u0441\u0443\u044d\u043b\u0430",alpha2Code:"VE",alpha3Code:"VEN",numericCode:"862",callingCode:"+58"},{name:"\u0412\u2019\u0435\u0442\u043d\u0430\u043c",alpha2Code:"VN",alpha3Code:"VNM",numericCode:"704",callingCode:"+84"},{name:"\u0423\u043e\u043b\u0456\u0441 \u0456 \u0424\u0443\u0442\u0443\u043d\u0430",alpha2Code:"WF",alpha3Code:"WLF",numericCode:"876",callingCode:"+681"},{name:"\u0417\u0430\u0445\u043e\u0434\u043d\u044f\u044f \u0421\u0430\u0445\u0430\u0440\u0430",alpha2Code:"EH",alpha3Code:"ESH",numericCode:"732",callingCode:"+212"},{name:"\u0415\u043c\u0435\u043d",alpha2Code:"YE",alpha3Code:"YEM",numericCode:"887",callingCode:"+967"},{name:"\u0417\u0430\u043c\u0431\u0456\u044f",alpha2Code:"ZM",alpha3Code:"ZMB",numericCode:"894",callingCode:"+260"},{name:"\u0417\u0456\u043c\u0431\u0430\u0431\u0432\u044d",alpha2Code:"ZW",alpha3Code:"ZWE",numericCode:"716",callingCode:"+263"}]}),Oy=Object.freeze({__proto__:null,COUNTRIES_DB_DE:[{name:"Afghanistan",alpha2Code:"AF",alpha3Code:"AFG",numericCode:"004",callingCode:"+93"},{name:"\xc5land",alpha2Code:"AX",alpha3Code:"ALA",numericCode:"248",callingCode:"+358"},{name:"Albanien",alpha2Code:"AL",alpha3Code:"ALB",numericCode:"008",callingCode:"+355"},{name:"Algerien",alpha2Code:"DZ",alpha3Code:"DZA",numericCode:"012",callingCode:"+213"},{name:"Amerikanisch-Samoa",alpha2Code:"AS",alpha3Code:"ASM",numericCode:"016",callingCode:"+1684"},{name:"Andorra",alpha2Code:"AD",alpha3Code:"AND",numericCode:"020",callingCode:"+376"},{name:"Angola",alpha2Code:"AO",alpha3Code:"AGO",numericCode:"024",callingCode:"+244"},{name:"Anguilla",alpha2Code:"AI",alpha3Code:"AIA",numericCode:"660",callingCode:"+1264"},{name:"Antarktika",alpha2Code:"AQ",alpha3Code:"ATA",numericCode:"010",callingCode:"+672"},{name:"Antigua und Barbuda",alpha2Code:"AG",alpha3Code:"ATG",numericCode:"028",callingCode:"+1268"},{name:"Argentinien",alpha2Code:"AR",alpha3Code:"ARG",numericCode:"032",callingCode:"+54"},{name:"Armenien",alpha2Code:"AM",alpha3Code:"ARM",numericCode:"051",callingCode:"+374"},{name:"Aruba",alpha2Code:"AW",alpha3Code:"ABW",numericCode:"533",callingCode:"+297"},{name:"Australien",alpha2Code:"AU",alpha3Code:"AUS",numericCode:"036",callingCode:"+61"},{name:"\xd6sterreich",alpha2Code:"AT",alpha3Code:"AUT",numericCode:"040",callingCode:"+43"},{name:"Aserbaidschan",alpha2Code:"AZ",alpha3Code:"AZE",numericCode:"031",callingCode:"+994"},{name:"Bahamas",alpha2Code:"BS",alpha3Code:"BHS",numericCode:"044",callingCode:"+1242"},{name:"Bahrain",alpha2Code:"BH",alpha3Code:"BHR",numericCode:"048",callingCode:"+973"},{name:"Bangladesch",alpha2Code:"BD",alpha3Code:"BGD",numericCode:"050",callingCode:"+880"},{name:"Barbados",alpha2Code:"BB",alpha3Code:"BRB",numericCode:"052",callingCode:"+1246"},{name:"Wei\xdfrussland",alpha2Code:"BY",alpha3Code:"BLR",numericCode:"112",callingCode:"+375"},{name:"Belgien",alpha2Code:"BE",alpha3Code:"BEL",numericCode:"056",callingCode:"+32"},{name:"Belize",alpha2Code:"BZ",alpha3Code:"BLZ",numericCode:"084",callingCode:"+501"},{name:"Benin",alpha2Code:"BJ",alpha3Code:"BEN",numericCode:"204",callingCode:"+229"},{name:"Bermuda",alpha2Code:"BM",alpha3Code:"BMU",numericCode:"060",callingCode:"+1441"},{name:"Bhutan",alpha2Code:"BT",alpha3Code:"BTN",numericCode:"064",callingCode:"+975"},{name:"Bolivien",alpha2Code:"BO",alpha3Code:"BOL",numericCode:"068",callingCode:"+591"},{name:"Bonaire, Sint Eustatius und Saba",alpha2Code:"BQ",alpha3Code:"BES",numericCode:"535",callingCode:"+5997"},{name:"Bosnien und Herzegowina",alpha2Code:"BA",alpha3Code:"BIH",numericCode:"070",callingCode:"+387"},{name:"Botswana",alpha2Code:"BW",alpha3Code:"BWA",numericCode:"072",callingCode:"+267"},{name:"Bouvetinsel",alpha2Code:"BV",alpha3Code:"BVT",numericCode:"074",callingCode:"+"},{name:"Brasilien",alpha2Code:"BR",alpha3Code:"BRA",numericCode:"076",callingCode:"+55"},{name:"Britisches Territorium im Indischen Ozean",alpha2Code:"IO",alpha3Code:"IOT",numericCode:"086",callingCode:"+246"},{name:"Kleinere Inselbesitzungen der Vereinigten Staaten",alpha2Code:"UM",alpha3Code:"UMI",numericCode:"581",callingCode:"+"},{name:"Britische Jungferninseln",alpha2Code:"VG",alpha3Code:"VGB",numericCode:"092",callingCode:"+1284"},{name:"Amerikanische Jungferninseln",alpha2Code:"VI",alpha3Code:"VIR",numericCode:"850",callingCode:"+1 340"},{name:"Brunei",alpha2Code:"BN",alpha3Code:"BRN",numericCode:"096",callingCode:"+673"},{name:"Bulgarien",alpha2Code:"BG",alpha3Code:"BGR",numericCode:"100",callingCode:"+359"},{name:"Burkina Faso",alpha2Code:"BF",alpha3Code:"BFA",numericCode:"854",callingCode:"+226"},{name:"Burundi",alpha2Code:"BI",alpha3Code:"BDI",numericCode:"108",callingCode:"+257"},{name:"Kambodscha",alpha2Code:"KH",alpha3Code:"KHM",numericCode:"116",callingCode:"+855"},{name:"Kamerun",alpha2Code:"CM",alpha3Code:"CMR",numericCode:"120",callingCode:"+237"},{name:"Kanada",alpha2Code:"CA",alpha3Code:"CAN",numericCode:"124",callingCode:"+1"},{name:"Kap Verde",alpha2Code:"CV",alpha3Code:"CPV",numericCode:"132",callingCode:"+238"},{name:"Kaimaninseln",alpha2Code:"KY",alpha3Code:"CYM",numericCode:"136",callingCode:"+1345"},{name:"Zentralafrikanische Republik",alpha2Code:"CF",alpha3Code:"CAF",numericCode:"140",callingCode:"+236"},{name:"Tschad",alpha2Code:"TD",alpha3Code:"TCD",numericCode:"148",callingCode:"+235"},{name:"Chile",alpha2Code:"CL",alpha3Code:"CHL",numericCode:"152",callingCode:"+56"},{name:"China",alpha2Code:"CN",alpha3Code:"CHN",numericCode:"156",callingCode:"+86"},{name:"Weihnachtsinsel",alpha2Code:"CX",alpha3Code:"CXR",numericCode:"162",callingCode:"+61"},{name:"Kokosinseln",alpha2Code:"CC",alpha3Code:"CCK",numericCode:"166",callingCode:"+61"},{name:"Kolumbien",alpha2Code:"CO",alpha3Code:"COL",numericCode:"170",callingCode:"+57"},{name:"Union der Komoren",alpha2Code:"KM",alpha3Code:"COM",numericCode:"174",callingCode:"+269"},{name:"Kongo",alpha2Code:"CG",alpha3Code:"COG",numericCode:"178",callingCode:"+242"},{name:"Kongo (Dem. Rep.)",alpha2Code:"CD",alpha3Code:"COD",numericCode:"180",callingCode:"+243"},{name:"Cookinseln",alpha2Code:"CK",alpha3Code:"COK",numericCode:"184",callingCode:"+682"},{name:"Costa Rica",alpha2Code:"CR",alpha3Code:"CRI",numericCode:"188",callingCode:"+506"},{name:"Kroatien",alpha2Code:"HR",alpha3Code:"HRV",numericCode:"191",callingCode:"+385"},{name:"Kuba",alpha2Code:"CU",alpha3Code:"CUB",numericCode:"192",callingCode:"+53"},{name:"Cura\xe7ao",alpha2Code:"CW",alpha3Code:"CUW",numericCode:"531",callingCode:"+599"},{name:"Zypern",alpha2Code:"CY",alpha3Code:"CYP",numericCode:"196",callingCode:"+357"},{name:"Tschechische Republik",alpha2Code:"CZ",alpha3Code:"CZE",numericCode:"203",callingCode:"+420"},{name:"D\xe4nemark",alpha2Code:"DK",alpha3Code:"DNK",numericCode:"208",callingCode:"+45"},{name:"Dschibuti",alpha2Code:"DJ",alpha3Code:"DJI",numericCode:"262",callingCode:"+253"},{name:"Dominica",alpha2Code:"DM",alpha3Code:"DMA",numericCode:"212",callingCode:"+1767"},{name:"Dominikanische Republik",alpha2Code:"DO",alpha3Code:"DOM",numericCode:"214",callingCode:"+1809"},{name:"Ecuador",alpha2Code:"EC",alpha3Code:"ECU",numericCode:"218",callingCode:"+593"},{name:"\xc4gypten",alpha2Code:"EG",alpha3Code:"EGY",numericCode:"818",callingCode:"+20"},{name:"El Salvador",alpha2Code:"SV",alpha3Code:"SLV",numericCode:"222",callingCode:"+503"},{name:"\xc4quatorial-Guinea",alpha2Code:"GQ",alpha3Code:"GNQ",numericCode:"226",callingCode:"+240"},{name:"Eritrea",alpha2Code:"ER",alpha3Code:"ERI",numericCode:"232",callingCode:"+291"},{name:"Estland",alpha2Code:"EE",alpha3Code:"EST",numericCode:"233",callingCode:"+372"},{name:"\xc4thiopien",alpha2Code:"ET",alpha3Code:"ETH",numericCode:"231",callingCode:"+251"},{name:"Falklandinseln",alpha2Code:"FK",alpha3Code:"FLK",numericCode:"238",callingCode:"+500"},{name:"F\xe4r\xf6er-Inseln",alpha2Code:"FO",alpha3Code:"FRO",numericCode:"234",callingCode:"+298"},{name:"Fidschi",alpha2Code:"FJ",alpha3Code:"FJI",numericCode:"242",callingCode:"+679"},{name:"Finnland",alpha2Code:"FI",alpha3Code:"FIN",numericCode:"246",callingCode:"+358"},{name:"Frankreich",alpha2Code:"FR",alpha3Code:"FRA",numericCode:"250",callingCode:"+33"},{name:"Franz\xf6sisch Guyana",alpha2Code:"GF",alpha3Code:"GUF",numericCode:"254",callingCode:"+594"},{name:"Franz\xf6sisch-Polynesien",alpha2Code:"PF",alpha3Code:"PYF",numericCode:"258",callingCode:"+689"},{name:"Franz\xf6sische S\xfcd- und Antarktisgebiete",alpha2Code:"TF",alpha3Code:"ATF",numericCode:"260",callingCode:"+"},{name:"Gabun",alpha2Code:"GA",alpha3Code:"GAB",numericCode:"266",callingCode:"+241"},{name:"Gambia",alpha2Code:"GM",alpha3Code:"GMB",numericCode:"270",callingCode:"+220"},{name:"Georgien",alpha2Code:"GE",alpha3Code:"GEO",numericCode:"268",callingCode:"+995"},{name:"Deutschland",alpha2Code:"DE",alpha3Code:"DEU",numericCode:"276",callingCode:"+49"},{name:"Ghana",alpha2Code:"GH",alpha3Code:"GHA",numericCode:"288",callingCode:"+233"},{name:"Gibraltar",alpha2Code:"GI",alpha3Code:"GIB",numericCode:"292",callingCode:"+350"},{name:"Griechenland",alpha2Code:"GR",alpha3Code:"GRC",numericCode:"300",callingCode:"+30"},{name:"Gr\xf6nland",alpha2Code:"GL",alpha3Code:"GRL",numericCode:"304",callingCode:"+299"},{name:"Grenada",alpha2Code:"GD",alpha3Code:"GRD",numericCode:"308",callingCode:"+1473"},{name:"Guadeloupe",alpha2Code:"GP",alpha3Code:"GLP",numericCode:"312",callingCode:"+590"},{name:"Guam",alpha2Code:"GU",alpha3Code:"GUM",numericCode:"316",callingCode:"+1671"},{name:"Guatemala",alpha2Code:"GT",alpha3Code:"GTM",numericCode:"320",callingCode:"+502"},{name:"Guernsey",alpha2Code:"GG",alpha3Code:"GGY",numericCode:"831",callingCode:"+44"},{name:"Guinea",alpha2Code:"GN",alpha3Code:"GIN",numericCode:"324",callingCode:"+224"},{name:"Guinea-Bissau",alpha2Code:"GW",alpha3Code:"GNB",numericCode:"624",callingCode:"+245"},{name:"Guyana",alpha2Code:"GY",alpha3Code:"GUY",numericCode:"328",callingCode:"+592"},{name:"Haiti",alpha2Code:"HT",alpha3Code:"HTI",numericCode:"332",callingCode:"+509"},{name:"Heard und die McDonaldinseln",alpha2Code:"HM",alpha3Code:"HMD",numericCode:"334",callingCode:"+"},{name:"Heiliger Stuhl",alpha2Code:"VA",alpha3Code:"VAT",numericCode:"336",callingCode:"+379"},{name:"Honduras",alpha2Code:"HN",alpha3Code:"HND",numericCode:"340",callingCode:"+504"},{name:"Hong Kong",alpha2Code:"HK",alpha3Code:"HKG",numericCode:"344",callingCode:"+852"},{name:"Ungarn",alpha2Code:"HU",alpha3Code:"HUN",numericCode:"348",callingCode:"+36"},{name:"Island",alpha2Code:"IS",alpha3Code:"ISL",numericCode:"352",callingCode:"+354"},{name:"Indien",alpha2Code:"IN",alpha3Code:"IND",numericCode:"356",callingCode:"+91"},{name:"Indonesien",alpha2Code:"ID",alpha3Code:"IDN",numericCode:"360",callingCode:"+62"},{name:"Elfenbeink\xfcste",alpha2Code:"CI",alpha3Code:"CIV",numericCode:"384",callingCode:"+225"},{name:"Iran",alpha2Code:"IR",alpha3Code:"IRN",numericCode:"364",callingCode:"+98"},{name:"Irak",alpha2Code:"IQ",alpha3Code:"IRQ",numericCode:"368",callingCode:"+964"},{name:"Irland",alpha2Code:"IE",alpha3Code:"IRL",numericCode:"372",callingCode:"+353"},{name:"Insel Man",alpha2Code:"IM",alpha3Code:"IMN",numericCode:"833",callingCode:"+44"},{name:"Israel",alpha2Code:"IL",alpha3Code:"ISR",numericCode:"376",callingCode:"+972"},{name:"Italien",alpha2Code:"IT",alpha3Code:"ITA",numericCode:"380",callingCode:"+39"},{name:"Jamaika",alpha2Code:"JM",alpha3Code:"JAM",numericCode:"388",callingCode:"+1876"},{name:"Japan",alpha2Code:"JP",alpha3Code:"JPN",numericCode:"392",callingCode:"+81"},{name:"Jersey",alpha2Code:"JE",alpha3Code:"JEY",numericCode:"832",callingCode:"+44"},{name:"Jordanien",alpha2Code:"JO",alpha3Code:"JOR",numericCode:"400",callingCode:"+962"},{name:"Kasachstan",alpha2Code:"KZ",alpha3Code:"KAZ",numericCode:"398",callingCode:"+7"},{name:"Kenia",alpha2Code:"KE",alpha3Code:"KEN",numericCode:"404",callingCode:"+254"},{name:"Kiribati",alpha2Code:"KI",alpha3Code:"KIR",numericCode:"296",callingCode:"+686"},{name:"Kuwait",alpha2Code:"KW",alpha3Code:"KWT",numericCode:"414",callingCode:"+965"},{name:"Kirgisistan",alpha2Code:"KG",alpha3Code:"KGZ",numericCode:"417",callingCode:"+996"},{name:"Laos",alpha2Code:"LA",alpha3Code:"LAO",numericCode:"418",callingCode:"+856"},{name:"Lettland",alpha2Code:"LV",alpha3Code:"LVA",numericCode:"428",callingCode:"+371"},{name:"Libanon",alpha2Code:"LB",alpha3Code:"LBN",numericCode:"422",callingCode:"+961"},{name:"Lesotho",alpha2Code:"LS",alpha3Code:"LSO",numericCode:"426",callingCode:"+266"},{name:"Liberia",alpha2Code:"LR",alpha3Code:"LBR",numericCode:"430",callingCode:"+231"},{name:"Libyen",alpha2Code:"LY",alpha3Code:"LBY",numericCode:"434",callingCode:"+218"},{name:"Liechtenstein",alpha2Code:"LI",alpha3Code:"LIE",numericCode:"438",callingCode:"+423"},{name:"Litauen",alpha2Code:"LT",alpha3Code:"LTU",numericCode:"440",callingCode:"+370"},{name:"Luxemburg",alpha2Code:"LU",alpha3Code:"LUX",numericCode:"442",callingCode:"+352"},{name:"Macao",alpha2Code:"MO",alpha3Code:"MAC",numericCode:"446",callingCode:"+853"},{name:"Mazedonien",alpha2Code:"MK",alpha3Code:"MKD",numericCode:"807",callingCode:"+389"},{name:"Madagaskar",alpha2Code:"MG",alpha3Code:"MDG",numericCode:"450",callingCode:"+261"},{name:"Malawi",alpha2Code:"MW",alpha3Code:"MWI",numericCode:"454",callingCode:"+265"},{name:"Malaysia",alpha2Code:"MY",alpha3Code:"MYS",numericCode:"458",callingCode:"+60"},{name:"Malediven",alpha2Code:"MV",alpha3Code:"MDV",numericCode:"462",callingCode:"+960"},{name:"Mali",alpha2Code:"ML",alpha3Code:"MLI",numericCode:"466",callingCode:"+223"},{name:"Malta",alpha2Code:"MT",alpha3Code:"MLT",numericCode:"470",callingCode:"+356"},{name:"Marshallinseln",alpha2Code:"MH",alpha3Code:"MHL",numericCode:"584",callingCode:"+692"},{name:"Martinique",alpha2Code:"MQ",alpha3Code:"MTQ",numericCode:"474",callingCode:"+596"},{name:"Mauretanien",alpha2Code:"MR",alpha3Code:"MRT",numericCode:"478",callingCode:"+222"},{name:"Mauritius",alpha2Code:"MU",alpha3Code:"MUS",numericCode:"480",callingCode:"+230"},{name:"Mayotte",alpha2Code:"YT",alpha3Code:"MYT",numericCode:"175",callingCode:"+262"},{name:"Mexiko",alpha2Code:"MX",alpha3Code:"MEX",numericCode:"484",callingCode:"+52"},{name:"Mikronesien",alpha2Code:"FM",alpha3Code:"FSM",numericCode:"583",callingCode:"+691"},{name:"Moldawie",alpha2Code:"MD",alpha3Code:"MDA",numericCode:"498",callingCode:"+373"},{name:"Monaco",alpha2Code:"MC",alpha3Code:"MCO",numericCode:"492",callingCode:"+377"},{name:"Mongolei",alpha2Code:"MN",alpha3Code:"MNG",numericCode:"496",callingCode:"+976"},{name:"Montenegro",alpha2Code:"ME",alpha3Code:"MNE",numericCode:"499",callingCode:"+382"},{name:"Montserrat",alpha2Code:"MS",alpha3Code:"MSR",numericCode:"500",callingCode:"+1664"},{name:"Marokko",alpha2Code:"MA",alpha3Code:"MAR",numericCode:"504",callingCode:"+212"},{name:"Mosambik",alpha2Code:"MZ",alpha3Code:"MOZ",numericCode:"508",callingCode:"+258"},{name:"Myanmar",alpha2Code:"MM",alpha3Code:"MMR",numericCode:"104",callingCode:"+95"},{name:"Namibia",alpha2Code:"NA",alpha3Code:"NAM",numericCode:"516",callingCode:"+264"},{name:"Nauru",alpha2Code:"NR",alpha3Code:"NRU",numericCode:"520",callingCode:"+674"},{name:"N\xe9pal",alpha2Code:"NP",alpha3Code:"NPL",numericCode:"524",callingCode:"+977"},{name:"Niederlande",alpha2Code:"NL",alpha3Code:"NLD",numericCode:"528",callingCode:"+31"},{name:"Neukaledonien",alpha2Code:"NC",alpha3Code:"NCL",numericCode:"540",callingCode:"+687"},{name:"Neuseeland",alpha2Code:"NZ",alpha3Code:"NZL",numericCode:"554",callingCode:"+64"},{name:"Nicaragua",alpha2Code:"NI",alpha3Code:"NIC",numericCode:"558",callingCode:"+505"},{name:"Niger",alpha2Code:"NE",alpha3Code:"NER",numericCode:"562",callingCode:"+227"},{name:"Nigeria",alpha2Code:"NG",alpha3Code:"NGA",numericCode:"566",callingCode:"+234"},{name:"Niue",alpha2Code:"NU",alpha3Code:"NIU",numericCode:"570",callingCode:"+683"},{name:"Norfolkinsel",alpha2Code:"NF",alpha3Code:"NFK",numericCode:"574",callingCode:"+672"},{name:"Nordkorea",alpha2Code:"KP",alpha3Code:"PRK",numericCode:"408",callingCode:"+850"},{name:"N\xf6rdliche Marianen",alpha2Code:"MP",alpha3Code:"MNP",numericCode:"580",callingCode:"+1670"},{name:"Norwegen",alpha2Code:"NO",alpha3Code:"NOR",numericCode:"578",callingCode:"+47"},{name:"Oman",alpha2Code:"OM",alpha3Code:"OMN",numericCode:"512",callingCode:"+968"},{name:"Pakistan",alpha2Code:"PK",alpha3Code:"PAK",numericCode:"586",callingCode:"+92"},{name:"Palau",alpha2Code:"PW",alpha3Code:"PLW",numericCode:"585",callingCode:"+680"},{name:"Pal\xe4stina",alpha2Code:"PS",alpha3Code:"PSE",numericCode:"275",callingCode:"+970"},{name:"Panama",alpha2Code:"PA",alpha3Code:"PAN",numericCode:"591",callingCode:"+507"},{name:"Papua-Neuguinea",alpha2Code:"PG",alpha3Code:"PNG",numericCode:"598",callingCode:"+675"},{name:"Paraguay",alpha2Code:"PY",alpha3Code:"PRY",numericCode:"600",callingCode:"+595"},{name:"Peru",alpha2Code:"PE",alpha3Code:"PER",numericCode:"604",callingCode:"+51"},{name:"Philippinen",alpha2Code:"PH",alpha3Code:"PHL",numericCode:"608",callingCode:"+63"},{name:"Pitcairn",alpha2Code:"PN",alpha3Code:"PCN",numericCode:"612",callingCode:"+64"},{name:"Polen",alpha2Code:"PL",alpha3Code:"POL",numericCode:"616",callingCode:"+48"},{name:"Portugal",alpha2Code:"PT",alpha3Code:"PRT",numericCode:"620",callingCode:"+351"},{name:"Puerto Rico",alpha2Code:"PR",alpha3Code:"PRI",numericCode:"630",callingCode:"+1"},{name:"Katar",alpha2Code:"QA",alpha3Code:"QAT",numericCode:"634",callingCode:"+974"},{name:"Republik Kosovo",alpha2Code:"XK",alpha3Code:"KOS",numericCode:null,callingCode:"+383"},{name:"R\xe9union",alpha2Code:"RE",alpha3Code:"REU",numericCode:"638",callingCode:"+262"},{name:"Rum\xe4nien",alpha2Code:"RO",alpha3Code:"ROU",numericCode:"642",callingCode:"+40"},{name:"Russland",alpha2Code:"RU",alpha3Code:"RUS",numericCode:"643",callingCode:"+7"},{name:"Ruanda",alpha2Code:"RW",alpha3Code:"RWA",numericCode:"646",callingCode:"+250"},{name:"Saint-Barth\xe9lemy",alpha2Code:"BL",alpha3Code:"BLM",numericCode:"652",callingCode:"+590"},{name:"Sankt Helena",alpha2Code:"SH",alpha3Code:"SHN",numericCode:"654",callingCode:"+290"},{name:"St. Kitts und Nevis",alpha2Code:"KN",alpha3Code:"KNA",numericCode:"659",callingCode:"+1869"},{name:"Saint Lucia",alpha2Code:"LC",alpha3Code:"LCA",numericCode:"662",callingCode:"+1758"},{name:"Saint Martin",alpha2Code:"MF",alpha3Code:"MAF",numericCode:"663",callingCode:"+590"},{name:"Saint-Pierre und Miquelon",alpha2Code:"PM",alpha3Code:"SPM",numericCode:"666",callingCode:"+508"},{name:"Saint Vincent und die Grenadinen",alpha2Code:"VC",alpha3Code:"VCT",numericCode:"670",callingCode:"+1784"},{name:"Samoa",alpha2Code:"WS",alpha3Code:"WSM",numericCode:"882",callingCode:"+685"},{name:"San Marino",alpha2Code:"SM",alpha3Code:"SMR",numericCode:"674",callingCode:"+378"},{name:"S\xe3o Tom\xe9 und Pr\xedncipe",alpha2Code:"ST",alpha3Code:"STP",numericCode:"678",callingCode:"+239"},{name:"Saudi-Arabien",alpha2Code:"SA",alpha3Code:"SAU",numericCode:"682",callingCode:"+966"},{name:"Senegal",alpha2Code:"SN",alpha3Code:"SEN",numericCode:"686",callingCode:"+221"},{name:"Serbien",alpha2Code:"RS",alpha3Code:"SRB",numericCode:"688",callingCode:"+381"},{name:"Seychellen",alpha2Code:"SC",alpha3Code:"SYC",numericCode:"690",callingCode:"+248"},{name:"Sierra Leone",alpha2Code:"SL",alpha3Code:"SLE",numericCode:"694",callingCode:"+232"},{name:"Singapur",alpha2Code:"SG",alpha3Code:"SGP",numericCode:"702",callingCode:"+65"},{name:"Sint Maarten (niederl. Teil)",alpha2Code:"SX",alpha3Code:"SXM",numericCode:"534",callingCode:"+1721"},{name:"Slowakei",alpha2Code:"SK",alpha3Code:"SVK",numericCode:"703",callingCode:"+421"},{name:"Slowenien",alpha2Code:"SI",alpha3Code:"SVN",numericCode:"705",callingCode:"+386"},{name:"Salomonen",alpha2Code:"SB",alpha3Code:"SLB",numericCode:"090",callingCode:"+677"},{name:"Somalia",alpha2Code:"SO",alpha3Code:"SOM",numericCode:"706",callingCode:"+252"},{name:"Republik S\xfcdafrika",alpha2Code:"ZA",alpha3Code:"ZAF",numericCode:"710",callingCode:"+27"},{name:"S\xfcdgeorgien und die S\xfcdlichen Sandwichinseln",alpha2Code:"GS",alpha3Code:"SGS",numericCode:"239",callingCode:"+500"},{name:"S\xfcdkorea",alpha2Code:"KR",alpha3Code:"KOR",numericCode:"410",callingCode:"+82"},{name:"S\xfcdsudan",alpha2Code:"SS",alpha3Code:"SSD",numericCode:"728",callingCode:"+211"},{name:"Spanien",alpha2Code:"ES",alpha3Code:"ESP",numericCode:"724",callingCode:"+34"},{name:"Sri Lanka",alpha2Code:"LK",alpha3Code:"LKA",numericCode:"144",callingCode:"+94"},{name:"Sudan",alpha2Code:"SD",alpha3Code:"SDN",numericCode:"729",callingCode:"+249"},{name:"Suriname",alpha2Code:"SR",alpha3Code:"SUR",numericCode:"740",callingCode:"+597"},{name:"Svalbard und Jan Mayen",alpha2Code:"SJ",alpha3Code:"SJM",numericCode:"744",callingCode:"+4779"},{name:"Swasiland",alpha2Code:"SZ",alpha3Code:"SWZ",numericCode:"748",callingCode:"+268"},{name:"Schweden",alpha2Code:"SE",alpha3Code:"SWE",numericCode:"752",callingCode:"+46"},{name:"Schweiz",alpha2Code:"CH",alpha3Code:"CHE",numericCode:"756",callingCode:"+41"},{name:"Syrien",alpha2Code:"SY",alpha3Code:"SYR",numericCode:"760",callingCode:"+963"},{name:"Taiwan, China",alpha2Code:"TW",alpha3Code:"TWN",numericCode:"158",callingCode:"+886"},{name:"Tadschikistan",alpha2Code:"TJ",alpha3Code:"TJK",numericCode:"762",callingCode:"+992"},{name:"Tansania",alpha2Code:"TZ",alpha3Code:"TZA",numericCode:"834",callingCode:"+255"},{name:"Thailand",alpha2Code:"TH",alpha3Code:"THA",numericCode:"764",callingCode:"+66"},{name:"Timor-Leste",alpha2Code:"TL",alpha3Code:"TLS",numericCode:"626",callingCode:"+670"},{name:"Togo",alpha2Code:"TG",alpha3Code:"TGO",numericCode:"768",callingCode:"+228"},{name:"Tokelau",alpha2Code:"TK",alpha3Code:"TKL",numericCode:"772",callingCode:"+690"},{name:"Tonga",alpha2Code:"TO",alpha3Code:"TON",numericCode:"776",callingCode:"+676"},{name:"Trinidad und Tobago",alpha2Code:"TT",alpha3Code:"TTO",numericCode:"780",callingCode:"+1868"},{name:"Tunesien",alpha2Code:"TN",alpha3Code:"TUN",numericCode:"788",callingCode:"+216"},{name:"T\xfcrkei",alpha2Code:"TR",alpha3Code:"TUR",numericCode:"792",callingCode:"+90"},{name:"Turkmenistan",alpha2Code:"TM",alpha3Code:"TKM",numericCode:"795",callingCode:"+993"},{name:"Turks- und Caicosinseln",alpha2Code:"TC",alpha3Code:"TCA",numericCode:"796",callingCode:"+1649"},{name:"Tuvalu",alpha2Code:"TV",alpha3Code:"TUV",numericCode:"798",callingCode:"+688"},{name:"Uganda",alpha2Code:"UG",alpha3Code:"UGA",numericCode:"800",callingCode:"+256"},{name:"Ukraine",alpha2Code:"UA",alpha3Code:"UKR",numericCode:"804",callingCode:"+380"},{name:"Vereinigte Arabische Emirate",alpha2Code:"AE",alpha3Code:"ARE",numericCode:"784",callingCode:"+971"},{name:"Vereinigtes K\xf6nigreich",alpha2Code:"GB",alpha3Code:"GBR",numericCode:"826",callingCode:"+44"},{name:"Vereinigte Staaten von Amerika",alpha2Code:"US",alpha3Code:"USA",numericCode:"840",callingCode:"+1"},{name:"Uruguay",alpha2Code:"UY",alpha3Code:"URY",numericCode:"858",callingCode:"+598"},{name:"Usbekistan",alpha2Code:"UZ",alpha3Code:"UZB",numericCode:"860",callingCode:"+998"},{name:"Vanuatu",alpha2Code:"VU",alpha3Code:"VUT",numericCode:"548",callingCode:"+678"},{name:"Venezuela",alpha2Code:"VE",alpha3Code:"VEN",numericCode:"862",callingCode:"+58"},{name:"Vietnam",alpha2Code:"VN",alpha3Code:"VNM",numericCode:"704",callingCode:"+84"},{name:"Wallis und Futuna",alpha2Code:"WF",alpha3Code:"WLF",numericCode:"876",callingCode:"+681"},{name:"Westsahara",alpha2Code:"EH",alpha3Code:"ESH",numericCode:"732",callingCode:"+212"},{name:"Jemen",alpha2Code:"YE",alpha3Code:"YEM",numericCode:"887",callingCode:"+967"},{name:"Sambia",alpha2Code:"ZM",alpha3Code:"ZMB",numericCode:"894",callingCode:"+260"},{name:"Simbabwe",alpha2Code:"ZW",alpha3Code:"ZWE",numericCode:"716",callingCode:"+263"}]});const Fv=[{name:"Afghanistan",alpha2Code:"AF",alpha3Code:"AFG",numericCode:"004",callingCode:"+93"},{name:"\xc5land Islands",alpha2Code:"AX",alpha3Code:"ALA",numericCode:"248",callingCode:"+358"},{name:"Albania",alpha2Code:"AL",alpha3Code:"ALB",numericCode:"008",callingCode:"+355"},{name:"Algeria",alpha2Code:"DZ",alpha3Code:"DZA",numericCode:"012",callingCode:"+213"},{name:"American Samoa",alpha2Code:"AS",alpha3Code:"ASM",numericCode:"016",callingCode:"+1684"},{name:"Andorra",alpha2Code:"AD",alpha3Code:"AND",numericCode:"020",callingCode:"+376"},{name:"Angola",alpha2Code:"AO",alpha3Code:"AGO",numericCode:"024",callingCode:"+244"},{name:"Anguilla",alpha2Code:"AI",alpha3Code:"AIA",numericCode:"660",callingCode:"+1264"},{name:"Antarctica",alpha2Code:"AQ",alpha3Code:"ATA",numericCode:"010",callingCode:"+672"},{name:"Antigua and Barbuda",alpha2Code:"AG",alpha3Code:"ATG",numericCode:"028",callingCode:"+1268"},{name:"Argentina",alpha2Code:"AR",alpha3Code:"ARG",numericCode:"032",callingCode:"+54"},{name:"Armenia",alpha2Code:"AM",alpha3Code:"ARM",numericCode:"051",callingCode:"+374"},{name:"Aruba",alpha2Code:"AW",alpha3Code:"ABW",numericCode:"533",callingCode:"+297"},{name:"Australia",alpha2Code:"AU",alpha3Code:"AUS",numericCode:"036",callingCode:"+61"},{name:"Austria",alpha2Code:"AT",alpha3Code:"AUT",numericCode:"040",callingCode:"+43"},{name:"Azerbaijan",alpha2Code:"AZ",alpha3Code:"AZE",numericCode:"031",callingCode:"+994"},{name:"Bahamas",alpha2Code:"BS",alpha3Code:"BHS",numericCode:"044",callingCode:"+1242"},{name:"Bahrain",alpha2Code:"BH",alpha3Code:"BHR",numericCode:"048",callingCode:"+973"},{name:"Bangladesh",alpha2Code:"BD",alpha3Code:"BGD",numericCode:"050",callingCode:"+880"},{name:"Barbados",alpha2Code:"BB",alpha3Code:"BRB",numericCode:"052",callingCode:"+1246"},{name:"Belarus",alpha2Code:"BY",alpha3Code:"BLR",numericCode:"112",callingCode:"+375"},{name:"Belgium",alpha2Code:"BE",alpha3Code:"BEL",numericCode:"056",callingCode:"+32"},{name:"Belize",alpha2Code:"BZ",alpha3Code:"BLZ",numericCode:"084",callingCode:"+501"},{name:"Benin",alpha2Code:"BJ",alpha3Code:"BEN",numericCode:"204",callingCode:"+229"},{name:"Bermuda",alpha2Code:"BM",alpha3Code:"BMU",numericCode:"060",callingCode:"+1441"},{name:"Bhutan",alpha2Code:"BT",alpha3Code:"BTN",numericCode:"064",callingCode:"+975"},{name:"Bolivia (Plurinational State of)",alpha2Code:"BO",alpha3Code:"BOL",numericCode:"068",callingCode:"+591"},{name:"Bonaire, Sint Eustatius and Saba",alpha2Code:"BQ",alpha3Code:"BES",numericCode:"535",callingCode:"+5997"},{name:"Bosnia and Herzegovina",alpha2Code:"BA",alpha3Code:"BIH",numericCode:"070",callingCode:"+387"},{name:"Botswana",alpha2Code:"BW",alpha3Code:"BWA",numericCode:"072",callingCode:"+267"},{name:"Bouvet Island",alpha2Code:"BV",alpha3Code:"BVT",numericCode:"074",callingCode:"+"},{name:"Brazil",alpha2Code:"BR",alpha3Code:"BRA",numericCode:"076",callingCode:"+55"},{name:"British Indian Ocean Territory",alpha2Code:"IO",alpha3Code:"IOT",numericCode:"086",callingCode:"+246"},{name:"United States Minor Outlying Islands",alpha2Code:"UM",alpha3Code:"UMI",numericCode:"581",callingCode:"+"},{name:"Virgin Islands (British)",alpha2Code:"VG",alpha3Code:"VGB",numericCode:"092",callingCode:"+1284"},{name:"Virgin Islands (U.S.)",alpha2Code:"VI",alpha3Code:"VIR",numericCode:"850",callingCode:"+1 340"},{name:"Brunei Darussalam",alpha2Code:"BN",alpha3Code:"BRN",numericCode:"096",callingCode:"+673"},{name:"Bulgaria",alpha2Code:"BG",alpha3Code:"BGR",numericCode:"100",callingCode:"+359"},{name:"Burkina Faso",alpha2Code:"BF",alpha3Code:"BFA",numericCode:"854",callingCode:"+226"},{name:"Burundi",alpha2Code:"BI",alpha3Code:"BDI",numericCode:"108",callingCode:"+257"},{name:"Cambodia",alpha2Code:"KH",alpha3Code:"KHM",numericCode:"116",callingCode:"+855"},{name:"Cameroon",alpha2Code:"CM",alpha3Code:"CMR",numericCode:"120",callingCode:"+237"},{name:"Canada",alpha2Code:"CA",alpha3Code:"CAN",numericCode:"124",callingCode:"+1"},{name:"Cabo Verde",alpha2Code:"CV",alpha3Code:"CPV",numericCode:"132",callingCode:"+238"},{name:"Cayman Islands",alpha2Code:"KY",alpha3Code:"CYM",numericCode:"136",callingCode:"+1345"},{name:"Central African Republic",alpha2Code:"CF",alpha3Code:"CAF",numericCode:"140",callingCode:"+236"},{name:"Chad",alpha2Code:"TD",alpha3Code:"TCD",numericCode:"148",callingCode:"+235"},{name:"Chile",alpha2Code:"CL",alpha3Code:"CHL",numericCode:"152",callingCode:"+56"},{name:"China",alpha2Code:"CN",alpha3Code:"CHN",numericCode:"156",callingCode:"+86"},{name:"Christmas Island",alpha2Code:"CX",alpha3Code:"CXR",numericCode:"162",callingCode:"+61"},{name:"Cocos (Keeling) Islands",alpha2Code:"CC",alpha3Code:"CCK",numericCode:"166",callingCode:"+61"},{name:"Colombia",alpha2Code:"CO",alpha3Code:"COL",numericCode:"170",callingCode:"+57"},{name:"Comoros",alpha2Code:"KM",alpha3Code:"COM",numericCode:"174",callingCode:"+269"},{name:"Congo",alpha2Code:"CG",alpha3Code:"COG",numericCode:"178",callingCode:"+242"},{name:"Congo (Democratic Republic of the)",alpha2Code:"CD",alpha3Code:"COD",numericCode:"180",callingCode:"+243"},{name:"Cook Islands",alpha2Code:"CK",alpha3Code:"COK",numericCode:"184",callingCode:"+682"},{name:"Costa Rica",alpha2Code:"CR",alpha3Code:"CRI",numericCode:"188",callingCode:"+506"},{name:"Croatia",alpha2Code:"HR",alpha3Code:"HRV",numericCode:"191",callingCode:"+385"},{name:"Cuba",alpha2Code:"CU",alpha3Code:"CUB",numericCode:"192",callingCode:"+53"},{name:"Cura\xe7ao",alpha2Code:"CW",alpha3Code:"CUW",numericCode:"531",callingCode:"+599"},{name:"Cyprus",alpha2Code:"CY",alpha3Code:"CYP",numericCode:"196",callingCode:"+357"},{name:"Czech Republic",alpha2Code:"CZ",alpha3Code:"CZE",numericCode:"203",callingCode:"+420"},{name:"Denmark",alpha2Code:"DK",alpha3Code:"DNK",numericCode:"208",callingCode:"+45"},{name:"Djibouti",alpha2Code:"DJ",alpha3Code:"DJI",numericCode:"262",callingCode:"+253"},{name:"Dominica",alpha2Code:"DM",alpha3Code:"DMA",numericCode:"212",callingCode:"+1767"},{name:"Dominican Republic",alpha2Code:"DO",alpha3Code:"DOM",numericCode:"214",callingCode:"+1809"},{name:"Ecuador",alpha2Code:"EC",alpha3Code:"ECU",numericCode:"218",callingCode:"+593"},{name:"Egypt",alpha2Code:"EG",alpha3Code:"EGY",numericCode:"818",callingCode:"+20"},{name:"El Salvador",alpha2Code:"SV",alpha3Code:"SLV",numericCode:"222",callingCode:"+503"},{name:"Equatorial Guinea",alpha2Code:"GQ",alpha3Code:"GNQ",numericCode:"226",callingCode:"+240"},{name:"Eritrea",alpha2Code:"ER",alpha3Code:"ERI",numericCode:"232",callingCode:"+291"},{name:"Estonia",alpha2Code:"EE",alpha3Code:"EST",numericCode:"233",callingCode:"+372"},{name:"Ethiopia",alpha2Code:"ET",alpha3Code:"ETH",numericCode:"231",callingCode:"+251"},{name:"Falkland Islands (Malvinas)",alpha2Code:"FK",alpha3Code:"FLK",numericCode:"238",callingCode:"+500"},{name:"Faroe Islands",alpha2Code:"FO",alpha3Code:"FRO",numericCode:"234",callingCode:"+298"},{name:"Fiji",alpha2Code:"FJ",alpha3Code:"FJI",numericCode:"242",callingCode:"+679"},{name:"Finland",alpha2Code:"FI",alpha3Code:"FIN",numericCode:"246",callingCode:"+358"},{name:"France",alpha2Code:"FR",alpha3Code:"FRA",numericCode:"250",callingCode:"+33"},{name:"French Guiana",alpha2Code:"GF",alpha3Code:"GUF",numericCode:"254",callingCode:"+594"},{name:"French Polynesia",alpha2Code:"PF",alpha3Code:"PYF",numericCode:"258",callingCode:"+689"},{name:"French Southern Territories",alpha2Code:"TF",alpha3Code:"ATF",numericCode:"260",callingCode:"+"},{name:"Gabon",alpha2Code:"GA",alpha3Code:"GAB",numericCode:"266",callingCode:"+241"},{name:"Gambia",alpha2Code:"GM",alpha3Code:"GMB",numericCode:"270",callingCode:"+220"},{name:"Georgia",alpha2Code:"GE",alpha3Code:"GEO",numericCode:"268",callingCode:"+995"},{name:"Germany",alpha2Code:"DE",alpha3Code:"DEU",numericCode:"276",callingCode:"+49"},{name:"Ghana",alpha2Code:"GH",alpha3Code:"GHA",numericCode:"288",callingCode:"+233"},{name:"Gibraltar",alpha2Code:"GI",alpha3Code:"GIB",numericCode:"292",callingCode:"+350"},{name:"Greece",alpha2Code:"GR",alpha3Code:"GRC",numericCode:"300",callingCode:"+30"},{name:"Greenland",alpha2Code:"GL",alpha3Code:"GRL",numericCode:"304",callingCode:"+299"},{name:"Grenada",alpha2Code:"GD",alpha3Code:"GRD",numericCode:"308",callingCode:"+1473"},{name:"Guadeloupe",alpha2Code:"GP",alpha3Code:"GLP",numericCode:"312",callingCode:"+590"},{name:"Guam",alpha2Code:"GU",alpha3Code:"GUM",numericCode:"316",callingCode:"+1671"},{name:"Guatemala",alpha2Code:"GT",alpha3Code:"GTM",numericCode:"320",callingCode:"+502"},{name:"Guernsey",alpha2Code:"GG",alpha3Code:"GGY",numericCode:"831",callingCode:"+44"},{name:"Guinea",alpha2Code:"GN",alpha3Code:"GIN",numericCode:"324",callingCode:"+224"},{name:"Guinea-Bissau",alpha2Code:"GW",alpha3Code:"GNB",numericCode:"624",callingCode:"+245"},{name:"Guyana",alpha2Code:"GY",alpha3Code:"GUY",numericCode:"328",callingCode:"+592"},{name:"Haiti",alpha2Code:"HT",alpha3Code:"HTI",numericCode:"332",callingCode:"+509"},{name:"Heard Island and McDonald Islands",alpha2Code:"HM",alpha3Code:"HMD",numericCode:"334",callingCode:"+"},{name:"Holy See",alpha2Code:"VA",alpha3Code:"VAT",numericCode:"336",callingCode:"+379"},{name:"Honduras",alpha2Code:"HN",alpha3Code:"HND",numericCode:"340",callingCode:"+504"},{name:"Hong Kong",alpha2Code:"HK",alpha3Code:"HKG",numericCode:"344",callingCode:"+852"},{name:"Hungary",alpha2Code:"HU",alpha3Code:"HUN",numericCode:"348",callingCode:"+36"},{name:"Iceland",alpha2Code:"IS",alpha3Code:"ISL",numericCode:"352",callingCode:"+354"},{name:"India",alpha2Code:"IN",alpha3Code:"IND",numericCode:"356",callingCode:"+91"},{name:"Indonesia",alpha2Code:"ID",alpha3Code:"IDN",numericCode:"360",callingCode:"+62"},{name:"C\xf4te d'Ivoire",alpha2Code:"CI",alpha3Code:"CIV",numericCode:"384",callingCode:"+225"},{name:"Iran (Islamic Republic of)",alpha2Code:"IR",alpha3Code:"IRN",numericCode:"364",callingCode:"+98"},{name:"Iraq",alpha2Code:"IQ",alpha3Code:"IRQ",numericCode:"368",callingCode:"+964"},{name:"Ireland",alpha2Code:"IE",alpha3Code:"IRL",numericCode:"372",callingCode:"+353"},{name:"Isle of Man",alpha2Code:"IM",alpha3Code:"IMN",numericCode:"833",callingCode:"+44"},{name:"Israel",alpha2Code:"IL",alpha3Code:"ISR",numericCode:"376",callingCode:"+972"},{name:"Italy",alpha2Code:"IT",alpha3Code:"ITA",numericCode:"380",callingCode:"+39"},{name:"Jamaica",alpha2Code:"JM",alpha3Code:"JAM",numericCode:"388",callingCode:"+1876"},{name:"Japan",alpha2Code:"JP",alpha3Code:"JPN",numericCode:"392",callingCode:"+81"},{name:"Jersey",alpha2Code:"JE",alpha3Code:"JEY",numericCode:"832",callingCode:"+44"},{name:"Jordan",alpha2Code:"JO",alpha3Code:"JOR",numericCode:"400",callingCode:"+962"},{name:"Kazakhstan",alpha2Code:"KZ",alpha3Code:"KAZ",numericCode:"398",callingCode:"+7"},{name:"Kenya",alpha2Code:"KE",alpha3Code:"KEN",numericCode:"404",callingCode:"+254"},{name:"Kiribati",alpha2Code:"KI",alpha3Code:"KIR",numericCode:"296",callingCode:"+686"},{name:"Kuwait",alpha2Code:"KW",alpha3Code:"KWT",numericCode:"414",callingCode:"+965"},{name:"Kyrgyzstan",alpha2Code:"KG",alpha3Code:"KGZ",numericCode:"417",callingCode:"+996"},{name:"Lao People's Democratic Republic",alpha2Code:"LA",alpha3Code:"LAO",numericCode:"418",callingCode:"+856"},{name:"Latvia",alpha2Code:"LV",alpha3Code:"LVA",numericCode:"428",callingCode:"+371"},{name:"Lebanon",alpha2Code:"LB",alpha3Code:"LBN",numericCode:"422",callingCode:"+961"},{name:"Lesotho",alpha2Code:"LS",alpha3Code:"LSO",numericCode:"426",callingCode:"+266"},{name:"Liberia",alpha2Code:"LR",alpha3Code:"LBR",numericCode:"430",callingCode:"+231"},{name:"Libya",alpha2Code:"LY",alpha3Code:"LBY",numericCode:"434",callingCode:"+218"},{name:"Liechtenstein",alpha2Code:"LI",alpha3Code:"LIE",numericCode:"438",callingCode:"+423"},{name:"Lithuania",alpha2Code:"LT",alpha3Code:"LTU",numericCode:"440",callingCode:"+370"},{name:"Luxembourg",alpha2Code:"LU",alpha3Code:"LUX",numericCode:"442",callingCode:"+352"},{name:"Macao",alpha2Code:"MO",alpha3Code:"MAC",numericCode:"446",callingCode:"+853"},{name:"Macedonia (the former Yugoslav Republic of)",alpha2Code:"MK",alpha3Code:"MKD",numericCode:"807",callingCode:"+389"},{name:"Madagascar",alpha2Code:"MG",alpha3Code:"MDG",numericCode:"450",callingCode:"+261"},{name:"Malawi",alpha2Code:"MW",alpha3Code:"MWI",numericCode:"454",callingCode:"+265"},{name:"Malaysia",alpha2Code:"MY",alpha3Code:"MYS",numericCode:"458",callingCode:"+60"},{name:"Maldives",alpha2Code:"MV",alpha3Code:"MDV",numericCode:"462",callingCode:"+960"},{name:"Mali",alpha2Code:"ML",alpha3Code:"MLI",numericCode:"466",callingCode:"+223"},{name:"Malta",alpha2Code:"MT",alpha3Code:"MLT",numericCode:"470",callingCode:"+356"},{name:"Marshall Islands",alpha2Code:"MH",alpha3Code:"MHL",numericCode:"584",callingCode:"+692"},{name:"Martinique",alpha2Code:"MQ",alpha3Code:"MTQ",numericCode:"474",callingCode:"+596"},{name:"Mauritania",alpha2Code:"MR",alpha3Code:"MRT",numericCode:"478",callingCode:"+222"},{name:"Mauritius",alpha2Code:"MU",alpha3Code:"MUS",numericCode:"480",callingCode:"+230"},{name:"Mayotte",alpha2Code:"YT",alpha3Code:"MYT",numericCode:"175",callingCode:"+262"},{name:"Mexico",alpha2Code:"MX",alpha3Code:"MEX",numericCode:"484",callingCode:"+52"},{name:"Micronesia (Federated States of)",alpha2Code:"FM",alpha3Code:"FSM",numericCode:"583",callingCode:"+691"},{name:"Moldova (Republic of)",alpha2Code:"MD",alpha3Code:"MDA",numericCode:"498",callingCode:"+373"},{name:"Monaco",alpha2Code:"MC",alpha3Code:"MCO",numericCode:"492",callingCode:"+377"},{name:"Mongolia",alpha2Code:"MN",alpha3Code:"MNG",numericCode:"496",callingCode:"+976"},{name:"Montenegro",alpha2Code:"ME",alpha3Code:"MNE",numericCode:"499",callingCode:"+382"},{name:"Montserrat",alpha2Code:"MS",alpha3Code:"MSR",numericCode:"500",callingCode:"+1664"},{name:"Morocco",alpha2Code:"MA",alpha3Code:"MAR",numericCode:"504",callingCode:"+212"},{name:"Mozambique",alpha2Code:"MZ",alpha3Code:"MOZ",numericCode:"508",callingCode:"+258"},{name:"Myanmar",alpha2Code:"MM",alpha3Code:"MMR",numericCode:"104",callingCode:"+95"},{name:"Namibia",alpha2Code:"NA",alpha3Code:"NAM",numericCode:"516",callingCode:"+264"},{name:"Nauru",alpha2Code:"NR",alpha3Code:"NRU",numericCode:"520",callingCode:"+674"},{name:"Nepal",alpha2Code:"NP",alpha3Code:"NPL",numericCode:"524",callingCode:"+977"},{name:"Netherlands",alpha2Code:"NL",alpha3Code:"NLD",numericCode:"528",callingCode:"+31"},{name:"New Caledonia",alpha2Code:"NC",alpha3Code:"NCL",numericCode:"540",callingCode:"+687"},{name:"New Zealand",alpha2Code:"NZ",alpha3Code:"NZL",numericCode:"554",callingCode:"+64"},{name:"Nicaragua",alpha2Code:"NI",alpha3Code:"NIC",numericCode:"558",callingCode:"+505"},{name:"Niger",alpha2Code:"NE",alpha3Code:"NER",numericCode:"562",callingCode:"+227"},{name:"Nigeria",alpha2Code:"NG",alpha3Code:"NGA",numericCode:"566",callingCode:"+234"},{name:"Niue",alpha2Code:"NU",alpha3Code:"NIU",numericCode:"570",callingCode:"+683"},{name:"Norfolk Island",alpha2Code:"NF",alpha3Code:"NFK",numericCode:"574",callingCode:"+672"},{name:"Korea (Democratic People's Republic of)",alpha2Code:"KP",alpha3Code:"PRK",numericCode:"408",callingCode:"+850"},{name:"Northern Mariana Islands",alpha2Code:"MP",alpha3Code:"MNP",numericCode:"580",callingCode:"+1670"},{name:"Norway",alpha2Code:"NO",alpha3Code:"NOR",numericCode:"578",callingCode:"+47"},{name:"Oman",alpha2Code:"OM",alpha3Code:"OMN",numericCode:"512",callingCode:"+968"},{name:"Pakistan",alpha2Code:"PK",alpha3Code:"PAK",numericCode:"586",callingCode:"+92"},{name:"Palau",alpha2Code:"PW",alpha3Code:"PLW",numericCode:"585",callingCode:"+680"},{name:"Palestine, State of",alpha2Code:"PS",alpha3Code:"PSE",numericCode:"275",callingCode:"+970"},{name:"Panama",alpha2Code:"PA",alpha3Code:"PAN",numericCode:"591",callingCode:"+507"},{name:"Papua New Guinea",alpha2Code:"PG",alpha3Code:"PNG",numericCode:"598",callingCode:"+675"},{name:"Paraguay",alpha2Code:"PY",alpha3Code:"PRY",numericCode:"600",callingCode:"+595"},{name:"Peru",alpha2Code:"PE",alpha3Code:"PER",numericCode:"604",callingCode:"+51"},{name:"Philippines",alpha2Code:"PH",alpha3Code:"PHL",numericCode:"608",callingCode:"+63"},{name:"Pitcairn",alpha2Code:"PN",alpha3Code:"PCN",numericCode:"612",callingCode:"+64"},{name:"Poland",alpha2Code:"PL",alpha3Code:"POL",numericCode:"616",callingCode:"+48"},{name:"Portugal",alpha2Code:"PT",alpha3Code:"PRT",numericCode:"620",callingCode:"+351"},{name:"Puerto Rico",alpha2Code:"PR",alpha3Code:"PRI",numericCode:"630",callingCode:"+1"},{name:"Qatar",alpha2Code:"QA",alpha3Code:"QAT",numericCode:"634",callingCode:"+974"},{name:"Republic of Kosovo",alpha2Code:"XK",alpha3Code:"KOS",numericCode:null,callingCode:"+383"},{name:"R\xe9union",alpha2Code:"RE",alpha3Code:"REU",numericCode:"638",callingCode:"+262"},{name:"Romania",alpha2Code:"RO",alpha3Code:"ROU",numericCode:"642",callingCode:"+40"},{name:"Russian Federation",alpha2Code:"RU",alpha3Code:"RUS",numericCode:"643",callingCode:"+7"},{name:"Rwanda",alpha2Code:"RW",alpha3Code:"RWA",numericCode:"646",callingCode:"+250"},{name:"Saint Barth\xe9lemy",alpha2Code:"BL",alpha3Code:"BLM",numericCode:"652",callingCode:"+590"},{name:"Saint Helena, Ascension and Tristan da Cunha",alpha2Code:"SH",alpha3Code:"SHN",numericCode:"654",callingCode:"+290"},{name:"Saint Kitts and Nevis",alpha2Code:"KN",alpha3Code:"KNA",numericCode:"659",callingCode:"+1869"},{name:"Saint Lucia",alpha2Code:"LC",alpha3Code:"LCA",numericCode:"662",callingCode:"+1758"},{name:"Saint Martin (French part)",alpha2Code:"MF",alpha3Code:"MAF",numericCode:"663",callingCode:"+590"},{name:"Saint Pierre and Miquelon",alpha2Code:"PM",alpha3Code:"SPM",numericCode:"666",callingCode:"+508"},{name:"Saint Vincent and the Grenadines",alpha2Code:"VC",alpha3Code:"VCT",numericCode:"670",callingCode:"+1784"},{name:"Samoa",alpha2Code:"WS",alpha3Code:"WSM",numericCode:"882",callingCode:"+685"},{name:"San Marino",alpha2Code:"SM",alpha3Code:"SMR",numericCode:"674",callingCode:"+378"},{name:"Sao Tome and Principe",alpha2Code:"ST",alpha3Code:"STP",numericCode:"678",callingCode:"+239"},{name:"Saudi Arabia",alpha2Code:"SA",alpha3Code:"SAU",numericCode:"682",callingCode:"+966"},{name:"Senegal",alpha2Code:"SN",alpha3Code:"SEN",numericCode:"686",callingCode:"+221"},{name:"Serbia",alpha2Code:"RS",alpha3Code:"SRB",numericCode:"688",callingCode:"+381"},{name:"Seychelles",alpha2Code:"SC",alpha3Code:"SYC",numericCode:"690",callingCode:"+248"},{name:"Sierra Leone",alpha2Code:"SL",alpha3Code:"SLE",numericCode:"694",callingCode:"+232"},{name:"Singapore",alpha2Code:"SG",alpha3Code:"SGP",numericCode:"702",callingCode:"+65"},{name:"Sint Maarten (Dutch part)",alpha2Code:"SX",alpha3Code:"SXM",numericCode:"534",callingCode:"+1721"},{name:"Slovakia",alpha2Code:"SK",alpha3Code:"SVK",numericCode:"703",callingCode:"+421"},{name:"Slovenia",alpha2Code:"SI",alpha3Code:"SVN",numericCode:"705",callingCode:"+386"},{name:"Solomon Islands",alpha2Code:"SB",alpha3Code:"SLB",numericCode:"090",callingCode:"+677"},{name:"Somalia",alpha2Code:"SO",alpha3Code:"SOM",numericCode:"706",callingCode:"+252"},{name:"South Africa",alpha2Code:"ZA",alpha3Code:"ZAF",numericCode:"710",callingCode:"+27"},{name:"South Georgia and the South Sandwich Islands",alpha2Code:"GS",alpha3Code:"SGS",numericCode:"239",callingCode:"+500"},{name:"Korea (Republic of)",alpha2Code:"KR",alpha3Code:"KOR",numericCode:"410",callingCode:"+82"},{name:"South Sudan",alpha2Code:"SS",alpha3Code:"SSD",numericCode:"728",callingCode:"+211"},{name:"Spain",alpha2Code:"ES",alpha3Code:"ESP",numericCode:"724",callingCode:"+34"},{name:"Sri Lanka",alpha2Code:"LK",alpha3Code:"LKA",numericCode:"144",callingCode:"+94"},{name:"Sudan",alpha2Code:"SD",alpha3Code:"SDN",numericCode:"729",callingCode:"+249"},{name:"Suriname",alpha2Code:"SR",alpha3Code:"SUR",numericCode:"740",callingCode:"+597"},{name:"Svalbard and Jan Mayen",alpha2Code:"SJ",alpha3Code:"SJM",numericCode:"744",callingCode:"+4779"},{name:"Swaziland",alpha2Code:"SZ",alpha3Code:"SWZ",numericCode:"748",callingCode:"+268"},{name:"Sweden",alpha2Code:"SE",alpha3Code:"SWE",numericCode:"752",callingCode:"+46"},{name:"Switzerland",alpha2Code:"CH",alpha3Code:"CHE",numericCode:"756",callingCode:"+41"},{name:"Syrian Arab Republic",alpha2Code:"SY",alpha3Code:"SYR",numericCode:"760",callingCode:"+963"},{name:"Taiwan, China",alpha2Code:"TW",alpha3Code:"TWN",numericCode:"158",callingCode:"+886"},{name:"Tajikistan",alpha2Code:"TJ",alpha3Code:"TJK",numericCode:"762",callingCode:"+992"},{name:"Tanzania, United Republic of",alpha2Code:"TZ",alpha3Code:"TZA",numericCode:"834",callingCode:"+255"},{name:"Thailand",alpha2Code:"TH",alpha3Code:"THA",numericCode:"764",callingCode:"+66"},{name:"Timor-Leste",alpha2Code:"TL",alpha3Code:"TLS",numericCode:"626",callingCode:"+670"},{name:"Togo",alpha2Code:"TG",alpha3Code:"TGO",numericCode:"768",callingCode:"+228"},{name:"Tokelau",alpha2Code:"TK",alpha3Code:"TKL",numericCode:"772",callingCode:"+690"},{name:"Tonga",alpha2Code:"TO",alpha3Code:"TON",numericCode:"776",callingCode:"+676"},{name:"Trinidad and Tobago",alpha2Code:"TT",alpha3Code:"TTO",numericCode:"780",callingCode:"+1868"},{name:"Tunisia",alpha2Code:"TN",alpha3Code:"TUN",numericCode:"788",callingCode:"+216"},{name:"Turkey",alpha2Code:"TR",alpha3Code:"TUR",numericCode:"792",callingCode:"+90"},{name:"Turkmenistan",alpha2Code:"TM",alpha3Code:"TKM",numericCode:"795",callingCode:"+993"},{name:"Turks and Caicos Islands",alpha2Code:"TC",alpha3Code:"TCA",numericCode:"796",callingCode:"+1649"},{name:"Tuvalu",alpha2Code:"TV",alpha3Code:"TUV",numericCode:"798",callingCode:"+688"},{name:"Uganda",alpha2Code:"UG",alpha3Code:"UGA",numericCode:"800",callingCode:"+256"},{name:"Ukraine",alpha2Code:"UA",alpha3Code:"UKR",numericCode:"804",callingCode:"+380"},{name:"United Arab Emirates",alpha2Code:"AE",alpha3Code:"ARE",numericCode:"784",callingCode:"+971"},{name:"United Kingdom of Great Britain and Northern Ireland",alpha2Code:"GB",alpha3Code:"GBR",numericCode:"826",callingCode:"+44"},{name:"United States of America",alpha2Code:"US",alpha3Code:"USA",numericCode:"840",callingCode:"+1"},{name:"Uruguay",alpha2Code:"UY",alpha3Code:"URY",numericCode:"858",callingCode:"+598"},{name:"Uzbekistan",alpha2Code:"UZ",alpha3Code:"UZB",numericCode:"860",callingCode:"+998"},{name:"Vanuatu",alpha2Code:"VU",alpha3Code:"VUT",numericCode:"548",callingCode:"+678"},{name:"Venezuela (Bolivarian Republic of)",alpha2Code:"VE",alpha3Code:"VEN",numericCode:"862",callingCode:"+58"},{name:"Viet Nam",alpha2Code:"VN",alpha3Code:"VNM",numericCode:"704",callingCode:"+84"},{name:"Wallis and Futuna",alpha2Code:"WF",alpha3Code:"WLF",numericCode:"876",callingCode:"+681"},{name:"Western Sahara",alpha2Code:"EH",alpha3Code:"ESH",numericCode:"732",callingCode:"+212"},{name:"Yemen",alpha2Code:"YE",alpha3Code:"YEM",numericCode:"887",callingCode:"+967"},{name:"Zambia",alpha2Code:"ZM",alpha3Code:"ZMB",numericCode:"894",callingCode:"+260"},{name:"Zimbabwe",alpha2Code:"ZW",alpha3Code:"ZWE",numericCode:"716",callingCode:"+263"}];var ky=Object.freeze({__proto__:null,COUNTRIES_DB:Fv}),d1=Object.freeze({__proto__:null,COUNTRIES_DB_ES:[{name:"Afganist\xe1n",alpha2Code:"AF",alpha3Code:"AFG",numericCode:"004",callingCode:"+93"},{name:"Alandia",alpha2Code:"AX",alpha3Code:"ALA",numericCode:"248",callingCode:"+358"},{name:"Albania",alpha2Code:"AL",alpha3Code:"ALB",numericCode:"008",callingCode:"+355"},{name:"Argelia",alpha2Code:"DZ",alpha3Code:"DZA",numericCode:"012",callingCode:"+213"},{name:"Samoa Americana",alpha2Code:"AS",alpha3Code:"ASM",numericCode:"016",callingCode:"+1684"},{name:"Andorra",alpha2Code:"AD",alpha3Code:"AND",numericCode:"020",callingCode:"+376"},{name:"Angola",alpha2Code:"AO",alpha3Code:"AGO",numericCode:"024",callingCode:"+244"},{name:"Anguilla",alpha2Code:"AI",alpha3Code:"AIA",numericCode:"660",callingCode:"+1264"},{name:"Ant\xe1rtida",alpha2Code:"AQ",alpha3Code:"ATA",numericCode:"010",callingCode:"+672"},{name:"Antigua y Barbuda",alpha2Code:"AG",alpha3Code:"ATG",numericCode:"028",callingCode:"+1268"},{name:"Argentina",alpha2Code:"AR",alpha3Code:"ARG",numericCode:"032",callingCode:"+54"},{name:"Armenia",alpha2Code:"AM",alpha3Code:"ARM",numericCode:"051",callingCode:"+374"},{name:"Aruba",alpha2Code:"AW",alpha3Code:"ABW",numericCode:"533",callingCode:"+297"},{name:"Australia",alpha2Code:"AU",alpha3Code:"AUS",numericCode:"036",callingCode:"+61"},{name:"Austria",alpha2Code:"AT",alpha3Code:"AUT",numericCode:"040",callingCode:"+43"},{name:"Azerbaiy\xe1n",alpha2Code:"AZ",alpha3Code:"AZE",numericCode:"031",callingCode:"+994"},{name:"Bahamas",alpha2Code:"BS",alpha3Code:"BHS",numericCode:"044",callingCode:"+1242"},{name:"Bahrein",alpha2Code:"BH",alpha3Code:"BHR",numericCode:"048",callingCode:"+973"},{name:"Bangladesh",alpha2Code:"BD",alpha3Code:"BGD",numericCode:"050",callingCode:"+880"},{name:"Barbados",alpha2Code:"BB",alpha3Code:"BRB",numericCode:"052",callingCode:"+1246"},{name:"Bielorrusia",alpha2Code:"BY",alpha3Code:"BLR",numericCode:"112",callingCode:"+375"},{name:"B\xe9lgica",alpha2Code:"BE",alpha3Code:"BEL",numericCode:"056",callingCode:"+32"},{name:"Belice",alpha2Code:"BZ",alpha3Code:"BLZ",numericCode:"084",callingCode:"+501"},{name:"Ben\xedn",alpha2Code:"BJ",alpha3Code:"BEN",numericCode:"204",callingCode:"+229"},{name:"Bermudas",alpha2Code:"BM",alpha3Code:"BMU",numericCode:"060",callingCode:"+1441"},{name:"But\xe1n",alpha2Code:"BT",alpha3Code:"BTN",numericCode:"064",callingCode:"+975"},{name:"Bolivia",alpha2Code:"BO",alpha3Code:"BOL",numericCode:"068",callingCode:"+591"},{name:"Bonaire, Saint-Eustache y Saba",alpha2Code:"BQ",alpha3Code:"BES",numericCode:"535",callingCode:"+5997"},{name:"Bosnia y Herzegovina",alpha2Code:"BA",alpha3Code:"BIH",numericCode:"070",callingCode:"+387"},{name:"Botswana",alpha2Code:"BW",alpha3Code:"BWA",numericCode:"072",callingCode:"+267"},{name:"Isla Bouvet",alpha2Code:"BV",alpha3Code:"BVT",numericCode:"074",callingCode:"+"},{name:"Brasil",alpha2Code:"BR",alpha3Code:"BRA",numericCode:"076",callingCode:"+55"},{name:"Territorio Brit\xe1nico del Oc\xe9ano \xcdndico",alpha2Code:"IO",alpha3Code:"IOT",numericCode:"086",callingCode:"+246"},{name:"Islas Ultramarinas Menores de Estados Unidos",alpha2Code:"UM",alpha3Code:"UMI",numericCode:"581",callingCode:"+"},{name:"Islas V\xedrgenes del Reino Unido",alpha2Code:"VG",alpha3Code:"VGB",numericCode:"092",callingCode:"+1284"},{name:"Islas V\xedrgenes de los Estados Unidos",alpha2Code:"VI",alpha3Code:"VIR",numericCode:"850",callingCode:"+1 340"},{name:"Brunei",alpha2Code:"BN",alpha3Code:"BRN",numericCode:"096",callingCode:"+673"},{name:"Bulgaria",alpha2Code:"BG",alpha3Code:"BGR",numericCode:"100",callingCode:"+359"},{name:"Burkina Faso",alpha2Code:"BF",alpha3Code:"BFA",numericCode:"854",callingCode:"+226"},{name:"Burundi",alpha2Code:"BI",alpha3Code:"BDI",numericCode:"108",callingCode:"+257"},{name:"Camboya",alpha2Code:"KH",alpha3Code:"KHM",numericCode:"116",callingCode:"+855"},{name:"Camer\xfan",alpha2Code:"CM",alpha3Code:"CMR",numericCode:"120",callingCode:"+237"},{name:"Canad\xe1",alpha2Code:"CA",alpha3Code:"CAN",numericCode:"124",callingCode:"+1"},{name:"Cabo Verde",alpha2Code:"CV",alpha3Code:"CPV",numericCode:"132",callingCode:"+238"},{name:"Islas Caim\xe1n",alpha2Code:"KY",alpha3Code:"CYM",numericCode:"136",callingCode:"+1345"},{name:"Rep\xfablica Centroafricana",alpha2Code:"CF",alpha3Code:"CAF",numericCode:"140",callingCode:"+236"},{name:"Chad",alpha2Code:"TD",alpha3Code:"TCD",numericCode:"148",callingCode:"+235"},{name:"Chile",alpha2Code:"CL",alpha3Code:"CHL",numericCode:"152",callingCode:"+56"},{name:"China",alpha2Code:"CN",alpha3Code:"CHN",numericCode:"156",callingCode:"+86"},{name:"Isla de Navidad",alpha2Code:"CX",alpha3Code:"CXR",numericCode:"162",callingCode:"+61"},{name:"Islas Cocos o Islas Keeling",alpha2Code:"CC",alpha3Code:"CCK",numericCode:"166",callingCode:"+61"},{name:"Colombia",alpha2Code:"CO",alpha3Code:"COL",numericCode:"170",callingCode:"+57"},{name:"Comoras",alpha2Code:"KM",alpha3Code:"COM",numericCode:"174",callingCode:"+269"},{name:"Congo",alpha2Code:"CG",alpha3Code:"COG",numericCode:"178",callingCode:"+242"},{name:"Congo (Rep. Dem.)",alpha2Code:"CD",alpha3Code:"COD",numericCode:"180",callingCode:"+243"},{name:"Islas Cook",alpha2Code:"CK",alpha3Code:"COK",numericCode:"184",callingCode:"+682"},{name:"Costa Rica",alpha2Code:"CR",alpha3Code:"CRI",numericCode:"188",callingCode:"+506"},{name:"Croacia",alpha2Code:"HR",alpha3Code:"HRV",numericCode:"191",callingCode:"+385"},{name:"Cuba",alpha2Code:"CU",alpha3Code:"CUB",numericCode:"192",callingCode:"+53"},{name:"Cura\xe7ao",alpha2Code:"CW",alpha3Code:"CUW",numericCode:"531",callingCode:"+599"},{name:"Chipre",alpha2Code:"CY",alpha3Code:"CYP",numericCode:"196",callingCode:"+357"},{name:"Rep\xfablica Checa",alpha2Code:"CZ",alpha3Code:"CZE",numericCode:"203",callingCode:"+420"},{name:"Dinamarca",alpha2Code:"DK",alpha3Code:"DNK",numericCode:"208",callingCode:"+45"},{name:"Yibuti",alpha2Code:"DJ",alpha3Code:"DJI",numericCode:"262",callingCode:"+253"},{name:"Dominica",alpha2Code:"DM",alpha3Code:"DMA",numericCode:"212",callingCode:"+1767"},{name:"Rep\xfablica Dominicana",alpha2Code:"DO",alpha3Code:"DOM",numericCode:"214",callingCode:"+1809"},{name:"Ecuador",alpha2Code:"EC",alpha3Code:"ECU",numericCode:"218",callingCode:"+593"},{name:"Egipto",alpha2Code:"EG",alpha3Code:"EGY",numericCode:"818",callingCode:"+20"},{name:"El Salvador",alpha2Code:"SV",alpha3Code:"SLV",numericCode:"222",callingCode:"+503"},{name:"Guinea Ecuatorial",alpha2Code:"GQ",alpha3Code:"GNQ",numericCode:"226",callingCode:"+240"},{name:"Eritrea",alpha2Code:"ER",alpha3Code:"ERI",numericCode:"232",callingCode:"+291"},{name:"Estonia",alpha2Code:"EE",alpha3Code:"EST",numericCode:"233",callingCode:"+372"},{name:"Etiop\xeda",alpha2Code:"ET",alpha3Code:"ETH",numericCode:"231",callingCode:"+251"},{name:"Islas Malvinas",alpha2Code:"FK",alpha3Code:"FLK",numericCode:"238",callingCode:"+500"},{name:"Islas Faroe",alpha2Code:"FO",alpha3Code:"FRO",numericCode:"234",callingCode:"+298"},{name:"Fiyi",alpha2Code:"FJ",alpha3Code:"FJI",numericCode:"242",callingCode:"+679"},{name:"Finlandia",alpha2Code:"FI",alpha3Code:"FIN",numericCode:"246",callingCode:"+358"},{name:"Francia",alpha2Code:"FR",alpha3Code:"FRA",numericCode:"250",callingCode:"+33"},{name:"Guayana Francesa",alpha2Code:"GF",alpha3Code:"GUF",numericCode:"254",callingCode:"+594"},{name:"Polinesia Francesa",alpha2Code:"PF",alpha3Code:"PYF",numericCode:"258",callingCode:"+689"},{name:"Tierras Australes y Ant\xe1rticas Francesas",alpha2Code:"TF",alpha3Code:"ATF",numericCode:"260",callingCode:"+"},{name:"Gab\xf3n",alpha2Code:"GA",alpha3Code:"GAB",numericCode:"266",callingCode:"+241"},{name:"Gambia",alpha2Code:"GM",alpha3Code:"GMB",numericCode:"270",callingCode:"+220"},{name:"Georgia",alpha2Code:"GE",alpha3Code:"GEO",numericCode:"268",callingCode:"+995"},{name:"Alemania",alpha2Code:"DE",alpha3Code:"DEU",numericCode:"276",callingCode:"+49"},{name:"Ghana",alpha2Code:"GH",alpha3Code:"GHA",numericCode:"288",callingCode:"+233"},{name:"Gibraltar",alpha2Code:"GI",alpha3Code:"GIB",numericCode:"292",callingCode:"+350"},{name:"Grecia",alpha2Code:"GR",alpha3Code:"GRC",numericCode:"300",callingCode:"+30"},{name:"Groenlandia",alpha2Code:"GL",alpha3Code:"GRL",numericCode:"304",callingCode:"+299"},{name:"Grenada",alpha2Code:"GD",alpha3Code:"GRD",numericCode:"308",callingCode:"+1473"},{name:"Guadalupe",alpha2Code:"GP",alpha3Code:"GLP",numericCode:"312",callingCode:"+590"},{name:"Guam",alpha2Code:"GU",alpha3Code:"GUM",numericCode:"316",callingCode:"+1671"},{name:"Guatemala",alpha2Code:"GT",alpha3Code:"GTM",numericCode:"320",callingCode:"+502"},{name:"Guernsey",alpha2Code:"GG",alpha3Code:"GGY",numericCode:"831",callingCode:"+44"},{name:"Guinea",alpha2Code:"GN",alpha3Code:"GIN",numericCode:"324",callingCode:"+224"},{name:"Guinea-Bis\xe1u",alpha2Code:"GW",alpha3Code:"GNB",numericCode:"624",callingCode:"+245"},{name:"Guyana",alpha2Code:"GY",alpha3Code:"GUY",numericCode:"328",callingCode:"+592"},{name:"Haiti",alpha2Code:"HT",alpha3Code:"HTI",numericCode:"332",callingCode:"+509"},{name:"Islas Heard y McDonald",alpha2Code:"HM",alpha3Code:"HMD",numericCode:"334",callingCode:"+"},{name:"Santa Sede",alpha2Code:"VA",alpha3Code:"VAT",numericCode:"336",callingCode:"+379"},{name:"Honduras",alpha2Code:"HN",alpha3Code:"HND",numericCode:"340",callingCode:"+504"},{name:"Hong Kong",alpha2Code:"HK",alpha3Code:"HKG",numericCode:"344",callingCode:"+852"},{name:"Hungr\xeda",alpha2Code:"HU",alpha3Code:"HUN",numericCode:"348",callingCode:"+36"},{name:"Islandia",alpha2Code:"IS",alpha3Code:"ISL",numericCode:"352",callingCode:"+354"},{name:"India",alpha2Code:"IN",alpha3Code:"IND",numericCode:"356",callingCode:"+91"},{name:"Indonesia",alpha2Code:"ID",alpha3Code:"IDN",numericCode:"360",callingCode:"+62"},{name:"Costa de Marfil",alpha2Code:"CI",alpha3Code:"CIV",numericCode:"384",callingCode:"+225"},{name:"Iran",alpha2Code:"IR",alpha3Code:"IRN",numericCode:"364",callingCode:"+98"},{name:"Irak",alpha2Code:"IQ",alpha3Code:"IRQ",numericCode:"368",callingCode:"+964"},{name:"Irlanda",alpha2Code:"IE",alpha3Code:"IRL",numericCode:"372",callingCode:"+353"},{name:"Isla de Man",alpha2Code:"IM",alpha3Code:"IMN",numericCode:"833",callingCode:"+44"},{name:"Israel",alpha2Code:"IL",alpha3Code:"ISR",numericCode:"376",callingCode:"+972"},{name:"Italia",alpha2Code:"IT",alpha3Code:"ITA",numericCode:"380",callingCode:"+39"},{name:"Jamaica",alpha2Code:"JM",alpha3Code:"JAM",numericCode:"388",callingCode:"+1876"},{name:"Jap\xf3n",alpha2Code:"JP",alpha3Code:"JPN",numericCode:"392",callingCode:"+81"},{name:"Jersey",alpha2Code:"JE",alpha3Code:"JEY",numericCode:"832",callingCode:"+44"},{name:"Jordania",alpha2Code:"JO",alpha3Code:"JOR",numericCode:"400",callingCode:"+962"},{name:"Kazajist\xe1n",alpha2Code:"KZ",alpha3Code:"KAZ",numericCode:"398",callingCode:"+7"},{name:"Kenia",alpha2Code:"KE",alpha3Code:"KEN",numericCode:"404",callingCode:"+254"},{name:"Kiribati",alpha2Code:"KI",alpha3Code:"KIR",numericCode:"296",callingCode:"+686"},{name:"Kuwait",alpha2Code:"KW",alpha3Code:"KWT",numericCode:"414",callingCode:"+965"},{name:"Kirguizist\xe1n",alpha2Code:"KG",alpha3Code:"KGZ",numericCode:"417",callingCode:"+996"},{name:"Laos",alpha2Code:"LA",alpha3Code:"LAO",numericCode:"418",callingCode:"+856"},{name:"Letonia",alpha2Code:"LV",alpha3Code:"LVA",numericCode:"428",callingCode:"+371"},{name:"L\xedbano",alpha2Code:"LB",alpha3Code:"LBN",numericCode:"422",callingCode:"+961"},{name:"Lesotho",alpha2Code:"LS",alpha3Code:"LSO",numericCode:"426",callingCode:"+266"},{name:"Liberia",alpha2Code:"LR",alpha3Code:"LBR",numericCode:"430",callingCode:"+231"},{name:"Libia",alpha2Code:"LY",alpha3Code:"LBY",numericCode:"434",callingCode:"+218"},{name:"Liechtenstein",alpha2Code:"LI",alpha3Code:"LIE",numericCode:"438",callingCode:"+423"},{name:"Lituania",alpha2Code:"LT",alpha3Code:"LTU",numericCode:"440",callingCode:"+370"},{name:"Luxemburgo",alpha2Code:"LU",alpha3Code:"LUX",numericCode:"442",callingCode:"+352"},{name:"Macao",alpha2Code:"MO",alpha3Code:"MAC",numericCode:"446",callingCode:"+853"},{name:"Macedonia",alpha2Code:"MK",alpha3Code:"MKD",numericCode:"807",callingCode:"+389"},{name:"Madagascar",alpha2Code:"MG",alpha3Code:"MDG",numericCode:"450",callingCode:"+261"},{name:"Malawi",alpha2Code:"MW",alpha3Code:"MWI",numericCode:"454",callingCode:"+265"},{name:"Malasia",alpha2Code:"MY",alpha3Code:"MYS",numericCode:"458",callingCode:"+60"},{name:"Maldivas",alpha2Code:"MV",alpha3Code:"MDV",numericCode:"462",callingCode:"+960"},{name:"Mali",alpha2Code:"ML",alpha3Code:"MLI",numericCode:"466",callingCode:"+223"},{name:"Malta",alpha2Code:"MT",alpha3Code:"MLT",numericCode:"470",callingCode:"+356"},{name:"Islas Marshall",alpha2Code:"MH",alpha3Code:"MHL",numericCode:"584",callingCode:"+692"},{name:"Martinica",alpha2Code:"MQ",alpha3Code:"MTQ",numericCode:"474",callingCode:"+596"},{name:"Mauritania",alpha2Code:"MR",alpha3Code:"MRT",numericCode:"478",callingCode:"+222"},{name:"Mauricio",alpha2Code:"MU",alpha3Code:"MUS",numericCode:"480",callingCode:"+230"},{name:"Mayotte",alpha2Code:"YT",alpha3Code:"MYT",numericCode:"175",callingCode:"+262"},{name:"M\xe9xico",alpha2Code:"MX",alpha3Code:"MEX",numericCode:"484",callingCode:"+52"},{name:"Micronesia",alpha2Code:"FM",alpha3Code:"FSM",numericCode:"583",callingCode:"+691"},{name:"Moldavia",alpha2Code:"MD",alpha3Code:"MDA",numericCode:"498",callingCode:"+373"},{name:"M\xf3naco",alpha2Code:"MC",alpha3Code:"MCO",numericCode:"492",callingCode:"+377"},{name:"Mongolia",alpha2Code:"MN",alpha3Code:"MNG",numericCode:"496",callingCode:"+976"},{name:"Montenegro",alpha2Code:"ME",alpha3Code:"MNE",numericCode:"499",callingCode:"+382"},{name:"Montserrat",alpha2Code:"MS",alpha3Code:"MSR",numericCode:"500",callingCode:"+1664"},{name:"Marruecos",alpha2Code:"MA",alpha3Code:"MAR",numericCode:"504",callingCode:"+212"},{name:"Mozambique",alpha2Code:"MZ",alpha3Code:"MOZ",numericCode:"508",callingCode:"+258"},{name:"Myanmar",alpha2Code:"MM",alpha3Code:"MMR",numericCode:"104",callingCode:"+95"},{name:"Namibia",alpha2Code:"NA",alpha3Code:"NAM",numericCode:"516",callingCode:"+264"},{name:"Nauru",alpha2Code:"NR",alpha3Code:"NRU",numericCode:"520",callingCode:"+674"},{name:"Nepal",alpha2Code:"NP",alpha3Code:"NPL",numericCode:"524",callingCode:"+977"},{name:"Pa\xedses Bajos",alpha2Code:"NL",alpha3Code:"NLD",numericCode:"528",callingCode:"+31"},{name:"Nueva Caledonia",alpha2Code:"NC",alpha3Code:"NCL",numericCode:"540",callingCode:"+687"},{name:"Nueva Zelanda",alpha2Code:"NZ",alpha3Code:"NZL",numericCode:"554",callingCode:"+64"},{name:"Nicaragua",alpha2Code:"NI",alpha3Code:"NIC",numericCode:"558",callingCode:"+505"},{name:"N\xedger",alpha2Code:"NE",alpha3Code:"NER",numericCode:"562",callingCode:"+227"},{name:"Nigeria",alpha2Code:"NG",alpha3Code:"NGA",numericCode:"566",callingCode:"+234"},{name:"Niue",alpha2Code:"NU",alpha3Code:"NIU",numericCode:"570",callingCode:"+683"},{name:"Isla de Norfolk",alpha2Code:"NF",alpha3Code:"NFK",numericCode:"574",callingCode:"+672"},{name:"Corea del Norte",alpha2Code:"KP",alpha3Code:"PRK",numericCode:"408",callingCode:"+850"},{name:"Islas Marianas del Norte",alpha2Code:"MP",alpha3Code:"MNP",numericCode:"580",callingCode:"+1670"},{name:"Noruega",alpha2Code:"NO",alpha3Code:"NOR",numericCode:"578",callingCode:"+47"},{name:"Om\xe1n",alpha2Code:"OM",alpha3Code:"OMN",numericCode:"512",callingCode:"+968"},{name:"Pakist\xe1n",alpha2Code:"PK",alpha3Code:"PAK",numericCode:"586",callingCode:"+92"},{name:"Palau",alpha2Code:"PW",alpha3Code:"PLW",numericCode:"585",callingCode:"+680"},{name:"Palestina",alpha2Code:"PS",alpha3Code:"PSE",numericCode:"275",callingCode:"+970"},{name:"Panam\xe1",alpha2Code:"PA",alpha3Code:"PAN",numericCode:"591",callingCode:"+507"},{name:"Pap\xfaa Nueva Guinea",alpha2Code:"PG",alpha3Code:"PNG",numericCode:"598",callingCode:"+675"},{name:"Paraguay",alpha2Code:"PY",alpha3Code:"PRY",numericCode:"600",callingCode:"+595"},{name:"Per\xfa",alpha2Code:"PE",alpha3Code:"PER",numericCode:"604",callingCode:"+51"},{name:"Filipinas",alpha2Code:"PH",alpha3Code:"PHL",numericCode:"608",callingCode:"+63"},{name:"Islas Pitcairn",alpha2Code:"PN",alpha3Code:"PCN",numericCode:"612",callingCode:"+64"},{name:"Polonia",alpha2Code:"PL",alpha3Code:"POL",numericCode:"616",callingCode:"+48"},{name:"Portugal",alpha2Code:"PT",alpha3Code:"PRT",numericCode:"620",callingCode:"+351"},{name:"Puerto Rico",alpha2Code:"PR",alpha3Code:"PRI",numericCode:"630",callingCode:"+1"},{name:"Catar",alpha2Code:"QA",alpha3Code:"QAT",numericCode:"634",callingCode:"+974"},{name:"Kosovo",alpha2Code:"XK",alpha3Code:"KOS",numericCode:null,callingCode:"+383"},{name:"Reuni\xf3n",alpha2Code:"RE",alpha3Code:"REU",numericCode:"638",callingCode:"+262"},{name:"Rumania",alpha2Code:"RO",alpha3Code:"ROU",numericCode:"642",callingCode:"+40"},{name:"Rusia",alpha2Code:"RU",alpha3Code:"RUS",numericCode:"643",callingCode:"+7"},{name:"Ruanda",alpha2Code:"RW",alpha3Code:"RWA",numericCode:"646",callingCode:"+250"},{name:"San Bartolom\xe9",alpha2Code:"BL",alpha3Code:"BLM",numericCode:"652",callingCode:"+590"},{name:"Santa Helena",alpha2Code:"SH",alpha3Code:"SHN",numericCode:"654",callingCode:"+290"},{name:"San Crist\xf3bal y Nieves",alpha2Code:"KN",alpha3Code:"KNA",numericCode:"659",callingCode:"+1869"},{name:"Santa Luc\xeda",alpha2Code:"LC",alpha3Code:"LCA",numericCode:"662",callingCode:"+1758"},{name:"Saint Martin",alpha2Code:"MF",alpha3Code:"MAF",numericCode:"663",callingCode:"+590"},{name:"San Pedro y Miquel\xf3n",alpha2Code:"PM",alpha3Code:"SPM",numericCode:"666",callingCode:"+508"},{name:"San Vicente y Granadinas",alpha2Code:"VC",alpha3Code:"VCT",numericCode:"670",callingCode:"+1784"},{name:"Samoa",alpha2Code:"WS",alpha3Code:"WSM",numericCode:"882",callingCode:"+685"},{name:"San Marino",alpha2Code:"SM",alpha3Code:"SMR",numericCode:"674",callingCode:"+378"},{name:"Santo Tom\xe9 y Pr\xedncipe",alpha2Code:"ST",alpha3Code:"STP",numericCode:"678",callingCode:"+239"},{name:"Arabia Saud\xed",alpha2Code:"SA",alpha3Code:"SAU",numericCode:"682",callingCode:"+966"},{name:"Senegal",alpha2Code:"SN",alpha3Code:"SEN",numericCode:"686",callingCode:"+221"},{name:"Serbia",alpha2Code:"RS",alpha3Code:"SRB",numericCode:"688",callingCode:"+381"},{name:"Seychelles",alpha2Code:"SC",alpha3Code:"SYC",numericCode:"690",callingCode:"+248"},{name:"Sierra Leone",alpha2Code:"SL",alpha3Code:"SLE",numericCode:"694",callingCode:"+232"},{name:"Singapur",alpha2Code:"SG",alpha3Code:"SGP",numericCode:"702",callingCode:"+65"},{name:"San Mart\xedn (parte holandesa)",alpha2Code:"SX",alpha3Code:"SXM",numericCode:"534",callingCode:"+1721"},{name:"Rep\xfablica Eslovaca",alpha2Code:"SK",alpha3Code:"SVK",numericCode:"703",callingCode:"+421"},{name:"Eslovenia",alpha2Code:"SI",alpha3Code:"SVN",numericCode:"705",callingCode:"+386"},{name:"Islas Salom\xf3n",alpha2Code:"SB",alpha3Code:"SLB",numericCode:"090",callingCode:"+677"},{name:"Somalia",alpha2Code:"SO",alpha3Code:"SOM",numericCode:"706",callingCode:"+252"},{name:"Rep\xfablica de Sud\xe1frica",alpha2Code:"ZA",alpha3Code:"ZAF",numericCode:"710",callingCode:"+27"},{name:"Islas Georgias del Sur y Sandwich del Sur",alpha2Code:"GS",alpha3Code:"SGS",numericCode:"239",callingCode:"+500"},{name:"Corea del Sur",alpha2Code:"KR",alpha3Code:"KOR",numericCode:"410",callingCode:"+82"},{name:"Sud\xe1n del Sur",alpha2Code:"SS",alpha3Code:"SSD",numericCode:"728",callingCode:"+211"},{name:"Espa\xf1a",alpha2Code:"ES",alpha3Code:"ESP",numericCode:"724",callingCode:"+34"},{name:"Sri Lanka",alpha2Code:"LK",alpha3Code:"LKA",numericCode:"144",callingCode:"+94"},{name:"Sud\xe1n",alpha2Code:"SD",alpha3Code:"SDN",numericCode:"729",callingCode:"+249"},{name:"Surinam",alpha2Code:"SR",alpha3Code:"SUR",numericCode:"740",callingCode:"+597"},{name:"Islas Svalbard y Jan Mayen",alpha2Code:"SJ",alpha3Code:"SJM",numericCode:"744",callingCode:"+4779"},{name:"Suazilandia",alpha2Code:"SZ",alpha3Code:"SWZ",numericCode:"748",callingCode:"+268"},{name:"Suecia",alpha2Code:"SE",alpha3Code:"SWE",numericCode:"752",callingCode:"+46"},{name:"Suiza",alpha2Code:"CH",alpha3Code:"CHE",numericCode:"756",callingCode:"+41"},{name:"Siria",alpha2Code:"SY",alpha3Code:"SYR",numericCode:"760",callingCode:"+963"},{name:"Taiw\xe1n",alpha2Code:"TW",alpha3Code:"TWN",numericCode:"158",callingCode:"+886"},{name:"Tayikist\xe1n",alpha2Code:"TJ",alpha3Code:"TJK",numericCode:"762",callingCode:"+992"},{name:"Tanzania",alpha2Code:"TZ",alpha3Code:"TZA",numericCode:"834",callingCode:"+255"},{name:"Tailandia",alpha2Code:"TH",alpha3Code:"THA",numericCode:"764",callingCode:"+66"},{name:"Timor Oriental",alpha2Code:"TL",alpha3Code:"TLS",numericCode:"626",callingCode:"+670"},{name:"Togo",alpha2Code:"TG",alpha3Code:"TGO",numericCode:"768",callingCode:"+228"},{name:"Islas Tokelau",alpha2Code:"TK",alpha3Code:"TKL",numericCode:"772",callingCode:"+690"},{name:"Tonga",alpha2Code:"TO",alpha3Code:"TON",numericCode:"776",callingCode:"+676"},{name:"Trinidad y Tobago",alpha2Code:"TT",alpha3Code:"TTO",numericCode:"780",callingCode:"+1868"},{name:"T\xfanez",alpha2Code:"TN",alpha3Code:"TUN",numericCode:"788",callingCode:"+216"},{name:"Turqu\xeda",alpha2Code:"TR",alpha3Code:"TUR",numericCode:"792",callingCode:"+90"},{name:"Turkmenist\xe1n",alpha2Code:"TM",alpha3Code:"TKM",numericCode:"795",callingCode:"+993"},{name:"Islas Turks y Caicos",alpha2Code:"TC",alpha3Code:"TCA",numericCode:"796",callingCode:"+1649"},{name:"Tuvalu",alpha2Code:"TV",alpha3Code:"TUV",numericCode:"798",callingCode:"+688"},{name:"Uganda",alpha2Code:"UG",alpha3Code:"UGA",numericCode:"800",callingCode:"+256"},{name:"Ucrania",alpha2Code:"UA",alpha3Code:"UKR",numericCode:"804",callingCode:"+380"},{name:"Emiratos \xc1rabes Unidos",alpha2Code:"AE",alpha3Code:"ARE",numericCode:"784",callingCode:"+971"},{name:"Reino Unido",alpha2Code:"GB",alpha3Code:"GBR",numericCode:"826",callingCode:"+44"},{name:"Estados Unidos",alpha2Code:"US",alpha3Code:"USA",numericCode:"840",callingCode:"+1"},{name:"Uruguay",alpha2Code:"UY",alpha3Code:"URY",numericCode:"858",callingCode:"+598"},{name:"Uzbekist\xe1n",alpha2Code:"UZ",alpha3Code:"UZB",numericCode:"860",callingCode:"+998"},{name:"Vanuatu",alpha2Code:"VU",alpha3Code:"VUT",numericCode:"548",callingCode:"+678"},{name:"Venezuela",alpha2Code:"VE",alpha3Code:"VEN",numericCode:"862",callingCode:"+58"},{name:"Vietnam",alpha2Code:"VN",alpha3Code:"VNM",numericCode:"704",callingCode:"+84"},{name:"Wallis y Futuna",alpha2Code:"WF",alpha3Code:"WLF",numericCode:"876",callingCode:"+681"},{name:"Sahara Occidental",alpha2Code:"EH",alpha3Code:"ESH",numericCode:"732",callingCode:"+212"},{name:"Yemen",alpha2Code:"YE",alpha3Code:"YEM",numericCode:"887",callingCode:"+967"},{name:"Zambia",alpha2Code:"ZM",alpha3Code:"ZMB",numericCode:"894",callingCode:"+260"},{name:"Zimbabue",alpha2Code:"ZW",alpha3Code:"ZWE",numericCode:"716",callingCode:"+263"}]}),u1=Object.freeze({__proto__:null,COUNTRIES_DB_FR:[{name:"Afghanistan",alpha2Code:"AF",alpha3Code:"AFG",numericCode:"004",callingCode:"+93"},{name:"\xc5land",alpha2Code:"AX",alpha3Code:"ALA",numericCode:"248",callingCode:"+358"},{name:"Albanie",alpha2Code:"AL",alpha3Code:"ALB",numericCode:"008",callingCode:"+355"},{name:"Alg\xe9rie",alpha2Code:"DZ",alpha3Code:"DZA",numericCode:"012",callingCode:"+213"},{name:"Samoa am\xe9ricaines",alpha2Code:"AS",alpha3Code:"ASM",numericCode:"016",callingCode:"+1684"},{name:"Andorre",alpha2Code:"AD",alpha3Code:"AND",numericCode:"020",callingCode:"+376"},{name:"Angola",alpha2Code:"AO",alpha3Code:"AGO",numericCode:"024",callingCode:"+244"},{name:"Anguilla",alpha2Code:"AI",alpha3Code:"AIA",numericCode:"660",callingCode:"+1264"},{name:"Antarctique",alpha2Code:"AQ",alpha3Code:"ATA",numericCode:"010",callingCode:"+672"},{name:"Antigua-et-Barbuda",alpha2Code:"AG",alpha3Code:"ATG",numericCode:"028",callingCode:"+1268"},{name:"Argentine",alpha2Code:"AR",alpha3Code:"ARG",numericCode:"032",callingCode:"+54"},{name:"Arm\xe9nie",alpha2Code:"AM",alpha3Code:"ARM",numericCode:"051",callingCode:"+374"},{name:"Aruba",alpha2Code:"AW",alpha3Code:"ABW",numericCode:"533",callingCode:"+297"},{name:"Australie",alpha2Code:"AU",alpha3Code:"AUS",numericCode:"036",callingCode:"+61"},{name:"Autriche",alpha2Code:"AT",alpha3Code:"AUT",numericCode:"040",callingCode:"+43"},{name:"Azerba\xefdjan",alpha2Code:"AZ",alpha3Code:"AZE",numericCode:"031",callingCode:"+994"},{name:"Bahamas",alpha2Code:"BS",alpha3Code:"BHS",numericCode:"044",callingCode:"+1242"},{name:"Bahre\xefn",alpha2Code:"BH",alpha3Code:"BHR",numericCode:"048",callingCode:"+973"},{name:"Bangladesh",alpha2Code:"BD",alpha3Code:"BGD",numericCode:"050",callingCode:"+880"},{name:"Barbade",alpha2Code:"BB",alpha3Code:"BRB",numericCode:"052",callingCode:"+1246"},{name:"Bi\xe9lorussie",alpha2Code:"BY",alpha3Code:"BLR",numericCode:"112",callingCode:"+375"},{name:"Belgique",alpha2Code:"BE",alpha3Code:"BEL",numericCode:"056",callingCode:"+32"},{name:"Belize",alpha2Code:"BZ",alpha3Code:"BLZ",numericCode:"084",callingCode:"+501"},{name:"B\xe9nin",alpha2Code:"BJ",alpha3Code:"BEN",numericCode:"204",callingCode:"+229"},{name:"Bermudes",alpha2Code:"BM",alpha3Code:"BMU",numericCode:"060",callingCode:"+1441"},{name:"Bhoutan",alpha2Code:"BT",alpha3Code:"BTN",numericCode:"064",callingCode:"+975"},{name:"Bolivie",alpha2Code:"BO",alpha3Code:"BOL",numericCode:"068",callingCode:"+591"},{name:"Bonaire, Saint-Eustache et Saba",alpha2Code:"BQ",alpha3Code:"BES",numericCode:"535",callingCode:"+5997"},{name:"Bosnie-Herz\xe9govine",alpha2Code:"BA",alpha3Code:"BIH",numericCode:"070",callingCode:"+387"},{name:"Botswana",alpha2Code:"BW",alpha3Code:"BWA",numericCode:"072",callingCode:"+267"},{name:"\xcele Bouvet",alpha2Code:"BV",alpha3Code:"BVT",numericCode:"074",callingCode:"+"},{name:"Br\xe9sil",alpha2Code:"BR",alpha3Code:"BRA",numericCode:"076",callingCode:"+55"},{name:"Territoire britannique de l'oc\xe9an Indien",alpha2Code:"IO",alpha3Code:"IOT",numericCode:"086",callingCode:"+246"},{name:"\xceles mineures \xe9loign\xe9es des \xc9tats-Unis",alpha2Code:"UM",alpha3Code:"UMI",numericCode:"581",callingCode:"+"},{name:"\xceles Vierges britanniques",alpha2Code:"VG",alpha3Code:"VGB",numericCode:"092",callingCode:"+1284"},{name:"\xceles Vierges des \xc9tats-Unis",alpha2Code:"VI",alpha3Code:"VIR",numericCode:"850",callingCode:"+1 340"},{name:"Brunei",alpha2Code:"BN",alpha3Code:"BRN",numericCode:"096",callingCode:"+673"},{name:"Bulgarie",alpha2Code:"BG",alpha3Code:"BGR",numericCode:"100",callingCode:"+359"},{name:"Burkina Faso",alpha2Code:"BF",alpha3Code:"BFA",numericCode:"854",callingCode:"+226"},{name:"Burundi",alpha2Code:"BI",alpha3Code:"BDI",numericCode:"108",callingCode:"+257"},{name:"Cambodge",alpha2Code:"KH",alpha3Code:"KHM",numericCode:"116",callingCode:"+855"},{name:"Cameroun",alpha2Code:"CM",alpha3Code:"CMR",numericCode:"120",callingCode:"+237"},{name:"Canada",alpha2Code:"CA",alpha3Code:"CAN",numericCode:"124",callingCode:"+1"},{name:"Cap Vert",alpha2Code:"CV",alpha3Code:"CPV",numericCode:"132",callingCode:"+238"},{name:"\xceles Ca\xefmans",alpha2Code:"KY",alpha3Code:"CYM",numericCode:"136",callingCode:"+1345"},{name:"R\xe9publique centrafricaine",alpha2Code:"CF",alpha3Code:"CAF",numericCode:"140",callingCode:"+236"},{name:"Tchad",alpha2Code:"TD",alpha3Code:"TCD",numericCode:"148",callingCode:"+235"},{name:"Chili",alpha2Code:"CL",alpha3Code:"CHL",numericCode:"152",callingCode:"+56"},{name:"Chine",alpha2Code:"CN",alpha3Code:"CHN",numericCode:"156",callingCode:"+86"},{name:"\xcele Christmas",alpha2Code:"CX",alpha3Code:"CXR",numericCode:"162",callingCode:"+61"},{name:"\xceles Cocos",alpha2Code:"CC",alpha3Code:"CCK",numericCode:"166",callingCode:"+61"},{name:"Colombie",alpha2Code:"CO",alpha3Code:"COL",numericCode:"170",callingCode:"+57"},{name:"Comores",alpha2Code:"KM",alpha3Code:"COM",numericCode:"174",callingCode:"+269"},{name:"Congo",alpha2Code:"CG",alpha3Code:"COG",numericCode:"178",callingCode:"+242"},{name:"Congo (R\xe9p. d\xe9m.)",alpha2Code:"CD",alpha3Code:"COD",numericCode:"180",callingCode:"+243"},{name:"\xceles Cook",alpha2Code:"CK",alpha3Code:"COK",numericCode:"184",callingCode:"+682"},{name:"Costa Rica",alpha2Code:"CR",alpha3Code:"CRI",numericCode:"188",callingCode:"+506"},{name:"Croatie",alpha2Code:"HR",alpha3Code:"HRV",numericCode:"191",callingCode:"+385"},{name:"Cuba",alpha2Code:"CU",alpha3Code:"CUB",numericCode:"192",callingCode:"+53"},{name:"Cura\xe7ao",alpha2Code:"CW",alpha3Code:"CUW",numericCode:"531",callingCode:"+599"},{name:"Chypre",alpha2Code:"CY",alpha3Code:"CYP",numericCode:"196",callingCode:"+357"},{name:"R\xe9publique tch\xe8que",alpha2Code:"CZ",alpha3Code:"CZE",numericCode:"203",callingCode:"+420"},{name:"Danemark",alpha2Code:"DK",alpha3Code:"DNK",numericCode:"208",callingCode:"+45"},{name:"Djibouti",alpha2Code:"DJ",alpha3Code:"DJI",numericCode:"262",callingCode:"+253"},{name:"Dominique",alpha2Code:"DM",alpha3Code:"DMA",numericCode:"212",callingCode:"+1767"},{name:"R\xe9publique dominicaine",alpha2Code:"DO",alpha3Code:"DOM",numericCode:"214",callingCode:"+1809"},{name:"\xc9quateur",alpha2Code:"EC",alpha3Code:"ECU",numericCode:"218",callingCode:"+593"},{name:"\xc9gypte",alpha2Code:"EG",alpha3Code:"EGY",numericCode:"818",callingCode:"+20"},{name:"Salvador",alpha2Code:"SV",alpha3Code:"SLV",numericCode:"222",callingCode:"+503"},{name:"Guin\xe9e-\xc9quatoriale",alpha2Code:"GQ",alpha3Code:"GNQ",numericCode:"226",callingCode:"+240"},{name:"\xc9rythr\xe9e",alpha2Code:"ER",alpha3Code:"ERI",numericCode:"232",callingCode:"+291"},{name:"Estonie",alpha2Code:"EE",alpha3Code:"EST",numericCode:"233",callingCode:"+372"},{name:"\xc9thiopie",alpha2Code:"ET",alpha3Code:"ETH",numericCode:"231",callingCode:"+251"},{name:"\xceles Malouines",alpha2Code:"FK",alpha3Code:"FLK",numericCode:"238",callingCode:"+500"},{name:"\xceles F\xe9ro\xe9",alpha2Code:"FO",alpha3Code:"FRO",numericCode:"234",callingCode:"+298"},{name:"Fidji",alpha2Code:"FJ",alpha3Code:"FJI",numericCode:"242",callingCode:"+679"},{name:"Finlande",alpha2Code:"FI",alpha3Code:"FIN",numericCode:"246",callingCode:"+358"},{name:"France",alpha2Code:"FR",alpha3Code:"FRA",numericCode:"250",callingCode:"+33"},{name:"Guayane",alpha2Code:"GF",alpha3Code:"GUF",numericCode:"254",callingCode:"+594"},{name:"Polyn\xe9sie fran\xe7aise",alpha2Code:"PF",alpha3Code:"PYF",numericCode:"258",callingCode:"+689"},{name:"Terres australes et antarctiques fran\xe7aises",alpha2Code:"TF",alpha3Code:"ATF",numericCode:"260",callingCode:"+"},{name:"Gabon",alpha2Code:"GA",alpha3Code:"GAB",numericCode:"266",callingCode:"+241"},{name:"Gambie",alpha2Code:"GM",alpha3Code:"GMB",numericCode:"270",callingCode:"+220"},{name:"G\xe9orgie",alpha2Code:"GE",alpha3Code:"GEO",numericCode:"268",callingCode:"+995"},{name:"Allemagne",alpha2Code:"DE",alpha3Code:"DEU",numericCode:"276",callingCode:"+49"},{name:"Ghana",alpha2Code:"GH",alpha3Code:"GHA",numericCode:"288",callingCode:"+233"},{name:"Gibraltar",alpha2Code:"GI",alpha3Code:"GIB",numericCode:"292",callingCode:"+350"},{name:"Gr\xe8ce",alpha2Code:"GR",alpha3Code:"GRC",numericCode:"300",callingCode:"+30"},{name:"Groenland",alpha2Code:"GL",alpha3Code:"GRL",numericCode:"304",callingCode:"+299"},{name:"Grenade",alpha2Code:"GD",alpha3Code:"GRD",numericCode:"308",callingCode:"+1473"},{name:"Guadeloupe",alpha2Code:"GP",alpha3Code:"GLP",numericCode:"312",callingCode:"+590"},{name:"Guam",alpha2Code:"GU",alpha3Code:"GUM",numericCode:"316",callingCode:"+1671"},{name:"Guatemala",alpha2Code:"GT",alpha3Code:"GTM",numericCode:"320",callingCode:"+502"},{name:"Guernesey",alpha2Code:"GG",alpha3Code:"GGY",numericCode:"831",callingCode:"+44"},{name:"Guin\xe9e",alpha2Code:"GN",alpha3Code:"GIN",numericCode:"324",callingCode:"+224"},{name:"Guin\xe9e-Bissau",alpha2Code:"GW",alpha3Code:"GNB",numericCode:"624",callingCode:"+245"},{name:"Guyane",alpha2Code:"GY",alpha3Code:"GUY",numericCode:"328",callingCode:"+592"},{name:"Ha\xefti",alpha2Code:"HT",alpha3Code:"HTI",numericCode:"332",callingCode:"+509"},{name:"\xceles Heard-et-MacDonald",alpha2Code:"HM",alpha3Code:"HMD",numericCode:"334",callingCode:"+"},{name:"voir Saint",alpha2Code:"VA",alpha3Code:"VAT",numericCode:"336",callingCode:"+379"},{name:"Honduras",alpha2Code:"HN",alpha3Code:"HND",numericCode:"340",callingCode:"+504"},{name:"Hong Kong",alpha2Code:"HK",alpha3Code:"HKG",numericCode:"344",callingCode:"+852"},{name:"Hongrie",alpha2Code:"HU",alpha3Code:"HUN",numericCode:"348",callingCode:"+36"},{name:"Islande",alpha2Code:"IS",alpha3Code:"ISL",numericCode:"352",callingCode:"+354"},{name:"Inde",alpha2Code:"IN",alpha3Code:"IND",numericCode:"356",callingCode:"+91"},{name:"Indon\xe9sie",alpha2Code:"ID",alpha3Code:"IDN",numericCode:"360",callingCode:"+62"},{name:"C\xf4te d'Ivoire",alpha2Code:"CI",alpha3Code:"CIV",numericCode:"384",callingCode:"+225"},{name:"Iran",alpha2Code:"IR",alpha3Code:"IRN",numericCode:"364",callingCode:"+98"},{name:"Irak",alpha2Code:"IQ",alpha3Code:"IRQ",numericCode:"368",callingCode:"+964"},{name:"Irlande",alpha2Code:"IE",alpha3Code:"IRL",numericCode:"372",callingCode:"+353"},{name:"\xcele de Man",alpha2Code:"IM",alpha3Code:"IMN",numericCode:"833",callingCode:"+44"},{name:"Isra\xebl",alpha2Code:"IL",alpha3Code:"ISR",numericCode:"376",callingCode:"+972"},{name:"Italie",alpha2Code:"IT",alpha3Code:"ITA",numericCode:"380",callingCode:"+39"},{name:"Jama\xefque",alpha2Code:"JM",alpha3Code:"JAM",numericCode:"388",callingCode:"+1876"},{name:"Japon",alpha2Code:"JP",alpha3Code:"JPN",numericCode:"392",callingCode:"+81"},{name:"Jersey",alpha2Code:"JE",alpha3Code:"JEY",numericCode:"832",callingCode:"+44"},{name:"Jordanie",alpha2Code:"JO",alpha3Code:"JOR",numericCode:"400",callingCode:"+962"},{name:"Kazakhstan",alpha2Code:"KZ",alpha3Code:"KAZ",numericCode:"398",callingCode:"+7"},{name:"Kenya",alpha2Code:"KE",alpha3Code:"KEN",numericCode:"404",callingCode:"+254"},{name:"Kiribati",alpha2Code:"KI",alpha3Code:"KIR",numericCode:"296",callingCode:"+686"},{name:"Kowe\xeft",alpha2Code:"KW",alpha3Code:"KWT",numericCode:"414",callingCode:"+965"},{name:"Kirghizistan",alpha2Code:"KG",alpha3Code:"KGZ",numericCode:"417",callingCode:"+996"},{name:"Laos",alpha2Code:"LA",alpha3Code:"LAO",numericCode:"418",callingCode:"+856"},{name:"Lettonie",alpha2Code:"LV",alpha3Code:"LVA",numericCode:"428",callingCode:"+371"},{name:"Liban",alpha2Code:"LB",alpha3Code:"LBN",numericCode:"422",callingCode:"+961"},{name:"Lesotho",alpha2Code:"LS",alpha3Code:"LSO",numericCode:"426",callingCode:"+266"},{name:"Liberia",alpha2Code:"LR",alpha3Code:"LBR",numericCode:"430",callingCode:"+231"},{name:"Libye",alpha2Code:"LY",alpha3Code:"LBY",numericCode:"434",callingCode:"+218"},{name:"Liechtenstein",alpha2Code:"LI",alpha3Code:"LIE",numericCode:"438",callingCode:"+423"},{name:"Lituanie",alpha2Code:"LT",alpha3Code:"LTU",numericCode:"440",callingCode:"+370"},{name:"Luxembourg",alpha2Code:"LU",alpha3Code:"LUX",numericCode:"442",callingCode:"+352"},{name:"Macao",alpha2Code:"MO",alpha3Code:"MAC",numericCode:"446",callingCode:"+853"},{name:"Mac\xe9doine",alpha2Code:"MK",alpha3Code:"MKD",numericCode:"807",callingCode:"+389"},{name:"Madagascar",alpha2Code:"MG",alpha3Code:"MDG",numericCode:"450",callingCode:"+261"},{name:"Malawi",alpha2Code:"MW",alpha3Code:"MWI",numericCode:"454",callingCode:"+265"},{name:"Malaisie",alpha2Code:"MY",alpha3Code:"MYS",numericCode:"458",callingCode:"+60"},{name:"Maldives",alpha2Code:"MV",alpha3Code:"MDV",numericCode:"462",callingCode:"+960"},{name:"Mali",alpha2Code:"ML",alpha3Code:"MLI",numericCode:"466",callingCode:"+223"},{name:"Malte",alpha2Code:"MT",alpha3Code:"MLT",numericCode:"470",callingCode:"+356"},{name:"\xceles Marshall",alpha2Code:"MH",alpha3Code:"MHL",numericCode:"584",callingCode:"+692"},{name:"Martinique",alpha2Code:"MQ",alpha3Code:"MTQ",numericCode:"474",callingCode:"+596"},{name:"Mauritanie",alpha2Code:"MR",alpha3Code:"MRT",numericCode:"478",callingCode:"+222"},{name:"\xcele Maurice",alpha2Code:"MU",alpha3Code:"MUS",numericCode:"480",callingCode:"+230"},{name:"Mayotte",alpha2Code:"YT",alpha3Code:"MYT",numericCode:"175",callingCode:"+262"},{name:"Mexique",alpha2Code:"MX",alpha3Code:"MEX",numericCode:"484",callingCode:"+52"},{name:"Micron\xe9sie",alpha2Code:"FM",alpha3Code:"FSM",numericCode:"583",callingCode:"+691"},{name:"Moldavie",alpha2Code:"MD",alpha3Code:"MDA",numericCode:"498",callingCode:"+373"},{name:"Monaco",alpha2Code:"MC",alpha3Code:"MCO",numericCode:"492",callingCode:"+377"},{name:"Mongolie",alpha2Code:"MN",alpha3Code:"MNG",numericCode:"496",callingCode:"+976"},{name:"Mont\xe9n\xe9gro",alpha2Code:"ME",alpha3Code:"MNE",numericCode:"499",callingCode:"+382"},{name:"Montserrat",alpha2Code:"MS",alpha3Code:"MSR",numericCode:"500",callingCode:"+1664"},{name:"Maroc",alpha2Code:"MA",alpha3Code:"MAR",numericCode:"504",callingCode:"+212"},{name:"Mozambique",alpha2Code:"MZ",alpha3Code:"MOZ",numericCode:"508",callingCode:"+258"},{name:"Myanmar",alpha2Code:"MM",alpha3Code:"MMR",numericCode:"104",callingCode:"+95"},{name:"Namibie",alpha2Code:"NA",alpha3Code:"NAM",numericCode:"516",callingCode:"+264"},{name:"Nauru",alpha2Code:"NR",alpha3Code:"NRU",numericCode:"520",callingCode:"+674"},{name:"N\xe9pal",alpha2Code:"NP",alpha3Code:"NPL",numericCode:"524",callingCode:"+977"},{name:"Pays-Bas",alpha2Code:"NL",alpha3Code:"NLD",numericCode:"528",callingCode:"+31"},{name:"Nouvelle-Cal\xe9donie",alpha2Code:"NC",alpha3Code:"NCL",numericCode:"540",callingCode:"+687"},{name:"Nouvelle-Z\xe9lande",alpha2Code:"NZ",alpha3Code:"NZL",numericCode:"554",callingCode:"+64"},{name:"Nicaragua",alpha2Code:"NI",alpha3Code:"NIC",numericCode:"558",callingCode:"+505"},{name:"Niger",alpha2Code:"NE",alpha3Code:"NER",numericCode:"562",callingCode:"+227"},{name:"Nig\xe9ria",alpha2Code:"NG",alpha3Code:"NGA",numericCode:"566",callingCode:"+234"},{name:"Niue",alpha2Code:"NU",alpha3Code:"NIU",numericCode:"570",callingCode:"+683"},{name:"\xcele de Norfolk",alpha2Code:"NF",alpha3Code:"NFK",numericCode:"574",callingCode:"+672"},{name:"Cor\xe9e du Nord",alpha2Code:"KP",alpha3Code:"PRK",numericCode:"408",callingCode:"+850"},{name:"\xceles Mariannes du Nord",alpha2Code:"MP",alpha3Code:"MNP",numericCode:"580",callingCode:"+1670"},{name:"Norv\xe8ge",alpha2Code:"NO",alpha3Code:"NOR",numericCode:"578",callingCode:"+47"},{name:"Oman",alpha2Code:"OM",alpha3Code:"OMN",numericCode:"512",callingCode:"+968"},{name:"Pakistan",alpha2Code:"PK",alpha3Code:"PAK",numericCode:"586",callingCode:"+92"},{name:"Palaos",alpha2Code:"PW",alpha3Code:"PLW",numericCode:"585",callingCode:"+680"},{name:"Palestine",alpha2Code:"PS",alpha3Code:"PSE",numericCode:"275",callingCode:"+970"},{name:"Panama",alpha2Code:"PA",alpha3Code:"PAN",numericCode:"591",callingCode:"+507"},{name:"Papouasie-Nouvelle-Guin\xe9e",alpha2Code:"PG",alpha3Code:"PNG",numericCode:"598",callingCode:"+675"},{name:"Paraguay",alpha2Code:"PY",alpha3Code:"PRY",numericCode:"600",callingCode:"+595"},{name:"P\xe9rou",alpha2Code:"PE",alpha3Code:"PER",numericCode:"604",callingCode:"+51"},{name:"Philippines",alpha2Code:"PH",alpha3Code:"PHL",numericCode:"608",callingCode:"+63"},{name:"\xceles Pitcairn",alpha2Code:"PN",alpha3Code:"PCN",numericCode:"612",callingCode:"+64"},{name:"Pologne",alpha2Code:"PL",alpha3Code:"POL",numericCode:"616",callingCode:"+48"},{name:"Portugal",alpha2Code:"PT",alpha3Code:"PRT",numericCode:"620",callingCode:"+351"},{name:"Porto Rico",alpha2Code:"PR",alpha3Code:"PRI",numericCode:"630",callingCode:"+1"},{name:"Qatar",alpha2Code:"QA",alpha3Code:"QAT",numericCode:"634",callingCode:"+974"},{name:"Kosovo",alpha2Code:"XK",alpha3Code:"KOS",numericCode:null,callingCode:"+383"},{name:"R\xe9union",alpha2Code:"RE",alpha3Code:"REU",numericCode:"638",callingCode:"+262"},{name:"Roumanie",alpha2Code:"RO",alpha3Code:"ROU",numericCode:"642",callingCode:"+40"},{name:"Russie",alpha2Code:"RU",alpha3Code:"RUS",numericCode:"643",callingCode:"+7"},{name:"Rwanda",alpha2Code:"RW",alpha3Code:"RWA",numericCode:"646",callingCode:"+250"},{name:"Saint-Barth\xe9lemy",alpha2Code:"BL",alpha3Code:"BLM",numericCode:"652",callingCode:"+590"},{name:"Sainte-H\xe9l\xe8ne",alpha2Code:"SH",alpha3Code:"SHN",numericCode:"654",callingCode:"+290"},{name:"Saint-Christophe-et-Ni\xe9v\xe8s",alpha2Code:"KN",alpha3Code:"KNA",numericCode:"659",callingCode:"+1869"},{name:"Saint-Lucie",alpha2Code:"LC",alpha3Code:"LCA",numericCode:"662",callingCode:"+1758"},{name:"Saint-Martin",alpha2Code:"MF",alpha3Code:"MAF",numericCode:"663",callingCode:"+590"},{name:"Saint-Pierre-et-Miquelon",alpha2Code:"PM",alpha3Code:"SPM",numericCode:"666",callingCode:"+508"},{name:"Saint-Vincent-et-les-Grenadines",alpha2Code:"VC",alpha3Code:"VCT",numericCode:"670",callingCode:"+1784"},{name:"Samoa",alpha2Code:"WS",alpha3Code:"WSM",numericCode:"882",callingCode:"+685"},{name:"Saint-Marin",alpha2Code:"SM",alpha3Code:"SMR",numericCode:"674",callingCode:"+378"},{name:"Sao Tom\xe9-et-Principe",alpha2Code:"ST",alpha3Code:"STP",numericCode:"678",callingCode:"+239"},{name:"Arabie Saoudite",alpha2Code:"SA",alpha3Code:"SAU",numericCode:"682",callingCode:"+966"},{name:"S\xe9n\xe9gal",alpha2Code:"SN",alpha3Code:"SEN",numericCode:"686",callingCode:"+221"},{name:"Serbie",alpha2Code:"RS",alpha3Code:"SRB",numericCode:"688",callingCode:"+381"},{name:"Seychelles",alpha2Code:"SC",alpha3Code:"SYC",numericCode:"690",callingCode:"+248"},{name:"Sierra Leone",alpha2Code:"SL",alpha3Code:"SLE",numericCode:"694",callingCode:"+232"},{name:"Singapour",alpha2Code:"SG",alpha3Code:"SGP",numericCode:"702",callingCode:"+65"},{name:"Saint Martin (partie n\xe9erlandaise)",alpha2Code:"SX",alpha3Code:"SXM",numericCode:"534",callingCode:"+1721"},{name:"Slovaquie",alpha2Code:"SK",alpha3Code:"SVK",numericCode:"703",callingCode:"+421"},{name:"Slov\xe9nie",alpha2Code:"SI",alpha3Code:"SVN",numericCode:"705",callingCode:"+386"},{name:"\xceles Salomon",alpha2Code:"SB",alpha3Code:"SLB",numericCode:"090",callingCode:"+677"},{name:"Somalie",alpha2Code:"SO",alpha3Code:"SOM",numericCode:"706",callingCode:"+252"},{name:"Afrique du Sud",alpha2Code:"ZA",alpha3Code:"ZAF",numericCode:"710",callingCode:"+27"},{name:"G\xe9orgie du Sud-et-les \xceles Sandwich du Sud",alpha2Code:"GS",alpha3Code:"SGS",numericCode:"239",callingCode:"+500"},{name:"Cor\xe9e du Sud",alpha2Code:"KR",alpha3Code:"KOR",numericCode:"410",callingCode:"+82"},{name:"Soudan du Sud",alpha2Code:"SS",alpha3Code:"SSD",numericCode:"728",callingCode:"+211"},{name:"Espagne",alpha2Code:"ES",alpha3Code:"ESP",numericCode:"724",callingCode:"+34"},{name:"Sri Lanka",alpha2Code:"LK",alpha3Code:"LKA",numericCode:"144",callingCode:"+94"},{name:"Soudan",alpha2Code:"SD",alpha3Code:"SDN",numericCode:"729",callingCode:"+249"},{name:"Surinam",alpha2Code:"SR",alpha3Code:"SUR",numericCode:"740",callingCode:"+597"},{name:"Svalbard et Jan Mayen",alpha2Code:"SJ",alpha3Code:"SJM",numericCode:"744",callingCode:"+4779"},{name:"Swaziland",alpha2Code:"SZ",alpha3Code:"SWZ",numericCode:"748",callingCode:"+268"},{name:"Su\xe8de",alpha2Code:"SE",alpha3Code:"SWE",numericCode:"752",callingCode:"+46"},{name:"Suisse",alpha2Code:"CH",alpha3Code:"CHE",numericCode:"756",callingCode:"+41"},{name:"Syrie",alpha2Code:"SY",alpha3Code:"SYR",numericCode:"760",callingCode:"+963"},{name:"Ta\xefwan",alpha2Code:"TW",alpha3Code:"TWN",numericCode:"158",callingCode:"+886"},{name:"Tadjikistan",alpha2Code:"TJ",alpha3Code:"TJK",numericCode:"762",callingCode:"+992"},{name:"Tanzanie",alpha2Code:"TZ",alpha3Code:"TZA",numericCode:"834",callingCode:"+255"},{name:"Tha\xeflande",alpha2Code:"TH",alpha3Code:"THA",numericCode:"764",callingCode:"+66"},{name:"Timor oriental",alpha2Code:"TL",alpha3Code:"TLS",numericCode:"626",callingCode:"+670"},{name:"Togo",alpha2Code:"TG",alpha3Code:"TGO",numericCode:"768",callingCode:"+228"},{name:"Tokelau",alpha2Code:"TK",alpha3Code:"TKL",numericCode:"772",callingCode:"+690"},{name:"Tonga",alpha2Code:"TO",alpha3Code:"TON",numericCode:"776",callingCode:"+676"},{name:"Trinit\xe9 et Tobago",alpha2Code:"TT",alpha3Code:"TTO",numericCode:"780",callingCode:"+1868"},{name:"Tunisie",alpha2Code:"TN",alpha3Code:"TUN",numericCode:"788",callingCode:"+216"},{name:"Turquie",alpha2Code:"TR",alpha3Code:"TUR",numericCode:"792",callingCode:"+90"},{name:"Turkm\xe9nistan",alpha2Code:"TM",alpha3Code:"TKM",numericCode:"795",callingCode:"+993"},{name:"\xceles Turques-et-Ca\xefques",alpha2Code:"TC",alpha3Code:"TCA",numericCode:"796",callingCode:"+1649"},{name:"Tuvalu",alpha2Code:"TV",alpha3Code:"TUV",numericCode:"798",callingCode:"+688"},{name:"Uganda",alpha2Code:"UG",alpha3Code:"UGA",numericCode:"800",callingCode:"+256"},{name:"Ukraine",alpha2Code:"UA",alpha3Code:"UKR",numericCode:"804",callingCode:"+380"},{name:"\xc9mirats arabes unis",alpha2Code:"AE",alpha3Code:"ARE",numericCode:"784",callingCode:"+971"},{name:"Royaume-Uni",alpha2Code:"GB",alpha3Code:"GBR",numericCode:"826",callingCode:"+44"},{name:"\xc9tats-Unis",alpha2Code:"US",alpha3Code:"USA",numericCode:"840",callingCode:"+1"},{name:"Uruguay",alpha2Code:"UY",alpha3Code:"URY",numericCode:"858",callingCode:"+598"},{name:"Ouzb\xe9kistan",alpha2Code:"UZ",alpha3Code:"UZB",numericCode:"860",callingCode:"+998"},{name:"Vanuatu",alpha2Code:"VU",alpha3Code:"VUT",numericCode:"548",callingCode:"+678"},{name:"Venezuela",alpha2Code:"VE",alpha3Code:"VEN",numericCode:"862",callingCode:"+58"},{name:"Vi\xeat Nam",alpha2Code:"VN",alpha3Code:"VNM",numericCode:"704",callingCode:"+84"},{name:"Wallis-et-Futuna",alpha2Code:"WF",alpha3Code:"WLF",numericCode:"876",callingCode:"+681"},{name:"Sahara Occidental",alpha2Code:"EH",alpha3Code:"ESH",numericCode:"732",callingCode:"+212"},{name:"Y\xe9men",alpha2Code:"YE",alpha3Code:"YEM",numericCode:"887",callingCode:"+967"},{name:"Zambie",alpha2Code:"ZM",alpha3Code:"ZMB",numericCode:"894",callingCode:"+260"},{name:"Zimbabwe",alpha2Code:"ZW",alpha3Code:"ZWE",numericCode:"716",callingCode:"+263"}]}),Ry=Object.freeze({__proto__:null,COUNTRIES_DB_HR:[{name:"Afganistan",alpha2Code:"AF",alpha3Code:"AFG",numericCode:"004",callingCode:"+93"},{name:"\xc5landski otoci",alpha2Code:"AX",alpha3Code:"ALA",numericCode:"248",callingCode:"+358"},{name:"Albanija",alpha2Code:"AL",alpha3Code:"ALB",numericCode:"008",callingCode:"+355"},{name:"Al\u017eir",alpha2Code:"DZ",alpha3Code:"DZA",numericCode:"012",callingCode:"+213"},{name:"Ameri\u010dka Samoa",alpha2Code:"AS",alpha3Code:"ASM",numericCode:"016",callingCode:"+1684"},{name:"Andora",alpha2Code:"AD",alpha3Code:"AND",numericCode:"020",callingCode:"+376"},{name:"Angola",alpha2Code:"AO",alpha3Code:"AGO",numericCode:"024",callingCode:"+244"},{name:"Angvila",alpha2Code:"AI",alpha3Code:"AIA",numericCode:"660",callingCode:"+1264"},{name:"Antarktika",alpha2Code:"AQ",alpha3Code:"ATA",numericCode:"010",callingCode:"+672"},{name:"Antigva i Barbuda",alpha2Code:"AG",alpha3Code:"ATG",numericCode:"028",callingCode:"+1268"},{name:"Argentina",alpha2Code:"AR",alpha3Code:"ARG",numericCode:"032",callingCode:"+54"},{name:"Armenija",alpha2Code:"AM",alpha3Code:"ARM",numericCode:"051",callingCode:"+374"},{name:"Aruba",alpha2Code:"AW",alpha3Code:"ABW",numericCode:"533",callingCode:"+297"},{name:"Australija",alpha2Code:"AU",alpha3Code:"AUS",numericCode:"036",callingCode:"+61"},{name:"Austrija",alpha2Code:"AT",alpha3Code:"AUT",numericCode:"040",callingCode:"+43"},{name:"Azerbajd\u017ean",alpha2Code:"AZ",alpha3Code:"AZE",numericCode:"031",callingCode:"+994"},{name:"Bahami",alpha2Code:"BS",alpha3Code:"BHS",numericCode:"044",callingCode:"+1242"},{name:"Bahrein",alpha2Code:"BH",alpha3Code:"BHR",numericCode:"048",callingCode:"+973"},{name:"Banglade\u0161",alpha2Code:"BD",alpha3Code:"BGD",numericCode:"050",callingCode:"+880"},{name:"Barbados",alpha2Code:"BB",alpha3Code:"BRB",numericCode:"052",callingCode:"+1246"},{name:"Bjelorusija",alpha2Code:"BY",alpha3Code:"BLR",numericCode:"112",callingCode:"+375"},{name:"Belgija",alpha2Code:"BE",alpha3Code:"BEL",numericCode:"056",callingCode:"+32"},{name:"Belize",alpha2Code:"BZ",alpha3Code:"BLZ",numericCode:"084",callingCode:"+501"},{name:"Benin",alpha2Code:"BJ",alpha3Code:"BEN",numericCode:"204",callingCode:"+229"},{name:"Bermudi",alpha2Code:"BM",alpha3Code:"BMU",numericCode:"060",callingCode:"+1441"},{name:"Butan",alpha2Code:"BT",alpha3Code:"BTN",numericCode:"064",callingCode:"+975"},{name:"Bolivija",alpha2Code:"BO",alpha3Code:"BOL",numericCode:"068",callingCode:"+591"},{name:"Bonaire, Sint Eustacije i Saba",alpha2Code:"BQ",alpha3Code:"BES",numericCode:"535",callingCode:"+5997"},{name:"Bosna i Hercegovina",alpha2Code:"BA",alpha3Code:"BIH",numericCode:"070",callingCode:"+387"},{name:"Bocvana",alpha2Code:"BW",alpha3Code:"BWA",numericCode:"072",callingCode:"+267"},{name:"Otok Bouvet",alpha2Code:"BV",alpha3Code:"BVT",numericCode:"074",callingCode:"+"},{name:"Brazil",alpha2Code:"BR",alpha3Code:"BRA",numericCode:"076",callingCode:"+55"},{name:"Britanski Indijskooceanski teritorij",alpha2Code:"IO",alpha3Code:"IOT",numericCode:"086",callingCode:"+246"},{name:"Mali udaljeni otoci SAD-a",alpha2Code:"UM",alpha3Code:"UMI",numericCode:"581",callingCode:"+"},{name:"Britanski Djevi\u010danski Otoci",alpha2Code:"VG",alpha3Code:"VGB",numericCode:"092",callingCode:"+1284"},{name:"Djevi\u010danski Otoci (Britanski)",alpha2Code:"VI",alpha3Code:"VIR",numericCode:"850",callingCode:"+1 340"},{name:"Brunej",alpha2Code:"BN",alpha3Code:"BRN",numericCode:"096",callingCode:"+673"},{name:"Bugarska",alpha2Code:"BG",alpha3Code:"BGR",numericCode:"100",callingCode:"+359"},{name:"Burkina Faso",alpha2Code:"BF",alpha3Code:"BFA",numericCode:"854",callingCode:"+226"},{name:"Burundi",alpha2Code:"BI",alpha3Code:"BDI",numericCode:"108",callingCode:"+257"},{name:"Kambod\u017ea",alpha2Code:"KH",alpha3Code:"KHM",numericCode:"116",callingCode:"+855"},{name:"Kamerun",alpha2Code:"CM",alpha3Code:"CMR",numericCode:"120",callingCode:"+237"},{name:"Kanada",alpha2Code:"CA",alpha3Code:"CAN",numericCode:"124",callingCode:"+1"},{name:"Zelenortska Republika",alpha2Code:"CV",alpha3Code:"CPV",numericCode:"132",callingCode:"+238"},{name:"Kajmanski otoci",alpha2Code:"KY",alpha3Code:"CYM",numericCode:"136",callingCode:"+1345"},{name:"Srednjoafri\u010dka Republika",alpha2Code:"CF",alpha3Code:"CAF",numericCode:"140",callingCode:"+236"},{name:"\u010cad",alpha2Code:"TD",alpha3Code:"TCD",numericCode:"148",callingCode:"+235"},{name:"\u010cile",alpha2Code:"CL",alpha3Code:"CHL",numericCode:"152",callingCode:"+56"},{name:"Kina",alpha2Code:"CN",alpha3Code:"CHN",numericCode:"156",callingCode:"+86"},{name:"Bo\u017ei\u0107ni otok",alpha2Code:"CX",alpha3Code:"CXR",numericCode:"162",callingCode:"+61"},{name:"Kokosovi Otoci",alpha2Code:"CC",alpha3Code:"CCK",numericCode:"166",callingCode:"+61"},{name:"Kolumbija",alpha2Code:"CO",alpha3Code:"COL",numericCode:"170",callingCode:"+57"},{name:"Komori",alpha2Code:"KM",alpha3Code:"COM",numericCode:"174",callingCode:"+269"},{name:"Kongo",alpha2Code:"CG",alpha3Code:"COG",numericCode:"178",callingCode:"+242"},{name:"Kongo, Demokratska Republika",alpha2Code:"CD",alpha3Code:"COD",numericCode:"180",callingCode:"+243"},{name:"Cookovo Oto\u010dje",alpha2Code:"CK",alpha3Code:"COK",numericCode:"184",callingCode:"+682"},{name:"Kostarika",alpha2Code:"CR",alpha3Code:"CRI",numericCode:"188",callingCode:"+506"},{name:"Hrvatska",alpha2Code:"HR",alpha3Code:"HRV",numericCode:"191",callingCode:"+385"},{name:"Kuba",alpha2Code:"CU",alpha3Code:"CUB",numericCode:"192",callingCode:"+53"},{name:"Cura\xe7ao",alpha2Code:"CW",alpha3Code:"CUW",numericCode:"531",callingCode:"+599"},{name:"Cipar",alpha2Code:"CY",alpha3Code:"CYP",numericCode:"196",callingCode:"+357"},{name:"\u010ce\u0161ka",alpha2Code:"CZ",alpha3Code:"CZE",numericCode:"203",callingCode:"+420"},{name:"Danska",alpha2Code:"DK",alpha3Code:"DNK",numericCode:"208",callingCode:"+45"},{name:"D\u017eibuti",alpha2Code:"DJ",alpha3Code:"DJI",numericCode:"262",callingCode:"+253"},{name:"Dominika",alpha2Code:"DM",alpha3Code:"DMA",numericCode:"212",callingCode:"+1767"},{name:"Dominikanska Republika",alpha2Code:"DO",alpha3Code:"DOM",numericCode:"214",callingCode:"+1809"},{name:"Ekvador",alpha2Code:"EC",alpha3Code:"ECU",numericCode:"218",callingCode:"+593"},{name:"Egipat",alpha2Code:"EG",alpha3Code:"EGY",numericCode:"818",callingCode:"+20"},{name:"Salvador",alpha2Code:"SV",alpha3Code:"SLV",numericCode:"222",callingCode:"+503"},{name:"Ekvatorijalna Gvineja",alpha2Code:"GQ",alpha3Code:"GNQ",numericCode:"226",callingCode:"+240"},{name:"Eritreja",alpha2Code:"ER",alpha3Code:"ERI",numericCode:"232",callingCode:"+291"},{name:"Estonija",alpha2Code:"EE",alpha3Code:"EST",numericCode:"233",callingCode:"+372"},{name:"Etiopija",alpha2Code:"ET",alpha3Code:"ETH",numericCode:"231",callingCode:"+251"},{name:"Falklandski Otoci",alpha2Code:"FK",alpha3Code:"FLK",numericCode:"238",callingCode:"+500"},{name:"Farski Otoci",alpha2Code:"FO",alpha3Code:"FRO",numericCode:"234",callingCode:"+298"},{name:"Fi\u0111i",alpha2Code:"FJ",alpha3Code:"FJI",numericCode:"242",callingCode:"+679"},{name:"Finska",alpha2Code:"FI",alpha3Code:"FIN",numericCode:"246",callingCode:"+358"},{name:"Francuska",alpha2Code:"FR",alpha3Code:"FRA",numericCode:"250",callingCode:"+33"},{name:"Francuska Gvajana",alpha2Code:"GF",alpha3Code:"GUF",numericCode:"254",callingCode:"+594"},{name:"Francuska Polinezija",alpha2Code:"PF",alpha3Code:"PYF",numericCode:"258",callingCode:"+689"},{name:"Francuski ju\u017eni i antarkti\u010dki teritoriji",alpha2Code:"TF",alpha3Code:"ATF",numericCode:"260",callingCode:"+"},{name:"Gabon",alpha2Code:"GA",alpha3Code:"GAB",numericCode:"266",callingCode:"+241"},{name:"Gambija",alpha2Code:"GM",alpha3Code:"GMB",numericCode:"270",callingCode:"+220"},{name:"Gruzija",alpha2Code:"GE",alpha3Code:"GEO",numericCode:"268",callingCode:"+995"},{name:"Njema\u010dka",alpha2Code:"DE",alpha3Code:"DEU",numericCode:"276",callingCode:"+49"},{name:"Gana",alpha2Code:"GH",alpha3Code:"GHA",numericCode:"288",callingCode:"+233"},{name:"Gibraltar",alpha2Code:"GI",alpha3Code:"GIB",numericCode:"292",callingCode:"+350"},{name:"Gr\u010dka",alpha2Code:"GR",alpha3Code:"GRC",numericCode:"300",callingCode:"+30"},{name:"Grenland",alpha2Code:"GL",alpha3Code:"GRL",numericCode:"304",callingCode:"+299"},{name:"Grenada",alpha2Code:"GD",alpha3Code:"GRD",numericCode:"308",callingCode:"+1473"},{name:"Gvadalupa",alpha2Code:"GP",alpha3Code:"GLP",numericCode:"312",callingCode:"+590"},{name:"Guam",alpha2Code:"GU",alpha3Code:"GUM",numericCode:"316",callingCode:"+1671"},{name:"Gvatemala",alpha2Code:"GT",alpha3Code:"GTM",numericCode:"320",callingCode:"+502"},{name:"Guernsey",alpha2Code:"GG",alpha3Code:"GGY",numericCode:"831",callingCode:"+44"},{name:"Gvineja",alpha2Code:"GN",alpha3Code:"GIN",numericCode:"324",callingCode:"+224"},{name:"Gvineja Bisau",alpha2Code:"GW",alpha3Code:"GNB",numericCode:"624",callingCode:"+245"},{name:"Gvajana",alpha2Code:"GY",alpha3Code:"GUY",numericCode:"328",callingCode:"+592"},{name:"Haiti",alpha2Code:"HT",alpha3Code:"HTI",numericCode:"332",callingCode:"+509"},{name:"Otok Heard i oto\u010dje McDonald",alpha2Code:"HM",alpha3Code:"HMD",numericCode:"334",callingCode:"+"},{name:"Sveta Stolica",alpha2Code:"VA",alpha3Code:"VAT",numericCode:"336",callingCode:"+379"},{name:"Honduras",alpha2Code:"HN",alpha3Code:"HND",numericCode:"340",callingCode:"+504"},{name:"Hong Kong",alpha2Code:"HK",alpha3Code:"HKG",numericCode:"344",callingCode:"+852"},{name:"Ma\u0111arska",alpha2Code:"HU",alpha3Code:"HUN",numericCode:"348",callingCode:"+36"},{name:"Island",alpha2Code:"IS",alpha3Code:"ISL",numericCode:"352",callingCode:"+354"},{name:"Indija",alpha2Code:"IN",alpha3Code:"IND",numericCode:"356",callingCode:"+91"},{name:"Indonezija",alpha2Code:"ID",alpha3Code:"IDN",numericCode:"360",callingCode:"+62"},{name:"Obala Bjelokosti",alpha2Code:"CI",alpha3Code:"CIV",numericCode:"384",callingCode:"+225"},{name:"Iran",alpha2Code:"IR",alpha3Code:"IRN",numericCode:"364",callingCode:"+98"},{name:"Irak",alpha2Code:"IQ",alpha3Code:"IRQ",numericCode:"368",callingCode:"+964"},{name:"Irska",alpha2Code:"IE",alpha3Code:"IRL",numericCode:"372",callingCode:"+353"},{name:"Otok Man",alpha2Code:"IM",alpha3Code:"IMN",numericCode:"833",callingCode:"+44"},{name:"Izrael",alpha2Code:"IL",alpha3Code:"ISR",numericCode:"376",callingCode:"+972"},{name:"Italija",alpha2Code:"IT",alpha3Code:"ITA",numericCode:"380",callingCode:"+39"},{name:"Jamajka",alpha2Code:"JM",alpha3Code:"JAM",numericCode:"388",callingCode:"+1876"},{name:"Japan",alpha2Code:"JP",alpha3Code:"JPN",numericCode:"392",callingCode:"+81"},{name:"Jersey",alpha2Code:"JE",alpha3Code:"JEY",numericCode:"832",callingCode:"+44"},{name:"Jordan",alpha2Code:"JO",alpha3Code:"JOR",numericCode:"400",callingCode:"+962"},{name:"Kazahstan",alpha2Code:"KZ",alpha3Code:"KAZ",numericCode:"398",callingCode:"+76"},{name:"Kenija",alpha2Code:"KE",alpha3Code:"KEN",numericCode:"404",callingCode:"+254"},{name:"Kiribati",alpha2Code:"KI",alpha3Code:"KIR",numericCode:"296",callingCode:"+686"},{name:"Kuvajt",alpha2Code:"KW",alpha3Code:"KWT",numericCode:"414",callingCode:"+965"},{name:"Kirgistan",alpha2Code:"KG",alpha3Code:"KGZ",numericCode:"417",callingCode:"+996"},{name:"Laos",alpha2Code:"LA",alpha3Code:"LAO",numericCode:"418",callingCode:"+856"},{name:"Latvija",alpha2Code:"LV",alpha3Code:"LVA",numericCode:"428",callingCode:"+371"},{name:"Libanon",alpha2Code:"LB",alpha3Code:"LBN",numericCode:"422",callingCode:"+961"},{name:"Lesoto",alpha2Code:"LS",alpha3Code:"LSO",numericCode:"426",callingCode:"+266"},{name:"Liberija",alpha2Code:"LR",alpha3Code:"LBR",numericCode:"430",callingCode:"+231"},{name:"Libija",alpha2Code:"LY",alpha3Code:"LBY",numericCode:"434",callingCode:"+218"},{name:"Lihten\u0161tajn",alpha2Code:"LI",alpha3Code:"LIE",numericCode:"438",callingCode:"+423"},{name:"Litva",alpha2Code:"LT",alpha3Code:"LTU",numericCode:"440",callingCode:"+370"},{name:"Luksemburg",alpha2Code:"LU",alpha3Code:"LUX",numericCode:"442",callingCode:"+352"},{name:"Makao",alpha2Code:"MO",alpha3Code:"MAC",numericCode:"446",callingCode:"+853"},{name:"Makedonija",alpha2Code:"MK",alpha3Code:"MKD",numericCode:"807",callingCode:"+389"},{name:"Madagaskar",alpha2Code:"MG",alpha3Code:"MDG",numericCode:"450",callingCode:"+261"},{name:"Malavi",alpha2Code:"MW",alpha3Code:"MWI",numericCode:"454",callingCode:"+265"},{name:"Malezija",alpha2Code:"MY",alpha3Code:"MYS",numericCode:"458",callingCode:"+60"},{name:"Maldivi",alpha2Code:"MV",alpha3Code:"MDV",numericCode:"462",callingCode:"+960"},{name:"Mali",alpha2Code:"ML",alpha3Code:"MLI",numericCode:"466",callingCode:"+223"},{name:"Malta",alpha2Code:"MT",alpha3Code:"MLT",numericCode:"470",callingCode:"+356"},{name:"Mar\u0161alovi Otoci",alpha2Code:"MH",alpha3Code:"MHL",numericCode:"584",callingCode:"+692"},{name:"Martinique",alpha2Code:"MQ",alpha3Code:"MTQ",numericCode:"474",callingCode:"+596"},{name:"Mauritanija",alpha2Code:"MR",alpha3Code:"MRT",numericCode:"478",callingCode:"+222"},{name:"Mauricijus",alpha2Code:"MU",alpha3Code:"MUS",numericCode:"480",callingCode:"+230"},{name:"Mayotte",alpha2Code:"YT",alpha3Code:"MYT",numericCode:"175",callingCode:"+262"},{name:"Meksiko",alpha2Code:"MX",alpha3Code:"MEX",numericCode:"484",callingCode:"+52"},{name:"Mikronezija",alpha2Code:"FM",alpha3Code:"FSM",numericCode:"583",callingCode:"+691"},{name:"Moldova",alpha2Code:"MD",alpha3Code:"MDA",numericCode:"498",callingCode:"+373"},{name:"Monako",alpha2Code:"MC",alpha3Code:"MCO",numericCode:"492",callingCode:"+377"},{name:"Mongolija",alpha2Code:"MN",alpha3Code:"MNG",numericCode:"496",callingCode:"+976"},{name:"Crna Gora",alpha2Code:"ME",alpha3Code:"MNE",numericCode:"499",callingCode:"+382"},{name:"Montserrat",alpha2Code:"MS",alpha3Code:"MSR",numericCode:"500",callingCode:"+1664"},{name:"Maroko",alpha2Code:"MA",alpha3Code:"MAR",numericCode:"504",callingCode:"+212"},{name:"Mozambik",alpha2Code:"MZ",alpha3Code:"MOZ",numericCode:"508",callingCode:"+258"},{name:"Mijanmar",alpha2Code:"MM",alpha3Code:"MMR",numericCode:"104",callingCode:"+95"},{name:"Namibija",alpha2Code:"NA",alpha3Code:"NAM",numericCode:"516",callingCode:"+264"},{name:"Nauru",alpha2Code:"NR",alpha3Code:"NRU",numericCode:"520",callingCode:"+674"},{name:"Nepal",alpha2Code:"NP",alpha3Code:"NPL",numericCode:"524",callingCode:"+977"},{name:"Nizozemska",alpha2Code:"NL",alpha3Code:"NLD",numericCode:"528",callingCode:"+31"},{name:"Nova Kaledonija",alpha2Code:"NC",alpha3Code:"NCL",numericCode:"540",callingCode:"+687"},{name:"Novi Zeland",alpha2Code:"NZ",alpha3Code:"NZL",numericCode:"554",callingCode:"+64"},{name:"Nikaragva",alpha2Code:"NI",alpha3Code:"NIC",numericCode:"558",callingCode:"+505"},{name:"Niger",alpha2Code:"NE",alpha3Code:"NER",numericCode:"562",callingCode:"+227"},{name:"Nigerija",alpha2Code:"NG",alpha3Code:"NGA",numericCode:"566",callingCode:"+234"},{name:"Niue",alpha2Code:"NU",alpha3Code:"NIU",numericCode:"570",callingCode:"+683"},{name:"Otok Norfolk",alpha2Code:"NF",alpha3Code:"NFK",numericCode:"574",callingCode:"+672"},{name:"Sjeverna Koreja",alpha2Code:"KP",alpha3Code:"PRK",numericCode:"408",callingCode:"+850"},{name:"Sjevernomarijanski otoci",alpha2Code:"MP",alpha3Code:"MNP",numericCode:"580",callingCode:"+1670"},{name:"Norve\u0161ka",alpha2Code:"NO",alpha3Code:"NOR",numericCode:"578",callingCode:"+47"},{name:"Oman",alpha2Code:"OM",alpha3Code:"OMN",numericCode:"512",callingCode:"+968"},{name:"Pakistan",alpha2Code:"PK",alpha3Code:"PAK",numericCode:"586",callingCode:"+92"},{name:"Palau",alpha2Code:"PW",alpha3Code:"PLW",numericCode:"585",callingCode:"+680"},{name:"Palestina",alpha2Code:"PS",alpha3Code:"PSE",numericCode:"275",callingCode:"+970"},{name:"Panama",alpha2Code:"PA",alpha3Code:"PAN",numericCode:"591",callingCode:"+507"},{name:"Papua Nova Gvineja",alpha2Code:"PG",alpha3Code:"PNG",numericCode:"598",callingCode:"+675"},{name:"Paragvaj",alpha2Code:"PY",alpha3Code:"PRY",numericCode:"600",callingCode:"+595"},{name:"Peru",alpha2Code:"PE",alpha3Code:"PER",numericCode:"604",callingCode:"+51"},{name:"Filipini",alpha2Code:"PH",alpha3Code:"PHL",numericCode:"608",callingCode:"+63"},{name:"Pitcairnovo oto\u010dje",alpha2Code:"PN",alpha3Code:"PCN",numericCode:"612",callingCode:"+64"},{name:"Poljska",alpha2Code:"PL",alpha3Code:"POL",numericCode:"616",callingCode:"+48"},{name:"Portugal",alpha2Code:"PT",alpha3Code:"PRT",numericCode:"620",callingCode:"+351"},{name:"Portoriko",alpha2Code:"PR",alpha3Code:"PRI",numericCode:"630",callingCode:"+1787"},{name:"Katar",alpha2Code:"QA",alpha3Code:"QAT",numericCode:"634",callingCode:"+974"},{name:"Kosovo",alpha2Code:"XK",alpha3Code:"KOS",numericCode:null,callingCode:"+383"},{name:"R\xe9union",alpha2Code:"RE",alpha3Code:"REU",numericCode:"638",callingCode:"+262"},{name:"Rumunjska",alpha2Code:"RO",alpha3Code:"ROU",numericCode:"642",callingCode:"+40"},{name:"Rusija",alpha2Code:"RU",alpha3Code:"RUS",numericCode:"643",callingCode:"+7"},{name:"Ruanda",alpha2Code:"RW",alpha3Code:"RWA",numericCode:"646",callingCode:"+250"},{name:"Saint Barth\xe9lemy",alpha2Code:"BL",alpha3Code:"BLM",numericCode:"652",callingCode:"+590"},{name:"Sveta Helena",alpha2Code:"SH",alpha3Code:"SHN",numericCode:"654",callingCode:"+290"},{name:"Sveti Kristof i Nevis",alpha2Code:"KN",alpha3Code:"KNA",numericCode:"659",callingCode:"+1869"},{name:"Sveta Lucija",alpha2Code:"LC",alpha3Code:"LCA",numericCode:"662",callingCode:"+1758"},{name:"Sveti Martin",alpha2Code:"MF",alpha3Code:"MAF",numericCode:"663",callingCode:"+590"},{name:"Sveti Petar i Mikelon",alpha2Code:"PM",alpha3Code:"SPM",numericCode:"666",callingCode:"+508"},{name:"Sveti Vincent i Grenadini",alpha2Code:"VC",alpha3Code:"VCT",numericCode:"670",callingCode:"+1784"},{name:"Samoa",alpha2Code:"WS",alpha3Code:"WSM",numericCode:"882",callingCode:"+685"},{name:"San Marino",alpha2Code:"SM",alpha3Code:"SMR",numericCode:"674",callingCode:"+378"},{name:"Sveti Toma i Princip",alpha2Code:"ST",alpha3Code:"STP",numericCode:"678",callingCode:"+239"},{name:"Saudijska Arabija",alpha2Code:"SA",alpha3Code:"SAU",numericCode:"682",callingCode:"+966"},{name:"Senegal",alpha2Code:"SN",alpha3Code:"SEN",numericCode:"686",callingCode:"+221"},{name:"Srbija",alpha2Code:"RS",alpha3Code:"SRB",numericCode:"688",callingCode:"+381"},{name:"Sej\u0161eli",alpha2Code:"SC",alpha3Code:"SYC",numericCode:"690",callingCode:"+248"},{name:"Sijera Leone",alpha2Code:"SL",alpha3Code:"SLE",numericCode:"694",callingCode:"+232"},{name:"Singapur",alpha2Code:"SG",alpha3Code:"SGP",numericCode:"702",callingCode:"+65"},{name:"Sveti Martin (nizozemski dio)",alpha2Code:"SX",alpha3Code:"SXM",numericCode:"534",callingCode:"+1721"},{name:"Slova\u010dka",alpha2Code:"SK",alpha3Code:"SVK",numericCode:"703",callingCode:"+421"},{name:"Slovenija",alpha2Code:"SI",alpha3Code:"SVN",numericCode:"705",callingCode:"+386"},{name:"Solomonski Otoci",alpha2Code:"SB",alpha3Code:"SLB",numericCode:"090",callingCode:"+677"},{name:"Somalija",alpha2Code:"SO",alpha3Code:"SOM",numericCode:"706",callingCode:"+252"},{name:"Ju\u017enoafri\u010dka Republika",alpha2Code:"ZA",alpha3Code:"ZAF",numericCode:"710",callingCode:"+27"},{name:"Ju\u017ena Georgija i oto\u010dje Ju\u017eni Sandwich",alpha2Code:"GS",alpha3Code:"SGS",numericCode:"239",callingCode:"+500"},{name:"Ju\u017ena Koreja",alpha2Code:"KR",alpha3Code:"KOR",numericCode:"410",callingCode:"+82"},{name:"Ju\u017eni Sudan",alpha2Code:"SS",alpha3Code:"SSD",numericCode:"728",callingCode:"+211"},{name:"\u0160panjolska",alpha2Code:"ES",alpha3Code:"ESP",numericCode:"724",callingCode:"+34"},{name:"\u0160ri Lanka",alpha2Code:"LK",alpha3Code:"LKA",numericCode:"144",callingCode:"+94"},{name:"Sudan",alpha2Code:"SD",alpha3Code:"SDN",numericCode:"729",callingCode:"+249"},{name:"Surinam",alpha2Code:"SR",alpha3Code:"SUR",numericCode:"740",callingCode:"+597"},{name:"Svalbard i Jan Mayen",alpha2Code:"SJ",alpha3Code:"SJM",numericCode:"744",callingCode:"+4779"},{name:"Svazi",alpha2Code:"SZ",alpha3Code:"SWZ",numericCode:"748",callingCode:"+268"},{name:"\u0160vedska",alpha2Code:"SE",alpha3Code:"SWE",numericCode:"752",callingCode:"+46"},{name:"\u0160vicarska",alpha2Code:"CH",alpha3Code:"CHE",numericCode:"756",callingCode:"+41"},{name:"Sirija",alpha2Code:"SY",alpha3Code:"SYR",numericCode:"760",callingCode:"+963"},{name:"Tajvan",alpha2Code:"TW",alpha3Code:"TWN",numericCode:"158",callingCode:"+886"},{name:"Ta\u0111ikistan",alpha2Code:"TJ",alpha3Code:"TJK",numericCode:"762",callingCode:"+992"},{name:"Tanzanija",alpha2Code:"TZ",alpha3Code:"TZA",numericCode:"834",callingCode:"+255"},{name:"Tajland",alpha2Code:"TH",alpha3Code:"THA",numericCode:"764",callingCode:"+66"},{name:"Isto\u010dni Timor",alpha2Code:"TL",alpha3Code:"TLS",numericCode:"626",callingCode:"+670"},{name:"Togo",alpha2Code:"TG",alpha3Code:"TGO",numericCode:"768",callingCode:"+228"},{name:"Tokelau",alpha2Code:"TK",alpha3Code:"TKL",numericCode:"772",callingCode:"+690"},{name:"Tonga",alpha2Code:"TO",alpha3Code:"TON",numericCode:"776",callingCode:"+676"},{name:"Trinidad i Tobago",alpha2Code:"TT",alpha3Code:"TTO",numericCode:"780",callingCode:"+1868"},{name:"Tunis",alpha2Code:"TN",alpha3Code:"TUN",numericCode:"788",callingCode:"+216"},{name:"Turska",alpha2Code:"TR",alpha3Code:"TUR",numericCode:"792",callingCode:"+90"},{name:"Turkmenistan",alpha2Code:"TM",alpha3Code:"TKM",numericCode:"795",callingCode:"+993"},{name:"Otoci Turks i Caicos",alpha2Code:"TC",alpha3Code:"TCA",numericCode:"796",callingCode:"+1649"},{name:"Tuvalu",alpha2Code:"TV",alpha3Code:"TUV",numericCode:"798",callingCode:"+688"},{name:"Uganda",alpha2Code:"UG",alpha3Code:"UGA",numericCode:"800",callingCode:"+256"},{name:"Ukrajina",alpha2Code:"UA",alpha3Code:"UKR",numericCode:"804",callingCode:"+380"},{name:"Ujedinjeni Arapski Emirati",alpha2Code:"AE",alpha3Code:"ARE",numericCode:"784",callingCode:"+971"},{name:"Ujedinjeno Kraljevstvo",alpha2Code:"GB",alpha3Code:"GBR",numericCode:"826",callingCode:"+44"},{name:"Sjedinjene Ameri\u010dke Dr\u017eave",alpha2Code:"US",alpha3Code:"USA",numericCode:"840",callingCode:"+1"},{name:"Urugvaj",alpha2Code:"UY",alpha3Code:"URY",numericCode:"858",callingCode:"+598"},{name:"Uzbekistan",alpha2Code:"UZ",alpha3Code:"UZB",numericCode:"860",callingCode:"+998"},{name:"Vanuatu",alpha2Code:"VU",alpha3Code:"VUT",numericCode:"548",callingCode:"+678"},{name:"Venezuela",alpha2Code:"VE",alpha3Code:"VEN",numericCode:"862",callingCode:"+58"},{name:"Vijetnam",alpha2Code:"VN",alpha3Code:"VNM",numericCode:"704",callingCode:"+84"},{name:"Wallis i Fortuna",alpha2Code:"WF",alpha3Code:"WLF",numericCode:"876",callingCode:"+681"},{name:"Zapadna Sahara",alpha2Code:"EH",alpha3Code:"ESH",numericCode:"732",callingCode:"+212"},{name:"Jemen",alpha2Code:"YE",alpha3Code:"YEM",numericCode:"887",callingCode:"+967"},{name:"Zambija",alpha2Code:"ZM",alpha3Code:"ZMB",numericCode:"894",callingCode:"+260"},{name:"Zimbabve",alpha2Code:"ZW",alpha3Code:"ZWE",numericCode:"716",callingCode:"+263"}]}),_1=Object.freeze({__proto__:null,COUNTRIES_DB_HU:[{name:"Afganiszt\xe1n",alpha2Code:"AF",alpha3Code:"AFG",numericCode:"004",callingCode:"+93"},{name:"\xc5land-szigetek",alpha2Code:"AX",alpha3Code:"ALA",numericCode:"248",callingCode:"+358"},{name:"Alb\xe1nia",alpha2Code:"AL",alpha3Code:"ALB",numericCode:"008",callingCode:"+355"},{name:"Alg\xe9ria",alpha2Code:"DZ",alpha3Code:"DZA",numericCode:"012",callingCode:"+213"},{name:"Amerikai Szamoa",alpha2Code:"AS",alpha3Code:"ASM",numericCode:"016",callingCode:"+1684"},{name:"Andorra",alpha2Code:"AD",alpha3Code:"AND",numericCode:"020",callingCode:"+376"},{name:"Angola",alpha2Code:"AO",alpha3Code:"AGO",numericCode:"024",callingCode:"+244"},{name:"Anguilla",alpha2Code:"AI",alpha3Code:"AIA",numericCode:"660",callingCode:"+1264"},{name:"Antarktisz",alpha2Code:"AQ",alpha3Code:"ATA",numericCode:"010",callingCode:"+672"},{name:"Antigua \xe9s Barbuda",alpha2Code:"AG",alpha3Code:"ATG",numericCode:"028",callingCode:"+1268"},{name:"Argent\xedna",alpha2Code:"AR",alpha3Code:"ARG",numericCode:"032",callingCode:"+54"},{name:"\xd6rm\xe9nyorsz\xe1g",alpha2Code:"AM",alpha3Code:"ARM",numericCode:"051",callingCode:"+374"},{name:"Aruba",alpha2Code:"AW",alpha3Code:"ABW",numericCode:"533",callingCode:"+297"},{name:"Ausztr\xe1lia",alpha2Code:"AU",alpha3Code:"AUS",numericCode:"036",callingCode:"+61"},{name:"Ausztria",alpha2Code:"AT",alpha3Code:"AUT",numericCode:"040",callingCode:"+43"},{name:"Azerbajdzs\xe1n",alpha2Code:"AZ",alpha3Code:"AZE",numericCode:"031",callingCode:"+994"},{name:"Bahama-szigetek",alpha2Code:"BS",alpha3Code:"BHS",numericCode:"044",callingCode:"+1242"},{name:"Bahrein",alpha2Code:"BH",alpha3Code:"BHR",numericCode:"048",callingCode:"+973"},{name:"Banglades",alpha2Code:"BD",alpha3Code:"BGD",numericCode:"050",callingCode:"+880"},{name:"Barbados",alpha2Code:"BB",alpha3Code:"BRB",numericCode:"052",callingCode:"+1246"},{name:"Feh\xe9roroszorsz\xe1g",alpha2Code:"BY",alpha3Code:"BLR",numericCode:"112",callingCode:"+375"},{name:"Belgium",alpha2Code:"BE",alpha3Code:"BEL",numericCode:"056",callingCode:"+32"},{name:"Belize",alpha2Code:"BZ",alpha3Code:"BLZ",numericCode:"084",callingCode:"+501"},{name:"Benin",alpha2Code:"BJ",alpha3Code:"BEN",numericCode:"204",callingCode:"+229"},{name:"Bermuda",alpha2Code:"BM",alpha3Code:"BMU",numericCode:"060",callingCode:"+1441"},{name:"Bhut\xe1n",alpha2Code:"BT",alpha3Code:"BTN",numericCode:"064",callingCode:"+975"},{name:"Bol\xedvia (t\xf6bbnemzetis\xe9g\u0171 \xe1llam)",alpha2Code:"BO",alpha3Code:"BOL",numericCode:"068",callingCode:"+591"},{name:"Bonaire, Sint Eustatius \xe9s Saba",alpha2Code:"BQ",alpha3Code:"BES",numericCode:"535",callingCode:"+5997"},{name:"Bosznia \xe9s Hercegovina",alpha2Code:"BA",alpha3Code:"BIH",numericCode:"070",callingCode:"+387"},{name:"Botswana",alpha2Code:"BW",alpha3Code:"BWA",numericCode:"072",callingCode:"+267"},{name:"Bouvet-sziget",alpha2Code:"BV",alpha3Code:"BVT",numericCode:"074",callingCode:"+"},{name:"Braz\xedlia",alpha2Code:"BR",alpha3Code:"BRA",numericCode:"076",callingCode:"+55"},{name:"Brit Indiai-\xf3ce\xe1ni ter\xfclet",alpha2Code:"IO",alpha3Code:"IOT",numericCode:"086",callingCode:"+246"},{name:"Egyes\xfclt \xc1llamok Kisebb peremszigetek",alpha2Code:"UM",alpha3Code:"UMI",numericCode:"581",callingCode:"+"},{name:"Virgin-szigetek (brit)",alpha2Code:"VG",alpha3Code:"VGB",numericCode:"092",callingCode:"+1284"},{name:"Virgin-szigetek (Egyes\xfclt \xc1llamok)",alpha2Code:"VI",alpha3Code:"VIR",numericCode:"850",callingCode:"+1 340"},{name:"Brunei Darussalam",alpha2Code:"BN",alpha3Code:"BRN",numericCode:"096",callingCode:"+673"},{name:"Bulg\xe1ria",alpha2Code:"BG",alpha3Code:"BGR",numericCode:"100",callingCode:"+359"},{name:"Burkina Faso",alpha2Code:"BF",alpha3Code:"BFA",numericCode:"854",callingCode:"+226"},{name:"Burundi",alpha2Code:"BI",alpha3Code:"BDI",numericCode:"108",callingCode:"+257"},{name:"Kambodzsa",alpha2Code:"KH",alpha3Code:"KHM",numericCode:"116",callingCode:"+855"},{name:"Kamerun",alpha2Code:"CM",alpha3Code:"CMR",numericCode:"120",callingCode:"+237"},{name:"Kanada",alpha2Code:"CA",alpha3Code:"CAN",numericCode:"124",callingCode:"+1"},{name:"Cabo Verde",alpha2Code:"CV",alpha3Code:"CPV",numericCode:"132",callingCode:"+238"},{name:"Kajm\xe1n-szigetek",alpha2Code:"KY",alpha3Code:"CYM",numericCode:"136",callingCode:"+1345"},{name:"K\xf6z\xe9p-afrikai K\xf6zt\xe1rsas\xe1g",alpha2Code:"CF",alpha3Code:"CAF",numericCode:"140",callingCode:"+236"},{name:"Cs\xe1d",alpha2Code:"TD",alpha3Code:"TCD",numericCode:"148",callingCode:"+235"},{name:"Chile",alpha2Code:"CL",alpha3Code:"CHL",numericCode:"152",callingCode:"+56"},{name:"K\xedna",alpha2Code:"CN",alpha3Code:"CHN",numericCode:"156",callingCode:"+86"},{name:"Kar\xe1csony-sziget",alpha2Code:"CX",alpha3Code:"CXR",numericCode:"162",callingCode:"+61"},{name:"K\xf3kusz-szigetek",alpha2Code:"CC",alpha3Code:"CCK",numericCode:"166",callingCode:"+61"},{name:"Kolumbia",alpha2Code:"CO",alpha3Code:"COL",numericCode:"170",callingCode:"+57"},{name:"Comore-szigetek",alpha2Code:"KM",alpha3Code:"COM",numericCode:"174",callingCode:"+269"},{name:"Kong\xf3",alpha2Code:"CG",alpha3Code:"COG",numericCode:"178",callingCode:"+242"},{name:"Kong\xf3 (Demokratikus K\xf6zt\xe1rsas\xe1g)",alpha2Code:"CD",alpha3Code:"COD",numericCode:"180",callingCode:"+243"},{name:"Cook-szigetek",alpha2Code:"CK",alpha3Code:"COK",numericCode:"184",callingCode:"+682"},{name:"Costa Rica",alpha2Code:"CR",alpha3Code:"CRI",numericCode:"188",callingCode:"+506"},{name:"Horv\xe1torsz\xe1g",alpha2Code:"HR",alpha3Code:"HRV",numericCode:"191",callingCode:"+385"},{name:"Kuba",alpha2Code:"CU",alpha3Code:"CUB",numericCode:"192",callingCode:"+53"},{name:"Cura\xe7ao",alpha2Code:"CW",alpha3Code:"CUW",numericCode:"531",callingCode:"+599"},{name:"Ciprus",alpha2Code:"CY",alpha3Code:"CYP",numericCode:"196",callingCode:"+357"},{name:"Csehorsz\xe1g",alpha2Code:"CZ",alpha3Code:"CZE",numericCode:"203",callingCode:"+420"},{name:"D\xe1nia",alpha2Code:"DK",alpha3Code:"DNK",numericCode:"208",callingCode:"+45"},{name:"Dzsibuti",alpha2Code:"DJ",alpha3Code:"DJI",numericCode:"262",callingCode:"+253"},{name:"Dominika",alpha2Code:"DM",alpha3Code:"DMA",numericCode:"212",callingCode:"+1767"},{name:"Dominikai K\xf6zt\xe1rsas\xe1g",alpha2Code:"DO",alpha3Code:"DOM",numericCode:"214",callingCode:"+1809"},{name:"Ecuador",alpha2Code:"EC",alpha3Code:"ECU",numericCode:"218",callingCode:"+593"},{name:"Egyiptom",alpha2Code:"EG",alpha3Code:"EGY",numericCode:"818",callingCode:"+20"},{name:"El Salvador",alpha2Code:"SV",alpha3Code:"SLV",numericCode:"222",callingCode:"+503"},{name:"Egyenl\xedt\u0151i-Guinea",alpha2Code:"GQ",alpha3Code:"GNQ",numericCode:"226",callingCode:"+240"},{name:"Eritrea",alpha2Code:"ER",alpha3Code:"ERI",numericCode:"232",callingCode:"+291"},{name:"\xc9sztorsz\xe1g",alpha2Code:"EE",alpha3Code:"EST",numericCode:"233",callingCode:"+372"},{name:"Eti\xf3pia",alpha2Code:"ET",alpha3Code:"ETH",numericCode:"231",callingCode:"+251"},{name:"Falkland-szigetek (Malvin-szigetek)",alpha2Code:"FK",alpha3Code:"FLK",numericCode:"238",callingCode:"+500"},{name:"Fer\xf6er-szigetek",alpha2Code:"FO",alpha3Code:"FRO",numericCode:"234",callingCode:"+298"},{name:"Fidzsi-szigetek",alpha2Code:"FJ",alpha3Code:"FJI",numericCode:"242",callingCode:"+679"},{name:"Finnorsz\xe1g",alpha2Code:"FI",alpha3Code:"FIN",numericCode:"246",callingCode:"+358"},{name:"Franciaorsz\xe1g",alpha2Code:"FR",alpha3Code:"FRA",numericCode:"250",callingCode:"+33"},{name:"Francia Guyana",alpha2Code:"GF",alpha3Code:"GUF",numericCode:"254",callingCode:"+594"},{name:"Francia Polin\xe9zia",alpha2Code:"PF",alpha3Code:"PYF",numericCode:"258",callingCode:"+689"},{name:"Francia d\xe9li ter\xfcletek",alpha2Code:"TF",alpha3Code:"ATF",numericCode:"260",callingCode:"+"},{name:"Gabon",alpha2Code:"GA",alpha3Code:"GAB",numericCode:"266",callingCode:"+241"},{name:"Gambia",alpha2Code:"GM",alpha3Code:"GMB",numericCode:"270",callingCode:"+220"},{name:"Gr\xfazia",alpha2Code:"GE",alpha3Code:"GEO",numericCode:"268",callingCode:"+995"},{name:"N\xe9metorsz\xe1g",alpha2Code:"DE",alpha3Code:"DEU",numericCode:"276",callingCode:"+49"},{name:"Gh\xe1na",alpha2Code:"GH",alpha3Code:"GHA",numericCode:"288",callingCode:"+233"},{name:"Gibralt\xe1r",alpha2Code:"GI",alpha3Code:"GIB",numericCode:"292",callingCode:"+350"},{name:"G\xf6r\xf6gorsz\xe1g",alpha2Code:"GR",alpha3Code:"GRC",numericCode:"300",callingCode:"+30"},{name:"Gr\xf6nland",alpha2Code:"GL",alpha3Code:"GRL",numericCode:"304",callingCode:"+299"},{name:"Grenada",alpha2Code:"GD",alpha3Code:"GRD",numericCode:"308",callingCode:"+1473"},{name:"Guadeloupe",alpha2Code:"GP",alpha3Code:"GLP",numericCode:"312",callingCode:"+590"},{name:"Guam",alpha2Code:"GU",alpha3Code:"GUM",numericCode:"316",callingCode:"+1671"},{name:"Guatemala",alpha2Code:"GT",alpha3Code:"GTM",numericCode:"320",callingCode:"+502"},{name:"Guernsey",alpha2Code:"GG",alpha3Code:"GGY",numericCode:"831",callingCode:"+44"},{name:"Guinea",alpha2Code:"GN",alpha3Code:"GIN",numericCode:"324",callingCode:"+224"},{name:"Bissau-Guinea",alpha2Code:"GW",alpha3Code:"GNB",numericCode:"624",callingCode:"+245"},{name:"Guyana",alpha2Code:"GY",alpha3Code:"GUY",numericCode:"328",callingCode:"+592"},{name:"Haiti",alpha2Code:"HT",alpha3Code:"HTI",numericCode:"332",callingCode:"+509"},{name:"Heard-sziget \xe9s McDonald-szigetek",alpha2Code:"HM",alpha3Code:"HMD",numericCode:"334",callingCode:"+"},{name:"Szentsz\xe9k",alpha2Code:"VA",alpha3Code:"VAT",numericCode:"336",callingCode:"+379"},{name:"Honduras",alpha2Code:"HN",alpha3Code:"HND",numericCode:"340",callingCode:"+504"},{name:"Hong Kong",alpha2Code:"HK",alpha3Code:"HKG",numericCode:"344",callingCode:"+852"},{name:"Magyarorsz\xe1g",alpha2Code:"HU",alpha3Code:"HUN",numericCode:"348",callingCode:"+36"},{name:"Izland",alpha2Code:"IS",alpha3Code:"ISL",numericCode:"352",callingCode:"+354"},{name:"India",alpha2Code:"IN",alpha3Code:"IND",numericCode:"356",callingCode:"+91"},{name:"Indon\xe9zia",alpha2Code:"ID",alpha3Code:"IDN",numericCode:"360",callingCode:"+62"},{name:"Elef\xe1ntcsontpart",alpha2Code:"CI",alpha3Code:"CIV",numericCode:"384",callingCode:"+225"},{name:"Ir\xe1n (Iszl\xe1m K\xf6zt\xe1rsas\xe1g)",alpha2Code:"IR",alpha3Code:"IRN",numericCode:"364",callingCode:"+98"},{name:"Irak",alpha2Code:"IQ",alpha3Code:"IRQ",numericCode:"368",callingCode:"+964"},{name:"\xcdrorsz\xe1g",alpha2Code:"IE",alpha3Code:"IRL",numericCode:"372",callingCode:"+353"},{name:"Man-sziget",alpha2Code:"IM",alpha3Code:"IMN",numericCode:"833",callingCode:"+44"},{name:"Izrael",alpha2Code:"IL",alpha3Code:"ISR",numericCode:"376",callingCode:"+972"},{name:"Olaszorsz\xe1g",alpha2Code:"IT",alpha3Code:"ITA",numericCode:"380",callingCode:"+39"},{name:"Jamaica",alpha2Code:"JM",alpha3Code:"JAM",numericCode:"388",callingCode:"+1876"},{name:"Jap\xe1n",alpha2Code:"JP",alpha3Code:"JPN",numericCode:"392",callingCode:"+81"},{name:"Jersey",alpha2Code:"JE",alpha3Code:"JEY",numericCode:"832",callingCode:"+44"},{name:"Jord\xe1nia",alpha2Code:"JO",alpha3Code:"JOR",numericCode:"400",callingCode:"+962"},{name:"Kazahszt\xe1n",alpha2Code:"KZ",alpha3Code:"KAZ",numericCode:"398",callingCode:"+7"},{name:"Kenya",alpha2Code:"KE",alpha3Code:"KEN",numericCode:"404",callingCode:"+254"},{name:"Kiribati",alpha2Code:"KI",alpha3Code:"KIR",numericCode:"296",callingCode:"+686"},{name:"Kuvait",alpha2Code:"KW",alpha3Code:"KWT",numericCode:"414",callingCode:"+965"},{name:"Kirgiziszt\xe1n",alpha2Code:"KG",alpha3Code:"KGZ",numericCode:"417",callingCode:"+996"},{name:"Laoszi N\xe9pi Demokratikus K\xf6zt\xe1rsas\xe1g",alpha2Code:"LA",alpha3Code:"LAO",numericCode:"418",callingCode:"+856"},{name:"Lettorsz\xe1g",alpha2Code:"LV",alpha3Code:"LVA",numericCode:"428",callingCode:"+371"},{name:"Libanon",alpha2Code:"LB",alpha3Code:"LBN",numericCode:"422",callingCode:"+961"},{name:"Lesotho",alpha2Code:"LS",alpha3Code:"LSO",numericCode:"426",callingCode:"+266"},{name:"Lib\xe9ria",alpha2Code:"LR",alpha3Code:"LBR",numericCode:"430",callingCode:"+231"},{name:"L\xedbia",alpha2Code:"LY",alpha3Code:"LBY",numericCode:"434",callingCode:"+218"},{name:"Liechtenstein",alpha2Code:"LI",alpha3Code:"LIE",numericCode:"438",callingCode:"+423"},{name:"Litv\xe1nia",alpha2Code:"LT",alpha3Code:"LTU",numericCode:"440",callingCode:"+370"},{name:"Luxemburg",alpha2Code:"LU",alpha3Code:"LUX",numericCode:"442",callingCode:"+352"},{name:"Maka\xf3",alpha2Code:"MO",alpha3Code:"MAC",numericCode:"446",callingCode:"+853"},{name:"Maced\xf3nia (volt Jugoszl\xe1v K\xf6zt\xe1rsas\xe1g)",alpha2Code:"MK",alpha3Code:"MKD",numericCode:"807",callingCode:"+389"},{name:"Madagaszk\xe1r",alpha2Code:"MG",alpha3Code:"MDG",numericCode:"450",callingCode:"+261"},{name:"Malawi",alpha2Code:"MW",alpha3Code:"MWI",numericCode:"454",callingCode:"+265"},{name:"Malajzia",alpha2Code:"MY",alpha3Code:"MYS",numericCode:"458",callingCode:"+60"},{name:"Mald\xedv-szigetek",alpha2Code:"MV",alpha3Code:"MDV",numericCode:"462",callingCode:"+960"},{name:"Mali",alpha2Code:"ML",alpha3Code:"MLI",numericCode:"466",callingCode:"+223"},{name:"M\xe1lta",alpha2Code:"MT",alpha3Code:"MLT",numericCode:"470",callingCode:"+356"},{name:"Marshall-szigetek",alpha2Code:"MH",alpha3Code:"MHL",numericCode:"584",callingCode:"+692"},{name:"Martinique",alpha2Code:"MQ",alpha3Code:"MTQ",numericCode:"474",callingCode:"+596"},{name:"Maurit\xe1nia",alpha2Code:"MR",alpha3Code:"MRT",numericCode:"478",callingCode:"+222"},{name:"Mauritius",alpha2Code:"MU",alpha3Code:"MUS",numericCode:"480",callingCode:"+230"},{name:"Mayotte",alpha2Code:"YT",alpha3Code:"MYT",numericCode:"175",callingCode:"+262"},{name:"Mexik\xf3",alpha2Code:"MX",alpha3Code:"MEX",numericCode:"484",callingCode:"+52"},{name:"Mikron\xe9zia (Sz\xf6vets\xe9gi \xc1llamok)",alpha2Code:"FM",alpha3Code:"FSM",numericCode:"583",callingCode:"+691"},{name:"Moldova (K\xf6zt\xe1rsas\xe1g)",alpha2Code:"MD",alpha3Code:"MDA",numericCode:"498",callingCode:"+373"},{name:"Monaco",alpha2Code:"MC",alpha3Code:"MCO",numericCode:"492",callingCode:"+377"},{name:"Mong\xf3lia",alpha2Code:"MN",alpha3Code:"MNG",numericCode:"496",callingCode:"+976"},{name:"Montenegr\xf3",alpha2Code:"ME",alpha3Code:"MNE",numericCode:"499",callingCode:"+382"},{name:"Montserrat",alpha2Code:"MS",alpha3Code:"MSR",numericCode:"500",callingCode:"+1664"},{name:"Marokk\xf3",alpha2Code:"MA",alpha3Code:"MAR",numericCode:"504",callingCode:"+212"},{name:"Mozambik",alpha2Code:"MZ",alpha3Code:"MOZ",numericCode:"508",callingCode:"+258"},{name:"Mianmar",alpha2Code:"MM",alpha3Code:"MMR",numericCode:"104",callingCode:"+95"},{name:"Nam\xedbia",alpha2Code:"NA",alpha3Code:"NAM",numericCode:"516",callingCode:"+264"},{name:"Nauru",alpha2Code:"NR",alpha3Code:"NRU",numericCode:"520",callingCode:"+674"},{name:"Nep\xe1l",alpha2Code:"NP",alpha3Code:"NPL",numericCode:"524",callingCode:"+977"},{name:"Hollandia",alpha2Code:"NL",alpha3Code:"NLD",numericCode:"528",callingCode:"+31"},{name:"\xdaj-Kaled\xf3nia",alpha2Code:"NC",alpha3Code:"NCL",numericCode:"540",callingCode:"+687"},{name:"\xdaj-Z\xe9land",alpha2Code:"NZ",alpha3Code:"NZL",numericCode:"554",callingCode:"+64"},{name:"Nicaragua",alpha2Code:"NI",alpha3Code:"NIC",numericCode:"558",callingCode:"+505"},{name:"Niger",alpha2Code:"NE",alpha3Code:"NER",numericCode:"562",callingCode:"+227"},{name:"Nig\xe9ria",alpha2Code:"NG",alpha3Code:"NGA",numericCode:"566",callingCode:"+234"},{name:"Niue",alpha2Code:"NU",alpha3Code:"NIU",numericCode:"570",callingCode:"+683"},{name:"Norfolk-sziget",alpha2Code:"NF",alpha3Code:"NFK",numericCode:"574",callingCode:"+672"},{name:"Korea (N\xe9pi Demokratikus K\xf6zt\xe1rsas\xe1g)",alpha2Code:"KP",alpha3Code:"PRK",numericCode:"408",callingCode:"+850"},{name:"\xc9szaki-Mariana-szigetek",alpha2Code:"MP",alpha3Code:"MNP",numericCode:"580",callingCode:"+1670"},{name:"Norv\xe9gia",alpha2Code:"NO",alpha3Code:"NOR",numericCode:"578",callingCode:"+47"},{name:"Om\xe1n",alpha2Code:"OM",alpha3Code:"OMN",numericCode:"512",callingCode:"+968"},{name:"Pakiszt\xe1n",alpha2Code:"PK",alpha3Code:"PAK",numericCode:"586",callingCode:"+92"},{name:"Palau",alpha2Code:"PW",alpha3Code:"PLW",numericCode:"585",callingCode:"+680"},{name:"Palesztina, Palesztin \xc1llam",alpha2Code:"PS",alpha3Code:"PSE",numericCode:"275",callingCode:"+970"},{name:"Panama",alpha2Code:"PA",alpha3Code:"PAN",numericCode:"591",callingCode:"+507"},{name:"P\xe1pua \xdaj-Guinea",alpha2Code:"PG",alpha3Code:"PNG",numericCode:"598",callingCode:"+675"},{name:"Paraguay",alpha2Code:"PY",alpha3Code:"PRY",numericCode:"600",callingCode:"+595"},{name:"Peru",alpha2Code:"PE",alpha3Code:"PER",numericCode:"604",callingCode:"+51"},{name:"F\xfcl\xf6p-szigetek",alpha2Code:"PH",alpha3Code:"PHL",numericCode:"608",callingCode:"+63"},{name:"Pitcairn",alpha2Code:"PN",alpha3Code:"PCN",numericCode:"612",callingCode:"+64"},{name:"Lengyelorsz\xe1g",alpha2Code:"PL",alpha3Code:"POL",numericCode:"616",callingCode:"+48"},{name:"Portug\xe1lia",alpha2Code:"PT",alpha3Code:"PRT",numericCode:"620",callingCode:"+351"},{name:"Puerto Rico",alpha2Code:"PR",alpha3Code:"PRI",numericCode:"630",callingCode:"+1"},{name:"Katar",alpha2Code:"QA",alpha3Code:"QAT",numericCode:"634",callingCode:"+974"},{name:"Koszov\xf3i K\xf6zt\xe1rsas\xe1g",alpha2Code:"XK",alpha3Code:"KOS",numericCode:null,callingCode:"+383"},{name:"R\xe9union",alpha2Code:"RE",alpha3Code:"REU",numericCode:"638",callingCode:"+262"},{name:"Rom\xe1nia",alpha2Code:"RO",alpha3Code:"ROU",numericCode:"642",callingCode:"+40"},{name:"Orosz F\xf6der\xe1ci\xf3",alpha2Code:"RU",alpha3Code:"RUS",numericCode:"643",callingCode:"+7"},{name:"Ruanda",alpha2Code:"RW",alpha3Code:"RWA",numericCode:"646",callingCode:"+250"},{name:"Saint Barth\xe9lemy",alpha2Code:"BL",alpha3Code:"BLM",numericCode:"652",callingCode:"+590"},{name:"Szent Hel\xe9na, Ascension \xe9s Tristan da Cunha",alpha2Code:"SH",alpha3Code:"SHN",numericCode:"654",callingCode:"+290"},{name:"Saint Kitts \xe9s Nevis",alpha2Code:"KN",alpha3Code:"KNA",numericCode:"659",callingCode:"+1869"},{name:"Saint Lucia",alpha2Code:"LC",alpha3Code:"LCA",numericCode:"662",callingCode:"+1758"},{name:"Saint Martin (francia r\xe9sz)",alpha2Code:"MF",alpha3Code:"MAF",numericCode:"663",callingCode:"+590"},{name:"Saint Pierre \xe9s Miquelon",alpha2Code:"PM",alpha3Code:"SPM",numericCode:"666",callingCode:"+508"},{name:"Saint Vincent \xe9s a Grenadine-szigetek",alpha2Code:"VC",alpha3Code:"VCT",numericCode:"670",callingCode:"+1784"},{name:"Szamoa",alpha2Code:"WS",alpha3Code:"WSM",numericCode:"882",callingCode:"+685"},{name:"San Marino",alpha2Code:"SM",alpha3Code:"SMR",numericCode:"674",callingCode:"+378"},{name:"S\xe3o Tom\xe9 \xe9s Pr\xedncipe",alpha2Code:"ST",alpha3Code:"STP",numericCode:"678",callingCode:"+239"},{name:"Sza\xfad-Ar\xe1bia",alpha2Code:"SA",alpha3Code:"SAU",numericCode:"682",callingCode:"+966"},{name:"Szeneg\xe1l",alpha2Code:"SN",alpha3Code:"SEN",numericCode:"686",callingCode:"+221"},{name:"Szerbia",alpha2Code:"RS",alpha3Code:"SRB",numericCode:"688",callingCode:"+381"},{name:"Seychelle-szigetek",alpha2Code:"SC",alpha3Code:"SYC",numericCode:"690",callingCode:"+248"},{name:"Sierra Leone",alpha2Code:"SL",alpha3Code:"SLE",numericCode:"694",callingCode:"+232"},{name:"Szingap\xfar",alpha2Code:"SG",alpha3Code:"SGP",numericCode:"702",callingCode:"+65"},{name:"Sint Maarten (holland r\xe9sz)",alpha2Code:"SX",alpha3Code:"SXM",numericCode:"534",callingCode:"+1721"},{name:"Szlov\xe1kia",alpha2Code:"SK",alpha3Code:"SVK",numericCode:"703",callingCode:"+421"},{name:"Szlov\xe9nia",alpha2Code:"SI",alpha3Code:"SVN",numericCode:"705",callingCode:"+386"},{name:"Salamon-szigetek",alpha2Code:"SB",alpha3Code:"SLB",numericCode:"090",callingCode:"+677"},{name:"Szom\xe1lia",alpha2Code:"SO",alpha3Code:"SOM",numericCode:"706",callingCode:"+252"},{name:"D\xe9l-Afrika",alpha2Code:"ZA",alpha3Code:"ZAF",numericCode:"710",callingCode:"+27"},{name:"D\xe9l-Georgia \xe9s a D\xe9li-Sandwich-szigetek",alpha2Code:"GS",alpha3Code:"SGS",numericCode:"239",callingCode:"+500"},{name:"Korea (K\xf6zt\xe1rsas\xe1g)",alpha2Code:"KR",alpha3Code:"KOR",numericCode:"410",callingCode:"+82"},{name:"D\xe9l-Szud\xe1n",alpha2Code:"SS",alpha3Code:"SSD",numericCode:"728",callingCode:"+211"},{name:"Spanyolorsz\xe1g",alpha2Code:"ES",alpha3Code:"ESP",numericCode:"724",callingCode:"+34"},{name:"Sr\xed Lanka",alpha2Code:"LK",alpha3Code:"LKA",numericCode:"144",callingCode:"+94"},{name:"Szud\xe1n",alpha2Code:"SD",alpha3Code:"SDN",numericCode:"729",callingCode:"+249"},{name:"Suriname",alpha2Code:"SR",alpha3Code:"SUR",numericCode:"740",callingCode:"+597"},{name:"Svalbard \xe9s Jan Mayen",alpha2Code:"SJ",alpha3Code:"SJM",numericCode:"744",callingCode:"+4779"},{name:"Szv\xe1zif\xf6ld",alpha2Code:"SZ",alpha3Code:"SWZ",numericCode:"748",callingCode:"+268"},{name:"Sv\xe9dorsz\xe1g",alpha2Code:"SE",alpha3Code:"SWE",numericCode:"752",callingCode:"+46"},{name:"Sv\xe1jc",alpha2Code:"CH",alpha3Code:"CHE",numericCode:"756",callingCode:"+41"},{name:"Sz\xedriai Arab K\xf6zt\xe1rsas\xe1g",alpha2Code:"SY",alpha3Code:"SYR",numericCode:"760",callingCode:"+963"},{name:"Tajvan, K\xedna",alpha2Code:"TW",alpha3Code:"TWN",numericCode:"158",callingCode:"+886"},{name:"T\xe1dzsikiszt\xe1n",alpha2Code:"TJ",alpha3Code:"TJK",numericCode:"762",callingCode:"+992"},{name:"Tanz\xe1nia, Egyes\xfclt K\xf6zt\xe1rsas\xe1g",alpha2Code:"TZ",alpha3Code:"TZA",numericCode:"834",callingCode:"+255"},{name:"Thaif\xf6ld",alpha2Code:"TH",alpha3Code:"THA",numericCode:"764",callingCode:"+66"},{name:"Kelet-Timor",alpha2Code:"TL",alpha3Code:"TLS",numericCode:"626",callingCode:"+670"},{name:"Togo",alpha2Code:"TG",alpha3Code:"TGO",numericCode:"768",callingCode:"+228"},{name:"Tokelau",alpha2Code:"TK",alpha3Code:"TKL",numericCode:"772",callingCode:"+690"},{name:"Tonga",alpha2Code:"TO",alpha3Code:"TON",numericCode:"776",callingCode:"+676"},{name:"Trinidad \xe9s Tobago",alpha2Code:"TT",alpha3Code:"TTO",numericCode:"780",callingCode:"+1868"},{name:"Tun\xe9zia",alpha2Code:"TN",alpha3Code:"TUN",numericCode:"788",callingCode:"+216"},{name:"T\xf6r\xf6korsz\xe1g",alpha2Code:"TR",alpha3Code:"TUR",numericCode:"792",callingCode:"+90"},{name:"T\xfcrkmeniszt\xe1n",alpha2Code:"TM",alpha3Code:"TKM",numericCode:"795",callingCode:"+993"},{name:"Turks \xe9s Caicos-szigetek",alpha2Code:"TC",alpha3Code:"TCA",numericCode:"796",callingCode:"+1649"},{name:"Tuvalu",alpha2Code:"TV",alpha3Code:"TUV",numericCode:"798",callingCode:"+688"},{name:"Uganda",alpha2Code:"UG",alpha3Code:"UGA",numericCode:"800",callingCode:"+256"},{name:"Ukrajna",alpha2Code:"UA",alpha3Code:"UKR",numericCode:"804",callingCode:"+380"},{name:"Egyes\xfclt Arab Em\xedrs\xe9gek",alpha2Code:"AE",alpha3Code:"ARE",numericCode:"784",callingCode:"+971"},{name:"Nagy-Britannia \xe9s \xc9szak-\xcdrorsz\xe1g Egyes\xfclt Kir\xe1lys\xe1ga",alpha2Code:"GB",alpha3Code:"GBR",numericCode:"826",callingCode:"+44"},{name:"Amerikai Egyes\xfclt \xc1llamok",alpha2Code:"US",alpha3Code:"USA",numericCode:"840",callingCode:"+1"},{name:"Uruguay",alpha2Code:"UY",alpha3Code:"URY",numericCode:"858",callingCode:"+598"},{name:"\xdczbegiszt\xe1n",alpha2Code:"UZ",alpha3Code:"UZB",numericCode:"860",callingCode:"+998"},{name:"Vanuatu",alpha2Code:"VU",alpha3Code:"VUT",numericCode:"548",callingCode:"+678"},{name:"Venezuela (Boliv\xe1ri K\xf6zt\xe1rsas\xe1g)",alpha2Code:"VE",alpha3Code:"VEN",numericCode:"862",callingCode:"+58"},{name:"Vietn\xe1m",alpha2Code:"VN",alpha3Code:"VNM",numericCode:"704",callingCode:"+84"},{name:"Wallis \xe9s Futuna",alpha2Code:"WF",alpha3Code:"WLF",numericCode:"876",callingCode:"+681"},{name:"Nyugat-Szahara",alpha2Code:"EH",alpha3Code:"ESH",numericCode:"732",callingCode:"+212"},{name:"Jemen",alpha2Code:"YE",alpha3Code:"YEM",numericCode:"887",callingCode:"+967"},{name:"Zambia",alpha2Code:"ZM",alpha3Code:"ZMB",numericCode:"894",callingCode:"+260"},{name:"Zimbabwe",alpha2Code:"ZW",alpha3Code:"ZWE",numericCode:"716",callingCode:"+263"}]}),K2=Object.freeze({__proto__:null,COUNTRIES_DB_IT:[{name:"Afghanistan",alpha2Code:"AF",alpha3Code:"AFG",numericCode:"004",callingCode:"+93"},{name:"Isole Aland",alpha2Code:"AX",alpha3Code:"ALA",numericCode:"248",callingCode:"+358"},{name:"Albania",alpha2Code:"AL",alpha3Code:"ALB",numericCode:"008",callingCode:"+355"},{name:"Algeria",alpha2Code:"DZ",alpha3Code:"DZA",numericCode:"012",callingCode:"+213"},{name:"Samoa Americane",alpha2Code:"AS",alpha3Code:"ASM",numericCode:"016",callingCode:"+1684"},{name:"Andorra",alpha2Code:"AD",alpha3Code:"AND",numericCode:"020",callingCode:"+376"},{name:"Angola",alpha2Code:"AO",alpha3Code:"AGO",numericCode:"024",callingCode:"+244"},{name:"Anguilla",alpha2Code:"AI",alpha3Code:"AIA",numericCode:"660",callingCode:"+1264"},{name:"Antartide",alpha2Code:"AQ",alpha3Code:"ATA",numericCode:"010",callingCode:"+672"},{name:"Antigua e Barbuda",alpha2Code:"AG",alpha3Code:"ATG",numericCode:"028",callingCode:"+1268"},{name:"Argentina",alpha2Code:"AR",alpha3Code:"ARG",numericCode:"032",callingCode:"+54"},{name:"Armenia",alpha2Code:"AM",alpha3Code:"ARM",numericCode:"051",callingCode:"+374"},{name:"Aruba",alpha2Code:"AW",alpha3Code:"ABW",numericCode:"533",callingCode:"+297"},{name:"Australia",alpha2Code:"AU",alpha3Code:"AUS",numericCode:"036",callingCode:"+61"},{name:"Austria",alpha2Code:"AT",alpha3Code:"AUT",numericCode:"040",callingCode:"+43"},{name:"Azerbaijan",alpha2Code:"AZ",alpha3Code:"AZE",numericCode:"031",callingCode:"+994"},{name:"Bahamas",alpha2Code:"BS",alpha3Code:"BHS",numericCode:"044",callingCode:"+1242"},{name:"Bahrein",alpha2Code:"BH",alpha3Code:"BHR",numericCode:"048",callingCode:"+973"},{name:"Bangladesh",alpha2Code:"BD",alpha3Code:"BGD",numericCode:"050",callingCode:"+880"},{name:"Barbados",alpha2Code:"BB",alpha3Code:"BRB",numericCode:"052",callingCode:"+1246"},{name:"Bielorussia",alpha2Code:"BY",alpha3Code:"BLR",numericCode:"112",callingCode:"+375"},{name:"Belgio",alpha2Code:"BE",alpha3Code:"BEL",numericCode:"056",callingCode:"+32"},{name:"Belize",alpha2Code:"BZ",alpha3Code:"BLZ",numericCode:"084",callingCode:"+501"},{name:"Benin",alpha2Code:"BJ",alpha3Code:"BEN",numericCode:"204",callingCode:"+229"},{name:"Bermuda",alpha2Code:"BM",alpha3Code:"BMU",numericCode:"060",callingCode:"+1441"},{name:"Bhutan",alpha2Code:"BT",alpha3Code:"BTN",numericCode:"064",callingCode:"+975"},{name:"Bolivia",alpha2Code:"BO",alpha3Code:"BOL",numericCode:"068",callingCode:"+591"},{name:"Bonaire, Saint-Eustache e Saba",alpha2Code:"BQ",alpha3Code:"BES",numericCode:"535",callingCode:"+5997"},{name:"Bosnia ed Erzegovina",alpha2Code:"BA",alpha3Code:"BIH",numericCode:"070",callingCode:"+387"},{name:"Botswana",alpha2Code:"BW",alpha3Code:"BWA",numericCode:"072",callingCode:"+267"},{name:"Isola Bouvet",alpha2Code:"BV",alpha3Code:"BVT",numericCode:"074",callingCode:"+"},{name:"Brasile",alpha2Code:"BR",alpha3Code:"BRA",numericCode:"076",callingCode:"+55"},{name:"Territorio britannico dell'oceano indiano",alpha2Code:"IO",alpha3Code:"IOT",numericCode:"086",callingCode:"+246"},{name:"Isole minori esterne degli Stati Uniti d'America",alpha2Code:"UM",alpha3Code:"UMI",numericCode:"581",callingCode:"+"},{name:"Isole Vergini Britanniche",alpha2Code:"VG",alpha3Code:"VGB",numericCode:"092",callingCode:"+1284"},{name:"Isole Vergini americane",alpha2Code:"VI",alpha3Code:"VIR",numericCode:"850",callingCode:"+1 340"},{name:"Brunei",alpha2Code:"BN",alpha3Code:"BRN",numericCode:"096",callingCode:"+673"},{name:"Bulgaria",alpha2Code:"BG",alpha3Code:"BGR",numericCode:"100",callingCode:"+359"},{name:"Burkina Faso",alpha2Code:"BF",alpha3Code:"BFA",numericCode:"854",callingCode:"+226"},{name:"Burundi",alpha2Code:"BI",alpha3Code:"BDI",numericCode:"108",callingCode:"+257"},{name:"Cambogia",alpha2Code:"KH",alpha3Code:"KHM",numericCode:"116",callingCode:"+855"},{name:"Camerun",alpha2Code:"CM",alpha3Code:"CMR",numericCode:"120",callingCode:"+237"},{name:"Canada",alpha2Code:"CA",alpha3Code:"CAN",numericCode:"124",callingCode:"+1"},{name:"Capo Verde",alpha2Code:"CV",alpha3Code:"CPV",numericCode:"132",callingCode:"+238"},{name:"Isole Cayman",alpha2Code:"KY",alpha3Code:"CYM",numericCode:"136",callingCode:"+1345"},{name:"Repubblica Centrafricana",alpha2Code:"CF",alpha3Code:"CAF",numericCode:"140",callingCode:"+236"},{name:"Ciad",alpha2Code:"TD",alpha3Code:"TCD",numericCode:"148",callingCode:"+235"},{name:"Cile",alpha2Code:"CL",alpha3Code:"CHL",numericCode:"152",callingCode:"+56"},{name:"Cina",alpha2Code:"CN",alpha3Code:"CHN",numericCode:"156",callingCode:"+86"},{name:"Isola di Natale",alpha2Code:"CX",alpha3Code:"CXR",numericCode:"162",callingCode:"+61"},{name:"Isole Cocos e Keeling",alpha2Code:"CC",alpha3Code:"CCK",numericCode:"166",callingCode:"+61"},{name:"Colombia",alpha2Code:"CO",alpha3Code:"COL",numericCode:"170",callingCode:"+57"},{name:"Comore",alpha2Code:"KM",alpha3Code:"COM",numericCode:"174",callingCode:"+269"},{name:"Congo",alpha2Code:"CG",alpha3Code:"COG",numericCode:"178",callingCode:"+242"},{name:"Congo (Rep. Dem.)",alpha2Code:"CD",alpha3Code:"COD",numericCode:"180",callingCode:"+243"},{name:"Isole Cook",alpha2Code:"CK",alpha3Code:"COK",numericCode:"184",callingCode:"+682"},{name:"Costa Rica",alpha2Code:"CR",alpha3Code:"CRI",numericCode:"188",callingCode:"+506"},{name:"Croazia",alpha2Code:"HR",alpha3Code:"HRV",numericCode:"191",callingCode:"+385"},{name:"Cuba",alpha2Code:"CU",alpha3Code:"CUB",numericCode:"192",callingCode:"+53"},{name:"Cura\xe7ao",alpha2Code:"CW",alpha3Code:"CUW",numericCode:"531",callingCode:"+599"},{name:"Cipro",alpha2Code:"CY",alpha3Code:"CYP",numericCode:"196",callingCode:"+357"},{name:"Repubblica Ceca",alpha2Code:"CZ",alpha3Code:"CZE",numericCode:"203",callingCode:"+420"},{name:"Danimarca",alpha2Code:"DK",alpha3Code:"DNK",numericCode:"208",callingCode:"+45"},{name:"Gibuti",alpha2Code:"DJ",alpha3Code:"DJI",numericCode:"262",callingCode:"+253"},{name:"Dominica",alpha2Code:"DM",alpha3Code:"DMA",numericCode:"212",callingCode:"+1767"},{name:"Repubblica Dominicana",alpha2Code:"DO",alpha3Code:"DOM",numericCode:"214",callingCode:"+1809"},{name:"Ecuador",alpha2Code:"EC",alpha3Code:"ECU",numericCode:"218",callingCode:"+593"},{name:"Egitto",alpha2Code:"EG",alpha3Code:"EGY",numericCode:"818",callingCode:"+20"},{name:"El Salvador",alpha2Code:"SV",alpha3Code:"SLV",numericCode:"222",callingCode:"+503"},{name:"Guinea Equatoriale",alpha2Code:"GQ",alpha3Code:"GNQ",numericCode:"226",callingCode:"+240"},{name:"Eritrea",alpha2Code:"ER",alpha3Code:"ERI",numericCode:"232",callingCode:"+291"},{name:"Estonia",alpha2Code:"EE",alpha3Code:"EST",numericCode:"233",callingCode:"+372"},{name:"Etiopia",alpha2Code:"ET",alpha3Code:"ETH",numericCode:"231",callingCode:"+251"},{name:"Isole Falkland o Isole Malvine",alpha2Code:"FK",alpha3Code:"FLK",numericCode:"238",callingCode:"+500"},{name:"Isole Far Oer",alpha2Code:"FO",alpha3Code:"FRO",numericCode:"234",callingCode:"+298"},{name:"Figi",alpha2Code:"FJ",alpha3Code:"FJI",numericCode:"242",callingCode:"+679"},{name:"Finlandia",alpha2Code:"FI",alpha3Code:"FIN",numericCode:"246",callingCode:"+358"},{name:"Francia",alpha2Code:"FR",alpha3Code:"FRA",numericCode:"250",callingCode:"+33"},{name:"Guyana francese",alpha2Code:"GF",alpha3Code:"GUF",numericCode:"254",callingCode:"+594"},{name:"Polinesia Francese",alpha2Code:"PF",alpha3Code:"PYF",numericCode:"258",callingCode:"+689"},{name:"Territori Francesi del Sud",alpha2Code:"TF",alpha3Code:"ATF",numericCode:"260",callingCode:"+"},{name:"Gabon",alpha2Code:"GA",alpha3Code:"GAB",numericCode:"266",callingCode:"+241"},{name:"Gambia",alpha2Code:"GM",alpha3Code:"GMB",numericCode:"270",callingCode:"+220"},{name:"Georgia",alpha2Code:"GE",alpha3Code:"GEO",numericCode:"268",callingCode:"+995"},{name:"Germania",alpha2Code:"DE",alpha3Code:"DEU",numericCode:"276",callingCode:"+49"},{name:"Ghana",alpha2Code:"GH",alpha3Code:"GHA",numericCode:"288",callingCode:"+233"},{name:"Gibilterra",alpha2Code:"GI",alpha3Code:"GIB",numericCode:"292",callingCode:"+350"},{name:"Grecia",alpha2Code:"GR",alpha3Code:"GRC",numericCode:"300",callingCode:"+30"},{name:"Groenlandia",alpha2Code:"GL",alpha3Code:"GRL",numericCode:"304",callingCode:"+299"},{name:"Grenada",alpha2Code:"GD",alpha3Code:"GRD",numericCode:"308",callingCode:"+1473"},{name:"Guadeloupa",alpha2Code:"GP",alpha3Code:"GLP",numericCode:"312",callingCode:"+590"},{name:"Guam",alpha2Code:"GU",alpha3Code:"GUM",numericCode:"316",callingCode:"+1671"},{name:"Guatemala",alpha2Code:"GT",alpha3Code:"GTM",numericCode:"320",callingCode:"+502"},{name:"Guernsey",alpha2Code:"GG",alpha3Code:"GGY",numericCode:"831",callingCode:"+44"},{name:"Guinea",alpha2Code:"GN",alpha3Code:"GIN",numericCode:"324",callingCode:"+224"},{name:"Guinea-Bissau",alpha2Code:"GW",alpha3Code:"GNB",numericCode:"624",callingCode:"+245"},{name:"Guyana",alpha2Code:"GY",alpha3Code:"GUY",numericCode:"328",callingCode:"+592"},{name:"Haiti",alpha2Code:"HT",alpha3Code:"HTI",numericCode:"332",callingCode:"+509"},{name:"Isole Heard e McDonald",alpha2Code:"HM",alpha3Code:"HMD",numericCode:"334",callingCode:"+"},{name:"Santa Sede",alpha2Code:"VA",alpha3Code:"VAT",numericCode:"336",callingCode:"+379"},{name:"Honduras",alpha2Code:"HN",alpha3Code:"HND",numericCode:"340",callingCode:"+504"},{name:"Hong Kong",alpha2Code:"HK",alpha3Code:"HKG",numericCode:"344",callingCode:"+852"},{name:"Ungheria",alpha2Code:"HU",alpha3Code:"HUN",numericCode:"348",callingCode:"+36"},{name:"Islanda",alpha2Code:"IS",alpha3Code:"ISL",numericCode:"352",callingCode:"+354"},{name:"India",alpha2Code:"IN",alpha3Code:"IND",numericCode:"356",callingCode:"+91"},{name:"Indonesia",alpha2Code:"ID",alpha3Code:"IDN",numericCode:"360",callingCode:"+62"},{name:"Costa D'Avorio",alpha2Code:"CI",alpha3Code:"CIV",numericCode:"384",callingCode:"+225"},{name:"Iran",alpha2Code:"IR",alpha3Code:"IRN",numericCode:"364",callingCode:"+98"},{name:"Iraq",alpha2Code:"IQ",alpha3Code:"IRQ",numericCode:"368",callingCode:"+964"},{name:"Irlanda",alpha2Code:"IE",alpha3Code:"IRL",numericCode:"372",callingCode:"+353"},{name:"Isola di Man",alpha2Code:"IM",alpha3Code:"IMN",numericCode:"833",callingCode:"+44"},{name:"Israele",alpha2Code:"IL",alpha3Code:"ISR",numericCode:"376",callingCode:"+972"},{name:"Italia",alpha2Code:"IT",alpha3Code:"ITA",numericCode:"380",callingCode:"+39"},{name:"Giamaica",alpha2Code:"JM",alpha3Code:"JAM",numericCode:"388",callingCode:"+1876"},{name:"Giappone",alpha2Code:"JP",alpha3Code:"JPN",numericCode:"392",callingCode:"+81"},{name:"Isola di Jersey",alpha2Code:"JE",alpha3Code:"JEY",numericCode:"832",callingCode:"+44"},{name:"Giordania",alpha2Code:"JO",alpha3Code:"JOR",numericCode:"400",callingCode:"+962"},{name:"Kazakistan",alpha2Code:"KZ",alpha3Code:"KAZ",numericCode:"398",callingCode:"+7"},{name:"Kenya",alpha2Code:"KE",alpha3Code:"KEN",numericCode:"404",callingCode:"+254"},{name:"Kiribati",alpha2Code:"KI",alpha3Code:"KIR",numericCode:"296",callingCode:"+686"},{name:"Kuwait",alpha2Code:"KW",alpha3Code:"KWT",numericCode:"414",callingCode:"+965"},{name:"Kirghizistan",alpha2Code:"KG",alpha3Code:"KGZ",numericCode:"417",callingCode:"+996"},{name:"Laos",alpha2Code:"LA",alpha3Code:"LAO",numericCode:"418",callingCode:"+856"},{name:"Lettonia",alpha2Code:"LV",alpha3Code:"LVA",numericCode:"428",callingCode:"+371"},{name:"Libano",alpha2Code:"LB",alpha3Code:"LBN",numericCode:"422",callingCode:"+961"},{name:"Lesotho",alpha2Code:"LS",alpha3Code:"LSO",numericCode:"426",callingCode:"+266"},{name:"Liberia",alpha2Code:"LR",alpha3Code:"LBR",numericCode:"430",callingCode:"+231"},{name:"Libia",alpha2Code:"LY",alpha3Code:"LBY",numericCode:"434",callingCode:"+218"},{name:"Liechtenstein",alpha2Code:"LI",alpha3Code:"LIE",numericCode:"438",callingCode:"+423"},{name:"Lituania",alpha2Code:"LT",alpha3Code:"LTU",numericCode:"440",callingCode:"+370"},{name:"Lussemburgo",alpha2Code:"LU",alpha3Code:"LUX",numericCode:"442",callingCode:"+352"},{name:"Macao",alpha2Code:"MO",alpha3Code:"MAC",numericCode:"446",callingCode:"+853"},{name:"Macedonia",alpha2Code:"MK",alpha3Code:"MKD",numericCode:"807",callingCode:"+389"},{name:"Madagascar",alpha2Code:"MG",alpha3Code:"MDG",numericCode:"450",callingCode:"+261"},{name:"Malawi",alpha2Code:"MW",alpha3Code:"MWI",numericCode:"454",callingCode:"+265"},{name:"Malesia",alpha2Code:"MY",alpha3Code:"MYS",numericCode:"458",callingCode:"+60"},{name:"Maldive",alpha2Code:"MV",alpha3Code:"MDV",numericCode:"462",callingCode:"+960"},{name:"Mali",alpha2Code:"ML",alpha3Code:"MLI",numericCode:"466",callingCode:"+223"},{name:"Malta",alpha2Code:"MT",alpha3Code:"MLT",numericCode:"470",callingCode:"+356"},{name:"Isole Marshall",alpha2Code:"MH",alpha3Code:"MHL",numericCode:"584",callingCode:"+692"},{name:"Martinica",alpha2Code:"MQ",alpha3Code:"MTQ",numericCode:"474",callingCode:"+596"},{name:"Mauritania",alpha2Code:"MR",alpha3Code:"MRT",numericCode:"478",callingCode:"+222"},{name:"Mauritius",alpha2Code:"MU",alpha3Code:"MUS",numericCode:"480",callingCode:"+230"},{name:"Mayotte",alpha2Code:"YT",alpha3Code:"MYT",numericCode:"175",callingCode:"+262"},{name:"Messico",alpha2Code:"MX",alpha3Code:"MEX",numericCode:"484",callingCode:"+52"},{name:"Micronesia",alpha2Code:"FM",alpha3Code:"FSM",numericCode:"583",callingCode:"+691"},{name:"Moldavia",alpha2Code:"MD",alpha3Code:"MDA",numericCode:"498",callingCode:"+373"},{name:"Principato di Monaco",alpha2Code:"MC",alpha3Code:"MCO",numericCode:"492",callingCode:"+377"},{name:"Mongolia",alpha2Code:"MN",alpha3Code:"MNG",numericCode:"496",callingCode:"+976"},{name:"Montenegro",alpha2Code:"ME",alpha3Code:"MNE",numericCode:"499",callingCode:"+382"},{name:"Montserrat",alpha2Code:"MS",alpha3Code:"MSR",numericCode:"500",callingCode:"+1664"},{name:"Marocco",alpha2Code:"MA",alpha3Code:"MAR",numericCode:"504",callingCode:"+212"},{name:"Mozambico",alpha2Code:"MZ",alpha3Code:"MOZ",numericCode:"508",callingCode:"+258"},{name:"Birmania",alpha2Code:"MM",alpha3Code:"MMR",numericCode:"104",callingCode:"+95"},{name:"Namibia",alpha2Code:"NA",alpha3Code:"NAM",numericCode:"516",callingCode:"+264"},{name:"Nauru",alpha2Code:"NR",alpha3Code:"NRU",numericCode:"520",callingCode:"+674"},{name:"Nepal",alpha2Code:"NP",alpha3Code:"NPL",numericCode:"524",callingCode:"+977"},{name:"Paesi Bassi",alpha2Code:"NL",alpha3Code:"NLD",numericCode:"528",callingCode:"+31"},{name:"Nuova Caledonia",alpha2Code:"NC",alpha3Code:"NCL",numericCode:"540",callingCode:"+687"},{name:"Nuova Zelanda",alpha2Code:"NZ",alpha3Code:"NZL",numericCode:"554",callingCode:"+64"},{name:"Nicaragua",alpha2Code:"NI",alpha3Code:"NIC",numericCode:"558",callingCode:"+505"},{name:"Niger",alpha2Code:"NE",alpha3Code:"NER",numericCode:"562",callingCode:"+227"},{name:"Nigeria",alpha2Code:"NG",alpha3Code:"NGA",numericCode:"566",callingCode:"+234"},{name:"Niue",alpha2Code:"NU",alpha3Code:"NIU",numericCode:"570",callingCode:"+683"},{name:"Isola Norfolk",alpha2Code:"NF",alpha3Code:"NFK",numericCode:"574",callingCode:"+672"},{name:"Corea del Nord",alpha2Code:"KP",alpha3Code:"PRK",numericCode:"408",callingCode:"+850"},{name:"Isole Marianne Settentrionali",alpha2Code:"MP",alpha3Code:"MNP",numericCode:"580",callingCode:"+1670"},{name:"Norvegia",alpha2Code:"NO",alpha3Code:"NOR",numericCode:"578",callingCode:"+47"},{name:"oman",alpha2Code:"OM",alpha3Code:"OMN",numericCode:"512",callingCode:"+968"},{name:"Pakistan",alpha2Code:"PK",alpha3Code:"PAK",numericCode:"586",callingCode:"+92"},{name:"Palau",alpha2Code:"PW",alpha3Code:"PLW",numericCode:"585",callingCode:"+680"},{name:"Palestina",alpha2Code:"PS",alpha3Code:"PSE",numericCode:"275",callingCode:"+970"},{name:"Panama",alpha2Code:"PA",alpha3Code:"PAN",numericCode:"591",callingCode:"+507"},{name:"Papua Nuova Guinea",alpha2Code:"PG",alpha3Code:"PNG",numericCode:"598",callingCode:"+675"},{name:"Paraguay",alpha2Code:"PY",alpha3Code:"PRY",numericCode:"600",callingCode:"+595"},{name:"Per\xf9",alpha2Code:"PE",alpha3Code:"PER",numericCode:"604",callingCode:"+51"},{name:"Filippine",alpha2Code:"PH",alpha3Code:"PHL",numericCode:"608",callingCode:"+63"},{name:"Isole Pitcairn",alpha2Code:"PN",alpha3Code:"PCN",numericCode:"612",callingCode:"+64"},{name:"Polonia",alpha2Code:"PL",alpha3Code:"POL",numericCode:"616",callingCode:"+48"},{name:"Portogallo",alpha2Code:"PT",alpha3Code:"PRT",numericCode:"620",callingCode:"+351"},{name:"Porto Rico",alpha2Code:"PR",alpha3Code:"PRI",numericCode:"630",callingCode:"+1"},{name:"Qatar",alpha2Code:"QA",alpha3Code:"QAT",numericCode:"634",callingCode:"+974"},{name:"Kosovo",alpha2Code:"XK",alpha3Code:"KOS",numericCode:null,callingCode:"+383"},{name:"Riunione",alpha2Code:"RE",alpha3Code:"REU",numericCode:"638",callingCode:"+262"},{name:"Romania",alpha2Code:"RO",alpha3Code:"ROU",numericCode:"642",callingCode:"+40"},{name:"Russia",alpha2Code:"RU",alpha3Code:"RUS",numericCode:"643",callingCode:"+7"},{name:"Ruanda",alpha2Code:"RW",alpha3Code:"RWA",numericCode:"646",callingCode:"+250"},{name:"Antille Francesi",alpha2Code:"BL",alpha3Code:"BLM",numericCode:"652",callingCode:"+590"},{name:"Sant'Elena",alpha2Code:"SH",alpha3Code:"SHN",numericCode:"654",callingCode:"+290"},{name:"Saint Kitts e Nevis",alpha2Code:"KN",alpha3Code:"KNA",numericCode:"659",callingCode:"+1869"},{name:"Santa Lucia",alpha2Code:"LC",alpha3Code:"LCA",numericCode:"662",callingCode:"+1758"},{name:"Saint Martin",alpha2Code:"MF",alpha3Code:"MAF",numericCode:"663",callingCode:"+590"},{name:"Saint-Pierre e Miquelon",alpha2Code:"PM",alpha3Code:"SPM",numericCode:"666",callingCode:"+508"},{name:"Saint Vincent e Grenadine",alpha2Code:"VC",alpha3Code:"VCT",numericCode:"670",callingCode:"+1784"},{name:"Samoa",alpha2Code:"WS",alpha3Code:"WSM",numericCode:"882",callingCode:"+685"},{name:"San Marino",alpha2Code:"SM",alpha3Code:"SMR",numericCode:"674",callingCode:"+378"},{name:"S\xe3o Tom\xe9 e Pr\xedncipe",alpha2Code:"ST",alpha3Code:"STP",numericCode:"678",callingCode:"+239"},{name:"Arabia Saudita",alpha2Code:"SA",alpha3Code:"SAU",numericCode:"682",callingCode:"+966"},{name:"Senegal",alpha2Code:"SN",alpha3Code:"SEN",numericCode:"686",callingCode:"+221"},{name:"Serbia",alpha2Code:"RS",alpha3Code:"SRB",numericCode:"688",callingCode:"+381"},{name:"Seychelles",alpha2Code:"SC",alpha3Code:"SYC",numericCode:"690",callingCode:"+248"},{name:"Sierra Leone",alpha2Code:"SL",alpha3Code:"SLE",numericCode:"694",callingCode:"+232"},{name:"Singapore",alpha2Code:"SG",alpha3Code:"SGP",numericCode:"702",callingCode:"+65"},{name:"Saint Martin (parte olandese)",alpha2Code:"SX",alpha3Code:"SXM",numericCode:"534",callingCode:"+1721"},{name:"Slovacchia",alpha2Code:"SK",alpha3Code:"SVK",numericCode:"703",callingCode:"+421"},{name:"Slovenia",alpha2Code:"SI",alpha3Code:"SVN",numericCode:"705",callingCode:"+386"},{name:"Isole Salomone",alpha2Code:"SB",alpha3Code:"SLB",numericCode:"090",callingCode:"+677"},{name:"Somalia",alpha2Code:"SO",alpha3Code:"SOM",numericCode:"706",callingCode:"+252"},{name:"Sud Africa",alpha2Code:"ZA",alpha3Code:"ZAF",numericCode:"710",callingCode:"+27"},{name:"Georgia del Sud e Isole Sandwich Meridionali",alpha2Code:"GS",alpha3Code:"SGS",numericCode:"239",callingCode:"+500"},{name:"Corea del Sud",alpha2Code:"KR",alpha3Code:"KOR",numericCode:"410",callingCode:"+82"},{name:"Sudan del sud",alpha2Code:"SS",alpha3Code:"SSD",numericCode:"728",callingCode:"+211"},{name:"Spagna",alpha2Code:"ES",alpha3Code:"ESP",numericCode:"724",callingCode:"+34"},{name:"Sri Lanka",alpha2Code:"LK",alpha3Code:"LKA",numericCode:"144",callingCode:"+94"},{name:"Sudan",alpha2Code:"SD",alpha3Code:"SDN",numericCode:"729",callingCode:"+249"},{name:"Suriname",alpha2Code:"SR",alpha3Code:"SUR",numericCode:"740",callingCode:"+597"},{name:"Svalbard e Jan Mayen",alpha2Code:"SJ",alpha3Code:"SJM",numericCode:"744",callingCode:"+4779"},{name:"Swaziland",alpha2Code:"SZ",alpha3Code:"SWZ",numericCode:"748",callingCode:"+268"},{name:"Svezia",alpha2Code:"SE",alpha3Code:"SWE",numericCode:"752",callingCode:"+46"},{name:"Svizzera",alpha2Code:"CH",alpha3Code:"CHE",numericCode:"756",callingCode:"+41"},{name:"Siria",alpha2Code:"SY",alpha3Code:"SYR",numericCode:"760",callingCode:"+963"},{name:"Taiwan, China",alpha2Code:"TW",alpha3Code:"TWN",numericCode:"158",callingCode:"+886"},{name:"Tagikistan",alpha2Code:"TJ",alpha3Code:"TJK",numericCode:"762",callingCode:"+992"},{name:"Tanzania",alpha2Code:"TZ",alpha3Code:"TZA",numericCode:"834",callingCode:"+255"},{name:"Tailandia",alpha2Code:"TH",alpha3Code:"THA",numericCode:"764",callingCode:"+66"},{name:"Timor Est",alpha2Code:"TL",alpha3Code:"TLS",numericCode:"626",callingCode:"+670"},{name:"Togo",alpha2Code:"TG",alpha3Code:"TGO",numericCode:"768",callingCode:"+228"},{name:"Isole Tokelau",alpha2Code:"TK",alpha3Code:"TKL",numericCode:"772",callingCode:"+690"},{name:"Tonga",alpha2Code:"TO",alpha3Code:"TON",numericCode:"776",callingCode:"+676"},{name:"Trinidad e Tobago",alpha2Code:"TT",alpha3Code:"TTO",numericCode:"780",callingCode:"+1868"},{name:"Tunisia",alpha2Code:"TN",alpha3Code:"TUN",numericCode:"788",callingCode:"+216"},{name:"Turchia",alpha2Code:"TR",alpha3Code:"TUR",numericCode:"792",callingCode:"+90"},{name:"Turkmenistan",alpha2Code:"TM",alpha3Code:"TKM",numericCode:"795",callingCode:"+993"},{name:"Isole Turks e Caicos",alpha2Code:"TC",alpha3Code:"TCA",numericCode:"796",callingCode:"+1649"},{name:"Tuvalu",alpha2Code:"TV",alpha3Code:"TUV",numericCode:"798",callingCode:"+688"},{name:"Uganda",alpha2Code:"UG",alpha3Code:"UGA",numericCode:"800",callingCode:"+256"},{name:"Ucraina",alpha2Code:"UA",alpha3Code:"UKR",numericCode:"804",callingCode:"+380"},{name:"Emirati Arabi Uniti",alpha2Code:"AE",alpha3Code:"ARE",numericCode:"784",callingCode:"+971"},{name:"Regno Unito",alpha2Code:"GB",alpha3Code:"GBR",numericCode:"826",callingCode:"+44"},{name:"Stati Uniti D'America",alpha2Code:"US",alpha3Code:"USA",numericCode:"840",callingCode:"+1"},{name:"Uruguay",alpha2Code:"UY",alpha3Code:"URY",numericCode:"858",callingCode:"+598"},{name:"Uzbekistan",alpha2Code:"UZ",alpha3Code:"UZB",numericCode:"860",callingCode:"+998"},{name:"Vanuatu",alpha2Code:"VU",alpha3Code:"VUT",numericCode:"548",callingCode:"+678"},{name:"Venezuela",alpha2Code:"VE",alpha3Code:"VEN",numericCode:"862",callingCode:"+58"},{name:"Vietnam",alpha2Code:"VN",alpha3Code:"VNM",numericCode:"704",callingCode:"+84"},{name:"Wallis e Futuna",alpha2Code:"WF",alpha3Code:"WLF",numericCode:"876",callingCode:"+681"},{name:"Sahara Occidentale",alpha2Code:"EH",alpha3Code:"ESH",numericCode:"732",callingCode:"+212"},{name:"Yemen",alpha2Code:"YE",alpha3Code:"YEM",numericCode:"887",callingCode:"+967"},{name:"Zambia",alpha2Code:"ZM",alpha3Code:"ZMB",numericCode:"894",callingCode:"+260"},{name:"Zimbabwe",alpha2Code:"ZW",alpha3Code:"ZWE",numericCode:"716",callingCode:"+263"}]}),j2=Object.freeze({__proto__:null,COUNTRIES_DB_GL:[{name:"Afganist\xe1n",alpha2Code:"AF",alpha3Code:"AFG",numericCode:"004",callingCode:"+93"},{name:"Alandia",alpha2Code:"AX",alpha3Code:"ALA",numericCode:"248",callingCode:"+358"},{name:"Albania",alpha2Code:"AL",alpha3Code:"ALB",numericCode:"008",callingCode:"+355"},{name:"Alxeria",alpha2Code:"DZ",alpha3Code:"DZA",numericCode:"012",callingCode:"+213"},{name:"Samoa Americana",alpha2Code:"AS",alpha3Code:"ASM",numericCode:"016",callingCode:"+1684"},{name:"Andorra",alpha2Code:"AD",alpha3Code:"AND",numericCode:"020",callingCode:"+376"},{name:"Angola",alpha2Code:"AO",alpha3Code:"AGO",numericCode:"024",callingCode:"+244"},{name:"Anguilla",alpha2Code:"AI",alpha3Code:"AIA",numericCode:"660",callingCode:"+1264"},{name:"Ant\xe1rtida",alpha2Code:"AQ",alpha3Code:"ATA",numericCode:"010",callingCode:"+672"},{name:"Antigua e Barbuda",alpha2Code:"AG",alpha3Code:"ATG",numericCode:"028",callingCode:"+1268"},{name:"Arxentina",alpha2Code:"AR",alpha3Code:"ARG",numericCode:"032",callingCode:"+54"},{name:"Armenia",alpha2Code:"AM",alpha3Code:"ARM",numericCode:"051",callingCode:"+374"},{name:"Aruba",alpha2Code:"AW",alpha3Code:"ABW",numericCode:"533",callingCode:"+297"},{name:"Australia",alpha2Code:"AU",alpha3Code:"AUS",numericCode:"036",callingCode:"+61"},{name:"Austria",alpha2Code:"AT",alpha3Code:"AUT",numericCode:"040",callingCode:"+43"},{name:"Acerbaix\xe1n",alpha2Code:"AZ",alpha3Code:"AZE",numericCode:"031",callingCode:"+994"},{name:"Bahamas",alpha2Code:"BS",alpha3Code:"BHS",numericCode:"044",callingCode:"+1242"},{name:"Bahrein",alpha2Code:"BH",alpha3Code:"BHR",numericCode:"048",callingCode:"+973"},{name:"Bangladesh",alpha2Code:"BD",alpha3Code:"BGD",numericCode:"050",callingCode:"+880"},{name:"Barbados",alpha2Code:"BB",alpha3Code:"BRB",numericCode:"052",callingCode:"+1246"},{name:"Bielorrusia",alpha2Code:"BY",alpha3Code:"BLR",numericCode:"112",callingCode:"+375"},{name:"B\xe9lxica",alpha2Code:"BE",alpha3Code:"BEL",numericCode:"056",callingCode:"+32"},{name:"Belice",alpha2Code:"BZ",alpha3Code:"BLZ",numericCode:"084",callingCode:"+501"},{name:"Ben\xedn",alpha2Code:"BJ",alpha3Code:"BEN",numericCode:"204",callingCode:"+229"},{name:"Bermudas",alpha2Code:"BM",alpha3Code:"BMU",numericCode:"060",callingCode:"+1441"},{name:"But\xe1n",alpha2Code:"BT",alpha3Code:"BTN",numericCode:"064",callingCode:"+975"},{name:"Bolivia",alpha2Code:"BO",alpha3Code:"BOL",numericCode:"068",callingCode:"+591"},{name:"Bonaire, Saint-Eustache e Saba",alpha2Code:"BQ",alpha3Code:"BES",numericCode:"535",callingCode:"+5997"},{name:"Bosnia e Hercegovina",alpha2Code:"BA",alpha3Code:"BIH",numericCode:"070",callingCode:"+387"},{name:"Botswana",alpha2Code:"BW",alpha3Code:"BWA",numericCode:"072",callingCode:"+267"},{name:"Isla Bouvet",alpha2Code:"BV",alpha3Code:"BVT",numericCode:"074",callingCode:"+"},{name:"Brasil",alpha2Code:"BR",alpha3Code:"BRA",numericCode:"076",callingCode:"+55"},{name:"Territorio Brit\xe1nico do Oc\xe9ano \xcdndico",alpha2Code:"IO",alpha3Code:"IOT",numericCode:"086",callingCode:"+246"},{name:"Illas Ultramarinas Menores de Estados Unidos",alpha2Code:"UM",alpha3Code:"UMI",numericCode:"581",callingCode:"+"},{name:"Illas Virxes do Reino Unido",alpha2Code:"VG",alpha3Code:"VGB",numericCode:"092",callingCode:"+1284"},{name:"Illas Virxes dos Estados Unidos",alpha2Code:"VI",alpha3Code:"VIR",numericCode:"850",callingCode:"+1 340"},{name:"Brunei",alpha2Code:"BN",alpha3Code:"BRN",numericCode:"096",callingCode:"+673"},{name:"Bulgaria",alpha2Code:"BG",alpha3Code:"BGR",numericCode:"100",callingCode:"+359"},{name:"Burkina Faso",alpha2Code:"BF",alpha3Code:"BFA",numericCode:"854",callingCode:"+226"},{name:"Burundi",alpha2Code:"BI",alpha3Code:"BDI",numericCode:"108",callingCode:"+257"},{name:"Cambodia",alpha2Code:"KH",alpha3Code:"KHM",numericCode:"116",callingCode:"+855"},{name:"Camer\xfan",alpha2Code:"CM",alpha3Code:"CMR",numericCode:"120",callingCode:"+237"},{name:"Canad\xe1",alpha2Code:"CA",alpha3Code:"CAN",numericCode:"124",callingCode:"+1"},{name:"Cabo Verde",alpha2Code:"CV",alpha3Code:"CPV",numericCode:"132",callingCode:"+238"},{name:"Illas Caim\xe1n",alpha2Code:"KY",alpha3Code:"CYM",numericCode:"136",callingCode:"+1345"},{name:"Rep\xfablica Centroafricana",alpha2Code:"CF",alpha3Code:"CAF",numericCode:"140",callingCode:"+236"},{name:"Chad",alpha2Code:"TD",alpha3Code:"TCD",numericCode:"148",callingCode:"+235"},{name:"Chile",alpha2Code:"CL",alpha3Code:"CHL",numericCode:"152",callingCode:"+56"},{name:"China",alpha2Code:"CN",alpha3Code:"CHN",numericCode:"156",callingCode:"+86"},{name:"Isla de Nadal",alpha2Code:"CX",alpha3Code:"CXR",numericCode:"162",callingCode:"+61"},{name:"Illas Cocos ou Illas Keeling",alpha2Code:"CC",alpha3Code:"CCK",numericCode:"166",callingCode:"+61"},{name:"Colombia",alpha2Code:"CO",alpha3Code:"COL",numericCode:"170",callingCode:"+57"},{name:"Comoras",alpha2Code:"KM",alpha3Code:"COM",numericCode:"174",callingCode:"+269"},{name:"Congo",alpha2Code:"CG",alpha3Code:"COG",numericCode:"178",callingCode:"+242"},{name:"Congo (Rep. Dem.)",alpha2Code:"CD",alpha3Code:"COD",numericCode:"180",callingCode:"+243"},{name:"Illas Cook",alpha2Code:"CK",alpha3Code:"COK",numericCode:"184",callingCode:"+682"},{name:"Costa Rica",alpha2Code:"CR",alpha3Code:"CRI",numericCode:"188",callingCode:"+506"},{name:"Croacia",alpha2Code:"HR",alpha3Code:"HRV",numericCode:"191",callingCode:"+385"},{name:"Cuba",alpha2Code:"CU",alpha3Code:"CUB",numericCode:"192",callingCode:"+53"},{name:"Cura\xe7ao",alpha2Code:"CW",alpha3Code:"CUW",numericCode:"531",callingCode:"+599"},{name:"Chipre",alpha2Code:"CY",alpha3Code:"CYP",numericCode:"196",callingCode:"+357"},{name:"Rep\xfablica Checa",alpha2Code:"CZ",alpha3Code:"CZE",numericCode:"203",callingCode:"+420"},{name:"Dinamarca",alpha2Code:"DK",alpha3Code:"DNK",numericCode:"208",callingCode:"+45"},{name:"Xibut\xed",alpha2Code:"DJ",alpha3Code:"DJI",numericCode:"262",callingCode:"+253"},{name:"Dominica",alpha2Code:"DM",alpha3Code:"DMA",numericCode:"212",callingCode:"+1767"},{name:"Rep\xfablica Dominicana",alpha2Code:"DO",alpha3Code:"DOM",numericCode:"214",callingCode:"+1809"},{name:"Ecuador",alpha2Code:"EC",alpha3Code:"ECU",numericCode:"218",callingCode:"+593"},{name:"Exipto",alpha2Code:"EG",alpha3Code:"EGY",numericCode:"818",callingCode:"+20"},{name:"O Salvador",alpha2Code:"SV",alpha3Code:"SLV",numericCode:"222",callingCode:"+503"},{name:"Guinea Ecuatorial",alpha2Code:"GQ",alpha3Code:"GNQ",numericCode:"226",callingCode:"+240"},{name:"Eritrea",alpha2Code:"ER",alpha3Code:"ERI",numericCode:"232",callingCode:"+291"},{name:"Estonia",alpha2Code:"EE",alpha3Code:"EST",numericCode:"233",callingCode:"+372"},{name:"Etiop\xeda",alpha2Code:"ET",alpha3Code:"ETH",numericCode:"231",callingCode:"+251"},{name:"Illas Malvinas",alpha2Code:"FK",alpha3Code:"FLK",numericCode:"238",callingCode:"+500"},{name:"Illas Faroe",alpha2Code:"FO",alpha3Code:"FRO",numericCode:"234",callingCode:"+298"},{name:"Fiyi",alpha2Code:"FJ",alpha3Code:"FJI",numericCode:"242",callingCode:"+679"},{name:"Finlandia",alpha2Code:"FI",alpha3Code:"FIN",numericCode:"246",callingCode:"+358"},{name:"Francia",alpha2Code:"FR",alpha3Code:"FRA",numericCode:"250",callingCode:"+33"},{name:"Guayana Francesa",alpha2Code:"GF",alpha3Code:"GUF",numericCode:"254",callingCode:"+594"},{name:"Polinesia Francesa",alpha2Code:"PF",alpha3Code:"PYF",numericCode:"258",callingCode:"+689"},{name:"Terras Austrais e Ant\xe1rticas Francesas",alpha2Code:"TF",alpha3Code:"ATF",numericCode:"260",callingCode:"+"},{name:"Gab\xf3n",alpha2Code:"GA",alpha3Code:"GAB",numericCode:"266",callingCode:"+241"},{name:"Gambia",alpha2Code:"GM",alpha3Code:"GMB",numericCode:"270",callingCode:"+220"},{name:"Xeorxia",alpha2Code:"GE",alpha3Code:"GEO",numericCode:"268",callingCode:"+995"},{name:"Alema\xf1a",alpha2Code:"DE",alpha3Code:"DEU",numericCode:"276",callingCode:"+49"},{name:"Ghana",alpha2Code:"GH",alpha3Code:"GHA",numericCode:"288",callingCode:"+233"},{name:"Xibraltar",alpha2Code:"GI",alpha3Code:"GIB",numericCode:"292",callingCode:"+350"},{name:"Grecia",alpha2Code:"GR",alpha3Code:"GRC",numericCode:"300",callingCode:"+30"},{name:"Groenlandia",alpha2Code:"GL",alpha3Code:"GRL",numericCode:"304",callingCode:"+299"},{name:"Grenada",alpha2Code:"GD",alpha3Code:"GRD",numericCode:"308",callingCode:"+1473"},{name:"Guadalupe",alpha2Code:"GP",alpha3Code:"GLP",numericCode:"312",callingCode:"+590"},{name:"Guam",alpha2Code:"GU",alpha3Code:"GUM",numericCode:"316",callingCode:"+1671"},{name:"Guatemala",alpha2Code:"GT",alpha3Code:"GTM",numericCode:"320",callingCode:"+502"},{name:"Guernsey",alpha2Code:"GG",alpha3Code:"GGY",numericCode:"831",callingCode:"+44"},{name:"Guinea",alpha2Code:"GN",alpha3Code:"GIN",numericCode:"324",callingCode:"+224"},{name:"Guinea-Bis\xe1u",alpha2Code:"GW",alpha3Code:"GNB",numericCode:"624",callingCode:"+245"},{name:"G\xfciana",alpha2Code:"GY",alpha3Code:"GUY",numericCode:"328",callingCode:"+592"},{name:"Haiti",alpha2Code:"HT",alpha3Code:"HTI",numericCode:"332",callingCode:"+509"},{name:"Illas Heard e McDonald",alpha2Code:"HM",alpha3Code:"HMD",numericCode:"334",callingCode:"+"},{name:"Santa S\xe9",alpha2Code:"VA",alpha3Code:"VAT",numericCode:"336",callingCode:"+379"},{name:"Honduras",alpha2Code:"HN",alpha3Code:"HND",numericCode:"340",callingCode:"+504"},{name:"Hong Kong",alpha2Code:"HK",alpha3Code:"HKG",numericCode:"344",callingCode:"+852"},{name:"Hungr\xeda",alpha2Code:"HU",alpha3Code:"HUN",numericCode:"348",callingCode:"+36"},{name:"Islandia",alpha2Code:"IS",alpha3Code:"ISL",numericCode:"352",callingCode:"+354"},{name:"India",alpha2Code:"IN",alpha3Code:"IND",numericCode:"356",callingCode:"+91"},{name:"Indonesia",alpha2Code:"ID",alpha3Code:"IDN",numericCode:"360",callingCode:"+62"},{name:"Costa do Marfil",alpha2Code:"CI",alpha3Code:"CIV",numericCode:"384",callingCode:"+225"},{name:"Iran",alpha2Code:"IR",alpha3Code:"IRN",numericCode:"364",callingCode:"+98"},{name:"Iraq",alpha2Code:"IQ",alpha3Code:"IRQ",numericCode:"368",callingCode:"+964"},{name:"Irlanda",alpha2Code:"IE",alpha3Code:"IRL",numericCode:"372",callingCode:"+353"},{name:"Isla de Man",alpha2Code:"IM",alpha3Code:"IMN",numericCode:"833",callingCode:"+44"},{name:"Israel",alpha2Code:"IL",alpha3Code:"ISR",numericCode:"376",callingCode:"+972"},{name:"Italia",alpha2Code:"IT",alpha3Code:"ITA",numericCode:"380",callingCode:"+39"},{name:"Xamaica",alpha2Code:"JM",alpha3Code:"JAM",numericCode:"388",callingCode:"+1876"},{name:"Xap\xf3n",alpha2Code:"JP",alpha3Code:"JPN",numericCode:"392",callingCode:"+81"},{name:"Xersei",alpha2Code:"JE",alpha3Code:"JEY",numericCode:"832",callingCode:"+44"},{name:"Xordania",alpha2Code:"JO",alpha3Code:"JOR",numericCode:"400",callingCode:"+962"},{name:"Casaquist\xe1n",alpha2Code:"KZ",alpha3Code:"KAZ",numericCode:"398",callingCode:"+7"},{name:"Quenia",alpha2Code:"KE",alpha3Code:"KEN",numericCode:"404",callingCode:"+254"},{name:"Kiribati",alpha2Code:"KI",alpha3Code:"KIR",numericCode:"296",callingCode:"+686"},{name:"Kuwait",alpha2Code:"KW",alpha3Code:"KWT",numericCode:"414",callingCode:"+965"},{name:"Kirguizist\xe1n",alpha2Code:"KG",alpha3Code:"KGZ",numericCode:"417",callingCode:"+996"},{name:"Laos",alpha2Code:"LA",alpha3Code:"LAO",numericCode:"418",callingCode:"+856"},{name:"Letonia",alpha2Code:"LV",alpha3Code:"LVA",numericCode:"428",callingCode:"+371"},{name:"L\xedbano",alpha2Code:"LB",alpha3Code:"LBN",numericCode:"422",callingCode:"+961"},{name:"Lesotho",alpha2Code:"LS",alpha3Code:"LSO",numericCode:"426",callingCode:"+266"},{name:"Liberia",alpha2Code:"LR",alpha3Code:"LBR",numericCode:"430",callingCode:"+231"},{name:"Libia",alpha2Code:"LY",alpha3Code:"LBY",numericCode:"434",callingCode:"+218"},{name:"Liechtenstein",alpha2Code:"LI",alpha3Code:"LIE",numericCode:"438",callingCode:"+423"},{name:"Lituania",alpha2Code:"LT",alpha3Code:"LTU",numericCode:"440",callingCode:"+370"},{name:"Luxemburgo",alpha2Code:"LU",alpha3Code:"LUX",numericCode:"442",callingCode:"+352"},{name:"Macao",alpha2Code:"MO",alpha3Code:"MAC",numericCode:"446",callingCode:"+853"},{name:"Macedonia",alpha2Code:"MK",alpha3Code:"MKD",numericCode:"807",callingCode:"+389"},{name:"Madagascar",alpha2Code:"MG",alpha3Code:"MDG",numericCode:"450",callingCode:"+261"},{name:"Malawi",alpha2Code:"MW",alpha3Code:"MWI",numericCode:"454",callingCode:"+265"},{name:"Malaisia",alpha2Code:"MY",alpha3Code:"MYS",numericCode:"458",callingCode:"+60"},{name:"Maldivas",alpha2Code:"MV",alpha3Code:"MDV",numericCode:"462",callingCode:"+960"},{name:"Mali",alpha2Code:"ML",alpha3Code:"MLI",numericCode:"466",callingCode:"+223"},{name:"Malta",alpha2Code:"MT",alpha3Code:"MLT",numericCode:"470",callingCode:"+356"},{name:"Illas Marshall",alpha2Code:"MH",alpha3Code:"MHL",numericCode:"584",callingCode:"+692"},{name:"Martinica",alpha2Code:"MQ",alpha3Code:"MTQ",numericCode:"474",callingCode:"+596"},{name:"Mauritania",alpha2Code:"MR",alpha3Code:"MRT",numericCode:"478",callingCode:"+222"},{name:"Mauricio",alpha2Code:"MU",alpha3Code:"MUS",numericCode:"480",callingCode:"+230"},{name:"Mayotte",alpha2Code:"YT",alpha3Code:"MYT",numericCode:"175",callingCode:"+262"},{name:"M\xe9xico",alpha2Code:"MX",alpha3Code:"MEX",numericCode:"484",callingCode:"+52"},{name:"Micronesia",alpha2Code:"FM",alpha3Code:"FSM",numericCode:"583",callingCode:"+691"},{name:"Moldavia",alpha2Code:"MD",alpha3Code:"MDA",numericCode:"498",callingCode:"+373"},{name:"M\xf3naco",alpha2Code:"MC",alpha3Code:"MCO",numericCode:"492",callingCode:"+377"},{name:"Mongolia",alpha2Code:"MN",alpha3Code:"MNG",numericCode:"496",callingCode:"+976"},{name:"Montenegro",alpha2Code:"ME",alpha3Code:"MNE",numericCode:"499",callingCode:"+382"},{name:"Montserrat",alpha2Code:"MS",alpha3Code:"MSR",numericCode:"500",callingCode:"+1664"},{name:"Marrocos",alpha2Code:"MA",alpha3Code:"MAR",numericCode:"504",callingCode:"+212"},{name:"Mozambique",alpha2Code:"MZ",alpha3Code:"MOZ",numericCode:"508",callingCode:"+258"},{name:"Myanmar",alpha2Code:"MM",alpha3Code:"MMR",numericCode:"104",callingCode:"+95"},{name:"Namibia",alpha2Code:"NA",alpha3Code:"NAM",numericCode:"516",callingCode:"+264"},{name:"Nauru",alpha2Code:"NR",alpha3Code:"NRU",numericCode:"520",callingCode:"+674"},{name:"Nepal",alpha2Code:"NP",alpha3Code:"NPL",numericCode:"524",callingCode:"+977"},{name:"Pa\xedses Baixos",alpha2Code:"NL",alpha3Code:"NLD",numericCode:"528",callingCode:"+31"},{name:"Nova Caledonia",alpha2Code:"NC",alpha3Code:"NCL",numericCode:"540",callingCode:"+687"},{name:"Nova Zelandia",alpha2Code:"NZ",alpha3Code:"NZL",numericCode:"554",callingCode:"+64"},{name:"Nicaragua",alpha2Code:"NI",alpha3Code:"NIC",numericCode:"558",callingCode:"+505"},{name:"N\xedxer",alpha2Code:"NE",alpha3Code:"NER",numericCode:"562",callingCode:"+227"},{name:"Nixeria",alpha2Code:"NG",alpha3Code:"NGA",numericCode:"566",callingCode:"+234"},{name:"Niue",alpha2Code:"NU",alpha3Code:"NIU",numericCode:"570",callingCode:"+683"},{name:"Isla de Norfolk",alpha2Code:"NF",alpha3Code:"NFK",numericCode:"574",callingCode:"+672"},{name:"Corea do Norte",alpha2Code:"KP",alpha3Code:"PRK",numericCode:"408",callingCode:"+850"},{name:"Illas Marianas do Norte",alpha2Code:"MP",alpha3Code:"MNP",numericCode:"580",callingCode:"+1670"},{name:"Noruega",alpha2Code:"NO",alpha3Code:"NOR",numericCode:"578",callingCode:"+47"},{name:"Om\xe1n",alpha2Code:"OM",alpha3Code:"OMN",numericCode:"512",callingCode:"+968"},{name:"Paquist\xe1n",alpha2Code:"PK",alpha3Code:"PAK",numericCode:"586",callingCode:"+92"},{name:"Palau",alpha2Code:"PW",alpha3Code:"PLW",numericCode:"585",callingCode:"+680"},{name:"Palestina",alpha2Code:"PS",alpha3Code:"PSE",numericCode:"275",callingCode:"+970"},{name:"Panam\xe1",alpha2Code:"PA",alpha3Code:"PAN",numericCode:"591",callingCode:"+507"},{name:"Pap\xfaa Nova Guinea",alpha2Code:"PG",alpha3Code:"PNG",numericCode:"598",callingCode:"+675"},{name:"Paraguai",alpha2Code:"PY",alpha3Code:"PRY",numericCode:"600",callingCode:"+595"},{name:"Per\xfa",alpha2Code:"PE",alpha3Code:"PER",numericCode:"604",callingCode:"+51"},{name:"Filipinas",alpha2Code:"PH",alpha3Code:"PHL",numericCode:"608",callingCode:"+63"},{name:"Illas Pitcairn",alpha2Code:"PN",alpha3Code:"PCN",numericCode:"612",callingCode:"+64"},{name:"Polonia",alpha2Code:"PL",alpha3Code:"POL",numericCode:"616",callingCode:"+48"},{name:"Portugal",alpha2Code:"PT",alpha3Code:"PRT",numericCode:"620",callingCode:"+351"},{name:"Porto Rico",alpha2Code:"PR",alpha3Code:"PRI",numericCode:"630",callingCode:"+1"},{name:"Catar",alpha2Code:"QA",alpha3Code:"QAT",numericCode:"634",callingCode:"+974"},{name:"K\xf3sovo",alpha2Code:"XK",alpha3Code:"KOS",numericCode:null,callingCode:"+383"},{name:"Reuni\xf3n",alpha2Code:"RE",alpha3Code:"REU",numericCode:"638",callingCode:"+262"},{name:"Rumania",alpha2Code:"RO",alpha3Code:"ROU",numericCode:"642",callingCode:"+40"},{name:"Rusia",alpha2Code:"RU",alpha3Code:"RUS",numericCode:"643",callingCode:"+7"},{name:"Ruanda",alpha2Code:"RW",alpha3Code:"RWA",numericCode:"646",callingCode:"+250"},{name:"San Bartolom\xe9",alpha2Code:"BL",alpha3Code:"BLM",numericCode:"652",callingCode:"+590"},{name:"Santa Helena",alpha2Code:"SH",alpha3Code:"SHN",numericCode:"654",callingCode:"+290"},{name:"San Crist\xf3bal e Nieves",alpha2Code:"KN",alpha3Code:"KNA",numericCode:"659",callingCode:"+1869"},{name:"Santa Luc\xeda",alpha2Code:"LC",alpha3Code:"LCA",numericCode:"662",callingCode:"+1758"},{name:"Saint Martin",alpha2Code:"MF",alpha3Code:"MAF",numericCode:"663",callingCode:"+590"},{name:"San Pedro e Miquel\xf3n",alpha2Code:"PM",alpha3Code:"SPM",numericCode:"666",callingCode:"+508"},{name:"San Vicente e Granadinas",alpha2Code:"VC",alpha3Code:"VCT",numericCode:"670",callingCode:"+1784"},{name:"Samoa",alpha2Code:"WS",alpha3Code:"WSM",numericCode:"882",callingCode:"+685"},{name:"San Mari\xf1o",alpha2Code:"SM",alpha3Code:"SMR",numericCode:"674",callingCode:"+378"},{name:"San Tom\xe9 e Pr\xedncipe",alpha2Code:"ST",alpha3Code:"STP",numericCode:"678",callingCode:"+239"},{name:"Arabia Saudita",alpha2Code:"SA",alpha3Code:"SAU",numericCode:"682",callingCode:"+966"},{name:"Senegal",alpha2Code:"SN",alpha3Code:"SEN",numericCode:"686",callingCode:"+221"},{name:"Serbia",alpha2Code:"RS",alpha3Code:"SRB",numericCode:"688",callingCode:"+381"},{name:"Seychelles",alpha2Code:"SC",alpha3Code:"SYC",numericCode:"690",callingCode:"+248"},{name:"Sierra Leone",alpha2Code:"SL",alpha3Code:"SLE",numericCode:"694",callingCode:"+232"},{name:"Singapura",alpha2Code:"SG",alpha3Code:"SGP",numericCode:"702",callingCode:"+65"},{name:"San Mart\xedn (parte holandesa)",alpha2Code:"SX",alpha3Code:"SXM",numericCode:"534",callingCode:"+1721"},{name:"Rep\xfablica Eslovaca",alpha2Code:"SK",alpha3Code:"SVK",numericCode:"703",callingCode:"+421"},{name:"Eslovenia",alpha2Code:"SI",alpha3Code:"SVN",numericCode:"705",callingCode:"+386"},{name:"Illas Salom\xf3n",alpha2Code:"SB",alpha3Code:"SLB",numericCode:"090",callingCode:"+677"},{name:"Somalia",alpha2Code:"SO",alpha3Code:"SOM",numericCode:"706",callingCode:"+252"},{name:"Rep\xfablica de Sud\xe1frica",alpha2Code:"ZA",alpha3Code:"ZAF",numericCode:"710",callingCode:"+27"},{name:"Illas Georgias do Sur e Sandwich do Sur",alpha2Code:"GS",alpha3Code:"SGS",numericCode:"239",callingCode:"+500"},{name:"Corea do Sur",alpha2Code:"KR",alpha3Code:"KOR",numericCode:"410",callingCode:"+82"},{name:"Sud\xe1n do Sur",alpha2Code:"SS",alpha3Code:"SSD",numericCode:"728",callingCode:"+211"},{name:"Espa\xf1a",alpha2Code:"ES",alpha3Code:"ESP",numericCode:"724",callingCode:"+34"},{name:"Sri Lanka",alpha2Code:"LK",alpha3Code:"LKA",numericCode:"144",callingCode:"+94"},{name:"Sud\xe1n",alpha2Code:"SD",alpha3Code:"SDN",numericCode:"729",callingCode:"+249"},{name:"Suriname",alpha2Code:"SR",alpha3Code:"SUR",numericCode:"740",callingCode:"+597"},{name:"Illas Svalbard e Jan Mayen",alpha2Code:"SJ",alpha3Code:"SJM",numericCode:"744",callingCode:"+4779"},{name:"Suazilandia",alpha2Code:"SZ",alpha3Code:"SWZ",numericCode:"748",callingCode:"+268"},{name:"Suecia",alpha2Code:"SE",alpha3Code:"SWE",numericCode:"752",callingCode:"+46"},{name:"Su\xedza",alpha2Code:"CH",alpha3Code:"CHE",numericCode:"756",callingCode:"+41"},{name:"Siria",alpha2Code:"SY",alpha3Code:"SYR",numericCode:"760",callingCode:"+963"},{name:"Taiwan",alpha2Code:"TW",alpha3Code:"TWN",numericCode:"158",callingCode:"+886"},{name:"Tadxiquist\xe1n",alpha2Code:"TJ",alpha3Code:"TJK",numericCode:"762",callingCode:"+992"},{name:"Tanzania",alpha2Code:"TZ",alpha3Code:"TZA",numericCode:"834",callingCode:"+255"},{name:"Tailandia",alpha2Code:"TH",alpha3Code:"THA",numericCode:"764",callingCode:"+66"},{name:"Timor Oriental",alpha2Code:"TL",alpha3Code:"TLS",numericCode:"626",callingCode:"+670"},{name:"Togo",alpha2Code:"TG",alpha3Code:"TGO",numericCode:"768",callingCode:"+228"},{name:"Illas Tokelau",alpha2Code:"TK",alpha3Code:"TKL",numericCode:"772",callingCode:"+690"},{name:"Tonga",alpha2Code:"TO",alpha3Code:"TON",numericCode:"776",callingCode:"+676"},{name:"Trinidade e Tobago",alpha2Code:"TT",alpha3Code:"TTO",numericCode:"780",callingCode:"+1868"},{name:"Tunes",alpha2Code:"TN",alpha3Code:"TUN",numericCode:"788",callingCode:"+216"},{name:"Turqu\xeda",alpha2Code:"TR",alpha3Code:"TUR",numericCode:"792",callingCode:"+90"},{name:"Turcomenist\xe1n",alpha2Code:"TM",alpha3Code:"TKM",numericCode:"795",callingCode:"+993"},{name:"Illas Turks e Caicos",alpha2Code:"TC",alpha3Code:"TCA",numericCode:"796",callingCode:"+1649"},{name:"Tuvalu",alpha2Code:"TV",alpha3Code:"TUV",numericCode:"798",callingCode:"+688"},{name:"Uganda",alpha2Code:"UG",alpha3Code:"UGA",numericCode:"800",callingCode:"+256"},{name:"Ucra\xedna",alpha2Code:"UA",alpha3Code:"UKR",numericCode:"804",callingCode:"+380"},{name:"Emiratos \xc1rabes Unidos",alpha2Code:"AE",alpha3Code:"ARE",numericCode:"784",callingCode:"+971"},{name:"Reino Unido",alpha2Code:"GB",alpha3Code:"GBR",numericCode:"826",callingCode:"+44"},{name:"Estados Unidos",alpha2Code:"US",alpha3Code:"USA",numericCode:"840",callingCode:"+1"},{name:"Uruguai",alpha2Code:"UY",alpha3Code:"URY",numericCode:"858",callingCode:"+598"},{name:"Usbequist\xe1n",alpha2Code:"UZ",alpha3Code:"UZB",numericCode:"860",callingCode:"+998"},{name:"Vanuatu",alpha2Code:"VU",alpha3Code:"VUT",numericCode:"548",callingCode:"+678"},{name:"Venezuela",alpha2Code:"VE",alpha3Code:"VEN",numericCode:"862",callingCode:"+58"},{name:"Vietnam",alpha2Code:"VN",alpha3Code:"VNM",numericCode:"704",callingCode:"+84"},{name:"Wallis e Futuna",alpha2Code:"WF",alpha3Code:"WLF",numericCode:"876",callingCode:"+681"},{name:"Sahara Occidental",alpha2Code:"EH",alpha3Code:"ESH",numericCode:"732",callingCode:"+212"},{name:"Iemen",alpha2Code:"YE",alpha3Code:"YEM",numericCode:"887",callingCode:"+967"},{name:"Zambia",alpha2Code:"ZM",alpha3Code:"ZMB",numericCode:"894",callingCode:"+260"},{name:"Zimbabue",alpha2Code:"ZW",alpha3Code:"ZWE",numericCode:"716",callingCode:"+263"}]}),W2=Object.freeze({__proto__:null,COUNTRIES_DB_CA:[{name:"l'Afganistan",alpha2Code:"AF",alpha3Code:"AFG",numericCode:"004",callingCode:"+93"},{name:"Alandia",alpha2Code:"AX",alpha3Code:"ALA",numericCode:"248",callingCode:"+358"},{name:"Alb\xe0nia",alpha2Code:"AL",alpha3Code:"ALB",numericCode:"008",callingCode:"+355"},{name:"Alg\xe8ria",alpha2Code:"DZ",alpha3Code:"DZA",numericCode:"012",callingCode:"+213"},{name:"Samoa Americana",alpha2Code:"AS",alpha3Code:"ASM",numericCode:"016",callingCode:"+1684"},{name:"Andorra",alpha2Code:"AD",alpha3Code:"AND",numericCode:"020",callingCode:"+376"},{name:"Angola",alpha2Code:"AO",alpha3Code:"AGO",numericCode:"024",callingCode:"+244"},{name:"Anguilla",alpha2Code:"AI",alpha3Code:"AIA",numericCode:"660",callingCode:"+1264"},{name:"Ant\xe0rtida",alpha2Code:"AQ",alpha3Code:"ATA",numericCode:"010",callingCode:"+672"},{name:"Antigua i Barbuda",alpha2Code:"AG",alpha3Code:"ATG",numericCode:"028",callingCode:"+1268"},{name:"Argentina",alpha2Code:"AR",alpha3Code:"ARG",numericCode:"032",callingCode:"+54"},{name:"Arm\xe8nia",alpha2Code:"AM",alpha3Code:"ARM",numericCode:"051",callingCode:"+374"},{name:"Aruba",alpha2Code:"AW",alpha3Code:"ABW",numericCode:"533",callingCode:"+297"},{name:"Austr\xe0lia",alpha2Code:"AU",alpha3Code:"AUS",numericCode:"036",callingCode:"+61"},{name:"\xc0ustria",alpha2Code:"AT",alpha3Code:"AUT",numericCode:"040",callingCode:"+43"},{name:"Azerbaidjan",alpha2Code:"AZ",alpha3Code:"AZE",numericCode:"031",callingCode:"+994"},{name:"Bahames",alpha2Code:"BS",alpha3Code:"BHS",numericCode:"044",callingCode:"+1242"},{name:"Bahrain",alpha2Code:"BH",alpha3Code:"BHR",numericCode:"048",callingCode:"+973"},{name:"Bangladesh",alpha2Code:"BD",alpha3Code:"BGD",numericCode:"050",callingCode:"+880"},{name:"Barbados",alpha2Code:"BB",alpha3Code:"BRB",numericCode:"052",callingCode:"+1246"},{name:"Bielor\xfassia",alpha2Code:"BY",alpha3Code:"BLR",numericCode:"112",callingCode:"+375"},{name:"B\xe8lgica",alpha2Code:"BE",alpha3Code:"BEL",numericCode:"056",callingCode:"+32"},{name:"Belize",alpha2Code:"BZ",alpha3Code:"BLZ",numericCode:"084",callingCode:"+501"},{name:"Ben\xedn",alpha2Code:"BJ",alpha3Code:"BEN",numericCode:"204",callingCode:"+229"},{name:"Bermudes",alpha2Code:"BM",alpha3Code:"BMU",numericCode:"060",callingCode:"+1441"},{name:"Bhutan",alpha2Code:"BT",alpha3Code:"BTN",numericCode:"064",callingCode:"+975"},{name:"Bol\xedvia",alpha2Code:"BO",alpha3Code:"BOL",numericCode:"068",callingCode:"+591"},{name:"Bonaire, Saint-Eustache i Saba",alpha2Code:"BQ",alpha3Code:"BES",numericCode:"535",callingCode:"+5997"},{name:"B\xf2snia i Hercegovina",alpha2Code:"BA",alpha3Code:"BIH",numericCode:"070",callingCode:"+387"},{name:"Botswana",alpha2Code:"BW",alpha3Code:"BWA",numericCode:"072",callingCode:"+267"},{name:"Bouvet",alpha2Code:"BV",alpha3Code:"BVT",numericCode:"074",callingCode:"+"},{name:"Brasil",alpha2Code:"BR",alpha3Code:"BRA",numericCode:"076",callingCode:"+55"},{name:"Territori Brit\xe0nic de l'Oce\xe0 \xcdndic",alpha2Code:"IO",alpha3Code:"IOT",numericCode:"086",callingCode:"+246"},{name:"Illes Ultramarines Menors dels Estats Units",alpha2Code:"UM",alpha3Code:"UMI",numericCode:"581",callingCode:"+"},{name:"Illes Verges del Regne Unit",alpha2Code:"VG",alpha3Code:"VGB",numericCode:"092",callingCode:"+1284"},{name:"Illes Verges dels Estats Units",alpha2Code:"VI",alpha3Code:"VIR",numericCode:"850",callingCode:"+1 340"},{name:"Brunei",alpha2Code:"BN",alpha3Code:"BRN",numericCode:"096",callingCode:"+673"},{name:"Bulg\xe0ria",alpha2Code:"BG",alpha3Code:"BGR",numericCode:"100",callingCode:"+359"},{name:"Burkina Faso",alpha2Code:"BF",alpha3Code:"BFA",numericCode:"854",callingCode:"+226"},{name:"Burundi",alpha2Code:"BI",alpha3Code:"BDI",numericCode:"108",callingCode:"+257"},{name:"Cambodja",alpha2Code:"KH",alpha3Code:"KHM",numericCode:"116",callingCode:"+855"},{name:"Camerun",alpha2Code:"CM",alpha3Code:"CMR",numericCode:"120",callingCode:"+237"},{name:"Canad\xe0",alpha2Code:"CA",alpha3Code:"CAN",numericCode:"124",callingCode:"+1"},{name:"Cap Verd",alpha2Code:"CV",alpha3Code:"CPV",numericCode:"132",callingCode:"+238"},{name:"Illes Caiman",alpha2Code:"KY",alpha3Code:"CYM",numericCode:"136",callingCode:"+1345"},{name:"Rep\xfablica Centreafricana",alpha2Code:"CF",alpha3Code:"CAF",numericCode:"140",callingCode:"+236"},{name:"Txad",alpha2Code:"TD",alpha3Code:"TCD",numericCode:"148",callingCode:"+235"},{name:"Xile",alpha2Code:"CL",alpha3Code:"CHL",numericCode:"152",callingCode:"+56"},{name:"Xina",alpha2Code:"CN",alpha3Code:"CHN",numericCode:"156",callingCode:"+86"},{name:"Illa Christmas",alpha2Code:"CX",alpha3Code:"CXR",numericCode:"162",callingCode:"+61"},{name:"Illes Cocos o Illes Keeling",alpha2Code:"CC",alpha3Code:"CCK",numericCode:"166",callingCode:"+61"},{name:"Col\xf2mbia",alpha2Code:"CO",alpha3Code:"COL",numericCode:"170",callingCode:"+57"},{name:"Comores",alpha2Code:"KM",alpha3Code:"COM",numericCode:"174",callingCode:"+269"},{name:"Congo",alpha2Code:"CG",alpha3Code:"COG",numericCode:"178",callingCode:"+242"},{name:"Congo (Rep. Dem.)",alpha2Code:"CD",alpha3Code:"COD",numericCode:"180",callingCode:"+243"},{name:"Illes Cook",alpha2Code:"CK",alpha3Code:"COK",numericCode:"184",callingCode:"+682"},{name:"Costa Rica",alpha2Code:"CR",alpha3Code:"CRI",numericCode:"188",callingCode:"+506"},{name:"Cro\xe0cia",alpha2Code:"HR",alpha3Code:"HRV",numericCode:"191",callingCode:"+385"},{name:"Cuba",alpha2Code:"CU",alpha3Code:"CUB",numericCode:"192",callingCode:"+53"},{name:"Cura\xe7ao",alpha2Code:"CW",alpha3Code:"CUW",numericCode:"531",callingCode:"+599"},{name:"Xipre",alpha2Code:"CY",alpha3Code:"CYP",numericCode:"196",callingCode:"+357"},{name:"Rep\xfablica Txeca",alpha2Code:"CZ",alpha3Code:"CZE",numericCode:"203",callingCode:"+420"},{name:"Dinamarca",alpha2Code:"DK",alpha3Code:"DNK",numericCode:"208",callingCode:"+45"},{name:"Djibouti",alpha2Code:"DJ",alpha3Code:"DJI",numericCode:"262",callingCode:"+253"},{name:"Dominica",alpha2Code:"DM",alpha3Code:"DMA",numericCode:"212",callingCode:"+1767"},{name:"Rep\xfablica Dominicana",alpha2Code:"DO",alpha3Code:"DOM",numericCode:"214",callingCode:"+1809"},{name:"Equador",alpha2Code:"EC",alpha3Code:"ECU",numericCode:"218",callingCode:"+593"},{name:"Egipte",alpha2Code:"EG",alpha3Code:"EGY",numericCode:"818",callingCode:"+20"},{name:"El Salvador",alpha2Code:"SV",alpha3Code:"SLV",numericCode:"222",callingCode:"+503"},{name:"Guinea Equatorial",alpha2Code:"GQ",alpha3Code:"GNQ",numericCode:"226",callingCode:"+240"},{name:"Eritrea",alpha2Code:"ER",alpha3Code:"ERI",numericCode:"232",callingCode:"+291"},{name:"Est\xf2nia",alpha2Code:"EE",alpha3Code:"EST",numericCode:"233",callingCode:"+372"},{name:"Eti\xf2pia",alpha2Code:"ET",alpha3Code:"ETH",numericCode:"231",callingCode:"+251"},{name:"Illes Malvines",alpha2Code:"FK",alpha3Code:"FLK",numericCode:"238",callingCode:"+500"},{name:"Illes Faroe",alpha2Code:"FO",alpha3Code:"FRO",numericCode:"234",callingCode:"+298"},{name:"Fiji",alpha2Code:"FJ",alpha3Code:"FJI",numericCode:"242",callingCode:"+679"},{name:"Finl\xe0ndia",alpha2Code:"FI",alpha3Code:"FIN",numericCode:"246",callingCode:"+358"},{name:"Fran\xe7a",alpha2Code:"FR",alpha3Code:"FRA",numericCode:"250",callingCode:"+33"},{name:"Guaiana Francesa",alpha2Code:"GF",alpha3Code:"GUF",numericCode:"254",callingCode:"+594"},{name:"Polin\xe8sia Francesa",alpha2Code:"PF",alpha3Code:"PYF",numericCode:"258",callingCode:"+689"},{name:"Terres Australs i Ant\xe0rtiques Franceses",alpha2Code:"TF",alpha3Code:"ATF",numericCode:"260",callingCode:"+"},{name:"Gabon",alpha2Code:"GA",alpha3Code:"GAB",numericCode:"266",callingCode:"+241"},{name:"G\xe0mbia",alpha2Code:"GM",alpha3Code:"GMB",numericCode:"270",callingCode:"+220"},{name:"Ge\xf2rgia",alpha2Code:"GE",alpha3Code:"GEO",numericCode:"268",callingCode:"+995"},{name:"Alemanya",alpha2Code:"DE",alpha3Code:"DEU",numericCode:"276",callingCode:"+49"},{name:"Ghana",alpha2Code:"GH",alpha3Code:"GHA",numericCode:"288",callingCode:"+233"},{name:"Gibraltar",alpha2Code:"GI",alpha3Code:"GIB",numericCode:"292",callingCode:"+350"},{name:"Gr\xe8cia",alpha2Code:"GR",alpha3Code:"GRC",numericCode:"300",callingCode:"+30"},{name:"Groenl\xe0ndia",alpha2Code:"GL",alpha3Code:"GRL",numericCode:"304",callingCode:"+299"},{name:"Grenada",alpha2Code:"GD",alpha3Code:"GRD",numericCode:"308",callingCode:"+1473"},{name:"Guadalupe",alpha2Code:"GP",alpha3Code:"GLP",numericCode:"312",callingCode:"+590"},{name:"Guam",alpha2Code:"GU",alpha3Code:"GUM",numericCode:"316",callingCode:"+1671"},{name:"Guatemala",alpha2Code:"GT",alpha3Code:"GTM",numericCode:"320",callingCode:"+502"},{name:"Guernsey",alpha2Code:"GG",alpha3Code:"GGY",numericCode:"831",callingCode:"+44"},{name:"Guinea",alpha2Code:"GN",alpha3Code:"GIN",numericCode:"324",callingCode:"+224"},{name:"Guinea Bissau",alpha2Code:"GW",alpha3Code:"GNB",numericCode:"624",callingCode:"+245"},{name:"Guyana",alpha2Code:"GY",alpha3Code:"GUY",numericCode:"328",callingCode:"+592"},{name:"Haiti",alpha2Code:"HT",alpha3Code:"HTI",numericCode:"332",callingCode:"+509"},{name:"Illes Heard i McDonald",alpha2Code:"HM",alpha3Code:"HMD",numericCode:"334",callingCode:"+"},{name:"Santa Seu",alpha2Code:"VA",alpha3Code:"VAT",numericCode:"336",callingCode:"+379"},{name:"Hondures",alpha2Code:"HN",alpha3Code:"HND",numericCode:"340",callingCode:"+504"},{name:"Hong Kong",alpha2Code:"HK",alpha3Code:"HKG",numericCode:"344",callingCode:"+852"},{name:"Hongria",alpha2Code:"HU",alpha3Code:"HUN",numericCode:"348",callingCode:"+36"},{name:"Isl\xe0ndia",alpha2Code:"IS",alpha3Code:"ISL",numericCode:"352",callingCode:"+354"},{name:"\xcdndia",alpha2Code:"IN",alpha3Code:"IND",numericCode:"356",callingCode:"+91"},{name:"Indon\xe8sia",alpha2Code:"ID",alpha3Code:"IDN",numericCode:"360",callingCode:"+62"},{name:"Costa d'Ivori",alpha2Code:"CI",alpha3Code:"CIV",numericCode:"384",callingCode:"+225"},{name:"Iran",alpha2Code:"IR",alpha3Code:"IRN",numericCode:"364",callingCode:"+98"},{name:"l'Iraq",alpha2Code:"IQ",alpha3Code:"IRQ",numericCode:"368",callingCode:"+964"},{name:"Irlanda",alpha2Code:"IE",alpha3Code:"IRL",numericCode:"372",callingCode:"+353"},{name:"Illa de Man",alpha2Code:"IM",alpha3Code:"IMN",numericCode:"833",callingCode:"+44"},{name:"Israel",alpha2Code:"IL",alpha3Code:"ISR",numericCode:"376",callingCode:"+972"},{name:"It\xe0lia",alpha2Code:"IT",alpha3Code:"ITA",numericCode:"380",callingCode:"+39"},{name:"Jamaica",alpha2Code:"JM",alpha3Code:"JAM",numericCode:"388",callingCode:"+1876"},{name:"Jap\xf3",alpha2Code:"JP",alpha3Code:"JPN",numericCode:"392",callingCode:"+81"},{name:"Jersey",alpha2Code:"JE",alpha3Code:"JEY",numericCode:"832",callingCode:"+44"},{name:"Jord\xe0nia",alpha2Code:"JO",alpha3Code:"JOR",numericCode:"400",callingCode:"+962"},{name:"Kazakhstan",alpha2Code:"KZ",alpha3Code:"KAZ",numericCode:"398",callingCode:"+7"},{name:"Kenya",alpha2Code:"KE",alpha3Code:"KEN",numericCode:"404",callingCode:"+254"},{name:"Kiribati",alpha2Code:"KI",alpha3Code:"KIR",numericCode:"296",callingCode:"+686"},{name:"Kuwait",alpha2Code:"KW",alpha3Code:"KWT",numericCode:"414",callingCode:"+965"},{name:"Kirguizistan",alpha2Code:"KG",alpha3Code:"KGZ",numericCode:"417",callingCode:"+996"},{name:"Laos",alpha2Code:"LA",alpha3Code:"LAO",numericCode:"418",callingCode:"+856"},{name:"Let\xf2nia",alpha2Code:"LV",alpha3Code:"LVA",numericCode:"428",callingCode:"+371"},{name:"L\xedban",alpha2Code:"LB",alpha3Code:"LBN",numericCode:"422",callingCode:"+961"},{name:"Lesotho",alpha2Code:"LS",alpha3Code:"LSO",numericCode:"426",callingCode:"+266"},{name:"Lib\xe8ria",alpha2Code:"LR",alpha3Code:"LBR",numericCode:"430",callingCode:"+231"},{name:"L\xedbia",alpha2Code:"LY",alpha3Code:"LBY",numericCode:"434",callingCode:"+218"},{name:"Liechtenstein",alpha2Code:"LI",alpha3Code:"LIE",numericCode:"438",callingCode:"+423"},{name:"Litu\xe0nia",alpha2Code:"LT",alpha3Code:"LTU",numericCode:"440",callingCode:"+370"},{name:"Luxemburg",alpha2Code:"LU",alpha3Code:"LUX",numericCode:"442",callingCode:"+352"},{name:"Macau",alpha2Code:"MO",alpha3Code:"MAC",numericCode:"446",callingCode:"+853"},{name:"Maced\xf2nia",alpha2Code:"MK",alpha3Code:"MKD",numericCode:"807",callingCode:"+389"},{name:"Madagascar",alpha2Code:"MG",alpha3Code:"MDG",numericCode:"450",callingCode:"+261"},{name:"Malawi",alpha2Code:"MW",alpha3Code:"MWI",numericCode:"454",callingCode:"+265"},{name:"Mal\xe0isia",alpha2Code:"MY",alpha3Code:"MYS",numericCode:"458",callingCode:"+60"},{name:"Maldives",alpha2Code:"MV",alpha3Code:"MDV",numericCode:"462",callingCode:"+960"},{name:"Mali",alpha2Code:"ML",alpha3Code:"MLI",numericCode:"466",callingCode:"+223"},{name:"Malta",alpha2Code:"MT",alpha3Code:"MLT",numericCode:"470",callingCode:"+356"},{name:"Illes Marshall",alpha2Code:"MH",alpha3Code:"MHL",numericCode:"584",callingCode:"+692"},{name:"Martinica",alpha2Code:"MQ",alpha3Code:"MTQ",numericCode:"474",callingCode:"+596"},{name:"Maurit\xe0nia",alpha2Code:"MR",alpha3Code:"MRT",numericCode:"478",callingCode:"+222"},{name:"Maurici",alpha2Code:"MU",alpha3Code:"MUS",numericCode:"480",callingCode:"+230"},{name:"Mayotte",alpha2Code:"YT",alpha3Code:"MYT",numericCode:"175",callingCode:"+262"},{name:"M\xe8xic",alpha2Code:"MX",alpha3Code:"MEX",numericCode:"484",callingCode:"+52"},{name:"Micron\xe8sia",alpha2Code:"FM",alpha3Code:"FSM",numericCode:"583",callingCode:"+691"},{name:"Mold\xe0via",alpha2Code:"MD",alpha3Code:"MDA",numericCode:"498",callingCode:"+373"},{name:"M\xf2naco",alpha2Code:"MC",alpha3Code:"MCO",numericCode:"492",callingCode:"+377"},{name:"Mong\xf2lia",alpha2Code:"MN",alpha3Code:"MNG",numericCode:"496",callingCode:"+976"},{name:"Montenegro",alpha2Code:"ME",alpha3Code:"MNE",numericCode:"499",callingCode:"+382"},{name:"Montserrat",alpha2Code:"MS",alpha3Code:"MSR",numericCode:"500",callingCode:"+1664"},{name:"Marroc",alpha2Code:"MA",alpha3Code:"MAR",numericCode:"504",callingCode:"+212"},{name:"Mo\xe7ambic",alpha2Code:"MZ",alpha3Code:"MOZ",numericCode:"508",callingCode:"+258"},{name:"Myanmar",alpha2Code:"MM",alpha3Code:"MMR",numericCode:"104",callingCode:"+95"},{name:"Nam\xedbia",alpha2Code:"NA",alpha3Code:"NAM",numericCode:"516",callingCode:"+264"},{name:"Nauru",alpha2Code:"NR",alpha3Code:"NRU",numericCode:"520",callingCode:"+674"},{name:"Nepal",alpha2Code:"NP",alpha3Code:"NPL",numericCode:"524",callingCode:"+977"},{name:"Pa\xefsos Baixos",alpha2Code:"NL",alpha3Code:"NLD",numericCode:"528",callingCode:"+31"},{name:"Nova Caled\xf2nia",alpha2Code:"NC",alpha3Code:"NCL",numericCode:"540",callingCode:"+687"},{name:"Nova Zelanda",alpha2Code:"NZ",alpha3Code:"NZL",numericCode:"554",callingCode:"+64"},{name:"Nicaragua",alpha2Code:"NI",alpha3Code:"NIC",numericCode:"558",callingCode:"+505"},{name:"N\xedger",alpha2Code:"NE",alpha3Code:"NER",numericCode:"562",callingCode:"+227"},{name:"Nig\xe8ria",alpha2Code:"NG",alpha3Code:"NGA",numericCode:"566",callingCode:"+234"},{name:"Niue",alpha2Code:"NU",alpha3Code:"NIU",numericCode:"570",callingCode:"+683"},{name:"Illa de Norfolk",alpha2Code:"NF",alpha3Code:"NFK",numericCode:"574",callingCode:"+672"},{name:"Corea del Nord",alpha2Code:"KP",alpha3Code:"PRK",numericCode:"408",callingCode:"+850"},{name:"illes Mariannes del Nord",alpha2Code:"MP",alpha3Code:"MNP",numericCode:"580",callingCode:"+1670"},{name:"Noruega",alpha2Code:"NO",alpha3Code:"NOR",numericCode:"578",callingCode:"+47"},{name:"Oman",alpha2Code:"OM",alpha3Code:"OMN",numericCode:"512",callingCode:"+968"},{name:"Pakistan",alpha2Code:"PK",alpha3Code:"PAK",numericCode:"586",callingCode:"+92"},{name:"Palau",alpha2Code:"PW",alpha3Code:"PLW",numericCode:"585",callingCode:"+680"},{name:"Palestina",alpha2Code:"PS",alpha3Code:"PSE",numericCode:"275",callingCode:"+970"},{name:"Panam\xe0",alpha2Code:"PA",alpha3Code:"PAN",numericCode:"591",callingCode:"+507"},{name:"Papua Nova Guinea",alpha2Code:"PG",alpha3Code:"PNG",numericCode:"598",callingCode:"+675"},{name:"Paraguai",alpha2Code:"PY",alpha3Code:"PRY",numericCode:"600",callingCode:"+595"},{name:"Per\xfa",alpha2Code:"PE",alpha3Code:"PER",numericCode:"604",callingCode:"+51"},{name:"Filipines",alpha2Code:"PH",alpha3Code:"PHL",numericCode:"608",callingCode:"+63"},{name:"Illes Pitcairn",alpha2Code:"PN",alpha3Code:"PCN",numericCode:"612",callingCode:"+64"},{name:"Pol\xf2nia",alpha2Code:"PL",alpha3Code:"POL",numericCode:"616",callingCode:"+48"},{name:"Portugal",alpha2Code:"PT",alpha3Code:"PRT",numericCode:"620",callingCode:"+351"},{name:"Puerto Rico",alpha2Code:"PR",alpha3Code:"PRI",numericCode:"630",callingCode:"+1"},{name:"Catar",alpha2Code:"QA",alpha3Code:"QAT",numericCode:"634",callingCode:"+974"},{name:"Kosovo",alpha2Code:"XK",alpha3Code:"KOS",numericCode:null,callingCode:"+383"},{name:"Reuni\xf3",alpha2Code:"RE",alpha3Code:"REU",numericCode:"638",callingCode:"+262"},{name:"Romania",alpha2Code:"RO",alpha3Code:"ROU",numericCode:"642",callingCode:"+40"},{name:"R\xfassia",alpha2Code:"RU",alpha3Code:"RUS",numericCode:"643",callingCode:"+7"},{name:"Ruanda",alpha2Code:"RW",alpha3Code:"RWA",numericCode:"646",callingCode:"+250"},{name:"Sant Bartolom\xe9",alpha2Code:"BL",alpha3Code:"BLM",numericCode:"652",callingCode:"+590"},{name:"Santa Helena",alpha2Code:"SH",alpha3Code:"SHN",numericCode:"654",callingCode:"+290"},{name:"Saint Kitts i Nevis",alpha2Code:"KN",alpha3Code:"KNA",numericCode:"659",callingCode:"+1869"},{name:"Saint Lucia",alpha2Code:"LC",alpha3Code:"LCA",numericCode:"662",callingCode:"+1758"},{name:"Saint Martin",alpha2Code:"MF",alpha3Code:"MAF",numericCode:"663",callingCode:"+590"},{name:"Sant Pierre i Miquelon",alpha2Code:"PM",alpha3Code:"SPM",numericCode:"666",callingCode:"+508"},{name:"Sant Vicent i Grenadines",alpha2Code:"VC",alpha3Code:"VCT",numericCode:"670",callingCode:"+1784"},{name:"Samoa",alpha2Code:"WS",alpha3Code:"WSM",numericCode:"882",callingCode:"+685"},{name:"San Marino",alpha2Code:"SM",alpha3Code:"SMR",numericCode:"674",callingCode:"+378"},{name:"Sao Tom\xe9 i Pr\xedncipe",alpha2Code:"ST",alpha3Code:"STP",numericCode:"678",callingCode:"+239"},{name:"Ar\xe0bia Saudita",alpha2Code:"SA",alpha3Code:"SAU",numericCode:"682",callingCode:"+966"},{name:"Senegal",alpha2Code:"SN",alpha3Code:"SEN",numericCode:"686",callingCode:"+221"},{name:"S\xe8rbia",alpha2Code:"RS",alpha3Code:"SRB",numericCode:"688",callingCode:"+381"},{name:"Seychelles",alpha2Code:"SC",alpha3Code:"SYC",numericCode:"690",callingCode:"+248"},{name:"Sierra Leone",alpha2Code:"SL",alpha3Code:"SLE",numericCode:"694",callingCode:"+232"},{name:"Singapur",alpha2Code:"SG",alpha3Code:"SGP",numericCode:"702",callingCode:"+65"},{name:"Sant Mart\xed (part holandesa)",alpha2Code:"SX",alpha3Code:"SXM",numericCode:"534",callingCode:"+1721"},{name:"Rep\xfablica Eslovaca",alpha2Code:"SK",alpha3Code:"SVK",numericCode:"703",callingCode:"+421"},{name:"Eslov\xe8nia",alpha2Code:"SI",alpha3Code:"SVN",numericCode:"705",callingCode:"+386"},{name:"Illes Salom\xf3",alpha2Code:"SB",alpha3Code:"SLB",numericCode:"090",callingCode:"+677"},{name:"Som\xe0lia",alpha2Code:"SO",alpha3Code:"SOM",numericCode:"706",callingCode:"+252"},{name:"Rep\xfablica de Sud-\xe0frica",alpha2Code:"ZA",alpha3Code:"ZAF",numericCode:"710",callingCode:"+27"},{name:"Illes G\xf2rgies del Sud i Sandvitx del Sud",alpha2Code:"GS",alpha3Code:"SGS",numericCode:"239",callingCode:"+500"},{name:"Corea del Sud",alpha2Code:"KR",alpha3Code:"KOR",numericCode:"410",callingCode:"+82"},{name:"Sudan del Sud",alpha2Code:"SS",alpha3Code:"SSD",numericCode:"728",callingCode:"+211"},{name:"Espanya",alpha2Code:"ES",alpha3Code:"ESP",numericCode:"724",callingCode:"+34"},{name:"Sri Lanka",alpha2Code:"LK",alpha3Code:"LKA",numericCode:"144",callingCode:"+94"},{name:"Sudan",alpha2Code:"SD",alpha3Code:"SDN",numericCode:"729",callingCode:"+249"},{name:"Surinam",alpha2Code:"SR",alpha3Code:"SUR",numericCode:"740",callingCode:"+597"},{name:"Illes Svalbard i Jan Mayen",alpha2Code:"SJ",alpha3Code:"SJM",numericCode:"744",callingCode:"+4779"},{name:"Swazil\xe0ndia",alpha2Code:"SZ",alpha3Code:"SWZ",numericCode:"748",callingCode:"+268"},{name:"Su\xe8cia",alpha2Code:"SE",alpha3Code:"SWE",numericCode:"752",callingCode:"+46"},{name:"Su\xefssa",alpha2Code:"CH",alpha3Code:"CHE",numericCode:"756",callingCode:"+41"},{name:"S\xedria",alpha2Code:"SY",alpha3Code:"SYR",numericCode:"760",callingCode:"+963"},{name:"Taiwan",alpha2Code:"TW",alpha3Code:"TWN",numericCode:"158",callingCode:"+886"},{name:"Tadjikistan",alpha2Code:"TJ",alpha3Code:"TJK",numericCode:"762",callingCode:"+992"},{name:"Tanz\xe0nia",alpha2Code:"TZ",alpha3Code:"TZA",numericCode:"834",callingCode:"+255"},{name:"Tail\xe0ndia",alpha2Code:"TH",alpha3Code:"THA",numericCode:"764",callingCode:"+66"},{name:"Timor-Leste",alpha2Code:"TL",alpha3Code:"TLS",numericCode:"626",callingCode:"+670"},{name:"Togo",alpha2Code:"TG",alpha3Code:"TGO",numericCode:"768",callingCode:"+228"},{name:"Illes Tokelau",alpha2Code:"TK",alpha3Code:"TKL",numericCode:"772",callingCode:"+690"},{name:"Tonga",alpha2Code:"TO",alpha3Code:"TON",numericCode:"776",callingCode:"+676"},{name:"Trinitat i Tobago",alpha2Code:"TT",alpha3Code:"TTO",numericCode:"780",callingCode:"+1868"},{name:"Tun\xedsia",alpha2Code:"TN",alpha3Code:"TUN",numericCode:"788",callingCode:"+216"},{name:"Turquia",alpha2Code:"TR",alpha3Code:"TUR",numericCode:"792",callingCode:"+90"},{name:"Turkmenistan",alpha2Code:"TM",alpha3Code:"TKM",numericCode:"795",callingCode:"+993"},{name:"Illes Turks i Caicos",alpha2Code:"TC",alpha3Code:"TCA",numericCode:"796",callingCode:"+1649"},{name:"Tuvalu",alpha2Code:"TV",alpha3Code:"TUV",numericCode:"798",callingCode:"+688"},{name:"Uganda",alpha2Code:"UG",alpha3Code:"UGA",numericCode:"800",callingCode:"+256"},{name:"Ucra\xefna",alpha2Code:"UA",alpha3Code:"UKR",numericCode:"804",callingCode:"+380"},{name:"Uni\xf3 dels Emirats \xc0rabs",alpha2Code:"AE",alpha3Code:"ARE",numericCode:"784",callingCode:"+971"},{name:"Regne Unit",alpha2Code:"GB",alpha3Code:"GBR",numericCode:"826",callingCode:"+44"},{name:"Estats Units",alpha2Code:"US",alpha3Code:"USA",numericCode:"840",callingCode:"+1"},{name:"Uruguai",alpha2Code:"UY",alpha3Code:"URY",numericCode:"858",callingCode:"+598"},{name:"Uzbekistan",alpha2Code:"UZ",alpha3Code:"UZB",numericCode:"860",callingCode:"+998"},{name:"Vanuatu",alpha2Code:"VU",alpha3Code:"VUT",numericCode:"548",callingCode:"+678"},{name:"Vene\xe7uela",alpha2Code:"VE",alpha3Code:"VEN",numericCode:"862",callingCode:"+58"},{name:"Vietnam",alpha2Code:"VN",alpha3Code:"VNM",numericCode:"704",callingCode:"+84"},{name:"Wallis i Futuna",alpha2Code:"WF",alpha3Code:"WLF",numericCode:"876",callingCode:"+681"},{name:"S\xe0hara Occidental",alpha2Code:"EH",alpha3Code:"ESH",numericCode:"732",callingCode:"+212"},{name:"Iemen",alpha2Code:"YE",alpha3Code:"YEM",numericCode:"887",callingCode:"+967"},{name:"Z\xe0mbia",alpha2Code:"ZM",alpha3Code:"ZMB",numericCode:"894",callingCode:"+260"},{name:"Zimb\xe0bue",alpha2Code:"ZW",alpha3Code:"ZWE",numericCode:"716",callingCode:"+263"}]}),q2=Object.freeze({__proto__:null,COUNTRIES_DB_EU:[{name:"Afganistan",alpha2Code:"AF",alpha3Code:"AFG",numericCode:"004",callingCode:"+93"},{name:"Alandia",alpha2Code:"AX",alpha3Code:"ALA",numericCode:"248",callingCode:"+358"},{name:"Albania",alpha2Code:"AL",alpha3Code:"ALB",numericCode:"008",callingCode:"+355"},{name:"Aljeria",alpha2Code:"DZ",alpha3Code:"DZA",numericCode:"012",callingCode:"+213"},{name:"Samoa Americana",alpha2Code:"AS",alpha3Code:"ASM",numericCode:"016",callingCode:"+1684"},{name:"Andorra",alpha2Code:"AD",alpha3Code:"AND",numericCode:"020",callingCode:"+376"},{name:"Angola",alpha2Code:"AO",alpha3Code:"AGO",numericCode:"024",callingCode:"+244"},{name:"Anguilla",alpha2Code:"AI",alpha3Code:"AIA",numericCode:"660",callingCode:"+1264"},{name:"Antartika",alpha2Code:"AQ",alpha3Code:"ATA",numericCode:"010",callingCode:"+672"},{name:"Antigua eta Barbuda",alpha2Code:"AG",alpha3Code:"ATG",numericCode:"028",callingCode:"+1268"},{name:"Argentina",alpha2Code:"AR",alpha3Code:"ARG",numericCode:"032",callingCode:"+54"},{name:"Armenia",alpha2Code:"AM",alpha3Code:"ARM",numericCode:"051",callingCode:"+374"},{name:"Aruba",alpha2Code:"AW",alpha3Code:"ABW",numericCode:"533",callingCode:"+297"},{name:"Australia",alpha2Code:"AU",alpha3Code:"AUS",numericCode:"036",callingCode:"+61"},{name:"Austria",alpha2Code:"AT",alpha3Code:"AUT",numericCode:"040",callingCode:"+43"},{name:"Azerbaijan",alpha2Code:"AZ",alpha3Code:"AZE",numericCode:"031",callingCode:"+994"},{name:"Bahamak",alpha2Code:"BS",alpha3Code:"BHS",numericCode:"044",callingCode:"+1242"},{name:"Bahrein",alpha2Code:"BH",alpha3Code:"BHR",numericCode:"048",callingCode:"+973"},{name:"Bangladesh",alpha2Code:"BD",alpha3Code:"BGD",numericCode:"050",callingCode:"+880"},{name:"Barbados",alpha2Code:"BB",alpha3Code:"BRB",numericCode:"052",callingCode:"+1246"},{name:"Bielorrusia",alpha2Code:"BY",alpha3Code:"BLR",numericCode:"112",callingCode:"+375"},{name:"Belgika",alpha2Code:"BE",alpha3Code:"BEL",numericCode:"056",callingCode:"+32"},{name:"Belice",alpha2Code:"BZ",alpha3Code:"BLZ",numericCode:"084",callingCode:"+501"},{name:"Benin",alpha2Code:"BJ",alpha3Code:"BEN",numericCode:"204",callingCode:"+229"},{name:"Bermudak",alpha2Code:"BM",alpha3Code:"BMU",numericCode:"060",callingCode:"+1441"},{name:"But\xe1n",alpha2Code:"BT",alpha3Code:"BTN",numericCode:"064",callingCode:"+975"},{name:"Bolivia",alpha2Code:"BO",alpha3Code:"BOL",numericCode:"068",callingCode:"+591"},{name:"Bonaire, Saint-Eustache eta Saba",alpha2Code:"BQ",alpha3Code:"BES",numericCode:"535",callingCode:"+5997"},{name:"Bosnia eta Herzegovina",alpha2Code:"BA",alpha3Code:"BIH",numericCode:"070",callingCode:"+387"},{name:"Botswana",alpha2Code:"BW",alpha3Code:"BWA",numericCode:"072",callingCode:"+267"},{name:"Bouvet uhartea",alpha2Code:"BV",alpha3Code:"BVT",numericCode:"074",callingCode:"+"},{name:"Brasil",alpha2Code:"BR",alpha3Code:"BRA",numericCode:"076",callingCode:"+55"},{name:"Indiako Ozeanoko Britainiar Lurraldea",alpha2Code:"IO",alpha3Code:"IOT",numericCode:"086",callingCode:"+246"},{name:"Itsasoz Haraindiko Uharte Txikiak",alpha2Code:"UM",alpha3Code:"UMI",numericCode:"581",callingCode:"+"},{name:"Erresuma Batuko Birjina Uharteak",alpha2Code:"VG",alpha3Code:"VGB",numericCode:"092",callingCode:"+1284"},{name:"Estatu Batuetako Birjina Uharteak",alpha2Code:"VI",alpha3Code:"VIR",numericCode:"850",callingCode:"+1 340"},{name:"Brunei",alpha2Code:"BN",alpha3Code:"BRN",numericCode:"096",callingCode:"+673"},{name:"Bulgaria",alpha2Code:"BG",alpha3Code:"BGR",numericCode:"100",callingCode:"+359"},{name:"Burkina Faso",alpha2Code:"BF",alpha3Code:"BFA",numericCode:"854",callingCode:"+226"},{name:"Burundi",alpha2Code:"BI",alpha3Code:"BDI",numericCode:"108",callingCode:"+257"},{name:"Kanputxea",alpha2Code:"KH",alpha3Code:"KHM",numericCode:"116",callingCode:"+855"},{name:"Kamerun",alpha2Code:"CM",alpha3Code:"CMR",numericCode:"120",callingCode:"+237"},{name:"Kanada",alpha2Code:"CA",alpha3Code:"CAN",numericCode:"124",callingCode:"+1"},{name:"Cabo Verde",alpha2Code:"CV",alpha3Code:"CPV",numericCode:"132",callingCode:"+238"},{name:"Kaiman uharteak",alpha2Code:"KY",alpha3Code:"CYM",numericCode:"136",callingCode:"+1345"},{name:"Afrika Erdiko Errepublika",alpha2Code:"CF",alpha3Code:"CAF",numericCode:"140",callingCode:"+236"},{name:"Txad",alpha2Code:"TD",alpha3Code:"TCD",numericCode:"148",callingCode:"+235"},{name:"Txile",alpha2Code:"CL",alpha3Code:"CHL",numericCode:"152",callingCode:"+56"},{name:"Txina",alpha2Code:"CN",alpha3Code:"CHN",numericCode:"156",callingCode:"+86"},{name:"Gabonetako uhartea",alpha2Code:"CX",alpha3Code:"CXR",numericCode:"162",callingCode:"+61"},{name:"Cocos uharteak edo Keeling uharteak",alpha2Code:"CC",alpha3Code:"CCK",numericCode:"166",callingCode:"+61"},{name:"Kolonbia",alpha2Code:"CO",alpha3Code:"COL",numericCode:"170",callingCode:"+57"},{name:"Komorak",alpha2Code:"KM",alpha3Code:"COM",numericCode:"174",callingCode:"+269"},{name:"Kongo",alpha2Code:"CG",alpha3Code:"COG",numericCode:"178",callingCode:"+242"},{name:"Kongo (Rep. Dem.)",alpha2Code:"CD",alpha3Code:"COD",numericCode:"180",callingCode:"+243"},{name:"Cook uharteak",alpha2Code:"CK",alpha3Code:"COK",numericCode:"184",callingCode:"+682"},{name:"Costa Rica",alpha2Code:"CR",alpha3Code:"CRI",numericCode:"188",callingCode:"+506"},{name:"Kroazia",alpha2Code:"HR",alpha3Code:"HRV",numericCode:"191",callingCode:"+385"},{name:"Kuba",alpha2Code:"CU",alpha3Code:"CUB",numericCode:"192",callingCode:"+53"},{name:"Cura\xe7ao",alpha2Code:"CW",alpha3Code:"CUW",numericCode:"531",callingCode:"+599"},{name:"Zipre",alpha2Code:"CY",alpha3Code:"CYP",numericCode:"196",callingCode:"+357"},{name:"Txekiar Errepublika",alpha2Code:"CZ",alpha3Code:"CZE",numericCode:"203",callingCode:"+420"},{name:"Danimarka",alpha2Code:"DK",alpha3Code:"DNK",numericCode:"208",callingCode:"+45"},{name:"Yibuti",alpha2Code:"DJ",alpha3Code:"DJI",numericCode:"262",callingCode:"+253"},{name:"Dominika",alpha2Code:"DM",alpha3Code:"DMA",numericCode:"212",callingCode:"+1767"},{name:"Dominikar Errepublika",alpha2Code:"DO",alpha3Code:"DOM",numericCode:"214",callingCode:"+1809"},{name:"Ekuador",alpha2Code:"EC",alpha3Code:"ECU",numericCode:"218",callingCode:"+593"},{name:"Egipto",alpha2Code:"EG",alpha3Code:"EGY",numericCode:"818",callingCode:"+20"},{name:"El Salvador",alpha2Code:"SV",alpha3Code:"SLV",numericCode:"222",callingCode:"+503"},{name:"Ekuatore Ginea",alpha2Code:"GQ",alpha3Code:"GNQ",numericCode:"226",callingCode:"+240"},{name:"Eritrea",alpha2Code:"ER",alpha3Code:"ERI",numericCode:"232",callingCode:"+291"},{name:"Estonia",alpha2Code:"EE",alpha3Code:"EST",numericCode:"233",callingCode:"+372"},{name:"Etiopia",alpha2Code:"ET",alpha3Code:"ETH",numericCode:"231",callingCode:"+251"},{name:"Malvinas Uharteak",alpha2Code:"FK",alpha3Code:"FLK",numericCode:"238",callingCode:"+500"},{name:"Faroe uharteak",alpha2Code:"FO",alpha3Code:"FRO",numericCode:"234",callingCode:"+298"},{name:"Fiyi",alpha2Code:"FJ",alpha3Code:"FJI",numericCode:"242",callingCode:"+679"},{name:"Finlandia",alpha2Code:"FI",alpha3Code:"FIN",numericCode:"246",callingCode:"+358"},{name:"Frantzia",alpha2Code:"FR",alpha3Code:"FRA",numericCode:"250",callingCode:"+33"},{name:"Guyana Frantsesa",alpha2Code:"GF",alpha3Code:"GUF",numericCode:"254",callingCode:"+594"},{name:"Polinesia Frantsesa",alpha2Code:"PF",alpha3Code:"PYF",numericCode:"258",callingCode:"+689"},{name:"Frantziako Lurralde Australak eta Antartikoak",alpha2Code:"TF",alpha3Code:"ATF",numericCode:"260",callingCode:"+"},{name:"Gabon",alpha2Code:"GA",alpha3Code:"GAB",numericCode:"266",callingCode:"+241"},{name:"Gambia",alpha2Code:"GM",alpha3Code:"GMB",numericCode:"270",callingCode:"+220"},{name:"Georgia",alpha2Code:"GE",alpha3Code:"GEO",numericCode:"268",callingCode:"+995"},{name:"Alemania",alpha2Code:"DE",alpha3Code:"DEU",numericCode:"276",callingCode:"+49"},{name:"Ghana",alpha2Code:"GH",alpha3Code:"GHA",numericCode:"288",callingCode:"+233"},{name:"Gibraltar",alpha2Code:"GI",alpha3Code:"GIB",numericCode:"292",callingCode:"+350"},{name:"Grezia",alpha2Code:"GR",alpha3Code:"GRC",numericCode:"300",callingCode:"+30"},{name:"Groenlandia",alpha2Code:"GL",alpha3Code:"GRL",numericCode:"304",callingCode:"+299"},{name:"Grenada",alpha2Code:"GD",alpha3Code:"GRD",numericCode:"308",callingCode:"+1473"},{name:"Guadalupe",alpha2Code:"GP",alpha3Code:"GLP",numericCode:"312",callingCode:"+590"},{name:"Guam",alpha2Code:"GU",alpha3Code:"GUM",numericCode:"316",callingCode:"+1671"},{name:"Guatemala",alpha2Code:"GT",alpha3Code:"GTM",numericCode:"320",callingCode:"+502"},{name:"Guernsey",alpha2Code:"GG",alpha3Code:"GGY",numericCode:"831",callingCode:"+44"},{name:"Ginea",alpha2Code:"GN",alpha3Code:"GIN",numericCode:"324",callingCode:"+224"},{name:"Ginea-Bisau",alpha2Code:"GW",alpha3Code:"GNB",numericCode:"624",callingCode:"+245"},{name:"Guyana",alpha2Code:"GY",alpha3Code:"GUY",numericCode:"328",callingCode:"+592"},{name:"Haiti",alpha2Code:"HT",alpha3Code:"HTI",numericCode:"332",callingCode:"+509"},{name:"Heard eta McDonald uharteak",alpha2Code:"HM",alpha3Code:"HMD",numericCode:"334",callingCode:"+"},{name:"Egoitza Santua",alpha2Code:"VA",alpha3Code:"VAT",numericCode:"336",callingCode:"+379"},{name:"Honduras",alpha2Code:"HN",alpha3Code:"HND",numericCode:"340",callingCode:"+504"},{name:"Hong Kong",alpha2Code:"HK",alpha3Code:"HKG",numericCode:"344",callingCode:"+852"},{name:"Hungaria",alpha2Code:"HU",alpha3Code:"HUN",numericCode:"348",callingCode:"+36"},{name:"Islandia",alpha2Code:"IS",alpha3Code:"ISL",numericCode:"352",callingCode:"+354"},{name:"India",alpha2Code:"IN",alpha3Code:"IND",numericCode:"356",callingCode:"+91"},{name:"Indonesia",alpha2Code:"ID",alpha3Code:"IDN",numericCode:"360",callingCode:"+62"},{name:"Boli Kosta",alpha2Code:"CI",alpha3Code:"CIV",numericCode:"384",callingCode:"+225"},{name:"Iran",alpha2Code:"IR",alpha3Code:"IRN",numericCode:"364",callingCode:"+98"},{name:"Irak",alpha2Code:"IQ",alpha3Code:"IRQ",numericCode:"368",callingCode:"+964"},{name:"Irlanda",alpha2Code:"IE",alpha3Code:"IRL",numericCode:"372",callingCode:"+353"},{name:"Man uhartea",alpha2Code:"IM",alpha3Code:"IMN",numericCode:"833",callingCode:"+44"},{name:"Israel",alpha2Code:"IL",alpha3Code:"ISR",numericCode:"376",callingCode:"+972"},{name:"Italia",alpha2Code:"IT",alpha3Code:"ITA",numericCode:"380",callingCode:"+39"},{name:"Jamaika",alpha2Code:"JM",alpha3Code:"JAM",numericCode:"388",callingCode:"+1876"},{name:"Japonia",alpha2Code:"JP",alpha3Code:"JPN",numericCode:"392",callingCode:"+81"},{name:"Jersey",alpha2Code:"JE",alpha3Code:"JEY",numericCode:"832",callingCode:"+44"},{name:"Jordania",alpha2Code:"JO",alpha3Code:"JOR",numericCode:"400",callingCode:"+962"},{name:"Kazakhstan",alpha2Code:"KZ",alpha3Code:"KAZ",numericCode:"398",callingCode:"+7"},{name:"Kenya",alpha2Code:"KE",alpha3Code:"KEN",numericCode:"404",callingCode:"+254"},{name:"Kiribati",alpha2Code:"KI",alpha3Code:"KIR",numericCode:"296",callingCode:"+686"},{name:"Kuwait",alpha2Code:"KW",alpha3Code:"KWT",numericCode:"414",callingCode:"+965"},{name:"Kirgizistan",alpha2Code:"KG",alpha3Code:"KGZ",numericCode:"417",callingCode:"+996"},{name:"Laos",alpha2Code:"LA",alpha3Code:"LAO",numericCode:"418",callingCode:"+856"},{name:"Letonia",alpha2Code:"LV",alpha3Code:"LVA",numericCode:"428",callingCode:"+371"},{name:"Libano",alpha2Code:"LB",alpha3Code:"LBN",numericCode:"422",callingCode:"+961"},{name:"Lesotho",alpha2Code:"LS",alpha3Code:"LSO",numericCode:"426",callingCode:"+266"},{name:"Liberia",alpha2Code:"LR",alpha3Code:"LBR",numericCode:"430",callingCode:"+231"},{name:"Libia",alpha2Code:"LY",alpha3Code:"LBY",numericCode:"434",callingCode:"+218"},{name:"Liechtenstein",alpha2Code:"LI",alpha3Code:"LIE",numericCode:"438",callingCode:"+423"},{name:"Lituania",alpha2Code:"LT",alpha3Code:"LTU",numericCode:"440",callingCode:"+370"},{name:"Luxenburgo",alpha2Code:"LU",alpha3Code:"LUX",numericCode:"442",callingCode:"+352"},{name:"Macao",alpha2Code:"MO",alpha3Code:"MAC",numericCode:"446",callingCode:"+853"},{name:"Mazedonia",alpha2Code:"MK",alpha3Code:"MKD",numericCode:"807",callingCode:"+389"},{name:"Madagaskar",alpha2Code:"MG",alpha3Code:"MDG",numericCode:"450",callingCode:"+261"},{name:"Malawi",alpha2Code:"MW",alpha3Code:"MWI",numericCode:"454",callingCode:"+265"},{name:"Malaysia",alpha2Code:"MY",alpha3Code:"MYS",numericCode:"458",callingCode:"+60"},{name:"Maldivak",alpha2Code:"MV",alpha3Code:"MDV",numericCode:"462",callingCode:"+960"},{name:"Mali",alpha2Code:"ML",alpha3Code:"MLI",numericCode:"466",callingCode:"+223"},{name:"Malta",alpha2Code:"MT",alpha3Code:"MLT",numericCode:"470",callingCode:"+356"},{name:"Marshall uharteak",alpha2Code:"MH",alpha3Code:"MHL",numericCode:"584",callingCode:"+692"},{name:"Martinika",alpha2Code:"MQ",alpha3Code:"MTQ",numericCode:"474",callingCode:"+596"},{name:"Mauritania",alpha2Code:"MR",alpha3Code:"MRT",numericCode:"478",callingCode:"+222"},{name:"Maurizio",alpha2Code:"MU",alpha3Code:"MUS",numericCode:"480",callingCode:"+230"},{name:"Mayotte",alpha2Code:"YT",alpha3Code:"MYT",numericCode:"175",callingCode:"+262"},{name:"Mexiko",alpha2Code:"MX",alpha3Code:"MEX",numericCode:"484",callingCode:"+52"},{name:"Mikronesia",alpha2Code:"FM",alpha3Code:"FSM",numericCode:"583",callingCode:"+691"},{name:"Moldavia",alpha2Code:"MD",alpha3Code:"MDA",numericCode:"498",callingCode:"+373"},{name:"Monako",alpha2Code:"MC",alpha3Code:"MCO",numericCode:"492",callingCode:"+377"},{name:"Mongolia",alpha2Code:"MN",alpha3Code:"MNG",numericCode:"496",callingCode:"+976"},{name:"Montenegro",alpha2Code:"ME",alpha3Code:"MNE",numericCode:"499",callingCode:"+382"},{name:"Montserrat",alpha2Code:"MS",alpha3Code:"MSR",numericCode:"500",callingCode:"+1664"},{name:"Maroko",alpha2Code:"MA",alpha3Code:"MAR",numericCode:"504",callingCode:"+212"},{name:"Mozambike",alpha2Code:"MZ",alpha3Code:"MOZ",numericCode:"508",callingCode:"+258"},{name:"Myanmar",alpha2Code:"MM",alpha3Code:"MMR",numericCode:"104",callingCode:"+95"},{name:"Namibia",alpha2Code:"NA",alpha3Code:"NAM",numericCode:"516",callingCode:"+264"},{name:"Nauru",alpha2Code:"NR",alpha3Code:"NRU",numericCode:"520",callingCode:"+674"},{name:"Nepal",alpha2Code:"NP",alpha3Code:"NPL",numericCode:"524",callingCode:"+977"},{name:"Herbehereak",alpha2Code:"NL",alpha3Code:"NLD",numericCode:"528",callingCode:"+31"},{name:"Kaledonia Berria",alpha2Code:"NC",alpha3Code:"NCL",numericCode:"540",callingCode:"+687"},{name:"Zeelanda Berria",alpha2Code:"NZ",alpha3Code:"NZL",numericCode:"554",callingCode:"+64"},{name:"Nikaragua",alpha2Code:"NI",alpha3Code:"NIC",numericCode:"558",callingCode:"+505"},{name:"Niger",alpha2Code:"NE",alpha3Code:"NER",numericCode:"562",callingCode:"+227"},{name:"Nigeria",alpha2Code:"NG",alpha3Code:"NGA",numericCode:"566",callingCode:"+234"},{name:"Niue",alpha2Code:"NU",alpha3Code:"NIU",numericCode:"570",callingCode:"+683"},{name:"Norfolk uhartea",alpha2Code:"NF",alpha3Code:"NFK",numericCode:"574",callingCode:"+672"},{name:"Ipar Korea",alpha2Code:"KP",alpha3Code:"PRK",numericCode:"408",callingCode:"+850"},{name:"Iparraldeko Mariana Uharteak",alpha2Code:"MP",alpha3Code:"MNP",numericCode:"580",callingCode:"+1670"},{name:"Norvegia",alpha2Code:"NO",alpha3Code:"NOR",numericCode:"578",callingCode:"+47"},{name:"Oman",alpha2Code:"OM",alpha3Code:"OMN",numericCode:"512",callingCode:"+968"},{name:"Pakistan",alpha2Code:"PK",alpha3Code:"PAK",numericCode:"586",callingCode:"+92"},{name:"Palau",alpha2Code:"PW",alpha3Code:"PLW",numericCode:"585",callingCode:"+680"},{name:"Palestina",alpha2Code:"PS",alpha3Code:"PSE",numericCode:"275",callingCode:"+970"},{name:"Panama",alpha2Code:"PA",alpha3Code:"PAN",numericCode:"591",callingCode:"+507"},{name:"Papua Ginea Berria",alpha2Code:"PG",alpha3Code:"PNG",numericCode:"598",callingCode:"+675"},{name:"Paraguai",alpha2Code:"PY",alpha3Code:"PRY",numericCode:"600",callingCode:"+595"},{name:"Peru",alpha2Code:"PE",alpha3Code:"PER",numericCode:"604",callingCode:"+51"},{name:"Filipinak",alpha2Code:"PH",alpha3Code:"PHL",numericCode:"608",callingCode:"+63"},{name:"Pitcairn uharteak",alpha2Code:"PN",alpha3Code:"PCN",numericCode:"612",callingCode:"+64"},{name:"Polonia",alpha2Code:"PL",alpha3Code:"POL",numericCode:"616",callingCode:"+48"},{name:"Portugal",alpha2Code:"PT",alpha3Code:"PRT",numericCode:"620",callingCode:"+351"},{name:"Puerto Rico",alpha2Code:"PR",alpha3Code:"PRI",numericCode:"630",callingCode:"+1"},{name:"Qatar",alpha2Code:"QA",alpha3Code:"QAT",numericCode:"634",callingCode:"+974"},{name:"Kosovo",alpha2Code:"XK",alpha3Code:"KOS",numericCode:null,callingCode:"+383"},{name:"Bilera",alpha2Code:"RE",alpha3Code:"REU",numericCode:"638",callingCode:"+262"},{name:"Errumania",alpha2Code:"RO",alpha3Code:"ROU",numericCode:"642",callingCode:"+40"},{name:"Errusia",alpha2Code:"RU",alpha3Code:"RUS",numericCode:"643",callingCode:"+7"},{name:"Ruanda",alpha2Code:"RW",alpha3Code:"RWA",numericCode:"646",callingCode:"+250"},{name:"San Bartolome",alpha2Code:"BL",alpha3Code:"BLM",numericCode:"652",callingCode:"+590"},{name:"Santa Helena",alpha2Code:"SH",alpha3Code:"SHN",numericCode:"654",callingCode:"+290"},{name:"San Kristobal eta Nieves",alpha2Code:"KN",alpha3Code:"KNA",numericCode:"659",callingCode:"+1869"},{name:"Santa Luzia",alpha2Code:"LC",alpha3Code:"LCA",numericCode:"662",callingCode:"+1758"},{name:"Saint Martin",alpha2Code:"MF",alpha3Code:"MAF",numericCode:"663",callingCode:"+590"},{name:"San Pedro eta Miquelon",alpha2Code:"PM",alpha3Code:"SPM",numericCode:"666",callingCode:"+508"},{name:"San Bizente eta Granadinak",alpha2Code:"VC",alpha3Code:"VCT",numericCode:"670",callingCode:"+1784"},{name:"Samoa",alpha2Code:"WS",alpha3Code:"WSM",numericCode:"882",callingCode:"+685"},{name:"San Marino",alpha2Code:"SM",alpha3Code:"SMR",numericCode:"674",callingCode:"+378"},{name:"Santo Tomas eta Printzea",alpha2Code:"ST",alpha3Code:"STP",numericCode:"678",callingCode:"+239"},{name:"Saudi Arabia",alpha2Code:"SA",alpha3Code:"SAU",numericCode:"682",callingCode:"+966"},{name:"Senegal",alpha2Code:"SN",alpha3Code:"SEN",numericCode:"686",callingCode:"+221"},{name:"Serbia",alpha2Code:"RS",alpha3Code:"SRB",numericCode:"688",callingCode:"+381"},{name:"Seychelleak",alpha2Code:"SC",alpha3Code:"SYC",numericCode:"690",callingCode:"+248"},{name:"Sierra Leone",alpha2Code:"SL",alpha3Code:"SLE",numericCode:"694",callingCode:"+232"},{name:"Singapur",alpha2Code:"SG",alpha3Code:"SGP",numericCode:"702",callingCode:"+65"},{name:"San Martin (Holandako zatia)",alpha2Code:"SX",alpha3Code:"SXM",numericCode:"534",callingCode:"+1721"},{name:"Eslovakiar Errepublika",alpha2Code:"SK",alpha3Code:"SVK",numericCode:"703",callingCode:"+421"},{name:"Eslovenia",alpha2Code:"SI",alpha3Code:"SVN",numericCode:"705",callingCode:"+386"},{name:"Salomon uharteak",alpha2Code:"SB",alpha3Code:"SLB",numericCode:"090",callingCode:"+677"},{name:"Somalia",alpha2Code:"SO",alpha3Code:"SOM",numericCode:"706",callingCode:"+252"},{name:"Hegoafrikako Errepublika",alpha2Code:"ZA",alpha3Code:"ZAF",numericCode:"710",callingCode:"+27"},{name:"Hego Georgia eta Hego Sandwich uharteak",alpha2Code:"GS",alpha3Code:"SGS",numericCode:"239",callingCode:"+500"},{name:"Hego Korea",alpha2Code:"KR",alpha3Code:"KOR",numericCode:"410",callingCode:"+82"},{name:"Hego Sudan",alpha2Code:"SS",alpha3Code:"SSD",numericCode:"728",callingCode:"+211"},{name:"Espainia",alpha2Code:"ES",alpha3Code:"ESP",numericCode:"724",callingCode:"+34"},{name:"Sri Lanka",alpha2Code:"LK",alpha3Code:"LKA",numericCode:"144",callingCode:"+94"},{name:"Sudan",alpha2Code:"SD",alpha3Code:"SDN",numericCode:"729",callingCode:"+249"},{name:"Surinam",alpha2Code:"SR",alpha3Code:"SUR",numericCode:"740",callingCode:"+597"},{name:"Svalbard eta Jan Mayen uharteak",alpha2Code:"SJ",alpha3Code:"SJM",numericCode:"744",callingCode:"+4779"},{name:"Suazilandia",alpha2Code:"SZ",alpha3Code:"SWZ",numericCode:"748",callingCode:"+268"},{name:"Suedia",alpha2Code:"SE",alpha3Code:"SWE",numericCode:"752",callingCode:"+46"},{name:"Suitza",alpha2Code:"CH",alpha3Code:"CHE",numericCode:"756",callingCode:"+41"},{name:"Siria",alpha2Code:"SY",alpha3Code:"SYR",numericCode:"760",callingCode:"+963"},{name:"Taiwan",alpha2Code:"TW",alpha3Code:"TWN",numericCode:"158",callingCode:"+886"},{name:"Tajikistan",alpha2Code:"TJ",alpha3Code:"TJK",numericCode:"762",callingCode:"+992"},{name:"Tanzania",alpha2Code:"TZ",alpha3Code:"TZA",numericCode:"834",callingCode:"+255"},{name:"Thailandia",alpha2Code:"TH",alpha3Code:"THA",numericCode:"764",callingCode:"+66"},{name:"Ekialdeko Timor",alpha2Code:"TL",alpha3Code:"TLS",numericCode:"626",callingCode:"+670"},{name:"Togo",alpha2Code:"TG",alpha3Code:"TGO",numericCode:"768",callingCode:"+228"},{name:"Tokelau uharteak",alpha2Code:"TK",alpha3Code:"TKL",numericCode:"772",callingCode:"+690"},{name:"Tonga",alpha2Code:"TO",alpha3Code:"TON",numericCode:"776",callingCode:"+676"},{name:"Trinidad eta Tobago",alpha2Code:"TT",alpha3Code:"TTO",numericCode:"780",callingCode:"+1868"},{name:"Tunisia",alpha2Code:"TN",alpha3Code:"TUN",numericCode:"788",callingCode:"+216"},{name:"Turkia",alpha2Code:"TR",alpha3Code:"TUR",numericCode:"792",callingCode:"+90"},{name:"Turkmenistan",alpha2Code:"TM",alpha3Code:"TKM",numericCode:"795",callingCode:"+993"},{name:"Turks eta Caicos uharteak",alpha2Code:"TC",alpha3Code:"TCA",numericCode:"796",callingCode:"+1649"},{name:"Tuvalu",alpha2Code:"TV",alpha3Code:"TUV",numericCode:"798",callingCode:"+688"},{name:"Uganda",alpha2Code:"UG",alpha3Code:"UGA",numericCode:"800",callingCode:"+256"},{name:"Ukraina",alpha2Code:"UA",alpha3Code:"UKR",numericCode:"804",callingCode:"+380"},{name:"Arabiar Emirerri Batuak",alpha2Code:"AE",alpha3Code:"ARE",numericCode:"784",callingCode:"+971"},{name:"Erresuma Batua",alpha2Code:"GB",alpha3Code:"GBR",numericCode:"826",callingCode:"+44"},{name:"Estatu Batuak",alpha2Code:"US",alpha3Code:"USA",numericCode:"840",callingCode:"+1"},{name:"Uruguai",alpha2Code:"UY",alpha3Code:"URY",numericCode:"858",callingCode:"+598"},{name:"Uzbekistan",alpha2Code:"UZ",alpha3Code:"UZB",numericCode:"860",callingCode:"+998"},{name:"Vanuatu",alpha2Code:"VU",alpha3Code:"VUT",numericCode:"548",callingCode:"+678"},{name:"Venezuela",alpha2Code:"VE",alpha3Code:"VEN",numericCode:"862",callingCode:"+58"},{name:"Vietnam",alpha2Code:"VN",alpha3Code:"VNM",numericCode:"704",callingCode:"+84"},{name:"Wallis eta Futuna",alpha2Code:"WF",alpha3Code:"WLF",numericCode:"876",callingCode:"+681"},{name:"Mendebaldeko Sahara",alpha2Code:"EH",alpha3Code:"ESH",numericCode:"732",callingCode:"+212"},{name:"Yemen",alpha2Code:"YE",alpha3Code:"YEM",numericCode:"887",callingCode:"+967"},{name:"Zambia",alpha2Code:"ZM",alpha3Code:"ZMB",numericCode:"894",callingCode:"+260"},{name:"Zimbabwe",alpha2Code:"ZW",alpha3Code:"ZWE",numericCode:"716",callingCode:"+263"}]}),J2=Object.freeze({__proto__:null,COUNTRIES_DB_NL:[{name:"Afghanistan",alpha2Code:"AF",alpha3Code:"AFG",numericCode:"004",callingCode:"+93"},{name:"\xc5landeilanden",alpha2Code:"AX",alpha3Code:"ALA",numericCode:"248",callingCode:"+358"},{name:"Albani\xeb",alpha2Code:"AL",alpha3Code:"ALB",numericCode:"008",callingCode:"+355"},{name:"Algerije",alpha2Code:"DZ",alpha3Code:"DZA",numericCode:"012",callingCode:"+213"},{name:"Amerikaans Samoa",alpha2Code:"AS",alpha3Code:"ASM",numericCode:"016",callingCode:"+1684"},{name:"Andorra",alpha2Code:"AD",alpha3Code:"AND",numericCode:"020",callingCode:"+376"},{name:"Angola",alpha2Code:"AO",alpha3Code:"AGO",numericCode:"024",callingCode:"+244"},{name:"Anguilla",alpha2Code:"AI",alpha3Code:"AIA",numericCode:"660",callingCode:"+1264"},{name:"Antarctica",alpha2Code:"AQ",alpha3Code:"ATA",numericCode:"010",callingCode:"+672"},{name:"Antigua en Barbuda",alpha2Code:"AG",alpha3Code:"ATG",numericCode:"028",callingCode:"+1268"},{name:"Argentini\xeb",alpha2Code:"AR",alpha3Code:"ARG",numericCode:"032",callingCode:"+54"},{name:"Armeni\xeb",alpha2Code:"AM",alpha3Code:"ARM",numericCode:"051",callingCode:"+374"},{name:"Aruba",alpha2Code:"AW",alpha3Code:"ABW",numericCode:"533",callingCode:"+297"},{name:"Australi\xeb",alpha2Code:"AU",alpha3Code:"AUS",numericCode:"036",callingCode:"+61"},{name:"Oostenrijk",alpha2Code:"AT",alpha3Code:"AUT",numericCode:"040",callingCode:"+43"},{name:"Azerbeidzjan",alpha2Code:"AZ",alpha3Code:"AZE",numericCode:"031",callingCode:"+994"},{name:"Bahama\u2019s",alpha2Code:"BS",alpha3Code:"BHS",numericCode:"044",callingCode:"+1242"},{name:"Bahrein",alpha2Code:"BH",alpha3Code:"BHR",numericCode:"048",callingCode:"+973"},{name:"Bangladesh",alpha2Code:"BD",alpha3Code:"BGD",numericCode:"050",callingCode:"+880"},{name:"Barbados",alpha2Code:"BB",alpha3Code:"BRB",numericCode:"052",callingCode:"+1246"},{name:"Wit-Rusland",alpha2Code:"BY",alpha3Code:"BLR",numericCode:"112",callingCode:"+375"},{name:"Belgi\xeb",alpha2Code:"BE",alpha3Code:"BEL",numericCode:"056",callingCode:"+32"},{name:"Belize",alpha2Code:"BZ",alpha3Code:"BLZ",numericCode:"084",callingCode:"+501"},{name:"Benin",alpha2Code:"BJ",alpha3Code:"BEN",numericCode:"204",callingCode:"+229"},{name:"Bermuda",alpha2Code:"BM",alpha3Code:"BMU",numericCode:"060",callingCode:"+1441"},{name:"Bhutan",alpha2Code:"BT",alpha3Code:"BTN",numericCode:"064",callingCode:"+975"},{name:"Bolivia",alpha2Code:"BO",alpha3Code:"BOL",numericCode:"068",callingCode:"+591"},{name:"Bonaire, Sint Eustatius en Saba",alpha2Code:"BQ",alpha3Code:"BES",numericCode:"535",callingCode:"+5997"},{name:"Bosni\xeb en Herzegovina",alpha2Code:"BA",alpha3Code:"BIH",numericCode:"070",callingCode:"+387"},{name:"Botswana",alpha2Code:"BW",alpha3Code:"BWA",numericCode:"072",callingCode:"+267"},{name:"Bouveteiland",alpha2Code:"BV",alpha3Code:"BVT",numericCode:"074",callingCode:"+"},{name:"Brazili\xeb",alpha2Code:"BR",alpha3Code:"BRA",numericCode:"076",callingCode:"+55"},{name:"Britse Gebieden in de Indische Oceaan",alpha2Code:"IO",alpha3Code:"IOT",numericCode:"086",callingCode:"+246"},{name:"Kleine afgelegen eilanden van de Verenigde Staten",alpha2Code:"UM",alpha3Code:"UMI",numericCode:"581",callingCode:"+"},{name:"Britse Maagdeneilanden",alpha2Code:"VG",alpha3Code:"VGB",numericCode:"092",callingCode:"+1284"},{name:"Verenigde Staten Maagdeneilanden",alpha2Code:"VI",alpha3Code:"VIR",numericCode:"850",callingCode:"+1 340"},{name:"Brunei",alpha2Code:"BN",alpha3Code:"BRN",numericCode:"096",callingCode:"+673"},{name:"Bulgarije",alpha2Code:"BG",alpha3Code:"BGR",numericCode:"100",callingCode:"+359"},{name:"Burkina Faso",alpha2Code:"BF",alpha3Code:"BFA",numericCode:"854",callingCode:"+226"},{name:"Burundi",alpha2Code:"BI",alpha3Code:"BDI",numericCode:"108",callingCode:"+257"},{name:"Cambodja",alpha2Code:"KH",alpha3Code:"KHM",numericCode:"116",callingCode:"+855"},{name:"Kameroen",alpha2Code:"CM",alpha3Code:"CMR",numericCode:"120",callingCode:"+237"},{name:"Canada",alpha2Code:"CA",alpha3Code:"CAN",numericCode:"124",callingCode:"+1"},{name:"Kaapverdi\xeb",alpha2Code:"CV",alpha3Code:"CPV",numericCode:"132",callingCode:"+238"},{name:"Caymaneilanden",alpha2Code:"KY",alpha3Code:"CYM",numericCode:"136",callingCode:"+1345"},{name:"Centraal-Afrikaanse Republiek",alpha2Code:"CF",alpha3Code:"CAF",numericCode:"140",callingCode:"+236"},{name:"Tsjaad",alpha2Code:"TD",alpha3Code:"TCD",numericCode:"148",callingCode:"+235"},{name:"Chili",alpha2Code:"CL",alpha3Code:"CHL",numericCode:"152",callingCode:"+56"},{name:"China",alpha2Code:"CN",alpha3Code:"CHN",numericCode:"156",callingCode:"+86"},{name:"Christmaseiland",alpha2Code:"CX",alpha3Code:"CXR",numericCode:"162",callingCode:"+61"},{name:"Cocoseilanden",alpha2Code:"CC",alpha3Code:"CCK",numericCode:"166",callingCode:"+61"},{name:"Colombia",alpha2Code:"CO",alpha3Code:"COL",numericCode:"170",callingCode:"+57"},{name:"Comoren",alpha2Code:"KM",alpha3Code:"COM",numericCode:"174",callingCode:"+269"},{name:"Congo [Republiek]",alpha2Code:"CG",alpha3Code:"COG",numericCode:"178",callingCode:"+242"},{name:"Congo [DRC]",alpha2Code:"CD",alpha3Code:"COD",numericCode:"180",callingCode:"+243"},{name:"Cookeilanden",alpha2Code:"CK",alpha3Code:"COK",numericCode:"184",callingCode:"+682"},{name:"Costa Rica",alpha2Code:"CR",alpha3Code:"CRI",numericCode:"188",callingCode:"+506"},{name:"Kroati\xeb",alpha2Code:"HR",alpha3Code:"HRV",numericCode:"191",callingCode:"+385"},{name:"Cuba",alpha2Code:"CU",alpha3Code:"CUB",numericCode:"192",callingCode:"+53"},{name:"Cura\xe7ao",alpha2Code:"CW",alpha3Code:"CUW",numericCode:"531",callingCode:"+599"},{name:"Cyprus",alpha2Code:"CY",alpha3Code:"CYP",numericCode:"196",callingCode:"+357"},{name:"Tsjechi\xeb",alpha2Code:"CZ",alpha3Code:"CZE",numericCode:"203",callingCode:"+420"},{name:"Denemarken",alpha2Code:"DK",alpha3Code:"DNK",numericCode:"208",callingCode:"+45"},{name:"Djibouti",alpha2Code:"DJ",alpha3Code:"DJI",numericCode:"262",callingCode:"+253"},{name:"Dominica",alpha2Code:"DM",alpha3Code:"DMA",numericCode:"212",callingCode:"+1767"},{name:"Dominicaanse Republiek",alpha2Code:"DO",alpha3Code:"DOM",numericCode:"214",callingCode:"+1809"},{name:"Ecuador",alpha2Code:"EC",alpha3Code:"ECU",numericCode:"218",callingCode:"+593"},{name:"Egypte",alpha2Code:"EG",alpha3Code:"EGY",numericCode:"818",callingCode:"+20"},{name:"El Salvador",alpha2Code:"SV",alpha3Code:"SLV",numericCode:"222",callingCode:"+503"},{name:"Equatoriaal-Guinea",alpha2Code:"GQ",alpha3Code:"GNQ",numericCode:"226",callingCode:"+240"},{name:"Eritrea",alpha2Code:"ER",alpha3Code:"ERI",numericCode:"232",callingCode:"+291"},{name:"Estland",alpha2Code:"EE",alpha3Code:"EST",numericCode:"233",callingCode:"+372"},{name:"Ethiopi\xeb",alpha2Code:"ET",alpha3Code:"ETH",numericCode:"231",callingCode:"+251"},{name:"Falklandeilanden [Islas Malvinas]",alpha2Code:"FK",alpha3Code:"FLK",numericCode:"238",callingCode:"+500"},{name:"Faer\xf6er",alpha2Code:"FO",alpha3Code:"FRO",numericCode:"234",callingCode:"+298"},{name:"Fiji",alpha2Code:"FJ",alpha3Code:"FJI",numericCode:"242",callingCode:"+679"},{name:"Finland",alpha2Code:"FI",alpha3Code:"FIN",numericCode:"246",callingCode:"+358"},{name:"Frankrijk",alpha2Code:"FR",alpha3Code:"FRA",numericCode:"250",callingCode:"+33"},{name:"Frans-Guyana",alpha2Code:"GF",alpha3Code:"GUF",numericCode:"254",callingCode:"+594"},{name:"Frans-Polynesi\xeb",alpha2Code:"PF",alpha3Code:"PYF",numericCode:"258",callingCode:"+689"},{name:"Franse Gebieden in de zuidelijke Indische Oceaan",alpha2Code:"TF",alpha3Code:"ATF",numericCode:"260",callingCode:"+"},{name:"Gabon",alpha2Code:"GA",alpha3Code:"GAB",numericCode:"266",callingCode:"+241"},{name:"Gambia",alpha2Code:"GM",alpha3Code:"GMB",numericCode:"270",callingCode:"+220"},{name:"Georgi\xeb",alpha2Code:"GE",alpha3Code:"GEO",numericCode:"268",callingCode:"+995"},{name:"Duitsland",alpha2Code:"DE",alpha3Code:"DEU",numericCode:"276",callingCode:"+49"},{name:"Ghana",alpha2Code:"GH",alpha3Code:"GHA",numericCode:"288",callingCode:"+233"},{name:"Gibraltar",alpha2Code:"GI",alpha3Code:"GIB",numericCode:"292",callingCode:"+350"},{name:"Griekenland",alpha2Code:"GR",alpha3Code:"GRC",numericCode:"300",callingCode:"+30"},{name:"Groenland",alpha2Code:"GL",alpha3Code:"GRL",numericCode:"304",callingCode:"+299"},{name:"Grenada",alpha2Code:"GD",alpha3Code:"GRD",numericCode:"308",callingCode:"+1473"},{name:"Guadeloupe",alpha2Code:"GP",alpha3Code:"GLP",numericCode:"312",callingCode:"+590"},{name:"Guam",alpha2Code:"GU",alpha3Code:"GUM",numericCode:"316",callingCode:"+1671"},{name:"Guatemala",alpha2Code:"GT",alpha3Code:"GTM",numericCode:"320",callingCode:"+502"},{name:"Guernsey",alpha2Code:"GG",alpha3Code:"GGY",numericCode:"831",callingCode:"+44"},{name:"Guinee",alpha2Code:"GN",alpha3Code:"GIN",numericCode:"324",callingCode:"+224"},{name:"Guinee-Bissau",alpha2Code:"GW",alpha3Code:"GNB",numericCode:"624",callingCode:"+245"},{name:"Guyana",alpha2Code:"GY",alpha3Code:"GUY",numericCode:"328",callingCode:"+592"},{name:"Ha\xefti",alpha2Code:"HT",alpha3Code:"HTI",numericCode:"332",callingCode:"+509"},{name:"Heard- en McDonaldeilanden",alpha2Code:"HM",alpha3Code:"HMD",numericCode:"334",callingCode:"+"},{name:"Heilige Stoel",alpha2Code:"VA",alpha3Code:"VAT",numericCode:"336",callingCode:"+379"},{name:"Honduras",alpha2Code:"HN",alpha3Code:"HND",numericCode:"340",callingCode:"+504"},{name:"Hongkong",alpha2Code:"HK",alpha3Code:"HKG",numericCode:"344",callingCode:"+852"},{name:"Hongarije",alpha2Code:"HU",alpha3Code:"HUN",numericCode:"348",callingCode:"+36"},{name:"IJsland",alpha2Code:"IS",alpha3Code:"ISL",numericCode:"352",callingCode:"+354"},{name:"India",alpha2Code:"IN",alpha3Code:"IND",numericCode:"356",callingCode:"+91"},{name:"Indonesi\xeb",alpha2Code:"ID",alpha3Code:"IDN",numericCode:"360",callingCode:"+62"},{name:"Ivoorkust",alpha2Code:"CI",alpha3Code:"CIV",numericCode:"384",callingCode:"+225"},{name:"Iran",alpha2Code:"IR",alpha3Code:"IRN",numericCode:"364",callingCode:"+98"},{name:"Irak",alpha2Code:"IQ",alpha3Code:"IRQ",numericCode:"368",callingCode:"+964"},{name:"Ierland",alpha2Code:"IE",alpha3Code:"IRL",numericCode:"372",callingCode:"+353"},{name:"Isle of Man",alpha2Code:"IM",alpha3Code:"IMN",numericCode:"833",callingCode:"+44"},{name:"Isra\xebl",alpha2Code:"IL",alpha3Code:"ISR",numericCode:"376",callingCode:"+972"},{name:"Itali\xeb",alpha2Code:"IT",alpha3Code:"ITA",numericCode:"380",callingCode:"+39"},{name:"Jamaica",alpha2Code:"JM",alpha3Code:"JAM",numericCode:"388",callingCode:"+1876"},{name:"Japan",alpha2Code:"JP",alpha3Code:"JPN",numericCode:"392",callingCode:"+81"},{name:"Jersey",alpha2Code:"JE",alpha3Code:"JEY",numericCode:"832",callingCode:"+44"},{name:"Jordani\xeb",alpha2Code:"JO",alpha3Code:"JOR",numericCode:"400",callingCode:"+962"},{name:"Kazachstan",alpha2Code:"KZ",alpha3Code:"KAZ",numericCode:"398",callingCode:"+7"},{name:"Kenia",alpha2Code:"KE",alpha3Code:"KEN",numericCode:"404",callingCode:"+254"},{name:"Kiribati",alpha2Code:"KI",alpha3Code:"KIR",numericCode:"296",callingCode:"+686"},{name:"Koeweit",alpha2Code:"KW",alpha3Code:"KWT",numericCode:"414",callingCode:"+965"},{name:"Kirgizi\xeb",alpha2Code:"KG",alpha3Code:"KGZ",numericCode:"417",callingCode:"+996"},{name:"Laos",alpha2Code:"LA",alpha3Code:"LAO",numericCode:"418",callingCode:"+856"},{name:"Letland",alpha2Code:"LV",alpha3Code:"LVA",numericCode:"428",callingCode:"+371"},{name:"Libanon",alpha2Code:"LB",alpha3Code:"LBN",numericCode:"422",callingCode:"+961"},{name:"Lesotho",alpha2Code:"LS",alpha3Code:"LSO",numericCode:"426",callingCode:"+266"},{name:"Liberia",alpha2Code:"LR",alpha3Code:"LBR",numericCode:"430",callingCode:"+231"},{name:"Libi\xeb",alpha2Code:"LY",alpha3Code:"LBY",numericCode:"434",callingCode:"+218"},{name:"Liechtenstein",alpha2Code:"LI",alpha3Code:"LIE",numericCode:"438",callingCode:"+423"},{name:"Litouwen",alpha2Code:"LT",alpha3Code:"LTU",numericCode:"440",callingCode:"+370"},{name:"Luxemburg",alpha2Code:"LU",alpha3Code:"LUX",numericCode:"442",callingCode:"+352"},{name:"Macao",alpha2Code:"MO",alpha3Code:"MAC",numericCode:"446",callingCode:"+853"},{name:"Macedoni\xeb",alpha2Code:"MK",alpha3Code:"MKD",numericCode:"807",callingCode:"+389"},{name:"Madagaskar",alpha2Code:"MG",alpha3Code:"MDG",numericCode:"450",callingCode:"+261"},{name:"Malawi",alpha2Code:"MW",alpha3Code:"MWI",numericCode:"454",callingCode:"+265"},{name:"Maleisi\xeb",alpha2Code:"MY",alpha3Code:"MYS",numericCode:"458",callingCode:"+60"},{name:"Maldiven",alpha2Code:"MV",alpha3Code:"MDV",numericCode:"462",callingCode:"+960"},{name:"Mali",alpha2Code:"ML",alpha3Code:"MLI",numericCode:"466",callingCode:"+223"},{name:"Malta",alpha2Code:"MT",alpha3Code:"MLT",numericCode:"470",callingCode:"+356"},{name:"Marshalleilanden",alpha2Code:"MH",alpha3Code:"MHL",numericCode:"584",callingCode:"+692"},{name:"Martinique",alpha2Code:"MQ",alpha3Code:"MTQ",numericCode:"474",callingCode:"+596"},{name:"Mauritani\xeb",alpha2Code:"MR",alpha3Code:"MRT",numericCode:"478",callingCode:"+222"},{name:"Mauritius",alpha2Code:"MU",alpha3Code:"MUS",numericCode:"480",callingCode:"+230"},{name:"Mayotte",alpha2Code:"YT",alpha3Code:"MYT",numericCode:"175",callingCode:"+262"},{name:"Mexico",alpha2Code:"MX",alpha3Code:"MEX",numericCode:"484",callingCode:"+52"},{name:"Micronesi\xeb",alpha2Code:"FM",alpha3Code:"FSM",numericCode:"583",callingCode:"+691"},{name:"Moldavi\xeb",alpha2Code:"MD",alpha3Code:"MDA",numericCode:"498",callingCode:"+373"},{name:"Monaco",alpha2Code:"MC",alpha3Code:"MCO",numericCode:"492",callingCode:"+377"},{name:"Mongoli\xeb",alpha2Code:"MN",alpha3Code:"MNG",numericCode:"496",callingCode:"+976"},{name:"Montenegro",alpha2Code:"ME",alpha3Code:"MNE",numericCode:"499",callingCode:"+382"},{name:"Montserrat",alpha2Code:"MS",alpha3Code:"MSR",numericCode:"500",callingCode:"+1664"},{name:"Marokko",alpha2Code:"MA",alpha3Code:"MAR",numericCode:"504",callingCode:"+212"},{name:"Mozambique",alpha2Code:"MZ",alpha3Code:"MOZ",numericCode:"508",callingCode:"+258"},{name:"Myanmar",alpha2Code:"MM",alpha3Code:"MMR",numericCode:"104",callingCode:"+95"},{name:"Namibi\xeb",alpha2Code:"NA",alpha3Code:"NAM",numericCode:"516",callingCode:"+264"},{name:"Nauru",alpha2Code:"NR",alpha3Code:"NRU",numericCode:"520",callingCode:"+674"},{name:"Nepal",alpha2Code:"NP",alpha3Code:"NPL",numericCode:"524",callingCode:"+977"},{name:"Nederland",alpha2Code:"NL",alpha3Code:"NLD",numericCode:"528",callingCode:"+31"},{name:"Nieuw-Caledoni\xeb",alpha2Code:"NC",alpha3Code:"NCL",numericCode:"540",callingCode:"+687"},{name:"Nieuw-Zeeland",alpha2Code:"NZ",alpha3Code:"NZL",numericCode:"554",callingCode:"+64"},{name:"Nicaragua",alpha2Code:"NI",alpha3Code:"NIC",numericCode:"558",callingCode:"+505"},{name:"Niger",alpha2Code:"NE",alpha3Code:"NER",numericCode:"562",callingCode:"+227"},{name:"Nigeria",alpha2Code:"NG",alpha3Code:"NGA",numericCode:"566",callingCode:"+234"},{name:"Niue",alpha2Code:"NU",alpha3Code:"NIU",numericCode:"570",callingCode:"+683"},{name:"Norfolkeiland",alpha2Code:"NF",alpha3Code:"NFK",numericCode:"574",callingCode:"+672"},{name:"Noord-Korea",alpha2Code:"KP",alpha3Code:"PRK",numericCode:"408",callingCode:"+850"},{name:"Noordelijke Marianeneilanden",alpha2Code:"MP",alpha3Code:"MNP",numericCode:"580",callingCode:"+1670"},{name:"Noorwegen",alpha2Code:"NO",alpha3Code:"NOR",numericCode:"578",callingCode:"+47"},{name:"Oman",alpha2Code:"OM",alpha3Code:"OMN",numericCode:"512",callingCode:"+968"},{name:"Pakistan",alpha2Code:"PK",alpha3Code:"PAK",numericCode:"586",callingCode:"+92"},{name:"Palau",alpha2Code:"PW",alpha3Code:"PLW",numericCode:"585",callingCode:"+680"},{name:"Palestijnse gebieden",alpha2Code:"PS",alpha3Code:"PSE",numericCode:"275",callingCode:"+970"},{name:"Panama",alpha2Code:"PA",alpha3Code:"PAN",numericCode:"591",callingCode:"+507"},{name:"Papoea-Nieuw-Guinea",alpha2Code:"PG",alpha3Code:"PNG",numericCode:"598",callingCode:"+675"},{name:"Paraguay",alpha2Code:"PY",alpha3Code:"PRY",numericCode:"600",callingCode:"+595"},{name:"Peru",alpha2Code:"PE",alpha3Code:"PER",numericCode:"604",callingCode:"+51"},{name:"Filipijnen",alpha2Code:"PH",alpha3Code:"PHL",numericCode:"608",callingCode:"+63"},{name:"Pitcairneilanden",alpha2Code:"PN",alpha3Code:"PCN",numericCode:"612",callingCode:"+64"},{name:"Polen",alpha2Code:"PL",alpha3Code:"POL",numericCode:"616",callingCode:"+48"},{name:"Portugal",alpha2Code:"PT",alpha3Code:"PRT",numericCode:"620",callingCode:"+351"},{name:"Puerto Rico",alpha2Code:"PR",alpha3Code:"PRI",numericCode:"630",callingCode:"+1"},{name:"Qatar",alpha2Code:"QA",alpha3Code:"QAT",numericCode:"634",callingCode:"+974"},{name:"Kosovo",alpha2Code:"XK",alpha3Code:"KOS",numericCode:null,callingCode:"+383"},{name:"R\xe9union",alpha2Code:"RE",alpha3Code:"REU",numericCode:"638",callingCode:"+262"},{name:"Roemeni\xeb",alpha2Code:"RO",alpha3Code:"ROU",numericCode:"642",callingCode:"+40"},{name:"Rusland",alpha2Code:"RU",alpha3Code:"RUS",numericCode:"643",callingCode:"+7"},{name:"Rwanda",alpha2Code:"RW",alpha3Code:"RWA",numericCode:"646",callingCode:"+250"},{name:"Saint Barth\xe9lemy",alpha2Code:"BL",alpha3Code:"BLM",numericCode:"652",callingCode:"+590"},{name:"Sint-Helena",alpha2Code:"SH",alpha3Code:"SHN",numericCode:"654",callingCode:"+290"},{name:"Saint Kitts en Nevis",alpha2Code:"KN",alpha3Code:"KNA",numericCode:"659",callingCode:"+1869"},{name:"Saint Lucia",alpha2Code:"LC",alpha3Code:"LCA",numericCode:"662",callingCode:"+1758"},{name:"Saint-Martin",alpha2Code:"MF",alpha3Code:"MAF",numericCode:"663",callingCode:"+590"},{name:"Saint Pierre en Miquelon",alpha2Code:"PM",alpha3Code:"SPM",numericCode:"666",callingCode:"+508"},{name:"Saint Vincent en de Grenadines",alpha2Code:"VC",alpha3Code:"VCT",numericCode:"670",callingCode:"+1784"},{name:"Samoa",alpha2Code:"WS",alpha3Code:"WSM",numericCode:"882",callingCode:"+685"},{name:"San Marino",alpha2Code:"SM",alpha3Code:"SMR",numericCode:"674",callingCode:"+378"},{name:"Sao Tom\xe9 en Principe",alpha2Code:"ST",alpha3Code:"STP",numericCode:"678",callingCode:"+239"},{name:"Saoedi-Arabi\xeb",alpha2Code:"SA",alpha3Code:"SAU",numericCode:"682",callingCode:"+966"},{name:"Senegal",alpha2Code:"SN",alpha3Code:"SEN",numericCode:"686",callingCode:"+221"},{name:"Servi\xeb",alpha2Code:"RS",alpha3Code:"SRB",numericCode:"688",callingCode:"+381"},{name:"Seychellen",alpha2Code:"SC",alpha3Code:"SYC",numericCode:"690",callingCode:"+248"},{name:"Sierra Leone",alpha2Code:"SL",alpha3Code:"SLE",numericCode:"694",callingCode:"+232"},{name:"Singapore",alpha2Code:"SG",alpha3Code:"SGP",numericCode:"702",callingCode:"+65"},{name:"Sint Maarten",alpha2Code:"SX",alpha3Code:"SXM",numericCode:"534",callingCode:"+1721"},{name:"Slowakije",alpha2Code:"SK",alpha3Code:"SVK",numericCode:"703",callingCode:"+421"},{name:"Sloveni\xeb",alpha2Code:"SI",alpha3Code:"SVN",numericCode:"705",callingCode:"+386"},{name:"Salomonseilanden",alpha2Code:"SB",alpha3Code:"SLB",numericCode:"090",callingCode:"+677"},{name:"Somali\xeb",alpha2Code:"SO",alpha3Code:"SOM",numericCode:"706",callingCode:"+252"},{name:"Zuid-Afrika",alpha2Code:"ZA",alpha3Code:"ZAF",numericCode:"710",callingCode:"+27"},{name:"Zuid-Georgia en Zuidelijke Sandwicheilanden",alpha2Code:"GS",alpha3Code:"SGS",numericCode:"239",callingCode:"+500"},{name:"Zuid-Korea",alpha2Code:"KR",alpha3Code:"KOR",numericCode:"410",callingCode:"+82"},{name:"Zuid-Soedan",alpha2Code:"SS",alpha3Code:"SSD",numericCode:"728",callingCode:"+211"},{name:"Spanje",alpha2Code:"ES",alpha3Code:"ESP",numericCode:"724",callingCode:"+34"},{name:"Sri Lanka",alpha2Code:"LK",alpha3Code:"LKA",numericCode:"144",callingCode:"+94"},{name:"Soedan",alpha2Code:"SD",alpha3Code:"SDN",numericCode:"729",callingCode:"+249"},{name:"Suriname",alpha2Code:"SR",alpha3Code:"SUR",numericCode:"740",callingCode:"+597"},{name:"Svalbard en Jan Mayen",alpha2Code:"SJ",alpha3Code:"SJM",numericCode:"744",callingCode:"+4779"},{name:"Swaziland",alpha2Code:"SZ",alpha3Code:"SWZ",numericCode:"748",callingCode:"+268"},{name:"Zweden",alpha2Code:"SE",alpha3Code:"SWE",numericCode:"752",callingCode:"+46"},{name:"Zwitserland",alpha2Code:"CH",alpha3Code:"CHE",numericCode:"756",callingCode:"+41"},{name:"Syri\xeb",alpha2Code:"SY",alpha3Code:"SYR",numericCode:"760",callingCode:"+963"},{name:"Taiwan, China",alpha2Code:"TW",alpha3Code:"TWN",numericCode:"158",callingCode:"+886"},{name:"Tadzjikistan",alpha2Code:"TJ",alpha3Code:"TJK",numericCode:"762",callingCode:"+992"},{name:"Tanzania",alpha2Code:"TZ",alpha3Code:"TZA",numericCode:"834",callingCode:"+255"},{name:"Thailand",alpha2Code:"TH",alpha3Code:"THA",numericCode:"764",callingCode:"+66"},{name:"Oost-Timor",alpha2Code:"TL",alpha3Code:"TLS",numericCode:"626",callingCode:"+670"},{name:"Togo",alpha2Code:"TG",alpha3Code:"TGO",numericCode:"768",callingCode:"+228"},{name:"Tokelau",alpha2Code:"TK",alpha3Code:"TKL",numericCode:"772",callingCode:"+690"},{name:"Tonga",alpha2Code:"TO",alpha3Code:"TON",numericCode:"776",callingCode:"+676"},{name:"Trinidad en Tobago",alpha2Code:"TT",alpha3Code:"TTO",numericCode:"780",callingCode:"+1868"},{name:"Tunesi\xeb",alpha2Code:"TN",alpha3Code:"TUN",numericCode:"788",callingCode:"+216"},{name:"Turkije",alpha2Code:"TR",alpha3Code:"TUR",numericCode:"792",callingCode:"+90"},{name:"Turkmenistan",alpha2Code:"TM",alpha3Code:"TKM",numericCode:"795",callingCode:"+993"},{name:"Turks- en Caicoseilanden",alpha2Code:"TC",alpha3Code:"TCA",numericCode:"796",callingCode:"+1649"},{name:"Tuvalu",alpha2Code:"TV",alpha3Code:"TUV",numericCode:"798",callingCode:"+688"},{name:"Oeganda",alpha2Code:"UG",alpha3Code:"UGA",numericCode:"800",callingCode:"+256"},{name:"Oekra\xefne",alpha2Code:"UA",alpha3Code:"UKR",numericCode:"804",callingCode:"+380"},{name:"Verenigde Arabische Emiraten",alpha2Code:"AE",alpha3Code:"ARE",numericCode:"784",callingCode:"+971"},{name:"Verenigd Koninkrijk",alpha2Code:"GB",alpha3Code:"GBR",numericCode:"826",callingCode:"+44"},{name:"Verenigde Staten",alpha2Code:"US",alpha3Code:"USA",numericCode:"840",callingCode:"+1"},{name:"Uruguay",alpha2Code:"UY",alpha3Code:"URY",numericCode:"858",callingCode:"+598"},{name:"Oezbekistan",alpha2Code:"UZ",alpha3Code:"UZB",numericCode:"860",callingCode:"+998"},{name:"Vanuatu",alpha2Code:"VU",alpha3Code:"VUT",numericCode:"548",callingCode:"+678"},{name:"Venezuela",alpha2Code:"VE",alpha3Code:"VEN",numericCode:"862",callingCode:"+58"},{name:"Vietnam",alpha2Code:"VN",alpha3Code:"VNM",numericCode:"704",callingCode:"+84"},{name:"Wallis en Futuna",alpha2Code:"WF",alpha3Code:"WLF",numericCode:"876",callingCode:"+681"},{name:"Westelijke Sahara",alpha2Code:"EH",alpha3Code:"ESH",numericCode:"732",callingCode:"+212"},{name:"Jemen",alpha2Code:"YE",alpha3Code:"YEM",numericCode:"887",callingCode:"+967"},{name:"Zambia",alpha2Code:"ZM",alpha3Code:"ZMB",numericCode:"894",callingCode:"+260"},{name:"Zimbabwe",alpha2Code:"ZW",alpha3Code:"ZWE",numericCode:"716",callingCode:"+263"}]}),Df=Object.freeze({__proto__:null,COUNTRIES_DB_PT:[{name:"Afeganist\xe3o",alpha2Code:"AF",alpha3Code:"AFG",numericCode:"004",callingCode:"+93"},{name:"Ilhas de Aland",alpha2Code:"AX",alpha3Code:"ALA",numericCode:"248",callingCode:"+358"},{name:"Alb\xe2nia",alpha2Code:"AL",alpha3Code:"ALB",numericCode:"008",callingCode:"+355"},{name:"Arg\xe9lia",alpha2Code:"DZ",alpha3Code:"DZA",numericCode:"012",callingCode:"+213"},{name:"Samoa Americana",alpha2Code:"AS",alpha3Code:"ASM",numericCode:"016",callingCode:"+1684"},{name:"Andorra",alpha2Code:"AD",alpha3Code:"AND",numericCode:"020",callingCode:"+376"},{name:"Angola",alpha2Code:"AO",alpha3Code:"AGO",numericCode:"024",callingCode:"+244"},{name:"Anguila",alpha2Code:"AI",alpha3Code:"AIA",numericCode:"660",callingCode:"+1264"},{name:"Ant\xe1rctida",alpha2Code:"AQ",alpha3Code:"ATA",numericCode:"010",callingCode:"+672"},{name:"Ant\xedgua e Barbuda",alpha2Code:"AG",alpha3Code:"ATG",numericCode:"028",callingCode:"+1268"},{name:"Argentina",alpha2Code:"AR",alpha3Code:"ARG",numericCode:"032",callingCode:"+54"},{name:"Arm\xe9nia",alpha2Code:"AM",alpha3Code:"ARM",numericCode:"051",callingCode:"+374"},{name:"Aruba",alpha2Code:"AW",alpha3Code:"ABW",numericCode:"533",callingCode:"+297"},{name:"Austr\xe1lia",alpha2Code:"AU",alpha3Code:"AUS",numericCode:"036",callingCode:"+61"},{name:"\xe1ustria",alpha2Code:"AT",alpha3Code:"AUT",numericCode:"040",callingCode:"+43"},{name:"Azerbaij\xe3o",alpha2Code:"AZ",alpha3Code:"AZE",numericCode:"031",callingCode:"+994"},{name:"Baamas",alpha2Code:"BS",alpha3Code:"BHS",numericCode:"044",callingCode:"+1242"},{name:"Bar\xe9m",alpha2Code:"BH",alpha3Code:"BHR",numericCode:"048",callingCode:"+973"},{name:"Bangladeche",alpha2Code:"BD",alpha3Code:"BGD",numericCode:"050",callingCode:"+880"},{name:"Barbados",alpha2Code:"BB",alpha3Code:"BRB",numericCode:"052",callingCode:"+1246"},{name:"Bielorr\xfassia",alpha2Code:"BY",alpha3Code:"BLR",numericCode:"112",callingCode:"+375"},{name:"B\xe9lgica",alpha2Code:"BE",alpha3Code:"BEL",numericCode:"056",callingCode:"+32"},{name:"Belize",alpha2Code:"BZ",alpha3Code:"BLZ",numericCode:"084",callingCode:"+501"},{name:"Benim",alpha2Code:"BJ",alpha3Code:"BEN",numericCode:"204",callingCode:"+229"},{name:"Bermudas",alpha2Code:"BM",alpha3Code:"BMU",numericCode:"060",callingCode:"+1441"},{name:"But\xe3o",alpha2Code:"BT",alpha3Code:"BTN",numericCode:"064",callingCode:"+975"},{name:"Bol\xedvia",alpha2Code:"BO",alpha3Code:"BOL",numericCode:"068",callingCode:"+591"},{name:"Bonaire",alpha2Code:"BQ",alpha3Code:"BES",numericCode:"535",callingCode:"+5997"},{name:"B\xf3snia e Herzegovina",alpha2Code:"BA",alpha3Code:"BIH",numericCode:"070",callingCode:"+387"},{name:"Botsuana",alpha2Code:"BW",alpha3Code:"BWA",numericCode:"072",callingCode:"+267"},{name:"Ilha Bouvet",alpha2Code:"BV",alpha3Code:"BVT",numericCode:"074",callingCode:"+"},{name:"Brasil",alpha2Code:"BR",alpha3Code:"BRA",numericCode:"076",callingCode:"+55"},{name:"Territ\xf3rio Brit\xe2nico do Oceano \xcdndico",alpha2Code:"IO",alpha3Code:"IOT",numericCode:"086",callingCode:"+246"},{name:"Ilhas Menores Distantes dos Estados Unidos",alpha2Code:"UM",alpha3Code:"UMI",numericCode:"581",callingCode:"+"},{name:"Ilhas Virgens Brit\xe2nicas",alpha2Code:"VG",alpha3Code:"VGB",numericCode:"092",callingCode:"+1284"},{name:"Ilhas Virgens Americanas",alpha2Code:"VI",alpha3Code:"VIR",numericCode:"850",callingCode:"+1 340"},{name:"Brunei",alpha2Code:"BN",alpha3Code:"BRN",numericCode:"096",callingCode:"+673"},{name:"Bulg\xe1ria",alpha2Code:"BG",alpha3Code:"BGR",numericCode:"100",callingCode:"+359"},{name:"Burquina Faso",alpha2Code:"BF",alpha3Code:"BFA",numericCode:"854",callingCode:"+226"},{name:"Bur\xfandi",alpha2Code:"BI",alpha3Code:"BDI",numericCode:"108",callingCode:"+257"},{name:"Camboja",alpha2Code:"KH",alpha3Code:"KHM",numericCode:"116",callingCode:"+855"},{name:"Camar\xf5es",alpha2Code:"CM",alpha3Code:"CMR",numericCode:"120",callingCode:"+237"},{name:"Canad\xe1",alpha2Code:"CA",alpha3Code:"CAN",numericCode:"124",callingCode:"+1"},{name:"Cabo Verde",alpha2Code:"CV",alpha3Code:"CPV",numericCode:"132",callingCode:"+238"},{name:"Ilhas Caim\xe3o",alpha2Code:"KY",alpha3Code:"CYM",numericCode:"136",callingCode:"+1345"},{name:"Rep\xfablica Centro-Africana",alpha2Code:"CF",alpha3Code:"CAF",numericCode:"140",callingCode:"+236"},{name:"Chade",alpha2Code:"TD",alpha3Code:"TCD",numericCode:"148",callingCode:"+235"},{name:"Chile",alpha2Code:"CL",alpha3Code:"CHL",numericCode:"152",callingCode:"+56"},{name:"China",alpha2Code:"CN",alpha3Code:"CHN",numericCode:"156",callingCode:"+86"},{name:"Ilha do Natal",alpha2Code:"CX",alpha3Code:"CXR",numericCode:"162",callingCode:"+61"},{name:"Ilhas dos Cocos",alpha2Code:"CC",alpha3Code:"CCK",numericCode:"166",callingCode:"+61"},{name:"Col\xf4mbia",alpha2Code:"CO",alpha3Code:"COL",numericCode:"170",callingCode:"+57"},{name:"Comores",alpha2Code:"KM",alpha3Code:"COM",numericCode:"174",callingCode:"+269"},{name:"Congo",alpha2Code:"CG",alpha3Code:"COG",numericCode:"178",callingCode:"+242"},{name:"RD Congo",alpha2Code:"CD",alpha3Code:"COD",numericCode:"180",callingCode:"+243"},{name:"Ilhas Cook",alpha2Code:"CK",alpha3Code:"COK",numericCode:"184",callingCode:"+682"},{name:"Costa Rica",alpha2Code:"CR",alpha3Code:"CRI",numericCode:"188",callingCode:"+506"},{name:"Cro\xe1cia",alpha2Code:"HR",alpha3Code:"HRV",numericCode:"191",callingCode:"+385"},{name:"Cuba",alpha2Code:"CU",alpha3Code:"CUB",numericCode:"192",callingCode:"+53"},{name:"Cura\xe7ao",alpha2Code:"CW",alpha3Code:"CUW",numericCode:"531",callingCode:"+599"},{name:"Chipre",alpha2Code:"CY",alpha3Code:"CYP",numericCode:"196",callingCode:"+357"},{name:"Rep\xfablica Checa",alpha2Code:"CZ",alpha3Code:"CZE",numericCode:"203",callingCode:"+420"},{name:"Dinamarca",alpha2Code:"DK",alpha3Code:"DNK",numericCode:"208",callingCode:"+45"},{name:"Djibuti",alpha2Code:"DJ",alpha3Code:"DJI",numericCode:"262",callingCode:"+253"},{name:"Dominica",alpha2Code:"DM",alpha3Code:"DMA",numericCode:"212",callingCode:"+1767"},{name:"Rep\xfablica Dominicana",alpha2Code:"DO",alpha3Code:"DOM",numericCode:"214",callingCode:"+1809"},{name:"Equador",alpha2Code:"EC",alpha3Code:"ECU",numericCode:"218",callingCode:"+593"},{name:"Egipto",alpha2Code:"EG",alpha3Code:"EGY",numericCode:"818",callingCode:"+20"},{name:"El Salvador",alpha2Code:"SV",alpha3Code:"SLV",numericCode:"222",callingCode:"+503"},{name:"Guin\xe9 Equatorial",alpha2Code:"GQ",alpha3Code:"GNQ",numericCode:"226",callingCode:"+240"},{name:"Eritreia",alpha2Code:"ER",alpha3Code:"ERI",numericCode:"232",callingCode:"+291"},{name:"Est\xf3nia",alpha2Code:"EE",alpha3Code:"EST",numericCode:"233",callingCode:"+372"},{name:"Eti\xf3pia",alpha2Code:"ET",alpha3Code:"ETH",numericCode:"231",callingCode:"+251"},{name:"Ilhas Falkland",alpha2Code:"FK",alpha3Code:"FLK",numericCode:"238",callingCode:"+500"},{name:"Ilhas Faro\xe9",alpha2Code:"FO",alpha3Code:"FRO",numericCode:"234",callingCode:"+298"},{name:"Fiji",alpha2Code:"FJ",alpha3Code:"FJI",numericCode:"242",callingCode:"+679"},{name:"Finl\xe2ndia",alpha2Code:"FI",alpha3Code:"FIN",numericCode:"246",callingCode:"+358"},{name:"Fran\xe7a",alpha2Code:"FR",alpha3Code:"FRA",numericCode:"250",callingCode:"+33"},{name:"Guiana Francesa",alpha2Code:"GF",alpha3Code:"GUF",numericCode:"254",callingCode:"+594"},{name:"Polin\xe9sia Francesa",alpha2Code:"PF",alpha3Code:"PYF",numericCode:"258",callingCode:"+689"},{name:"Terras Austrais e Ant\xe1rticas Francesas",alpha2Code:"TF",alpha3Code:"ATF",numericCode:"260",callingCode:"+"},{name:"Gab\xe3o",alpha2Code:"GA",alpha3Code:"GAB",numericCode:"266",callingCode:"+241"},{name:"G\xe2mbia",alpha2Code:"GM",alpha3Code:"GMB",numericCode:"270",callingCode:"+220"},{name:"Ge\xf3rgia",alpha2Code:"GE",alpha3Code:"GEO",numericCode:"268",callingCode:"+995"},{name:"Alemanha",alpha2Code:"DE",alpha3Code:"DEU",numericCode:"276",callingCode:"+49"},{name:"Gana",alpha2Code:"GH",alpha3Code:"GHA",numericCode:"288",callingCode:"+233"},{name:"Gibraltar",alpha2Code:"GI",alpha3Code:"GIB",numericCode:"292",callingCode:"+350"},{name:"Gr\xe9cia",alpha2Code:"GR",alpha3Code:"GRC",numericCode:"300",callingCode:"+30"},{name:"Gronel\xe2ndia",alpha2Code:"GL",alpha3Code:"GRL",numericCode:"304",callingCode:"+299"},{name:"Granada",alpha2Code:"GD",alpha3Code:"GRD",numericCode:"308",callingCode:"+1473"},{name:"Guadalupe",alpha2Code:"GP",alpha3Code:"GLP",numericCode:"312",callingCode:"+590"},{name:"Guame",alpha2Code:"GU",alpha3Code:"GUM",numericCode:"316",callingCode:"+1671"},{name:"Guatemala",alpha2Code:"GT",alpha3Code:"GTM",numericCode:"320",callingCode:"+502"},{name:"Guernsey",alpha2Code:"GG",alpha3Code:"GGY",numericCode:"831",callingCode:"+44"},{name:"Guin\xe9",alpha2Code:"GN",alpha3Code:"GIN",numericCode:"324",callingCode:"+224"},{name:"Guin\xe9-Bissau",alpha2Code:"GW",alpha3Code:"GNB",numericCode:"624",callingCode:"+245"},{name:"Guiana",alpha2Code:"GY",alpha3Code:"GUY",numericCode:"328",callingCode:"+592"},{name:"Haiti",alpha2Code:"HT",alpha3Code:"HTI",numericCode:"332",callingCode:"+509"},{name:"Ilha Heard e Ilhas McDonald",alpha2Code:"HM",alpha3Code:"HMD",numericCode:"334",callingCode:"+"},{name:"Vaticano",alpha2Code:"VA",alpha3Code:"VAT",numericCode:"336",callingCode:"+379"},{name:"Honduras",alpha2Code:"HN",alpha3Code:"HND",numericCode:"340",callingCode:"+504"},{name:"Hong Kong",alpha2Code:"HK",alpha3Code:"HKG",numericCode:"344",callingCode:"+852"},{name:"Hungria",alpha2Code:"HU",alpha3Code:"HUN",numericCode:"348",callingCode:"+36"},{name:"Isl\xe2ndia",alpha2Code:"IS",alpha3Code:"ISL",numericCode:"352",callingCode:"+354"},{name:"\xcdndia",alpha2Code:"IN",alpha3Code:"IND",numericCode:"356",callingCode:"+91"},{name:"Indon\xe9sia",alpha2Code:"ID",alpha3Code:"IDN",numericCode:"360",callingCode:"+62"},{name:"Costa do Marfim",alpha2Code:"CI",alpha3Code:"CIV",numericCode:"384",callingCode:"+225"},{name:"Ir\xe3o",alpha2Code:"IR",alpha3Code:"IRN",numericCode:"364",callingCode:"+98"},{name:"Iraque",alpha2Code:"IQ",alpha3Code:"IRQ",numericCode:"368",callingCode:"+964"},{name:"Irlanda",alpha2Code:"IE",alpha3Code:"IRL",numericCode:"372",callingCode:"+353"},{name:"Ilha de Man",alpha2Code:"IM",alpha3Code:"IMN",numericCode:"833",callingCode:"+44"},{name:"Israel",alpha2Code:"IL",alpha3Code:"ISR",numericCode:"376",callingCode:"+972"},{name:"It\xe1lia",alpha2Code:"IT",alpha3Code:"ITA",numericCode:"380",callingCode:"+39"},{name:"Jamaica",alpha2Code:"JM",alpha3Code:"JAM",numericCode:"388",callingCode:"+1876"},{name:"Jap\xe3o",alpha2Code:"JP",alpha3Code:"JPN",numericCode:"392",callingCode:"+81"},{name:"Jersey",alpha2Code:"JE",alpha3Code:"JEY",numericCode:"832",callingCode:"+44"},{name:"Jord\xe2nia",alpha2Code:"JO",alpha3Code:"JOR",numericCode:"400",callingCode:"+962"},{name:"Cazaquist\xe3o",alpha2Code:"KZ",alpha3Code:"KAZ",numericCode:"398",callingCode:"+7"},{name:"Qu\xe9nia",alpha2Code:"KE",alpha3Code:"KEN",numericCode:"404",callingCode:"+254"},{name:"Quirib\xe1ti",alpha2Code:"KI",alpha3Code:"KIR",numericCode:"296",callingCode:"+686"},{name:"Kuwait",alpha2Code:"KW",alpha3Code:"KWT",numericCode:"414",callingCode:"+965"},{name:"Quirguizist\xe3o",alpha2Code:"KG",alpha3Code:"KGZ",numericCode:"417",callingCode:"+996"},{name:"Laos",alpha2Code:"LA",alpha3Code:"LAO",numericCode:"418",callingCode:"+856"},{name:"Let\xf3nia",alpha2Code:"LV",alpha3Code:"LVA",numericCode:"428",callingCode:"+371"},{name:"L\xedbano",alpha2Code:"LB",alpha3Code:"LBN",numericCode:"422",callingCode:"+961"},{name:"Lesoto",alpha2Code:"LS",alpha3Code:"LSO",numericCode:"426",callingCode:"+266"},{name:"Lib\xe9ria",alpha2Code:"LR",alpha3Code:"LBR",numericCode:"430",callingCode:"+231"},{name:"L\xedbia",alpha2Code:"LY",alpha3Code:"LBY",numericCode:"434",callingCode:"+218"},{name:"Listenstaine",alpha2Code:"LI",alpha3Code:"LIE",numericCode:"438",callingCode:"+423"},{name:"Litu\xe2nia",alpha2Code:"LT",alpha3Code:"LTU",numericCode:"440",callingCode:"+370"},{name:"Luxemburgo",alpha2Code:"LU",alpha3Code:"LUX",numericCode:"442",callingCode:"+352"},{name:"Macau",alpha2Code:"MO",alpha3Code:"MAC",numericCode:"446",callingCode:"+853"},{name:"Maced\xf3nia",alpha2Code:"MK",alpha3Code:"MKD",numericCode:"807",callingCode:"+389"},{name:"Madag\xe1scar",alpha2Code:"MG",alpha3Code:"MDG",numericCode:"450",callingCode:"+261"},{name:"Mal\xe1vi",alpha2Code:"MW",alpha3Code:"MWI",numericCode:"454",callingCode:"+265"},{name:"Mal\xe1sia",alpha2Code:"MY",alpha3Code:"MYS",numericCode:"458",callingCode:"+60"},{name:"Maldivas",alpha2Code:"MV",alpha3Code:"MDV",numericCode:"462",callingCode:"+960"},{name:"Mali",alpha2Code:"ML",alpha3Code:"MLI",numericCode:"466",callingCode:"+223"},{name:"Malta",alpha2Code:"MT",alpha3Code:"MLT",numericCode:"470",callingCode:"+356"},{name:"Ilhas Marshall",alpha2Code:"MH",alpha3Code:"MHL",numericCode:"584",callingCode:"+692"},{name:"Martinica",alpha2Code:"MQ",alpha3Code:"MTQ",numericCode:"474",callingCode:"+596"},{name:"Maurit\xe2nia",alpha2Code:"MR",alpha3Code:"MRT",numericCode:"478",callingCode:"+222"},{name:"Maur\xedcia",alpha2Code:"MU",alpha3Code:"MUS",numericCode:"480",callingCode:"+230"},{name:"Mayotte",alpha2Code:"YT",alpha3Code:"MYT",numericCode:"175",callingCode:"+262"},{name:"M\xe9xico",alpha2Code:"MX",alpha3Code:"MEX",numericCode:"484",callingCode:"+52"},{name:"Micron\xe9sia",alpha2Code:"FM",alpha3Code:"FSM",numericCode:"583",callingCode:"+691"},{name:"Mold\xe1via",alpha2Code:"MD",alpha3Code:"MDA",numericCode:"498",callingCode:"+373"},{name:"M\xf3naco",alpha2Code:"MC",alpha3Code:"MCO",numericCode:"492",callingCode:"+377"},{name:"Mong\xf3lia",alpha2Code:"MN",alpha3Code:"MNG",numericCode:"496",callingCode:"+976"},{name:"Montenegro",alpha2Code:"ME",alpha3Code:"MNE",numericCode:"499",callingCode:"+382"},{name:"Monserrate",alpha2Code:"MS",alpha3Code:"MSR",numericCode:"500",callingCode:"+1664"},{name:"Marrocos",alpha2Code:"MA",alpha3Code:"MAR",numericCode:"504",callingCode:"+212"},{name:"Mo\xe7ambique",alpha2Code:"MZ",alpha3Code:"MOZ",numericCode:"508",callingCode:"+258"},{name:"Myanmar",alpha2Code:"MM",alpha3Code:"MMR",numericCode:"104",callingCode:"+95"},{name:"Nam\xedbia",alpha2Code:"NA",alpha3Code:"NAM",numericCode:"516",callingCode:"+264"},{name:"Nauru",alpha2Code:"NR",alpha3Code:"NRU",numericCode:"520",callingCode:"+674"},{name:"Nepal",alpha2Code:"NP",alpha3Code:"NPL",numericCode:"524",callingCode:"+977"},{name:"Pa\xedses Baixos",alpha2Code:"NL",alpha3Code:"NLD",numericCode:"528",callingCode:"+31"},{name:"Nova Caled\xf3nia",alpha2Code:"NC",alpha3Code:"NCL",numericCode:"540",callingCode:"+687"},{name:"Nova Zel\xe2ndia",alpha2Code:"NZ",alpha3Code:"NZL",numericCode:"554",callingCode:"+64"},{name:"Nicar\xe1gua",alpha2Code:"NI",alpha3Code:"NIC",numericCode:"558",callingCode:"+505"},{name:"N\xedger",alpha2Code:"NE",alpha3Code:"NER",numericCode:"562",callingCode:"+227"},{name:"Nig\xe9ria",alpha2Code:"NG",alpha3Code:"NGA",numericCode:"566",callingCode:"+234"},{name:"Niue",alpha2Code:"NU",alpha3Code:"NIU",numericCode:"570",callingCode:"+683"},{name:"Ilha Norfolk",alpha2Code:"NF",alpha3Code:"NFK",numericCode:"574",callingCode:"+672"},{name:"Coreia do Norte",alpha2Code:"KP",alpha3Code:"PRK",numericCode:"408",callingCode:"+850"},{name:"Ilhas Marianas",alpha2Code:"MP",alpha3Code:"MNP",numericCode:"580",callingCode:"+1670"},{name:"Noruega",alpha2Code:"NO",alpha3Code:"NOR",numericCode:"578",callingCode:"+47"},{name:"Om\xe3",alpha2Code:"OM",alpha3Code:"OMN",numericCode:"512",callingCode:"+968"},{name:"Paquist\xe3o",alpha2Code:"PK",alpha3Code:"PAK",numericCode:"586",callingCode:"+92"},{name:"Palau",alpha2Code:"PW",alpha3Code:"PLW",numericCode:"585",callingCode:"+680"},{name:"Palestina",alpha2Code:"PS",alpha3Code:"PSE",numericCode:"275",callingCode:"+970"},{name:"Panam\xe1",alpha2Code:"PA",alpha3Code:"PAN",numericCode:"591",callingCode:"+507"},{name:"Papua Nova Guin\xe9",alpha2Code:"PG",alpha3Code:"PNG",numericCode:"598",callingCode:"+675"},{name:"Paraguai",alpha2Code:"PY",alpha3Code:"PRY",numericCode:"600",callingCode:"+595"},{name:"Peru",alpha2Code:"PE",alpha3Code:"PER",numericCode:"604",callingCode:"+51"},{name:"Filipinas",alpha2Code:"PH",alpha3Code:"PHL",numericCode:"608",callingCode:"+63"},{name:"Ilhas Pic\xe1rnia",alpha2Code:"PN",alpha3Code:"PCN",numericCode:"612",callingCode:"+64"},{name:"Pol\xf3nia",alpha2Code:"PL",alpha3Code:"POL",numericCode:"616",callingCode:"+48"},{name:"Portugal",alpha2Code:"PT",alpha3Code:"PRT",numericCode:"620",callingCode:"+351"},{name:"Porto Rico",alpha2Code:"PR",alpha3Code:"PRI",numericCode:"630",callingCode:"+1"},{name:"Catar",alpha2Code:"QA",alpha3Code:"QAT",numericCode:"634",callingCode:"+974"},{name:"Kosovo",alpha2Code:"XK",alpha3Code:"KOS",numericCode:null,callingCode:"+383"},{name:"Reuni\xe3o",alpha2Code:"RE",alpha3Code:"REU",numericCode:"638",callingCode:"+262"},{name:"Rom\xe9nia",alpha2Code:"RO",alpha3Code:"ROU",numericCode:"642",callingCode:"+40"},{name:"R\xfassia",alpha2Code:"RU",alpha3Code:"RUS",numericCode:"643",callingCode:"+7"},{name:"Ruanda",alpha2Code:"RW",alpha3Code:"RWA",numericCode:"646",callingCode:"+250"},{name:"S\xe3o Bartolomeu",alpha2Code:"BL",alpha3Code:"BLM",numericCode:"652",callingCode:"+590"},{name:"Santa Helena",alpha2Code:"SH",alpha3Code:"SHN",numericCode:"654",callingCode:"+290"},{name:"S\xe3o Crist\xf3v\xe3o e Neves",alpha2Code:"KN",alpha3Code:"KNA",numericCode:"659",callingCode:"+1869"},{name:"Santa L\xfacia",alpha2Code:"LC",alpha3Code:"LCA",numericCode:"662",callingCode:"+1758"},{name:"Ilha S\xe3o Martinho",alpha2Code:"MF",alpha3Code:"MAF",numericCode:"663",callingCode:"+590"},{name:"S\xe3o Pedro e Miquelon",alpha2Code:"PM",alpha3Code:"SPM",numericCode:"666",callingCode:"+508"},{name:"S\xe3o Vicente e Granadinas",alpha2Code:"VC",alpha3Code:"VCT",numericCode:"670",callingCode:"+1784"},{name:"Samoa",alpha2Code:"WS",alpha3Code:"WSM",numericCode:"882",callingCode:"+685"},{name:"S\xe3o Marinho",alpha2Code:"SM",alpha3Code:"SMR",numericCode:"674",callingCode:"+378"},{name:"S\xe3o Tom\xe9 e Pr\xedncipe",alpha2Code:"ST",alpha3Code:"STP",numericCode:"678",callingCode:"+239"},{name:"Ar\xe1bia Saudita",alpha2Code:"SA",alpha3Code:"SAU",numericCode:"682",callingCode:"+966"},{name:"Senegal",alpha2Code:"SN",alpha3Code:"SEN",numericCode:"686",callingCode:"+221"},{name:"S\xe9rvia",alpha2Code:"RS",alpha3Code:"SRB",numericCode:"688",callingCode:"+381"},{name:"Seicheles",alpha2Code:"SC",alpha3Code:"SYC",numericCode:"690",callingCode:"+248"},{name:"Serra Leoa",alpha2Code:"SL",alpha3Code:"SLE",numericCode:"694",callingCode:"+232"},{name:"Singapura",alpha2Code:"SG",alpha3Code:"SGP",numericCode:"702",callingCode:"+65"},{name:"S\xe3o Martinho",alpha2Code:"SX",alpha3Code:"SXM",numericCode:"534",callingCode:"+1721"},{name:"Eslov\xe1quia",alpha2Code:"SK",alpha3Code:"SVK",numericCode:"703",callingCode:"+421"},{name:"Eslov\xe9nia",alpha2Code:"SI",alpha3Code:"SVN",numericCode:"705",callingCode:"+386"},{name:"Ilhas Salom\xe3o",alpha2Code:"SB",alpha3Code:"SLB",numericCode:"090",callingCode:"+677"},{name:"Som\xe1lia",alpha2Code:"SO",alpha3Code:"SOM",numericCode:"706",callingCode:"+252"},{name:"Rep\xfablica Sul-Africana",alpha2Code:"ZA",alpha3Code:"ZAF",numericCode:"710",callingCode:"+27"},{name:"Ilhas Ge\xf3rgia do Sul e Sandu\xedche do Sul",alpha2Code:"GS",alpha3Code:"SGS",numericCode:"239",callingCode:"+500"},{name:"Coreia do Sul",alpha2Code:"KR",alpha3Code:"KOR",numericCode:"410",callingCode:"+82"},{name:"Sud\xe3o do Sul",alpha2Code:"SS",alpha3Code:"SSD",numericCode:"728",callingCode:"+211"},{name:"Espanha",alpha2Code:"ES",alpha3Code:"ESP",numericCode:"724",callingCode:"+34"},{name:"Sri Lanka",alpha2Code:"LK",alpha3Code:"LKA",numericCode:"144",callingCode:"+94"},{name:"Sud\xe3o",alpha2Code:"SD",alpha3Code:"SDN",numericCode:"729",callingCode:"+249"},{name:"Suriname",alpha2Code:"SR",alpha3Code:"SUR",numericCode:"740",callingCode:"+597"},{name:"Svalbard",alpha2Code:"SJ",alpha3Code:"SJM",numericCode:"744",callingCode:"+4779"},{name:"Suazil\xe2ndia",alpha2Code:"SZ",alpha3Code:"SWZ",numericCode:"748",callingCode:"+268"},{name:"Su\xe9cia",alpha2Code:"SE",alpha3Code:"SWE",numericCode:"752",callingCode:"+46"},{name:"Su\xed\xe7a",alpha2Code:"CH",alpha3Code:"CHE",numericCode:"756",callingCode:"+41"},{name:"S\xedria",alpha2Code:"SY",alpha3Code:"SYR",numericCode:"760",callingCode:"+963"},{name:"Taiwan, China",alpha2Code:"TW",alpha3Code:"TWN",numericCode:"158",callingCode:"+886"},{name:"Tajiquist\xe3o",alpha2Code:"TJ",alpha3Code:"TJK",numericCode:"762",callingCode:"+992"},{name:"Tanz\xe2nia",alpha2Code:"TZ",alpha3Code:"TZA",numericCode:"834",callingCode:"+255"},{name:"Tail\xe2ndia",alpha2Code:"TH",alpha3Code:"THA",numericCode:"764",callingCode:"+66"},{name:"Timor Leste",alpha2Code:"TL",alpha3Code:"TLS",numericCode:"626",callingCode:"+670"},{name:"Togo",alpha2Code:"TG",alpha3Code:"TGO",numericCode:"768",callingCode:"+228"},{name:"Toquelau",alpha2Code:"TK",alpha3Code:"TKL",numericCode:"772",callingCode:"+690"},{name:"Tonga",alpha2Code:"TO",alpha3Code:"TON",numericCode:"776",callingCode:"+676"},{name:"Trindade e Tobago",alpha2Code:"TT",alpha3Code:"TTO",numericCode:"780",callingCode:"+1868"},{name:"Tun\xedsia",alpha2Code:"TN",alpha3Code:"TUN",numericCode:"788",callingCode:"+216"},{name:"Turquia",alpha2Code:"TR",alpha3Code:"TUR",numericCode:"792",callingCode:"+90"},{name:"Turquemenist\xe3o",alpha2Code:"TM",alpha3Code:"TKM",numericCode:"795",callingCode:"+993"},{name:"Ilhas Turcas e Caicos",alpha2Code:"TC",alpha3Code:"TCA",numericCode:"796",callingCode:"+1649"},{name:"Tuvalu",alpha2Code:"TV",alpha3Code:"TUV",numericCode:"798",callingCode:"+688"},{name:"Uganda",alpha2Code:"UG",alpha3Code:"UGA",numericCode:"800",callingCode:"+256"},{name:"Ucr\xe2nia",alpha2Code:"UA",alpha3Code:"UKR",numericCode:"804",callingCode:"+380"},{name:"Emirados \xe1rabes Unidos",alpha2Code:"AE",alpha3Code:"ARE",numericCode:"784",callingCode:"+971"},{name:"Reino Unido",alpha2Code:"GB",alpha3Code:"GBR",numericCode:"826",callingCode:"+44"},{name:"Estados Unidos",alpha2Code:"US",alpha3Code:"USA",numericCode:"840",callingCode:"+1"},{name:"Uruguai",alpha2Code:"UY",alpha3Code:"URY",numericCode:"858",callingCode:"+598"},{name:"Usbequist\xe3o",alpha2Code:"UZ",alpha3Code:"UZB",numericCode:"860",callingCode:"+998"},{name:"Vanuatu",alpha2Code:"VU",alpha3Code:"VUT",numericCode:"548",callingCode:"+678"},{name:"Venezuela",alpha2Code:"VE",alpha3Code:"VEN",numericCode:"862",callingCode:"+58"},{name:"Vietname",alpha2Code:"VN",alpha3Code:"VNM",numericCode:"704",callingCode:"+84"},{name:"Wallis e Futuna",alpha2Code:"WF",alpha3Code:"WLF",numericCode:"876",callingCode:"+681"},{name:"Saara Ocidental",alpha2Code:"EH",alpha3Code:"ESH",numericCode:"732",callingCode:"+212"},{name:"I\xe9men",alpha2Code:"YE",alpha3Code:"YEM",numericCode:"887",callingCode:"+967"},{name:"Z\xe2mbia",alpha2Code:"ZM",alpha3Code:"ZMB",numericCode:"894",callingCode:"+260"},{name:"Zimbabu\xe9",alpha2Code:"ZW",alpha3Code:"ZWE",numericCode:"716",callingCode:"+263"}]}),p1=Object.freeze({__proto__:null,COUNTRIES_DB_RU:[{name:"\u0410\u0444\u0433\u0430\u043d\u0438\u0441\u0442\u0430\u043d",alpha2Code:"AF",alpha3Code:"AFG",numericCode:"004",callingCode:"+93"},{name:"\u0410\u043b\u0430\u043d\u0434\u0441\u043a\u0438\u0435 \u043e\u0441\u0442\u0440\u043e\u0432\u0430",alpha2Code:"AX",alpha3Code:"ALA",numericCode:"248",callingCode:"+358"},{name:"\u0410\u043b\u0431\u0430\u043d\u0438\u044f",alpha2Code:"AL",alpha3Code:"ALB",numericCode:"008",callingCode:"+355"},{name:"\u0410\u043b\u0436\u0438\u0440",alpha2Code:"DZ",alpha3Code:"DZA",numericCode:"012",callingCode:"+213"},{name:"\u0410\u043c\u0435\u0440\u0438\u043a\u0430\u043d\u0441\u043a\u043e\u0435 \u0421\u0430\u043c\u043e\u0430",alpha2Code:"AS",alpha3Code:"ASM",numericCode:"016",callingCode:"+1684"},{name:"\u0410\u043d\u0434\u043e\u0440\u0440\u0430",alpha2Code:"AD",alpha3Code:"AND",numericCode:"020",callingCode:"+376"},{name:"\u0410\u043d\u0433\u043e\u043b\u0430",alpha2Code:"AO",alpha3Code:"AGO",numericCode:"024",callingCode:"+244"},{name:"\u0410\u043d\u0433\u0438\u043b\u044c\u044f",alpha2Code:"AI",alpha3Code:"AIA",numericCode:"660",callingCode:"+1264"},{name:"\u0410\u043d\u0442\u0430\u0440\u043a\u0442\u0438\u043a\u0430",alpha2Code:"AQ",alpha3Code:"ATA",numericCode:"010",callingCode:"+672"},{name:"\u0410\u043d\u0442\u0438\u0433\u0443\u0430 \u0438 \u0411\u0430\u0440\u0431\u0443\u0434\u0430",alpha2Code:"AG",alpha3Code:"ATG",numericCode:"028",callingCode:"+1268"},{name:"\u0410\u0440\u0433\u0435\u043d\u0442\u0438\u043d\u0430",alpha2Code:"AR",alpha3Code:"ARG",numericCode:"032",callingCode:"+54"},{name:"\u0410\u0440\u043c\u0435\u043d\u0438\u044f",alpha2Code:"AM",alpha3Code:"ARM",numericCode:"051",callingCode:"+374"},{name:"\u0410\u0440\u0443\u0431\u0430",alpha2Code:"AW",alpha3Code:"ABW",numericCode:"533",callingCode:"+297"},{name:"\u0410\u0432\u0441\u0442\u0440\u0430\u043b\u0438\u044f",alpha2Code:"AU",alpha3Code:"AUS",numericCode:"036",callingCode:"+61"},{name:"\u0410\u0432\u0441\u0442\u0440\u0438\u044f",alpha2Code:"AT",alpha3Code:"AUT",numericCode:"040",callingCode:"+43"},{name:"\u0410\u0437\u0435\u0440\u0431\u0430\u0439\u0434\u0436\u0430\u043d",alpha2Code:"AZ",alpha3Code:"AZE",numericCode:"031",callingCode:"+994"},{name:"\u0411\u0430\u0433\u0430\u043c\u0441\u043a\u0438\u0435 \u041e\u0441\u0442\u0440\u043e\u0432\u0430",alpha2Code:"BS",alpha3Code:"BHS",numericCode:"044",callingCode:"+1242"},{name:"\u0411\u0430\u0445\u0440\u0435\u0439\u043d",alpha2Code:"BH",alpha3Code:"BHR",numericCode:"048",callingCode:"+973"},{name:"\u0411\u0430\u043d\u0433\u043b\u0430\u0434\u0435\u0448",alpha2Code:"BD",alpha3Code:"BGD",numericCode:"050",callingCode:"+880"},{name:"\u0411\u0430\u0440\u0431\u0430\u0434\u043e\u0441",alpha2Code:"BB",alpha3Code:"BRB",numericCode:"052",callingCode:"+1246"},{name:"\u0411\u0435\u043b\u0430\u0440\u0443\u0441\u044c",alpha2Code:"BY",alpha3Code:"BLR",numericCode:"112",callingCode:"+375"},{name:"\u0411\u0435\u043b\u044c\u0433\u0438\u044f",alpha2Code:"BE",alpha3Code:"BEL",numericCode:"056",callingCode:"+32"},{name:"\u0411\u0435\u043b\u0438\u0437",alpha2Code:"BZ",alpha3Code:"BLZ",numericCode:"084",callingCode:"+501"},{name:"\u0411\u0435\u043d\u0438\u043d",alpha2Code:"BJ",alpha3Code:"BEN",numericCode:"204",callingCode:"+229"},{name:"\u0411\u0435\u0440\u043c\u0443\u0434\u044b",alpha2Code:"BM",alpha3Code:"BMU",numericCode:"060",callingCode:"+1441"},{name:"\u0411\u0443\u0442\u0430\u043d",alpha2Code:"BT",alpha3Code:"BTN",numericCode:"064",callingCode:"+975"},{name:"\u0411\u043e\u043b\u0438\u0432\u0438\u044f",alpha2Code:"BO",alpha3Code:"BOL",numericCode:"068",callingCode:"+591"},{name:"\u0411\u043e\u043d\u044d\u0439\u0440, \u0421\u0438\u043d\u0442-\u042d\u0441\u0442\u0430\u0442\u0438\u0443\u0441 \u0438 \u0421\u0430\u0431\u0430",alpha2Code:"BQ",alpha3Code:"BES",numericCode:"535",callingCode:"+5997"},{name:"\u0411\u043e\u0441\u043d\u0438\u044f \u0438 \u0413\u0435\u0440\u0446\u0435\u0433\u043e\u0432\u0438\u043d\u0430",alpha2Code:"BA",alpha3Code:"BIH",numericCode:"070",callingCode:"+387"},{name:"\u0411\u043e\u0442\u0441\u0432\u0430\u043d\u0430",alpha2Code:"BW",alpha3Code:"BWA",numericCode:"072",callingCode:"+267"},{name:"\u041e\u0441\u0442\u0440\u043e\u0432 \u0411\u0443\u0432\u0435",alpha2Code:"BV",alpha3Code:"BVT",numericCode:"074",callingCode:"+"},{name:"\u0411\u0440\u0430\u0437\u0438\u043b\u0438\u044f",alpha2Code:"BR",alpha3Code:"BRA",numericCode:"076",callingCode:"+55"},{name:"\u0411\u0440\u0438\u0442\u0430\u043d\u0441\u043a\u0430\u044f \u0442\u0435\u0440\u0440\u0438\u0442\u043e\u0440\u0438\u044f \u0432 \u0418\u043d\u0434\u0438\u0439\u0441\u043a\u043e\u043c \u043e\u043a\u0435\u0430\u043d\u0435",alpha2Code:"IO",alpha3Code:"IOT",numericCode:"086",callingCode:"+246"},{name:"\u0412\u043d\u0435\u0448\u043d\u0438\u0435 \u043c\u0430\u043b\u044b\u0435 \u043e\u0441\u0442\u0440\u043e\u0432\u0430 \u0421\u0428\u0410",alpha2Code:"UM",alpha3Code:"UMI",numericCode:"581",callingCode:"+"},{name:"\u0412\u0438\u0440\u0433\u0438\u043d\u0441\u043a\u0438\u0435 \u041e\u0441\u0442\u0440\u043e\u0432\u0430 (\u0412\u0435\u043b\u0438\u043a\u043e\u0431\u0440\u0438\u0442\u0430\u043d\u0438\u044f)",alpha2Code:"VG",alpha3Code:"VGB",numericCode:"092",callingCode:"+1284"},{name:"\u0412\u0438\u0440\u0433\u0438\u043d\u0441\u043a\u0438\u0435 \u041e\u0441\u0442\u0440\u043e\u0432\u0430 (\u0421\u0428\u0410)",alpha2Code:"VI",alpha3Code:"VIR",numericCode:"850",callingCode:"+1 340"},{name:"\u0411\u0440\u0443\u043d\u0435\u0439",alpha2Code:"BN",alpha3Code:"BRN",numericCode:"096",callingCode:"+673"},{name:"\u0411\u043e\u043b\u0433\u0430\u0440\u0438\u044f",alpha2Code:"BG",alpha3Code:"BGR",numericCode:"100",callingCode:"+359"},{name:"\u0411\u0443\u0440\u043a\u0438\u043d\u0430-\u0424\u0430\u0441\u043e",alpha2Code:"BF",alpha3Code:"BFA",numericCode:"854",callingCode:"+226"},{name:"\u0411\u0443\u0440\u0443\u043d\u0434\u0438",alpha2Code:"BI",alpha3Code:"BDI",numericCode:"108",callingCode:"+257"},{name:"\u041a\u0430\u043c\u0431\u043e\u0434\u0436\u0430",alpha2Code:"KH",alpha3Code:"KHM",numericCode:"116",callingCode:"+855"},{name:"\u041a\u0430\u043c\u0435\u0440\u0443\u043d",alpha2Code:"CM",alpha3Code:"CMR",numericCode:"120",callingCode:"+237"},{name:"\u041a\u0430\u043d\u0430\u0434\u0430",alpha2Code:"CA",alpha3Code:"CAN",numericCode:"124",callingCode:"+1"},{name:"\u041a\u0430\u0431\u043e-\u0412\u0435\u0440\u0434\u0435",alpha2Code:"CV",alpha3Code:"CPV",numericCode:"132",callingCode:"+238"},{name:"\u041e\u0441\u0442\u0440\u043e\u0432\u0430 \u041a\u0430\u0439\u043c\u0430\u043d",alpha2Code:"KY",alpha3Code:"CYM",numericCode:"136",callingCode:"+1345"},{name:"\u0426\u0410\u0420",alpha2Code:"CF",alpha3Code:"CAF",numericCode:"140",callingCode:"+236"},{name:"\u0427\u0430\u0434",alpha2Code:"TD",alpha3Code:"TCD",numericCode:"148",callingCode:"+235"},{name:"\u0427\u0438\u043b\u0438",alpha2Code:"CL",alpha3Code:"CHL",numericCode:"152",callingCode:"+56"},{name:"\u041a\u0438\u0442\u0430\u0439 (\u041a\u0438\u0442\u0430\u0439\u0441\u043a\u0430\u044f \u041d\u0430\u0440\u043e\u0434\u043d\u0430\u044f \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430)",alpha2Code:"CN",alpha3Code:"CHN",numericCode:"156",callingCode:"+86"},{name:"\u041e\u0441\u0442\u0440\u043e\u0432 \u0420\u043e\u0436\u0434\u0435\u0441\u0442\u0432\u0430",alpha2Code:"CX",alpha3Code:"CXR",numericCode:"162",callingCode:"+61"},{name:"\u041a\u043e\u043a\u043e\u0441\u043e\u0432\u044b\u0435 \u043e\u0441\u0442\u0440\u043e\u0432\u0430",alpha2Code:"CC",alpha3Code:"CCK",numericCode:"166",callingCode:"+61"},{name:"\u041a\u043e\u043b\u0443\u043c\u0431\u0438\u044f",alpha2Code:"CO",alpha3Code:"COL",numericCode:"170",callingCode:"+57"},{name:"\u041a\u043e\u043c\u043e\u0440\u044b",alpha2Code:"KM",alpha3Code:"COM",numericCode:"174",callingCode:"+269"},{name:"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u041a\u043e\u043d\u0433\u043e",alpha2Code:"CG",alpha3Code:"COG",numericCode:"178",callingCode:"+242"},{name:"\u0414\u0420 \u041a\u043e\u043d\u0433\u043e",alpha2Code:"CD",alpha3Code:"COD",numericCode:"180",callingCode:"+243"},{name:"\u041e\u0441\u0442\u0440\u043e\u0432\u0430 \u041a\u0443\u043a\u0430",alpha2Code:"CK",alpha3Code:"COK",numericCode:"184",callingCode:"+682"},{name:"\u041a\u043e\u0441\u0442\u0430-\u0420\u0438\u043a\u0430",alpha2Code:"CR",alpha3Code:"CRI",numericCode:"188",callingCode:"+506"},{name:"\u0425\u043e\u0440\u0432\u0430\u0442\u0438\u044f",alpha2Code:"HR",alpha3Code:"HRV",numericCode:"191",callingCode:"+385"},{name:"\u041a\u0443\u0431\u0430",alpha2Code:"CU",alpha3Code:"CUB",numericCode:"192",callingCode:"+53"},{name:"\u041a\u044e\u0440\u0430\u0441\u0430\u043e",alpha2Code:"CW",alpha3Code:"CUW",numericCode:"531",callingCode:"+599"},{name:"\u041a\u0438\u043f\u0440",alpha2Code:"CY",alpha3Code:"CYP",numericCode:"196",callingCode:"+357"},{name:"\u0427\u0435\u0445\u0438\u044f",alpha2Code:"CZ",alpha3Code:"CZE",numericCode:"203",callingCode:"+420"},{name:"\u0414\u0430\u043d\u0438\u044f",alpha2Code:"DK",alpha3Code:"DNK",numericCode:"208",callingCode:"+45"},{name:"\u0414\u0436\u0438\u0431\u0443\u0442\u0438",alpha2Code:"DJ",alpha3Code:"DJI",numericCode:"262",callingCode:"+253"},{name:"\u0414\u043e\u043c\u0438\u043d\u0438\u043a\u0430",alpha2Code:"DM",alpha3Code:"DMA",numericCode:"212",callingCode:"+1767"},{name:"\u0414\u043e\u043c\u0438\u043d\u0438\u043a\u0430\u043d\u0441\u043a\u0430\u044f \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430",alpha2Code:"DO",alpha3Code:"DOM",numericCode:"214",callingCode:"+1809"},{name:"\u042d\u043a\u0432\u0430\u0434\u043e\u0440",alpha2Code:"EC",alpha3Code:"ECU",numericCode:"218",callingCode:"+593"},{name:"\u0415\u0433\u0438\u043f\u0435\u0442",alpha2Code:"EG",alpha3Code:"EGY",numericCode:"818",callingCode:"+20"},{name:"\u0421\u0430\u043b\u044c\u0432\u0430\u0434\u043e\u0440",alpha2Code:"SV",alpha3Code:"SLV",numericCode:"222",callingCode:"+503"},{name:"\u042d\u043a\u0432\u0430\u0442\u043e\u0440\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0413\u0432\u0438\u043d\u0435\u044f",alpha2Code:"GQ",alpha3Code:"GNQ",numericCode:"226",callingCode:"+240"},{name:"\u042d\u0440\u0438\u0442\u0440\u0435\u044f",alpha2Code:"ER",alpha3Code:"ERI",numericCode:"232",callingCode:"+291"},{name:"\u042d\u0441\u0442\u043e\u043d\u0438\u044f",alpha2Code:"EE",alpha3Code:"EST",numericCode:"233",callingCode:"+372"},{name:"\u042d\u0444\u0438\u043e\u043f\u0438\u044f",alpha2Code:"ET",alpha3Code:"ETH",numericCode:"231",callingCode:"+251"},{name:"\u0424\u043e\u043b\u043a\u043b\u0435\u043d\u0434\u0441\u043a\u0438\u0435 \u043e\u0441\u0442\u0440\u043e\u0432\u0430",alpha2Code:"FK",alpha3Code:"FLK",numericCode:"238",callingCode:"+500"},{name:"\u0424\u0430\u0440\u0435\u0440\u0441\u043a\u0438\u0435 \u043e\u0441\u0442\u0440\u043e\u0432\u0430",alpha2Code:"FO",alpha3Code:"FRO",numericCode:"234",callingCode:"+298"},{name:"\u0424\u0438\u0434\u0436\u0438",alpha2Code:"FJ",alpha3Code:"FJI",numericCode:"242",callingCode:"+679"},{name:"\u0424\u0438\u043d\u043b\u044f\u043d\u0434\u0438\u044f",alpha2Code:"FI",alpha3Code:"FIN",numericCode:"246",callingCode:"+358"},{name:"\u0424\u0440\u0430\u043d\u0446\u0438\u044f",alpha2Code:"FR",alpha3Code:"FRA",numericCode:"250",callingCode:"+33"},{name:"\u0413\u0432\u0438\u0430\u043d\u0430",alpha2Code:"GF",alpha3Code:"GUF",numericCode:"254",callingCode:"+594"},{name:"\u0424\u0440\u0430\u043d\u0446\u0443\u0437\u0441\u043a\u0430\u044f \u041f\u043e\u043b\u0438\u043d\u0435\u0437\u0438\u044f",alpha2Code:"PF",alpha3Code:"PYF",numericCode:"258",callingCode:"+689"},{name:"\u0424\u0440\u0430\u043d\u0446\u0443\u0437\u0441\u043a\u0438\u0435 \u042e\u0436\u043d\u044b\u0435 \u0438 \u0410\u043d\u0442\u0430\u0440\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0442\u0435\u0440\u0440\u0438\u0442\u043e\u0440\u0438\u0438",alpha2Code:"TF",alpha3Code:"ATF",numericCode:"260",callingCode:"+"},{name:"\u0413\u0430\u0431\u043e\u043d",alpha2Code:"GA",alpha3Code:"GAB",numericCode:"266",callingCode:"+241"},{name:"\u0413\u0430\u043c\u0431\u0438\u044f",alpha2Code:"GM",alpha3Code:"GMB",numericCode:"270",callingCode:"+220"},{name:"\u0413\u0440\u0443\u0437\u0438\u044f",alpha2Code:"GE",alpha3Code:"GEO",numericCode:"268",callingCode:"+995"},{name:"\u0413\u0435\u0440\u043c\u0430\u043d\u0438\u044f",alpha2Code:"DE",alpha3Code:"DEU",numericCode:"276",callingCode:"+49"},{name:"\u0413\u0430\u043d\u0430",alpha2Code:"GH",alpha3Code:"GHA",numericCode:"288",callingCode:"+233"},{name:"\u0413\u0438\u0431\u0440\u0430\u043b\u0442\u0430\u0440",alpha2Code:"GI",alpha3Code:"GIB",numericCode:"292",callingCode:"+350"},{name:"\u0413\u0440\u0435\u0446\u0438\u044f",alpha2Code:"GR",alpha3Code:"GRC",numericCode:"300",callingCode:"+30"},{name:"\u0413\u0440\u0435\u043d\u043b\u0430\u043d\u0434\u0438\u044f",alpha2Code:"GL",alpha3Code:"GRL",numericCode:"304",callingCode:"+299"},{name:"\u0413\u0440\u0435\u043d\u0430\u0434\u0430",alpha2Code:"GD",alpha3Code:"GRD",numericCode:"308",callingCode:"+1473"},{name:"\u0413\u0432\u0430\u0434\u0435\u043b\u0443\u043f\u0430",alpha2Code:"GP",alpha3Code:"GLP",numericCode:"312",callingCode:"+590"},{name:"\u0413\u0443\u0430\u043c",alpha2Code:"GU",alpha3Code:"GUM",numericCode:"316",callingCode:"+1671"},{name:"\u0413\u0432\u0430\u0442\u0435\u043c\u0430\u043b\u0430",alpha2Code:"GT",alpha3Code:"GTM",numericCode:"320",callingCode:"+502"},{name:"\u0413\u0435\u0440\u043d\u0441\u0438",alpha2Code:"GG",alpha3Code:"GGY",numericCode:"831",callingCode:"+44"},{name:"\u0413\u0432\u0438\u043d\u0435\u044f",alpha2Code:"GN",alpha3Code:"GIN",numericCode:"324",callingCode:"+224"},{name:"\u0413\u0432\u0438\u043d\u0435\u044f-\u0411\u0438\u0441\u0430\u0443",alpha2Code:"GW",alpha3Code:"GNB",numericCode:"624",callingCode:"+245"},{name:"\u0413\u0430\u0439\u0430\u043d\u0430",alpha2Code:"GY",alpha3Code:"GUY",numericCode:"328",callingCode:"+592"},{name:"\u0413\u0430\u0438\u0442\u0438",alpha2Code:"HT",alpha3Code:"HTI",numericCode:"332",callingCode:"+509"},{name:"\u0425\u0435\u0440\u0434 \u0438 \u041c\u0430\u043a\u0434\u043e\u043d\u0430\u043b\u044c\u0434",alpha2Code:"HM",alpha3Code:"HMD",numericCode:"334",callingCode:"+"},{name:"\u0412\u0430\u0442\u0438\u043a\u0430\u043d",alpha2Code:"VA",alpha3Code:"VAT",numericCode:"336",callingCode:"+379"},{name:"\u0413\u043e\u043d\u0434\u0443\u0440\u0430\u0441",alpha2Code:"HN",alpha3Code:"HND",numericCode:"340",callingCode:"+504"},{name:"\u0413\u043e\u043d\u043a\u043e\u043d\u0433",alpha2Code:"HK",alpha3Code:"HKG",numericCode:"344",callingCode:"+852"},{name:"\u0412\u0435\u043d\u0433\u0440\u0438\u044f",alpha2Code:"HU",alpha3Code:"HUN",numericCode:"348",callingCode:"+36"},{name:"\u0418\u0441\u043b\u0430\u043d\u0434\u0438\u044f",alpha2Code:"IS",alpha3Code:"ISL",numericCode:"352",callingCode:"+354"},{name:"\u0418\u043d\u0434\u0438\u044f",alpha2Code:"IN",alpha3Code:"IND",numericCode:"356",callingCode:"+91"},{name:"\u0418\u043d\u0434\u043e\u043d\u0435\u0437\u0438\u044f",alpha2Code:"ID",alpha3Code:"IDN",numericCode:"360",callingCode:"+62"},{name:"\u041a\u043e\u0442-\u0434'\u0418\u0432\u0443\u0430\u0440",alpha2Code:"CI",alpha3Code:"CIV",numericCode:"384",callingCode:"+225"},{name:"\u0418\u0440\u0430\u043d",alpha2Code:"IR",alpha3Code:"IRN",numericCode:"364",callingCode:"+98"},{name:"\u0418\u0440\u0430\u043a",alpha2Code:"IQ",alpha3Code:"IRQ",numericCode:"368",callingCode:"+964"},{name:"\u0418\u0440\u043b\u0430\u043d\u0434\u0438\u044f",alpha2Code:"IE",alpha3Code:"IRL",numericCode:"372",callingCode:"+353"},{name:"\u041e\u0441\u0442\u0440\u043e\u0432 \u041c\u044d\u043d",alpha2Code:"IM",alpha3Code:"IMN",numericCode:"833",callingCode:"+44"},{name:"\u0418\u0437\u0440\u0430\u0438\u043b\u044c",alpha2Code:"IL",alpha3Code:"ISR",numericCode:"376",callingCode:"+972"},{name:"\u0418\u0442\u0430\u043b\u0438\u044f",alpha2Code:"IT",alpha3Code:"ITA",numericCode:"380",callingCode:"+39"},{name:"\u042f\u043c\u0430\u0439\u043a\u0430",alpha2Code:"JM",alpha3Code:"JAM",numericCode:"388",callingCode:"+1876"},{name:"\u042f\u043f\u043e\u043d\u0438\u044f",alpha2Code:"JP",alpha3Code:"JPN",numericCode:"392",callingCode:"+81"},{name:"\u0414\u0436\u0435\u0440\u0441\u0438",alpha2Code:"JE",alpha3Code:"JEY",numericCode:"832",callingCode:"+44"},{name:"\u0418\u043e\u0440\u0434\u0430\u043d\u0438\u044f",alpha2Code:"JO",alpha3Code:"JOR",numericCode:"400",callingCode:"+962"},{name:"\u041a\u0430\u0437\u0430\u0445\u0441\u0442\u0430\u043d",alpha2Code:"KZ",alpha3Code:"KAZ",numericCode:"398",callingCode:"+7"},{name:"\u041a\u0435\u043d\u0438\u044f",alpha2Code:"KE",alpha3Code:"KEN",numericCode:"404",callingCode:"+254"},{name:"\u041a\u0438\u0440\u0438\u0431\u0430\u0442\u0438",alpha2Code:"KI",alpha3Code:"KIR",numericCode:"296",callingCode:"+686"},{name:"\u041a\u0443\u0432\u0435\u0439\u0442",alpha2Code:"KW",alpha3Code:"KWT",numericCode:"414",callingCode:"+965"},{name:"\u041a\u0438\u0440\u0433\u0438\u0437\u0438\u044f",alpha2Code:"KG",alpha3Code:"KGZ",numericCode:"417",callingCode:"+996"},{name:"\u041b\u0430\u043e\u0441",alpha2Code:"LA",alpha3Code:"LAO",numericCode:"418",callingCode:"+856"},{name:"\u041b\u0430\u0442\u0432\u0438\u044f",alpha2Code:"LV",alpha3Code:"LVA",numericCode:"428",callingCode:"+371"},{name:"\u041b\u0438\u0432\u0430\u043d",alpha2Code:"LB",alpha3Code:"LBN",numericCode:"422",callingCode:"+961"},{name:"\u041b\u0435\u0441\u043e\u0442\u043e",alpha2Code:"LS",alpha3Code:"LSO",numericCode:"426",callingCode:"+266"},{name:"\u041b\u0438\u0431\u0435\u0440\u0438\u044f",alpha2Code:"LR",alpha3Code:"LBR",numericCode:"430",callingCode:"+231"},{name:"\u041b\u0438\u0432\u0438\u044f",alpha2Code:"LY",alpha3Code:"LBY",numericCode:"434",callingCode:"+218"},{name:"\u041b\u0438\u0445\u0442\u0435\u043d\u0448\u0442\u0435\u0439\u043d",alpha2Code:"LI",alpha3Code:"LIE",numericCode:"438",callingCode:"+423"},{name:"\u041b\u0438\u0442\u0432\u0430",alpha2Code:"LT",alpha3Code:"LTU",numericCode:"440",callingCode:"+370"},{name:"\u041b\u044e\u043a\u0441\u0435\u043c\u0431\u0443\u0440\u0433",alpha2Code:"LU",alpha3Code:"LUX",numericCode:"442",callingCode:"+352"},{name:"\u041c\u0430\u043a\u0430\u043e",alpha2Code:"MO",alpha3Code:"MAC",numericCode:"446",callingCode:"+853"},{name:"\u0421\u0435\u0432\u0435\u0440\u043d\u0430\u044f \u041c\u0430\u043a\u0435\u0434\u043e\u043d\u0438\u044f",alpha2Code:"MK",alpha3Code:"MKD",numericCode:"807",callingCode:"+389"},{name:"\u041c\u0430\u0434\u0430\u0433\u0430\u0441\u043a\u0430\u0440",alpha2Code:"MG",alpha3Code:"MDG",numericCode:"450",callingCode:"+261"},{name:"\u041c\u0430\u043b\u0430\u0432\u0438",alpha2Code:"MW",alpha3Code:"MWI",numericCode:"454",callingCode:"+265"},{name:"\u041c\u0430\u043b\u0430\u0439\u0437\u0438\u044f",alpha2Code:"MY",alpha3Code:"MYS",numericCode:"458",callingCode:"+60"},{name:"\u041c\u0430\u043b\u044c\u0434\u0438\u0432\u044b",alpha2Code:"MV",alpha3Code:"MDV",numericCode:"462",callingCode:"+960"},{name:"\u041c\u0430\u043b\u0438",alpha2Code:"ML",alpha3Code:"MLI",numericCode:"466",callingCode:"+223"},{name:"\u041c\u0430\u043b\u044c\u0442\u0430",alpha2Code:"MT",alpha3Code:"MLT",numericCode:"470",callingCode:"+356"},{name:"\u041c\u0430\u0440\u0448\u0430\u043b\u043b\u043e\u0432\u044b \u041e\u0441\u0442\u0440\u043e\u0432\u0430",alpha2Code:"MH",alpha3Code:"MHL",numericCode:"584",callingCode:"+692"},{name:"\u041c\u0430\u0440\u0442\u0438\u043d\u0438\u043a\u0430",alpha2Code:"MQ",alpha3Code:"MTQ",numericCode:"474",callingCode:"+596"},{name:"\u041c\u0430\u0432\u0440\u0438\u0442\u0430\u043d\u0438\u044f",alpha2Code:"MR",alpha3Code:"MRT",numericCode:"478",callingCode:"+222"},{name:"\u041c\u0430\u0432\u0440\u0438\u043a\u0438\u0439",alpha2Code:"MU",alpha3Code:"MUS",numericCode:"480",callingCode:"+230"},{name:"\u041c\u0430\u0439\u043e\u0442\u0442\u0430",alpha2Code:"YT",alpha3Code:"MYT",numericCode:"175",callingCode:"+262"},{name:"\u041c\u0435\u043a\u0441\u0438\u043a\u0430",alpha2Code:"MX",alpha3Code:"MEX",numericCode:"484",callingCode:"+52"},{name:"\u041c\u0438\u043a\u0440\u043e\u043d\u0435\u0437\u0438\u044f",alpha2Code:"FM",alpha3Code:"FSM",numericCode:"583",callingCode:"+691"},{name:"\u041c\u043e\u043b\u0434\u043e\u0432\u0430",alpha2Code:"MD",alpha3Code:"MDA",numericCode:"498",callingCode:"+373"},{name:"\u041c\u043e\u043d\u0430\u043a\u043e",alpha2Code:"MC",alpha3Code:"MCO",numericCode:"492",callingCode:"+377"},{name:"\u041c\u043e\u043d\u0433\u043e\u043b\u0438\u044f",alpha2Code:"MN",alpha3Code:"MNG",numericCode:"496",callingCode:"+976"},{name:"\u0427\u0435\u0440\u043d\u043e\u0433\u043e\u0440\u0438\u044f",alpha2Code:"ME",alpha3Code:"MNE",numericCode:"499",callingCode:"+382"},{name:"\u041c\u043e\u043d\u0442\u0441\u0435\u0440\u0440\u0430\u0442",alpha2Code:"MS",alpha3Code:"MSR",numericCode:"500",callingCode:"+1664"},{name:"\u041c\u0430\u0440\u043e\u043a\u043a\u043e",alpha2Code:"MA",alpha3Code:"MAR",numericCode:"504",callingCode:"+212"},{name:"\u041c\u043e\u0437\u0430\u043c\u0431\u0438\u043a",alpha2Code:"MZ",alpha3Code:"MOZ",numericCode:"508",callingCode:"+258"},{name:"\u041c\u044c\u044f\u043d\u043c\u0430",alpha2Code:"MM",alpha3Code:"MMR",numericCode:"104",callingCode:"+95"},{name:"\u041d\u0430\u043c\u0438\u0431\u0438\u044f",alpha2Code:"NA",alpha3Code:"NAM",numericCode:"516",callingCode:"+264"},{name:"\u041d\u0430\u0443\u0440\u0443",alpha2Code:"NR",alpha3Code:"NRU",numericCode:"520",callingCode:"+674"},{name:"\u041d\u0435\u043f\u0430\u043b",alpha2Code:"NP",alpha3Code:"NPL",numericCode:"524",callingCode:"+977"},{name:"\u041d\u0438\u0434\u0435\u0440\u043b\u0430\u043d\u0434\u044b",alpha2Code:"NL",alpha3Code:"NLD",numericCode:"528",callingCode:"+31"},{name:"\u041d\u043e\u0432\u0430\u044f \u041a\u0430\u043b\u0435\u0434\u043e\u043d\u0438\u044f",alpha2Code:"NC",alpha3Code:"NCL",numericCode:"540",callingCode:"+687"},{name:"\u041d\u043e\u0432\u0430\u044f \u0417\u0435\u043b\u0430\u043d\u0434\u0438\u044f",alpha2Code:"NZ",alpha3Code:"NZL",numericCode:"554",callingCode:"+64"},{name:"\u041d\u0438\u043a\u0430\u0440\u0430\u0433\u0443\u0430",alpha2Code:"NI",alpha3Code:"NIC",numericCode:"558",callingCode:"+505"},{name:"\u041d\u0438\u0433\u0435\u0440",alpha2Code:"NE",alpha3Code:"NER",numericCode:"562",callingCode:"+227"},{name:"\u041d\u0438\u0433\u0435\u0440\u0438\u044f",alpha2Code:"NG",alpha3Code:"NGA",numericCode:"566",callingCode:"+234"},{name:"\u041d\u0438\u0443\u044d",alpha2Code:"NU",alpha3Code:"NIU",numericCode:"570",callingCode:"+683"},{name:"\u041e\u0441\u0442\u0440\u043e\u0432 \u041d\u043e\u0440\u0444\u043e\u043b\u043a",alpha2Code:"NF",alpha3Code:"NFK",numericCode:"574",callingCode:"+672"},{name:"\u041a\u041d\u0414\u0420 (\u041a\u043e\u0440\u0435\u0439\u0441\u043a\u0430\u044f \u041d\u0430\u0440\u043e\u0434\u043d\u043e-\u0414\u0435\u043c\u043e\u043a\u0440\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430)",alpha2Code:"KP",alpha3Code:"PRK",numericCode:"408",callingCode:"+850"},{name:"\u0421\u0435\u0432\u0435\u0440\u043d\u044b\u0435 \u041c\u0430\u0440\u0438\u0430\u043d\u0441\u043a\u0438\u0435 \u041e\u0441\u0442\u0440\u043e\u0432\u0430",alpha2Code:"MP",alpha3Code:"MNP",numericCode:"580",callingCode:"+1670"},{name:"\u041d\u043e\u0440\u0432\u0435\u0433\u0438\u044f",alpha2Code:"NO",alpha3Code:"NOR",numericCode:"578",callingCode:"+47"},{name:"\u041e\u043c\u0430\u043d",alpha2Code:"OM",alpha3Code:"OMN",numericCode:"512",callingCode:"+968"},{name:"\u041f\u0430\u043a\u0438\u0441\u0442\u0430\u043d",alpha2Code:"PK",alpha3Code:"PAK",numericCode:"586",callingCode:"+92"},{name:"\u041f\u0430\u043b\u0430\u0443",alpha2Code:"PW",alpha3Code:"PLW",numericCode:"585",callingCode:"+680"},{name:"\u0413\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u043e \u041f\u0430\u043b\u0435\u0441\u0442\u0438\u043d\u0430",alpha2Code:"PS",alpha3Code:"PSE",numericCode:"275",callingCode:"+970"},{name:"\u041f\u0430\u043d\u0430\u043c\u0430",alpha2Code:"PA",alpha3Code:"PAN",numericCode:"591",callingCode:"+507"},{name:"\u041f\u0430\u043f\u0443\u0430 \u2014 \u041d\u043e\u0432\u0430\u044f \u0413\u0432\u0438\u043d\u0435\u044f",alpha2Code:"PG",alpha3Code:"PNG",numericCode:"598",callingCode:"+675"},{name:"\u041f\u0430\u0440\u0430\u0433\u0432\u0430\u0439",alpha2Code:"PY",alpha3Code:"PRY",numericCode:"600",callingCode:"+595"},{name:"\u041f\u0435\u0440\u0443",alpha2Code:"PE",alpha3Code:"PER",numericCode:"604",callingCode:"+51"},{name:"\u0424\u0438\u043b\u0438\u043f\u043f\u0438\u043d\u044b",alpha2Code:"PH",alpha3Code:"PHL",numericCode:"608",callingCode:"+63"},{name:"\u041e\u0441\u0442\u0440\u043e\u0432\u0430 \u041f\u0438\u0442\u043a\u044d\u0440\u043d",alpha2Code:"PN",alpha3Code:"PCN",numericCode:"612",callingCode:"+64"},{name:"\u041f\u043e\u043b\u044c\u0448\u0430",alpha2Code:"PL",alpha3Code:"POL",numericCode:"616",callingCode:"+48"},{name:"\u041f\u043e\u0440\u0442\u0443\u0433\u0430\u043b\u0438\u044f",alpha2Code:"PT",alpha3Code:"PRT",numericCode:"620",callingCode:"+351"},{name:"\u041f\u0443\u044d\u0440\u0442\u043e-\u0420\u0438\u043a\u043e",alpha2Code:"PR",alpha3Code:"PRI",numericCode:"630",callingCode:"+1"},{name:"\u041a\u0430\u0442\u0430\u0440",alpha2Code:"QA",alpha3Code:"QAT",numericCode:"634",callingCode:"+974"},{name:"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u041a\u043e\u0441\u043e\u0432\u043e",alpha2Code:"XK",alpha3Code:"KOS",numericCode:null,callingCode:"+383"},{name:"\u0420\u0435\u044e\u043d\u044c\u043e\u043d",alpha2Code:"RE",alpha3Code:"REU",numericCode:"638",callingCode:"+262"},{name:"\u0420\u0443\u043c\u044b\u043d\u0438\u044f",alpha2Code:"RO",alpha3Code:"ROU",numericCode:"642",callingCode:"+40"},{name:"\u0420\u043e\u0441\u0441\u0438\u044f",alpha2Code:"RU",alpha3Code:"RUS",numericCode:"643",callingCode:"+7"},{name:"\u0420\u0443\u0430\u043d\u0434\u0430",alpha2Code:"RW",alpha3Code:"RWA",numericCode:"646",callingCode:"+250"},{name:"\u0421\u0435\u043d-\u0411\u0430\u0440\u0442\u0435\u043b\u0435\u043c\u0438 (\u041a\u0430\u0440\u0438\u0431\u044b)",alpha2Code:"BL",alpha3Code:"BLM",numericCode:"652",callingCode:"+590"},{name:"\u041e\u0441\u0442\u0440\u043e\u0432\u0430 \u0421\u0432\u044f\u0442\u043e\u0439 \u0415\u043b\u0435\u043d\u044b, \u0412\u043e\u0437\u043d\u0435\u0441\u0435\u043d\u0438\u044f \u0438 \u0422\u0440\u0438\u0441\u0442\u0430\u043d-\u0434\u0430-\u041a\u0443\u043d\u044c\u044f",alpha2Code:"SH",alpha3Code:"SHN",numericCode:"654",callingCode:"+290"},{name:"\u0421\u0435\u043d\u0442-\u041a\u0438\u0442\u0441 \u0438 \u041d\u0435\u0432\u0438\u0441",alpha2Code:"KN",alpha3Code:"KNA",numericCode:"659",callingCode:"+1869"},{name:"\u0421\u0435\u043d\u0442-\u041b\u044e\u0441\u0438\u044f",alpha2Code:"LC",alpha3Code:"LCA",numericCode:"662",callingCode:"+1758"},{name:"\u0421\u0435\u043d-\u041c\u0430\u0440\u0442\u0435\u043d",alpha2Code:"MF",alpha3Code:"MAF",numericCode:"663",callingCode:"+590"},{name:"\u0421\u0435\u043d-\u041f\u044c\u0435\u0440 \u0438 \u041c\u0438\u043a\u0435\u043b\u043e\u043d",alpha2Code:"PM",alpha3Code:"SPM",numericCode:"666",callingCode:"+508"},{name:"\u0421\u0435\u043d\u0442-\u0412\u0438\u043d\u0441\u0435\u043d\u0442 \u0438 \u0413\u0440\u0435\u043d\u0430\u0434\u0438\u043d\u044b",alpha2Code:"VC",alpha3Code:"VCT",numericCode:"670",callingCode:"+1784"},{name:"\u0421\u0430\u043c\u043e\u0430",alpha2Code:"WS",alpha3Code:"WSM",numericCode:"882",callingCode:"+685"},{name:"\u0421\u0430\u043d-\u041c\u0430\u0440\u0438\u043d\u043e",alpha2Code:"SM",alpha3Code:"SMR",numericCode:"674",callingCode:"+378"},{name:"\u0421\u0430\u043d-\u0422\u043e\u043c\u0435 \u0438 \u041f\u0440\u0438\u043d\u0441\u0438\u043f\u0438",alpha2Code:"ST",alpha3Code:"STP",numericCode:"678",callingCode:"+239"},{name:"\u0421\u0430\u0443\u0434\u043e\u0432\u0441\u043a\u0430\u044f \u0410\u0440\u0430\u0432\u0438\u044f",alpha2Code:"SA",alpha3Code:"SAU",numericCode:"682",callingCode:"+966"},{name:"\u0421\u0435\u043d\u0435\u0433\u0430\u043b",alpha2Code:"SN",alpha3Code:"SEN",numericCode:"686",callingCode:"+221"},{name:"\u0421\u0435\u0440\u0431\u0438\u044f",alpha2Code:"RS",alpha3Code:"SRB",numericCode:"688",callingCode:"+381"},{name:"\u0421\u0435\u0439\u0448\u0435\u043b\u044c\u0441\u043a\u0438\u0435 \u041e\u0441\u0442\u0440\u043e\u0432\u0430",alpha2Code:"SC",alpha3Code:"SYC",numericCode:"690",callingCode:"+248"},{name:"\u0421\u044c\u0435\u0440\u0440\u0430-\u041b\u0435\u043e\u043d\u0435",alpha2Code:"SL",alpha3Code:"SLE",numericCode:"694",callingCode:"+232"},{name:"\u0421\u0438\u043d\u0433\u0430\u043f\u0443\u0440",alpha2Code:"SG",alpha3Code:"SGP",numericCode:"702",callingCode:"+65"},{name:"\u0421\u0438\u043d\u0442-\u041c\u0430\u0440\u0442\u0435\u043d",alpha2Code:"SX",alpha3Code:"SXM",numericCode:"534",callingCode:"+1721"},{name:"\u0421\u043b\u043e\u0432\u0430\u043a\u0438\u044f",alpha2Code:"SK",alpha3Code:"SVK",numericCode:"703",callingCode:"+421"},{name:"\u0421\u043b\u043e\u0432\u0435\u043d\u0438\u044f",alpha2Code:"SI",alpha3Code:"SVN",numericCode:"705",callingCode:"+386"},{name:"\u0421\u043e\u043b\u043e\u043c\u043e\u043d\u043e\u0432\u044b \u041e\u0441\u0442\u0440\u043e\u0432\u0430",alpha2Code:"SB",alpha3Code:"SLB",numericCode:"090",callingCode:"+677"},{name:"\u0421\u043e\u043c\u0430\u043b\u0438",alpha2Code:"SO",alpha3Code:"SOM",numericCode:"706",callingCode:"+252"},{name:"\u042e\u0410\u0420",alpha2Code:"ZA",alpha3Code:"ZAF",numericCode:"710",callingCode:"+27"},{name:"\u042e\u0436\u043d\u0430\u044f \u0413\u0435\u043e\u0440\u0433\u0438\u044f \u0438 \u042e\u0436\u043d\u044b\u0435 \u0421\u0430\u043d\u0434\u0432\u0438\u0447\u0435\u0432\u044b \u041e\u0441\u0442\u0440\u043e\u0432\u0430",alpha2Code:"GS",alpha3Code:"SGS",numericCode:"239",callingCode:"+500"},{name:"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u041a\u043e\u0440\u0435\u044f",alpha2Code:"KR",alpha3Code:"KOR",numericCode:"410",callingCode:"+82"},{name:"\u042e\u0436\u043d\u044b\u0439 \u0421\u0443\u0434\u0430\u043d",alpha2Code:"SS",alpha3Code:"SSD",numericCode:"728",callingCode:"+211"},{name:"\u0418\u0441\u043f\u0430\u043d\u0438\u044f",alpha2Code:"ES",alpha3Code:"ESP",numericCode:"724",callingCode:"+34"},{name:"\u0428\u0440\u0438-\u041b\u0430\u043d\u043a\u0430",alpha2Code:"LK",alpha3Code:"LKA",numericCode:"144",callingCode:"+94"},{name:"\u0421\u0443\u0434\u0430\u043d",alpha2Code:"SD",alpha3Code:"SDN",numericCode:"729",callingCode:"+249"},{name:"\u0421\u0443\u0440\u0438\u043d\u0430\u043c",alpha2Code:"SR",alpha3Code:"SUR",numericCode:"740",callingCode:"+597"},{name:"\u0428\u043f\u0438\u0446\u0431\u0435\u0440\u0433\u0435\u043d \u0438 \u042f\u043d-\u041c\u0430\u0439\u0435\u043d",alpha2Code:"SJ",alpha3Code:"SJM",numericCode:"744",callingCode:"+4779"},{name:"\u042d\u0441\u0432\u0430\u0442\u0438\u043d\u0438",alpha2Code:"SZ",alpha3Code:"SWZ",numericCode:"748",callingCode:"+268"},{name:"\u0428\u0432\u0435\u0446\u0438\u044f",alpha2Code:"SE",alpha3Code:"SWE",numericCode:"752",callingCode:"+46"},{name:"\u0428\u0432\u0435\u0439\u0446\u0430\u0440\u0438\u044f",alpha2Code:"CH",alpha3Code:"CHE",numericCode:"756",callingCode:"+41"},{name:"\u0421\u0438\u0440\u0438\u044f",alpha2Code:"SY",alpha3Code:"SYR",numericCode:"760",callingCode:"+963"},{name:"\u041a\u0438\u0442\u0430\u0439\u0441\u043a\u0430\u044f \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430",alpha2Code:"TW",alpha3Code:"TWN",numericCode:"158",callingCode:"+886"},{name:"\u0422\u0430\u0434\u0436\u0438\u043a\u0438\u0441\u0442\u0430\u043d",alpha2Code:"TJ",alpha3Code:"TJK",numericCode:"762",callingCode:"+992"},{name:"\u0422\u0430\u043d\u0437\u0430\u043d\u0438\u044f",alpha2Code:"TZ",alpha3Code:"TZA",numericCode:"834",callingCode:"+255"},{name:"\u0422\u0430\u0438\u043b\u0430\u043d\u0434",alpha2Code:"TH",alpha3Code:"THA",numericCode:"764",callingCode:"+66"},{name:"\u0412\u043e\u0441\u0442\u043e\u0447\u043d\u044b\u0439 \u0422\u0438\u043c\u043e\u0440",alpha2Code:"TL",alpha3Code:"TLS",numericCode:"626",callingCode:"+670"},{name:"\u0422\u043e\u0433\u043e",alpha2Code:"TG",alpha3Code:"TGO",numericCode:"768",callingCode:"+228"},{name:"\u0422\u043e\u043a\u0435\u043b\u0430\u0443",alpha2Code:"TK",alpha3Code:"TKL",numericCode:"772",callingCode:"+690"},{name:"\u0422\u043e\u043d\u0433\u0430",alpha2Code:"TO",alpha3Code:"TON",numericCode:"776",callingCode:"+676"},{name:"\u0422\u0440\u0438\u043d\u0438\u0434\u0430\u0434 \u0438 \u0422\u043e\u0431\u0430\u0433\u043e",alpha2Code:"TT",alpha3Code:"TTO",numericCode:"780",callingCode:"+1868"},{name:"\u0422\u0443\u043d\u0438\u0441",alpha2Code:"TN",alpha3Code:"TUN",numericCode:"788",callingCode:"+216"},{name:"\u0422\u0443\u0440\u0446\u0438\u044f",alpha2Code:"TR",alpha3Code:"TUR",numericCode:"792",callingCode:"+90"},{name:"\u0422\u0443\u0440\u043a\u043c\u0435\u043d\u0438\u044f",alpha2Code:"TM",alpha3Code:"TKM",numericCode:"795",callingCode:"+993"},{name:"\u0422\u0435\u0440\u043a\u0441 \u0438 \u041a\u0430\u0439\u043a\u043e\u0441",alpha2Code:"TC",alpha3Code:"TCA",numericCode:"796",callingCode:"+1649"},{name:"\u0422\u0443\u0432\u0430\u043b\u0443",alpha2Code:"TV",alpha3Code:"TUV",numericCode:"798",callingCode:"+688"},{name:"\u0423\u0433\u0430\u043d\u0434\u0430",alpha2Code:"UG",alpha3Code:"UGA",numericCode:"800",callingCode:"+256"},{name:"\u0423\u043a\u0440\u0430\u0438\u043d\u0430",alpha2Code:"UA",alpha3Code:"UKR",numericCode:"804",callingCode:"+380"},{name:"\u041e\u0410\u042d",alpha2Code:"AE",alpha3Code:"ARE",numericCode:"784",callingCode:"+971"},{name:"\u0412\u0435\u043b\u0438\u043a\u043e\u0431\u0440\u0438\u0442\u0430\u043d\u0438\u044f",alpha2Code:"GB",alpha3Code:"GBR",numericCode:"826",callingCode:"+44"},{name:"\u0421\u0428\u0410",alpha2Code:"US",alpha3Code:"USA",numericCode:"840",callingCode:"+1"},{name:"\u0423\u0440\u0443\u0433\u0432\u0430\u0439",alpha2Code:"UY",alpha3Code:"URY",numericCode:"858",callingCode:"+598"},{name:"\u0423\u0437\u0431\u0435\u043a\u0438\u0441\u0442\u0430\u043d",alpha2Code:"UZ",alpha3Code:"UZB",numericCode:"860",callingCode:"+998"},{name:"\u0412\u0430\u043d\u0443\u0430\u0442\u0443",alpha2Code:"VU",alpha3Code:"VUT",numericCode:"548",callingCode:"+678"},{name:"\u0412\u0435\u043d\u0435\u0441\u0443\u044d\u043b\u0430",alpha2Code:"VE",alpha3Code:"VEN",numericCode:"862",callingCode:"+58"},{name:"\u0412\u044c\u0435\u0442\u043d\u0430\u043c",alpha2Code:"VN",alpha3Code:"VNM",numericCode:"704",callingCode:"+84"},{name:"\u0423\u043e\u043b\u043b\u0438\u0441 \u0438 \u0424\u0443\u0442\u0443\u043d\u0430",alpha2Code:"WF",alpha3Code:"WLF",numericCode:"876",callingCode:"+681"},{name:"\u0421\u0410\u0414\u0420",alpha2Code:"EH",alpha3Code:"ESH",numericCode:"732",callingCode:"+212"},{name:"\u0419\u0435\u043c\u0435\u043d",alpha2Code:"YE",alpha3Code:"YEM",numericCode:"887",callingCode:"+967"},{name:"\u0417\u0430\u043c\u0431\u0438\u044f",alpha2Code:"ZM",alpha3Code:"ZMB",numericCode:"894",callingCode:"+260"},{name:"\u0417\u0438\u043c\u0431\u0430\u0431\u0432\u0435",alpha2Code:"ZW",alpha3Code:"ZWE",numericCode:"716",callingCode:"+263"}]}),Bv=Object.freeze({__proto__:null,COUNTRIES_DB_UA:[{name:"\u0410\u0444\u0433\u0430\u043d\u0456\u0441\u0442\u0430\u043d",alpha2Code:"AF",alpha3Code:"AFG",numericCode:"004",callingCode:"+93"},{name:"\u0410\u043b\u0430\u043d\u0434\u0441\u044c\u043a\u0456 \u043e\u0441\u0442\u0440\u043e\u0432\u0438",alpha2Code:"AX",alpha3Code:"ALA",numericCode:"248",callingCode:"+358"},{name:"\u0410\u043b\u0431\u0430\u043d\u0456\u044f",alpha2Code:"AL",alpha3Code:"ALB",numericCode:"008",callingCode:"+355"},{name:"\u0410\u043b\u0436\u0438\u0440",alpha2Code:"DZ",alpha3Code:"DZA",numericCode:"012",callingCode:"+213"},{name:"\u0410\u043c\u0435\u0440\u0438\u043a\u0430\u043d\u0441\u044c\u043a\u0435 \u0421\u0430\u043c\u043e\u0430",alpha2Code:"AS",alpha3Code:"ASM",numericCode:"016",callingCode:"+1684"},{name:"\u0410\u043d\u0434\u043e\u0440\u0440\u0430",alpha2Code:"AD",alpha3Code:"AND",numericCode:"020",callingCode:"+376"},{name:"\u0410\u043d\u0433\u043e\u043b\u0430",alpha2Code:"AO",alpha3Code:"AGO",numericCode:"024",callingCode:"+244"},{name:"\u0410\u043d\u0433\u0456\u043b\u044c\u044f",alpha2Code:"AI",alpha3Code:"AIA",numericCode:"660",callingCode:"+1264"},{name:"\u0410\u043d\u0442\u0430\u0440\u043a\u0442\u0438\u0434\u0430",alpha2Code:"AQ",alpha3Code:"ATA",numericCode:"010",callingCode:"+672"},{name:"\u0410\u043d\u0442\u0438\u0433\u0443\u0430 \u0456 \u0411\u0430\u0440\u0431\u0443\u0434\u0430",alpha2Code:"AG",alpha3Code:"ATG",numericCode:"028",callingCode:"+1268"},{name:"\u0410\u0440\u0433\u0435\u043d\u0442\u0438\u043d\u0430",alpha2Code:"AR",alpha3Code:"ARG",numericCode:"032",callingCode:"+54"},{name:"\u0412\u0456\u0440\u043c\u0435\u043d\u0456\u044f",alpha2Code:"AM",alpha3Code:"ARM",numericCode:"051",callingCode:"+374"},{name:"\u0410\u0440\u0443\u0431\u0430",alpha2Code:"AW",alpha3Code:"ABW",numericCode:"533",callingCode:"+297"},{name:"\u0410\u0432\u0441\u0442\u0440\u0430\u043b\u0456\u044f",alpha2Code:"AU",alpha3Code:"AUS",numericCode:"036",callingCode:"+61"},{name:"\u0410\u0432\u0441\u0442\u0440\u0456\u044f",alpha2Code:"AT",alpha3Code:"AUT",numericCode:"040",callingCode:"+43"},{name:"\u0410\u0437\u0435\u0440\u0431\u0430\u0439\u0434\u0436\u0430\u043d",alpha2Code:"AZ",alpha3Code:"AZE",numericCode:"031",callingCode:"+994"},{name:"\u0411\u0430\u0433\u0430\u043c\u0441\u044c\u043a\u0456 \u041e\u0441\u0442\u0440\u043e\u0432\u0438",alpha2Code:"BS",alpha3Code:"BHS",numericCode:"044",callingCode:"+1242"},{name:"\u0411\u0430\u0445\u0440\u0435\u0439\u043d",alpha2Code:"BH",alpha3Code:"BHR",numericCode:"048",callingCode:"+973"},{name:"\u0411\u0430\u043d\u0433\u043b\u0430\u0434\u0435\u0448",alpha2Code:"BD",alpha3Code:"BGD",numericCode:"050",callingCode:"+880"},{name:"\u0411\u0430\u0440\u0431\u0430\u0434\u043e\u0441",alpha2Code:"BB",alpha3Code:"BRB",numericCode:"052",callingCode:"+1246"},{name:"\u0411\u0456\u043b\u043e\u0440\u0443\u0441\u044c",alpha2Code:"BY",alpha3Code:"BLR",numericCode:"112",callingCode:"+375"},{name:"\u0411\u0435\u043b\u044c\u0433\u0456\u044f",alpha2Code:"BE",alpha3Code:"BEL",numericCode:"056",callingCode:"+32"},{name:"\u0411\u0435\u043b\u0456\u0437",alpha2Code:"BZ",alpha3Code:"BLZ",numericCode:"084",callingCode:"+501"},{name:"\u0411\u0435\u043d\u0456\u043d",alpha2Code:"BJ",alpha3Code:"BEN",numericCode:"204",callingCode:"+229"},{name:"\u0411\u0435\u0440\u043c\u0443\u0434\u0441\u044c\u043a\u0456 \u041e\u0441\u0442\u0440\u043e\u0432\u0438",alpha2Code:"BM",alpha3Code:"BMU",numericCode:"060",callingCode:"+1441"},{name:"\u0411\u0443\u0442\u0430\u043d",alpha2Code:"BT",alpha3Code:"BTN",numericCode:"064",callingCode:"+975"},{name:"\u0411\u043e\u043b\u0456\u0432\u0456\u044f",alpha2Code:"BO",alpha3Code:"BOL",numericCode:"068",callingCode:"+591"},{name:"\u041a\u0430\u0440\u0438\u0431\u0441\u044c\u043a\u0456 \u041d\u0456\u0434\u0435\u0440\u043b\u0430\u043d\u0434\u0438",alpha2Code:"BQ",alpha3Code:"BES",numericCode:"535",callingCode:"+5997"},{name:"\u0411\u043e\u0441\u043d\u0456\u044f \u0456 \u0413\u0435\u0440\u0446\u0435\u0433\u043e\u0432\u0438\u043d\u0430",alpha2Code:"BA",alpha3Code:"BIH",numericCode:"070",callingCode:"+387"},{name:"\u0411\u043e\u0442\u0441\u0432\u0430\u043d\u0430",alpha2Code:"BW",alpha3Code:"BWA",numericCode:"072",callingCode:"+267"},{name:"\u041e\u0441\u0442\u0440\u0456\u0432 \u0411\u0443\u0432\u0435",alpha2Code:"BV",alpha3Code:"BVT",numericCode:"074",callingCode:"+"},{name:"\u0411\u0440\u0430\u0437\u0438\u043b\u0456\u044f",alpha2Code:"BR",alpha3Code:"BRA",numericCode:"076",callingCode:"+55"},{name:"\u0411\u0440\u0438\u0442\u0430\u043d\u0441\u044c\u043a\u0430 \u0422\u0435\u0440\u0438\u0442\u043e\u0440\u0456\u044f \u0432 \u0406\u043d\u0434\u0456\u0439\u0441\u044c\u043a\u043e\u043c\u0443 \u041e\u043a\u0435\u0430\u043d\u0456",alpha2Code:"IO",alpha3Code:"IOT",numericCode:"086",callingCode:"+246"},{name:"\u0417\u043e\u0432\u043d\u0456\u0448\u043d\u0456 \u043c\u0430\u043b\u0456 \u043e\u0441\u0442\u0440\u043e\u0432\u0438 \u0421\u0428\u0410",alpha2Code:"UM",alpha3Code:"UMI",numericCode:"581",callingCode:"+"},{name:"\u0411\u0440\u0438\u0442\u0430\u043d\u0441\u044c\u043a\u0456 \u0412\u0456\u0440\u0433\u0456\u043d\u0441\u044c\u043a\u0456 \u041e\u0441\u0442\u0440\u043e\u0432\u0438",alpha2Code:"VG",alpha3Code:"VGB",numericCode:"092",callingCode:"+1284"},{name:"\u0410\u043c\u0435\u0440\u0438\u043a\u0430\u043d\u0441\u044c\u043a\u0456 \u0412\u0456\u0440\u0433\u0456\u043d\u0441\u044c\u043a\u0456 \u041e\u0441\u0442\u0440\u043e\u0432\u0438",alpha2Code:"VI",alpha3Code:"VIR",numericCode:"850",callingCode:"+1 340"},{name:"\u0411\u0440\u0443\u043d\u0435\u0439",alpha2Code:"BN",alpha3Code:"BRN",numericCode:"096",callingCode:"+673"},{name:"\u0411\u043e\u043b\u0433\u0430\u0440\u0456\u044f",alpha2Code:"BG",alpha3Code:"BGR",numericCode:"100",callingCode:"+359"},{name:"\u0411\u0443\u0440\u043a\u0456\u043d\u0430-\u0424\u0430\u0441\u043e",alpha2Code:"BF",alpha3Code:"BFA",numericCode:"854",callingCode:"+226"},{name:"\u0411\u0443\u0440\u0443\u043d\u0434\u0456",alpha2Code:"BI",alpha3Code:"BDI",numericCode:"108",callingCode:"+257"},{name:"\u041a\u0430\u043c\u0431\u043e\u0434\u0436\u0430",alpha2Code:"KH",alpha3Code:"KHM",numericCode:"116",callingCode:"+855"},{name:"\u041a\u0430\u043c\u0435\u0440\u0443\u043d",alpha2Code:"CM",alpha3Code:"CMR",numericCode:"120",callingCode:"+237"},{name:"\u041a\u0430\u043d\u0430\u0434\u0430",alpha2Code:"CA",alpha3Code:"CAN",numericCode:"124",callingCode:"+1"},{name:"\u041a\u0430\u0431\u043e-\u0412\u0435\u0440\u0434\u0435",alpha2Code:"CV",alpha3Code:"CPV",numericCode:"132",callingCode:"+238"},{name:"\u041a\u0430\u0439\u043c\u0430\u043d\u043e\u0432\u0456 \u041e\u0441\u0442\u0440\u043e\u0432\u0438",alpha2Code:"KY",alpha3Code:"CYM",numericCode:"136",callingCode:"+1345"},{name:"\u0426\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u043e\u0430\u0444\u0440\u0438\u043a\u0430\u043d\u0441\u044c\u043a\u0430 \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0456\u043a\u0430",alpha2Code:"CF",alpha3Code:"CAF",numericCode:"140",callingCode:"+236"},{name:"\u0427\u0430\u0434",alpha2Code:"TD",alpha3Code:"TCD",numericCode:"148",callingCode:"+235"},{name:"\u0427\u0438\u043b\u0456",alpha2Code:"CL",alpha3Code:"CHL",numericCode:"152",callingCode:"+56"},{name:"\u041a\u0438\u0442\u0430\u0439\u0441\u044c\u043a\u0430 \u041d\u0430\u0440\u043e\u0434\u043d\u0430 \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0456\u043a\u0430",alpha2Code:"CN",alpha3Code:"CHN",numericCode:"156",callingCode:"+86"},{name:"\u041e\u0441\u0442\u0440\u0456\u0432 \u0420\u0456\u0437\u0434\u0432\u0430",alpha2Code:"CX",alpha3Code:"CXR",numericCode:"162",callingCode:"+61"},{name:"\u041a\u043e\u043a\u043e\u0441\u043e\u0432\u0456 \u043e\u0441\u0442\u0440\u043e\u0432\u0438",alpha2Code:"CC",alpha3Code:"CCK",numericCode:"166",callingCode:"+61"},{name:"\u041a\u043e\u043b\u0443\u043c\u0431\u0456\u044f",alpha2Code:"CO",alpha3Code:"COL",numericCode:"170",callingCode:"+57"},{name:"\u041a\u043e\u043c\u043e\u0440\u0441\u044c\u043a\u0456 \u041e\u0441\u0442\u0440\u043e\u0432\u0438",alpha2Code:"KM",alpha3Code:"COM",numericCode:"174",callingCode:"+269"},{name:"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0456\u043a\u0430 \u041a\u043e\u043d\u0433\u043e",alpha2Code:"CG",alpha3Code:"COG",numericCode:"178",callingCode:"+242"},{name:"\u0414\u0420 \u041a\u043e\u043d\u0433\u043e",alpha2Code:"CD",alpha3Code:"COD",numericCode:"180",callingCode:"+243"},{name:"\u041e\u0441\u0442\u0440\u043e\u0432\u0438 \u041a\u0443\u043a\u0430",alpha2Code:"CK",alpha3Code:"COK",numericCode:"184",callingCode:"+682"},{name:"\u041a\u043e\u0441\u0442\u0430-\u0420\u0438\u043a\u0430",alpha2Code:"CR",alpha3Code:"CRI",numericCode:"188",callingCode:"+506"},{name:"\u0425\u043e\u0440\u0432\u0430\u0442\u0456\u044f",alpha2Code:"HR",alpha3Code:"HRV",numericCode:"191",callingCode:"+385"},{name:"\u041a\u0443\u0431\u0430",alpha2Code:"CU",alpha3Code:"CUB",numericCode:"192",callingCode:"+53"},{name:"\u041a\u044e\u0440\u0430\u0441\u0430\u043e",alpha2Code:"CW",alpha3Code:"CUW",numericCode:"531",callingCode:"+599"},{name:"\u041a\u0456\u043f\u0440",alpha2Code:"CY",alpha3Code:"CYP",numericCode:"196",callingCode:"+357"},{name:"\u0427\u0435\u0445\u0456\u044f",alpha2Code:"CZ",alpha3Code:"CZE",numericCode:"203",callingCode:"+420"},{name:"\u0414\u0430\u043d\u0456\u044f",alpha2Code:"DK",alpha3Code:"DNK",numericCode:"208",callingCode:"+45"},{name:"\u0414\u0436\u0438\u0431\u0443\u0442\u0456",alpha2Code:"DJ",alpha3Code:"DJI",numericCode:"262",callingCode:"+253"},{name:"\u0414\u043e\u043c\u0456\u043d\u0456\u043a\u0430",alpha2Code:"DM",alpha3Code:"DMA",numericCode:"212",callingCode:"+1767"},{name:"\u0414\u043e\u043c\u0456\u043d\u0456\u043a\u0430\u043d\u0441\u044c\u043a\u0430 \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0456\u043a\u0430",alpha2Code:"DO",alpha3Code:"DOM",numericCode:"214",callingCode:"+1809"},{name:"\u0415\u043a\u0432\u0430\u0434\u043e\u0440",alpha2Code:"EC",alpha3Code:"ECU",numericCode:"218",callingCode:"+593"},{name:"\u0404\u0433\u0438\u043f\u0435\u0442",alpha2Code:"EG",alpha3Code:"EGY",numericCode:"818",callingCode:"+20"},{name:"\u0421\u0430\u043b\u044c\u0432\u0430\u0434\u043e\u0440",alpha2Code:"SV",alpha3Code:"SLV",numericCode:"222",callingCode:"+503"},{name:"\u0415\u043a\u0432\u0430\u0442\u043e\u0440\u0456\u0430\u043b\u044c\u043d\u0430 \u0413\u0432\u0456\u043d\u0435\u044f",alpha2Code:"GQ",alpha3Code:"GNQ",numericCode:"226",callingCode:"+240"},{name:"\u0415\u0440\u0438\u0442\u0440\u0435\u044f",alpha2Code:"ER",alpha3Code:"ERI",numericCode:"232",callingCode:"+291"},{name:"\u0415\u0441\u0442\u043e\u043d\u0456\u044f",alpha2Code:"EE",alpha3Code:"EST",numericCode:"233",callingCode:"+372"},{name:"\u0415\u0444\u0456\u043e\u043f\u0456\u044f",alpha2Code:"ET",alpha3Code:"ETH",numericCode:"231",callingCode:"+251"},{name:"\u0424\u043e\u043b\u043a\u043b\u0435\u043d\u0434\u0441\u044c\u043a\u0456 \u041e\u0441\u0442\u0440\u043e\u0432\u0438",alpha2Code:"FK",alpha3Code:"FLK",numericCode:"238",callingCode:"+500"},{name:"\u0424\u0430\u0440\u0435\u0440\u0441\u044c\u043a\u0456 \u043e\u0441\u0442\u0440\u043e\u0432\u0438",alpha2Code:"FO",alpha3Code:"FRO",numericCode:"234",callingCode:"+298"},{name:"\u0424\u0456\u0434\u0436\u0456",alpha2Code:"FJ",alpha3Code:"FJI",numericCode:"242",callingCode:"+679"},{name:"\u0424\u0456\u043d\u043b\u044f\u043d\u0434\u0456\u044f",alpha2Code:"FI",alpha3Code:"FIN",numericCode:"246",callingCode:"+358"},{name:"\u0424\u0440\u0430\u043d\u0446\u0456\u044f",alpha2Code:"FR",alpha3Code:"FRA",numericCode:"250",callingCode:"+33"},{name:"\u0424\u0440\u0430\u043d\u0446\u0443\u0437\u044c\u043a\u0430 \u0413\u0432\u0456\u0430\u043d\u0430",alpha2Code:"GF",alpha3Code:"GUF",numericCode:"254",callingCode:"+594"},{name:"\u0424\u0440\u0430\u043d\u0446\u0443\u0437\u044c\u043a\u0430 \u041f\u043e\u043b\u0456\u043d\u0435\u0437\u0456\u044f",alpha2Code:"PF",alpha3Code:"PYF",numericCode:"258",callingCode:"+689"},{name:"\u0424\u0440\u0430\u043d\u0446\u0443\u0437\u044c\u043a\u0456 \u041f\u0456\u0432\u0434\u0435\u043d\u043d\u0456 \u0456 \u0410\u043d\u0442\u0430\u0440\u043a\u0442\u0438\u0447\u043d\u0456 \u0422\u0435\u0440\u0438\u0442\u043e\u0440\u0456\u0457",alpha2Code:"TF",alpha3Code:"ATF",numericCode:"260",callingCode:"+"},{name:"\u0413\u0430\u0431\u043e\u043d",alpha2Code:"GA",alpha3Code:"GAB",numericCode:"266",callingCode:"+241"},{name:"\u0413\u0430\u043c\u0431\u0456\u044f",alpha2Code:"GM",alpha3Code:"GMB",numericCode:"270",callingCode:"+220"},{name:"\u0413\u0440\u0443\u0437\u0456\u044f",alpha2Code:"GE",alpha3Code:"GEO",numericCode:"268",callingCode:"+995"},{name:"\u041d\u0456\u043c\u0435\u0447\u0447\u0438\u043d\u0430",alpha2Code:"DE",alpha3Code:"DEU",numericCode:"276",callingCode:"+49"},{name:"\u0413\u0430\u043d\u0430",alpha2Code:"GH",alpha3Code:"GHA",numericCode:"288",callingCode:"+233"},{name:"\u0413\u0456\u0431\u0440\u0430\u043b\u0442\u0430\u0440",alpha2Code:"GI",alpha3Code:"GIB",numericCode:"292",callingCode:"+350"},{name:"\u0413\u0440\u0435\u0446\u0456\u044f",alpha2Code:"GR",alpha3Code:"GRC",numericCode:"300",callingCode:"+30"},{name:"\u0413\u0440\u0435\u043d\u043b\u0430\u043d\u0434\u0456\u044f",alpha2Code:"GL",alpha3Code:"GRL",numericCode:"304",callingCode:"+299"},{name:"\u0413\u0440\u0435\u043d\u0430\u0434\u0430",alpha2Code:"GD",alpha3Code:"GRD",numericCode:"308",callingCode:"+1473"},{name:"\u0413\u0432\u0430\u0434\u0435\u043b\u0443\u043f\u0430",alpha2Code:"GP",alpha3Code:"GLP",numericCode:"312",callingCode:"+590"},{name:"\u0413\u0443\u0430\u043c",alpha2Code:"GU",alpha3Code:"GUM",numericCode:"316",callingCode:"+1671"},{name:"\u0413\u0432\u0430\u0442\u0435\u043c\u0430\u043b\u0430",alpha2Code:"GT",alpha3Code:"GTM",numericCode:"320",callingCode:"+502"},{name:"\u0413\u0435\u0440\u043d\u0441\u0456",alpha2Code:"GG",alpha3Code:"GGY",numericCode:"831",callingCode:"+44"},{name:"\u0413\u0432\u0456\u043d\u0435\u044f",alpha2Code:"GN",alpha3Code:"GIN",numericCode:"324",callingCode:"+224"},{name:"\u0413\u0432\u0456\u043d\u0435\u044f-\u0411\u0456\u0441\u0430\u0443",alpha2Code:"GW",alpha3Code:"GNB",numericCode:"624",callingCode:"+245"},{name:"\u0413\u0430\u044f\u043d\u0430",alpha2Code:"GY",alpha3Code:"GUY",numericCode:"328",callingCode:"+592"},{name:"\u0413\u0430\u0457\u0442\u0456",alpha2Code:"HT",alpha3Code:"HTI",numericCode:"332",callingCode:"+509"},{name:"\u041e\u0441\u0442\u0440\u0456\u0432 \u0425\u0435\u0440\u0434 \u0456 \u043e\u0441\u0442\u0440\u043e\u0432\u0438 \u041c\u0430\u043a\u0434\u043e\u043d\u0430\u043b\u044c\u0434",alpha2Code:"HM",alpha3Code:"HMD",numericCode:"334",callingCode:"+"},{name:"\u0412\u0430\u0442\u0438\u043a\u0430\u043d",alpha2Code:"VA",alpha3Code:"VAT",numericCode:"336",callingCode:"+379"},{name:"\u0413\u043e\u043d\u0434\u0443\u0440\u0430\u0441",alpha2Code:"HN",alpha3Code:"HND",numericCode:"340",callingCode:"+504"},{name:"\u0413\u043e\u043d\u043a\u043e\u043d\u0433",alpha2Code:"HK",alpha3Code:"HKG",numericCode:"344",callingCode:"+852"},{name:"\u0423\u0433\u043e\u0440\u0449\u0438\u043d\u0430",alpha2Code:"HU",alpha3Code:"HUN",numericCode:"348",callingCode:"+36"},{name:"\u0406\u0441\u043b\u0430\u043d\u0434\u0456\u044f",alpha2Code:"IS",alpha3Code:"ISL",numericCode:"352",callingCode:"+354"},{name:"\u0406\u043d\u0434\u0456\u044f",alpha2Code:"IN",alpha3Code:"IND",numericCode:"356",callingCode:"+91"},{name:"\u0406\u043d\u0434\u043e\u043d\u0435\u0437\u0456\u044f",alpha2Code:"ID",alpha3Code:"IDN",numericCode:"360",callingCode:"+62"},{name:"\u041a\u043e\u0442-\u0434'\u0406\u0432\u0443\u0430\u0440",alpha2Code:"CI",alpha3Code:"CIV",numericCode:"384",callingCode:"+225"},{name:"\u0406\u0440\u0430\u043d",alpha2Code:"IR",alpha3Code:"IRN",numericCode:"364",callingCode:"+98"},{name:"\u0406\u0440\u0430\u043a",alpha2Code:"IQ",alpha3Code:"IRQ",numericCode:"368",callingCode:"+964"},{name:"\u0406\u0440\u043b\u0430\u043d\u0434\u0456\u044f",alpha2Code:"IE",alpha3Code:"IRL",numericCode:"372",callingCode:"+353"},{name:"\u041e\u0441\u0442\u0440\u0456\u0432 \u041c\u0435\u043d",alpha2Code:"IM",alpha3Code:"IMN",numericCode:"833",callingCode:"+44"},{name:"\u0406\u0437\u0440\u0430\u0457\u043b\u044c",alpha2Code:"IL",alpha3Code:"ISR",numericCode:"376",callingCode:"+972"},{name:"\u0406\u0442\u0430\u043b\u0456\u044f",alpha2Code:"IT",alpha3Code:"ITA",numericCode:"380",callingCode:"+39"},{name:"\u042f\u043c\u0430\u0439\u043a\u0430",alpha2Code:"JM",alpha3Code:"JAM",numericCode:"388",callingCode:"+1876"},{name:"\u042f\u043f\u043e\u043d\u0456\u044f",alpha2Code:"JP",alpha3Code:"JPN",numericCode:"392",callingCode:"+81"},{name:"\u0414\u0436\u0435\u0440\u0441\u0456",alpha2Code:"JE",alpha3Code:"JEY",numericCode:"832",callingCode:"+44"},{name:"\u0419\u043e\u0440\u0434\u0430\u043d\u0456\u044f",alpha2Code:"JO",alpha3Code:"JOR",numericCode:"400",callingCode:"+962"},{name:"\u041a\u0430\u0437\u0430\u0445\u0441\u0442\u0430\u043d",alpha2Code:"KZ",alpha3Code:"KAZ",numericCode:"398",callingCode:"+7"},{name:"\u041a\u0435\u043d\u0456\u044f",alpha2Code:"KE",alpha3Code:"KEN",numericCode:"404",callingCode:"+254"},{name:"\u041a\u0456\u0440\u0438\u0431\u0430\u0442\u0456",alpha2Code:"KI",alpha3Code:"KIR",numericCode:"296",callingCode:"+686"},{name:"\u041a\u0443\u0432\u0435\u0439\u0442",alpha2Code:"KW",alpha3Code:"KWT",numericCode:"414",callingCode:"+965"},{name:"\u041a\u0438\u0440\u0433\u0438\u0437\u0441\u0442\u0430\u043d",alpha2Code:"KG",alpha3Code:"KGZ",numericCode:"417",callingCode:"+996"},{name:"\u041b\u0430\u043e\u0441",alpha2Code:"LA",alpha3Code:"LAO",numericCode:"418",callingCode:"+856"},{name:"\u041b\u0430\u0442\u0432\u0456\u044f",alpha2Code:"LV",alpha3Code:"LVA",numericCode:"428",callingCode:"+371"},{name:"\u041b\u0456\u0432\u0430\u043d",alpha2Code:"LB",alpha3Code:"LBN",numericCode:"422",callingCode:"+961"},{name:"\u041b\u0435\u0441\u043e\u0442\u043e",alpha2Code:"LS",alpha3Code:"LSO",numericCode:"426",callingCode:"+266"},{name:"\u041b\u0456\u0431\u0435\u0440\u0456\u044f",alpha2Code:"LR",alpha3Code:"LBR",numericCode:"430",callingCode:"+231"},{name:"\u041b\u0456\u0432\u0456\u044f",alpha2Code:"LY",alpha3Code:"LBY",numericCode:"434",callingCode:"+218"},{name:"\u041b\u0456\u0445\u0442\u0435\u043d\u0448\u0442\u0435\u0439\u043d",alpha2Code:"LI",alpha3Code:"LIE",numericCode:"438",callingCode:"+423"},{name:"\u041b\u0438\u0442\u0432\u0430",alpha2Code:"LT",alpha3Code:"LTU",numericCode:"440",callingCode:"+370"},{name:"\u041b\u044e\u043a\u0441\u0435\u043c\u0431\u0443\u0440\u0433",alpha2Code:"LU",alpha3Code:"LUX",numericCode:"442",callingCode:"+352"},{name:"\u041c\u0430\u043a\u0430\u043e",alpha2Code:"MO",alpha3Code:"MAC",numericCode:"446",callingCode:"+853"},{name:"\u041f\u0456\u0432\u043d\u0456\u0447\u043d\u0430 \u041c\u0430\u043a\u0435\u0434\u043e\u043d\u0456\u044f",alpha2Code:"MK",alpha3Code:"MKD",numericCode:"807",callingCode:"+389"},{name:"\u041c\u0430\u0434\u0430\u0433\u0430\u0441\u043a\u0430\u0440",alpha2Code:"MG",alpha3Code:"MDG",numericCode:"450",callingCode:"+261"},{name:"\u041c\u0430\u043b\u0430\u0432\u0456",alpha2Code:"MW",alpha3Code:"MWI",numericCode:"454",callingCode:"+265"},{name:"\u041c\u0430\u043b\u0430\u0439\u0437\u0456\u044f",alpha2Code:"MY",alpha3Code:"MYS",numericCode:"458",callingCode:"+60"},{name:"\u041c\u0430\u043b\u044c\u0434\u0456\u0432\u0438",alpha2Code:"MV",alpha3Code:"MDV",numericCode:"462",callingCode:"+960"},{name:"\u041c\u0430\u043b\u0456",alpha2Code:"ML",alpha3Code:"MLI",numericCode:"466",callingCode:"+223"},{name:"\u041c\u0430\u043b\u044c\u0442\u0430",alpha2Code:"MT",alpha3Code:"MLT",numericCode:"470",callingCode:"+356"},{name:"\u041c\u0430\u0440\u0448\u0430\u043b\u043b\u043e\u0432\u0456 \u041e\u0441\u0442\u0440\u043e\u0432\u0438",alpha2Code:"MH",alpha3Code:"MHL",numericCode:"584",callingCode:"+692"},{name:"\u041c\u0430\u0440\u0442\u0438\u043d\u0456\u043a\u0430",alpha2Code:"MQ",alpha3Code:"MTQ",numericCode:"474",callingCode:"+596"},{name:"\u041c\u0430\u0432\u0440\u0438\u0442\u0430\u043d\u0456\u044f",alpha2Code:"MR",alpha3Code:"MRT",numericCode:"478",callingCode:"+222"},{name:"\u041c\u0430\u0432\u0440\u0438\u043a\u0456\u0439",alpha2Code:"MU",alpha3Code:"MUS",numericCode:"480",callingCode:"+230"},{name:"\u041c\u0430\u0439\u043e\u0442\u0442\u0430",alpha2Code:"YT",alpha3Code:"MYT",numericCode:"175",callingCode:"+262"},{name:"\u041c\u0435\u043a\u0441\u0438\u043a\u0430",alpha2Code:"MX",alpha3Code:"MEX",numericCode:"484",callingCode:"+52"},{name:"\u0424\u0435\u0434\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u0456 \u0428\u0442\u0430\u0442\u0438 \u041c\u0456\u043a\u0440\u043e\u043d\u0435\u0437\u0456\u0457",alpha2Code:"FM",alpha3Code:"FSM",numericCode:"583",callingCode:"+691"},{name:"\u041c\u043e\u043b\u0434\u043e\u0432\u0430",alpha2Code:"MD",alpha3Code:"MDA",numericCode:"498",callingCode:"+373"},{name:"\u041c\u043e\u043d\u0430\u043a\u043e",alpha2Code:"MC",alpha3Code:"MCO",numericCode:"492",callingCode:"+377"},{name:"\u041c\u043e\u043d\u0433\u043e\u043b\u0456\u044f",alpha2Code:"MN",alpha3Code:"MNG",numericCode:"496",callingCode:"+976"},{name:"\u0427\u043e\u0440\u043d\u043e\u0433\u043e\u0440\u0456\u044f",alpha2Code:"ME",alpha3Code:"MNE",numericCode:"499",callingCode:"+382"},{name:"\u041c\u043e\u043d\u0442\u0441\u0435\u0440\u0440\u0430\u0442",alpha2Code:"MS",alpha3Code:"MSR",numericCode:"500",callingCode:"+1664"},{name:"\u041c\u0430\u0440\u043e\u043a\u043a\u043e",alpha2Code:"MA",alpha3Code:"MAR",numericCode:"504",callingCode:"+212"},{name:"\u041c\u043e\u0437\u0430\u043c\u0431\u0456\u043a",alpha2Code:"MZ",alpha3Code:"MOZ",numericCode:"508",callingCode:"+258"},{name:"\u041c'\u044f\u043d\u043c\u0430",alpha2Code:"MM",alpha3Code:"MMR",numericCode:"104",callingCode:"+95"},{name:"\u041d\u0430\u043c\u0456\u0431\u0456\u044f",alpha2Code:"NA",alpha3Code:"NAM",numericCode:"516",callingCode:"+264"},{name:"\u041d\u0430\u0443\u0440\u0443",alpha2Code:"NR",alpha3Code:"NRU",numericCode:"520",callingCode:"+674"},{name:"\u041d\u0435\u043f\u0430\u043b",alpha2Code:"NP",alpha3Code:"NPL",numericCode:"524",callingCode:"+977"},{name:"\u041d\u0456\u0434\u0435\u0440\u043b\u0430\u043d\u0434\u0438",alpha2Code:"NL",alpha3Code:"NLD",numericCode:"528",callingCode:"+31"},{name:"\u041d\u043e\u0432\u0430 \u041a\u0430\u043b\u0435\u0434\u043e\u043d\u0456\u044f",alpha2Code:"NC",alpha3Code:"NCL",numericCode:"540",callingCode:"+687"},{name:"\u041d\u043e\u0432\u0430 \u0417\u0435\u043b\u0430\u043d\u0434\u0456\u044f",alpha2Code:"NZ",alpha3Code:"NZL",numericCode:"554",callingCode:"+64"},{name:"\u041d\u0456\u043a\u0430\u0440\u0430\u0433\u0443\u0430",alpha2Code:"NI",alpha3Code:"NIC",numericCode:"558",callingCode:"+505"},{name:"\u041d\u0456\u0433\u0435\u0440",alpha2Code:"NE",alpha3Code:"NER",numericCode:"562",callingCode:"+227"},{name:"\u041d\u0456\u0433\u0435\u0440\u0456\u044f",alpha2Code:"NG",alpha3Code:"NGA",numericCode:"566",callingCode:"+234"},{name:"\u041d\u0456\u0443\u0435",alpha2Code:"NU",alpha3Code:"NIU",numericCode:"570",callingCode:"+683"},{name:"\u041e\u0441\u0442\u0440\u0456\u0432 \u041d\u043e\u0440\u0444\u043e\u043b\u043a",alpha2Code:"NF",alpha3Code:"NFK",numericCode:"574",callingCode:"+672"},{name:"\u041f\u0456\u0432\u043d\u0456\u0447\u043d\u0430 \u041a\u043e\u0440\u0435\u044f",alpha2Code:"KP",alpha3Code:"PRK",numericCode:"408",callingCode:"+850"},{name:"\u041f\u0456\u0432\u043d\u0456\u0447\u043d\u0456 \u041c\u0430\u0440\u0456\u0430\u043d\u0441\u044c\u043a\u0456 \u041e\u0441\u0442\u0440\u043e\u0432\u0438",alpha2Code:"MP",alpha3Code:"MNP",numericCode:"580",callingCode:"+1670"},{name:"\u041d\u043e\u0440\u0432\u0435\u0433\u0456\u044f",alpha2Code:"NO",alpha3Code:"NOR",numericCode:"578",callingCode:"+47"},{name:"\u041e\u043c\u0430\u043d",alpha2Code:"OM",alpha3Code:"OMN",numericCode:"512",callingCode:"+968"},{name:"\u041f\u0430\u043a\u0438\u0441\u0442\u0430\u043d",alpha2Code:"PK",alpha3Code:"PAK",numericCode:"586",callingCode:"+92"},{name:"\u041f\u0430\u043b\u0430\u0443",alpha2Code:"PW",alpha3Code:"PLW",numericCode:"585",callingCode:"+680"},{name:"\u041f\u0430\u043b\u0435\u0441\u0442\u0438\u043d\u0430",alpha2Code:"PS",alpha3Code:"PSE",numericCode:"275",callingCode:"+970"},{name:"\u041f\u0430\u043d\u0430\u043c\u0430",alpha2Code:"PA",alpha3Code:"PAN",numericCode:"591",callingCode:"+507"},{name:"\u041f\u0430\u043f\u0443\u0430 \u041d\u043e\u0432\u0430 \u0413\u0432\u0456\u043d\u0435\u044f",alpha2Code:"PG",alpha3Code:"PNG",numericCode:"598",callingCode:"+675"},{name:"\u041f\u0430\u0440\u0430\u0433\u0432\u0430\u0439",alpha2Code:"PY",alpha3Code:"PRY",numericCode:"600",callingCode:"+595"},{name:"\u041f\u0435\u0440\u0443",alpha2Code:"PE",alpha3Code:"PER",numericCode:"604",callingCode:"+51"},{name:"\u0424\u0456\u043b\u0456\u043f\u043f\u0456\u043d\u0438",alpha2Code:"PH",alpha3Code:"PHL",numericCode:"608",callingCode:"+63"},{name:"\u041f\u0456\u0442\u043a\u0435\u0440\u043d",alpha2Code:"PN",alpha3Code:"PCN",numericCode:"612",callingCode:"+64"},{name:"\u041f\u043e\u043b\u044c\u0449\u0430",alpha2Code:"PL",alpha3Code:"POL",numericCode:"616",callingCode:"+48"},{name:"\u041f\u043e\u0440\u0442\u0443\u0433\u0430\u043b\u0456\u044f",alpha2Code:"PT",alpha3Code:"PRT",numericCode:"620",callingCode:"+351"},{name:"\u041f\u0443\u0435\u0440\u0442\u043e-\u0420\u0438\u043a\u043e",alpha2Code:"PR",alpha3Code:"PRI",numericCode:"630",callingCode:"+1"},{name:"\u041a\u0430\u0442\u0430\u0440",alpha2Code:"QA",alpha3Code:"QAT",numericCode:"634",callingCode:"+974"},{name:"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0456\u043a\u0430 \u041a\u043e\u0441\u043e\u0432\u043e",alpha2Code:"XK",alpha3Code:"KOS",numericCode:null,callingCode:"+383"},{name:"\u0420\u0435\u044e\u043d\u044c\u0439\u043e\u043d",alpha2Code:"RE",alpha3Code:"REU",numericCode:"638",callingCode:"+262"},{name:"\u0420\u0443\u043c\u0443\u043d\u0456\u044f",alpha2Code:"RO",alpha3Code:"ROU",numericCode:"642",callingCode:"+40"},{name:"\u0420\u043e\u0441\u0456\u044f",alpha2Code:"RU",alpha3Code:"RUS",numericCode:"643",callingCode:"+7"},{name:"\u0420\u0443\u0430\u043d\u0434\u0430",alpha2Code:"RW",alpha3Code:"RWA",numericCode:"646",callingCode:"+250"},{name:"\u0421\u0435\u043d-\u0411\u0430\u0440\u0442\u0435\u043b\u044c\u043c\u0456",alpha2Code:"BL",alpha3Code:"BLM",numericCode:"652",callingCode:"+590"},{name:"\u041e\u0441\u0442\u0440\u043e\u0432\u0438 \u0421\u0432\u044f\u0442\u043e\u0457 \u0404\u043b\u0435\u043d\u0438, \u0412\u043e\u0437\u043d\u0435\u0441\u0456\u043d\u043d\u044f \u0456 \u0422\u0440\u0438\u0441\u0442\u0430\u043d-\u0434\u0430-\u041a\u0443\u043d\u044c\u044f",alpha2Code:"SH",alpha3Code:"SHN",numericCode:"654",callingCode:"+290"},{name:"\u0421\u0435\u043d\u0442-\u041a\u0456\u0442\u0442\u0441 \u0456 \u041d\u0435\u0432\u0456\u0441",alpha2Code:"KN",alpha3Code:"KNA",numericCode:"659",callingCode:"+1869"},{name:"\u0421\u0435\u043d\u0442-\u041b\u044e\u0441\u0456\u044f",alpha2Code:"LC",alpha3Code:"LCA",numericCode:"662",callingCode:"+1758"},{name:"\u0421\u0435\u043d-\u041c\u0430\u0440\u0442\u0435\u043d",alpha2Code:"MF",alpha3Code:"MAF",numericCode:"663",callingCode:"+590"},{name:"\u0421\u0435\u043d-\u041f'\u0454\u0440 \u0456 \u041c\u0456\u043a\u0435\u043b\u043e\u043d",alpha2Code:"PM",alpha3Code:"SPM",numericCode:"666",callingCode:"+508"},{name:"\u0421\u0435\u043d\u0442-\u0412\u0456\u043d\u0441\u0435\u043d\u0442 \u0456 \u0413\u0440\u0435\u043d\u0430\u0434\u0438\u043d\u0438",alpha2Code:"VC",alpha3Code:"VCT",numericCode:"670",callingCode:"+1784"},{name:"\u0421\u0430\u043c\u043e\u0430",alpha2Code:"WS",alpha3Code:"WSM",numericCode:"882",callingCode:"+685"},{name:"\u0421\u0430\u043d-\u041c\u0430\u0440\u0438\u043d\u043e",alpha2Code:"SM",alpha3Code:"SMR",numericCode:"674",callingCode:"+378"},{name:"\u0421\u0430\u043d-\u0422\u043e\u043c\u0435 \u0456 \u041f\u0440\u0438\u043d\u0441\u0456\u043f\u0456",alpha2Code:"ST",alpha3Code:"STP",numericCode:"678",callingCode:"+239"},{name:"\u0421\u0430\u0443\u0434\u0456\u0432\u0441\u044c\u043a\u0430 \u0410\u0440\u0430\u0432\u0456\u044f",alpha2Code:"SA",alpha3Code:"SAU",numericCode:"682",callingCode:"+966"},{name:"\u0421\u0435\u043d\u0435\u0433\u0430\u043b",alpha2Code:"SN",alpha3Code:"SEN",numericCode:"686",callingCode:"+221"},{name:"\u0421\u0435\u0440\u0431\u0456\u044f",alpha2Code:"RS",alpha3Code:"SRB",numericCode:"688",callingCode:"+381"},{name:"\u0421\u0435\u0439\u0448\u0435\u043b\u044c\u0441\u044c\u043a\u0456 \u041e\u0441\u0442\u0440\u043e\u0432\u0438",alpha2Code:"SC",alpha3Code:"SYC",numericCode:"690",callingCode:"+248"},{name:"\u0421\u044c\u0454\u0440\u0440\u0430-\u041b\u0435\u043e\u043d\u0435",alpha2Code:"SL",alpha3Code:"SLE",numericCode:"694",callingCode:"+232"},{name:"\u0421\u0456\u043d\u0433\u0430\u043f\u0443\u0440",alpha2Code:"SG",alpha3Code:"SGP",numericCode:"702",callingCode:"+65"},{name:"\u0421\u0456\u043d\u0442-\u041c\u0430\u0440\u0442\u0435\u043d",alpha2Code:"SX",alpha3Code:"SXM",numericCode:"534",callingCode:"+1721"},{name:"\u0421\u043b\u043e\u0432\u0430\u0447\u0447\u0438\u043d\u0430",alpha2Code:"SK",alpha3Code:"SVK",numericCode:"703",callingCode:"+421"},{name:"\u0421\u043b\u043e\u0432\u0435\u043d\u0456\u044f",alpha2Code:"SI",alpha3Code:"SVN",numericCode:"705",callingCode:"+386"},{name:"\u0421\u043e\u043b\u043e\u043c\u043e\u043d\u043e\u0432\u0456 \u041e\u0441\u0442\u0440\u043e\u0432\u0438",alpha2Code:"SB",alpha3Code:"SLB",numericCode:"090",callingCode:"+677"},{name:"\u0421\u043e\u043c\u0430\u043b\u0456",alpha2Code:"SO",alpha3Code:"SOM",numericCode:"706",callingCode:"+252"},{name:"\u041f\u0410\u0420",alpha2Code:"ZA",alpha3Code:"ZAF",numericCode:"710",callingCode:"+27"},{name:"\u041f\u0456\u0432\u0434\u0435\u043d\u043d\u0430 \u0414\u0436\u043e\u0440\u0434\u0436\u0456\u044f \u0442\u0430 \u041f\u0456\u0432\u0434\u0435\u043d\u043d\u0456 \u0421\u0430\u043d\u0434\u0432\u0456\u0447\u0435\u0432\u0456 \u041e\u0441\u0442\u0440\u043e\u0432\u0438",alpha2Code:"GS",alpha3Code:"SGS",numericCode:"239",callingCode:"+500"},{name:"\u041f\u0456\u0432\u0434\u0435\u043d\u043d\u0430 \u041a\u043e\u0440\u0435\u044f",alpha2Code:"KR",alpha3Code:"KOR",numericCode:"410",callingCode:"+82"},{name:"\u041f\u0456\u0432\u0434\u0435\u043d\u043d\u0438\u0439 \u0421\u0443\u0434\u0430\u043d",alpha2Code:"SS",alpha3Code:"SSD",numericCode:"728",callingCode:"+211"},{name:"\u0406\u0441\u043f\u0430\u043d\u0456\u044f",alpha2Code:"ES",alpha3Code:"ESP",numericCode:"724",callingCode:"+34"},{name:"\u0428\u0440\u0456-\u041b\u0430\u043d\u043a\u0430",alpha2Code:"LK",alpha3Code:"LKA",numericCode:"144",callingCode:"+94"},{name:"\u0421\u0443\u0434\u0430\u043d",alpha2Code:"SD",alpha3Code:"SDN",numericCode:"729",callingCode:"+249"},{name:"\u0421\u0443\u0440\u0438\u043d\u0430\u043c",alpha2Code:"SR",alpha3Code:"SUR",numericCode:"740",callingCode:"+597"},{name:"\u0421\u0432\u0430\u043b\u044c\u0431\u0430\u0440\u0434 \u0456 \u042f\u043d-\u041c\u0430\u0454\u043d",alpha2Code:"SJ",alpha3Code:"SJM",numericCode:"744",callingCode:"+4779"},{name:"\u0415\u0441\u0432\u0430\u0442\u0456\u043d\u0456",alpha2Code:"SZ",alpha3Code:"SWZ",numericCode:"748",callingCode:"+268"},{name:"\u0428\u0432\u0435\u0446\u0456\u044f",alpha2Code:"SE",alpha3Code:"SWE",numericCode:"752",callingCode:"+46"},{name:"\u0428\u0432\u0435\u0439\u0446\u0430\u0440\u0456\u044f",alpha2Code:"CH",alpha3Code:"CHE",numericCode:"756",callingCode:"+41"},{name:"\u0421\u0438\u0440\u0456\u044f",alpha2Code:"SY",alpha3Code:"SYR",numericCode:"760",callingCode:"+963"},{name:"\u0422\u0430\u0439\u0432\u0430\u043d\u044c",alpha2Code:"TW",alpha3Code:"TWN",numericCode:"158",callingCode:"+886"},{name:"\u0422\u0430\u0434\u0436\u0438\u043a\u0438\u0441\u0442\u0430\u043d",alpha2Code:"TJ",alpha3Code:"TJK",numericCode:"762",callingCode:"+992"},{name:"\u0422\u0430\u043d\u0437\u0430\u043d\u0456\u044f",alpha2Code:"TZ",alpha3Code:"TZA",numericCode:"834",callingCode:"+255"},{name:"\u0422\u0430\u0457\u043b\u0430\u043d\u0434",alpha2Code:"TH",alpha3Code:"THA",numericCode:"764",callingCode:"+66"},{name:"\u0421\u0445\u0456\u0434\u043d\u0438\u0439 \u0422\u0438\u043c\u043e\u0440",alpha2Code:"TL",alpha3Code:"TLS",numericCode:"626",callingCode:"+670"},{name:"\u0422\u043e\u0433\u043e",alpha2Code:"TG",alpha3Code:"TGO",numericCode:"768",callingCode:"+228"},{name:"\u0422\u043e\u043a\u0435\u043b\u0430\u0443",alpha2Code:"TK",alpha3Code:"TKL",numericCode:"772",callingCode:"+690"},{name:"\u0422\u043e\u043d\u0433\u0430",alpha2Code:"TO",alpha3Code:"TON",numericCode:"776",callingCode:"+676"},{name:"\u0422\u0440\u0438\u043d\u0456\u0434\u0430\u0434 \u0456 \u0422\u043e\u0431\u0430\u0433\u043e",alpha2Code:"TT",alpha3Code:"TTO",numericCode:"780",callingCode:"+1868"},{name:"\u0422\u0443\u043d\u0456\u0441",alpha2Code:"TN",alpha3Code:"TUN",numericCode:"788",callingCode:"+216"},{name:"\u0422\u0443\u0440\u0435\u0447\u0447\u0438\u043d\u0430",alpha2Code:"TR",alpha3Code:"TUR",numericCode:"792",callingCode:"+90"},{name:"\u0422\u0443\u0440\u043a\u043c\u0435\u043d\u0456\u0441\u0442\u0430\u043d",alpha2Code:"TM",alpha3Code:"TKM",numericCode:"795",callingCode:"+993"},{name:"\u041e\u0441\u0442\u0440\u043e\u0432\u0438 \u0422\u0435\u0440\u043a\u0441 \u0456 \u041a\u0430\u0439\u043a\u043e\u0441",alpha2Code:"TC",alpha3Code:"TCA",numericCode:"796",callingCode:"+1649"},{name:"\u0422\u0443\u0432\u0430\u043b\u0443",alpha2Code:"TV",alpha3Code:"TUV",numericCode:"798",callingCode:"+688"},{name:"\u0423\u0433\u0430\u043d\u0434\u0430",alpha2Code:"UG",alpha3Code:"UGA",numericCode:"800",callingCode:"+256"},{name:"\u0423\u043a\u0440\u0430\u0457\u043d\u0430",alpha2Code:"UA",alpha3Code:"UKR",numericCode:"804",callingCode:"+380"},{name:"\u041e\u0410\u0415",alpha2Code:"AE",alpha3Code:"ARE",numericCode:"784",callingCode:"+971"},{name:"\u0412\u0435\u043b\u0438\u043a\u0430 \u0411\u0440\u0438\u0442\u0430\u043d\u0456\u044f",alpha2Code:"GB",alpha3Code:"GBR",numericCode:"826",callingCode:"+44"},{name:"\u0421\u0428\u0410",alpha2Code:"US",alpha3Code:"USA",numericCode:"840",callingCode:"+1"},{name:"\u0423\u0440\u0443\u0433\u0432\u0430\u0439",alpha2Code:"UY",alpha3Code:"URY",numericCode:"858",callingCode:"+598"},{name:"\u0423\u0437\u0431\u0435\u043a\u0438\u0441\u0442\u0430\u043d",alpha2Code:"UZ",alpha3Code:"UZB",numericCode:"860",callingCode:"+998"},{name:"\u0412\u0430\u043d\u0443\u0430\u0442\u0443",alpha2Code:"VU",alpha3Code:"VUT",numericCode:"548",callingCode:"+678"},{name:"\u0412\u0435\u043d\u0435\u0441\u0443\u0435\u043b\u0430",alpha2Code:"VE",alpha3Code:"VEN",numericCode:"862",callingCode:"+58"},{name:"\u0412'\u0454\u0442\u043d\u0430\u043c",alpha2Code:"VN",alpha3Code:"VNM",numericCode:"704",callingCode:"+84"},{name:"\u0412\u043e\u043b\u043b\u0456\u0441 \u0456 \u0424\u0443\u0442\u0443\u043d\u0430",alpha2Code:"WF",alpha3Code:"WLF",numericCode:"876",callingCode:"+681"},{name:"\u0417\u0430\u0445\u0456\u0434\u043d\u0430 \u0421\u0430\u0445\u0430\u0440\u0430",alpha2Code:"EH",alpha3Code:"ESH",numericCode:"732",callingCode:"+212"},{name:"\u0404\u043c\u0435\u043d",alpha2Code:"YE",alpha3Code:"YEM",numericCode:"887",callingCode:"+967"},{name:"\u0417\u0430\u043c\u0431\u0456\u044f",alpha2Code:"ZM",alpha3Code:"ZMB",numericCode:"894",callingCode:"+260"},{name:"\u0417\u0456\u043c\u0431\u0430\u0431\u0432\u0435",alpha2Code:"ZW",alpha3Code:"ZWE",numericCode:"716",callingCode:"+263"}]});let h1=(()=>{class n{constructor(t,i){this.iconRegistry=t,this.sanitizer=i,this.registerCountries()}static forRoot(t){return{ngModule:n,providers:[{provide:l1,useValue:t}]}}registerCountries(){for(const t of Fv){const i=t.alpha2Code.toLowerCase();try{this.iconRegistry.addSvgIcon(i,this.sanitizer.bypassSecurityTrustResourceUrl(`assets/svg-country-flags/svg/${i}.svg`))}catch(a){console.error("Error: icon not found for "+i,a)}}}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(es),e.LFG(c.H7))},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[_e.ez,A.u5,A.UX,Y.ot,ve,an.c,de.Bb,Ps,lo]}),n})();function By(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function m1(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.hij(" ",t.supplier.name," ")}}function $2(n,o){if(1&n&&(e.TgZ(0,"mat-slide-toggle",13),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=e.oxw().$implicit;e.Q6J("formControl",t.control),e.xp6(1),e.hij(" ",e.lcZ(2,2,t.label)," ")}}function Uy(n,o){if(1&n&&(e.ynx(0),e.YNc(1,$2,3,4,"mat-slide-toggle",12),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","mat-slide-toggle"===t.type)}}function Zy(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessageSupplier(t.id))}}function Yy(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",15)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",16),e.ALo(5,"translate"),e.YNc(6,Zy,2,1,"mat-error",2),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,6,t.label)),e.xp6(2),e.s9C("placeholder",e.lcZ(5,8,t.label)),e.Q6J("formControl",t.control)("type",t.type)("required",t.required),e.xp6(2),e.Q6J("ngIf",t.control.invalid)}}function Ef(n,o){if(1&n&&(e.TgZ(0,"mat-option",19),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.Oqu(t.label)}}function Hy(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessageSupplier(t.id))}}function z2(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field",15)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",17),e.NdJ("valueChange",function(a){e.CHM(t);const l=e.oxw().$implicit;return e.KtG(l.control.value=a)}),e.YNc(5,Ef,2,2,"mat-option",18),e.qZA(),e.YNc(6,Hy,2,1,"mat-error",2),e.qZA()}if(2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,6,t.label)),e.xp6(2),e.Q6J("formControl",t.control)("value",t.control.value)("required",t.required),e.xp6(1),e.Q6J("ngForOf",t.values),e.xp6(1),e.Q6J("ngIf",t.control.invalid)}}function Q2(n,o){if(1&n&&(e.ynx(0),e.YNc(1,Yy,7,10,"mat-form-field",14),e.YNc(2,z2,7,8,"mat-form-field",14),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","text"===t.type),e.xp6(1),e.Q6J("ngIf","select"===t.type)}}function X2(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessageAddress(t.id))}}function Vy(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",15)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",16),e.ALo(5,"translate"),e.YNc(6,X2,2,1,"mat-error",2),e.qZA()),2&n){const t=e.oxw().$implicit;e.ekj("col-span-2","address1"===t.id),e.xp6(2),e.Oqu(e.lcZ(3,8,t.label)),e.xp6(2),e.s9C("placeholder",e.lcZ(5,10,t.label)),e.Q6J("formControl",t.control)("type",t.type)("required",t.required),e.xp6(2),e.Q6J("ngIf",t.control.invalid)}}function Gy(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-select-country",22),e.NdJ("onCountrySelected",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.onCountrySelected(a))}),e.ALo(1,"translate"),e.qZA()}if(2&n){const t=e.oxw().$implicit,i=e.oxw();e.Q6J("label",e.lcZ(1,2,t.label))("value",i.defaultValue)}}function Ky(n,o){if(1&n&&(e.ynx(0),e.YNc(1,Vy,7,12,"mat-form-field",20),e.YNc(2,Gy,2,4,"mat-select-country",21),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","country"!==t.type),e.xp6(1),e.Q6J("ngIf","country"===t.type)}}let eT=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt,Ft,ii){this.router=t,this.http=i,this.dialog=a,this.route=l,this.userService=h,this.formBuilder=E,this.authService=B,this.translate=oe,this.notify=xe,this.localeService=Ve,this.historyService=lt,this.serviceSettings=Ft,this.privilegesService=ii,this.headers=this.authService.headers,this.loading=!0,this.supplierForm=[{id:"get_only_raw_footer",label:(0,He.J)("ACCOUNTS.get_only_raw_footer"),type:"mat-slide-toggle",control:new A.NI,required:!0},{id:"name",label:(0,He.J)("ACCOUNTS.supplier_name"),type:"text",control:new A.NI,required:!0},{id:"vat_number",label:(0,He.J)("ACCOUNTS.vat_number"),type:"text",control:new A.NI,required:!0},{id:"siret",label:(0,He.J)("ACCOUNTS.siret"),type:"text",control:new A.NI,required:!1},{id:"siren",label:(0,He.J)("ACCOUNTS.siren"),type:"text",control:new A.NI,required:!1},{id:"iban",label:(0,He.J)("ACCOUNTS.iban"),type:"text",control:new A.NI,required:!1},{id:"email",label:(0,He.J)("FORMATS.email"),type:"text",control:new A.NI("",A.kI.email),required:!1},{id:"form_id",label:(0,He.J)("ACCOUNTS.form"),type:"select",control:new A.NI,required:!1,values:[]},{id:"document_lang",label:(0,He.J)("ADDRESSES.document_lang"),type:"select",control:new A.NI,required:!0,values:[]}],this.addressForm=[{id:"address1",label:(0,He.J)("ADDRESSES.address_1"),type:"text",control:new A.NI,required:!0},{id:"address2",label:(0,He.J)("ADDRESSES.address_2"),type:"text",control:new A.NI,required:!1},{id:"postal_code",label:(0,He.J)("ADDRESSES.postal_code"),type:"text",control:new A.NI,required:!0},{id:"city",label:(0,He.J)("ADDRESSES.city"),type:"text",control:new A.NI,required:!0},{id:"country",label:(0,He.J)("ADDRESSES.country"),type:"country",control:new A.NI("France"),required:!0}],this.defaultValue={name:"France",alpha2Code:"",alpha3Code:"",numericCode:"",callingCode:""}}ngOnInit(){this.authService.headersExists||this.authService.generateHeaders(),this.supplierId=this.route.snapshot.params.id,this.supplierForm.forEach(t=>{("vat_number"===t.id||"siret"===t.id||"siren"===t.id||"iban"===t.id)&&t.control.valueChanges.subscribe(i=>{i&&i.includes(" ")&&t.control.setValue(i.replace(" ",""))}),"document_lang"===t.id&&(0===this.localeService.langs.length?this.http.get(m.N.url+"/ws/i18n/getAllLang",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{i.langs.forEach(a=>{t.control.setValue("fra"),t.values.push({id:a[0],label:a[1]})})}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe():this.localeService.langs.forEach(i=>{t.control.setValue("fra"),t.values.push({id:i[0],label:i[1]})}))}),this.http.get(m.N.url+"/ws/forms/list?module=verifier",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.http.get(m.N.url+"/ws/accounts/suppliers/getById/"+this.supplierId,{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.supplier=i;for(const a in this.supplier)i.hasOwnProperty(a)&&this.supplierForm.forEach(l=>{l.id===a?(l.control.setValue("get_only_raw_footer"===l.id?!this.supplier[a]:this.supplier[a]),"form_id"===l.id&&(l.values=t.forms)):"address_id"===a&&(this.addressId=this.supplier[a],this.addressId?this.http.get(m.N.url+"/ws/accounts/getAdressById/"+this.addressId,{headers:this.authService.headers}).pipe((0,$e.b)(h=>{for(const E in h)h.hasOwnProperty(E)&&this.addressForm.forEach(B=>{B.id===E&&("country"===E&&(this.defaultValue.name=h[E]),B.control.setValue(h[E]))})}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(h=>(console.debug(h),this.notify.handleErrors(h),(0,ie.of)(!1)))).subscribe():this.http.post(m.N.url+"/ws/accounts/addresses/create",{args:{address1:"",address2:"",postal_code:"",city:"",country:""}},{headers:this.authService.headers}).pipe((0,$e.b)(h=>{this.addressId=h.id,this.http.put(m.N.url+"/ws/accounts/suppliers/update/"+this.supplierId,{args:{address_id:this.addressId}},{headers:this.authService.headers}).pipe((0,Di.x)(()=>this.loading=!1),(0,Ke.K)(E=>(console.debug(E),this.notify.handleErrors(E,"/accounts/suppliers/list"),(0,ie.of)(!1)))).subscribe()}),(0,Ke.K)(h=>(console.debug(h),this.notify.handleErrors(h,"/accounts/customers/list"),(0,ie.of)(!1)))).subscribe())})}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}onCountrySelected(t){this.addressForm.forEach(i=>{"country"===i.id&&i.control.setValue(t.name)})}isValidForm(){let t=!0;return this.supplierForm.forEach(i=>{"DISABLED"!==i.control.status&&"VALID"!==i.control.status&&(t=!1),i.control.markAsTouched()}),this.addressForm.forEach(i=>{"DISABLED"!==i.control.status&&"VALID"!==i.control.status&&(t=!1),i.control.markAsTouched()}),t}onSubmit(){if(this.isValidForm()){const t={},i={};this.supplierForm.forEach(a=>{t[a.id]=a.control.value,"get_only_raw_footer"===a.id&&(t[a.id]=!a.control.value)}),this.addressForm.forEach(a=>{i[a.id]=a.control.value}),this.http.put(m.N.url+"/ws/accounts/suppliers/update/"+this.supplierId,{args:t},{headers:this.authService.headers}).pipe((0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a,"/accounts/suppliers/list"),(0,ie.of)(!1)))).subscribe(),this.http.put(m.N.url+"/ws/accounts/addresses/update/"+this.addressId,{args:i},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.historyService.addHistory("accounts","update_supplier",this.translate.instant("HISTORY-DESC.update-supplier",{supplier:t.name})),this.notify.success(this.translate.instant("ACCOUNTS.supplier_updated")),this.router.navigate(["/accounts/suppliers/list"]).then()}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a,"/accounts/suppliers/list"),(0,ie.of)(!1)))).subscribe()}}getErrorMessageSupplier(t){let i;return this.supplierForm.forEach(a=>{a.id===t&&(a.required&&!(a.value||a.control.value)&&(i=this.translate.instant("AUTH.field_required")),a.control.errors&&a.control.errors.email&&(i=this.translate.instant("ACCOUNTS.email_format_error")))}),i}getErrorMessageAddress(t){let i;return this.addressForm.forEach(a=>{a.id===t&&a.required&&!a.value&&!a.control.value&&(i=this.translate.instant("AUTH.field_required"))}),i}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Ui),e.Y36(Nt.gz),e.Y36(zi.K),e.Y36(A.qu),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(jr),e.Y36(kn.q),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-update"]],decls:19,vars:9,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],[1,"settings_title","text-center"],[1,"border-green-400"],[1,"flex","justify-center","m-10"],[4,"ngFor","ngForOf"],[1,"flex","justify-center","items-center"],[1,"grid","grid-cols-7","gap-2","w-full","m-5","text-center",3,"ngSubmit"],[1,"button","col-span-7"],["type","submit","mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300"],[3,"formControl",4,"ngIf"],[3,"formControl"],["class","block",4,"ngIf"],[1,"block"],["matInput","",3,"formControl","type","placeholder","required"],[3,"formControl","value","required","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["class","block",3,"col-span-2",4,"ngIf"],["class","w-full",3,"label","value","onCountrySelected",4,"ngIf"],[1,"w-full",3,"label","value","onCountrySelected"]],template:function(t,i){1&t&&(e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav-content",1),e.YNc(2,By,2,0,"div",2),e.TgZ(3,"div",3)(4,"div",4)(5,"h3"),e._uU(6),e.YNc(7,m1,2,1,"span",2),e.qZA(),e._UZ(8,"hr",5),e.qZA()(),e.TgZ(9,"div",6),e.YNc(10,Uy,2,1,"ng-container",7),e.qZA(),e.TgZ(11,"div",8)(12,"form",9),e.NdJ("ngSubmit",function(){return i.onSubmit()}),e.YNc(13,Q2,3,2,"ng-container",7),e.YNc(14,Ky,3,2,"ng-container",7),e.TgZ(15,"div",10)(16,"button",11),e._uU(17),e.ALo(18,"translate"),e.qZA()()()()()()),2&t&&(e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(4),e.hij("",i.serviceSettings.getTitle()," : "),e.xp6(1),e.Q6J("ngIf",i.supplier),e.xp6(3),e.Q6J("ngForOf",i.supplierForm),e.xp6(3),e.Q6J("ngForOf",i.supplierForm),e.xp6(1),e.Q6J("ngForOf",i.addressForm),e.xp6(3),e.hij(" ",e.lcZ(18,7,"ACCOUNTS.update_supplier")," "))},dependencies:[_e.sg,_e.O5,Rt.TO,Rt.KE,Rt.hX,Be.gD,b.ey,Va.Rr,an.Nt,Vt.TM,Vt.Rh,Y.lW,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.oH,A.F,Cm,Cn.R,$t.X$],styles:["mat-select-country mat-form-field{width:100%}"]}),n})();function jy(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function g1(n,o){if(1&n&&(e.TgZ(0,"mat-slide-toggle",13),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=e.oxw().$implicit;e.Q6J("formControl",t.control),e.xp6(1),e.hij(" ",e.lcZ(2,2,t.label)," ")}}function f1(n,o){if(1&n&&(e.ynx(0),e.YNc(1,g1,3,4,"mat-slide-toggle",12),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","mat-slide-toggle"===t.type)}}function tT(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessageSupplier(t.id))}}function oc(n,o){if(1&n&&(e.TgZ(0,"mat-hint"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=e.oxw(2).$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,t.hint))}}function Wy(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",15)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",16),e.ALo(5,"translate"),e.YNc(6,tT,2,1,"mat-error",2),e.YNc(7,oc,3,3,"mat-hint",2),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,7,t.label)),e.xp6(2),e.s9C("placeholder",e.lcZ(5,9,t.label)),e.Q6J("formControl",t.control)("type",t.type)("required",t.required),e.xp6(2),e.Q6J("ngIf",t.control.invalid),e.xp6(1),e.Q6J("ngIf",t.hint)}}function Uv(n,o){if(1&n&&(e.TgZ(0,"mat-option",19),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.Oqu(t.label)}}function qy(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessageSupplier(t.id))}}function Pl(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",15)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",17),e.YNc(5,Uv,2,2,"mat-option",18),e.qZA(),e.YNc(6,qy,2,1,"mat-error",2),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,5,t.label)),e.xp6(2),e.Q6J("formControl",t.control)("required",t.required),e.xp6(1),e.Q6J("ngForOf",t.values),e.xp6(1),e.Q6J("ngIf",t.control.invalid)}}function Jy(n,o){if(1&n&&(e.ynx(0),e.YNc(1,Wy,8,11,"mat-form-field",14),e.YNc(2,Pl,7,7,"mat-form-field",14),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","text"===t.type),e.xp6(1),e.Q6J("ngIf","select"===t.type)}}function Zv(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessageAddress(t.id))}}function $y(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",15)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",16),e.ALo(5,"translate"),e.YNc(6,Zv,2,1,"mat-error",2),e.qZA()),2&n){const t=e.oxw().$implicit;e.ekj("col-span-2","address1"===t.id),e.xp6(2),e.Oqu(e.lcZ(3,8,t.label)),e.xp6(2),e.s9C("placeholder",e.lcZ(5,10,t.label)),e.Q6J("formControl",t.control)("type",t.type)("required",t.required),e.xp6(2),e.Q6J("ngIf",t.control.invalid)}}function zy(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-select-country",22),e.NdJ("onCountrySelected",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.onCountrySelected(a))}),e.ALo(1,"translate"),e.qZA()}if(2&n){const t=e.oxw().$implicit,i=e.oxw();e.Q6J("label",e.lcZ(1,2,t.label))("value",i.defaultValue)}}function Yv(n,o){if(1&n&&(e.ynx(0),e.YNc(1,$y,7,12,"mat-form-field",20),e.YNc(2,zy,2,4,"mat-select-country",21),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","country"!==t.type),e.xp6(1),e.Q6J("ngIf","country"===t.type)}}let C1=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt,Ft,ii){this.router=t,this.http=i,this.dialog=a,this.route=l,this.userService=h,this.formBuilder=E,this.authService=B,this.translate=oe,this.notify=xe,this.localeService=Ve,this.historyService=lt,this.serviceSettings=Ft,this.privilegesService=ii,this.headers=this.authService.headers,this.loading=!0,this.supplierForm=[{id:"get_only_raw_footer",label:(0,He.J)("ACCOUNTS.get_only_raw_footer"),type:"mat-slide-toggle",control:new A.NI(!0),required:!0},{id:"name",label:(0,He.J)("ACCOUNTS.supplier_name"),type:"text",control:new A.NI,required:!0},{id:"vat_number",label:(0,He.J)("ACCOUNTS.vat_number"),type:"text",control:new A.NI,required:!0},{id:"siret",label:(0,He.J)("ACCOUNTS.siret"),type:"text",control:new A.NI,required:!1},{id:"siren",label:(0,He.J)("ACCOUNTS.siren"),type:"text",control:new A.NI,required:!1},{id:"iban",label:(0,He.J)("ACCOUNTS.iban"),type:"text",control:new A.NI,required:!1},{id:"email",label:(0,He.J)("FORMATS.email"),type:"text",hint:(0,He.J)("ACCOUNTS.only_one_email"),control:new A.NI("",A.kI.email),required:!1},{id:"form_id",label:(0,He.J)("ACCOUNTS.form"),type:"select",control:new A.NI,required:!1,values:[]},{id:"document_lang",label:(0,He.J)("ADDRESSES.document_lang"),type:"select",control:new A.NI,required:!0,values:[]}],this.addressForm=[{id:"address1",label:(0,He.J)("ADDRESSES.address_1"),type:"text",control:new A.NI,required:!0},{id:"address2",label:(0,He.J)("ADDRESSES.address_2"),type:"text",control:new A.NI,required:!1},{id:"postal_code",label:(0,He.J)("ADDRESSES.postal_code"),type:"text",control:new A.NI,required:!0},{id:"city",label:(0,He.J)("ADDRESSES.city"),type:"text",control:new A.NI,required:!0},{id:"country",label:(0,He.J)("ADDRESSES.country"),type:"country",control:new A.NI("France"),required:!0}],this.defaultValue={name:"France",alpha2Code:"FR",alpha3Code:"FRA",numericCode:"250",callingCode:"+33"}}ngOnInit(){this.authService.headersExists||this.authService.generateHeaders(),this.http.get(m.N.url+"/ws/forms/list?module=verifier",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{const i=t.forms;for(const a in i)i.hasOwnProperty(a)&&this.supplierForm.forEach(l=>{"form_id"===l.id&&(l.values=i)})}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.supplierForm.forEach(t=>{("vat_number"===t.id||"siret"===t.id||"siren"===t.id||"iban"===t.id)&&t.control.valueChanges.subscribe(i=>{i&&i.includes(" ")&&t.control.setValue(i.replace(" ",""))}),"document_lang"===t.id&&(0===this.localeService.langs.length?this.http.get(m.N.url+"/ws/i18n/getAllLang",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{i.langs.forEach(a=>{t.control.setValue("fra"),t.values.push({id:a[0],label:a[1]})})}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe():(this.localeService.langs.forEach(i=>{t.control.setValue("fra"),t.values.push({id:i[0],label:i[1]})}),this.loading=!1))})}onCountrySelected(t){this.addressForm.forEach(i=>{"country"===i.id&&i.control.setValue(t.name)})}isValidForm(){let t=!0;return this.supplierForm.forEach(i=>{"DISABLED"!==i.control.status&&"VALID"!==i.control.status&&(t=!1),i.control.markAsTouched()}),this.addressForm.forEach(i=>{"DISABLED"!==i.control.status&&"VALID"!==i.control.status&&(t=!1),i.control.markAsTouched()}),t}onSubmit(){if(this.isValidForm()){const t={},i={};this.supplierForm.forEach(a=>{t[a.id]=a.control.value,"get_only_raw_footer"===a.id&&(t[a.id]=!a.control.value)}),this.addressForm.forEach(a=>{i[a.id]=a.control.value}),this.http.post(m.N.url+"/ws/accounts/addresses/create",{args:i},{headers:this.authService.headers}).pipe((0,$e.b)(a=>{t.address_id=a.id,this.http.post(m.N.url+"/ws/accounts/suppliers/create",{args:t},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.historyService.addHistory("accounts","create_supplier",this.translate.instant("HISTORY-DESC.create-supplier",{supplier:t.name})),this.notify.success(this.translate.instant("ACCOUNTS.supplier_created")),this.router.navigate(["/accounts/suppliers/list"]).then()}),(0,Ke.K)(l=>(console.debug(l),this.notify.handleErrors(l,"/accounts/suppliers/list"),(0,ie.of)(!1)))).subscribe()}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a,"/accounts/suppliers/list"),(0,ie.of)(!1)))).subscribe()}}getErrorMessageSupplier(t){let i;return this.supplierForm.forEach(a=>{a.id===t&&a.required&&!(a.value||a.control.value)&&(i=this.translate.instant("AUTH.field_required")),a.control.errors&&a.control.errors.email&&(i=this.translate.instant("ACCOUNTS.email_format_error"))}),i}getErrorMessageAddress(t){let i;return this.addressForm.forEach(a=>{a.id===t&&a.required&&!a.value&&!a.control.value&&(i=this.translate.instant("AUTH.field_required"))}),i}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Ui),e.Y36(Nt.gz),e.Y36(zi.K),e.Y36(A.qu),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(jr),e.Y36(kn.q),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-create"]],decls:18,vars:8,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],[1,"settings_title","text-center"],[1,"border-green-400"],[1,"flex","justify-center","m-10"],[4,"ngFor","ngForOf"],[1,"flex","justify-center","items-center","align-middle"],[1,"grid","grid-cols-7","gap-2","w-full","m-10","text-center",3,"ngSubmit"],[1,"button","col-span-7"],["type","submit","mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300"],[3,"formControl",4,"ngIf"],[3,"formControl"],["class","block",4,"ngIf"],[1,"block"],["matInput","",3,"formControl","type","placeholder","required"],[3,"formControl","required"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["class","block",3,"col-span-2",4,"ngIf"],["class","w-full",3,"label","value","onCountrySelected",4,"ngIf"],[1,"w-full",3,"label","value","onCountrySelected"]],template:function(t,i){1&t&&(e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav-content",1),e.YNc(2,jy,2,0,"div",2),e.TgZ(3,"div",3)(4,"div",4)(5,"h3"),e._uU(6),e.qZA(),e._UZ(7,"hr",5),e.qZA()(),e.TgZ(8,"div",6),e.YNc(9,f1,2,1,"ng-container",7),e.qZA(),e.TgZ(10,"div",8)(11,"form",9),e.NdJ("ngSubmit",function(){return i.onSubmit()}),e.YNc(12,Jy,3,2,"ng-container",7),e.YNc(13,Yv,3,2,"ng-container",7),e.TgZ(14,"div",10)(15,"button",11),e._uU(16),e.ALo(17,"translate"),e.qZA()()()()()()),2&t&&(e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(4),e.Oqu(i.serviceSettings.getTitle()),e.xp6(3),e.Q6J("ngForOf",i.supplierForm),e.xp6(3),e.Q6J("ngForOf",i.supplierForm),e.xp6(1),e.Q6J("ngForOf",i.addressForm),e.xp6(3),e.hij(" ",e.lcZ(17,6,"ACCOUNTS.create_supplier")," "))},dependencies:[_e.sg,_e.O5,Rt.TO,Rt.KE,Rt.bx,Rt.hX,Be.gD,b.ey,Va.Rr,an.Nt,Vt.TM,Vt.Rh,Y.lW,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.oH,A.F,Cm,Cn.R,$t.X$],styles:["mat-select-country mat-form-field{width:100%}"]}),n})();function v1(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function Qy(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.hij(" ",t.customer.name," ")}}function x1(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessageCustomer(t.id))}}function b1(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",12)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",13),e.ALo(5,"translate"),e.YNc(6,x1,2,1,"mat-error",2),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,6,t.label)),e.xp6(2),e.s9C("placeholder",e.lcZ(5,8,t.label)),e.Q6J("formControl",t.control)("type",t.type)("required",t.required),e.xp6(2),e.Q6J("ngIf",t.control.invalid)}}function Xy(n,o){if(1&n&&(e.TgZ(0,"mat-option",16),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.Oqu(t.label)}}function y1(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessageCustomer(t.id))}}function e2(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field",12)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",14),e.NdJ("valueChange",function(a){e.CHM(t);const l=e.oxw().$implicit;return e.KtG(l.control.value=a)}),e.YNc(5,Xy,2,2,"mat-option",15),e.qZA(),e.YNc(6,y1,2,1,"mat-error",2),e.qZA()}if(2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,6,t.label)),e.xp6(2),e.Q6J("formControl",t.control)("value",t.control.value)("required",t.required),e.xp6(1),e.Q6J("ngForOf",t.values),e.xp6(1),e.Q6J("ngIf",t.control.invalid)}}function vm(n,o){if(1&n&&(e.ynx(0),e.YNc(1,b1,7,10,"mat-form-field",11),e.YNc(2,e2,7,8,"mat-form-field",11),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","select"!==t.type),e.xp6(1),e.Q6J("ngIf","select"===t.type)}}function Nc(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessageAddress(t.id))}}function T1(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",12)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",13),e.ALo(5,"translate"),e.YNc(6,Nc,2,1,"mat-error",2),e.qZA()),2&n){const t=e.oxw().$implicit;e.ekj("col-span-2","address1"===t.id),e.xp6(2),e.Oqu(e.lcZ(3,8,t.label)),e.xp6(2),e.s9C("placeholder",e.lcZ(5,10,t.label)),e.Q6J("formControl",t.control)("type",t.type)("required",t.required),e.xp6(2),e.Q6J("ngIf",t.control.invalid)}}function Hv(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-select-country",19),e.NdJ("onCountrySelected",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.onCountrySelected(a))}),e.ALo(1,"translate"),e.qZA()}if(2&n){const t=e.oxw().$implicit,i=e.oxw();e.Q6J("label",e.lcZ(1,2,t.label))("value",i.defaultValue)}}function Md(n,o){if(1&n&&(e.ynx(0),e.YNc(1,T1,7,12,"mat-form-field",17),e.YNc(2,Hv,2,4,"mat-select-country",18),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","country"!==t.type),e.xp6(1),e.Q6J("ngIf","country"===t.type)}}let t2=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt,Ft){this.router=t,this.http=i,this.dialog=a,this.route=l,this.userService=h,this.formBuilder=E,this.authService=B,this.translate=oe,this.notify=xe,this.historyService=Ve,this.serviceSettings=lt,this.privilegesService=Ft,this.headers=this.authService.headers,this.loading=!0,this.customerForm=[{id:"name",label:(0,He.J)("ACCOUNTS.supplier_name"),type:"text",control:new A.NI,required:!0},{id:"vat_number",label:(0,He.J)("ACCOUNTS.vat_number"),type:"text",control:new A.NI,required:!0},{id:"siret",label:(0,He.J)("ACCOUNTS.siret"),type:"text",control:new A.NI,required:!0},{id:"siren",label:(0,He.J)("ACCOUNTS.siren"),type:"text",control:new A.NI,required:!1},{id:"company_number",label:(0,He.J)("ACCOUNTS.company_number"),type:"text",control:new A.NI,required:!1}],this.addressForm=[{id:"address1",label:(0,He.J)("ADDRESSES.address_1"),type:"text",control:new A.NI,required:!0},{id:"address2",label:(0,He.J)("ADDRESSES.address_2"),type:"text",control:new A.NI,required:!1},{id:"postal_code",label:(0,He.J)("ADDRESSES.postal_code"),type:"text",control:new A.NI,required:!0},{id:"city",label:(0,He.J)("ADDRESSES.city"),type:"text",control:new A.NI,required:!0},{id:"country",label:(0,He.J)("ADDRESSES.country"),type:"country",control:new A.NI,required:!0}],this.defaultValue={name:"France",alpha2Code:"",alpha3Code:"",numericCode:"",callingCode:""}}ngOnInit(){this.authService.headersExists||this.authService.generateHeaders(),this.customerId=this.route.snapshot.params.id,this.http.get(m.N.url+"/ws/accounts/customers/getById/"+this.customerId,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.customer=t;for(const i in this.customer)t.hasOwnProperty(i)&&this.customerForm.forEach(a=>{a.id===i?a.control.setValue(this.customer[i]):"address_id"===i&&(this.addressId=this.customer[i],this.addressId?this.http.get(m.N.url+"/ws/accounts/getAdressById/"+this.addressId,{headers:this.authService.headers}).pipe((0,$e.b)(l=>{for(const h in l)l.hasOwnProperty(h)&&this.addressForm.forEach(E=>{E.id===h&&("country"===h&&(this.defaultValue.name=l[h]),E.control.setValue(l[h]))})}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(l=>(console.debug(l),this.notify.handleErrors(l),(0,ie.of)(!1)))).subscribe():this.http.post(m.N.url+"/ws/accounts/addresses/create",{args:{address1:"",address2:"",postal_code:"",city:"",country:""}},{headers:this.authService.headers}).pipe((0,$e.b)(l=>{this.addressId=l.id,this.http.put(m.N.url+"/ws/accounts/customers/update/"+this.customerId,{args:{address_id:this.addressId}},{headers:this.authService.headers}).pipe((0,Di.x)(()=>this.loading=!1),(0,Ke.K)(h=>(console.debug(h),this.notify.handleErrors(h,"/accounts/customers/list"),(0,ie.of)(!1)))).subscribe()}),(0,Ke.K)(l=>(console.debug(l),this.notify.handleErrors(l,"/accounts/customers/list"),(0,ie.of)(!1)))).subscribe())})}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}onCountrySelected(t){this.addressForm.forEach(i=>{"country"===i.id&&i.control.setValue(t.name)})}isValidForm(){let t=!0;return this.customerForm.forEach(i=>{"DISABLED"!==i.control.status&&"VALID"!==i.control.status&&(t=!1),i.control.markAsTouched()}),t}onSubmit(){if(this.isValidForm()){const t={},i={};this.customerForm.forEach(a=>{t[a.id]=a.control.value}),this.addressForm.forEach(a=>{i[a.id]=a.control.value}),this.http.put(m.N.url+"/ws/accounts/customers/update/"+this.customerId,{args:t},{headers:this.authService.headers}).pipe((0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a,"/accounts/customers/list"),(0,ie.of)(!1)))).subscribe(),this.http.put(m.N.url+"/ws/accounts/addresses/update/"+this.addressId,{args:i},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.historyService.addHistory("accounts","update_customer",this.translate.instant("HISTORY-DESC.update-customer",{customer:t.name})),this.notify.success(this.translate.instant("ACCOUNTS.customer_updated")),this.router.navigate(["/accounts/customers/list"]).then()}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a,"/accounts/customers/list"),(0,ie.of)(!1)))).subscribe()}}getErrorMessageCustomer(t){let i;return this.customerForm.forEach(a=>{a.id===t&&a.required&&!a.value&&!a.control.value&&(i=this.translate.instant("AUTH.field_required"))}),i}getErrorMessageAddress(t){let i;return this.addressForm.forEach(a=>{a.id===t&&a.required&&!a.value&&!a.control.value&&(i=this.translate.instant("AUTH.field_required"))}),i}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Ui),e.Y36(Nt.gz),e.Y36(zi.K),e.Y36(A.qu),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-update"]],decls:17,vars:8,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],[1,"settings_title","text-center"],[1,"border-green-400"],[1,"flex","justify-center","items-center","align-middle"],[1,"grid","grid-cols-6","gap-2","w-full","m-10","text-center",3,"ngSubmit"],[4,"ngFor","ngForOf"],[1,"button","col-span-6"],["type","submit","mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300"],["class","block",4,"ngIf"],[1,"block"],["matInput","",3,"formControl","type","placeholder","required"],[3,"formControl","value","required","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["class","block",3,"col-span-2",4,"ngIf"],["class","w-full",3,"label","value","onCountrySelected",4,"ngIf"],[1,"w-full",3,"label","value","onCountrySelected"]],template:function(t,i){1&t&&(e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav-content",1),e.YNc(2,v1,2,0,"div",2),e.TgZ(3,"div",3)(4,"div",4)(5,"h3"),e._uU(6),e.YNc(7,Qy,2,1,"span",2),e.qZA(),e._UZ(8,"hr",5),e.qZA()(),e.TgZ(9,"div",6)(10,"form",7),e.NdJ("ngSubmit",function(){return i.onSubmit()}),e.YNc(11,vm,3,2,"ng-container",8),e.YNc(12,Md,3,2,"ng-container",8),e.TgZ(13,"div",9)(14,"button",10),e._uU(15),e.ALo(16,"translate"),e.qZA()()()()()()),2&t&&(e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(4),e.hij("",i.serviceSettings.getTitle()," : "),e.xp6(1),e.Q6J("ngIf",i.customer),e.xp6(4),e.Q6J("ngForOf",i.customerForm),e.xp6(1),e.Q6J("ngForOf",i.addressForm),e.xp6(3),e.hij(" ",e.lcZ(16,6,"ACCOUNTS.update_customer")," "))},dependencies:[_e.sg,_e.O5,Rt.TO,Rt.KE,Rt.hX,Be.gD,b.ey,an.Nt,Vt.TM,Vt.Rh,Y.lW,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.oH,A.F,Cm,Cn.R,$t.X$],styles:["mat-select-country mat-form-field{width:100%}"]}),n})();function iT(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function n2(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessageCustomer(t.id))}}function a2(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",12)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",13),e.ALo(5,"translate"),e.YNc(6,n2,2,1,"mat-error",2),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,6,t.label)),e.xp6(2),e.s9C("placeholder",e.lcZ(5,8,t.label)),e.Q6J("formControl",t.control)("type",t.type)("required",t.required),e.xp6(2),e.Q6J("ngIf",t.control.invalid)}}function o2(n,o){if(1&n&&(e.TgZ(0,"mat-option",16),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.Oqu(t.label)}}function r2(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessageCustomer(t.id))}}function M1(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field",12)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",14),e.NdJ("valueChange",function(a){e.CHM(t);const l=e.oxw().$implicit;return e.KtG(l.control.value=a)}),e.YNc(5,o2,2,2,"mat-option",15),e.qZA(),e.YNc(6,r2,2,1,"mat-error",2),e.qZA()}if(2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,6,t.label)),e.xp6(2),e.Q6J("formControl",t.control)("value",t.control.value)("required",t.required),e.xp6(1),e.Q6J("ngForOf",t.values),e.xp6(1),e.Q6J("ngIf",t.control.invalid)}}function nT(n,o){if(1&n&&(e.ynx(0),e.YNc(1,a2,7,10,"mat-form-field",11),e.YNc(2,M1,7,8,"mat-form-field",11),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","select"!==t.type),e.xp6(1),e.Q6J("ngIf","select"===t.type)}}function D1(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessageAddress(t.id))}}function s2(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",12)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",13),e.ALo(5,"translate"),e.YNc(6,D1,2,1,"mat-error",2),e.qZA()),2&n){const t=e.oxw().$implicit;e.ekj("col-span-2","address1"===t.id),e.xp6(2),e.Oqu(e.lcZ(3,8,t.label)),e.xp6(2),e.s9C("placeholder",e.lcZ(5,10,t.label)),e.Q6J("formControl",t.control)("type",t.type)("required",t.required),e.xp6(2),e.Q6J("ngIf",t.control.invalid)}}function E1(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-select-country",19),e.NdJ("onCountrySelected",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.onCountrySelected(a))}),e.ALo(1,"translate"),e.qZA()}if(2&n){const t=e.oxw().$implicit,i=e.oxw();e.Q6J("label",e.lcZ(1,2,t.label))("value",i.defaultValue)}}function aT(n,o){if(1&n&&(e.ynx(0),e.YNc(1,s2,7,12,"mat-form-field",17),e.YNc(2,E1,2,4,"mat-select-country",18),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","country"!==t.type),e.xp6(1),e.Q6J("ngIf","country"===t.type)}}let Vv=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt,Ft){this.router=t,this.http=i,this.dialog=a,this.route=l,this.userService=h,this.formBuilder=E,this.authService=B,this.translate=oe,this.notify=xe,this.historyService=Ve,this.serviceSettings=lt,this.privilegesService=Ft,this.headers=this.authService.headers,this.loading=!0,this.customerForm=[{id:"name",label:(0,He.J)("ACCOUNTS.customer_name"),type:"text",control:new A.NI,required:!0},{id:"vat_number",label:(0,He.J)("ACCOUNTS.vat_number"),type:"text",control:new A.NI,required:!0},{id:"siret",label:(0,He.J)("ACCOUNTS.siret"),type:"text",control:new A.NI,required:!0},{id:"siren",label:(0,He.J)("ACCOUNTS.siren"),type:"text",control:new A.NI,required:!1},{id:"company_number",label:(0,He.J)("ACCOUNTS.company_number"),type:"text",control:new A.NI,required:!1}],this.addressForm=[{id:"address1",label:(0,He.J)("ADDRESSES.address_1"),type:"text",control:new A.NI,required:!0},{id:"address2",label:(0,He.J)("ADDRESSES.address_2"),type:"text",control:new A.NI,required:!1},{id:"postal_code",label:(0,He.J)("ADDRESSES.postal_code"),type:"text",control:new A.NI,required:!0},{id:"city",label:(0,He.J)("ADDRESSES.city"),type:"text",control:new A.NI,required:!0},{id:"country",label:(0,He.J)("ADDRESSES.country"),type:"country",control:new A.NI,required:!0}],this.defaultValue={name:"France",alpha2Code:"FR",alpha3Code:"FRA",numericCode:"250",callingCode:"+33"}}ngOnInit(){this.authService.headersExists||this.authService.generateHeaders(),this.loading=!1}onCountrySelected(t){this.addressForm.forEach(i=>{"country"===i.id&&i.control.setValue(t.name)})}isValidForm(){let t=!0;return this.customerForm.forEach(i=>{"DISABLED"!==i.control.status&&"VALID"!==i.control.status&&(t=!1),i.control.markAsTouched()}),t}onSubmit(){if(this.isValidForm()){const t={},i={};this.customerForm.forEach(a=>{t[a.id]=a.control.value}),this.addressForm.forEach(a=>{i[a.id]=a.control.value}),this.http.post(m.N.url+"/ws/accounts/addresses/create",{args:i},{headers:this.authService.headers}).pipe((0,$e.b)(a=>{t.address_id=a.id,this.http.post(m.N.url+"/ws/accounts/customers/create",{args:t},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.historyService.addHistory("accounts","create_customer",this.translate.instant("HISTORY-DESC.create-customer",{customer:t.name})),this.notify.success(this.translate.instant("ACCOUNTS.customer_created")),this.router.navigate(["/accounts/customers/list"]).then()}),(0,Ke.K)(l=>(console.debug(l),this.notify.handleErrors(l,"/accounts/customers/list"),(0,ie.of)(!1)))).subscribe()}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a,"/accounts/customers/list"),(0,ie.of)(!1)))).subscribe()}}getErrorMessageCustomer(t){let i;return this.customerForm.forEach(a=>{a.id===t&&a.required&&!a.value&&!a.control.value&&(i=this.translate.instant("AUTH.field_required"))}),i}getErrorMessageAddress(t){let i;return this.addressForm.forEach(a=>{a.id===t&&a.required&&!a.value&&!a.control.value&&(i=this.translate.instant("AUTH.field_required"))}),i}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Ui),e.Y36(Nt.gz),e.Y36(zi.K),e.Y36(A.qu),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-create"]],decls:16,vars:7,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],[1,"settings_title","text-center"],[1,"border-green-400"],[1,"flex","justify-center","items-center","align-middle"],[1,"grid","grid-cols-6","gap-2","w-full","m-10","text-center",3,"ngSubmit"],[4,"ngFor","ngForOf"],[1,"button","col-span-6"],["type","submit","mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300"],["class","block",4,"ngIf"],[1,"block"],["matInput","",3,"formControl","type","placeholder","required"],[3,"formControl","value","required","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["class","block",3,"col-span-2",4,"ngIf"],["class","w-full",3,"label","value","onCountrySelected",4,"ngIf"],[1,"w-full",3,"label","value","onCountrySelected"]],template:function(t,i){1&t&&(e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav-content",1),e.YNc(2,iT,2,0,"div",2),e.TgZ(3,"div",3)(4,"div",4)(5,"h3"),e._uU(6),e.qZA(),e._UZ(7,"hr",5),e.qZA()(),e.TgZ(8,"div",6)(9,"form",7),e.NdJ("ngSubmit",function(){return i.onSubmit()}),e.YNc(10,nT,3,2,"ng-container",8),e.YNc(11,aT,3,2,"ng-container",8),e.TgZ(12,"div",9)(13,"button",10),e._uU(14),e.ALo(15,"translate"),e.qZA()()()()()()),2&t&&(e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(4),e.Oqu(i.serviceSettings.getTitle()),e.xp6(4),e.Q6J("ngForOf",i.customerForm),e.xp6(1),e.Q6J("ngForOf",i.addressForm),e.xp6(3),e.hij(" ",e.lcZ(15,5,"ACCOUNTS.create_customer")," "))},dependencies:[_e.sg,_e.O5,Rt.TO,Rt.KE,Rt.hX,Be.gD,b.ey,an.Nt,Vt.TM,Vt.Rh,Y.lW,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.oH,A.F,Cm,Cn.R,$t.X$],styles:["mat-select-country mat-form-field{width:100%}"]}),n})();const w1=[{path:"500",component:cm},{path:"",redirectTo:"login",pathMatch:"full"},{path:"home",component:kc,data:{title:"GLOBAL.home"},canActivate:[en]},{path:"login",component:JC,data:{title:"GLOBAL.login"},canActivate:[cv]},{path:"logout",component:wp,canActivate:[en]},{path:"profile/:id",component:sv,canActivate:[en]},{path:"splitter/viewer/:currentTime/:id",component:Zb,data:{title:(0,He.J)("SPLITTER.viewer"),privileges:["access_splitter"]},canActivate:[en,sn]},{path:"splitter/list",component:me,data:{title:(0,He.J)("SPLITTER.list"),privileges:["access_splitter"]},canActivate:[en,sn]},{path:"splitter",redirectTo:"splitter/list",pathMatch:"full"},{path:"verifier/viewer/:id",component:Av,data:{title:(0,He.J)("VERIFIER.viewer"),privileges:["access_verifier"]},canActivate:[en,sn]},{path:"verifier/list",component:vf,data:{title:(0,He.J)("VERIFIER.list"),privileges:["access_verifier"]},canActivate:[en,sn]},{path:"verifier",redirectTo:"verifier/list",pathMatch:"full"},{path:"upload",component:J0,data:{title:(0,He.J)("GLOBAL.upload"),privileges:["upload"]},canActivate:[en,sn]},{path:"history",component:nx,data:{title:(0,He.J)("GLOBAL.history"),privileges:["history"]},canActivate:[en,sn]},{path:"statistics",component:lv.B,data:{title:(0,He.J)("GLOBAL.statistics"),privileges:["statistics"]},canActivate:[en,sn]},{path:"accounts/suppliers",redirectTo:"accounts/suppliers/list",pathMatch:"full"},{path:"accounts/suppliers/list",component:r1,data:{title:(0,He.J)("ACCOUNTS.suppliers_list"),privileges:["suppliers_list"]},canActivate:[en,sn]},{path:"accounts/suppliers/update/:id",component:eT,data:{title:(0,He.J)("ACCOUNTS.update_supplier"),privileges:["update_supplier"]},canActivate:[en,sn]},{path:"accounts/suppliers/create",component:C1,data:{title:(0,He.J)("ACCOUNTS.create_supplier"),privileges:["create_supplier"]},canActivate:[en,sn]},{path:"accounts/customers",redirectTo:"accounts/customers/list",pathMatch:"full"},{path:"accounts/customers/list",component:kp,data:{title:(0,He.J)("ACCOUNTS.customers_list"),privileges:["customers_list"]},canActivate:[en,sn]},{path:"accounts/customers/update/:id",component:t2,data:{title:(0,He.J)("ACCOUNTS.update_customer"),privileges:["update_customer"]},canActivate:[en,sn]},{path:"accounts/customers/create",component:Vv,data:{title:(0,He.J)("ACCOUNTS.create_customer"),privileges:["create_customer"]},canActivate:[en,sn]},{path:"404",component:lm},{path:"**",redirectTo:"404"}];let S1=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[Nt.Bz.forRoot(w1,{useHash:!0}),Nt.Bz]}),n})(),A1=(()=>{class n{constructor(t,i,a,l){this.router=t,this.userService=i,this.serviceSettings=a,this.privilegesService=l,this.selectedSetting=this.serviceSettings.getSelectedSetting(),this.selectedParentSetting=this.serviceSettings.getSelectedParentSetting(),this.settings=this.serviceSettings.getSettings()}ngOnInit(){this.serviceSettings.init(),this.selectedSetting=this.serviceSettings.getSelectedSetting(),this.selectedParentSetting=this.serviceSettings.getSelectedParentSetting(),this.settings=this.serviceSettings.getSettings();let t=!1;this.settings[this.selectedParentSetting].forEach(i=>{if(i.id===this.selectedSetting){t=!0;const a=i.route;a&&this.privilegesService.hasPrivilege(i.privilege)&&this.router.navigateByUrl(a).then()}}),t||this.router.navigateByUrl("/settings/general/configurations").then()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(zi.K),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-panel"]],decls:0,vars:0,template:function(t,i){},encapsulation:2}),n})();function L1(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",64)(1,"button",65),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",66),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function O1(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,L1,6,11,"div",63),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function wf(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",57)(1,"mat-expansion-panel-header",58)(2,"mat-panel-title",59),e._UZ(3,"i"),e.TgZ(4,"button",60),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",61),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,O1,2,7,"div",62),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function Sf(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,wf,9,15,"mat-expansion-panel",56),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function k1(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",60),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",61),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function l2(n,o){if(1&n&&e.YNc(0,k1,5,11,"button",67),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function I1(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,Sf,2,1,"div",54),e.YNc(2,l2,1,1,"ng-template",null,55,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function P1(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",50),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",51)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",52),e.YNc(6,I1,4,6,"div",53),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function oT(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function c2(n,o){if(1&n&&(e.TgZ(0,"span")(1,"strong"),e._uU(2),e.qZA()()),2&n){const t=e.oxw();e.xp6(2),e.hij("version ",t.currentVersion,"")}}function rT(n,o){1&n&&(e.TgZ(0,"span"),e._uU(1," | "),e.TgZ(2,"span",68),e._uU(3),e.ALo(4,"translate"),e.qZA()()),2&n&&(e.xp6(3),e.Oqu(e.lcZ(4,1,"ERROR.git_connection")))}function sT(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.TgZ(3,"strong")(4,"a",69),e._uU(5),e.qZA()(),e._uU(6,") "),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.hij(" | ",e.lcZ(2,3,"ABOUT-US.new_version_available")," ("),e.xp6(3),e.Q6J("href","https://github.com/edissyum/opencapture/releases/tag/"+t.lastVersion,e.LSH),e.xp6(1),e.Oqu(t.lastVersion)}}function R1(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.ALo(3,"translate"),e.TgZ(4,"strong")(5,"a",69),e._uU(6),e.qZA()(),e._uU(7,") "),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.AsE(" | ",e.lcZ(2,4,"ABOUT-US.are_you_in_future")," (",e.lcZ(3,6,"ABOUT-US.last_official_version")," : "),e.xp6(4),e.Q6J("href","https://github.com/edissyum/opencapture/releases/tag/"+t.lastVersion,e.LSH),e.xp6(1),e.Oqu(t.lastVersion)}}let d2=(()=>{class n{constructor(t,i,a,l,h,E){this.router=t,this.http=i,this.authService=a,this.notify=l,this.serviceSettings=h,this.privilegesService=E,this.loading=!0,this.isProd=!1,this.currentVersion="dev",this.lastVersion=""}ngOnInit(){this.serviceSettings.init(),this.isProd=m.N.production,this.currentVersion=m.N.version,this.http.get(m.N.url+"/ws/config/gitInfo",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.lastVersion=t.git_latest?t.git_latest:void 0}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(pi.e),e.Y36(Gi.g),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-about-us"]],decls:137,vars:43,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white","overflow-hidden"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],[1,"overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 64px)"],["id","license",1,"text-center","mt-10"],["href","https://www.gnu.org/licenses/gpl-3.0.html",1,"text-green-400"],[1,"m-auto","mt-10","w-1/2","border-green-400","border-opacity-60"],[1,"edissyum","text-center","mt-10","text-lg",2,"line-height","35px !important"],[1,"grid","grid-cols-2","gap-10","w-1/2","m-auto"],[1,"text-right"],[1,"text-left",2,"width","200%"],["href","https://kutt.it/OpenCaptureWebSite",1,"text-green-400"],["href","https://kutt.it/DocumentationV2",1,"text-green-400"],["href","https://kutt.it/OCForInvoices_ISSUES",1,"text-green-400"],[1,"flex","justify-center","items-center","mt-10","mb-5"],["src","assets/imgs/login_image.png","alt","Open-Capture"],[1,"m-auto","mt-10","w-1/2","border-green-400"],[1,"mt-6","text-center"],[1,"logo","grid","grid-cols-7"],["id","verifier",1,"m-auto","col-start-2","col-span-2"],["src","assets/imgs/logo_verifier.png","alt","Open-Capture Verifier"],["id","splitter",1,"m-auto","col-start-5","col-span-2"],["src","assets/imgs/logo_splitter.png","alt","Open-Capture Splitter"],["id","dependency",1,"text-center","mt-10","mb-10"],["target","_blank","href","https://angular.io/",1,"text-green-400"],["target","_blank","href","https://material.angular.io/",1,"text-green-400"],["target","_blank","href","https://jquery.com/download/",1,"text-green-400"],["target","_blank","href","https://github.com/kreuzerk/ng-sortgrid",1,"text-green-400"],["target","_blank","href","https://github.com/bleenco/ng2-datepicker",1,"text-green-400"],["target","_blank","href","https://github.com/telebroad/ngx-file-drag-drop",1,"text-green-400"],["target","_blank","href","https://github.com/ngx-translate/core",1,"text-green-400"],["target","_blank","href","https://github.com/swimlane/ngx-charts",1,"text-green-400"],["target","_blank","href","https://github.com/ngx-translate/",1,"text-green-400"],["target","_blank","href","https://github.com/Kr0san89/ng-click-outside",1,"text-green-400"],["target","_blank","href","https://github.com/tyxla/remove-accents",1,"text-green-400"],["target","_blank","href","https://github.com/hjnilsson/country-flags",1,"text-green-400"],["target","_blank","href","https://github.com/angular-material-extensions/select-country",1,"text-green-400"],["target","_blank","href","https://tailwindcss.com/",1,"text-green-400"],["target","_blank","href","https://fontawesome.com/",1,"text-green-400"],["target","_blank","href","https://www.npmjs.com/package/moment",1,"text-green-400"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","truncate","w-7/12","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],[1,"text-red-600"],["target","_blank",3,"href"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,P1,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,oT,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16," Open-Capture "),e.YNc(17,c2,3,1,"span",8),e.YNc(18,rT,5,3,"span",8),e.YNc(19,sT,7,5,"span",8),e.YNc(20,R1,8,8,"span",8),e.qZA(),e._UZ(21,"hr",4),e.qZA()(),e.TgZ(22,"div",13)(23,"div",14)(24,"h2"),e._uU(25),e.ALo(26,"translate"),e.qZA(),e._uU(27),e.ALo(28,"translate"),e.TgZ(29,"a",15),e._uU(30),e.ALo(31,"translate"),e.qZA()(),e._UZ(32,"hr",16),e.TgZ(33,"div",17)(34,"h2"),e._uU(35),e.ALo(36,"translate"),e.qZA(),e.TgZ(37,"div",18)(38,"div",19),e._uU(39," Edissyum Consulting "),e._UZ(40,"br"),e._uU(41," 98 Avenue Pierre Semard "),e._UZ(42,"br"),e._uU(43," 84200 Carpentras "),e.qZA(),e.TgZ(44,"div",20),e._uU(45),e.ALo(46,"translate"),e.TgZ(47,"a",21),e._uU(48,"open-capture.com"),e.qZA(),e._UZ(49,"br"),e._uU(50," Documentation : "),e.TgZ(51,"a",22),e._uU(52,"edissyum.gitbook.io/open-capture-for-invoices-v2"),e.qZA(),e._UZ(53,"br"),e._uU(54," Support : "),e.TgZ(55,"a",23),e._uU(56,"github.com/edissyum/opencapture"),e.qZA()()()(),e._UZ(57,"hr",16),e.TgZ(58,"div",24)(59,"div"),e._UZ(60,"img",25)(61,"hr",26),e.TgZ(62,"h3",27),e._uU(63),e.ALo(64,"translate"),e.qZA()()(),e.TgZ(65,"div",28)(66,"div",29),e._UZ(67,"img",30)(68,"hr",26),e.TgZ(69,"h3",27),e._uU(70),e.ALo(71,"translate"),e.qZA()(),e.TgZ(72,"div",31),e._UZ(73,"img",32)(74,"hr",26),e.TgZ(75,"h3",27),e._uU(76),e.ALo(77,"translate"),e.qZA()()(),e._UZ(78,"hr",16),e.TgZ(79,"div",33)(80,"h2"),e._uU(81),e.ALo(82,"translate"),e.qZA(),e.TgZ(83,"h4")(84,"i"),e._uU(85),e.ALo(86,"translate"),e.qZA()(),e.TgZ(87,"div")(88,"ul")(89,"li")(90,"a",34),e._uU(91,"Angular"),e.qZA()(),e.TgZ(92,"li")(93,"a",35),e._uU(94,"Angular Material"),e.qZA()(),e.TgZ(95,"li")(96,"a",36),e._uU(97,"jQuery"),e.qZA()(),e.TgZ(98,"li")(99,"a",37),e._uU(100,"NgSortGridModule"),e.qZA()(),e.TgZ(101,"li")(102,"a",38),e._uU(103,"DatePickerModule"),e.qZA()(),e.TgZ(104,"li")(105,"a",39),e._uU(106,"NgxFileDragDropModule"),e.qZA()(),e.TgZ(107,"li")(108,"a",40),e._uU(109,"NgxTranslateModule"),e.qZA()(),e.TgZ(110,"li")(111,"a",41),e._uU(112,"NgxCharts"),e.qZA()(),e.TgZ(113,"li")(114,"a",42),e._uU(115,"NgxTranslate"),e.qZA()(),e.TgZ(116,"li")(117,"a",43),e._uU(118,"Click Outside 2"),e.qZA()(),e.TgZ(119,"li")(120,"a",44),e._uU(121,"Remove-accent"),e.qZA()(),e.TgZ(122,"li")(123,"a",45),e._uU(124,"SVG Country Flags"),e.qZA()(),e.TgZ(125,"li")(126,"a",46),e._uU(127,"Select Country"),e.qZA()(),e.TgZ(128,"li")(129,"a",47),e._uU(130,"Tailwind CSS"),e.qZA()(),e.TgZ(131,"li")(132,"a",48),e._uU(133,"FontAwesome"),e.qZA()(),e.TgZ(134,"li")(135,"a",49),e._uU(136,"moment"),e.qZA()()()()()()()()}if(2&t){const a=e.MAs(2);e.xp6(4),e.Oqu(e.lcZ(5,21,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(4),e.Q6J("ngIf",!i.loading),e.xp6(1),e.Q6J("ngIf",void 0===i.lastVersion),e.xp6(1),e.Q6J("ngIf",!i.loading&&i.lastVersion>i.currentVersion&&i.isProd),e.xp6(1),e.Q6J("ngIf",!i.loading&&i.lastVersion{class n{constructor(t,i,a,l,h,E,B,oe){this.router=t,this.userService=i,this.translate=a,this.serviceSettings=l,this.privilegesService=h,this.http=E,this.authService=B,this.notify=oe,this.separator={fileUrl:"",thumbnailUrl:""},this.loading=!1,this.loadingSeparator=!1,this.selectedSeparator="bundleSeparator",this.separators=[{id:"bundleSeparator",name:this.translate.instant("SPLITTER.bundle_separator"),disabled:!1},{id:"documentSeparator",name:this.translate.instant("SPLITTER.document_separator"),disabled:!1},{id:"docTypeSeparator",name:this.translate.instant("SPLITTER.doc_type_separator"),disabled:!0}]}ngOnInit(){this.serviceSettings.init(),this.generateSeparator({type:"bundleSeparator",key:"",label:""})}onChangeType(){let t;t="bundleSeparator"===this.selectedSeparator?{type:"bundleSeparator",key:"",label:""}:"documentSeparator"===this.selectedSeparator?{type:"documentSeparator",key:"",label:""}:{type:"docTypeSeparator",key:this.selectedDocType?this.selectedDocType.key:"",label:this.selectedDocType?this.selectedDocType.label:""},this.generateSeparator(t)}getOutPut(t){this.selectedSeparator="docTypeSeparator",this.selectedDocType=t,this.generateSeparator({type:"docTypeSeparator",key:this.selectedDocType.key,label:this.selectedDocType.label})}generateSeparator(t){this.loadingSeparator=!0,this.http.post(m.N.url+"/ws/doctypes/generateSeparator",t,{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.separator.fileUrl="data:application/pdf;base64,"+i.encoded_file,this.separator.thumbnailUrl="data:image/jpeg;base64,"+i.encoded_thumbnail,this.loadingSeparator=!1}),(0,Ke.K)(i=>(console.debug(i),this.loadingSeparator=!1,this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}downloadSeparator(){this.downloadPdf(this.separator.fileUrl,this.selectedSeparator+(this.selectedDocType?"_"+this.selectedDocType.key:""))}downloadPdf(t,i){const a=document.createElement("a");a.href=t,a.download=`${i}.pdf`,a.click()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(zi.K),e.Y36($t.sK),e.Y36(xn.g),e.Y36(nn.y),e.Y36(Ri.eN),e.Y36(pi.e),e.Y36(Gi.g))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-separator"]],decls:36,vars:23,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.2rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white","overflow-hidden"],[1,"settings_header","z-50"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],[3,"data","selectedDoctypeOutput"],["mode","side","opened","","position","end",1,"overflow-hidden","w-1/4","flex","flex-col","h-full","border-r","border-green-400"],["sidenav2",""],[1,"w-full","grid","grid-cols-2","m-2","mt-4"],["appearance","outline"],[3,"disabled","ngModel","ngModelChange"],[3,"id","value","disabled",4,"ngFor","ngForOf"],[1,"text-right"],["mat-button","",1,"w-10","h-12",3,"disabled","click"],[1,"fa-solid","fa-file-arrow-down","fa-2x"],["class","flex text-gray-400 object-contain","style","height: calc(100% - 230px)",4,"ngIf"],["class","text-center text-gray-400 object-contain",4,"ngIf"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],[3,"id","value","disabled"],[1,"flex","text-gray-400","object-contain",2,"height","calc(100% - 230px)"],[1,"m-auto","text-center"],[1,"fa-solid","fa-qrcode","fa-4x","fa-beat-fade","w-full","mb-1",2,"--fa-animation-duration","1.5s"],[1,"w-full"],[1,"text-center","text-gray-400","object-contain"],["alt","Separator thumbnail",3,"src"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,p2,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7)(10,"div",8)(11,"button",9),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(12,"i",10),e.qZA(),e.TgZ(13,"div",11)(14,"h3"),e._uU(15),e.qZA(),e._UZ(16,"hr",4),e.qZA()(),e.TgZ(17,"app-document-type-factory",12),e.NdJ("selectedDoctypeOutput",function(h){return i.getOutPut(h)}),e.qZA()(),e.TgZ(18,"mat-sidenav",13,14)(20,"h3",3),e._uU(21),e.ALo(22,"translate"),e.qZA(),e._UZ(23,"mat-divider",4),e.TgZ(24,"div",15)(25,"mat-form-field",16)(26,"mat-label"),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.TgZ(29,"mat-select",17),e.NdJ("ngModelChange",function(h){return i.selectedSeparator=h})("ngModelChange",function(){return i.onChangeType()}),e.YNc(30,Af,3,6,"mat-option",18),e.qZA()(),e.TgZ(31,"div",19)(32,"button",20),e.NdJ("click",function(){return i.downloadSeparator()}),e._UZ(33,"i",21),e.qZA()()(),e.YNc(34,h2,6,3,"div",22),e.YNc(35,m2,2,1,"div",23),e.qZA()()}if(2&t){const a=e.MAs(2);e.xp6(4),e.Oqu(e.lcZ(5,16,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(4),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(2),e.Q6J("data",e.DdM(22,F1)),e.xp6(4),e.hij(" ",e.lcZ(22,18,"DOCTYPE.download_separator")," "),e.xp6(6),e.Oqu(e.lcZ(28,20,"DOCTYPE.separator_choice ")),e.xp6(2),e.Q6J("disabled",i.loadingSeparator)("ngModel",i.selectedSeparator),e.xp6(1),e.Q6J("ngForOf",i.separators),e.xp6(2),e.Q6J("disabled",i.loadingSeparator),e.xp6(2),e.Q6J("ngIf",i.loadingSeparator),e.xp6(1),e.Q6J("ngIf",!i.loadingSeparator)}},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.KE,Rt.hX,Be.gD,b.ey,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.ib,Zt.yz,Zt.yK,rn.Hk,Rn.d,A.JJ,A.On,Ei,$t.X$],styles:[".mat-drawer-inner-container{overflow:hidden!important}"]}),n})();function N1(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",39)(1,"button",40),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",41),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function Gv(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,N1,6,11,"div",38),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function Kv(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",32)(1,"mat-expansion-panel-header",33)(2,"mat-panel-title",34),e._UZ(3,"i"),e.TgZ(4,"button",35),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",36),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,Gv,2,7,"div",37),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function g2(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,Kv,9,15,"mat-expansion-panel",31),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function jv(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",35),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",36),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function Wv(n,o){if(1&n&&e.YNc(0,jv,5,11,"button",42),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function Lf(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,g2,2,1,"div",29),e.YNc(2,Wv,1,1,"ng-template",null,30,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function pT(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",25),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",26)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",27),e.YNc(6,Lf,4,6,"div",28),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function hT(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function mT(n,o){1&n&&(e.TgZ(0,"mat-header-cell",43),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.id")," "))}function gT(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.id," ")}}function B1(n,o){1&n&&(e.TgZ(0,"mat-header-cell",43),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.label")," "))}function f2(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.label," ")}}function C2(n,o){1&n&&(e.TgZ(0,"mat-header-cell",43),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"FORMS.default")," "))}function v2(n,o){1&n&&(e.TgZ(0,"span")(1,"span",44),e._uU(2,"\u2022"),e.qZA()())}function x2(n,o){1&n&&(e.TgZ(0,"span")(1,"span",45),e._uU(2,"\u2022"),e.qZA()())}function U1(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e.YNc(1,v2,3,0,"span",8),e.YNc(2,x2,3,0,"span",8),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf",t.default_form),e.xp6(1),e.Q6J("ngIf",!t.default_form)}}function Z1(n,o){1&n&&(e.TgZ(0,"mat-header-cell",43),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.status")," "))}function Y1(n,o){1&n&&(e.TgZ(0,"span")(1,"span",46),e._uU(2,"\u2022"),e.qZA(),e._uU(3),e.ALo(4,"translate"),e.qZA()),2&n&&(e.xp6(3),e.hij(" ",e.lcZ(4,1,"HEADER.active"),""))}function b2(n,o){1&n&&(e.TgZ(0,"span")(1,"span",47),e._uU(2,"\u2022"),e.qZA(),e._uU(3),e.ALo(4,"translate"),e.qZA()),2&n&&(e.xp6(3),e.hij(" ",e.lcZ(4,1,"HEADER.inactive"),""))}function y2(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e.YNc(1,Y1,5,3,"span",8),e.YNc(2,b2,5,3,"span",8),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf",t.enabled),e.xp6(1),e.Q6J("ngIf",!t.enabled)}}function H1(n,o){1&n&&e._UZ(0,"mat-header-cell")}function qv(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",49),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw();return a.stopPropagation(),e.KtG(h.disableConfirmDialog(l.id,l.label))}),e.ALo(1,"translate"),e._UZ(2,"i",51),e.qZA()}2&n&&e.s9C("matTooltip",e.lcZ(1,1,"FORMS.disable"))}function fT(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",49),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw();return a.stopPropagation(),e.KtG(h.enableConfirmDialog(l.id,l.label))}),e.ALo(1,"translate"),e._UZ(2,"i",52),e.qZA()}2&n&&e.s9C("matTooltip",e.lcZ(1,1,"FORMS.enable"))}function V1(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",49),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw();return a.stopPropagation(),e.KtG(h.deleteConfirmDialog(l.id,l.label))}),e.ALo(1,"translate"),e._UZ(2,"i",53),e.qZA()}2&n&&e.s9C("matTooltip",e.lcZ(1,1,"FORMS.delete"))}function Jv(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-cell"),e.YNc(1,qv,3,3,"button",48),e.YNc(2,fT,3,3,"button",48),e.TgZ(3,"button",49),e.NdJ("click",function(a){const h=e.CHM(t).$implicit,E=e.oxw();return a.stopPropagation(),e.KtG(E.duplicateConfirmDialog(h.id,h.label))}),e.ALo(4,"translate"),e._UZ(5,"i",50),e.qZA(),e.YNc(6,V1,3,3,"button",48),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw();e.xp6(1),e.Q6J("ngIf",t.enabled),e.xp6(1),e.Q6J("ngIf",!t.enabled),e.xp6(1),e.s9C("matTooltip",e.lcZ(4,4,"FORMS.duplicate")),e.xp6(3),e.Q6J("ngIf",i.forms.length>1)}}function T2(n,o){1&n&&e._UZ(0,"mat-header-row")}function M2(n,o){1&n&&e._UZ(0,"mat-row",54),2&n&&e.MGl("routerLink","/settings/verifier/forms/builder/edit/",o.$implicit.id,"")}const CT=function(){return[5,10,15,20,50]};let vT=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt,Ft,ii,fi){this.router=t,this.http=i,this.dialog=a,this.route=l,this.userService=h,this.formBuilder=E,this.authService=B,this.translate=oe,this.notify=xe,this.historyService=Ve,this.serviceSettings=lt,this.routerExtService=Ft,this.privilegesService=ii,this.localStorageService=fi,this.columnsToDisplay=["id","label","default_form","enabled","actions"],this.loading=!0,this.pageSize=10,this.pageIndex=0,this.total=0,this.offset=0,this.forms=[]}ngOnInit(){this.serviceSettings.init();const t=this.routerExtService.getPreviousUrl();t.includes("settings/verifier/forms")||"/"===t?(this.localStorageService.get("formsPageIndex")&&(this.pageIndex=parseInt(this.localStorageService.get("formsPageIndex"))),this.offset=this.pageSize*this.pageIndex):this.localStorageService.remove("formsPageIndex"),this.loadForms()}onPageChange(t){this.pageSize=t.pageSize,this.offset=this.pageSize*t.pageIndex,this.pageIndex=t.pageIndex,this.localStorageService.save("formsPageIndex",t.pageIndex),this.loadForms()}loadForms(){this.loading=!0,this.http.get(m.N.url+"/ws/forms/list?module=verifier&limit="+this.pageSize+"&offset="+this.offset,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.forms[0]?this.total=t.forms[0].total:0!==this.pageIndex&&(this.pageIndex=this.pageIndex-1,this.offset=this.pageSize*this.pageIndex,this.loadForms()),this.forms=t.forms}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}getInputs(t){var i=this;return xa(function*(){return yield i.http.get(m.N.url+"/ws/inputs/getByFormId/"+t,{headers:i.authService.headers}).toPromise()})()}deleteConfirmDialog(t,i){var a=this;return xa(function*(){const l=yield a.getInputs(t);if(0!==l.length){const h=a.forms;h.forEach((xe,Ve)=>{xe.id===t&&h.splice(Ve,1)});const E=[],B=[];l.forEach(xe=>{E.push({id:xe.id,label:xe.input_label}),B.push(xe.input_label)}),a.dialog.open(gn,{data:{confirmTitle:a.translate.instant("GLOBAL.new_input_link"),confirmText:a.translate.instant("FORMS.inputs_list_already_linked",{inputsList:B.join("
")}),selectValues:h,selectLabel:a.translate.instant("FORMS.choose_form"),confirmButton:a.translate.instant("GLOBAL.delete_form_and_reassign_input"),confirmButtonColor:"warn",cancelButton:a.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(xe=>{xe&&(a.updateInputsDefaultForm(xe,E),a.deleteForm(t),a.historyService.addHistory("verifier","delete_form",a.translate.instant("HISTORY-DESC.delete-form",{form:i})))})}else a.dialog.open(gn,{data:{confirmTitle:a.translate.instant("GLOBAL.confirm"),confirmText:a.translate.instant("FORMS.confirm_delete",{form:i}),confirmButton:a.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:a.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(E=>{E&&(a.deleteForm(t),a.historyService.addHistory("verifier","delete_form",a.translate.instant("HISTORY-DESC.delete-form",{form:i})))})})()}duplicateConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("FORMS.confirm_duplicate",{form:i}),confirmButton:this.translate.instant("GLOBAL.duplicate"),confirmButtonColor:"green",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.duplicateForm(t),this.historyService.addHistory("verifier","duplicate_form",this.translate.instant("HISTORY-DESC.duplicate-form",{form:i})))})}disableConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("FORMS.confirm_disable",{form:i}),confirmButton:this.translate.instant("GLOBAL.disable"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.disableForm(t),this.historyService.addHistory("verifier","disable_form",this.translate.instant("HISTORY-DESC.disable-form",{form:i})))})}enableConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("FORMS.confirm_enable",{form:i}),confirmButton:this.translate.instant("GLOBAL.enable"),confirmButtonColor:"green",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.enableForm(t),this.historyService.addHistory("verifier","enable_form",this.translate.instant("HISTORY-DESC.enable-form",{form:i})))})}deleteForm(t){void 0!==t&&this.http.delete(m.N.url+"/ws/forms/delete/"+t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadForms(),this.notify.success(this.translate.instant("FORMS.form_deleted"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}updateInputsDefaultForm(t,i){if(void 0!==t)for(const a in i)this.http.put(m.N.url+"/ws/inputs/update/"+i[a].id,{args:{default_form_id:t}},{headers:this.authService.headers}).pipe((0,Ke.K)(h=>(console.debug(h),this.notify.handleErrors(h),(0,ie.of)(!1)))).subscribe()}duplicateForm(t){this.loading=!0,void 0!==t&&this.http.post(m.N.url+"/ws/forms/duplicate/"+t,{},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadForms(),this.notify.success(this.translate.instant("FORMS.form_duplicated"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}disableForm(t){void 0!==t&&this.http.put(m.N.url+"/ws/forms/disable/"+t,null,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadForms(),this.notify.success(this.translate.instant("FORMS.form_disabled"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}enableForm(t){void 0!==t&&this.http.put(m.N.url+"/ws/forms/enable/"+t,null,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadForms(),this.notify.success(this.translate.instant("FORMS.form_enabled"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}sortData(t){const i=this.forms.slice();this.forms=t.active&&""!==t.direction?i.sort((a,l)=>{const h="asc"===t.direction;switch(t.active){case"id":return this.compare(a.id,l.id,h);case"label":return this.compare(a.label,l.label,h);case"default":return this.compare(a.default,l.default,h);case"enabled":return this.compare(a.enabled,l.enabled,h);default:return 0}}):i}compare(t,i,a){return(tt.userQuotaConfig.quota)("text-orange-400",t.activeUser===t.userQuotaConfig.quota),e.xp6(3),e.AsE(" ",e.lcZ(9,13,"USER-QUOTA.quota_number")," : ",t.userQuotaConfig.quota," "),e.xp6(3),e.AsE(" ",e.lcZ(12,15,"USER.enabled")," : ",t.activeUser," ")}}const Ci=function(){return[5,10,15,20,50]};let Si=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt,Ft,ii,fi){this.router=t,this.http=i,this.dialog=a,this.route=l,this.userService=h,this.formBuilder=E,this.authService=B,this.translate=oe,this.notify=xe,this.historyService=Ve,this.serviceSettings=lt,this.routerExtService=Ft,this.privilegesService=ii,this.localStorageService=fi,this.columnsToDisplay=["id","username","firstname","lastname","role","status","actions"],this.headers=this.authService.headers,this.loading=!0,this.users=[],this.allUsers=[],this.roles=[],this.pageSize=10,this.pageIndex=0,this.activeUser=0,this.total=0,this.offset=0,this.search="",this.userQuotaConfig={}}ngOnInit(){this.serviceSettings.init();const t=this.routerExtService.getPreviousUrl();t.includes("settings/general/users")||"/"===t?(this.localStorageService.get("usersPageIndex")&&(this.pageIndex=parseInt(this.localStorageService.get("usersPageIndex"))),this.offset=this.pageSize*this.pageIndex):this.localStorageService.remove("usersPageIndex"),this.http.get(m.N.url+"/ws/users/list",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.allUsers=i.users,this.http.get(m.N.url+"/ws/roles/list",{headers:this.authService.headers}).pipe((0,$e.b)(a=>{this.roles=a.roles,this.roles&&this.allUsers.forEach(l=>{this.roles.forEach(h=>{l.role===h.id&&(l.role_label=h.label)})}),this.loadUsers()}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/config/getConfiguration/userQuota",{headers:this.authService.headers}).pipe((0,$e.b)(a=>{this.userQuotaConfig=a.configuration[0].data.value,this.activeUser=this.allUsers.length,this.getUserQuotaFiltered()}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe()}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}searchUser(t){this.search=t.target.value,this.loadUsers()}getUserQuotaFiltered(){this.allUsers.forEach(t=>{this.userQuotaConfig.users_filtered.includes(t.username)&&(this.activeUser-=1)})}onPageChange(t){this.pageSize=t.pageSize,this.offset=this.pageSize*t.pageIndex,this.pageIndex=t.pageIndex,this.localStorageService.save("usersPageIndex",t.pageIndex),this.loadUsers()}loadUsers(){this.http.get(m.N.url+"/ws/users/list?limit="+this.pageSize+"&offset="+this.offset+"&search="+this.search,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.users[0]?this.total=t.users[0].total:0!==this.pageIndex&&(this.pageIndex=this.pageIndex-1,this.offset=this.pageSize*this.pageIndex,this.loadUsers()),this.users=t.users,this.roles&&this.users.forEach(i=>{this.roles.forEach(a=>{i.role===a.id&&(i.role_label=a.label)})})}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}deleteConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("USER.confirm_delete",{user:i}),confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.deleteUser(t),this.historyService.addHistory("general","delete_user",this.translate.instant("HISTORY-DESC.delete-user",{user:i})))})}disableConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("USER.confirm_disable",{user:i}),confirmButton:this.translate.instant("GLOBAL.disable"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.disableUser(t),this.historyService.addHistory("general","disable_user",this.translate.instant("HISTORY-DESC.disable-user",{user:i})))})}enableConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("USER.confirm_enable",{user:i}),confirmButton:this.translate.instant("GLOBAL.enable"),confirmButtonColor:"green",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.enableUser(t),this.historyService.addHistory("general","enable_user",this.translate.instant("HISTORY-DESC.enable-user",{user:i})))})}deleteUser(t){void 0!==t&&this.http.delete(m.N.url+"/ws/users/delete/"+t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadUsers(),this.notify.success(this.translate.instant("USER.user_deleted"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}disableUser(t){void 0!==t&&this.http.put(m.N.url+"/ws/users/disable/"+t,null,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadUsers()}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}enableUser(t){void 0!==t&&this.http.put(m.N.url+"/ws/users/enable/"+t,null,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadUsers()}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}sortData(t){const i=this.allUsers.slice();t.active&&""!==t.direction?(this.users=i.sort((a,l)=>{const h="asc"===t.direction;switch(t.active){case"id":return this.compare(a.id,l.id,h);case"username":return this.compare(a.username,l.username,h);case"firstname":return this.compare(a.firstname,l.firstname,h);case"lastname":return this.compare(a.lastname,l.lastname,h);case"role":return this.compare(a.role_label,l.role_label,h);case"status":return this.compare(a.enabled,l.enabled,h);default:return 0}}),this.users=this.users.splice(0,this.pageSize)):this.users=i.splice(0,this.pageSize)}compare(t,i,a){return(t{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt,Ft,ii,fi){this.router=t,this.http=i,this.dialog=a,this.route=l,this.userService=h,this.formBuilder=E,this.authService=B,this.translate=oe,this.notify=xe,this.historyService=Ve,this.serviceSettings=lt,this.routerExtService=Ft,this.privilegesService=ii,this.localStorageService=fi,this.columnsToDisplay=["id","label_short","label","status","actions"],this.headers=this.authService.headers,this.loading=!0,this.roles=[],this.pageSize=10,this.pageIndex=0,this.total=0,this.offset=0}ngOnInit(){this.serviceSettings.init();const t=this.routerExtService.getPreviousUrl();t.includes("settings/general/roles")||"/"===t?(this.localStorageService.get("rolesPageIndex")&&(this.pageIndex=parseInt(this.localStorageService.get("rolesPageIndex"))),this.offset=this.pageSize*this.pageIndex):this.localStorageService.remove("rolesPageIndex"),this.loadRoles()}loadRoles(){this.http.get(m.N.url+"/ws/roles/list?limit="+this.pageSize+"&offset="+this.offset,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.roles[0]?this.total=t.roles[0].total:0!==this.pageIndex&&(this.pageIndex=this.pageIndex-1,this.offset=this.pageSize*this.pageIndex,this.loadRoles()),this.roles=t.roles}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}onPageChange(t){this.pageSize=t.pageSize,this.offset=this.pageSize*t.pageIndex,this.pageIndex=t.pageIndex,this.localStorageService.save("rolesPageIndex",t.pageIndex),this.loadRoles()}deleteConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("ROLE.confirm_delete",{role:i}),confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.deleteRole(t),this.historyService.addHistory("verifier","delete_role",this.translate.instant("HISTORY-DESC.delete-role",{role:i})))})}disableConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("ROLE.confirm_disable",{role:i}),confirmButton:this.translate.instant("GLOBAL.disable"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&this.disableRole(t)})}enableConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("ROLE.confirm_enable",{role:i}),confirmButton:this.translate.instant("GLOBAL.enable"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&this.enableRole(t)})}deleteRole(t){void 0!==t&&this.http.delete(m.N.url+"/ws/roles/delete/"+t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadRoles(),this.notify.success(this.translate.instant("ROLE.role_deleted"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}disableRole(t){void 0!==t&&this.http.put(m.N.url+"/ws/roles/disable/"+t,null,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadRoles()}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}enableRole(t){void 0!==t&&this.http.put(m.N.url+"/ws/roles/enable/"+t,null,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadRoles()}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}sortData(t){const i=this.roles.slice();this.roles=t.active&&""!==t.direction?i.sort((a,l)=>{const h="asc"===t.direction;switch(t.active){case"id":return this.compare(a.id,l.id,h);case"label_short":return this.compare(a.label_short,l.label_short,h);case"label":return this.compare(a.label,l.label,h);default:return 0}}):i}compare(t,i,a){return(t{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt,Ft,ii,fi){this.router=t,this.http=i,this.dialog=a,this.route=l,this.userService=h,this.formBuilder=E,this.authService=B,this.translate=oe,this.notify=xe,this.historyService=Ve,this.serviceSettings=lt,this.routerExtService=Ft,this.privilegesService=ii,this.localStorageService=fi,this.loading=!0,this.columnsToDisplay=["id","label","default_form","enabled","actions"],this.pageSize=10,this.pageIndex=0,this.total=0,this.offset=0,this.forms=[]}ngOnInit(){this.serviceSettings.init();const t=this.routerExtService.getPreviousUrl();t.includes("settings/splitter/forms")||"/"===t?(this.localStorageService.get("formsPageIndex")&&(this.pageIndex=parseInt(this.localStorageService.get("formsPageIndex"))),this.offset=this.pageSize*this.pageIndex):this.localStorageService.remove("formsPageIndex"),this.loadForms()}onPageChange(t){this.pageSize=t.pageSize,this.offset=this.pageSize*t.pageIndex,this.localStorageService.save("formsPageIndex",t.pageIndex),this.loadForms()}loadForms(){this.loading=!0,this.http.get(m.N.url+"/ws/forms/list?module=splitter&limit="+this.pageSize+"&offset="+this.offset,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.forms[0]&&(this.total=t.forms[0].total),this.forms=t.forms}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}deleteConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("FORMS.confirm_delete",{form:i}),confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.deleteForm(t),this.historyService.addHistory("splitter","delete_form",this.translate.instant("HISTORY-DESC.delete-form",{form:i})))})}duplicateConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("FORMS.confirm_duplicate",{form:i}),confirmButton:this.translate.instant("GLOBAL.duplicate"),confirmButtonColor:"green",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.duplicateForm(t),this.historyService.addHistory("splitter","duplicate_form",this.translate.instant("HISTORY-DESC.duplicate-form",{form:i})))})}disableConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("FORMS.confirm_disable",{form:i}),confirmButton:this.translate.instant("GLOBAL.disable"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.disableForm(t),this.historyService.addHistory("splitter","disable_form",this.translate.instant("HISTORY-DESC.disable-form",{form:i})))})}enableConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("FORMS.confirm_enable",{form:i}),confirmButton:this.translate.instant("GLOBAL.enable"),confirmButtonColor:"green",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.enableForm(t),this.historyService.addHistory("splitter","enable_form",this.translate.instant("HISTORY-DESC.enable-form",{form:i})))})}deleteForm(t){void 0!==t&&this.http.delete(m.N.url+"/ws/forms/delete/"+t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadForms(),this.notify.success(this.translate.instant("FORMS.form_deleted"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}duplicateForm(t){void 0!==t&&this.http.post(m.N.url+"/ws/forms/duplicate/"+t,{},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadForms(),this.notify.success(this.translate.instant("FORMS.form_duplicated"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}disableForm(t){void 0!==t&&this.http.put(m.N.url+"/ws/forms/disable/"+t,null,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadForms(),this.notify.success(this.translate.instant("FORMS.form_disabled"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}enableForm(t){void 0!==t&&this.http.put(m.N.url+"/ws/forms/enable/"+t,null,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadForms(),this.notify.success(this.translate.instant("FORMS.form_enabled"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}sortData(t){const i=this.forms.slice();this.forms=t.active&&""!==t.direction?i.sort((a,l)=>{const h="asc"===t.direction;switch(t.active){case"id":return this.compare(a.id,l.id,h);case"label":return this.compare(a.label,l.label,h);case"default":return this.compare(a.default,l.default,h);case"enabled":return this.compare(a.enabled,l.enabled,h);default:return 0}}):i}compare(t,i,a){return(t{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt){this.router=t,this.http=i,this.route=a,this.userService=l,this.formBuilder=h,this.authService=E,this.notify=B,this.translate=oe,this.historyService=xe,this.serviceSettings=Ve,this.privilegesService=lt,this.loading=!0,this.loadingCustomers=!0,this.roles=[],this.userForm=[{id:"username",label:this.translate.instant("USER.username"),type:"text",control:new A.NI("",A.kI.maxLength(50)),required:!0},{id:"firstname",label:this.translate.instant("USER.firstname"),type:"text",control:new A.NI,required:!0},{id:"lastname",label:this.translate.instant("USER.lastname"),type:"text",control:new A.NI,required:!0},{id:"email",label:this.translate.instant("USER.email"),type:"text",control:new A.NI("",A.kI.pattern("^[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$")),required:!1},{id:"password",label:this.translate.instant("USER.password"),type:"password",control:new A.NI,required:!0},{id:"password_check",label:this.translate.instant("USER.password_check"),type:"password",control:new A.NI,required:!0},{id:"role",label:this.translate.instant("HEADER.role"),type:"select",values:[],control:new A.NI,required:!0}],this.customers=[],this.usersCustomers=[]}ngOnInit(){this.serviceSettings.init(),this.http.get(m.N.url+"/ws/accounts/customers/list",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.customers=t.customers,this.loadingCustomers=!1}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/roles/list",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.roles.forEach(i=>{i.editable&&this.roles.push(i)}),this.userForm.forEach(i=>{"role"===i.id&&(i.values=this.roles)})}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}hasCustomer(t){for(const i of this.usersCustomers)if(i===t)return!0;return!1}updateUsersCustomers(t){let i=!1,a=0;for(const l of this.usersCustomers){if(l===t){i=!0;break}a+=1}i?this.usersCustomers.splice(a,1):this.usersCustomers.push(t)}isValidForm(){let t=!0;return this.userForm.forEach(i=>{"DISABLED"!==i.control.status&&"VALID"!==i.control.status&&(t=!1),i.control.markAsTouched()}),t}onSubmit(){if(this.isValidForm()){const t={};if(this.userForm.forEach(i=>{t[i.id]=i.control.value}),t.password!==t.password_check)return this.notify.handleErrors("USER.password_mismatch"),(0,ie.of)(!1);t.customers=this.usersCustomers,this.http.post(m.N.url+"/ws/users/new",t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.historyService.addHistory("general","create_user",this.translate.instant("HISTORY-DESC.create-user",{user:t.lastname+" "+t.firstname})),this.notify.success(this.translate.instant("USER.created")),this.router.navigate(["/settings/general/users/"]).then()}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}}getErrorMessage(t){let i;return this.userForm.forEach(a=>{a.id===t&&a.required&&(i=this.translate.instant("AUTH.field_required"))}),i}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Nt.gz),e.Y36(zi.K),e.Y36(A.qu),e.Y36(pi.e),e.Y36(Gi.g),e.Y36($t.sK),e.Y36(kn.q),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-create-user"]],decls:33,vars:19,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],[1,"flex","justify-center","items-center","align-middle"],[1,"grid","grid-cols-3","gap-6","w-full","m-10","text-center",3,"ngSubmit"],[4,"ngFor","ngForOf"],[1,"button","col-span-3"],["type","submit","mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300"],["mode","side","opened","","position","end",1,"customers","w-1/4","flex","flex-col","h-full","border-r","border-green-400"],["sidenav2",""],["class","relative","style","top: 40%",4,"ngIf"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],["class","block",4,"ngIf"],[1,"block"],["matInput","",3,"formControl","type","placeholder","required"],[3,"formControl","value","required","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"relative",2,"top","40%"],[1,"text-center","overflow-hidden"],[1,"fa-solid","fa-circle-notch","fa-spin","fa-4x","w-full","text-gray-900",2,"--fa-animation-duration","1.5s"],["class","hover:bg-green-400 cursor-pointer m-2 w-auto",3,"bg-green-400","click",4,"ngFor","ngForOf"],[1,"hover:bg-green-400","cursor-pointer","m-2","w-auto",3,"click"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,UM,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,ZM,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16),e.qZA(),e._UZ(17,"hr",4),e.qZA()(),e.TgZ(18,"div",13)(19,"form",14),e.NdJ("ngSubmit",function(){return i.onSubmit()}),e.YNc(20,jM,3,2,"ng-container",15),e.TgZ(21,"div",16)(22,"button",17),e._uU(23),e.ALo(24,"translate"),e.qZA()()()()(),e.TgZ(25,"mat-sidenav",18,19)(27,"h3",3),e._uU(28),e.ALo(29,"translate"),e.qZA(),e._UZ(30,"mat-divider",4),e.YNc(31,WM,3,0,"div",20),e.YNc(32,JM,2,1,"mat-list",8),e.qZA()()}if(2&t){const a=e.MAs(2);e.xp6(4),e.Oqu(e.lcZ(5,13,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(4),e.Q6J("ngForOf",i.userForm),e.xp6(3),e.hij(" ",e.lcZ(24,15,"USER.create_user")," "),e.xp6(5),e.Oqu(e.lcZ(29,17,"ACCOUNTS.customers_list")),e.xp6(3),e.Q6J("ngIf",i.loadingCustomers),e.xp6(1),e.Q6J("ngIf",!i.loadingCustomers)}},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.TO,Rt.KE,Rt.hX,Be.gD,b.ey,an.Nt,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.ib,Zt.yz,Zt.yK,rn.i$,rn.Hk,rn.Tg,Rn.d,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.oH,A.F,Cn.R,$t.X$]}),n})();function zM(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",36)(1,"button",37),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",38),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function QM(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,zM,6,11,"div",35),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function XM(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",29)(1,"mat-expansion-panel-header",30)(2,"mat-panel-title",31),e._UZ(3,"i"),e.TgZ(4,"button",32),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",33),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,QM,2,7,"div",34),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function eD(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,XM,9,15,"mat-expansion-panel",28),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function tD(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",32),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",33),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function iD(n,o){if(1&n&&e.YNc(0,tD,5,11,"button",39),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function nD(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,eD,2,1,"div",26),e.YNc(2,iD,1,1,"ng-template",null,27,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function aD(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",22),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",23)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",24),e.YNc(6,nD,4,6,"div",25),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function oD(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function rD(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.TgZ(2,"strong"),e._uU(3),e.qZA()()),2&n){const t=e.oxw();e.xp6(1),e.AsE(" ",t.user.firstname," ",t.user.lastname," "),e.xp6(2),e.hij("(",t.user.username,")")}}function sD(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessage(t.id))}}function lD(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",42)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",43),e.ALo(5,"translate"),e.YNc(6,sD,2,1,"mat-error",8),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw();e.ekj("pointer-events-none","password"===t.type&&i.disablePasswordModification),e.xp6(1),e.ekj("text-gray-400","password"===t.type&&i.disablePasswordModification),e.xp6(1),e.hij(" ",e.lcZ(3,11,t.label)," "),e.xp6(2),e.s9C("placeholder",e.lcZ(5,13,t.label)),e.Q6J("readonly","username"===t.id||"password"===t.type&&i.disablePasswordModification)("formControl",t.control)("type",t.type)("required",t.required),e.xp6(2),e.Q6J("ngIf",t.control.invalid)}}function cD(n,o){if(1&n&&(e.TgZ(0,"mat-option",46),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.Oqu(t.label)}}function dD(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessage(t.id))}}function uD(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field",42)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",44),e.NdJ("valueChange",function(a){e.CHM(t);const l=e.oxw().$implicit;return e.KtG(l.control.value=a)}),e.YNc(5,cD,2,2,"mat-option",45),e.qZA(),e.YNc(6,dD,2,1,"mat-error",8),e.qZA()}if(2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,6,t.label)),e.xp6(2),e.Q6J("formControl",t.control)("value",t.control.value)("required",t.required),e.xp6(1),e.Q6J("ngForOf",t.values),e.xp6(1),e.Q6J("ngIf",t.control.invalid)}}function _D(n,o){if(1&n&&(e.ynx(0),e.YNc(1,lD,7,15,"mat-form-field",40),e.YNc(2,uD,7,8,"mat-form-field",41),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","select"!==t.type),e.xp6(1),e.Q6J("ngIf","select"===t.type)}}function pD(n,o){1&n&&(e.TgZ(0,"div",47)(1,"span",48),e._UZ(2,"i",49),e.qZA()())}function hD(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-list-item",51),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw(2);return e.KtG(h.updateUsersCustomers(l.id))}),e._uU(1),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw(2);e.ekj("bg-green-400",i.hasCustomer(t.id)),e.xp6(1),e.hij(" ",t.name," ")}}function mD(n,o){if(1&n&&(e.TgZ(0,"mat-list"),e.YNc(1,hD,2,3,"mat-list-item",50),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.customers)}}let gD=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt){this.router=t,this.http=i,this.route=a,this.userService=l,this.formBuilder=h,this.authService=E,this.translate=B,this.notify=oe,this.historyService=xe,this.serviceSettings=Ve,this.privilegesService=lt,this.headers=this.authService.headers,this.loading=!0,this.loadingCustomers=!0,this.roles=[],this.userForm=[{id:"username",label:this.translate.instant("USER.username"),type:"text",control:new A.NI,required:!0},{id:"firstname",label:this.translate.instant("USER.firstname"),type:"text",control:new A.NI,required:!0},{id:"lastname",label:this.translate.instant("USER.lastname"),type:"text",control:new A.NI,required:!0},{id:"email",label:this.translate.instant("USER.email"),type:"text",control:new A.NI("",A.kI.pattern("^[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$")),required:!1},{id:"password",label:this.translate.instant("USER.password"),type:"password",control:new A.NI,required:!1},{id:"password_check",label:this.translate.instant("USER.password_check"),type:"password",control:new A.NI,required:!1},{id:"role",label:this.translate.instant("HEADER.role"),type:"select",values:[],control:new A.NI,required:!0}],this.customers=[],this.usersCustomers=[],this.disablePasswordModification=!1}ngOnInit(){this.serviceSettings.init(),this.userId=this.route.snapshot.params.id,this.http.get(m.N.url+"/ws/auth/retrieveLoginMethodName").pipe((0,$e.b)(t=>{t.login_methods.forEach(i=>{i.enabled&&"default"!==i.method_name&&(this.disablePasswordModification=!0)})}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/accounts/customers/list",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.customers=t.customers,this.http.get(m.N.url+"/ws/users/getCustomersByUserId/"+this.userId,{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.usersCustomers=i,this.loadingCustomers=!1}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/roles/list",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.roles.forEach(i=>{(i.editable||"*"===this.userService.getUser().privileges)&&this.roles.push(i)})}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/users/getById/"+this.userId,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.user=t;for(const i in t)t.hasOwnProperty(i)&&this.userForm.forEach(a=>{a.id===i&&(a.control.setValue(t[i]),"role"===a.id&&(a.values=this.roles))})}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}isValidForm(){let t=!0;return this.userForm.forEach(i=>{"DISABLED"!==i.control.status&&"VALID"!==i.control.status&&(t=!1),i.control.markAsTouched()}),t}onSubmit(){if(this.isValidForm()){const t={};this.userForm.forEach(i=>{t[i.id]=i.control.value}),this.http.put(m.N.url+"/ws/users/update/"+this.userId,{args:t},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("USER.updated")),this.historyService.addHistory("general","update_user",this.translate.instant("HISTORY-DESC.update-user",{user:t.lastname+" "+t.firstname})),this.router.navigate(["/settings/general/users/"]).then()}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}}getErrorMessage(t){let i;return this.userForm.forEach(a=>{a.id===t&&a.required&&!a.value&&!a.control.value&&(i=this.translate.instant("AUTH.field_required"))}),i}hasCustomer(t){for(const i of this.usersCustomers)if(i===t)return!0;return!1}updateUsersCustomers(t){let i=!1,a=0;for(const l of this.usersCustomers){if(l===t){i=!0;break}a+=1}i?this.usersCustomers.splice(a,1):this.usersCustomers.push(t),this.http.put(m.N.url+"/ws/users/customers/update/"+this.userId,{customers:this.usersCustomers},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("USER.customers_updated"))}),(0,Ke.K)(l=>(console.debug(l),this.notify.handleErrors(l,"/settings/general/users/"),(0,ie.of)(!1)))).subscribe()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Nt.gz),e.Y36(zi.K),e.Y36(A.qu),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-update"]],decls:36,vars:24,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],["mat-icon-button","",1,"absolute","right-2","top-2",3,"click"],[1,"flex","justify-center","items-center","align-middle"],[1,"grid","grid-cols-3","gap-6","w-full","m-10","text-center",3,"ngSubmit"],[4,"ngFor","ngForOf"],[1,"button","col-span-3"],["type","submit","mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300"],["mode","side","opened","","position","end",1,"customers","w-1/4","flex","flex-col","h-full","border-r","border-green-400"],["sidenav2",""],["class","relative","style","top: 40%",4,"ngIf"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],["class","block",3,"pointer-events-none",4,"ngIf"],["class","block",4,"ngIf"],[1,"block"],["matInput","",3,"readonly","formControl","type","placeholder","required"],[3,"formControl","value","required","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"relative",2,"top","40%"],[1,"text-center","overflow-hidden"],[1,"fa-solid","fa-circle-notch","fa-spin","fa-4x","w-full","text-gray-900",2,"--fa-animation-duration","1.5s"],["class","hover:bg-green-400 cursor-pointer m-2 w-auto",3,"bg-green-400","click",4,"ngFor","ngForOf"],[1,"hover:bg-green-400","cursor-pointer","m-2","w-auto",3,"click"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,aD,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,oD,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16),e.YNc(17,rD,4,3,"span",8),e.qZA(),e._UZ(18,"hr",4),e.qZA(),e.TgZ(19,"button",13),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(29);return e.KtG(h.toggle())}),e._UZ(20,"i",11),e.qZA()(),e.TgZ(21,"div",14)(22,"form",15),e.NdJ("ngSubmit",function(){return i.onSubmit()}),e.YNc(23,_D,3,2,"ng-container",16),e.TgZ(24,"div",17)(25,"button",18),e._uU(26),e.ALo(27,"translate"),e.qZA()()()()(),e.TgZ(28,"mat-sidenav",19,20)(30,"h3",3),e._uU(31),e.ALo(32,"translate"),e.qZA(),e._UZ(33,"mat-divider",4),e.YNc(34,pD,3,0,"div",21),e.YNc(35,mD,2,1,"mat-list",8),e.qZA()()}if(2&t){const a=e.MAs(2),l=e.MAs(29);e.xp6(4),e.Oqu(e.lcZ(5,18,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.hij(" ",i.serviceSettings.getTitle()," : "),e.xp6(1),e.Q6J("ngIf",i.user),e.xp6(3),e.ekj("transform",!l.opened)("rotate-180",!l.opened),e.xp6(3),e.Q6J("ngForOf",i.userForm),e.xp6(3),e.hij(" ",e.lcZ(27,20,"USER.update")," "),e.xp6(5),e.Oqu(e.lcZ(32,22,"ACCOUNTS.customers_list")),e.xp6(3),e.Q6J("ngIf",i.loadingCustomers),e.xp6(1),e.Q6J("ngIf",!i.loadingCustomers)}},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.TO,Rt.KE,Rt.hX,Be.gD,b.ey,an.Nt,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.ib,Zt.yz,Zt.yK,rn.i$,rn.Hk,rn.Tg,Rn.d,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.oH,A.F,Cn.R,$t.X$],styles:[".mat-drawer-inner-container{overflow-x:hidden!important}"]}),n})();function fD(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",36)(1,"button",37),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",38),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function CD(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,fD,6,11,"div",35),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function vD(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",29)(1,"mat-expansion-panel-header",30)(2,"mat-panel-title",31),e._UZ(3,"i"),e.TgZ(4,"button",32),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",33),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,CD,2,7,"div",34),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function xD(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,vD,9,15,"mat-expansion-panel",28),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function bD(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",32),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",33),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function yD(n,o){if(1&n&&e.YNc(0,bD,5,11,"button",39),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function TD(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,xD,2,1,"div",26),e.YNc(2,yD,1,1,"ng-template",null,27,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function MD(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",22),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",23)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",24),e.YNc(6,TD,4,6,"div",25),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function DD(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function ED(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessage(t.id))}}function wD(n,o){if(1&n&&(e.TgZ(0,"mat-form-field")(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",40),e.ALo(5,"translate"),e.YNc(6,ED,2,1,"mat-error",8),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,7,t.label)),e.xp6(2),e.s9C("placeholder",e.lcZ(5,9,t.label)),e.Q6J("value",t.control.value)("formControl",t.control)("type",t.type)("required",t.required),e.xp6(2),e.Q6J("ngIf",t.control.invalid)}}function SD(n,o){if(1&n&&(e.ynx(0),e.YNc(1,wD,7,11,"mat-form-field",8),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","text"===t.type)}}function AD(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-slide-toggle",46),e.NdJ("change",function(a){e.CHM(t);const l=e.oxw(3);return e.KtG(l.changePrivilege(a))}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw(3);e.Q6J("name",t)("checked",i.hasPrivilege(t)),e.xp6(1),e.hij(" ",e.lcZ(2,3,"PRIVILEGES."+t)," ")}}function LD(n,o){if(1&n&&(e.TgZ(0,"mat-tab",43)(1,"div",44),e.YNc(2,AD,3,5,"mat-slide-toggle",45),e.qZA()()),2&n){const t=o.$implicit,i=e.oxw(2);e.Q6J("label",i.translate.instant("PRIVILEGES."+t)),e.xp6(2),e.Q6J("ngForOf",i.getChildsByParent(t))}}function OD(n,o){if(1&n&&(e.TgZ(0,"mat-tab-group",41),e.YNc(1,LD,3,2,"mat-tab",42),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.privileges.parent)}}let kD=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt){this.http=t,this.router=i,this.route=a,this.formBuilder=l,this.authService=h,this.userService=E,this.translate=B,this.notify=oe,this.historyService=xe,this.serviceSettings=Ve,this.privilegesService=lt,this.loading=!0,this.rolePrivileges=[],this.roleForm=[{id:"label",label:this.translate.instant("HEADER.label"),type:"text",control:new A.NI,required:!0},{id:"label_short",label:this.translate.instant("HEADER.label_short"),type:"text",control:new A.NI,required:!0}]}ngOnInit(){this.serviceSettings.init(),this.http.get(m.N.url+"/ws/privileges/list",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.privileges=t}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t,"/settings/general/roles"),(0,ie.of)(!1)))).subscribe()}isValidForm(){let t=!0;return this.roleForm.forEach(i=>{"DISABLED"!==i.control.status&&"VALID"!==i.control.status&&(t=!1),i.control.markAsTouched()}),t}onSubmit(){if(this.isValidForm()){const t={};this.roleForm.forEach(a=>{t[a.id]=a.control.value});const i=[];this.privileges.privileges.forEach(a=>{this.rolePrivileges.forEach(l=>{a.label===l&&i.push(a.id)})}),this.http.post(m.N.url+"/ws/roles/create",{args:t},{headers:this.authService.headers}).pipe((0,$e.b)(a=>{this.http.put(m.N.url+"/ws/roles/updatePrivilege/"+a.id,{privileges:i},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.historyService.addHistory("general","create_role",this.translate.instant("HISTORY-DESC.create-role",{role:t.label})),this.notify.success(this.translate.instant("ROLE.created")),this.router.navigate(["/settings/general/roles/"]).then()}),(0,Ke.K)(h=>(console.debug(h),this.notify.handleErrors(h,"/settings/general/roles/"),(0,ie.of)(!1)))).subscribe()}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a,"/settings/general/roles/"),(0,ie.of)(!1)))).subscribe()}}getErrorMessage(t){let i;return this.roleForm.forEach(a=>{a.id===t&&a.required&&(i=this.translate.instant("AUTH.field_required"))}),i}hasPrivilege(t){let i=!1;return this.rolePrivileges&&this.rolePrivileges.forEach(a=>{t===a&&(i=!0)}),i}getChildsByParent(t){const i=[];return this.privileges.privileges.forEach(a=>{t===a.parent&&i.push(a.label)}),i}changePrivilege(t){const i=t.source.name;t.checked?this.rolePrivileges.push(i):this.rolePrivileges.forEach(l=>{if(i===l){const h=this.rolePrivileges.indexOf(i,0);this.rolePrivileges.splice(h,1)}})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Ri.eN),e.Y36(Nt.F0),e.Y36(Nt.gz),e.Y36(A.qu),e.Y36(pi.e),e.Y36(zi.K),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-create"]],decls:31,vars:18,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],[1,"flex","justify-center","items-center"],[1,"grid","grid-cols-2","gap-6","w-full","m-10","text-center",3,"ngSubmit"],[4,"ngFor","ngForOf"],[1,"w-1/2","m-auto","border-green-400"],[1,"text-center","mt-10","mb-10"],[1,"flex","justify-center","items-center","ml-10","mr-5"],["dynamicHeight","",4,"ngIf"],[1,"flex","justify-center","items-center","mt-10"],["mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300",3,"click"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],["matInput","",3,"value","formControl","type","placeholder","required"],["dynamicHeight",""],[3,"label",4,"ngFor","ngForOf"],[3,"label"],[1,"grid","grid-cols-4","gap-x-60","gap-y-10","mt-10"],[3,"name","checked","change",4,"ngFor","ngForOf"],[3,"name","checked","change"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,MD,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,DD,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16),e.qZA(),e._UZ(17,"hr",4),e.qZA()(),e.TgZ(18,"div",13)(19,"form",14),e.NdJ("ngSubmit",function(){return i.onSubmit()}),e.YNc(20,SD,2,1,"ng-container",15),e.qZA()(),e._UZ(21,"mat-divider",16),e.TgZ(22,"h4",17),e._uU(23),e.ALo(24,"translate"),e.qZA(),e.TgZ(25,"div",18),e.YNc(26,OD,2,1,"mat-tab-group",19),e.qZA(),e.TgZ(27,"div",20)(28,"button",21),e.NdJ("click",function(){return i.onSubmit()}),e._uU(29),e.ALo(30,"translate"),e.qZA()()()()}if(2&t){const a=e.MAs(2);e.xp6(4),e.Oqu(e.lcZ(5,12,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(4),e.Q6J("ngForOf",i.roleForm),e.xp6(3),e.Oqu(e.lcZ(24,14,"PRIVILEGES.list")),e.xp6(3),e.Q6J("ngIf",i.privileges),e.xp6(3),e.hij(" ",e.lcZ(30,16,"ROLE.create_role")," ")}},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.TO,Rt.KE,Rt.hX,Va.Rr,an.Nt,va.SP,va.uX,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.ib,Zt.yz,Zt.yK,rn.Hk,Rn.d,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.oH,A.F,Cn.R,$t.X$]}),n})();function ID(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",36)(1,"button",37),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",38),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function PD(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,ID,6,11,"div",35),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function RD(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",29)(1,"mat-expansion-panel-header",30)(2,"mat-panel-title",31),e._UZ(3,"i"),e.TgZ(4,"button",32),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",33),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,PD,2,7,"div",34),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function FD(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,RD,9,15,"mat-expansion-panel",28),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function ND(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",32),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",33),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function BD(n,o){if(1&n&&e.YNc(0,ND,5,11,"button",39),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function UD(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,FD,2,1,"div",26),e.YNc(2,BD,1,1,"ng-template",null,27,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function ZD(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",22),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",23)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",24),e.YNc(6,UD,4,6,"div",25),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function YD(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function HD(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Oqu(t.role.label)}}function VD(n,o){if(1&n&&(e.TgZ(0,"strong"),e._uU(1),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.hij(" (",t.role.label_short,")")}}function GD(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessage(t.id))}}function KD(n,o){if(1&n&&(e.TgZ(0,"mat-form-field")(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",41),e.ALo(5,"translate"),e.YNc(6,GD,2,1,"mat-error",8),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,7,t.label)),e.xp6(2),e.s9C("placeholder",e.lcZ(5,9,t.label)),e.Q6J("value",t.control.value)("formControl",t.control)("type",t.type)("required",t.required),e.xp6(2),e.Q6J("ngIf",t.control.invalid)}}function jD(n,o){if(1&n&&(e.TgZ(0,"mat-checkbox",42),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=e.oxw().$implicit;e.Q6J("formControl",t.control),e.xp6(1),e.hij(" ",e.lcZ(2,2,t.label)," ")}}function WD(n,o){if(1&n&&(e.ynx(0),e.YNc(1,KD,7,11,"mat-form-field",8),e.YNc(2,jD,3,4,"mat-checkbox",40),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","text"===t.type),e.xp6(1),e.Q6J("ngIf","checkbox"===t.type)}}function qD(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-slide-toggle",48),e.NdJ("change",function(a){e.CHM(t);const l=e.oxw(3);return e.KtG(l.changePrivilege(a))}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw(3);e.Q6J("name",t)("checked",i.hasPrivilege(t)),e.xp6(1),e.hij(" ",e.lcZ(2,3,"PRIVILEGES."+t)," ")}}function JD(n,o){if(1&n&&(e.TgZ(0,"mat-tab",45)(1,"div",46),e.YNc(2,qD,3,5,"mat-slide-toggle",47),e.qZA()()),2&n){const t=o.$implicit,i=e.oxw(2);e.Q6J("label",i.translate.instant("PRIVILEGES."+t)),e.xp6(2),e.Q6J("ngForOf",i.getChildsByParent(t))}}function $D(n,o){if(1&n&&(e.TgZ(0,"mat-tab-group",43),e.YNc(1,JD,3,2,"mat-tab",44),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.privileges.parent)}}let zD=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt){this.http=t,this.router=i,this.route=a,this.formBuilder=l,this.authService=h,this.userService=E,this.translate=B,this.notify=oe,this.historyService=xe,this.serviceSettings=Ve,this.privilegesService=lt,this.headers=this.authService.headers,this.loading=!0,this.roles=[],this.roleForm=[{id:"label",label:this.translate.instant("HEADER.label"),type:"text",control:new A.NI,required:!0},{id:"label_short",label:this.translate.instant("HEADER.label_short"),type:"text",control:new A.NI,required:!0},{id:"enabled",label:this.translate.instant("ROLE.enable"),type:"checkbox",control:new A.NI,required:!0}],this.parentLabel=[(0,He.J)("PRIVILEGES.general"),(0,He.J)("PRIVILEGES.administration"),(0,He.J)("PRIVILEGES.verifier"),(0,He.J)("PRIVILEGES.splitter"),(0,He.J)("PRIVILEGES.accounts")],this.privilegesLabel=[(0,He.J)("PRIVILEGES.access_verifier"),(0,He.J)("PRIVILEGES.access_splitter"),(0,He.J)("PRIVILEGES.settings"),(0,He.J)("PRIVILEGES.upload"),(0,He.J)("PRIVILEGES.users_list"),(0,He.J)("PRIVILEGES.add_user"),(0,He.J)("PRIVILEGES.update_user"),(0,He.J)("PRIVILEGES.roles_list"),(0,He.J)("PRIVILEGES.add_role"),(0,He.J)("PRIVILEGES.update_role"),(0,He.J)("PRIVILEGES.version_update"),(0,He.J)("PRIVILEGES.custom_fields"),(0,He.J)("PRIVILEGES.forms_list"),(0,He.J)("PRIVILEGES.customers_list"),(0,He.J)("PRIVILEGES.suppliers_list"),(0,He.J)("PRIVILEGES.create_supplier"),(0,He.J)("PRIVILEGES.update_supplier"),(0,He.J)("PRIVILEGES.change_language"),(0,He.J)("PRIVILEGES.form_builder"),(0,He.J)("PRIVILEGES.export_suppliers"),(0,He.J)("PRIVILEGES.import_suppliers"),(0,He.J)("PRIVILEGES.history"),(0,He.J)("PRIVILEGES.add_output"),(0,He.J)("PRIVILEGES.add_input"),(0,He.J)("PRIVILEGES.add_form"),(0,He.J)("PRIVILEGES.update_output"),(0,He.J)("PRIVILEGES.update_input"),(0,He.J)("PRIVILEGES.position_mask_list"),(0,He.J)("PRIVILEGES.update_form"),(0,He.J)("PRIVILEGES.inputs_list"),(0,He.J)("PRIVILEGES.outputs_list"),(0,He.J)("PRIVILEGES.add_position_mask"),(0,He.J)("PRIVILEGES.update_position_mask"),(0,He.J)("PRIVILEGES.create_customer"),(0,He.J)("PRIVILEGES.update_customer"),(0,He.J)("PRIVILEGES.document_type_splitter"),(0,He.J)("PRIVILEGES.separator_splitter"),(0,He.J)("PRIVILEGES.add_input_splitter"),(0,He.J)("PRIVILEGES.update_input_splitter"),(0,He.J)("PRIVILEGES.inputs_list_splitter"),(0,He.J)("PRIVILEGES.update_output_splitter"),(0,He.J)("PRIVILEGES.add_output_splitter"),(0,He.J)("PRIVILEGES.outputs_list_splitter"),(0,He.J)("PRIVILEGES.update_form_splitter"),(0,He.J)("PRIVILEGES.add_form_splitter"),(0,He.J)("PRIVILEGES.forms_list_splitter"),(0,He.J)("PRIVILEGES.statistics"),(0,He.J)("PRIVILEGES.configurations"),(0,He.J)("PRIVILEGES.docservers"),(0,He.J)("PRIVILEGES.regex"),(0,He.J)("PRIVILEGES.update_document_type"),(0,He.J)("PRIVILEGES.add_document_type"),(0,He.J)("PRIVILEGES.login_methods"),(0,He.J)("PRIVILEGES.verifier_display"),(0,He.J)("PRIVILEGES.mailcollect"),(0,He.J)("PRIVILEGES.user_quota")]}ngOnInit(){this.serviceSettings.init(),this.roleId=this.route.snapshot.params.id,this.http.get(m.N.url+"/ws/roles/getById/"+this.roleId,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.role=t;for(const i in t)t.hasOwnProperty(i)&&this.roleForm.forEach(a=>{a.id===i&&a.control.setValue(t[i])})}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),this.router.navigate(["/settings/general/roles"]).then(),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/privileges/getbyRoleId/"+this.roleId,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.rolePrivileges=t}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t,"/settings/general/roles"),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/privileges/list",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.privileges=t}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t,"/settings/general/roles"),(0,ie.of)(!1)))).subscribe()}isValidForm(){let t=!0;return this.roleForm.forEach(i=>{"DISABLED"!==i.control.status&&"VALID"!==i.control.status&&(t=!1),i.control.markAsTouched()}),t}onSubmit(){if(this.isValidForm()){const t={};this.roleForm.forEach(a=>{t[a.id]=a.control.value});const i=[];this.privileges.privileges.forEach(a=>{this.rolePrivileges.forEach(l=>{a.label===l&&i.push(a.id)})}),this.http.put(m.N.url+"/ws/roles/update/"+this.roleId,{args:t},{headers:this.authService.headers}).pipe((0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a,"/settings/general/roles/"),(0,ie.of)(!1)))).subscribe(),this.http.put(m.N.url+"/ws/roles/updatePrivilege/"+this.roleId,{privileges:i},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.historyService.addHistory("general","update_role",this.translate.instant("HISTORY-DESC.update-role",{role:t.label})),this.notify.success(this.translate.instant("ROLE.updated")),this.router.navigate(["/settings/general/roles/"]).then()}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a,"/settings/general/roles/"),(0,ie.of)(!1)))).subscribe()}}getErrorMessage(t){let i;return this.roleForm.forEach(a=>{a.id===t&&a.required&&(i=this.translate.instant("AUTH.field_required"))}),i}hasPrivilege(t){let i=!1;return this.rolePrivileges.forEach(a=>{t===a&&(i=!0)}),i}getChildsByParent(t){const i=[];return this.privileges.privileges.forEach(a=>{t===a.parent&&i.push(a.label)}),i}changePrivilege(t){const i=t.source.name;t.checked?this.rolePrivileges.push(i):this.rolePrivileges.forEach(l=>{if(i===l){const h=this.rolePrivileges.indexOf(i,0);this.rolePrivileges.splice(h,1)}})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Ri.eN),e.Y36(Nt.F0),e.Y36(Nt.gz),e.Y36(A.qu),e.Y36(pi.e),e.Y36(zi.K),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-update"]],decls:33,vars:20,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],[1,"flex","justify-center","items-center"],[1,"grid","grid-cols-3","gap-6","w-full","m-10","text-center",3,"ngSubmit"],[4,"ngFor","ngForOf"],[1,"w-1/2","m-auto","border-green-400"],[1,"text-center","mt-10","mb-10"],[1,"flex","justify-center","items-center","ml-10","mr-5"],["dynamicHeight","",4,"ngIf"],[1,"flex","justify-center","items-center","mt-10"],["mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300",3,"click"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],["class","mt-4 -ml-72",3,"formControl",4,"ngIf"],["matInput","",3,"value","formControl","type","placeholder","required"],[1,"mt-4","-ml-72",3,"formControl"],["dynamicHeight",""],[3,"label",4,"ngFor","ngForOf"],[3,"label"],[1,"grid","grid-cols-4","gap-x-40","gap-y-10","mt-10"],[3,"name","checked","change",4,"ngFor","ngForOf"],[3,"name","checked","change"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,ZD,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,YD,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16),e.YNc(17,HD,2,1,"span",8),e.YNc(18,VD,2,1,"strong",8),e.qZA(),e._UZ(19,"hr",4),e.qZA()(),e.TgZ(20,"div",13)(21,"form",14),e.NdJ("ngSubmit",function(){return i.onSubmit()}),e.YNc(22,WD,3,2,"ng-container",15),e.qZA()(),e._UZ(23,"mat-divider",16),e.TgZ(24,"h4",17),e._uU(25),e.ALo(26,"translate"),e.qZA(),e.TgZ(27,"div",18),e.YNc(28,$D,2,1,"mat-tab-group",19),e.qZA(),e.TgZ(29,"div",20)(30,"button",21),e.NdJ("click",function(){return i.onSubmit()}),e._uU(31),e.ALo(32,"translate"),e.qZA()()()()}if(2&t){const a=e.MAs(2);e.xp6(4),e.Oqu(e.lcZ(5,14,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.hij(" ",i.serviceSettings.getTitle()," : "),e.xp6(1),e.Q6J("ngIf",i.role),e.xp6(1),e.Q6J("ngIf",i.role),e.xp6(4),e.Q6J("ngForOf",i.roleForm),e.xp6(3),e.Oqu(e.lcZ(26,16,"PRIVILEGES.list")),e.xp6(3),e.Q6J("ngIf",i.privileges&&i.rolePrivileges),e.xp6(3),e.hij(" ",e.lcZ(32,18,"ROLE.update")," ")}},dependencies:[_e.sg,_e.O5,Nt.rH,Sa,Rt.TO,Rt.KE,Rt.hX,Va.Rr,an.Nt,va.SP,va.uX,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.ib,Zt.yz,Zt.yK,rn.Hk,Rn.d,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.oH,A.F,Cn.R,$t.X$],styles:[".mat-slide-toggle-content{overflow:inherit!important}"]}),n})();function QD(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",39)(1,"button",40),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",41),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function XD(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,QD,6,11,"div",38),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function eE(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",32)(1,"mat-expansion-panel-header",33)(2,"mat-panel-title",34),e._UZ(3,"i"),e.TgZ(4,"button",35),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",36),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,XD,2,7,"div",37),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function tE(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,eE,9,15,"mat-expansion-panel",31),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function iE(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",35),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",36),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function nE(n,o){if(1&n&&e.YNc(0,iE,5,11,"button",42),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function aE(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,tE,2,1,"div",29),e.YNc(2,nE,1,1,"ng-template",null,30,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function oE(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",25),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",26)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",27),e.YNc(6,aE,4,6,"div",28),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function rE(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function sE(n,o){1&n&&(e.TgZ(0,"mat-header-cell",43),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.id")," "))}function lE(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.id," ")}}function cE(n,o){1&n&&(e.TgZ(0,"mat-header-cell",43),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.label_short")," "))}function dE(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.input_id," ")}}function uE(n,o){1&n&&(e.TgZ(0,"mat-header-cell",43),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.label")," "))}function _E(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.input_label," ")}}function pE(n,o){1&n&&(e.TgZ(0,"mat-header-cell",43),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"INPUT.input_folder_header")," "))}function hE(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.input_folder," ")}}function mE(n,o){1&n&&e._UZ(0,"mat-header-cell")}function gE(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-cell")(1,"button",44),e.NdJ("click",function(a){const h=e.CHM(t).$implicit,E=e.oxw();return a.stopPropagation(),e.KtG(E.duplicateConfirmDialog(h.id,h.input_label))}),e.ALo(2,"translate"),e._UZ(3,"i",45),e.qZA(),e.TgZ(4,"button",44),e.NdJ("click",function(a){const h=e.CHM(t).$implicit,E=e.oxw();return a.stopPropagation(),e.KtG(E.deleteConfirmDialog(h.id,h.input_label))}),e.ALo(5,"translate"),e._UZ(6,"i",46),e.qZA()()}2&n&&(e.xp6(1),e.s9C("matTooltip",e.lcZ(2,2,"INPUT.duplicate")),e.xp6(3),e.s9C("matTooltip",e.lcZ(5,4,"GLOBAL.delete")))}function fE(n,o){1&n&&e._UZ(0,"mat-header-row")}function CE(n,o){1&n&&e._UZ(0,"mat-row",47),2&n&&e.MGl("routerLink","/settings/verifier/inputs/update/",o.$implicit.id,"")}const vE=function(){return[5,10,15,20,50]};let xE=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt,Ft){this.router=t,this.http=i,this.dialog=a,this.userService=l,this.authService=h,this.translate=E,this.notify=B,this.historyService=oe,this.serviceSettings=xe,this.routerExtService=Ve,this.privilegesService=lt,this.localStorageService=Ft,this.headers=this.authService.headers,this.columnsToDisplay=["id","input_id","input_label","input_folder","actions"],this.loading=!0,this.inputs=[],this.allInputs=[],this.pageSize=10,this.pageIndex=0,this.total=0,this.offset=0}ngOnInit(){this.serviceSettings.init();const t=this.routerExtService.getPreviousUrl();t.includes("settings/verifier/inputs")||"/"===t?(this.localStorageService.get("inputsPageIndex")&&(this.pageIndex=parseInt(this.localStorageService.get("inputsPageIndex"))),this.offset=this.pageSize*this.pageIndex):this.localStorageService.remove("inputsPageIndex"),this.http.get(m.N.url+"/ws/inputs/list?module=verifier",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.allInputs=i.inputs}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe(),this.loadInputs()}loadInputs(){this.http.get(m.N.url+"/ws/inputs/list?module=verifier&limit="+this.pageSize+"&offset="+this.offset,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.inputs[0]?this.total=t.inputs[0].total:0!==this.pageIndex&&(this.pageIndex=this.pageIndex-1,this.offset=this.pageSize*this.pageIndex,this.loadInputs()),this.inputs=t.inputs}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}onPageChange(t){this.pageSize=t.pageSize,this.offset=this.pageSize*t.pageIndex,this.pageIndex=t.pageIndex,this.localStorageService.save("inputsPageIndex",t.pageIndex),this.loadInputs()}deleteConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("INPUT.confirm_delete",{input:i}),confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.deleteInput(t),this.historyService.addHistory("verifier","delete_input",this.translate.instant("HISTORY-DESC.delete-input",{input:i})))})}deleteInput(t){void 0!==t&&this.http.delete(m.N.url+"/ws/inputs/delete/"+t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadInputs(),this.notify.success(this.translate.instant("INPUT.input_deleted"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}duplicateConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("INPUT.confirm_duplicate",{input:i}),confirmButton:this.translate.instant("GLOBAL.duplicate"),confirmButtonColor:"green",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.duplicateInput(t),this.historyService.addHistory("verifier","duplicate_input",this.translate.instant("HISTORY-DESC.duplicate-input",{input:i})))})}duplicateInput(t){void 0!==t&&this.http.post(m.N.url+"/ws/inputs/duplicate/"+t,{},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadInputs(),this.notify.success(this.translate.instant("INPUT.input_duplicated"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}sortData(t){const i=this.allInputs.slice();t.active&&""!==t.direction?(this.inputs=i.sort((a,l)=>{const h="asc"===t.direction;switch(t.active){case"id":return this.compare(a.id,l.id,h);case"label_short":return this.compare(a.label_short,l.label_short,h);case"label":return this.compare(a.label,l.label,h);default:return 0}}),this.inputs=this.inputs.splice(0,this.pageSize)):this.inputs=i.splice(0,this.pageSize)}compare(t,i,a){return(t{class n{constructor(t){this.el=t}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq))},n.\u0275dir=e.lG2({type:n,selectors:[["","ngSortgridDragHandle",""]]}),n})(),A2=(()=>{class n{constructor(){this.SELECTED_DEFAULT_CLASS="ng-sg-selected",this.PLACEHOLDER_DEFAULT_CLASS="ng-sg-placeholder",this.DROPPED_DEFAULT_CLASS="ng-sg-dropped",this.ACTIVE_DEFAULT_CLASS="ng-sg-active"}addPlaceHolderClass(t){t.classList.add(this.PLACEHOLDER_DEFAULT_CLASS)}removePlaceHolderClass(t){t.classList.remove(this.PLACEHOLDER_DEFAULT_CLASS)}addDroppedClass(t){t.classList.add(this.DROPPED_DEFAULT_CLASS)}removeDroppedClass(t){t.classList.remove(this.DROPPED_DEFAULT_CLASS)}addSelectedClass(t){t.classList.add(this.SELECTED_DEFAULT_CLASS)}removeSelectedClass(t){t.classList.remove(this.SELECTED_DEFAULT_CLASS)}addActiveClass(t){t.classList.add(this.ACTIVE_DEFAULT_CLASS)}removeActiveClass(t){t.classList.remove(this.ACTIVE_DEFAULT_CLASS)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),K1=(()=>{class n{constructor(){this.state=new Map}initState(t,i=[],a={}){this.state.set(t,{items:[...i],classes:a,selectedItems:[]})}addSelectedItem(t,i){this.state.get(t).selectedItems.push(i)}removeSelectedItem(t,i){const a=this.state.get(t).selectedItems.filter(l=>l.node!==i);this.setSelectedItems(t,a)}setItems(t,i){this.state.get(t).items=[...i]}getItems(t){return this.state.get(t).items}hasItems(t){return this.getItems(t).length>0}hasGroup(t){return this.state.has(t)}getSelectedItems(t){return this.state.get(t).selectedItems}setSelectedItems(t,i){this.state.get(t).selectedItems=[...i]}getFirstSelectItem(t){return this.state.get(t).selectedItems[0]}hasSelectedItems(t){return this.getSelectedItems(t).length>0}resetSelectedItems(t){this.setSelectedItems(t,[])}getClasses(t){return this.state.get(t).classes}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),AE=(()=>{class n{constructor(t,i){this.classService=t,this.ngsgStore=i}initSort(t){this.dragIndex=this.ngsgStore.getFirstSelectItem(t).originalIndex,this.dragElements=this.ngsgStore.getSelectedItems(t)}sort(t){const i=xm.findIndex(t),a=this.getSibling(t,this.dragIndex,i);this.isDropInSelection(a)||(this.dragElements.forEach(l=>{const h=t.parentNode.insertBefore(l.node,a.node);this.classService.addPlaceHolderClass(h)}),this.dragIndex=xm.findIndex(this.dragElements[0].node))}endSort(){this.dragElements.forEach(t=>{this.updateDropedItem(t.node)})}getSibling(t,i,a){return ii.node===t.node)}updateDropedItem(t){this.classService.removePlaceHolderClass(t),this.classService.addDroppedClass(t),this.classService.removeSelectedClass(t),this.classService.removeActiveClass(t),(0,tp.H)(500).subscribe(()=>this.classService.removeDroppedClass(t))}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(A2),e.LFG(K1))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var bm=(()=>{return(n=bm||(bm={}))[n.ADD=0]="ADD",n[n.REMOVE=1]="REMOVE",bm;var n})();let LE=(()=>{class n{constructor(t,i){this.classService=t,this.ngsgStore=i,this.COMMAND_KEY="Meta",this.CONTROL_KEY="Control",this.selectionChange$=new Ye.x;const a=this.selectionKeyPressed();this.selectionChange$.pipe(function ME(...n){const o=(0,TE.jO)(n);return(0,OT.e)((t,i)=>{const a=n.length,l=new Array(a);let h=n.map(()=>!1),E=!1;for(let B=0;B{l[B]=oe,!E&&!h[B]&&(h[B]=!0,(E=h.every(bE.y))&&(h=null))},yE.Z));t.subscribe((0,G1.x)(i,B=>{if(E){const oe=[B,...l];i.next(o?o(...oe):oe)}}))})}(a)).subscribe(([l,h])=>{h?this.handleSelectionChange(l):this.resetSelectedItems(l.key)})}resetSelectedItems(t){this.ngsgStore.getSelectedItems(t).forEach(i=>this.classService.removeSelectedClass(i.node)),this.ngsgStore.resetSelectedItems(t)}handleSelectionChange(t){t.action===bm.ADD&&(this.classService.addSelectedClass(t.item),this.ngsgStore.addSelectedItem(t.key,{node:t.item,originalIndex:xm.findIndex(t.item)})),t.action===bm.REMOVE&&(this.classService.removeSelectedClass(t.item),this.ngsgStore.removeSelectedItem(t.key,t.item))}selectionKeyPressed(){const t=(0,is.R)(window,"keydown").pipe((0,Mo.h)(a=>a.key===this.COMMAND_KEY||a.key===this.CONTROL_KEY),(0,IT.h)(!0)),i=(0,is.R)(window,"keyup").pipe((0,IT.h)(!1));return(0,ma.T)(t,i)}selectElementIfNoSelection(t,i){this.ngsgStore.hasSelectedItems(t)||this.ngsgStore.addSelectedItem(t,{node:i,originalIndex:xm.findIndex(i)})}updateSelectedDragItem(t,i,a){this.selectionChange$.next({key:t,item:i,action:a?bm.ADD:bm.REMOVE})}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(A2),e.LFG(K1))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),OE=(()=>{class n{constructor(t){this.ngsgStore=t}reflectChanges(t,i){const a=this.ngsgStore.getItems(t),l=this.ngsgStore.getSelectedItems(t),h=this.getSelectedElementsIndices(l),E=this.getSelectedItems(a,h),B=h.sort((Ve,lt)=>Ve-lt),oe=this.findDropIndex(l,i);for(;B.length>0;)a.splice(B.pop(),1);const xe=this.getReflectedItems(a,E,oe);return this.ngsgStore.setItems(t,xe),xe}getReflectedItems(t,i,a){return[...t.slice(0,a),...i,...t.slice(a,t.length)]}getSelectedItems(t,i){const a=[];return i.forEach(l=>{a.push(t[l])}),a}getSelectedElementsIndices(t){return t.map(i=>i.originalIndex)}findDropIndex(t,i){return this.isDropInSelection(t,i)?xm.findIndex(t[0].node):xm.findIndex(i)}isDropInSelection(t,i){return!!t.find(a=>a.node===i)}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(K1))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),kE=(()=>{class n{constructor(){this.dropped$=new Ye.x}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),IE=(()=>{class n{constructor(t){this.document=t,this.DEFAULT_SCROLLSPEED=50,this.SCROLL_BUFFER=50,this.window=t.defaultView}scrollIfNecessary(t,i={},a){const l=t.pageY-this.window.scrollY;this.isTopScrollNeeded(l,i.top)?this.window.scrollBy({top:-a||-this.DEFAULT_SCROLLSPEED,behavior:"smooth"}):this.isBottomScrollNeeded(l,i.bottom)&&this.window.scrollBy({top:a||this.DEFAULT_SCROLLSPEED,behavior:"smooth"})}isTopScrollNeeded(t,i){return i?ti:t>this.window.innerHeight-this.SCROLL_BUFFER}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(_e.K0))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),RT=(()=>{class n{constructor(t,i,a,l,h,E,B,oe){this.el=t,this.sortService=i,this.selectionService=a,this.reflectService=l,this.ngsgStore=h,this.ngsgEventService=E,this.scrollHelperService=B,this.classService=oe,this.ngSortGridGroup="defaultGroup",this.autoScroll=!1,this.sorted=new e.vpe,this.selected=!1,this.destroy$=new Ye.x}ngOnInit(){this.ngsgEventService.dropped$.pipe((0,$i.R)(this.destroy$)).subscribe(()=>this.selected=!1),(0,is.R)(this.el.nativeElement,"drag").pipe(function EE(n,o=nC.z,t=PT){const i=(0,tp.H)(n,o);return function DE(n,o=PT){return(0,OT.e)((t,i)=>{const{leading:a,trailing:l}=o;let h=!1,E=null,B=null,oe=!1;const xe=()=>{null==B||B.unsubscribe(),B=null,l&&(Ft(),oe&&i.complete())},Ve=()=>{B=null,oe&&i.complete()},lt=ii=>B=(0,kT.Xf)(n(ii)).subscribe((0,G1.x)(i,xe,Ve)),Ft=()=>{if(h){h=!1;const ii=E;E=null,i.next(ii),!oe&<(ii)}};t.subscribe((0,G1.x)(i,ii=>{h=!0,E=ii,(!B||B.closed)&&(a?Ft():lt(ii))},()=>{oe=!0,(!(l&&h&&B)||B.closed)&&i.complete()}))})}(()=>i,t)}(20),(0,$i.R)(this.destroy$),(0,wE.o)(()=>this.autoScroll)).subscribe(()=>{this.scrollHelperService.scrollIfNecessary(event,{top:this.scrollPointTop,bottom:this.scrollPointBottom},this.scrollSpeed)})}ngOnChanges(t){const i=t.ngSortGridItems,a=i.currentValue?i.currentValue:[];this.ngsgStore.hasGroup(this.ngSortGridGroup)?this.ngsgStore.setItems(this.ngSortGridGroup,a):this.ngsgStore.initState(this.ngSortGridGroup,a)}ngAfterViewInit(){var t,i;this.handleElement=(null===(i=null===(t=this.handle)||void 0===t?void 0:t.el)||void 0===i?void 0:i.nativeElement)||this.el.nativeElement,(0,is.R)(this.handleElement,"mousedown").pipe((0,$i.R)(this.destroy$)).subscribe(()=>{this.el.nativeElement.draggable=!0})}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}dragStart(t){!this.occuredOnHost(t)||(this.selectionService.selectElementIfNoSelection(this.ngSortGridGroup,t.target),this.classService.addActiveClass(t.target),this.sortService.initSort(this.ngSortGridGroup))}dragEnter(){!this.ngsgStore.hasSelectedItems(this.ngSortGridGroup)||this.sortService.sort(this.el.nativeElement)}dragOver(t){return t.preventDefault&&t.preventDefault(),!1}drop(){if(this.el.nativeElement.draggable=!1,!this.ngsgStore.hasSelectedItems(this.ngSortGridGroup))return;if(!this.ngsgStore.hasItems(this.ngSortGridGroup))return void console.warn("Ng-sortgrid: No items provided - please use [sortGridItems] to pass in an array of items -\n otherwhise the ordered items can not be emitted in the (sorted) event");const t=[...this.ngsgStore.getItems(this.ngSortGridGroup)];this.sortService.endSort();const i=this.reflectService.reflectChanges(this.ngSortGridGroup,this.el.nativeElement);this.sorted.next({previousOrder:t,currentOrder:i}),this.ngsgStore.resetSelectedItems(this.ngSortGridGroup),this.ngsgEventService.dropped$.next(!0)}clicked(){this.selected=!this.isItemCurrentlySelected(),this.selectionService.updateSelectedDragItem(this.ngSortGridGroup,this.el.nativeElement,this.selected)}isItemCurrentlySelected(){const t=xm.findIndex(this.el.nativeElement);return!!this.ngsgStore.getSelectedItems(this.ngSortGridGroup).find(i=>i.originalIndex===t)}occuredOnHost(t){return t.target.matches("[ngSortgridItem]")}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(AE),e.Y36(LE),e.Y36(OE),e.Y36(K1),e.Y36(kE),e.Y36(IE),e.Y36(A2))},n.\u0275dir=e.lG2({type:n,selectors:[["","ngSortgridItem",""]],contentQueries:function(t,i,a){if(1&t&&e.Suo(a,SE,5),2&t){let l;e.iGM(l=e.CRH())&&(i.handle=l.first)}},hostBindings:function(t,i){1&t&&e.NdJ("dragstart",function(l){return i.dragStart(l)})("dragenter",function(){return i.dragEnter()})("dragover",function(l){return i.dragOver(l)})("dragend",function(){return i.drop()})("click",function(){return i.clicked()})},inputs:{ngSortGridGroup:"ngSortGridGroup",ngSortGridItems:"ngSortGridItems",scrollPointTop:"scrollPointTop",scrollPointBottom:"scrollPointBottom",scrollSpeed:"scrollSpeed",autoScroll:"autoScroll"},outputs:{sorted:"sorted"},features:[e.TTD]}),n})(),RE=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({}),n})();function FE(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",34)(1,"button",35),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",36),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function NE(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,FE,6,11,"div",33),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function BE(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",27)(1,"mat-expansion-panel-header",28)(2,"mat-panel-title",29),e._UZ(3,"i"),e.TgZ(4,"button",30),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",31),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,NE,2,7,"div",32),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function UE(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,BE,9,15,"mat-expansion-panel",26),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function ZE(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",30),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",31),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function YE(n,o){if(1&n&&e.YNc(0,ZE,5,11,"button",37),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function HE(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,UE,2,1,"div",24),e.YNc(2,YE,1,1,"ng-template",null,25,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function VE(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",20),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",21)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",22),e.YNc(6,HE,4,6,"div",23),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function GE(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function KE(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field")(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",54),e.TgZ(5,"mat-hint",55),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.modalOpen=!0)}),e._uU(6),e.ALo(7,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2);e.ekj("z-50",t.modalOpen),e.xp6(2),e.Oqu(e.lcZ(3,5,"FORMS.automatic_validation_data")),e.xp6(2),e.Q6J("formControl",t.formSettings.automatic_validation_data.control),e.xp6(2),e.hij(" ",e.lcZ(7,7,"FORMS.automatic_validation_data_hint")," ")}}function jE(n,o){if(1&n&&(e.TgZ(0,"mat-option",60),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.s9C("value",t.id),e.xp6(1),e.hij(" ",t.output_label," ")}}function WE(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",61),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw(3);return a.stopPropagation(),e.KtG(l.addOutput())}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon",62),e._uU(3,"add_circle"),e.qZA()()}2&n&&e.s9C("matTooltip",e.lcZ(1,1,"OUTPUT.add"))}function qE(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",63),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw().index,h=e.oxw(2);return a.stopPropagation(),e.KtG(h.removeOutput(l))}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon",64),e._uU(3,"delete_forever"),e.qZA()()}2&n&&e.s9C("matTooltip",e.lcZ(1,1,"OUTPUT.remove"))}function JE(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field")(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",56),e.NdJ("ngModelChange",function(a){const h=e.CHM(t).$implicit;return e.KtG(h.control.value=a)}),e.YNc(5,jE,2,2,"mat-option",57),e.qZA(),e.YNc(6,WE,4,3,"span",58),e.YNc(7,qE,4,3,"span",59),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw(2);e.xp6(2),e.Oqu(e.lcZ(3,5,"HEADER.choose_output")),e.xp6(2),e.Q6J("ngModel",t.control.value),e.xp6(1),e.Q6J("ngForOf",i.outputs),e.xp6(1),e.Q6J("ngIf",!t.canRemove),e.xp6(1),e.Q6J("ngIf",t.canRemove)}}function $E(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"i",77),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(),l=a.index,h=a.$implicit,E=e.oxw().$implicit,B=e.oxw(2);return e.KtG(B.deleteField(l,E.id,h.unit))}),e.qZA()}if(2&n){const t=e.oxw(4);e.Q6J("matTooltip",t.translate.instant("FORMS.delete_field"))}}function zE(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"i",78),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().$implicit;return e.KtG(a.edit_name=!0)}),e.qZA()}if(2&n){const t=e.oxw(4);e.Q6J("matTooltip",t.translate.instant("FORMS.update_label"))}}function QE(n,o){1&n&&(e.TgZ(0,"span",81),e._uU(1,"*"),e.qZA())}function XE(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=e.oxw(2).$implicit;e.xp6(1),e.hij(" (",e.lcZ(2,1,"FORMATS."+t.format),")")}}function ew(n,o){1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" (",e.lcZ(2,1,"FORMATS.select"),")"))}function tw(n,o){1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" (",e.lcZ(2,1,"FORMATS.textarea"),")"))}function iw(n,o){if(1&n&&(e.TgZ(0,"span",79),e.YNc(1,QE,2,0,"span",80),e.TgZ(2,"strong"),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.YNc(5,XE,3,3,"span",8),e.YNc(6,ew,3,3,"span",8),e.YNc(7,tw,3,3,"span",8),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.Q6J("ngIf",t.required),e.xp6(2),e.Oqu(e.lcZ(4,5,t.label)),e.xp6(2),e.Q6J("ngIf","select"!==t.type&&"textarea"!==t.type),e.xp6(1),e.Q6J("ngIf","select"===t.type),e.xp6(1),e.Q6J("ngIf","textarea"===t.type)}}function nw(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",82)(1,"mat-form-field",83)(2,"input",84),e.NdJ("keyup.enter",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw(3);return e.KtG(h.updateValue(a,l))})("focusout",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw(3);return e.KtG(h.updateValue(a,l))}),e.ALo(3,"translate"),e.qZA()(),e.TgZ(4,"button",85),e.ALo(5,"translate"),e._UZ(6,"i",86),e.qZA()()}if(2&n){const t=e.oxw().$implicit;e.xp6(2),e.Q6J("value",e.lcZ(3,2,t.label)),e.xp6(2),e.s9C("matTooltip",e.lcZ(5,4,"CONFIGURATIONS.validate"))}}function aw(n,o){if(1&n&&(e.TgZ(0,"button",92),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){e.oxw();const t=e.MAs(23),i=e.oxw().$implicit;e.Akn("background-color:"+i.color),e.ekj("text-white","black"===i.color||"navy"===i.color),e.Q6J("matMenuTriggerFor",t),e.xp6(1),e.hij(" ",e.lcZ(2,6,"VERIFIER.colors")," ")}}function ow(n,o){if(1&n&&(e.TgZ(0,"button",92),e._uU(1),e.ALo(2,"translate"),e.TgZ(3,"small",93),e._UZ(4,"i"),e.qZA()()),2&n){e.oxw();const t=e.MAs(26),i=e.oxw().$implicit;e.Q6J("matMenuTriggerFor",t),e.xp6(1),e.hij(" ",e.lcZ(2,5,"VERIFIER.format")," "),e.xp6(3),e.Gre("text-base text-green-400 ",i.format_icon,"")}}function rw(n,o){if(1&n&&(e.TgZ(0,"button",92),e._uU(1),e.ALo(2,"translate"),e.TgZ(3,"small",93),e._UZ(4,"i"),e.qZA()()),2&n){e.oxw();const t=e.MAs(29),i=e.oxw().$implicit;e.Q6J("matMenuTriggerFor",t),e.xp6(1),e.hij(" ",e.lcZ(2,5,"VERIFIER.display")," "),e.xp6(3),e.Gre("text-base text-green-400 ",i.display_icon,"")}}function sw(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",102),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw(2).$implicit,E=e.oxw().$implicit,B=e.oxw(2);return e.KtG(B.changeClass(h.id,l.id,l.label,E.id))}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw(2).$implicit;e.ekj("bg-green-400",t.id===i.class),e.Q6J("id",i.id),e.xp6(1),e.hij(" ",e.lcZ(2,4,t.label)," ")}}function lw(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",102),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw(2).$implicit,E=e.oxw().$implicit,B=e.oxw(2);return e.KtG(B.changeColor(h.id,l.id,E.id))}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw(2).$implicit;e.Akn("background-color:"+t.id),e.ekj("text-white","black"===t.id||"navy"===t.id),e.Q6J("id",i.id),e.xp6(1),e.hij(" ",e.lcZ(2,6,t.label)," ")}}function cw(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",102),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw(2).$implicit,E=e.oxw().$implicit,B=e.oxw(2);return e.KtG(B.changeFormat(h.id,l.id,l.icon,E.id))}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw(2).$implicit;e.ekj("bg-green-400",t.id===i.format),e.Q6J("id",i.id),e.xp6(1),e.hij(" ",e.lcZ(2,4,t.label)," ")}}function dw(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",102),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw(2).$implicit,E=e.oxw().$implicit,B=e.oxw(2);return e.KtG(B.changeDisplay(h.id,l.id,l.icon,E.id))}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw(2).$implicit;e.ekj("bg-green-400",t.id===i.display),e.Q6J("id",i.id),e.xp6(1),e.hij(" ",e.lcZ(2,4,t.label)," ")}}function uw(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",102),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw(2).$implicit,E=e.oxw().$implicit,B=e.oxw(2);return e.KtG(B.changeRequired(h.id,l.id,l.icon,E.id))}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw(2).$implicit;e.ekj("bg-green-400",t.id===i.required),e.Q6J("id",i.id),e.xp6(1),e.hij(" ",e.lcZ(2,4,t.label)," ")}}function _w(n,o){if(1&n&&(e.TgZ(0,"div",87)(1,"button",88)(2,"mat-icon",89),e._uU(3,"more_vert"),e.qZA()(),e.TgZ(4,"mat-menu",null,90),e.YNc(6,aw,3,8,"button",91),e.TgZ(7,"button",92),e._uU(8),e.ALo(9,"translate"),e.TgZ(10,"small",93),e._uU(11),e.qZA()(),e.YNc(12,ow,5,7,"button",94),e.YNc(13,rw,5,7,"button",94),e.TgZ(14,"button",92),e._uU(15),e.ALo(16,"translate"),e.TgZ(17,"small",93),e._UZ(18,"i"),e.qZA()()(),e.TgZ(19,"mat-menu",null,95),e.YNc(21,sw,3,6,"button",96),e.qZA(),e.TgZ(22,"mat-menu",null,97),e.YNc(24,lw,3,8,"button",98),e.qZA(),e.TgZ(25,"mat-menu",null,99),e.YNc(27,cw,3,6,"button",96),e.qZA(),e.TgZ(28,"mat-menu",null,100),e.YNc(30,dw,3,6,"button",96),e.qZA(),e.TgZ(31,"mat-menu",null,101),e.YNc(33,uw,3,6,"button",96),e.qZA()()),2&n){const t=e.MAs(5),i=e.MAs(20),a=e.MAs(32),l=e.oxw().$implicit,h=e.oxw(3);e.xp6(1),e.Q6J("matMenuTriggerFor",t)("matTooltip",h.translate.instant("VERIFIER.field_settings")),e.xp6(5),e.Q6J("ngIf","select"!==l.type),e.xp6(1),e.Q6J("matMenuTriggerFor",i),e.xp6(1),e.hij(" ",e.lcZ(9,18,"VERIFIER.size")," "),e.xp6(3),e.Oqu(l.class_label),e.xp6(1),e.Q6J("ngIf","select"!==l.type),e.xp6(1),e.Q6J("ngIf","select"!==l.type),e.xp6(1),e.Q6J("matMenuTriggerFor",a),e.xp6(1),e.hij(" ",e.lcZ(16,20,"VERIFIER.required")," "),e.xp6(3),e.Gre("text-base text-green-400 ",l.required_icon,""),e.xp6(3),e.Q6J("ngForOf",h.classList),e.xp6(3),e.Q6J("ngForOf",h.colorsList),e.xp6(3),e.Q6J("ngForOf",h.formatList),e.xp6(3),e.Q6J("ngForOf",h.displayList),e.xp6(3),e.Q6J("ngForOf",h.mandatoryList)}}function pw(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div")(1,"i",103),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().$implicit;return e.KtG(a.fullSizeSelected=!a.fullSizeSelected)}),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()()}if(2&n){const t=e.oxw().$implicit;e.xp6(1),e.ekj("text-green-400",t.fullSizeSelected),e.Q6J("matTooltip",t.fullSizeSelected?e.lcZ(2,3,"VERIFIER.full_line"):e.lcZ(3,5,"VERIFIER.make_line"))}}const hw=function(n,o){return{"w-full":n,"w-11/12":o}};function mw(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",69),e.NdJ("sorted",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw(2);return e.KtG(h.storeNewOrder(a,l.id))}),e.TgZ(1,"mat-form-field",70),e.NdJ("click",function(a){const h=e.CHM(t).index,E=e.oxw().$implicit,B=e.oxw(2);return e.KtG(B.selectForLine(a,B.fields[E.id][h]))}),e.YNc(2,$E,1,1,"i",71),e.YNc(3,zE,1,1,"i",72),e.YNc(4,iw,8,7,"span",73),e.YNc(5,nw,7,6,"span",74),e._UZ(6,"input",75),e.YNc(7,_w,34,22,"div",76),e.qZA(),e.YNc(8,pw,4,7,"div",8),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw().$implicit,a=e.oxw(2);e.Tol(t.class),e.Q6J("ngSortGridItems",a.fields[i.id])("ngSortGridGroup",i.id),e.xp6(1),e.ekj("bg-opacity-30",t.lineSelected)("px-3",!t.lineSelected)("px-6",t.lineSelected)("bg-gray-900",t.lineSelected),e.Q6J("ngClass",e.WLB(19,hw,!t.lineSelected,t.lineSelected)),e.xp6(1),e.Q6J("ngIf",!t.edit_name),e.xp6(1),e.Q6J("ngIf",!t.edit_name),e.xp6(1),e.Q6J("ngIf",!t.edit_name),e.xp6(1),e.Q6J("ngIf",t.edit_name),e.xp6(2),e.Q6J("ngIf",!t.edit_name),e.xp6(1),e.Q6J("ngIf",t.fullSize)}}function gw(n,o){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"div",65),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"div",66)(5,"div",67),e.NdJ("cdkDropListDropped",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.dropFromForm(a))}),e.YNc(6,mw,9,22,"div",68),e.qZA()(),e.BQk()}if(2&n){const t=o.$implicit,i=e.oxw(2);e.xp6(1),e.Akn("width:calc(3% + "+i.translate.instant(t.label).length+"%)"),e.xp6(1),e.hij(" ",e.lcZ(3,5,t.label)," "),e.xp6(3),e.Q6J("id",t.id),e.xp6(1),e.Q6J("ngForOf",i.fields[t.id])}}function fw(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",104),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.createForm())}),e._uU(1),e.ALo(2,"translate"),e.qZA()}2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"FORMS.create")," "))}function Cw(n,o){1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"FORMS.modify")))}function vw(n,o){1&n&&e._UZ(0,"i",107)}function xw(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",105),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.updateForm())}),e.YNc(1,Cw,3,3,"span",8),e.YNc(2,vw,1,0,"i",106),e.qZA()}if(2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",!t.updateFormLoading),e.xp6(1),e.Q6J("ngIf",t.updateFormLoading)}}function bw(n,o){1&n&&e._UZ(0,"mat-divider",120)}function yw(n,o){if(1&n&&(e.TgZ(0,"div",117)(1,"span"),e._uU(2),e.ALo(3,"translate"),e.TgZ(4,"span",118),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.YNc(7,bw,1,0,"mat-divider",119),e.qZA()()),2&n){const t=o.$implicit,i=o.index;e.xp6(2),e.hij(" ",e.lcZ(3,3,t.label)," "),e.xp6(3),e.Oqu(e.lcZ(6,5,t.id)),e.xp6(2),e.Q6J("ngIf",0===i)}}function Tw(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",108)(1,"div",109)(2,"div",110)(3,"div",111)(4,"h3",3),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.TgZ(7,"button",112),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.modalOpen=!1)}),e._UZ(8,"i",113),e.qZA()(),e.TgZ(9,"div",114)(10,"div",115),e.YNc(11,yw,8,7,"div",116),e.qZA()()()()()}if(2&n){const t=e.oxw(2);e.xp6(5),e.hij(" ",e.lcZ(6,2,"FORMS.available_fields")," "),e.xp6(6),e.Q6J("ngForOf",t.availableFields)}}function Mw(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",38)(1,"div",39)(2,"mat-form-field")(3,"mat-label"),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"input",40),e.qZA(),e.TgZ(7,"div",41)(8,"mat-slide-toggle",42),e._uU(9),e.ALo(10,"translate"),e.qZA()(),e.TgZ(11,"div",43)(12,"mat-slide-toggle",42),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.TgZ(15,"mat-hint",44),e._uU(16),e.ALo(17,"translate"),e.qZA()(),e.TgZ(18,"div",41)(19,"mat-slide-toggle",45),e.NdJ("change",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.openAvailableField=!a.openAvailableField)}),e._uU(20),e.ALo(21,"translate"),e.qZA()(),e.YNc(22,KE,8,9,"mat-form-field",46),e.TgZ(23,"div",43)(24,"mat-slide-toggle",42),e._uU(25),e.ALo(26,"translate"),e.qZA(),e.TgZ(27,"mat-hint",44),e._uU(28),e.ALo(29,"translate"),e.qZA()(),e.YNc(30,JE,8,7,"mat-form-field",47),e.qZA(),e.TgZ(31,"div",48),e.YNc(32,gw,7,7,"ng-container",47),e.qZA(),e.TgZ(33,"div",49)(34,"button",50),e.YNc(35,fw,3,3,"span",51),e.YNc(36,xw,3,2,"span",52),e.qZA()(),e.YNc(37,Tw,12,4,"div",53),e.qZA()}if(2&n){const t=e.oxw();e.xp6(4),e.Oqu(e.lcZ(5,18,"FORMS.label")),e.xp6(2),e.Q6J("formControl",t.form.label.control),e.xp6(2),e.Q6J("formControl",t.form.default_form.control),e.xp6(1),e.hij(" ",e.lcZ(10,20,"FORMS.is_default")," "),e.xp6(3),e.Q6J("formControl",t.formSettings.delete_documents_after_outputs.control),e.xp6(1),e.hij(" ",e.lcZ(14,22,"FORMS.delete_documents_after_outputs")," "),e.xp6(3),e.Oqu(e.lcZ(17,24,"FORMS.delete_documents_after_outputs_hint")),e.xp6(3),e.Q6J("formControl",t.formSettings.allow_automatic_validation.control),e.xp6(1),e.hij(" ",e.lcZ(21,26,"FORMS.allow_automatic_validation")," "),e.xp6(2),e.Q6J("ngIf",t.openAvailableField),e.xp6(2),e.Q6J("formControl",t.formSettings.supplier_verif.control),e.xp6(1),e.hij(" ",e.lcZ(26,28,"FORMS.supplier_verif")," "),e.xp6(3),e.Oqu(e.lcZ(29,30,"FORMS.supplier_verif_hint")),e.xp6(2),e.Q6J("ngForOf",t.outputForm),e.xp6(2),e.Q6J("ngForOf",t.fieldCategories),e.xp6(3),e.Q6J("ngIf",t.creationMode),e.xp6(1),e.Q6J("ngIf",!t.creationMode),e.xp6(1),e.Q6J("ngIf",t.modalOpen)}}function Dw(n,o){1&n&&(e.TgZ(0,"div",121)(1,"span",122),e._UZ(2,"i",123),e.qZA()())}function Ew(n,o){if(1&n&&(e.ynx(0),e.TgZ(1,"div",129),e._UZ(2,"i",130),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"mat-form-field",131)(6,"mat-label"),e._uU(7),e.ALo(8,"translate"),e.qZA(),e._UZ(9,"input",132),e.qZA(),e.BQk()),2&n){const t=e.oxw().$implicit;e.xp6(3),e.hij(" ",e.lcZ(4,2,t.label)," "),e.xp6(4),e.hij("",e.lcZ(8,4,"TYPES."+t.type)," ")}}function ww(n,o){if(1&n&&(e.ynx(0),e.TgZ(1,"div",129),e._UZ(2,"i",130),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"mat-form-field",131)(6,"mat-label"),e._uU(7),e.ALo(8,"translate"),e.qZA(),e._UZ(9,"input",75),e.qZA(),e.BQk()),2&n){const t=e.oxw().$implicit;e.xp6(3),e.hij(" ",e.lcZ(4,2,t.label)," "),e.xp6(4),e.Oqu(e.lcZ(8,4,"TYPES."+t.type))}}function Sw(n,o){if(1&n&&(e.ynx(0),e.TgZ(1,"div",129),e._UZ(2,"i",130),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"mat-form-field",131)(6,"mat-label"),e._uU(7),e.ALo(8,"translate"),e.qZA(),e._UZ(9,"input",133)(10,"mat-datepicker-toggle",134),e.qZA(),e.BQk()),2&n){const t=e.oxw().$implicit;e.xp6(3),e.hij(" ",e.lcZ(4,2,t.label)," "),e.xp6(4),e.Oqu(e.lcZ(8,4,"TYPES."+t.type))}}function Aw(n,o){if(1&n&&(e.ynx(0),e.TgZ(1,"div",129),e._UZ(2,"i",130),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"mat-form-field",131)(6,"mat-label"),e._uU(7),e.ALo(8,"translate"),e.qZA(),e._UZ(9,"mat-select"),e.qZA(),e.BQk()),2&n){const t=e.oxw().$implicit;e.xp6(3),e.hij(" ",e.lcZ(4,2,t.label)," "),e.xp6(4),e.Oqu(e.lcZ(8,4,"TYPES."+t.type))}}function Lw(n,o){if(1&n&&(e.TgZ(0,"div")(1,"div",128),e.YNc(2,Ew,10,6,"ng-container",8),e.YNc(3,ww,10,6,"ng-container",8),e.YNc(4,Sw,11,6,"ng-container",8),e.YNc(5,Aw,10,6,"ng-container",8),e.qZA()()),2&n){const t=o.$implicit;e.xp6(2),e.Q6J("ngIf","text"===t.type),e.xp6(1),e.Q6J("ngIf","textarea"===t.type),e.xp6(1),e.Q6J("ngIf","date"===t.type),e.xp6(1),e.Q6J("ngIf","select"===t.type)}}function Ow(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-tab",126),e.ALo(1,"translate"),e.TgZ(2,"div",127),e.NdJ("cdkDropListDropped",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.dropFromAvailableFields(a))}),e.YNc(3,Lw,6,4,"div",47),e.qZA()()}if(2&n){const t=o.$implicit;e.s9C("label",e.lcZ(1,4,t.label)),e.xp6(2),e.s9C("id",t.id),e.Q6J("cdkDropListData",t.values),e.xp6(1),e.Q6J("ngForOf",t.values)}}function kw(n,o){if(1&n&&(e.TgZ(0,"mat-tab-group",124),e.YNc(1,Ow,4,6,"mat-tab",125),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.availableFieldsParent)}}let FT=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt){this.router=t,this.http=i,this.route=a,this.userService=l,this.formBuilder=h,this.authService=E,this.translate=B,this.notify=oe,this.historyService=xe,this.serviceSettings=Ve,this.privilegesService=lt,this.loading=!0,this.loadingCustomFields=!0,this.updateFormLoading=!1,this.creationMode=!0,this.openAvailableField=!1,this.modalOpen=!1,this.selectedFields=[],this.outputs=[],this.form={label:{control:new A.NI},default_form:{control:new A.NI}},this.formSettings={allow_automatic_validation:{control:new A.NI},supplier_verif:{control:new A.NI},automatic_validation_data:{control:new A.NI},delete_documents_after_outputs:{control:new A.NI}},this.outputForm=[{control:new A.NI,cpt:0}],this.fields={supplier:[],facturation:[],other:[]},this.fieldCategories=[{id:"supplier",label:(0,He.J)("FORMS.supplier")},{id:"facturation",label:(0,He.J)("FACTURATION.facturation")},{id:"other",label:(0,He.J)("FORMS.other")}],this.availableFieldsParent=[{id:"accounts_fields",label:(0,He.J)("ACCOUNTS.supplier"),values:[{id:"name",label:(0,He.J)("ACCOUNTS.supplier_name"),unit:"supplier",type:"text",required:!0,required_icon:"fa-solid fa-star",class:"w-1/3",class_label:"1/33",color:"white",format:"alphanum",format_icon:"fa-solid fa-hashtag",display:"simple",display_icon:"fa-solid file-alt"},{id:"siret",label:(0,He.J)("ACCOUNTS.siret"),unit:"supplier",type:"text",required:!1,required_icon:"far fa-star",class:"w-1/3",class_label:"1/33",color:"green",format:"number_int",format_icon:"fa-solid fa-calculator",display:"simple",display_icon:"fa-solid file-alt"},{id:"siren",label:(0,He.J)("ACCOUNTS.siren"),unit:"supplier",type:"text",required:!1,required_icon:"far fa-star",class:"w-1/3",class_label:"1/33",color:"lime",format:"number_int",format_icon:"fa-solid fa-calculator",display:"simple",display_icon:"fa-solid file-alt"},{id:"vat_number",label:(0,He.J)("ACCOUNTS.vat_number"),unit:"supplier",type:"text",required:!0,required_icon:"fa-solid fa-star",class:"w-1/3",class_label:"1/33",color:"olive",format:"alphanum",format_icon:"fa-solid fa-hashtag",display:"simple",display_icon:"fa-solid file-alt"},{id:"iban",label:(0,He.J)("ACCOUNTS.iban"),unit:"supplier",type:"text",required:!1,required_icon:"far fa-star",class:"w-1/3",class_label:"1/33",color:"green",format:"alphanum",format_icon:"fa-solid fa-hashtag",display:"simple",display_icon:"fa-solid file-alt"},{id:"email",label:(0,He.J)("FORMATS.email"),unit:"supplier",type:"text",required:!1,required_icon:"far fa-star",class:"w-1/3",class_label:"1/33",color:"green",format:"email",format_icon:"fa-solid fa-at",display:"simple",display_icon:"fa-solid file-alt"},{id:"address1",label:(0,He.J)("ADDRESSES.address_1"),unit:"addresses",type:"text",required:!0,required_icon:"fa-solid fa-star",class:"w-1/3",class_label:"1/33",format:"alphanum_extended_with_accent",format_icon:"fa-solid fa-hashtag",display:"simple",display_icon:"fa-solid file-alt"},{id:"address2",label:(0,He.J)("ADDRESSES.address_2"),unit:"addresses",type:"text",required:!1,required_icon:"fa-solid fa-star",class:"w-1/3",class_label:"1/33",format:"alphanum_extended_with_accent",format_icon:"fa-solid fa-hashtag",display:"simple",display_icon:"fa-solid file-alt"},{id:"postal_code",label:(0,He.J)("ADDRESSES.postal_code"),unit:"addresses",type:"text",required:!0,required_icon:"fa-solid fa-star",class:"w-1/3",class_label:"1/33",format:"number_int",format_icon:"fa-solid fa-calculator",display:"simple",display_icon:"fa-solid file-alt"},{id:"city",label:(0,He.J)("ADDRESSES.city"),unit:"addresses",type:"text",required:!0,required_icon:"fa-solid fa-star",class:"w-1/3",class_label:"1/33",format:"char",format_icon:"fa-solid fa-font",display:"simple",display_icon:"fa-solid file-alt"},{id:"country",label:(0,He.J)("ADDRESSES.country"),unit:"addresses",type:"text",required:!0,required_icon:"fa-solid fa-star",class:"w-1/3",class_label:"1/33",format:"char",format_icon:"fa-solid fa-font",display:"simple",display_icon:"fa-solid file-alt"}]},{id:"facturation_fields",label:this.translate.instant("FACTURATION.facturation"),values:[{id:"delivery_number",label:(0,He.J)("FACTURATION.delivery_number"),unit:"facturation",type:"text",required:!1,required_icon:"far fa-star",class:"w-1/3",class_label:"1/33",color:"silver",format:"alphanum_extended",format_icon:"fa-solid fa-hashtag",display:"multi",display_icon:"fa-solid fa-layer-group"},{id:"invoice_number",label:(0,He.J)("FACTURATION.invoice_number"),unit:"facturation",type:"text",required:!0,required_icon:"fa-solid fa-star",class:"w-1/3",class_label:"1/33",color:"red",format:"alphanum_extended",format_icon:"fa-solid fa-hashtag",display:"simple",display_icon:"fa-solid file-alt"},{id:"quotation_number",label:(0,He.J)("FACTURATION.quotation_number"),unit:"facturation",type:"text",required:!1,required_icon:"fa-solid fa-star",class:"w-1/3",class_label:"1/33",color:"orange",format:"alphanum_extended",format_icon:"fa-solid fa-hashtag",display:"simple",display_icon:"fa-solid fa-print"},{id:"document_date",label:(0,He.J)("FACTURATION.document_date"),unit:"facturation",type:"date",required:!0,required_icon:"fa-solid fa-star",class:"w-1/3",class_label:"1/33",color:"yellow",format:"date",format_icon:"fa-solid fa-calendar-day",display:"simple",display_icon:"fa-solid file-alt"},{id:"document_due_date",label:(0,He.J)("FACTURATION.document_due_date"),unit:"facturation",type:"date",required:!1,required_icon:"far fa-star",class:"w-1/3",class_label:"1/33",color:"blue",format:"date",format_icon:"fa-solid fa-calendar-day",display:"simple",display_icon:"fa-solid file-alt"},{id:"vat_rate",label:(0,He.J)("FACTURATION.vat_rate"),unit:"facturation",type:"text",required:!0,required_icon:"fa-solid fa-star",class:"w-1/3",class_label:"1/33",color:"pink",format:"number_float",format_icon:"fa-solid fa-calculator",display:"multi",display_icon:"fa-solid fa-layer-group"},{id:"no_rate_amount",label:(0,He.J)("FACTURATION.no_rate_amount"),unit:"facturation",type:"text",required:!0,required_icon:"fa-solid fa-star",class:"w-1/3",class_label:"1/33",color:"fuschia",format:"number_float",format_icon:"fa-solid fa-calculator",display:"multi",display_icon:"fa-solid fa-layer-group"},{id:"vat_amount",label:(0,He.J)("FACTURATION.vat_amount"),unit:"facturation",type:"text",required:!0,required_icon:"fa-solid fa-star",class:"w-1/3",class_label:"1/33",color:"purple",format:"number_float",format_icon:"fa-solid fa-calculator",display:"multi",display_icon:"fa-solid fa-layer-group"},{id:"accounting_plan",label:(0,He.J)("FACTURATION.accounting_plan"),unit:"facturation",type:"select",required:!1,format:"select",required_icon:"fa-solid fa-star",class:"w-1/3",class_label:"1/33",display:"multi",display_icon:"fa-solid fa-layer-group"},{id:"total_ttc",label:(0,He.J)("FACTURATION.total_ttc"),unit:"facturation",type:"text",required:!0,required_icon:"fa-solid fa-star",class:"w-1/3",class_label:"1/33",format:"number_float",format_icon:"fa-solid fa-calculator",display:"simple",display_icon:"fa-solid file-alt"},{id:"total_ht",label:this.translate.instant("FACTURATION.total_ht"),unit:"facturation",type:"text",required:!0,required_icon:"fa-solid fa-star",class:"w-1/3",class_label:"1/33",format:"number_float",format_icon:"fa-solid fa-calculator",display:"simple",display_icon:"fa-solid file-alt"},{id:"total_vat",label:this.translate.instant("FACTURATION.total_vat"),unit:"facturation",type:"text",required:!0,required_icon:"fa-solid fa-star",class:"w-1/3",class_label:"1/33",color:"",format:"number_float",format_icon:"fa-solid fa-calculator",display:"simple",display_icon:"fa-solid file-alt"}]},{id:"custom_fields",label:(0,He.J)("FORMS.custom_fields"),values:[]}],this.classList=[{id:"w-full",label:"1"},{id:"w-1/2",label:"1/2"},{id:"w-30",label:"1/3"},{id:"w-1/3",label:"1/33"},{id:"w-1/4",label:"1/4"},{id:"w-1/5",label:"1/5"},{id:"w-1/6",label:"1/6"}],this.colorsList=[{id:"yellow",label:(0,He.J)("COLORS.yellow")},{id:"pink",label:(0,He.J)("COLORS.pink")},{id:"red",label:(0,He.J)("COLORS.red")},{id:"blue",label:(0,He.J)("COLORS.blue")},{id:"orange",label:(0,He.J)("COLORS.orange")},{id:"purple",label:(0,He.J)("COLORS.purple")},{id:"black",label:(0,He.J)("COLORS.black")},{id:"white",label:(0,He.J)("COLORS.white")},{id:"aqua",label:(0,He.J)("COLORS.aqua")},{id:"maroon",label:(0,He.J)("COLORS.maroon")},{id:"teal",label:(0,He.J)("COLORS.teal")},{id:"navy",label:(0,He.J)("COLORS.navy")},{id:"fuchsia",label:(0,He.J)("COLORS.fuchsia")},{id:"silver",label:(0,He.J)("COLORS.silver")},{id:"gray",label:(0,He.J)("COLORS.gray")},{id:"lime",label:(0,He.J)("COLORS.lime")},{id:"green",label:(0,He.J)("COLORS.green")}],this.formatList=[{id:"date",label:(0,He.J)("FORMATS.date"),icon:"fa-solid fa-calendar-day"},{id:"number_float",label:(0,He.J)("FORMATS.number_float"),icon:"fa-solid fa-calculator"},{id:"number_int",label:(0,He.J)("FORMATS.number_int"),icon:"fa-solid fa-calculator"},{id:"char",label:(0,He.J)("FORMATS.char"),icon:"fa-solid fa-font"},{id:"alphanum",label:(0,He.J)("FORMATS.alphanum"),icon:"fa-solid fa-hashtag"},{id:"alphanum_extended",label:(0,He.J)("FORMATS.alphanum_extended"),icon:"fa-solid fa-level-up-alt"},{id:"alphanum_extended_with_accent",label:(0,He.J)("FORMATS.alphanum_extended_with_accent"),icon:"fa-solid fa-level-up-alt"},{id:"email",label:(0,He.J)("FORMATS.email"),icon:"fa-solid fa-alt"}],this.displayList=[{id:"simple",label:(0,He.J)("DISPLAY.simple"),icon:"fa-solid fa-file-alt"},{id:"multi",label:(0,He.J)("DISPLAY.multi"),icon:"fa-solid fa-layer-group"}],this.mandatoryList=[{id:!0,label:(0,He.J)("MANDATORY.required"),icon:"fa-solid fa-star"},{id:!1,label:(0,He.J)("MANDATORY.not_required"),icon:"far fa-star"}],this.availableFields=[{id:"HEADER.id",label:"HEADER.label"},{id:"only_ocr",label:(0,He.J)("FORMS.only_ocr")},{id:"supplier",label:"ACCOUNTS.supplier"},{id:"invoice_number",label:"FACTURATION.invoice_number"},{id:"quotation_number",label:"FACTURATION.quotation_number"},{id:"document_date",label:(0,He.J)("FACTURATION.document_date")},{id:"footer",label:(0,He.J)("FACTURATION.footer")},{id:"delivery_number",label:"FACTURATION.delivery_number"}]}ngOnInit(){this.serviceSettings.init(),this.formId=this.route.snapshot.params.id,this.http.get(m.N.url+"/ws/outputs/list?module=verifier",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.outputs=t.outputs,this.formId&&(this.creationMode=!1,this.http.get(m.N.url+"/ws/forms/getById/"+this.formId,{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.formSettingId=i.module_settings_id;for(const a in this.form)for(const l in i)l===a&&this.form[a].control.setValue(i[a]);for(const a in this.formSettings)for(const l in i.settings)"allow_automatic_validation"===l&&(this.openAvailableField=i.settings[l]),l===a&&this.formSettings[l].control.setValue(i.settings[l]);if(i.outputs){const a=i.outputs.length;if(1===a&&this.outputForm[0].control.setValue(i.outputs[0]),a>1)for(const l in i.outputs)0!==parseInt(l)&&this.addOutput(),this.outputForm[l].control.setValue(i.outputs[l])}}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe())}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/customFields/list?module=verifier",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{if(t.customFields)for(const i in t.customFields)if(t.customFields.hasOwnProperty(i)){this.availableFields.push({id:"custom_"+t.customFields[i].id,label:t.customFields[i].label});for(const a in this.availableFieldsParent)if("custom_fields"===this.availableFieldsParent[a].id){this.availableFieldsParent[a].values.push({id:"custom_"+t.customFields[i].id,label:t.customFields[i].label,unit:"custom",type:t.customFields[i].type,required:t.customFields[i].required,autocomplete:t.customFields[i].autocomplete,class:"w-1/3",class_label:"1/33"});let l="";l="text"===t.customFields[i].type?"char":"select"===t.customFields[i].type?"select":"textarea"===t.customFields[i].type?"char":t.customFields[i].type,this.availableFieldsParent[a].values[this.availableFieldsParent[a].values.length-1].format=l}}this.loadingCustomFields=!1}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.formId?this.http.get(m.N.url+"/ws/forms/getFields/"+this.formId,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{if(t.form_fields.fields){void 0!==t.form_fields.fields.facturation&&(this.fields.facturation=t.form_fields.fields.facturation),t.form_fields.fields.supplier&&(this.fields.supplier=t.form_fields.fields.supplier),t.form_fields.fields.other&&(this.fields.other=t.form_fields.fields.other);for(const i in this.fields)this.fields.hasOwnProperty(i)&&this.fields[i].forEach(a=>{this.availableFieldsParent.forEach(l=>{let h=0;l.values.forEach(E=>{a.id===E.id&&l.values.splice(h,1),h+=1})})})}}),(0,Di.x)(()=>setTimeout(()=>{this.loading=!1},500)),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe():this.loading=!1}dropFromAvailableFields(t){const i=t.previousContainer.id;t.previousContainer===t.container?Hs(t.container.data,t.previousIndex,t.currentIndex):vr(t.previousContainer.data?t.previousContainer.data:this.fields[i],t.container.data,t.previousIndex,t.currentIndex)}changeClass(t,i,a,l){const h=t;this.fields[l].forEach(E=>{E.id===h&&(E.class=i,E.class_label=a)})}changeFormat(t,i,a,l){const h=t;this.fields[l].forEach(E=>{E.id===h&&(E.format=i,E.format_icon=a)})}changeDisplay(t,i,a,l){const h=t;this.fields[l].forEach(E=>{E.id===h&&(E.display=i,E.display_icon=a)})}changeRequired(t,i,a,l){const h=t;this.fields[l].forEach(E=>{E.id===h&&(E.required=i,E.required_icon=a)})}changeColor(t,i,a){const l=t;this.fields[a].forEach(h=>{h.id===l&&(h.color=i)})}dropFromForm(t){const i=t.container.id,a=t.previousContainer.id;t.previousContainer===t.container?t.container.data&&Hs(t.container.data,t.previousIndex,t.currentIndex):vr(t.previousContainer.data?t.previousContainer.data:this.fields[a],t.container.data?t.container.data:this.fields[i],t.previousIndex,t.currentIndex)}deleteField(t,i,a){("addresses"===a||"supplier"===a)&&(a="accounts");for(const l in this.availableFieldsParent)this.availableFieldsParent[l].id.split("_fields")[0]===a&&vr(this.fields[i],this.availableFieldsParent[l].values,t,this.availableFieldsParent[l].values.length)}updateValue(t,i){const a=t.target?t.target.value:t.value;a&&(i.label=a),i.edit_name=!1}storeNewOrder(t,i){const a=[];t.currentOrder.forEach(l=>{this.fields[i].forEach(h=>{l.id===h.id&&a.push(l)})}),this.fields[i]=a}addOutput(){this.outputForm[0].cpt=this.outputForm[0].cpt+1,this.outputForm.push({control:new A.NI,canRemove:!0})}removeOutput(t){this.outputForm.splice(t,1)}updateForm(){this.updateFormLoading=!0;const t=this.form.label.control.value,i=this.form.default_form.control.value,a=[];this.outputForm.forEach(h=>{h.control.value&&a.push(h.control.value)});const l={};Object.keys(this.formSettings).forEach(h=>{l[h]=this.formSettings[h].control.value}),""!==t&&a.length>=1?this.http.put(m.N.url+"/ws/forms/update/"+this.formId,{args:{label:t,default_form:i,outputs:a,settings:l}},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.http.post(m.N.url+"/ws/forms/updateFields/"+this.formId,this.fields,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.historyService.addHistory("verifier","update_form",this.translate.instant("HISTORY-DESC.update-form",{form:t})),this.notify.success(this.translate.instant("FORMS.updated"))}),(0,Ke.K)(h=>(console.debug(h),this.notify.handleErrors(h),(0,ie.of)(!1)))).subscribe()}),(0,Di.x)(()=>this.updateFormLoading=!1),(0,Ke.K)(h=>(console.debug(h),this.notify.handleErrors(h),(0,ie.of)(!1)))).subscribe():t||0!==a.length?t?0===a.length&&this.notify.error(this.translate.instant("FORMS.output_type_mandatory")):this.notify.error(this.translate.instant("FORMS.label_mandatory")):this.notify.error(this.translate.instant("FORMS.label_and_output_mandatory"))}selectForLine(t,i){if(t.ctrlKey){i.lineSelected=!i.lineSelected,i.lineSelected?this.selectedFields.push({id:i.id,class:i.class}):this.selectedFields.forEach((l,h)=>{l.id===i.id&&(this.selectedFields.splice(h,1),i.fullSize=!1)});let a=0;this.selectedFields.forEach(l=>{"full"!==l.class.replace("w-","")?a+=new Function("return "+l.class.replace("w-",""))():a=1}),Math.round(10*a)/10%1==0&&i.lineSelected&&(i.fullSize=!0)}}createForm(){const t=this.form.label.control.value,i=this.form.default_form.control.value;let a=this.formSettings.supplier_verif.control.value;const l=this.formSettings.automatic_validation_data.control.value,h=this.formSettings.allow_automatic_validation.control.value,E=this.formSettings.delete_documents_after_outputs.control.value;a||(a=!1);const B=[];this.outputForm.forEach(oe=>{oe.control.value&&B.push(oe.control.value)}),t?this.http.post(m.N.url+"/ws/forms/add",{args:{module:"verifier",label:t,outputs:B,default_form:i,settings:{supplier_verif:a,automatic_validation_data:l,allow_automatic_validation:h,delete_documents_after_outputs:E}}},{headers:this.authService.headers}).pipe((0,$e.b)(oe=>{this.http.post(m.N.url+"/ws/forms/updateFields/"+oe.id,this.fields,{headers:this.authService.headers}).pipe((0,Ke.K)(xe=>(console.debug(xe),this.notify.handleErrors(xe),(0,ie.of)(!1)))).subscribe(),this.historyService.addHistory("verifier","create_form",this.translate.instant("HISTORY-DESC.create-form",{form:t})),this.notify.success(this.translate.instant("FORMS.created")),this.router.navigateByUrl("settings/verifier/forms").then()}),(0,Ke.K)(oe=>(console.debug(oe),this.notify.handleErrors(oe),(0,ie.of)(!1)))).subscribe():this.notify.error(this.translate.instant("FORMS.label_mandatory"))}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Nt.gz),e.Y36(zi.K),e.Y36(A.qu),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["form-builder"]],decls:29,vars:20,consts:[["cdkDropListGroup","",1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white","overflow-hidden"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],["mat-icon-button","",1,"absolute","right-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-xl","text-gray-900"],["class","overflow-x-hidden overflow-y-auto","style","height: calc(100% - 64px)",4,"ngIf"],["mode","side","opened","","position","end",1,"available-fields","w-1/4","flex","flex-col","h-full","border-r","border-green-400"],["sidenav2",""],["class","relative","style","top: 40%",4,"ngIf"],["style","height: calc(100% - 64px)",4,"ngIf"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],[1,"overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 64px)"],[1,"grid","grid-cols-4","gap-4","mt-6","ml-6","mr-6"],["matInput","","required","",3,"formControl"],[1,"flex","justify-center","mt-4"],[3,"formControl"],[1,"flex","justify-center","flex-col","mt-4"],[1,"mt-4"],[3,"formControl","change"],[3,"z-50",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"form-container"],[1,"flex","justify-center","items-center"],["mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300"],["class","block",3,"click",4,"ngIf"],["class","w-48 block",3,"click",4,"ngIf"],["class","absolute overflow-y-auto overflow-x-hidden z-40 w-full md:inset-0 grid\n place-items-center h-screen",4,"ngIf"],["matInput","","required","","placeholder","supplier,footer,invoice_number,document_date",3,"formControl"],[1,"cursor-pointer",3,"click"],[3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["class","absolute top-1 right-4 cursor-pointer text-gray-900 z-40","style","right: -2.2rem",3,"matTooltip","click",4,"ngIf"],["class","absolute top-1 right-4 cursor-pointer text-red-500","style","right: -2.2rem",3,"matTooltip","click",4,"ngIf"],[3,"value"],[1,"absolute","top-1","right-4","cursor-pointer","text-gray-900","z-40",2,"right","-2.2rem",3,"matTooltip","click"],[1,"text-lg"],[1,"absolute","top-1","right-4","cursor-pointer","text-red-500",2,"right","-2.2rem",3,"matTooltip","click"],[1,"text-xl"],[1,"relative","text-xl","tracking-wider","pl-1.5","pr-1.5","bg-white",2,"top","2.5rem","left","2.5rem"],[1,"border-green-400","border","rounded-lg","mx-6","my-7"],["cdkDropList","",1,"flex","flex-wrap","cursor-pointer","w-full","my-3","px-2",2,"min-height","50px",3,"id","cdkDropListDropped"],["class","flex items-center overflow-hidden","ngSortgridItem","",3,"class","ngSortGridItems","ngSortGridGroup","sorted",4,"ngFor","ngForOf"],["ngSortgridItem","",1,"flex","items-center","overflow-hidden",3,"ngSortGridItems","ngSortGridGroup","sorted"],[1,"right-0","form-builder","mt-1","rounded-md",3,"ngClass","click"],["cdkDrag","","class","fa-solid fa-trash z-10 text-red-500",3,"matTooltip","click",4,"ngIf"],["cdkDrag","","class","fa-solid fa-edit z-10 ml-6 text-green-400",3,"matTooltip","click",4,"ngIf"],["class","input-label relative -top-1 border-r-2 border-green-400 inline-block\n overflow-ellipsis overflow-hidden whitespace-nowrap w-10/12",4,"ngIf"],["class","relative flex w-full","style","top: -1.325rem",4,"ngIf"],["matInput","","type","text","readonly","",1,"cursor-pointer"],["class","absolute top-0 -right-4 z-10",4,"ngIf"],["cdkDrag","",1,"fa-solid","fa-trash","z-10","text-red-500",3,"matTooltip","click"],["cdkDrag","",1,"fa-solid","fa-edit","z-10","ml-6","text-green-400",3,"matTooltip","click"],[1,"input-label","relative","-top-1","border-r-2","border-green-400","inline-block","overflow-ellipsis","overflow-hidden","whitespace-nowrap","w-10/12"],["class","text-red-500 mr-2 relative top-0.5",4,"ngIf"],[1,"text-red-500","mr-2","relative","top-0.5"],[1,"relative","flex","w-full",2,"top","-1.325rem"],["appearance","outline",1,"w-full","input-label-builder"],["matInput","",1,"relative","top-1",3,"value","keyup.enter","focusout"],["mat-icon-button","",1,"top-1.5",3,"matTooltip"],[1,"fa-solid","fa-check","visible","opacity-100","fa-lg"],[1,"absolute","top-0","-right-4","z-10"],["mat-button","","matTooltipPosition","above",3,"matMenuTriggerFor","matTooltip"],[1,"field_settings","text-md"],["menu","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor","style","text-white",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor"],[1,"ml-2"],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["size","matMenu"],["mat-menu-item","",3,"id","bg-green-400","click",4,"ngFor","ngForOf"],["colors","matMenu"],["mat-menu-item","",3,"id","style","text-white","click",4,"ngFor","ngForOf"],["format","matMenu"],["display","matMenu"],["required","matMenu"],["mat-menu-item","",3,"id","click"],["matTooltipPosition","above",1,"fa-solid","fa-layer-group","-m-2","-right-4","relative",3,"matTooltip","click"],[1,"block",3,"click"],[1,"w-48","block",3,"click"],["class","fa-solid text-2xl fa-circle-notch fa-spin\n text-gray-900 relative top-1","style","--fa-animation-duration: 1.5s;",4,"ngIf"],[1,"fa-solid","text-2xl","fa-circle-notch","fa-spin","text-gray-900","relative","top-1",2,"--fa-animation-duration","1.5s"],[1,"absolute","overflow-y-auto","overflow-x-hidden","z-40","w-full","md:inset-0","grid","place-items-center","h-screen"],[1,"relative","w-full","max-w-2xl","h-full","md:h-auto","border","border-green-400"],[1,"relative","bg-white","shadow"],[1,"flex","justify-between","items-start","p-4","border-b","bg-green-400"],["type","button",1,"text-gray-900","bg-transparent","ml-auto","inline-flex","items-center",2,"padding-top","0.9rem",3,"click"],[1,"fa-solid","fa-xmark","fa-2x"],[1,"p-6","space-y-6"],[1,"overflow-x-hidden","overflow-y-auto","h-96"],["class","my-8 ml-2 text-base",4,"ngFor","ngForOf"],[1,"my-8","ml-2","text-base"],[1,"text-green-400","ml-3",2,"font-size","12px"],["class","border-green-400 mt-4",4,"ngIf"],[1,"border-green-400","mt-4"],[1,"relative",2,"top","40%"],[1,"text-center","overflow-hidden"],[1,"fa-solid","fa-circle-notch","fa-spin","fa-4x","w-full","text-gray-900",2,"--fa-animation-duration","1.5s"],[2,"height","calc(100% - 64px)"],[3,"label",4,"ngFor","ngForOf"],[3,"label"],["cdkDropList","",1,"min-w-full",2,"min-height","500px",3,"id","cdkDropListData","cdkDropListDropped"],["cdkDrag","",1,"flex","flex-row","items-center","justify-between","m-5","cursor-pointer"],[1,"relative","-top-3"],[1,"relative","fa-solid","fa-arrows-alt","text-xl","top-0.5","mr-2","text-green-400"],[1,"right-0","w-5/12"],["matInput","","type","text","disabled","",1,"cursor-pointer"],["matInput","","disabled",""],["matSuffix",""]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,VE,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,GE,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16),e.qZA(),e._UZ(17,"hr",4),e.qZA(),e.TgZ(18,"button",13),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(22);return e.KtG(h.toggle())}),e._UZ(19,"i",14),e.qZA()(),e.YNc(20,Mw,38,32,"div",15),e.qZA(),e.TgZ(21,"mat-sidenav",16,17)(23,"h3",3),e._uU(24),e.ALo(25,"translate"),e.qZA(),e._UZ(26,"mat-divider",4),e.YNc(27,Dw,3,0,"div",18),e.YNc(28,kw,2,1,"mat-tab-group",19),e.qZA()()}if(2&t){const a=e.MAs(2),l=e.MAs(22);e.xp6(4),e.Oqu(e.lcZ(5,16,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(3),e.ekj("transform",l.opened)("rotate-180",l.opened),e.xp6(1),e.Q6J("ngIf",!i.loading),e.xp6(4),e.hij(" ",e.lcZ(25,18,"FORMS.available_fields")," "),e.xp6(3),e.Q6J("ngIf",i.loadingCustomFields),e.xp6(1),e.Q6J("ngIf",!i.loadingCustomFields)}},dependencies:[_e.mk,_e.sg,_e.O5,Nt.rH,Rt.KE,Rt.bx,Rt.hX,Rt.R9,Be.gD,b.ey,Va.Rr,an.Nt,Xn,va.SP,va.uX,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Ho,xl,pe,mo,Zt.ib,Zt.yz,Zt.yK,So,rn.Hk,Rn.d,RT,A.Fj,A.JJ,A.Q7,A.oH,A.On,e_,Xu,ld,Cn.R,$t.X$],styles:["i.cdk-drag[_ngcontent-%COMP%]{position:absolute;font-size:.875rem;line-height:1.25rem;margin-right:.5rem;margin-bottom:.25rem} .input-label-builder .mat-form-field-wrapper .mat-form-field-flex{height:2.5rem!important;top:.32rem} .input-label-builder .mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix{padding:0}.ng-sg-placeholder[_ngcontent-%COMP%], .cdk-drag-placeholder[_ngcontent-%COMP%]{border-width:1px;--tw-border-opacity: 1;border-color:rgb(151 191 61 / var(--tw-border-opacity));border-radius:.125rem;--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity));box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f} .form-container .mat-focused .mat-form-field-label-wrapper label{transform:none!important;width:100%!important} .form-builder>.mat-form-field-wrapper{padding-bottom:.75rem;padding-top:.75rem} .form-builder>.mat-form-field-wrapper:hover>.mat-form-field-flex>.mat-form-field-infix>i{visibility:visible;opacity:1} .form-builder>.mat-form-field-wrapper:hover>.mat-form-field-flex>.mat-form-field-infix>div>button{visibility:visible;opacity:1;left:0} .form-builder>.mat-form-field-wrapper:hover>.mat-form-field-flex>.mat-form-field-infix>.input-label{padding-left:3rem} .form-builder>.mat-form-field-wrapper .mat-form-field-flex{height:3.5rem} .form-builder>.mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix{width:100%} .form-builder>.mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix div>button{visibility:hidden;opacity:0;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s;left:2rem} .form-builder>.mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix div>button .mat-button-focus-overlay{background-color:transparent} .form-builder>.mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix i{visibility:hidden;opacity:0;left:.125rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s;top:.25rem;top:7px} .form-builder>.mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix .input-label{margin-left:0;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s}"]}),n})();function Iw(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",38)(1,"button",39),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",40),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function Pw(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,Iw,6,11,"div",37),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function Rw(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",31)(1,"mat-expansion-panel-header",32)(2,"mat-panel-title",33),e._UZ(3,"i"),e.TgZ(4,"button",34),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",35),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,Pw,2,7,"div",36),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function Fw(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,Rw,9,15,"mat-expansion-panel",30),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function Nw(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",34),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",35),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function Bw(n,o){if(1&n&&e.YNc(0,Nw,5,11,"button",41),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function Uw(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,Fw,2,1,"div",28),e.YNc(2,Bw,1,1,"ng-template",null,29,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function Zw(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",24),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",25)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",26),e.YNc(6,Uw,4,6,"div",27),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function Yw(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function Hw(n,o){1&n&&(e.TgZ(0,"mat-header-cell",42),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.id")," "))}function Vw(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.id," ")}}function Gw(n,o){1&n&&(e.TgZ(0,"mat-header-cell",42),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.output_type")," "))}function Kw(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.output_type_id," ")}}function jw(n,o){1&n&&(e.TgZ(0,"mat-header-cell",42),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.label")," "))}function Ww(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.output_label," ")}}function qw(n,o){1&n&&e._UZ(0,"mat-header-cell")}function Jw(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-cell")(1,"button",43),e.NdJ("click",function(a){const h=e.CHM(t).$implicit,E=e.oxw();return a.stopPropagation(),e.KtG(E.deleteConfirmDialog(h.id,h.output_label))}),e.ALo(2,"translate"),e._UZ(3,"i",44),e.qZA(),e.TgZ(4,"button",43),e.NdJ("click",function(a){const h=e.CHM(t).$implicit,E=e.oxw();return a.stopPropagation(),e.KtG(E.duplicateConfirmDialog(h.id,h.output_label))}),e.ALo(5,"translate"),e._UZ(6,"i",45),e.qZA()()}2&n&&(e.xp6(1),e.s9C("matTooltip",e.lcZ(2,2,"GLOBAL.delete")),e.xp6(3),e.s9C("matTooltip",e.lcZ(5,4,"OUTPUT.duplicate")))}function $w(n,o){1&n&&e._UZ(0,"mat-header-row")}function zw(n,o){1&n&&e._UZ(0,"mat-row",46),2&n&&e.MGl("routerLink","/settings/verifier/outputs/update/",o.$implicit.id,"")}const Qw=function(){return[5,10,15,20,50]};let Xw=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt,Ft){this.router=t,this.http=i,this.dialog=a,this.userService=l,this.authService=h,this.translate=E,this.notify=B,this.historyService=oe,this.serviceSettings=xe,this.routerExtService=Ve,this.privilegesService=lt,this.localStorageService=Ft,this.headers=this.authService.headers,this.columnsToDisplay=["id","output_label","output_type_id","actions"],this.loading=!0,this.outputs=[],this.pageSize=10,this.pageIndex=0,this.total=0,this.offset=0}ngOnInit(){this.serviceSettings.init();const t=this.routerExtService.getPreviousUrl();t.includes("settings/verifier/outputs")||"/"===t?(this.localStorageService.get("outputsPageIndex")&&(this.pageIndex=parseInt(this.localStorageService.get("outputsPageIndex"))),this.offset=this.pageSize*this.pageIndex):this.localStorageService.remove("outputsPageIndex"),this.loadOutputs()}loadOutputs(){this.http.get(m.N.url+"/ws/outputs/list?module=verifier&limit="+this.pageSize+"&offset="+this.offset,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.outputs[0]?this.total=t.outputs[0].total:0!==this.pageIndex&&(this.pageIndex=this.pageIndex-1,this.offset=this.pageSize*this.pageIndex,this.loadOutputs()),this.outputs=t.outputs}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}onPageChange(t){this.pageSize=t.pageSize,this.offset=this.pageSize*t.pageIndex,this.pageIndex=t.pageIndex,this.localStorageService.save("outputsPageIndex",t.pageIndex),this.loadOutputs()}deleteConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("OUTPUT.confirm_delete",{output:i}),confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.deleteOutput(t),this.historyService.addHistory("verifier","delete_output",this.translate.instant("HISTORY-DESC.delete-output",{output:i})))})}deleteOutput(t){void 0!==t&&this.http.delete(m.N.url+"/ws/outputs/delete/"+t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadOutputs(),this.notify.success(this.translate.instant("OUTPUT.output_deleted"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}duplicateConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("OUTPUT.confirm_duplicate",{output:i}),confirmButton:this.translate.instant("GLOBAL.duplicate"),confirmButtonColor:"green",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.duplicateOutput(t),this.historyService.addHistory("verifier","duplicate_output",this.translate.instant("HISTORY-DESC.duplicate-output",{output:i})))})}duplicateOutput(t){void 0!==t&&this.http.post(m.N.url+"/ws/outputs/duplicate/"+t,{},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadOutputs(),this.notify.success(this.translate.instant("OUTPUT.output_duplicated"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}sortData(t){const i=this.outputs.slice();this.outputs=t.active&&""!==t.direction?i.sort((a,l)=>{const h="asc"===t.direction;switch(t.active){case"id":return this.compare(a.id,l.id,h);case"label_short":return this.compare(a.label_short,l.label_short,h);case"label":return this.compare(a.label,l.label,h);default:return 0}}):i}compare(t,i,a){return(t{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt){this.router=t,this.http=i,this.dialog=a,this.route=l,this.userService=h,this.authService=E,this.translate=B,this.notify=oe,this.historyService=xe,this.serviceSettings=Ve,this.privilegesService=lt,this.headers=this.authService.headers,this.loading=!0,this.loadingCustomFields=!0,this.inputForm=[{id:"input_id",label:this.translate.instant("HEADER.label_short"),type:"text",control:new A.NI,disabled:!0,required:!0},{id:"input_label",label:this.translate.instant("HEADER.label"),type:"text",control:new A.NI,required:!0},{id:"input_folder",label:this.translate.instant("INPUT.input_folder"),type:"text",control:new A.NI,placeholder:"/var/share/sortant",required:!0},{id:"default_form_id",label:this.translate.instant("INPUT.default_form_id"),type:"select",control:new A.NI,required:!0},{id:"customer_id",label:this.translate.instant("INPUT.associated_customer"),type:"select",control:new A.NI,required:!1},{id:"purchase_or_sale",label:this.translate.instant("INPUT.purchase_or_sale"),type:"select",control:new A.NI,values:[{id:"purchase",label:"UPLOAD.purchase_invoice"},{id:"sale",label:"UPLOAD.sale_invoice"}],required:!0},{id:"splitter_method_id",label:this.translate.instant("INPUT.splitter_method"),type:"select",control:new A.NI,required:!1,values:[{id:"no_sep",label:this.translate.instant("INPUT.no_separation")},{id:"qr_code_OC",label:this.translate.instant("INPUT.qr_code_separation")},{id:"separate_by_document",label:this.translate.instant("INPUT.separate_by_document")}]},{id:"override_supplier_form",label:this.translate.instant("INPUT.override_supplier_form"),type:"boolean",control:new A.NI},{id:"remove_blank_pages",label:this.translate.instant("INPUT.remove_blank_pages"),type:"boolean",control:new A.NI}]}ngOnInit(){this.serviceSettings.init(),this.inputId=this.route.snapshot.params.id,this.http.get(m.N.url+"/ws/inputs/getById/"+this.inputId,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.input=t;for(const i in this.input)this.inputForm.forEach(a=>{a.id===i&&(a.control.setValue(t[i]),"default_form_id"===a.id?this.http.get(m.N.url+"/ws/forms/list?module=verifier",{headers:this.authService.headers}).pipe((0,$e.b)(l=>{a.values=l.forms}),(0,Ke.K)(l=>(console.debug(l),this.notify.handleErrors(l),(0,ie.of)(!1)))).subscribe():"customer_id"===a.id?this.http.get(m.N.url+"/ws/accounts/customers/list",{headers:this.authService.headers}).pipe((0,$e.b)(l=>{a.values=l.customers}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(l=>(console.debug(l),this.notify.handleErrors(l),(0,ie.of)(!1)))).subscribe():"splitter_method_id"===a.id&&(null===a.control.value||""===a.control.value||void 0===a.control.value)&&a.control.setValue("no_sep"))})}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),this.router.navigate(["/settings/verifier/outputs"]).then(),(0,ie.of)(!1)))).subscribe()}isValidForm(){let t=!0;return this.inputForm.forEach(i=>{"DISABLED"!==i.control.status&&"VALID"!==i.control.status&&(t=!1),i.control.markAsTouched()}),t}onSubmit(){if(this.isValidForm()){const t={module:"verifier"};this.inputForm.forEach(i=>{t[i.id]=i.control.value}),this.http.put(m.N.url+"/ws/inputs/update/"+this.inputId,{args:t},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.historyService.addHistory("verifier","update_input",this.translate.instant("HISTORY-DESC.update-input",{input:t.input_label})),this.notify.success(this.translate.instant("INPUT.updated"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i,"/verifier/inputs"),(0,ie.of)(!1)))).subscribe()}}createScriptAndIncron(){if(this.isValidForm()){const t={module:"verifier"};this.inputForm.forEach(i=>{t[i.id]=i.control.value}),this.http.post(m.N.url+"/ws/inputs/createScriptAndIncron",{args:t},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("INPUT.watcher_and_script_updated")),this.onSubmit()}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}}getErrorMessage(t){let i;return this.inputForm.forEach(a=>{a.id===t&&a.required&&!a.value&&!a.control.value&&(i=this.translate.instant("AUTH.field_required"))}),i}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Ui),e.Y36(Nt.gz),e.Y36(zi.K),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["input-update"]],decls:32,vars:18,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],[1,"grid","grid-cols-2","gap-4","w-auto","m-5","text-center"],[4,"ngFor","ngForOf"],[1,"grid","grid-cols-3","gap-4","w-auto","m-5","text-center"],[1,"flex","justify-center","items-center"],["mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300",3,"click"],["mat-button","",1,"ml-4","border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300",3,"click"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],["class","block",4,"ngIf"],[1,"block"],["matInput","",3,"formControl","readonly","type","placeholder","required"],[3,"formControl","value","required","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"relative","top-4","mb-10","col-span-2",3,"formControl"],[1,"justify-center"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,sS,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,lS,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16),e.qZA(),e._UZ(17,"hr",4),e.qZA()(),e.TgZ(18,"form")(19,"div",13),e.YNc(20,gS,3,2,"ng-container",14),e.qZA(),e.TgZ(21,"div",15),e.YNc(22,CS,2,1,"ng-container",14),e.qZA()(),e.TgZ(23,"div",16)(24,"button",17),e.NdJ("click",function(){return i.onSubmit()}),e.TgZ(25,"span"),e._uU(26),e.ALo(27,"translate"),e.qZA()(),e.TgZ(28,"button",18),e.NdJ("click",function(){return i.createScriptAndIncron()}),e.TgZ(29,"span"),e._uU(30),e.ALo(31,"translate"),e.qZA()()()()()}if(2&t){const a=e.MAs(2);e.xp6(4),e.Oqu(e.lcZ(5,12,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(4),e.Q6J("ngForOf",i.inputForm),e.xp6(2),e.Q6J("ngForOf",i.inputForm),e.xp6(4),e.Oqu(e.lcZ(27,14,"INPUT.update")),e.xp6(4),e.Oqu(e.lcZ(31,16,"INPUT.update_script_and_watcher"))}},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.TO,Rt.KE,Rt.hX,Be.gD,b.ey,Va.Rr,an.Nt,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.ib,Zt.yz,Zt.yK,rn.Hk,Rn.d,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.oH,A.F,Cn.R,$t.X$],styles:[".mat-slide-toggle label{justify-content:center}"]}),n})();function xS(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",39)(1,"button",40),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",41),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function bS(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,xS,6,11,"div",38),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function yS(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",32)(1,"mat-expansion-panel-header",33)(2,"mat-panel-title",34),e._UZ(3,"i"),e.TgZ(4,"button",35),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",36),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,bS,2,7,"div",37),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function TS(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,yS,9,15,"mat-expansion-panel",31),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function MS(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",35),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",36),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function DS(n,o){if(1&n&&e.YNc(0,MS,5,11,"button",42),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function ES(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,TS,2,1,"div",29),e.YNc(2,DS,1,1,"ng-template",null,30,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function wS(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",25),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",26)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",27),e.YNc(6,ES,4,6,"div",28),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function SS(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function AS(n,o){1&n&&(e.TgZ(0,"mat-header-cell",43),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.id")," "))}function LS(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.id," ")}}function OS(n,o){1&n&&(e.TgZ(0,"mat-header-cell",43),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.label_short")," "))}function kS(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.input_id," ")}}function IS(n,o){1&n&&(e.TgZ(0,"mat-header-cell",43),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.label")," "))}function PS(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.input_label," ")}}function RS(n,o){1&n&&(e.TgZ(0,"mat-header-cell",43),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"INPUT.input_folder_header")," "))}function FS(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.input_folder," ")}}function NS(n,o){1&n&&e._UZ(0,"mat-header-cell")}function BS(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-cell")(1,"button",44),e.NdJ("click",function(a){const h=e.CHM(t).$implicit,E=e.oxw();return a.stopPropagation(),e.KtG(E.deleteConfirmDialog(h.id,h.input_label))}),e.ALo(2,"translate"),e._UZ(3,"i",45),e.qZA(),e.TgZ(4,"button",44),e.NdJ("click",function(a){const h=e.CHM(t).$implicit,E=e.oxw();return a.stopPropagation(),e.KtG(E.duplicateConfirmDialog(h.id,h.input_label))}),e.ALo(5,"translate"),e._UZ(6,"i",46),e.qZA()()}2&n&&(e.xp6(1),e.s9C("matTooltip",e.lcZ(2,2,"GLOBAL.delete")),e.xp6(3),e.s9C("matTooltip",e.lcZ(5,4,"INPUT.duplicate")))}function US(n,o){1&n&&e._UZ(0,"mat-header-row")}function ZS(n,o){1&n&&e._UZ(0,"mat-row",47),2&n&&e.MGl("routerLink","/settings/splitter/inputs/update/",o.$implicit.id,"")}const YS=function(){return[5,10,15,20,50]};let HS=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt,Ft){this.router=t,this.http=i,this.dialog=a,this.userService=l,this.authService=h,this.translate=E,this.notify=B,this.historyService=oe,this.serviceSettings=xe,this.routerExtService=Ve,this.privilegesService=lt,this.localStorageService=Ft,this.headers=this.authService.headers,this.columnsToDisplay=["id","input_id","input_label","input_folder","actions"],this.loading=!0,this.inputs=[],this.pageSize=10,this.pageIndex=0,this.total=0,this.offset=0}ngOnInit(){this.serviceSettings.init();const t=this.routerExtService.getPreviousUrl();t.includes("inputs/")||"/"===t?(this.localStorageService.get("inputsPageIndex")&&(this.pageIndex=parseInt(this.localStorageService.get("inputsPageIndex"))),this.offset=this.pageSize*this.pageIndex):this.localStorageService.remove("inputsPageIndex"),this.loadInputs()}loadInputs(){this.http.get(m.N.url+"/ws/inputs/list?module=splitter&limit="+this.pageSize+"&offset="+this.offset,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.inputs[0]&&(this.total=t.inputs[0].total),this.inputs=t.inputs}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}onPageChange(t){this.pageSize=t.pageSize,this.offset=this.pageSize*t.pageIndex,this.localStorageService.save("inputsPageIndex",t.pageIndex),this.loadInputs()}deleteConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("INPUT.confirm_delete",{input:i}),confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.deleteInput(t),this.historyService.addHistory("splitter","delete_input",this.translate.instant("HISTORY-DESC.delete-input",{input:i})))})}deleteInput(t){void 0!==t&&this.http.delete(m.N.url+"/ws/inputs/delete/"+t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadInputs(),this.notify.success(this.translate.instant("INPUT.input_deleted"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}duplicateConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("INPUT.confirm_duplicate",{input:i}),confirmButton:this.translate.instant("GLOBAL.duplicate"),confirmButtonColor:"green",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.duplicateInput(t),this.historyService.addHistory("splitter","duplicate_input",this.translate.instant("HISTORY-DESC.duplicate-input",{input:i})))})}duplicateInput(t){void 0!==t&&this.http.post(m.N.url+"/ws/inputs/duplicate/"+t,{},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadInputs(),this.notify.success(this.translate.instant("INPUT.input_duplicated"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}sortData(t){const i=this.inputs.slice();this.inputs=t.active&&""!==t.direction?i.sort((a,l)=>{const h="asc"===t.direction;switch(t.active){case"id":return this.compare(a.id,l.id,h);case"label_short":return this.compare(a.label_short,l.label_short,h);case"label":return this.compare(a.label,l.label,h);default:return 0}}):i}compare(t,i,a){return(t{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve){this.router=t,this.http=i,this.dialog=a,this.userService=l,this.authService=h,this.translate=E,this.notify=B,this.historyService=oe,this.serviceSettings=xe,this.privilegesService=Ve,this.loading=!0,this.loadingCustomFields=!0,this.headers=this.authService.headers,this.inputForm=[{id:"input_id",label:this.translate.instant("HEADER.label_short"),type:"text",control:new A.NI,placeholder:"default_input",required:!0},{id:"input_label",label:this.translate.instant("HEADER.label"),type:"text",control:new A.NI,required:!0},{id:"input_folder",label:this.translate.instant("INPUT.input_folder"),type:"text",control:new A.NI,placeholder:"/var/share/sortant",required:!0},{id:"default_form_id",label:this.translate.instant("INPUT.default_form_id"),type:"select",control:new A.NI,required:!0},{id:"customer_id",label:this.translate.instant("INPUT.associated_customer"),type:"select",control:new A.NI,required:!0},{id:"purchase_or_sale",label:this.translate.instant("INPUT.purchase_or_sale"),type:"select",control:new A.NI,values:[{id:"purchase",label:"UPLOAD.purchase_invoice"},{id:"sale",label:"UPLOAD.sale_invoice"}],required:!0},{id:"splitter_method_id",label:this.translate.instant("INPUT.splitter_method"),type:"select",control:new A.NI,required:!1,values:[{id:"no_sep",label:this.translate.instant("INPUT.no_separation")},{id:"qr_code_OC",label:this.translate.instant("INPUT.qr_code_separation")},{id:"separate_by_document",label:this.translate.instant("INPUT.separate_by_document")}]},{id:"override_supplier_form",label:this.translate.instant("INPUT.override_supplier_form"),type:"boolean",control:new A.NI},{id:"remove_blank_pages",label:this.translate.instant("INPUT.remove_blank_pages"),type:"boolean",control:new A.NI}]}ngOnInit(){this.serviceSettings.init(),this.http.get(m.N.url+"/ws/accounts/customers/list",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.inputForm.forEach(i=>{"customer_id"===i.id&&(i.values=t.customers,1===t.customers.length&&i.control.setValue(t.customers[0].id)),"splitter_method_id"===i.id&&i.control.setValue("no_sep")})}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/forms/list?module=verifier",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.inputForm.forEach(i=>{"default_form_id"===i.id&&(i.values=t.forms,1===t.forms.length&&i.control.setValue(t.forms[0].id))})}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}isValidForm(){let t=!0;return this.inputForm.forEach(i=>{"DISABLED"!==i.control.status&&"VALID"!==i.control.status&&(t=!1),i.control.markAsTouched()}),t}onSubmit(){if(this.isValidForm()){const t={module:"verifier"};this.inputForm.forEach(i=>{t[i.id]=i.control.value}),this.createInputAndScriptAndIncron()}}createInputAndScriptAndIncron(){if(this.isValidForm()){const t={module:"verifier"};this.inputForm.forEach(i=>{t[i.id]=i.control.value}),t.module="verifier",this.http.post(m.N.url+"/ws/inputs/createScriptAndIncron",{args:t},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.http.post(m.N.url+"/ws/inputs/create",{args:t},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.historyService.addHistory("verifier","create_input",this.translate.instant("HISTORY-DESC.create-input",{input:t.input_label})),this.router.navigate(["/settings/verifier/inputs"]).then(),this.notify.success(this.translate.instant("INPUT.created"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}}getErrorMessage(t){let i;return this.inputForm.forEach(a=>{a.id===t&&a.required&&!a.value&&!a.control.value&&(i=this.translate.instant("AUTH.field_required"))}),i}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Ui),e.Y36(zi.K),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["create-input"]],decls:31,vars:18,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],[1,"grid","grid-cols-2","gap-4","w-auto","m-5","text-center"],[4,"ngFor","ngForOf"],[1,"grid","grid-cols-3","gap-4","w-auto","m-5","text-center"],[1,"flex","justify-center","items-center"],["mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300",3,"click"],[1,"text-gray-400","text-sm","mt-4","flex","justify-center","items-center"],[1,"w-1/3",3,"innerHTML"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],["class","block",4,"ngIf"],[1,"block"],["matInput","",3,"formControl","readonly","type","placeholder","required"],[3,"formControl","value","required","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"relative","top-4","mb-10","col-span-2",3,"formControl"],[1,"justify-center"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,$S,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,zS,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16),e.qZA(),e._UZ(17,"hr",4),e.qZA()(),e.TgZ(18,"form")(19,"div",13),e.YNc(20,oA,3,2,"ng-container",14),e.qZA(),e.TgZ(21,"div",15),e.YNc(22,sA,2,1,"ng-container",14),e.qZA()(),e.TgZ(23,"div",16)(24,"button",17),e.NdJ("click",function(){return i.onSubmit()}),e.TgZ(25,"span"),e._uU(26),e.ALo(27,"translate"),e.qZA()()(),e.TgZ(28,"div",18),e._UZ(29,"span",19),e.ALo(30,"translate"),e.qZA()()()}if(2&t){const a=e.MAs(2);e.xp6(4),e.Oqu(e.lcZ(5,12,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(4),e.Q6J("ngForOf",i.inputForm),e.xp6(2),e.Q6J("ngForOf",i.inputForm),e.xp6(4),e.Oqu(e.lcZ(27,14,"INPUT.create")),e.xp6(3),e.Q6J("innerHTML",e.lcZ(30,16,"INPUT.create_hint"),e.oJD)}},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.TO,Rt.KE,Rt.hX,Be.gD,b.ey,Va.Rr,an.Nt,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.ib,Zt.yz,Zt.yK,rn.Hk,Rn.d,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.oH,A.F,Cn.R,$t.X$],styles:[".mat-slide-toggle label{justify-content:center}"]}),n})();function cA(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",38)(1,"button",39),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"em"),e.TgZ(3,"p",40),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function dA(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,cA,6,11,"div",37),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function uA(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",31)(1,"mat-expansion-panel-header",32)(2,"mat-panel-title",33),e._UZ(3,"em"),e.TgZ(4,"button",34),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",35),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,dA,2,7,"div",36),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function _A(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,uA,9,15,"mat-expansion-panel",30),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function pA(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",34),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"em"),e.TgZ(2,"p",35),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function hA(n,o){if(1&n&&e.YNc(0,pA,5,11,"button",41),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function mA(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,_A,2,1,"div",28),e.YNc(2,hA,1,1,"ng-template",null,29,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function gA(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",24),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",25)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",26),e.YNc(6,mA,4,6,"div",27),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function fA(n,o){if(1&n&&(e.TgZ(0,"mat-option",43),e._uU(1),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw();e.Q6J("disabled",!i.selectedDocType.key||t.code.startsWith(i.selectedDocType.code+".")||t.key===i.selectedDocType.key)("value",t.code),e.xp6(1),e.hij(" ",t.label," ")}}function CA(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,fA,2,3,"mat-option",42),e.qZA()),2&n){const t=o.$implicit,i=e.oxw();e.xp6(1),e.Q6J("ngIf","folder"===t.type&&t.formId===i.selectedFormId)}}function vA(n,o){if(1&n&&(e.TgZ(0,"mat-form-field")(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",46),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw();e.xp6(2),e.Oqu(e.lcZ(3,6,t.label)),e.xp6(2),e.Q6J("formControlName",t.id)("type",t.type)("readonly",!i.selectedDocType.key)("placeholder",t.placeholder)("required",t.required)}}function xA(n,o){if(1&n&&(e.TgZ(0,"div",47)(1,"mat-slide-toggle",48),e._uU(2),e.ALo(3,"translate"),e.qZA()()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.Q6J("formControlName",t.id),e.xp6(1),e.hij(" ",e.lcZ(3,2,t.label)," ")}}function bA(n,o){if(1&n&&(e.ynx(0),e.YNc(1,vA,5,8,"mat-form-field",44),e.YNc(2,xA,4,4,"div",45),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","text"===t.type),e.xp6(1),e.Q6J("ngIf","slide"===t.type)}}const yA=function(){return{canFolderBeSelected:!0}};let TA=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt){this.http=t,this.dialog=i,this.router=a,this.route=l,this.formBuilder=h,this.authService=E,this.userService=B,this.translate=oe,this.notify=xe,this.serviceSettings=Ve,this.privilegesService=lt,this.loading=!1,this.noMasterFolder="_NO_MASTER",this.fields=[{id:"key",type:"text",label:this.translate.instant("HEADER.id"),required:!0,disabled:!0},{id:"label",type:"text",label:this.translate.instant("HEADER.label"),required:!0,disabled:!1},{id:"isDefault",type:"slide",label:this.translate.instant("DOCTYPE.default_doctype"),required:!1,disabled:!1}],this.selectedDocType={label:"",key:"",code:""}}ngOnInit(){this.serviceSettings.init(),this.form=this.toFormGroup()}toFormGroup(){const t={};return this.fields.forEach(i=>{t[i.id]=i.required?new A.NI({value:"",disabled:i.disabled},[A.kI.required]):new A.NI({value:"",disabled:i.disabled})}),t.folder=new A.NI(this.noMasterFolder,A.kI.required),new A.cw(t)}update(){let t=this.form.getRawValue();const i=this.getLastFolderIndex(t.folder);"_NO_MASTER"===t.folder&&(t.folder="0"),t={key:t.key,code:t.folder+"."+i.toString(),label:t.label,is_default:t.isDefault,form_id:this.selectedFormId,status:"OK"},this.updateDoctype(t)}getOutPut(t){this.selectedDocType=t;const i=this.selectedDocType.code.split(".");i.pop(),this.form.controls.folder.setValue(i.join(".")),this.form.controls.key.setValue(this.selectedDocType.key),this.form.controls.label.setValue(this.selectedDocType.label),this.form.controls.isDefault.setValue(this.selectedDocType.isDefault),"document"===this.selectedDocType.type?this.form.controls.isDefault.enable():this.form.controls.isDefault.disable()}deleteDoctype(){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("DOCTYPE.confirm_delete",{doctypeLabel:this.selectedDocType.label}),confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(i=>{i&&(this.updateDoctype({key:this.form.controls.key.value,code:this.form.controls.folder.value,label:this.form.controls.label.value,is_default:this.form.controls.isDefault.value,form_id:this.selectedFormId,status:"DEL"}),this.form.reset(),Object.keys(this.form.controls).forEach(l=>{this.form.controls[l].setErrors(null)}))})}getSelectedForm(t){this.selectedFormId=t.formId}getLastFolderIndex(t){let i=0;return this.documentTypeFactoryComponent.treeDataObj.doctypeData.forEach(t!==this.noMasterFolder?a=>{if(a.code.startsWith(t)&&a.code.split(".").length===t.split(".").length+1){const l=Number(a.code.split(".").pop());i=l>i?l:i}}:a=>{if(2===a.code.split(".").length){const l=Number(a.code.split(".").pop());i=l>i?l:i}}),i+1}updateDoctype(t){this.http.post(m.N.url+"/ws/doctypes/update",t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("DOCTYPE.doctype_edited")),this.selectedFormId&&this.documentTypeFactoryComponent.treeDataObj.loadTree(this.selectedFormId),this.selectedDocType.code=t.code}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Ri.eN),e.Y36(Ui),e.Y36(Nt.F0),e.Y36(Nt.gz),e.Y36(A.qu),e.Y36(pi.e),e.Y36(zi.K),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-list-doc-type"]],viewQuery:function(t,i){if(1&t&&e.Gf(Ei,7),2&t){let a;e.iGM(a=e.CRH())&&(i.documentTypeFactoryComponent=a.first)}},decls:44,vars:37,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[1,"settings_header","z-50"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],["mat-icon-button","",1,"absolute","right-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-xl","text-gray-900"],[3,"data","selectedFormOutput","selectedDoctypeOutput"],["mode","side","opened","","position","end",1,"available-fields","w-1/4","flex","flex-col","h-full","border-r","border-green-400"],["sidenav2",""],[3,"formGroup","ngSubmit"],[1,"grid","grid-cols-1","gap-x-2","gap-y-2","m-4"],["id","folder",3,"formControlName"],[3,"value"],[4,"ngFor","ngForOf"],["type","submit","mat-button","",1,"m-auto","w-7/12","border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300",3,"disabled"],["type","button","mat-button","",1,"m-auto","w-7/12","border-solid","border-red-400","border","bg-red-400","text-white",3,"disabled","click"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-8","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],[3,"disabled","value",4,"ngIf"],[3,"disabled","value"],[4,"ngIf"],["class","text-center p-4",4,"ngIf"],["matInput","",3,"formControlName","type","readonly","placeholder","required"],[1,"text-center","p-4"],[3,"formControlName"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,gA,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7)(10,"div",8)(11,"button",9),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(12,"em",10),e.qZA(),e.TgZ(13,"div",11)(14,"h3"),e._uU(15),e.qZA(),e._UZ(16,"hr",4),e.qZA()(),e.TgZ(17,"button",12),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(21);return e.KtG(h.toggle())}),e._UZ(18,"em",13),e.qZA(),e.TgZ(19,"app-document-type-factory",14),e.NdJ("selectedFormOutput",function(h){return i.getSelectedForm(h)})("selectedDoctypeOutput",function(h){return i.getOutPut(h)}),e.qZA()(),e.TgZ(20,"mat-sidenav",15,16)(22,"h3",3),e._uU(23),e.ALo(24,"translate"),e.qZA(),e._UZ(25,"mat-divider",4),e.TgZ(26,"form",17),e.NdJ("ngSubmit",function(){return i.update()}),e.TgZ(27,"div",18)(28,"mat-form-field")(29,"mat-label"),e._uU(30),e.ALo(31,"translate"),e.qZA(),e.TgZ(32,"mat-select",19)(33,"mat-option",20),e._uU(34),e.ALo(35,"translate"),e.qZA(),e.YNc(36,CA,2,1,"div",21),e.qZA()(),e.YNc(37,bA,3,2,"ng-container",21),e.TgZ(38,"button",22),e._uU(39),e.ALo(40,"translate"),e.qZA(),e.TgZ(41,"button",23),e.NdJ("click",function(){return i.deleteDoctype()}),e._uU(42),e.ALo(43,"translate"),e.qZA()()()()()}if(2&t){const a=e.MAs(2),l=e.MAs(21);e.xp6(4),e.Oqu(e.lcZ(5,24,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(4),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(3),e.ekj("transform",l.opened)("rotate-180",l.opened),e.xp6(1),e.Q6J("data",e.DdM(36,yA)),e.xp6(4),e.Oqu(e.lcZ(24,26,"DOCTYPE.edit_doctype")),e.xp6(3),e.Q6J("formGroup",i.form),e.xp6(4),e.Oqu(e.lcZ(31,28,"DOCTYPE.folder")),e.xp6(2),e.Q6J("formControlName","folder"),e.xp6(1),e.Q6J("value",i.noMasterFolder),e.xp6(1),e.hij(" ",e.lcZ(35,30,"DOCTYPE.no_master")," "),e.xp6(2),e.Q6J("ngForOf",i.documentTypeFactoryComponent.treeDataObj.doctypeData),e.xp6(1),e.Q6J("ngForOf",i.fields),e.xp6(1),e.Q6J("disabled",!i.selectedDocType.key),e.xp6(1),e.hij(" ",e.lcZ(40,32,"GLOBAL.edit")," "),e.xp6(2),e.Q6J("disabled",!i.selectedDocType.key),e.xp6(1),e.hij(" ",e.lcZ(43,34,"GLOBAL.delete")," ")}},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.KE,Rt.hX,Be.gD,b.ey,Va.Rr,an.Nt,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.ib,Zt.yz,Zt.yK,rn.Hk,Rn.d,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.sg,A.u,Ei,$t.X$],styles:[".document-type-card[_ngcontent-%COMP%]{height:800px}.mat-tree-node[_ngcontent-%COMP%]{min-height:unset}"]}),n})();function MA(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",37)(1,"button",38),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",39),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function DA(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,MA,6,11,"div",36),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function EA(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",13)(1,"mat-expansion-panel-header",31)(2,"mat-panel-title",32),e._UZ(3,"i"),e.TgZ(4,"button",33),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",34),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,DA,2,7,"div",35),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function wA(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,EA,9,15,"mat-expansion-panel",30),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function SA(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",33),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",34),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function AA(n,o){if(1&n&&e.YNc(0,SA,5,11,"button",40),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function LA(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,wA,2,1,"div",28),e.YNc(2,AA,1,1,"ng-template",null,29,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function OA(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",24),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",25)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",26),e.YNc(6,LA,4,6,"div",27),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function kA(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function IA(n,o){if(1&n&&(e.TgZ(0,"mat-option",48),e._UZ(1,"span",49),e.TgZ(2,"span",50),e._uU(3),e.qZA()()),2&n){const t=o.$implicit;e.Q6J("value",t.key),e.xp6(1),e.Q6J("innerHTML",t.value,e.oJD),e.xp6(2),e.Oqu(t.key)}}function PA(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,IA,4,3,"mat-option",47),e.qZA()),2&n){const t=e.oxw(3).$implicit;e.xp6(1),e.Q6J("ngForOf",t.autoComplete)}}function RA(n,o){if(1&n&&(e.TgZ(0,"div"),e._UZ(1,"input",45),e.TgZ(2,"mat-autocomplete",null,46),e.YNc(4,PA,2,1,"div",8),e.qZA()()),2&n){const t=e.MAs(3),i=e.oxw(2).$implicit;e.xp6(1),e.Q6J("formControl",i.control)("id",i.field_id)("type",i.type)("matAutocomplete",t),e.xp6(3),e.Q6J("ngIf",null===i.control.value||""===i.control.value||void 0===i.control.value)}}function FA(n,o){if(1&n&&(e.TgZ(0,"mat-option",48),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.key),e.xp6(1),e.hij(" ",e.lcZ(2,2,t.value)," ")}}function NA(n,o){if(1&n&&(e.TgZ(0,"div")(1,"mat-select",51),e.YNc(2,FA,3,4,"mat-option",47),e.qZA()()),2&n){const t=e.oxw(2).$implicit;e.xp6(1),e.Q6J("id",t.field_id)("formControl",t.control),e.xp6(1),e.Q6J("ngForOf",t.options)}}function BA(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",42)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"div",43),e.YNc(5,RA,5,5,"div",44),e.YNc(6,NA,3,3,"div",44),e.qZA()()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.uIk("for",t.field_id),e.xp6(1),e.Oqu(e.lcZ(3,5,t.label)),e.xp6(2),e.Q6J("ngSwitch",t.controlType),e.xp6(1),e.Q6J("ngSwitchCase","text"),e.xp6(1),e.Q6J("ngSwitchCase","dropdown")}}function UA(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,BA,7,7,"mat-form-field",41),e.qZA()),2&n){const t=o.$implicit,i=e.oxw();e.xp6(1),e.Q6J("ngIf",!t.limit||t.limit&&i.displayInput(t))}}function ZA(n,o){1&n&&(e.TgZ(0,"div",60),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"CUSTOM-FIELDS.no_option_added")))}function YA(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",61)(1,"mat-form-field",62)(2,"mat-label"),e._uU(3),e.ALo(4,"translate"),e.qZA(),e._UZ(5,"input",63),e.qZA(),e.TgZ(6,"mat-form-field",64)(7,"mat-label"),e._uU(8),e.ALo(9,"translate"),e.qZA(),e._UZ(10,"input",63),e.qZA(),e.TgZ(11,"div",65),e.NdJ("click",function(){const l=e.CHM(t).index,h=e.oxw(2);return e.KtG(h.deleteSelectOption(l))}),e.ALo(12,"translate"),e._UZ(13,"i",66),e.qZA()()}if(2&n){const t=o.$implicit;e.xp6(3),e.Oqu(e.lcZ(4,5,"HEADER.id")),e.xp6(2),e.Q6J("formControl",t.idControl),e.xp6(3),e.Oqu(e.lcZ(9,7,"HEADER.label")),e.xp6(2),e.Q6J("formControl",t.labelControl),e.xp6(1),e.s9C("matTooltip",e.lcZ(12,9,"CUSTOM-FIELDS.delete_choice"))}}function HA(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",52)(1,"div")(2,"span",53),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"div",54)(6,"div",55),e.NdJ("cdkDropListDropped",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.dropSelectOption(a))}),e.YNc(7,ZA,3,3,"div",56),e.YNc(8,YA,14,11,"div",57),e.qZA(),e.TgZ(9,"div",58),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.addSelectOption())}),e.ALo(10,"translate"),e._UZ(11,"i",59),e.qZA()()()()}if(2&n){const t=e.oxw();e.xp6(3),e.Oqu(e.lcZ(4,4,"CUSTOM-FIELDS.select_options")),e.xp6(4),e.Q6J("ngIf",0===t.selectOptions.length),e.xp6(1),e.Q6J("ngForOf",t.selectOptions),e.xp6(1),e.s9C("matTooltip",e.lcZ(10,6,"CUSTOM-FIELDS.add_choice"))}}function VA(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",67),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.addCustomField())}),e._uU(1),e.ALo(2,"translate"),e.qZA()}2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"CUSTOM-FIELDS.add")," "))}function GA(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",67),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw();return a.stopPropagation(),e.KtG(l.updateCustomOnSubmit())}),e._uU(1),e.ALo(2,"translate"),e.qZA()}2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"CUSTOM-FIELDS.update")," "))}function KA(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",73)(1,"div",74)(2,"div"),e._uU(3),e.qZA(),e.TgZ(4,"div",75),e._uU(5),e.ALo(6,"translate"),e.qZA()(),e.TgZ(7,"div",76)(8,"button",77),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().index,l=e.oxw(2);return e.KtG(l.moveToActive(a))}),e.ALo(9,"translate"),e._UZ(10,"i",78),e.qZA(),e.TgZ(11,"button",77),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().$implicit,l=e.oxw(2);return e.KtG(l.updateCustomField(a,"inactive"))}),e.ALo(12,"translate"),e._UZ(13,"i",79),e.qZA(),e.TgZ(14,"button",77),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().$implicit,l=e.oxw(2);return e.KtG(l.deleteCustomField(a.id,"inactive"))}),e.ALo(15,"translate"),e._UZ(16,"i",80),e.qZA()()()}if(2&n){const t=e.oxw().$implicit;e.xp6(3),e.Oqu(t.label),e.xp6(2),e.hij(" (",e.lcZ(6,5,"TYPES."+t.type),") "),e.xp6(3),e.s9C("matTooltip",e.lcZ(9,7,"GLOBAL.move_to_active")),e.xp6(3),e.s9C("matTooltip",e.lcZ(12,9,"GLOBAL.edit")),e.xp6(3),e.s9C("matTooltip",e.lcZ(15,11,"GLOBAL.delete"))}}function jA(n,o){if(1&n&&(e.TgZ(0,"span"),e.YNc(1,KA,17,13,"div",72),e.qZA()),2&n){const t=o.$implicit,i=e.oxw().$implicit;e.xp6(1),e.Q6J("ngIf",t.module===i.id)}}function WA(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",73)(1,"div",74)(2,"div"),e._uU(3),e.qZA(),e.TgZ(4,"div",75),e._uU(5),e.ALo(6,"translate"),e.qZA()(),e.TgZ(7,"div",76)(8,"button",77),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().index,l=e.oxw(2);return e.KtG(l.moveToInactive(a))}),e.ALo(9,"translate"),e._UZ(10,"i",81),e.qZA(),e.TgZ(11,"button",77),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().$implicit,l=e.oxw(2);return e.KtG(l.updateCustomField(a,"active"))}),e.ALo(12,"translate"),e._UZ(13,"i",79),e.qZA(),e.TgZ(14,"button",77),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().$implicit,l=e.oxw(2);return e.KtG(l.deleteCustomField(a.id,"active"))}),e.ALo(15,"translate"),e._UZ(16,"i",80),e.qZA()()()}if(2&n){const t=e.oxw().$implicit;e.xp6(3),e.Oqu(t.label),e.xp6(2),e.hij(" (",e.lcZ(6,5,"TYPES."+t.type),") "),e.xp6(3),e.s9C("matTooltip",e.lcZ(9,7,"GLOBAL.move_to_inactive")),e.xp6(3),e.s9C("matTooltip",e.lcZ(12,9,"GLOBAL.edit")),e.xp6(3),e.s9C("matTooltip",e.lcZ(15,11,"GLOBAL.delete"))}}function qA(n,o){if(1&n&&(e.TgZ(0,"span"),e.YNc(1,WA,17,13,"div",72),e.qZA()),2&n){const t=o.$implicit,i=e.oxw().$implicit;e.xp6(1),e.Q6J("ngIf",t.module===i.id)}}function JA(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-tab",68)(1,"div",69)(2,"div",70)(3,"h2"),e._uU(4),e.ALo(5,"translate"),e.qZA(),e.TgZ(6,"div",71),e.NdJ("cdkDropListDropped",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.dropCustomField(a))}),e.YNc(7,jA,2,1,"span",18),e.qZA()(),e.TgZ(8,"div",70)(9,"h2"),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.TgZ(12,"div",71),e.NdJ("cdkDropListDropped",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.dropCustomField(a))}),e.YNc(13,qA,2,1,"span",18),e.qZA()()()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("label",i.translate.instant(t.label)),e.xp6(4),e.Oqu(e.lcZ(5,7,"HEADER.inactive")),e.xp6(2),e.Q6J("cdkDropListData",i.inactiveFields),e.xp6(1),e.Q6J("ngForOf",i.inactiveFields),e.xp6(3),e.Oqu(e.lcZ(11,9,"HEADER.active")),e.xp6(2),e.Q6J("cdkDropListData",i.activeFields),e.xp6(1),e.Q6J("ngForOf",i.activeFields)}}let $A=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt){this.router=t,this.http=i,this.dialog=a,this.route=l,this.userService=h,this.formBuilder=E,this.authService=B,this.translate=oe,this.notify=xe,this.serviceSettings=Ve,this.privilegesService=lt,this.update=!1,this.loading=!0,this.inactiveFields=[],this.activeFields=[],this.selectOptions=[],this.inactiveOrActive="",this.parent=[{id:"verifier",label:this.translate.instant("HOME.verifier")},{id:"splitter",label:this.translate.instant("HOME.splitter")}],this.addFieldInputs=[{field_id:"label_short",controlType:"text",control:new A.NI,label:this.translate.instant("HEADER.label_short"),autoComplete:[],required:!0},{field_id:"label",controlType:"text",control:new A.NI,label:this.translate.instant("HEADER.label"),autoComplete:[],required:!0},{field_id:"module",controlType:"dropdown",control:new A.NI,label:this.translate.instant("CUSTOM-FIELDS.module"),options:[{key:"verifier",value:this.translate.instant("HOME.verifier")},{key:"splitter",value:this.translate.instant("HOME.splitter")}],required:!0,autoComplete:[]},{field_id:"type",controlType:"dropdown",control:new A.NI,label:this.translate.instant("CUSTOM-FIELDS.type"),options:[{key:"text",value:this.translate.instant("FORMATS.text")},{key:"date",value:this.translate.instant("FORMATS.date")},{key:"textarea",value:this.translate.instant("FORMATS.textarea")},{key:"select",value:this.translate.instant("FORMATS.select")},{key:"checkbox",value:this.translate.instant("CUSTOM-FIELDS.checkbox")}],autoComplete:[],required:!0},{field_id:"metadata_key",controlType:"text",control:new A.NI,label:this.translate.instant("SETTINGS.autocomplete"),limit:"splitter",autoComplete:[{key:"",value:this.translate.instant("SPLITTER.Other")},{key:"SEPARATOR_MAARCH",value:this.translate.instant("SPLITTER.separator_maarch")},{key:"SEPARATOR_META1",value:this.translate.instant("SPLITTER.separator_meta1")},{key:"SEPARATOR_META2",value:this.translate.instant("SPLITTER.separator_meta2")},{key:"SEPARATOR_META3",value:this.translate.instant("SPLITTER.separator_meta3")}],required:!1,class:""}]}ngOnInit(){this.serviceSettings.init(),this.retrieveCustomFields(),this.form=this.toFormGroup(),this.addFieldInputs.forEach(t=>{"label_short"===t.field_id&&t.control.valueChanges.subscribe(i=>{null!==i.match(/[\u00C0-\u017F]/g)&&t.control.setValue((0,wa.remove)(i)),null!==i.match(/[^\u00C0-\u017Fa-zA-Z]/g)&&t.control.setValue(i.replace(/[^\u00C0-\u017Fa-zA-Z]/g,""))})})}dropCustomField(t){t.previousContainer===t.container?Hs(t.container.data,t.previousIndex,t.currentIndex):this.enableCustomField(t.previousContainer.data,t.container.data,t.previousIndex,t.currentIndex)}toFormGroup(){const t={};return this.addFieldInputs.forEach(i=>{t[i.field_id]=i.required?new A.NI(i.value||"",A.kI.required):new A.NI(i.value||"")}),new A.cw(t)}moveToActive(t){this.enableCustomField(this.inactiveFields,this.activeFields,t,this.activeFields.length)}moveToInactive(t){this.enableCustomField(this.activeFields,this.inactiveFields,t,this.inactiveFields.length)}displayInput(t){let i=!1;return t.limit&&this.addFieldInputs.forEach(a=>{"module"===a.field_id&&a.control.value===t.limit&&(i=!0)}),i}retrieveCustomFields(){let t;this.loading=!0,this.activeFields=[],this.inactiveFields=[],this.http.get(m.N.url+"/ws/customFields/list",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{i.customFields.forEach(a=>{t={id:a.id,label_short:a.label_short,module:a.module,label:a.label,type:a.type,enabled:a.enabled,settings:a.settings,metadata_key:a.metadata_key},a.enabled?this.activeFields.push(t):this.inactiveFields.push(t)})}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}addSelectOption(){this.selectOptions.push({idControl:new A.NI,labelControl:new A.NI})}displayChoicesList(){let t=!1;return this.addFieldInputs.forEach(i=>{"type"===i.field_id&&i.control.value&&("checkbox"===i.control.value||"select"===i.control.value)&&(t=!0)}),t}dropSelectOption(t){Hs(this.selectOptions,t.previousIndex,t.currentIndex)}deleteSelectOption(t){this.selectOptions.splice(t,1)}addSelectOptionsToArgs(t){t.options=[];for(const i of this.selectOptions)t.options.push({id:i.idControl.value,label:i.labelControl.value});return t}addCustomField(){this.loading=!0;let t={};t=this.addSelectOptionsToArgs(t),this.addFieldInputs.forEach(i=>{t[i.field_id]=i.control.value}),this.http.post(m.N.url+"/ws/customFields/add",t,{headers:this.authService.headers}).pipe((0,$e.b)(i=>{t.id=i.id,this.retrieveCustomFields(),this.notify.success(this.translate.instant("CUSTOM-FIELDS.field_added")),this.resetForm()}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}deleteCustom(t,i){this.http.delete(m.N.url+"/ws/customFields/delete/"+t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("CUSTOM-FIELDS.deleted")),"active"===i?this.activeFields.forEach((a,l,h)=>{a.id===t&&h.splice(l,1)}):this.inactiveFields.forEach((a,l,h)=>{a.id===t&&h.splice(l,1)})}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe()}deleteCustomField(t,i){t&&this.http.get(m.N.url+"/ws/customFields/customPresentsInForm/"+t,{headers:this.authService.headers}).pipe((0,$e.b)(a=>{a?this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("CUSTOM-FIELDS.custom_exists"),confirmText:this.translate.instant("CUSTOM-FIELDS.confirm_delete"),confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(h=>{h&&this.deleteCustom(t,i)}):this.deleteCustom(t,i)}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe()}enableCustomField(t,i,a,l){let h=t[a];h={id:h.id,label_short:h.label_short,module:h.module,label:h.label,type:h.type,enabled:!h.enabled,metadata_key:h.metadata_key},this.http.put(m.N.url+"/ws/customFields/update",h,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{vr(t,i,a,l),this.notify.success(this.translate.instant("CUSTOM-FIELDS.field_updated"))}),(0,Ke.K)(E=>(console.debug(E),this.notify.handleErrors(E),(0,ie.of)(!1)))).subscribe()}updateCustomOnSubmit(){let t={};t=this.addSelectOptionsToArgs(t),t.id=this.updateCustomId,"active"===this.inactiveOrActive?(this.addFieldInputs.forEach(i=>{this.activeFields.forEach(a=>{this.updateCustomId===a.id&&(a[i.field_id]=t[i.field_id]=i.control.value)})}),t.enabled=!0):(this.addFieldInputs.forEach(i=>{this.inactiveFields.forEach(a=>{this.updateCustomId===a.id&&(a[i.field_id]=t[i.field_id]=i.control.value)})}),t.enabled=!1),this.http.put(m.N.url+"/ws/customFields/update",t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("CUSTOM-FIELDS.field_updated")),this.resetForm(),this.retrieveCustomFields()}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}updateCustomField(t,i){if(this.update=!0,this.selectOptions=[],t&&(this.updateCustomId=t.id,this.inactiveOrActive=i,this.addFieldInputs.forEach(a=>{a.control.setValue(t[a.field_id])}),t.settings.hasOwnProperty("options")))for(const a of t.settings.options)this.selectOptions.push({idControl:new A.NI(a.id),labelControl:new A.NI(a.label)})}resetForm(){this.addFieldInputs.forEach(t=>{t.control.setValue("")}),this.selectOptions=[],this.inactiveOrActive="",this.updateCustomId="",this.update=!1}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Ui),e.Y36(Nt.gz),e.Y36(zi.K),e.Y36(A.qu),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-custom-fields"]],decls:37,vars:23,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],[3,"expanded"],[3,"formGroup"],[1,"cursor-pointer","relative","top-9","ml-4","w-1/12",3,"matTooltip","click"],[1,"self-center","fa-solid","fa-sync","fa-lg","hover:text-green-400"],[1,"mx-12","grid","grid-cols-6","gap-4"],[4,"ngFor","ngForOf"],["class","flex justify-center",4,"ngIf"],[1,"flex","justify-center","m-5"],["class","border-solid border-green-400 border hover:bg-green-400 hover:text-white transition duration-300","mat-button","",3,"click",4,"ngIf"],[1,"custom-fields-control","w-full"],[3,"label",4,"ngFor","ngForOf"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],["class","w-full",4,"ngIf"],[1,"w-full"],[3,"ngSwitch"],[4,"ngSwitchCase"],["matInput","",3,"formControl","id","type","matAutocomplete"],["autocomplete","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[2,"font-size","12px",3,"innerHTML"],[1,"text-green-400","ml-3",2,"font-size","10px"],[3,"id","formControl"],[1,"flex","justify-center"],[1,"text-center"],[1,"flex"],["cdkDropList","",1,"select-options-list","w-96",3,"cdkDropListDropped"],["class","my-14 text-center text-gray-400",4,"ngIf"],["class","drop-box-option p-4","cdkDrag","",4,"ngFor","ngForOf"],[1,"top-0","mx-2","h-8","inline-block",3,"matTooltip","click"],[1,"fa-solid","fa-plus","fa-lg","hover:text-green-400"],[1,"my-14","text-center","text-gray-400"],["cdkDrag","",1,"drop-box-option","p-4"],[1,"w-40","mr-2"],["matInput","","type","text",3,"formControl"],[1,"w-40"],[1,"top-0","mx-2","h-8","cursor-pointer",3,"matTooltip","click"],[1,"fa-solid","fa-trash","fa-lg","hover:text-green-400"],["mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300",3,"click"],[3,"label"],["cdkDropListGroup","",1,"w-max","mx-auto"],[1,"list-container"],["cdkDropList","",1,"custom-fields-list",2,"max-height","47vh","overflow","auto",3,"cdkDropListData","cdkDropListDropped"],["cdkDrag","","class","drop-box-custom-field",4,"ngIf"],["cdkDrag","",1,"drop-box-custom-field"],[1,"text-left"],[1,"text-gray-400"],[1,"actions"],["mat-icon-button","",1,"hover:text-green-400",3,"matTooltip","click"],[1,"fa","fa-plus"],[1,"fa-solid","fa-edit"],[1,"fa-solid","fa-trash"],[1,"fa","fa-minus"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,OA,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,kA,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16),e.qZA(),e._UZ(17,"hr",4),e.qZA()(),e.TgZ(18,"mat-accordion")(19,"mat-expansion-panel",13)(20,"mat-expansion-panel-header")(21,"mat-panel-title"),e._uU(22),e.ALo(23,"translate"),e.qZA()(),e.TgZ(24,"form",14)(25,"div",15),e.NdJ("click",function(){return i.resetForm()}),e.ALo(26,"translate"),e._UZ(27,"i",16),e.qZA(),e.TgZ(28,"div",17),e.YNc(29,UA,2,1,"div",18),e.qZA(),e.YNc(30,HA,12,8,"div",19),e.TgZ(31,"div",20),e.YNc(32,VA,3,3,"button",21),e.YNc(33,GA,3,3,"button",21),e.qZA()()()(),e.TgZ(34,"div",22)(35,"mat-tab-group"),e.YNc(36,JA,14,11,"mat-tab",23),e.qZA()()()()}if(2&t){const a=e.MAs(2);e.xp6(4),e.Oqu(e.lcZ(5,17,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(3),e.Q6J("expanded",!0),e.xp6(3),e.hij(" ",e.lcZ(23,19,"SETTINGS.add_custom_fields")," "),e.xp6(2),e.Q6J("formGroup",i.form),e.xp6(1),e.s9C("matTooltip",e.lcZ(26,21,"CUSTOM-FIELDS.reset")),e.xp6(4),e.Q6J("ngForOf",i.addFieldInputs),e.xp6(1),e.Q6J("ngIf",i.displayChoicesList()),e.xp6(2),e.Q6J("ngIf",!i.update),e.xp6(1),e.Q6J("ngIf",i.update),e.xp6(3),e.Q6J("ngForOf",i.parent)}},dependencies:[_e.sg,_e.O5,_e.RF,_e.n9,Nt.rH,Rt.KE,Rt.hX,Be.gD,b.ey,an.Nt,Xn,va.SP,va.uX,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.pp,Zt.ib,Zt.yz,Zt.yK,de.XC,de.ZL,rn.Hk,Rn.d,A._Y,A.Fj,A.JJ,A.JL,A.oH,A.sg,e_,Xu,ld,Cn.R,$t.X$],styles:[".list-container[_ngcontent-%COMP%]{width:400px;max-width:100%;margin:25px;display:inline-block;vertical-align:top}.list-container[_ngcontent-%COMP%] > h2[_ngcontent-%COMP%]{margin:0}.custom-fields-control[_ngcontent-%COMP%]{margin-top:25px;border:solid 1px #ccc;border-radius:4px}.custom-fields-list[_ngcontent-%COMP%]{border:solid 1px #ccc;min-height:200px;background:white;border-radius:4px;overflow:auto;display:block;max-height:47vh}.select-options-list[_ngcontent-%COMP%]{border:solid 1px #ccc;height:150px;width:300px;background:white;border-radius:4px;overflow:auto;display:block}.drop-box-option[_ngcontent-%COMP%]{border-bottom:solid 1px #ccc;color:#000000de;display:flex;flex-direction:row;align-items:center;box-sizing:border-box;cursor:move;background:white;font-size:10px}.drop-box-custom-field[_ngcontent-%COMP%]{padding:20px 10px;border-bottom:solid 1px #ccc;color:#000000de;display:flex;flex-direction:row;align-items:center;justify-content:space-between;box-sizing:border-box;cursor:move;background:white;font-size:14px}.cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1)}.custom-fields-list.cdk-drop-list-dragging[_ngcontent-%COMP%] .drop-box-custom-field[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}"]}),n})();function zA(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",38)(1,"button",39),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",40),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function QA(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,zA,6,11,"div",37),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function XA(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",31)(1,"mat-expansion-panel-header",32)(2,"mat-panel-title",33),e._UZ(3,"i"),e.TgZ(4,"button",34),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",35),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,QA,2,7,"div",36),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function e3(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,XA,9,15,"mat-expansion-panel",30),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function t3(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",34),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",35),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function n3(n,o){if(1&n&&e.YNc(0,t3,5,11,"button",41),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function a3(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,e3,2,1,"div",28),e.YNc(2,n3,1,1,"ng-template",null,29,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function o3(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",24),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",25)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",26),e.YNc(6,a3,4,6,"div",27),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function r3(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function s3(n,o){1&n&&(e.TgZ(0,"mat-header-cell",42),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.id")," "))}function l3(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.id," ")}}function c3(n,o){1&n&&(e.TgZ(0,"mat-header-cell",42),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.output_type")," "))}function d3(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.output_type_id," ")}}function u3(n,o){1&n&&(e.TgZ(0,"mat-header-cell",42),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.label")," "))}function _3(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.output_label," ")}}function p3(n,o){1&n&&e._UZ(0,"mat-header-cell")}function h3(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-cell")(1,"button",43),e.NdJ("click",function(a){const h=e.CHM(t).$implicit,E=e.oxw();return a.stopPropagation(),e.KtG(E.deleteConfirmDialog(h.id,h.output_label))}),e.ALo(2,"translate"),e._UZ(3,"i",44),e.qZA(),e.TgZ(4,"button",43),e.NdJ("click",function(a){const h=e.CHM(t).$implicit,E=e.oxw();return a.stopPropagation(),e.KtG(E.duplicateConfirmDialog(h.id,h.output_label))}),e.ALo(5,"translate"),e._UZ(6,"i",45),e.qZA()()}2&n&&(e.xp6(1),e.s9C("matTooltip",e.lcZ(2,2,"GLOBAL.delete")),e.xp6(3),e.s9C("matTooltip",e.lcZ(5,4,"OUTPUT.duplicate")))}function m3(n,o){1&n&&e._UZ(0,"mat-header-row")}function g3(n,o){1&n&&e._UZ(0,"mat-row",46),2&n&&e.MGl("routerLink","/settings/splitter/outputs/update/",o.$implicit.id,"")}const f3=function(){return[5,10,15,20,50]};let C3=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt,Ft){this.router=t,this.http=i,this.dialog=a,this.userService=l,this.authService=h,this.translate=E,this.notify=B,this.historyService=oe,this.serviceSettings=xe,this.routerExtService=Ve,this.privilegesService=lt,this.localStorageService=Ft,this.headers=this.authService.headers,this.columnsToDisplay=["id","output_label","output_type_id","actions"],this.loading=!0,this.outputs=[],this.pageSize=10,this.pageIndex=0,this.total=0,this.offset=0}ngOnInit(){this.serviceSettings.init();const t=this.routerExtService.getPreviousUrl();t.includes("outputs/")||"/"===t?(this.localStorageService.get("outputsPageIndex")&&(this.pageIndex=parseInt(this.localStorageService.get("outputsPageIndex"))),this.offset=this.pageSize*this.pageIndex):this.localStorageService.remove("outputsPageIndex"),this.loadOutputs()}loadOutputs(){this.http.get(m.N.url+"/ws/outputs/list?module=splitter&limit="+this.pageSize+"&offset="+this.offset,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.outputs[0]&&(this.total=t.outputs[0].total),this.outputs=t.outputs}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}onPageChange(t){this.pageSize=t.pageSize,this.offset=this.pageSize*t.pageIndex,this.localStorageService.save("outputsPageIndex",t.pageIndex),this.loadOutputs()}deleteConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("OUTPUT.confirm_delete",{output:i}),confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.deleteOutput(t),this.historyService.addHistory("splitter","delete_output",this.translate.instant("HISTORY-DESC.delete-output",{output:i})))})}deleteOutput(t){void 0!==t&&this.http.delete(m.N.url+"/ws/outputs/delete/"+t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadOutputs(),this.notify.success(this.translate.instant("OUTPUT.output_deleted"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}duplicateConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("OUTPUT.confirm_duplicate",{output:i}),confirmButton:this.translate.instant("GLOBAL.duplicate"),confirmButtonColor:"green",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.duplicateOutput(t),this.historyService.addHistory("splitter","duplicate_output",this.translate.instant("HISTORY-DESC.duplicate-output",{output:i})))})}duplicateOutput(t){void 0!==t&&this.http.post(m.N.url+"/ws/outputs/duplicate/"+t,{},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadOutputs(),this.notify.success(this.translate.instant("OUTPUT.output_duplicated"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}sortData(t){const i=this.outputs.slice();this.outputs=t.active&&""!==t.direction?i.sort((a,l)=>{const h="asc"===t.direction;switch(t.active){case"id":return this.compare(a.id,l.id,h);case"label_short":return this.compare(a.label_short,l.label_short,h);case"label":return this.compare(a.label,l.label,h);default:return 0}}):i}compare(t,i,a){return(t0)}}let eL=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt,Ft){this.router=t,this.http=i,this.route=a,this.sanitizer=l,this.authService=h,this.translate=E,this.notify=B,this.historyService=oe,this.serviceSettings=xe,this.routerExtService=Ve,this.privilegesService=lt,this.localStorageService=Ft,this.columnsToDisplay=["id","label","description","type","value","actions"],this.headers=this.authService.headers,this.loading=!0,this.updateLoading=!1,this.configurations=[],this.allConfigurations=[],this.pageSize=10,this.pageIndex=0,this.total=0,this.offset=0,this.search="",this.loginImage=""}ngOnInit(){this.serviceSettings.init();const t=this.routerExtService.getPreviousUrl();t.includes("settings/general/configurations")||"/"===t?(this.localStorageService.get("configurationsPageIndex")&&(this.pageIndex=parseInt(this.localStorageService.get("configurationsPageIndex"))),this.offset=this.pageSize*this.pageIndex):this.localStorageService.remove("configurationsPageIndex"),this.http.get(m.N.url+"/ws/config/getConfigurations",{headers:this.authService.headers}).pipe((0,$e.b)(a=>{this.allConfigurations=a.configurations}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe();const i=this.localStorageService.get("login_image_b64");i?this.loginImage=this.sanitizer.bypassSecurityTrustUrl("data:image/png;base64, "+i):this.http.get(m.N.url+"/ws/config/getLoginImage").pipe((0,$e.b)(a=>{this.loginImage=this.sanitizer.bypassSecurityTrustUrl("data:image/png;base64, "+a)}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe(),this.loadConfigurations()}onClick(t){t.click()}upload(t){if(t.target.files&&t.target.files[0]){this.loading=!0;const i=new FileReader;i.readAsDataURL(t.target.files[0]),i.onload=a=>{const l={image_content:a.target.result};this.http.put(m.N.url+"/ws/config/updateLoginImage",{args:l},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loginImage=this.sanitizer.bypassSecurityTrustUrl(l.image_content),this.localStorageService.save("login_image_b64",l.image_content.replace("data:image/png;base64,",""));const h=this.router.url;this.router.navigateByUrl("/",{skipLocationChange:!0}).then(()=>{this.router.navigate([h]).then()}),this.historyService.addHistory("general","update_login_image",this.translate.instant("HISTORY-DESC.update_login_image")),this.notify.success(this.translate.instant("CONFIGURATIONS.login_image_changed"))}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(h=>(console.debug(h),this.notify.handleErrors(h),(0,ie.of)(!1)))).subscribe()}}}loadConfigurations(){this.http.get(m.N.url+"/ws/config/getConfigurations?limit="+this.pageSize+"&offset="+this.offset+"&search="+this.search,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.configurations[0]?this.total=t.configurations[0].total:0!==this.pageIndex&&(this.pageIndex=this.pageIndex-1,this.offset=this.pageSize*this.pageIndex,this.loadConfigurations()),this.configurations=t.configurations,this.configurations.forEach(i=>{switch(i.data.type){case"int":i.data.label_type=(0,He.J)("CONFIGURATIONS.int");break;case"float":i.data.label_type=(0,He.J)("CONFIGURATIONS.float");break;case"string":i.data.label_type=(0,He.J)("CONFIGURATIONS.string");break;case"bool":i.data.label_type=(0,He.J)("CONFIGURATIONS.bool")}})}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}updateValue(t,i,a){this.updateLoading=!0;const l=t.target?t.target.value:t.value;this.configurations.forEach(h=>{h.id===i&&(h.data.value=l,this.http.put(m.N.url+"/ws/config/updateConfiguration/"+h.id,h,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{h.updateMode=!1,this.updateLoading=!1,this.notify.success(this.translate.instant("CONFIGURATIONS.configuration_updated")),this.historyService.addHistory("general","update_configuration",this.translate.instant("HISTORY-DESC.update_configuration",{configuration:a}))}),(0,Ke.K)(E=>(console.debug(E),this.notify.handleErrors(E),(0,ie.of)(!1)))).subscribe())})}searchConfiguration(t){this.search=t.target.value,this.loadConfigurations()}onPageChange(t){this.pageSize=t.pageSize,this.offset=this.pageSize*t.pageIndex,this.pageIndex=t.pageIndex,this.localStorageService.save("configurationsPageIndex",t.pageIndex),this.loadConfigurations()}sortData(t){const i=this.allConfigurations.slice();t.active&&""!==t.direction?(this.configurations=i.sort((a,l)=>{const h="asc"===t.direction;switch(t.active){case"id":return this.compare(a.id,l.id,h);case"label":return this.compare(a.label,l.label,h);case"description":return this.compare(a.data.description,l.data.description,h);default:return 0}}),this.configurations=this.configurations.splice(0,this.pageSize)):this.configurations=i.splice(0,this.pageSize)}compare(t,i,a){return(t0)}}let OL=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt){this.router=t,this.http=i,this.route=a,this.authService=l,this.translate=h,this.notify=E,this.historyService=B,this.serviceSettings=oe,this.routerExtService=xe,this.privilegesService=Ve,this.localStorageService=lt,this.columnsToDisplay=["id","docserver_id","description","path","actions"],this.headers=this.authService.headers,this.loading=!0,this.updateLoading=!1,this.docservers=[],this.allDocservers=[],this.pageSize=10,this.pageIndex=0,this.total=0,this.offset=0,this.search=""}ngOnInit(){this.serviceSettings.init();const t=this.routerExtService.getPreviousUrl();t.includes("settings/general/docservers")||"/"===t?(this.localStorageService.get("docserversPageIndex")&&(this.pageIndex=parseInt(this.localStorageService.get("docserversPageIndex"))),this.offset=this.pageSize*this.pageIndex):this.localStorageService.remove("docserversPageIndex"),this.http.get(m.N.url+"/ws/config/getDocservers",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.allDocservers=i.docservers}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe(),this.loadDocservers()}loadDocservers(){this.http.get(m.N.url+"/ws/config/getDocservers?limit="+this.pageSize+"&offset="+this.offset+"&search="+this.search,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.docservers[0]?this.total=t.docservers[0].total:0!==this.pageIndex&&(this.pageIndex=this.pageIndex-1,this.offset=this.pageSize*this.pageIndex,this.loadDocservers()),this.docservers=t.docservers}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}updateValue(t,i,a){this.updateLoading=!0;const l=t.target.value;this.docservers.forEach(h=>{h.id===i&&(h.path=l,this.http.put(m.N.url+"/ws/config/updateDocserver/"+h.id,{data:h},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{h.updateMode=!1,this.updateLoading=!1,this.notify.success(this.translate.instant("DOCSERVERS.docserver_updated")),this.historyService.addHistory("general","update_docserver",this.translate.instant("HISTORY-DESC.update_docserver",{docserver:a}))}),(0,Ke.K)(E=>(console.debug(E),this.notify.handleErrors(E),(0,ie.of)(!1)))).subscribe())})}searchDocservers(t){this.search=t.target.value,this.loadDocservers()}onPageChange(t){this.pageSize=t.pageSize,this.offset=this.pageSize*t.pageIndex,this.pageIndex=t.pageIndex,this.localStorageService.save("docserversPageIndex",t.pageIndex),this.loadDocservers()}sortData(t){const i=this.allDocservers.slice();t.active&&""!==t.direction?(this.docservers=i.sort((a,l)=>{const h="asc"===t.direction;switch(t.active){case"id":return this.compare(a.id,l.id,h);case"docserver_id":return this.compare(a.docserver_id,l.docserver_id,h);case"description":return this.compare(a.description,l.description,h);default:return 0}}),this.docservers=this.docservers.splice(0,this.pageSize)):this.docservers=i.splice(0,this.pageSize)}compare(t,i,a){return(t0)}}let rO=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt){this.router=t,this.http=i,this.route=a,this.authService=l,this.translate=h,this.notify=E,this.historyService=B,this.serviceSettings=oe,this.routerExtService=xe,this.privilegesService=Ve,this.localStorageService=lt,this.columnsToDisplay=["regex_id","label","content","actions"],this.headers=this.authService.headers,this.loading=!0,this.updateLoading=!1,this.regex=[],this.allRegex=[],this.pageSize=10,this.pageIndex=0,this.total=0,this.offset=0,this.search=""}ngOnInit(){this.serviceSettings.init();const t=this.routerExtService.getPreviousUrl();t.includes("settings/general/regex")||"/"===t?(this.localStorageService.get("regexPageIndex")&&(this.pageIndex=parseInt(this.localStorageService.get("regexPageIndex"))),this.offset=this.pageSize*this.pageIndex):this.localStorageService.remove("regexPageIndex"),this.http.get(m.N.url+"/ws/config/getRegex",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.allRegex=i.regex}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe(),this.loadRegex()}loadRegex(){this.http.get(m.N.url+"/ws/config/getRegex?limit="+this.pageSize+"&offset="+this.offset+"&search="+this.search,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.regex[0]?this.total=t.regex[0].total:0!==this.pageIndex&&(this.pageIndex=this.pageIndex-1,this.offset=this.pageSize*this.pageIndex,this.loadRegex()),this.regex=t.regex}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}updateValue(t,i,a){this.updateLoading=!0;const l=t.target.value;this.regex.forEach(h=>{h.id===i&&(h.content=l,this.http.put(m.N.url+"/ws/config/updateRegex/"+h.id,{data:h},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{h.updateMode=!1,this.updateLoading=!1,this.notify.success(this.translate.instant("REGEX.regex_updated")),this.historyService.addHistory("general","update_regex",this.translate.instant("HISTORY-DESC.update_regex",{regex:a}))}),(0,Ke.K)(E=>(console.debug(E),this.notify.handleErrors(E),(0,ie.of)(!1)))).subscribe())})}searchRegex(t){this.search=t.target.value,this.loadRegex()}onPageChange(t){this.pageSize=t.pageSize,this.offset=this.pageSize*t.pageIndex,this.pageIndex=t.pageIndex,this.localStorageService.save("regexPageIndex",t.pageIndex),this.loadRegex()}sortData(t){const i=this.allRegex.slice();t.active&&""!==t.direction?(this.regex=i.sort((a,l)=>{const h="asc"===t.direction;switch(t.active){case"regex_id":return this.compare(a.regex_id,l.regex_id,h);case"label":return this.compare(a.label,l.label,h);default:return 0}}),this.regex=this.regex.splice(0,this.pageSize)):this.regex=i.splice(0,this.pageSize)}compare(t,i,a){return(t{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve){this.router=t,this.http=i,this.dialog=a,this.route=l,this.authService=h,this.translate=E,this.notify=B,this.historyService=oe,this.serviceSettings=xe,this.privilegesService=Ve,this.headers=this.authService.headers,this.loading=!0,this.folderLoading=!1,this.processLoading=!1,this.loadingProcessName=!1,this.allCustomers=[],this.allForms=[],this.allSplitterInputs=[],this.processesMail=[],this.allprocessesMail=[],this.pageSize=10,this.pageIndex=0,this.total=0,this.offset=0,this.selectedIndex=0,this.mailCollectConfigId=0,this.search="",this.globalForm=[{id:"batchPath",control:new A.NI,label:(0,He.J)("MAILCOLLECT.batch_path"),type:"text",required:!0},{id:"smtpDelay",control:new A.NI,label:(0,He.J)("MAILCOLLECT.smtp_delay"),type:"number",required:!1},{id:"smtpNotifOnError",control:new A.NI,label:(0,He.J)("MAILCOLLECT.smtp_notif_on_error"),type:"boolean",required:!1},{id:"smtpSSL",control:new A.NI,label:(0,He.J)("MAILCOLLECT.smtp_ssl"),type:"boolean",required:!1},{id:"smtpStartTLS",control:new A.NI,label:(0,He.J)("MAILCOLLECT.smtp_starttls"),type:"boolean",required:!1},{id:"smtpAuth",control:new A.NI,label:(0,He.J)("MAILCOLLECT.smtp_auth"),type:"boolean",required:!1},{id:"smtpHost",control:new A.NI,label:(0,He.J)("MAILCOLLECT.smtp_host"),type:"text",required:!1},{id:"smtpPort",control:new A.NI,label:(0,He.J)("MAILCOLLECT.smtp_port"),type:"text",required:!1},{id:"smtpLogin",control:new A.NI,label:(0,He.J)("MAILCOLLECT.smtp_login"),type:"text",required:!1},{id:"smtpPwd",control:new A.NI,label:(0,He.J)("MAILCOLLECT.smtp_pwd"),type:"password",required:!1},{id:"smtpFromMail",control:new A.NI,label:(0,He.J)("MAILCOLLECT.smtp_from_mail"),type:"text",required:!1},{id:"smtpDestAdminMail",control:new A.NI,label:(0,He.J)("MAILCOLLECT.smtp_dest_admin_mail"),type:"text",required:!1}],this.processes=[],this.defaultProcessData=[{id:"name",control:new A.NI},{id:"hostname",class:"w-1/4",control:new A.NI,label:(0,He.J)("MAILCOLLECT.hostname"),type:"text",required:!0},{id:"enabled",class:"w-1/4",control:new A.NI,disabled:!0,type:"boolean",required:!1},{id:"port",class:"w-1/4",control:new A.NI,label:(0,He.J)("MAILCOLLECT.port"),type:"number",required:!0},{id:"login",class:"w-1/4",control:new A.NI,label:(0,He.J)("FORMATS.email"),type:"text",required:!0},{id:"password",class:"w-1/4",control:new A.NI,label:(0,He.J)("USER.password"),type:"password",required:!0},{id:"secured_connection",class:"w-1/5",control:new A.NI(!0),label:(0,He.J)("MAILCOLLECT.secured_connection"),type:"boolean",required:!0},{id:"is_splitter",class:"w-1/5",control:new A.NI(!1),label:(0,He.J)("MAILCOLLECT.is_splitter"),type:"boolean",required:!1},{id:"splitter_technical_input_id",class:"w-30",control:new A.NI(""),label:(0,He.J)("MAILCOLLECT.splitter_technical_input_id"),type:"autocomplete",required:!1},{id:"folder_to_crawl",class:"w-30",hint:(0,He.J)("MAILCOLLECT.load_folders_first"),control:new A.NI,label:(0,He.J)("MAILCOLLECT.folder_to_crawl"),type:"autocomplete",required:!0},{id:"folder_destination",class:"w-1/5",hint:(0,He.J)("MAILCOLLECT.load_folders_first"),control:new A.NI,label:(0,He.J)("MAILCOLLECT.folder_destination"),type:"autocomplete",required:!0},{id:"folder_trash",class:"w-1/5",hint:(0,He.J)("MAILCOLLECT.load_folders_first"),control:new A.NI,label:(0,He.J)("MAILCOLLECT.folder_trash"),type:"autocomplete",required:!1},{id:"action_after_process",class:"w-1/5",control:new A.NI(""),label:(0,He.J)("MAILCOLLECT.action_after_process"),type:"select",values:["move","delete","none"],required:!0},{id:"verifier_customer_id",class:"w-1/5",control:new A.NI,label:(0,He.J)("INPUT.associated_customer"),type:"autocomplete",required:!1},{id:"verifier_form_id",class:"w-1/5",control:new A.NI,label:(0,He.J)("POSITIONS-MASKS.form_associated"),type:"autocomplete",required:!1}],this.toHighlight="",this.folders=[]}ngOnInit(){this.serviceSettings.init(),this.http.get(m.N.url+"/ws/config/getConfiguration/mailCollectGeneral",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{1===t.configuration.length&&(this.mailCollectConfigId=t.configuration[0].id,Object.keys(t.configuration[0].data.value).forEach(i=>{this.globalForm.forEach(a=>{a.id===i&&t.configuration[0].data.value[i]&&a.control.setValue(t.configuration[0].data.value[i])})}))}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/accounts/customers/list",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.allCustomers=t.customers,this.defaultProcessData.forEach(i=>{"verifier_customer_id"===i.id&&(i.values=i.control.valueChanges.pipe((0,mt.O)(""),(0,Mn.U)(a=>a?this._filter(a,this.allCustomers):this.allCustomers)))})}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/forms/list?module=verifier",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.allForms=t.forms,this.defaultProcessData.forEach(i=>{"verifier_form_id"===i.id&&(i.values=i.control.valueChanges.pipe((0,mt.O)(""),(0,Mn.U)(a=>a?this._filter(a,this.allForms):this.allForms)))})}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/inputs/list?module=splitter",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.allSplitterInputs=t.inputs,this.defaultProcessData.forEach(i=>{"splitter_technical_input_id"===i.id&&(i.values=i.control.valueChanges.pipe((0,mt.O)(""),(0,Mn.U)(a=>a?this._filter(a,this.allSplitterInputs):this.allSplitterInputs)))})}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),setTimeout(()=>{this.loadProcess()})}processIsEnabled(t){let i=!1;return t.forEach(a=>{"enabled"===a.id&&(i=a.control.value)}),i}updateGlobal(){const t={value:{}};this.globalForm.forEach(i=>{t.value[i.id]=i.control.value}),this.http.put(m.N.url+"/ws/config/updateConfiguration/"+this.mailCollectConfigId,{data:t},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("MAILCOLLECT.general_settings_updated")),this.historyService.addHistory("general","mailcollect",this.translate.instant("HISTORY-DESC.mailcollect_general_settings_updated"))}),(0,Di.x)(()=>this.processLoading=!1),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}updateProcessName(t,i,a=!0){if(i){this.loadingProcessName=!0;let l="";t.forEach(h=>{"name"===h.id&&(l=h.control.value,h.control.setValue(i))}),a&&l&&this.http.post(m.N.url+"/ws/mailcollect/updateProcess/"+l,{name:i},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("MAILCOLLECT.process_name_updated")),this.historyService.addHistory("general","update_mailcollect_name",this.translate.instant("HISTORY-DESC.update_mailcollect_name",{process:l}))}),(0,Di.x)(()=>{this.loadingProcessName=!1,t.edit_name=!1}),(0,Ke.K)(h=>(console.debug(h),this.notify.handleErrors(h),(0,ie.of)(!1)))).subscribe()}}displayFn(t){return t?t.name?t.name:t.label?t.label:t.input_label:""}addProcess(){const t=[];this.defaultProcessData.forEach(i=>{t.push(i)}),this.processes.push(t)}loadProcess(){this.processes=[],this.http.get(m.N.url+"/ws/mailcollect/getProcesses",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.processes.forEach(i=>{const a=[];this.defaultProcessData.forEach(l=>{Object.keys(i).forEach(h=>{if(h===l.id){let E=i[h];if("verifier_customer_id"===h)for(let B=0;Bthis.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}resetDefaultData(){this.defaultProcessData=[{id:"name",control:new A.NI},{id:"enabled",class:"w-1/4",control:new A.NI,disabled:!0,type:"boolean",required:!1},{id:"hostname",class:"w-1/4",control:new A.NI,label:(0,He.J)("MAILCOLLECT.hostname"),type:"text",required:!0},{id:"port",class:"w-1/4",control:new A.NI,label:(0,He.J)("MAILCOLLECT.port"),type:"number",required:!0},{id:"login",class:"w-1/4",control:new A.NI,label:(0,He.J)("FORMATS.email"),type:"text",required:!0},{id:"password",class:"w-1/4",control:new A.NI,label:(0,He.J)("USER.password"),type:"password",required:!0},{id:"secured_connection",class:"w-1/5",control:new A.NI(!0),label:(0,He.J)("MAILCOLLECT.secured_connection"),type:"boolean",required:!0},{id:"is_splitter",class:"w-1/5",control:new A.NI(!1),label:(0,He.J)("MAILCOLLECT.is_splitter"),type:"boolean",required:!1},{id:"splitter_technical_input_id",class:"w-30",control:new A.NI(""),label:(0,He.J)("MAILCOLLECT.splitter_technical_input_id"),type:"autocomplete",required:!1},{id:"folder_to_crawl",class:"w-30",hint:(0,He.J)("MAILCOLLECT.load_folders_first"),control:new A.NI,label:(0,He.J)("MAILCOLLECT.folder_to_crawl"),type:"autocomplete",required:!0},{id:"folder_destination",class:"w-1/5",hint:(0,He.J)("MAILCOLLECT.load_folders_first"),control:new A.NI,label:(0,He.J)("MAILCOLLECT.folder_destination"),type:"autocomplete",required:!0},{id:"folder_trash",class:"w-1/5",hint:(0,He.J)("MAILCOLLECT.load_folders_first"),control:new A.NI,label:(0,He.J)("MAILCOLLECT.folder_trash"),type:"autocomplete",required:!1},{id:"action_after_process",class:"w-1/5",control:new A.NI(""),label:(0,He.J)("MAILCOLLECT.action_after_process"),type:"select",values:["move","delete","none"],required:!0},{id:"verifier_customer_id",class:"w-1/5",control:new A.NI,label:(0,He.J)("INPUT.associated_customer"),type:"autocomplete",required:!1},{id:"verifier_form_id",class:"w-1/5",control:new A.NI,label:(0,He.J)("POSITIONS-MASKS.form_associated"),type:"autocomplete",required:!1}],this.defaultProcessData.forEach(t=>{"splitter_technical_input_id"===t.id&&(t.values=t.control.valueChanges.pipe((0,mt.O)(""),(0,Mn.U)(i=>i?this._filter(i,this.allSplitterInputs):this.allSplitterInputs)))}),this.defaultProcessData.forEach(t=>{"verifier_customer_id"===t.id&&(t.values=t.control.valueChanges.pipe((0,mt.O)(""),(0,Mn.U)(i=>i?this._filter(i,this.allCustomers):this.allCustomers)))}),this.defaultProcessData.forEach(t=>{"verifier_form_id"===t.id&&(t.values=t.control.valueChanges.pipe((0,mt.O)(""),(0,Mn.U)(i=>i?this._filter(i,this.allForms):this.allForms)))})}getNameOfProcess(t){let i="";return t.forEach(a=>{"name"===a.id&&(i=a.control.value)}),i}createProcess(t){if(this.getNameOfProcess(t)){if(this.isValidForm(t)){const i={};t.forEach(a=>{i[a.id]="verifier_customer_id"!==a.id&&"verifier_form_id"!==a.id&&"splitter_technical_input_id"!==a.id?a.control.value:a.control.value?a.control.value.id:null}),this.http.post(m.N.url+"/ws/mailcollect/createProcess",i,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("MAILCOLLECT.process_created"))}),(0,Di.x)(()=>this.processLoading=!1),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe()}}else this.notify.error(this.translate.instant("MAILCOLLECT.process_name_mandatory"))}duplicateConfirmDialog(t){const i=this.getNameOfProcess(t);this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("MAILCOLLECT.confirm_duplicate_process",{process:i}),confirmButton:this.translate.instant("GLOBAL.disable"),confirmButtonColor:"green",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.duplicateProcess(t),this.historyService.addHistory("general","duplicate_mailcollect_process",this.translate.instant("HISTORY-DESC.duplicate-mailcollect-process",{process:i})))})}duplicateProcess(t){this.addProcess(),this.processes[this.processes.length-1].forEach(i=>{t.forEach(a=>{i.id===a.id&&"name"!==i.id&&i.control.setValue(a.control.value)})})}disableConfirmDialog(t){const i=this.getNameOfProcess(t);this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("MAILCOLLECT.confirm_disable_process",{process:i}),confirmButton:this.translate.instant("GLOBAL.disable"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.disableProcess(i),this.historyService.addHistory("general","disable_mailcollect_process",this.translate.instant("HISTORY-DESC.disable-mailcollect-process",{process:i})))})}disableProcess(t){this.http.delete(m.N.url+"/ws/mailcollect/disableProcess/"+t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.selectedIndex=1,this.loadProcess(),setTimeout(()=>{this.selectedIndex=0},200),this.notify.success(this.translate.instant("MAILCOLLECT.process_disabled"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}enableConfirmDialog(t){const i=this.getNameOfProcess(t);this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("MAILCOLLECT.confirm_enable_process",{process:i}),confirmButton:this.translate.instant("GLOBAL.enable"),confirmButtonColor:"green",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.enableProcess(i),this.historyService.addHistory("general","enable_mailcollect_process",this.translate.instant("HISTORY-DESC.enable-mailcollect-process",{process:i})))})}enableProcess(t){this.http.delete(m.N.url+"/ws/mailcollect/enableProcess/"+t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.selectedIndex=1,this.loadProcess(),setTimeout(()=>{this.selectedIndex=0},200),this.notify.success(this.translate.instant("MAILCOLLECT.process_enabled"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}deleteConfirmDialog(t){const i=this.getNameOfProcess(t);this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("MAILCOLLECT.confirm_delete_process",{process:i}),confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.deleteProcess(i),this.historyService.addHistory("general","delete_mailcollect_process",this.translate.instant("HISTORY-DESC.delete-mailcollect-process",{process:i})))})}deleteProcess(t){this.http.delete(m.N.url+"/ws/mailcollect/deleteProcess/"+t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.selectedIndex=1,this.loadProcess(),setTimeout(()=>{this.selectedIndex=0},300),this.notify.success(this.translate.instant("MAILCOLLECT.process_deleted"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}updateProcess(t){if(this.isValidForm(t)){this.processLoading=!0;const i={};t.forEach(a=>{i[a.id]="verifier_customer_id"!==a.id&&"verifier_form_id"!==a.id&&"splitter_technical_input_id"!==a.id?a.control.value:a.control.value?a.control.value.id:null}),this.http.post(m.N.url+"/ws/mailcollect/updateProcess/"+i.name,i,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("MAILCOLLECT.process_updated")),this.historyService.addHistory("general","update_mailcollect",this.translate.instant("HISTORY-DESC.update_mailcollect",{process:i.name}))}),(0,Di.x)(()=>this.processLoading=!1),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe()}}retrieveFolders(t){this.folderLoading=!0;let i="",a="",l="",h="",E="";t.forEach(B=>{"hostname"===B.id&&(l=B.control.value),"port"===B.id&&(i=B.control.value),"secured_connection"===B.id&&(E=B.control.value),"login"===B.id&&(a=B.control.value),"password"===B.id&&(h=B.control.value)}),l&&a&&h?this.http.post(m.N.url+"/ws/mailcollect/retrieveFolders",{port:i,login:a,hostname:l,password:h,secured_connection:E},{headers:this.authService.headers}).pipe((0,$e.b)(oe=>{this.folders=oe,t.forEach(xe=>{("folder_trash"===xe.id||"folder_to_crawl"===xe.id||"folder_destination"===xe.id)&&(xe.values=xe.control.valueChanges.pipe((0,mt.O)(""),(0,Mn.U)(Ve=>Ve?this._filter(Ve,this.folders):this.folders)))}),this.notify.success(this.translate.instant("MAILCOLLECT.folders_updated"))}),(0,Di.x)(()=>this.folderLoading=!1),(0,Ke.K)(oe=>(console.debug(oe),this.notify.handleErrors(oe),(0,ie.of)(!1)))).subscribe():this.folderLoading=!1}_filter(t,i){if("string"==typeof t){this.toHighlight=t;const a=t.toLowerCase();return i.filter(l=>-1!==l.toLowerCase().indexOf(a))}return i}sortData(t){const i=this.allprocessesMail.slice();t.active&&""!==t.direction?(this.processesMail=i.sort((a,l)=>{const h="asc"===t.direction;switch(t.active){case"id":return this.compare(a.id,l.id,h);case"docserver_id":return this.compare(a.docserver_id,l.docserver_id,h);case"description":return this.compare(a.description,l.description,h);default:return 0}}),this.processesMail=this.processesMail.splice(0,this.pageSize)):this.processesMail=i.splice(0,this.pageSize)}compare(t,i,a){return(t{"DISABLED"!==a.control.status&&"VALID"!==a.control.status&&(i=!1),a.control.markAsTouched()}),i||this.notify.error(this.translate.instant("ERROR.form_not_valid")),i}getErrorMessage(t){let i;return this.globalForm.forEach(a=>{a.id===t&&a.required&&!a.value&&!a.control.value&&(i=this.translate.instant("AUTH.field_required"))}),i}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Ui),e.Y36(Nt.gz),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-mailcollect"]],decls:19,vars:11,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],["class","w-full overflow-auto","style","height: calc(100% - 64px)",4,"ngIf"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],[1,"w-full","overflow-auto",2,"height","calc(100% - 64px)"],[1,"m-4"],["mep","matExpansionPanel"],[1,"justify-center"],["class","border-green-400 w-1/2 m-auto",4,"ngIf"],[1,"flex","flex-wrap","m-10","mb-0","text-center"],[4,"ngFor","ngForOf"],[1,"w-full","text-center","mb-4"],["type","submit","mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300",3,"click"],[1,"text-center","text-gray-900","mx-4"],[1,"border-green-400","w-1/2","m-auto","mb-4"],[1,"mx-5",3,"selectedIndex"],["disabled","",1,"opacity-100"],["mat-tab-label",""],[1,"border-green-400","w-1/2","m-auto"],["class","w-1/3",3,"ngClass",4,"ngIf"],[3,"ngClass",4,"ngIf"],[1,"w-1/3",3,"ngClass"],[1,"block","m-1"],["matInput","",3,"formControl","type","placeholder","required"],["matSuffix","","class","text-green-400 relative cursor-pointer -top-1.5 text-base",3,"click",4,"ngIf"],["matSuffix","",1,"text-green-400","relative","cursor-pointer","-top-1.5","text-base",3,"click"],[1,"fa","fa-1x"],[3,"ngClass"],[1,"relative","m-auto","top-4",3,"formControl"],[1,"mb-6","grid","grid-cols-6","gap-4","h-10","mt-8"],["mat-button","",1,"border-solid","border-gray-900","border","hover:bg-gray-900","hover:text-white","transition","duration-300","col-start-3",3,"click"],["class","fa-solid text-2xl fa-circle-notch fa-spin\n text-green-400","style","--fa-animation-duration: 1.5s;margin-top: -0.2rem;",4,"ngIf"],["class","border-solid border-green-400 border hover:bg-green-400 hover:text-white\n transition duration-300","mat-button","",3,"click",4,"ngIf"],["class","actions",4,"ngIf","ngIfElse"],["input",""],[1,"actions"],["class","fas fa-edit ml-5 hover:scale-125 transition-all duration-75",3,"title","click",4,"ngIf"],["class","fas fa-trash text-red-600 ml-5 hover:scale-125 transition-all duration-75",3,"title","click",4,"ngIf"],["class","fas fa-pause ml-5 text-gray-900 hover:scale-125 transition-all duration-75",3,"title","click",4,"ngIf"],["class","fas fa-play ml-5 text-gray-900 hover:scale-125 transition-all duration-75",3,"title","click",4,"ngIf"],["class","fas fa-clone ml-5 text-green-400 hover:scale-125 transition-all duration-75",3,"title","click",4,"ngIf"],["class","grid grid-cols-5",4,"ngIf"],[1,"fas","fa-edit","ml-5","hover:scale-125","transition-all","duration-75",3,"title","click"],[1,"fas","fa-trash","text-red-600","ml-5","hover:scale-125","transition-all","duration-75",3,"title","click"],[1,"fas","fa-pause","ml-5","text-gray-900","hover:scale-125","transition-all","duration-75",3,"title","click"],[1,"fas","fa-play","ml-5","text-gray-900","hover:scale-125","transition-all","duration-75",3,"title","click"],[1,"fas","fa-clone","ml-5","text-green-400","hover:scale-125","transition-all","duration-75",3,"title","click"],[1,"grid","grid-cols-5"],[1,"change_process_name","col-span-4"],[1,"block"],["matInput","","type","text",3,"value","placeholder","focusout"],["new_process_name",""],[1,"relative","top-5"],["class","fas fa-check ml-2",3,"click",4,"ngIf"],["class","fa-solid fa-circle-notcha f-spin","style","--fa-animation-duration: 1.5s;margin-top: -0.2rem;",4,"ngIf"],[1,"fas","fa-check","ml-2",3,"click"],[1,"fa-solid","fa-circle-notcha","f-spin",2,"--fa-animation-duration","1.5s","margin-top","-0.2rem"],["matInput","","type","text",3,"placeholder","focusout"],["new_process_name_input",""],[1,"fas","fa-check","ml-1",3,"click"],[3,"class",4,"ngIf"],[1,"block","m-2"],["matInput","",3,"formControl","required","type","matAutocomplete"],["autocomplete","matAutocomplete"],[3,"value","id",4,"ngFor","ngForOf"],[3,"value","id"],[3,"innerHTML"],[3,"displayWith"],[3,"formControl","required"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"fa-solid","text-2xl","fa-circle-notch","fa-spin","text-green-400",2,"--fa-animation-duration","1.5s","margin-top","-0.2rem"],["mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300",3,"click"],["class","fa-solid text-2xl fa-circle-notch fa-spin\n text-gray-900","style","--fa-animation-duration: 1.5s;margin-top: -0.2rem;",4,"ngIf"],[1,"fa-solid","text-2xl","fa-circle-notch","fa-spin","text-gray-900",2,"--fa-animation-duration","1.5s","margin-top","-0.2rem"],["mat-icon-button","",1,"relative","-left-14",3,"click"],[1,"fas","fa-plus","text-gray-900"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,hO,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,mO,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16),e.qZA(),e._UZ(17,"hr",4),e.qZA()(),e.YNc(18,_6,23,13,"div",13),e.qZA()()}if(2&t){const a=e.MAs(2);e.xp6(4),e.Oqu(e.lcZ(5,9,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(2),e.Q6J("ngIf",!i.loading)}},dependencies:[_e.mk,_e.sg,_e.O5,Nt.rH,Rt.TO,Rt.KE,Rt.bx,Rt.hX,Rt.R9,Be.gD,b.ey,Va.Rr,an.Nt,va.SP,va.uD,va.uX,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.pp,Zt.ib,Zt.yz,Zt.yK,de.XC,de.ZL,So,rn.Hk,Rn.d,A.Fj,A.JJ,A.Q7,A.oH,Cn.R,_e.Ov,$t.X$,Ic.S],styles:[".mat-column-id[_ngcontent-%COMP%]{flex:0 0 10%}.mat-column-actions[_ngcontent-%COMP%]{flex:0 0 5%} .mat-tab-labels .mat-tab-disabled{opacity:1!important} .mat-tab-labels :not(.mat-tab-label-active) .actions{pointer-events:none} .mat-tab-labels .mat-tab-label-active{opacity:1!important} .mat-tab-labels .mat-tab-label-active .actions{pointer-events:auto} .change_process_name .mat-form-field-wrapper{top:.875rem} .change_process_name .mat-form-field-wrapper .mat-form-field-flex{height:2rem!important} .change_process_name .mat-form-field-wrapper .mat-form-field-infix{top:-.875rem}"]}),n})();function h6(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",31)(1,"button",32),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",33),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function m6(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,h6,6,11,"div",30),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function g6(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",24)(1,"mat-expansion-panel-header",25)(2,"mat-panel-title",26),e._UZ(3,"i"),e.TgZ(4,"button",27),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",28),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,m6,2,7,"div",29),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function f6(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,g6,9,15,"mat-expansion-panel",23),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function C6(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",27),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",28),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function v6(n,o){if(1&n&&e.YNc(0,C6,5,11,"button",34),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function x6(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,f6,2,1,"div",21),e.YNc(2,v6,1,1,"ng-template",null,22,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function b6(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",17),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",18)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",19),e.YNc(6,x6,4,6,"div",20),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function y6(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function T6(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.xp6(1),e.Oqu(i.getErrorMessage(t.id,i.outputForm))}}function M6(n,o){if(1&n&&(e.TgZ(0,"mat-form-field")(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",38),e.ALo(5,"translate"),e.YNc(6,T6,2,1,"mat-error",8),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,7,t.label)),e.xp6(2),e.s9C("placeholder",e.lcZ(5,9,t.label)),e.Q6J("value",t.control.value)("formControl",t.control)("type",t.type)("required",t.required),e.xp6(2),e.Q6J("ngIf",t.control.invalid)}}function D6(n,o){if(1&n&&(e.TgZ(0,"mat-option",41),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.output_type_id),e.xp6(1),e.hij(" ",t.output_type_label," ")}}function E6(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.xp6(1),e.Oqu(i.getErrorMessage(t.id,i.outputForm))}}function w6(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field")(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",39),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw().$implicit;return e.KtG(l.control.value=a)})("selectionChange",function(a){e.CHM(t);const l=e.oxw(3);return e.KtG(l.changeOutputType(a))}),e.YNc(5,D6,2,2,"mat-option",40),e.qZA(),e.YNc(6,E6,2,1,"mat-error",8),e.qZA()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(2),e.Oqu(e.lcZ(3,7,t.label)),e.xp6(2),e.Q6J("id",t.id)("name",t.id)("ngModel",t.control.value)("required",t.required),e.xp6(1),e.Q6J("ngForOf",i.outputsTypes),e.xp6(1),e.Q6J("ngIf",t.control.invalid)}}function S6(n,o){if(1&n&&(e.TgZ(0,"mat-option",41),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.hij(" ",e.lcZ(2,2,t.label)," ")}}function A6(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.xp6(1),e.Oqu(i.getErrorMessage(t.id,i.outputForm))}}function L6(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field")(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",42),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw().$implicit;return e.KtG(l.control.value=a)}),e.YNc(5,S6,3,4,"mat-option",40),e.qZA(),e.YNc(6,A6,2,1,"mat-error",8),e.qZA()}if(2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,6,t.label)),e.xp6(2),e.Q6J("name",t.id)("id",t.id)("ngModel",t.control.value),e.xp6(1),e.Q6J("ngForOf",t.values),e.xp6(1),e.Q6J("ngIf",t.control.invalid)}}function O6(n,o){if(1&n&&(e.ynx(0),e.YNc(1,M6,7,11,"mat-form-field",8),e.YNc(2,w6,7,9,"mat-form-field",8),e.YNc(3,L6,7,8,"mat-form-field",8),e.BQk()),2&n){const t=o.$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf","text"===t.type),e.xp6(1),e.Q6J("ngIf","select"===t.type&&"output_type_id"===t.id),e.xp6(1),e.Q6J("ngIf","select"===t.type&&("compress_type"===t.id||"ocrise"===t.id)&&"export_pdf"===i.selectedOutputType)}}function k6(n,o){if(1&n&&(e.TgZ(0,"div",35)(1,"form",36),e.YNc(2,O6,4,3,"ng-container",37),e.qZA()()),2&n){const t=e.oxw();e.xp6(2),e.Q6J("ngForOf",t.outputForm)}}let I6=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe){this.router=t,this.http=i,this.userService=a,this.authService=l,this.translate=h,this.notify=E,this.historyService=B,this.serviceSettings=oe,this.privilegesService=xe,this.loading=!0,this.outputsTypes=[],this.outputForm=[{id:"output_type_id",label:this.translate.instant("HEADER.output_type"),type:"select",control:new A.NI,required:!0,values:this.outputsTypes},{id:"output_label",label:this.translate.instant("HEADER.label"),type:"text",control:new A.NI,required:!0},{id:"compress_type",label:this.translate.instant("OUTPUT.compress_type"),type:"select",control:new A.NI,values:[{id:"",label:(0,He.J)("OUTPUT.no_compress")},{id:"screen",label:(0,He.J)("OUTPUT.compress_screen")},{id:"ebook",label:(0,He.J)("OUTPUT.compress_ebook")},{id:"prepress",label:(0,He.J)("OUTPUT.compress_prepress")},{id:"printer",label:(0,He.J)("OUTPUT.compress_printer")},{id:"default",label:(0,He.J)("OUTPUT.compress_default")}],required:!1},{id:"ocrise",label:this.translate.instant("OUTPUT.enable_ocr"),type:"select",control:new A.NI,values:[{id:!0,label:(0,He.J)("OUTPUT.ocr_enabled")},{id:!1,label:(0,He.J)("OUTPUT.ocr_disabled")}],required:!1}]}ngOnInit(){this.serviceSettings.init(),this.outputForm.forEach(t=>{"compress_type"===t.id&&t.control.setValue("")}),this.http.get(m.N.url+"/ws/outputs/getOutputsTypes?module=verifier",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.outputsTypes=t.outputs_types}),(0,Di.x)(()=>{this.loading=!1}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),this.router.navigate(["/settings/verifier/outputs"]).then(),(0,ie.of)(!1)))).subscribe()}isValidForm(t){let i=!0;return t.forEach(a=>{("DISABLED"!==a.control.status&&"VALID"!==a.control.status||null==a.control.value)&&(i=!1),a.control.markAsTouched()}),i}createOutput(){if(this.isValidForm(this.outputForm)){const t=this.getValueFromForm(this.outputForm,"output_type_id"),i=this.getValueFromForm(this.outputForm,"output_label"),a=this.getValueFromForm(this.outputForm,"compress_type"),l=this.getValueFromForm(this.outputForm,"ocrise");this.http.post(m.N.url+"/ws/outputs/create",{args:{output_type_id:t,output_label:i,compress_type:a,ocrise:l,module:"verifier"}},{headers:this.authService.headers}).pipe((0,$e.b)(h=>{this.notify.success(this.translate.instant("OUTPUT.created")),this.historyService.addHistory("verifier","create_output",this.translate.instant("HISTORY-DESC.create-output",{output:i})),this.router.navigate(["/settings/verifier/outputs/update/"+h.id]).then()}),(0,Ke.K)(h=>(console.debug(h),this.notify.handleErrors(h,"/settings/verifier/outputs"),(0,ie.of)(!1)))).subscribe()}}getValueFromForm(t,i){let a="";return t.forEach(l=>{i===l.id&&(a=l.control.value)}),a}getErrorMessage(t,i){let a;return i.forEach(l=>{l.id===t&&l.required&&(a=this.translate.instant("AUTH.field_required"))}),a}changeOutputType(t){this.selectedOutputType=t.value}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(zi.K),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-output-create"]],decls:24,vars:14,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],["class","flex justify-center items-center",4,"ngIf"],[1,"flex","justify-center","items-center","mb-2"],["mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300"],[1,"block",3,"click"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],[1,"flex","justify-center","items-center"],[1,"grid","grid-cols-2","gap-12","w-full","m-10","text-center"],[4,"ngFor","ngForOf"],["matInput","",3,"value","formControl","type","placeholder","required"],[3,"id","name","ngModel","required","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[3,"name","id","ngModel","ngModelChange"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,b6,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,y6,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16),e.qZA(),e._UZ(17,"hr",4),e.qZA()(),e.YNc(18,k6,3,1,"div",13),e.TgZ(19,"div",14)(20,"button",15)(21,"span",16),e.NdJ("click",function(){return i.createOutput()}),e._uU(22),e.ALo(23,"translate"),e.qZA()()()()()}if(2&t){const a=e.MAs(2);e.xp6(4),e.Oqu(e.lcZ(5,10,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(2),e.Q6J("ngIf",!i.loading),e.xp6(4),e.Oqu(e.lcZ(23,12,"OUTPUT.create"))}},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.TO,Rt.KE,Rt.hX,Be.gD,b.ey,an.Nt,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.ib,Zt.yz,Zt.yK,rn.Hk,Rn.d,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.oH,A.On,A.F,Cn.R,$t.X$]}),n})();function P6(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",34)(1,"button",35),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",36),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function R6(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,P6,6,11,"div",33),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function F6(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",27)(1,"mat-expansion-panel-header",28)(2,"mat-panel-title",29),e._UZ(3,"i"),e.TgZ(4,"button",30),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",31),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,R6,2,7,"div",32),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function N6(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,F6,9,15,"mat-expansion-panel",26),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function B6(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",30),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",31),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function U6(n,o){if(1&n&&e.YNc(0,B6,5,11,"button",37),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function Z6(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,N6,2,1,"div",24),e.YNc(2,U6,1,1,"ng-template",null,25,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function Y6(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",20),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",21)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",22),e.YNc(6,Z6,4,6,"div",23),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function H6(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function V6(n,o){if(1&n&&(e.TgZ(0,"mat-option",49),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.s9C("value",t.id),e.xp6(1),e.hij(" ",t.label," ")}}function G6(n,o){if(1&n&&(e.TgZ(0,"mat-option",49),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.s9C("value",t.id),e.xp6(1),e.hij(" ",t.output_label," ")}}function K6(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",53),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw(3);return a.stopPropagation(),e.KtG(l.addOutput())}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon",54),e._uU(3,"add_circle"),e.qZA()()}2&n&&e.s9C("matTooltip",e.lcZ(1,1,"OUTPUT.add"))}function j6(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",55),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw().index,h=e.oxw(2);return a.stopPropagation(),e.KtG(h.removeOutput(l))}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon",56),e._uU(3,"delete_forever"),e.qZA()()}2&n&&e.s9C("matTooltip",e.lcZ(1,1,"OUTPUT.remove"))}function W6(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field")(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",50),e.NdJ("ngModelChange",function(a){const h=e.CHM(t).$implicit;return e.KtG(h.control.value=a)}),e.YNc(5,G6,2,2,"mat-option",43),e.qZA(),e.YNc(6,K6,4,3,"span",51),e.YNc(7,j6,4,3,"span",52),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw(2);e.xp6(2),e.Oqu(e.lcZ(3,5,"HEADER.choose_output")),e.xp6(2),e.Q6J("ngModel",t.control.value),e.xp6(1),e.Q6J("ngForOf",i.outputs),e.xp6(1),e.Q6J("ngIf",!t.canRemove),e.xp6(1),e.Q6J("ngIf",t.canRemove)}}function q6(n,o){1&n&&(e.TgZ(0,"span",80),e._uU(1,"*"),e.qZA())}function J6(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.hij(" (",e.lcZ(2,1,"FORMATS."+t.format),")")}}function $6(n,o){1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" (",e.lcZ(2,1,"FORMATS.select"),")"))}function z6(n,o){1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" (",e.lcZ(2,1,"FORMATS.textarea"),")"))}function Q6(n,o){if(1&n&&(e.TgZ(0,"button",71),e._uU(1),e.ALo(2,"translate"),e.TgZ(3,"small",72),e._UZ(4,"i"),e.qZA()()),2&n){const t=e.oxw().$implicit,i=e.MAs(41);e.Q6J("matMenuTriggerFor",i),e.xp6(1),e.hij(" ",e.lcZ(2,5,"VERIFIER.display")," "),e.xp6(3),e.Gre("text-base ",t.display_icon,"")}}function X6(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",81),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw().$implicit,E=e.oxw().$implicit,B=e.oxw(2);return e.KtG(B.changeClass(h.id,l.id,l.label,E.id))}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw().$implicit;e.ekj("bg-green-400",t.id===i.class),e.Q6J("id",i.id),e.xp6(1),e.hij(" ",e.lcZ(2,4,t.label)," ")}}function ek(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",81),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw().$implicit,E=e.oxw().$implicit,B=e.oxw(2);return e.KtG(B.changeDisplay(h.id,l.id,l.icon,E.id))}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw().$implicit;e.ekj("bg-green-400",t.id===i.display),e.Q6J("id",i.id),e.xp6(1),e.hij(" ",e.lcZ(2,4,t.label)," ")}}function tk(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",81),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw().$implicit,E=e.oxw().$implicit,B=e.oxw(2);return e.KtG(B.changeRequired(h.id,l.id,l.icon,E.id))}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw().$implicit;e.ekj("bg-green-400",t.id===i.required),e.Q6J("id",i.id),e.xp6(1),e.hij(" ",e.lcZ(2,4,t.label)," ")}}function ik(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",81),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw().$implicit,E=e.oxw().$implicit,B=e.oxw(2);return e.KtG(B.changeRequired(h.id,l.id,l.icon,E.id))}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw().$implicit;e.ekj("bg-green-400",t.id===i.required),e.Q6J("id",i.id),e.xp6(1),e.hij(" ",e.lcZ(2,4,t.label)," ")}}function nk(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div")(1,"mat-form-field",82),e.NdJ("click",function(a){return a.stopPropagation()}),e.TgZ(2,"mat-label"),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"input",83),e.NdJ("ngModelChange",function(a){const h=e.CHM(t).$implicit,E=e.oxw().$implicit;return e.KtG(E[h.id]=a)}),e.qZA()()()}if(2&n){const t=o.$implicit,i=e.oxw().$implicit;e.xp6(3),e.Oqu(e.lcZ(4,2,t.placeholder)),e.xp6(2),e.Q6J("ngModel",i[t.id])}}function ak(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",61),e.NdJ("sorted",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw(2);return e.KtG(h.storeNewOrder(a,l.id))}),e.TgZ(1,"mat-form-field",62)(2,"i",63),e.NdJ("click",function(a){const l=e.CHM(t),h=l.index,E=l.$implicit,B=e.oxw().$implicit,oe=e.oxw(2);return e.KtG(oe.deleteField(a,h,B.id,E.unit))}),e.qZA(),e.TgZ(3,"span",64),e.YNc(4,q6,2,0,"span",65),e.TgZ(5,"strong"),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,J6,3,3,"span",8),e.YNc(9,$6,3,3,"span",8),e.YNc(10,z6,3,3,"span",8),e.qZA(),e._UZ(11,"input",66),e.TgZ(12,"div",67)(13,"button",68)(14,"mat-icon",69),e._uU(15,"more_vert"),e.qZA()(),e.TgZ(16,"mat-menu",null,70)(18,"button",71),e._uU(19),e.ALo(20,"translate"),e.TgZ(21,"small",72),e._uU(22),e.qZA()(),e.YNc(23,Q6,5,7,"button",73),e.TgZ(24,"button",71),e._uU(25),e.ALo(26,"translate"),e.TgZ(27,"small",72),e._UZ(28,"i"),e.qZA()(),e.TgZ(29,"button",71),e._uU(30),e.ALo(31,"translate"),e.TgZ(32,"small",72),e._UZ(33,"i"),e.qZA()(),e.TgZ(34,"button",71),e._uU(35),e.ALo(36,"translate"),e.qZA()(),e.TgZ(37,"mat-menu",null,74),e.YNc(39,X6,3,6,"button",75),e.qZA(),e.TgZ(40,"mat-menu",null,76),e.YNc(42,ek,3,6,"button",75),e.qZA(),e.TgZ(43,"mat-menu",null,77),e.YNc(45,tk,3,6,"button",75),e.qZA(),e.TgZ(46,"mat-menu",null,78),e.YNc(48,ik,3,6,"button",75),e.qZA(),e.TgZ(49,"mat-menu",null,79),e.YNc(51,nk,6,4,"div",44),e.qZA()()()()}if(2&n){const t=o.$implicit,i=e.MAs(17),a=e.MAs(38),l=e.MAs(44),h=e.MAs(47),E=e.MAs(50),B=e.oxw().$implicit,oe=e.oxw(2);e.Tol(t.class),e.s9C("ngSortGridGroup",B.id),e.Q6J("ngSortGridItems",oe.fields[B.id]),e.xp6(2),e.Q6J("matTooltip",oe.translate.instant("FORMS.delete_field")),e.xp6(2),e.Q6J("ngIf",t.required),e.xp6(2),e.Oqu(e.lcZ(7,33,t.label)),e.xp6(2),e.Q6J("ngIf","select"!==t.type&&"textarea"!==t.type),e.xp6(1),e.Q6J("ngIf","select"===t.type),e.xp6(1),e.Q6J("ngIf","textarea"===t.type),e.xp6(3),e.Q6J("matMenuTriggerFor",i)("matTooltip",oe.translate.instant("VERIFIER.field_settings")),e.xp6(5),e.Q6J("matMenuTriggerFor",a),e.xp6(1),e.hij(" ",e.lcZ(20,35,"VERIFIER.size")," "),e.xp6(3),e.Oqu(t.class_label),e.xp6(1),e.Q6J("ngIf","select"===t.type),e.xp6(1),e.Q6J("matMenuTriggerFor",l),e.xp6(1),e.hij(" ",e.lcZ(26,37,"VERIFIER.required")," "),e.xp6(3),e.Gre("text-base ",t.required_icon,""),e.xp6(1),e.Q6J("matMenuTriggerFor",h),e.xp6(1),e.hij(" ",e.lcZ(31,39,"FORMS.disable")," "),e.xp6(3),e.Gre("text-base ",t.required_icon,""),e.xp6(1),e.Q6J("matMenuTriggerFor",E),e.xp6(1),e.hij(" ",e.lcZ(36,41,"FORMS.input_metadata")," "),e.xp6(4),e.Q6J("ngForOf",oe.classList),e.xp6(3),e.Q6J("ngForOf",oe.displayList),e.xp6(3),e.Q6J("ngForOf",oe.mandatoryList),e.xp6(3),e.Q6J("ngForOf",oe.disabledList),e.xp6(3),e.Q6J("ngForOf",oe.fieldMetadata)}}function ok(n,o){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"div",57),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"div",58)(5,"div",59),e.NdJ("cdkDropListDropped",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.dropFromForm(a))}),e.YNc(6,ak,52,43,"div",60),e.qZA()(),e.BQk()}if(2&n){const t=o.$implicit,i=e.oxw(2);e.xp6(1),e.Akn("width:calc(3% + "+i.translate.instant(t.label).length+"%)"),e.xp6(1),e.hij(" ",e.lcZ(3,5,t.label)," "),e.xp6(3),e.s9C("id",t.id),e.xp6(1),e.Q6J("ngForOf",i.fields[t.id])}}function rk(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",84),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.createForm())}),e._uU(1),e.ALo(2,"translate"),e.qZA()}2&n&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"FORMS.create")))}function sk(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",84),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.updateForm())}),e._uU(1),e.ALo(2,"translate"),e.qZA()}2&n&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"FORMS.modify")))}function lk(n,o){if(1&n&&(e.TgZ(0,"div",38)(1,"div",39)(2,"mat-form-field")(3,"mat-label"),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"input",40),e.qZA(),e.TgZ(7,"div",41)(8,"mat-slide-toggle",42),e._uU(9),e.ALo(10,"translate"),e.qZA()(),e.TgZ(11,"mat-form-field")(12,"mat-label"),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.TgZ(15,"mat-select",42),e.YNc(16,V6,2,2,"mat-option",43),e.qZA()(),e.YNc(17,W6,8,7,"mat-form-field",44),e.TgZ(18,"mat-form-field")(19,"mat-label"),e._uU(20),e.ALo(21,"translate"),e.qZA(),e._UZ(22,"input",45),e.TgZ(23,"mat-hint"),e._uU(24),e.ALo(25,"translate"),e.qZA()()(),e.YNc(26,ok,7,7,"ng-container",44),e.TgZ(27,"div",46)(28,"button",47),e.YNc(29,rk,3,3,"span",48),e.YNc(30,sk,3,3,"span",48),e.qZA()()()),2&n){const t=e.oxw();e.xp6(4),e.Oqu(e.lcZ(5,14,"FORMS.label")),e.xp6(2),e.Q6J("formControl",t.form.label.control),e.xp6(2),e.Q6J("formControl",t.form.default_form.control),e.xp6(1),e.hij(" ",e.lcZ(10,16,"FORMS.is_default")," "),e.xp6(4),e.Oqu(e.lcZ(14,18,"HEADER.choose_metadata_method")),e.xp6(2),e.Q6J("formControl",t.formSettings.metadata_method.control),e.xp6(1),e.Q6J("ngForOf",t.metadataMethods),e.xp6(1),e.Q6J("ngForOf",t.outputForm),e.xp6(3),e.Oqu(e.lcZ(21,20,"FORMS.export_zip_file")),e.xp6(2),e.Q6J("formControl",t.formSettings.export_zip_file.control),e.xp6(2),e.Oqu(e.lcZ(25,22,"FORMS.export_zip_file_hint")),e.xp6(2),e.Q6J("ngForOf",t.fieldCategories),e.xp6(3),e.Q6J("ngIf",t.creationMode),e.xp6(1),e.Q6J("ngIf",!t.creationMode)}}function ck(n,o){1&n&&(e.TgZ(0,"div",85)(1,"span",86),e._UZ(2,"i",87),e.qZA()())}function dk(n,o){if(1&n&&(e.ynx(0),e.TgZ(1,"div",93),e._UZ(2,"i",94),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"mat-form-field",95)(6,"mat-label"),e._uU(7),e.ALo(8,"translate"),e.qZA(),e._UZ(9,"input",66),e.qZA(),e.BQk()),2&n){const t=e.oxw().$implicit;e.xp6(3),e.hij(" ",e.lcZ(4,2,t.label)," "),e.xp6(4),e.Oqu(e.lcZ(8,4,"TYPES."+t.type))}}function uk(n,o){if(1&n&&(e.ynx(0),e.TgZ(1,"div",93),e._UZ(2,"i",94),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"mat-form-field",95)(6,"mat-label"),e._uU(7),e.ALo(8,"translate"),e.qZA(),e._UZ(9,"input",66),e.qZA(),e.BQk()),2&n){const t=e.oxw().$implicit;e.xp6(3),e.hij(" ",e.lcZ(4,2,t.label)," "),e.xp6(4),e.Oqu(e.lcZ(8,4,"TYPES."+t.type))}}function _k(n,o){if(1&n&&(e.ynx(0),e.TgZ(1,"div",93),e._UZ(2,"i",94),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"mat-form-field",95)(6,"mat-label"),e._uU(7),e.ALo(8,"translate"),e.qZA(),e._UZ(9,"input",96)(10,"mat-datepicker-toggle",97),e.qZA(),e.BQk()),2&n){const t=e.oxw().$implicit;e.xp6(3),e.hij(" ",e.lcZ(4,2,t.label)," "),e.xp6(4),e.Oqu(e.lcZ(8,4,"TYPES."+t.type))}}function pk(n,o){if(1&n&&(e.ynx(0),e.TgZ(1,"div",93),e._UZ(2,"i",94),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"mat-form-field",95)(6,"mat-label"),e._uU(7),e.ALo(8,"translate"),e.qZA(),e._UZ(9,"mat-select"),e.qZA(),e.BQk()),2&n){const t=e.oxw().$implicit;e.xp6(3),e.hij(" ",e.lcZ(4,2,t.label)," "),e.xp6(4),e.Oqu(e.lcZ(8,4,"TYPES."+t.type))}}function hk(n,o){if(1&n&&(e.ynx(0),e.TgZ(1,"div"),e._UZ(2,"i",94),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"mat-checkbox",98),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.BQk()),2&n){const t=e.oxw().$implicit;e.xp6(3),e.hij(" ",e.lcZ(4,2,t.label)," "),e.xp6(3),e.Oqu(e.lcZ(7,4,"TYPES."+t.type))}}function mk(n,o){if(1&n&&(e.TgZ(0,"div")(1,"div",92),e.YNc(2,dk,10,6,"ng-container",8),e.YNc(3,uk,10,6,"ng-container",8),e.YNc(4,_k,11,6,"ng-container",8),e.YNc(5,pk,10,6,"ng-container",8),e.YNc(6,hk,8,6,"ng-container",8),e.qZA()()),2&n){const t=o.$implicit;e.xp6(2),e.Q6J("ngIf","text"===t.type),e.xp6(1),e.Q6J("ngIf","textarea"===t.type),e.xp6(1),e.Q6J("ngIf","date"===t.type),e.xp6(1),e.Q6J("ngIf","select"===t.type),e.xp6(1),e.Q6J("ngIf","checkbox"===t.type)}}function gk(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-tab",90),e.ALo(1,"translate"),e.TgZ(2,"div",91),e.NdJ("cdkDropListDropped",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.dropFromAvailableFields(a))}),e.YNc(3,mk,7,5,"div",44),e.qZA()()}if(2&n){const t=o.$implicit;e.s9C("label",e.lcZ(1,4,t.label)),e.xp6(2),e.s9C("id",t.id),e.Q6J("cdkDropListData",t.values),e.xp6(1),e.Q6J("ngForOf",t.values)}}function fk(n,o){if(1&n&&(e.TgZ(0,"mat-tab-group",88),e.YNc(1,gk,4,6,"mat-tab",89),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.availableFieldsParent)}}let NT=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve){this.router=t,this.http=i,this.route=a,this.userService=l,this.formBuilder=h,this.authService=E,this.translate=B,this.notify=oe,this.serviceSettings=xe,this.privilegesService=Ve,this.loading=!0,this.loadingCustomFields=!0,this.outputs=[],this.metadataMethods=[],this.form={label:{control:new A.NI},default_form:{control:new A.NI}},this.formSettings={metadata_method:{control:new A.NI},export_zip_file:{control:new A.NI}},this.outputForm=[{control:new A.NI,cpt:0}],this.creationMode=!0,this.labelType=[(0,He.J)("FORMATS.text"),(0,He.J)("TYPES.text"),(0,He.J)("TYPES.textarea"),(0,He.J)("TYPES.date"),(0,He.J)("TYPES.select"),(0,He.J)("VERIFIER.field_settings"),(0,He.J)("FORMS.delete_field"),(0,He.J)("FORMS.update_label")],this.fieldCategories=[{id:"batch_metadata",label:(0,He.J)("SPLITTER.batch_metadata")},{id:"document_metadata",label:(0,He.J)("SPLITTER.document_metadata")}],this.availableFieldsParent=[{id:"custom_fields",label:(0,He.J)("FORMS.custom_fields"),values:[]}],this.fields={batch_metadata:[],document_metadata:[]},this.classList=[{id:"w-full",label:"1"},{id:"w-1/2",label:"1/2"},{id:"w-30",label:"1/3"},{id:"w-1/3",label:"1/33"},{id:"w-1/4",label:"1/4"},{id:"w-1/5",label:"1/5"}],this.displayList=[{id:"simple",label:(0,He.J)("DISPLAY.simple"),icon:"fa-solid fa-file-alt"},{id:"multi",label:(0,He.J)("DISPLAY.multi"),icon:"fa-solid fa-layer-group"}],this.mandatoryList=[{id:!0,label:(0,He.J)("MANDATORY.required"),icon:"fa-solid fa-star"},{id:!1,label:(0,He.J)("MANDATORY.not_required"),icon:"far fa-star"}],this.disabledList=[{id:!0,label:(0,He.J)("DISABLED.disabled"),icon:"fa-solid fa-ban"},{id:!1,label:(0,He.J)("DISABLED.not_disabled"),icon:""}],this.fieldMetadata=[{id:"searchMask",placeholder:(0,He.J)("FIELD_METADATA.search_mask"),control:new A.NI},{id:"resultMask",placeholder:(0,He.J)("FIELD_METADATA.result_mask"),control:new A.NI},{id:"validationMask",placeholder:(0,He.J)("FIELD_METADATA.validation_mask"),control:new A.NI}]}ngOnInit(){this.serviceSettings.init(),this.formId=this.route.snapshot.params.id,this.http.get(m.N.url+"/ws/outputs/list?module=splitter",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.outputs=t.outputs,this.formId&&(this.creationMode=!1,this.http.get(m.N.url+"/ws/forms/getById/"+this.formId,{headers:this.authService.headers}).pipe((0,$e.b)(i=>{for(const a in this.form)for(const l in i)l===a&&this.form[a].control.setValue(i[a]);for(const a in this.formSettings)for(const l in i.settings)l===a&&this.formSettings[l].control.setValue(i.settings[l]);if(i.outputs){const a=i.outputs.length;if(1===a&&this.outputForm[0].control.setValue(i.outputs[0]),a>1)for(const l in i.outputs)0!==parseInt(l)&&this.addOutput(),this.outputForm[l].control.setValue(i.outputs[l])}}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe())}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/splitter/metadataMethods",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.metadataMethods.forEach(i=>{this.metadataMethods.push({id:i.id,label:i.label})})}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/customFields/list",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{if(t.customFields)for(const i in t.customFields)if(t.customFields.hasOwnProperty(i)&&"splitter"===t.customFields[i].module&&t.customFields[i].enabled)for(const a in this.availableFieldsParent)"custom_fields"===this.availableFieldsParent[a].id&&this.availableFieldsParent[a].values.push({id:"custom_"+t.customFields[i].id,metadata_key:t.customFields[i].metadata_key,label_short:t.customFields[i].label_short,settings:t.customFields[i].settings,required:t.customFields[i].required,label:t.customFields[i].label,type:t.customFields[i].type,format:t.customFields[i].type,unit:"custom",class:"w-1/3",class_label:"1/33"});this.loadingCustomFields=!1}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.formId?this.http.get(m.N.url+"/ws/forms/getFields/"+this.formId,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{if(t.form_fields.fields){t.form_fields.fields.batch_metadata&&(this.fields.batch_metadata=t.form_fields.fields.batch_metadata),t.form_fields.fields.document_metadata&&(this.fields.document_metadata=t.form_fields.fields.document_metadata);for(const i in this.fields)this.fields.hasOwnProperty(i)&&this.fields[i].forEach(a=>{this.availableFieldsParent.forEach(l=>{let h=0;l.values.forEach(E=>{a.id===E.id&&l.values.splice(h,1),h+=1})})})}}),(0,Di.x)(()=>setTimeout(()=>{this.loading=!1},500)),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe():this.loading=!1}dropFromAvailableFields(t){const i=t.previousContainer.id;t.previousContainer===t.container?Hs(t.container.data,t.previousIndex,t.currentIndex):vr(t.previousContainer.data?t.previousContainer.data:this.fields[i],t.container.data,t.previousIndex,t.currentIndex)}changeClass(t,i,a,l){const h=t;this.fields[l].forEach(E=>{E.id===h&&(E.class=i,E.class_label=a)})}changeDisplay(t,i,a,l){const h=t;this.fields[l].forEach(E=>{E.id===h&&(E.display=i,E.display_icon=a)})}changeRequired(t,i,a,l){const h=t;this.fields[l].forEach(E=>{E.id===h&&(E.required=i,E.required_icon=a)})}dropFromForm(t){const i=t.container.id,a=t.previousContainer.id;t.previousContainer===t.container?Hs(t.container.data,t.previousIndex,t.currentIndex):vr(t.previousContainer.data?t.previousContainer.data:this.fields[a],t.container.data?t.container.data:this.fields[i],t.previousIndex,t.currentIndex)}deleteField(t,i,a,l){"addresses"===l&&(l="supplier");for(const h in this.availableFieldsParent)this.availableFieldsParent[h].id.split("_fields")[0]===l&&vr(this.fields[a],this.availableFieldsParent[h].values,i,this.availableFieldsParent[h].values.length)}storeNewOrder(t,i){const a=[];t.currentOrder.forEach(l=>{this.fields[i].forEach(h=>{l.id===h.id&&a.push(l)})}),this.fields[i]=a}addOutput(){this.outputForm[0].cpt=this.outputForm[0].cpt+1,this.outputForm.push({control:new A.NI,canRemove:!0})}removeOutput(t){this.outputForm.splice(t,1)}updateForm(){const t=this.form.label.control.value,i=this.form.default_form.control.value,a=this.formSettings.metadata_method.control.value,l=this.formSettings.export_zip_file.control.value,h=[];this.outputForm.forEach(E=>{E.control.value&&h.push(E.control.value)}),""!==t&&h.length>=1?this.http.put(m.N.url+"/ws/forms/update/"+this.formId,{args:{label:t,default_form:i,outputs:h,settings:{metadata_method:a,export_zip_file:l}}},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.http.post(m.N.url+"/ws/forms/updateFields/"+this.formId,this.fields,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("FORMS.updated"))}),(0,Ke.K)(E=>(console.debug(E),this.notify.handleErrors(E),(0,ie.of)(!1)))).subscribe()}),(0,Ke.K)(E=>(console.debug(E),this.notify.handleErrors(E),(0,ie.of)(!1)))).subscribe():t||0!==h.length?t?0===h.length&&this.notify.error(this.translate.instant("FORMS.output_type_mandatory")):this.notify.error(this.translate.instant("FORMS.label_mandatory")):this.notify.error(this.translate.instant("FORMS.label_and_output_mandatory"))}createForm(){const t=this.form.label.control.value;t?this.http.post(m.N.url+"/ws/forms/add",{args:{label:t,default_form:this.form.default_form.control.value,module:"splitter",settings:{metadata_method:this.formSettings.metadata_method.control.value,export_zip_file:this.formSettings.export_zip_file.control.value}}},{headers:this.authService.headers}).pipe((0,$e.b)(h=>{this.http.post(m.N.url+"/ws/forms/updateFields/"+h.id,this.fields,{headers:this.authService.headers}).pipe((0,Ke.K)(E=>(console.debug(E),this.notify.handleErrors(E),(0,ie.of)(!1)))).subscribe(),this.notify.success(this.translate.instant("FORMS.created")),this.router.navigateByUrl("settings/splitter/forms").then()}),(0,Ke.K)(h=>(console.debug(h),this.notify.handleErrors(h),(0,ie.of)(!1)))).subscribe():this.notify.error(this.translate.instant("FORMS.label_mandatory"))}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Nt.gz),e.Y36(zi.K),e.Y36(A.qu),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["form-builder"]],decls:29,vars:20,consts:[["cdkDropListGroup","",1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white","overflow-hidden"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],["mat-icon-button","",1,"absolute","right-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-xl","text-gray-900"],["class","overflow-auto","style","height: calc(100% - 64px)",4,"ngIf"],["mode","side","opened","","position","end",1,"available-fields","w-1/4","flex","flex-col","h-full","border-r","border-green-400"],["sidenav2",""],["class","relative","style","top: 40%",4,"ngIf"],["style","height: calc(100% - 64px)",4,"ngIf"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],[1,"overflow-auto",2,"height","calc(100% - 64px)"],[1,"grid","grid-cols-3","gap-4","mt-6","ml-6","mr-6"],["matInput","","required","",3,"formControl"],[1,"flex","justify-center","mt-4"],[3,"formControl"],[3,"value",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],["matInput","",3,"formControl"],[1,"flex","justify-center","items-center"],["mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300"],["class","block",3,"click",4,"ngIf"],[3,"value"],[3,"ngModel","ngModelChange"],["class","absolute top-1 right-4 cursor-pointer text-gray-900 z-50","style","right: -2.2rem",3,"matTooltip","click",4,"ngIf"],["class","absolute top-1 right-4 cursor-pointer text-red-500","style","right: -2.2rem",3,"matTooltip","click",4,"ngIf"],[1,"absolute","top-1","right-4","cursor-pointer","text-gray-900","z-50",2,"right","-2.2rem",3,"matTooltip","click"],[1,"text-lg"],[1,"absolute","top-1","right-4","cursor-pointer","text-red-500",2,"right","-2.2rem",3,"matTooltip","click"],[1,"text-xl"],[1,"relative","text-xl","tracking-wider","pl-1.5","pr-1.5","bg-white",2,"top","2.5rem","left","2.5rem"],[1,"border-green-400","border","rounded-lg","mx-6","m-7"],["cdkDropList","",1,"flex","flex-wrap","cursor-pointer","w-full","my-3",2,"min-height","50px",3,"id","cdkDropListDropped"],["class","flex items-center px-3 overflow-hidden","ngSortgridItem","",3,"class","ngSortGridGroup","ngSortGridItems","sorted",4,"ngFor","ngForOf"],["ngSortgridItem","",1,"flex","items-center","px-3","overflow-hidden",3,"ngSortGridGroup","ngSortGridItems","sorted"],[1,"right-0","w-full","form-builder"],["cdkDrag","",1,"fa-solid","fa-trash","z-10",3,"matTooltip","click"],[1,"input-label","relative","-top-1","border-r-2","border-green-400","inline-block","overflow-ellipsis","overflow-hidden","whitespace-nowrap","w-10/12"],["class","text-red-500 mr-2 relative top-0.5",4,"ngIf"],["matInput","","type","text","readonly","",1,"cursor-pointer"],[1,"absolute","top-0","-right-4"],["mat-button","","matTooltipPosition","above",3,"matMenuTriggerFor","matTooltip"],[1,"field_settings","text-md"],["menu","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor"],[1,"ml-2"],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["size","matMenu"],["mat-menu-item","",3,"id","bg-green-400","click",4,"ngFor","ngForOf"],["display","matMenu"],["required","matMenu"],["disabled","matMenu"],["autoCompleteMasksMenu","matMenu"],[1,"text-red-500","mr-2","relative","top-0.5"],["mat-menu-item","",3,"id","click"],[1,"w-64","mx-2",2,"font-size","12px",3,"click"],["matInput","","type","text",3,"ngModel","ngModelChange"],[1,"block",3,"click"],[1,"relative",2,"top","40%"],[1,"text-center","overflow-hidden"],[1,"fa-solid","fa-circle-notch","fa-spin","fa-4x","w-full","text-gray-900",2,"--fa-animation-duration","1.5s"],[2,"height","calc(100% - 64px)"],[3,"label",4,"ngFor","ngForOf"],[3,"label"],["cdkDropList","",1,"min-w-full",2,"min-height","500px",3,"id","cdkDropListData","cdkDropListDropped"],["cdkDrag","",1,"flex","flex-row","items-center","justify-between","m-5","cursor-pointer"],[1,"relative","-top-3"],[1,"relative","fa-solid","fa-arrows-alt","text-xl","top-0.5","mr-2","text-green-400"],[1,"right-0","w-5/12"],["matInput","","disabled",""],["matSuffix",""],["formControlName","test"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,Y6,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,H6,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16),e.qZA(),e._UZ(17,"hr",4),e.qZA(),e.TgZ(18,"button",13),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(22);return e.KtG(h.toggle())}),e._UZ(19,"i",14),e.qZA()(),e.YNc(20,lk,31,24,"div",15),e.qZA(),e.TgZ(21,"mat-sidenav",16,17)(23,"h3",3),e._uU(24),e.ALo(25,"translate"),e.qZA(),e._UZ(26,"mat-divider",4),e.YNc(27,ck,3,0,"div",18),e.YNc(28,fk,2,1,"mat-tab-group",19),e.qZA()()}if(2&t){const a=e.MAs(2),l=e.MAs(22);e.xp6(4),e.Oqu(e.lcZ(5,16,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(3),e.ekj("transform",l.opened)("rotate-180",l.opened),e.xp6(1),e.Q6J("ngIf",!i.loading),e.xp6(4),e.hij(" ",e.lcZ(25,18,"FORMS.available_fields")," "),e.xp6(3),e.Q6J("ngIf",i.loadingCustomFields),e.xp6(1),e.Q6J("ngIf",!i.loadingCustomFields)}},dependencies:[_e.sg,_e.O5,Nt.rH,Sa,Rt.KE,Rt.bx,Rt.hX,Rt.R9,Be.gD,b.ey,Va.Rr,an.Nt,Xn,va.SP,va.uX,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Ho,xl,pe,mo,Zt.ib,Zt.yz,Zt.yK,So,rn.Hk,Rn.d,RT,A.Fj,A.JJ,A.Q7,A.oH,A.u,A.On,e_,Xu,ld,Cn.R,$t.X$],styles:["i.cdk-drag[_ngcontent-%COMP%]{position:absolute;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity));margin-right:.5rem;margin-bottom:.25rem} .form-builder>.mat-form-field-wrapper{padding-bottom:.75rem;padding-top:.75rem} .form-builder>.mat-form-field-wrapper:hover>.mat-form-field-flex>.mat-form-field-infix>i{visibility:visible;opacity:1} .form-builder>.mat-form-field-wrapper:hover>.mat-form-field-flex>.mat-form-field-infix>div>button{visibility:visible;opacity:1;left:0} .form-builder>.mat-form-field-wrapper:hover>.mat-form-field-flex>.mat-form-field-infix>.input-label{padding-left:1.5rem} .form-builder>.mat-form-field-wrapper .mat-form-field-flex{height:3.5rem} .form-builder>.mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix{width:100%} .form-builder>.mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix div>button{visibility:hidden;opacity:0;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s;left:2rem} .form-builder>.mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix div>button .mat-button-focus-overlay{background-color:transparent} .form-builder>.mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix i{visibility:hidden;opacity:0;left:.125rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s;top:.125rem;top:7px} .form-builder>.mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix .input-label{margin-left:0;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s}"]}),n})();function Ck(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",33)(1,"button",34),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",35),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function vk(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,Ck,6,11,"div",32),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function xk(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",26)(1,"mat-expansion-panel-header",27)(2,"mat-panel-title",28),e._UZ(3,"i"),e.TgZ(4,"button",29),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",30),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,vk,2,7,"div",31),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function bk(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,xk,9,15,"mat-expansion-panel",25),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function yk(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",29),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",30),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function Tk(n,o){if(1&n&&e.YNc(0,yk,5,11,"button",36),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function Mk(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,bk,2,1,"div",23),e.YNc(2,Tk,1,1,"ng-template",null,24,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function Dk(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",19),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",20)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",21),e.YNc(6,Mk,4,6,"div",22),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function Ek(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function wk(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessage(t.id))}}function Sk(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",39)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",40),e.ALo(5,"translate"),e.YNc(6,wk,2,1,"mat-error",8),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,7,t.label)),e.xp6(2),e.s9C("placeholder",e.lcZ(5,9,t.placeholder)),e.Q6J("formControl",t.control)("readonly",t.disabled)("type",t.type)("required",t.required),e.xp6(2),e.Q6J("ngIf",t.control.invalid)}}function Ak(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.hij(" ",e.lcZ(2,1,t.label)," ")}}function Lk(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.hij(" ",e.lcZ(2,1,t.name)," ")}}function Ok(n,o){if(1&n&&(e.TgZ(0,"mat-option",43),e.YNc(1,Ak,3,3,"span",8),e.YNc(2,Lk,3,3,"span",8),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.Q6J("ngIf",t.label),e.xp6(1),e.Q6J("ngIf",t.name)}}function kk(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessage(t.id))}}function Ik(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field",39)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",41),e.NdJ("valueChange",function(a){e.CHM(t);const l=e.oxw().$implicit;return e.KtG(l.control.value=a)}),e.YNc(5,Ok,3,3,"mat-option",42),e.qZA(),e.YNc(6,kk,2,1,"mat-error",8),e.qZA()}if(2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,6,t.label)),e.xp6(2),e.Q6J("formControl",t.control)("value",t.control.value)("required",t.required),e.xp6(1),e.Q6J("ngForOf",t.values),e.xp6(1),e.Q6J("ngIf",t.control.invalid)}}function Pk(n,o){if(1&n&&(e.TgZ(0,"mat-slide-toggle",44)(1,"span",45),e._uU(2),e.ALo(3,"translate"),e.qZA()()),2&n){const t=e.oxw().$implicit;e.Q6J("formControl",t.control),e.xp6(2),e.Oqu(e.lcZ(3,2,t.label))}}function Rk(n,o){if(1&n&&(e.ynx(0),e.YNc(1,Sk,7,11,"mat-form-field",37),e.YNc(2,Ik,7,8,"mat-form-field",37),e.YNc(3,Pk,4,4,"mat-slide-toggle",38),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","text"===t.type),e.xp6(1),e.Q6J("ngIf","select"===t.type),e.xp6(1),e.Q6J("ngIf","boolean"===t.type)}}let Fk=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve){this.router=t,this.http=i,this.dialog=a,this.userService=l,this.authService=h,this.translate=E,this.notify=B,this.historyService=oe,this.serviceSettings=xe,this.privilegesService=Ve,this.headers=this.authService.headers,this.loading=!0,this.inputForm=[{id:"input_id",label:this.translate.instant("HEADER.label_short"),type:"text",control:new A.NI,placeholder:"default_input",required:!0},{id:"input_label",label:this.translate.instant("HEADER.label"),type:"text",control:new A.NI,required:!0},{id:"input_folder",label:this.translate.instant("INPUT.input_folder"),type:"text",control:new A.NI,placeholder:"/var/share/sortant",required:!0},{id:"default_form_id",label:this.translate.instant("INPUT.default_form_id"),type:"select",control:new A.NI,required:!0},{id:"splitter_method_id",label:this.translate.instant("INPUT.splitter_method"),type:"select",control:new A.NI,required:!0,values:[]},{id:"remove_blank_pages",label:this.translate.instant("INPUT.remove_blank_pages"),type:"boolean",control:new A.NI}]}ngOnInit(){this.serviceSettings.init(),this.http.get(m.N.url+"/ws/accounts/customers/list",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.inputForm.forEach(i=>{"customer_id"===i.id&&(i.values=t.customers,1===t.customers.length&&i.control.setValue(t.customers[0].id))})}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/forms/list?module=splitter",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.inputForm.forEach(i=>{"default_form_id"===i.id&&(i.values=t.forms,1===t.forms.length&&i.control.setValue(t.forms[0].id))})}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.inputForm.forEach(t=>{"splitter_method_id"===t.id&&this.http.get(m.N.url+"/ws/splitter/splitMethods",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{i.splitMethods.forEach(a=>{t.values.push({id:a.id,label:a.label})})}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()})}isValidForm(){let t=!0;return this.inputForm.forEach(i=>{"DISABLED"!==i.control.status&&"VALID"!==i.control.status&&(t=!1),i.control.markAsTouched()}),t}onSubmit(){if(this.isValidForm()){const t={module:"splitter"};this.inputForm.forEach(i=>{t[i.id]=i.control.value}),this.createInputAndScriptAndIncron()}}createInputAndScriptAndIncron(){if(this.isValidForm()){const t={module:"splitter"};this.inputForm.forEach(i=>{t[i.id]=i.control.value}),this.http.post(m.N.url+"/ws/inputs/createScriptAndIncron",{args:t},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.http.post(m.N.url+"/ws/inputs/create",{args:t},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.historyService.addHistory("splitter","create_input",this.translate.instant("HISTORY-DESC.create-input",{input:t.input_label})),this.router.navigate(["/settings/splitter/inputs"]).then(),this.notify.success(this.translate.instant("INPUT.created"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}}getErrorMessage(t){let i;return this.inputForm.forEach(a=>{a.id===t&&a.required&&!a.value&&!a.control.value&&(i=this.translate.instant("AUTH.field_required"))}),i}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Ui),e.Y36(zi.K),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-splitter-create-input"]],decls:29,vars:17,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],[1,"grid","grid-cols-2","gap-4","w-auto","m-5","text-center"],[4,"ngFor","ngForOf"],[1,"flex","justify-center","items-center"],["mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300",3,"click"],[1,"text-gray-400","text-sm","mt-4","flex","justify-center","items-center"],[1,"w-1/3",3,"innerHTML"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],["class","block",4,"ngIf"],["class","relative top-4 mb-10 col-span-2",3,"formControl",4,"ngIf"],[1,"block"],["matInput","",3,"formControl","readonly","type","placeholder","required"],[3,"formControl","value","required","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"relative","top-4","mb-10","col-span-2",3,"formControl"],[1,"justify-center"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,Dk,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,Ek,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16),e.qZA(),e._UZ(17,"hr",4),e.qZA()(),e.TgZ(18,"form")(19,"div",13),e.YNc(20,Rk,4,3,"ng-container",14),e.qZA()(),e.TgZ(21,"div",15)(22,"button",16),e.NdJ("click",function(){return i.onSubmit()}),e.TgZ(23,"span"),e._uU(24),e.ALo(25,"translate"),e.qZA()()(),e.TgZ(26,"div",17),e._UZ(27,"span",18),e.ALo(28,"translate"),e.qZA()()()}if(2&t){const a=e.MAs(2);e.xp6(4),e.Oqu(e.lcZ(5,11,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(4),e.Q6J("ngForOf",i.inputForm),e.xp6(4),e.Oqu(e.lcZ(25,13,"INPUT.create")),e.xp6(3),e.Q6J("innerHTML",e.lcZ(28,15,"INPUT.create_hint"),e.oJD)}},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.TO,Rt.KE,Rt.hX,Be.gD,b.ey,Va.Rr,an.Nt,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.ib,Zt.yz,Zt.yK,rn.Hk,Rn.d,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.oH,A.F,Cn.R,$t.X$],styles:[".mat-slide-toggle label{justify-content:center}"]}),n})();function Nk(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",32)(1,"button",33),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",34),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function Bk(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,Nk,6,11,"div",31),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function Uk(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",25)(1,"mat-expansion-panel-header",26)(2,"mat-panel-title",27),e._UZ(3,"i"),e.TgZ(4,"button",28),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",29),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,Bk,2,7,"div",30),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function Zk(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,Uk,9,15,"mat-expansion-panel",24),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function Yk(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",28),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",29),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function Hk(n,o){if(1&n&&e.YNc(0,Yk,5,11,"button",35),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function Vk(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,Zk,2,1,"div",22),e.YNc(2,Hk,1,1,"ng-template",null,23,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function Gk(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",18),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",19)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",20),e.YNc(6,Vk,4,6,"div",21),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function Kk(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function jk(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessage(t.id))}}function Wk(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",38)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",39),e.ALo(5,"translate"),e.YNc(6,jk,2,1,"mat-error",8),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,7,t.label)),e.xp6(2),e.s9C("placeholder",e.lcZ(5,9,t.placeholder)),e.Q6J("formControl",t.control)("readonly",t.disabled)("type",t.type)("required",t.required),e.xp6(2),e.Q6J("ngIf",t.control.invalid)}}function qk(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.hij(" ",e.lcZ(2,1,t.label)," ")}}function Jk(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.hij(" ",e.lcZ(2,1,t.name)," ")}}function $k(n,o){if(1&n&&(e.TgZ(0,"mat-option",42),e.YNc(1,qk,3,3,"span",8),e.YNc(2,Jk,3,3,"span",8),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.Q6J("ngIf",t.label),e.xp6(1),e.Q6J("ngIf",t.name)}}function zk(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessage(t.id))}}function Qk(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field",38)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",40),e.NdJ("valueChange",function(a){e.CHM(t);const l=e.oxw().$implicit;return e.KtG(l.control.value=a)}),e.YNc(5,$k,3,3,"mat-option",41),e.qZA(),e.YNc(6,zk,2,1,"mat-error",8),e.qZA()}if(2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,6,t.label)),e.xp6(2),e.Q6J("formControl",t.control)("value",t.control.value)("required",t.required),e.xp6(1),e.Q6J("ngForOf",t.values),e.xp6(1),e.Q6J("ngIf",t.control.invalid)}}function Xk(n,o){if(1&n&&(e.TgZ(0,"mat-slide-toggle",43)(1,"span",44),e._uU(2),e.ALo(3,"translate"),e.qZA()()),2&n){const t=e.oxw().$implicit;e.Q6J("formControl",t.control),e.xp6(2),e.Oqu(e.lcZ(3,2,t.label))}}function eI(n,o){if(1&n&&(e.ynx(0),e.YNc(1,Wk,7,11,"mat-form-field",36),e.YNc(2,Qk,7,8,"mat-form-field",36),e.YNc(3,Xk,4,4,"mat-slide-toggle",37),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","text"===t.type),e.xp6(1),e.Q6J("ngIf","select"===t.type),e.xp6(1),e.Q6J("ngIf","boolean"===t.type)}}let tI=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve){this.router=t,this.http=i,this.dialog=a,this.route=l,this.userService=h,this.authService=E,this.translate=B,this.notify=oe,this.serviceSettings=xe,this.privilegesService=Ve,this.headers=this.authService.headers,this.loading=!0,this.inputForm=[{id:"input_id",label:this.translate.instant("HEADER.label_short"),type:"text",control:new A.NI,disabled:!0,required:!0},{id:"input_label",label:this.translate.instant("HEADER.label"),type:"text",control:new A.NI,required:!0},{id:"input_folder",label:this.translate.instant("INPUT.input_folder"),type:"text",control:new A.NI,placeholder:"/var/share/sortant",required:!0},{id:"default_form_id",label:this.translate.instant("INPUT.default_form_id"),type:"select",control:new A.NI,required:!0},{id:"splitter_method_id",label:this.translate.instant("INPUT.splitter_method"),type:"select",control:new A.NI,required:!0,values:[]},{id:"remove_blank_pages",label:this.translate.instant("INPUT.remove_blank_pages"),type:"boolean",control:new A.NI}]}ngOnInit(){this.serviceSettings.init(),this.inputId=this.route.snapshot.params.id,this.http.get(m.N.url+"/ws/inputs/getById/"+this.inputId,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.input=t;for(const i in this.input)this.inputForm.forEach(a=>{a.id===i&&(a.control.setValue(t[i]),"default_form_id"===a.id&&this.http.get(m.N.url+"/ws/forms/list?module=splitter",{headers:this.authService.headers}).pipe((0,$e.b)(l=>{a.values=l.forms}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(l=>(console.debug(l),this.notify.handleErrors(l),(0,ie.of)(!1)))).subscribe())})}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),this.router.navigate(["/settings/splitter/outputs"]).then(),(0,ie.of)(!1)))).subscribe(),this.inputForm.forEach(t=>{"splitter_method_id"===t.id&&this.http.get(m.N.url+"/ws/splitter/splitMethods",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{i.splitMethods.forEach(a=>{t.values.push({id:a.id,label:a.label})})}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()})}isValidForm(){let t=!0;return this.inputForm.forEach(i=>{"DISABLED"!==i.control.status&&"VALID"!==i.control.status&&(t=!1),i.control.markAsTouched()}),t}onSubmit(){if(this.isValidForm()){const t={module:"splitter"};this.inputForm.forEach(i=>{t[i.id]=i.control.value}),this.http.put(m.N.url+"/ws/inputs/update/"+this.inputId,{args:t},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("INPUT.updated"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i,"/splitter/inputs"),(0,ie.of)(!1)))).subscribe()}}createScriptAndIncron(){if(this.isValidForm()){const t={module:"splitter"};this.inputForm.forEach(i=>{t[i.id]=i.control.value}),this.http.post(m.N.url+"/ws/inputs/createScriptAndIncron",{args:t},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("INPUT.watcher_and_script_updated")),this.onSubmit()}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}}getErrorMessage(t){let i;return this.inputForm.forEach(a=>{a.id===t&&a.required&&!a.value&&!a.control.value&&(i=this.translate.instant("AUTH.field_required"))}),i}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Ui),e.Y36(Nt.gz),e.Y36(zi.K),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-splitter-update-input"]],decls:30,vars:17,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],[1,"grid","grid-cols-2","gap-4","w-auto","m-5","text-center"],[4,"ngFor","ngForOf"],[1,"flex","justify-center","items-center"],["mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300",3,"click"],["mat-button","",1,"ml-4","border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300",3,"click"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],["class","block",4,"ngIf"],["class","relative top-4 mb-10 col-span-2",3,"formControl",4,"ngIf"],[1,"block"],["matInput","",3,"formControl","readonly","type","placeholder","required"],[3,"formControl","value","required","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"relative","top-4","mb-10","col-span-2",3,"formControl"],[1,"justify-center"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,Gk,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,Kk,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16),e.qZA(),e._UZ(17,"hr",4),e.qZA()(),e.TgZ(18,"form")(19,"div",13),e.YNc(20,eI,4,3,"ng-container",14),e.qZA()(),e.TgZ(21,"div",15)(22,"button",16),e.NdJ("click",function(){return i.onSubmit()}),e.TgZ(23,"span"),e._uU(24),e.ALo(25,"translate"),e.qZA()(),e.TgZ(26,"button",17),e.NdJ("click",function(){return i.createScriptAndIncron()}),e.TgZ(27,"span"),e._uU(28),e.ALo(29,"translate"),e.qZA()()()()()}if(2&t){const a=e.MAs(2);e.xp6(4),e.Oqu(e.lcZ(5,11,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(4),e.Q6J("ngForOf",i.inputForm),e.xp6(4),e.Oqu(e.lcZ(25,13,"INPUT.update")),e.xp6(4),e.Oqu(e.lcZ(29,15,"INPUT.update_script_and_watcher"))}},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.TO,Rt.KE,Rt.hX,Be.gD,b.ey,Va.Rr,an.Nt,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.ib,Zt.yz,Zt.yK,rn.Hk,Rn.d,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.oH,A.F,Cn.R,$t.X$],styles:[".mat-slide-toggle label{justify-content:center}"]}),n})();function iI(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",37)(1,"button",38),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",39),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function nI(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,iI,6,11,"div",36),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function aI(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",30)(1,"mat-expansion-panel-header",31)(2,"mat-panel-title",32),e._UZ(3,"i"),e.TgZ(4,"button",33),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",34),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,nI,2,7,"div",35),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function oI(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,aI,9,15,"mat-expansion-panel",29),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function rI(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",33),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",34),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function sI(n,o){if(1&n&&e.YNc(0,rI,5,11,"button",40),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function lI(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,oI,2,1,"div",27),e.YNc(2,sI,1,1,"ng-template",null,28,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function cI(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",23),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",24)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",25),e.YNc(6,lI,4,6,"div",26),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function dI(n,o){if(1&n&&(e.TgZ(0,"mat-option",42),e._uU(1),e.qZA()),2&n){const t=e.oxw().$implicit;e.Q6J("value",t.code),e.xp6(1),e.hij(" ",t.label," ")}}function uI(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,dI,2,2,"mat-option",41),e.qZA()),2&n){const t=o.$implicit,i=e.oxw();e.xp6(1),e.Q6J("ngIf","folder"===t.type&&t.formId===i.selectedFormId)}}function _I(n,o){1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"AUTH.field_required")))}function pI(n,o){if(1&n&&(e.TgZ(0,"mat-hint"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit;e.xp6(1),e.Oqu(t.hint)}}function hI(n,o){1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"AUTH.field_required")))}function mI(n,o){if(1&n&&(e.TgZ(0,"mat-form-field")(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",44),e.YNc(5,pI,2,1,"mat-hint",21),e.YNc(6,hI,3,3,"mat-error",21),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw();e.xp6(2),e.Oqu(e.lcZ(3,7,t.label)),e.xp6(2),e.Q6J("formControlName",t.id)("type",t.type)("placeholder",t.placeholder)("required",t.required),e.xp6(1),e.Q6J("ngIf",t.hint),e.xp6(1),e.Q6J("ngIf",i.form.get(t.id).hasError("required"))}}function gI(n,o){if(1&n&&(e.TgZ(0,"div",45)(1,"mat-slide-toggle",46),e._uU(2),e.ALo(3,"translate"),e.qZA()()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.Q6J("formControlName",t.id),e.xp6(1),e.hij(" ",e.lcZ(3,2,t.label)," ")}}function fI(n,o){if(1&n&&(e.ynx(0),e.YNc(1,mI,7,9,"mat-form-field",21),e.YNc(2,gI,4,4,"div",43),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","text"===t.type),e.xp6(1),e.Q6J("ngIf","slide"===t.type)}}const CI=function(){return{canFolderBeSelected:!1}};let vI=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve){this.http=t,this.router=i,this.route=a,this.formBuilder=l,this.authService=h,this.userService=E,this.translate=B,this.notify=oe,this.serviceSettings=xe,this.privilegesService=Ve,this.loading=!1,this.forms=[],this.fields=[{id:"key",type:"text",value:"",label:this.translate.instant("HEADER.id"),required:!0},{id:"label",type:"text",value:"",label:this.translate.instant("HEADER.label"),required:!0},{id:"isDefault",type:"slide",value:!1,label:this.translate.instant("DOCTYPE.default_doctype"),required:!1}]}ngOnInit(){this.serviceSettings.init(),this.form=this.toFormGroup()}getSelectedForm(t){this.selectedFormId=t.formId}toFormGroup(){const t={};return this.fields.forEach(i=>{t[i.id]=i.required?new A.NI({value:"",disabled:i.disabled},[A.kI.required]):new A.NI({value:i.value,disabled:i.disabled})}),t.folder=new A.NI({value:"",disabled:!1},A.kI.required),new A.cw(t)}getLastFolderIndex(t){let i=0;return this.documentTypeFactoryComponent.treeDataObj.doctypeData.forEach(a=>{if(a.code.startsWith(t)&&a.code.split(".").length===t.split(".").length+1){const l=Number(a.code.split(".").pop());i=l>i?l:i}}),i+1}addDocType(){let t=this.form.getRawValue();const i=this.getLastFolderIndex(t.folder);t={key:t.key,code:t.folder+"."+i.toString(),label:t.label,is_default:t.isDefault,type:"document",form_id:this.selectedFormId},this.http.post(m.N.url+"/ws/doctypes/add",t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("DOCTYPE.doctype_added")),this.selectedFormId&&this.documentTypeFactoryComponent.treeDataObj.loadTree(this.selectedFormId),this.form.reset(),Object.keys(this.form.controls).forEach(a=>{this.form.controls[a].setErrors(null)})}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Ri.eN),e.Y36(Nt.F0),e.Y36(Nt.gz),e.Y36(A.qu),e.Y36(pi.e),e.Y36(zi.K),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-create-doc-type"]],viewQuery:function(t,i){if(1&t&&e.Gf(Ei,7),2&t){let a;e.iGM(a=e.CRH())&&(i.documentTypeFactoryComponent=a.first)}},decls:39,vars:30,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[1,"settings_header","z-50"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],["mat-icon-button","",1,"absolute","right-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-xl","text-gray-900"],[3,"data","selectedFormOutput"],["mode","side","opened","","position","end",1,"available-fields","w-1/4","flex","flex-col","h-full","border-r","border-green-400"],["sidenav2",""],[3,"formGroup","ngSubmit"],[1,"grid","grid-cols-1","gap-x-2","gap-y-2","m-2"],["id","folder",3,"formControlName","required"],[4,"ngFor","ngForOf"],[4,"ngIf"],["type","submit","mat-button","",1,"m-auto","w-7/12","border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-8","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],[3,"value",4,"ngIf"],[3,"value"],["class","text-center p-4",4,"ngIf"],["matInput","",3,"formControlName","type","placeholder","required"],[1,"text-center","p-4"],[3,"formControlName"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,cI,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7)(10,"div",8)(11,"button",9),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(12,"i",10),e.qZA(),e.TgZ(13,"div",11)(14,"h3"),e._uU(15),e.qZA(),e._UZ(16,"hr",4),e.qZA(),e.TgZ(17,"button",12),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(21);return e.KtG(h.toggle())}),e._UZ(18,"i",13),e.qZA()(),e.TgZ(19,"app-document-type-factory",14),e.NdJ("selectedFormOutput",function(h){return i.getSelectedForm(h)}),e.qZA()(),e.TgZ(20,"mat-sidenav",15,16)(22,"h3",3),e._uU(23),e.ALo(24,"translate"),e.qZA(),e._UZ(25,"mat-divider",4),e.TgZ(26,"form",17),e.NdJ("ngSubmit",function(){return i.form.valid&&i.addDocType()}),e.TgZ(27,"div",18)(28,"mat-form-field")(29,"mat-label"),e._uU(30),e.ALo(31,"translate"),e.qZA(),e.TgZ(32,"mat-select",19),e.YNc(33,uI,2,1,"div",20),e.qZA(),e.YNc(34,_I,3,3,"mat-error",21),e.qZA(),e.YNc(35,fI,3,2,"ng-container",20),e.TgZ(36,"button",22),e._uU(37),e.ALo(38,"translate"),e.qZA()()()()()}if(2&t){const a=e.MAs(2),l=e.MAs(21);e.xp6(4),e.Oqu(e.lcZ(5,21,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(4),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(3),e.ekj("transform",l.opened)("rotate-180",l.opened),e.xp6(1),e.Q6J("data",e.DdM(29,CI)),e.xp6(4),e.Oqu(e.lcZ(24,23,"DOCTYPE.add_doctype")),e.xp6(3),e.Q6J("formGroup",i.form),e.xp6(4),e.Oqu(e.lcZ(31,25,"DOCTYPE.folder")),e.xp6(2),e.Q6J("formControlName","folder")("required",!0),e.xp6(1),e.Q6J("ngForOf",i.documentTypeFactoryComponent.treeDataObj.doctypeData),e.xp6(1),e.Q6J("ngIf",i.form.get("folder").hasError("required")),e.xp6(1),e.Q6J("ngForOf",i.fields),e.xp6(2),e.hij(" ",e.lcZ(38,27,"DOCTYPE.add")," ")}},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.TO,Rt.KE,Rt.bx,Rt.hX,Be.gD,b.ey,Va.Rr,an.Nt,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.ib,Zt.yz,Zt.yK,rn.Hk,Rn.d,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.sg,A.u,Ei,$t.X$]}),n})();var xI=C(2595);function bI(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",31)(1,"button",32),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",33),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function yI(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,bI,6,11,"div",30),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function TI(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",24)(1,"mat-expansion-panel-header",25)(2,"mat-panel-title",26),e._UZ(3,"i"),e.TgZ(4,"button",27),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",28),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,yI,2,7,"div",29),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function MI(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,TI,9,15,"mat-expansion-panel",23),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function DI(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",27),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",28),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function EI(n,o){if(1&n&&e.YNc(0,DI,5,11,"button",34),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function wI(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,MI,2,1,"div",21),e.YNc(2,EI,1,1,"ng-template",null,22,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function SI(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",17),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",18)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",19),e.YNc(6,wI,4,6,"div",20),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function AI(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function LI(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.xp6(1),e.Oqu(i.getErrorMessage(t.id,i.outputForm))}}function OI(n,o){if(1&n&&(e.TgZ(0,"mat-form-field")(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",38),e.ALo(5,"translate"),e.YNc(6,LI,2,1,"mat-error",8),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,7,t.label)),e.xp6(2),e.s9C("placeholder",e.lcZ(5,9,t.label)),e.Q6J("value",t.control.value)("formControl",t.control)("type",t.type)("required",t.required),e.xp6(2),e.Q6J("ngIf",t.control.invalid)}}function kI(n,o){if(1&n&&(e.TgZ(0,"mat-option",41),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.output_type_id),e.xp6(1),e.hij(" ",t.output_type_label," ")}}function II(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.xp6(1),e.Oqu(i.getErrorMessage(t.id,i.outputForm))}}function PI(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field")(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",39),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw().$implicit;return e.KtG(l.control.value=a)})("selectionChange",function(a){e.CHM(t);const l=e.oxw(3);return e.KtG(l.changeOutputType(a))}),e.YNc(5,kI,2,2,"mat-option",40),e.qZA(),e.YNc(6,II,2,1,"mat-error",8),e.qZA()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(2),e.Oqu(e.lcZ(3,7,t.label)),e.xp6(2),e.Q6J("name",t.id)("id",t.id)("ngModel",t.control.value)("required",t.required),e.xp6(1),e.Q6J("ngForOf",i.outputsTypes),e.xp6(1),e.Q6J("ngIf",t.control.invalid)}}function RI(n,o){if(1&n&&(e.TgZ(0,"mat-option",41),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.hij(" ",e.lcZ(2,2,t.label)," ")}}function FI(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.xp6(1),e.Oqu(i.getErrorMessage(t.id,i.outputForm))}}function NI(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field")(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",42),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw().$implicit;return e.KtG(l.control.value=a)}),e.YNc(5,RI,3,4,"mat-option",40),e.qZA(),e.YNc(6,FI,2,1,"mat-error",8),e.qZA()}if(2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,6,t.label)),e.xp6(2),e.Q6J("name",t.id)("id",t.id)("ngModel",t.control.value),e.xp6(1),e.Q6J("ngForOf",t.values),e.xp6(1),e.Q6J("ngIf",t.control.invalid)}}function BI(n,o){if(1&n&&(e.ynx(0),e.YNc(1,OI,7,11,"mat-form-field",8),e.YNc(2,PI,7,9,"mat-form-field",8),e.YNc(3,NI,7,8,"mat-form-field",8),e.BQk()),2&n){const t=o.$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf","text"===t.type),e.xp6(1),e.Q6J("ngIf","select"===t.type&&"output_type_id"===t.id),e.xp6(1),e.Q6J("ngIf","select"===t.type&&"compress_type"===t.id&&"export_pdf"===i.selectedOutputType)}}function UI(n,o){if(1&n&&(e.TgZ(0,"div",35)(1,"form",36),e.YNc(2,BI,4,3,"ng-container",37),e.qZA()()),2&n){const t=e.oxw();e.xp6(2),e.Q6J("ngForOf",t.outputForm)}}let ZI=(()=>{class n{constructor(t,i,a,l,h,E,B,oe){this.router=t,this.http=i,this.userService=a,this.authService=l,this.translate=h,this.notify=E,this.serviceSettings=B,this.privilegesService=oe,this.loading=!0,this.outputsTypes=[],this.outputForm=[{id:"output_type_id",label:this.translate.instant("HEADER.output_type"),type:"select",control:new A.NI,required:!0,values:this.outputsTypes},{id:"output_label",label:this.translate.instant("HEADER.label"),type:"text",control:new A.NI,required:!0},{id:"compress_type",label:this.translate.instant("OUTPUT.compress_type"),type:"select",control:new A.NI,values:[{id:"",label:(0,He.J)("OUTPUT.no_compress")},{id:"screen",label:(0,He.J)("OUTPUT.compress_screen")},{id:"ebook",label:(0,He.J)("OUTPUT.compress_ebook")},{id:"prepress",label:(0,He.J)("OUTPUT.compress_prepress")},{id:"printer",label:(0,He.J)("OUTPUT.compress_printer")},{id:"default",label:(0,He.J)("OUTPUT.compress_default")}],required:!1}]}ngOnInit(){this.serviceSettings.init(),this.outputForm.forEach(t=>{"compress_type"===t.id&&t.control.setValue("")}),this.http.get(m.N.url+"/ws/outputs/getOutputsTypes?module=splitter",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.outputsTypes=t.outputs_types}),(0,Di.x)(()=>{this.loading=!1}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),this.router.navigate(["/settings/verifier/outputs"]).then(),(0,ie.of)(!1)))).subscribe()}isValidForm(t){let i=!0;return t.forEach(a=>{("DISABLED"!==a.control.status&&"VALID"!==a.control.status||null==a.control.value)&&(i=!1),a.control.markAsTouched()}),i}createOutput(){if(this.isValidForm(this.outputForm)){const t=this.getValueFromForm(this.outputForm,"output_type_id"),i=this.getValueFromForm(this.outputForm,"output_label"),a=this.getValueFromForm(this.outputForm,"compress_type");this.http.post(m.N.url+"/ws/outputs/create",{args:{output_type_id:t,output_label:i,compress_type:a,module:"splitter"}},{headers:this.authService.headers}).pipe((0,$e.b)(l=>{this.notify.success(this.translate.instant("OUTPUT.created")),this.router.navigate(["/settings/splitter/outputs/update/"+l.id]).then()}),(0,Ke.K)(l=>(console.debug(l),this.notify.handleErrors(l,"/settings/splitter/outputs"),(0,ie.of)(!1)))).subscribe()}}getValueFromForm(t,i){let a="";return t.forEach(l=>{i===l.id&&(a=l.control.value)}),a}getErrorMessage(t,i){let a;return i.forEach(l=>{l.id===t&&l.required&&(a=this.translate.instant("AUTH.field_required"))}),a}changeOutputType(t){this.selectedOutputType=t.value}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(zi.K),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-splitter-create-output"]],decls:24,vars:14,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],["class","flex justify-center items-center",4,"ngIf"],[1,"flex","justify-center","items-center","mb-2"],["mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300"],[1,"block",3,"click"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],[1,"flex","justify-center","items-center"],[1,"grid","grid-cols-2","gap-12","w-full","m-10","text-center"],[4,"ngFor","ngForOf"],["matInput","",3,"value","formControl","type","placeholder","required"],[3,"name","id","ngModel","required","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[3,"name","id","ngModel","ngModelChange"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,SI,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,AI,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16),e.qZA(),e._UZ(17,"hr",4),e.qZA()(),e.YNc(18,UI,3,1,"div",13),e.TgZ(19,"div",14)(20,"button",15)(21,"span",16),e.NdJ("click",function(){return i.createOutput()}),e._uU(22),e.ALo(23,"translate"),e.qZA()()()()()}if(2&t){const a=e.MAs(2);e.xp6(4),e.Oqu(e.lcZ(5,10,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(2),e.Q6J("ngIf",!i.loading),e.xp6(4),e.Oqu(e.lcZ(23,12,"OUTPUT.create"))}},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.TO,Rt.KE,Rt.hX,Be.gD,b.ey,an.Nt,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.ib,Zt.yz,Zt.yK,rn.Hk,Rn.d,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.oH,A.On,A.F,Cn.R,$t.X$]}),n})();function YI(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",40)(1,"button",41),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",42),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function HI(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,YI,6,11,"div",39),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function VI(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",33)(1,"mat-expansion-panel-header",34)(2,"mat-panel-title",35),e._UZ(3,"i"),e.TgZ(4,"button",36),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",37),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,HI,2,7,"div",38),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function GI(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,VI,9,15,"mat-expansion-panel",32),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function KI(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",36),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",37),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function jI(n,o){if(1&n&&e.YNc(0,KI,5,11,"button",43),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function WI(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,GI,2,1,"div",30),e.YNc(2,jI,1,1,"ng-template",null,31,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function qI(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",26),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",27)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",28),e.YNc(6,WI,4,6,"div",29),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function JI(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function $I(n,o){1&n&&(e.TgZ(0,"mat-header-cell",44),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.id")," "))}function zI(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.id," ")}}function QI(n,o){1&n&&(e.TgZ(0,"mat-header-cell",44),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.label")," "))}function XI(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.label," ")}}function eP(n,o){1&n&&(e.TgZ(0,"mat-header-cell",44),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ACCOUNTS.form")," "))}function tP(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.form_label," ")}}function iP(n,o){1&n&&(e.TgZ(0,"mat-header-cell",44),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ACCOUNTS.supplier_name")," "))}function nP(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.supplier_name,"")}}function aP(n,o){1&n&&(e.TgZ(0,"mat-header-cell",44),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.status")," "))}function oP(n,o){1&n&&(e.TgZ(0,"span")(1,"span",45),e._uU(2,"\u2022"),e.qZA(),e._uU(3),e.ALo(4,"translate"),e.qZA()),2&n&&(e.xp6(3),e.hij(" ",e.lcZ(4,1,"HEADER.active"),""))}function rP(n,o){1&n&&(e.TgZ(0,"span")(1,"span",46),e._uU(2,"\u2022"),e.qZA(),e._uU(3),e.ALo(4,"translate"),e.qZA()),2&n&&(e.xp6(3),e.hij(" ",e.lcZ(4,1,"HEADER.inactive"),""))}function sP(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e.YNc(1,oP,5,3,"span",8),e.YNc(2,rP,5,3,"span",8),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf",t.enabled),e.xp6(1),e.Q6J("ngIf",!t.enabled)}}function lP(n,o){1&n&&e._UZ(0,"mat-header-cell")}function cP(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",48),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw();return a.stopPropagation(),e.KtG(h.disableConfirmDialog(l.id,l.label))}),e.ALo(1,"translate"),e._UZ(2,"i",51),e.qZA()}2&n&&e.s9C("matTooltip",e.lcZ(1,1,"POSITIONS-MASKS.disable"))}function dP(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",48),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw();return a.stopPropagation(),e.KtG(h.enableConfirmDialog(l.id,l.label))}),e.ALo(1,"translate"),e._UZ(2,"i",52),e.qZA()}2&n&&e.s9C("matTooltip",e.lcZ(1,1,"POSITIONS-MASKS.enable"))}function uP(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-cell"),e.YNc(1,cP,3,3,"button",47),e.YNc(2,dP,3,3,"button",47),e.TgZ(3,"button",48),e.NdJ("click",function(a){const h=e.CHM(t).$implicit,E=e.oxw();return a.stopPropagation(),e.KtG(E.duplicateConfirmDialog(h.id,h.label))}),e.ALo(4,"translate"),e._UZ(5,"i",49),e.qZA(),e.TgZ(6,"button",48),e.NdJ("click",function(a){const h=e.CHM(t).$implicit,E=e.oxw();return a.stopPropagation(),e.KtG(E.deleteConfirmDialog(h.id,h.label))}),e.ALo(7,"translate"),e._UZ(8,"i",50),e.qZA()()}if(2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf",t.enabled),e.xp6(1),e.Q6J("ngIf",!t.enabled),e.xp6(1),e.s9C("matTooltip",e.lcZ(4,4,"POSITIONS-MASKS.duplicate")),e.xp6(3),e.s9C("matTooltip",e.lcZ(7,6,"POSITIONS-MASKS.delete"))}}function _P(n,o){1&n&&e._UZ(0,"mat-header-row")}function pP(n,o){1&n&&e._UZ(0,"mat-row",53),2&n&&e.MGl("routerLink","/settings/verifier/positions-mask/update/",o.$implicit.id,"")}const hP=function(){return[5,10,15,20,50]};let mP=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt,Ft,ii){this.router=t,this.http=i,this.dialog=a,this.route=l,this.userService=h,this.authService=E,this.translate=B,this.notify=oe,this.historyService=xe,this.serviceSettings=Ve,this.routerExtService=lt,this.privilegesService=Ft,this.localStorageService=ii,this.columnsToDisplay=["id","label","supplier_name","form_label","enabled","actions"],this.loading=!0,this.pageSize=10,this.pageIndex=0,this.total=0,this.offset=0,this.positionsMasks=[]}ngOnInit(){this.serviceSettings.init();const t=this.routerExtService.getPreviousUrl();t.includes("settings/verifier/positions-mask")||"/"===t?(this.localStorageService.get("positionMaskPageIndex")&&(this.pageIndex=parseInt(this.localStorageService.get("positionMaskPageIndex"))),this.offset=this.pageSize*this.pageIndex):this.localStorageService.remove("positionMaskPageIndex"),this.loadPositionMask().then()}loadPositionMask(){var t=this;return xa(function*(){t.loading=!0;const i=yield t.retrieveSuppliers();t.http.get(m.N.url+"/ws/positions_masks/list?limit="+t.pageSize+"&offset="+t.offset,{headers:t.authService.headers}).pipe((0,$e.b)(a=>{a.total?t.total=a.total:0!==t.pageIndex&&(t.pageIndex=t.pageIndex-1,t.offset=t.pageSize*t.pageIndex,t.loadPositionMask()),t.positionsMasks=a.positions_masks,i.suppliers.forEach(l=>{t.positionsMasks.forEach(h=>{l.id===h.supplier_id&&(h.supplier_name=l.name)})})}),(0,Di.x)(()=>t.loading=!1),(0,Ke.K)(a=>(console.debug(a),t.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe()})()}retrieveSuppliers(){var t=this;return xa(function*(){return yield t.http.get(m.N.url+"/ws/accounts/suppliers/list?order=name ASC",{headers:t.authService.headers}).toPromise()})()}onPageChange(t){this.pageSize=t.pageSize,this.offset=this.pageSize*t.pageIndex,this.pageIndex=t.pageIndex,this.localStorageService.save("positionMaskPageIndex",t.pageIndex),this.loadPositionMask().then()}deleteConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("POSITIONS-MASKS.confirm_delete",{positions_mask:i}),confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.deletePositionMask(t),this.historyService.addHistory("verifier","delete_positions_masks",this.translate.instant("HISTORY-DESC.delete-positions-masks",{positions_masks:i})))})}duplicateConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("POSITIONS-MASKS.confirm_duplicate",{positions_mask:i}),confirmButton:this.translate.instant("GLOBAL.duplicate"),confirmButtonColor:"green",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.duplicatePositionMask(t),this.historyService.addHistory("verifier","duplicate_positions_masks",this.translate.instant("HISTORY-DESC.duplicate-positions-masks",{positions_masks:i})))})}disableConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("POSITIONS-MASKS.confirm_disable",{positions_mask:i}),confirmButton:this.translate.instant("GLOBAL.disable"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&this.disablePositionMask(t)})}enableConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("POSITIONS-MASKS.confirm_enable",{positions_mask:i}),confirmButton:this.translate.instant("GLOBAL.enable"),confirmButtonColor:"green",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&this.enablePositionMask(t)})}deletePositionMask(t){void 0!==t&&this.http.delete(m.N.url+"/ws/positions_masks/delete/"+t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadPositionMask().then(),this.notify.success(this.translate.instant("POSITIONS-MASKS.positions_mask_deleted"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}duplicatePositionMask(t){void 0!==t&&this.http.post(m.N.url+"/ws/positions_masks/duplicate/"+t,{},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadPositionMask().then()}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}disablePositionMask(t){void 0!==t&&this.http.put(m.N.url+"/ws/positions_masks/disable/"+t,null,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadPositionMask().then()}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}enablePositionMask(t){void 0!==t&&this.http.put(m.N.url+"/ws/positions_masks/enable/"+t,null,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadPositionMask().then()}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}sortData(t){const i=this.positionsMasks.slice();this.positionsMasks=t.active&&""!==t.direction?i.sort((a,l)=>{const h="asc"===t.direction;switch(t.active){case"id":return this.compare(a.id,l.id,h);case"label":return this.compare(a.label,l.label,h);case"default":return this.compare(a.default,l.default,h);case"enabled":return this.compare(a.enabled,l.enabled,h);default:return 0}}):i}compare(t,i,a){return(t{class n{constructor(t,i,a,l,h,E,B,oe,xe){this.router=t,this.http=i,this.userService=a,this.authService=l,this.translate=h,this.notify=E,this.historyService=B,this.serviceSettings=oe,this.privilegesService=xe,this.loading=!0,this.suppliers=[],this.forms=[],this.form={label:{control:new A.NI},supplier_id:{control:new A.NI},form_id:{control:new A.NI}},this.toHighlight=""}ngOnInit(){this.serviceSettings.init(),this.http.get(m.N.url+"/ws/accounts/suppliers/list",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.suppliers=this.sortArrayAlphab(t.suppliers),this.filteredOptions=this.form.supplier_id.control.valueChanges.pipe((0,mt.O)(""),(0,Mn.U)(i=>i?this._filter(i):this.suppliers.slice())),this.http.get(m.N.url+"/ws/forms/list?module=verifier",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.forms=i.forms}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}isValidForm(t){let i=!0;for(const a in t)("DISABLED"!==t[a].control.status&&"VALID"!==t[a].control.status||null==t[a].control.value)&&(i=!1),t[a].control.markAsTouched();return i}createPositionsMask(){if(this.isValidForm(this.form)){const t=this.form.label.control.value,i=this.form.supplier_id.control.value,a=this.form.form_id.control.value;let l="";this.suppliers.forEach(h=>{h.name===i&&(l=h.id)}),this.http.post(m.N.url+"/ws/positions_masks/add",{args:{label:t,supplier_id:l,form_id:a}},{headers:this.authService.headers}).pipe((0,$e.b)(h=>{this.notify.success(this.translate.instant("POSITIONS-MASKS.created")),this.historyService.addHistory("verifier","create_positions_masks",this.translate.instant("HISTORY-DESC.create-positions-masks",{positions_masks:t})),this.router.navigate(["/settings/verifier/positions-mask/update/"+h.id]).then()}),(0,Ke.K)(h=>(console.debug(h),this.notify.handleErrors(h,"/settings/verifier/positions-mask"),(0,ie.of)(!1)))).subscribe()}}getErrorMessage(t,i){let a;return i.forEach(l=>{l.id===t&&l.required&&(a=this.translate.instant("AUTH.field_required"))}),a}sortArrayAlphab(t){return t.sort((i,a)=>{const l=i.name.toUpperCase(),h=a.name.toUpperCase();return l===h?0:l>h?1:-1})}_filter(t){if("string"==typeof t){this.toHighlight=t;const i=t.toLowerCase();return this.suppliers.filter(a=>-1!==a.name.toLowerCase().indexOf(i))}return this.suppliers}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(zi.K),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["create-positions-mask"]],decls:24,vars:14,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],["class","overflow-auto",4,"ngIf"],[1,"flex","justify-center","items-center","mb-2"],["mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300"],[1,"block",3,"click"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],[1,"overflow-auto"],[1,"grid","grid-cols-3","gap-8","mt-6","ml-6","mr-6"],["matInput","","required","",3,"formControl"],[1,"right-0","w-full"],[1,"overflow-ellipsis","overflow-hidden","whitespace-nowrap","w-8/12"],["matInput","","type","text",3,"required","formControl","matAutocomplete"],["auto","matAutocomplete"],[3,"value","id",4,"ngFor","ngForOf"],[1,"block"],[3,"formControl","required"],[3,"value",4,"ngFor","ngForOf"],[3,"value","id"],[3,"innerHTML"],[3,"value"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,TP,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,MP,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16),e.qZA(),e._UZ(17,"hr",4),e.qZA()(),e.YNc(18,wP,22,19,"div",13),e.TgZ(19,"div",14)(20,"button",15)(21,"span",16),e.NdJ("click",function(){return i.createPositionsMask()}),e._uU(22),e.ALo(23,"translate"),e.qZA()()()()()}if(2&t){const a=e.MAs(2);e.xp6(4),e.Oqu(e.lcZ(5,10,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(2),e.Q6J("ngIf",!i.loading),e.xp6(4),e.Oqu(e.lcZ(23,12,"POSITIONS-MASKS.create"))}},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.KE,Rt.hX,Be.gD,b.ey,an.Nt,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.ib,Zt.yz,Zt.yK,de.XC,de.ZL,rn.Hk,Rn.d,A.Fj,A.JJ,A.Q7,A.oH,Cn.R,_e.Ov,$t.X$,Ic.S]}),n})();function AP(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",52)(1,"button",53),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",54),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function LP(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,AP,6,11,"div",51),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function OP(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",45)(1,"mat-expansion-panel-header",46)(2,"mat-panel-title",47),e._UZ(3,"i"),e.TgZ(4,"button",48),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",49),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,LP,2,7,"div",50),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function kP(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,OP,9,15,"mat-expansion-panel",44),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function IP(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",48),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",49),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function PP(n,o){if(1&n&&e.YNc(0,IP,5,11,"button",55),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function RP(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,kP,2,1,"div",42),e.YNc(2,PP,1,1,"ng-template",null,43,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function FP(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",38),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",39)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",40),e.YNc(6,RP,4,6,"div",41),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function NP(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function BP(n,o){if(1&n&&(e.TgZ(0,"mat-option",56),e._UZ(1,"span",57),e.ALo(2,"highlight"),e.qZA()),2&n){const t=o.$implicit,i=e.oxw();e.Q6J("value",t.name)("id",t.id),e.xp6(1),e.Q6J("innerHTML",e.xi3(2,3,t.name,i.toHighlight),e.oJD)}}function UP(n,o){if(1&n&&(e.TgZ(0,"mat-option",58),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.Oqu(t.label)}}function ZP(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",59),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.deleteImage())}),e._uU(1),e.ALo(2,"translate"),e.qZA()}2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"POSITIONS-MASKS.reset_image")," "))}function YP(n,o){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"i",60),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.previousPage())}),e.qZA(),e._uU(2),e.ALo(3,"translate"),e.ALo(4,"translate"),e.TgZ(5,"i",61),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.nextPage())}),e.qZA(),e.BQk()}if(2&n){const t=e.oxw();e.xp6(2),e.HOy(" ",e.lcZ(3,4,"VERIFIER.page")," ",t.currentPage," ",e.lcZ(4,6,"VERIFIER.on")," ",t.documentImageNbPages," ")}}function HP(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div")(1,"ngx-file-drag-drop",62),e.NdJ("valueChanged",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.checkFile(a))}),e.ALo(2,"translate"),e.qZA()()}if(2&n){const t=e.oxw();e.xp6(1),e.Tol("max-w-3xl h-56 mt-10 mb-10"),e.Q6J("formControl",t.fileControl)("activeBorderColor","#97BF3D")("multiple",!1)("accept","pdf")("displayFileSize",!0)("emptyPlaceholder",e.lcZ(2,8,"POSITIONS-MASKS.placeholder"))}}function VP(n,o){1&n&&(e.TgZ(0,"div",63)(1,"span",64),e._UZ(2,"i",65),e.qZA()())}function GP(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div")(1,"div",71),e.ynx(2),e.TgZ(3,"div",72),e._uU(4),e.ALo(5,"translate"),e.qZA(),e.TgZ(6,"mat-form-field",73)(7,"mat-label"),e._uU(8),e.ALo(9,"translate"),e.qZA(),e.TgZ(10,"input",74),e.NdJ("focusin",function(a){const h=e.CHM(t).$implicit,E=e.oxw(3);return e.KtG(E.ocr(a,!0,h.color))})("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.ocrFromUser=!0)})("ngModelChange",function(a){const h=e.CHM(t).$implicit;return e.KtG(h.regex=a)})("focusout",function(a){e.CHM(t);const l=e.oxw(3);return e.KtG(l.ocr(a,!1))}),e.qZA()(),e.BQk(),e.qZA()()}if(2&n){const t=o.$implicit;e.xp6(3),e.Q6J("id","label_"+t.id),e.xp6(1),e.hij(" ",e.lcZ(5,5,t.label)," "),e.xp6(4),e.Oqu(e.lcZ(9,7,"POSITIONS-MASKS.regex_associated")),e.xp6(2),e.Q6J("id",t.id)("ngModel",t.regex)}}function KP(n,o){if(1&n&&(e.TgZ(0,"mat-tab",68),e.ALo(1,"translate"),e.TgZ(2,"div",69),e.YNc(3,GP,11,9,"div",70),e.qZA()()),2&n){const t=o.$implicit;e.s9C("label",e.lcZ(1,2,t.label)),e.xp6(3),e.Q6J("ngForOf",t.values)}}function jP(n,o){if(1&n&&(e.TgZ(0,"mat-tab-group",66),e.YNc(1,KP,4,4,"mat-tab",67),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.availableFieldsParent)}}let WP=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt,Ft){this.router=t,this.http=i,this.route=a,this.sanitizer=l,this.userService=h,this.authService=E,this.translate=B,this.notify=oe,this.configService=xe,this.historyService=Ve,this.serviceSettings=lt,this.privilegesService=Ft,this.loading=!0,this.loadingFields=!0,this.ocrFromUser=!1,this.launchOnInit=!1,this.currentPage=1,this.suppliers=[],this.forms=[],this.form={label:{control:new A.NI},supplier_id:{control:new A.NI},form_id:{control:new A.NI}},this.toHighlight="",this.availableFieldsParent=[{id:"facturation_fields",label:this.translate.instant("FACTURATION.facturation"),values:[{id:"delivery_number",label:(0,He.J)("FACTURATION.delivery_number"),unit:"facturation",type:"text",color:"silver",regex:""},{id:"invoice_number",label:(0,He.J)("FACTURATION.invoice_number"),unit:"facturation",type:"text",color:"red",regex:""},{id:"quotation_number",label:(0,He.J)("FACTURATION.quotation_number"),unit:"facturation",type:"text",color:"orange",regex:""},{id:"document_date",label:(0,He.J)("FACTURATION.document_date"),unit:"facturation",type:"date",color:"yellow",regex:""},{id:"document_due_date",label:(0,He.J)("FACTURATION.document_due_date"),unit:"facturation",type:"date",color:"blue",regex:""},{id:"vat_rate",label:(0,He.J)("FACTURATION.vat_rate"),unit:"facturation",type:"text",color:"pink",regex:""},{id:"no_rate_amount",label:(0,He.J)("FACTURATION.no_rate_amount"),unit:"facturation",type:"text",color:"fuschia",regex:""},{id:"vat_amount",label:(0,He.J)("FACTURATION.vat_amount"),unit:"facturation",type:"text",color:"purple",regex:""},{id:"total_ttc",label:(0,He.J)("FACTURATION.total_ttc"),unit:"facturation",type:"text",color:"white",regex:""},{id:"total_ht",label:this.translate.instant("FACTURATION.total_ht"),unit:"facturation",type:"text",color:"green",regex:""},{id:"total_vat",label:this.translate.instant("FACTURATION.total_vat"),unit:"facturation",type:"text",color:"lime",regex:""}]},{id:"custom_fields",label:(0,He.J)("FORMS.custom_fields"),values:[]}],this.lastColor="",this.lastLabel="",this.fileControl=new A.NI([],[xr.required,xr.fileExtension(["pdf"])])}ngOnInit(){var t=this;return xa(function*(){t.serviceSettings.init(),t.http.get(m.N.url+"/ws/forms/list?module=verifier",{headers:t.authService.headers}).pipe((0,$e.b)(a=>{t.forms=a.forms}),(0,Ke.K)(a=>(console.debug(a),t.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe(),t.serviceSettings.init(),t.launchOnInit=!0,t.positionMaskId=t.route.snapshot.params.id,t.config=t.configService.getConfig(),t.positionsMask=yield t.getPositionMask();for(const a in t.availableFieldsParent)t.availableFieldsParent[a].values.forEach(l=>{for(const h in t.positionsMask.regex)h===l.id&&(l.regex=t.positionsMask.regex[h])});if(t.positionsMask.filename){t.documentImageName=t.positionsMask.filename,t.documentImageNbPages=t.positionsMask.nb_pages,t.documentImageWidth=t.positionsMask.width,t.imageDocument=$("#document_image_src");const a=yield t.getThumb(t.positionsMask.filename);t.documentImageSrc=t.sanitizer.bypassSecurityTrustUrl("data:image/jpeg;base64, "+a.file)}t.suppliers=yield t.retrieveSuppliers(),t.suppliers=t.suppliers.suppliers,t.imageDocument&&(t.ratio=t.documentImageWidth/t.imageDocument.width(),t.ocr({target:{id:""}},!0,"",!1)),t.form.label.control.setValue(t.positionsMask.label),t.form.form_id.control.setValue(t.positionsMask.form_id),t.filteredOptions=t.form.supplier_id.control.valueChanges.pipe((0,mt.O)(""),(0,Mn.U)(a=>a?t._filter(a):t.suppliers.slice())),t.suppliers.forEach(a=>{a.id===t.positionsMask.supplier_id&&t.form.supplier_id.control.setValue(a.name)}),t.http.get(m.N.url+"/ws/customFields/list",{headers:t.authService.headers}).pipe((0,$e.b)(a=>{if(a.customFields)for(const l in a.customFields)if(a.customFields.hasOwnProperty(l)&&"verifier"===a.customFields[l].module)for(const h in t.availableFieldsParent)"custom_fields"===t.availableFieldsParent[h].id&&t.availableFieldsParent[h].values.push({id:"custom_"+a.customFields[l].id,label:a.customFields[l].label,type:a.customFields[l].type,color:a.customFields[l].color,regex:""});t.loadingFields=!1}),(0,Ke.K)(a=>(console.debug(a),t.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe(),setTimeout(()=>{t.drawPositions(),t.loading=!1,t.launchOnInit=!1},500),$(".trigger").hide()})()}_filter(t){if("string"==typeof t){this.toHighlight=t;const i=t.toLowerCase();return this.suppliers.filter(a=>-1!==a.name.toLowerCase().indexOf(i))}return this.suppliers}getPositionMask(){var t=this;return xa(function*(){return yield t.http.get(m.N.url+"/ws/positions_masks/getById/"+t.positionMaskId,{headers:t.authService.headers}).toPromise()})()}retrieveSuppliers(){var t=this;return xa(function*(){return yield t.http.get(m.N.url+"/ws/accounts/suppliers/list?order=name ASC",{headers:t.authService.headers}).toPromise()})()}drawPositions(){if(this.positionsMask)for(const t in this.positionsMask.positions){const i=this.positionsMask.positions[t],a=this.getPage(t);if(i&&parseInt(String(a))===parseInt(String(this.currentPage))){this.lastId=t;for(const E in this.availableFieldsParent)this.availableFieldsParent[E].values.forEach(B=>{t===B.id&&(this.lastLabel=this.translate.instant(B.label),this.lastColor=B.color)});$("#"+t).focus(),this.ratio===1/0&&(this.ratio=this.documentImageWidth/this.imageDocument.width());const l={x:i.x/this.ratio,y:i.y/this.ratio,width:i.width/this.ratio,height:i.height/this.ratio},h=$(".trigger");h.hide(),h.trigger("mousedown"),h.trigger("mouseup",[l])}}}drawPositionByField(t,i){this.lastId=t.id,this.lastLabel=this.translate.instant(t.label).trim(),this.lastColor=t.color,$("#"+t.id).focus();const a={x:i.x/this.ratio,y:i.y/this.ratio,width:i.width/this.ratio,height:i.height/this.ratio},l=$(".trigger");l.hide(),l.trigger("mousedown"),l.trigger("mouseup",[a])}updatePositionsMask(){const t={label:this.form.label.control.value,form_id:this.form.form_id.control.value,regex:{}};if(t.label&&t.form_id){const i=this.form.supplier_id.control.value;this.suppliers.forEach(a=>{a.name===i&&Object.assign(t,{supplier_id:a.id})});for(const a in this.availableFieldsParent)this.availableFieldsParent[a].values.forEach(l=>{l.regex&&Object.assign(t.regex,{[l.id]:l.regex})});t.regex&&(t.regex=JSON.stringify(t.regex)),this.http.put(m.N.url+"/ws/positions_masks/update/"+this.positionMaskId,{args:t},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.historyService.addHistory("verifier","update_positions_masks",this.translate.instant("HISTORY-DESC.update-positions-masks",{positions_masks:t.label})),this.notify.success(this.translate.instant("POSITIONS-MASKS.updated"))}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),this.router.navigate(["/settings/verifier/positions-mask"]).then(),(0,ie.of)(!1)))).subscribe()}}checkFile(t){if(t&&0!==t.length){this.loading=!0;for(let i=0;i{this.documentImageSrc=this.sanitizer.bypassSecurityTrustUrl("data:image/jpeg;base64, "+E.file),this.documentImageName=E.filename,this.documentImageWidth=E.width,this.imageDocument=$("#document_image_src"),setTimeout(()=>{this.ratio=this.documentImageWidth/this.imageDocument.width()},500),this.documentImageNbPages=E.nb_pages,this.fileControl.setValue([]),this.ocr({target:{id:""}},!0,"",!1)}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(E=>(this.notify.handleErrors(E),(0,ie.of)(!1)))).subscribe()}}}}deleteImage(){this.documentImageSrc="",this.imageDocument=void 0,this.positionsMask.positions={},this.positionsMask.pages={};for(const i in this.availableFieldsParent)this.availableFieldsParent[i].values.forEach(a=>{a.value="";const l=$(".input_"+a.id),h=$(".background_"+a.id),E=$(".outline_"+a.id);l.remove(),h.remove(),E.remove()});const t=$(".image-container");t.addClass("pointer-events-none"),t.addClass("cursor-auto"),this.http.put(m.N.url+"/ws/positions_masks/update/"+this.positionMaskId,{args:{filename:"",positions:"{}",pages:"{}"}},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("POSITIONS-MASKS.updated"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),this.router.navigate(["/settings/verifier/outputs"]).then(),(0,ie.of)(!1)))).subscribe()}ocr(t,i,a="green",l=!0){$(".trigger").show();const h=this;this.lastId=t.target.id;const E=$("#label_"+this.lastId);this.lastLabel=0!==E.length?E[0].innerText:"",this.lastColor=a;const B=$(".image-container"),oe=$(".delete-area"),xe=$(".select-areas-background-area"),Ve=$(".select-areas-resize-handler");if(oe.addClass("pointer-events-auto"),xe.addClass("pointer-events-auto"),Ve.addClass("pointer-events-auto"),B.addClass("pointer-events-none"),B.addClass("cursor-auto"),i&&this.imageDocument)$(".outline_"+h.lastId).toggleClass("animate"),l&&(B.removeClass("pointer-events-none"),B.removeClass("cursor-auto")),this.imageDocument.selectAreas({allowNudge:!1,minSize:[20,20],maxSize:[this.imageDocument.width(),this.imageDocument.height()/8],onChanged(lt,Ft,ii){0!==ii.length&&0!==ii.width&&0!==ii.height&&h.ocr_process(lt,Ft,ii)},onDeleted(lt,Ft){const ii=$("#select-area-label_"+Ft).attr("class").replace("input_","").replace("select-none","");h.deletePosition(ii),h.deletePage(ii)}});else{let lt=!1;$(".select-areas-delete-area").click(()=>{lt=!0}),setTimeout(()=>{lt||(Ve.hide(),oe.hide())},200),$(".outline_"+h.lastId).removeClass("animate")}}ocr_process(t,i,a){const l=this.getPage(this.lastId);if(this.ocrFromUser||l===this.currentPage||0===l){if(0===$("#select-area-label_"+i).length){const oe=$("#select-areas-outline_"+i),xe=$("#select-areas-background-area_"+i),Ve=$("#select-areas-label-container_"+i);Ve.append('
'+this.lastLabel+"
"),xe.css("background-color",this.lastColor),oe.addClass("outline_"+this.lastId),xe.addClass("background_"+this.lastId),xe.data("page",l),Ve.data("page",l),oe.data("page",l)}const h=$("#select-area-label_"+i).attr("class").replace("input_","").replace("select-none","");$("#"+h).focus();const E=$("div[id*=select-area-label_]:contains("+this.lastLabel+")"),B=E.length;if(B>1){const oe=E[B-1].id.split("_")[1];$("#select-areas-label-container_"+oe).remove(),$("#select-areas-background-area_"+oe).remove(),$("#select-areas-outline_"+oe).remove(),$("#select-areas-delete_"+oe).remove(),$(".select-areas-resize-handler_"+oe).remove()}if(this.imageDocument&&!this.launchOnInit){const oe=this.getSelectionByCpt(a,i);this.savePosition(oe),this.savePage(this.currentPage)}}else{const h=$(".input_"+this.lastId),E=$(".background_"+this.lastId),B=$(".outline_"+this.lastId);h.remove(),E.remove(),B.remove()}}getSelectionByCpt(t,i){for(const a in t)if(t[a].id===i)return t[a]}getPage(t){let i=this.currentPage;return this.positionsMask.pages&&Object.keys(this.positionsMask.pages).forEach(a=>{a===t&&(i=this.positionsMask.pages[t])}),i}checkIfObjectIsEqual(t,i){if(!t||!i)return!1;const a=Object.getOwnPropertyNames(t),l=Object.getOwnPropertyNames(i);if(a.length!==l.length)return!1;for(let h=0;h{this.positionsMask.positions[this.lastId]=t,this.notify.success(this.translate.instant("POSITIONS-MASKS.position_and_page_updated",{input:this.lastLabel}))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}savePage(t){t!==this.positionsMask.pages[this.lastId]&&this.http.put(m.N.url+"/ws/positions_masks/updatePages/"+this.positionMaskId,{args:{[this.lastId]:t}},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.positionsMask.pages[this.lastId]=t}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}deletePosition(t){this.http.put(m.N.url+"/ws/positions_masks/"+this.positionMaskId+"/deletePosition",{args:t.trim()},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.positionsMask.positions[this.lastId]="",this.notify.success(this.translate.instant("POSITIONS-MASKS.position_and_page_updated",{input:this.lastLabel}))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}deletePage(t){this.http.put(m.N.url+"/ws/positions_masks/"+this.positionMaskId+"/deletePage",{args:t.trim()},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.positionsMask.pages[this.lastId]=""}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}nextPage(){var t=this;return xa(function*(){t.currentPage1?(t.currentPage=t.currentPage-1,yield t.changeImage(t.currentPage,t.currentPage+1)):yield t.changeImage(t.documentImageNbPages,t.currentPage)})()}changeImage(t,i){var a=this;return xa(function*(){if(t){const l=a.documentImageName.split(".").pop(),h=("000"+i).substr(-3),E=("000"+t).substr(-3),B=a.documentImageName.replace(h+"."+l,E+"."+l);a.documentImageName=B;const oe=yield a.getThumb(B);a.documentImageSrc=a.sanitizer.bypassSecurityTrustUrl("data:image/jpeg;base64, "+oe.file),a.currentPage=t;for(const xe in a.availableFieldsParent)for(const Ve in a.availableFieldsParent[xe].values){const lt=a.availableFieldsParent[xe].values[Ve],Ft=a.positionsMask.positions[lt.id],ii=a.positionsMask.pages[lt.id];if(Ft){const fi=$(".input_"+lt.id),Wi=$(".background_"+lt.id),Fn=$(".outline_"+lt.id);fi.remove(),Wi.remove(),Fn.remove(),ii===a.currentPage&&a.drawPositionByField(lt,Ft)}}}})()}getThumb(t){var i=this;return xa(function*(){return yield i.http.post(m.N.url+"/ws/verifier/getThumb",{args:{type:"positions_masks",filename:t}},{headers:i.authService.headers}).toPromise()})()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Nt.gz),e.Y36(c.H7),e.Y36(zi.K),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(Al),e.Y36(kn.q),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["update-positions-mask"]],decls:62,vars:47,consts:[["cdkDropListGroup","",1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white","overflow-hidden"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],["mat-icon-button","",1,"absolute","right-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-xl","text-gray-900"],[1,"overflow-auto",2,"height","calc(100% - 64px)"],[1,"flex","justify-center","items-center","mt-5"],["mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300"],[1,"block",3,"click"],[1,"grid","grid-cols-3","gap-8","mt-6","ml-6","mr-6"],["matInput","","required","",3,"formControl"],[1,"right-0","w-full"],[1,"overflow-ellipsis","overflow-hidden","whitespace-nowrap","w-8/12"],["matInput","","type","text",3,"required","formControl","matAutocomplete"],["auto","matAutocomplete"],[3,"value","id",4,"ngFor","ngForOf"],[1,"block"],[3,"formControl","required"],[3,"value",4,"ngFor","ngForOf"],["class","cursor-pointer text-sm col-span-3 flex justify-center m-auto w-1/6 -mt-8",3,"click",4,"ngIf"],["id","document_image"],[1,"absolute","text-xl","left-6",2,"top","13.5rem"],[1,"image-container","px-4"],["id","document_image_src","alt","Open-Capture Verifier image",3,"src"],["mode","side","opened","","position","end",1,"available-fields","w-1/4","flex","flex-col","h-full","border-r","border-green-400"],["sidenav2",""],["class","relative","style","top: 40%",4,"ngIf"],["style","height: calc(100% - 64px)",4,"ngIf"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],[3,"value","id"],[3,"innerHTML"],[3,"value"],[1,"cursor-pointer","text-sm","col-span-3","flex","justify-center","m-auto","w-1/6","-mt-8",3,"click"],[1,"fa","fa-arrow-left","cursor-pointer",3,"click"],[1,"fa","fa-arrow-right","cursor-pointer",3,"click"],[3,"formControl","activeBorderColor","multiple","accept","displayFileSize","emptyPlaceholder","valueChanged"],[1,"relative",2,"top","40%"],[1,"text-center","overflow-hidden"],[1,"fa-solid","fa-circle-notch","fa-spin","fa-4x","w-full","text-gray-900",2,"--fa-animation-duration","1.5s"],[2,"height","calc(100% - 64px)"],[3,"label",4,"ngFor","ngForOf"],[3,"label"],[1,"min-w-full",2,"min-height","500px"],[4,"ngFor","ngForOf"],[1,"flex","flex-row","items-center","justify-between","m-5"],[1,"relative","-top-3",3,"id"],[1,"right-0","w-6/12"],["matInput","","type","text",3,"id","ngModel","focusin","click","ngModelChange","focusout"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,FP,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,NP,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16),e.qZA(),e._UZ(17,"hr",4),e.qZA(),e.TgZ(18,"button",13),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(55);return e.KtG(h.toggle())}),e._UZ(19,"i",14),e.qZA()(),e.TgZ(20,"div",15)(21,"div",16)(22,"button",17)(23,"span",18),e.NdJ("click",function(){return i.updatePositionsMask()}),e._uU(24),e.ALo(25,"translate"),e.qZA()()(),e.TgZ(26,"div",19)(27,"mat-form-field")(28,"mat-label"),e._uU(29),e.ALo(30,"translate"),e.qZA(),e._UZ(31,"input",20),e.qZA(),e.TgZ(32,"mat-form-field",21)(33,"mat-label",22),e._uU(34),e.ALo(35,"translate"),e.qZA(),e._UZ(36,"input",23),e.TgZ(37,"mat-autocomplete",null,24),e.YNc(39,BP,3,6,"mat-option",25),e.ALo(40,"async"),e.qZA()(),e.TgZ(41,"mat-form-field",26)(42,"mat-label"),e._uU(43),e.ALo(44,"translate"),e.qZA(),e.TgZ(45,"mat-select",27),e.YNc(46,UP,2,2,"mat-option",28),e.qZA()(),e.YNc(47,ZP,3,3,"span",29),e.qZA(),e.TgZ(48,"div",30)(49,"div",31),e.YNc(50,YP,6,8,"ng-container",8),e.qZA(),e.YNc(51,HP,3,10,"div",8),e.TgZ(52,"div",32),e._UZ(53,"img",33),e.qZA()()()(),e.TgZ(54,"mat-sidenav",34,35)(56,"h3",3),e._uU(57),e.ALo(58,"translate"),e.qZA(),e._UZ(59,"mat-divider",4),e.YNc(60,VP,3,0,"div",36),e.YNc(61,jP,2,1,"mat-tab-group",37),e.qZA()()}if(2&t){const a=e.MAs(2),l=e.MAs(38),h=e.MAs(55);e.xp6(4),e.Oqu(e.lcZ(5,33,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(3),e.ekj("transform",h.opened)("rotate-180",h.opened),e.xp6(5),e.Oqu(e.lcZ(25,35,"POSITIONS-MASKS.modify")),e.xp6(5),e.Oqu(e.lcZ(30,37,"POSITIONS-MASKS.label")),e.xp6(2),e.Q6J("formControl",i.form.label.control),e.xp6(3),e.hij(" ",e.lcZ(35,39,"POSITIONS-MASKS.supplier_name_associated")," "),e.xp6(2),e.Q6J("required",!0)("formControl",i.form.supplier_id.control)("matAutocomplete",l),e.xp6(3),e.Q6J("ngForOf",e.lcZ(40,41,i.filteredOptions)),e.xp6(4),e.hij(" ",e.lcZ(44,43,"POSITIONS-MASKS.form_associated")," "),e.xp6(2),e.Q6J("formControl",i.form.form_id.control)("required",!0),e.xp6(1),e.Q6J("ngForOf",i.forms),e.xp6(1),e.Q6J("ngIf",i.documentImageSrc),e.xp6(3),e.Q6J("ngIf",!i.loading&&i.documentImageSrc&&i.documentImageNbPages>1),e.xp6(1),e.Q6J("ngIf",!i.documentImageSrc),e.xp6(1),e.ekj("hidden",!i.imageDocument),e.xp6(1),e.Q6J("src",i.documentImageSrc,e.LSH),e.xp6(4),e.Oqu(e.lcZ(58,45,"FORMS.available_fields")),e.xp6(3),e.Q6J("ngIf",i.loadingFields),e.xp6(1),e.Q6J("ngIf",!i.loadingFields)}},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.KE,Rt.hX,Be.gD,b.ey,an.Nt,va.SP,va.uX,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.ib,Zt.yz,Zt.yK,de.XC,de.ZL,rn.Hk,Rn.d,A.Fj,A.JJ,A.Q7,A.oH,A.On,Ll,Xu,Cn.R,_e.Ov,$t.X$,Ic.S]}),n})();function qP(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",38)(1,"button",39),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",40),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function JP(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,qP,6,11,"div",37),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function $P(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",31)(1,"mat-expansion-panel-header",32)(2,"mat-panel-title",33),e._UZ(3,"i"),e.TgZ(4,"button",34),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",35),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,JP,2,7,"div",36),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function zP(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,$P,9,15,"mat-expansion-panel",30),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function QP(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",34),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",35),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function XP(n,o){if(1&n&&e.YNc(0,QP,5,11,"button",41),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function eR(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,zP,2,1,"div",28),e.YNc(2,XP,1,1,"ng-template",null,29,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function tR(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",24),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",25)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",26),e.YNc(6,eR,4,6,"div",27),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function iR(n,o){if(1&n&&(e.TgZ(0,"mat-option",20),e._uU(1),e.qZA()),2&n){const t=e.oxw().$implicit;e.Q6J("value",t.code),e.xp6(1),e.hij(" ",t.label," ")}}function nR(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,iR,2,2,"mat-option",42),e.qZA()),2&n){const t=o.$implicit,i=e.oxw();e.xp6(1),e.Q6J("ngIf","folder"===t.type&&t.formId===i.selectedFormId)}}function aR(n,o){1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"AUTH.field_required")))}function oR(n,o){if(1&n&&(e.TgZ(0,"mat-hint"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit;e.xp6(1),e.Oqu(t.hint)}}function rR(n,o){1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"AUTH.field_required")))}function sR(n,o){if(1&n&&(e.TgZ(0,"mat-form-field")(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",44),e.YNc(5,oR,2,1,"mat-hint",22),e.YNc(6,rR,3,3,"mat-error",22),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw();e.xp6(2),e.Oqu(e.lcZ(3,7,t.label)),e.xp6(2),e.Q6J("formControlName",t.id)("type",t.type)("placeholder",t.placeholder)("required",t.required),e.xp6(1),e.Q6J("ngIf",t.hint),e.xp6(1),e.Q6J("ngIf",i.form.get(t.id).hasError("required"))}}function lR(n,o){if(1&n&&(e.TgZ(0,"div",45)(1,"mat-slide-toggle",46),e._uU(2),e.ALo(3,"translate"),e.qZA()()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.Q6J("formControlName",t.id),e.xp6(1),e.hij(" ",e.lcZ(3,2,t.label)," ")}}function cR(n,o){if(1&n&&(e.ynx(0),e.YNc(1,sR,7,9,"mat-form-field",22),e.YNc(2,lR,4,4,"div",43),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","text"===t.type),e.xp6(1),e.Q6J("ngIf","slide"===t.type)}}const dR=function(){return{canFolderBeSelected:!1}};let uR=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve){this.http=t,this.router=i,this.route=a,this.formBuilder=l,this.authService=h,this.userService=E,this.translate=B,this.notify=oe,this.serviceSettings=xe,this.privilegesService=Ve,this.loading=!1,this.noMasterFolder="_NO_MASTER",this.fields=[{id:"key",type:"text",label:this.translate.instant("HEADER.id"),control:new A.NI,required:!0,disabled:!1},{id:"label",type:"text",label:this.translate.instant("HEADER.label"),control:new A.NI,required:!0,disabled:!1},{id:"isDefault",type:"slide",label:this.translate.instant("DOCTYPE.default_doctype"),control:new A.NI,required:!1,disabled:!0}]}ngOnInit(){this.serviceSettings.init(),this.form=this.toFormGroup()}toFormGroup(){const t={};return this.fields.forEach(i=>{t[i.id]=i.required?new A.NI({value:"",disabled:i.disabled},[A.kI.required]):new A.NI({value:"",disabled:i.disabled})}),t.folder=new A.NI(this.noMasterFolder,A.kI.required),new A.cw(t)}getLastFolderIndex(t){let i=0;return this.documentTypeFactoryComponent.treeDataObj.doctypeData.forEach(t!==this.noMasterFolder?a=>{if(a.code.startsWith(t)&&a.code.split(".").length===t.split(".").length+1){const l=Number(a.code.split(".").pop());i=l>i?l:i}}:a=>{if(2===a.code.split(".").length){const l=Number(a.code.split(".").pop());i=l>i?l:i}}),i+1}getSelectedForm(t){this.selectedFormId=t.formId}addFolder(){let t=this.form.getRawValue();const i=this.getLastFolderIndex(t.folder);t={key:t.key,code:t.folder!==this.noMasterFolder?t.folder+"."+i:"0."+i,label:t.label,is_default:!1,type:"folder",form_id:this.selectedFormId},this.loading=!0,this.http.post(m.N.url+"/ws/doctypes/add",t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("DOCTYPE.folder_added")),this.form.reset(),this.form.controls.folder.setValue(this.noMasterFolder),Object.keys(this.form.controls).forEach(a=>{this.form.controls[a].setErrors(null)}),this.selectedFormId&&this.documentTypeFactoryComponent.treeDataObj.loadTree(this.selectedFormId)}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(a=>(this.loading=!1,console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Ri.eN),e.Y36(Nt.F0),e.Y36(Nt.gz),e.Y36(A.qu),e.Y36(pi.e),e.Y36(zi.K),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-create-folder-doc-type"]],viewQuery:function(t,i){if(1&t&&e.Gf(Ei,7),2&t){let a;e.iGM(a=e.CRH())&&(i.documentTypeFactoryComponent=a.first)}},decls:42,vars:33,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[1,"settings_header","z-50"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],["mat-icon-button","",1,"absolute","right-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-xl","text-gray-900"],[3,"data","selectedFormOutput"],["mode","side","opened","","position","end",1,"available-fields","w-1/4","flex","flex-col","h-full","border-r","border-green-400"],["sidenav2",""],[3,"formGroup","ngSubmit"],[1,"grid","grid-cols-1","gap-x-2","gap-y-2","m-2"],["id","folder",3,"formControlName"],[3,"value"],[4,"ngFor","ngForOf"],[4,"ngIf"],["type","submit","mat-button","",1,"m-auto","w-7/12","border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-8","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],[3,"value",4,"ngIf"],["class","text-center p-4",4,"ngIf"],["matInput","",3,"formControlName","type","placeholder","required"],[1,"text-center","p-4"],[3,"formControlName"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,tR,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7)(10,"div",8)(11,"button",9),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(12,"i",10),e.qZA(),e.TgZ(13,"div",11)(14,"h3"),e._uU(15),e.qZA(),e._UZ(16,"hr",4),e.qZA(),e.TgZ(17,"button",12),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(21);return e.KtG(h.toggle())}),e._UZ(18,"i",13),e.qZA()(),e.TgZ(19,"app-document-type-factory",14),e.NdJ("selectedFormOutput",function(h){return i.getSelectedForm(h)}),e.qZA()(),e.TgZ(20,"mat-sidenav",15,16)(22,"h3",3),e._uU(23),e.ALo(24,"translate"),e.qZA(),e._UZ(25,"mat-divider",4),e.TgZ(26,"form",17),e.NdJ("ngSubmit",function(){return i.form.valid&&i.addFolder()}),e.TgZ(27,"div",18)(28,"mat-form-field")(29,"mat-label"),e._uU(30),e.ALo(31,"translate"),e.qZA(),e.TgZ(32,"mat-select",19)(33,"mat-option",20),e._uU(34),e.ALo(35,"translate"),e.qZA(),e.YNc(36,nR,2,1,"div",21),e.qZA(),e.YNc(37,aR,3,3,"mat-error",22),e.qZA(),e.YNc(38,cR,3,2,"ng-container",21),e.TgZ(39,"button",23),e._uU(40),e.ALo(41,"translate"),e.qZA()()()()()}if(2&t){const a=e.MAs(2),l=e.MAs(21);e.xp6(4),e.Oqu(e.lcZ(5,22,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(4),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(3),e.ekj("transform",l.opened)("rotate-180",l.opened),e.xp6(1),e.Q6J("data",e.DdM(32,dR)),e.xp6(4),e.Oqu(e.lcZ(24,24,"DOCTYPE.add_folder")),e.xp6(3),e.Q6J("formGroup",i.form),e.xp6(4),e.Oqu(e.lcZ(31,26,"DOCTYPE.folder")),e.xp6(2),e.Q6J("formControlName","folder"),e.xp6(1),e.Q6J("value",i.noMasterFolder),e.xp6(1),e.hij(" ",e.lcZ(35,28,"DOCTYPE.no_master")," "),e.xp6(2),e.Q6J("ngForOf",i.documentTypeFactoryComponent.treeDataObj.doctypeData),e.xp6(1),e.Q6J("ngIf",i.form.get("folder").hasError("required")),e.xp6(1),e.Q6J("ngForOf",i.fields),e.xp6(2),e.hij(" ",e.lcZ(41,30,"DOCTYPE.add")," ")}},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.TO,Rt.KE,Rt.bx,Rt.hX,Be.gD,b.ey,Va.Rr,an.Nt,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.ib,Zt.yz,Zt.yK,rn.Hk,Rn.d,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.sg,A.u,Ei,$t.X$]}),n})();function _R(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",30)(1,"button",31),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",32),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function pR(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,_R,6,11,"div",29),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function hR(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",23)(1,"mat-expansion-panel-header",24)(2,"mat-panel-title",25),e._UZ(3,"i"),e.TgZ(4,"button",26),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",27),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,pR,2,7,"div",28),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function mR(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,hR,9,15,"mat-expansion-panel",22),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function gR(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",26),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",27),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function fR(n,o){if(1&n&&e.YNc(0,gR,5,11,"button",33),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function CR(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,mR,2,1,"div",20),e.YNc(2,fR,1,1,"ng-template",null,21,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function vR(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",16),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",17)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",18),e.YNc(6,CR,4,6,"div",19),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function xR(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function bR(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",37)(1,"mat-slide-toggle",38),e.NdJ("change",function(){e.CHM(t);const a=e.oxw().$implicit,l=e.oxw();return e.KtG(l.changedDefaultMethod(a))}),e.TgZ(2,"span",39),e._uU(3),e.ALo(4,"translate"),e.qZA()()()}if(2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("checked",t.isDefaultChecked),e.xp6(2),e.hij(" ",e.lcZ(4,2,"LOGIN-METHODS.enable_method")," ")}}function yR(n,o){1&n&&(e._uU(0),e.ALo(1,"translate")),2&n&&e.hij(" ",e.lcZ(1,1,"LOGIN-METHODS.connection")," ")}function TR(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-option",60),e.NdJ("onSelectionChange",function(a){e.CHM(t);const l=e.oxw(2).$implicit,h=e.oxw(3);return e.KtG(h.updateTypeAd(a,l.id))}),e._uU(1),e.qZA()}if(2&n){const t=o.$implicit;e.Q6J("value",t),e.xp6(1),e.Oqu(t)}}function MR(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field",57)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",58),e.NdJ("valueChange",function(a){e.CHM(t);const l=e.oxw().$implicit;return e.KtG(l.control.value=a)}),e.YNc(5,TR,2,2,"mat-option",59),e.qZA()()}if(2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,4,t.label)),e.xp6(2),e.Q6J("value",t.control.value)("required",t.required),e.xp6(1),e.Q6J("ngForOf",t.values)}}function DR(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field",61)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",62),e.ALo(5,"translate"),e.TgZ(6,"mat-icon",63),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4);return e.KtG(a.showPassword=!a.showPassword)}),e._UZ(7,"i",64),e.qZA(),e.TgZ(8,"mat-hint"),e._uU(9),e.qZA()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(3);e.xp6(2),e.Oqu(e.lcZ(3,10,t.label)),e.xp6(2),e.s9C("placeholder",e.lcZ(5,12,t.label)),e.Q6J("formControl",t.control)("required",t.required)("type",i.showPassword?"text":"password"),e.xp6(3),e.ekj("fa-eye-slash",!i.showPassword)("fa-eye",i.showPassword),e.xp6(2),e.Oqu(t.hint)}}function ER(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",61)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",65),e.ALo(5,"translate"),e.TgZ(6,"mat-hint"),e._uU(7),e.qZA()()),2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,6,t.label)),e.xp6(2),e.s9C("placeholder",e.lcZ(5,8,t.label)),e.Q6J("formControl",t.control)("type",t.type)("required",t.required),e.xp6(3),e.Oqu(t.hint)}}function wR(n,o){if(1&n&&(e.ynx(0),e.YNc(1,MR,6,6,"mat-form-field",55),e.YNc(2,DR,10,14,"mat-form-field",56),e.YNc(3,ER,8,10,"mat-form-field",56),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","select"===t.type),e.xp6(1),e.Q6J("ngIf","password"===t.type),e.xp6(1),e.Q6J("ngIf","text"===t.type)}}function SR(n,o){1&n&&(e._uU(0),e.ALo(1,"translate")),2&n&&e.hij(" ",e.lcZ(1,1,"LOGIN-METHODS.synchronization")," ")}function AR(n,o){if(1&n&&(e.TgZ(0,"mat-option",67),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.Oqu(t.label)}}function LR(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field",57)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",58),e.NdJ("valueChange",function(a){e.CHM(t);const l=e.oxw().$implicit;return e.KtG(l.control.value=a)}),e.YNc(5,AR,2,2,"mat-option",66),e.qZA(),e.TgZ(6,"mat-hint"),e._uU(7),e.qZA()()}if(2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,5,t.label)),e.xp6(2),e.Q6J("value",t.control.value)("required",t.required),e.xp6(1),e.Q6J("ngForOf",t.values),e.xp6(2),e.Oqu(t.hint)}}function OR(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",61)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",68),e.ALo(5,"translate"),e.TgZ(6,"mat-hint"),e._uU(7),e.qZA()()),2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,6,t.label)),e.xp6(2),e.s9C("placeholder",e.lcZ(5,8,t.label)),e.Q6J("formControl",t.control)("required",t.required)("type",t.type),e.xp6(3),e.Oqu(t.hint)}}function kR(n,o){if(1&n&&(e.ynx(0),e.YNc(1,LR,8,7,"mat-form-field",55),e.YNc(2,OR,8,10,"mat-form-field",56),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","select"===t.type),e.xp6(1),e.Q6J("ngIf","text"===t.type)}}function IR(n,o){1&n&&(e._uU(0),e.ALo(1,"translate")),2&n&&e.hij(" ",e.lcZ(1,1,"LOGIN-METHODS.launching")," ")}function PR(n,o){1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"LOGIN-METHODS.launch")," "))}function RR(n,o){1&n&&e._UZ(0,"i",69)}function FR(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",37)(1,"mat-slide-toggle",38),e.NdJ("change",function(){e.CHM(t);const a=e.oxw().$implicit,l=e.oxw();return e.KtG(l.changedLdapMethod(a))}),e.TgZ(2,"span",39),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div")(6,"mat-stepper",40,41)(8,"mat-step")(9,"form",42),e.YNc(10,yR,2,3,"ng-template",43),e.YNc(11,wR,4,3,"ng-container",44),e.qZA(),e.TgZ(12,"div",45)(13,"button",46),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.checkLdapConnexion())}),e._uU(14),e.ALo(15,"translate"),e.qZA(),e.TgZ(16,"button",47),e._uU(17),e.ALo(18,"translate"),e.qZA()()(),e.TgZ(19,"mat-step"),e.YNc(20,SR,2,3,"ng-template",43),e.TgZ(21,"div",48),e.YNc(22,kR,3,2,"ng-container",44),e.qZA(),e.TgZ(23,"div",49)(24,"button",50),e._uU(25),e.ALo(26,"translate"),e.qZA(),e.TgZ(27,"button",51),e._uU(28),e.ALo(29,"translate"),e.qZA()()(),e.TgZ(30,"mat-step"),e.YNc(31,IR,2,3,"ng-template",43),e.TgZ(32,"p"),e._uU(33),e.ALo(34,"translate"),e.qZA(),e.TgZ(35,"div",52)(36,"button",50),e._uU(37),e.ALo(38,"translate"),e.qZA(),e.TgZ(39,"button",46),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.ldapSynchronization())}),e.YNc(40,PR,3,3,"span",8),e.YNc(41,RR,1,0,"i",53),e.qZA(),e.TgZ(42,"button",54),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.saveLoginMethodConfigs())}),e._uU(43),e.ALo(44,"translate"),e.qZA()()()()()()}if(2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("checked",t.isLdapChecked),e.xp6(2),e.hij(" ",e.lcZ(4,21,"LOGIN-METHODS.enable_method")," "),e.xp6(2),e.ekj("pointer-events-none",!t.isLdapChecked)("opacity-30",!t.isLdapChecked),e.xp6(1),e.Q6J("linear",t.isLinear),e.xp6(5),e.Q6J("ngForOf",t.connectionFormGroup),e.xp6(3),e.hij(" ",e.lcZ(15,23,"LOGIN-METHODS.test_connection")," "),e.xp6(3),e.hij(" ",e.lcZ(18,25,"LOGIN-METHODS.next")," "),e.xp6(5),e.Q6J("ngForOf",t.synchroparamsFormGroup),e.xp6(3),e.hij(" ",e.lcZ(26,27,"LOGIN-METHODS.return")," "),e.xp6(3),e.hij(" ",e.lcZ(29,29,"LOGIN-METHODS.next")," "),e.xp6(5),e.Oqu(e.lcZ(34,31,"LOGIN-METHODS.end_ldap_setup")),e.xp6(4),e.hij(" ",e.lcZ(38,33,"LOGIN-METHODS.return")," "),e.xp6(3),e.Q6J("ngIf",!t.isLaunchBtnDisabled),e.xp6(1),e.Q6J("ngIf",t.isLaunchBtnDisabled),e.xp6(1),e.ekj("cursor-not-allowed",t.isSaveBtnDisabled),e.Q6J("disabled",t.isSaveBtnDisabled),e.xp6(1),e.hij(" ",e.lcZ(44,35,"LOGIN-METHODS.register")," ")}}function NR(n,o){if(1&n&&(e.TgZ(0,"mat-tab",34),e.ALo(1,"translate"),e.TgZ(2,"div",35),e.YNc(3,bR,5,4,"div",36),e.YNc(4,FR,45,37,"div",36),e.qZA()()),2&n){const t=o.$implicit;e.Q6J("label",e.lcZ(1,3,"LOGIN-METHODS."+t.method_name)),e.xp6(3),e.Q6J("ngIf","default"===t.method_name),e.xp6(1),e.Q6J("ngIf","ldap"===t.method_name)}}let BR=(()=>{class n{constructor(t,i,a,l,h,E,B,oe){this.router=t,this.http=i,this.authService=a,this._formBuilder=l,this.translate=h,this.notify=E,this.serviceSettings=B,this.privilegesService=oe,this.loading=!0,this.isSaveBtnDisabled=!0,this.isLaunchBtnDisabled=!1,this.isLinear=!1,this.showPassword=!1,this.isLdapChecked=!1,this.isDefaultChecked=!1,this.connexionServerStatus=!1,this.synchroUsersStatus=!1,this.label=[(0,He.J)("LOGIN-METHODS.ldap"),(0,He.J)("LOGIN-METHODS.default")],this.loginMethods=[{login_method_name:"",enabled:""}],this.connectionFormGroup=[{id:"typeAD",label:this.translate.instant("LOGIN-METHODS.typeAD"),type:"select",control:new A.NI,values:["openLDAP","adLDAP"],required:!0},{id:"host",label:this.translate.instant("LOGIN-METHODS.host"),type:"text",control:new A.NI,required:!0,hint:"Ex : ldap://192.168.10.180"},{id:"port",label:this.translate.instant("LOGIN-METHODS.port"),type:"text",control:new A.NI,required:!0,hint:"Ex : 389"},{id:"loginAdmin",label:this.translate.instant("LOGIN-METHODS.login_admin"),type:"text",control:new A.NI,required:!0,hint:"Ex : admin"},{id:"passwordAdmin",label:this.translate.instant("LOGIN-METHODS.password_admin"),type:"password",control:new A.NI,required:!0},{id:"baseDN",label:this.translate.instant("LOGIN-METHODS.base_dn"),type:"text",control:new A.NI,required:!0,hint:"Ex : dc=edissyum,dc=com"},{id:"prefix",label:this.translate.instant("LOGIN-METHODS.prefix"),type:"text",values:[],control:new A.NI,required:!1,hint:"Ex : edissyum"},{id:"suffix",label:this.translate.instant("LOGIN-METHODS.suffix"),type:"text",values:[],control:new A.NI,required:!1,hint:"Ex : @domaine-edisslab.com"}],this.synchroparamsFormGroup=[{id:"attributSourceUser",label:this.translate.instant("LOGIN-METHODS.source_user_attribute"),type:"text",values:[],control:new A.NI,required:!0,hint:"Ex : uid"},{id:"classObject",label:this.translate.instant("LOGIN-METHODS.class_Object"),type:"text",control:new A.NI,required:!0,hint:"Ex : posixAccount"},{id:"classUser",label:this.translate.instant("LOGIN-METHODS.class_user"),type:"text",values:[],control:new A.NI,required:!0,hint:"Ex : objectClass"},{id:"attributFirstName",label:this.translate.instant("LOGIN-METHODS.first_name_attribute"),type:"text",control:new A.NI,required:!0,hint:"Ex : givenname"},{id:"attributLastName",label:this.translate.instant("LOGIN-METHODS.last_name_attribute"),type:"text",values:[],control:new A.NI,required:!0,hint:"Ex : sn"},{id:"usersDN",label:this.translate.instant("LOGIN-METHODS.usersDN"),type:"text",values:[],control:new A.NI,required:!0,hint:"Ex : cn=employes,ou=utilisateurs,dc=edissyum,dc=com"},{id:"attributRoleDefault",label:this.translate.instant("LOGIN-METHODS.role_default"),type:"select",values:[],control:new A.NI,required:!0,hint:"Ex : Utilisateur"}]}ngOnInit(){this.serviceSettings.init(),this.http.get(m.N.url+"/ws/auth/retrieveLoginMethodName").pipe((0,$e.b)(t=>{this.loginMethods=t.login_methods;for(const i of this.loginMethods)"default"===i.method_name&&(this.isDefaultChecked=!!i.enabled),"ldap"===i.method_name&&(this.isLdapChecked=!!i.enabled)}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/roles/list",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.synchroparamsFormGroup.forEach(i=>{"attributRoleDefault"===i.id&&(i.values=t.roles)}),this.http.get(m.N.url+"/ws/auth/retrieveLdapConfigurations",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{const a=i.ldap_configurations;this.connectionFormGroup.forEach(l=>{for(const h of a)"password"!==l.type&&l.control.setValue(h.data[l.id])}),this.synchroparamsFormGroup.forEach(l=>{for(const h of a)l.control.setValue(h.data[l.id])})}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}updateTypeAd(t,i){if(t.isUserInput){let a=!0;"typeAD"===i&&"adLDAP"===t.source.value&&(a=!1),this.connectionFormGroup.forEach(l=>{"baseDN"===l.id&&(l.required=a)})}}changedDefaultMethod(t){this.isDefaultChecked?this.isDefaultChecked&&this.disableLoginMethod(t):this.enableLoginMethod(t)}changedLdapMethod(t){this.isLdapChecked?this.isLdapChecked&&this.disableLoginMethod(t):this.isLdapChecked=!0}isValidConnexionForm(){let t=!0;return this.connectionFormGroup.forEach(i=>{"DISABLED"!==i.control.status&&"VALID"!==i.control.status&&(t=!1),i.control.markAsTouched()}),t}isValidSynchronizationForm(){let t=!0;return this.connectionFormGroup.forEach(i=>{"DISABLED"!==i.control.status&&"VALID"!==i.control.status&&(t=!1),i.control.markAsTouched()}),t}disableLoginMethod(t){this.http.post(m.N.url+"/ws/auth/disableLoginMethodName",t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{"default"===t.method_name&&(this.isDefaultChecked=!1),"ldap"===t.method_name&&(this.isLdapChecked=!1),this.notify.success(this.translate.instant("LOGIN-METHODS.login_method_disabled"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}enableLoginMethod(t){this.http.post(m.N.url+"/ws/auth/enableLoginMethodName",t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{"default"===t.method_name&&(this.isDefaultChecked=!0),this.notify.success(this.translate.instant("LOGIN-METHODS.login_method_enabled"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}checkLdapConnexion(){if(this.isValidConnexionForm()){const t={};this.connectionFormGroup.forEach(i=>{t[i.id]=i.control.value}),this.http.post(m.N.url+"/ws/auth/connectionLdap",t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.connexionServerStatus=!0,this.notify.success(this.translate.instant("LOGIN-METHODS.server_ldap_connection"))}),(0,Ke.K)(i=>(this.isSaveBtnDisabled=!0,this.connexionServerStatus=!1,console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}}ldapSynchronization(){if(this.isLaunchBtnDisabled=!0,this.isValidSynchronizationForm()&&this.isValidConnexionForm()){const t={};this.connectionFormGroup.forEach(i=>{t[i.id]=i.control.value}),this.synchroparamsFormGroup.forEach(i=>{t[i.id]=i.control.value}),this.http.post(m.N.url+"/ws/auth/ldapSynchronization",t,{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.isSaveBtnDisabled=!1,this.isLaunchBtnDisabled=!1,this.synchroUsersStatus=!0,this.notify.success(this.translate.instant("LOGIN-METHODS.result_synchronization_operation",{users_added:i.create_users,users_updated:i.update_users,users_disabled:i.disabled_users}))}),(0,Ke.K)(i=>(this.isSaveBtnDisabled=!0,this.isLaunchBtnDisabled=!1,this.synchroUsersStatus=!1,console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}}saveLoginMethodConfigs(){if(this.isValidSynchronizationForm()&&this.isValidConnexionForm()){if(this.connexionServerStatus&&this.synchroUsersStatus){const t={};this.connectionFormGroup.forEach(i=>{t[i.id]=i.control.value}),this.synchroparamsFormGroup.forEach(i=>{t[i.id]=i.control.value}),this.http.post(m.N.url+"/ws/auth/saveLoginMethodConfigs",t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.isLdapChecked=!0,this.notify.success(this.translate.instant("LOGIN-METHODS.save_ldap_infos_success"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}}else this.isSaveBtnDisabled=!0}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(pi.e),e.Y36(A.qu),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-login-methods"]],decls:22,vars:14,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],[3,"message"],[1,"login-methods-tab"],[3,"label",4,"ngFor","ngForOf"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],[3,"label"],[1,"list-container"],["class","text-center text-base mt-8",4,"ngIf"],[1,"text-center","text-base","mt-8"],[3,"checked","change"],[1,"justify-center"],["orientation","horizontal",3,"linear"],["stepper",""],[1,"grid","gap-x-8","gap-y-2","grid-cols-3","text-center"],["matStepLabel",""],[4,"ngFor","ngForOf"],[1,"mb-6","mt-4","grid","grid-cols-2","gap-4","h-12","text-gray-900"],["type","submit","mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300",3,"click"],["matStepperNext","","mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300"],[1,"grid","grid-cols-4","gap-x-4","gap-y-10","m-5"],[1,"mb-6","grid","grid-cols-2","gap-4","h-12","text-gray-900"],["matStepperPrevious","","mat-button","",1,"border-solid","border-red-400","border","hover:bg-red-400","hover:text-white","transition","duration-300"],["matStepperNext","","mat-button","",1,"border-solid","border-green-400","border","border-opacity-70","hover:bg-green-400","hover:bg-opacity-70","hover:text-white","transition","duration-300"],[1,"mb-6","grid","grid-cols-3","gap-4","h-12","text-gray-900"],["class","fa-solid text-2xl fa-circle-notch fa-spin text-gray-900","style","--fa-animation-duration: 1.5s;margin-top: -0.2rem;",4,"ngIf"],["mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","shover:text-white","transition","duration-300",3,"disabled","click"],["class","block",4,"ngIf"],["appearance","outline",4,"ngIf"],[1,"block"],[3,"value","required","valueChange"],[3,"value","onSelectionChange",4,"ngFor","ngForOf"],[3,"value","onSelectionChange"],["appearance","outline"],["matInput","",3,"formControl","placeholder","required","type"],["matSuffix","",1,"text-green-400","relative","cursor-pointer","-top-1.5","text-base",3,"click"],[1,"fa","fa-1x"],["matInput","",3,"formControl","type","required","placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["matInput","",3,"formControl","required","type","placeholder"],[1,"fa-solid","text-2xl","fa-circle-notch","fa-spin","text-gray-900",2,"--fa-animation-duration","1.5s","margin-top","-0.2rem"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,vR,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,xR,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16),e.qZA(),e._UZ(17,"hr",4),e.qZA()(),e._UZ(18,"app-hint",13),e.ALo(19,"translate"),e.TgZ(20,"mat-tab-group",14),e.YNc(21,NR,5,5,"mat-tab",15),e.qZA()()()}if(2&t){const a=e.MAs(2);e.xp6(4),e.Oqu(e.lcZ(5,10,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(2),e.Q6J("message",e.lcZ(19,12,"LOGIN-METHODS.limit_enabled_methods")),e.xp6(3),e.Q6J("ngForOf",i.loginMethods)}},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.KE,Rt.bx,Rt.hX,Rt.R9,Be.gD,b.ey,Va.Rr,an.Nt,va.SP,va.uX,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.ib,Zt.yz,Zt.yK,So,rn.Hk,Rn.d,Iu,Ou,H_,yc,Vf,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.oH,A.F,Cn.R,od.J,$t.X$],styles:[".mat-form-field[_ngcontent-%COMP%]{margin-top:16px} .mat-step-header .mat-step-icon-selected{--tw-bg-opacity: 1;background-color:rgb(151 191 61 / var(--tw-bg-opacity))} .login-methods-tab .mat-tab-header .mat-tab-label-container>.mat-tab-list>.mat-tab-labels>.mat-tab-label{width:50%}"]}),n})();function UR(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",43)(1,"button",44),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",45),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function ZR(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,UR,6,11,"div",42),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function YR(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",36)(1,"mat-expansion-panel-header",37)(2,"mat-panel-title",38),e._UZ(3,"i"),e.TgZ(4,"button",39),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",40),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,ZR,2,7,"div",41),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function HR(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,YR,9,15,"mat-expansion-panel",35),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function VR(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",39),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",40),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function GR(n,o){if(1&n&&e.YNc(0,VR,5,11,"button",46),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function KR(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,HR,2,1,"div",33),e.YNc(2,GR,1,1,"ng-template",null,34,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function jR(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",29),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",30)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",31),e.YNc(6,KR,4,6,"div",32),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function WR(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function qR(n,o){if(1&n&&(e.TgZ(0,"mat-option",47),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.Oqu(t.label)}}function JR(n,o){if(1&n&&(e.TgZ(0,"strong"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,t.label))}}function $R(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field",69)(1,"input",70),e.NdJ("focusout",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw(2);return e.KtG(h.updateLabel(a,l))}),e.ALo(2,"translate"),e.qZA()()}if(2&n){const t=e.oxw().$implicit;e.xp6(1),e.Q6J("value",e.lcZ(2,1,t.label))}}function zR(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"i",71),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().$implicit;return e.KtG(a.updateMode=!0)}),e.qZA()}}function QR(n,o){1&n&&e._UZ(0,"i",72)}function XR(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",63),e.YNc(1,JR,3,3,"strong",8),e.YNc(2,$R,3,3,"mat-form-field",64),e._uU(3," \xa0: "),e._UZ(4,"span",65),e.YNc(5,zR,1,0,"i",66),e.YNc(6,QR,1,0,"i",67),e.TgZ(7,"i",68),e.NdJ("click",function(){const a=e.CHM(t),l=a.$implicit,h=a.index,E=e.oxw(2);return e.KtG(E.removeLine(l.id,h))}),e.qZA()()}if(2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf",!t.updateMode),e.xp6(1),e.Q6J("ngIf",t.updateMode),e.xp6(3),e.Q6J("ngIf",!t.updateMode),e.xp6(1),e.Q6J("ngIf",t.updateMode)}}function e4(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",48)(1,"mat-card",49)(2,"label",50),e._UZ(3,"input",51),e.qZA(),e.TgZ(4,"div",52)(5,"mat-icon",53),e._uU(6,"more_vert"),e.qZA()(),e._UZ(7,"div",54),e.TgZ(8,"mat-card-header",55)(9,"mat-card-title",56)(10,"span",57),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.TgZ(13,"span",58),e._uU(14," 0 "),e._UZ(15,"i",59),e.qZA()(),e.TgZ(16,"mat-card-subtitle",60)(17,"div",61),e.NdJ("cdkDropListDropped",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.drop_card(a))}),e.YNc(18,XR,8,4,"div",62),e.qZA()()()()()}if(2&n){const t=e.oxw();e.xp6(3),e.Q6J("disabled",!0),e.xp6(8),e.hij(" ",e.lcZ(12,5,"ACCOUNTS.supplier_name")," "),e.xp6(2),e.Q6J("matTooltip",t.translate.instant("VERIFIER.nb_pages")+" : "),e.xp6(4),e.Q6J("cdkDropListData",t.currentForm.settings.display.subtitles),e.xp6(1),e.Q6J("ngForOf",t.currentForm.settings.display.subtitles)}}function t4(n,o){1&n&&(e.TgZ(0,"div",73)(1,"div",74),e._UZ(2,"i",75),e.TgZ(3,"span",76),e._uU(4),e.ALo(5,"translate"),e.qZA()()()),2&n&&(e.xp6(4),e.hij(" ",e.lcZ(5,1,"OUTPUT.loading_custom_fields")," "))}function n4(n,o){if(1&n&&(e.TgZ(0,"div",79)(1,"span",80),e._uU(2),e.ALo(3,"translate"),e.qZA()()),2&n){const t=o.$implicit;e.xp6(2),e.hij(" ",e.lcZ(3,1,t.label)," ")}}function a4(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",77),e.NdJ("cdkDropListDropped",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.drop(a))}),e.YNc(1,n4,4,3,"div",78),e.qZA()}if(2&n){const t=e.oxw();e.Q6J("cdkDropListData",t.availableFieldsTmp),e.xp6(1),e.Q6J("ngForOf",t.availableFieldsTmp)}}let o4=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt){this.router=t,this.http=i,this.route=a,this.userService=l,this.formBuilder=h,this.authService=E,this.translate=B,this.notify=oe,this.historyService=xe,this.serviceSettings=Ve,this.privilegesService=lt,this.loading=!0,this.loadingCustomFields=!0,this.formLoaded=!1,this.forms=[],this.availableFieldsTmp=[],this.currentForm={},this.formInput={control:new A.NI,values:[]},this.availableFields=[{id:"invoice_id",label:(0,He.J)("VERIFIER.document_id")},{id:"invoice_number",label:"FACTURATION.invoice_number"},{id:"quotation_number",label:"FACTURATION.quotation_number"},{id:"document_date",label:(0,He.J)("FACTURATION.document_date")},{id:"date",label:(0,He.J)("VERIFIER.register_date")},{id:"delivery_number",label:"FACTURATION.delivery_number"},{id:"form_label",label:(0,He.J)("VERIFIER.form")},{id:"original_filename",label:(0,He.J)("VERIFIER.original_file")}]}ngOnInit(){this.serviceSettings.init(),this.http.get(m.N.url+"/ws/customFields/list?module=verifier",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.customFields.forEach(i=>{this.availableFields.push({id:"custom_"+i.id,label:i.label})}),this.availableFields.forEach(i=>{this.availableFieldsTmp.push(i)})}),(0,Di.x)(()=>this.loadingCustomFields=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/forms/list?module=verifier",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.forms=t.forms,this.formInput.values=t.forms}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}loadDisplay(t){this.loading=!0,this.availableFieldsTmp=[],this.availableFields.forEach(a=>{this.availableFieldsTmp.push(a)});const i=t.value;this.forms.forEach(a=>{a.id===i&&(this.formLoaded=!0,this.currentForm=a,this.currentForm.settings.display&&this.currentForm.settings.display.subtitles.forEach(l=>{this.availableFieldsTmp.forEach((h,E,B)=>{l.id===h.id&&B.splice(E,1)})}))}),this.loading=!1}updateLabel(t,i){i.label=t.target.value,i.updateMode=!1}updateDisplay(){this.currentForm.settings.display.subtitles.forEach(t=>{delete t.updateMode}),this.http.put(m.N.url+"/ws/forms/updateDisplay/"+this.currentForm.id,this.currentForm.settings.display,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.historyService.addHistory("verifier","update_form_display",this.translate.instant("HISTORY-DESC.update_form_display",{form:this.currentForm.label})),this.notify.success(this.translate.instant("FORMS.display_updated_success"))}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}removeLine(t,i){this.currentForm.settings.display.subtitles.forEach(a=>{t===a.id&&(this.currentForm.settings.display.subtitles.splice(i,1),this.loadDisplay({value:this.currentForm.id}))})}drop_card(t){t.previousContainer===t.container?Hs(t.container.data,t.previousIndex,t.currentIndex):vr(t.previousContainer.data,t.container.data,t.previousIndex,t.currentIndex)}drop(t){t.previousContainer===t.container?Hs(t.container.data,t.previousIndex,t.currentIndex):vr(t.previousContainer.data,t.container.data,t.previousIndex,t.currentIndex)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Nt.gz),e.Y36(zi.K),e.Y36(A.qu),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-display-list"]],decls:44,vars:32,consts:[["cdkDropListGroup","",1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white","overflow-hidden"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],["mat-icon-button","",1,"absolute","right-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-xl","text-gray-900"],[1,"overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 64px)"],[3,"message"],[1,"w-1/3","m-auto","mt-4"],[1,"block"],[3,"formControl","selectionChange"],[3,"value",4,"ngFor","ngForOf"],["class","m-auto mt-8 w-1/2 xl:w-1/3",4,"ngIf"],[1,"flex","justify-center","items-center","mt-8"],["mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300",3,"disabled"],[1,"block",3,"click"],["mode","side","opened","","position","end",1,"available-fields","w-1/4","flex","flex-col","h-full","border-r","border-green-400"],["sidenav2",""],["class","flex text-gray-400 object-contain","style","height: calc(100% - 8rem)",4,"ngIf"],["class","overflow-x-hidden overflow-y-auto","style","height: calc(100% - 64px)","cdkDropList","",3,"cdkDropListData","cdkDropListDropped",4,"ngIf"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],[3,"value"],[1,"m-auto","mt-8","w-1/2","xl:w-1/3"],[1,"p-0","mb-0"],[1,"p-5","absolute"],["type","checkbox",1,"accent-green-400","checkBox_list",3,"disabled"],[1,"absolute","right-0","p-5"],[1,"field_settings","text-md"],[1,"h-64","bg-gradient-to-br","from-green-400","to-gray-600"],[1,"leading-6","relative","z-10","bg-white","pt-4","pl-4","pr-4"],[1,"break-all"],[1,"leading-5","text-lg"],[1,"absolute","right-6","text-green-400","text-base","badge","badge-secondary","badge-pill",3,"matTooltip"],[1,"far","fa-file-alt","ml-1"],[1,"subtitles","mt-2","mb-2"],["cdkDropList","",3,"cdkDropListData","cdkDropListDropped"],["cdkDrag","","class","cursor-move mt-1 flex align-center items-center",4,"ngFor","ngForOf"],["cdkDrag","",1,"cursor-move","mt-1","flex","align-center","items-center"],["appearance","outline",4,"ngIf"],[1,"ml-2","w-4/12","h-3","bg-gradient-to-br","from-green-400","to-gray-600"],["class","fa-solid fa-edit cursor-pointer absolute right-6 mt-0.5",3,"click",4,"ngIf"],["class","fa-solid fa-check cursor-pointer absolute right-6 mt-0.5",4,"ngIf"],[1,"fa-solid","fa-trash","text-red-500","cursor-pointer","absolute","right-2","mt-1",3,"click"],["appearance","outline"],["matInput","",1,"relative","-top-2.5",3,"value","focusout"],[1,"fa-solid","fa-edit","cursor-pointer","absolute","right-6","mt-0.5",3,"click"],[1,"fa-solid","fa-check","cursor-pointer","absolute","right-6","mt-0.5"],[1,"flex","text-gray-400","object-contain",2,"height","calc(100% - 8rem)"],[1,"m-auto","text-center"],[1,"fa-solid","fa-code","fa-4x","fa-beat-fade","w-full","mb-2",2,"--fa-animation-duration","1.5s"],[1,"w-full"],["cdkDropList","",1,"overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 64px)",3,"cdkDropListData","cdkDropListDropped"],["class","my-8 ml-2 text-base","cdkDrag","",4,"ngFor","ngForOf"],["cdkDrag","",1,"my-8","ml-2","text-base"],[1,"cursor-move"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,jR,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,WR,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16),e.qZA(),e._UZ(17,"hr",4),e.qZA(),e.TgZ(18,"button",13),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(37);return e.KtG(h.toggle())}),e._UZ(19,"i",14),e.qZA()(),e.TgZ(20,"div",15),e._UZ(21,"app-hint",16),e.ALo(22,"translate"),e.TgZ(23,"div",17)(24,"mat-form-field",18)(25,"mat-label"),e._uU(26),e.ALo(27,"translate"),e.qZA(),e.TgZ(28,"mat-select",19),e.NdJ("selectionChange",function(h){return i.loadDisplay(h)}),e.YNc(29,qR,2,2,"mat-option",20),e.qZA()()(),e.YNc(30,e4,19,7,"div",21),e.TgZ(31,"div",22)(32,"button",23)(33,"span",24),e.NdJ("click",function(){return i.updateDisplay()}),e._uU(34),e.ALo(35,"translate"),e.qZA()()()()(),e.TgZ(36,"mat-sidenav",25,26)(38,"h3",3),e._uU(39),e.ALo(40,"translate"),e.qZA(),e._UZ(41,"mat-divider",4),e.YNc(42,t4,6,3,"div",27),e.YNc(43,a4,2,2,"div",28),e.qZA()()}if(2&t){const a=e.MAs(2),l=e.MAs(37);e.xp6(4),e.Oqu(e.lcZ(5,22,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(3),e.ekj("transform",l.opened)("rotate-180",l.opened),e.xp6(2),e.Q6J("message",e.lcZ(22,24,"FORMS.display_hint")),e.xp6(5),e.Oqu(e.lcZ(27,26,"FORMS.choose_form")),e.xp6(2),e.Q6J("formControl",i.formInput.control),e.xp6(1),e.Q6J("ngForOf",i.formInput.values),e.xp6(1),e.Q6J("ngIf",i.formLoaded),e.xp6(2),e.Q6J("disabled",!i.formLoaded),e.xp6(2),e.Oqu(e.lcZ(35,28,"FORMS.modify_display")),e.xp6(5),e.hij(" ",e.lcZ(40,30,"FORMS.available_fields")," "),e.xp6(3),e.Q6J("ngIf",i.loadingCustomFields),e.xp6(1),e.Q6J("ngIf",!i.loadingCustomFields)}},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.KE,Rt.hX,Be.gD,b.ey,an.Nt,Xn,Vt.JX,Vt.TM,Vt.Rh,Y.lW,ot,qt,We,Ie,Zt.ib,Zt.yz,Zt.yK,So,rn.Hk,Rn.d,A.JJ,A.oH,e_,Xu,ld,Cn.R,od.J,$t.X$],styles:[".cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-preview[_ngcontent-%COMP%] > i[_ngcontent-%COMP%], .cdk-drop-list-dragging[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{display:none}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1)} .mat-card-header-text{width:100%} .subtitles .mat-form-field-wrapper{padding-top:.5rem;padding-bottom:.5rem} .subtitles .mat-form-field-wrapper .mat-form-field-infix{max-height:1vh!important} .subtitles .mat-form-field-wrapper .mat-form-field-infix .mat-select-value{position:relative;top:-.125rem}"]}),n})();function r4(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",28)(1,"button",29),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",30),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function s4(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,r4,6,11,"div",27),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function l4(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",21)(1,"mat-expansion-panel-header",22)(2,"mat-panel-title",23),e._UZ(3,"i"),e.TgZ(4,"button",24),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",25),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,s4,2,7,"div",26),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function c4(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,l4,9,15,"mat-expansion-panel",20),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function d4(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",24),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",25),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function u4(n,o){if(1&n&&e.YNc(0,d4,5,11,"button",31),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function _4(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,c4,2,1,"div",18),e.YNc(2,u4,1,1,"ng-template",null,19,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function p4(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",14),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",15)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",16),e.YNc(6,_4,4,6,"div",17),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function h4(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function m4(n,o){if(1&n&&(e.TgZ(0,"mat-option",45),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.Oqu(t.lastname+" "+t.firstname)}}function g4(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",32),e._UZ(1,"app-hint",33),e.ALo(2,"translate"),e._UZ(3,"hr",34),e.TgZ(4,"div",35)(5,"mat-checkbox",36),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.quotaEnabled=a)}),e.ALo(6,"translate"),e._uU(7),e.ALo(8,"translate"),e.qZA()(),e.TgZ(9,"div",37)(10,"mat-form-field",38)(11,"mat-label"),e._uU(12),e.ALo(13,"translate"),e.qZA(),e.TgZ(14,"input",39),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.quotaNumber=a)}),e.qZA()(),e.TgZ(15,"mat-form-field",38)(16,"mat-label"),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.TgZ(19,"mat-select",40),e.YNc(20,m4,2,2,"mat-option",41),e.qZA()(),e.TgZ(21,"mat-form-field",38)(22,"mat-label"),e._uU(23),e.ALo(24,"translate"),e.qZA(),e._UZ(25,"input",42),e.qZA()(),e.TgZ(26,"div",43)(27,"button",44),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.updateQuotaNumber())}),e._uU(28),e.ALo(29,"translate"),e.qZA()()()}if(2&n){const t=e.oxw();e.xp6(1),e.Q6J("message",e.lcZ(2,14,"USER-QUOTA.description")),e.xp6(4),e.s9C("matTooltip",e.lcZ(6,16,"USER-QUOTA.enabled")),e.Q6J("ngModel",t.quotaEnabled),e.xp6(2),e.hij(" ",e.lcZ(8,18,"USER-QUOTA.enabled")," "),e.xp6(5),e.Oqu(e.lcZ(13,20,"USER-QUOTA.quota_number")),e.xp6(2),e.Q6J("ngModel",t.quotaNumber),e.xp6(3),e.Oqu(e.lcZ(18,22,"USER-QUOTA.filtered_users")),e.xp6(2),e.Q6J("formControl",t.usersControlSelect)("multiple",!0)("value",t.quotaUsersfiltered),e.xp6(1),e.Q6J("ngForOf",t.usersList),e.xp6(3),e.Oqu(e.lcZ(24,24,"USER-QUOTA.email_dest")),e.xp6(2),e.Q6J("formControl",t.quotaEmailDestControl),e.xp6(3),e.hij(" ",e.lcZ(29,26,"USER-QUOTA.update")," ")}}const f4=[{path:"settings",component:A1,data:{title:"GLOBAL.settings",privileges:["settings"]},canActivate:[en,sn]},{path:"settings/general/configurations",component:eL,data:{title:"SETTINGS.configurations",privileges:["settings","configurations"]},canActivate:[en,sn]},{path:"settings/general/docservers",component:OL,data:{title:"SETTINGS.docservers",privileges:["settings","docservers"]},canActivate:[en,sn]},{path:"settings/general/regex",component:rO,data:{title:"SETTINGS.regex",privileges:["settings","regex"]},canActivate:[en,sn]},{path:"settings/general/mailcollect",component:p6,data:{title:"SETTINGS.mailcollect",privileges:["settings","mailcollect"]},canActivate:[en,sn]},{path:"settings/general/user-quota",component:(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt,Ft){this.router=t,this.http=i,this.dialog=a,this.route=l,this.userService=h,this.formBuilder=E,this.authService=B,this.translate=oe,this.notify=xe,this.historyService=Ve,this.serviceSettings=lt,this.privilegesService=Ft,this.headers=this.authService.headers,this.loading=!0,this.quotaNumber=0,this.quotaEnabled=!1,this.quotaUsersfiltered=[],this.usersControlSelect=new A.NI,this.quotaEmailDestControl=new A.NI("",A.kI.pattern("^[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$")),this.usersList=[],this.userQuotaConfigId=0}ngOnInit(){this.serviceSettings.init(),this.http.get(m.N.url+"/ws/users/list",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.usersList=t.users,this.http.get(m.N.url+"/ws/config/getConfiguration/userQuota",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.userQuotaConfigId=i.configuration[0].id,1===i.configuration.length&&(this.quotaEnabled=i.configuration[0].data.value.enabled,this.quotaNumber=i.configuration[0].data.value.quota,this.quotaEmailDestControl.setValue(i.configuration[0].data.value.email_dest),i.configuration[0].data.value.users_filtered.forEach(a=>{this.usersList.forEach(l=>{l.username===a.trim()&&this.quotaUsersfiltered.push(l.id)}),this.usersControlSelect.setValue(this.quotaUsersfiltered)}))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}),(0,Di.x)(()=>{this.loading=!1}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}updateQuotaNumber(){this.loading=!0;const t={value:{enabled:this.quotaEnabled,quota:this.quotaNumber,users_filtered:[],email_dest:this.quotaEmailDestControl.value}};this.usersControlSelect.value.forEach(i=>{this.usersList.forEach(a=>{a.id===i&&t.value.users_filtered.push(a.username)})}),this.http.put(m.N.url+"/ws/config/updateConfiguration/"+this.userQuotaConfigId,{data:t},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("USER-QUOTA.updated")),this.historyService.addHistory("general","mailcollect",this.translate.instant("HISTORY-DESC.user_quota_updated"))}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Ui),e.Y36(Nt.gz),e.Y36(zi.K),e.Y36(A.qu),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-user-quota"]],decls:18,vars:11,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"text-center"],["class","w-full overflow-auto","style","height: calc(100% - 64px)",4,"ngIf"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],[1,"w-full","overflow-auto",2,"height","calc(100% - 64px)"],[3,"message"],[1,"border-green-400","w-1/3","mx-auto","my-4"],[1,"w-1/3","mx-auto","my-10","text-center"],[3,"ngModel","matTooltip","ngModelChange"],[1,"flex","justify-center","items-center","align-middle"],[1,"block","p-4","w-1/3"],["matInput","","type","number",3,"ngModel","ngModelChange"],[3,"formControl","multiple","value"],[3,"value",4,"ngFor","ngForOf"],["matInput","","type","text",3,"formControl"],[1,"flex","justify-center","m-6"],["type","submit","mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300",3,"click"],[3,"value"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,p4,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,h4,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"h3",12),e._uU(15),e.qZA(),e._UZ(16,"hr",4),e.qZA(),e.YNc(17,g4,30,28,"div",13),e.qZA()()}if(2&t){const a=e.MAs(2);e.xp6(4),e.Oqu(e.lcZ(5,9,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(2),e.Oqu(i.serviceSettings.getTitle()),e.xp6(2),e.Q6J("ngIf",!i.loading)}},dependencies:[_e.sg,_e.O5,Nt.rH,Sa,Rt.KE,Rt.hX,Be.gD,b.ey,an.Nt,Xn,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.ib,Zt.yz,Zt.yK,rn.Hk,Rn.d,A.Fj,A.wV,A.JJ,A.oH,A.On,Cn.R,od.J,$t.X$],styles:[".mat-option[_ngcontent-%COMP%]{background:transparent!important} .mat-pseudo-checkbox-checked{--tw-bg-opacity: 1 !important;background-color:rgb(151 191 61 / var(--tw-bg-opacity))!important}"]}),n})(),data:{title:"SETTINGS.user_quota",privileges:["settings","user_quota"]},canActivate:[en,sn]},{path:"settings/general/users",component:Si,data:{title:"SETTINGS.users_list",privileges:["settings","users_list"]},canActivate:[en,sn]},{path:"settings/general/users/new",component:$M,data:{title:"USER.create_user",privileges:["settings","add_user"]},canActivate:[en,sn]},{path:"settings/general/users/update/:id",component:gD,data:{title:"USER.update",privileges:["settings","update_user"]},canActivate:[en,sn]},{path:"settings/general/roles",component:iM,data:{title:"SETTINGS.roles_list",privileges:["settings","roles_list"]},canActivate:[en,sn]},{path:"settings/general/roles/new",component:kD,data:{title:"ROLE.create_role",privileges:["settings","add_role"]},canActivate:[en,sn]},{path:"settings/general/roles/update/:id",component:zD,data:{title:"ROLE.update",privileges:["settings","update_role"]},canActivate:[en,sn]},{path:"settings/general/login-methods",component:BR,data:{title:"SETTINGS.login_methods",privileges:["settings","login_methods"]},canActivate:[en,sn]},{path:"settings/general/about-us",component:d2,data:{title:"SETTINGS.abouts_us",privileges:["settings"]},canActivate:[en,sn]},{path:"settings/general/custom-fields",component:$A,data:{title:"SETTINGS.custom_fields",privileges:["settings","custom_fields"]},canActivate:[en,sn]},{path:"settings/verifier/display",component:o4,data:{title:"SETTINGS.verifier_display",privileges:["settings","verifier_display"]},canActivate:[en,sn]},{path:"settings/verifier/forms",component:vT,data:{title:"SETTINGS.list_forms",privileges:["settings","forms_list"]},canActivate:[en,sn]},{path:"settings/verifier/forms/builder/new",component:FT,data:{title:"SETTINGS.form_builder",privileges:["settings","add_form"]},canActivate:[en,sn]},{path:"settings/verifier/forms/builder/edit/:id",component:FT,data:{title:"SETTINGS.form_update",privileges:["settings","update_form"]},canActivate:[en,sn]},{path:"settings/verifier/outputs",component:Xw,data:{title:"FORMS.output_settings",privileges:["settings","outputs_list"]},canActivate:[en,sn]},{path:"settings/verifier/outputs/new",component:I6,data:{title:"SETTINGS.add_output",privileges:["settings","add_output"]},canActivate:[en,sn]},{path:"settings/verifier/outputs/update/:id",component:Ic.v,data:{title:"SETTINGS.update_output",privileges:["settings","update_output"]},canActivate:[en,sn]},{path:"settings/verifier/inputs",component:xE,data:{title:"FORMS.input_settings",privileges:["settings","inputs_list"]},canActivate:[en,sn]},{path:"settings/verifier/inputs/new",component:lA,data:{title:"SETTINGS.add_input",privileges:["settings","add_input"]},canActivate:[en,sn]},{path:"settings/verifier/inputs/update/:id",component:vS,data:{title:"SETTINGS.update_input",privileges:["settings","update_input"]},canActivate:[en,sn]},{path:"settings/verifier/positions-mask",component:mP,data:{title:"SETTINGS.list_positions_mask",privileges:["settings","positions_mask_list"]},canActivate:[en,sn]},{path:"settings/verifier/positions-mask/create",component:SP,data:{title:"SETTINGS.positions_mask_builder",privileges:["settings","add_positions_mask"]},canActivate:[en,sn]},{path:"settings/verifier/positions-mask/update/:id",component:WP,data:{title:"SETTINGS.positions_mask_update",privileges:["settings","update_positions_mask"]},canActivate:[en,sn]},{path:"settings/splitter/forms",component:OM,data:{title:"SETTINGS.list_forms",privileges:["settings","forms_list_splitter"]},canActivate:[en,sn]},{path:"settings/splitter/forms/builder/new",component:NT,data:{title:"SETTINGS.form_builder",privileges:["settings","add_form_splitter"]},canActivate:[en,sn]},{path:"settings/splitter/forms/builder/edit/:id",component:NT,data:{title:"SETTINGS.form_update",privileges:["settings","update_form_splitter"]},canActivate:[en,sn]},{path:"settings/splitter/separator",component:M_,data:{title:"SETTINGS.document_separator",privileges:["settings","separator_splitter"]},canActivate:[en,sn]},{path:"settings/splitter/document-type",component:TA,data:{title:"SETTINGS.document_type",privileges:["settings","document_type_splitter"]},canActivate:[en,sn]},{path:"settings/splitter/document-type/new",component:vI,data:{title:"SETTINGS.document_type",privileges:["settings","add_document_type"]},canActivate:[en,sn]},{path:"settings/splitter/document-type/create-folder",component:uR,data:{title:"SETTINGS.document_type",privileges:["settings","add_document_type"]},canActivate:[en,sn]},{path:"settings/splitter/outputs",component:C3,data:{title:"FORMS.output_settings",privileges:["settings","outputs_list_splitter"]},canActivate:[en,sn]},{path:"settings/splitter/outputs/new",component:ZI,data:{title:"SETTINGS.add_output",privileges:["settings","add_output_splitter"]},canActivate:[en,sn]},{path:"settings/splitter/outputs/update/:id",component:xI.D,data:{title:"SETTINGS.update_output",privileges:["settings","update_output_splitter"]},canActivate:[en,sn]},{path:"settings/splitter/inputs",component:HS,data:{title:"FORMS.input_settings",privileges:["settings","inputs_list_splitter"]},canActivate:[en,sn]},{path:"settings/splitter/inputs/new",component:Fk,data:{title:"SETTINGS.add_input",privileges:["settings","add_input_splitter"]},canActivate:[en,sn]},{path:"settings/splitter/inputs/update/:id",component:tI,data:{title:"SETTINGS.update_input",privileges:["settings","update_input_splitter"]},canActivate:[en,sn]}];let C4=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[Nt.Bz.forRoot(f4,{useHash:!0}),Nt.Bz]}),n})();function v4(n,o){1&n&&(e.TgZ(0,"div",9),e._UZ(1,"i",10),e.TgZ(2,"span",11),e._uU(3),e.ALo(4,"translate"),e.qZA()()),2&n&&(e.xp6(3),e.Oqu(e.lcZ(4,1,"GLOBAL.loading")))}function x4(n,o){1&n&&(e.TgZ(0,"div",9),e._UZ(1,"i",12),e.TgZ(2,"span",11),e._uU(3),e.ALo(4,"translate"),e.qZA()()),2&n&&(e.xp6(3),e.Oqu(e.lcZ(4,1,"GLOBAL.no_task_to_show")))}function b4(n,o){1&n&&e._UZ(0,"i",21)}function y4(n,o){if(1&n&&(e._UZ(0,"i",22),e.ALo(1,"translate")),2&n){const t=e.oxw().$implicit;e.hYB("matTooltip","",e.lcZ(1,2,"GLOBAL.task_error")," : ",t.error,"")}}function T4(n,o){if(1&n&&(e._UZ(0,"i",23),e.ALo(1,"translate")),2&n){const t=e.oxw().$implicit;e.hYB("matTooltip","",e.lcZ(1,2,"GLOBAL.end_time")," ",t.endTime,"")}}function M4(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",13),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw(2);return e.KtG(h.showError(l.error))}),e.TgZ(1,"span",14),e._uU(2),e.qZA(),e.TgZ(3,"span",15),e._uU(4),e.qZA(),e.TgZ(5,"span",16),e.ALo(6,"translate"),e._uU(7),e.qZA(),e.TgZ(8,"span",17),e.YNc(9,b4,1,0,"i",18),e.YNc(10,y4,2,4,"i",19),e.YNc(11,T4,2,4,"i",20),e.qZA()()}if(2&n){const t=o.$implicit;e.ekj("cursor-pointer",t.error),e.xp6(2),e.hij(" ",t.id," "),e.xp6(2),e.hij(" ",t.fileName," "),e.xp6(1),e.hYB("matTooltip","",e.lcZ(6,10,"GLOBAL.add_time")," ",t.beginTime,""),e.xp6(2),e.hij(" ",t.age," "),e.xp6(2),e.Q6J("ngIf","in_progress"===t.status),e.xp6(1),e.Q6J("ngIf","error"===t.status),e.xp6(1),e.Q6J("ngIf","done"===t.status)}}function D4(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-card",2)(1,"mat-card-title",3),e._uU(2),e.ALo(3,"translate"),e.TgZ(4,"span",4),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.changeDisplayMode(!a.minimizeDisplay))}),e.ALo(5,"translate"),e._UZ(6,"i",5),e.qZA()(),e.TgZ(7,"div",6),e.YNc(8,v4,5,3,"div",7),e.YNc(9,x4,5,3,"div",7),e.YNc(10,M4,12,12,"div",8),e.qZA()()}if(2&n){const t=e.oxw();e.xp6(2),e.hij(" ",e.lcZ(3,9,"GLOBAL.current_tasks")," "),e.xp6(2),e.s9C("matTooltip",e.lcZ(5,11,"GLOBAL.minimize")),e.xp6(3),e.ekj("overflow-hidden",0===t.tasks.length&&!t.isFirstCallDone)("overflow-y-auto",0!==t.tasks.length&&t.isFirstCallDone),e.xp6(1),e.Q6J("ngIf",0===t.tasks.length&&!t.isFirstCallDone),e.xp6(1),e.Q6J("ngIf",0===t.tasks.length&&!t.getTaskRunning&&t.isFirstCallDone),e.xp6(1),e.Q6J("ngForOf",t.tasks)}}function E4(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",24),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.changeDisplayMode(!a.minimizeDisplay))}),e.TgZ(1,"span",25),e._UZ(2,"i",26),e.qZA()()}}let w4=(()=>{class n{constructor(t,i,a,l,h,E){this.router=t,this.http=i,this.authService=a,this.translate=l,this.notify=h,this.localStorageService=E,this.minimizeDisplay=!1,this.isFirstCallDone=!1,this.getTaskRunning=!1,this.tasks=[],this.displayedTasksData=[],this.authorizedUrl=["/verifier/list","/splitter/list","/upload"]}ngOnInit(){this.minimizeDisplay="true"===this.localStorageService.get("task_watcher_minimize_display"),aC(4e3).subscribe(()=>{this.authorizedUrl.includes(this.router.url)&&!this.getTaskRunning&&!this.minimizeDisplay&&this.getLastTasks()})}changeDisplayMode(t){this.minimizeDisplay=t,this.minimizeDisplay||this.getLastTasks(),this.localStorageService.save("task_watcher_minimize_display",t?"true":"false")}getLastTasks(){this.isFirstCallDone=!0,this.getTaskRunning=!0;const t=this.localStorageService.get("splitter_or_verifier");t&&this.http.get(m.N.url+"/ws/tasks/progress?module="+t,{headers:this.authService.headers}).pipe((0,$e.b)(i=>{if(this.displayedTasksData!==i.tasks){this.tasks=[];let a=1;for(const l of i.tasks)this.tasks.push({id:a,type:l.type,fileName:l.title,module:l.module,beginTime:l.begin_time,endTime:l.end_time,error:!!l.error_description&&l.error_description,status:l.status?l.status:"in_progress",age:0!==l.age?this.translate.instant("GLOBAL.n_minutes_ago",{minutes:l.age}):this.translate.instant("GLOBAL.few_seconds_ago")}),a++}this.displayedTasksData=i.tasks}),(0,Di.x)(()=>this.getTaskRunning=!1),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}showError(t){t&&this.notify.handleErrors({error:{errors:this.translate.instant("GLOBAL.task_error_informations"),message:t}})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(ua.n))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-tasks-watcher"]],decls:2,vars:2,consts:[["class","w-1/3 h-36 absolute bottom-2 right-2 z-10 bg-slate-50","style","padding: 0 !important;",4,"ngIf"],["class","w-12 h-12 absolute bottom-6 right-6 rounded-full z-10 bg-slate-100 hover:text-green-400 hover:cursor-pointer\n grid justify-items-center drop-shadow-md",3,"click",4,"ngIf"],[1,"w-1/3","h-36","absolute","bottom-2","right-2","z-10","bg-slate-50",2,"padding","0 !important"],["cdkDragHandle","",1,"text-sm","m-4"],[1,"text-lg","absolute","right-4","top-2","hover:text-green-400","inline-block","align-bottom","hover:cursor-pointer",3,"matTooltip","click"],[1,"fa-solid","fa-window-minimize","align-top"],[1,"mx-4","h-20","bg-slate-100"],["class","text-gray-400 my-4 text-center w-full",4,"ngIf"],["class","h-8 w-full px-4 border-t-2 grid grid-cols-10",3,"cursor-pointer","click",4,"ngFor","ngForOf"],[1,"text-gray-400","my-4","text-center","w-full"],[1,"fa-solid","fa-circle-notch","fa-spin","fa-2x","w-full","text-gray-900",2,"--fa-animation-duration","1.5s"],[1,"block"],[1,"fa-solid","fa-check","fa-2x","w-full","text-gray-900","mt-4"],[1,"h-8","w-full","px-4","border-t-2","grid","grid-cols-10",3,"click"],[1,"col-span-1","pt-1"],[1,"col-span-5","pt-1","w-full","truncate","..."],[1,"col-span-3","text-sm","text-slate-400","pt-1","truncate","...",3,"matTooltip"],[1,"col-span-1","text-right"],["class","fas fa-circle-notch fa-spin fa-lg my-4",4,"ngIf"],["class","fas fa-triangle-exclamation fa-lg my-4 text-amber-500 cursor-pointer",3,"matTooltip",4,"ngIf"],["class","fa-solid fa-check fa-lg my-4",3,"matTooltip",4,"ngIf"],[1,"fas","fa-circle-notch","fa-spin","fa-lg","my-4"],[1,"fas","fa-triangle-exclamation","fa-lg","my-4","text-amber-500","cursor-pointer",3,"matTooltip"],[1,"fa-solid","fa-check","fa-lg","my-4",3,"matTooltip"],[1,"w-12","h-12","absolute","bottom-6","right-6","rounded-full","z-10","bg-slate-100","hover:text-green-400","hover:cursor-pointer","grid","justify-items-center","drop-shadow-md",3,"click"],[1,"text-lg","pt-2"],[1,"fa-solid","fa-list-check","fa-align-center"]],template:function(t,i){1&t&&(e.YNc(0,D4,11,13,"mat-card",0),e.YNc(1,E4,3,0,"div",1)),2&t&&(e.Q6J("ngIf",!i.minimizeDisplay&&i.authorizedUrl.includes(i.router.url)),e.xp6(1),e.Q6J("ngIf",i.minimizeDisplay&&i.authorizedUrl.includes(i.router.url)))},dependencies:[Xn,ot,We,_e.sg,_e.O5,Sh,$t.X$]}),n})();function S4(n,o){1&n&&(e.O4$(),e.TgZ(0,"svg",26),e._UZ(1,"path",27),e.qZA())}function A4(n,o){1&n&&(e.O4$(),e.TgZ(0,"svg",26),e._UZ(1,"path",28),e.qZA())}function L4(n,o){if(1&n&&(e.TgZ(0,"button",29),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=e.oxw();e.ekj("text-gray-500",!t.location.path().includes("/verifier")||t.location.path().includes("/settings"))("bg-transparent",!t.location.path().includes("/verifier")||t.location.path().includes("/settings")),e.Q6J("routerLinkActive","bg-gray-900 text-green-400"),e.xp6(1),e.hij(" ",e.lcZ(2,6,"GLOBAL.batches")," ")}}function O4(n,o){if(1&n&&(e.TgZ(0,"button",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=e.oxw();e.ekj("text-gray-500",!t.location.path().includes("/splitter")||t.location.path().includes("/settings"))("bg-transparent",!t.location.path().includes("/splitter")||t.location.path().includes("/settings")),e.Q6J("routerLinkActive","bg-gray-900 text-green-400"),e.xp6(1),e.hij(" ",e.lcZ(2,6,"GLOBAL.batches")," ")}}function k4(n,o){if(1&n&&(e.TgZ(0,"button",31),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=e.oxw();e.ekj("cursor-not-allowed",!t.privilegesService.hasPrivilege("upload"))("hover:bg-gray-500",t.privilegesService.hasPrivilege("upload"))("hover:text-white",t.privilegesService.hasPrivilege("upload"))("text-gray-500",!t.location.path().includes("/upload"))("bg-transparent",!t.location.path().includes("/upload")),e.Q6J("routerLinkActive","bg-gray-900 text-green-400")("disabled",!t.privilegesService.hasPrivilege("upload")),e.xp6(1),e.hij(" ",e.lcZ(2,13,"GLOBAL.upload")," ")}}function I4(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div")(1,"button",32),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleProfileDropdown())})("clickOutside",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.closeprofileDropDown())}),e._UZ(2,"i",33),e.qZA()()}if(2&n){const t=e.oxw();e.xp6(1),e.ekj("settings_active",t.location.path().includes("profile/"+t.userService.user.id)),e.Q6J("matTooltip",t.translate.instant("USER.my_profile"))}}function P4(n,o){if(1&n&&(e.TgZ(0,"i"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Oqu(t.userService.user.role.label)}}function R4(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",34)(1,"span",35)(2,"strong"),e._uU(3),e.qZA(),e._uU(4),e.YNc(5,P4,2,1,"i",18),e._UZ(6,"hr"),e.qZA(),e.TgZ(7,"a",36),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.closeprofileDropDown())}),e._uU(8),e.ALo(9,"translate"),e.qZA(),e.TgZ(10,"a",37),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.closeprofileDropDown())}),e._uU(11),e.ALo(12,"translate"),e.qZA()()}if(2&n){const t=e.oxw();e.ekj("hidden",!t.profileDropdownCurrentState),e.xp6(3),e.Oqu(t.userService.user.lastname),e.xp6(1),e.AsE(" ",t.userService.user.firstname," (",t.userService.user.username,") "),e.xp6(1),e.Q6J("ngIf",t.userService.user.role),e.xp6(2),e.MGl("routerLink","/profile/",t.userService.user.id,""),e.xp6(1),e.hij(" ",e.lcZ(9,9,"USER.my_profile")," "),e.xp6(3),e.hij(" ",e.lcZ(12,11,"GLOBAL.log_out")," ")}}function F4(n,o){if(1&n&&(e.TgZ(0,"div",17)(1,"button",38),e._UZ(2,"i",39),e.qZA()()),2&n){const t=e.oxw();e.xp6(1),e.ekj("settings_active",t.location.path().includes("settings")),e.Q6J("matTooltip",t.translate.instant("GLOBAL.settings"))}}function N4(n,o){if(1&n&&(e.TgZ(0,"div",40)(1,"button",41),e.ALo(2,"translate"),e._UZ(3,"i",42),e.qZA()()),2&n){const t=e.oxw();e.xp6(1),e.ekj("settings_active",t.location.path().includes("history")),e.Q6J("matTooltip",e.lcZ(2,3,"GLOBAL.history"))}}function B4(n,o){if(1&n&&(e.TgZ(0,"div",40)(1,"button",43),e.ALo(2,"translate"),e._UZ(3,"i",44),e.qZA()()),2&n){const t=e.oxw();e.xp6(1),e.ekj("settings_active",t.location.path().includes("statistics")),e.Q6J("matTooltip",e.lcZ(2,3,"GLOBAL.statistics"))}}function U4(n,o){if(1&n&&(e.TgZ(0,"div",45)(1,"button",46),e.ALo(2,"translate"),e._UZ(3,"i",47),e.qZA()()),2&n){const t=e.oxw();e.xp6(1),e.ekj("settings_active",t.location.path().includes("accounts/suppliers")),e.Q6J("matTooltip",e.lcZ(2,3,"ACCOUNTS.suppliers_list"))}}function Z4(n,o){if(1&n&&(e.TgZ(0,"div",48)(1,"button",49),e.ALo(2,"translate"),e._UZ(3,"i",50),e.qZA()()),2&n){const t=e.oxw();e.xp6(1),e.ekj("settings_active",t.location.path().includes("accounts/customers")),e.Q6J("matTooltip",e.lcZ(2,3,"ACCOUNTS.customers_list"))}}function Y4(n,o){if(1&n&&(e.TgZ(0,"mat-option",55),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t[0]),e.xp6(1),e.hij(" ",t[1]," ")}}function H4(n,o){1&n&&e._UZ(0,"i",56)}function V4(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",48)(1,"mat-form-field",51)(2,"mat-label"),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"mat-select",52),e.NdJ("selectionChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.localeService.changeLocale(a))})("valueChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.localeService.currentLang=a)}),e.YNc(6,Y4,2,2,"mat-option",53),e.qZA()(),e.YNc(7,H4,1,0,"i",54),e.qZA()}if(2&n){const t=e.oxw();e.xp6(3),e.Oqu(e.lcZ(4,5,"GLOBAL.language")),e.xp6(2),e.Q6J("disabled",t.localeService.localeLoading)("value",t.localeService.currentLang),e.xp6(1),e.Q6J("ngForOf",t.localeService.langs),e.xp6(1),e.Q6J("ngIf",t.localeService.localeLoading)}}function G4(n,o){if(1&n&&(e.TgZ(0,"span",57)(1,"strong"),e._uU(2),e.qZA(),e._uU(3),e.qZA()),2&n){const t=e.oxw();e.xp6(2),e.Oqu(t.userService.user.lastname),e.xp6(1),e.AsE(" ",t.userService.user.firstname," (",t.userService.user.username,") ")}}let K4=(()=>{class n{constructor(t,i,a,l,h,E,B,oe){this.router=t,this.location=i,this.authService=a,this.userService=l,this.translate=h,this.localeService=E,this.privilegesService=B,this.localStorageService=oe,this.profileDropdownCurrentState=!1,this.mobileMenuState=!1}ngOnInit(){setTimeout(()=>{this.userService.user=this.userService.getUserFromLocal()},100),this.userService.user&&(this.localeService.getLocales(),this.localeService.getCurrentLocale());const t=[38,38,40,40,37,39,37,39,66,65];let i=0;document.addEventListener("keydown",a=>{if(a.keyCode===t[i++]){if(i===t.length){const l=new Audio("assets/imgs/konami.mp3"),h=document.getElementById("konami");h.style.display="block",h.style.transition="opacity .5s",h.style.opacity="1",setTimeout(()=>{h.style.transition="opacity 1s",h.style.opacity="0",setTimeout(()=>{h.style.display="none"},1e3)},3e3),l.play().then(),i=0}}else i=0})}getSplitterOrVerifier(){return this.localStorageService.get("splitter_or_verifier")}toggleProfileDropdown(){this.profileDropdownCurrentState=!this.profileDropdownCurrentState}closeprofileDropDown(){this.profileDropdownCurrentState=!1}toggleMobileMenu(){this.mobileMenuState=!this.mobileMenuState}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(_e.Ye),e.Y36(pi.e),e.Y36(zi.K),e.Y36($t.sK),e.Y36(jr),e.Y36(nn.y),e.Y36(ua.n))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-menu"]],inputs:{image:"image",imageMobile:"imageMobile"},decls:33,vars:24,consts:[[1,"shadow-md","relative","z-40",2,"background","#f8f9fa"],[1,"mx-auto","px-2","sm:px-6","lg:px-8",2,"max-width","100rem"],[1,"relative","flex","items-center","justify-between","h-16","z-50"],[1,"absolute","inset-y-0","left-0","flex","items-center","md:hidden"],["aria-expanded","false",1,"inline-flex","items-center","justify-center","p-2","rounded-md","text-gray-600","hover:text-white","hover:bg-gray-900","focus:ring-2","focus:ring-inset","focus:ring-gray-900",3,"click"],["class","block h-6 w-6","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke","currentColor","aria-hidden","true",4,"ngIf"],[1,"flex-1","flex","items-center","justify-center","sm:items-stretch","sm:justify-start"],[1,"flex-shrink-0","items-center","sm:hidden","xl:flex"],["alt","Open-Capture logo",1,"hidden","lg:block","h-10","w-auto",3,"src"],[1,"flex-shrink-0","items-center","sm:flex","xl:hidden"],[1,"hidden","md:block","sm:ml-3"],[1,"flex","space-x-4"],["mat-flat-button","","routerLink","/home",1,"hover:bg-gray-500","hover:text-white","px-3","py-2","text-sm","font-medium","transition","duration-300",3,"routerLinkActive"],["mat-flat-button","","routerLink","/verifier","class","hover:bg-gray-500 hover:text-white px-3 py-2 text-sm font-medium transition duration-300",3,"routerLinkActive","text-gray-500","bg-transparent",4,"ngIf"],["mat-flat-button","","routerLink","/splitter","class","hover:bg-gray-500 hover:text-white px-3 py-2 text-sm font-medium transition duration-300",3,"routerLinkActive","text-gray-500","bg-transparent",4,"ngIf"],["mat-flat-button","","routerLink","/upload","class","px-3 py-2 text-sm font-medium transition duration-300",3,"routerLinkActive","disabled","cursor-not-allowed","hover:bg-gray-500","hover:text-white","text-gray-500","bg-transparent",4,"ngIf"],[1,"flex","absolute","inset-y-0","right-0","items-center","pr-2","sm:static","sm:inset-auto","sm:ml-6","sm:pr-0"],[1,"ml-3","mr-0","md:mr-2","relative"],[4,"ngIf"],["class","origin-top-right absolute md:right-0 mt-2 w-56 rounded-md shadow-lg py-1 bg-white ring-1 ring-black ring-opacity-5 z-50","role","menu","aria-orientation","vertical","aria-labelledby","user-menu",3,"hidden",4,"ngIf"],["class","ml-3 mr-0 md:mr-2 relative",4,"ngIf"],["class","ml-3 mr-2 relative hidden md:block",4,"ngIf"],["class","ml-3 mr-2 relative border-l border-green-400 pl-5 hidden md:block",4,"ngIf"],["class","ml-3 relative hidden md:block",4,"ngIf"],[1,"ml-6","relative"],["class","text-gray-600",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke","currentColor","aria-hidden","true",1,"block","h-6","w-6"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M4 6h16M4 12h16M4 18h16"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M6 18L18 6M6 6l12 12"],["mat-flat-button","","routerLink","/verifier",1,"hover:bg-gray-500","hover:text-white","px-3","py-2","text-sm","font-medium","transition","duration-300",3,"routerLinkActive"],["mat-flat-button","","routerLink","/splitter",1,"hover:bg-gray-500","hover:text-white","px-3","py-2","text-sm","font-medium","transition","duration-300",3,"routerLinkActive"],["mat-flat-button","","routerLink","/upload",1,"px-3","py-2","text-sm","font-medium","transition","duration-300",3,"routerLinkActive","disabled"],["mat-mini-fab","","id","user-menu","aria-haspopup","true",1,"bg-green-400","hover:ring-4","hover:ring-offset-4","hover:ring-green-400","hover:ring-opacity-60",3,"matTooltip","click","clickOutside"],[1,"fa-solid","fa-users-cog"],["role","menu","aria-orientation","vertical","aria-labelledby","user-menu",1,"origin-top-right","absolute","md:right-0","mt-2","w-56","rounded-md","shadow-lg","py-1","bg-white","ring-1","ring-black","ring-opacity-5","z-50"],[1,"block","text-center","mb-2","text-gray-900"],["role","menuitem",1,"block","px-4","py-2","text-sm","text-gray-700","hover:bg-gray-100","relative",3,"routerLink","click"],["routerLink","/logout","role","menuitem",1,"block","px-4","py-2","text-sm","text-gray-700","hover:bg-gray-100","relative",3,"click"],["id","settings-menu","aria-haspopup","true","mat-mini-fab","","routerLink","/settings",1,"bg-green-400","hover:ring-4","hover:ring-offset-4","hover:ring-green-400","hover:ring-opacity-60",3,"matTooltip"],[1,"fa-solid","fa-cog"],[1,"ml-3","mr-2","relative","hidden","md:block"],["id","history-menu","aria-haspopup","true","mat-mini-fab","","routerLink","/history",1,"bg-green-400","hover:ring-4","hover:ring-offset-4","hover:ring-green-400","hover:ring-opacity-60",3,"matTooltip"],[1,"fa-solid","fa-history"],["id","statistics-menu","aria-haspopup","true","mat-mini-fab","","routerLink","/statistics",1,"bg-green-400","hover:ring-4","hover:ring-offset-4","hover:ring-green-400","hover:ring-opacity-60",3,"matTooltip"],[1,"fa-solid","fa-chart-bar"],[1,"ml-3","mr-2","relative","border-l","border-green-400","pl-5","hidden","md:block"],["id","supplier-menu","aria-haspopup","true","mat-mini-fab","","routerLink","/accounts/suppliers",1,"bg-green-400","hover:ring-4","hover:ring-offset-4","hover:ring-green-400","hover:ring-opacity-60",3,"matTooltip"],[1,"fa-solid","fa-city"],[1,"ml-3","relative","hidden","md:block"],["id","customer-menu","aria-haspopup","true","mat-mini-fab","","routerLink","/accounts/customers",1,"bg-green-400","hover:ring-4","hover:ring-offset-4","hover:ring-green-400","hover:ring-opacity-60",3,"matTooltip"],[1,"fa-solid","fa-users"],[1,"origin-top-right","right-0","mt-4","w-32"],[3,"disabled","value","selectionChange","valueChange"],[3,"value",4,"ngFor","ngForOf"],["class","fa-solid fa-earth-europe fa-beat fa-lg text-gray-900 ml-4",4,"ngIf"],[3,"value"],[1,"fa-solid","fa-earth-europe","fa-beat","fa-lg","text-gray-900","ml-4"],[1,"text-gray-600"]],template:function(t,i){1&t&&(e._UZ(0,"app-tasks-watcher"),e.TgZ(1,"nav",0)(2,"div",1)(3,"div",2)(4,"div",3)(5,"button",4),e.NdJ("click",function(){return i.toggleMobileMenu()}),e.YNc(6,S4,2,0,"svg",5),e.YNc(7,A4,2,0,"svg",5),e.qZA()(),e.TgZ(8,"div",6)(9,"div",7),e._UZ(10,"img",8),e.qZA(),e.TgZ(11,"div",9),e._UZ(12,"img",8),e.qZA(),e.TgZ(13,"div",10)(14,"div",11)(15,"button",12),e._uU(16),e.ALo(17,"translate"),e.qZA(),e.YNc(18,L4,3,8,"button",13),e.YNc(19,O4,3,8,"button",14),e.YNc(20,k4,3,15,"button",15),e.qZA()()(),e.TgZ(21,"div",16)(22,"div",17),e.YNc(23,I4,3,3,"div",18),e.YNc(24,R4,13,13,"div",19),e.qZA(),e.YNc(25,F4,3,3,"div",20),e.YNc(26,N4,4,5,"div",21),e.YNc(27,B4,4,5,"div",21),e.YNc(28,U4,4,5,"div",22),e.YNc(29,Z4,4,5,"div",23),e.YNc(30,V4,8,7,"div",23),e.TgZ(31,"div",24),e.YNc(32,G4,4,3,"span",25),e.qZA()()()()()),2&t&&(e.xp6(6),e.Q6J("ngIf",!i.mobileMenuState),e.xp6(1),e.Q6J("ngIf",i.mobileMenuState),e.xp6(3),e.Q6J("src",i.image,e.LSH),e.xp6(2),e.Q6J("src",i.imageMobile,e.LSH),e.xp6(3),e.ekj("text-gray-500",!i.location.path().includes("/home"))("bg-transparent",!i.location.path().includes("/home")),e.Q6J("routerLinkActive","bg-gray-900 text-green-400"),e.xp6(1),e.hij(" ",e.lcZ(17,22,"GLOBAL.home")," "),e.xp6(2),e.Q6J("ngIf","/home"!==i.location.path()&&"verifier"===i.getSplitterOrVerifier()),e.xp6(1),e.Q6J("ngIf","/home"!==i.location.path()&&"splitter"===i.getSplitterOrVerifier()),e.xp6(1),e.Q6J("ngIf","/home"!==i.location.path()&&void 0!==i.getSplitterOrVerifier()&&""!==i.getSplitterOrVerifier()&&null!==i.getSplitterOrVerifier()),e.xp6(3),e.Q6J("ngIf",i.userService.user),e.xp6(1),e.Q6J("ngIf",i.userService.user),e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege("settings")),e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege("history")),e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege("statistics")),e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege("suppliers_list")),e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege("customers_list")),e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege("change_language")),e.xp6(2),e.Q6J("ngIf",i.userService.user))},dependencies:[_e.sg,_e.O5,Nt.rH,Nt.yS,Nt.Od,Rt.KE,Rt.hX,Be.gD,b.ey,Xn,Y.lW,w4,ea,$t.X$],styles:[".settings_active[_ngcontent-%COMP%]{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-offset-width: 2px;--tw-ring-color: rgb(151 191 61 / var(--tw-ring-opacity));--tw-ring-opacity: .6 }"]}),n})();function j4(n,o){if(1&n&&e._UZ(0,"app-menu",1),2&n){const t=e.oxw();e.Q6J("image",t.image)("imageMobile",t.imageMobile)}}let W4=(()=>{class n{constructor(t,i,a,l,h,E,B,oe,xe,Ve,lt){this.router=t,this.http=i,this.location=a,this.titleService=l,this.sanitizer=h,this.notify=E,this.translate=B,this.localeService=oe,this.activatedRoute=xe,this.changeDetector=Ve,this.localStorageService=lt,this.title="Open-Capture",this.image="",this.imageMobile="",this.loading=!0}ngOnInit(){const t=this.titleService.getTitle();this.router.events.pipe((0,Mo.h)(i=>i instanceof Nt.m2),(0,Mn.U)(()=>{let h,i=this.activatedRoute.firstChild,a="assets/imgs/login_image.png",l="assets/imgs/Open-Capture_Verifier.svg";if(i){for(;i.firstChild;)i=i.firstChild;if("/home"!==this.router.url&&!this.router.url.includes("settings")&&(h=this.localStorageService.get("splitter_or_verifier"),void 0!==h&&("splitter"===h?(a="assets/imgs/logo_splitter.png",l="assets/imgs/Open-Capture_Splitter.png"):a="assets/imgs/logo_verifier.png")),i.snapshot.data.title)return[i.snapshot.data.title,a,l,h]}return[t,a,l,h]})).subscribe(i=>{const a=i[0];if(this.image=i[1],this.imageMobile=i[2],!i[3]){const h=this.localStorageService.get("login_image_b64");h?this.image=this.sanitizer.bypassSecurityTrustUrl("data:image/png;base64, "+h):this.http.get(m.N.url+"/ws/config/getLoginImage").pipe((0,$e.b)(E=>{this.localStorageService.save("login_image_b64",E),this.image=this.sanitizer.bypassSecurityTrustUrl("data:image/png;base64, "+E)}),(0,Ke.K)(E=>(console.debug(E),this.notify.handleErrors(E),(0,ie.of)(!1)))).subscribe()}void 0===this.localeService.currentLang?this.http.get(m.N.url+"/ws/i18n/getCurrentLang").pipe((0,$e.b)(h=>{this.translate.use(h.lang),this.translate.get(a).subscribe(E=>{this.titleService.setTitle(E+" - "+this.title)}),this.loading=!1}),(0,Ke.K)(h=>(console.debug(h),this.notify.handleErrors(h),(0,ie.of)(!1)))).subscribe():(this.translate.get(a).subscribe(h=>{this.titleService.setTitle(h+" - "+this.title)}),this.loading=!1)})}ngAfterContentChecked(){this.changeDetector.detectChanges()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(_e.Ye),e.Y36(c.Dx),e.Y36(c.H7),e.Y36(Gi.g),e.Y36($t.sK),e.Y36(jr),e.Y36(Nt.gz),e.Y36(e.sBO),e.Y36(ua.n))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-root"]],decls:2,vars:1,consts:[[3,"image","imageMobile",4,"ngIf"],[3,"image","imageMobile"]],template:function(t,i){1&t&&(e.YNc(0,j4,1,2,"app-menu",0),e._UZ(1,"router-outlet")),2&t&&e.Q6J("ngIf","/login"!==i.location.path()&&"/404"!==i.location.path()&&i.loading==i.loading)},dependencies:[_e.O5,Nt.lC,K4]}),n})();var q4=C(5902);let J4=(()=>{class n extends Fs{constructor(t,i,a,l){super(),this.http=t,this.notify=i,this.translate=a,this.localeService=l,this.getRangeLabel=(h,E,B)=>{if(0===B||0===E)return"0 "+this.translate.instant("PAGINATOR.of")+` ${B}`;const oe=h*E,xe=oe<(B=Math.max(B,0))?Math.min(oe+E,B):oe+E,Ve=Math.ceil(B/E);return` ${oe+1} - ${xe} `+this.translate.instant("PAGINATOR.on")+` ${B} | `+this.translate.instant("PAGINATOR.page")+` ${h+1} / ${Ve}`},this.getAndInitTranslations()}getAndInitTranslations(){void 0===this.localeService.currentLang?this.http.get(m.N.url+"/ws/i18n/getCurrentLang").pipe((0,$e.b)(t=>{this.translate.use(t.lang),this.translate.get("PAGINATOR.items_per_page").subscribe(i=>{this.itemsPerPageLabel=i}),this.translate.get("PAGINATOR.next_page").subscribe(i=>{this.nextPageLabel=i}),this.translate.get("PAGINATOR.first_page").subscribe(i=>{this.firstPageLabel=i}),this.translate.get("PAGINATOR.last_page").subscribe(i=>{this.lastPageLabel=i}),this.translate.get("PAGINATOR.previous_page").subscribe(i=>{this.previousPageLabel=i}),this.changes.next()}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe():(this.translate.get("PAGINATOR.items_per_page").subscribe(t=>{this.itemsPerPageLabel=t}),this.translate.get("PAGINATOR.next_page").subscribe(t=>{this.nextPageLabel=t}),this.translate.get("PAGINATOR.first_page").subscribe(t=>{this.firstPageLabel=t}),this.translate.get("PAGINATOR.last_page").subscribe(t=>{this.lastPageLabel=t}),this.translate.get("PAGINATOR.previous_page").subscribe(t=>{this.previousPageLabel=t}),this.changes.next())}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(Ri.eN),e.LFG(Gi.g),e.LFG($t.sK),e.LFG(jr))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})(),$4=(()=>{class n{constructor(t,i){this.router=t,this.localStorage=i}isValidIP(t){return 4===t.split(".").filter(a=>!/^0.|\D/g.test(a)).filter(a=>a.length&&a>=0&&a<=255).length}isValidFQDN(t){return/(?=^.{4,253}$)(^((?!-)[a-zA-Z0-9-]{0,62}[a-zA-Z0-9]\.)+[a-zA-Z]{2,63}$)/g.test(t)}intercept(t,i){if(!m.N.customId&&/http(s)?:\/\/|backend_oc\//.test(t.url)){let a=window.location.href;a=a.replace("http://","").replace("https://",""),a=a.replace(new RegExp("//"),"/");const l=a.split("/");this.isValidFQDN(l[0])&&(m.N.fqdn=l[0]);for(let h=0;h<=l.length;h++)if("dist"===l[h]){let E="";const B=this.isValidIP(l[h-1]),oe=this.isValidFQDN(l[h-1]),xe=m.N.customId;if(E=l[h-1],!(oe||B||"localhost"===l[h-1]||l[h-1].includes("opencapture")||l[h-1].includes("opencaptureforinvoices")||l[h-1].includes("backend_oc"))){E=l[h-1];const Ve=m.N.url;m.N.customId=E,m.N.url+="/"+E,m.N.production&&(m.N.url="../"+m.N.url);const lt=this.localStorage.get("OpenCaptureToken_"+E);xe&&E!==xe&&this.router.navigate(["/logout"]).then();const Ft=(new Ri.WM).set("Authorization","Bearer "+lt),ii=new Ri.aW(t.method,t.url.replace(Ve,m.N.url),{headers:Ft});return t=Object.assign(t,ii),i.handle(t)}}}return i.handle(t)}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(Nt.F0),e.LFG(ua.n))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})();function z4(n){return new am(n,"assets/i18n/frontend/",".json")}let Q4=(()=>{class n{constructor(){}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n,bootstrap:[W4]}),n.\u0275inj=e.cJS({providers:[c.Dx,$t.sK,$a.e,od.J,{provide:Rt.o2,useValue:{appearance:"outline"}},{provide:Fs,useClass:J4},{provide:Ri.TP,useClass:$4,multi:!0}],imports:[c.b2,C4,S1,Ju,nm,Ri.JF,O0,RE,q4.a4,$t.aw.forRoot({defaultLanguage:"fra",loader:{provide:$t.Zw,useFactory:z4,deps:[Ri.eN]}}),A.UX,A.u5,uo,ji,Cg,Wr,h1.forRoot("fr")]}),n})();m.N.production&&(0,e.G48)(),c.q6().bootstrapModule(Q4).then()},2560:(N,U,C)=>{"use strict";C.d(U,{e:()=>ee});var c=C(520),m=C(9958),e=C(262),b=C(9646),M=C(5e3),k=C(6696),F=C(230),G=C(8543);let ee=(()=>{class z{constructor(ce,ke,Pe,de){this.router=ce,this.http=ke,this.userService=Pe,this.localStorage=de,this.headersExists=!1,this.getToken()||(this.headersExists=!1),this.headers=(new c.WM).set("Authorization","Bearer "+this.getToken())}generateHeaders(){this.getToken()&&(this.headersExists=!0),this.headers=(new c.WM).set("Authorization","Bearer "+this.getToken())}setCachedUrl(ce){const ke=this.getTokenName();this.localStorage.save(ke.cachedUrlName,ce)}getCachedUrl(){const ce=this.getTokenName();return this.localStorage.get(ce.cachedUrlName)}cleanCachedUrl(){const ce=this.getTokenName();return this.localStorage.remove(ce.cachedUrlName)}setTokenConfig(ce){const ke=this.getTokenName();this.localStorage.save(ke.configName,ce)}getTokenConfig(){const ce=this.getTokenName();return this.localStorage.get(ce.configName)}getTokenName(){let ce="OpenCaptureToken",ke="OpenCaptureUserData",Pe="OpenCaptureCachedUrl",de="OpenCaptureConfig";return m.N.customId?(ce+="_"+m.N.customId,ke+="_"+m.N.customId,Pe+="_"+m.N.customId,de+="_"+m.N.customId):m.N.fqdn&&(ce+="_"+m.N.fqdn,ke+="_"+m.N.fqdn,Pe+="_"+m.N.fqdn,de+="_"+m.N.fqdn),{tokenJwt:ce,configName:de,userData:ke,cachedUrlName:Pe}}setTokens(ce,ke){const Pe=this.getTokenName();this.localStorage.save(Pe.tokenJwt,ce),this.localStorage.save(Pe.userData,ke)}getToken(){const ce=this.getTokenName();return this.localStorage.get(ce.tokenJwt)}logout(){const ce=this.getTokenName();this.userService.setUser({}),this.localStorage.remove("login_image_b64"),this.localStorage.remove("selectedSettings"),this.localStorage.remove(ce.tokenJwt),this.localStorage.remove(ce.userData),this.localStorage.remove("splitter_or_verifier"),this.localStorage.remove("selectedParentSettings"),this.localStorage.remove("task_watcher_minimize_display"),this.http.get(m.N.url+"/ws/auth/logout").pipe((0,e.K)(ke=>(console.debug(ke),(0,b.of)(!1)))).subscribe(),this.router.navigateByUrl("/login").then()}}return z.\u0275fac=function(ce){return new(ce||z)(M.LFG(k.F0),M.LFG(c.eN),M.LFG(F.K),M.LFG(G.n))},z.\u0275prov=M.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})()},7009:(N,U,C)=>{"use strict";C.d(U,{J:()=>m});var c=C(5e3);let m=(()=>{class e{constructor(){this.specificClass="w-1/2"}}return e.\u0275fac=function(M){return new(M||e)},e.\u0275cmp=c.Xpm({type:e,selectors:[["app-hint"]],inputs:{message:"message",specificClass:"specificClass"},decls:3,vars:4,consts:[[1,"fa-solid","fa-circle-exclamation","fa-2x"],[1,"message",3,"innerHTML"]],template:function(M,k){1&M&&(c.TgZ(0,"div"),c._UZ(1,"i",0)(2,"div",1),c.qZA()),2&M&&(c.Gre("hint ",k.specificClass,""),c.xp6(2),c.Q6J("innerHTML",k.message,c.oJD))},styles:[".hint[_ngcontent-%COMP%]{margin-top:.75rem;margin-bottom:.75rem;display:flex;margin-left:auto;margin-right:auto;border-left-width:8px;border-radius:.125rem;--tw-text-opacity: 1;color:rgb(76 76 78 / var(--tw-text-opacity));justify-content:center;background-color:#97bf3d66;border-left-color:#4c4c4e80}.hint[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{display:flex;align-items:center;--tw-text-opacity: 1;color:rgb(151 191 61 / var(--tw-text-opacity))}.hint[_ngcontent-%COMP%] .message[_ngcontent-%COMP%]{margin:1.5rem}"]}),e})()},69:(N,U,C)=>{"use strict";C.d(U,{q:()=>ee});var c=C(9958),m=C(262),e=C(9646),b=C(5e3),M=C(520),k=C(2560),F=C(230),G=C(7862);let ee=(()=>{class z{constructor(ce,ke,Pe,de){this.http=ce,this.authService=ke,this.userService=Pe,this.notify=de}addHistory(ce,ke,Pe){(!this.userService.user||!this.userService.user.id)&&(this.userService.user=this.userService.getUserFromLocal()),this.http.post(c.N.url+"/ws/history/add",{module:ce,submodule:ke,desc:Pe,user_info:this.userService.user.lastname+" "+this.userService.user.firstname+" ("+this.userService.user.username+")",user_id:this.userService.user.id},{headers:this.authService.headers}).pipe((0,m.K)(le=>(console.debug(le),this.notify.handleErrors(le),(0,e.of)(!1)))).subscribe()}}return z.\u0275fac=function(ce){return new(ce||z)(b.LFG(M.eN),b.LFG(k.e),b.LFG(F.K),b.LFG(G.g))},z.\u0275prov=b.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})()},3925:(N,U,C)=>{"use strict";C.d(U,{e:()=>e});var c=C(6696),m=C(5e3);let e=(()=>{class b{constructor(k){this.router=k,this.previousUrl="",this.currentUrl="",this.currentUrl=this.router.url,k.events.subscribe(F=>{F instanceof c.m2&&(this.previousUrl=this.currentUrl,this.currentUrl=F.url)})}getCurrentUrl(){return this.currentUrl}getPreviousUrl(){return this.previousUrl}}return b.\u0275fac=function(k){return new(k||b)(m.LFG(c.F0))},b.\u0275prov=m.Yz7({token:b,factory:b.\u0275fac}),b})()},8543:(N,U,C)=>{"use strict";C.d(U,{n:()=>m});var c=C(5e3);let m=(()=>{class e{constructor(){}save(M,k){localStorage.setItem(M,k)}get(M){return localStorage.getItem(M)}remove(M){localStorage.removeItem(M)}}return e.\u0275fac=function(M){return new(M||e)},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},7862:(N,U,C)=>{"use strict";C.d(U,{g:()=>F});var c=C(7261),m=C(9958),e=C(5e3),b=C(6696),M=C(4894);let k=(()=>{class G{constructor(z){this.data=z}dismiss(){this.data.close()}}return G.\u0275fac=function(z){return new(z||G)(e.Y36(c.qD))},G.\u0275cmp=e.Xpm({type:G,selectors:[["custom-snackbar"]],decls:7,vars:5,consts:[[1,"notif-container",3,"click"],[1,"notif-container-icon"],[1,"notif-container-content"],[1,"notif-container-content-msg"],[3,"innerHTML"]],template:function(z,ue){1&z&&(e.TgZ(0,"div",0),e.NdJ("click",function(){return ue.dismiss()}),e.TgZ(1,"div",1),e._UZ(2,"i"),e.qZA(),e.TgZ(3,"div",2)(4,"div",3),e._UZ(5,"div",4)(6,"div",4),e.qZA()()()),2&z&&(e.xp6(2),e.Gre("fa fa-",ue.data.icon," fa-2x"),e.xp6(3),e.Q6J("innerHTML",ue.data.url,e.oJD),e.xp6(1),e.Q6J("innerHTML",ue.data.message,e.oJD))},styles:[".notif-container[_ngcontent-%COMP%]{display:flex;align-items:center;padding-top:25px;padding-bottom:25px;cursor:pointer}.notif-container-icon[_ngcontent-%COMP%]{display:flex;width:50px;justify-content:center}.notif-container-content[_ngcontent-%COMP%]{display:flex;flex:1;justify-content:center}.notif-container-content-msg[_ngcontent-%COMP%]{display:flex;flex-direction:column} .mat-snack-bar-container{background:white} .mat-snack-bar-container.error-snackbar{color:red;border:solid 1px red} .mat-snack-bar-container.success-snackbar{color:green;border:solid 1px green}"]}),G})(),F=(()=>{class G{constructor(z,ue,ce){this.router=z,this.snackBar=ue,this.translate=ce}success(z,ue){const ce=this.getMessageDuration(z,ue||2e3);if(this.snackBar._openedSnackBarRef)this.snackBar._openedSnackBarRef.instance.data.message.includes(this.translate.instant("USER.already_logged_in"))||setTimeout(()=>{const ke=this.snackBar.openFromComponent(k,{duration:ce,panelClass:["success-snackbar","mt-20","mr-3"],verticalPosition:"top",horizontalPosition:"right",data:{message:z,icon:"info-circle",close:()=>{ke.dismiss()}}})},ce);else{const ke=this.snackBar.openFromComponent(k,{duration:ce,panelClass:["success-snackbar","mt-20","mr-3"],verticalPosition:"top",horizontalPosition:"right",data:{message:z,icon:"info-circle",close:()=>{ke.dismiss()}}})}}error(z,ue=null){const ce=this.getMessageDuration(z,6e3);if(this.snackBar._openedSnackBarRef)this.snackBar._openedSnackBarRef.instance.data.message.includes(this.translate.instant("USER.already_logged_in"))||setTimeout(()=>{const ke=this.snackBar.openFromComponent(k,{duration:ce,panelClass:["error-snackbar","mt-20","mr-3"],verticalPosition:"top",horizontalPosition:"right",data:{url:ue,message:z,icon:"exclamation-triangle",close:()=>{ke.dismiss()}}})},ce/3.5);else{const ke=this.snackBar.openFromComponent(k,{duration:ce,panelClass:["error-snackbar","mt-20","mr-3"],verticalPosition:"top",horizontalPosition:"right",data:{url:ue,message:z,icon:"exclamation-triangle",close:()=>{ke.dismiss()}}})}}handleErrors(z,ue=""){if(0===z.status&&"Unknown Error"===z.statusText){const ce=""+this.translate.instant("ERROR.connection_failed")+" : "+this.translate.instant("ERROR.is_server_up",{server:m.N.url});"/login"!==this.router.url?this.router.navigate(["/500"]).then(()=>{this.error(ce)}):this.error(ce)}else void 0!==z.error?void 0!==z.error.errors?("missing_custom_or_file_doesnt_exists"===z.error.message?this.error(""+this.translate.instant("ERROR.configuration_error")+" : "+this.translate.instant("ERROR.is_custom_present_and_file_exists")):"bad_or_missing_database_informations"===z.error.message?this.error(""+this.translate.instant("ERROR.database_error")+" : "+this.translate.instant("ERROR.bad_or_missing_database_informations")):"missing_secret_key"===z.error.message?this.error(""+this.translate.instant("ERROR.configuration_error")+" : "+this.translate.instant("ERROR.missing_secret_key")):this.error(""+z.error.errors+" : "+z.error.message,z.url),403===z.status||404===z.status?this.router.navigate(["/login"]).then():z.error.errors===this.translate.instant("ERROR.jwt_error")&&this.router.navigate(["/logout"]).then()):this.error(void 0!==z.error.exception?z.error.exception[0].message:void 0!==z.error.error?void 0!==z.error.error[0]?z.error.error[0].message:z.error.error.message:`${z.status} : ${z.statusText}`,z.url):this.error(z);ue&&this.router.navigate([ue]).then()}getMessageDuration(z,ue){const ce=z.length/25*1e3;return ce1e4?1e4:ce}}return G.\u0275fac=function(z){return new(z||G)(e.LFG(b.F0),e.LFG(c.ux),e.LFG(M.sK))},G.\u0275prov=e.Yz7({token:G,factory:G.\u0275fac}),G})()},897:(N,U,C)=>{"use strict";C.d(U,{y:()=>e});var c=C(5e3),m=C(230);let e=(()=>{class b{constructor(k){this.userService=k}hasPrivilege(k){let F=!1;const G=this.userService.getUserFromLocal();if(G){const ee=G.privileges;if(ee)return void 0===k||"*"===ee||(ee.forEach(z=>{k===z&&(F=!0)}),F)}return!1}}return b.\u0275fac=function(k){return new(k||b)(c.LFG(m.K))},b.\u0275prov=c.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"}),b})()},3208:(N,U,C)=>{"use strict";C.d(U,{g:()=>G});var c=C(5e3),m=C(6696),e=C(2313),b=C(2560),M=C(4894),k=C(3925),F=C(8543);let G=(()=>{class ee{constructor(ue,ce,ke,Pe,de,Ge){this.router=ue,this.titleService=ce,this.authService=ke,this.translate=Pe,this.routerExtService=de,this.localStorage=Ge,this.selectedSetting="configurations",this.selectedParentSetting="general",this.settingsParent=[{id:"general",label:this.translate.instant("SETTINGS.general"),opened:!1},{id:"verifier",label:this.translate.instant("SETTINGS.verifier"),opened:!1},{id:"splitter",label:this.translate.instant("SETTINGS.splitter"),opened:!1}],this.settings={general:[{id:"configurations",label:this.translate.instant("SETTINGS.configurations"),icon:"fa-solid fa-sliders",route:"/settings/general/configurations",privilege:"configurations"},{id:"docservers",label:this.translate.instant("SETTINGS.docservers"),icon:"fa-solid fa-hard-drive",route:"/settings/general/docservers",privilege:"docservers"},{id:"regex",label:this.translate.instant("SETTINGS.regex"),icon:"fa-solid fa-star-of-life",route:"/settings/general/regex",privilege:"regex"},{id:"mailcollect",label:this.translate.instant("SETTINGS.mailcollect"),icon:"fa-solid fa-inbox",route:"/settings/general/mailcollect",privilege:"mailcollect"},{id:"users",label:this.translate.instant("SETTINGS.users_list"),icon:"fa-solid fa-user",route:"/settings/general/users",privilege:"users_list",actions:[{id:"add_user",label:this.translate.instant("USER.create_user"),route:"/settings/general/users/new",privilege:"add_user",icon:"fa-solid fa-plus"},{id:"update_user",label:this.translate.instant("USER.update"),route:"/settings/general/users/update/",icon:"fa-solid fa-edit",privilege:"update_user",showOnlyIfActive:!0}]},{id:"user-quota",label:this.translate.instant("SETTINGS.user_quota"),icon:"fa-solid fa-user-gear",route:"/settings/general/user-quota",privilege:"user_quota"},{id:"roles",label:this.translate.instant("SETTINGS.roles_list"),icon:"fa-solid fa-users",route:"/settings/general/roles",privilege:"roles_list",actions:[{id:"add_role",label:this.translate.instant("ROLE.create_role"),route:"/settings/general/roles/new",privilege:"add_role",icon:"fa-solid fa-plus"},{id:"update_role",label:this.translate.instant("ROLE.update"),route:"/settings/general/roles/update/",icon:"fa-solid fa-edit",privilege:"update_role",showOnlyIfActive:!0}]},{id:"custom-fields",label:this.translate.instant("SETTINGS.custom_fields"),route:"/settings/general/custom-fields",icon:"fa-solid fa-code",privilege:"custom_fields"},{id:"login-methods",label:this.translate.instant("SETTINGS.login_methods"),icon:"fa-solid fa-right-to-bracket",route:"/settings/general/login-methods"},{id:"about-us",label:this.translate.instant("SETTINGS.abouts_us"),icon:"fa-solid fa-address-card",route:"/settings/general/about-us"}],verifier:[{id:"verifier_display",label:this.translate.instant("SETTINGS.verifier_display"),icon:"fa-solid fa-display",route:"/settings/verifier/display",privilege:"verifier_display"},{id:"form_builder",label:this.translate.instant("SETTINGS.list_forms"),icon:"fa-brands fa-wpforms",route:"/settings/verifier/forms",privilege:"forms_list",actions:[{id:"add_form",label:this.translate.instant("SETTINGS.form_builder"),route:"/settings/verifier/forms/builder/new",privilege:"add_form",icon:"fa-solid fa-tools"},{id:"update_form",label:this.translate.instant("SETTINGS.form_update"),route:"/settings/verifier/forms/builder/edit/",privilege:"update_form",icon:"fa-solid fa-hammer",showOnlyIfActive:!0}]},{id:"input_settings",label:this.translate.instant("FORMS.input_settings"),icon:"fa-solid fa-sign-in-alt",route:"/settings/verifier/inputs",privilege:"inputs_list",actions:[{id:"add_form",label:this.translate.instant("SETTINGS.add_input"),route:"/settings/verifier/inputs/new",privilege:"add_input",icon:"fa-solid fa-plus"},{id:"update_form",label:this.translate.instant("SETTINGS.update_input"),route:"/settings/verifier/inputs/update/",privilege:"update_input",icon:"fa-solid fa-edit",showOnlyIfActive:!0}]},{id:"output_settings",label:this.translate.instant("FORMS.output_settings"),icon:"fa-solid fa-sign-out-alt",route:"/settings/verifier/outputs",privilege:"outputs_list",actions:[{id:"add_form",label:this.translate.instant("SETTINGS.add_output"),route:"/settings/verifier/outputs/new",privilege:"add_output",icon:"fa-solid fa-plus"},{id:"update_form",label:this.translate.instant("SETTINGS.update_output"),route:"/settings/verifier/outputs/update/",privilege:"update_output",icon:"fa-solid fa-edit",showOnlyIfActive:!0}]},{id:"position_mask_builder",label:this.translate.instant("SETTINGS.list_positions_mask"),icon:"fa-solid fa-map-marker-alt",route:"/settings/verifier/positions-mask",privilege:"position_mask_list",actions:[{id:"add_position_mask",label:this.translate.instant("SETTINGS.positions_mask_builder"),route:"/settings/verifier/positions-mask/create",privilege:"add_position_mask",icon:"fa-solid fa-tools"},{id:"update_position_mask",label:this.translate.instant("SETTINGS.positions_mask_update"),route:"/settings/verifier/positions-mask/update/",privilege:"update_position_mask",icon:"fa-solid fa-hammer",showOnlyIfActive:!0}]}],splitter:[{id:"splitter_form_builder",label:this.translate.instant("SETTINGS.list_forms"),icon:"fa-brands fa-wpforms",route:"/settings/splitter/forms",privilege:"forms_list_splitter",actions:[{id:"splitter_add_form",label:this.translate.instant("SETTINGS.form_builder"),route:"/settings/splitter/forms/builder/new",privilege:"add_form",icon:"fa-solid fa-tools"},{id:"splitter_update_form",label:this.translate.instant("SETTINGS.form_update"),route:"/settings/splitter/forms/builder/edit/",privilege:"update_form",icon:"fa-solid fa-hammer",showOnlyIfActive:!0}]},{id:"splitter_input_settings",label:this.translate.instant("FORMS.input_settings"),icon:"fa-solid fa-sign-in-alt",route:"/settings/splitter/inputs",privilege:"inputs_list_splitter",actions:[{id:"splitter_add_input",label:this.translate.instant("SETTINGS.add_input"),route:"/settings/splitter/inputs/new",privilege:"splitter_add_input",icon:"fa-solid fa-plus"},{id:"splitter_update_input",label:this.translate.instant("SETTINGS.update_input"),route:"/settings/splitter/inputs/update/",privilege:"update_input",icon:"fa-solid fa-edit",showOnlyIfActive:!0}]},{id:"splitter_output_settings",label:this.translate.instant("FORMS.output_settings"),icon:"fa-solid fa-sign-out-alt",route:"/settings/splitter/outputs",privilege:"outputs_list_splitter",actions:[{id:"splitter_add_output",label:this.translate.instant("SETTINGS.add_output"),route:"/settings/splitter/outputs/new",privilege:"add_output_splitter",icon:"fa-solid fa-plus"},{id:"splitter_update_output",label:this.translate.instant("SETTINGS.update_output"),route:"/settings/splitter/outputs/update/",privilege:"update_output_splitter",icon:"fa-solid fa-edit",showOnlyIfActive:!0}]},{id:"separator",label:this.translate.instant("SETTINGS.document_separator"),icon:"fa-solid fa-qrcode",route:"/settings/splitter/separator",privilege:"separator_splitter"},{id:"document-type",label:this.translate.instant("SETTINGS.document_type"),icon:"fa-solid fa-file",route:"/settings/splitter/document-type",privilege:"document_type_splitter",actions:[{id:"splitter_add_doc_type",label:this.translate.instant("SETTINGS.add_doc_type"),route:"/settings/splitter/document-type/new",privilege:"add_document_type",icon:"fa-solid fa-plus"},{id:"splitter_add_folder_doc_type",label:this.translate.instant("SETTINGS.add_doc_type_folder"),route:"/settings/splitter/document-type/create-folder",privilege:"add_document_type",icon:"fa-solid fa-folder-plus"},{id:"splitter_update_doc_type",label:this.translate.instant("SETTINGS.update_doc_type"),route:"/settings/splitter/document-type/update/",privilege:"update_document_type",icon:"fa-solid fa-edit",showOnlyIfActive:!0}]}]}}init(){this.authService.headersExists||this.authService.generateHeaders();const ue=this.localStorage.get("selectedParentSettings"),ce=this.localStorage.get("selectedSettings");if(ce&&this.setSelectedSettings(ce),ue&&this.setSelectedParentSettings(ue),null==ue&&null==ce){let ke=!1;this.settingsParent.forEach(Pe=>{this.router.url.includes(Pe.id)&&(ke=!0,this.setSelectedParentSettings(Pe.id))}),ke||(this.setSelectedParentSettings("general"),this.setSelectedSettings("about-us"))}this.closeOtherParent("",this.selectedParentSetting)}getTitle(){let ue=this.titleService.getTitle();return ue=ue.split(" - ")[0],ue}changeSetting(ue,ce){this.setSelectedSettings(ue),this.setSelectedParentSettings(ce)}getSelectedSetting(){return this.selectedSetting}getSelectedParentSetting(){return this.selectedParentSetting}getSettingsParent(){return this.settingsParent}closeOtherParent(ue,ce){this.settingsParent.forEach(ke=>{ke.opened=ce===ke.id})}getSettings(){return this.settings}getSettingsAction(ue,ce){let ke;return this.settings[ue].forEach(Pe=>{Pe.id===ce&&Pe.actions&&(ke=Pe.actions)}),ke}setSelectedSettings(ue){this.selectedSetting=ue,this.localStorage.save("selectedSettings",ue)}setSelectedParentSettings(ue){this.selectedParentSetting=ue,this.localStorage.save("selectedParentSettings",ue)}}return ee.\u0275fac=function(ue){return new(ue||ee)(c.LFG(m.F0),c.LFG(e.Dx),c.LFG(b.e),c.LFG(M.sK),c.LFG(k.e),c.LFG(F.n))},ee.\u0275prov=c.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})()},230:(N,U,C)=>{"use strict";C.d(U,{K:()=>k});var c=C(9958),m=C(5e3),e=C(6696),b=C(520),M=C(8543);let k=(()=>{class F{constructor(ee,z,ue){this.router=ee,this.http=z,this.localStorage=ue,this.user={}}setUser(ee){this.user=ee}getUser(){return this.user}getUserFromLocal(){const ee=this.getUserData();if(ee)return JSON.parse(atob(ee));"/"!==this.router.url&&"/login"!==this.router.url&&"/logout"!==this.router.url&&this.router.navigate(["/logout"]).then()}getUserData(){let ee="OpenCaptureUserData";return c.N.customId?ee+="_"+c.N.customId:c.N.fqdn&&(ee+="_"+c.N.fqdn),this.localStorage.get(ee)}}return F.\u0275fac=function(ee){return new(ee||F)(m.LFG(e.F0),m.LFG(b.eN),m.LFG(M.n))},F.\u0275prov=m.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})()},7088:function(N,U,C){!function(c){"use strict";c.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,b,M){return e<12?M?"vm":"VM":M?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(C(5439))},2502:function(N,U,C){!function(c){"use strict";var m=function(F){return 0===F?0:1===F?1:2===F?2:F%100>=3&&F%100<=10?3:F%100>=11?4:5},e={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},b=function(F){return function(G,ee,z,ue){var ce=m(G),ke=e[F][m(G)];return 2===ce&&(ke=ke[ee?0:1]),ke.replace(/%d/i,G)}},M=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];c.defineLocale("ar-dz",{months:M,monthsShort:M,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(F){return"\u0645"===F},meridiem:function(F,G,ee){return F<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:b("s"),ss:b("s"),m:b("m"),mm:b("m"),h:b("h"),hh:b("h"),d:b("d"),dd:b("d"),M:b("M"),MM:b("M"),y:b("y"),yy:b("y")},postformat:function(F){return F.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(C(5439))},128:function(N,U,C){!function(c){"use strict";c.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(C(5439))},4519:function(N,U,C){!function(c){"use strict";var m={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},e=function(G){return 0===G?0:1===G?1:2===G?2:G%100>=3&&G%100<=10?3:G%100>=11?4:5},b={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},M=function(G){return function(ee,z,ue,ce){var ke=e(ee),Pe=b[G][e(ee)];return 2===ke&&(Pe=Pe[z?0:1]),Pe.replace(/%d/i,ee)}},k=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];c.defineLocale("ar-ly",{months:k,monthsShort:k,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(G){return"\u0645"===G},meridiem:function(G,ee,z){return G<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:M("s"),ss:M("s"),m:M("m"),mm:M("m"),h:M("h"),hh:M("h"),d:M("d"),dd:M("d"),M:M("M"),MM:M("M"),y:M("y"),yy:M("y")},preparse:function(G){return G.replace(/\u060c/g,",")},postformat:function(G){return G.replace(/\d/g,function(ee){return m[ee]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(C(5439))},5443:function(N,U,C){!function(c){"use strict";c.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(C(5439))},7642:function(N,U,C){!function(c){"use strict";var m={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},e={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};c.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(M){return"\u0645"===M},meridiem:function(M,k,F){return M<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(M){return M.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(k){return e[k]}).replace(/\u060c/g,",")},postformat:function(M){return M.replace(/\d/g,function(k){return m[k]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(C(5439))},8592:function(N,U,C){!function(c){"use strict";c.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(C(5439))},7038:function(N,U,C){!function(c){"use strict";var m={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},e={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},b=function(ee){return 0===ee?0:1===ee?1:2===ee?2:ee%100>=3&&ee%100<=10?3:ee%100>=11?4:5},M={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},k=function(ee){return function(z,ue,ce,ke){var Pe=b(z),de=M[ee][b(z)];return 2===Pe&&(de=de[ue?0:1]),de.replace(/%d/i,z)}},F=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];c.defineLocale("ar",{months:F,monthsShort:F,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(ee){return"\u0645"===ee},meridiem:function(ee,z,ue){return ee<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:k("s"),ss:k("s"),m:k("m"),mm:k("m"),h:k("h"),hh:k("h"),d:k("d"),dd:k("d"),M:k("M"),MM:k("M"),y:k("y"),yy:k("y")},preparse:function(ee){return ee.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(z){return e[z]}).replace(/\u060c/g,",")},postformat:function(ee){return ee.replace(/\d/g,function(z){return m[z]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(C(5439))},1213:function(N,U,C){!function(c){"use strict";var m={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};c.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(b){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(b)},meridiem:function(b,M,k){return b<4?"gec\u0259":b<12?"s\u0259h\u0259r":b<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(b){if(0===b)return b+"-\u0131nc\u0131";var M=b%10;return b+(m[M]||m[b%100-M]||m[b>=100?100:null])},week:{dow:1,doy:7}})}(C(5439))},9191:function(N,U,C){!function(c){"use strict";function e(M,k,F){return"m"===F?k?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===F?k?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":M+" "+function m(M,k){var F=M.split("_");return k%10==1&&k%100!=11?F[0]:k%10>=2&&k%10<=4&&(k%100<10||k%100>=20)?F[1]:F[2]}({ss:k?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:k?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:k?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[F],+M)}c.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:e,mm:e,h:e,hh:e,d:"\u0434\u0437\u0435\u043d\u044c",dd:e,M:"\u043c\u0435\u0441\u044f\u0446",MM:e,y:"\u0433\u043e\u0434",yy:e},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(M){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(M)},meridiem:function(M,k,F){return M<4?"\u043d\u043e\u0447\u044b":M<12?"\u0440\u0430\u043d\u0456\u0446\u044b":M<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(M,k){switch(k){case"M":case"d":case"DDD":case"w":case"W":return M%10!=2&&M%10!=3||M%100==12||M%100==13?M+"-\u044b":M+"-\u0456";case"D":return M+"-\u0433\u0430";default:return M}},week:{dow:1,doy:7}})}(C(5439))},322:function(N,U,C){!function(c){"use strict";c.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var b=e%10,M=e%100;return 0===e?e+"-\u0435\u0432":0===M?e+"-\u0435\u043d":M>10&&M<20?e+"-\u0442\u0438":1===b?e+"-\u0432\u0438":2===b?e+"-\u0440\u0438":7===b||8===b?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(C(5439))},8042:function(N,U,C){!function(c){"use strict";c.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(C(5439))},5903:function(N,U,C){!function(c){"use strict";var m={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},e={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};c.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(M){return M.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(k){return e[k]})},postformat:function(M){return M.replace(/\d/g,function(k){return m[k]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(M,k){return 12===M&&(M=0),"\u09b0\u09be\u09a4"===k?M<4?M:M+12:"\u09ad\u09cb\u09b0"===k||"\u09b8\u0995\u09be\u09b2"===k?M:"\u09a6\u09c1\u09aa\u09c1\u09b0"===k?M>=3?M:M+12:"\u09ac\u09bf\u0995\u09be\u09b2"===k||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===k?M+12:void 0},meridiem:function(M,k,F){return M<4?"\u09b0\u09be\u09a4":M<6?"\u09ad\u09cb\u09b0":M<12?"\u09b8\u0995\u09be\u09b2":M<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":M<18?"\u09ac\u09bf\u0995\u09be\u09b2":M<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(C(5439))},9620:function(N,U,C){!function(c){"use strict";var m={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},e={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};c.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(M){return M.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(k){return e[k]})},postformat:function(M){return M.replace(/\d/g,function(k){return m[k]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(M,k){return 12===M&&(M=0),"\u09b0\u09be\u09a4"===k&&M>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===k&&M<5||"\u09ac\u09bf\u0995\u09be\u09b2"===k?M+12:M},meridiem:function(M,k,F){return M<4?"\u09b0\u09be\u09a4":M<10?"\u09b8\u0995\u09be\u09b2":M<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":M<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(C(5439))},9645:function(N,U,C){!function(c){"use strict";var m={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},e={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};c.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(M){return M.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(k){return e[k]})},postformat:function(M){return M.replace(/\d/g,function(k){return m[k]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(M,k){return 12===M&&(M=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===k&&M>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===k&&M<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===k?M+12:M},meridiem:function(M,k,F){return M<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":M<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":M<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":M<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(C(5439))},5020:function(N,U,C){!function(c){"use strict";function m(de,Ge,le){return de+" "+function M(de,Ge){return 2===Ge?function k(de){var Ge={m:"v",b:"v",d:"z"};return void 0===Ge[de.charAt(0)]?de:Ge[de.charAt(0)]+de.substring(1)}(de):de}({mm:"munutenn",MM:"miz",dd:"devezh"}[le],de)}function b(de){return de>9?b(de%10):de}var F=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],G=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,ke=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];c.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:ke,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:ke,monthsRegex:G,monthsShortRegex:G,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:F,longMonthsParse:F,shortMonthsParse:F,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:m,h:"un eur",hh:"%d eur",d:"un devezh",dd:m,M:"ur miz",MM:m,y:"ur bloaz",yy:function e(de){switch(b(de)){case 1:case 3:case 4:case 5:case 9:return de+" bloaz";default:return de+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(de){return de+(1===de?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(de){return"g.m."===de},meridiem:function(de,Ge,le){return de<12?"a.m.":"g.m."}})}(C(5439))},4792:function(N,U,C){!function(c){"use strict";function m(b,M,k){var F=b+" ";switch(k){case"ss":return F+(1===b?"sekunda":2===b||3===b||4===b?"sekunde":"sekundi");case"m":return M?"jedna minuta":"jedne minute";case"mm":return F+(1===b?"minuta":2===b||3===b||4===b?"minute":"minuta");case"h":return M?"jedan sat":"jednog sata";case"hh":return F+(1===b?"sat":2===b||3===b||4===b?"sata":"sati");case"dd":return F+(1===b?"dan":"dana");case"MM":return F+(1===b?"mjesec":2===b||3===b||4===b?"mjeseca":"mjeseci");case"yy":return F+(1===b?"godina":2===b||3===b||4===b?"godine":"godina")}}c.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:m,m,mm:m,h:m,hh:m,d:"dan",dd:m,M:"mjesec",MM:m,y:"godinu",yy:m},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(C(5439))},7980:function(N,U,C){!function(c){"use strict";c.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(e,b){var M=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8";return("w"===b||"W"===b)&&(M="a"),e+M},week:{dow:1,doy:4}})}(C(5439))},7322:function(N,U,C){!function(c){"use strict";var m={format:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),standalone:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_")},e="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),b=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],M=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function k(ee){return ee>1&&ee<5&&1!=~~(ee/10)}function F(ee,z,ue,ce){var ke=ee+" ";switch(ue){case"s":return z||ce?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return z||ce?ke+(k(ee)?"sekundy":"sekund"):ke+"sekundami";case"m":return z?"minuta":ce?"minutu":"minutou";case"mm":return z||ce?ke+(k(ee)?"minuty":"minut"):ke+"minutami";case"h":return z?"hodina":ce?"hodinu":"hodinou";case"hh":return z||ce?ke+(k(ee)?"hodiny":"hodin"):ke+"hodinami";case"d":return z||ce?"den":"dnem";case"dd":return z||ce?ke+(k(ee)?"dny":"dn\xed"):ke+"dny";case"M":return z||ce?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return z||ce?ke+(k(ee)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):ke+"m\u011bs\xedci";case"y":return z||ce?"rok":"rokem";case"yy":return z||ce?ke+(k(ee)?"roky":"let"):ke+"lety"}}c.defineLocale("cs",{months:m,monthsShort:e,monthsRegex:M,monthsShortRegex:M,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:b,longMonthsParse:b,shortMonthsParse:b,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:F,ss:F,m:F,mm:F,h:F,hh:F,d:F,dd:F,M:F,MM:F,y:F,yy:F},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},365:function(N,U,C){!function(c){"use strict";c.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(e){return e+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(e)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(e)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(C(5439))},2092:function(N,U,C){!function(c){"use strict";c.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var M="";return e>20?M=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(M=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+M},week:{dow:1,doy:4}})}(C(5439))},7387:function(N,U,C){!function(c){"use strict";c.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},9459:function(N,U,C){!function(c){"use strict";function m(b,M,k,F){var G={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[b+" Tage",b+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[b+" Monate",b+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[b+" Jahre",b+" Jahren"]};return M?G[k][0]:G[k][1]}c.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m,mm:"%d Minuten",h:m,hh:"%d Stunden",d:m,dd:m,w:m,ww:"%d Wochen",M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},3694:function(N,U,C){!function(c){"use strict";function m(b,M,k,F){var G={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[b+" Tage",b+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[b+" Monate",b+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[b+" Jahre",b+" Jahren"]};return M?G[k][0]:G[k][1]}c.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m,mm:"%d Minuten",h:m,hh:"%d Stunden",d:m,dd:m,w:m,ww:"%d Wochen",M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},4307:function(N,U,C){!function(c){"use strict";function m(b,M,k,F){var G={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[b+" Tage",b+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[b+" Monate",b+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[b+" Jahre",b+" Jahren"]};return M?G[k][0]:G[k][1]}c.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m,mm:"%d Minuten",h:m,hh:"%d Stunden",d:m,dd:m,w:m,ww:"%d Wochen",M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},9659:function(N,U,C){!function(c){"use strict";var m=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],e=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];c.defineLocale("dv",{months:m,monthsShort:m,weekdays:e,weekdaysShort:e,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(M){return"\u0789\u078a"===M},meridiem:function(M,k,F){return M<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(M){return M.replace(/\u060c/g,",")},postformat:function(M){return M.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(C(5439))},3460:function(N,U,C){!function(c){"use strict";c.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(b,M){return b?"string"==typeof M&&/D/.test(M.substring(0,M.indexOf("MMMM")))?this._monthsGenitiveEl[b.month()]:this._monthsNominativeEl[b.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(b,M,k){return b>11?k?"\u03bc\u03bc":"\u039c\u039c":k?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(b){return"\u03bc"===(b+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(b,M){var k=this._calendarEl[b],F=M&&M.hours();return function m(b){return"undefined"!=typeof Function&&b instanceof Function||"[object Function]"===Object.prototype.toString.call(b)}(k)&&(k=k.apply(M)),k.replace("{}",F%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(C(5439))},4369:function(N,U,C){!function(c){"use strict";c.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var b=e%10;return e+(1==~~(e%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:0,doy:4}})}(C(5439))},530:function(N,U,C){!function(c){"use strict";c.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var b=e%10;return e+(1==~~(e%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")}})}(C(5439))},9998:function(N,U,C){!function(c){"use strict";c.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var b=e%10;return e+(1==~~(e%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(C(5439))},3391:function(N,U,C){!function(c){"use strict";c.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var b=e%10;return e+(1==~~(e%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(C(5439))},5414:function(N,U,C){!function(c){"use strict";c.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var b=e%10;return e+(1==~~(e%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")}})}(C(5439))},9615:function(N,U,C){!function(c){"use strict";c.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var b=e%10;return e+(1==~~(e%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:0,doy:6}})}(C(5439))},1248:function(N,U,C){!function(c){"use strict";c.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var b=e%10;return e+(1==~~(e%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(C(5439))},3767:function(N,U,C){!function(c){"use strict";c.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var b=e%10;return e+(1==~~(e%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(C(5439))},4530:function(N,U,C){!function(c){"use strict";c.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,b,M){return e>11?M?"p.t.m.":"P.T.M.":M?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(C(5439))},8944:function(N,U,C){!function(c){"use strict";var m="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),e="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),b=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],M=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;c.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(F,G){return F?/-MMM-/.test(G)?e[F.month()]:m[F.month()]:m},monthsRegex:M,monthsShortRegex:M,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:b,longMonthsParse:b,shortMonthsParse:b,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(C(5439))},9116:function(N,U,C){!function(c){"use strict";var m="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),e="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),b=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],M=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;c.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(F,G){return F?/-MMM-/.test(G)?e[F.month()]:m[F.month()]:m},monthsRegex:M,monthsShortRegex:M,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:b,longMonthsParse:b,shortMonthsParse:b,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(C(5439))},3609:function(N,U,C){!function(c){"use strict";var m="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),e="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),b=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],M=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;c.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(F,G){return F?/-MMM-/.test(G)?e[F.month()]:m[F.month()]:m},monthsRegex:M,monthsShortRegex:M,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:b,longMonthsParse:b,shortMonthsParse:b,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(C(5439))},6866:function(N,U,C){!function(c){"use strict";var m="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),e="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),b=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],M=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;c.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(F,G){return F?/-MMM-/.test(G)?e[F.month()]:m[F.month()]:m},monthsRegex:M,monthsShortRegex:M,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:b,longMonthsParse:b,shortMonthsParse:b,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(C(5439))},6725:function(N,U,C){!function(c){"use strict";function m(b,M,k,F){var G={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[b+"sekundi",b+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[b+" minuti",b+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[b+" tunni",b+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[b+" kuu",b+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[b+" aasta",b+" aastat"]};return M?G[k][2]?G[k][2]:G[k][1]:F?G[k][0]:G[k][1]}c.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:m,ss:m,m,mm:m,h:m,hh:m,d:m,dd:"%d p\xe4eva",M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},7931:function(N,U,C){!function(c){"use strict";c.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(C(5439))},6417:function(N,U,C){!function(c){"use strict";var m={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},e={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};c.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(M){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(M)},meridiem:function(M,k,F){return M<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(M){return M.replace(/[\u06f0-\u06f9]/g,function(k){return e[k]}).replace(/\u060c/g,",")},postformat:function(M){return M.replace(/\d/g,function(k){return m[k]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(C(5439))},944:function(N,U,C){!function(c){"use strict";var m="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),e=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",m[7],m[8],m[9]];function b(F,G,ee,z){var ue="";switch(ee){case"s":return z?"muutaman sekunnin":"muutama sekunti";case"ss":ue=z?"sekunnin":"sekuntia";break;case"m":return z?"minuutin":"minuutti";case"mm":ue=z?"minuutin":"minuuttia";break;case"h":return z?"tunnin":"tunti";case"hh":ue=z?"tunnin":"tuntia";break;case"d":return z?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":ue=z?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return z?"kuukauden":"kuukausi";case"MM":ue=z?"kuukauden":"kuukautta";break;case"y":return z?"vuoden":"vuosi";case"yy":ue=z?"vuoden":"vuotta"}return function M(F,G){return F<10?G?e[F]:m[F]:F}(F,z)+" "+ue}c.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:b,ss:b,m:b,mm:b,h:b,hh:b,d:b,dd:b,M:b,MM:b,y:b,yy:b},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},1766:function(N,U,C){!function(c){"use strict";c.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(C(5439))},5867:function(N,U,C){!function(c){"use strict";c.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},6848:function(N,U,C){!function(c){"use strict";c.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,b){switch(b){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(C(5439))},7773:function(N,U,C){!function(c){"use strict";c.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,b){switch(b){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(C(5439))},1636:function(N,U,C){!function(c){"use strict";var b=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,M=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];c.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:b,monthsShortRegex:b,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:M,longMonthsParse:M,shortMonthsParse:M,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(F,G){switch(G){case"D":return F+(1===F?"er":"");default:case"M":case"Q":case"DDD":case"d":return F+(1===F?"er":"e");case"w":case"W":return F+(1===F?"re":"e")}},week:{dow:1,doy:4}})}(C(5439))},4940:function(N,U,C){!function(c){"use strict";var m="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),e="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");c.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(M,k){return M?/-MMM-/.test(k)?e[M.month()]:m[M.month()]:m},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(M){return M+(1===M||8===M||M>=20?"ste":"de")},week:{dow:1,doy:4}})}(C(5439))},1402:function(N,U,C){!function(c){"use strict";c.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(G){return G+(1===G?"d":G%10==2?"na":"mh")},week:{dow:1,doy:4}})}(C(5439))},6924:function(N,U,C){!function(c){"use strict";c.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(G){return G+(1===G?"d":G%10==2?"na":"mh")},week:{dow:1,doy:4}})}(C(5439))},6398:function(N,U,C){!function(c){"use strict";c.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(C(5439))},2457:function(N,U,C){!function(c){"use strict";function m(b,M,k,F){var G={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[b+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",b+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[b+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",b+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[b+" \u0935\u0930\u093e\u0902\u0928\u0940",b+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[b+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",b+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[b+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",b+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[b+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",b+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return F?G[k][0]:G[k][1]}c.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:m,ss:m,m,mm:m,h:m,hh:m,d:m,dd:m,M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(b,M){return"D"===M?b+"\u0935\u0947\u0930":b},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(b,M){return 12===b&&(b=0),"\u0930\u093e\u0924\u0940"===M?b<4?b:b+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===M?b:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===M?b>12?b:b+12:"\u0938\u093e\u0902\u091c\u0947"===M?b+12:void 0},meridiem:function(b,M,k){return b<4?"\u0930\u093e\u0924\u0940":b<12?"\u0938\u0915\u093e\u0933\u0940\u0902":b<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":b<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(C(5439))},2545:function(N,U,C){!function(c){"use strict";function m(b,M,k,F){var G={s:["thoddea sekondamni","thodde sekond"],ss:[b+" sekondamni",b+" sekond"],m:["eka mintan","ek minut"],mm:[b+" mintamni",b+" mintam"],h:["eka voran","ek vor"],hh:[b+" voramni",b+" voram"],d:["eka disan","ek dis"],dd:[b+" disamni",b+" dis"],M:["eka mhoinean","ek mhoino"],MM:[b+" mhoineamni",b+" mhoine"],y:["eka vorsan","ek voros"],yy:[b+" vorsamni",b+" vorsam"]};return F?G[k][0]:G[k][1]}c.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:m,ss:m,m,mm:m,h:m,hh:m,d:m,dd:m,M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(b,M){return"D"===M?b+"er":b},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(b,M){return 12===b&&(b=0),"rati"===M?b<4?b:b+12:"sokallim"===M?b:"donparam"===M?b>12?b:b+12:"sanje"===M?b+12:void 0},meridiem:function(b,M,k){return b<4?"rati":b<12?"sokallim":b<16?"donparam":b<20?"sanje":"rati"}})}(C(5439))},2641:function(N,U,C){!function(c){"use strict";var m={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},e={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};c.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(M){return M.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(k){return e[k]})},postformat:function(M){return M.replace(/\d/g,function(k){return m[k]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(M,k){return 12===M&&(M=0),"\u0ab0\u0abe\u0aa4"===k?M<4?M:M+12:"\u0ab8\u0ab5\u0abe\u0ab0"===k?M:"\u0aac\u0aaa\u0acb\u0ab0"===k?M>=10?M:M+12:"\u0ab8\u0abe\u0a82\u0a9c"===k?M+12:void 0},meridiem:function(M,k,F){return M<4?"\u0ab0\u0abe\u0aa4":M<10?"\u0ab8\u0ab5\u0abe\u0ab0":M<17?"\u0aac\u0aaa\u0acb\u0ab0":M<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(C(5439))},7536:function(N,U,C){!function(c){"use strict";c.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(e){return 2===e?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":e+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(e){return 2===e?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":e+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(e){return 2===e?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":e+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(e){return 2===e?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":e%10==0&&10!==e?e+" \u05e9\u05e0\u05d4":e+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(e){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(e)},meridiem:function(e,b,M){return e<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":e<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":e<12?M?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":e<18?M?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(C(5439))},6335:function(N,U,C){!function(c){"use strict";var m={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},e={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},b=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];c.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:b,longMonthsParse:b,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(F){return F.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(G){return e[G]})},postformat:function(F){return F.replace(/\d/g,function(G){return m[G]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(F,G){return 12===F&&(F=0),"\u0930\u093e\u0924"===G?F<4?F:F+12:"\u0938\u0941\u092c\u0939"===G?F:"\u0926\u094b\u092a\u0939\u0930"===G?F>=10?F:F+12:"\u0936\u093e\u092e"===G?F+12:void 0},meridiem:function(F,G,ee){return F<4?"\u0930\u093e\u0924":F<10?"\u0938\u0941\u092c\u0939":F<17?"\u0926\u094b\u092a\u0939\u0930":F<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(C(5439))},7458:function(N,U,C){!function(c){"use strict";function m(b,M,k){var F=b+" ";switch(k){case"ss":return F+(1===b?"sekunda":2===b||3===b||4===b?"sekunde":"sekundi");case"m":return M?"jedna minuta":"jedne minute";case"mm":return F+(1===b?"minuta":2===b||3===b||4===b?"minute":"minuta");case"h":return M?"jedan sat":"jednog sata";case"hh":return F+(1===b?"sat":2===b||3===b||4===b?"sata":"sati");case"dd":return F+(1===b?"dan":"dana");case"MM":return F+(1===b?"mjesec":2===b||3===b||4===b?"mjeseca":"mjeseci");case"yy":return F+(1===b?"godina":2===b||3===b||4===b?"godine":"godina")}}c.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:m,m,mm:m,h:m,hh:m,d:"dan",dd:m,M:"mjesec",MM:m,y:"godinu",yy:m},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(C(5439))},6540:function(N,U,C){!function(c){"use strict";var m="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function e(k,F,G,ee){var z=k;switch(G){case"s":return ee||F?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return z+(ee||F)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(ee||F?" perc":" perce");case"mm":return z+(ee||F?" perc":" perce");case"h":return"egy"+(ee||F?" \xf3ra":" \xf3r\xe1ja");case"hh":return z+(ee||F?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(ee||F?" nap":" napja");case"dd":return z+(ee||F?" nap":" napja");case"M":return"egy"+(ee||F?" h\xf3nap":" h\xf3napja");case"MM":return z+(ee||F?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(ee||F?" \xe9v":" \xe9ve");case"yy":return z+(ee||F?" \xe9v":" \xe9ve")}return""}function b(k){return(k?"":"[m\xfalt] ")+"["+m[this.day()]+"] LT[-kor]"}c.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(k){return"u"===k.charAt(1).toLowerCase()},meridiem:function(k,F,G){return k<12?!0===G?"de":"DE":!0===G?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return b.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return b.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},5283:function(N,U,C){!function(c){"use strict";c.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(e){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(e)},meridiem:function(e){return e<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":e<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":e<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(e,b){switch(b){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-\u056b\u0576":e+"-\u0580\u0564";default:return e}},week:{dow:1,doy:7}})}(C(5439))},8780:function(N,U,C){!function(c){"use strict";c.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,b){return 12===e&&(e=0),"pagi"===b?e:"siang"===b?e>=11?e:e+12:"sore"===b||"malam"===b?e+12:void 0},meridiem:function(e,b,M){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(C(5439))},4205:function(N,U,C){!function(c){"use strict";function m(M){return M%100==11||M%10!=1}function e(M,k,F,G){var ee=M+" ";switch(F){case"s":return k||G?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return m(M)?ee+(k||G?"sek\xfandur":"sek\xfandum"):ee+"sek\xfanda";case"m":return k?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return m(M)?ee+(k||G?"m\xedn\xfatur":"m\xedn\xfatum"):k?ee+"m\xedn\xfata":ee+"m\xedn\xfatu";case"hh":return m(M)?ee+(k||G?"klukkustundir":"klukkustundum"):ee+"klukkustund";case"d":return k?"dagur":G?"dag":"degi";case"dd":return m(M)?k?ee+"dagar":ee+(G?"daga":"d\xf6gum"):k?ee+"dagur":ee+(G?"dag":"degi");case"M":return k?"m\xe1nu\xf0ur":G?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return m(M)?k?ee+"m\xe1nu\xf0ir":ee+(G?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):k?ee+"m\xe1nu\xf0ur":ee+(G?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return k||G?"\xe1r":"\xe1ri";case"yy":return m(M)?ee+(k||G?"\xe1r":"\xe1rum"):ee+(k||G?"\xe1r":"\xe1ri")}}c.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:e,ss:e,m:e,mm:e,h:"klukkustund",hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},9985:function(N,U,C){!function(c){"use strict";c.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(C(5439))},4211:function(N,U,C){!function(c){"use strict";c.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(C(5439))},1003:function(N,U,C){!function(c){"use strict";c.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(e,b){return"\u5143"===b[1]?1:parseInt(b[1]||e,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(e){return"\u5348\u5f8c"===e},meridiem:function(e,b,M){return e<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(e){return e.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(e){return this.week()!==e.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(e,b){switch(b){case"y":return 1===e?"\u5143\u5e74":e+"\u5e74";case"d":case"D":case"DDD":return e+"\u65e5";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(C(5439))},420:function(N,U,C){!function(c){"use strict";c.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,b){return 12===e&&(e=0),"enjing"===b?e:"siyang"===b?e>=11?e:e+12:"sonten"===b||"ndalu"===b?e+12:void 0},meridiem:function(e,b,M){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(C(5439))},851:function(N,U,C){!function(c){"use strict";c.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(b,M,k){return"\u10d8"===k?M+"\u10e8\u10d8":M+k+"\u10e8\u10d8"})},past:function(e){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(e)?e.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(e)?e.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):e},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(e){return 0===e?e:1===e?e+"-\u10da\u10d8":e<20||e<=100&&e%20==0||e%100==0?"\u10db\u10d4-"+e:e+"-\u10d4"},week:{dow:1,doy:7}})}(C(5439))},6074:function(N,U,C){!function(c){"use strict";var m={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};c.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(b){return b+(m[b]||m[b%10]||m[b>=100?100:null])},week:{dow:1,doy:7}})}(C(5439))},3343:function(N,U,C){!function(c){"use strict";var m={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},e={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};c.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(M){return"\u179b\u17d2\u1784\u17b6\u1785"===M},meridiem:function(M,k,F){return M<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(M){return M.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(k){return e[k]})},postformat:function(M){return M.replace(/\d/g,function(k){return m[k]})},week:{dow:1,doy:4}})}(C(5439))},4799:function(N,U,C){!function(c){"use strict";var m={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},e={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};c.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(M){return M.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(k){return e[k]})},postformat:function(M){return M.replace(/\d/g,function(k){return m[k]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(M,k){return 12===M&&(M=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===k?M<4?M:M+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===k?M:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===k?M>=10?M:M+12:"\u0cb8\u0c82\u0c9c\u0cc6"===k?M+12:void 0},meridiem:function(M,k,F){return M<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":M<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":M<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":M<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(M){return M+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(C(5439))},3549:function(N,U,C){!function(c){"use strict";c.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(e,b){switch(b){case"d":case"D":case"DDD":return e+"\uc77c";case"M":return e+"\uc6d4";case"w":case"W":return e+"\uc8fc";default:return e}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(e){return"\uc624\ud6c4"===e},meridiem:function(e,b,M){return e<12?"\uc624\uc804":"\uc624\ud6c4"}})}(C(5439))},1037:function(N,U,C){!function(c){"use strict";var m={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},e={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},b=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];c.defineLocale("ku",{months:b,monthsShort:b,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(k){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(k)},meridiem:function(k,F,G){return k<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(k){return k.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(F){return e[F]}).replace(/\u060c/g,",")},postformat:function(k){return k.replace(/\d/g,function(F){return m[F]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(C(5439))},3125:function(N,U,C){!function(c){"use strict";var m={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};c.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(b){return b+(m[b]||m[b%10]||m[b>=100?100:null])},week:{dow:1,doy:7}})}(C(5439))},9586:function(N,U,C){!function(c){"use strict";function m(F,G,ee,z){var ue={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return G?ue[ee][0]:ue[ee][1]}function M(F){if(F=parseInt(F,10),isNaN(F))return!1;if(F<0)return!0;if(F<10)return 4<=F&&F<=7;if(F<100){var G=F%10;return M(0===G?F/10:G)}if(F<1e4){for(;F>=10;)F/=10;return M(F)}return M(F/=1e3)}c.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function e(F){return M(F.substr(0,F.indexOf(" ")))?"a "+F:"an "+F},past:function b(F){return M(F.substr(0,F.indexOf(" ")))?"viru "+F:"virun "+F},s:"e puer Sekonnen",ss:"%d Sekonnen",m,mm:"%d Minutten",h:m,hh:"%d Stonnen",d:m,dd:"%d Deeg",M:m,MM:"%d M\xe9int",y:m,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},2349:function(N,U,C){!function(c){"use strict";c.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(e){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===e},meridiem:function(e,b,M){return e<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(e){return"\u0e97\u0eb5\u0ec8"+e}})}(C(5439))},2400:function(N,U,C){!function(c){"use strict";var m={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function b(ee,z,ue,ce){return z?k(ue)[0]:ce?k(ue)[1]:k(ue)[2]}function M(ee){return ee%10==0||ee>10&&ee<20}function k(ee){return m[ee].split("_")}function F(ee,z,ue,ce){var ke=ee+" ";return 1===ee?ke+b(0,z,ue[0],ce):z?ke+(M(ee)?k(ue)[1]:k(ue)[0]):ce?ke+k(ue)[1]:ke+(M(ee)?k(ue)[1]:k(ue)[2])}c.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function e(ee,z,ue,ce){return z?"kelios sekund\u0117s":ce?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:F,m:b,mm:F,h:b,hh:F,d:b,dd:F,M:b,MM:F,y:b,yy:F},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(ee){return ee+"-oji"},week:{dow:1,doy:4}})}(C(5439))},9991:function(N,U,C){!function(c){"use strict";var m={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function e(G,ee,z){return z?ee%10==1&&ee%100!=11?G[2]:G[3]:ee%10==1&&ee%100!=11?G[0]:G[1]}function b(G,ee,z){return G+" "+e(m[z],G,ee)}function M(G,ee,z){return e(m[z],G,ee)}c.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function k(G,ee){return ee?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:b,m:M,mm:b,h:M,hh:b,d:M,dd:b,M,MM:b,y:M,yy:b},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},8477:function(N,U,C){!function(c){"use strict";var m={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(b,M){return 1===b?M[0]:b>=2&&b<=4?M[1]:M[2]},translate:function(b,M,k){var F=m.words[k];return 1===k.length?M?F[0]:F[1]:b+" "+m.correctGrammaticalCase(b,F)}};c.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:m.translate,m:m.translate,mm:m.translate,h:m.translate,hh:m.translate,d:"dan",dd:m.translate,M:"mjesec",MM:m.translate,y:"godinu",yy:m.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(C(5439))},5118:function(N,U,C){!function(c){"use strict";c.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(C(5439))},5943:function(N,U,C){!function(c){"use strict";c.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var b=e%10,M=e%100;return 0===e?e+"-\u0435\u0432":0===M?e+"-\u0435\u043d":M>10&&M<20?e+"-\u0442\u0438":1===b?e+"-\u0432\u0438":2===b?e+"-\u0440\u0438":7===b||8===b?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(C(5439))},3849:function(N,U,C){!function(c){"use strict";c.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(e,b){return 12===e&&(e=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===b&&e>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===b||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===b?e+12:e},meridiem:function(e,b,M){return e<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":e<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":e<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":e<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(C(5439))},1977:function(N,U,C){!function(c){"use strict";function m(b,M,k,F){switch(k){case"s":return M?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return b+(M?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return b+(M?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return b+(M?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return b+(M?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return b+(M?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return b+(M?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return b}}c.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(b){return"\u04ae\u0425"===b},meridiem:function(b,M,k){return b<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:m,ss:m,m,mm:m,h:m,hh:m,d:m,dd:m,M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(b,M){switch(M){case"d":case"D":case"DDD":return b+" \u04e9\u0434\u04e9\u0440";default:return b}}})}(C(5439))},6184:function(N,U,C){!function(c){"use strict";var m={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},e={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function b(k,F,G,ee){var z="";if(F)switch(G){case"s":z="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":z="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":z="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":z="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":z="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":z="%d \u0924\u093e\u0938";break;case"d":z="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":z="%d \u0926\u093f\u0935\u0938";break;case"M":z="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":z="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":z="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":z="%d \u0935\u0930\u094d\u0937\u0947"}else switch(G){case"s":z="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":z="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":z="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":z="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":z="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":z="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":z="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":z="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":z="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":z="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":z="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":z="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return z.replace(/%d/i,k)}c.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:b,ss:b,m:b,mm:b,h:b,hh:b,d:b,dd:b,M:b,MM:b,y:b,yy:b},preparse:function(k){return k.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(F){return e[F]})},postformat:function(k){return k.replace(/\d/g,function(F){return m[F]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(k,F){return 12===k&&(k=0),"\u092a\u0939\u093e\u091f\u0947"===F||"\u0938\u0915\u093e\u0933\u0940"===F?k:"\u0926\u0941\u092a\u093e\u0930\u0940"===F||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===F||"\u0930\u093e\u0924\u094d\u0930\u0940"===F?k>=12?k:k+12:void 0},meridiem:function(k,F,G){return k>=0&&k<6?"\u092a\u0939\u093e\u091f\u0947":k<12?"\u0938\u0915\u093e\u0933\u0940":k<17?"\u0926\u0941\u092a\u093e\u0930\u0940":k<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(C(5439))},4524:function(N,U,C){!function(c){"use strict";c.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,b){return 12===e&&(e=0),"pagi"===b?e:"tengahari"===b?e>=11?e:e+12:"petang"===b||"malam"===b?e+12:void 0},meridiem:function(e,b,M){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(C(5439))},485:function(N,U,C){!function(c){"use strict";c.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,b){return 12===e&&(e=0),"pagi"===b?e:"tengahari"===b?e>=11?e:e+12:"petang"===b||"malam"===b?e+12:void 0},meridiem:function(e,b,M){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(C(5439))},6681:function(N,U,C){!function(c){"use strict";c.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(C(5439))},2024:function(N,U,C){!function(c){"use strict";var m={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},e={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};c.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(M){return M.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(k){return e[k]})},postformat:function(M){return M.replace(/\d/g,function(k){return m[k]})},week:{dow:1,doy:4}})}(C(5439))},2688:function(N,U,C){!function(c){"use strict";c.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},8914:function(N,U,C){!function(c){"use strict";var m={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},e={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};c.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(M){return M.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(k){return e[k]})},postformat:function(M){return M.replace(/\d/g,function(k){return m[k]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(M,k){return 12===M&&(M=0),"\u0930\u093e\u0924\u093f"===k?M<4?M:M+12:"\u092c\u093f\u0939\u093e\u0928"===k?M:"\u0926\u093f\u0909\u0901\u0938\u094b"===k?M>=10?M:M+12:"\u0938\u093e\u0901\u091d"===k?M+12:void 0},meridiem:function(M,k,F){return M<3?"\u0930\u093e\u0924\u093f":M<12?"\u092c\u093f\u0939\u093e\u0928":M<16?"\u0926\u093f\u0909\u0901\u0938\u094b":M<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(C(5439))},2272:function(N,U,C){!function(c){"use strict";var m="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),e="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),b=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],M=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;c.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(F,G){return F?/-MMM-/.test(G)?e[F.month()]:m[F.month()]:m},monthsRegex:M,monthsShortRegex:M,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:b,longMonthsParse:b,shortMonthsParse:b,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(F){return F+(1===F||8===F||F>=20?"ste":"de")},week:{dow:1,doy:4}})}(C(5439))},1758:function(N,U,C){!function(c){"use strict";var m="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),e="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),b=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],M=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;c.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(F,G){return F?/-MMM-/.test(G)?e[F.month()]:m[F.month()]:m},monthsRegex:M,monthsShortRegex:M,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:b,longMonthsParse:b,shortMonthsParse:b,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(F){return F+(1===F||8===F||F>=20?"ste":"de")},week:{dow:1,doy:4}})}(C(5439))},1510:function(N,U,C){!function(c){"use strict";c.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},2797:function(N,U,C){!function(c){"use strict";c.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(e,b){var M=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8";return("w"===b||"W"===b)&&(M="a"),e+M},week:{dow:1,doy:4}})}(C(5439))},7944:function(N,U,C){!function(c){"use strict";var m={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},e={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};c.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(M){return M.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(k){return e[k]})},postformat:function(M){return M.replace(/\d/g,function(k){return m[k]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(M,k){return 12===M&&(M=0),"\u0a30\u0a3e\u0a24"===k?M<4?M:M+12:"\u0a38\u0a35\u0a47\u0a30"===k?M:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===k?M>=10?M:M+12:"\u0a38\u0a3c\u0a3e\u0a2e"===k?M+12:void 0},meridiem:function(M,k,F){return M<4?"\u0a30\u0a3e\u0a24":M<10?"\u0a38\u0a35\u0a47\u0a30":M<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":M<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(C(5439))},1605:function(N,U,C){!function(c){"use strict";var m="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),e="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),b=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function M(G){return G%10<5&&G%10>1&&~~(G/10)%10!=1}function k(G,ee,z){var ue=G+" ";switch(z){case"ss":return ue+(M(G)?"sekundy":"sekund");case"m":return ee?"minuta":"minut\u0119";case"mm":return ue+(M(G)?"minuty":"minut");case"h":return ee?"godzina":"godzin\u0119";case"hh":return ue+(M(G)?"godziny":"godzin");case"ww":return ue+(M(G)?"tygodnie":"tygodni");case"MM":return ue+(M(G)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return ue+(M(G)?"lata":"lat")}}c.defineLocale("pl",{months:function(G,ee){return G?/D MMMM/.test(ee)?e[G.month()]:m[G.month()]:m},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:b,longMonthsParse:b,shortMonthsParse:b,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:k,m:k,mm:k,h:k,hh:k,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:k,M:"miesi\u0105c",MM:k,y:"rok",yy:k},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},3840:function(N,U,C){!function(c){"use strict";c.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(C(5439))},4225:function(N,U,C){!function(c){"use strict";c.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(C(5439))},5128:function(N,U,C){!function(c){"use strict";function m(b,M,k){var G=" ";return(b%100>=20||b>=100&&b%100==0)&&(G=" de "),b+G+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[k]}c.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:m,m:"un minut",mm:m,h:"o or\u0103",hh:m,d:"o zi",dd:m,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:m,M:"o lun\u0103",MM:m,y:"un an",yy:m},week:{dow:1,doy:7}})}(C(5439))},5127:function(N,U,C){!function(c){"use strict";function e(k,F,G){return"m"===G?F?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":k+" "+function m(k,F){var G=k.split("_");return F%10==1&&F%100!=11?G[0]:F%10>=2&&F%10<=4&&(F%100<10||F%100>=20)?G[1]:G[2]}({ss:F?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:F?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[G],+k)}var b=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];c.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:b,longMonthsParse:b,shortMonthsParse:b,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(k){if(k.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(k){if(k.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:e,m:e,mm:e,h:"\u0447\u0430\u0441",hh:e,d:"\u0434\u0435\u043d\u044c",dd:e,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:e,M:"\u043c\u0435\u0441\u044f\u0446",MM:e,y:"\u0433\u043e\u0434",yy:e},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(k){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(k)},meridiem:function(k,F,G){return k<4?"\u043d\u043e\u0447\u0438":k<12?"\u0443\u0442\u0440\u0430":k<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(k,F){switch(F){case"M":case"d":case"DDD":return k+"-\u0439";case"D":return k+"-\u0433\u043e";case"w":case"W":return k+"-\u044f";default:return k}},week:{dow:1,doy:4}})}(C(5439))},2525:function(N,U,C){!function(c){"use strict";var m=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],e=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];c.defineLocale("sd",{months:m,monthsShort:m,weekdays:e,weekdaysShort:e,weekdaysMin:e,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(M){return"\u0634\u0627\u0645"===M},meridiem:function(M,k,F){return M<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(M){return M.replace(/\u060c/g,",")},postformat:function(M){return M.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(C(5439))},9893:function(N,U,C){!function(c){"use strict";c.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},3123:function(N,U,C){!function(c){"use strict";c.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(e){return e+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(e){return"\u0db4.\u0dc0."===e||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===e},meridiem:function(e,b,M){return e>11?M?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":M?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(C(5439))},3027:function(N,U,C){!function(c){"use strict";var m="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),e="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function b(F){return F>1&&F<5}function M(F,G,ee,z){var ue=F+" ";switch(ee){case"s":return G||z?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return G||z?ue+(b(F)?"sekundy":"sek\xfand"):ue+"sekundami";case"m":return G?"min\xfata":z?"min\xfatu":"min\xfatou";case"mm":return G||z?ue+(b(F)?"min\xfaty":"min\xfat"):ue+"min\xfatami";case"h":return G?"hodina":z?"hodinu":"hodinou";case"hh":return G||z?ue+(b(F)?"hodiny":"hod\xedn"):ue+"hodinami";case"d":return G||z?"de\u0148":"d\u0148om";case"dd":return G||z?ue+(b(F)?"dni":"dn\xed"):ue+"d\u0148ami";case"M":return G||z?"mesiac":"mesiacom";case"MM":return G||z?ue+(b(F)?"mesiace":"mesiacov"):ue+"mesiacmi";case"y":return G||z?"rok":"rokom";case"yy":return G||z?ue+(b(F)?"roky":"rokov"):ue+"rokmi"}}c.defineLocale("sk",{months:m,monthsShort:e,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:M,ss:M,m:M,mm:M,h:M,hh:M,d:M,dd:M,M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},8106:function(N,U,C){!function(c){"use strict";function m(b,M,k,F){var G=b+" ";switch(k){case"s":return M||F?"nekaj sekund":"nekaj sekundami";case"ss":return G+(1===b?M?"sekundo":"sekundi":2===b?M||F?"sekundi":"sekundah":b<5?M||F?"sekunde":"sekundah":"sekund");case"m":return M?"ena minuta":"eno minuto";case"mm":return G+(1===b?M?"minuta":"minuto":2===b?M||F?"minuti":"minutama":b<5?M||F?"minute":"minutami":M||F?"minut":"minutami");case"h":return M?"ena ura":"eno uro";case"hh":return G+(1===b?M?"ura":"uro":2===b?M||F?"uri":"urama":b<5?M||F?"ure":"urami":M||F?"ur":"urami");case"d":return M||F?"en dan":"enim dnem";case"dd":return G+(1===b?M||F?"dan":"dnem":2===b?M||F?"dni":"dnevoma":M||F?"dni":"dnevi");case"M":return M||F?"en mesec":"enim mesecem";case"MM":return G+(1===b?M||F?"mesec":"mesecem":2===b?M||F?"meseca":"mesecema":b<5?M||F?"mesece":"meseci":M||F?"mesecev":"meseci");case"y":return M||F?"eno leto":"enim letom";case"yy":return G+(1===b?M||F?"leto":"letom":2===b?M||F?"leti":"letoma":b<5?M||F?"leta":"leti":M||F?"let":"leti")}}c.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:m,ss:m,m,mm:m,h:m,hh:m,d:m,dd:m,M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(C(5439))},8799:function(N,U,C){!function(c){"use strict";c.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,b,M){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},2872:function(N,U,C){!function(c){"use strict";var m={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(b,M){return b%10>=1&&b%10<=4&&(b%100<10||b%100>=20)?b%10==1?M[0]:M[1]:M[2]},translate:function(b,M,k,F){var ee,G=m.words[k];return 1===k.length?"y"===k&&M?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":F||M?G[0]:G[1]:(ee=m.correctGrammaticalCase(b,G),"yy"===k&&M&&"\u0433\u043e\u0434\u0438\u043d\u0443"===ee?b+" \u0433\u043e\u0434\u0438\u043d\u0430":b+" "+ee)}};c.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:m.translate,m:m.translate,mm:m.translate,h:m.translate,hh:m.translate,d:m.translate,dd:m.translate,M:m.translate,MM:m.translate,y:m.translate,yy:m.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(C(5439))},7949:function(N,U,C){!function(c){"use strict";var m={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(b,M){return b%10>=1&&b%10<=4&&(b%100<10||b%100>=20)?b%10==1?M[0]:M[1]:M[2]},translate:function(b,M,k,F){var ee,G=m.words[k];return 1===k.length?"y"===k&&M?"jedna godina":F||M?G[0]:G[1]:(ee=m.correctGrammaticalCase(b,G),"yy"===k&&M&&"godinu"===ee?b+" godina":b+" "+ee)}};c.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:m.translate,m:m.translate,mm:m.translate,h:m.translate,hh:m.translate,d:m.translate,dd:m.translate,M:m.translate,MM:m.translate,y:m.translate,yy:m.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(C(5439))},6167:function(N,U,C){!function(c){"use strict";c.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,b,M){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,b){return 12===e&&(e=0),"ekuseni"===b?e:"emini"===b?e>=11?e:e+12:"entsambama"===b||"ebusuku"===b?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(C(5439))},9713:function(N,U,C){!function(c){"use strict";c.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var b=e%10;return e+(1==~~(e%100/10)?":e":1===b||2===b?":a":":e")},week:{dow:1,doy:4}})}(C(5439))},1982:function(N,U,C){!function(c){"use strict";c.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(C(5439))},2732:function(N,U,C){!function(c){"use strict";var m={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},e={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};c.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(M){return M+"\u0bb5\u0ba4\u0bc1"},preparse:function(M){return M.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(k){return e[k]})},postformat:function(M){return M.replace(/\d/g,function(k){return m[k]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(M,k,F){return M<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":M<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":M<10?" \u0b95\u0bbe\u0bb2\u0bc8":M<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":M<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":M<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(M,k){return 12===M&&(M=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===k?M<2?M:M+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===k||"\u0b95\u0bbe\u0bb2\u0bc8"===k||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===k&&M>=10?M:M+12},week:{dow:0,doy:6}})}(C(5439))},3636:function(N,U,C){!function(c){"use strict";c.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(e,b){return 12===e&&(e=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===b?e<4?e:e+12:"\u0c09\u0c26\u0c2f\u0c02"===b?e:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===b?e>=10?e:e+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===b?e+12:void 0},meridiem:function(e,b,M){return e<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":e<10?"\u0c09\u0c26\u0c2f\u0c02":e<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":e<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(C(5439))},2115:function(N,U,C){!function(c){"use strict";c.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var b=e%10;return e+(1==~~(e%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(C(5439))},9801:function(N,U,C){!function(c){"use strict";var m={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};c.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(b,M){return 12===b&&(b=0),"\u0448\u0430\u0431"===M?b<4?b:b+12:"\u0441\u0443\u0431\u04b3"===M?b:"\u0440\u04ef\u0437"===M?b>=11?b:b+12:"\u0431\u0435\u0433\u043e\u04b3"===M?b+12:void 0},meridiem:function(b,M,k){return b<4?"\u0448\u0430\u0431":b<11?"\u0441\u0443\u0431\u04b3":b<16?"\u0440\u04ef\u0437":b<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(b){return b+(m[b]||m[b%10]||m[b>=100?100:null])},week:{dow:1,doy:7}})}(C(5439))},2868:function(N,U,C){!function(c){"use strict";c.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(e){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===e},meridiem:function(e,b,M){return e<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(C(5439))},1310:function(N,U,C){!function(c){"use strict";var m={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};c.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(b,M){switch(M){case"d":case"D":case"Do":case"DD":return b;default:if(0===b)return b+"'unjy";var k=b%10;return b+(m[k]||m[b%100-k]||m[b>=100?100:null])}},week:{dow:1,doy:7}})}(C(5439))},2360:function(N,U,C){!function(c){"use strict";c.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(C(5439))},6645:function(N,U,C){!function(c){"use strict";var m="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function M(G,ee,z,ue){var ce=function k(G){var ee=Math.floor(G%1e3/100),z=Math.floor(G%100/10),ue=G%10,ce="";return ee>0&&(ce+=m[ee]+"vatlh"),z>0&&(ce+=(""!==ce?" ":"")+m[z]+"maH"),ue>0&&(ce+=(""!==ce?" ":"")+m[ue]),""===ce?"pagh":ce}(G);switch(z){case"ss":return ce+" lup";case"mm":return ce+" tup";case"hh":return ce+" rep";case"dd":return ce+" jaj";case"MM":return ce+" jar";case"yy":return ce+" DIS"}}c.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function e(G){var ee=G;return-1!==G.indexOf("jaj")?ee.slice(0,-3)+"leS":-1!==G.indexOf("jar")?ee.slice(0,-3)+"waQ":-1!==G.indexOf("DIS")?ee.slice(0,-3)+"nem":ee+" pIq"},past:function b(G){var ee=G;return-1!==G.indexOf("jaj")?ee.slice(0,-3)+"Hu\u2019":-1!==G.indexOf("jar")?ee.slice(0,-3)+"wen":-1!==G.indexOf("DIS")?ee.slice(0,-3)+"ben":ee+" ret"},s:"puS lup",ss:M,m:"wa\u2019 tup",mm:M,h:"wa\u2019 rep",hh:M,d:"wa\u2019 jaj",dd:M,M:"wa\u2019 jar",MM:M,y:"wa\u2019 DIS",yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},8374:function(N,U,C){!function(c){"use strict";var m={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};c.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(b,M,k){return b<12?k?"\xf6\xf6":"\xd6\xd6":k?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(b){return"\xf6s"===b||"\xd6S"===b},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(b,M){switch(M){case"d":case"D":case"Do":case"DD":return b;default:if(0===b)return b+"'\u0131nc\u0131";var k=b%10;return b+(m[k]||m[b%100-k]||m[b>=100?100:null])}},week:{dow:1,doy:7}})}(C(5439))},256:function(N,U,C){!function(c){"use strict";function e(b,M,k,F){var G={s:["viensas secunds","'iensas secunds"],ss:[b+" secunds",b+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[b+" m\xeduts",b+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[b+" \xfeoras",b+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[b+" ziuas",b+" ziuas"],M:["'n mes","'iens mes"],MM:[b+" mesen",b+" mesen"],y:["'n ar","'iens ar"],yy:[b+" ars",b+" ars"]};return F||M?G[k][0]:G[k][1]}c.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(b){return"d'o"===b.toLowerCase()},meridiem:function(b,M,k){return b>11?k?"d'o":"D'O":k?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},1631:function(N,U,C){!function(c){"use strict";c.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(C(5439))},1595:function(N,U,C){!function(c){"use strict";c.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(C(5439))},6050:function(N,U,C){!function(c){"use strict";c.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(e,b){return 12===e&&(e=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===b||"\u0633\u06d5\u06be\u06d5\u0631"===b||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===b?e:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===b||"\u0643\u06d5\u0686"===b?e+12:e>=11?e:e+12},meridiem:function(e,b,M){var k=100*e+b;return k<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":k<900?"\u0633\u06d5\u06be\u06d5\u0631":k<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":k<1230?"\u0686\u06c8\u0634":k<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(e,b){switch(b){case"d":case"D":case"DDD":return e+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return e+"-\u06be\u06d5\u067e\u062a\u06d5";default:return e}},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(C(5439))},5610:function(N,U,C){!function(c){"use strict";function e(F,G,ee){return"m"===ee?G?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===ee?G?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":F+" "+function m(F,G){var ee=F.split("_");return G%10==1&&G%100!=11?ee[0]:G%10>=2&&G%10<=4&&(G%100<10||G%100>=20)?ee[1]:ee[2]}({ss:G?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:G?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:G?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[ee],+F)}function M(F){return function(){return F+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}c.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function b(F,G){var ee={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===F?ee.nominative.slice(1,7).concat(ee.nominative.slice(0,1)):F?ee[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(G)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(G)?"genitive":"nominative"][F.day()]:ee.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:M("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:M("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:M("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:M("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return M("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return M("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:e,m:e,mm:e,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:e,d:"\u0434\u0435\u043d\u044c",dd:e,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:e,y:"\u0440\u0456\u043a",yy:e},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(F){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(F)},meridiem:function(F,G,ee){return F<4?"\u043d\u043e\u0447\u0456":F<12?"\u0440\u0430\u043d\u043a\u0443":F<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(F,G){switch(G){case"M":case"d":case"DDD":case"w":case"W":return F+"-\u0439";case"D":return F+"-\u0433\u043e";default:return F}},week:{dow:1,doy:7}})}(C(5439))},6077:function(N,U,C){!function(c){"use strict";var m=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],e=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];c.defineLocale("ur",{months:m,monthsShort:m,weekdays:e,weekdaysShort:e,weekdaysMin:e,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(M){return"\u0634\u0627\u0645"===M},meridiem:function(M,k,F){return M<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(M){return M.replace(/\u060c/g,",")},postformat:function(M){return M.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(C(5439))},2207:function(N,U,C){!function(c){"use strict";c.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(C(5439))},2862:function(N,U,C){!function(c){"use strict";c.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(C(5439))},8093:function(N,U,C){!function(c){"use strict";c.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,b,M){return e<12?M?"sa":"SA":M?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(C(5439))},5590:function(N,U,C){!function(c){"use strict";c.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var b=e%10;return e+(1==~~(e%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(C(5439))},9058:function(N,U,C){!function(c){"use strict";c.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(C(5439))},7908:function(N,U,C){!function(c){"use strict";c.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,b){return 12===e&&(e=0),"\u51cc\u6668"===b||"\u65e9\u4e0a"===b||"\u4e0a\u5348"===b?e:"\u4e0b\u5348"===b||"\u665a\u4e0a"===b?e+12:e>=11?e:e+12},meridiem:function(e,b,M){var k=100*e+b;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1130?"\u4e0a\u5348":k<1230?"\u4e2d\u5348":k<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(e){return e.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(e){return this.week()!==e.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(e,b){switch(b){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u5468";default:return e}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(C(5439))},8867:function(N,U,C){!function(c){"use strict";c.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,b){return 12===e&&(e=0),"\u51cc\u6668"===b||"\u65e9\u4e0a"===b||"\u4e0a\u5348"===b?e:"\u4e2d\u5348"===b?e>=11?e:e+12:"\u4e0b\u5348"===b||"\u665a\u4e0a"===b?e+12:void 0},meridiem:function(e,b,M){var k=100*e+b;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1200?"\u4e0a\u5348":1200===k?"\u4e2d\u5348":k<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,b){switch(b){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(C(5439))},1133:function(N,U,C){!function(c){"use strict";c.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,b){return 12===e&&(e=0),"\u51cc\u6668"===b||"\u65e9\u4e0a"===b||"\u4e0a\u5348"===b?e:"\u4e2d\u5348"===b?e>=11?e:e+12:"\u4e0b\u5348"===b||"\u665a\u4e0a"===b?e+12:void 0},meridiem:function(e,b,M){var k=100*e+b;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1130?"\u4e0a\u5348":k<1230?"\u4e2d\u5348":k<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,b){switch(b){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(C(5439))},3291:function(N,U,C){!function(c){"use strict";c.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,b){return 12===e&&(e=0),"\u51cc\u6668"===b||"\u65e9\u4e0a"===b||"\u4e0a\u5348"===b?e:"\u4e2d\u5348"===b?e>=11?e:e+12:"\u4e0b\u5348"===b||"\u665a\u4e0a"===b?e+12:void 0},meridiem:function(e,b,M){var k=100*e+b;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1130?"\u4e0a\u5348":k<1230?"\u4e2d\u5348":k<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,b){switch(b){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(C(5439))},5439:function(N,U,C){(N=C.nmd(N)).exports=function(){"use strict";var c,Ge;function m(){return c.apply(null,arguments)}function b(T){return T instanceof Array||"[object Array]"===Object.prototype.toString.call(T)}function M(T){return null!=T&&"[object Object]"===Object.prototype.toString.call(T)}function k(T,L){return Object.prototype.hasOwnProperty.call(T,L)}function F(T){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(T).length;var L;for(L in T)if(k(T,L))return!1;return!0}function G(T){return void 0===T}function ee(T){return"number"==typeof T||"[object Number]"===Object.prototype.toString.call(T)}function z(T){return T instanceof Date||"[object Date]"===Object.prototype.toString.call(T)}function ue(T,L){var re,J=[],Me=T.length;for(re=0;re>>0;for(re=0;re0)for(J=0;J=0?J?"+":"":"-")+Math.pow(10,Math.max(0,L-re.length)).toString().substr(1)+re}var Wt=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ye=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Xe={},Ae={};function he(T,L,J,re){var Me=re;"string"==typeof re&&(Me=function(){return this[re]()}),T&&(Ae[T]=Me),L&&(Ae[L[0]]=function(){return bt(Me.apply(this,arguments),L[1],L[2])}),J&&(Ae[J]=function(){return this.localeData().ordinal(Me.apply(this,arguments),T)})}function nt(T){return T.match(/\[[\s\S]/)?T.replace(/^\[|\]$/g,""):T.replace(/\\/g,"")}function Lt(T,L){return T.isValid()?(L=Ai(L,T.localeData()),Xe[L]=Xe[L]||function Yt(T){var J,re,L=T.match(Wt);for(J=0,re=L.length;J=0&&ye.test(T);)T=T.replace(ye,re),ye.lastIndex=0,J-=1;return T}var ti={};function Je(T,L){var J=T.toLowerCase();ti[J]=ti[J+"s"]=ti[L]=T}function Y(T){return"string"==typeof T?ti[T]||ti[T.toLowerCase()]:void 0}function X(T){var J,re,L={};for(re in T)k(T,re)&&(J=Y(re))&&(L[J]=T[re]);return L}var A={};function et(T,L){A[T]=L}function we(T){return T%4==0&&T%100!=0||T%400==0}function De(T){return T<0?Math.ceil(T)||0:Math.floor(T)}function ct(T){var L=+T,J=0;return 0!==L&&isFinite(L)&&(J=De(L)),J}function Et(T,L){return function(J){return null!=J?(_i(this,T,J),m.updateOffset(this,L),this):Gt(this,T)}}function Gt(T,L){return T.isValid()?T._d["get"+(T._isUTC?"UTC":"")+L]():NaN}function _i(T,L,J){T.isValid()&&!isNaN(J)&&("FullYear"===L&&we(T.year())&&1===T.month()&&29===T.date()?(J=ct(J),T._d["set"+(T._isUTC?"UTC":"")+L](J,T.month(),Fo(J,T.month()))):T._d["set"+(T._isUTC?"UTC":"")+L](J))}var pt,Bi=/\d/,xi=/\d\d/,$n=/\d{3}/,Hi=/\d{4}/,ht=/[+-]?\d{6}/,it=/\d\d?/,Qe=/\d\d\d\d?/,Re=/\d\d\d\d\d\d?/,We=/\d{1,3}/,Ie=/\d{1,4}/,_t=/[+-]?\d{1,6}/,Dt=/\d+/,si=/[+-]?\d+/,Vi=/Z|[+-]\d\d:?\d\d/gi,It=/Z|[+-]\d\d(?::?\d\d)?/gi,Ee=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function ot(T,L,J){pt[T]=Ye(L)?L:function(re,Me){return re&&J?J:L}}function qt(T,L){return k(pt,T)?pt[T](L._strict,L._locale):new RegExp(function un(T){return ln(T.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(L,J,re,Me,gt){return J||re||Me||gt}))}(T))}function ln(T){return T.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}pt={};var vt={};function rt(T,L){var J,Me,re=L;for("string"==typeof T&&(T=[T]),ee(L)&&(re=function(gt,Kt){Kt[L]=ct(gt)}),Me=T.length,J=0;J68?1900:2e3)};var Aa=Et("FullYear",!0);function Ts(T,L,J,re,Me,gt,Kt){var tn;return T<100&&T>=0?(tn=new Date(T+400,L,J,re,Me,gt,Kt),isFinite(tn.getFullYear())&&tn.setFullYear(T)):tn=new Date(T,L,J,re,Me,gt,Kt),tn}function Bo(T){var L,J;return T<100&&T>=0?((J=Array.prototype.slice.call(arguments))[0]=T+400,L=new Date(Date.UTC.apply(null,J)),isFinite(L.getUTCFullYear())&&L.setUTCFullYear(T)):L=new Date(Date.UTC.apply(null,arguments)),L}function Ka(T,L,J){var re=7+L-J;return-(7+Bo(T,0,re).getUTCDay()-L)%7+re-1}function Nr(T,L,J,re,Me){var Dn,Ca,tn=1+7*(L-1)+(7+J-re)%7+Ka(T,re,Me);return tn<=0?Ca=Un(Dn=T-1)+tn:tn>Un(T)?(Dn=T+1,Ca=tn-Un(T)):(Dn=T,Ca=tn),{year:Dn,dayOfYear:Ca}}function lr(T,L,J){var gt,Kt,re=Ka(T.year(),L,J),Me=Math.floor((T.dayOfYear()-re-1)/7)+1;return Me<1?gt=Me+Ya(Kt=T.year()-1,L,J):Me>Ya(T.year(),L,J)?(gt=Me-Ya(T.year(),L,J),Kt=T.year()+1):(Kt=T.year(),gt=Me),{week:gt,year:Kt}}function Ya(T,L,J){var re=Ka(T,L,J),Me=Ka(T+1,L,J);return(Un(T)-re+Me)/7}he("w",["ww",2],"wo","week"),he("W",["WW",2],"Wo","isoWeek"),Je("week","w"),Je("isoWeek","W"),et("week",5),et("isoWeek",5),ot("w",it),ot("ww",it,xi),ot("W",it),ot("WW",it,xi),je(["w","ww","W","WW"],function(T,L,J,re){L[re.substr(0,1)]=ct(T)});function Ms(T,L){return T.slice(L,7).concat(T.slice(0,L))}he("d",0,"do","day"),he("dd",0,0,function(T){return this.localeData().weekdaysMin(this,T)}),he("ddd",0,0,function(T){return this.localeData().weekdaysShort(this,T)}),he("dddd",0,0,function(T){return this.localeData().weekdays(this,T)}),he("e",0,0,"weekday"),he("E",0,0,"isoWeekday"),Je("day","d"),Je("weekday","e"),Je("isoWeekday","E"),et("day",11),et("weekday",11),et("isoWeekday",11),ot("d",it),ot("e",it),ot("E",it),ot("dd",function(T,L){return L.weekdaysMinRegex(T)}),ot("ddd",function(T,L){return L.weekdaysShortRegex(T)}),ot("dddd",function(T,L){return L.weekdaysRegex(T)}),je(["dd","ddd","dddd"],function(T,L,J,re){var Me=J._locale.weekdaysParse(T,re,J._strict);null!=Me?L.d=Me:de(J).invalidWeekday=T}),je(["d","e","E"],function(T,L,J,re){L[re]=ct(T)});var js="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Do="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ur="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ws=Ee,qs=Ee,Zr=Ee;function Tr(T,L,J){var re,Me,gt,Kt=T.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],re=0;re<7;++re)gt=ke([2e3,1]).day(re),this._minWeekdaysParse[re]=this.weekdaysMin(gt,"").toLocaleLowerCase(),this._shortWeekdaysParse[re]=this.weekdaysShort(gt,"").toLocaleLowerCase(),this._weekdaysParse[re]=this.weekdays(gt,"").toLocaleLowerCase();return J?"dddd"===L?-1!==(Me=cn.call(this._weekdaysParse,Kt))?Me:null:"ddd"===L?-1!==(Me=cn.call(this._shortWeekdaysParse,Kt))?Me:null:-1!==(Me=cn.call(this._minWeekdaysParse,Kt))?Me:null:"dddd"===L?-1!==(Me=cn.call(this._weekdaysParse,Kt))||-1!==(Me=cn.call(this._shortWeekdaysParse,Kt))||-1!==(Me=cn.call(this._minWeekdaysParse,Kt))?Me:null:"ddd"===L?-1!==(Me=cn.call(this._shortWeekdaysParse,Kt))||-1!==(Me=cn.call(this._weekdaysParse,Kt))||-1!==(Me=cn.call(this._minWeekdaysParse,Kt))?Me:null:-1!==(Me=cn.call(this._minWeekdaysParse,Kt))||-1!==(Me=cn.call(this._weekdaysParse,Kt))||-1!==(Me=cn.call(this._shortWeekdaysParse,Kt))?Me:null}function Ha(){function T(Or,rl){return rl.length-Or.length}var gt,Kt,tn,Dn,Ca,L=[],J=[],re=[],Me=[];for(gt=0;gt<7;gt++)Kt=ke([2e3,1]).day(gt),tn=ln(this.weekdaysMin(Kt,"")),Dn=ln(this.weekdaysShort(Kt,"")),Ca=ln(this.weekdays(Kt,"")),L.push(tn),J.push(Dn),re.push(Ca),Me.push(tn),Me.push(Dn),Me.push(Ca);L.sort(T),J.sort(T),re.sort(T),Me.sort(T),this._weekdaysRegex=new RegExp("^("+Me.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+re.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+J.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+L.join("|")+")","i")}function zo(){return this.hours()%12||12}function Dr(T,L){he(T,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),L)})}function Ds(T,L){return L._meridiemParse}he("H",["HH",2],0,"hour"),he("h",["hh",2],0,zo),he("k",["kk",2],0,function Jr(){return this.hours()||24}),he("hmm",0,0,function(){return""+zo.apply(this)+bt(this.minutes(),2)}),he("hmmss",0,0,function(){return""+zo.apply(this)+bt(this.minutes(),2)+bt(this.seconds(),2)}),he("Hmm",0,0,function(){return""+this.hours()+bt(this.minutes(),2)}),he("Hmmss",0,0,function(){return""+this.hours()+bt(this.minutes(),2)+bt(this.seconds(),2)}),Dr("a",!0),Dr("A",!1),Je("hour","h"),et("hour",13),ot("a",Ds),ot("A",Ds),ot("H",it),ot("h",it),ot("k",it),ot("HH",it,xi),ot("hh",it,xi),ot("kk",it,xi),ot("hmm",Qe),ot("hmmss",Re),ot("Hmm",Qe),ot("Hmmss",Re),rt(["H","HH"],3),rt(["k","kk"],function(T,L,J){var re=ct(T);L[3]=24===re?0:re}),rt(["a","A"],function(T,L,J){J._isPm=J._locale.isPM(T),J._meridiem=T}),rt(["h","hh"],function(T,L,J){L[3]=ct(T),de(J).bigHour=!0}),rt("hmm",function(T,L,J){var re=T.length-2;L[3]=ct(T.substr(0,re)),L[4]=ct(T.substr(re)),de(J).bigHour=!0}),rt("hmmss",function(T,L,J){var re=T.length-4,Me=T.length-2;L[3]=ct(T.substr(0,re)),L[4]=ct(T.substr(re,2)),L[5]=ct(T.substr(Me)),de(J).bigHour=!0}),rt("Hmm",function(T,L,J){var re=T.length-2;L[3]=ct(T.substr(0,re)),L[4]=ct(T.substr(re))}),rt("Hmmss",function(T,L,J){var re=T.length-4,Me=T.length-2;L[3]=ct(T.substr(0,re)),L[4]=ct(T.substr(re,2)),L[5]=ct(T.substr(Me))});var dr=Et("Hours",!0);var $r,Qo={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:yo,monthsShort:Qi,week:{dow:0,doy:6},weekdays:js,weekdaysMin:Ur,weekdaysShort:Do,meridiemParse:/[ap]\.?m?\.?/i},na={},Hn={};function Fl(T,L){var J,re=Math.min(T.length,L.length);for(J=0;J0;){if(Me=zr(gt.slice(0,J).join("-")))return Me;if(re&&re.length>=J&&Fl(gt,re)>=J-1)break;J--}L++}return $r}(T)}function to(T){var L,J=T._a;return J&&-2===de(T).overflow&&(L=J[1]<0||J[1]>11?1:J[2]<1||J[2]>Fo(J[0],J[1])?2:J[3]<0||J[3]>24||24===J[3]&&(0!==J[4]||0!==J[5]||0!==J[6])?3:J[4]<0||J[4]>59?4:J[5]<0||J[5]>59?5:J[6]<0||J[6]>999?6:-1,de(T)._overflowDayOfYear&&(L<0||L>2)&&(L=2),de(T)._overflowWeeks&&-1===L&&(L=7),de(T)._overflowWeekday&&-1===L&&(L=8),de(T).overflow=L),T}var Ra=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Hr=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,on=/Z|[+-]\d\d(?::?\d\d)?/,Xo=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Es=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ws=/^\/?Date\((-?\d+)/i,_r=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Er={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Eo(T){var L,J,gt,Kt,tn,Dn,re=T._i,Me=Ra.exec(re)||Hr.exec(re),Ca=Xo.length,Or=Es.length;if(Me){for(de(T).iso=!0,L=0,J=Ca;L7)&&(Dn=!0)):(gt=T._locale._week.dow,Kt=T._locale._week.doy,Ca=lr(zn(),gt,Kt),J=te(L.gg,T._a[0],Ca.year),re=te(L.w,Ca.week),null!=L.d?((Me=L.d)<0||Me>6)&&(Dn=!0):null!=L.e?(Me=L.e+gt,(L.e<0||L.e>6)&&(Dn=!0)):Me=gt),re<1||re>Ya(J,gt,Kt)?de(T)._overflowWeeks=!0:null!=Dn?de(T)._overflowWeekday=!0:(tn=Nr(J,re,Me,gt,Kt),T._a[0]=tn.year,T._dayOfYear=tn.dayOfYear)}(T),null!=T._dayOfYear&&(Kt=te(T._a[0],Me[0]),(T._dayOfYear>Un(Kt)||0===T._dayOfYear)&&(de(T)._overflowDayOfYear=!0),J=Bo(Kt,0,T._dayOfYear),T._a[1]=J.getUTCMonth(),T._a[2]=J.getUTCDate()),L=0;L<3&&null==T._a[L];++L)T._a[L]=re[L]=Me[L];for(;L<7;L++)T._a[L]=re[L]=null==T._a[L]?2===L?1:0:T._a[L];24===T._a[3]&&0===T._a[4]&&0===T._a[5]&&0===T._a[6]&&(T._nextDay=!0,T._a[3]=0),T._d=(T._useUTC?Bo:Ts).apply(null,re),gt=T._useUTC?T._d.getUTCDay():T._d.getDay(),null!=T._tzm&&T._d.setUTCMinutes(T._d.getUTCMinutes()-T._tzm),T._nextDay&&(T._a[3]=24),T._w&&void 0!==T._w.d&&T._w.d!==gt&&(de(T).weekdayMismatch=!0)}}function Bt(T){if(T._f!==m.ISO_8601)if(T._f!==m.RFC_2822){T._a=[],de(T).empty=!0;var J,re,Me,gt,Kt,Ca,Or,L=""+T._i,tn=L.length,Dn=0;for(Or=(Me=Ai(T._f,T._locale).match(Wt)||[]).length,J=0;J0&&de(T).unusedInput.push(Kt),L=L.slice(L.indexOf(re)+re.length),Dn+=re.length),Ae[gt]?(re?de(T).empty=!1:de(T).unusedTokens.push(gt),Mt(gt,re,T)):T._strict&&!re&&de(T).unusedTokens.push(gt);de(T).charsLeftOver=tn-Dn,L.length>0&&de(T).unusedInput.push(L),T._a[3]<=12&&!0===de(T).bigHour&&T._a[3]>0&&(de(T).bigHour=void 0),de(T).parsedDateParts=T._a.slice(0),de(T).meridiem=T._meridiem,T._a[3]=function Ii(T,L,J){var re;return null==J?L:null!=T.meridiemHour?T.meridiemHour(L,J):(null!=T.isPM&&((re=T.isPM(J))&&L<12&&(L+=12),!re&&12===L&&(L=0)),L)}(T._locale,T._a[3],T._meridiem),null!==(Ca=de(T).era)&&(T._a[0]=T._locale.erasConvertYear(Ca,T._a[0])),H(T),to(T)}else pr(T);else Eo(T)}function Vn(T){var L=T._i,J=T._f;return T._locale=T._locale||Oa(T._l),null===L||void 0===J&&""===L?Ne({nullInput:!0}):("string"==typeof L&&(T._i=L=T._locale.preparse(L)),Le(L)?new Te(to(L)):(z(L)?T._d=L:b(J)?function Ea(T){var L,J,re,Me,gt,Kt,tn=!1,Dn=T._f.length;if(0===Dn)return de(T).invalidFormat=!0,void(T._d=new Date(NaN));for(Me=0;Methis?this:T:Ne()});function Ul(T,L){var J,re;if(1===L.length&&b(L[0])&&(L=L[0]),!L.length)return zn();for(J=L[0],re=1;re=0?new Date(T+400,L,J)-hc:new Date(T,L,J).valueOf()}function es(T,L,J){return T<100&&T>=0?Date.UTC(T+400,L,J)-hc:Date.UTC(T,L,J)}function Wl(T,L){return L.erasAbbrRegex(T)}function ps(){var Me,gt,T=[],L=[],J=[],re=[],Kt=this.eras();for(Me=0,gt=Kt.length;Me(gt=Ya(T,re,Me))&&(L=gt),hs.call(this,T,L,J,re,Me))}function hs(T,L,J,re,Me){var gt=Nr(T,L,J,re,Me),Kt=Bo(gt.year,0,gt.dayOfYear);return this.year(Kt.getUTCFullYear()),this.month(Kt.getUTCMonth()),this.date(Kt.getUTCDate()),this}he("N",0,0,"eraAbbr"),he("NN",0,0,"eraAbbr"),he("NNN",0,0,"eraAbbr"),he("NNNN",0,0,"eraName"),he("NNNNN",0,0,"eraNarrow"),he("y",["y",1],"yo","eraYear"),he("y",["yy",2],0,"eraYear"),he("y",["yyy",3],0,"eraYear"),he("y",["yyyy",4],0,"eraYear"),ot("N",Wl),ot("NN",Wl),ot("NNN",Wl),ot("NNNN",function w_(T,L){return L.erasNameRegex(T)}),ot("NNNNN",function Fp(T,L){return L.erasNarrowRegex(T)}),rt(["N","NN","NNN","NNNN","NNNNN"],function(T,L,J,re){var Me=J._locale.erasParse(T,re,J._strict);Me?de(J).era=Me:de(J).invalidEra=T}),ot("y",Dt),ot("yy",Dt),ot("yyy",Dt),ot("yyyy",Dt),ot("yo",function Np(T,L){return L._eraYearOrdinalRegex||Dt}),rt(["y","yy","yyy","yyyy"],0),rt(["yo"],function(T,L,J,re){var Me;J._locale._eraYearOrdinalRegex&&(Me=T.match(J._locale._eraYearOrdinalRegex)),L[0]=J._locale.eraYearOrdinalParse?J._locale.eraYearOrdinalParse(T,Me):parseInt(T,10)}),he(0,["gg",2],0,function(){return this.weekYear()%100}),he(0,["GG",2],0,function(){return this.isoWeekYear()%100}),xu("gggg","weekYear"),xu("ggggg","weekYear"),xu("GGGG","isoWeekYear"),xu("GGGGG","isoWeekYear"),Je("weekYear","gg"),Je("isoWeekYear","GG"),et("weekYear",1),et("isoWeekYear",1),ot("G",si),ot("g",si),ot("GG",it,xi),ot("gg",it,xi),ot("GGGG",Ie,Hi),ot("gggg",Ie,Hi),ot("GGGGG",_t,ht),ot("ggggg",_t,ht),je(["gggg","ggggg","GGGG","GGGGG"],function(T,L,J,re){L[re.substr(0,2)]=ct(T)}),je(["gg","GG"],function(T,L,J,re){L[re]=m.parseTwoDigitYear(T)}),he("Q",0,"Qo","quarter"),Je("quarter","Q"),et("quarter",7),ot("Q",Bi),rt("Q",function(T,L){L[1]=3*(ct(T)-1)}),he("D",["DD",2],"Do","date"),Je("date","D"),et("date",9),ot("D",it),ot("DD",it,xi),ot("Do",function(T,L){return T?L._dayOfMonthOrdinalParse||L._ordinalParse:L._dayOfMonthOrdinalParseLenient}),rt(["D","DD"],2),rt("Do",function(T,L){L[2]=ct(T.match(it)[0])});var ts=Et("Date",!0);he("DDD",["DDDD",3],"DDDo","dayOfYear"),Je("dayOfYear","DDD"),et("dayOfYear",4),ot("DDD",We),ot("DDDD",$n),rt(["DDD","DDDD"],function(T,L,J){J._dayOfYear=ct(T)}),he("m",["mm",2],0,"minute"),Je("minute","m"),et("minute",14),ot("m",it),ot("mm",it,xi),rt(["m","mm"],4);var Bd=Et("Minutes",!1);he("s",["ss",2],0,"second"),Je("second","s"),et("second",15),ot("s",it),ot("ss",it,xi),rt(["s","ss"],5);var P,S,O=Et("Seconds",!1);for(he("S",0,0,function(){return~~(this.millisecond()/100)}),he(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),he(0,["SSS",3],0,"millisecond"),he(0,["SSSS",4],0,function(){return 10*this.millisecond()}),he(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),he(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),he(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),he(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),he(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Je("millisecond","ms"),et("millisecond",16),ot("S",We,Bi),ot("SS",We,xi),ot("SSS",We,$n),P="SSSS";P.length<=9;P+="S")ot(P,Dt);function Z(T,L){L[6]=ct(1e3*("0."+T))}for(P="S";P.length<=9;P+="S")rt(P,Z);S=Et("Milliseconds",!1),he("z",0,0,"zoneAbbr"),he("zz",0,0,"zoneName");var ve=Te.prototype;function gi(T){return T}ve.add=Yl,ve.calendar=function Hl(T,L){1===arguments.length&&(arguments[0]?pu(arguments[0])?(T=arguments[0],L=void 0):Hc(arguments[0])&&(L=arguments[0],T=void 0):(T=void 0,L=void 0));var J=T||zn(),re=W(J,this).startOf("day"),Me=m.calendarFormat(this,re)||"sameElse",gt=L&&(Ye(L[Me])?L[Me].call(this,J):L[Me]);return this.format(gt||this.localeData().calendar(Me,this,zn(J)))},ve.clone=function uc(){return new Te(this)},ve.diff=function Cl(T,L,J){var re,Me,gt;if(!this.isValid())return NaN;if(!(re=W(T,this)).isValid())return NaN;switch(Me=6e4*(re.utcOffset()-this.utcOffset()),L=Y(L)){case"year":gt=Gc(this,re)/12;break;case"month":gt=Gc(this,re);break;case"quarter":gt=Gc(this,re)/3;break;case"second":gt=(this-re)/1e3;break;case"minute":gt=(this-re)/6e4;break;case"hour":gt=(this-re)/36e5;break;case"day":gt=(this-re-Me)/864e5;break;case"week":gt=(this-re-Me)/6048e5;break;default:gt=this-re}return J?gt:De(gt)},ve.endOf=function mc(T){var L,J;if(void 0===(T=Y(T))||"millisecond"===T||!this.isValid())return this;switch(J=this._isUTC?es:la,T){case"year":L=J(this.year()+1,0,1)-1;break;case"quarter":L=J(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":L=J(this.year(),this.month()+1,1)-1;break;case"week":L=J(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":L=J(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":L=J(this.year(),this.month(),this.date()+1)-1;break;case"hour":L=this._d.valueOf(),L+=Kl-Os(L+(this._isUTC?0:this.utcOffset()*Ls),Kl)-1;break;case"minute":L=this._d.valueOf(),L+=Ls-Os(L,Ls)-1;break;case"second":L=this._d.valueOf(),L+=1e3-Os(L,1e3)-1}return this._d.setTime(L),m.updateOffset(this,!0),this},ve.format=function Mn(T){T||(T=this.isUtc()?m.defaultFormatUtc:m.defaultFormat);var L=Lt(this,T);return this.localeData().postformat(L)},ve.from=function Ke(T,L){return this.isValid()&&(Le(T)&&T.isValid()||zn(T).isValid())?Zt({to:this,from:T}).locale(this.locale()).humanize(!L):this.localeData().invalidDate()},ve.fromNow=function Di(T){return this.from(zn(),T)},ve.to=function Vl(T,L){return this.isValid()&&(Le(T)&&T.isValid()||zn(T).isValid())?Zt({from:this,to:T}).locale(this.locale()).humanize(!L):this.localeData().invalidDate()},ve.toNow=function Ri(T){return this.to(zn(),T)},ve.get=function di(T){return Ye(this[T=Y(T)])?this[T]():this},ve.invalidAt=function el(){return de(this).overflow},ve.isAfter=function _c(T,L){var J=Le(T)?T:zn(T);return!(!this.isValid()||!J.isValid())&&("millisecond"===(L=Y(L)||"millisecond")?this.valueOf()>J.valueOf():J.valueOf()9999?Lt(J,L?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Ye(Date.prototype.toISOString)?L?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Lt(J,"Z")):Lt(J,L?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ve.inspect=function $e(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var J,re,T="moment",L="";return this.isLocal()||(T=0===this.utcOffset()?"moment.utc":"moment.parseZone",L="Z"),J="["+T+'("]',re=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(J+re+"-MM-DD[T]HH:mm:ss.SSS"+L+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(ve[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ve.toJSON=function E_(){return this.isValid()?this.toISOString():null},ve.toString=function Kc(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ve.unix=function Is(){return Math.floor(this.valueOf()/1e3)},ve.valueOf=function ks(){return this._d.valueOf()-6e4*(this._offset||0)},ve.creationData=function us(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ve.eraName=function _s(){var T,L,J,re=this.localeData().eras();for(T=0,L=re.length;Tthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ve.isLocal=function ka(){return!!this.isValid()&&!this._isUTC},ve.isUtcOffset=function Gn(){return!!this.isValid()&&this._isUTC},ve.isUtc=Qn,ve.isUTC=Qn,ve.zoneAbbr=function Q(){return this._isUTC?"UTC":""},ve.zoneName=function pe(){return this._isUTC?"Coordinated Universal Time":""},ve.dates=_e("dates accessor is deprecated. Use date instead.",ts),ve.months=_e("months accessor is deprecated. Use month instead",Qa),ve.years=_e("years accessor is deprecated. Use year instead",Aa),ve.zone=_e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function Pt(T,L){return null!=T?("string"!=typeof T&&(T=-T),this.utcOffset(T,L),this):-this.utcOffset()}),ve.isDSTShifted=_e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function An(){if(!G(this._isDSTShifted))return this._isDSTShifted;var L,T={};return st(T,this),(T=Vn(T))._a?(L=T._isUTC?ke(T._a):zn(T._a),this._isDSTShifted=this.isValid()&&function Zc(T,L,J){var Kt,re=Math.min(T.length,L.length),Me=Math.abs(T.length-L.length),gt=0;for(Kt=0;Kt0):this._isDSTShifted=!1,this._isDSTShifted});var ui=Oe.prototype;function Ti(T,L,J,re){var Me=Oa(),gt=ke().set(re,L);return Me[J](gt,T)}function mn(T,L,J){if(ee(T)&&(L=T,T=void 0),T=T||"",null!=L)return Ti(T,L,J,"month");var re,Me=[];for(re=0;re<12;re++)Me[re]=Ti(T,re,J,"month");return Me}function Pn(T,L,J,re){"boolean"==typeof T?(ee(L)&&(J=L,L=void 0),L=L||""):(J=L=T,T=!1,ee(L)&&(J=L,L=void 0),L=L||"");var Kt,Me=Oa(),gt=T?Me._week.dow:0,tn=[];if(null!=J)return Ti(L,(J+gt)%7,re,"day");for(Kt=0;Kt<7;Kt++)tn[Kt]=Ti(L,(Kt+gt)%7,re,"day");return tn}ui.calendar=function ri(T,L,J){var re=this._calendar[T]||this._calendar.sameElse;return Ye(re)?re.call(L,J):re},ui.longDateFormat=function hi(T){var L=this._longDateFormat[T],J=this._longDateFormat[T.toUpperCase()];return L||!J?L:(this._longDateFormat[T]=J.match(Wt).map(function(re){return"MMMM"===re||"MM"===re||"DD"===re||"dddd"===re?re.slice(1):re}).join(""),this._longDateFormat[T])},ui.invalidDate=function Tt(){return this._invalidDate},ui.ordinal=function ni(T){return this._ordinal.replace("%d",T)},ui.preparse=gi,ui.postformat=gi,ui.relativeTime=function dn(T,L,J,re){var Me=this._relativeTime[J];return Ye(Me)?Me(T,L,J,re):Me.replace(/%d/i,T)},ui.pastFuture=function ai(T,L){var J=this._relativeTime[T>0?"future":"past"];return Ye(J)?J(L):J.replace(/%s/i,L)},ui.set=function qe(T){var L,J;for(J in T)k(T,J)&&(Ye(L=T[J])?this[J]=L:this["_"+J]=L);this._config=T,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},ui.eras=function So(T,L){var J,re,Me,gt=this._eras||Oa("en")._eras;for(J=0,re=gt.length;J=0)return gt[re]},ui.erasConvertYear=function rn(T,L){var J=T.since<=T.until?1:-1;return void 0===L?m(T.since).year():m(T.since).year()+(L-T.offset)*J},ui.erasAbbrRegex=function Cu(T){return k(this,"_erasAbbrRegex")||ps.call(this),T?this._erasAbbrRegex:this._erasRegex},ui.erasNameRegex=function Rd(T){return k(this,"_erasNameRegex")||ps.call(this),T?this._erasNameRegex:this._erasRegex},ui.erasNarrowRegex=function vu(T){return k(this,"_erasNarrowRegex")||ps.call(this),T?this._erasNarrowRegex:this._erasRegex},ui.months=function Rt(T,L){return T?b(this._months)?this._months[T.month()]:this._months[(this._months.isFormat||ma).test(L)?"format":"standalone"][T.month()]:b(this._months)?this._months:this._months.standalone},ui.monthsShort=function ga(T,L){return T?b(this._monthsShort)?this._monthsShort[T.month()]:this._monthsShort[ma.test(L)?"format":"standalone"][T.month()]:b(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},ui.monthsParse=function To(T,L,J){var re,Me,gt;if(this._monthsParseExact)return Zn.call(this,T,L,J);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),re=0;re<12;re++){if(Me=ke([2e3,re]),J&&!this._longMonthsParse[re]&&(this._longMonthsParse[re]=new RegExp("^"+this.months(Me,"").replace(".","")+"$","i"),this._shortMonthsParse[re]=new RegExp("^"+this.monthsShort(Me,"").replace(".","")+"$","i")),!J&&!this._monthsParse[re]&&(gt="^"+this.months(Me,"")+"|^"+this.monthsShort(Me,""),this._monthsParse[re]=new RegExp(gt.replace(".",""),"i")),J&&"MMMM"===L&&this._longMonthsParse[re].test(T))return re;if(J&&"MMM"===L&&this._shortMonthsParse[re].test(T))return re;if(!J&&this._monthsParse[re].test(T))return re}},ui.monthsRegex=function Ba(T){return this._monthsParseExact?(k(this,"_monthsRegex")||sr.call(this),T?this._monthsStrictRegex:this._monthsRegex):(k(this,"_monthsRegex")||(this._monthsRegex=$i),this._monthsStrictRegex&&T?this._monthsStrictRegex:this._monthsRegex)},ui.monthsShortRegex=function Yn(T){return this._monthsParseExact?(k(this,"_monthsRegex")||sr.call(this),T?this._monthsShortStrictRegex:this._monthsShortRegex):(k(this,"_monthsShortRegex")||(this._monthsShortRegex=yn),this._monthsShortStrictRegex&&T?this._monthsShortStrictRegex:this._monthsShortRegex)},ui.week=function Br(T){return lr(T,this._week.dow,this._week.doy).week},ui.firstDayOfYear=function Ta(){return this._week.doy},ui.firstDayOfWeek=function Nn(){return this._week.dow},ui.weekdays=function $o(T,L){var J=b(this._weekdays)?this._weekdays:this._weekdays[T&&!0!==T&&this._weekdays.isFormat.test(L)?"format":"standalone"];return!0===T?Ms(J,this._week.dow):T?J[T.day()]:J},ui.weekdaysMin=function lc(T){return!0===T?Ms(this._weekdaysMin,this._week.dow):T?this._weekdaysMin[T.day()]:this._weekdaysMin},ui.weekdaysShort=function cr(T){return!0===T?Ms(this._weekdaysShort,this._week.dow):T?this._weekdaysShort[T.day()]:this._weekdaysShort},ui.weekdaysParse=function Xa(T,L,J){var re,Me,gt;if(this._weekdaysParseExact)return Tr.call(this,T,L,J);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),re=0;re<7;re++){if(Me=ke([2e3,1]).day(re),J&&!this._fullWeekdaysParse[re]&&(this._fullWeekdaysParse[re]=new RegExp("^"+this.weekdays(Me,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[re]=new RegExp("^"+this.weekdaysShort(Me,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[re]=new RegExp("^"+this.weekdaysMin(Me,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[re]||(gt="^"+this.weekdays(Me,"")+"|^"+this.weekdaysShort(Me,"")+"|^"+this.weekdaysMin(Me,""),this._weekdaysParse[re]=new RegExp(gt.replace(".",""),"i")),J&&"dddd"===L&&this._fullWeekdaysParse[re].test(T))return re;if(J&&"ddd"===L&&this._shortWeekdaysParse[re].test(T))return re;if(J&&"dd"===L&&this._minWeekdaysParse[re].test(T))return re;if(!J&&this._weekdaysParse[re].test(T))return re}},ui.weekdaysRegex=function ls(T){return this._weekdaysParseExact?(k(this,"_weekdaysRegex")||Ha.call(this),T?this._weekdaysStrictRegex:this._weekdaysRegex):(k(this,"_weekdaysRegex")||(this._weekdaysRegex=Ws),this._weekdaysStrictRegex&&T?this._weekdaysStrictRegex:this._weekdaysRegex)},ui.weekdaysShortRegex=function Js(T){return this._weekdaysParseExact?(k(this,"_weekdaysRegex")||Ha.call(this),T?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(k(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=qs),this._weekdaysShortStrictRegex&&T?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},ui.weekdaysMinRegex=function Mr(T){return this._weekdaysParseExact?(k(this,"_weekdaysRegex")||Ha.call(this),T?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(k(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Zr),this._weekdaysMinStrictRegex&&T?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},ui.isPM=function La(T){return"p"===(T+"").toLowerCase().charAt(0)},ui.meridiem=function Yr(T,L,J){return T>11?J?"pm":"PM":J?"am":"AM"},fa("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(T){var L=T%10;return T+(1===ct(T%100/10)?"th":1===L?"st":2===L?"nd":3===L?"rd":"th")}}),m.lang=_e("moment.lang is deprecated. Use moment.locale instead.",fa),m.langData=_e("moment.langData is deprecated. Use moment.localeData instead.",Oa);var aa=Math.abs;function bl(T,L,J,re){var Me=Zt(L,J);return T._milliseconds+=re*Me._milliseconds,T._days+=re*Me._days,T._months+=re*Me._months,T._bubble()}function qc(T){return T<0?Math.floor(T):Math.ceil(T)}function Gr(T){return 4800*T/146097}function nl(T){return 146097*T/4800}function Rs(T){return function(){return this.as(T)}}var fc=Rs("ms"),bu=Rs("s"),Fs=Rs("m"),Bp=Rs("h"),yu=Rs("d"),Up=Rs("w"),Zp=Rs("M"),Jc=Rs("Q"),Yp=Rs("y");function ms(T){return function(){return this.isValid()?this._data[T]:NaN}}var is=ms("milliseconds"),Yd=ms("seconds"),Hd=ms("minutes"),Tu=ms("hours"),Mu=ms("days"),Cc=ms("months"),vc=ms("years");var Vo=Math.round,lo={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function al(T,L,J,re,Me){return Me.relativeTime(L||1,!!J,T,re)}var yl=Math.abs;function ol(T){return(T>0)-(T<0)||+T}function qa(){if(!this.isValid())return this.localeData().invalidDate();var re,Me,gt,Kt,Dn,Ca,Or,rl,T=yl(this._milliseconds)/1e3,L=yl(this._days),J=yl(this._months),tn=this.asSeconds();return tn?(re=De(T/60),Me=De(re/60),T%=60,re%=60,gt=De(J/12),J%=12,Kt=T?T.toFixed(3).replace(/\.?0+$/,""):"",Dn=tn<0?"-":"",Ca=ol(this._months)!==ol(tn)?"-":"",Or=ol(this._days)!==ol(tn)?"-":"",rl=ol(this._milliseconds)!==ol(tn)?"-":"",Dn+"P"+(gt?Ca+gt+"Y":"")+(J?Ca+J+"M":"")+(L?Or+L+"D":"")+(Me||re||T?"T":"")+(Me?rl+Me+"H":"")+(re?rl+re+"M":"")+(T?rl+Kt+"S":"")):"P0D"}var fn=no.prototype;return fn.isValid=function cs(){return this._isValid},fn.abs=function da(){var T=this._data;return this._milliseconds=aa(this._milliseconds),this._days=aa(this._days),this._months=aa(this._months),T.milliseconds=aa(T.milliseconds),T.seconds=aa(T.seconds),T.minutes=aa(T.minutes),T.hours=aa(T.hours),T.months=aa(T.months),T.years=aa(T.years),this},fn.add=function Xn(T,L){return bl(this,T,L,1)},fn.subtract=function Ud(T,L){return bl(this,T,L,-1)},fn.as=function L_(T){if(!this.isValid())return NaN;var L,J,re=this._milliseconds;if("month"===(T=Y(T))||"quarter"===T||"year"===T)switch(L=this._days+re/864e5,J=this._months+Gr(L),T){case"month":return J;case"quarter":return J/3;case"year":return J/12}else switch(L=this._days+Math.round(nl(this._months)),T){case"week":return L/7+re/6048e5;case"day":return L+re/864e5;case"hour":return 24*L+re/36e5;case"minute":return 1440*L+re/6e4;case"second":return 86400*L+re/1e3;case"millisecond":return Math.floor(864e5*L)+re;default:throw new Error("Unknown unit "+T)}},fn.asMilliseconds=fc,fn.asSeconds=bu,fn.asMinutes=Fs,fn.asHours=Bp,fn.asDays=yu,fn.asWeeks=Up,fn.asMonths=Zp,fn.asQuarters=Jc,fn.asYears=Yp,fn.valueOf=function so(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ct(this._months/12):NaN},fn._bubble=function gc(){var Me,gt,Kt,tn,Dn,T=this._milliseconds,L=this._days,J=this._months,re=this._data;return T>=0&&L>=0&&J>=0||T<=0&&L<=0&&J<=0||(T+=864e5*qc(nl(J)+L),L=0,J=0),re.milliseconds=T%1e3,Me=De(T/1e3),re.seconds=Me%60,gt=De(Me/60),re.minutes=gt%60,Kt=De(gt/60),re.hours=Kt%24,L+=De(Kt/24),J+=Dn=De(Gr(L)),L-=qc(nl(Dn)),tn=De(J/12),J%=12,re.days=L,re.months=J,re.years=tn,this},fn.clone=function Zd(){return Zt(this)},fn.get=function Co(T){return T=Y(T),this.isValid()?this[T+"s"]():NaN},fn.milliseconds=is,fn.seconds=Yd,fn.minutes=Hd,fn.hours=Tu,fn.days=Mu,fn.weeks=function Du(){return De(this.days()/7)},fn.months=Cc,fn.years=vc,fn.humanize=function Eu(T,L){if(!this.isValid())return this.localeData().invalidDate();var Me,gt,J=!1,re=lo;return"object"==typeof T&&(L=T,T=!1),"boolean"==typeof T&&(J=T),"object"==typeof L&&(re=Object.assign({},lo,L),null!=L.s&&null==L.ss&&(re.ss=L.s-1)),gt=function xc(T,L,J,re){var Me=Zt(T).abs(),gt=Vo(Me.as("s")),Kt=Vo(Me.as("m")),tn=Vo(Me.as("h")),Dn=Vo(Me.as("d")),Ca=Vo(Me.as("M")),Or=Vo(Me.as("w")),rl=Vo(Me.as("y")),Ns=gt<=J.ss&&["s",gt]||gt0,Ns[4]=re,al.apply(null,Ns)}(this,!J,re,Me=this.localeData()),J&&(gt=Me.pastFuture(+this,gt)),Me.postformat(gt)},fn.toISOString=qa,fn.toString=qa,fn.toJSON=qa,fn.locale=Gl,fn.localeData=Od,fn.toIsoString=_e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",qa),fn.lang=Vr,he("X",0,0,"unix"),he("x",0,0,"valueOf"),ot("x",si),ot("X",/[+-]?\d+(\.\d{1,3})?/),rt("X",function(T,L,J){J._d=new Date(1e3*parseFloat(T))}),rt("x",function(T,L,J){J._d=new Date(ct(T))}),m.version="2.29.4",function e(T){c=T}(zn),m.fn=ve,m.min=function cc(){return Ul("isBefore",[].slice.call(arguments,0))},m.max=function wd(){return Ul("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=ke,m.unix=function Be(T){return zn(1e3*T)},m.months=function ro(T,L){return mn(T,L,"months")},m.isDate=z,m.locale=fa,m.invalid=Ne,m.duration=Zt,m.isMoment=Le,m.weekdays=function Wa(T,L,J){return Pn(T,L,J,"weekdays")},m.parseZone=function At(){return zn.apply(null,arguments).parseZone()},m.localeData=Oa,m.isDuration=hr,m.monthsShort=function gr(T,L){return mn(T,L,"monthsShort")},m.weekdaysMin=function il(T,L,J){return Pn(T,L,J,"weekdaysMin")},m.defineLocale=In,m.updateLocale=function eo(T,L){if(null!=L){var J,re,Me=Qo;null!=na[T]&&null!=na[T].parentLocale?na[T].set(ie(na[T]._config,L)):(null!=(re=zr(T))&&(Me=re._config),L=ie(Me,L),null==re&&(L.abbr=T),(J=new Oe(L)).parentLocale=na[T],na[T]=J),fa(T)}else null!=na[T]&&(null!=na[T].parentLocale?(na[T]=na[T].parentLocale,T===fa()&&fa(T)):null!=na[T]&&delete na[T]);return na[T]},m.locales=function Nl(){return mt(na)},m.weekdaysShort=function fo(T,L,J){return Pn(T,L,J,"weekdaysShort")},m.normalizeUnits=Y,m.relativeTimeRounding=function $c(T){return void 0===T?Vo:"function"==typeof T&&(Vo=T,!0)},m.relativeTimeThreshold=function O_(T,L){return void 0!==lo[T]&&(void 0===L?lo[T]:(lo[T]=L,"s"===T&&(lo.ss=L-1),!0))},m.calendarFormat=function Vc(T,L){var J=T.diff(L,"days",!0);return J<-6?"sameElse":J<-1?"lastWeek":J<0?"lastDay":J<1?"sameDay":J<2?"nextDay":J<7?"nextWeek":"sameElse"},m.prototype=ve,m.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},m}()},9209:N=>{var U={\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u1ea4:"A",\u1eae:"A",\u1eb2:"A",\u1eb4:"A",\u1eb6:"A",\u00c6:"AE",\u1ea6:"A",\u1eb0:"A",\u0202:"A",\u00c7:"C",\u1e08:"C",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u1ebe:"E",\u1e16:"E",\u1ec0:"E",\u1e14:"E",\u1e1c:"E",\u0206:"E",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u1e2e:"I",\u020a:"I",\u00d0:"D",\u00d1:"N",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u1ed0:"O",\u1e4c:"O",\u1e52:"O",\u020e:"O",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00dd:"Y",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u1ea5:"a",\u1eaf:"a",\u1eb3:"a",\u1eb5:"a",\u1eb7:"a",\u00e6:"ae",\u1ea7:"a",\u1eb1:"a",\u0203:"a",\u00e7:"c",\u1e09:"c",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u1ebf:"e",\u1e17:"e",\u1ec1:"e",\u1e15:"e",\u1e1d:"e",\u0207:"e",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u1e2f:"i",\u020b:"i",\u00f0:"d",\u00f1:"n",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u1ed1:"o",\u1e4d:"o",\u1e53:"o",\u020f:"o",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00fd:"y",\u00ff:"y",\u0100:"A",\u0101:"a",\u0102:"A",\u0103:"a",\u0104:"A",\u0105:"a",\u0106:"C",\u0107:"c",\u0108:"C",\u0109:"c",\u010a:"C",\u010b:"c",\u010c:"C",\u010d:"c",C\u0306:"C",c\u0306:"c",\u010e:"D",\u010f:"d",\u0110:"D",\u0111:"d",\u0112:"E",\u0113:"e",\u0114:"E",\u0115:"e",\u0116:"E",\u0117:"e",\u0118:"E",\u0119:"e",\u011a:"E",\u011b:"e",\u011c:"G",\u01f4:"G",\u011d:"g",\u01f5:"g",\u011e:"G",\u011f:"g",\u0120:"G",\u0121:"g",\u0122:"G",\u0123:"g",\u0124:"H",\u0125:"h",\u0126:"H",\u0127:"h",\u1e2a:"H",\u1e2b:"h",\u0128:"I",\u0129:"i",\u012a:"I",\u012b:"i",\u012c:"I",\u012d:"i",\u012e:"I",\u012f:"i",\u0130:"I",\u0131:"i",\u0132:"IJ",\u0133:"ij",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u1e30:"K",\u1e31:"k",K\u0306:"K",k\u0306:"k",\u0139:"L",\u013a:"l",\u013b:"L",\u013c:"l",\u013d:"L",\u013e:"l",\u013f:"L",\u0140:"l",\u0141:"l",\u0142:"l",\u1e3e:"M",\u1e3f:"m",M\u0306:"M",m\u0306:"m",\u0143:"N",\u0144:"n",\u0145:"N",\u0146:"n",\u0147:"N",\u0148:"n",\u0149:"n",N\u0306:"N",n\u0306:"n",\u014c:"O",\u014d:"o",\u014e:"O",\u014f:"o",\u0150:"O",\u0151:"o",\u0152:"OE",\u0153:"oe",P\u0306:"P",p\u0306:"p",\u0154:"R",\u0155:"r",\u0156:"R",\u0157:"r",\u0158:"R",\u0159:"r",R\u0306:"R",r\u0306:"r",\u0212:"R",\u0213:"r",\u015a:"S",\u015b:"s",\u015c:"S",\u015d:"s",\u015e:"S",\u0218:"S",\u0219:"s",\u015f:"s",\u0160:"S",\u0161:"s",\u00df:"ss",\u0162:"T",\u0163:"t",\u021b:"t",\u021a:"T",\u0164:"T",\u0165:"t",\u0166:"T",\u0167:"t",T\u0306:"T",t\u0306:"t",\u0168:"U",\u0169:"u",\u016a:"U",\u016b:"u",\u016c:"U",\u016d:"u",\u016e:"U",\u016f:"u",\u0170:"U",\u0171:"u",\u0172:"U",\u0173:"u",\u0216:"U",\u0217:"u",V\u0306:"V",v\u0306:"v",\u0174:"W",\u0175:"w",\u1e82:"W",\u1e83:"w",X\u0306:"X",x\u0306:"x",\u0176:"Y",\u0177:"y",\u0178:"Y",Y\u0306:"Y",y\u0306:"y",\u0179:"Z",\u017a:"z",\u017b:"Z",\u017c:"z",\u017d:"Z",\u017e:"z",\u017f:"s",\u0192:"f",\u01a0:"O",\u01a1:"o",\u01af:"U",\u01b0:"u",\u01cd:"A",\u01ce:"a",\u01cf:"I",\u01d0:"i",\u01d1:"O",\u01d2:"o",\u01d3:"U",\u01d4:"u",\u01d5:"U",\u01d6:"u",\u01d7:"U",\u01d8:"u",\u01d9:"U",\u01da:"u",\u01db:"U",\u01dc:"u",\u1ee8:"U",\u1ee9:"u",\u1e78:"U",\u1e79:"u",\u01fa:"A",\u01fb:"a",\u01fc:"AE",\u01fd:"ae",\u01fe:"O",\u01ff:"o",\u00de:"TH",\u00fe:"th",\u1e54:"P",\u1e55:"p",\u1e64:"S",\u1e65:"s",X\u0301:"X",x\u0301:"x",\u0403:"\u0413",\u0453:"\u0433",\u040c:"\u041a",\u045c:"\u043a",A\u030b:"A",a\u030b:"a",E\u030b:"E",e\u030b:"e",I\u030b:"I",i\u030b:"i",\u01f8:"N",\u01f9:"n",\u1ed2:"O",\u1ed3:"o",\u1e50:"O",\u1e51:"o",\u1eea:"U",\u1eeb:"u",\u1e80:"W",\u1e81:"w",\u1ef2:"Y",\u1ef3:"y",\u0200:"A",\u0201:"a",\u0204:"E",\u0205:"e",\u0208:"I",\u0209:"i",\u020c:"O",\u020d:"o",\u0210:"R",\u0211:"r",\u0214:"U",\u0215:"u",B\u030c:"B",b\u030c:"b",\u010c\u0323:"C",\u010d\u0323:"c",\u00ca\u030c:"E",\u00ea\u030c:"e",F\u030c:"F",f\u030c:"f",\u01e6:"G",\u01e7:"g",\u021e:"H",\u021f:"h",J\u030c:"J",\u01f0:"j",\u01e8:"K",\u01e9:"k",M\u030c:"M",m\u030c:"m",P\u030c:"P",p\u030c:"p",Q\u030c:"Q",q\u030c:"q",\u0158\u0329:"R",\u0159\u0329:"r",\u1e66:"S",\u1e67:"s",V\u030c:"V",v\u030c:"v",W\u030c:"W",w\u030c:"w",X\u030c:"X",x\u030c:"x",Y\u030c:"Y",y\u030c:"y",A\u0327:"A",a\u0327:"a",B\u0327:"B",b\u0327:"b",\u1e10:"D",\u1e11:"d",\u0228:"E",\u0229:"e",\u0190\u0327:"E",\u025b\u0327:"e",\u1e28:"H",\u1e29:"h",I\u0327:"I",i\u0327:"i",\u0197\u0327:"I",\u0268\u0327:"i",M\u0327:"M",m\u0327:"m",O\u0327:"O",o\u0327:"o",Q\u0327:"Q",q\u0327:"q",U\u0327:"U",u\u0327:"u",X\u0327:"X",x\u0327:"x",Z\u0327:"Z",z\u0327:"z",\u0439:"\u0438",\u0419:"\u0418",\u0451:"\u0435",\u0401:"\u0415"},C=Object.keys(U).join("|"),c=new RegExp(C,"g"),m=new RegExp(C,"");function e(k){return U[k]}var b=function(k){return k.replace(c,e)};N.exports=b,N.exports.has=function(k){return!!k.match(m)},N.exports.remove=b},5126:N=>{"use strict";function U(m){return m instanceof Buffer?Buffer.from(m):new m.constructor(m.buffer.slice(),m.byteOffset,m.length)}N.exports=function C(m){return(m=m||{}).circles?function c(m){var e=[],b=[];return m.proto?function F(G){if("object"!=typeof G||null===G)return G;if(G instanceof Date)return new Date(G);if(Array.isArray(G))return M(G,F);if(G instanceof Map)return new Map(M(Array.from(G),F));if(G instanceof Set)return new Set(M(Array.from(G),F));var ee={};for(var z in e.push(G),b.push(ee),G){var ue=G[z];if("object"!=typeof ue||null===ue)ee[z]=ue;else if(ue instanceof Date)ee[z]=new Date(ue);else if(ue instanceof Map)ee[z]=new Map(M(Array.from(ue),F));else if(ue instanceof Set)ee[z]=new Set(M(Array.from(ue),F));else if(ArrayBuffer.isView(ue))ee[z]=U(ue);else{var ce=e.indexOf(ue);ee[z]=-1!==ce?b[ce]:F(ue)}}return e.pop(),b.pop(),ee}:function k(G){if("object"!=typeof G||null===G)return G;if(G instanceof Date)return new Date(G);if(Array.isArray(G))return M(G,k);if(G instanceof Map)return new Map(M(Array.from(G),k));if(G instanceof Set)return new Set(M(Array.from(G),k));var ee={};for(var z in e.push(G),b.push(ee),G)if(!1!==Object.hasOwnProperty.call(G,z)){var ue=G[z];if("object"!=typeof ue||null===ue)ee[z]=ue;else if(ue instanceof Date)ee[z]=new Date(ue);else if(ue instanceof Map)ee[z]=new Map(M(Array.from(ue),k));else if(ue instanceof Set)ee[z]=new Set(M(Array.from(ue),k));else if(ArrayBuffer.isView(ue))ee[z]=U(ue);else{var ce=e.indexOf(ue);ee[z]=-1!==ce?b[ce]:k(ue)}}return e.pop(),b.pop(),ee};function M(G,ee){for(var z=Object.keys(G),ue=new Array(z.length),ce=0;ce{"use strict";C.d(U,{X:()=>m});var c=C(7579);class m extends c.x{constructor(b){super(),this._value=b}get value(){return this.getValue()}_subscribe(b){const M=super._subscribe(b);return!M.closed&&b.next(this._value),M}getValue(){const{hasError:b,thrownError:M,_value:k}=this;if(b)throw M;return this._throwIfClosed(),k}next(b){super.next(this._value=b)}}},9751:(N,U,C)=>{"use strict";C.d(U,{y:()=>G});var c=C(930),m=C(727),e=C(8822),b=C(9635),M=C(2416),k=C(576),F=C(2806);let G=(()=>{class ce{constructor(Pe){Pe&&(this._subscribe=Pe)}lift(Pe){const de=new ce;return de.source=this,de.operator=Pe,de}subscribe(Pe,de,Ge){const le=function ue(ce){return ce&&ce instanceof c.Lv||function z(ce){return ce&&(0,k.m)(ce.next)&&(0,k.m)(ce.error)&&(0,k.m)(ce.complete)}(ce)&&(0,m.Nn)(ce)}(Pe)?Pe:new c.Hp(Pe,de,Ge);return(0,F.x)(()=>{const{operator:Ne,source:yt}=this;le.add(Ne?Ne.call(le,yt):yt?this._subscribe(le):this._trySubscribe(le))}),le}_trySubscribe(Pe){try{return this._subscribe(Pe)}catch(de){Pe.error(de)}}forEach(Pe,de){return new(de=ee(de))((Ge,le)=>{const Ne=new c.Hp({next:yt=>{try{Pe(yt)}catch(jt){le(jt),Ne.unsubscribe()}},error:le,complete:Ge});this.subscribe(Ne)})}_subscribe(Pe){var de;return null===(de=this.source)||void 0===de?void 0:de.subscribe(Pe)}[e.L](){return this}pipe(...Pe){return(0,b.U)(Pe)(this)}toPromise(Pe){return new(Pe=ee(Pe))((de,Ge)=>{let le;this.subscribe(Ne=>le=Ne,Ne=>Ge(Ne),()=>de(le))})}}return ce.create=ke=>new ce(ke),ce})();function ee(ce){var ke;return null!==(ke=null!=ce?ce:M.v.Promise)&&void 0!==ke?ke:Promise}},4707:(N,U,C)=>{"use strict";C.d(U,{t:()=>e});var c=C(7579),m=C(6063);class e extends c.x{constructor(M=1/0,k=1/0,F=m.l){super(),this._bufferSize=M,this._windowTime=k,this._timestampProvider=F,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=k===1/0,this._bufferSize=Math.max(1,M),this._windowTime=Math.max(1,k)}next(M){const{isStopped:k,_buffer:F,_infiniteTimeWindow:G,_timestampProvider:ee,_windowTime:z}=this;k||(F.push(M),!G&&F.push(ee.now()+z)),this._trimBuffer(),super.next(M)}_subscribe(M){this._throwIfClosed(),this._trimBuffer();const k=this._innerSubscribe(M),{_infiniteTimeWindow:F,_buffer:G}=this,ee=G.slice();for(let z=0;z{"use strict";C.d(U,{x:()=>F});var c=C(9751),m=C(727);const b=(0,C(3888).d)(ee=>function(){ee(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var M=C(8737),k=C(2806);let F=(()=>{class ee extends c.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(ue){const ce=new G(this,this);return ce.operator=ue,ce}_throwIfClosed(){if(this.closed)throw new b}next(ue){(0,k.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const ce of this.currentObservers)ce.next(ue)}})}error(ue){(0,k.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=ue;const{observers:ce}=this;for(;ce.length;)ce.shift().error(ue)}})}complete(){(0,k.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:ue}=this;for(;ue.length;)ue.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var ue;return(null===(ue=this.observers)||void 0===ue?void 0:ue.length)>0}_trySubscribe(ue){return this._throwIfClosed(),super._trySubscribe(ue)}_subscribe(ue){return this._throwIfClosed(),this._checkFinalizedStatuses(ue),this._innerSubscribe(ue)}_innerSubscribe(ue){const{hasError:ce,isStopped:ke,observers:Pe}=this;return ce||ke?m.Lc:(this.currentObservers=null,Pe.push(ue),new m.w0(()=>{this.currentObservers=null,(0,M.P)(Pe,ue)}))}_checkFinalizedStatuses(ue){const{hasError:ce,thrownError:ke,isStopped:Pe}=this;ce?ue.error(ke):Pe&&ue.complete()}asObservable(){const ue=new c.y;return ue.source=this,ue}}return ee.create=(z,ue)=>new G(z,ue),ee})();class G extends F{constructor(z,ue){super(),this.destination=z,this.source=ue}next(z){var ue,ce;null===(ce=null===(ue=this.destination)||void 0===ue?void 0:ue.next)||void 0===ce||ce.call(ue,z)}error(z){var ue,ce;null===(ce=null===(ue=this.destination)||void 0===ue?void 0:ue.error)||void 0===ce||ce.call(ue,z)}complete(){var z,ue;null===(ue=null===(z=this.destination)||void 0===z?void 0:z.complete)||void 0===ue||ue.call(z)}_subscribe(z){var ue,ce;return null!==(ce=null===(ue=this.source)||void 0===ue?void 0:ue.subscribe(z))&&void 0!==ce?ce:m.Lc}}},930:(N,U,C)=>{"use strict";C.d(U,{Hp:()=>Ge,Lv:()=>ce});var c=C(576),m=C(727),e=C(2416),b=C(7849),M=C(5032);const k=ee("C",void 0,void 0);function ee(st,Te,Le){return{kind:st,value:Te,error:Le}}var z=C(3410),ue=C(2806);class ce extends m.w0{constructor(Te){super(),this.isStopped=!1,Te?(this.destination=Te,(0,m.Nn)(Te)&&Te.add(this)):this.destination=jt}static create(Te,Le,at){return new Ge(Te,Le,at)}next(Te){this.isStopped?yt(function G(st){return ee("N",st,void 0)}(Te),this):this._next(Te)}error(Te){this.isStopped?yt(function F(st){return ee("E",void 0,st)}(Te),this):(this.isStopped=!0,this._error(Te))}complete(){this.isStopped?yt(k,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Te){this.destination.next(Te)}_error(Te){try{this.destination.error(Te)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const ke=Function.prototype.bind;function Pe(st,Te){return ke.call(st,Te)}class de{constructor(Te){this.partialObserver=Te}next(Te){const{partialObserver:Le}=this;if(Le.next)try{Le.next(Te)}catch(at){le(at)}}error(Te){const{partialObserver:Le}=this;if(Le.error)try{Le.error(Te)}catch(at){le(at)}else le(Te)}complete(){const{partialObserver:Te}=this;if(Te.complete)try{Te.complete()}catch(Le){le(Le)}}}class Ge extends ce{constructor(Te,Le,at){let _e;if(super(),(0,c.m)(Te)||!Te)_e={next:null!=Te?Te:void 0,error:null!=Le?Le:void 0,complete:null!=at?at:void 0};else{let xt;this&&e.v.useDeprecatedNextContext?(xt=Object.create(Te),xt.unsubscribe=()=>this.unsubscribe(),_e={next:Te.next&&Pe(Te.next,xt),error:Te.error&&Pe(Te.error,xt),complete:Te.complete&&Pe(Te.complete,xt)}):_e=Te}this.destination=new de(_e)}}function le(st){e.v.useDeprecatedSynchronousErrorHandling?(0,ue.O)(st):(0,b.h)(st)}function yt(st,Te){const{onStoppedNotification:Le}=e.v;Le&&z.z.setTimeout(()=>Le(st,Te))}const jt={closed:!0,next:M.Z,error:function Ne(st){throw st},complete:M.Z}},727:(N,U,C)=>{"use strict";C.d(U,{Lc:()=>k,w0:()=>M,Nn:()=>F});var c=C(576);const e=(0,C(3888).d)(ee=>function(ue){ee(this),this.message=ue?`${ue.length} errors occurred during unsubscription:\n${ue.map((ce,ke)=>`${ke+1}) ${ce.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=ue});var b=C(8737);class M{constructor(z){this.initialTeardown=z,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let z;if(!this.closed){this.closed=!0;const{_parentage:ue}=this;if(ue)if(this._parentage=null,Array.isArray(ue))for(const Pe of ue)Pe.remove(this);else ue.remove(this);const{initialTeardown:ce}=this;if((0,c.m)(ce))try{ce()}catch(Pe){z=Pe instanceof e?Pe.errors:[Pe]}const{_finalizers:ke}=this;if(ke){this._finalizers=null;for(const Pe of ke)try{G(Pe)}catch(de){z=null!=z?z:[],de instanceof e?z=[...z,...de.errors]:z.push(de)}}if(z)throw new e(z)}}add(z){var ue;if(z&&z!==this)if(this.closed)G(z);else{if(z instanceof M){if(z.closed||z._hasParent(this))return;z._addParent(this)}(this._finalizers=null!==(ue=this._finalizers)&&void 0!==ue?ue:[]).push(z)}}_hasParent(z){const{_parentage:ue}=this;return ue===z||Array.isArray(ue)&&ue.includes(z)}_addParent(z){const{_parentage:ue}=this;this._parentage=Array.isArray(ue)?(ue.push(z),ue):ue?[ue,z]:z}_removeParent(z){const{_parentage:ue}=this;ue===z?this._parentage=null:Array.isArray(ue)&&(0,b.P)(ue,z)}remove(z){const{_finalizers:ue}=this;ue&&(0,b.P)(ue,z),z instanceof M&&z._removeParent(this)}}M.EMPTY=(()=>{const ee=new M;return ee.closed=!0,ee})();const k=M.EMPTY;function F(ee){return ee instanceof M||ee&&"closed"in ee&&(0,c.m)(ee.remove)&&(0,c.m)(ee.add)&&(0,c.m)(ee.unsubscribe)}function G(ee){(0,c.m)(ee)?ee():ee.unsubscribe()}},2416:(N,U,C)=>{"use strict";C.d(U,{v:()=>c});const c={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},4033:(N,U,C)=>{"use strict";C.d(U,{c:()=>k});var c=C(9751),m=C(727),e=C(8343),b=C(5403),M=C(4482);class k extends c.y{constructor(G,ee){super(),this.source=G,this.subjectFactory=ee,this._subject=null,this._refCount=0,this._connection=null,(0,M.A)(G)&&(this.lift=G.lift)}_subscribe(G){return this.getSubject().subscribe(G)}getSubject(){const G=this._subject;return(!G||G.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:G}=this;this._subject=this._connection=null,null==G||G.unsubscribe()}connect(){let G=this._connection;if(!G){G=this._connection=new m.w0;const ee=this.getSubject();G.add(this.source.subscribe((0,b.x)(ee,void 0,()=>{this._teardown(),ee.complete()},z=>{this._teardown(),ee.error(z)},()=>this._teardown()))),G.closed&&(this._connection=null,G=m.w0.EMPTY)}return G}refCount(){return(0,e.x)()(this)}}},9841:(N,U,C)=>{"use strict";C.d(U,{a:()=>z});var c=C(9751),m=C(4742),e=C(2076),b=C(4671),M=C(3268),k=C(3269),F=C(1810),G=C(5403),ee=C(9672);function z(...ke){const Pe=(0,k.yG)(ke),de=(0,k.jO)(ke),{args:Ge,keys:le}=(0,m.D)(ke);if(0===Ge.length)return(0,e.D)([],Pe);const Ne=new c.y(function ue(ke,Pe,de=b.y){return Ge=>{ce(Pe,()=>{const{length:le}=ke,Ne=new Array(le);let yt=le,jt=le;for(let st=0;st{const Te=(0,e.D)(ke[st],Pe);let Le=!1;Te.subscribe((0,G.x)(Ge,at=>{Ne[st]=at,Le||(Le=!0,jt--),jt||Ge.next(de(Ne.slice()))},()=>{--yt||Ge.complete()}))},Ge)},Ge)}}(Ge,Pe,le?yt=>(0,F.n)(le,yt):b.y));return de?Ne.pipe((0,M.Z)(de)):Ne}function ce(ke,Pe,de){ke?(0,ee.f)(de,ke,Pe):Pe()}},7272:(N,U,C)=>{"use strict";C.d(U,{z:()=>M});var c=C(8189),e=C(3269),b=C(2076);function M(...k){return function m(){return(0,c.J)(1)}()((0,b.D)(k,(0,e.yG)(k)))}},9770:(N,U,C)=>{"use strict";C.d(U,{P:()=>e});var c=C(9751),m=C(8421);function e(b){return new c.y(M=>{(0,m.Xf)(b()).subscribe(M)})}},515:(N,U,C)=>{"use strict";C.d(U,{E:()=>m});const m=new(C(9751).y)(M=>M.complete())},4128:(N,U,C)=>{"use strict";C.d(U,{D:()=>G});var c=C(9751),m=C(4742),e=C(8421),b=C(3269),M=C(5403),k=C(3268),F=C(1810);function G(...ee){const z=(0,b.jO)(ee),{args:ue,keys:ce}=(0,m.D)(ee),ke=new c.y(Pe=>{const{length:de}=ue;if(!de)return void Pe.complete();const Ge=new Array(de);let le=de,Ne=de;for(let yt=0;yt{jt||(jt=!0,Ne--),Ge[yt]=st},()=>le--,void 0,()=>{(!le||!jt)&&(Ne||Pe.next(ce?(0,F.n)(ce,Ge):Ge),Pe.complete())}))}});return z?ke.pipe((0,k.Z)(z)):ke}},2076:(N,U,C)=>{"use strict";C.d(U,{D:()=>at});var c=C(8421),m=C(9672),e=C(4482),b=C(5403);function M(_e,xt=0){return(0,e.e)((tt,Ye)=>{tt.subscribe((0,b.x)(Ye,qe=>(0,m.f)(Ye,_e,()=>Ye.next(qe),xt),()=>(0,m.f)(Ye,_e,()=>Ye.complete(),xt),qe=>(0,m.f)(Ye,_e,()=>Ye.error(qe),xt)))})}function k(_e,xt=0){return(0,e.e)((tt,Ye)=>{Ye.add(_e.schedule(()=>tt.subscribe(Ye),xt))})}var ee=C(9751),ue=C(2202),ce=C(576);function Pe(_e,xt){if(!_e)throw new Error("Iterable cannot be null");return new ee.y(tt=>{(0,m.f)(tt,xt,()=>{const Ye=_e[Symbol.asyncIterator]();(0,m.f)(tt,xt,()=>{Ye.next().then(qe=>{qe.done?tt.complete():tt.next(qe.value)})},0,!0)})})}var de=C(3670),Ge=C(8239),le=C(1144),Ne=C(6495),yt=C(2206),jt=C(4532),st=C(3260);function at(_e,xt){return xt?function Le(_e,xt){if(null!=_e){if((0,de.c)(_e))return function F(_e,xt){return(0,c.Xf)(_e).pipe(k(xt),M(xt))}(_e,xt);if((0,le.z)(_e))return function z(_e,xt){return new ee.y(tt=>{let Ye=0;return xt.schedule(function(){Ye===_e.length?tt.complete():(tt.next(_e[Ye++]),tt.closed||this.schedule())})})}(_e,xt);if((0,Ge.t)(_e))return function G(_e,xt){return(0,c.Xf)(_e).pipe(k(xt),M(xt))}(_e,xt);if((0,yt.D)(_e))return Pe(_e,xt);if((0,Ne.T)(_e))return function ke(_e,xt){return new ee.y(tt=>{let Ye;return(0,m.f)(tt,xt,()=>{Ye=_e[ue.h](),(0,m.f)(tt,xt,()=>{let qe,ie;try{({value:qe,done:ie}=Ye.next())}catch(Oe){return void tt.error(Oe)}ie?tt.complete():tt.next(qe)},0,!0)}),()=>(0,ce.m)(null==Ye?void 0:Ye.return)&&Ye.return()})}(_e,xt);if((0,st.L)(_e))return function Te(_e,xt){return Pe((0,st.Q)(_e),xt)}(_e,xt)}throw(0,jt.z)(_e)}(_e,xt):(0,c.Xf)(_e)}},4968:(N,U,C)=>{"use strict";C.d(U,{R:()=>z});var c=C(8421),m=C(9751),e=C(5577),b=C(1144),M=C(576),k=C(3268);const F=["addListener","removeListener"],G=["addEventListener","removeEventListener"],ee=["on","off"];function z(de,Ge,le,Ne){if((0,M.m)(le)&&(Ne=le,le=void 0),Ne)return z(de,Ge,le).pipe((0,k.Z)(Ne));const[yt,jt]=function Pe(de){return(0,M.m)(de.addEventListener)&&(0,M.m)(de.removeEventListener)}(de)?G.map(st=>Te=>de[st](Ge,Te,le)):function ce(de){return(0,M.m)(de.addListener)&&(0,M.m)(de.removeListener)}(de)?F.map(ue(de,Ge)):function ke(de){return(0,M.m)(de.on)&&(0,M.m)(de.off)}(de)?ee.map(ue(de,Ge)):[];if(!yt&&(0,b.z)(de))return(0,e.z)(st=>z(st,Ge,le))((0,c.Xf)(de));if(!yt)throw new TypeError("Invalid event target");return new m.y(st=>{const Te=(...Le)=>st.next(1jt(Te)})}function ue(de,Ge){return le=>Ne=>de[le](Ge,Ne)}},8421:(N,U,C)=>{"use strict";C.d(U,{Xf:()=>ke});var c=C(655),m=C(1144),e=C(8239),b=C(9751),M=C(3670),k=C(2206),F=C(4532),G=C(6495),ee=C(3260),z=C(576),ue=C(7849),ce=C(8822);function ke(st){if(st instanceof b.y)return st;if(null!=st){if((0,M.c)(st))return function Pe(st){return new b.y(Te=>{const Le=st[ce.L]();if((0,z.m)(Le.subscribe))return Le.subscribe(Te);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(st);if((0,m.z)(st))return function de(st){return new b.y(Te=>{for(let Le=0;Le{st.then(Le=>{Te.closed||(Te.next(Le),Te.complete())},Le=>Te.error(Le)).then(null,ue.h)})}(st);if((0,k.D)(st))return Ne(st);if((0,G.T)(st))return function le(st){return new b.y(Te=>{for(const Le of st)if(Te.next(Le),Te.closed)return;Te.complete()})}(st);if((0,ee.L)(st))return function yt(st){return Ne((0,ee.Q)(st))}(st)}throw(0,F.z)(st)}function Ne(st){return new b.y(Te=>{(function jt(st,Te){var Le,at,_e,xt;return(0,c.mG)(this,void 0,void 0,function*(){try{for(Le=(0,c.KL)(st);!(at=yield Le.next()).done;)if(Te.next(at.value),Te.closed)return}catch(tt){_e={error:tt}}finally{try{at&&!at.done&&(xt=Le.return)&&(yield xt.call(Le))}finally{if(_e)throw _e.error}}Te.complete()})})(st,Te).catch(Le=>Te.error(Le))})}},6451:(N,U,C)=>{"use strict";C.d(U,{T:()=>k});var c=C(8189),m=C(8421),e=C(515),b=C(3269),M=C(2076);function k(...F){const G=(0,b.yG)(F),ee=(0,b._6)(F,1/0),z=F;return z.length?1===z.length?(0,m.Xf)(z[0]):(0,c.J)(ee)((0,M.D)(z,G)):e.E}},9646:(N,U,C)=>{"use strict";C.d(U,{of:()=>e});var c=C(3269),m=C(2076);function e(...b){const M=(0,c.yG)(b);return(0,m.D)(b,M)}},2843:(N,U,C)=>{"use strict";C.d(U,{_:()=>e});var c=C(9751),m=C(576);function e(b,M){const k=(0,m.m)(b)?b:()=>b,F=G=>G.error(k());return new c.y(M?G=>M.schedule(F,0,G):F)}},5963:(N,U,C)=>{"use strict";C.d(U,{H:()=>M});var c=C(9751),m=C(4986),e=C(3532);function M(k=0,F,G=m.P){let ee=-1;return null!=F&&((0,e.K)(F)?G=F:ee=F),new c.y(z=>{let ue=function b(k){return k instanceof Date&&!isNaN(k)}(k)?+k-G.now():k;ue<0&&(ue=0);let ce=0;return G.schedule(function(){z.closed||(z.next(ce++),0<=ee?this.schedule(void 0,ee):z.complete())},ue)})}},5403:(N,U,C)=>{"use strict";C.d(U,{x:()=>m});var c=C(930);function m(b,M,k,F,G){return new e(b,M,k,F,G)}class e extends c.Lv{constructor(M,k,F,G,ee,z){super(M),this.onFinalize=ee,this.shouldUnsubscribe=z,this._next=k?function(ue){try{k(ue)}catch(ce){M.error(ce)}}:super._next,this._error=G?function(ue){try{G(ue)}catch(ce){M.error(ce)}finally{this.unsubscribe()}}:super._error,this._complete=F?function(){try{F()}catch(ue){M.error(ue)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var M;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:k}=this;super.unsubscribe(),!k&&(null===(M=this.onFinalize)||void 0===M||M.call(this))}}}},3601:(N,U,C)=>{"use strict";C.d(U,{e:()=>F});var c=C(4986),m=C(4482),e=C(8421),b=C(5403),k=C(5963);function F(G,ee=c.z){return function M(G){return(0,m.e)((ee,z)=>{let ue=!1,ce=null,ke=null,Pe=!1;const de=()=>{if(null==ke||ke.unsubscribe(),ke=null,ue){ue=!1;const le=ce;ce=null,z.next(le)}Pe&&z.complete()},Ge=()=>{ke=null,Pe&&z.complete()};ee.subscribe((0,b.x)(z,le=>{ue=!0,ce=le,ke||(0,e.Xf)(G(le)).subscribe(ke=(0,b.x)(z,de,Ge))},()=>{Pe=!0,(!ue||!ke||ke.closed)&&z.complete()}))})}(()=>(0,k.H)(G,ee))}},262:(N,U,C)=>{"use strict";C.d(U,{K:()=>b});var c=C(8421),m=C(5403),e=C(4482);function b(M){return(0,e.e)((k,F)=>{let z,G=null,ee=!1;G=k.subscribe((0,m.x)(F,void 0,void 0,ue=>{z=(0,c.Xf)(M(ue,b(M)(k))),G?(G.unsubscribe(),G=null,z.subscribe(F)):ee=!0})),ee&&(G.unsubscribe(),G=null,z.subscribe(F))})}},4351:(N,U,C)=>{"use strict";C.d(U,{b:()=>e});var c=C(5577),m=C(576);function e(b,M){return(0,m.m)(M)?(0,c.z)(b,M,1):(0,c.z)(b,1)}},8372:(N,U,C)=>{"use strict";C.d(U,{b:()=>b});var c=C(4986),m=C(4482),e=C(5403);function b(M,k=c.z){return(0,m.e)((F,G)=>{let ee=null,z=null,ue=null;const ce=()=>{if(ee){ee.unsubscribe(),ee=null;const Pe=z;z=null,G.next(Pe)}};function ke(){const Pe=ue+M,de=k.now();if(de{z=Pe,ue=k.now(),ee||(ee=k.schedule(ke,M),G.add(ee))},()=>{ce(),G.complete()},void 0,()=>{z=ee=null}))})}},1005:(N,U,C)=>{"use strict";C.d(U,{g:()=>ce});var c=C(4986),m=C(7272),e=C(5698),b=C(4482),M=C(5403),k=C(5032),G=C(9718),ee=C(5577);function z(ke,Pe){return Pe?de=>(0,m.z)(Pe.pipe((0,e.q)(1),function F(){return(0,b.e)((ke,Pe)=>{ke.subscribe((0,M.x)(Pe,k.Z))})}()),de.pipe(z(ke))):(0,ee.z)((de,Ge)=>ke(de,Ge).pipe((0,e.q)(1),(0,G.h)(de)))}var ue=C(5963);function ce(ke,Pe=c.z){const de=(0,ue.H)(ke,Pe);return z(()=>de)}},1884:(N,U,C)=>{"use strict";C.d(U,{x:()=>b});var c=C(4671),m=C(4482),e=C(5403);function b(k,F=c.y){return k=null!=k?k:M,(0,m.e)((G,ee)=>{let z,ue=!0;G.subscribe((0,e.x)(ee,ce=>{const ke=F(ce);(ue||!k(z,ke))&&(ue=!1,z=ke,ee.next(ce))}))})}function M(k,F){return k===F}},9300:(N,U,C)=>{"use strict";C.d(U,{h:()=>e});var c=C(4482),m=C(5403);function e(b,M){return(0,c.e)((k,F)=>{let G=0;k.subscribe((0,m.x)(F,ee=>b.call(M,ee,G++)&&F.next(ee)))})}},8746:(N,U,C)=>{"use strict";C.d(U,{x:()=>m});var c=C(4482);function m(e){return(0,c.e)((b,M)=>{try{b.subscribe(M)}finally{M.add(e)}})}},4004:(N,U,C)=>{"use strict";C.d(U,{U:()=>e});var c=C(4482),m=C(5403);function e(b,M){return(0,c.e)((k,F)=>{let G=0;k.subscribe((0,m.x)(F,ee=>{F.next(b.call(M,ee,G++))}))})}},9718:(N,U,C)=>{"use strict";C.d(U,{h:()=>m});var c=C(4004);function m(e){return(0,c.U)(()=>e)}},8189:(N,U,C)=>{"use strict";C.d(U,{J:()=>e});var c=C(5577),m=C(4671);function e(b=1/0){return(0,c.z)(m.y,b)}},5577:(N,U,C)=>{"use strict";C.d(U,{z:()=>G});var c=C(4004),m=C(8421),e=C(4482),b=C(9672),M=C(5403),F=C(576);function G(ee,z,ue=1/0){return(0,F.m)(z)?G((ce,ke)=>(0,c.U)((Pe,de)=>z(ce,Pe,ke,de))((0,m.Xf)(ee(ce,ke))),ue):("number"==typeof z&&(ue=z),(0,e.e)((ce,ke)=>function k(ee,z,ue,ce,ke,Pe,de,Ge){const le=[];let Ne=0,yt=0,jt=!1;const st=()=>{jt&&!le.length&&!Ne&&z.complete()},Te=at=>Ne{Pe&&z.next(at),Ne++;let _e=!1;(0,m.Xf)(ue(at,yt++)).subscribe((0,M.x)(z,xt=>{null==ke||ke(xt),Pe?Te(xt):z.next(xt)},()=>{_e=!0},void 0,()=>{if(_e)try{for(Ne--;le.length&&NeLe(xt)):Le(xt)}st()}catch(xt){z.error(xt)}}))};return ee.subscribe((0,M.x)(z,Te,()=>{jt=!0,st()})),()=>{null==Ge||Ge()}}(ce,ke,ee,ue)))}},8343:(N,U,C)=>{"use strict";C.d(U,{x:()=>e});var c=C(4482),m=C(5403);function e(){return(0,c.e)((b,M)=>{let k=null;b._refCount++;const F=(0,m.x)(M,void 0,void 0,void 0,()=>{if(!b||b._refCount<=0||0<--b._refCount)return void(k=null);const G=b._connection,ee=k;k=null,G&&(!ee||G===ee)&&G.unsubscribe(),M.unsubscribe()});b.subscribe(F),F.closed||(k=b.connect())})}},3099:(N,U,C)=>{"use strict";C.d(U,{B:()=>M});var c=C(8421),m=C(7579),e=C(930),b=C(4482);function M(F={}){const{connector:G=(()=>new m.x),resetOnError:ee=!0,resetOnComplete:z=!0,resetOnRefCountZero:ue=!0}=F;return ce=>{let ke,Pe,de,Ge=0,le=!1,Ne=!1;const yt=()=>{null==Pe||Pe.unsubscribe(),Pe=void 0},jt=()=>{yt(),ke=de=void 0,le=Ne=!1},st=()=>{const Te=ke;jt(),null==Te||Te.unsubscribe()};return(0,b.e)((Te,Le)=>{Ge++,!Ne&&!le&&yt();const at=de=null!=de?de:G();Le.add(()=>{Ge--,0===Ge&&!Ne&&!le&&(Pe=k(st,ue))}),at.subscribe(Le),!ke&&Ge>0&&(ke=new e.Hp({next:_e=>at.next(_e),error:_e=>{Ne=!0,yt(),Pe=k(jt,ee,_e),at.error(_e)},complete:()=>{le=!0,yt(),Pe=k(jt,z),at.complete()}}),(0,c.Xf)(Te).subscribe(ke))})(ce)}}function k(F,G,...ee){if(!0===G)return void F();if(!1===G)return;const z=new e.Hp({next:()=>{z.unsubscribe(),F()}});return G(...ee).subscribe(z)}},5684:(N,U,C)=>{"use strict";C.d(U,{T:()=>m});var c=C(9300);function m(e){return(0,c.h)((b,M)=>e<=M)}},8675:(N,U,C)=>{"use strict";C.d(U,{O:()=>b});var c=C(7272),m=C(3269),e=C(4482);function b(...M){const k=(0,m.yG)(M);return(0,e.e)((F,G)=>{(k?(0,c.z)(M,F,k):(0,c.z)(M,F)).subscribe(G)})}},3900:(N,U,C)=>{"use strict";C.d(U,{w:()=>b});var c=C(8421),m=C(4482),e=C(5403);function b(M,k){return(0,m.e)((F,G)=>{let ee=null,z=0,ue=!1;const ce=()=>ue&&!ee&&G.complete();F.subscribe((0,e.x)(G,ke=>{null==ee||ee.unsubscribe();let Pe=0;const de=z++;(0,c.Xf)(M(ke,de)).subscribe(ee=(0,e.x)(G,Ge=>G.next(k?k(ke,Ge,de,Pe++):Ge),()=>{ee=null,ce()}))},()=>{ue=!0,ce()}))})}},5698:(N,U,C)=>{"use strict";C.d(U,{q:()=>b});var c=C(515),m=C(4482),e=C(5403);function b(M){return M<=0?()=>c.E:(0,m.e)((k,F)=>{let G=0;k.subscribe((0,e.x)(F,ee=>{++G<=M&&(F.next(ee),M<=G&&F.complete())}))})}},2722:(N,U,C)=>{"use strict";C.d(U,{R:()=>M});var c=C(4482),m=C(5403),e=C(8421),b=C(5032);function M(k){return(0,c.e)((F,G)=>{(0,e.Xf)(k).subscribe((0,m.x)(G,()=>G.complete(),b.Z)),!G.closed&&F.subscribe(G)})}},2529:(N,U,C)=>{"use strict";C.d(U,{o:()=>e});var c=C(4482),m=C(5403);function e(b,M=!1){return(0,c.e)((k,F)=>{let G=0;k.subscribe((0,m.x)(F,ee=>{const z=b(ee,G++);(z||M)&&F.next(ee),!z&&F.complete()}))})}},8505:(N,U,C)=>{"use strict";C.d(U,{b:()=>M});var c=C(576),m=C(4482),e=C(5403),b=C(4671);function M(k,F,G){const ee=(0,c.m)(k)||F||G?{next:k,error:F,complete:G}:k;return ee?(0,m.e)((z,ue)=>{var ce;null===(ce=ee.subscribe)||void 0===ce||ce.call(ee);let ke=!0;z.subscribe((0,e.x)(ue,Pe=>{var de;null===(de=ee.next)||void 0===de||de.call(ee,Pe),ue.next(Pe)},()=>{var Pe;ke=!1,null===(Pe=ee.complete)||void 0===Pe||Pe.call(ee),ue.complete()},Pe=>{var de;ke=!1,null===(de=ee.error)||void 0===de||de.call(ee,Pe),ue.error(Pe)},()=>{var Pe,de;ke&&(null===(Pe=ee.unsubscribe)||void 0===Pe||Pe.call(ee)),null===(de=ee.finalize)||void 0===de||de.call(ee)}))}):b.y}},4408:(N,U,C)=>{"use strict";C.d(U,{o:()=>M});var c=C(727);class m extends c.w0{constructor(F,G){super()}schedule(F,G=0){return this}}const e={setInterval(k,F,...G){const{delegate:ee}=e;return null!=ee&&ee.setInterval?ee.setInterval(k,F,...G):setInterval(k,F,...G)},clearInterval(k){const{delegate:F}=e;return((null==F?void 0:F.clearInterval)||clearInterval)(k)},delegate:void 0};var b=C(8737);class M extends m{constructor(F,G){super(F,G),this.scheduler=F,this.work=G,this.pending=!1}schedule(F,G=0){var ee;if(this.closed)return this;this.state=F;const z=this.id,ue=this.scheduler;return null!=z&&(this.id=this.recycleAsyncId(ue,z,G)),this.pending=!0,this.delay=G,this.id=null!==(ee=this.id)&&void 0!==ee?ee:this.requestAsyncId(ue,this.id,G),this}requestAsyncId(F,G,ee=0){return e.setInterval(F.flush.bind(F,this),ee)}recycleAsyncId(F,G,ee=0){if(null!=ee&&this.delay===ee&&!1===this.pending)return G;null!=G&&e.clearInterval(G)}execute(F,G){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const ee=this._execute(F,G);if(ee)return ee;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(F,G){let z,ee=!1;try{this.work(F)}catch(ue){ee=!0,z=ue||new Error("Scheduled action threw falsy error")}if(ee)return this.unsubscribe(),z}unsubscribe(){if(!this.closed){const{id:F,scheduler:G}=this,{actions:ee}=G;this.work=this.state=this.scheduler=null,this.pending=!1,(0,b.P)(ee,this),null!=F&&(this.id=this.recycleAsyncId(G,F,null)),this.delay=null,super.unsubscribe()}}}},7565:(N,U,C)=>{"use strict";C.d(U,{v:()=>e});var c=C(6063);class m{constructor(M,k=m.now){this.schedulerActionCtor=M,this.now=k}schedule(M,k=0,F){return new this.schedulerActionCtor(this,M).schedule(F,k)}}m.now=c.l.now;class e extends m{constructor(M,k=m.now){super(M,k),this.actions=[],this._active=!1}flush(M){const{actions:k}=this;if(this._active)return void k.push(M);let F;this._active=!0;do{if(F=M.execute(M.state,M.delay))break}while(M=k.shift());if(this._active=!1,F){for(;M=k.shift();)M.unsubscribe();throw F}}}},6406:(N,U,C)=>{"use strict";C.d(U,{Z:()=>F});var c=C(4408),m=C(727);const e={schedule(ee){let z=requestAnimationFrame,ue=cancelAnimationFrame;const{delegate:ce}=e;ce&&(z=ce.requestAnimationFrame,ue=ce.cancelAnimationFrame);const ke=z(Pe=>{ue=void 0,ee(Pe)});return new m.w0(()=>null==ue?void 0:ue(ke))},requestAnimationFrame(...ee){const{delegate:z}=e;return((null==z?void 0:z.requestAnimationFrame)||requestAnimationFrame)(...ee)},cancelAnimationFrame(...ee){const{delegate:z}=e;return((null==z?void 0:z.cancelAnimationFrame)||cancelAnimationFrame)(...ee)},delegate:void 0};var M=C(7565);const F=new class k extends M.v{flush(z){this._active=!0;const ue=this._scheduled;this._scheduled=void 0;const{actions:ce}=this;let ke;z=z||ce.shift();do{if(ke=z.execute(z.state,z.delay))break}while((z=ce[0])&&z.id===ue&&ce.shift());if(this._active=!1,ke){for(;(z=ce[0])&&z.id===ue&&ce.shift();)z.unsubscribe();throw ke}}}(class b extends c.o{constructor(z,ue){super(z,ue),this.scheduler=z,this.work=ue}requestAsyncId(z,ue,ce=0){return null!==ce&&ce>0?super.requestAsyncId(z,ue,ce):(z.actions.push(this),z._scheduled||(z._scheduled=e.requestAnimationFrame(()=>z.flush(void 0))))}recycleAsyncId(z,ue,ce=0){var ke;if(null!=ce?ce>0:this.delay>0)return super.recycleAsyncId(z,ue,ce);const{actions:Pe}=z;null!=ue&&(null===(ke=Pe[Pe.length-1])||void 0===ke?void 0:ke.id)!==ue&&(e.cancelAnimationFrame(ue),z._scheduled=void 0)}})},3101:(N,U,C)=>{"use strict";C.d(U,{E:()=>Pe});var c=C(4408);let e,m=1;const b={};function M(Ge){return Ge in b&&(delete b[Ge],!0)}const k={setImmediate(Ge){const le=m++;return b[le]=!0,e||(e=Promise.resolve()),e.then(()=>M(le)&&Ge()),le},clearImmediate(Ge){M(Ge)}},{setImmediate:G,clearImmediate:ee}=k,z={setImmediate(...Ge){const{delegate:le}=z;return((null==le?void 0:le.setImmediate)||G)(...Ge)},clearImmediate(Ge){const{delegate:le}=z;return((null==le?void 0:le.clearImmediate)||ee)(Ge)},delegate:void 0};var ce=C(7565);const Pe=new class ke extends ce.v{flush(le){this._active=!0;const Ne=this._scheduled;this._scheduled=void 0;const{actions:yt}=this;let jt;le=le||yt.shift();do{if(jt=le.execute(le.state,le.delay))break}while((le=yt[0])&&le.id===Ne&&yt.shift());if(this._active=!1,jt){for(;(le=yt[0])&&le.id===Ne&&yt.shift();)le.unsubscribe();throw jt}}}(class ue extends c.o{constructor(le,Ne){super(le,Ne),this.scheduler=le,this.work=Ne}requestAsyncId(le,Ne,yt=0){return null!==yt&&yt>0?super.requestAsyncId(le,Ne,yt):(le.actions.push(this),le._scheduled||(le._scheduled=z.setImmediate(le.flush.bind(le,void 0))))}recycleAsyncId(le,Ne,yt=0){var jt;if(null!=yt?yt>0:this.delay>0)return super.recycleAsyncId(le,Ne,yt);const{actions:st}=le;null!=Ne&&(null===(jt=st[st.length-1])||void 0===jt?void 0:jt.id)!==Ne&&(z.clearImmediate(Ne),le._scheduled=void 0)}})},4986:(N,U,C)=>{"use strict";C.d(U,{P:()=>b,z:()=>e});var c=C(4408);const e=new(C(7565).v)(c.o),b=e},6063:(N,U,C)=>{"use strict";C.d(U,{l:()=>c});const c={now:()=>(c.delegate||Date).now(),delegate:void 0}},3410:(N,U,C)=>{"use strict";C.d(U,{z:()=>c});const c={setTimeout(m,e,...b){const{delegate:M}=c;return null!=M&&M.setTimeout?M.setTimeout(m,e,...b):setTimeout(m,e,...b)},clearTimeout(m){const{delegate:e}=c;return((null==e?void 0:e.clearTimeout)||clearTimeout)(m)},delegate:void 0}},2202:(N,U,C)=>{"use strict";C.d(U,{h:()=>m});const m=function c(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(N,U,C)=>{"use strict";C.d(U,{L:()=>c});const c="function"==typeof Symbol&&Symbol.observable||"@@observable"},3269:(N,U,C)=>{"use strict";C.d(U,{_6:()=>k,jO:()=>b,yG:()=>M});var c=C(576),m=C(3532);function e(F){return F[F.length-1]}function b(F){return(0,c.m)(e(F))?F.pop():void 0}function M(F){return(0,m.K)(e(F))?F.pop():void 0}function k(F,G){return"number"==typeof e(F)?F.pop():G}},4742:(N,U,C)=>{"use strict";C.d(U,{D:()=>M});const{isArray:c}=Array,{getPrototypeOf:m,prototype:e,keys:b}=Object;function M(F){if(1===F.length){const G=F[0];if(c(G))return{args:G,keys:null};if(function k(F){return F&&"object"==typeof F&&m(F)===e}(G)){const ee=b(G);return{args:ee.map(z=>G[z]),keys:ee}}}return{args:F,keys:null}}},8737:(N,U,C)=>{"use strict";function c(m,e){if(m){const b=m.indexOf(e);0<=b&&m.splice(b,1)}}C.d(U,{P:()=>c})},3888:(N,U,C)=>{"use strict";function c(m){const b=m(M=>{Error.call(M),M.stack=(new Error).stack});return b.prototype=Object.create(Error.prototype),b.prototype.constructor=b,b}C.d(U,{d:()=>c})},1810:(N,U,C)=>{"use strict";function c(m,e){return m.reduce((b,M,k)=>(b[M]=e[k],b),{})}C.d(U,{n:()=>c})},2806:(N,U,C)=>{"use strict";C.d(U,{O:()=>b,x:()=>e});var c=C(2416);let m=null;function e(M){if(c.v.useDeprecatedSynchronousErrorHandling){const k=!m;if(k&&(m={errorThrown:!1,error:null}),M(),k){const{errorThrown:F,error:G}=m;if(m=null,F)throw G}}else M()}function b(M){c.v.useDeprecatedSynchronousErrorHandling&&m&&(m.errorThrown=!0,m.error=M)}},9672:(N,U,C)=>{"use strict";function c(m,e,b,M=0,k=!1){const F=e.schedule(function(){b(),k?m.add(this.schedule(null,M)):this.unsubscribe()},M);if(m.add(F),!k)return F}C.d(U,{f:()=>c})},4671:(N,U,C)=>{"use strict";function c(m){return m}C.d(U,{y:()=>c})},1144:(N,U,C)=>{"use strict";C.d(U,{z:()=>c});const c=m=>m&&"number"==typeof m.length&&"function"!=typeof m},2206:(N,U,C)=>{"use strict";C.d(U,{D:()=>m});var c=C(576);function m(e){return Symbol.asyncIterator&&(0,c.m)(null==e?void 0:e[Symbol.asyncIterator])}},576:(N,U,C)=>{"use strict";function c(m){return"function"==typeof m}C.d(U,{m:()=>c})},3670:(N,U,C)=>{"use strict";C.d(U,{c:()=>e});var c=C(8822),m=C(576);function e(b){return(0,m.m)(b[c.L])}},6495:(N,U,C)=>{"use strict";C.d(U,{T:()=>e});var c=C(2202),m=C(576);function e(b){return(0,m.m)(null==b?void 0:b[c.h])}},5191:(N,U,C)=>{"use strict";C.d(U,{b:()=>e});var c=C(9751),m=C(576);function e(b){return!!b&&(b instanceof c.y||(0,m.m)(b.lift)&&(0,m.m)(b.subscribe))}},8239:(N,U,C)=>{"use strict";C.d(U,{t:()=>m});var c=C(576);function m(e){return(0,c.m)(null==e?void 0:e.then)}},3260:(N,U,C)=>{"use strict";C.d(U,{L:()=>b,Q:()=>e});var c=C(655),m=C(576);function e(M){return(0,c.FC)(this,arguments,function*(){const F=M.getReader();try{for(;;){const{value:G,done:ee}=yield(0,c.qq)(F.read());if(ee)return yield(0,c.qq)(void 0);yield yield(0,c.qq)(G)}}finally{F.releaseLock()}})}function b(M){return(0,m.m)(null==M?void 0:M.getReader)}},3532:(N,U,C)=>{"use strict";C.d(U,{K:()=>m});var c=C(576);function m(e){return e&&(0,c.m)(e.schedule)}},4482:(N,U,C)=>{"use strict";C.d(U,{A:()=>m,e:()=>e});var c=C(576);function m(b){return(0,c.m)(null==b?void 0:b.lift)}function e(b){return M=>{if(m(M))return M.lift(function(k){try{return b(k,this)}catch(F){this.error(F)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(N,U,C)=>{"use strict";C.d(U,{Z:()=>b});var c=C(4004);const{isArray:m}=Array;function b(M){return(0,c.U)(k=>function e(M,k){return m(k)?M(...k):M(k)}(M,k))}},5032:(N,U,C)=>{"use strict";function c(){}C.d(U,{Z:()=>c})},9635:(N,U,C)=>{"use strict";C.d(U,{U:()=>e,z:()=>m});var c=C(4671);function m(...b){return e(b)}function e(b){return 0===b.length?c.y:1===b.length?b[0]:function(k){return b.reduce((F,G)=>G(F),k)}}},7849:(N,U,C)=>{"use strict";C.d(U,{h:()=>e});var c=C(2416),m=C(3410);function e(b){m.z.setTimeout(()=>{const{onUnhandledError:M}=c.v;if(!M)throw b;M(b)})}},4532:(N,U,C)=>{"use strict";function c(m){return new TypeError(`You provided ${null!==m&&"object"==typeof m?"an invalid object":`'${m}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}C.d(U,{z:()=>c})},6700:(N,U,C)=>{var c={"./af":7088,"./af.js":7088,"./ar":7038,"./ar-dz":2502,"./ar-dz.js":2502,"./ar-kw":128,"./ar-kw.js":128,"./ar-ly":4519,"./ar-ly.js":4519,"./ar-ma":5443,"./ar-ma.js":5443,"./ar-sa":7642,"./ar-sa.js":7642,"./ar-tn":8592,"./ar-tn.js":8592,"./ar.js":7038,"./az":1213,"./az.js":1213,"./be":9191,"./be.js":9191,"./bg":322,"./bg.js":322,"./bm":8042,"./bm.js":8042,"./bn":9620,"./bn-bd":5903,"./bn-bd.js":5903,"./bn.js":9620,"./bo":9645,"./bo.js":9645,"./br":5020,"./br.js":5020,"./bs":4792,"./bs.js":4792,"./ca":7980,"./ca.js":7980,"./cs":7322,"./cs.js":7322,"./cv":365,"./cv.js":365,"./cy":2092,"./cy.js":2092,"./da":7387,"./da.js":7387,"./de":4307,"./de-at":9459,"./de-at.js":9459,"./de-ch":3694,"./de-ch.js":3694,"./de.js":4307,"./dv":9659,"./dv.js":9659,"./el":3460,"./el.js":3460,"./en-au":4369,"./en-au.js":4369,"./en-ca":530,"./en-ca.js":530,"./en-gb":9998,"./en-gb.js":9998,"./en-ie":3391,"./en-ie.js":3391,"./en-il":5414,"./en-il.js":5414,"./en-in":9615,"./en-in.js":9615,"./en-nz":1248,"./en-nz.js":1248,"./en-sg":3767,"./en-sg.js":3767,"./eo":4530,"./eo.js":4530,"./es":6866,"./es-do":8944,"./es-do.js":8944,"./es-mx":9116,"./es-mx.js":9116,"./es-us":3609,"./es-us.js":3609,"./es.js":6866,"./et":6725,"./et.js":6725,"./eu":7931,"./eu.js":7931,"./fa":6417,"./fa.js":6417,"./fi":944,"./fi.js":944,"./fil":1766,"./fil.js":1766,"./fo":5867,"./fo.js":5867,"./fr":1636,"./fr-ca":6848,"./fr-ca.js":6848,"./fr-ch":7773,"./fr-ch.js":7773,"./fr.js":1636,"./fy":4940,"./fy.js":4940,"./ga":1402,"./ga.js":1402,"./gd":6924,"./gd.js":6924,"./gl":6398,"./gl.js":6398,"./gom-deva":2457,"./gom-deva.js":2457,"./gom-latn":2545,"./gom-latn.js":2545,"./gu":2641,"./gu.js":2641,"./he":7536,"./he.js":7536,"./hi":6335,"./hi.js":6335,"./hr":7458,"./hr.js":7458,"./hu":6540,"./hu.js":6540,"./hy-am":5283,"./hy-am.js":5283,"./id":8780,"./id.js":8780,"./is":4205,"./is.js":4205,"./it":4211,"./it-ch":9985,"./it-ch.js":9985,"./it.js":4211,"./ja":1003,"./ja.js":1003,"./jv":420,"./jv.js":420,"./ka":851,"./ka.js":851,"./kk":6074,"./kk.js":6074,"./km":3343,"./km.js":3343,"./kn":4799,"./kn.js":4799,"./ko":3549,"./ko.js":3549,"./ku":1037,"./ku.js":1037,"./ky":3125,"./ky.js":3125,"./lb":9586,"./lb.js":9586,"./lo":2349,"./lo.js":2349,"./lt":2400,"./lt.js":2400,"./lv":9991,"./lv.js":9991,"./me":8477,"./me.js":8477,"./mi":5118,"./mi.js":5118,"./mk":5943,"./mk.js":5943,"./ml":3849,"./ml.js":3849,"./mn":1977,"./mn.js":1977,"./mr":6184,"./mr.js":6184,"./ms":485,"./ms-my":4524,"./ms-my.js":4524,"./ms.js":485,"./mt":6681,"./mt.js":6681,"./my":2024,"./my.js":2024,"./nb":2688,"./nb.js":2688,"./ne":8914,"./ne.js":8914,"./nl":1758,"./nl-be":2272,"./nl-be.js":2272,"./nl.js":1758,"./nn":1510,"./nn.js":1510,"./oc-lnc":2797,"./oc-lnc.js":2797,"./pa-in":7944,"./pa-in.js":7944,"./pl":1605,"./pl.js":1605,"./pt":4225,"./pt-br":3840,"./pt-br.js":3840,"./pt.js":4225,"./ro":5128,"./ro.js":5128,"./ru":5127,"./ru.js":5127,"./sd":2525,"./sd.js":2525,"./se":9893,"./se.js":9893,"./si":3123,"./si.js":3123,"./sk":3027,"./sk.js":3027,"./sl":8106,"./sl.js":8106,"./sq":8799,"./sq.js":8799,"./sr":7949,"./sr-cyrl":2872,"./sr-cyrl.js":2872,"./sr.js":7949,"./ss":6167,"./ss.js":6167,"./sv":9713,"./sv.js":9713,"./sw":1982,"./sw.js":1982,"./ta":2732,"./ta.js":2732,"./te":3636,"./te.js":3636,"./tet":2115,"./tet.js":2115,"./tg":9801,"./tg.js":9801,"./th":2868,"./th.js":2868,"./tk":1310,"./tk.js":1310,"./tl-ph":2360,"./tl-ph.js":2360,"./tlh":6645,"./tlh.js":6645,"./tr":8374,"./tr.js":8374,"./tzl":256,"./tzl.js":256,"./tzm":1595,"./tzm-latn":1631,"./tzm-latn.js":1631,"./tzm.js":1595,"./ug-cn":6050,"./ug-cn.js":6050,"./uk":5610,"./uk.js":5610,"./ur":6077,"./ur.js":6077,"./uz":2862,"./uz-latn":2207,"./uz-latn.js":2207,"./uz.js":2862,"./vi":8093,"./vi.js":8093,"./x-pseudo":5590,"./x-pseudo.js":5590,"./yo":9058,"./yo.js":9058,"./zh-cn":7908,"./zh-cn.js":7908,"./zh-hk":8867,"./zh-hk.js":8867,"./zh-mo":1133,"./zh-mo.js":1133,"./zh-tw":3291,"./zh-tw.js":3291};function m(b){var M=e(b);return C(M)}function e(b){if(!C.o(c,b)){var M=new Error("Cannot find module '"+b+"'");throw M.code="MODULE_NOT_FOUND",M}return c[b]}m.keys=function(){return Object.keys(c)},m.resolve=e,N.exports=m,m.id=6700},655:(N,U,C)=>{"use strict";function M(Ye,qe,ie,Oe){var ri,mt=arguments.length,kt=mt<3?qe:null===Oe?Oe=Object.getOwnPropertyDescriptor(qe,ie):Oe;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)kt=Reflect.decorate(Ye,qe,ie,Oe);else for(var bt=Ye.length-1;bt>=0;bt--)(ri=Ye[bt])&&(kt=(mt<3?ri(kt):mt>3?ri(qe,ie,kt):ri(qe,ie))||kt);return mt>3&&kt&&Object.defineProperty(qe,ie,kt),kt}function G(Ye,qe,ie,Oe){return new(ie||(ie=Promise))(function(kt,ri){function bt(Xe){try{ye(Oe.next(Xe))}catch(Ae){ri(Ae)}}function Wt(Xe){try{ye(Oe.throw(Xe))}catch(Ae){ri(Ae)}}function ye(Xe){Xe.done?kt(Xe.value):function mt(kt){return kt instanceof ie?kt:new ie(function(ri){ri(kt)})}(Xe.value).then(bt,Wt)}ye((Oe=Oe.apply(Ye,qe||[])).next())})}function le(Ye){return this instanceof le?(this.v=Ye,this):new le(Ye)}function Ne(Ye,qe,ie){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var mt,Oe=ie.apply(Ye,qe||[]),kt=[];return mt={},ri("next"),ri("throw"),ri("return"),mt[Symbol.asyncIterator]=function(){return this},mt;function ri(he){Oe[he]&&(mt[he]=function(nt){return new Promise(function(Yt,Lt){kt.push([he,nt,Yt,Lt])>1||bt(he,nt)})})}function bt(he,nt){try{!function Wt(he){he.value instanceof le?Promise.resolve(he.value.v).then(ye,Xe):Ae(kt[0][2],he)}(Oe[he](nt))}catch(Yt){Ae(kt[0][3],Yt)}}function ye(he){bt("next",he)}function Xe(he){bt("throw",he)}function Ae(he,nt){he(nt),kt.shift(),kt.length&&bt(kt[0][0],kt[0][1])}}function jt(Ye){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ie,qe=Ye[Symbol.asyncIterator];return qe?qe.call(Ye):(Ye=function ce(Ye){var qe="function"==typeof Symbol&&Symbol.iterator,ie=qe&&Ye[qe],Oe=0;if(ie)return ie.call(Ye);if(Ye&&"number"==typeof Ye.length)return{next:function(){return Ye&&Oe>=Ye.length&&(Ye=void 0),{value:Ye&&Ye[Oe++],done:!Ye}}};throw new TypeError(qe?"Object is not iterable.":"Symbol.iterator is not defined.")}(Ye),ie={},Oe("next"),Oe("throw"),Oe("return"),ie[Symbol.asyncIterator]=function(){return this},ie);function Oe(kt){ie[kt]=Ye[kt]&&function(ri){return new Promise(function(bt,Wt){!function mt(kt,ri,bt,Wt){Promise.resolve(Wt).then(function(ye){kt({value:ye,done:bt})},ri)}(bt,Wt,(ri=Ye[kt](ri)).done,ri.value)})}}}C.d(U,{FC:()=>Ne,KL:()=>jt,gn:()=>M,mG:()=>G,qq:()=>le})},1777:(N,U,C)=>{"use strict";C.d(U,{F4:()=>z,IO:()=>de,LC:()=>m,SB:()=>ee,X$:()=>b,ZE:()=>yt,ZN:()=>Ne,_j:()=>c,eR:()=>ue,jt:()=>M,k1:()=>jt,l3:()=>e,oB:()=>G,pV:()=>ke,ru:()=>k,vP:()=>F});class c{}class m{}const e="*";function b(st,Te){return{type:7,name:st,definitions:Te,options:{}}}function M(st,Te=null){return{type:4,styles:Te,timings:st}}function k(st,Te=null){return{type:3,steps:st,options:Te}}function F(st,Te=null){return{type:2,steps:st,options:Te}}function G(st){return{type:6,styles:st,offset:null}}function ee(st,Te,Le){return{type:0,name:st,styles:Te,options:Le}}function z(st){return{type:5,steps:st}}function ue(st,Te,Le=null){return{type:1,expr:st,animation:Te,options:Le}}function ke(st=null){return{type:9,options:st}}function de(st,Te,Le=null){return{type:11,selector:st,animation:Te,options:Le}}function le(st){Promise.resolve().then(st)}class Ne{constructor(Te=0,Le=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=Te+Le}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Te=>Te()),this._onDoneFns=[])}onStart(Te){this._originalOnStartFns.push(Te),this._onStartFns.push(Te)}onDone(Te){this._originalOnDoneFns.push(Te),this._onDoneFns.push(Te)}onDestroy(Te){this._onDestroyFns.push(Te)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){le(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(Te=>Te()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(Te=>Te()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(Te){this._position=this.totalTime?Te*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(Te){const Le="start"==Te?this._onStartFns:this._onDoneFns;Le.forEach(at=>at()),Le.length=0}}class yt{constructor(Te){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=Te;let Le=0,at=0,_e=0;const xt=this.players.length;0==xt?le(()=>this._onFinish()):this.players.forEach(tt=>{tt.onDone(()=>{++Le==xt&&this._onFinish()}),tt.onDestroy(()=>{++at==xt&&this._onDestroy()}),tt.onStart(()=>{++_e==xt&&this._onStart()})}),this.totalTime=this.players.reduce((tt,Ye)=>Math.max(tt,Ye.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Te=>Te()),this._onDoneFns=[])}init(){this.players.forEach(Te=>Te.init())}onStart(Te){this._onStartFns.push(Te)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(Te=>Te()),this._onStartFns=[])}onDone(Te){this._onDoneFns.push(Te)}onDestroy(Te){this._onDestroyFns.push(Te)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(Te=>Te.play())}pause(){this.players.forEach(Te=>Te.pause())}restart(){this.players.forEach(Te=>Te.restart())}finish(){this._onFinish(),this.players.forEach(Te=>Te.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(Te=>Te.destroy()),this._onDestroyFns.forEach(Te=>Te()),this._onDestroyFns=[])}reset(){this.players.forEach(Te=>Te.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(Te){const Le=Te*this.totalTime;this.players.forEach(at=>{const _e=at.totalTime?Math.min(1,Le/at.totalTime):1;at.setPosition(_e)})}getPosition(){const Te=this.players.reduce((Le,at)=>null===Le||at.totalTime>Le.totalTime?at:Le,null);return null!=Te?Te.getPosition():0}beforeDestroy(){this.players.forEach(Te=>{Te.beforeDestroy&&Te.beforeDestroy()})}triggerCallback(Te){const Le="start"==Te?this._onStartFns:this._onDoneFns;Le.forEach(at=>at()),Le.length=0}}const jt="!"},5664:(N,U,C)=>{"use strict";C.d(U,{$s:()=>Ye,Em:()=>kt,Kd:()=>Gt,X6:()=>Je,ic:()=>bt,kH:()=>xi,mK:()=>ut,qV:()=>Se,qm:()=>it,rt:()=>Qe,s1:()=>mt,tE:()=>Bi,yG:()=>Y});var c=C(9808),m=C(5e3),e=C(925),b=C(7579),M=C(727),k=C(1135),F=C(9646),G=C(1159),ee=C(8505),z=C(8372),ue=C(9300),ce=C(4004),ke=C(5698),Pe=C(5684),de=C(1884),Ge=C(2722),le=C(3191),Ne=C(7144),yt=C(5113);function Le(Re,We){return(Re.getAttribute(We)||"").match(/\S+/g)||[]}const _e="cdk-describedby-message",xt="cdk-describedby-host";let tt=0,Ye=(()=>{class Re{constructor(Ie,_t){this._platform=_t,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+tt++,this._document=Ie,this._id=(0,m.f3M)(m.AFp)+"-"+tt++}describe(Ie,_t,Dt){if(!this._canBeDescribed(Ie,_t))return;const si=qe(_t,Dt);"string"!=typeof _t?(ie(_t,this._id),this._messageRegistry.set(si,{messageElement:_t,referenceCount:0})):this._messageRegistry.has(si)||this._createMessageElement(_t,Dt),this._isElementDescribedByMessage(Ie,si)||this._addMessageReference(Ie,si)}removeDescription(Ie,_t,Dt){var si;if(!_t||!this._isElementNode(Ie))return;const Vi=qe(_t,Dt);if(this._isElementDescribedByMessage(Ie,Vi)&&this._removeMessageReference(Ie,Vi),"string"==typeof _t){const It=this._messageRegistry.get(Vi);It&&0===It.referenceCount&&this._deleteMessageElement(Vi)}0===(null===(si=this._messagesContainer)||void 0===si?void 0:si.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var Ie;const _t=this._document.querySelectorAll(`[${xt}="${this._id}"]`);for(let Dt=0;Dt<_t.length;Dt++)this._removeCdkDescribedByReferenceIds(_t[Dt]),_t[Dt].removeAttribute(xt);null===(Ie=this._messagesContainer)||void 0===Ie||Ie.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(Ie,_t){const Dt=this._document.createElement("div");ie(Dt,this._id),Dt.textContent=Ie,_t&&Dt.setAttribute("role",_t),this._createMessagesContainer(),this._messagesContainer.appendChild(Dt),this._messageRegistry.set(qe(Ie,_t),{messageElement:Dt,referenceCount:0})}_deleteMessageElement(Ie){var _t,Dt;null===(Dt=null===(_t=this._messageRegistry.get(Ie))||void 0===_t?void 0:_t.messageElement)||void 0===Dt||Dt.remove(),this._messageRegistry.delete(Ie)}_createMessagesContainer(){if(this._messagesContainer)return;const Ie="cdk-describedby-message-container",_t=this._document.querySelectorAll(`.${Ie}[platform="server"]`);for(let si=0;si<_t.length;si++)_t[si].remove();const Dt=this._document.createElement("div");Dt.style.visibility="hidden",Dt.classList.add(Ie),Dt.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&Dt.setAttribute("platform","server"),this._document.body.appendChild(Dt),this._messagesContainer=Dt}_removeCdkDescribedByReferenceIds(Ie){const _t=Le(Ie,"aria-describedby").filter(Dt=>0!=Dt.indexOf(_e));Ie.setAttribute("aria-describedby",_t.join(" "))}_addMessageReference(Ie,_t){const Dt=this._messageRegistry.get(_t);(function st(Re,We,Ie){const _t=Le(Re,We);_t.some(Dt=>Dt.trim()==Ie.trim())||(_t.push(Ie.trim()),Re.setAttribute(We,_t.join(" ")))})(Ie,"aria-describedby",Dt.messageElement.id),Ie.setAttribute(xt,this._id),Dt.referenceCount++}_removeMessageReference(Ie,_t){const Dt=this._messageRegistry.get(_t);Dt.referenceCount--,function Te(Re,We,Ie){const Dt=Le(Re,We).filter(si=>si!=Ie.trim());Dt.length?Re.setAttribute(We,Dt.join(" ")):Re.removeAttribute(We)}(Ie,"aria-describedby",Dt.messageElement.id),Ie.removeAttribute(xt)}_isElementDescribedByMessage(Ie,_t){const Dt=Le(Ie,"aria-describedby"),si=this._messageRegistry.get(_t),Vi=si&&si.messageElement.id;return!!Vi&&-1!=Dt.indexOf(Vi)}_canBeDescribed(Ie,_t){if(!this._isElementNode(Ie))return!1;if(_t&&"object"==typeof _t)return!0;const Dt=null==_t?"":`${_t}`.trim(),si=Ie.getAttribute("aria-label");return!(!Dt||si&&si.trim()===Dt)}_isElementNode(Ie){return Ie.nodeType===this._document.ELEMENT_NODE}}return Re.\u0275fac=function(Ie){return new(Ie||Re)(m.LFG(c.K0),m.LFG(e.t4))},Re.\u0275prov=m.Yz7({token:Re,factory:Re.\u0275fac,providedIn:"root"}),Re})();function qe(Re,We){return"string"==typeof Re?`${We||""}/${Re}`:Re}function ie(Re,We){Re.id||(Re.id=`${_e}-${We}-${tt++}`)}class Oe{constructor(We){this._items=We,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new b.x,this._typeaheadSubscription=M.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=Ie=>Ie.disabled,this._pressedLetters=[],this.tabOut=new b.x,this.change=new b.x,We instanceof m.n_E&&We.changes.subscribe(Ie=>{if(this._activeItem){const Dt=Ie.toArray().indexOf(this._activeItem);Dt>-1&&Dt!==this._activeItemIndex&&(this._activeItemIndex=Dt)}})}skipPredicate(We){return this._skipPredicateFn=We,this}withWrap(We=!0){return this._wrap=We,this}withVerticalOrientation(We=!0){return this._vertical=We,this}withHorizontalOrientation(We){return this._horizontal=We,this}withAllowedModifierKeys(We){return this._allowedModifierKeys=We,this}withTypeAhead(We=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,ee.b)(Ie=>this._pressedLetters.push(Ie)),(0,z.b)(We),(0,ue.h)(()=>this._pressedLetters.length>0),(0,ce.U)(()=>this._pressedLetters.join(""))).subscribe(Ie=>{const _t=this._getItemsArray();for(let Dt=1;Dt<_t.length+1;Dt++){const si=(this._activeItemIndex+Dt)%_t.length,Vi=_t[si];if(!this._skipPredicateFn(Vi)&&0===Vi.getLabel().toUpperCase().trim().indexOf(Ie)){this.setActiveItem(si);break}}this._pressedLetters=[]}),this}withHomeAndEnd(We=!0){return this._homeAndEnd=We,this}setActiveItem(We){const Ie=this._activeItem;this.updateActiveItem(We),this._activeItem!==Ie&&this.change.next(this._activeItemIndex)}onKeydown(We){const Ie=We.keyCode,Dt=["altKey","ctrlKey","metaKey","shiftKey"].every(si=>!We[si]||this._allowedModifierKeys.indexOf(si)>-1);switch(Ie){case G.Mf:return void this.tabOut.next();case G.JH:if(this._vertical&&Dt){this.setNextItemActive();break}return;case G.LH:if(this._vertical&&Dt){this.setPreviousItemActive();break}return;case G.SV:if(this._horizontal&&Dt){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case G.oh:if(this._horizontal&&Dt){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case G.Sd:if(this._homeAndEnd&&Dt){this.setFirstItemActive();break}return;case G.uR:if(this._homeAndEnd&&Dt){this.setLastItemActive();break}return;default:return void((Dt||(0,G.Vb)(We,"shiftKey"))&&(We.key&&1===We.key.length?this._letterKeyStream.next(We.key.toLocaleUpperCase()):(Ie>=G.A&&Ie<=G.Z||Ie>=G.xE&&Ie<=G.aO)&&this._letterKeyStream.next(String.fromCharCode(Ie))))}this._pressedLetters=[],We.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(We){const Ie=this._getItemsArray(),_t="number"==typeof We?We:Ie.indexOf(We),Dt=Ie[_t];this._activeItem=null==Dt?null:Dt,this._activeItemIndex=_t}_setActiveItemByDelta(We){this._wrap?this._setActiveInWrapMode(We):this._setActiveInDefaultMode(We)}_setActiveInWrapMode(We){const Ie=this._getItemsArray();for(let _t=1;_t<=Ie.length;_t++){const Dt=(this._activeItemIndex+We*_t+Ie.length)%Ie.length;if(!this._skipPredicateFn(Ie[Dt]))return void this.setActiveItem(Dt)}}_setActiveInDefaultMode(We){this._setActiveItemByIndex(this._activeItemIndex+We,We)}_setActiveItemByIndex(We,Ie){const _t=this._getItemsArray();if(_t[We]){for(;this._skipPredicateFn(_t[We]);)if(!_t[We+=Ie])return;this.setActiveItem(We)}}_getItemsArray(){return this._items instanceof m.n_E?this._items.toArray():this._items}}class mt extends Oe{setActiveItem(We){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(We),this.activeItem&&this.activeItem.setActiveStyles()}}class kt extends Oe{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(We){return this._origin=We,this}setActiveItem(We){super.setActiveItem(We),this.activeItem&&this.activeItem.focus(this._origin)}}let bt=(()=>{class Re{constructor(Ie){this._platform=Ie}isDisabled(Ie){return Ie.hasAttribute("disabled")}isVisible(Ie){return function ye(Re){return!!(Re.offsetWidth||Re.offsetHeight||"function"==typeof Re.getClientRects&&Re.getClientRects().length)}(Ie)&&"visible"===getComputedStyle(Ie).visibility}isTabbable(Ie){if(!this._platform.isBrowser)return!1;const _t=function Wt(Re){try{return Re.frameElement}catch(We){return null}}(function ne(Re){return Re.ownerDocument&&Re.ownerDocument.defaultView||window}(Ie));if(_t&&(-1===Ai(_t)||!this.isVisible(_t)))return!1;let Dt=Ie.nodeName.toLowerCase(),si=Ai(Ie);return Ie.hasAttribute("contenteditable")?-1!==si:!("iframe"===Dt||"object"===Dt||this._platform.WEBKIT&&this._platform.IOS&&!function ei(Re){let We=Re.nodeName.toLowerCase(),Ie="input"===We&&Re.type;return"text"===Ie||"password"===Ie||"select"===We||"textarea"===We}(Ie))&&("audio"===Dt?!!Ie.hasAttribute("controls")&&-1!==si:"video"===Dt?-1!==si&&(null!==si||this._platform.FIREFOX||Ie.hasAttribute("controls")):Ie.tabIndex>=0)}isFocusable(Ie,_t){return function hi(Re){return!function Ae(Re){return function nt(Re){return"input"==Re.nodeName.toLowerCase()}(Re)&&"hidden"==Re.type}(Re)&&(function Xe(Re){let We=Re.nodeName.toLowerCase();return"input"===We||"select"===We||"button"===We||"textarea"===We}(Re)||function he(Re){return function Yt(Re){return"a"==Re.nodeName.toLowerCase()}(Re)&&Re.hasAttribute("href")}(Re)||Re.hasAttribute("contenteditable")||Lt(Re))}(Ie)&&!this.isDisabled(Ie)&&((null==_t?void 0:_t.ignoreVisibility)||this.isVisible(Ie))}}return Re.\u0275fac=function(Ie){return new(Ie||Re)(m.LFG(e.t4))},Re.\u0275prov=m.Yz7({token:Re,factory:Re.\u0275fac,providedIn:"root"}),Re})();function Lt(Re){if(!Re.hasAttribute("tabindex")||void 0===Re.tabIndex)return!1;let We=Re.getAttribute("tabindex");return!(!We||isNaN(parseInt(We,10)))}function Ai(Re){if(!Lt(Re))return null;const We=parseInt(Re.getAttribute("tabindex")||"",10);return isNaN(We)?-1:We}class Tt{constructor(We,Ie,_t,Dt,si=!1){this._element=We,this._checker=Ie,this._ngZone=_t,this._document=Dt,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,si||this.attachAnchors()}get enabled(){return this._enabled}set enabled(We){this._enabled=We,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(We,this._startAnchor),this._toggleAnchorTabIndex(We,this._endAnchor))}destroy(){const We=this._startAnchor,Ie=this._endAnchor;We&&(We.removeEventListener("focus",this.startAnchorListener),We.remove()),Ie&&(Ie.removeEventListener("focus",this.endAnchorListener),Ie.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(We){return new Promise(Ie=>{this._executeOnStable(()=>Ie(this.focusInitialElement(We)))})}focusFirstTabbableElementWhenReady(We){return new Promise(Ie=>{this._executeOnStable(()=>Ie(this.focusFirstTabbableElement(We)))})}focusLastTabbableElementWhenReady(We){return new Promise(Ie=>{this._executeOnStable(()=>Ie(this.focusLastTabbableElement(We)))})}_getRegionBoundary(We){const Ie=this._element.querySelectorAll(`[cdk-focus-region-${We}], [cdkFocusRegion${We}], [cdk-focus-${We}]`);return"start"==We?Ie.length?Ie[0]:this._getFirstTabbableElement(this._element):Ie.length?Ie[Ie.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(We){const Ie=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(Ie){if(!this._checker.isFocusable(Ie)){const _t=this._getFirstTabbableElement(Ie);return null==_t||_t.focus(We),!!_t}return Ie.focus(We),!0}return this.focusFirstTabbableElement(We)}focusFirstTabbableElement(We){const Ie=this._getRegionBoundary("start");return Ie&&Ie.focus(We),!!Ie}focusLastTabbableElement(We){const Ie=this._getRegionBoundary("end");return Ie&&Ie.focus(We),!!Ie}hasAttached(){return this._hasAttached}_getFirstTabbableElement(We){if(this._checker.isFocusable(We)&&this._checker.isTabbable(We))return We;const Ie=We.children;for(let _t=0;_t=0;_t--){const Dt=Ie[_t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(Ie[_t]):null;if(Dt)return Dt}return null}_createAnchor(){const We=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,We),We.classList.add("cdk-visually-hidden"),We.classList.add("cdk-focus-trap-anchor"),We.setAttribute("aria-hidden","true"),We}_toggleAnchorTabIndex(We,Ie){We?Ie.setAttribute("tabindex","0"):Ie.removeAttribute("tabindex")}toggleAnchors(We){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(We,this._startAnchor),this._toggleAnchorTabIndex(We,this._endAnchor))}_executeOnStable(We){this._ngZone.isStable?We():this._ngZone.onStable.pipe((0,ke.q)(1)).subscribe(We)}}let Se=(()=>{class Re{constructor(Ie,_t,Dt){this._checker=Ie,this._ngZone=_t,this._document=Dt}create(Ie,_t=!1){return new Tt(Ie,this._checker,this._ngZone,this._document,_t)}}return Re.\u0275fac=function(Ie){return new(Ie||Re)(m.LFG(bt),m.LFG(m.R0b),m.LFG(c.K0))},Re.\u0275prov=m.Yz7({token:Re,factory:Re.\u0275fac,providedIn:"root"}),Re})(),ut=(()=>{class Re{constructor(Ie,_t,Dt){this._elementRef=Ie,this._focusTrapFactory=_t,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(Ie){this.focusTrap.enabled=(0,le.Ig)(Ie)}get autoCapture(){return this._autoCapture}set autoCapture(Ie){this._autoCapture=(0,le.Ig)(Ie)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(Ie){const _t=Ie.autoCapture;_t&&!_t.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,e.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return Re.\u0275fac=function(Ie){return new(Ie||Re)(m.Y36(m.SBq),m.Y36(Se),m.Y36(c.K0))},Re.\u0275dir=m.lG2({type:Re,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[m.TTD]}),Re})();function Je(Re){return 0===Re.buttons||0===Re.offsetX&&0===Re.offsetY}function Y(Re){const We=Re.touches&&Re.touches[0]||Re.changedTouches&&Re.changedTouches[0];return!(!We||-1!==We.identifier||null!=We.radiusX&&1!==We.radiusX||null!=We.radiusY&&1!==We.radiusY)}const X=new m.OlP("cdk-input-modality-detector-options"),A={ignoreKeys:[G.zL,G.jx,G.b2,G.MW,G.JU]},Fe=(0,e.i$)({passive:!0,capture:!0});let we=(()=>{class Re{constructor(Ie,_t,Dt,si){this._platform=Ie,this._mostRecentTarget=null,this._modality=new k.X(null),this._lastTouchMs=0,this._onKeydown=Vi=>{var It,ci;null!==(ci=null===(It=this._options)||void 0===It?void 0:It.ignoreKeys)&&void 0!==ci&&ci.some(Ee=>Ee===Vi.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,e.sA)(Vi))},this._onMousedown=Vi=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Je(Vi)?"keyboard":"mouse"),this._mostRecentTarget=(0,e.sA)(Vi))},this._onTouchstart=Vi=>{Y(Vi)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,e.sA)(Vi))},this._options=Object.assign(Object.assign({},A),si),this.modalityDetected=this._modality.pipe((0,Pe.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,de.x)()),Ie.isBrowser&&_t.runOutsideAngular(()=>{Dt.addEventListener("keydown",this._onKeydown,Fe),Dt.addEventListener("mousedown",this._onMousedown,Fe),Dt.addEventListener("touchstart",this._onTouchstart,Fe)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Fe),document.removeEventListener("mousedown",this._onMousedown,Fe),document.removeEventListener("touchstart",this._onTouchstart,Fe))}}return Re.\u0275fac=function(Ie){return new(Ie||Re)(m.LFG(e.t4),m.LFG(m.R0b),m.LFG(c.K0),m.LFG(X,8))},Re.\u0275prov=m.Yz7({token:Re,factory:Re.\u0275fac,providedIn:"root"}),Re})();const De=new m.OlP("liveAnnouncerElement",{providedIn:"root",factory:function ct(){return null}}),Et=new m.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Gt=(()=>{class Re{constructor(Ie,_t,Dt,si){this._ngZone=_t,this._defaultOptions=si,this._document=Dt,this._liveElement=Ie||this._createLiveElement()}announce(Ie,..._t){const Dt=this._defaultOptions;let si,Vi;return 1===_t.length&&"number"==typeof _t[0]?Vi=_t[0]:[si,Vi]=_t,this.clear(),clearTimeout(this._previousTimeout),si||(si=Dt&&Dt.politeness?Dt.politeness:"polite"),null==Vi&&Dt&&(Vi=Dt.duration),this._liveElement.setAttribute("aria-live",si),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(It=>this._currentResolve=It)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=Ie,"number"==typeof Vi&&(this._previousTimeout=setTimeout(()=>this.clear(),Vi)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var Ie,_t;clearTimeout(this._previousTimeout),null===(Ie=this._liveElement)||void 0===Ie||Ie.remove(),this._liveElement=null,null===(_t=this._currentResolve)||void 0===_t||_t.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const Ie="cdk-live-announcer-element",_t=this._document.getElementsByClassName(Ie),Dt=this._document.createElement("div");for(let si=0;si<_t.length;si++)_t[si].remove();return Dt.classList.add(Ie),Dt.classList.add("cdk-visually-hidden"),Dt.setAttribute("aria-atomic","true"),Dt.setAttribute("aria-live","polite"),this._document.body.appendChild(Dt),Dt}}return Re.\u0275fac=function(Ie){return new(Ie||Re)(m.LFG(De,8),m.LFG(m.R0b),m.LFG(c.K0),m.LFG(Et,8))},Re.\u0275prov=m.Yz7({token:Re,factory:Re.\u0275fac,providedIn:"root"}),Re})();const di=new m.OlP("cdk-focus-monitor-default-options"),zt=(0,e.i$)({passive:!0,capture:!0});let Bi=(()=>{class Re{constructor(Ie,_t,Dt,si,Vi){this._ngZone=Ie,this._platform=_t,this._inputModalityDetector=Dt,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new b.x,this._rootNodeFocusAndBlurListener=It=>{for(let Ee=(0,e.sA)(It);Ee;Ee=Ee.parentElement)"focus"===It.type?this._onFocus(It,Ee):this._onBlur(It,Ee)},this._document=si,this._detectionMode=(null==Vi?void 0:Vi.detectionMode)||0}monitor(Ie,_t=!1){const Dt=(0,le.fI)(Ie);if(!this._platform.isBrowser||1!==Dt.nodeType)return(0,F.of)(null);const si=(0,e.kV)(Dt)||this._getDocument(),Vi=this._elementInfo.get(Dt);if(Vi)return _t&&(Vi.checkChildren=!0),Vi.subject;const It={checkChildren:_t,subject:new b.x,rootNode:si};return this._elementInfo.set(Dt,It),this._registerGlobalListeners(It),It.subject}stopMonitoring(Ie){const _t=(0,le.fI)(Ie),Dt=this._elementInfo.get(_t);Dt&&(Dt.subject.complete(),this._setClasses(_t),this._elementInfo.delete(_t),this._removeGlobalListeners(Dt))}focusVia(Ie,_t,Dt){const si=(0,le.fI)(Ie);si===this._getDocument().activeElement?this._getClosestElementsInfo(si).forEach(([It,ci])=>this._originChanged(It,_t,ci)):(this._setOrigin(_t),"function"==typeof si.focus&&si.focus(Dt))}ngOnDestroy(){this._elementInfo.forEach((Ie,_t)=>this.stopMonitoring(_t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(Ie){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(Ie)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:Ie&&this._isLastInteractionFromInputLabel(Ie)?"mouse":"program"}_shouldBeAttributedToTouch(Ie){return 1===this._detectionMode||!(null==Ie||!Ie.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(Ie,_t){Ie.classList.toggle("cdk-focused",!!_t),Ie.classList.toggle("cdk-touch-focused","touch"===_t),Ie.classList.toggle("cdk-keyboard-focused","keyboard"===_t),Ie.classList.toggle("cdk-mouse-focused","mouse"===_t),Ie.classList.toggle("cdk-program-focused","program"===_t)}_setOrigin(Ie,_t=!1){this._ngZone.runOutsideAngular(()=>{this._origin=Ie,this._originFromTouchInteraction="touch"===Ie&&_t,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(Ie,_t){const Dt=this._elementInfo.get(_t),si=(0,e.sA)(Ie);!Dt||!Dt.checkChildren&&_t!==si||this._originChanged(_t,this._getFocusOrigin(si),Dt)}_onBlur(Ie,_t){const Dt=this._elementInfo.get(_t);!Dt||Dt.checkChildren&&Ie.relatedTarget instanceof Node&&_t.contains(Ie.relatedTarget)||(this._setClasses(_t),this._emitOrigin(Dt,null))}_emitOrigin(Ie,_t){Ie.subject.observers.length&&this._ngZone.run(()=>Ie.subject.next(_t))}_registerGlobalListeners(Ie){if(!this._platform.isBrowser)return;const _t=Ie.rootNode,Dt=this._rootNodeFocusListenerCount.get(_t)||0;Dt||this._ngZone.runOutsideAngular(()=>{_t.addEventListener("focus",this._rootNodeFocusAndBlurListener,zt),_t.addEventListener("blur",this._rootNodeFocusAndBlurListener,zt)}),this._rootNodeFocusListenerCount.set(_t,Dt+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,Ge.R)(this._stopInputModalityDetector)).subscribe(si=>{this._setOrigin(si,!0)}))}_removeGlobalListeners(Ie){const _t=Ie.rootNode;if(this._rootNodeFocusListenerCount.has(_t)){const Dt=this._rootNodeFocusListenerCount.get(_t);Dt>1?this._rootNodeFocusListenerCount.set(_t,Dt-1):(_t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,zt),_t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,zt),this._rootNodeFocusListenerCount.delete(_t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(Ie,_t,Dt){this._setClasses(Ie,_t),this._emitOrigin(Dt,_t),this._lastFocusOrigin=_t}_getClosestElementsInfo(Ie){const _t=[];return this._elementInfo.forEach((Dt,si)=>{(si===Ie||Dt.checkChildren&&si.contains(Ie))&&_t.push([si,Dt])}),_t}_isLastInteractionFromInputLabel(Ie){const{_mostRecentTarget:_t,mostRecentModality:Dt}=this._inputModalityDetector;if("mouse"!==Dt||!_t||_t===Ie||"INPUT"!==Ie.nodeName&&"TEXTAREA"!==Ie.nodeName||Ie.disabled)return!1;const si=Ie.labels;if(si)for(let Vi=0;Vi{class Re{constructor(Ie,_t){this._elementRef=Ie,this._focusMonitor=_t,this._focusOrigin=null,this.cdkFocusChange=new m.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const Ie=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(Ie,1===Ie.nodeType&&Ie.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(_t=>{this._focusOrigin=_t,this.cdkFocusChange.emit(_t)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return Re.\u0275fac=function(Ie){return new(Ie||Re)(m.Y36(m.SBq),m.Y36(Bi))},Re.\u0275dir=m.lG2({type:Re,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),Re})();const $n="cdk-high-contrast-black-on-white",Hi="cdk-high-contrast-white-on-black",ht="cdk-high-contrast-active";let it=(()=>{class Re{constructor(Ie,_t){this._platform=Ie,this._document=_t,this._breakpointSubscription=(0,m.f3M)(yt.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const Ie=this._document.createElement("div");Ie.style.backgroundColor="rgb(1,2,3)",Ie.style.position="absolute",this._document.body.appendChild(Ie);const _t=this._document.defaultView||window,Dt=_t&&_t.getComputedStyle?_t.getComputedStyle(Ie):null,si=(Dt&&Dt.backgroundColor||"").replace(/ /g,"");switch(Ie.remove(),si){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const Ie=this._document.body.classList;Ie.remove(ht,$n,Hi),this._hasCheckedHighContrastMode=!0;const _t=this.getHighContrastMode();1===_t?Ie.add(ht,$n):2===_t&&Ie.add(ht,Hi)}}}return Re.\u0275fac=function(Ie){return new(Ie||Re)(m.LFG(e.t4),m.LFG(c.K0))},Re.\u0275prov=m.Yz7({token:Re,factory:Re.\u0275fac,providedIn:"root"}),Re})(),Qe=(()=>{class Re{constructor(Ie){Ie._applyBodyHighContrastModeCssClasses()}}return Re.\u0275fac=function(Ie){return new(Ie||Re)(m.LFG(it))},Re.\u0275mod=m.oAB({type:Re}),Re.\u0275inj=m.cJS({imports:[Ne.Q8]}),Re})()},226:(N,U,C)=>{"use strict";C.d(U,{Is:()=>F,vT:()=>ee});var c=C(5e3),m=C(9808);const e=new c.OlP("cdk-dir-doc",{providedIn:"root",factory:function b(){return(0,c.f3M)(m.K0)}}),M=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let F=(()=>{class z{constructor(ce){if(this.value="ltr",this.change=new c.vpe,ce){const Pe=ce.documentElement?ce.documentElement.dir:null;this.value=function k(z){const ue=(null==z?void 0:z.toLowerCase())||"";return"auto"===ue&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?M.test(navigator.language)?"rtl":"ltr":"rtl"===ue?"rtl":"ltr"}((ce.body?ce.body.dir:null)||Pe||"ltr")}}ngOnDestroy(){this.change.complete()}}return z.\u0275fac=function(ce){return new(ce||z)(c.LFG(e,8))},z.\u0275prov=c.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})(),ee=(()=>{class z{}return z.\u0275fac=function(ce){return new(ce||z)},z.\u0275mod=c.oAB({type:z}),z.\u0275inj=c.cJS({}),z})()},3191:(N,U,C)=>{"use strict";C.d(U,{Eq:()=>M,HM:()=>k,Ig:()=>m,du:()=>G,fI:()=>F,su:()=>e});var c=C(5e3);function m(ee){return null!=ee&&"false"!=`${ee}`}function e(ee,z=0){return function b(ee){return!isNaN(parseFloat(ee))&&!isNaN(Number(ee))}(ee)?Number(ee):z}function M(ee){return Array.isArray(ee)?ee:[ee]}function k(ee){return null==ee?"":"string"==typeof ee?ee:`${ee}px`}function F(ee){return ee instanceof c.SBq?ee.nativeElement:ee}function G(ee,z=/\s+/){const ue=[];if(null!=ee){const ce=Array.isArray(ee)?ee:`${ee}`.split(z);for(const ke of ce){const Pe=`${ke}`.trim();Pe&&ue.push(Pe)}}return ue}},449:(N,U,C)=>{"use strict";C.d(U,{A8:()=>ue,Ov:()=>ee,Z9:()=>M,eX:()=>G,k:()=>ce,o2:()=>b,yy:()=>F});var c=C(4033),m=C(7579),e=C(5e3);class b{}function M(ke){return ke&&"function"==typeof ke.connect&&!(ke instanceof c.c)}class F{applyChanges(Pe,de,Ge,le,Ne){Pe.forEachOperation((yt,jt,st)=>{let Te,Le;if(null==yt.previousIndex){const at=Ge(yt,jt,st);Te=de.createEmbeddedView(at.templateRef,at.context,at.index),Le=1}else null==st?(de.remove(jt),Le=3):(Te=de.get(jt),de.move(Te,st),Le=2);Ne&&Ne({context:null==Te?void 0:Te.context,operation:Le,record:yt})})}detach(){}}class G{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(Pe,de,Ge,le,Ne){Pe.forEachOperation((yt,jt,st)=>{let Te,Le;null==yt.previousIndex?(Te=this._insertView(()=>Ge(yt,jt,st),st,de,le(yt)),Le=Te?1:0):null==st?(this._detachAndCacheView(jt,de),Le=3):(Te=this._moveView(jt,st,de,le(yt)),Le=2),Ne&&Ne({context:null==Te?void 0:Te.context,operation:Le,record:yt})})}detach(){for(const Pe of this._viewCache)Pe.destroy();this._viewCache=[]}_insertView(Pe,de,Ge,le){const Ne=this._insertViewFromCache(de,Ge);if(Ne)return void(Ne.context.$implicit=le);const yt=Pe();return Ge.createEmbeddedView(yt.templateRef,yt.context,yt.index)}_detachAndCacheView(Pe,de){const Ge=de.detach(Pe);this._maybeCacheView(Ge,de)}_moveView(Pe,de,Ge,le){const Ne=Ge.get(Pe);return Ge.move(Ne,de),Ne.context.$implicit=le,Ne}_maybeCacheView(Pe,de){if(this._viewCache.lengththis._markSelected(Ne)):this._markSelected(de[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...Pe){this._verifyValueAssignment(Pe),Pe.forEach(Ge=>this._markSelected(Ge));const de=this._hasQueuedChanges();return this._emitChangeEvent(),de}deselect(...Pe){this._verifyValueAssignment(Pe),Pe.forEach(Ge=>this._unmarkSelected(Ge));const de=this._hasQueuedChanges();return this._emitChangeEvent(),de}setSelection(...Pe){this._verifyValueAssignment(Pe);const de=this.selected,Ge=new Set(Pe);Pe.forEach(Ne=>this._markSelected(Ne)),de.filter(Ne=>!Ge.has(Ne)).forEach(Ne=>this._unmarkSelected(Ne));const le=this._hasQueuedChanges();return this._emitChangeEvent(),le}toggle(Pe){return this.isSelected(Pe)?this.deselect(Pe):this.select(Pe)}clear(Pe=!0){this._unmarkAll();const de=this._hasQueuedChanges();return Pe&&this._emitChangeEvent(),de}isSelected(Pe){if(this.compareWith){for(const de of this._selection)if(this.compareWith(de,Pe))return!0;return!1}return this._selection.has(Pe)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(Pe){this._multiple&&this.selected&&this._selected.sort(Pe)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(Pe){this.isSelected(Pe)||(this._multiple||this._unmarkAll(),this.isSelected(Pe)||this._selection.add(Pe),this._emitChanges&&this._selectedToEmit.push(Pe))}_unmarkSelected(Pe){this.isSelected(Pe)&&(this._selection.delete(Pe),this._emitChanges&&this._deselectedToEmit.push(Pe))}_unmarkAll(){this.isEmpty()||this._selection.forEach(Pe=>this._unmarkSelected(Pe))}_verifyValueAssignment(Pe){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}}let ue=(()=>{class ke{constructor(){this._listeners=[]}notify(de,Ge){for(let le of this._listeners)le(de,Ge)}listen(de){return this._listeners.push(de),()=>{this._listeners=this._listeners.filter(Ge=>de!==Ge)}}ngOnDestroy(){this._listeners=[]}}return ke.\u0275fac=function(de){return new(de||ke)},ke.\u0275prov=e.Yz7({token:ke,factory:ke.\u0275fac,providedIn:"root"}),ke})();const ce=new e.OlP("_ViewRepeater")},1159:(N,U,C)=>{"use strict";C.d(U,{A:()=>Ae,JH:()=>jt,JU:()=>k,K5:()=>M,Ku:()=>ke,LH:()=>Ne,L_:()=>ce,MW:()=>Et,Mf:()=>e,SV:()=>yt,Sd:()=>Ge,VM:()=>Pe,Vb:()=>Yn,Z:()=>ct,ZH:()=>m,aO:()=>ri,b2:()=>No,hY:()=>ue,jx:()=>F,oh:()=>le,uR:()=>de,xE:()=>_e,yY:()=>at,zL:()=>G});const m=8,e=9,M=13,k=16,F=17,G=18,ue=27,ce=32,ke=33,Pe=34,de=35,Ge=36,le=37,Ne=38,yt=39,jt=40,at=46,_e=48,ri=57,Ae=65,ct=90,Et=91,No=224;function Yn(Ba,...sr){return sr.length?sr.some(Un=>Ba[Un]):Ba.altKey||Ba.shiftKey||Ba.ctrlKey||Ba.metaKey}},5113:(N,U,C)=>{"use strict";C.d(U,{Yg:()=>jt,u3:()=>Te});var c=C(5e3),m=C(3191),e=C(7579),b=C(9841),M=C(7272),k=C(9751),F=C(5698),G=C(5684),ee=C(8372),z=C(4004),ue=C(8675),ce=C(2722),ke=C(925);const de=new Set;let Ge,le=(()=>{class Le{constructor(_e){this._platform=_e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):yt}matchMedia(_e){return(this._platform.WEBKIT||this._platform.BLINK)&&function Ne(Le){if(!de.has(Le))try{Ge||(Ge=document.createElement("style"),Ge.setAttribute("type","text/css"),document.head.appendChild(Ge)),Ge.sheet&&(Ge.sheet.insertRule(`@media ${Le} {body{ }}`,0),de.add(Le))}catch(at){console.error(at)}}(_e),this._matchMedia(_e)}}return Le.\u0275fac=function(_e){return new(_e||Le)(c.LFG(ke.t4))},Le.\u0275prov=c.Yz7({token:Le,factory:Le.\u0275fac,providedIn:"root"}),Le})();function yt(Le){return{matches:"all"===Le||""===Le,media:Le,addListener:()=>{},removeListener:()=>{}}}let jt=(()=>{class Le{constructor(_e,xt){this._mediaMatcher=_e,this._zone=xt,this._queries=new Map,this._destroySubject=new e.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(_e){return st((0,m.Eq)(_e)).some(tt=>this._registerQuery(tt).mql.matches)}observe(_e){const tt=st((0,m.Eq)(_e)).map(qe=>this._registerQuery(qe).observable);let Ye=(0,b.a)(tt);return Ye=(0,M.z)(Ye.pipe((0,F.q)(1)),Ye.pipe((0,G.T)(1),(0,ee.b)(0))),Ye.pipe((0,z.U)(qe=>{const ie={matches:!1,breakpoints:{}};return qe.forEach(({matches:Oe,query:mt})=>{ie.matches=ie.matches||Oe,ie.breakpoints[mt]=Oe}),ie}))}_registerQuery(_e){if(this._queries.has(_e))return this._queries.get(_e);const xt=this._mediaMatcher.matchMedia(_e),Ye={observable:new k.y(qe=>{const ie=Oe=>this._zone.run(()=>qe.next(Oe));return xt.addListener(ie),()=>{xt.removeListener(ie)}}).pipe((0,ue.O)(xt),(0,z.U)(({matches:qe})=>({query:_e,matches:qe})),(0,ce.R)(this._destroySubject)),mql:xt};return this._queries.set(_e,Ye),Ye}}return Le.\u0275fac=function(_e){return new(_e||Le)(c.LFG(le),c.LFG(c.R0b))},Le.\u0275prov=c.Yz7({token:Le,factory:Le.\u0275fac,providedIn:"root"}),Le})();function st(Le){return Le.map(at=>at.split(",")).reduce((at,_e)=>at.concat(_e)).map(at=>at.trim())}const Te={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},7144:(N,U,C)=>{"use strict";C.d(U,{Q8:()=>ee,wD:()=>G});var c=C(3191),m=C(5e3),e=C(9751),b=C(7579),M=C(8372);let k=(()=>{class z{create(ce){return"undefined"==typeof MutationObserver?null:new MutationObserver(ce)}}return z.\u0275fac=function(ce){return new(ce||z)},z.\u0275prov=m.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})(),F=(()=>{class z{constructor(ce){this._mutationObserverFactory=ce,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((ce,ke)=>this._cleanupObserver(ke))}observe(ce){const ke=(0,c.fI)(ce);return new e.y(Pe=>{const Ge=this._observeElement(ke).subscribe(Pe);return()=>{Ge.unsubscribe(),this._unobserveElement(ke)}})}_observeElement(ce){if(this._observedElements.has(ce))this._observedElements.get(ce).count++;else{const ke=new b.x,Pe=this._mutationObserverFactory.create(de=>ke.next(de));Pe&&Pe.observe(ce,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(ce,{observer:Pe,stream:ke,count:1})}return this._observedElements.get(ce).stream}_unobserveElement(ce){this._observedElements.has(ce)&&(this._observedElements.get(ce).count--,this._observedElements.get(ce).count||this._cleanupObserver(ce))}_cleanupObserver(ce){if(this._observedElements.has(ce)){const{observer:ke,stream:Pe}=this._observedElements.get(ce);ke&&ke.disconnect(),Pe.complete(),this._observedElements.delete(ce)}}}return z.\u0275fac=function(ce){return new(ce||z)(m.LFG(k))},z.\u0275prov=m.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})(),G=(()=>{class z{constructor(ce,ke,Pe){this._contentObserver=ce,this._elementRef=ke,this._ngZone=Pe,this.event=new m.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(ce){this._disabled=(0,c.Ig)(ce),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(ce){this._debounce=(0,c.su)(ce),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const ce=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?ce.pipe((0,M.b)(this.debounce)):ce).subscribe(this.event)})}_unsubscribe(){var ce;null===(ce=this._currentSubscription)||void 0===ce||ce.unsubscribe()}}return z.\u0275fac=function(ce){return new(ce||z)(m.Y36(F),m.Y36(m.SBq),m.Y36(m.R0b))},z.\u0275dir=m.lG2({type:z,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),z})(),ee=(()=>{class z{}return z.\u0275fac=function(ce){return new(ce||z)},z.\u0275mod=m.oAB({type:z}),z.\u0275inj=m.cJS({providers:[k]}),z})()},1314:(N,U,C)=>{"use strict";C.d(U,{Iu:()=>ie,U8:()=>ai,X_:()=>at,Xj:()=>Oe,_G:()=>ri,aV:()=>ne,pI:()=>ni,xu:()=>ut});var c=C(9071),m=C(9808),e=C(5e3),b=C(3191),M=C(925),k=C(226),F=C(7429),G=C(7579),ee=C(727),z=C(6451),ue=C(5698),ce=C(2722),ke=C(2529),Pe=C(1159);const de=(0,M.Mq)();class Ge{constructor(Y,X){this._viewportRuler=Y,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=X}attach(){}enable(){if(this._canBeEnabled()){const Y=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=Y.style.left||"",this._previousHTMLStyles.top=Y.style.top||"",Y.style.left=(0,b.HM)(-this._previousScrollPosition.left),Y.style.top=(0,b.HM)(-this._previousScrollPosition.top),Y.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const Y=this._document.documentElement,A=Y.style,et=this._document.body.style,Fe=A.scrollBehavior||"",we=et.scrollBehavior||"";this._isEnabled=!1,A.left=this._previousHTMLStyles.left,A.top=this._previousHTMLStyles.top,Y.classList.remove("cdk-global-scrollblock"),de&&(A.scrollBehavior=et.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),de&&(A.scrollBehavior=Fe,et.scrollBehavior=we)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const X=this._document.body,A=this._viewportRuler.getViewportSize();return X.scrollHeight>A.height||X.scrollWidth>A.width}}class Ne{constructor(Y,X,A,et){this._scrollDispatcher=Y,this._ngZone=X,this._viewportRuler=A,this._config=et,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(Y){this._overlayRef=Y}enable(){if(this._scrollSubscription)return;const Y=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=Y.subscribe(()=>{const X=this._viewportRuler.getViewportScrollPosition().top;Math.abs(X-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=Y.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class yt{enable(){}disable(){}attach(){}}function jt(Je,Y){return Y.some(X=>Je.bottomX.bottom||Je.rightX.right)}function st(Je,Y){return Y.some(X=>Je.topX.bottom||Je.leftX.right)}class Te{constructor(Y,X,A,et){this._scrollDispatcher=Y,this._viewportRuler=X,this._ngZone=A,this._config=et,this._scrollSubscription=null}attach(Y){this._overlayRef=Y}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const X=this._overlayRef.overlayElement.getBoundingClientRect(),{width:A,height:et}=this._viewportRuler.getViewportSize();jt(X,[{width:A,height:et,bottom:et,right:A,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let Le=(()=>{class Je{constructor(X,A,et,Fe){this._scrollDispatcher=X,this._viewportRuler=A,this._ngZone=et,this.noop=()=>new yt,this.close=we=>new Ne(this._scrollDispatcher,this._ngZone,this._viewportRuler,we),this.block=()=>new Ge(this._viewportRuler,this._document),this.reposition=we=>new Te(this._scrollDispatcher,this._viewportRuler,this._ngZone,we),this._document=Fe}}return Je.\u0275fac=function(X){return new(X||Je)(e.LFG(c.mF),e.LFG(c.rL),e.LFG(e.R0b),e.LFG(m.K0))},Je.\u0275prov=e.Yz7({token:Je,factory:Je.\u0275fac,providedIn:"root"}),Je})();class at{constructor(Y){if(this.scrollStrategy=new yt,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,Y){const X=Object.keys(Y);for(const A of X)void 0!==Y[A]&&(this[A]=Y[A])}}}class tt{constructor(Y,X){this.connectionPair=Y,this.scrollableViewProperties=X}}class ie{constructor(Y,X,A,et,Fe,we,De,ct,Et,Gt=!1){this._portalOutlet=Y,this._host=X,this._pane=A,this._config=et,this._ngZone=Fe,this._keyboardDispatcher=we,this._document=De,this._location=ct,this._outsideClickDispatcher=Et,this._animationsDisabled=Gt,this._backdropElement=null,this._backdropClick=new G.x,this._attachments=new G.x,this._detachments=new G.x,this._locationChanges=ee.w0.EMPTY,this._backdropClickHandler=_i=>this._backdropClick.next(_i),this._backdropTransitionendHandler=_i=>{this._disposeBackdrop(_i.target)},this._keydownEvents=new G.x,this._outsidePointerEvents=new G.x,et.scrollStrategy&&(this._scrollStrategy=et.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=et.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(Y){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const X=this._portalOutlet.attach(Y);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,ue.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof(null==X?void 0:X.onDestroy)&&X.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),X}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const Y=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),Y}dispose(){var Y;const X=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(Y=this._host)||void 0===Y||Y.remove(),this._previousHostParent=this._pane=this._host=null,X&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(Y){Y!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=Y,this.hasAttached()&&(Y.attach(this),this.updatePosition()))}updateSize(Y){this._config=Object.assign(Object.assign({},this._config),Y),this._updateElementSize()}setDirection(Y){this._config=Object.assign(Object.assign({},this._config),{direction:Y}),this._updateElementDirection()}addPanelClass(Y){this._pane&&this._toggleClasses(this._pane,Y,!0)}removePanelClass(Y){this._pane&&this._toggleClasses(this._pane,Y,!1)}getDirection(){const Y=this._config.direction;return Y?"string"==typeof Y?Y:Y.value:"ltr"}updateScrollStrategy(Y){Y!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=Y,this.hasAttached()&&(Y.attach(this),Y.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const Y=this._pane.style;Y.width=(0,b.HM)(this._config.width),Y.height=(0,b.HM)(this._config.height),Y.minWidth=(0,b.HM)(this._config.minWidth),Y.minHeight=(0,b.HM)(this._config.minHeight),Y.maxWidth=(0,b.HM)(this._config.maxWidth),Y.maxHeight=(0,b.HM)(this._config.maxHeight)}_togglePointerEvents(Y){this._pane.style.pointerEvents=Y?"":"none"}_attachBackdrop(){const Y="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),this._animationsDisabled||"undefined"==typeof requestAnimationFrame?this._backdropElement.classList.add(Y):this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(Y)})})}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const Y=this._backdropElement;if(Y){if(this._animationsDisabled)return void this._disposeBackdrop(Y);Y.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{Y.addEventListener("transitionend",this._backdropTransitionendHandler)}),Y.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(Y)},500))}}_toggleClasses(Y,X,A){const et=(0,b.Eq)(X||[]).filter(Fe=>!!Fe);et.length&&(A?Y.classList.add(...et):Y.classList.remove(...et))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const Y=this._ngZone.onStable.pipe((0,ce.R)((0,z.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),Y.unsubscribe())})})}_disposeScrollStrategy(){const Y=this._scrollStrategy;Y&&(Y.disable(),Y.detach&&Y.detach())}_disposeBackdrop(Y){Y&&(Y.removeEventListener("click",this._backdropClickHandler),Y.removeEventListener("transitionend",this._backdropTransitionendHandler),Y.remove(),this._backdropElement===Y&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}let Oe=(()=>{class Je{constructor(X,A){this._platform=A,this._document=X}ngOnDestroy(){var X;null===(X=this._containerElement)||void 0===X||X.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const X="cdk-overlay-container";if(this._platform.isBrowser||(0,M.Oy)()){const et=this._document.querySelectorAll(`.${X}[platform="server"], .${X}[platform="test"]`);for(let Fe=0;Fe{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Y=this._originRect,X=this._overlayRect,A=this._viewportRect,et=this._containerRect,Fe=[];let we;for(let De of this._preferredPositions){let ct=this._getOriginPoint(Y,et,De),Et=this._getOverlayPoint(ct,X,De),Gt=this._getOverlayFit(Et,X,A,De);if(Gt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(De,ct);this._canFitWithFlexibleDimensions(Gt,Et,A)?Fe.push({position:De,origin:ct,overlayRect:X,boundingBoxRect:this._calculateBoundingBoxRect(ct,De)}):(!we||we.overlayFit.visibleAreact&&(ct=Gt,De=Et)}return this._isPushed=!1,void this._applyPosition(De.position,De.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(we.position,we.originPoint);this._applyPosition(we.position,we.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&bt(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(mt),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const Y=this._lastPosition;if(Y){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const X=this._getOriginPoint(this._originRect,this._containerRect,Y);this._applyPosition(Y,X)}else this.apply()}withScrollableContainers(Y){return this._scrollables=Y,this}withPositions(Y){return this._preferredPositions=Y,-1===Y.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(Y){return this._viewportMargin=Y,this}withFlexibleDimensions(Y=!0){return this._hasFlexibleDimensions=Y,this}withGrowAfterOpen(Y=!0){return this._growAfterOpen=Y,this}withPush(Y=!0){return this._canPush=Y,this}withLockedPosition(Y=!0){return this._positionLocked=Y,this}setOrigin(Y){return this._origin=Y,this}withDefaultOffsetX(Y){return this._offsetX=Y,this}withDefaultOffsetY(Y){return this._offsetY=Y,this}withTransformOriginOn(Y){return this._transformOriginSelector=Y,this}_getOriginPoint(Y,X,A){let et,Fe;if("center"==A.originX)et=Y.left+Y.width/2;else{const we=this._isRtl()?Y.right:Y.left,De=this._isRtl()?Y.left:Y.right;et="start"==A.originX?we:De}return X.left<0&&(et-=X.left),Fe="center"==A.originY?Y.top+Y.height/2:"top"==A.originY?Y.top:Y.bottom,X.top<0&&(Fe-=X.top),{x:et,y:Fe}}_getOverlayPoint(Y,X,A){let et,Fe;return et="center"==A.overlayX?-X.width/2:"start"===A.overlayX?this._isRtl()?-X.width:0:this._isRtl()?0:-X.width,Fe="center"==A.overlayY?-X.height/2:"top"==A.overlayY?0:-X.height,{x:Y.x+et,y:Y.y+Fe}}_getOverlayFit(Y,X,A,et){const Fe=ye(X);let{x:we,y:De}=Y,ct=this._getOffset(et,"x"),Et=this._getOffset(et,"y");ct&&(we+=ct),Et&&(De+=Et);let di=0-De,zt=De+Fe.height-A.height,Bi=this._subtractOverflows(Fe.width,0-we,we+Fe.width-A.width),xi=this._subtractOverflows(Fe.height,di,zt),$n=Bi*xi;return{visibleArea:$n,isCompletelyWithinViewport:Fe.width*Fe.height===$n,fitsInViewportVertically:xi===Fe.height,fitsInViewportHorizontally:Bi==Fe.width}}_canFitWithFlexibleDimensions(Y,X,A){if(this._hasFlexibleDimensions){const et=A.bottom-X.y,Fe=A.right-X.x,we=Wt(this._overlayRef.getConfig().minHeight),De=Wt(this._overlayRef.getConfig().minWidth),Et=Y.fitsInViewportHorizontally||null!=De&&De<=Fe;return(Y.fitsInViewportVertically||null!=we&&we<=et)&&Et}return!1}_pushOverlayOnScreen(Y,X,A){if(this._previousPushAmount&&this._positionLocked)return{x:Y.x+this._previousPushAmount.x,y:Y.y+this._previousPushAmount.y};const et=ye(X),Fe=this._viewportRect,we=Math.max(Y.x+et.width-Fe.width,0),De=Math.max(Y.y+et.height-Fe.height,0),ct=Math.max(Fe.top-A.top-Y.y,0),Et=Math.max(Fe.left-A.left-Y.x,0);let Gt=0,_i=0;return Gt=et.width<=Fe.width?Et||-we:Y.xBi&&!this._isInitialRender&&!this._growAfterOpen&&(we=Y.y-Bi/2)}if("end"===X.overlayX&&!et||"start"===X.overlayX&&et)di=A.width-Y.x+this._viewportMargin,Gt=Y.x-this._viewportMargin;else if("start"===X.overlayX&&!et||"end"===X.overlayX&&et)_i=Y.x,Gt=A.right-Y.x;else{const zt=Math.min(A.right-Y.x+A.left,Y.x),Bi=this._lastBoundingBoxSize.width;Gt=2*zt,_i=Y.x-zt,Gt>Bi&&!this._isInitialRender&&!this._growAfterOpen&&(_i=Y.x-Bi/2)}return{top:we,left:_i,bottom:De,right:di,width:Gt,height:Fe}}_setBoundingBoxStyles(Y,X){const A=this._calculateBoundingBoxRect(Y,X);!this._isInitialRender&&!this._growAfterOpen&&(A.height=Math.min(A.height,this._lastBoundingBoxSize.height),A.width=Math.min(A.width,this._lastBoundingBoxSize.width));const et={};if(this._hasExactPosition())et.top=et.left="0",et.bottom=et.right=et.maxHeight=et.maxWidth="",et.width=et.height="100%";else{const Fe=this._overlayRef.getConfig().maxHeight,we=this._overlayRef.getConfig().maxWidth;et.height=(0,b.HM)(A.height),et.top=(0,b.HM)(A.top),et.bottom=(0,b.HM)(A.bottom),et.width=(0,b.HM)(A.width),et.left=(0,b.HM)(A.left),et.right=(0,b.HM)(A.right),et.alignItems="center"===X.overlayX?"center":"end"===X.overlayX?"flex-end":"flex-start",et.justifyContent="center"===X.overlayY?"center":"bottom"===X.overlayY?"flex-end":"flex-start",Fe&&(et.maxHeight=(0,b.HM)(Fe)),we&&(et.maxWidth=(0,b.HM)(we))}this._lastBoundingBoxSize=A,bt(this._boundingBox.style,et)}_resetBoundingBoxStyles(){bt(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){bt(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(Y,X){const A={},et=this._hasExactPosition(),Fe=this._hasFlexibleDimensions,we=this._overlayRef.getConfig();if(et){const Gt=this._viewportRuler.getViewportScrollPosition();bt(A,this._getExactOverlayY(X,Y,Gt)),bt(A,this._getExactOverlayX(X,Y,Gt))}else A.position="static";let De="",ct=this._getOffset(X,"x"),Et=this._getOffset(X,"y");ct&&(De+=`translateX(${ct}px) `),Et&&(De+=`translateY(${Et}px)`),A.transform=De.trim(),we.maxHeight&&(et?A.maxHeight=(0,b.HM)(we.maxHeight):Fe&&(A.maxHeight="")),we.maxWidth&&(et?A.maxWidth=(0,b.HM)(we.maxWidth):Fe&&(A.maxWidth="")),bt(this._pane.style,A)}_getExactOverlayY(Y,X,A){let et={top:"",bottom:""},Fe=this._getOverlayPoint(X,this._overlayRect,Y);return this._isPushed&&(Fe=this._pushOverlayOnScreen(Fe,this._overlayRect,A)),"bottom"===Y.overlayY?et.bottom=this._document.documentElement.clientHeight-(Fe.y+this._overlayRect.height)+"px":et.top=(0,b.HM)(Fe.y),et}_getExactOverlayX(Y,X,A){let we,et={left:"",right:""},Fe=this._getOverlayPoint(X,this._overlayRect,Y);return this._isPushed&&(Fe=this._pushOverlayOnScreen(Fe,this._overlayRect,A)),we=this._isRtl()?"end"===Y.overlayX?"left":"right":"end"===Y.overlayX?"right":"left","right"===we?et.right=this._document.documentElement.clientWidth-(Fe.x+this._overlayRect.width)+"px":et.left=(0,b.HM)(Fe.x),et}_getScrollVisibility(){const Y=this._getOriginRect(),X=this._pane.getBoundingClientRect(),A=this._scrollables.map(et=>et.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:st(Y,A),isOriginOutsideView:jt(Y,A),isOverlayClipped:st(X,A),isOverlayOutsideView:jt(X,A)}}_subtractOverflows(Y,...X){return X.reduce((A,et)=>A-Math.max(et,0),Y)}_getNarrowedViewportRect(){const Y=this._document.documentElement.clientWidth,X=this._document.documentElement.clientHeight,A=this._viewportRuler.getViewportScrollPosition();return{top:A.top+this._viewportMargin,left:A.left+this._viewportMargin,right:A.left+Y-this._viewportMargin,bottom:A.top+X-this._viewportMargin,width:Y-2*this._viewportMargin,height:X-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(Y,X){return"x"===X?null==Y.offsetX?this._offsetX:Y.offsetX:null==Y.offsetY?this._offsetY:Y.offsetY}_validatePositions(){}_addPanelClasses(Y){this._pane&&(0,b.Eq)(Y).forEach(X=>{""!==X&&-1===this._appliedPanelClasses.indexOf(X)&&(this._appliedPanelClasses.push(X),this._pane.classList.add(X))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(Y=>{this._pane.classList.remove(Y)}),this._appliedPanelClasses=[])}_getOriginRect(){const Y=this._origin;if(Y instanceof e.SBq)return Y.nativeElement.getBoundingClientRect();if(Y instanceof Element)return Y.getBoundingClientRect();const X=Y.width||0,A=Y.height||0;return{top:Y.y,bottom:Y.y+A,left:Y.x,right:Y.x+X,height:A,width:X}}}function bt(Je,Y){for(let X in Y)Y.hasOwnProperty(X)&&(Je[X]=Y[X]);return Je}function Wt(Je){if("number"!=typeof Je&&null!=Je){const[Y,X]=Je.split(kt);return X&&"px"!==X?null:parseFloat(Y)}return Je||null}function ye(Je){return{top:Math.floor(Je.top),right:Math.floor(Je.right),bottom:Math.floor(Je.bottom),left:Math.floor(Je.left),width:Math.floor(Je.width),height:Math.floor(Je.height)}}const he="cdk-global-overlay-wrapper";class nt{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(Y){const X=Y.getConfig();this._overlayRef=Y,this._width&&!X.width&&Y.updateSize({width:this._width}),this._height&&!X.height&&Y.updateSize({height:this._height}),Y.hostElement.classList.add(he),this._isDisposed=!1}top(Y=""){return this._bottomOffset="",this._topOffset=Y,this._alignItems="flex-start",this}left(Y=""){return this._xOffset=Y,this._xPosition="left",this}bottom(Y=""){return this._topOffset="",this._bottomOffset=Y,this._alignItems="flex-end",this}right(Y=""){return this._xOffset=Y,this._xPosition="right",this}start(Y=""){return this._xOffset=Y,this._xPosition="start",this}end(Y=""){return this._xOffset=Y,this._xPosition="end",this}width(Y=""){return this._overlayRef?this._overlayRef.updateSize({width:Y}):this._width=Y,this}height(Y=""){return this._overlayRef?this._overlayRef.updateSize({height:Y}):this._height=Y,this}centerHorizontally(Y=""){return this.left(Y),this._xPosition="center",this}centerVertically(Y=""){return this.top(Y),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const Y=this._overlayRef.overlayElement.style,X=this._overlayRef.hostElement.style,A=this._overlayRef.getConfig(),{width:et,height:Fe,maxWidth:we,maxHeight:De}=A,ct=!("100%"!==et&&"100vw"!==et||we&&"100%"!==we&&"100vw"!==we),Et=!("100%"!==Fe&&"100vh"!==Fe||De&&"100%"!==De&&"100vh"!==De),Gt=this._xPosition,_i=this._xOffset,di="rtl"===this._overlayRef.getConfig().direction;let zt="",Bi="",xi="";ct?xi="flex-start":"center"===Gt?(xi="center",di?Bi=_i:zt=_i):di?"left"===Gt||"end"===Gt?(xi="flex-end",zt=_i):("right"===Gt||"start"===Gt)&&(xi="flex-start",Bi=_i):"left"===Gt||"start"===Gt?(xi="flex-start",zt=_i):("right"===Gt||"end"===Gt)&&(xi="flex-end",Bi=_i),Y.position=this._cssPosition,Y.marginLeft=ct?"0":zt,Y.marginTop=Et?"0":this._topOffset,Y.marginBottom=this._bottomOffset,Y.marginRight=ct?"0":Bi,X.justifyContent=xi,X.alignItems=Et?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const Y=this._overlayRef.overlayElement.style,X=this._overlayRef.hostElement,A=X.style;X.classList.remove(he),A.justifyContent=A.alignItems=Y.marginTop=Y.marginBottom=Y.marginLeft=Y.marginRight=Y.position="",this._overlayRef=null,this._isDisposed=!0}}let Yt=(()=>{class Je{constructor(X,A,et,Fe){this._viewportRuler=X,this._document=A,this._platform=et,this._overlayContainer=Fe}global(){return new nt}flexibleConnectedTo(X){return new ri(X,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return Je.\u0275fac=function(X){return new(X||Je)(e.LFG(c.rL),e.LFG(m.K0),e.LFG(M.t4),e.LFG(Oe))},Je.\u0275prov=e.Yz7({token:Je,factory:Je.\u0275fac,providedIn:"root"}),Je})(),Lt=(()=>{class Je{constructor(X){this._attachedOverlays=[],this._document=X}ngOnDestroy(){this.detach()}add(X){this.remove(X),this._attachedOverlays.push(X)}remove(X){const A=this._attachedOverlays.indexOf(X);A>-1&&this._attachedOverlays.splice(A,1),0===this._attachedOverlays.length&&this.detach()}}return Je.\u0275fac=function(X){return new(X||Je)(e.LFG(m.K0))},Je.\u0275prov=e.Yz7({token:Je,factory:Je.\u0275fac,providedIn:"root"}),Je})(),Ai=(()=>{class Je extends Lt{constructor(X,A){super(X),this._ngZone=A,this._keydownListener=et=>{const Fe=this._attachedOverlays;for(let we=Fe.length-1;we>-1;we--)if(Fe[we]._keydownEvents.observers.length>0){const De=Fe[we]._keydownEvents;this._ngZone?this._ngZone.run(()=>De.next(et)):De.next(et);break}}}add(X){super.add(X),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return Je.\u0275fac=function(X){return new(X||Je)(e.LFG(m.K0),e.LFG(e.R0b,8))},Je.\u0275prov=e.Yz7({token:Je,factory:Je.\u0275fac,providedIn:"root"}),Je})(),ei=(()=>{class Je extends Lt{constructor(X,A,et){super(X),this._platform=A,this._ngZone=et,this._cursorStyleIsSet=!1,this._pointerDownListener=Fe=>{this._pointerDownEventTarget=(0,M.sA)(Fe)},this._clickListener=Fe=>{const we=(0,M.sA)(Fe),De="click"===Fe.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:we;this._pointerDownEventTarget=null;const ct=this._attachedOverlays.slice();for(let Et=ct.length-1;Et>-1;Et--){const Gt=ct[Et];if(Gt._outsidePointerEvents.observers.length<1||!Gt.hasAttached())continue;if(Gt.overlayElement.contains(we)||Gt.overlayElement.contains(De))break;const _i=Gt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>_i.next(Fe)):_i.next(Fe)}}}add(X){if(super.add(X),!this._isAttached){const A=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(A)):this._addEventListeners(A),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=A.style.cursor,A.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const X=this._document.body;X.removeEventListener("pointerdown",this._pointerDownListener,!0),X.removeEventListener("click",this._clickListener,!0),X.removeEventListener("auxclick",this._clickListener,!0),X.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(X.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(X){X.addEventListener("pointerdown",this._pointerDownListener,!0),X.addEventListener("click",this._clickListener,!0),X.addEventListener("auxclick",this._clickListener,!0),X.addEventListener("contextmenu",this._clickListener,!0)}}return Je.\u0275fac=function(X){return new(X||Je)(e.LFG(m.K0),e.LFG(M.t4),e.LFG(e.R0b,8))},Je.\u0275prov=e.Yz7({token:Je,factory:Je.\u0275fac,providedIn:"root"}),Je})(),hi=0,ne=(()=>{class Je{constructor(X,A,et,Fe,we,De,ct,Et,Gt,_i,di,zt){this.scrollStrategies=X,this._overlayContainer=A,this._componentFactoryResolver=et,this._positionBuilder=Fe,this._keyboardDispatcher=we,this._injector=De,this._ngZone=ct,this._document=Et,this._directionality=Gt,this._location=_i,this._outsideClickDispatcher=di,this._animationsModuleType=zt}create(X){const A=this._createHostElement(),et=this._createPaneElement(A),Fe=this._createPortalOutlet(et),we=new at(X);return we.direction=we.direction||this._directionality.value,new ie(Fe,A,et,we,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(X){const A=this._document.createElement("div");return A.id="cdk-overlay-"+hi++,A.classList.add("cdk-overlay-pane"),X.appendChild(A),A}_createHostElement(){const X=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(X),X}_createPortalOutlet(X){return this._appRef||(this._appRef=this._injector.get(e.z2F)),new F.u0(X,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return Je.\u0275fac=function(X){return new(X||Je)(e.LFG(Le),e.LFG(Oe),e.LFG(e._Vd),e.LFG(Yt),e.LFG(Ai),e.LFG(e.zs3),e.LFG(e.R0b),e.LFG(m.K0),e.LFG(k.Is),e.LFG(m.Ye),e.LFG(ei),e.LFG(e.QbO,8))},Je.\u0275prov=e.Yz7({token:Je,factory:Je.\u0275fac}),Je})();const Tt=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Se=new e.OlP("cdk-connected-overlay-scroll-strategy");let ut=(()=>{class Je{constructor(X){this.elementRef=X}}return Je.\u0275fac=function(X){return new(X||Je)(e.Y36(e.SBq))},Je.\u0275dir=e.lG2({type:Je,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),Je})(),ni=(()=>{class Je{constructor(X,A,et,Fe,we){this._overlay=X,this._dir=we,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=ee.w0.EMPTY,this._attachSubscription=ee.w0.EMPTY,this._detachSubscription=ee.w0.EMPTY,this._positionSubscription=ee.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new e.vpe,this.positionChange=new e.vpe,this.attach=new e.vpe,this.detach=new e.vpe,this.overlayKeydown=new e.vpe,this.overlayOutsideClick=new e.vpe,this._templatePortal=new F.UE(A,et),this._scrollStrategyFactory=Fe,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(X){this._offsetX=X,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(X){this._offsetY=X,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(X){this._hasBackdrop=(0,b.Ig)(X)}get lockPosition(){return this._lockPosition}set lockPosition(X){this._lockPosition=(0,b.Ig)(X)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(X){this._flexibleDimensions=(0,b.Ig)(X)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(X){this._growAfterOpen=(0,b.Ig)(X)}get push(){return this._push}set push(X){this._push=(0,b.Ig)(X)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(X){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),X.origin&&this.open&&this._position.apply()),X.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Tt);const X=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=X.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=X.detachments().subscribe(()=>this.detach.emit()),X.keydownEvents().subscribe(A=>{this.overlayKeydown.next(A),A.keyCode===Pe.hY&&!this.disableClose&&!(0,Pe.Vb)(A)&&(A.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(A=>{this.overlayOutsideClick.next(A)})}_buildConfig(){const X=this._position=this.positionStrategy||this._createPositionStrategy(),A=new at({direction:this._dir,positionStrategy:X,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(A.width=this.width),(this.height||0===this.height)&&(A.height=this.height),(this.minWidth||0===this.minWidth)&&(A.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(A.minHeight=this.minHeight),this.backdropClass&&(A.backdropClass=this.backdropClass),this.panelClass&&(A.panelClass=this.panelClass),A}_updatePositionStrategy(X){const A=this.positions.map(et=>({originX:et.originX,originY:et.originY,overlayX:et.overlayX,overlayY:et.overlayY,offsetX:et.offsetX||this.offsetX,offsetY:et.offsetY||this.offsetY,panelClass:et.panelClass||void 0}));return X.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(A).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const X=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(X),X}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof ut?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(X=>{this.backdropClick.emit(X)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,ke.o)(()=>this.positionChange.observers.length>0)).subscribe(X=>{this.positionChange.emit(X),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return Je.\u0275fac=function(X){return new(X||Je)(e.Y36(ne),e.Y36(e.Rgc),e.Y36(e.s_b),e.Y36(Se),e.Y36(k.Is,8))},Je.\u0275dir=e.lG2({type:Je,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[e.TTD]}),Je})();const dn={provide:Se,deps:[ne],useFactory:function ki(Je){return()=>Je.scrollStrategies.reposition()}};let ai=(()=>{class Je{}return Je.\u0275fac=function(X){return new(X||Je)},Je.\u0275mod=e.oAB({type:Je}),Je.\u0275inj=e.cJS({providers:[ne,dn],imports:[k.vT,F.eL,c.Cl,c.Cl]}),Je})()},925:(N,U,C)=>{"use strict";C.d(U,{Mq:()=>Pe,Oy:()=>st,_i:()=>de,ht:()=>yt,i$:()=>ue,kV:()=>Ne,qK:()=>G,sA:()=>jt,t4:()=>b});var c=C(5e3),m=C(9808);let e;try{e="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(Te){e=!1}let k,b=(()=>{class Te{constructor(at){this._platformId=at,this.isBrowser=this._platformId?(0,m.NF)(this._platformId):"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&&!e)&&"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)&&!("MSStream"in window),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}}return Te.\u0275fac=function(at){return new(at||Te)(c.LFG(c.Lbi))},Te.\u0275prov=c.Yz7({token:Te,factory:Te.\u0275fac,providedIn:"root"}),Te})();const F=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function G(){if(k)return k;if("object"!=typeof document||!document)return k=new Set(F),k;let Te=document.createElement("input");return k=new Set(F.filter(Le=>(Te.setAttribute("type",Le),Te.type===Le))),k}let ee,ce,ke,Ge;function ue(Te){return function z(){if(null==ee&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ee=!0}))}finally{ee=ee||!1}return ee}()?Te:!!Te.capture}function Pe(){if(null==ke){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return ke=!1,ke;if("scrollBehavior"in document.documentElement.style)ke=!0;else{const Te=Element.prototype.scrollTo;ke=!!Te&&!/\{\s*\[native code\]\s*\}/.test(Te.toString())}}return ke}function de(){if("object"!=typeof document||!document)return 0;if(null==ce){const Te=document.createElement("div"),Le=Te.style;Te.dir="rtl",Le.width="1px",Le.overflow="auto",Le.visibility="hidden",Le.pointerEvents="none",Le.position="absolute";const at=document.createElement("div"),_e=at.style;_e.width="2px",_e.height="1px",Te.appendChild(at),document.body.appendChild(Te),ce=0,0===Te.scrollLeft&&(Te.scrollLeft=1,ce=0===Te.scrollLeft?1:2),Te.remove()}return ce}function Ne(Te){if(function le(){if(null==Ge){const Te="undefined"!=typeof document?document.head:null;Ge=!(!Te||!Te.createShadowRoot&&!Te.attachShadow)}return Ge}()){const Le=Te.getRootNode?Te.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&Le instanceof ShadowRoot)return Le}return null}function yt(){let Te="undefined"!=typeof document&&document?document.activeElement:null;for(;Te&&Te.shadowRoot;){const Le=Te.shadowRoot.activeElement;if(Le===Te)break;Te=Le}return Te}function jt(Te){return Te.composedPath?Te.composedPath()[0]:Te.target}function st(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}},7429:(N,U,C)=>{"use strict";C.d(U,{C5:()=>z,Pl:()=>yt,UE:()=>ue,eL:()=>st,en:()=>ke,ig:()=>le,u0:()=>de});var c=C(5e3),m=C(9808);class ee{attach(at){return this._attachedHost=at,at.attach(this)}detach(){let at=this._attachedHost;null!=at&&(this._attachedHost=null,at.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(at){this._attachedHost=at}}class z extends ee{constructor(at,_e,xt,tt){super(),this.component=at,this.viewContainerRef=_e,this.injector=xt,this.componentFactoryResolver=tt}}class ue extends ee{constructor(at,_e,xt,tt){super(),this.templateRef=at,this.viewContainerRef=_e,this.context=xt,this.injector=tt}get origin(){return this.templateRef.elementRef}attach(at,_e=this.context){return this.context=_e,super.attach(at)}detach(){return this.context=void 0,super.detach()}}class ce extends ee{constructor(at){super(),this.element=at instanceof c.SBq?at.nativeElement:at}}class ke{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(at){return at instanceof z?(this._attachedPortal=at,this.attachComponentPortal(at)):at instanceof ue?(this._attachedPortal=at,this.attachTemplatePortal(at)):this.attachDomPortal&&at instanceof ce?(this._attachedPortal=at,this.attachDomPortal(at)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(at){this._disposeFn=at}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class de extends ke{constructor(at,_e,xt,tt,Ye){super(),this.outletElement=at,this._componentFactoryResolver=_e,this._appRef=xt,this._defaultInjector=tt,this.attachDomPortal=qe=>{const ie=qe.element,Oe=this._document.createComment("dom-portal");ie.parentNode.insertBefore(Oe,ie),this.outletElement.appendChild(ie),this._attachedPortal=qe,super.setDisposeFn(()=>{Oe.parentNode&&Oe.parentNode.replaceChild(ie,Oe)})},this._document=Ye}attachComponentPortal(at){const xt=(at.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(at.component);let tt;return at.viewContainerRef?(tt=at.viewContainerRef.createComponent(xt,at.viewContainerRef.length,at.injector||at.viewContainerRef.injector),this.setDisposeFn(()=>tt.destroy())):(tt=xt.create(at.injector||this._defaultInjector||c.zs3.NULL),this._appRef.attachView(tt.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(tt.hostView),tt.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(tt)),this._attachedPortal=at,tt}attachTemplatePortal(at){let _e=at.viewContainerRef,xt=_e.createEmbeddedView(at.templateRef,at.context,{injector:at.injector});return xt.rootNodes.forEach(tt=>this.outletElement.appendChild(tt)),xt.detectChanges(),this.setDisposeFn(()=>{let tt=_e.indexOf(xt);-1!==tt&&_e.remove(tt)}),this._attachedPortal=at,xt}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(at){return at.hostView.rootNodes[0]}}let le=(()=>{class Le extends ue{constructor(_e,xt){super(_e,xt)}}return Le.\u0275fac=function(_e){return new(_e||Le)(c.Y36(c.Rgc),c.Y36(c.s_b))},Le.\u0275dir=c.lG2({type:Le,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[c.qOj]}),Le})(),yt=(()=>{class Le extends ke{constructor(_e,xt,tt){super(),this._componentFactoryResolver=_e,this._viewContainerRef=xt,this._isInitialized=!1,this.attached=new c.vpe,this.attachDomPortal=Ye=>{const qe=Ye.element,ie=this._document.createComment("dom-portal");Ye.setAttachedHost(this),qe.parentNode.insertBefore(ie,qe),this._getRootNode().appendChild(qe),this._attachedPortal=Ye,super.setDisposeFn(()=>{ie.parentNode&&ie.parentNode.replaceChild(qe,ie)})},this._document=tt}get portal(){return this._attachedPortal}set portal(_e){this.hasAttached()&&!_e&&!this._isInitialized||(this.hasAttached()&&super.detach(),_e&&super.attach(_e),this._attachedPortal=_e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(_e){_e.setAttachedHost(this);const xt=null!=_e.viewContainerRef?_e.viewContainerRef:this._viewContainerRef,Ye=(_e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(_e.component),qe=xt.createComponent(Ye,xt.length,_e.injector||xt.injector);return xt!==this._viewContainerRef&&this._getRootNode().appendChild(qe.hostView.rootNodes[0]),super.setDisposeFn(()=>qe.destroy()),this._attachedPortal=_e,this._attachedRef=qe,this.attached.emit(qe),qe}attachTemplatePortal(_e){_e.setAttachedHost(this);const xt=this._viewContainerRef.createEmbeddedView(_e.templateRef,_e.context,{injector:_e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=_e,this._attachedRef=xt,this.attached.emit(xt),xt}_getRootNode(){const _e=this._viewContainerRef.element.nativeElement;return _e.nodeType===_e.ELEMENT_NODE?_e:_e.parentNode}}return Le.\u0275fac=function(_e){return new(_e||Le)(c.Y36(c._Vd),c.Y36(c.s_b),c.Y36(m.K0))},Le.\u0275dir=c.lG2({type:Le,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[c.qOj]}),Le})(),st=(()=>{class Le{}return Le.\u0275fac=function(_e){return new(_e||Le)},Le.\u0275mod=c.oAB({type:Le}),Le.\u0275inj=c.cJS({}),Le})()},9071:(N,U,C)=>{"use strict";C.d(U,{Cl:()=>Wt,PQ:()=>Le,ZD:()=>bt,mF:()=>Te,rL:()=>tt});var c=C(3191),m=C(5e3),e=C(7579),b=C(9646),M=C(9751),k=C(4968),ee=(C(6406),C(3101),C(3601)),z=C(9300),ue=C(2722),ce=C(9808),ke=C(925),Pe=C(226);let Te=(()=>{class ye{constructor(Ae,he,nt){this._ngZone=Ae,this._platform=he,this._scrolled=new e.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=nt}register(Ae){this.scrollContainers.has(Ae)||this.scrollContainers.set(Ae,Ae.elementScrolled().subscribe(()=>this._scrolled.next(Ae)))}deregister(Ae){const he=this.scrollContainers.get(Ae);he&&(he.unsubscribe(),this.scrollContainers.delete(Ae))}scrolled(Ae=20){return this._platform.isBrowser?new M.y(he=>{this._globalSubscription||this._addGlobalListener();const nt=Ae>0?this._scrolled.pipe((0,ee.e)(Ae)).subscribe(he):this._scrolled.subscribe(he);return this._scrolledCount++,()=>{nt.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,b.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((Ae,he)=>this.deregister(he)),this._scrolled.complete()}ancestorScrolled(Ae,he){const nt=this.getAncestorScrollContainers(Ae);return this.scrolled(he).pipe((0,z.h)(Yt=>!Yt||nt.indexOf(Yt)>-1))}getAncestorScrollContainers(Ae){const he=[];return this.scrollContainers.forEach((nt,Yt)=>{this._scrollableContainsElement(Yt,Ae)&&he.push(Yt)}),he}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(Ae,he){let nt=(0,c.fI)(he),Yt=Ae.getElementRef().nativeElement;do{if(nt==Yt)return!0}while(nt=nt.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const Ae=this._getWindow();return(0,k.R)(Ae.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return ye.\u0275fac=function(Ae){return new(Ae||ye)(m.LFG(m.R0b),m.LFG(ke.t4),m.LFG(ce.K0,8))},ye.\u0275prov=m.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})(),Le=(()=>{class ye{constructor(Ae,he,nt,Yt){this.elementRef=Ae,this.scrollDispatcher=he,this.ngZone=nt,this.dir=Yt,this._destroyed=new e.x,this._elementScrolled=new M.y(Lt=>this.ngZone.runOutsideAngular(()=>(0,k.R)(this.elementRef.nativeElement,"scroll").pipe((0,ue.R)(this._destroyed)).subscribe(Lt)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(Ae){const he=this.elementRef.nativeElement,nt=this.dir&&"rtl"==this.dir.value;null==Ae.left&&(Ae.left=nt?Ae.end:Ae.start),null==Ae.right&&(Ae.right=nt?Ae.start:Ae.end),null!=Ae.bottom&&(Ae.top=he.scrollHeight-he.clientHeight-Ae.bottom),nt&&0!=(0,ke._i)()?(null!=Ae.left&&(Ae.right=he.scrollWidth-he.clientWidth-Ae.left),2==(0,ke._i)()?Ae.left=Ae.right:1==(0,ke._i)()&&(Ae.left=Ae.right?-Ae.right:Ae.right)):null!=Ae.right&&(Ae.left=he.scrollWidth-he.clientWidth-Ae.right),this._applyScrollToOptions(Ae)}_applyScrollToOptions(Ae){const he=this.elementRef.nativeElement;(0,ke.Mq)()?he.scrollTo(Ae):(null!=Ae.top&&(he.scrollTop=Ae.top),null!=Ae.left&&(he.scrollLeft=Ae.left))}measureScrollOffset(Ae){const he="left",Yt=this.elementRef.nativeElement;if("top"==Ae)return Yt.scrollTop;if("bottom"==Ae)return Yt.scrollHeight-Yt.clientHeight-Yt.scrollTop;const Lt=this.dir&&"rtl"==this.dir.value;return"start"==Ae?Ae=Lt?"right":he:"end"==Ae&&(Ae=Lt?he:"right"),Lt&&2==(0,ke._i)()?Ae==he?Yt.scrollWidth-Yt.clientWidth-Yt.scrollLeft:Yt.scrollLeft:Lt&&1==(0,ke._i)()?Ae==he?Yt.scrollLeft+Yt.scrollWidth-Yt.clientWidth:-Yt.scrollLeft:Ae==he?Yt.scrollLeft:Yt.scrollWidth-Yt.clientWidth-Yt.scrollLeft}}return ye.\u0275fac=function(Ae){return new(Ae||ye)(m.Y36(m.SBq),m.Y36(Te),m.Y36(m.R0b),m.Y36(Pe.Is,8))},ye.\u0275dir=m.lG2({type:ye,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),ye})(),tt=(()=>{class ye{constructor(Ae,he,nt){this._platform=Ae,this._change=new e.x,this._changeListener=Yt=>{this._change.next(Yt)},this._document=nt,he.runOutsideAngular(()=>{if(Ae.isBrowser){const Yt=this._getWindow();Yt.addEventListener("resize",this._changeListener),Yt.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const Ae=this._getWindow();Ae.removeEventListener("resize",this._changeListener),Ae.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const Ae={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),Ae}getViewportRect(){const Ae=this.getViewportScrollPosition(),{width:he,height:nt}=this.getViewportSize();return{top:Ae.top,left:Ae.left,bottom:Ae.top+nt,right:Ae.left+he,height:nt,width:he}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const Ae=this._document,he=this._getWindow(),nt=Ae.documentElement,Yt=nt.getBoundingClientRect();return{top:-Yt.top||Ae.body.scrollTop||he.scrollY||nt.scrollTop||0,left:-Yt.left||Ae.body.scrollLeft||he.scrollX||nt.scrollLeft||0}}change(Ae=20){return Ae>0?this._change.pipe((0,ee.e)(Ae)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const Ae=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:Ae.innerWidth,height:Ae.innerHeight}:{width:0,height:0}}}return ye.\u0275fac=function(Ae){return new(Ae||ye)(m.LFG(ke.t4),m.LFG(m.R0b),m.LFG(ce.K0,8))},ye.\u0275prov=m.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})(),bt=(()=>{class ye{}return ye.\u0275fac=function(Ae){return new(Ae||ye)},ye.\u0275mod=m.oAB({type:ye}),ye.\u0275inj=m.cJS({}),ye})(),Wt=(()=>{class ye{}return ye.\u0275fac=function(Ae){return new(Ae||ye)},ye.\u0275mod=m.oAB({type:ye}),ye.\u0275inj=m.cJS({imports:[Pe.vT,bt,Pe.vT,bt]}),ye})()},4533:(N,U,C)=>{"use strict";C.d(U,{IC:()=>ke,Ky:()=>Pe,Lq:()=>ue});var c=C(925),m=C(5e3),e=C(3191),b=C(515),M=C(7579),k=C(4968),F=C(3601),G=C(2722),ee=C(9808);const z=(0,c.i$)({passive:!0});let ue=(()=>{class de{constructor(le,Ne){this._platform=le,this._ngZone=Ne,this._monitoredElements=new Map}monitor(le){if(!this._platform.isBrowser)return b.E;const Ne=(0,e.fI)(le),yt=this._monitoredElements.get(Ne);if(yt)return yt.subject;const jt=new M.x,st="cdk-text-field-autofilled",Te=Le=>{"cdk-text-field-autofill-start"!==Le.animationName||Ne.classList.contains(st)?"cdk-text-field-autofill-end"===Le.animationName&&Ne.classList.contains(st)&&(Ne.classList.remove(st),this._ngZone.run(()=>jt.next({target:Le.target,isAutofilled:!1}))):(Ne.classList.add(st),this._ngZone.run(()=>jt.next({target:Le.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{Ne.addEventListener("animationstart",Te,z),Ne.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(Ne,{subject:jt,unlisten:()=>{Ne.removeEventListener("animationstart",Te,z)}}),jt}stopMonitoring(le){const Ne=(0,e.fI)(le),yt=this._monitoredElements.get(Ne);yt&&(yt.unlisten(),yt.subject.complete(),Ne.classList.remove("cdk-text-field-autofill-monitored"),Ne.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(Ne))}ngOnDestroy(){this._monitoredElements.forEach((le,Ne)=>this.stopMonitoring(Ne))}}return de.\u0275fac=function(le){return new(le||de)(m.LFG(c.t4),m.LFG(m.R0b))},de.\u0275prov=m.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"}),de})(),ke=(()=>{class de{constructor(le,Ne,yt,jt){this._elementRef=le,this._platform=Ne,this._ngZone=yt,this._destroyed=new M.x,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=st=>{this._hasFocus="focus"===st.type},this._document=jt,this._textareaElement=this._elementRef.nativeElement}get minRows(){return this._minRows}set minRows(le){this._minRows=(0,e.su)(le),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(le){this._maxRows=(0,e.su)(le),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(le){le=(0,e.Ig)(le),this._enabled!==le&&((this._enabled=le)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(le){this._cachedPlaceholderHeight=void 0,le?this._textareaElement.setAttribute("placeholder",le):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}_setMinHeight(){const le=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;le&&(this._textareaElement.style.minHeight=le)}_setMaxHeight(){const le=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;le&&(this._textareaElement.style.maxHeight=le)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{const le=this._getWindow();(0,k.R)(le,"resize").pipe((0,F.e)(16),(0,G.R)(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let le=this._textareaElement.cloneNode(!1);le.rows=1,le.style.position="absolute",le.style.visibility="hidden",le.style.border="none",le.style.padding="0",le.style.height="",le.style.minHeight="",le.style.maxHeight="",le.style.overflow="hidden",this._textareaElement.parentNode.appendChild(le),this._cachedLineHeight=le.clientHeight,le.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const le=this._textareaElement,Ne=le.style.marginBottom||"",yt=this._platform.FIREFOX,jt=yt&&this._hasFocus,st=yt?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";jt&&(le.style.marginBottom=`${le.clientHeight}px`),le.classList.add(st);const Te=le.scrollHeight-4;return le.classList.remove(st),jt&&(le.style.marginBottom=Ne),Te}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const le=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=le}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(le=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const Ne=this._elementRef.nativeElement,yt=Ne.value;if(!le&&this._minRows===this._previousMinRows&&yt===this._previousValue)return;const jt=this._measureScrollHeight(),st=Math.max(jt,this._cachedPlaceholderHeight||0);Ne.style.height=`${st}px`,this._ngZone.runOutsideAngular(()=>{"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(()=>this._scrollToCaretPosition(Ne)):setTimeout(()=>this._scrollToCaretPosition(Ne))}),this._previousValue=yt,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(le){const{selectionStart:Ne,selectionEnd:yt}=le;!this._destroyed.isStopped&&this._hasFocus&&le.setSelectionRange(Ne,yt)}}return de.\u0275fac=function(le){return new(le||de)(m.Y36(m.SBq),m.Y36(c.t4),m.Y36(m.R0b),m.Y36(ee.K0,8))},de.\u0275dir=m.lG2({type:de,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(le,Ne){1&le&&m.NdJ("input",function(){return Ne._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]}),de})(),Pe=(()=>{class de{}return de.\u0275fac=function(le){return new(le||de)},de.\u0275mod=m.oAB({type:de}),de.\u0275inj=m.cJS({}),de})()},9808:(N,U,C)=>{"use strict";C.d(U,{Do:()=>jt,ED:()=>Bo,EM:()=>$r,HT:()=>M,JF:()=>zr,K0:()=>F,Mx:()=>$i,NF:()=>dr,O5:()=>Ba,OU:()=>Ha,Ov:()=>Ks,PC:()=>Ya,PM:()=>Yr,RF:()=>Fr,S$:()=>le,V_:()=>z,Ye:()=>st,b0:()=>yt,bD:()=>Dr,ez:()=>Jr,gd:()=>Ur,mk:()=>Rt,n9:()=>Ts,q:()=>e,sg:()=>Qa,tP:()=>Br,uU:()=>qs,w_:()=>k});var c=C(5e3);let m=null;function e(){return m}function M(K){m||(m=K)}class k{}const F=new c.OlP("DocumentToken");let G=(()=>{class K{historyGo(W){throw new Error("Not implemented")}}return K.\u0275fac=function(W){return new(W||K)},K.\u0275prov=c.Yz7({token:K,factory:function(){return function ee(){return(0,c.LFG)(ue)}()},providedIn:"platform"}),K})();const z=new c.OlP("Location Initialized");let ue=(()=>{class K extends G{constructor(W){super(),this._doc=W,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return e().getBaseHref(this._doc)}onPopState(W){const ge=e().getGlobalEventTarget(this._doc,"window");return ge.addEventListener("popstate",W,!1),()=>ge.removeEventListener("popstate",W)}onHashChange(W){const ge=e().getGlobalEventTarget(this._doc,"window");return ge.addEventListener("hashchange",W,!1),()=>ge.removeEventListener("hashchange",W)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(W){this.location.pathname=W}pushState(W,ge,ze){ce()?this._history.pushState(W,ge,ze):this.location.hash=ze}replaceState(W,ge,ze){ce()?this._history.replaceState(W,ge,ze):this.location.hash=ze}forward(){this._history.forward()}back(){this._history.back()}historyGo(W=0){this._history.go(W)}getState(){return this._history.state}}return K.\u0275fac=function(W){return new(W||K)(c.LFG(F))},K.\u0275prov=c.Yz7({token:K,factory:function(){return function ke(){return new ue((0,c.LFG)(F))}()},providedIn:"platform"}),K})();function ce(){return!!window.history.pushState}function Pe(K,se){if(0==K.length)return se;if(0==se.length)return K;let W=0;return K.endsWith("/")&&W++,se.startsWith("/")&&W++,2==W?K+se.substring(1):1==W?K+se:K+"/"+se}function de(K){const se=K.match(/#|\?|$/),W=se&&se.index||K.length;return K.slice(0,W-("/"===K[W-1]?1:0))+K.slice(W)}function Ge(K){return K&&"?"!==K[0]?"?"+K:K}let le=(()=>{class K{historyGo(W){throw new Error("Not implemented")}}return K.\u0275fac=function(W){return new(W||K)},K.\u0275prov=c.Yz7({token:K,factory:function(){return(0,c.f3M)(yt)},providedIn:"root"}),K})();const Ne=new c.OlP("appBaseHref");let yt=(()=>{class K extends le{constructor(W,ge){var ze,Pt,Ht;super(),this._platformLocation=W,this._removeListenerFns=[],this._baseHref=null!==(Ht=null!==(ze=null!=ge?ge:this._platformLocation.getBaseHrefFromDOM())&&void 0!==ze?ze:null===(Pt=(0,c.f3M)(F).location)||void 0===Pt?void 0:Pt.origin)&&void 0!==Ht?Ht:""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(W){this._removeListenerFns.push(this._platformLocation.onPopState(W),this._platformLocation.onHashChange(W))}getBaseHref(){return this._baseHref}prepareExternalUrl(W){return Pe(this._baseHref,W)}path(W=!1){const ge=this._platformLocation.pathname+Ge(this._platformLocation.search),ze=this._platformLocation.hash;return ze&&W?`${ge}${ze}`:ge}pushState(W,ge,ze,Pt){const Ht=this.prepareExternalUrl(ze+Ge(Pt));this._platformLocation.pushState(W,ge,Ht)}replaceState(W,ge,ze,Pt){const Ht=this.prepareExternalUrl(ze+Ge(Pt));this._platformLocation.replaceState(W,ge,Ht)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(W=0){var ge,ze;null===(ze=(ge=this._platformLocation).historyGo)||void 0===ze||ze.call(ge,W)}}return K.\u0275fac=function(W){return new(W||K)(c.LFG(G),c.LFG(Ne,8))},K.\u0275prov=c.Yz7({token:K,factory:K.\u0275fac,providedIn:"root"}),K})(),jt=(()=>{class K extends le{constructor(W,ge){super(),this._platformLocation=W,this._baseHref="",this._removeListenerFns=[],null!=ge&&(this._baseHref=ge)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(W){this._removeListenerFns.push(this._platformLocation.onPopState(W),this._platformLocation.onHashChange(W))}getBaseHref(){return this._baseHref}path(W=!1){let ge=this._platformLocation.hash;return null==ge&&(ge="#"),ge.length>0?ge.substring(1):ge}prepareExternalUrl(W){const ge=Pe(this._baseHref,W);return ge.length>0?"#"+ge:ge}pushState(W,ge,ze,Pt){let Ht=this.prepareExternalUrl(ze+Ge(Pt));0==Ht.length&&(Ht=this._platformLocation.pathname),this._platformLocation.pushState(W,ge,Ht)}replaceState(W,ge,ze,Pt){let Ht=this.prepareExternalUrl(ze+Ge(Pt));0==Ht.length&&(Ht=this._platformLocation.pathname),this._platformLocation.replaceState(W,ge,Ht)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(W=0){var ge,ze;null===(ze=(ge=this._platformLocation).historyGo)||void 0===ze||ze.call(ge,W)}}return K.\u0275fac=function(W){return new(W||K)(c.LFG(G),c.LFG(Ne,8))},K.\u0275prov=c.Yz7({token:K,factory:K.\u0275fac}),K})(),st=(()=>{class K{constructor(W){this._subject=new c.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=W;const ge=this._locationStrategy.getBaseHref();this._baseHref=de(at(ge)),this._locationStrategy.onPopState(ze=>{this._subject.emit({url:this.path(!0),pop:!0,state:ze.state,type:ze.type})})}ngOnDestroy(){var W;null===(W=this._urlChangeSubscription)||void 0===W||W.unsubscribe(),this._urlChangeListeners=[]}path(W=!1){return this.normalize(this._locationStrategy.path(W))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(W,ge=""){return this.path()==this.normalize(W+Ge(ge))}normalize(W){return K.stripTrailingSlash(function Le(K,se){return K&&se.startsWith(K)?se.substring(K.length):se}(this._baseHref,at(W)))}prepareExternalUrl(W){return W&&"/"!==W[0]&&(W="/"+W),this._locationStrategy.prepareExternalUrl(W)}go(W,ge="",ze=null){this._locationStrategy.pushState(ze,"",W,ge),this._notifyUrlChangeListeners(this.prepareExternalUrl(W+Ge(ge)),ze)}replaceState(W,ge="",ze=null){this._locationStrategy.replaceState(ze,"",W,ge),this._notifyUrlChangeListeners(this.prepareExternalUrl(W+Ge(ge)),ze)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(W=0){var ge,ze;null===(ze=(ge=this._locationStrategy).historyGo)||void 0===ze||ze.call(ge,W)}onUrlChange(W){return this._urlChangeListeners.push(W),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(ge=>{this._notifyUrlChangeListeners(ge.url,ge.state)})),()=>{var ge;const ze=this._urlChangeListeners.indexOf(W);this._urlChangeListeners.splice(ze,1),0===this._urlChangeListeners.length&&(null===(ge=this._urlChangeSubscription)||void 0===ge||ge.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(W="",ge){this._urlChangeListeners.forEach(ze=>ze(W,ge))}subscribe(W,ge,ze){return this._subject.subscribe({next:W,error:ge,complete:ze})}}return K.normalizeQueryParams=Ge,K.joinWithSlash=Pe,K.stripTrailingSlash=de,K.\u0275fac=function(W){return new(W||K)(c.LFG(le))},K.\u0275prov=c.Yz7({token:K,factory:function(){return function Te(){return new st((0,c.LFG)(le))}()},providedIn:"root"}),K})();function at(K){return K.replace(/\/index.html$/,"")}var Ye=(()=>((Ye=Ye||{})[Ye.Format=0]="Format",Ye[Ye.Standalone=1]="Standalone",Ye))(),qe=(()=>((qe=qe||{})[qe.Narrow=0]="Narrow",qe[qe.Abbreviated=1]="Abbreviated",qe[qe.Wide=2]="Wide",qe[qe.Short=3]="Short",qe))(),ie=(()=>((ie=ie||{})[ie.Short=0]="Short",ie[ie.Medium=1]="Medium",ie[ie.Long=2]="Long",ie[ie.Full=3]="Full",ie))(),Oe=(()=>((Oe=Oe||{})[Oe.Decimal=0]="Decimal",Oe[Oe.Group=1]="Group",Oe[Oe.List=2]="List",Oe[Oe.PercentSign=3]="PercentSign",Oe[Oe.PlusSign=4]="PlusSign",Oe[Oe.MinusSign=5]="MinusSign",Oe[Oe.Exponential=6]="Exponential",Oe[Oe.SuperscriptingExponent=7]="SuperscriptingExponent",Oe[Oe.PerMille=8]="PerMille",Oe[Oe.Infinity=9]="Infinity",Oe[Oe.NaN=10]="NaN",Oe[Oe.TimeSeparator=11]="TimeSeparator",Oe[Oe.CurrencyDecimal=12]="CurrencyDecimal",Oe[Oe.CurrencyGroup=13]="CurrencyGroup",Oe))();function he(K,se){return ai((0,c.cg1)(K)[c.wAp.DateFormat],se)}function nt(K,se){return ai((0,c.cg1)(K)[c.wAp.TimeFormat],se)}function Yt(K,se){return ai((0,c.cg1)(K)[c.wAp.DateTimeFormat],se)}function Lt(K,se){const W=(0,c.cg1)(K),ge=W[c.wAp.NumberSymbols][se];if(void 0===ge){if(se===Oe.CurrencyDecimal)return W[c.wAp.NumberSymbols][Oe.Decimal];if(se===Oe.CurrencyGroup)return W[c.wAp.NumberSymbols][Oe.Group]}return ge}function ut(K){if(!K[c.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${K[c.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function ai(K,se){for(let W=se;W>-1;W--)if(void 0!==K[W])return K[W];throw new Error("Locale data API: locale data undefined")}function ti(K){const[se,W]=K.split(":");return{hours:+se,minutes:+W}}const A=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,et={},Fe=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var we=(()=>((we=we||{})[we.Short=0]="Short",we[we.ShortGMT=1]="ShortGMT",we[we.Long=2]="Long",we[we.Extended=3]="Extended",we))(),De=(()=>((De=De||{})[De.FullYear=0]="FullYear",De[De.Month=1]="Month",De[De.Date=2]="Date",De[De.Hours=3]="Hours",De[De.Minutes=4]="Minutes",De[De.Seconds=5]="Seconds",De[De.FractionalSeconds=6]="FractionalSeconds",De[De.Day=7]="Day",De))(),ct=(()=>((ct=ct||{})[ct.DayPeriods=0]="DayPeriods",ct[ct.Days=1]="Days",ct[ct.Months=2]="Months",ct[ct.Eras=3]="Eras",ct))();function Et(K,se,W,ge){let ze=function pt(K){if(qt(K))return K;if("number"==typeof K&&!isNaN(K))return new Date(K);if("string"==typeof K){if(K=K.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(K)){const[ze,Pt=1,Ht=1]=K.split("-").map(wi=>+wi);return Gt(ze,Pt-1,Ht)}const W=parseFloat(K);if(!isNaN(K-W))return new Date(W);let ge;if(ge=K.match(A))return function ot(K){const se=new Date(0);let W=0,ge=0;const ze=K[8]?se.setUTCFullYear:se.setFullYear,Pt=K[8]?se.setUTCHours:se.setHours;K[9]&&(W=Number(K[9]+K[10]),ge=Number(K[9]+K[11])),ze.call(se,Number(K[1]),Number(K[2])-1,Number(K[3]));const Ht=Number(K[4]||0)-W,wi=Number(K[5]||0)-ge,Bn=Number(K[6]||0),Ui=Math.floor(1e3*parseFloat("0."+(K[7]||0)));return Pt.call(se,Ht,wi,Bn,Ui),se}(ge)}const se=new Date(K);if(!qt(se))throw new Error(`Unable to convert "${K}" into a date`);return se}(K);se=_i(W,se)||se;let wi,Ht=[];for(;se;){if(wi=Fe.exec(se),!wi){Ht.push(se);break}{Ht=Ht.concat(wi.slice(1));const Wn=Ht.pop();if(!Wn)break;se=Wn}}let Bn=ze.getTimezoneOffset();ge&&(Bn=It(ge,Bn),ze=function Ee(K,se,W){const ge=W?-1:1,ze=K.getTimezoneOffset();return function ci(K,se){return(K=new Date(K.getTime())).setMinutes(K.getMinutes()+se),K}(K,ge*(It(se,ze)-ze))}(ze,ge,!0));let Ui="";return Ht.forEach(Wn=>{const An=function Vi(K){if(si[K])return si[K];let se;switch(K){case"G":case"GG":case"GGG":se=Hi(ct.Eras,qe.Abbreviated);break;case"GGGG":se=Hi(ct.Eras,qe.Wide);break;case"GGGGG":se=Hi(ct.Eras,qe.Narrow);break;case"y":se=xi(De.FullYear,1,0,!1,!0);break;case"yy":se=xi(De.FullYear,2,0,!0,!0);break;case"yyy":se=xi(De.FullYear,3,0,!1,!0);break;case"yyyy":se=xi(De.FullYear,4,0,!1,!0);break;case"Y":se=Dt(1);break;case"YY":se=Dt(2,!0);break;case"YYY":se=Dt(3);break;case"YYYY":se=Dt(4);break;case"M":case"L":se=xi(De.Month,1,1);break;case"MM":case"LL":se=xi(De.Month,2,1);break;case"MMM":se=Hi(ct.Months,qe.Abbreviated);break;case"MMMM":se=Hi(ct.Months,qe.Wide);break;case"MMMMM":se=Hi(ct.Months,qe.Narrow);break;case"LLL":se=Hi(ct.Months,qe.Abbreviated,Ye.Standalone);break;case"LLLL":se=Hi(ct.Months,qe.Wide,Ye.Standalone);break;case"LLLLL":se=Hi(ct.Months,qe.Narrow,Ye.Standalone);break;case"w":se=_t(1);break;case"ww":se=_t(2);break;case"W":se=_t(1,!0);break;case"d":se=xi(De.Date,1);break;case"dd":se=xi(De.Date,2);break;case"c":case"cc":se=xi(De.Day,1);break;case"ccc":se=Hi(ct.Days,qe.Abbreviated,Ye.Standalone);break;case"cccc":se=Hi(ct.Days,qe.Wide,Ye.Standalone);break;case"ccccc":se=Hi(ct.Days,qe.Narrow,Ye.Standalone);break;case"cccccc":se=Hi(ct.Days,qe.Short,Ye.Standalone);break;case"E":case"EE":case"EEE":se=Hi(ct.Days,qe.Abbreviated);break;case"EEEE":se=Hi(ct.Days,qe.Wide);break;case"EEEEE":se=Hi(ct.Days,qe.Narrow);break;case"EEEEEE":se=Hi(ct.Days,qe.Short);break;case"a":case"aa":case"aaa":se=Hi(ct.DayPeriods,qe.Abbreviated);break;case"aaaa":se=Hi(ct.DayPeriods,qe.Wide);break;case"aaaaa":se=Hi(ct.DayPeriods,qe.Narrow);break;case"b":case"bb":case"bbb":se=Hi(ct.DayPeriods,qe.Abbreviated,Ye.Standalone,!0);break;case"bbbb":se=Hi(ct.DayPeriods,qe.Wide,Ye.Standalone,!0);break;case"bbbbb":se=Hi(ct.DayPeriods,qe.Narrow,Ye.Standalone,!0);break;case"B":case"BB":case"BBB":se=Hi(ct.DayPeriods,qe.Abbreviated,Ye.Format,!0);break;case"BBBB":se=Hi(ct.DayPeriods,qe.Wide,Ye.Format,!0);break;case"BBBBB":se=Hi(ct.DayPeriods,qe.Narrow,Ye.Format,!0);break;case"h":se=xi(De.Hours,1,-12);break;case"hh":se=xi(De.Hours,2,-12);break;case"H":se=xi(De.Hours,1);break;case"HH":se=xi(De.Hours,2);break;case"m":se=xi(De.Minutes,1);break;case"mm":se=xi(De.Minutes,2);break;case"s":se=xi(De.Seconds,1);break;case"ss":se=xi(De.Seconds,2);break;case"S":se=xi(De.FractionalSeconds,1);break;case"SS":se=xi(De.FractionalSeconds,2);break;case"SSS":se=xi(De.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":se=it(we.Short);break;case"ZZZZZ":se=it(we.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":se=it(we.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":se=it(we.Long);break;default:return null}return si[K]=se,se}(Wn);Ui+=An?An(ze,W,Bn):"''"===Wn?"'":Wn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Ui}function Gt(K,se,W){const ge=new Date(0);return ge.setFullYear(K,se,W),ge.setHours(0,0,0),ge}function _i(K,se){const W=function kt(K){return(0,c.cg1)(K)[c.wAp.LocaleId]}(K);if(et[W]=et[W]||{},et[W][se])return et[W][se];let ge="";switch(se){case"shortDate":ge=he(K,ie.Short);break;case"mediumDate":ge=he(K,ie.Medium);break;case"longDate":ge=he(K,ie.Long);break;case"fullDate":ge=he(K,ie.Full);break;case"shortTime":ge=nt(K,ie.Short);break;case"mediumTime":ge=nt(K,ie.Medium);break;case"longTime":ge=nt(K,ie.Long);break;case"fullTime":ge=nt(K,ie.Full);break;case"short":const ze=_i(K,"shortTime"),Pt=_i(K,"shortDate");ge=di(Yt(K,ie.Short),[ze,Pt]);break;case"medium":const Ht=_i(K,"mediumTime"),wi=_i(K,"mediumDate");ge=di(Yt(K,ie.Medium),[Ht,wi]);break;case"long":const Bn=_i(K,"longTime"),Ui=_i(K,"longDate");ge=di(Yt(K,ie.Long),[Bn,Ui]);break;case"full":const Wn=_i(K,"fullTime"),An=_i(K,"fullDate");ge=di(Yt(K,ie.Full),[Wn,An])}return ge&&(et[W][se]=ge),ge}function di(K,se){return se&&(K=K.replace(/\{([^}]+)}/g,function(W,ge){return null!=se&&ge in se?se[ge]:W})),K}function zt(K,se,W="-",ge,ze){let Pt="";(K<0||ze&&K<=0)&&(ze?K=1-K:(K=-K,Pt=W));let Ht=String(K);for(;Ht.length0||wi>-W)&&(wi+=W),K===De.Hours)0===wi&&-12===W&&(wi=12);else if(K===De.FractionalSeconds)return function Bi(K,se){return zt(K,3).substring(0,se)}(wi,se);const Bn=Lt(Ht,Oe.MinusSign);return zt(wi,se,Bn,ge,ze)}}function Hi(K,se,W=Ye.Format,ge=!1){return function(ze,Pt){return function ht(K,se,W,ge,ze,Pt){switch(W){case ct.Months:return function Wt(K,se,W){const ge=(0,c.cg1)(K),Pt=ai([ge[c.wAp.MonthsFormat],ge[c.wAp.MonthsStandalone]],se);return ai(Pt,W)}(se,ze,ge)[K.getMonth()];case ct.Days:return function bt(K,se,W){const ge=(0,c.cg1)(K),Pt=ai([ge[c.wAp.DaysFormat],ge[c.wAp.DaysStandalone]],se);return ai(Pt,W)}(se,ze,ge)[K.getDay()];case ct.DayPeriods:const Ht=K.getHours(),wi=K.getMinutes();if(Pt){const Ui=function ni(K){const se=(0,c.cg1)(K);return ut(se),(se[c.wAp.ExtraData][2]||[]).map(ge=>"string"==typeof ge?ti(ge):[ti(ge[0]),ti(ge[1])])}(se),Wn=function ki(K,se,W){const ge=(0,c.cg1)(K);ut(ge);const Pt=ai([ge[c.wAp.ExtraData][0],ge[c.wAp.ExtraData][1]],se)||[];return ai(Pt,W)||[]}(se,ze,ge),An=Ui.findIndex(ka=>{if(Array.isArray(ka)){const[Gn,Qn]=ka,go=Ht>=Gn.hours&&wi>=Gn.minutes,ao=Ht0?Math.floor(ze/60):Math.ceil(ze/60);switch(K){case we.Short:return(ze>=0?"+":"")+zt(Ht,2,Pt)+zt(Math.abs(ze%60),2,Pt);case we.ShortGMT:return"GMT"+(ze>=0?"+":"")+zt(Ht,1,Pt);case we.Long:return"GMT"+(ze>=0?"+":"")+zt(Ht,2,Pt)+":"+zt(Math.abs(ze%60),2,Pt);case we.Extended:return 0===ge?"Z":(ze>=0?"+":"")+zt(Ht,2,Pt)+":"+zt(Math.abs(ze%60),2,Pt);default:throw new Error(`Unknown zone width "${K}"`)}}}function Ie(K){return Gt(K.getFullYear(),K.getMonth(),K.getDate()+(4-K.getDay()))}function _t(K,se=!1){return function(W,ge){let ze;if(se){const Pt=new Date(W.getFullYear(),W.getMonth(),1).getDay()-1,Ht=W.getDate();ze=1+Math.floor((Ht+Pt)/7)}else{const Pt=Ie(W),Ht=function We(K){const se=Gt(K,0,1).getDay();return Gt(K,0,1+(se<=4?4:11)-se)}(Pt.getFullYear()),wi=Pt.getTime()-Ht.getTime();ze=1+Math.round(wi/6048e5)}return zt(ze,K,Lt(ge,Oe.MinusSign))}}function Dt(K,se=!1){return function(W,ge){return zt(Ie(W).getFullYear(),K,Lt(ge,Oe.MinusSign),se)}}const si={};function It(K,se){K=K.replace(/:/g,"");const W=Date.parse("Jan 01, 1970 00:00:00 "+K)/6e4;return isNaN(W)?se:W}function qt(K){return K instanceof Date&&!isNaN(K.valueOf())}function $i(K,se){se=encodeURIComponent(se);for(const W of K.split(";")){const ge=W.indexOf("="),[ze,Pt]=-1==ge?[W,""]:[W.slice(0,ge),W.slice(ge+1)];if(ze.trim()===se)return decodeURIComponent(Pt)}return null}let Rt=(()=>{class K{constructor(W,ge,ze,Pt){this._iterableDiffers=W,this._keyValueDiffers=ge,this._ngEl=ze,this._renderer=Pt,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(W){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof W?W.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(W){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof W?W.split(/\s+/):W,this._rawClass&&((0,c.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const W=this._iterableDiffer.diff(this._rawClass);W&&this._applyIterableChanges(W)}else if(this._keyValueDiffer){const W=this._keyValueDiffer.diff(this._rawClass);W&&this._applyKeyValueChanges(W)}}_applyKeyValueChanges(W){W.forEachAddedItem(ge=>this._toggleClass(ge.key,ge.currentValue)),W.forEachChangedItem(ge=>this._toggleClass(ge.key,ge.currentValue)),W.forEachRemovedItem(ge=>{ge.previousValue&&this._toggleClass(ge.key,!1)})}_applyIterableChanges(W){W.forEachAddedItem(ge=>{if("string"!=typeof ge.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,c.AaK)(ge.item)}`);this._toggleClass(ge.item,!0)}),W.forEachRemovedItem(ge=>this._toggleClass(ge.item,!1))}_applyClasses(W){W&&(Array.isArray(W)||W instanceof Set?W.forEach(ge=>this._toggleClass(ge,!0)):Object.keys(W).forEach(ge=>this._toggleClass(ge,!!W[ge])))}_removeClasses(W){W&&(Array.isArray(W)||W instanceof Set?W.forEach(ge=>this._toggleClass(ge,!1)):Object.keys(W).forEach(ge=>this._toggleClass(ge,!1)))}_toggleClass(W,ge){(W=W.trim())&&W.split(/\s+/g).forEach(ze=>{ge?this._renderer.addClass(this._ngEl.nativeElement,ze):this._renderer.removeClass(this._ngEl.nativeElement,ze)})}}return K.\u0275fac=function(W){return new(W||K)(c.Y36(c.ZZ4),c.Y36(c.aQg),c.Y36(c.SBq),c.Y36(c.Qsj))},K.\u0275dir=c.lG2({type:K,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),K})();class Ia{constructor(se,W,ge,ze){this.$implicit=se,this.ngForOf=W,this.index=ge,this.count=ze}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Qa=(()=>{class K{constructor(W,ge,ze){this._viewContainer=W,this._template=ge,this._differs=ze,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(W){this._ngForOf=W,this._ngForOfDirty=!0}set ngForTrackBy(W){this._trackByFn=W}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(W){W&&(this._template=W)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const W=this._ngForOf;!this._differ&&W&&(this._differ=this._differs.find(W).create(this.ngForTrackBy))}if(this._differ){const W=this._differ.diff(this._ngForOf);W&&this._applyChanges(W)}}_applyChanges(W){const ge=this._viewContainer;W.forEachOperation((ze,Pt,Ht)=>{if(null==ze.previousIndex)ge.createEmbeddedView(this._template,new Ia(ze.item,this._ngForOf,-1,-1),null===Ht?void 0:Ht);else if(null==Ht)ge.remove(null===Pt?void 0:Pt);else if(null!==Pt){const wi=ge.get(Pt);ge.move(wi,Ht),No(wi,ze)}});for(let ze=0,Pt=ge.length;ze{No(ge.get(ze.currentIndex),ze)})}static ngTemplateContextGuard(W,ge){return!0}}return K.\u0275fac=function(W){return new(W||K)(c.Y36(c.s_b),c.Y36(c.Rgc),c.Y36(c.ZZ4))},K.\u0275dir=c.lG2({type:K,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),K})();function No(K,se){K.context.$implicit=se.item}let Ba=(()=>{class K{constructor(W,ge){this._viewContainer=W,this._context=new sr,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=ge}set ngIf(W){this._context.$implicit=this._context.ngIf=W,this._updateView()}set ngIfThen(W){Un("ngIfThen",W),this._thenTemplateRef=W,this._thenViewRef=null,this._updateView()}set ngIfElse(W){Un("ngIfElse",W),this._elseTemplateRef=W,this._elseViewRef=null,this._updateView()}_updateView(){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)))}static ngTemplateContextGuard(W,ge){return!0}}return K.\u0275fac=function(W){return new(W||K)(c.Y36(c.s_b),c.Y36(c.Rgc))},K.\u0275dir=c.lG2({type:K,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),K})();class sr{constructor(){this.$implicit=null,this.ngIf=null}}function Un(K,se){if(se&&!se.createEmbeddedView)throw new Error(`${K} must be a TemplateRef, but received '${(0,c.AaK)(se)}'.`)}class Aa{constructor(se,W){this._viewContainerRef=se,this._templateRef=W,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(se){se&&!this._created?this.create():!se&&this._created&&this.destroy()}}let Fr=(()=>{class K{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(W){this._ngSwitch=W,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(W){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(W)}_matchCase(W){const ge=W==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||ge,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),ge}_updateDefaultCases(W){if(this._defaultViews&&W!==this._defaultUsed){this._defaultUsed=W;for(let ge=0;ge{class K{constructor(W,ge,ze){this.ngSwitch=ze,ze._addCase(),this._view=new Aa(W,ge)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return K.\u0275fac=function(W){return new(W||K)(c.Y36(c.s_b),c.Y36(c.Rgc),c.Y36(Fr,9))},K.\u0275dir=c.lG2({type:K,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),K})(),Bo=(()=>{class K{constructor(W,ge,ze){ze._addDefault(new Aa(W,ge))}}return K.\u0275fac=function(W){return new(W||K)(c.Y36(c.s_b),c.Y36(c.Rgc),c.Y36(Fr,9))},K.\u0275dir=c.lG2({type:K,selectors:[["","ngSwitchDefault",""]],standalone:!0}),K})(),Ya=(()=>{class K{constructor(W,ge,ze){this._ngEl=W,this._differs=ge,this._renderer=ze,this._ngStyle=null,this._differ=null}set ngStyle(W){this._ngStyle=W,!this._differ&&W&&(this._differ=this._differs.find(W).create())}ngDoCheck(){if(this._differ){const W=this._differ.diff(this._ngStyle);W&&this._applyChanges(W)}}_setStyle(W,ge){const[ze,Pt]=W.split("."),Ht=-1===ze.indexOf("-")?void 0:c.JOm.DashCase;null!=ge?this._renderer.setStyle(this._ngEl.nativeElement,ze,Pt?`${ge}${Pt}`:ge,Ht):this._renderer.removeStyle(this._ngEl.nativeElement,ze,Ht)}_applyChanges(W){W.forEachRemovedItem(ge=>this._setStyle(ge.key,null)),W.forEachAddedItem(ge=>this._setStyle(ge.key,ge.currentValue)),W.forEachChangedItem(ge=>this._setStyle(ge.key,ge.currentValue))}}return K.\u0275fac=function(W){return new(W||K)(c.Y36(c.SBq),c.Y36(c.aQg),c.Y36(c.Qsj))},K.\u0275dir=c.lG2({type:K,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),K})(),Br=(()=>{class K{constructor(W){this._viewContainerRef=W,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(W){if(W.ngTemplateOutlet||W.ngTemplateOutletInjector){const ge=this._viewContainerRef;if(this._viewRef&&ge.remove(ge.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:ze,ngTemplateOutletContext:Pt,ngTemplateOutletInjector:Ht}=this;this._viewRef=ge.createEmbeddedView(ze,Pt,Ht?{injector:Ht}:void 0)}else this._viewRef=null}else this._viewRef&&W.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return K.\u0275fac=function(W){return new(W||K)(c.Y36(c.s_b))},K.\u0275dir=c.lG2({type:K,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[c.TTD]}),K})();function Nn(K,se){return new c.vHH(2100,!1)}class Ta{createSubscription(se,W){return se.subscribe({next:W,error:ge=>{throw ge}})}dispose(se){se.unsubscribe()}}class Mo{createSubscription(se,W){return se.then(W,ge=>{throw ge})}dispose(se){}}const an=new Mo,sc=new Ta;let Ks=(()=>{class K{constructor(W){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=W}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(W){return this._obj?W!==this._obj?(this._dispose(),this.transform(W)):this._latestValue:(W&&this._subscribe(W),this._latestValue)}_subscribe(W){this._obj=W,this._strategy=this._selectStrategy(W),this._subscription=this._strategy.createSubscription(W,ge=>this._updateLatestValue(W,ge))}_selectStrategy(W){if((0,c.QGY)(W))return an;if((0,c.F4k)(W))return sc;throw Nn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(W,ge){W===this._obj&&(this._latestValue=ge,this._ref.markForCheck())}}return K.\u0275fac=function(W){return new(W||K)(c.Y36(c.sBO,16))},K.\u0275pipe=c.Yjl({name:"async",type:K,pure:!1,standalone:!0}),K})(),Ur=(()=>{class K{transform(W){if(null==W)return null;if("string"!=typeof W)throw Nn();return W.toUpperCase()}}return K.\u0275fac=function(W){return new(W||K)},K.\u0275pipe=c.Yjl({name:"uppercase",type:K,pure:!0,standalone:!0}),K})();const Ws=new c.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let qs=(()=>{class K{constructor(W,ge){this.locale=W,this.defaultTimezone=ge}transform(W,ge="mediumDate",ze,Pt){var Ht;if(null==W||""===W||W!=W)return null;try{return Et(W,ge,Pt||this.locale,null!==(Ht=null!=ze?ze:this.defaultTimezone)&&void 0!==Ht?Ht:void 0)}catch(wi){throw Nn()}}}return K.\u0275fac=function(W){return new(W||K)(c.Y36(c.soG,16),c.Y36(Ws,24))},K.\u0275pipe=c.Yjl({name:"date",type:K,pure:!0,standalone:!0}),K})(),Ha=(()=>{class K{transform(W,ge,ze){if(null==W)return null;if(!this.supports(W))throw Nn();return W.slice(ge,ze)}supports(W){return"string"==typeof W||Array.isArray(W)}}return K.\u0275fac=function(W){return new(W||K)},K.\u0275pipe=c.Yjl({name:"slice",type:K,pure:!1,standalone:!0}),K})(),Jr=(()=>{class K{}return K.\u0275fac=function(W){return new(W||K)},K.\u0275mod=c.oAB({type:K}),K.\u0275inj=c.cJS({}),K})();const Dr="browser";function dr(K){return K===Dr}function Yr(K){return"server"===K}let $r=(()=>{class K{}return K.\u0275prov=(0,c.Yz7)({token:K,providedIn:"root",factory:()=>new Fl((0,c.LFG)(F),window)}),K})();class Fl{constructor(se,W){this.document=se,this.window=W,this.offset=()=>[0,0]}setOffset(se){this.offset=Array.isArray(se)?()=>se:se}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(se){this.supportsScrolling()&&this.window.scrollTo(se[0],se[1])}scrollToAnchor(se){if(!this.supportsScrolling())return;const W=function Zo(K,se){const W=K.getElementById(se)||K.getElementsByName(se)[0];if(W)return W;if("function"==typeof K.createTreeWalker&&K.body&&(K.body.createShadowRoot||K.body.attachShadow)){const ge=K.createTreeWalker(K.body,NodeFilter.SHOW_ELEMENT);let ze=ge.currentNode;for(;ze;){const Pt=ze.shadowRoot;if(Pt){const Ht=Pt.getElementById(se)||Pt.querySelector(`[name="${se}"]`);if(Ht)return Ht}ze=ge.nextNode()}}return null}(this.document,se);W&&(this.scrollToElement(W),W.focus())}setHistoryScrollRestoration(se){if(this.supportScrollRestoration()){const W=this.window.history;W&&W.scrollRestoration&&(W.scrollRestoration=se)}}scrollToElement(se){const W=se.getBoundingClientRect(),ge=W.left+this.window.pageXOffset,ze=W.top+this.window.pageYOffset,Pt=this.offset();this.window.scrollTo(ge-Pt[0],ze-Pt[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const se=ur(this.window.history)||ur(Object.getPrototypeOf(this.window.history));return!(!se||!se.writable&&!se.set)}catch(se){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(se){return!1}}}function ur(K){return Object.getOwnPropertyDescriptor(K,"scrollRestoration")}class zr{}},520:(N,U,C)=>{"use strict";C.d(U,{JF:()=>X,TP:()=>bt,WM:()=>z,aW:()=>xt,eN:()=>kt});var c=C(9808),m=C(5e3),e=C(9646),b=C(9751),M=C(4351),k=C(9300),F=C(4004);class G{}class ee{}class z{constructor(we){this.normalizedNames=new Map,this.lazyUpdate=null,we?this.lazyInit="string"==typeof we?()=>{this.headers=new Map,we.split("\n").forEach(De=>{const ct=De.indexOf(":");if(ct>0){const Et=De.slice(0,ct),Gt=Et.toLowerCase(),_i=De.slice(ct+1).trim();this.maybeSetNormalizedName(Et,Gt),this.headers.has(Gt)?this.headers.get(Gt).push(_i):this.headers.set(Gt,[_i])}})}:()=>{this.headers=new Map,Object.keys(we).forEach(De=>{let ct=we[De];const Et=De.toLowerCase();"string"==typeof ct&&(ct=[ct]),ct.length>0&&(this.headers.set(Et,ct),this.maybeSetNormalizedName(De,Et))})}:this.headers=new Map}has(we){return this.init(),this.headers.has(we.toLowerCase())}get(we){this.init();const De=this.headers.get(we.toLowerCase());return De&&De.length>0?De[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(we){return this.init(),this.headers.get(we.toLowerCase())||null}append(we,De){return this.clone({name:we,value:De,op:"a"})}set(we,De){return this.clone({name:we,value:De,op:"s"})}delete(we,De){return this.clone({name:we,value:De,op:"d"})}maybeSetNormalizedName(we,De){this.normalizedNames.has(De)||this.normalizedNames.set(De,we)}init(){this.lazyInit&&(this.lazyInit instanceof z?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(we=>this.applyUpdate(we)),this.lazyUpdate=null))}copyFrom(we){we.init(),Array.from(we.headers.keys()).forEach(De=>{this.headers.set(De,we.headers.get(De)),this.normalizedNames.set(De,we.normalizedNames.get(De))})}clone(we){const De=new z;return De.lazyInit=this.lazyInit&&this.lazyInit instanceof z?this.lazyInit:this,De.lazyUpdate=(this.lazyUpdate||[]).concat([we]),De}applyUpdate(we){const De=we.name.toLowerCase();switch(we.op){case"a":case"s":let ct=we.value;if("string"==typeof ct&&(ct=[ct]),0===ct.length)return;this.maybeSetNormalizedName(we.name,De);const Et=("a"===we.op?this.headers.get(De):void 0)||[];Et.push(...ct),this.headers.set(De,Et);break;case"d":const Gt=we.value;if(Gt){let _i=this.headers.get(De);if(!_i)return;_i=_i.filter(di=>-1===Gt.indexOf(di)),0===_i.length?(this.headers.delete(De),this.normalizedNames.delete(De)):this.headers.set(De,_i)}else this.headers.delete(De),this.normalizedNames.delete(De)}}forEach(we){this.init(),Array.from(this.normalizedNames.keys()).forEach(De=>we(this.normalizedNames.get(De),this.headers.get(De)))}}class ce{encodeKey(we){return Ge(we)}encodeValue(we){return Ge(we)}decodeKey(we){return decodeURIComponent(we)}decodeValue(we){return decodeURIComponent(we)}}const Pe=/%(\d[a-f0-9])/gi,de={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Ge(Fe){return encodeURIComponent(Fe).replace(Pe,(we,De)=>{var ct;return null!==(ct=de[De])&&void 0!==ct?ct:we})}function le(Fe){return`${Fe}`}class Ne{constructor(we={}){if(this.updates=null,this.cloneFrom=null,this.encoder=we.encoder||new ce,we.fromString){if(we.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function ke(Fe,we){const De=new Map;return Fe.length>0&&Fe.replace(/^\?/,"").split("&").forEach(Et=>{const Gt=Et.indexOf("="),[_i,di]=-1==Gt?[we.decodeKey(Et),""]:[we.decodeKey(Et.slice(0,Gt)),we.decodeValue(Et.slice(Gt+1))],zt=De.get(_i)||[];zt.push(di),De.set(_i,zt)}),De}(we.fromString,this.encoder)}else we.fromObject?(this.map=new Map,Object.keys(we.fromObject).forEach(De=>{const ct=we.fromObject[De],Et=Array.isArray(ct)?ct.map(le):[le(ct)];this.map.set(De,Et)})):this.map=null}has(we){return this.init(),this.map.has(we)}get(we){this.init();const De=this.map.get(we);return De?De[0]:null}getAll(we){return this.init(),this.map.get(we)||null}keys(){return this.init(),Array.from(this.map.keys())}append(we,De){return this.clone({param:we,value:De,op:"a"})}appendAll(we){const De=[];return Object.keys(we).forEach(ct=>{const Et=we[ct];Array.isArray(Et)?Et.forEach(Gt=>{De.push({param:ct,value:Gt,op:"a"})}):De.push({param:ct,value:Et,op:"a"})}),this.clone(De)}set(we,De){return this.clone({param:we,value:De,op:"s"})}delete(we,De){return this.clone({param:we,value:De,op:"d"})}toString(){return this.init(),this.keys().map(we=>{const De=this.encoder.encodeKey(we);return this.map.get(we).map(ct=>De+"="+this.encoder.encodeValue(ct)).join("&")}).filter(we=>""!==we).join("&")}clone(we){const De=new Ne({encoder:this.encoder});return De.cloneFrom=this.cloneFrom||this,De.updates=(this.updates||[]).concat(we),De}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(we=>this.map.set(we,this.cloneFrom.map.get(we))),this.updates.forEach(we=>{switch(we.op){case"a":case"s":const De=("a"===we.op?this.map.get(we.param):void 0)||[];De.push(le(we.value)),this.map.set(we.param,De);break;case"d":if(void 0===we.value){this.map.delete(we.param);break}{let ct=this.map.get(we.param)||[];const Et=ct.indexOf(le(we.value));-1!==Et&&ct.splice(Et,1),ct.length>0?this.map.set(we.param,ct):this.map.delete(we.param)}}}),this.cloneFrom=this.updates=null)}}class jt{constructor(){this.map=new Map}set(we,De){return this.map.set(we,De),this}get(we){return this.map.has(we)||this.map.set(we,we.defaultValue()),this.map.get(we)}delete(we){return this.map.delete(we),this}has(we){return this.map.has(we)}keys(){return this.map.keys()}}function Te(Fe){return"undefined"!=typeof ArrayBuffer&&Fe instanceof ArrayBuffer}function Le(Fe){return"undefined"!=typeof Blob&&Fe instanceof Blob}function at(Fe){return"undefined"!=typeof FormData&&Fe instanceof FormData}class xt{constructor(we,De,ct,Et){let Gt;if(this.url=De,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=we.toUpperCase(),function st(Fe){switch(Fe){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Et?(this.body=void 0!==ct?ct:null,Gt=Et):Gt=ct,Gt&&(this.reportProgress=!!Gt.reportProgress,this.withCredentials=!!Gt.withCredentials,Gt.responseType&&(this.responseType=Gt.responseType),Gt.headers&&(this.headers=Gt.headers),Gt.context&&(this.context=Gt.context),Gt.params&&(this.params=Gt.params)),this.headers||(this.headers=new z),this.context||(this.context=new jt),this.params){const _i=this.params.toString();if(0===_i.length)this.urlWithParams=De;else{const di=De.indexOf("?");this.urlWithParams=De+(-1===di?"?":diHi.set(ht,we.setHeaders[ht]),Bi)),we.setParams&&(xi=Object.keys(we.setParams).reduce((Hi,ht)=>Hi.set(ht,we.setParams[ht]),xi)),new xt(ct,Et,_i,{params:xi,headers:Bi,context:$n,reportProgress:zt,responseType:Gt,withCredentials:di})}}var tt=(()=>((tt=tt||{})[tt.Sent=0]="Sent",tt[tt.UploadProgress=1]="UploadProgress",tt[tt.ResponseHeader=2]="ResponseHeader",tt[tt.DownloadProgress=3]="DownloadProgress",tt[tt.Response=4]="Response",tt[tt.User=5]="User",tt))();class Ye{constructor(we,De=200,ct="OK"){this.headers=we.headers||new z,this.status=void 0!==we.status?we.status:De,this.statusText=we.statusText||ct,this.url=we.url||null,this.ok=this.status>=200&&this.status<300}}class qe extends Ye{constructor(we={}){super(we),this.type=tt.ResponseHeader}clone(we={}){return new qe({headers:we.headers||this.headers,status:void 0!==we.status?we.status:this.status,statusText:we.statusText||this.statusText,url:we.url||this.url||void 0})}}class ie extends Ye{constructor(we={}){super(we),this.type=tt.Response,this.body=void 0!==we.body?we.body:null}clone(we={}){return new ie({body:void 0!==we.body?we.body:this.body,headers:we.headers||this.headers,status:void 0!==we.status?we.status:this.status,statusText:we.statusText||this.statusText,url:we.url||this.url||void 0})}}class Oe extends Ye{constructor(we){super(we,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${we.url||"(unknown url)"}`:`Http failure response for ${we.url||"(unknown url)"}: ${we.status} ${we.statusText}`,this.error=we.error||null}}function mt(Fe,we){return{body:we,headers:Fe.headers,context:Fe.context,observe:Fe.observe,params:Fe.params,reportProgress:Fe.reportProgress,responseType:Fe.responseType,withCredentials:Fe.withCredentials}}let kt=(()=>{class Fe{constructor(De){this.handler=De}request(De,ct,Et={}){let Gt;if(De instanceof xt)Gt=De;else{let zt,Bi;zt=Et.headers instanceof z?Et.headers:new z(Et.headers),Et.params&&(Bi=Et.params instanceof Ne?Et.params:new Ne({fromObject:Et.params})),Gt=new xt(De,ct,void 0!==Et.body?Et.body:null,{headers:zt,context:Et.context,params:Bi,reportProgress:Et.reportProgress,responseType:Et.responseType||"json",withCredentials:Et.withCredentials})}const _i=(0,e.of)(Gt).pipe((0,M.b)(zt=>this.handler.handle(zt)));if(De instanceof xt||"events"===Et.observe)return _i;const di=_i.pipe((0,k.h)(zt=>zt instanceof ie));switch(Et.observe||"body"){case"body":switch(Gt.responseType){case"arraybuffer":return di.pipe((0,F.U)(zt=>{if(null!==zt.body&&!(zt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return zt.body}));case"blob":return di.pipe((0,F.U)(zt=>{if(null!==zt.body&&!(zt.body instanceof Blob))throw new Error("Response is not a Blob.");return zt.body}));case"text":return di.pipe((0,F.U)(zt=>{if(null!==zt.body&&"string"!=typeof zt.body)throw new Error("Response is not a string.");return zt.body}));default:return di.pipe((0,F.U)(zt=>zt.body))}case"response":return di;default:throw new Error(`Unreachable: unhandled observe type ${Et.observe}}`)}}delete(De,ct={}){return this.request("DELETE",De,ct)}get(De,ct={}){return this.request("GET",De,ct)}head(De,ct={}){return this.request("HEAD",De,ct)}jsonp(De,ct){return this.request("JSONP",De,{params:(new Ne).append(ct,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(De,ct={}){return this.request("OPTIONS",De,ct)}patch(De,ct,Et={}){return this.request("PATCH",De,mt(Et,ct))}post(De,ct,Et={}){return this.request("POST",De,mt(Et,ct))}put(De,ct,Et={}){return this.request("PUT",De,mt(Et,ct))}}return Fe.\u0275fac=function(De){return new(De||Fe)(m.LFG(G))},Fe.\u0275prov=m.Yz7({token:Fe,factory:Fe.\u0275fac}),Fe})();class ri{constructor(we,De){this.next=we,this.interceptor=De}handle(we){return this.interceptor.intercept(we,this.next)}}const bt=new m.OlP("HTTP_INTERCEPTORS");let Wt=(()=>{class Fe{intercept(De,ct){return ct.handle(De)}}return Fe.\u0275fac=function(De){return new(De||Fe)},Fe.\u0275prov=m.Yz7({token:Fe,factory:Fe.\u0275fac}),Fe})();const hi=/^\)\]\}',?\n/;let Tt=(()=>{class Fe{constructor(De){this.xhrFactory=De}handle(De){if("JSONP"===De.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new b.y(ct=>{const Et=this.xhrFactory.build();if(Et.open(De.method,De.urlWithParams),De.withCredentials&&(Et.withCredentials=!0),De.headers.forEach((ht,it)=>Et.setRequestHeader(ht,it.join(","))),De.headers.has("Accept")||Et.setRequestHeader("Accept","application/json, text/plain, */*"),!De.headers.has("Content-Type")){const ht=De.detectContentTypeHeader();null!==ht&&Et.setRequestHeader("Content-Type",ht)}if(De.responseType){const ht=De.responseType.toLowerCase();Et.responseType="json"!==ht?ht:"text"}const Gt=De.serializeBody();let _i=null;const di=()=>{if(null!==_i)return _i;const ht=Et.statusText||"OK",it=new z(Et.getAllResponseHeaders()),Qe=function ne(Fe){return"responseURL"in Fe&&Fe.responseURL?Fe.responseURL:/^X-Request-URL:/m.test(Fe.getAllResponseHeaders())?Fe.getResponseHeader("X-Request-URL"):null}(Et)||De.url;return _i=new qe({headers:it,status:Et.status,statusText:ht,url:Qe}),_i},zt=()=>{let{headers:ht,status:it,statusText:Qe,url:Re}=di(),We=null;204!==it&&(We=void 0===Et.response?Et.responseText:Et.response),0===it&&(it=We?200:0);let Ie=it>=200&&it<300;if("json"===De.responseType&&"string"==typeof We){const _t=We;We=We.replace(hi,"");try{We=""!==We?JSON.parse(We):null}catch(Dt){We=_t,Ie&&(Ie=!1,We={error:Dt,text:We})}}Ie?(ct.next(new ie({body:We,headers:ht,status:it,statusText:Qe,url:Re||void 0})),ct.complete()):ct.error(new Oe({error:We,headers:ht,status:it,statusText:Qe,url:Re||void 0}))},Bi=ht=>{const{url:it}=di(),Qe=new Oe({error:ht,status:Et.status||0,statusText:Et.statusText||"Unknown Error",url:it||void 0});ct.error(Qe)};let xi=!1;const $n=ht=>{xi||(ct.next(di()),xi=!0);let it={type:tt.DownloadProgress,loaded:ht.loaded};ht.lengthComputable&&(it.total=ht.total),"text"===De.responseType&&!!Et.responseText&&(it.partialText=Et.responseText),ct.next(it)},Hi=ht=>{let it={type:tt.UploadProgress,loaded:ht.loaded};ht.lengthComputable&&(it.total=ht.total),ct.next(it)};return Et.addEventListener("load",zt),Et.addEventListener("error",Bi),Et.addEventListener("timeout",Bi),Et.addEventListener("abort",Bi),De.reportProgress&&(Et.addEventListener("progress",$n),null!==Gt&&Et.upload&&Et.upload.addEventListener("progress",Hi)),Et.send(Gt),ct.next({type:tt.Sent}),()=>{Et.removeEventListener("error",Bi),Et.removeEventListener("abort",Bi),Et.removeEventListener("load",zt),Et.removeEventListener("timeout",Bi),De.reportProgress&&(Et.removeEventListener("progress",$n),null!==Gt&&Et.upload&&Et.upload.removeEventListener("progress",Hi)),Et.readyState!==Et.DONE&&Et.abort()}})}}return Fe.\u0275fac=function(De){return new(De||Fe)(m.LFG(c.JF))},Fe.\u0275prov=m.Yz7({token:Fe,factory:Fe.\u0275fac}),Fe})();const Se=new m.OlP("XSRF_COOKIE_NAME"),ut=new m.OlP("XSRF_HEADER_NAME");class ni{}let ki=(()=>{class Fe{constructor(De,ct,Et){this.doc=De,this.platform=ct,this.cookieName=Et,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const De=this.doc.cookie||"";return De!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,c.Mx)(De,this.cookieName),this.lastCookieString=De),this.lastToken}}return Fe.\u0275fac=function(De){return new(De||Fe)(m.LFG(c.K0),m.LFG(m.Lbi),m.LFG(Se))},Fe.\u0275prov=m.Yz7({token:Fe,factory:Fe.\u0275fac}),Fe})(),dn=(()=>{class Fe{constructor(De,ct){this.tokenService=De,this.headerName=ct}intercept(De,ct){const Et=De.url.toLowerCase();if("GET"===De.method||"HEAD"===De.method||Et.startsWith("http://")||Et.startsWith("https://"))return ct.handle(De);const Gt=this.tokenService.getToken();return null!==Gt&&!De.headers.has(this.headerName)&&(De=De.clone({headers:De.headers.set(this.headerName,Gt)})),ct.handle(De)}}return Fe.\u0275fac=function(De){return new(De||Fe)(m.LFG(ni),m.LFG(ut))},Fe.\u0275prov=m.Yz7({token:Fe,factory:Fe.\u0275fac}),Fe})(),ai=(()=>{class Fe{constructor(De,ct){this.backend=De,this.injector=ct,this.chain=null}handle(De){if(null===this.chain){const ct=this.injector.get(bt,[]);this.chain=ct.reduceRight((Et,Gt)=>new ri(Et,Gt),this.backend)}return this.chain.handle(De)}}return Fe.\u0275fac=function(De){return new(De||Fe)(m.LFG(ee),m.LFG(m.zs3))},Fe.\u0275prov=m.Yz7({token:Fe,factory:Fe.\u0275fac}),Fe})(),Y=(()=>{class Fe{static disable(){return{ngModule:Fe,providers:[{provide:dn,useClass:Wt}]}}static withOptions(De={}){return{ngModule:Fe,providers:[De.cookieName?{provide:Se,useValue:De.cookieName}:[],De.headerName?{provide:ut,useValue:De.headerName}:[]]}}}return Fe.\u0275fac=function(De){return new(De||Fe)},Fe.\u0275mod=m.oAB({type:Fe}),Fe.\u0275inj=m.cJS({providers:[dn,{provide:bt,useExisting:dn,multi:!0},{provide:ni,useClass:ki},{provide:Se,useValue:"XSRF-TOKEN"},{provide:ut,useValue:"X-XSRF-TOKEN"}]}),Fe})(),X=(()=>{class Fe{}return Fe.\u0275fac=function(De){return new(De||Fe)},Fe.\u0275mod=m.oAB({type:Fe}),Fe.\u0275inj=m.cJS({providers:[kt,{provide:G,useClass:ai},Tt,{provide:ee,useExisting:Tt}],imports:[Y.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),Fe})()},5e3:(N,U,C)=>{"use strict";C.d(U,{$8M:()=>vl,$Z:()=>Oh,AFp:()=>Ny,ALo:()=>Fx,AaK:()=>G,Akn:()=>Vs,AsE:()=>uf,BQk:()=>Cd,CHM:()=>er,CRH:()=>qx,CZH:()=>Df,CqO:()=>fl,D6c:()=>w2,DdM:()=>Sx,Dn7:()=>Ux,EJc:()=>Hy,EiD:()=>Zu,EpF:()=>Lc,F$t:()=>Io,F4k:()=>em,FYo:()=>uh,FiY:()=>Jc,G48:()=>c2,Gf:()=>jx,GfV:()=>Kn,GkF:()=>bs,Gpc:()=>ue,Gre:()=>sm,HOy:()=>pf,Hsn:()=>im,Ikx:()=>um,JOm:()=>Tl,JVY:()=>nh,Jf7:()=>hh,KtG:()=>pr,L6k:()=>Hm,LAX:()=>Vm,LFG:()=>so,LSH:()=>zd,Lbi:()=>By,Lck:()=>Ib,MAs:()=>On,MGl:()=>xd,MMx:()=>Tv,NdJ:()=>tc,O4$:()=>wi,OlP:()=>ca,Oqu:()=>df,PXZ:()=>a2,Q6J:()=>gl,QGY:()=>Pi,QP$:()=>qt,QbO:()=>Uy,Qsj:()=>ju,R0b:()=>Pl,RDi:()=>Gf,Rgc:()=>gm,SBq:()=>Wo,Sil:()=>Gy,Suo:()=>Wx,TTD:()=>qr,TgZ:()=>qo,Tol:()=>rf,Udp:()=>Sp,VKq:()=>Ax,W1O:()=>Qx,WFA:()=>f_,WLB:()=>Lx,XFs:()=>ai,Xpm:()=>Re,Xts:()=>nr,Y36:()=>t_,YKP:()=>vx,YNc:()=>fd,Yjl:()=>ci,Yz7:()=>nt,Z0I:()=>ei,ZZ4:()=>qv,_Bn:()=>Cx,_UZ:()=>Qh,_Vd:()=>Ku,_c5:()=>D2,_uU:()=>cf,aQg:()=>Jv,c2e:()=>Zy,cJS:()=>Lt,cg1:()=>ff,d8E:()=>_m,dDg:()=>Xy,dqk:()=>Et,eBb:()=>ah,eFA:()=>D1,ekj:()=>v_,eoX:()=>y1,f3M:()=>fc,g9A:()=>h1,h0i:()=>Op,hGG:()=>E2,hYB:()=>Ir,hij:()=>rm,iGM:()=>Kx,ifc:()=>ct,ip1:()=>Fy,jDz:()=>bx,kL8:()=>uv,kcU:()=>Ui,lG2:()=>It,lcZ:()=>Nx,lnq:()=>_f,lqb:()=>Qd,lri:()=>x1,mCW:()=>j_,n5z:()=>jc,n_E:()=>bf,oAB:()=>Dt,oJD:()=>$d,oxw:()=>qC,pB0:()=>x0,q3G:()=>Ua,qLn:()=>iu,qOj:()=>yp,qZA:()=>Ep,qzn:()=>Jl,rWj:()=>b1,s9C:()=>ic,sBO:()=>d2,sIi:()=>__,s_b:()=>Tf,soG:()=>Ef,tb:()=>m1,tp0:()=>Zd,uIk:()=>Vg,vHH:()=>de,vpe:()=>Fc,wAp:()=>_n,xi3:()=>Bx,xp6:()=>xh,ynx:()=>g_,z2F:()=>wf,z3N:()=>ll,zSh:()=>q_,zs3:()=>vr});var c=C(7579),m=C(727),e=C(9751),b=C(6451),M=C(3099);function k(s){for(let d in s)if(s[d]===k)return d;throw Error("Could not find renamed property on target object.")}function F(s,d){for(const _ in d)d.hasOwnProperty(_)&&!s.hasOwnProperty(_)&&(s[_]=d[_])}function G(s){if("string"==typeof s)return s;if(Array.isArray(s))return"["+s.map(G).join(", ")+"]";if(null==s)return""+s;if(s.overriddenName)return`${s.overriddenName}`;if(s.name)return`${s.name}`;const d=s.toString();if(null==d)return""+d;const _=d.indexOf("\n");return-1===_?d:d.substring(0,_)}function ee(s,d){return null==s||""===s?null===d?"":d:null==d||""===d?s:s+" "+d}const z=k({__forward_ref__:k});function ue(s){return s.__forward_ref__=ue,s.toString=function(){return G(this())},s}function ce(s){return ke(s)?s():s}function ke(s){return"function"==typeof s&&s.hasOwnProperty(z)&&s.__forward_ref__===ue}class de extends Error{constructor(d,_){super(function Ge(s,d){return`NG0${Math.abs(s)}${d?": "+d.trim():""}`}(d,_)),this.code=d}}function le(s){return"string"==typeof s?s:null==s?"":String(s)}function Te(s,d){throw new de(-201,!1)}function Wt(s,d){null==s&&function ye(s,d,_,g){throw new Error(`ASSERTION ERROR: ${s}`+(null==g?"":` [Expected=> ${_} ${g} ${d} <=Actual]`))}(d,s,null,"!=")}function nt(s){return{token:s.token,providedIn:s.providedIn||null,factory:s.factory,value:void 0}}function Lt(s){return{providers:s.providers||[],imports:s.imports||[]}}function Ai(s){return hi(s,ut)||hi(s,ki)}function ei(s){return null!==Ai(s)}function hi(s,d){return s.hasOwnProperty(d)?s[d]:null}function Se(s){return s&&(s.hasOwnProperty(ni)||s.hasOwnProperty(dn))?s[ni]:null}const ut=k({\u0275prov:k}),ni=k({\u0275inj:k}),ki=k({ngInjectableDef:k}),dn=k({ngInjectorDef:k});var ai=(()=>((ai=ai||{})[ai.Default=0]="Default",ai[ai.Host=1]="Host",ai[ai.Self=2]="Self",ai[ai.SkipSelf=4]="SkipSelf",ai[ai.Optional=8]="Optional",ai))();let ti;function Y(s){const d=ti;return ti=s,d}function X(s,d,_){const g=Ai(s);return g&&"root"==g.providedIn?void 0===g.value?g.value=g.factory():g.value:_&ai.Optional?null:void 0!==d?d:void Te(G(s))}function et(s){return{toString:s}.toString()}var Fe=(()=>((Fe=Fe||{})[Fe.OnPush=0]="OnPush",Fe[Fe.Default=1]="Default",Fe))(),ct=(()=>{return(s=ct||(ct={}))[s.Emulated=0]="Emulated",s[s.None=2]="None",s[s.ShadowDom=3]="ShadowDom",ct;var s})();const Et=(()=>"undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof global&&global||"undefined"!=typeof window&&window||"undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self)(),di={},zt=[],Bi=k({\u0275cmp:k}),xi=k({\u0275dir:k}),$n=k({\u0275pipe:k}),Hi=k({\u0275mod:k}),ht=k({\u0275fac:k}),it=k({__NG_ELEMENT_ID__:k});let Qe=0;function Re(s){return et(()=>{const _=!0===s.standalone,g={},v={type:s.type,providersResolver:null,decls:s.decls,vars:s.vars,factory:null,template:s.template||null,consts:s.consts||null,ngContentSelectors:s.ngContentSelectors,hostBindings:s.hostBindings||null,hostVars:s.hostVars||0,hostAttrs:s.hostAttrs||null,contentQueries:s.contentQueries||null,declaredInputs:g,inputs:null,outputs:null,exportAs:s.exportAs||null,onPush:s.changeDetection===Fe.OnPush,directiveDefs:null,pipeDefs:null,standalone:_,dependencies:_&&s.dependencies||null,getStandaloneInjector:null,selectors:s.selectors||zt,viewQuery:s.viewQuery||null,features:s.features||null,data:s.data||{},encapsulation:s.encapsulation||ct.Emulated,id:"c"+Qe++,styles:s.styles||zt,_:null,setInput:null,schemas:s.schemas||null,tView:null},y=s.dependencies,w=s.features;return v.inputs=Vi(s.inputs,g),v.outputs=Vi(s.outputs),w&&w.forEach(R=>R(v)),v.directiveDefs=y?()=>("function"==typeof y?y():y).map(Ie).filter(_t):null,v.pipeDefs=y?()=>("function"==typeof y?y():y).map(ot).filter(_t):null,v})}function Ie(s){return Ee(s)||pt(s)}function _t(s){return null!==s}function Dt(s){return et(()=>({type:s.type,bootstrap:s.bootstrap||zt,declarations:s.declarations||zt,imports:s.imports||zt,exports:s.exports||zt,transitiveCompileScopes:null,schemas:s.schemas||null,id:s.id||null}))}function Vi(s,d){if(null==s)return di;const _={};for(const g in s)if(s.hasOwnProperty(g)){let v=s[g],y=v;Array.isArray(v)&&(y=v[1],v=v[0]),_[v]=g,d&&(d[v]=y)}return _}const It=Re;function ci(s){return{type:s.type,name:s.name,factory:null,pure:!1!==s.pure,standalone:!0===s.standalone,onDestroy:s.type.prototype.ngOnDestroy||null}}function Ee(s){return s[Bi]||null}function pt(s){return s[xi]||null}function ot(s){return s[$n]||null}function qt(s){const d=Ee(s)||pt(s)||ot(s);return null!==d&&d.standalone}function un(s,d){const _=s[Hi]||null;if(!_&&!0===d)throw new Error(`Type ${G(s)} does not have '\u0275mod' property.`);return _}function Un(s){return Array.isArray(s)&&"object"==typeof s[1]}function Aa(s){return Array.isArray(s)&&!0===s[1]}function Fr(s){return 0!=(8&s.flags)}function Ts(s){return 2==(2&s.flags)}function Bo(s){return 1==(1&s.flags)}function Ka(s){return null!==s.template}function Nr(s){return 0!=(256&s[2])}function Uo(s,d){return s.hasOwnProperty(ht)?s[ht]:null}class ss{constructor(d,_,g){this.previousValue=d,this.currentValue=_,this.firstChange=g}isFirstChange(){return this.firstChange}}function qr(){return ls}function ls(s){return s.type.prototype.ngOnChanges&&(s.setInput=Mr),Js}function Js(){const s=zo(this),d=null==s?void 0:s.current;if(d){const _=s.previous;if(_===di)s.previous=d;else for(let g in d)_[g]=d[g];s.current=null,this.ngOnChanges(d)}}function Mr(s,d,_,g){const v=zo(s)||function Jr(s,d){return s[Ha]=d}(s,{previous:di,current:null}),y=v.current||(v.current={}),w=v.previous,R=this.declaredInputs[_],j=w[R];y[R]=new ss(j&&j.currentValue,d,w===di),s[g]=d}qr.ngInherit=!0;const Ha="__ngSimpleChanges__";function zo(s){return s[Ha]||null}function Hn(s){for(;Array.isArray(s);)s=s[0];return s}function ur(s,d){return Hn(d[s])}function Zo(s,d){return Hn(d[s.index])}function zr(s,d){return s.data[d]}function fa(s,d){return s[d]}function In(s,d){const _=d[s];return Un(_)?_:_[0]}function Oa(s){return 64==(64&s[2])}function to(s,d){return null==d?null:s[d]}function Ra(s){s[18]=0}function Hr(s,d){s[5]+=d;let _=s,g=s[3];for(;null!==g&&(1===d&&1===_[5]||-1===d&&0===_[5]);)g[5]+=d,_=g,g=g[3]}const on={lFrame:Zc(null),bindingsEnabled:!0};function Eo(){return on.bindingsEnabled}function Qt(){return on.lFrame.lView}function Tn(){return on.lFrame.tView}function er(s){return on.lFrame.contextLView=s,s[8]}function pr(s){return on.lFrame.contextLView=null,s}function Ma(){let s=te();for(;null!==s&&64===s.type;)s=s.parent;return s}function te(){return on.lFrame.currentTNode}function H(s,d){const _=on.lFrame;_.currentTNode=s,_.isParent=d}function Ce(){return on.lFrame.isParent}function Bt(){on.lFrame.isParent=!1}function Vn(){const s=on.lFrame;let d=s.bindingRootIndex;return-1===d&&(d=s.bindingRootIndex=s.tView.bindingStartIndex),d}function Ar(){return on.lFrame.bindingIndex}function zn(){return on.lFrame.bindingIndex++}function Xr(s){const d=on.lFrame,_=d.bindingIndex;return d.bindingIndex=d.bindingIndex+s,_}function cc(s,d){const _=on.lFrame;_.bindingIndex=_.bindingRootIndex=s,Zl(d)}function Zl(s){on.lFrame.currentDirectiveIndex=s}function Lr(s){const d=on.lFrame.currentDirectiveIndex;return-1===d?null:s[d]}function zs(){return on.lFrame.currentQueryIndex}function cs(s){on.lFrame.currentQueryIndex=s}function io(s){const d=s[1];return 2===d.type?d.declTNode:1===d.type?s[6]:null}function no(s,d,_){if(_&ai.SkipSelf){let v=d,y=s;for(;!(v=v.parent,null!==v||_&ai.Host||(v=io(y),null===v||(y=y[15],10&v.type))););if(null===v)return!1;d=v,s=y}const g=on.lFrame=Qs();return g.currentTNode=d,g.lView=s,!0}function hr(s){const d=Qs(),_=s[1];on.lFrame=d,d.currentTNode=_.firstChild,d.lView=s,d.tView=_,d.contextLView=s,d.bindingIndex=_.bindingStartIndex,d.inI18n=!1}function Qs(){const s=on.lFrame,d=null===s?null:s.child;return null===d?Zc(s):d}function Zc(s){const d={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:s,child:null,inI18n:!1};return null!==s&&(s.child=d),d}function Ss(){const s=on.lFrame;return on.lFrame=s.parent,s.currentTNode=null,s.lView=null,s}const K=Ss;function se(){const s=Ss();s.isParent=!0,s.tView=null,s.selectedIndex=-1,s.contextLView=null,s.elementDepthCount=0,s.currentDirectiveIndex=-1,s.currentNamespace=null,s.bindingRootIndex=-1,s.bindingIndex=-1,s.currentQueryIndex=0}function ze(){return on.lFrame.selectedIndex}function Pt(s){on.lFrame.selectedIndex=s}function Ht(){const s=on.lFrame;return zr(s.tView,s.selectedIndex)}function wi(){on.lFrame.currentNamespace="svg"}function Ui(){!function Wn(){on.lFrame.currentNamespace=null}()}function Gn(s,d){for(let _=d.directiveStart,g=d.directiveEnd;_=g)break}else d[j]<0&&(s[18]+=65536),(R>11>16&&(3&s[2])===d){s[2]+=2048;try{y.call(R)}finally{}}}else try{y.call(R)}finally{}}class As{constructor(d,_,g){this.factory=d,this.resolving=!1,this.canSeeViewProviders=_,this.injectImpl=g}}function Hc(s,d,_){let g=0;for(;g<_.length;){const v=_[g];if("number"==typeof v){if(0!==v)break;g++;const y=_[g++],w=_[g++],R=_[g++];s.setAttribute(d,w,R,y)}else{const y=v,w=_[++g];Hl(y)?s.setProperty(d,y,w):s.setAttribute(d,y,w),g++}}return g}function Vc(s){return 3===s||4===s||6===s}function Hl(s){return 64===s.charCodeAt(0)}function uc(s,d){if(null!==d&&0!==d.length)if(null===s||0===s.length)s=d.slice();else{let _=-1;for(let g=0;gd){w=y-1;break}}}for(;y>16}(s),g=d;for(;_>0;)g=g[15],_--;return g}let pc=!0;function Cl(s){const d=pc;return pc=s,d}let $e=0;const Mn={};function Di(s,d){const _=Ri(s,d);if(-1!==_)return _;const g=d[1];g.firstCreatePass&&(s.injectorIndex=d.length,Vl(g.data,s),Vl(d,null),Vl(g.blueprint,null));const v=Gl(s,d),y=s.injectorIndex;if(gu(v)){const w=mr(v),R=Xs(v,d),j=R[1].data;for(let ae=0;ae<8;ae++)d[y+ae]=R[w+ae]|j[w+ae]}return d[y+8]=v,y}function Vl(s,d){s.push(0,0,0,0,0,0,0,0,d)}function Ri(s,d){return-1===s.injectorIndex||s.parent&&s.parent.injectorIndex===s.injectorIndex||null===d[s.injectorIndex+8]?-1:s.injectorIndex}function Gl(s,d){if(s.parent&&-1!==s.parent.injectorIndex)return s.parent.injectorIndex;let _=0,g=null,v=d;for(;null!==v;){if(g=Pd(v),null===g)return-1;if(_++,v=v[15],-1!==g.injectorIndex)return g.injectorIndex|_<<16}return-1}function Vr(s,d,_){!function Ke(s,d,_){let g;"string"==typeof _?g=_.charCodeAt(0)||0:_.hasOwnProperty(it)&&(g=_[it]),null==g&&(g=_[it]=$e++);const v=255&g;d.data[s+(v>>5)]|=1<=0?255&d:fu:d}(_);if("function"==typeof y){if(!no(d,s,g))return g&ai.Host?ds(v,0,g):Ls(d,_,g,v);try{const w=y(g);if(null!=w||g&ai.Optional)return w;Te()}finally{K()}}else if("number"==typeof y){let w=null,R=Ri(s,d),j=-1,ae=g&ai.Host?d[16][6]:null;for((-1===R||g&ai.SkipSelf)&&(j=-1===R?Gl(s,d):d[R+8],-1!==j&&ks(g,!1)?(w=d[1],R=mr(j),d=Xs(j,d)):R=-1);-1!==R;){const be=d[1];if(mc(y,R,be.data)){const Ze=Os(R,d,_,w,g,ae);if(Ze!==Mn)return Ze}j=d[R+8],-1!==j&&ks(g,d[1].data[R+8]===ae)&&mc(y,R,d)?(w=be,R=mr(j),d=Xs(j,d)):R=-1}}return v}function Os(s,d,_,g,v,y){const w=d[1],R=w.data[s+8],be=la(R,w,_,null==g?Ts(R)&&pc:g!=w&&0!=(3&R.type),v&ai.Host&&y===R);return null!==be?es(d,w,be,R):Mn}function la(s,d,_,g,v){const y=s.providerIndexes,w=d.data,R=1048575&y,j=s.directiveStart,be=y>>20,Ct=v?R+be:s.directiveEnd;for(let Ot=g?R:R+be;Ot=j&&Jt.type===_)return Ot}if(v){const Ot=w[j];if(Ot&&Ka(Ot)&&Ot.type===_)return j}return null}function es(s,d,_,g){let v=s[_];const y=d.data;if(function dc(s){return s instanceof As}(v)){const w=v;w.resolving&&function yt(s,d){const _=d?`. Dependency path: ${d.join(" > ")} > ${s}`:"";throw new de(-200,`Circular dependency in DI detected for ${s}${_}`)}(function Ne(s){return"function"==typeof s?s.name||s.toString():"object"==typeof s&&null!=s&&"function"==typeof s.type?s.type.name||s.type.toString():le(s)}(y[_]));const R=Cl(w.canSeeViewProviders);w.resolving=!0;const j=w.injectImpl?Y(w.injectImpl):null;no(s,g,ai.Default);try{v=s[_]=w.factory(void 0,y,s,g),d.firstCreatePass&&_>=g.directiveStart&&function ka(s,d,_){const{ngOnChanges:g,ngOnInit:v,ngDoCheck:y}=d.type.prototype;if(g){const w=ls(d);(_.preOrderHooks||(_.preOrderHooks=[])).push(s,w),(_.preOrderCheckHooks||(_.preOrderCheckHooks=[])).push(s,w)}v&&(_.preOrderHooks||(_.preOrderHooks=[])).push(0-s,v),y&&((_.preOrderHooks||(_.preOrderHooks=[])).push(s,y),(_.preOrderCheckHooks||(_.preOrderCheckHooks=[])).push(s,y))}(_,y[_],d)}finally{null!==j&&Y(j),Cl(R),w.resolving=!1,K()}}return v}function mc(s,d,_){return!!(_[d+(s>>5)]&1<{const d=s.prototype.constructor,_=d[ht]||Id(d),g=Object.prototype;let v=Object.getPrototypeOf(s.prototype).constructor;for(;v&&v!==g;){const y=v[ht]||Id(v);if(y&&y!==_)return y;v=Object.getPrototypeOf(v)}return y=>new y})}function Id(s){return ke(s)?()=>{const d=Id(ce(s));return d&&d()}:Uo(s)}function Pd(s){const d=s[1],_=d.type;return 2===_?d.declTNode:1===_?s[6]:null}function vl(s){return function Od(s,d){if("class"===d)return s.classes;if("style"===d)return s.styles;const _=s.attrs;if(_){const g=_.length;let v=0;for(;v{const g=function rn(s){return function(..._){if(s){const g=s(..._);for(const v in g)this[v]=g[v]}}}(d);function v(...y){if(this instanceof v)return g.apply(this,y),this;const w=new v(...y);return R.annotation=w,R;function R(j,ae,be){const Ze=j.hasOwnProperty(us)?j[us]:Object.defineProperty(j,us,{value:[]})[us];for(;Ze.length<=be;)Ze.push(null);return(Ze[be]=Ze[be]||[]).push(w),j}}return _&&(v.prototype=Object.create(_.prototype)),v.prototype.ngMetadataName=s,v.annotationCls=v,v})}class ca{constructor(d,_){this._desc=d,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof _?this.__NG_ELEMENT_ID__=_:void 0!==_&&(this.\u0275prov=nt({token:this,providedIn:_.providedIn||"root",factory:_.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Yo(s,d){void 0===d&&(d=s);for(let _=0;_Array.isArray(_)?hs(_,d):d(_))}function Nd(s,d,_){d>=s.length?s.push(_):s.splice(d,0,_)}function ts(s,d){return d>=s.length-1?s.pop():s.splice(d,1)[0]}function Ho(s,d){const _=[];for(let g=0;g=0?s[1|g]=_:(g=~g,function P(s,d,_,g){let v=s.length;if(v==d)s.push(_,g);else if(1===v)s.push(g,s[0]),s[0]=_;else{for(v--,s.push(s[v-1],s[v]);v>d;)s[v]=s[v-2],v--;s[d]=_,s[d+1]=g}}(s,g,d,_)),g}function ve(s,d){const _=Be(s,d);if(_>=0)return s[1|_]}function Be(s,d){return function gi(s,d,_){let g=0,v=s.length>>_;for(;v!==g;){const y=g+(v-g>>1),w=s[y<<_];if(d===w)return y<<_;w>d?v=y:g=y+1}return~(v<<_)}(s,d,1)}const aa={},da="__NG_DI_FLAG__",bl="ngTempTokenPath",Ud=/\n/gm,gc="__source";let Gr;function nl(s){const d=Gr;return Gr=s,d}function L_(s,d=ai.Default){if(void 0===Gr)throw new de(-203,!1);return null===Gr?X(s,void 0,d):Gr.get(s,d&ai.Optional?null:void 0,d)}function so(s,d=ai.Default){return(function Je(){return ti}()||L_)(ce(s),d)}function fc(s,d=ai.Default){return"number"!=typeof d&&(d=0|(d.optional&&8)|(d.host&&1)|(d.self&&2)|(d.skipSelf&&4)),so(s,d)}function bu(s){const d=[];for(let _=0;_((Tl=Tl||{})[Tl.Important=1]="Important",Tl[Tl.DashCase=2]="DashCase",Tl))();const Mm=new Map;let u0=0;const Su="__ngContext__";function fr(s,d){Un(d)?(s[Su]=d[20],function p0(s){Mm.set(s[20],s)}(d)):s[Su]=d}function gs(s,d){return undefined(s,d)}function F_(s){const d=s[3];return Aa(d)?d[3]:d}function Sm(s){return Lm(s[13])}function Am(s){return Lm(s[4])}function Lm(s){for(;null!==s&&!Aa(s);)s=s[4];return s}function Gd(s,d,_,g,v){if(null!=g){let y,w=!1;Aa(g)?y=g:Un(g)&&(w=!0,g=g[0]);const R=Hn(g);0===s&&null!==_?null==v?jd(d,_,R):ed(d,_,R,v||null,!0):1===s&&null!==_?ed(d,_,R,v||null,!0):2===s?function $p(s,d,_){const g=Au(s,d);g&&function Yf(s,d,_,g){s.removeChild(d,_,g)}(s,g,d,_)}(d,R,w):3===s&&d.destroyNode(R),null!=y&&function Fm(s,d,_,g,v){const y=_[7];y!==Hn(_)&&Gd(d,s,g,y,v);for(let R=10;R<_.length;R++){const j=_[R];ku(j[1],j,s,d,g,y)}}(d,s,y,_,v)}}function N_(s,d,_){return s.createElement(d,_)}function B_(s,d){const _=s[9],g=_.indexOf(d),v=d[3];512&d[2]&&(d[2]&=-513,Hr(v,-1)),_.splice(g,1)}function Xc(s,d){if(s.length<=10)return;const _=10+d,g=s[_];if(g){const v=g[17];null!==v&&v!==s&&B_(v,g),d>0&&(s[_-1][4]=g[4]);const y=ts(s,10+d);!function Kd(s,d){ku(s,d,d[11],2,null,null),d[0]=null,d[6]=null}(g[1],g);const w=y[19];null!==w&&w.detachView(y[1]),g[3]=null,g[4]=null,g[2]&=-65}return g}function km(s,d){if(!(128&d[2])){const _=d[11];_.destroyNode&&ku(s,d,_,3,null,null),function Bf(s){let d=s[13];if(!d)return U_(s[1],s);for(;d;){let _=null;if(Un(d))_=d[13];else{const g=d[10];g&&(_=g)}if(!_){for(;d&&!d[4]&&d!==s;)Un(d)&&U_(d[1],d),d=d[3];null===d&&(d=s),Un(d)&&U_(d[1],d),_=d&&d[4]}d=_}}(d)}}function U_(s,d){if(!(128&d[2])){d[2]&=-65,d[2]|=128,function Zf(s,d){let _;if(null!=s&&null!=(_=s.destroyHooks))for(let g=0;g<_.length;g+=2){const v=d[_[g]];if(!(v instanceof As)){const y=_[g+1];if(Array.isArray(y))for(let w=0;w=0?g[v=ae]():g[v=-ae].unsubscribe(),y+=2}else{const w=g[v=_[y+1]];_[y].call(w)}if(null!==g){for(let y=v+1;ys,createScript:s=>s,createScriptURL:s=>s})}catch(s){}return Iu}())||void 0===d?void 0:d.createHTML(s))||s}function Gf(s){Pu=s}function G_(s){var d;return(null===(d=function ih(){if(void 0===V_&&(V_=null,Et.trustedTypes))try{V_=Et.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:s=>s,createScript:s=>s,createScriptURL:s=>s})}catch(s){}return V_}())||void 0===d?void 0:d.createHTML(s))||s}class Zs{constructor(d){this.changingThisBreaksApplicationSecurity=d}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class qd extends Zs{getTypeName(){return"HTML"}}class K_ extends Zs{getTypeName(){return"Style"}}class Zm extends Zs{getTypeName(){return"Script"}}class Kf extends Zs{getTypeName(){return"URL"}}class ql extends Zs{getTypeName(){return"ResourceURL"}}function ll(s){return s instanceof Zs?s.changingThisBreaksApplicationSecurity:s}function Jl(s,d){const _=function Ym(s){return s instanceof Zs&&s.getTypeName()||null}(s);if(null!=_&&_!==d){if("ResourceURL"===_&&"URL"===d)return!0;throw new Error(`Required a safe ${d}, got a ${_} (see https://g.co/ng/security#xss)`)}return _===d}function nh(s){return new qd(s)}function Hm(s){return new K_(s)}function ah(s){return new Zm(s)}function Vm(s){return new Kf(s)}function x0(s){return new ql(s)}class jf{constructor(d){this.inertDocumentHelper=d}getInertBodyElement(d){d=""+d;try{const _=(new window.DOMParser).parseFromString(yc(d),"text/html").body;return null===_?this.inertDocumentHelper.getInertBodyElement(d):(_.removeChild(_.firstChild),_)}catch(_){return null}}}class Wf{constructor(d){if(this.defaultDoc=d,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const _=this.inertDocument.createElement("html");this.inertDocument.appendChild(_);const g=this.inertDocument.createElement("body");_.appendChild(g)}}getInertBodyElement(d){const _=this.inertDocument.createElement("template");if("content"in _)return _.innerHTML=yc(d),_;const g=this.inertDocument.createElement("body");return g.innerHTML=yc(d),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(g),g}stripCustomNsAttrs(d){const _=d.attributes;for(let v=_.length-1;0"),!0}endElement(d){const _=d.nodeName.toLowerCase();rh.hasOwnProperty(_)&&!El.hasOwnProperty(_)&&(this.buf.push(""))}chars(d){this.buf.push(sh(d))}checkClobberedElement(d,_){if(_&&(d.compareDocumentPosition(_)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${d.outerHTML}`);return _}}const b0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,X1=/([^\#-~ |!])/g;function sh(s){return s.replace(/&/g,"&").replace(b0,function(d){return"&#"+(1024*(d.charCodeAt(0)-55296)+(d.charCodeAt(1)-56320)+65536)+";"}).replace(X1,function(d){return"&#"+d.charCodeAt(0)+";"}).replace(//g,">")}let Uu;function Zu(s,d){let _=null;try{Uu=Uu||function Ru(s){const d=new Wf(s);return function Fu(){try{return!!(new window.DOMParser).parseFromString(yc(""),"text/html")}catch(s){return!1}}()?new jf(d):d}(s);let g=d?String(d):"";_=Uu.getInertBodyElement(g);let v=5,y=g;do{if(0===v)throw new Error("Failed to sanitize html because the input is unstable");v--,g=y,y=_.innerHTML,_=Uu.getInertBodyElement(g)}while(g!==y);return yc((new Jf).sanitizeChildren(Jd(_)||_))}finally{if(_){const g=Jd(_)||_;for(;g.firstChild;)g.removeChild(g.firstChild)}}}function Jd(s){return"content"in s&&function W_(s){return s.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===s.nodeName}(s)?s.content:null}var Ua=(()=>((Ua=Ua||{})[Ua.NONE=0]="NONE",Ua[Ua.HTML=1]="HTML",Ua[Ua.STYLE=2]="STYLE",Ua[Ua.SCRIPT=3]="SCRIPT",Ua[Ua.URL=4]="URL",Ua[Ua.RESOURCE_URL=5]="RESOURCE_URL",Ua))();function $d(s){const d=Vu();return d?G_(d.sanitize(Ua.HTML,s)||""):Jl(s,"HTML")?G_(ll(s)):Zu(function th(){return void 0!==Pu?Pu:"undefined"!=typeof document?document:void 0}(),le(s))}function zd(s){const d=Vu();return d?d.sanitize(Ua.URL,s)||"":Jl(s,"URL")?ll(s):j_(le(s))}function Vu(){const s=Qt();return s&&s[12]}const nr=new ca("ENVIRONMENT_INITIALIZER"),Ko=new ca("INJECTOR",-1),jo=new ca("INJECTOR_DEF_TYPES");class $m{get(d,_=aa){if(_===aa){const g=new Error(`NullInjectorError: No provider for ${G(d)}!`);throw g.name="NullInjectorError",g}return _}}function Ao(...s){return{\u0275providers:Lo(0,s)}}function Lo(s,...d){const _=[],g=new Set;let v;return hs(d,y=>{const w=y;co(w,_,[],g)&&(v||(v=[]),v.push(w))}),void 0!==v&&zm(v,_),_}function zm(s,d){for(let _=0;_{d.push(y)})}}function co(s,d,_,g){if(!(s=ce(s)))return!1;let v=null,y=Se(s);const w=!y&&Ee(s);if(y||w){if(w&&!w.standalone)return!1;v=s}else{const j=s.ngModule;if(y=Se(j),!y)return!1;v=j}const R=g.has(v);if(w){if(R)return!1;if(g.add(v),w.dependencies){const j="function"==typeof w.dependencies?w.dependencies():w.dependencies;for(const ae of j)co(ae,d,_,g)}}else{if(!y)return!1;{if(null!=y.imports&&!R){let ae;g.add(v);try{hs(y.imports,be=>{co(be,d,_,g)&&(ae||(ae=[]),ae.push(be))})}finally{}void 0!==ae&&zm(ae,d)}if(!R){const ae=Uo(v)||(()=>new v);d.push({provide:v,useFactory:ae,deps:zt},{provide:jo,useValue:v,multi:!0},{provide:nr,useValue:()=>so(v),multi:!0})}const j=y.providers;null==j||R||hs(j,be=>{d.push(be)})}}return v!==s&&void 0!==s.providers}const Qf=k({provide:String,useValue:k});function ar(s){return null!==s&&"object"==typeof s&&Qf in s}function Ja(s){return"function"==typeof s}const q_=new ca("Set Injector scope."),J_={},lh={};let $_;function z_(){return void 0===$_&&($_=new $m),$_}class Qd{}class va extends Qd{constructor(d,_,g,v){super(),this.parent=_,this.source=g,this.scopes=v,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,dh(d,w=>this.processProvider(w)),this.records.set(Ko,Gu(void 0,this)),v.has("environment")&&this.records.set(Qd,Gu(void 0,this));const y=this.records.get(q_);null!=y&&"string"==typeof y.value&&this.scopes.add(y.value),this.injectorDefTypes=new Set(this.get(jo.multi,zt,ai.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const d of this._ngOnDestroyHooks)d.ngOnDestroy();for(const d of this._onDestroyHooks)d()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(d){this._onDestroyHooks.push(d)}runInContext(d){this.assertNotDestroyed();const _=nl(this),g=Y(void 0);try{return d()}finally{nl(_),Y(g)}}get(d,_=aa,g=ai.Default){this.assertNotDestroyed();const v=nl(this),y=Y(void 0);try{if(!(g&ai.SkipSelf)){let R=this.records.get(d);if(void 0===R){const j=function Dc(s){return"function"==typeof s||"object"==typeof s&&s instanceof ca}(d)&&Ai(d);R=j&&this.injectableDefInScope(j)?Gu(Q_(d),J_):null,this.records.set(d,R)}if(null!=R)return this.hydrate(d,R)}return(g&ai.Self?z_():this.parent).get(d,_=g&ai.Optional&&_===aa?null:_)}catch(w){if("NullInjectorError"===w.name){if((w[bl]=w[bl]||[]).unshift(G(d)),v)throw w;return function yu(s,d,_,g){const v=s[bl];throw d[gc]&&v.unshift(d[gc]),s.message=function Up(s,d,_,g=null){s=s&&"\n"===s.charAt(0)&&"\u0275"==s.charAt(1)?s.slice(2):s;let v=G(d);if(Array.isArray(d))v=d.map(G).join(" -> ");else if("object"==typeof d){let y=[];for(let w in d)if(d.hasOwnProperty(w)){let R=d[w];y.push(w+":"+("string"==typeof R?JSON.stringify(R):G(R)))}v=`{${y.join(", ")}}`}return`${_}${g?"("+g+")":""}[${v}]: ${s.replace(Ud,"\n ")}`}("\n"+s.message,v,_,g),s.ngTokenPath=v,s[bl]=null,s}(w,d,"R3InjectorError",this.source)}throw w}finally{Y(y),nl(v)}}resolveInjectorInitializers(){const d=nl(this),_=Y(void 0);try{const g=this.get(nr.multi,zt,ai.Self);for(const v of g)v()}finally{nl(d),Y(_)}}toString(){const d=[],_=this.records;for(const g of _.keys())d.push(G(g));return`R3Injector[${d.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new de(205,!1)}processProvider(d){let _=Ja(d=ce(d))?d:ce(d&&d.provide);const g=function T0(s){return ar(s)?Gu(void 0,s.useValue):Gu(tC(s),J_)}(d);if(Ja(d)||!0!==d.multi)this.records.get(_);else{let v=this.records.get(_);v||(v=Gu(void 0,J_,!0),v.factory=()=>bu(v.multi),this.records.set(_,v)),_=d,v.multi.push(d)}this.records.set(_,g)}hydrate(d,_){return _.value===J_&&(_.value=lh,_.value=_.factory()),"object"==typeof _.value&&_.value&&function Xm(s){return null!==s&&"object"==typeof s&&"function"==typeof s.ngOnDestroy}(_.value)&&this._ngOnDestroyHooks.add(_.value),_.value}injectableDefInScope(d){if(!d.providedIn)return!1;const _=ce(d.providedIn);return"string"==typeof _?"any"===_||this.scopes.has(_):this.injectorDefTypes.has(_)}}function Q_(s){const d=Ai(s),_=null!==d?d.factory:Uo(s);if(null!==_)return _;if(s instanceof ca)throw new de(204,!1);if(s instanceof Function)return function eC(s){const d=s.length;if(d>0)throw Ho(d,"?"),new de(204,!1);const _=function ne(s){const d=s&&(s[ut]||s[ki]);if(d){const _=function Tt(s){if(s.hasOwnProperty("name"))return s.name;const d=(""+s).match(/^function\s*([^\s(]+)/);return null===d?"":d[1]}(s);return console.warn(`DEPRECATED: DI is instantiating a token "${_}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${_}" class.`),d}return null}(s);return null!==_?()=>_.factory(s):()=>new s}(s);throw new de(204,!1)}function tC(s,d,_){let g;if(Ja(s)){const v=ce(s);return Uo(v)||Q_(v)}if(ar(s))g=()=>ce(s.useValue);else if(function Qm(s){return!(!s||!s.useFactory)}(s))g=()=>s.useFactory(...bu(s.deps||[]));else if(function Cr(s){return!(!s||!s.useExisting)}(s))g=()=>so(ce(s.useExisting));else{const v=ce(s&&(s.useClass||s.provide));if(!function M0(s){return!!s.deps}(s))return Uo(v)||Q_(v);g=()=>new v(...bu(s.deps))}return g}function Gu(s,d,_=!1){return{factory:s,value:d,multi:_?[]:void 0}}function ch(s){return!!s.\u0275providers}function dh(s,d){for(const _ of s)Array.isArray(_)?dh(_,d):ch(_)?dh(_.\u0275providers,d):d(_)}class cl{}class D0{resolveComponentFactory(d){throw function eg(s){const d=Error(`No component factory found for ${G(s)}. Did you add it to @NgModule.entryComponents?`);return d.ngComponent=s,d}(d)}}let Ku=(()=>{class s{}return s.NULL=new D0,s})();function tg(){return nd(Ma(),Qt())}function nd(s,d){return new Wo(Zo(s,d))}let Wo=(()=>{class s{constructor(_){this.nativeElement=_}}return s.__NG_ELEMENT_ID__=tg,s})();function wl(s){return s instanceof Wo?s.nativeElement:s}class uh{}let ju=(()=>{class s{}return s.__NG_ELEMENT_ID__=()=>function E0(){const s=Qt(),_=In(Ma().index,s);return(Un(_)?_:s)[11]}(),s})(),Wu=(()=>{class s{}return s.\u0275prov=nt({token:s,providedIn:"root",factory:()=>null}),s})();class Kn{constructor(d){this.full=d,this.major=d.split(".")[0],this.minor=d.split(".")[1],this.patch=d.split(".").slice(2).join(".")}}const iC=new Kn("14.2.12"),qu={};function tu(s){return s.ngOriginalError}class iu{constructor(){this._console=console}handleError(d){const _=this._findOriginalError(d);this._console.error("ERROR",d),_&&this._console.error("ORIGINAL ERROR",_)}_findOriginalError(d){let _=d&&tu(d);for(;_&&tu(_);)_=tu(_);return _||null}}function hh(s){return s.ownerDocument.defaultView}function Ys(s){return s instanceof Function?s():s}function tp(s,d,_){let g=s.length;for(;;){const v=s.indexOf(d,_);if(-1===v)return v;if(0===v||s.charCodeAt(v-1)<=32){const y=d.length;if(v+y===g||s.charCodeAt(v+y)<=32)return v}_=v+1}}const ng="ng-template";function ag(s,d,_){let g=0;for(;gy?"":v[Ze+1].toLowerCase();const Ot=8&g?Ct:null;if(Ot&&-1!==tp(Ot,ae,0)||2&g&&ae!==Ct){if(as(g))return!1;w=!0}}}}else{if(!w&&!as(g)&&!as(j))return!1;if(w&&as(j))continue;w=!1,g=j|1&g}}return as(g)||w}function as(s){return 0==(1&s)}function mh(s,d,_,g){if(null===d)return-1;let v=0;if(g||!_){let y=!1;for(;v-1)for(_++;_0?'="'+R+'"':"")+"]"}else 8&g?v+="."+w:4&g&&(v+=" "+w);else""!==v&&!as(w)&&(d+=vh(y,v),v=""),g=w,y=y||!as(g);_++}return""!==v&&(d+=vh(y,v)),d}const Ln={};function xh(s){bh(Tn(),Qt(),ze()+s,!1)}function bh(s,d,_,g){if(!g)if(3==(3&d[2])){const y=s.preOrderCheckHooks;null!==y&&Qn(d,y,_)}else{const y=s.preOrderHooks;null!==y&&go(d,y,0,_)}Pt(_)}function yh(s,d=null,_=null,g){const v=Hs(s,d,_,g);return v.resolveInjectorInitializers(),v}function Hs(s,d=null,_=null,g,v=new Set){const y=[_||zt,Ao(s)];return g=g||("object"==typeof s?void 0:G(s)),new va(y,d||z_(),g||null,v)}let vr=(()=>{class s{static create(_,g){var v;if(Array.isArray(_))return yh({name:""},g,_,"");{const y=null!==(v=_.name)&&void 0!==v?v:"";return yh({name:y},_.parent,_.providers,y)}}}return s.THROW_IF_NOT_FOUND=aa,s.NULL=new $m,s.\u0275prov=nt({token:s,providedIn:"any",factory:()=>so(Ko)}),s.__NG_ELEMENT_ID__=-1,s})();function t_(s,d=ai.Default){const _=Qt();return null===_?so(s,d):Kl(Ma(),_,ce(s),d)}function Oh(){throw new Error("invalid")}function rp(s,d){return s<<17|d<<2}function ul(s){return s>>17&32767}function kh(s){return 2|s}function wc(s){return(131068&s)>>2}function ou(s,d){return-131069&s|d<<2}function yg(s){return 1|s}function xC(s,d){const _=s.contentQueries;if(null!==_)for(let g=0;g<_.length;g+=2){const v=_[g],y=_[g+1];if(-1!==y){const w=s.data[y];cs(v),w.contentQueries(2,d[y],y)}}}function cp(s,d,_,g,v,y,w,R,j,ae,be){const Ze=d.blueprint.slice();return Ze[0]=v,Ze[2]=76|g,(null!==be||s&&1024&s[2])&&(Ze[2]|=1024),Ra(Ze),Ze[3]=Ze[15]=s,Ze[8]=_,Ze[10]=w||s&&s[10],Ze[11]=R||s&&s[11],Ze[12]=j||s&&s[12]||null,Ze[9]=ae||s&&s[9]||null,Ze[6]=y,Ze[20]=function _0(){return u0++}(),Ze[21]=be,Ze[16]=2==d.type?s[16]:Ze,Ze}function ud(s,d,_,g,v){let y=s.data[d];if(null===y)y=function yC(s,d,_,g,v){const y=te(),w=Ce(),j=s.data[d]=function up(s,d,_,g,v,y){return{type:_,index:g,insertBeforeIndex:null,injectorIndex:d?d.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:v,attrs:y,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:d,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,w?y:y&&y.parent,_,d,g,v);return null===s.firstChild&&(s.firstChild=j),null!==y&&(w?null==y.child&&null!==j.parent&&(y.child=j):null===y.next&&(y.next=j)),j}(s,d,_,g,v),function Ed(){return on.lFrame.inI18n}()&&(y.flags|=64);else if(64&y.type){y.type=_,y.value=g,y.attrs=v;const w=function q(){const s=on.lFrame,d=s.currentTNode;return s.isParent?d:d.parent}();y.injectorIndex=null===w?-1:w.injectorIndex}return H(y,!0),y}function _d(s,d,_,g){if(0===_)return-1;const v=d.length;for(let y=0;y<_;y++)d.push(g),s.blueprint.push(g),s.data.push(null);return v}function n_(s,d,_){hr(d);try{const g=s.viewQuery;null!==g&&gp(1,g,_);const v=s.template;null!==v&&Nh(s,d,v,1,_),s.firstCreatePass&&(s.firstCreatePass=!1),s.staticContentQueries&&xC(s,d),s.staticViewQueries&&gp(2,s.viewQuery,_);const y=s.components;null!==y&&function bC(s,d){for(let _=0;_22&&bh(s,d,22,!1),_(g,v)}finally{Pt(y)}}function Lg(s,d,_){if(Fr(d)){const v=d.directiveEnd;for(let y=d.directiveStart;y0;){const _=s[--d];if("number"==typeof _&&_<0)return _}return 0})(R)!=j&&R.push(j),R.push(g,v,w)}}function Ig(s,d){null!==s.hostBindings&&s.hostBindings(1,d)}function hp(s,d){d.flags|=2,(s.components||(s.components=[])).push(d.index)}function Pg(s,d,_){if(_){if(d.exportAs)for(let g=0;g0&&s_(_)}}function s_(s){for(let g=Sm(s);null!==g;g=Am(g))for(let v=10;v0&&s_(y)}const _=s[1].components;if(null!==_)for(let g=0;g<_.length;g++){const v=In(_[g],s);Oa(v)&&v[5]>0&&s_(v)}}function OC(s,d){const _=In(d,s),g=_[1];(function V0(s,d){for(let _=d.length;_-1&&(Xc(d,g),ts(_,g))}this._attachedToViewContainer=!1}km(this._lView[1],this._lView)}onDestroy(d){Bh(this._lView[1],this._lView,null,d)}markForCheck(){l_(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){cu(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new de(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function f0(s,d){ku(s,d,d[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(d){if(this._attachedToViewContainer)throw new de(902,!1);this._appRef=d}}class Gh extends pl{constructor(d){super(d),this._view=d}detectChanges(){const d=this._view;cu(d[1],d,d[8],!1)}checkNoChanges(){}get context(){return null}}class c_ extends Ku{constructor(d){super(),this.ngModule=d}resolveComponentFactory(d){const _=Ee(d);return new xp(_,this.ngModule)}}function d_(s){const d=[];for(let _ in s)s.hasOwnProperty(_)&&d.push({propName:s[_],templateName:_});return d}class PC{constructor(d,_){this.injector=d,this.parentInjector=_}get(d,_,g){const v=this.injector.get(d,qu,g);return v!==qu||_===qu?v:this.parentInjector.get(d,_,g)}}class xp extends cl{constructor(d,_){super(),this.componentDef=d,this.ngModule=_,this.componentType=d.type,this.selector=function lg(s){return s.map(sg).join(",")}(d.selectors),this.ngContentSelectors=d.ngContentSelectors?d.ngContentSelectors:[],this.isBoundToModule=!!_}get inputs(){return d_(this.componentDef.inputs)}get outputs(){return d_(this.componentDef.outputs)}create(d,_,g,v){let y=(v=v||this.ngModule)instanceof Qd?v:null==v?void 0:v.injector;y&&null!==this.componentDef.getStandaloneInjector&&(y=this.componentDef.getStandaloneInjector(y)||y);const w=y?new PC(d,y):d,R=w.get(uh,null);if(null===R)throw new de(407,!1);const j=w.get(Wu,null),ae=R.createRenderer(null,this.componentDef),be=this.componentDef.selectors[0][0]||"div",Ze=g?function Ql(s,d,_){return s.selectRootElement(d,_===ct.ShadowDom)}(ae,g,this.componentDef.encapsulation):N_(ae,be,function IC(s){const d=s.toLowerCase();return"svg"===d?"svg":"math"===d?"math":null}(be)),Ct=this.componentDef.onPush?288:272,Ot=lu(0,null,null,1,0,null,null,null,null,null),Jt=cp(null,Ot,null,Ct,null,null,R,ae,j,w,null);let Ci,Si;hr(Jt);try{const Ji=function bp(s,d,_,g,v,y){const w=_[1];_[22]=s;const j=ud(w,22,2,"#host",null),ae=j.mergedAttrs=d.hostAttrs;null!==ae&&(Cp(j,ae,!0),null!==s&&(Hc(v,s,ae),null!==j.classes&&eh(v,s,j.classes),null!==j.styles&&Xp(v,s,j.styles)));const be=g.createRenderer(s,d),Ze=cp(_,o_(d),null,d.onPush?32:16,_[22],j,g,be,y||null,null,null);return w.firstCreatePass&&(Vr(Di(j,_),w,d.type),hp(w,j),AC(j,_.length,1)),Yh(_,Ze),_[22]=Ze}(Ze,this.componentDef,Jt,R,ae);if(Ze)if(g)Hc(ae,Ze,["ng-version",iC.full]);else{const{attrs:pn,classes:li}=function cg(s){const d=[],_=[];let g=1,v=2;for(;g0&&eh(ae,Ze,li.join(" "))}if(Si=zr(Ot,22),void 0!==_){const pn=Si.projection=[];for(let li=0;li=0;g--){const v=s[g];v.hostVars=d+=v.hostVars,v.hostAttrs=uc(v.hostAttrs,_=uc(_,v.hostAttrs))}}(g)}function Zg(s){return s===di?{}:s===zt?[]:s}function Yg(s,d){const _=s.viewQuery;s.viewQuery=_?(g,v)=>{d(g,v),_(g,v)}:d}function W0(s,d){const _=s.contentQueries;s.contentQueries=_?(g,v,y)=>{d(g,v,y),_(g,v,y)}:d}function FC(s,d){const _=s.hostBindings;s.hostBindings=_?(g,v)=>{d(g,v),_(g,v)}:d}let u_=null;function du(){if(!u_){const s=Et.Symbol;if(s&&s.iterator)u_=s.iterator;else{const d=Object.getOwnPropertyNames(Map.prototype);for(let _=0;_R(Hn(ha[g.index])):g.index;let vn=null;if(!R&&j&&(vn=function jg(s,d,_,g){const v=s.cleanup;if(null!=v)for(let y=0;yj?R[j]:null}"string"==typeof w&&(y+=2)}return null}(s,d,v,g.index)),null!==vn)(vn.__ngLastListenerFn__||vn).__ngNextListenerFn__=y,vn.__ngLastListenerFn__=y,Ot=!1;else{y=tm(g,d,Ze,y,!1);const ha=_.listen(Ji,v,y);Ct.push(y,ha),be&&be.push(v,li,pn,pn+1)}}else y=tm(g,d,Ze,y,!1);const Jt=g.outputs;let Ci;if(Ot&&null!==Jt&&(Ci=Jt[v])){const Si=Ci.length;if(Si)for(let Ji=0;Ji0;)d=d[15],s--;return d}(s,on.lFrame.contextLView))[8]}(s)}function C_(s,d){let _=null;const g=function gh(s){const d=s.attrs;if(null!=d){const _=d.indexOf(5);if(0==(1&_))return d[_+1]}return null}(s);for(let v=0;v=0}const pi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Al(s){return s.substring(pi.key,pi.keyEnd)}function kn(s){return s.substring(pi.value,pi.valueEnd)}function Cn(s,d){const _=pi.textEnd;return _===d?-1:(d=pi.keyEnd=function Xg(s,d,_){for(;d<_&&s.charCodeAt(d)>32;)d++;return d}(s,pi.key=d,_),yd(s,d,_))}function bd(s,d){const _=pi.textEnd;let g=pi.key=yd(s,d,_);return _===g?-1:(g=pi.keyEnd=function ef(s,d,_){let g;for(;d<_&&(45===(g=s.charCodeAt(d))||95===g||(-33&g)>=65&&(-33&g)<=90||g>=48&&g<=57);)d++;return d}(s,g,_),g=tf(s,g,_),g=pi.value=yd(s,g,_),g=pi.valueEnd=function JC(s,d,_){let g=-1,v=-1,y=-1,w=d,R=w;for(;w<_;){const j=s.charCodeAt(w++);if(59===j)return R;34===j||39===j?R=w=wp(s,j,w,_):d===w-4&&85===y&&82===v&&76===g&&40===j?R=w=wp(s,41,w,_):j>32&&(R=w),y=v,v=g,g=-33&j}return R}(s,g,_),tf(s,g,_))}function Qg(s){pi.key=0,pi.keyEnd=0,pi.value=0,pi.valueEnd=0,pi.textEnd=s.length}function yd(s,d,_){for(;d<_&&s.charCodeAt(d)<=32;)d++;return d}function tf(s,d,_,g){return(d=yd(s,d,_))<_&&d++,d}function wp(s,d,_,g){let v=-1,y=_;for(;y=0;_=bd(d,_))zC(s,Al(d),kn(d))}function rf(s){xr(pe,Ll,s,!0)}function Ll(s,d){for(let _=function jr(s){return Qg(s),Cn(s,yd(s,0,pi.textEnd))}(d);_>=0;_=Cn(d,_))pe(s,Al(d),!0)}function uo(s,d,_,g){const v=Qt(),y=Tn(),w=Xr(2);y.firstUpdatePass&&x_(y,s,w,g),d!==Ln&&Kr(v,w,d)&&QC(y,y.data[ze()],v,v[11],s,v[w+1]=function Ol(s,d){return null==s||("string"==typeof d?s+=d:"object"==typeof s&&(s=G(ll(s)))),s}(d,_),g,w)}function xr(s,d,_,g){const v=Tn(),y=Xr(2);v.firstUpdatePass&&x_(v,null,y,g);const w=Qt();if(_!==Ln&&Kr(w,y,_)){const R=v.data[ze()];if(nc(R,g)&&!Rn(v,y)){let j=g?R.classesWithoutHost:R.stylesWithoutHost;null!==j&&(_=ee(j,_||"")),Dp(v,R,w,_,g)}else!function z0(s,d,_,g,v,y,w,R){v===Ln&&(v=zt);let j=0,ae=0,be=0=s.expandoStartIndex}function x_(s,d,_,g){const v=s.data;if(null===v[_+1]){const y=v[ze()],w=Rn(s,_);nc(y,g)&&null===d&&!w&&(d=!1),d=function $C(s,d,_,g){const v=Lr(s);let y=g?d.residualClasses:d.residualStyles;if(null===v)0===(g?d.classBindings:d.styleBindings)&&(_=b_(_=Ic(null,s,d,_,g),d.attrs,g),y=null);else{const w=d.directiveStylingLast;if(-1===w||s[w]!==v)if(_=Ic(v,s,d,_,g),null===y){let j=function sf(s,d,_){const g=_?d.classBindings:d.styleBindings;if(0!==wc(g))return s[ul(g)]}(s,d,g);void 0!==j&&Array.isArray(j)&&(j=Ic(null,s,d,j[1],g),j=b_(j,d.attrs,g),function J0(s,d,_,g){s[ul(_?d.classBindings:d.styleBindings)]=g}(s,d,g,j))}else y=function xn(s,d,_){let g;const v=d.directiveEnd;for(let y=1+d.directiveStylingLast;y0)&&(ae=!0)}else be=_;if(v)if(0!==j){const Ct=ul(s[R+1]);s[g+1]=rp(Ct,R),0!==Ct&&(s[Ct+1]=ou(s[Ct+1],g)),s[R+1]=function uC(s,d){return 131071&s|d<<17}(s[R+1],g)}else s[g+1]=rp(R,0),0!==R&&(s[R+1]=ou(s[R+1],g)),R=g;else s[g+1]=rp(j,0),0===R?R=g:s[j+1]=ou(s[j+1],g),j=g;ae&&(s[g+1]=kh(s[g+1])),om(s,be,g,!0),om(s,be,g,!1),function $g(s,d,_,g,v){const y=v?s.residualClasses:s.residualStyles;null!=y&&"string"==typeof d&&Be(y,d)>=0&&(_[g+1]=yg(_[g+1]))}(d,be,s,g,y),w=rp(R,j),y?d.classBindings=w:d.styleBindings=w}(v,y,d,_,w,g)}}function Ic(s,d,_,g,v){let y=null;const w=_.directiveEnd;let R=_.directiveStylingLast;for(-1===R?R=_.directiveStart:R++;R0;){const j=s[v],ae=Array.isArray(j),be=ae?j[1]:j,Ze=null===be;let Ct=_[v+1];Ct===Ln&&(Ct=Ze?zt:void 0);let Ot=Ze?ve(Ct,g):be===g?Ct:void 0;if(ae&&!Ap(Ot)&&(Ot=ve(j,g)),Ap(Ot)&&(R=Ot,w))return R;const Jt=s[v+1];v=w?ul(Jt):wc(Jt)}if(null!==d){let j=y?d.residualClasses:d.residualStyles;null!=j&&(R=ve(j,g))}return R}function Ap(s){return void 0!==s}function nc(s,d){return 0!=(s.flags&(d?16:32))}function cf(s,d=""){const _=Qt(),g=Tn(),v=s+22,y=g.firstCreatePass?ud(g,v,1,d,null):g.data[v],w=_[v]=function Nf(s,d){return s.createText(d)}(_[11],d);Y_(g,_,w,y),H(y,!1)}function df(s){return rm("",s,""),df}function rm(s,d,_){const g=Qt(),v=h_(g,s,d,_);return v!==Ln&&Xl(g,ze(),v),rm}function uf(s,d,_,g,v){const y=Qt(),w=uu(y,s,d,_,g,v);return w!==Ln&&Xl(y,ze(),w),uf}function _f(s,d,_,g,v,y,w){const R=Qt(),j=function hd(s,d,_,g,v,y,w,R){const ae=Jh(s,Ar(),_,v,w);return Xr(3),ae?d+le(_)+g+le(v)+y+le(w)+R:Ln}(R,s,d,_,g,v,y,w);return j!==Ln&&Xl(R,ze(),j),_f}function pf(s,d,_,g,v,y,w,R,j){const ae=Qt(),be=m_(ae,s,d,_,g,v,y,w,R,j);return be!==Ln&&Xl(ae,ze(),be),pf}function sm(s,d,_){xr(pe,Ll,h_(Qt(),s,d,_),!0)}function um(s,d,_){const g=Qt();return Kr(g,zn(),d)&&vs(Tn(),Ht(),g,s,d,g[11],_,!0),um}function _m(s,d,_){const g=Qt();if(Kr(g,zn(),d)){const y=Tn(),w=Ht();vs(y,w,g,s,d,Ng(Lr(y.data),w,g),_,!0)}return _m}const Td=void 0;var dv=["en",[["a","p"],["AM","PM"],Td],[["AM","PM"],Td,Td],[["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"]],Td,[["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"]],Td,[["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}",Td,"{1} 'at' {0}",Td],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function gn(s){const _=Math.floor(Math.abs(s)),g=s.toString().replace(/^[^.]*\.?/,"").length;return 1===_&&0===g?1:5}];let Pc={};function ff(s){const d=function cx(s){return s.toLowerCase().replace(/_/g,"-")}(s);let _=_v(d);if(_)return _;const g=d.split("-")[0];if(_=_v(g),_)return _;if("en"===g)return dv;throw new de(701,!1)}function uv(s){return ff(s)[_n.PluralCase]}function _v(s){return s in Pc||(Pc[s]=Et.ng&&Et.ng.common&&Et.ng.common.locales&&Et.ng.common.locales[s]),Pc[s]}var _n=(()=>((_n=_n||{})[_n.LocaleId=0]="LocaleId",_n[_n.DayPeriodsFormat=1]="DayPeriodsFormat",_n[_n.DayPeriodsStandalone=2]="DayPeriodsStandalone",_n[_n.DaysFormat=3]="DaysFormat",_n[_n.DaysStandalone=4]="DaysStandalone",_n[_n.MonthsFormat=5]="MonthsFormat",_n[_n.MonthsStandalone=6]="MonthsStandalone",_n[_n.Eras=7]="Eras",_n[_n.FirstDayOfWeek=8]="FirstDayOfWeek",_n[_n.WeekendRange=9]="WeekendRange",_n[_n.DateFormat=10]="DateFormat",_n[_n.TimeFormat=11]="TimeFormat",_n[_n.DateTimeFormat=12]="DateTimeFormat",_n[_n.NumberSymbols=13]="NumberSymbols",_n[_n.NumberFormats=14]="NumberFormats",_n[_n.CurrencyCode=15]="CurrencyCode",_n[_n.CurrencySymbol=16]="CurrencySymbol",_n[_n.CurrencyName=17]="CurrencyName",_n[_n.Currencies=18]="Currencies",_n[_n.Directionality=19]="Directionality",_n[_n.PluralCase=20]="PluralCase",_n[_n.ExtraData=21]="ExtraData",_n))();const y_="en-US";let hv=y_;function Cv(s,d,_,g,v){if(s=ce(s),Array.isArray(s))for(let y=0;y>20;if(Ja(s)||!s.multi){const Ot=new As(j,v,t_),Jt=xv(R,d,v?be:be+Ct,Ze);-1===Jt?(Vr(Di(ae,w),y,R),vv(y,s,d.length),d.push(R),ae.directiveStart++,ae.directiveEnd++,v&&(ae.providerIndexes+=1048576),_.push(Ot),w.push(Ot)):(_[Jt]=Ot,w[Jt]=Ot)}else{const Ot=xv(R,d,be+Ct,Ze),Jt=xv(R,d,be,be+Ct),Ci=Ot>=0&&_[Ot],Si=Jt>=0&&_[Jt];if(v&&!Si||!v&&!Ci){Vr(Di(ae,w),y,R);const Ji=function kb(s,d,_,g,v){const y=new As(s,_,t_);return y.multi=[],y.index=d,y.componentProviders=0,fx(y,v,g&&!_),y}(v?Ob:Lb,_.length,v,g,j);!v&&Si&&(_[Jt].providerFactory=Ji),vv(y,s,d.length,0),d.push(R),ae.directiveStart++,ae.directiveEnd++,v&&(ae.providerIndexes+=1048576),_.push(Ji),w.push(Ji)}else vv(y,s,Ot>-1?Ot:Jt,fx(_[v?Jt:Ot],j,!v&&g));!v&&g&&Si&&_[Jt].componentProviders++}}}function vv(s,d,_,g){const v=Ja(d),y=function Xf(s){return!!s.useClass}(d);if(v||y){const j=(y?ce(d.useClass):d).prototype.ngOnDestroy;if(j){const ae=s.destroyHooks||(s.destroyHooks=[]);if(!v&&d.multi){const be=ae.indexOf(_);-1===be?ae.push(_,[g,j]):ae[be+1].push(g,j)}else ae.push(_,j)}}}function fx(s,d,_){return _&&s.componentProviders++,s.multi.push(d)-1}function xv(s,d,_,g){for(let v=_;v{_.providersResolver=(g,v)=>function Ab(s,d,_){const g=Tn();if(g.firstCreatePass){const v=Ka(s);Cv(_,g.data,g.blueprint,v,!0),Cv(d,g.data,g.blueprint,v,!1)}}(g,v?v(s):s,d)}}class Op{}class vx{}function Ib(s,d){return new xx(s,null!=d?d:null)}class xx extends Op{constructor(d,_){super(),this._parent=_,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new c_(this);const g=un(d);this._bootstrapComponents=Ys(g.bootstrap),this._r3Injector=Hs(d,_,[{provide:Op,useValue:this},{provide:Ku,useValue:this.componentFactoryResolver}],G(d),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(d)}get injector(){return this._r3Injector}destroy(){const d=this._r3Injector;!d.destroyed&&d.destroy(),this.destroyCbs.forEach(_=>_()),this.destroyCbs=null}onDestroy(d){this.destroyCbs.push(d)}}class yv extends vx{constructor(d){super(),this.moduleType=d}create(d){return new xx(this.moduleType,d)}}class Pb extends Op{constructor(d,_,g){super(),this.componentFactoryResolver=new c_(this),this.instance=null;const v=new va([...d,{provide:Op,useValue:this},{provide:Ku,useValue:this.componentFactoryResolver}],_||z_(),g,new Set(["environment"]));this.injector=v,v.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(d){this.injector.onDestroy(d)}}function Tv(s,d,_=null){return new Pb(s,d,_).injector}let Rb=(()=>{class s{constructor(_){this._injector=_,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(_){if(!_.standalone)return null;if(!this.cachedInjectors.has(_.id)){const g=Lo(0,_.type),v=g.length>0?Tv([g],this._injector,`Standalone[${_.type.name}]`):null;this.cachedInjectors.set(_.id,v)}return this.cachedInjectors.get(_.id)}ngOnDestroy(){try{for(const _ of this.cachedInjectors.values())null!==_&&_.destroy()}finally{this.cachedInjectors.clear()}}}return s.\u0275prov=nt({token:s,providedIn:"environment",factory:()=>new s(so(Qd))}),s})();function bx(s){s.getStandaloneInjector=d=>d.get(Rb).getOrCreateStandaloneInjector(s)}function Sx(s,d,_){const g=Vn()+s,v=Qt();return v[g]===Ln?hl(v,g,_?d.call(_):d()):function Tp(s,d){return s[d]}(v,g)}function Ax(s,d,_,g){return Ox(Qt(),Vn(),s,d,_,g)}function Lx(s,d,_,g,v){return kx(Qt(),Vn(),s,d,_,g,v)}function hm(s,d){const _=s[d];return _===Ln?void 0:_}function Ox(s,d,_,g,v,y){const w=d+_;return Kr(s,w,v)?hl(s,w+1,y?g.call(y,v):g(v)):hm(s,w+1)}function kx(s,d,_,g,v,y,w){const R=d+_;return pd(s,R,v,y)?hl(s,R+2,w?g.call(w,v,y):g(v,y)):hm(s,R+2)}function Fx(s,d){const _=Tn();let g;const v=s+22;_.firstCreatePass?(g=function zb(s,d){if(d)for(let _=d.length-1;_>=0;_--){const g=d[_];if(s===g.name)return g}}(d,_.pipeRegistry),_.data[v]=g,g.onDestroy&&(_.destroyHooks||(_.destroyHooks=[])).push(v,g.onDestroy)):g=_.data[v];const y=g.factory||(g.factory=Uo(g.type)),w=Y(t_);try{const R=Cl(!1),j=y();return Cl(R),function WC(s,d,_,g){_>=s.data.length&&(s.data[_]=null,s.blueprint[_]=null),d[_]=g}(_,Qt(),v,j),j}finally{Y(w)}}function Nx(s,d,_){const g=s+22,v=Qt(),y=fa(v,g);return mm(v,g)?Ox(v,Vn(),d,y.transform,_,y):y.transform(_)}function Bx(s,d,_,g){const v=s+22,y=Qt(),w=fa(y,v);return mm(y,v)?kx(y,Vn(),d,w.transform,_,g,w):w.transform(_,g)}function Ux(s,d,_,g,v){const y=s+22,w=Qt(),R=fa(w,y);return mm(w,y)?function Ix(s,d,_,g,v,y,w,R){const j=d+_;return Jh(s,j,v,y,w)?hl(s,j+3,R?g.call(R,v,y,w):g(v,y,w)):hm(s,j+3)}(w,Vn(),d,R.transform,_,g,v,R):R.transform(_,g,v)}function mm(s,d){return s[1].data[d].pure}function Dv(s){return d=>{setTimeout(s,void 0,d)}}const Fc=class ey extends c.x{constructor(d=!1){super(),this.__isAsync=d}emit(d){super.next(d)}subscribe(d,_,g){var v,y,w;let R=d,j=_||(()=>null),ae=g;if(d&&"object"==typeof d){const Ze=d;R=null===(v=Ze.next)||void 0===v?void 0:v.bind(Ze),j=null===(y=Ze.error)||void 0===y?void 0:y.bind(Ze),ae=null===(w=Ze.complete)||void 0===w?void 0:w.bind(Ze)}this.__isAsync&&(j=Dv(j),R&&(R=Dv(R)),ae&&(ae=Dv(ae)));const be=super.subscribe({next:R,error:j,complete:ae});return d instanceof m.w0&&d.add(be),be}};function ty(){return this._results[du()]()}class bf{constructor(d=!1){this._emitDistinctChangesOnly=d,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const _=du(),g=bf.prototype;g[_]||(g[_]=ty)}get changes(){return this._changes||(this._changes=new Fc)}get(d){return this._results[d]}map(d){return this._results.map(d)}filter(d){return this._results.filter(d)}find(d){return this._results.find(d)}reduce(d,_){return this._results.reduce(d,_)}forEach(d){this._results.forEach(d)}some(d){return this._results.some(d)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(d,_){const g=this;g.dirty=!1;const v=Yo(d);(this._changesDetected=!function xl(s,d,_){if(s.length!==d.length)return!1;for(let g=0;g{class s{}return s.__NG_ELEMENT_ID__=ay,s})();const iy=gm,ny=class extends iy{constructor(d,_,g){super(),this._declarationLView=d,this._declarationTContainer=_,this.elementRef=g}createEmbeddedView(d,_){const g=this._declarationTContainer.tViews,v=cp(this._declarationLView,g,d,16,null,g.declTNode,null,null,null,null,_||null);v[17]=this._declarationLView[this._declarationTContainer.index];const w=this._declarationLView[19];return null!==w&&(v[19]=w.createEmbeddedView(g)),n_(g,v,d),new pl(v)}};function ay(){return yf(Ma(),Qt())}function yf(s,d){return 4&s.type?new ny(d,s,nd(s,d)):null}let Tf=(()=>{class s{}return s.__NG_ELEMENT_ID__=oy,s})();function oy(){return Hx(Ma(),Qt())}const ry=Tf,Zx=class extends ry{constructor(d,_,g){super(),this._lContainer=d,this._hostTNode=_,this._hostLView=g}get element(){return nd(this._hostTNode,this._hostLView)}get injector(){return new Is(this._hostTNode,this._hostLView)}get parentInjector(){const d=Gl(this._hostTNode,this._hostLView);if(gu(d)){const _=Xs(d,this._hostLView),g=mr(d);return new Is(_[1].data[g+8],_)}return new Is(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(d){const _=Yx(this._lContainer);return null!==_&&_[d]||null}get length(){return this._lContainer.length-10}createEmbeddedView(d,_,g){let v,y;"number"==typeof g?v=g:null!=g&&(v=g.index,y=g.injector);const w=d.createEmbeddedView(_||{},y);return this.insert(w,v),w}createComponent(d,_,g,v,y){const w=d&&!function tl(s){return"function"==typeof s}(d);let R;if(w)R=_;else{const Ze=_||{};R=Ze.index,g=Ze.injector,v=Ze.projectableNodes,y=Ze.environmentInjector||Ze.ngModuleRef}const j=w?d:new xp(Ee(d)),ae=g||this.parentInjector;if(!y&&null==j.ngModule){const Ct=(w?ae:this.parentInjector).get(Qd,null);Ct&&(y=Ct)}const be=j.create(ae,v,void 0,y);return this.insert(be.hostView,R),be}insert(d,_){const g=d._lView,v=g[1];if(function Nl(s){return Aa(s[3])}(g)){const be=this.indexOf(d);if(-1!==be)this.detach(be);else{const Ze=g[3],Ct=new Zx(Ze,Ze[6],Ze[3]);Ct.detach(Ct.indexOf(d))}}const y=this._adjustIndex(_),w=this._lContainer;!function Uf(s,d,_,g){const v=10+g,y=_.length;g>0&&(_[v-1][4]=d),g0)g.push(w[R/2]);else{const ae=y[R+1],be=d[-j];for(let Ze=10;Ze{class s{constructor(_){this.appInits=_,this.resolve=Nv,this.reject=Nv,this.initialized=!1,this.done=!1,this.donePromise=new Promise((g,v)=>{this.resolve=g,this.reject=v})}runInitializers(){if(this.initialized)return;const _=[],g=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let v=0;v{y.subscribe({complete:R,error:j})});_.push(w)}}Promise.all(_).then(()=>{g()}).catch(v=>{this.reject(v)}),0===_.length&&g(),this.initialized=!0}}return s.\u0275fac=function(_){return new(_||s)(so(Fy,8))},s.\u0275prov=nt({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();const Ny=new ca("AppId",{providedIn:"root",factory:function p1(){return`${Bv()}${Bv()}${Bv()}`}});function Bv(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const h1=new ca("Platform Initializer"),By=new ca("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),m1=new ca("appBootstrapListener"),Uy=new ca("AnimationModuleType");let Zy=(()=>{class s{log(_){console.log(_)}warn(_){console.warn(_)}}return s.\u0275fac=function(_){return new(_||s)},s.\u0275prov=nt({token:s,factory:s.\u0275fac,providedIn:"platform"}),s})();const Ef=new ca("LocaleId",{providedIn:"root",factory:()=>fc(Ef,ai.Optional|ai.SkipSelf)||function Yy(){return"undefined"!=typeof $localize&&$localize.locale||y_}()}),Hy=new ca("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class Vy{constructor(d,_){this.ngModuleFactory=d,this.componentFactories=_}}let Gy=(()=>{class s{compileModuleSync(_){return new yv(_)}compileModuleAsync(_){return Promise.resolve(this.compileModuleSync(_))}compileModuleAndAllComponentsSync(_){const g=this.compileModuleSync(_),y=Ys(un(_).declarations).reduce((w,R)=>{const j=Ee(R);return j&&w.push(new xp(j)),w},[]);return new Vy(g,y)}compileModuleAndAllComponentsAsync(_){return Promise.resolve(this.compileModuleAndAllComponentsSync(_))}clearCache(){}clearCacheFor(_){}getModuleId(_){}}return s.\u0275fac=function(_){return new(_||s)},s.\u0275prov=nt({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();const Wy=(()=>Promise.resolve(0))();function Uv(s){"undefined"==typeof Zone?Wy.then(()=>{s&&s.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",s)}class Pl{constructor({enableLongStackTrace:d=!1,shouldCoalesceEventChangeDetection:_=!1,shouldCoalesceRunChangeDetection:g=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Fc(!1),this.onMicrotaskEmpty=new Fc(!1),this.onStable=new Fc(!1),this.onError=new Fc(!1),"undefined"==typeof Zone)throw new de(908,!1);Zone.assertZonePatched();const v=this;if(v._nesting=0,v._outer=v._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const y=Zone.AsyncStackTaggingZoneSpec;v._inner=v._inner.fork(new y("Angular"))}Zone.TaskTrackingZoneSpec&&(v._inner=v._inner.fork(new Zone.TaskTrackingZoneSpec)),d&&Zone.longStackTraceZoneSpec&&(v._inner=v._inner.fork(Zone.longStackTraceZoneSpec)),v.shouldCoalesceEventChangeDetection=!g&&_,v.shouldCoalesceRunChangeDetection=g,v.lastRequestAnimationFrameId=-1,v.nativeRequestAnimationFrame=function qy(){let s=Et.requestAnimationFrame,d=Et.cancelAnimationFrame;if("undefined"!=typeof Zone&&s&&d){const _=s[Zone.__symbol__("OriginalDelegate")];_&&(s=_);const g=d[Zone.__symbol__("OriginalDelegate")];g&&(d=g)}return{nativeRequestAnimationFrame:s,nativeCancelAnimationFrame:d}}().nativeRequestAnimationFrame,function zy(s){const d=()=>{!function $y(s){s.isCheckStableRunning||-1!==s.lastRequestAnimationFrameId||(s.lastRequestAnimationFrameId=s.nativeRequestAnimationFrame.call(Et,()=>{s.fakeTopEventTask||(s.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{s.lastRequestAnimationFrameId=-1,Yv(s),s.isCheckStableRunning=!0,Zv(s),s.isCheckStableRunning=!1},void 0,()=>{},()=>{})),s.fakeTopEventTask.invoke()}),Yv(s))}(s)};s._inner=s._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(_,g,v,y,w,R)=>{try{return C1(s),_.invokeTask(v,y,w,R)}finally{(s.shouldCoalesceEventChangeDetection&&"eventTask"===y.type||s.shouldCoalesceRunChangeDetection)&&d(),v1(s)}},onInvoke:(_,g,v,y,w,R,j)=>{try{return C1(s),_.invoke(v,y,w,R,j)}finally{s.shouldCoalesceRunChangeDetection&&d(),v1(s)}},onHasTask:(_,g,v,y)=>{_.hasTask(v,y),g===v&&("microTask"==y.change?(s._hasPendingMicrotasks=y.microTask,Yv(s),Zv(s)):"macroTask"==y.change&&(s.hasPendingMacrotasks=y.macroTask))},onHandleError:(_,g,v,y)=>(_.handleError(v,y),s.runOutsideAngular(()=>s.onError.emit(y)),!1)})}(v)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Pl.isInAngularZone())throw new de(909,!1)}static assertNotInAngularZone(){if(Pl.isInAngularZone())throw new de(909,!1)}run(d,_,g){return this._inner.run(d,_,g)}runTask(d,_,g,v){const y=this._inner,w=y.scheduleEventTask("NgZoneEvent: "+v,d,Jy,Nv,Nv);try{return y.runTask(w,_,g)}finally{y.cancelTask(w)}}runGuarded(d,_,g){return this._inner.runGuarded(d,_,g)}runOutsideAngular(d){return this._outer.run(d)}}const Jy={};function Zv(s){if(0==s._nesting&&!s.hasPendingMicrotasks&&!s.isStable)try{s._nesting++,s.onMicrotaskEmpty.emit(null)}finally{if(s._nesting--,!s.hasPendingMicrotasks)try{s.runOutsideAngular(()=>s.onStable.emit(null))}finally{s.isStable=!0}}}function Yv(s){s.hasPendingMicrotasks=!!(s._hasPendingMicrotasks||(s.shouldCoalesceEventChangeDetection||s.shouldCoalesceRunChangeDetection)&&-1!==s.lastRequestAnimationFrameId)}function C1(s){s._nesting++,s.isStable&&(s.isStable=!1,s.onUnstable.emit(null))}function v1(s){s._nesting--,Zv(s)}class Qy{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Fc,this.onMicrotaskEmpty=new Fc,this.onStable=new Fc,this.onError=new Fc}run(d,_,g){return d.apply(_,g)}runGuarded(d,_,g){return d.apply(_,g)}runOutsideAngular(d){return d()}runTask(d,_,g,v){return d.apply(_,g)}}const x1=new ca(""),b1=new ca("");let vm,Xy=(()=>{class s{constructor(_,g,v){this._ngZone=_,this.registry=g,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,vm||(function e2(s){vm=s}(v),v.addToWindow(g)),this._watchAngularEvents(),_.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Pl.assertNotInAngularZone(),Uv(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Uv(()=>{for(;0!==this._callbacks.length;){let _=this._callbacks.pop();clearTimeout(_.timeoutId),_.doneCb(this._didWork)}this._didWork=!1});else{let _=this.getPendingTasks();this._callbacks=this._callbacks.filter(g=>!g.updateCb||!g.updateCb(_)||(clearTimeout(g.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(_=>({source:_.source,creationLocation:_.creationLocation,data:_.data})):[]}addCallback(_,g,v){let y=-1;g&&g>0&&(y=setTimeout(()=>{this._callbacks=this._callbacks.filter(w=>w.timeoutId!==y),_(this._didWork,this.getPendingTasks())},g)),this._callbacks.push({doneCb:_,timeoutId:y,updateCb:v})}whenStable(_,g,v){if(v&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(_,g,v),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(_){this.registry.registerApplication(_,this)}unregisterApplication(_){this.registry.unregisterApplication(_)}findProviders(_,g,v){return[]}}return s.\u0275fac=function(_){return new(_||s)(so(Pl),so(y1),so(b1))},s.\u0275prov=nt({token:s,factory:s.\u0275fac}),s})(),y1=(()=>{class s{constructor(){this._applications=new Map}registerApplication(_,g){this._applications.set(_,g)}unregisterApplication(_){this._applications.delete(_)}unregisterAllApplications(){this._applications.clear()}getTestability(_){return this._applications.get(_)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(_,g=!0){var v;return null!==(v=null==vm?void 0:vm.findTestabilityInTree(this,_,g))&&void 0!==v?v:null}}return s.\u0275fac=function(_){return new(_||s)},s.\u0275prov=nt({token:s,factory:s.\u0275fac,providedIn:"platform"}),s})(),Nc=null;const T1=new ca("AllowMultipleToken"),Hv=new ca("PlatformDestroyListeners");class a2{constructor(d,_){this.name=d,this.token=_}}function D1(s,d,_=[]){const g=`Platform: ${d}`,v=new ca(g);return(y=[])=>{let w=Vv();if(!w||w.injector.get(T1,!1)){const R=[..._,...y,{provide:v,useValue:!0}];s?s(R):function o2(s){if(Nc&&!Nc.get(T1,!1))throw new de(400,!1);Nc=s;const d=s.get(w1);(function M1(s){const d=s.get(h1,null);d&&d.forEach(_=>_())})(s)}(function E1(s=[],d){return vr.create({name:d,providers:[{provide:q_,useValue:"platform"},{provide:Hv,useValue:new Set([()=>Nc=null])},...s]})}(R,g))}return function s2(s){const d=Vv();if(!d)throw new de(401,!1);return d}()}}function Vv(){var s;return null!==(s=null==Nc?void 0:Nc.get(w1))&&void 0!==s?s:null}let w1=(()=>{class s{constructor(_){this._injector=_,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(_,g){const v=function A1(s,d){let _;return _="noop"===s?new Qy:("zone.js"===s?void 0:s)||new Pl(d),_}(null==g?void 0:g.ngZone,function S1(s){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!s||!s.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!s||!s.ngZoneRunCoalescing)||!1}}(g)),y=[{provide:Pl,useValue:v}];return v.run(()=>{const w=vr.create({providers:y,parent:this.injector,name:_.moduleType.name}),R=_.create(w),j=R.injector.get(iu,null);if(!j)throw new de(402,!1);return v.runOutsideAngular(()=>{const ae=v.onError.subscribe({next:be=>{j.handleError(be)}});R.onDestroy(()=>{Sf(this._modules,R),ae.unsubscribe()})}),function L1(s,d,_){try{const g=_();return Pi(g)?g.catch(v=>{throw d.runOutsideAngular(()=>s.handleError(v)),v}):g}catch(g){throw d.runOutsideAngular(()=>s.handleError(g)),g}}(j,v,()=>{const ae=R.injector.get(Df);return ae.runInitializers(),ae.donePromise.then(()=>(function mv(s){Wt(s,"Expected localeId to be defined"),"string"==typeof s&&(hv=s.toLowerCase().replace(/_/g,"-"))}(R.injector.get(Ef,y_)||y_),this._moduleDoBootstrap(R),R))})})}bootstrapModule(_,g=[]){const v=O1({},g);return function t2(s,d,_){const g=new yv(_);return Promise.resolve(g)}(0,0,_).then(y=>this.bootstrapModuleFactory(y,v))}_moduleDoBootstrap(_){const g=_.injector.get(wf);if(_._bootstrapComponents.length>0)_._bootstrapComponents.forEach(v=>g.bootstrap(v));else{if(!_.instance.ngDoBootstrap)throw new de(403,!1);_.instance.ngDoBootstrap(g)}this._modules.push(_)}onDestroy(_){this._destroyListeners.push(_)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new de(404,!1);this._modules.slice().forEach(g=>g.destroy()),this._destroyListeners.forEach(g=>g());const _=this._injector.get(Hv,null);_&&(_.forEach(g=>g()),_.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return s.\u0275fac=function(_){return new(_||s)(so(vr))},s.\u0275prov=nt({token:s,factory:s.\u0275fac,providedIn:"platform"}),s})();function O1(s,d){return Array.isArray(d)?d.reduce(O1,s):Object.assign(Object.assign({},s),d)}let wf=(()=>{class s{constructor(_,g,v){this._zone=_,this._injector=g,this._exceptionHandler=v,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const y=new e.y(R=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{R.next(this._stable),R.complete()})}),w=new e.y(R=>{let j;this._zone.runOutsideAngular(()=>{j=this._zone.onStable.subscribe(()=>{Pl.assertNotInAngularZone(),Uv(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,R.next(!0))})})});const ae=this._zone.onUnstable.subscribe(()=>{Pl.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{R.next(!1)}))});return()=>{j.unsubscribe(),ae.unsubscribe()}});this.isStable=(0,b.T)(y,w.pipe((0,M.B)()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(_,g){const v=_ instanceof cl;if(!this._injector.get(Df).done)throw!v&&qt(_),new de(405,false);let w;w=v?_:this._injector.get(Ku).resolveComponentFactory(_),this.componentTypes.push(w.componentType);const R=function n2(s){return s.isBoundToModule}(w)?void 0:this._injector.get(Op),ae=w.create(vr.NULL,[],g||w.selector,R),be=ae.location.nativeElement,Ze=ae.injector.get(x1,null);return null==Ze||Ze.registerApplication(be),ae.onDestroy(()=>{this.detachView(ae.hostView),Sf(this.components,ae),null==Ze||Ze.unregisterApplication(be)}),this._loadComponent(ae),ae}tick(){if(this._runningTick)throw new de(101,!1);try{this._runningTick=!0;for(let _ of this._views)_.detectChanges()}catch(_){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(_))}finally{this._runningTick=!1}}attachView(_){const g=_;this._views.push(g),g.attachToAppRef(this)}detachView(_){const g=_;Sf(this._views,g),g.detachFromAppRef()}_loadComponent(_){this.attachView(_.hostView),this.tick(),this.components.push(_),this._injector.get(m1,[]).concat(this._bootstrapListeners).forEach(v=>v(_))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(_=>_()),this._views.slice().forEach(_=>_.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(_){return this._destroyListeners.push(_),()=>Sf(this._destroyListeners,_)}destroy(){if(this._destroyed)throw new de(406,!1);const _=this._injector;_.destroy&&!_.destroyed&&_.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return s.\u0275fac=function(_){return new(_||s)(so(Pl),so(Qd),so(iu))},s.\u0275prov=nt({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();function Sf(s,d){const _=s.indexOf(d);_>-1&&s.splice(_,1)}let I1=!0;function c2(){I1=!1}let d2=(()=>{class s{}return s.__NG_ELEMENT_ID__=u2,s})();function u2(s){return function _2(s,d,_){if(Ts(s)&&!_){const g=In(s.index,d);return new pl(g,g)}return 47&s.type?new pl(d[16],d):null}(Ma(),Qt(),16==(16&s))}class B1{constructor(){}supports(d){return __(d)}create(d){return new C2(d)}}const f2=(s,d)=>d;class C2{constructor(d){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=d||f2}forEachItem(d){let _;for(_=this._itHead;null!==_;_=_._next)d(_)}forEachOperation(d){let _=this._itHead,g=this._removalsHead,v=0,y=null;for(;_||g;){const w=!g||_&&_.currentIndex{w=this._trackByFn(v,R),null!==_&&Object.is(_.trackById,w)?(g&&(_=this._verifyReinsertion(_,R,w,v)),Object.is(_.item,R)||this._addIdentityChange(_,R)):(_=this._mismatch(_,R,w,v),g=!0),_=_._next,v++}),this.length=v;return this._truncate(_),this.collection=d,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let d;for(d=this._previousItHead=this._itHead;null!==d;d=d._next)d._nextPrevious=d._next;for(d=this._additionsHead;null!==d;d=d._nextAdded)d.previousIndex=d.currentIndex;for(this._additionsHead=this._additionsTail=null,d=this._movesHead;null!==d;d=d._nextMoved)d.previousIndex=d.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(d,_,g,v){let y;return null===d?y=this._itTail:(y=d._prev,this._remove(d)),null!==(d=null===this._unlinkedRecords?null:this._unlinkedRecords.get(g,null))?(Object.is(d.item,_)||this._addIdentityChange(d,_),this._reinsertAfter(d,y,v)):null!==(d=null===this._linkedRecords?null:this._linkedRecords.get(g,v))?(Object.is(d.item,_)||this._addIdentityChange(d,_),this._moveAfter(d,y,v)):d=this._addAfter(new v2(_,g),y,v),d}_verifyReinsertion(d,_,g,v){let y=null===this._unlinkedRecords?null:this._unlinkedRecords.get(g,null);return null!==y?d=this._reinsertAfter(y,d._prev,v):d.currentIndex!=v&&(d.currentIndex=v,this._addToMoves(d,v)),d}_truncate(d){for(;null!==d;){const _=d._next;this._addToRemovals(this._unlink(d)),d=_}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(d,_,g){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(d);const v=d._prevRemoved,y=d._nextRemoved;return null===v?this._removalsHead=y:v._nextRemoved=y,null===y?this._removalsTail=v:y._prevRemoved=v,this._insertAfter(d,_,g),this._addToMoves(d,g),d}_moveAfter(d,_,g){return this._unlink(d),this._insertAfter(d,_,g),this._addToMoves(d,g),d}_addAfter(d,_,g){return this._insertAfter(d,_,g),this._additionsTail=null===this._additionsTail?this._additionsHead=d:this._additionsTail._nextAdded=d,d}_insertAfter(d,_,g){const v=null===_?this._itHead:_._next;return d._next=v,d._prev=_,null===v?this._itTail=d:v._prev=d,null===_?this._itHead=d:_._next=d,null===this._linkedRecords&&(this._linkedRecords=new U1),this._linkedRecords.put(d),d.currentIndex=g,d}_remove(d){return this._addToRemovals(this._unlink(d))}_unlink(d){null!==this._linkedRecords&&this._linkedRecords.remove(d);const _=d._prev,g=d._next;return null===_?this._itHead=g:_._next=g,null===g?this._itTail=_:g._prev=_,d}_addToMoves(d,_){return d.previousIndex===_||(this._movesTail=null===this._movesTail?this._movesHead=d:this._movesTail._nextMoved=d),d}_addToRemovals(d){return null===this._unlinkedRecords&&(this._unlinkedRecords=new U1),this._unlinkedRecords.put(d),d.currentIndex=null,d._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=d,d._prevRemoved=null):(d._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=d),d}_addIdentityChange(d,_){return d.item=_,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=d:this._identityChangesTail._nextIdentityChange=d,d}}class v2{constructor(d,_){this.item=d,this.trackById=_,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class x2{constructor(){this._head=null,this._tail=null}add(d){null===this._head?(this._head=this._tail=d,d._nextDup=null,d._prevDup=null):(this._tail._nextDup=d,d._prevDup=this._tail,d._nextDup=null,this._tail=d)}get(d,_){let g;for(g=this._head;null!==g;g=g._nextDup)if((null===_||_<=g.currentIndex)&&Object.is(g.trackById,d))return g;return null}remove(d){const _=d._prevDup,g=d._nextDup;return null===_?this._head=g:_._nextDup=g,null===g?this._tail=_:g._prevDup=_,null===this._head}}class U1{constructor(){this.map=new Map}put(d){const _=d.trackById;let g=this.map.get(_);g||(g=new x2,this.map.set(_,g)),g.add(d)}get(d,_){const v=this.map.get(d);return v?v.get(d,_):null}remove(d){const _=d.trackById;return this.map.get(_).remove(d)&&this.map.delete(_),d}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Z1(s,d,_){const g=s.previousIndex;if(null===g)return g;let v=0;return _&&g<_.length&&(v=_[g]),g+d+v}class Y1{constructor(){}supports(d){return d instanceof Map||qh(d)}create(){return new b2}}class b2{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(d){let _;for(_=this._mapHead;null!==_;_=_._next)d(_)}forEachPreviousItem(d){let _;for(_=this._previousMapHead;null!==_;_=_._nextPrevious)d(_)}forEachChangedItem(d){let _;for(_=this._changesHead;null!==_;_=_._nextChanged)d(_)}forEachAddedItem(d){let _;for(_=this._additionsHead;null!==_;_=_._nextAdded)d(_)}forEachRemovedItem(d){let _;for(_=this._removalsHead;null!==_;_=_._nextRemoved)d(_)}diff(d){if(d){if(!(d instanceof Map||qh(d)))throw new de(900,!1)}else d=new Map;return this.check(d)?this:null}onDestroy(){}check(d){this._reset();let _=this._mapHead;if(this._appendAfter=null,this._forEach(d,(g,v)=>{if(_&&_.key===v)this._maybeAddToChanges(_,g),this._appendAfter=_,_=_._next;else{const y=this._getOrCreateRecordForKey(v,g);_=this._insertBeforeOrAppend(_,y)}}),_){_._prev&&(_._prev._next=null),this._removalsHead=_;for(let g=_;null!==g;g=g._nextRemoved)g===this._mapHead&&(this._mapHead=null),this._records.delete(g.key),g._nextRemoved=g._next,g.previousValue=g.currentValue,g.currentValue=null,g._prev=null,g._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(d,_){if(d){const g=d._prev;return _._next=d,_._prev=g,d._prev=_,g&&(g._next=_),d===this._mapHead&&(this._mapHead=_),this._appendAfter=d,d}return this._appendAfter?(this._appendAfter._next=_,_._prev=this._appendAfter):this._mapHead=_,this._appendAfter=_,null}_getOrCreateRecordForKey(d,_){if(this._records.has(d)){const v=this._records.get(d);this._maybeAddToChanges(v,_);const y=v._prev,w=v._next;return y&&(y._next=w),w&&(w._prev=y),v._next=null,v._prev=null,v}const g=new y2(d);return this._records.set(d,g),g.currentValue=_,this._addToAdditions(g),g}_reset(){if(this.isDirty){let d;for(this._previousMapHead=this._mapHead,d=this._previousMapHead;null!==d;d=d._next)d._nextPrevious=d._next;for(d=this._changesHead;null!==d;d=d._nextChanged)d.previousValue=d.currentValue;for(d=this._additionsHead;null!=d;d=d._nextAdded)d.previousValue=d.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(d,_){Object.is(_,d.currentValue)||(d.previousValue=d.currentValue,d.currentValue=_,this._addToChanges(d))}_addToAdditions(d){null===this._additionsHead?this._additionsHead=this._additionsTail=d:(this._additionsTail._nextAdded=d,this._additionsTail=d)}_addToChanges(d){null===this._changesHead?this._changesHead=this._changesTail=d:(this._changesTail._nextChanged=d,this._changesTail=d)}_forEach(d,_){d instanceof Map?d.forEach(_):Object.keys(d).forEach(g=>_(d[g],g))}}class y2{constructor(d){this.key=d,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function H1(){return new qv([new B1])}let qv=(()=>{class s{constructor(_){this.factories=_}static create(_,g){if(null!=g){const v=g.factories.slice();_=_.concat(v)}return new s(_)}static extend(_){return{provide:s,useFactory:g=>s.create(_,g||H1()),deps:[[s,new Zd,new Jc]]}}find(_){const g=this.factories.find(v=>v.supports(_));if(null!=g)return g;throw new de(901,!1)}}return s.\u0275prov=nt({token:s,providedIn:"root",factory:H1}),s})();function V1(){return new Jv([new Y1])}let Jv=(()=>{class s{constructor(_){this.factories=_}static create(_,g){if(g){const v=g.factories.slice();_=_.concat(v)}return new s(_)}static extend(_){return{provide:s,useFactory:g=>s.create(_,g||V1()),deps:[[s,new Zd,new Jc]]}}find(_){const g=this.factories.find(v=>v.supports(_));if(g)return g;throw new de(901,!1)}}return s.\u0275prov=nt({token:s,providedIn:"root",factory:V1}),s})();const D2=D1(null,"core",[]);let E2=(()=>{class s{constructor(_){}}return s.\u0275fac=function(_){return new(_||s)(so(wf))},s.\u0275mod=Dt({type:s}),s.\u0275inj=Lt({}),s})();function w2(s){return"boolean"==typeof s?s:null!=s&&"false"!==s}},3075:(N,U,C)=>{"use strict";C.d(U,{Cf:()=>Ne,F:()=>To,Fj:()=>Pe,JJ:()=>ai,JL:()=>ti,JU:()=>G,NI:()=>No,On:()=>Ya,Q7:()=>$s,UX:()=>Er,Zs:()=>zr,_Y:()=>Br,a5:()=>Se,c5:()=>Hr,cw:()=>Ee,kI:()=>st,oH:()=>Ws,qu:()=>Tn,sg:()=>Zr,u:()=>ss,u5:()=>_r,wV:()=>Nn});var c=C(5e3),m=C(9808),e=C(2076),b=C(4128),M=C(4004);let k=(()=>{class te{constructor(H,Ce){this._renderer=H,this._elementRef=Ce,this.onChange=Bt=>{},this.onTouched=()=>{}}setProperty(H,Ce){this._renderer.setProperty(this._elementRef.nativeElement,H,Ce)}registerOnTouched(H){this.onTouched=H}registerOnChange(H){this.onChange=H}setDisabledState(H){this.setProperty("disabled",H)}}return te.\u0275fac=function(H){return new(H||te)(c.Y36(c.Qsj),c.Y36(c.SBq))},te.\u0275dir=c.lG2({type:te}),te})(),F=(()=>{class te extends k{}return te.\u0275fac=function(){let q;return function(Ce){return(q||(q=c.n5z(te)))(Ce||te)}}(),te.\u0275dir=c.lG2({type:te,features:[c.qOj]}),te})();const G=new c.OlP("NgValueAccessor"),ue={provide:G,useExisting:(0,c.Gpc)(()=>Pe),multi:!0},ke=new c.OlP("CompositionEventMode");let Pe=(()=>{class te extends k{constructor(H,Ce,Bt){super(H,Ce),this._compositionMode=Bt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function ce(){const te=(0,m.q)()?(0,m.q)().getUserAgent():"";return/android (\d+)/.test(te.toLowerCase())}())}writeValue(H){this.setProperty("value",null==H?"":H)}_handleInput(H){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(H)}_compositionStart(){this._composing=!0}_compositionEnd(H){this._composing=!1,this._compositionMode&&this.onChange(H)}}return te.\u0275fac=function(H){return new(H||te)(c.Y36(c.Qsj),c.Y36(c.SBq),c.Y36(ke,8))},te.\u0275dir=c.lG2({type:te,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(H,Ce){1&H&&c.NdJ("input",function(Ii){return Ce._handleInput(Ii.target.value)})("blur",function(){return Ce.onTouched()})("compositionstart",function(){return Ce._compositionStart()})("compositionend",function(Ii){return Ce._compositionEnd(Ii.target.value)})},features:[c._Bn([ue]),c.qOj]}),te})();function Ge(te){return null==te||("string"==typeof te||Array.isArray(te))&&0===te.length}function le(te){return null!=te&&"number"==typeof te.length}const Ne=new c.OlP("NgValidators"),yt=new c.OlP("NgAsyncValidators"),jt=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class st{static min(q){return function Te(te){return q=>{if(Ge(q.value)||Ge(te))return null;const H=parseFloat(q.value);return!isNaN(H)&&H{if(Ge(q.value)||Ge(te))return null;const H=parseFloat(q.value);return!isNaN(H)&&H>te?{max:{max:te,actual:q.value}}:null}}(q)}static required(q){return at(q)}static requiredTrue(q){return _e(q)}static email(q){return function xt(te){return Ge(te.value)||jt.test(te.value)?null:{email:!0}}(q)}static minLength(q){return function tt(te){return q=>Ge(q.value)||!le(q.value)?null:q.value.lengthle(q.value)&&q.value.length>te?{maxlength:{requiredLength:te,actualLength:q.value.length}}:null}(q)}static pattern(q){return qe(q)}static nullValidator(q){return null}static compose(q){return ye(q)}static composeAsync(q){return Ae(q)}}function at(te){return Ge(te.value)?{required:!0}:null}function _e(te){return!0===te.value?null:{required:!0}}function qe(te){if(!te)return ie;let q,H;return"string"==typeof te?(H="","^"!==te.charAt(0)&&(H+="^"),H+=te,"$"!==te.charAt(te.length-1)&&(H+="$"),q=new RegExp(H)):(H=te.toString(),q=te),Ce=>{if(Ge(Ce.value))return null;const Bt=Ce.value;return q.test(Bt)?null:{pattern:{requiredPattern:H,actualValue:Bt}}}}function ie(te){return null}function Oe(te){return null!=te}function mt(te){return(0,c.QGY)(te)?(0,e.D)(te):te}function kt(te){let q={};return te.forEach(H=>{q=null!=H?Object.assign(Object.assign({},q),H):q}),0===Object.keys(q).length?null:q}function ri(te,q){return q.map(H=>H(te))}function Wt(te){return te.map(q=>function bt(te){return!te.validate}(q)?q:H=>q.validate(H))}function ye(te){if(!te)return null;const q=te.filter(Oe);return 0==q.length?null:function(H){return kt(ri(H,q))}}function Xe(te){return null!=te?ye(Wt(te)):null}function Ae(te){if(!te)return null;const q=te.filter(Oe);return 0==q.length?null:function(H){const Ce=ri(H,q).map(mt);return(0,b.D)(Ce).pipe((0,M.U)(kt))}}function he(te){return null!=te?Ae(Wt(te)):null}function nt(te,q){return null===te?[q]:Array.isArray(te)?[...te,q]:[te,q]}function Yt(te){return te._rawValidators}function Lt(te){return te._rawAsyncValidators}function Ai(te){return te?Array.isArray(te)?te:[te]:[]}function ei(te,q){return Array.isArray(te)?te.includes(q):te===q}function hi(te,q){const H=Ai(q);return Ai(te).forEach(Bt=>{ei(H,Bt)||H.push(Bt)}),H}function ne(te,q){return Ai(q).filter(H=>!ei(te,H))}class Tt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(q){this._rawValidators=q||[],this._composedValidatorFn=Xe(this._rawValidators)}_setAsyncValidators(q){this._rawAsyncValidators=q||[],this._composedAsyncValidatorFn=he(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(q){this._onDestroyCallbacks.push(q)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(q=>q()),this._onDestroyCallbacks=[]}reset(q){this.control&&this.control.reset(q)}hasError(q,H){return!!this.control&&this.control.hasError(q,H)}getError(q,H){return this.control?this.control.getError(q,H):null}}class Se extends Tt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ut extends Tt{get formDirective(){return null}get path(){return null}}class ni{constructor(q){this._cd=q}get isTouched(){var q,H;return!(null===(H=null===(q=this._cd)||void 0===q?void 0:q.control)||void 0===H||!H.touched)}get isUntouched(){var q,H;return!(null===(H=null===(q=this._cd)||void 0===q?void 0:q.control)||void 0===H||!H.untouched)}get isPristine(){var q,H;return!(null===(H=null===(q=this._cd)||void 0===q?void 0:q.control)||void 0===H||!H.pristine)}get isDirty(){var q,H;return!(null===(H=null===(q=this._cd)||void 0===q?void 0:q.control)||void 0===H||!H.dirty)}get isValid(){var q,H;return!(null===(H=null===(q=this._cd)||void 0===q?void 0:q.control)||void 0===H||!H.valid)}get isInvalid(){var q,H;return!(null===(H=null===(q=this._cd)||void 0===q?void 0:q.control)||void 0===H||!H.invalid)}get isPending(){var q,H;return!(null===(H=null===(q=this._cd)||void 0===q?void 0:q.control)||void 0===H||!H.pending)}get isSubmitted(){var q;return!(null===(q=this._cd)||void 0===q||!q.submitted)}}let ai=(()=>{class te extends ni{constructor(H){super(H)}}return te.\u0275fac=function(H){return new(H||te)(c.Y36(Se,2))},te.\u0275dir=c.lG2({type:te,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(H,Ce){2&H&&c.ekj("ng-untouched",Ce.isUntouched)("ng-touched",Ce.isTouched)("ng-pristine",Ce.isPristine)("ng-dirty",Ce.isDirty)("ng-valid",Ce.isValid)("ng-invalid",Ce.isInvalid)("ng-pending",Ce.isPending)},features:[c.qOj]}),te})(),ti=(()=>{class te extends ni{constructor(H){super(H)}}return te.\u0275fac=function(H){return new(H||te)(c.Y36(ut,10))},te.\u0275dir=c.lG2({type:te,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(H,Ce){2&H&&c.ekj("ng-untouched",Ce.isUntouched)("ng-touched",Ce.isTouched)("ng-pristine",Ce.isPristine)("ng-dirty",Ce.isDirty)("ng-valid",Ce.isValid)("ng-invalid",Ce.isInvalid)("ng-pending",Ce.isPending)("ng-submitted",Ce.isSubmitted)},features:[c.qOj]}),te})();const ht="VALID",it="INVALID",Qe="PENDING",Re="DISABLED";function We(te){return(si(te)?te.validators:te)||null}function Ie(te){return Array.isArray(te)?Xe(te):te||null}function _t(te,q){return(si(q)?q.asyncValidators:te)||null}function Dt(te){return Array.isArray(te)?he(te):te||null}function si(te){return null!=te&&!Array.isArray(te)&&"object"==typeof te}function Vi(te,q,H){const Ce=te.controls;if(!(q?Object.keys(Ce):Ce).length)throw new c.vHH(1e3,"");if(!Ce[H])throw new c.vHH(1001,"")}function It(te,q,H){te._forEachChild((Ce,Bt)=>{if(void 0===H[Bt])throw new c.vHH(1002,"")})}class ci{constructor(q,H){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=q,this._rawAsyncValidators=H,this._composedValidatorFn=Ie(this._rawValidators),this._composedAsyncValidatorFn=Dt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(q){this._rawValidators=this._composedValidatorFn=q}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(q){this._rawAsyncValidators=this._composedAsyncValidatorFn=q}get parent(){return this._parent}get valid(){return this.status===ht}get invalid(){return this.status===it}get pending(){return this.status==Qe}get disabled(){return this.status===Re}get enabled(){return this.status!==Re}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(q){this._rawValidators=q,this._composedValidatorFn=Ie(q)}setAsyncValidators(q){this._rawAsyncValidators=q,this._composedAsyncValidatorFn=Dt(q)}addValidators(q){this.setValidators(hi(q,this._rawValidators))}addAsyncValidators(q){this.setAsyncValidators(hi(q,this._rawAsyncValidators))}removeValidators(q){this.setValidators(ne(q,this._rawValidators))}removeAsyncValidators(q){this.setAsyncValidators(ne(q,this._rawAsyncValidators))}hasValidator(q){return ei(this._rawValidators,q)}hasAsyncValidator(q){return ei(this._rawAsyncValidators,q)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(q={}){this.touched=!0,this._parent&&!q.onlySelf&&this._parent.markAsTouched(q)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(q=>q.markAllAsTouched())}markAsUntouched(q={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(H=>{H.markAsUntouched({onlySelf:!0})}),this._parent&&!q.onlySelf&&this._parent._updateTouched(q)}markAsDirty(q={}){this.pristine=!1,this._parent&&!q.onlySelf&&this._parent.markAsDirty(q)}markAsPristine(q={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(H=>{H.markAsPristine({onlySelf:!0})}),this._parent&&!q.onlySelf&&this._parent._updatePristine(q)}markAsPending(q={}){this.status=Qe,!1!==q.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!q.onlySelf&&this._parent.markAsPending(q)}disable(q={}){const H=this._parentMarkedDirty(q.onlySelf);this.status=Re,this.errors=null,this._forEachChild(Ce=>{Ce.disable(Object.assign(Object.assign({},q),{onlySelf:!0}))}),this._updateValue(),!1!==q.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},q),{skipPristineCheck:H})),this._onDisabledChange.forEach(Ce=>Ce(!0))}enable(q={}){const H=this._parentMarkedDirty(q.onlySelf);this.status=ht,this._forEachChild(Ce=>{Ce.enable(Object.assign(Object.assign({},q),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:q.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},q),{skipPristineCheck:H})),this._onDisabledChange.forEach(Ce=>Ce(!1))}_updateAncestors(q){this._parent&&!q.onlySelf&&(this._parent.updateValueAndValidity(q),q.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(q){this._parent=q}getRawValue(){return this.value}updateValueAndValidity(q={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ht||this.status===Qe)&&this._runAsyncValidator(q.emitEvent)),!1!==q.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!q.onlySelf&&this._parent.updateValueAndValidity(q)}_updateTreeValidity(q={emitEvent:!0}){this._forEachChild(H=>H._updateTreeValidity(q)),this.updateValueAndValidity({onlySelf:!0,emitEvent:q.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Re:ht}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(q){if(this.asyncValidator){this.status=Qe,this._hasOwnPendingAsyncValidator=!0;const H=mt(this.asyncValidator(this));this._asyncValidationSubscription=H.subscribe(Ce=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(Ce,{emitEvent:q})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(q,H={}){this.errors=q,this._updateControlsErrors(!1!==H.emitEvent)}get(q){let H=q;return null==H||(Array.isArray(H)||(H=H.split(".")),0===H.length)?null:H.reduce((Ce,Bt)=>Ce&&Ce._find(Bt),this)}getError(q,H){const Ce=H?this.get(H):this;return Ce&&Ce.errors?Ce.errors[q]:null}hasError(q,H){return!!this.getError(q,H)}get root(){let q=this;for(;q._parent;)q=q._parent;return q}_updateControlsErrors(q){this.status=this._calculateStatus(),q&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(q)}_initObservables(){this.valueChanges=new c.vpe,this.statusChanges=new c.vpe}_calculateStatus(){return this._allControlsDisabled()?Re:this.errors?it:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Qe)?Qe:this._anyControlsHaveStatus(it)?it:ht}_anyControlsHaveStatus(q){return this._anyControls(H=>H.status===q)}_anyControlsDirty(){return this._anyControls(q=>q.dirty)}_anyControlsTouched(){return this._anyControls(q=>q.touched)}_updatePristine(q={}){this.pristine=!this._anyControlsDirty(),this._parent&&!q.onlySelf&&this._parent._updatePristine(q)}_updateTouched(q={}){this.touched=this._anyControlsTouched(),this._parent&&!q.onlySelf&&this._parent._updateTouched(q)}_registerOnCollectionChange(q){this._onCollectionChange=q}_setUpdateStrategy(q){si(q)&&null!=q.updateOn&&(this._updateOn=q.updateOn)}_parentMarkedDirty(q){return!q&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(q){return null}}class Ee extends ci{constructor(q,H,Ce){super(We(H),_t(Ce,H)),this.controls=q,this._initObservables(),this._setUpdateStrategy(H),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(q,H){return this.controls[q]?this.controls[q]:(this.controls[q]=H,H.setParent(this),H._registerOnCollectionChange(this._onCollectionChange),H)}addControl(q,H,Ce={}){this.registerControl(q,H),this.updateValueAndValidity({emitEvent:Ce.emitEvent}),this._onCollectionChange()}removeControl(q,H={}){this.controls[q]&&this.controls[q]._registerOnCollectionChange(()=>{}),delete this.controls[q],this.updateValueAndValidity({emitEvent:H.emitEvent}),this._onCollectionChange()}setControl(q,H,Ce={}){this.controls[q]&&this.controls[q]._registerOnCollectionChange(()=>{}),delete this.controls[q],H&&this.registerControl(q,H),this.updateValueAndValidity({emitEvent:Ce.emitEvent}),this._onCollectionChange()}contains(q){return this.controls.hasOwnProperty(q)&&this.controls[q].enabled}setValue(q,H={}){It(this,0,q),Object.keys(q).forEach(Ce=>{Vi(this,!0,Ce),this.controls[Ce].setValue(q[Ce],{onlySelf:!0,emitEvent:H.emitEvent})}),this.updateValueAndValidity(H)}patchValue(q,H={}){null!=q&&(Object.keys(q).forEach(Ce=>{const Bt=this.controls[Ce];Bt&&Bt.patchValue(q[Ce],{onlySelf:!0,emitEvent:H.emitEvent})}),this.updateValueAndValidity(H))}reset(q={},H={}){this._forEachChild((Ce,Bt)=>{Ce.reset(q[Bt],{onlySelf:!0,emitEvent:H.emitEvent})}),this._updatePristine(H),this._updateTouched(H),this.updateValueAndValidity(H)}getRawValue(){return this._reduceChildren({},(q,H,Ce)=>(q[Ce]=H.getRawValue(),q))}_syncPendingControls(){let q=this._reduceChildren(!1,(H,Ce)=>!!Ce._syncPendingControls()||H);return q&&this.updateValueAndValidity({onlySelf:!0}),q}_forEachChild(q){Object.keys(this.controls).forEach(H=>{const Ce=this.controls[H];Ce&&q(Ce,H)})}_setUpControls(){this._forEachChild(q=>{q.setParent(this),q._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(q){for(const[H,Ce]of Object.entries(this.controls))if(this.contains(H)&&q(Ce))return!0;return!1}_reduceValue(){return this._reduceChildren({},(H,Ce,Bt)=>((Ce.enabled||this.disabled)&&(H[Bt]=Ce.value),H))}_reduceChildren(q,H){let Ce=q;return this._forEachChild((Bt,Ii)=>{Ce=H(Ce,Bt,Ii)}),Ce}_allControlsDisabled(){for(const q of Object.keys(this.controls))if(this.controls[q].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(q){return this.controls.hasOwnProperty(q)?this.controls[q]:null}}class qt extends Ee{}function ln(te,q){return[...q.path,te]}function vt(te,q){var H,Ce;Ut(te,q),q.valueAccessor.writeValue(te.value),te.disabled&&(null===(Ce=(H=q.valueAccessor).setDisabledState)||void 0===Ce||Ce.call(H,!0)),function Ni(te,q){q.valueAccessor.registerOnChange(H=>{te._pendingValue=H,te._pendingChange=!0,te._pendingDirty=!0,"change"===te.updateOn&&Li(te,q)})}(te,q),function Sn(te,q){const H=(Ce,Bt)=>{q.valueAccessor.writeValue(Ce),Bt&&q.viewToModelUpdate(Ce)};te.registerOnChange(H),q._registerOnDestroy(()=>{te._unregisterOnChange(H)})}(te,q),function Xt(te,q){q.valueAccessor.registerOnTouched(()=>{te._pendingTouched=!0,"blur"===te.updateOn&&te._pendingChange&&Li(te,q),"submit"!==te.updateOn&&te.markAsTouched()})}(te,q),function Mt(te,q){if(q.valueAccessor.setDisabledState){const H=Ce=>{q.valueAccessor.setDisabledState(Ce)};te.registerOnDisabledChange(H),q._registerOnDestroy(()=>{te._unregisterOnDisabledChange(H)})}}(te,q)}function rt(te,q,H=!0){const Ce=()=>{};q.valueAccessor&&(q.valueAccessor.registerOnChange(Ce),q.valueAccessor.registerOnTouched(Ce)),Oi(te,q),te&&(q._invokeOnDestroyCallbacks(),te._registerOnCollectionChange(()=>{}))}function je(te,q){te.forEach(H=>{H.registerOnValidatorChange&&H.registerOnValidatorChange(q)})}function Ut(te,q){const H=Yt(te);null!==q.validator?te.setValidators(nt(H,q.validator)):"function"==typeof H&&te.setValidators([H]);const Ce=Lt(te);null!==q.asyncValidator?te.setAsyncValidators(nt(Ce,q.asyncValidator)):"function"==typeof Ce&&te.setAsyncValidators([Ce]);const Bt=()=>te.updateValueAndValidity();je(q._rawValidators,Bt),je(q._rawAsyncValidators,Bt)}function Oi(te,q){let H=!1;if(null!==te){if(null!==q.validator){const Bt=Yt(te);if(Array.isArray(Bt)&&Bt.length>0){const Ii=Bt.filter(Ea=>Ea!==q.validator);Ii.length!==Bt.length&&(H=!0,te.setValidators(Ii))}}if(null!==q.asyncValidator){const Bt=Lt(te);if(Array.isArray(Bt)&&Bt.length>0){const Ii=Bt.filter(Ea=>Ea!==q.asyncValidator);Ii.length!==Bt.length&&(H=!0,te.setAsyncValidators(Ii))}}}const Ce=()=>{};return je(q._rawValidators,Ce),je(q._rawAsyncValidators,Ce),H}function Li(te,q){te._pendingDirty&&te.markAsDirty(),te.setValue(te._pendingValue,{emitModelToViewChange:!1}),q.viewToModelUpdate(te._pendingValue),te._pendingChange=!1}function sa(te,q){Ut(te,q)}function yo(te,q){if(!te.hasOwnProperty("model"))return!1;const H=te.model;return!!H.isFirstChange()||!Object.is(q,H.currentValue)}function ma(te,q){te._syncPendingControls(),q.forEach(H=>{const Ce=H.control;"submit"===Ce.updateOn&&Ce._pendingChange&&(H.viewToModelUpdate(Ce._pendingValue),Ce._pendingChange=!1)})}function yn(te,q){if(!q)return null;let H,Ce,Bt;return Array.isArray(q),q.forEach(Ii=>{Ii.constructor===Pe?H=Ii:function Qi(te){return Object.getPrototypeOf(te.constructor)===F}(Ii)?Ce=Ii:Bt=Ii}),Bt||Ce||H||null}const ga={provide:ut,useExisting:(0,c.Gpc)(()=>To)},Zn=(()=>Promise.resolve())();let To=(()=>{class te extends ut{constructor(H,Ce){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new c.vpe,this.form=new Ee({},Xe(H),he(Ce))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(H){Zn.then(()=>{const Ce=this._findContainer(H.path);H.control=Ce.registerControl(H.name,H.control),vt(H.control,H),H.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(H)})}getControl(H){return this.form.get(H.path)}removeControl(H){Zn.then(()=>{const Ce=this._findContainer(H.path);Ce&&Ce.removeControl(H.name),this._directives.delete(H)})}addFormGroup(H){Zn.then(()=>{const Ce=this._findContainer(H.path),Bt=new Ee({});sa(Bt,H),Ce.registerControl(H.name,Bt),Bt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(H){Zn.then(()=>{const Ce=this._findContainer(H.path);Ce&&Ce.removeControl(H.name)})}getFormGroup(H){return this.form.get(H.path)}updateModel(H,Ce){Zn.then(()=>{this.form.get(H.path).setValue(Ce)})}setValue(H){this.control.setValue(H)}onSubmit(H){var Ce;return this.submitted=!0,ma(this.form,this._directives),this.ngSubmit.emit(H),"dialog"===(null===(Ce=null==H?void 0:H.target)||void 0===Ce?void 0:Ce.method)}onReset(){this.resetForm()}resetForm(H){this.form.reset(H),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(H){return H.pop(),H.length?this.form.get(H):this.form}}return te.\u0275fac=function(H){return new(H||te)(c.Y36(Ne,10),c.Y36(yt,10))},te.\u0275dir=c.lG2({type:te,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(H,Ce){1&H&&c.NdJ("submit",function(Ii){return Ce.onSubmit(Ii)})("reset",function(){return Ce.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[c._Bn([ga]),c.qOj]}),te})();function Ia(te,q){const H=te.indexOf(q);H>-1&&te.splice(H,1)}function Qa(te){return"object"==typeof te&&null!==te&&2===Object.keys(te).length&&"value"in te&&"disabled"in te}const No=class extends ci{constructor(q=null,H,Ce){super(We(H),_t(Ce,H)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(q),this._setUpdateStrategy(H),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),si(H)&&(H.nonNullable||H.initialValueIsDefault)&&(this.defaultValue=Qa(q)?q.value:q)}setValue(q,H={}){this.value=this._pendingValue=q,this._onChange.length&&!1!==H.emitModelToViewChange&&this._onChange.forEach(Ce=>Ce(this.value,!1!==H.emitViewToModelChange)),this.updateValueAndValidity(H)}patchValue(q,H={}){this.setValue(q,H)}reset(q=this.defaultValue,H={}){this._applyFormState(q),this.markAsPristine(H),this.markAsUntouched(H),this.setValue(this.value,H),this._pendingChange=!1}_updateValue(){}_anyControls(q){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(q){this._onChange.push(q)}_unregisterOnChange(q){Ia(this._onChange,q)}registerOnDisabledChange(q){this._onDisabledChange.push(q)}_unregisterOnDisabledChange(q){Ia(this._onDisabledChange,q)}_forEachChild(q){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(q){Qa(q)?(this.value=this._pendingValue=q.value,q.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=q}},Nr={provide:Se,useExisting:(0,c.Gpc)(()=>Ya)},lr=(()=>Promise.resolve())();let Ya=(()=>{class te extends Se{constructor(H,Ce,Bt,Ii,Ea){super(),this._changeDetectorRef=Ea,this.control=new No,this._registered=!1,this.update=new c.vpe,this._parent=H,this._setValidators(Ce),this._setAsyncValidators(Bt),this.valueAccessor=yn(0,Ii)}ngOnChanges(H){if(this._checkForErrors(),!this._registered||"name"in H){if(this._registered&&(this._checkName(),this.formDirective)){const Ce=H.name.previousValue;this.formDirective.removeControl({name:Ce,path:this._getPath(Ce)})}this._setUpControl()}"isDisabled"in H&&this._updateDisabled(H),yo(H,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(H){this.viewModel=H,this.update.emit(H)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){vt(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(H){lr.then(()=>{var Ce;this.control.setValue(H,{emitViewToModelChange:!1}),null===(Ce=this._changeDetectorRef)||void 0===Ce||Ce.markForCheck()})}_updateDisabled(H){const Ce=H.isDisabled.currentValue,Bt=0!==Ce&&(0,c.D6c)(Ce);lr.then(()=>{var Ii;Bt&&!this.control.disabled?this.control.disable():!Bt&&this.control.disabled&&this.control.enable(),null===(Ii=this._changeDetectorRef)||void 0===Ii||Ii.markForCheck()})}_getPath(H){return this._parent?ln(H,this._parent):[H]}}return te.\u0275fac=function(H){return new(H||te)(c.Y36(ut,9),c.Y36(Ne,10),c.Y36(yt,10),c.Y36(G,10),c.Y36(c.sBO,8))},te.\u0275dir=c.lG2({type:te,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[c._Bn([Nr]),c.qOj,c.TTD]}),te})(),Br=(()=>{class te{}return te.\u0275fac=function(H){return new(H||te)},te.\u0275dir=c.lG2({type:te,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),te})();const rs={provide:G,useExisting:(0,c.Gpc)(()=>Nn),multi:!0};let Nn=(()=>{class te extends F{writeValue(H){this.setProperty("value",null==H?"":H)}registerOnChange(H){this.onChange=Ce=>{H(""==Ce?null:parseFloat(Ce))}}}return te.\u0275fac=function(){let q;return function(Ce){return(q||(q=c.n5z(te)))(Ce||te)}}(),te.\u0275dir=c.lG2({type:te,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(H,Ce){1&H&&c.NdJ("input",function(Ii){return Ce.onChange(Ii.target.value)})("blur",function(){return Ce.onTouched()})},features:[c._Bn([rs]),c.qOj]}),te})(),an=(()=>{class te{}return te.\u0275fac=function(H){return new(H||te)},te.\u0275mod=c.oAB({type:te}),te.\u0275inj=c.cJS({}),te})();const Do=new c.OlP("NgModelWithFormControlWarning"),Ur={provide:Se,useExisting:(0,c.Gpc)(()=>Ws)};let Ws=(()=>{class te extends Se{constructor(H,Ce,Bt,Ii){super(),this._ngModelWarningConfig=Ii,this.update=new c.vpe,this._ngModelWarningSent=!1,this._setValidators(H),this._setAsyncValidators(Ce),this.valueAccessor=yn(0,Bt)}set isDisabled(H){}ngOnChanges(H){if(this._isControlChanged(H)){const Ce=H.form.previousValue;Ce&&rt(Ce,this,!1),vt(this.form,this),this.form.updateValueAndValidity({emitEvent:!1})}yo(H,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&rt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(H){this.viewModel=H,this.update.emit(H)}_isControlChanged(H){return H.hasOwnProperty("form")}}return te._ngModelWarningSentOnce=!1,te.\u0275fac=function(H){return new(H||te)(c.Y36(Ne,10),c.Y36(yt,10),c.Y36(G,10),c.Y36(Do,8))},te.\u0275dir=c.lG2({type:te,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[c._Bn([Ur]),c.qOj,c.TTD]}),te})();const qs={provide:ut,useExisting:(0,c.Gpc)(()=>Zr)};let Zr=(()=>{class te extends ut{constructor(H,Ce){super(),this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new c.vpe,this._setValidators(H),this._setAsyncValidators(Ce)}ngOnChanges(H){this._checkFormPresent(),H.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Oi(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(H){const Ce=this.form.get(H.path);return vt(Ce,H),Ce.updateValueAndValidity({emitEvent:!1}),this.directives.push(H),Ce}getControl(H){return this.form.get(H.path)}removeControl(H){rt(H.control||null,H,!1),function $i(te,q){const H=te.indexOf(q);H>-1&&te.splice(H,1)}(this.directives,H)}addFormGroup(H){this._setUpFormContainer(H)}removeFormGroup(H){this._cleanUpFormContainer(H)}getFormGroup(H){return this.form.get(H.path)}addFormArray(H){this._setUpFormContainer(H)}removeFormArray(H){this._cleanUpFormContainer(H)}getFormArray(H){return this.form.get(H.path)}updateModel(H,Ce){this.form.get(H.path).setValue(Ce)}onSubmit(H){var Ce;return this.submitted=!0,ma(this.form,this.directives),this.ngSubmit.emit(H),"dialog"===(null===(Ce=null==H?void 0:H.target)||void 0===Ce?void 0:Ce.method)}onReset(){this.resetForm()}resetForm(H){this.form.reset(H),this.submitted=!1}_updateDomValue(){this.directives.forEach(H=>{const Ce=H.control,Bt=this.form.get(H.path);Ce!==Bt&&(rt(Ce||null,H),(te=>te instanceof No)(Bt)&&(vt(Bt,H),H.control=Bt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(H){const Ce=this.form.get(H.path);sa(Ce,H),Ce.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(H){if(this.form){const Ce=this.form.get(H.path);Ce&&function za(te,q){return Oi(te,q)}(Ce,H)&&Ce.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Ut(this.form,this),this._oldForm&&Oi(this._oldForm,this)}_checkFormPresent(){}}return te.\u0275fac=function(H){return new(H||te)(c.Y36(Ne,10),c.Y36(yt,10))},te.\u0275dir=c.lG2({type:te,selectors:[["","formGroup",""]],hostBindings:function(H,Ce){1&H&&c.NdJ("submit",function(Ii){return Ce.onSubmit(Ii)})("reset",function(){return Ce.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[c._Bn([qs]),c.qOj,c.TTD]}),te})();const Uo={provide:Se,useExisting:(0,c.Gpc)(()=>ss)};let ss=(()=>{class te extends Se{constructor(H,Ce,Bt,Ii,Ea){super(),this._ngModelWarningConfig=Ea,this._added=!1,this.update=new c.vpe,this._ngModelWarningSent=!1,this._parent=H,this._setValidators(Ce),this._setAsyncValidators(Bt),this.valueAccessor=yn(0,Ii)}set isDisabled(H){}ngOnChanges(H){this._added||this._setUpControl(),yo(H,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(H){this.viewModel=H,this.update.emit(H)}get path(){return ln(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return te._ngModelWarningSentOnce=!1,te.\u0275fac=function(H){return new(H||te)(c.Y36(ut,13),c.Y36(Ne,10),c.Y36(yt,10),c.Y36(G,10),c.Y36(Do,8))},te.\u0275dir=c.lG2({type:te,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[c._Bn([Uo]),c.qOj,c.TTD]}),te})(),Qo=(()=>{class te{constructor(){this._validator=ie}ngOnChanges(H){if(this.inputName in H){const Ce=this.normalizeInput(H[this.inputName].currentValue);this._enabled=this.enabled(Ce),this._validator=this._enabled?this.createValidator(Ce):ie,this._onChange&&this._onChange()}}validate(H){return this._validator(H)}registerOnValidatorChange(H){this._onChange=H}enabled(H){return null!=H}}return te.\u0275fac=function(H){return new(H||te)},te.\u0275dir=c.lG2({type:te,features:[c.TTD]}),te})();const ur={provide:Ne,useExisting:(0,c.Gpc)(()=>$s),multi:!0},Zo={provide:Ne,useExisting:(0,c.Gpc)(()=>zr),multi:!0};let $s=(()=>{class te extends Qo{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=c.D6c,this.createValidator=H=>at}enabled(H){return H}}return te.\u0275fac=function(){let q;return function(Ce){return(q||(q=c.n5z(te)))(Ce||te)}}(),te.\u0275dir=c.lG2({type:te,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(H,Ce){2&H&&c.uIk("required",Ce._enabled?"":null)},inputs:{required:"required"},features:[c._Bn([ur]),c.qOj]}),te})(),zr=(()=>{class te extends $s{constructor(){super(...arguments),this.createValidator=H=>_e}}return te.\u0275fac=function(){let q;return function(Ce){return(q||(q=c.n5z(te)))(Ce||te)}}(),te.\u0275dir=c.lG2({type:te,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(H,Ce){2&H&&c.uIk("required",Ce._enabled?"":null)},features:[c._Bn([Zo]),c.qOj]}),te})();const Ra={provide:Ne,useExisting:(0,c.Gpc)(()=>Hr),multi:!0};let Hr=(()=>{class te extends Qo{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=H=>H,this.createValidator=H=>qe(H)}}return te.\u0275fac=function(){let q;return function(Ce){return(q||(q=c.n5z(te)))(Ce||te)}}(),te.\u0275dir=c.lG2({type:te,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(H,Ce){2&H&&c.uIk("pattern",Ce._enabled?Ce.pattern:null)},inputs:{pattern:"pattern"},features:[c._Bn([Ra]),c.qOj]}),te})(),ws=(()=>{class te{}return te.\u0275fac=function(H){return new(H||te)},te.\u0275mod=c.oAB({type:te}),te.\u0275inj=c.cJS({imports:[an]}),te})(),_r=(()=>{class te{}return te.\u0275fac=function(H){return new(H||te)},te.\u0275mod=c.oAB({type:te}),te.\u0275inj=c.cJS({imports:[ws]}),te})(),Er=(()=>{class te{static withConfig(H){return{ngModule:te,providers:[{provide:Do,useValue:H.warnOnNgModelWithFormControl}]}}}return te.\u0275fac=function(H){return new(H||te)},te.\u0275mod=c.oAB({type:te}),te.\u0275inj=c.cJS({imports:[ws]}),te})();class Eo extends ci{constructor(q,H,Ce){super(We(H),_t(Ce,H)),this.controls=q,this._initObservables(),this._setUpdateStrategy(H),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(q){return this.controls[this._adjustIndex(q)]}push(q,H={}){this.controls.push(q),this._registerControl(q),this.updateValueAndValidity({emitEvent:H.emitEvent}),this._onCollectionChange()}insert(q,H,Ce={}){this.controls.splice(q,0,H),this._registerControl(H),this.updateValueAndValidity({emitEvent:Ce.emitEvent})}removeAt(q,H={}){let Ce=this._adjustIndex(q);Ce<0&&(Ce=0),this.controls[Ce]&&this.controls[Ce]._registerOnCollectionChange(()=>{}),this.controls.splice(Ce,1),this.updateValueAndValidity({emitEvent:H.emitEvent})}setControl(q,H,Ce={}){let Bt=this._adjustIndex(q);Bt<0&&(Bt=0),this.controls[Bt]&&this.controls[Bt]._registerOnCollectionChange(()=>{}),this.controls.splice(Bt,1),H&&(this.controls.splice(Bt,0,H),this._registerControl(H)),this.updateValueAndValidity({emitEvent:Ce.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(q,H={}){It(this,0,q),q.forEach((Ce,Bt)=>{Vi(this,!1,Bt),this.at(Bt).setValue(Ce,{onlySelf:!0,emitEvent:H.emitEvent})}),this.updateValueAndValidity(H)}patchValue(q,H={}){null!=q&&(q.forEach((Ce,Bt)=>{this.at(Bt)&&this.at(Bt).patchValue(Ce,{onlySelf:!0,emitEvent:H.emitEvent})}),this.updateValueAndValidity(H))}reset(q=[],H={}){this._forEachChild((Ce,Bt)=>{Ce.reset(q[Bt],{onlySelf:!0,emitEvent:H.emitEvent})}),this._updatePristine(H),this._updateTouched(H),this.updateValueAndValidity(H)}getRawValue(){return this.controls.map(q=>q.getRawValue())}clear(q={}){this.controls.length<1||(this._forEachChild(H=>H._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:q.emitEvent}))}_adjustIndex(q){return q<0?q+this.length:q}_syncPendingControls(){let q=this.controls.reduce((H,Ce)=>!!Ce._syncPendingControls()||H,!1);return q&&this.updateValueAndValidity({onlySelf:!0}),q}_forEachChild(q){this.controls.forEach((H,Ce)=>{q(H,Ce)})}_updateValue(){this.value=this.controls.filter(q=>q.enabled||this.disabled).map(q=>q.value)}_anyControls(q){return this.controls.some(H=>H.enabled&&q(H))}_setUpControls(){this._forEachChild(q=>this._registerControl(q))}_allControlsDisabled(){for(const q of this.controls)if(q.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(q){q.setParent(this),q._registerOnCollectionChange(this._onCollectionChange)}_find(q){var H;return null!==(H=this.at(q))&&void 0!==H?H:null}}function Qt(te){return!!te&&(void 0!==te.asyncValidators||void 0!==te.validators||void 0!==te.updateOn)}let Tn=(()=>{class te{constructor(){this.useNonNullable=!1}get nonNullable(){const H=new te;return H.useNonNullable=!0,H}group(H,Ce=null){const Bt=this._reduceControls(H);let Ii={};return Qt(Ce)?Ii=Ce:null!==Ce&&(Ii.validators=Ce.validator,Ii.asyncValidators=Ce.asyncValidator),new Ee(Bt,Ii)}record(H,Ce=null){const Bt=this._reduceControls(H);return new qt(Bt,Ce)}control(H,Ce,Bt){let Ii={};return this.useNonNullable?(Qt(Ce)?Ii=Ce:(Ii.validators=Ce,Ii.asyncValidators=Bt),new No(H,Object.assign(Object.assign({},Ii),{nonNullable:!0}))):new No(H,Ce,Bt)}array(H,Ce,Bt){const Ii=H.map(Ea=>this._createControl(Ea));return new Eo(Ii,Ce,Bt)}_reduceControls(H){const Ce={};return Object.keys(H).forEach(Bt=>{Ce[Bt]=this._createControl(H[Bt])}),Ce}_createControl(H){return H instanceof No||H instanceof ci?H:Array.isArray(H)?this.control(H[0],H.length>1?H[1]:null,H.length>2?H[2]:null):this.control(H)}}return te.\u0275fac=function(H){return new(H||te)},te.\u0275prov=c.Yz7({token:te,factory:te.\u0275fac,providedIn:Er}),te})()},1079:(N,U,C)=>{"use strict";C.d(U,{Bb:()=>hi,XC:()=>Wt,ZL:()=>Lt});var c=C(5664),m=C(3191),e=C(5e3),b=C(508),M=C(727),k=C(7579),F=C(9770),G=C(6451),ee=C(9646),z=C(4968),ue=C(925),ce=C(9808),ke=C(1314),Pe=C(9071),de=C(1159),Ge=C(7429),le=C(3075),Ne=C(3489),yt=C(8675),jt=C(3900),st=C(5698),Te=C(9300),Le=C(4004),at=C(8505),_e=C(1005),xt=C(226);const tt=["panel"];function Ye(ne,Tt){if(1&ne&&(e.TgZ(0,"div",0,1),e.Hsn(2),e.qZA()),2&ne){const Se=Tt.id,ut=e.oxw();e.Q6J("id",ut.id)("ngClass",ut._classList),e.uIk("aria-label",ut.ariaLabel||null)("aria-labelledby",ut._getPanelAriaLabelledby(Se))}}const qe=["*"];let ie=0;class Oe{constructor(Tt,Se){this.source=Tt,this.option=Se}}const mt=(0,b.Kr)(class{}),kt=new e.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function ri(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1}}});let bt=(()=>{class ne extends mt{constructor(Se,ut,ni,ki){super(),this._changeDetectorRef=Se,this._elementRef=ut,this._activeOptionChanges=M.w0.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new e.vpe,this.opened=new e.vpe,this.closed=new e.vpe,this.optionActivated=new e.vpe,this._classList={},this.id="mat-autocomplete-"+ie++,this.inertGroups=(null==ki?void 0:ki.SAFARI)||!1,this._autoActiveFirstOption=!!ni.autoActiveFirstOption,this._autoSelectActiveOption=!!ni.autoSelectActiveOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(Se){this._autoActiveFirstOption=(0,m.Ig)(Se)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(Se){this._autoSelectActiveOption=(0,m.Ig)(Se)}set classList(Se){this._classList=Se&&Se.length?(0,m.du)(Se).reduce((ut,ni)=>(ut[ni]=!0,ut),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new c.s1(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(Se=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[Se]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(Se){this.panel&&(this.panel.nativeElement.scrollTop=Se)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(Se){const ut=new Oe(this,Se);this.optionSelected.emit(ut)}_getPanelAriaLabelledby(Se){return this.ariaLabel?null:this.ariaLabelledby?(Se?Se+" ":"")+this.ariaLabelledby:Se}_setVisibilityClasses(Se){Se[this._visibleClass]=this.showPanel,Se[this._hiddenClass]=!this.showPanel}}return ne.\u0275fac=function(Se){return new(Se||ne)(e.Y36(e.sBO),e.Y36(e.SBq),e.Y36(kt),e.Y36(ue.t4))},ne.\u0275dir=e.lG2({type:ne,viewQuery:function(Se,ut){if(1&Se&&(e.Gf(e.Rgc,7),e.Gf(tt,5)),2&Se){let ni;e.iGM(ni=e.CRH())&&(ut.template=ni.first),e.iGM(ni=e.CRH())&&(ut.panel=ni.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[e.qOj]}),ne})(),Wt=(()=>{class ne extends bt{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return ne.\u0275fac=function(){let Tt;return function(ut){return(Tt||(Tt=e.n5z(ne)))(ut||ne)}}(),ne.\u0275cmp=e.Xpm({type:ne,selectors:[["mat-autocomplete"]],contentQueries:function(Se,ut,ni){if(1&Se&&(e.Suo(ni,b.K7,5),e.Suo(ni,b.ey,5)),2&Se){let ki;e.iGM(ki=e.CRH())&&(ut.optionGroups=ki),e.iGM(ki=e.CRH())&&(ut.options=ki)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[e._Bn([{provide:b.HF,useExisting:ne}]),e.qOj],ngContentSelectors:qe,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(Se,ut){1&Se&&(e.F$t(),e.YNc(0,Ye,3,4,"ng-template"))},dependencies:[ce.mk],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}"],encapsulation:2,changeDetection:0}),ne})();const ye=new e.OlP("mat-autocomplete-scroll-strategy"),Ae={provide:ye,deps:[ke.aV],useFactory:function Xe(ne){return()=>ne.scrollStrategies.reposition()}},he={provide:le.JU,useExisting:(0,e.Gpc)(()=>Lt),multi:!0};let Yt=(()=>{class ne{constructor(Se,ut,ni,ki,dn,ai,ti,Je,Y,X,A){this._element=Se,this._overlay=ut,this._viewContainerRef=ni,this._zone=ki,this._changeDetectorRef=dn,this._dir=ti,this._formField=Je,this._document=Y,this._viewportRuler=X,this._defaults=A,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=M.w0.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new k.x,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=(0,F.P)(()=>{const et=this.autocomplete?this.autocomplete.options:null;return et?et.changes.pipe((0,yt.O)(et),(0,jt.w)(()=>(0,G.T)(...et.map(Fe=>Fe.onSelectionChange)))):this._zone.onStable.pipe((0,st.q)(1),(0,jt.w)(()=>this.optionSelections))}),this._scrollStrategy=ai}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(Se){this._autocompleteDisabled=(0,m.Ig)(Se)}ngAfterViewInit(){const Se=this._getWindow();void 0!==Se&&this._zone.runOutsideAngular(()=>Se.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(Se){Se.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const Se=this._getWindow();void 0!==Se&&Se.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,G.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,Te.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,Te.h)(()=>this._overlayAttached)):(0,ee.of)()).pipe((0,Le.U)(Se=>Se instanceof b.rN?Se:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,G.T)((0,z.R)(this._document,"click"),(0,z.R)(this._document,"auxclick"),(0,z.R)(this._document,"touchend")).pipe((0,Te.h)(Se=>{const ut=(0,ue.sA)(Se),ni=this._formField?this._formField._elementRef.nativeElement:null,ki=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&ut!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!ni||!ni.contains(ut))&&(!ki||!ki.contains(ut))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(ut)}))}writeValue(Se){Promise.resolve(null).then(()=>this._assignOptionValue(Se))}registerOnChange(Se){this._onChange=Se}registerOnTouched(Se){this._onTouched=Se}setDisabledState(Se){this._element.nativeElement.disabled=Se}_handleKeydown(Se){const ut=Se.keyCode,ni=(0,de.Vb)(Se);if(ut===de.hY&&!ni&&Se.preventDefault(),this.activeOption&&ut===de.K5&&this.panelOpen&&!ni)this.activeOption._selectViaInteraction(),this._resetActiveItem(),Se.preventDefault();else if(this.autocomplete){const ki=this.autocomplete._keyManager.activeItem,dn=ut===de.LH||ut===de.JH;ut===de.Mf||dn&&!ni&&this.panelOpen?this.autocomplete._keyManager.onKeydown(Se):dn&&this._canOpen()&&this.openPanel(),(dn||this.autocomplete._keyManager.activeItem!==ki)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(Se){let ut=Se.target,ni=ut.value;"number"===ut.type&&(ni=""==ni?null:parseFloat(ni)),this._previousValue!==ni&&(this._previousValue=ni,this._pendingAutoselectedOption=null,this._onChange(ni),this._canOpen()&&this._document.activeElement===Se.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(Se=!1){this._formField&&"auto"===this._formField.floatLabel&&(Se?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const Se=this._zone.onStable.pipe((0,st.q)(1)),ut=this.autocomplete.options.changes.pipe((0,at.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,_e.g)(0));return(0,G.T)(Se,ut).pipe((0,jt.w)(()=>(this._zone.run(()=>{const ni=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),ni!==this.panelOpen&&(this.panelOpen?this.autocomplete.opened.emit():this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,st.q)(1)).subscribe(ni=>this._setValueAndClose(ni))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(Se){const ut=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(Se):Se;this._updateNativeInputValue(null!=ut?ut:"")}_updateNativeInputValue(Se){this._formField?this._formField._control.value=Se:this._element.nativeElement.value=Se,this._previousValue=Se}_setValueAndClose(Se){const ut=Se?Se.source:this._pendingAutoselectedOption;ut&&(this._clearPreviousSelectedOption(ut),this._assignOptionValue(ut.value),this._onChange(ut.value),this.autocomplete._emitSelectEvent(ut),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(Se){this.autocomplete.options.forEach(ut=>{ut!==Se&&ut.selected&&ut.deselect()})}_attachOverlay(){var Se;let ut=this._overlayRef;ut?(this._positionStrategy.setOrigin(this._getConnectedElement()),ut.updateSize({width:this._getPanelWidth()})):(this._portal=new Ge.UE(this.autocomplete.template,this._viewContainerRef,{id:null===(Se=this._formField)||void 0===Se?void 0:Se.getLabelId()}),ut=this._overlay.create(this._getOverlayConfig()),this._overlayRef=ut,this._handleOverlayEvents(ut),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&ut&&ut.updateSize({width:this._getPanelWidth()})})),ut&&!ut.hasAttached()&&(ut.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const ni=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&ni!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){var Se;return new ke.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(Se=this._defaults)||void 0===Se?void 0:Se.overlayPanelClass})}_getOverlayPosition(){const Se=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(Se),this._positionStrategy=Se,Se}_setStrategyPositions(Se){const ut=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],ni=this._aboveClass,ki=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:ni},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:ni}];let dn;dn="above"===this.position?ki:"below"===this.position?ut:[...ut,...ki],Se.withPositions(dn)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const Se=this.autocomplete;Se.autoActiveFirstOption?Se._keyManager.setFirstItemActive():Se._keyManager.setActiveItem(-1)}_canOpen(){const Se=this._element.nativeElement;return!Se.readOnly&&!Se.disabled&&!this._autocompleteDisabled}_getWindow(){var Se;return(null===(Se=this._document)||void 0===Se?void 0:Se.defaultView)||window}_scrollToOption(Se){const ut=this.autocomplete,ni=(0,b.CB)(Se,ut.options,ut.optionGroups);if(0===Se&&1===ni)ut._setScrollTop(0);else if(ut.panel){const ki=ut.options.toArray()[Se];if(ki){const dn=ki._getHostElement(),ai=(0,b.jH)(dn.offsetTop,dn.offsetHeight,ut._getScrollTop(),ut.panel.nativeElement.offsetHeight);ut._setScrollTop(ai)}}}_handleOverlayEvents(Se){Se.keydownEvents().subscribe(ut=>{var ni;(ut.keyCode===de.hY&&!(0,de.Vb)(ut)||ut.keyCode===de.LH&&(0,de.Vb)(ut,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(null!==(ni=this._valueBeforeAutoSelection)&&void 0!==ni?ni:""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),ut.stopPropagation(),ut.preventDefault())}),Se.outsidePointerEvents().subscribe()}}return ne.\u0275fac=function(Se){return new(Se||ne)(e.Y36(e.SBq),e.Y36(ke.aV),e.Y36(e.s_b),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(ye),e.Y36(xt.Is,8),e.Y36(Ne.G_,9),e.Y36(ce.K0,8),e.Y36(Pe.rL),e.Y36(kt,8))},ne.\u0275dir=e.lG2({type:ne,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[e.TTD]}),ne})(),Lt=(()=>{class ne extends Yt{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return ne.\u0275fac=function(){let Tt;return function(ut){return(Tt||(Tt=e.n5z(ne)))(ut||ne)}}(),ne.\u0275dir=e.lG2({type:ne,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(Se,ut){1&Se&&e.NdJ("focusin",function(){return ut._handleFocus()})("blur",function(){return ut._onTouched()})("input",function(ki){return ut._handleInput(ki)})("keydown",function(ki){return ut._handleKeydown(ki)})("click",function(){return ut._handleClick()}),2&Se&&e.uIk("autocomplete",ut.autocompleteAttribute)("role",ut.autocompleteDisabled?null:"combobox")("aria-autocomplete",ut.autocompleteDisabled?null:"list")("aria-activedescendant",ut.panelOpen&&ut.activeOption?ut.activeOption.id:null)("aria-expanded",ut.autocompleteDisabled?null:ut.panelOpen.toString())("aria-owns",ut.autocompleteDisabled||!ut.panelOpen||null==ut.autocomplete?null:ut.autocomplete.id)("aria-haspopup",ut.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[e._Bn([he]),e.qOj]}),ne})(),hi=(()=>{class ne{}return ne.\u0275fac=function(Se){return new(Se||ne)},ne.\u0275mod=e.oAB({type:ne}),ne.\u0275inj=e.cJS({providers:[Ae],imports:[ke.U8,b.Ng,b.BQ,ce.ez,Pe.ZD,b.Ng,b.BQ]}),ne})()},7423:(N,U,C)=>{"use strict";C.d(U,{lW:()=>z,ot:()=>ce});var c=C(5e3),m=C(508),e=C(5664);const b=["mat-button",""],M=["*"],G=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],ee=(0,m.pj)((0,m.Id)((0,m.Kr)(class{constructor(ke){this._elementRef=ke}})));let z=(()=>{class ke extends ee{constructor(de,Ge,le){super(de),this._focusMonitor=Ge,this._animationMode=le,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const Ne of G)this._hasHostAttributes(Ne)&&this._getHostElement().classList.add(Ne);de.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(de,Ge){de?this._focusMonitor.focusVia(this._getHostElement(),de,Ge):this._getHostElement().focus(Ge)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...de){return de.some(Ge=>this._getHostElement().hasAttribute(Ge))}}return ke.\u0275fac=function(de){return new(de||ke)(c.Y36(c.SBq),c.Y36(e.tE),c.Y36(c.QbO,8))},ke.\u0275cmp=c.Xpm({type:ke,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(de,Ge){if(1&de&&c.Gf(m.wG,5),2&de){let le;c.iGM(le=c.CRH())&&(Ge.ripple=le.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(de,Ge){2&de&&(c.uIk("disabled",Ge.disabled||null),c.ekj("_mat-animation-noopable","NoopAnimations"===Ge._animationMode)("mat-button-disabled",Ge.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[c.qOj],attrs:b,ngContentSelectors:M,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(de,Ge){1&de&&(c.F$t(),c.TgZ(0,"span",0),c.Hsn(1),c.qZA(),c._UZ(2,"span",1)(3,"span",2)),2&de&&(c.xp6(2),c.ekj("mat-button-ripple-round",Ge.isRoundButton||Ge.isIconButton),c.Q6J("matRippleDisabled",Ge._isRippleDisabled())("matRippleCentered",Ge.isIconButton)("matRippleTrigger",Ge._getHostElement()))},dependencies:[m.wG],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}"],encapsulation:2,changeDetection:0}),ke})(),ce=(()=>{class ke{}return ke.\u0275fac=function(de){return new(de||ke)},ke.\u0275mod=c.oAB({type:ke}),ke.\u0275inj=c.cJS({imports:[m.si,m.BQ,m.BQ]}),ke})()},508:(N,U,C)=>{"use strict";C.d(U,{yN:()=>Ne,mZ:()=>yt,_A:()=>ri,rD:()=>Lt,sG:()=>bt,Ad:()=>mt,K7:()=>Et,HF:()=>Fe,Y2:()=>Je,BQ:()=>Te,X2:()=>Ai,uc:()=>ne,XK:()=>nt,ey:()=>Bi,Ng:()=>Hi,rN:()=>di,nP:()=>A,us:()=>et,wG:()=>Y,si:()=>X,IR:()=>ai,CB:()=>xi,jH:()=>$n,pj:()=>tt,Kr:()=>Ye,Id:()=>xt,FD:()=>ie,dB:()=>Oe,sb:()=>qe,E0:()=>ei});var c=C(5e3),m=C(226),b=C(9808),M=C(925),k=C(5664),F=C(3191),G=C(9751),ee=C(7579),z=C(8675),ue=C(1159);function Pe(ht,it){if(1&ht&&c._UZ(0,"mat-pseudo-checkbox",4),2&ht){const Qe=c.oxw();c.Q6J("state",Qe.selected?"checked":"unchecked")("disabled",Qe.disabled)}}function de(ht,it){if(1&ht&&(c.TgZ(0,"span",5),c._uU(1),c.qZA()),2&ht){const Qe=c.oxw();c.xp6(1),c.hij("(",Qe.group.label,")")}}const Ge=["*"];let Ne=(()=>{class ht{}return ht.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",ht.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",ht.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",ht.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",ht})(),yt=(()=>{class ht{}return ht.COMPLEX="375ms",ht.ENTERING="225ms",ht.EXITING="195ms",ht})();const st=new c.OlP("mat-sanity-checks",{providedIn:"root",factory:function jt(){return!0}});let Te=(()=>{class ht{constructor(Qe,Re,We){this._sanityChecks=Re,this._document=We,this._hasDoneGlobalChecks=!1,Qe._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(Qe){return!(0,M.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[Qe])}}return ht.\u0275fac=function(Qe){return new(Qe||ht)(c.LFG(k.qm),c.LFG(st,8),c.LFG(b.K0))},ht.\u0275mod=c.oAB({type:ht}),ht.\u0275inj=c.cJS({imports:[m.vT,m.vT]}),ht})();function xt(ht){return class extends ht{constructor(...it){super(...it),this._disabled=!1}get disabled(){return this._disabled}set disabled(it){this._disabled=(0,F.Ig)(it)}}}function tt(ht,it){return class extends ht{constructor(...Qe){super(...Qe),this.defaultColor=it,this.color=it}get color(){return this._color}set color(Qe){const Re=Qe||this.defaultColor;Re!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),Re&&this._elementRef.nativeElement.classList.add(`mat-${Re}`),this._color=Re)}}}function Ye(ht){return class extends ht{constructor(...it){super(...it),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(it){this._disableRipple=(0,F.Ig)(it)}}}function qe(ht,it=0){return class extends ht{constructor(...Qe){super(...Qe),this._tabIndex=it,this.defaultTabIndex=it}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(Qe){this._tabIndex=null!=Qe?(0,F.su)(Qe):this.defaultTabIndex}}}function ie(ht){return class extends ht{constructor(...it){super(...it),this.errorState=!1}updateErrorState(){const it=this.errorState,Ie=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);Ie!==it&&(this.errorState=Ie,this.stateChanges.next())}}}function Oe(ht){return class extends ht{constructor(...it){super(...it),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new G.y(Qe=>{this._isInitialized?this._notifySubscriber(Qe):this._pendingSubscribers.push(Qe)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(it){it.next(),it.complete()}}}const mt=new c.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function kt(){return(0,c.f3M)(c.soG)}});class ri{constructor(){this._localeChanges=new ee.x,this.localeChanges=this._localeChanges}getValidDateOrNull(it){return this.isDateInstance(it)&&this.isValid(it)?it:null}deserialize(it){return null==it||this.isDateInstance(it)&&this.isValid(it)?it:this.invalid()}setLocale(it){this.locale=it,this._localeChanges.next()}compareDate(it,Qe){return this.getYear(it)-this.getYear(Qe)||this.getMonth(it)-this.getMonth(Qe)||this.getDate(it)-this.getDate(Qe)}sameDate(it,Qe){if(it&&Qe){let Re=this.isValid(it),We=this.isValid(Qe);return Re&&We?!this.compareDate(it,Qe):Re==We}return it==Qe}clampDate(it,Qe,Re){return Qe&&this.compareDate(it,Qe)<0?Qe:Re&&this.compareDate(it,Re)>0?Re:it}}const bt=new c.OlP("mat-date-formats"),Wt=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function ye(ht,it){const Qe=Array(ht);for(let Re=0;Re{class ht extends ri{constructor(Qe,Re){super(),this.useUtcForDisplay=!1,super.setLocale(Qe)}getYear(Qe){return Qe.getFullYear()}getMonth(Qe){return Qe.getMonth()}getDate(Qe){return Qe.getDate()}getDayOfWeek(Qe){return Qe.getDay()}getMonthNames(Qe){const Re=new Intl.DateTimeFormat(this.locale,{month:Qe,timeZone:"utc"});return ye(12,We=>this._format(Re,new Date(2017,We,1)))}getDateNames(){const Qe=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return ye(31,Re=>this._format(Qe,new Date(2017,0,Re+1)))}getDayOfWeekNames(Qe){const Re=new Intl.DateTimeFormat(this.locale,{weekday:Qe,timeZone:"utc"});return ye(7,We=>this._format(Re,new Date(2017,0,We+1)))}getYearName(Qe){const Re=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(Re,Qe)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(Qe){return this.getDate(this._createDateWithOverflow(this.getYear(Qe),this.getMonth(Qe)+1,0))}clone(Qe){return new Date(Qe.getTime())}createDate(Qe,Re,We){let Ie=this._createDateWithOverflow(Qe,Re,We);return Ie.getMonth(),Ie}today(){return new Date}parse(Qe,Re){return"number"==typeof Qe?new Date(Qe):Qe?new Date(Date.parse(Qe)):null}format(Qe,Re){if(!this.isValid(Qe))throw Error("NativeDateAdapter: Cannot format invalid date.");const We=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},Re),{timeZone:"utc"}));return this._format(We,Qe)}addCalendarYears(Qe,Re){return this.addCalendarMonths(Qe,12*Re)}addCalendarMonths(Qe,Re){let We=this._createDateWithOverflow(this.getYear(Qe),this.getMonth(Qe)+Re,this.getDate(Qe));return this.getMonth(We)!=((this.getMonth(Qe)+Re)%12+12)%12&&(We=this._createDateWithOverflow(this.getYear(We),this.getMonth(We),0)),We}addCalendarDays(Qe,Re){return this._createDateWithOverflow(this.getYear(Qe),this.getMonth(Qe),this.getDate(Qe)+Re)}toIso8601(Qe){return[Qe.getUTCFullYear(),this._2digit(Qe.getUTCMonth()+1),this._2digit(Qe.getUTCDate())].join("-")}deserialize(Qe){if("string"==typeof Qe){if(!Qe)return null;if(Wt.test(Qe)){let Re=new Date(Qe);if(this.isValid(Re))return Re}}return super.deserialize(Qe)}isDateInstance(Qe){return Qe instanceof Date}isValid(Qe){return!isNaN(Qe.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(Qe,Re,We){const Ie=new Date;return Ie.setFullYear(Qe,Re,We),Ie.setHours(0,0,0,0),Ie}_2digit(Qe){return("00"+Qe).slice(-2)}_format(Qe,Re){const We=new Date;return We.setUTCFullYear(Re.getFullYear(),Re.getMonth(),Re.getDate()),We.setUTCHours(Re.getHours(),Re.getMinutes(),Re.getSeconds(),Re.getMilliseconds()),Qe.format(We)}}return ht.\u0275fac=function(Qe){return new(Qe||ht)(c.LFG(mt,8),c.LFG(M.t4))},ht.\u0275prov=c.Yz7({token:ht,factory:ht.\u0275fac}),ht})();const Ae={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let he=(()=>{class ht{}return ht.\u0275fac=function(Qe){return new(Qe||ht)},ht.\u0275mod=c.oAB({type:ht}),ht.\u0275inj=c.cJS({providers:[{provide:ri,useClass:Xe}]}),ht})(),nt=(()=>{class ht{}return ht.\u0275fac=function(Qe){return new(Qe||ht)},ht.\u0275mod=c.oAB({type:ht}),ht.\u0275inj=c.cJS({providers:[{provide:bt,useValue:Ae}],imports:[he]}),ht})(),Lt=(()=>{class ht{isErrorState(Qe,Re){return!!(Qe&&Qe.invalid&&(Qe.touched||Re&&Re.submitted))}}return ht.\u0275fac=function(Qe){return new(Qe||ht)},ht.\u0275prov=c.Yz7({token:ht,factory:ht.\u0275fac,providedIn:"root"}),ht})(),Ai=(()=>{class ht{}return ht.\u0275fac=function(Qe){return new(Qe||ht)},ht.\u0275dir=c.lG2({type:ht,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),ht})();function ei(ht,it,Qe="mat"){ht.changes.pipe((0,z.O)(ht)).subscribe(({length:Re})=>{hi(it,`${Qe}-2-line`,!1),hi(it,`${Qe}-3-line`,!1),hi(it,`${Qe}-multi-line`,!1),2===Re||3===Re?hi(it,`${Qe}-${Re}-line`,!0):Re>3&&hi(it,`${Qe}-multi-line`,!0)})}function hi(ht,it,Qe){ht.nativeElement.classList.toggle(it,Qe)}let ne=(()=>{class ht{}return ht.\u0275fac=function(Qe){return new(Qe||ht)},ht.\u0275mod=c.oAB({type:ht}),ht.\u0275inj=c.cJS({imports:[Te,Te]}),ht})();class Tt{constructor(it,Qe,Re,We=!1){this._renderer=it,this.element=Qe,this.config=Re,this._animationForciblyDisabledThroughCss=We,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Se={enterDuration:225,exitDuration:150},ni=(0,M.i$)({passive:!0}),ki=["mousedown","touchstart"],dn=["mouseup","mouseleave","touchend","touchcancel"];class ai{constructor(it,Qe,Re,We){this._target=it,this._ngZone=Qe,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,We.isBrowser&&(this._containerElement=(0,F.fI)(Re))}fadeInRipple(it,Qe,Re={}){const We=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Ie=Object.assign(Object.assign({},Se),Re.animation);Re.centered&&(it=We.left+We.width/2,Qe=We.top+We.height/2);const _t=Re.radius||function ti(ht,it,Qe){const Re=Math.max(Math.abs(ht-Qe.left),Math.abs(ht-Qe.right)),We=Math.max(Math.abs(it-Qe.top),Math.abs(it-Qe.bottom));return Math.sqrt(Re*Re+We*We)}(it,Qe,We),Dt=it-We.left,si=Qe-We.top,Vi=Ie.enterDuration,It=document.createElement("div");It.classList.add("mat-ripple-element"),It.style.left=Dt-_t+"px",It.style.top=si-_t+"px",It.style.height=2*_t+"px",It.style.width=2*_t+"px",null!=Re.color&&(It.style.backgroundColor=Re.color),It.style.transitionDuration=`${Vi}ms`,this._containerElement.appendChild(It);const ci=window.getComputedStyle(It),pt=ci.transitionDuration,ot="none"===ci.transitionProperty||"0s"===pt||"0s, 0s"===pt,qt=new Tt(this,It,Re,ot);It.style.transform="scale3d(1, 1, 1)",qt.state=0,Re.persistent||(this._mostRecentTransientRipple=qt);let un=null;return!ot&&(Vi||Ie.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const ln=()=>this._finishRippleTransition(qt),vt=()=>this._destroyRipple(qt);It.addEventListener("transitionend",ln),It.addEventListener("transitioncancel",vt),un={onTransitionEnd:ln,onTransitionCancel:vt}}),this._activeRipples.set(qt,un),(ot||!Vi)&&this._finishRippleTransition(qt),qt}fadeOutRipple(it){if(2===it.state||3===it.state)return;const Qe=it.element,Re=Object.assign(Object.assign({},Se),it.config.animation);Qe.style.transitionDuration=`${Re.exitDuration}ms`,Qe.style.opacity="0",it.state=2,(it._animationForciblyDisabledThroughCss||!Re.exitDuration)&&this._finishRippleTransition(it)}fadeOutAll(){this._getActiveRipples().forEach(it=>it.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(it=>{it.config.persistent||it.fadeOut()})}setupTriggerEvents(it){const Qe=(0,F.fI)(it);!Qe||Qe===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=Qe,this._registerEvents(ki))}handleEvent(it){"mousedown"===it.type?this._onMousedown(it):"touchstart"===it.type?this._onTouchStart(it):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(dn),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(it){0===it.state?this._startFadeOutTransition(it):2===it.state&&this._destroyRipple(it)}_startFadeOutTransition(it){const Qe=it===this._mostRecentTransientRipple,{persistent:Re}=it.config;it.state=1,!Re&&(!Qe||!this._isPointerDown)&&it.fadeOut()}_destroyRipple(it){var Qe;const Re=null!==(Qe=this._activeRipples.get(it))&&void 0!==Qe?Qe:null;this._activeRipples.delete(it),this._activeRipples.size||(this._containerRect=null),it===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),it.state=3,null!==Re&&(it.element.removeEventListener("transitionend",Re.onTransitionEnd),it.element.removeEventListener("transitioncancel",Re.onTransitionCancel)),it.element.remove()}_onMousedown(it){const Qe=(0,k.X6)(it),Re=this._lastTouchStartEvent&&Date.now(){!it.config.persistent&&(1===it.state||it.config.terminateOnPointerUp&&0===it.state)&&it.fadeOut()}))}_registerEvents(it){this._ngZone.runOutsideAngular(()=>{it.forEach(Qe=>{this._triggerElement.addEventListener(Qe,this,ni)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&(ki.forEach(it=>{this._triggerElement.removeEventListener(it,this,ni)}),this._pointerUpEventsRegistered&&dn.forEach(it=>{this._triggerElement.removeEventListener(it,this,ni)}))}}const Je=new c.OlP("mat-ripple-global-options");let Y=(()=>{class ht{constructor(Qe,Re,We,Ie,_t){this._elementRef=Qe,this._animationMode=_t,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Ie||{},this._rippleRenderer=new ai(this,Re,Qe,We)}get disabled(){return this._disabled}set disabled(Qe){Qe&&this.fadeOutAllNonPersistent(),this._disabled=Qe,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(Qe){this._trigger=Qe,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(Qe,Re=0,We){return"number"==typeof Qe?this._rippleRenderer.fadeInRipple(Qe,Re,Object.assign(Object.assign({},this.rippleConfig),We)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),Qe))}}return ht.\u0275fac=function(Qe){return new(Qe||ht)(c.Y36(c.SBq),c.Y36(c.R0b),c.Y36(M.t4),c.Y36(Je,8),c.Y36(c.QbO,8))},ht.\u0275dir=c.lG2({type:ht,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(Qe,Re){2&Qe&&c.ekj("mat-ripple-unbounded",Re.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),ht})(),X=(()=>{class ht{}return ht.\u0275fac=function(Qe){return new(Qe||ht)},ht.\u0275mod=c.oAB({type:ht}),ht.\u0275inj=c.cJS({imports:[Te,Te]}),ht})(),A=(()=>{class ht{constructor(Qe){this._animationMode=Qe,this.state="unchecked",this.disabled=!1}}return ht.\u0275fac=function(Qe){return new(Qe||ht)(c.Y36(c.QbO,8))},ht.\u0275cmp=c.Xpm({type:ht,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(Qe,Re){2&Qe&&c.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===Re.state)("mat-pseudo-checkbox-checked","checked"===Re.state)("mat-pseudo-checkbox-disabled",Re.disabled)("_mat-animation-noopable","NoopAnimations"===Re._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(Qe,Re){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}'],encapsulation:2,changeDetection:0}),ht})(),et=(()=>{class ht{}return ht.\u0275fac=function(Qe){return new(Qe||ht)},ht.\u0275mod=c.oAB({type:ht}),ht.\u0275inj=c.cJS({imports:[Te]}),ht})();const Fe=new c.OlP("MAT_OPTION_PARENT_COMPONENT"),Et=new c.OlP("MatOptgroup");let _i=0;class di{constructor(it,Qe=!1){this.source=it,this.isUserInput=Qe}}let zt=(()=>{class ht{constructor(Qe,Re,We,Ie){this._element=Qe,this._changeDetectorRef=Re,this._parent=We,this.group=Ie,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+_i++,this.onSelectionChange=new c.vpe,this._stateChanges=new ee.x}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(Qe){this._disabled=(0,F.Ig)(Qe)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(Qe,Re){const We=this._getHostElement();"function"==typeof We.focus&&We.focus(Re)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(Qe){(Qe.keyCode===ue.K5||Qe.keyCode===ue.L_)&&!(0,ue.Vb)(Qe)&&(this._selectViaInteraction(),Qe.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const Qe=this.viewValue;Qe!==this._mostRecentViewValue&&(this._mostRecentViewValue=Qe,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(Qe=!1){this.onSelectionChange.emit(new di(this,Qe))}}return ht.\u0275fac=function(Qe){c.$Z()},ht.\u0275dir=c.lG2({type:ht,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),ht})(),Bi=(()=>{class ht extends zt{constructor(Qe,Re,We,Ie){super(Qe,Re,We,Ie)}}return ht.\u0275fac=function(Qe){return new(Qe||ht)(c.Y36(c.SBq),c.Y36(c.sBO),c.Y36(Fe,8),c.Y36(Et,8))},ht.\u0275cmp=c.Xpm({type:ht,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(Qe,Re){1&Qe&&c.NdJ("click",function(){return Re._selectViaInteraction()})("keydown",function(Ie){return Re._handleKeydown(Ie)}),2&Qe&&(c.Ikx("id",Re.id),c.uIk("tabindex",Re._getTabIndex())("aria-selected",Re._getAriaSelected())("aria-disabled",Re.disabled.toString()),c.ekj("mat-selected",Re.selected)("mat-option-multiple",Re.multiple)("mat-active",Re.active)("mat-option-disabled",Re.disabled))},exportAs:["matOption"],features:[c.qOj],ngContentSelectors:Ge,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(Qe,Re){1&Qe&&(c.F$t(),c.YNc(0,Pe,1,2,"mat-pseudo-checkbox",0),c.TgZ(1,"span",1),c.Hsn(2),c.qZA(),c.YNc(3,de,2,1,"span",2),c._UZ(4,"div",3)),2&Qe&&(c.Q6J("ngIf",Re.multiple),c.xp6(3),c.Q6J("ngIf",Re.group&&Re.group._inert),c.xp6(1),c.Q6J("matRippleTrigger",Re._getHostElement())("matRippleDisabled",Re.disabled||Re.disableRipple))},dependencies:[Y,b.O5,A],styles:['.mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option.mat-active::before{content:""}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{right:auto;left:16px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}'],encapsulation:2,changeDetection:0}),ht})();function xi(ht,it,Qe){if(Qe.length){let Re=it.toArray(),We=Qe.toArray(),Ie=0;for(let _t=0;_tQe+Re?Math.max(0,ht-Re+it):Qe}let Hi=(()=>{class ht{}return ht.\u0275fac=function(Qe){return new(Qe||ht)},ht.\u0275mod=c.oAB({type:ht}),ht.\u0275inj=c.cJS({imports:[X,b.ez,Te,et]}),ht})()},4834:(N,U,C)=>{"use strict";C.d(U,{d:()=>b,t:()=>M});var c=C(5e3),m=C(3191),e=C(508);let b=(()=>{class k{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(G){this._vertical=(0,m.Ig)(G)}get inset(){return this._inset}set inset(G){this._inset=(0,m.Ig)(G)}}return k.\u0275fac=function(G){return new(G||k)},k.\u0275cmp=c.Xpm({type:k,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(G,ee){2&G&&(c.uIk("aria-orientation",ee.vertical?"vertical":"horizontal"),c.ekj("mat-divider-vertical",ee.vertical)("mat-divider-horizontal",!ee.vertical)("mat-divider-inset",ee.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(G,ee){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0}),k})(),M=(()=>{class k{}return k.\u0275fac=function(G){return new(G||k)},k.\u0275mod=c.oAB({type:k}),k.\u0275inj=c.cJS({imports:[e.BQ,e.BQ]}),k})()},1125:(N,U,C)=>{"use strict";C.d(U,{pp:()=>ei,To:()=>hi,ib:()=>Xe,yz:()=>Yt,yK:()=>Ai});var c=C(5e3),m=C(3191),e=C(7579),b=C(727),M=C(449);let k=0;const F=new c.OlP("CdkAccordion");let G=(()=>{class ne{constructor(){this._stateChanges=new e.x,this._openCloseAllActions=new e.x,this.id="cdk-accordion-"+k++,this._multi=!1}get multi(){return this._multi}set multi(Se){this._multi=(0,m.Ig)(Se)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(Se){this._stateChanges.next(Se)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return ne.\u0275fac=function(Se){return new(Se||ne)},ne.\u0275dir=c.lG2({type:ne,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[c._Bn([{provide:F,useExisting:ne}]),c.TTD]}),ne})(),ee=0,z=(()=>{class ne{constructor(Se,ut,ni){this.accordion=Se,this._changeDetectorRef=ut,this._expansionDispatcher=ni,this._openCloseAllSubscription=b.w0.EMPTY,this.closed=new c.vpe,this.opened=new c.vpe,this.destroyed=new c.vpe,this.expandedChange=new c.vpe,this.id="cdk-accordion-child-"+ee++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=ni.listen((ki,dn)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===dn&&this.id!==ki&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(Se){Se=(0,m.Ig)(Se),this._expanded!==Se&&(this._expanded=Se,this.expandedChange.emit(Se),Se?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(Se){this._disabled=(0,m.Ig)(Se)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(Se=>{this.disabled||(this.expanded=Se)})}}return ne.\u0275fac=function(Se){return new(Se||ne)(c.Y36(F,12),c.Y36(c.sBO),c.Y36(M.A8))},ne.\u0275dir=c.lG2({type:ne,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[c._Bn([{provide:F,useValue:void 0}])]}),ne})(),ue=(()=>{class ne{}return ne.\u0275fac=function(Se){return new(Se||ne)},ne.\u0275mod=c.oAB({type:ne}),ne.\u0275inj=c.cJS({}),ne})();var ce=C(7429),ke=C(9808),Pe=C(508),de=C(5664),Ge=C(1884),le=C(8675),Ne=C(9300),yt=C(5698),jt=C(1159),st=C(515),Te=C(6451),Le=C(1777);const at=["body"];function _e(ne,Tt){}const xt=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],tt=["mat-expansion-panel-header","*","mat-action-row"];function Ye(ne,Tt){if(1&ne&&c._UZ(0,"span",2),2&ne){const Se=c.oxw();c.Q6J("@indicatorRotate",Se._getExpandedState())}}const qe=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],ie=["mat-panel-title","mat-panel-description","*"],Oe=new c.OlP("MAT_ACCORDION"),mt="225ms cubic-bezier(0.4,0.0,0.2,1)",kt={indicatorRotate:(0,Le.X$)("indicatorRotate",[(0,Le.SB)("collapsed, void",(0,Le.oB)({transform:"rotate(0deg)"})),(0,Le.SB)("expanded",(0,Le.oB)({transform:"rotate(180deg)"})),(0,Le.eR)("expanded <=> collapsed, void => collapsed",(0,Le.jt)(mt))]),bodyExpansion:(0,Le.X$)("bodyExpansion",[(0,Le.SB)("collapsed, void",(0,Le.oB)({height:"0px",visibility:"hidden"})),(0,Le.SB)("expanded",(0,Le.oB)({height:"*",visibility:"visible"})),(0,Le.eR)("expanded <=> collapsed, void => collapsed",(0,Le.jt)(mt))])},ri=new c.OlP("MAT_EXPANSION_PANEL");let bt=(()=>{class ne{constructor(Se,ut){this._template=Se,this._expansionPanel=ut}}return ne.\u0275fac=function(Se){return new(Se||ne)(c.Y36(c.Rgc),c.Y36(ri,8))},ne.\u0275dir=c.lG2({type:ne,selectors:[["ng-template","matExpansionPanelContent",""]]}),ne})(),Wt=0;const ye=new c.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let Xe=(()=>{class ne extends z{constructor(Se,ut,ni,ki,dn,ai,ti){super(Se,ut,ni),this._viewContainerRef=ki,this._animationMode=ai,this._hideToggle=!1,this.afterExpand=new c.vpe,this.afterCollapse=new c.vpe,this._inputChanges=new e.x,this._headerId="mat-expansion-panel-header-"+Wt++,this._bodyAnimationDone=new e.x,this.accordion=Se,this._document=dn,this._bodyAnimationDone.pipe((0,Ge.x)((Je,Y)=>Je.fromState===Y.fromState&&Je.toState===Y.toState)).subscribe(Je=>{"void"!==Je.fromState&&("expanded"===Je.toState?this.afterExpand.emit():"collapsed"===Je.toState&&this.afterCollapse.emit())}),ti&&(this.hideToggle=ti.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(Se){this._hideToggle=(0,m.Ig)(Se)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(Se){this._togglePosition=Se}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe((0,le.O)(null),(0,Ne.h)(()=>this.expanded&&!this._portal),(0,yt.q)(1)).subscribe(()=>{this._portal=new ce.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(Se){this._inputChanges.next(Se)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const Se=this._document.activeElement,ut=this._body.nativeElement;return Se===ut||ut.contains(Se)}return!1}}return ne.\u0275fac=function(Se){return new(Se||ne)(c.Y36(Oe,12),c.Y36(c.sBO),c.Y36(M.A8),c.Y36(c.s_b),c.Y36(ke.K0),c.Y36(c.QbO,8),c.Y36(ye,8))},ne.\u0275cmp=c.Xpm({type:ne,selectors:[["mat-expansion-panel"]],contentQueries:function(Se,ut,ni){if(1&Se&&c.Suo(ni,bt,5),2&Se){let ki;c.iGM(ki=c.CRH())&&(ut._lazyContent=ki.first)}},viewQuery:function(Se,ut){if(1&Se&&c.Gf(at,5),2&Se){let ni;c.iGM(ni=c.CRH())&&(ut._body=ni.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(Se,ut){2&Se&&c.ekj("mat-expanded",ut.expanded)("_mat-animation-noopable","NoopAnimations"===ut._animationMode)("mat-expansion-panel-spacing",ut._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[c._Bn([{provide:Oe,useValue:void 0},{provide:ri,useExisting:ne}]),c.qOj,c.TTD],ngContentSelectors:tt,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(Se,ut){1&Se&&(c.F$t(xt),c.Hsn(0),c.TgZ(1,"div",0,1),c.NdJ("@bodyExpansion.done",function(ki){return ut._bodyAnimationDone.next(ki)}),c.TgZ(3,"div",2),c.Hsn(4,1),c.YNc(5,_e,0,0,"ng-template",3),c.qZA(),c.Hsn(6,2),c.qZA()),2&Se&&(c.xp6(1),c.Q6J("@bodyExpansion",ut._getExpandedState())("id",ut.id),c.uIk("aria-labelledby",ut._headerId),c.xp6(4),c.Q6J("cdkPortalOutlet",ut._portal))},dependencies:[ce.Pl],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[kt.bodyExpansion]},changeDetection:0}),ne})();class he{}const nt=(0,Pe.sb)(he);let Yt=(()=>{class ne extends nt{constructor(Se,ut,ni,ki,dn,ai,ti){super(),this.panel=Se,this._element=ut,this._focusMonitor=ni,this._changeDetectorRef=ki,this._animationMode=ai,this._parentChangeSubscription=b.w0.EMPTY;const Je=Se.accordion?Se.accordion._stateChanges.pipe((0,Ne.h)(Y=>!(!Y.hideToggle&&!Y.togglePosition))):st.E;this.tabIndex=parseInt(ti||"")||0,this._parentChangeSubscription=(0,Te.T)(Se.opened,Se.closed,Je,Se._inputChanges.pipe((0,Ne.h)(Y=>!!(Y.hideToggle||Y.disabled||Y.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),Se.closed.pipe((0,Ne.h)(()=>Se._containsFocus())).subscribe(()=>ni.focusVia(ut,"program")),dn&&(this.expandedHeight=dn.expandedHeight,this.collapsedHeight=dn.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const Se=this._isExpanded();return Se&&this.expandedHeight?this.expandedHeight:!Se&&this.collapsedHeight?this.collapsedHeight:null}_keydown(Se){switch(Se.keyCode){case jt.L_:case jt.K5:(0,jt.Vb)(Se)||(Se.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(Se))}}focus(Se,ut){Se?this._focusMonitor.focusVia(this._element,Se,ut):this._element.nativeElement.focus(ut)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(Se=>{Se&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return ne.\u0275fac=function(Se){return new(Se||ne)(c.Y36(Xe,1),c.Y36(c.SBq),c.Y36(de.tE),c.Y36(c.sBO),c.Y36(ye,8),c.Y36(c.QbO,8),c.$8M("tabindex"))},ne.\u0275cmp=c.Xpm({type:ne,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(Se,ut){1&Se&&c.NdJ("click",function(){return ut._toggle()})("keydown",function(ki){return ut._keydown(ki)}),2&Se&&(c.uIk("id",ut.panel._headerId)("tabindex",ut.tabIndex)("aria-controls",ut._getPanelId())("aria-expanded",ut._isExpanded())("aria-disabled",ut.panel.disabled),c.Udp("height",ut._getHeaderHeight()),c.ekj("mat-expanded",ut._isExpanded())("mat-expansion-toggle-indicator-after","after"===ut._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===ut._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===ut._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[c.qOj],ngContentSelectors:ie,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(Se,ut){1&Se&&(c.F$t(qe),c.TgZ(0,"span",0),c.Hsn(1),c.Hsn(2,1),c.Hsn(3,2),c.qZA(),c.YNc(4,Ye,1,1,"span",1)),2&Se&&(c.ekj("mat-content-hide-toggle",!ut._showToggle()),c.xp6(4),c.Q6J("ngIf",ut._showToggle()))},dependencies:[ke.O5],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[kt.indicatorRotate]},changeDetection:0}),ne})(),Ai=(()=>{class ne{}return ne.\u0275fac=function(Se){return new(Se||ne)},ne.\u0275dir=c.lG2({type:ne,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),ne})(),ei=(()=>{class ne extends G{constructor(){super(...arguments),this._ownHeaders=new c.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(Se){this._hideToggle=(0,m.Ig)(Se)}ngAfterContentInit(){this._headers.changes.pipe((0,le.O)(this._headers)).subscribe(Se=>{this._ownHeaders.reset(Se.filter(ut=>ut.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new de.Em(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(Se){this._keyManager.onKeydown(Se)}_handleHeaderFocus(Se){this._keyManager.updateActiveItem(Se)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return ne.\u0275fac=function(){let Tt;return function(ut){return(Tt||(Tt=c.n5z(ne)))(ut||ne)}}(),ne.\u0275dir=c.lG2({type:ne,selectors:[["mat-accordion"]],contentQueries:function(Se,ut,ni){if(1&Se&&c.Suo(ni,Yt,5),2&Se){let ki;c.iGM(ki=c.CRH())&&(ut._headers=ki)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(Se,ut){2&Se&&c.ekj("mat-accordion-multi",ut.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[c._Bn([{provide:Oe,useExisting:ne}]),c.qOj]}),ne})(),hi=(()=>{class ne{}return ne.\u0275fac=function(Se){return new(Se||ne)},ne.\u0275mod=c.oAB({type:ne}),ne.\u0275inj=c.cJS({imports:[ke.ez,Pe.BQ,ue,ce.eL]}),ne})()},3489:(N,U,C)=>{"use strict";C.d(U,{Eo:()=>bt,G_:()=>dn,KE:()=>ai,R9:()=>ne,TO:()=>kt,bx:()=>nt,hX:()=>Yt,lN:()=>ti,o2:()=>ki});var c=C(7144),m=C(9808),e=C(5e3),b=C(508),M=C(3191),k=C(7579),F=C(6451),G=C(4968),ee=C(8675),z=C(2722),ue=C(5698),ce=C(1777),ke=C(226),Pe=C(925);const de=["connectionContainer"],Ge=["inputContainer"],le=["label"];function Ne(Je,Y){1&Je&&(e.ynx(0),e.TgZ(1,"div",14),e._UZ(2,"div",15)(3,"div",16)(4,"div",17),e.qZA(),e.TgZ(5,"div",18),e._UZ(6,"div",15)(7,"div",16)(8,"div",17),e.qZA(),e.BQk())}function yt(Je,Y){if(1&Je){const X=e.EpF();e.TgZ(0,"div",19),e.NdJ("cdkObserveContent",function(){e.CHM(X);const et=e.oxw();return e.KtG(et.updateOutlineGap())}),e.Hsn(1,1),e.qZA()}if(2&Je){const X=e.oxw();e.Q6J("cdkObserveContentDisabled","outline"!=X.appearance)}}function jt(Je,Y){if(1&Je&&(e.ynx(0),e.Hsn(1,2),e.TgZ(2,"span"),e._uU(3),e.qZA(),e.BQk()),2&Je){const X=e.oxw(2);e.xp6(3),e.Oqu(X._control.placeholder)}}function st(Je,Y){1&Je&&e.Hsn(0,3,["*ngSwitchCase","true"])}function Te(Je,Y){1&Je&&(e.TgZ(0,"span",23),e._uU(1," *"),e.qZA())}function Le(Je,Y){if(1&Je){const X=e.EpF();e.TgZ(0,"label",20,21),e.NdJ("cdkObserveContent",function(){e.CHM(X);const et=e.oxw();return e.KtG(et.updateOutlineGap())}),e.YNc(2,jt,4,1,"ng-container",12),e.YNc(3,st,1,0,"ng-content",12),e.YNc(4,Te,2,0,"span",22),e.qZA()}if(2&Je){const X=e.oxw();e.ekj("mat-empty",X._control.empty&&!X._shouldAlwaysFloat())("mat-form-field-empty",X._control.empty&&!X._shouldAlwaysFloat())("mat-accent","accent"==X.color)("mat-warn","warn"==X.color),e.Q6J("cdkObserveContentDisabled","outline"!=X.appearance)("id",X._labelId)("ngSwitch",X._hasLabel()),e.uIk("for",X._control.id)("aria-owns",X._control.id),e.xp6(2),e.Q6J("ngSwitchCase",!1),e.xp6(1),e.Q6J("ngSwitchCase",!0),e.xp6(1),e.Q6J("ngIf",!X.hideRequiredMarker&&X._control.required&&!X._control.disabled)}}function at(Je,Y){1&Je&&(e.TgZ(0,"div",24),e.Hsn(1,4),e.qZA())}function _e(Je,Y){if(1&Je&&(e.TgZ(0,"div",25),e._UZ(1,"span",26),e.qZA()),2&Je){const X=e.oxw();e.xp6(1),e.ekj("mat-accent","accent"==X.color)("mat-warn","warn"==X.color)}}function xt(Je,Y){if(1&Je&&(e.TgZ(0,"div"),e.Hsn(1,5),e.qZA()),2&Je){const X=e.oxw();e.Q6J("@transitionMessages",X._subscriptAnimationState)}}function tt(Je,Y){if(1&Je&&(e.TgZ(0,"div",30),e._uU(1),e.qZA()),2&Je){const X=e.oxw(2);e.Q6J("id",X._hintLabelId),e.xp6(1),e.Oqu(X.hintLabel)}}function Ye(Je,Y){if(1&Je&&(e.TgZ(0,"div",27),e.YNc(1,tt,2,2,"div",28),e.Hsn(2,6),e._UZ(3,"div",29),e.Hsn(4,7),e.qZA()),2&Je){const X=e.oxw();e.Q6J("@transitionMessages",X._subscriptAnimationState),e.xp6(1),e.Q6J("ngIf",X.hintLabel)}}const qe=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],ie=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let Oe=0;const mt=new e.OlP("MatError");let kt=(()=>{class Je{constructor(X,A){this.id="mat-error-"+Oe++,X||A.nativeElement.setAttribute("aria-live","polite")}}return Je.\u0275fac=function(X){return new(X||Je)(e.$8M("aria-live"),e.Y36(e.SBq))},Je.\u0275dir=e.lG2({type:Je,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(X,A){2&X&&e.uIk("id",A.id)},inputs:{id:"id"},features:[e._Bn([{provide:mt,useExisting:Je}])]}),Je})();const ri={transitionMessages:(0,ce.X$)("transitionMessages",[(0,ce.SB)("enter",(0,ce.oB)({opacity:1,transform:"translateY(0%)"})),(0,ce.eR)("void => enter",[(0,ce.oB)({opacity:0,transform:"translateY(-5px)"}),(0,ce.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let bt=(()=>{class Je{}return Je.\u0275fac=function(X){return new(X||Je)},Je.\u0275dir=e.lG2({type:Je}),Je})(),Ae=0;const he=new e.OlP("MatHint");let nt=(()=>{class Je{constructor(){this.align="start",this.id="mat-hint-"+Ae++}}return Je.\u0275fac=function(X){return new(X||Je)},Je.\u0275dir=e.lG2({type:Je,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(X,A){2&X&&(e.uIk("id",A.id)("align",null),e.ekj("mat-form-field-hint-end","end"===A.align))},inputs:{align:"align",id:"id"},features:[e._Bn([{provide:he,useExisting:Je}])]}),Je})(),Yt=(()=>{class Je{}return Je.\u0275fac=function(X){return new(X||Je)},Je.\u0275dir=e.lG2({type:Je,selectors:[["mat-label"]]}),Je})(),Lt=(()=>{class Je{}return Je.\u0275fac=function(X){return new(X||Je)},Je.\u0275dir=e.lG2({type:Je,selectors:[["mat-placeholder"]]}),Je})();const Ai=new e.OlP("MatPrefix"),hi=new e.OlP("MatSuffix");let ne=(()=>{class Je{}return Je.\u0275fac=function(X){return new(X||Je)},Je.\u0275dir=e.lG2({type:Je,selectors:[["","matSuffix",""]],features:[e._Bn([{provide:hi,useExisting:Je}])]}),Je})(),Tt=0;const ni=(0,b.pj)(class{constructor(Je){this._elementRef=Je}},"primary"),ki=new e.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),dn=new e.OlP("MatFormField");let ai=(()=>{class Je extends ni{constructor(X,A,et,Fe,we,De,ct){super(X),this._changeDetectorRef=A,this._dir=et,this._defaults=Fe,this._platform=we,this._ngZone=De,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new k.x,this._hideRequiredMarker=!1,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+Tt++,this._labelId="mat-form-field-label-"+Tt++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==ct,this.appearance=(null==Fe?void 0:Fe.appearance)||"legacy",Fe&&(this._hideRequiredMarker=Boolean(Fe.hideRequiredMarker),Fe.color&&(this.color=this.defaultColor=Fe.color))}get appearance(){return this._appearance}set appearance(X){var A;const et=this._appearance;this._appearance=X||(null===(A=this._defaults)||void 0===A?void 0:A.appearance)||"legacy","outline"===this._appearance&&et!==X&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(X){this._hideRequiredMarker=(0,M.Ig)(X)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(X){this._hintLabel=X,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(X){X!==this._floatLabel&&(this._floatLabel=X||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(X){this._explicitFormFieldControl=X}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const X=this._control;X.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${X.controlType}`),X.stateChanges.pipe((0,ee.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),X.ngControl&&X.ngControl.valueChanges&&X.ngControl.valueChanges.pipe((0,z.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,z.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,F.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,ee.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,ee.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,z.R)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(X){const A=this._control?this._control.ngControl:null;return A&&A[X]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,G.R)(this._label.nativeElement,"transitionend").pipe((0,ue.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let X=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&X.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const A=this._hintChildren?this._hintChildren.find(Fe=>"start"===Fe.align):null,et=this._hintChildren?this._hintChildren.find(Fe=>"end"===Fe.align):null;A?X.push(A.id):this._hintLabel&&X.push(this._hintLabelId),et&&X.push(et.id)}else this._errorChildren&&X.push(...this._errorChildren.map(A=>A.id));this._control.setDescribedByIds(X)}}_validateControlChild(){}updateOutlineGap(){const X=this._label?this._label.nativeElement:null,A=this._connectionContainerRef.nativeElement,et=".mat-form-field-outline-start",Fe=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!X||!X.children.length||!X.textContent.trim()){const Gt=A.querySelectorAll(`${et}, ${Fe}`);for(let _i=0;_i0?.75*Bi+10:0}for(let Gt=0;Gt{class Je{}return Je.\u0275fac=function(X){return new(X||Je)},Je.\u0275mod=e.oAB({type:Je}),Je.\u0275inj=e.cJS({imports:[m.ez,b.BQ,c.Q8,b.BQ]}),Je})()},8833:(N,U,C)=>{"use strict";C.d(U,{Jk:()=>z,Nt:()=>Pe,c:()=>de});var c=C(3191),m=C(925),e=C(5e3),b=C(3075),M=C(508),k=C(3489),F=C(7579),G=C(4533);const z=new e.OlP("MAT_INPUT_VALUE_ACCESSOR"),ue=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let ce=0;const ke=(0,M.FD)(class{constructor(Ge,le,Ne,yt){this._defaultErrorStateMatcher=Ge,this._parentForm=le,this._parentFormGroup=Ne,this.ngControl=yt,this.stateChanges=new F.x}});let Pe=(()=>{class Ge extends ke{constructor(Ne,yt,jt,st,Te,Le,at,_e,xt,tt){super(Le,st,Te,jt),this._elementRef=Ne,this._platform=yt,this._autofillMonitor=_e,this._formField=tt,this._uid="mat-input-"+ce++,this.focused=!1,this.stateChanges=new F.x,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(ie=>(0,m.qK)().has(ie)),this._iOSKeyupListener=ie=>{const Oe=ie.target;!Oe.value&&0===Oe.selectionStart&&0===Oe.selectionEnd&&(Oe.setSelectionRange(1,1),Oe.setSelectionRange(0,0))};const Ye=this._elementRef.nativeElement,qe=Ye.nodeName.toLowerCase();this._inputValueAccessor=at||Ye,this._previousNativeValue=this.value,this.id=this.id,yt.IOS&&xt.runOutsideAngular(()=>{Ne.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===qe,this._isTextarea="textarea"===qe,this._isInFormField=!!tt,this._isNativeSelect&&(this.controlType=Ye.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(Ne){this._disabled=(0,c.Ig)(Ne),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(Ne){this._id=Ne||this._uid}get required(){var Ne,yt,jt,st;return null!==(st=null!==(Ne=this._required)&&void 0!==Ne?Ne:null===(jt=null===(yt=this.ngControl)||void 0===yt?void 0:yt.control)||void 0===jt?void 0:jt.hasValidator(b.kI.required))&&void 0!==st&&st}set required(Ne){this._required=(0,c.Ig)(Ne)}get type(){return this._type}set type(Ne){this._type=Ne||"text",this._validateType(),!this._isTextarea&&(0,m.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(Ne){Ne!==this.value&&(this._inputValueAccessor.value=Ne,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(Ne){this._readonly=(0,c.Ig)(Ne)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(Ne=>{this.autofilled=Ne.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(Ne){this._elementRef.nativeElement.focus(Ne)}_focusChanged(Ne){Ne!==this.focused&&(this.focused=Ne,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var Ne;const yt=this._formField,jt=!yt||"legacy"!==yt.appearance||null!==(Ne=yt._hasLabel)&&void 0!==Ne&&Ne.call(yt)?this.placeholder:null;if(jt!==this._previousPlaceholder){const st=this._elementRef.nativeElement;this._previousPlaceholder=jt,jt?st.setAttribute("placeholder",jt):st.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const Ne=this._elementRef.nativeElement.value;this._previousNativeValue!==Ne&&(this._previousNativeValue=Ne,this.stateChanges.next())}_validateType(){ue.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let Ne=this._elementRef.nativeElement.validity;return Ne&&Ne.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const Ne=this._elementRef.nativeElement,yt=Ne.options[0];return this.focused||Ne.multiple||!this.empty||!!(Ne.selectedIndex>-1&&yt&&yt.label)}return this.focused||!this.empty}setDescribedByIds(Ne){Ne.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Ne.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const Ne=this._elementRef.nativeElement;return this._isNativeSelect&&(Ne.multiple||Ne.size>1)}}return Ge.\u0275fac=function(Ne){return new(Ne||Ge)(e.Y36(e.SBq),e.Y36(m.t4),e.Y36(b.a5,10),e.Y36(b.F,8),e.Y36(b.sg,8),e.Y36(M.rD),e.Y36(z,10),e.Y36(G.Lq),e.Y36(e.R0b),e.Y36(k.G_,8))},Ge.\u0275dir=e.lG2({type:Ge,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(Ne,yt){1&Ne&&e.NdJ("focus",function(){return yt._focusChanged(!0)})("blur",function(){return yt._focusChanged(!1)})("input",function(){return yt._onInput()}),2&Ne&&(e.Ikx("disabled",yt.disabled)("required",yt.required),e.uIk("id",yt.id)("data-placeholder",yt.placeholder)("name",yt.name||null)("readonly",yt.readonly&&!yt._isNativeSelect||null)("aria-invalid",yt.empty&&yt.required?null:yt.errorState)("aria-required",yt.required),e.ekj("mat-input-server",yt._isServer)("mat-native-select-inline",yt._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[e._Bn([{provide:k.Eo,useExisting:Ge}]),e.qOj,e.TTD]}),Ge})(),de=(()=>{class Ge{}return Ge.\u0275fac=function(Ne){return new(Ne||Ge)},Ge.\u0275mod=e.oAB({type:Ge}),Ge.\u0275inj=e.cJS({providers:[M.rD],imports:[G.Ky,k.lN,M.BQ,G.Ky,k.lN]}),Ge})()},4623:(N,U,C)=>{"use strict";C.d(U,{Hk:()=>_e,Tg:()=>ie,i$:()=>xt,ie:()=>ye});var c=C(9808),m=C(5e3),e=C(508),b=C(3191),M=C(7579),k=C(2722),ce=(C(8675),C(5664),C(449),C(1159),C(3075),C(4834));const ke=["*"],de=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],Ge=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],st=(0,e.Id)((0,e.Kr)(class{})),Te=(0,e.Kr)(class{}),Le=new m.OlP("MatList"),at=new m.OlP("MatNavList");let _e=(()=>{class Xe extends st{constructor(){super(...arguments),this._stateChanges=new M.x}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return Xe.\u0275fac=function(){let Ae;return function(nt){return(Ae||(Ae=m.n5z(Xe)))(nt||Xe)}}(),Xe.\u0275cmp=m.Xpm({type:Xe,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[m._Bn([{provide:at,useExisting:Xe}]),m.qOj,m.TTD],ngContentSelectors:ke,decls:1,vars:0,template:function(he,nt){1&he&&(m.F$t(),m.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:hover{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}'],encapsulation:2,changeDetection:0}),Xe})(),xt=(()=>{class Xe extends st{constructor(he){super(),this._elementRef=he,this._stateChanges=new M.x,"action-list"===this._getListType()&&(he.nativeElement.classList.add("mat-action-list"),he.nativeElement.setAttribute("role","group"))}_getListType(){const he=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===he?"list":"mat-action-list"===he?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return Xe.\u0275fac=function(he){return new(he||Xe)(m.Y36(m.SBq))},Xe.\u0275cmp=m.Xpm({type:Xe,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[m._Bn([{provide:Le,useExisting:Xe}]),m.qOj,m.TTD],ngContentSelectors:ke,decls:1,vars:0,template:function(he,nt){1&he&&(m.F$t(),m.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:hover{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}'],encapsulation:2,changeDetection:0}),Xe})(),tt=(()=>{class Xe{}return Xe.\u0275fac=function(he){return new(he||Xe)},Xe.\u0275dir=m.lG2({type:Xe,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),Xe})(),Ye=(()=>{class Xe{}return Xe.\u0275fac=function(he){return new(he||Xe)},Xe.\u0275dir=m.lG2({type:Xe,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),Xe})(),ie=(()=>{class Xe extends Te{constructor(he,nt,Yt,Lt){super(),this._element=he,this._isInteractiveList=!1,this._destroyed=new M.x,this._disabled=!1,this._isInteractiveList=!!(Yt||Lt&&"action-list"===Lt._getListType()),this._list=Yt||Lt;const Ai=this._getHostElement();"button"===Ai.nodeName.toLowerCase()&&!Ai.hasAttribute("type")&&Ai.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe((0,k.R)(this._destroyed)).subscribe(()=>{nt.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(he){this._disabled=(0,b.Ig)(he)}ngAfterContentInit(){(0,e.E0)(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return Xe.\u0275fac=function(he){return new(he||Xe)(m.Y36(m.SBq),m.Y36(m.sBO),m.Y36(at,8),m.Y36(Le,8))},Xe.\u0275cmp=m.Xpm({type:Xe,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(he,nt,Yt){if(1&he&&(m.Suo(Yt,tt,5),m.Suo(Yt,Ye,5),m.Suo(Yt,e.X2,5)),2&he){let Lt;m.iGM(Lt=m.CRH())&&(nt._avatar=Lt.first),m.iGM(Lt=m.CRH())&&(nt._icon=Lt.first),m.iGM(Lt=m.CRH())&&(nt._lines=Lt)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:4,hostBindings:function(he,nt){2&he&&m.ekj("mat-list-item-disabled",nt.disabled)("mat-list-item-with-avatar",nt._avatar||nt._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[m.qOj],ngContentSelectors:Ge,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(he,nt){1&he&&(m.F$t(de),m.TgZ(0,"span",0),m._UZ(1,"span",1),m.Hsn(2),m.TgZ(3,"span",2),m.Hsn(4,1),m.qZA(),m.Hsn(5,2),m.qZA()),2&he&&(m.xp6(1),m.Q6J("matRippleTrigger",nt._getHostElement())("matRippleDisabled",nt._isRippleDisabled()))},dependencies:[e.wG],encapsulation:2,changeDetection:0}),Xe})(),ye=(()=>{class Xe{}return Xe.\u0275fac=function(he){return new(he||Xe)},Xe.\u0275mod=m.oAB({type:Xe}),Xe.\u0275inj=m.cJS({imports:[e.uc,e.si,e.BQ,e.us,c.ez,e.uc,e.BQ,e.us,ce.t]}),Xe})()},4107:(N,U,C)=>{"use strict";C.d(U,{LD:()=>ai,gD:()=>dn});var c=C(1314),m=C(9808),e=C(5e3),b=C(508),M=C(3489),k=C(9071),F=C(5664),G=C(3191),ee=C(449),z=C(1159),ue=C(3075),ce=C(7579),ke=C(9770),Pe=C(6451),de=C(8675),Ge=C(3900),le=C(5698),Ne=C(9300),yt=C(4004),jt=C(1884),st=C(2722),Te=C(1777),Le=C(226);const at=["trigger"],_e=["panel"];function xt(ti,Je){if(1&ti&&(e.TgZ(0,"span",8),e._uU(1),e.qZA()),2&ti){const Y=e.oxw();e.xp6(1),e.Oqu(Y.placeholder)}}function tt(ti,Je){if(1&ti&&(e.TgZ(0,"span",12),e._uU(1),e.qZA()),2&ti){const Y=e.oxw(2);e.xp6(1),e.Oqu(Y.triggerValue)}}function Ye(ti,Je){1&ti&&e.Hsn(0,0,["*ngSwitchCase","true"])}function qe(ti,Je){if(1&ti&&(e.TgZ(0,"span",9),e.YNc(1,tt,2,1,"span",10),e.YNc(2,Ye,1,0,"ng-content",11),e.qZA()),2&ti){const Y=e.oxw();e.Q6J("ngSwitch",!!Y.customTrigger),e.xp6(2),e.Q6J("ngSwitchCase",!0)}}function ie(ti,Je){if(1&ti){const Y=e.EpF();e.TgZ(0,"div",13)(1,"div",14,15),e.NdJ("@transformPanel.done",function(A){e.CHM(Y);const et=e.oxw();return e.KtG(et._panelDoneAnimatingStream.next(A.toState))})("keydown",function(A){e.CHM(Y);const et=e.oxw();return e.KtG(et._handleKeydown(A))}),e.Hsn(3,1),e.qZA()()}if(2&ti){const Y=e.oxw();e.Q6J("@transformPanelWrap",void 0),e.xp6(1),e.Gre("mat-select-panel ",Y._getPanelTheme(),""),e.Udp("transform-origin",Y._transformOrigin)("font-size",Y._triggerFontSize,"px"),e.Q6J("ngClass",Y.panelClass)("@transformPanel",Y.multiple?"showing-multiple":"showing"),e.uIk("id",Y.id+"-panel")("aria-multiselectable",Y.multiple)("aria-label",Y.ariaLabel||null)("aria-labelledby",Y._getPanelAriaLabelledby())}}const Oe=[[["mat-select-trigger"]],"*"],mt=["mat-select-trigger","*"],kt={transformPanelWrap:(0,Te.X$)("transformPanelWrap",[(0,Te.eR)("* => void",(0,Te.IO)("@transformPanel",[(0,Te.pV)()],{optional:!0}))]),transformPanel:(0,Te.X$)("transformPanel",[(0,Te.SB)("void",(0,Te.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,Te.SB)("showing",(0,Te.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,Te.SB)("showing-multiple",(0,Te.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,Te.eR)("void => *",(0,Te.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,Te.eR)("* => void",(0,Te.jt)("100ms 25ms linear",(0,Te.oB)({opacity:0})))])};let ye=0;const Ai=new e.OlP("mat-select-scroll-strategy"),hi=new e.OlP("MAT_SELECT_CONFIG"),ne={provide:Ai,deps:[c.aV],useFactory:function ei(ti){return()=>ti.scrollStrategies.reposition()}};class Tt{constructor(Je,Y){this.source=Je,this.value=Y}}const Se=(0,b.Kr)((0,b.sb)((0,b.Id)((0,b.FD)(class{constructor(ti,Je,Y,X,A){this._elementRef=ti,this._defaultErrorStateMatcher=Je,this._parentForm=Y,this._parentFormGroup=X,this.ngControl=A,this.stateChanges=new ce.x}})))),ut=new e.OlP("MatSelectTrigger");let ki=(()=>{class ti extends Se{constructor(Y,X,A,et,Fe,we,De,ct,Et,Gt,_i,di,zt,Bi){var xi,$n,Hi;super(Fe,et,De,ct,Gt),this._viewportRuler=Y,this._changeDetectorRef=X,this._ngZone=A,this._dir=we,this._parentFormField=Et,this._liveAnnouncer=zt,this._defaultOptions=Bi,this._panelOpen=!1,this._compareWith=(ht,it)=>ht===it,this._uid="mat-select-"+ye++,this._triggerAriaLabelledBy=null,this._destroy=new ce.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+ye++,this._panelDoneAnimatingStream=new ce.x,this._overlayPanelClass=(null===(xi=this._defaultOptions)||void 0===xi?void 0:xi.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(Hi=null===($n=this._defaultOptions)||void 0===$n?void 0:$n.disableOptionCentering)&&void 0!==Hi&&Hi,this.ariaLabel="",this.optionSelectionChanges=(0,ke.P)(()=>{const ht=this.options;return ht?ht.changes.pipe((0,de.O)(ht),(0,Ge.w)(()=>(0,Pe.T)(...ht.map(it=>it.onSelectionChange)))):this._ngZone.onStable.pipe((0,le.q)(1),(0,Ge.w)(()=>this.optionSelectionChanges))}),this.openedChange=new e.vpe,this._openedStream=this.openedChange.pipe((0,Ne.h)(ht=>ht),(0,yt.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,Ne.h)(ht=>!ht),(0,yt.U)(()=>{})),this.selectionChange=new e.vpe,this.valueChange=new e.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==Bi?void 0:Bi.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=Bi.typeaheadDebounceInterval),this._scrollStrategyFactory=di,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(_i)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(Y){this._placeholder=Y,this.stateChanges.next()}get required(){var Y,X,A,et;return null!==(et=null!==(Y=this._required)&&void 0!==Y?Y:null===(A=null===(X=this.ngControl)||void 0===X?void 0:X.control)||void 0===A?void 0:A.hasValidator(ue.kI.required))&&void 0!==et&&et}set required(Y){this._required=(0,G.Ig)(Y),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(Y){this._multiple=(0,G.Ig)(Y)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(Y){this._disableOptionCentering=(0,G.Ig)(Y)}get compareWith(){return this._compareWith}set compareWith(Y){this._compareWith=Y,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(Y){this._assignValue(Y)&&this._onChange(Y)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(Y){this._typeaheadDebounceInterval=(0,G.su)(Y)}get id(){return this._id}set id(Y){this._id=Y||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new ee.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,jt.x)(),(0,st.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,st.R)(this._destroy)).subscribe(Y=>{Y.added.forEach(X=>X.select()),Y.removed.forEach(X=>X.deselect())}),this.options.changes.pipe((0,de.O)(null),(0,st.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const Y=this._getTriggerAriaLabelledby(),X=this.ngControl;if(Y!==this._triggerAriaLabelledBy){const A=this._elementRef.nativeElement;this._triggerAriaLabelledBy=Y,Y?A.setAttribute("aria-labelledby",Y):A.removeAttribute("aria-labelledby")}X&&(this._previousControl!==X.control&&(void 0!==this._previousControl&&null!==X.disabled&&X.disabled!==this.disabled&&(this.disabled=X.disabled),this._previousControl=X.control),this.updateErrorState())}ngOnChanges(Y){(Y.disabled||Y.userAriaDescribedBy)&&this.stateChanges.next(),Y.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(Y){this._assignValue(Y)}registerOnChange(Y){this._onChange=Y}registerOnTouched(Y){this._onTouched=Y}setDisabledState(Y){this.disabled=Y,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var Y,X;return this.multiple?(null===(Y=this._selectionModel)||void 0===Y?void 0:Y.selected)||[]:null===(X=this._selectionModel)||void 0===X?void 0:X.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const Y=this._selectionModel.selected.map(X=>X.viewValue);return this._isRtl()&&Y.reverse(),Y.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(Y){this.disabled||(this.panelOpen?this._handleOpenKeydown(Y):this._handleClosedKeydown(Y))}_handleClosedKeydown(Y){const X=Y.keyCode,A=X===z.JH||X===z.LH||X===z.oh||X===z.SV,et=X===z.K5||X===z.L_,Fe=this._keyManager;if(!Fe.isTyping()&&et&&!(0,z.Vb)(Y)||(this.multiple||Y.altKey)&&A)Y.preventDefault(),this.open();else if(!this.multiple){const we=this.selected;Fe.onKeydown(Y);const De=this.selected;De&&we!==De&&this._liveAnnouncer.announce(De.viewValue,1e4)}}_handleOpenKeydown(Y){const X=this._keyManager,A=Y.keyCode,et=A===z.JH||A===z.LH,Fe=X.isTyping();if(et&&Y.altKey)Y.preventDefault(),this.close();else if(Fe||A!==z.K5&&A!==z.L_||!X.activeItem||(0,z.Vb)(Y))if(!Fe&&this._multiple&&A===z.A&&Y.ctrlKey){Y.preventDefault();const we=this.options.some(De=>!De.disabled&&!De.selected);this.options.forEach(De=>{De.disabled||(we?De.select():De.deselect())})}else{const we=X.activeItemIndex;X.onKeydown(Y),this._multiple&&et&&Y.shiftKey&&X.activeItem&&X.activeItemIndex!==we&&X.activeItem._selectViaInteraction()}else Y.preventDefault(),X.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,le.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(Y){if(this._selectionModel.selected.forEach(X=>X.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&Y)Array.isArray(Y),Y.forEach(X=>this._selectOptionByValue(X)),this._sortValues();else{const X=this._selectOptionByValue(Y);X?this._keyManager.updateActiveItem(X):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(Y){const X=this.options.find(A=>{if(this._selectionModel.isSelected(A))return!1;try{return null!=A.value&&this._compareWith(A.value,Y)}catch(et){return!1}});return X&&this._selectionModel.select(X),X}_assignValue(Y){return!!(Y!==this._value||this._multiple&&Array.isArray(Y))&&(this.options&&this._setSelectionByValue(Y),this._value=Y,!0)}_initKeyManager(){this._keyManager=new F.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,st.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe((0,st.R)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const Y=(0,Pe.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,st.R)(Y)).subscribe(X=>{this._onSelect(X.source,X.isUserInput),X.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,Pe.T)(...this.options.map(X=>X._stateChanges)).pipe((0,st.R)(Y)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(Y,X){const A=this._selectionModel.isSelected(Y);null!=Y.value||this._multiple?(A!==Y.selected&&(Y.selected?this._selectionModel.select(Y):this._selectionModel.deselect(Y)),X&&this._keyManager.setActiveItem(Y),this.multiple&&(this._sortValues(),X&&this.focus())):(Y.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(Y.value)),A!==this._selectionModel.isSelected(Y)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const Y=this.options.toArray();this._selectionModel.sort((X,A)=>this.sortComparator?this.sortComparator(X,A,Y):Y.indexOf(X)-Y.indexOf(A)),this.stateChanges.next()}}_propagateChanges(Y){let X=null;X=this.multiple?this.selected.map(A=>A.value):this.selected?this.selected.value:Y,this._value=X,this.valueChange.emit(X),this._onChange(X),this.selectionChange.emit(this._getChangeEvent(X)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var Y;return!this._panelOpen&&!this.disabled&&(null===(Y=this.options)||void 0===Y?void 0:Y.length)>0}focus(Y){this._elementRef.nativeElement.focus(Y)}_getPanelAriaLabelledby(){var Y;if(this.ariaLabel)return null;const X=null===(Y=this._parentFormField)||void 0===Y?void 0:Y.getLabelId();return this.ariaLabelledby?(X?X+" ":"")+this.ariaLabelledby:X}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var Y;if(this.ariaLabel)return null;const X=null===(Y=this._parentFormField)||void 0===Y?void 0:Y.getLabelId();let A=(X?X+" ":"")+this._valueId;return this.ariaLabelledby&&(A+=" "+this.ariaLabelledby),A}_panelDoneAnimating(Y){this.openedChange.emit(Y)}setDescribedByIds(Y){Y.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Y.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return ti.\u0275fac=function(Y){return new(Y||ti)(e.Y36(k.rL),e.Y36(e.sBO),e.Y36(e.R0b),e.Y36(b.rD),e.Y36(e.SBq),e.Y36(Le.Is,8),e.Y36(ue.F,8),e.Y36(ue.sg,8),e.Y36(M.G_,8),e.Y36(ue.a5,10),e.$8M("tabindex"),e.Y36(Ai),e.Y36(F.Kd),e.Y36(hi,8))},ti.\u0275dir=e.lG2({type:ti,viewQuery:function(Y,X){if(1&Y&&(e.Gf(at,5),e.Gf(_e,5),e.Gf(c.pI,5)),2&Y){let A;e.iGM(A=e.CRH())&&(X.trigger=A.first),e.iGM(A=e.CRH())&&(X.panel=A.first),e.iGM(A=e.CRH())&&(X._overlayDir=A.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[e.qOj,e.TTD]}),ti})(),dn=(()=>{class ti extends ki{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(Y,X,A){const et=this._getItemHeight();return Math.min(Math.max(0,et*Y-X+et/2),A)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,st.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,le.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(Y){const X=(0,b.CB)(Y,this.options,this.optionGroups),A=this._getItemHeight();this.panel.nativeElement.scrollTop=0===Y&&1===X?0:(0,b.jH)((Y+X)*A,A,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(Y){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(Y)}_getChangeEvent(Y){return new Tt(this,Y)}_calculateOverlayOffsetX(){const Y=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),X=this._viewportRuler.getViewportSize(),A=this._isRtl(),et=this.multiple?56:32;let Fe;if(this.multiple)Fe=40;else if(this.disableOptionCentering)Fe=16;else{let ct=this._selectionModel.selected[0]||this.options.first;Fe=ct&&ct.group?32:16}A||(Fe*=-1);const we=0-(Y.left+Fe-(A?et:0)),De=Y.right+Fe-X.width+(A?0:et);we>0?Fe+=we+8:De>0&&(Fe-=De+8),this._overlayDir.offsetX=Math.round(Fe),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(Y,X,A){const et=this._getItemHeight(),Fe=(et-this._triggerRect.height)/2,we=Math.floor(256/et);let De;return this.disableOptionCentering?0:(De=0===this._scrollTop?Y*et:this._scrollTop===A?(Y-(this._getItemCount()-we))*et+(et-(this._getItemCount()*et-256)%et):X-et/2,Math.round(-1*De-Fe))}_checkOverlayWithinViewport(Y){const X=this._getItemHeight(),A=this._viewportRuler.getViewportSize(),et=this._triggerRect.top-8,Fe=A.height-this._triggerRect.bottom-8,we=Math.abs(this._offsetY),ct=Math.min(this._getItemCount()*X,256)-we-this._triggerRect.height;ct>Fe?this._adjustPanelUp(ct,Fe):we>et?this._adjustPanelDown(we,et,Y):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(Y,X){const A=Math.round(Y-X);this._scrollTop-=A,this._offsetY-=A,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(Y,X,A){const et=Math.round(Y-X);if(this._scrollTop+=et,this._offsetY+=et,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=A)return this._scrollTop=A,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const Y=this._getItemHeight(),X=this._getItemCount(),A=Math.min(X*Y,256),Fe=X*Y-A;let we;we=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),we+=(0,b.CB)(we,this.options,this.optionGroups);const De=A/2;this._scrollTop=this._calculateOverlayScroll(we,De,Fe),this._offsetY=this._calculateOverlayOffsetY(we,De,Fe),this._checkOverlayWithinViewport(Fe)}_getOriginBasedOnOption(){const Y=this._getItemHeight(),X=(Y-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-X+Y/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return ti.\u0275fac=function(){let Je;return function(X){return(Je||(Je=e.n5z(ti)))(X||ti)}}(),ti.\u0275cmp=e.Xpm({type:ti,selectors:[["mat-select"]],contentQueries:function(Y,X,A){if(1&Y&&(e.Suo(A,ut,5),e.Suo(A,b.ey,5),e.Suo(A,b.K7,5)),2&Y){let et;e.iGM(et=e.CRH())&&(X.customTrigger=et.first),e.iGM(et=e.CRH())&&(X.options=et),e.iGM(et=e.CRH())&&(X.optionGroups=et)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:19,hostBindings:function(Y,X){1&Y&&e.NdJ("keydown",function(et){return X._handleKeydown(et)})("focus",function(){return X._onFocus()})("blur",function(){return X._onBlur()}),2&Y&&(e.uIk("id",X.id)("tabindex",X.tabIndex)("aria-controls",X.panelOpen?X.id+"-panel":null)("aria-expanded",X.panelOpen)("aria-label",X.ariaLabel||null)("aria-required",X.required.toString())("aria-disabled",X.disabled.toString())("aria-invalid",X.errorState)("aria-activedescendant",X._getAriaActiveDescendant()),e.ekj("mat-select-disabled",X.disabled)("mat-select-invalid",X.errorState)("mat-select-required",X.required)("mat-select-empty",X.empty)("mat-select-multiple",X.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[e._Bn([{provide:M.Eo,useExisting:ti},{provide:b.HF,useExisting:ti}]),e.qOj],ngContentSelectors:mt,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(Y,X){if(1&Y&&(e.F$t(Oe),e.TgZ(0,"div",0,1),e.NdJ("click",function(){return X.toggle()}),e.TgZ(3,"div",2),e.YNc(4,xt,2,1,"span",3),e.YNc(5,qe,3,2,"span",4),e.qZA(),e.TgZ(6,"div",5),e._UZ(7,"div",6),e.qZA()(),e.YNc(8,ie,4,14,"ng-template",7),e.NdJ("backdropClick",function(){return X.close()})("attach",function(){return X._onAttached()})("detach",function(){return X.close()})),2&Y){const A=e.MAs(1);e.uIk("aria-owns",X.panelOpen?X.id+"-panel":null),e.xp6(3),e.Q6J("ngSwitch",X.empty),e.uIk("id",X._valueId),e.xp6(1),e.Q6J("ngSwitchCase",!0),e.xp6(1),e.Q6J("ngSwitchCase",!1),e.xp6(3),e.Q6J("cdkConnectedOverlayPanelClass",X._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",X._scrollStrategy)("cdkConnectedOverlayOrigin",A)("cdkConnectedOverlayOpen",X.panelOpen)("cdkConnectedOverlayPositions",X._positions)("cdkConnectedOverlayMinWidth",null==X._triggerRect?null:X._triggerRect.width)("cdkConnectedOverlayOffsetY",X._offsetY)}},dependencies:[m.mk,m.RF,m.n9,m.ED,c.pI,c.xu],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[kt.transformPanelWrap,kt.transformPanel]},changeDetection:0}),ti})(),ai=(()=>{class ti{}return ti.\u0275fac=function(Y){return new(Y||ti)},ti.\u0275mod=e.oAB({type:ti}),ti.\u0275inj=e.cJS({providers:[ne],imports:[m.ez,c.U8,b.Ng,b.BQ,k.ZD,M.lN,b.Ng,b.BQ]}),ti})()},2638:(N,U,C)=>{"use strict";C.d(U,{JX:()=>Yt,LW:()=>Xe,Rh:()=>nt,SJ:()=>Ai,TM:()=>Lt,jA:()=>Ae,kh:()=>he});var c=C(9071),m=C(9808),e=C(5e3),b=C(508),M=C(3191),k=C(1159),F=C(7579),G=C(4968),ee=C(6451),z=C(9300),ue=C(4004),ce=C(9718),ke=C(2722),Pe=C(1884),de=C(5698),Ge=C(8675),le=C(8372),Ne=C(1777),yt=C(5664),jt=C(925),st=C(226);const Te=["*"],Le=["content"];function at(ei,hi){if(1&ei){const ne=e.EpF();e.TgZ(0,"div",2),e.NdJ("click",function(){e.CHM(ne);const Se=e.oxw();return e.KtG(Se._onBackdropClicked())}),e.qZA()}if(2&ei){const ne=e.oxw();e.ekj("mat-drawer-shown",ne._isShowingBackdrop())}}function _e(ei,hi){1&ei&&(e.TgZ(0,"mat-drawer-content"),e.Hsn(1,2),e.qZA())}const xt=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],tt=["mat-drawer","mat-drawer-content","*"];function Ye(ei,hi){if(1&ei){const ne=e.EpF();e.TgZ(0,"div",2),e.NdJ("click",function(){e.CHM(ne);const Se=e.oxw();return e.KtG(Se._onBackdropClicked())}),e.qZA()}if(2&ei){const ne=e.oxw();e.ekj("mat-drawer-shown",ne._isShowingBackdrop())}}function qe(ei,hi){1&ei&&(e.TgZ(0,"mat-sidenav-content"),e.Hsn(1,2),e.qZA())}const ie=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],Oe=["mat-sidenav","mat-sidenav-content","*"],kt={transformDrawer:(0,Ne.X$)("transform",[(0,Ne.SB)("open, open-instant",(0,Ne.oB)({transform:"none",visibility:"visible"})),(0,Ne.SB)("void",(0,Ne.oB)({"box-shadow":"none",visibility:"hidden"})),(0,Ne.eR)("void => open-instant",(0,Ne.jt)("0ms")),(0,Ne.eR)("void <=> open, open-instant => void",(0,Ne.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},bt=new e.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function ye(){return!1}}),Wt=new e.OlP("MAT_DRAWER_CONTAINER");let Xe=(()=>{class ei extends c.PQ{constructor(ne,Tt,Se,ut,ni){super(Se,ut,ni),this._changeDetectorRef=ne,this._container=Tt}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return ei.\u0275fac=function(ne){return new(ne||ei)(e.Y36(e.sBO),e.Y36((0,e.Gpc)(()=>he)),e.Y36(e.SBq),e.Y36(c.mF),e.Y36(e.R0b))},ei.\u0275cmp=e.Xpm({type:ei,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(ne,Tt){2&ne&&e.Udp("margin-left",Tt._container._contentMargins.left,"px")("margin-right",Tt._container._contentMargins.right,"px")},features:[e._Bn([{provide:c.PQ,useExisting:ei}]),e.qOj],ngContentSelectors:Te,decls:1,vars:0,template:function(ne,Tt){1&ne&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0}),ei})(),Ae=(()=>{class ei{constructor(ne,Tt,Se,ut,ni,ki,dn,ai){this._elementRef=ne,this._focusTrapFactory=Tt,this._focusMonitor=Se,this._platform=ut,this._ngZone=ni,this._interactivityChecker=ki,this._doc=dn,this._container=ai,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new F.x,this._animationEnd=new F.x,this._animationState="void",this.openedChange=new e.vpe(!0),this._openedStream=this.openedChange.pipe((0,z.h)(ti=>ti),(0,ue.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,z.h)(ti=>ti.fromState!==ti.toState&&0===ti.toState.indexOf("open")),(0,ce.h)(void 0)),this._closedStream=this.openedChange.pipe((0,z.h)(ti=>!ti),(0,ue.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,z.h)(ti=>ti.fromState!==ti.toState&&"void"===ti.toState),(0,ce.h)(void 0)),this._destroyed=new F.x,this.onPositionChanged=new e.vpe,this._modeChanged=new F.x,this.openedChange.subscribe(ti=>{ti?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,G.R)(this._elementRef.nativeElement,"keydown").pipe((0,z.h)(ti=>ti.keyCode===k.hY&&!this.disableClose&&!(0,k.Vb)(ti)),(0,ke.R)(this._destroyed)).subscribe(ti=>this._ngZone.run(()=>{this.close(),ti.stopPropagation(),ti.preventDefault()}))}),this._animationEnd.pipe((0,Pe.x)((ti,Je)=>ti.fromState===Je.fromState&&ti.toState===Je.toState)).subscribe(ti=>{const{fromState:Je,toState:Y}=ti;(0===Y.indexOf("open")&&"void"===Je||"void"===Y&&0===Je.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(ne){(ne="end"===ne?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(ne),this._position=ne,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(ne){this._mode=ne,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(ne){this._disableClose=(0,M.Ig)(ne)}get autoFocus(){const ne=this._autoFocus;return null==ne?"side"===this.mode?"dialog":"first-tabbable":ne}set autoFocus(ne){("true"===ne||"false"===ne||null==ne)&&(ne=(0,M.Ig)(ne)),this._autoFocus=ne}get opened(){return this._opened}set opened(ne){this.toggle((0,M.Ig)(ne))}_forceFocus(ne,Tt){this._interactivityChecker.isFocusable(ne)||(ne.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Se=()=>{ne.removeEventListener("blur",Se),ne.removeEventListener("mousedown",Se),ne.removeAttribute("tabindex")};ne.addEventListener("blur",Se),ne.addEventListener("mousedown",Se)})),ne.focus(Tt)}_focusByCssSelector(ne,Tt){let Se=this._elementRef.nativeElement.querySelector(ne);Se&&this._forceFocus(Se,Tt)}_takeFocus(){if(!this._focusTrap)return;const ne=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(Tt=>{!Tt&&"function"==typeof this._elementRef.nativeElement.focus&&ne.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(ne){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,ne):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const ne=this._doc.activeElement;return!!ne&&this._elementRef.nativeElement.contains(ne)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){var ne;this._focusTrap&&this._focusTrap.destroy(),null===(ne=this._anchor)||void 0===ne||ne.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(ne){return this.toggle(!0,ne)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(ne=!this.opened,Tt){ne&&Tt&&(this._openedVia=Tt);const Se=this._setOpen(ne,!ne&&this._isFocusWithinDrawer(),this._openedVia||"program");return ne||(this._openedVia=null),Se}_setOpen(ne,Tt,Se){return this._opened=ne,ne?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",Tt&&this._restoreFocus(Se)),this._updateFocusTrapState(),new Promise(ut=>{this.openedChange.pipe((0,de.q)(1)).subscribe(ni=>ut(ni?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(ne){const Tt=this._elementRef.nativeElement,Se=Tt.parentNode;"end"===ne?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),Se.insertBefore(this._anchor,Tt)),Se.appendChild(Tt)):this._anchor&&this._anchor.parentNode.insertBefore(Tt,this._anchor)}}return ei.\u0275fac=function(ne){return new(ne||ei)(e.Y36(e.SBq),e.Y36(yt.qV),e.Y36(yt.tE),e.Y36(jt.t4),e.Y36(e.R0b),e.Y36(yt.ic),e.Y36(m.K0,8),e.Y36(Wt,8))},ei.\u0275cmp=e.Xpm({type:ei,selectors:[["mat-drawer"]],viewQuery:function(ne,Tt){if(1&ne&&e.Gf(Le,5),2&ne){let Se;e.iGM(Se=e.CRH())&&(Tt._content=Se.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(ne,Tt){1&ne&&e.WFA("@transform.start",function(ut){return Tt._animationStarted.next(ut)})("@transform.done",function(ut){return Tt._animationEnd.next(ut)}),2&ne&&(e.uIk("align",null),e.d8E("@transform",Tt._animationState),e.ekj("mat-drawer-end","end"===Tt.position)("mat-drawer-over","over"===Tt.mode)("mat-drawer-push","push"===Tt.mode)("mat-drawer-side","side"===Tt.mode)("mat-drawer-opened",Tt.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:Te,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(ne,Tt){1&ne&&(e.F$t(),e.TgZ(0,"div",0,1),e.Hsn(2),e.qZA())},dependencies:[c.PQ],encapsulation:2,data:{animation:[kt.transformDrawer]},changeDetection:0}),ei})(),he=(()=>{class ei{constructor(ne,Tt,Se,ut,ni,ki=!1,dn){this._dir=ne,this._element=Tt,this._ngZone=Se,this._changeDetectorRef=ut,this._animationMode=dn,this._drawers=new e.n_E,this.backdropClick=new e.vpe,this._destroyed=new F.x,this._doCheckSubject=new F.x,this._contentMargins={left:null,right:null},this._contentMarginChanges=new F.x,ne&&ne.change.pipe((0,ke.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),ni.change().pipe((0,ke.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=ki}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(ne){this._autosize=(0,M.Ig)(ne)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(ne){this._backdropOverride=null==ne?null:(0,M.Ig)(ne)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe((0,Ge.O)(this._allDrawers),(0,ke.R)(this._destroyed)).subscribe(ne=>{this._drawers.reset(ne.filter(Tt=>!Tt._container||Tt._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,Ge.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(ne=>{this._watchDrawerToggle(ne),this._watchDrawerPosition(ne),this._watchDrawerMode(ne)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,le.b)(10),(0,ke.R)(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(ne=>ne.open())}close(){this._drawers.forEach(ne=>ne.close())}updateContentMargins(){let ne=0,Tt=0;if(this._left&&this._left.opened)if("side"==this._left.mode)ne+=this._left._getWidth();else if("push"==this._left.mode){const Se=this._left._getWidth();ne+=Se,Tt-=Se}if(this._right&&this._right.opened)if("side"==this._right.mode)Tt+=this._right._getWidth();else if("push"==this._right.mode){const Se=this._right._getWidth();Tt+=Se,ne-=Se}ne=ne||null,Tt=Tt||null,(ne!==this._contentMargins.left||Tt!==this._contentMargins.right)&&(this._contentMargins={left:ne,right:Tt},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(ne){ne._animationStarted.pipe((0,z.h)(Tt=>Tt.fromState!==Tt.toState),(0,ke.R)(this._drawers.changes)).subscribe(Tt=>{"open-instant"!==Tt.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==ne.mode&&ne.openedChange.pipe((0,ke.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(ne.opened))}_watchDrawerPosition(ne){!ne||ne.onPositionChanged.pipe((0,ke.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,de.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(ne){ne&&ne._modeChanged.pipe((0,ke.R)((0,ee.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(ne){const Tt=this._element.nativeElement.classList,Se="mat-drawer-container-has-open";ne?Tt.add(Se):Tt.remove(Se)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(ne=>{"end"==ne.position?this._end=ne:this._start=ne}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(ne=>ne&&!ne.disableClose&&this._canHaveBackdrop(ne)).forEach(ne=>ne._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(ne){return"side"!==ne.mode||!!this._backdropOverride}_isDrawerOpen(ne){return null!=ne&&ne.opened}}return ei.\u0275fac=function(ne){return new(ne||ei)(e.Y36(st.Is,8),e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(c.rL),e.Y36(bt),e.Y36(e.QbO,8))},ei.\u0275cmp=e.Xpm({type:ei,selectors:[["mat-drawer-container"]],contentQueries:function(ne,Tt,Se){if(1&ne&&(e.Suo(Se,Xe,5),e.Suo(Se,Ae,5)),2&ne){let ut;e.iGM(ut=e.CRH())&&(Tt._content=ut.first),e.iGM(ut=e.CRH())&&(Tt._allDrawers=ut)}},viewQuery:function(ne,Tt){if(1&ne&&e.Gf(Xe,5),2&ne){let Se;e.iGM(Se=e.CRH())&&(Tt._userContent=Se.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(ne,Tt){2&ne&&e.ekj("mat-drawer-container-explicit-backdrop",Tt._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[e._Bn([{provide:Wt,useExisting:ei}])],ngContentSelectors:tt,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(ne,Tt){1&ne&&(e.F$t(xt),e.YNc(0,at,1,2,"div",0),e.Hsn(1),e.Hsn(2,1),e.YNc(3,_e,2,0,"mat-drawer-content",1)),2&ne&&(e.Q6J("ngIf",Tt.hasBackdrop),e.xp6(3),e.Q6J("ngIf",!Tt._content))},dependencies:[m.O5,Xe],styles:['.mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0}),ei})(),nt=(()=>{class ei extends Xe{constructor(ne,Tt,Se,ut,ni){super(ne,Tt,Se,ut,ni)}}return ei.\u0275fac=function(ne){return new(ne||ei)(e.Y36(e.sBO),e.Y36((0,e.Gpc)(()=>Lt)),e.Y36(e.SBq),e.Y36(c.mF),e.Y36(e.R0b))},ei.\u0275cmp=e.Xpm({type:ei,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(ne,Tt){2&ne&&e.Udp("margin-left",Tt._container._contentMargins.left,"px")("margin-right",Tt._container._contentMargins.right,"px")},features:[e._Bn([{provide:c.PQ,useExisting:ei}]),e.qOj],ngContentSelectors:Te,decls:1,vars:0,template:function(ne,Tt){1&ne&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0}),ei})(),Yt=(()=>{class ei extends Ae{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(ne){this._fixedInViewport=(0,M.Ig)(ne)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(ne){this._fixedTopGap=(0,M.su)(ne)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(ne){this._fixedBottomGap=(0,M.su)(ne)}}return ei.\u0275fac=function(){let hi;return function(Tt){return(hi||(hi=e.n5z(ei)))(Tt||ei)}}(),ei.\u0275cmp=e.Xpm({type:ei,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(ne,Tt){2&ne&&(e.uIk("align",null),e.Udp("top",Tt.fixedInViewport?Tt.fixedTopGap:null,"px")("bottom",Tt.fixedInViewport?Tt.fixedBottomGap:null,"px"),e.ekj("mat-drawer-end","end"===Tt.position)("mat-drawer-over","over"===Tt.mode)("mat-drawer-push","push"===Tt.mode)("mat-drawer-side","side"===Tt.mode)("mat-drawer-opened",Tt.opened)("mat-sidenav-fixed",Tt.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[e.qOj],ngContentSelectors:Te,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(ne,Tt){1&ne&&(e.F$t(),e.TgZ(0,"div",0,1),e.Hsn(2),e.qZA())},dependencies:[c.PQ],encapsulation:2,data:{animation:[kt.transformDrawer]},changeDetection:0}),ei})(),Lt=(()=>{class ei extends he{}return ei.\u0275fac=function(){let hi;return function(Tt){return(hi||(hi=e.n5z(ei)))(Tt||ei)}}(),ei.\u0275cmp=e.Xpm({type:ei,selectors:[["mat-sidenav-container"]],contentQueries:function(ne,Tt,Se){if(1&ne&&(e.Suo(Se,nt,5),e.Suo(Se,Yt,5)),2&ne){let ut;e.iGM(ut=e.CRH())&&(Tt._content=ut.first),e.iGM(ut=e.CRH())&&(Tt._allDrawers=ut)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(ne,Tt){2&ne&&e.ekj("mat-drawer-container-explicit-backdrop",Tt._backdropOverride)},exportAs:["matSidenavContainer"],features:[e._Bn([{provide:Wt,useExisting:ei}]),e.qOj],ngContentSelectors:Oe,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(ne,Tt){1&ne&&(e.F$t(ie),e.YNc(0,Ye,1,2,"div",0),e.Hsn(1),e.Hsn(2,1),e.YNc(3,qe,2,0,"mat-sidenav-content",1)),2&ne&&(e.Q6J("ngIf",Tt.hasBackdrop),e.xp6(3),e.Q6J("ngIf",!Tt._content))},dependencies:[m.O5,nt],styles:['.mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0}),ei})(),Ai=(()=>{class ei{}return ei.\u0275fac=function(ne){return new(ne||ei)},ei.\u0275mod=e.oAB({type:ei}),ei.\u0275inj=e.cJS({imports:[m.ez,b.BQ,c.ZD,c.ZD,b.BQ]}),ei})()},2368:(N,U,C)=>{"use strict";C.d(U,{Rr:()=>Ge,rP:()=>jt});var c=C(7144),m=C(5e3),e=C(508),b=C(3191),M=C(3075),k=C(5664);const F=["input"],G=function(st){return{enterDuration:st}},ee=["*"],z=new m.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let ue=0;const ce={provide:M.JU,useExisting:(0,m.Gpc)(()=>Ge),multi:!0};class ke{constructor(Te,Le){this.source=Te,this.checked=Le}}const Pe=(0,e.sb)((0,e.pj)((0,e.Kr)((0,e.Id)(class{constructor(st){this._elementRef=st}}))));let de=(()=>{class st extends Pe{constructor(Le,at,_e,xt,tt,Ye,qe){super(Le),this._focusMonitor=at,this._changeDetectorRef=_e,this.defaults=tt,this._onChange=ie=>{},this._onTouched=()=>{},this._required=!1,this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new m.vpe,this.toggleChange=new m.vpe,this.tabIndex=parseInt(xt)||0,this.color=this.defaultColor=tt.color||"accent",this._noopAnimations="NoopAnimations"===Ye,this.id=this._uniqueId=`${qe}${++ue}`}get required(){return this._required}set required(Le){this._required=(0,b.Ig)(Le)}get checked(){return this._checked}set checked(Le){this._checked=(0,b.Ig)(Le),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(Le=>{"keyboard"===Le||"program"===Le?this._focused=!0:Le||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(Le){this.checked=!!Le}registerOnChange(Le){this._onChange=Le}registerOnTouched(Le){this._onTouched=Le}setDisabledState(Le){this.disabled=Le,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}}return st.\u0275fac=function(Le){m.$Z()},st.\u0275dir=m.lG2({type:st,inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},features:[m.qOj]}),st})(),Ge=(()=>{class st extends de{constructor(Le,at,_e,xt,tt,Ye){super(Le,at,_e,xt,tt,Ye,"mat-slide-toggle-")}_createChangeEvent(Le){return new ke(this,Le)}_onChangeEvent(Le){Le.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(Le){Le.stopPropagation()}focus(Le,at){at?this._focusMonitor.focusVia(this._inputElement,at,Le):this._inputElement.nativeElement.focus(Le)}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return st.\u0275fac=function(Le){return new(Le||st)(m.Y36(m.SBq),m.Y36(k.tE),m.Y36(m.sBO),m.$8M("tabindex"),m.Y36(z),m.Y36(m.QbO,8))},st.\u0275cmp=m.Xpm({type:st,selectors:[["mat-slide-toggle"]],viewQuery:function(Le,at){if(1&Le&&m.Gf(F,5),2&Le){let _e;m.iGM(_e=m.CRH())&&(at._inputElement=_e.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:13,hostBindings:function(Le,at){2&Le&&(m.Ikx("id",at.id),m.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null)("name",null),m.ekj("mat-checked",at.checked)("mat-disabled",at.disabled)("mat-slide-toggle-label-before","before"==at.labelPosition)("_mat-animation-noopable",at._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[m._Bn([ce]),m.qOj],ngContentSelectors:ee,decls:14,vars:20,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(Le,at){if(1&Le&&(m.F$t(),m.TgZ(0,"label",0,1)(2,"span",2)(3,"input",3,4),m.NdJ("change",function(xt){return at._onChangeEvent(xt)})("click",function(xt){return at._onInputClick(xt)}),m.qZA(),m.TgZ(5,"span",5),m._UZ(6,"span",6),m.TgZ(7,"span",7),m._UZ(8,"span",8),m.qZA()()(),m.TgZ(9,"span",9,10),m.NdJ("cdkObserveContent",function(){return at._onLabelTextChange()}),m.TgZ(11,"span",11),m._uU(12,"\xa0"),m.qZA(),m.Hsn(13),m.qZA()()),2&Le){const _e=m.MAs(1),xt=m.MAs(10);m.uIk("for",at.inputId),m.xp6(2),m.ekj("mat-slide-toggle-bar-no-side-margin",!xt.textContent||!xt.textContent.trim()),m.xp6(1),m.Q6J("id",at.inputId)("required",at.required)("tabIndex",at.tabIndex)("checked",at.checked)("disabled",at.disabled),m.uIk("name",at.name)("aria-checked",at.checked)("aria-label",at.ariaLabel)("aria-labelledby",at.ariaLabelledby)("aria-describedby",at.ariaDescribedby),m.xp6(4),m.Q6J("matRippleTrigger",_e)("matRippleDisabled",at.disableRipple||at.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",m.VKq(18,G,at._noopAnimations?0:150))}},dependencies:[e.wG,c.wD],styles:['.mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{-webkit-user-select:none;user-select:none;display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%;display:block}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.mat-slide-toggle-input:focus~.mat-slide-toggle-thumb-container .mat-focus-indicator::before{content:""}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}'],encapsulation:2,changeDetection:0}),st})(),yt=(()=>{class st{}return st.\u0275fac=function(Le){return new(Le||st)},st.\u0275mod=m.oAB({type:st}),st.\u0275inj=m.cJS({}),st})(),jt=(()=>{class st{}return st.\u0275fac=function(Le){return new(Le||st)},st.\u0275mod=m.oAB({type:st}),st.\u0275inj=m.cJS({imports:[yt,e.si,e.BQ,c.Q8,yt,e.BQ]}),st})()},7261:(N,U,C)=>{"use strict";C.d(U,{ZX:()=>at,qD:()=>Ge,ux:()=>Ye});var c=C(1314),m=C(7429),e=C(9808),b=C(5e3),M=C(508),k=C(7423),F=C(7579),G=C(5698),ee=C(2722),z=C(1777),ue=C(925),ce=C(5113),ke=C(5664);function Pe(qe,ie){if(1&qe){const Oe=b.EpF();b.TgZ(0,"div",2)(1,"button",3),b.NdJ("click",function(){b.CHM(Oe);const kt=b.oxw();return b.KtG(kt.action())}),b._uU(2),b.qZA()()}if(2&qe){const Oe=b.oxw();b.xp6(2),b.Oqu(Oe.data.action)}}function de(qe,ie){}const Ge=new b.OlP("MatSnackBarData");class le{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}const Ne=Math.pow(2,31)-1;class yt{constructor(ie,Oe){this._overlayRef=Oe,this._afterDismissed=new F.x,this._afterOpened=new F.x,this._onAction=new F.x,this._dismissedByAction=!1,this.containerInstance=ie,ie._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(ie){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(ie,Ne))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}let jt=(()=>{class qe{constructor(Oe,mt){this.snackBarRef=Oe,this.data=mt}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return qe.\u0275fac=function(Oe){return new(Oe||qe)(b.Y36(yt),b.Y36(Ge))},qe.\u0275cmp=b.Xpm({type:qe,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[[1,"mat-simple-snack-bar-content"],["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(Oe,mt){1&Oe&&(b.TgZ(0,"span",0),b._uU(1),b.qZA(),b.YNc(2,Pe,3,1,"div",1)),2&Oe&&(b.xp6(1),b.Oqu(mt.data.message),b.xp6(1),b.Q6J("ngIf",mt.hasAction))},dependencies:[e.O5,k.lW],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}.mat-simple-snack-bar-content{overflow:hidden;text-overflow:ellipsis}"],encapsulation:2,changeDetection:0}),qe})();const st={snackBarState:(0,z.X$)("state",[(0,z.SB)("void, hidden",(0,z.oB)({transform:"scale(0.8)",opacity:0})),(0,z.SB)("visible",(0,z.oB)({transform:"scale(1)",opacity:1})),(0,z.eR)("* => visible",(0,z.jt)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,z.eR)("* => void, * => hidden",(0,z.jt)("75ms cubic-bezier(0.4, 0.0, 1, 1)",(0,z.oB)({opacity:0})))])};let Te=(()=>{class qe extends m.en{constructor(Oe,mt,kt,ri,bt){super(),this._ngZone=Oe,this._elementRef=mt,this._changeDetectorRef=kt,this._platform=ri,this.snackBarConfig=bt,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new F.x,this._onExit=new F.x,this._onEnter=new F.x,this._animationState="void",this.attachDomPortal=Wt=>{this._assertNotAttached();const ye=this._portalOutlet.attachDomPortal(Wt);return this._afterPortalAttached(),ye},this._live="assertive"!==bt.politeness||bt.announcementMessage?"off"===bt.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(Oe){this._assertNotAttached();const mt=this._portalOutlet.attachComponentPortal(Oe);return this._afterPortalAttached(),mt}attachTemplatePortal(Oe){this._assertNotAttached();const mt=this._portalOutlet.attachTemplatePortal(Oe);return this._afterPortalAttached(),mt}onAnimationEnd(Oe){const{fromState:mt,toState:kt}=Oe;if(("void"===kt&&"void"!==mt||"hidden"===kt)&&this._completeExit(),"visible"===kt){const ri=this._onEnter;this._ngZone.run(()=>{ri.next(),ri.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe((0,G.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const Oe=this._elementRef.nativeElement,mt=this.snackBarConfig.panelClass;mt&&(Array.isArray(mt)?mt.forEach(kt=>Oe.classList.add(kt)):Oe.classList.add(mt))}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const Oe=this._elementRef.nativeElement.querySelector("[aria-hidden]"),mt=this._elementRef.nativeElement.querySelector("[aria-live]");if(Oe&&mt){let kt=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&Oe.contains(document.activeElement)&&(kt=document.activeElement),Oe.removeAttribute("aria-hidden"),mt.appendChild(Oe),null==kt||kt.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return qe.\u0275fac=function(Oe){return new(Oe||qe)(b.Y36(b.R0b),b.Y36(b.SBq),b.Y36(b.sBO),b.Y36(ue.t4),b.Y36(le))},qe.\u0275dir=b.lG2({type:qe,viewQuery:function(Oe,mt){if(1&Oe&&b.Gf(m.Pl,7),2&Oe){let kt;b.iGM(kt=b.CRH())&&(mt._portalOutlet=kt.first)}},features:[b.qOj]}),qe})(),Le=(()=>{class qe extends Te{_afterPortalAttached(){super._afterPortalAttached(),"center"===this.snackBarConfig.horizontalPosition&&this._elementRef.nativeElement.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&this._elementRef.nativeElement.classList.add("mat-snack-bar-top")}}return qe.\u0275fac=function(){let ie;return function(mt){return(ie||(ie=b.n5z(qe)))(mt||qe)}}(),qe.\u0275cmp=b.Xpm({type:qe,selectors:[["snack-bar-container"]],hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(Oe,mt){1&Oe&&b.WFA("@state.done",function(ri){return mt.onAnimationEnd(ri)}),2&Oe&&b.d8E("@state",mt._animationState)},features:[b.qOj],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(Oe,mt){1&Oe&&(b.TgZ(0,"div",0),b.YNc(1,de,0,0,"ng-template",1),b.qZA(),b._UZ(2,"div")),2&Oe&&(b.xp6(2),b.uIk("aria-live",mt._live)("role",mt._role))},dependencies:[m.Pl],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}"],encapsulation:2,data:{animation:[st.snackBarState]}}),qe})(),at=(()=>{class qe{}return qe.\u0275fac=function(Oe){return new(Oe||qe)},qe.\u0275mod=b.oAB({type:qe}),qe.\u0275inj=b.cJS({imports:[c.U8,m.eL,e.ez,k.ot,M.BQ,M.BQ]}),qe})();const _e=new b.OlP("mat-snack-bar-default-options",{providedIn:"root",factory:function xt(){return new le}});let tt=(()=>{class qe{constructor(Oe,mt,kt,ri,bt,Wt){this._overlay=Oe,this._live=mt,this._injector=kt,this._breakpointObserver=ri,this._parentSnackBar=bt,this._defaultConfig=Wt,this._snackBarRefAtThisLevel=null}get _openedSnackBarRef(){const Oe=this._parentSnackBar;return Oe?Oe._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(Oe){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=Oe:this._snackBarRefAtThisLevel=Oe}openFromComponent(Oe,mt){return this._attach(Oe,mt)}openFromTemplate(Oe,mt){return this._attach(Oe,mt)}open(Oe,mt="",kt){const ri=Object.assign(Object.assign({},this._defaultConfig),kt);return ri.data={message:Oe,action:mt},ri.announcementMessage===Oe&&(ri.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,ri)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(Oe,mt){const ri=b.zs3.create({parent:mt&&mt.viewContainerRef&&mt.viewContainerRef.injector||this._injector,providers:[{provide:le,useValue:mt}]}),bt=new m.C5(this.snackBarContainerComponent,mt.viewContainerRef,ri),Wt=Oe.attach(bt);return Wt.instance.snackBarConfig=mt,Wt.instance}_attach(Oe,mt){const kt=Object.assign(Object.assign(Object.assign({},new le),this._defaultConfig),mt),ri=this._createOverlay(kt),bt=this._attachSnackBarContainer(ri,kt),Wt=new yt(bt,ri);if(Oe instanceof b.Rgc){const ye=new m.UE(Oe,null,{$implicit:kt.data,snackBarRef:Wt});Wt.instance=bt.attachTemplatePortal(ye)}else{const ye=this._createInjector(kt,Wt),Xe=new m.C5(Oe,void 0,ye),Ae=bt.attachComponentPortal(Xe);Wt.instance=Ae.instance}return this._breakpointObserver.observe(ce.u3.HandsetPortrait).pipe((0,ee.R)(ri.detachments())).subscribe(ye=>{ri.overlayElement.classList.toggle(this.handsetCssClass,ye.matches)}),kt.announcementMessage&&bt._onAnnounce.subscribe(()=>{this._live.announce(kt.announcementMessage,kt.politeness)}),this._animateSnackBar(Wt,kt),this._openedSnackBarRef=Wt,this._openedSnackBarRef}_animateSnackBar(Oe,mt){Oe.afterDismissed().subscribe(()=>{this._openedSnackBarRef==Oe&&(this._openedSnackBarRef=null),mt.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{Oe.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):Oe.containerInstance.enter(),mt.duration&&mt.duration>0&&Oe.afterOpened().subscribe(()=>Oe._dismissAfter(mt.duration))}_createOverlay(Oe){const mt=new c.X_;mt.direction=Oe.direction;let kt=this._overlay.position().global();const ri="rtl"===Oe.direction,bt="left"===Oe.horizontalPosition||"start"===Oe.horizontalPosition&&!ri||"end"===Oe.horizontalPosition&&ri,Wt=!bt&&"center"!==Oe.horizontalPosition;return bt?kt.left("0"):Wt?kt.right("0"):kt.centerHorizontally(),"top"===Oe.verticalPosition?kt.top("0"):kt.bottom("0"),mt.positionStrategy=kt,this._overlay.create(mt)}_createInjector(Oe,mt){return b.zs3.create({parent:Oe&&Oe.viewContainerRef&&Oe.viewContainerRef.injector||this._injector,providers:[{provide:yt,useValue:mt},{provide:Ge,useValue:Oe.data}]})}}return qe.\u0275fac=function(Oe){return new(Oe||qe)(b.LFG(c.aV),b.LFG(ke.Kd),b.LFG(b.zs3),b.LFG(ce.Yg),b.LFG(qe,12),b.LFG(_e))},qe.\u0275prov=b.Yz7({token:qe,factory:qe.\u0275fac}),qe})(),Ye=(()=>{class qe extends tt{constructor(Oe,mt,kt,ri,bt,Wt){super(Oe,mt,kt,ri,bt,Wt),this.simpleSnackBarComponent=jt,this.snackBarContainerComponent=Le,this.handsetCssClass="mat-snack-bar-handset"}}return qe.\u0275fac=function(Oe){return new(Oe||qe)(b.LFG(c.aV),b.LFG(ke.Kd),b.LFG(b.zs3),b.LFG(ce.Yg),b.LFG(qe,12),b.LFG(_e))},qe.\u0275prov=b.Yz7({token:qe,factory:qe.\u0275fac,providedIn:at}),qe})()},3251:(N,U,C)=>{"use strict";C.d(U,{Nh:()=>Vi,SP:()=>it,uD:()=>dn,uX:()=>Je});var c=C(5664),m=C(7144),e=C(7429),b=C(9808),M=C(5e3),k=C(508),F=C(5698),G=C(8675),ee=C(1884),z=C(2722),ue=C(3900),ce=C(5684),ke=C(9300),Pe=C(7579),de=C(727),Ge=C(4968),le=C(9646),Ne=C(6451),yt=C(515),jt=C(9751),st=C(5963),Te=C(1777),Le=C(226),at=C(3191),_e=C(1159),xt=C(925),tt=C(9071);function Ye(It,ci){1&It&&M.Hsn(0)}const qe=["*"];function ie(It,ci){}const Oe=function(It){return{animationDuration:It}},mt=function(It,ci){return{value:It,params:ci}},kt=["tabListContainer"],ri=["tabList"],bt=["tabListInner"],Wt=["nextPaginator"],ye=["previousPaginator"],Xe=["tabBodyWrapper"],Ae=["tabHeader"];function he(It,ci){}function nt(It,ci){if(1&It&&M.YNc(0,he,0,0,"ng-template",10),2&It){const Ee=M.oxw().$implicit;M.Q6J("cdkPortalOutlet",Ee.templateLabel)}}function Yt(It,ci){if(1&It&&M._uU(0),2&It){const Ee=M.oxw().$implicit;M.Oqu(Ee.textLabel)}}function Lt(It,ci){if(1&It){const Ee=M.EpF();M.TgZ(0,"div",6),M.NdJ("click",function(){const ot=M.CHM(Ee),qt=ot.$implicit,un=ot.index,ln=M.oxw(),vt=M.MAs(1);return M.KtG(ln._handleClick(qt,vt,un))})("cdkFocusChange",function(ot){const un=M.CHM(Ee).index,ln=M.oxw();return M.KtG(ln._tabFocusChanged(ot,un))}),M.TgZ(1,"div",7),M.YNc(2,nt,1,1,"ng-template",8),M.YNc(3,Yt,1,1,"ng-template",null,9,M.W1O),M.qZA()()}if(2&It){const Ee=ci.$implicit,pt=ci.index,ot=M.MAs(4),qt=M.oxw();M.ekj("mat-tab-label-active",qt.selectedIndex===pt),M.Q6J("id",qt._getTabLabelId(pt))("ngClass",Ee.labelClass)("disabled",Ee.disabled)("matRippleDisabled",Ee.disabled||qt.disableRipple),M.uIk("tabIndex",qt._getTabIndex(Ee,pt))("aria-posinset",pt+1)("aria-setsize",qt._tabs.length)("aria-controls",qt._getTabContentId(pt))("aria-selected",qt.selectedIndex===pt)("aria-label",Ee.ariaLabel||null)("aria-labelledby",!Ee.ariaLabel&&Ee.ariaLabelledby?Ee.ariaLabelledby:null),M.xp6(2),M.Q6J("ngIf",Ee.templateLabel)("ngIfElse",ot)}}function Ai(It,ci){if(1&It){const Ee=M.EpF();M.TgZ(0,"mat-tab-body",11),M.NdJ("_onCentered",function(){M.CHM(Ee);const ot=M.oxw();return M.KtG(ot._removeTabBodyWrapperHeight())})("_onCentering",function(ot){M.CHM(Ee);const qt=M.oxw();return M.KtG(qt._setTabBodyWrapperHeight(ot))}),M.qZA()}if(2&It){const Ee=ci.$implicit,pt=ci.index,ot=M.oxw();M.ekj("mat-tab-body-active",ot.selectedIndex===pt),M.Q6J("id",ot._getTabContentId(pt))("ngClass",Ee.bodyClass)("content",Ee.content)("position",Ee.position)("origin",Ee.origin)("animationDuration",ot.animationDuration)("preserveContent",ot.preserveContent),M.uIk("tabindex",null!=ot.contentTabIndex&&ot.selectedIndex===pt?ot.contentTabIndex:null)("aria-labelledby",ot._getTabLabelId(pt))}}const hi=new M.OlP("MatInkBarPositioner",{providedIn:"root",factory:function ne(){return ci=>({left:ci?(ci.offsetLeft||0)+"px":"0",width:ci?(ci.offsetWidth||0)+"px":"0"})}});let Tt=(()=>{class It{constructor(Ee,pt,ot,qt){this._elementRef=Ee,this._ngZone=pt,this._inkBarPositioner=ot,this._animationMode=qt}alignToElement(Ee){this.show(),this._ngZone.run(()=>{this._ngZone.onStable.pipe((0,F.q)(1)).subscribe(()=>{const pt=this._inkBarPositioner(Ee),ot=this._elementRef.nativeElement;ot.style.left=pt.left,ot.style.width=pt.width})})}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}}return It.\u0275fac=function(Ee){return new(Ee||It)(M.Y36(M.SBq),M.Y36(M.R0b),M.Y36(hi),M.Y36(M.QbO,8))},It.\u0275dir=M.lG2({type:It,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(Ee,pt){2&Ee&&M.ekj("_mat-animation-noopable","NoopAnimations"===pt._animationMode)}}),It})();const Se=new M.OlP("MatTabContent"),ni=new M.OlP("MatTabLabel"),ki=new M.OlP("MAT_TAB");let dn=(()=>{class It extends e.ig{constructor(Ee,pt,ot){super(Ee,pt),this._closestTab=ot}}return It.\u0275fac=function(Ee){return new(Ee||It)(M.Y36(M.Rgc),M.Y36(M.s_b),M.Y36(ki,8))},It.\u0275dir=M.lG2({type:It,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[M._Bn([{provide:ni,useExisting:It}]),M.qOj]}),It})();const ai=(0,k.Id)(class{}),ti=new M.OlP("MAT_TAB_GROUP");let Je=(()=>{class It extends ai{constructor(Ee,pt){super(),this._viewContainerRef=Ee,this._closestTabGroup=pt,this.textLabel="",this._contentPortal=null,this._stateChanges=new Pe.x,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(Ee){this._setTemplateLabelInput(Ee)}get content(){return this._contentPortal}ngOnChanges(Ee){(Ee.hasOwnProperty("textLabel")||Ee.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new e.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(Ee){Ee&&Ee._closestTab===this&&(this._templateLabel=Ee)}}return It.\u0275fac=function(Ee){return new(Ee||It)(M.Y36(M.s_b),M.Y36(ti,8))},It.\u0275cmp=M.Xpm({type:It,selectors:[["mat-tab"]],contentQueries:function(Ee,pt,ot){if(1&Ee&&(M.Suo(ot,ni,5),M.Suo(ot,Se,7,M.Rgc)),2&Ee){let qt;M.iGM(qt=M.CRH())&&(pt.templateLabel=qt.first),M.iGM(qt=M.CRH())&&(pt._explicitContent=qt.first)}},viewQuery:function(Ee,pt){if(1&Ee&&M.Gf(M.Rgc,7),2&Ee){let ot;M.iGM(ot=M.CRH())&&(pt._implicitContent=ot.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[M._Bn([{provide:ki,useExisting:It}]),M.qOj,M.TTD],ngContentSelectors:qe,decls:1,vars:0,template:function(Ee,pt){1&Ee&&(M.F$t(),M.YNc(0,Ye,1,0,"ng-template"))},encapsulation:2}),It})();const Y={translateTab:(0,Te.X$)("translateTab",[(0,Te.SB)("center, void, left-origin-center, right-origin-center",(0,Te.oB)({transform:"none"})),(0,Te.SB)("left",(0,Te.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,Te.SB)("right",(0,Te.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,Te.eR)("* => left, * => right, left => center, right => center",(0,Te.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,Te.eR)("void => left-origin-center",[(0,Te.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,Te.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,Te.eR)("void => right-origin-center",[(0,Te.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,Te.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let X=(()=>{class It extends e.Pl{constructor(Ee,pt,ot,qt){super(Ee,pt,qt),this._host=ot,this._centeringSub=de.w0.EMPTY,this._leavingSub=de.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,G.O)(this._host._isCenterPosition(this._host._position))).subscribe(Ee=>{Ee&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return It.\u0275fac=function(Ee){return new(Ee||It)(M.Y36(M._Vd),M.Y36(M.s_b),M.Y36((0,M.Gpc)(()=>et)),M.Y36(b.K0))},It.\u0275dir=M.lG2({type:It,selectors:[["","matTabBodyHost",""]],features:[M.qOj]}),It})(),A=(()=>{class It{constructor(Ee,pt,ot){this._elementRef=Ee,this._dir=pt,this._dirChangeSubscription=de.w0.EMPTY,this._translateTabComplete=new Pe.x,this._onCentering=new M.vpe,this._beforeCentering=new M.vpe,this._afterLeavingCenter=new M.vpe,this._onCentered=new M.vpe(!0),this.animationDuration="500ms",this.preserveContent=!1,pt&&(this._dirChangeSubscription=pt.change.subscribe(qt=>{this._computePositionAnimationState(qt),ot.markForCheck()})),this._translateTabComplete.pipe((0,ee.x)((qt,un)=>qt.fromState===un.fromState&&qt.toState===un.toState)).subscribe(qt=>{this._isCenterPosition(qt.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(qt.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(Ee){this._positionIndex=Ee,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(Ee){const pt=this._isCenterPosition(Ee.toState);this._beforeCentering.emit(pt),pt&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(Ee){return"center"==Ee||"left-origin-center"==Ee||"right-origin-center"==Ee}_computePositionAnimationState(Ee=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==Ee?"left":"right":this._positionIndex>0?"ltr"==Ee?"right":"left":"center"}_computePositionFromOrigin(Ee){const pt=this._getLayoutDirection();return"ltr"==pt&&Ee<=0||"rtl"==pt&&Ee>0?"left-origin-center":"right-origin-center"}}return It.\u0275fac=function(Ee){return new(Ee||It)(M.Y36(M.SBq),M.Y36(Le.Is,8),M.Y36(M.sBO))},It.\u0275dir=M.lG2({type:It,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),It})(),et=(()=>{class It extends A{constructor(Ee,pt,ot){super(Ee,pt,ot)}}return It.\u0275fac=function(Ee){return new(Ee||It)(M.Y36(M.SBq),M.Y36(Le.Is,8),M.Y36(M.sBO))},It.\u0275cmp=M.Xpm({type:It,selectors:[["mat-tab-body"]],viewQuery:function(Ee,pt){if(1&Ee&&M.Gf(e.Pl,5),2&Ee){let ot;M.iGM(ot=M.CRH())&&(pt._portalHost=ot.first)}},hostAttrs:[1,"mat-tab-body"],features:[M.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(Ee,pt){1&Ee&&(M.TgZ(0,"div",0,1),M.NdJ("@translateTab.start",function(qt){return pt._onTranslateTabStarted(qt)})("@translateTab.done",function(qt){return pt._translateTabComplete.next(qt)}),M.YNc(2,ie,0,0,"ng-template",2),M.qZA()),2&Ee&&M.Q6J("@translateTab",M.WLB(3,mt,pt._position,M.VKq(1,Oe,pt.animationDuration)))},dependencies:[X],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[Y.translateTab]}}),It})();const Fe=new M.OlP("MAT_TABS_CONFIG"),we=(0,k.Id)(class{});let De=(()=>{class It extends we{constructor(Ee){super(),this.elementRef=Ee}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return It.\u0275fac=function(Ee){return new(Ee||It)(M.Y36(M.SBq))},It.\u0275dir=M.lG2({type:It,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(Ee,pt){2&Ee&&(M.uIk("aria-disabled",!!pt.disabled),M.ekj("mat-tab-disabled",pt.disabled))},inputs:{disabled:"disabled"},features:[M.qOj]}),It})();const ct=(0,xt.i$)({passive:!0});let di=(()=>{class It{constructor(Ee,pt,ot,qt,un,ln,vt){this._elementRef=Ee,this._changeDetectorRef=pt,this._viewportRuler=ot,this._dir=qt,this._ngZone=un,this._platform=ln,this._animationMode=vt,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new Pe.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new Pe.x,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new M.vpe,this.indexFocused=new M.vpe,un.runOutsideAngular(()=>{(0,Ge.R)(Ee.nativeElement,"mouseleave").pipe((0,z.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get disablePagination(){return this._disablePagination}set disablePagination(Ee){this._disablePagination=(0,at.Ig)(Ee)}get selectedIndex(){return this._selectedIndex}set selectedIndex(Ee){Ee=(0,at.su)(Ee),this._selectedIndex!=Ee&&(this._selectedIndexChanged=!0,this._selectedIndex=Ee,this._keyManager&&this._keyManager.updateActiveItem(Ee))}ngAfterViewInit(){(0,Ge.R)(this._previousPaginator.nativeElement,"touchstart",ct).pipe((0,z.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,Ge.R)(this._nextPaginator.nativeElement,"touchstart",ct).pipe((0,z.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const Ee=this._dir?this._dir.change:(0,le.of)("ltr"),pt=this._viewportRuler.change(150),ot=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new c.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,F.q)(1)).subscribe(ot),(0,Ne.T)(Ee,pt,this._items.changes,this._itemsResized()).pipe((0,z.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),ot()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe((0,z.R)(this._destroyed)).subscribe(qt=>{this.indexFocused.emit(qt),this._setTabFocus(qt)})}_itemsResized(){return"function"!=typeof ResizeObserver?yt.E:this._items.changes.pipe((0,G.O)(this._items),(0,ue.w)(Ee=>new jt.y(pt=>this._ngZone.runOutsideAngular(()=>{const ot=new ResizeObserver(qt=>pt.next(qt));return Ee.forEach(qt=>ot.observe(qt.elementRef.nativeElement)),()=>{ot.disconnect()}}))),(0,ce.T)(1),(0,ke.h)(Ee=>Ee.some(pt=>pt.contentRect.width>0&&pt.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(Ee){if(!(0,_e.Vb)(Ee))switch(Ee.keyCode){case _e.K5:case _e.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(Ee));break;default:this._keyManager.onKeydown(Ee)}}_onContentChanges(){const Ee=this._elementRef.nativeElement.textContent;Ee!==this._currentTextContent&&(this._currentTextContent=Ee||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(Ee){!this._isValidIndex(Ee)||this.focusIndex===Ee||!this._keyManager||this._keyManager.setActiveItem(Ee)}_isValidIndex(Ee){if(!this._items)return!0;const pt=this._items?this._items.toArray()[Ee]:null;return!!pt&&!pt.disabled}_setTabFocus(Ee){if(this._showPaginationControls&&this._scrollToLabel(Ee),this._items&&this._items.length){this._items.toArray()[Ee].focus();const pt=this._tabListContainer.nativeElement;pt.scrollLeft="ltr"==this._getLayoutDirection()?0:pt.scrollWidth-pt.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const Ee=this.scrollDistance,pt="ltr"===this._getLayoutDirection()?-Ee:Ee;this._tabList.nativeElement.style.transform=`translateX(${Math.round(pt)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(Ee){this._scrollTo(Ee)}_scrollHeader(Ee){return this._scrollTo(this._scrollDistance+("before"==Ee?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(Ee){this._stopInterval(),this._scrollHeader(Ee)}_scrollToLabel(Ee){if(this.disablePagination)return;const pt=this._items?this._items.toArray()[Ee]:null;if(!pt)return;const ot=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:qt,offsetWidth:un}=pt.elementRef.nativeElement;let ln,vt;"ltr"==this._getLayoutDirection()?(ln=qt,vt=ln+un):(vt=this._tabListInner.nativeElement.offsetWidth-qt,ln=vt-un);const rt=this.scrollDistance,je=this.scrollDistance+ot;lnje&&(this.scrollDistance+=vt-je+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const Ee=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;Ee||(this.scrollDistance=0),Ee!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=Ee}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const Ee=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,pt=Ee?Ee.elementRef.nativeElement:null;pt?this._inkBar.alignToElement(pt):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(Ee,pt){pt&&null!=pt.button&&0!==pt.button||(this._stopInterval(),(0,st.H)(650,100).pipe((0,z.R)((0,Ne.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:ot,distance:qt}=this._scrollHeader(Ee);(0===qt||qt>=ot)&&this._stopInterval()}))}_scrollTo(Ee){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const pt=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(pt,Ee)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:pt,distance:this._scrollDistance}}}return It.\u0275fac=function(Ee){return new(Ee||It)(M.Y36(M.SBq),M.Y36(M.sBO),M.Y36(tt.rL),M.Y36(Le.Is,8),M.Y36(M.R0b),M.Y36(xt.t4),M.Y36(M.QbO,8))},It.\u0275dir=M.lG2({type:It,inputs:{disablePagination:"disablePagination"}}),It})(),zt=(()=>{class It extends di{constructor(Ee,pt,ot,qt,un,ln,vt){super(Ee,pt,ot,qt,un,ln,vt),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(Ee){this._disableRipple=(0,at.Ig)(Ee)}_itemSelected(Ee){Ee.preventDefault()}}return It.\u0275fac=function(Ee){return new(Ee||It)(M.Y36(M.SBq),M.Y36(M.sBO),M.Y36(tt.rL),M.Y36(Le.Is,8),M.Y36(M.R0b),M.Y36(xt.t4),M.Y36(M.QbO,8))},It.\u0275dir=M.lG2({type:It,inputs:{disableRipple:"disableRipple"},features:[M.qOj]}),It})(),Bi=(()=>{class It extends zt{constructor(Ee,pt,ot,qt,un,ln,vt){super(Ee,pt,ot,qt,un,ln,vt)}}return It.\u0275fac=function(Ee){return new(Ee||It)(M.Y36(M.SBq),M.Y36(M.sBO),M.Y36(tt.rL),M.Y36(Le.Is,8),M.Y36(M.R0b),M.Y36(xt.t4),M.Y36(M.QbO,8))},It.\u0275cmp=M.Xpm({type:It,selectors:[["mat-tab-header"]],contentQueries:function(Ee,pt,ot){if(1&Ee&&M.Suo(ot,De,4),2&Ee){let qt;M.iGM(qt=M.CRH())&&(pt._items=qt)}},viewQuery:function(Ee,pt){if(1&Ee&&(M.Gf(Tt,7),M.Gf(kt,7),M.Gf(ri,7),M.Gf(bt,7),M.Gf(Wt,5),M.Gf(ye,5)),2&Ee){let ot;M.iGM(ot=M.CRH())&&(pt._inkBar=ot.first),M.iGM(ot=M.CRH())&&(pt._tabListContainer=ot.first),M.iGM(ot=M.CRH())&&(pt._tabList=ot.first),M.iGM(ot=M.CRH())&&(pt._tabListInner=ot.first),M.iGM(ot=M.CRH())&&(pt._nextPaginator=ot.first),M.iGM(ot=M.CRH())&&(pt._previousPaginator=ot.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(Ee,pt){2&Ee&&M.ekj("mat-tab-header-pagination-controls-enabled",pt._showPaginationControls)("mat-tab-header-rtl","rtl"==pt._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[M.qOj],ngContentSelectors:qe,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(Ee,pt){1&Ee&&(M.F$t(),M.TgZ(0,"button",0,1),M.NdJ("click",function(){return pt._handlePaginatorClick("before")})("mousedown",function(qt){return pt._handlePaginatorPress("before",qt)})("touchend",function(){return pt._stopInterval()}),M._UZ(2,"div",2),M.qZA(),M.TgZ(3,"div",3,4),M.NdJ("keydown",function(qt){return pt._handleKeydown(qt)}),M.TgZ(5,"div",5,6),M.NdJ("cdkObserveContent",function(){return pt._onContentChanges()}),M.TgZ(7,"div",7,8),M.Hsn(9),M.qZA(),M._UZ(10,"mat-ink-bar"),M.qZA()(),M.TgZ(11,"button",9,10),M.NdJ("mousedown",function(qt){return pt._handlePaginatorPress("after",qt)})("click",function(){return pt._handlePaginatorClick("after")})("touchend",function(){return pt._stopInterval()}),M._UZ(13,"div",2),M.qZA()),2&Ee&&(M.ekj("mat-tab-header-pagination-disabled",pt._disableScrollBefore),M.Q6J("matRippleDisabled",pt._disableScrollBefore||pt.disableRipple)("disabled",pt._disableScrollBefore||null),M.xp6(5),M.ekj("_mat-animation-noopable","NoopAnimations"===pt._animationMode),M.xp6(6),M.ekj("mat-tab-header-pagination-disabled",pt._disableScrollAfter),M.Q6J("matRippleDisabled",pt._disableScrollAfter||pt.disableRipple)("disabled",pt._disableScrollAfter||null))},dependencies:[k.wG,m.wD,Tt],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-list._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}.mat-tab-label::before{margin:5px}@media(max-width: 599px){.mat-tab-label{min-width:72px}}"],encapsulation:2}),It})(),xi=0;class $n{}const Hi=(0,k.pj)((0,k.Kr)(class{constructor(It){this._elementRef=It}}),"primary");let ht=(()=>{class It extends Hi{constructor(Ee,pt,ot,qt){var un;super(Ee),this._changeDetectorRef=pt,this._animationMode=qt,this._tabs=new M.n_E,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=de.w0.EMPTY,this._tabLabelSubscription=de.w0.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new M.vpe,this.focusChange=new M.vpe,this.animationDone=new M.vpe,this.selectedTabChange=new M.vpe(!0),this._groupId=xi++,this.animationDuration=ot&&ot.animationDuration?ot.animationDuration:"500ms",this.disablePagination=!(!ot||null==ot.disablePagination)&&ot.disablePagination,this.dynamicHeight=!(!ot||null==ot.dynamicHeight)&&ot.dynamicHeight,this.contentTabIndex=null!==(un=null==ot?void 0:ot.contentTabIndex)&&void 0!==un?un:null,this.preserveContent=!(null==ot||!ot.preserveContent)}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(Ee){this._dynamicHeight=(0,at.Ig)(Ee)}get selectedIndex(){return this._selectedIndex}set selectedIndex(Ee){this._indexToSelect=(0,at.su)(Ee,null)}get animationDuration(){return this._animationDuration}set animationDuration(Ee){this._animationDuration=/^\d+$/.test(Ee+"")?Ee+"ms":Ee}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(Ee){this._contentTabIndex=(0,at.su)(Ee,null)}get disablePagination(){return this._disablePagination}set disablePagination(Ee){this._disablePagination=(0,at.Ig)(Ee)}get preserveContent(){return this._preserveContent}set preserveContent(Ee){this._preserveContent=(0,at.Ig)(Ee)}get backgroundColor(){return this._backgroundColor}set backgroundColor(Ee){const pt=this._elementRef.nativeElement;pt.classList.remove(`mat-background-${this.backgroundColor}`),Ee&&pt.classList.add(`mat-background-${Ee}`),this._backgroundColor=Ee}ngAfterContentChecked(){const Ee=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=Ee){const pt=null==this._selectedIndex;if(!pt){this.selectedTabChange.emit(this._createChangeEvent(Ee));const ot=this._tabBodyWrapper.nativeElement;ot.style.minHeight=ot.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((ot,qt)=>ot.isActive=qt===Ee),pt||(this.selectedIndexChange.emit(Ee),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((pt,ot)=>{pt.position=ot-Ee,null!=this._selectedIndex&&0==pt.position&&!pt.origin&&(pt.origin=Ee-this._selectedIndex)}),this._selectedIndex!==Ee&&(this._selectedIndex=Ee,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const Ee=this._clampTabIndex(this._indexToSelect);if(Ee===this._selectedIndex){const pt=this._tabs.toArray();let ot;for(let qt=0;qt{pt[Ee].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(Ee))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,G.O)(this._allTabs)).subscribe(Ee=>{this._tabs.reset(Ee.filter(pt=>pt._closestTabGroup===this||!pt._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(Ee){const pt=this._tabHeader;pt&&(pt.focusIndex=Ee)}_focusChanged(Ee){this._lastFocusedTabIndex=Ee,this.focusChange.emit(this._createChangeEvent(Ee))}_createChangeEvent(Ee){const pt=new $n;return pt.index=Ee,this._tabs&&this._tabs.length&&(pt.tab=this._tabs.toArray()[Ee]),pt}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,Ne.T)(...this._tabs.map(Ee=>Ee._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(Ee){return Math.min(this._tabs.length-1,Math.max(Ee||0,0))}_getTabLabelId(Ee){return`mat-tab-label-${this._groupId}-${Ee}`}_getTabContentId(Ee){return`mat-tab-content-${this._groupId}-${Ee}`}_setTabBodyWrapperHeight(Ee){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const pt=this._tabBodyWrapper.nativeElement;pt.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(pt.style.height=Ee+"px")}_removeTabBodyWrapperHeight(){const Ee=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=Ee.clientHeight,Ee.style.height="",this.animationDone.emit()}_handleClick(Ee,pt,ot){Ee.disabled||(this.selectedIndex=pt.focusIndex=ot)}_getTabIndex(Ee,pt){var ot;return Ee.disabled?null:pt===(null!==(ot=this._lastFocusedTabIndex)&&void 0!==ot?ot:this.selectedIndex)?0:-1}_tabFocusChanged(Ee,pt){Ee&&"mouse"!==Ee&&"touch"!==Ee&&(this._tabHeader.focusIndex=pt)}}return It.\u0275fac=function(Ee){return new(Ee||It)(M.Y36(M.SBq),M.Y36(M.sBO),M.Y36(Fe,8),M.Y36(M.QbO,8))},It.\u0275dir=M.lG2({type:It,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[M.qOj]}),It})(),it=(()=>{class It extends ht{constructor(Ee,pt,ot,qt){super(Ee,pt,ot,qt)}}return It.\u0275fac=function(Ee){return new(Ee||It)(M.Y36(M.SBq),M.Y36(M.sBO),M.Y36(Fe,8),M.Y36(M.QbO,8))},It.\u0275cmp=M.Xpm({type:It,selectors:[["mat-tab-group"]],contentQueries:function(Ee,pt,ot){if(1&Ee&&M.Suo(ot,Je,5),2&Ee){let qt;M.iGM(qt=M.CRH())&&(pt._allTabs=qt)}},viewQuery:function(Ee,pt){if(1&Ee&&(M.Gf(Xe,5),M.Gf(Ae,5)),2&Ee){let ot;M.iGM(ot=M.CRH())&&(pt._tabBodyWrapper=ot.first),M.iGM(ot=M.CRH())&&(pt._tabHeader=ot.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(Ee,pt){2&Ee&&M.ekj("mat-tab-group-dynamic-height",pt.dynamicHeight)("mat-tab-group-inverted-header","below"===pt.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[M._Bn([{provide:ti,useExisting:It}]),M.qOj],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(Ee,pt){1&Ee&&(M.TgZ(0,"mat-tab-header",0,1),M.NdJ("indexFocused",function(qt){return pt._focusChanged(qt)})("selectFocusedIndex",function(qt){return pt.selectedIndex=qt}),M.YNc(2,Lt,5,15,"div",2),M.qZA(),M.TgZ(3,"div",3,4),M.YNc(5,Ai,1,11,"mat-tab-body",5),M.qZA()),2&Ee&&(M.Q6J("selectedIndex",pt.selectedIndex||0)("disableRipple",pt.disableRipple)("disablePagination",pt.disablePagination),M.xp6(2),M.Q6J("ngForOf",pt._tabs),M.xp6(1),M.ekj("_mat-animation-noopable","NoopAnimations"===pt._animationMode),M.xp6(2),M.Q6J("ngForOf",pt._tabs))},dependencies:[b.mk,b.sg,b.O5,e.Pl,k.wG,c.kH,De,et,Bi],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}"],encapsulation:2}),It})(),Vi=(()=>{class It{}return It.\u0275fac=function(Ee){return new(Ee||It)},It.\u0275mod=M.oAB({type:It}),It.\u0275inj=M.cJS({imports:[b.ez,k.BQ,e.eL,k.si,m.Q8,c.rt,k.BQ]}),It})()},2313:(N,U,C)=>{"use strict";C.d(U,{Dx:()=>Fe,H7:()=>ot,b2:()=>Je,q6:()=>ki,se:()=>Oe});var c=C(9808),m=C(5e3);class e extends c.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class b extends e{static makeCurrent(){(0,c.HT)(new b)}onAndCancel(rt,je,Mt){return rt.addEventListener(je,Mt,!1),()=>{rt.removeEventListener(je,Mt,!1)}}dispatchEvent(rt,je){rt.dispatchEvent(je)}remove(rt){rt.parentNode&&rt.parentNode.removeChild(rt)}createElement(rt,je){return(je=je||this.getDefaultDocument()).createElement(rt)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(rt){return rt.nodeType===Node.ELEMENT_NODE}isShadowRoot(rt){return rt instanceof DocumentFragment}getGlobalEventTarget(rt,je){return"window"===je?window:"document"===je?rt:"body"===je?rt.body:null}getBaseHref(rt){const je=function k(){return M=M||document.querySelector("base"),M?M.getAttribute("href"):null}();return null==je?null:function G(vt){F=F||document.createElement("a"),F.setAttribute("href",vt);const rt=F.pathname;return"/"===rt.charAt(0)?rt:`/${rt}`}(je)}resetBaseElement(){M=null}getUserAgent(){return window.navigator.userAgent}getCookie(rt){return(0,c.Mx)(document.cookie,rt)}}let F,M=null;const ee=new m.OlP("TRANSITION_ID"),ue=[{provide:m.ip1,useFactory:function z(vt,rt,je){return()=>{je.get(m.CZH).donePromise.then(()=>{const Mt=(0,c.q)(),Ut=rt.querySelectorAll(`style[ng-transition="${vt}"]`);for(let Oi=0;Oi{class vt{build(){return new XMLHttpRequest}}return vt.\u0275fac=function(je){return new(je||vt)},vt.\u0275prov=m.Yz7({token:vt,factory:vt.\u0275fac}),vt})();const Pe=new m.OlP("EventManagerPlugins");let de=(()=>{class vt{constructor(je,Mt){this._zone=Mt,this._eventNameToPlugin=new Map,je.forEach(Ut=>Ut.manager=this),this._plugins=je.slice().reverse()}addEventListener(je,Mt,Ut){return this._findPluginFor(Mt).addEventListener(je,Mt,Ut)}addGlobalEventListener(je,Mt,Ut){return this._findPluginFor(Mt).addGlobalEventListener(je,Mt,Ut)}getZone(){return this._zone}_findPluginFor(je){const Mt=this._eventNameToPlugin.get(je);if(Mt)return Mt;const Ut=this._plugins;for(let Oi=0;Oi{class vt{constructor(){this._stylesSet=new Set}addStyles(je){const Mt=new Set;je.forEach(Ut=>{this._stylesSet.has(Ut)||(this._stylesSet.add(Ut),Mt.add(Ut))}),this.onStylesAdded(Mt)}onStylesAdded(je){}getAllStyles(){return Array.from(this._stylesSet)}}return vt.\u0275fac=function(je){return new(je||vt)},vt.\u0275prov=m.Yz7({token:vt,factory:vt.\u0275fac}),vt})(),Ne=(()=>{class vt extends le{constructor(je){super(),this._doc=je,this._hostNodes=new Map,this._hostNodes.set(je.head,[])}_addStylesToHost(je,Mt,Ut){je.forEach(Oi=>{const Ni=this._doc.createElement("style");Ni.textContent=Oi,Ut.push(Mt.appendChild(Ni))})}addHost(je){const Mt=[];this._addStylesToHost(this._stylesSet,je,Mt),this._hostNodes.set(je,Mt)}removeHost(je){const Mt=this._hostNodes.get(je);Mt&&Mt.forEach(yt),this._hostNodes.delete(je)}onStylesAdded(je){this._hostNodes.forEach((Mt,Ut)=>{this._addStylesToHost(je,Ut,Mt)})}ngOnDestroy(){this._hostNodes.forEach(je=>je.forEach(yt))}}return vt.\u0275fac=function(je){return new(je||vt)(m.LFG(c.K0))},vt.\u0275prov=m.Yz7({token:vt,factory:vt.\u0275fac}),vt})();function yt(vt){(0,c.q)().remove(vt)}const jt={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},st=/%COMP%/g;function Ye(vt,rt,je){for(let Mt=0;Mt{if("__ngUnwrap__"===rt)return vt;!1===vt(rt)&&(rt.preventDefault(),rt.returnValue=!1)}}let Oe=(()=>{class vt{constructor(je,Mt,Ut){this.eventManager=je,this.sharedStylesHost=Mt,this.appId=Ut,this.rendererByCompId=new Map,this.defaultRenderer=new mt(je)}createRenderer(je,Mt){if(!je||!Mt)return this.defaultRenderer;switch(Mt.encapsulation){case m.ifc.Emulated:{let Ut=this.rendererByCompId.get(Mt.id);return Ut||(Ut=new Wt(this.eventManager,this.sharedStylesHost,Mt,this.appId),this.rendererByCompId.set(Mt.id,Ut)),Ut.applyToHost(je),Ut}case 1:case m.ifc.ShadowDom:return new ye(this.eventManager,this.sharedStylesHost,je,Mt);default:if(!this.rendererByCompId.has(Mt.id)){const Ut=Ye(Mt.id,Mt.styles,[]);this.sharedStylesHost.addStyles(Ut),this.rendererByCompId.set(Mt.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return vt.\u0275fac=function(je){return new(je||vt)(m.LFG(de),m.LFG(Ne),m.LFG(m.AFp))},vt.\u0275prov=m.Yz7({token:vt,factory:vt.\u0275fac}),vt})();class mt{constructor(rt){this.eventManager=rt,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(rt,je){return je?document.createElementNS(jt[je]||je,rt):document.createElement(rt)}createComment(rt){return document.createComment(rt)}createText(rt){return document.createTextNode(rt)}appendChild(rt,je){(bt(rt)?rt.content:rt).appendChild(je)}insertBefore(rt,je,Mt){rt&&(bt(rt)?rt.content:rt).insertBefore(je,Mt)}removeChild(rt,je){rt&&rt.removeChild(je)}selectRootElement(rt,je){let Mt="string"==typeof rt?document.querySelector(rt):rt;if(!Mt)throw new Error(`The selector "${rt}" did not match any elements`);return je||(Mt.textContent=""),Mt}parentNode(rt){return rt.parentNode}nextSibling(rt){return rt.nextSibling}setAttribute(rt,je,Mt,Ut){if(Ut){je=Ut+":"+je;const Oi=jt[Ut];Oi?rt.setAttributeNS(Oi,je,Mt):rt.setAttribute(je,Mt)}else rt.setAttribute(je,Mt)}removeAttribute(rt,je,Mt){if(Mt){const Ut=jt[Mt];Ut?rt.removeAttributeNS(Ut,je):rt.removeAttribute(`${Mt}:${je}`)}else rt.removeAttribute(je)}addClass(rt,je){rt.classList.add(je)}removeClass(rt,je){rt.classList.remove(je)}setStyle(rt,je,Mt,Ut){Ut&(m.JOm.DashCase|m.JOm.Important)?rt.style.setProperty(je,Mt,Ut&m.JOm.Important?"important":""):rt.style[je]=Mt}removeStyle(rt,je,Mt){Mt&m.JOm.DashCase?rt.style.removeProperty(je):rt.style[je]=""}setProperty(rt,je,Mt){rt[je]=Mt}setValue(rt,je){rt.nodeValue=je}listen(rt,je,Mt){return"string"==typeof rt?this.eventManager.addGlobalEventListener(rt,je,qe(Mt)):this.eventManager.addEventListener(rt,je,qe(Mt))}}function bt(vt){return"TEMPLATE"===vt.tagName&&void 0!==vt.content}class Wt extends mt{constructor(rt,je,Mt,Ut){super(rt),this.component=Mt;const Oi=Ye(Ut+"-"+Mt.id,Mt.styles,[]);je.addStyles(Oi),this.contentAttr=function xt(vt){return"_ngcontent-%COMP%".replace(st,vt)}(Ut+"-"+Mt.id),this.hostAttr=function tt(vt){return"_nghost-%COMP%".replace(st,vt)}(Ut+"-"+Mt.id)}applyToHost(rt){super.setAttribute(rt,this.hostAttr,"")}createElement(rt,je){const Mt=super.createElement(rt,je);return super.setAttribute(Mt,this.contentAttr,""),Mt}}class ye extends mt{constructor(rt,je,Mt,Ut){super(rt),this.sharedStylesHost=je,this.hostEl=Mt,this.shadowRoot=Mt.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Oi=Ye(Ut.id,Ut.styles,[]);for(let Ni=0;Ni{class vt extends Ge{constructor(je){super(je)}supports(je){return!0}addEventListener(je,Mt,Ut){return je.addEventListener(Mt,Ut,!1),()=>this.removeEventListener(je,Mt,Ut)}removeEventListener(je,Mt,Ut){return je.removeEventListener(Mt,Ut)}}return vt.\u0275fac=function(je){return new(je||vt)(m.LFG(c.K0))},vt.\u0275prov=m.Yz7({token:vt,factory:vt.\u0275fac}),vt})();const Ae=["alt","control","meta","shift"],he={"\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"},nt={alt:vt=>vt.altKey,control:vt=>vt.ctrlKey,meta:vt=>vt.metaKey,shift:vt=>vt.shiftKey};let Yt=(()=>{class vt extends Ge{constructor(je){super(je)}supports(je){return null!=vt.parseEventName(je)}addEventListener(je,Mt,Ut){const Oi=vt.parseEventName(Mt),Ni=vt.eventCallback(Oi.fullKey,Ut,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,c.q)().onAndCancel(je,Oi.domEventName,Ni))}static parseEventName(je){const Mt=je.toLowerCase().split("."),Ut=Mt.shift();if(0===Mt.length||"keydown"!==Ut&&"keyup"!==Ut)return null;const Oi=vt._normalizeKey(Mt.pop());let Ni="",Xt=Mt.indexOf("code");if(Xt>-1&&(Mt.splice(Xt,1),Ni="code."),Ae.forEach(Sn=>{const sa=Mt.indexOf(Sn);sa>-1&&(Mt.splice(sa,1),Ni+=Sn+".")}),Ni+=Oi,0!=Mt.length||0===Oi.length)return null;const Li={};return Li.domEventName=Ut,Li.fullKey=Ni,Li}static matchEventFullKeyCode(je,Mt){let Ut=he[je.key]||je.key,Oi="";return Mt.indexOf("code.")>-1&&(Ut=je.code,Oi="code."),!(null==Ut||!Ut)&&(Ut=Ut.toLowerCase()," "===Ut?Ut="space":"."===Ut&&(Ut="dot"),Ae.forEach(Ni=>{Ni!==Ut&&(0,nt[Ni])(je)&&(Oi+=Ni+".")}),Oi+=Ut,Oi===Mt)}static eventCallback(je,Mt,Ut){return Oi=>{vt.matchEventFullKeyCode(Oi,je)&&Ut.runGuarded(()=>Mt(Oi))}}static _normalizeKey(je){return"esc"===je?"escape":je}}return vt.\u0275fac=function(je){return new(je||vt)(m.LFG(c.K0))},vt.\u0275prov=m.Yz7({token:vt,factory:vt.\u0275fac}),vt})();const ki=(0,m.eFA)(m._c5,"browser",[{provide:m.Lbi,useValue:c.bD},{provide:m.g9A,useValue:function Tt(){b.makeCurrent()},multi:!0},{provide:c.K0,useFactory:function ut(){return(0,m.RDi)(document),document},deps:[]}]),dn=new m.OlP(""),ai=[{provide:m.rWj,useClass:class ce{addToWindow(rt){m.dqk.getAngularTestability=(Mt,Ut=!0)=>{const Oi=rt.findTestabilityInTree(Mt,Ut);if(null==Oi)throw new Error("Could not find testability for element.");return Oi},m.dqk.getAllAngularTestabilities=()=>rt.getAllTestabilities(),m.dqk.getAllAngularRootElements=()=>rt.getAllRootElements(),m.dqk.frameworkStabilizers||(m.dqk.frameworkStabilizers=[]),m.dqk.frameworkStabilizers.push(Mt=>{const Ut=m.dqk.getAllAngularTestabilities();let Oi=Ut.length,Ni=!1;const Xt=function(Li){Ni=Ni||Li,Oi--,0==Oi&&Mt(Ni)};Ut.forEach(function(Li){Li.whenStable(Xt)})})}findTestabilityInTree(rt,je,Mt){if(null==je)return null;const Ut=rt.getTestability(je);return null!=Ut?Ut:Mt?(0,c.q)().isShadowRoot(je)?this.findTestabilityInTree(rt,je.host,!0):this.findTestabilityInTree(rt,je.parentElement,!0):null}},deps:[]},{provide:m.lri,useClass:m.dDg,deps:[m.R0b,m.eoX,m.rWj]},{provide:m.dDg,useClass:m.dDg,deps:[m.R0b,m.eoX,m.rWj]}],ti=[{provide:m.zSh,useValue:"root"},{provide:m.qLn,useFactory:function Se(){return new m.qLn},deps:[]},{provide:Pe,useClass:Xe,multi:!0,deps:[c.K0,m.R0b,m.Lbi]},{provide:Pe,useClass:Yt,multi:!0,deps:[c.K0]},{provide:Oe,useClass:Oe,deps:[de,Ne,m.AFp]},{provide:m.FYo,useExisting:Oe},{provide:le,useExisting:Ne},{provide:Ne,useClass:Ne,deps:[c.K0]},{provide:de,useClass:de,deps:[Pe,m.R0b]},{provide:c.JF,useClass:ke,deps:[]},[]];let Je=(()=>{class vt{constructor(je){}static withServerTransition(je){return{ngModule:vt,providers:[{provide:m.AFp,useValue:je.appId},{provide:ee,useExisting:m.AFp},ue]}}}return vt.\u0275fac=function(je){return new(je||vt)(m.LFG(dn,12))},vt.\u0275mod=m.oAB({type:vt}),vt.\u0275inj=m.cJS({providers:[...ti,...ai],imports:[c.ez,m.hGG]}),vt})(),Fe=(()=>{class vt{constructor(je){this._doc=je}getTitle(){return this._doc.title}setTitle(je){this._doc.title=je||""}}return vt.\u0275fac=function(je){return new(je||vt)(m.LFG(c.K0))},vt.\u0275prov=m.Yz7({token:vt,factory:function(je){let Mt=null;return Mt=je?new je:function et(){return new Fe((0,m.LFG)(c.K0))}(),Mt},providedIn:"root"}),vt})();"undefined"!=typeof window&&window;let ot=(()=>{class vt{}return vt.\u0275fac=function(je){return new(je||vt)},vt.\u0275prov=m.Yz7({token:vt,factory:function(je){let Mt=null;return Mt=je?new(je||vt):m.LFG(un),Mt},providedIn:"root"}),vt})(),un=(()=>{class vt extends ot{constructor(je){super(),this._doc=je}sanitize(je,Mt){if(null==Mt)return null;switch(je){case m.q3G.NONE:return Mt;case m.q3G.HTML:return(0,m.qzn)(Mt,"HTML")?(0,m.z3N)(Mt):(0,m.EiD)(this._doc,String(Mt)).toString();case m.q3G.STYLE:return(0,m.qzn)(Mt,"Style")?(0,m.z3N)(Mt):Mt;case m.q3G.SCRIPT:if((0,m.qzn)(Mt,"Script"))return(0,m.z3N)(Mt);throw new Error("unsafe value used in a script context");case m.q3G.URL:return(0,m.qzn)(Mt,"URL")?(0,m.z3N)(Mt):(0,m.mCW)(String(Mt));case m.q3G.RESOURCE_URL:if((0,m.qzn)(Mt,"ResourceURL"))return(0,m.z3N)(Mt);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${je} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(je){return(0,m.JVY)(je)}bypassSecurityTrustStyle(je){return(0,m.L6k)(je)}bypassSecurityTrustScript(je){return(0,m.eBb)(je)}bypassSecurityTrustUrl(je){return(0,m.LAX)(je)}bypassSecurityTrustResourceUrl(je){return(0,m.pB0)(je)}}return vt.\u0275fac=function(je){return new(je||vt)(m.LFG(c.K0))},vt.\u0275prov=m.Yz7({token:vt,factory:function(je){let Mt=null;return Mt=je?new je:function qt(vt){return new un(vt.get(c.K0))}(m.LFG(m.zs3)),Mt},providedIn:"root"}),vt})()},6696:(N,U,C)=>{"use strict";C.d(U,{gz:()=>$o,m2:()=>Un,F0:()=>la,rH:()=>mc,Od:()=>Is,yS:()=>ks,Bz:()=>tl,lC:()=>na});var c=C(5e3),m=C(2076),e=C(9646),b=C(1135);const k=(0,C(3888).d)(O=>function(){O(this),this.name="EmptyError",this.message="no elements in sequence"});var F=C(9841),G=C(7272),ee=C(9770),z=C(9635),ue=C(2843),ce=C(9751),ke=C(515),Pe=C(4033),de=C(7579),Ge=C(9808),le=C(4004),Ne=C(3900),yt=C(5698),jt=C(8675),st=C(9300),Te=C(5577),Le=C(4482),at=C(5403);function _e(O){return(0,Le.e)((P,S)=>{let Z=!1;P.subscribe((0,at.x)(S,Q=>{Z=!0,S.next(Q)},()=>{Z||S.next(O),S.complete()}))})}function xt(O=tt){return(0,Le.e)((P,S)=>{let Z=!1;P.subscribe((0,at.x)(S,Q=>{Z=!0,S.next(Q)},()=>Z?S.complete():S.error(O())))})}function tt(){return new k}var Ye=C(4671);function qe(O,P){const S=arguments.length>=2;return Z=>Z.pipe(O?(0,st.h)((Q,pe)=>O(Q,pe,Z)):Ye.y,(0,yt.q)(1),S?_e(P):xt(()=>new k))}var ie=C(4351),Oe=C(8505),mt=C(262);function kt(O,P,S,Z,Q){return(pe,ve)=>{let Be=S,At=P,gi=0;pe.subscribe((0,at.x)(ve,ui=>{const Ti=gi++;At=Be?O(At,ui,Ti):(Be=!0,ui),Z&&ve.next(At)},Q&&(()=>{Be&&ve.next(At),ve.complete()})))}}function ri(O,P){return(0,Le.e)(kt(O,P,arguments.length>=2,!0))}function bt(O){return O<=0?()=>ke.E:(0,Le.e)((P,S)=>{let Z=[];P.subscribe((0,at.x)(S,Q=>{Z.push(Q),O{for(const Q of Z)S.next(Q);S.complete()},void 0,()=>{Z=null}))})}function Wt(O,P){const S=arguments.length>=2;return Z=>Z.pipe(O?(0,st.h)((Q,pe)=>O(Q,pe,Z)):Ye.y,bt(1),S?_e(P):xt(()=>new k))}var ye=C(2529),Xe=C(9718),Ae=C(8746),he=C(8343),nt=C(8189),Yt=C(2313);const Lt="primary",Ai=Symbol("RouteTitle");class ei{constructor(P){this.params=P||{}}has(P){return Object.prototype.hasOwnProperty.call(this.params,P)}get(P){if(this.has(P)){const S=this.params[P];return Array.isArray(S)?S[0]:S}return null}getAll(P){if(this.has(P)){const S=this.params[P];return Array.isArray(S)?S:[S]}return[]}get keys(){return Object.keys(this.params)}}function hi(O){return new ei(O)}function ne(O,P,S){const Z=S.path.split("/");if(Z.length>O.length||"full"===S.pathMatch&&(P.hasChildren()||Z.lengthZ[pe]===Q)}return O===P}function ni(O){return Array.prototype.concat.apply([],O)}function ki(O){return O.length>0?O[O.length-1]:null}function ai(O,P){for(const S in O)O.hasOwnProperty(S)&&P(O[S],S)}function ti(O){return(0,c.CqO)(O)?O:(0,c.QGY)(O)?(0,m.D)(Promise.resolve(O)):(0,e.of)(O)}const X={exact:function we(O,P,S){if(!xi(O.segments,P.segments)||!Gt(O.segments,P.segments,S)||O.numberOfChildren!==P.numberOfChildren)return!1;for(const Z in P.children)if(!O.children[Z]||!we(O.children[Z],P.children[Z],S))return!1;return!0},subset:ct},A={exact:function Fe(O,P){return Se(O,P)},subset:function De(O,P){return Object.keys(P).length<=Object.keys(O).length&&Object.keys(P).every(S=>ut(O[S],P[S]))},ignored:()=>!0};function et(O,P,S){return X[S.paths](O.root,P.root,S.matrixParams)&&A[S.queryParams](O.queryParams,P.queryParams)&&!("exact"===S.fragment&&O.fragment!==P.fragment)}function ct(O,P,S){return Et(O,P,P.segments,S)}function Et(O,P,S,Z){if(O.segments.length>S.length){const Q=O.segments.slice(0,S.length);return!(!xi(Q,S)||P.hasChildren()||!Gt(Q,S,Z))}if(O.segments.length===S.length){if(!xi(O.segments,S)||!Gt(O.segments,S,Z))return!1;for(const Q in P.children)if(!O.children[Q]||!ct(O.children[Q],P.children[Q],Z))return!1;return!0}{const Q=S.slice(0,O.segments.length),pe=S.slice(O.segments.length);return!!(xi(O.segments,Q)&&Gt(O.segments,Q,Z)&&O.children[Lt])&&Et(O.children[Lt],P,pe,Z)}}function Gt(O,P,S){return P.every((Z,Q)=>A[S](O[Q].parameters,Z.parameters))}class _i{constructor(P,S,Z){this.root=P,this.queryParams=S,this.fragment=Z}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=hi(this.queryParams)),this._queryParamMap}toString(){return it.serialize(this)}}class di{constructor(P,S){this.segments=P,this.children=S,this.parent=null,ai(S,(Z,Q)=>Z.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Qe(this)}}class zt{constructor(P,S){this.path=P,this.parameters=S}get parameterMap(){return this._parameterMap||(this._parameterMap=hi(this.parameters)),this._parameterMap}toString(){return It(this)}}function xi(O,P){return O.length===P.length&&O.every((S,Z)=>S.path===P[Z].path)}let Hi=(()=>{class O{}return O.\u0275fac=function(S){return new(S||O)},O.\u0275prov=c.Yz7({token:O,factory:function(){return new ht},providedIn:"root"}),O})();class ht{parse(P){const S=new rt(P);return new _i(S.parseRootSegment(),S.parseQueryParams(),S.parseFragment())}serialize(P){const S=`/${Re(P.root,!0)}`,Z=function Ee(O){const P=Object.keys(O).map(S=>{const Z=O[S];return Array.isArray(Z)?Z.map(Q=>`${Ie(S)}=${Ie(Q)}`).join("&"):`${Ie(S)}=${Ie(Z)}`}).filter(S=>!!S);return P.length?`?${P.join("&")}`:""}(P.queryParams);return`${S}${Z}${"string"==typeof P.fragment?`#${function _t(O){return encodeURI(O)}(P.fragment)}`:""}`}}const it=new ht;function Qe(O){return O.segments.map(P=>It(P)).join("/")}function Re(O,P){if(!O.hasChildren())return Qe(O);if(P){const S=O.children[Lt]?Re(O.children[Lt],!1):"",Z=[];return ai(O.children,(Q,pe)=>{pe!==Lt&&Z.push(`${pe}:${Re(Q,!1)}`)}),Z.length>0?`${S}(${Z.join("//")})`:S}{const S=function $n(O,P){let S=[];return ai(O.children,(Z,Q)=>{Q===Lt&&(S=S.concat(P(Z,Q)))}),ai(O.children,(Z,Q)=>{Q!==Lt&&(S=S.concat(P(Z,Q)))}),S}(O,(Z,Q)=>Q===Lt?[Re(O.children[Lt],!1)]:[`${Q}:${Re(Z,!1)}`]);return 1===Object.keys(O.children).length&&null!=O.children[Lt]?`${Qe(O)}/${S[0]}`:`${Qe(O)}/(${S.join("//")})`}}function We(O){return encodeURIComponent(O).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ie(O){return We(O).replace(/%3B/gi,";")}function Dt(O){return We(O).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function si(O){return decodeURIComponent(O)}function Vi(O){return si(O.replace(/\+/g,"%20"))}function It(O){return`${Dt(O.path)}${function ci(O){return Object.keys(O).map(P=>`;${Dt(P)}=${Dt(O[P])}`).join("")}(O.parameters)}`}const pt=/^[^\/()?;=#]+/;function ot(O){const P=O.match(pt);return P?P[0]:""}const qt=/^[^=?&#]+/,ln=/^[^&#]+/;class rt{constructor(P){this.url=P,this.remaining=P}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new di([],{}):new di([],this.parseChildren())}parseQueryParams(){const P={};if(this.consumeOptional("?"))do{this.parseQueryParam(P)}while(this.consumeOptional("&"));return P}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const P=[];for(this.peekStartsWith("(")||P.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),P.push(this.parseSegment());let S={};this.peekStartsWith("/(")&&(this.capture("/"),S=this.parseParens(!0));let Z={};return this.peekStartsWith("(")&&(Z=this.parseParens(!1)),(P.length>0||Object.keys(S).length>0)&&(Z[Lt]=new di(P,S)),Z}parseSegment(){const P=ot(this.remaining);if(""===P&&this.peekStartsWith(";"))throw new c.vHH(4009,!1);return this.capture(P),new zt(si(P),this.parseMatrixParams())}parseMatrixParams(){const P={};for(;this.consumeOptional(";");)this.parseParam(P);return P}parseParam(P){const S=ot(this.remaining);if(!S)return;this.capture(S);let Z="";if(this.consumeOptional("=")){const Q=ot(this.remaining);Q&&(Z=Q,this.capture(Z))}P[si(S)]=si(Z)}parseQueryParam(P){const S=function un(O){const P=O.match(qt);return P?P[0]:""}(this.remaining);if(!S)return;this.capture(S);let Z="";if(this.consumeOptional("=")){const ve=function vt(O){const P=O.match(ln);return P?P[0]:""}(this.remaining);ve&&(Z=ve,this.capture(Z))}const Q=Vi(S),pe=Vi(Z);if(P.hasOwnProperty(Q)){let ve=P[Q];Array.isArray(ve)||(ve=[ve],P[Q]=ve),ve.push(pe)}else P[Q]=pe}parseParens(P){const S={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Z=ot(this.remaining),Q=this.remaining[Z.length];if("/"!==Q&&")"!==Q&&";"!==Q)throw new c.vHH(4010,!1);let pe;Z.indexOf(":")>-1?(pe=Z.slice(0,Z.indexOf(":")),this.capture(pe),this.capture(":")):P&&(pe=Lt);const ve=this.parseChildren();S[pe]=1===Object.keys(ve).length?ve[Lt]:new di([],ve),this.consumeOptional("//")}return S}peekStartsWith(P){return this.remaining.startsWith(P)}consumeOptional(P){return!!this.peekStartsWith(P)&&(this.remaining=this.remaining.substring(P.length),!0)}capture(P){if(!this.consumeOptional(P))throw new c.vHH(4011,!1)}}function je(O){return O.segments.length>0?new di([],{[Lt]:O}):O}function Mt(O){const P={};for(const Z of Object.keys(O.children)){const pe=Mt(O.children[Z]);(pe.segments.length>0||pe.hasChildren())&&(P[Z]=pe)}return function Ut(O){if(1===O.numberOfChildren&&O.children[Lt]){const P=O.children[Lt];return new di(O.segments.concat(P.segments),P.children)}return O}(new di(O.segments,P))}function Oi(O){return O instanceof _i}function sa(O,P,S,Z,Q){var pe;if(0===S.length)return Sa(P.root,P.root,P.root,Z,Q);const Be=function yo(O){if("string"==typeof O[0]&&1===O.length&&"/"===O[0])return new Fo(!0,0,O);let P=0,S=!1;const Z=O.reduce((Q,pe,ve)=>{if("object"==typeof pe&&null!=pe){if(pe.outlets){const Be={};return ai(pe.outlets,(At,gi)=>{Be[gi]="string"==typeof At?At.split("/"):At}),[...Q,{outlets:Be}]}if(pe.segmentPath)return[...Q,pe.segmentPath]}return"string"!=typeof pe?[...Q,pe]:0===ve?(pe.split("/").forEach((Be,At)=>{0==At&&"."===Be||(0==At&&""===Be?S=!0:".."===Be?P++:""!=Be&&Q.push(Be))}),Q):[...Q,pe]},[]);return new Fo(S,P,Z)}(S);return Be.toRoot()?Sa(P.root,P.root,new di([],{}),Z,Q):function At(ui){var Ti;const mn=function yn(O,P,S,Z){if(O.isAbsolute)return new Qi(P.root,!0,0);if(-1===Z)return new Qi(S,S===P.root,0);return function $i(O,P,S){let Z=O,Q=P,pe=S;for(;pe>Q;){if(pe-=Q,Z=Z.parent,!Z)throw new c.vHH(4005,!1);Q=Z.segments.length}return new Qi(Z,!1,Q-pe)}(S,Z+(za(O.commands[0])?0:1),O.numberOfDoubleDots)}(Be,P,null===(Ti=O.snapshot)||void 0===Ti?void 0:Ti._urlSegment,ui),Pn=mn.processChildren?Zn(mn.segmentGroup,mn.index,Be.commands):ga(mn.segmentGroup,mn.index,Be.commands);return Sa(P.root,mn.segmentGroup,Pn,Z,Q)}(null===(pe=O.snapshot)||void 0===pe?void 0:pe._lastPathIndex)}function za(O){return"object"==typeof O&&null!=O&&!O.outlets&&!O.segmentPath}function ya(O){return"object"==typeof O&&null!=O&&O.outlets}function Sa(O,P,S,Z,Q){let ve,pe={};Z&&ai(Z,(At,gi)=>{pe[gi]=Array.isArray(At)?At.map(ui=>`${ui}`):`${At}`}),ve=O===P?S:cn(O,P,S);const Be=je(Mt(ve));return new _i(Be,pe,Q)}function cn(O,P,S){const Z={};return ai(O.children,(Q,pe)=>{Z[pe]=Q===P?S:cn(Q,P,S)}),new di(O.segments,Z)}class Fo{constructor(P,S,Z){if(this.isAbsolute=P,this.numberOfDoubleDots=S,this.commands=Z,P&&Z.length>0&&za(Z[0]))throw new c.vHH(4003,!1);const Q=Z.find(ya);if(Q&&Q!==ki(Z))throw new c.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Qi{constructor(P,S,Z){this.segmentGroup=P,this.processChildren=S,this.index=Z}}function ga(O,P,S){if(O||(O=new di([],{})),0===O.segments.length&&O.hasChildren())return Zn(O,P,S);const Z=function To(O,P,S){let Z=0,Q=P;const pe={match:!1,pathIndex:0,commandIndex:0};for(;Q=S.length)return pe;const ve=O.segments[Q],Be=S[Z];if(ya(Be))break;const At=`${Be}`,gi=Z0&&void 0===At)break;if(At&&gi&&"object"==typeof gi&&void 0===gi.outlets){if(!Yn(At,gi,ve))return pe;Z+=2}else{if(!Yn(At,{},ve))return pe;Z++}Q++}return{match:!0,pathIndex:Q,commandIndex:Z}}(O,P,S),Q=S.slice(Z.commandIndex);if(Z.match&&Z.pathIndex{"string"==typeof pe&&(pe=[pe]),null!==pe&&(Q[ve]=ga(O.children[ve],P,pe))}),ai(O.children,(pe,ve)=>{void 0===Z[ve]&&(Q[ve]=pe)}),new di(O.segments,Q)}}function Ia(O,P,S){const Z=O.segments.slice(0,P);let Q=0;for(;Q{"string"==typeof S&&(S=[S]),null!==S&&(P[Z]=Ia(new di([],{}),0,S))}),P}function No(O){const P={};return ai(O,(S,Z)=>P[Z]=`${S}`),P}function Yn(O,P,S){return O==S.path&&Se(P,S.parameters)}class Ba{constructor(P,S){this.id=P,this.url=S}}class sr extends Ba{constructor(P,S,Z="imperative",Q=null){super(P,S),this.type=0,this.navigationTrigger=Z,this.restoredState=Q}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Un extends Ba{constructor(P,S,Z){super(P,S),this.urlAfterRedirects=Z,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Aa extends Ba{constructor(P,S,Z,Q){super(P,S),this.reason=Z,this.code=Q,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Fr extends Ba{constructor(P,S,Z,Q){super(P,S),this.error=Z,this.target=Q,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ts extends Ba{constructor(P,S,Z,Q){super(P,S),this.urlAfterRedirects=Z,this.state=Q,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Bo extends Ba{constructor(P,S,Z,Q){super(P,S),this.urlAfterRedirects=Z,this.state=Q,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ka extends Ba{constructor(P,S,Z,Q,pe){super(P,S),this.urlAfterRedirects=Z,this.state=Q,this.shouldActivate=pe,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Nr extends Ba{constructor(P,S,Z,Q){super(P,S),this.urlAfterRedirects=Z,this.state=Q,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class lr extends Ba{constructor(P,S,Z,Q){super(P,S),this.urlAfterRedirects=Z,this.state=Q,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ya{constructor(P){this.route=P,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Br{constructor(P){this.route=P,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class rs{constructor(P){this.snapshot=P,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Nn{constructor(P){this.snapshot=P,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ta{constructor(P){this.snapshot=P,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Mo{constructor(P){this.snapshot=P,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class an{constructor(P,S,Z){this.routerEvent=P,this.position=S,this.anchor=Z,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Ks{constructor(P){this._root=P}get root(){return this._root.value}parent(P){const S=this.pathFromRoot(P);return S.length>1?S[S.length-2]:null}children(P){const S=Ms(P,this._root);return S?S.children.map(Z=>Z.value):[]}firstChild(P){const S=Ms(P,this._root);return S&&S.children.length>0?S.children[0].value:null}siblings(P){const S=js(P,this._root);return S.length<2?[]:S[S.length-2].children.map(Q=>Q.value).filter(Q=>Q!==P)}pathFromRoot(P){return js(P,this._root).map(S=>S.value)}}function Ms(O,P){if(O===P.value)return P;for(const S of P.children){const Z=Ms(O,S);if(Z)return Z}return null}function js(O,P){if(O===P.value)return[P];for(const S of P.children){const Z=js(O,S);if(Z.length)return Z.unshift(P),Z}return[]}class Do{constructor(P,S){this.value=P,this.children=S}toString(){return`TreeNode(${this.value})`}}function Ur(O){const P={};return O&&O.children.forEach(S=>P[S.value.outlet]=S),P}class Ws extends Ks{constructor(P,S){super(P),this.snapshot=S,Uo(this,P)}toString(){return this.snapshot.toString()}}function qs(O,P){const S=function Zr(O,P){const ve=new Tr([],{},{},"",{},Lt,P,null,O.root,-1,{});return new Xa("",new Do(ve,[]))}(O,P),Z=new b.X([new zt("",{})]),Q=new b.X({}),pe=new b.X({}),ve=new b.X({}),Be=new b.X(""),At=new $o(Z,Q,ve,Be,pe,Lt,P,S.root);return At.snapshot=S.root,new Ws(new Do(At,[]),S)}class $o{constructor(P,S,Z,Q,pe,ve,Be,At){var gi,ui;this.url=P,this.params=S,this.queryParams=Z,this.fragment=Q,this.data=pe,this.outlet=ve,this.component=Be,this.title=null!==(ui=null===(gi=this.data)||void 0===gi?void 0:gi.pipe((0,le.U)(Ti=>Ti[Ai])))&&void 0!==ui?ui:(0,e.of)(void 0),this._futureSnapshot=At}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,le.U)(P=>hi(P)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,le.U)(P=>hi(P)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function cr(O,P="emptyOnly"){const S=O.pathFromRoot;let Z=0;if("always"!==P)for(Z=S.length-1;Z>=1;){const Q=S[Z],pe=S[Z-1];if(Q.routeConfig&&""===Q.routeConfig.path)Z--;else{if(pe.component)break;Z--}}return function lc(O){return O.reduce((P,S)=>{var Z;return{params:Object.assign(Object.assign({},P.params),S.params),data:Object.assign(Object.assign({},P.data),S.data),resolve:Object.assign(Object.assign(Object.assign(Object.assign({},S.data),P.resolve),null===(Z=S.routeConfig)||void 0===Z?void 0:Z.data),S._resolvedData)}},{params:{},data:{},resolve:{}})}(S.slice(Z))}class Tr{constructor(P,S,Z,Q,pe,ve,Be,At,gi,ui,Ti,mn){var Pn;this.url=P,this.params=S,this.queryParams=Z,this.fragment=Q,this.data=pe,this.outlet=ve,this.component=Be,this.title=null===(Pn=this.data)||void 0===Pn?void 0:Pn[Ai],this.routeConfig=At,this._urlSegment=gi,this._lastPathIndex=ui,this._correctedLastPathIndex=null!=mn?mn:ui,this._resolve=Ti}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=hi(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=hi(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Z=>Z.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Xa extends Ks{constructor(P,S){super(S),this.url=P,Uo(this,S)}toString(){return ss(this._root)}}function Uo(O,P){P.value._routerState=O,P.children.forEach(S=>Uo(O,S))}function ss(O){const P=O.children.length>0?` { ${O.children.map(ss).join(", ")} } `:"";return`${O.value}${P}`}function qr(O){if(O.snapshot){const P=O.snapshot,S=O._futureSnapshot;O.snapshot=S,Se(P.queryParams,S.queryParams)||O.queryParams.next(S.queryParams),P.fragment!==S.fragment&&O.fragment.next(S.fragment),Se(P.params,S.params)||O.params.next(S.params),function Tt(O,P){if(O.length!==P.length)return!1;for(let S=0;SSe(S.parameters,P[Z].parameters))}(O.url,P.url);return S&&!(!O.parent!=!P.parent)&&(!O.parent||ls(O.parent,P.parent))}function Mr(O,P,S){if(S&&O.shouldReuseRoute(P.value,S.value.snapshot)){const Z=S.value;Z._futureSnapshot=P.value;const Q=function Ha(O,P,S){return P.children.map(Z=>{for(const Q of S.children)if(O.shouldReuseRoute(Z.value,Q.value.snapshot))return Mr(O,Z,Q);return Mr(O,Z)})}(O,P,S);return new Do(Z,Q)}{if(O.shouldAttach(P.value)){const pe=O.retrieve(P.value);if(null!==pe){const ve=pe.route;return ve.value._futureSnapshot=P.value,ve.children=P.children.map(Be=>Mr(O,Be)),ve}}const Z=function zo(O){return new $o(new b.X(O.url),new b.X(O.params),new b.X(O.queryParams),new b.X(O.fragment),new b.X(O.data),O.outlet,O.component,O)}(P.value),Q=P.children.map(pe=>Mr(O,pe));return new Do(Z,Q)}}const Jr="ngNavigationCancelingError";function Dr(O,P){const{redirectTo:S,navigationBehaviorOptions:Z}=Oi(P)?{redirectTo:P,navigationBehaviorOptions:void 0}:P,Q=Ds(!1,0,P);return Q.url=S,Q.navigationBehaviorOptions=Z,Q}function Ds(O,P,S){const Z=new Error("NavigationCancelingError: "+(O||""));return Z[Jr]=!0,Z.cancellationCode=P,S&&(Z.url=S),Z}function La(O){return Pa(O)&&Oi(O.url)}function Pa(O){return O&&O[Jr]}class dr{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Yr,this.attachRef=null}}let Yr=(()=>{class O{constructor(){this.contexts=new Map}onChildOutletCreated(S,Z){const Q=this.getOrCreateContext(S);Q.outlet=Z,this.contexts.set(S,Q)}onChildOutletDestroyed(S){const Z=this.getContext(S);Z&&(Z.outlet=null,Z.attachRef=null)}onOutletDeactivated(){const S=this.contexts;return this.contexts=new Map,S}onOutletReAttached(S){this.contexts=S}getOrCreateContext(S){let Z=this.getContext(S);return Z||(Z=new dr,this.contexts.set(S,Z)),Z}getContext(S){return this.contexts.get(S)||null}}return O.\u0275fac=function(S){return new(S||O)},O.\u0275prov=c.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})();const Qo=!1;let na=(()=>{class O{constructor(S,Z,Q,pe,ve){this.parentContexts=S,this.location=Z,this.changeDetector=pe,this.environmentInjector=ve,this.activated=null,this._activatedRoute=null,this.activateEvents=new c.vpe,this.deactivateEvents=new c.vpe,this.attachEvents=new c.vpe,this.detachEvents=new c.vpe,this.name=Q||Lt,S.onChildOutletCreated(this.name,this)}ngOnDestroy(){var S;(null===(S=this.parentContexts.getContext(this.name))||void 0===S?void 0:S.outlet)===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const S=this.parentContexts.getContext(this.name);S&&S.route&&(S.attachRef?this.attach(S.attachRef,S.route):this.activateWith(S.route,S.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new c.vHH(4012,Qo);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new c.vHH(4012,Qo);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new c.vHH(4012,Qo);this.location.detach();const S=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(S.instance),S}attach(S,Z){this.activated=S,this._activatedRoute=Z,this.location.insert(S.hostView),this.attachEvents.emit(S.instance)}deactivate(){if(this.activated){const S=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(S)}}activateWith(S,Z){if(this.isActivated)throw new c.vHH(4013,Qo);this._activatedRoute=S;const Q=this.location,ve=S._futureSnapshot.component,Be=this.parentContexts.getOrCreateContext(this.name).children,At=new Hn(S,Be,Q.injector);if(Z&&function $r(O){return!!O.resolveComponentFactory}(Z)){const gi=Z.resolveComponentFactory(ve);this.activated=Q.createComponent(gi,Q.length,At)}else this.activated=Q.createComponent(ve,{index:Q.length,injector:At,environmentInjector:null!=Z?Z:this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return O.\u0275fac=function(S){return new(S||O)(c.Y36(Yr),c.Y36(c.s_b),c.$8M("name"),c.Y36(c.sBO),c.Y36(c.lqb))},O.\u0275dir=c.lG2({type:O,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),O})();class Hn{constructor(P,S,Z){this.route=P,this.childContexts=S,this.parent=Z}get(P,S){return P===$o?this.route:P===Yr?this.childContexts:this.parent.get(P,S)}}let Fl=(()=>{class O{}return O.\u0275fac=function(S){return new(S||O)},O.\u0275cmp=c.Xpm({type:O,selectors:[["ng-component"]],standalone:!0,features:[c.jDz],decls:1,vars:0,template:function(S,Z){1&S&&c._UZ(0,"router-outlet")},dependencies:[na],encapsulation:2}),O})();function ur(O,P){var S;return O.providers&&!O._injector&&(O._injector=(0,c.MMx)(O.providers,P,`Route: ${O.path}`)),null!==(S=O._injector)&&void 0!==S?S:P}function to(O){const P=O.children&&O.children.map(to),S=P?Object.assign(Object.assign({},O),{children:P}):Object.assign({},O);return!S.component&&!S.loadComponent&&(P||S.loadChildren)&&S.outlet&&S.outlet!==Lt&&(S.component=Fl),S}function Ra(O){return O.outlet||Lt}function Hr(O,P){const S=O.filter(Z=>Ra(Z)===P);return S.push(...O.filter(Z=>Ra(Z)!==P)),S}function on(O){var P;if(!O)return null;if(null!==(P=O.routeConfig)&&void 0!==P&&P._injector)return O.routeConfig._injector;for(let S=O.parent;S;S=S.parent){const Z=S.routeConfig;if(null!=Z&&Z._loadedInjector)return Z._loadedInjector;if(null!=Z&&Z._injector)return Z._injector}return null}class Es{constructor(P,S,Z,Q){this.routeReuseStrategy=P,this.futureState=S,this.currState=Z,this.forwardEvent=Q}activate(P){const S=this.futureState._root,Z=this.currState?this.currState._root:null;this.deactivateChildRoutes(S,Z,P),qr(this.futureState.root),this.activateChildRoutes(S,Z,P)}deactivateChildRoutes(P,S,Z){const Q=Ur(S);P.children.forEach(pe=>{const ve=pe.value.outlet;this.deactivateRoutes(pe,Q[ve],Z),delete Q[ve]}),ai(Q,(pe,ve)=>{this.deactivateRouteAndItsChildren(pe,Z)})}deactivateRoutes(P,S,Z){const Q=P.value,pe=S?S.value:null;if(Q===pe)if(Q.component){const ve=Z.getContext(Q.outlet);ve&&this.deactivateChildRoutes(P,S,ve.children)}else this.deactivateChildRoutes(P,S,Z);else pe&&this.deactivateRouteAndItsChildren(S,Z)}deactivateRouteAndItsChildren(P,S){P.value.component&&this.routeReuseStrategy.shouldDetach(P.value.snapshot)?this.detachAndStoreRouteSubtree(P,S):this.deactivateRouteAndOutlet(P,S)}detachAndStoreRouteSubtree(P,S){const Z=S.getContext(P.value.outlet),Q=Z&&P.value.component?Z.children:S,pe=Ur(P);for(const ve of Object.keys(pe))this.deactivateRouteAndItsChildren(pe[ve],Q);if(Z&&Z.outlet){const ve=Z.outlet.detach(),Be=Z.children.onOutletDeactivated();this.routeReuseStrategy.store(P.value.snapshot,{componentRef:ve,route:P,contexts:Be})}}deactivateRouteAndOutlet(P,S){const Z=S.getContext(P.value.outlet),Q=Z&&P.value.component?Z.children:S,pe=Ur(P);for(const ve of Object.keys(pe))this.deactivateRouteAndItsChildren(pe[ve],Q);Z&&Z.outlet&&(Z.outlet.deactivate(),Z.children.onOutletDeactivated(),Z.attachRef=null,Z.resolver=null,Z.route=null)}activateChildRoutes(P,S,Z){const Q=Ur(S);P.children.forEach(pe=>{this.activateRoutes(pe,Q[pe.value.outlet],Z),this.forwardEvent(new Mo(pe.value.snapshot))}),P.children.length&&this.forwardEvent(new Nn(P.value.snapshot))}activateRoutes(P,S,Z){var Q;const pe=P.value,ve=S?S.value:null;if(qr(pe),pe===ve)if(pe.component){const Be=Z.getOrCreateContext(pe.outlet);this.activateChildRoutes(P,S,Be.children)}else this.activateChildRoutes(P,S,Z);else if(pe.component){const Be=Z.getOrCreateContext(pe.outlet);if(this.routeReuseStrategy.shouldAttach(pe.snapshot)){const At=this.routeReuseStrategy.retrieve(pe.snapshot);this.routeReuseStrategy.store(pe.snapshot,null),Be.children.onOutletReAttached(At.contexts),Be.attachRef=At.componentRef,Be.route=At.route.value,Be.outlet&&Be.outlet.attach(At.componentRef,At.route.value),qr(At.route.value),this.activateChildRoutes(P,null,Be.children)}else{const At=on(pe.snapshot),gi=null!==(Q=null==At?void 0:At.get(c._Vd))&&void 0!==Q?Q:null;Be.attachRef=null,Be.route=pe,Be.resolver=gi,Be.injector=At,Be.outlet&&Be.outlet.activateWith(pe,Be.injector),this.activateChildRoutes(P,null,Be.children)}}else this.activateChildRoutes(P,null,Z)}}class ws{constructor(P){this.path=P,this.route=this.path[this.path.length-1]}}class _r{constructor(P,S){this.component=P,this.route=S}}function Er(O,P,S){const Z=O._root;return wr(Z,P?P._root:null,S,[Z.value])}function Qr(O,P){const S=Symbol(),Z=P.get(O,S);return Z===S?"function"!=typeof O||(0,c.Z0I)(O)?P.get(O):O:Z}function wr(O,P,S,Z,Q={canDeactivateChecks:[],canActivateChecks:[]}){const pe=Ur(P);return O.children.forEach(ve=>{(function Qt(O,P,S,Z,Q={canDeactivateChecks:[],canActivateChecks:[]}){const pe=O.value,ve=P?P.value:null,Be=S?S.getContext(O.value.outlet):null;if(ve&&pe.routeConfig===ve.routeConfig){const At=function Tn(O,P,S){if("function"==typeof S)return S(O,P);switch(S){case"pathParamsChange":return!xi(O.url,P.url);case"pathParamsOrQueryParamsChange":return!xi(O.url,P.url)||!Se(O.queryParams,P.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ls(O,P)||!Se(O.queryParams,P.queryParams);default:return!ls(O,P)}}(ve,pe,pe.routeConfig.runGuardsAndResolvers);At?Q.canActivateChecks.push(new ws(Z)):(pe.data=ve.data,pe._resolvedData=ve._resolvedData),wr(O,P,pe.component?Be?Be.children:null:S,Z,Q),At&&Be&&Be.outlet&&Be.outlet.isActivated&&Q.canDeactivateChecks.push(new _r(Be.outlet.component,ve))}else ve&&er(P,Be,Q),Q.canActivateChecks.push(new ws(Z)),wr(O,null,pe.component?Be?Be.children:null:S,Z,Q)})(ve,pe[ve.value.outlet],S,Z.concat([ve.value]),Q),delete pe[ve.value.outlet]}),ai(pe,(ve,Be)=>er(ve,S.getContext(Be),Q)),Q}function er(O,P,S){const Z=Ur(O),Q=O.value;ai(Z,(pe,ve)=>{er(pe,Q.component?P?P.children.getContext(ve):null:P,S)}),S.canDeactivateChecks.push(new _r(Q.component&&P&&P.outlet&&P.outlet.isActivated?P.outlet.component:null,Q))}function pr(O){return"function"==typeof O}function Sr(O){return O instanceof k||"EmptyError"===(null==O?void 0:O.name)}const mo=Symbol("INITIAL_VALUE");function Vn(){return(0,Ne.w)(O=>(0,F.a)(O.map(P=>P.pipe((0,yt.q)(1),(0,jt.O)(mo)))).pipe((0,le.U)(P=>{for(const S of P)if(!0!==S){if(S===mo)return mo;if(!1===S||S instanceof _i)return S}return!0}),(0,st.h)(P=>P!==mo),(0,yt.q)(1)))}function Lr(O){return(0,z.z)((0,Oe.b)(P=>{if(Oi(P))throw Dr(0,P)}),(0,le.U)(P=>!0===P))}const cs={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function io(O,P,S,Z,Q){const pe=no(O,P,S);return pe.matched?function zs(O,P,S,Z){const Q=P.canMatch;if(!Q||0===Q.length)return(0,e.of)(!0);const pe=Q.map(ve=>{const Be=Qr(ve,O);return ti(function Bt(O){return O&&pr(O.canMatch)}(Be)?Be.canMatch(P,S):O.runInContext(()=>Be(P,S)))});return(0,e.of)(pe).pipe(Vn(),Lr())}(Z=ur(P,Z),P,S).pipe((0,le.U)(ve=>!0===ve?pe:Object.assign({},cs))):(0,e.of)(pe)}function no(O,P,S){var Z;if(""===P.path)return"full"===P.pathMatch&&(O.hasChildren()||S.length>0)?Object.assign({},cs):{matched:!0,consumedSegments:[],remainingSegments:S,parameters:{},positionalParamSegments:{}};const pe=(P.matcher||ne)(S,O,P);if(!pe)return Object.assign({},cs);const ve={};ai(pe.posParams,(At,gi)=>{ve[gi]=At.path});const Be=pe.consumed.length>0?Object.assign(Object.assign({},ve),pe.consumed[pe.consumed.length-1].parameters):ve;return{matched:!0,consumedSegments:pe.consumed,remainingSegments:S.slice(pe.consumed.length),parameters:Be,positionalParamSegments:null!==(Z=pe.posParams)&&void 0!==Z?Z:{}}}function hr(O,P,S,Z,Q="corrected"){if(S.length>0&&function Ss(O,P,S){return S.some(Z=>se(O,P,Z)&&Ra(Z)!==Lt)}(O,S,Z)){const ve=new di(P,function Zc(O,P,S,Z){const Q={};Q[Lt]=Z,Z._sourceSegment=O,Z._segmentIndexShift=P.length;for(const pe of S)if(""===pe.path&&Ra(pe)!==Lt){const ve=new di([],{});ve._sourceSegment=O,ve._segmentIndexShift=P.length,Q[Ra(pe)]=ve}return Q}(O,P,Z,new di(S,O.children)));return ve._sourceSegment=O,ve._segmentIndexShift=P.length,{segmentGroup:ve,slicedSegments:[]}}if(0===S.length&&function K(O,P,S){return S.some(Z=>se(O,P,Z))}(O,S,Z)){const ve=new di(O.segments,function Qs(O,P,S,Z,Q,pe){const ve={};for(const Be of Z)if(se(O,S,Be)&&!Q[Ra(Be)]){const At=new di([],{});At._sourceSegment=O,At._segmentIndexShift="legacy"===pe?O.segments.length:P.length,ve[Ra(Be)]=At}return Object.assign(Object.assign({},Q),ve)}(O,P,S,Z,O.children,Q));return ve._sourceSegment=O,ve._segmentIndexShift=P.length,{segmentGroup:ve,slicedSegments:S}}const pe=new di(O.segments,O.children);return pe._sourceSegment=O,pe._segmentIndexShift=P.length,{segmentGroup:pe,slicedSegments:S}}function se(O,P,S){return(!(O.hasChildren()||P.length>0)||"full"!==S.pathMatch)&&""===S.path}function W(O,P,S,Z){return!!(Ra(O)===Z||Z!==Lt&&se(P,S,O))&&("**"===O.path||no(P,O,S).matched)}function ge(O,P,S){return 0===P.length&&!O.children[S]}const ze=!1;class Pt{constructor(P){this.segmentGroup=P||null}}class Ht{constructor(P){this.urlTree=P}}function wi(O){return(0,ue._)(new Pt(O))}function Bn(O){return(0,ue._)(new Ht(O))}class ka{constructor(P,S,Z,Q,pe){this.injector=P,this.configLoader=S,this.urlSerializer=Z,this.urlTree=Q,this.config=pe,this.allowRedirects=!0}apply(){const P=hr(this.urlTree.root,[],[],this.config).segmentGroup,S=new di(P.segments,P.children);return this.expandSegmentGroup(this.injector,this.config,S,Lt).pipe((0,le.U)(pe=>this.createUrlTree(Mt(pe),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,mt.K)(pe=>{if(pe instanceof Ht)return this.allowRedirects=!1,this.match(pe.urlTree);throw pe instanceof Pt?this.noMatchError(pe):pe}))}match(P){return this.expandSegmentGroup(this.injector,this.config,P.root,Lt).pipe((0,le.U)(Q=>this.createUrlTree(Mt(Q),P.queryParams,P.fragment))).pipe((0,mt.K)(Q=>{throw Q instanceof Pt?this.noMatchError(Q):Q}))}noMatchError(P){return new c.vHH(4002,ze)}createUrlTree(P,S,Z){const Q=je(P);return new _i(Q,S,Z)}expandSegmentGroup(P,S,Z,Q){return 0===Z.segments.length&&Z.hasChildren()?this.expandChildren(P,S,Z).pipe((0,le.U)(pe=>new di([],pe))):this.expandSegment(P,Z,S,Z.segments,Q,!0)}expandChildren(P,S,Z){const Q=[];for(const pe of Object.keys(Z.children))"primary"===pe?Q.unshift(pe):Q.push(pe);return(0,m.D)(Q).pipe((0,ie.b)(pe=>{const ve=Z.children[pe],Be=Hr(S,pe);return this.expandSegmentGroup(P,Be,ve,pe).pipe((0,le.U)(At=>({segment:At,outlet:pe})))}),ri((pe,ve)=>(pe[ve.outlet]=ve.segment,pe),{}),Wt())}expandSegment(P,S,Z,Q,pe,ve){return(0,m.D)(Z).pipe((0,ie.b)(Be=>this.expandSegmentAgainstRoute(P,S,Z,Be,Q,pe,ve).pipe((0,mt.K)(gi=>{if(gi instanceof Pt)return(0,e.of)(null);throw gi}))),qe(Be=>!!Be),(0,mt.K)((Be,At)=>{if(Sr(Be))return ge(S,Q,pe)?(0,e.of)(new di([],{})):wi(S);throw Be}))}expandSegmentAgainstRoute(P,S,Z,Q,pe,ve,Be){return W(Q,S,pe,ve)?void 0===Q.redirectTo?this.matchSegmentAgainstRoute(P,S,Q,pe,ve):Be&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(P,S,Z,Q,pe,ve):wi(S):wi(S)}expandSegmentAgainstRouteUsingRedirect(P,S,Z,Q,pe,ve){return"**"===Q.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(P,Z,Q,ve):this.expandRegularSegmentAgainstRouteUsingRedirect(P,S,Z,Q,pe,ve)}expandWildCardWithParamsAgainstRouteUsingRedirect(P,S,Z,Q){const pe=this.applyRedirectCommands([],Z.redirectTo,{});return Z.redirectTo.startsWith("/")?Bn(pe):this.lineralizeSegments(Z,pe).pipe((0,Te.z)(ve=>{const Be=new di(ve,{});return this.expandSegment(P,Be,S,ve,Q,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(P,S,Z,Q,pe,ve){const{matched:Be,consumedSegments:At,remainingSegments:gi,positionalParamSegments:ui}=no(S,Q,pe);if(!Be)return wi(S);const Ti=this.applyRedirectCommands(At,Q.redirectTo,ui);return Q.redirectTo.startsWith("/")?Bn(Ti):this.lineralizeSegments(Q,Ti).pipe((0,Te.z)(mn=>this.expandSegment(P,S,Z,mn.concat(gi),ve,!1)))}matchSegmentAgainstRoute(P,S,Z,Q,pe){return"**"===Z.path?(P=ur(Z,P),Z.loadChildren?(Z._loadedRoutes?(0,e.of)({routes:Z._loadedRoutes,injector:Z._loadedInjector}):this.configLoader.loadChildren(P,Z)).pipe((0,le.U)(Be=>(Z._loadedRoutes=Be.routes,Z._loadedInjector=Be.injector,new di(Q,{})))):(0,e.of)(new di(Q,{}))):io(S,Z,Q,P).pipe((0,Ne.w)(({matched:ve,consumedSegments:Be,remainingSegments:At})=>{var gi;return ve?(P=null!==(gi=Z._injector)&&void 0!==gi?gi:P,this.getChildConfig(P,Z,Q).pipe((0,Te.z)(Ti=>{var mn;const Pn=null!==(mn=Ti.injector)&&void 0!==mn?mn:P,ro=Ti.routes,{segmentGroup:gr,slicedSegments:Wa}=hr(S,Be,At,ro),fo=new di(gr.segments,gr.children);if(0===Wa.length&&fo.hasChildren())return this.expandChildren(Pn,ro,fo).pipe((0,le.U)(bl=>new di(Be,bl)));if(0===ro.length&&0===Wa.length)return(0,e.of)(new di(Be,{}));const il=Ra(Z)===pe;return this.expandSegment(Pn,fo,ro,Wa,il?Lt:pe,!0).pipe((0,le.U)(da=>new di(Be.concat(da.segments),da.children)))}))):wi(S)}))}getChildConfig(P,S,Z){return S.children?(0,e.of)({routes:S.children,injector:P}):S.loadChildren?void 0!==S._loadedRoutes?(0,e.of)({routes:S._loadedRoutes,injector:S._loadedInjector}):function Zl(O,P,S,Z){const Q=P.canLoad;if(void 0===Q||0===Q.length)return(0,e.of)(!0);const pe=Q.map(ve=>{const Be=Qr(ve,O);return ti(function te(O){return O&&pr(O.canLoad)}(Be)?Be.canLoad(P,S):O.runInContext(()=>Be(P,S)))});return(0,e.of)(pe).pipe(Vn(),Lr())}(P,S,Z).pipe((0,Te.z)(Q=>Q?this.configLoader.loadChildren(P,S).pipe((0,Oe.b)(pe=>{S._loadedRoutes=pe.routes,S._loadedInjector=pe.injector})):function Wn(O){return(0,ue._)(Ds(ze,3))}())):(0,e.of)({routes:[],injector:P})}lineralizeSegments(P,S){let Z=[],Q=S.root;for(;;){if(Z=Z.concat(Q.segments),0===Q.numberOfChildren)return(0,e.of)(Z);if(Q.numberOfChildren>1||!Q.children[Lt])return(0,ue._)(new c.vHH(4e3,ze));Q=Q.children[Lt]}}applyRedirectCommands(P,S,Z){return this.applyRedirectCreateUrlTree(S,this.urlSerializer.parse(S),P,Z)}applyRedirectCreateUrlTree(P,S,Z,Q){const pe=this.createSegmentGroup(P,S.root,Z,Q);return new _i(pe,this.createQueryParams(S.queryParams,this.urlTree.queryParams),S.fragment)}createQueryParams(P,S){const Z={};return ai(P,(Q,pe)=>{if("string"==typeof Q&&Q.startsWith(":")){const Be=Q.substring(1);Z[pe]=S[Be]}else Z[pe]=Q}),Z}createSegmentGroup(P,S,Z,Q){const pe=this.createSegments(P,S.segments,Z,Q);let ve={};return ai(S.children,(Be,At)=>{ve[At]=this.createSegmentGroup(P,Be,Z,Q)}),new di(pe,ve)}createSegments(P,S,Z,Q){return S.map(pe=>pe.path.startsWith(":")?this.findPosParam(P,pe,Q):this.findOrReturn(pe,Z))}findPosParam(P,S,Z){const Q=Z[S.path.substring(1)];if(!Q)throw new c.vHH(4001,ze);return Q}findOrReturn(P,S){let Z=0;for(const Q of S){if(Q.path===P.path)return S.splice(Z),Q;Z++}return P}}class go{}class ja{constructor(P,S,Z,Q,pe,ve,Be,At){this.injector=P,this.rootComponentType=S,this.config=Z,this.urlTree=Q,this.url=pe,this.paramsInheritanceStrategy=ve,this.relativeLinkResolution=Be,this.urlSerializer=At}recognize(){const P=hr(this.urlTree.root,[],[],this.config.filter(S=>void 0===S.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,P,Lt).pipe((0,le.U)(S=>{if(null===S)return null;const Z=new Tr([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Lt,this.rootComponentType,null,this.urlTree.root,-1,{}),Q=new Do(Z,S),pe=new Xa(this.url,Q);return this.inheritParamsAndData(pe._root),pe}))}inheritParamsAndData(P){const S=P.value,Z=cr(S,this.paramsInheritanceStrategy);S.params=Object.freeze(Z.params),S.data=Object.freeze(Z.data),P.children.forEach(Q=>this.inheritParamsAndData(Q))}processSegmentGroup(P,S,Z,Q){return 0===Z.segments.length&&Z.hasChildren()?this.processChildren(P,S,Z):this.processSegment(P,S,Z,Z.segments,Q)}processChildren(P,S,Z){return(0,m.D)(Object.keys(Z.children)).pipe((0,ie.b)(Q=>{const pe=Z.children[Q],ve=Hr(S,Q);return this.processSegmentGroup(P,ve,pe,Q)}),ri((Q,pe)=>Q&&pe?(Q.push(...pe),Q):null),(0,ye.o)(Q=>null!==Q),_e(null),Wt(),(0,le.U)(Q=>{if(null===Q)return null;const pe=Sd(Q);return function Fa(O){O.sort((P,S)=>P.value.outlet===Lt?-1:S.value.outlet===Lt?1:P.value.outlet.localeCompare(S.value.outlet))}(pe),pe}))}processSegment(P,S,Z,Q,pe){return(0,m.D)(S).pipe((0,ie.b)(ve=>{var Be;return this.processSegmentAgainstRoute(null!==(Be=ve._injector)&&void 0!==Be?Be:P,ve,Z,Q,pe)}),qe(ve=>!!ve),(0,mt.K)(ve=>{if(Sr(ve))return ge(Z,Q,pe)?(0,e.of)([]):(0,e.of)(null);throw ve}))}processSegmentAgainstRoute(P,S,Z,Q,pe){var ve,Be;if(S.redirectTo||!W(S,Z,Q,pe))return(0,e.of)(null);let At;if("**"===S.path){const gi=Q.length>0?ki(Q).parameters:{},ui=Ad(Z)+Q.length,Ti=new Tr(Q,gi,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,hu(S),Ra(S),null!==(Be=null!==(ve=S.component)&&void 0!==ve?ve:S._loadedComponent)&&void 0!==Be?Be:null,S,Yc(Z),ui,mu(S),ui);At=(0,e.of)({snapshot:Ti,consumedSegments:[],remainingSegments:[]})}else At=io(Z,S,Q,P).pipe((0,le.U)(({matched:gi,consumedSegments:ui,remainingSegments:Ti,parameters:mn})=>{var Pn,ro;if(!gi)return null;const gr=Ad(Z)+ui.length;return{snapshot:new Tr(ui,mn,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,hu(S),Ra(S),null!==(ro=null!==(Pn=S.component)&&void 0!==Pn?Pn:S._loadedComponent)&&void 0!==ro?ro:null,S,Yc(Z),gr,mu(S),gr),consumedSegments:ui,remainingSegments:Ti}}));return At.pipe((0,Ne.w)(gi=>{var ui,Ti;if(null===gi)return(0,e.of)(null);const{snapshot:mn,consumedSegments:Pn,remainingSegments:ro}=gi;P=null!==(ui=S._injector)&&void 0!==ui?ui:P;const gr=null!==(Ti=S._loadedInjector)&&void 0!==Ti?Ti:P,Wa=function As(O){return O.children?O.children:O.loadChildren?O._loadedRoutes:[]}(S),{segmentGroup:fo,slicedSegments:il}=hr(Z,Pn,ro,Wa.filter(da=>void 0===da.redirectTo),this.relativeLinkResolution);if(0===il.length&&fo.hasChildren())return this.processChildren(gr,Wa,fo).pipe((0,le.U)(da=>null===da?null:[new Do(mn,da)]));if(0===Wa.length&&0===il.length)return(0,e.of)([new Do(mn,[])]);const aa=Ra(S)===pe;return this.processSegment(gr,Wa,fo,il,aa?Lt:pe).pipe((0,le.U)(da=>null===da?null:[new Do(mn,da)]))}))}}function dc(O){const P=O.value.routeConfig;return P&&""===P.path&&void 0===P.redirectTo}function Sd(O){const P=[],S=new Set;for(const Z of O){if(!dc(Z)){P.push(Z);continue}const Q=P.find(pe=>Z.value.routeConfig===pe.value.routeConfig);void 0!==Q?(Q.children.push(...Z.children),S.add(Q)):P.push(Z)}for(const Z of S){const Q=Sd(Z.children);P.push(new Do(Z.value,Q))}return P.filter(Z=>!S.has(Z))}function Yc(O){let P=O;for(;P._sourceSegment;)P=P._sourceSegment;return P}function Ad(O){var P,S;let Z=O,Q=null!==(P=Z._segmentIndexShift)&&void 0!==P?P:0;for(;Z._sourceSegment;)Z=Z._sourceSegment,Q+=null!==(S=Z._segmentIndexShift)&&void 0!==S?S:0;return Q-1}function hu(O){return O.data||{}}function mu(O){return O.resolve||{}}function mr(O){return"string"==typeof O.title||null===O.title}function wo(O){return(0,Ne.w)(P=>{const S=O(P);return S?(0,m.D)(S).pipe((0,le.U)(()=>P)):(0,e.of)(P)})}let Xs=(()=>{class O{buildTitle(S){var Z;let Q,pe=S.root;for(;void 0!==pe;)Q=null!==(Z=this.getResolvedTitleForRoute(pe))&&void 0!==Z?Z:Q,pe=pe.children.find(ve=>ve.outlet===Lt);return Q}getResolvedTitleForRoute(S){return S.data[Ai]}}return O.\u0275fac=function(S){return new(S||O)},O.\u0275prov=c.Yz7({token:O,factory:function(){return(0,c.f3M)(pc)},providedIn:"root"}),O})(),pc=(()=>{class O extends Xs{constructor(S){super(),this.title=S}updateTitle(S){const Z=this.buildTitle(S);void 0!==Z&&this.title.setTitle(Z)}}return O.\u0275fac=function(S){return new(S||O)(c.LFG(Yt.Dx))},O.\u0275prov=c.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})();class Gc{}class Ld extends class Kc{shouldDetach(P){return!1}store(P,S){}shouldAttach(P){return!1}retrieve(P){return null}shouldReuseRoute(P,S){return P.routeConfig===S.routeConfig}}{}const Mn=new c.OlP("",{providedIn:"root",factory:()=>({})}),Di=new c.OlP("ROUTES");let Vl=(()=>{class O{constructor(S,Z){this.injector=S,this.compiler=Z,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(S){if(this.componentLoaders.get(S))return this.componentLoaders.get(S);if(S._loadedComponent)return(0,e.of)(S._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(S);const Z=ti(S.loadComponent()).pipe((0,Oe.b)(pe=>{this.onLoadEndListener&&this.onLoadEndListener(S),S._loadedComponent=pe}),(0,Ae.x)(()=>{this.componentLoaders.delete(S)})),Q=new Pe.c(Z,()=>new de.x).pipe((0,he.x)());return this.componentLoaders.set(S,Q),Q}loadChildren(S,Z){if(this.childrenLoaders.get(Z))return this.childrenLoaders.get(Z);if(Z._loadedRoutes)return(0,e.of)({routes:Z._loadedRoutes,injector:Z._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(Z);const pe=this.loadModuleFactoryOrRoutes(Z.loadChildren).pipe((0,le.U)(Be=>{this.onLoadEndListener&&this.onLoadEndListener(Z);let At,gi,ui=!1;Array.isArray(Be)?gi=Be:(At=Be.create(S).injector,gi=ni(At.get(Di,[],c.XFs.Self|c.XFs.Optional)));return{routes:gi.map(to),injector:At}}),(0,Ae.x)(()=>{this.childrenLoaders.delete(Z)})),ve=new Pe.c(pe,()=>new de.x).pipe((0,he.x)());return this.childrenLoaders.set(Z,ve),ve}loadModuleFactoryOrRoutes(S){return ti(S()).pipe((0,Te.z)(Z=>Z instanceof c.YKP||Array.isArray(Z)?(0,e.of)(Z):(0,m.D)(this.compiler.compileModuleAsync(Z))))}}return O.\u0275fac=function(S){return new(S||O)(c.LFG(c.zs3),c.LFG(c.Sil))},O.\u0275prov=c.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})();class Ri{}class Gl{shouldProcessUrl(P){return!0}extract(P){return P}merge(P,S){return P}}function Od(O){throw O}function ds(O,P,S){return P.parse("/")}const Ls={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Kl={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function Os(){var O,P;const S=(0,c.f3M)(Hi),Z=(0,c.f3M)(Yr),Q=(0,c.f3M)(Ge.Ye),pe=(0,c.f3M)(c.zs3),ve=(0,c.f3M)(c.Sil),Be=null!==(O=(0,c.f3M)(Di,{optional:!0}))&&void 0!==O?O:[],At=null!==(P=(0,c.f3M)(Mn,{optional:!0}))&&void 0!==P?P:{},gi=(0,c.f3M)(pc),ui=(0,c.f3M)(Xs,{optional:!0}),Ti=(0,c.f3M)(Ri,{optional:!0}),mn=(0,c.f3M)(Gc,{optional:!0}),Pn=new la(null,S,Z,Q,pe,ve,ni(Be));return Ti&&(Pn.urlHandlingStrategy=Ti),mn&&(Pn.routeReuseStrategy=mn),Pn.titleStrategy=null!=ui?ui:gi,function hc(O,P){O.errorHandler&&(P.errorHandler=O.errorHandler),O.malformedUriErrorHandler&&(P.malformedUriErrorHandler=O.malformedUriErrorHandler),O.onSameUrlNavigation&&(P.onSameUrlNavigation=O.onSameUrlNavigation),O.paramsInheritanceStrategy&&(P.paramsInheritanceStrategy=O.paramsInheritanceStrategy),O.relativeLinkResolution&&(P.relativeLinkResolution=O.relativeLinkResolution),O.urlUpdateStrategy&&(P.urlUpdateStrategy=O.urlUpdateStrategy),O.canceledNavigationResolution&&(P.canceledNavigationResolution=O.canceledNavigationResolution)}(At,Pn),Pn}let la=(()=>{class O{constructor(S,Z,Q,pe,ve,Be,At){this.rootComponentType=S,this.urlSerializer=Z,this.rootContexts=Q,this.location=pe,this.config=At,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new de.x,this.errorHandler=Od,this.malformedUriErrorHandler=ds,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,e.of)(void 0),this.urlHandlingStrategy=new Gl,this.routeReuseStrategy=new Ld,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=ve.get(Vl),this.configLoader.onLoadEndListener=mn=>this.triggerEvent(new Br(mn)),this.configLoader.onLoadStartListener=mn=>this.triggerEvent(new Ya(mn)),this.ngModule=ve.get(c.h0i),this.console=ve.get(c.c2e);const Ti=ve.get(c.R0b);this.isNgZoneEnabled=Ti instanceof c.R0b&&c.R0b.isInAngularZone(),this.resetConfig(At),this.currentUrlTree=function Y(){return new _i(new di([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=qs(this.currentUrlTree,this.rootComponentType),this.transitions=new b.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var S;return null===(S=this.location.getState())||void 0===S?void 0:S.\u0275routerPageId}setupNavigations(S){const Z=this.events;return S.pipe((0,st.h)(Q=>0!==Q.id),(0,le.U)(Q=>Object.assign(Object.assign({},Q),{extractedUrl:this.urlHandlingStrategy.extract(Q.rawUrl)})),(0,Ne.w)(Q=>{let pe=!1,ve=!1;return(0,e.of)(Q).pipe((0,Oe.b)(Be=>{this.currentNavigation={id:Be.id,initialUrl:Be.rawUrl,extractedUrl:Be.extractedUrl,trigger:Be.source,extras:Be.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,Ne.w)(Be=>{const At=this.browserUrlTree.toString(),gi=!this.navigated||Be.extractedUrl.toString()!==At||At!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||gi)&&this.urlHandlingStrategy.shouldProcessUrl(Be.rawUrl))return kd(Be.source)&&(this.browserUrlTree=Be.extractedUrl),(0,e.of)(Be).pipe((0,Ne.w)(Ti=>{const mn=this.transitions.getValue();return Z.next(new sr(Ti.id,this.serializeUrl(Ti.extractedUrl),Ti.source,Ti.restoredState)),mn!==this.transitions.getValue()?ke.E:Promise.resolve(Ti)}),function Gn(O,P,S,Z){return(0,Ne.w)(Q=>function An(O,P,S,Z,Q){return new ka(O,P,S,Z,Q).apply()}(O,P,S,Q.extractedUrl,Z).pipe((0,le.U)(pe=>Object.assign(Object.assign({},Q),{urlAfterRedirects:pe}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,Oe.b)(Ti=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:Ti.urlAfterRedirects}),Q.urlAfterRedirects=Ti.urlAfterRedirects}),function Hc(O,P,S,Z,Q,pe){return(0,Te.z)(ve=>function Zt(O,P,S,Z,Q,pe,ve="emptyOnly",Be="legacy"){return new ja(O,P,S,Z,Q,ve,Be,pe).recognize().pipe((0,Ne.w)(At=>null===At?function ao(O){return new ce.y(P=>P.error(O))}(new go):(0,e.of)(At)))}(O,P,S,ve.urlAfterRedirects,Z.serialize(ve.urlAfterRedirects),Z,Q,pe).pipe((0,le.U)(Be=>Object.assign(Object.assign({},ve),{targetSnapshot:Be}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,Oe.b)(Ti=>{if(Q.targetSnapshot=Ti.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!Ti.extras.skipLocationChange){const Pn=this.urlHandlingStrategy.merge(Ti.urlAfterRedirects,Ti.rawUrl);this.setBrowserUrl(Pn,Ti)}this.browserUrlTree=Ti.urlAfterRedirects}const mn=new Ts(Ti.id,this.serializeUrl(Ti.extractedUrl),this.serializeUrl(Ti.urlAfterRedirects),Ti.targetSnapshot);Z.next(mn)}));if(gi&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:mn,extractedUrl:Pn,source:ro,restoredState:gr,extras:Wa}=Be,fo=new sr(mn,this.serializeUrl(Pn),ro,gr);Z.next(fo);const il=qs(Pn,this.rootComponentType).snapshot;return Q=Object.assign(Object.assign({},Be),{targetSnapshot:il,urlAfterRedirects:Pn,extras:Object.assign(Object.assign({},Wa),{skipLocationChange:!1,replaceUrl:!1})}),(0,e.of)(Q)}return this.rawUrlTree=Be.rawUrl,Be.resolve(null),ke.E}),(0,Oe.b)(Be=>{const At=new Bo(Be.id,this.serializeUrl(Be.extractedUrl),this.serializeUrl(Be.urlAfterRedirects),Be.targetSnapshot);this.triggerEvent(At)}),(0,le.U)(Be=>Q=Object.assign(Object.assign({},Be),{guards:Er(Be.targetSnapshot,Be.currentSnapshot,this.rootContexts)})),function Ar(O,P){return(0,Te.z)(S=>{const{targetSnapshot:Z,currentSnapshot:Q,guards:{canActivateChecks:pe,canDeactivateChecks:ve}}=S;return 0===ve.length&&0===pe.length?(0,e.of)(Object.assign(Object.assign({},S),{guardsResult:!0})):function Bl(O,P,S,Z){return(0,m.D)(O).pipe((0,Te.z)(Q=>function wd(O,P,S,Z,Q){const pe=P&&P.routeConfig?P.routeConfig.canDeactivate:null;if(!pe||0===pe.length)return(0,e.of)(!0);const ve=pe.map(Be=>{var At;const gi=null!==(At=on(P))&&void 0!==At?At:Q,ui=Qr(Be,gi);return ti(function Ce(O){return O&&pr(O.canDeactivate)}(ui)?ui.canDeactivate(O,P,S,Z):gi.runInContext(()=>ui(O,P,S,Z))).pipe(qe())});return(0,e.of)(ve).pipe(Vn())}(Q.component,Q.route,S,P,Z)),qe(Q=>!0!==Q,!0))}(ve,Z,Q,O).pipe((0,Te.z)(Be=>Be&&function Ma(O){return"boolean"==typeof O}(Be)?function zn(O,P,S,Z){return(0,m.D)(P).pipe((0,ie.b)(Q=>(0,G.z)(function Ed(O,P){return null!==O&&P&&P(new rs(O)),(0,e.of)(!0)}(Q.route.parent,Z),function Xr(O,P){return null!==O&&P&&P(new Ta(O)),(0,e.of)(!0)}(Q.route,Z),function cc(O,P,S){const Z=P[P.length-1],pe=P.slice(0,P.length-1).reverse().map(ve=>function Eo(O){const P=O.routeConfig?O.routeConfig.canActivateChild:null;return P&&0!==P.length?{node:O,guards:P}:null}(ve)).filter(ve=>null!==ve).map(ve=>(0,ee.P)(()=>{const Be=ve.guards.map(At=>{var gi;const ui=null!==(gi=on(ve.node))&&void 0!==gi?gi:S,Ti=Qr(At,ui);return ti(function H(O){return O&&pr(O.canActivateChild)}(Ti)?Ti.canActivateChild(Z,O):ui.runInContext(()=>Ti(Z,O))).pipe(qe())});return(0,e.of)(Be).pipe(Vn())}));return(0,e.of)(pe).pipe(Vn())}(O,Q.path,S),function Ul(O,P,S){const Z=P.routeConfig?P.routeConfig.canActivate:null;if(!Z||0===Z.length)return(0,e.of)(!0);const Q=Z.map(pe=>(0,ee.P)(()=>{var ve;const Be=null!==(ve=on(P))&&void 0!==ve?ve:S,At=Qr(pe,Be);return ti(function q(O){return O&&pr(O.canActivate)}(At)?At.canActivate(P,O):Be.runInContext(()=>At(P,O))).pipe(qe())}));return(0,e.of)(Q).pipe(Vn())}(O,Q.route,S))),qe(Q=>!0!==Q,!0))}(Z,pe,O,P):(0,e.of)(Be)),(0,le.U)(Be=>Object.assign(Object.assign({},S),{guardsResult:Be})))})}(this.ngModule.injector,Be=>this.triggerEvent(Be)),(0,Oe.b)(Be=>{if(Q.guardsResult=Be.guardsResult,Oi(Be.guardsResult))throw Dr(0,Be.guardsResult);const At=new Ka(Be.id,this.serializeUrl(Be.extractedUrl),this.serializeUrl(Be.urlAfterRedirects),Be.targetSnapshot,!!Be.guardsResult);this.triggerEvent(At)}),(0,st.h)(Be=>!!Be.guardsResult||(this.restoreHistory(Be),this.cancelNavigationTransition(Be,"",3),!1)),wo(Be=>{if(Be.guards.canActivateChecks.length)return(0,e.of)(Be).pipe((0,Oe.b)(At=>{const gi=new Nr(At.id,this.serializeUrl(At.extractedUrl),this.serializeUrl(At.urlAfterRedirects),At.targetSnapshot);this.triggerEvent(gi)}),(0,Ne.w)(At=>{let gi=!1;return(0,e.of)(At).pipe(function Vc(O,P){return(0,Te.z)(S=>{const{targetSnapshot:Z,guards:{canActivateChecks:Q}}=S;if(!Q.length)return(0,e.of)(S);let pe=0;return(0,m.D)(Q).pipe((0,ie.b)(ve=>function Hl(O,P,S,Z){const Q=O.routeConfig,pe=O._resolve;return void 0!==(null==Q?void 0:Q.title)&&!mr(Q)&&(pe[Ai]=Q.title),function uc(O,P,S,Z){const Q=function _c(O){return[...Object.keys(O),...Object.getOwnPropertySymbols(O)]}(O);if(0===Q.length)return(0,e.of)({});const pe={};return(0,m.D)(Q).pipe((0,Te.z)(ve=>function gu(O,P,S,Z){var Q;const pe=null!==(Q=on(P))&&void 0!==Q?Q:Z,ve=Qr(O,pe);return ti(ve.resolve?ve.resolve(P,S):pe.runInContext(()=>ve(P,S)))}(O[ve],P,S,Z).pipe(qe(),(0,Oe.b)(Be=>{pe[ve]=Be}))),bt(1),(0,Xe.h)(pe),(0,mt.K)(ve=>Sr(ve)?ke.E:(0,ue._)(ve)))}(pe,O,P,Z).pipe((0,le.U)(ve=>(O._resolvedData=ve,O.data=cr(O,S).resolve,Q&&mr(Q)&&(O.data[Ai]=Q.title),null)))}(ve.route,Z,O,P)),(0,Oe.b)(()=>pe++),bt(1),(0,Te.z)(ve=>pe===Q.length?(0,e.of)(S):ke.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,Oe.b)({next:()=>gi=!0,complete:()=>{gi||(this.restoreHistory(At),this.cancelNavigationTransition(At,"",2))}}))}),(0,Oe.b)(At=>{const gi=new lr(At.id,this.serializeUrl(At.extractedUrl),this.serializeUrl(At.urlAfterRedirects),At.targetSnapshot);this.triggerEvent(gi)}))}),wo(Be=>{const At=gi=>{var ui;const Ti=[];(null===(ui=gi.routeConfig)||void 0===ui?void 0:ui.loadComponent)&&!gi.routeConfig._loadedComponent&&Ti.push(this.configLoader.loadComponent(gi.routeConfig).pipe((0,Oe.b)(mn=>{gi.component=mn}),(0,le.U)(()=>{})));for(const mn of gi.children)Ti.push(...At(mn));return Ti};return(0,F.a)(At(Be.targetSnapshot.root)).pipe(_e(),(0,yt.q)(1))}),wo(()=>this.afterPreactivation()),(0,le.U)(Be=>{const At=function Js(O,P,S){const Z=Mr(O,P._root,S?S._root:void 0);return new Ws(Z,P)}(this.routeReuseStrategy,Be.targetSnapshot,Be.currentRouterState);return Q=Object.assign(Object.assign({},Be),{targetRouterState:At})}),(0,Oe.b)(Be=>{this.currentUrlTree=Be.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(Be.urlAfterRedirects,Be.rawUrl),this.routerState=Be.targetRouterState,"deferred"===this.urlUpdateStrategy&&(Be.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,Be),this.browserUrlTree=Be.urlAfterRedirects)}),((O,P,S)=>(0,le.U)(Z=>(new Es(P,Z.targetRouterState,Z.currentRouterState,S).activate(O),Z)))(this.rootContexts,this.routeReuseStrategy,Be=>this.triggerEvent(Be)),(0,Oe.b)({next(){pe=!0},complete(){pe=!0}}),(0,Ae.x)(()=>{var Be;pe||ve||this.cancelNavigationTransition(Q,"",1),(null===(Be=this.currentNavigation)||void 0===Be?void 0:Be.id)===Q.id&&(this.currentNavigation=null)}),(0,mt.K)(Be=>{var At;if(ve=!0,Pa(Be)){La(Be)||(this.navigated=!0,this.restoreHistory(Q,!0));const gi=new Aa(Q.id,this.serializeUrl(Q.extractedUrl),Be.message,Be.cancellationCode);if(Z.next(gi),La(Be)){const ui=this.urlHandlingStrategy.merge(Be.url,this.rawUrlTree),Ti={skipLocationChange:Q.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||kd(Q.source)};this.scheduleNavigation(ui,"imperative",null,Ti,{resolve:Q.resolve,reject:Q.reject,promise:Q.promise})}else Q.resolve(!1)}else{this.restoreHistory(Q,!0);const gi=new Fr(Q.id,this.serializeUrl(Q.extractedUrl),Be,null!==(At=Q.targetSnapshot)&&void 0!==At?At:void 0);Z.next(gi);try{Q.resolve(this.errorHandler(Be))}catch(ui){Q.reject(ui)}}return ke.E}))}))}resetRootComponentType(S){this.rootComponentType=S,this.routerState.root.component=this.rootComponentType}setTransition(S){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),S))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(S=>{const Z="popstate"===S.type?"popstate":"hashchange";"popstate"===Z&&setTimeout(()=>{var Q;const pe={replaceUrl:!0},ve=null!==(Q=S.state)&&void 0!==Q&&Q.navigationId?S.state:null;if(ve){const At=Object.assign({},ve);delete At.navigationId,delete At.\u0275routerPageId,0!==Object.keys(At).length&&(pe.state=At)}const Be=this.parseUrl(S.url);this.scheduleNavigation(Be,Z,ve,pe)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(S){this.events.next(S)}resetConfig(S){this.config=S.map(to),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(S,Z={}){const{relativeTo:Q,queryParams:pe,fragment:ve,queryParamsHandling:Be,preserveFragment:At}=Z,gi=Q||this.routerState.root,ui=At?this.currentUrlTree.fragment:ve;let Ti=null;switch(Be){case"merge":Ti=Object.assign(Object.assign({},this.currentUrlTree.queryParams),pe);break;case"preserve":Ti=this.currentUrlTree.queryParams;break;default:Ti=pe||null}return null!==Ti&&(Ti=this.removeEmptyProps(Ti)),sa(gi,this.currentUrlTree,S,Ti,null!=ui?ui:null)}navigateByUrl(S,Z={skipLocationChange:!1}){const Q=Oi(S)?S:this.parseUrl(S),pe=this.urlHandlingStrategy.merge(Q,this.rawUrlTree);return this.scheduleNavigation(pe,"imperative",null,Z)}navigate(S,Z={skipLocationChange:!1}){return function es(O){for(let P=0;P{const pe=S[Q];return null!=pe&&(Z[Q]=pe),Z},{})}processNavigations(){this.navigations.subscribe(S=>{var Z;this.navigated=!0,this.lastSuccessfulId=S.id,this.currentPageId=S.targetPageId,this.events.next(new Un(S.id,this.serializeUrl(S.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,null===(Z=this.titleStrategy)||void 0===Z||Z.updateTitle(this.routerState.snapshot),S.resolve(!0)},S=>{this.console.warn(`Unhandled Navigation Error: ${S}`)})}scheduleNavigation(S,Z,Q,pe,ve){var Be,At;if(this.disposed)return Promise.resolve(!1);let gi,ui,Ti;ve?(gi=ve.resolve,ui=ve.reject,Ti=ve.promise):Ti=new Promise((ro,gr)=>{gi=ro,ui=gr});const mn=++this.navigationId;let Pn;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(Q=this.location.getState()),Pn=Q&&Q.\u0275routerPageId?Q.\u0275routerPageId:pe.replaceUrl||pe.skipLocationChange?null!==(Be=this.browserPageId)&&void 0!==Be?Be:0:(null!==(At=this.browserPageId)&&void 0!==At?At:0)+1):Pn=0,this.setTransition({id:mn,targetPageId:Pn,source:Z,restoredState:Q,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:S,extras:pe,resolve:gi,reject:ui,promise:Ti,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ti.catch(ro=>Promise.reject(ro))}setBrowserUrl(S,Z){const Q=this.urlSerializer.serialize(S),pe=Object.assign(Object.assign({},Z.extras.state),this.generateNgRouterState(Z.id,Z.targetPageId));this.location.isCurrentPathEqualTo(Q)||Z.extras.replaceUrl?this.location.replaceState(Q,"",pe):this.location.go(Q,"",pe)}restoreHistory(S,Z=!1){var Q,pe;if("computed"===this.canceledNavigationResolution){const ve=this.currentPageId-S.targetPageId;"popstate"!==S.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(Q=this.currentNavigation)||void 0===Q?void 0:Q.finalUrl)||0===ve?this.currentUrlTree===(null===(pe=this.currentNavigation)||void 0===pe?void 0:pe.finalUrl)&&0===ve&&(this.resetState(S),this.browserUrlTree=S.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(ve)}else"replace"===this.canceledNavigationResolution&&(Z&&this.resetState(S),this.resetUrlToCurrentUrlTree())}resetState(S){this.routerState=S.currentRouterState,this.currentUrlTree=S.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,S.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(S,Z,Q){const pe=new Aa(S.id,this.serializeUrl(S.extractedUrl),Z,Q);this.triggerEvent(pe),S.resolve(!1)}generateNgRouterState(S,Z){return"computed"===this.canceledNavigationResolution?{navigationId:S,\u0275routerPageId:Z}:{navigationId:S}}}return O.\u0275fac=function(S){c.$Z()},O.\u0275prov=c.Yz7({token:O,factory:function(){return Os()},providedIn:"root"}),O})();function kd(O){return"imperative"!==O}let mc=(()=>{class O{constructor(S,Z,Q,pe,ve){this.router=S,this.route=Z,this.tabIndexAttribute=Q,this.renderer=pe,this.el=ve,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.onChanges=new de.x,this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(S){this._preserveFragment=(0,c.D6c)(S)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(S){this._skipLocationChange=(0,c.D6c)(S)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(S){this._replaceUrl=(0,c.D6c)(S)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(S){if(null!=this.tabIndexAttribute)return;const Z=this.renderer,Q=this.el.nativeElement;null!==S?Z.setAttribute(Q,"tabindex",S):Z.removeAttribute(Q,"tabindex")}ngOnChanges(S){this.onChanges.next(this)}set routerLink(S){null!=S?(this.commands=Array.isArray(S)?S:[S],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){return null===this.urlTree||this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return O.\u0275fac=function(S){return new(S||O)(c.Y36(la),c.Y36($o),c.$8M("tabindex"),c.Y36(c.Qsj),c.Y36(c.SBq))},O.\u0275dir=c.lG2({type:O,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(S,Z){1&S&&c.NdJ("click",function(){return Z.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[c.TTD]}),O})(),ks=(()=>{class O{constructor(S,Z,Q){this.router=S,this.route=Z,this.locationStrategy=Q,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.href=null,this.onChanges=new de.x,this.subscription=S.events.subscribe(pe=>{pe instanceof Un&&this.updateTargetUrlAndHref()})}set preserveFragment(S){this._preserveFragment=(0,c.D6c)(S)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(S){this._skipLocationChange=(0,c.D6c)(S)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(S){this._replaceUrl=(0,c.D6c)(S)}get replaceUrl(){return this._replaceUrl}set routerLink(S){this.commands=null!=S?Array.isArray(S)?S:[S]:null}ngOnChanges(S){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(S,Z,Q,pe,ve){return!!(0!==S||Z||Q||pe||ve||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!1)}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return O.\u0275fac=function(S){return new(S||O)(c.Y36(la),c.Y36($o),c.Y36(Ge.S$))},O.\u0275dir=c.lG2({type:O,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(S,Z){1&S&&c.NdJ("click",function(pe){return Z.onClick(pe.button,pe.ctrlKey,pe.shiftKey,pe.altKey,pe.metaKey)}),2&S&&c.uIk("target",Z.target)("href",Z.href,c.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[c.TTD]}),O})(),Is=(()=>{class O{constructor(S,Z,Q,pe,ve,Be){this.router=S,this.element=Z,this.renderer=Q,this.cdr=pe,this.link=ve,this.linkWithHref=Be,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new c.vpe,this.routerEventsSubscription=S.events.subscribe(At=>{At instanceof Un&&this.update()})}ngAfterContentInit(){(0,e.of)(this.links.changes,this.linksWithHrefs.changes,(0,e.of)(null)).pipe((0,nt.J)()).subscribe(S=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var S;null===(S=this.linkInputChangesSubscription)||void 0===S||S.unsubscribe();const Z=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(Q=>!!Q).map(Q=>Q.onChanges);this.linkInputChangesSubscription=(0,m.D)(Z).pipe((0,nt.J)()).subscribe(Q=>{this.isActive!==this.isLinkActive(this.router)(Q)&&this.update()})}set routerLinkActive(S){const Z=Array.isArray(S)?S:S.split(" ");this.classes=Z.filter(Q=>!!Q)}ngOnChanges(S){this.update()}ngOnDestroy(){var S;this.routerEventsSubscription.unsubscribe(),null===(S=this.linkInputChangesSubscription)||void 0===S||S.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const S=this.hasActiveLinks();this.isActive!==S&&(this.isActive=S,this.cdr.markForCheck(),this.classes.forEach(Z=>{S?this.renderer.addClass(this.element.nativeElement,Z):this.renderer.removeClass(this.element.nativeElement,Z)}),S&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(S))})}isLinkActive(S){const Z=function fu(O){return!!O.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return Q=>!!Q.urlTree&&S.isActive(Q.urlTree,Z)}hasActiveLinks(){const S=this.isLinkActive(this.router);return this.link&&S(this.link)||this.linkWithHref&&S(this.linkWithHref)||this.links.some(S)||this.linksWithHrefs.some(S)}}return O.\u0275fac=function(S){return new(S||O)(c.Y36(la),c.Y36(c.SBq),c.Y36(c.Qsj),c.Y36(c.sBO),c.Y36(mc,8),c.Y36(ks,8))},O.\u0275dir=c.lG2({type:O,selectors:[["","routerLinkActive",""]],contentQueries:function(S,Z,Q){if(1&S&&(c.Suo(Q,mc,5),c.Suo(Q,ks,5)),2&S){let pe;c.iGM(pe=c.CRH())&&(Z.links=pe),c.iGM(pe=c.CRH())&&(Z.linksWithHrefs=pe)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[c.TTD]}),O})();class jc{}let Pd=(()=>{class O{constructor(S,Z,Q,pe,ve){this.router=S,this.injector=Q,this.preloadingStrategy=pe,this.loader=ve}setUpPreloading(){this.subscription=this.router.events.pipe((0,st.h)(S=>S instanceof Un),(0,ie.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(S,Z){var Q,pe,ve;const Be=[];for(const At of Z){At.providers&&!At._injector&&(At._injector=(0,c.MMx)(At.providers,S,`Route: ${At.path}`));const gi=null!==(Q=At._injector)&&void 0!==Q?Q:S,ui=null!==(pe=At._loadedInjector)&&void 0!==pe?pe:gi;At.loadChildren&&!At._loadedRoutes&&void 0===At.canLoad||At.loadComponent&&!At._loadedComponent?Be.push(this.preloadConfig(gi,At)):(At.children||At._loadedRoutes)&&Be.push(this.processRoutes(ui,null!==(ve=At.children)&&void 0!==ve?ve:At._loadedRoutes))}return(0,m.D)(Be).pipe((0,nt.J)())}preloadConfig(S,Z){return this.preloadingStrategy.preload(Z,()=>{let Q;Q=Z.loadChildren&&void 0===Z.canLoad?this.loader.loadChildren(S,Z):(0,e.of)(null);const pe=Q.pipe((0,Te.z)(ve=>{var Be;return null===ve?(0,e.of)(void 0):(Z._loadedRoutes=ve.routes,Z._loadedInjector=ve.injector,this.processRoutes(null!==(Be=ve.injector)&&void 0!==Be?Be:S,ve.routes))}));if(Z.loadComponent&&!Z._loadedComponent){const ve=this.loader.loadComponent(Z);return(0,m.D)([pe,ve]).pipe((0,nt.J)())}return pe})}}return O.\u0275fac=function(S){return new(S||O)(c.LFG(la),c.LFG(c.Sil),c.LFG(c.lqb),c.LFG(jc),c.LFG(Vl))},O.\u0275prov=c.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})();const vl=new c.OlP("");let el=(()=>{class O{constructor(S,Z,Q={}){this.router=S,this.viewportScroller=Z,this.options=Q,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Q.scrollPositionRestoration=Q.scrollPositionRestoration||"disabled",Q.anchorScrolling=Q.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(S=>{S instanceof sr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=S.navigationTrigger,this.restoredId=S.restoredState?S.restoredState.navigationId:0):S instanceof Un&&(this.lastId=S.id,this.scheduleScrollEvent(S,this.router.parseUrl(S.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(S=>{S instanceof an&&(S.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(S.position):S.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(S.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(S,Z){this.router.triggerEvent(new an(S,"popstate"===this.lastSource?this.store[this.restoredId]:null,Z))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return O.\u0275fac=function(S){c.$Z()},O.\u0275prov=c.Yz7({token:O,factory:O.\u0275fac}),O})();function rn(O,P){return{\u0275kind:O,\u0275providers:P}}function _s(O){return[{provide:Di,multi:!0,useValue:O}]}function jl(){const O=(0,c.f3M)(c.zs3);return P=>{var S,Z;const Q=O.get(c.z2F);if(P!==Q.components[0])return;const pe=O.get(la),ve=O.get(ca);1===O.get(Rd)&&pe.initialNavigation(),null===(S=O.get(w_,null,c.XFs.Optional))||void 0===S||S.setUpPreloading(),null===(Z=O.get(vl,null,c.XFs.Optional))||void 0===Z||Z.init(),pe.resetRootComponentType(Q.componentTypes[0]),ve.closed||(ve.next(),ve.unsubscribe())}}const ca=new c.OlP("",{factory:()=>new de.x}),Rd=new c.OlP("",{providedIn:"root",factory:()=>1});const w_=new c.OlP("");function Fp(O){return rn(0,[{provide:w_,useExisting:Pd},{provide:jc,useExisting:O}])}const S_=new c.OlP("ROUTER_FORROOT_GUARD"),oo=[Ge.Ye,{provide:Hi,useClass:ht},{provide:la,useFactory:Os},Yr,{provide:$o,useFactory:function Ps(O){return O.routerState.root},deps:[la]},Vl];function Fd(){return new c.PXZ("Router",la)}let tl=(()=>{class O{constructor(S){}static forRoot(S,Z){return{ngModule:O,providers:[oo,[],_s(S),{provide:S_,useFactory:hs,deps:[[la,new c.FiY,new c.tp0]]},{provide:Mn,useValue:Z||{}},null!=Z&&Z.useHash?{provide:Ge.S$,useClass:Ge.Do}:{provide:Ge.S$,useClass:Ge.b0},{provide:vl,useFactory:()=>{const O=(0,c.f3M)(la),P=(0,c.f3M)(Ge.EM),S=(0,c.f3M)(Mn);return S.scrollOffset&&P.setOffset(S.scrollOffset),new el(O,P,S)}},null!=Z&&Z.preloadingStrategy?Fp(Z.preloadingStrategy).\u0275providers:[],{provide:c.PXZ,multi:!0,useFactory:Fd},null!=Z&&Z.initialNavigation?Nd(Z):[],[{provide:ts,useFactory:jl},{provide:c.tb,multi:!0,useExisting:ts}]]}}static forChild(S){return{ngModule:O,providers:[_s(S)]}}}return O.\u0275fac=function(S){return new(S||O)(c.LFG(S_,8))},O.\u0275mod=c.oAB({type:O}),O.\u0275inj=c.cJS({imports:[Fl]}),O})();function hs(O){return"guarded"}function Nd(O){return["disabled"===O.initialNavigation?rn(3,[{provide:c.ip1,multi:!0,useFactory:()=>{const P=(0,c.f3M)(la);return()=>{P.setUpLocationChangeListener()}}},{provide:Rd,useValue:2}]).\u0275providers:[],"enabledBlocking"===O.initialNavigation?rn(2,[{provide:Rd,useValue:0},{provide:c.ip1,multi:!0,deps:[c.zs3],useFactory:P=>{const S=P.get(Ge.V_,Promise.resolve());let Z=!1;return()=>S.then(()=>new Promise(pe=>{const ve=P.get(la),Be=P.get(ca);(function Q(pe){P.get(la).events.pipe((0,st.h)(Be=>Be instanceof Un||Be instanceof Aa||Be instanceof Fr),(0,le.U)(Be=>Be instanceof Un||Be instanceof Aa&&(0===Be.code||1===Be.code)&&null),(0,st.h)(Be=>null!==Be),(0,yt.q)(1)).subscribe(()=>{pe()})})(()=>{pe(!0),Z=!0}),ve.afterPreactivation=()=>(pe(!0),Z||Be.closed?(0,e.of)(void 0):Be),ve.initialNavigation()}))}}]).\u0275providers:[]]}const ts=new c.OlP("")},4894:(N,U,C)=>{"use strict";C.d(U,{Zw:()=>Pe,aw:()=>ri,X$:()=>kt,sK:()=>Oe});var c=C(5e3),m=C(9646),e=C(5191),b=C(4128),M=C(7272),k=C(9770),F=C(5698),G=C(4707),ee=C(3099);function z(bt,Wt,ye){let Xe,Ae=!1;return bt&&"object"==typeof bt?({bufferSize:Xe=1/0,windowTime:Wt=1/0,refCount:Ae=!1,scheduler:ye}=bt):Xe=null!=bt?bt:1/0,(0,ee.B)({connector:()=>new G.t(Xe,Wt,ye),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:Ae})}var ue=C(4004),ce=C(4351),ke=C(3900);class Pe{}let de=(()=>{class bt extends Pe{getTranslation(ye){return(0,m.of)({})}}return bt.\u0275fac=function(){let Wt;return function(Xe){return(Wt||(Wt=c.n5z(bt)))(Xe||bt)}}(),bt.\u0275prov=c.Yz7({token:bt,factory:bt.\u0275fac}),bt})();class Ge{}let le=(()=>{class bt{handle(ye){return ye.key}}return bt.\u0275fac=function(ye){return new(ye||bt)},bt.\u0275prov=c.Yz7({token:bt,factory:bt.\u0275fac}),bt})();function Ne(bt,Wt){if(bt===Wt)return!0;if(null===bt||null===Wt)return!1;if(bt!=bt&&Wt!=Wt)return!0;let Ae,he,nt,ye=typeof bt;if(ye==typeof Wt&&"object"==ye){if(!Array.isArray(bt)){if(Array.isArray(Wt))return!1;for(he in nt=Object.create(null),bt){if(!Ne(bt[he],Wt[he]))return!1;nt[he]=!0}for(he in Wt)if(!(he in nt)&&void 0!==Wt[he])return!1;return!0}if(!Array.isArray(Wt))return!1;if((Ae=bt.length)==Wt.length){for(he=0;he{jt(Wt[Xe])?Xe in bt?ye[Xe]=st(bt[Xe],Wt[Xe]):Object.assign(ye,{[Xe]:Wt[Xe]}):Object.assign(ye,{[Xe]:Wt[Xe]})}),ye}class Te{}let Le=(()=>{class bt extends Te{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(ye,Xe){let Ae;return Ae="string"==typeof ye?this.interpolateString(ye,Xe):"function"==typeof ye?this.interpolateFunction(ye,Xe):ye,Ae}getValue(ye,Xe){let Ae="string"==typeof Xe?Xe.split("."):[Xe];Xe="";do{Xe+=Ae.shift(),!yt(ye)||!yt(ye[Xe])||"object"!=typeof ye[Xe]&&Ae.length?Ae.length?Xe+=".":ye=void 0:(ye=ye[Xe],Xe="")}while(Ae.length);return ye}interpolateFunction(ye,Xe){return ye(Xe)}interpolateString(ye,Xe){return Xe?ye.replace(this.templateMatcher,(Ae,he)=>{let nt=this.getValue(Xe,he);return yt(nt)?nt:Ae}):ye}}return bt.\u0275fac=function(){let Wt;return function(Xe){return(Wt||(Wt=c.n5z(bt)))(Xe||bt)}}(),bt.\u0275prov=c.Yz7({token:bt,factory:bt.\u0275fac}),bt})();class at{}let _e=(()=>{class bt extends at{compile(ye,Xe){return ye}compileTranslations(ye,Xe){return ye}}return bt.\u0275fac=function(){let Wt;return function(Xe){return(Wt||(Wt=c.n5z(bt)))(Xe||bt)}}(),bt.\u0275prov=c.Yz7({token:bt,factory:bt.\u0275fac}),bt})();class xt{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new c.vpe,this.onLangChange=new c.vpe,this.onDefaultLangChange=new c.vpe}}const tt=new c.OlP("USE_STORE"),Ye=new c.OlP("USE_DEFAULT_LANG"),qe=new c.OlP("DEFAULT_LANGUAGE"),ie=new c.OlP("USE_EXTEND");let Oe=(()=>{class bt{constructor(ye,Xe,Ae,he,nt,Yt=!0,Lt=!1,Ai=!1,ei){this.store=ye,this.currentLoader=Xe,this.compiler=Ae,this.parser=he,this.missingTranslationHandler=nt,this.useDefaultLang=Yt,this.isolate=Lt,this.extend=Ai,this.pending=!1,this._onTranslationChange=new c.vpe,this._onLangChange=new c.vpe,this._onDefaultLangChange=new c.vpe,this._langs=[],this._translations={},this._translationRequests={},ei&&this.setDefaultLang(ei)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(ye){this.isolate?this._defaultLang=ye:this.store.defaultLang=ye}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(ye){this.isolate?this._currentLang=ye:this.store.currentLang=ye}get langs(){return this.isolate?this._langs:this.store.langs}set langs(ye){this.isolate?this._langs=ye:this.store.langs=ye}get translations(){return this.isolate?this._translations:this.store.translations}set translations(ye){this.isolate?this._translations=ye:this.store.translations=ye}setDefaultLang(ye){if(ye===this.defaultLang)return;let Xe=this.retrieveTranslations(ye);void 0!==Xe?(null==this.defaultLang&&(this.defaultLang=ye),Xe.pipe((0,F.q)(1)).subscribe(Ae=>{this.changeDefaultLang(ye)})):this.changeDefaultLang(ye)}getDefaultLang(){return this.defaultLang}use(ye){if(ye===this.currentLang)return(0,m.of)(this.translations[ye]);let Xe=this.retrieveTranslations(ye);return void 0!==Xe?(this.currentLang||(this.currentLang=ye),Xe.pipe((0,F.q)(1)).subscribe(Ae=>{this.changeLang(ye)}),Xe):(this.changeLang(ye),(0,m.of)(this.translations[ye]))}retrieveTranslations(ye){let Xe;return(void 0===this.translations[ye]||this.extend)&&(this._translationRequests[ye]=this._translationRequests[ye]||this.getTranslation(ye),Xe=this._translationRequests[ye]),Xe}getTranslation(ye){this.pending=!0;const Xe=this.currentLoader.getTranslation(ye).pipe(z(1),(0,F.q)(1));return this.loadingTranslations=Xe.pipe((0,ue.U)(Ae=>this.compiler.compileTranslations(Ae,ye)),z(1),(0,F.q)(1)),this.loadingTranslations.subscribe({next:Ae=>{this.translations[ye]=this.extend&&this.translations[ye]?Object.assign(Object.assign({},Ae),this.translations[ye]):Ae,this.updateLangs(),this.pending=!1},error:Ae=>{this.pending=!1}}),Xe}setTranslation(ye,Xe,Ae=!1){Xe=this.compiler.compileTranslations(Xe,ye),this.translations[ye]=(Ae||this.extend)&&this.translations[ye]?st(this.translations[ye],Xe):Xe,this.updateLangs(),this.onTranslationChange.emit({lang:ye,translations:this.translations[ye]})}getLangs(){return this.langs}addLangs(ye){ye.forEach(Xe=>{-1===this.langs.indexOf(Xe)&&this.langs.push(Xe)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(ye,Xe,Ae){let he;if(Xe instanceof Array){let nt={},Yt=!1;for(let Lt of Xe)nt[Lt]=this.getParsedResult(ye,Lt,Ae),(0,e.b)(nt[Lt])&&(Yt=!0);if(Yt){const Lt=Xe.map(Ai=>(0,e.b)(nt[Ai])?nt[Ai]:(0,m.of)(nt[Ai]));return(0,b.D)(Lt).pipe((0,ue.U)(Ai=>{let ei={};return Ai.forEach((hi,ne)=>{ei[Xe[ne]]=hi}),ei}))}return nt}if(ye&&(he=this.parser.interpolate(this.parser.getValue(ye,Xe),Ae)),void 0===he&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(he=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],Xe),Ae)),void 0===he){let nt={key:Xe,translateService:this};void 0!==Ae&&(nt.interpolateParams=Ae),he=this.missingTranslationHandler.handle(nt)}return void 0!==he?he:Xe}get(ye,Xe){if(!yt(ye)||!ye.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,ce.b)(Ae=>(Ae=this.getParsedResult(Ae,ye,Xe),(0,e.b)(Ae)?Ae:(0,m.of)(Ae))));{let Ae=this.getParsedResult(this.translations[this.currentLang],ye,Xe);return(0,e.b)(Ae)?Ae:(0,m.of)(Ae)}}getStreamOnTranslationChange(ye,Xe){if(!yt(ye)||!ye.length)throw new Error('Parameter "key" required');return(0,M.z)((0,k.P)(()=>this.get(ye,Xe)),this.onTranslationChange.pipe((0,ke.w)(Ae=>{const he=this.getParsedResult(Ae.translations,ye,Xe);return"function"==typeof he.subscribe?he:(0,m.of)(he)})))}stream(ye,Xe){if(!yt(ye)||!ye.length)throw new Error('Parameter "key" required');return(0,M.z)((0,k.P)(()=>this.get(ye,Xe)),this.onLangChange.pipe((0,ke.w)(Ae=>{const he=this.getParsedResult(Ae.translations,ye,Xe);return(0,e.b)(he)?he:(0,m.of)(he)})))}instant(ye,Xe){if(!yt(ye)||!ye.length)throw new Error('Parameter "key" required');let Ae=this.getParsedResult(this.translations[this.currentLang],ye,Xe);if((0,e.b)(Ae)){if(ye instanceof Array){let he={};return ye.forEach((nt,Yt)=>{he[ye[Yt]]=ye[Yt]}),he}return ye}return Ae}set(ye,Xe,Ae=this.currentLang){this.translations[Ae][ye]=this.compiler.compile(Xe,Ae),this.updateLangs(),this.onTranslationChange.emit({lang:Ae,translations:this.translations[Ae]})}changeLang(ye){this.currentLang=ye,this.onLangChange.emit({lang:ye,translations:this.translations[ye]}),null==this.defaultLang&&this.changeDefaultLang(ye)}changeDefaultLang(ye){this.defaultLang=ye,this.onDefaultLangChange.emit({lang:ye,translations:this.translations[ye]})}reloadLang(ye){return this.resetLang(ye),this.getTranslation(ye)}resetLang(ye){this._translationRequests[ye]=void 0,this.translations[ye]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let ye=window.navigator.languages?window.navigator.languages[0]:null;return ye=ye||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==ye?(-1!==ye.indexOf("-")&&(ye=ye.split("-")[0]),-1!==ye.indexOf("_")&&(ye=ye.split("_")[0]),ye):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let ye=window.navigator.languages?window.navigator.languages[0]:null;return ye=ye||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,ye}}return bt.\u0275fac=function(ye){return new(ye||bt)(c.LFG(xt),c.LFG(Pe),c.LFG(at),c.LFG(Te),c.LFG(Ge),c.LFG(Ye),c.LFG(tt),c.LFG(ie),c.LFG(qe))},bt.\u0275prov=c.Yz7({token:bt,factory:bt.\u0275fac}),bt})(),kt=(()=>{class bt{constructor(ye,Xe){this.translate=ye,this._ref=Xe,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(ye,Xe,Ae){let he=nt=>{this.value=void 0!==nt?nt:ye,this.lastKey=ye,this._ref.markForCheck()};if(Ae){let nt=this.translate.getParsedResult(Ae,ye,Xe);(0,e.b)(nt.subscribe)?nt.subscribe(he):he(nt)}this.translate.get(ye,Xe).subscribe(he)}transform(ye,...Xe){if(!ye||!ye.length)return ye;if(Ne(ye,this.lastKey)&&Ne(Xe,this.lastParams))return this.value;let Ae;if(yt(Xe[0])&&Xe.length)if("string"==typeof Xe[0]&&Xe[0].length){let he=Xe[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{Ae=JSON.parse(he)}catch(nt){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${Xe[0]}`)}}else"object"==typeof Xe[0]&&!Array.isArray(Xe[0])&&(Ae=Xe[0]);return this.lastKey=ye,this.lastParams=Xe,this.updateValue(ye,Ae),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(he=>{this.lastKey&&he.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(ye,Ae,he.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(he=>{this.lastKey&&(this.lastKey=null,this.updateValue(ye,Ae,he.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(ye,Ae))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return bt.\u0275fac=function(ye){return new(ye||bt)(c.Y36(Oe,16),c.Y36(c.sBO,16))},bt.\u0275pipe=c.Yjl({name:"translate",type:bt,pure:!1}),bt.\u0275prov=c.Yz7({token:bt,factory:bt.\u0275fac}),bt})(),ri=(()=>{class bt{static forRoot(ye={}){return{ngModule:bt,providers:[ye.loader||{provide:Pe,useClass:de},ye.compiler||{provide:at,useClass:_e},ye.parser||{provide:Te,useClass:Le},ye.missingTranslationHandler||{provide:Ge,useClass:le},xt,{provide:tt,useValue:ye.isolate},{provide:Ye,useValue:ye.useDefaultLang},{provide:ie,useValue:ye.extend},{provide:qe,useValue:ye.defaultLanguage},Oe]}}static forChild(ye={}){return{ngModule:bt,providers:[ye.loader||{provide:Pe,useClass:de},ye.compiler||{provide:at,useClass:_e},ye.parser||{provide:Te,useClass:Le},ye.missingTranslationHandler||{provide:Ge,useClass:le},{provide:tt,useValue:ye.isolate},{provide:Ye,useValue:ye.useDefaultLang},{provide:ie,useValue:ye.extend},{provide:qe,useValue:ye.defaultLanguage},Oe]}}}return bt.\u0275fac=function(ye){return new(ye||bt)},bt.\u0275mod=c.oAB({type:bt}),bt.\u0275inj=c.cJS({}),bt})()},5902:(N,U,C)=>{"use strict";C.d(U,{K$:()=>mf,Dw:()=>sv,a4:()=>xf,JU:()=>gf,Nm:()=>dv});var c=C(5e3),m=C(9808),e=C(655),b=C(7429),M=C(4968),k=C(8372),F=C(1777);function G(){}function ee(u){return null==u?G:function(){return this.querySelector(u)}}function ue(u){return"object"==typeof u&&"length"in u?u:Array.from(u)}function ce(){return[]}function ke(u){return null==u?ce:function(){return this.querySelectorAll(u)}}function Ge(u){return function(){return this.matches(u)}}function le(u){return function(f){return f.matches(u)}}var Ne=Array.prototype.find;function jt(){return this.firstElementChild}var Te=Array.prototype.filter;function Le(){return this.children}function tt(u){return new Array(u.length)}function qe(u,f){this.ownerDocument=u.ownerDocument,this.namespaceURI=u.namespaceURI,this._next=null,this._parent=u,this.__data__=f}function ie(u){return function(){return u}}function Oe(u,f,r,p,x,D){for(var V,I=0,me=f.length,fe=D.length;If?1:u>=f?0:NaN}qe.prototype={constructor:qe,appendChild:function(u){return this._parent.insertBefore(u,this._next)},insertBefore:function(u,f){return this._parent.insertBefore(u,f)},querySelector:function(u){return this._parent.querySelector(u)},querySelectorAll:function(u){return this._parent.querySelectorAll(u)}};var ne="http://www.w3.org/1999/xhtml";const Tt={svg:"http://www.w3.org/2000/svg",xhtml:ne,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Se(u){var f=u+="",r=f.indexOf(":");return r>=0&&"xmlns"!==(f=u.slice(0,r))&&(u=u.slice(r+1)),Tt.hasOwnProperty(f)?{space:Tt[f],local:u}:u}function ut(u){return function(){this.removeAttribute(u)}}function ni(u){return function(){this.removeAttributeNS(u.space,u.local)}}function ki(u,f){return function(){this.setAttribute(u,f)}}function dn(u,f){return function(){this.setAttributeNS(u.space,u.local,f)}}function ai(u,f){return function(){var r=f.apply(this,arguments);null==r?this.removeAttribute(u):this.setAttribute(u,r)}}function ti(u,f){return function(){var r=f.apply(this,arguments);null==r?this.removeAttributeNS(u.space,u.local):this.setAttributeNS(u.space,u.local,r)}}function Y(u){return u.ownerDocument&&u.ownerDocument.defaultView||u.document&&u||u.defaultView}function X(u){return function(){this.style.removeProperty(u)}}function A(u,f,r){return function(){this.style.setProperty(u,f,r)}}function et(u,f,r){return function(){var p=f.apply(this,arguments);null==p?this.style.removeProperty(u):this.style.setProperty(u,p,r)}}function we(u,f){return u.style.getPropertyValue(f)||Y(u).getComputedStyle(u,null).getPropertyValue(f)}function De(u){return function(){delete this[u]}}function ct(u,f){return function(){this[u]=f}}function Et(u,f){return function(){var r=f.apply(this,arguments);null==r?delete this[u]:this[u]=r}}function _i(u){return u.trim().split(/^|\s+/)}function di(u){return u.classList||new zt(u)}function zt(u){this._node=u,this._names=_i(u.getAttribute("class")||"")}function Bi(u,f){for(var r=di(u),p=-1,x=f.length;++p=0&&(r=f.slice(p+1),f=f.slice(0,p)),{type:f,name:r}})}function sa(u){return function(){var f=this.__on;if(f){for(var D,r=0,p=-1,x=f.length;r=0&&(this._names.splice(f,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(u){return this._names.indexOf(u)>=0}};var ma=[null];function yn(u,f){this._groups=u,this._parents=f}function $i(){return new yn([[document.documentElement]],ma)}yn.prototype=$i.prototype={constructor:yn,select:function z(u){"function"!=typeof u&&(u=ee(u));for(var f=this._groups,r=f.length,p=new Array(r),x=0;x=vi&&(vi=bi+1);!(Ki=St[vi])&&++vi=0;)(I=p[x])&&(D&&4^I.compareDocumentPosition(D)&&D.parentNode.insertBefore(I,D),D=I);return this},sort:function Ae(u){function f(dt,ft){return dt&&ft?u(dt.__data__,ft.__data__):!dt-!ft}u||(u=he);for(var r=this._groups,p=r.length,x=new Array(p),D=0;D1?this.each((null==f?X:"function"==typeof f?et:A)(u,f,null==r?"":r)):we(this.node(),u)},property:function Gt(u,f){return arguments.length>1?this.each((null==f?De:"function"==typeof f?Et:ct)(u,f)):this.node()[u]},classed:function it(u,f){var r=_i(u+"");if(arguments.length<2){for(var p=di(this.node()),x=-1,D=r.length;++x{}};function Ia(){for(var p,u=0,f=arguments.length,r={};u=0&&(p=r.slice(x+1),r=r.slice(0,x)),r&&!f.hasOwnProperty(r))throw new Error("unknown type: "+r);return{type:r,name:p}})}function Yn(u,f){for(var x,r=0,p=u.length;r0)for(var x,D,r=new Array(x),p=0;p>8&15|f>>4&240,f>>4&15|240&f,(15&f)<<4|15&f,1):8===r?cr(f>>24&255,f>>16&255,f>>8&255,(255&f)/255):4===r?cr(f>>12&15|f>>8&240,f>>8&15|f>>4&240,f>>4&15|240&f,((15&f)<<4|15&f)/255):null):(f=Mo.exec(u))?new Xa(f[1],f[2],f[3],1):(f=an.exec(u))?new Xa(255*f[1]/100,255*f[2]/100,255*f[3]/100,1):(f=sc.exec(u))?cr(f[1],f[2],f[3],f[4]):(f=Ks.exec(u))?cr(255*f[1]/100,255*f[2]/100,255*f[3]/100,f[4]):(f=Ms.exec(u))?ls(f[1],f[2]/100,f[3]/100,1):(f=js.exec(u))?ls(f[1],f[2]/100,f[3]/100,f[4]):Do.hasOwnProperty(u)?$o(Do[u]):"transparent"===u?new Xa(NaN,NaN,NaN,0):null}function $o(u){return new Xa(u>>16&255,u>>8&255,255&u,1)}function cr(u,f,r,p){return p<=0&&(u=f=r=NaN),new Xa(u,f,r,p)}function lc(u){return u instanceof Nr||(u=Zr(u)),u?new Xa((u=u.rgb()).r,u.g,u.b,u.opacity):new Xa}function Tr(u,f,r,p){return 1===arguments.length?lc(u):new Xa(u,f,r,null==p?1:p)}function Xa(u,f,r,p){this.r=+u,this.g=+f,this.b=+r,this.opacity=+p}function Uo(){return"#"+qr(this.r)+qr(this.g)+qr(this.b)}function ss(){var u=this.opacity;return(1===(u=isNaN(u)?1:Math.max(0,Math.min(1,u)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===u?")":", "+u+")")}function qr(u){return((u=Math.max(0,Math.min(255,Math.round(u)||0)))<16?"0":"")+u.toString(16)}function ls(u,f,r,p){return p<=0?u=f=r=NaN:r<=0||r>=1?u=f=NaN:f<=0&&(u=NaN),new Ha(u,f,r,p)}function Js(u){if(u instanceof Ha)return new Ha(u.h,u.s,u.l,u.opacity);if(u instanceof Nr||(u=Zr(u)),!u)return new Ha;if(u instanceof Ha)return u;var f=(u=u.rgb()).r/255,r=u.g/255,p=u.b/255,x=Math.min(f,r,p),D=Math.max(f,r,p),I=NaN,V=D-x,me=(D+x)/2;return V?(I=f===D?(r-p)/V+6*(r0&&me<1?0:I,new Ha(I,V,me,u.opacity)}function Ha(u,f,r,p){this.h=+u,this.s=+f,this.l=+r,this.opacity=+p}function zo(u,f,r){return 255*(u<60?f+(r-f)*u/60:u<180?r:u<240?f+(r-f)*(240-u)/60:f)}function Jr(u,f,r,p,x){var D=u*u,I=D*u;return((1-3*u+3*D-I)*f+(4-6*D+3*I)*r+(1+3*u+3*D-3*I)*p+I*x)/6}Bo(Nr,Zr,{copy:function(u){return Object.assign(new this.constructor,this,u)},displayable:function(){return this.rgb().displayable()},hex:Ur,formatHex:Ur,formatHsl:function Ws(){return Js(this).formatHsl()},formatRgb:qs,toString:qs}),Bo(Xa,Tr,Ka(Nr,{brighter:function(u){return u=null==u?Ya:Math.pow(Ya,u),new Xa(this.r*u,this.g*u,this.b*u,this.opacity)},darker:function(u){return u=null==u?.7:Math.pow(.7,u),new Xa(this.r*u,this.g*u,this.b*u,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Uo,formatHex:Uo,formatRgb:ss,toString:ss})),Bo(Ha,function Mr(u,f,r,p){return 1===arguments.length?Js(u):new Ha(u,f,r,null==p?1:p)},Ka(Nr,{brighter:function(u){return u=null==u?Ya:Math.pow(Ya,u),new Ha(this.h,this.s,this.l*u,this.opacity)},darker:function(u){return u=null==u?.7:Math.pow(.7,u),new Ha(this.h,this.s,this.l*u,this.opacity)},rgb:function(){var u=this.h%360+360*(this.h<0),f=isNaN(u)||isNaN(this.s)?0:this.s,r=this.l,p=r+(r<.5?r:1-r)*f,x=2*r-p;return new Xa(zo(u>=240?u-240:u+120,x,p),zo(u,x,p),zo(u<120?u+240:u-120,x,p),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var u=this.opacity;return(1===(u=isNaN(u)?1:Math.max(0,Math.min(1,u)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===u?")":", "+u+")")}}));const La=u=>()=>u;function na(u,f){var r=f-u;return r?function Pa(u,f){return function(r){return u+r*f}}(u,r):La(isNaN(u)?f:u)}const Hn=function u(f){var r=function Qo(u){return 1==(u=+u)?na:function(f,r){return r-f?function dr(u,f,r){return u=Math.pow(u,r),f=Math.pow(f,r)-u,r=1/r,function(p){return Math.pow(u+p*f,r)}}(f,r,u):La(isNaN(f)?r:f)}}(f);function p(x,D){var I=r((x=Tr(x)).r,(D=Tr(D)).r),V=r(x.g,D.g),me=r(x.b,D.b),fe=na(x.opacity,D.opacity);return function(Ue){return x.r=I(Ue),x.g=V(Ue),x.b=me(Ue),x.opacity=fe(Ue),x+""}}return p.gamma=u,p}(1);function $r(u){return function(f){var I,V,r=f.length,p=new Array(r),x=new Array(r),D=new Array(r);for(I=0;I=1?(r=1,f-1):Math.floor(r*f),x=u[p],D=u[p+1];return Jr((r-p/f)*f,p>0?u[p-1]:2*x-D,x,D,pr&&(D=f.slice(r,D),V[I]?V[I]+=D:V[++I]=D),(p=p[0])===(x=x[0])?V[I]?V[I]+=x:V[++I]=x:(V[++I]=null,me.push({i:I,x:fa(p,x)})),r=Oa.lastIndex;return r=0&&u._call.call(null,f),u=u._next;--_r}()}finally{_r=0,function mo(){for(var u,r,f=wr,p=1/0;f;)f._call?(p>f._time&&(p=f._time),u=f,f=f._next):(r=f._next,f._next=null,f=u?u._next=r:wr=r);Qt=u,Vn(p)}(),er=0}}function Sr(){var u=Ma.now(),f=u-Tn;f>1e3&&(pr-=f,Tn=u)}function Vn(u){_r||(Er&&(Er=clearTimeout(Er)),u-er>24?(u<1/0&&(Er=setTimeout(Ea,u-Ma.now()-pr)),Eo&&(Eo=clearInterval(Eo))):(Eo||(Tn=Ma.now(),Eo=setInterval(Sr,1e3)),_r=1,te(Ea)))}function Ar(u,f,r){var p=new Ce;return p.restart(x=>{p.stop(),u(x+f)},f=null==f?0:+f,r),p}Ce.prototype=Bt.prototype={constructor:Ce,restart:function(u,f,r){if("function"!=typeof u)throw new TypeError("callback is not a function");r=(null==r?q():+r)+(null==f?0:+f),!this._next&&Qt!==this&&(Qt?Qt._next=this:wr=this,Qt=this),this._call=u,this._time=r,Vn()},stop:function(){this._call&&(this._call=null,this._time=1/0,Vn())}};var Bl=sr("start","end","cancel","interrupt"),zn=[];function zs(u,f,r,p,x,D){var I=u.__transition;if(I){if(r in I)return}else u.__transition={};!function hr(u,f,r){var x,p=u.__transition;function I(fe){var Ue,dt,ft,wt;if(1!==r.state)return me();for(Ue in p)if((wt=p[Ue]).name===r.name){if(3===wt.state)return Ar(I);4===wt.state?(wt.state=6,wt.timer.stop(),wt.on.call("interrupt",u,u.__data__,wt.index,wt.group),delete p[Ue]):+Ue0)throw new Error("too late; already scheduled");return r}function io(u,f){var r=no(u,f);if(r.state>3)throw new Error("too late; already running");return r}function no(u,f){var r=u.__transition;if(!r||!(r=r[f]))throw new Error("transition not found");return r}function Qs(u,f){var p,x,I,r=u.__transition,D=!0;if(r){for(I in f=null==f?null:f+"",r)(p=r[I]).name===f?(x=p.state>2&&p.state<5,p.state=6,p.timer.stop(),p.on.call(x?"interrupt":"cancel",u,u.__data__,p.index,p.group),delete r[I]):D=!1;D&&delete u.__transition}}var W,Ss=180/Math.PI,K={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function se(u,f,r,p,x,D){var I,V,me;return(I=Math.sqrt(u*u+f*f))&&(u/=I,f/=I),(me=u*r+f*p)&&(r-=u*me,p-=f*me),(V=Math.sqrt(r*r+p*p))&&(r/=V,p/=V,me/=V),u*p180?Ue+=360:Ue-fe>180&&(fe+=360),ft.push({i:dt.push(x(dt)+"rotate(",null,p)-2,x:fa(fe,Ue)})):Ue&&dt.push(x(dt)+"rotate("+Ue+p)}(fe.rotate,Ue.rotate,dt,ft),function V(fe,Ue,dt,ft){fe!==Ue?ft.push({i:dt.push(x(dt)+"skewX(",null,p)-2,x:fa(fe,Ue)}):Ue&&dt.push(x(dt)+"skewX("+Ue+p)}(fe.skewX,Ue.skewX,dt,ft),function me(fe,Ue,dt,ft,wt,oi){if(fe!==dt||Ue!==ft){var Mi=wt.push(x(wt)+"scale(",null,",",null,")");oi.push({i:Mi-4,x:fa(fe,dt)},{i:Mi-2,x:fa(Ue,ft)})}else(1!==dt||1!==ft)&&wt.push(x(wt)+"scale("+dt+","+ft+")")}(fe.scaleX,fe.scaleY,Ue.scaleX,Ue.scaleY,dt,ft),fe=Ue=null,function(wt){for(var St,oi=-1,Mi=ft.length;++oi>8&15|f>>4&240,f>>4&15|240&f,(15&f)<<4|15&f,1):8===r?_c(f>>24&255,f>>16&255,f>>8&255,(255&f)/255):4===r?_c(f>>12&15|f>>8&240,f>>8&15|f>>4&240,f>>4&15|240&f,((15&f)<<4|15&f)/255):null):(f=dc.exec(u))?new wo(f[1],f[2],f[3],1):(f=Sd.exec(u))?new wo(255*f[1]/100,255*f[2]/100,255*f[3]/100,1):(f=Yl.exec(u))?_c(f[1],f[2],f[3],f[4]):(f=Yc.exec(u))?_c(255*f[1]/100,255*f[2]/100,255*f[3]/100,f[4]):(f=Ad.exec(u))?Gc(f[1],f[2]/100,f[3]/100,1):(f=pu.exec(u))?Gc(f[1],f[2]/100,f[3]/100,f[4]):hu.hasOwnProperty(u)?uc(hu[u]):"transparent"===u?new wo(NaN,NaN,NaN,0):null}function uc(u){return new wo(u>>16&255,u>>8&255,255&u,1)}function _c(u,f,r,p){return p<=0&&(u=f=r=NaN),new wo(u,f,r,p)}function gu(u){return u instanceof Qn||(u=Hl(u)),u?new wo((u=u.rgb()).r,u.g,u.b,u.opacity):new wo}function wo(u,f,r,p){this.r=+u,this.g=+f,this.b=+r,this.opacity=+p}function Xs(){return"#"+Cl(this.r)+Cl(this.g)+Cl(this.b)}function pc(){var u=this.opacity;return(1===(u=isNaN(u)?1:Math.max(0,Math.min(1,u)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===u?")":", "+u+")")}function Cl(u){return((u=Math.max(0,Math.min(255,Math.round(u)||0)))<16?"0":"")+u.toString(16)}function Gc(u,f,r,p){return p<=0?u=f=r=NaN:r<=0||r>=1?u=f=NaN:f<=0&&(u=NaN),new $e(u,f,r,p)}function Kc(u){if(u instanceof $e)return new $e(u.h,u.s,u.l,u.opacity);if(u instanceof Qn||(u=Hl(u)),!u)return new $e;if(u instanceof $e)return u;var f=(u=u.rgb()).r/255,r=u.g/255,p=u.b/255,x=Math.min(f,r,p),D=Math.max(f,r,p),I=NaN,V=D-x,me=(D+x)/2;return V?(I=f===D?(r-p)/V+6*(r0&&me<1?0:I,new $e(I,V,me,u.opacity)}function $e(u,f,r,p){this.h=+u,this.s=+f,this.l=+r,this.opacity=+p}function Mn(u,f,r){return 255*(u<60?f+(r-f)*u/60:u<180?r:u<240?f+(r-f)*(240-u)/60:f)}function Ke(u,f){var r;return("number"==typeof f?fa:f instanceof Hl?Hn:(r=Hl(f))?(f=r,Hn):Ra)(u,f)}function Di(u){return function(){this.removeAttribute(u)}}function Vl(u){return function(){this.removeAttributeNS(u.space,u.local)}}function Ri(u,f,r){var p,D,x=r+"";return function(){var I=this.getAttribute(u);return I===x?null:I===p?D:D=f(p=I,r)}}function Gl(u,f,r){var p,D,x=r+"";return function(){var I=this.getAttributeNS(u.space,u.local);return I===x?null:I===p?D:D=f(p=I,r)}}function Vr(u,f,r){var p,x,D;return function(){var I,me,V=r(this);return null==V?void this.removeAttribute(u):(I=this.getAttribute(u))===(me=V+"")?null:I===p&&me===x?D:(x=me,D=f(p=I,V))}}function Od(u,f,r){var p,x,D;return function(){var I,me,V=r(this);return null==V?void this.removeAttributeNS(u.space,u.local):(I=this.getAttributeNS(u.space,u.local))===(me=V+"")?null:I===p&&me===x?D:(x=me,D=f(p=I,V))}}function Ls(u,f){return function(r){this.setAttribute(u,f.call(this,r))}}function Kl(u,f){return function(r){this.setAttributeNS(u.space,u.local,f.call(this,r))}}function hc(u,f){var r,p;function x(){var D=f.apply(this,arguments);return D!==p&&(r=(p=D)&&Kl(u,D)),r}return x._value=f,x}function Os(u,f){var r,p;function x(){var D=f.apply(this,arguments);return D!==p&&(r=(p=D)&&Ls(u,D)),r}return x._value=f,x}function es(u,f){return function(){cs(this,u).delay=+f.apply(this,arguments)}}function kd(u,f){return f=+f,function(){cs(this,u).delay=f}}function ks(u,f){return function(){io(this,u).duration=+f.apply(this,arguments)}}function Is(u,f){return f=+f,function(){io(this,u).duration=f}}function jc(u,f){if("function"!=typeof f)throw new Error;return function(){io(this,u).ease=f}}function So(u,f,r){var p,x,D=function us(u){return(u+"").trim().split(/^|\s+/).every(function(f){var r=f.indexOf(".");return r>=0&&(f=f.slice(0,r)),!f||"start"===f})}(f)?cs:io;return function(){var I=D(this,u),V=I.on;V!==p&&(x=(p=V).copy()).on(f,r),I.on=x}}ka(Qn,Hl,{copy:function(u){return Object.assign(new this.constructor,this,u)},displayable:function(){return this.rgb().displayable()},hex:mu,formatHex:mu,formatHsl:function Hc(){return Kc(this).formatHsl()},formatRgb:Vc,toString:Vc}),ka(wo,function mr(u,f,r,p){return 1===arguments.length?gu(u):new wo(u,f,r,null==p?1:p)},Gn(Qn,{brighter:function(u){return u=null==u?ao:Math.pow(ao,u),new wo(this.r*u,this.g*u,this.b*u,this.opacity)},darker:function(u){return u=null==u?.7:Math.pow(.7,u),new wo(this.r*u,this.g*u,this.b*u,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Xs,formatHex:Xs,formatRgb:pc,toString:pc})),ka($e,function Ld(u,f,r,p){return 1===arguments.length?Kc(u):new $e(u,f,r,null==p?1:p)},Gn(Qn,{brighter:function(u){return u=null==u?ao:Math.pow(ao,u),new $e(this.h,this.s,this.l*u,this.opacity)},darker:function(u){return u=null==u?.7:Math.pow(.7,u),new $e(this.h,this.s,this.l*u,this.opacity)},rgb:function(){var u=this.h%360+360*(this.h<0),f=isNaN(u)||isNaN(this.s)?0:this.s,r=this.l,p=r+(r<.5?r:1-r)*f,x=2*r-p;return new wo(Mn(u>=240?u-240:u+120,x,p),Mn(u,x,p),Mn(u<120?u+240:u-120,x,p),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var u=this.opacity;return(1===(u=isNaN(u)?1:Math.max(0,Math.min(1,u)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===u?")":", "+u+")")}}));var ca=ga.prototype.constructor;function vu(u){return function(){this.style.removeProperty(u)}}function ps(u,f,r){return function(p){this.style.setProperty(u,f.call(this,p),r)}}function xu(u,f,r){var p,x;function D(){var I=f.apply(this,arguments);return I!==x&&(p=(x=I)&&ps(u,I,r)),p}return D._value=f,D}function A_(u){return function(f){this.textContent=u.call(this,f)}}function xl(u){var f,r;function p(){var x=u.apply(this,arguments);return x!==r&&(f=(r=x)&&A_(x)),f}return p._value=u,p}var ts=0;function Ho(u,f,r,p){this._groups=u,this._parents=f,this._name=r,this._id=p}function O(){return++ts}var P=ga.prototype;Ho.prototype=function Bd(u){return ga().transition(u)}.prototype={constructor:Ho,select:function Wc(u){var f=this._name,r=this._id;"function"!=typeof u&&(u=ee(u));for(var p=this._groups,x=p.length,D=new Array(x),I=0;I()=>u;function Ti(u,{sourceEvent:f,target:r,selection:p,mode:x,dispatch:D}){Object.defineProperties(this,{type:{value:u,enumerable:!0,configurable:!0},sourceEvent:{value:f,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},selection:{value:p,enumerable:!0,configurable:!0},mode:{value:x,enumerable:!0,configurable:!0},_:{value:D}})}function mn(u){u.stopImmediatePropagation()}function Pn(u){u.preventDefault(),u.stopImmediatePropagation()}var ro={name:"drag"},gr={name:"space"},Wa={name:"handle"},fo={name:"center"};const{abs:il,max:aa,min:da}=Math;function bl(u){return[+u[0],+u[1]]}function Xn(u){return[bl(u[0]),bl(u[1])]}var Ud={name:"x",handles:["w","e"].map(fc),input:function(u,f){return null==u?null:[[+u[0],f[0][1]],[+u[1],f[1][1]]]},output:function(u){return u&&[u[0][0],u[1][0]]}},qc={name:"y",handles:["n","s"].map(fc),input:function(u,f){return null==u?null:[[f[0][0],+u[0]],[f[1][0],+u[1]]]},output:function(u){return u&&[u[0][1],u[1][1]]}},Gr=(["n","w","e","s","nw","ne","sw","se"].map(fc),{overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"}),nl={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},L_={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},so={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},Rs={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function fc(u){return{type:u}}function bu(u){return!u.ctrlKey&&!u.button}function Fs(){var u=this.ownerSVGElement||this;return u.hasAttribute("viewBox")?[[(u=u.viewBox.baseVal).x,u.y],[u.x+u.width,u.y+u.height]]:[[0,0],[u.width.baseVal.value,u.height.baseVal.value]]}function Bp(){return navigator.maxTouchPoints||"ontouchstart"in this}function yu(u){for(;!u.__brush;)if(!(u=u.parentNode))return;return u.__brush}function Up(u){return u[0][0]===u[1][0]||u[0][1]===u[1][1]}function ms(u,f){return uf?1:u>=f?0:NaN}function is(u){let f=u,r=u;function p(I,V,me,fe){for(null==me&&(me=0),null==fe&&(fe=I.length);me>>1;r(I[Ue],V)<0?me=Ue+1:fe=Ue}return me}return 1===u.length&&(f=(I,V)=>u(I)-V,r=function Yd(u){return(f,r)=>ms(u(f),r)}(u)),{left:p,center:function D(I,V,me,fe){null==me&&(me=0),null==fe&&(fe=I.length);const Ue=p(I,V,me,fe-1);return Ue>me&&f(I[Ue-1],V)>-f(I[Ue],V)?Ue-1:Ue},right:function x(I,V,me,fe){for(null==me&&(me=0),null==fe&&(fe=I.length);me>>1;r(I[Ue],V)>0?fe=Ue:me=Ue+1}return me}}}var Hd=Math.sqrt(50),Tu=Math.sqrt(10),Mu=Math.sqrt(2);function vc(u,f,r){var p=(f-u)/Math.max(0,r),x=Math.floor(Math.log(p)/Math.LN10),D=p/Math.pow(10,x);return x>=0?(D>=Hd?10:D>=Tu?5:D>=Mu?2:1)*Math.pow(10,x):-Math.pow(10,-x)/(D>=Hd?10:D>=Tu?5:D>=Mu?2:1)}function Du(u,f,r){var p=Math.abs(f-u)/Math.max(0,r),x=Math.pow(10,Math.floor(Math.log(p)/Math.LN10)),D=p/x;return D>=Hd?x*=10:D>=Tu?x*=5:D>=Mu&&(x*=2),f0))return me;do{me.push(fe=new Date(+D)),f(D,V),u(D)}while(fe=I)for(;u(I),!D(I);)I.setTime(I-1)},function(I,V){if(I>=I)if(V<0)for(;++V<=0;)for(;f(I,-1),!D(I););else for(;--V>=0;)for(;f(I,1),!D(I););})},r&&(x.count=function(D,I){return yl.setTime(+D),ol.setTime(+I),u(yl),u(ol),Math.floor(r(yl,ol))},x.every=function(D){return D=Math.floor(D),isFinite(D)&&D>0?D>1?x.filter(p?function(I){return p(I)%D==0}:function(I){return x.count(0,I)%D==0}):x:null}),x}var fn=qa(function(){},function(u,f){u.setTime(+u+f)},function(u,f){return f-u});fn.every=function(u){return u=Math.floor(u),isFinite(u)&&u>0?u>1?qa(function(f){f.setTime(Math.floor(f/u)*u)},function(f,r){f.setTime(+f+r*u)},function(f,r){return(r-f)/u}):fn:null};const T=fn;const re=qa(function(u){u.setTime(u-u.getMilliseconds())},function(u,f){u.setTime(+u+f*Vo)},function(u,f){return(f-u)/Vo},function(u){return u.getUTCSeconds()});const Kt=qa(function(u){u.setTime(u-u.getMilliseconds()-u.getSeconds()*Vo)},function(u,f){u.setTime(+u+f*lo)},function(u,f){return(f-u)/lo},function(u){return u.getMinutes()});const Ca=qa(function(u){u.setTime(u-u.getMilliseconds()-u.getSeconds()*Vo-u.getMinutes()*lo)},function(u,f){u.setTime(+u+f*al)},function(u,f){return(f-u)/al},function(u){return u.getHours()});const Ns=qa(u=>u.setHours(0,0,0,0),(u,f)=>u.setDate(u.getDate()+f),(u,f)=>(f-u-(f.getTimezoneOffset()-u.getTimezoneOffset())*lo)/xc,u=>u.getDate()-1);function zc(u){return qa(function(f){f.setDate(f.getDate()-(f.getDay()+7-u)%7),f.setHours(0,0,0,0)},function(f,r){f.setDate(f.getDate()+7*r)},function(f,r){return(r-f-(r.getTimezoneOffset()-f.getTimezoneOffset())*lo)/$c})}var wu=zc(0),Vd=zc(1),Va=(zc(2),zc(3),zc(4));const Gp=(zc(5),zc(6),qa(function(u){u.setDate(1),u.setHours(0,0,0,0)},function(u,f){u.setMonth(u.getMonth()+f)},function(u,f){return f.getMonth()-u.getMonth()+12*(f.getFullYear()-u.getFullYear())},function(u){return u.getMonth()}));var tr=qa(function(u){u.setMonth(0,1),u.setHours(0,0,0,0)},function(u,f){u.setFullYear(u.getFullYear()+f)},function(u,f){return f.getFullYear()-u.getFullYear()},function(u){return u.getFullYear()});tr.every=function(u){return isFinite(u=Math.floor(u))&&u>0?qa(function(f){f.setFullYear(Math.floor(f.getFullYear()/u)*u),f.setMonth(0,1),f.setHours(0,0,0,0)},function(f,r){f.setFullYear(f.getFullYear()+r*u)}):null};const sl=tr;const fr=qa(function(u){u.setUTCSeconds(0,0)},function(u,f){u.setTime(+u+f*lo)},function(u,f){return(f-u)/lo},function(u){return u.getUTCMinutes()});const Pf=qa(function(u){u.setUTCMinutes(0,0,0)},function(u,f){u.setTime(+u+f*al)},function(u,f){return(f-u)/al},function(u){return u.getUTCHours()});const Em=qa(function(u){u.setUTCHours(0,0,0,0)},function(u,f){u.setUTCDate(u.getUTCDate()+f)},function(u,f){return(f-u)/xc},function(u){return u.getUTCDate()-1});function bc(u){return qa(function(f){f.setUTCDate(f.getUTCDate()-(f.getUTCDay()+7-u)%7),f.setUTCHours(0,0,0,0)},function(f,r){f.setUTCDate(f.getUTCDate()+7*r)},function(f,r){return(r-f)/$c})}var P_=bc(0),Go=bc(1),gs=(bc(2),bc(3),bc(4));const Gd=(bc(5),bc(6),qa(function(u){u.setUTCDate(1),u.setUTCHours(0,0,0,0)},function(u,f){u.setUTCMonth(u.getUTCMonth()+f)},function(u,f){return f.getUTCMonth()-u.getUTCMonth()+12*(f.getUTCFullYear()-u.getUTCFullYear())},function(u){return u.getUTCMonth()}));var Us=qa(function(u){u.setUTCMonth(0,1),u.setUTCHours(0,0,0,0)},function(u,f){u.setUTCFullYear(u.getUTCFullYear()+f)},function(u,f){return f.getUTCFullYear()-u.getUTCFullYear()},function(u){return u.getUTCFullYear()});Us.every=function(u){return isFinite(u=Math.floor(u))&&u>0?qa(function(f){f.setUTCFullYear(Math.floor(f.getUTCFullYear()/u)*u),f.setUTCMonth(0,1),f.setUTCHours(0,0,0,0)},function(f,r){f.setUTCFullYear(f.getUTCFullYear()+r*u)}):null};const Qc=Us;function Kd(u,f,r,p,x,D){const I=[[re,1,Vo],[re,5,5e3],[re,15,15e3],[re,30,3e4],[D,1,lo],[D,5,5*lo],[D,15,15*lo],[D,30,30*lo],[x,1,al],[x,3,3*al],[x,6,6*al],[x,12,12*al],[p,1,xc],[p,2,2*xc],[r,1,$c],[f,1,O_],[f,3,3*O_],[u,1,Eu]];function me(fe,Ue,dt){const ft=Math.abs(Ue-fe)/dt,wt=is(([,,St])=>St).right(I,ft);if(wt===I.length)return u.every(Du(fe/Eu,Ue/Eu,dt));if(0===wt)return T.every(Math.max(Du(fe,Ue,dt),1));const[oi,Mi]=I[ft/I[wt-1][2][f.toLowerCase(),r]))}function Yf(u,f,r){var p=ir.exec(f.slice(r,r+1));return p?(u.w=+p[0],r+p[0].length):-1}function C0(u,f,r){var p=ir.exec(f.slice(r,r+1));return p?(u.u=+p[0],r+p[0].length):-1}function Au(u,f,r){var p=ir.exec(f.slice(r,r+2));return p?(u.U=+p[0],r+p[0].length):-1}function Hf(u,f,r){var p=ir.exec(f.slice(r,r+2));return p?(u.V=+p[0],r+p[0].length):-1}function Wp(u,f,r){var p=ir.exec(f.slice(r,r+2));return p?(u.W=+p[0],r+p[0].length):-1}function Z_(u,f,r){var p=ir.exec(f.slice(r,r+4));return p?(u.y=+p[0],r+p[0].length):-1}function qp(u,f,r){var p=ir.exec(f.slice(r,r+2));return p?(u.y=+p[0]+(+p[0]>68?1900:2e3),r+p[0].length):-1}function Jp(u,f,r){var p=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(f.slice(r,r+6));return p?(u.Z=p[1]?0:-(p[2]+(p[3]||"00")),r+p[0].length):-1}function Pm(u,f,r){var p=ir.exec(f.slice(r,r+1));return p?(u.q=3*p[0]-3,r+p[0].length):-1}function Y_(u,f,r){var p=ir.exec(f.slice(r,r+2));return p?(u.m=p[0]-1,r+p[0].length):-1}function Lu(u,f,r){var p=ir.exec(f.slice(r,r+2));return p?(u.d=+p[0],r+p[0].length):-1}function Ou(u,f,r){var p=ir.exec(f.slice(r,r+3));return p?(u.m=0,u.d=+p[0],r+p[0].length):-1}function td(u,f,r){var p=ir.exec(f.slice(r,r+2));return p?(u.H=+p[0],r+p[0].length):-1}function $p(u,f,r){var p=ir.exec(f.slice(r,r+2));return p?(u.M=+p[0],r+p[0].length):-1}function zp(u,f,r){var p=ir.exec(f.slice(r,r+2));return p?(u.S=+p[0],r+p[0].length):-1}function ku(u,f,r){var p=ir.exec(f.slice(r,r+3));return p?(u.L=+p[0],r+p[0].length):-1}function Rm(u,f,r){var p=ir.exec(f.slice(r,r+6));return p?(u.L=Math.floor(p[0]/1e3),r+p[0].length):-1}function Qp(u,f,r){var p=Zf.exec(f.slice(r,r+1));return p?r+p[0].length:-1}function Fm(u,f,r){var p=ir.exec(f.slice(r));return p?(u.Q=+p[0],r+p[0].length):-1}function Nm(u,f,r){var p=ir.exec(f.slice(r));return p?(u.s=+p[0],r+p[0].length):-1}function Xp(u,f){return oa(u.getDate(),f,2)}function eh(u,f){return oa(u.getHours(),f,2)}function Iu(u,f){return oa(u.getHours()%12||12,f,2)}function H_(u,f){return oa(1+Ns.count(sl(u),u),f,3)}function yc(u,f){return oa(u.getMilliseconds(),f,3)}function Vf(u,f){return yc(u,f)+"000"}function Bm(u,f){return oa(u.getMonth()+1,f,2)}function v0(u,f){return oa(u.getMinutes(),f,2)}function Dl(u,f){return oa(u.getSeconds(),f,2)}function Pu(u){var f=u.getDay();return 0===f?7:f}function Gf(u,f){return oa(wu.count(sl(u)-1,u),f,2)}function th(u){var f=u.getDay();return f>=4||0===f?Va(u):Va.ceil(u)}function V_(u,f){return u=th(u),oa(Va.count(sl(u),u)+(4===sl(u).getDay()),f,2)}function ih(u){return u.getDay()}function G_(u,f){return oa(Vd.count(sl(u)-1,u),f,2)}function id(u,f){return oa(u.getFullYear()%100,f,2)}function Um(u,f){return oa((u=th(u)).getFullYear()%100,f,2)}function Zs(u,f){return oa(u.getFullYear()%1e4,f,4)}function qd(u,f){var r=u.getDay();return oa((u=r>=4||0===r?Va(u):Va.ceil(u)).getFullYear()%1e4,f,4)}function K_(u){var f=u.getTimezoneOffset();return(f>0?"-":(f*=-1,"+"))+oa(f/60|0,"0",2)+oa(f%60,"0",2)}function Zm(u,f){return oa(u.getUTCDate(),f,2)}function Kf(u,f){return oa(u.getUTCHours(),f,2)}function ql(u,f){return oa(u.getUTCHours()%12||12,f,2)}function ll(u,f){return oa(1+Em.count(Qc(u),u),f,3)}function Jl(u,f){return oa(u.getUTCMilliseconds(),f,3)}function Ym(u,f){return Jl(u,f)+"000"}function nh(u,f){return oa(u.getUTCMonth()+1,f,2)}function Hm(u,f){return oa(u.getUTCMinutes(),f,2)}function ah(u,f){return oa(u.getUTCSeconds(),f,2)}function Vm(u){var f=u.getUTCDay();return 0===f?7:f}function x0(u,f){return oa(P_.count(Qc(u)-1,u),f,2)}function Ru(u){var f=u.getUTCDay();return f>=4||0===f?gs(u):gs.ceil(u)}function jf(u,f){return u=Ru(u),oa(gs.count(Qc(u),u)+(4===Qc(u).getUTCDay()),f,2)}function Wf(u){return u.getUTCDay()}function Fu(u,f){return oa(Go.count(Qc(u)-1,u),f,2)}function qf(u,f){return oa(u.getUTCFullYear()%100,f,2)}function j_(u,f){return oa((u=Ru(u)).getUTCFullYear()%100,f,2)}function fs(u,f){return oa(u.getUTCFullYear()%1e4,f,4)}function Tc(u,f){var r=u.getUTCDay();return oa((u=r>=4||0===r?gs(u):gs.ceil(u)).getUTCFullYear()%1e4,f,4)}function El(){return"+0000"}function Nu(){return"%"}function Bu(u){return+u}function oh(u){return Math.floor(+u/1e3)}function jm(u){return null===u?NaN:+u}!function z1(u){Mc=function km(u){var f=u.dateTime,r=u.date,p=u.time,x=u.periods,D=u.days,I=u.shortDays,V=u.months,me=u.shortMonths,fe=jd(x),Ue=Wd(x),dt=jd(D),ft=Wd(D),wt=jd(I),oi=Wd(I),Mi=jd(V),St=Wd(V),yi=jd(me),bi=Wd(me),vi={a:function qn(Fi){return I[Fi.getDay()]},A:function Po(Fi){return D[Fi.getDay()]},b:function ia(Fi){return me[Fi.getMonth()]},B:function Ga(Fi){return V[Fi.getMonth()]},c:null,d:Xp,e:Xp,f:Vf,g:Um,G:qd,H:eh,I:Iu,j:H_,L:yc,m:Bm,M:v0,p:function Na(Fi){return x[+(Fi.getHours()>=12)]},q:function Za(Fi){return 1+~~(Fi.getMonth()/3)},Q:Bu,s:oh,S:Dl,u:Pu,U:Gf,V:V_,w:ih,W:G_,x:null,X:null,y:id,Y:Zs,Z:K_,"%":Nu},Zi={a:function kl(Fi){return I[Fi.getUTCDay()]},A:function Pr(Fi){return D[Fi.getUTCDay()]},b:function Il(Fi){return me[Fi.getUTCMonth()]},B:function os(Fi){return V[Fi.getUTCMonth()]},c:null,d:Zm,e:Zm,f:Ym,g:j_,G:Tc,H:Kf,I:ql,j:ll,L:Jl,m:nh,M:Hm,p:function Ro(Fi){return x[+(Fi.getUTCHours()>=12)]},q:function ac(Fi){return 1+~~(Fi.getUTCMonth()/3)},Q:Bu,s:oh,S:ah,u:Vm,U:x0,V:jf,w:Wf,W:Fu,x:null,X:null,y:qf,Y:fs,Z:El,"%":Nu},Ki={a:function ea(Fi,En,Jn){var mi=wt.exec(En.slice(Jn));return mi?(Fi.w=oi.get(mi[0].toLowerCase()),Jn+mi[0].length):-1},A:function ji(Fi,En,Jn){var mi=dt.exec(En.slice(Jn));return mi?(Fi.w=ft.get(mi[0].toLowerCase()),Jn+mi[0].length):-1},b:function qi(Fi,En,Jn){var mi=yi.exec(En.slice(Jn));return mi?(Fi.m=bi.get(mi[0].toLowerCase()),Jn+mi[0].length):-1},B:function Yi(Fi,En,Jn){var mi=Mi.exec(En.slice(Jn));return mi?(Fi.m=St.get(mi[0].toLowerCase()),Jn+mi[0].length):-1},c:function ta(Fi,En,Jn){return jn(Fi,f,En,Jn)},d:Lu,e:Lu,f:Rm,g:qp,G:Z_,H:td,I:td,j:Ou,L:ku,m:Y_,M:$p,p:function wa(Fi,En,Jn){var mi=fe.exec(En.slice(Jn));return mi?(Fi.p=Ue.get(mi[0].toLowerCase()),Jn+mi[0].length):-1},q:Pm,Q:Fm,s:Nm,S:zp,u:C0,U:Au,V:Hf,w:Yf,W:Wp,x:function bo(Fi,En,Jn){return jn(Fi,r,En,Jn)},X:function pa(Fi,En,Jn){return jn(Fi,p,En,Jn)},y:qp,Y:Z_,Z:Jp,"%":Qp};function Ei(Fi,En){return function(Jn){var Rr,wn,po,mi=[],_o=-1,Da=0,Wr=Fi.length;for(Jn instanceof Date||(Jn=new Date(+Jn));++_o53)return null;"w"in mi||(mi.w=1),"Z"in mi?(Wr=(Da=B_(Xc(mi.y,0,1))).getUTCDay(),Da=Wr>4||0===Wr?Go.ceil(Da):Go(Da),Da=Em.offset(Da,7*(mi.V-1)),mi.y=Da.getUTCFullYear(),mi.m=Da.getUTCMonth(),mi.d=Da.getUTCDate()+(mi.w+6)%7):(Wr=(Da=jp(Xc(mi.y,0,1))).getDay(),Da=Wr>4||0===Wr?Vd.ceil(Da):Vd(Da),Da=Ns.offset(Da,7*(mi.V-1)),mi.y=Da.getFullYear(),mi.m=Da.getMonth(),mi.d=Da.getDate()+(mi.w+6)%7)}else("W"in mi||"U"in mi)&&("w"in mi||(mi.w="u"in mi?mi.u%7:"W"in mi?1:0),Wr="Z"in mi?B_(Xc(mi.y,0,1)).getUTCDay():jp(Xc(mi.y,0,1)).getDay(),mi.m=0,mi.d="W"in mi?(mi.w+6)%7+7*mi.W-(Wr+5)%7:mi.w+7*mi.U-(Wr+6)%7);return"Z"in mi?(mi.H+=mi.Z/100|0,mi.M+=mi.Z%100,B_(mi)):jp(mi)}}function jn(Fi,En,Jn,mi){for(var Rr,wn,_o=0,Da=En.length,Wr=Jn.length;_o=Wr)return-1;if(37===(Rr=En.charCodeAt(_o++))){if(Rr=En.charAt(_o++),!(wn=Ki[Rr in U_?En.charAt(_o++):Rr])||(mi=wn(Fi,Jn,mi))<0)return-1}else if(Rr!=Jn.charCodeAt(mi++))return-1}return mi}return vi.x=Ei(r,vi),vi.X=Ei(p,vi),vi.c=Ei(f,vi),Zi.x=Ei(r,Zi),Zi.X=Ei(p,Zi),Zi.c=Ei(f,Zi),{format:function(Fi){var En=Ei(Fi+="",vi);return En.toString=function(){return Fi},En},parse:function(Fi){var En=_a(Fi+="",!1);return En.toString=function(){return Fi},En},utcFormat:function(Fi){var En=Ei(Fi+="",Zi);return En.toString=function(){return Fi},En},utcParse:function(Fi){var En=_a(Fi+="",!0);return En.toString=function(){return Fi},En}}}(u),Gm=Mc.format}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});const b0=is(ms).right,Uu=(is(jm),b0);function Zu(u,f){return u=+u,f=+f,function(r){return Math.round(u*(1-r)+f*r)}}function W_(u){return+u}var Ua=[0,1];function $d(u){return u}function Wm(u,f){return(f-=u=+u)?function(r){return(r-u)/f}:function Jd(u){return function(){return u}}(isNaN(f)?NaN:.5)}function Yu(u,f,r){var p=u[0],x=u[1],D=f[0],I=f[1];return xf&&(r=u,u=f,f=r),function(p){return Math.max(u,Math.min(f,p))}}(u[0],u[ft-1])),V=ft>2?qm:Yu,me=fe=null,dt}function dt(ft){return null==ft||isNaN(ft=+ft)?D:(me||(me=V(u.map(p),f,r)))(p(I(ft)))}return dt.invert=function(ft){return I(x((fe||(fe=V(f,u.map(p),fa)))(ft)))},dt.domain=function(ft){return arguments.length?(u=Array.from(ft,W_),Ue()):u.slice()},dt.range=function(ft){return arguments.length?(f=Array.from(ft),Ue()):f.slice()},dt.rangeRound=function(ft){return f=Array.from(ft),r=Zu,Ue()},dt.clamp=function(ft){return arguments.length?(I=!!ft||$d,Ue()):I!==$d},dt.interpolate=function(ft){return arguments.length?(r=ft,Ue()):r},dt.unknown=function(ft){return arguments.length?(D=ft,dt):D},function(ft,wt){return p=ft,x=wt,Ue()}}()($d,$d)}function Hu(u,f){switch(arguments.length){case 0:break;case 1:this.range(u);break;default:this.range(f).domain(u)}return this}function Vu(u){return new Date(u)}function nr(u){return u instanceof Date?+u:+new Date(+u)}function Ko(u,f,r,p,x,D,I,V,me,fe){var Ue=Jm(),dt=Ue.invert,ft=Ue.domain,wt=fe(".%L"),oi=fe(":%S"),Mi=fe("%I:%M"),St=fe("%I %p"),yi=fe("%a %d"),bi=fe("%b %d"),vi=fe("%B"),Zi=fe("%Y");function Ki(Ei){return(me(Ei)=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Ao(u){if(!(f=$m.exec(u)))throw new Error("invalid format: "+u);var f;return new Lo({fill:f[1],align:f[2],sign:f[3],symbol:f[4],zero:f[5],width:f[6],comma:f[7],precision:f[8]&&f[8].slice(1),trim:f[9],type:f[10]})}function Lo(u){this.fill=void 0===u.fill?" ":u.fill+"",this.align=void 0===u.align?">":u.align+"",this.sign=void 0===u.sign?"-":u.sign+"",this.symbol=void 0===u.symbol?"":u.symbol+"",this.zero=!!u.zero,this.width=void 0===u.width?void 0:+u.width,this.comma=!!u.comma,this.precision=void 0===u.precision?void 0:+u.precision,this.trim=!!u.trim,this.type=void 0===u.type?"":u.type+""}function co(u,f){if((r=(u=f?u.toExponential(f-1):u.toExponential()).indexOf("e"))<0)return null;var r,p=u.slice(0,r);return[p.length>1?p[0]+p.slice(2):p,+u.slice(r+1)]}function Oo(u){return(u=co(Math.abs(u)))?u[1]:NaN}function q_(u,f){var r=co(u,f);if(!r)return u+"";var p=r[0],x=r[1];return x<0?"0."+new Array(-x).join("0")+p:p.length>x+1?p.slice(0,x+1)+"."+p.slice(x+1):p+new Array(x-p.length+2).join("0")}Ao.prototype=Lo.prototype,Lo.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const J_={"%":(u,f)=>(100*u).toFixed(f),b:u=>Math.round(u).toString(2),c:u=>u+"",d:function zm(u){return Math.abs(u=Math.round(u))>=1e21?u.toLocaleString("en").replace(/,/g,""):u.toString(10)},e:(u,f)=>u.toExponential(f),f:(u,f)=>u.toFixed(f),g:(u,f)=>u.toPrecision(f),o:u=>Math.round(u).toString(8),p:(u,f)=>q_(100*u,f),r:q_,s:function Xf(u,f){var r=co(u,f);if(!r)return u+"";var p=r[0],x=r[1],D=x-(Ja=3*Math.max(-8,Math.min(8,Math.floor(x/3))))+1,I=p.length;return D===I?p:D>I?p+new Array(D-I+1).join("0"):D>0?p.slice(0,D)+"."+p.slice(D):"0."+new Array(1-D).join("0")+co(u,Math.max(0,f+D-1))[0]},X:u=>Math.round(u).toString(16).toUpperCase(),x:u=>Math.round(u).toString(16)};function lh(u){return u}var va,Q_,eC,$_=Array.prototype.map,z_=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function Xm(u){var f=u.domain;return u.ticks=function(r){var p=f();return function Cc(u,f,r){var p,D,I,V,x=-1;if(r=+r,(u=+u)==(f=+f)&&r>0)return[u];if((p=f0){let me=Math.round(u/V),fe=Math.round(f/V);for(me*Vf&&--fe,I=new Array(D=fe-me+1);++xf&&--fe,I=new Array(D=fe-me+1);++x0;){if((fe=vc(I,V,r))===me)return p[x]=I,p[D]=V,f(p);if(fe>0)I=Math.floor(I/fe)*fe,V=Math.ceil(V/fe)*fe;else{if(!(fe<0))break;I=Math.ceil(I*fe)/fe,V=Math.floor(V*fe)/fe}me=fe}return u},u}function Dc(){var u=Jm();return u.copy=function(){return $f(u,Dc())},Hu.apply(u,arguments),Xm(u)}function ch(u,f,r){u=+u,f=+f,r=(x=arguments.length)<2?(f=u,u=0,1):x<3?1:+r;for(var p=-1,x=0|Math.max(0,Math.ceil((f-u)/r)),D=new Array(x);++p0&&V>0&&(me+V+1>p&&(V=Math.max(1,p-me)),D.push(r.substring(x-=V,x+V)),!((me+=V+1)>p));)V=u[I=(I+1)%u.length];return D.reverse().join(f)}}($_.call(u.grouping,Number),u.thousands+""),r=void 0===u.currency?"":u.currency[0]+"",p=void 0===u.currency?"":u.currency[1]+"",x=void 0===u.decimal?".":u.decimal+"",D=void 0===u.numerals?lh:function Cr(u){return function(f){return f.replace(/[0-9]/g,function(r){return u[+r]})}}($_.call(u.numerals,String)),I=void 0===u.percent?"%":u.percent+"",V=void 0===u.minus?"\u2212":u.minus+"",me=void 0===u.nan?"NaN":u.nan+"";function fe(dt){var ft=(dt=Ao(dt)).fill,wt=dt.align,oi=dt.sign,Mi=dt.symbol,St=dt.zero,yi=dt.width,bi=dt.comma,vi=dt.precision,Zi=dt.trim,Ki=dt.type;"n"===Ki?(bi=!0,Ki="g"):J_[Ki]||(void 0===vi&&(vi=12),Zi=!0,Ki="g"),(St||"0"===ft&&"="===wt)&&(St=!0,ft="0",wt="=");var Ei="$"===Mi?r:"#"===Mi&&/[boxX]/.test(Ki)?"0"+Ki.toLowerCase():"",_a="$"===Mi?p:/[%p]/.test(Ki)?I:"",jn=J_[Ki],wa=/[defgprs%]/.test(Ki);function ea(ji){var ta,bo,pa,qi=Ei,Yi=_a;if("c"===Ki)Yi=jn(ji)+Yi,ji="";else{var qn=(ji=+ji)<0||1/ji<0;if(ji=isNaN(ji)?me:jn(Math.abs(ji),vi),Zi&&(ji=function Qm(u){e:for(var x,f=u.length,r=1,p=-1;r0&&(p=0)}return p>0?u.slice(0,p)+u.slice(x+1):u}(ji)),qn&&0==+ji&&"+"!==oi&&(qn=!1),qi=(qn?"("===oi?oi:V:"-"===oi||"("===oi?"":oi)+qi,Yi=("s"===Ki?z_[8+Ja/3]:"")+Yi+(qn&&"("===oi?")":""),wa)for(ta=-1,bo=ji.length;++ta(pa=ji.charCodeAt(ta))||pa>57){Yi=(46===pa?x+ji.slice(ta+1):ji.slice(ta))+Yi,ji=ji.slice(0,ta);break}}bi&&!St&&(ji=f(ji,1/0));var Po=qi.length+ji.length+Yi.length,ia=Po>1)+qi+ji+Yi+ia.slice(Po);break;default:ji=ia+qi+ji+Yi}return D(ji)}return vi=void 0===vi?6:/[gprs]/.test(Ki)?Math.max(1,Math.min(21,vi)):Math.max(0,Math.min(20,vi)),ea.toString=function(){return dt+""},ea}return{format:fe,formatPrefix:function Ue(dt,ft){var wt=fe(((dt=Ao(dt)).type="f",dt)),oi=3*Math.max(-8,Math.min(8,Math.floor(Oo(ft)/3))),Mi=Math.pow(10,-oi),St=z_[8+oi/3];return function(yi){return wt(Mi*yi)+St}}}}(u),Q_=va.format,eC=va.formatPrefix}({thousands:",",grouping:[3],currency:["$",""]});const dh=Symbol("implicit");function Xd(){var u=new Map,f=[],r=[],p=dh;function x(D){var I=D+"",V=u.get(I);if(!V){if(p!==dh)return p;u.set(I,V=f.push(D))}return r[(V-1)%r.length]}return x.domain=function(D){if(!arguments.length)return f.slice();f=[],u=new Map;for(const I of D){const V=I+"";u.has(V)||u.set(V,f.push(I))}return x},x.range=function(D){return arguments.length?(r=Array.from(D),x):r.slice()},x.unknown=function(D){return arguments.length?(p=D,x):p},x.copy=function(){return Xd(f,r).unknown(p)},Hu.apply(x,arguments),x}function cl(){var D,I,u=Xd().unknown(void 0),f=u.domain,r=u.range,p=0,x=1,V=!1,me=0,fe=0,Ue=.5;function dt(){var ft=f().length,wt=x=1)return+r(u[p-1],p-1,u);var p,x=(p-1)*f,D=Math.floor(x),I=+r(u[D],D,u);return I+(+r(u[D+1],D+1,u)-I)*(x-D)}}function Ku(){var p,u=[],f=[],r=[];function x(){var I=0,V=Math.max(1,f.length);for(r=new Array(V-1);++I0?r[V-1]:u[0],VWo)if(Math.abs(Ue*V-me*fe)>Wo&&x){var ft=r-D,wt=p-I,oi=V*V+me*me,Mi=ft*ft+wt*wt,St=Math.sqrt(oi),yi=Math.sqrt(dt),bi=x*Math.tan((tg-Math.acos((oi+dt-Mi)/(2*St*yi)))/2),vi=bi/yi,Zi=bi/St;Math.abs(vi-1)>Wo&&(this._+="L"+(u+vi*fe)+","+(f+vi*Ue)),this._+="A"+x+","+x+",0,0,"+ +(Ue*ft>fe*wt)+","+(this._x1=u+Zi*V)+","+(this._y1=f+Zi*me)}else this._+="L"+(this._x1=u)+","+(this._y1=f)},arc:function(u,f,r,p,x,D){u=+u,f=+f,D=!!D;var I=(r=+r)*Math.cos(p),V=r*Math.sin(p),me=u+I,fe=f+V,Ue=1^D,dt=D?p-x:x-p;if(r<0)throw new Error("negative radius: "+r);null===this._x1?this._+="M"+me+","+fe:(Math.abs(this._x1-me)>Wo||Math.abs(this._y1-fe)>Wo)&&(this._+="L"+me+","+fe),r&&(dt<0&&(dt=dt%nd+nd),dt>wl?this._+="A"+r+","+r+",0,1,"+Ue+","+(u-I)+","+(f-V)+"A"+r+","+r+",0,1,"+Ue+","+(this._x1=me)+","+(this._y1=fe):dt>Wo&&(this._+="A"+r+","+r+",0,"+ +(dt>=tg)+","+Ue+","+(this._x1=u+r*Math.cos(x))+","+(this._y1=f+r*Math.sin(x))))},rect:function(u,f,r,p){this._+="M"+(this._x0=this._x1=+u)+","+(this._y0=this._y1=+f)+"h"+ +r+"v"+ +p+"h"+-r+"Z"},toString:function(){return this._}};const ju=uh;function Wu(u){return"object"==typeof u&&"length"in u?u:Array.from(u)}function Kn(u){return function(){return u}}function iC(u){this._context=u}function qu(u){return new iC(u)}function X_(u){return u[0]}function ep(u){return u[1]}function tu(u,f){var r=Kn(!0),p=null,x=qu,D=null;function I(V){var me,Ue,ft,fe=(V=Wu(V)).length,dt=!1;for(null==p&&(D=x(ft=ju())),me=0;me<=fe;++me)!(me=ft;--wt)V.point(bi[wt],vi[wt]);V.lineEnd(),V.areaEnd()}St&&(bi[dt]=+u(Mi,dt,Ue),vi[dt]=+f(Mi,dt,Ue),V.point(p?+p(Mi,dt,Ue):bi[dt],r?+r(Mi,dt,Ue):vi[dt]))}if(yi)return V=null,yi+""||null}function fe(){return tu().defined(x).curve(I).context(D)}return u="function"==typeof u?u:void 0===u?X_:Kn(+u),f="function"==typeof f?f:Kn(void 0===f?0:+f),r="function"==typeof r?r:void 0===r?ep:Kn(+r),me.x=function(Ue){return arguments.length?(u="function"==typeof Ue?Ue:Kn(+Ue),p=null,me):u},me.x0=function(Ue){return arguments.length?(u="function"==typeof Ue?Ue:Kn(+Ue),me):u},me.x1=function(Ue){return arguments.length?(p=null==Ue?null:"function"==typeof Ue?Ue:Kn(+Ue),me):p},me.y=function(Ue){return arguments.length?(f="function"==typeof Ue?Ue:Kn(+Ue),r=null,me):f},me.y0=function(Ue){return arguments.length?(f="function"==typeof Ue?Ue:Kn(+Ue),me):f},me.y1=function(Ue){return arguments.length?(r=null==Ue?null:"function"==typeof Ue?Ue:Kn(+Ue),me):r},me.lineX0=me.lineY0=function(){return fe().x(u).y(f)},me.lineY1=function(){return fe().x(u).y(r)},me.lineX1=function(){return fe().x(p).y(f)},me.defined=function(Ue){return arguments.length?(x="function"==typeof Ue?Ue:Kn(!!Ue),me):x},me.curve=function(Ue){return arguments.length?(I=Ue,null!=D&&(V=I(D)),me):I},me.context=function(Ue){return arguments.length?(null==Ue?D=V=null:V=I(D=Ue),me):D},me}iC.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(u,f){switch(u=+u,f=+f,this._point){case 0:this._point=1,this._line?this._context.lineTo(u,f):this._context.moveTo(u,f);break;case 1:this._point=2;default:this._context.lineTo(u,f)}}};var _h=Math.abs,or=Math.atan2,$l=Math.cos,ph=Math.max,hh=Math.min,dl=Math.sin,ad=Math.sqrt,ko=1e-12,Ys=Math.PI,Ju=Ys/2,$a=2*Ys;function od(u){return u>1?0:u<-1?Ys:Math.acos(u)}function $t(u){return u>=1?Ju:u<=-1?-Ju:Math.asin(u)}function Gi(u){return u.innerRadius}function nC(u){return u.outerRadius}function tp(u){return u.startAngle}function aC(u){return u.endAngle}function ng(u){return u&&u.padAngle}function ag(u,f,r,p,x,D,I,V){var me=r-u,fe=p-f,Ue=I-x,dt=V-D,ft=dt*me-Ue*fe;if(!(ft*ftta*ta+bo*bo&&(jn=ea,wa=ji),{cx:jn,cy:wa,x01:-Ue,y01:-dt,x11:jn*(x/Ki-1),y11:wa*(x/Ki-1)}}function Ec(){var u=Gi,f=nC,r=Kn(0),p=null,x=tp,D=aC,I=ng,V=null;function me(){var fe,Ue,dt=+u.apply(this,arguments),ft=+f.apply(this,arguments),wt=x.apply(this,arguments)-Ju,oi=D.apply(this,arguments)-Ju,Mi=_h(oi-wt),St=oi>wt;if(V||(V=fe=ju()),ftko)if(Mi>$a-ko)V.moveTo(ft*$l(wt),ft*dl(wt)),V.arc(0,0,ft,wt,oi,!St),dt>ko&&(V.moveTo(dt*$l(oi),dt*dl(oi)),V.arc(0,0,dt,oi,wt,St));else{var qi,Yi,yi=wt,bi=oi,vi=wt,Zi=oi,Ki=Mi,Ei=Mi,_a=I.apply(this,arguments)/2,jn=_a>ko&&(p?+p.apply(this,arguments):ad(dt*dt+ft*ft)),wa=hh(_h(ft-dt)/2,+r.apply(this,arguments)),ea=wa,ji=wa;if(jn>ko){var ta=$t(jn/dt*dl(_a)),bo=$t(jn/ft*dl(_a));(Ki-=2*ta)>ko?(vi+=ta*=St?1:-1,Zi-=ta):(Ki=0,vi=Zi=(wt+oi)/2),(Ei-=2*bo)>ko?(yi+=bo*=St?1:-1,bi-=bo):(Ei=0,yi=bi=(wt+oi)/2)}var pa=ft*$l(yi),qn=ft*dl(yi),Po=dt*$l(Zi),ia=dt*dl(Zi);if(wa>ko){var Pr,Ga=ft*$l(bi),Na=ft*dl(bi),Za=dt*$l(vi),kl=dt*dl(vi);if(Miko?ji>ko?(qi=rd(Za,kl,pa,qn,ft,ji,St),Yi=rd(Ga,Na,Po,ia,ft,ji,St),V.moveTo(qi.cx+qi.x01,qi.cy+qi.y01),jiko&&Ki>ko?ea>ko?(qi=rd(Po,ia,Ga,Na,dt,-ea,St),Yi=rd(pa,qn,Za,kl,dt,-ea,St),V.lineTo(qi.cx+qi.x01,qi.cy+qi.y01),eau?1:f>=u?0:NaN}function as(u){return u}function mh(){var u=as,f=og,r=null,p=Kn(0),x=Kn($a),D=Kn(0);function I(V){var me,Ue,dt,yi,Zi,fe=(V=Wu(V)).length,ft=0,wt=new Array(fe),oi=new Array(fe),Mi=+p.apply(this,arguments),St=Math.min($a,Math.max(-$a,x.apply(this,arguments)-Mi)),bi=Math.min(Math.abs(St)/fe,D.apply(this,arguments)),vi=bi*(St<0?-1:1);for(me=0;me0&&(ft+=Zi);for(null!=f?wt.sort(function(Ki,Ei){return f(oi[Ki],oi[Ei])}):null!=r&&wt.sort(function(Ki,Ei){return r(V[Ki],V[Ei])}),me=0,dt=ft?(St-fe*vi)/ft:0;me0?Zi*dt:0)+vi,padAngle:bi};return oi}return I.value=function(V){return arguments.length?(u="function"==typeof V?V:Kn(+V),I):u},I.sortValues=function(V){return arguments.length?(f=V,r=null,I):f},I.sort=function(V){return arguments.length?(r=V,f=null,I):r},I.startAngle=function(V){return arguments.length?(p="function"==typeof V?V:Kn(+V),I):p},I.endAngle=function(V){return arguments.length?(x="function"==typeof V?V:Kn(+V),I):x},I.padAngle=function(V){return arguments.length?(D="function"==typeof V?V:Kn(+V),I):D},I}var fh=C(5126);const Ch=["caretElm"];function $u(u,f){}const vh=function(u){return{model:u}};function sg(u,f){if(1&u&&(c.TgZ(0,"span"),c.YNc(1,$u,0,0,"ng-template",5),c.qZA()),2&u){const r=c.oxw();c.xp6(1),c.Q6J("ngTemplateOutlet",r.template)("ngTemplateOutletContext",c.VKq(2,vh,r.context))}}function lg(u,f){if(1&u&&c._UZ(0,"span",6),2&u){const r=c.oxw();c.Q6J("innerHTML",r.title,c.oJD)}}function cg(u,f){if(1&u&&(c.TgZ(0,"header",4)(1,"span",5),c._uU(2),c.qZA()()),2&u){const r=c.oxw();c.xp6(2),c.Oqu(r.title)}}function Ln(u,f){if(1&u){const r=c.EpF();c.TgZ(0,"li",6)(1,"ngx-charts-legend-entry",7),c.NdJ("select",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.labelClick.emit(x))})("activate",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.activate(x))})("deactivate",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.deactivate(x))}),c.qZA()()}if(2&u){const r=f.$implicit,p=c.oxw();c.xp6(1),c.Q6J("label",r.label)("formattedLabel",r.formattedLabel)("color",r.color)("isActive",p.isActive(r))}}function xh(u,f){if(1&u&&(c.O4$(),c.kcU(),c._UZ(0,"ngx-charts-scale-legend",4)),2&u){const r=c.oxw();c.Q6J("horizontal",r.legendOptions&&r.legendOptions.position===r.LegendPosition.Below)("valueRange",r.legendOptions.domain)("colors",r.legendOptions.colors)("height",r.view[1])("width",r.legendWidth)}}function bh(u,f){if(1&u){const r=c.EpF();c.O4$(),c.kcU(),c.TgZ(0,"ngx-charts-legend",5),c.NdJ("labelClick",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.legendLabelClick.emit(x))})("labelActivate",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.legendLabelActivate.emit(x))})("labelDeactivate",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.legendLabelDeactivate.emit(x))}),c.qZA()}if(2&u){const r=c.oxw();c.Q6J("horizontal",r.legendOptions&&r.legendOptions.position===r.LegendPosition.Below)("data",r.legendOptions.domain)("title",r.legendOptions.title)("colors",r.legendOptions.colors)("height",r.view[1])("width",r.legendWidth)("activeEntries",r.activeEntries)}}const ip=["*"],np=["ngx-charts-axis-label",""],dg=["ticksel"],ap=["ngx-charts-x-axis-ticks",""];function oC(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g",3)(1,"title"),c._uU(2),c.qZA(),c.TgZ(3,"text",4),c._uU(4),c.qZA()()),2&u){const r=f.$implicit,p=c.oxw();c.uIk("transform",p.tickTransform(r)),c.xp6(2),c.Oqu(p.tickFormat(r)),c.xp6(1),c.Udp("font-size","12px"),c.uIk("text-anchor",p.textAnchor)("transform",p.textTransform),c.xp6(1),c.hij(" ",p.tickTrim(p.tickFormat(r))," ")}}function zu(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g"),c._UZ(1,"line",6),c.qZA()),2&u){const r=c.oxw(2);c.uIk("transform",r.gridLineTransform()),c.xp6(1),c.uIk("y1",-r.gridLineHeight)}}function ug(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g"),c.YNc(1,zu,2,2,"g",5),c.qZA()),2&u){const r=f.$implicit,p=c.oxw();c.uIk("transform",p.tickTransform(r)),c.xp6(1),c.Q6J("ngIf",p.showGridLines)}}const Qu=["ngx-charts-x-axis",""];function rC(u,f){if(1&u){const r=c.EpF();c.O4$(),c.TgZ(0,"g",2),c.NdJ("dimensionsChanged",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.emitTicksHeight(x))}),c.qZA()}if(2&u){const r=c.oxw();c.Q6J("trimTicks",r.trimTicks)("rotateTicks",r.rotateTicks)("maxTickLength",r.maxTickLength)("tickFormatting",r.tickFormatting)("tickArguments",r.tickArguments)("tickStroke",r.tickStroke)("scale",r.xScale)("orient",r.xOrient)("showGridLines",r.showGridLines)("gridLineHeight",r.dims.height)("width",r.dims.width)("tickValues",r.ticks)}}function yh(u,f){if(1&u&&(c.O4$(),c._UZ(0,"g",3)),2&u){const r=c.oxw();c.Q6J("label",r.labelText)("offset",r.labelOffset)("orient",r.orientation.Bottom)("height",r.dims.height)("width",r.dims.width)}}const Hs=["ngx-charts-y-axis-ticks",""];function vr(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g",4)(1,"title"),c._uU(2),c.qZA(),c.TgZ(3,"text",5),c._uU(4),c.qZA()()),2&u){const r=f.$implicit,p=c.oxw();c.uIk("transform",p.transform(r)),c.xp6(2),c.Oqu(p.tickFormat(r)),c.xp6(1),c.Udp("font-size","12px"),c.uIk("dy",p.dy)("x",p.x1)("y",p.y1)("text-anchor",p.textAnchor),c.xp6(1),c.hij(" ",p.tickTrim(p.tickFormat(r))," ")}}function w0(u,f){if(1&u&&(c.O4$(),c._UZ(0,"path",6)),2&u){const r=c.oxw();c.uIk("d",r.referenceAreaPath)("transform",r.gridLineTransform())}}function sd(u,f){if(1&u&&(c.O4$(),c._UZ(0,"line",9)),2&u){const r=c.oxw(3);c.uIk("x2",r.gridLineWidth)}}function Th(u,f){if(1&u&&(c.O4$(),c._UZ(0,"line",9)),2&u){const r=c.oxw(3);c.uIk("x2",-r.gridLineWidth)}}function _g(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g"),c.YNc(1,sd,1,1,"line",8),c.YNc(2,Th,1,1,"line",8),c.qZA()),2&u){const r=c.oxw(2);c.uIk("transform",r.gridLineTransform()),c.xp6(1),c.Q6J("ngIf",r.orient===r.Orientation.Left),c.xp6(1),c.Q6J("ngIf",r.orient===r.Orientation.Right)}}function sC(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g"),c.YNc(1,_g,3,3,"g",7),c.qZA()),2&u){const r=f.$implicit,p=c.oxw();c.uIk("transform",p.transform(r)),c.xp6(1),c.Q6J("ngIf",p.showGridLines)}}function S0(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g")(1,"title"),c._uU(2),c.qZA(),c.TgZ(3,"text",11),c._uU(4),c.qZA()()),2&u){const r=c.oxw(2).$implicit,p=c.oxw();c.xp6(2),c.Oqu(p.tickTrim(p.tickFormat(r.value))),c.xp6(1),c.uIk("dy",p.dy)("y",-6)("x",p.gridLineWidth)("text-anchor",p.textAnchor),c.xp6(1),c.hij(" ",r.name," ")}}function lC(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g"),c._UZ(1,"line",10),c.YNc(2,S0,5,6,"g",7),c.qZA()),2&u){const r=c.oxw().$implicit,p=c.oxw();c.uIk("transform",p.transform(r.value)),c.xp6(1),c.uIk("x2",p.gridLineWidth)("transform",p.gridLineTransform()),c.xp6(1),c.Q6J("ngIf",p.showRefLabels)}}function pg(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g"),c.YNc(1,lC,3,4,"g",7),c.qZA()),2&u){const r=c.oxw();c.xp6(1),c.Q6J("ngIf",r.showRefLines)}}const hg=["ngx-charts-y-axis",""];function Mh(u,f){if(1&u){const r=c.EpF();c.O4$(),c.TgZ(0,"g",2),c.NdJ("dimensionsChanged",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.emitTicksWidth(x))}),c.qZA()}if(2&u){const r=c.oxw();c.Q6J("trimTicks",r.trimTicks)("maxTickLength",r.maxTickLength)("tickFormatting",r.tickFormatting)("tickArguments",r.tickArguments)("tickValues",r.ticks)("tickStroke",r.tickStroke)("scale",r.yScale)("orient",r.yOrient)("showGridLines",r.showGridLines)("gridLineWidth",r.dims.width)("referenceLines",r.referenceLines)("showRefLines",r.showRefLines)("showRefLabels",r.showRefLabels)("height",r.dims.height)}}function cC(u,f){if(1&u&&(c.O4$(),c._UZ(0,"g",3)),2&u){const r=c.oxw();c.Q6J("label",r.labelText)("offset",r.labelOffset)("orient",r.yOrient)("height",r.dims.height)("width",r.dims.width)}}const nu=["ngx-charts-svg-linear-gradient",""];function Dh(u,f){if(1&u&&(c.O4$(),c._UZ(0,"stop")),2&u){const r=f.$implicit;c.Udp("stop-color",r.color)("stop-opacity",r.opacity),c.uIk("offset",r.offset+"%")}}const op=["ngx-charts-circle",""],au=["ngx-charts-circle-series",""];function Xu(u,f){if(1&u&&(c.O4$(),c._UZ(0,"rect",4)),2&u){const r=c.oxw(2);c.Q6J("@animationState","active"),c.uIk("x",r.circle.cx-r.circle.radius)("y",r.circle.cy)("width",2*r.circle.radius)("height",r.circle.height)("fill",r.gradientFill)}}function Eh(u,f){if(1&u&&(c.O4$(),c._UZ(0,"rect",4)),2&u){const r=c.oxw(2);c.uIk("x",r.circle.cx-r.circle.radius)("y",r.circle.cy)("width",2*r.circle.radius)("height",r.circle.height)("fill",r.gradientFill)}}const A0=function(u){return{name:u}};function dC(u,f){if(1&u){const r=c.EpF();c.O4$(),c.TgZ(0,"g")(1,"defs"),c._UZ(2,"g",1),c.qZA(),c.YNc(3,Xu,1,6,"rect",2),c.YNc(4,Eh,1,5,"rect",2),c.TgZ(5,"g",3),c.NdJ("select",function(){c.CHM(r);const x=c.oxw();return c.KtG(x.onClick(x.circle.data))})("activate",function(){c.CHM(r);const x=c.oxw();return c.KtG(x.activateCircle())})("deactivate",function(){c.CHM(r);const x=c.oxw();return c.KtG(x.deactivateCircle())}),c.qZA()()}if(2&u){const r=c.oxw();c.xp6(2),c.Q6J("orientation",r.barOrientation.Vertical)("name",r.gradientId)("stops",r.circle.gradientStops),c.xp6(1),c.Q6J("ngIf",!r.isSSR&&r.barVisible&&"standard"===r.type),c.xp6(1),c.Q6J("ngIf",r.isSSR&&r.barVisible&&"standard"===r.type),c.xp6(1),c.ekj("active",r.isActive(c.VKq(20,A0,r.circle.seriesName))),c.Q6J("cx",r.circle.cx)("cy",r.circle.cy)("r",r.circle.radius)("fill",r.circle.color)("pointerEvents",0===r.circle.value?"none":"all")("data",r.circle.value)("classNames",r.circle.classNames)("tooltipDisabled",r.tooltipDisabled)("tooltipPlacement",r.placementTypes.Top)("tooltipType",r.styleTypes.tooltip)("tooltipTitle",r.tooltipTemplate?void 0:r.getTooltipText(r.circle))("tooltipTemplate",r.tooltipTemplate)("tooltipContext",r.circle.data)}}const Sh=["ngx-charts-svg-radial-gradient",""];function gg(u,f){if(1&u&&(c.O4$(),c._UZ(0,"stop")),2&u){const r=f.$implicit;c.Udp("stop-color",r.color)("stop-opacity",r.opacity),c.uIk("offset",r.offset+"%")}}const fg=["ngx-charts-area",""];function Ah(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"defs"),c._UZ(1,"g",2),c.qZA()),2&u){const r=c.oxw();c.xp6(1),c.Q6J("orientation",r.barOrientation.Vertical)("name",r.gradientId)("stops",r.gradientStops)}}const Lh=["ngx-charts-count-up",""],L0=["tooltipAnchor"],ld=["ngx-charts-tooltip-area",""];function Cg(u,f){if(1&u&&(c.TgZ(0,"div",6),c._UZ(1,"span",7),c._uU(2),c.qZA()),2&u){const r=f.$implicit,p=c.oxw(2);c.xp6(1),c.Udp("background-color",r.color),c.xp6(1),c.hij(" ",p.getToolTipText(r)," ")}}function O0(u,f){if(1&u&&(c.O4$(),c.kcU(),c.TgZ(0,"div",4),c.YNc(1,Cg,3,3,"div",5),c.qZA()),2&u){const r=f.model;c.xp6(1),c.Q6J("ngForOf",r)}}const t_=["ngx-charts-timeline",""],ou=["tooltipTemplate"],bg=["seriesTooltipTemplate"],Sl=function(u,f){return[u,f]},Ph=".ngx-charts-outer{-webkit-animation:chartFadeIn linear .6s;animation:chartFadeIn linear .6s}@-webkit-keyframes chartFadeIn{0%{opacity:0}20%{opacity:0}to{opacity:1}}@keyframes chartFadeIn{0%{opacity:0}20%{opacity:0}to{opacity:1}}.ngx-charts{float:left;overflow:visible}.ngx-charts .circle,.ngx-charts .cell,.ngx-charts .bar,.ngx-charts .arc{cursor:pointer}.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover,.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .card.active,.ngx-charts .card:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .bar:focus,.ngx-charts .cell:focus,.ngx-charts .arc:focus,.ngx-charts .card:focus{outline:none}.ngx-charts .bar.hidden,.ngx-charts .cell.hidden,.ngx-charts .arc.hidden,.ngx-charts .card.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .line-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .polar-series-path.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .area-series.inactive{transition:opacity .1s ease-in-out;opacity:.2}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{stroke:#ddd;stroke-width:1;fill:none}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-width:1;stroke-dasharray:5;stroke-dashoffset:5}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill-opacity:.05;fill:#000}.ngx-charts .gridline-path-dotted{stroke:#ddd;stroke-width:1;fill:none;stroke-dasharray:1,20;stroke-dashoffset:3}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:#0000000d}\n",N0=["ngx-charts-bar",""];function ab(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"defs"),c._UZ(1,"g",2),c.qZA()),2&u){const r=c.oxw();c.xp6(1),c.Q6J("orientation",r.orientation)("name",r.gradientId)("stops",r.gradientStops)}}const B0=["ngx-charts-bar-label",""],_d=["ngx-charts-series-vertical",""];function n_(u,f){if(1&u){const r=c.EpF();c.O4$(),c.TgZ(0,"g",2),c.NdJ("select",function(x){c.CHM(r);const D=c.oxw(2);return c.KtG(D.onClick(x))})("activate",function(x){c.CHM(r);const D=c.oxw(2);return c.KtG(D.activate.emit(x))})("deactivate",function(x){c.CHM(r);const D=c.oxw(2);return c.KtG(D.deactivate.emit(x))}),c.qZA()}if(2&u){const r=f.$implicit,p=c.oxw(2);c.Q6J("@animationState","active")("@.disabled",!p.animations)("width",r.width)("height",r.height)("x",r.x)("y",r.y)("fill",r.color)("stops",r.gradientStops)("data",r.data)("orientation",p.barOrientation.Vertical)("roundEdges",r.roundEdges)("gradient",p.gradient)("ariaLabel",r.ariaLabel)("isActive",p.isActive(r.data))("tooltipDisabled",p.tooltipDisabled)("tooltipPlacement",p.tooltipPlacement)("tooltipType",p.tooltipType)("tooltipTitle",p.tooltipTemplate?void 0:r.tooltipText)("tooltipTemplate",p.tooltipTemplate)("tooltipContext",r.data)("noBarWhenZero",p.noBarWhenZero)("animations",p.animations)}}function dp(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g"),c.YNc(1,n_,1,22,"g",1),c.qZA()),2&u){const r=c.oxw();c.xp6(1),c.Q6J("ngForOf",r.bars)("ngForTrackBy",r.trackBy)}}function Nh(u,f){if(1&u){const r=c.EpF();c.O4$(),c.TgZ(0,"g",2),c.NdJ("select",function(x){c.CHM(r);const D=c.oxw(2);return c.KtG(D.onClick(x))})("activate",function(x){c.CHM(r);const D=c.oxw(2);return c.KtG(D.activate.emit(x))})("deactivate",function(x){c.CHM(r);const D=c.oxw(2);return c.KtG(D.deactivate.emit(x))}),c.qZA()}if(2&u){const r=f.$implicit,p=c.oxw(2);c.Q6J("width",r.width)("height",r.height)("x",r.x)("y",r.y)("fill",r.color)("stops",r.gradientStops)("data",r.data)("orientation",p.barOrientation.Vertical)("roundEdges",r.roundEdges)("gradient",p.gradient)("ariaLabel",r.ariaLabel)("isActive",p.isActive(r.data))("tooltipDisabled",p.tooltipDisabled)("tooltipPlacement",p.tooltipPlacement)("tooltipType",p.tooltipType)("tooltipTitle",p.tooltipTemplate?void 0:r.tooltipText)("tooltipTemplate",p.tooltipTemplate)("tooltipContext",r.data)("noBarWhenZero",p.noBarWhenZero)("animations",p.animations)}}function Lg(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g"),c.YNc(1,Nh,1,20,"g",1),c.qZA()),2&u){const r=c.oxw();c.xp6(1),c.Q6J("ngForOf",r.bars)("ngForTrackBy",r.trackBy)}}function a_(u,f){if(1&u){const r=c.EpF();c.O4$(),c.TgZ(0,"g",4),c.NdJ("dimensionsChanged",function(x){const I=c.CHM(r).index,V=c.oxw(2);return c.KtG(V.dataLabelHeightChanged.emit({size:x,index:I}))}),c.qZA()}if(2&u){const r=f.$implicit,p=c.oxw(2);c.Q6J("barX",r.x)("barY",r.y)("barWidth",r.width)("barHeight",r.height)("value",r.total)("valueFormatting",p.dataLabelFormatting)("orientation",p.barOrientation.Vertical)}}function su(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g"),c.YNc(1,a_,1,7,"g",3),c.qZA()),2&u){const r=c.oxw();c.xp6(1),c.Q6J("ngForOf",r.barsForDataLabels)("ngForTrackBy",r.trackDataLabelBy)}}function o_(u,f){if(1&u){const r=c.EpF();c.O4$(),c.TgZ(0,"g",5),c.NdJ("dimensionsChanged",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.updateXAxisHeight(x))}),c.qZA()}if(2&u){const r=c.oxw();c.Q6J("xScale",r.xScale)("dims",r.dims)("showGridLines",r.showGridLines)("showLabel",r.showXAxisLabel)("labelText",r.xAxisLabel)("trimTicks",r.trimXAxisTicks)("rotateTicks",r.rotateXAxisTicks)("maxTickLength",r.maxXAxisTickLength)("tickFormatting",r.xAxisTickFormatting)("ticks",r.xAxisTicks)("xAxisOffset",r.dataLabelMaxHeight.negative)}}function lu(u,f){if(1&u){const r=c.EpF();c.O4$(),c.TgZ(0,"g",6),c.NdJ("dimensionsChanged",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.updateYAxisWidth(x))}),c.qZA()}if(2&u){const r=c.oxw();c.Q6J("yScale",r.yScale)("dims",r.dims)("showGridLines",r.showGridLines)("showLabel",r.showYAxisLabel)("labelText",r.yAxisLabel)("trimTicks",r.trimYAxisTicks)("maxTickLength",r.maxYAxisTickLength)("tickFormatting",r.yAxisTickFormatting)("ticks",r.yAxisTicks)}}const kC=["ngx-charts-line",""];function gp(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g"),c._UZ(1,"path",1),c.qZA()),2&u){const r=c.oxw();c.xp6(1),c.Q6J("@animationState","active"),c.uIk("d",r.initialPath)("fill",r.fill)("stroke",r.stroke)}}function G0(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g"),c._UZ(1,"path",1),c.qZA()),2&u){const r=c.oxw();c.xp6(1),c.uIk("d",r.initialPath)("fill",r.fill)("stroke",r.stroke)}}const fp=["ngx-charts-line-series",""];function Hh(u,f){if(1&u&&(c.O4$(),c._UZ(0,"g",4)),2&u){const r=c.oxw();c.Q6J("orientation",r.barOrientation.Vertical)("name",r.gradientId)("stops",r.gradientStops)}}function Ng(u,f){if(1&u&&(c.O4$(),c._UZ(0,"g",5)),2&u){const r=c.oxw();c.ekj("active",r.isActive(r.data))("inactive",r.isInactive(r.data)),c.Q6J("data",r.data)("path",r.outerPath)("fill",r.hasGradient?r.gradientUrl:r.colors.getColor(r.data.name))("opacity",r.rangeFillOpacity)("animations",r.animations)}}function Bg(u,f){if(1&u){const r=c.EpF();c.O4$(),c.TgZ(0,"g",7),c.NdJ("dimensionsChanged",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.updateXAxisHeight(x))}),c.qZA()}if(2&u){const r=c.oxw();c.Q6J("xScale",r.xScale)("dims",r.dims)("showGridLines",r.showGridLines)("showLabel",r.showXAxisLabel)("labelText",r.xAxisLabel)("trimTicks",r.trimXAxisTicks)("rotateTicks",r.rotateXAxisTicks)("maxTickLength",r.maxXAxisTickLength)("tickFormatting",r.xAxisTickFormatting)("ticks",r.xAxisTicks)}}function Vh(u,f){if(1&u){const r=c.EpF();c.O4$(),c.TgZ(0,"g",8),c.NdJ("dimensionsChanged",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.updateYAxisWidth(x))}),c.qZA()}if(2&u){const r=c.oxw();c.Q6J("yScale",r.yScale)("dims",r.dims)("showGridLines",r.showGridLines)("showLabel",r.showYAxisLabel)("labelText",r.yAxisLabel)("trimTicks",r.trimYAxisTicks)("maxTickLength",r.maxYAxisTickLength)("tickFormatting",r.yAxisTickFormatting)("ticks",r.yAxisTicks)("referenceLines",r.referenceLines)("showRefLines",r.showRefLines)("showRefLabels",r.showRefLabels)}}function Xl(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g"),c._UZ(1,"g",10),c.qZA()),2&u){const r=f.$implicit,p=c.oxw(2);c.Q6J("@animationState","active"),c.xp6(1),c.Q6J("xScale",p.xScale)("yScale",p.yScale)("colors",p.colors)("data",r)("activeEntries",p.activeEntries)("scaleType",p.scaleType)("curve",p.curve)("rangeFillOpacity",p.rangeFillOpacity)("hasRange",p.hasRange)("animations",p.animations)}}function Cp(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g"),c.YNc(1,Xl,2,11,"g",9),c.qZA()),2&u){const r=c.oxw();c.xp6(1),c.Q6J("ngForOf",r.results)("ngForTrackBy",r.trackBy)}}function vp(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g"),c._UZ(1,"g",10),c.qZA()),2&u){const r=f.$implicit,p=c.oxw(2);c.xp6(1),c.Q6J("xScale",p.xScale)("yScale",p.yScale)("colors",p.colors)("data",r)("activeEntries",p.activeEntries)("scaleType",p.scaleType)("curve",p.curve)("rangeFillOpacity",p.rangeFillOpacity)("hasRange",p.hasRange)("animations",p.animations)}}function pl(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g"),c.YNc(1,vp,2,10,"g",9),c.qZA()),2&u){const r=c.oxw();c.xp6(1),c.Q6J("ngForOf",r.results)("ngForTrackBy",r.trackBy)}}function Gh(u,f){if(1&u){const r=c.EpF();c.O4$(),c.TgZ(0,"g")(1,"g",14),c.NdJ("select",function(x){c.CHM(r);const D=c.oxw(2);return c.KtG(D.onClick(x))})("activate",function(x){c.CHM(r);const D=c.oxw(2);return c.KtG(D.onActivate(x))})("deactivate",function(x){c.CHM(r);const D=c.oxw(2);return c.KtG(D.onDeactivate(x))}),c.qZA()()}if(2&u){const r=f.$implicit,p=c.oxw(2);c.xp6(1),c.Q6J("xScale",p.xScale)("yScale",p.yScale)("colors",p.colors)("data",r)("scaleType",p.scaleType)("visibleValue",p.hoveredVertical)("activeEntries",p.activeEntries)("tooltipDisabled",p.tooltipDisabled)("tooltipTemplate",p.tooltipTemplate)}}function c_(u,f){if(1&u){const r=c.EpF();c.O4$(),c.TgZ(0,"g",11),c.NdJ("mouseleave",function(){c.CHM(r);const x=c.oxw();return c.KtG(x.hideCircles())}),c.TgZ(1,"g",12),c.NdJ("hover",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.updateHoveredVertical(x))}),c.qZA(),c.YNc(2,Gh,2,9,"g",13),c.qZA()}if(2&u){const r=c.oxw();c.xp6(1),c.Q6J("dims",r.dims)("xSet",r.xSet)("xScale",r.xScale)("yScale",r.yScale)("results",r.results)("colors",r.colors)("tooltipDisabled",r.tooltipDisabled)("tooltipTemplate",r.seriesTooltipTemplate),c.xp6(1),c.Q6J("ngForOf",r.results)}}function d_(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g"),c._UZ(1,"g",16),c.qZA()),2&u){const r=f.$implicit,p=c.oxw(2);c.xp6(1),c.Q6J("xScale",p.timelineXScale)("yScale",p.timelineYScale)("colors",p.colors)("data",r)("scaleType",p.scaleType)("curve",p.curve)("hasRange",p.hasRange)("animations",p.animations)}}function IC(u,f){if(1&u){const r=c.EpF();c.O4$(),c.TgZ(0,"g",15),c.NdJ("onDomainChange",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.updateDomain(x))}),c.YNc(1,d_,2,8,"g",9),c.qZA()}if(2&u){const r=c.oxw();c.Q6J("results",r.results)("view",c.WLB(10,Sl,r.timelineWidth,r.height))("height",r.timelineHeight)("scheme",r.scheme)("customColors",r.customColors)("scaleType",r.scaleType)("legend",r.legend),c.uIk("transform",r.timelineTransform),c.xp6(1),c.Q6J("ngForOf",r.results)("ngForTrackBy",r.trackBy)}}const PC=["ngx-charts-pie-label",""],W0=["ngx-charts-pie-arc",""];function FC(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"defs"),c._UZ(1,"g",3),c.qZA()),2&u){const r=c.oxw();c.xp6(1),c.Q6J("color",r.fill)("name",r.radialGradientId)("startOpacity",r.startOpacity)}}const NC=["ngx-charts-pie-series",""];function Hg(u,f){if(1&u&&(c.O4$(),c._UZ(0,"g",3)),2&u){const r=c.oxw().$implicit,p=c.oxw();c.Q6J("data",r)("radius",p.outerRadius)("color",p.color(r))("label",p.labelText(r))("labelTrim",p.trimLabels)("labelTrimSize",p.maxLabelLength)("max",p.max)("value",r.value)("explodeSlices",p.explodeSlices)("animations",p.animations)}}function Wh(u,f){if(1&u){const r=c.EpF();c.O4$(),c.TgZ(0,"g"),c.YNc(1,Hg,1,10,"g",1),c.TgZ(2,"g",2),c.NdJ("select",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.onClick(x))})("activate",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.activate.emit(x))})("deactivate",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.deactivate.emit(x))})("dblclick",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.dblclick.emit(x))}),c.qZA()()}if(2&u){const r=f.$implicit,p=c.oxw();c.xp6(1),c.Q6J("ngIf",p.labelVisible(r)),c.xp6(1),c.Q6J("startAngle",r.startAngle)("endAngle",r.endAngle)("innerRadius",p.innerRadius)("outerRadius",p.outerRadius)("fill",p.color(r))("value",r.data.value)("gradient",p.gradient)("data",r.data)("max",p.max)("explodeSlices",p.explodeSlices)("isActive",p.isActive(r.data))("animate",p.animations)("tooltipDisabled",p.tooltipDisabled)("tooltipPlacement",p.placementTypes.Top)("tooltipType",p.styleTypes.tooltip)("tooltipTitle",p.getTooltipTitle(r))("tooltipTemplate",p.tooltipTemplate)("tooltipContext",r.data)}}const du=["ngx-charts-pie-grid-series",""];function q0(u,f){if(1&u){const r=c.EpF();c.O4$(),c.TgZ(0,"g",2),c.NdJ("select",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.onClick(x))})("activate",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.activate.emit(x))})("deactivate",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.deactivate.emit(x))}),c.qZA()}if(2&u){const r=f.$implicit,p=c.oxw();c.Q6J("startAngle",r.startAngle)("endAngle",r.endAngle)("innerRadius",p.innerRadius)("outerRadius",p.outerRadius)("fill",p.color(r))("value",r.data.value)("data",r.data)("gradient",!1)("pointerEvents",r.pointerEvents)("animate",r.animate),c.uIk("class",r.class)}}function __(u,f){if(1&u&&(c.O4$(),c._UZ(0,"text",10)),2&u){const r=c.oxw().$implicit;c.Q6J("countTo",r.percent)("countSuffix","%")}}function BC(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"text",11),c._uU(1),c.qZA()),2&u){const r=c.oxw().$implicit;c.xp6(1),c.hij(" ",r.percent.toLocaleString()," ")}}function UC(u,f){if(1&u&&(c.O4$(),c._UZ(0,"text",12)),2&u){const r=c.oxw().$implicit,p=c.oxw();c.Q6J("countTo",r.total)("countPrefix",p.label+": "),c.uIk("y",r.outerRadius)}}function qh(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"text",13),c._uU(1),c.qZA()),2&u){const r=c.oxw().$implicit,p=c.oxw();c.uIk("y",r.outerRadius),c.xp6(1),c.AsE(" ",p.label,": ",r.total.toLocaleString()," ")}}const ZC=function(u){return{data:u}};function hl(u,f){if(1&u){const r=c.EpF();c.O4$(),c.TgZ(0,"g",3)(1,"g",4),c.NdJ("select",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.onClick(x))})("activate",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.onActivate(x))})("deactivate",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.onDeactivate(x))}),c.qZA(),c.YNc(2,__,1,2,"text",5),c.YNc(3,BC,2,1,"text",6),c.TgZ(4,"text",7),c._uU(5),c.qZA(),c.YNc(6,UC,1,3,"text",8),c.YNc(7,qh,2,3,"text",9),c.qZA()}if(2&u){const r=f.$implicit,p=c.oxw();c.uIk("transform",r.transform),c.xp6(1),c.Q6J("colors",r.colors)("data",r.data)("innerRadius",r.innerRadius)("outerRadius",r.outerRadius)("animations",p.animations)("tooltipDisabled",p.tooltipDisabled)("tooltipPlacement",p.placementTypes.Top)("tooltipType",p.styleTypes.tooltip)("tooltipTitle",p.tooltipTemplate?void 0:p.tooltipText(c.VKq(17,ZC,r)))("tooltipTemplate",p.tooltipTemplate)("tooltipContext",r.data[0].data),c.xp6(1),c.Q6J("ngIf",p.animations),c.xp6(1),c.Q6J("ngIf",!p.animations),c.xp6(2),c.hij(" ",r.label," "),c.xp6(1),c.Q6J("ngIf",p.animations),c.xp6(1),c.Q6J("ngIf",!p.animations)}}function fd(u,f,r){r=r||{};let p,x,D,I=null,V=0;function me(){V=!1===r.leading?0:+new Date,I=null,D=u.apply(p,x)}return function(){const fe=+new Date;!V&&!1===r.leading&&(V=fe);const Ue=f-(fe-V);return p=this,x=arguments,Ue<=0?(clearTimeout(I),I=null,V=fe,D=u.apply(p,x)):!I&&!1!==r.trailing&&(I=setTimeout(me,Ue)),D}}function WC(u,f){return function(p,x,D){return{configurable:!0,enumerable:D.enumerable,get:function(){return Object.defineProperty(this,x,{configurable:!0,enumerable:D.enumerable,value:fd(D.value,u,f)}),this[x]}}}}var On=(()=>{return(u=On||(On={})).Top="top",u.Bottom="bottom",u.Left="left",u.Right="right",u.Center="center",On;var u})();function Dp(u,f,r){return r===On.Top?u.top-7:r===On.Bottom?u.top+u.height-f.height+7:r===On.Center?u.top+u.height/2-f.height/2:void 0}function zh(u,f,r){return r===On.Left?u.left-7:r===On.Right?u.left+u.width-f.width+7:r===On.Center?u.left+u.width/2-f.width/2:void 0}class qo{static calculateVerticalAlignment(f,r,p){let x=Dp(f,r,p);return x+r.height>window.innerHeight&&(x=window.innerHeight-r.height),x}static calculateVerticalCaret(f,r,p,x){let D;x===On.Top&&(D=f.height/2-p.height/2+7),x===On.Bottom&&(D=r.height-f.height/2-p.height/2-7),x===On.Center&&(D=r.height/2-p.height/2);const I=Dp(f,r,x);return I+r.height>window.innerHeight&&(D+=I+r.height-window.innerHeight),D}static calculateHorizontalAlignment(f,r,p){let x=zh(f,r,p);return x+r.width>window.innerWidth&&(x=window.innerWidth-r.width),x}static calculateHorizontalCaret(f,r,p,x){let D;x===On.Left&&(D=f.width/2-p.width/2+7),x===On.Right&&(D=r.width-f.width/2-p.width/2-7),x===On.Center&&(D=r.width/2-p.width/2);const I=zh(f,r,x);return I+r.width>window.innerWidth&&(D+=I+r.width-window.innerWidth),D}static shouldFlip(f,r,p,x){let D=!1;return p===On.Right&&f.left+f.width+r.width+x>window.innerWidth&&(D=!0),p===On.Left&&f.left-r.width-x<0&&(D=!0),p===On.Top&&f.top-r.height-x<0&&(D=!0),p===On.Bottom&&f.top+f.height+r.height+x>window.innerHeight&&(D=!0),D}static positionCaret(f,r,p,x,D){let I=0,V=0;return f===On.Right?(V=-7,I=qo.calculateVerticalCaret(p,r,x,D)):f===On.Left?(V=r.width,I=qo.calculateVerticalCaret(p,r,x,D)):f===On.Top?(I=r.height,V=qo.calculateHorizontalCaret(p,r,x,D)):f===On.Bottom&&(I=-7,V=qo.calculateHorizontalCaret(p,r,x,D)),{top:I,left:V}}static positionContent(f,r,p,x,D){let I=0,V=0;return f===On.Right?(V=p.left+p.width+x,I=qo.calculateVerticalAlignment(p,r,D)):f===On.Left?(V=p.left-r.width-x,I=qo.calculateVerticalAlignment(p,r,D)):f===On.Top?(I=p.top-r.height-x,V=qo.calculateHorizontalAlignment(p,r,D)):f===On.Bottom&&(I=p.top+p.height+x,V=qo.calculateHorizontalAlignment(p,r,D)),{top:I,left:V}}static determinePlacement(f,r,p,x){if(qo.shouldFlip(p,r,f,x)){if(f===On.Right)return On.Left;if(f===On.Left)return On.Right;if(f===On.Top)return On.Bottom;if(f===On.Bottom)return On.Top}return f}}let Ep=(()=>{class u{constructor(r,p,x){this.element=r,this.renderer=p,this.platformId=x}get cssClasses(){let r="ngx-charts-tooltip-content";return r+=` position-${this.placement}`,r+=` type-${this.type}`,r+=` ${this.cssClass}`,r}ngAfterViewInit(){setTimeout(this.position.bind(this))}position(){if(!(0,m.NF)(this.platformId))return;const r=this.element.nativeElement,p=this.host.nativeElement.getBoundingClientRect();if(!p.height&&!p.width)return;const x=r.getBoundingClientRect();this.checkFlip(p,x),this.positionContent(r,p,x),this.showCaret&&this.positionCaret(p,x),setTimeout(()=>this.renderer.addClass(r,"animate"),1)}positionContent(r,p,x){const{top:D,left:I}=qo.positionContent(this.placement,x,p,this.spacing,this.alignment);this.renderer.setStyle(r,"top",`${D}px`),this.renderer.setStyle(r,"left",`${I}px`)}positionCaret(r,p){const x=this.caretElm.nativeElement,D=x.getBoundingClientRect(),{top:I,left:V}=qo.positionCaret(this.placement,p,r,D,this.alignment);this.renderer.setStyle(x,"top",`${I}px`),this.renderer.setStyle(x,"left",`${V}px`)}checkFlip(r,p){this.placement=qo.determinePlacement(this.placement,p,r,this.spacing)}onWindowResize(){this.position()}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(c.SBq),c.Y36(c.Qsj),c.Y36(c.Lbi))},u.\u0275cmp=c.Xpm({type:u,selectors:[["ngx-tooltip-content"]],viewQuery:function(r,p){if(1&r&&c.Gf(Ch,5),2&r){let x;c.iGM(x=c.CRH())&&(p.caretElm=x.first)}},hostVars:2,hostBindings:function(r,p){1&r&&c.NdJ("resize",function(){return p.onWindowResize()},!1,c.Jf7),2&r&&c.Tol(p.cssClasses)},inputs:{host:"host",showCaret:"showCaret",type:"type",placement:"placement",alignment:"alignment",spacing:"spacing",cssClass:"cssClass",title:"title",template:"template",context:"context"},decls:6,vars:6,consts:[[3,"hidden"],["caretElm",""],[1,"tooltip-content"],[4,"ngIf"],[3,"innerHTML",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"]],template:function(r,p){1&r&&(c.TgZ(0,"div"),c._UZ(1,"span",0,1),c.TgZ(3,"div",2),c.YNc(4,sg,2,4,"span",3),c.YNc(5,lg,1,1,"span",4),c.qZA()()),2&r&&(c.xp6(1),c.Gre("tooltip-caret position-",p.placement,""),c.Q6J("hidden",!p.showCaret),c.xp6(3),c.Q6J("ngIf",!p.title),c.xp6(1),c.Q6J("ngIf",p.title))},dependencies:[m.O5,m.tP],styles:[".ngx-charts-tooltip-content{position:fixed;border-radius:3px;z-index:5000;display:block;font-weight:400;opacity:0;pointer-events:none!important}.ngx-charts-tooltip-content.type-popover{background:#fff;color:#060709;border:1px solid #72809b;box-shadow:0 1px 3px #0003,0 1px 1px #00000024,0 2px 1px -1px #0000001f;font-size:13px;padding:4px}.ngx-charts-tooltip-content.type-popover .tooltip-caret{position:absolute;z-index:5001;width:0;height:0}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-left{border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-right{border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-bottom{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #fff}.ngx-charts-tooltip-content.type-tooltip{color:#fff;background:rgba(0,0,0,.75);font-size:12px;padding:0 10px;text-align:center;pointer-events:auto}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-left{border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-right{border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-bottom{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content .tooltip-label{display:block;line-height:1em;padding:8px 5px 5px;font-size:1em}.ngx-charts-tooltip-content .tooltip-val{display:block;font-size:1.3em;line-height:1em;padding:0 5px 8px}.ngx-charts-tooltip-content .tooltip-caret{position:absolute;z-index:5001;width:0;height:0}.ngx-charts-tooltip-content.position-right{transform:translate(10px)}.ngx-charts-tooltip-content.position-left{transform:translate(-10px)}.ngx-charts-tooltip-content.position-top{transform:translateY(-10px)}.ngx-charts-tooltip-content.position-bottom{transform:translateY(10px)}.ngx-charts-tooltip-content.animate{opacity:1;transition:opacity .3s,transform .3s;transform:translate(0);pointer-events:auto}.area-tooltip-container{padding:5px 0;pointer-events:none}.tooltip-item{text-align:left;line-height:1.2em;padding:5px 0}.tooltip-item .tooltip-item-color{display:inline-block;height:12px;width:12px;margin-right:5px;color:#5b646b;border-radius:3px}\n"],encapsulation:2}),(0,e.gn)([WC(100)],u.prototype,"onWindowResize",null),u})(),g_=(()=>{class u{constructor(r,p,x){this.applicationRef=r,this.componentFactoryResolver=p,this.injector=x}static setGlobalRootViewContainer(r){u.globalRootViewContainer=r}getRootViewContainer(){if(this._container)return this._container;if(u.globalRootViewContainer)return u.globalRootViewContainer;if(this.applicationRef.components.length)return this.applicationRef.components[0];throw new Error("View Container not found! ngUpgrade needs to manually set this via setRootViewContainer or setGlobalRootViewContainer.")}setRootViewContainer(r){this._container=r}getComponentRootNode(r){return function Xh(u){return u.element}(r)?r.element.nativeElement:r.hostView&&r.hostView.rootNodes.length>0?r.hostView.rootNodes[0]:r.location.nativeElement}getRootViewContainerNode(r){return this.getComponentRootNode(r)}projectComponentBindings(r,p){if(p){if(void 0!==p.inputs){const x=Object.getOwnPropertyNames(p.inputs);for(const D of x)r.instance[D]=p.inputs[D]}if(void 0!==p.outputs){const x=Object.getOwnPropertyNames(p.outputs);for(const D of x)r.instance[D]=p.outputs[D]}}return r}appendComponent(r,p={},x){x||(x=this.getRootViewContainer());const D=this.getComponentRootNode(x),I=new b.u0(D,this.componentFactoryResolver,this.applicationRef,this.injector),V=new b.C5(r),me=I.attach(V);return this.projectComponentBindings(me,p),me}}return u.globalRootViewContainer=null,u.\u0275fac=function(r){return new(r||u)(c.LFG(c.z2F),c.LFG(c._Vd),c.LFG(c.zs3))},u.\u0275prov=c.Yz7({token:u,factory:u.\u0275fac}),u})(),Cd=(()=>{class u extends class Qh{constructor(f){this.injectionService=f,this.defaults={},this.components=new Map}getByType(f=this.type){return this.components.get(f)}create(f){return this.createByType(this.type,f)}createByType(f,r){r=this.assignDefaults(r);const p=this.injectComponent(f,r);return this.register(f,p),p}destroy(f){const r=this.components.get(f.componentType);if(r&&r.length){const p=r.indexOf(f);p>-1&&(r[p].destroy(),r.splice(p,1))}}destroyAll(){this.destroyByType(this.type)}destroyByType(f){const r=this.components.get(f);if(r&&r.length){let p=r.length-1;for(;p>=0;)this.destroy(r[p--])}}injectComponent(f,r){return this.injectionService.appendComponent(f,r)}assignDefaults(f){const r=Object.assign({},this.defaults.inputs),p=Object.assign({},this.defaults.outputs);return!f.inputs&&!f.outputs&&(f={inputs:f}),r&&(f.inputs=Object.assign(Object.assign({},r),f.inputs)),p&&(f.outputs=Object.assign(Object.assign({},p),f.outputs)),f}register(f,r){this.components.has(f)||this.components.set(f,[]),this.components.get(f).push(r)}}{constructor(r){super(r),this.type=Ep}}return u.\u0275fac=function(r){return new(r||u)(c.LFG(g_))},u.\u0275prov=c.Yz7({token:u,factory:u.\u0275fac}),u})();var bs=(()=>{return(u=bs||(bs={})).Right="right",u.Below="below",bs;var u})(),Lc=(()=>{return(u=Lc||(Lc={})).ScaleLegend="scaleLegend",u.Legend="legend",Lc;var u})(),Pi=(()=>{return(u=Pi||(Pi={})).Time="time",u.Linear="linear",u.Ordinal="ordinal",u.Quantile="quantile",Pi;var u})();let em=(()=>{class u{constructor(){this.horizontal=!1}ngOnChanges(r){const p=this.gradientString(this.colors.range(),this.colors.domain());this.gradient=`linear-gradient(to ${this.horizontal?"right":"bottom"}, ${p})`}gradientString(r,p){p.push(1);const x=[];return r.reverse().forEach((D,I)=>{x.push(`${D} ${Math.round(100*p[I])}%`)}),x.join(", ")}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275cmp=c.Xpm({type:u,selectors:[["ngx-charts-scale-legend"]],inputs:{valueRange:"valueRange",colors:"colors",height:"height",width:"width",horizontal:"horizontal"},features:[c.TTD],decls:8,vars:10,consts:[[1,"scale-legend"],[1,"scale-legend-label"],[1,"scale-legend-wrap"]],template:function(r,p){1&r&&(c.TgZ(0,"div",0)(1,"div",1)(2,"span"),c._uU(3),c.qZA()(),c._UZ(4,"div",2),c.TgZ(5,"div",1)(6,"span"),c._uU(7),c.qZA()()()),2&r&&(c.Udp("height",p.horizontal?void 0:p.height,"px")("width",p.width,"px"),c.ekj("horizontal-legend",p.horizontal),c.xp6(3),c.Oqu(p.valueRange[1].toLocaleString()),c.xp6(1),c.Udp("background",p.gradient),c.xp6(3),c.Oqu(p.valueRange[0].toLocaleString()))},styles:[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .scale-legend{text-align:center;display:flex;flex-direction:column}.chart-legend .scale-legend-wrap{display:inline-block;flex:1;width:30px;border-radius:5px;margin:0 auto}.chart-legend .scale-legend-label{font-size:12px}.chart-legend .horizontal-legend.scale-legend{flex-direction:row}.chart-legend .horizontal-legend .scale-legend-wrap{width:auto;height:30px;margin:0 16px}\n"],encapsulation:2,changeDetection:0}),u})();function fl(u){return u instanceof Date?u.toLocaleDateString():u.toLocaleString()}function tc(u){return u.toLocaleString().replace(/[&'`"<>]/g,f=>({"&":"&","'":"'","`":"`",'"':""","<":"<",">":">"}[f]))}let f_=(()=>{class u{constructor(){this.isActive=!1,this.select=new c.vpe,this.activate=new c.vpe,this.deactivate=new c.vpe,this.toggle=new c.vpe}get trimmedLabel(){return this.formattedLabel||"(empty)"}onMouseEnter(){this.activate.emit({name:this.label})}onMouseLeave(){this.deactivate.emit({name:this.label})}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275cmp=c.Xpm({type:u,selectors:[["ngx-charts-legend-entry"]],hostBindings:function(r,p){1&r&&c.NdJ("mouseenter",function(){return p.onMouseEnter()})("mouseleave",function(){return p.onMouseLeave()})},inputs:{color:"color",label:"label",formattedLabel:"formattedLabel",isActive:"isActive"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",toggle:"toggle"},decls:4,vars:6,consts:[["tabindex","-1",3,"title","click"],[1,"legend-label-color",3,"click"],[1,"legend-label-text"]],template:function(r,p){1&r&&(c.TgZ(0,"span",0),c.NdJ("click",function(){return p.select.emit(p.formattedLabel)}),c.TgZ(1,"span",1),c.NdJ("click",function(){return p.toggle.emit(p.formattedLabel)}),c.qZA(),c.TgZ(2,"span",2),c._uU(3),c.qZA()()),2&r&&(c.ekj("active",p.isActive),c.Q6J("title",p.formattedLabel),c.xp6(1),c.Udp("background-color",p.color),c.xp6(2),c.hij(" ",p.trimmedLabel," "))},encapsulation:2,changeDetection:0}),u})(),jg=(()=>{class u{constructor(r){this.cd=r,this.horizontal=!1,this.labelClick=new c.vpe,this.labelActivate=new c.vpe,this.labelDeactivate=new c.vpe,this.legendEntries=[]}ngOnChanges(r){this.update()}update(){this.cd.markForCheck(),this.legendEntries=this.getLegendEntries()}getLegendEntries(){const r=[];for(const p of this.data){const x=fl(p);-1===r.findIndex(I=>I.label===x)&&r.push({label:p,formattedLabel:x,color:this.colors.getColor(p)})}return r}isActive(r){return!!this.activeEntries&&void 0!==this.activeEntries.find(x=>r.label===x.name)}activate(r){this.labelActivate.emit(r)}deactivate(r){this.labelDeactivate.emit(r)}trackBy(r,p){return p.label}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(c.sBO))},u.\u0275cmp=c.Xpm({type:u,selectors:[["ngx-charts-legend"]],inputs:{data:"data",title:"title",colors:"colors",height:"height",width:"width",activeEntries:"activeEntries",horizontal:"horizontal"},outputs:{labelClick:"labelClick",labelActivate:"labelActivate",labelDeactivate:"labelDeactivate"},features:[c.TTD],decls:5,vars:9,consts:[["class","legend-title",4,"ngIf"],[1,"legend-wrap"],[1,"legend-labels"],["class","legend-label",4,"ngFor","ngForOf","ngForTrackBy"],[1,"legend-title"],[1,"legend-title-text"],[1,"legend-label"],[3,"label","formattedLabel","color","isActive","select","activate","deactivate"]],template:function(r,p){1&r&&(c.TgZ(0,"div"),c.YNc(1,cg,3,1,"header",0),c.TgZ(2,"div",1)(3,"ul",2),c.YNc(4,Ln,2,4,"li",3),c.qZA()()()),2&r&&(c.Udp("width",p.width,"px"),c.xp6(1),c.Q6J("ngIf",(null==p.title?null:p.title.length)>0),c.xp6(2),c.Udp("max-height",p.height-45,"px"),c.ekj("horizontal-legend",p.horizontal),c.xp6(1),c.Q6J("ngForOf",p.legendEntries)("ngForTrackBy",p.trackBy))},dependencies:[f_,m.O5,m.sg],styles:[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .legend-title{white-space:nowrap;overflow:hidden;margin-left:10px;margin-bottom:5px;font-size:14px;font-weight:700}.chart-legend ul,.chart-legend li{padding:0;margin:0;list-style:none}.chart-legend .horizontal-legend li{display:inline-block}.chart-legend .legend-wrap{width:calc(100% - 10px)}.chart-legend .legend-labels{line-height:85%;list-style:none;text-align:left;float:left;width:100%;border-radius:3px;overflow-y:auto;overflow-x:hidden;white-space:nowrap;background:rgba(0,0,0,.05)}.chart-legend .legend-label{cursor:pointer;font-size:90%;margin:8px;color:#afb7c8}.chart-legend .legend-label:hover{color:#000;transition:.2s}.chart-legend .legend-label .active .legend-label-text{color:#000}.chart-legend .legend-label-color{display:inline-block;height:15px;width:15px;margin-right:5px;color:#5b646b;border-radius:3px}.chart-legend .legend-label-text{display:inline-block;vertical-align:top;line-height:15px;font-size:12px;width:calc(100% - 20px);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chart-legend .legend-title-text{vertical-align:bottom;display:inline-block;line-height:16px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}\n"],encapsulation:2,changeDetection:0}),u})(),vd=(()=>{class u{constructor(){this.showLegend=!1,this.animations=!0,this.legendLabelClick=new c.vpe,this.legendLabelActivate=new c.vpe,this.legendLabelDeactivate=new c.vpe,this.LegendPosition=bs,this.LegendType=Lc}ngOnChanges(r){this.update()}update(){let r=0;this.showLegend&&(this.legendType=this.getLegendType(),(!this.legendOptions||this.legendOptions.position===bs.Right)&&(r=this.legendType===Lc.ScaleLegend?1:2)),this.chartWidth=Math.floor(this.view[0]*(12-r)/12),this.legendWidth=this.legendOptions&&this.legendOptions.position!==bs.Right?this.chartWidth:Math.floor(this.view[0]*r/12)}getLegendType(){return this.legendOptions.scaleType===Pi.Linear?Lc.ScaleLegend:Lc.Legend}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275cmp=c.Xpm({type:u,selectors:[["ngx-charts-chart"]],inputs:{view:"view",showLegend:"showLegend",legendOptions:"legendOptions",legendType:"legendType",activeEntries:"activeEntries",animations:"animations"},outputs:{legendLabelClick:"legendLabelClick",legendLabelActivate:"legendLabelActivate",legendLabelDeactivate:"legendLabelDeactivate"},features:[c._Bn([Cd]),c.TTD],ngContentSelectors:ip,decls:5,vars:8,consts:[[1,"ngx-charts-outer"],[1,"ngx-charts"],["class","chart-legend",3,"horizontal","valueRange","colors","height","width",4,"ngIf"],["class","chart-legend",3,"horizontal","data","title","colors","height","width","activeEntries","labelClick","labelActivate","labelDeactivate",4,"ngIf"],[1,"chart-legend",3,"horizontal","valueRange","colors","height","width"],[1,"chart-legend",3,"horizontal","data","title","colors","height","width","activeEntries","labelClick","labelActivate","labelDeactivate"]],template:function(r,p){1&r&&(c.F$t(),c.TgZ(0,"div",0),c.O4$(),c.TgZ(1,"svg",1),c.Hsn(2),c.qZA(),c.YNc(3,xh,1,5,"ngx-charts-scale-legend",2),c.YNc(4,bh,1,7,"ngx-charts-legend",3),c.qZA()),2&r&&(c.Udp("width",p.view[0],"px")("height",p.view[1],"px"),c.xp6(1),c.uIk("width",p.chartWidth)("height",p.view[1]),c.xp6(2),c.Q6J("ngIf",p.showLegend&&p.legendType===p.LegendType.ScaleLegend),c.xp6(1),c.Q6J("ngIf",p.showLegend&&p.legendType===p.LegendType.Legend))},dependencies:[em,jg,m.O5],encapsulation:2,changeDetection:0}),u})(),Wg=(()=>{class u{constructor(r,p){this.element=r,this.zone=p,this.visible=new c.vpe,this.isVisible=!1,this.runCheck()}destroy(){clearTimeout(this.timeout)}onVisibilityChange(){this.zone.run(()=>{this.isVisible=!0,this.visible.emit(!0)})}runCheck(){const r=()=>{if(!this.element)return;const{offsetHeight:p,offsetWidth:x}=this.element.nativeElement;p&&x?(clearTimeout(this.timeout),this.onVisibilityChange()):(clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>r(),100)}))};this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>r())})}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(c.SBq),c.Y36(c.R0b))},u.\u0275dir=c.lG2({type:u,selectors:[["visibility-observer"]],outputs:{visible:"visible"}}),u})();function tm(u){return"[object Date]"===toString.call(u)}let C_=(()=>{class u{constructor(r,p,x,D){this.chartElement=r,this.zone=p,this.cd=x,this.platformId=D,this.scheme="cool",this.schemeType=Pi.Ordinal,this.animations=!0,this.select=new c.vpe}ngOnInit(){(0,m.PM)(this.platformId)&&(this.animations=!1)}ngAfterViewInit(){this.bindWindowResizeEvent(),this.visibilityObserver=new Wg(this.chartElement,this.zone),this.visibilityObserver.visible.subscribe(this.update.bind(this))}ngOnDestroy(){this.unbindEvents(),this.visibilityObserver&&(this.visibilityObserver.visible.unsubscribe(),this.visibilityObserver.destroy())}ngOnChanges(r){this.update()}update(){if(this.results=this.results?this.cloneData(this.results):[],this.view)this.width=this.view[0],this.height=this.view[1];else{const r=this.getContainerDims();r&&(this.width=r.width,this.height=r.height)}this.width||(this.width=600),this.height||(this.height=400),this.width=Math.floor(this.width),this.height=Math.floor(this.height),this.cd&&this.cd.markForCheck()}getContainerDims(){let r,p;const x=this.chartElement.nativeElement;if((0,m.NF)(this.platformId)&&null!==x.parentNode){const D=x.parentNode.getBoundingClientRect();r=D.width,p=D.height}return r&&p?{width:r,height:p}:null}formatDates(){for(let r=0;r{this.update(),this.cd&&this.cd.markForCheck()});this.resizeSubscription=p}cloneData(r){const p=[];for(const x of r){const D={name:x.name};if(void 0!==x.value&&(D.value=x.value),void 0!==x.series){D.series=[];for(const I of x.series){const V=Object.assign({},I);D.series.push(V)}}void 0!==x.extra&&(D.extra=JSON.parse(JSON.stringify(x.extra))),p.push(D)}return p}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(c.SBq),c.Y36(c.R0b),c.Y36(c.sBO),c.Y36(c.Lbi))},u.\u0275cmp=c.Xpm({type:u,selectors:[["base-chart"]],inputs:{results:"results",view:"view",scheme:"scheme",schemeType:"schemeType",customColors:"customColors",animations:"animations"},outputs:{select:"select"},features:[c.TTD],decls:1,vars:0,template:function(r,p){1&r&&c._UZ(0,"div")},encapsulation:2}),u})();var Io=(()=>{return(u=Io||(Io={})).Top="top",u.Bottom="bottom",u.Left="left",u.Right="right",Io;var u})();let im=(()=>{class u{constructor(r){this.textHeight=25,this.margin=5,this.element=r.nativeElement}ngOnChanges(r){this.update()}update(){switch(this.strokeWidth="0.01",this.textAnchor="middle",this.transform="",this.orient){case Io.Top:case Io.Bottom:this.y=this.offset,this.x=this.width/2;break;case Io.Left:this.y=-(this.offset+this.textHeight+this.margin),this.x=-this.height/2,this.transform="rotate(270)";break;case Io.Right:this.y=this.offset+this.margin,this.x=-this.height/2,this.transform="rotate(270)"}}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(c.SBq))},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-axis-label",""]],inputs:{orient:"orient",label:"label",offset:"offset",width:"width",height:"height"},features:[c.TTD],attrs:np,decls:2,vars:6,template:function(r,p){1&r&&(c.O4$(),c.TgZ(0,"text"),c._uU(1),c.qZA()),2&r&&(c.uIk("stroke-width",p.strokeWidth)("x",p.x)("y",p.y)("text-anchor",p.textAnchor)("transform",p.transform),c.xp6(1),c.hij(" ",p.label," "))},encapsulation:2,changeDetection:0}),u})();function ic(u,f=16){return"string"!=typeof u?"number"==typeof u?u+"":"":(u=u.trim()).length<=f?u:`${u.slice(0,f)}...`}function xd(u,f){if(u.length>f){const r=[],p=Math.floor(u.length/f);for(let x=0;x{return(u=Ir||(Ir={})).Start="start",u.Middle="middle",u.End="end",Ir;var u})();let nm=(()=>{class u{constructor(r){this.platformId=r,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.rotateTicks=!0,this.dimensionsChanged=new c.vpe,this.verticalSpacing=20,this.rotateLabels=!1,this.innerTickSize=6,this.outerTickSize=6,this.tickPadding=3,this.textAnchor=Ir.Middle,this.maxTicksLength=0,this.maxAllowedLength=16,this.height=0,this.approxHeight=10}ngOnChanges(r){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!(0,m.NF)(this.platformId))return void this.dimensionsChanged.emit({height:this.approxHeight});const r=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().height,10);r!==this.height&&(this.height=r,this.dimensionsChanged.emit({height:this.height}),setTimeout(()=>this.updateDims()))}update(){const r=this.scale;this.ticks=this.getTicks(),this.tickFormat=this.tickFormatting?this.tickFormatting:r.tickFormat?r.tickFormat.apply(r,this.tickArguments):function(x){return"Date"===x.constructor.name?x.toLocaleDateString():x.toLocaleString()};const p=this.rotateTicks?this.getRotationAngle(this.ticks):null;this.adjustedScale=this.scale.bandwidth?function(x){return this.scale(x)+.5*this.scale.bandwidth()}:this.scale,this.textTransform="",p&&0!==p?(this.textTransform=`rotate(${p})`,this.textAnchor=Ir.End,this.verticalSpacing=10):this.textAnchor=Ir.Middle,setTimeout(()=>this.updateDims())}getRotationAngle(r){let p=0;this.maxTicksLength=0;for(let fe=0;fethis.maxTicksLength&&(this.maxTicksLength=dt)}const I=7*Math.min(this.maxTicksLength,this.maxAllowedLength);let V=I;const me=Math.floor(this.width/r.length);for(;V>me&&p>-90;)p-=30,V=Math.cos(p*(Math.PI/180))*I;return this.approxHeight=Math.max(Math.abs(Math.sin(p*(Math.PI/180))*I),10),p}getTicks(){let r;const p=this.getMaxTicks(20),x=this.getMaxTicks(100);return this.tickValues?r=this.tickValues:this.scale.ticks?r=this.scale.ticks.apply(this.scale,[x]):(r=this.scale.domain(),r=xd(r,p)),r}getMaxTicks(r){return Math.floor(this.width/r)}tickTransform(r){return"translate("+this.adjustedScale(r)+","+this.verticalSpacing+")"}gridLineTransform(){return`translate(0,${-this.verticalSpacing-5})`}tickTrim(r){return this.trimTicks?ic(r,this.maxTickLength):r}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(c.Lbi))},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-x-axis-ticks",""]],viewQuery:function(r,p){if(1&r&&c.Gf(dg,5),2&r){let x;c.iGM(x=c.CRH())&&(p.ticksElement=x.first)}},inputs:{scale:"scale",orient:"orient",tickArguments:"tickArguments",tickValues:"tickValues",tickStroke:"tickStroke",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",gridLineHeight:"gridLineHeight",width:"width",rotateTicks:"rotateTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[c.TTD],attrs:ap,decls:4,vars:2,consts:[["ticksel",""],["class","tick",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[1,"tick"],["stroke-width","0.01"],[4,"ngIf"],["y2","0",1,"gridline-path","gridline-path-vertical"]],template:function(r,p){1&r&&(c.O4$(),c.TgZ(0,"g",null,0),c.YNc(2,oC,5,7,"g",1),c.qZA(),c.YNc(3,ug,2,2,"g",2)),2&r&&(c.xp6(2),c.Q6J("ngForOf",p.ticks),c.xp6(1),c.Q6J("ngForOf",p.ticks))},dependencies:[m.sg,m.O5],encapsulation:2,changeDetection:0}),u})(),qg=(()=>{class u{constructor(){this.rotateTicks=!0,this.showGridLines=!1,this.xOrient=Io.Bottom,this.xAxisOffset=0,this.dimensionsChanged=new c.vpe,this.xAxisClassName="x axis",this.labelOffset=0,this.fill="none",this.stroke="stroke",this.tickStroke="#ccc",this.strokeWidth="none",this.padding=5,this.orientation=Io}ngOnChanges(r){this.update()}update(){this.transform=`translate(0,${this.xAxisOffset+this.padding+this.dims.height})`,void 0!==this.xAxisTickCount&&(this.tickArguments=[this.xAxisTickCount])}emitTicksHeight({height:r}){const p=r+25+5;p!==this.labelOffset&&(this.labelOffset=p,setTimeout(()=>{this.dimensionsChanged.emit({height:r})},0))}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-x-axis",""]],viewQuery:function(r,p){if(1&r&&c.Gf(nm,5),2&r){let x;c.iGM(x=c.CRH())&&(p.ticksComponent=x.first)}},inputs:{xScale:"xScale",dims:"dims",trimTicks:"trimTicks",rotateTicks:"rotateTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",showLabel:"showLabel",labelText:"labelText",ticks:"ticks",xAxisTickCount:"xAxisTickCount",xOrient:"xOrient",xAxisOffset:"xAxisOffset"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[c.TTD],attrs:Qu,decls:3,vars:4,consts:[["ngx-charts-x-axis-ticks","",3,"trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","width","tickValues","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["ngx-charts-x-axis-ticks","",3,"trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","width","tickValues","dimensionsChanged"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(r,p){1&r&&(c.O4$(),c.TgZ(0,"g"),c.YNc(1,rC,1,12,"g",0),c.YNc(2,yh,1,5,"g",1),c.qZA()),2&r&&(c.uIk("class",p.xAxisClassName)("transform",p.transform),c.xp6(1),c.Q6J("ngIf",p.xScale),c.xp6(1),c.Q6J("ngIf",p.showLabel))},dependencies:[nm,im,m.O5],encapsulation:2,changeDetection:0}),u})();function Oc(u,f,r,p,x,[D,I,V,me]){let fe="";return fe=`M${[u+x,f]}`,fe+="h"+((r=0===(r=Math.floor(r))?1:r)-2*x),fe+=I?`a${[x,x]} 0 0 1 ${[x,x]}`:`h${x}v${x}`,fe+="v"+((p=0===(p=Math.floor(p))?1:p)-2*x),fe+=me?`a${[x,x]} 0 0 1 ${[-x,x]}`:`v${x}h${-x}`,fe+="h"+(2*x-r),fe+=V?`a${[x,x]} 0 0 1 ${[-x,-x]}`:`h${-x}v${-x}`,fe+="v"+(2*x-p),fe+=D?`a${[x,x]} 0 0 1 ${[x,-x]}`:`v${-x}h${x}`,fe+="z",fe}let Jg=(()=>{class u{constructor(r){this.platformId=r,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.showRefLabels=!1,this.showRefLines=!1,this.dimensionsChanged=new c.vpe,this.innerTickSize=6,this.tickPadding=3,this.verticalSpacing=20,this.textAnchor=Ir.Middle,this.width=0,this.outerTickSize=6,this.rotateLabels=!1,this.referenceLineLength=0,this.Orientation=Io}ngOnChanges(r){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!(0,m.NF)(this.platformId))return this.width=this.getApproximateAxisWidth(),void this.dimensionsChanged.emit({width:this.width});const r=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().width,10);r!==this.width&&(this.width=r,this.dimensionsChanged.emit({width:r}),setTimeout(()=>this.updateDims()))}update(){const r=this.scale,p=this.orient===Io.Top||this.orient===Io.Right?-1:1;switch(this.tickSpacing=Math.max(this.innerTickSize,0)+this.tickPadding,this.ticks=this.getTicks(),this.tickFormat=this.tickFormatting?this.tickFormatting:r.tickFormat?r.tickFormat.apply(r,this.tickArguments):function(x){return"Date"===x.constructor.name?x.toLocaleDateString():x.toLocaleString()},this.adjustedScale=r.bandwidth?function(x){return r(x)+.5*r.bandwidth()}:r,this.showRefLines&&this.referenceLines&&this.setReferencelines(),this.orient){case Io.Top:case Io.Bottom:this.transform=function(x){return"translate("+this.adjustedScale(x)+",0)"},this.textAnchor=Ir.Middle,this.y2=this.innerTickSize*p,this.y1=this.tickSpacing*p,this.dy=p<0?"0em":".71em";break;case Io.Left:this.transform=function(x){return"translate(0,"+this.adjustedScale(x)+")"},this.textAnchor=Ir.End,this.x2=this.innerTickSize*-p,this.x1=this.tickSpacing*-p,this.dy=".32em";break;case Io.Right:this.transform=function(x){return"translate(0,"+this.adjustedScale(x)+")"},this.textAnchor=Ir.Start,this.x2=this.innerTickSize*-p,this.x1=this.tickSpacing*-p,this.dy=".32em"}setTimeout(()=>this.updateDims())}setReferencelines(){this.refMin=this.adjustedScale(Math.min.apply(null,this.referenceLines.map(r=>r.value))),this.refMax=this.adjustedScale(Math.max.apply(null,this.referenceLines.map(r=>r.value))),this.referenceLineLength=this.referenceLines.length,this.referenceAreaPath=Oc(0,this.refMax,this.gridLineWidth,this.refMin-this.refMax,0,[!1,!1,!1,!1])}getTicks(){let r;const p=this.getMaxTicks(20),x=this.getMaxTicks(50);return this.tickValues?r=this.tickValues:this.scale.ticks?r=this.scale.ticks.apply(this.scale,[x]):(r=this.scale.domain(),r=xd(r,p)),r}getMaxTicks(r){return Math.floor(this.height/r)}tickTransform(r){return`translate(${this.adjustedScale(r)},${this.verticalSpacing})`}gridLineTransform(){return"translate(5,0)"}tickTrim(r){return this.trimTicks?ic(r,this.maxTickLength):r}getApproximateAxisWidth(){return 7*Math.max(...this.ticks.map(x=>this.tickTrim(this.tickFormat(x)).length))}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(c.Lbi))},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-y-axis-ticks",""]],viewQuery:function(r,p){if(1&r&&c.Gf(dg,5),2&r){let x;c.iGM(x=c.CRH())&&(p.ticksElement=x.first)}},inputs:{scale:"scale",orient:"orient",tickArguments:"tickArguments",tickValues:"tickValues",tickStroke:"tickStroke",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",gridLineWidth:"gridLineWidth",height:"height",referenceLines:"referenceLines",showRefLabels:"showRefLabels",showRefLines:"showRefLines"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[c.TTD],attrs:Hs,decls:6,vars:4,consts:[["ticksel",""],["class","tick",4,"ngFor","ngForOf"],["class","reference-area",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"tick"],["stroke-width","0.01"],[1,"reference-area"],[4,"ngIf"],["class","gridline-path gridline-path-horizontal","x1","0",4,"ngIf"],["x1","0",1,"gridline-path","gridline-path-horizontal"],["x1","0",1,"refline-path","gridline-path-horizontal"],[1,"refline-label"]],template:function(r,p){1&r&&(c.O4$(),c.TgZ(0,"g",null,0),c.YNc(2,vr,5,9,"g",1),c.qZA(),c.YNc(3,w0,1,2,"path",2),c.YNc(4,sC,2,2,"g",3),c.YNc(5,pg,2,1,"g",3)),2&r&&(c.xp6(2),c.Q6J("ngForOf",p.ticks),c.xp6(1),c.Q6J("ngIf",p.referenceLineLength>1&&p.refMax&&p.refMin&&p.showRefLines),c.xp6(1),c.Q6J("ngForOf",p.ticks),c.xp6(1),c.Q6J("ngForOf",p.referenceLines))},dependencies:[m.sg,m.O5],encapsulation:2,changeDetection:0}),u})(),am=(()=>{class u{constructor(){this.showGridLines=!1,this.yOrient=Io.Left,this.yAxisOffset=0,this.dimensionsChanged=new c.vpe,this.yAxisClassName="y axis",this.labelOffset=15,this.fill="none",this.stroke="#CCC",this.tickStroke="#CCC",this.strokeWidth=1,this.padding=5}ngOnChanges(r){this.update()}update(){this.offset=-(this.yAxisOffset+this.padding),this.yOrient===Io.Right?(this.labelOffset=65,this.transform=`translate(${this.offset+this.dims.width} , 0)`):this.transform=`translate(${this.offset} , 0)`,void 0!==this.yAxisTickCount&&(this.tickArguments=[this.yAxisTickCount])}emitTicksWidth({width:r}){r!==this.labelOffset&&this.yOrient===Io.Right?(this.labelOffset=r+this.labelOffset,setTimeout(()=>{this.dimensionsChanged.emit({width:r})},0)):r!==this.labelOffset&&(this.labelOffset=r,setTimeout(()=>{this.dimensionsChanged.emit({width:r})},0))}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-y-axis",""]],viewQuery:function(r,p){if(1&r&&c.Gf(Jg,5),2&r){let x;c.iGM(x=c.CRH())&&(p.ticksComponent=x.first)}},inputs:{yScale:"yScale",dims:"dims",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",ticks:"ticks",showGridLines:"showGridLines",showLabel:"showLabel",labelText:"labelText",yAxisTickCount:"yAxisTickCount",yOrient:"yOrient",referenceLines:"referenceLines",showRefLines:"showRefLines",showRefLabels:"showRefLabels",yAxisOffset:"yAxisOffset"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[c.TTD],attrs:hg,decls:3,vars:4,consts:[["ngx-charts-y-axis-ticks","",3,"trimTicks","maxTickLength","tickFormatting","tickArguments","tickValues","tickStroke","scale","orient","showGridLines","gridLineWidth","referenceLines","showRefLines","showRefLabels","height","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["ngx-charts-y-axis-ticks","",3,"trimTicks","maxTickLength","tickFormatting","tickArguments","tickValues","tickStroke","scale","orient","showGridLines","gridLineWidth","referenceLines","showRefLines","showRefLabels","height","dimensionsChanged"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(r,p){1&r&&(c.O4$(),c.TgZ(0,"g"),c.YNc(1,Mh,1,14,"g",0),c.YNc(2,cC,1,5,"g",1),c.qZA()),2&r&&(c.uIk("class",p.yAxisClassName)("transform",p.transform),c.xp6(1),c.Q6J("ngIf",p.yScale),c.xp6(1),c.Q6J("ngIf",p.showLabel))},dependencies:[Jg,im,m.O5],encapsulation:2,changeDetection:0}),u})(),Nt=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=c.oAB({type:u}),u.\u0275inj=c.cJS({imports:[[m.ez]]}),u})();var zi=(()=>{return(u=zi||(zi={})).popover="popover",u.tooltip="tooltip",zi;var u})(),nn=(()=>{return(u=nn||(nn={}))[u.all="all"]="all",u[u.focus="focus"]="focus",u[u.mouseover="mouseover"]="mouseover",nn;var u})();let ua=(()=>{class u{constructor(r,p,x){this.tooltipService=r,this.viewContainerRef=p,this.renderer=x,this.tooltipCssClass="",this.tooltipAppendToBody=!0,this.tooltipSpacing=10,this.tooltipDisabled=!1,this.tooltipShowCaret=!0,this.tooltipPlacement=On.Top,this.tooltipAlignment=On.Center,this.tooltipType=zi.popover,this.tooltipCloseOnClickOutside=!0,this.tooltipCloseOnMouseLeave=!0,this.tooltipHideTimeout=300,this.tooltipShowTimeout=100,this.tooltipShowEvent=nn.all,this.tooltipImmediateExit=!1,this.show=new c.vpe,this.hide=new c.vpe}get listensForFocus(){return this.tooltipShowEvent===nn.all||this.tooltipShowEvent===nn.focus}get listensForHover(){return this.tooltipShowEvent===nn.all||this.tooltipShowEvent===nn.mouseover}ngOnDestroy(){this.hideTooltip(!0)}onFocus(){this.listensForFocus&&this.showTooltip()}onBlur(){this.listensForFocus&&this.hideTooltip(!0)}onMouseEnter(){this.listensForHover&&this.showTooltip()}onMouseLeave(r){if(this.listensForHover&&this.tooltipCloseOnMouseLeave){if(clearTimeout(this.timeout),this.component&&this.component.instance.element.nativeElement.contains(r))return;this.hideTooltip(this.tooltipImmediateExit)}}onMouseClick(){this.listensForHover&&this.hideTooltip(!0)}showTooltip(r){if(this.component||this.tooltipDisabled)return;const p=r?0:this.tooltipShowTimeout+(navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)?400:0);clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.tooltipService.destroyAll();const x=this.createBoundOptions();this.component=this.tooltipService.create(x),setTimeout(()=>{this.component&&this.addHideListeners(this.component.instance.element.nativeElement)},10),this.show.emit(!0)},p)}addHideListeners(r){this.mouseEnterContentEvent=this.renderer.listen(r,"mouseenter",()=>{clearTimeout(this.timeout)}),this.tooltipCloseOnMouseLeave&&(this.mouseLeaveContentEvent=this.renderer.listen(r,"mouseleave",()=>{this.hideTooltip(this.tooltipImmediateExit)})),this.tooltipCloseOnClickOutside&&(this.documentClickEvent=this.renderer.listen("window","click",p=>{r.contains(p.target)||this.hideTooltip()}))}hideTooltip(r=!1){if(!this.component)return;const p=()=>{this.mouseLeaveContentEvent&&this.mouseLeaveContentEvent(),this.mouseEnterContentEvent&&this.mouseEnterContentEvent(),this.documentClickEvent&&this.documentClickEvent(),this.hide.emit(!0),this.tooltipService.destroy(this.component),this.component=void 0};clearTimeout(this.timeout),r?p():this.timeout=setTimeout(p,this.tooltipHideTimeout)}createBoundOptions(){return{title:this.tooltipTitle,template:this.tooltipTemplate,host:this.viewContainerRef.element,placement:this.tooltipPlacement,alignment:this.tooltipAlignment,type:this.tooltipType,showCaret:this.tooltipShowCaret,cssClass:this.tooltipCssClass,spacing:this.tooltipSpacing,context:this.tooltipContext}}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(Cd),c.Y36(c.s_b),c.Y36(c.Qsj))},u.\u0275dir=c.lG2({type:u,selectors:[["","ngx-tooltip",""]],hostBindings:function(r,p){1&r&&c.NdJ("focusin",function(){return p.onFocus()})("blur",function(){return p.onBlur()})("mouseenter",function(){return p.onMouseEnter()})("mouseleave",function(D){return p.onMouseLeave(D.target)})("click",function(){return p.onMouseClick()})},inputs:{tooltipCssClass:"tooltipCssClass",tooltipTitle:"tooltipTitle",tooltipAppendToBody:"tooltipAppendToBody",tooltipSpacing:"tooltipSpacing",tooltipDisabled:"tooltipDisabled",tooltipShowCaret:"tooltipShowCaret",tooltipPlacement:"tooltipPlacement",tooltipAlignment:"tooltipAlignment",tooltipType:"tooltipType",tooltipCloseOnClickOutside:"tooltipCloseOnClickOutside",tooltipCloseOnMouseLeave:"tooltipCloseOnMouseLeave",tooltipHideTimeout:"tooltipHideTimeout",tooltipShowTimeout:"tooltipShowTimeout",tooltipTemplate:"tooltipTemplate",tooltipShowEvent:"tooltipShowEvent",tooltipContext:"tooltipContext",tooltipImmediateExit:"tooltipImmediateExit"},outputs:{show:"show",hide:"hide"}}),u})(),$g=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=c.oAB({type:u}),u.\u0275inj=c.cJS({providers:[g_,Cd],imports:[[m.ez]]}),u})();const om={};function kc(){let u=("0000"+(Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4);return u=`a${u}`,om[u]?kc():(om[u]=!0,u)}var pi=(()=>{return(u=pi||(pi={})).Vertical="vertical",u.Horizontal="horizontal",pi;var u})();let Al=(()=>{class u{constructor(){this.orientation=pi.Vertical}ngOnChanges(r){this.x1="0%",this.x2="0%",this.y1="0%",this.y2="0%",this.orientation===pi.Horizontal?this.x2="100%":this.orientation===pi.Vertical&&(this.y1="100%")}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-svg-linear-gradient",""]],inputs:{orientation:"orientation",name:"name",stops:"stops"},features:[c.TTD],attrs:nu,decls:2,vars:6,consts:[[3,"id"],[3,"stop-color","stop-opacity",4,"ngFor","ngForOf"]],template:function(r,p){1&r&&(c.O4$(),c.TgZ(0,"linearGradient",0),c.YNc(1,Dh,1,5,"stop",1),c.qZA()),2&r&&(c.Q6J("id",p.name),c.uIk("x1",p.x1)("y1",p.y1)("x2",p.x2)("y2",p.y2),c.xp6(1),c.Q6J("ngForOf",p.stops))},dependencies:[m.sg],encapsulation:2,changeDetection:0}),u})(),kn=(()=>{class u{constructor(){this.select=new c.vpe,this.activate=new c.vpe,this.deactivate=new c.vpe}onClick(){this.select.emit(this.data)}onMouseEnter(){this.activate.emit(this.data)}onMouseLeave(){this.deactivate.emit(this.data)}ngOnChanges(r){this.classNames=Array.isArray(this.classNames)?this.classNames.join(" "):"",this.classNames+="circle"}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-circle",""]],hostBindings:function(r,p){1&r&&c.NdJ("click",function(){return p.onClick()})("mouseenter",function(){return p.onMouseEnter()})("mouseleave",function(){return p.onMouseLeave()})},inputs:{cx:"cx",cy:"cy",r:"r",fill:"fill",stroke:"stroke",data:"data",classNames:"classNames",circleOpacity:"circleOpacity",pointerEvents:"pointerEvents"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[c.TTD],attrs:op,decls:1,vars:8,template:function(r,p){1&r&&(c.O4$(),c._UZ(0,"circle")),2&r&&c.uIk("cx",p.cx)("cy",p.cy)("r",p.r)("fill",p.fill)("stroke",p.stroke)("opacity",p.circleOpacity)("class",p.classNames)("pointer-events",p.pointerEvents)},encapsulation:2,changeDetection:0}),u})();var jr=(()=>{return(u=jr||(jr={})).Standard="standard",u.Stacked="stacked",jr;var u})();let Cn=(()=>{class u{constructor(r){this.platformId=r,this.type=jr.Standard,this.tooltipDisabled=!1,this.select=new c.vpe,this.activate=new c.vpe,this.deactivate=new c.vpe,this.barVisible=!1,this.barOrientation=pi,this.placementTypes=On,this.styleTypes=zi,this.isSSR=!1}ngOnInit(){this.gradientId="grad"+kc().toString(),this.gradientFill=`url(#${this.gradientId})`,(0,m.PM)(this.platformId)&&(this.isSSR=!0)}ngOnChanges(){this.update()}update(){this.circle=this.getActiveCircle()}getActiveCircle(){const r=this.data.series.findIndex(p=>{const x=p.name;return x&&this.visibleValue&&x.toString()===this.visibleValue.toString()&&void 0!==p.value});if(-1!==r)return this.mapDataPointToCircle(this.data.series[r],r)}mapDataPointToCircle(r,p){const x=this.data.name,D=r.value,I=r.name,V=fl(I);let me;me=this.xScale(this.scaleType===Pi.Time?I:this.scaleType===Pi.Linear?Number(I):I);const fe=this.yScale(this.type===jr.Standard?D:r.d1),dt=this.yScale.range()[0]-fe;let wt;return wt=this.colors.getColor(this.colors.scaleType===Pi.Linear?this.type===jr.Standard?D:r.d1:x),{classNames:[`circle-data-${p}`],value:D,label:I,data:Object.assign({},r,{series:x,value:D,name:I}),cx:me,cy:fe,radius:5,height:dt,tooltipLabel:V,color:wt,opacity:1,seriesName:x,gradientStops:this.getGradientStops(wt),min:r.min,max:r.max}}getTooltipText({tooltipLabel:r,value:p,seriesName:x,min:D,max:I}){return`\n ${tc(x)} \u2022 ${tc(r)}\n ${p.toLocaleString()}${this.getTooltipMinMaxText(D,I)}\n `}getTooltipMinMaxText(r,p){if(void 0!==r||void 0!==p){let x=" (";return void 0!==r?(void 0===p&&(x+="\u2265"),x+=r.toLocaleString(),void 0!==p&&(x+=" - ")):void 0!==p&&(x+="\u2264"),void 0!==p&&(x+=p.toLocaleString()),x+=")",x}return""}getGradientStops(r){return[{offset:0,color:r,opacity:.2},{offset:100,color:r,opacity:1}]}onClick(r){this.select.emit(r)}isActive(r){return!!this.activeEntries&&void 0!==this.activeEntries.find(x=>r.name===x.name)}activateCircle(){this.barVisible=!0,this.activate.emit({name:this.data.name})}deactivateCircle(){this.barVisible=!1,this.circle.opacity=0,this.deactivate.emit({name:this.data.name})}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(c.Lbi))},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-circle-series",""]],inputs:{data:"data",type:"type",xScale:"xScale",yScale:"yScale",colors:"colors",scaleType:"scaleType",visibleValue:"visibleValue",activeEntries:"activeEntries",tooltipDisabled:"tooltipDisabled",tooltipTemplate:"tooltipTemplate"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[c.TTD],attrs:au,decls:1,vars:1,consts:[[4,"ngIf"],["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops"],["class","tooltip-bar",4,"ngIf"],["ngx-charts-circle","","ngx-tooltip","",1,"circle",3,"cx","cy","r","fill","pointerEvents","data","classNames","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate"],[1,"tooltip-bar"]],template:function(r,p){1&r&&c.YNc(0,dC,6,22,"g",0),2&r&&c.Q6J("ngIf",p.circle)},dependencies:[Al,kn,m.O5,ua],encapsulation:2,data:{animation:[(0,F.X$)("animationState",[(0,F.eR)(":enter",[(0,F.oB)({opacity:0}),(0,F.jt)(250,(0,F.oB)({opacity:1}))])])]},changeDetection:0}),u})(),yd=(()=>{class u{constructor(){this.endOpacity=1,this.cx=0,this.cy=0}get stops(){return this.stopsInput||this.stopsDefault}set stops(r){this.stopsInput=r}ngOnChanges(r){this.r="30%",("color"in r||"startOpacity"in r||"endOpacity"in r)&&(this.stopsDefault=[{offset:0,color:this.color,opacity:this.startOpacity},{offset:100,color:this.color,opacity:this.endOpacity}])}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-svg-radial-gradient",""]],inputs:{color:"color",name:"name",startOpacity:"startOpacity",endOpacity:"endOpacity",cx:"cx",cy:"cy",stops:"stops"},features:[c.TTD],attrs:Sh,decls:2,vars:5,consts:[["gradientUnits","userSpaceOnUse",3,"id"],[3,"stop-color","stop-opacity",4,"ngFor","ngForOf"]],template:function(r,p){1&r&&(c.O4$(),c.TgZ(0,"radialGradient",0),c.YNc(1,gg,1,5,"stop",1),c.qZA()),2&r&&(c.Q6J("id",p.name),c.uIk("cx",p.cx)("cy",p.cy)("r",p.r),c.xp6(1),c.Q6J("ngForOf",p.stops))},dependencies:[m.sg],encapsulation:2,changeDetection:0}),u})(),Xg=(()=>{class u{constructor(r){this.opacity=1,this.startOpacity=.5,this.endOpacity=1,this.gradient=!1,this.animations=!0,this.select=new c.vpe,this.animationsLoaded=!1,this.hasGradient=!1,this.barOrientation=pi,this.element=r.nativeElement}ngOnChanges(){this.update(),this.animationsLoaded||(this.loadAnimation(),this.animationsLoaded=!0)}update(){this.gradientId="grad"+kc().toString(),this.gradientFill=`url(#${this.gradientId})`,this.gradient||this.stops?(this.gradientStops=this.getGradient(),this.hasGradient=!0):this.hasGradient=!1,this.updatePathEl()}loadAnimation(){this.areaPath=this.startingPath,setTimeout(this.updatePathEl.bind(this),100)}updatePathEl(){const r=Zn(this.element).select(".area");this.animations?r.transition().duration(750).attr("d",this.path):r.attr("d",this.path)}getGradient(){return this.stops?this.stops:[{offset:0,color:this.fill,opacity:this.startOpacity},{offset:100,color:this.fill,opacity:this.endOpacity}]}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(c.SBq))},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-area",""]],inputs:{data:"data",path:"path",startingPath:"startingPath",fill:"fill",opacity:"opacity",startOpacity:"startOpacity",endOpacity:"endOpacity",gradient:"gradient",stops:"stops",animations:"animations"},outputs:{select:"select"},features:[c.TTD],attrs:fg,decls:2,vars:5,consts:[[4,"ngIf"],[1,"area"],["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops"]],template:function(r,p){1&r&&(c.YNc(0,Ah,2,3,"defs",0),c.O4$(),c._UZ(1,"path",1)),2&r&&(c.Q6J("ngIf",p.gradient),c.xp6(1),c.Udp("opacity",p.opacity),c.uIk("d",p.areaPath)("fill",p.gradient?p.gradientFill:p.fill))},dependencies:[Al,m.O5],encapsulation:2,changeDetection:0}),u})();function ef(u,f,r,p){return r*(1-Math.pow(2,-10*u/p))*1024/1023+f}function tf(u,f,r,p,x){const D=Number(u),I=Number(f),V=D>I,me=Math.max(0,r),fe=Math.pow(10,me),Ue=1e3*Number(p);let dt;function ft(wt){let oi;const Mi=wt-dt;oi=V?D-ef(Mi,0,D-I,Ue):ef(Mi,D,I-D,Ue),oi=V?oiI?I:oi,oi=Math.round(oi*fe)/fe;const St=Mift(yi))}return requestAnimationFrame(wt=>(dt=wt,ft(wt)))}let nf,wp=(()=>{class u{constructor(r,p){this.cd=r,this.countDuration=1,this.countPrefix="",this.countSuffix="",this.countChange=new c.vpe,this.countFinish=new c.vpe,this.value="",this._countDecimals=0,this._countTo=0,this._countFrom=0,this.nativeElement=p.nativeElement}set countDecimals(r){this._countDecimals=r}get countDecimals(){return this._countDecimals?this._countDecimals:function JC(u){const f=Number(u);return f%1!=0&&Math.abs(f)<=10?2:0}(this.countTo)}set countTo(r){this._countTo=parseFloat(r),this.start()}get countTo(){return this._countTo}set countFrom(r){this._countFrom=parseFloat(r),this.start()}get countFrom(){return this._countFrom}ngOnDestroy(){cancelAnimationFrame(this.animationReq)}start(){cancelAnimationFrame(this.animationReq);const r=this.valueFormatting||(x=>`${this.countPrefix}${x.toLocaleString()}${this.countSuffix}`);this.animationReq=tf(this.countFrom,this.countTo,this.countDecimals,this.countDuration,({value:x,progress:D,finished:I})=>{this.value=r(x),this.cd.markForCheck(),I||this.countChange.emit({value:this.value,progress:D}),I&&this.countFinish.emit({value:this.value,progress:D})})}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(c.sBO),c.Y36(c.SBq))},u.\u0275cmp=c.Xpm({type:u,selectors:[["","ngx-charts-count-up",""]],inputs:{countDuration:"countDuration",countPrefix:"countPrefix",countSuffix:"countSuffix",valueFormatting:"valueFormatting",countDecimals:"countDecimals",countTo:"countTo",countFrom:"countFrom"},outputs:{countChange:"countChange",countFinish:"countFinish"},attrs:Lh,decls:1,vars:1,template:function(r,p){1&r&&c._uU(0),2&r&&c.hij(" ",p.value," ")},encapsulation:2}),u})();"undefined"!=typeof window?nf=window:"undefined"!=typeof global&&(nf=global);const Sp=nf.MouseEvent;function v_(u,f=!1,r=!0){if("function"==typeof Sp)return new Sp(u,{bubbles:f,cancelable:r});{const p=document.createEvent("MouseEvent");return p.initEvent(u,f,r),p}}let Vs=(()=>{class u{constructor(r){this.platformId=r,this.anchorOpacity=0,this.anchorPos=-1,this.anchorValues=[],this.placementTypes=On,this.styleTypes=zi,this.showPercentage=!1,this.tooltipDisabled=!1,this.hover=new c.vpe}getValues(r){const p=[];for(const x of this.results){const D=x.series.find(V=>V.name.toString()===r.toString());let I=x.name;if(I instanceof Date&&(I=I.toLocaleDateString()),D){const V=D.name;let fe,me=D.value;if(this.showPercentage&&(me=(D.d1-D.d0).toFixed(2)+"%"),this.colors.scaleType===Pi.Linear){let dt=me;D.d1&&(dt=D.d1),fe=this.colors.getColor(dt)}else fe=this.colors.getColor(x.name);const Ue=Object.assign({},D,{value:me,name:V,series:I,min:D.min,max:D.max,color:fe});p.push(Ue)}}return p}mouseMove(r){if(!(0,m.NF)(this.platformId))return;const p=r.pageX-r.target.getBoundingClientRect().left,x=this.findClosestPointIndex(p),D=this.xSet[x];if(this.anchorPos=this.xScale(D),this.anchorPos=Math.max(0,this.anchorPos),this.anchorPos=Math.min(this.dims.width,this.anchorPos),this.anchorValues=this.getValues(D),this.anchorPos!==this.lastAnchorPos){const I=v_("mouseleave");this.tooltipAnchor.nativeElement.dispatchEvent(I),this.anchorOpacity=.7,this.hover.emit({value:D}),this.showTooltip(),this.lastAnchorPos=this.anchorPos}}findClosestPointIndex(r){let p=0,x=this.xSet.length-1,D=Number.MAX_VALUE,I=0;for(;p<=x;){const V=(p+x)/2|0,me=this.xScale(this.xSet[V]),fe=Math.abs(me-r);if(fer)){D=0,I=V;break}x=V-1}}return I}showTooltip(){const r=v_("mouseenter");this.tooltipAnchor.nativeElement.dispatchEvent(r)}hideTooltip(){const r=v_("mouseleave");this.tooltipAnchor.nativeElement.dispatchEvent(r),this.anchorOpacity=0,this.lastAnchorPos=-1}getToolTipText(r){let p="";return p+=void 0!==r.series?r.series:"???",p+=": ",void 0!==r.value&&(p+=r.value.toLocaleString()),(void 0!==r.min||void 0!==r.max)&&(p+=" (",void 0!==r.min?(void 0===r.max&&(p+="\u2265"),p+=r.min.toLocaleString(),void 0!==r.max&&(p+=" - ")):void 0!==r.max&&(p+="\u2264"),void 0!==r.max&&(p+=r.max.toLocaleString()),p+=")"),p}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(c.Lbi))},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-tooltip-area",""]],viewQuery:function(r,p){if(1&r&&c.Gf(L0,5),2&r){let x;c.iGM(x=c.CRH())&&(p.tooltipAnchor=x.first)}},inputs:{dims:"dims",xSet:"xSet",xScale:"xScale",yScale:"yScale",results:"results",colors:"colors",showPercentage:"showPercentage",tooltipDisabled:"tooltipDisabled",tooltipTemplate:"tooltipTemplate"},outputs:{hover:"hover"},attrs:ld,decls:6,vars:18,consts:[["y","0",1,"tooltip-area",2,"opacity","0","cursor","auto",3,"mousemove","mouseleave"],["defaultTooltipTemplate",""],["y","0","ngx-tooltip","",1,"tooltip-anchor",3,"tooltipDisabled","tooltipPlacement","tooltipType","tooltipSpacing","tooltipTemplate","tooltipContext","tooltipImmediateExit"],["tooltipAnchor",""],[1,"area-tooltip-container"],["class","tooltip-item",4,"ngFor","ngForOf"],[1,"tooltip-item"],[1,"tooltip-item-color"]],template:function(r,p){if(1&r&&(c.O4$(),c.TgZ(0,"g")(1,"rect",0),c.NdJ("mousemove",function(D){return p.mouseMove(D)})("mouseleave",function(){return p.hideTooltip()}),c.qZA(),c.YNc(2,O0,2,1,"ng-template",null,1,c.W1O),c._UZ(4,"rect",2,3),c.qZA()),2&r){const x=c.MAs(3);c.xp6(1),c.uIk("x",0)("width",p.dims.width)("height",p.dims.height),c.xp6(3),c.Udp("opacity",p.anchorOpacity)("pointer-events","none"),c.Q6J("@animationState",0!==p.anchorOpacity?"active":"inactive")("tooltipDisabled",p.tooltipDisabled)("tooltipPlacement",p.placementTypes.Right)("tooltipType",p.styleTypes.tooltip)("tooltipSpacing",15)("tooltipTemplate",p.tooltipTemplate?p.tooltipTemplate:x)("tooltipContext",p.anchorValues)("tooltipImmediateExit",!0),c.uIk("x",p.anchorPos)("width",1)("height",p.dims.height)}},dependencies:[m.sg,ua],encapsulation:2,data:{animation:[(0,F.X$)("animationState",[(0,F.eR)("inactive => active",[(0,F.oB)({opacity:0}),(0,F.jt)(250,(0,F.oB)({opacity:.7}))]),(0,F.eR)("active => inactive",[(0,F.oB)({opacity:.7}),(0,F.jt)(250,(0,F.oB)({opacity:0}))])])]},changeDetection:0}),u})(),af=(()=>{class u{constructor(r,p){this.cd=p,this.height=50,this.select=new c.vpe,this.onDomainChange=new c.vpe,this.initialized=!1,this.element=r.nativeElement}ngOnChanges(r){this.update(),this.initialized||(this.addBrush(),this.initialized=!0)}update(){this.dims=this.getDims(),this.height=this.dims.height;const r=this.view[1]-this.height;this.xDomain=this.getXDomain(),this.xScale=this.getXScale(),this.brush&&this.updateBrush(),this.transform=`translate(0 , ${r})`,this.filterId="filter"+kc().toString(),this.filter=`url(#${this.filterId})`,this.cd.markForCheck()}getXDomain(){let r=[];for(const x of this.results)for(const D of x.series)r.includes(D.name)||r.push(D.name);let p=[];return this.scaleType===Pi.Time?p=[Math.min(...r),Math.max(...r)]:this.scaleType===Pi.Linear?(r=r.map(I=>Number(I)),p=[Math.min(...r),Math.max(...r)]):p=r,p}getXScale(){let r;return this.scaleType===Pi.Time?r=jo().range([0,this.dims.width]).domain(this.xDomain):this.scaleType===Pi.Linear?r=Dc().range([0,this.dims.width]).domain(this.xDomain):this.scaleType===Pi.Ordinal&&(r=eu().range([0,this.dims.width]).padding(.1).domain(this.xDomain)),r}addBrush(){if(this.brush)return;const r=this.height,p=this.view[0];this.brush=function Jc(){return function Co(u){var V,f=Fs,r=bu,p=Bp,x=!0,D=sr("start","brush","end"),I=6;function me(St){var yi=St.property("__brush",Mi).selectAll(".overlay").data([fc("overlay")]);yi.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",Gr.overlay).merge(yi).each(function(){var vi=yu(this).extent;Zn(this).attr("x",vi[0][0]).attr("y",vi[0][1]).attr("width",vi[1][0]-vi[0][0]).attr("height",vi[1][1]-vi[0][1])}),St.selectAll(".selection").data([fc("selection")]).enter().append("rect").attr("class","selection").attr("cursor",Gr.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var bi=St.selectAll(".handle").data(u.handles,function(vi){return vi.type});bi.exit().remove(),bi.enter().append("rect").attr("class",function(vi){return"handle handle--"+vi.type}).attr("cursor",function(vi){return Gr[vi.type]}),St.each(fe).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",ft).filter(p).on("touchstart.brush",ft).on("touchmove.brush",wt).on("touchend.brush touchcancel.brush",oi).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function fe(){var St=Zn(this),yi=yu(this).selection;yi?(St.selectAll(".selection").style("display",null).attr("x",yi[0][0]).attr("y",yi[0][1]).attr("width",yi[1][0]-yi[0][0]).attr("height",yi[1][1]-yi[0][1]),St.selectAll(".handle").style("display",null).attr("x",function(bi){return"e"===bi.type[bi.type.length-1]?yi[1][0]-I/2:yi[0][0]-I/2}).attr("y",function(bi){return"s"===bi.type[0]?yi[1][1]-I/2:yi[0][1]-I/2}).attr("width",function(bi){return"n"===bi.type||"s"===bi.type?yi[1][0]-yi[0][0]+I:I}).attr("height",function(bi){return"e"===bi.type||"w"===bi.type?yi[1][1]-yi[0][1]+I:I})):St.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function Ue(St,yi,bi){var vi=St.__brush.emitter;return!vi||bi&&vi.clean?new dt(St,yi,bi):vi}function dt(St,yi,bi){this.that=St,this.args=yi,this.state=St.__brush,this.active=0,this.clean=bi}function ft(St){if((!V||St.touches)&&r.apply(this,arguments)){var ea,ji,Yi,ta,pa,qn,ia,Ga,kl,Il,os,yi=this,bi=St.target.__data__.type,vi="selection"===(x&&St.metaKey?bi="overlay":bi)?ro:x&&St.altKey?fo:Wa,Zi=u===qc?null:so[bi],Ki=u===Ud?null:Rs[bi],Ei=yu(yi),_a=Ei.extent,jn=Ei.selection,wa=_a[0][0],qi=_a[0][1],bo=_a[1][0],Po=_a[1][1],Na=0,Za=0,Pr=Zi&&Ki&&x&&St.shiftKey,Ro=Array.from(St.touches||[St],wn=>{const po=wn.identifier;return(wn=ws(wn,yi)).point0=wn.slice(),wn.identifier=po,wn});if("overlay"===bi){jn&&(kl=!0);const wn=[Ro[0],Ro[1]||Ro[0]];Ei.selection=jn=[[ea=u===qc?wa:da(wn[0][0],wn[1][0]),Yi=u===Ud?qi:da(wn[0][1],wn[1][1])],[pa=u===qc?bo:aa(wn[0][0],wn[1][0]),ia=u===Ud?Po:aa(wn[0][1],wn[1][1])]],Ro.length>1&&_o()}else ea=jn[0][0],Yi=jn[0][1],pa=jn[1][0],ia=jn[1][1];ji=ea,ta=Yi,qn=pa,Ga=ia;var ac=Zn(yi).attr("pointer-events","none"),Fi=ac.selectAll(".overlay").attr("cursor",Gr[bi]);Qs(yi);var En=Ue(yi,arguments,!0).beforestart();if(St.touches)En.moved=mi,En.ended=Da;else{var Jn=Zn(St.view).on("mousemove.brush",mi,!0).on("mouseup.brush",Da,!0);x&&Jn.on("keydown.brush",Wr,!0).on("keyup.brush",Rr,!0),Fr(St.view)}fe.call(yi),En.start(St,vi.name)}function mi(wn){for(const po of wn.changedTouches||[wn])for(const T_ of Ro)T_.identifier===po.identifier&&(T_.cur=ws(po,yi));if(Pr&&!Il&&!os&&1===Ro.length){const po=Ro[0];il(po.cur[0]-po[0])>il(po.cur[1]-po[1])?os=!0:Il=!0}for(const po of Ro)po.cur&&(po[0]=po.cur[0],po[1]=po.cur[1]);kl=!0,Pn(wn),_o(wn)}function _o(wn){const po=Ro[0],T_=po.point0;var Rc;switch(Na=po[0]-T_[0],Za=po[1]-T_[1],vi){case gr:case ro:Zi&&(Na=aa(wa-ea,da(bo-pa,Na)),ji=ea+Na,qn=pa+Na),Ki&&(Za=aa(qi-Yi,da(Po-ia,Za)),ta=Yi+Za,Ga=ia+Za);break;case Wa:Ro[1]?(Zi&&(ji=aa(wa,da(bo,Ro[0][0])),qn=aa(wa,da(bo,Ro[1][0])),Zi=1),Ki&&(ta=aa(qi,da(Po,Ro[0][1])),Ga=aa(qi,da(Po,Ro[1][1])),Ki=1)):(Zi<0?(Na=aa(wa-ea,da(bo-ea,Na)),ji=ea+Na,qn=pa):Zi>0&&(Na=aa(wa-pa,da(bo-pa,Na)),ji=ea,qn=pa+Na),Ki<0?(Za=aa(qi-Yi,da(Po-Yi,Za)),ta=Yi+Za,Ga=ia):Ki>0&&(Za=aa(qi-ia,da(Po-ia,Za)),ta=Yi,Ga=ia+Za));break;case fo:Zi&&(ji=aa(wa,da(bo,ea-Na*Zi)),qn=aa(wa,da(bo,pa+Na*Zi))),Ki&&(ta=aa(qi,da(Po,Yi-Za*Ki)),Ga=aa(qi,da(Po,ia+Za*Ki)))}qn0&&(ea=ji-Na),Ki<0?ia=Ga-Za:Ki>0&&(Yi=ta-Za),vi=gr,Fi.attr("cursor",Gr.selection),_o());break;default:return}Pn(wn)}function Rr(wn){switch(wn.keyCode){case 16:Pr&&(Il=os=Pr=!1,_o());break;case 18:vi===fo&&(Zi<0?pa=qn:Zi>0&&(ea=ji),Ki<0?ia=Ga:Ki>0&&(Yi=ta),vi=Wa,_o());break;case 32:vi===gr&&(wn.altKey?(Zi&&(pa=qn-Na*Zi,ea=ji+Na*Zi),Ki&&(ia=Ga-Za*Ki,Yi=ta+Za*Ki),vi=fo):(Zi<0?pa=qn:Zi>0&&(ea=ji),Ki<0?ia=Ga:Ki>0&&(Yi=ta),vi=Wa),Fi.attr("cursor",Gr[bi]),_o());break;default:return}Pn(wn)}}function wt(St){Ue(this,arguments).moved(St)}function oi(St){Ue(this,arguments).ended(St)}function Mi(){var St=this.__brush||{selection:null};return St.extent=Xn(f.apply(this,arguments)),St.dim=u,St}return me.move=function(St,yi){St.tween?St.on("start.brush",function(bi){Ue(this,arguments).beforestart().start(bi)}).on("interrupt.brush end.brush",function(bi){Ue(this,arguments).end(bi)}).tween("brush",function(){var bi=this,vi=bi.__brush,Zi=Ue(bi,arguments),Ki=vi.selection,Ei=u.input("function"==typeof yi?yi.apply(this,arguments):yi,vi.extent),_a=Xo(Ki,Ei);function jn(wa){vi.selection=1===wa&&null===Ei?null:_a(wa),fe.call(bi),Zi.brush()}return null!==Ki&&null!==Ei?jn:jn(1)}):St.each(function(){var bi=this,vi=arguments,Zi=bi.__brush,Ki=u.input("function"==typeof yi?yi.apply(bi,vi):yi,Zi.extent),Ei=Ue(bi,vi).beforestart();Qs(bi),Zi.selection=null===Ki?null:Ki,fe.call(bi),Ei.start().brush().end()})},me.clear=function(St){me.move(St,null)},dt.prototype={beforestart:function(){return 1==++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(St,yi){return this.starting?(this.starting=!1,this.emit("start",St,yi)):this.emit("brush",St),this},brush:function(St,yi){return this.emit("brush",St,yi),this},end:function(St,yi){return 0==--this.active&&(delete this.state.emitter,this.emit("end",St,yi)),this},emit:function(St,yi,bi){var vi=Zn(this.that).datum();D.call(St,this.that,new Ti(St,{sourceEvent:yi,target:me,selection:u.output(this.state.selection),mode:bi,dispatch:D}),vi)}},me.extent=function(St){return arguments.length?(f="function"==typeof St?St:ui(Xn(St)),me):f},me.filter=function(St){return arguments.length?(r="function"==typeof St?St:ui(!!St),me):r},me.touchable=function(St){return arguments.length?(p="function"==typeof St?St:ui(!!St),me):p},me.handleSize=function(St){return arguments.length?(I=+St,me):I},me.keyModifiers=function(St){return arguments.length?(x=!!St,me):x},me.on=function(){var St=D.on.apply(D,arguments);return St===D?me:St},me}(Ud)}().extent([[0,0],[p,r]]).on("brush end",({selection:x})=>{const I=(x||this.xScale.range()).map(this.xScale.invert);this.onDomainChange.emit(I),this.cd.markForCheck()}),Zn(this.element).select(".brush").call(this.brush)}updateBrush(){this.brush&&(this.brush.extent([[0,0],[this.view[0],this.height]]),Zn(this.element).select(".brush").call(this.brush),Zn(this.element).select(".selection").attr("fill",void 0).attr("stroke",void 0).attr("fill-opacity",void 0),this.cd.markForCheck())}getDims(){return{width:this.view[0],height:this.height}}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(c.SBq),c.Y36(c.sBO))},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-timeline",""]],inputs:{view:"view",results:"results",scheme:"scheme",customColors:"customColors",legend:"legend",autoScale:"autoScale",scaleType:"scaleType",height:"height"},outputs:{select:"select",onDomainChange:"onDomainChange"},features:[c.TTD],attrs:t_,ngContentSelectors:ip,decls:7,vars:4,consts:[[1,"timeline"],["in","SourceGraphic","type","matrix","values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"],[1,"embedded-chart"],["x","0","y","0",1,"brush-background"],[1,"brush"]],template:function(r,p){1&r&&(c.F$t(),c.O4$(),c.TgZ(0,"g",0)(1,"filter"),c._UZ(2,"feColorMatrix",1),c.qZA(),c.TgZ(3,"g",2),c.Hsn(4),c.qZA(),c._UZ(5,"rect",3)(6,"g",4),c.qZA()),2&r&&(c.uIk("transform",p.transform),c.xp6(1),c.uIk("id",p.filterId),c.xp6(4),c.uIk("width",p.view[0])("height",p.height))},styles:[".timeline .brush-background{fill:#0000000d}.timeline .brush .selection{fill:#0000001a;stroke-width:1px;stroke:#888}.timeline .brush .handle{fill-opacity:0}.timeline .embedded-chart{opacity:.6}\n"],encapsulation:2,changeDetection:0}),u})(),uo=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=c.oAB({type:u}),u.\u0275inj=c.cJS({imports:[[m.ez,Nt,$g],m.ez,Nt,$g]}),u})();function xr({width:u,height:f,margins:r,showXAxis:p=!1,showYAxis:x=!1,xAxisHeight:D=0,yAxisWidth:I=0,showXLabel:V=!1,showYLabel:me=!1,showLegend:fe=!1,legendType:Ue=Pi.Ordinal,legendPosition:dt=bs.Right,columns:ft=12}){let wt=r[3],oi=u,Mi=f-r[0]-r[2];return fe&&dt===bs.Right&&(ft-=Ue===Pi.Ordinal?2:1),oi=oi*ft/12,oi=oi-r[1]-r[3],p&&(Mi-=5,Mi-=D,V&&(Mi-=30)),x&&(oi-=5,oi-=I,wt+=I,wt+=10,me&&(oi-=30,wt+=30)),oi=Math.max(0,oi),Mi=Math.max(0,Mi),{width:Math.floor(oi),height:Math.floor(Mi),xOffset:Math.floor(wt)}}const Rn=[{name:"vivid",selectable:!0,group:Pi.Ordinal,domain:["#647c8a","#3f51b5","#2196f3","#00b862","#afdf0a","#a7b61a","#f3e562","#ff9800","#ff5722","#ff4514"]},{name:"natural",selectable:!0,group:Pi.Ordinal,domain:["#bf9d76","#e99450","#d89f59","#f2dfa7","#a5d7c6","#7794b1","#afafaf","#707160","#ba9383","#d9d5c3"]},{name:"cool",selectable:!0,group:Pi.Ordinal,domain:["#a8385d","#7aa3e5","#a27ea8","#aae3f5","#adcded","#a95963","#8796c0","#7ed3ed","#50abcc","#ad6886"]},{name:"fire",selectable:!0,group:Pi.Ordinal,domain:["#ff3d00","#bf360c","#ff8f00","#ff6f00","#ff5722","#e65100","#ffca28","#ffab00"]},{name:"solar",selectable:!0,group:Pi.Linear,domain:["#fff8e1","#ffecb3","#ffe082","#ffd54f","#ffca28","#ffc107","#ffb300","#ffa000","#ff8f00","#ff6f00"]},{name:"air",selectable:!0,group:Pi.Linear,domain:["#e1f5fe","#b3e5fc","#81d4fa","#4fc3f7","#29b6f6","#03a9f4","#039be5","#0288d1","#0277bd","#01579b"]},{name:"aqua",selectable:!0,group:Pi.Linear,domain:["#e0f7fa","#b2ebf2","#80deea","#4dd0e1","#26c6da","#00bcd4","#00acc1","#0097a7","#00838f","#006064"]},{name:"flame",selectable:!1,group:Pi.Ordinal,domain:["#A10A28","#D3342D","#EF6D49","#FAAD67","#FDDE90","#DBED91","#A9D770","#6CBA67","#2C9653","#146738"]},{name:"ocean",selectable:!1,group:Pi.Ordinal,domain:["#1D68FB","#33C0FC","#4AFFFE","#AFFFFF","#FFFC63","#FDBD2D","#FC8A25","#FA4F1E","#FA141B","#BA38D1"]},{name:"forest",selectable:!1,group:Pi.Ordinal,domain:["#55C22D","#C1F33D","#3CC099","#AFFFFF","#8CFC9D","#76CFFA","#BA60FB","#EE6490","#C42A1C","#FC9F32"]},{name:"horizon",selectable:!1,group:Pi.Ordinal,domain:["#2597FB","#65EBFD","#99FDD0","#FCEE4B","#FEFCFA","#FDD6E3","#FCB1A8","#EF6F7B","#CB96E8","#EFDEE0"]},{name:"neons",selectable:!1,group:Pi.Ordinal,domain:["#FF3333","#FF33FF","#CC33FF","#0000FF","#33CCFF","#33FFFF","#33FF66","#CCFF33","#FFCC00","#FF6600"]},{name:"picnic",selectable:!1,group:Pi.Ordinal,domain:["#FAC51D","#66BD6D","#FAA026","#29BB9C","#E96B56","#55ACD2","#B7332F","#2C83C9","#9166B8","#92E7E8"]},{name:"night",selectable:!1,group:Pi.Ordinal,domain:["#2B1B5A","#501356","#183356","#28203F","#391B3C","#1E2B3C","#120634","#2D0432","#051932","#453080","#75267D","#2C507D","#4B3880","#752F7D","#35547D"]},{name:"nightLights",selectable:!1,group:Pi.Ordinal,domain:["#4e31a5","#9c25a7","#3065ab","#57468b","#904497","#46648b","#32118d","#a00fb3","#1052a2","#6e51bd","#b63cc3","#6c97cb","#8671c1","#b455be","#7496c3"]}];class x_{constructor(f,r,p,x){"string"==typeof f&&(f=Rn.find(D=>D.name===f)),this.colorDomain=f.domain,this.scaleType=r,this.domain=p,this.customColors=x,this.scale=this.generateColorScheme(f,r,this.domain)}generateColorScheme(f,r,p){let x;switch("string"==typeof f&&(f=Rn.find(D=>D.name===f)),r){case Pi.Quantile:x=Ku().range(f.domain).domain(p);break;case Pi.Ordinal:x=Xd().range(f.domain).domain(p);break;case Pi.Linear:{const D=[...f.domain];1===D.length&&(D.push(D[0]),this.colorDomain=D);const I=ch(0,1,1/D.length);x=Dc().range(D).domain(I)}}return x}getColor(f){if(null==f)throw new Error("Value can not be null");if(this.scaleType===Pi.Linear){const r=Dc().domain(this.domain).range([0,1]);return this.scale(r(f))}{if("function"==typeof this.customColors)return this.customColors(f);const r=f.toString();let p;return this.customColors&&this.customColors.length>0&&(p=this.customColors.find(x=>x.name.toLowerCase()===r.toLowerCase())),p?p.value:this.scale(f)}}getLinearGradientStops(f,r){void 0===r&&(r=this.domain[0]);const p=Dc().domain(this.domain).range([0,1]),x=cl().domain(this.colorDomain).range([0,1]),D=this.getColor(f),I=p(r),V=this.getColor(r),me=p(f);let fe=1,Ue=I;const dt=[];for(dt.push({color:V,offset:I,originalOffset:I,opacity:1});Ue=(me-x.bandwidth()).toFixed(4))break;dt.push({color:ft,offset:wt,opacity:1}),Ue=wt,fe++}}if(dt[dt.length-1].offset<100&&dt.push({color:D,offset:me,opacity:1}),me===I)dt[0].offset=0,dt[1].offset=100;else if(100!==dt[dt.length-1].offset)for(const ft of dt)ft.offset=(ft.offset-I)/(me-I)*100;return dt}}let lf=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=c.oAB({type:u}),u.\u0275inj=c.cJS({imports:[[uo]]}),u})(),Ap=(()=>{class u{constructor(r){this.roundEdges=!0,this.gradient=!1,this.offset=0,this.isActive=!1,this.animations=!0,this.noBarWhenZero=!0,this.select=new c.vpe,this.activate=new c.vpe,this.deactivate=new c.vpe,this.hasGradient=!1,this.hideBar=!1,this.element=r.nativeElement}ngOnChanges(r){r.roundEdges&&this.loadAnimation(),this.update()}update(){this.gradientId="grad"+kc().toString(),this.gradientFill=`url(#${this.gradientId})`,this.gradient||this.stops?(this.gradientStops=this.getGradient(),this.hasGradient=!0):this.hasGradient=!1,this.updatePathEl(),this.checkToHideBar()}loadAnimation(){this.path=this.getStartingPath(),setTimeout(this.update.bind(this),100)}updatePathEl(){const r=Zn(this.element).select(".bar"),p=this.getPath();this.animations?r.transition().duration(500).attr("d",p):r.attr("d",p)}getGradient(){return this.stops?this.stops:[{offset:0,color:this.fill,opacity:this.getStartOpacity()},{offset:100,color:this.fill,opacity:1}]}getStartingPath(){if(!this.animations)return this.getPath();let p,r=this.getRadius();return this.roundEdges?this.orientation===pi.Vertical?(r=Math.min(this.height,r),p=Oc(this.x,this.y+this.height,this.width,1,0,this.edges)):this.orientation===pi.Horizontal&&(r=Math.min(this.width,r),p=Oc(this.x,this.y,1,this.height,0,this.edges)):this.orientation===pi.Vertical?p=Oc(this.x,this.y+this.height,this.width,1,0,this.edges):this.orientation===pi.Horizontal&&(p=Oc(this.x,this.y,1,this.height,0,this.edges)),p}getPath(){let p,r=this.getRadius();return this.roundEdges?this.orientation===pi.Vertical?(r=Math.min(this.height,r),p=Oc(this.x,this.y,this.width,this.height,r,this.edges)):this.orientation===pi.Horizontal&&(r=Math.min(this.width,r),p=Oc(this.x,this.y,this.width,this.height,r,this.edges)):p=Oc(this.x,this.y,this.width,this.height,r,this.edges),p}getRadius(){let r=0;return this.roundEdges&&this.height>5&&this.width>5&&(r=Math.floor(Math.min(5,this.height/2,this.width/2))),r}getStartOpacity(){return this.roundEdges?.2:.5}get edges(){let r=[!1,!1,!1,!1];return this.roundEdges&&(this.orientation===pi.Vertical?r=this.data.value>0?[!0,!0,!1,!1]:[!1,!1,!0,!0]:this.orientation===pi.Horizontal&&(r=this.data.value>0?[!1,!0,!1,!0]:[!0,!1,!0,!1])),r}onMouseEnter(){this.activate.emit(this.data)}onMouseLeave(){this.deactivate.emit(this.data)}checkToHideBar(){this.hideBar=this.noBarWhenZero&&(this.orientation===pi.Vertical&&0===this.height||this.orientation===pi.Horizontal&&0===this.width)}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(c.SBq))},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-bar",""]],hostBindings:function(r,p){1&r&&c.NdJ("mouseenter",function(){return p.onMouseEnter()})("mouseleave",function(){return p.onMouseLeave()})},inputs:{fill:"fill",data:"data",width:"width",height:"height",x:"x",y:"y",orientation:"orientation",roundEdges:"roundEdges",gradient:"gradient",offset:"offset",isActive:"isActive",stops:"stops",animations:"animations",ariaLabel:"ariaLabel",noBarWhenZero:"noBarWhenZero"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[c.TTD],attrs:N0,decls:2,vars:8,consts:[[4,"ngIf"],["stroke","none","role","img","tabIndex","-1",1,"bar",3,"click"],["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops"]],template:function(r,p){1&r&&(c.YNc(0,ab,2,3,"defs",0),c.O4$(),c.TgZ(1,"path",1),c.NdJ("click",function(){return p.select.emit(p.data)}),c.qZA()),2&r&&(c.Q6J("ngIf",p.hasGradient),c.xp6(1),c.ekj("active",p.isActive)("hidden",p.hideBar),c.uIk("d",p.path)("aria-label",p.ariaLabel)("fill",p.hasGradient?p.gradientFill:p.fill))},dependencies:[Al,m.O5],encapsulation:2,changeDetection:0}),u})();var Ol=(()=>{return(u=Ol||(Ol={})).Standard="standard",u.Normalized="normalized",u.Stacked="stacked",Ol;var u})(),nc=(()=>{return(u=nc||(nc={})).positive="positive",u.negative="negative",nc;var u})();let cf=(()=>{class u{constructor(r){this.dimensionsChanged=new c.vpe,this.horizontalPadding=2,this.verticalPadding=5,this.element=r.nativeElement}ngOnChanges(r){this.update()}getSize(){return{height:this.element.getBoundingClientRect().height,width:this.element.getBoundingClientRect().width,negative:this.value<0}}ngAfterViewInit(){this.dimensionsChanged.emit(this.getSize())}update(){this.formatedValue=this.valueFormatting?this.valueFormatting(this.value):fl(this.value),"horizontal"===this.orientation?(this.x=this.barX+this.barWidth,this.value<0?(this.x=this.x-this.horizontalPadding,this.textAnchor="end"):(this.x=this.x+this.horizontalPadding,this.textAnchor="start"),this.y=this.barY+this.barHeight/2):(this.x=this.barX+this.barWidth/2,this.y=this.barY+this.barHeight,this.value<0?(this.y=this.y+this.verticalPadding,this.textAnchor="end"):(this.y=this.y-this.verticalPadding,this.textAnchor="start"),this.transform=`rotate(-45, ${this.x} , ${this.y})`)}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(c.SBq))},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-bar-label",""]],inputs:{value:"value",valueFormatting:"valueFormatting",barX:"barX",barY:"barY",barWidth:"barWidth",barHeight:"barHeight",orientation:"orientation"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[c.TTD],attrs:B0,decls:2,vars:5,consts:[["alignment-baseline","middle",1,"textDataLabel"]],template:function(r,p){1&r&&(c.O4$(),c.TgZ(0,"text",0),c._uU(1),c.qZA()),2&r&&(c.uIk("text-anchor",p.textAnchor)("transform",p.transform)("x",p.x)("y",p.y),c.xp6(1),c.hij(" ",p.formatedValue," "))},styles:[".textDataLabel[_ngcontent-%COMP%]{font-size:11px}"],changeDetection:0}),u})(),hf=(()=>{class u{constructor(r){this.platformId=r,this.type=Ol.Standard,this.tooltipDisabled=!1,this.animations=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.select=new c.vpe,this.activate=new c.vpe,this.deactivate=new c.vpe,this.dataLabelHeightChanged=new c.vpe,this.barsForDataLabels=[],this.barOrientation=pi,this.isSSR=!1}ngOnInit(){(0,m.PM)(this.platformId)&&(this.isSSR=!0)}ngOnChanges(r){this.update()}update(){let r;this.updateTooltipSettings(),this.series.length&&(r=this.xScale.bandwidth()),r=Math.round(r);const p=Math.max(this.yScale.domain()[0],0),x={[nc.positive]:0,[nc.negative]:0};let I,D=nc.positive;this.type===Ol.Normalized&&(I=this.series.map(V=>V.value).reduce((V,me)=>V+me,0)),this.bars=this.series.map((V,me)=>{let fe=V.value;const Ue=this.getLabel(V),dt=fl(Ue);D=fe>0?nc.positive:nc.negative;const wt={value:fe,label:Ue,roundEdges:this.roundEdges,data:V,width:r,formattedLabel:dt,height:0,x:0,y:0};if(this.type===Ol.Standard)wt.height=Math.abs(this.yScale(fe)-this.yScale(p)),wt.x=this.xScale(Ue),wt.y=this.yScale(fe<0?0:fe);else if(this.type===Ol.Stacked){const Mi=x[D],St=Mi+fe;x[D]+=fe,wt.height=this.yScale(Mi)-this.yScale(St),wt.x=0,wt.y=this.yScale(St),wt.offset0=Mi,wt.offset1=St}else if(this.type===Ol.Normalized){let Mi=x[D],St=Mi+fe;x[D]+=fe,I>0?(Mi=100*Mi/I,St=100*St/I):(Mi=0,St=0),wt.height=this.yScale(Mi)-this.yScale(St),wt.x=0,wt.y=this.yScale(St),wt.offset0=Mi,wt.offset1=St,fe=(St-Mi).toFixed(2)+"%"}this.colors.scaleType===Pi.Ordinal?wt.color=this.colors.getColor(Ue):this.type===Ol.Standard?(wt.color=this.colors.getColor(fe),wt.gradientStops=this.colors.getLinearGradientStops(fe)):(wt.color=this.colors.getColor(wt.offset1),wt.gradientStops=this.colors.getLinearGradientStops(wt.offset1,wt.offset0));let oi=dt;return wt.ariaLabel=dt+" "+fe.toLocaleString(),null!=this.seriesName&&(oi=`${this.seriesName} \u2022 ${dt}`,wt.data.series=this.seriesName,wt.ariaLabel=this.seriesName+" "+wt.ariaLabel),wt.tooltipText=this.tooltipDisabled?void 0:`\n ${tc(oi)}\n ${this.dataLabelFormatting?this.dataLabelFormatting(fe):fe.toLocaleString()}\n `,wt}),this.updateDataLabels()}updateDataLabels(){if(this.type===Ol.Stacked){this.barsForDataLabels=[];const r={};r.series=this.seriesName;const p=this.series.map(D=>D.value).reduce((D,I)=>I>0?D+I:D,0),x=this.series.map(D=>D.value).reduce((D,I)=>I<0?D+I:D,0);r.total=p+x,r.x=0,r.y=0,r.height=this.yScale(r.total>0?p:x),r.width=this.xScale.bandwidth(),this.barsForDataLabels.push(r)}else this.barsForDataLabels=this.series.map(r=>{var p;const x={};return x.series=null!==(p=this.seriesName)&&void 0!==p?p:r.label,x.total=r.value,x.x=this.xScale(r.label),x.y=this.yScale(0),x.height=this.yScale(x.total)-this.yScale(0),x.width=this.xScale.bandwidth(),x})}updateTooltipSettings(){this.tooltipPlacement=this.tooltipDisabled?void 0:On.Top,this.tooltipType=this.tooltipDisabled?void 0:zi.tooltip}isActive(r){return!!this.activeEntries&&void 0!==this.activeEntries.find(x=>r.name===x.name&&r.value===x.value)}onClick(r){this.select.emit(r)}getLabel(r){return r.label?r.label:r.name}trackBy(r,p){return p.label}trackDataLabelBy(r,p){return r+"#"+p.series+"#"+p.total}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(c.Lbi))},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-series-vertical",""]],inputs:{dims:"dims",type:"type",series:"series",xScale:"xScale",yScale:"yScale",colors:"colors",gradient:"gradient",activeEntries:"activeEntries",seriesName:"seriesName",tooltipDisabled:"tooltipDisabled",tooltipTemplate:"tooltipTemplate",roundEdges:"roundEdges",animations:"animations",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",dataLabelHeightChanged:"dataLabelHeightChanged"},features:[c.TTD],attrs:_d,decls:3,vars:3,consts:[[4,"ngIf"],["ngx-charts-bar","","ngx-tooltip","",3,"width","height","x","y","fill","stops","data","orientation","roundEdges","gradient","ariaLabel","isActive","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","noBarWhenZero","animations","select","activate","deactivate",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-bar","","ngx-tooltip","",3,"width","height","x","y","fill","stops","data","orientation","roundEdges","gradient","ariaLabel","isActive","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","noBarWhenZero","animations","select","activate","deactivate"],["ngx-charts-bar-label","",3,"barX","barY","barWidth","barHeight","value","valueFormatting","orientation","dimensionsChanged",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-bar-label","",3,"barX","barY","barWidth","barHeight","value","valueFormatting","orientation","dimensionsChanged"]],template:function(r,p){1&r&&(c.YNc(0,dp,2,2,"g",0),c.YNc(1,Lg,2,2,"g",0),c.YNc(2,su,2,2,"g",0)),2&r&&(c.Q6J("ngIf",!p.isSSR),c.xp6(1),c.Q6J("ngIf",p.isSSR),c.xp6(1),c.Q6J("ngIf",p.showDataLabel))},dependencies:[Ap,cf,m.O5,m.sg,ua],encapsulation:2,data:{animation:[(0,F.X$)("animationState",[(0,F.eR)(":leave",[(0,F.oB)({opacity:1}),(0,F.jt)(500,(0,F.oB)({opacity:0}))])])]},changeDetection:0}),u})(),mf=(()=>{class u extends C_{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=bs.Right,this.tooltipDisabled=!1,this.showGridLines=!0,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.barPadding=8,this.roundDomains=!1,this.roundEdges=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.activate=new c.vpe,this.deactivate=new c.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxHeight={negative:0,positive:0}}update(){super.update(),this.showDataLabel||(this.dataLabelMaxHeight={negative:0,positive:0}),this.margin=[10+this.dataLabelMaxHeight.positive,20,10+this.dataLabelMaxHeight.negative,20],this.dims=xr({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.schemeType,legendPosition:this.legendPosition}),this.formatDates(),this.showDataLabel&&(this.dims.height-=this.dataLabelMaxHeight.negative),this.xScale=this.getXScale(),this.yScale=this.getYScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]+this.dataLabelMaxHeight.negative})`}getXScale(){this.xDomain=this.getXDomain();const r=this.xDomain.length/(this.dims.width/this.barPadding+1);return cl().range([0,this.dims.width]).paddingInner(r).domain(this.xDomain)}getYScale(){this.yDomain=this.getYDomain();const r=Dc().range([this.dims.height,0]).domain(this.yDomain);return this.roundDomains?r.nice():r}getXDomain(){return this.results.map(r=>r.label)}getYDomain(){const r=this.results.map(D=>D.value);let p=this.yScaleMin?Math.min(this.yScaleMin,...r):Math.min(0,...r);this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(p=Math.min(p,...this.yAxisTicks));let x=this.yScaleMax?Math.max(this.yScaleMax,...r):Math.max(0,...r);return this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(x=Math.max(x,...this.yAxisTicks)),[p,x]}onClick(r){this.select.emit(r)}setColors(){let r;r=this.schemeType===Pi.Ordinal?this.xDomain:this.yDomain,this.colors=new x_(this.scheme,this.schemeType,r,this.customColors)}getLegendOptions(){const r={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return r.scaleType===Pi.Ordinal?(r.domain=this.xDomain,r.colors=this.colors,r.title=this.legendTitle):(r.domain=this.yDomain,r.colors=this.colors.scale),r}updateYAxisWidth({width:r}){this.yAxisWidth=r,this.update()}updateXAxisHeight({height:r}){this.xAxisHeight=r,this.update()}onDataLabelMaxHeightChanged(r){r.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,r.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,r.size.height),r.index===this.results.length-1&&setTimeout(()=>this.update())}onActivate(r,p=!1){r=this.results.find(D=>p?D.label===r.name:D.name===r.name),!(this.activeEntries.findIndex(D=>D.name===r.name&&D.value===r.value&&D.series===r.series)>-1)&&(this.activeEntries=[r,...this.activeEntries],this.activate.emit({value:r,entries:this.activeEntries}))}onDeactivate(r,p=!1){r=this.results.find(D=>p?D.label===r.name:D.name===r.name);const x=this.activeEntries.findIndex(D=>D.name===r.name&&D.value===r.value&&D.series===r.series);this.activeEntries.splice(x,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:r,entries:this.activeEntries})}}return u.\u0275fac=function(){let f;return function(p){return(f||(f=c.n5z(u)))(p||u)}}(),u.\u0275cmp=c.Xpm({type:u,selectors:[["ngx-charts-bar-vertical"]],contentQueries:function(r,p,x){if(1&r&&c.Suo(x,ou,5),2&r){let D;c.iGM(D=c.CRH())&&(p.tooltipTemplate=D.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",tooltipDisabled:"tooltipDisabled",gradient:"gradient",showGridLines:"showGridLines",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",barPadding:"barPadding",roundDomains:"roundDomains",roundEdges:"roundEdges",yScaleMax:"yScaleMax",yScaleMin:"yScaleMin",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero"},outputs:{activate:"activate",deactivate:"deactivate"},features:[c.qOj],decls:5,vars:25,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"bar-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-series-vertical","",3,"xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","activeEntries","roundEdges","animations","noBarWhenZero","activate","deactivate","select","dataLabelHeightChanged"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"]],template:function(r,p){1&r&&(c.TgZ(0,"ngx-charts-chart",0),c.NdJ("legendLabelClick",function(D){return p.onClick(D)})("legendLabelActivate",function(D){return p.onActivate(D,!0)})("legendLabelDeactivate",function(D){return p.onDeactivate(D,!0)}),c.O4$(),c.TgZ(1,"g",1),c.YNc(2,o_,1,11,"g",2),c.YNc(3,lu,1,9,"g",3),c.TgZ(4,"g",4),c.NdJ("activate",function(D){return p.onActivate(D)})("deactivate",function(D){return p.onDeactivate(D)})("select",function(D){return p.onClick(D)})("dataLabelHeightChanged",function(D){return p.onDataLabelMaxHeightChanged(D)}),c.qZA()()()),2&r&&(c.Q6J("view",c.WLB(22,Sl,p.width,p.height))("showLegend",p.legend)("legendOptions",p.legendOptions)("activeEntries",p.activeEntries)("animations",p.animations),c.xp6(1),c.uIk("transform",p.transform),c.xp6(1),c.Q6J("ngIf",p.xAxis),c.xp6(1),c.Q6J("ngIf",p.yAxis),c.xp6(1),c.Q6J("xScale",p.xScale)("yScale",p.yScale)("colors",p.colors)("series",p.results)("dims",p.dims)("gradient",p.gradient)("tooltipDisabled",p.tooltipDisabled)("tooltipTemplate",p.tooltipTemplate)("showDataLabel",p.showDataLabel)("dataLabelFormatting",p.dataLabelFormatting)("activeEntries",p.activeEntries)("roundEdges",p.roundEdges)("animations",p.animations)("noBarWhenZero",p.noBarWhenZero))},dependencies:[vd,qg,am,hf,m.O5],styles:[Ph],encapsulation:2,changeDetection:0}),u})(),sm=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=c.oAB({type:u}),u.\u0275inj=c.cJS({imports:[[uo]]}),u})();fh();let iv=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=c.oAB({type:u}),u.\u0275inj=c.cJS({imports:[[uo]]}),u})(),nv=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=c.oAB({type:u}),u.\u0275inj=c.cJS({imports:[[uo]]}),u})(),av=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=c.oAB({type:u}),u.\u0275inj=c.cJS({imports:[[uo]]}),u})(),ov=(()=>{class u{constructor(r,p){this.element=r,this.platformId=p,this.fill="none",this.animations=!0,this.initialized=!1,this.isSSR=!1}ngOnInit(){(0,m.PM)(this.platformId)&&(this.isSSR=!0)}ngOnChanges(r){this.initialized?this.updatePathEl():(this.initialized=!0,this.initialPath=this.path)}updatePathEl(){const r=Zn(this.element.nativeElement).select(".line");this.animations?r.transition().duration(750).attr("d",this.path):r.attr("d",this.path)}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(c.SBq),c.Y36(c.Lbi))},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-line",""]],inputs:{path:"path",stroke:"stroke",data:"data",fill:"fill",animations:"animations"},features:[c.TTD],attrs:kC,decls:2,vars:2,consts:[[4,"ngIf"],["stroke-width","1.5px",1,"line"]],template:function(r,p){1&r&&(c.YNc(0,gp,2,4,"g",0),c.YNc(1,G0,2,3,"g",0)),2&r&&(c.Q6J("ngIf",!p.isSSR),c.xp6(1),c.Q6J("ngIf",p.isSSR))},dependencies:[m.O5],encapsulation:2,data:{animation:[(0,F.X$)("animationState",[(0,F.eR)(":enter",[(0,F.oB)({strokeDasharray:2e3,strokeDashoffset:2e3}),(0,F.jt)(1e3,(0,F.oB)({strokeDashoffset:0}))])])]},changeDetection:0}),u})(),rv=(()=>{class u{constructor(){this.animations=!0,this.barOrientation=pi}ngOnChanges(r){this.update()}update(){this.updateGradients();const r=this.sortData(this.data.series),p=this.getLineGenerator();this.path=p(r)||"";const x=this.getAreaGenerator();if(this.areaPath=x(r)||"",this.hasRange){const D=this.getRangeGenerator();this.outerPath=D(r)||""}if(this.hasGradient){this.stroke=this.gradientUrl;const D=this.data.series.map(me=>me.value),I=Math.max(...D);I===Math.min(...D)&&(this.stroke=this.colors.getColor(I))}else this.stroke=this.colors.getColor(this.data.name)}getLineGenerator(){return tu().x(r=>{const p=r.name;let x;return x=this.xScale(this.scaleType===Pi.Time?p:this.scaleType===Pi.Linear?Number(p):p),x}).y(r=>this.yScale(r.value)).curve(this.curve)}getRangeGenerator(){return iu().x(r=>{const p=r.name;let x;return x=this.xScale(this.scaleType===Pi.Time?p:this.scaleType===Pi.Linear?Number(p):p),x}).y0(r=>this.yScale("number"==typeof r.min?r.min:r.value)).y1(r=>this.yScale("number"==typeof r.max?r.max:r.value)).curve(this.curve)}getAreaGenerator(){return iu().x(p=>this.xScale(p.name)).y0(()=>this.yScale.range()[0]).y1(p=>this.yScale(p.value)).curve(this.curve)}sortData(r){return r=this.scaleType===Pi.Linear?function xn(u,f,r="asc"){return u.sort((p,x)=>"asc"===r?p[f]-x[f]:x[f]-p[f])}(r,"name"):this.scaleType===Pi.Time?function b_(u,f,r="asc"){return u.sort((p,x)=>{const D=p[f].getTime(),I=x[f].getTime();return"asc"===r?D>I?1:I>D?-1:0:D>I?-1:I>D?1:0})}(r,"name"):function Ic(u,f,r="asc",p){return u.sort((x,D)=>{const V=D[f],me=p.indexOf(x[f]),fe=p.indexOf(V);return"asc"===r?me-fe:fe-me})}(r,"name","asc",this.xScale.domain()),r}updateGradients(){if(this.colors.scaleType===Pi.Linear){this.hasGradient=!0,this.gradientId="grad"+kc().toString(),this.gradientUrl=`url(#${this.gradientId})`;const r=this.data.series.map(D=>D.value),p=Math.max(...r),x=Math.min(...r);this.gradientStops=this.colors.getLinearGradientStops(p,x),this.areaGradientStops=this.colors.getLinearGradientStops(p)}else this.hasGradient=!1,this.gradientStops=void 0,this.areaGradientStops=void 0}isActive(r){return!!this.activeEntries&&void 0!==this.activeEntries.find(x=>r.name===x.name)}isInactive(r){return!(!this.activeEntries||0===this.activeEntries.length)&&void 0===this.activeEntries.find(x=>r.name===x.name)}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-line-series",""]],inputs:{data:"data",xScale:"xScale",yScale:"yScale",colors:"colors",scaleType:"scaleType",curve:"curve",activeEntries:"activeEntries",rangeFillOpacity:"rangeFillOpacity",hasRange:"hasRange",animations:"animations"},features:[c.TTD],attrs:fp,decls:6,vars:22,consts:[["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops",4,"ngIf"],["ngx-charts-area","",1,"line-highlight",3,"data","path","fill","opacity","startOpacity","gradient","stops","animations"],["ngx-charts-line","",1,"line-series",3,"data","path","stroke","animations"],["ngx-charts-area","","class","line-series-range",3,"data","path","fill","active","inactive","opacity","animations",4,"ngIf"],["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops"],["ngx-charts-area","",1,"line-series-range",3,"data","path","fill","opacity","animations"]],template:function(r,p){1&r&&(c.O4$(),c.TgZ(0,"g")(1,"defs"),c.YNc(2,Hh,1,3,"g",0),c.qZA(),c._UZ(3,"g",1)(4,"g",2),c.YNc(5,Ng,1,9,"g",3),c.qZA()),2&r&&(c.xp6(2),c.Q6J("ngIf",p.hasGradient),c.xp6(1),c.ekj("active",p.isActive(p.data))("inactive",p.isInactive(p.data)),c.Q6J("data",p.data)("path",p.areaPath)("fill",p.hasGradient?p.gradientUrl:p.colors.getColor(p.data.name))("opacity",.25)("startOpacity",0)("gradient",!0)("stops",p.areaGradientStops)("animations",p.animations),c.xp6(1),c.ekj("active",p.isActive(p.data))("inactive",p.isInactive(p.data)),c.Q6J("data",p.data)("path",p.path)("stroke",p.stroke)("animations",p.animations),c.xp6(1),c.Q6J("ngIf",p.hasRange))},dependencies:[Al,Xg,ov,m.O5],encapsulation:2,changeDetection:0}),u})(),sv=(()=>{class u extends C_{constructor(){super(...arguments),this.legendTitle="Legend",this.legendPosition=bs.Right,this.showGridLines=!0,this.curve=qu,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.roundDomains=!1,this.tooltipDisabled=!1,this.showRefLines=!1,this.showRefLabels=!0,this.activate=new c.vpe,this.deactivate=new c.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.timelineHeight=50,this.timelinePadding=10,this.isSSR=!1}ngOnInit(){(0,m.PM)(this.platformId)&&(this.isSSR=!0)}update(){super.update(),this.dims=xr({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.schemeType,legendPosition:this.legendPosition}),this.timeline&&(this.dims.height-=this.timelineHeight+this.margin[2]+this.timelinePadding),this.xDomain=this.getXDomain(),this.filteredDomain&&(this.xDomain=this.filteredDomain),this.yDomain=this.getYDomain(),this.seriesDomain=this.getSeriesDomain(),this.xScale=this.getXScale(this.xDomain,this.dims.width),this.yScale=this.getYScale(this.yDomain,this.dims.height),this.updateTimeline(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`,this.clipPathId="clip"+kc().toString(),this.clipPath=`url(#${this.clipPathId})`}updateTimeline(){this.timeline&&(this.timelineWidth=this.dims.width,this.timelineXDomain=this.getXDomain(),this.timelineXScale=this.getXScale(this.timelineXDomain,this.timelineWidth),this.timelineYScale=this.getYScale(this.yDomain,this.timelineHeight),this.timelineTransform=`translate(${this.dims.xOffset}, ${-this.margin[2]})`)}getXDomain(){let r=function $C(u){const f=new Set;for(const r of u)for(const p of r.series)f.add(p.name);return Array.from(f)}(this.results);this.scaleType=function sf(u,f=!0){return f&&u.every(x=>x instanceof Date)?Pi.Time:u.every(p=>"number"==typeof p)?Pi.Linear:Pi.Ordinal}(r);let x,D,p=[];return this.scaleType===Pi.Linear&&(r=r.map(I=>Number(I))),(this.scaleType===Pi.Time||this.scaleType===Pi.Linear)&&(x=this.xScaleMin?this.xScaleMin:Math.min(...r),D=this.xScaleMax?this.xScaleMax:Math.max(...r)),this.scaleType===Pi.Time?(p=[new Date(x),new Date(D)],this.xSet=[...r].sort((I,V)=>{const me=I.getTime(),fe=V.getTime();return me>fe?1:fe>me?-1:0})):this.scaleType===Pi.Linear?(p=[x,D],this.xSet=[...r].sort((I,V)=>I-V)):(p=r,this.xSet=r),p}getYDomain(){const r=[];for(const I of this.results)for(const V of I.series)r.indexOf(V.value)<0&&r.push(V.value),void 0!==V.min&&(this.hasRange=!0,r.indexOf(V.min)<0&&r.push(V.min)),void 0!==V.max&&(this.hasRange=!0,r.indexOf(V.max)<0&&r.push(V.max));const p=[...r];return this.autoScale||p.push(0),[this.yScaleMin?this.yScaleMin:Math.min(...p),this.yScaleMax?this.yScaleMax:Math.max(...p)]}getSeriesDomain(){return this.results.map(r=>r.name)}getXScale(r,p){let x;return this.scaleType===Pi.Time?x=jo().range([0,p]).domain(r):this.scaleType===Pi.Linear?(x=Dc().range([0,p]).domain(r),this.roundDomains&&(x=x.nice())):this.scaleType===Pi.Ordinal&&(x=eu().range([0,p]).padding(.1).domain(r)),x}getYScale(r,p){const x=Dc().range([p,0]).domain(r);return this.roundDomains?x.nice():x}updateDomain(r){this.filteredDomain=r,this.xDomain=this.filteredDomain,this.xScale=this.getXScale(this.xDomain,this.dims.width)}updateHoveredVertical(r){this.hoveredVertical=r.value,this.deactivateAll()}hideCircles(){this.hoveredVertical=null,this.deactivateAll()}onClick(r){this.select.emit(r)}trackBy(r,p){return`${p.name}`}setColors(){let r;r=this.schemeType===Pi.Ordinal?this.seriesDomain:this.yDomain,this.colors=new x_(this.scheme,this.schemeType,r,this.customColors)}getLegendOptions(){const r={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return r.scaleType===Pi.Ordinal?(r.domain=this.seriesDomain,r.colors=this.colors,r.title=this.legendTitle):(r.domain=this.yDomain,r.colors=this.colors.scale),r}updateYAxisWidth({width:r}){this.yAxisWidth=r,this.update()}updateXAxisHeight({height:r}){this.xAxisHeight=r,this.update()}onActivate(r){this.deactivateAll(),!(this.activeEntries.findIndex(x=>x.name===r.name&&x.value===r.value)>-1)&&(this.activeEntries=[r],this.activate.emit({value:r,entries:this.activeEntries}))}onDeactivate(r){const p=this.activeEntries.findIndex(x=>x.name===r.name&&x.value===r.value);this.activeEntries.splice(p,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:r,entries:this.activeEntries})}deactivateAll(){this.activeEntries=[...this.activeEntries];for(const r of this.activeEntries)this.deactivate.emit({value:r,entries:[]});this.activeEntries=[]}}return u.\u0275fac=function(){let f;return function(p){return(f||(f=c.n5z(u)))(p||u)}}(),u.\u0275cmp=c.Xpm({type:u,selectors:[["ngx-charts-line-chart"]],contentQueries:function(r,p,x){if(1&r&&(c.Suo(x,ou,5),c.Suo(x,bg,5)),2&r){let D;c.iGM(D=c.CRH())&&(p.tooltipTemplate=D.first),c.iGM(D=c.CRH())&&(p.seriesTooltipTemplate=D.first)}},hostBindings:function(r,p){1&r&&c.NdJ("mouseleave",function(){return p.hideCircles()})},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",autoScale:"autoScale",timeline:"timeline",gradient:"gradient",showGridLines:"showGridLines",curve:"curve",activeEntries:"activeEntries",schemeType:"schemeType",rangeFillOpacity:"rangeFillOpacity",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",roundDomains:"roundDomains",tooltipDisabled:"tooltipDisabled",showRefLines:"showRefLines",referenceLines:"referenceLines",showRefLabels:"showRefLabels",xScaleMin:"xScaleMin",xScaleMax:"xScaleMax",yScaleMin:"yScaleMin",yScaleMax:"yScaleMax"},outputs:{activate:"activate",deactivate:"deactivate"},features:[c.qOj],decls:12,vars:20,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"line-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","referenceLines","showRefLines","showRefLabels","dimensionsChanged",4,"ngIf"],[4,"ngIf"],[3,"mouseleave",4,"ngIf"],["ngx-charts-timeline","",3,"results","view","height","scheme","customColors","scaleType","legend","onDomainChange",4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","referenceLines","showRefLines","showRefLabels","dimensionsChanged"],[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-line-series","",3,"xScale","yScale","colors","data","activeEntries","scaleType","curve","rangeFillOpacity","hasRange","animations"],[3,"mouseleave"],["ngx-charts-tooltip-area","",3,"dims","xSet","xScale","yScale","results","colors","tooltipDisabled","tooltipTemplate","hover"],[4,"ngFor","ngForOf"],["ngx-charts-circle-series","",3,"xScale","yScale","colors","data","scaleType","visibleValue","activeEntries","tooltipDisabled","tooltipTemplate","select","activate","deactivate"],["ngx-charts-timeline","",3,"results","view","height","scheme","customColors","scaleType","legend","onDomainChange"],["ngx-charts-line-series","",3,"xScale","yScale","colors","data","scaleType","curve","hasRange","animations"]],template:function(r,p){1&r&&(c.TgZ(0,"ngx-charts-chart",0),c.NdJ("legendLabelClick",function(D){return p.onClick(D)})("legendLabelActivate",function(D){return p.onActivate(D)})("legendLabelDeactivate",function(D){return p.onDeactivate(D)}),c.O4$(),c.TgZ(1,"defs")(2,"clipPath"),c._UZ(3,"rect"),c.qZA()(),c.TgZ(4,"g",1),c.YNc(5,Bg,1,10,"g",2),c.YNc(6,Vh,1,12,"g",3),c.TgZ(7,"g"),c.YNc(8,Cp,2,2,"g",4),c.YNc(9,pl,2,2,"g",4),c.YNc(10,c_,3,9,"g",5),c.qZA()(),c.YNc(11,IC,2,13,"g",6),c.qZA()),2&r&&(c.Q6J("view",c.WLB(17,Sl,p.width,p.height))("showLegend",p.legend)("legendOptions",p.legendOptions)("activeEntries",p.activeEntries)("animations",p.animations),c.xp6(2),c.uIk("id",p.clipPathId),c.xp6(1),c.uIk("width",p.dims.width+10)("height",p.dims.height+10)("transform","translate(-5, -5)"),c.xp6(1),c.uIk("transform",p.transform),c.xp6(1),c.Q6J("ngIf",p.xAxis),c.xp6(1),c.Q6J("ngIf",p.yAxis),c.xp6(1),c.uIk("clip-path",p.clipPath),c.xp6(1),c.Q6J("ngIf",!p.isSSR),c.xp6(1),c.Q6J("ngIf",p.isSSR),c.xp6(1),c.Q6J("ngIf",!p.tooltipDisabled),c.xp6(1),c.Q6J("ngIf",p.timeline&&"ordinal"!=p.scaleType))},dependencies:[vd,qg,am,rv,Vs,Cn,af,m.O5,m.sg],styles:[Ph],encapsulation:2,data:{animation:[(0,F.X$)("animationState",[(0,F.eR)(":leave",[(0,F.oB)({opacity:1}),(0,F.jt)(500,(0,F.oB)({opacity:0}))])])]},changeDetection:0}),u})(),lm=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=c.oAB({type:u}),u.\u0275inj=c.cJS({imports:[[uo]]}),u})(),sn=(()=>{class u{constructor(r){this.platformId=r,this.animations=!0,this.labelTrim=!0,this.labelTrimSize=10,this.trimLabel=ic}ngOnChanges(r){this.setTransforms(),this.update()}setTransforms(){if((0,m.PM)(this.platformId))this.styleTransform=`translate3d(${this.textX}px,${this.textY}px, 0)`,this.attrTransform=`translate(${this.textX},${this.textY})`,this.textTransition=this.animations?"transform 0.75s":null;else{const r=/(edge|msie|trident)/i.test(navigator.userAgent);this.styleTransform=r?null:`translate3d(${this.textX}px,${this.textY}px, 0)`,this.attrTransform=r?`translate(${this.textX},${this.textY})`:null,this.textTransition=r||!this.animations?null:"transform 0.75s"}}update(){let r=this.radius;this.explodeSlices&&(r=this.radius*this.value/this.max);const x=Ec().innerRadius(r).outerRadius(r).centroid(this.data);let D=this.data.pos[1]/x[1];(0===this.data.pos[1]||0===x[1])&&(D=1),this.line=`M${x}L${[D*x[0],D*x[1]]}L${this.data.pos}`}get textX(){return this.data.pos[0]}get textY(){return this.data.pos[1]}textAnchor(){return this.midAngle(this.data){class u{constructor(r){this.startAngle=0,this.endAngle=2*Math.PI,this.cornerRadius=0,this.explodeSlices=!1,this.gradient=!1,this.animate=!0,this.pointerEvents=!0,this.isActive=!1,this.select=new c.vpe,this.activate=new c.vpe,this.deactivate=new c.vpe,this.dblclick=new c.vpe,this.barOrientation=pi,this.initialized=!1,this.element=r.nativeElement}ngOnChanges(r){this.update()}getGradient(){return this.gradient?this.gradientFill:this.fill}getPointerEvents(){return this.pointerEvents?"auto":"none"}update(){const r=this.calculateArc();this.startOpacity=.5,this.radialGradientId="linearGrad"+kc().toString(),this.gradientFill=`url(#${this.radialGradientId})`,this.animate?this.initialized?this.updateAnimation():(this.loadAnimation(),this.initialized=!0):this.path=r.startAngle(this.startAngle).endAngle(this.endAngle)()}calculateArc(){let r=this.outerRadius;return this.explodeSlices&&0===this.innerRadius&&(r=this.outerRadius*this.value/this.max),Ec().innerRadius(this.innerRadius).outerRadius(r).cornerRadius(this.cornerRadius)}loadAnimation(){const r=Zn(this.element).selectAll(".arc").data([{startAngle:this.startAngle,endAngle:this.endAngle}]),p=this.calculateArc();r.transition().attrTween("d",function(x){this._current=this._current||x;const D=Object.assign({},x);D.endAngle=D.startAngle;const I=Xo(D,D);return this._current=I(0),function(V){return p(I(V))}}).transition().duration(750).attrTween("d",function(x){this._current=this._current||x;const D=Xo(this._current,x);return this._current=D(0),function(I){return p(D(I))}})}updateAnimation(){const r=Zn(this.element).selectAll(".arc").data([{startAngle:this.startAngle,endAngle:this.endAngle}]),p=this.calculateArc();r.transition().duration(750).attrTween("d",function(x){this._current=this._current||x;const D=Xo(this._current,x);return this._current=D(0),function(I){return p(D(I))}})}onClick(){clearTimeout(this._timeout),this._timeout=setTimeout(()=>this.select.emit(this.data),200)}onDblClick(r){r.preventDefault(),r.stopPropagation(),clearTimeout(this._timeout),this.dblclick.emit({data:this.data,nativeEvent:r})}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(c.SBq))},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-pie-arc",""]],inputs:{fill:"fill",startAngle:"startAngle",endAngle:"endAngle",innerRadius:"innerRadius",outerRadius:"outerRadius",cornerRadius:"cornerRadius",value:"value",max:"max",data:"data",explodeSlices:"explodeSlices",gradient:"gradient",animate:"animate",pointerEvents:"pointerEvents",isActive:"isActive"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",dblclick:"dblclick"},features:[c.TTD],attrs:W0,decls:3,vars:7,consts:[[1,"arc-group"],[4,"ngIf"],[1,"arc",3,"click","dblclick","mouseenter","mouseleave"],["ngx-charts-svg-radial-gradient","",3,"color","name","startOpacity"]],template:function(r,p){1&r&&(c.O4$(),c.TgZ(0,"g",0),c.YNc(1,FC,2,3,"defs",1),c.TgZ(2,"path",2),c.NdJ("click",function(){return p.onClick()})("dblclick",function(D){return p.onDblClick(D)})("mouseenter",function(){return p.activate.emit(p.data)})("mouseleave",function(){return p.deactivate.emit(p.data)}),c.qZA()()),2&r&&(c.xp6(1),c.Q6J("ngIf",p.gradient),c.xp6(1),c.Udp("pointer-events",p.getPointerEvents()),c.ekj("active",p.isActive),c.uIk("d",p.path)("fill",p.getGradient()))},dependencies:[yd,m.O5],encapsulation:2,changeDetection:0}),u})(),dm=(()=>{class u{constructor(){this.series=[],this.innerRadius=60,this.outerRadius=80,this.trimLabels=!0,this.maxLabelLength=10,this.tooltipDisabled=!1,this.animations=!0,this.select=new c.vpe,this.activate=new c.vpe,this.deactivate=new c.vpe,this.dblclick=new c.vpe,this.placementTypes=On,this.styleTypes=zi}ngOnChanges(r){this.update()}update(){const p=mh().value(x=>x.value).sort(null)(this.series);this.max=function rg(u,f){let r;if(void 0===f)for(const p of u)null!=p&&(r=p)&&(r=p);else{let p=-1;for(let x of u)null!=(x=f(x,++p,u))&&(r=x)&&(r=x)}return r}(p,x=>x.value),this.data=this.calculateLabelPositions(p),this.tooltipText=this.tooltipText||this.defaultTooltipText}midAngle(r){return r.startAngle+(r.endAngle-r.startAngle)/2}outerArc(){return Ec().innerRadius(1.5*this.outerRadius).outerRadius(1.5*this.outerRadius)}calculateLabelPositions(r){const D=r;D.forEach(I=>{I.pos=this.outerArc().centroid(I),I.pos[0]=1.5*this.outerRadius*(this.midAngle(I)0){const Ue=10-Math.abs(fe.pos[1]-V.pos[1]);Ue>0&&(fe.pos[1]+=Math.sign(fe.pos[0])*Ue)}}}return D}labelVisible(r){return this.showLabels&&r.endAngle-r.startAngle>Math.PI/30}getTooltipTitle(r){return this.tooltipTemplate?void 0:this.tooltipText(r)}labelText(r){return this.labelFormatting?this.labelFormatting(r.data.name):this.label(r)}label(r){return fl(r.data.name)}defaultTooltipText(r){const p=this.label(r),x=fl(r.data.value);return`\n ${tc(p)}\n ${x}\n `}color(r){return this.colors.getColor(this.label(r))}trackBy(r,p){return p.data.name}onClick(r){this.select.emit(r)}isActive(r){return!!this.activeEntries&&void 0!==this.activeEntries.find(x=>r.name===x.name&&r.series===x.series)}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-pie-series",""]],inputs:{colors:"colors",series:"series",dims:"dims",innerRadius:"innerRadius",outerRadius:"outerRadius",explodeSlices:"explodeSlices",showLabels:"showLabels",gradient:"gradient",activeEntries:"activeEntries",labelFormatting:"labelFormatting",trimLabels:"trimLabels",maxLabelLength:"maxLabelLength",tooltipText:"tooltipText",tooltipDisabled:"tooltipDisabled",tooltipTemplate:"tooltipTemplate",animations:"animations"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",dblclick:"dblclick"},features:[c.TTD],attrs:NC,decls:1,vars:2,consts:[[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-pie-label","",3,"data","radius","color","label","labelTrim","labelTrimSize","max","value","explodeSlices","animations",4,"ngIf"],["ngx-charts-pie-arc","","ngx-tooltip","",3,"startAngle","endAngle","innerRadius","outerRadius","fill","value","gradient","data","max","explodeSlices","isActive","animate","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate","dblclick"],["ngx-charts-pie-label","",3,"data","radius","color","label","labelTrim","labelTrimSize","max","value","explodeSlices","animations"]],template:function(r,p){1&r&&c.YNc(0,Wh,3,19,"g",0),2&r&&c.Q6J("ngForOf",p.data)("ngForTrackBy",p.trackBy)},dependencies:[sn,cm,m.sg,m.O5,ua],encapsulation:2,changeDetection:0}),u})(),gf=(()=>{class u extends C_{constructor(){super(...arguments),this.labels=!1,this.legend=!1,this.legendTitle="Legend",this.legendPosition=bs.Right,this.explodeSlices=!1,this.doughnut=!1,this.arcWidth=.25,this.activeEntries=[],this.tooltipDisabled=!1,this.trimLabels=!0,this.maxLabelLength=10,this.dblclick=new c.vpe,this.select=new c.vpe,this.activate=new c.vpe,this.deactivate=new c.vpe}update(){super.update(),this.labels&&this.hasNoOptionalMarginsSet()?this.margins=[30,80,30,80]:!this.labels&&this.hasNoOptionalMarginsSet()&&(this.margins=[20,20,20,20]),this.dims=xr({width:this.width,height:this.height,margins:this.margins,showLegend:this.legend,legendPosition:this.legendPosition}),this.formatDates(),this.translation=`translate(${this.margins[3]+this.dims.width/2}, ${this.margins[0]+this.dims.height/2})`,this.outerRadius=Math.min(this.dims.width,this.dims.height),this.outerRadius/=this.labels?3:2,this.innerRadius=0,this.doughnut&&(this.innerRadius=this.outerRadius*(1-this.arcWidth)),this.domain=this.getDomain(),this.data=this.results.sort((x,D)=>this.domain.indexOf(x.name)-this.domain.indexOf(D.name)),this.setColors(),this.legendOptions=this.getLegendOptions()}getDomain(){return this.results.map(r=>r.label)}onClick(r){this.select.emit(r)}setColors(){this.colors=new x_(this.scheme,Pi.Ordinal,this.domain,this.customColors)}getLegendOptions(){return{scaleType:Pi.Ordinal,domain:this.domain,colors:this.colors,title:this.legendTitle,position:this.legendPosition}}onActivate(r,p=!1){r=this.results.find(D=>p?D.label===r.name:D.name===r.name),!(this.activeEntries.findIndex(D=>D.name===r.name&&D.value===r.value&&D.series===r.series)>-1)&&(this.activeEntries=[r,...this.activeEntries],this.activate.emit({value:r,entries:this.activeEntries}))}onDeactivate(r,p=!1){r=this.results.find(D=>p?D.label===r.name:D.name===r.name);const x=this.activeEntries.findIndex(D=>D.name===r.name&&D.value===r.value&&D.series===r.series);this.activeEntries.splice(x,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:r,entries:this.activeEntries})}hasNoOptionalMarginsSet(){return!this.margins||this.margins.length<=0}}return u.\u0275fac=function(){let f;return function(p){return(f||(f=c.n5z(u)))(p||u)}}(),u.\u0275cmp=c.Xpm({type:u,selectors:[["ngx-charts-pie-chart"]],contentQueries:function(r,p,x){if(1&r&&c.Suo(x,ou,5),2&r){let D;c.iGM(D=c.CRH())&&(p.tooltipTemplate=D.first)}},inputs:{labels:"labels",legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",explodeSlices:"explodeSlices",doughnut:"doughnut",arcWidth:"arcWidth",gradient:"gradient",activeEntries:"activeEntries",tooltipDisabled:"tooltipDisabled",labelFormatting:"labelFormatting",trimLabels:"trimLabels",maxLabelLength:"maxLabelLength",tooltipText:"tooltipText",margins:"margins"},outputs:{dblclick:"dblclick",select:"select",activate:"activate",deactivate:"deactivate"},features:[c.qOj],decls:3,vars:24,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelActivate","legendLabelDeactivate","legendLabelClick"],[1,"pie-chart","chart"],["ngx-charts-pie-series","",3,"colors","series","showLabels","labelFormatting","trimLabels","maxLabelLength","activeEntries","innerRadius","outerRadius","explodeSlices","gradient","animations","tooltipDisabled","tooltipTemplate","tooltipText","dblclick","select","activate","deactivate"]],template:function(r,p){1&r&&(c.TgZ(0,"ngx-charts-chart",0),c.NdJ("legendLabelActivate",function(D){return p.onActivate(D,!0)})("legendLabelDeactivate",function(D){return p.onDeactivate(D,!0)})("legendLabelClick",function(D){return p.onClick(D)}),c.O4$(),c.TgZ(1,"g",1)(2,"g",2),c.NdJ("dblclick",function(D){return p.dblclick.emit(D)})("select",function(D){return p.onClick(D)})("activate",function(D){return p.onActivate(D)})("deactivate",function(D){return p.onDeactivate(D)}),c.qZA()()()),2&r&&(c.Q6J("view",c.WLB(21,Sl,p.width,p.height))("showLegend",p.legend)("legendOptions",p.legendOptions)("activeEntries",p.activeEntries)("animations",p.animations),c.xp6(1),c.uIk("transform",p.translation),c.xp6(1),c.Q6J("colors",p.colors)("series",p.data)("showLabels",p.labels)("labelFormatting",p.labelFormatting)("trimLabels",p.trimLabels)("maxLabelLength",p.maxLabelLength)("activeEntries",p.activeEntries)("innerRadius",p.innerRadius)("outerRadius",p.outerRadius)("explodeSlices",p.explodeSlices)("gradient",p.gradient)("animations",p.animations)("tooltipDisabled",p.tooltipDisabled)("tooltipTemplate",p.tooltipTemplate)("tooltipText",p.tooltipText))},dependencies:[vd,dm],styles:[Ph,".pie-label{font-size:11px}.pie-label.animation{-webkit-animation:.75s ease-in fadeIn;animation:.75s ease-in fadeIn}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.pie-label-line{stroke-dasharray:100%}.pie-label-line.animation{-webkit-animation:3s linear drawOut;animation:3s linear drawOut;transition:d .75s}@-webkit-keyframes drawOut{0%{stroke-dashoffset:100%}to{stroke-dashoffset:0}}@keyframes drawOut{0%{stroke-dashoffset:100%}to{stroke-dashoffset:0}}\n"],encapsulation:2,changeDetection:0}),u})();let gn=(()=>{class u{constructor(r){this.innerRadius=70,this.outerRadius=80,this.animations=!0,this.select=new c.vpe,this.activate=new c.vpe,this.deactivate=new c.vpe,this.element=r.nativeElement}ngOnChanges(r){this.update()}update(){this.layout=mh().value(r=>r.data.value).sort(null),this.arcs=this.getArcs()}getArcs(){return this.layout(this.data).map((r,p)=>{const x=r.data.data.name,D=r.data.data.other;0===p&&(r.startAngle=0);const I=this.colors(x);return{data:r.data.data,class:"arc arc"+p,fill:I,startAngle:D?0:r.startAngle,endAngle:r.endAngle,animate:this.animations&&!D,pointerEvents:!D}})}onClick(r){this.select.emit(this.data[0].data)}trackBy(r,p){return p.data.name}label(r){return r.data.name}color(r){return this.colors(this.label(r))}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(c.SBq))},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-pie-grid-series",""]],inputs:{colors:"colors",data:"data",innerRadius:"innerRadius",outerRadius:"outerRadius",animations:"animations"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[c.TTD],attrs:du,decls:2,vars:2,consts:[[1,"pie-grid-arcs"],["ngx-charts-pie-arc","",3,"startAngle","endAngle","innerRadius","outerRadius","fill","value","data","gradient","pointerEvents","animate","select","activate","deactivate",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-pie-arc","",3,"startAngle","endAngle","innerRadius","outerRadius","fill","value","data","gradient","pointerEvents","animate","select","activate","deactivate"]],template:function(r,p){1&r&&(c.O4$(),c.TgZ(0,"g",0),c.YNc(1,q0,1,11,"g",1),c.qZA()),2&r&&(c.xp6(1),c.Q6J("ngForOf",p.arcs)("ngForTrackBy",p.trackBy))},dependencies:[cm,m.sg],encapsulation:2,changeDetection:0}),u})(),dv=(()=>{class u extends C_{constructor(){super(...arguments),this.tooltipDisabled=!1,this.label="Total",this.minWidth=150,this.activeEntries=[],this.activate=new c.vpe,this.deactivate=new c.vpe,this.margin=[20,20,20,20],this.placementTypes=On,this.styleTypes=zi}update(){super.update(),this.dims=xr({width:this.width,height:this.height,margins:this.margin}),this.formatDates(),this.domain=this.getDomain(),this.data=function _m(u,f,r,p){const x=cl(),D=cl(),I=u.width,V=u.height,[me,fe]=function um(u,f,r){let p=1,x=f;const D=u.width;if(D>r)for(;D/xf?f.value:0).reduce((f,r)=>f+r,0)}(f),oi=x.bandwidth(),Mi=D.bandwidth();for(let St=0;St0?ft[St].data.value/wt:0,ft[St].data.total=wt;return ft}(this.dims,this.results,this.minWidth,this.designatedTotal),this.transform=`translate(${this.margin[3]} , ${this.margin[0]})`,this.series=this.getSeries(),this.setColors(),this.tooltipText=this.tooltipText||this.defaultTooltipText}defaultTooltipText({data:r}){return`\n ${ic(fl(r.name))}\n ${r.value.toLocaleString()}\n `}getDomain(){return this.results.map(r=>r.label)}getSeries(){const r=this.designatedTotal?this.designatedTotal:this.getTotal();return this.data.map(p=>{const I=p.data.name,V=fl(I),me=p.data.value,fe=function gh(u,f){let r;if(void 0===f)for(const p of u)null!=p&&(r>p||void 0===r&&p>=p)&&(r=p);else{let p=-1;for(let x of u)null!=(x=f(x,++p,u))&&(r>x||void 0===r&&x>=x)&&(r=x)}return r}([p.width-10,p.height-20])/2-5;let dt=0;return{transform:`translate(${p.x+(p.width-10)/2}, ${p.y+(p.height-20)/2})`,colors:()=>(dt+=1,1===dt?"rgba(100,100,100,0.3)":this.colorScale.getColor(V)),innerRadius:.9*fe,outerRadius:fe,name:I,label:ic(V),total:me,value:me,percent:Q_(".1%")(p.data.percent),data:[p,{data:{other:!0,value:r-me,name:p.data.name}}]}})}getTotal(){return this.results.map(r=>r.value).reduce((r,p)=>r+p,0)}onClick(r){this.select.emit(r)}setColors(){this.colorScale=new x_(this.scheme,Pi.Ordinal,this.domain,this.customColors)}onActivate(r,p=!1){r=this.results.find(D=>p?D.label===r.name:D.name===r.name),!(this.activeEntries.findIndex(D=>D.name===r.name&&D.value===r.value&&D.series===r.series)>-1)&&(this.activeEntries=[r,...this.activeEntries],this.activate.emit({value:r,entries:this.activeEntries}))}onDeactivate(r,p=!1){r=this.results.find(D=>p?D.label===r.name:D.name===r.name);const x=this.activeEntries.findIndex(D=>D.name===r.name&&D.value===r.value&&D.series===r.series);this.activeEntries.splice(x,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:r,entries:this.activeEntries})}}return u.\u0275fac=function(){let f;return function(p){return(f||(f=c.n5z(u)))(p||u)}}(),u.\u0275cmp=c.Xpm({type:u,selectors:[["ngx-charts-pie-grid"]],contentQueries:function(r,p,x){if(1&r&&c.Suo(x,ou,5),2&r){let D;c.iGM(D=c.CRH())&&(p.tooltipTemplate=D.first)}},inputs:{designatedTotal:"designatedTotal",tooltipDisabled:"tooltipDisabled",tooltipText:"tooltipText",label:"label",minWidth:"minWidth",activeEntries:"activeEntries"},outputs:{activate:"activate",deactivate:"deactivate"},features:[c.qOj],decls:3,vars:8,consts:[[3,"view","showLegend","animations"],[1,"pie-grid","chart"],["class","pie-grid-item",4,"ngFor","ngForOf"],[1,"pie-grid-item"],["ngx-charts-pie-grid-series","","ngx-tooltip","",3,"colors","data","innerRadius","outerRadius","animations","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate"],["class","label percent-label","dy","-0.5em","x","0","y","5","ngx-charts-count-up","","text-anchor","middle",3,"countTo","countSuffix",4,"ngIf"],["class","label percent-label","dy","-0.5em","x","0","y","5","text-anchor","middle",4,"ngIf"],["dy","0.5em","x","0","y","5","text-anchor","middle",1,"label"],["class","label","dy","1.23em","x","0","text-anchor","middle","ngx-charts-count-up","",3,"countTo","countPrefix",4,"ngIf"],["class","label","dy","1.23em","x","0","text-anchor","middle",4,"ngIf"],["dy","-0.5em","x","0","y","5","ngx-charts-count-up","","text-anchor","middle",1,"label","percent-label",3,"countTo","countSuffix"],["dy","-0.5em","x","0","y","5","text-anchor","middle",1,"label","percent-label"],["dy","1.23em","x","0","text-anchor","middle","ngx-charts-count-up","",1,"label",3,"countTo","countPrefix"],["dy","1.23em","x","0","text-anchor","middle",1,"label"]],template:function(r,p){1&r&&(c.TgZ(0,"ngx-charts-chart",0),c.O4$(),c.TgZ(1,"g",1),c.YNc(2,hl,8,19,"g",2),c.qZA()()),2&r&&(c.Q6J("view",c.WLB(5,Sl,p.width,p.height))("showLegend",!1)("animations",p.animations),c.xp6(1),c.uIk("transform",p.transform),c.xp6(1),c.Q6J("ngForOf",p.series))},dependencies:[vd,gn,wp,m.sg,ua,m.O5],styles:[Ph,".pie-grid .arc1{opacity:.4}.pie-grid .percent-label{font-size:16px;font-weight:400}\n"],encapsulation:2,changeDetection:0}),u})(),Pc=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=c.oAB({type:u}),u.\u0275inj=c.cJS({imports:[[uo]]}),u})(),lx=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=c.oAB({type:u}),u.\u0275inj=c.cJS({imports:[[uo,Pc,lm]]}),u})(),pv=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=c.oAB({type:u}),u.\u0275inj=c.cJS({imports:[[uo]]}),u})(),Lp=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=c.oAB({type:u}),u.\u0275inj=c.cJS({imports:[[uo]]}),u})(),Cf=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=c.oAB({type:u}),u.\u0275inj=c.cJS({imports:[[uo,Pc,sm]]}),u})(),xf=(()=>{class u{constructor(){!function vf(){"undefined"!=typeof SVGElement&&void 0===SVGElement.prototype.contains&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains)}()}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=c.oAB({type:u}),u.\u0275inj=c.cJS({imports:[uo,lf,sm,iv,nv,av,lm,lx,pv,Pc,Lp,Cf]}),u})()},4147:N=>{"use strict";N.exports={i8:"2.6.0"}}},N=>{N(N.s=7867)}]); \ No newline at end of file diff --git a/dist/main.1f0c1e65d32816d2.js b/dist/main.1f0c1e65d32816d2.js deleted file mode 100644 index 11bbeefbdb..0000000000 --- a/dist/main.1f0c1e65d32816d2.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkOpen_Capture=self.webpackChunkOpen_Capture||[]).push([[179],{7520:(B,U,C)=>{"use strict";function c(m){return m}C.d(U,{J:()=>c})},9958:(B,U,C)=>{"use strict";C.d(U,{N:()=>c});const c={url:"../../backend_oc",customId:"",fqdn:"",production:!0,version:C(4147).i8}},1872:(B,U,C)=>{"use strict";C.d(U,{R:()=>m});var c=C(5e3);let m=(()=>{class e{ngOnInit(){}}return e.\u0275fac=function(T){return new(T||e)},e.\u0275cmp=c.Xpm({type:e,selectors:[["app-loader"]],decls:10,vars:0,consts:[[1,"w-full","h-full"],["id","preloader",1,"absolute","inset-0","bg-white","z-30"],["id","status",1,"flex","absolute","items-center","justify-center","w-full","h-0","top-1/2"],["xmlns","http://www.w3.org/2000/svg","x","0px","y","0px","viewBox","0 0 74.4 81.9","width","300","height","300"],["id","fill","x1","0.5","y1","1","x2","0.5","y2","0"],["offset","0%","stop-color","#76B442"],["attributeName","stop-color","values","#76B442; #A7A8AA; #76B442","dur","1s","repeatCount","indefinite"],["offset","100%","stop-color","#A7A8AA"],["attributeName","stop-color","values","#A7A8AA; #76B442; #A7A8AA","dur","1s","repeatCount","indefinite"],["fill","url(#fill)","d","M1.9,79.4c-1.5-1.5,0.3-4.7,8.2-14.2c4.8-5.7,10.1-12.3,11.9-14.6l3.3-4.1l-1.6-1.7 c-7.2-7.4-8.6-20.6-3-29.7C27.9,3.4,43.8-1.4,56.8,4.2c6,2.6,11.8,8,14.4,13.5c2.7,5.6,2.5,15.4-0.4,21.1 c-6.6,13-22.8,18.9-36.3,13.3c-2.2-1-4.1-1.3-4.4-1c-0.3,0.4-5.8,7-12.2,14.8C8.8,76.8,5.7,80,4.3,80C3.3,80,2.1,79.7,1.9,79.4 L1.9,79.4z M53.5,48.8c5.7-2,10.7-6.3,13.4-11.3c2.8-5.2,2.9-13.8,0.1-18.9c-4.5-8.4-12-12.8-21.9-12.8c-26.3,0-33.2,33.2-9,42.7 C42.2,50.9,47.3,51,53.5,48.8L53.5,48.8z"]],template:function(T,k){1&T&&(c.TgZ(0,"div",0)(1,"div",1)(2,"div",2),c.O4$(),c.TgZ(3,"svg",3)(4,"linearGradient",4)(5,"stop",5),c._UZ(6,"animate",6),c.qZA(),c.TgZ(7,"stop",7),c._UZ(8,"animate",8),c.qZA()(),c._UZ(9,"path",9),c.qZA()()()())},encapsulation:2}),e})()},2595:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{D:()=>SplitterUpdateOutputComponent});var _angular_forms__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(3075),_env__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(9958),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(8505),rxjs_operators__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(8746),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(262),rxjs_operators__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(8675),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(4004),rxjs__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(9646),_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(7520),_angular_core__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(5e3),_angular_router__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(6696),_angular_common_http__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(520),_services_auth_service__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(2560),_services_user_service__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(230),_ngx_translate_core__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(4894),_services_notifications_notifications_service__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(7862),_services_settings_service__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(3208),_services_privileges_service__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(897),_angular_common__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(9808),_angular_material_form_field__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(3489),_angular_material_select__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(4107),_angular_material_core__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(508),_angular_material_input__WEBPACK_IMPORTED_MODULE_23__=__webpack_require__(8833),_angular_material_tabs__WEBPACK_IMPORTED_MODULE_24__=__webpack_require__(3251),_angular_material_sidenav__WEBPACK_IMPORTED_MODULE_25__=__webpack_require__(2638),_angular_material_button__WEBPACK_IMPORTED_MODULE_26__=__webpack_require__(7423),_angular_material_expansion__WEBPACK_IMPORTED_MODULE_27__=__webpack_require__(1125),_angular_material_autocomplete__WEBPACK_IMPORTED_MODULE_28__=__webpack_require__(1079),_angular_material_list__WEBPACK_IMPORTED_MODULE_29__=__webpack_require__(4623),_angular_material_divider__WEBPACK_IMPORTED_MODULE_30__=__webpack_require__(4834),_loader_component__WEBPACK_IMPORTED_MODULE_31__=__webpack_require__(1872),_verifier_outputs_update_update_output_component__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(6155);function SplitterUpdateOutputComponent_mat_expansion_panel_8_div_6_div_1_mat_expansion_panel_1_div_8_div_1_Template(B,U){if(1&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"div",42)(1,"button",43),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C);const m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(4).$implicit,e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,b=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(b.serviceSettings.changeSetting(m.id,e.id))}),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(2,"i"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(3,"p",44),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(5,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()()}if(2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(5);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("text-green-400",c.router.url.includes(C.route))("disable_link",C.showOnlyIfActive),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("routerLink",C.route),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",C.icon,""),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(5,9,C.label)," ")}}function SplitterUpdateOutputComponent_mat_expansion_panel_8_div_6_div_1_mat_expansion_panel_1_div_8_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"div"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(1,SplitterUpdateOutputComponent_mat_expansion_panel_8_div_6_div_1_mat_expansion_panel_1_div_8_div_1_Template,6,11,"div",41),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=U.$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(3).$implicit,m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("border-gray-600",!C.showOnlyIfActive)("border-t",!C.showOnlyIfActive)("w-full",!C.showOnlyIfActive),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",(m.privilegesService.hasPrivilege(C.privilege)||"*"===c.privilege)&&(!C.showOnlyIfActive||C.showOnlyIfActive&&m.router.url.includes(C.route)))}}function SplitterUpdateOutputComponent_mat_expansion_panel_8_div_6_div_1_mat_expansion_panel_1_Template(B,U){if(1&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-expansion-panel",35)(1,"mat-expansion-panel-header",36)(2,"mat-panel-title",37),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(3,"i"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(4,"button",38),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C);const m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,b=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(b.serviceSettings.changeSetting(m.id,e.id))}),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(5,"p",39),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(6),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(7,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()()(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(8,SplitterUpdateOutputComponent_mat_expansion_panel_8_div_6_div_1_mat_expansion_panel_1_div_8_Template,2,7,"div",40),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()}if(2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("expanded",m.router.url.includes(C.route)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",C.icon,""),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("text-green-400",m.router.url===C.route),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("text-green-400",m.router.url===C.route),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("routerLink",C.route),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("font-medium",m.router.url===C.route),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(7,13,C.label)," "),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",m.serviceSettings.getSettingsAction(c.id,C.id))}}function SplitterUpdateOutputComponent_mat_expansion_panel_8_div_6_div_1_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"div"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(1,SplitterUpdateOutputComponent_mat_expansion_panel_8_div_6_div_1_mat_expansion_panel_1_Template,9,15,"mat-expansion-panel",34),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",c.privilegesService.hasPrivilege(C.privilege)||"*"===C.privilege)}}function SplitterUpdateOutputComponent_mat_expansion_panel_8_div_6_ng_template_2_button_0_Template(B,U){if(1&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"button",38),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C);const m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,b=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(b.serviceSettings.changeSetting(m.id,e.id))}),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(1,"i"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(2,"p",39),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(4,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()}if(2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("text-green-400",c.router.url===C.route),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("routerLink",C.route),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",C.icon,""),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("font-medium",c.router.url===C.route),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(4,9,C.label)," ")}}function SplitterUpdateOutputComponent_mat_expansion_panel_8_div_6_ng_template_2_Template(B,U){if(1&B&&_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(0,SplitterUpdateOutputComponent_mat_expansion_panel_8_div_6_ng_template_2_button_0_Template,5,11,"button",45),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",c.privilegesService.hasPrivilege(C.privilege)||"*"===C.privilege)}}function SplitterUpdateOutputComponent_mat_expansion_panel_8_div_6_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"div"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(1,SplitterUpdateOutputComponent_mat_expansion_panel_8_div_6_div_1_Template,2,1,"div",32),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(2,SplitterUpdateOutputComponent_mat_expansion_panel_8_div_6_ng_template_2_Template,1,1,"ng-template",null,33,_angular_core__WEBPACK_IMPORTED_MODULE_7__.W1O),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=U.$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.MAs(3),m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("border-b",e.privilegesService.hasPrivilege(C.privilege)||"*"===C.privilege)("border-gray-400",e.privilegesService.hasPrivilege(C.privilege)||"*"===C.privilege),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",e.serviceSettings.getSettingsAction(m.id,C.id))("ngIfElse",c)}}function SplitterUpdateOutputComponent_mat_expansion_panel_8_Template(B,U){if(1&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-expansion-panel",28),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("opened",function(){const e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C).$implicit,b=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(b.serviceSettings.closeOtherParent(b.router.url,e.id))}),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(1,"mat-expansion-panel-header",29)(2,"mat-panel-title"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(4,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(5,"div",30),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(6,SplitterUpdateOutputComponent_mat_expansion_panel_8_div_6_Template,4,6,"div",31),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()}if(2&B){const C=U.$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("expanded",C.opened),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(4,3,C.label)," "),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",c.serviceSettings.getSettings()[C.id])}}function SplitterUpdateOutputComponent_div_10_Template(B,U){1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"div"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(1,"app-loader"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA())}function SplitterUpdateOutputComponent_div_21_ng_container_2_mat_form_field_1_mat_error_6_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-error"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(c.getErrorMessage(C.id,c.outputForm))}}function SplitterUpdateOutputComponent_div_21_ng_container_2_mat_form_field_1_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-form-field")(1,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(4,"input",49),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(5,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(6,SplitterUpdateOutputComponent_div_21_ng_container_2_mat_form_field_1_mat_error_6_Template,2,1,"mat-error",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,7,C.label)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.s9C("placeholder",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(5,9,C.label)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("value",C.control.value)("formControl",C.control)("type",C.type)("required",C.required),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.control.invalid)}}function SplitterUpdateOutputComponent_div_21_ng_container_2_mat_form_field_2_mat_option_5_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-option",52),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=U.$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("value",C.output_type_id),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",C.output_type_label," ")}}function SplitterUpdateOutputComponent_div_21_ng_container_2_mat_form_field_2_mat_error_6_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-error"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(c.getErrorMessage(C.id,c.outputForm))}}function SplitterUpdateOutputComponent_div_21_ng_container_2_mat_form_field_2_Template(B,U){if(1&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-form-field")(1,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(4,"mat-select",50),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("ngModelChange",function(m){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C);const e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit;return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(e.control.value=m)})("selectionChange",function(m){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C);const e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(3);return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(e.changeOutputType(m))}),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(5,SplitterUpdateOutputComponent_div_21_ng_container_2_mat_form_field_2_mat_option_5_Template,2,2,"mat-option",51),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(6,SplitterUpdateOutputComponent_div_21_ng_container_2_mat_form_field_2_mat_error_6_Template,2,1,"mat-error",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()}if(2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,6,C.label)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("name",C.id)("id",C.id)("ngModel",C.control.value),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",c.outputsTypes),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.control.invalid)}}function SplitterUpdateOutputComponent_div_21_ng_container_2_mat_form_field_3_mat_option_5_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-option",52),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(2,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=U.$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("value",C.id),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(2,2,C.label)," ")}}function SplitterUpdateOutputComponent_div_21_ng_container_2_mat_form_field_3_mat_error_6_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-error"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(c.getErrorMessage(C.id,c.outputForm))}}function SplitterUpdateOutputComponent_div_21_ng_container_2_mat_form_field_3_Template(B,U){if(1&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-form-field")(1,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(4,"mat-select",53),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("ngModelChange",function(m){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C);const e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit;return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(e.control.value=m)}),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(5,SplitterUpdateOutputComponent_div_21_ng_container_2_mat_form_field_3_mat_option_5_Template,3,4,"mat-option",51),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(6,SplitterUpdateOutputComponent_div_21_ng_container_2_mat_form_field_3_mat_error_6_Template,2,1,"mat-error",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()}if(2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,6,C.label)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("name",C.id)("id",C.id)("ngModel",C.control.value),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",C.values),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.control.invalid)}}function SplitterUpdateOutputComponent_div_21_ng_container_2_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.ynx(0),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(1,SplitterUpdateOutputComponent_div_21_ng_container_2_mat_form_field_1_Template,7,11,"mat-form-field",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(2,SplitterUpdateOutputComponent_div_21_ng_container_2_mat_form_field_2_Template,7,8,"mat-form-field",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(3,SplitterUpdateOutputComponent_div_21_ng_container_2_mat_form_field_3_Template,7,8,"mat-form-field",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.BQk()),2&B){const C=U.$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf","text"===C.type),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf","select"===C.type&&"output_type_id"===C.id),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf","select"===C.type&&"compress_type"===C.id&&"export_pdf"===c.selectedOutputType)}}function SplitterUpdateOutputComponent_div_21_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"div",46)(1,"form",47),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(2,SplitterUpdateOutputComponent_div_21_ng_container_2_Template,4,3,"ng-container",48),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",C.outputForm)}}function SplitterUpdateOutputComponent_form_32_span_4_Template(B,U){1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"span",60),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(2,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(2,1,"OUTPUT.no_auth_necessary")," "))}function SplitterUpdateOutputComponent_form_32_ng_container_6_mat_form_field_1_mat_error_5_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-error"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(c.getErrorMessage(C.id,c.outputsTypesForm[c.selectedOutputType].auth))}}function SplitterUpdateOutputComponent_form_32_ng_container_6_mat_form_field_1_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-form-field")(1,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(4,"input",49),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(5,SplitterUpdateOutputComponent_form_32_ng_container_6_mat_form_field_1_mat_error_5_Template,2,1,"mat-error",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,7,C.label)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("value",C.control.value)("formControl",C.control)("type",C.type)("placeholder",C.placeholder)("required",C.required),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.control.invalid)}}function SplitterUpdateOutputComponent_form_32_ng_container_6_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.ynx(0),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(1,SplitterUpdateOutputComponent_form_32_ng_container_6_mat_form_field_1_Template,6,9,"mat-form-field",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.BQk()),2&B){const C=U.$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf","text"===C.type||"number"===C.type||"password"===C.type)}}function SplitterUpdateOutputComponent_form_32_button_7_Template(B,U){if(1&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"button",20)(1,"span",61),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C);const m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(m.testConnection())}),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()}2&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,1,"OUTPUT.test_connection")))}function SplitterUpdateOutputComponent_form_32_span_10_Template(B,U){1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"span",60),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(2,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(2,1,"OUTPUT.no_parameters_necessary")," "))}function SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_1_mat_error_5_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-error"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(c.getErrorMessage(C.id,c.outputsTypesForm[c.selectedOutputType].parameters))}}function SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_1_mat_hint_6_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-hint"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(C.hint)}}function SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_1_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-form-field")(1,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(4,"input",49),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(5,SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_1_mat_error_5_Template,2,1,"mat-error",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(6,SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_1_mat_hint_6_Template,2,1,"mat-hint",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,8,C.label)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("value",C.control.value)("formControl",C.control)("type",C.type)("placeholder",C.placeholder)("required",C.required),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.control.invalid),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.hint)}}function SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_2_mat_error_5_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-error"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(c.getErrorMessage(C.id,c.outputsTypesForm[c.selectedOutputType].parameters))}}function SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_2_mat_hint_6_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-hint"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(C.hint)}}function SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_2_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-form-field",64)(1,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(4,"textarea",65),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(5,SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_2_mat_error_5_Template,2,1,"mat-error",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(6,SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_2_mat_hint_6_Template,2,1,"mat-hint",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,8,C.label)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("value",C.control.value)("formControl",C.control)("type",C.type)("placeholder",C.placeholder)("required",C.required),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.control.invalid),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.hint)}}function SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_3_mat_error_5_Template(B,U){1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-error"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(2,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(2,1,"OUTPUT.check_connection_before")))}function SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_3_mat_hint_6_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-hint"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(C.hint)}}function SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_3_mat_option_9_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-option",52),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(1,"span",70),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(2,"highlight"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(3,"span",71),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()),2&B){const C=U.$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(4);_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("value",C),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("innerHTML",_angular_core__WEBPACK_IMPORTED_MODULE_7__.xi3(2,3,C.value,c.toHighlight),_angular_core__WEBPACK_IMPORTED_MODULE_7__.oJD),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(C.extra)}}function SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_3_Template(B,U){if(1&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-form-field",66),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("focusin",function(){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C);const m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(e.retrieveDataFromWS(m.id))}),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(1,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(4,"input",67),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(5,SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_3_mat_error_5_Template,3,3,"mat-error",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(6,SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_3_mat_hint_6_Template,2,1,"mat-hint",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(7,"mat-autocomplete",68,69),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(9,SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_3_mat_option_9_Template,5,6,"mat-option",51),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(10,"async"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()}if(2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.MAs(8),c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,11,c.label)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("formControl",c.control)("type",c.type)("readonly",c.webservice&&!m.connection)("placeholder",c.placeholder)("required",c.required)("matAutocomplete",C),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",c.webservice&&!m.connection),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",c.hint),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("displayWith",m.displayFn),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(10,13,c.filteredOptions))}}function SplitterUpdateOutputComponent_form_32_ng_container_12_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.ynx(0),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(1,SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_1_Template,7,10,"mat-form-field",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(2,SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_2_Template,7,10,"mat-form-field",62),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(3,SplitterUpdateOutputComponent_form_32_ng_container_12_mat_form_field_3_Template,11,15,"mat-form-field",63),_angular_core__WEBPACK_IMPORTED_MODULE_7__.BQk()),2&B){const C=U.$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",("text"===C.type||"number"===C.type)&&!C.webservice),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf","textarea"===C.type&&!C.webservice),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",("text"===C.type||"number"===C.type)&&C.webservice)}}function SplitterUpdateOutputComponent_form_32_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"form",54)(1,"mat-tab-group",55)(2,"mat-tab",56),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(4,SplitterUpdateOutputComponent_form_32_span_4_Template,3,3,"span",57),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(5,"div",58),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(6,SplitterUpdateOutputComponent_form_32_ng_container_6_Template,2,1,"ng-container",48),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(7,SplitterUpdateOutputComponent_form_32_button_7_Template,4,3,"button",59),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(8,"mat-tab",56),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(9,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(10,SplitterUpdateOutputComponent_form_32_span_10_Template,3,3,"span",57),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(11,"div",58),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(12,SplitterUpdateOutputComponent_form_32_ng_container_12_Template,4,3,"ng-container",48),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()()()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("label",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,7,"OUTPUT.auth")),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",0===C.outputsTypesForm[C.selectedOutputType].auth.length),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",C.outputsTypesForm[C.selectedOutputType].auth),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",0!==C.outputsTypesForm[C.selectedOutputType].auth.length),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("label",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(9,9,"OUTPUT.parameters")),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",0===C.outputsTypesForm[C.selectedOutputType].parameters.length),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",C.outputsTypesForm[C.selectedOutputType].parameters)}}function SplitterUpdateOutputComponent_div_39_Template(B,U){1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"div",72)(1,"div",73),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(2,"i",74),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(3,"span",75),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(5,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()()),2&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(5,1,"OUTPUT.loading_custom_fields")," "))}function SplitterUpdateOutputComponent_div_40_div_1_mat_divider_7_Template(B,U){1&B&&_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(0,"mat-divider",79)}function SplitterUpdateOutputComponent_div_40_div_1_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"div",77)(1,"span"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(4,"span",71),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(5),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(6,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(7,SplitterUpdateOutputComponent_div_40_div_1_mat_divider_7_Template,1,0,"mat-divider",78),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()),2&B){const C=U.$implicit,c=U.index;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,3,C.label)," "),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(6,5,C.labelShort)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",0===c)}}function SplitterUpdateOutputComponent_div_40_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"div",15),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(1,SplitterUpdateOutputComponent_div_40_div_1_Template,8,7,"div",76),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",C.availableFields)}}let SplitterUpdateOutputComponent=(()=>{class SplitterUpdateOutputComponent{constructor(B,U,C,c,m,e,b,T,k,F){this.router=B,this.http=U,this.route=C,this.formBuilder=c,this.authService=m,this.userService=e,this.translate=b,this.notify=T,this.serviceSettings=k,this.privilegesService=F,this.headers=this.authService.headers,this.loading=!0,this.loadingCustomFields=!0,this.connection=!1,this.outputsTypes=[],this.outputsTypesForm=[],this.toHighlight="",this.outputForm=[{id:"output_type_id",label:this.translate.instant("HEADER.output_type"),type:"select",control:new _angular_forms__WEBPACK_IMPORTED_MODULE_8__.NI,required:!0,values:this.outputsTypes},{id:"output_label",label:this.translate.instant("HEADER.label"),type:"text",control:new _angular_forms__WEBPACK_IMPORTED_MODULE_8__.NI,required:!0},{id:"compress_type",label:this.translate.instant("OUTPUT.compress_type"),type:"select",control:new _angular_forms__WEBPACK_IMPORTED_MODULE_8__.NI,values:[{id:"",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.no_compress")},{id:"screen",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.compress_screen")},{id:"ebook",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.compress_ebook")},{id:"prepress",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.compress_prepress")},{id:"printer",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.compress_printer")},{id:"default",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.compress_default")}],required:!1}],this.availableFields=[{labelShort:"HEADER.id",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("HEADER.label")},{labelShort:"date",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("TYPES.date")},{labelShort:"id",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("SPLITTER.batch_identifier")},{labelShort:"document_identifier",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("SPLITTER.document_identifier")},{labelShort:"document_index",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("SPLITTER.document_index")},{labelShort:"validate_by_firstname",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.validate_by_lastname")},{labelShort:"validate_by_firstname",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.validate_by_firstname")},{labelShort:"doctype",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("SETTINGS.document_type")},{labelShort:"random",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.random")},{labelShort:"filename",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.filename")},{labelShort:"documents_count",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.documents_count")},{labelShort:"fileIndex",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.file_index")},{labelShort:"format",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.format")},{labelShort:"zip_filename",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.zip_filename")}],this.testConnectionMapping={export_openads:"testOpenadsConnection()",export_maarch:"testMaarchConnection()",export_cmis:"testCmisConnection()"}}ngOnInit(){this.serviceSettings.init(),this.outputId=this.route.snapshot.params.id,this.http.get(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/outputs/getById/"+this.outputId,{headers:this.authService.headers}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.b)(B=>{this.output=B;for(const U in B)B.hasOwnProperty(U)&&this.outputForm.forEach(C=>{C.id===U&&("output_type_id"===C.id&&(this.selectedOutputType=this.originalOutputType=B[U]),C.control.setValue(B[U]),"compress_type"===C.id&&null==B[U]&&C.control.setValue(""))});this.http.get(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/outputs/getOutputsTypes?module=splitter",{headers:this.authService.headers}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.b)(U=>{this.outputsTypes=U.outputs_types;for(const C of this.outputsTypes){this.outputsTypesForm[C.output_type_id]={auth:[],parameters:[]};for(const c in this.outputsTypesForm[C.output_type_id])if(C.data.options[c])for(const m of C.data.options[c])this.outputsTypesForm[C.output_type_id][c].push({id:m.id,label:m.label,type:m.type,placeholder:m.placeholder,control:new _angular_forms__WEBPACK_IMPORTED_MODULE_8__.NI,required:m.required,isJson:m.isJson,hint:m.hint,webservice:m.webservice})}for(const C in this.outputsTypesForm[this.originalOutputType])this.outputsTypesForm[this.originalOutputType][C].forEach(c=>{this.output.data.options[C].forEach(m=>{c.id===m.id&&m.value&&(m.webservice&&(c.values=[m.value]),c.control.setValue(m.value))})}),this.testConnection()}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.x)(()=>{this.loading=!1}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.K)(U=>(console.debug(U),this.notify.handleErrors(U),this.router.navigate(["/settings/splitter/outputs"]).then(),(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(!1)))).subscribe()}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.K)(B=>(console.debug(B),this.notify.handleErrors(B),this.router.navigate(["/settings/splitter/outputs"]).then(),(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(!1)))).subscribe(),this.http.get(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/customFields/list",{headers:this.authService.headers}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.b)(B=>{let U;B.customFields.forEach(C=>{U={id:C.id,labelShort:C.label_short,label:C.label,enabled:C.enabled},C.enabled&&this.availableFields.push(U)})}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.x)(()=>this.loadingCustomFields=!1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.K)(B=>(console.debug(B),this.notify.handleErrors(B),(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(!1)))).subscribe()}displayFn(B){return B?B.value:void 0}getErrorMessage(B,U){let C;return U.forEach(c=>{c.id===B&&c.control.invalid&&(c.required&&(C=this.translate.instant("AUTH.field_required")),c.control.errors.json_error&&(C=this.translate.instant("ERROR.json_pattern")))}),C}changeOutputType(B){this.selectedOutputType=B.value}isValidForm(B){let U=!0;return B.forEach(C=>{("DISABLED"!==C.control.status&&"VALID"!==C.control.status||null==C.control.value)&&(U=!1)}),U}getValueFromForm(B,U){let C="";return B.forEach(c=>{U===c.id&&(C=c.control.value)}),C}retrieveDataFromWS(fieldId){for(const cpt in this.outputsTypesForm[this.selectedOutputType].parameters){const element=this.outputsTypesForm[this.selectedOutputType].parameters[cpt];element.id===fieldId&&(!element.values||1===element.values.length)&&eval("this."+element.webservice+"("+cpt+")")}}_filter(B,U){if("string"==typeof B){this.toHighlight=B;const C=B.toLowerCase();return U.filter(c=>-1!==c.value.toLowerCase().indexOf(C))}return U}testCmisConnection(){const B=this.getCmisConnectionInfo();this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/splitter/cmis/testConnection",{args:B},{headers:this.authService.headers}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.b)(U=>{!0===U.status?(this.notify.success(this.translate.instant("OUTPUT.cmis_connection_ok")),this.connection=!0):(this.notify.error(this.translate.instant("OUTPUT.cmis_connection_ko")+" : "+U.message),this.connection=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.K)(U=>(console.debug(U),this.notify.handleErrors(U),(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(!1)))).subscribe()}getCmisConnectionInfo(){return{cmis_ws:this.getValueFromForm(this.outputsTypesForm[this.selectedOutputType].auth,"cmis_ws"),login:this.getValueFromForm(this.outputsTypesForm[this.selectedOutputType].auth,"login"),password:this.getValueFromForm(this.outputsTypesForm[this.selectedOutputType].auth,"password"),folder:this.getValueFromForm(this.outputsTypesForm[this.selectedOutputType].auth,"folder")}}testMaarchConnection(){const B=this.getMaarchConnectionInfo();this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/maarch/testConnection",{args:B},{headers:this.authService.headers}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.b)(U=>{const C=U.status;!0===C?(this.notify.success(this.translate.instant("OUTPUT.maarch_connection_ok")),this.connection=!0):(this.notify.error(this.translate.instant("OUTPUT.maarch_connection_ko")+" : "+C[1]),this.connection=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.K)(U=>(console.debug(U),this.notify.handleErrors(U),(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(!1)))).subscribe()}getOpenadsConnectionInfo(){return{openads_api:this.getValueFromForm(this.outputsTypesForm[this.selectedOutputType].auth,"openads_api"),login:this.getValueFromForm(this.outputsTypesForm[this.selectedOutputType].auth,"login"),password:this.getValueFromForm(this.outputsTypesForm[this.selectedOutputType].auth,"password")}}testOpenadsConnection(){const B=this.getOpenadsConnectionInfo();this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/splitter/openads/testConnection",{args:B},{headers:this.authService.headers}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.b)(U=>{!0===U.status?(this.notify.success(this.translate.instant("OUTPUT.openads_connection_ok")),this.connection=!0):(this.notify.error(this.translate.instant("OUTPUT.openads_connection_ko")+" : "+U.message),this.connection=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.K)(U=>(console.debug(U),this.notify.handleErrors(U),(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(!1)))).subscribe()}getMaarchConnectionInfo(){return{host:this.getValueFromForm(this.outputsTypesForm[this.selectedOutputType].auth,"host"),login:this.getValueFromForm(this.outputsTypesForm[this.selectedOutputType].auth,"login"),password:this.getValueFromForm(this.outputsTypesForm[this.selectedOutputType].auth,"password")}}getUsersFromMaarch(B){if(this.isValidForm(this.outputsTypesForm[this.selectedOutputType].auth)&&this.connection){const U=this.getMaarchConnectionInfo();this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/maarch/getUsers",{args:U},{headers:this.authService.headers}).toPromise().then(C=>{if(C&&C.users){const c=C.users,m=[];for(const e in c)m.push({id:c[e].id,value:c[e].firstname+" "+c[e].lastname,extra:c[e].user_id});this.setAutocompleteValues(B,m)}})}}getEntitiesFromMaarch(B){if(this.isValidForm(this.outputsTypesForm[this.selectedOutputType].auth)&&this.connection){const U=this.getMaarchConnectionInfo();this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/maarch/getEntities",{args:U},{headers:this.authService.headers}).toPromise().then(C=>{if(C&&C.entities){const c=C.entities,m=[];for(const e in c)m.push({id:c[e].serialId,value:c[e].entity_label,extra:c[e].entity_id});this.setAutocompleteValues(B,m)}})}}getDoctypesFromMaarch(B){if(this.isValidForm(this.outputsTypesForm[this.selectedOutputType].auth)&&this.connection){const U=this.getMaarchConnectionInfo();this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/maarch/getDoctypes",{args:U},{headers:this.authService.headers}).toPromise().then(C=>{if(C&&C.doctypes){const c=C.doctypes,m=[];for(const e in c)m.push({id:c[e].type_id,value:c[e].description,extra:c[e].type_id});this.setAutocompleteValues(B,m)}})}}getPrioritiesFromMaarch(B){if(this.isValidForm(this.outputsTypesForm[this.selectedOutputType].auth)&&this.connection){const U=this.getMaarchConnectionInfo();this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/maarch/getPriorities",{args:U},{headers:this.authService.headers}).toPromise().then(C=>{if(C&&C.priorities){const c=C.priorities,m=[];for(const e in c)m.push({id:c[e].id,value:c[e].label,extra:c[e].id});this.setAutocompleteValues(B,m)}})}}getStatusesFromMaarch(B){if(this.isValidForm(this.outputsTypesForm[this.selectedOutputType].auth)&&this.connection){const U=this.getMaarchConnectionInfo();this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/maarch/getStatuses",{args:U},{headers:this.authService.headers}).toPromise().then(C=>{if(C&&C.statuses){const c=C.statuses,m=[];for(const e in c)m.push({id:c[e].id,value:c[e].label_status,extra:c[e].id});this.setAutocompleteValues(B,m)}})}}getIndexingModelsFromMaarch(B){if(this.isValidForm(this.outputsTypesForm[this.selectedOutputType].auth)&&this.connection){const U=this.getMaarchConnectionInfo();this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/maarch/getIndexingModels",{args:U},{headers:this.authService.headers}).toPromise().then(C=>{if(C&&C.indexingModels){const c=C.indexingModels,m=[];for(const e in c)m.push({id:c[e].id,value:c[e].label,extra:c[e].category});this.setAutocompleteValues(B,m)}})}}updateOutput(){const B={output_type_id:"",output_label:"",data:{options:{auth:[],parameters:[]}}};for(const U in this.outputsTypesForm[this.selectedOutputType])for(const C in this.outputsTypesForm[this.selectedOutputType][U]){const c=this.outputsTypesForm[this.selectedOutputType][U][C];if(c.isJson)try{JSON.parse(c.control.value)}catch(m){return c.control.setErrors({json_error:!0}),void this.notify.error(this.translate.instant("OUTPUT.json_input_erorr",{field:c.label}))}B.data.options[U].push({id:c.id,type:c.type,webservice:c.webservice,value:void 0===c.value?c.control.value:c.value})}this.outputForm.forEach(U=>{B[U.id]=U.control.value}),this.http.put(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/outputs/update/"+this.outputId,{args:B},{headers:this.authService.headers}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.b)(()=>{this.notify.success(this.translate.instant("OUTPUT.output_updated"))}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.K)(U=>(console.debug(U),this.notify.handleErrors(U),this.router.navigate(["/settings/splitter/outputs"]).then(),(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(!1)))).subscribe()}setAutocompleteValues(B,U){this.outputsTypesForm[this.selectedOutputType].parameters[B].values=this.sortArrayAlphab(U);const C=this.outputsTypesForm[this.selectedOutputType].parameters[B];C.filteredOptions=C.control.valueChanges.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.O)(""),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.U)(c=>c?this._filter(c,C.values):C.values))}sortArrayAlphab(B){return B.sort((U,C)=>{const c=U.value.toUpperCase(),m=C.value.toUpperCase();return c===m?0:c>m?1:-1})}testConnection(){if(this.isValidForm(this.outputsTypesForm[this.selectedOutputType].auth)){const functionName=this.testConnectionMapping[this.selectedOutputType];eval("this."+functionName)}}}return SplitterUpdateOutputComponent.\u0275fac=function B(U){return new(U||SplitterUpdateOutputComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_angular_router__WEBPACK_IMPORTED_MODULE_16__.F0),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_angular_common_http__WEBPACK_IMPORTED_MODULE_17__.eN),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_angular_router__WEBPACK_IMPORTED_MODULE_16__.gz),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_angular_forms__WEBPACK_IMPORTED_MODULE_8__.qu),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_services_auth_service__WEBPACK_IMPORTED_MODULE_1__.e),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_services_user_service__WEBPACK_IMPORTED_MODULE_2__.K),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_ngx_translate_core__WEBPACK_IMPORTED_MODULE_18__.sK),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_services_notifications_notifications_service__WEBPACK_IMPORTED_MODULE_3__.g),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_services_settings_service__WEBPACK_IMPORTED_MODULE_4__.g),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_services_privileges_service__WEBPACK_IMPORTED_MODULE_5__.y))},SplitterUpdateOutputComponent.\u0275cmp=_angular_core__WEBPACK_IMPORTED_MODULE_7__.Xpm({type:SplitterUpdateOutputComponent,selectors:[["app-splitter-update-output"]],decls:41,vars:27,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],["mat-icon-button","",1,"absolute","right-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-xl","text-gray-900"],[1,"overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 64px)"],["class","flex justify-center items-center",4,"ngIf"],[1,"w-1/2","m-auto","border-green-400"],[1,"text-center","mt-10","mb-5"],[1,"flex","justify-center","items-center","mb-2"],["mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300"],[1,"block",3,"click"],[1,"flex","justify-center","items-center","ml-10","mr-5"],["class","w-full text-center",4,"ngIf"],["mode","side","opened","","position","end",1,"available-fields","w-1/4","flex","flex-col","h-full","border-r","border-green-400"],["sidenav2",""],["class","flex text-gray-400 object-contain","style","height: calc(100% - 8rem)",4,"ngIf"],["class","overflow-x-hidden overflow-y-auto","style","height: calc(100% - 64px)",4,"ngIf"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],[1,"flex","justify-center","items-center"],[1,"grid","grid-cols-2","gap-12","w-full","m-10","text-center"],[4,"ngFor","ngForOf"],["matInput","",3,"value","formControl","type","placeholder","required"],[3,"name","id","ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[3,"name","id","ngModel","ngModelChange"],[1,"w-full","text-center"],[1,"output-tab"],[3,"label"],["class","relative top-10 text-xl",4,"ngIf"],[1,"grid","grid-cols-4","gap-x-4","gap-y-10","m-5"],["mat-button","","class","border-solid border-green-400 border hover:bg-green-400 hover:text-white transition duration-300",4,"ngIf"],[1,"relative","top-10","text-xl"],[3,"click"],["class","col-span-4",4,"ngIf"],[3,"focusin",4,"ngIf"],[1,"col-span-4"],["matInput","","rows","16","spellcheck","false",3,"value","formControl","type","placeholder","required"],[3,"focusin"],["matInput","",3,"formControl","type","readonly","placeholder","required","matAutocomplete"],[3,"displayWith"],["autocomplete","matAutocomplete"],[3,"innerHTML"],[1,"text-green-400","ml-3",2,"font-size","12px"],[1,"flex","text-gray-400","object-contain",2,"height","calc(100% - 8rem)"],[1,"m-auto","text-center"],[1,"fa-solid","fa-code","fa-4x","fa-beat-fade","w-full","mb-2",2,"--fa-animation-duration","1.5s"],[1,"w-full"],["class","my-8 ml-2 text-base",4,"ngFor","ngForOf"],[1,"my-8","ml-2","text-base"],["class","border-green-400 mt-4",4,"ngIf"],[1,"border-green-400","mt-4"]],template:function B(U,C){if(1&U){const c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(5,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(6,"mat-divider",4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(7,"mat-nav-list",5),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(8,SplitterUpdateOutputComponent_mat_expansion_panel_8_Template,7,5,"mat-expansion-panel",6),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(9,"mat-sidenav-content",7),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(10,SplitterUpdateOutputComponent_div_10_Template,2,0,"div",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(11,"div",9)(12,"button",10),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(c);const e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.MAs(2);return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(e.toggle())}),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(13,"i",11),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(14,"div",12)(15,"h3"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(16),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(17,"hr",4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(18,"button",13),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(c);const e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.MAs(34);return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(e.toggle())}),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(19,"i",14),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(20,"div",15),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(21,SplitterUpdateOutputComponent_div_21_Template,3,1,"div",16),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(22,"mat-divider",17),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(23,"h4",18),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(24),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(25,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(26,"div",19)(27,"button",20)(28,"span",21),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("click",function(){return C.updateOutput()}),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(29),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(30,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(31,"div",22),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(32,SplitterUpdateOutputComponent_form_32_Template,13,11,"form",23),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(33,"mat-sidenav",24,25)(35,"h3",3),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(36),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(37,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(38,"mat-divider",4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(39,SplitterUpdateOutputComponent_div_39_Template,6,3,"div",26),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(40,SplitterUpdateOutputComponent_div_40_Template,2,1,"div",27),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()}if(2&U){const c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.MAs(2),m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.MAs(34);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(5,19,"SETTINGS.administration")),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",C.serviceSettings.getSettingsParent()),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.loading),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("transform",!c.opened)("rotate-180",!c.opened),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(C.serviceSettings.getTitle()),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("transform",m.opened)("rotate-180",m.opened),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",!C.loading),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(25,21,"OUTPUT.output_settings_list")),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(5),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(30,23,"OUTPUT.update")),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.selectedOutputType&&C.outputsTypesForm[C.selectedOutputType]),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(37,25,"FORMS.available_fields")," "),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.loadingCustomFields),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",!C.loadingCustomFields)}},dependencies:[_angular_common__WEBPACK_IMPORTED_MODULE_19__.sg,_angular_common__WEBPACK_IMPORTED_MODULE_19__.O5,_angular_router__WEBPACK_IMPORTED_MODULE_16__.rH,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_20__.TO,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_20__.KE,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_20__.bx,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_20__.hX,_angular_material_select__WEBPACK_IMPORTED_MODULE_21__.gD,_angular_material_core__WEBPACK_IMPORTED_MODULE_22__.ey,_angular_material_input__WEBPACK_IMPORTED_MODULE_23__.Nt,_angular_material_tabs__WEBPACK_IMPORTED_MODULE_24__.SP,_angular_material_tabs__WEBPACK_IMPORTED_MODULE_24__.uX,_angular_material_sidenav__WEBPACK_IMPORTED_MODULE_25__.JX,_angular_material_sidenav__WEBPACK_IMPORTED_MODULE_25__.TM,_angular_material_sidenav__WEBPACK_IMPORTED_MODULE_25__.Rh,_angular_material_button__WEBPACK_IMPORTED_MODULE_26__.lW,_angular_material_expansion__WEBPACK_IMPORTED_MODULE_27__.ib,_angular_material_expansion__WEBPACK_IMPORTED_MODULE_27__.yz,_angular_material_expansion__WEBPACK_IMPORTED_MODULE_27__.yK,_angular_material_autocomplete__WEBPACK_IMPORTED_MODULE_28__.XC,_angular_material_autocomplete__WEBPACK_IMPORTED_MODULE_28__.ZL,_angular_material_list__WEBPACK_IMPORTED_MODULE_29__.Hk,_angular_material_divider__WEBPACK_IMPORTED_MODULE_30__.d,_angular_forms__WEBPACK_IMPORTED_MODULE_8__._Y,_angular_forms__WEBPACK_IMPORTED_MODULE_8__.Fj,_angular_forms__WEBPACK_IMPORTED_MODULE_8__.JJ,_angular_forms__WEBPACK_IMPORTED_MODULE_8__.JL,_angular_forms__WEBPACK_IMPORTED_MODULE_8__.Q7,_angular_forms__WEBPACK_IMPORTED_MODULE_8__.oH,_angular_forms__WEBPACK_IMPORTED_MODULE_8__.On,_angular_forms__WEBPACK_IMPORTED_MODULE_8__.F,_loader_component__WEBPACK_IMPORTED_MODULE_31__.R,_angular_common__WEBPACK_IMPORTED_MODULE_19__.Ov,_ngx_translate_core__WEBPACK_IMPORTED_MODULE_18__.X$,_verifier_outputs_update_update_output_component__WEBPACK_IMPORTED_MODULE_6__.S]}),SplitterUpdateOutputComponent})()},6155:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{S:()=>HighlightPipe,v:()=>UpdateOutputComponent});var _angular_forms__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(3075),_env__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(9958),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(8505),rxjs_operators__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(8746),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(262),rxjs_operators__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(8675),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(4004),rxjs__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(9646),_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(7520),_angular_core__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(5e3),_angular_router__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(6696),_angular_common_http__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(520),_services_user_service__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(230),_services_auth_service__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(2560),_ngx_translate_core__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(4894),_services_notifications_notifications_service__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(7862),_services_history_service__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(69),_services_settings_service__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(3208),_services_privileges_service__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(897),_angular_common__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(9808),_angular_material_form_field__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(3489),_angular_material_select__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(4107),_angular_material_core__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(508),_angular_material_slide_toggle__WEBPACK_IMPORTED_MODULE_23__=__webpack_require__(2368),_angular_cdk_text_field__WEBPACK_IMPORTED_MODULE_24__=__webpack_require__(4533),_angular_material_input__WEBPACK_IMPORTED_MODULE_25__=__webpack_require__(8833),_angular_material_tabs__WEBPACK_IMPORTED_MODULE_26__=__webpack_require__(3251),_angular_material_sidenav__WEBPACK_IMPORTED_MODULE_27__=__webpack_require__(2638),_angular_material_button__WEBPACK_IMPORTED_MODULE_28__=__webpack_require__(7423),_angular_material_expansion__WEBPACK_IMPORTED_MODULE_29__=__webpack_require__(1125),_angular_material_autocomplete__WEBPACK_IMPORTED_MODULE_30__=__webpack_require__(1079),_angular_material_list__WEBPACK_IMPORTED_MODULE_31__=__webpack_require__(4623),_angular_material_divider__WEBPACK_IMPORTED_MODULE_32__=__webpack_require__(4834),_loader_component__WEBPACK_IMPORTED_MODULE_33__=__webpack_require__(1872),_services_hint_hint_service__WEBPACK_IMPORTED_MODULE_34__=__webpack_require__(7009);function UpdateOutputComponent_mat_expansion_panel_8_div_6_div_1_mat_expansion_panel_1_div_8_div_1_Template(B,U){if(1&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"div",42)(1,"button",43),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C);const m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(4).$implicit,e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,b=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(b.serviceSettings.changeSetting(m.id,e.id))}),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(2,"i"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(3,"p",44),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(5,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()()}if(2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(5);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("text-green-400",c.router.url.includes(C.route))("disable_link",C.showOnlyIfActive),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("routerLink",C.route),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",C.icon,""),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(5,9,C.label)," ")}}function UpdateOutputComponent_mat_expansion_panel_8_div_6_div_1_mat_expansion_panel_1_div_8_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"div"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(1,UpdateOutputComponent_mat_expansion_panel_8_div_6_div_1_mat_expansion_panel_1_div_8_div_1_Template,6,11,"div",41),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=U.$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(3).$implicit,m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("border-gray-600",!C.showOnlyIfActive)("border-t",!C.showOnlyIfActive)("w-full",!C.showOnlyIfActive),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",(m.privilegesService.hasPrivilege(C.privilege)||"*"===c.privilege)&&(!C.showOnlyIfActive||C.showOnlyIfActive&&m.router.url.includes(C.route)))}}function UpdateOutputComponent_mat_expansion_panel_8_div_6_div_1_mat_expansion_panel_1_Template(B,U){if(1&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-expansion-panel",35)(1,"mat-expansion-panel-header",36)(2,"mat-panel-title",37),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(3,"i"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(4,"button",38),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C);const m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,b=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(b.serviceSettings.changeSetting(m.id,e.id))}),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(5,"p",39),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(6),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(7,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()()(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(8,UpdateOutputComponent_mat_expansion_panel_8_div_6_div_1_mat_expansion_panel_1_div_8_Template,2,7,"div",40),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()}if(2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("expanded",m.router.url.includes(C.route)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",C.icon,""),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("text-green-400",m.router.url===C.route),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("text-green-400",m.router.url===C.route),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("routerLink",C.route),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("font-medium",m.router.url===C.route),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(7,13,C.label)," "),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",m.serviceSettings.getSettingsAction(c.id,C.id))}}function UpdateOutputComponent_mat_expansion_panel_8_div_6_div_1_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"div"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(1,UpdateOutputComponent_mat_expansion_panel_8_div_6_div_1_mat_expansion_panel_1_Template,9,15,"mat-expansion-panel",34),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",c.privilegesService.hasPrivilege(C.privilege)||"*"===C.privilege)}}function UpdateOutputComponent_mat_expansion_panel_8_div_6_ng_template_2_button_0_Template(B,U){if(1&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"button",38),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C);const m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,b=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(b.serviceSettings.changeSetting(m.id,e.id))}),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(1,"i"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(2,"p",39),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(4,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()}if(2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("text-green-400",c.router.url===C.route),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("routerLink",C.route),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",C.icon,""),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("font-medium",c.router.url===C.route),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(4,9,C.label)," ")}}function UpdateOutputComponent_mat_expansion_panel_8_div_6_ng_template_2_Template(B,U){if(1&B&&_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(0,UpdateOutputComponent_mat_expansion_panel_8_div_6_ng_template_2_button_0_Template,5,11,"button",45),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",c.privilegesService.hasPrivilege(C.privilege)||"*"===C.privilege)}}function UpdateOutputComponent_mat_expansion_panel_8_div_6_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"div"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(1,UpdateOutputComponent_mat_expansion_panel_8_div_6_div_1_Template,2,1,"div",32),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(2,UpdateOutputComponent_mat_expansion_panel_8_div_6_ng_template_2_Template,1,1,"ng-template",null,33,_angular_core__WEBPACK_IMPORTED_MODULE_7__.W1O),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=U.$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.MAs(3),m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("border-b",e.privilegesService.hasPrivilege(C.privilege)||"*"===C.privilege)("border-gray-400",e.privilegesService.hasPrivilege(C.privilege)||"*"===C.privilege),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",e.serviceSettings.getSettingsAction(m.id,C.id))("ngIfElse",c)}}function UpdateOutputComponent_mat_expansion_panel_8_Template(B,U){if(1&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-expansion-panel",28),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("opened",function(){const e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C).$implicit,b=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(b.serviceSettings.closeOtherParent(b.router.url,e.id))}),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(1,"mat-expansion-panel-header",29)(2,"mat-panel-title"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(4,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(5,"div",30),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(6,UpdateOutputComponent_mat_expansion_panel_8_div_6_Template,4,6,"div",31),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()}if(2&B){const C=U.$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("expanded",C.opened),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(4,3,C.label)," "),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",c.serviceSettings.getSettings()[C.id])}}function UpdateOutputComponent_div_10_Template(B,U){1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"div"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(1,"app-loader"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA())}function UpdateOutputComponent_div_21_ng_container_2_mat_form_field_1_mat_error_6_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-error"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(c.getErrorMessage(C.id,c.outputForm))}}function UpdateOutputComponent_div_21_ng_container_2_mat_form_field_1_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-form-field")(1,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(4,"input",49),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(5,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(6,UpdateOutputComponent_div_21_ng_container_2_mat_form_field_1_mat_error_6_Template,2,1,"mat-error",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,7,C.label)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.s9C("placeholder",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(5,9,C.label)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("value",C.control.value)("formControl",C.control)("type",C.type)("required",C.required),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.control.invalid)}}function UpdateOutputComponent_div_21_ng_container_2_mat_form_field_2_mat_option_5_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-option",52),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=U.$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("value",C.output_type_id),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",C.output_type_label," ")}}function UpdateOutputComponent_div_21_ng_container_2_mat_form_field_2_mat_error_6_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-error"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(c.getErrorMessage(C.id,c.outputForm))}}function UpdateOutputComponent_div_21_ng_container_2_mat_form_field_2_Template(B,U){if(1&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-form-field")(1,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(4,"mat-select",50),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("ngModelChange",function(m){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C);const e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit;return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(e.control.value=m)})("selectionChange",function(m){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C);const e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(3);return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(e.changeOutputType(m))}),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(5,UpdateOutputComponent_div_21_ng_container_2_mat_form_field_2_mat_option_5_Template,2,2,"mat-option",51),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(6,UpdateOutputComponent_div_21_ng_container_2_mat_form_field_2_mat_error_6_Template,2,1,"mat-error",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()}if(2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,6,C.label)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("name",C.id)("id",C.id)("ngModel",C.control.value),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",c.outputsTypes),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.control.invalid)}}function UpdateOutputComponent_div_21_ng_container_2_mat_form_field_3_mat_option_5_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-option",52),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(2,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=U.$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("value",C.id),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(2,2,C.label)," ")}}function UpdateOutputComponent_div_21_ng_container_2_mat_form_field_3_mat_error_6_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-error"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(c.getErrorMessage(C.id,c.outputForm))}}function UpdateOutputComponent_div_21_ng_container_2_mat_form_field_3_Template(B,U){if(1&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-form-field")(1,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(4,"mat-select",53),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("ngModelChange",function(m){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C);const e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit;return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(e.control.value=m)}),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(5,UpdateOutputComponent_div_21_ng_container_2_mat_form_field_3_mat_option_5_Template,3,4,"mat-option",51),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(6,UpdateOutputComponent_div_21_ng_container_2_mat_form_field_3_mat_error_6_Template,2,1,"mat-error",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()}if(2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,6,C.label)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("name",C.id)("id",C.id)("ngModel",C.control.value),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",C.values),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.control.invalid)}}function UpdateOutputComponent_div_21_ng_container_2_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.ynx(0),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(1,UpdateOutputComponent_div_21_ng_container_2_mat_form_field_1_Template,7,11,"mat-form-field",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(2,UpdateOutputComponent_div_21_ng_container_2_mat_form_field_2_Template,7,8,"mat-form-field",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(3,UpdateOutputComponent_div_21_ng_container_2_mat_form_field_3_Template,7,8,"mat-form-field",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.BQk()),2&B){const C=U.$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf","text"===C.type),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf","select"===C.type&&"output_type_id"===C.id),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf","select"===C.type&&("compress_type"===C.id||"ocrise"===C.id)&&"export_pdf"===c.selectedOutputType)}}function UpdateOutputComponent_div_21_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"div",46)(1,"form",47),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(2,UpdateOutputComponent_div_21_ng_container_2_Template,4,3,"ng-container",48),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",C.outputForm)}}function UpdateOutputComponent_form_32_span_4_Template(B,U){1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"span",61),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(2,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(2,1,"OUTPUT.no_auth_necessary")," "))}function UpdateOutputComponent_form_32_ng_container_6_mat_form_field_1_mat_error_5_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-error"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(c.getErrorMessage(C.id,c.outputsTypesForm[c.selectedOutputType].auth))}}function UpdateOutputComponent_form_32_ng_container_6_mat_form_field_1_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-form-field")(1,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(4,"input",49),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(5,UpdateOutputComponent_form_32_ng_container_6_mat_form_field_1_mat_error_5_Template,2,1,"mat-error",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,7,C.label)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("value",C.control.value)("formControl",C.control)("type",C.type)("placeholder",C.placeholder)("required",C.required),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.control.invalid)}}function UpdateOutputComponent_form_32_ng_container_6_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.ynx(0),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(1,UpdateOutputComponent_form_32_ng_container_6_mat_form_field_1_Template,6,9,"mat-form-field",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.BQk()),2&B){const C=U.$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf","text"===C.type||"number"===C.type||"password"===C.type)}}function UpdateOutputComponent_form_32_button_7_Template(B,U){if(1&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"button",20)(1,"span",62),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C);const m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(m.testConnection())}),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()}2&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,1,"OUTPUT.test_connection")))}function UpdateOutputComponent_form_32_span_10_Template(B,U){1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"span",61),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(2,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(2,1,"OUTPUT.no_parameters_necessary")," "))}function UpdateOutputComponent_form_32_ng_container_12_mat_form_field_1_mat_error_5_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-error"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",c.getErrorMessage(C.id,c.outputsTypesForm[c.selectedOutputType].parameters)," ")}}function UpdateOutputComponent_form_32_ng_container_12_mat_form_field_1_mat_hint_6_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-hint"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(C.hint)}}function UpdateOutputComponent_form_32_ng_container_12_mat_form_field_1_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-form-field")(1,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(4,"input",49),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(5,UpdateOutputComponent_form_32_ng_container_12_mat_form_field_1_mat_error_5_Template,2,1,"mat-error",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(6,UpdateOutputComponent_form_32_ng_container_12_mat_form_field_1_mat_hint_6_Template,2,1,"mat-hint",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,8,C.label)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("value",C.control.value)("formControl",C.control)("type",C.type)("placeholder",C.placeholder)("required",C.required),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.control.invalid),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.hint)}}function UpdateOutputComponent_form_32_ng_container_12_mat_form_field_2_mat_error_5_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-error"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(c.getErrorMessage(C.id,c.outputsTypesForm[c.selectedOutputType].parameters))}}function UpdateOutputComponent_form_32_ng_container_12_mat_form_field_2_mat_hint_6_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-hint"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(C.hint)}}function UpdateOutputComponent_form_32_ng_container_12_mat_form_field_2_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-form-field")(1,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(4,"textarea",64),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(5,UpdateOutputComponent_form_32_ng_container_12_mat_form_field_2_mat_error_5_Template,2,1,"mat-error",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(6,UpdateOutputComponent_form_32_ng_container_12_mat_form_field_2_mat_hint_6_Template,2,1,"mat-hint",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,8,C.label)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("value",C.control.value)("formControl",C.control)("type",C.type)("placeholder",C.placeholder)("required",C.required),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.control.invalid),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.hint)}}function UpdateOutputComponent_form_32_ng_container_12_mat_form_field_3_mat_error_5_Template(B,U){1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-error"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(2,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(2,1,"OUTPUT.check_connection_before")," "))}function UpdateOutputComponent_form_32_ng_container_12_mat_form_field_3_mat_hint_6_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-hint"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(C.hint)}}function UpdateOutputComponent_form_32_ng_container_12_mat_form_field_3_mat_option_9_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-option",52),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(1,"span",69),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(2,"highlight"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(3,"span",70),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()),2&B){const C=U.$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(4);_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("value",C),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("innerHTML",_angular_core__WEBPACK_IMPORTED_MODULE_7__.xi3(2,3,C.value,c.toHighlight),_angular_core__WEBPACK_IMPORTED_MODULE_7__.oJD),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(C.extra)}}function UpdateOutputComponent_form_32_ng_container_12_mat_form_field_3_Template(B,U){if(1&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-form-field",65),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("focusin",function(){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C);const m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(e.retrieveDataFromWS(m.id))}),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(1,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(4,"input",66),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(5,UpdateOutputComponent_form_32_ng_container_12_mat_form_field_3_mat_error_5_Template,3,3,"mat-error",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(6,UpdateOutputComponent_form_32_ng_container_12_mat_form_field_3_mat_hint_6_Template,2,1,"mat-hint",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(7,"mat-autocomplete",67,68),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(9,UpdateOutputComponent_form_32_ng_container_12_mat_form_field_3_mat_option_9_Template,5,6,"mat-option",51),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(10,"async"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()}if(2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.MAs(8),c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,11,c.label)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("formControl",c.control)("type",c.type)("readonly",c.webservice&&!m.connection)("placeholder",c.placeholder)("required",c.required)("matAutocomplete",C),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",c.webservice&&!m.connection),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",c.hint),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("displayWith",m.displayFn),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(10,13,c.filteredOptions))}}function UpdateOutputComponent_form_32_ng_container_12_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.ynx(0),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(1,UpdateOutputComponent_form_32_ng_container_12_mat_form_field_1_Template,7,10,"mat-form-field",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(2,UpdateOutputComponent_form_32_ng_container_12_mat_form_field_2_Template,7,10,"mat-form-field",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(3,UpdateOutputComponent_form_32_ng_container_12_mat_form_field_3_Template,11,15,"mat-form-field",63),_angular_core__WEBPACK_IMPORTED_MODULE_7__.BQk()),2&B){const C=U.$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",("text"===C.type||"number"===C.type)&&!C.webservice),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf","textarea"===C.type&&!C.webservice),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",("text"===C.type||"number"===C.type)&&C.webservice)}}function UpdateOutputComponent_form_32_mat_tab_13_ng_container_5_mat_slide_toggle_1_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-slide-toggle",74),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(2,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("formControl",C.control),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(2,2,C.label)," ")}}function UpdateOutputComponent_form_32_mat_tab_13_ng_container_5_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.ynx(0),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(1,UpdateOutputComponent_form_32_mat_tab_13_ng_container_5_mat_slide_toggle_1_Template,3,4,"mat-slide-toggle",73),_angular_core__WEBPACK_IMPORTED_MODULE_7__.BQk()),2&B){const C=U.$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf","boolean"===C.type)}}function UpdateOutputComponent_form_32_mat_tab_13_ng_container_7_mat_form_field_1_mat_error_5_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-error"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(3);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",c.getErrorMessage(C.id,c.outputsTypesForm[c.selectedOutputType].links)," ")}}function UpdateOutputComponent_form_32_mat_tab_13_ng_container_7_mat_form_field_1_mat_hint_6_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-hint"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(C.hint)}}function UpdateOutputComponent_form_32_mat_tab_13_ng_container_7_mat_form_field_1_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-form-field")(1,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(4,"input",49),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(5,UpdateOutputComponent_form_32_mat_tab_13_ng_container_7_mat_form_field_1_mat_error_5_Template,2,1,"mat-error",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(6,UpdateOutputComponent_form_32_mat_tab_13_ng_container_7_mat_form_field_1_mat_hint_6_Template,2,1,"mat-hint",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,8,C.label)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("value",C.control.value)("formControl",C.control)("type",C.type)("placeholder",C.placeholder)("required",C.required),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.control.invalid),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.hint)}}function UpdateOutputComponent_form_32_mat_tab_13_ng_container_7_mat_form_field_2_mat_error_5_Template(B,U){1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-error"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(2,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(2,1,"OUTPUT.check_connection_before")))}function UpdateOutputComponent_form_32_mat_tab_13_ng_container_7_mat_form_field_2_mat_hint_6_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-hint"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2).$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(C.hint)}}function UpdateOutputComponent_form_32_mat_tab_13_ng_container_7_mat_form_field_2_mat_option_9_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-option",52),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(1,"span",69),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(2,"highlight"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(3,"span",70),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()),2&B){const C=U.$implicit,c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(5);_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("value",C),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("innerHTML",_angular_core__WEBPACK_IMPORTED_MODULE_7__.xi3(2,3,C.value,c.toHighlight),_angular_core__WEBPACK_IMPORTED_MODULE_7__.oJD),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(C.extra)}}function UpdateOutputComponent_form_32_mat_tab_13_ng_container_7_mat_form_field_2_Template(B,U){if(1&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-form-field",65),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("focusin",function(){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(C);const m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(3);return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(e.retrieveDataFromWS(m.id,"links"))}),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(1,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(4,"input",66),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(5,UpdateOutputComponent_form_32_mat_tab_13_ng_container_7_mat_form_field_2_mat_error_5_Template,3,3,"mat-error",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(6,UpdateOutputComponent_form_32_mat_tab_13_ng_container_7_mat_form_field_2_mat_hint_6_Template,2,1,"mat-hint",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(7,"mat-autocomplete",67,68),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(9,UpdateOutputComponent_form_32_mat_tab_13_ng_container_7_mat_form_field_2_mat_option_9_Template,5,6,"mat-option",51),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(10,"async"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()}if(2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.MAs(8),c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw().$implicit,m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(3);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,11,c.label)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("formControl",c.control)("type",c.type)("readonly",c.webservice&&!m.connection)("placeholder",c.placeholder)("required",c.required)("matAutocomplete",C),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",c.webservice&&!m.connection),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",c.hint),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("displayWith",m.displayFn),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(10,13,c.filteredOptions))}}function UpdateOutputComponent_form_32_mat_tab_13_ng_container_7_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.ynx(0),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(1,UpdateOutputComponent_form_32_mat_tab_13_ng_container_7_mat_form_field_1_Template,7,10,"mat-form-field",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(2,UpdateOutputComponent_form_32_mat_tab_13_ng_container_7_mat_form_field_2_Template,11,15,"mat-form-field",63),_angular_core__WEBPACK_IMPORTED_MODULE_7__.BQk()),2&B){const C=U.$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",("text"===C.type||"number"===C.type)&&!C.webservice),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",("text"===C.type||"number"===C.type)&&C.webservice)}}function UpdateOutputComponent_form_32_mat_tab_13_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-tab",56),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(1,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(2,"app-hint",71),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(4,"div",72),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(5,UpdateOutputComponent_form_32_mat_tab_13_ng_container_5_Template,2,1,"ng-container",48),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(6,"div",58),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(7,UpdateOutputComponent_form_32_mat_tab_13_ng_container_7_Template,3,2,"ng-container",48),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("label",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(1,4,"OUTPUT.links")),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("message",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,6,"OUTPUT.links_hint")),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",C.outputsTypesForm[C.selectedOutputType].links),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",C.outputsTypesForm[C.selectedOutputType].links)}}function UpdateOutputComponent_form_32_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"form",54)(1,"mat-tab-group",55)(2,"mat-tab",56),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(4,UpdateOutputComponent_form_32_span_4_Template,3,3,"span",57),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(5,"div",58),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(6,UpdateOutputComponent_form_32_ng_container_6_Template,2,1,"ng-container",48),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(7,UpdateOutputComponent_form_32_button_7_Template,4,3,"button",59),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(8,"mat-tab",56),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(9,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(10,UpdateOutputComponent_form_32_span_10_Template,3,3,"span",57),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(11,"div",58),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(12,UpdateOutputComponent_form_32_ng_container_12_Template,4,3,"ng-container",48),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(13,UpdateOutputComponent_form_32_mat_tab_13_Template,8,8,"mat-tab",60),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("label",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,8,"OUTPUT.auth")),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",0===C.outputsTypesForm[C.selectedOutputType].auth.length),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",C.outputsTypesForm[C.selectedOutputType].auth),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",0!==C.outputsTypesForm[C.selectedOutputType].auth.length),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("label",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(9,10,"OUTPUT.parameters")),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",0===C.outputsTypesForm[C.selectedOutputType].parameters.length),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",C.outputsTypesForm[C.selectedOutputType].parameters),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.outputsTypesForm[C.selectedOutputType].links)}}function UpdateOutputComponent_div_39_Template(B,U){1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"div",75)(1,"div",76),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(2,"i",77),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(3,"span",78),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(5,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()()),2&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(5,1,"OUTPUT.loading_custom_fields")," "))}function UpdateOutputComponent_div_40_div_1_mat_divider_7_Template(B,U){1&B&&_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(0,"mat-divider",82)}function UpdateOutputComponent_div_40_div_1_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"div",80)(1,"span"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(3,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(4,"span",70),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(5),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(6,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(7,UpdateOutputComponent_div_40_div_1_mat_divider_7_Template,1,0,"mat-divider",81),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()),2&B){const C=U.$implicit,c=U.index;_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(3,3,C.label)," "),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(6,5,C.id)),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",0===c)}}function UpdateOutputComponent_div_40_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"div",15),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(1,UpdateOutputComponent_div_40_div_1_Template,8,7,"div",79),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_7__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",C.availableFields)}}let HighlightPipe=(()=>{class B{transform(C,c){const m=c.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&").split(" ").filter(b=>b.length>0).join("|"),e=new RegExp(m,"gi");return c?C.replace(e,b=>`${b}`):C}}return B.\u0275fac=function(C){return new(C||B)},B.\u0275pipe=_angular_core__WEBPACK_IMPORTED_MODULE_7__.Yjl({name:"highlight",type:B,pure:!0}),B})(),UpdateOutputComponent=(()=>{class UpdateOutputComponent{constructor(B,U,C,c,m,e,b,T,k,F,V){this.router=B,this.http=U,this.route=C,this.userService=c,this.formBuilder=m,this.authService=e,this.translate=b,this.notify=T,this.historyService=k,this.serviceSettings=F,this.privilegesService=V,this.headers=this.authService.headers,this.loading=!0,this.loadingCustomFields=!0,this.connection=!1,this.outputsTypes=[],this.outputsTypesForm=[],this.toHighlight="",this.outputForm=[{id:"output_type_id",label:this.translate.instant("HEADER.output_type"),type:"select",control:new _angular_forms__WEBPACK_IMPORTED_MODULE_8__.NI,required:!0,values:this.outputsTypes},{id:"output_label",label:this.translate.instant("HEADER.label"),type:"text",control:new _angular_forms__WEBPACK_IMPORTED_MODULE_8__.NI,required:!0},{id:"compress_type",label:this.translate.instant("OUTPUT.compress_type"),type:"select",control:new _angular_forms__WEBPACK_IMPORTED_MODULE_8__.NI,values:[{id:"",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.no_compress")},{id:"screen",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.compress_screen")},{id:"ebook",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.compress_ebook")},{id:"prepress",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.compress_prepress")},{id:"printer",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.compress_printer")},{id:"default",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.compress_default")}],required:!1},{id:"ocrise",label:this.translate.instant("OUTPUT.enable_ocr"),type:"select",control:new _angular_forms__WEBPACK_IMPORTED_MODULE_8__.NI,values:[{id:!0,label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.ocr_enabled")},{id:!1,label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("OUTPUT.ocr_disabled")}],required:!1}],this.availableFields=[{id:"HEADER.id",label:"HEADER.label"},{id:"name",label:"ACCOUNTS.supplier_name"},{id:"vat_number",label:"ACCOUNTS.vat_number"},{id:"siret",label:"ACCOUNTS.siret"},{id:"siren",label:"ACCOUNTS.siren"},{id:"invoice_number",label:"FACTURATION.invoice_number"},{id:"quotation_number",label:"FACTURATION.quotation_number"},{id:"document_date_year",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("FACTURATION.document_date_year")},{id:"total_ht",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("FACTURATION.total_ht")},{id:"total_ttc",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("FACTURATION.total_ttc")},{id:"total_vat",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("FACTURATION.total_vat")},{id:"document_date_month",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("FACTURATION.document_date_month")},{id:"document_date_day",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("FACTURATION.document_date_day")},{id:"register_date_year",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("FACTURATION.register_date_year")},{id:"register_date_month",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("FACTURATION.register_date_month")},{id:"register_date_day",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_9__.J)("FACTURATION.register_date_day")},{id:"delivery_number",label:"FACTURATION.delivery_number"}],this.testConnectionMapping={export_maarch:"testMaarchConnection()"}}ngOnInit(){this.serviceSettings.init(),this.outputId=this.route.snapshot.params.id,this.http.get(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/outputs/getById/"+this.outputId,{headers:this.authService.headers}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.b)(B=>{this.output=B;for(const U in B)B.hasOwnProperty(U)&&this.outputForm.forEach(C=>{C.id===U&&("output_type_id"===C.id&&(this.selectedOutputType=this.originalOutputType=B[U]),C.control.setValue(B[U]),"compress_type"===C.id&&null==B[U]&&C.control.setValue(""),"ocrise"===C.id&&null==B[U]&&C.control.setValue(""))});this.http.get(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/outputs/getOutputsTypes?module=verifier",{headers:this.authService.headers}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.b)(U=>{this.http.get(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/customFields/list?module=verifier",{headers:this.authService.headers}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.b)(C=>{C.customFields.forEach(c=>{this.availableFields.push({id:"custom_"+c.id,label:c.label})})}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.x)(()=>this.loadingCustomFields=!1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.K)(C=>(console.debug(C),this.notify.handleErrors(C),(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(!1)))).subscribe(),this.outputsTypes=U.outputs_types;for(const C of this.outputsTypes){this.outputsTypesForm[C.output_type_id]={auth:[],links:[],parameters:[]};for(const c in this.outputsTypesForm[C.output_type_id])if(C.data.options[c])for(const m of C.data.options[c])this.outputsTypesForm[C.output_type_id][c].push({id:m.id,label:m.label,type:m.type,placeholder:m.placeholder,control:new _angular_forms__WEBPACK_IMPORTED_MODULE_8__.NI,required:m.required,isJson:m.isJson,hint:m.hint,webservice:m.webservice});else"links"===c&&delete this.outputsTypesForm[C.output_type_id].links}for(const C in this.outputsTypesForm[this.originalOutputType])this.outputsTypesForm[this.originalOutputType][C].forEach(c=>{this.output.data.options[C]&&this.output.data.options[C].forEach(m=>{c.id===m.id&&m.value&&(m.webservice&&(c.values=[m.value]),c.control.setValue(m.value))})}),this.testConnection()}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.x)(()=>this.loading=!1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.K)(U=>(console.debug(U),this.notify.handleErrors(U),this.router.navigate(["/settings/verifier/outputs"]).then(),(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(!1)))).subscribe()}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.K)(B=>(console.debug(B),this.notify.handleErrors(B),this.router.navigate(["/settings/verifier/outputs"]).then(),(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(!1)))).subscribe()}displayFn(B){return B?B.value:void 0}getErrorMessage(B,U){let C;return U.forEach(c=>{c.id===B&&c.control.invalid&&(c.required&&(C=this.translate.instant("AUTH.field_required")),c.control.errors.json_error&&(C=this.translate.instant("ERROR.json_pattern")))}),C}changeOutputType(B){this.selectedOutputType=B.value}isValidForm(B){let U=!0;return B.forEach(C=>{("DISABLED"!==C.control.status&&"VALID"!==C.control.status||null==C.control.value)&&(U=!1)}),U}getValueFromForm(B,U){let C="";return B.forEach(c=>{U===c.id&&(C=c.control.value)}),C}retrieveDataFromWS(fieldId,category="parameters"){for(const cpt in this.outputsTypesForm[this.selectedOutputType][category]){const element=this.outputsTypesForm[this.selectedOutputType][category][cpt];element.id===fieldId&&(!element.values||1===element.values.length)&&eval("this."+element.webservice+"("+cpt+")")}}_filter(B,U){if("string"==typeof B){this.toHighlight=B;const C=B.toLowerCase();return U.filter(c=>-1!==c.value.toLowerCase().indexOf(C))}return U}testMaarchConnection(){const B=this.getMaarchConnectionInfo();this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/maarch/testConnection",{args:B},{headers:this.authService.headers}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.b)(U=>{const C=U.status[0];!0===C?(this.notify.success(this.translate.instant("OUTPUT.maarch_connection_ok")),this.connection=!0):(this.notify.error(this.translate.instant("OUTPUT.maarch_connection_ko")+" : "+C[1]),this.connection=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.K)(U=>(console.debug(U),this.notify.handleErrors(U),(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(!1)))).subscribe()}getMaarchConnectionInfo(){return{host:this.getValueFromForm(this.outputsTypesForm[this.selectedOutputType].auth,"host"),login:this.getValueFromForm(this.outputsTypesForm[this.selectedOutputType].auth,"login"),password:this.getValueFromForm(this.outputsTypesForm[this.selectedOutputType].auth,"password")}}getUsersFromMaarch(B){if(this.isValidForm(this.outputsTypesForm[this.selectedOutputType].auth)&&this.connection){const U=this.getMaarchConnectionInfo();this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/maarch/getUsers",{args:U},{headers:this.authService.headers}).toPromise().then(C=>{if(C&&C[0].users){const c=C[0].users,m=[];for(const e in c)m.push({id:c[e].id,value:c[e].firstname+" "+c[e].lastname,extra:c[e].user_id});this.setAutocompleteValues(B,m)}})}}getEntitiesFromMaarch(B){if(this.isValidForm(this.outputsTypesForm[this.selectedOutputType].auth)&&this.connection){const U=this.getMaarchConnectionInfo();this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/maarch/getEntities",{args:U},{headers:this.authService.headers}).toPromise().then(C=>{if(C&&C.entities){const c=C.entities,m=[];for(const e in c)m.push({id:c[e].serialId,value:c[e].entity_label,extra:c[e].entity_id});this.setAutocompleteValues(B,m)}})}}getCustomFieldsFromMaarch(B){if(this.isValidForm(this.outputsTypesForm[this.selectedOutputType].auth)&&this.connection){const U=this.getMaarchConnectionInfo();this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/maarch/getCustomFields",{args:U},{headers:this.authService.headers}).toPromise().then(C=>{if(C&&C.customFields){const c=C.customFields,m=[];for(const e in c)m.push({id:c[e].id,value:c[e].label,extra:c[e].id});this.setAutocompleteValues(B,m,"links")}})}}getContactsCustomFieldsFromMaarch(B){if(this.isValidForm(this.outputsTypesForm[this.selectedOutputType].auth)&&this.connection){const U=this.getMaarchConnectionInfo();this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/maarch/getContactsCustomFields",{args:U},{headers:this.authService.headers}).toPromise().then(C=>{if(C&&C.customFields){const c=C.customFields,m=[];for(const e in c)m.push({id:c[e].id,value:c[e].label,extra:c[e].id});this.setAutocompleteValues(B,m,"links")}})}}getDoctypesFromMaarch(B){if(this.isValidForm(this.outputsTypesForm[this.selectedOutputType].auth)&&this.connection){const U=this.getMaarchConnectionInfo();this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/maarch/getDoctypes",{args:U},{headers:this.authService.headers}).toPromise().then(C=>{if(C&&C.doctypes){const c=C.doctypes,m=[];for(const e in c)m.push({id:c[e].type_id,value:c[e].description,extra:c[e].type_id});this.setAutocompleteValues(B,m)}})}}getPrioritiesFromMaarch(B){if(this.isValidForm(this.outputsTypesForm[this.selectedOutputType].auth)&&this.connection){const U=this.getMaarchConnectionInfo();this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/maarch/getPriorities",{args:U},{headers:this.authService.headers}).toPromise().then(C=>{if(C&&C.priorities){const c=C.priorities,m=[];for(const e in c)m.push({id:c[e].id,value:c[e].label,extra:c[e].id});this.setAutocompleteValues(B,m)}})}}getStatusesFromMaarch(B){if(this.isValidForm(this.outputsTypesForm[this.selectedOutputType].auth)&&this.connection){const U=this.getMaarchConnectionInfo();this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/maarch/getStatuses",{args:U},{headers:this.authService.headers}).toPromise().then(C=>{if(C&&C.statuses){const c=C.statuses,m=[];for(const e in c)m.push({id:c[e].id,value:c[e].label_status,extra:c[e].id});this.setAutocompleteValues(B,m)}})}}getIndexingModelsFromMaarch(B){if(this.isValidForm(this.outputsTypesForm[this.selectedOutputType].auth)&&this.connection){const U=this.getMaarchConnectionInfo();this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/maarch/getIndexingModels",{args:U},{headers:this.authService.headers}).toPromise().then(C=>{if(C&&C.indexingModels){const c=C.indexingModels,m=[];for(const e in c)m.push({id:c[e].id,value:c[e].label,extra:c[e].category});this.setAutocompleteValues(B,m)}})}}updateOutput(){const B={output_type_id:"",output_label:"",data:{options:{auth:[],links:[],parameters:[]}}};for(const U in this.outputsTypesForm[this.selectedOutputType])if(this.outputsTypesForm[this.selectedOutputType][U])for(const C in this.outputsTypesForm[this.selectedOutputType][U]){const c=this.outputsTypesForm[this.selectedOutputType][U][C];if(c.isJson)try{JSON.parse(c.control.value)}catch(m){return c.control.setErrors({json_error:!0}),void this.notify.error(this.translate.instant("OUTPUT.json_input_erorr",{field:c.label}))}B.data.options[U].push({id:c.id,type:c.type,webservice:c.webservice,value:void 0===c.value?c.control.value:c.value})}0===B.data.options.links.length&&delete B.data.options.links,this.outputForm.forEach(U=>{B[U.id]=U.control.value}),this.http.put(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/outputs/update/"+this.outputId,{args:B},{headers:this.authService.headers}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.b)(()=>{this.notify.success(this.translate.instant("OUTPUT.output_updated")),this.historyService.addHistory("verifier","update_output",this.translate.instant("HISTORY-DESC.update-output",{output:B.output_label}))}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.K)(U=>(console.debug(U),this.notify.handleErrors(U),this.router.navigate(["/settings/verifier/outputs"]).then(),(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(!1)))).subscribe()}setAutocompleteValues(B,U,C="parameters"){this.outputsTypesForm[this.selectedOutputType][C][B].values=this.sortArrayAlphab(U);const c=this.outputsTypesForm[this.selectedOutputType][C][B];c.filteredOptions=c.control.valueChanges.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.O)(""),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.U)(m=>m?this._filter(m,c.values):c.values))}sortArrayAlphab(B){return B.sort((U,C)=>{const c=U.value.toUpperCase(),m=C.value.toUpperCase();return c===m?0:c>m?1:-1})}testConnection(){if(this.isValidForm(this.outputsTypesForm[this.selectedOutputType].auth)){const functionName=this.testConnectionMapping[this.selectedOutputType];eval("this."+functionName)}}}return UpdateOutputComponent.\u0275fac=function B(U){return new(U||UpdateOutputComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_angular_router__WEBPACK_IMPORTED_MODULE_16__.F0),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_angular_common_http__WEBPACK_IMPORTED_MODULE_17__.eN),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_angular_router__WEBPACK_IMPORTED_MODULE_16__.gz),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_services_user_service__WEBPACK_IMPORTED_MODULE_1__.K),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_angular_forms__WEBPACK_IMPORTED_MODULE_8__.qu),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_services_auth_service__WEBPACK_IMPORTED_MODULE_2__.e),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_ngx_translate_core__WEBPACK_IMPORTED_MODULE_18__.sK),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_services_notifications_notifications_service__WEBPACK_IMPORTED_MODULE_3__.g),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_services_history_service__WEBPACK_IMPORTED_MODULE_4__.q),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_services_settings_service__WEBPACK_IMPORTED_MODULE_5__.g),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Y36(_services_privileges_service__WEBPACK_IMPORTED_MODULE_6__.y))},UpdateOutputComponent.\u0275cmp=_angular_core__WEBPACK_IMPORTED_MODULE_7__.Xpm({type:UpdateOutputComponent,selectors:[["update-output"]],decls:41,vars:27,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],["mat-icon-button","",1,"absolute","right-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-xl","text-gray-900"],[1,"overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 64px)"],["class","flex justify-center items-center",4,"ngIf"],[1,"w-1/2","m-auto","border-green-400"],[1,"text-center","mt-10","mb-5"],[1,"flex","justify-center","items-center","mb-2"],["mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300"],[1,"block",3,"click"],[1,"flex","justify-center","items-center","ml-10","mr-5"],["class","w-full text-center",4,"ngIf"],["mode","side","opened","","position","end",1,"available-fields","w-1/4","flex","flex-col","h-full","border-r","border-green-400"],["sidenav2",""],["class","flex text-gray-400 object-contain","style","height: calc(100% - 8rem)",4,"ngIf"],["class","overflow-x-hidden overflow-y-auto","style","height: calc(100% - 64px)",4,"ngIf"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-10","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-8","2xl:ml-10","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],[1,"flex","justify-center","items-center"],[1,"grid","grid-cols-2","gap-12","w-full","m-10","text-center"],[4,"ngFor","ngForOf"],["matInput","",3,"value","formControl","type","placeholder","required"],[3,"name","id","ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[3,"name","id","ngModel","ngModelChange"],[1,"w-full","text-center"],[1,"output-tab"],[3,"label"],["class","relative top-10 text-xl",4,"ngIf"],[1,"grid","grid-cols-4","gap-x-4","gap-y-10","m-5"],["mat-button","","class","border-solid border-green-400 border hover:bg-green-400 hover:text-white transition duration-300",4,"ngIf"],[3,"label",4,"ngIf"],[1,"relative","top-10","text-xl"],[3,"click"],[3,"focusin",4,"ngIf"],["cdkTextareaAutosize","","cdkAutosizeMinRows","1","matInput","",3,"value","formControl","type","placeholder","required"],[3,"focusin"],["matInput","",3,"formControl","type","readonly","placeholder","required","matAutocomplete"],[3,"displayWith"],["autocomplete","matAutocomplete"],[3,"innerHTML"],[1,"text-green-400","ml-3",2,"font-size","12px"],["specificClass","w-3/4",3,"message"],[1,"flex","justify-center","m-10"],[3,"formControl",4,"ngIf"],[3,"formControl"],[1,"flex","text-gray-400","object-contain",2,"height","calc(100% - 8rem)"],[1,"m-auto","text-center"],[1,"fa-solid","fa-code","fa-4x","fa-beat-fade","w-full","mb-2",2,"--fa-animation-duration","1.5s"],[1,"w-full"],["class","my-8 ml-2 text-base",4,"ngFor","ngForOf"],[1,"my-8","ml-2","text-base"],["class","border-green-400 mt-4",4,"ngIf"],[1,"border-green-400","mt-4"]],template:function B(U,C){if(1&U){const c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(5,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(6,"mat-divider",4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(7,"mat-nav-list",5),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(8,UpdateOutputComponent_mat_expansion_panel_8_Template,7,5,"mat-expansion-panel",6),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(9,"mat-sidenav-content",7),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(10,UpdateOutputComponent_div_10_Template,2,0,"div",8),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(11,"div",9)(12,"button",10),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(c);const e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.MAs(2);return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(e.toggle())}),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(13,"i",11),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(14,"div",12)(15,"h3"),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(16),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(17,"hr",4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(18,"button",13),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_7__.CHM(c);const e=_angular_core__WEBPACK_IMPORTED_MODULE_7__.MAs(34);return _angular_core__WEBPACK_IMPORTED_MODULE_7__.KtG(e.toggle())}),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(19,"i",14),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(20,"div",15),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(21,UpdateOutputComponent_div_21_Template,3,1,"div",16),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(22,"mat-divider",17),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(23,"h4",18),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(24),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(25,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(26,"div",19)(27,"button",20)(28,"span",21),_angular_core__WEBPACK_IMPORTED_MODULE_7__.NdJ("click",function(){return C.updateOutput()}),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(29),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(30,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(31,"div",22),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(32,UpdateOutputComponent_form_32_Template,14,12,"form",23),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.TgZ(33,"mat-sidenav",24,25)(35,"h3",3),_angular_core__WEBPACK_IMPORTED_MODULE_7__._uU(36),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ALo(37,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_7__._UZ(38,"mat-divider",4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(39,UpdateOutputComponent_div_39_Template,6,3,"div",26),_angular_core__WEBPACK_IMPORTED_MODULE_7__.YNc(40,UpdateOutputComponent_div_40_Template,2,1,"div",27),_angular_core__WEBPACK_IMPORTED_MODULE_7__.qZA()()}if(2&U){const c=_angular_core__WEBPACK_IMPORTED_MODULE_7__.MAs(2),m=_angular_core__WEBPACK_IMPORTED_MODULE_7__.MAs(34);_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(5,19,"SETTINGS.administration")),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngForOf",C.serviceSettings.getSettingsParent()),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.loading),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("transform",!c.opened)("rotate-180",!c.opened),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(C.serviceSettings.getTitle()),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.ekj("transform",m.opened)("rotate-180",m.opened),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",!C.loading),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(25,21,"OUTPUT.output_settings_list")),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(5),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Oqu(_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(30,23,"OUTPUT.update")),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.selectedOutputType&&C.outputsTypesForm[C.selectedOutputType]),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(4),_angular_core__WEBPACK_IMPORTED_MODULE_7__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_7__.lcZ(37,25,"FORMS.available_fields")," "),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",C.loadingCustomFields),_angular_core__WEBPACK_IMPORTED_MODULE_7__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_7__.Q6J("ngIf",!C.loadingCustomFields)}},dependencies:[_angular_common__WEBPACK_IMPORTED_MODULE_19__.sg,_angular_common__WEBPACK_IMPORTED_MODULE_19__.O5,_angular_router__WEBPACK_IMPORTED_MODULE_16__.rH,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_20__.TO,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_20__.KE,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_20__.bx,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_20__.hX,_angular_material_select__WEBPACK_IMPORTED_MODULE_21__.gD,_angular_material_core__WEBPACK_IMPORTED_MODULE_22__.ey,_angular_material_slide_toggle__WEBPACK_IMPORTED_MODULE_23__.Rr,_angular_cdk_text_field__WEBPACK_IMPORTED_MODULE_24__.IC,_angular_material_input__WEBPACK_IMPORTED_MODULE_25__.Nt,_angular_material_tabs__WEBPACK_IMPORTED_MODULE_26__.SP,_angular_material_tabs__WEBPACK_IMPORTED_MODULE_26__.uX,_angular_material_sidenav__WEBPACK_IMPORTED_MODULE_27__.JX,_angular_material_sidenav__WEBPACK_IMPORTED_MODULE_27__.TM,_angular_material_sidenav__WEBPACK_IMPORTED_MODULE_27__.Rh,_angular_material_button__WEBPACK_IMPORTED_MODULE_28__.lW,_angular_material_expansion__WEBPACK_IMPORTED_MODULE_29__.ib,_angular_material_expansion__WEBPACK_IMPORTED_MODULE_29__.yz,_angular_material_expansion__WEBPACK_IMPORTED_MODULE_29__.yK,_angular_material_autocomplete__WEBPACK_IMPORTED_MODULE_30__.XC,_angular_material_autocomplete__WEBPACK_IMPORTED_MODULE_30__.ZL,_angular_material_list__WEBPACK_IMPORTED_MODULE_31__.Hk,_angular_material_divider__WEBPACK_IMPORTED_MODULE_32__.d,_angular_forms__WEBPACK_IMPORTED_MODULE_8__._Y,_angular_forms__WEBPACK_IMPORTED_MODULE_8__.Fj,_angular_forms__WEBPACK_IMPORTED_MODULE_8__.JJ,_angular_forms__WEBPACK_IMPORTED_MODULE_8__.JL,_angular_forms__WEBPACK_IMPORTED_MODULE_8__.Q7,_angular_forms__WEBPACK_IMPORTED_MODULE_8__.oH,_angular_forms__WEBPACK_IMPORTED_MODULE_8__.On,_angular_forms__WEBPACK_IMPORTED_MODULE_8__.F,_loader_component__WEBPACK_IMPORTED_MODULE_33__.R,_services_hint_hint_service__WEBPACK_IMPORTED_MODULE_34__.J,_angular_common__WEBPACK_IMPORTED_MODULE_19__.Ov,_ngx_translate_core__WEBPACK_IMPORTED_MODULE_18__.X$,HighlightPipe],styles:[".output-tab .mat-tab-header .mat-tab-label-container>.mat-tab-list>.mat-tab-labels>.mat-tab-label{width:50%}"]}),UpdateOutputComponent})()},6025:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{B:()=>StatisticsComponent});var rxjs__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(9646),_env__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(9958),moment_moment__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(5439),moment_moment__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(moment_moment__WEBPACK_IMPORTED_MODULE_1__),rxjs_operators__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(8505),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(8746),rxjs_operators__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(262),_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(7520),_angular_core__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(5e3),_angular_common_http__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(520),_services_auth_service__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(2560),_ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(4894),_services_notifications_notifications_service__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(7862),_services_settings_service__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(3208),_angular_common__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(9808),_angular_material_form_field__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(3489),_angular_material_select__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(4107),_angular_material_core__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(508),_angular_material_sidenav__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(2638),_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(5902),_angular_forms__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(3075),_loader_component__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(1872);function StatisticsComponent_div_2_Template(B,U){1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_5__.TgZ(0,"div"),_angular_core__WEBPACK_IMPORTED_MODULE_5__._UZ(1,"app-loader"),_angular_core__WEBPACK_IMPORTED_MODULE_5__.qZA())}function StatisticsComponent_mat_option_13_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_5__.TgZ(0,"mat-option",14),_angular_core__WEBPACK_IMPORTED_MODULE_5__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_5__.ALo(2,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_5__.TgZ(3,"span",15),_angular_core__WEBPACK_IMPORTED_MODULE_5__._uU(4),_angular_core__WEBPACK_IMPORTED_MODULE_5__.qZA()()),2&B){const C=U.$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_5__.Q6J("value",C.id),_angular_core__WEBPACK_IMPORTED_MODULE_5__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_5__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_5__.lcZ(2,3,C.label)," "),_angular_core__WEBPACK_IMPORTED_MODULE_5__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_5__.hij(" ",C.module," ")}}function StatisticsComponent_mat_option_17_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_5__.TgZ(0,"mat-option",14),_angular_core__WEBPACK_IMPORTED_MODULE_5__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_5__.ALo(2,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_5__._UZ(3,"i"),_angular_core__WEBPACK_IMPORTED_MODULE_5__.qZA()),2&B){const C=U.$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_5__.Q6J("value",C.id),_angular_core__WEBPACK_IMPORTED_MODULE_5__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_5__.hij(" ",_angular_core__WEBPACK_IMPORTED_MODULE_5__.lcZ(2,5,C.label)," "),_angular_core__WEBPACK_IMPORTED_MODULE_5__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_5__.Gre("fa-solid ",C.logo," ml-2")}}function StatisticsComponent_div_18_ngx_charts_bar_vertical_1_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_5__._UZ(0,"ngx-charts-bar-vertical",21),_angular_core__WEBPACK_IMPORTED_MODULE_5__.ALo(1,"translate")),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_5__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_5__.Q6J("results",C.currentData)("xAxis",!0)("yAxis",!0)("legend",!0)("legendTitle",_angular_core__WEBPACK_IMPORTED_MODULE_5__.lcZ(1,7,C.selectedStatistic.label))("showXAxisLabel",!0)("showYAxisLabel",!0)}}function StatisticsComponent_div_18_ngx_charts_pie_chart_2_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_5__._UZ(0,"ngx-charts-pie-chart",22),_angular_core__WEBPACK_IMPORTED_MODULE_5__.ALo(1,"translate")),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_5__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_5__.Q6J("results",C.currentData)("legendTitle",_angular_core__WEBPACK_IMPORTED_MODULE_5__.lcZ(1,3,C.selectedStatistic.label))("labels",!0)}}function StatisticsComponent_div_18_ngx_charts_pie_grid_3_Template(B,U){if(1&B&&_angular_core__WEBPACK_IMPORTED_MODULE_5__._UZ(0,"ngx-charts-pie-grid",23),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_5__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_5__.Q6J("results",C.currentData)}}function StatisticsComponent_div_18_ngx_charts_line_chart_4_Template(B,U){if(1&B&&_angular_core__WEBPACK_IMPORTED_MODULE_5__._UZ(0,"ngx-charts-line-chart",24),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_5__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_5__.Q6J("results",C.currentData)("xAxis",!0)("yAxis",!0)("legend",!1)("showXAxisLabel",!0)("showYAxisLabel",!0)}}function StatisticsComponent_div_18_Template(B,U){if(1&B&&(_angular_core__WEBPACK_IMPORTED_MODULE_5__.TgZ(0,"div",16),_angular_core__WEBPACK_IMPORTED_MODULE_5__.YNc(1,StatisticsComponent_div_18_ngx_charts_bar_vertical_1_Template,2,9,"ngx-charts-bar-vertical",17),_angular_core__WEBPACK_IMPORTED_MODULE_5__.YNc(2,StatisticsComponent_div_18_ngx_charts_pie_chart_2_Template,2,5,"ngx-charts-pie-chart",18),_angular_core__WEBPACK_IMPORTED_MODULE_5__.YNc(3,StatisticsComponent_div_18_ngx_charts_pie_grid_3_Template,1,1,"ngx-charts-pie-grid",19),_angular_core__WEBPACK_IMPORTED_MODULE_5__.YNc(4,StatisticsComponent_div_18_ngx_charts_line_chart_4_Template,1,6,"ngx-charts-line-chart",20),_angular_core__WEBPACK_IMPORTED_MODULE_5__.qZA()),2&B){const C=_angular_core__WEBPACK_IMPORTED_MODULE_5__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_5__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_5__.Q6J("ngIf","vertical-bar"===C.selectedDiagramType),_angular_core__WEBPACK_IMPORTED_MODULE_5__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_5__.Q6J("ngIf","pie-chart"===C.selectedDiagramType),_angular_core__WEBPACK_IMPORTED_MODULE_5__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_5__.Q6J("ngIf","pie-grid"===C.selectedDiagramType),_angular_core__WEBPACK_IMPORTED_MODULE_5__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_5__.Q6J("ngIf","line-charts"===C.selectedDiagramType)}}let StatisticsComponent=(()=>{class StatisticsComponent{constructor(B,U,C,c,m){this.http=B,this.authService=U,this.translate=C,this.notify=c,this.serviceSettings=m,this.currentData=[],this.loading=!1,this.options=[{id:"verifier_documents_validated_per_user",label:this.translate.instant("STATISTICS.verifier_documents_validated_per_user"),function:"this.getUsersProcessDocument",module:"verifier",data:[]},{id:"verifier_documents_validated_per_form",label:this.translate.instant("STATISTICS.verifier_documents_validated_per_form"),function:"this.getFormsProcessDocument",module:"verifier",data:[]},{id:"verifier_documents_uploaded",label:this.translate.instant("STATISTICS.verifier_documents_uploaded"),function:"this.getDocumentsUploadedVerifier",module:"verifier",data:[]},{id:"splitter_documents_uploaded",label:this.translate.instant("STATISTICS.splitter_documents_uploaded"),function:"this.getDocumentsUploadedSplitter",module:"splitter",data:[]}],this.diagramTypes=[{id:"vertical-bar",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_6__.J)("STATISTICS.diagram_vertical_bar"),logo:"fa-chart-column"},{id:"pie-chart",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_6__.J)("STATISTICS.diagram_pie_chart"),logo:"fa-chart-pie"},{id:"pie-grid",label:(0,_biesbjerg_ngx_translate_extract_marker__WEBPACK_IMPORTED_MODULE_6__.J)("STATISTICS.diagram_pie_grid"),logo:"fa-grip"}],this.selectedDiagramType="vertical-bar"}ngOnInit(){this.authService.headersExists||this.authService.generateHeaders()}getDocumentsUploadedVerifier(B){const U=moment_moment__WEBPACK_IMPORTED_MODULE_1__().format("Y");this.http.get(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/history/list?module=verifier&submodule=upload_file&year="+U,{headers:this.authService.headers}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.b)(C=>{const c={};moment_moment__WEBPACK_IMPORTED_MODULE_1__.months().forEach(m=>{c[m]=0}),C.history.forEach(m=>{const e=moment_moment__WEBPACK_IMPORTED_MODULE_1__().localeData().longDateFormat("L"),T=moment_moment__WEBPACK_IMPORTED_MODULE_1__(m.date,e).format("MMMM");c[T]+=1}),Object.keys(c).forEach(m=>{this.options[B].data.push({name:m+" "+U,value:c[m]})}),this.currentData=this.options[B].data}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.x)(()=>this.loading=!1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.K)(C=>(console.debug(C),this.notify.handleErrors(C),(0,rxjs__WEBPACK_IMPORTED_MODULE_10__.of)(!1)))).subscribe()}getDocumentsUploadedSplitter(B){const U=moment_moment__WEBPACK_IMPORTED_MODULE_1__().format("Y");this.http.get(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/history/list?module=splitter&submodule=upload_file&year="+U,{headers:this.authService.headers}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.b)(C=>{const c={};moment_moment__WEBPACK_IMPORTED_MODULE_1__.months().forEach(m=>{c[m]=0}),C.history.forEach(m=>{const e=moment_moment__WEBPACK_IMPORTED_MODULE_1__().localeData().longDateFormat("L"),T=moment_moment__WEBPACK_IMPORTED_MODULE_1__(m.date,e).format("MMMM");c[T]+=1}),Object.keys(c).forEach(m=>{this.options[B].data.push({name:m+" "+U,value:c[m]})}),this.currentData=this.options[B].data}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.x)(()=>this.loading=!1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.K)(C=>(console.debug(C),this.notify.handleErrors(C),(0,rxjs__WEBPACK_IMPORTED_MODULE_10__.of)(!1)))).subscribe()}getFormsProcessDocument(B){this.http.get(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/forms/list?module=verifier",{headers:this.authService.headers}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.b)(U=>{U.forms.forEach(C=>{this.http.post(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/verifier/invoices/list",{status:"END",form_id:C.id},{headers:this.authService.headers}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.b)(c=>{this.options[B].data.push({name:C.label+" ("+C.module+")",value:c.total}),this.currentData=this.options[B].data}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.x)(()=>this.loading=!1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.K)(c=>(console.debug(c),this.notify.handleErrors(c),(0,rxjs__WEBPACK_IMPORTED_MODULE_10__.of)(!1)))).subscribe()})}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.K)(U=>(console.debug(U),this.notify.handleErrors(U),(0,rxjs__WEBPACK_IMPORTED_MODULE_10__.of)(!1)))).subscribe()}getUsersProcessDocument(B){this.http.get(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/users/list_full",{headers:this.authService.headers}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.b)(U=>{this.http.get(_env__WEBPACK_IMPORTED_MODULE_0__.N.url+"/ws/history/list?submodule=document_validated",{headers:this.authService.headers}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.b)(C=>{U.users.forEach(c=>{let m=0;C.history.forEach(e=>{c.id===e.user_id&&(m+=1)}),this.options[B].data.push({name:c.lastname+" "+c.firstname,value:m}),this.currentData=this.options[B].data})}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.x)(()=>this.loading=!1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.K)(C=>(console.debug(C),this.notify.handleErrors(C),(0,rxjs__WEBPACK_IMPORTED_MODULE_10__.of)(!1)))).subscribe()}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.K)(U=>(console.debug(U),this.notify.handleErrors(U),(0,rxjs__WEBPACK_IMPORTED_MODULE_10__.of)(!1)))).subscribe()}changeStatistic(event){event.value&&this.options.forEach((option,cpt)=>{option.id===event.value&&(this.selectedStatistic=option,0===option.data.length?(this.currentData=[],this.loading=!0,eval(option.function+"("+cpt+")")):this.currentData=option.data)})}changeDiagramType(B){B.value&&this.diagramTypes.forEach(U=>{U.id===B.value&&(this.selectedDiagramType=U.id)})}}return StatisticsComponent.\u0275fac=function B(U){return new(U||StatisticsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_5__.Y36(_angular_common_http__WEBPACK_IMPORTED_MODULE_11__.eN),_angular_core__WEBPACK_IMPORTED_MODULE_5__.Y36(_services_auth_service__WEBPACK_IMPORTED_MODULE_2__.e),_angular_core__WEBPACK_IMPORTED_MODULE_5__.Y36(_ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__.sK),_angular_core__WEBPACK_IMPORTED_MODULE_5__.Y36(_services_notifications_notifications_service__WEBPACK_IMPORTED_MODULE_3__.g),_angular_core__WEBPACK_IMPORTED_MODULE_5__.Y36(_services_settings_service__WEBPACK_IMPORTED_MODULE_4__.g))},StatisticsComponent.\u0275cmp=_angular_core__WEBPACK_IMPORTED_MODULE_5__.Xpm({type:StatisticsComponent,selectors:[["app-statistics"]],decls:19,vars:14,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],[1,"settings_title","text-center"],[1,"border-green-400"],[1,"flex","justify-center",2,"height","calc(100% - 64px)"],[1,"w-full","h-1","absolute","text-center","mt-2","z-50"],[1,"w-1/4"],[3,"disabled","placeholder","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[1,"ml-4","w-1/4"],[3,"disabled","ngModel","placeholder","selectionChange"],["class","relative mt-20 w-full",4,"ngIf"],[3,"value"],[1,"text-green-400","ml-1","mt-2",2,"font-size","12px"],[1,"relative","mt-20","w-full"],[3,"results","xAxis","yAxis","legend","legendTitle","showXAxisLabel","showYAxisLabel",4,"ngIf"],[3,"results","legendTitle","labels",4,"ngIf"],[3,"results",4,"ngIf"],[3,"results","xAxis","yAxis","legend","showXAxisLabel","showYAxisLabel",4,"ngIf"],[3,"results","xAxis","yAxis","legend","legendTitle","showXAxisLabel","showYAxisLabel"],[3,"results","legendTitle","labels"],[3,"results"],[3,"results","xAxis","yAxis","legend","showXAxisLabel","showYAxisLabel"]],template:function B(U,C){1&U&&(_angular_core__WEBPACK_IMPORTED_MODULE_5__.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav-content",1),_angular_core__WEBPACK_IMPORTED_MODULE_5__.YNc(2,StatisticsComponent_div_2_Template,2,0,"div",2),_angular_core__WEBPACK_IMPORTED_MODULE_5__.TgZ(3,"div",3)(4,"div",4)(5,"h3"),_angular_core__WEBPACK_IMPORTED_MODULE_5__._uU(6),_angular_core__WEBPACK_IMPORTED_MODULE_5__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_5__._UZ(7,"hr",5),_angular_core__WEBPACK_IMPORTED_MODULE_5__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_5__.TgZ(8,"div",6)(9,"div",7)(10,"mat-form-field",8)(11,"mat-select",9),_angular_core__WEBPACK_IMPORTED_MODULE_5__.NdJ("selectionChange",function(m){return C.changeStatistic(m)}),_angular_core__WEBPACK_IMPORTED_MODULE_5__.ALo(12,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_5__.YNc(13,StatisticsComponent_mat_option_13_Template,5,5,"mat-option",10),_angular_core__WEBPACK_IMPORTED_MODULE_5__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_5__.TgZ(14,"mat-form-field",11)(15,"mat-select",12),_angular_core__WEBPACK_IMPORTED_MODULE_5__.NdJ("selectionChange",function(m){return C.changeDiagramType(m)}),_angular_core__WEBPACK_IMPORTED_MODULE_5__.ALo(16,"translate"),_angular_core__WEBPACK_IMPORTED_MODULE_5__.YNc(17,StatisticsComponent_mat_option_17_Template,4,7,"mat-option",10),_angular_core__WEBPACK_IMPORTED_MODULE_5__.qZA()()(),_angular_core__WEBPACK_IMPORTED_MODULE_5__.YNc(18,StatisticsComponent_div_18_Template,5,4,"div",13),_angular_core__WEBPACK_IMPORTED_MODULE_5__.qZA()()()),2&U&&(_angular_core__WEBPACK_IMPORTED_MODULE_5__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_5__.Q6J("ngIf",C.loading),_angular_core__WEBPACK_IMPORTED_MODULE_5__.xp6(4),_angular_core__WEBPACK_IMPORTED_MODULE_5__.Oqu(C.serviceSettings.getTitle()),_angular_core__WEBPACK_IMPORTED_MODULE_5__.xp6(5),_angular_core__WEBPACK_IMPORTED_MODULE_5__.Q6J("disabled",C.loading)("placeholder",_angular_core__WEBPACK_IMPORTED_MODULE_5__.lcZ(12,10,"STATISTICS.choose_statistic_report")),_angular_core__WEBPACK_IMPORTED_MODULE_5__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_5__.Q6J("ngForOf",C.options),_angular_core__WEBPACK_IMPORTED_MODULE_5__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_5__.Q6J("disabled",!C.selectedStatistic||C.loading)("ngModel",C.selectedDiagramType)("placeholder",_angular_core__WEBPACK_IMPORTED_MODULE_5__.lcZ(16,12,"STATISTICS.choose_diagram")),_angular_core__WEBPACK_IMPORTED_MODULE_5__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_5__.Q6J("ngForOf",C.diagramTypes),_angular_core__WEBPACK_IMPORTED_MODULE_5__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_5__.Q6J("ngIf",!C.loading&&C.selectedStatistic))},dependencies:[_angular_common__WEBPACK_IMPORTED_MODULE_13__.sg,_angular_common__WEBPACK_IMPORTED_MODULE_13__.O5,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_14__.KE,_angular_material_select__WEBPACK_IMPORTED_MODULE_15__.gD,_angular_material_core__WEBPACK_IMPORTED_MODULE_16__.ey,_angular_material_sidenav__WEBPACK_IMPORTED_MODULE_17__.TM,_angular_material_sidenav__WEBPACK_IMPORTED_MODULE_17__.Rh,_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_18__.K$,_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_18__.Dw,_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_18__.JU,_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_18__.Nm,_angular_forms__WEBPACK_IMPORTED_MODULE_19__.JJ,_angular_forms__WEBPACK_IMPORTED_MODULE_19__.On,_loader_component__WEBPACK_IMPORTED_MODULE_20__.R,_ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__.X$]}),StatisticsComponent})()},7867:(B,U,C)=>{"use strict";var c=C(2313),m=C(9958),e=C(5e3),b=C(508),T=C(5439);const F=T||C.t(T,2),V=new e.OlP("MAT_MOMENT_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:function X(){return{useUtc:!1}}});function J(n,o){const t=Array(n);for(let i=0;i{class n extends b._A{constructor(t,i){super(),this._options=i,this.setLocale(t||F.locale())}setLocale(t){super.setLocale(t);let i=F.localeData(t);this._localeData={firstDayOfWeek:i.firstDayOfWeek(),longMonths:i.months(),shortMonths:i.monthsShort(),dates:J(31,a=>this.createDate(2017,0,a+1).format("D")),longDaysOfWeek:i.weekdays(),shortDaysOfWeek:i.weekdaysShort(),narrowDaysOfWeek:i.weekdaysMin()}}getYear(t){return this.clone(t).year()}getMonth(t){return this.clone(t).month()}getDate(t){return this.clone(t).date()}getDayOfWeek(t){return this.clone(t).day()}getMonthNames(t){return"long"==t?this._localeData.longMonths:this._localeData.shortMonths}getDateNames(){return this._localeData.dates}getDayOfWeekNames(t){return"long"==t?this._localeData.longDaysOfWeek:"short"==t?this._localeData.shortDaysOfWeek:this._localeData.narrowDaysOfWeek}getYearName(t){return this.clone(t).format("YYYY")}getFirstDayOfWeek(){return this._localeData.firstDayOfWeek}getNumDaysInMonth(t){return this.clone(t).daysInMonth()}clone(t){return t.clone().locale(this.locale)}createDate(t,i,a){const l=this._createMoment({year:t,month:i,date:a}).locale(this.locale);return l.isValid(),l}today(){return this._createMoment().locale(this.locale)}parse(t,i){return t&&"string"==typeof t?this._createMoment(t,i,this.locale):t?this._createMoment(t).locale(this.locale):null}format(t,i){return t=this.clone(t),this.isValid(t),t.format(i)}addCalendarYears(t,i){return this.clone(t).add({years:i})}addCalendarMonths(t,i){return this.clone(t).add({months:i})}addCalendarDays(t,i){return this.clone(t).add({days:i})}toIso8601(t){return this.clone(t).format()}deserialize(t){let i;if(t instanceof Date)i=this._createMoment(t).locale(this.locale);else if(this.isDateInstance(t))return this.clone(t);if("string"==typeof t){if(!t)return null;i=this._createMoment(t,F.ISO_8601).locale(this.locale)}return i&&this.isValid(i)?this._createMoment(i).locale(this.locale):super.deserialize(t)}isDateInstance(t){return F.isMoment(t)}isValid(t){return this.clone(t).isValid()}invalid(){return F.invalid()}_createMoment(t,i,a){const{strict:l,useUtc:h}=this._options||{};return h?F.utc(t,i,a,l):F(t,i,a,l)}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(b.Ad,8),e.LFG(V,8))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})();const ce={parse:{dateInput:"l"},display:{dateInput:"l",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};var de=C(1079),Ge=C(5664),le=C(3191);let Ne=0;const yt=(0,b.Id)(class{}),jt="mat-badge-content";let st=(()=>{class n extends yt{constructor(t,i,a,l,h){super(),this._ngZone=t,this._elementRef=i,this._ariaDescriber=a,this._renderer=l,this._animationMode=h,this._color="primary",this._overlap=!0,this.position="above after",this.size="medium",this._id=Ne++,this._isInitialized=!1}get color(){return this._color}set color(t){this._setColor(t),this._color=t}get overlap(){return this._overlap}set overlap(t){this._overlap=(0,le.Ig)(t)}get content(){return this._content}set content(t){this._updateRenderedContent(t)}get description(){return this._description}set description(t){this._updateHostAriaDescription(t)}get hidden(){return this._hidden}set hidden(t){this._hidden=(0,le.Ig)(t)}isAbove(){return-1===this.position.indexOf("below")}isAfter(){return-1===this.position.indexOf("before")}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&this._renderer.destroyNode(this._badgeElement),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_createBadgeElement(){const t=this._renderer.createElement("span"),i="mat-badge-active";return t.setAttribute("id",`mat-badge-content-${this._id}`),t.setAttribute("aria-hidden","true"),t.classList.add(jt),"NoopAnimations"===this._animationMode&&t.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(t),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{t.classList.add(i)})}):t.classList.add(i),t}_updateRenderedContent(t){const i=`${null!=t?t:""}`.trim();this._isInitialized&&i&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=i),this._content=i}_updateHostAriaDescription(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),t&&this._ariaDescriber.describe(this._elementRef.nativeElement,t),this._description=t}_setColor(t){const i=this._elementRef.nativeElement.classList;i.remove(`mat-badge-${this._color}`),t&&i.add(`mat-badge-${t}`)}_clearExistingBadges(){const t=this._elementRef.nativeElement.querySelectorAll(`:scope > .${jt}`);for(const i of Array.from(t))i!==this._badgeElement&&i.remove()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.R0b),e.Y36(e.SBq),e.Y36(Ge.$s),e.Y36(e.Qsj),e.Y36(e.QbO,8))},n.\u0275dir=e.lG2({type:n,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(t,i){2&t&&e.ekj("mat-badge-overlap",i.overlap)("mat-badge-above",i.isAbove())("mat-badge-below",!i.isAbove())("mat-badge-before",!i.isAfter())("mat-badge-after",i.isAfter())("mat-badge-small","small"===i.size)("mat-badge-medium","medium"===i.size)("mat-badge-large","large"===i.size)("mat-badge-hidden",i.hidden||!i.content)("mat-badge-disabled",i.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],position:["matBadgePosition","position"],content:["matBadge","content"],description:["matBadgeDescription","description"],size:["matBadgeSize","size"],hidden:["matBadgeHidden","hidden"]},features:[e.qOj]}),n})(),Te=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[Ge.rt,b.BQ,b.BQ]}),n})();var Le=C(925),at=C(7429),_e=C(9808),xt=C(1314),tt=C(1159),Ye=C(7579),qe=C(9770),ie=C(9646),ke=C(226),mt=C(8675);function kt(n,o){}class ri{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0}}let Wt=(()=>{class n extends at.en{constructor(t,i,a,l,h,E,N,oe){super(),this._elementRef=t,this._focusTrapFactory=i,this._config=l,this._interactivityChecker=h,this._ngZone=E,this._overlayRef=N,this._focusMonitor=oe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=xe=>{this._portalOutlet.hasAttached();const Ve=this._portalOutlet.attachDomPortal(xe);return this._contentAttached(),Ve},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=a}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(t){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachComponentPortal(t);return this._contentAttached(),i}attachTemplatePortal(t){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachTemplatePortal(t);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(t,i){this._interactivityChecker.isFocusable(t)||(t.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const a=()=>{t.removeEventListener("blur",a),t.removeEventListener("mousedown",a),t.removeAttribute("tabindex")};t.addEventListener("blur",a),t.addEventListener("mousedown",a)})),t.focus(i)}_focusByCssSelector(t,i){let a=this._elementRef.nativeElement.querySelector(t);a&&this._forceFocus(a,i)}_trapFocus(){const t=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||t.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(i=>{i||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const t=this._config.restoreFocus;let i=null;if("string"==typeof t?i=this._document.querySelector(t):"boolean"==typeof t?i=t?this._elementFocusedBeforeDialogWasOpened:null:t&&(i=t),this._config.restoreFocus&&i&&"function"==typeof i.focus){const a=(0,Le.ht)(),l=this._elementRef.nativeElement;(!a||a===this._document.body||a===l||l.contains(a))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const t=this._elementRef.nativeElement,i=(0,Le.ht)();return t===i||t.contains(i)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,Le.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(Ge.qV),e.Y36(_e.K0,8),e.Y36(ri),e.Y36(Ge.ic),e.Y36(e.R0b),e.Y36(xt.Iu),e.Y36(Ge.tE))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cdk-dialog-container"]],viewQuery:function(t,i){if(1&t&&e.Gf(at.Pl,7),2&t){let a;e.iGM(a=e.CRH())&&(i._portalOutlet=a.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(t,i){2&t&&e.uIk("id",i._config.id||null)("role",i._config.role)("aria-modal",i._config.ariaModal)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null)},features:[e.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,i){1&t&&e.YNc(0,kt,0,0,"ng-template",0)},dependencies:[at.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),n})();class ye{constructor(o,t){this.overlayRef=o,this.config=t,this.closed=new Ye.x,this.disableClose=t.disableClose,this.backdropClick=o.backdropClick(),this.keydownEvents=o.keydownEvents(),this.outsidePointerEvents=o.outsidePointerEvents(),this.id=t.id,this.keydownEvents.subscribe(i=>{i.keyCode===tt.hY&&!this.disableClose&&!(0,tt.Vb)(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(o,t){if(this.containerInstance){const i=this.closed;this.containerInstance._closeInteractionType=(null==t?void 0:t.focusOrigin)||"program",this.overlayRef.dispose(),i.next(o),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(o="",t=""){return this.overlayRef.updateSize({width:o,height:t}),this}addPanelClass(o){return this.overlayRef.addPanelClass(o),this}removePanelClass(o){return this.overlayRef.removePanelClass(o),this}}const Xe=new e.OlP("DialogScrollStrategy"),Ae=new e.OlP("DialogData"),he=new e.OlP("DefaultDialogConfig"),Yt={provide:Xe,deps:[xt.aV],useFactory:function nt(n){return()=>n.scrollStrategies.block()}};let Lt=0,Ai=(()=>{class n{constructor(t,i,a,l,h,E){this._overlay=t,this._injector=i,this._defaultOptions=a,this._parentDialog=l,this._overlayContainer=h,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Ye.x,this._afterOpenedAtThisLevel=new Ye.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,qe.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,mt.O)(void 0))),this._scrollStrategy=E}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(t,i){const a=this._defaultOptions||new ri;(i=Object.assign(Object.assign({},a),i)).id=i.id||"cdk-dialog-"+Lt++,i.id&&this.getDialogById(i.id);const l=this._getOverlayConfig(i),h=this._overlay.create(l),E=new ye(h,i),N=this._attachContainer(h,E,i);return E.containerInstance=N,this._attachDialogContent(t,E,N,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(E),E.closed.subscribe(()=>this._removeOpenDialog(E,!0)),this.afterOpened.next(E),E}closeAll(){ei(this.openDialogs,t=>t.close())}getDialogById(t){return this.openDialogs.find(i=>i.id===t)}ngOnDestroy(){ei(this._openDialogsAtThisLevel,t=>{!1===t.config.closeOnDestroy&&this._removeOpenDialog(t,!1)}),ei(this._openDialogsAtThisLevel,t=>t.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(t){const i=new xt.X_({positionStrategy:t.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,width:t.width,height:t.height,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(i.backdropClass=t.backdropClass),i}_attachContainer(t,i,a){var l;const h=a.injector||(null===(l=a.viewContainerRef)||void 0===l?void 0:l.injector),E=[{provide:ri,useValue:a},{provide:ye,useValue:i},{provide:xt.Iu,useValue:t}];let N;a.container?"function"==typeof a.container?N=a.container:(N=a.container.type,E.push(...a.container.providers(a))):N=Wt;const oe=new at.C5(N,a.viewContainerRef,e.zs3.create({parent:h||this._injector,providers:E}),a.componentFactoryResolver);return t.attach(oe).instance}_attachDialogContent(t,i,a,l){if(t instanceof e.Rgc){const h=this._createInjector(l,i,a,void 0);let E={$implicit:l.data,dialogRef:i};l.templateContext&&(E=Object.assign(Object.assign({},E),"function"==typeof l.templateContext?l.templateContext():l.templateContext)),a.attachTemplatePortal(new at.UE(t,null,E,h))}else{const h=this._createInjector(l,i,a,this._injector),E=a.attachComponentPortal(new at.C5(t,l.viewContainerRef,h,l.componentFactoryResolver));i.componentInstance=E.instance}}_createInjector(t,i,a,l){var h;const E=t.injector||(null===(h=t.viewContainerRef)||void 0===h?void 0:h.injector),N=[{provide:Ae,useValue:t.data},{provide:ye,useValue:i}];return t.providers&&("function"==typeof t.providers?N.push(...t.providers(i,t,a)):N.push(...t.providers)),t.direction&&(!E||!E.get(ke.Is,null,e.XFs.Optional))&&N.push({provide:ke.Is,useValue:{value:t.direction,change:(0,ie.of)()}}),e.zs3.create({parent:E||l,providers:N})}_removeOpenDialog(t,i){const a=this.openDialogs.indexOf(t);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((l,h)=>{l?h.setAttribute("aria-hidden",l):h.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const i=t.parentElement.children;for(let a=i.length-1;a>-1;a--){const l=i[a];l!==t&&"SCRIPT"!==l.nodeName&&"STYLE"!==l.nodeName&&!l.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(l,l.getAttribute("aria-hidden")),l.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(xt.aV),e.LFG(e.zs3),e.LFG(he,8),e.LFG(n,12),e.LFG(xt.Xj),e.LFG(Xe))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})();function ei(n,o){let t=n.length;for(;t--;)o(n[t])}let hi=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[Ai,Yt],imports:[xt.U8,at.eL,Ge.rt,at.eL]}),n})();var ne=C(1777);let ni=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[hi,b.BQ,at.eL,b.BQ]}),n})();var Y=C(7423),ee=C(449),A=C(3075);let Bi=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[b.BQ,b.si,b.BQ]}),n})();const xi=["*",[["mat-card-footer"]]],$n=["*","mat-card-footer"],Hi=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],ht=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"];let Re=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=e.lG2({type:n,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),n})(),We=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=e.lG2({type:n,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),n})(),Ie=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=e.lG2({type:n,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),n})(),_t=(()=>{class n{constructor(){this.align="start"}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=e.lG2({type:n,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(t,i){2&t&&e.ekj("mat-card-actions-align-end","end"===i.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),n})(),si=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=e.lG2({type:n,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-card-image"]}),n})(),ot=(()=>{class n{constructor(t){this._animationMode=t}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.QbO,8))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(t,i){2&t&&e.ekj("_mat-animation-noopable","NoopAnimations"===i._animationMode)},exportAs:["matCard"],ngContentSelectors:$n,decls:2,vars:0,template:function(t,i){1&t&&(e.F$t(xi),e.Hsn(0),e.Hsn(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}.mat-card._mat-animation-noopable{transition:none !important;animation:none !important}.mat-card>.mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card>.mat-divider-horizontal{left:auto;right:0}.mat-card>.mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card>.mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px;display:block;overflow:hidden}.mat-card-image img{width:100%}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}"],encapsulation:2,changeDetection:0}),n})(),qt=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:ht,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(t,i){1&t&&(e.F$t(Hi),e.Hsn(0),e.TgZ(1,"div",0),e.Hsn(2,1),e.qZA(),e.Hsn(3,2))},encapsulation:2,changeDetection:0}),n})(),ln=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[b.BQ,b.BQ]}),n})();var vt=C(7144);const rt=["input"],je=["label"],Mt=function(n){return{enterDuration:n}},Ut=["*"],Oi=new e.OlP("mat-checkbox-default-options",{providedIn:"root",factory:Ni});function Ni(){return{color:"accent",clickAction:"check-indeterminate"}}let Xt=0;const Li=Ni(),Sn={provide:A.JU,useExisting:(0,e.Gpc)(()=>Sa),multi:!0};class sa{}const za=(0,b.sb)((0,b.pj)((0,b.Kr)((0,b.Id)(class{constructor(n){this._elementRef=n}}))));let ya=(()=>{class n extends za{constructor(t,i,a,l,h,E,N){super(i),this._changeDetectorRef=a,this._ngZone=l,this._animationMode=E,this._options=N,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new e.vpe,this.indeterminateChange=new e.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||Li,this.color=this.defaultColor=this._options.color||Li.color,this.tabIndex=parseInt(h)||0,this.id=this._uniqueId=`${t}${++Xt}`}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(t){this._required=(0,le.Ig)(t)}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(t){const i=(0,le.Ig)(t);i!=this.checked&&(this._checked=i,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){const i=(0,le.Ig)(t);i!==this.disabled&&(this._disabled=i,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(t){const i=t!=this._indeterminate;this._indeterminate=(0,le.Ig)(t),i&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(t){this.checked=!!t}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(t){let i=this._currentCheckState,a=this._getAnimationTargetElement();if(i!==t&&a&&(this._currentAnimationClass&&a.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){a.classList.add(this._currentAnimationClass);const l=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{a.classList.remove(l)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){var t;const i=null===(t=this._options)||void 0===t?void 0:t.clickAction;this.disabled||"noop"===i?!this.disabled&&"noop"===i&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==i&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(t){t.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(t,i){if("NoopAnimations"===this._animationMode)return"";switch(t){case 0:if(1===i)return this._animationClasses.uncheckedToChecked;if(3==i)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===i?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===i?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===i?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(t){const i=this._inputElement;i&&(i.nativeElement.indeterminate=t)}}return n.\u0275fac=function(t){e.$Z()},n.\u0275dir=e.lG2({type:n,viewQuery:function(t,i){if(1&t&&(e.Gf(rt,5),e.Gf(je,5),e.Gf(b.wG,5)),2&t){let a;e.iGM(a=e.CRH())&&(i._inputElement=a.first),e.iGM(a=e.CRH())&&(i._labelElement=a.first),e.iGM(a=e.CRH())&&(i.ripple=a.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[e.qOj]}),n})(),Sa=(()=>{class n extends ya{constructor(t,i,a,l,h,E,N){super("mat-checkbox-",t,i,l,h,E,N),this._focusMonitor=a,this._animationClasses={uncheckedToChecked:"mat-checkbox-anim-unchecked-checked",uncheckedToIndeterminate:"mat-checkbox-anim-unchecked-indeterminate",checkedToUnchecked:"mat-checkbox-anim-checked-unchecked",checkedToIndeterminate:"mat-checkbox-anim-checked-indeterminate",indeterminateToChecked:"mat-checkbox-anim-indeterminate-checked",indeterminateToUnchecked:"mat-checkbox-anim-indeterminate-unchecked"}}_createChangeEvent(t){const i=new sa;return i.source=this,i.checked=t,i}_getAnimationTargetElement(){return this._elementRef.nativeElement}ngAfterViewInit(){super.ngAfterViewInit(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{t||this._onBlur()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onInputClick(t){t.stopPropagation(),super._handleInputClick()}focus(t,i){t?this._focusMonitor.focusVia(this._inputElement,t,i):this._inputElement.nativeElement.focus(i)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(Ge.tE),e.Y36(e.R0b),e.$8M("tabindex"),e.Y36(e.QbO,8),e.Y36(Oi,8))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(t,i){2&t&&(e.Ikx("id",i.id),e.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),e.ekj("mat-checkbox-indeterminate",i.indeterminate)("mat-checkbox-checked",i.checked)("mat-checkbox-disabled",i.disabled)("mat-checkbox-label-before","before"==i.labelPosition)("_mat-animation-noopable","NoopAnimations"===i._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[e._Bn([Sn]),e.qOj],ngContentSelectors:Ut,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(t,i){if(1&t&&(e.F$t(),e.TgZ(0,"label",0,1)(2,"span",2)(3,"input",3,4),e.NdJ("change",function(l){return i._onInteractionEvent(l)})("click",function(l){return i._onInputClick(l)}),e.qZA(),e.TgZ(5,"span",5),e._UZ(6,"span",6),e.qZA(),e._UZ(7,"span",7),e.TgZ(8,"span",8),e.O4$(),e.TgZ(9,"svg",9),e._UZ(10,"path",10),e.qZA(),e.kcU(),e._UZ(11,"span",11),e.qZA()(),e.TgZ(12,"span",12,13),e.NdJ("cdkObserveContent",function(){return i._onLabelTextChange()}),e.TgZ(14,"span",14),e._uU(15,"\xa0"),e.qZA(),e.Hsn(16),e.qZA()()),2&t){const a=e.MAs(1),l=e.MAs(13);e.uIk("for",i.inputId),e.xp6(2),e.ekj("mat-checkbox-inner-container-no-side-margin",!l.textContent||!l.textContent.trim()),e.xp6(1),e.Q6J("id",i.inputId)("required",i.required)("checked",i.checked)("disabled",i.disabled)("tabIndex",i.tabIndex),e.uIk("value",i.value)("name",i.name)("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby)("aria-checked",i._getAriaChecked())("aria-describedby",i.ariaDescribedby),e.xp6(2),e.Q6J("matRippleTrigger",a)("matRippleDisabled",i._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",e.VKq(19,Mt,"NoopAnimations"===i._animationMode?0:150))}},dependencies:[b.wG,vt.wD],styles:['@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative}.mat-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-checkbox-layout{-webkit-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:rgba(0,0,0,0);transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:rgba(0,0,0,0)}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox-input:focus~.mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),n})(),yo=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({}),n})(),Qi=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[b.si,b.BQ,vt.Q8,yo,b.BQ,yo]}),n})();var ma=C(6451),yn=C(5698),$i=C(2722),Rt=C(3489);const ga=["*"],To=new e.OlP("MatChipRemove"),Ia=new e.OlP("MatChipAvatar"),Qa=new e.OlP("MatChipTrailingIcon");class No{constructor(o){this._elementRef=o}}const Yn=(0,b.sb)((0,b.pj)((0,b.Kr)(No),"primary"),-1);let Un=(()=>{class n extends Yn{constructor(t,i,a,l,h,E,N,oe){super(t),this._ngZone=i,this._changeDetectorRef=h,this._hasFocus=!1,this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListDisabled=!1,this.role="option",this._selected=!1,this._selectable=!0,this._disabled=!1,this._removable=!0,this._onFocus=new Ye.x,this._onBlur=new Ye.x,this.selectionChange=new e.vpe,this.destroyed=new e.vpe,this.removed=new e.vpe,this._addHostClassName(),this._chipRippleTarget=E.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new b.IR(this,i,this._chipRippleTarget,a),this._chipRipple.setupTriggerEvents(t),this.rippleConfig=l||{},this._animationsDisabled="NoopAnimations"===N,this.tabIndex=null!=oe&&parseInt(oe)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(t){const i=(0,le.Ig)(t);i!==this._selected&&(this._selected=i,this._dispatchSelectionChange())}get value(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent}set value(t){this._value=t}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(t){this._selectable=(0,le.Ig)(t)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(t){this._disabled=(0,le.Ig)(t)}get removable(){return this._removable}set removable(t){this._removable=(0,le.Ig)(t)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}_addHostClassName(){const t="mat-basic-chip",i=this._elementRef.nativeElement;i.hasAttribute(t)||i.tagName.toLowerCase()===t?i.classList.add(t):i.classList.add("mat-standard-chip")}ngOnDestroy(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}select(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}deselect(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}selectViaInteraction(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}toggleSelected(t=!1){return this._selected=!this.selected,this._dispatchSelectionChange(t),this._changeDetectorRef.markForCheck(),this.selected}focus(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}remove(){this.removable&&this.removed.emit({chip:this})}_handleClick(t){this.disabled&&t.preventDefault()}_handleKeydown(t){if(!this.disabled)switch(t.keyCode){case tt.yY:case tt.ZH:this.remove(),t.preventDefault();break;case tt.L_:this.selectable&&this.toggleSelected(!0),t.preventDefault()}}_blur(){this._ngZone.onStable.pipe((0,yn.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(t=!1){this.selectionChange.emit({source:this,isUserInput:t,selected:this._selected})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(Le.t4),e.Y36(b.Y2,8),e.Y36(e.sBO),e.Y36(_e.K0),e.Y36(e.QbO,8),e.$8M("tabindex"))},n.\u0275dir=e.lG2({type:n,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(t,i,a){if(1&t&&(e.Suo(a,Ia,5),e.Suo(a,Qa,5),e.Suo(a,To,5)),2&t){let l;e.iGM(l=e.CRH())&&(i.avatar=l.first),e.iGM(l=e.CRH())&&(i.trailingIcon=l.first),e.iGM(l=e.CRH())&&(i.removeIcon=l.first)}},hostAttrs:[1,"mat-chip","mat-focus-indicator"],hostVars:15,hostBindings:function(t,i){1&t&&e.NdJ("click",function(l){return i._handleClick(l)})("keydown",function(l){return i._handleKeydown(l)})("focus",function(){return i.focus()})("blur",function(){return i._blur()}),2&t&&(e.uIk("tabindex",i.disabled?null:i.tabIndex)("role",i.role)("disabled",i.disabled||null)("aria-disabled",i.disabled.toString())("aria-selected",i.ariaSelected),e.ekj("mat-chip-selected",i.selected)("mat-chip-with-avatar",i.avatar)("mat-chip-with-trailing-icon",i.trailingIcon||i.removeIcon)("mat-chip-disabled",i.disabled)("_mat-animation-noopable",i._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[e.qOj]}),n})(),Aa=(()=>{class n{constructor(t,i){this._parentChip=t,"BUTTON"===i.nativeElement.nodeName&&i.nativeElement.setAttribute("type","button")}_handleClick(t){const i=this._parentChip;i.removable&&!i.disabled&&i.remove(),t.stopPropagation(),t.preventDefault()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Un),e.Y36(e.SBq))},n.\u0275dir=e.lG2({type:n,selectors:[["","matChipRemove",""]],hostAttrs:[1,"mat-chip-remove","mat-chip-trailing-icon"],hostBindings:function(t,i){1&t&&e.NdJ("click",function(l){return i._handleClick(l)})},features:[e._Bn([{provide:To,useExisting:n}])]}),n})();const Fr=new e.OlP("mat-chips-default-options"),Ka=(0,b.FD)(class{constructor(n,o,t,i){this._defaultErrorStateMatcher=n,this._parentForm=o,this._parentFormGroup=t,this.ngControl=i,this.stateChanges=new Ye.x}});let Nr=0;class lr{constructor(o,t){this.source=o,this.value=t}}let Ya=(()=>{class n extends Ka{constructor(t,i,a,l,h,E,N){super(E,l,h,N),this._elementRef=t,this._changeDetectorRef=i,this._dir=a,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new Ye.x,this._uid="mat-chip-list-"+Nr++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(oe,xe)=>oe===xe,this._disabled=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.change=new e.vpe,this.valueChange=new e.vpe,this.ngControl&&(this.ngControl.valueAccessor=this)}get selected(){var t,i;return this.multiple?(null===(t=this._selectionModel)||void 0===t?void 0:t.selected)||[]:null===(i=this._selectionModel)||void 0===i?void 0:i.selected[0]}get role(){return this._explicitRole?this._explicitRole:this.empty?null:"listbox"}set role(t){this._explicitRole=t}get multiple(){return this._multiple}set multiple(t){this._multiple=(0,le.Ig)(t),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){this.writeValue(t),this._value=t}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){var t,i,a,l;return null!==(l=null!==(t=this._required)&&void 0!==t?t:null===(a=null===(i=this.ngControl)||void 0===i?void 0:i.control)||void 0===a?void 0:a.hasValidator(A.kI.required))&&void 0!==l&&l}set required(t){this._required=(0,le.Ig)(t),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get focused(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||0===this.chips.length)}get shouldLabelFloat(){return!this.empty||this.focused}get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=(0,le.Ig)(t),this._syncChipsState()}get selectable(){return this._selectable}set selectable(t){this._selectable=(0,le.Ig)(t),this._syncChipsState()}set tabIndex(t){this._userTabIndex=t,this._tabIndex=t}get chipSelectionChanges(){return(0,ma.T)(...this.chips.map(t=>t.selectionChange))}get chipFocusChanges(){return(0,ma.T)(...this.chips.map(t=>t._onFocus))}get chipBlurChanges(){return(0,ma.T)(...this.chips.map(t=>t._onBlur))}get chipRemoveChanges(){return(0,ma.T)(...this.chips.map(t=>t.destroyed))}ngAfterContentInit(){this._keyManager=new Ge.Em(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe((0,$i.R)(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t)),this._keyManager.tabOut.pipe((0,$i.R)(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.chips.changes.pipe((0,mt.O)(null),(0,$i.R)(this._destroyed)).subscribe(()=>{(this.disabled||!this.selectable)&&Promise.resolve().then(()=>{this._syncChipsState()}),this._resetChips(),this._initializeSelection(),this._updateTabIndex(),this._updateFocusForDestroyedChips(),this.stateChanges.next()})}ngOnInit(){this._selectionModel=new ee.Ov(this.multiple,void 0,!1),this.stateChanges.next()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}registerInput(t){this._chipInput=t,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",t.id)}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}writeValue(t){this.chips&&this._setSelectionByValue(t,!1)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this.stateChanges.next()}onContainerClick(t){this._originatesFromChip(t)||this.focus()}focus(t){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(t),this.stateChanges.next()))}_focusInput(t){this._chipInput&&this._chipInput.focus(t)}_keydown(t){const i=t.target;i&&i.classList.contains("mat-chip")&&(this._keyManager.onKeydown(t),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}_updateFocusForDestroyedChips(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){const t=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(t)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(t){return t>=0&&ta.deselect()),Array.isArray(t))t.forEach(a=>this._selectValue(a,i)),this._sortValues();else{const a=this._selectValue(t,i);a&&i&&this._keyManager.setActiveItem(a)}}_selectValue(t,i=!0){const a=this.chips.find(l=>null!=l.value&&this._compareWith(l.value,t));return a&&(i?a.selectViaInteraction():a.select(),this._selectionModel.select(a)),a}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(t){this._selectionModel.clear(),this.chips.forEach(i=>{i!==t&&i.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(t=>{t.selected&&this._selectionModel.select(t)}),this.stateChanges.next())}_propagateChanges(t){let i=null;i=Array.isArray(this.selected)?this.selected.map(a=>a.value):this.selected?this.selected.value:t,this._value=i,this.change.emit(new lr(this,i)),this.valueChange.emit(i),this._onChange(i),this._changeDetectorRef.markForCheck()}_blur(){this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(()=>{this.focused||this._markAsTouched()}):this._markAsTouched())}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}_allowFocusEscape(){-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(()=>{this._tabIndex=this._userTabIndex||0,this._changeDetectorRef.markForCheck()}))}_resetChips(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}_dropSubscriptions(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)}_listenToChipsSelection(){this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(t=>{t.source.selected?this._selectionModel.select(t.source):this._selectionModel.deselect(t.source),this.multiple||this.chips.forEach(i=>{!this._selectionModel.isSelected(i)&&i.selected&&i.deselect()}),t.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(t=>{let i=this.chips.toArray().indexOf(t.chip);this._isValidIndex(i)&&this._keyManager.updateActiveItem(i),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(t=>{const i=t.chip,a=this.chips.toArray().indexOf(t.chip);this._isValidIndex(a)&&i._hasFocus&&(this._lastDestroyedChipIndex=a)})}_originatesFromChip(t){let i=t.target;for(;i&&i!==this._elementRef.nativeElement;){if(i.classList.contains("mat-chip"))return!0;i=i.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(t=>t._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(t=>{t._chipListDisabled=this._disabled,t._chipListMultiple=this.multiple,t.chipListSelectable=this._selectable})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(ke.Is,8),e.Y36(A.F,8),e.Y36(A.sg,8),e.Y36(b.rD),e.Y36(A.a5,10))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-chip-list"]],contentQueries:function(t,i,a){if(1&t&&e.Suo(a,Un,5),2&t){let l;e.iGM(l=e.CRH())&&(i.chips=l)}},hostAttrs:[1,"mat-chip-list"],hostVars:14,hostBindings:function(t,i){1&t&&e.NdJ("focus",function(){return i.focus()})("blur",function(){return i._blur()})("keydown",function(l){return i._keydown(l)}),2&t&&(e.Ikx("id",i._uid),e.uIk("tabindex",i.disabled?null:i._tabIndex)("aria-required",i.role?i.required:null)("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-multiselectable",i.multiple)("role",i.role)("aria-orientation",i.ariaOrientation),e.ekj("mat-chip-list-disabled",i.disabled)("mat-chip-list-invalid",i.errorState)("mat-chip-list-required",i.required))},inputs:{role:"role",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],errorStateMatcher:"errorStateMatcher",multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",tabIndex:"tabIndex"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[e._Bn([{provide:Rt.Eo,useExisting:n}]),e.qOj],ngContentSelectors:ga,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(t,i){1&t&&(e.F$t(),e.TgZ(0,"div",0),e.Hsn(1),e.qZA())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-chip::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}.mat-standard-chip._mat-animation-noopable{transition:none !important;animation:none !important}.mat-standard-chip .mat-chip-remove{border:none;-webkit-appearance:none;-moz-appearance:none;padding:0;background:none}.mat-standard-chip .mat-chip-remove.mat-icon,.mat-standard-chip .mat-chip-remove .mat-icon{width:18px;height:18px;font-size:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip.mat-chip-selected{outline-width:3px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden;transform:translateZ(0)}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}'],encapsulation:2,changeDetection:0}),n})(),rs=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[b.rD,{provide:Fr,useValue:{separatorKeyCodes:[tt.K5]}}],imports:[b.BQ]}),n})();var Nn=C(9071),Ta=C(727),Mo=C(9300),an=C(8833);const sc=["mat-calendar-body",""];function Ks(n,o){if(1&n&&(e.TgZ(0,"tr",2)(1,"td",3),e._uU(2),e.qZA()()),2&n){const t=e.oxw();e.xp6(1),e.Udp("padding-top",t._cellPadding)("padding-bottom",t._cellPadding),e.uIk("colspan",t.numCols),e.xp6(1),e.hij(" ",t.label," ")}}function Ms(n,o){if(1&n&&(e.TgZ(0,"td",3),e._uU(1),e.qZA()),2&n){const t=e.oxw(2);e.Udp("padding-top",t._cellPadding)("padding-bottom",t._cellPadding),e.uIk("colspan",t._firstRowOffset),e.xp6(1),e.hij(" ",t._firstRowOffset>=t.labelMinRequiredCells?t.label:""," ")}}function js(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"td",7)(1,"button",8),e.NdJ("click",function(a){const h=e.CHM(t).$implicit,E=e.oxw(2);return e.KtG(E._cellClicked(h,a))})("focus",function(a){const h=e.CHM(t).$implicit,E=e.oxw(2);return e.KtG(E._emitActiveDateChange(h,a))}),e.TgZ(2,"div",9),e._uU(3),e.qZA(),e._UZ(4,"div",10),e.qZA()()}if(2&n){const t=o.$implicit,i=o.index,a=e.oxw().index,l=e.oxw();e.Udp("width",l._cellWidth)("padding-top",l._cellPadding)("padding-bottom",l._cellPadding),e.uIk("data-mat-row",a)("data-mat-col",i),e.xp6(1),e.ekj("mat-calendar-body-disabled",!t.enabled)("mat-calendar-body-active",l._isActiveCell(a,i))("mat-calendar-body-range-start",l._isRangeStart(t.compareValue))("mat-calendar-body-range-end",l._isRangeEnd(t.compareValue))("mat-calendar-body-in-range",l._isInRange(t.compareValue))("mat-calendar-body-comparison-bridge-start",l._isComparisonBridgeStart(t.compareValue,a,i))("mat-calendar-body-comparison-bridge-end",l._isComparisonBridgeEnd(t.compareValue,a,i))("mat-calendar-body-comparison-start",l._isComparisonStart(t.compareValue))("mat-calendar-body-comparison-end",l._isComparisonEnd(t.compareValue))("mat-calendar-body-in-comparison-range",l._isInComparisonRange(t.compareValue))("mat-calendar-body-preview-start",l._isPreviewStart(t.compareValue))("mat-calendar-body-preview-end",l._isPreviewEnd(t.compareValue))("mat-calendar-body-in-preview",l._isInPreview(t.compareValue)),e.Q6J("ngClass",t.cssClasses)("tabindex",l._isActiveCell(a,i)?0:-1),e.uIk("aria-label",t.ariaLabel)("aria-disabled",!t.enabled||null)("aria-pressed",l._isSelected(t.compareValue))("aria-current",l.todayValue===t.compareValue?"date":null),e.xp6(1),e.ekj("mat-calendar-body-selected",l._isSelected(t.compareValue))("mat-calendar-body-comparison-identical",l._isComparisonIdentical(t.compareValue))("mat-calendar-body-today",l.todayValue===t.compareValue),e.xp6(1),e.hij(" ",t.displayValue," ")}}function Do(n,o){if(1&n&&(e.TgZ(0,"tr",4),e.YNc(1,Ms,2,6,"td",5),e.YNc(2,js,5,47,"td",6),e.qZA()),2&n){const t=o.$implicit,i=o.index,a=e.oxw();e.xp6(1),e.Q6J("ngIf",0===i&&a._firstRowOffset),e.xp6(1),e.Q6J("ngForOf",t)}}function Ur(n,o){if(1&n&&(e.TgZ(0,"th",5)(1,"span",6),e._uU(2),e.qZA(),e.TgZ(3,"span",7),e._uU(4),e.qZA()()),2&n){const t=o.$implicit;e.xp6(2),e.Oqu(t.long),e.xp6(2),e.Oqu(t.narrow)}}const Ws=["*"];function qs(n,o){}function Zr(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-month-view",5),e.NdJ("activeDateChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.activeDate=a)})("_userSelection",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l._dateSelected(a))}),e.qZA()}if(2&n){const t=e.oxw();e.Q6J("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)("comparisonStart",t.comparisonStart)("comparisonEnd",t.comparisonEnd)}}function $o(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-year-view",6),e.NdJ("activeDateChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.activeDate=a)})("monthSelected",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l._monthSelectedInYearView(a))})("selectedChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l._goToDateInView(a,"month"))}),e.qZA()}if(2&n){const t=e.oxw();e.Q6J("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)}}function cr(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-multi-year-view",7),e.NdJ("activeDateChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.activeDate=a)})("yearSelected",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l._yearSelectedInMultiYearView(a))})("selectedChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l._goToDateInView(a,"year"))}),e.qZA()}if(2&n){const t=e.oxw();e.Q6J("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)}}function lc(n,o){}const Tr=["button"];function Xa(n,o){1&n&&(e.O4$(),e.TgZ(0,"svg",3),e._UZ(1,"path",4),e.qZA())}const Uo=[[["","matDatepickerToggleIcon",""]]],ss=["[matDatepickerToggleIcon]"];class Ha{constructor(o,t,i,a,l={},h=o,E){this.value=o,this.displayValue=t,this.ariaLabel=i,this.enabled=a,this.cssClasses=l,this.compareValue=h,this.rawValue=E}}let zo=(()=>{class n{constructor(t,i){this._elementRef=t,this._ngZone=i,this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new e.vpe,this.previewChange=new e.vpe,this.activeDateChange=new e.vpe,this._enterHandler=a=>{if(this._skipNextFocus&&"focus"===a.type)this._skipNextFocus=!1;else if(a.target&&this.isRange){const l=this._getCellFromElement(a.target);l&&this._ngZone.run(()=>this.previewChange.emit({value:l.enabled?l:null,event:a}))}},this._leaveHandler=a=>{null!==this.previewEnd&&this.isRange&&a.target&&this._getCellFromElement(a.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:a}))},i.runOutsideAngular(()=>{const a=t.nativeElement;a.addEventListener("mouseenter",this._enterHandler,!0),a.addEventListener("focus",this._enterHandler,!0),a.addEventListener("mouseleave",this._leaveHandler,!0),a.addEventListener("blur",this._leaveHandler,!0)})}ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}_cellClicked(t,i){t.enabled&&this.selectedValueChange.emit({value:t.value,event:i})}_emitActiveDateChange(t,i){t.enabled&&this.activeDateChange.emit({value:t.value,event:i})}_isSelected(t){return this.startValue===t||this.endValue===t}ngOnChanges(t){const i=t.numCols,{rows:a,numCols:l}=this;(t.rows||i)&&(this._firstRowOffset=a&&a.length&&a[0].length?l-a[0].length:0),(t.cellAspectRatio||i||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/l+"%"),(i||!this._cellWidth)&&(this._cellWidth=100/l+"%")}ngOnDestroy(){const t=this._elementRef.nativeElement;t.removeEventListener("mouseenter",this._enterHandler,!0),t.removeEventListener("focus",this._enterHandler,!0),t.removeEventListener("mouseleave",this._leaveHandler,!0),t.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(t,i){let a=t*this.numCols+i;return t&&(a-=this._firstRowOffset),a==this.activeCell}_focusActiveCell(t=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,yn.q)(1)).subscribe(()=>{setTimeout(()=>{const i=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");i&&(t||(this._skipNextFocus=!0),i.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(t){return Dr(t,this.startValue,this.endValue)}_isRangeEnd(t){return Ds(t,this.startValue,this.endValue)}_isInRange(t){return La(t,this.startValue,this.endValue,this.isRange)}_isComparisonStart(t){return Dr(t,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(t,i,a){if(!this._isComparisonStart(t)||this._isRangeStart(t)||!this._isInRange(t))return!1;let l=this.rows[i][a-1];if(!l){const h=this.rows[i-1];l=h&&h[h.length-1]}return l&&!this._isRangeEnd(l.compareValue)}_isComparisonBridgeEnd(t,i,a){if(!this._isComparisonEnd(t)||this._isRangeEnd(t)||!this._isInRange(t))return!1;let l=this.rows[i][a+1];if(!l){const h=this.rows[i+1];l=h&&h[0]}return l&&!this._isRangeStart(l.compareValue)}_isComparisonEnd(t){return Ds(t,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(t){return La(t,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(t){return this.comparisonStart===this.comparisonEnd&&t===this.comparisonStart}_isPreviewStart(t){return Dr(t,this.previewStart,this.previewEnd)}_isPreviewEnd(t){return Ds(t,this.previewStart,this.previewEnd)}_isInPreview(t){return La(t,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(t){let i;if(Jr(t)?i=t:Jr(t.parentNode)&&(i=t.parentNode),i){const a=i.getAttribute("data-mat-row"),l=i.getAttribute("data-mat-col");if(a&&l)return this.rows[parseInt(a)][parseInt(l)]}return null}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(e.R0b))},n.\u0275cmp=e.Xpm({type:n,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange"},exportAs:["matCalendarBody"],features:[e.TTD],attrs:sc,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click","focus"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(t,i){1&t&&(e.YNc(0,Ks,3,6,"tr",0),e.YNc(1,Do,3,2,"tr",1)),2&t&&(e.Q6J("ngIf",i._firstRowOffset=o&&n===t}function La(n,o,t,i){return i&&null!==o&&null!==t&&o!==t&&n>=o&&n<=t}class Pa{constructor(o,t){this.start=o,this.end=t}}let dr=(()=>{class n{constructor(t,i){this.selection=t,this._adapter=i,this._selectionChanged=new Ye.x,this.selectionChanged=this._selectionChanged,this.selection=t}updateSelection(t,i){const a=this.selection;this.selection=t,this._selectionChanged.next({selection:t,source:i,oldValue:a})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(t){return this._adapter.isDateInstance(t)&&this._adapter.isValid(t)}}return n.\u0275fac=function(t){e.$Z()},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})(),Yr=(()=>{class n extends dr{constructor(t){super(null,t)}add(t){super.updateSelection(t,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const t=new n(this._adapter);return t.updateSelection(this.selection,this),t}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(b._A))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})();const Hn={provide:dr,deps:[[new e.FiY,new e.tp0,dr],b._A],useFactory:function na(n,o){return n||new Yr(o)}},ur=new e.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let In=(()=>{class n{constructor(t,i,a,l,h){this._changeDetectorRef=t,this._dateFormats=i,this._dateAdapter=a,this._dir=l,this._rangeStrategy=h,this._rerenderSubscription=Ta.w0.EMPTY,this.selectedChange=new e.vpe,this._userSelection=new e.vpe,this.activeDateChange=new e.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){const i=this._activeDate,a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(a,this.minDate,this.maxDate),this._hasSameMonthAndYear(i,this._activeDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof Pa?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,mt.O)(null)).subscribe(()=>this._init())}ngOnChanges(t){const i=t.comparisonStart||t.comparisonEnd;i&&!i.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(t){const i=t.value,a=this._getDateFromDayOfMonth(i);let l,h;this._selected instanceof Pa?(l=this._getDateInCurrentMonth(this._selected.start),h=this._getDateInCurrentMonth(this._selected.end)):l=h=this._getDateInCurrentMonth(this._selected),(l!==i||h!==i)&&this.selectedChange.emit(a),this._userSelection.emit({value:a,event:t.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_updateActiveDate(t){const a=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(t.value),this._dateAdapter.compareDate(a,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(t){const i=this._activeDate,a=this._isRtl();switch(t.keyCode){case tt.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,a?1:-1);break;case tt.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,a?-1:1);break;case tt.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case tt.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case tt.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case tt.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case tt.Ku:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case tt.VM:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case tt.K5:case tt.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&t.preventDefault());case tt.hY:return void(null!=this._previewEnd&&!(0,tt.Vb)(t)&&(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:t}),t.preventDefault(),t.stopPropagation()));default:return}this._dateAdapter.compareDate(i,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),t.preventDefault()}_handleCalendarBodyKeyup(t){(t.keyCode===tt.L_||t.keyCode===tt.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:t}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(t)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(t){this._matCalendarBody._focusActiveCell(t)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:t,value:i}){if(this._rangeStrategy){const l=this._rangeStrategy.createPreview(i?i.rawValue:null,this.selected,t);this._previewStart=this._getCellCompareValue(l.start),this._previewEnd=this._getCellCompareValue(l.end),this._changeDetectorRef.detectChanges()}}_getDateFromDayOfMonth(t){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),t)}_initWeekdays(){const t=this._dateAdapter.getFirstDayOfWeek(),i=this._dateAdapter.getDayOfWeekNames("narrow");let l=this._dateAdapter.getDayOfWeekNames("long").map((h,E)=>({long:h,narrow:i[E]}));this._weekdays=l.slice(t).concat(l.slice(0,t))}_createWeekCells(){const t=this._dateAdapter.getNumDaysInMonth(this.activeDate),i=this._dateAdapter.getDateNames();this._weeks=[[]];for(let a=0,l=this._firstWeekOffset;a=0)&&(!this.maxDate||this._dateAdapter.compareDate(t,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(t))}_getDateInCurrentMonth(t){return t&&this._hasSameMonthAndYear(t,this.activeDate)?this._dateAdapter.getDate(t):null}_hasSameMonthAndYear(t,i){return!(!t||!i||this._dateAdapter.getMonth(t)!=this._dateAdapter.getMonth(i)||this._dateAdapter.getYear(t)!=this._dateAdapter.getYear(i))}_getCellCompareValue(t){if(t){const i=this._dateAdapter.getYear(t),a=this._dateAdapter.getMonth(t),l=this._dateAdapter.getDate(t);return new Date(i,a,l).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(t){t instanceof Pa?(this._rangeStart=this._getCellCompareValue(t.start),this._rangeEnd=this._getCellCompareValue(t.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(t),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(t){return!this.dateFilter||this.dateFilter(t)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.sBO),e.Y36(b.sG,8),e.Y36(b._A,8),e.Y36(ke.Is,8),e.Y36(ur,8))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-month-view"]],viewQuery:function(t,i){if(1&t&&e.Gf(zo,5),2&t){let a;e.iGM(a=e.CRH())&&(i._matCalendarBody=a.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[e.TTD],decls:7,vars:13,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","activeDateChange","previewChange","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(t,i){1&t&&(e.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),e.YNc(3,Ur,5,2,"th",2),e.qZA(),e.TgZ(4,"tr"),e._UZ(5,"th",3),e.qZA()(),e.TgZ(6,"tbody",4),e.NdJ("selectedValueChange",function(l){return i._dateSelected(l)})("activeDateChange",function(l){return i._updateActiveDate(l)})("previewChange",function(l){return i._previewChanged(l)})("keyup",function(l){return i._handleCalendarBodyKeyup(l)})("keydown",function(l){return i._handleCalendarBodyKeydown(l)}),e.qZA()()),2&t&&(e.xp6(3),e.Q6J("ngForOf",i._weekdays),e.xp6(3),e.Q6J("label",i._monthLabel)("rows",i._weeks)("todayValue",i._todayDate)("startValue",i._rangeStart)("endValue",i._rangeEnd)("comparisonStart",i._comparisonRangeStart)("comparisonEnd",i._comparisonRangeEnd)("previewStart",i._previewStart)("previewEnd",i._previewEnd)("isRange",i._isRange)("labelMinRequiredCells",3)("activeCell",i._dateAdapter.getDate(i.activeDate)-1))},dependencies:[_e.sg,zo],encapsulation:2,changeDetection:0}),n})(),Nl=(()=>{class n{constructor(t,i,a){this._changeDetectorRef=t,this._dateAdapter=i,this._dir=a,this._rerenderSubscription=Ta.w0.EMPTY,this.selectedChange=new e.vpe,this.yearSelected=new e.vpe,this.activeDateChange=new e.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let i=this._activeDate;const a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(a,this.minDate,this.maxDate),to(this._dateAdapter,i,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof Pa?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedYear(t)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,mt.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const i=this._dateAdapter.getYear(this._activeDate)-Ra(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let a=0,l=[];a<24;a++)l.push(i+a),4==l.length&&(this._years.push(l.map(h=>this._createCellForYear(h))),l=[]);this._changeDetectorRef.markForCheck()}_yearSelected(t){const i=t.value,a=this._dateAdapter.createDate(i,0,1),l=this._getDateFromYear(i);this.yearSelected.emit(a),this.selectedChange.emit(l)}_updateActiveDate(t){const a=this._activeDate;this.activeDate=this._getDateFromYear(t.value),this._dateAdapter.compareDate(a,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(t){const i=this._activeDate,a=this._isRtl();switch(t.keyCode){case tt.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,a?1:-1);break;case tt.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,a?-1:1);break;case tt.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case tt.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case tt.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Ra(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case tt.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-Ra(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case tt.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-240:-24);break;case tt.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?240:24);break;case tt.K5:case tt.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(i,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),t.preventDefault()}_handleCalendarBodyKeyup(t){(t.keyCode===tt.L_||t.keyCode===tt.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:t}),this._selectionKeyPressed=!1)}_getActiveCell(){return Ra(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(t){const i=this._dateAdapter.getMonth(this.activeDate),a=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(t,i,1));return this._dateAdapter.createDate(t,i,Math.min(this._dateAdapter.getDate(this.activeDate),a))}_createCellForYear(t){const i=this._dateAdapter.createDate(t,0,1),a=this._dateAdapter.getYearName(i),l=this.dateClass?this.dateClass(i,"multi-year"):void 0;return new Ha(t,a,a,this._shouldEnableYear(t),l)}_shouldEnableYear(t){if(null==t||this.maxDate&&t>this._dateAdapter.getYear(this.maxDate)||this.minDate&&t{class n{constructor(t,i,a,l){this._changeDetectorRef=t,this._dateFormats=i,this._dateAdapter=a,this._dir=l,this._rerenderSubscription=Ta.w0.EMPTY,this.selectedChange=new e.vpe,this.monthSelected=new e.vpe,this.activeDateChange=new e.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let i=this._activeDate;const a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(a,this.minDate,this.maxDate),this._dateAdapter.getYear(i)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof Pa?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedMonth(t)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,mt.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(t){const i=t.value,a=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),i,1);this.monthSelected.emit(a);const l=this._getDateFromMonth(i);this.selectedChange.emit(l)}_updateActiveDate(t){const a=this._activeDate;this.activeDate=this._getDateFromMonth(t.value),this._dateAdapter.compareDate(a,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(t){const i=this._activeDate,a=this._isRtl();switch(t.keyCode){case tt.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,a?1:-1);break;case tt.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,a?-1:1);break;case tt.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case tt.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case tt.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case tt.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case tt.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-10:-1);break;case tt.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?10:1);break;case tt.K5:case tt.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(i,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),t.preventDefault()}_handleCalendarBodyKeyup(t){(t.keyCode===tt.L_||t.keyCode===tt.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:t}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let t=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(i=>i.map(a=>this._createCellForMonth(a,t[a]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(t){return t&&this._dateAdapter.getYear(t)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(t):null}_getDateFromMonth(t){const i=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),a=this._dateAdapter.getNumDaysInMonth(i);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,Math.min(this._dateAdapter.getDate(this.activeDate),a))}_createCellForMonth(t,i){const a=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),l=this._dateAdapter.format(a,this._dateFormats.display.monthYearA11yLabel),h=this.dateClass?this.dateClass(a,"year"):void 0;return new Ha(t,i.toLocaleUpperCase(),l,this._shouldEnableMonth(t),h)}_shouldEnableMonth(t){const i=this._dateAdapter.getYear(this.activeDate);if(null==t||this._isYearAndMonthAfterMaxDate(i,t)||this._isYearAndMonthBeforeMinDate(i,t))return!1;if(!this.dateFilter)return!0;for(let l=this._dateAdapter.createDate(i,t,1);this._dateAdapter.getMonth(l)==t;l=this._dateAdapter.addCalendarDays(l,1))if(this.dateFilter(l))return!0;return!1}_isYearAndMonthAfterMaxDate(t,i){if(this.maxDate){const a=this._dateAdapter.getYear(this.maxDate),l=this._dateAdapter.getMonth(this.maxDate);return t>a||t===a&&i>l}return!1}_isYearAndMonthBeforeMinDate(t,i){if(this.minDate){const a=this._dateAdapter.getYear(this.minDate),l=this._dateAdapter.getMonth(this.minDate);return t{class n{constructor(){this.changes=new Ye.x,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(t,i){return`${t} \u2013 ${i}`}formatYearRangeLabel(t,i){return`${t} to ${i}`}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ws=0,_r=(()=>{class n{constructor(t,i,a,l,h){this._intl=t,this.calendar=i,this._dateAdapter=a,this._dateFormats=l,this._buttonDescriptionId="mat-calendar-button-"+ws++,this.calendar.stateChanges.subscribe(()=>h.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const i=this._dateAdapter.getYear(this.calendar.activeDate)-Ra(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),a=i+24-1,l=this._dateAdapter.getYearName(this._dateAdapter.createDate(i,0,1)),h=this._dateAdapter.getYearName(this._dateAdapter.createDate(a,0,1));return this._intl.formatYearRange(l,h)}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(t,i){return"month"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(i)&&this._dateAdapter.getMonth(t)==this._dateAdapter.getMonth(i):"year"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(i):to(this._dateAdapter,t,i,this.calendar.minDate,this.calendar.maxDate)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Es),e.Y36((0,e.Gpc)(()=>Er)),e.Y36(b._A,8),e.Y36(b.sG,8),e.Y36(e.sBO))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:Ws,decls:11,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["viewBox","0 0 10 5","focusable","false",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(t,i){1&t&&(e.F$t(),e.TgZ(0,"div",0)(1,"div",1)(2,"button",2),e.NdJ("click",function(){return i.currentPeriodClicked()}),e.TgZ(3,"span"),e._uU(4),e.qZA(),e.O4$(),e.TgZ(5,"svg",3),e._UZ(6,"polygon",4),e.qZA()(),e.kcU(),e._UZ(7,"div",5),e.Hsn(8),e.TgZ(9,"button",6),e.NdJ("click",function(){return i.previousClicked()}),e.qZA(),e.TgZ(10,"button",7),e.NdJ("click",function(){return i.nextClicked()}),e.qZA()()()),2&t&&(e.xp6(2),e.uIk("aria-label",i.periodButtonLabel)("aria-describedby",i._buttonDescriptionId),e.xp6(1),e.uIk("id",i._buttonDescriptionId),e.xp6(1),e.Oqu(i.periodButtonText),e.xp6(1),e.ekj("mat-calendar-invert","month"!==i.calendar.currentView),e.xp6(4),e.Q6J("disabled",!i.previousEnabled()),e.uIk("aria-label",i.prevButtonLabel),e.xp6(1),e.Q6J("disabled",!i.nextEnabled()),e.uIk("aria-label",i.nextButtonLabel))},dependencies:[Y.lW],encapsulation:2,changeDetection:0}),n})(),Er=(()=>{class n{constructor(t,i,a,l){this._dateAdapter=i,this._dateFormats=a,this._changeDetectorRef=l,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new e.vpe,this.yearSelected=new e.vpe,this.monthSelected=new e.vpe,this.viewChanged=new e.vpe(!0),this._userSelection=new e.vpe,this.stateChanges=new Ye.x,this._intlChanges=t.changes.subscribe(()=>{l.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get selected(){return this._selected}set selected(t){this._selected=t instanceof Pa?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get activeDate(){return this._clampedActiveDate}set activeDate(t){this._clampedActiveDate=this._dateAdapter.clampDate(t,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(t){const i=this._currentView!==t?t:null;this._currentView=t,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),i&&this.viewChanged.emit(i)}ngAfterContentInit(){this._calendarHeaderPortal=new at.C5(this.headerComponent||_r),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(t){const i=t.minDate&&!this._dateAdapter.sameDate(t.minDate.previousValue,t.minDate.currentValue)?t.minDate:void 0,a=t.maxDate&&!this._dateAdapter.sameDate(t.maxDate.previousValue,t.maxDate.currentValue)?t.maxDate:void 0,l=i||a||t.dateFilter;if(l&&!l.firstChange){const h=this._getCurrentViewComponent();h&&(this._changeDetectorRef.detectChanges(),h._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(t){const i=t.value;(this.selected instanceof Pa||i&&!this._dateAdapter.sameDate(i,this.selected))&&this.selectedChange.emit(i),this._userSelection.emit(t)}_yearSelectedInMultiYearView(t){this.yearSelected.emit(t)}_monthSelectedInYearView(t){this.monthSelected.emit(t)}_goToDateInView(t,i){this.activeDate=t,this.currentView=i}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Es),e.Y36(b._A,8),e.Y36(b.sG,8),e.Y36(e.sBO))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-calendar"]],viewQuery:function(t,i){if(1&t&&(e.Gf(In,5),e.Gf(Xo,5),e.Gf(Nl,5)),2&t){let a;e.iGM(a=e.CRH())&&(i.monthView=a.first),e.iGM(a=e.CRH())&&(i.yearView=a.first),e.iGM(a=e.CRH())&&(i.multiYearView=a.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[e._Bn([Hn]),e.TTD],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(t,i){1&t&&(e.YNc(0,qs,0,0,"ng-template",0),e.TgZ(1,"div",1),e.YNc(2,Zr,1,8,"mat-month-view",2),e.YNc(3,$o,1,6,"mat-year-view",3),e.YNc(4,cr,1,6,"mat-multi-year-view",4),e.qZA()),2&t&&(e.Q6J("cdkPortalOutlet",i._calendarHeaderPortal),e.xp6(1),e.Q6J("ngSwitch",i.currentView),e.xp6(1),e.Q6J("ngSwitchCase","month"),e.xp6(1),e.Q6J("ngSwitchCase","year"),e.xp6(1),e.Q6J("ngSwitchCase","multi-year"))},dependencies:[_e.RF,_e.n9,Ge.kH,at.Pl,In,Xo,Nl],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),n})();const Eo={transformPanel:(0,ne.X$)("transformPanel",[(0,ne.eR)("void => enter-dropdown",(0,ne.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ne.F4)([(0,ne.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,ne.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,ne.eR)("void => enter-dialog",(0,ne.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,ne.F4)([(0,ne.oB)({opacity:0,transform:"scale(0.7)"}),(0,ne.oB)({transform:"none",opacity:1})]))),(0,ne.eR)("* => void",(0,ne.jt)("100ms linear",(0,ne.oB)({opacity:0})))]),fadeInCalendar:(0,ne.X$)("fadeInCalendar",[(0,ne.SB)("void",(0,ne.oB)({opacity:0})),(0,ne.SB)("enter",(0,ne.oB)({opacity:1})),(0,ne.eR)("void => *",(0,ne.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let Qr=0;const wr=new e.OlP("mat-datepicker-scroll-strategy"),Tn={provide:wr,deps:[xt.aV],useFactory:function Qt(n){return()=>n.scrollStrategies.reposition()}},er=(0,b.pj)(class{constructor(n){this._elementRef=n}});let pr=(()=>{class n extends er{constructor(t,i,a,l,h,E){super(t),this._changeDetectorRef=i,this._globalModel=a,this._dateAdapter=l,this._rangeSelectionStrategy=h,this._subscriptions=new Ta.w0,this._animationDone=new Ye.x,this._actionsPortal=null,this._closeButtonText=E.closeCalendarLabel}ngOnInit(){this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(t){const i=this._model.selection,a=t.value,l=i instanceof Pa;if(l&&this._rangeSelectionStrategy){const h=this._rangeSelectionStrategy.selectionFinished(a,i,t.event);this._model.updateSelection(h,this)}else a&&(l||!this._dateAdapter.sameDate(a,i))&&this._model.add(a);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(t,i){this._model=t?this._globalModel.clone():this._globalModel,this._actionsPortal=t,i&&this._changeDetectorRef.detectChanges()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(dr),e.Y36(b._A),e.Y36(ur,8),e.Y36(Es))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-datepicker-content"]],viewQuery:function(t,i){if(1&t&&e.Gf(Er,5),2&t){let a;e.iGM(a=e.CRH())&&(i._calendar=a.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(t,i){1&t&&e.WFA("@transformPanel.done",function(){return i._animationDone.next()}),2&t&&(e.d8E("@transformPanel",i._animationState),e.ekj("mat-datepicker-content-touch",i.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[e.qOj],decls:5,vars:24,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","yearSelected","monthSelected","viewChanged","_userSelection"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(t,i){if(1&t&&(e.TgZ(0,"div",0)(1,"mat-calendar",1),e.NdJ("yearSelected",function(l){return i.datepicker._selectYear(l)})("monthSelected",function(l){return i.datepicker._selectMonth(l)})("viewChanged",function(l){return i.datepicker._viewChanged(l)})("_userSelection",function(l){return i._handleUserSelection(l)}),e.qZA(),e.YNc(2,lc,0,0,"ng-template",2),e.TgZ(3,"button",3),e.NdJ("focus",function(){return i._closeButtonFocused=!0})("blur",function(){return i._closeButtonFocused=!1})("click",function(){return i.datepicker.close()}),e._uU(4),e.qZA()()),2&t){let a;e.ekj("mat-datepicker-content-container-with-custom-header",i.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",i._actionsPortal),e.uIk("aria-modal",!0)("aria-labelledby",null!==(a=i._dialogLabelId)&&void 0!==a?a:void 0),e.xp6(1),e.Q6J("id",i.datepicker.id)("ngClass",i.datepicker.panelClass)("startAt",i.datepicker.startAt)("startView",i.datepicker.startView)("minDate",i.datepicker._getMinDate())("maxDate",i.datepicker._getMaxDate())("dateFilter",i.datepicker._getDateFilter())("headerComponent",i.datepicker.calendarHeaderComponent)("selected",i._getSelected())("dateClass",i.datepicker.dateClass)("comparisonStart",i.comparisonStart)("comparisonEnd",i.comparisonEnd)("@fadeInCalendar","enter"),e.xp6(1),e.Q6J("cdkPortalOutlet",i._actionsPortal),e.xp6(1),e.ekj("cdk-visually-hidden",!i._closeButtonFocused),e.Q6J("color",i.color||"primary"),e.xp6(1),e.Oqu(i._closeButtonText)}},dependencies:[_e.mk,Y.lW,Ge.mK,at.Pl,Er],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}"],encapsulation:2,data:{animation:[Eo.transformPanel,Eo.fadeInCalendar]},changeDetection:0}),n})(),Ma=(()=>{class n{constructor(t,i,a,l,h,E,N){this._overlay=t,this._ngZone=i,this._viewContainerRef=a,this._dateAdapter=h,this._dir=E,this._model=N,this._inputStateChanges=Ta.w0.EMPTY,this._document=(0,e.f3M)(_e.K0),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new e.vpe,this.monthSelected=new e.vpe,this.viewChanged=new e.vpe(!0),this.openedStream=new e.vpe,this.closedStream=new e.vpe,this._opened=!1,this.id="mat-datepicker-"+Qr++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new Ye.x,this._scrollStrategy=l}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(t){this._color=t}get touchUi(){return this._touchUi}set touchUi(t){this._touchUi=(0,le.Ig)(t)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(t){const i=(0,le.Ig)(t);i!==this._disabled&&(this._disabled=i,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(t){this._restoreFocus=(0,le.Ig)(t)}get panelClass(){return this._panelClass}set panelClass(t){this._panelClass=(0,le.du)(t)}get opened(){return this._opened}set opened(t){(0,le.Ig)(t)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}ngOnChanges(t){const i=t.xPosition||t.yPosition;if(i&&!i.firstChange&&this._overlayRef){const a=this._overlayRef.getConfig().positionStrategy;a instanceof xt._G&&(this._setConnectedPositions(a),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(t){this._model.add(t)}_selectYear(t){this.yearSelected.emit(t)}_selectMonth(t){this.monthSelected.emit(t)}_viewChanged(t){this.viewChanged.emit(t)}registerInput(t){return this._inputStateChanges.unsubscribe(),this.datepickerInput=t,this._inputStateChanges=t.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(t){var i;this._actionsPortal=t,null===(i=this._componentRef)||void 0===i||i.instance._assignActions(t,!0)}removeActions(t){var i;t===this._actionsPortal&&(this._actionsPortal=null,null===(i=this._componentRef)||void 0===i||i.instance._assignActions(null,!0))}open(){this._opened||this.disabled||(this._focusedElementBeforeOpen=(0,Le.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened)return;const t=this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,i=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:a,location:l}=this._componentRef;a._startExitAnimation(),a._animationDone.pipe((0,yn.q)(1)).subscribe(()=>{const h=this._document.activeElement;t&&(!h||h===this._document.activeElement||l.nativeElement.contains(h))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}t?setTimeout(i):i()}_applyPendingSelection(){var t,i;null===(i=null===(t=this._componentRef)||void 0===t?void 0:t.instance)||void 0===i||i._applyPendingSelection()}_forwardContentValues(t){t.datepicker=this,t.color=this.color,t._dialogLabelId=this.datepickerInput.getOverlayLabelId(),t._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const t=this.touchUi,i=new at.C5(pr,this._viewContainerRef),a=this._overlayRef=this._overlay.create(new xt.X_({positionStrategy:t?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[t?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:t?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(t?"dialog":"popup")}));this._getCloseStream(a).subscribe(l=>{l&&l.preventDefault(),this.close()}),a.keydownEvents().subscribe(l=>{const h=l.keyCode;(h===tt.LH||h===tt.JH||h===tt.oh||h===tt.SV||h===tt.Ku||h===tt.VM)&&l.preventDefault()}),this._componentRef=a.attach(i),this._forwardContentValues(this._componentRef.instance),t||this._ngZone.onStable.pipe((0,yn.q)(1)).subscribe(()=>a.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const t=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(t)}_setConnectedPositions(t){const i="end"===this.xPosition?"end":"start",a="start"===i?"end":"start",l="above"===this.yPosition?"bottom":"top",h="top"===l?"bottom":"top";return t.withPositions([{originX:i,originY:h,overlayX:i,overlayY:l},{originX:i,originY:l,overlayX:i,overlayY:h},{originX:a,originY:h,overlayX:a,overlayY:l},{originX:a,originY:l,overlayX:a,overlayY:h}])}_getCloseStream(t){return(0,ma.T)(t.backdropClick(),t.detachments(),t.keydownEvents().pipe((0,Mo.h)(i=>i.keyCode===tt.hY&&!(0,tt.Vb)(i)||this.datepickerInput&&(0,tt.Vb)(i,"altKey")&&i.keyCode===tt.LH)))}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(xt.aV),e.Y36(e.R0b),e.Y36(e.s_b),e.Y36(wr),e.Y36(b._A,8),e.Y36(ke.Is,8),e.Y36(dr))},n.\u0275dir=e.lG2({type:n,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[e.TTD]}),n})(),te=(()=>{class n extends Ma{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[e._Bn([Hn,{provide:Ma,useExisting:n}]),e.qOj],decls:0,vars:0,template:function(t,i){},encapsulation:2,changeDetection:0}),n})();class q{constructor(o,t){this.target=o,this.targetElement=t,this.value=this.target.value}}let H=(()=>{class n{constructor(t,i,a){this._elementRef=t,this._dateAdapter=i,this._dateFormats=a,this.dateChange=new e.vpe,this.dateInput=new e.vpe,this.stateChanges=new Ye.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=Ta.w0.EMPTY,this._localeSubscription=Ta.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=l=>{const h=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(l.value));return!h||this._matchesFilter(h)?null:{matDatepickerFilter:!0}},this._minValidator=l=>{const h=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(l.value)),E=this._getMinDate();return!E||!h||this._dateAdapter.compareDate(E,h)<=0?null:{matDatepickerMin:{min:E,actual:h}}},this._maxValidator=l=>{const h=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(l.value)),E=this._getMaxDate();return!E||!h||this._dateAdapter.compareDate(E,h)>=0?null:{matDatepickerMax:{max:E,actual:h}}},this._lastValueValid=!1,this._localeSubscription=i.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(t){this._assignValueProgrammatically(t)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(t){const i=(0,le.Ig)(t),a=this._elementRef.nativeElement;this._disabled!==i&&(this._disabled=i,this.stateChanges.next(void 0)),i&&this._isInitialized&&a.blur&&a.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(t){this._model=t,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(i=>{if(this._shouldHandleChangeEvent(i)){const a=this._getValueFromModel(i.selection);this._lastValueValid=this._isValidValue(a),this._cvaOnChange(a),this._onTouched(),this._formatValue(a),this.dateInput.emit(new q(this,this._elementRef.nativeElement)),this.dateChange.emit(new q(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(t){(function Ce(n,o){const t=Object.keys(n);for(let i of t){const{previousValue:a,currentValue:l}=n[i];if(!o.isDateInstance(a)||!o.isDateInstance(l))return!0;if(!o.sameDate(a,l))return!0}return!1})(t,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(t){this._validatorOnChange=t}validate(t){return this._validator?this._validator(t):null}writeValue(t){this._assignValueProgrammatically(t)}registerOnChange(t){this._cvaOnChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_onKeydown(t){t.altKey&&t.keyCode===tt.JH&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),t.preventDefault())}_onInput(t){const i=this._lastValueValid;let a=this._dateAdapter.parse(t,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(a),a=this._dateAdapter.getValidDateOrNull(a);const l=!this._dateAdapter.sameDate(a,this.value);!a||l?this._cvaOnChange(a):(t&&!this.value&&this._cvaOnChange(a),i!==this._lastValueValid&&this._validatorOnChange()),l&&(this._assignValue(a),this.dateInput.emit(new q(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new q(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(t){this._elementRef.nativeElement.value=null!=t?this._dateAdapter.format(t,this._dateFormats.display.dateInput):""}_assignValue(t){this._model?(this._assignValueToModel(t),this._pendingValue=null):this._pendingValue=t}_isValidValue(t){return!t||this._dateAdapter.isValid(t)}_parentDisabled(){return!1}_assignValueProgrammatically(t){t=this._dateAdapter.deserialize(t),this._lastValueValid=this._isValidValue(t),t=this._dateAdapter.getValidDateOrNull(t),this._assignValue(t),this._formatValue(t)}_matchesFilter(t){const i=this._getDateFilter();return!i||i(t)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(b._A,8),e.Y36(b.sG,8))},n.\u0275dir=e.lG2({type:n,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[e.TTD]}),n})();const Bt={provide:A.JU,useExisting:(0,e.Gpc)(()=>Ea),multi:!0},Ii={provide:A.Cf,useExisting:(0,e.Gpc)(()=>Ea),multi:!0};let Ea=(()=>{class n extends H{constructor(t,i,a,l){super(t,i,a),this._formField=l,this._closedSubscription=Ta.w0.EMPTY,this._validator=A.kI.compose(super._getValidators())}set matDatepicker(t){t&&(this._datepicker=t,this._closedSubscription=t.closedStream.subscribe(()=>this._onTouched()),this._registerModel(t.registerInput(this)))}get min(){return this._min}set min(t){const i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(i,this._min)||(this._min=i,this._validatorOnChange())}get max(){return this._max}set max(t){const i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(i,this._max)||(this._max=i,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(t){const i=this._matchesFilter(this.value);this._dateFilter=t,this._matchesFilter(this.value)!==i&&this._validatorOnChange()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(t){return t}_assignValueToModel(t){this._model&&this._model.updateSelection(t,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(t){return t.source!==this}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(b._A,8),e.Y36(b.sG,8),e.Y36(Rt.G_,8))},n.\u0275dir=e.lG2({type:n,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(t,i){1&t&&e.NdJ("input",function(l){return i._onInput(l.target.value)})("change",function(){return i._onChange()})("blur",function(){return i._onBlur()})("keydown",function(l){return i._onKeydown(l)}),2&t&&(e.Ikx("disabled",i.disabled),e.uIk("aria-haspopup",i._datepicker?"dialog":null)("aria-owns",(null==i._datepicker?null:i._datepicker.opened)&&i._datepicker.id||null)("min",i.min?i._dateAdapter.toIso8601(i.min):null)("max",i.max?i._dateAdapter.toIso8601(i.max):null)("data-mat-calendar",i._datepicker?i._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[e._Bn([Bt,Ii,{provide:an.Jk,useExisting:n}]),e.qOj]}),n})(),Sr=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=e.lG2({type:n,selectors:[["","matDatepickerToggleIcon",""]]}),n})(),mo=(()=>{class n{constructor(t,i,a){this._intl=t,this._changeDetectorRef=i,this._stateChanges=Ta.w0.EMPTY;const l=Number(a);this.tabIndex=l||0===l?l:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(t){this._disabled=(0,le.Ig)(t)}ngOnChanges(t){t.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(t){this.datepicker&&!this.disabled&&(this.datepicker.open(),t.stopPropagation())}_watchStateChanges(){const t=this.datepicker?this.datepicker.stateChanges:(0,ie.of)(),i=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,ie.of)(),a=this.datepicker?(0,ma.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,ie.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,ma.T)(this._intl.changes,t,i,a).subscribe(()=>this._changeDetectorRef.markForCheck())}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Es),e.Y36(e.sBO),e.$8M("tabindex"))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-datepicker-toggle"]],contentQueries:function(t,i,a){if(1&t&&e.Suo(a,Sr,5),2&t){let l;e.iGM(l=e.CRH())&&(i._customIcon=l.first)}},viewQuery:function(t,i){if(1&t&&e.Gf(Tr,5),2&t){let a;e.iGM(a=e.CRH())&&(i._button=a.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(t,i){1&t&&e.NdJ("click",function(l){return i._open(l)}),2&t&&(e.uIk("tabindex",null)("data-mat-calendar",i.datepicker?i.datepicker.id:null),e.ekj("mat-datepicker-toggle-active",i.datepicker&&i.datepicker.opened)("mat-accent",i.datepicker&&"accent"===i.datepicker.color)("mat-warn",i.datepicker&&"warn"===i.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[e.TTD],ngContentSelectors:ss,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(t,i){1&t&&(e.F$t(Uo),e.TgZ(0,"button",0,1),e.YNc(2,Xa,2,0,"svg",2),e.Hsn(3),e.qZA()),2&t&&(e.Q6J("disabled",i.disabled)("disableRipple",i.disableRipple),e.uIk("aria-haspopup",i.datepicker?"dialog":null)("aria-label",i.ariaLabel||i._intl.openCalendarLabel)("tabindex",i.disabled?-1:i.tabIndex),e.xp6(2),e.Q6J("ngIf",!i._customIcon))},dependencies:[_e.O5,Y.lW],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0}),n})(),zs=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[Es,Tn],imports:[_e.ez,Y.ot,xt.U8,Ge.rt,at.eL,b.BQ,Nn.ZD]}),n})();function cs(n,o){}const io={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},no={dialogContainer:(0,ne.X$)("dialogContainer",[(0,ne.SB)("void, exit",(0,ne.oB)({opacity:0,transform:"scale(0.7)"})),(0,ne.SB)("enter",(0,ne.oB)({transform:"none"})),(0,ne.eR)("* => enter",(0,ne.ru)([(0,ne.jt)("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",(0,ne.oB)({transform:"none",opacity:1})),(0,ne.IO)("@*",(0,ne.pV)(),{optional:!0})]),io),(0,ne.eR)("* => void, * => exit",(0,ne.ru)([(0,ne.jt)("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",(0,ne.oB)({opacity:0})),(0,ne.IO)("@*",(0,ne.pV)(),{optional:!0})]),io)])};class hr{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0,this.enterAnimationDuration=io.params.enterAnimationDuration,this.exitAnimationDuration=io.params.exitAnimationDuration}}let Qs=(()=>{class n extends Wt{constructor(t,i,a,l,h,E,N,oe){super(t,i,a,l,h,E,N,oe),this._animationStateChanged=new e.vpe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(t){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(Ge.qV),e.Y36(_e.K0,8),e.Y36(hr),e.Y36(Ge.ic),e.Y36(e.R0b),e.Y36(xt.Iu),e.Y36(Ge.tE))},n.\u0275cmp=e.Xpm({type:n,selectors:[["ng-component"]],features:[e.qOj],decls:0,vars:0,template:function(t,i){},encapsulation:2}),n})(),Zc=(()=>{class n extends Qs{constructor(t,i,a,l,h,E,N,oe,xe){super(t,i,a,l,h,E,N,xe),this._changeDetectorRef=oe,this._state="enter"}_onAnimationDone({toState:t,totalTime:i}){"enter"===t?this._openAnimationDone(i):"exit"===t&&this._animationStateChanged.next({state:"closed",totalTime:i})}_onAnimationStart({toState:t,totalTime:i}){"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:i}):("exit"===t||"void"===t)&&this._animationStateChanged.next({state:"closing",totalTime:i})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||io.params.enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||io.params.exitAnimationDuration}}}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(Ge.qV),e.Y36(_e.K0,8),e.Y36(hr),e.Y36(Ge.ic),e.Y36(e.R0b),e.Y36(xt.Iu),e.Y36(e.sBO),e.Y36(Ge.tE))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(t,i){1&t&&e.WFA("@dialogContainer.start",function(l){return i._onAnimationStart(l)})("@dialogContainer.done",function(l){return i._onAnimationDone(l)}),2&t&&(e.Ikx("id",i._config.id),e.uIk("aria-modal",i._config.ariaModal)("role",i._config.role)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null),e.d8E("@dialogContainer",i._getAnimationState()))},features:[e.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,i){1&t&&e.YNc(0,cs,0,0,"ng-template",0)},dependencies:[at.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,data:{animation:[no.dialogContainer]}}),n})();class Ss{constructor(o,t,i){this._ref=o,this._containerInstance=i,this._afterOpened=new Ye.x,this._beforeClosed=new Ye.x,this._state=0,this.disableClose=t.disableClose,this.id=o.id,i._animationStateChanged.pipe((0,Mo.h)(a=>"opened"===a.state),(0,yn.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe((0,Mo.h)(a=>"closed"===a.state),(0,yn.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),o.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,ma.T)(this.backdropClick(),this.keydownEvents().pipe((0,Mo.h)(a=>a.keyCode===tt.hY&&!this.disableClose&&!(0,tt.Vb)(a)))).subscribe(a=>{this.disableClose||(a.preventDefault(),K(this,"keydown"===a.type?"keyboard":"mouse"))})}close(o){this._result=o,this._containerInstance._animationStateChanged.pipe((0,Mo.h)(t=>"closing"===t.state),(0,yn.q)(1)).subscribe(t=>{this._beforeClosed.next(o),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(o){let t=this._ref.config.positionStrategy;return o&&(o.left||o.right)?o.left?t.left(o.left):t.right(o.right):t.centerHorizontally(),o&&(o.top||o.bottom)?o.top?t.top(o.top):t.bottom(o.bottom):t.centerVertically(),this._ref.updatePosition(),this}updateSize(o="",t=""){return this._ref.updateSize(o,t),this}addPanelClass(o){return this._ref.addPanelClass(o),this}removePanelClass(o){return this._ref.removePanelClass(o),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function K(n,o,t){return n._closeInteractionType=o,n.close(t)}const se=new e.OlP("MatDialogData"),W=new e.OlP("mat-dialog-default-options"),ge=new e.OlP("mat-dialog-scroll-strategy"),Ht={provide:ge,deps:[xt.aV],useFactory:function Pt(n){return()=>n.scrollStrategies.block()}};let wi=0,Bn=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve){this._overlay=t,this._defaultOptions=a,this._parentDialog=l,this._dialogRefConstructor=N,this._dialogContainerType=oe,this._dialogDataToken=xe,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Ye.x,this._afterOpenedAtThisLevel=new Ye.x,this._idPrefix="mat-dialog-",this.afterAllClosed=(0,qe.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,mt.O)(void 0))),this._scrollStrategy=E,this._dialog=i.get(Ai)}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(t,i){let a;(i=Object.assign(Object.assign({},this._defaultOptions||new hr),i)).id=i.id||`${this._idPrefix}${wi++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();const l=this._dialog.open(t,Object.assign(Object.assign({},i),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:hr,useValue:i},{provide:ri,useValue:i}]},templateContext:()=>({dialogRef:a}),providers:(h,E,N)=>(a=new this._dialogRefConstructor(h,i,N),a.updatePosition(null==i?void 0:i.position),[{provide:this._dialogContainerType,useValue:N},{provide:this._dialogDataToken,useValue:E.data},{provide:this._dialogRefConstructor,useValue:a}])}));return a.componentInstance=l.componentInstance,this.openDialogs.push(a),this.afterOpened.next(a),a.afterClosed().subscribe(()=>{const h=this.openDialogs.indexOf(a);h>-1&&(this.openDialogs.splice(h,1),this.openDialogs.length||this._getAfterAllClosed().next())}),a}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(i=>i.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(t){let i=t.length;for(;i--;)t[i].close()}}return n.\u0275fac=function(t){e.$Z()},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})(),Ui=(()=>{class n extends Bn{constructor(t,i,a,l,h,E,N,oe){super(t,i,l,E,N,h,Ss,Zc,se,oe)}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(xt.aV),e.LFG(e.zs3),e.LFG(_e.Ye,8),e.LFG(W,8),e.LFG(ge),e.LFG(n,12),e.LFG(xt.Xj),e.LFG(e.QbO,8))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})(),Wn=0,An=(()=>{class n{constructor(t,i,a){this.dialogRef=t,this._elementRef=i,this._dialog=a,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=go(this._elementRef,this._dialog.openDialogs))}ngOnChanges(t){const i=t._matDialogClose||t._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(t){K(this.dialogRef,0===t.screenX&&0===t.screenY?"keyboard":"mouse",this.dialogResult)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Ss,8),e.Y36(e.SBq),e.Y36(Ui))},n.\u0275dir=e.lG2({type:n,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,i){1&t&&e.NdJ("click",function(l){return i._onButtonClick(l)}),2&t&&e.uIk("aria-label",i.ariaLabel||null)("type",i.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[e.TTD]}),n})(),ka=(()=>{class n{constructor(t,i,a){this._dialogRef=t,this._elementRef=i,this._dialog=a,this.id="mat-dialog-title-"+Wn++}ngOnInit(){this._dialogRef||(this._dialogRef=go(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const t=this._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=this.id)})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Ss,8),e.Y36(e.SBq),e.Y36(Ui))},n.\u0275dir=e.lG2({type:n,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,i){2&t&&e.Ikx("id",i.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),n})(),Gn=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=e.lG2({type:n,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),n})(),Qn=(()=>{class n{constructor(){this.align="start"}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=e.lG2({type:n,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"],hostVars:4,hostBindings:function(t,i){2&t&&e.ekj("mat-dialog-actions-align-center","center"===i.align)("mat-dialog-actions-align-end","end"===i.align)},inputs:{align:"align"}}),n})();function go(n,o){let t=n.nativeElement.parentElement;for(;t&&!t.classList.contains("mat-dialog-container");)t=t.parentElement;return t?o.find(i=>i.id===t.id):null}let ao=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[Ui,Ht],imports:[hi,xt.U8,at.eL,b.BQ,b.BQ]}),n})();var Zt=C(1125);let Cl=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[b.uc,b.BQ,b.uc,b.BQ]}),n})();var Kc=C(2843),Ld=C(4128),$e=C(8505),Mn=C(4004),Ke=C(262),Di=C(8746),Vl=C(3099),Ri=C(520);const Gl=["*"];let Vr;function ds(n){var o;return(null===(o=function Od(){if(void 0===Vr&&(Vr=null,"undefined"!=typeof window)){const n=window;void 0!==n.trustedTypes&&(Vr=n.trustedTypes.createPolicy("angular#components",{createHTML:o=>o}))}return Vr}())||void 0===o?void 0:o.createHTML(n))||n}function Ls(n){return Error(`Unable to find icon with the name "${n}"`)}function hc(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function Os(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}class la{constructor(o,t,i){this.url=o,this.svgText=t,this.options=i}}let es=(()=>{class n{constructor(t,i,a,l){this._httpClient=t,this._sanitizer=i,this._errorHandler=l,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=a}addSvgIcon(t,i,a){return this.addSvgIconInNamespace("",t,i,a)}addSvgIconLiteral(t,i,a){return this.addSvgIconLiteralInNamespace("",t,i,a)}addSvgIconInNamespace(t,i,a,l){return this._addSvgIconConfig(t,i,new la(a,null,l))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,i,a,l){const h=this._sanitizer.sanitize(e.q3G.HTML,a);if(!h)throw Os(a);const E=ds(h);return this._addSvgIconConfig(t,i,new la("",E,l))}addSvgIconSet(t,i){return this.addSvgIconSetInNamespace("",t,i)}addSvgIconSetLiteral(t,i){return this.addSvgIconSetLiteralInNamespace("",t,i)}addSvgIconSetInNamespace(t,i,a){return this._addSvgIconSetConfig(t,new la(i,null,a))}addSvgIconSetLiteralInNamespace(t,i,a){const l=this._sanitizer.sanitize(e.q3G.HTML,i);if(!l)throw Os(i);const h=ds(l);return this._addSvgIconSetConfig(t,new la("",h,a))}registerFontClassAlias(t,i=t){return this._fontCssClassesByAlias.set(t,i),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(...t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const i=this._sanitizer.sanitize(e.q3G.RESOURCE_URL,t);if(!i)throw hc(t);const a=this._cachedIconsByUrl.get(i);return a?(0,ie.of)(ks(a)):this._loadSvgIconFromConfig(new la(t,null)).pipe((0,$e.b)(l=>this._cachedIconsByUrl.set(i,l)),(0,Mn.U)(l=>ks(l)))}getNamedSvgIcon(t,i=""){const a=Is(i,t);let l=this._svgIconConfigs.get(a);if(l)return this._getSvgFromConfig(l);if(l=this._getIconConfigFromResolvers(i,t),l)return this._svgIconConfigs.set(a,l),this._getSvgFromConfig(l);const h=this._iconSetConfigs.get(i);return h?this._getSvgFromIconSetConfigs(t,h):(0,Kc._)(Ls(a))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?(0,ie.of)(ks(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe((0,Mn.U)(i=>ks(i)))}_getSvgFromIconSetConfigs(t,i){const a=this._extractIconWithNameFromAnySet(t,i);if(a)return(0,ie.of)(a);const l=i.filter(h=>!h.svgText).map(h=>this._loadSvgIconSetFromConfig(h).pipe((0,Ke.K)(E=>{const oe=`Loading icon set URL: ${this._sanitizer.sanitize(e.q3G.RESOURCE_URL,h.url)} failed: ${E.message}`;return this._errorHandler.handleError(new Error(oe)),(0,ie.of)(null)})));return(0,Ld.D)(l).pipe((0,Mn.U)(()=>{const h=this._extractIconWithNameFromAnySet(t,i);if(!h)throw Ls(t);return h}))}_extractIconWithNameFromAnySet(t,i){for(let a=i.length-1;a>=0;a--){const l=i[a];if(l.svgText&&l.svgText.toString().indexOf(t)>-1){const h=this._svgElementFromConfig(l),E=this._extractSvgIconFromSet(h,t,l.options);if(E)return E}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe((0,$e.b)(i=>t.svgText=i),(0,Mn.U)(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?(0,ie.of)(null):this._fetchIcon(t).pipe((0,$e.b)(i=>t.svgText=i))}_extractSvgIconFromSet(t,i,a){const l=t.querySelector(`[id="${i}"]`);if(!l)return null;const h=l.cloneNode(!0);if(h.removeAttribute("id"),"svg"===h.nodeName.toLowerCase())return this._setSvgAttributes(h,a);if("symbol"===h.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(h),a);const E=this._svgElementFromString(ds(""));return E.appendChild(h),this._setSvgAttributes(E,a)}_svgElementFromString(t){const i=this._document.createElement("DIV");i.innerHTML=t;const a=i.querySelector("svg");if(!a)throw Error(" tag not found");return a}_toSvgElement(t){const i=this._svgElementFromString(ds("")),a=t.attributes;for(let l=0;lds(xe)),(0,Di.x)(()=>this._inProgressUrlFetches.delete(E)),(0,Vl.B)());return this._inProgressUrlFetches.set(E,oe),oe}_addSvgIconConfig(t,i,a){return this._svgIconConfigs.set(Is(t,i),a),this}_addSvgIconSetConfig(t,i){const a=this._iconSetConfigs.get(t);return a?a.push(i):this._iconSetConfigs.set(t,[i]),this}_svgElementFromConfig(t){if(!t.svgElement){const i=this._svgElementFromString(t.svgText);this._setSvgAttributes(i,t.options),t.svgElement=i}return t.svgElement}_getIconConfigFromResolvers(t,i){for(let a=0;ao?o.pathname+o.search:""}}}),vl=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],el=vl.map(n=>`[${n}]`).join(", "),us=/^url\(['"]?#(.*?)['"]?\)$/;let So=(()=>{class n extends jc{constructor(t,i,a,l,h,E){super(t),this._iconRegistry=i,this._location=l,this._errorHandler=h,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=Ta.w0.EMPTY,E&&(E.color&&(this.color=this.defaultColor=E.color),E.fontSet&&(this.fontSet=E.fontSet)),a||t.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(t){this._inline=(0,le.Ig)(t)}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){const i=this._cleanupFontValue(t);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){const i=this._cleanupFontValue(t);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_splitIconName(t){if(!t)return["",""];const i=t.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&t.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){const t=this._elementRef.nativeElement;let i=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const a=t.childNodes[i];(1!==a.nodeType||"svg"===a.nodeName.toLowerCase())&&a.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const t=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(a=>a.length>0);this._previousFontSetClass.forEach(a=>t.classList.remove(a)),i.forEach(a=>t.classList.add(a)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return"string"==typeof t?t.trim().split(" ")[0]:t}_prependPathToReferences(t){const i=this._elementsWithExternalReferences;i&&i.forEach((a,l)=>{a.forEach(h=>{l.setAttribute(h.name,`url('${t}#${h.value}')`)})})}_cacheChildrenWithExternalReferences(t){const i=t.querySelectorAll(el),a=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let l=0;l{const E=i[l],N=E.getAttribute(h),oe=N?N.match(us):null;if(oe){let xe=a.get(E);xe||(xe=[],a.set(E,xe)),xe.push({name:h,value:oe[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){const[i,a]=this._splitIconName(t);i&&(this._svgNamespace=i),a&&(this._svgName=a),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(a,i).pipe((0,yn.q)(1)).subscribe(l=>this._setSvgElement(l),l=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${a}! ${l.message}`))})}}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(es),e.$8M("aria-hidden"),e.Y36(E_),e.Y36(e.qLn),e.Y36(Id,8))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(t,i){2&t&&(e.uIk("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet)("fontIcon",i._usingFontIcon()?i.fontIcon:null),e.ekj("mat-icon-inline",i.inline)("mat-icon-no-color","primary"!==i.color&&"accent"!==i.color&&"warn"!==i.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[e.qOj],ngContentSelectors:Gl,decls:1,vars:0,template:function(t,i){1&t&&(e.F$t(),e.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0}),n})(),Ps=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[b.BQ,b.BQ]}),n})();var rn=C(4623),_s=C(3101),Wc=C(3900),jl=C(1005);const ca=["mat-menu-item",""];function Rd(n,o){1&n&&(e.O4$(),e.TgZ(0,"svg",2),e._UZ(1,"polygon",3),e.qZA())}const Cu=["*"];function vu(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",0),e.NdJ("keydown",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l._handleKeydown(a))})("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.closed.emit("click"))})("@transformMenu.start",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l._onAnimationStart(a))})("@transformMenu.done",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l._onAnimationDone(a))}),e.TgZ(1,"div",1),e.Hsn(2),e.qZA()()}if(2&n){const t=e.oxw();e.Q6J("id",t.panelId)("ngClass",t._classList)("@transformMenu",t._panelAnimationState),e.uIk("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby||null)("aria-describedby",t.ariaDescribedby||null)}}const Wl={transformMenu:(0,ne.X$)("transformMenu",[(0,ne.SB)("void",(0,ne.oB)({opacity:0,transform:"scale(0.8)"})),(0,ne.eR)("void => enter",(0,ne.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ne.oB)({opacity:1,transform:"scale(1)"}))),(0,ne.eR)("* => void",(0,ne.jt)("100ms 25ms linear",(0,ne.oB)({opacity:0})))]),fadeInItems:(0,ne.X$)("fadeInItems",[(0,ne.SB)("showing",(0,ne.oB)({opacity:1})),(0,ne.eR)("void => *",[(0,ne.oB)({opacity:0}),(0,ne.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Np=new e.OlP("MatMenuContent"),tl=new e.OlP("MAT_MENU_PANEL"),A_=(0,b.Kr)((0,b.Id)(class{}));let xl=(()=>{class n extends A_{constructor(t,i,a,l,h){var E;super(),this._elementRef=t,this._document=i,this._focusMonitor=a,this._parentMenu=l,this._changeDetectorRef=h,this.role="menuitem",this._hovered=new Ye.x,this._focused=new Ye.x,this._highlighted=!1,this._triggersSubmenu=!1,null===(E=null==l?void 0:l.addItem)||void 0===E||E.call(l,this)}focus(t,i){this._focusMonitor&&t?this._focusMonitor.focusVia(this._getHostElement(),t,i):this._getHostElement().focus(i),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var t;const i=this._elementRef.nativeElement.cloneNode(!0),a=i.querySelectorAll("mat-icon, .material-icons");for(let l=0;l{class n{constructor(t,i,a,l){this._elementRef=t,this._ngZone=i,this._defaultOptions=a,this._changeDetectorRef=l,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new e.n_E,this._tabSubscription=Ta.w0.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new Ye.x,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new e.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+Nd++}get xPosition(){return this._xPosition}set xPosition(t){this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=(0,le.Ig)(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=(0,le.Ig)(t)}set panelClass(t){const i=this._previousPanelClass;i&&i.length&&i.split(" ").forEach(a=>{this._classList[a]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(a=>{this._classList[a]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Ge.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,mt.O)(this._directDescendantItems),(0,Wc.w)(t=>(0,ma.T)(...t.map(i=>i._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t)),this._directDescendantItems.changes.subscribe(t=>{var i;const a=this._keyManager;if("enter"===this._panelAnimationState&&(null===(i=a.activeItem)||void 0===i?void 0:i._hasFocus())){const l=t.toArray(),h=Math.max(0,Math.min(l.length-1,a.activeItemIndex||0));l[h]&&!l[h].disabled?a.setActiveItem(h):a.setNextItemActive()}})}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe((0,mt.O)(this._directDescendantItems),(0,Wc.w)(i=>(0,ma.T)(...i.map(a=>a._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){const i=t.keyCode,a=this._keyManager;switch(i){case tt.hY:(0,tt.Vb)(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case tt.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case tt.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(i===tt.LH||i===tt.JH)&&a.setFocusOrigin("keyboard"),void a.onKeydown(t)}t.stopPropagation()}focusFirstItem(t="program"){this._ngZone.onStable.pipe((0,yn.q)(1)).subscribe(()=>{let i=null;if(this._directDescendantItems.length&&(i=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!i||!i.contains(document.activeElement)){const a=this._keyManager;a.setFocusOrigin(t).setFirstItemActive(),!a.activeItem&&i&&i.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){const i=Math.min(this._baseElevation+t,24),a=`${this._elevationPrefix}${i}`,l=Object.keys(this._classList).find(h=>h.startsWith(this._elevationPrefix));(!l||l===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[a]=!0,this._previousElevation=a)}setPositionClasses(t=this.xPosition,i=this.yPosition){var a;const l=this._classList;l["mat-menu-before"]="before"===t,l["mat-menu-after"]="after"===t,l["mat-menu-above"]="above"===i,l["mat-menu-below"]="below"===i,null===(a=this._changeDetectorRef)||void 0===a||a.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,mt.O)(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(Yo),e.Y36(e.sBO))},n.\u0275dir=e.lG2({type:n,contentQueries:function(t,i,a){if(1&t&&(e.Suo(a,Np,5),e.Suo(a,xl,5),e.Suo(a,xl,4)),2&t){let l;e.iGM(l=e.CRH())&&(i.lazyContent=l.first),e.iGM(l=e.CRH())&&(i._allItems=l),e.iGM(l=e.CRH())&&(i.items=l)}},viewQuery:function(t,i){if(1&t&&e.Gf(e.Rgc,5),2&t){let a;e.iGM(a=e.CRH())&&(i.templateRef=a.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),n})(),Ho=(()=>{class n extends ts{constructor(t,i,a,l){super(t,i,a,l),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(Yo),e.Y36(e.sBO))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(t,i){2&t&&e.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[e._Bn([{provide:tl,useExisting:n}]),e.qOj],ngContentSelectors:Cu,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(t,i){1&t&&(e.F$t(),e.YNc(0,vu,3,6,"ng-template"))},dependencies:[_e.mk],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px;position:relative}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[Wl.transformMenu,Wl.fadeInItems]},changeDetection:0}),n})();const Bd=new e.OlP("mat-menu-scroll-strategy"),P={provide:Bd,deps:[xt.aV],useFactory:function O(n){return()=>n.scrollStrategies.reposition()}},Z=(0,Le.i$)({passive:!0});let Q=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe){this._overlay=t,this._element=i,this._viewContainerRef=a,this._menuItemInstance=E,this._dir=N,this._focusMonitor=oe,this._ngZone=xe,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=Ta.w0.EMPTY,this._hoverSubscription=Ta.w0.EMPTY,this._menuCloseSubscription=Ta.w0.EMPTY,this._handleTouchStart=Ve=>{(0,Ge.yG)(Ve)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new e.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new e.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=l,this._parentMaterialMenu=h instanceof ts?h:void 0,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,Z),E&&(E._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.subscribe(i=>{this._destroyMenu(i),("click"===i||"tab"===i)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(i)})))}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Z),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const t=this.menu;if(this._menuOpen||!t)return;const i=this._createOverlay(t),a=i.getConfig(),l=a.positionStrategy;this._setPosition(t,l),a.hasBackdrop=null==t.hasBackdrop?!this.triggersSubmenu():t.hasBackdrop,i.attach(this._getPortal(t)),t.lazyContent&&t.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(t),t instanceof ts&&(t._startAnimation(),t._directDescendantItems.changes.pipe((0,$i.R)(t.close)).subscribe(()=>{l.withLockedPosition(!1).reapplyLastPosition(),l.withLockedPosition(!0)}))}closeMenu(){var t;null===(t=this.menu)||void 0===t||t.close.emit()}focus(t,i){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,i):this._element.nativeElement.focus(i)}updatePosition(){var t;null===(t=this._overlayRef)||void 0===t||t.updatePosition()}_destroyMenu(t){var i;if(!this._overlayRef||!this.menuOpen)return;const a=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===t||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,a instanceof ts?(a._resetAnimation(),a.lazyContent?a._animationDone.pipe((0,Mo.h)(l=>"void"===l.toState),(0,yn.q)(1),(0,$i.R)(a.lazyContent._attached)).subscribe({next:()=>a.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),null===(i=null==a?void 0:a.lazyContent)||void 0===i||i.detach())}_initMenu(t){t.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,t.direction=this.dir,this._setMenuElevation(t),t.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(t){if(t.setElevation){let i=0,a=t.parentMenu;for(;a;)i++,a=a.parentMenu;t.setElevation(i)}}_setIsMenuOpen(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(t)}_createOverlay(t){if(!this._overlayRef){const i=this._getOverlayConfig(t);this._subscribeToPositions(t,i.positionStrategy),this._overlayRef=this._overlay.create(i),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(t){return new xt.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:t.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:t.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t,i){t.setPositionClasses&&i.positionChanges.subscribe(a=>{const l="start"===a.connectionPair.overlayX?"after":"before",h="top"===a.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>t.setPositionClasses(l,h)):t.setPositionClasses(l,h)})}_setPosition(t,i){let[a,l]="before"===t.xPosition?["end","start"]:["start","end"],[h,E]="above"===t.yPosition?["bottom","top"]:["top","bottom"],[N,oe]=[h,E],[xe,Ve]=[a,l],lt=0;if(this.triggersSubmenu()){if(Ve=a="before"===t.xPosition?"start":"end",l=xe="end"===a?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Ft=this._parentMaterialMenu.items.first;this._parentInnerPadding=Ft?Ft._getHostElement().offsetTop:0}lt="bottom"===h?this._parentInnerPadding:-this._parentInnerPadding}}else t.overlapTrigger||(N="top"===h?"bottom":"top",oe="top"===E?"bottom":"top");i.withPositions([{originX:a,originY:N,overlayX:xe,overlayY:h,offsetY:lt},{originX:l,originY:N,overlayX:Ve,overlayY:h,offsetY:lt},{originX:a,originY:oe,overlayX:xe,overlayY:E,offsetY:-lt},{originX:l,originY:oe,overlayX:Ve,overlayY:E,offsetY:-lt}])}_menuClosingActions(){const t=this._overlayRef.backdropClick(),i=this._overlayRef.detachments(),a=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,ie.of)(),l=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,Mo.h)(h=>h!==this._menuItemInstance),(0,Mo.h)(()=>this._menuOpen)):(0,ie.of)();return(0,ma.T)(t,a,l,i)}_handleMousedown(t){(0,Ge.X6)(t)||(this._openedBy=0===t.button?"mouse":void 0,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){const i=t.keyCode;(i===tt.K5||i===tt.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(i===tt.SV&&"ltr"===this.dir||i===tt.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,Mo.h)(t=>t===this._menuItemInstance&&!t.disabled),(0,jl.g)(0,_s.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof ts&&this.menu._isAnimating?this.menu._animationDone.pipe((0,yn.q)(1),(0,jl.g)(0,_s.E),(0,$i.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(t){return(!this._portal||this._portal.templateRef!==t.templateRef)&&(this._portal=new at.UE(t.templateRef,this._viewContainerRef)),this._portal}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(xt.aV),e.Y36(e.SBq),e.Y36(e.s_b),e.Y36(Bd),e.Y36(tl,8),e.Y36(xl,10),e.Y36(ke.Is,8),e.Y36(Ge.tE),e.Y36(e.R0b))},n.\u0275dir=e.lG2({type:n,hostVars:3,hostBindings:function(t,i){1&t&&e.NdJ("click",function(l){return i._handleClick(l)})("mousedown",function(l){return i._handleMousedown(l)})("keydown",function(l){return i._handleKeydown(l)}),2&t&&e.uIk("aria-haspopup",i.menu?"menu":null)("aria-expanded",i.menuOpen||null)("aria-controls",i.menuOpen?i.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),n})(),pe=(()=>{class n extends Q{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[e.qOj]}),n})(),ve=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[P],imports:[_e.ez,b.BQ,b.si,xt.U8,Nn.ZD,b.BQ]}),n})();var Be=C(4107),At=C(5113);const gi=["tooltip"],mn="tooltip-panel",Pn=(0,Le.i$)({passive:!0}),Wa=new e.OlP("mat-tooltip-scroll-strategy"),il={provide:Wa,deps:[xt.aV],useFactory:function fo(n){return()=>n.scrollStrategies.reposition({scrollThrottle:20})}},aa=new e.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function da(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let bl=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt,Ft){this._overlay=t,this._elementRef=i,this._scrollDispatcher=a,this._viewContainerRef=l,this._ngZone=h,this._platform=E,this._ariaDescriber=N,this._focusMonitor=oe,this._dir=Ve,this._defaultOptions=lt,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new Ye.x,this._scrollStrategy=xe,this._document=Ft,lt&&(lt.position&&(this.position=lt.position),lt.touchGestures&&(this.touchGestures=lt.touchGestures)),Ve.change.pipe((0,$i.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(t){var i;t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(i=this._tooltipInstance)||void 0===i||i.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,le.Ig)(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(t){this._showDelay=(0,le.su)(t)}get hideDelay(){return this._hideDelay}set hideDelay(t){this._hideDelay=(0,le.su)(t),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=t?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,$i.R)(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,a])=>{t.removeEventListener(i,a,Pn)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay){var i;if(this.disabled||!this.message||this._isTooltipVisible())return void(null===(i=this._tooltipInstance)||void 0===i||i._cancelPendingAnimations());const a=this._createOverlay();this._detach(),this._portal=this._portal||new at.C5(this._tooltipComponent,this._viewContainerRef);const l=this._tooltipInstance=a.attach(this._portal).instance;l._triggerElement=this._elementRef.nativeElement,l._mouseLeaveHideDelay=this._hideDelay,l.afterHidden().pipe((0,$i.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),l.show(t)}hide(t=this.hideDelay){const i=this._tooltipInstance;i&&(i.isVisible()?i.hide(t):(i._cancelPendingAnimations(),this._detach()))}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){var t;if(this._overlayRef)return this._overlayRef;const i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),a=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return a.positionChanges.pipe((0,$i.R)(this._destroyed)).subscribe(l=>{this._updateCurrentPositionClass(l.connectionPair),this._tooltipInstance&&l.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:a,panelClass:`${this._cssClassPrefix}-${mn}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,$i.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,$i.R)(this._destroyed)).subscribe(()=>{var l;return null===(l=this._tooltipInstance)||void 0===l?void 0:l._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe((0,$i.R)(this._destroyed)).subscribe(l=>{this._isTooltipVisible()&&l.keyCode===tt.hY&&!(0,tt.Vb)(l)&&(l.preventDefault(),l.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),!(null===(t=this._defaultOptions)||void 0===t)&&t.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){const i=t.getConfig().positionStrategy,a=this._getOrigin(),l=this._getOverlayPosition();i.withPositions([this._addOffset(Object.assign(Object.assign({},a.main),l.main)),this._addOffset(Object.assign(Object.assign({},a.fallback),l.fallback))])}_addOffset(t){return t}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,i=this.position;let a;"above"==i||"below"==i?a={originX:"center",originY:"above"==i?"top":"bottom"}:"before"==i||"left"==i&&t||"right"==i&&!t?a={originX:"start",originY:"center"}:("after"==i||"right"==i&&t||"left"==i&&!t)&&(a={originX:"end",originY:"center"});const{x:l,y:h}=this._invertPosition(a.originX,a.originY);return{main:a,fallback:{originX:l,originY:h}}}_getOverlayPosition(){const t=!this._dir||"ltr"==this._dir.value,i=this.position;let a;"above"==i?a={overlayX:"center",overlayY:"bottom"}:"below"==i?a={overlayX:"center",overlayY:"top"}:"before"==i||"left"==i&&t||"right"==i&&!t?a={overlayX:"end",overlayY:"center"}:("after"==i||"right"==i&&t||"left"==i&&!t)&&(a={overlayX:"start",overlayY:"center"});const{x:l,y:h}=this._invertPosition(a.overlayX,a.overlayY);return{main:a,fallback:{overlayX:l,overlayY:h}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,yn.q)(1),(0,$i.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,i){return"above"===this.position||"below"===this.position?"top"===i?i="bottom":"bottom"===i&&(i="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:i}}_updateCurrentPositionClass(t){const{overlayY:i,originX:a,originY:l}=t;let h;if(h="center"===i?this._dir&&"rtl"===this._dir.value?"end"===a?"left":"right":"start"===a?"left":"right":"bottom"===i&&"top"===l?"above":"below",h!==this._currentPosition){const E=this._overlayRef;if(E){const N=`${this._cssClassPrefix}-${mn}-`;E.removePanelClass(N+this._currentPosition),E.addPanelClass(N+h)}this._currentPosition=h}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",i=>{var a;const l=i.relatedTarget;(!l||null===(a=this._overlayRef)||void 0===a||!a.overlayElement.contains(l))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",i],["touchcancel",i])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([i,a])=>{this._elementRef.nativeElement.addEventListener(i,a,Pn)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){const i=this._document.elementFromPoint(t.clientX,t.clientY),a=this._elementRef.nativeElement;i!==a&&!a.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){const t=this.touchGestures;if("off"!==t){const i=this._elementRef.nativeElement,a=i.style;("on"===t||"INPUT"!==i.nodeName&&"TEXTAREA"!==i.nodeName)&&(a.userSelect=a.msUserSelect=a.webkitUserSelect=a.MozUserSelect="none"),("on"===t||!i.draggable)&&(a.webkitUserDrag="none"),a.touchAction="none",a.webkitTapHighlightColor="transparent"}}}return n.\u0275fac=function(t){e.$Z()},n.\u0275dir=e.lG2({type:n,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),n})(),Xn=(()=>{class n extends bl{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt,Ft){super(t,i,a,l,h,E,N,oe,xe,Ve,lt,Ft),this._tooltipComponent=qc}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(xt.aV),e.Y36(e.SBq),e.Y36(Nn.mF),e.Y36(e.s_b),e.Y36(e.R0b),e.Y36(Le.t4),e.Y36(Ge.$s),e.Y36(Ge.tE),e.Y36(Wa),e.Y36(ke.Is,8),e.Y36(aa,8),e.Y36(_e.K0))},n.\u0275dir=e.lG2({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[e.qOj]}),n})(),Ud=(()=>{class n{constructor(t,i){this._changeDetectorRef=t,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new Ye.x,this._animationsDisabled="NoopAnimations"===i}show(t){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},t)}hide(t){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},t)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:t}){(!t||!this._triggerElement.contains(t))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:t}){(t===this._showAnimation||t===this._hideAnimation)&&this._finalizeAnimation(t===this._showAnimation)}_cancelPendingAnimations(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(t){t?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(t){const i=this._tooltip.nativeElement,a=this._showAnimation,l=this._hideAnimation;if(i.classList.remove(t?l:a),i.classList.add(t?a:l),this._isVisible=t,t&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const h=getComputedStyle(i);("0s"===h.getPropertyValue("animation-duration")||"none"===h.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}t&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(t))}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.sBO),e.Y36(e.QbO,8))},n.\u0275dir=e.lG2({type:n}),n})(),qc=(()=>{class n extends Ud{constructor(t,i,a){super(t,a),this._breakpointObserver=i,this._isHandset=this._breakpointObserver.observe(At.u3.Handset),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.sBO),e.Y36(At.Yg),e.Y36(e.QbO,8))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-tooltip-component"]],viewQuery:function(t,i){if(1&t&&e.Gf(gi,7),2&t){let a;e.iGM(a=e.CRH())&&(i._tooltip=a.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,i){1&t&&e.NdJ("mouseleave",function(l){return i._handleMouseLeave(l)}),2&t&&e.Udp("zoom",i.isVisible()?1:null)},features:[e.qOj],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(t,i){if(1&t&&(e.TgZ(0,"div",0,1),e.NdJ("animationend",function(l){return i._handleAnimationEnd(l)}),e.ALo(2,"async"),e._uU(3),e.qZA()),2&t){let a;e.ekj("mat-tooltip-handset",null==(a=e.lcZ(2,4,i._isHandset))?null:a.matches),e.Q6J("ngClass",i.tooltipClass),e.xp6(3),e.Oqu(i.message)}},dependencies:[_e.mk,_e.Ov],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}"],encapsulation:2,changeDetection:0}),n})(),gc=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[il],imports:[Ge.rt,_e.ez,xt.U8,b.BQ,b.BQ,Nn.ZD]}),n})();function nl(n,o){if(1&n&&(e.TgZ(0,"mat-option",19),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function L_(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field",16)(1,"mat-select",17),e.NdJ("selectionChange",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l._changePageSize(a.value))}),e.YNc(2,nl,2,2,"mat-option",18),e.qZA()()}if(2&n){const t=e.oxw(2);e.Q6J("appearance",t._formFieldAppearance)("color",t.color),e.xp6(1),e.Q6J("value",t.pageSize)("disabled",t.disabled)("panelClass",t.selectConfig.panelClass||"")("disableOptionCentering",t.selectConfig.disableOptionCentering)("aria-label",t._intl.itemsPerPageLabel),e.xp6(1),e.Q6J("ngForOf",t._displayedPageSizeOptions)}}function so(n,o){if(1&n&&(e.TgZ(0,"div",20),e._uU(1),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Oqu(t.pageSize)}}function Rs(n,o){if(1&n&&(e.TgZ(0,"div",12)(1,"div",13),e._uU(2),e.qZA(),e.YNc(3,L_,3,8,"mat-form-field",14),e.YNc(4,so,2,1,"div",15),e.qZA()),2&n){const t=e.oxw();e.xp6(2),e.hij(" ",t._intl.itemsPerPageLabel," "),e.xp6(1),e.Q6J("ngIf",t._displayedPageSizeOptions.length>1),e.xp6(1),e.Q6J("ngIf",t._displayedPageSizeOptions.length<=1)}}function fc(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",21),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.firstPage())}),e.O4$(),e.TgZ(1,"svg",7),e._UZ(2,"path",22),e.qZA()()}if(2&n){const t=e.oxw();e.Q6J("matTooltip",t._intl.firstPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",t._previousButtonsDisabled()),e.uIk("aria-label",t._intl.firstPageLabel)}}function bu(n,o){if(1&n){const t=e.EpF();e.O4$(),e.kcU(),e.TgZ(0,"button",23),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.lastPage())}),e.O4$(),e.TgZ(1,"svg",7),e._UZ(2,"path",24),e.qZA()()}if(2&n){const t=e.oxw();e.Q6J("matTooltip",t._intl.lastPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",t._nextButtonsDisabled()),e.uIk("aria-label",t._intl.lastPageLabel)}}let Fs=(()=>{class n{constructor(){this.changes=new Ye.x,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(t,i,a)=>{if(0==a||0==i)return`0 of ${a}`;const l=t*i;return`${l+1} \u2013 ${l<(a=Math.max(a,0))?Math.min(l+i,a):l+i} of ${a}`}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const yu={provide:Fs,deps:[[new e.FiY,new e.tp0,Fs]],useFactory:function Bp(n){return n||new Fs}},Jc=new e.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),Yp=(0,b.Id)((0,b.dB)(class{}));let Zd=(()=>{class n extends Yp{constructor(t,i,a){if(super(),this._intl=t,this._changeDetectorRef=i,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.selectConfig={},this.page=new e.vpe,this._intlChanges=t.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),a){const{pageSize:l,pageSizeOptions:h,hidePageSize:E,showFirstLastButtons:N}=a;null!=l&&(this._pageSize=l),null!=h&&(this._pageSizeOptions=h),null!=E&&(this._hidePageSize=E),null!=N&&(this._showFirstLastButtons=N)}}get pageIndex(){return this._pageIndex}set pageIndex(t){this._pageIndex=Math.max((0,le.su)(t),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(t){this._length=(0,le.su)(t),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(t){this._pageSize=Math.max((0,le.su)(t),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(t){this._pageSizeOptions=(t||[]).map(i=>(0,le.su)(i)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(t){this._hidePageSize=(0,le.Ig)(t)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(t){this._showFirstLastButtons=(0,le.Ig)(t)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(t)}previousPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(t)}firstPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex=0,this._emitPageEvent(t)}lastPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(t)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const t=this.getNumberOfPages()-1;return this.pageIndext-i),this._changeDetectorRef.markForCheck())}_emitPageEvent(t){this.page.emit({previousPageIndex:t,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return n.\u0275fac=function(t){e.$Z()},n.\u0275dir=e.lG2({type:n,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[e.qOj]}),n})(),Co=(()=>{class n extends Zd{constructor(t,i,a){super(t,i,a),a&&null!=a.formFieldAppearance&&(this._formFieldAppearance=a.formFieldAppearance)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Fs),e.Y36(e.sBO),e.Y36(Jc,8))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[e.qOj],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","panelClass","disableOptionCentering","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,Rs,5,3,"div",2),e.TgZ(3,"div",3)(4,"div",4),e._uU(5),e.qZA(),e.YNc(6,fc,3,5,"button",5),e.TgZ(7,"button",6),e.NdJ("click",function(){return i.previousPage()}),e.O4$(),e.TgZ(8,"svg",7),e._UZ(9,"path",8),e.qZA()(),e.kcU(),e.TgZ(10,"button",9),e.NdJ("click",function(){return i.nextPage()}),e.O4$(),e.TgZ(11,"svg",7),e._UZ(12,"path",10),e.qZA()(),e.YNc(13,bu,3,5,"button",11),e.qZA()()()),2&t&&(e.xp6(2),e.Q6J("ngIf",!i.hidePageSize),e.xp6(3),e.hij(" ",i._intl.getRangeLabel(i.pageIndex,i.pageSize,i.length)," "),e.xp6(1),e.Q6J("ngIf",i.showFirstLastButtons),e.xp6(1),e.Q6J("matTooltip",i._intl.previousPageLabel)("matTooltipDisabled",i._previousButtonsDisabled())("matTooltipPosition","above")("disabled",i._previousButtonsDisabled()),e.uIk("aria-label",i._intl.previousPageLabel),e.xp6(3),e.Q6J("matTooltip",i._intl.nextPageLabel)("matTooltipDisabled",i._nextButtonsDisabled())("matTooltipPosition","above")("disabled",i._nextButtonsDisabled()),e.uIk("aria-label",i._intl.nextPageLabel),e.xp6(3),e.Q6J("ngIf",i.showFirstLastButtons))},dependencies:[_e.sg,_e.O5,Y.lW,Rt.KE,Be.gD,b.ey,Xn],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{display:inline-block;width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}"],encapsulation:2,changeDetection:0}),n})(),ms=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[yu],imports:[_e.ez,Y.ot,Be.LD,gc,b.BQ]}),n})();var is=C(4968);const Yd=["primaryValueBar"],Hd=(0,b.pj)(class{constructor(n){this._elementRef=n}},"primary"),Tu=new e.OlP("mat-progress-bar-location",{providedIn:"root",factory:function Mu(){const n=(0,e.f3M)(_e.K0),o=n?n.location:null;return{getPathname:()=>o?o.pathname+o.search:""}}}),Cc=new e.OlP("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");let vc=0,Du=(()=>{class n extends Hd{constructor(t,i,a,l,h,E){super(t),this._ngZone=i,this._animationMode=a,this._changeDetectorRef=E,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new e.vpe,this._animationEndSubscription=Ta.w0.EMPTY,this.mode="determinate",this.progressbarId="mat-progress-bar-"+vc++;const N=l?l.getPathname().split("#")[0]:"";this._rectangleFillValue=`url('${N}#${this.progressbarId}')`,this._isNoopAnimation="NoopAnimations"===a,h&&(h.color&&(this.color=this.defaultColor=h.color),this.mode=h.mode||this.mode)}get value(){return this._value}set value(t){var i;this._value=Vo((0,le.su)(t)||0),null===(i=this._changeDetectorRef)||void 0===i||i.markForCheck()}get bufferValue(){return this._bufferValue}set bufferValue(t){var i;this._bufferValue=Vo(t||0),null===(i=this._changeDetectorRef)||void 0===i||i.markForCheck()}_primaryTransform(){return{transform:`scale3d(${this.value/100}, 1, 1)`}}_bufferTransform(){return"buffer"===this.mode?{transform:`scale3d(${this.bufferValue/100}, 1, 1)`}:null}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{const t=this._primaryValueBar.nativeElement;this._animationEndSubscription=(0,is.R)(t,"transitionend").pipe((0,Mo.h)(i=>i.target===t)).subscribe(()=>{0!==this.animationEnd.observers.length&&("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))})})}ngOnDestroy(){this._animationEndSubscription.unsubscribe()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(e.QbO,8),e.Y36(Tu,8),e.Y36(Cc,8),e.Y36(e.sBO))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-progress-bar"]],viewQuery:function(t,i){if(1&t&&e.Gf(Yd,5),2&t){let a;e.iGM(a=e.CRH())&&(i._primaryValueBar=a.first)}},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-progress-bar"],hostVars:4,hostBindings:function(t,i){2&t&&(e.uIk("aria-valuenow","indeterminate"===i.mode||"query"===i.mode?null:i.value)("mode",i.mode),e.ekj("_mat-animation-noopable",i._isNoopAnimation))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[e.qOj],decls:10,vars:4,consts:[["aria-hidden","true"],["width","100%","height","4","focusable","false",1,"mat-progress-bar-background","mat-progress-bar-element"],["x","4","y","0","width","8","height","4","patternUnits","userSpaceOnUse",3,"id"],["cx","2","cy","2","r","2"],["width","100%","height","100%"],[1,"mat-progress-bar-buffer","mat-progress-bar-element",3,"ngStyle"],[1,"mat-progress-bar-primary","mat-progress-bar-fill","mat-progress-bar-element",3,"ngStyle"],["primaryValueBar",""],[1,"mat-progress-bar-secondary","mat-progress-bar-fill","mat-progress-bar-element"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.O4$(),e.TgZ(1,"svg",1)(2,"defs")(3,"pattern",2),e._UZ(4,"circle",3),e.qZA()(),e._UZ(5,"rect",4),e.qZA(),e.kcU(),e._UZ(6,"div",5)(7,"div",6,7)(9,"div",8),e.qZA()),2&t&&(e.xp6(3),e.Q6J("id",i.progressbarId),e.xp6(2),e.uIk("fill",i._rectangleFillValue),e.xp6(1),e.Q6J("ngStyle",i._bufferTransform()),e.xp6(1),e.Q6J("ngStyle",i._primaryTransform()))},dependencies:[_e.PC],styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}.mat-progress-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:"";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}'],encapsulation:2,changeDetection:0}),n})();function Vo(n,o=0,t=100){return Math.max(o,Math.min(t,n))}let lo=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[_e.ez,b.BQ,b.BQ]}),n})();function al(n,o){if(1&n&&(e.O4$(),e._UZ(0,"circle",4)),2&n){const t=e.oxw(),i=e.MAs(1);e.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%")("transform-origin",t._getCircleTransformOrigin(i)),e.uIk("r",t._getCircleRadius())}}function xc(n,o){if(1&n&&(e.O4$(),e._UZ(0,"circle",4)),2&n){const t=e.oxw(),i=e.MAs(1);e.Udp("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%")("transform-origin",t._getCircleTransformOrigin(i)),e.uIk("r",t._getCircleRadius())}}const Eu=(0,b.pj)(class{constructor(n){this._elementRef=n}},"primary"),yl=new e.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function ol(){return{diameter:100}}});class fn extends Eu{constructor(o,t,i,a,l,h,E,N){super(o),this._document=i,this._diameter=100,this._value=0,this._resizeSubscription=Ta.w0.EMPTY,this.mode="determinate";const oe=fn._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),oe.has(i.head)||oe.set(i.head,new Set([100])),this._noopAnimations="NoopAnimations"===a&&!!l&&!l._forceAnimations,"mat-spinner"===o.nativeElement.nodeName.toLowerCase()&&(this.mode="indeterminate"),l&&(l.color&&(this.color=this.defaultColor=l.color),l.diameter&&(this.diameter=l.diameter),l.strokeWidth&&(this.strokeWidth=l.strokeWidth)),t.isBrowser&&t.SAFARI&&E&&h&&N&&(this._resizeSubscription=E.change(150).subscribe(()=>{"indeterminate"===this.mode&&N.run(()=>h.markForCheck())}))}get diameter(){return this._diameter}set diameter(o){this._diameter=(0,le.su)(o),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(o){this._strokeWidth=(0,le.su)(o)}get value(){return"determinate"===this.mode?this._value:0}set value(o){this._value=Math.max(0,Math.min(100,(0,le.su)(o)))}ngOnInit(){const o=this._elementRef.nativeElement;this._styleRoot=(0,Le.kV)(o)||this._document.head,this._attachStyleNode(),o.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const o=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${o} ${o}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_getCircleTransformOrigin(o){var t;const i=50*(null!==(t=o.currentScale)&&void 0!==t?t:1);return`${i}% ${i}%`}_attachStyleNode(){const o=this._styleRoot,t=this._diameter,i=fn._diameters;let a=i.get(o);if(!a||!a.has(t)){const l=this._document.createElement("style");l.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),l.textContent=this._getAnimationText(),o.appendChild(l),a||(a=new Set,i.set(o,a)),a.add(t)}}_getAnimationText(){const o=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*o).replace(/END_VALUE/g,""+.2*o).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}fn._diameters=new WeakMap,fn.\u0275fac=function(o){return new(o||fn)(e.Y36(e.SBq),e.Y36(Le.t4),e.Y36(_e.K0,8),e.Y36(e.QbO,8),e.Y36(yl),e.Y36(e.sBO),e.Y36(Nn.rL),e.Y36(e.R0b))},fn.\u0275cmp=e.Xpm({type:fn,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(o,t){2&o&&(e.uIk("aria-valuemin","determinate"===t.mode?0:null)("aria-valuemax","determinate"===t.mode?100:null)("aria-valuenow","determinate"===t.mode?t.value:null)("mode",t.mode),e.Udp("width",t.diameter,"px")("height",t.diameter,"px"),e.ekj("_mat-animation-noopable",t._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[e.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(o,t){1&o&&(e.O4$(),e.TgZ(0,"svg",0,1),e.YNc(2,al,1,11,"circle",2),e.YNc(3,xc,1,9,"circle",3),e.qZA()),2&o&&(e.Udp("width",t.diameter,"px")("height",t.diameter,"px"),e.Q6J("ngSwitch","indeterminate"===t.mode),e.uIk("viewBox",t._getViewBox()),e.xp6(2),e.Q6J("ngSwitchCase",!0),e.xp6(1),e.Q6J("ngSwitchCase",!1))},dependencies:[_e.RF,_e.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:rgba(0,0,0,0);transition:stroke-dashoffset 225ms linear}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}.mat-progress-spinner[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}.mat-progress-spinner._mat-animation-noopable svg,.mat-progress-spinner._mat-animation-noopable circle{animation:none;transition:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}"],encapsulation:2,changeDetection:0});let M=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[b.BQ,_e.ez,b.BQ]}),n})(),Hp=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[b.si,b.BQ,b.BQ]}),n})();var Vt=C(2638),Va=C(2368);let Su=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[_e.ez,b.BQ,b.BQ]}),n})();var fr=C(7261);const I_=["mat-sort-header",""];function Kp(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",3),e.NdJ("@arrowPosition.start",function(){e.CHM(t);const a=e.oxw();return e.KtG(a._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){e.CHM(t);const a=e.oxw();return e.KtG(a._disableViewStateAnimation=!1)}),e._UZ(1,"div",4),e.TgZ(2,"div",5),e._UZ(3,"div",6)(4,"div",7)(5,"div",8),e.qZA()()}if(2&n){const t=e.oxw();e.Q6J("@arrowOpacity",t._getArrowViewState())("@arrowPosition",t._getArrowViewState())("@allowChildren",t._getArrowDirectionState()),e.xp6(2),e.Q6J("@indicator",t._getArrowDirectionState()),e.xp6(1),e.Q6J("@leftPointer",t._getArrowDirectionState()),e.xp6(1),e.Q6J("@rightPointer",t._getArrowDirectionState())}}const Pf=["*"],bc=new e.OlP("MAT_SORT_DEFAULT_OPTIONS"),P_=(0,b.dB)((0,b.Id)(class{}));let Go=(()=>{class n extends P_{constructor(t){super(),this._defaultOptions=t,this.sortables=new Map,this._stateChanges=new Ye.x,this.start="asc",this._direction="",this.sortChange=new e.vpe}get direction(){return this._direction}set direction(t){this._direction=t}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=(0,le.Ig)(t)}register(t){this.sortables.set(t.id,t)}deregister(t){this.sortables.delete(t.id)}sort(t){this.active!=t.id?(this.active=t.id,this.direction=t.start?t.start:this.start):this.direction=this.getNextSortDirection(t),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(t){var i,a,l;if(!t)return"";const h=null!==(a=null!==(i=null==t?void 0:t.disableClear)&&void 0!==i?i:this.disableClear)&&void 0!==a?a:!(null===(l=this._defaultOptions)||void 0===l||!l.disableClear);let E=function Rf(n,o){let t=["asc","desc"];return"desc"==n&&t.reverse(),o||t.push(""),t}(t.start||this.start,h),N=E.indexOf(this.direction)+1;return N>=E.length&&(N=0),E[N]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(bc,8))},n.\u0275dir=e.lG2({type:n,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[e.qOj,e.TTD]}),n})();const Ml=b.mZ.ENTERING+" "+b.yN.STANDARD_CURVE,gs={indicator:(0,ne.X$)("indicator",[(0,ne.SB)("active-asc, asc",(0,ne.oB)({transform:"translateY(0px)"})),(0,ne.SB)("active-desc, desc",(0,ne.oB)({transform:"translateY(10px)"})),(0,ne.eR)("active-asc <=> active-desc",(0,ne.jt)(Ml))]),leftPointer:(0,ne.X$)("leftPointer",[(0,ne.SB)("active-asc, asc",(0,ne.oB)({transform:"rotate(-45deg)"})),(0,ne.SB)("active-desc, desc",(0,ne.oB)({transform:"rotate(45deg)"})),(0,ne.eR)("active-asc <=> active-desc",(0,ne.jt)(Ml))]),rightPointer:(0,ne.X$)("rightPointer",[(0,ne.SB)("active-asc, asc",(0,ne.oB)({transform:"rotate(45deg)"})),(0,ne.SB)("active-desc, desc",(0,ne.oB)({transform:"rotate(-45deg)"})),(0,ne.eR)("active-asc <=> active-desc",(0,ne.jt)(Ml))]),arrowOpacity:(0,ne.X$)("arrowOpacity",[(0,ne.SB)("desc-to-active, asc-to-active, active",(0,ne.oB)({opacity:1})),(0,ne.SB)("desc-to-hint, asc-to-hint, hint",(0,ne.oB)({opacity:.54})),(0,ne.SB)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",(0,ne.oB)({opacity:0})),(0,ne.eR)("* => asc, * => desc, * => active, * => hint, * => void",(0,ne.jt)("0ms")),(0,ne.eR)("* <=> *",(0,ne.jt)(Ml))]),arrowPosition:(0,ne.X$)("arrowPosition",[(0,ne.eR)("* => desc-to-hint, * => desc-to-active",(0,ne.jt)(Ml,(0,ne.F4)([(0,ne.oB)({transform:"translateY(-25%)"}),(0,ne.oB)({transform:"translateY(0)"})]))),(0,ne.eR)("* => hint-to-desc, * => active-to-desc",(0,ne.jt)(Ml,(0,ne.F4)([(0,ne.oB)({transform:"translateY(0)"}),(0,ne.oB)({transform:"translateY(25%)"})]))),(0,ne.eR)("* => asc-to-hint, * => asc-to-active",(0,ne.jt)(Ml,(0,ne.F4)([(0,ne.oB)({transform:"translateY(25%)"}),(0,ne.oB)({transform:"translateY(0)"})]))),(0,ne.eR)("* => hint-to-asc, * => active-to-asc",(0,ne.jt)(Ml,(0,ne.F4)([(0,ne.oB)({transform:"translateY(0)"}),(0,ne.oB)({transform:"translateY(-25%)"})]))),(0,ne.SB)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",(0,ne.oB)({transform:"translateY(0)"})),(0,ne.SB)("hint-to-desc, active-to-desc, desc",(0,ne.oB)({transform:"translateY(-25%)"})),(0,ne.SB)("hint-to-asc, active-to-asc, asc",(0,ne.oB)({transform:"translateY(25%)"}))]),allowChildren:(0,ne.X$)("allowChildren",[(0,ne.eR)("* <=> *",[(0,ne.IO)("@*",(0,ne.pV)(),{optional:!0})])])};let R_=(()=>{class n{constructor(){this.changes=new Ye.x}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const m0={provide:R_,deps:[[new e.FiY,new e.tp0,R_]],useFactory:function wm(n){return n||new R_}},F_=(0,b.Id)(class{});let ns=(()=>{class n extends F_{constructor(t,i,a,l,h,E,N,oe){super(),this._intl=t,this._changeDetectorRef=i,this._sort=a,this._columnDef=l,this._focusMonitor=h,this._elementRef=E,this._ariaDescriber=N,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",null!=oe&&oe.arrowPosition&&(this.arrowPosition=null==oe?void 0:oe.arrowPosition),this._handleStateChanges()}get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(t){this._updateSortActionDescription(t)}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=(0,le.Ig)(t)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{const i=!!t;i!==this._showIndicatorHint&&(this._setIndicatorHintVisible(i),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(t){this._isDisabled()&&t||(this._showIndicatorHint=t,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(t){this._viewState=t||{},this._disableViewStateAnimation&&(this._viewState={toState:t.toState})}_toggleOnInteraction(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(t){!this._isDisabled()&&(t.keyCode===tt.L_||t.keyCode===tt.K5)&&(t.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const t=this._viewState.fromState;return(t?`${t}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(t){var i,a;this._sortButton&&(null===(i=this._ariaDescriber)||void 0===i||i.removeDescription(this._sortButton,this._sortActionDescription),null===(a=this._ariaDescriber)||void 0===a||a.describe(this._sortButton,t)),this._sortActionDescription=t}_handleStateChanges(){this._rerenderSubscription=(0,ma.T)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(R_),e.Y36(e.sBO),e.Y36(Go,8),e.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),e.Y36(Ge.tE),e.Y36(e.SBq),e.Y36(Ge.$s,8),e.Y36(bc,8))},n.\u0275cmp=e.Xpm({type:n,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(t,i){1&t&&e.NdJ("click",function(){return i._handleClick()})("keydown",function(l){return i._handleKeydown(l)})("mouseenter",function(){return i._setIndicatorHintVisible(!0)})("mouseleave",function(){return i._setIndicatorHintVisible(!1)}),2&t&&(e.uIk("aria-sort",i._getAriaSortAttribute()),e.ekj("mat-sort-header-disabled",i._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[e.qOj],attrs:I_,ngContentSelectors:Pf,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(t,i){1&t&&(e.F$t(),e.TgZ(0,"div",0)(1,"div",1),e.Hsn(2),e.qZA(),e.YNc(3,Kp,6,6,"div",2),e.qZA()),2&t&&(e.ekj("mat-sort-header-sorted",i._isSorted())("mat-sort-header-position-before","before"===i.arrowPosition),e.uIk("tabindex",i._isDisabled()?null:0)("role",i._isDisabled()?null:"button"),e.xp6(3),e.Q6J("ngIf",i._renderArrow()))},dependencies:[_e.O5],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],encapsulation:2,data:{animation:[gs.indicator,gs.leftPointer,gs.rightPointer,gs.arrowOpacity,gs.arrowPosition,gs.allowChildren]},changeDetection:0}),n})(),Ff=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[m0],imports:[_e.ez,b.BQ]}),n})();function Sm(n,o){1&n&&e.Hsn(0)}const Am=["*"];let Lm=(()=>{class n{constructor(t){this._elementRef=t}focus(){this._elementRef.nativeElement.focus()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]}),n})(),Om=(()=>{class n{constructor(t){this.template=t}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkStepLabel",""]]}),n})(),Gd=0;const Qc=new e.OlP("STEPPER_GLOBAL_OPTIONS");let N_=(()=>{class n{constructor(t,i){this._stepper=t,this.interacted=!1,this.interactedStream=new e.vpe,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=i||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}get editable(){return this._editable}set editable(t){this._editable=(0,le.Ig)(t)}get optional(){return this._optional}set optional(t){this._optional=(0,le.Ig)(t)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(t){this._completedOverride=(0,le.Ig)(t)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(t){this._customError=(0,le.Ig)(t)}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}select(){this._stepper.selected=this}reset(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){var t;return null!==(t=this._stepperOptions.showError)&&void 0!==t?t:null!=this._customError}}return n.\u0275fac=function(t){return new(t||n)(e.Y36((0,e.Gpc)(()=>Kd)),e.Y36(Qc,8))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cdk-step"]],contentQueries:function(t,i,a){if(1&t&&e.Suo(a,Om,5),2&t){let l;e.iGM(l=e.CRH())&&(i.stepLabel=l.first)}},viewQuery:function(t,i){if(1&t&&e.Gf(e.Rgc,7),2&t){let a;e.iGM(a=e.CRH())&&(i.content=a.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state",editable:"editable",optional:"optional",completed:"completed",hasError:"hasError"},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[e.TTD],ngContentSelectors:Am,decls:1,vars:0,template:function(t,i){1&t&&(e.F$t(),e.YNc(0,Sm,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),n})(),Kd=(()=>{class n{constructor(t,i,a){this._dir=t,this._changeDetectorRef=i,this._elementRef=a,this._destroyed=new Ye.x,this.steps=new e.n_E,this._sortedHeaders=new e.n_E,this._linear=!1,this._selectedIndex=0,this.selectionChange=new e.vpe,this._orientation="horizontal",this._groupId=Gd++}get linear(){return this._linear}set linear(t){this._linear=(0,le.Ig)(t)}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){var i;const a=(0,le.su)(t);this.steps&&this._steps?(this._isValidIndex(a),null===(i=this.selected)||void 0===i||i._markAsInteracted(),this._selectedIndex!==a&&!this._anyControlsInvalidOrPending(a)&&(a>=this._selectedIndex||this.steps.toArray()[a].editable)&&this._updateSelectedItemIndex(a)):this._selectedIndex=a}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(t){this.selectedIndex=t&&this.steps?this.steps.toArray().indexOf(t):-1}get orientation(){return this._orientation}set orientation(t){this._orientation=t,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===t)}ngAfterContentInit(){this._steps.changes.pipe((0,mt.O)(this._steps),(0,$i.R)(this._destroyed)).subscribe(t=>{this.steps.reset(t.filter(i=>i._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe((0,mt.O)(this._stepHeader),(0,$i.R)(this._destroyed)).subscribe(t=>{this._sortedHeaders.reset(t.toArray().sort((i,a)=>i._elementRef.nativeElement.compareDocumentPosition(a._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new Ge.Em(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,ie.of)()).pipe((0,mt.O)(this._layoutDirection()),(0,$i.R)(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(t=>t.reset()),this._stateChanged()}_getStepLabelId(t){return`cdk-step-label-${this._groupId}-${t}`}_getStepContentId(t){return`cdk-step-content-${this._groupId}-${t}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(t){const i=t-this._selectedIndex;return i<0?"rtl"===this._layoutDirection()?"next":"previous":i>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(t,i="number"){const a=this.steps.toArray()[t],l=this._isCurrentStep(t);return a._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(a,l):this._getGuidelineLogic(a,l,i)}_getDefaultIndicatorLogic(t,i){return t._showError()&&t.hasError&&!i?"error":!t.completed||i?"number":t.editable?"edit":"done"}_getGuidelineLogic(t,i,a="number"){return t._showError()&&t.hasError&&!i?"error":t.completed&&!i?"done":t.completed&&i?a:t.editable&&i?"edit":a}_isCurrentStep(t){return this._selectedIndex===t}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(t){const i=this.steps.toArray();this.selectionChange.emit({selectedIndex:t,previouslySelectedIndex:this._selectedIndex,selectedStep:i[t],previouslySelectedStep:i[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(t):this._keyManager.updateActiveItem(t),this._selectedIndex=t,this._stateChanged()}_onKeydown(t){const i=(0,tt.Vb)(t),a=t.keyCode,l=this._keyManager;null==l.activeItemIndex||i||a!==tt.L_&&a!==tt.K5?l.onKeydown(t):(this.selectedIndex=l.activeItemIndex,t.preventDefault())}_anyControlsInvalidOrPending(t){return!!(this._linear&&t>=0)&&this.steps.toArray().slice(0,t).some(i=>{const a=i.stepControl;return(a?a.invalid||a.pending||!i.interacted:!i.completed)&&!i.optional&&!i._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const t=this._elementRef.nativeElement,i=(0,Le.ht)();return t===i||t.contains(i)}_isValidIndex(t){return t>-1&&(!this.steps||t{class n{constructor(t){this._stepper=t,this.type="submit"}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Kd))},n.\u0275dir=e.lG2({type:n,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(t,i){1&t&&e.NdJ("click",function(){return i._stepper.next()}),2&t&&e.Ikx("type",i.type)},inputs:{type:"type"}}),n})(),f0=(()=>{class n{constructor(t){this._stepper=t,this.type="button"}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Kd))},n.\u0275dir=e.lG2({type:n,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(t,i){1&t&&e.NdJ("click",function(){return i._stepper.previous()}),2&t&&e.Ikx("type",i.type)},inputs:{type:"type"}}),n})(),Bf=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[ke.vT]}),n})();var Uf=C(1884);function jp(n,o){if(1&n&&e.GkF(0,8),2&n){const t=e.oxw();e.Q6J("ngTemplateOutlet",t.iconOverrides[t.state])("ngTemplateOutletContext",t._getIconContext())}}function B_(n,o){if(1&n&&(e.TgZ(0,"span",13),e._uU(1),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Oqu(t._getDefaultTextForState(t.state))}}function Xc(n,o){if(1&n&&(e.TgZ(0,"span",14),e._uU(1),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Oqu(t._intl.completedLabel)}}function km(n,o){if(1&n&&(e.TgZ(0,"span",14),e._uU(1),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Oqu(t._intl.editableLabel)}}function U_(n,o){if(1&n&&(e.TgZ(0,"mat-icon",13),e._uU(1),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Oqu(t._getDefaultTextForState(t.state))}}function ir(n,o){if(1&n&&(e.ynx(0,9),e.YNc(1,B_,2,1,"span",10),e.YNc(2,Xc,2,1,"span",11),e.YNc(3,km,2,1,"span",11),e.YNc(4,U_,2,1,"mat-icon",12),e.BQk()),2&n){const t=e.oxw();e.Q6J("ngSwitch",t.state),e.xp6(1),e.Q6J("ngSwitchCase","number"),e.xp6(1),e.Q6J("ngIf","done"===t.state),e.xp6(1),e.Q6J("ngIf","edit"===t.state)}}function Zf(n,o){if(1&n&&(e.TgZ(0,"div",15),e.GkF(1,16),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngTemplateOutlet",t._templateLabel().template)}}function Im(n,o){if(1&n&&(e.TgZ(0,"div",15),e._uU(1),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Oqu(t.label)}}function oa(n,o){if(1&n&&(e.TgZ(0,"div",17),e._uU(1),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Oqu(t._intl.optionalLabel)}}function ed(n,o){if(1&n&&(e.TgZ(0,"div",18),e._uU(1),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Oqu(t.errorMessage)}}function jd(n,o){}function Wd(n,o){if(1&n&&(e.Hsn(0),e.YNc(1,jd,0,0,"ng-template",0)),2&n){const t=e.oxw();e.xp6(1),e.Q6J("cdkPortalOutlet",t._portal)}}const Yf=["*"];function C0(n,o){1&n&&e._UZ(0,"div",11)}const Au=function(n,o){return{step:n,i:o}};function Hf(n,o){if(1&n&&(e.ynx(0),e.GkF(1,9),e.YNc(2,C0,1,0,"div",10),e.BQk()),2&n){const t=o.$implicit,i=o.index,a=o.last;e.oxw(2);const l=e.MAs(4);e.xp6(1),e.Q6J("ngTemplateOutlet",l)("ngTemplateOutletContext",e.WLB(3,Au,t,i)),e.xp6(1),e.Q6J("ngIf",!a)}}const Wp=function(n){return{animationDuration:n}},Z_=function(n,o){return{value:n,params:o}};function qp(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",12),e.NdJ("@horizontalStepTransition.done",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l._animationDone.next(a))}),e.GkF(1,13),e.qZA()}if(2&n){const t=o.$implicit,i=o.index,a=e.oxw(2);e.ekj("mat-horizontal-stepper-content-inactive",a.selectedIndex!==i),e.Q6J("@horizontalStepTransition",e.WLB(8,Z_,a._getAnimationDirection(i),e.VKq(6,Wp,a._getAnimationDuration())))("id",a._getStepContentId(i)),e.uIk("aria-labelledby",a._getStepLabelId(i)),e.xp6(1),e.Q6J("ngTemplateOutlet",t.content)}}function Jp(n,o){if(1&n&&(e.TgZ(0,"div",4)(1,"div",5),e.YNc(2,Hf,3,6,"ng-container",6),e.qZA(),e.TgZ(3,"div",7),e.YNc(4,qp,2,11,"div",8),e.qZA()()),2&n){const t=e.oxw();e.xp6(2),e.Q6J("ngForOf",t.steps),e.xp6(2),e.Q6J("ngForOf",t.steps)}}function Pm(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",15),e.GkF(1,9),e.TgZ(2,"div",16)(3,"div",17),e.NdJ("@verticalStepTransition.done",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l._animationDone.next(a))}),e.TgZ(4,"div",18),e.GkF(5,13),e.qZA()()()()}if(2&n){const t=o.$implicit,i=o.index,a=o.last,l=e.oxw(2),h=e.MAs(4);e.xp6(1),e.Q6J("ngTemplateOutlet",h)("ngTemplateOutletContext",e.WLB(10,Au,t,i)),e.xp6(1),e.ekj("mat-stepper-vertical-line",!a),e.xp6(1),e.ekj("mat-vertical-stepper-content-inactive",l.selectedIndex!==i),e.Q6J("@verticalStepTransition",e.WLB(15,Z_,l._getAnimationDirection(i),e.VKq(13,Wp,l._getAnimationDuration())))("id",l._getStepContentId(i)),e.uIk("aria-labelledby",l._getStepLabelId(i)),e.xp6(2),e.Q6J("ngTemplateOutlet",t.content)}}function Y_(n,o){if(1&n&&(e.ynx(0),e.YNc(1,Pm,6,18,"div",14),e.BQk()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.steps)}}function Lu(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-step-header",19),e.NdJ("click",function(){const l=e.CHM(t).step;return e.KtG(l.select())})("keydown",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l._onKeydown(a))}),e.qZA()}if(2&n){const t=o.step,i=o.i,a=e.oxw();e.ekj("mat-horizontal-stepper-header","horizontal"===a.orientation)("mat-vertical-stepper-header","vertical"===a.orientation),e.Q6J("tabIndex",a._getFocusIndex()===i?0:-1)("id",a._getStepLabelId(i))("index",i)("state",a._getIndicatorType(i,t.state))("label",t.stepLabel||t.label)("selected",a.selectedIndex===i)("active",a._stepIsNavigable(i,t))("optional",t.optional)("errorMessage",t.errorMessage)("iconOverrides",a._iconOverrides)("disableRipple",a.disableRipple||!a._stepIsNavigable(i,t))("color",t.color||a.color),e.uIk("aria-posinset",i+1)("aria-setsize",a.steps.length)("aria-controls",a._getStepContentId(i))("aria-selected",a.selectedIndex==i)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null)("aria-disabled",!a._stepIsNavigable(i,t)||null)}}let Ou=(()=>{class n extends Om{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["","matStepLabel",""]],features:[e.qOj]}),n})(),td=(()=>{class n{constructor(){this.changes=new Ye.x,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const zp={provide:td,deps:[[new e.FiY,new e.tp0,td]],useFactory:function $p(n){return n||new td}},ku=(0,b.pj)(class extends Lm{constructor(o){super(o)}},"primary");let Rm=(()=>{class n extends ku{constructor(t,i,a,l){super(a),this._intl=t,this._focusMonitor=i,this._intlSubscription=t.changes.subscribe(()=>l.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(t,i){t?this._focusMonitor.focusVia(this._elementRef,t,i):this._elementRef.nativeElement.focus(i)}_stringLabel(){return this.label instanceof Ou?null:this.label}_templateLabel(){return this.label instanceof Ou?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(t){return"number"==t?`${this.index+1}`:"edit"==t?"create":"error"==t?"warning":t}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(td),e.Y36(Ge.tE),e.Y36(e.SBq),e.Y36(e.sBO))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],inputs:{color:"color",state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple"},features:[e.qOj],decls:10,vars:19,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content",3,"ngSwitch"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngSwitch",4,"ngSwitchDefault"],[1,"mat-step-label"],["class","mat-step-text-label",4,"ngIf"],["class","mat-step-optional",4,"ngIf"],["class","mat-step-sub-label-error",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],["aria-hidden","true",4,"ngSwitchCase"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true",4,"ngSwitchDefault"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[1,"mat-step-text-label"],[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(t,i){1&t&&(e._UZ(0,"div",0),e.TgZ(1,"div")(2,"div",1),e.YNc(3,jp,1,2,"ng-container",2),e.YNc(4,ir,5,4,"ng-container",3),e.qZA()(),e.TgZ(5,"div",4),e.YNc(6,Zf,2,1,"div",5),e.YNc(7,Im,2,1,"div",5),e.YNc(8,oa,2,1,"div",6),e.YNc(9,ed,2,1,"div",7),e.qZA()),2&t&&(e.Q6J("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disableRipple),e.xp6(1),e.Gre("mat-step-icon-state-",i.state," mat-step-icon"),e.ekj("mat-step-icon-selected",i.selected),e.xp6(1),e.Q6J("ngSwitch",!(!i.iconOverrides||!i.iconOverrides[i.state])),e.xp6(1),e.Q6J("ngSwitchCase",!0),e.xp6(2),e.ekj("mat-step-label-active",i.active)("mat-step-label-selected",i.selected)("mat-step-label-error","error"==i.state),e.xp6(1),e.Q6J("ngIf",i._templateLabel()),e.xp6(1),e.Q6J("ngIf",i._stringLabel()),e.xp6(1),e.Q6J("ngIf",i.optional&&"error"!=i.state),e.xp6(1),e.Q6J("ngIf","error"==i.state))},dependencies:[_e.O5,_e.tP,_e.RF,_e.n9,_e.ED,So,b.wG],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.cdk-high-contrast-active .mat-step-header[aria-disabled=true]{outline-color:GrayText}.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-label,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-icon,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}.mat-step-optional,.mat-step-sub-label-error{font-size:12px}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,changeDetection:0}),n})();const Nm={horizontalStepTransition:(0,ne.X$)("horizontalStepTransition",[(0,ne.SB)("previous",(0,ne.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),(0,ne.SB)("current",(0,ne.oB)({transform:"none",visibility:"inherit"})),(0,ne.SB)("next",(0,ne.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),(0,ne.eR)("* => *",(0,ne.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),{params:{animationDuration:"500ms"}})]),verticalStepTransition:(0,ne.X$)("verticalStepTransition",[(0,ne.SB)("previous",(0,ne.oB)({height:"0px",visibility:"hidden"})),(0,ne.SB)("next",(0,ne.oB)({height:"0px",visibility:"hidden"})),(0,ne.SB)("current",(0,ne.oB)({height:"*",visibility:"inherit"})),(0,ne.eR)("* <=> current",(0,ne.jt)("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),{params:{animationDuration:"225ms"}})])};let Xp=(()=>{class n{constructor(t){this.templateRef=t}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc))},n.\u0275dir=e.lG2({type:n,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}}),n})(),eh=(()=>{class n{constructor(t){this._template=t}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc))},n.\u0275dir=e.lG2({type:n,selectors:[["ng-template","matStepContent",""]]}),n})(),Iu=(()=>{class n extends N_{constructor(t,i,a,l){super(t,l),this._errorStateMatcher=i,this._viewContainerRef=a,this._isSelected=Ta.w0.EMPTY}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,Wc.w)(()=>this._stepper.selectionChange.pipe((0,Mn.U)(t=>t.selectedStep===this),(0,mt.O)(this._stepper.selected===this)))).subscribe(t=>{t&&this._lazyContent&&!this._portal&&(this._portal=new at.UE(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(t,i){return this._errorStateMatcher.isErrorState(t,i)||!!(t&&t.invalid&&this.interacted)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36((0,e.Gpc)(()=>H_)),e.Y36(b.rD,4),e.Y36(e.s_b),e.Y36(Qc,8))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-step"]],contentQueries:function(t,i,a){if(1&t&&(e.Suo(a,Ou,5),e.Suo(a,eh,5)),2&t){let l;e.iGM(l=e.CRH())&&(i.stepLabel=l.first),e.iGM(l=e.CRH())&&(i._lazyContent=l.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[e._Bn([{provide:b.rD,useExisting:n},{provide:N_,useExisting:n}]),e.qOj],ngContentSelectors:Yf,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(t,i){1&t&&(e.F$t(),e.YNc(0,Wd,2,1,"ng-template"))},dependencies:[at.Pl],encapsulation:2,changeDetection:0}),n})(),H_=(()=>{class n extends Kd{constructor(t,i,a){super(t,i,a),this.steps=new e.n_E,this.animationDone=new e.vpe,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new Ye.x,this._animationDuration="";const l=a.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===l?"vertical":"horizontal"}get animationDuration(){return this._animationDuration}set animationDuration(t){this._animationDuration=/^\d+$/.test(t)?t+"ms":t}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:t,templateRef:i})=>this._iconOverrides[t]=i),this.steps.changes.pipe((0,$i.R)(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe((0,Uf.x)((t,i)=>t.fromState===i.fromState&&t.toState===i.toState),(0,$i.R)(this._destroyed)).subscribe(t=>{"current"===t.toState&&this.animationDone.emit()})}_stepIsNavigable(t,i){return i.completed||this.selectedIndex===t||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(ke.Is,8),e.Y36(e.sBO),e.Y36(e.SBq))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(t,i,a){if(1&t&&(e.Suo(a,Iu,5),e.Suo(a,Xp,5)),2&t){let l;e.iGM(l=e.CRH())&&(i._steps=l),e.iGM(l=e.CRH())&&(i._icons=l)}},viewQuery:function(t,i){if(1&t&&e.Gf(Rm,5),2&t){let a;e.iGM(a=e.CRH())&&(i._stepHeader=a)}},hostAttrs:["role","tablist"],hostVars:11,hostBindings:function(t,i){2&t&&(e.uIk("aria-orientation",i.orientation),e.ekj("mat-stepper-horizontal","horizontal"===i.orientation)("mat-stepper-vertical","vertical"===i.orientation)("mat-stepper-label-position-end","horizontal"===i.orientation&&"end"==i.labelPosition)("mat-stepper-label-position-bottom","horizontal"===i.orientation&&"bottom"==i.labelPosition)("mat-stepper-header-position-bottom","bottom"===i.headerPosition))},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[e._Bn([{provide:Kd,useExisting:n}]),e.qOj],decls:5,vars:3,consts:[[3,"ngSwitch"],["class","mat-horizontal-stepper-wrapper",4,"ngSwitchCase"],[4,"ngSwitchCase"],["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[4,"ngFor","ngForOf"],[1,"mat-horizontal-content-container"],["class","mat-horizontal-stepper-content","role","tabpanel",3,"id","mat-horizontal-stepper-content-inactive",4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","mat-stepper-horizontal-line",4,"ngIf"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],["class","mat-step",4,"ngFor","ngForOf"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color","click","keydown"]],template:function(t,i){1&t&&(e.ynx(0,0),e.YNc(1,Jp,5,2,"div",1),e.YNc(2,Y_,2,1,"ng-container",2),e.BQk(),e.YNc(3,Lu,1,23,"ng-template",null,3,e.W1O)),2&t&&(e.Q6J("ngSwitch",i.orientation),e.xp6(1),e.Q6J("ngSwitchCase","horizontal"),e.xp6(1),e.Q6J("ngSwitchCase","vertical"))},dependencies:[_e.sg,_e.O5,_e.tP,_e.RF,_e.n9,Rm],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-inactive{height:0;overflow:hidden}.mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive){visibility:inherit !important}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-stepper-content:not(.mat-vertical-stepper-content-inactive){visibility:inherit !important}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}'],encapsulation:2,data:{animation:[Nm.horizontalStepTransition,Nm.verticalStepTransition]},changeDetection:0}),n})(),yc=(()=>{class n extends g0{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(t,i){2&t&&e.Ikx("type",i.type)},inputs:{type:"type"},features:[e.qOj]}),n})(),Vf=(()=>{class n extends f0{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(t,i){2&t&&e.Ikx("type",i.type)},inputs:{type:"type"},features:[e.qOj]}),n})(),Bm=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[zp,b.rD],imports:[b.BQ,_e.ez,at.eL,Y.ot,Bf,Ps,b.si,b.BQ]}),n})();var v0=C(2076),Dl=C(1135),Pu=C(5191);const Gf=[[["caption"]],[["colgroup"],["col"]]],th=["caption","colgroup, col"];function G_(n){return class extends n{constructor(...o){super(...o),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(o){const t=this._sticky;this._sticky=(0,le.Ig)(o),this._hasStickyChanged=t!==this._sticky}hasStickyChanged(){const o=this._hasStickyChanged;return this._hasStickyChanged=!1,o}resetStickyChanged(){this._hasStickyChanged=!1}}}const id=new e.OlP("CDK_TABLE");let Zs=(()=>{class n{constructor(t){this.template=t}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkCellDef",""]]}),n})(),qd=(()=>{class n{constructor(t){this.template=t}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkHeaderCellDef",""]]}),n})(),K_=(()=>{class n{constructor(t){this.template=t}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkFooterCellDef",""]]}),n})();class Zm{}const Kf=G_(Zm);let ql=(()=>{class n extends Kf{constructor(t){super(),this._table=t,this._stickyEnd=!1}get name(){return this._name}set name(t){this._setNameInput(t)}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){const i=this._stickyEnd;this._stickyEnd=(0,le.Ig)(t),this._hasStickyChanged=i!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(id,8))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,i,a){if(1&t&&(e.Suo(a,Zs,5),e.Suo(a,qd,5),e.Suo(a,K_,5)),2&t){let l;e.iGM(l=e.CRH())&&(i.cell=l.first),e.iGM(l=e.CRH())&&(i.headerCell=l.first),e.iGM(l=e.CRH())&&(i.footerCell=l.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[e._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),e.qOj]}),n})();class ll{constructor(o,t){t.nativeElement.classList.add(...o._columnCssClassName)}}let Jl=(()=>{class n extends ll{constructor(t,i){super(t,i)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(ql),e.Y36(e.SBq))},n.\u0275dir=e.lG2({type:n,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[e.qOj]}),n})(),nh=(()=>{class n extends ll{constructor(t,i){var a;if(super(t,i),1===(null===(a=t._table)||void 0===a?void 0:a._elementRef.nativeElement.nodeType)){const l=t._table._elementRef.nativeElement.getAttribute("role");i.nativeElement.setAttribute("role","grid"===l||"treegrid"===l?"gridcell":"cell")}}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(ql),e.Y36(e.SBq))},n.\u0275dir=e.lG2({type:n,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[e.qOj]}),n})();class Hm{constructor(){this.tasks=[],this.endTasks=[]}}const ah=new e.OlP("_COALESCED_STYLE_SCHEDULER");let Vm=(()=>{class n{constructor(t){this._ngZone=t,this._currentSchedule=null,this._destroyed=new Ye.x}schedule(t){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(t)}scheduleEnd(t){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(t)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new Hm,this._getScheduleObservable().pipe((0,$i.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const t=this._currentSchedule;this._currentSchedule=new Hm;for(const i of t.tasks)i();for(const i of t.endTasks)i()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,v0.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,yn.q)(1))}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(e.R0b))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})(),Ru=(()=>{class n{constructor(t,i){this.template=t,this._differs=i}ngOnChanges(t){if(!this._columnsDiffer){const i=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(i).create(),this._columnsDiffer.diff(i)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(t){return this instanceof Fu?t.headerCell.template:this instanceof fs?t.footerCell.template:t.cell.template}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc),e.Y36(e.ZZ4))},n.\u0275dir=e.lG2({type:n,features:[e.TTD]}),n})();class jf extends Ru{}const Wf=G_(jf);let Fu=(()=>{class n extends Wf{constructor(t,i,a){super(t,i),this._table=a}ngOnChanges(t){super.ngOnChanges(t)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(id,8))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[e.qOj,e.TTD]}),n})();class qf extends Ru{}const j_=G_(qf);let fs=(()=>{class n extends j_{constructor(t,i,a){super(t,i),this._table=a}ngOnChanges(t){super.ngOnChanges(t)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(id,8))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[e.qOj,e.TTD]}),n})(),Tc=(()=>{class n extends Ru{constructor(t,i,a){super(t,i),this._table=a}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(id,8))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[e.qOj]}),n})(),El=(()=>{class n{constructor(t){this._viewContainer=t,n.mostRecentCellOutlet=this}ngOnDestroy(){n.mostRecentCellOutlet===this&&(n.mostRecentCellOutlet=null)}}return n.mostRecentCellOutlet=null,n.\u0275fac=function(t){return new(t||n)(e.Y36(e.s_b))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkCellOutlet",""]]}),n})(),Nu=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,i){1&t&&e.GkF(0,0)},dependencies:[El],encapsulation:2}),n})(),oh=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,i){1&t&&e.GkF(0,0)},dependencies:[El],encapsulation:2}),n})(),Mc=(()=>{class n{constructor(t){this.templateRef=t,this._contentClassName="cdk-no-data-row"}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc))},n.\u0275dir=e.lG2({type:n,selectors:[["ng-template","cdkNoDataRow",""]]}),n})();const Gm=["top","bottom","left","right"];class rh{constructor(o,t,i,a,l=!0,h=!0,E){this._isNativeHtmlTable=o,this._stickCellCss=t,this.direction=i,this._coalescedStyleScheduler=a,this._isBrowser=l,this._needsPositionStickyOnElement=h,this._positionListener=E,this._cachedCellWidths=[],this._borderCellCss={top:`${t}-border-elem-top`,bottom:`${t}-border-elem-bottom`,left:`${t}-border-elem-left`,right:`${t}-border-elem-right`}}clearStickyPositioning(o,t){const i=[];for(const a of o)if(a.nodeType===a.ELEMENT_NODE){i.push(a);for(let l=0;l{for(const a of i)this._removeStickyStyle(a,t)})}updateStickyColumns(o,t,i,a=!0){if(!o.length||!this._isBrowser||!t.some(lt=>lt)&&!i.some(lt=>lt))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const l=o[0],h=l.children.length,E=this._getCellWidths(l,a),N=this._getStickyStartColumnPositions(E,t),oe=this._getStickyEndColumnPositions(E,i),xe=t.lastIndexOf(!0),Ve=i.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const lt="rtl"===this.direction,Ft=lt?"right":"left",ii=lt?"left":"right";for(const fi of o)for(let Wi=0;Wit[Wi]?fi:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Ve?[]:E.slice(Ve).map((fi,Wi)=>i[Wi+Ve]?fi:null).reverse()}))})}stickRows(o,t,i){if(!this._isBrowser)return;const a="bottom"===i?o.slice().reverse():o,l="bottom"===i?t.slice().reverse():t,h=[],E=[],N=[];for(let xe=0,Ve=0;xe{var xe,Ve;for(let lt=0;lt{t.some(a=>!a)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0,!1)})}_removeStickyStyle(o,t){for(const a of t)o.style[a]="",o.classList.remove(this._borderCellCss[a]);Gm.some(a=>-1===t.indexOf(a)&&o.style[a])?o.style.zIndex=this._getCalculatedZIndex(o):(o.style.zIndex="",this._needsPositionStickyOnElement&&(o.style.position=""),o.classList.remove(this._stickCellCss))}_addStickyStyle(o,t,i,a){o.classList.add(this._stickCellCss),a&&o.classList.add(this._borderCellCss[t]),o.style[t]=`${i}px`,o.style.zIndex=this._getCalculatedZIndex(o),this._needsPositionStickyOnElement&&(o.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(o){const t={top:100,bottom:10,left:1,right:1};let i=0;for(const a of Gm)o.style[a]&&(i+=t[a]);return i?`${i}`:""}_getCellWidths(o,t=!0){if(!t&&this._cachedCellWidths.length)return this._cachedCellWidths;const i=[],a=o.children;for(let l=0;l0;l--)t[l]&&(i[l]=a,a+=o[l]);return i}}const sh=new e.OlP("CDK_SPL");let Zu=(()=>{class n{constructor(t,i){this.viewContainer=t,this.elementRef=i}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.s_b),e.Y36(e.SBq))},n.\u0275dir=e.lG2({type:n,selectors:[["","rowOutlet",""]]}),n})(),Jd=(()=>{class n{constructor(t,i){this.viewContainer=t,this.elementRef=i}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.s_b),e.Y36(e.SBq))},n.\u0275dir=e.lG2({type:n,selectors:[["","headerRowOutlet",""]]}),n})(),W_=(()=>{class n{constructor(t,i){this.viewContainer=t,this.elementRef=i}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.s_b),e.Y36(e.SBq))},n.\u0275dir=e.lG2({type:n,selectors:[["","footerRowOutlet",""]]}),n})(),Ua=(()=>{class n{constructor(t,i){this.viewContainer=t,this.elementRef=i}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.s_b),e.Y36(e.SBq))},n.\u0275dir=e.lG2({type:n,selectors:[["","noDataRowOutlet",""]]}),n})(),zd=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt,Ft){this._differs=t,this._changeDetectorRef=i,this._elementRef=a,this._dir=h,this._platform=N,this._viewRepeater=oe,this._coalescedStyleScheduler=xe,this._viewportRuler=Ve,this._stickyPositioningListener=lt,this._ngZone=Ft,this._onDestroy=new Ye.x,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new e.vpe,this.viewChange=new Dl.X({start:0,end:Number.MAX_VALUE}),l||this._elementRef.nativeElement.setAttribute("role","table"),this._document=E,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(t){this._trackByFn=t}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(t){this._multiTemplateDataRows=(0,le.Ig)(t),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(t){this._fixedLayout=(0,le.Ig)(t),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((t,i)=>this.trackBy?this.trackBy(i.dataIndex,i.data):i),this._viewportRuler.change().pipe((0,$i.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const i=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||i,this._forceRecalculateCellWidths=i,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(t=>{t.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,ee.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const t=this._dataDiffer.diff(this._renderRows);if(!t)return this._updateNoDataRow(),void this.contentChanged.next();const i=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(t,i,(a,l,h)=>this._getEmbeddedViewArgs(a.item,h),a=>a.item.data,a=>{1===a.operation&&a.context&&this._renderCellTemplateForItem(a.record.item.rowDef,a.context)}),this._updateRowIndexContext(),t.forEachIdentityChange(a=>{i.get(a.currentIndex).context.$implicit=a.item.data}),this._updateNoDataRow(),this._ngZone&&e.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,yn.q)(1),(0,$i.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(t){this._customColumnDefs.add(t)}removeColumnDef(t){this._customColumnDefs.delete(t)}addRowDef(t){this._customRowDefs.add(t)}removeRowDef(t){this._customRowDefs.delete(t)}addHeaderRowDef(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}removeHeaderRowDef(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}addFooterRowDef(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}removeFooterRowDef(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}setNoDataRow(t){this._customNoDataRow=t}updateStickyHeaderRowStyles(){const t=this._getRenderedRows(this._headerRowOutlet),a=this._elementRef.nativeElement.querySelector("thead");a&&(a.style.display=t.length?"":"none");const l=this._headerRowDefs.map(h=>h.sticky);this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,l,"top"),this._headerRowDefs.forEach(h=>h.resetStickyChanged())}updateStickyFooterRowStyles(){const t=this._getRenderedRows(this._footerRowOutlet),a=this._elementRef.nativeElement.querySelector("tfoot");a&&(a.style.display=t.length?"":"none");const l=this._footerRowDefs.map(h=>h.sticky);this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,l,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,l),this._footerRowDefs.forEach(h=>h.resetStickyChanged())}updateStickyColumnStyles(){const t=this._getRenderedRows(this._headerRowOutlet),i=this._getRenderedRows(this._rowOutlet),a=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...t,...i,...a],["left","right"]),this._stickyColumnStylesNeedReset=!1),t.forEach((l,h)=>{this._addStickyColumnStyles([l],this._headerRowDefs[h])}),this._rowDefs.forEach(l=>{const h=[];for(let E=0;E{this._addStickyColumnStyles([l],this._footerRowDefs[h])}),Array.from(this._columnDefsByName.values()).forEach(l=>l.resetStickyChanged())}_getAllRenderRows(){const t=[],i=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let a=0;a{const E=a&&a.has(h)?a.get(h):[];if(E.length){const N=E.shift();return N.dataIndex=i,N}return{data:t,rowDef:h,dataIndex:i}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Yu(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(i=>{this._columnDefsByName.has(i.name),this._columnDefsByName.set(i.name,i)})}_cacheRowDefs(){this._headerRowDefs=Yu(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Yu(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Yu(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const t=this._rowDefs.filter(i=>!i.when);this._defaultRowDef=t[0]}_renderUpdatedColumns(){const t=(h,E)=>h||!!E.getColumnsDiff(),i=this._rowDefs.reduce(t,!1);i&&this._forceRenderDataRows();const a=this._headerRowDefs.reduce(t,!1);a&&this._forceRenderHeaderRows();const l=this._footerRowDefs.reduce(t,!1);return l&&this._forceRenderFooterRows(),i||a||l}_switchDataSource(t){this._data=[],(0,ee.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=t}_observeRenderChanges(){if(!this.dataSource)return;let t;(0,ee.Z9)(this.dataSource)?t=this.dataSource.connect(this):(0,Pu.b)(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=(0,ie.of)(this.dataSource)),this._renderChangeSubscription=t.pipe((0,$i.R)(this._onDestroy)).subscribe(i=>{this._data=i||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((t,i)=>this._renderRow(this._headerRowOutlet,t,i)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,i)=>this._renderRow(this._footerRowOutlet,t,i)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(t,i){const a=Array.from(i.columns||[]).map(E=>this._columnDefsByName.get(E)),l=a.map(E=>E.sticky),h=a.map(E=>E.stickyEnd);this._stickyStyler.updateStickyColumns(t,l,h,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(t){const i=[];for(let a=0;a!l.when||l.when(i,t));else{let l=this._rowDefs.find(h=>h.when&&h.when(i,t))||this._defaultRowDef;l&&a.push(l)}return a}_getEmbeddedViewArgs(t,i){return{templateRef:t.rowDef.template,context:{$implicit:t.data},index:i}}_renderRow(t,i,a,l={}){const h=t.viewContainer.createEmbeddedView(i.template,l,a);return this._renderCellTemplateForItem(i,l),h}_renderCellTemplateForItem(t,i){for(let a of this._getCellTemplates(t))El.mostRecentCellOutlet&&El.mostRecentCellOutlet._viewContainer.createEmbeddedView(a,i);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const t=this._rowOutlet.viewContainer;for(let i=0,a=t.length;i{const a=this._columnDefsByName.get(i);return t.extractCellTemplate(a)}):[]}_applyNativeTableSections(){const t=this._document.createDocumentFragment(),i=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const a of i){const l=this._document.createElement(a.tag);l.setAttribute("role","rowgroup");for(const h of a.outlets)l.appendChild(h.elementRef.nativeElement);t.appendChild(l)}this._elementRef.nativeElement.appendChild(t)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const t=(i,a)=>i||a.hasStickyChanged();this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new rh(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,ie.of)()).pipe((0,$i.R)(this._onDestroy)).subscribe(i=>{this._stickyStyler.direction=i,this.updateStickyColumnStyles()})}_getOwnDefs(t){return t.filter(i=>!i._table||i._table===this)}_updateNoDataRow(){const t=this._customNoDataRow||this._noDataRow;if(!t)return;const i=0===this._rowOutlet.viewContainer.length;if(i===this._isShowingNoDataRow)return;const a=this._noDataRowOutlet.viewContainer;if(i){const l=a.createEmbeddedView(t.templateRef),h=l.rootNodes[0];1===l.rootNodes.length&&(null==h?void 0:h.nodeType)===this._document.ELEMENT_NODE&&(h.setAttribute("role","row"),h.classList.add(t._contentClassName))}else a.clear();this._isShowingNoDataRow=i}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.ZZ4),e.Y36(e.sBO),e.Y36(e.SBq),e.$8M("role"),e.Y36(ke.Is,8),e.Y36(_e.K0),e.Y36(Le.t4),e.Y36(ee.k),e.Y36(ah),e.Y36(Nn.rL),e.Y36(sh,12),e.Y36(e.R0b,8))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,i,a){if(1&t&&(e.Suo(a,Mc,5),e.Suo(a,ql,5),e.Suo(a,Tc,5),e.Suo(a,Fu,5),e.Suo(a,fs,5)),2&t){let l;e.iGM(l=e.CRH())&&(i._noDataRow=l.first),e.iGM(l=e.CRH())&&(i._contentColumnDefs=l),e.iGM(l=e.CRH())&&(i._contentRowDefs=l),e.iGM(l=e.CRH())&&(i._contentHeaderRowDefs=l),e.iGM(l=e.CRH())&&(i._contentFooterRowDefs=l)}},viewQuery:function(t,i){if(1&t&&(e.Gf(Zu,7),e.Gf(Jd,7),e.Gf(W_,7),e.Gf(Ua,7)),2&t){let a;e.iGM(a=e.CRH())&&(i._rowOutlet=a.first),e.iGM(a=e.CRH())&&(i._headerRowOutlet=a.first),e.iGM(a=e.CRH())&&(i._footerRowOutlet=a.first),e.iGM(a=e.CRH())&&(i._noDataRowOutlet=a.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,i){2&t&&e.ekj("cdk-table-fixed-layout",i.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[e._Bn([{provide:id,useExisting:n},{provide:ee.k,useClass:ee.yy},{provide:ah,useClass:Vm},{provide:sh,useValue:null}])],ngContentSelectors:th,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,i){1&t&&(e.F$t(Gf),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[Zu,Jd,W_,Ua],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),n})();function Yu(n,o){return n.concat(Array.from(o))}let zf=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[Nn.Cl]}),n})();const Jm=[[["caption"]],[["colgroup"],["col"]]],Hu=["caption","colgroup, col"];let nr=(()=>{class n extends zd{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(t,i){2&t&&e.ekj("mat-table-fixed-layout",i.fixedLayout)},exportAs:["matTable"],features:[e._Bn([{provide:ee.k,useClass:ee.yy},{provide:zd,useExisting:n},{provide:id,useExisting:n},{provide:ah,useClass:Vm},{provide:sh,useValue:null}]),e.qOj],ngContentSelectors:Hu,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,i){1&t&&(e.F$t(Jm),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[Zu,Jd,W_,Ua],styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),n})(),Ko=(()=>{class n extends Zs{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["","matCellDef",""]],features:[e._Bn([{provide:Zs,useExisting:n}]),e.qOj]}),n})(),jo=(()=>{class n extends qd{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["","matHeaderCellDef",""]],features:[e._Bn([{provide:qd,useExisting:n}]),e.qOj]}),n})(),Ao=(()=>{class n extends ql{get name(){return this._name}set name(t){this._setNameInput(t)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[e._Bn([{provide:ql,useExisting:n},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),e.qOj]}),n})(),Lo=(()=>{class n extends Jl{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[e.qOj]}),n})(),co=(()=>{class n extends nh{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[e.qOj]}),n})(),Oo=(()=>{class n extends Fu{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[e._Bn([{provide:Fu,useExisting:n}]),e.qOj]}),n})(),ar=(()=>{class n extends Tc{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[e._Bn([{provide:Tc,useExisting:n}]),e.qOj]}),n})(),Cr=(()=>{class n extends Nu{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[e._Bn([{provide:Nu,useExisting:n}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,i){1&t&&e.GkF(0,0)},dependencies:[El],encapsulation:2}),n})(),Ja=(()=>{class n extends oh{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[e._Bn([{provide:oh,useExisting:n}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,i){1&t&&e.GkF(0,0)},dependencies:[El],encapsulation:2}),n})(),lh=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[zf,b.BQ,b.BQ]}),n})();var va=C(3251);let Xm=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[b.BQ,b.BQ]}),n})();class ch extends class Dc{constructor(){this.expansionModel=new ee.Ov(!0)}toggle(o){this.expansionModel.toggle(this._trackByValue(o))}expand(o){this.expansionModel.select(this._trackByValue(o))}collapse(o){this.expansionModel.deselect(this._trackByValue(o))}isExpanded(o){return this.expansionModel.isSelected(this._trackByValue(o))}toggleDescendants(o){this.expansionModel.isSelected(this._trackByValue(o))?this.collapseDescendants(o):this.expandDescendants(o)}collapseAll(){this.expansionModel.clear()}expandDescendants(o){let t=[o];t.push(...this.getDescendants(o)),this.expansionModel.select(...t.map(i=>this._trackByValue(i)))}collapseDescendants(o){let t=[o];t.push(...this.getDescendants(o)),this.expansionModel.deselect(...t.map(i=>this._trackByValue(i)))}_trackByValue(o){return this.trackBy?this.trackBy(o):o}}{constructor(o,t,i){super(),this.getLevel=o,this.isExpandable=t,this.options=i,this.options&&(this.trackBy=this.options.trackBy)}getDescendants(o){const i=[];for(let a=this.dataNodes.indexOf(o)+1;athis._trackByValue(o)))}}const Xd=new e.OlP("CDK_TREE_NODE_OUTLET_NODE");let cl=(()=>{class n{constructor(t,i){this.viewContainer=t,this._node=i}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.s_b),e.Y36(Xd,8))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkTreeNodeOutlet",""]]}),n})();class eg{constructor(o){this.$implicit=o}}let eu=(()=>{class n{constructor(t){this.template=t}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:["cdkTreeNodeDefWhen","when"]}}),n})(),Wo=(()=>{class n{constructor(t,i){this._differs=t,this._changeDetectorRef=i,this._onDestroy=new Ye.x,this._levels=new Map,this.viewChange=new Dl.X({start:0,end:Number.MAX_VALUE})}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}ngOnInit(){this._dataDiffer=this._differs.find([]).create(this.trackBy)}ngOnDestroy(){this._nodeOutlet.viewContainer.clear(),this.viewChange.complete(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null)}ngAfterContentChecked(){const t=this._nodeDefs.filter(i=>!i.when);this._defaultNodeDef=t[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(t){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),t||this._nodeOutlet.viewContainer.clear(),this._dataSource=t,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let t;(0,ee.Z9)(this._dataSource)?t=this._dataSource.connect(this):(0,Pu.b)(this._dataSource)?t=this._dataSource:Array.isArray(this._dataSource)&&(t=(0,ie.of)(this._dataSource)),t&&(this._dataSubscription=t.pipe((0,$i.R)(this._onDestroy)).subscribe(i=>this.renderNodeChanges(i)))}renderNodeChanges(t,i=this._dataDiffer,a=this._nodeOutlet.viewContainer,l){const h=i.diff(t);!h||(h.forEachOperation((E,N,oe)=>{if(null==E.previousIndex)this.insertNode(t[oe],oe,a,l);else if(null==oe)a.remove(N),this._levels.delete(E.item);else{const xe=a.get(N);a.move(xe,oe)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(t,i){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(l=>l.when&&l.when(i,t))||this._defaultNodeDef}insertNode(t,i,a,l){const h=this._getNodeDef(t,i),E=new eg(t);E.level=this.treeControl.getLevel?this.treeControl.getLevel(t):void 0!==l&&this._levels.has(l)?this._levels.get(l)+1:0,this._levels.set(t,E.level),(a||this._nodeOutlet.viewContainer).createEmbeddedView(h.template,E,i),wl.mostRecentTreeNode&&(wl.mostRecentTreeNode.data=t)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.ZZ4),e.Y36(e.sBO))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cdk-tree"]],contentQueries:function(t,i,a){if(1&t&&e.Suo(a,eu,5),2&t){let l;e.iGM(l=e.CRH())&&(i._nodeDefs=l)}},viewQuery:function(t,i){if(1&t&&e.Gf(cl,7),2&t){let a;e.iGM(a=e.CRH())&&(i._nodeOutlet=a.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(t,i){1&t&&e.GkF(0,0)},dependencies:[cl],encapsulation:2}),n})(),wl=(()=>{class n{constructor(t,i){this._elementRef=t,this._tree=i,this._destroyed=new Ye.x,this._dataChanges=new Ye.x,n.mostRecentTreeNode=this,this.role="treeitem"}get role(){return"treeitem"}set role(t){this._elementRef.nativeElement.setAttribute("role",t)}get data(){return this._data}set data(t){t!==this._data&&(this._data=t,this._setRoleFromData(),this._dataChanges.next())}get isExpanded(){return this._tree.treeControl.isExpanded(this._data)}get level(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):this._parentNodeAriaLevel}ngOnInit(){this._parentNodeAriaLevel=function ig(n){let o=n.parentElement;for(;o&&!uh(o);)o=o.parentElement;return o?o.classList.contains("cdk-nested-tree-node")?(0,le.su)(o.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",`${this.level+1}`)}ngOnDestroy(){n.mostRecentTreeNode===this&&(n.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){this.role="treeitem"}}return n.mostRecentTreeNode=null,n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(Wo))},n.\u0275dir=e.lG2({type:n,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:1,hostBindings:function(t,i){2&t&&e.uIk("aria-expanded",i.isExpanded)},inputs:{role:"role"},exportAs:["cdkTreeNode"]}),n})();function uh(n){const o=n.classList;return!(!(null==o?void 0:o.contains("cdk-nested-tree-node"))&&!(null==o?void 0:o.contains("cdk-tree")))}const E0=/([A-Za-z%]+)$/;let Wu=(()=>{class n{constructor(t,i,a,l){this._treeNode=t,this._tree=i,this._element=a,this._dir=l,this._destroyed=new Ye.x,this.indentUnits="px",this._indent=40,this._setPadding(),l&&l.change.pipe((0,$i.R)(this._destroyed)).subscribe(()=>this._setPadding(!0)),t._dataChanges.subscribe(()=>this._setPadding())}get level(){return this._level}set level(t){this._setLevelInput(t)}get indent(){return this._indent}set indent(t){this._setIndentInput(t)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const t=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,i=null==this._level?t:this._level;return"number"==typeof i?`${i*this._indent}${this.indentUnits}`:null}_setPadding(t=!1){const i=this._paddingIndent();if(i!==this._currentPadding||t){const a=this._element.nativeElement,l=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",h="paddingLeft"===l?"paddingRight":"paddingLeft";a.style[l]=i||"",a.style[h]="",this._currentPadding=i}}_setLevelInput(t){this._level=(0,le.su)(t,null),this._setPadding()}_setIndentInput(t){let i=t,a="px";if("string"==typeof t){const l=t.split(E0);i=l[0],a=l[1]||a}this.indentUnits=a,this._indent=(0,le.su)(i),this._setPadding()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(wl),e.Y36(Wo),e.Y36(e.SBq),e.Y36(ke.Is,8))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:["cdkTreeNodePadding","level"],indent:["cdkTreeNodePaddingIndent","indent"]}}),n})(),Kn=(()=>{class n{constructor(t,i){this._tree=t,this._treeNode=i,this._recursive=!1}get recursive(){return this._recursive}set recursive(t){this._recursive=(0,le.Ig)(t)}_toggle(t){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),t.stopPropagation()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Wo),e.Y36(wl))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(t,i){1&t&&e.NdJ("click",function(l){return i._toggle(l)})},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}}),n})(),qu=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({}),n})();const X_=(0,b.sb)((0,b.Id)(wl));let ep=(()=>{class n extends X_{constructor(t,i,a){super(t,i),this.tabIndex=Number(a)||0}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(Wo),e.$8M("tabindex"))},n.\u0275dir=e.lG2({type:n,selectors:[["mat-tree-node"]],hostAttrs:[1,"mat-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["matTreeNode"],features:[e._Bn([{provide:wl,useExisting:n}]),e.qOj]}),n})(),tu=(()=>{class n extends eu{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[e._Bn([{provide:eu,useExisting:n}]),e.qOj]}),n})(),_h=(()=>{class n extends Wu{get level(){return this._level}set level(t){this._setLevelInput(t)}get indent(){return this._indent}set indent(t){this._setIndentInput(t)}}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["","matTreeNodePadding",""]],inputs:{level:["matTreeNodePadding","level"],indent:["matTreeNodePaddingIndent","indent"]},features:[e._Bn([{provide:Wu,useExisting:n}]),e.qOj]}),n})(),or=(()=>{class n{constructor(t,i){this.viewContainer=t,this._node=i}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.s_b),e.Y36(Xd,8))},n.\u0275dir=e.lG2({type:n,selectors:[["","matTreeNodeOutlet",""]],features:[e._Bn([{provide:cl,useExisting:n}])]}),n})(),$l=(()=>{class n extends Wo{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-tree"]],viewQuery:function(t,i){if(1&t&&e.Gf(or,7),2&t){let a;e.iGM(a=e.CRH())&&(i._nodeOutlet=a.first)}},hostAttrs:["role","tree",1,"mat-tree"],exportAs:["matTree"],features:[e._Bn([{provide:Wo,useExisting:n}]),e.qOj],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(t,i){1&t&&e.GkF(0,0)},dependencies:[or],styles:[".mat-tree{display:block}.mat-tree-node{display:flex;align-items:center;flex:1;word-wrap:break-word}.mat-nested-tree-node{border-bottom-width:0}"],encapsulation:2}),n})(),ph=(()=>{class n extends Kn{}return n.\u0275fac=function(){let o;return function(i){return(o||(o=e.n5z(n)))(i||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[e._Bn([{provide:Kn,useExisting:n}]),e.qOj]}),n})(),dl=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[qu,b.BQ,b.BQ]}),n})();class ad{constructor(o,t,i,a){this.transformFunction=o,this.getLevel=t,this.isExpandable=i,this.getChildren=a}_flattenNode(o,t,i,a){const l=this.transformFunction(o,t);if(i.push(l),this.isExpandable(l)){const h=this.getChildren(o);h&&(Array.isArray(h)?this._flattenChildren(h,t,i,a):h.pipe((0,yn.q)(1)).subscribe(E=>{this._flattenChildren(E,t,i,a)}))}return i}_flattenChildren(o,t,i,a){o.forEach((l,h)=>{let E=a.slice();E.push(h!=o.length-1),this._flattenNode(l,t+1,i,E)})}flattenNodes(o){let t=[];return o.forEach(i=>this._flattenNode(i,0,t,[])),t}expandFlattenedNodes(o,t){let i=[],a=[];return a[0]=!0,o.forEach(l=>{let h=!0;for(let E=0;E<=this.getLevel(l);E++)h=h&&a[E];h&&i.push(l),this.isExpandable(l)&&(a[this.getLevel(l)+1]=t.isExpanded(l))}),i}}class ko extends ee.o2{constructor(o,t,i){super(),this._treeControl=o,this._treeFlattener=t,this._flattenedData=new Dl.X([]),this._expandedData=new Dl.X([]),this._data=new Dl.X([]),i&&(this.data=i)}get data(){return this._data.value}set data(o){this._data.next(o),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this._treeControl.dataNodes=this._flattenedData.value}connect(o){return(0,ma.T)(o.viewChange,this._treeControl.expansionModel.changed,this._flattenedData).pipe((0,Mn.U)(()=>(this._expandedData.next(this._treeFlattener.expandFlattenedNodes(this._flattenedData.value,this._treeControl)),this._expandedData.value)))}disconnect(){}}let Ju=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[{provide:b._A,useClass:ue,deps:[b.Ad,V]},{provide:b.sG,useValue:ce}],imports:[Qi,Be.LD,Va.rP,an.c,gc,va.Nh,Vt.SJ,Y.ot,ln,Bi,M,lo,Xm,ve,Cl,lh,ms,Ff,zs,b.XK,Zt.To,de.Bb,fr.ZX,Ps,ao,rn.ie,rs,Bm,Hp,Su,Te,ni,dl,b.si,Qi,Be.LD,Va.rP,an.c,gc,va.Nh,Vt.SJ,Y.ot,ln,Bi,M,lo,Xm,ve,Cl,lh,ms,Ff,zs,b.XK,Zt.To,de.Bb,fr.ZX,Ps,ao,rn.ie,rs,Bm,Hp,Su,Te,ni,b.si,dl]}),n})();var $a=C(3925),od=C(7009),$t=C(4894),Gi=C(7862),nC=C(4986),tp=C(5963);function aC(n=0,o=nC.z){return n<0&&(n=0),(0,tp.H)(n,n,o)}var ng=C(6406),ag=C(9751);function rd(n,o,t){for(let i in o)if(o.hasOwnProperty(i)){const a=o[i];a?n.setProperty(i,a,null!=t&&t.has(i)?"important":""):n.removeProperty(i)}return n}function Ec(n,o){const t=o?"":"none";rd(n.style,{"touch-action":o?"":"none","-webkit-user-drag":o?"":"none","-webkit-tap-highlight-color":o?"":"transparent","user-select":t,"-ms-user-select":t,"-webkit-user-select":t,"-moz-user-select":t})}function og(n,o,t){rd(n.style,{position:o?"":"fixed",top:o?"":"0",opacity:o?"":"0",left:o?"":"-999em"},t)}function as(n,o){return o&&"none"!=o?n+" "+o:n}function mh(n){const o=n.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(n)*o}function gh(n,o){return n.getPropertyValue(o).split(",").map(i=>i.trim())}function fh(n){const o=n.getBoundingClientRect();return{top:o.top,right:o.right,bottom:o.bottom,left:o.left,width:o.width,height:o.height,x:o.x,y:o.y}}function Ch(n,o,t){const{top:i,bottom:a,left:l,right:h}=n;return t>=i&&t<=a&&o>=l&&o<=h}function $u(n,o,t){n.top+=o,n.bottom=n.top+n.height,n.left+=t,n.right=n.left+n.width}function vh(n,o,t,i){const{top:a,right:l,bottom:h,left:E,width:N,height:oe}=n,xe=N*o,Ve=oe*o;return i>a-Ve&&iE-xe&&t{this.positions.set(t,{scrollPosition:{top:t.scrollTop,left:t.scrollLeft},clientRect:fh(t)})})}handleScroll(o){const t=(0,Le.sA)(o),i=this.positions.get(t);if(!i)return null;const a=i.scrollPosition;let l,h;if(t===this._document){const oe=this.getViewportScrollPosition();l=oe.top,h=oe.left}else l=t.scrollTop,h=t.scrollLeft;const E=a.top-l,N=a.left-h;return this.positions.forEach((oe,xe)=>{oe.clientRect&&t!==xe&&t.contains(xe)&&$u(oe.clientRect,E,N)}),a.top=l,a.left=h,{top:E,left:N}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function lg(n){const o=n.cloneNode(!0),t=o.querySelectorAll("[id]"),i=n.nodeName.toLowerCase();o.removeAttribute("id");for(let a=0;a{if(this.beforeStarted.next(),this._handles.length){const N=this._getTargetHandle(E);N&&!this._disabledHandles.has(N)&&!this.disabled&&this._initializeDragSequence(N,E)}else this.disabled||this._initializeDragSequence(this._rootElement,E)},this._pointerMove=E=>{const N=this._getPointerPositionOnPage(E);if(!this._hasStartedDragging){if(Math.abs(N.x-this._pickupPositionOnPage.x)+Math.abs(N.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const Ft=Date.now()>=this._dragStartTime+this._getDragStartDelay(E),ii=this._dropContainer;if(!Ft)return void this._endDragSequence(E);(!ii||!ii.isDragging()&&!ii.isReceiving())&&(E.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(E)))}return}E.preventDefault();const oe=this._getConstrainedPointerPosition(N);if(this._hasMoved=!0,this._lastKnownPointerPosition=N,this._updatePointerDirectionDelta(oe),this._dropContainer)this._updateActiveDropContainer(oe,N);else{const xe=this.constrainPosition?this._initialClientRect:this._pickupPositionOnPage,Ve=this._activeTransform;Ve.x=oe.x-xe.x+this._passiveTransform.x,Ve.y=oe.y-xe.y+this._passiveTransform.y,this._applyRootElementTransform(Ve.x,Ve.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:oe,event:E,distance:this._getDragDistance(oe),delta:this._pointerDirectionDelta})})},this._pointerUp=E=>{this._endDragSequence(E)},this._nativeDragStart=E=>{if(this._handles.length){const N=this._getTargetHandle(E);N&&!this._disabledHandles.has(N)&&!this.disabled&&E.preventDefault()}else this.disabled||E.preventDefault()},this.withRootElement(o).withParent(t.parentDragRef||null),this._parentPositions=new sg(i),h.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(o){const t=(0,le.Ig)(o);t!==this._disabled&&(this._disabled=t,this._toggleNativeDragInteractions(),this._handles.forEach(i=>Ec(i,t)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(o){this._handles=o.map(i=>(0,le.fI)(i)),this._handles.forEach(i=>Ec(i,this.disabled)),this._toggleNativeDragInteractions();const t=new Set;return this._disabledHandles.forEach(i=>{this._handles.indexOf(i)>-1&&t.add(i)}),this._disabledHandles=t,this}withPreviewTemplate(o){return this._previewTemplate=o,this}withPlaceholderTemplate(o){return this._placeholderTemplate=o,this}withRootElement(o){const t=(0,le.fI)(o);return t!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{t.addEventListener("mousedown",this._pointerDown,np),t.addEventListener("touchstart",this._pointerDown,ip),t.addEventListener("dragstart",this._nativeDragStart,np)}),this._initialTransform=void 0,this._rootElement=t),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(o){return this._boundaryElement=o?(0,le.fI)(o):null,this._resizeSubscription.unsubscribe(),o&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(o){return this._parentDragRef=o,this}dispose(){var o,t;this._removeRootElementListeners(this._rootElement),this.isDragging()&&(null===(o=this._rootElement)||void 0===o||o.remove()),null===(t=this._anchor)||void 0===t||t.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(o){!this._disabledHandles.has(o)&&this._handles.indexOf(o)>-1&&(this._disabledHandles.add(o),Ec(o,!0))}enableHandle(o){this._disabledHandles.has(o)&&(this._disabledHandles.delete(o),Ec(o,this.disabled))}withDirection(o){return this._direction=o,this}_withDropContainer(o){this._dropContainer=o}getFreeDragPosition(){const o=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:o.x,y:o.y}}setFreeDragPosition(o){return this._activeTransform={x:0,y:0},this._passiveTransform.x=o.x,this._passiveTransform.y=o.y,this._dropContainer||this._applyRootElementTransform(o.x,o.y),this}withPreviewContainer(o){return this._previewContainer=o,this}_sortFromLastPointerPosition(){const o=this._lastKnownPointerPosition;o&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(o),o)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){var o,t;null===(o=this._preview)||void 0===o||o.remove(),null===(t=this._previewRef)||void 0===t||t.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){var o,t;null===(o=this._placeholder)||void 0===o||o.remove(),null===(t=this._placeholderRef)||void 0===t||t.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(o){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this,event:o}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(o),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const t=this._getPointerPositionOnPage(o);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(t),dropPoint:t,event:o})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(o){Qu(o)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const t=this._dropContainer;if(t){const i=this._rootElement,a=i.parentNode,l=this._placeholder=this._createPlaceholderElement(),h=this._anchor=this._anchor||this._document.createComment(""),E=this._getShadowRoot();a.insertBefore(h,i),this._initialTransform=i.style.transform||"",this._preview=this._createPreviewElement(),og(i,!1,ap),this._document.body.appendChild(a.replaceChild(l,i)),this._getPreviewInsertionPoint(a,E).appendChild(this._preview),this.started.next({source:this,event:o}),t.start(),this._initialContainer=t,this._initialIndex=t.getItemIndex(this)}else this.started.next({source:this,event:o}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(t?t.getScrollableParents():[])}_initializeDragSequence(o,t){this._parentDragRef&&t.stopPropagation();const i=this.isDragging(),a=Qu(t),l=!a&&0!==t.button,h=this._rootElement,E=(0,Le.sA)(t),N=!a&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),oe=a?(0,Ge.yG)(t):(0,Ge.X6)(t);if(E&&E.draggable&&"mousedown"===t.type&&t.preventDefault(),i||l||N||oe)return;if(this._handles.length){const lt=h.style;this._rootElementTapHighlight=lt.webkitTapHighlightColor||"",lt.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._initialClientRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(lt=>this._updateOnScroll(lt)),this._boundaryElement&&(this._boundaryRect=fh(this._boundaryElement));const xe=this._previewTemplate;this._pickupPositionInElement=xe&&xe.template&&!xe.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialClientRect,o,t);const Ve=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(t);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:Ve.x,y:Ve.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,t)}_cleanupDragArtifacts(o){og(this._rootElement,!0,ap),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialClientRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const t=this._dropContainer,i=t.getItemIndex(this),a=this._getPointerPositionOnPage(o),l=this._getDragDistance(a),h=t._isOverContainer(a.x,a.y);this.ended.next({source:this,distance:l,dropPoint:a,event:o}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:t,previousContainer:this._initialContainer,isPointerOverContainer:h,distance:l,dropPoint:a,event:o}),t.drop(this,i,this._initialIndex,this._initialContainer,h,l,a,o),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:o,y:t},{x:i,y:a}){let l=this._initialContainer._getSiblingContainerFromPosition(this,o,t);!l&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(o,t)&&(l=this._initialContainer),l&&l!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=l,this._dropContainer.enter(this,o,t,l===this._initialContainer&&l.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:l,currentIndex:l.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(i,a),this._dropContainer._sortItem(this,o,t,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(o,t):this._applyPreviewTransform(o-this._pickupPositionInElement.x,t-this._pickupPositionInElement.y))}_createPreviewElement(){const o=this._previewTemplate,t=this.previewClass,i=o?o.template:null;let a;if(i&&o){const l=o.matchSize?this._initialClientRect:null,h=o.viewContainer.createEmbeddedView(i,o.context);h.detectChanges(),a=rC(h,this._document),this._previewRef=h,o.matchSize?yh(a,l):a.style.transform=zu(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else a=lg(this._rootElement),yh(a,this._initialClientRect),this._initialTransform&&(a.style.transform=this._initialTransform);return rd(a.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},ap),Ec(a,!1),a.classList.add("cdk-drag-preview"),a.setAttribute("dir",this._direction),t&&(Array.isArray(t)?t.forEach(l=>a.classList.add(l)):a.classList.add(t)),a}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const o=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(o.left,o.top);const t=function rg(n){const o=getComputedStyle(n),t=gh(o,"transition-property"),i=t.find(E=>"transform"===E||"all"===E);if(!i)return 0;const a=t.indexOf(i),l=gh(o,"transition-duration"),h=gh(o,"transition-delay");return mh(l[a])+mh(h[a])}(this._preview);return 0===t?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(i=>{const a=h=>{var E;(!h||(0,Le.sA)(h)===this._preview&&"transform"===h.propertyName)&&(null===(E=this._preview)||void 0===E||E.removeEventListener("transitionend",a),i(),clearTimeout(l))},l=setTimeout(a,1.5*t);this._preview.addEventListener("transitionend",a)}))}_createPlaceholderElement(){const o=this._placeholderTemplate,t=o?o.template:null;let i;return t?(this._placeholderRef=o.viewContainer.createEmbeddedView(t,o.context),this._placeholderRef.detectChanges(),i=rC(this._placeholderRef,this._document)):i=lg(this._rootElement),i.style.pointerEvents="none",i.classList.add("cdk-drag-placeholder"),i}_getPointerPositionInElement(o,t,i){const a=t===this._rootElement?null:t,l=a?a.getBoundingClientRect():o,h=Qu(i)?i.targetTouches[0]:i,E=this._getViewportScrollPosition();return{x:l.left-o.left+(h.pageX-l.left-E.left),y:l.top-o.top+(h.pageY-l.top-E.top)}}_getPointerPositionOnPage(o){const t=this._getViewportScrollPosition(),i=Qu(o)?o.touches[0]||o.changedTouches[0]||{pageX:0,pageY:0}:o,a=i.pageX-t.left,l=i.pageY-t.top;if(this._ownerSVGElement){const h=this._ownerSVGElement.getScreenCTM();if(h){const E=this._ownerSVGElement.createSVGPoint();return E.x=a,E.y=l,E.matrixTransform(h.inverse())}}return{x:a,y:l}}_getConstrainedPointerPosition(o){const t=this._dropContainer?this._dropContainer.lockAxis:null;let{x:i,y:a}=this.constrainPosition?this.constrainPosition(o,this,this._initialClientRect,this._pickupPositionInElement):o;if("x"===this.lockAxis||"x"===t?a=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===t)&&(i=this._pickupPositionOnPage.x),this._boundaryRect){const{x:l,y:h}=this._pickupPositionInElement,E=this._boundaryRect,{width:N,height:oe}=this._getPreviewRect(),xe=E.top+h,Ve=E.bottom-(oe-h);i=ug(i,E.left+l,E.right-(N-l)),a=ug(a,xe,Ve)}return{x:i,y:a}}_updatePointerDirectionDelta(o){const{x:t,y:i}=o,a=this._pointerDirectionDelta,l=this._pointerPositionAtLastDirectionChange,h=Math.abs(t-l.x),E=Math.abs(i-l.y);return h>this._config.pointerDirectionChangeThreshold&&(a.x=t>l.x?1:-1,l.x=t),E>this._config.pointerDirectionChangeThreshold&&(a.y=i>l.y?1:-1,l.y=i),a}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const o=this._handles.length>0||!this.isDragging();o!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=o,Ec(this._rootElement,o))}_removeRootElementListeners(o){o.removeEventListener("mousedown",this._pointerDown,np),o.removeEventListener("touchstart",this._pointerDown,ip),o.removeEventListener("dragstart",this._nativeDragStart,np)}_applyRootElementTransform(o,t){const i=zu(o,t),a=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=a.transform&&"none"!=a.transform?a.transform:""),a.transform=as(i,this._initialTransform)}_applyPreviewTransform(o,t){var i;const a=null!==(i=this._previewTemplate)&&void 0!==i&&i.template?void 0:this._initialTransform,l=zu(o,t);this._preview.style.transform=as(l,a)}_getDragDistance(o){const t=this._pickupPositionOnPage;return t?{x:o.x-t.x,y:o.y-t.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:o,y:t}=this._passiveTransform;if(0===o&&0===t||this.isDragging()||!this._boundaryElement)return;const i=this._rootElement.getBoundingClientRect(),a=this._boundaryElement.getBoundingClientRect();if(0===a.width&&0===a.height||0===i.width&&0===i.height)return;const l=a.left-i.left,h=i.right-a.right,E=a.top-i.top,N=i.bottom-a.bottom;a.width>i.width?(l>0&&(o+=l),h>0&&(o-=h)):o=0,a.height>i.height?(E>0&&(t+=E),N>0&&(t-=N)):t=0,(o!==this._passiveTransform.x||t!==this._passiveTransform.y)&&this.setFreeDragPosition({y:t,x:o})}_getDragStartDelay(o){const t=this.dragStartDelay;return"number"==typeof t?t:Qu(o)?t.touch:t?t.mouse:0}_updateOnScroll(o){const t=this._parentPositions.handleScroll(o);if(t){const i=(0,Le.sA)(o);this._boundaryRect&&i!==this._boundaryElement&&i.contains(this._boundaryElement)&&$u(this._boundaryRect,t.top,t.left),this._pickupPositionOnPage.x+=t.left,this._pickupPositionOnPage.y+=t.top,this._dropContainer||(this._activeTransform.x-=t.left,this._activeTransform.y-=t.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){var o;return(null===(o=this._parentPositions.positions.get(this._document))||void 0===o?void 0:o.scrollPosition)||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=(0,Le.kV)(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(o,t){const i=this._previewContainer||"global";if("parent"===i)return o;if("global"===i){const a=this._document;return t||a.fullscreenElement||a.webkitFullscreenElement||a.mozFullScreenElement||a.msFullscreenElement||a.body}return(0,le.fI)(i)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialClientRect),this._previewRect}_getTargetHandle(o){return this._handles.find(t=>o.target&&(o.target===t||t.contains(o.target)))}}function zu(n,o){return`translate3d(${Math.round(n)}px, ${Math.round(o)}px, 0)`}function ug(n,o,t){return Math.max(o,Math.min(t,n))}function Qu(n){return"t"===n.type[0]}function rC(n,o){const t=n.rootNodes;if(1===t.length&&t[0].nodeType===o.ELEMENT_NODE)return t[0];const i=o.createElement("div");return t.forEach(a=>i.appendChild(a)),i}function yh(n,o){n.style.width=`${o.width}px`,n.style.height=`${o.height}px`,n.style.transform=zu(o.left,o.top)}function Hs(n,o,t){const i=sd(o,n.length-1),a=sd(t,n.length-1);if(i===a)return;const l=n[i],h=a0)return null;const E="horizontal"===this.orientation,N=l.findIndex(Wi=>Wi.drag===o),oe=l[h],Ve=oe.clientRect,lt=N>h?1:-1,Ft=this._getItemOffsetPx(l[N].clientRect,Ve,lt),ii=this._getSiblingOffsetPx(N,l,lt),fi=l.slice();return Hs(l,N,h),l.forEach((Wi,Fn)=>{if(fi[Fn]===Wi)return;const ba=Wi.drag===o,br=ba?Ft:ii,yr=ba?o.getPlaceholderElement():Wi.drag.getRootElement();Wi.offset+=br,E?(yr.style.transform=as(`translate3d(${Math.round(Wi.offset)}px, 0, 0)`,Wi.initialTransform),$u(Wi.clientRect,0,br)):(yr.style.transform=as(`translate3d(0, ${Math.round(Wi.offset)}px, 0)`,Wi.initialTransform),$u(Wi.clientRect,br,0))}),this._previousSwap.overlaps=Ch(Ve,t,i),this._previousSwap.drag=oe.drag,this._previousSwap.delta=E?a.x:a.y,{previousIndex:N,currentIndex:h}}enter(o,t,i,a){const l=null==a||a<0?this._getItemIndexFromPointerPosition(o,t,i):a,h=this._activeDraggables,E=h.indexOf(o),N=o.getPlaceholderElement();let oe=h[l];if(oe===o&&(oe=h[l+1]),!oe&&(null==l||-1===l||l-1&&h.splice(E,1),oe&&!this._dragDropRegistry.isDragging(oe)){const xe=oe.getRootElement();xe.parentElement.insertBefore(N,xe),h.splice(l,0,o)}else(0,le.fI)(this._element).appendChild(N),h.push(o);N.style.transform="",this._cacheItemPositions()}withItems(o){this._activeDraggables=o.slice(),this._cacheItemPositions()}withSortPredicate(o){this._sortPredicate=o}reset(){this._activeDraggables.forEach(o=>{var t;const i=o.getRootElement();if(i){const a=null===(t=this._itemPositions.find(l=>l.drag===o))||void 0===t?void 0:t.initialTransform;i.style.transform=a||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(o){return("horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(i=>i.drag===o)}updateOnScroll(o,t){this._itemPositions.forEach(({clientRect:i})=>{$u(i,o,t)}),this._itemPositions.forEach(({drag:i})=>{this._dragDropRegistry.isDragging(i)&&i._sortFromLastPointerPosition()})}_cacheItemPositions(){const o="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(t=>{const i=t.getVisibleElement();return{drag:t,offset:0,initialTransform:i.style.transform||"",clientRect:fh(i)}}).sort((t,i)=>o?t.clientRect.left-i.clientRect.left:t.clientRect.top-i.clientRect.top)}_getItemOffsetPx(o,t,i){const a="horizontal"===this.orientation;let l=a?t.left-o.left:t.top-o.top;return-1===i&&(l+=a?t.width-o.width:t.height-o.height),l}_getSiblingOffsetPx(o,t,i){const a="horizontal"===this.orientation,l=t[o].clientRect,h=t[o+-1*i];let E=l[a?"width":"height"]*i;if(h){const N=a?"left":"top",oe=a?"right":"bottom";-1===i?E-=h.clientRect[N]-l[oe]:E+=l[N]-h.clientRect[oe]}return E}_shouldEnterAsFirstChild(o,t){if(!this._activeDraggables.length)return!1;const i=this._itemPositions,a="horizontal"===this.orientation;if(i[0].drag!==this._activeDraggables[0]){const h=i[i.length-1].clientRect;return a?o>=h.right:t>=h.bottom}{const h=i[0].clientRect;return a?o<=h.left:t<=h.top}}_getItemIndexFromPointerPosition(o,t,i,a){const l="horizontal"===this.orientation,h=this._itemPositions.findIndex(({drag:E,clientRect:N})=>{if(E===o)return!1;if(a){const oe=l?a.x:a.y;if(E===this._previousSwap.drag&&this._previousSwap.overlaps&&oe===this._previousSwap.delta)return!1}return l?t>=Math.floor(N.left)&&t=Math.floor(N.top)&&i!0,this.sortPredicate=()=>!0,this.beforeStarted=new Ye.x,this.entered=new Ye.x,this.exited=new Ye.x,this.dropped=new Ye.x,this.sorted=new Ye.x,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=Ta.w0.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new Ye.x,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),aC(0,ng.Z).pipe((0,$i.R)(this._stopScrollTimers)).subscribe(()=>{const h=this._scrollNode,E=this.autoScrollStep;1===this._verticalScrollDirection?h.scrollBy(0,-E):2===this._verticalScrollDirection&&h.scrollBy(0,E),1===this._horizontalScrollDirection?h.scrollBy(-E,0):2===this._horizontalScrollDirection&&h.scrollBy(E,0)})},this.element=(0,le.fI)(o),this._document=i,this.withScrollableParents([this.element]),t.registerDropContainer(this),this._parentPositions=new sg(i),this._sortStrategy=new Th(this.element,t),this._sortStrategy.withSortPredicate((h,E)=>this.sortPredicate(h,E,this))}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(o,t,i,a){this._draggingStarted(),null==a&&this.sortingDisabled&&(a=this._draggables.indexOf(o)),this._sortStrategy.enter(o,t,i,a),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:o,container:this,currentIndex:this.getItemIndex(o)})}exit(o){this._reset(),this.exited.next({item:o,container:this})}drop(o,t,i,a,l,h,E,N={}){this._reset(),this.dropped.next({item:o,currentIndex:t,previousIndex:i,container:this,previousContainer:a,isPointerOverContainer:l,distance:h,dropPoint:E,event:N})}withItems(o){const t=this._draggables;return this._draggables=o,o.forEach(i=>i._withDropContainer(this)),this.isDragging()&&(t.filter(a=>a.isDragging()).every(a=>-1===o.indexOf(a))?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(o){return this._sortStrategy.direction=o,this}connectedTo(o){return this._siblings=o.slice(),this}withOrientation(o){return this._sortStrategy.orientation=o,this}withScrollableParents(o){const t=(0,le.fI)(this.element);return this._scrollableElements=-1===o.indexOf(t)?[t,...o]:o.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(o){return this._isDragging?this._sortStrategy.getItemIndex(o):this._draggables.indexOf(o)}isReceiving(){return this._activeSiblings.size>0}_sortItem(o,t,i,a){if(this.sortingDisabled||!this._clientRect||!vh(this._clientRect,.05,t,i))return;const l=this._sortStrategy.sort(o,t,i,a);l&&this.sorted.next({previousIndex:l.previousIndex,currentIndex:l.currentIndex,container:this,item:o})}_startScrollingIfNecessary(o,t){if(this.autoScrollDisabled)return;let i,a=0,l=0;if(this._parentPositions.positions.forEach((h,E)=>{E===this._document||!h.clientRect||i||vh(h.clientRect,.05,o,t)&&([a,l]=function hg(n,o,t,i){const a=lC(o,i),l=pg(o,t);let h=0,E=0;if(a){const N=n.scrollTop;1===a?N>0&&(h=1):n.scrollHeight-N>n.clientHeight&&(h=2)}if(l){const N=n.scrollLeft;1===l?N>0&&(E=1):n.scrollWidth-N>n.clientWidth&&(E=2)}return[h,E]}(E,h.clientRect,o,t),(a||l)&&(i=E))}),!a&&!l){const{width:h,height:E}=this._viewportRuler.getViewportSize(),N={width:h,height:E,top:0,right:h,bottom:E,left:0};a=lC(N,t),l=pg(N,o),i=window}i&&(a!==this._verticalScrollDirection||l!==this._horizontalScrollDirection||i!==this._scrollNode)&&(this._verticalScrollDirection=a,this._horizontalScrollDirection=l,this._scrollNode=i,(a||l)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const o=(0,le.fI)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=o.msScrollSnapType||o.scrollSnapType||"",o.scrollSnapType=o.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const o=(0,le.fI)(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(o).clientRect}_reset(){this._isDragging=!1;const o=(0,le.fI)(this.element).style;o.scrollSnapType=o.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(t=>t._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(o,t){return null!=this._clientRect&&Ch(this._clientRect,o,t)}_getSiblingContainerFromPosition(o,t,i){return this._siblings.find(a=>a._canReceive(o,t,i))}_canReceive(o,t,i){if(!this._clientRect||!Ch(this._clientRect,t,i)||!this.enterPredicate(o,this))return!1;const a=this._getShadowRoot().elementFromPoint(t,i);if(!a)return!1;const l=(0,le.fI)(this.element);return a===l||l.contains(a)}_startReceiving(o,t){const i=this._activeSiblings;!i.has(o)&&t.every(a=>this.enterPredicate(a,this)||this._draggables.indexOf(a)>-1)&&(i.add(o),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(o){this._activeSiblings.delete(o),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(o=>{if(this.isDragging()){const t=this._parentPositions.handleScroll(o);t&&this._sortStrategy.updateOnScroll(t.top,t.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const o=(0,Le.kV)((0,le.fI)(this.element));this._cachedShadowRoot=o||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const o=this._sortStrategy.getActiveItemsSnapshot().filter(t=>t.isDragging());this._siblings.forEach(t=>t._startReceiving(this,o))}}function lC(n,o){const{top:t,bottom:i,height:a}=n,l=.05*a;return o>=t-l&&o<=t+l?1:o>=i-l&&o<=i+l?2:0}function pg(n,o){const{left:t,right:i,width:a}=n,l=.05*a;return o>=t-l&&o<=t+l?1:o>=i-l&&o<=i+l?2:0}const Mh=(0,Le.i$)({passive:!1,capture:!0});let cC=(()=>{class n{constructor(t,i){this._ngZone=t,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=a=>a.isDragging(),this.pointerMove=new Ye.x,this.pointerUp=new Ye.x,this.scroll=new Ye.x,this._preventDefaultWhileDragging=a=>{this._activeDragInstances.length>0&&a.preventDefault()},this._persistentTouchmoveListener=a=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&a.preventDefault(),this.pointerMove.next(a))},this._document=i}registerDropContainer(t){this._dropInstances.has(t)||this._dropInstances.add(t)}registerDragItem(t){this._dragInstances.add(t),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,Mh)})}removeDropContainer(t){this._dropInstances.delete(t)}removeDragItem(t){this._dragInstances.delete(t),this.stopDragging(t),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,Mh)}startDragging(t,i){if(!(this._activeDragInstances.indexOf(t)>-1)&&(this._activeDragInstances.push(t),1===this._activeDragInstances.length)){const a=i.type.startsWith("touch");this._globalListeners.set(a?"touchend":"mouseup",{handler:l=>this.pointerUp.next(l),options:!0}).set("scroll",{handler:l=>this.scroll.next(l),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:Mh}),a||this._globalListeners.set("mousemove",{handler:l=>this.pointerMove.next(l),options:Mh}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((l,h)=>{this._document.addEventListener(h,l.handler,l.options)})})}}stopDragging(t){const i=this._activeDragInstances.indexOf(t);i>-1&&(this._activeDragInstances.splice(i,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(t){return this._activeDragInstances.indexOf(t)>-1}scrolled(t){const i=[this.scroll];return t&&t!==this._document&&i.push(new ag.y(a=>this._ngZone.runOutsideAngular(()=>{const h=E=>{this._activeDragInstances.length&&a.next(E)};return t.addEventListener("scroll",h,!0),()=>{t.removeEventListener("scroll",h,!0)}}))),(0,ma.T)(...i)}ngOnDestroy(){this._dragInstances.forEach(t=>this.removeDragItem(t)),this._dropInstances.forEach(t=>this.removeDropContainer(t)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((t,i)=>{this._document.removeEventListener(i,t.handler,t.options)}),this._globalListeners.clear()}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(e.R0b),e.LFG(_e.K0))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const nu={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let Dh=(()=>{class n{constructor(t,i,a,l){this._document=t,this._ngZone=i,this._viewportRuler=a,this._dragDropRegistry=l}createDrag(t,i=nu){return new oC(t,i,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(t){return new S0(t,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(_e.K0),e.LFG(e.R0b),e.LFG(Nn.rL),e.LFG(cC))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const op=new e.OlP("CDK_DRAG_PARENT"),au=new e.OlP("CdkDropListGroup");let Xu=(()=>{class n{constructor(){this._items=new Set,this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,le.Ig)(t)}ngOnDestroy(){this._items.clear()}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkDropListGroup",""]],inputs:{disabled:["cdkDropListGroupDisabled","disabled"]},exportAs:["cdkDropListGroup"],features:[e._Bn([{provide:au,useExisting:n}])]}),n})();const Eh=new e.OlP("CDK_DRAG_CONFIG");let dC=0;const mg=new e.OlP("CdkDropList");let e_=(()=>{class n{constructor(t,i,a,l,h,E,N){this.element=t,this._changeDetectorRef=a,this._scrollDispatcher=l,this._dir=h,this._group=E,this._destroyed=new Ye.x,this.connectedTo=[],this.id="cdk-drop-list-"+dC++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new e.vpe,this.entered=new e.vpe,this.exited=new e.vpe,this.sorted=new e.vpe,this._unsortedItems=new Set,this._dropListRef=i.createDropList(t),this._dropListRef.data=this,N&&this._assignDefaults(N),this._dropListRef.enterPredicate=(oe,xe)=>this.enterPredicate(oe.data,xe.data),this._dropListRef.sortPredicate=(oe,xe,Ve)=>this.sortPredicate(oe,xe.data,Ve.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),n._dropLists.push(this),E&&E._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(t){this._dropListRef.disabled=this._disabled=(0,le.Ig)(t)}addItem(t){this._unsortedItems.add(t),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(t){this._unsortedItems.delete(t),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((t,i)=>t._dragRef.getVisibleElement().compareDocumentPosition(i._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const t=n._dropLists.indexOf(this);t>-1&&n._dropLists.splice(t,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(t){this._dir&&this._dir.change.pipe((0,mt.O)(this._dir.value),(0,$i.R)(this._destroyed)).subscribe(i=>t.withDirection(i)),t.beforeStarted.subscribe(()=>{const i=(0,le.Eq)(this.connectedTo).map(a=>"string"==typeof a?n._dropLists.find(h=>h.id===a):a);if(this._group&&this._group._items.forEach(a=>{-1===i.indexOf(a)&&i.push(a)}),!this._scrollableParentsResolved){const a=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(l=>l.getElementRef().nativeElement);this._dropListRef.withScrollableParents(a),this._scrollableParentsResolved=!0}t.disabled=this.disabled,t.lockAxis=this.lockAxis,t.sortingDisabled=(0,le.Ig)(this.sortingDisabled),t.autoScrollDisabled=(0,le.Ig)(this.autoScrollDisabled),t.autoScrollStep=(0,le.su)(this.autoScrollStep,2),t.connectedTo(i.filter(a=>a&&a!==this).map(a=>a._dropListRef)).withOrientation(this.orientation)})}_handleEvents(t){t.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(i=>{this.entered.emit({container:this,item:i.item.data,currentIndex:i.currentIndex})}),t.exited.subscribe(i=>{this.exited.emit({container:this,item:i.item.data}),this._changeDetectorRef.markForCheck()}),t.sorted.subscribe(i=>{this.sorted.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,container:this,item:i.item.data})}),t.dropped.subscribe(i=>{this.dropped.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,previousContainer:i.previousContainer.data,container:i.container.data,item:i.item.data,isPointerOverContainer:i.isPointerOverContainer,distance:i.distance,dropPoint:i.dropPoint,event:i.event}),this._changeDetectorRef.markForCheck()})}_assignDefaults(t){const{lockAxis:i,draggingDisabled:a,sortingDisabled:l,listAutoScrollDisabled:h,listOrientation:E}=t;this.disabled=null!=a&&a,this.sortingDisabled=null!=l&&l,this.autoScrollDisabled=null!=h&&h,this.orientation=E||"vertical",i&&(this.lockAxis=i)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(t=>t._dragRef))}}return n._dropLists=[],n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(Dh),e.Y36(e.sBO),e.Y36(Nn.mF),e.Y36(ke.Is,8),e.Y36(au,12),e.Y36(Eh,8))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(t,i){2&t&&(e.uIk("id",i.id),e.ekj("cdk-drop-list-disabled",i.disabled)("cdk-drop-list-dragging",i._dropListRef.isDragging())("cdk-drop-list-receiving",i._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],data:["cdkDropListData","data"],orientation:["cdkDropListOrientation","orientation"],id:"id",lockAxis:["cdkDropListLockAxis","lockAxis"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[e._Bn([{provide:au,useValue:void 0},{provide:mg,useExisting:n}])]}),n})();const wh=new e.OlP("CdkDragHandle");let Sh=(()=>{class n{constructor(t,i){this.element=t,this._stateChanges=new Ye.x,this._disabled=!1,this._parentDrag=i}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,le.Ig)(t),this._stateChanges.next(this)}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(op,12))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:["cdkDragHandleDisabled","disabled"]},features:[e._Bn([{provide:wh,useExisting:n}])]}),n})();const gg=new e.OlP("CdkDragPlaceholder");let fg=(()=>{class n{constructor(t){this.templateRef=t}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc))},n.\u0275dir=e.lG2({type:n,selectors:[["ng-template","cdkDragPlaceholder",""]],inputs:{data:"data"},features:[e._Bn([{provide:gg,useExisting:n}])]}),n})();const Ah=new e.OlP("CdkDragPreview");let Lh=(()=>{class n{constructor(t){this.templateRef=t,this._matchSize=!1}get matchSize(){return this._matchSize}set matchSize(t){this._matchSize=(0,le.Ig)(t)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Rgc))},n.\u0275dir=e.lG2({type:n,selectors:[["ng-template","cdkDragPreview",""]],inputs:{data:"data",matchSize:"matchSize"},features:[e._Bn([{provide:Ah,useExisting:n}])]}),n})(),ld=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt){this.element=t,this.dropContainer=i,this._ngZone=l,this._viewContainerRef=h,this._dir=N,this._changeDetectorRef=xe,this._selfHandle=Ve,this._parentDrag=lt,this._destroyed=new Ye.x,this.started=new e.vpe,this.released=new e.vpe,this.ended=new e.vpe,this.entered=new e.vpe,this.exited=new e.vpe,this.dropped=new e.vpe,this.moved=new ag.y(Ft=>{const ii=this._dragRef.moved.pipe((0,Mn.U)(fi=>({source:this,pointerPosition:fi.pointerPosition,event:fi.event,delta:fi.delta,distance:fi.distance}))).subscribe(Ft);return()=>{ii.unsubscribe()}}),this._dragRef=oe.createDrag(t,{dragStartThreshold:E&&null!=E.dragStartThreshold?E.dragStartThreshold:5,pointerDirectionChangeThreshold:E&&null!=E.pointerDirectionChangeThreshold?E.pointerDirectionChangeThreshold:5,zIndex:null==E?void 0:E.zIndex}),this._dragRef.data=this,n._dragInstances.push(this),E&&this._assignDefaults(E),i&&(this._dragRef._withDropContainer(i._dropListRef),i.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(t){this._disabled=(0,le.Ig)(t),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(t){this._dragRef.setFreeDragPosition(t)}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,yn.q)(1),(0,$i.R)(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(t){const i=t.rootElementSelector,a=t.freeDragPosition;i&&!i.firstChange&&this._updateRootElement(),a&&!a.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const t=n._dragInstances.indexOf(this);t>-1&&n._dragInstances.splice(t,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){var t;const i=this.element.nativeElement;let a=i;this.rootElementSelector&&(a=void 0!==i.closest?i.closest(this.rootElementSelector):null===(t=i.parentElement)||void 0===t?void 0:t.closest(this.rootElementSelector)),this._dragRef.withRootElement(a||i)}_getBoundaryElement(){const t=this.boundaryElement;return t?"string"==typeof t?this.element.nativeElement.closest(t):(0,le.fI)(t):null}_syncInputs(t){t.beforeStarted.subscribe(()=>{if(!t.isDragging()){const i=this._dir,a=this.dragStartDelay,l=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,h=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;t.disabled=this.disabled,t.lockAxis=this.lockAxis,t.dragStartDelay="object"==typeof a&&a?a:(0,le.su)(a),t.constrainPosition=this.constrainPosition,t.previewClass=this.previewClass,t.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(l).withPreviewTemplate(h).withPreviewContainer(this.previewContainer||"global"),i&&t.withDirection(i.value)}}),t.beforeStarted.pipe((0,yn.q)(1)).subscribe(()=>{var i;if(this._parentDrag)return void t.withParent(this._parentDrag._dragRef);let a=this.element.nativeElement.parentElement;for(;a;){if(a.classList.contains("cdk-drag")){t.withParent((null===(i=n._dragInstances.find(l=>l.element.nativeElement===a))||void 0===i?void 0:i._dragRef)||null);break}a=a.parentElement}})}_handleEvents(t){t.started.subscribe(i=>{this.started.emit({source:this,event:i.event}),this._changeDetectorRef.markForCheck()}),t.released.subscribe(i=>{this.released.emit({source:this,event:i.event})}),t.ended.subscribe(i=>{this.ended.emit({source:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event}),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(i=>{this.entered.emit({container:i.container.data,item:this,currentIndex:i.currentIndex})}),t.exited.subscribe(i=>{this.exited.emit({container:i.container.data,item:this})}),t.dropped.subscribe(i=>{this.dropped.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,previousContainer:i.previousContainer.data,container:i.container.data,isPointerOverContainer:i.isPointerOverContainer,item:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event})})}_assignDefaults(t){const{lockAxis:i,dragStartDelay:a,constrainPosition:l,previewClass:h,boundaryElement:E,draggingDisabled:N,rootElementSelector:oe,previewContainer:xe}=t;this.disabled=null!=N&&N,this.dragStartDelay=a||0,i&&(this.lockAxis=i),l&&(this.constrainPosition=l),h&&(this.previewClass=h),E&&(this.boundaryElement=E),oe&&(this.rootElementSelector=oe),xe&&(this.previewContainer=xe)}_setupHandlesListener(){this._handles.changes.pipe((0,mt.O)(this._handles),(0,$e.b)(t=>{const i=t.filter(a=>a._parentDrag===this).map(a=>a.element);this._selfHandle&&this.rootElementSelector&&i.push(this.element),this._dragRef.withHandles(i)}),(0,Wc.w)(t=>(0,ma.T)(...t.map(i=>i._stateChanges.pipe((0,mt.O)(i))))),(0,$i.R)(this._destroyed)).subscribe(t=>{const i=this._dragRef,a=t.element.nativeElement;t.disabled?i.disableHandle(a):i.enableHandle(a)})}}return n._dragInstances=[],n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(mg,12),e.Y36(_e.K0),e.Y36(e.R0b),e.Y36(e.s_b),e.Y36(Eh,8),e.Y36(ke.Is,8),e.Y36(Dh),e.Y36(e.sBO),e.Y36(wh,10),e.Y36(op,12))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdkDrag",""]],contentQueries:function(t,i,a){if(1&t&&(e.Suo(a,Ah,5),e.Suo(a,gg,5),e.Suo(a,wh,5)),2&t){let l;e.iGM(l=e.CRH())&&(i._previewTemplate=l.first),e.iGM(l=e.CRH())&&(i._placeholderTemplate=l.first),e.iGM(l=e.CRH())&&(i._handles=l)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(t,i){2&t&&e.ekj("cdk-drag-disabled",i.disabled)("cdk-drag-dragging",i._dragRef.isDragging())},inputs:{data:["cdkDragData","data"],lockAxis:["cdkDragLockAxis","lockAxis"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],boundaryElement:["cdkDragBoundary","boundaryElement"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"],disabled:["cdkDragDisabled","disabled"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],previewContainer:["cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[e._Bn([{provide:op,useExisting:n}]),e.TTD]}),n})(),Cg=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[Dh],imports:[Nn.ZD]}),n})(),O0=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[Gi.g,$a.e,od.J],imports:[Ju,_e.ez,$t.aw,Cg]}),n})();function Oh(n){return new e.vHH(3e3,!1)}function rb(){return"undefined"!=typeof window&&void 0!==window.document}function Eg(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function ru(n){switch(n.length){case 0:return new ne.ZN;case 1:return n[0];default:return new ne.ZE(n)}}function U0(n,o,t,i,a=new Map,l=new Map){const h=[],E=[];let N=-1,oe=null;if(i.forEach(xe=>{const Ve=xe.get("offset"),lt=Ve==N,Ft=lt&&oe||new Map;xe.forEach((ii,fi)=>{let Wi=fi,Fn=ii;if("offset"!==fi)switch(Wi=o.normalizePropertyName(Wi,h),Fn){case ne.k1:Fn=a.get(fi);break;case ne.l3:Fn=l.get(fi);break;default:Fn=o.normalizeStyleValue(fi,Wi,Fn,h)}Ft.set(Wi,Fn)}),lt||E.push(Ft),oe=Ft,N=Ve}),h.length)throw function mC(n){return new e.vHH(3502,!1)}();return E}function fC(n,o,t,i){switch(o){case"start":n.onStart(()=>i(t&&zl(t,"start",n)));break;case"done":n.onDone(()=>i(t&&zl(t,"done",n)));break;case"destroy":n.onDestroy(()=>i(t&&zl(t,"destroy",n)))}}function zl(n,o,t){const i=t.totalTime,l=lp(n.element,n.triggerName,n.fromState,n.toState,o||n.phaseName,null==i?n.totalTime:i,!!t.disabled),h=n._data;return null!=h&&(l._data=h),l}function lp(n,o,t,i,a="",l=0,h){return{element:n,triggerName:o,fromState:t,toState:i,phaseName:a,totalTime:l,disabled:!!h}}function Cs(n,o,t){let i=n.get(o);return i||n.set(o,i=t),i}function wg(n){const o=n.indexOf(":");return[n.substring(1,o),n.slice(o+1)]}let i_=(n,o)=>!1,Sg=(n,o,t)=>[],Fh=null;function Ag(n){const o=n.parentNode||n.host;return o===Fh?null:o}(Eg()||"undefined"!=typeof Element)&&(rb()?(Fh=(()=>document.documentElement)(),i_=(n,o)=>{for(;o;){if(o===n)return!0;o=Ag(o)}return!1}):i_=(n,o)=>n.contains(o),Sg=(n,o,t)=>{if(t)return Array.from(n.querySelectorAll(o));const i=n.querySelector(o);return i?[i]:[]});let dd=null,vC=!1;const cp=i_,ud=Sg;let _d=(()=>{class n{validateStyleProperty(t){return function xC(n){dd||(dd=function bC(){return"undefined"!=typeof document?document.body:null}()||{},vC=!!dd.style&&"WebkitAppearance"in dd.style);let o=!0;return dd.style&&!function CC(n){return"ebkit"==n.substring(1,6)}(n)&&(o=n in dd.style,!o&&vC&&(o="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in dd.style)),o}(t)}matchesElement(t,i){return!1}containsElement(t,i){return cp(t,i)}getParentElement(t){return Ag(t)}query(t,i,a){return ud(t,i,a)}computeStyle(t,i,a){return a||""}animate(t,i,a,l,h,E=[],N){return new ne.ZN(a,l)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})(),n_=(()=>{class n{}return n.NOOP=new _d,n})();const a_="ng-enter",su="ng-leave",o_="ng-trigger",lu=".ng-trigger",TC="ng-animating",MC=".ng-animating";function Ql(n){if("number"==typeof n)return n;const o=n.match(/^(-?[\.\d]+)(m?s)/);return!o||o.length<2?0:Bh(parseFloat(o[1]),o[2])}function Bh(n,o){return"s"===o?1e3*n:n}function up(n,o,t){return n.hasOwnProperty("duration")?n:function DC(n,o,t){let a,l=0,h="";if("string"==typeof n){const E=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===E)return o.push(Oh()),{duration:0,delay:0,easing:""};a=Bh(parseFloat(E[1]),E[2]);const N=E[3];null!=N&&(l=Bh(parseFloat(N),E[4]));const oe=E[5];oe&&(h=oe)}else a=n;if(!t){let E=!1,N=o.length;a<0&&(o.push(function vg(){return new e.vHH(3100,!1)}()),E=!0),l<0&&(o.push(function rp(){return new e.vHH(3101,!1)}()),E=!0),E&&o.splice(N,0,Oh())}return{duration:a,delay:l,easing:h}}(n,o,t)}function r_(n,o={}){return Object.keys(n).forEach(t=>{o[t]=n[t]}),o}function EC(n){const o=new Map;return Object.keys(n).forEach(t=>{o.set(t,n[t])}),o}function Sc(n,o=new Map,t){if(t)for(let[i,a]of t)o.set(i,a);for(let[i,a]of n)o.set(i,a);return o}function Z0(n,o,t){return t?o+":"+t+";":""}function wC(n){let o="";for(let t=0;t{const l=Pg(a);t&&!t.has(a)&&t.set(a,n.style[l]),n.style[l]=i}),Eg()&&wC(n))}function Ac(n,o){n.style&&(o.forEach((t,i)=>{const a=Pg(i);n.style[a]=""}),Eg()&&wC(n))}function _p(n){return Array.isArray(n)?1==n.length?n[0]:(0,ne.vP)(n):n}const kg=new RegExp("{{\\s*(.+?)\\s*}}","g");function Ig(n){let o=[];if("string"==typeof n){let t;for(;t=kg.exec(n);)o.push(t[1]);kg.lastIndex=0}return o}function pp(n,o,t){const i=n.toString(),a=i.replace(kg,(l,h)=>{let E=o[h];return null==E&&(t.push(function xg(n){return new e.vHH(3003,!1)}()),E=""),E.toString()});return a==i?n:a}function hp(n){const o=[];let t=n.next();for(;!t.done;)o.push(t.value),t=n.next();return o}const Y0=/-+([a-z0-9])/g;function Pg(n){return n.replace(Y0,(...o)=>o[1].toUpperCase())}function AC(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function vo(n,o,t){switch(o.type){case 7:return n.visitTrigger(o,t);case 0:return n.visitState(o,t);case 1:return n.visitTransition(o,t);case 2:return n.visitSequence(o,t);case 3:return n.visitGroup(o,t);case 4:return n.visitAnimate(o,t);case 5:return n.visitKeyframes(o,t);case 6:return n.visitStyle(o,t);case 8:return n.visitReference(o,t);case 9:return n.visitAnimateChild(o,t);case 10:return n.visitAnimateRef(o,t);case 11:return n.visitQuery(o,t);case 12:return n.visitStagger(o,t);default:throw function uC(n){return new e.vHH(3004,!1)}()}}function Uh(n,o){return window.getComputedStyle(n)[o]}function OC(n,o){const t=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(i=>function V0(n,o,t){if(":"==n[0]){const N=function Yh(n,o){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,i)=>parseFloat(i)>parseFloat(t);case":decrement":return(t,i)=>parseFloat(i) *"}}(n,t);if("function"==typeof N)return void o.push(N);n=N}const i=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return t.push(function tb(n){return new e.vHH(3015,!1)}()),o;const a=i[1],l=i[2],h=i[3];o.push(kC(a,h));"<"==l[0]&&!("*"==a&&"*"==h)&&o.push(kC(h,a))}(i,t,o)):t.push(n),t}const l_=new Set(["true","1"]),cu=new Set(["false","0"]);function kC(n,o){const t=l_.has(n)||cu.has(n),i=l_.has(o)||cu.has(o);return(a,l)=>{let h="*"==n||n==a,E="*"==o||o==l;return!h&&t&&"boolean"==typeof a&&(h=a?l_.has(n):cu.has(n)),!E&&i&&"boolean"==typeof l&&(E=l?l_.has(o):cu.has(o)),h&&E}}const G0=new RegExp("s*:selfs*,?","g");function fp(n,o,t,i){return new Ng(n).build(o,t,i)}class Ng{constructor(o){this._driver=o}build(o,t,i){const a=new Xl(t);return this._resetContextStyleTimingState(a),vo(this,_p(o),a)}_resetContextStyleTimingState(o){o.currentQuerySelector="",o.collectedStyles=new Map,o.collectedStyles.set("",new Map),o.currentTime=0}visitTrigger(o,t){let i=t.queryCount=0,a=t.depCount=0;const l=[],h=[];return"@"==o.name.charAt(0)&&t.errors.push(function wc(){return new e.vHH(3006,!1)}()),o.definitions.forEach(E=>{if(this._resetContextStyleTimingState(t),0==E.type){const N=E,oe=N.name;oe.toString().split(/\s*,\s*/).forEach(xe=>{N.name=xe,l.push(this.visitState(N,t))}),N.name=oe}else if(1==E.type){const N=this.visitTransition(E,t);i+=N.queryCount,a+=N.depCount,h.push(N)}else t.errors.push(function ou(){return new e.vHH(3007,!1)}())}),{type:7,name:o.name,states:l,transitions:h,queryCount:i,depCount:a,options:null}}visitState(o,t){const i=this.visitStyle(o.styles,t),a=o.options&&o.options.params||null;if(i.containsDynamicStyles){const l=new Set,h=a||{};i.styles.forEach(E=>{E instanceof Map&&E.forEach(N=>{Ig(N).forEach(oe=>{h.hasOwnProperty(oe)||l.add(oe)})})}),l.size&&(hp(l.values()),t.errors.push(function bg(n,o){return new e.vHH(3008,!1)}()))}return{type:0,name:o.name,style:i,options:a?{params:a}:null}}visitTransition(o,t){t.queryCount=0,t.depCount=0;const i=vo(this,_p(o.animation),t);return{type:1,matchers:OC(o.expr,t.errors),animation:i,queryCount:t.queryCount,depCount:t.depCount,options:pl(o.options)}}visitSequence(o,t){return{type:2,steps:o.steps.map(i=>vo(this,i,t)),options:pl(o.options)}}visitGroup(o,t){const i=t.currentTime;let a=0;const l=o.steps.map(h=>{t.currentTime=i;const E=vo(this,h,t);return a=Math.max(a,t.currentTime),E});return t.currentTime=a,{type:3,steps:l,options:pl(o.options)}}visitAnimate(o,t){const i=function vp(n,o){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return Gh(up(n,o).duration,0,"");const t=n;if(t.split(/\s+/).some(l=>"{"==l.charAt(0)&&"{"==l.charAt(1))){const l=Gh(0,0,"");return l.dynamic=!0,l.strValue=t,l}const a=up(t,o);return Gh(a.duration,a.delay,a.easing)}(o.timings,t.errors);t.currentAnimateTimings=i;let a,l=o.styles?o.styles:(0,ne.oB)({});if(5==l.type)a=this.visitKeyframes(l,t);else{let h=o.styles,E=!1;if(!h){E=!0;const oe={};i.easing&&(oe.easing=i.easing),h=(0,ne.oB)(oe)}t.currentTime+=i.duration+i.delay;const N=this.visitStyle(h,t);N.isEmptyStep=E,a=N}return t.currentAnimateTimings=null,{type:4,timings:i,style:a,options:null}}visitStyle(o,t){const i=this._makeStyleAst(o,t);return this._validateStyleAst(i,t),i}_makeStyleAst(o,t){const i=[],a=Array.isArray(o.styles)?o.styles:[o.styles];for(let E of a)"string"==typeof E?E===ne.l3?i.push(E):t.errors.push(new e.vHH(3002,!1)):i.push(EC(E));let l=!1,h=null;return i.forEach(E=>{if(E instanceof Map&&(E.has("easing")&&(h=E.get("easing"),E.delete("easing")),!l))for(let N of E.values())if(N.toString().indexOf("{{")>=0){l=!0;break}}),{type:6,styles:i,easing:h,offset:o.offset,containsDynamicStyles:l,options:null}}_validateStyleAst(o,t){const i=t.currentAnimateTimings;let a=t.currentTime,l=t.currentTime;i&&l>0&&(l-=i.duration+i.delay),o.styles.forEach(h=>{"string"!=typeof h&&h.forEach((E,N)=>{const oe=t.collectedStyles.get(t.currentQuerySelector),xe=oe.get(N);let Ve=!0;xe&&(l!=a&&l>=xe.startTime&&a<=xe.endTime&&(t.errors.push(function _C(n,o,t,i,a){return new e.vHH(3010,!1)}()),Ve=!1),l=xe.startTime),Ve&&oe.set(N,{startTime:l,endTime:a}),t.options&&function SC(n,o,t){const i=o.params||{},a=Ig(n);a.length&&a.forEach(l=>{i.hasOwnProperty(l)||t.push(function ul(n){return new e.vHH(3001,!1)}())})}(E,t.options,t.errors)})})}visitKeyframes(o,t){const i={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function k0(){return new e.vHH(3011,!1)}()),i;let l=0;const h=[];let E=!1,N=!1,oe=0;const xe=o.steps.map(Fn=>{const ba=this._makeStyleAst(Fn,t);let br=null!=ba.offset?ba.offset:function Cp(n){if("string"==typeof n)return null;let o=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){const i=t;o=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){const t=n;o=parseFloat(t.get("offset")),t.delete("offset")}return o}(ba.styles),yr=0;return null!=br&&(l++,yr=ba.offset=br),N=N||yr<0||yr>1,E=E||yr0&&l{const br=lt>0?ba==Ft?1:lt*ba:h[ba],yr=br*Wi;t.currentTime=ii+fi.delay+yr,fi.duration=yr,this._validateStyleAst(Fn,t),Fn.offset=br,i.styles.push(Fn)}),i}visitReference(o,t){return{type:8,animation:vo(this,_p(o.animation),t),options:pl(o.options)}}visitAnimateChild(o,t){return t.depCount++,{type:9,options:pl(o.options)}}visitAnimateRef(o,t){return{type:10,animation:this.visitReference(o.animation,t),options:pl(o.options)}}visitQuery(o,t){const i=t.currentQuerySelector,a=o.options||{};t.queryCount++,t.currentQuery=o;const[l,h]=function Bg(n){const o=!!n.split(/\s*,\s*/).find(t=>":self"==t);return o&&(n=n.replace(G0,"")),n=n.replace(/@\*/g,lu).replace(/@\w+/g,t=>lu+"-"+t.slice(1)).replace(/:animating/g,MC),[n,o]}(o.selector);t.currentQuerySelector=i.length?i+" "+l:l,Cs(t.collectedStyles,t.currentQuerySelector,new Map);const E=vo(this,_p(o.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:11,selector:l,limit:a.limit||0,optional:!!a.optional,includeSelf:h,animation:E,originalSelector:o.selector,options:pl(o.options)}}visitStagger(o,t){t.currentQuery||t.errors.push(function Tg(){return new e.vHH(3013,!1)}());const i="full"===o.timings?{duration:0,delay:0,easing:"full"}:up(o.timings,t.errors,!0);return{type:12,animation:vo(this,_p(o.animation),t),timings:i,options:null}}}class Xl{constructor(o){this.errors=o,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function pl(n){return n?(n=r_(n)).params&&(n.params=function Vh(n){return n?r_(n):null}(n.params)):n={},n}function Gh(n,o,t){return{duration:n,delay:o,easing:t}}function c_(n,o,t,i,a,l,h=null,E=!1){return{type:1,element:n,keyframes:o,preStyleProps:t,postStyleProps:i,duration:a,delay:l,totalTime:a+l,easing:h,subTimeline:E}}class d_{constructor(){this._map=new Map}get(o){return this._map.get(o)||[]}append(o,t){let i=this._map.get(o);i||this._map.set(o,i=[]),i.push(...t)}has(o){return this._map.has(o)}clear(){this._map.clear()}}const xp=new RegExp(":enter","g"),ub=new RegExp(":leave","g");function Kh(n,o,t,i,a,l=new Map,h=new Map,E,N,oe=[]){return(new _b).buildKeyframes(n,o,t,i,a,l,h,E,N,oe)}class _b{buildKeyframes(o,t,i,a,l,h,E,N,oe,xe=[]){oe=oe||new d_;const Ve=new Ug(o,t,oe,a,l,xe,[]);Ve.options=N;const lt=N.delay?Ql(N.delay):0;Ve.currentTimeline.delayNextStep(lt),Ve.currentTimeline.setStyles([h],null,Ve.errors,N),vo(this,i,Ve);const Ft=Ve.timelines.filter(ii=>ii.containsAnimation());if(Ft.length&&E.size){let ii;for(let fi=Ft.length-1;fi>=0;fi--){const Wi=Ft[fi];if(Wi.element===t){ii=Wi;break}}ii&&!ii.allowOnlyTimelineStyles()&&ii.setStyles([E],null,Ve.errors,N)}return Ft.length?Ft.map(ii=>ii.buildKeyframes()):[c_(t,[],[],[],0,lt,"",!1)]}visitTrigger(o,t){}visitState(o,t){}visitTransition(o,t){}visitAnimateChild(o,t){const i=t.subInstructions.get(t.element);if(i){const a=t.createSubContext(o.options),l=t.currentTimeline.currentTime,h=this._visitSubInstructions(i,a,a.options);l!=h&&t.transformIntoNewTimeline(h)}t.previousNode=o}visitAnimateRef(o,t){const i=t.createSubContext(o.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([o.options,o.animation.options],t,i),this.visitReference(o.animation,i),t.transformIntoNewTimeline(i.currentTimeline.currentTime),t.previousNode=o}_applyAnimationRefDelays(o,t,i){var a;for(const l of o){const h=null==l?void 0:l.delay;if(h){const E="number"==typeof h?h:Ql(pp(h,null!==(a=null==l?void 0:l.params)&&void 0!==a?a:{},t.errors));i.delayNextStep(E)}}}_visitSubInstructions(o,t,i){let l=t.currentTimeline.currentTime;const h=null!=i.duration?Ql(i.duration):null,E=null!=i.delay?Ql(i.delay):null;return 0!==h&&o.forEach(N=>{const oe=t.appendInstructionToTimeline(N,h,E);l=Math.max(l,oe.duration+oe.delay)}),l}visitReference(o,t){t.updateOptions(o.options,!0),vo(this,o.animation,t),t.previousNode=o}visitSequence(o,t){const i=t.subContextCount;let a=t;const l=o.options;if(l&&(l.params||l.delay)&&(a=t.createSubContext(l),a.transformIntoNewTimeline(),null!=l.delay)){6==a.previousNode.type&&(a.currentTimeline.snapshotCurrentStyles(),a.previousNode=bp);const h=Ql(l.delay);a.delayNextStep(h)}o.steps.length&&(o.steps.forEach(h=>vo(this,h,a)),a.currentTimeline.applyStylesToKeyframe(),a.subContextCount>i&&a.transformIntoNewTimeline()),t.previousNode=o}visitGroup(o,t){const i=[];let a=t.currentTimeline.currentTime;const l=o.options&&o.options.delay?Ql(o.options.delay):0;o.steps.forEach(h=>{const E=t.createSubContext(o.options);l&&E.delayNextStep(l),vo(this,h,E),a=Math.max(a,E.currentTimeline.currentTime),i.push(E.currentTimeline)}),i.forEach(h=>t.currentTimeline.mergeTimelineCollectedStyles(h)),t.transformIntoNewTimeline(a),t.previousNode=o}_visitTiming(o,t){if(o.dynamic){const i=o.strValue;return up(t.params?pp(i,t.params,t.errors):i,t.errors)}return{duration:o.duration,delay:o.delay,easing:o.easing}}visitAnimate(o,t){const i=t.currentAnimateTimings=this._visitTiming(o.timings,t),a=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),a.snapshotCurrentStyles());const l=o.style;5==l.type?this.visitKeyframes(l,t):(t.incrementTime(i.duration),this.visitStyle(l,t),a.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=o}visitStyle(o,t){const i=t.currentTimeline,a=t.currentAnimateTimings;!a&&i.hasCurrentStyleProperties()&&i.forwardFrame();const l=a&&a.easing||o.easing;o.isEmptyStep?i.applyEmptyStep(l):i.setStyles(o.styles,l,t.errors,t.options),t.previousNode=o}visitKeyframes(o,t){const i=t.currentAnimateTimings,a=t.currentTimeline.duration,l=i.duration,E=t.createSubContext().currentTimeline;E.easing=i.easing,o.styles.forEach(N=>{E.forwardTime((N.offset||0)*l),E.setStyles(N.styles,N.easing,t.errors,t.options),E.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(E),t.transformIntoNewTimeline(a+l),t.previousNode=o}visitQuery(o,t){const i=t.currentTimeline.currentTime,a=o.options||{},l=a.delay?Ql(a.delay):0;l&&(6===t.previousNode.type||0==i&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=bp);let h=i;const E=t.invokeQuery(o.selector,o.originalSelector,o.limit,o.includeSelf,!!a.optional,t.errors);t.currentQueryTotal=E.length;let N=null;E.forEach((oe,xe)=>{t.currentQueryIndex=xe;const Ve=t.createSubContext(o.options,oe);l&&Ve.delayNextStep(l),oe===t.element&&(N=Ve.currentTimeline),vo(this,o.animation,Ve),Ve.currentTimeline.applyStylesToKeyframe(),h=Math.max(h,Ve.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(h),N&&(t.currentTimeline.mergeTimelineCollectedStyles(N),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=o}visitStagger(o,t){const i=t.parentContext,a=t.currentTimeline,l=o.timings,h=Math.abs(l.duration),E=h*(t.currentQueryTotal-1);let N=h*t.currentQueryIndex;switch(l.duration<0?"reverse":l.easing){case"reverse":N=E-N;break;case"full":N=i.currentStaggerTime}const xe=t.currentTimeline;N&&xe.delayNextStep(N);const Ve=xe.currentTime;vo(this,o.animation,t),t.previousNode=o,i.currentStaggerTime=a.currentTime-Ve+(a.startTime-i.currentTimeline.startTime)}}const bp={};class Ug{constructor(o,t,i,a,l,h,E,N){this._driver=o,this.element=t,this.subInstructions=i,this._enterClassName=a,this._leaveClassName=l,this.errors=h,this.timelines=E,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=bp,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=N||new jh(this._driver,t,0),E.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(o,t){if(!o)return;const i=o;let a=this.options;null!=i.duration&&(a.duration=Ql(i.duration)),null!=i.delay&&(a.delay=Ql(i.delay));const l=i.params;if(l){let h=a.params;h||(h=this.options.params={}),Object.keys(l).forEach(E=>{(!t||!h.hasOwnProperty(E))&&(h[E]=pp(l[E],h,this.errors))})}}_copyOptions(){const o={};if(this.options){const t=this.options.params;if(t){const i=o.params={};Object.keys(t).forEach(a=>{i[a]=t[a]})}}return o}createSubContext(o=null,t,i){const a=t||this.element,l=new Ug(this._driver,a,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(a,i||0));return l.previousNode=this.previousNode,l.currentAnimateTimings=this.currentAnimateTimings,l.options=this._copyOptions(),l.updateOptions(o),l.currentQueryIndex=this.currentQueryIndex,l.currentQueryTotal=this.currentQueryTotal,l.parentContext=this,this.subContextCount++,l}transformIntoNewTimeline(o){return this.previousNode=bp,this.currentTimeline=this.currentTimeline.fork(this.element,o),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(o,t,i){const a={duration:null!=t?t:o.duration,delay:this.currentTimeline.currentTime+(null!=i?i:0)+o.delay,easing:""},l=new RC(this._driver,o.element,o.keyframes,o.preStyleProps,o.postStyleProps,a,o.stretchStartingKeyframe);return this.timelines.push(l),a}incrementTime(o){this.currentTimeline.forwardTime(this.currentTimeline.duration+o)}delayNextStep(o){o>0&&this.currentTimeline.delayNextStep(o)}invokeQuery(o,t,i,a,l,h){let E=[];if(a&&E.push(this.element),o.length>0){o=(o=o.replace(xp,"."+this._enterClassName)).replace(ub,"."+this._leaveClassName);let oe=this._driver.query(this.element,o,1!=i);0!==i&&(oe=i<0?oe.slice(oe.length+i,oe.length):oe.slice(0,i)),E.push(...oe)}return!l&&0==E.length&&h.push(function Mg(n){return new e.vHH(3014,!1)}()),E}}class jh{constructor(o,t,i,a){this._driver=o,this.element=t,this.startTime=i,this._elementTimelineStylesLookup=a,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(o){const t=1===this._keyframes.size&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+o),t&&this.snapshotCurrentStyles()):this.startTime+=o}fork(o,t){return this.applyStylesToKeyframe(),new jh(this._driver,o,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(o){this.applyStylesToKeyframe(),this.duration=o,this._loadKeyframe()}_updateStyle(o,t){this._localTimelineStyles.set(o,t),this._globalTimelineStyles.set(o,t),this._styleSummary.set(o,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(o){o&&this._previousKeyframe.set("easing",o);for(let[t,i]of this._globalTimelineStyles)this._backFill.set(t,i||ne.l3),this._currentKeyframe.set(t,ne.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(o,t,i,a){var l;t&&this._previousKeyframe.set("easing",t);const h=a&&a.params||{},E=function j0(n,o){const t=new Map;let i;return n.forEach(a=>{if("*"===a){i=i||o.keys();for(let l of i)t.set(l,ne.l3)}else Sc(a,t)}),t}(o,this._globalTimelineStyles);for(let[N,oe]of E){const xe=pp(oe,h,i);this._pendingStyles.set(N,xe),this._localTimelineStyles.has(N)||this._backFill.set(N,null!==(l=this._globalTimelineStyles.get(N))&&void 0!==l?l:ne.l3),this._updateStyle(N,xe)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((o,t)=>{this._currentKeyframe.set(t,o)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((o,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,o)}))}snapshotCurrentStyles(){for(let[o,t]of this._localTimelineStyles)this._pendingStyles.set(o,t),this._updateStyle(o,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const o=[];for(let t in this._currentKeyframe)o.push(t);return o}mergeTimelineCollectedStyles(o){o._styleSummary.forEach((t,i)=>{const a=this._styleSummary.get(i);(!a||t.time>a.time)&&this._updateStyle(i,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const o=new Set,t=new Set,i=1===this._keyframes.size&&0===this.duration;let a=[];this._keyframes.forEach((E,N)=>{const oe=Sc(E,new Map,this._backFill);oe.forEach((xe,Ve)=>{xe===ne.k1?o.add(Ve):xe===ne.l3&&t.add(Ve)}),i||oe.set("offset",N/this.duration),a.push(oe)});const l=o.size?hp(o.values()):[],h=t.size?hp(t.values()):[];if(i){const E=a[0],N=new Map(E);E.set("offset",0),N.set("offset",1),a=[E,N]}return c_(this.element,a,l,h,this.duration,this.startTime,this.easing,!1)}}class RC extends jh{constructor(o,t,i,a,l,h,E=!1){super(o,t,h.delay),this.keyframes=i,this.preStyleProps=a,this.postStyleProps=l,this._stretchStartingKeyframe=E,this.timings={duration:h.duration,delay:h.delay,easing:h.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let o=this.keyframes,{delay:t,duration:i,easing:a}=this.timings;if(this._stretchStartingKeyframe&&t){const l=[],h=i+t,E=t/h,N=Sc(o[0]);N.set("offset",0),l.push(N);const oe=Sc(o[0]);oe.set("offset",yp(E)),l.push(oe);const xe=o.length-1;for(let Ve=1;Ve<=xe;Ve++){let lt=Sc(o[Ve]);const Ft=lt.get("offset");lt.set("offset",yp((t+Ft*i)/h)),l.push(lt)}i=h,t=0,a="",o=l}return c_(this.element,o,this.preStyleProps,this.postStyleProps,i,t,a,!0)}}function yp(n,o=3){const t=Math.pow(10,o-1);return Math.round(n*t)/t}class Yg{}const FC=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class NC extends Yg{normalizePropertyName(o,t){return Pg(o)}normalizeStyleValue(o,t,i,a){let l="";const h=i.toString().trim();if(FC.has(t)&&0!==i&&"0"!==i)if("number"==typeof i)l="px";else{const E=i.match(/^[+-]?[\d\.]+([a-z]*)$/);E&&0==E[1].length&&a.push(function kh(n,o){return new e.vHH(3005,!1)}())}return h+l}}function Hg(n,o,t,i,a,l,h,E,N,oe,xe,Ve,lt){return{type:0,element:n,triggerName:o,isRemovalTransition:a,fromState:t,fromStyles:l,toState:i,toStyles:h,timelines:E,queriedElements:N,preStyleProps:oe,postStyleProps:xe,totalTime:Ve,errors:lt}}const Wh={};class u_{constructor(o,t,i){this._triggerName=o,this.ast=t,this._stateStyles=i}match(o,t,i,a){return function q0(n,o,t,i,a){return n.some(l=>l(o,t,i,a))}(this.ast.matchers,o,t,i,a)}buildStyles(o,t,i){let a=this._stateStyles.get("*");return void 0!==o&&(a=this._stateStyles.get(null==o?void 0:o.toString())||a),a?a.buildStyles(t,i):new Map}build(o,t,i,a,l,h,E,N,oe,xe){var Ve;const lt=[],Ft=this.ast.options&&this.ast.options.params||Wh,fi=this.buildStyles(i,E&&E.params||Wh,lt),Wi=N&&N.params||Wh,Fn=this.buildStyles(a,Wi,lt),ba=new Set,br=new Map,yr=new Map,ym="void"===a,Pp={params:__(Wi,Ft),delay:null===(Ve=this.ast.options)||void 0===Ve?void 0:Ve.delay},Rl=xe?[]:Kh(o,t,this.ast.animation,l,h,fi,Fn,Pp,oe,lt);let Bc=0;if(Rl.forEach(Dd=>{Bc=Math.max(Dd.duration+Dd.delay,Bc)}),lt.length)return Hg(t,this._triggerName,i,a,ym,fi,Fn,[],[],br,yr,Bc,lt);Rl.forEach(Dd=>{const r0=Dd.element,s0=Cs(br,r0,new Set);Dd.preStyleProps.forEach(Of=>s0.add(Of));const l0=Cs(yr,r0,new Set);Dd.postStyleProps.forEach(Of=>l0.add(Of)),r0!==t&&ba.add(r0)});const j1=hp(ba.values());return Hg(t,this._triggerName,i,a,ym,fi,Fn,Rl,j1,br,yr,Bc)}}function __(n,o){const t=r_(o);for(const i in n)n.hasOwnProperty(i)&&null!=n[i]&&(t[i]=n[i]);return t}class BC{constructor(o,t,i){this.styles=o,this.defaultParams=t,this.normalizer=i}buildStyles(o,t){const i=new Map,a=r_(this.defaultParams);return Object.keys(o).forEach(l=>{const h=o[l];null!==h&&(a[l]=h)}),this.styles.styles.forEach(l=>{"string"!=typeof l&&l.forEach((h,E)=>{h&&(h=pp(h,a,t));const N=this.normalizer.normalizePropertyName(E,t);h=this.normalizer.normalizeStyleValue(E,N,h,t),i.set(N,h)})}),i}}class qh{constructor(o,t,i){this.name=o,this.ast=t,this._normalizer=i,this.transitionFactories=[],this.states=new Map,t.states.forEach(a=>{this.states.set(a.name,new BC(a.style,a.options&&a.options.params||{},i))}),hl(this.states,"true","1"),hl(this.states,"false","0"),t.transitions.forEach(a=>{this.transitionFactories.push(new u_(o,a,this.states))}),this.fallbackTransition=function ZC(n,o,t){return new u_(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(h,E)=>!0],options:null,queryCount:0,depCount:0},o)}(o,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(o,t,i,a){return this.transitionFactories.find(h=>h.match(o,t,i,a))||null}matchStyles(o,t,i){return this.fallbackTransition.buildStyles(o,t,i)}}function hl(n,o,t){n.has(o)?n.has(t)||n.set(t,n.get(o)):n.has(t)&&n.set(o,n.get(t))}const Tp=new d_;class Kr{constructor(o,t,i){this.bodyNode=o,this._driver=t,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(o,t){const i=[],l=fp(this._driver,t,i,[]);if(i.length)throw function Ph(n){return new e.vHH(3503,!1)}();this._animations.set(o,l)}_buildPlayer(o,t,i){const a=o.element,l=U0(0,this._normalizer,0,o.keyframes,t,i);return this._driver.animate(a,l,o.duration,o.delay,o.easing,[],!0)}create(o,t,i={}){const a=[],l=this._animations.get(o);let h;const E=new Map;if(l?(h=Kh(this._driver,t,l,a_,su,new Map,new Map,i,Tp,a),h.forEach(xe=>{const Ve=Cs(E,xe.element,new Map);xe.postStyleProps.forEach(lt=>Ve.set(lt,null))})):(a.push(function R0(){return new e.vHH(3300,!1)}()),h=[]),a.length)throw function ib(n){return new e.vHH(3504,!1)}();E.forEach((xe,Ve)=>{xe.forEach((lt,Ft)=>{xe.set(Ft,this._driver.computeStyle(Ve,Ft,ne.l3))})});const oe=ru(h.map(xe=>{const Ve=E.get(xe.element);return this._buildPlayer(xe,new Map,Ve)}));return this._playersById.set(o,oe),oe.onDestroy(()=>this.destroy(o)),this.players.push(oe),oe}destroy(o){const t=this._getPlayer(o);t.destroy(),this._playersById.delete(o);const i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}_getPlayer(o){const t=this._playersById.get(o);if(!t)throw function gC(n){return new e.vHH(3301,!1)}();return t}listen(o,t,i,a){const l=lp(t,"","","");return fC(this._getPlayer(o),i,l,a),()=>{}}command(o,t,i,a){if("register"==i)return void this.register(o,a[0]);if("create"==i)return void this.create(o,t,a[0]||{});const l=this._getPlayer(o);switch(i){case"play":l.play();break;case"pause":l.pause();break;case"reset":l.reset();break;case"restart":l.restart();break;case"finish":l.finish();break;case"init":l.init();break;case"setPosition":l.setPosition(parseFloat(a[0]));break;case"destroy":this.destroy(o)}}}const pd="ng-animate-queued",xs="ng-animate-disabled",uu=[],hd={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},m_={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},kr="__ng_removed";class md{constructor(o,t=""){this.namespaceId=t;const i=o&&o.hasOwnProperty("value");if(this.value=function GC(n){return null!=n?n:null}(i?o.value:o),i){const l=r_(o);delete l.value,this.options=l}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(o){const t=o.params;if(t){const i=this.options.params;Object.keys(t).forEach(a=>{null==i[a]&&(i[a]=t[a])})}}}const ec="void",gd=new md(ec);class YC{constructor(o,t,i){this.id=o,this.hostElement=t,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+o,ml(t,this._hostClassName)}listen(o,t,i,a){if(!this._triggers.has(t))throw function Dg(n,o){return new e.vHH(3302,!1)}();if(null==i||0==i.length)throw function F0(n){return new e.vHH(3303,!1)}();if(!function KC(n){return"start"==n||"done"==n}(i))throw function Rh(n,o){return new e.vHH(3400,!1)}();const l=Cs(this._elementListeners,o,[]),h={name:t,phase:i,callback:a};l.push(h);const E=Cs(this._engine.statesByElement,o,new Map);return E.has(t)||(ml(o,o_),ml(o,o_+"-"+t),E.set(t,gd)),()=>{this._engine.afterFlush(()=>{const N=l.indexOf(h);N>=0&&l.splice(N,1),this._triggers.has(t)||E.delete(t)})}}register(o,t){return!this._triggers.has(o)&&(this._triggers.set(o,t),!0)}_getTrigger(o){const t=this._triggers.get(o);if(!t)throw function nb(n){return new e.vHH(3401,!1)}();return t}trigger(o,t,i,a=!0){const l=this._getTrigger(t),h=new $h(this.id,t,o);let E=this._engine.statesByElement.get(o);E||(ml(o,o_),ml(o,o_+"-"+t),this._engine.statesByElement.set(o,E=new Map));let N=E.get(t);const oe=new md(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&N&&oe.absorbOptions(N.options),E.set(t,oe),N||(N=gd),oe.value!==ec&&N.value===oe.value){if(!function Dp(n,o){const t=Object.keys(n),i=Object.keys(o);if(t.length!=i.length)return!1;for(let a=0;a{Ac(o,Wi),_l(o,Fn)})}return}const lt=Cs(this._engine.playersByElement,o,[]);lt.forEach(fi=>{fi.namespaceId==this.id&&fi.triggerName==t&&fi.queued&&fi.destroy()});let Ft=l.matchTransition(N.value,oe.value,o,oe.params),ii=!1;if(!Ft){if(!a)return;Ft=l.fallbackTransition,ii=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:t,transition:Ft,fromState:N,toState:oe,player:h,isFallbackTransition:ii}),ii||(ml(o,pd),h.onStart(()=>{fd(o,pd)})),h.onDone(()=>{let fi=this.players.indexOf(h);fi>=0&&this.players.splice(fi,1);const Wi=this._engine.playersByElement.get(o);if(Wi){let Fn=Wi.indexOf(h);Fn>=0&&Wi.splice(Fn,1)}}),this.players.push(h),lt.push(h),h}deregister(o){this._triggers.delete(o),this._engine.statesByElement.forEach(t=>t.delete(o)),this._elementListeners.forEach((t,i)=>{this._elementListeners.set(i,t.filter(a=>a.name!=o))})}clearElementCache(o){this._engine.statesByElement.delete(o),this._elementListeners.delete(o);const t=this._engine.playersByElement.get(o);t&&(t.forEach(i=>i.destroy()),this._engine.playersByElement.delete(o))}_signalRemovalForInnerTriggers(o,t){const i=this._engine.driver.query(o,lu,!0);i.forEach(a=>{if(a[kr])return;const l=this._engine.fetchNamespacesByElement(a);l.size?l.forEach(h=>h.triggerLeaveAnimation(a,t,!1,!0)):this.clearElementCache(a)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(a=>this.clearElementCache(a)))}triggerLeaveAnimation(o,t,i,a){const l=this._engine.statesByElement.get(o),h=new Map;if(l){const E=[];if(l.forEach((N,oe)=>{if(h.set(oe,N.value),this._triggers.has(oe)){const xe=this.trigger(o,oe,ec,a);xe&&E.push(xe)}}),E.length)return this._engine.markElementAsRemoved(this.id,o,!0,t,h),i&&ru(E).onDone(()=>this._engine.processLeaveNode(o)),!0}return!1}prepareLeaveAnimationListeners(o){const t=this._elementListeners.get(o),i=this._engine.statesByElement.get(o);if(t&&i){const a=new Set;t.forEach(l=>{const h=l.name;if(a.has(h))return;a.add(h);const N=this._triggers.get(h).fallbackTransition,oe=i.get(h)||gd,xe=new md(ec),Ve=new $h(this.id,h,o);this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:h,transition:N,fromState:oe,toState:xe,player:Ve,isFallbackTransition:!0})})}}removeNode(o,t){const i=this._engine;if(o.childElementCount&&this._signalRemovalForInnerTriggers(o,t),this.triggerLeaveAnimation(o,t,!0))return;let a=!1;if(i.totalAnimations){const l=i.players.length?i.playersByQueriedElement.get(o):[];if(l&&l.length)a=!0;else{let h=o;for(;h=h.parentNode;)if(i.statesByElement.get(h)){a=!0;break}}}if(this.prepareLeaveAnimationListeners(o),a)i.markElementAsRemoved(this.id,o,!1,t);else{const l=o[kr];(!l||l===hd)&&(i.afterFlush(()=>this.clearElementCache(o)),i.destroyInnerAnimations(o),i._onRemovalComplete(o,t))}}insertNode(o,t){ml(o,this._hostClassName)}drainQueuedTransitions(o){const t=[];return this._queue.forEach(i=>{const a=i.player;if(a.destroyed)return;const l=i.element,h=this._elementListeners.get(l);h&&h.forEach(E=>{if(E.name==i.triggerName){const N=lp(l,i.triggerName,i.fromState.value,i.toState.value);N._data=o,fC(i.player,E.phase,N,E.callback)}}),a.markedForDestroy?this._engine.afterFlush(()=>{a.destroy()}):t.push(i)}),this._queue=[],t.sort((i,a)=>{const l=i.transition.ast.depCount,h=a.transition.ast.depCount;return 0==l||0==h?l-h:this._engine.driver.containsElement(i.element,a.element)?1:-1})}destroy(o){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,o)}elementContainsData(o){let t=!1;return this._elementListeners.has(o)&&(t=!0),t=!!this._queue.find(i=>i.element===o)||t,t}}class HC{constructor(o,t,i){this.bodyNode=o,this.driver=t,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(a,l)=>{}}_onRemovalComplete(o,t){this.onRemovalComplete(o,t)}get queuedPlayers(){const o=[];return this._namespaceList.forEach(t=>{t.players.forEach(i=>{i.queued&&o.push(i)})}),o}createNamespace(o,t){const i=new YC(o,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(i,t):(this.newHostElements.set(t,i),this.collectEnterElement(t)),this._namespaceLookup[o]=i}_balanceNamespaceList(o,t){const i=this._namespaceList,a=this.namespacesByHostElement;if(i.length-1>=0){let h=!1,E=this.driver.getParentElement(t);for(;E;){const N=a.get(E);if(N){const oe=i.indexOf(N);i.splice(oe+1,0,o),h=!0;break}E=this.driver.getParentElement(E)}h||i.unshift(o)}else i.push(o);return a.set(t,o),o}register(o,t){let i=this._namespaceLookup[o];return i||(i=this.createNamespace(o,t)),i}registerTrigger(o,t,i){let a=this._namespaceLookup[o];a&&a.register(t,i)&&this.totalAnimations++}destroy(o,t){if(!o)return;const i=this._fetchNamespace(o);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[o];const a=this._namespaceList.indexOf(i);a>=0&&this._namespaceList.splice(a,1)}),this.afterFlushAnimationsDone(()=>i.destroy(t))}_fetchNamespace(o){return this._namespaceLookup[o]}fetchNamespacesByElement(o){const t=new Set,i=this.statesByElement.get(o);if(i)for(let a of i.values())if(a.namespaceId){const l=this._fetchNamespace(a.namespaceId);l&&t.add(l)}return t}trigger(o,t,i,a){if(Mp(t)){const l=this._fetchNamespace(o);if(l)return l.trigger(t,i,a),!0}return!1}insertNode(o,t,i,a){if(!Mp(t))return;const l=t[kr];if(l&&l.setForRemoval){l.setForRemoval=!1,l.setForMove=!0;const h=this.collectedLeaveElements.indexOf(t);h>=0&&this.collectedLeaveElements.splice(h,1)}if(o){const h=this._fetchNamespace(o);h&&h.insertNode(t,i)}a&&this.collectEnterElement(t)}collectEnterElement(o){this.collectedEnterElements.push(o)}markElementAsDisabled(o,t){t?this.disabledNodes.has(o)||(this.disabledNodes.add(o),ml(o,xs)):this.disabledNodes.has(o)&&(this.disabledNodes.delete(o),fd(o,xs))}removeNode(o,t,i,a){if(Mp(t)){const l=o?this._fetchNamespace(o):null;if(l?l.removeNode(t,a):this.markElementAsRemoved(o,t,!1,a),i){const h=this.namespacesByHostElement.get(t);h&&h.id!==o&&h.removeNode(t,a)}}else this._onRemovalComplete(t,a)}markElementAsRemoved(o,t,i,a,l){this.collectedLeaveElements.push(t),t[kr]={namespaceId:o,setForRemoval:a,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:l}}listen(o,t,i,a,l){return Mp(t)?this._fetchNamespace(o).listen(t,i,a,l):()=>{}}_buildInstruction(o,t,i,a,l){return o.transition.build(this.driver,o.element,o.fromState.value,o.toState.value,i,a,o.fromState.options,o.toState.options,t,l)}destroyInnerAnimations(o){let t=this.driver.query(o,lu,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(o,MC,!0),t.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(o){const t=this.playersByElement.get(o);t&&t.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(o){const t=this.playersByQueriedElement.get(o);t&&t.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(o=>{if(this.players.length)return ru(this.players).onDone(()=>o());o()})}processLeaveNode(o){var t;const i=o[kr];if(i&&i.setForRemoval){if(o[kr]=hd,i.namespaceId){this.destroyInnerAnimations(o);const a=this._fetchNamespace(i.namespaceId);a&&a.clearElementCache(o)}this._onRemovalComplete(o,i.setForRemoval)}!(null===(t=o.classList)||void 0===t)&&t.contains(xs)&&this.markElementAsDisabled(o,!1),this.driver.query(o,".ng-animate-disabled",!0).forEach(a=>{this.markElementAsDisabled(a,!1)})}flush(o=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,a)=>this._balanceNamespaceList(i,a)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],t.length?ru(t).onDone(()=>{i.forEach(a=>a())}):i.forEach(a=>a())}}reportError(o){throw function N0(n){return new e.vHH(3402,!1)}()}_flushAnimations(o,t){const i=new d_,a=[],l=new Map,h=[],E=new Map,N=new Map,oe=new Map,xe=new Set;this.disabledNodes.forEach(Xi=>{xe.add(Xi);const hn=this.driver.query(Xi,".ng-animate-queued",!0);for(let bn=0;bn{const bn=a_+fi++;ii.set(hn,bn),Xi.forEach(ra=>ml(ra,bn))});const Wi=[],Fn=new Set,ba=new Set;for(let Xi=0;XiFn.add(ra)):ba.add(hn))}const br=new Map,yr=jC(lt,Array.from(Fn));yr.forEach((Xi,hn)=>{const bn=su+fi++;br.set(hn,bn),Xi.forEach(ra=>ml(ra,bn))}),o.push(()=>{Ft.forEach((Xi,hn)=>{const bn=ii.get(hn);Xi.forEach(ra=>fd(ra,bn))}),yr.forEach((Xi,hn)=>{const bn=br.get(hn);Xi.forEach(ra=>fd(ra,bn))}),Wi.forEach(Xi=>{this.processLeaveNode(Xi)})});const ym=[],Pp=[];for(let Xi=this._namespaceList.length-1;Xi>=0;Xi--)this._namespaceList[Xi].drainQueuedTransitions(t).forEach(bn=>{const ra=bn.player,rr=bn.element;if(ym.push(ra),this.collectedEnterElements.length){const Gs=rr[kr];if(Gs&&Gs.setForMove){if(Gs.previousTriggersValues&&Gs.previousTriggersValues.has(bn.triggerName)){const Tm=Gs.previousTriggersValues.get(bn.triggerName),Uc=this.statesByElement.get(bn.element);if(Uc&&Uc.has(bn.triggerName)){const W1=Uc.get(bn.triggerName);W1.value=Tm,Uc.set(bn.triggerName,W1)}}return void ra.destroy()}}const _u=!Ve||!this.driver.containsElement(Ve,rr),rc=br.get(rr),Rp=ii.get(rr),Jo=this._buildInstruction(bn,i,Rp,rc,_u);if(Jo.errors&&Jo.errors.length)return void Pp.push(Jo);if(_u)return ra.onStart(()=>Ac(rr,Jo.fromStyles)),ra.onDestroy(()=>_l(rr,Jo.toStyles)),void a.push(ra);if(bn.isFallbackTransition)return ra.onStart(()=>Ac(rr,Jo.fromStyles)),ra.onDestroy(()=>_l(rr,Jo.toStyles)),void a.push(ra);const UT=[];Jo.timelines.forEach(Gs=>{Gs.stretchStartingKeyframe=!0,this.disabledNodes.has(Gs.element)||UT.push(Gs)}),Jo.timelines=UT,i.append(rr,Jo.timelines),h.push({instruction:Jo,player:ra,element:rr}),Jo.queriedElements.forEach(Gs=>Cs(E,Gs,[]).push(ra)),Jo.preStyleProps.forEach((Gs,Tm)=>{if(Gs.size){let Uc=N.get(Tm);Uc||N.set(Tm,Uc=new Set),Gs.forEach((W1,L2)=>Uc.add(L2))}}),Jo.postStyleProps.forEach((Gs,Tm)=>{let Uc=oe.get(Tm);Uc||oe.set(Tm,Uc=new Set),Gs.forEach((W1,L2)=>Uc.add(L2))})});if(Pp.length){const Xi=[];Pp.forEach(hn=>{Xi.push(function B0(n,o){return new e.vHH(3505,!1)}())}),ym.forEach(hn=>hn.destroy()),this.reportError(Xi)}const Rl=new Map,Bc=new Map;h.forEach(Xi=>{const hn=Xi.element;i.has(hn)&&(Bc.set(hn,hn),this._beforeAnimationBuild(Xi.player.namespaceId,Xi.instruction,Rl))}),a.forEach(Xi=>{const hn=Xi.element;this._getPreviousPlayers(hn,!1,Xi.namespaceId,Xi.triggerName,null).forEach(ra=>{Cs(Rl,hn,[]).push(ra),ra.destroy()})});const j1=Wi.filter(Xi=>zh(Xi,N,oe)),Dd=new Map;Kg(Dd,this.driver,ba,oe,ne.l3).forEach(Xi=>{zh(Xi,N,oe)&&j1.push(Xi)});const s0=new Map;Ft.forEach((Xi,hn)=>{Kg(s0,this.driver,new Set(Xi),N,ne.k1)}),j1.forEach(Xi=>{var hn,bn;const ra=Dd.get(Xi),rr=s0.get(Xi);Dd.set(Xi,new Map([...Array.from(null!==(hn=null==ra?void 0:ra.entries())&&void 0!==hn?hn:[]),...Array.from(null!==(bn=null==rr?void 0:rr.entries())&&void 0!==bn?bn:[])]))});const l0=[],Of=[],BT={};h.forEach(Xi=>{const{element:hn,player:bn,instruction:ra}=Xi;if(i.has(hn)){if(xe.has(hn))return bn.onDestroy(()=>_l(hn,ra.toStyles)),bn.disabled=!0,bn.overrideTotalTime(ra.totalTime),void a.push(bn);let rr=BT;if(Bc.size>1){let rc=hn;const Rp=[];for(;rc=rc.parentNode;){const Jo=Bc.get(rc);if(Jo){rr=Jo;break}Rp.push(rc)}Rp.forEach(Jo=>Bc.set(Jo,rr))}const _u=this._buildAnimation(bn.namespaceId,ra,Rl,l,s0,Dd);if(bn.setRealPlayer(_u),rr===BT)l0.push(bn);else{const rc=this.playersByElement.get(rr);rc&&rc.length&&(bn.parentPlayer=ru(rc)),a.push(bn)}}else Ac(hn,ra.fromStyles),bn.onDestroy(()=>_l(hn,ra.toStyles)),Of.push(bn),xe.has(hn)&&a.push(bn)}),Of.forEach(Xi=>{const hn=l.get(Xi.element);if(hn&&hn.length){const bn=ru(hn);Xi.setRealPlayer(bn)}}),a.forEach(Xi=>{Xi.parentPlayer?Xi.syncPlayerEvents(Xi.parentPlayer):Xi.destroy()});for(let Xi=0;Xi!_u.destroyed);rr.length?WC(this,hn,rr):this.processLeaveNode(hn)}return Wi.length=0,l0.forEach(Xi=>{this.players.push(Xi),Xi.onDone(()=>{Xi.destroy();const hn=this.players.indexOf(Xi);this.players.splice(hn,1)}),Xi.play()}),l0}elementContainsData(o,t){let i=!1;const a=t[kr];return a&&a.setForRemoval&&(i=!0),this.playersByElement.has(t)&&(i=!0),this.playersByQueriedElement.has(t)&&(i=!0),this.statesByElement.has(t)&&(i=!0),this._fetchNamespace(o).elementContainsData(t)||i}afterFlush(o){this._flushFns.push(o)}afterFlushAnimationsDone(o){this._whenQuietFns.push(o)}_getPreviousPlayers(o,t,i,a,l){let h=[];if(t){const E=this.playersByQueriedElement.get(o);E&&(h=E)}else{const E=this.playersByElement.get(o);if(E){const N=!l||l==ec;E.forEach(oe=>{oe.queued||!N&&oe.triggerName!=a||h.push(oe)})}}return(i||a)&&(h=h.filter(E=>!(i&&i!=E.namespaceId||a&&a!=E.triggerName))),h}_beforeAnimationBuild(o,t,i){const l=t.element,h=t.isRemovalTransition?void 0:o,E=t.isRemovalTransition?void 0:t.triggerName;for(const N of t.timelines){const oe=N.element,xe=oe!==l,Ve=Cs(i,oe,[]);this._getPreviousPlayers(oe,xe,h,E,t.toState).forEach(Ft=>{const ii=Ft.getRealPlayer();ii.beforeDestroy&&ii.beforeDestroy(),Ft.destroy(),Ve.push(Ft)})}Ac(l,t.fromStyles)}_buildAnimation(o,t,i,a,l,h){const E=t.triggerName,N=t.element,oe=[],xe=new Set,Ve=new Set,lt=t.timelines.map(ii=>{const fi=ii.element;xe.add(fi);const Wi=fi[kr];if(Wi&&Wi.removedBeforeQueried)return new ne.ZN(ii.duration,ii.delay);const Fn=fi!==N,ba=function On(n){const o=[];return gl(n,o),o}((i.get(fi)||uu).map(Rl=>Rl.getRealPlayer())).filter(Rl=>!!Rl.element&&Rl.element===fi),br=l.get(fi),yr=h.get(fi),ym=U0(0,this._normalizer,0,ii.keyframes,br,yr),Pp=this._buildPlayer(ii,ym,ba);if(ii.subTimeline&&a&&Ve.add(fi),Fn){const Rl=new $h(o,E,fi);Rl.setRealPlayer(Pp),oe.push(Rl)}return Pp});oe.forEach(ii=>{Cs(this.playersByQueriedElement,ii.element,[]).push(ii),ii.onDone(()=>function VC(n,o,t){let i=n.get(o);if(i){if(i.length){const a=i.indexOf(t);i.splice(a,1)}0==i.length&&n.delete(o)}return i}(this.playersByQueriedElement,ii.element,ii))}),xe.forEach(ii=>ml(ii,TC));const Ft=ru(lt);return Ft.onDestroy(()=>{xe.forEach(ii=>fd(ii,TC)),_l(N,t.toStyles)}),Ve.forEach(ii=>{Cs(a,ii,[]).push(Ft)}),Ft}_buildPlayer(o,t,i){return t.length>0?this.driver.animate(o.element,t,o.duration,o.delay,o.easing,i):new ne.ZN(o.duration,o.delay)}}class $h{constructor(o,t,i){this.namespaceId=o,this.triggerName=t,this.element=i,this._player=new ne.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(o){this._containsRealPlayer||(this._player=o,this._queuedCallbacks.forEach((t,i)=>{t.forEach(a=>fC(o,i,void 0,a))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(o.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(o){this.totalTime=o}syncPlayerEvents(o){const t=this._player;t.triggerCallback&&o.onStart(()=>t.triggerCallback("start")),o.onDone(()=>this.finish()),o.onDestroy(()=>this.destroy())}_queueEvent(o,t){Cs(this._queuedCallbacks,o,[]).push(t)}onDone(o){this.queued&&this._queueEvent("done",o),this._player.onDone(o)}onStart(o){this.queued&&this._queueEvent("start",o),this._player.onStart(o)}onDestroy(o){this.queued&&this._queueEvent("destroy",o),this._player.onDestroy(o)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(o){this.queued||this._player.setPosition(o)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(o){const t=this._player;t.triggerCallback&&t.triggerCallback(o)}}function Mp(n){return n&&1===n.nodeType}function Gg(n,o){const t=n.style.display;return n.style.display=null!=o?o:"none",t}function Kg(n,o,t,i,a){const l=[];t.forEach(N=>l.push(Gg(N)));const h=[];i.forEach((N,oe)=>{const xe=new Map;N.forEach(Ve=>{const lt=o.computeStyle(oe,Ve,a);xe.set(Ve,lt),(!lt||0==lt.length)&&(oe[kr]=m_,h.push(oe))}),n.set(oe,xe)});let E=0;return t.forEach(N=>Gg(N,l[E++])),h}function jC(n,o){const t=new Map;if(n.forEach(E=>t.set(E,[])),0==o.length)return t;const a=new Set(o),l=new Map;function h(E){if(!E)return 1;let N=l.get(E);if(N)return N;const oe=E.parentNode;return N=t.has(oe)?oe:a.has(oe)?1:h(oe),l.set(E,N),N}return o.forEach(E=>{const N=h(E);1!==N&&t.get(N).push(E)}),t}function ml(n,o){var t;null===(t=n.classList)||void 0===t||t.add(o)}function fd(n,o){var t;null===(t=n.classList)||void 0===t||t.remove(o)}function WC(n,o,t){ru(t).onDone(()=>n.processLeaveNode(o))}function gl(n,o){for(let t=0;ta.add(l)):o.set(n,i),t.delete(n),!0}class qo{constructor(o,t,i){this.bodyNode=o,this._driver=t,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(a,l)=>{},this._transitionEngine=new HC(o,t,i),this._timelineEngine=new Kr(o,t,i),this._transitionEngine.onRemovalComplete=(a,l)=>this.onRemovalComplete(a,l)}registerTrigger(o,t,i,a,l){const h=o+"-"+a;let E=this._triggerCache[h];if(!E){const N=[],xe=fp(this._driver,l,N,[]);if(N.length)throw function hC(n,o){return new e.vHH(3404,!1)}();E=function UC(n,o,t){return new qh(n,o,t)}(a,xe,this._normalizer),this._triggerCache[h]=E}this._transitionEngine.registerTrigger(t,a,E)}register(o,t){this._transitionEngine.register(o,t)}destroy(o,t){this._transitionEngine.destroy(o,t)}onInsert(o,t,i,a){this._transitionEngine.insertNode(o,t,i,a)}onRemove(o,t,i,a){this._transitionEngine.removeNode(o,t,a||!1,i)}disableAnimations(o,t){this._transitionEngine.markElementAsDisabled(o,t)}process(o,t,i,a){if("@"==i.charAt(0)){const[l,h]=wg(i);this._timelineEngine.command(l,t,h,a)}else this._transitionEngine.trigger(o,t,i,a)}listen(o,t,i,a,l){if("@"==i.charAt(0)){const[h,E]=wg(i);return this._timelineEngine.listen(h,t,E,l)}return this._transitionEngine.listen(o,t,i,a,l)}flush(o=-1){this._transitionEngine.flush(o)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Qh=(()=>{class n{constructor(t,i,a){this._element=t,this._startStyles=i,this._endStyles=a,this._state=0;let l=n.initialStylesByElement.get(t);l||n.initialStylesByElement.set(t,l=new Map),this._initialStyles=l}start(){this._state<1&&(this._startStyles&&_l(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(_l(this._element,this._initialStyles),this._endStyles&&(_l(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(Ac(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ac(this._element,this._endStyles),this._endStyles=null),_l(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function Xh(n){let o=null;return n.forEach((t,i)=>{(function g_(n){return"display"===n||"position"===n})(i)&&(o=o||new Map,o.set(i,t))}),o}class Cd{constructor(o,t,i,a){this.element=o,this.keyframes=t,this.options=i,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const o=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,o,this.options),this._finalKeyframe=o.length?o[o.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(o){const t=[];return o.forEach(i=>{t.push(Object.fromEntries(i))}),t}_triggerWebAnimation(o,t,i){return o.animate(this._convertKeyframesToObject(t),i)}onStart(o){this._originalOnStartFns.push(o),this._onStartFns.push(o)}onDone(o){this._originalOnDoneFns.push(o),this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(o=>o()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}setPosition(o){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=o*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const o=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,a)=>{"offset"!==a&&o.set(a,this._finished?i:Uh(this.element,a))}),this.currentSnapshot=o}triggerCallback(o){const t="start"===o?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class bs{validateStyleProperty(o){return!0}validateAnimatableStyleProperty(o){return!0}matchesElement(o,t){return!1}containsElement(o,t){return cp(o,t)}getParentElement(o){return Ag(o)}query(o,t,i){return ud(o,t,i)}computeStyle(o,t,i){return window.getComputedStyle(o)[t]}animate(o,t,i,a,l,h=[]){const N={duration:i,delay:a,fill:0==a?"both":"forwards"};l&&(N.easing=l);const oe=new Map,xe=h.filter(Ft=>Ft instanceof Cd);(function Rg(n,o){return 0===n||0===o})(i,a)&&xe.forEach(Ft=>{Ft.currentSnapshot.forEach((ii,fi)=>oe.set(fi,ii))});let Ve=function vs(n){return n.length?n[0]instanceof Map?n:n.map(o=>EC(o)):[]}(t).map(Ft=>Sc(Ft));Ve=function LC(n,o,t){if(t.size&&o.length){let i=o[0],a=[];if(t.forEach((l,h)=>{i.has(h)||a.push(h),i.set(h,l)}),a.length)for(let l=1;lh.set(E,Uh(n,E)))}}return o}(o,Ve,oe);const lt=function Ep(n,o){let t=null,i=null;return Array.isArray(o)&&o.length?(t=Xh(o[0]),o.length>1&&(i=Xh(o[o.length-1]))):o instanceof Map&&(t=Xh(o)),t||i?new Qh(n,t,i):null}(o,Ve);return new Cd(o,Ve,N,lt)}}let Lc=(()=>{class n extends ne._j{constructor(t,i){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(i.body,{id:"0",encapsulation:e.ifc.None,styles:[],data:{animation:[]}})}build(t){const i=this._nextAnimationId.toString();this._nextAnimationId++;const a=Array.isArray(t)?(0,ne.vP)(t):t;return fl(this._renderer,null,i,"register",[a]),new Pi(i,this._renderer)}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(e.FYo),e.LFG(_e.K0))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})();class Pi extends ne.LC{constructor(o,t){super(),this._id=o,this._renderer=t}create(o,t){return new em(this._id,o,t||{},this._renderer)}}class em{constructor(o,t,i,a){this.id=o,this.element=t,this._renderer=a,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(o,t){return this._renderer.listen(this.element,`@@${this.id}:${o}`,t)}_command(o,...t){return fl(this._renderer,this.element,this.id,o,t)}onDone(o){this._listen("done",o)}onStart(o){this._listen("start",o)}onDestroy(o){this._listen("destroy",o)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(o){this._command("setPosition",o)}getPosition(){var o,t;return null!==(t=null===(o=this._renderer.engine.players[+this.id])||void 0===o?void 0:o.getPosition())&&void 0!==t?t:0}}function fl(n,o,t,i,a){return n.setProperty(o,`@@${t}:${i}`,a)}const f_="@.disabled";let jg=(()=>{class n{constructor(t,i,a){this.delegate=t,this.engine=i,this._zone=a,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(l,h)=>{const E=null==h?void 0:h.parentNode(l);E&&h.removeChild(E,l)}}createRenderer(t,i){const l=this.delegate.createRenderer(t,i);if(!(t&&i&&i.data&&i.data.animation)){let xe=this._rendererCache.get(l);return xe||(xe=new vd("",l,this.engine,()=>this._rendererCache.delete(l)),this._rendererCache.set(l,xe)),xe}const h=i.id,E=i.id+"-"+this._currentId;this._currentId++,this.engine.register(E,t);const N=xe=>{Array.isArray(xe)?xe.forEach(N):this.engine.registerTrigger(h,E,t,xe.name,xe)};return i.data.animation.forEach(N),new Wg(this,E,l,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,i,a){t>=0&&ti(a)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(l=>{const[h,E]=l;h(E)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,a]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(e.FYo),e.LFG(qo),e.LFG(e.R0b))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})();class vd{constructor(o,t,i,a){this.namespaceId=o,this.delegate=t,this.engine=i,this._onDestroy=a,this.destroyNode=this.delegate.destroyNode?l=>t.destroyNode(l):null}get data(){return this.delegate.data}destroy(){var o;this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),null===(o=this._onDestroy)||void 0===o||o.call(this)}createElement(o,t){return this.delegate.createElement(o,t)}createComment(o){return this.delegate.createComment(o)}createText(o){return this.delegate.createText(o)}appendChild(o,t){this.delegate.appendChild(o,t),this.engine.onInsert(this.namespaceId,t,o,!1)}insertBefore(o,t,i,a=!0){this.delegate.insertBefore(o,t,i),this.engine.onInsert(this.namespaceId,t,o,a)}removeChild(o,t,i){this.engine.onRemove(this.namespaceId,t,this.delegate,i)}selectRootElement(o,t){return this.delegate.selectRootElement(o,t)}parentNode(o){return this.delegate.parentNode(o)}nextSibling(o){return this.delegate.nextSibling(o)}setAttribute(o,t,i,a){this.delegate.setAttribute(o,t,i,a)}removeAttribute(o,t,i){this.delegate.removeAttribute(o,t,i)}addClass(o,t){this.delegate.addClass(o,t)}removeClass(o,t){this.delegate.removeClass(o,t)}setStyle(o,t,i,a){this.delegate.setStyle(o,t,i,a)}removeStyle(o,t,i){this.delegate.removeStyle(o,t,i)}setProperty(o,t,i){"@"==t.charAt(0)&&t==f_?this.disableAnimations(o,!!i):this.delegate.setProperty(o,t,i)}setValue(o,t){this.delegate.setValue(o,t)}listen(o,t,i){return this.delegate.listen(o,t,i)}disableAnimations(o,t){this.engine.disableAnimations(o,t)}}class Wg extends vd{constructor(o,t,i,a,l){super(t,i,a,l),this.factory=o,this.namespaceId=t}setProperty(o,t,i){"@"==t.charAt(0)?"."==t.charAt(1)&&t==f_?this.disableAnimations(o,i=void 0===i||!!i):this.engine.process(this.namespaceId,o,t.slice(1),i):this.delegate.setProperty(o,t,i)}listen(o,t,i){if("@"==t.charAt(0)){const a=function tm(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(o);let l=t.slice(1),h="";return"@"!=l.charAt(0)&&([l,h]=function qC(n){const o=n.indexOf(".");return[n.substring(0,o),n.slice(o+1)]}(l)),this.engine.listen(this.namespaceId,a,l,h,E=>{this.factory.scheduleListenerCallback(E._data||-1,i,E)})}return this.delegate.listen(o,t,i)}}const ic=[{provide:ne._j,useClass:Lc},{provide:Yg,useFactory:function Io(){return new NC}},{provide:qo,useClass:(()=>{class n extends qo{constructor(t,i,a,l){super(t.body,i,a)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(_e.K0),e.LFG(n_),e.LFG(Yg),e.LFG(e.z2F))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})()},{provide:e.FYo,useFactory:function im(n,o,t){return new jg(n,o,t)},deps:[c.se,qo,e.R0b]}],xd=[{provide:n_,useFactory:()=>new bs},{provide:e.QbO,useValue:"BrowserAnimations"},...ic],Ir=[{provide:n_,useClass:_d},{provide:e.QbO,useValue:"NoopAnimations"},...ic];let nm=(()=>{class n{static withConfig(t){return{ngModule:n,providers:t.disableAnimations?Ir:xd}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:xd,imports:[c.b2]}),n})();class am{constructor(o,t="/assets/i18n/",i=".json"){this.http=o,this.prefix=t,this.suffix=i}getTranslation(o){return this.http.get(`${this.prefix}${o}${this.suffix}`)}}var Nt=C(6696),zi=C(230),nn=C(897),ua=C(8543);function $g(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-card",2)(1,"a",3),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.setValue("splitter"))}),e._UZ(2,"div",4),e.qZA(),e.TgZ(3,"mat-card-subtitle"),e._uU(4),e.ALo(5,"translate"),e.qZA()()}2&n&&(e.xp6(4),e.hij(" ",e.lcZ(5,1,"HOME.splitter")," "))}function om(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-card",2)(1,"a",5),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.setValue("verifier"))}),e._UZ(2,"div",6),e.qZA(),e.TgZ(3,"mat-card-subtitle"),e._uU(4),e.ALo(5,"translate"),e.qZA()()}2&n&&(e.xp6(4),e.hij(" ",e.lcZ(5,1,"HOME.verifier")," "))}let kc=(()=>{class n{constructor(t,i,a,l,h){this.router=t,this.userService=i,this.routerExtService=a,this.privilegesService=l,this.localStorageService=h}ngOnInit(){this.setValue(""),this.localStorageService.save("task_watcher_minimize_display","true");const t=this.privilegesService.hasPrivilege("access_splitter"),i=this.privilegesService.hasPrivilege("access_verifier");"/login"===this.routerExtService.getPreviousUrl()&&(i&&!t?this.router.navigate(["/verifier/list"]).then():t&&!i&&this.router.navigate(["/splitter/list"]).then())}setValue(t){this.localStorageService.save("splitter_or_verifier",t)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(zi.K),e.Y36($a.e),e.Y36(nn.y),e.Y36(ua.n))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-home"]],decls:3,vars:2,consts:[[1,"flex","relative","justify-center","items-center","gap-8",2,"height","85vh"],["class","text-center w-full 2xl:w-1/5 lg:w-1/3 sm:w-1/2 shadow-lg transition duration-500 ease-in-out\n transform hover:-translate-y-1 hover:scale-110 hover:shadow-2xl",4,"ngIf"],[1,"text-center","w-full","2xl:w-1/5","lg:w-1/3","sm:w-1/2","shadow-lg","transition","duration-500","ease-in-out","transform","hover:-translate-y-1","hover:scale-110","hover:shadow-2xl"],["routerLink","/splitter/list",1,"block",3,"click"],[1,"bg-splitter","bg-no-repeat","bg-center","w-full","h-64","transition","duration-500","ease-in-out","hover:opacity-30",2,"background-size","20rem"],["routerLink","/verifier/list",1,"block",3,"click"],[1,"bg-verifier","md:w-full","bg-no-repeat","bg-center","h-64","transition","duration-500","ease-in-out","hover:opacity-30",2,"background-size","12rem"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0),e.YNc(1,$g,6,3,"mat-card",1),e.YNc(2,om,6,3,"mat-card",1),e.qZA()),2&t&&(e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege("access_splitter")),e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege("access_verifier")))},dependencies:[_e.O5,Nt.yS,ot,Ie,$t.X$],styles:[".disabled[_ngcontent-%COMP%]{opacity:.3;pointer-events:none!important}"]}),n})();var pi=C(2560);let Al=(()=>{class n{constructor(t,i,a){this.http=t,this.authService=i,this.notify=a}readConfig(){return this.authService.headersExists||this.authService.generateHeaders(),new Promise(t=>{this.http.get(m.N.url+"/ws/config/readConfig",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.setConfig(i.config),t(!0)}),(0,Ke.K)(i=>(console.debug(i),t(!1),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()})}setConfig(t){this.authService.setTokenCustom("OpenCaptureConfig",btoa(JSON.stringify(t)))}getConfig(){return JSON.parse(atob(this.authService.getTokenCustom("OpenCaptureConfig")))}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(Ri.eN),e.LFG(pi.e),e.LFG(Gi.g))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var kn=C(69);let jr=(()=>{class n{constructor(t,i,a,l,h,E){this.http=t,this.authService=i,this.translate=a,this.notify=l,this.dateAdapter=h,this.historyService=E,this.currentLang="fra",this.currentBabelLang="fr",this.dateAdaptaterLocale="fr-FR",this.langs=[],this.localeLoading=!1,this.dateAdapter.setLocale("fr-FR"),T.updateLocale("fr-FR",{monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),months:"Janvier_F\xe9vrier_Mars_Avril_Mai_Juin_Juillet_Ao\xfbt_Septembre_Octobre_Novembre_D\xe9cembre".split("_"),weekdays:"Dimanche_Lundi_Mardi_Mercredi_Jeudi_Vendredi_Samedi".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",l:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},week:{dow:1}}),T.updateLocale("en-GB",{longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",l:"MM/DD/YYYY",LL:"MMMM Do YYYY",LLL:"MMMM Do YYYY LT",LLLL:"dddd, MMMM Do YYYY LT",llll:"ddd, MMM D YYYY LT"},week:{dow:0}}),T.locale(this.dateAdaptaterLocale)}changeLocale(t){this.localeLoading=!0,this.authService.headersExists||this.authService.generateHeaders(),this.http.get(m.N.url+"/ws/i18n/changeLanguage/"+t.value,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.historyService.addHistory("general","language_changed",this.translate.instant("HISTORY-DESC.language_changed",{lang:t.source._elementRef.nativeElement.textContent})),this.getCurrentLocale()}),(0,Di.x)(()=>{setTimeout(()=>{this.localeLoading=!1,window.location.reload()},500)}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}getCurrentLocale(){this.http.get(m.N.url+"/ws/i18n/getCurrentLang").pipe((0,$e.b)(t=>{this.currentLang=t.lang,this.currentBabelLang=t.babel_lang,t.moment_lang&&(this.dateAdaptaterLocale=t.moment_lang),this.dateAdapter.setLocale(this.dateAdaptaterLocale),this.translate.use(this.currentLang),T.locale(this.dateAdaptaterLocale)}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}getLocales(){this.http.get(m.N.url+"/ws/i18n/getAllLang").pipe((0,$e.b)(t=>{this.langs=t.langs}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(Ri.eN),e.LFG(pi.e),e.LFG($t.sK),e.LFG(Gi.g),e.LFG(b._A),e.LFG(kn.q))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var Cn=C(1872);function zg(n,o){if(1&n&&(e.TgZ(0,"div",17),e._UZ(1,"img",18),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("src",t.loginImage,e.LSH)}}function bd(n,o){1&n&&e._UZ(0,"app-loader")}function Qg(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Oqu(t.getErrorMessage("username"))}}function yd(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.hij(" ",t.getErrorMessage("password")," ")}}function Xg(n,o){if(1&n&&(e.TgZ(0,"mat-hint",19)(1,"span",20),e._uU(2),e.ALo(3,"uppercase"),e.ALo(4,"translate"),e.qZA()()),2&n){const t=e.oxw();e.xp6(2),e.AsE(" ",e.lcZ(3,2,t.enableLoginMethodName)," ",e.lcZ(4,4,"LOGIN-METHODS.enabled")," ")}}function ef(n,o){1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"AUTH.login")," "))}function tf(n,o){1&n&&e._UZ(0,"i",21)}let JC=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt,Ft){this.router=t,this.http=i,this.sanitizer=a,this.formBuilder=l,this.authService=h,this.userService=E,this.translate=N,this.notify=oe,this.configService=xe,this.localeService=Ve,this.historyService=lt,this.localStorageService=Ft,this.loginImage="",this.loading=!0,this.processLogin=!1,this.showPassword=!1,this.isConnectionBtnDisabled=!0,this.subtitle=""}ngOnInit(){this.loginForm=this.formBuilder.group({username:[null,A.kI.required],password:[null,A.kI.required]}),void 0===this.localeService.currentLang&&this.localeService.getCurrentLocale(),this.http.get(m.N.url+"/ws/config/getLoginImage").pipe((0,$e.b)(t=>{this.localStorageService.save("login_image_b64",t),this.loginImage=this.sanitizer.bypassSecurityTrustUrl("data:image/png;base64, "+t)}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/config/getConfiguration/loginMessage",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{1===t.configuration.length&&(this.subtitle=t.configuration[0].data.value)}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/auth/getEnabledLoginMethod",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.enableLoginMethodName=t.login_method_name[0].method_name,this.isConnectionBtnDisabled=!1}),(0,Ke.K)(t=>(this.isConnectionBtnDisabled=!0,console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}onSubmit(){const t=this.loginForm.get("password").value,i=this.loginForm.get("username").value;t&&i&&(this.processLogin=!0,this.http.post(m.N.url+"/ws/auth/login",{username:i,password:t,lang:this.localeService.currentBabelLang},{observe:"response"}).pipe((0,$e.b)(a=>{this.userService.setUser(a.body.user),this.authService.setTokens(a.body.auth_token,btoa(JSON.stringify(this.userService.getUser())),a.body.minutes_before_exp),this.localStorageService.save("task_watcher_minimize_display","true"),this.authService.generateHeaders(),this.notify.success(this.translate.instant("AUTH.authenticated")),this.configService.readConfig().then(()=>{this.historyService.addHistory("general","login",this.translate.instant("HISTORY-DESC.login")),this.authService.getCachedUrl()?(this.router.navigate([this.authService.getCachedUrl()]).then(()=>{a.body.admin_password_alert&&this.notify.error(this.translate.instant("ERROR.admin_password_alert"))}),this.authService.cleanCachedUrl()):this.router.navigate(["/home"]).then(()=>{a.body.admin_password_alert&&this.notify.error(this.translate.instant("ERROR.admin_password_alert"))})})}),(0,Ke.K)(a=>(this.processLogin=!1,console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe())}getErrorMessage(t){return this.loginForm.get(t).hasError("required")?this.translate.instant("AUTH.field_required"):this.translate.instant("ERROR.unknow_error")}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(c.H7),e.Y36(A.qu),e.Y36(pi.e),e.Y36(zi.K),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(Al),e.Y36(jr),e.Y36(kn.q),e.Y36(ua.n))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-login"]],decls:35,vars:33,consts:[["class","relative top-16 2xl:top-32 flex justify-center h-20",4,"ngIf"],[1,"flex","justify-center","items-center",2,"height","85vh"],[4,"ngIf"],[1,"text-center","w-full","2xl:w-1/4","sm:w-1/2"],[1,"mb-5"],[1,"mt-5","mb-5"],[3,"formGroup","ngSubmit"],[1,"block"],["matInput","","formControlName","username","type","text","required","",3,"placeholder"],["matInput","","name","password","autocomplete","off","formControlName","password","required","",3,"type","placeholder"],["matSuffix","",1,"text-green-400","relative","cursor-pointer","-top-1.5","text-base",3,"click"],[1,"fa","fa-1x"],["align","end",4,"ngIf"],["mat-button","","type","submit",1,"w-1/3","border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300",3,"disabled"],["class","fa-solid text-2xl fa-circle-notch fa-spin text-gray-900","style","--fa-animation-duration: 1.5s;margin-top: -0.2rem;",4,"ngIf"],[1,"relative","my-4","text-green-400","font-bold"],["href","https://kutt.it/GuideDutilisation","target","_blank"],[1,"relative","top-16","2xl:top-32","flex","justify-center","h-20"],["alt","Open-Capture logo",3,"src"],["align","end"],[1,"underline","decoration-1"],[1,"fa-solid","text-2xl","fa-circle-notch","fa-spin","text-gray-900",2,"--fa-animation-duration","1.5s","margin-top","-0.2rem"]],template:function(t,i){1&t&&(e.YNc(0,zg,2,1,"div",0),e.TgZ(1,"div",1),e.YNc(2,bd,1,0,"app-loader",2),e.TgZ(3,"mat-card",3)(4,"mat-card-title",4),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.TgZ(7,"mat-card-subtitle",5),e._uU(8),e.qZA(),e.TgZ(9,"mat-card-content")(10,"form",6),e.NdJ("ngSubmit",function(){return i.onSubmit()}),e.TgZ(11,"mat-form-field",7)(12,"mat-label"),e._uU(13),e.ALo(14,"translate"),e.qZA(),e._UZ(15,"input",8),e.ALo(16,"translate"),e.YNc(17,Qg,2,1,"mat-error",2),e.qZA(),e.TgZ(18,"mat-form-field",7)(19,"mat-label"),e._uU(20),e.ALo(21,"translate"),e.qZA(),e._UZ(22,"input",9),e.ALo(23,"translate"),e.TgZ(24,"mat-icon",10),e.NdJ("click",function(){return i.showPassword=!i.showPassword}),e._UZ(25,"i",11),e.qZA(),e.YNc(26,yd,2,1,"mat-error",2),e.YNc(27,Xg,5,6,"mat-hint",12),e.qZA(),e.TgZ(28,"button",13),e.YNc(29,ef,3,3,"span",2),e.YNc(30,tf,1,0,"i",14),e.qZA()()(),e.TgZ(31,"span",15)(32,"a",16),e._uU(33),e.ALo(34,"translate"),e.qZA()()()()),2&t&&(e.Q6J("ngIf",i.loginImage),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.hij(" ",e.lcZ(6,21,"GLOBAL.login")," "),e.xp6(3),e.hij(" ",i.subtitle," "),e.xp6(2),e.Q6J("formGroup",i.loginForm),e.xp6(3),e.Oqu(e.lcZ(14,23,"USER.username")),e.xp6(2),e.s9C("placeholder",e.lcZ(16,25,"USER.username")),e.xp6(2),e.Q6J("ngIf",i.loginForm.controls.username.invalid),e.xp6(3),e.Oqu(e.lcZ(21,27,"USER.password")),e.xp6(2),e.s9C("placeholder",e.lcZ(23,29,"USER.password")),e.Q6J("type",i.showPassword?"text":"password"),e.xp6(3),e.ekj("fa-eye-slash",!i.showPassword)("fa-eye",i.showPassword),e.xp6(1),e.Q6J("ngIf",i.loginForm.controls.password.invalid),e.xp6(1),e.Q6J("ngIf","ldap"===i.enableLoginMethodName),e.xp6(1),e.Q6J("disabled",i.processLogin||i.isConnectionBtnDisabled),e.xp6(1),e.Q6J("ngIf",!i.processLogin&&!i.isConnectionBtnDisabled),e.xp6(1),e.Q6J("ngIf",i.processLogin||i.isConnectionBtnDisabled),e.xp6(3),e.hij(" ",e.lcZ(34,31,"GLOBAL.utilisation_guide")," "))},dependencies:[_e.O5,Rt.TO,Rt.KE,Rt.bx,Rt.hX,Rt.R9,an.Nt,Y.lW,ot,Re,We,Ie,So,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.sg,A.u,Cn.R,_e.gd,$t.X$]}),n})(),wp=(()=>{class n{constructor(t,i,a,l,h){this.router=t,this.authService=i,this.translate=a,this.notify=l,this.historyService=h}ngOnInit(){this.historyService.addHistory("general","logout",this.translate.instant("HISTORY-DESC.logout")),this.authService.logout()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-logout"]],decls:0,vars:0,template:function(t,i){}}),n})();const nf=["fileInputEl"];function Sp(n,o){1&n&&(e.TgZ(0,"mat-icon",9),e._uU(1,"cancel"),e.qZA())}function v_(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-chip",6),e.NdJ("removed",function(){const l=e.CHM(t).$implicit,h=e.oxw(2);return e.KtG(h.removeFile(l))}),e.ALo(1,"byte"),e.TgZ(2,"span",7),e._uU(3),e.qZA(),e.YNc(4,Sp,2,0,"mat-icon",8),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw(2);e.s9C("matTooltip",e.lcZ(1,6,t.size)),e.Q6J("matTooltipDisabled",i.displayFileSize)("disabled",i.disabled)("removable",!i.disabled),e.xp6(3),e.Oqu(i.getFileName(t)),e.xp6(1),e.Q6J("ngIf",!i.disabled)}}function Vs(n,o){if(1&n&&(e.TgZ(0,"mat-chip-list",4),e.YNc(1,v_,5,8,"mat-chip",5),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.files)}}function af(n,o){if(1&n&&(e.TgZ(0,"span",10),e._uU(1),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Oqu(t.emptyPlaceholder)}}let rf=(()=>{class n{constructor(){this.unit="Bytes"}transform(t,i){return t=t.toString(),parseInt(t,10)>=0&&(t=this.formatBytes(+t,+i)),t}formatBytes(t,i=2){if(0===t)return"0 Bytes";const l=i<0?0:i,E=Math.floor(Math.log(t)/Math.log(1024));return parseFloat((t/Math.pow(1024,E)).toFixed(l))+" "+["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][E]}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275pipe=e.Yjl({name:"byte",type:n,pure:!0}),n})(),Ll=(()=>{class n{constructor(){this.valueChanged=new e.vpe,this.accept="*",this._disabled=!1,this._multiple=!1,this.emptyPlaceholder=`Drop file${this.multiple?"s":""} or click to select`,this._displayFileSize=!1,this._activeBorderColor="purple",this._files=[],this._isDragOver=!1,this._onChange=t=>{},this._onTouched=()=>{}}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,le.Ig)(t)}set multiple(t){this._multiple=(0,le.Ig)(t)}get multiple(){return this._multiple}set displayFileSize(t){this._displayFileSize=(0,le.Ig)(t)}get displayFileSize(){return this._displayFileSize}set borderColor(t){this._activeBorderColor=t}get borderColor(){return this.isDragover?this._activeBorderColor:"#ccc"}get files(){return this._files}get isEmpty(){var t;return!(null!==(t=this.files)&&void 0!==t&&t.length)}get isDragover(){return this._isDragOver}set isDragover(t){this.disabled||(this._isDragOver=t)}writeValue(t){const i=this.convertToArray(t);if(!(i.length<2||this.multiple))throw Error("Multiple files not allowed");this._files=i,this.emitChanges(this._files)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}emitChanges(t){this.valueChanged.emit(t),this._onChange(t)}addFiles(t){const i=this.convertToArray(t);if(this.multiple){const a=this.files.concat(i);this.writeValue(a)}else this.writeValue(i)}removeFile(t){const i=this.files.indexOf(t);if(i>=0){const a=this.files.slice();a.splice(i,1),this.writeValue(a)}}clear(){this.writeValue([])}change(t){t.stopPropagation(),this._onTouched();const i=t.target.files;null!=i&&i.length&&this.addFiles(i),t.target.value=""}activate(t){t.preventDefault(),this.isDragover=!0}deactivate(t){t.preventDefault(),this.isDragover=!1}handleDrop(t){this.deactivate(t),this.disabled||this.removeDirectories(t.dataTransfer.files).then(a=>{null!=a&&a.length&&this.addFiles(a),this._onTouched()})}open(){var t;this.disabled||null===(t=this.fileInputEl)||void 0===t||t.nativeElement.click()}removeDirectories(t){return new Promise((i,a)=>{const l=this.convertToArray(t),h=[],E=[];for(let oe=0;oe{h.push(l[oe].name)},xe.onloadend=()=>N(oe),xe.readAsArrayBuffer(l[oe])}function N(oe){E.push(oe),E.length===l.length&&i(l.filter(xe=>!h.includes(xe.name)))}})}convertToArray(t){return t?t instanceof File?[t]:Array.isArray(t)?t:Array.prototype.slice.call(t):[]}getFileName(t){if(!this._displayFileSize)return t.name;const i=(new rf).transform(t.size);return`${t.name} (${i})`}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["ngx-file-drag-drop"]],viewQuery:function(t,i){if(1&t&&e.Gf(nf,5),2&t){let a;e.iGM(a=e.CRH())&&(i.fileInputEl=a.first)}},hostVars:6,hostBindings:function(t,i){1&t&&e.NdJ("change",function(l){return i.change(l)})("dragenter",function(l){return i.activate(l)})("dragover",function(l){return i.activate(l)})("dragleave",function(l){return i.deactivate(l)})("drop",function(l){return i.handleDrop(l)})("click",function(){return i.open()}),2&t&&(e.Udp("border-color",i.borderColor),e.ekj("disabled",i.disabled)("empty-input",i.isEmpty))},inputs:{disabled:"disabled",multiple:"multiple",displayFileSize:"displayFileSize",borderColor:["activeBorderColor","borderColor"],accept:"accept",emptyPlaceholder:"emptyPlaceholder"},outputs:{valueChanged:"valueChanged"},features:[e._Bn([{provide:A.JU,useExisting:(0,e.Gpc)(()=>n),multi:!0}])],decls:5,vars:4,consts:[["selectable","false",4,"ngIf"],["class","placeholder",4,"ngIf"],["type","file",1,"hidden"],["fileInputEl","","fileInput",""],["selectable","false"],["matTooltipPosition","below","selected","","color","accent","disableRipple","true",3,"matTooltip","matTooltipDisabled","disabled","removable","removed",4,"ngFor","ngForOf"],["matTooltipPosition","below","selected","","color","accent","disableRipple","true",3,"matTooltip","matTooltipDisabled","disabled","removable","removed"],[1,"filename"],["matChipRemove","",4,"ngIf"],["matChipRemove",""],[1,"placeholder"]],template:function(t,i){1&t&&(e.YNc(0,Vs,2,1,"mat-chip-list",0),e.YNc(1,af,2,1,"span",1),e._UZ(2,"input",2,3)),2&t&&(e.Q6J("ngIf",i.files.length),e.xp6(1),e.Q6J("ngIf",!i.files.length),e.xp6(1),e.uIk("multiple",i.multiple?"":null)("accept",i.accept))},dependencies:[_e.sg,_e.O5,Ya,Un,Aa,So,Xn,rf],styles:["input[_ngcontent-%COMP%]{width:0px;height:0px;opacity:0;overflow:hidden;position:absolute;z-index:-1}[_nghost-%COMP%]{display:block;border:2px dashed;border-radius:20px;min-height:50px;margin:10px auto;max-width:500px;padding:20px;cursor:pointer}.disabled[_nghost-%COMP%]{opacity:.5;cursor:unset}.placeholder[_ngcontent-%COMP%]{color:gray;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}mat-chip[_ngcontent-%COMP%]{max-width:100%}.filename[_ngcontent-%COMP%]{max-width:calc(100% - 1em);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.empty-input[_nghost-%COMP%]{display:flex;align-items:center;justify-content:center}.mat-chip.mat-standard-chip.mat-focus-indicator[_ngcontent-%COMP%]{box-shadow:none}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]:after{background:unset}"]}),n})(),uo=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[_e.ez,rs,Ps,gc]}),n})();class xr{static fileExtension(o){return t=>{const i=o.map(h=>h.trim().toLowerCase()),l=t.value.map(h=>h.name).filter(h=>{const E=h.slice(2+(h.lastIndexOf(".")-1>>>0)).toLowerCase();return!i.includes(E)}).map(h=>({name:h,ext:h.slice(2+(h.lastIndexOf(".")-1>>>0))}));return l.length?{fileExtension:{requiredExtension:o.toString(),actualExtensions:l}}:null}}static uniqueFileNames(o){const i=o.value.map(l=>l.name).reduce((l,h)=>(l[h]=l[h]?l[h]+1:1,l),{}),a=Object.entries(i).filter(l=>l[1]>1).map(l=>({name:l[0],count:l[1]}));return a.length?{uniqueFileNames:{duplicatedFileNames:a}}:null}static fileType(o){return t=>{let i;if(Array.isArray(o)){const h=o.join("$|^");i=new RegExp(`$${h}^`,"i")}else i=o;const l=t.value.filter(h=>!i.test(h.type)).map(h=>({name:h.name,type:h.type}));return l.length?{fileType:{requiredType:o.toString(),actualTypes:l}}:null}}static maxFileCount(o){return t=>{const i=null!=t&&t.value?t.value.length:0;return o>=i?null:{maxFileCount:{maxCount:o,actualCount:i}}}}static maxFileSize(o){return t=>{const a=t.value.filter(l=>l.size>o).map(l=>({name:l.name,size:l.size}));return a.length?{maxFileSize:{maxSize:o,actualSizes:a}}:null}}static maxTotalSize(o){return t=>{const i=null!=t&&t.value?t.value.map(l=>l.size).reduce((l,h)=>l+h,0):0;return o>=i?null:{maxTotalSize:{maxSize:o,actualSize:i}}}}static required(o){var t;return(null===(t=null==o?void 0:o.value)||void 0===t?void 0:t.length)?null:{required:!0}}}var Rn=C(4834);function x_(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-list-item",13),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.setInput(l.id))}),e._uU(1),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw();e.ekj("bg-green-400",i.selectedInput===t.id),e.xp6(1),e.hij(" ",t.input_label," ")}}function $C(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function sf(n,o){1&n&&(e.TgZ(0,"span",14),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"UPLOAD.please_select_input")," "))}let J0=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve){this.router=t,this.http=i,this.route=a,this.userService=l,this.formBuilder=h,this.authService=E,this.translate=N,this.notify=oe,this.historyService=xe,this.localStorageService=Ve,this.headers=this.authService.headers,this.selectedInput="",this.selectedInputTechnicalId="",this.inputs=[],this.loading=!0,this.sending=!1,this.fileControl=new A.NI([],[xr.required,xr.fileExtension(["pdf"])])}ngOnInit(){this.authService.headersExists||this.authService.generateHeaders();const t=this.localStorageService.get("splitter_or_verifier");this.http.get(m.N.url+"/ws/inputs/list?module="+t,{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.inputs=i.inputs,1===this.inputs.length&&(this.selectedInput=i.inputs[0].id,this.selectedInputTechnicalId=i.inputs[0].input_id)}),(0,Di.x)(()=>{this.loading=!1}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}checkFile(t){if(t&&0!==t.length)for(let i=0;i{i.id===t&&(this.selectedInputTechnicalId=i.input_id)}),this.selectedInput=t}uploadInvoice(){this.sending=!0;const t=new FormData;if(0===this.fileControl.value.length)return void this.notify.handleErrors(this.translate.instant("UPLOAD.no_file"));for(let a=0;a{this.fileControl.setValue([]),this.notify.success(this.translate.instant("UPLOAD.upload_success")),this.sending=!1,this.historyService.addHistory(i,"upload_file",this.translate.instant("HISTORY-DESC.file_uploaded",{input:this.selectedInputTechnicalId}))}),(0,Ke.K)(a=>(this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe():this.notify.handleErrors(this.translate.instant("ERROR.unknow_error"))}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Nt.gz),e.Y36(zi.K),e.Y36(A.qu),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q),e.Y36(ua.n))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-upload"]],decls:20,vars:32,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"text-center","text-gray-900","m-0","h-16",2,"padding-top","1.2rem"],["class","hover:bg-green-400 cursor-pointer m-2 w-auto",3,"bg-green-400","click",4,"ngFor","ngForOf"],[1,"bg-white","overflow-hidden"],["mat-icon-button","",1,"absolute","left-2","top-2",2,"z-index","999",3,"click"],[1,"fa-solid","fa-stream","text-xl","text-gray-900"],[4,"ngIf"],[3,"formControl","activeBorderColor","multiple","accept","displayFileSize","emptyPlaceholder","valueChanged"],[1,"flex","justify-center","content-center"],["mat-flat-button","",1,"mt-5","border-solid","border-green-400","border","px-3","py-2","text-sm","font-medium","transition","duration-300",3,"disabled","click"],["class","flex justify-center mt-4 text-red-500",4,"ngIf"],[1,"hover:bg-green-400","cursor-pointer","m-2","w-auto",3,"click"],[1,"flex","justify-center","mt-4","text-red-500"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider"),e.TgZ(7,"mat-list"),e.YNc(8,x_,2,3,"mat-list-item",4),e.qZA()(),e.TgZ(9,"mat-sidenav-content",5)(10,"button",6),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(11,"i",7),e.qZA(),e.YNc(12,$C,2,0,"div",8),e.TgZ(13,"ngx-file-drag-drop",9),e.NdJ("valueChanged",function(h){return i.checkFile(h)}),e.ALo(14,"translate"),e.qZA(),e.TgZ(15,"div",10)(16,"button",11),e.NdJ("click",function(){return i.uploadInvoice()}),e._uU(17),e.ALo(18,"translate"),e.qZA()(),e.YNc(19,sf,3,3,"span",12),e.qZA()()}if(2&t){const a=e.MAs(2);e.xp6(4),e.Oqu(e.lcZ(5,26,"ACCOUNTS.choose_input_upload")),e.xp6(4),e.Q6J("ngForOf",i.inputs),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(1),e.Q6J("ngIf",i.loading),e.xp6(1),e.Tol("max-w-3xl h-56 mt-24"),e.ekj("pointer-events-none",i.sending)("disabled",i.sending),e.Q6J("formControl",i.fileControl)("activeBorderColor","#97BF3D")("multiple",!0)("accept","pdf")("displayFileSize",!0)("emptyPlaceholder",e.lcZ(14,28,"UPLOAD.placeholder")),e.xp6(3),e.ekj("hover:bg-green-400",!i.sending&&i.selectedInput&&0!==i.fileControl.value.length)("hover:text-white",!i.sending&&i.selectedInput&&0!==i.fileControl.value.length),e.Q6J("disabled",i.sending||""===i.selectedInput||0===i.fileControl.value.length),e.xp6(1),e.hij(" ",e.lcZ(18,30,"UPLOAD.upload_file")," "),e.xp6(2),e.Q6J("ngIf",""===i.selectedInput)}},dependencies:[_e.sg,_e.O5,Vt.JX,Vt.TM,Vt.Rh,Y.lW,rn.i$,rn.Tg,Rn.d,A.JJ,A.oH,Ll,Cn.R,$t.X$],styles:[".mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{--tw-bg-opacity: 1;background-color:rgb(151 191 61 / var(--tw-bg-opacity))}.upload .mat-tab-header .mat-tab-label-container>.mat-tab-list>.mat-tab-labels>.mat-tab-label{width:50%;height:4rem}\n"],encapsulation:2}),n})();var xn=C(3208),Ic=C(6155);function b_(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function $0(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",35)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",36),e.ALo(5,"translate"),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,5,t.label)),e.xp6(2),e.s9C("placeholder",e.lcZ(5,7,t.label)),e.Q6J("formControl",t.control)("type",t.type)("required",t.required)}}function zC(n,o){if(1&n&&(e.TgZ(0,"mat-option",39),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.history_submodule),e.xp6(1),e.Oqu(t.history_submodule)}}function z0(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field",35)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",37),e.NdJ("valueChange",function(a){e.CHM(t);const l=e.oxw().$implicit;return e.KtG(l.control.value=a)})("selectionChange",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.setSelectedSubModule(a.value))}),e.YNc(5,zC,2,2,"mat-option",38),e.qZA()()}if(2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,5,t.label)),e.xp6(2),e.Q6J("formControl",t.control)("value",t.control.value)("required",t.required),e.xp6(1),e.Q6J("ngForOf",t.values)}}function QC(n,o){if(1&n&&(e.TgZ(0,"mat-option",39),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.Oqu(e.lcZ(2,2,t.label))}}function lf(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field",35)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",37),e.NdJ("valueChange",function(a){e.CHM(t);const l=e.oxw().$implicit;return e.KtG(l.control.value=a)})("selectionChange",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.setSelectedModule(a.value))}),e.YNc(5,QC,3,4,"mat-option",38),e.qZA()()}if(2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,5,t.label)),e.xp6(2),e.Q6J("formControl",t.control)("value",t.control.value)("required",t.required),e.xp6(1),e.Q6J("ngForOf",t.values)}}function Ap(n,o){if(1&n&&(e.TgZ(0,"mat-hint"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit;e.xp6(1),e.Oqu(t.hint)}}function Ol(n,o){if(1&n&&(e.TgZ(0,"mat-option",44),e._UZ(1,"span",45),e.ALo(2,"highlight"),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3);e.Q6J("value",t)("id",t.id),e.xp6(1),e.Q6J("innerHTML",e.xi3(2,3,t.lastname+" "+t.firstname+" ("+t.username+")",i.toHighlight),e.oJD)}}function nc(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field")(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",40),e.YNc(5,Ap,2,1,"mat-hint",2),e.TgZ(6,"mat-autocomplete",41,42),e.NdJ("optionSelected",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.setSelectedUser(a.option.id))}),e.YNc(8,Ol,3,6,"mat-option",43),e.ALo(9,"async"),e.qZA()()}if(2&n){const t=e.MAs(7),i=e.oxw().$implicit,a=e.oxw();e.xp6(2),e.Oqu(e.lcZ(3,7,i.label)),e.xp6(2),e.Q6J("formControl",i.control)("type",i.type)("matAutocomplete",t),e.xp6(1),e.Q6J("ngIf",i.hint),e.xp6(1),e.Q6J("displayWith",a.displayFn),e.xp6(2),e.Q6J("ngForOf",e.lcZ(9,9,a.filteredUsers))}}function cf(n,o){if(1&n&&(e.ynx(0),e.YNc(1,$0,6,9,"mat-form-field",34),e.YNc(2,z0,6,7,"mat-form-field",34),e.YNc(3,lf,6,7,"mat-form-field",34),e.YNc(4,nc,10,11,"mat-form-field",2),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","text"===t.type),e.xp6(1),e.Q6J("ngIf","submodule"===t.id),e.xp6(1),e.Q6J("ngIf","module"===t.id),e.xp6(1),e.Q6J("ngIf","autocomplete"===t.type)}}function df(n,o){1&n&&(e.TgZ(0,"mat-header-cell",46),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.id")," "))}function rm(n,o){if(1&n&&(e.TgZ(0,"mat-cell",47),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.id," ")}}function uf(n,o){1&n&&(e.TgZ(0,"mat-header-cell",48),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"CUSTOM-FIELDS.module")," "))}function _f(n,o){if(1&n&&(e.TgZ(0,"mat-cell",49),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.history_module," ")}}function pf(n,o){1&n&&(e.TgZ(0,"mat-header-cell",50),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HISTORY.submodule")," "))}function hf(n,o){if(1&n&&(e.TgZ(0,"mat-cell",51),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.history_submodule," ")}}function mf(n,o){1&n&&(e.TgZ(0,"mat-header-cell",48),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HISTORY.history_date")," "))}function XC(n,o){if(1&n&&(e.TgZ(0,"mat-cell",49),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.date," ")}}function ev(n,o){1&n&&(e.TgZ(0,"mat-header-cell",48),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HISTORY.user_info")," "))}function tv(n,o){if(1&n&&(e.TgZ(0,"mat-cell",49),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.user_info," ")}}function sm(n,o){1&n&&(e.TgZ(0,"mat-header-cell",52),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HISTORY.history_desc")," "))}function Q0(n,o){1&n&&e._UZ(0,"mat-cell",53),2&n&&e.Q6J("innerHTML",""+o.$implicit.history_desc+"",e.oJD)}function X0(n,o){1&n&&(e.TgZ(0,"mat-header-cell",54),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HISTORY.user_ip")," "))}function ex(n,o){if(1&n&&(e.TgZ(0,"mat-cell",55),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.user_ip," ")}}function tx(n,o){1&n&&e._UZ(0,"mat-header-row")}function iv(n,o){1&n&&e._UZ(0,"mat-row",56)}const ix=function(){return[5,10,15,20,50]};let nx=(()=>{class n{constructor(t,i,a,l,h,E,N){this.http=t,this.datePipe=i,this.userService=a,this.authService=l,this.notify=h,this.translate=E,this.serviceSettings=N,this.columnsToDisplay=["id","history_module","history_submodule","history_date","user_info","history_desc","user_ip"],this.loading=!0,this.toHighlight="",this.pageSize=10,this.pageIndex=0,this.total=0,this.offset=0,this.userSelected="",this.moduleSelected="",this.subModuleSelected="",this.form=[{id:"user_id",type:"autocomplete",label:this.translate.instant("HISTORY.user"),control:new A.NI,values:[]},{id:"module",label:this.translate.instant("CUSTOM-FIELDS.module"),type:"select",control:new A.NI,values:[{id:"general",label:this.translate.instant("HISTORY.general")},{id:"accounts",label:this.translate.instant("HISTORY.accounts")},{id:"verifier",label:this.translate.instant("HOME.verifier")},{id:"splitter",label:this.translate.instant("HOME.splitter")}]},{id:"submodule",type:"select",label:this.translate.instant("HISTORY.submodule"),control:new A.NI,values:[]}]}_filter(t,i){if("string"==typeof t){this.toHighlight=t;const a=t.toLowerCase();return i.filter(l=>-1!==l.value.toLowerCase().indexOf(a))}return i}ngOnInit(){this.authService.headersExists||this.authService.generateHeaders(),this.userService.user||(this.userService.user=this.userService.getUserFromLocal()),this.http.get(m.N.url+"/ws/users/list_full",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.users=[],this.form.forEach(i=>{"user_id"===i.id?(this.http.get(m.N.url+"/ws/history/users",{headers:this.authService.headers}).pipe((0,$e.b)(a=>{a.history.forEach(l=>{t.users.forEach(h=>{l.user_id===h.id&&this.users.push(h)})})}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe(),this.filteredUsers=i.control.valueChanges.pipe((0,mt.O)(""),(0,Mn.U)(a=>a?this._filter(a,this.users):this.users))):"submodule"===i.id&&this.http.get(m.N.url+"/ws/history/submodules",{headers:this.authService.headers}).pipe((0,$e.b)(a=>{i.values=a.history}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe()})}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.loadHistory()}loadHistory(){this.http.get(m.N.url+"/ws/history/list?limit="+this.pageSize+"&offset="+this.offset+"&user="+this.userSelected+"&submodule="+this.subModuleSelected+"&module="+this.moduleSelected,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.history[0]&&(this.total=t.history[0].total),this.history=t.history,this.form.forEach(i=>{"module"===i.id&&i.values.forEach(a=>{this.history.forEach(l=>{l.history_module===a.id&&(l.history_module=this.translate.instant(a.label))})}),"submodule"===i.id&&this.http.get(m.N.url+"/ws/history/submodules?module="+this.moduleSelected,{headers:this.authService.headers}).pipe((0,$e.b)(a=>{i.values=a.history}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe()}),this.history.forEach(i=>{const a=T().localeData().longDateFormat("L");i.history_date=this.datePipe.transform(i.history_date,a+" HH:mm:ss")})}),(0,Di.x)(()=>{this.loading=!1}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}resetPaginator(){this.loading=!0,this.total=0,this.offset=0,this.pageIndex=0}setSelectedUser(t){this.userSelected=t,this.pageIndex=0,this.resetPaginator(),this.loadHistory()}setSelectedModule(t){this.moduleSelected=t,this.resetPaginator(),this.loadHistory()}setSelectedSubModule(t){this.subModuleSelected=t,this.resetPaginator(),this.loadHistory()}resetFilter(){this.subModuleSelected="",this.moduleSelected="",this.userSelected="",this.form.forEach(t=>{t.control.setValue("")}),this.loadHistory()}onPageChange(t){this.pageSize=t.pageSize,this.offset=this.pageSize*t.pageIndex,this.loadHistory()}displayFn(t){return t?t.lastname+" "+t.firstname+" ("+t.username+")":""}sortData(t){const i=this.history.slice();this.history=t.active&&""!==t.direction?i.sort((a,l)=>{const h="asc"===t.direction;switch(t.active){case"id":return this.compare(a.id,l.id,h);case"history_module":return this.compare(a.history_module,l.history_module,h);case"history_submodule":return this.compare(a.history_submodule,l.history_submodule,h);case"history_date":return this.compare(a.history_date,l.history_date,h);case"user_info":return this.compare(a.user_info,l.user_info,h);case"history_desc":return this.compare(a.history_desc,l.history_desc,h);case"user_ip":return this.compare(a.user_ip,l.user_ip,h);default:return 0}}):i}compare(t,i,a){return(t{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt){this.http=t,this.router=i,this.route=a,this.userService=l,this.formBuilder=h,this.authService=E,this.translate=N,this.notify=oe,this.localeService=xe,this.historyService=Ve,this.privilegeService=lt,this.headers=this.authService.headers,this.loading=!0,this.roles=[],this.profileForm=[{id:"firstname",label:this.translate.instant("USER.firstname"),type:"text",control:new A.NI,required:!0},{id:"lastname",label:this.translate.instant("USER.lastname"),type:"text",control:new A.NI,required:!0},{id:"old_password",label:this.translate.instant("USER.old_password"),type:"password",control:new A.NI,required:!1},{id:"new_password",label:this.translate.instant("USER.new_password"),type:"password",control:new A.NI,required:!1},{id:"role",label:this.translate.instant("HEADER.role"),type:"select",values:[],control:new A.NI,required:!1}],this.disablePasswordModification=!1}ngOnInit(){this.authService.headersExists||this.authService.generateHeaders(),this.http.get(m.N.url+"/ws/auth/retrieveLoginMethodName").pipe((0,$e.b)(i=>{i.login_methods.forEach(a=>{a.enabled&&"default"!==a.method_name&&(this.disablePasswordModification=!0)})}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe(),this.userId=parseInt(this.route.snapshot.params.id);let t=this.userService.user.id;void 0===t&&(t=this.userService.getUserFromLocal().id),this.userId!==parseInt(t)&&(this.privilegeService.hasPrivilege("update_user")||this.translate.get("ERROR.unauthorized").subscribe(i=>{this.notify.error(i),this.router.navigateByUrl("/home").then()})),this.http.get(m.N.url+"/ws/roles/list?full",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{i.roles.forEach(a=>{(a.editable||"*"===this.userService.getUser().privileges)&&this.roles.push(a)})}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/users/getById/"+this.userId,{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.profile=i;for(const a in this.profile)this.profile.hasOwnProperty(a)&&this.profileForm.forEach(l=>{l.id===a&&(l.control.value=this.profile[a],"role"===l.id&&(l.values=this.roles))})}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}isValidForm(){let t=!0;return this.profileForm.forEach(i=>{"DISABLED"!==i.control.status&&"VALID"!==i.control.status&&(t=!1),i.control.markAsTouched()}),t}onSubmit(){if(this.isValidForm()){this.loading=!0;const t={};this.profileForm.forEach(i=>{t[i.id]=i.control.value}),this.http.put(m.N.url+"/ws/users/update/"+this.userId,{args:t},{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.historyService.addHistory("general","profile_updated",this.translate.instant("HISTORY-DESC.profile-updated",{user:t.lastname+" "+t.firstname})),this.notify.success(this.translate.instant("USER.profile_updated")),this.userId===this.userService.user.id&&this.userService.setUser(i.user)}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}}getErrorMessage(t){let i;return this.profileForm.forEach(a=>{a.id===t&&a.required&&(i=this.translate.instant("AUTH.field_required"))}),i}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Ri.eN),e.Y36(Nt.F0),e.Y36(Nt.gz),e.Y36(zi.K),e.Y36(A.qu),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(jr),e.Y36(kn.q),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-user-profile"]],decls:1,vars:1,consts:[["class","flex justify-center items-center","style","height: 85vh",4,"ngIf"],[1,"flex","justify-center","items-center",2,"height","85vh"],[1,"text-center","w-full","lg:w-1/4"],[1,"mb-10"],[4,"ngIf"],[3,"ngSubmit"],[4,"ngFor","ngForOf"],[1,"button"],["type","submit","mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300"],["class","block",3,"pointer-events-none",4,"ngIf"],["class","block",4,"ngIf"],[1,"block"],["matInput","",3,"readonly","formControl","type","required","placeholder"],[3,"disabled","value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,i){1&t&&e.YNc(0,rv,12,6,"div",0),2&t&&e.Q6J("ngIf",!i.loading)},dependencies:[_e.sg,_e.O5,Rt.TO,Rt.KE,Rt.hX,Be.gD,b.ey,an.Nt,Y.lW,ot,Re,We,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.oH,A.F,$t.X$]}),n})(),lm=(()=>{class n{constructor(t,i,a){this.notify=t,this.router=i,this.translate=a}ngOnInit(){this.translate.get("ERROR.404").subscribe(t=>{this.notify.error(t),this.router.navigate(["/login"]).then()})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Gi.g),e.Y36(Nt.F0),e.Y36($t.sK))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-not-found"]],decls:9,vars:0,consts:[["id","preloader",1,"fixed","inset-0","bg-white","z-50"],["id","status",1,"flex","absolute","items-center","justify-center","w-full","h-0","top-1/2"],["xmlns","http://www.w3.org/2000/svg","x","0px","y","0px","viewBox","0 0 74.4 81.9","width","300","height","300"],["id","fill","x1","0.5","y1","1","x2","0.5","y2","0"],["offset","0%","stop-color","#76B442"],["attributeName","stop-color","values","#76B442; #A7A8AA; #76B442","dur","1s","repeatCount","indefinite"],["offset","100%","stop-color","#A7A8AA"],["attributeName","stop-color","values","#A7A8AA; #76B442; #A7A8AA","dur","1s","repeatCount","indefinite"],["fill","url(#fill)","d","M1.9,79.4c-1.5-1.5,0.3-4.7,8.2-14.2c4.8-5.7,10.1-12.3,11.9-14.6l3.3-4.1l-1.6-1.7\n c-7.2-7.4-8.6-20.6-3-29.7C27.9,3.4,43.8-1.4,56.8,4.2c6,2.6,11.8,8,14.4,13.5c2.7,5.6,2.5,15.4-0.4,21.1\n c-6.6,13-22.8,18.9-36.3,13.3c-2.2-1-4.1-1.3-4.4-1c-0.3,0.4-5.8,7-12.2,14.8C8.8,76.8,5.7,80,4.3,80C3.3,80,2.1,79.7,1.9,79.4\n L1.9,79.4z M53.5,48.8c5.7-2,10.7-6.3,13.4-11.3c2.8-5.2,2.9-13.8,0.1-18.9c-4.5-8.4-12-12.8-21.9-12.8c-26.3,0-33.2,33.2-9,42.7\n C42.2,50.9,47.3,51,53.5,48.8L53.5,48.8z"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0)(1,"div",1),e.O4$(),e.TgZ(2,"svg",2)(3,"linearGradient",3)(4,"stop",4),e._UZ(5,"animate",5),e.qZA(),e.TgZ(6,"stop",6),e._UZ(7,"animate",7),e.qZA()(),e._UZ(8,"path",8),e.qZA()()())}}),n})(),sn=(()=>{class n{constructor(t,i,a,l){this.router=t,this.translate=i,this.notify=a,this.privilegesService=l}canActivate(t){if(void 0!==t.data.privileges){let i=!0;return t.data.privileges.forEach(a=>{this.privilegesService.hasPrivilege(a)||(this.translate.get("ERROR.unauthorized").subscribe(h=>{let E="";t.routeConfig&&(E=""+this.translate.instant(t.data.title)+""),this.notify.error(h+E),this.router.navigateByUrl("/home").then()}),i=!1)}),i}return!1}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(Nt.F0),e.LFG($t.sK),e.LFG(Gi.g),e.LFG(nn.y))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var lv=C(6025);let cv=(()=>{class n{constructor(t,i){this.authService=t,this.router=i}canActivate(){return!this.authService.getToken()||(this.router.navigateByUrl("/home").then(),!1)}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(pi.e),e.LFG(Nt.F0))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),en=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt){this.router=t,this.http=i,this.authService=a,this.userService=l,this.notify=h,this.translate=E,this.configService=N,this.localeService=oe,this.historyService=xe,this.routerExtService=Ve,this.localStorage=lt}login(t,i){(void 0===this.userService.getUser()||0===Object.keys(this.userService.getUser()).length)&&void 0===this.userService.getUserFromLocal()&&this.http.post(m.N.url+"/ws/auth/login",{token:t,lang:this.localeService.currentBabelLang},{observe:"response"}).pipe((0,$e.b)(a=>{this.userService.setUser(a.body.user),this.authService.setTokens(a.body.auth_token,btoa(JSON.stringify(this.userService.getUser())),a.body.minutes_before_exp),this.authService.headersExists||this.authService.generateHeaders(),this.notify.success(this.translate.instant("AUTH.authenticated")),this.configService.readConfig().then(()=>{this.historyService.addHistory("general","login",this.translate.instant("HISTORY-DESC.login_with_token")),i&&(this.localStorage.save("task_watcher_minimize_display","true"),this.router.navigate([i]).then())})}),(0,Ke.K)(a=>402!==a.status?(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)):(0,ie.of)(!0))).subscribe()}canActivate(){const t=this.authService.getToken(),i=this.authService.getTokenCustom("tokenRouteStatic");let a="";if(!t){const l=new URLSearchParams(window.location.href);let h="";for(const[E,N]of l.entries())"token"===E&&(h=N,a=window.location.hash.replace("#","").replace(/\?.*/,""),this.login(h,a))}return t?(this.login(t,i),!0):(this.translate.get("AUTH.not_connected").subscribe(l=>{const h=this.routerExtService.getCurrentUrl();"/logout"!==h&&"/login"!==h&&"/500"!==h&&this.authService.setCachedUrl(h.replace(/^\//g,"")),this.notify.error(l),this.authService.logout()}),!1)}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(Nt.F0),e.LFG(Ri.eN),e.LFG(pi.e),e.LFG(zi.K),e.LFG(Gi.g),e.LFG($t.sK),e.LFG(Al),e.LFG(jr),e.LFG(kn.q),e.LFG($a.e),e.LFG(ua.n))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),cm=(()=>{class n{constructor(t,i,a){this.userService=t,this.serviceSettings=i,this.privilegesService=a}ngOnInit(){}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(zi.K),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-error"]],decls:11,vars:3,consts:[[1,"absolute","left-0","right-0","bottom-0","flex","justify-center",2,"top","4.1rem"],[1,"flex","items-center"],[1,"text-center"],[1,"relative","text-gray-900","-top-28",2,"font-size","15rem"],[1,"relative","text-green-400","top-14"],[1,"fa-solid","fa-gear","fa-3x","fa-spin","mx-4",2,"--fa-animation-duration","3s"],[1,"fa-solid","fa-gear","fa-3x","fa-spin","fa-spin-reverse","mx-4",2,"--fa-animation-duration","3.5s"],[1,"fa-solid","fa-gear","fa-3x","fa-spin","mx-4",2,"--fa-animation-duration","4s"],[1,"relative","top-28","text-5xl",3,"innerHTML"]],template:function(t,i){1&t&&(e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav-content",1)(2,"div",2)(3,"div",3),e._uU(4," 500 "),e.qZA(),e.TgZ(5,"div",4),e._UZ(6,"i",5)(7,"i",6)(8,"i",7),e.qZA(),e._UZ(9,"div",8),e.ALo(10,"translate"),e.qZA()()()),2&t&&(e.xp6(9),e.Q6J("innerHTML",e.lcZ(10,1,"ERROR.500"),e.oJD))},dependencies:[Vt.TM,Vt.Rh,$t.X$]}),n})();function dm(n,o,t,i,a,l,h){try{var E=n[l](h),N=E.value}catch(oe){return void t(oe)}E.done?o(N):Promise.resolve(N).then(i,a)}function xa(n){return function(){var o=this,t=arguments;return new Promise(function(i,a){var l=n.apply(o,t);function h(N){dm(l,i,a,h,E,"next",N)}function E(N){dm(l,i,a,h,E,"throw",N)}h(void 0)})}}function gf(n,o){if(1&n&&(e.TgZ(0,"mat-option",12),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.Oqu(t.label)}}function um(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-dialog-content",8)(1,"mat-form-field",9)(2,"mat-label"),e._uU(3),e.qZA(),e.TgZ(4,"mat-select",10),e.NdJ("valueChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.selectData=a)}),e.YNc(5,gf,2,2,"mat-option",11),e.qZA()()()}if(2&n){const t=e.oxw();e.xp6(3),e.Oqu(t.data.selectLabel),e.xp6(1),e.Q6J("value",t.selectData),e.xp6(1),e.Q6J("ngForOf",t.data.selectValues)}}function _m(n,o){if(1&n&&(e.TgZ(0,"button",13),e._uU(1),e.qZA()),2&n){const t=e.oxw();e.s9C("color",t.data.confirmButtonColor),e.Q6J("mat-dialog-close",t.selectData),e.xp6(1),e.Oqu(t.data.confirmButton)}}function Td(n,o){if(1&n&&(e.TgZ(0,"button",13),e._uU(1),e.qZA()),2&n){const t=e.oxw();e.ekj("text-green-400","green"===t.data.confirmButtonColor),e.s9C("color",t.data.confirmButtonColor),e.Q6J("mat-dialog-close",!0),e.xp6(1),e.hij("",t.data.confirmButton," ")}}let gn=(()=>{class n{constructor(t){this.data=t}ngOnInit(){}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(se))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-confirm-dialog"]],decls:10,vars:6,consts:[["mat-dialog-title",""],[1,"border-green-400","-mt-4","mb-4"],[1,"mat-typography",3,"innerHTML"],["class","mat-typography",4,"ngIf"],[1,"flex","justify-end"],["mat-button","",3,"mat-dialog-close"],["mat-button","","cdkFocusInitial","",3,"mat-dialog-close","color",4,"ngIf"],["mat-button","","cdkFocusInitial","",3,"mat-dialog-close","color","text-green-400",4,"ngIf"],[1,"mat-typography"],[1,"w-full","mt-1"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["mat-button","","cdkFocusInitial","",3,"mat-dialog-close","color"]],template:function(t,i){1&t&&(e.TgZ(0,"h2",0),e._uU(1),e.qZA(),e._UZ(2,"hr",1)(3,"mat-dialog-content",2),e.YNc(4,um,6,3,"mat-dialog-content",3),e.TgZ(5,"mat-dialog-actions",4)(6,"button",5),e._uU(7),e.qZA(),e.YNc(8,_m,2,3,"button",6),e.YNc(9,Td,2,5,"button",7),e.qZA()),2&t&&(e.xp6(1),e.Oqu(i.data.confirmTitle),e.xp6(2),e.Q6J("innerHTML",i.data.confirmText,e.oJD),e.xp6(1),e.Q6J("ngIf",i.data.selectValues),e.xp6(3),e.Oqu(i.data.cancelButton),e.xp6(1),e.Q6J("ngIf",i.data.selectValues),e.xp6(1),e.Q6J("ngIf",!i.data.selectValues))},dependencies:[Rt.KE,Rt.hX,Be.gD,b.ey,Y.lW,An,ka,Gn,Qn,_e.sg,_e.O5]}),n})();function dv(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",17),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.resetSearchCustomer())}),e._UZ(1,"i",18),e.ALo(2,"translate"),e.qZA()}2&n&&(e.xp6(1),e.Q6J("matTooltip",e.lcZ(2,1,"VERIFIER.reset_customers_search")))}function Pc(n,o){1&n&&(e.TgZ(0,"div",19)(1,"div",20),e._UZ(2,"i",21),e.TgZ(3,"span",22),e._uU(4),e.ALo(5,"translate"),e.qZA()()()),2&n&&(e.xp6(4),e.hij(" ",e.lcZ(5,1,"VERIFIER.loading_customers")," "))}function lx(n,o){1&n&&(e.TgZ(0,"div",19)(1,"div",20),e._UZ(2,"i",23),e.TgZ(3,"span",22),e._uU(4),e.ALo(5,"translate"),e.qZA()()()),2&n&&(e.xp6(4),e.hij(" ",e.lcZ(5,1,"VERIFIER.no_customers_filter")," "))}function ff(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-tree-node",28),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw(2);return e.KtG(h.loadInvoicePerCustomer(l))}),e.TgZ(1,"button",29),e._UZ(2,"i",30),e.qZA(),e.TgZ(3,"span",31),e._uU(4),e.qZA(),e.TgZ(5,"span",32),e._uU(6),e.qZA()()}if(2&n){const t=o.$implicit;e.xp6(4),e.Oqu(t.name),e.xp6(2),e.hij(" ",t.count," ")}}function pb(n,o){if(1&n&&(e.TgZ(0,"span",38),e._uU(1),e.qZA()),2&n){const t=e.oxw().$implicit;e.ekj("hidden",0===t.count&&0===t.id),e.xp6(1),e.hij(" ",t.count," ")}}function uv(n,o){if(1&n&&(e.TgZ(0,"mat-tree-node",33)(1,"button",34)(2,"mat-icon",35),e._uU(3),e.qZA()(),e.TgZ(4,"span",36),e._uU(5),e.qZA(),e.YNc(6,pb,2,3,"span",37),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(2);e.ekj("hidden",!t.display||0===t.count&&0===t.id),e.xp6(1),e.ekj("hidden",0===t.count&&0===t.id),e.xp6(2),e.hij(" ",i.treeControl.isExpanded(t)?"expand_more":"chevron_right"," "),e.xp6(1),e.ekj("pointer-events-none",0===t.count)("hidden",0===t.count&&0===t.id),e.xp6(1),e.hij(" ",t.name," "),e.xp6(1),e.Q6J("ngIf",!i.treeControl.isExpanded(t))}}function _v(n,o){if(1&n&&(e.TgZ(0,"span",42),e._uU(1),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.hij(" ",t.count," ")}}function hb(n,o){if(1&n&&(e.TgZ(0,"mat-tree-node",39)(1,"button",34),e._UZ(2,"i",40),e.qZA(),e.TgZ(3,"span",31),e._uU(4),e.qZA(),e.YNc(5,_v,2,1,"span",41),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(2);e.ekj("hidden",0===t.count),e.xp6(2),e.ekj("fa-folder-open",i.treeControl.isExpanded(t)),e.xp6(2),e.Oqu(t.name),e.xp6(1),e.Q6J("ngIf",!i.treeControl.isExpanded(t))}}function _n(n,o){if(1&n&&(e.TgZ(0,"mat-tree",24),e.YNc(1,ff,7,2,"mat-tree-node",25),e.YNc(2,uv,7,11,"mat-tree-node",26),e.YNc(3,hb,6,6,"mat-tree-node",27),e.qZA()),2&n){const t=e.oxw();e.Q6J("dataSource",t.dataSource)("treeControl",t.treeControl),e.xp6(1),e.Q6J("matTreeNodeDefWhen",t.isLevelTwo),e.xp6(1),e.Q6J("matTreeNodeDefWhen",t.hasChild)("matTreeNodeDefWhen",t.isNotLevelOne),e.xp6(1),e.Q6J("matTreeNodeDefWhen",t.isLevelOne)}}function cx(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA(),e.TgZ(2,"span",60),e._uU(3),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw();e.xp6(1),e.hij(" ",i.translate.instant(t.label)," "),e.xp6(2),e.hij(" ",i.totals[t.id]," ")}}function dx(n,o){if(1&n&&(e.TgZ(0,"mat-option",61),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.hij(" ",t.label," ")}}function pv(n,o){if(1&n&&(e.TgZ(0,"mat-option",61),e._uU(1),e.ALo(2,"translate"),e.TgZ(3,"span",62),e._uU(4),e.qZA()()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.hij(" ",e.lcZ(2,3,t.label)," "),e.xp6(3),e.Oqu(t.total)}}function y_(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",63)(1,"span",64),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.selectOrUnselectAllInvoices(a))}),e.qZA(),e.TgZ(2,"span"),e._uU(3),e.qZA(),e.TgZ(4,"span",65),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw(2);return a.stopPropagation(),e.KtG(l.deleteAllConfirmDialog())}),e._UZ(5,"i",66),e.ALo(6,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("innerHTML",t.translate.instant(t.invoiceToDeleteSelected?"VERIFIER.unselect_all":"VERIFIER.select_all"),e.oJD),e.xp6(1),e.ekj("hidden",0===t.totalChecked),e.xp6(1),e.hij(" (",t.totalChecked,")"),e.xp6(1),e.ekj("hidden",!t.invoiceToDeleteSelected),e.xp6(1),e.s9C("matTooltip",e.lcZ(6,7,"GLOBAL.delete_all_checked"))}}function ux(n,o){1&n&&(e.TgZ(0,"div",67),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SPLITTER.no_batch_found")," "))}function pm(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function Lp(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",94),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw().$implicit,E=e.oxw(3);return e.KtG(E.changeCustomer(l.id,h.invoice_id))}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw().$implicit;e.ekj("bg-green-400",t.id===i.customer_id),e.xp6(1),e.hij(" ",e.lcZ(2,3,t.name)," ")}}function xo(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",94),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw().$implicit,E=e.oxw(3);return e.KtG(E.changeInvoiceForm(l.id,h.invoice_id))}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw().$implicit;e.ekj("bg-green-400",t.id===i.form_id),e.xp6(1),e.hij(" ",e.lcZ(2,3,t.label)," ")}}function mb(n,o){1&n&&(e._UZ(0,"i",95),e.ALo(1,"translate")),2&n&&e.Q6J("matTooltip",e.lcZ(1,1,"VERIFIER.document_locked_by"))}function hv(n,o){if(1&n&&(e.TgZ(0,"div",96)(1,"strong"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._uU(4),e.qZA()),2&n){const t=o.$implicit;e.xp6(2),e.Oqu(e.lcZ(3,2,t.label)),e.xp6(2),e.hij("\xa0:\xa0",t.data," ")}}function mv(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-card",71)(1,"label",72)(2,"input",73),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.checkCheckedInvoices())}),e.qZA()(),e.TgZ(3,"div",74)(4,"div",75)(5,"mat-icon",76),e._uU(6,"more_vert"),e.qZA()(),e.TgZ(7,"mat-menu",null,77)(9,"button",78),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.TgZ(12,"button",78),e._uU(13),e.ALo(14,"translate"),e.qZA()(),e.TgZ(15,"mat-menu",null,79),e.YNc(17,Lp,3,5,"button",80),e.qZA(),e.TgZ(18,"mat-menu",null,81),e.YNc(20,xo,3,5,"button",80),e.qZA()(),e.TgZ(21,"img",82),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw(3);return e.KtG(l.locked?h.displayInvoiceLocked(l.locked_by):"")}),e.qZA(),e.TgZ(22,"mat-card-header",83),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw(3);return e.KtG(l.locked?h.displayInvoiceLocked(l.locked_by):"")}),e.TgZ(23,"mat-card-title",84)(24,"span",85),e.YNc(25,mb,2,3,"i",86),e._uU(26),e.ALo(27,"translate"),e.qZA(),e.TgZ(28,"span",87),e._uU(29),e._UZ(30,"i",88),e.qZA()(),e.TgZ(31,"mat-card-subtitle",89),e.YNc(32,hv,5,4,"div",90),e.qZA()(),e.TgZ(33,"mat-card-actions",91)(34,"i",92),e.NdJ("click",function(a){const h=e.CHM(t).$implicit,E=e.oxw(3);return a.stopPropagation(),e.KtG(E.deleteConfirmDialog(h.invoice_id))}),e.TgZ(35,"span",93),e._uU(36),e.ALo(37,"translate"),e.qZA()()()()}if(2&n){const t=o.$implicit,i=e.MAs(8),a=e.MAs(16),l=e.MAs(19),h=e.oxw(3);e.xp6(2),e.MGl("id","",t.invoice_id,"_checkbox"),e.xp6(2),e.Q6J("matMenuTriggerFor",i)("matTooltip",h.translate.instant("VERIFIER.documents_settings")),e.xp6(5),e.Q6J("matMenuTriggerFor",a),e.xp6(1),e.hij(" ",e.lcZ(11,18,"INPUT.associated_customer")," "),e.xp6(2),e.Q6J("matMenuTriggerFor",l),e.xp6(1),e.hij(" ",e.lcZ(14,20,"POSITIONS-MASKS.form_associated")," "),e.xp6(4),e.Q6J("ngForOf",h.dataSource.data),e.xp6(3),e.Q6J("ngForOf",h.filteredForms),e.xp6(1),e.Q6J("routerLink",t.locked?"/verifier/list":"/verifier/viewer/"+t.invoice_id)("src",t.thumb,e.LSH),e.xp6(1),e.Q6J("routerLink",t.locked?"/verifier/list":"/verifier/viewer/"+t.invoice_id),e.xp6(3),e.Q6J("ngIf",t.locked),e.xp6(1),e.hij(" ",t.supplier_name?t.supplier_name:e.lcZ(27,22,"ACCOUNTS.supplier_unknow")," "),e.xp6(2),e.Q6J("matTooltip",h.translate.instant("VERIFIER.nb_pages")+" : "+t.nb_pages),e.xp6(1),e.hij(" ",t.nb_pages,""),e.xp6(3),e.Q6J("ngForOf",t.display.subtitles),e.xp6(4),e.Oqu(e.lcZ(37,24,"VERIFIER.delete_document"))}}function _x(n,o){if(1&n&&(e.TgZ(0,"div",68)(1,"div",69),e.YNc(2,mv,38,26,"mat-card",70),e.qZA()()),2&n){const t=e.oxw(2);e.xp6(2),e.Q6J("ngForOf",t.invoices)}}function Cf(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-tab",43),e.YNc(1,cx,4,2,"ng-template",44),e.TgZ(2,"div",45)(3,"div",46)(4,"mat-form-field",47)(5,"mat-label"),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.TgZ(8,"input",48),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.search=a)})("keyup",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.searchInvoice(a))}),e.qZA()(),e.TgZ(9,"div",49)(10,"mat-form-field",50)(11,"mat-label"),e._uU(12),e.ALo(13,"translate"),e.qZA(),e.TgZ(14,"mat-select",51),e.NdJ("valueChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.currentStatus=a)})("selectionChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.changeStatus(a))}),e.YNc(15,dx,2,2,"mat-option",52),e.qZA()(),e.TgZ(16,"mat-form-field",50)(17,"mat-label"),e._uU(18),e.ALo(19,"translate"),e.qZA(),e.TgZ(20,"mat-select",51),e.NdJ("valueChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.currentForm=a)})("selectionChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.changeForm(a))}),e.YNc(21,pv,5,5,"mat-option",52),e.qZA()()(),e.TgZ(22,"span",53)(23,"mat-paginator",54),e.NdJ("page",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.onPageChange(a))}),e.qZA()()(),e.YNc(24,y_,7,9,"div",55),e._UZ(25,"hr",56),e.YNc(26,ux,3,3,"div",57),e.YNc(27,pm,2,0,"div",58),e.YNc(28,_x,3,1,"div",59),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("id",t.id)("disabled",i.loading),e.xp6(6),e.Oqu(e.lcZ(7,23,"VERIFIER.search")),e.xp6(2),e.Q6J("ngModel",i.search)("disabled",0===i.total),e.xp6(4),e.Oqu(e.lcZ(13,25,"STATUS.list")),e.xp6(2),e.Q6J("value",i.currentStatus)("disabled",i.loading),e.xp6(1),e.Q6J("ngForOf",i.status),e.xp6(3),e.Oqu(e.lcZ(19,27,"SETTINGS.list_forms")),e.xp6(2),e.Q6J("value",i.currentForm)("disabled",i.loading),e.xp6(1),e.Q6J("ngForOf",i.forms),e.xp6(1),e.ekj("hidden",i.loading||0===i.total),e.xp6(1),e.Q6J("length",i.total)("pageSize",i.pageSize)("pageIndex",i.pageIndex)("pageSizeOptions",i.pageSizeOptions),e.xp6(1),e.Q6J("ngIf",i.invoices.length>1),e.xp6(2),e.Q6J("ngIf",0===i.invoices.length),e.xp6(1),e.Q6J("ngIf",i.loading),e.xp6(1),e.Q6J("ngIf",!i.loading)}}let vf=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt){this.http=t,this.dialog=i,this.sanitizer=a,this.authService=l,this.userService=h,this.translate=E,this.notify=N,this.configService=oe,this.historyService=xe,this.routerExtService=Ve,this.localStorageService=lt,this.loading=!0,this.loadingCustomers=!0,this.status=[],this.forms=[{id:"",label:this.translate.instant("VERIFIER.all_forms")},{id:"no_form",label:this.translate.instant("VERIFIER.no_form")}],this.filteredForms=[],this.currentForm="",this.currentStatus="NEW",this.currentTime="today",this.batchList=[{id:"today",label:(0,He.J)("BATCH.today")},{id:"yesterday",label:(0,He.J)("BATCH.yesterday")},{id:"older",label:(0,He.J)("BATCH.older")}],this.pageSize=16,this.pageIndex=0,this.pageSizeOptions=[4,8,12,16,24,48],this.total=0,this.totals={},this.offset=0,this.selectedTab=0,this.invoices=[],this.allowedCustomers=[],this.allowedSuppliers=[],this.purchaseOrSale="",this.search="",this.TREE_DATA=[],this.expanded=!1,this.invoiceToDeleteSelected=!1,this.totalChecked=0,this.customerFilterEmpty=!1,this.customerFilter=new A.NI(""),this._transformer=(Ft,ii)=>({expandable:!!Ft.children&&Ft.children.length>0,name:Ft.name,supplier_id:Ft.supplier_id,id:Ft.id,parent_id:Ft.parent_id,purchase_or_sale:Ft.purchase_or_sale,display:Ft.display,count:Ft.count,level:ii,children:Ft.children}),this.treeControl=new ch(Ft=>Ft.level,Ft=>Ft.expandable),this.treeFlattener=new ad(this._transformer,Ft=>Ft.level,Ft=>Ft.expandable,Ft=>Ft.children),this.dataSource=new ko(this.treeControl,this.treeFlattener),this.hasChild=(Ft,ii)=>ii.expandable,this.isLevelOne=(Ft,ii)=>1===ii.level,this.isLevelTwo=(Ft,ii)=>2===ii.level,this.isNotLevelOne=(Ft,ii)=>1!==ii.level}ngOnInit(){var t=this;return xa(function*(){t.authService.headersExists||t.authService.generateHeaders(),t.userService.user||(t.userService.user=t.userService.getUserFromLocal()),(0,He.J)("VERIFIER.nb_pages"),(0,He.J)("VERIFIER.expand_all"),(0,He.J)("VERIFIER.collapse_all"),(0,He.J)("VERIFIER.select_all"),(0,He.J)("VERIFIER.unselect_all"),(0,He.J)("VERIFIER.documents_settings"),t.localStorageService.save("splitter_or_verifier","verifier"),t.removeLockByUserId(t.userService.user.username);const i=t.routerExtService.getPreviousUrl();i.includes("verifier/")&&!i.includes("settings")||"/"===i||"/upload"===i?(t.localStorageService.get("invoicesPageIndex")&&(t.pageIndex=parseInt(t.localStorageService.get("invoicesPageIndex"))),t.localStorageService.get("invoicesTimeIndex")&&(t.selectedTab=parseInt(t.localStorageService.get("invoicesTimeIndex")),t.currentTime=t.batchList[t.selectedTab].id),t.offset=t.pageSize*t.pageIndex):(t.localStorageService.remove("invoicesPageIndex"),t.localStorageService.remove("invoicesTimeIndex")),t.http.get(m.N.url+"/ws/status/list?module=verifier",{headers:t.authService.headers}).pipe((0,$e.b)(a=>{t.status=a.status}),(0,Ke.K)(a=>(console.debug(a),t.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe(),setTimeout(()=>{t.loadForms(),t.loadCustomers()},100)})()}loadForms(){this.http.get(m.N.url+"/ws/forms/list?module=verifier&totals=true&status="+this.currentStatus+"&user_id="+this.userService.user.id+"&time="+this.currentTime,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.filteredForms=[],this.forms=[{id:"",label:this.translate.instant("VERIFIER.all_forms")},{id:"no_form",label:this.translate.instant("VERIFIER.no_form")}],t.forms.forEach(i=>{this.forms.push(i),this.filteredForms.push(i)})}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}removeLockByUserId(t){this.http.put(m.N.url+"/ws/verifier/invoices/removeLockByUserId/"+t,{},{headers:this.authService.headers}).pipe((0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}loadCustomers(){this.TREE_DATA=[],this.http.get(m.N.url+"/ws/accounts/customers/list",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{const i=t.customers;this.TREE_DATA.push({name:this.translate.instant("ACCOUNTS.customer_not_specified"),id:0,parent_id:"",supplier_id:"",purchase_or_sale:"",display:!0,count:0,children:[]}),this.allowedCustomers.push(0),this.http.get(m.N.url+"/ws/users/getCustomersByUserId/"+this.userService.user.id,{headers:this.authService.headers}).pipe((0,$e.b)(a=>{i.forEach(l=>{a.forEach(h=>{h===l.id&&(this.allowedCustomers.push(l.id),this.TREE_DATA.push({name:l.name,id:l.id,parent_id:"",supplier_id:"",purchase_or_sale:"",display:!0,count:0,children:[]}))})}),this.loadInvoices().then()}),(0,Di.x)(()=>this.loadingCustomers=!1),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe()}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}loadInvoices(){var t=this;return xa(function*(){t.invoiceToDeleteSelected=!1,t.totalChecked=0,t.loading=!0,t.loadingCustomers=!0,t.invoices=[],t.loadForms();let i=m.N.url+"/ws/verifier/invoices/totals/"+t.currentStatus+"/"+t.userService.user.id;""!==t.currentForm&&(i=m.N.url+"/ws/verifier/invoices/totals/"+t.currentStatus+"/"+t.userService.user.id+"/"+t.currentForm),t.http.get(i,{headers:t.authService.headers}).pipe((0,$e.b)(a=>{t.totals=a.totals}),(0,Ke.K)(a=>(console.debug(a),t.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe(),t.http.post(m.N.url+"/ws/verifier/invoices/list",{allowedCustomers:t.allowedCustomers,status:t.currentStatus,limit:t.pageSize,allowedSuppliers:t.allowedSuppliers,form_id:t.currentForm,time:t.currentTime,offset:t.offset,search:t.search,purchaseOrSale:t.purchaseOrSale},{headers:t.authService.headers}).pipe((0,$e.b)(a=>{a&&(0!==a.invoices.length?t.total=a.total:0!==t.pageIndex&&(t.pageIndex=t.pageIndex-1,t.offset=t.pageSize*t.pageIndex,t.loadInvoices()),t.invoices=a.invoices,t.invoices.forEach(E=>{E.thumb.includes("data:image/jpeg;base64")||(E.thumb=t.sanitizer.bypassSecurityTrustUrl("data:image/jpeg;base64, "+E.thumb)),(null===E.form_label||""===E.form_label||void 0===E.form_label)&&(E.form_label=t.translate.instant("VERIFIER.no_form")),E.form_id?t.forms.forEach(oe=>{oe.id===E.form_id&&oe.settings.display&&(E.display=oe.settings.display)}):E.display={subtitles:[{id:"invoice_number",label:"FACTURATION.invoice_number"},{id:"document_date",label:"FACTURATION.document_date"},{id:"date",label:"VERIFIER.register_date"},{id:"original_filename",label:"VERIFIER.original_file"},{id:"form_label",label:"VERIFIER.form"}]},E.display||(E.display={subtitles:[{id:"invoice_number",label:"FACTURATION.invoice_number"},{id:"document_date",label:"FACTURATION.document_date"},{id:"date",label:"VERIFIER.register_date"},{id:"original_filename",label:"VERIFIER.original_file"},{id:"form_label",label:"VERIFIER.form"}]});const N=E.display.subtitles;E.display={subtitles:[]},N.forEach(oe=>{let xe="";E.datas.hasOwnProperty(oe.id)?xe=E.datas[oe.id]:E.hasOwnProperty(oe.id)&&(xe=E[oe.id]),E.display.subtitles.push({id:oe.id,label:oe.label,data:xe})})}));const l=[],h=[];t.allowedCustomers.forEach(E=>{t.invoices.forEach(N=>{"purchase"===N.purchase_or_sale&&!l.includes(E)&&l.push(E),"sale"===N.purchase_or_sale&&!h.includes(E)&&h.push(E)})}),t.TREE_DATA.forEach((E,N)=>{t.TREE_DATA[N].display=!0,t.TREE_DATA[N].count=0,t.TREE_DATA[N].children=[]}),t.TREE_DATA.forEach((E,N)=>{h.forEach(oe=>{if(E.id===oe){let xe=!1;t.TREE_DATA[N].children.forEach(Ve=>{0===Ve.id&&(xe=!0)}),xe||(t.TREE_DATA[N].children.push({name:t.translate.instant("UPLOAD.sale_invoice"),id:0,display:!0,count:0,children:[]}),t.createChildren("sale",0,N))}}),l.forEach(oe=>{if(E.id===oe&&t.TREE_DATA[N]){let xe=!1;t.TREE_DATA[N].children.forEach(Ve=>{1===Ve.id&&(xe=!0)}),xe||(t.TREE_DATA[N].children.push({name:t.translate.instant("UPLOAD.purchase_invoice"),id:1,display:!0,count:0,children:[]}),t.createChildren("purchase",1,N))}})}),t.dataSource.data=t.TREE_DATA,t.filterCustomers()}),(0,Di.x)(()=>{t.loading=!1,t.loadingCustomers=!1}),(0,Ke.K)(a=>(console.debug(a),t.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe()})()}fillChildren(t,i,a,l,h,E,N){let oe=!1;i.forEach(xe=>{xe.name===a&&(oe=!0,xe.count=xe.count+1)}),oe||i.push({name:l,supplier_id:h,id:E,parent_id:t,purchase_or_sale:N,count:1,display:!0})}resetSearchCustomer(){this.customerFilter.setValue(""),this.filterCustomers()}filterCustomers(){const t=this.dataSource.data;this.customerFilterEmpty=!1;let i=!1;t.forEach(a=>{a.name.toLowerCase().includes(this.customerFilter.value.toLowerCase())?(a.display=!0,i=!0):a.display=!1}),i||(this.customerFilterEmpty=!0),this.dataSource.data=t}changeCustomer(t,i){this.loading=!0,this.loadingCustomers=!0,this.http.put(m.N.url+"/ws/verifier/invoices/"+i+"/update",{args:{customer_id:t}},{headers:this.authService.headers}).pipe((0,Di.x)(()=>{this.resetInvoices(),this.notify.success(this.translate.instant("VERIFIER.customer_changed_successfully"))}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe()}changeInvoiceForm(t,i){this.loading=!0,this.loadingCustomers=!0,this.http.put(m.N.url+"/ws/verifier/invoices/"+i+"/update",{args:{form_id:t}},{headers:this.authService.headers}).pipe((0,Di.x)(()=>{this.resetInvoices(),this.notify.success(this.translate.instant("VERIFIER.form_changed"))}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe()}createChildren(t,i,a){this.TREE_DATA[a].children.forEach(l=>{l.id===i&&this.invoices.forEach(h=>{this.TREE_DATA[a].id===h.customer_id&&h.purchase_or_sale===t&&(this.fillChildren(this.TREE_DATA[a].id,l.children,h.supplier_name,h.supplier_id?h.supplier_name:this.translate.instant("ACCOUNTS.supplier_unknow"),h.supplier_id,h.invoice_id,t),l.count=l.count+1,this.TREE_DATA[a].count=this.TREE_DATA[a].count+1)})})}loadInvoicePerCustomer(t){const i=t.parent_id,a=t.supplier_id,l=t.purchase_or_sale;this.TREE_DATA.forEach(h=>{h.id===i&&(this.allowedCustomers=[h.id],this.allowedSuppliers=[a],this.purchaseOrSale=l,this.resetPaginator(),this.loadInvoices())})}resetInvoices(){this.loading=!0,this.loadingCustomers=!0,this.allowedCustomers=[],this.allowedSuppliers=[],this.purchaseOrSale="",this.search="",this.currentForm="",this.resetPaginator(),this.loadCustomers()}selectOrUnselectAllInvoices(t){const i=t.srcElement.textContent;this.invoiceToDeleteSelected=!this.invoiceToDeleteSelected;const a=document.getElementsByClassName("checkBox_list");Array.from(a).forEach(l=>{l.checked=i===this.translate.instant("VERIFIER.select_all")}),this.totalChecked=document.querySelectorAll(".checkBox_list:checked").length}deleteAllInvoices(){this.loading=!0,this.loadingCustomers=!0;const t=document.querySelectorAll(".checkBox_list:checked");Array.from(t).forEach(i=>{const a=i.id.split("_")[0];this.deleteInvoice(a,!0)}),this.notify.success(this.translate.instant("VERIFIER.all_documents_checked_deleted")),this.loadCustomers()}deleteInvoice(t,i=!1){this.http.delete(m.N.url+"/ws/verifier/invoices/delete/"+t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{i||(this.loadCustomers(),this.notify.success(this.translate.instant("VERIFIER.documents_deleted"))),this.historyService.addHistory("verifier","delete_document",this.translate.instant("HISTORY-DESC.delete_document",{document_id:t}))}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe()}checkCheckedInvoices(){this.totalChecked=document.querySelectorAll(".checkBox_list:checked").length,this.invoiceToDeleteSelected=0!==this.totalChecked}deleteConfirmDialog(t){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("VERIFIER.confirm_delete_document"),confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(a=>{a&&(this.loading=!0,this.loadingCustomers=!0,this.deleteInvoice(t))})}displayInvoiceLocked(t){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("VERIFIER.document_locked"),confirmText:this.translate.instant("VERIFIER.document_locked_by",{locked_by:t}),confirmButton:this.translate.instant("GLOBAL.confirm"),confirmButtonColor:"warn"},width:"600px"})}deleteAllConfirmDialog(){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("VERIFIER.confirm_delete_all_documents"),confirmButton:this.translate.instant("GLOBAL.delete_all_checked"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(i=>{i&&this.deleteAllInvoices()})}changeStatus(t){this.currentStatus=t.value,this.resetPaginator(),this.loadInvoices()}changeForm(t){this.currentForm=t.value,this.resetPaginator(),this.loadInvoices()}onTabChange(t){this.search="",this.selectedTab=t.index,this.localStorageService.save("invoicesTimeIndex",this.selectedTab),this.currentTime=this.batchList[this.selectedTab].id,this.resetPaginator(),this.loadInvoices()}onPageChange(t){this.pageSize=t.pageSize,this.offset=this.pageSize*t.pageIndex,this.pageIndex=t.pageIndex,this.localStorageService.save("invoicesPageIndex",t.pageIndex),this.loadInvoices()}searchInvoice(t){this.search=t.target.value,this.loadInvoices()}resetPaginator(){this.total=0,this.offset=0,this.pageIndex=0,this.localStorageService.save("invoicesPageIndex",this.pageIndex)}expandAll(){this.expanded?this.treeControl.collapseAll():this.treeControl.expandAll(),this.expanded=!this.expanded}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Ri.eN),e.Y36(Ui),e.Y36(c.H7),e.Y36(pi.e),e.Y36(zi.K),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(Al),e.Y36(kn.q),e.Y36($a.e),e.Y36(ua.n))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-verifier-list"]],features:[e._Bn([{provide:Rt.o2,useValue:{appearance:"fill"}}])],decls:25,vars:30,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"2xl:w-96","xl:w-80","md:w-72","sm:w-64","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"text-center","text-gray-900","m-0","h-16",2,"padding-top","1.2rem"],[1,"fa-solid","fa-sync-alt","mr-4","cursor-pointer",3,"matTooltip","click"],[1,"fa-solid","ml-4","cursor-pointer",3,"matTooltip","click"],[1,"pb-6"],["appearance","outline",1,"px-4","pt-4","-mb-6","w-full"],["matInput","","type","text","autocomplete","off",3,"formControl","readonly","keyup"],["matSuffix","","class","text-gray-900 cursor-pointer",3,"click",4,"ngIf"],["class","flex text-gray-400 object-contain","style","height: calc(100% - 10rem)",4,"ngIf"],[3,"dataSource","treeControl",4,"ngIf"],[1,"bg-white","overflow-hidden"],["mat-icon-button","",1,"absolute","left-2","top-2",2,"z-index","999",3,"click"],[1,"fa-solid","fa-stream","text-xl","text-gray-900"],["animationDuration","0ms",1,"batches","overflow-auto",3,"selectedIndex","selectedTabChange"],[3,"id","disabled",4,"ngFor","ngForOf"],["matSuffix","",1,"text-gray-900","cursor-pointer",3,"click"],[1,"fa-solid","fa-sync-alt","text-xl","relative",2,"top","-.3rem",3,"matTooltip"],[1,"flex","text-gray-400","object-contain",2,"height","calc(100% - 10rem)"],[1,"m-auto","text-center"],[1,"fa-solid","fa-users","fa-4x","fa-beat-fade","w-full","mb-2",2,"--fa-animation-duration","1.5s"],[1,"w-full"],[1,"fa-solid","fa-ban","fa-4x","fa-beat-fade","w-full","mb-2",2,"--fa-animation-duration","1.5s"],[3,"dataSource","treeControl"],["style","min-height: 24px","class","pl-12 cursor-pointer hover:bg-black hover:bg-opacity-20",3,"click",4,"matTreeNodeDef","matTreeNodeDefWhen"],["style","min-height: 24px","class","parent cursor-pointer hover:bg-black hover:bg-opacity-10","matTreeNodeToggle","",3,"hidden",4,"matTreeNodeDef","matTreeNodeDefWhen"],["style","min-height: 24px","class","child pl-6 cursor-pointer hover:bg-black hover:bg-opacity-10","matTreeNodeToggle","",3,"hidden",4,"matTreeNodeDef","matTreeNodeDefWhen"],[1,"pl-12","cursor-pointer","hover:bg-black","hover:bg-opacity-20",2,"min-height","24px",3,"click"],["mat-icon-button","","disabled",""],[1,"text-green-400","ml-4","fa-solid","fa-user","pb-0.5"],[1,"pl-2","font-normal","select-none"],[1,"float-right","ml-auto","select-none","mr-6","bottom-1","bg-green-400","rounded-full","px-1.5","py-0.5","text-center","text-xs","text-white"],["matTreeNodeToggle","",1,"parent","cursor-pointer","hover:bg-black","hover:bg-opacity-10",2,"min-height","24px"],["mat-icon-button",""],[1,"mat-icon-rtl-mirror","text-gray-900"],[1,"select-none"],["class","float-right ml-auto select-none mr-4 bg-green-400 rounded-full px-1.5 py-0.5 text-center text-xs text-white",3,"hidden",4,"ngIf"],[1,"float-right","ml-auto","select-none","mr-4","bg-green-400","rounded-full","px-1.5","py-0.5","text-center","text-xs","text-white"],["matTreeNodeToggle","",1,"child","pl-6","cursor-pointer","hover:bg-black","hover:bg-opacity-10",2,"min-height","24px"],[1,"text-gray-600","ml-4","fa-solid","fa-folder","pb-0.5"],["class","float-right ml-auto select-none mr-12 bottom-1 bg-green-400 rounded-full px-1.5 py-0.5 text-center text-xs text-white",4,"ngIf"],[1,"float-right","ml-auto","select-none","mr-12","bottom-1","bg-green-400","rounded-full","px-1.5","py-0.5","text-center","text-xs","text-white"],[3,"id","disabled"],["mat-tab-label",""],[1,"verifier-container","flex","flex-col"],[1,"grid","grid-cols-3","grid-flow-row","gap-0","mt-4","z-30"],["appearance","outline",1,"left-4","w-1/2"],["matInput","","type","text",3,"ngModel","disabled","ngModelChange","keyup"],[1,"w-full","m-auto","grid","grid-cols-2","gap-2"],["appearance","outline"],[3,"value","disabled","valueChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[1,"relative","right-0"],[3,"length","pageSize","pageIndex","pageSizeOptions","page"],["class","z-30 -mt-2 mb-2 select-none","style","margin-left: 1.2rem",4,"ngIf"],[1,"w-1/2","m-auto","mb-4","border-green-400","relative","z-30"],["class","m-4",4,"ngIf"],[4,"ngIf"],["class","content mx-10 mt-3",4,"ngIf"],[1,"text-green-400","ml-3","relative","bottom-1.5","font-bold",2,"font-size","12px"],[3,"value"],[1,"text-green-400","ml-3","font-bold",2,"font-size","12px"],[1,"z-30","-mt-2","mb-2","select-none",2,"margin-left","1.2rem"],[1,"cursor-pointer",3,"innerHTML","click"],[3,"click"],[1,"fa-solid","fa-trash","ml-2","text-red-500","cursor-pointer",3,"matTooltip"],[1,"m-4"],[1,"content","mx-10","mt-3"],[1,"cards-list","list","grid","2xl:grid-cols-4","md:grid-cols-3","sm:grid-cols-2","grid-flow-row","gap-12"],["class","cursor-pointer p-0 mb-0",4,"ngFor","ngForOf"],[1,"cursor-pointer","p-0","mb-0"],[1,"p-5","absolute","z-40","cursor-pointer"],["type","checkbox",1,"accent-green-400","checkBox_list","cursor-pointer",3,"id","click"],[1,"absolute","right-0","p-5","z-30"],["matTooltipPosition","above",3,"matMenuTriggerFor","matTooltip"],[1,"field_settings","text-md"],["menu","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor"],["customers","matMenu"],["mat-menu-item","",3,"bg-green-400","click",4,"ngFor","ngForOf"],["formMenu","matMenu"],["mat-card-image","","alt","Open-Capture Verifier image",1,"m-auto","p-4",3,"routerLink","src","click"],[1,"leading-6","relative","z-10","bg-white","pt-4","pl-4","pr-4",3,"routerLink","click"],[1,"break-all"],[1,"leading-7"],["class","fa-solid fa-lock text-base mb-2 relative","style","bottom: 0.1rem",3,"matTooltip",4,"ngIf"],[1,"absolute","right-6","text-green-400","text-base","badge","badge-secondary","badge-pill",3,"matTooltip"],[1,"far","fa-file-alt","ml-1"],[1,"mt-2","-mb-1"],["class","-mb-1 text-ellipsis overflow-hidden w-full inline-block",4,"ngFor","ngForOf"],[1,"pb-4","pl-4"],[1,"fa-solid","fa-trash","cursor-pointer","text-red-500",3,"click"],[1,"font-medium","mat-typography"],["mat-menu-item","",3,"click"],[1,"fa-solid","fa-lock","text-base","mb-2","relative",2,"bottom","0.1rem",3,"matTooltip"],[1,"-mb-1","text-ellipsis","overflow-hidden","w-full","inline-block"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3)(4,"i",4),e.NdJ("click",function(){return i.resetInvoices()}),e.ALo(5,"translate"),e.qZA(),e._uU(6),e.ALo(7,"translate"),e.TgZ(8,"i",5),e.NdJ("click",function(){return i.expandAll()}),e.qZA()(),e._UZ(9,"mat-divider"),e.TgZ(10,"div",6)(11,"mat-form-field",7)(12,"mat-label"),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.TgZ(15,"input",8),e.NdJ("keyup",function(){return i.filterCustomers()}),e.qZA(),e.YNc(16,dv,3,3,"button",9),e.qZA()(),e.YNc(17,Pc,6,3,"div",10),e.YNc(18,lx,6,3,"div",10),e.YNc(19,_n,4,6,"mat-tree",11),e.qZA(),e.TgZ(20,"mat-sidenav-content",12)(21,"button",13),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(22,"i",14),e.qZA(),e.TgZ(23,"mat-tab-group",15),e.NdJ("selectedTabChange",function(h){return i.onTabChange(h)}),e.YNc(24,Cf,29,29,"mat-tab",16),e.qZA()()()}if(2&t){const a=e.MAs(2);e.xp6(3),e.ekj("pointer-events-none",i.loading),e.xp6(1),e.Q6J("matTooltip",e.lcZ(5,24,"VERIFIER.reset_document_list")),e.xp6(2),e.hij(" ",e.lcZ(7,26,"VERIFIER.suppliers_by_customer")," "),e.xp6(2),e.ekj("fa-compress-arrows-alt",i.expanded)("fa-expand-arrows-alt",!i.expanded),e.Q6J("matTooltip",i.translate.instant(i.expanded?"VERIFIER.collapse_all":"VERIFIER.expand_all")),e.xp6(3),e.ekj("pointer-events-none",i.loadingCustomers||0===i.dataSource.data.length),e.xp6(2),e.hij(" ",e.lcZ(14,28,"VERIFIER.search_customer")," "),e.xp6(2),e.Q6J("formControl",i.customerFilter)("readonly",i.loadingCustomers||0===i.dataSource.data.length),e.xp6(1),e.Q6J("ngIf",i.customerFilter.value),e.xp6(1),e.Q6J("ngIf",i.loadingCustomers||0===i.dataSource.data.length),e.xp6(1),e.Q6J("ngIf",i.customerFilter.value&&!i.loadingCustomers&&i.customerFilterEmpty),e.xp6(1),e.Q6J("ngIf",!i.loadingCustomers&&0!==i.dataSource.data.length),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(1),e.Q6J("selectedIndex",i.selectedTab),e.xp6(1),e.Q6J("ngForOf",i.batchList)}},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.KE,Rt.hX,Rt.R9,Be.gD,b.ey,an.Nt,Xn,va.SP,va.uD,va.uX,Vt.JX,Vt.TM,Vt.Rh,Y.lW,ot,qt,We,Ie,_t,si,Ho,xl,pe,Co,So,Rn.d,tu,ph,$l,ep,A.Fj,A.JJ,A.oH,A.On,Cn.R,$t.X$],styles:['.mat-badge-content[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(76 76 78 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(151 191 61 / var(--tw-text-opacity));font-weight:700} .cards-list .mat-card .mat-card-header .mat-card-header-text{width:95%}@media (min-width: 640px){ .batches .mat-paginator-page-size{display:none}}@media (min-width: 1536px){ .batches .mat-paginator-page-size{display:flex}} .batches .mat-tab-header{z-index:20} .batches .mat-tab-header .mat-tab-label-container>.mat-tab-list>.mat-tab-labels .mat-tab-label{width:33.333333%;height:4rem} .batches .mat-tab-header .mat-tab-label-container>.mat-tab-list>.mat-tab-labels .mat-tab-label-active{opacity:1} .batches .mat-tab-body-wrapper>.mat-tab-body>.mat-tab-body-content{height:calc(100vh - 8rem)!important;overflow-x:hidden} .batches .mat-tab-body-wrapper>.mat-tab-body>.mat-tab-body-content .verifier-container>.content>.list>.mat-card:nth-last-child(-n+4){margin-bottom:1.25rem}.ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.5em;max-height:3} .list>mat-card{display:flex;flex-direction:column} .list>mat-card .mat-card-header{flex-shrink:0} .list>mat-card .mat-card-image{transform:scale(1);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s} .list>mat-card .mat-card-header .mat-card-title>span:first-child{position:relative} .list>mat-card .mat-card-header .mat-card-title>span:first-child:after{position:absolute;content:"";width:0px;height:.125rem;--tw-bg-opacity: 1;background-color:rgb(151 191 61 / var(--tw-bg-opacity));left:50%;bottom:-.125rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s} .list>mat-card:hover .mat-card-image{transform:scale(1.05)} .list>mat-card:hover .mat-card-header>.mat-card-header-text>.mat-card-title>span:first-child:after{width:100%;left:0} .list>mat-card:hover mat-card-actions{visibility:visible;opacity:1} .list>mat-card mat-card-actions{margin:0 16px;visibility:hidden;opacity:0;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s} .list>mat-card mat-card-actions i>span{visibility:hidden;opacity:0;margin-left:-.5rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s} .list>mat-card mat-card-actions i:hover>span{visibility:visible;opacity:1;margin-left:.5rem}']}),n})(),xf=(()=>{class n{transform(t,i,a){return t?a&&0!==a.length?t.filter(l=>-1!==l[i].toLowerCase().indexOf(a.toLowerCase())):t:[]}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275pipe=e.Yjl({name:"filter",type:n,pure:!0}),n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})();function gv(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA(),e.TgZ(2,"span",21),e._uU(3),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw();e.xp6(1),e.hij(" ",i.translate.instant(t.label)," "),e.xp6(2),e.hij(" ",i.totals[t.id]," ")}}function u(n,o){if(1&n&&(e.TgZ(0,"mat-option",22),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.hij(" ",t.label," ")}}function f(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",23)(1,"span",24),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.selectOrUnselectAllBatches(a))}),e.qZA(),e.TgZ(2,"span"),e._uU(3),e.qZA(),e.TgZ(4,"span")(5,"i",25),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw(2);return a.stopPropagation(),e.KtG(l.deleteAllConfirmDialog())}),e.ALo(6,"translate"),e.qZA()()()}if(2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("innerHTML",t.translate.instant(t.batchesSelected?"VERIFIER.unselect_all":"VERIFIER.select_all"),e.oJD),e.xp6(1),e.ekj("hidden",0===t.totalChecked),e.xp6(1),e.hij(" (",t.totalChecked,")"),e.xp6(1),e.ekj("hidden",!t.batchesSelected),e.xp6(1),e.s9C("matTooltip",e.lcZ(6,7,"GLOBAL.delete_all_checked"))}}function r(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function p(n,o){1&n&&(e.TgZ(0,"span",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"SPLITTER.no_batch_found")))}function x(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"i",45),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw(3);return a.stopPropagation(),e.KtG(h.mergeAllConfirmDialog(l.id))}),e.TgZ(1,"span",46),e._uU(2),e.ALo(3,"translate"),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(4);e.xp6(2),e.lnq(" ",e.lcZ(3,3,"SPLITTER.merge")," ",t.totalChecked," ",e.lcZ(4,5,"SPLITTER.batches")," ")}}function D(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-card",31)(1,"label",32)(2,"input",33),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.checkSelectedBatch())}),e.qZA()(),e._UZ(3,"img",34),e.TgZ(4,"mat-card-header",35)(5,"mat-card-title",36)(6,"span",37),e._uU(7),e.qZA(),e.TgZ(8,"span",38),e._uU(9),e._UZ(10,"i",39),e.qZA()(),e.TgZ(11,"mat-card-subtitle",40)(12,"strong"),e._uU(13),e.ALo(14,"translate"),e.qZA(),e._uU(15),e._UZ(16,"br"),e.TgZ(17,"strong"),e._uU(18),e.ALo(19,"translate"),e.qZA(),e._uU(20),e._UZ(21,"br"),e.TgZ(22,"strong"),e._uU(23),e.ALo(24,"translate"),e.qZA(),e._uU(25),e._UZ(26,"br"),e.qZA()(),e.TgZ(27,"mat-card-actions",41)(28,"i",42),e.NdJ("click",function(a){const h=e.CHM(t).$implicit,E=e.oxw(3);return a.stopPropagation(),e.KtG(E.openConfirmDialog(h.id))}),e.TgZ(29,"span",43),e._uU(30),e.ALo(31,"translate"),e.qZA()(),e.YNc(32,x,5,7,"i",44),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw(3);e.xp6(2),e.MGl("id","",t.id,"_checkbox"),e.xp6(1),e.Q6J("routerLink","/splitter/viewer/"+i.currentTime+"/"+t.id)("src",t.thumbnail,e.LSH),e.xp6(1),e.Q6J("routerLink","/splitter/viewer/"+i.currentTime+"/"+t.id),e.xp6(3),e.hij(" ",t.file_name," "),e.xp6(1),e.Q6J("matTooltip",i.translate.instant("OUTPUT.documents_count")+" : "+t.documents_count),e.xp6(1),e.hij(" ",t.documents_count,""),e.xp6(4),e.Oqu(e.lcZ(14,15,"SPLITTER.identifier")),e.xp6(2),e.hij(" : ",t.id,""),e.xp6(3),e.Oqu(e.lcZ(19,17,"VERIFIER.register_date")),e.xp6(2),e.hij(" : ",t.batch_date,""),e.xp6(3),e.Oqu(e.lcZ(24,19,"SPLITTER.form_label")),e.xp6(2),e.hij(" : ",t.form_label,""),e.xp6(5),e.Oqu(e.lcZ(31,21,"GLOBAL.delete")),e.xp6(2),e.Q6J("ngIf",i.totalChecked>=2&&i.isCheckboxChecked(t.id))}}function I(n,o){if(1&n&&(e.TgZ(0,"div",26)(1,"div",27),e.YNc(2,p,3,3,"span",28),e.ALo(3,"filter"),e.YNc(4,D,33,23,"mat-card",29),e.ALo(5,"filter"),e.qZA()()),2&n){const t=e.oxw(2);e.xp6(2),e.Q6J("ngIf",0===e.Dn7(3,2,t.batches,"file_name",t.searchText).length&&!t.isLoading),e.xp6(2),e.Q6J("ngForOf",e.Dn7(5,6,t.batches,"file_name",t.searchText))}}function G(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-tab",4),e.YNc(1,gv,4,2,"ng-template",5),e.TgZ(2,"div",6)(3,"div",7)(4,"mat-form-field",8)(5,"mat-label"),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.TgZ(8,"input",9),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.searchText=a)}),e.qZA()(),e.TgZ(9,"div",10)(10,"mat-form-field",11)(11,"mat-label"),e._uU(12),e.ALo(13,"translate"),e.qZA(),e.TgZ(14,"mat-select",12),e.NdJ("valueChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.currentStatus=a)})("selectionChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.changeStatus(a))}),e.YNc(15,u,2,2,"mat-option",13),e.qZA()(),e.TgZ(16,"i",14),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.loadBatches())}),e.ALo(17,"translate"),e.qZA()(),e.TgZ(18,"span",15)(19,"mat-paginator",16),e.NdJ("page",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.onPageChange(a))}),e.qZA()()(),e.YNc(20,f,7,9,"div",17),e._UZ(21,"hr",18),e.YNc(22,r,2,0,"div",19),e.YNc(23,I,6,10,"div",20),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("id",t.id)("disabled",i.isLoading),e.xp6(6),e.Oqu(e.lcZ(7,18,"SPLITTER.search")),e.xp6(2),e.Q6J("ngModel",i.searchText)("disabled",0===i.total),e.xp6(4),e.Oqu(e.lcZ(13,20,"STATUS.list")),e.xp6(2),e.Q6J("value",i.currentStatus)("disabled",i.isLoading),e.xp6(1),e.Q6J("ngForOf",i.status),e.xp6(1),e.Q6J("matTooltip",e.lcZ(17,22,"SPLITTER.reload_batches")),e.xp6(2),e.ekj("hidden",i.isLoading||0===i.total),e.xp6(1),e.Q6J("length",i.total)("pageSize",i.pageSize)("pageSizeOptions",i.pageSizeOptions),e.xp6(1),e.Q6J("ngIf",i.batches.length>1&&!i.isLoading),e.xp6(2),e.Q6J("ngIf",i.isLoading),e.xp6(1),e.Q6J("ngIf",!i.isLoading)}}let me=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt,Ft,ii){this.router=t,this.dialog=i,this.http=a,this.route=l,this.userService=h,this.formBuilder=E,this.authService=N,this._sanitizer=oe,this.translate=xe,this.notify=Ve,this.historyService=lt,this.routerExtService=Ft,this.localStorageService=ii,this.batches=[],this.isLoading=!0,this.status=[],this.gridColumns=4,this.page=1,this.selectedTab=0,this.searchText="",this.pageSize=16,this.pageIndex=1,this.offset=0,this.pageSizeOptions=[4,8,12,16,24,48],this.total=0,this.totals={},this.batchList=[{id:"today",label:(0,He.J)("BATCH.today")},{id:"yesterday",label:(0,He.J)("BATCH.yesterday")},{id:"older",label:(0,He.J)("BATCH.older")}],this.currentTime="today",this.currentStatus="NEW",this.batchesSelected=!1,this.totalChecked=0}ngOnInit(){this.authService.headersExists||this.authService.generateHeaders(),this.localStorageService.save("splitter_or_verifier","splitter");const t=this.routerExtService.getPreviousUrl();t.includes("splitter/")&&!t.includes("settings")||"/"===t||"/upload"===t?(this.localStorageService.get("splitterPageIndex")&&(this.pageIndex=parseInt(this.localStorageService.get("splitterPageIndex"))),this.localStorageService.get("splitterTimeIndex")&&(this.selectedTab=parseInt(this.localStorageService.get("splitterTimeIndex")),this.currentTime=this.batchList[this.selectedTab].id),this.offset=this.pageSize*this.pageIndex):(this.localStorageService.remove("splitterPageIndex"),this.localStorageService.remove("splitterTimeIndex")),this.http.get(m.N.url+"/ws/status/list?module=splitter",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.status=i.status}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe(),this.loadBatches()}loadBatches(){this.isLoading=!0,this.http.get(m.N.url+"/ws/splitter/invoices/totals/"+this.currentStatus,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.totals=t.totals}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/splitter/batches/"+(this.pageIndex-1)+"/"+this.pageSize+"/"+this.currentTime+"/"+this.currentStatus,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.batches=t.batches;for(let i=0;ithis.isLoading=!1),(0,Ke.K)(t=>(console.debug(t),(0,ie.of)(!1)))).subscribe()}sanitize(t){return this._sanitizer.bypassSecurityTrustUrl("data:image/jpg;base64,"+t)}checkSelectedBatch(){this.totalChecked=document.querySelectorAll(".checkBox_list:checked").length,this.batchesSelected=0!==this.totalChecked}mergeAllConfirmDialog(t){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("SPLITTER.confirm_merge_all_checked_batches"),confirmButton:this.translate.instant("SPLITTER.merge"),confirmButtonColor:"green",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(a=>{a&&this.mergeAllBatches(t)})}isCheckboxChecked(t){let i=!1;const a=document.getElementsByClassName("checkBox_list");return Array.from(a).forEach(l=>{const h=l.id.split("_")[0];parseInt(h)===t&&(i=!0)}),i}mergeAllBatches(t){const i=document.getElementsByClassName("checkBox_list"),a=[],l=[];Array.from(i).forEach(E=>{if(E.checked){const N=E.id.split("_")[0];N!==t.toString()&&a.push(N)}}),this.batches.forEach(E=>{a.forEach(N=>{parseInt(E.id)===parseInt(N)&&l.push(E.form_id)}),t===E.id&&l.push(E.form_id)}),1===l.filter((E,N,oe)=>oe.indexOf(E)===N).length?(this.isLoading=!0,this.http.post(m.N.url+"/ws/splitter/merge/"+t,{batches:a},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadBatches(),this.notify.success(this.translate.instant("SPLITTER.merge_success"))}),(0,Ke.K)(E=>(console.debug(E),this.notify.handleErrors(E),(0,ie.of)(!1)))).subscribe()):this.notify.error(this.translate.instant("SPLITTER.merge_error_form_not_match"))}deleteAllConfirmDialog(){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("SPLITTER.confirm_delete_all_batches"),confirmButton:this.translate.instant("GLOBAL.delete_all_checked"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(i=>{i&&this.deleteAllBatches()})}onPageChange(t){this.batches=[],this.pageIndex=t.pageIndex+1,this.pageSize=t.pageSize,this.localStorageService.save("splitterPageIndex",t.pageIndex),this.loadBatches()}openConfirmDialog(t){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("SPLITTER.confirm_batch_delete"),confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"400px"}).afterClosed().subscribe(a=>{a&&(this.deleteBatch(t),this.historyService.addHistory("splitter","delete_batch",this.translate.instant("HISTORY-DESC.delete_batch",{batch_id:t})))})}selectOrUnselectAllBatches(t){const i=t.srcElement.textContent;this.batchesSelected=!this.batchesSelected;const a=document.getElementsByClassName("checkBox_list");Array.from(a).forEach(l=>{l.checked=i===this.translate.instant("VERIFIER.select_all")}),this.totalChecked=document.querySelectorAll(".checkBox_list:checked").length}deleteAllBatches(){this.isLoading=!0;let t=!1;const i=document.querySelectorAll(".checkBox_list:checked");Array.from(i).forEach((a,l)=>{l===i.length-1&&(t=!0);const h=a.id.split("_")[0];this.deleteBatch(h,!0,t)}),this.notify.success(this.translate.instant("SPLITTER.all_batches_checked_deleted"))}deleteBatch(t,i=!1,a=!0){this.http.put(m.N.url+"/ws/splitter/status",{id:t,status:"DEL"},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{i||(this.notify.success(this.translate.instant("SPLITTER.batch_deleted")),this.isLoading=!1),a&&this.loadBatches()}),(0,Ke.K)(l=>(console.debug(l),(0,ie.of)(!1)))).subscribe()}resetPaginator(){this.total=0,this.offset=0,this.pageIndex=1,this.localStorageService.save("splitterPageIndex",this.pageIndex)}onTabChange(t){this.selectedTab=t.index,this.localStorageService.save("splitterTimeIndex",this.selectedTab),this.currentTime=this.batchList[this.selectedTab].id,this.resetPaginator(),this.loadBatches()}changeStatus(t){this.currentStatus=t.value,this.resetPaginator(),this.loadBatches()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ui),e.Y36(Ri.eN),e.Y36(Nt.gz),e.Y36(zi.K),e.Y36(A.qu),e.Y36(pi.e),e.Y36(c.H7),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q),e.Y36($a.e),e.Y36(ua.n))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-list"]],features:[e._Bn([{provide:Rt.o2,useValue:{appearance:"fill"}}])],decls:4,vars:2,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],[1,"bg-white","overflow-hidden"],["animationDuration","0ms",1,"batches","overflow-auto",3,"selectedIndex","selectedTabChange"],[3,"id","disabled",4,"ngFor","ngForOf"],[3,"id","disabled"],["mat-tab-label",""],[1,"splitter-container","flex","flex-col"],[1,"grid","grid-cols-3","grid-flow-row","gap-0","mt-4","z-30"],["appearance","outline",1,"left-4","w-1/2"],["matInput","","type","text",3,"ngModel","disabled","ngModelChange"],[1,"w-full","flex","justify-center","m-auto"],["appearance","outline"],[3,"value","disabled","valueChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[1,"fa-solid","fa-sync-alt","m-4","cursor-pointer","text-xl","hover:text-green-400",3,"matTooltip","click"],[1,"relative","right-0"],[3,"length","pageSize","pageSizeOptions","page"],["class","z-40 -mt-2 mb-2 select-none","style","margin-left: 1.2rem",4,"ngIf"],[1,"w-1/2","m-auto","mb-4","border-green-400","relative","z-30"],[4,"ngIf"],["class","content mx-10 mt-3",4,"ngIf"],[1,"text-green-400","ml-3","relative","bottom-1.5","font-bold",2,"font-size","12px"],[3,"value"],[1,"z-40","-mt-2","mb-2","select-none",2,"margin-left","1.2rem"],[1,"cursor-pointer",3,"innerHTML","click"],[1,"fa-solid","fa-trash","ml-5","text-red-500","cursor-pointer",3,"matTooltip","click"],[1,"content","mx-10","mt-3"],[1,"list","grid","2xl:grid-cols-4","md:grid-cols-3","sm:grid-cols-2","grid-flow-row","gap-12"],["class","text-gray-900",4,"ngIf"],["class","batch-card cursor-pointer p-0 mb-0",4,"ngFor","ngForOf"],[1,"text-gray-900"],[1,"batch-card","cursor-pointer","p-0","mb-0"],[1,"p-5","absolute","z-40","cursor-pointer"],["type","checkbox",1,"accent-green-400","checkBox_list","cursor-pointer",3,"id","click"],["mat-card-image","","alt","Open-Capture Splitter image",1,"m-auto","p-4",3,"routerLink","src"],[1,"leading-6","relative","z-10","bg-white","pt-4","pl-4","pr-4",3,"routerLink"],[1,"break-all"],[1,"leading-7"],[1,"absolute","right-6","text-green-400","text-base","badge","badge-secondary","badge-pill",3,"matTooltip"],[1,"far","fa-file-alt","ml-1"],[1,"mt-2","-mb-1","block","overflow-hidden","text-ellipsis","w-11/12"],[1,"pb-4"],[1,"fa-solid","fa-trash","cursor-pointer","text-red-500","pl-4",3,"click"],[1,"font-medium","mat-typography"],["class","fa-solid fa-object-group cursor-pointer text-green-400 relative float-right",3,"click",4,"ngIf"],[1,"fa-solid","fa-object-group","cursor-pointer","text-green-400","relative","float-right",3,"click"],[1,"font-medium","mat-typography","float-left","mr-3","relative","bottom-1"]],template:function(t,i){1&t&&(e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav-content",1)(2,"mat-tab-group",2),e.NdJ("selectedTabChange",function(l){return i.onTabChange(l)}),e.YNc(3,G,24,24,"mat-tab",3),e.qZA()()()),2&t&&(e.xp6(2),e.Q6J("selectedIndex",i.selectedTab),e.xp6(1),e.Q6J("ngForOf",i.batchList))},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.KE,Rt.hX,Be.gD,b.ey,an.Nt,Xn,va.SP,va.uD,va.uX,Vt.TM,Vt.Rh,ot,qt,We,Ie,_t,si,Co,A.Fj,A.JJ,A.On,Cn.R,$t.X$,xf],styles:['.mat-badge-content[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(76 76 78 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(151 191 61 / var(--tw-text-opacity));font-weight:700}@media (min-width: 640px){ .batches .mat-paginator-page-size{display:none}}@media (min-width: 1280px){ .batches .mat-paginator-page-size{display:flex}} .batches .mat-tab-header{z-index:20} .batches .mat-tab-header .mat-tab-label-container>.mat-tab-list>.mat-tab-labels .mat-tab-label{width:33.333333%;height:4rem} .batches .mat-tab-header .mat-tab-label-container>.mat-tab-list>.mat-tab-labels .mat-tab-label-active{opacity:1} .batches .mat-tab-body-wrapper>.mat-tab-body>.mat-tab-body-content{height:calc(100vh - 8rem)!important;overflow-x:hidden!important} .batches .mat-tab-body-wrapper>.mat-tab-body>.mat-tab-body-content .splitter-container>.content>.list>.mat-card:nth-last-child(-n+4){margin-bottom:1.25rem} .list>mat-card{display:flex;flex-direction:column} .list>mat-card .mat-card-header{flex-shrink:0} .list>mat-card .mat-card-image{transform:scale(1);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s} .list>mat-card .mat-card-header .mat-card-title>span:first-child{position:relative} .list>mat-card .mat-card-header .mat-card-title>span:first-child:after{position:absolute;content:"";width:0px;height:.125rem;--tw-bg-opacity: 1;background-color:rgb(151 191 61 / var(--tw-bg-opacity));left:50%;bottom:-.125rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s} .list>mat-card:hover .mat-card-image{transform:scale(1.05)} .list>mat-card:hover .mat-card-header>.mat-card-header-text>.mat-card-title>span:first-child:after{width:100%;left:0} .list>mat-card:hover mat-card-actions{visibility:visible;opacity:1} .list>mat-card mat-card-actions{margin:0 16px;visibility:hidden;opacity:0;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s} .list>mat-card mat-card-actions i>span{visibility:hidden;opacity:0;margin-left:-.5rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s} .list>mat-card mat-card-actions i:hover>span{visibility:visible;opacity:1;margin-left:.5rem}']}),n})();var fe=C(8372),Ue=C(4707);function dt(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function ft(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",20),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw(2);return a.stopPropagation(),e.KtG(h.cloneFormDoctypes(l.id,h.selectFormControl.value))}),e.ALo(1,"translate"),e.qZA()}2&n&&e.s9C("matTooltip",e.lcZ(1,1,"DOCTYPE.clone_doctypes"))}function wt(n,o){if(1&n&&(e.TgZ(0,"div")(1,"mat-option",17)(2,"span",18),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.YNc(5,ft,2,3,"button",19),e.qZA()()),2&n){const t=o.$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("value",t.id),e.xp6(2),e.Oqu(e.lcZ(4,3,t.label)),e.xp6(2),e.Q6J("ngIf",t.id!==i.selectFormControl.value)}}function oi(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",14)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",15),e.YNc(5,wt,6,5,"div",16),e.qZA()()),2&n){const t=e.oxw();e.xp6(2),e.Oqu(e.lcZ(3,3,"FORMS.choose_form")),e.xp6(2),e.Q6J("formControl",t.selectFormControl),e.xp6(1),e.Q6J("ngForOf",t.forms)}}function Mi(n,o){1&n&&(e.TgZ(0,"div",21),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"DOCTYPE.no_doctype_to_show")))}function St(n,o){1&n&&e._UZ(0,"span",27)}function yi(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-tree-node",22)(1,"button",23),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.selectNode(l,!1))})("dblclick",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.selectNode(l,!0))}),e._UZ(2,"i",24),e.TgZ(3,"span",25),e.YNc(4,St,1,0,"span",26),e._uU(5),e.qZA()()()}if(2&n){const t=o.$implicit,i=e.oxw();e.xp6(1),e.Q6J("ngClass",i.selectedDocTypeInput.id===t.id?"text-green-400":""),e.xp6(3),e.Q6J("ngIf",t.isDefault),e.xp6(1),e.hij(" ",t.label," ")}}function bi(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-tree-node",22)(1,"button",28),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.selectFolder(l))}),e._UZ(2,"i",29),e.TgZ(3,"span",25),e._uU(4),e.qZA()()()}if(2&n){const t=o.$implicit,i=e.oxw();e.xp6(1),e.Q6J("ngClass",i.selectedDocTypeInput.id===t.id?"text-green-400":""),e.uIk("aria-label","Toggle "+t.label),e.xp6(1),e.Q6J("ngClass",i.treeControl.isExpanded(t)?"fa fa-minus-square":"fa fa-plus-square"),e.xp6(2),e.Oqu(t.label)}}let vi=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt){this.http=t,this.router=i,this.route=a,this.formBuilder=l,this.authService=h,this.userService=E,this.translate=N,this.notify=oe,this.serviceSettings=xe,this.privilegesService=Ve,this.localStorageService=lt,this.doctypeData=[],this.loading=!0,this.dataChange=new Dl.X([])}get data(){return this.dataChange.value}loadTree(t){t&&(this.retrieveDocTypes(t),this.initialize())}retrieveDocTypes(t){this.loading=!0,this.doctypeData=[],this.http.get(m.N.url+"/ws/doctypes/list/"+t.toString(),{headers:this.authService.headers}).pipe((0,$e.b)(i=>{let a;i.doctypes.forEach(l=>{a={id:l.id,key:l.key,code:l.code,label:l.label,type:l.type,status:l.status,isDefault:l.is_default,formId:l.form_id},this.doctypeData.push(a)})}),(0,Di.x)(()=>{this.initialize(),this.loading=!1}),(0,Ke.K)(i=>(console.debug(i),this.loading=!1,this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}initialize(){this.loading=!0;const t=this.buildFileTree(this.doctypeData,"0");this.dataChange.next(t);const i=this.localStorageService.get("doctype_last_search_value")||"";i&&this.filter(i)}buildFileTree(t,i){return t.filter(a=>a.code.startsWith(i+".")&&(a.code.match(/\./g)||[]).length===(i.match(/\./g)||[]).length+1).map(a=>{const l=new Zi;l.id=a.id,l.key=a.key,l.label=a.label,l.code=a.code,l.type=a.type,l.isDefault=a.isDefault;const h=t.filter(E=>E.code.startsWith(i+"."));return h&&h.length>0&&(l.children=this.buildFileTree(h,a.code)),l})}_normalizeValue(t){return t.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"")}filter(t){let i;t?(i=this.doctypeData.filter(l=>this._normalizeValue(l.label).indexOf(this._normalizeValue(t))>-1&&1===l.code.lastIndexOf(".")),Object.assign([],i).forEach(l=>{const h=l.code;i=i.concat(this.doctypeData.filter(E=>E.code.startsWith(h+".")&&E.code!==h))})):i=this.doctypeData;const a=this.buildFileTree(i,"0");this.dataChange.next(a)}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(Ri.eN),e.LFG(Nt.F0),e.LFG(Nt.gz),e.LFG(A.qu),e.LFG(pi.e),e.LFG(zi.K),e.LFG($t.sK),e.LFG(Gi.g),e.LFG(xn.g),e.LFG(nn.y),e.LFG(ua.n))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})();class Zi{}class Ki{}let Ei=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt,Ft,ii){this.router=t,this.dialog=i,this.userService=a,this.translate=l,this.serviceSettings=h,this.treeDataObj=E,this.privilegesService=N,this.http=oe,this.route=xe,this.authService=Ve,this.formBuilder=lt,this.notify=Ft,this.localStorageService=ii,this.loading=!1,this.searchText=this.localStorageService.get("doctype_last_search_value")||"",this.selectedDocTypeInput={key:void 0,id:-1},this.selectedDoctypeOutput=new e.vpe,this.selectedFormOutput=new e.vpe,this.selectFormControl=new A.NI,this.forms=[],this.flatNodeMap=new Map,this.nestedNodeMap=new Map,this.getLevel=fi=>fi.level,this.isExpandable=fi=>fi.expandable,this.getChildren=fi=>fi.children,this.hasChild=(fi,Wi)=>"folder"===Wi.type,this.transformer=(fi,Wi)=>{const Fn=this.nestedNodeMap.get(fi),ba=Fn&&Fn.label===fi.label?Fn:new Ki;return ba.id=fi.id,ba.label=fi.label,ba.level=Wi,ba.type=fi.type,ba.code=fi.code,ba.key=fi.key,ba.isDefault=fi.isDefault,ba.expandable="folder"===fi.type,this.flatNodeMap.set(ba,fi),this.nestedNodeMap.set(fi,ba),ba}}ngOnInit(){this.authService.headersExists||this.authService.generateHeaders(),this.treeFlattener=new ad(this.transformer,this.getLevel,this.isExpandable,this.getChildren),this.treeControl=new ch(this.getLevel,this.isExpandable),this.dataSource=new ko(this.treeControl,this.treeFlattener),this.treeDataObj.dataChange.subscribe(t=>{this.dataSource.data=t,this.treeControl.expandAll()}),this.selectFormControl.valueChanges.subscribe(t=>{this.localStorageService.save("doctypeFormId",t),this.treeDataObj.loadTree(t),this.selectedFormOutput.emit({formId:t})}),this.data.hasOwnProperty("formId")?this.treeDataObj.loadTree(this.data.formId):this.loadForms()}loadForms(){this.loading=!0,this.http.get(m.N.url+"/ws/forms/list?module=splitter",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{if(this.forms=t.forms,this.forms.length>0){const i=this.localStorageService.get("doctypeFormId")?this.localStorageService.get("doctypeFormId"):this.forms[0].id;this.selectFormControl.setValue(Number(i))}else this.notify.handleErrors(this.translate.instant("FORMS.no_form_available"))}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),this.loading=!1,(0,ie.of)(!1)))).subscribe()}filterChanged(){this.localStorageService.save("doctype_last_search_value",this.searchText),this.treeDataObj.filter(this.searchText),this.searchText?this.treeControl.expandAll():this.treeControl.collapseAll(),this.treeControl.expandAll()}selectNode(t,i){this.selectedDocTypeInput=t,this.selectedDocTypeInput.isDblClick=i,this.selectedDoctypeOutput.emit(this.selectedDocTypeInput)}selectFolder(t){this.data.canFolderBeSelected&&(this.selectedDocTypeInput=t,this.selectedDoctypeOutput.emit(this.selectedDocTypeInput))}loadDefaultDocType(){this.treeDataObj.doctypeData.forEach(t=>{t.isDefault&&(this.selectedDocTypeInput=t,this.selectedDoctypeOutput.emit(t))})}cloneFormDoctypes(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("DOCTYPE.confirm_doctypes_clone"),confirmButton:this.translate.instant("DOCTYPE.clone_doctypes"),confirmButtonColor:"green",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.treeDataObj.loading=!0,this.http.get(m.N.url+"/ws/doctypes/clone/"+t+"/"+i,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.treeDataObj.retrieveDocTypes(this.selectFormControl.value),this.notify.success(this.translate.instant("DOCTYPE.doctypes_clone_success"))}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(h=>(console.debug(h),this.notify.handleErrors(h),this.treeDataObj.loading=!1,(0,ie.of)(!1)))).subscribe())})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ui),e.Y36(zi.K),e.Y36($t.sK),e.Y36(xn.g),e.Y36(vi),e.Y36(nn.y),e.Y36(Ri.eN),e.Y36(Nt.gz),e.Y36(pi.e),e.Y36(A.qu),e.Y36(Gi.g),e.Y36(ua.n))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-document-type-factory"]],inputs:{selectedDocTypeInput:"selectedDocTypeInput",data:"data"},outputs:{selectedDoctypeOutput:"selectedDoctypeOutput",selectedFormOutput:"selectedFormOutput"},features:[e._Bn([vi])],decls:19,vars:16,consts:[[4,"ngIf"],[1,"search-input","w-full","pl-4","pt-4"],[1,"w-60"],["matInput","",3,"ngModel","ngModelChange","input"],[1,"text-gray-400","ml-4","mx-2","my-4","hover:text-green-400","hover:cursor-pointer",3,"matTooltip","click"],[1,"fa-solid","fa-minimize","fa-lg"],[1,"text-gray-400","mx-2","my-4","hover:text-green-400","hover:cursor-pointer",3,"matTooltip","click"],[1,"fa-solid","fa-maximize","fa-lg"],["class","absolute right-4 w-60",4,"ngIf"],[1,"overflow-auto",2,"height","calc(100% - 9.5rem) !important"],["class","text-gray-400",4,"ngIf"],[3,"dataSource","treeControl"],["matTreeNodePadding","",4,"matTreeNodeDef"],["matTreeNodePadding","",4,"matTreeNodeDef","matTreeNodeDefWhen"],[1,"absolute","right-4","w-60"],["id","folder",3,"formControl"],[4,"ngFor","ngForOf"],[3,"value"],[1,""],["class","hover:text-green-400 fa fa-clone text-xl absolute right-0 m-2",3,"matTooltip","click",4,"ngIf"],[1,"hover:text-green-400","fa","fa-clone","text-xl","absolute","right-0","m-2",3,"matTooltip","click"],[1,"text-gray-400"],["matTreeNodePadding",""],["mat-button","",1,"h-8",3,"ngClass","click","dblclick"],[1,"fa-solid","fa-file","fw"],[1,"pl-1","font-normal"],["class","absolute top-4 right-4","matBadge","0","matBadgeSize","small","matBadgeOverlap","false",4,"ngIf"],["matBadge","0","matBadgeSize","small","matBadgeOverlap","false",1,"absolute","top-4","right-4"],["mat-button","","matTreeNodeToggle","",3,"ngClass","click"],[3,"ngClass"]],template:function(t,i){1&t&&(e.YNc(0,dt,2,0,"div",0),e.TgZ(1,"div",1)(2,"mat-form-field",2)(3,"mat-label"),e._uU(4),e.ALo(5,"translate"),e.qZA(),e.TgZ(6,"input",3),e.NdJ("ngModelChange",function(l){return i.searchText=l})("input",function(){return i.filterChanged()}),e.qZA()(),e.TgZ(7,"button",4),e.NdJ("click",function(){return i.treeControl.collapseAll()}),e.ALo(8,"translate"),e._UZ(9,"i",5),e.qZA(),e.TgZ(10,"button",6),e.NdJ("click",function(){return i.treeControl.expandAll()}),e.ALo(11,"translate"),e._UZ(12,"i",7),e.qZA(),e.YNc(13,oi,6,5,"mat-form-field",8),e.qZA(),e.TgZ(14,"mat-card",9),e.YNc(15,Mi,3,3,"div",10),e.TgZ(16,"mat-tree",11),e.YNc(17,yi,6,3,"mat-tree-node",12),e.YNc(18,bi,5,4,"mat-tree-node",13),e.qZA()()),2&t&&(e.Q6J("ngIf",i.treeDataObj.loading),e.xp6(4),e.Oqu(e.lcZ(5,10,"SPLITTER.search_folder")),e.xp6(2),e.Q6J("ngModel",i.searchText),e.xp6(1),e.Q6J("matTooltip",e.lcZ(8,12,"DOCTYPE.minimize_tree")),e.xp6(3),e.Q6J("matTooltip",e.lcZ(11,14,"DOCTYPE.maximize_tree")),e.xp6(3),e.Q6J("ngIf",!i.data.hasOwnProperty("formId")),e.xp6(2),e.Q6J("ngIf",0===i.treeDataObj.doctypeData.length),e.xp6(1),e.Q6J("dataSource",i.dataSource)("treeControl",i.treeControl),e.xp6(2),e.Q6J("matTreeNodeDefWhen",i.hasChild))},dependencies:[_e.mk,_e.sg,_e.O5,Rt.KE,Rt.hX,Be.gD,b.ey,an.Nt,Xn,Y.lW,ot,st,tu,_h,ph,$l,ep,A.Fj,A.JJ,A.oH,A.On,Cn.R,$t.X$],styles:[".xBorder[_ngcontent-%COMP%]{border-bottom:1px dotted black;width:24px;height:0;position:relative;left:5px;top:0;border-left:1px solid black}.yBorder[_ngcontent-%COMP%]{border-left:1px dotted black;position:relative;height:40px;left:5px;bottom:20px;border-block-start:5px}.mat-badge-content[_ngcontent-%COMP%]{font-size:0;background:#404040!important;width:8px!important;height:8px!important;line-height:8px!important}"]}),n})();const _a=function(n){return{canFolderBeSelected:!1,formId:n}};let jn=(()=>{class n{constructor(t,i,a){this.router=t,this.dialogRef=i,this.data=a}getOutPut(t){this.selectedItem=t,this.selectedItem.isDblClick&&this.dialogRef.close(this.selectedItem)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ss),e.Y36(se))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-document-type"]],decls:12,vars:11,consts:[[1,"w-full","h-full"],[1,"float-right",3,"mat-dialog-close"],[1,"fa","fa-times","fa-2x","hover:text-green-400"],[3,"selectedDocTypeInput","data","selectedDoctypeOutput"],[1,"text-gray-400","my-4"],[1,"fa-solid","fa-circle-info"],[1,"w-max","mx-auto"],["mat-button","",1,"mx-auto","h-12","w-48","bg-gray-200","text-gray-500",3,"mat-dialog-close"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0)(1,"button",1),e._UZ(2,"i",2),e.qZA(),e.TgZ(3,"app-document-type-factory",3),e.NdJ("selectedDoctypeOutput",function(l){return i.getOutPut(l)}),e.qZA(),e.TgZ(4,"span",4),e._UZ(5,"i",5),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.TgZ(8,"div",6)(9,"button",7),e._uU(10),e.ALo(11,"translate"),e.qZA()()()),2&t&&(e.xp6(3),e.Q6J("selectedDocTypeInput",i.data.selectedDocType)("data",e.VKq(9,_a,i.data.formId)),e.xp6(3),e.hij(" ",e.lcZ(7,5,"SPLITTER.doubleClickToSelectDoctype")," "),e.xp6(3),e.Q6J("mat-dialog-close",i.selectedItem),e.xp6(1),e.hij(" ",e.lcZ(11,7,"SPLITTER.save")," "))},dependencies:[Y.lW,An,Ei,$t.X$]}),n})();var wa=C(9209);let ea=(()=>{class n{constructor(t,i,a){this._el=t,this._ngZone=i,this.document=a,this.clickOutsideEnabled=!0,this.attachOutsideOnClick=!1,this.delayClickOutsideInit=!1,this.emitOnBlur=!1,this.exclude="",this.excludeBeforeClick=!1,this.clickOutsideEvents="",this.clickOutside=new e.vpe,this._nodesExcluded=[],this._events=["click"],this._initOnClickBody=this._initOnClickBody.bind(this),this._onClickBody=this._onClickBody.bind(this),this._onWindowBlur=this._onWindowBlur.bind(this)}ngOnInit(){this._init()}ngOnDestroy(){this._removeClickOutsideListener(),this._removeAttachOutsideOnClickListener(),this._removeWindowBlurListener()}ngOnChanges(t){(t.attachOutsideOnClick||t.exclude||t.emitOnBlur)&&this._init()}_init(){""!==this.clickOutsideEvents&&(this._events=this.clickOutsideEvents.split(",").map(t=>t.trim())),this._excludeCheck(),this.attachOutsideOnClick?this._initAttachOutsideOnClickListener():this._initOnClickBody(),this.emitOnBlur&&this._initWindowBlurListener()}_initOnClickBody(){this.delayClickOutsideInit?setTimeout(this._initClickOutsideListener.bind(this)):this._initClickOutsideListener()}_excludeCheck(){if(this.exclude)try{const t=Array.from(this.document.querySelectorAll(this.exclude));t&&(this._nodesExcluded=t)}catch(t){console.error("[ng-click-outside] Check your exclude selector syntax.",t)}}_onClickBody(t){!this.clickOutsideEnabled||(this.excludeBeforeClick&&this._excludeCheck(),!this._el.nativeElement.contains(t.target)&&!this._shouldExclude(t.target)&&(this._emit(t),this.attachOutsideOnClick&&this._removeClickOutsideListener()))}_onWindowBlur(t){setTimeout(()=>{this.document.hidden||this._emit(t)})}_emit(t){!this.clickOutsideEnabled||this._ngZone.run(()=>this.clickOutside.emit(t))}_shouldExclude(t){for(let i of this._nodesExcluded)if(i.contains(t))return!0;return!1}_initClickOutsideListener(){this._ngZone.runOutsideAngular(()=>{this._events.forEach(t=>this.document.addEventListener(t,this._onClickBody))})}_removeClickOutsideListener(){this._ngZone.runOutsideAngular(()=>{this._events.forEach(t=>this.document.removeEventListener(t,this._onClickBody))})}_initAttachOutsideOnClickListener(){this._ngZone.runOutsideAngular(()=>{this._events.forEach(t=>this._el.nativeElement.addEventListener(t,this._initOnClickBody))})}_removeAttachOutsideOnClickListener(){this._ngZone.runOutsideAngular(()=>{this._events.forEach(t=>this._el.nativeElement.removeEventListener(t,this._initOnClickBody))})}_initWindowBlurListener(){this._ngZone.runOutsideAngular(()=>{window.addEventListener("blur",this._onWindowBlur)})}_removeWindowBlurListener(){this._ngZone.runOutsideAngular(()=>{window.removeEventListener("blur",this._onWindowBlur)})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(_e.K0))},n.\u0275dir=e.lG2({type:n,selectors:[["","clickOutside",""]],inputs:{clickOutsideEnabled:"clickOutsideEnabled",attachOutsideOnClick:"attachOutsideOnClick",delayClickOutsideInit:"delayClickOutsideInit",emitOnBlur:"emitOnBlur",exclude:"exclude",excludeBeforeClick:"excludeBeforeClick",clickOutsideEvents:"clickOutsideEvents"},outputs:{clickOutside:"clickOutside"},standalone:!0,features:[e.TTD]}),n})(),ji=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({}),n})();var qi=C(9841);const Yi=["searchSelectInput"],ta=["innerSelectSearch"];function bo(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-checkbox",9),e.NdJ("change",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l._emitSelectAllBooleanToParent(a.checked))}),e.qZA()}if(2&n){const t=e.oxw();e.Q6J("color",null==t.matFormField?null:t.matFormField.color)("checked",t.toggleAllCheckboxChecked)("indeterminate",t.toggleAllCheckboxIndeterminate)("matTooltip",t.toggleAllCheckboxTooltipMessage)("matTooltipPosition",t.toggleAllCheckboxTooltipPosition)}}function pa(n,o){1&n&&e._UZ(0,"mat-spinner",10)}function qn(n,o){1&n&&e.Hsn(0,1,["*ngIf","clearIcon; else defaultIcon"])}function Po(n,o){if(1&n&&(e.TgZ(0,"mat-icon",14),e._uU(1),e.qZA()),2&n){const t=e.oxw(2);e.Q6J("svgIcon",t.closeSvgIcon),e.xp6(1),e.hij(" ",t.closeSvgIcon?null:t.closeIcon," ")}}function ia(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",11),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a._reset(!0))}),e.YNc(1,qn,1,0,"ng-content",12),e.YNc(2,Po,2,2,"ng-template",null,13,e.W1O),e.qZA()}if(2&n){const t=e.MAs(3),i=e.oxw();e.xp6(1),e.Q6J("ngIf",i.clearIcon)("ngIfElse",t)}}function Ga(n,o){1&n&&e.Hsn(0,2,["*ngIf","noEntriesFound; else defaultNoEntriesFound"])}function Na(n,o){if(1&n&&e._uU(0),2&n){const t=e.oxw(2);e.Oqu(t.noEntriesFoundLabel)}}function Za(n,o){if(1&n&&(e.TgZ(0,"div",15),e.YNc(1,Ga,1,0,"ng-content",12),e.YNc(2,Na,1,1,"ng-template",null,16,e.W1O),e.qZA()),2&n){const t=e.MAs(3),i=e.oxw();e.xp6(1),e.Q6J("ngIf",i.noEntriesFound)("ngIfElse",t)}}const kl=[[["",8,"mat-select-search-custom-header-content"]],[["","ngxMatSelectSearchClear",""]],[["","ngxMatSelectNoEntriesFound",""]]],Pr=function(n,o){return{"mat-select-search-inner-multiple":n,"mat-select-search-inner-toggle-all":o}},Il=[".mat-select-search-custom-header-content","[ngxMatSelectSearchClear]","[ngxMatSelectNoEntriesFound]"];let os=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=e.lG2({type:n,selectors:[["","ngxMatSelectSearchClear",""]]}),n})();const Ro=["ariaLabel","clearSearchInput","closeIcon","closeSvgIcon","disableInitialFocus","disableScrollToActiveOnOptionsChanged","enableClearOnEscapePressed","hideClearSearchButton","noEntriesFoundLabel","placeholderLabel","preventHomeEndKeyPropagation","searching"],ac=new e.OlP("mat-selectsearch-default-options");let Jn=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=e.lG2({type:n,selectors:[["","ngxMatSelectNoEntriesFound",""]]}),n})(),_o=(()=>{class n{constructor(t,i,a,l=null,h=null,E){this.matSelect=t,this.changeDetectorRef=i,this._viewportRuler=a,this.matOption=l,this.matFormField=h,this.placeholderLabel="Suche",this.type="text",this.closeIcon="close",this.noEntriesFoundLabel="Keine Optionen gefunden",this.clearSearchInput=!0,this.searching=!1,this.disableInitialFocus=!1,this.enableClearOnEscapePressed=!1,this.preventHomeEndKeyPropagation=!1,this.disableScrollToActiveOnOptionsChanged=!1,this.ariaLabel="dropdown search",this.showToggleAllCheckbox=!1,this.toggleAllCheckboxChecked=!1,this.toggleAllCheckboxIndeterminate=!1,this.toggleAllCheckboxTooltipMessage="",this.toggleAllCheckboxTooltipPosition="below",this.hideClearSearchButton=!1,this.alwaysRestoreSelectedOptionsMulti=!1,this.toggleAll=new e.vpe,this.onTouched=N=>{},this._options$=new Dl.X(null),this.optionsList$=this._options$.pipe((0,Wc.w)(N=>N?N.changes.pipe((0,Mn.U)(oe=>oe.toArray()),(0,mt.O)(N.toArray())):(0,ie.of)(null))),this.optionsLength$=this.optionsList$.pipe((0,Mn.U)(N=>N?N.length:0)),this._formControl=new A.NI(""),this._showNoEntriesFound$=(0,qi.a)([this._formControl.valueChanges,this.optionsLength$]).pipe((0,Mn.U)(([N,oe])=>this.noEntriesFoundLabel&&N&&oe===this.getOptionsLengthOffset())),this._onDestroy=new Ye.x,this.applyDefaultOptions(E)}get isInsideMatOption(){return!!this.matOption}get value(){return this._formControl.value}set _options(t){this._options$.next(t)}get _options(){return this._options$.getValue()}applyDefaultOptions(t){if(t)for(const i of Ro)t.hasOwnProperty(i)&&(this[i]=t[i])}ngOnInit(){const t="mat-select-search-panel";this.matSelect.panelClass?Array.isArray(this.matSelect.panelClass)?this.matSelect.panelClass.push(t):"string"==typeof this.matSelect.panelClass?this.matSelect.panelClass=[this.matSelect.panelClass,t]:"object"==typeof this.matSelect.panelClass&&(this.matSelect.panelClass[t]=!0):this.matSelect.panelClass=t,this.matOption?(this.matOption.disabled=!0,this.matOption._getHostElement().classList.add("contains-mat-select-search"),this.matOption._getHostElement().setAttribute("aria-hidden","true")):console.error(" must be placed inside a element"),this.matSelect.openedChange.pipe((0,jl.g)(1),(0,$i.R)(this._onDestroy)).subscribe(i=>{i?(this.updateInputWidth(),this.disableInitialFocus||this._focus()):this.clearSearchInput&&this._reset()}),this.matSelect.openedChange.pipe((0,yn.q)(1)).pipe((0,$i.R)(this._onDestroy)).subscribe(()=>{this.matSelect._keyManager?this.matSelect._keyManager.change.pipe((0,$i.R)(this._onDestroy)).subscribe(()=>this.adjustScrollTopToFitActiveOptionIntoView()):console.log("_keyManager was not initialized."),this._options=this.matSelect.options;let i=this._options.toArray()[this.getOptionsLengthOffset()];this._options.changes.pipe((0,$i.R)(this._onDestroy)).subscribe(()=>{setTimeout(()=>{const a=this._options.toArray(),l=a[this.getOptionsLengthOffset()],h=this.matSelect._keyManager;h&&this.matSelect.panelOpen&&((!this.matSelect.compareWith(i,l)||!h.activeItem||!a.find(N=>this.matSelect.compareWith(N,h.activeItem)))&&h.setFirstItemActive(),setTimeout(()=>{this.updateInputWidth()}),this.disableScrollToActiveOnOptionsChanged||this.adjustScrollTopToFitActiveOptionIntoView()),i=l})})}),this._showNoEntriesFound$.pipe((0,$i.R)(this._onDestroy)).subscribe(i=>{this.matOption&&(i?this.matOption._getHostElement().classList.add("mat-select-search-no-entries-found"):this.matOption._getHostElement().classList.remove("mat-select-search-no-entries-found"))}),this._viewportRuler.change().pipe((0,$i.R)(this._onDestroy)).subscribe(()=>{this.matSelect.panelOpen&&this.updateInputWidth()}),this.initMultipleHandling(),this.optionsList$.pipe((0,$i.R)(this._onDestroy)).subscribe(()=>{this.changeDetectorRef.markForCheck()})}_emitSelectAllBooleanToParent(t){this.toggleAll.emit(t)}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}_isToggleAllCheckboxVisible(){return this.matSelect.multiple&&this.showToggleAllCheckbox}_handleKeydown(t){(t.key&&1===t.key.length||t.keyCode>=tt.A&&t.keyCode<=tt.Z||t.keyCode>=tt.xE&&t.keyCode<=tt.aO||t.keyCode===tt.L_||this.preventHomeEndKeyPropagation&&(t.keyCode===tt.Sd||t.keyCode===tt.uR))&&t.stopPropagation(),this.matSelect.multiple&&t.key&&t.keyCode===tt.K5&&setTimeout(()=>this._focus()),!0===this.enableClearOnEscapePressed&&t.keyCode===tt.hY&&this.value&&(this._reset(!0),t.stopPropagation())}_handleKeyup(t){if(t.keyCode===tt.LH||t.keyCode===tt.JH){const i=this.matSelect._getAriaActiveDescendant(),a=this._options.toArray().findIndex(l=>l.id===i);-1!==a&&(this.unselectActiveDescendant(),this.activeDescendant=this._options.toArray()[a]._getHostElement(),this.activeDescendant.setAttribute("aria-selected","true"),this.searchSelectInput.nativeElement.setAttribute("aria-activedescendant",i))}}writeValue(t){this._lastExternalInputValue=t,this._formControl.setValue(t),this.changeDetectorRef.markForCheck()}onBlur(){this.unselectActiveDescendant(),this.onTouched()}registerOnChange(t){this._formControl.valueChanges.pipe((0,Mo.h)(i=>i!==this._lastExternalInputValue),(0,$e.b)(()=>this._lastExternalInputValue=void 0),(0,$i.R)(this._onDestroy)).subscribe(t)}registerOnTouched(t){this.onTouched=t}_focus(){if(!this.searchSelectInput||!this.matSelect.panel)return;const t=this.matSelect.panel.nativeElement,i=t.scrollTop;this.searchSelectInput.nativeElement.focus(),t.scrollTop=i}_reset(t){this._formControl.setValue(""),t&&this._focus()}initMultipleHandling(){this.matSelect.ngControl?(this.previousSelectedValues=this.matSelect.ngControl.value,this.matSelect.ngControl.valueChanges.pipe((0,$i.R)(this._onDestroy)).subscribe(t=>{let i=!1;if(this.matSelect.multiple&&(this.alwaysRestoreSelectedOptionsMulti||this._formControl.value&&this._formControl.value.length)&&this.previousSelectedValues&&Array.isArray(this.previousSelectedValues)){(!t||!Array.isArray(t))&&(t=[]);const a=this.matSelect.options.map(l=>l.value);this.previousSelectedValues.forEach(l=>{!t.some(h=>this.matSelect.compareWith(h,l))&&!a.some(h=>this.matSelect.compareWith(h,l))&&(t.push(l),i=!0)})}this.previousSelectedValues=t,i&&this.matSelect._onChange(t)})):this.matSelect.multiple&&console.error("the mat-select containing ngx-mat-select-search must have a ngModel or formControl directive when multiple=true")}adjustScrollTopToFitActiveOptionIntoView(){if(this.matSelect.panel&&this.matSelect.options.length>0){const t=this.getMatOptionHeight(),i=this.matSelect._keyManager.activeItemIndex||0,a=(0,b.CB)(i,this.matSelect.options,this.matSelect.optionGroups),l=(this.matOption?-1:0)+a+i,h=this.matSelect.panel.nativeElement.scrollTop,E=this.innerSelectSearch.nativeElement.offsetHeight,N=Math.floor((256-E)/t),oe=Math.round((h+E)/t)-1;oe>=l?this.matSelect.panel.nativeElement.scrollTop=l*t:oe+N<=l&&(this.matSelect.panel.nativeElement.scrollTop=(l+1)*t-(256-E))}}updateInputWidth(){if(!this.innerSelectSearch||!this.innerSelectSearch.nativeElement)return;let i,t=this.innerSelectSearch.nativeElement;for(;t=t.parentElement;)if(t.classList.contains("mat-select-panel")){i=t;break}i&&(this.innerSelectSearch.nativeElement.style.width=i.clientWidth+"px")}getMatOptionHeight(){return this.matSelect.options.length>0?this.matSelect.options.first._getHostElement().getBoundingClientRect().height:0}getOptionsLengthOffset(){return this.matOption?1:0}unselectActiveDescendant(){var t;null===(t=this.activeDescendant)||void 0===t||t.removeAttribute("aria-selected"),this.searchSelectInput.nativeElement.removeAttribute("aria-activedescendant")}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Be.gD),e.Y36(e.sBO),e.Y36(Nn.rL),e.Y36(b.ey,8),e.Y36(Rt.KE,8),e.Y36(ac,8))},n.\u0275cmp=e.Xpm({type:n,selectors:[["ngx-mat-select-search"]],contentQueries:function(t,i,a){if(1&t&&(e.Suo(a,os,5),e.Suo(a,Jn,5)),2&t){let l;e.iGM(l=e.CRH())&&(i.clearIcon=l.first),e.iGM(l=e.CRH())&&(i.noEntriesFound=l.first)}},viewQuery:function(t,i){if(1&t&&(e.Gf(Yi,7,e.SBq),e.Gf(ta,7,e.SBq)),2&t){let a;e.iGM(a=e.CRH())&&(i.searchSelectInput=a.first),e.iGM(a=e.CRH())&&(i.innerSelectSearch=a.first)}},hostVars:2,hostBindings:function(t,i){2&t&&e.ekj("mat-select-search-inside-mat-option",i.isInsideMatOption)},inputs:{placeholderLabel:"placeholderLabel",type:"type",closeIcon:"closeIcon",closeSvgIcon:"closeSvgIcon",noEntriesFoundLabel:"noEntriesFoundLabel",clearSearchInput:"clearSearchInput",searching:"searching",disableInitialFocus:"disableInitialFocus",enableClearOnEscapePressed:"enableClearOnEscapePressed",preventHomeEndKeyPropagation:"preventHomeEndKeyPropagation",disableScrollToActiveOnOptionsChanged:"disableScrollToActiveOnOptionsChanged",ariaLabel:"ariaLabel",showToggleAllCheckbox:"showToggleAllCheckbox",toggleAllCheckboxChecked:"toggleAllCheckboxChecked",toggleAllCheckboxIndeterminate:"toggleAllCheckboxIndeterminate",toggleAllCheckboxTooltipMessage:"toggleAllCheckboxTooltipMessage",toggleAllCheckboxTooltipPosition:"toggleAllCheckboxTooltipPosition",hideClearSearchButton:"hideClearSearchButton",alwaysRestoreSelectedOptionsMulti:"alwaysRestoreSelectedOptionsMulti"},outputs:{toggleAll:"toggleAll"},features:[e._Bn([{provide:A.JU,useExisting:(0,e.Gpc)(()=>n),multi:!0}])],ngContentSelectors:Il,decls:11,vars:14,consts:[["matInput","",1,"mat-select-search-input","mat-select-search-hidden"],[1,"mat-select-search-inner","mat-typography","mat-datepicker-content","mat-tab-header",3,"ngClass"],["innerSelectSearch",""],["class","mat-select-search-toggle-all-checkbox","matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change",4,"ngIf"],["autocomplete","off",1,"mat-select-search-input","mat-input-element",3,"type","formControl","placeholder","keydown","keyup","blur"],["searchSelectInput",""],["class","mat-select-search-spinner","diameter","16",4,"ngIf"],["mat-button","","mat-icon-button","","aria-label","Clear","class","mat-select-search-clear",3,"click",4,"ngIf"],["class","mat-select-search-no-entries-found",4,"ngIf"],["matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",1,"mat-select-search-toggle-all-checkbox",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change"],["diameter","16",1,"mat-select-search-spinner"],["mat-button","","mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear",3,"click"],[4,"ngIf","ngIfElse"],["defaultIcon",""],[3,"svgIcon"],[1,"mat-select-search-no-entries-found"],["defaultNoEntriesFound",""]],template:function(t,i){1&t&&(e.F$t(kl),e._UZ(0,"input",0),e.TgZ(1,"div",1,2),e.YNc(3,bo,1,5,"mat-checkbox",3),e.TgZ(4,"input",4,5),e.NdJ("keydown",function(l){return i._handleKeydown(l)})("keyup",function(l){return i._handleKeyup(l)})("blur",function(){return i.onBlur()}),e.qZA(),e.YNc(6,pa,1,0,"mat-spinner",6),e.YNc(7,ia,4,2,"button",7),e.Hsn(8),e.qZA(),e.YNc(9,Za,4,2,"div",8),e.ALo(10,"async")),2&t&&(e.xp6(1),e.Q6J("ngClass",e.WLB(11,Pr,i.matSelect.multiple,i._isToggleAllCheckboxVisible())),e.xp6(2),e.Q6J("ngIf",i._isToggleAllCheckboxVisible()),e.xp6(1),e.Q6J("type",i.type)("formControl",i._formControl)("placeholder",i.placeholderLabel),e.uIk("aria-label",i.ariaLabel),e.xp6(2),e.Q6J("ngIf",i.searching),e.xp6(1),e.Q6J("ngIf",!i.hideClearSearchButton&&i.value&&!i.searching),e.xp6(2),e.Q6J("ngIf",e.lcZ(10,9,i._showNoEntriesFound$)))},dependencies:[Sa,fn,Y.lW,So,_e.mk,_e.O5,Xn,A.Fj,A.JJ,A.oH,_e.Ov],styles:[".mat-select-search-hidden[_ngcontent-%COMP%]{visibility:hidden}.mat-select-search-inner[_ngcontent-%COMP%]{position:absolute;top:0;width:100%;border-bottom-width:1px;border-bottom-style:solid;z-index:100;font-size:inherit;box-shadow:none;border-radius:4px 4px 0 0;-webkit-transform:translate3d(0,0,0)}.mat-select-search-inner.mat-select-search-inner-multiple[_ngcontent-%COMP%]{width:100%}.mat-select-search-inner.mat-select-search-inner-multiple.mat-select-search-inner-toggle-all[_ngcontent-%COMP%]{display:flex;align-items:center}.mat-select-search-inner[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{flex-basis:auto}.mat-select-search-inner[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder{-ms-user-select:text} .mat-select-search-panel{transform:none!important;overflow-x:hidden}.mat-select-search-input[_ngcontent-%COMP%]{padding:16px 44px 16px 16px;box-sizing:border-box;width:100%}[dir=rtl][_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-right:16px;padding-left:44px}.mat-select-search-no-entries-found[_ngcontent-%COMP%]{padding:16px}.mat-select-search-clear[_ngcontent-%COMP%]{position:absolute;right:4px;top:5px}[dir=rtl][_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{right:auto;left:4px}.mat-select-search-spinner[_ngcontent-%COMP%]{position:absolute;right:16px;top:calc(50% - 8px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%]{right:auto;left:16px}.mat-select-search-inside-mat-option[_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-top:0;padding-bottom:0;height:3em;line-height:3em}.mat-select-search-inside-mat-option[_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{top:3px} .mat-option[aria-disabled=true].contains-mat-select-search{position:static;padding:0} .mat-option[aria-disabled=true].contains-mat-select-search .mat-icon{margin-right:0;margin-left:0} .mat-option[aria-disabled=true].contains-mat-select-search .mat-option-pseudo-checkbox{display:none} .mat-option[aria-disabled=true].contains-mat-select-search.mat-select-search-no-entries-found{height:6em}.mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:16px;padding-bottom:2px}[dir=rtl][_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:0;padding-right:16px}"],changeDetection:0}),n})(),Wr=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[_e.ez,A.UX,Y.ot,Qi,Ps,M,gc]]}),n})();const Rr=["cdkStepper"];function wn(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function po(n,o){1&n&&(e.TgZ(0,"span",66),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SPLITTER.no_batch_found")," "))}const T_=function(n){return{"border-4 border-green-400":n}};function Rc(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",67)(1,"mat-card",68)(2,"a",69),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw(2);return e.KtG(h.changeBatch(l.id))}),e.TgZ(3,"mat-card-header"),e._UZ(4,"img",70),e.qZA()(),e.TgZ(5,"mat-card-content")(6,"span",71),e.ALo(7,"translate"),e._uU(8),e._UZ(9,"i",72),e.qZA(),e.TgZ(10,"mat-card-subtitle",73)(11,"span",74),e._uU(12),e.qZA(),e.TgZ(13,"strong"),e._uU(14),e.ALo(15,"translate"),e.qZA(),e._uU(16),e._UZ(17,"br"),e.TgZ(18,"strong"),e._uU(19),e.ALo(20,"translate"),e.qZA(),e._uU(21),e._UZ(22,"br"),e.qZA()()()()}if(2&n){const t=o.$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngClass",e.VKq(16,T_,i.currentBatch.id===t.id)),e.xp6(3),e.Q6J("src",t.thumbnail,e.LSH),e.xp6(2),e.hYB("matTooltip","",e.lcZ(7,10,"SPLITTER.document_number")," : ",t.pageNumber,""),e.xp6(2),e.hij(" ",t.pageNumber," "),e.xp6(4),e.hij(" ",t.fileName," "),e.xp6(2),e.Oqu(e.lcZ(15,12,"SPLITTER.identifier")),e.xp6(2),e.hij(" : ",t.id,""),e.xp6(3),e.Oqu(e.lcZ(20,14,"VERIFIER.register_date")),e.xp6(2),e.hij(" : ",t.date,"")}}function fv(n,o){1&n&&e._UZ(0,"i",75)}function gb(n,o){1&n&&e._UZ(0,"i",76)}function px(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",77)(1,"img",78),e.NdJ("clickOutside",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.showZoomPage=!1)}),e.qZA()()}if(2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("src",t.zoomPage.thumbnail,e.LSH)("exclude",".btn-page-zoom, .btn-rotate")("ngClass",0===t.zoomPage.rotation?"rotate-0 h-full w-4/5 mr-6":90===t.zoomPage.rotation?"rotate-90 h-full w-4/5 mr-36":180===t.zoomPage.rotation?"rotate-180 h-full w-4/5 mr-6":-90===t.zoomPage.rotation?"-rotate-90 h-full w-4/5 mr-36":"")}}function fb(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",79),e.NdJ("click",function(){e.CHM(t),e.oxw();const a=e.MAs(20);return e.KtG(a.toggle())}),e.TgZ(1,"mat-slide-toggle",80),e.NdJ("change",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.changeInputMode(a))}),e._uU(2),e.ALo(3,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("checked","Auto"===t.inputMode),e.xp6(1),e.hij(" ",e.lcZ(3,2,"SPLITTER.auto_complete")," ")}}function Cb(n,o){if(1&n&&(e.TgZ(0,"mat-option",81),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.hij(" ",t.label," ")}}function vb(n,o){1&n&&(e.TgZ(0,"div",82),e._UZ(1,"i",83),e.TgZ(2,"span",84),e._uU(3),e.ALo(4,"translate"),e.qZA()()),2&n&&(e.xp6(3),e.Oqu(e.lcZ(4,1,"SPLITTER.no_metadata_required")))}function xb(n,o){if(1&n&&(e.TgZ(0,"mat-option"),e._UZ(1,"ngx-mat-select-search",91),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.xp6(1),e.s9C("placeholderLabel",e.lcZ(2,4,"SPLITTER.min_3_letter")),e.s9C("noEntriesFoundLabel",e.lcZ(3,6,"SPLITTER.no_result")),e.Q6J("formControlName","search_"+t.label_short)("searching",i.searching)}}function bb(n,o){if(1&n&&e._UZ(0,"span",88),2&n){const t=e.oxw().$implicit,i=e.oxw(2).$implicit,a=e.oxw(2);e.Q6J("innerHTML",a.getPlaceholderFromResultMask(i.resultMask,t),e.oJD)}}function yb(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2).$implicit;e.xp6(1),e.hij(" ",t[i.label_short]," ")}}function Tb(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-option",92),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw(4);return e.KtG(h.fillData(l))}),e.YNc(1,bb,1,1,"span",93),e.YNc(2,yb,2,1,"span",0),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw(4);e.Q6J("value",t.metadataId),e.xp6(1),e.Q6J("ngIf",t.metadataId!==i.batchMetadataValues.metadataId),e.xp6(1),e.Q6J("ngIf",t.metadataId===i.batchMetadataValues.metadataId)}}function Mb(n,o){if(1&n&&(e.ynx(0),e.TgZ(1,"mat-form-field",87)(2,"mat-label"),e._UZ(3,"span",88),e.qZA(),e.TgZ(4,"mat-select",89),e.YNc(5,xb,4,8,"mat-option",0),e.YNc(6,Tb,3,3,"mat-option",90),e.ALo(7,"async"),e.qZA()(),e.BQk()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(3),e.Q6J("innerHTML",i.getPlaceholderFromSearchMask(t.searchMask,t.label),e.oJD),e.xp6(1),e.Q6J("formControlName",t.label_short),e.xp6(1),e.Q6J("ngIf",t.metadata_key),e.xp6(1),e.Q6J("ngForOf",e.lcZ(7,4,i.filteredServerSideMetadata))}}function hx(n,o){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"mat-form-field",87)(2,"mat-label"),e._uU(3),e.qZA(),e.TgZ(4,"textarea",94),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw(2);return e.KtG(h.setValueChange(l.label_short,a))}),e.qZA()(),e.BQk()}if(2&n){const t=e.oxw().$implicit;e.xp6(3),e.Oqu(t.label),e.xp6(1),e.s9C("formControlName",t.label_short)}}function mx(n,o){if(1&n&&(e.ynx(0),e.TgZ(1,"mat-form-field",87)(2,"mat-label"),e._uU(3),e.qZA(),e._UZ(4,"input",95),e.qZA(),e.BQk()),2&n){const t=e.oxw().$implicit;e.xp6(3),e.Oqu(t.label),e.xp6(1),e.s9C("formControlName",t.label_short)}}function Db(n,o){if(1&n&&(e.TgZ(0,"mat-option",81),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.hij(" ",t.label," ")}}function Eb(n,o){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"mat-form-field",87)(2,"mat-label"),e._uU(3),e.qZA(),e.TgZ(4,"mat-select",96),e.NdJ("selectionChange",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw(2);return e.KtG(h.setValueChange(l.label_short,a.value))}),e.YNc(5,Db,2,2,"mat-option",25),e.qZA()(),e.BQk()}if(2&n){const t=e.oxw().$implicit;e.xp6(3),e.Oqu(t.label),e.xp6(1),e.Q6J("formControlName",t.label_short),e.xp6(1),e.Q6J("ngForOf",t.settings.options)}}function gx(n,o){if(1&n&&(e.ynx(0),e.TgZ(1,"mat-form-field",87),e._UZ(2,"input",97),e.TgZ(3,"mat-label"),e._uU(4),e.qZA(),e._UZ(5,"mat-datepicker-toggle",98)(6,"mat-datepicker",null,99),e.qZA(),e.BQk()),2&n){const t=e.MAs(7),i=e.oxw().$implicit;e.xp6(2),e.Q6J("id",i.id)("matDatepicker",t)("formControlName",i.label_short),e.xp6(2),e.Oqu(i.label),e.xp6(1),e.Q6J("for",t)}}function wb(n,o){if(1&n&&(e.ynx(0,100),e.TgZ(1,"mat-checkbox",101),e._uU(2),e.qZA(),e.BQk()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.s9C("formControlName",t.label_short),e.xp6(1),e.Oqu(t.label)}}function Sb(n,o){if(1&n&&(e.TgZ(0,"div",85),e.YNc(1,Mb,8,6,"ng-container",0),e.YNc(2,hx,5,2,"ng-container",0),e.YNc(3,mx,5,2,"ng-container",0),e.YNc(4,Eb,6,3,"ng-container",0),e.YNc(5,gx,8,5,"ng-container",0),e.YNc(6,wb,3,2,"ng-container",86),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(2);e.Tol(t.class),e.xp6(1),e.Q6J("ngIf","text"===t.type&&"Auto"===i.inputMode&&t.metadata_key),e.xp6(1),e.Q6J("ngIf","textarea"===t.type),e.xp6(1),e.Q6J("ngIf","text"===t.type&&(!t.metadata_key||"Manual"===i.inputMode)),e.xp6(1),e.Q6J("ngIf","select"===t.type),e.xp6(1),e.Q6J("ngIf","date"===t.type),e.xp6(1),e.Q6J("ngIf","checkbox"===t.type)}}function Ab(n,o){1&n&&(e.TgZ(0,"span",102),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"SPLITTER.no_document_to_show")))}function Cv(n,o){1&n&&e._UZ(0,"div",123)}function vv(n,o){1&n&&(e.TgZ(0,"div",124)(1,"div",125),e._UZ(2,"i",106),e.qZA(),e._UZ(3,"i",126),e.TgZ(4,"span"),e._uU(5),e.ALo(6,"translate"),e.qZA()()),2&n&&(e.xp6(5),e.Oqu(e.lcZ(6,1,"SPLITTER.drop_document_in_position")))}function fx(n,o){1&n&&(e.TgZ(0,"span",127),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"SPLITTER.no_selected_doctype")))}function xv(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"i",128),e.TgZ(2,"span",129),e._uU(3),e.ALo(4,"translate"),e.qZA()()),2&n&&(e.xp6(3),e.hij(" ",e.lcZ(4,1,"SPLITTER.no_metadata_required")," "))}function Lb(n,o){if(1&n&&(e.TgZ(0,"mat-option"),e._UZ(1,"ngx-mat-select-search",91),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw(3);e.xp6(1),e.s9C("placeholderLabel",e.lcZ(2,4,"SPLITTER.min_3_letter")),e.s9C("noEntriesFoundLabel",e.lcZ(3,6,"SPLITTER.no_result")),e.Q6J("formControlName","search_"+t.label_short)("searching",i.searching)}}function Ob(n,o){if(1&n&&e._UZ(0,"span",88),2&n){const t=e.oxw().$implicit,i=e.oxw(2).$implicit,a=e.oxw(3);e.Q6J("innerHTML",a.getPlaceholderFromResultMask(i.resultMask,t),e.oJD)}}function bv(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2).$implicit;e.xp6(1),e.hij(" ",t[i.label_short]," ")}}function kb(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-option",92),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw(5);return e.KtG(h.fillData(l))}),e.YNc(1,Ob,1,1,"span",93),e.YNc(2,bv,2,1,"span",0),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw(5);e.Q6J("value",t.metadataId),e.xp6(1),e.Q6J("ngIf",t.metadataId!==i.batchMetadataValues.metadataId),e.xp6(1),e.Q6J("ngIf",t.metadataId===i.batchMetadataValues.metadataId)}}function Cx(n,o){if(1&n&&(e.ynx(0,132),e.TgZ(1,"mat-form-field",87)(2,"mat-label"),e._UZ(3,"span",88),e.qZA(),e.TgZ(4,"mat-select",89),e.YNc(5,Lb,4,8,"mat-option",0),e.YNc(6,kb,3,3,"mat-option",90),e.ALo(7,"async"),e.qZA()(),e.BQk()),2&n){const t=e.oxw().$implicit,i=e.oxw(3);e.Q6J("ngClass",t.class),e.xp6(3),e.Q6J("innerHTML",i.getPlaceholderFromSearchMask(t.searchMask,t.label),e.oJD),e.xp6(1),e.Q6J("formControlName",t.label_short),e.xp6(1),e.Q6J("ngIf",t.metadata_key),e.xp6(1),e.Q6J("ngForOf",e.lcZ(7,5,i.filteredServerSideMetadata))}}function Op(n,o){if(1&n){const t=e.EpF();e.ynx(0,132),e.TgZ(1,"mat-form-field",87)(2,"mat-label"),e._uU(3),e.qZA(),e.TgZ(4,"textarea",94),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw(3);return e.KtG(h.setValueChange(l.label_short,a))}),e.qZA()(),e.BQk()}if(2&n){const t=e.oxw().$implicit;e.Q6J("ngClass",t.class),e.xp6(3),e.Oqu(t.label),e.xp6(1),e.s9C("formControlName",t.label_short)}}function vx(n,o){if(1&n&&(e.ynx(0,132),e.TgZ(1,"mat-form-field",87)(2,"mat-label"),e._uU(3),e.qZA(),e._UZ(4,"input",95),e.qZA(),e.BQk()),2&n){const t=e.oxw().$implicit;e.Q6J("ngClass",t.class),e.xp6(3),e.Oqu(t.label),e.xp6(1),e.s9C("formControlName",t.label_short)}}function Ib(n,o){if(1&n&&(e.TgZ(0,"mat-option",81),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.hij(" ",t.label," ")}}function I2(n,o){if(1&n){const t=e.EpF();e.ynx(0,132),e.TgZ(1,"mat-form-field",87)(2,"mat-label"),e._uU(3),e.qZA(),e.TgZ(4,"mat-select",96),e.NdJ("selectionChange",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw(3);return e.KtG(h.setValueChange(l.label_short,a.value))}),e.YNc(5,Ib,2,2,"mat-option",25),e.qZA()(),e.BQk()}if(2&n){const t=e.oxw().$implicit;e.Q6J("ngClass",t.class),e.xp6(3),e.Oqu(t.label),e.xp6(1),e.Q6J("formControlName",t.label_short),e.xp6(1),e.Q6J("ngForOf",t.settings.options)}}function xx(n,o){if(1&n&&(e.ynx(0),e.TgZ(1,"mat-form-field",87),e._UZ(2,"input",97),e.TgZ(3,"mat-label"),e._uU(4),e.qZA(),e._UZ(5,"mat-datepicker-toggle",98)(6,"mat-datepicker",null,99),e.qZA(),e.BQk()),2&n){const t=e.MAs(7),i=e.oxw().$implicit;e.xp6(2),e.Q6J("id",i.id)("matDatepicker",t)("formControlName",i.label_short),e.xp6(2),e.Oqu(i.label),e.xp6(1),e.Q6J("for",t)}}function yv(n,o){if(1&n&&(e.ynx(0,133),e.TgZ(1,"mat-checkbox",101),e._uU(2),e.qZA(),e.BQk()),2&n){const t=e.oxw().$implicit;e.Q6J("ngClass",t.class),e.xp6(1),e.s9C("formControlName",t.label_short),e.xp6(1),e.Oqu(t.label)}}function Pb(n,o){if(1&n&&(e.TgZ(0,"div",85),e.YNc(1,Cx,8,7,"ng-container",130),e.YNc(2,Op,5,3,"ng-container",130),e.YNc(3,vx,5,3,"ng-container",130),e.YNc(4,I2,6,4,"ng-container",130),e.YNc(5,xx,8,5,"ng-container",0),e.YNc(6,yv,3,3,"ng-container",131),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3);e.Tol(t.class),e.xp6(1),e.Q6J("ngIf","text"===t.type&&"Auto"===i.inputMode&&t.metadata_key),e.xp6(1),e.Q6J("ngIf","textarea"===t.type),e.xp6(1),e.Q6J("ngIf","text"===t.type&&(!t.metadata_key||"Manual"===i.inputMode)),e.xp6(1),e.Q6J("ngIf","select"===t.type),e.xp6(1),e.Q6J("ngIf","date"===t.type),e.xp6(1),e.Q6J("ngIf","checkbox"===t.type)}}function Tv(n,o){1&n&&e._UZ(0,"div",143)}function Rb(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.hij(" ",t.rotation," ")}}function bx(n,o){1&n&&e._UZ(0,"i",144)}function Mv(n,o){1&n&&e._UZ(0,"i",145)}function yx(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",134),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw(3);return l.checkBox=!l.checkBox,e.KtG(h.countSelectedPages())}),e.YNc(1,Tv,1,0,"div",135),e.TgZ(2,"div",136)(3,"mat-checkbox",137),e.NdJ("ngModelChange",function(a){const h=e.CHM(t).$implicit;return e.KtG(h.checkBox=a)})("click",function(a){return a.stopPropagation()})("change",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.countSelectedPages())}),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"button",138),e.NdJ("click",function(a){const h=e.CHM(t).index,E=e.oxw().index;return e.oxw(2).rotatePage(E,h),e.KtG(a.stopPropagation())}),e.ALo(6,"translate"),e.ALo(7,"translate"),e.YNc(8,Rb,2,1,"span",0),e._UZ(9,"i",139),e.qZA(),e.TgZ(10,"button",140),e.NdJ("click",function(a){const h=e.CHM(t).$implicit;return e.oxw(3).getZoomPage(h),e.KtG(a.stopPropagation())}),e.ALo(11,"translate"),e.YNc(12,bx,1,0,"i",141),e.YNc(13,Mv,1,0,"i",54),e.qZA()(),e._UZ(14,"img",142),e.ALo(15,"translate"),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw(3);e.xp6(3),e.s9C("matTooltip",e.lcZ(4,12,"SPLITTER.select")),e.MGl("id","page-check-box-",t.id,""),e.Q6J("ngModel",t.checkBox),e.xp6(2),e.hYB("matTooltip","",e.lcZ(6,14,"SPLITTER.pageRotated")," "," "+t.rotation+" "+e.lcZ(7,16,"SPLITTER.degrees"),""),e.xp6(3),e.Q6J("ngIf",0!==t.rotation),e.xp6(2),e.s9C("matTooltip",e.lcZ(11,18,"SPLITTER.zoom")),e.xp6(2),e.Q6J("ngIf",t.id!==i.currentBatch.pageIdInLoad),e.xp6(1),e.Q6J("ngIf",t.id===i.currentBatch.pageIdInLoad),e.xp6(1),e.s9C("title",e.lcZ(15,20,"SPLITTER.moveToAnotherDoc")),e.Q6J("ngClass",0===t.rotation?"rotate-0 m-auto":90===t.rotation?"rotate-90 m-auto scale-75 px-2":180===t.rotation?"rotate-180 m-auto":-90===t.rotation?"-rotate-90 m-auto scale-75 px-2":"")("src",t.thumbnail,e.LSH)}}function Tx(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-card",103),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw(2);return e.KtG(h.selectDocument(l))}),e.YNc(1,Cv,1,0,"div",104),e.TgZ(2,"div",105),e.ALo(3,"translate"),e._UZ(4,"i",106),e.qZA(),e.YNc(5,vv,7,3,"div",107),e.TgZ(6,"mat-card-title")(7,"mat-accordion")(8,"mat-expansion-panel",108,109),e.NdJ("opened",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.documentMetadataOpenState=!0)})("closed",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.documentMetadataOpenState=!1)}),e.TgZ(10,"mat-expansion-panel-header")(11,"mat-panel-title")(12,"button",110),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.MAs(9),E=e.oxw(2);return h.toggle(),e.KtG(E.openDocumentTypeDialog(l))}),e.ALo(13,"translate"),e.TgZ(14,"span",111),e._UZ(15,"i",112),e.YNc(16,fx,3,3,"span",113),e._uU(17),e.qZA()()(),e.TgZ(18,"button",114),e.NdJ("click",function(a){const h=e.CHM(t).index;return e.oxw(2).deleteDocument(h),e.KtG(a.stopPropagation())}),e.ALo(19,"translate"),e._UZ(20,"i",115),e.qZA()(),e.TgZ(21,"div",116)(22,"span",117),e._uU(23),e.ALo(24,"translate"),e.qZA(),e._UZ(25,"mat-divider",118),e.YNc(26,xv,5,3,"div",0),e.qZA(),e.TgZ(27,"form",119),e.YNc(28,Pb,7,8,"div",32),e.qZA()()()(),e.TgZ(29,"mat-card-content",120)(30,"div",121),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw(2);return e.KtG(h.selectDocument(l))})("cdkDropListDropped",function(a){const h=e.CHM(t).$implicit,E=e.oxw(2);return e.KtG(E.dropPage(a,h))}),e.YNc(31,yx,16,22,"div",122),e.qZA()()()}if(2&n){const t=o.$implicit,i=e.oxw(2);e.xp6(2),e.s9C("matTooltip",e.lcZ(3,19,"SPLITTER.change_document_position")),e.xp6(6),e.Q6J("expanded",0!==i.fieldsCategories.document_metadata.length),e.xp6(4),e.Gre("text-lg text-left hover:text-green-400 ",t.class,""),e.s9C("matTooltip",e.lcZ(13,21,"GLOBAL.edit")),e.Q6J("ngClass",t.documentTypeName?"":"text-red-500"),e.xp6(4),e.Q6J("ngIf",!t.documentTypeName),e.xp6(1),e.hij(" ",t.documentTypeName," "),e.xp6(1),e.s9C("matTooltip",e.lcZ(19,23,"GLOBAL.delete")),e.xp6(5),e.Oqu(e.lcZ(24,25,"SPLITTER.document_metadata")),e.xp6(3),e.Q6J("ngIf",0===i.fieldsCategories.document_metadata.length),e.xp6(1),e.Q6J("formGroup",t.form),e.xp6(1),e.Q6J("ngForOf",i.fieldsCategories.document_metadata),e.xp6(2),e.s9C("id",i.addDocumentIdToDropList(t.id)),e.Q6J("ngClass",i.currentBatch.selectedDocument.id===t.id?"border-2 border-green-400":"border-2 border-gray-200 hover:cursor-pointer")("cdkDropListData",t.pages)("cdkDropListConnectedTo",i.DropListDocumentsIds),e.xp6(1),e.Q6J("ngForOf",t.pages)}}function Mx(n,o){1&n&&e._UZ(0,"i",146)}function Dx(n,o){1&n&&e._UZ(0,"i",145)}function Fb(n,o){if(1&n&&(e.TgZ(0,"mat-option",81),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.hij(" ",t.documentTypeName," ")}}function Nb(n,o){1&n&&e._UZ(0,"i",147)}function Bb(n,o){1&n&&e._UZ(0,"i",145)}function Ub(n,o){1&n&&(e.TgZ(0,"span",148),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"OUTPUT.no_output_configured")))}const Ex=function(n){return{"text-green-400":n}},P2=function(n){return{"cursor-not-allowed text-gray-500 bg-gray-300":n}};function wx(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-drawer-container",2)(1,"mat-drawer",3,4)(3,"div",5)(4,"div",6)(5,"div",7),e._uU(6),e.ALo(7,"translate"),e.qZA()(),e.YNc(8,po,3,3,"span",8),e.YNc(9,Rc,23,18,"div",9),e.ALo(10,"slice"),e.qZA()(),e.TgZ(11,"mat-drawer-content")(12,"button",10),e.NdJ("click",function(){e.CHM(t);const a=e.MAs(2);return e.KtG(a.toggle())}),e.TgZ(13,"span"),e.YNc(14,fv,1,0,"i",11),e.YNc(15,gb,1,0,"i",12),e.qZA()(),e.YNc(16,px,2,3,"div",13),e.TgZ(17,"div",14)(18,"mat-accordion",15)(19,"mat-expansion-panel",16,17),e.NdJ("opened",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.batchMetadataOpenState=!0)})("closed",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.batchMetadataOpenState=!1)}),e.TgZ(21,"mat-expansion-panel-header")(22,"mat-panel-title",18)(23,"div",19)(24,"span"),e._uU(25),e.ALo(26,"translate"),e.qZA(),e.YNc(27,fb,4,4,"div",20),e.qZA(),e.TgZ(28,"div",21),e._UZ(29,"i",22),e.TgZ(30,"mat-form-field",23),e.NdJ("click",function(a){return a.stopPropagation()}),e.ALo(31,"translate"),e.TgZ(32,"mat-select",24),e.NdJ("selectionChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.onFormChange(a.value))})("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.currentBatch.formId=a)}),e.YNc(33,Cb,2,2,"mat-option",25),e.qZA()()(),e.TgZ(34,"div",26)(35,"span",27),e.ALo(36,"translate"),e._UZ(37,"i",28),e._uU(38),e.qZA(),e.TgZ(39,"span"),e._UZ(40,"i",29),e._uU(41),e.ALo(42,"translate"),e.qZA()()()(),e.YNc(43,vb,5,3,"div",30),e.TgZ(44,"form",31),e.YNc(45,Sb,7,8,"div",32),e.qZA(),e.TgZ(46,"button",33),e.NdJ("click",function(a){return e.CHM(t),e.oxw().loadReferential(!0),e.KtG(a.stopPropagation())}),e.ALo(47,"translate"),e._UZ(48,"i",34),e.qZA()()(),e.YNc(49,Ab,3,3,"span",35),e.TgZ(50,"div",36),e.NdJ("cdkDropListDropped",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.dropDocument(a))}),e.YNc(51,Tx,32,27,"mat-card",37),e.qZA(),e.TgZ(52,"mat-card",38)(53,"mat-card-content",39)(54,"div",40),e.ALo(55,"translate"),e.TgZ(56,"span",41),e._uU(57),e.qZA(),e._UZ(58,"i",42),e.qZA(),e.TgZ(59,"div",43)(60,"button",44),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.deleteSelectedPages())}),e.ALo(61,"translate"),e._UZ(62,"i",45),e.qZA(),e.TgZ(63,"button",46),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.setAllPagesTo(!0))}),e.ALo(64,"translate"),e._UZ(65,"i",47),e.qZA(),e.TgZ(66,"button",48),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.setAllPagesTo(!1))}),e.ALo(67,"translate"),e._UZ(68,"i",49),e.qZA(),e.TgZ(69,"button",50),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.rotateSelectedPages())}),e.ALo(70,"translate"),e._UZ(71,"i",51),e.qZA(),e.TgZ(72,"button",52),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.createDocument())}),e.ALo(73,"translate"),e.YNc(74,Mx,1,0,"i",53),e.YNc(75,Dx,1,0,"i",54),e.qZA(),e.TgZ(76,"mat-form-field",55)(77,"mat-label"),e._uU(78),e.ALo(79,"translate"),e.qZA(),e.TgZ(80,"mat-select",56),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.toolSelectedOption=a)}),e.YNc(81,Fb,2,2,"mat-option",25),e.qZA()(),e.TgZ(82,"button",46),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.sendSelectedPages())}),e.ALo(83,"translate"),e._UZ(84,"i",57),e.qZA(),e.TgZ(85,"button",58),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.saveInfo())}),e.ALo(86,"translate"),e.YNc(87,Nb,1,0,"i",59),e.YNc(88,Bb,1,0,"i",54),e.qZA()(),e.TgZ(89,"div",60)(90,"div",61)(91,"button",62),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.validateWithConfirmation())}),e._uU(92),e.ALo(93,"translate"),e.qZA(),e.TgZ(94,"button",63),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.cancel())}),e._uU(95),e.ALo(96,"translate"),e.qZA()(),e.TgZ(97,"div",26)(98,"span"),e._uU(99),e.qZA(),e.YNc(100,Ub,3,3,"span",64),e.qZA()()()(),e._UZ(101,"div",65),e.qZA()()()}if(2&n){const t=e.MAs(2),i=e.oxw();e.xp6(4),e.Q6J("ngSwitch",i.currentTime),e.xp6(2),e.AsE(" ",e.lcZ(7,50,i.timeLabels[i.currentTime]),", ",i.getStatusLabel(i.currentBatch.status)," "),e.xp6(2),e.Q6J("ngIf",0===i.batches.length),e.xp6(1),e.Q6J("ngForOf",e.Dn7(10,52,i.batches,0,10)),e.xp6(5),e.Q6J("ngIf",t.opened),e.xp6(1),e.Q6J("ngIf",!t.opened),e.xp6(1),e.Q6J("ngIf",i.showZoomPage),e.xp6(3),e.Q6J("expanded",!0),e.xp6(6),e.hij(" ",e.lcZ(26,56,"SPLITTER.batch_metadata")," "),e.xp6(2),e.Q6J("ngIf",0!==i.fieldsCategories.batch_metadata.length),e.xp6(3),e.s9C("matTooltip",e.lcZ(31,58,"SPLITTER.edit_used_form")),e.xp6(2),e.Q6J("ngModel",i.currentBatch.formId),e.xp6(1),e.Q6J("ngForOf",i.forms),e.xp6(2),e.s9C("matTooltip",e.lcZ(36,60,"HEADER.status")),e.xp6(3),e.hij(" ",i.getStatusLabel(i.currentBatch.status)," "),e.xp6(3),e.AsE(" ",e.lcZ(42,62,"SPLITTER.identifier")," : ",i.currentBatch.id," "),e.xp6(2),e.Q6J("ngIf",0===i.fieldsCategories.batch_metadata.length),e.xp6(1),e.Q6J("formGroup",i.batchForm),e.xp6(1),e.Q6J("ngForOf",i.fieldsCategories.batch_metadata),e.xp6(1),e.s9C("title",e.lcZ(47,64,"SPLITTER.loadReferential")),e.xp6(3),e.Q6J("ngIf",0===i.documents.length),e.xp6(2),e.Q6J("ngForOf",i.documents),e.xp6(3),e.hYB("matTooltip","",i.currentBatch.selectedPagesCount," ",e.lcZ(55,66,"SPLITTER.selected_pages"),""),e.xp6(3),e.Oqu(i.currentBatch.selectedPagesCount),e.xp6(3),e.s9C("matTooltip",e.lcZ(61,68,"SPLITTER.delete_selected_pages")),e.Q6J("disabled",0===i.currentBatch.selectedPagesCount),e.xp6(3),e.s9C("matTooltip",e.lcZ(64,70,"SPLITTER.select_all")),e.xp6(3),e.s9C("matTooltip",e.lcZ(67,72,"SPLITTER.unselect_all")),e.xp6(3),e.s9C("matTooltip",e.lcZ(70,74,"SPLITTER.rotatePage")),e.Q6J("disabled",0===i.currentBatch.selectedPagesCount),e.xp6(3),e.s9C("matTooltip",e.lcZ(73,76,"SPLITTER.add_document")),e.xp6(2),e.Q6J("ngIf",!i.addDocumentLoading),e.xp6(1),e.Q6J("ngIf",i.addDocumentLoading),e.xp6(3),e.Oqu(e.lcZ(79,78,"SPLITTER.send_to")),e.xp6(2),e.Q6J("ngModel",i.toolSelectedOption),e.xp6(1),e.Q6J("ngForOf",i.documents),e.xp6(1),e.s9C("matTooltip",e.lcZ(83,80,"SPLITTER.send")),e.xp6(3),e.s9C("matTooltip",e.lcZ(86,82,"SPLITTER.save")),e.Q6J("ngClass",e.VKq(88,Ex,i.isDataEdited)),e.xp6(2),e.Q6J("ngIf",!i.saveInfosLoading),e.xp6(1),e.Q6J("ngIf",i.saveInfosLoading),e.xp6(3),e.Q6J("disabled",0===i.outputs.length||"NEW"!==i.currentBatch.status||0===i.documents.length)("ngClass",e.VKq(90,P2,0===i.outputs.length||"NEW"!==i.currentBatch.status||0===i.documents.length)),e.xp6(1),e.hij(" ",e.lcZ(93,84,"GLOBAL.validate")," "),e.xp6(3),e.hij(" ",e.lcZ(96,86,"GLOBAL.quit")," "),e.xp6(4),e.Oqu(i.outputs.join(", ")),e.xp6(1),e.Q6J("ngIf",0===i.outputs.length)}}let Zb=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt,Ft,ii){this.router=t,this.dialog=i,this.http=a,this.route=l,this.userService=h,this._sanitizer=E,this.formBuilder=N,this.authService=oe,this.translate=xe,this.notify=Ve,this.historyService=lt,this.localeService=Ft,this.localStorageService=ii,this.loading=!0,this.showZoomPage=!1,this.isDataEdited=!1,this.batchesLoading=!1,this.saveInfosLoading=!1,this.documentsLoading=!1,this.addDocumentLoading=!1,this.batchMetadataOpenState=!0,this.documentMetadataOpenState=!1,this.batchForm=new A.cw({}),this.batches=[],this.forms=[],this.status=[],this.outputs=[],this.metadata=[],this.documents=[],this.movedPages=[],this.pagesImageUrls=[],this.deletedPagesIds=[],this.deletedDocumentsIds=[],this.DropListDocumentsIds=[],this.batchMetadataValues={},this.inputMode="Manual",this.currentTime="",this.toolSelectedOption="",this.timeLabels={today:(0,He.J)("BATCH.today"),yesterday:(0,He.J)("BATCH.yesterday"),older:(0,He.J)("BATCH.older")},this.defaultDoctype={label:null,key:null},this.zoomPage={thumbnail:"",rotation:0},this.currentBatch={id:-1,formId:-1,inputId:-1,pageIdInLoad:-1,previousFormId:-1,status:"",maxSplitIndex:0,selectedPagesCount:0,selectedDocument:{id:"",displayOrder:-1}},this.fieldsCategories={batch_metadata:[],document_metadata:[]},this.searching=!1,this.filteredServerSideMetadata=new Ue.t(1),this._onDestroy=new Ye.x}beforeunloadHandler(t){this.isDataEdited&&(t.returnValue=!0)}ngOnInit(){this.authService.headersExists||this.authService.generateHeaders(),this.localStorageService.save("splitter_or_verifier","splitter"),this.userService.user=this.userService.getUserFromLocal(),this.currentBatch.id=this.route.snapshot.params.id,this.currentTime=this.route.snapshot.params.currentTime,this.loadSelectedBatch(),this.translate.get("HISTORY-DESC.viewer_splitter",{batch_id:this.currentBatch.id}).subscribe(t=>{this.historyService.addHistory("splitter","viewer",t)})}setValuesFromSavedMetadata(t){for(const i of this.fieldsCategories.batch_metadata)if(this.currentBatch.customFieldsValues.hasOwnProperty(i.label_short)){const a=this.currentBatch.customFieldsValues[i.label_short];t.hasOwnProperty(i.label_short)&&t[i.label_short]!==a&&(this.batchMetadataValues[i.label_short]=a,this.batchForm.controls[i.label_short].setValue(a))}}loadSelectedBatch(){this.defaultDoctype={},this.documents=[],this.loadBatchById()}loadBatchById(){this.loading=!0,this.http.get(m.N.url+"/ws/splitter/batches/"+this.currentBatch.id,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.currentBatch={id:t.batches[0].id,formId:t.batches[0].form_id,previousFormId:t.batches[0].form_id,status:t.batches[0].status,customFieldsValues:t.batches[0].data.hasOwnProperty("custom_fields")?t.batches[0].data.custom_fields:{},selectedPagesCount:0,maxSplitIndex:0,selectedDocument:{id:"",displayOrder:-1}},this.loadForms(),this.loadBatches(),this.loadStatus(),this.loadFormFields(),this.loadDocuments(),this.loadDefaultDocType(),this.loadOutputsData(),this.loadReferentialOnView()}),(0,Ke.K)(t=>(this.loading=!1,this.notify.handleErrors(t),console.debug(t),(0,ie.of)(!1)))).subscribe()}getStatusLabel(t){const i=this.status.find(a=>a.id===t);return i?i.label:void 0}loadStatus(){this.http.get(m.N.url+"/ws/status/list?module=splitter",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.status=t.status}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}loadOutputsData(){this.loading=!0,this.outputs=[],this.http.get(m.N.url+"/ws/forms/getById/"+this.currentBatch.formId,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{for(const i of t.outputs)this.http.get(m.N.url+"/ws/outputs/getById/"+i,{headers:this.authService.headers}).pipe((0,$e.b)(a=>{this.outputs.push(a.output_label)}),(0,Ke.K)(a=>(this.loading=!1,this.notify.handleErrors(a),console.debug(a),(0,ie.of)(!1)))).subscribe()}),(0,Ke.K)(t=>(this.loading=!1,this.notify.handleErrors(t),console.debug(t),(0,ie.of)(!1)))).subscribe()}loadBatches(){this.batchesLoading=!0,this.batches=[],this.http.get(m.N.url+"/ws/splitter/batches/0/5/"+this.currentTime+"/"+this.currentBatch.status,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.batches.forEach(i=>this.batches.push({id:i.id,inputId:i.input_id,fileName:i.file_name,date:i.batch_date,pageNumber:i.documents_count,thumbnail:this.sanitize(i.thumbnail)})),this.batchesLoading=!1}),(0,Ke.K)(t=>(this.batchesLoading=!1,this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}loadDocuments(){this.documentsLoading=!0,this.http.get(m.N.url+"/ws/splitter/documents/"+this.currentBatch.id,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{for(let i=0;ithis.currentBatch.maxSplitIndex&&(this.currentBatch.maxSplitIndex=this.documents[i].splitIndex),t.documents[i].data.hasOwnProperty("custom_fields")&&(this.documents[i].customFieldsValues=t.documents[i].data.custom_fields),this.documents[i].form=this.getFormForDocument(i);for(const a of t.documents[i].pages)this.documents[i].pages.push({id:a.id,sourcePage:a.source_page,thumbnail:this.sanitize(a.thumbnail),showZoomButton:!1,checkBox:!1,rotation:a.rotation})}this.selectDocument(this.documents[0]),this.documentsLoading=!1}),(0,Ke.K)(t=>(this.notify.handleErrors(t),console.debug(t),this.documentsLoading=!1,(0,ie.of)(!1)))).subscribe()}updateDocumentDisplayOrder(){const t=[];for(const i of this.documents){const a=i.displayOrder,l=a+1;a>this.currentBatch.selectedDocument.displayOrder&&(i.displayOrder=l,t.push({id:Number(i.id.split("-").pop()),displayOrder:l}))}return t}sortDocumentsByDisplayOrder(){this.documents.sort((t,i)=>t.displayOrder>i.displayOrder?1:-1)}createDocument(){if(this.addDocumentLoading)return;this.isDataEdited=!0;const t=this.updateDocumentDisplayOrder();this.addDocumentLoading=!0,this.http.post(m.N.url+"/ws/splitter/addDocument",{batchId:this.currentBatch.id,splitIndex:this.currentBatch.maxSplitIndex+1,displayOrder:this.currentBatch.selectedDocument.displayOrder+1,updatedDocuments:t},{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.documents.push({id:`document-${i.newDocumentId}`,documentTypeName:this.defaultDoctype.label,documentTypeKey:this.defaultDoctype.key,splitIndex:this.currentBatch.maxSplitIndex+1,displayOrder:this.currentBatch.selectedDocument.displayOrder+1,status:"NEW",pages:[],customFieldsValues:{},class:""}),this.documents[this.documents.length-1].form=this.getFormForDocument(this.documents.length-1),this.sortDocumentsByDisplayOrder(),this.currentBatch.maxSplitIndex++,this.addDocumentLoading=!1,this.notify.success(this.translate.instant("SPLITTER.document_added_with_success"))}),(0,Ke.K)(i=>(this.addDocumentLoading=!1,this.notify.handleErrors(i),console.debug(i),(0,ie.of)(!1)))).subscribe()}getFormForDocument(t){const i=new A.cw({});for(const a of this.fieldsCategories.document_metadata){const l=a.required?new A.NI("",A.kI.required):new A.NI(""),h=a.label_short;if(this.documents[t].customFieldsValues.hasOwnProperty(h)&&l.setValue(this.documents[t].customFieldsValues[h]),l.valueChanges.subscribe(E=>{this.documents[t].customFieldsValues[h]=E}),i.addControl(h,l),a.metadata_key){const E=new A.NI("");i.addControl("search_"+h,E)}}return i}getPageUrlById(t){for(const i of this.pagesImageUrls)if(i.pageId===t)return i.url;return""}getZoomPage(t){this.currentBatch.pageIdInLoad=t.id,this.http.get(m.N.url+"/ws/splitter/pages/"+t.id.toString()+"/fullThumbnail",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.showZoomPage=!0,this.zoomPage={pageId:t.id,rotation:t.rotation,thumbnail:this.sanitize(i.fullThumbnail)},this.currentBatch.pageIdInLoad=-1}),(0,Ke.K)(i=>(console.debug(i),this.currentBatch.pageIdInLoad=-1,this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}loadDefaultDocType(){this.loading=!0,this.http.get(m.N.url+"/ws/doctypes/list/"+this.currentBatch.formId.toString(),{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.doctypes.forEach(i=>{i.is_default&&"document"===i.type&&(this.defaultDoctype={id:i.id,key:i.key,label:i.label,type:i.type,isDefault:i.is_default})}),this.loading=!1}),(0,Ke.K)(t=>(console.debug(t),this.loading=!1,this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}getPlaceholderFromResultMask(t,i){const a=t?t.split("#"):[],l=[];for(const h of a)l.push(i.hasOwnProperty(h)?i[h]:h);return l.join(" ")}getPlaceholderFromSearchMask(t,i){return t?t.replace("#label",i):""}changeInputMode(t){this.inputMode=t.checked?"Auto":"Manual",this.batchMetadataValues={},this.fillDataValues({})}fillDataValues(t){var i,a;this.isDataEdited=!0;for(const l of this.fieldsCategories.batch_metadata){const h=l.metadata_key,E=t.hasOwnProperty(h)?t[h]:"";h&&this.batchForm.get(h)&&(null===(i=this.batchForm.get(h))||void 0===i||i.setValue(E))}for(const l of this.fieldsCategories.document_metadata){const h=l.metadata_key,E=t.hasOwnProperty(h)?t[h]:"";for(const N of this.documents)h&&N.form.get(h)&&(null===(a=N.form.get(h))||void 0===a||a.setValue(E))}}loadReferentialOnView(){this.http.get(m.N.url+`/ws/splitter/metadataMethods/${this.currentBatch.formId}`,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.metadataMethods[0].callOnSplitterView&&this.loadReferential(!1)}),(0,Ke.K)(t=>(this.loading=!1,this.notify.handleErrors(t),console.debug(t),(0,ie.of)(!1)))).subscribe()}loadReferential(t){this.metadata=[],this.http.get(m.N.url+`/ws/splitter/loadReferential/${this.currentBatch.formId}`,{headers:this.authService.headers}).pipe((0,$e.b)(i=>{if(i.metadata.forEach(a=>{a.data.metadataId=a.id,this.metadata.push(a.data)}),this.currentBatch.customFieldsValues.hasOwnProperty("metadataId")){const a=this.metadata.filter(l=>l.metadataId===this.currentBatch.customFieldsValues.metadataId);a.length>0&&(this.filteredServerSideMetadata.next(a),this.fillData(a[0]),this.setValuesFromSavedMetadata(a[0]))}t&&this.loadSelectedBatch(),this.notify.success(this.translate.instant("SPLITTER.referential_updated"))}),(0,Ke.K)(i=>(this.loading=!1,this.notify.handleErrors(i),console.debug(i),(0,ie.of)(!1)))).subscribe()}setValueChange(t,i){this.isDataEdited=!0,this.batchMetadataValues[t]=i}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}fillData(t){var i,a;this.batchMetadataValues=t;const l=this.batchMetadataValues.metadataId;for(const h of this.fieldsCategories.batch_metadata)h.metadata_key&&("select"===h.type&&t[h.metadata_key]?null===(i=this.batchForm.get(h.metadata_key))||void 0===i||i.setValue(t[h.metadata_key]):null===(a=this.batchForm.get(h.metadata_key))||void 0===a||a.setValue(l))}loadForms(){this.forms=[],this.http.get(m.N.url+"/ws/forms/list?module=splitter",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.forms=t.forms}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}onFormChange(t){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("GLOBAL.confirm_form_change"),confirmButton:this.translate.instant("GLOBAL.confirm_modification"),confirmButtonColor:"green",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(a=>{a?(this.loading=!0,this.http.post(m.N.url+"/ws/splitter/changeForm",{batchId:this.currentBatch.id,formId:t},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("SPLITTER.barch_form_change_success")),this.translate.get("HISTORY-DESC.change_batch_form",{batch_id:this.currentBatch.id,form_id:t}).subscribe(l=>{this.historyService.addHistory("splitter","viewer",l)}),this.loadSelectedBatch()}),(0,Ke.K)(l=>(this.loading=!1,this.notify.handleErrors(l),console.debug(l),(0,ie.of)(!1)))).subscribe()):this.currentBatch.formId=this.currentBatch.previousFormId})}loadFormFields(){this.http.get(m.N.url+"/ws/forms/fields/getByFormId/"+this.currentBatch.formId,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{for(const i in this.fieldsCategories)this.fieldsCategories[i]=[],t.fields.hasOwnProperty(i)&&t.fields[i].forEach(a=>{this.fieldsCategories[i].push({id:a.id,type:a.type,label:a.label,class:a.class,settings:a.settings,required:a.required,searchMask:a.searchMask,resultMask:a.resultMask,label_short:a.label_short,metadata_key:a.metadata_key,validationMask:a.validationMask}),a.metadata_key&&"batch_metadata"===i&&(this.inputMode="Auto")});this.batchForm=this.toBatchFormGroup();for(const i in this.fieldsCategories)t.fields.hasOwnProperty(i)&&t.fields[i].forEach(a=>{var l;a.metadata_key&&this.batchForm.get("search_"+a.label_short)&&(null===(l=this.batchForm.get("search_"+a.label_short))||void 0===l||l.valueChanges.pipe((0,Mo.h)(h=>!!h),(0,$e.b)(()=>{}),(0,$i.R)(this._onDestroy),(0,fe.b)(200),(0,Mn.U)(h=>!this.metadata||h.length<3?[]:(this.searching=!0,this.metadata.filter(E=>(0,wa.remove)(E[a.label_short].toString()).toLowerCase().indexOf((0,wa.remove)(h.toString().toLowerCase()))>-1))),(0,jl.g)(500)).subscribe(h=>{this.filteredServerSideMetadata.next(h),this.searching=!1},()=>{this.searching=!1}))})}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(this.loading=!1,this.notify.handleErrors(t),console.debug(t),(0,ie.of)(!1)))).subscribe()}getFormFieldsValues(){var t;for(const i of this.fieldsCategories.batch_metadata)this.batchForm.get(i.label_short)&&(this.batchMetadataValues[i.label_short]=null===(t=this.batchForm.get(i.label_short))||void 0===t?void 0:t.value,"date"===i.type&&(this.batchMetadataValues[i.label_short]=T(this.batchMetadataValues[i.label_short]).format("L")))}toBatchFormGroup(){const t={},i=T().localeData().longDateFormat("L");return this.fieldsCategories.batch_metadata.forEach(a=>{if(t[a.label_short]=a.required?new A.NI("",A.kI.required):new A.NI(""),this.currentBatch.customFieldsValues.hasOwnProperty(a.label_short)){const l="date"!==a.type?this.currentBatch.customFieldsValues[a.label_short]:T(this.currentBatch.customFieldsValues[a.label_short],i);t[a.label_short].setValue(l)}a.metadata_key&&(t["search_"+a.label_short]=new A.NI(""))}),new A.cw(t)}addDocumentIdToDropList(t){return this.DropListDocumentsIds.includes(t)||this.DropListDocumentsIds.push(t),t}sanitize(t){return this._sanitizer.bypassSecurityTrustUrl("data:image/jpg;base64,"+t)}dropPage(t,i){this.isDataEdited=!0,t.previousContainer===t.container?Hs(t.container.data,t.previousIndex,t.currentIndex):(vr(t.previousContainer.data,t.container.data,t.previousIndex,t.currentIndex),this.movedPages.push({pageId:t.container.data[t.currentIndex].id,newDocumentId:Number(i.id.split("-")[1]),isAddInNewDoc:"USERADD"===i.status}))}dropDocument(t){this.isDataEdited=!0,Hs(this.documents,t.previousIndex,t.currentIndex),this.OrderDisplayDocumentValues()}OrderDisplayDocumentValues(){let t=1;for(const i of this.documents)i.displayOrder=t,t++}openDocumentTypeDialog(t){this.dialog.open(jn,{width:"800px",height:"900px",data:{selectedDocType:{key:t.documentTypeKey?t.documentTypeKey:""},formId:this.currentBatch.formId}}).afterClosed().subscribe(a=>{a&&(t.documentTypeName=a.label,t.documentTypeKey=a.key,this.isDataEdited=!0)})}selectDocument(t){this.currentBatch.selectedDocument={id:t.id,displayOrder:t.displayOrder}}deleteDocument(t){const i=this.documents[t].pages.length,a=i>0?this.translate.instant("SPLITTER.confirm_delete_document_not_empty",{pagesCount:i}):this.translate.instant("SPLITTER.confirm_delete_document_empty");this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:a,confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(h=>{h&&(this.deletedDocumentsIds.push(this.documents[t].id),this.documents=this.deleteItemFromList(this.documents,t),this.isDataEdited=!0)})}deleteItemFromList(t,i){return delete t[i],t.filter(a=>null!==a)}countSelectedPages(){let t=0;for(const i of this.documents)for(const a of i.pages)a.checkBox&&t++;this.currentBatch.selectedPagesCount=t}deleteSelectedPages(){0!==this.currentBatch.selectedPagesCount&&this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("SPLITTER.confirm_delete_pages",{pagesCount:this.currentBatch.selectedPagesCount}),confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(i=>{if(i){for(const a of this.documents)for(let l=0;la.id===this.toolSelectedOption);if(!t)return;const i=this.documents.indexOf(t[0]);for(const a of this.documents)for(let l=a.pages.length-1;l>=0;l--)if(a.pages[l].checkBox){const h=this.documents[i].pages.length;vr(a.pages,this.documents[i].pages,l,h),this.movedPages.push({pageId:this.documents[i].pages[h].id,newDocumentId:Number(this.documents[i].id.split("-")[1]),isAddInNewDoc:"USERADD"===this.documents[i].status})}this.isDataEdited=!0}changeBatch(t){this.loading=!0,this.fieldsCategories.batch_metadata=[],this.batchMetadataValues={},this.fillDataValues({}),this.router.navigate(["splitter/viewer/"+this.currentTime+"/"+t]).then(),this.currentBatch.id=t,this.loadSelectedBatch(),this.isDataEdited=!1}cancel(){this.isDataEdited?this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("SPLITTER.quit_without_saving_modifications"),confirmButton:this.translate.instant("SPLITTER.quit_without_saving"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(i=>{i&&this.router.navigate(["/splitter/list"]).then()}):this.router.navigate(["/splitter/list"]).then()}validateWithConfirmation(){if(!this.batchForm.valid&&"Manual"===this.inputMode)return this.notify.error(this.translate.instant("SPLITTER.error_empty_document_metadata")),void(this.loading=!1);if("Auto"!==this.inputMode||this.batchMetadataValues.metadataId||0===this.fieldsCategories.batch_metadata.length){for(const i of this.documents){if(!i.form.valid)return this.notify.error(this.translate.instant("SPLITTER.error_empty_document_metadata")),void(this.loading=!1);if(!i.documentTypeKey)return i.class="text-red-500",this.notify.error(this.translate.instant("SPLITTER.error_no_doc_type")),void(this.loading=!1);i.class=""}this.getFormFieldsValues();for(const i of this.fieldsCategories.batch_metadata)if(i.validationMask&&!this.batchMetadataValues[i.label_short].match(i.validationMask))return this.notify.error(this.translate.instant("SPLITTER.field_form_not_respected",{field:i.label})),void(this.loading=!1);this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("SPLITTER.confirm_validate"),confirmButton:this.translate.instant("SPLITTER.validate_batch"),confirmButtonColor:"green",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(i=>{i&&this.validate()})}else this.notify.error(this.translate.instant("SPLITTER.error_autocomplete_value"))}validate(){this.loading=!0,this.notify.success(this.translate.instant("SPLITTER.batch_validate_processing"),1e4);const t=this.batchMetadataValues;t.id=this.currentBatch.id,t.userName=this.userService.user.username,t.userLastName=this.userService.user.lastname,t.userFirstName=this.userService.user.firstname;const i=[];for(const a of this.documents){const l={id:a.id,displayOrder:a.displayOrder,documentTypeKey:a.documentTypeKey,documentTypeName:a.documentTypeName,metadata:a.form.getRawValue(),pages:[]};for(const h of a.pages)l.pages.push({id:h.id,rotation:h.rotation,sourcePage:h.sourcePage});i.push(l)}this.http.post(m.N.url+"/ws/splitter/validate",{documents:i,batchMetadata:t,movedPages:this.movedPages,batchId:this.currentBatch.id,deletedPagesIds:this.deletedPagesIds,deletedDocumentsIds:this.deletedDocumentsIds,formId:this.currentBatch.formId},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.router.navigate(["splitter/list"]).then(),this.notify.success(this.translate.instant("SPLITTER.validate_batch_success")),this.translate.get("HISTORY-DESC.validate_splitter",{batch_id:this.currentBatch.id}).subscribe(a=>{this.historyService.addHistory("splitter","viewer",a)}),this.loading=!0}),(0,Ke.K)(a=>(this.loading=!1,this.notify.handleErrors(a),console.debug(a),(0,ie.of)(!1)))).subscribe()}saveInfo(){this.saveInfosLoading=!0,this.getFormFieldsValues();const t=[];for(const i of this.documents){const a=Object.assign({},i);a.metadata=i.form.getRawValue(),delete a.class,delete a.form,t.push(a)}this.http.post(m.N.url+"/ws/splitter/saveInfo",{documents:t,movedPages:this.movedPages,batchId:this.currentBatch.id,deletedPagesIds:this.deletedPagesIds,batchMetadata:this.batchMetadataValues,deletedDocumentsIds:this.deletedDocumentsIds},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.saveInfosLoading=!1,this.isDataEdited=!1,this.notify.success(this.translate.instant("SPLITTER.batch_modification_saved"))}),(0,Ke.K)(i=>(this.saveInfosLoading=!1,this.notify.handleErrors(i),console.debug(i),(0,ie.of)(!1)))).subscribe()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ui),e.Y36(Ri.eN),e.Y36(Nt.gz),e.Y36(zi.K),e.Y36(c.H7),e.Y36(A.qu),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q),e.Y36(jr),e.Y36(ua.n))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-viewer"]],viewQuery:function(t,i){if(1&t&&e.Gf(Rr,5),2&t){let a;e.iGM(a=e.CRH())&&(i.cdkDropList=a.first)}},hostBindings:function(t,i){1&t&&e.NdJ("beforeunload",function(l){return i.beforeunloadHandler(l)},!1,e.Jf7)},decls:2,vars:2,consts:[[4,"ngIf"],["class","viewer-container","hasBackdrop","false",4,"ngIf"],["hasBackdrop","false",1,"viewer-container"],["mode","side","opened",""],["drawer",""],[1,"mt-1"],[1,"mt-2","w-full","h-10","grid","place-content-center",3,"ngSwitch"],[1,"text-base","text-slate-400"],["class","text-slate-400 w-full grid place-content-center",4,"ngIf"],["class","card",4,"ngFor","ngForOf"],["mat-raised-button","",1,"btn-show-batches","left-0",3,"click"],["class","fa-solid fa-angle-left",4,"ngIf"],["class","fa-solid fa-angle-right",4,"ngIf"],["class","fixed z-10 w-4/12 h-5/6 grid justify-items-stretch right-0 top-20",4,"ngIf"],[1,"w-10/12","absolute","top-0","mx-32"],[1,"metadata"],[1,"my-10","bg-gray-20",3,"expanded","opened","closed"],["batchMetadata",""],[1,"grid","grid-cols-3","gap-3"],[1,"grid","grid-cols-2","gap-2"],["class","mx-1",3,"click",4,"ngIf"],[1,"text-center"],[1,"fa-regular","fa-rectangle-list"],["id","form-select-field",3,"matTooltip","click"],[3,"ngModel","selectionChange","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"text-right","text-gray-400"],[1,"mx-2",3,"matTooltip"],[1,"fa-solid","fa-flag"],[1,"fa-solid","fa-pipe"],["class","text-gray-400 text-center w-full",4,"ngIf"],[1,"flex","flex-wrap","mx-8",3,"formGroup"],["class","flex items-center px-3",3,"class",4,"ngFor","ngForOf"],["mat-button","",1,"float-right","mb-2",3,"title","click"],[1,"fa-solid","fa-sync","fa-2x"],["class","block align-text-top text-center text-red-600",4,"ngIf"],["cdkDropList","",3,"cdkDropListDropped"],["class","document group","cdkDrag","",3,"click",4,"ngFor","ngForOf"],[1,"splitter-tools","divide-x","divide-green-500","border-gray-300","py-0"],[1,"grid","grid-rows-1","grid-cols-3",2,"overflow","auto"],[1,"absolute","top-2","left-8","text-gray-500","bg-white","px-2",3,"matTooltip"],[1,"font-medium","mx-1"],[1,"fa-solid","fa-file"],[1,"border","border-gray-600","rounded-lg","flex","h-20","col-span-2","py-4","my-4","overflow-x-auto","overflow-y-hidden"],["mat-button","",1,"btn-icon","w-8","ml-4",3,"matTooltip","disabled","click"],[1,"fas","fa-trash-alt","fa-lg"],["mat-button","",1,"btn-icon","w-8",3,"matTooltip","click"],[1,"fas","fa-check-circle","fa-lg"],["mat-button","",1,"btn-icon","border-r-2","border-black","w-8",3,"matTooltip","click"],[1,"fas","fa-ban","fa-lg"],["mat-button","",1,"btn-icon","btn-rotate","border-r-10","border-gray-400","w-8",3,"disabled","matTooltip","click"],[1,"fas","fa-rotate-right","fa-lg"],["mat-button","",3,"matTooltip","click"],["class","fas fa-plus-circle fa-lg",4,"ngIf"],["class","fas fa-circle-notch fa-spin fa-lg my-4",4,"ngIf"],[1,"-top-2"],[3,"ngModel","ngModelChange"],[1,"fa","fa-paper-plane","fa-lg"],["mat-button","",1,"w-8",3,"matTooltip","ngClass","click"],["class","fa fa-save fa-lg",4,"ngIf"],[1,"grid","grid-rows-4","py-2"],[1,"row-span-3","overflow-y-auto"],["mat-button","",1,"btn-validate-splitter","rounded-full","bg-green-400","text-white","text-sm","font-medium","transition","duration-300","mt-2","ml-2","float-right","top-4",2,"border-right","1px dotted white !important",3,"disabled","ngClass","click"],["mat-button","",1,"btn-validate-splitter","text-gray-500","bg-gray-300","rounded-full","text-sm","font-medium","transition","duration-300","mt-2","float-right","top-4",3,"click"],["class","text-red-500",4,"ngIf"],[1,"splitter-tools-place"],[1,"text-slate-400","w-full","grid","place-content-center"],[1,"card"],[1,"mat-elevation-z4","my-2",3,"ngClass"],[1,"image-link",3,"click"],["mat-card-image","","alt","Open-Capture Splitter image",3,"src"],[1,"float-right","text-green-400",3,"matTooltip"],[1,"far","fa-file"],[1,"mt-2","-mb-1","block","overflow-hidden","text-ellipsis","w-11/12"],[1,"leading-7","flex"],[1,"fa-solid","fa-angle-left"],[1,"fa-solid","fa-angle-right"],[1,"fixed","z-10","w-4/12","h-5/6","grid","justify-items-stretch","right-0","top-20"],["mat-card-image","","alt","Zoom Image",1,"justify-self-end","border-2","zoom-image",3,"src","exclude","ngClass","clickOutside"],[1,"mx-1",3,"click"],[3,"checked","change"],[3,"value"],[1,"text-gray-400","text-center","w-full"],[1,"block","fa-solid","fa-check","fa-3x"],[1,"block"],[1,"flex","items-center","px-3"],["class","flex justify-center inline-block my-4",4,"ngIf"],[1,"w-full"],[3,"innerHTML"],[1,"mat-search",3,"formControlName"],[3,"value","click",4,"ngFor","ngForOf"],[3,"formControlName","placeholderLabel","searching","noEntriesFoundLabel"],[3,"value","click"],[3,"innerHTML",4,"ngIf"],["matInput","",3,"formControlName","ngModelChange"],["matInput","",3,"formControlName"],[3,"formControlName","selectionChange"],["matInput","",3,"id","matDatepicker","formControlName"],["matSuffix","",3,"for"],["datePicker",""],[1,"flex","justify-center","inline-block","my-4"],[3,"formControlName"],[1,"block","align-text-top","text-center","text-red-600"],["cdkDrag","",1,"document","group",3,"click"],["class","w-full h-40 border-dashed border-2 border-gray-400 bg-gray-200",4,"cdkDragPlaceholder"],["cdkDragHandle","",1,"drag-document","absolute","w-6","h-6","-left-1","-top-1","z-10","rounded-full","text-gray-400","text-center","align-middle","bg-slate-50","drop-shadow-xl","hover:cursor-grabbing","group-hover:text-gray-500",3,"matTooltip"],[1,"fa-solid","fa-arrows-up-down-left-right","fa-lg"],["class","drop-shadow-xl w-4/6 h-40 text-center text-gray-500 bg-slate-50 grid place-content-center",4,"cdkDragPreview"],[1,"bg-gray-20",3,"expanded","opened","closed"],["documentMetadata",""],[3,"ngClass","matTooltip","click"],[1,"w-full","font-medium"],[1,"fa-solid","fa-edit"],["class","mx-2",4,"ngIf"],["mat-button","",1,"right-2",3,"matTooltip","click"],[1,"fa-solid","fa-trash-alt","fa-lg"],[1,"text-gray-400","w-full"],[1,"m-6","w-11/12"],[1,"mx-6",2,"width","96%"],[1,"flex","flex-wrap","mx-6","mt-4",3,"formGroup"],[1,"document-content"],["cdkDropListOrientation","horizontal","cdkDropList","",1,"drop-list",2,"background-image","url('assets/imgs/dots.jpg')","width","100%","overflow","scroll!important",3,"ngClass","id","cdkDropListData","cdkDropListConnectedTo","click","cdkDropListDropped"],["class","page m-1.5 bg-gray-200 rounded-md","cdkDrag","",3,"click",4,"ngFor","ngForOf"],[1,"w-full","h-40","border-dashed","border-2","border-gray-400","bg-gray-200"],[1,"drop-shadow-xl","w-4/6","h-40","text-center","text-gray-500","bg-slate-50","grid","place-content-center"],["cdkDragHandle","",1,"absolute","w-8","h-8","-left-1","-top-1","z-10","rounded-full","text-center","align-middle","bg-slate-50","drop-shadow-xl","hover:cursor-grabbing","group-hover:text-gray-500","grid","place-content-center"],[1,"fa-solid","fa-copy","fa-3x"],[1,"mx-2"],[1,"text-center","block","fa-solid","fa-check","fa-3x"],[1,"block","text-center"],[3,"ngClass",4,"ngIf"],["class","flex justify-center inline-block my-4",3,"ngClass",4,"ngIf"],[3,"ngClass"],[1,"flex","justify-center","inline-block","my-4",3,"ngClass"],["cdkDrag","",1,"page","m-1.5","bg-gray-200","rounded-md",3,"click"],["class","custom-placeholder bg-gray-200 m-1.5 border-dashed border-2 border-gray-400",4,"cdkDragPlaceholder"],[1,"flex","justify-between"],[1,"page-check-box","float-left","mt-4",3,"ngModel","matTooltip","id","ngModelChange","click","change"],["mat-button","",1,"page-header-btn","text-gray-400","m-1",3,"matTooltip","click"],[1,"fa-solid","fa-rotate-right"],["mat-button","",1,"page-header-btn","float-right","bg-gray-100",3,"matTooltip","click"],["class","fa-solid fa-search-plus",4,"ngIf"],["alt","Open-Capture Splitter image",3,"ngClass","src","title"],[1,"custom-placeholder","bg-gray-200","m-1.5","border-dashed","border-2","border-gray-400"],[1,"fa-solid","fa-search-plus"],[1,"fas","fa-circle-notch","fa-spin","fa-lg","my-4"],[1,"fas","fa-plus-circle","fa-lg"],[1,"fa","fa-save","fa-lg"],[1,"text-red-500"]],template:function(t,i){1&t&&(e.YNc(0,wn,2,0,"div",0),e.YNc(1,wx,102,92,"mat-drawer-container",1)),2&t&&(e.Q6J("ngIf",i.loading||i.documentsLoading||i.batchesLoading),e.xp6(1),e.Q6J("ngIf",!i.loading))},dependencies:[_e.mk,_e.sg,_e.O5,_e.RF,Sa,Rt.KE,Rt.hX,Rt.R9,Be.gD,b.ey,Va.Rr,an.Nt,Xn,Vt.jA,Vt.kh,Vt.LW,Y.lW,ot,qt,Re,We,Ie,si,te,Ea,mo,Zt.pp,Zt.ib,Zt.yz,Zt.yK,Rn.d,A._Y,A.Fj,A.JJ,A.JL,A.sg,A.u,A.On,ea,e_,ld,Sh,Lh,fg,_o,Cn.R,_e.Ov,_e.OU,$t.X$],styles:["[_nghost-%COMP%] .mat-slide-toggle.mat-checked:not(.mat-disabled) .mat-slide-toggle-bar{background-color:#97bf3d}[_nghost-%COMP%] .mat-slide-toggle.mat-checked:not(.mat-disabled) .mat-slide-toggle-thumb{background-color:#97bf3d} .mat-drawer-inner-container{overflow-x:hidden!important}.viewer-container[_ngcontent-%COMP%]{width:100%;border:1px solid #555;position:absolute;top:60px;bottom:0;z-index:-1}mat-drawer-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;background-color:#fff}mat-drawer[_ngcontent-%COMP%]{width:20%}a[_ngcontent-%COMP%]:hover{cursor:pointer}.btn-show-batches[_ngcontent-%COMP%]{position:sticky;width:8px!important;min-width:unset!important;min-height:100%;margin-top:0!important;top:0!important;left:0!important;z-index:1}.metadata[_ngcontent-%COMP%]{width:100%;height:200px!important}.mat-search[_ngcontent-%COMP%]{min-width:calc(100% + 250px)!important} .mat-search>.mat-select-trigger>.mat-select-arrow-wrapper{display:none}.mat-select-arrow-wrapper[_ngcontent-%COMP%]{display:none!important}.mat-select-placeholder[_ngcontent-%COMP%]{width:calc(100% - 250px)!important} #form-select-field .mat-form-field-outline{display:none!important} #form-select-field .mat-select-arrow-wrapper{display:none!important}.document[_ngcontent-%COMP%]{margin:10px auto;width:100%;box-shadow:1px 2px 10px #c5c5c5!important}.drag-document[_ngcontent-%COMP%]:hover{transform:scale(1.3)}.document-drop-placeholder[_ngcontent-%COMP%]{margin:10px auto;width:100%;height:300px;box-shadow:1px 2px 10px #c5c5c5!important}.btn-icon[_ngcontent-%COMP%]{border-right:1px solid rgb(75,85,99)!important;border-radius:0}.document-content[_ngcontent-%COMP%]{width:100%;height:80%}.drop-list[_ngcontent-%COMP%]{width:100%;border:solid 1px #ccc;min-height:350px;display:flex;flex-direction:row;border-radius:4px;background-size:60px 60px;background-color:#fff}.cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1)}.page[_ngcontent-%COMP%]:last-child{border:none}.drop-list.cdk-drop-list-dragging[_ngcontent-%COMP%] .page[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}.custom-placeholder[_ngcontent-%COMP%]{min-width:220px;max-width:220px;min-height:350px;max-height:350px;padding:10px;background:#ccc;z-index:1;transition:transform .25s cubic-bezier(0,0,.2,1)}.page[_ngcontent-%COMP%]{min-width:220px;max-width:220px;min-height:350px;max-height:350px;padding:5px;cursor:move;overflow:hidden}.page-header-btn[_ngcontent-%COMP%]{min-width:unset!important;margin-top:0!important;margin-bottom:5px!important}.page-check-box[_ngcontent-%COMP%]{transform:translateY(-50%)} .mat-checkbox-inner-container{width:18px!important;height:18px!important}.mat-checkbox-checked[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{transform:scale(4)} .mat-checkbox-checked.mat-accent .mat-checkbox-background, .mat-checkbox-indeterminate.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%], .mat-pseudo-checkbox-checked[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate[_ngcontent-%COMP%]{background-color:#97bf3d!important}.splitter-tools[_ngcontent-%COMP%]{position:sticky;z-index:10;bottom:10px!important;left:10%}.splitter-tools-place[_ngcontent-%COMP%]{width:50%;min-height:50px}.btn-validate-splitter[_ngcontent-%COMP%]{height:40px;width:150px}"]}),n})();var Yb=C(4533);function R2(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function F2(n,o){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"i",6),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.previousPage())}),e.qZA(),e._uU(2),e.ALo(3,"translate"),e.ALo(4,"translate"),e.TgZ(5,"i",7),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.nextPage())}),e.qZA(),e.BQk()}if(2&n){const t=e.oxw();e.xp6(2),e.HOy(" ",e.lcZ(3,4,"VERIFIER.page")," ",t.currentPage," ",e.lcZ(4,6,"VERIFIER.on")," ",t.invoice.nb_pages," ")}}function Hb(n,o){if(1&n&&(e.TgZ(0,"div",8),e._UZ(1,"img",9),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("src",t.imgSrc,e.LSH)}}function Vb(n,o){if(1&n&&(e.TgZ(0,"mat-option",27),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.hij(" ",t.label," ")}}function Sx(n,o){1&n&&(e.TgZ(0,"span",35),e.ALo(1,"translate"),e._uU(2,"\u2022"),e.qZA()),2&n&&e.s9C("matTooltip",e.lcZ(1,1,"VERIFIER.only_raw_footer"))}function Ax(n,o){1&n&&(e.TgZ(0,"span",36),e.ALo(1,"translate"),e._uU(2,"\u2022"),e.qZA()),2&n&&e.s9C("matTooltip",e.lcZ(1,1,"VERIFIER.calculated_footer"))}function Lx(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"i",40),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(5);return e.KtG(a.editSupplier())}),e.qZA()}}function Gb(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"i",41),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(5);return e.KtG(a.createSupplier())}),e.qZA()}}function Kb(n,o){if(1&n&&(e.TgZ(0,"span",37),e.YNc(1,Lx,1,0,"i",38),e.YNc(2,Gb,1,0,"i",39),e.qZA()),2&n){const t=e.oxw(4);e.xp6(1),e.Q6J("ngIf",t.invoice.supplier_id&&t.supplierExists&&"END"!==t.invoice.status),e.xp6(1),e.Q6J("ngIf",!t.invoice.supplier_id||!t.supplierExists&&"END"!==t.invoice.status)}}function jb(n,o){if(1&n&&(e.TgZ(0,"mat-error",54),e._uU(1),e.qZA()),2&n){const t=e.oxw(3).$implicit,i=e.oxw(2).$implicit,a=e.oxw(2);e.xp6(1),e.hij(" ",a.getErrorMessage(t.id,i.id)," ")}}function Wb(n,o){if(1&n&&(e.TgZ(0,"mat-option",55),e._UZ(1,"span",56),e.ALo(2,"highlight"),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(7);e.Q6J("value",t.name)("id",t.id),e.xp6(1),e.Q6J("innerHTML",e.xi3(2,3,t.name,i.toHighlight),e.oJD)}}function qb(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field",47),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw(2).$implicit,h=e.oxw(4);return e.KtG(h.updateFilteredOption(a,l.control))}),e.TgZ(1,"mat-label",48),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",49),e.YNc(5,jb,2,1,"mat-error",50),e.TgZ(6,"mat-autocomplete",51,52),e.NdJ("optionSelected",function(a){e.CHM(t);const l=e.oxw(6);return e.KtG(l.getSupplierInfo(a.option.id,!0))}),e.YNc(8,Wb,3,6,"mat-option",53),e.ALo(9,"async"),e.qZA()()}if(2&n){const t=e.MAs(7),i=e.oxw(2).$implicit,a=e.oxw(4);e.ekj("opacity-50","END"===a.invoice.status),e.xp6(2),e.hij(" ",e.lcZ(3,12,i.label)," "),e.xp6(2),e.Q6J("id",i.id)("required",i.required)("readonly","END"===a.invoice.status)("formControl",i.control)("pattern",i.pattern)("matAutocomplete",t),e.xp6(1),e.Q6J("ngIf",i.control.errors),e.xp6(1),e.Q6J("id",i.id),e.xp6(2),e.Q6J("ngForOf",e.lcZ(9,14,a.filteredOptions))}}function Jb(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw(3).$implicit;e.xp6(1),e.Oqu(t.cpt)}}function $b(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",61),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3).$implicit,l=e.oxw(2).$implicit,h=e.oxw(2);return e.KtG(h.duplicateField(a.id,l.id))}),e.TgZ(1,"mat-icon",62),e._uU(2,"add_circle"),e.qZA()()}}function hm(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",63),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3).$implicit,l=e.oxw(2).$implicit,h=e.oxw(2);return e.KtG(h.removeDuplicateField(a.id,l.id))}),e.TgZ(1,"mat-icon",64),e._uU(2,"delete_forever"),e.qZA()()}}function Ox(n,o){if(1&n&&(e.TgZ(0,"mat-error",54),e._uU(1),e.qZA()),2&n){const t=e.oxw(3).$implicit,i=e.oxw(2).$implicit,a=e.oxw(2);e.xp6(1),e.hij(" ",a.getErrorMessage(t.id,i.id)," ")}}function kx(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field",57)(1,"mat-label",48),e._uU(2),e.ALo(3,"translate"),e.YNc(4,Jb,2,1,"span",0),e.qZA(),e.YNc(5,$b,3,0,"span",58),e.YNc(6,hm,3,0,"span",59),e.TgZ(7,"input",60),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(6);return a.ocrFromUser=!0,e.KtG(a.saveInfo=!0)})("focusin",function(a){e.CHM(t);const l=e.oxw(2).$implicit,h=e.oxw(4);return e.KtG(h.ocr(a,!0,l.color))})("focusout",function(a){e.CHM(t);const l=e.oxw(2).$implicit,h=e.oxw(4);return h.ocr(a,!1),h.saveData(a.target.value,l.id),h.checkVAT(l.id,a.target.value),e.KtG(h.checkSirenOrSiret(l.id,a.target.value))}),e.qZA(),e.YNc(8,Ox,2,1,"mat-error",50),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(4);e.ekj("opacity-50","END"===i.invoice.status),e.xp6(2),e.hij(" ",e.lcZ(3,12,t.label)," "),e.xp6(2),e.Q6J("ngIf",i.isChildField(t.id)&&!t.id.includes("custom_")),e.xp6(1),e.Q6J("ngIf","multi"===t.display&&!t.lineSelected),e.xp6(1),e.Q6J("ngIf",i.isChildField(t.id)&&!t.lineSelected),e.xp6(1),e.Q6J("id",t.id)("formControl",t.control)("required",t.required)("pattern",t.pattern)("readonly","END"===i.invoice.status),e.xp6(1),e.Q6J("ngIf",t.control.errors)}}function Ix(n,o){if(1&n&&(e.ynx(0),e.YNc(1,qb,10,16,"mat-form-field",45),e.YNc(2,kx,9,14,"ng-template",null,46,e.W1O),e.BQk()),2&n){const t=e.MAs(3),i=e.oxw().$implicit,a=e.oxw(2).$implicit;e.xp6(1),e.Q6J("ngIf","supplier"===a.id&&"name"===i.id)("ngIfElse",t)}}function Px(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit;e.xp6(1),e.Oqu(t.cpt)}}function Rx(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",61),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw(2).$implicit,h=e.oxw(2);return e.KtG(h.duplicateField(a.id,l.id))}),e.TgZ(1,"mat-icon",62),e._uU(2,"add_circle"),e.qZA()()}}function Fx(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",63),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw(2).$implicit,h=e.oxw(2);return e.KtG(h.removeDuplicateField(a.id,l.id))}),e.TgZ(1,"mat-icon",64),e._uU(2,"delete_forever"),e.qZA()()}}function zb(n,o){if(1&n&&(e.TgZ(0,"mat-error",54),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw(2).$implicit,a=e.oxw(2);e.xp6(1),e.hij(" ",a.getErrorMessage(t.id,i.id)," ")}}function N2(n,o){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"mat-form-field",57)(2,"mat-label",48),e._uU(3),e.ALo(4,"translate"),e.YNc(5,Px,2,1,"span",0),e.qZA(),e.YNc(6,Rx,3,0,"span",58),e.YNc(7,Fx,3,0,"span",59),e.TgZ(8,"textarea",65),e.NdJ("focusin",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw(4);return e.KtG(h.ocr(a,!0,l.color))})("focusout",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw(4);return h.ocr(a,!1),e.KtG(h.saveData(a.target.value,l.id))}),e.qZA(),e.YNc(9,zb,2,1,"mat-error",50),e.qZA(),e.BQk()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(4);e.xp6(1),e.ekj("opacity-50","END"===i.invoice.status),e.xp6(2),e.hij(" ",e.lcZ(4,12,t.label)," "),e.xp6(2),e.Q6J("ngIf",i.isChildField(t.id)&&!t.id.includes("custom_")),e.xp6(1),e.Q6J("ngIf","multi"===t.display&&!t.lineSelected),e.xp6(1),e.Q6J("ngIf",i.isChildField(t.id)&&!t.lineSelected),e.xp6(1),e.Q6J("id",t.id)("required",t.required)("formControl",t.control)("pattern",t.pattern)("readonly","END"===i.invoice.status),e.xp6(1),e.Q6J("ngIf",t.control.errors)}}function Nx(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit;e.xp6(1),e.Oqu(t.cpt)}}function Bx(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",61),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw(2).$implicit,h=e.oxw(2);return e.KtG(h.duplicateField(a.id,l.id))}),e.TgZ(1,"mat-icon",62),e._uU(2,"add_circle"),e.qZA()()}}function Ux(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",63),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw(2).$implicit,h=e.oxw(2);return e.KtG(h.removeDuplicateField(a.id,l.id))}),e.TgZ(1,"mat-icon",64),e._uU(2,"delete_forever"),e.qZA()()}}function Qb(n,o){if(1&n&&(e.TgZ(0,"mat-error",54),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw(2).$implicit,a=e.oxw(2);e.xp6(1),e.hij(" ",a.getErrorMessage(t.id,i.id)," ")}}function Xb(n,o){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"mat-form-field",57)(2,"mat-label",48),e._uU(3),e.ALo(4,"translate"),e.YNc(5,Nx,2,1,"span",0),e.qZA(),e.YNc(6,Bx,3,0,"span",58),e.YNc(7,Ux,3,0,"span",59),e.TgZ(8,"input",66),e.NdJ("focusin",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw(4);return e.KtG(h.ocr(a,!0,l.color))})("focusout",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw(4);return h.ocr(a,!1),e.KtG(h.saveData(a.target.value,l.id))})("dateChange",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw(4);return e.KtG(h.saveData(a.targetElement.value,l.id))}),e.qZA(),e._UZ(9,"mat-datepicker-toggle",67)(10,"mat-datepicker",null,68),e.YNc(12,Qb,2,1,"mat-error",50),e.qZA(),e.BQk()}if(2&n){const t=e.MAs(11),i=e.oxw().$implicit,a=e.oxw(4);e.xp6(1),e.ekj("opacity-50","END"===a.invoice.status),e.xp6(2),e.hij(" ",e.lcZ(4,14,i.label)," "),e.xp6(2),e.Q6J("ngIf",a.isChildField(i.id)&&!i.id.includes("custom_")),e.xp6(1),e.Q6J("ngIf","multi"===i.display&&!i.lineSelected),e.xp6(1),e.Q6J("ngIf",a.isChildField(i.id)&&!i.lineSelected),e.xp6(1),e.Q6J("id",i.id)("matDatepicker",t)("formControl",i.control)("readonly","END"===a.invoice.status)("required",i.required),e.xp6(1),e.Q6J("disabled","END"===a.invoice.status)("for",t),e.xp6(3),e.Q6J("ngIf",i.control.errors)}}function mm(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit;e.xp6(1),e.Oqu(t.cpt)}}function ey(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",61),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw(2).$implicit,h=e.oxw(2);return e.KtG(h.duplicateField(a.id,l.id))}),e.TgZ(1,"mat-icon",62),e._uU(2,"add_circle"),e.qZA()()}}function Dv(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",63),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw(2).$implicit,h=e.oxw(2);return e.KtG(h.removeDuplicateField(a.id,l.id))}),e.TgZ(1,"mat-icon",64),e._uU(2,"delete_forever"),e.qZA()()}}function Fc(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-option",72),e.NdJ("onSelectionChange",function(a){e.CHM(t);const l=e.oxw(7);return e.KtG(l.setAutocompleteDefaultValue(a))}),e._UZ(1,"span",56),e.ALo(2,"highlight"),e.TgZ(3,"span",73),e._uU(4),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw(7);e.Q6J("value",t.data)("id",t.res_id),e.xp6(1),e.Q6J("innerHTML",e.xi3(2,4,t.data,i.toHighlight),e.oJD),e.xp6(3),e.hij(" ",t.alt_identifier," ")}}function ty(n,o){if(1&n&&(e.TgZ(0,"span"),e.YNc(1,Fc,5,7,"mat-option",71),e.ALo(2,"async"),e.qZA()),2&n){const t=e.oxw(2).$implicit;e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,1,t.autocomplete_values))}}function bf(n,o){1&n&&(e.TgZ(0,"mat-option"),e._UZ(1,"span",56),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.Q6J("innerHTML",e.lcZ(2,1,"VERIFIER.no_autocomplete_data"),e.oJD))}function gm(n,o){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"mat-form-field",57)(2,"mat-label",48),e._uU(3),e.ALo(4,"translate"),e.YNc(5,mm,2,1,"span",0),e.qZA(),e.YNc(6,ey,3,0,"span",58),e.YNc(7,Dv,3,0,"span",59),e.TgZ(8,"input",69),e.NdJ("focusin",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw(4);return e.KtG(h.ocr(a,!0,l.color))})("focusout",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw(4);return h.ocr(a,!1),e.KtG(h.saveData(a.target.value,l.id))}),e.qZA(),e.TgZ(9,"mat-autocomplete",null,70),e.YNc(11,ty,3,3,"span",0),e.YNc(12,bf,3,3,"mat-option",0),e.qZA()(),e.BQk()}if(2&n){const t=e.MAs(10),i=e.oxw().$implicit,a=e.oxw(4);e.xp6(3),e.hij(" ",e.lcZ(4,11,i.label)," "),e.xp6(2),e.Q6J("ngIf",a.isChildField(i.id)&&!i.id.includes("custom_")),e.xp6(1),e.Q6J("ngIf","multi"===i.display&&!i.lineSelected),e.xp6(1),e.Q6J("ngIf",a.isChildField(i.id)&&!i.lineSelected),e.xp6(1),e.Q6J("id",i.id)("required",i.required)("formControl",i.control)("matAutocomplete",t)("readonly","END"===a.invoice.status),e.xp6(3),e.Q6J("ngIf",i.autocomplete_values),e.xp6(1),e.Q6J("ngIf",!i.autocomplete_values)}}function iy(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw(3).$implicit;e.xp6(1),e.Oqu(t.cpt)}}function ny(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",61),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3).$implicit,l=e.oxw(2).$implicit,h=e.oxw(2);return e.KtG(h.duplicateField(a.id,l.id))}),e.TgZ(1,"mat-icon",62),e._uU(2,"add_circle"),e.qZA()()}}function ay(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",63),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(3).$implicit,l=e.oxw(2).$implicit,h=e.oxw(2);return e.KtG(h.removeDuplicateField(a.id,l.id))}),e.TgZ(1,"mat-icon",64),e._uU(2,"delete_forever"),e.qZA()()}}function yf(n,o){1&n&&(e.TgZ(0,"mat-hint",78),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VERIFIER.accounting_plan_empty")," "))}function Tf(n,o){if(1&n&&(e.TgZ(0,"mat-option",55),e._UZ(1,"span",56),e.ALo(2,"highlight"),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(7);e.Q6J("value",t.compte_lib)("id",t.compte_num),e.xp6(1),e.Q6J("innerHTML",e.xi3(2,3,t.compte_num+" - "+t.compte_lib,i.toHighlightAccounting),e.oJD)}}function oy(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",57)(1,"mat-label",48),e._uU(2),e.ALo(3,"translate"),e.YNc(4,iy,2,1,"span",0),e.qZA(),e.YNc(5,ny,3,0,"span",58),e.YNc(6,ay,3,0,"span",59),e._UZ(7,"input",75),e.YNc(8,yf,3,3,"mat-hint",76),e.TgZ(9,"mat-autocomplete",null,77),e.YNc(11,Tf,3,6,"mat-option",53),e.ALo(12,"async"),e.qZA()()),2&n){const t=e.MAs(10),i=e.oxw(2).$implicit,a=e.oxw(4);e.ekj("opacity-50","END"===a.invoice.status),e.xp6(2),e.hij(" ",e.lcZ(3,13,i.label)," "),e.xp6(2),e.Q6J("ngIf",a.isChildField(i.id)&&!i.id.includes("custom_")),e.xp6(1),e.Q6J("ngIf","multi"===i.display&&!i.lineSelected),e.xp6(1),e.Q6J("ngIf",a.isChildField(i.id)&&!i.lineSelected),e.xp6(1),e.Q6J("id",i.id)("required",i.required)("formControl",i.control)("matAutocomplete",t)("readonly","END"===a.invoice.status),e.xp6(1),e.Q6J("ngIf",a.accountingPlanEmpty),e.xp6(3),e.Q6J("ngForOf",e.lcZ(12,15,i.values))}}function ry(n,o){if(1&n&&(e.TgZ(0,"mat-option",27),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.compte_num),e.xp6(1),e.AsE(" ",t.compte_num," - ",t.compte_lib," ")}}function Zx(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",57)(1,"mat-label",48),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",79),e.YNc(5,ry,2,3,"mat-option",21),e.qZA()()),2&n){const t=e.oxw(2).$implicit,i=e.oxw(4);e.ekj("opacity-50","END"===i.invoice.status),e.xp6(2),e.hij(" ",e.lcZ(3,6,t.label)," "),e.xp6(2),e.Q6J("id",t.id)("disabled","END"===i.invoice.status),e.xp6(1),e.Q6J("ngForOf",t.values)}}function Yx(n,o){if(1&n&&(e.ynx(0),e.YNc(1,oy,13,17,"mat-form-field",74),e.YNc(2,Zx,6,8,"mat-form-field",74),e.BQk()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.Q6J("ngIf",t.id.includes("accounting_plan")),e.xp6(1),e.Q6J("ngIf",!t.id.includes("accounting_plan"))}}function Ev(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",80),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().$implicit,l=e.oxw(2).$implicit,h=e.oxw(2);return e.KtG(h.duplicateLine(a.id,l.id))}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon",62),e._uU(3,"add_circle"),e.qZA()()}2&n&&e.Q6J("matTooltip",e.lcZ(1,1,"VERIFIER.duplicate_line"))}function Hx(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",81),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().$implicit,l=e.oxw(2).$implicit,h=e.oxw(2);return e.KtG(h.removeDuplicateLine(a.id,l.id))}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon",62),e._uU(3,"remove_circle"),e.qZA()()}2&n&&e.Q6J("matTooltip",e.lcZ(1,1,"VERIFIER.duplicate_line"))}function sy(n,o){if(1&n&&(e.TgZ(0,"div",42),e.YNc(1,Ix,4,2,"ng-container",0),e.YNc(2,N2,10,14,"ng-container",0),e.YNc(3,Xb,13,16,"ng-container",0),e.YNc(4,gm,13,13,"ng-container",0),e.YNc(5,Yx,3,2,"ng-container",0),e.YNc(6,Ev,4,3,"span",43),e.YNc(7,Hx,4,3,"span",44),e.qZA()),2&n){const t=o.$implicit;e.Tol(t.class),e.xp6(1),e.Q6J("ngIf","text"===t.type),e.xp6(1),e.Q6J("ngIf","textarea"===t.type),e.xp6(1),e.Q6J("ngIf","date"===t.type),e.xp6(1),e.Q6J("ngIf","autocomplete"===t.type),e.xp6(1),e.Q6J("ngIf","select"===t.type),e.xp6(1),e.Q6J("ngIf",t.fullSizeSelected),e.xp6(1),e.Q6J("ngIf",t.deleteLine)}}function ly(n,o){if(1&n&&(e.ynx(0),e.TgZ(1,"div",28),e._uU(2),e.ALo(3,"translate"),e.YNc(4,Sx,3,3,"span",29),e.YNc(5,Ax,3,3,"span",30),e.YNc(6,Kb,3,2,"span",31),e.qZA(),e.TgZ(7,"div",32)(8,"div",33),e.YNc(9,sy,8,9,"div",34),e.qZA()(),e.BQk()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Akn("width:calc(3% + "+(i.translate.instant(t.label).length+5)+"%)"),e.xp6(1),e.hij(" ",e.lcZ(3,8,t.label)," "),e.xp6(2),e.Q6J("ngIf",i.getOnlyRawFooter&&i.translate.instant(t.label)===i.translate.instant("FORMS.supplier")),e.xp6(1),e.Q6J("ngIf",!i.getOnlyRawFooter&&i.translate.instant(t.label)===i.translate.instant("FORMS.supplier")),e.xp6(1),e.Q6J("ngIf",i.translate.instant(t.label)===i.translate.instant("FORMS.supplier")),e.xp6(2),e.s9C("id",t.id),e.xp6(1),e.Q6J("ngForOf",i.form[t.id])}}function B2(n,o){if(1&n&&(e.ynx(0),e.YNc(1,ly,10,10,"ng-container",0),e.BQk()),2&n){const t=o.$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",0!==i.form[t.id].length)}}function wv(n,o){1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"FORMS.validate")))}function Sv(n,o){1&n&&e._UZ(0,"i",82)}function Vx(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",10)(1,"div")(2,"div",11)(3,"i",12),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.hideVisuals())}),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",13)(6,"mat-accordion")(7,"mat-expansion-panel",14),e.NdJ("expandedChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.settingsOpen=a)}),e.TgZ(8,"mat-expansion-panel-header")(9,"mat-panel-title",15),e._uU(10),e.ALo(11,"translate"),e.qZA()(),e.TgZ(12,"mat-tab-group",16)(13,"mat-tab",17),e.ALo(14,"translate"),e.TgZ(15,"p",18),e._uU(16),e.ALo(17,"translate"),e.qZA(),e.TgZ(18,"mat-form-field",19)(19,"mat-select",20),e.NdJ("valueChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.currentFormFields.form_id=a)})("selectionChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.changeForm(a))}),e.YNc(20,Vb,2,2,"mat-option",21),e.qZA(),e.TgZ(21,"mat-hint"),e._uU(22),e.ALo(23,"translate"),e.qZA()()()()()()()(),e.YNc(24,B2,2,1,"ng-container",22),e.TgZ(25,"div",23)(26,"button",24),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.validateForm())}),e.YNc(27,wv,3,3,"span",0),e.YNc(28,Sv,1,0,"i",25),e.qZA(),e.TgZ(29,"button",26),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.refuseForm())}),e._uU(30),e.ALo(31,"translate"),e.qZA()()()}if(2&n){const t=e.oxw();e.xp6(3),e.ekj("fa-eye-slash",t.visualIsHide),e.Q6J("matTooltip",e.lcZ(4,20,"VERIFIER.hide_visuals")),e.xp6(4),e.Q6J("expanded",t.settingsOpen),e.xp6(3),e.Oqu(e.lcZ(11,22,"GLOBAL.settings")),e.xp6(3),e.Q6J("label",e.lcZ(14,24,"VERIFIER.change_form")),e.xp6(3),e.Oqu(e.lcZ(17,26,"VERIFIER.change_form_details")),e.xp6(2),e.ekj("opacity-50","END"===t.invoice.status),e.xp6(1),e.Q6J("value",t.currentFormFields.form_id)("disabled","END"===t.invoice.status),e.xp6(1),e.Q6J("ngForOf",t.formList),e.xp6(2),e.AsE("",e.lcZ(23,28,"VERIFIER.outputs_list")," : ",t.outputsLabel.join(", "),""),e.xp6(2),e.Q6J("ngForOf",t.fieldCategories),e.xp6(2),e.Q6J("disabled","END"===t.invoice.status),e.xp6(1),e.Q6J("ngIf",!t.loadingSubmit),e.xp6(1),e.Q6J("ngIf",t.loadingSubmit),e.xp6(1),e.Q6J("disabled","END"===t.invoice.status),e.xp6(1),e.hij(" ",e.lcZ(31,30,"FORMS.refuse")," ")}}let Av=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt,Ft){this.router=t,this.http=i,this.route=a,this.sanitizer=l,this.authService=h,this.userService=E,this.translate=N,this.notify=oe,this.localeService=xe,this.configService=Ve,this.historyService=lt,this.localStorageService=Ft,this.isOCRRunning=!1,this.settingsOpen=!1,this.ocrFromUser=!1,this.accountingPlanEmpty=!1,this.getOnlyRawFooter=!1,this.disableOCR=!1,this.tokenError=!1,this.visualIsHide=!1,this.saveInfo=!0,this.loading=!0,this.loadingSubmit=!1,this.supplierExists=!0,this.deleteDataOnChangeForm=!0,this.oldVAT="",this.oldSIRET="",this.oldSIREN="",this.currentFilename="",this.lastLabel="",this.lastId="",this.lastColor="",this.toHighlight="",this.toHighlightAccounting="",this.token="",this.imgSrc="",this.ratio=0,this.currentPage=1,this.accountingPlan={},this.formSettings={},this.formList={},this.currentFormFields={},this.suppliers=[],this.currentSupplier={},this.outputsLabel=[],this.outputs=[],this.imgArray={},this.fieldCategories=[{id:"supplier",label:this.translate.instant("FORMS.supplier")},{id:"facturation",label:this.translate.instant("FACTURATION.facturation")},{id:"other",label:this.translate.instant("FORMS.other")}],this.form={supplier:[],facturation:[],other:[]},this.pattern={alphanum:"^[(\\-)?0-9a-zA-Z\\s']*$",alphanum_extended:"^[(\\-)?0-9a-zA-Z-/#,\\.'\\s]*$",alphanum_extended_with_accent:"^[(\\-)?0-9a-zA-Z\\u00C0-\\u017F-/#,'\\.\\s]*$",number_int:"^[(\\-)?0-9]*$",number_float:"^[(\\-)?0-9]*([.][0-9]*)*$",char:"^[A-Za-z\\s]*$",email:"^([A-Za-z0-9]+[\\.\\-_])*[A-Za-z0-9]+@[A-Za-z0-9-]+(\\.[A-Z|a-z]{2,})+$"},this.supplierNamecontrol=new A.NI}ngOnInit(){var t=this;return xa(function*(){t.authService.headersExists||t.authService.generateHeaders(),t.localStorageService.save("splitter_or_verifier","verifier"),t.ocrFromUser=!1,t.saveInfo=!0,t.config=t.configService.getConfig(),t.invoiceId=t.route.snapshot.params.id,t.translate.get("HISTORY-DESC.viewer",{document_id:t.invoiceId}).subscribe(l=>{t.historyService.addHistory("verifier","viewer",l)}),t.updateInvoice({locked:!0,locked_by:t.userService.user.username}),t.invoice=yield t.getInvoice(),t.currentFilename=t.invoice.full_jpg_filename,yield t.getThumb(t.invoice.full_jpg_filename),t.invoice.form_id&&(yield t.generateOutputs(t.invoice.form_id)),t.formList=yield t.getAllForm(),t.formList=t.formList.forms,t.suppliers=yield t.retrieveSuppliers(),t.suppliers=t.suppliers.suppliers;let i=!1;if(t.invoice.supplier_id)for(const l of t.suppliers)l.id===t.invoice.supplier_id&&(t.currentSupplier=l,l.form_id&&(i=l.form_id));if(0===Object.keys(t.currentFormFields).length){let l=!1;if(i)yield t.generateOutputs(i);else{for(const h of t.formList)h.default_form&&(l=h.id);l&&(yield t.generateOutputs(l))}l||i?t.currentFormFields=yield t.getForm():(t.notify.error(t.translate.instant("FORMS.no_form_available")),yield t.router.navigate(["/verifier/list"]))}t.imageInvoice=$("#document_image"),t.ratio=t.invoice.img_width/t.imageInvoice.width(),t.ocr({target:{id:"",labels:[{textContent:""}]}},!0),yield t.fillForm(t.currentFormFields),t.invoice.supplier_id&&t.getSupplierInfo(t.invoice.supplier_id,!1,!0),setTimeout(()=>{t.drawPositions(),t.convertAutocomplete(),document.getElementById("image").scrollTo({top:0,behavior:"smooth"}),t.loading=!1},500),$(".trigger").hide(),t.filteredOptions=t.supplierNamecontrol.valueChanges.pipe((0,mt.O)(""),(0,Mn.U)(l=>l?t._filter(l):t.suppliers.slice()))})()}convertAutocomplete(){this.outputs.forEach(t=>{if(t.data.options.links&&"export_maarch"===t.output_type_id){const i={host:t.data.options.auth[0].value,login:t.data.options.auth[1].value,password:t.data.options.auth[2].value,autocompleteField:"",maarchCustomField:"",maarchClause:"",vatNumberContactCustom:"",enabled:!1,supplierCustomId:""};t.data.options.links.forEach(a=>{"enabled"===a.id&&a.value&&(i.enabled=!0),"openCaptureField"===a.id&&a.value?i.autocompleteField=a.value:"maarchCustomField"===a.id&&a.value?i.maarchCustomField=a.value:"maarchClause"===a.id&&a.value?i.maarchClause=a.value:"vatNumberContactCustom"===a.id&&a.value&&(i.vatNumberContactCustom=a.value)}),i.enabled&&(this.form.supplier.forEach(a=>{("vat_number"===a.id||"siret"===a.id)&&(i.supplierCustomId+=a.control.value)}),this.form.facturation.forEach(a=>{a.id===i.autocompleteField&&this.http.post(m.N.url+"/ws/maarch/getDocumentsWithContact",i,{headers:this.authService.headers}).pipe((0,$e.b)(l=>{a.type="autocomplete",l&&l.count>0&&(a.autocomplete_values=a.control.valueChanges.pipe((0,mt.O)(""),(0,Mn.U)(h=>h?this._filter_data(h,l.resources):l.resources.slice())))}),(0,Ke.K)(l=>(console.debug(l),this.notify.handleErrors(l),(0,ie.of)(!1)))).subscribe()}))}})}generateOutputs(t){var i=this;return xa(function*(){if(i.currentFormFields=yield i.getFormFieldsById(t),i.formSettings=yield i.getFormById(t),0!==i.formSettings.outputs.length)for(const a in i.formSettings.outputs){const l=yield i.getOutputs(i.formSettings.outputs[a]);i.outputs.push(l),i.outputsLabel.push(l.output_label)}if(i.formSettings.supplier_verif&&!i.token){const a=yield i.generateTokenInsee();a.token&&(a.token.includes("ERROR")?(i.tokenError=!0,i.token=a.token.replace("ERROR : ","")):(i.tokenError=!1,i.token=a.token))}})()}generateTokenInsee(){var t=this;return xa(function*(){return yield t.http.get(m.N.url+"/ws/verifier/getTokenINSEE",{headers:t.authService.headers}).toPromise()})()}getThumb(t){var i=this;return xa(function*(){const a=t.split("-")[t.split("-").length-1].split(".")[0];return i.imgArray[a]?i.imgSrc=i.imgArray[a]:i.http.post(m.N.url+"/ws/verifier/getThumb",{args:{type:"full",filename:t}},{headers:i.authService.headers}).pipe((0,$e.b)(l=>{i.imgSrc=i.sanitizer.bypassSecurityTrustUrl("data:image/jpeg;base64, "+l.file),i.imgArray[a]=i.imgSrc}),(0,Ke.K)(l=>(console.debug(l),i.notify.handleErrors(l),(0,ie.of)(!1)))).subscribe(),i.imgSrc})()}_filter(t){this.toHighlight=t;const i=t.toLowerCase(),a=this.suppliers.filter(l=>-1!==l.name.toLowerCase().indexOf(i));return this.supplierExists=0!==a.length,this.supplierExists||this.form.supplier.forEach(l=>{"name"!==l.id&&(l.control.setValue(""),l.control.setErrors(null))}),a}_filter_data(t,i){this.toHighlight=t;const a=t.toLowerCase();return i.filter(l=>-1!==l.data.toLowerCase().indexOf(a))}updateFilteredOption(t,i){let a="";t.target.value?a=t.target.value:i.value&&(a=i.value),i.patchValue(a)}getFieldInfo(t){for(const i in this.fields)for(const a in this.form[i]){const l=this.form[i][a];if(l.id===t)return l}}drawPositions(){var t=this;return xa(function*(){for(const i in t.invoice.datas){const a=t.getPage(i),l=t.invoice.positions[i];if(l&&parseInt(String(a))===parseInt(String(t.currentPage))){const h=i.split("_"),E=t.getFieldInfo(i);let N="0";!isNaN(parseInt(h[h.length-1]))&&!i.includes("custom_")&&(N=h[h.length-1]),E&&(t.drawPositionByField(E,l,N),$("#"+E.id).blur())}}})()}drawPositionByField(t,i,a="0"){this.lastId=t.id,this.lastLabel=this.translate.instant(t.label).trim(),"0"!==a&&(this.lastLabel+=" "+parseInt(a)),this.lastColor=t.color,this.disableOCR=!0;const l={x:i.ocr_from_user?i.x/this.ratio:i.x/this.ratio-i.x/this.ratio*.005,y:i.ocr_from_user?i.y/this.ratio:i.y/this.ratio-i.y/this.ratio*.003,width:i.ocr_from_user?i.width/this.ratio:i.width/this.ratio+i.width/this.ratio*.05,height:i.ocr_from_user?i.height/this.ratio:i.height/this.ratio+i.height/this.ratio*.6},h=$(".trigger");h.hide(),h.trigger("mousedown"),h.trigger("mouseup",[l])}getPage(t){let i=1;return this.invoice.pages&&Object.keys(this.invoice.pages).forEach(a=>{a===t&&(i=this.invoice.pages[t])}),i}retrieveSuppliers(){var t=this;return xa(function*(){return yield t.http.get(m.N.url+"/ws/accounts/suppliers/list?order=name ASC",{headers:t.authService.headers}).toPromise()})()}getInvoice(){var t=this;return xa(function*(){return yield t.http.get(m.N.url+"/ws/verifier/invoices/"+t.invoiceId,{headers:t.authService.headers}).toPromise()})()}getForm(){var t=this;return xa(function*(){return t.invoice.form_id?yield t.http.get(m.N.url+"/ws/forms/fields/getByFormId/"+t.invoice.form_id,{headers:t.authService.headers}).toPromise():t.invoice.supplier_id?yield t.http.get(m.N.url+"/ws/forms/fields/getBySupplierId/"+t.invoice.supplier_id,{headers:t.authService.headers}).toPromise():yield t.http.get(m.N.url+"/ws/forms/getDefault/verifier",{headers:t.authService.headers}).toPromise()})()}getAllForm(){var t=this;return xa(function*(){return yield t.http.get(m.N.url+"/ws/forms/list?module=verifier",{headers:t.authService.headers}).toPromise()})()}getFormFieldsById(t){var i=this;return xa(function*(){return yield i.http.get(m.N.url+"/ws/forms/fields/getByFormId/"+t,{headers:i.authService.headers}).toPromise()})()}getFormById(t){var i=this;return xa(function*(){return yield i.http.get(m.N.url+"/ws/forms/getById/"+t,{headers:i.authService.headers}).toPromise()})()}fillForm(t){var i=this;return xa(function*(){i.form={supplier:[],facturation:[],other:[]},i.fields=t.fields;for(const a in i.fields)for(const l in i.fields[a]){const h=i.fields[a][l];i.form[a].push({id:h.id,label:h.label,required:h.required,control:new A.NI,type:h.type,pattern:i.getPattern(h.format),color:h.color,unit:h.unit,class:h.class,format:h.format,display:h.display,format_icon:h.format_icon,display_icon:h.display_icon,class_label:h.class_label,cpt:0,values:"",lineSelected:h.lineSelected,fullSizeSelected:h.fullSizeSelected});const E=i.form[a][i.form[a].length-1];if("accounting_plan"===h.id){let N={};N=yield i.retrieveAccountingPlan(),i.accountingPlanEmpty=0===Object.keys(N).length,i.accountingPlanEmpty&&(N=yield i.retrieveDefaultAccountingPlan()),i.accountingPlan=i.sortArray(N),E.values=i.form[a][l].control.valueChanges.pipe((0,mt.O)(""),(0,Mn.U)(oe=>oe?i._filter_accounting(i.accountingPlan,oe):i.accountingPlan))}if(i.invoice.datas[h.id]){let N=i.invoice.datas[h.id];if("date"===h.format&&""!==h.id&&void 0!==h.id&&N){N=N.replaceAll(".","/"),N=N.replaceAll(",","/"),N=N.replaceAll(" ","/");const oe=T().localeData().longDateFormat("L");N=T(N,oe),N=new Date(N._d)}E.control.setValue(N),E.control.markAsTouched(),("siret"===h.id||"siren"===h.id)&&i.checkSirenOrSiret(h.id,N),"vat_number"===h.id&&i.checkVAT(h.id,N)}if("name"===h.id&&"supplier"===a&&(i.supplierNamecontrol=i.form[a][l].control),h.lineSelected||h.fullSizeSelected){if(h.fullSizeSelected)for(const N in i.invoice.datas)N.includes(h.id+"_")&&i.duplicateLine(h.id,a,!0)}else i.findChildren(h.id,E,a)}})()}getOutputs(t){var i=this;return xa(function*(){return yield i.http.get(m.N.url+"/ws/outputs/getById/"+t,{headers:i.authService.headers}).toPromise()})()}_filter_accounting(t,i){this.toHighlightAccounting=i;const a=i.toLowerCase();return t.filter(l=>-1!==l.compte_lib.toLowerCase().indexOf(a)||-1!==l.compte_num.toLowerCase().indexOf(a))}sortArray(t){return t.sort((i,a)=>{const l=i.compte_num,h=a.compte_num;return l===h?0:l>h?1:-1})}retrieveAccountingPlan(){var t=this;return xa(function*(){return yield t.http.get(m.N.url+"/ws/accounts/customers/getAccountingPlan/"+t.invoice.customer_id,{headers:t.authService.headers}).toPromise()})()}retrieveDefaultAccountingPlan(){var t=this;return xa(function*(){return yield t.http.get(m.N.url+"/ws/accounts/customers/getDefaultAccountingPlan",{headers:t.authService.headers}).toPromise()})()}hideVisuals(){this.visualIsHide=!this.visualIsHide;const t=document.getElementsByClassName("select-areas-background-area");Array.from(t).forEach(i=>{const a=i.id.match(/(\d+)/)[0];this.visualIsHide?(document.getElementById("select-areas-background-area_"+a).style.display="none",document.getElementById("select-areas-outline_"+a).style.display="none",document.getElementById("select-areas-label-container_"+a).style.display="none"):(document.getElementById("select-areas-background-area_"+a).style.display="block",document.getElementById("select-areas-outline_"+a).style.display="block",document.getElementById("select-areas-label-container_"+a).style.display="block")})}findChildren(t,i,a){for(const l in this.invoice.datas)if(l.includes(t+"_")){i.cpt+=1;const h=l.split("_"),E=parseInt(h[h.length-1])+1;this.form[a].push({id:l,label:i.label,required:i.required,control:new A.NI,type:i.type,pattern:this.getPattern(i.format),color:i.color,unit:i.unit,class:i.class,format:i.format,display:"simple",format_icon:i.format_icon,display_icon:i.display_icon,class_label:i.class_label,cpt:E}),this.form[a][this.form[a].length-1].control.setValue(this.invoice.datas[l])}}getSelectionByCpt(t,i){for(const a in t)if(t[a].id===i)return t[a]}ocr(t,i,a="green"){$(".trigger").show();const l=this;this.lastId=t.target.id,this.lastLabel=t.target.labels[0].textContent.replace("*","").trim(),this.lastColor=a;const h=$(".image-container"),E=$(".delete-area"),N=$(".select-areas-background-area"),oe=$(".select-areas-resize-handler");if("END"!==this.invoice.status&&(E.addClass("pointer-events-auto"),N.addClass("pointer-events-auto"),oe.addClass("pointer-events-auto")),h.addClass("pointer-events-none"),h.addClass("cursor-auto"),i)$(".outline_"+l.lastId).toggleClass("animate"),this.scrollToElement(),"END"!==this.invoice.status&&(h.removeClass("pointer-events-none"),h.removeClass("cursor-auto")),this.imageInvoice.selectAreas({allowNudge:!1,minSize:[20,20],maxSize:[this.imageInvoice.width(),this.imageInvoice.height()/8],onChanged(xe,Ve,lt){if(0!==lt.length&&0!==lt.width&&0!==lt.height&&l.lastId){if($("#select-area-label_"+Ve).length>0){const Ft=$("#select-area-label_"+Ve).attr("class").replace("input_","").replace("select-none","");Ft.trim()!==l.lastId.trim()&&(l.lastId=Ft,l.lastLabel=$("#select-area-label_"+Ve).text())}l.ocr_process(xe,Ve,lt)}},onDeleted(xe,Ve){const lt=$("#select-area-label_"+Ve).attr("class").replace("input_","").replace("select-none","");lt&&(l.updateFormValue(lt,""),delete l.invoice.positions[lt.trim()],l.deleteDataOnChangeForm&&(l.deleteData(lt),l.deletePosition(lt),l.deletePage(lt)))}});else{let xe=!1;$(".select-areas-delete-area").click(()=>{xe=!0}),setTimeout(()=>{xe||(oe.hide(),E.hide())},200),$(".outline_"+l.lastId).removeClass("animate")}}scrollToElement(){if(this.invoice.positions[this.lastId]){const t=window.innerHeight;if(document.getElementsByClassName("input_"+this.lastId).length>0){const i=document.getElementsByClassName("input_"+this.lastId)[0].getBoundingClientRect().top;(i>=t||i<=t)&&document.getElementById("image").scrollTo({top:i-200,behavior:"smooth"})}}}ocr_process(t,i,a){const l=this.getPage(this.lastId);if(this.ocrFromUser||parseInt(String(l))===this.currentPage||0===l){if(0===$("#select-area-label_"+i).length){const oe=$("#select-areas-outline_"+i),xe=$("#select-areas-background-area_"+i),Ve=$("#select-areas-label-container_"+i),lt=$("#select-areas-delete_"+i),Ft=$(".select-areas-resize-handler_"+i);Ve.append('
'+this.lastLabel+"
"),xe.css("background-color",this.lastColor),oe.addClass("outline_"+this.lastId),xe.addClass("background_"+this.lastId),Ft.addClass("resize_"+this.lastId),lt.addClass("delete_"+this.lastId),xe.data("page",l),Ve.data("page",l),oe.data("page",l),"END"===this.invoice.status&&(oe.addClass("pointer-events-none"),xe.addClass("pointer-events-none"),Ft.addClass("pointer-events-none"),lt.addClass("pointer-events-none"))}const h=$("#select-area-label_"+i).attr("class").replace("input_","").replace("select-none","");$("#"+h).focus();const E=$("div[id*=select-area-label_]:contains("+this.lastLabel+")"),N=E.length;if(N>1){const oe=E[N-1].id.split("_")[1];$("#select-areas-label-container_"+oe).remove(),$("#select-areas-background-area_"+oe).remove(),$("#select-areas-outline_"+oe).remove(),$("#select-areas-delete_"+oe).remove(),$(".select-areas-resize-handler_"+oe).remove()}if(!this.isOCRRunning&&!this.loading&&this.saveInfo){this.isOCRRunning=!0;let oe=this.localeService.currentLang;0!==Object.keys(this.currentSupplier).length&&(oe=this.currentSupplier.document_lang),this.http.post(m.N.url+"/ws/verifier/ocrOnFly",{selection:this.getSelectionByCpt(a,i),fileName:this.currentFilename,lang:oe,thumbSize:{width:t.currentTarget.width,height:t.currentTarget.height}},{headers:this.authService.headers}).pipe((0,$e.b)(xe=>{this.isOCRRunning=!1;let Ve={x:0,y:0,width:0,height:0};this.invoice.positions[h.trim()]&&(Ve={x:this.invoice.positions[h.trim()].x/this.ratio-this.invoice.positions[h.trim()].x/this.ratio*.005,y:this.invoice.positions[h.trim()].y/this.ratio-this.invoice.positions[h.trim()].y/this.ratio*.003,width:this.invoice.positions[h.trim()].width/this.ratio+this.invoice.positions[h.trim()].width/this.ratio*.05,height:this.invoice.positions[h.trim()].height/this.ratio+this.invoice.positions[h.trim()].height/this.ratio*.6});const lt=this.getSelectionByCpt(a,i);lt.x!==Ve.x&<.y!==Ve.y&<.width!==Ve.width&<.height!==Ve.height&&(this.updateFormValue(h,xe.result),this.saveData(xe.result,this.lastId,!0)&&(this.savePosition(lt),this.savePages(this.currentPage).then()))}),(0,Ke.K)(xe=>(console.debug(xe),this.notify.handleErrors(xe),(0,ie.of)(!1)))).subscribe()}this.saveInfo=!0}else{const h=$(".input_"+this.lastId),E=$(".background_"+this.lastId),N=$(".outline_"+this.lastId);h.remove(),E.remove(),N.remove()}}updateFormValue(t,i){for(const a in this.form)this.form[a].forEach(l=>{if(l.id.trim()===t.trim()){if(("number_int"===l.format||"number_float"===l.format)&&(i=i.replace(/[A-Za-z\u20ac%$]/g,"")),"date"===l.type){const h=T().localeData().longDateFormat("L");i=T(i,h),i=new Date(i._d)}l.control.setValue(i),l.control.markAsTouched()}})}savePosition(t){t={ocr_from_user:!0,x:t.x*this.ratio,y:t.y*this.ratio,height:t.height*this.ratio,width:t.width*this.ratio},this.invoice.supplier_id&&this.http.put(m.N.url+"/ws/accounts/supplier/"+this.invoice.supplier_id+"/updatePosition",{args:{form_id:this.currentFormFields.form_id,[this.lastId]:t}},{headers:this.authService.headers}).pipe((0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe(),this.http.put(m.N.url+"/ws/verifier/invoices/"+this.invoice.id+"/updatePosition",{args:{[this.lastId]:t}},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.invoice.positions[this.lastId]=t}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}savePages(t){var i=this;return xa(function*(){i.invoice.supplier_id&&i.http.put(m.N.url+"/ws/accounts/supplier/"+i.invoice.supplier_id+"/updatePage",{args:{form_id:i.currentFormFields.form_id,[i.lastId]:t}},{headers:i.authService.headers}).pipe((0,Ke.K)(a=>(console.debug(a),i.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe(),i.http.put(m.N.url+"/ws/verifier/invoices/"+i.invoice.id+"/updatePage",{args:{[i.lastId]:t}},{headers:i.authService.headers}).pipe((0,$e.b)(()=>{i.invoice.pages[i.lastId]=t}),(0,Ke.K)(a=>(console.debug(a),i.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe()})()}saveData(t,i=!1,a=!1){if("END"!==this.invoice.status){const l=t;if(i){const h=this.getField(i);if(0!==Object.keys(h).length)return("addresses"===h.unit||"supplier"===h.unit)&&(a=!1),!h.control.errors&&this.invoice.datas[i]!==t&&(this.http.put(m.N.url+"/ws/verifier/invoices/"+this.invoice.id+"/updateData",{args:t={[i]:t}},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.invoice.datas[i]=l,a&&this.notify.success(this.translate.instant("INVOICES.position_and_data_updated",{input:this.lastLabel}))}),(0,Ke.K)(E=>(console.debug(E),this.notify.handleErrors(E),(0,ie.of)(!1)))).subscribe(),!0)}}return!1}createSupplier(){var t=this;const i={},a={};this.fields.supplier.forEach(l=>{const h=this.getField(l.id);"supplier"===l.unit&&(a[l.id]=h.control.value),"addresses"===l.unit&&(i[l.id]=h.control.value),this.saveData(h.control.value,l.id)}),this.http.post(m.N.url+"/ws/accounts/addresses/create",{args:i},{headers:this.authService.headers}).pipe((0,$e.b)(l=>{a.address_id=l.id,this.http.post(m.N.url+"/ws/accounts/suppliers/create",{args:a},{headers:this.authService.headers}).pipe((0,$e.b)(function(){var h=xa(function*(E){t.historyService.addHistory("accounts","create_supplier",t.translate.instant("HISTORY-DESC.create-supplier",{supplier:a.name})),t.notify.success(t.translate.instant("ACCOUNTS.supplier_created")),t.updateInvoice({supplier_id:E.id}),t.invoice.supplier_id=E.id,t.suppliers=yield t.retrieveSuppliers(),t.suppliers=t.suppliers.suppliers;for(const N of t.suppliers)N.id===t.invoice.supplier_id&&(t.currentSupplier=N)});return function(E){return h.apply(this,arguments)}}()),(0,Ke.K)(h=>(console.debug(h),this.notify.handleErrors(h),(0,ie.of)(!1)))).subscribe()}),(0,Ke.K)(l=>(console.debug(l),this.notify.handleErrors(l),(0,ie.of)(!1)))).subscribe()}editSupplier(){const t={},i={};this.fields.supplier.forEach(a=>{const l=this.getField(a.id);"supplier"===a.unit&&(t[a.id]=l.control.value),"addresses"===a.unit&&(i[a.id]=l.control.value),this.saveData(l.control.value,a.id)}),this.http.put(m.N.url+"/ws/accounts/suppliers/update/"+this.invoice.supplier_id,{args:t},{headers:this.authService.headers}).pipe((0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe(),this.http.put(m.N.url+"/ws/accounts/addresses/updateBySupplierId/"+this.invoice.supplier_id,{args:i},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.historyService.addHistory("accounts","update_supplier",this.translate.instant("HISTORY-DESC.update-supplier",{supplier:t.name})),this.notify.success(this.translate.instant("ACCOUNTS.supplier_updated"))}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe()}updateInvoice(t){this.http.put(m.N.url+"/ws/verifier/invoices/"+this.invoiceId+"/update",{args:t},{headers:this.authService.headers}).pipe((0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}getField(t){let i={};for(const a in this.form)this.form[a].forEach(l=>{l.id.trim()===t.trim()&&(i=l)});return i}deleteData(t,i=!1){let a;a=i?{fields:t,multiple:!0}:t.trim(),this.http.put(m.N.url+"/ws/verifier/invoices/"+this.invoice.id+"/deleteData",{args:a},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("INVOICES.data_deleted",{input:this.lastLabel}))}),(0,Ke.K)(l=>(console.debug(l),this.notify.handleErrors(l),(0,ie.of)(!1)))).subscribe()}deletePosition(t,i=!1){let a;a=i?{fields:t,multiple:!0}:t.trim(),this.http.put(m.N.url+"/ws/verifier/invoices/"+this.invoice.id+"/deletePosition",{args:a},{headers:this.authService.headers}).pipe((0,Ke.K)(l=>(console.debug(l),this.notify.handleErrors(l),(0,ie.of)(!1)))).subscribe(),this.invoice.supplier_id&&(a=i?{fields:t,multiple:!0,form_id:this.invoice.form_id}:{field_id:t.trim(),form_id:this.invoice.form_id},this.http.put(m.N.url+"/ws/accounts/suppliers/"+this.invoice.supplier_id+"/deletePosition",{args:a},{headers:this.authService.headers}).pipe((0,Ke.K)(l=>(console.debug(l),this.notify.handleErrors(l),(0,ie.of)(!1)))).subscribe())}deletePage(t,i=!1){let a;a=i?{fields:t,multiple:!0}:t.trim(),this.http.put(m.N.url+"/ws/verifier/invoices/"+this.invoice.id+"/deletePage",{args:a},{headers:this.authService.headers}).pipe((0,Ke.K)(l=>(console.debug(l),this.notify.handleErrors(l),(0,ie.of)(!1)))).subscribe(),this.invoice.supplier_id&&(a=i?{fields:t,multiple:!0,form_id:this.invoice.form_id}:{field_id:t.trim(),form_id:this.invoice.form_id},this.http.put(m.N.url+"/ws/accounts/suppliers/"+this.invoice.supplier_id+"/deletePage",{args:a},{headers:this.authService.headers}).pipe((0,Ke.K)(l=>(console.debug(l),this.notify.handleErrors(l),(0,ie.of)(!1)))).subscribe())}getPattern(t){let i="";for(const a in this.pattern)a===t&&(i=this.pattern[a]);return i}duplicateLine(t,i,a=!1){const l={},h={};if(this.form[i].forEach((E,N)=>{if(E.id.trim()===t.trim()){const oe=E.class.replace("w-1/","");if("full"!==oe)for(let xe=N-oe+1;xe<=N;xe++){const Ve=Object.assign({},this.form[i][xe]);if(this.form[i][xe].cpt+=1,Ve.id=Ve.id+"_"+this.form[i][xe].cpt,Ve.cpt=this.form[i][xe].cpt,Ve.display="simple",Ve.deleteLine=this.form[i][xe].fullSizeSelected,Ve.lineSelected=!0,Ve.fullSizeSelected=!1,Ve.control=new A.NI,this.invoice.datas[Ve.id]){let lt=this.invoice.datas[Ve.id];if("date"===Ve.format&&""!==Ve.id&&void 0!==Ve.id&<){lt=lt.replaceAll(".","/"),lt=lt.replaceAll(",","/"),lt=lt.replaceAll(" ","/");const Ft=T().localeData().longDateFormat("L");lt=T(lt,Ft),lt=new Date(lt._d)}Ve.control.setValue(lt),Ve.control.markAsTouched(),h[Ve.id]=lt}else l[Ve.id]="",h[Ve.id]="";this.form[i].splice(this.form[i][xe].cpt>1?xe+parseInt(oe)*parseInt(this.form[i][xe].cpt):xe+parseInt(oe),0,Ve),"accounting_plan"===Ve.id&&(this.form[i][N+E.cpt].values=this.form[i][N].control.valueChanges.pipe((0,mt.O)(""),(0,Mn.U)(lt=>lt?this._filter_accounting(this.accountingPlan,lt):this.accountingPlan)))}}}),a){let E=!0;Object.keys(h).forEach(N=>{h[N]&&(E=!1)}),E&&Object.keys(h).forEach(N=>{this.form[i].forEach((oe,xe)=>{if(N===oe.id){const Ve=oe.id.split("_").slice(0,-1).join("_");this.form[i].splice(xe,1),this.form[i].forEach(lt=>{lt.id.trim()===Ve.trim()&&(lt.cpt=lt.cpt-1)})}})})}else this.http.put(m.N.url+"/ws/verifier/invoices/"+this.invoice.id+"/updateData",{args:l},{headers:this.authService.headers}).pipe((0,Ke.K)(E=>(console.debug(E),this.notify.handleErrors(E),(0,ie.of)(!1)))).subscribe()}duplicateField(t,i){for(const a in this.form)a===i&&this.form[a].forEach((l,h)=>{if(l.id.trim()===t.trim()){const E=Object.assign({},l);E.id=E.id+"_"+l.cpt,l.cpt+=1,E.cpt=l.cpt,E.display="simple",E.control=new A.NI,this.form[a].splice(h+l.cpt,0,E),this.saveData("",E.id),this.notify.success(this.translate.instant("INVOICES.field_duplicated",{input:this.translate.instant(l.label)}))}})}removeDuplicateLine(t,i){const a=[];this.form[i].forEach((l,h)=>{if(l.id.trim()===t.trim()){const E=l.class.replace("w-1/","");if("full"!==E){for(let N=h-E+1;N<=h;N++){const oe=this.form[i][N].id.split("_").slice(0,-1).join("_");a.push(this.form[i][N].id),this.form[i].forEach(xe=>{xe.id.trim()===oe.trim()&&(xe.cpt=xe.cpt-1)})}this.form[i].splice(h+1-E,E)}}}),this.deleteData(a,!0),this.deletePosition(a,!0),this.deletePage(a,!0)}removeDuplicateField(t,i){const a=t.split("_").slice(0,-1).join("_");this.form[i].forEach((l,h)=>{l.id.trim()===t.trim()?(this.deleteData(l.id),this.deletePosition(l.id),this.deletePage(l.id),this.form[i].splice(h,1)):l.id.trim()===a.trim()&&(l.cpt=l.cpt-1)})}isChildField(t){const i=t.split("_");return Number.isInteger(parseInt(i[i.length-1]))&&!t.includes("custom_")}getSupplierInfo(t,i=!1,a=!1){this.suppliers.forEach(l=>{l.id===t&&this.http.get(m.N.url+"/ws/accounts/getAdressById/"+l.address_id,{headers:this.authService.headers}).pipe((0,$e.b)(h=>{const E={name:l.name,address1:h.address1,address2:h.address2,city:h.city,country:h.country,postal_code:h.postal_code,siret:l.siret,siren:l.siren,iban:l.iban,email:l.email,vat_number:l.vat_number};this.getOnlyRawFooter=l.get_only_raw_footer;for(const N in E)E[N]&&this.updateFormValue(N,E[N]);a||(this.updateInvoice({supplier_id:t}),this.saveData(E),this.http.put(m.N.url+"/ws/verifier/invoices/"+this.invoice.id+"/updateData",{args:E},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.invoice.supplier_id=t;for(const N of this.suppliers)N.id===this.invoice.supplier_id&&(this.currentSupplier=N);i&&this.notify.success(this.translate.instant("INVOICES.supplier_infos_updated"))}),(0,Ke.K)(N=>(console.debug(N),this.notify.handleErrors(N),(0,ie.of)(!1)))).subscribe())}),(0,Ke.K)(h=>(console.debug(h),this.notify.handleErrors(h),(0,ie.of)(!1)))).subscribe()})}verify(t,i,a=!1){if(a)return t.length===i;if(isNaN(t)||t.length!==i)return!1;let l=0,h=0;for(let E=i-1;E>=0;E--){const N=(t.charCodeAt(E)-48)*(l+1);h+=N>9?N-9:N,l=1-l}return h%10==0}getErrorMessage(t,i){let a;return this.form[i].forEach(l=>{if(l.id===t&&l.control.errors){const h=l.control.errors.required,E=l.control.errors.pattern,N=l.control.errors.matDatepickerParse,oe=l.control.errors.siret_error,xe=l.control.errors.siren_error,Ve=l.control.errors.vat_error;E?E.requiredPattern===this.getPattern("alphanum")?a=this.translate.instant("ERROR.alphanum_pattern"):E.requiredPattern===this.getPattern("alphanum_extended")?a=this.translate.instant("ERROR.alphanum_extended_pattern"):E.requiredPattern===this.getPattern("number_int")?a=this.translate.instant("ERROR.number_int_pattern"):E.requiredPattern===this.getPattern("number_float")?a=this.translate.instant("ERROR.number_float_pattern"):E.requiredPattern===this.getPattern("char")?a=this.translate.instant("ERROR.char_pattern"):E.requiredPattern===this.getPattern("email")&&(a=this.translate.instant("ERROR.email_pattern")):a=N?this.translate.instant("ERROR.date_pattern"):h?this.translate.instant("ERROR.field_required"):oe||xe||Ve||(this.tokenError?this.token:this.translate.instant("ERROR.unknow_error"))}}),a}setAutocompleteDefaultValue(t){t.isUserInput&&this.form.facturation.forEach(i=>{i.autocomplete_values&&(i.autocomplete_id=t.source.id)})}validateForm(){this.loadingSubmit=!0;let t=!0;const i={};for(const a in this.form)this.form[a].forEach(l=>{if(l.control.value){let h=l.control.value;if("date"===l.type){const E=T().localeData().longDateFormat("L");h=T(h,E),h=h.format(E)}Object.assign(i,{[l.id]:h})}l.control.errors&&(t=!1,l.control.markAsTouched(),this.notify.error(this.translate.instant("ERROR.form_not_valid")))});t?(this.saveData(i),0!==this.formSettings.outputs.length?this.formSettings.outputs.forEach((a,l)=>{this.http.get(m.N.url+"/ws/outputs/getById/"+a,{headers:this.authService.headers}).pipe((0,$e.b)(h=>{h.data.options.links&&this.form.facturation.forEach(E=>{E.autocomplete_values&&"export_maarch"===h.output_type_id&&(h.data.res_id=E.autocomplete_id)}),this.http.post(m.N.url+"/ws/verifier/invoices/"+this.invoice.id+"/"+h.output_type_id,{args:h},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{l+1===this.formSettings.outputs.length&&(this.historyService.addHistory("verifier","document_validated",this.translate.instant("HISTORY-DESC.document_validated",{document_id:this.invoiceId,outputs:this.outputsLabel.join(", ")})),this.updateInvoice({status:"END",locked:!1,locked_by:null}),this.router.navigate(["/verifier"]).then(),this.loadingSubmit=!1,this.formSettings.delete_documents_after_outputs&&this.http.get(m.N.url+"/ws/verifier/invoices/"+this.invoice.id+"/deleteDocuments",{headers:this.authService.headers}).pipe((0,Ke.K)(E=>(console.debug(E),this.notify.handleErrors(E),(0,ie.of)(!1)))).subscribe(),this.notify.success(this.translate.instant("VERIFIER.form_validated_and_output_done",{outputs:this.outputsLabel.join("
")})))}),(0,Ke.K)(E=>(this.loadingSubmit=!1,console.debug(E),this.notify.handleErrors(E),(0,ie.of)(!1)))).subscribe()}),(0,Ke.K)(h=>(console.debug(h),this.notify.handleErrors(h),(0,ie.of)(!1)))).subscribe()}):(this.notify.error(this.translate.instant("VERIFIER.no_outputs_for_this_form",{form:this.formSettings.label})),this.loadingSubmit=!1)):this.loadingSubmit=!1}refuseForm(){this.historyService.addHistory("verifier","document_refused",this.translate.instant("HISTORY-DESC.document_refused",{invoice_id:this.invoiceId})),this.updateInvoice({status:"ERR",locked:!1,locked_by:null}),this.notify.error(this.translate.instant("VERIFIER.document_refused")),this.router.navigate(["/verifier/list"]).then()}changeForm(t){var i=this;return xa(function*(){i.loading=!0;const a=t.value;for(const l in i.formList)i.formList[l].id===a&&(i.updateInvoice({form_id:a}),i.currentFormFields=yield i.getFormFieldsById(a),i.deleteDataOnChangeForm=!1,i.imageInvoice.selectAreas("destroy"),i.settingsOpen=!1,i.notify.success(i.translate.instant("VERIFIER.form_changed")),yield i.ngOnInit(),i.deleteDataOnChangeForm=!0)})()}nextPage(){this.currentPage1?(this.currentPage=this.currentPage-1,this.changeImage(this.currentPage,this.currentPage+1)):this.changeImage(this.invoice.nb_pages,this.currentPage)}changeImage(t,i){if(t){const a=this.currentFilename.split(".").pop(),l=("000"+i).substr(-3),h=("000"+t).substr(-3),E=this.currentFilename.replace(l+"."+a,h+"."+a);this.currentFilename=E,this.getThumb(E).then(),this.currentPage=t;for(const N in this.invoice.datas){const oe=this.getPage(N),xe=this.invoice.positions[N];if(xe){const Ve=$(".input_"+N),lt=$(".background_"+N),Ft=$(".outline_"+N),ii=$(".resize_"+N),fi=$(".delete_"+N);if(Ve.remove(),lt.remove(),Ft.remove(),ii.remove(),fi.remove(),parseInt(String(oe))===parseInt(String(this.currentPage))){this.lastId=N;const Wi=N.split("_");let Fn=this.getFieldInfo(N);if(!isNaN(parseInt(Wi[Wi.length-1]))&&!N.includes("custom_")){const ba=Wi[Wi.length-1],br=Wi.join("_").replace("_"+ba,"");Fn=this.getFieldInfo(br),Fn.label=this.translate.instant(Fn.label)+" "+(parseInt(ba)+1)}this.saveInfo=!1,Fn&&parseInt(String(oe))===this.currentPage&&this.drawPositionByField(Fn,xe)}}}}}checkSirenOrSiret(t,i){this.formSettings.supplier_verif&&"END"!==this.invoice.status&&("siren"===t&&this.oldSIREN!==i?this.verify(i,9)&&this.token?(this.oldSIREN=i,this.http.post(m.N.url+"/ws/verifier/verifySIREN",{token:this.token,siren:i},{headers:this.authService.headers}).pipe((0,Ke.K)(h=>(this.form.supplier.forEach(E=>{"siren"===E.id&&setTimeout(()=>{E.control.setErrors({siren_error:h.error.status}),E.control.markAsTouched()},100)}),(0,ie.of)(!1)))).subscribe()):this.form.supplier.forEach(h=>{"siren"===h.id&&setTimeout(()=>{h.control.setErrors(this.token?{siren_error:this.translate.instant("ERROR.wrong_siren_format")}:{siren_error:this.translate.instant("ERROR.insee_api_not_up")}),h.control.markAsTouched()},100)}):"siret"===t&&this.oldSIRET!==i&&(this.verify(i,14)&&this.token?(this.oldSIRET=i,this.http.post(m.N.url+"/ws/verifier/verifySIRET",{token:this.token,siret:i},{headers:this.authService.headers}).pipe((0,Ke.K)(h=>(this.form.supplier.forEach(E=>{"siret"===E.id&&setTimeout(()=>{E.control.setErrors({siret_error:h.error.status}),E.control.markAsTouched()},100)}),(0,ie.of)(!1)))).subscribe()):this.form.supplier.forEach(h=>{"siret"===h.id&&setTimeout(()=>{h.control.setErrors(this.token?{siret_error:this.translate.instant("ERROR.wrong_siret_format")}:{siret_error:this.translate.instant("ERROR.insee_api_not_up")}),h.control.markAsTouched()},100)})))}checkVAT(t,i){"vat_number"===t&&this.formSettings.supplier_verif&&"END"!==this.invoice.status&&this.oldVAT!==i&&(this.verify(i,13,!0)?(this.oldVAT=i,this.http.post(m.N.url+"/ws/verifier/verifyVATNumber",{vat_number:i},{headers:this.authService.headers}).pipe((0,Ke.K)(l=>(this.form.supplier.forEach(h=>{"vat_number"===h.id&&setTimeout(()=>{h.control.setErrors({vat_error:l.error.status}),h.control.markAsTouched()},100)}),(0,ie.of)(!1)))).subscribe()):this.form.supplier.forEach(l=>{"vat_number"===l.id&&setTimeout(()=>{l.control.setErrors(this.token?{vat_error:this.translate.instant("ERROR.wrong_vat_number_format")}:{vat_error:this.translate.instant("ERROR.ecu_api_not_up")}),l.control.markAsTouched()},100)}))}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Nt.gz),e.Y36(c.H7),e.Y36(pi.e),e.Y36(zi.K),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(jr),e.Y36(Al),e.Y36(kn.q),e.Y36(ua.n))},n.\u0275cmp=e.Xpm({type:n,selectors:[["verifier-viewer"]],features:[e._Bn([_e.uU])],decls:7,vars:4,consts:[[4,"ngIf"],[1,"grid","grid-cols-2","overflow-auto",2,"height","calc(100vh - 64px) !important"],[1,"fixed","z-50","text-xl","left-6","top-4"],["id","image",1,"overflow-auto",2,"height","calc(100vh - 64px) !important","direction","rtl"],["class","image-container px-4",4,"ngIf"],["class","px-4 overflow-auto pt-2",4,"ngIf"],[1,"fa","fa-arrow-left","cursor-pointer",3,"click"],[1,"fa","fa-arrow-right","cursor-pointer",3,"click"],[1,"image-container","px-4"],["id","document_image","alt","Open-Capture",3,"src"],[1,"px-4","overflow-auto","pt-2"],[1,"relative","float-left","top-5"],[1,"fa-solid","fa-eye","cursor-pointer","text-green-400","text-lg",3,"matTooltip","click"],[1,"relative","z-20","float-right",2,"width","96%"],[1,"top-2","mb-4",3,"expanded","expandedChange"],[1,"justify-center"],[1,"mx-5"],[3,"label"],[1,"mt-3","text-center","text-gray-400"],[1,"w-full"],[3,"value","disabled","valueChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[1,"mb-6","grid","grid-cols-2","gap-4","h-12","text-gray-900"],["mat-button","","type","submit",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300",3,"disabled","click"],["class","fa-solid text-2xl fa-circle-notch fa-spin text-gray-900","style","--fa-animation-duration: 1.5s;margin-top: -0.2rem;",4,"ngIf"],["mat-button","","type","submit",1,"border-solid","border-red-400","border","hover:bg-red-400","hover:text-white","transition","duration-300",3,"disabled","click"],[3,"value"],[1,"relative","text-xl","tracking-wider","pl-1.5","pr-1.5","bg-white","left-6","z-10"],["class","cursor-default relative top-1.5 text-red-500 text-3xl",3,"matTooltip",4,"ngIf"],["class","cursor-default relative top-1.5 text-green-400 text-3xl",3,"matTooltip",4,"ngIf"],["class","text-sm cursor-pointer ml-2",4,"ngIf"],[1,"relative","border-green-400","border","rounded-lg","-top-3.5"],[1,"flex","flex-wrap","w-full","my-3",2,"min-height","50px",3,"id"],["class","flex items-center px-3",3,"class",4,"ngFor","ngForOf"],[1,"cursor-default","relative","top-1.5","text-red-500","text-3xl",3,"matTooltip"],[1,"cursor-default","relative","top-1.5","text-green-400","text-3xl",3,"matTooltip"],[1,"text-sm","cursor-pointer","ml-2"],["class","fa-solid fa-edit",3,"click",4,"ngIf"],["class","fa-solid fa-plus",3,"click",4,"ngIf"],[1,"fa-solid","fa-edit",3,"click"],[1,"fa-solid","fa-plus",3,"click"],[1,"flex","items-center","px-3"],["class","relative -right-1.5 cursor-pointer text-gray-900","matTooltipPosition","above",3,"matTooltip","click",4,"ngIf"],["class","relative -right-1.5 cursor-pointer text-red-500","matTooltipPosition","above",3,"matTooltip","click",4,"ngIf"],["class","right-0 w-full form-viewer",3,"opacity-50","click",4,"ngIf","ngIfElse"],["other",""],[1,"right-0","w-full","form-viewer",3,"click"],[1,"overflow-ellipsis","overflow-hidden","whitespace-nowrap","w-8/12"],["matInput","","type","text",3,"id","required","readonly","formControl","pattern","matAutocomplete"],["class","mt-1",4,"ngIf"],[3,"id","optionSelected"],["auto","matAutocomplete"],[3,"value","id",4,"ngFor","ngForOf"],[1,"mt-1"],[3,"value","id"],[3,"innerHTML"],[1,"right-0","w-full","form-viewer"],["class","absolute -top-2 -right-2.5 cursor-pointer text-gray-900",3,"click",4,"ngIf"],["class","absolute -top-2 -right-2.5 cursor-pointer text-red-500",3,"click",4,"ngIf"],["matInput","","type","text",3,"id","formControl","required","pattern","readonly","click","focusin","focusout"],[1,"absolute","-top-2","-right-2.5","cursor-pointer","text-gray-900",3,"click"],[1,"text-lg"],[1,"absolute","-top-2","-right-2.5","cursor-pointer","text-red-500",3,"click"],[1,"text-xl"],["matInput","","cdkTextareaAutosize","","cdkAutosizeMinRows","1","cdkAutosizeMaxRows","5",3,"id","required","formControl","pattern","readonly","focusin","focusout"],["matInput","",3,"id","matDatepicker","formControl","readonly","required","focusin","focusout","dateChange"],["matSuffix","",3,"disabled","for"],["picker",""],["matInput","","type","text",3,"id","required","formControl","matAutocomplete","readonly","focusin","focusout"],["data","matAutocomplete"],[3,"value","id","onSelectionChange",4,"ngFor","ngForOf"],[3,"value","id","onSelectionChange"],[1,"text-green-400","ml-3",2,"font-size","12px"],["class","right-0 w-full form-viewer",3,"opacity-50",4,"ngIf"],["matInput","","type","text",3,"id","required","formControl","matAutocomplete","readonly"],["class","mt-1 h-6",4,"ngIf"],["accounting","matAutocomplete"],[1,"mt-1","h-6"],[3,"id","disabled"],["matTooltipPosition","above",1,"relative","-right-1.5","cursor-pointer","text-gray-900",3,"matTooltip","click"],["matTooltipPosition","above",1,"relative","-right-1.5","cursor-pointer","text-red-500",3,"matTooltip","click"],[1,"fa-solid","text-2xl","fa-circle-notch","fa-spin","text-gray-900",2,"--fa-animation-duration","1.5s","margin-top","-0.2rem"]],template:function(t,i){1&t&&(e.YNc(0,R2,2,0,"div",0),e.TgZ(1,"div",1)(2,"div",2),e.YNc(3,F2,6,8,"ng-container",0),e.qZA(),e.TgZ(4,"div",3),e.YNc(5,Hb,2,1,"div",4),e.qZA(),e.YNc(6,Vx,32,32,"div",5),e.qZA()),2&t&&(e.Q6J("ngIf",i.loading),e.xp6(3),e.Q6J("ngIf",!i.loading&&i.invoice&&i.invoice.nb_pages>1),e.xp6(2),e.Q6J("ngIf",i.invoice),e.xp6(1),e.Q6J("ngIf",i.fields))},dependencies:[_e.sg,_e.O5,Rt.TO,Rt.KE,Rt.bx,Rt.hX,Rt.R9,Be.gD,b.ey,Yb.IC,an.Nt,Xn,va.SP,va.uX,Y.lW,te,Ea,mo,Zt.pp,Zt.ib,Zt.yz,Zt.yK,de.XC,de.ZL,So,A.Fj,A.JJ,A.Q7,A.c5,A.oH,Cn.R,_e.Ov,$t.X$,Ic.S],styles:[".form-viewer>.mat-form-field-wrapper{padding-bottom:.75rem;padding-top:.75rem} .form-viewer>.mat-form-field-wrapper .mat-form-field-flex{height:3.5rem} .form-viewer>.mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix{width:100%} .form-viewer>.mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix div>button{visibility:hidden;opacity:0;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s;left:2rem} .form-viewer>.mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix div>button .mat-button-focus-overlay{background-color:transparent} .form-viewer>.mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix i{visibility:hidden;opacity:0;left:.125rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s;top:.125rem;top:7px} .form-viewer>.mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix .mat-form-field-label-wrapper>.mat-form-field-label>mat-label{margin-left:0;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s}"]}),n})();function Lv(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function cy(n,o){1&n&&(e.TgZ(0,"mat-header-cell",25),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.id")," "))}function dy(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.id," ")}}function uy(n,o){1&n&&(e.TgZ(0,"mat-header-cell",25),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ACCOUNTS.customer_name")," "))}function _y(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.name," ")}}function Gx(n,o){1&n&&(e.TgZ(0,"mat-header-cell",25),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ACCOUNTS.company_number")," "))}function Ov(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.company_number," ")}}function Kx(n,o){1&n&&(e.TgZ(0,"mat-header-cell",25),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ACCOUNTS.vat_number")," "))}function jx(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.vat_number," ")}}function Wx(n,o){1&n&&(e.TgZ(0,"mat-header-cell",25),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ACCOUNTS.siret")," "))}function qx(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.siret," ")}}function py(n,o){1&n&&(e.TgZ(0,"mat-header-cell",25),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ACCOUNTS.siren")," "))}function Jx(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.siren," ")}}function $x(n,o){1&n&&e._UZ(0,"mat-header-cell")}function hy(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-cell")(1,"button",26),e.NdJ("click",function(a){const h=e.CHM(t).$implicit,E=e.oxw();return a.stopPropagation(),e.KtG(E.deleteConfirmDialog(h.id,h.name))}),e.ALo(2,"translate"),e._UZ(3,"i",27),e.qZA()()}2&n&&(e.xp6(1),e.s9C("matTooltip",e.lcZ(2,1,"GLOBAL.delete")))}function zx(n,o){1&n&&e._UZ(0,"mat-header-row")}function Qx(n,o){1&n&&e._UZ(0,"mat-row",28),2&n&&e.MGl("routerLink","/accounts/customers/update/",o.$implicit.id,"")}const ys=function(){return[5,10,15,20,50]};let kp=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt,Ft,ii,fi){this.router=t,this.http=i,this.dialog=a,this.route=l,this.userService=h,this.formBuilder=E,this.authService=N,this.translate=oe,this.notify=xe,this.historyService=Ve,this.serviceSettings=lt,this.routerExtService=Ft,this.privilegesService=ii,this.localStorageService=fi,this.headers=this.authService.headers,this.loading=!0,this.columnsToDisplay=["id","name","company_number","vat_number","siret","siren","actions"],this.allCustomers=[],this.customers=[],this.pageSize=10,this.pageIndex=0,this.total=0,this.offset=0,this.search=""}ngOnInit(){this.authService.headersExists||this.authService.generateHeaders();const t=this.routerExtService.getPreviousUrl();t.includes("accounts/customers")||"/"===t?(this.localStorageService.get("customersPageIndex")&&(this.pageIndex=parseInt(this.localStorageService.get("customersPageIndex"))),this.offset=this.pageSize*this.pageIndex):this.localStorageService.remove("customersPageIndex"),this.http.get(m.N.url+"/ws/accounts/customers/list",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.allCustomers=i.customers}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe(),this.loadCustomers()}loadCustomers(){this.http.get(m.N.url+"/ws/accounts/customers/list?limit="+this.pageSize+"&offset="+this.offset+"&search="+this.search,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.customers=t.customers,0!==this.customers.length&&(this.total=t.customers[0].total)}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}searchCustomer(t){this.search=t.target.value,this.loadCustomers()}onPageChange(t){this.pageSize=t.pageSize,this.offset=this.pageSize*t.pageIndex,this.localStorageService.save("customersPageIndex",t.pageIndex),this.loadCustomers()}deleteConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("ACCOUNTS.confirm_delete_customer",{customer:i}),confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.deleteCustomer(t),this.historyService.addHistory("accounts","delete_customer",this.translate.instant("HISTORY-DESC.delete-customer",{customer:i})))})}deleteCustomer(t){void 0!==t&&this.http.delete(m.N.url+"/ws/accounts/customers/delete/"+t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadCustomers(),this.notify.success(this.translate.instant("ACCOUNTS.customer_deleted"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}sortData(t){const i=this.allCustomers.slice();t.active&&""!==t.direction?(this.customers=i.sort((a,l)=>{const h="asc"===t.direction;switch(t.active){case"id":return this.compare(a.id,l.id,h);case"name":return this.compare(a.name,l.name,h);case"company_number":return this.compare(a.company_number,l.company_number,h);case"vat_number":return this.compare(a.vat_number,l.vat_number,h);case"siret":return this.compare(a.siret,l.siret,h);case"siren":return this.compare(a.siren,l.siren,h);default:return 0}}),this.customers=this.customers.splice(0,this.pageSize)):this.customers=i.splice(0,this.pageSize)}compare(t,i,a){return(t{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt,Ft,ii,fi){this.router=t,this.http=i,this.dialog=a,this.route=l,this.userService=h,this.formBuilder=E,this.authService=N,this.translate=oe,this.notify=xe,this.historyService=Ve,this.serviceSettings=lt,this.routerExtService=Ft,this.privilegesService=ii,this.localStorageService=fi,this.columnsToDisplay=["id","name","email","vat_number","siret","siren","iban","form_label","actions"],this.headers=this.authService.headers,this.loading=!0,this.allSuppliers=[],this.suppliers=[],this.pageSize=10,this.pageIndex=0,this.total=0,this.offset=0,this.search=""}ngOnInit(){this.authService.headersExists||this.authService.generateHeaders();const t=this.routerExtService.getPreviousUrl();t.includes("accounts/suppliers")||"/"===t?(this.localStorageService.get("suppliersPageIndex")&&(this.pageIndex=parseInt(this.localStorageService.get("suppliersPageIndex"))),this.offset=this.pageSize*this.pageIndex):this.localStorageService.remove("suppliersPageIndex"),this.http.get(m.N.url+"/ws/accounts/suppliers/list",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.allSuppliers=i.suppliers}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe(),this.loadSuppliers()}loadSuppliers(){this.http.get(m.N.url+"/ws/accounts/suppliers/list?order=name&limit="+this.pageSize+"&offset="+this.offset+"&search="+this.search,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.suppliers=t.suppliers,0!==this.suppliers.length&&(this.total=t.suppliers[0].total),this.http.get(m.N.url+"/ws/forms/list?module=verifier",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{for(const a in this.suppliers)for(const l of i.forms)l.id===this.suppliers[a].form_id&&(this.suppliers[a].form_label=l.label)}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}searchSupplier(t){this.search=t.target.value,this.loadSuppliers()}onPageChange(t){this.pageSize=t.pageSize,this.offset=this.pageSize*t.pageIndex,this.localStorageService.save("suppliersPageIndex",t.pageIndex),this.loadSuppliers()}deleteConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("ACCOUNTS.confirm_delete_supplier",{supplier:i}),confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.deleteSupplier(t),this.historyService.addHistory("accounts","delete_supplier",this.translate.instant("HISTORY-DESC.delete-supplier",{supplier:i})))})}deletePositionsConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("ACCOUNTS.confirm_delete_supplier_positions",{supplier:i}),confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.deleteSupplierPositions(t),this.historyService.addHistory("accounts","delete_supplier_positions",this.translate.instant("HISTORY-DESC.delete-supplier-positions",{supplier:i})))})}skipAutoValidateConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("ACCOUNTS.confirm_skip_auto_validate",{supplier:i}),confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.skipAutoValidate(t),this.historyService.addHistory("accounts","skip_auto_validate",this.translate.instant("HISTORY-DESC.skip-auto-validate",{supplier:i})))})}deleteSupplier(t){void 0!==t&&this.http.delete(m.N.url+"/ws/accounts/suppliers/delete/"+t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadSuppliers(),this.notify.success(this.translate.instant("ACCOUNTS.supplier_deleted"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}skipAutoValidate(t){void 0!==t&&this.http.put(m.N.url+"/ws/accounts/suppliers/skipAutoValidate/"+t,{},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("ACCOUNTS.skip_validated_success"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}deleteSupplierPositions(t){void 0!==t&&this.http.delete(m.N.url+"/ws/accounts/suppliers/deletePositions/"+t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("ACCOUNTS.positions_deleted"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}sortData(t){const i=this.allSuppliers.slice();t.active&&""!==t.direction?(this.suppliers=i.sort((a,l)=>{const h="asc"===t.direction;switch(t.active){case"id":return this.compare(a.id,l.id,h);case"name":return this.compare(a.name,l.name,h);case"vat_number":return this.compare(a.vat_number,l.vat_number,h);case"siret":return this.compare(a.siret,l.siret,h);case"siren":return this.compare(a.siren,l.siren,h);case"iban":return this.compare(a.iban,l.iban,h);default:return 0}}),this.suppliers=this.suppliers.splice(0,this.pageSize)):this.suppliers=i.splice(0,this.pageSize)}compare(t,i,a){return(t{const a="data:"+t.mimetype+";base64, "+t.file,l=document.createElement("a");l.href=a,l.download=t.filename,l.click()}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}importSuppliers(t){const i=t.target.files[0];if(i){this.loading=!0;const a=new FormData;a.append(i.name,i),this.http.post(m.N.url+"/ws/accounts/supplier/importSuppliers",a,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("ACCOUNTS.suppliers_referencial_loaded")),this.loadSuppliers()}),(0,Ke.K)(l=>(console.debug(l),this.notify.handleErrors(l,"/accounts/suppliers/list"),(0,ie.of)(!1)))).subscribe()}}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Ui),e.Y36(Nt.gz),e.Y36(zi.K),e.Y36(A.qu),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q),e.Y36(xn.g),e.Y36($a.e),e.Y36(nn.y),e.Y36(ua.n))},n.\u0275cmp=e.Xpm({type:n,selectors:[["suppliers-list"]],decls:57,vars:29,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],[1,"absolute","left-4","top-0"],["matInput","","type","text",3,"disabled","keyup"],[1,"text-center"],[1,"border-green-400"],["routerLink","/accounts/suppliers/create",1,"relative","float-right","-top-12","right-4","ml-4"],[1,"fa-solid","fa-plus","text-2xl","ml-2"],[1,"ml-2","relative","-top-1"],[1,"relative","float-right","-top-12","right-4","ml-4",3,"matTooltip","disabled","click"],[1,"fa-solid","fa-file-export","text-2xl","ml-2"],["type","file","accept",".csv, .ods, .xlsx",1,"hidden",3,"change"],["suppliersUpload",""],[1,"fa-solid","fa-file-import","text-2xl","ml-2"],["matSort","",1,"w-full","table","relative","-top-8",3,"dataSource","matSortChange"],["matColumnDef","id"],["mat-sort-header","",4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","name"],["matColumnDef","email"],["matColumnDef","vat_number"],["matColumnDef","siret"],["matColumnDef","siren"],["matColumnDef","iban"],["matColumnDef","form_label"],["matColumnDef","actions"],[4,"matHeaderCellDef"],[4,"matHeaderRowDef"],["class","cursor-pointer hover:text-green-400 hover:shadow-md transition-colors duration-300",3,"routerLink",4,"matRowDef","matRowDefColumns"],["showFirstLastButtons","",3,"length","pageSize","pageIndex","pageSizeOptions","page"],["mat-sort-header",""],["mat-icon-button","",1,"inline-block","align-text-top",3,"matTooltip","click"],[1,"fa-solid","fa-trash","fa-lg"],[1,"fa-solid","fa-circle-xmark"],[1,"fa-solid","fa-forward","fa-lg"],[1,"cursor-pointer","hover:text-green-400","hover:shadow-md","transition-colors","duration-300",3,"routerLink"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav-content",1),e.YNc(2,my,2,0,"div",2),e.TgZ(3,"div",3)(4,"div",4)(5,"mat-form-field")(6,"mat-label"),e._uU(7),e.ALo(8,"translate"),e.qZA(),e.TgZ(9,"input",5),e.NdJ("keyup",function(h){return i.searchSupplier(h)}),e.qZA()()(),e.TgZ(10,"h3",6),e._uU(11),e.qZA(),e._UZ(12,"hr",7),e.TgZ(13,"button",8),e._UZ(14,"i",9),e.TgZ(15,"span",10),e._uU(16),e.ALo(17,"translate"),e.qZA()(),e.TgZ(18,"button",11),e.NdJ("click",function(){return i.getReferenceFile()}),e.ALo(19,"translate"),e._UZ(20,"i",12),e.qZA(),e.TgZ(21,"input",13,14),e.NdJ("change",function(h){return i.importSuppliers(h)}),e.qZA(),e.TgZ(23,"button",11),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(22);return e.KtG(h.click())}),e.ALo(24,"translate"),e._UZ(25,"i",15),e.qZA()(),e.TgZ(26,"mat-table",16),e.NdJ("matSortChange",function(h){return i.sortData(h)}),e.ynx(27,17),e.YNc(28,gy,3,3,"mat-header-cell",18),e.YNc(29,U2,2,1,"mat-cell",19),e.BQk(),e.ynx(30,20),e.YNc(31,Z2,3,3,"mat-header-cell",18),e.YNc(32,Xx,2,1,"mat-cell",19),e.BQk(),e.ynx(33,21),e.YNc(34,e1,3,3,"mat-header-cell",18),e.YNc(35,fm,2,1,"mat-cell",19),e.BQk(),e.ynx(36,22),e.YNc(37,fy,3,3,"mat-header-cell",18),e.YNc(38,kv,2,1,"mat-cell",19),e.BQk(),e.ynx(39,23),e.YNc(40,Cy,3,3,"mat-header-cell",18),e.YNc(41,t1,2,1,"mat-cell",19),e.BQk(),e.ynx(42,24),e.YNc(43,vy,3,3,"mat-header-cell",18),e.YNc(44,xy,2,1,"mat-cell",19),e.BQk(),e.ynx(45,25),e.YNc(46,by,3,3,"mat-header-cell",18),e.YNc(47,Iv,2,1,"mat-cell",19),e.BQk(),e.ynx(48,26),e.YNc(49,n1,3,3,"mat-header-cell",18),e.YNc(50,a1,2,1,"mat-cell",19),e.BQk(),e.ynx(51,27),e.YNc(52,Mf,1,0,"mat-header-cell",28),e.YNc(53,Pv,10,9,"mat-cell",19),e.BQk(),e.YNc(54,Y2,1,0,"mat-header-row",29),e.YNc(55,o1,1,1,"mat-row",30),e.qZA(),e.TgZ(56,"mat-paginator",31),e.NdJ("page",function(h){return i.onPageChange(h)}),e.qZA()()()}2&t&&(e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(5),e.Oqu(e.lcZ(8,20,"ACCOUNTS.search_supplier")),e.xp6(2),e.Q6J("disabled",i.loading),e.xp6(2),e.Oqu(i.serviceSettings.getTitle()),e.xp6(5),e.Oqu(e.lcZ(17,22,"ACCOUNTS.create_supplier")),e.xp6(2),e.ekj("hidden",!i.privilegesService.hasPrivilege("export_suppliers")),e.Q6J("matTooltip",e.lcZ(19,24,"ACCOUNTS.export_suppliers"))("disabled",i.loading),e.xp6(5),e.ekj("hidden",!i.privilegesService.hasPrivilege("import_suppliers")),e.Q6J("matTooltip",e.lcZ(24,26,"ACCOUNTS.import_suppliers"))("disabled",i.loading),e.xp6(3),e.Q6J("dataSource",i.suppliers),e.xp6(28),e.Q6J("matHeaderRowDef",i.columnsToDisplay),e.xp6(1),e.Q6J("matRowDefColumns",i.columnsToDisplay),e.xp6(1),e.Q6J("length",i.total)("pageSize",i.pageSize)("pageIndex",i.pageIndex)("pageSizeOptions",e.DdM(28,yy)))},dependencies:[_e.O5,Nt.rH,Rt.KE,Rt.hX,an.Nt,Xn,Vt.TM,Vt.Rh,Y.lW,nr,jo,Oo,Ao,Ko,ar,Lo,co,Cr,Ja,Co,Go,ns,Cn.R,$t.X$]}),n})();const Ip=["countryAutocomplete"];function Ty(n,o){if(1&n&&(e.TgZ(0,"mat-label"),e._uU(1),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Oqu(t.label)}}function s1(n,o){if(1&n&&e._UZ(0,"mat-icon",9),2&n){const t=e.oxw();e.Q6J("svgIcon",null==t.value||null==t.value.alpha2Code?null:t.value.alpha2Code.toLowerCase())}}function Rv(n,o){1&n&&e._UZ(0,"mat-progress-bar",10)}const My=function(n,o){return[n,o]};function Dy(n,o){if(1&n&&(e.TgZ(0,"small"),e._uU(1),e.ALo(2,"joinStrings"),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,e.WLB(3,My,null==t?null:t.name,null==t?null:t.alpha3Code)))}}function H2(n,o){if(1&n&&(e.TgZ(0,"small"),e._uU(1),e.ALo(2,"joinStrings"),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.Oqu(e.xi3(2,1,e.WLB(4,My,null==t?null:t.name,"("+(null==t?null:t.callingCode)+")")," "))}}function Ey(n,o){if(1&n&&(e.TgZ(0,"mat-option",11),e._UZ(1,"mat-icon",12),e.YNc(2,Dy,3,6,"small",1),e.YNc(3,H2,3,7,"small",1),e.qZA()),2&n){const t=o.$implicit,i=e.oxw();e.Q6J("value",null==t?null:t.name),e.xp6(1),e.Q6J("svgIcon",null==t||null==t.alpha2Code?null:t.alpha2Code.toLowerCase()),e.xp6(1),e.Q6J("ngIf",!i.showCallingCode),e.xp6(1),e.Q6J("ngIf",i.showCallingCode)}}const l1=new e.OlP("MatSelectCountryLangToken");let wy=(()=>{class n{transform(t,i){return t.filter(Boolean).join(i||" - ")}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275pipe=e.Yjl({name:"joinStrings",type:n,pure:!0}),n})(),Cm=(()=>{class n{constructor(t,i){this.i18n=t,this.cdRef=i,this.countries=[],this.placeHolder="Select country",this.showCallingCode=!1,this.excludedCountries=[],this.name="country",this.onCountrySelected=new e.vpe,this.debounceTime=300,this.filterString="",this.modelChanged=new Ye.x,this.countries$=new Dl.X([]),this.excludedCountries$=new Dl.X([]),this.value$=new Dl.X(null),this.unsubscribe$=new Ye.x,this.propagateChange=a=>{}}get value(){return this._value}set value(t){this.value$.next(t)}ngOnInit(){(0,qi.a)([this.countries$,this.value$,this.excludedCountries$]).pipe((0,fe.b)(0),(0,$i.R)(this.unsubscribe$)).subscribe(([t,i,a])=>{this._populateCountries(t,a),i&&this._setValue(i)}),this.countries.length||this._loadCountriesFromDb(),this.modelChanged.pipe((0,mt.O)(""),(0,fe.b)(this.debounceTime),(0,$i.R)(this.unsubscribe$)).subscribe(t=>{this.filterString=t,this._filter(t)})}ngOnChanges(t){var i,a,l;if(!(null===(i=t.countries)||void 0===i)&&i.currentValue&&this.countries$.next(t.countries.currentValue),!(null===(a=t.excludedCountries)||void 0===a)&&a.currentValue&&this.excludedCountries$.next(t.excludedCountries.currentValue),null!==(l=t.language)&&void 0!==l&&l.currentValue){let h=this._value;this.filterString="",this.inputChanged(""),this._setValue(null),this.onCountrySelected.emit(null),this._loadCountriesFromDb(null==h?void 0:h.alpha2Code)}}onBlur(){!this.inputElement.value&&this.nullable&&this.statesAutocompleteRef.panel&&(this._setValue(null),this.onCountrySelected.emit(null))}onOptionsSelected(t){const i=this.countries.find(a=>a.name===t.option.value);this._setValue(i),this.onCountrySelected.emit(i)}writeValue(t){t&&(this.value=t)}registerOnChange(t){this.propagateChange=t}registerOnTouched(t){}setDisabledState(t){this.disabled=t}autocompleteScroll(){this.itemsLoadSize&&setTimeout(()=>{this.statesAutocompleteRef&&this.autocompleteTrigger&&this.statesAutocompleteRef.panel&&(0,is.R)(this.statesAutocompleteRef.panel.nativeElement,"scroll").pipe((0,$i.R)(this.autocompleteTrigger.panelClosingActions)).subscribe(()=>{this.statesAutocompleteRef.panel.nativeElement.scrollHeight===this.statesAutocompleteRef.panel.nativeElement.scrollTop+this.statesAutocompleteRef.panel.nativeElement.clientHeight&&""===this.filterString&&(this.filteredOptions=[...this.filteredOptions,...this.countries.slice(this.filteredOptions.length,+this.filteredOptions.length+ +this.itemsLoadSize)])})})}inputChanged(t){this.modelChanged.next(t)}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}_loadCountriesFromDb(t){this.loadingDB=!0,this._importLang().then(i=>{this.countries$.next(i),this._setValue(i.find(a=>a.alpha2Code==t))}).catch(i=>console.error("Error: "+i)).finally(()=>this.loadingDB=!1)}_populateCountries(t,i){const a=i.map(l=>l.alpha2Code);this.countries=t.filter(l=>!a.includes(l.alpha2Code))}_setValue(t){if(t&&(!t.name||"Unknown"===t.name)){const i=this.countries.find(a=>a.alpha2Code===t.alpha2Code);i&&(t=i)}this._value=null!=t&&t.name?t:null,this.propagateChange(this._value)}_importLang(){switch(this.language||this.i18n){case"br":return Promise.resolve().then(function(){return Ay}).then(i=>i.COUNTRIES_DB_BR).then(i=>i);case"by":return Promise.resolve().then(function(){return c1}).then(i=>i.COUNTRIES_DB_BY).then(i=>i);case"de":return Promise.resolve().then(function(){return Oy}).then(i=>i.COUNTRIES_DB_DE).then(i=>i);case"es":return Promise.resolve().then(function(){return d1}).then(i=>i.COUNTRIES_DB_ES).then(i=>i);case"fr":return Promise.resolve().then(function(){return u1}).then(i=>i.COUNTRIES_DB_FR).then(i=>i);case"hr":return Promise.resolve().then(function(){return Ry}).then(i=>i.COUNTRIES_DB_HR).then(i=>i);case"hu":return Promise.resolve().then(function(){return _1}).then(i=>i.COUNTRIES_DB_HU).then(i=>i);case"it":return Promise.resolve().then(function(){return K2}).then(i=>i.COUNTRIES_DB_IT).then(i=>i);case"nl":return Promise.resolve().then(function(){return J2}).then(i=>i.COUNTRIES_DB_NL).then(i=>i);case"pt":return Promise.resolve().then(function(){return Df}).then(i=>i.COUNTRIES_DB_PT).then(i=>i);case"ru":return Promise.resolve().then(function(){return p1}).then(i=>i.COUNTRIES_DB_RU).then(i=>i);case"ua":return Promise.resolve().then(function(){return Bv}).then(i=>i.COUNTRIES_DB_UA).then(i=>i);case"gl":return Promise.resolve().then(function(){return j2}).then(i=>i.COUNTRIES_DB_GL).then(i=>i);case"eu":return Promise.resolve().then(function(){return q2}).then(i=>i.COUNTRIES_DB_EU).then(i=>i);case"ca":return Promise.resolve().then(function(){return W2}).then(i=>i.COUNTRIES_DB_CA).then(i=>i);default:return Promise.resolve().then(function(){return ky}).then(i=>i.COUNTRIES_DB).then(i=>i)}}_filter(t){const i=t.toLowerCase();this.filteredOptions=this.itemsLoadSize&&""===i?this.countries.slice(0,this.itemsLoadSize):this.countries.filter(a=>a.name.toLowerCase().includes(i)||a.alpha2Code.toLowerCase().includes(i)||a.alpha3Code.toLowerCase().includes(i)),this.cdRef.markForCheck()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36((0,e.Gpc)(()=>l1)),e.Y36(e.sBO))},n.\u0275cmp=e.Xpm({type:n,selectors:[["mat-select-country"]],viewQuery:function(t,i){if(1&t&&(e.Gf(Ip,5),e.Gf(de.ZL,5),e.Gf(an.Nt,5)),2&t){let a;e.iGM(a=e.CRH())&&(i.statesAutocompleteRef=a.first),e.iGM(a=e.CRH())&&(i.autocompleteTrigger=a.first),e.iGM(a=e.CRH())&&(i.inputElement=a.first)}},inputs:{appearance:"appearance",countries:"countries",label:"label",placeHolder:"placeHolder",required:"required",disabled:"disabled",nullable:"nullable",readonly:"readonly",tabIndex:"tabIndex",class:"class",itemsLoadSize:"itemsLoadSize",loading:"loading",showCallingCode:"showCallingCode",excludedCountries:"excludedCountries",autocomplete:"autocomplete",language:"language",name:"name",value:"value"},outputs:{onCountrySelected:"onCountrySelected"},features:[e._Bn([{provide:A.JU,useExisting:(0,e.Gpc)(()=>n),multi:!0}]),e.TTD],decls:9,vars:16,consts:[[3,"appearance"],[4,"ngIf"],["class","mr-12 s-20 secondary-text","matSuffix","",3,"svgIcon",4,"ngIf"],["aria-label","country","matInput","","type","text",3,"matAutocomplete","placeholder","readonly","tabIndex","value","required","disabled","autocomplete","name","blur","input"],["inputElement",""],["mode","buffer",4,"ngIf"],[3,"opened","optionSelected"],["countryAutocomplete","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],["matSuffix","",1,"mr-12","s-20","secondary-text",3,"svgIcon"],["mode","buffer"],[3,"value"],[3,"svgIcon"]],template:function(t,i){if(1&t&&(e.TgZ(0,"mat-form-field",0),e.YNc(1,Ty,2,1,"mat-label",1),e.YNc(2,s1,1,1,"mat-icon",2),e.TgZ(3,"input",3,4),e.NdJ("blur",function(){return i.onBlur()})("input",function(l){return i.inputChanged(null==l||null==l.target?null:l.target.value)}),e.qZA(),e.YNc(5,Rv,1,0,"mat-progress-bar",5),e.TgZ(6,"mat-autocomplete",6,7),e.NdJ("opened",function(){return i.autocompleteScroll()})("optionSelected",function(l){return i.onOptionsSelected(l)}),e.YNc(8,Ey,4,4,"mat-option",8),e.qZA()()),2&t){const a=e.MAs(7);e.Q6J("appearance",i.appearance),e.xp6(1),e.Q6J("ngIf",i.label),e.xp6(1),e.Q6J("ngIf",i.value),e.xp6(1),e.Tol(i.class),e.Q6J("matAutocomplete",a)("placeholder",i.placeHolder)("readonly",i.readonly)("tabIndex",i.tabIndex)("value",i.showCallingCode?i.value?(null==i.value?null:i.value.name)+" ("+(null==i.value?null:i.value.callingCode)+")":"":null==i.value?null:i.value.name)("required",i.required)("disabled",i.disabled||i.loadingDB)("autocomplete",i.autocomplete)("name",i.name),e.xp6(2),e.Q6J("ngIf",i.loadingDB||i.loading),e.xp6(3),e.Q6J("ngForOf",i.filteredOptions)}},dependencies:[_e.sg,_e.O5,Rt.KE,Rt.hX,Rt.R9,an.Nt,de.XC,de.ZL,b.ey,So,Du,wy]}),n})();var Ay=Object.freeze({__proto__:null,COUNTRIES_DB_BR:[{name:"Afeganist\xe3o",alpha2Code:"AF",alpha3Code:"AFG",numericCode:"004",callingCode:"+93"},{name:"Ilhas de Aland",alpha2Code:"AX",alpha3Code:"ALA",numericCode:"248",callingCode:"+358"},{name:"Alb\xe2nia",alpha2Code:"AL",alpha3Code:"ALB",numericCode:"008",callingCode:"+355"},{name:"Arg\xe9lia",alpha2Code:"DZ",alpha3Code:"DZA",numericCode:"012",callingCode:"+213"},{name:"Samoa Americana",alpha2Code:"AS",alpha3Code:"ASM",numericCode:"016",callingCode:"+1684"},{name:"Andorra",alpha2Code:"AD",alpha3Code:"AND",numericCode:"020",callingCode:"+376"},{name:"Angola",alpha2Code:"AO",alpha3Code:"AGO",numericCode:"024",callingCode:"+244"},{name:"Anguila",alpha2Code:"AI",alpha3Code:"AIA",numericCode:"660",callingCode:"+1264"},{name:"Ant\xe1rtida",alpha2Code:"AQ",alpha3Code:"ATA",numericCode:"010",callingCode:"+672"},{name:"Ant\xedgua e Barbuda",alpha2Code:"AG",alpha3Code:"ATG",numericCode:"028",callingCode:"+1268"},{name:"Argentina",alpha2Code:"AR",alpha3Code:"ARG",numericCode:"032",callingCode:"+54"},{name:"Arm\xeania",alpha2Code:"AM",alpha3Code:"ARM",numericCode:"051",callingCode:"+374"},{name:"Aruba",alpha2Code:"AW",alpha3Code:"ABW",numericCode:"533",callingCode:"+297"},{name:"Austr\xe1lia",alpha2Code:"AU",alpha3Code:"AUS",numericCode:"036",callingCode:"+61"},{name:"\xe1ustria",alpha2Code:"AT",alpha3Code:"AUT",numericCode:"040",callingCode:"+43"},{name:"Azerbaij\xe3o",alpha2Code:"AZ",alpha3Code:"AZE",numericCode:"031",callingCode:"+994"},{name:"Bahamas",alpha2Code:"BS",alpha3Code:"BHS",numericCode:"044",callingCode:"+1242"},{name:"Bahrein",alpha2Code:"BH",alpha3Code:"BHR",numericCode:"048",callingCode:"+973"},{name:"Bangladesh",alpha2Code:"BD",alpha3Code:"BGD",numericCode:"050",callingCode:"+880"},{name:"Barbados",alpha2Code:"BB",alpha3Code:"BRB",numericCode:"052",callingCode:"+1246"},{name:"Bielorr\xfassia",alpha2Code:"BY",alpha3Code:"BLR",numericCode:"112",callingCode:"+375"},{name:"B\xe9lgica",alpha2Code:"BE",alpha3Code:"BEL",numericCode:"056",callingCode:"+32"},{name:"Belize",alpha2Code:"BZ",alpha3Code:"BLZ",numericCode:"084",callingCode:"+501"},{name:"Benin",alpha2Code:"BJ",alpha3Code:"BEN",numericCode:"204",callingCode:"+229"},{name:"Bermudas",alpha2Code:"BM",alpha3Code:"BMU",numericCode:"060",callingCode:"+1441"},{name:"But\xe3o",alpha2Code:"BT",alpha3Code:"BTN",numericCode:"064",callingCode:"+975"},{name:"Bol\xedvia",alpha2Code:"BO",alpha3Code:"BOL",numericCode:"068",callingCode:"+591"},{name:"Bonaire",alpha2Code:"BQ",alpha3Code:"BES",numericCode:"535",callingCode:"+5997"},{name:"B\xf3snia e Herzegovina",alpha2Code:"BA",alpha3Code:"BIH",numericCode:"070",callingCode:"+387"},{name:"Botsuana",alpha2Code:"BW",alpha3Code:"BWA",numericCode:"072",callingCode:"+267"},{name:"Ilha Bouvet",alpha2Code:"BV",alpha3Code:"BVT",numericCode:"074",callingCode:"+"},{name:"Brasil",alpha2Code:"BR",alpha3Code:"BRA",numericCode:"076",callingCode:"+55"},{name:"Territ\xf3rio Brit\xe2nico do Oceano \xed\xcddico",alpha2Code:"IO",alpha3Code:"IOT",numericCode:"086",callingCode:"+246"},{name:"Ilhas Menores Distantes dos Estados Unidos",alpha2Code:"UM",alpha3Code:"UMI",numericCode:"581",callingCode:"+"},{name:"Ilhas Virgens Brit\xe2nicas",alpha2Code:"VG",alpha3Code:"VGB",numericCode:"092",callingCode:"+1284"},{name:"Ilhas Virgens Americanas",alpha2Code:"VI",alpha3Code:"VIR",numericCode:"850",callingCode:"+1 340"},{name:"Brunei",alpha2Code:"BN",alpha3Code:"BRN",numericCode:"096",callingCode:"+673"},{name:"Bulg\xe1ria",alpha2Code:"BG",alpha3Code:"BGR",numericCode:"100",callingCode:"+359"},{name:"Burkina Faso",alpha2Code:"BF",alpha3Code:"BFA",numericCode:"854",callingCode:"+226"},{name:"Burundi",alpha2Code:"BI",alpha3Code:"BDI",numericCode:"108",callingCode:"+257"},{name:"Camboja",alpha2Code:"KH",alpha3Code:"KHM",numericCode:"116",callingCode:"+855"},{name:"Camar\xf5es",alpha2Code:"CM",alpha3Code:"CMR",numericCode:"120",callingCode:"+237"},{name:"Canad\xe1",alpha2Code:"CA",alpha3Code:"CAN",numericCode:"124",callingCode:"+1"},{name:"Cabo Verde",alpha2Code:"CV",alpha3Code:"CPV",numericCode:"132",callingCode:"+238"},{name:"Ilhas Cayman",alpha2Code:"KY",alpha3Code:"CYM",numericCode:"136",callingCode:"+1345"},{name:"Rep\xfablica Centro-Africana",alpha2Code:"CF",alpha3Code:"CAF",numericCode:"140",callingCode:"+236"},{name:"Chade",alpha2Code:"TD",alpha3Code:"TCD",numericCode:"148",callingCode:"+235"},{name:"Chile",alpha2Code:"CL",alpha3Code:"CHL",numericCode:"152",callingCode:"+56"},{name:"China",alpha2Code:"CN",alpha3Code:"CHN",numericCode:"156",callingCode:"+86"},{name:"Ilha Christmas",alpha2Code:"CX",alpha3Code:"CXR",numericCode:"162",callingCode:"+61"},{name:"Ilhas Cocos",alpha2Code:"CC",alpha3Code:"CCK",numericCode:"166",callingCode:"+61"},{name:"Col\xf4mbia",alpha2Code:"CO",alpha3Code:"COL",numericCode:"170",callingCode:"+57"},{name:"Comores",alpha2Code:"KM",alpha3Code:"COM",numericCode:"174",callingCode:"+269"},{name:"Congo",alpha2Code:"CG",alpha3Code:"COG",numericCode:"178",callingCode:"+242"},{name:"RD Congo",alpha2Code:"CD",alpha3Code:"COD",numericCode:"180",callingCode:"+243"},{name:"Ilhas Cook",alpha2Code:"CK",alpha3Code:"COK",numericCode:"184",callingCode:"+682"},{name:"Costa Rica",alpha2Code:"CR",alpha3Code:"CRI",numericCode:"188",callingCode:"+506"},{name:"Cro\xe1cia",alpha2Code:"HR",alpha3Code:"HRV",numericCode:"191",callingCode:"+385"},{name:"Cuba",alpha2Code:"CU",alpha3Code:"CUB",numericCode:"192",callingCode:"+53"},{name:"Cura\xe7ao",alpha2Code:"CW",alpha3Code:"CUW",numericCode:"531",callingCode:"+599"},{name:"Chipre",alpha2Code:"CY",alpha3Code:"CYP",numericCode:"196",callingCode:"+357"},{name:"Rep\xfablica Tcheca",alpha2Code:"CZ",alpha3Code:"CZE",numericCode:"203",callingCode:"+420"},{name:"Dinamarca",alpha2Code:"DK",alpha3Code:"DNK",numericCode:"208",callingCode:"+45"},{name:"Djibuti",alpha2Code:"DJ",alpha3Code:"DJI",numericCode:"262",callingCode:"+253"},{name:"Dominica",alpha2Code:"DM",alpha3Code:"DMA",numericCode:"212",callingCode:"+1767"},{name:"Rep\xfablica Dominicana",alpha2Code:"DO",alpha3Code:"DOM",numericCode:"214",callingCode:"+1809"},{name:"Equador",alpha2Code:"EC",alpha3Code:"ECU",numericCode:"218",callingCode:"+593"},{name:"Egito",alpha2Code:"EG",alpha3Code:"EGY",numericCode:"818",callingCode:"+20"},{name:"El Salvador",alpha2Code:"SV",alpha3Code:"SLV",numericCode:"222",callingCode:"+503"},{name:"Guin\xe9 Equatorial",alpha2Code:"GQ",alpha3Code:"GNQ",numericCode:"226",callingCode:"+240"},{name:"Eritreia",alpha2Code:"ER",alpha3Code:"ERI",numericCode:"232",callingCode:"+291"},{name:"Est\xf4nia",alpha2Code:"EE",alpha3Code:"EST",numericCode:"233",callingCode:"+372"},{name:"Eti\xf3pia",alpha2Code:"ET",alpha3Code:"ETH",numericCode:"231",callingCode:"+251"},{name:"Ilhas Malvinas",alpha2Code:"FK",alpha3Code:"FLK",numericCode:"238",callingCode:"+500"},{name:"Ilhas Faro\xe9",alpha2Code:"FO",alpha3Code:"FRO",numericCode:"234",callingCode:"+298"},{name:"Fiji",alpha2Code:"FJ",alpha3Code:"FJI",numericCode:"242",callingCode:"+679"},{name:"Finl\xe2ndia",alpha2Code:"FI",alpha3Code:"FIN",numericCode:"246",callingCode:"+358"},{name:"Fran\xe7a",alpha2Code:"FR",alpha3Code:"FRA",numericCode:"250",callingCode:"+33"},{name:"Guiana Francesa",alpha2Code:"GF",alpha3Code:"GUF",numericCode:"254",callingCode:"+594"},{name:"Polin\xe9sia Francesa",alpha2Code:"PF",alpha3Code:"PYF",numericCode:"258",callingCode:"+689"},{name:"Terras Austrais e Ant\xe1rticas Francesas",alpha2Code:"TF",alpha3Code:"ATF",numericCode:"260",callingCode:"+"},{name:"Gab\xe3o",alpha2Code:"GA",alpha3Code:"GAB",numericCode:"266",callingCode:"+241"},{name:"G\xe2mbia",alpha2Code:"GM",alpha3Code:"GMB",numericCode:"270",callingCode:"+220"},{name:"Ge\xf3rgia",alpha2Code:"GE",alpha3Code:"GEO",numericCode:"268",callingCode:"+995"},{name:"Alemanha",alpha2Code:"DE",alpha3Code:"DEU",numericCode:"276",callingCode:"+49"},{name:"Gana",alpha2Code:"GH",alpha3Code:"GHA",numericCode:"288",callingCode:"+233"},{name:"Gibraltar",alpha2Code:"GI",alpha3Code:"GIB",numericCode:"292",callingCode:"+350"},{name:"Gr\xe9cia",alpha2Code:"GR",alpha3Code:"GRC",numericCode:"300",callingCode:"+30"},{name:"Groel\xe2ndia",alpha2Code:"GL",alpha3Code:"GRL",numericCode:"304",callingCode:"+299"},{name:"Granada",alpha2Code:"GD",alpha3Code:"GRD",numericCode:"308",callingCode:"+1473"},{name:"Guadalupe",alpha2Code:"GP",alpha3Code:"GLP",numericCode:"312",callingCode:"+590"},{name:"Guam",alpha2Code:"GU",alpha3Code:"GUM",numericCode:"316",callingCode:"+1671"},{name:"Guatemala",alpha2Code:"GT",alpha3Code:"GTM",numericCode:"320",callingCode:"+502"},{name:"Guernsey",alpha2Code:"GG",alpha3Code:"GGY",numericCode:"831",callingCode:"+44"},{name:"Guin\xe9",alpha2Code:"GN",alpha3Code:"GIN",numericCode:"324",callingCode:"+224"},{name:"Guin\xe9-Bissau",alpha2Code:"GW",alpha3Code:"GNB",numericCode:"624",callingCode:"+245"},{name:"Guiana",alpha2Code:"GY",alpha3Code:"GUY",numericCode:"328",callingCode:"+592"},{name:"Haiti",alpha2Code:"HT",alpha3Code:"HTI",numericCode:"332",callingCode:"+509"},{name:"Ilha Heard e Ilhas McDonald",alpha2Code:"HM",alpha3Code:"HMD",numericCode:"334",callingCode:"+"},{name:"Vaticano",alpha2Code:"VA",alpha3Code:"VAT",numericCode:"336",callingCode:"+379"},{name:"Honduras",alpha2Code:"HN",alpha3Code:"HND",numericCode:"340",callingCode:"+504"},{name:"Hong Kong",alpha2Code:"HK",alpha3Code:"HKG",numericCode:"344",callingCode:"+852"},{name:"Hungria",alpha2Code:"HU",alpha3Code:"HUN",numericCode:"348",callingCode:"+36"},{name:"Isl\xe2ndia",alpha2Code:"IS",alpha3Code:"ISL",numericCode:"352",callingCode:"+354"},{name:"\xcdndia",alpha2Code:"IN",alpha3Code:"IND",numericCode:"356",callingCode:"+91"},{name:"Indon\xe9sia",alpha2Code:"ID",alpha3Code:"IDN",numericCode:"360",callingCode:"+62"},{name:"Costa do Marfim",alpha2Code:"CI",alpha3Code:"CIV",numericCode:"384",callingCode:"+225"},{name:"Ir\xe3",alpha2Code:"IR",alpha3Code:"IRN",numericCode:"364",callingCode:"+98"},{name:"Iraque",alpha2Code:"IQ",alpha3Code:"IRQ",numericCode:"368",callingCode:"+964"},{name:"Irlanda",alpha2Code:"IE",alpha3Code:"IRL",numericCode:"372",callingCode:"+353"},{name:"Ilha de Man",alpha2Code:"IM",alpha3Code:"IMN",numericCode:"833",callingCode:"+44"},{name:"Israel",alpha2Code:"IL",alpha3Code:"ISR",numericCode:"376",callingCode:"+972"},{name:"It\xe1lia",alpha2Code:"IT",alpha3Code:"ITA",numericCode:"380",callingCode:"+39"},{name:"Jamaica",alpha2Code:"JM",alpha3Code:"JAM",numericCode:"388",callingCode:"+1876"},{name:"Jap\xe3o",alpha2Code:"JP",alpha3Code:"JPN",numericCode:"392",callingCode:"+81"},{name:"Jersey",alpha2Code:"JE",alpha3Code:"JEY",numericCode:"832",callingCode:"+44"},{name:"Jord\xe2nia",alpha2Code:"JO",alpha3Code:"JOR",numericCode:"400",callingCode:"+962"},{name:"Cazaquist\xe3o",alpha2Code:"KZ",alpha3Code:"KAZ",numericCode:"398",callingCode:"+7"},{name:"Qu\xeania",alpha2Code:"KE",alpha3Code:"KEN",numericCode:"404",callingCode:"+254"},{name:"Kiribati",alpha2Code:"KI",alpha3Code:"KIR",numericCode:"296",callingCode:"+686"},{name:"Kuwait",alpha2Code:"KW",alpha3Code:"KWT",numericCode:"414",callingCode:"+965"},{name:"Quirguist\xe3o",alpha2Code:"KG",alpha3Code:"KGZ",numericCode:"417",callingCode:"+996"},{name:"Laos",alpha2Code:"LA",alpha3Code:"LAO",numericCode:"418",callingCode:"+856"},{name:"Let\xf4nia",alpha2Code:"LV",alpha3Code:"LVA",numericCode:"428",callingCode:"+371"},{name:"L\xedbano",alpha2Code:"LB",alpha3Code:"LBN",numericCode:"422",callingCode:"+961"},{name:"Lesoto",alpha2Code:"LS",alpha3Code:"LSO",numericCode:"426",callingCode:"+266"},{name:"Lib\xe9ria",alpha2Code:"LR",alpha3Code:"LBR",numericCode:"430",callingCode:"+231"},{name:"L\xedbia",alpha2Code:"LY",alpha3Code:"LBY",numericCode:"434",callingCode:"+218"},{name:"Liechtenstein",alpha2Code:"LI",alpha3Code:"LIE",numericCode:"438",callingCode:"+423"},{name:"Litu\xe2nia",alpha2Code:"LT",alpha3Code:"LTU",numericCode:"440",callingCode:"+370"},{name:"Luxemburgo",alpha2Code:"LU",alpha3Code:"LUX",numericCode:"442",callingCode:"+352"},{name:"Macau",alpha2Code:"MO",alpha3Code:"MAC",numericCode:"446",callingCode:"+853"},{name:"Maced\xf4nia",alpha2Code:"MK",alpha3Code:"MKD",numericCode:"807",callingCode:"+389"},{name:"Madagascar",alpha2Code:"MG",alpha3Code:"MDG",numericCode:"450",callingCode:"+261"},{name:"Malawi",alpha2Code:"MW",alpha3Code:"MWI",numericCode:"454",callingCode:"+265"},{name:"Mal\xe1sia",alpha2Code:"MY",alpha3Code:"MYS",numericCode:"458",callingCode:"+60"},{name:"Maldivas",alpha2Code:"MV",alpha3Code:"MDV",numericCode:"462",callingCode:"+960"},{name:"Mali",alpha2Code:"ML",alpha3Code:"MLI",numericCode:"466",callingCode:"+223"},{name:"Malta",alpha2Code:"MT",alpha3Code:"MLT",numericCode:"470",callingCode:"+356"},{name:"Ilhas Marshall",alpha2Code:"MH",alpha3Code:"MHL",numericCode:"584",callingCode:"+692"},{name:"Martinica",alpha2Code:"MQ",alpha3Code:"MTQ",numericCode:"474",callingCode:"+596"},{name:"Maurit\xe2nia",alpha2Code:"MR",alpha3Code:"MRT",numericCode:"478",callingCode:"+222"},{name:"Maur\xedcio",alpha2Code:"MU",alpha3Code:"MUS",numericCode:"480",callingCode:"+230"},{name:"Mayotte",alpha2Code:"YT",alpha3Code:"MYT",numericCode:"175",callingCode:"+262"},{name:"M\xe9xico",alpha2Code:"MX",alpha3Code:"MEX",numericCode:"484",callingCode:"+52"},{name:"Micron\xe9sia",alpha2Code:"FM",alpha3Code:"FSM",numericCode:"583",callingCode:"+691"},{name:"Mold\xe1via",alpha2Code:"MD",alpha3Code:"MDA",numericCode:"498",callingCode:"+373"},{name:"M\xf4naco",alpha2Code:"MC",alpha3Code:"MCO",numericCode:"492",callingCode:"+377"},{name:"Mong\xf3lia",alpha2Code:"MN",alpha3Code:"MNG",numericCode:"496",callingCode:"+976"},{name:"Montenegro",alpha2Code:"ME",alpha3Code:"MNE",numericCode:"499",callingCode:"+382"},{name:"Montserrat",alpha2Code:"MS",alpha3Code:"MSR",numericCode:"500",callingCode:"+1664"},{name:"Marrocos",alpha2Code:"MA",alpha3Code:"MAR",numericCode:"504",callingCode:"+212"},{name:"Mo\xe7ambique",alpha2Code:"MZ",alpha3Code:"MOZ",numericCode:"508",callingCode:"+258"},{name:"Myanmar",alpha2Code:"MM",alpha3Code:"MMR",numericCode:"104",callingCode:"+95"},{name:"Nam\xedbia",alpha2Code:"NA",alpha3Code:"NAM",numericCode:"516",callingCode:"+264"},{name:"Nauru",alpha2Code:"NR",alpha3Code:"NRU",numericCode:"520",callingCode:"+674"},{name:"Nepal",alpha2Code:"NP",alpha3Code:"NPL",numericCode:"524",callingCode:"+977"},{name:"Holanda",alpha2Code:"NL",alpha3Code:"NLD",numericCode:"528",callingCode:"+31"},{name:"Nova Caled\xf4nia",alpha2Code:"NC",alpha3Code:"NCL",numericCode:"540",callingCode:"+687"},{name:"Nova Zel\xe2ndia",alpha2Code:"NZ",alpha3Code:"NZL",numericCode:"554",callingCode:"+64"},{name:"Nicar\xe1gua",alpha2Code:"NI",alpha3Code:"NIC",numericCode:"558",callingCode:"+505"},{name:"N\xedger",alpha2Code:"NE",alpha3Code:"NER",numericCode:"562",callingCode:"+227"},{name:"Nig\xe9ria",alpha2Code:"NG",alpha3Code:"NGA",numericCode:"566",callingCode:"+234"},{name:"Niue",alpha2Code:"NU",alpha3Code:"NIU",numericCode:"570",callingCode:"+683"},{name:"Ilha Norfolk",alpha2Code:"NF",alpha3Code:"NFK",numericCode:"574",callingCode:"+672"},{name:"Coreia do Norte",alpha2Code:"KP",alpha3Code:"PRK",numericCode:"408",callingCode:"+850"},{name:"Ilhas Marianas",alpha2Code:"MP",alpha3Code:"MNP",numericCode:"580",callingCode:"+1670"},{name:"Noruega",alpha2Code:"NO",alpha3Code:"NOR",numericCode:"578",callingCode:"+47"},{name:"Om\xe3",alpha2Code:"OM",alpha3Code:"OMN",numericCode:"512",callingCode:"+968"},{name:"Paquist\xe3o",alpha2Code:"PK",alpha3Code:"PAK",numericCode:"586",callingCode:"+92"},{name:"Palau",alpha2Code:"PW",alpha3Code:"PLW",numericCode:"585",callingCode:"+680"},{name:"Palestina",alpha2Code:"PS",alpha3Code:"PSE",numericCode:"275",callingCode:"+970"},{name:"Panam\xe1",alpha2Code:"PA",alpha3Code:"PAN",numericCode:"591",callingCode:"+507"},{name:"Papua Nova Guin\xe9",alpha2Code:"PG",alpha3Code:"PNG",numericCode:"598",callingCode:"+675"},{name:"Paraguai",alpha2Code:"PY",alpha3Code:"PRY",numericCode:"600",callingCode:"+595"},{name:"Peru",alpha2Code:"PE",alpha3Code:"PER",numericCode:"604",callingCode:"+51"},{name:"Filipinas",alpha2Code:"PH",alpha3Code:"PHL",numericCode:"608",callingCode:"+63"},{name:"Ilhas Pitcairn",alpha2Code:"PN",alpha3Code:"PCN",numericCode:"612",callingCode:"+64"},{name:"Pol\xf4nia",alpha2Code:"PL",alpha3Code:"POL",numericCode:"616",callingCode:"+48"},{name:"Portugal",alpha2Code:"PT",alpha3Code:"PRT",numericCode:"620",callingCode:"+351"},{name:"Porto Rico",alpha2Code:"PR",alpha3Code:"PRI",numericCode:"630",callingCode:"+1"},{name:"Catar",alpha2Code:"QA",alpha3Code:"QAT",numericCode:"634",callingCode:"+974"},{name:"Kosovo",alpha2Code:"XK",alpha3Code:"KOS",numericCode:null,callingCode:"+383"},{name:"Reuni\xe3o",alpha2Code:"RE",alpha3Code:"REU",numericCode:"638",callingCode:"+262"},{name:"Rom\xeania",alpha2Code:"RO",alpha3Code:"ROU",numericCode:"642",callingCode:"+40"},{name:"R\xfassia",alpha2Code:"RU",alpha3Code:"RUS",numericCode:"643",callingCode:"+7"},{name:"Ruanda",alpha2Code:"RW",alpha3Code:"RWA",numericCode:"646",callingCode:"+250"},{name:"S\xe3o Bartolomeu",alpha2Code:"BL",alpha3Code:"BLM",numericCode:"652",callingCode:"+590"},{name:"Santa Helena",alpha2Code:"SH",alpha3Code:"SHN",numericCode:"654",callingCode:"+290"},{name:"S\xe3o Crist\xf3v\xe3o e Neves",alpha2Code:"KN",alpha3Code:"KNA",numericCode:"659",callingCode:"+1869"},{name:"Santa L\xfacia",alpha2Code:"LC",alpha3Code:"LCA",numericCode:"662",callingCode:"+1758"},{name:"Saint Martin",alpha2Code:"MF",alpha3Code:"MAF",numericCode:"663",callingCode:"+590"},{name:"Saint-Pierre e Miquelon",alpha2Code:"PM",alpha3Code:"SPM",numericCode:"666",callingCode:"+508"},{name:"S\xe3o Vicente e Granadinas",alpha2Code:"VC",alpha3Code:"VCT",numericCode:"670",callingCode:"+1784"},{name:"Samoa",alpha2Code:"WS",alpha3Code:"WSM",numericCode:"882",callingCode:"+685"},{name:"San Marino",alpha2Code:"SM",alpha3Code:"SMR",numericCode:"674",callingCode:"+378"},{name:"S\xe3o Tom\xe9 e Pr\xedncipe",alpha2Code:"ST",alpha3Code:"STP",numericCode:"678",callingCode:"+239"},{name:"Ar\xe1bia Saudita",alpha2Code:"SA",alpha3Code:"SAU",numericCode:"682",callingCode:"+966"},{name:"Senegal",alpha2Code:"SN",alpha3Code:"SEN",numericCode:"686",callingCode:"+221"},{name:"S\xe9rvia",alpha2Code:"RS",alpha3Code:"SRB",numericCode:"688",callingCode:"+381"},{name:"Seicheles",alpha2Code:"SC",alpha3Code:"SYC",numericCode:"690",callingCode:"+248"},{name:"Serra Leoa",alpha2Code:"SL",alpha3Code:"SLE",numericCode:"694",callingCode:"+232"},{name:"Singapura",alpha2Code:"SG",alpha3Code:"SGP",numericCode:"702",callingCode:"+65"},{name:"Sint Maarten",alpha2Code:"SX",alpha3Code:"SXM",numericCode:"534",callingCode:"+1721"},{name:"Eslov\xe1quia",alpha2Code:"SK",alpha3Code:"SVK",numericCode:"703",callingCode:"+421"},{name:"Eslov\xeania",alpha2Code:"SI",alpha3Code:"SVN",numericCode:"705",callingCode:"+386"},{name:"Ilhas Salom\xe3o",alpha2Code:"SB",alpha3Code:"SLB",numericCode:"090",callingCode:"+677"},{name:"Som\xe1lia",alpha2Code:"SO",alpha3Code:"SOM",numericCode:"706",callingCode:"+252"},{name:"Rep\xfablica Sul-Africana",alpha2Code:"ZA",alpha3Code:"ZAF",numericCode:"710",callingCode:"+27"},{name:"Ilhas Ge\xf3rgias do Sul e Sandwich do Sul",alpha2Code:"GS",alpha3Code:"SGS",numericCode:"239",callingCode:"+500"},{name:"Coreia do Sul",alpha2Code:"KR",alpha3Code:"KOR",numericCode:"410",callingCode:"+82"},{name:"Sud\xe3o do Sul",alpha2Code:"SS",alpha3Code:"SSD",numericCode:"728",callingCode:"+211"},{name:"Espanha",alpha2Code:"ES",alpha3Code:"ESP",numericCode:"724",callingCode:"+34"},{name:"Sri Lanka",alpha2Code:"LK",alpha3Code:"LKA",numericCode:"144",callingCode:"+94"},{name:"Sud\xe3o",alpha2Code:"SD",alpha3Code:"SDN",numericCode:"729",callingCode:"+249"},{name:"Suriname",alpha2Code:"SR",alpha3Code:"SUR",numericCode:"740",callingCode:"+597"},{name:"Svalbard",alpha2Code:"SJ",alpha3Code:"SJM",numericCode:"744",callingCode:"+4779"},{name:"Suazil\xe2ndia",alpha2Code:"SZ",alpha3Code:"SWZ",numericCode:"748",callingCode:"+268"},{name:"Su\xe9cia",alpha2Code:"SE",alpha3Code:"SWE",numericCode:"752",callingCode:"+46"},{name:"Su\xed\xe7a",alpha2Code:"CH",alpha3Code:"CHE",numericCode:"756",callingCode:"+41"},{name:"S\xedria",alpha2Code:"SY",alpha3Code:"SYR",numericCode:"760",callingCode:"+963"},{name:"Taiwan, China",alpha2Code:"TW",alpha3Code:"TWN",numericCode:"158",callingCode:"+886"},{name:"Tajiquist\xe3o",alpha2Code:"TJ",alpha3Code:"TJK",numericCode:"762",callingCode:"+992"},{name:"Tanz\xe2nia",alpha2Code:"TZ",alpha3Code:"TZA",numericCode:"834",callingCode:"+255"},{name:"Tail\xe2ndia",alpha2Code:"TH",alpha3Code:"THA",numericCode:"764",callingCode:"+66"},{name:"Timor Leste",alpha2Code:"TL",alpha3Code:"TLS",numericCode:"626",callingCode:"+670"},{name:"Togo",alpha2Code:"TG",alpha3Code:"TGO",numericCode:"768",callingCode:"+228"},{name:"Tokelau",alpha2Code:"TK",alpha3Code:"TKL",numericCode:"772",callingCode:"+690"},{name:"Tonga",alpha2Code:"TO",alpha3Code:"TON",numericCode:"776",callingCode:"+676"},{name:"Trinidad e Tobago",alpha2Code:"TT",alpha3Code:"TTO",numericCode:"780",callingCode:"+1868"},{name:"Tun\xedsia",alpha2Code:"TN",alpha3Code:"TUN",numericCode:"788",callingCode:"+216"},{name:"Turquia",alpha2Code:"TR",alpha3Code:"TUR",numericCode:"792",callingCode:"+90"},{name:"Turcomenist\xe3o",alpha2Code:"TM",alpha3Code:"TKM",numericCode:"795",callingCode:"+993"},{name:"Ilhas Turcas e Caicos",alpha2Code:"TC",alpha3Code:"TCA",numericCode:"796",callingCode:"+1649"},{name:"Tuvalu",alpha2Code:"TV",alpha3Code:"TUV",numericCode:"798",callingCode:"+688"},{name:"Uganda",alpha2Code:"UG",alpha3Code:"UGA",numericCode:"800",callingCode:"+256"},{name:"Ucr\xe2nia",alpha2Code:"UA",alpha3Code:"UKR",numericCode:"804",callingCode:"+380"},{name:"Emirados \xe1rabes Unidos",alpha2Code:"AE",alpha3Code:"ARE",numericCode:"784",callingCode:"+971"},{name:"Reino Unido",alpha2Code:"GB",alpha3Code:"GBR",numericCode:"826",callingCode:"+44"},{name:"Estados Unidos",alpha2Code:"US",alpha3Code:"USA",numericCode:"840",callingCode:"+1"},{name:"Uruguai",alpha2Code:"UY",alpha3Code:"URY",numericCode:"858",callingCode:"+598"},{name:"Uzbequist\xe3o",alpha2Code:"UZ",alpha3Code:"UZB",numericCode:"860",callingCode:"+998"},{name:"Vanuatu",alpha2Code:"VU",alpha3Code:"VUT",numericCode:"548",callingCode:"+678"},{name:"Venezuela",alpha2Code:"VE",alpha3Code:"VEN",numericCode:"862",callingCode:"+58"},{name:"Vietn\xe3",alpha2Code:"VN",alpha3Code:"VNM",numericCode:"704",callingCode:"+84"},{name:"Wallis e Futuna",alpha2Code:"WF",alpha3Code:"WLF",numericCode:"876",callingCode:"+681"},{name:"Saara Ocidental",alpha2Code:"EH",alpha3Code:"ESH",numericCode:"732",callingCode:"+212"},{name:"I\xeamen",alpha2Code:"YE",alpha3Code:"YEM",numericCode:"887",callingCode:"+967"},{name:"Z\xe2mbia",alpha2Code:"ZM",alpha3Code:"ZMB",numericCode:"894",callingCode:"+260"},{name:"Zimbabwe",alpha2Code:"ZW",alpha3Code:"ZWE",numericCode:"716",callingCode:"+263"}]}),c1=Object.freeze({__proto__:null,COUNTRIES_DB_BY:[{name:"\u0410\u0444\u0433\u0430\u043d\u0456\u0441\u0442\u0430\u043d",alpha2Code:"AF",alpha3Code:"AFG",numericCode:"004",callingCode:"+93"},{name:"\u0410\u043b\u0430\u043d\u0434\u0441\u043a\u0456\u044f \u0430\u0441\u0442\u0440\u0430\u0432\u044b",alpha2Code:"AX",alpha3Code:"ALA",numericCode:"248",callingCode:"+358"},{name:"\u0410\u043b\u0431\u0430\u043d\u0456\u044f",alpha2Code:"AL",alpha3Code:"ALB",numericCode:"008",callingCode:"+355"},{name:"\u0410\u043b\u0436\u044b\u0440",alpha2Code:"DZ",alpha3Code:"DZA",numericCode:"012",callingCode:"+213"},{name:"\u0410\u043c\u0435\u0440\u044b\u043a\u0430\u043d\u0441\u043a\u0430\u0435 \u0421\u0430\u043c\u043e\u0430",alpha2Code:"AS",alpha3Code:"ASM",numericCode:"016",callingCode:"+1684"},{name:"\u0410\u043d\u0434\u043e\u0440\u0430",alpha2Code:"AD",alpha3Code:"AND",numericCode:"020",callingCode:"+376"},{name:"\u0410\u043d\u0433\u043e\u043b\u0430",alpha2Code:"AO",alpha3Code:"AGO",numericCode:"024",callingCode:"+244"},{name:"\u0410\u043d\u0433\u0456\u043b\u044c\u044f",alpha2Code:"AI",alpha3Code:"AIA",numericCode:"660",callingCode:"+1264"},{name:"\u0410\u043d\u0442\u0430\u0440\u043a\u0442\u044b\u0434\u0430",alpha2Code:"AQ",alpha3Code:"ATA",numericCode:"010",callingCode:"+672"},{name:"\u0410\u043d\u0442\u044b\u0433\u0443\u0430 \u0456 \u0411\u0430\u0440\u0431\u0443\u0434\u0430",alpha2Code:"AG",alpha3Code:"ATG",numericCode:"028",callingCode:"+1268"},{name:"\u0410\u0440\u0433\u0435\u043d\u0446\u0456\u043d\u0430",alpha2Code:"AR",alpha3Code:"ARG",numericCode:"032",callingCode:"+54"},{name:"\u0410\u0440\u043c\u0435\u043d\u0456\u044f",alpha2Code:"AM",alpha3Code:"ARM",numericCode:"051",callingCode:"+374"},{name:"\u0410\u0440\u0443\u0431\u0430",alpha2Code:"AW",alpha3Code:"ABW",numericCode:"533",callingCode:"+297"},{name:"\u0410\u045e\u0441\u0442\u0440\u0430\u043b\u0456\u044f",alpha2Code:"AU",alpha3Code:"AUS",numericCode:"036",callingCode:"+61"},{name:"\u0410\u045e\u0441\u0442\u0440\u044b\u044f",alpha2Code:"AT",alpha3Code:"AUT",numericCode:"040",callingCode:"+43"},{name:"\u0410\u0437\u0435\u0440\u0431\u0430\u0439\u0434\u0436\u0430\u043d",alpha2Code:"AZ",alpha3Code:"AZE",numericCode:"031",callingCode:"+994"},{name:"\u0411\u0430\u0433\u0430\u043c\u044b",alpha2Code:"BS",alpha3Code:"BHS",numericCode:"044",callingCode:"+1242"},{name:"\u0411\u0430\u0445\u0440\u044d\u0439\u043d",alpha2Code:"BH",alpha3Code:"BHR",numericCode:"048",callingCode:"+973"},{name:"\u0411\u0430\u043d\u0433\u043b\u0430\u0434\u044d\u0448",alpha2Code:"BD",alpha3Code:"BGD",numericCode:"050",callingCode:"+880"},{name:"\u0411\u0430\u0440\u0431\u0430\u0434\u0430\u0441",alpha2Code:"BB",alpha3Code:"BRB",numericCode:"052",callingCode:"+1246"},{name:"\u0411\u0435\u043b\u0430\u0440\u0443\u0441\u044c",alpha2Code:"BY",alpha3Code:"BLR",numericCode:"112",callingCode:"+375"},{name:"\u0411\u0435\u043b\u044c\u0433\u0456\u044f",alpha2Code:"BE",alpha3Code:"BEL",numericCode:"056",callingCode:"+32"},{name:"\u0411\u0435\u043b\u0456\u0437",alpha2Code:"BZ",alpha3Code:"BLZ",numericCode:"084",callingCode:"+501"},{name:"\u0411\u0435\u043d\u0456\u043d",alpha2Code:"BJ",alpha3Code:"BEN",numericCode:"204",callingCode:"+229"},{name:"\u0411\u0435\u0440\u043c\u0443\u0434\u044b",alpha2Code:"BM",alpha3Code:"BMU",numericCode:"060",callingCode:"+1441"},{name:"\u0411\u0443\u0442\u0430\u043d",alpha2Code:"BT",alpha3Code:"BTN",numericCode:"064",callingCode:"+975"},{name:"\u0411\u0430\u043b\u0456\u0432\u0456\u044f",alpha2Code:"BO",alpha3Code:"BOL",numericCode:"068",callingCode:"+591"},{name:"\u041a\u0430\u0440\u044b\u0431\u0441\u043a\u0456\u044f \u041d\u0456\u0434\u044d\u0440\u043b\u0430\u043d\u0434\u044b",alpha2Code:"BQ",alpha3Code:"BES",numericCode:"535",callingCode:"+5997"},{name:"\u0411\u043e\u0441\u043d\u0456\u044f \u0456 \u0413\u0435\u0440\u0446\u0430\u0433\u0430\u0432\u0456\u043d\u0430",alpha2Code:"BA",alpha3Code:"BIH",numericCode:"070",callingCode:"+387"},{name:"\u0411\u0430\u0442\u0441\u0432\u0430\u043d\u0430",alpha2Code:"BW",alpha3Code:"BWA",numericCode:"072",callingCode:"+267"},{name:"\u0412\u043e\u0441\u0442\u0440\u0430\u045e \u0411\u0443\u0432\u044d",alpha2Code:"BV",alpha3Code:"BVT",numericCode:"074",callingCode:"+"},{name:"\u0411\u0440\u0430\u0437\u0456\u043b\u0456\u044f",alpha2Code:"BR",alpha3Code:"BRA",numericCode:"076",callingCode:"+55"},{name:"\u0411\u0440\u044b\u0442\u0430\u043d\u0441\u043a\u0430\u044f \u0442\u044d\u0440\u044b\u0442\u043e\u0440\u044b\u044f \u045e \u0406\u043d\u0434\u044b\u0439\u0441\u043a\u0456\u043c \u0430\u043a\u0456\u044f\u043d\u0435",alpha2Code:"IO",alpha3Code:"IOT",numericCode:"086",callingCode:"+246"},{name:"\u0412\u043e\u043d\u043a\u0430\u0432\u044b\u044f \u043c\u0430\u043b\u044b\u044f \u0430\u0441\u0442\u0440\u0430\u0432\u044b \u0417\u0428\u0410",alpha2Code:"UM",alpha3Code:"UMI",numericCode:"581",callingCode:"+"},{name:"\u0411\u0440\u044b\u0442\u0430\u043d\u0441\u043a\u0456\u044f \u0412\u0456\u0440\u0433\u0456\u043d\u0441\u043a\u0456\u044f \u0430\u0441\u0442\u0440\u0430\u0432\u044b",alpha2Code:"VG",alpha3Code:"VGB",numericCode:"092",callingCode:"+1284"},{name:"\u0410\u043c\u0435\u0440\u044b\u043a\u0430\u043d\u0441\u043a\u0456\u044f \u0412\u0456\u0440\u0433\u0456\u043d\u0441\u043a\u0456\u044f \u0430\u0441\u0442\u0440\u0430\u0432\u044b",alpha2Code:"VI",alpha3Code:"VIR",numericCode:"850",callingCode:"+1 340"},{name:"\u0411\u0440\u0443\u043d\u0435\u0439",alpha2Code:"BN",alpha3Code:"BRN",numericCode:"096",callingCode:"+673"},{name:"\u0411\u0430\u043b\u0433\u0430\u0440\u044b\u044f",alpha2Code:"BG",alpha3Code:"BGR",numericCode:"100",callingCode:"+359"},{name:"\u0411\u0443\u0440\u043a\u0456\u043d\u0430-\u0424\u0430\u0441\u043e",alpha2Code:"BF",alpha3Code:"BFA",numericCode:"854",callingCode:"+226"},{name:"\u0411\u0443\u0440\u0443\u043d\u0434\u0437\u0456",alpha2Code:"BI",alpha3Code:"BDI",numericCode:"108",callingCode:"+257"},{name:"\u041a\u0430\u043c\u0431\u043e\u0434\u0436\u0430",alpha2Code:"KH",alpha3Code:"KHM",numericCode:"116",callingCode:"+855"},{name:"\u041a\u0430\u043c\u0435\u0440\u0443\u043d",alpha2Code:"CM",alpha3Code:"CMR",numericCode:"120",callingCode:"+237"},{name:"\u041a\u0430\u043d\u0430\u0434\u0430",alpha2Code:"CA",alpha3Code:"CAN",numericCode:"124",callingCode:"+1"},{name:"\u041a\u0430\u0431\u0430-\u0412\u0435\u0440\u0434\u044d",alpha2Code:"CV",alpha3Code:"CPV",numericCode:"132",callingCode:"+238"},{name:"\u041a\u0430\u0439\u043c\u0430\u043d\u0430\u0432\u044b \u0430\u0441\u0442\u0440\u0430\u0432\u044b",alpha2Code:"KY",alpha3Code:"CYM",numericCode:"136",callingCode:"+1345"},{name:"\u0426\u0410\u0420",alpha2Code:"CF",alpha3Code:"CAF",numericCode:"140",callingCode:"+236"},{name:"\u0427\u0430\u0434",alpha2Code:"TD",alpha3Code:"TCD",numericCode:"148",callingCode:"+235"},{name:"\u0427\u044b\u043b\u0456",alpha2Code:"CL",alpha3Code:"CHL",numericCode:"152",callingCode:"+56"},{name:"\u041a\u0456\u0442\u0430\u0439",alpha2Code:"CN",alpha3Code:"CHN",numericCode:"156",callingCode:"+86"},{name:"\u0412\u043e\u0441\u0442\u0440\u0430\u045e \u0420\u0430\u0436\u0441\u0442\u0432\u0430",alpha2Code:"CX",alpha3Code:"CXR",numericCode:"162",callingCode:"+61"},{name:"\u041a\u0430\u043a\u043e\u0441\u0430\u0432\u044b\u044f \u0430\u0441\u0442\u0440\u0430\u0432\u044b",alpha2Code:"CC",alpha3Code:"CCK",numericCode:"166",callingCode:"+61"},{name:"\u041a\u0430\u043b\u0443\u043c\u0431\u0456\u044f",alpha2Code:"CO",alpha3Code:"COL",numericCode:"170",callingCode:"+57"},{name:"\u041a\u0430\u043c\u043e\u0440\u0441\u043a\u0456\u044f \u0430\u0441\u0442\u0440\u0430\u0432\u044b",alpha2Code:"KM",alpha3Code:"COM",numericCode:"174",callingCode:"+269"},{name:"\u0420\u044d\u0441\u043f\u0443\u0431\u043b\u0456\u043a\u0430 \u041a\u043e\u043d\u0433\u0430",alpha2Code:"CG",alpha3Code:"COG",numericCode:"178",callingCode:"+242"},{name:"\u0414\u0420 \u041a\u043e\u043d\u0433\u0430",alpha2Code:"CD",alpha3Code:"COD",numericCode:"180",callingCode:"+243"},{name:"\u0410\u0441\u0442\u0440\u0430\u0432\u044b \u041a\u0443\u043a\u0430",alpha2Code:"CK",alpha3Code:"COK",numericCode:"184",callingCode:"+682"},{name:"\u041a\u043e\u0441\u0442\u0430-\u0420\u044b\u043a\u0430",alpha2Code:"CR",alpha3Code:"CRI",numericCode:"188",callingCode:"+506"},{name:"\u0425\u0430\u0440\u0432\u0430\u0442\u044b\u044f",alpha2Code:"HR",alpha3Code:"HRV",numericCode:"191",callingCode:"+385"},{name:"\u041a\u0443\u0431\u0430",alpha2Code:"CU",alpha3Code:"CUB",numericCode:"192",callingCode:"+53"},{name:"\u041a\u044e\u0440\u0430\u0441\u0430\u0430",alpha2Code:"CW",alpha3Code:"CUW",numericCode:"531",callingCode:"+599"},{name:"\u041a\u0456\u043f\u0440",alpha2Code:"CY",alpha3Code:"CYP",numericCode:"196",callingCode:"+357"},{name:"\u0427\u044d\u0445\u0456\u044f",alpha2Code:"CZ",alpha3Code:"CZE",numericCode:"203",callingCode:"+420"},{name:"\u0414\u0430\u043d\u0456\u044f",alpha2Code:"DK",alpha3Code:"DNK",numericCode:"208",callingCode:"+45"},{name:"\u0414\u0436\u044b\u0431\u0443\u0446\u0456",alpha2Code:"DJ",alpha3Code:"DJI",numericCode:"262",callingCode:"+253"},{name:"\u0414\u0430\u043c\u0456\u043d\u0456\u043a\u0430",alpha2Code:"DM",alpha3Code:"DMA",numericCode:"212",callingCode:"+1767"},{name:"\u0414\u0430\u043c\u0456\u043d\u0456\u043a\u0430\u043d\u0441\u043a\u0430\u044f \u0420\u044d\u0441\u043f\u0443\u0431\u043b\u0456\u043a\u0430",alpha2Code:"DO",alpha3Code:"DOM",numericCode:"214",callingCode:"+1809"},{name:"\u042d\u043a\u0432\u0430\u0434\u043e\u0440",alpha2Code:"EC",alpha3Code:"ECU",numericCode:"218",callingCode:"+593"},{name:"\u0415\u0433\u0456\u043f\u0435\u0442",alpha2Code:"EG",alpha3Code:"EGY",numericCode:"818",callingCode:"+20"},{name:"\u0421\u0430\u043b\u044c\u0432\u0430\u0434\u043e\u0440",alpha2Code:"SV",alpha3Code:"SLV",numericCode:"222",callingCode:"+503"},{name:"\u042d\u043a\u0432\u0430\u0442\u0430\u0440\u044b\u044f\u043b\u044c\u043d\u0430\u044f \u0413\u0432\u0456\u043d\u0435\u044f",alpha2Code:"GQ",alpha3Code:"GNQ",numericCode:"226",callingCode:"+240"},{name:"\u042d\u0440\u044b\u0442\u0440\u044d\u044f",alpha2Code:"ER",alpha3Code:"ERI",numericCode:"232",callingCode:"+291"},{name:"\u042d\u0441\u0442\u043e\u043d\u0456\u044f",alpha2Code:"EE",alpha3Code:"EST",numericCode:"233",callingCode:"+372"},{name:"\u042d\u0444\u0456\u043e\u043f\u0456\u044f",alpha2Code:"ET",alpha3Code:"ETH",numericCode:"231",callingCode:"+251"},{name:"\u0424\u0430\u043b\u043a\u043b\u0435\u043d\u0434\u0441\u043a\u0456\u044f \u0430\u0441\u0442\u0440\u0430\u0432\u044b",alpha2Code:"FK",alpha3Code:"FLK",numericCode:"238",callingCode:"+500"},{name:"\u0424\u0430\u0440\u044d\u0440\u0441\u043a\u0456\u044f \u0430\u0441\u0442\u0440\u0430\u0432\u044b",alpha2Code:"FO",alpha3Code:"FRO",numericCode:"234",callingCode:"+298"},{name:"\u0424\u0456\u0434\u0436\u044b",alpha2Code:"FJ",alpha3Code:"FJI",numericCode:"242",callingCode:"+679"},{name:"\u0424\u0456\u043d\u043b\u044f\u043d\u0434\u044b\u044f",alpha2Code:"FI",alpha3Code:"FIN",numericCode:"246",callingCode:"+358"},{name:"\u0424\u0440\u0430\u043d\u0446\u044b\u044f",alpha2Code:"FR",alpha3Code:"FRA",numericCode:"250",callingCode:"+33"},{name:"\u0413\u0432\u0456\u044f\u043d\u0430",alpha2Code:"GF",alpha3Code:"GUF",numericCode:"254",callingCode:"+594"},{name:"\u0424\u0440\u0430\u043d\u0446\u0443\u0437\u0441\u043a\u0430\u044f \u041f\u0430\u043b\u0456\u043d\u0435\u0437\u0456\u044f",alpha2Code:"PF",alpha3Code:"PYF",numericCode:"258",callingCode:"+689"},{name:"\u0424\u0440\u0430\u043d\u0446\u0443\u0437\u0441\u043a\u0456\u044f \u041f\u0430\u045e\u0434\u043d\u0451\u0432\u044b\u044f \u0456 \u0410\u043d\u0442\u0430\u0440\u043a\u0442\u044b\u0447\u043d\u044b\u044f \u0422\u044d\u0440\u044b\u0442\u043e\u0440\u044b\u0456",alpha2Code:"TF",alpha3Code:"ATF",numericCode:"260",callingCode:"+"},{name:"\u0413\u0430\u0431\u043e\u043d",alpha2Code:"GA",alpha3Code:"GAB",numericCode:"266",callingCode:"+241"},{name:"\u0413\u0430\u043c\u0431\u0456\u044f",alpha2Code:"GM",alpha3Code:"GMB",numericCode:"270",callingCode:"+220"},{name:"\u0413\u0440\u0443\u0437\u0456\u044f",alpha2Code:"GE",alpha3Code:"GEO",numericCode:"268",callingCode:"+995"},{name:"\u0413\u0435\u0440\u043c\u0430\u043d\u0456\u044f",alpha2Code:"DE",alpha3Code:"DEU",numericCode:"276",callingCode:"+49"},{name:"\u0413\u0430\u043d\u0430",alpha2Code:"GH",alpha3Code:"GHA",numericCode:"288",callingCode:"+233"},{name:"\u0413\u0456\u0431\u0440\u0430\u043b\u0442\u0430\u0440",alpha2Code:"GI",alpha3Code:"GIB",numericCode:"292",callingCode:"+350"},{name:"\u0413\u0440\u044d\u0446\u044b\u044f",alpha2Code:"GR",alpha3Code:"GRC",numericCode:"300",callingCode:"+30"},{name:"\u0413\u0440\u044d\u043d\u043b\u0430\u043d\u0434\u044b\u044f",alpha2Code:"GL",alpha3Code:"GRL",numericCode:"304",callingCode:"+299"},{name:"\u0413\u0440\u044d\u043d\u0430\u0434\u0430",alpha2Code:"GD",alpha3Code:"GRD",numericCode:"308",callingCode:"+1473"},{name:"\u0413\u0432\u0430\u0434\u044d\u043b\u0443\u043f\u0430",alpha2Code:"GP",alpha3Code:"GLP",numericCode:"312",callingCode:"+590"},{name:"\u0413\u0443\u0430\u043c",alpha2Code:"GU",alpha3Code:"GUM",numericCode:"316",callingCode:"+1671"},{name:"\u0413\u0432\u0430\u0442\u044d\u043c\u0430\u043b\u0430",alpha2Code:"GT",alpha3Code:"GTM",numericCode:"320",callingCode:"+502"},{name:"\u0413\u0435\u0440\u043d\u0441\u0456",alpha2Code:"GG",alpha3Code:"GGY",numericCode:"831",callingCode:"+44"},{name:"\u0413\u0432\u0456\u043d\u0435\u044f",alpha2Code:"GN",alpha3Code:"GIN",numericCode:"324",callingCode:"+224"},{name:"\u0413\u0432\u0456\u043d\u0435\u044f-\u0411\u0456\u0441\u0430\u0443",alpha2Code:"GW",alpha3Code:"GNB",numericCode:"624",callingCode:"+245"},{name:"\u0413\u0430\u044f\u043d\u0430",alpha2Code:"GY",alpha3Code:"GUY",numericCode:"328",callingCode:"+592"},{name:"\u0413\u0430\u0456\u0446\u0456",alpha2Code:"HT",alpha3Code:"HTI",numericCode:"332",callingCode:"+509"},{name:"\u0425\u0435\u0440\u0434 \u0456 \u041c\u0430\u043a\u0434\u043e\u043d\u0430\u043b\u044c\u0434",alpha2Code:"HM",alpha3Code:"HMD",numericCode:"334",callingCode:"+"},{name:"\u0412\u0430\u0442\u044b\u043a\u0430\u043d",alpha2Code:"VA",alpha3Code:"VAT",numericCode:"336",callingCode:"+379"},{name:"\u0413\u0430\u043d\u0434\u0443\u0440\u0430\u0441",alpha2Code:"HN",alpha3Code:"HND",numericCode:"340",callingCode:"+504"},{name:"\u0413\u0430\u043d\u043a\u043e\u043d\u0433",alpha2Code:"HK",alpha3Code:"HKG",numericCode:"344",callingCode:"+852"},{name:"\u0412\u0435\u043d\u0433\u0440\u044b\u044f",alpha2Code:"HU",alpha3Code:"HUN",numericCode:"348",callingCode:"+36"},{name:"\u0406\u0441\u043b\u0430\u043d\u0434\u044b\u044f",alpha2Code:"IS",alpha3Code:"ISL",numericCode:"352",callingCode:"+354"},{name:"\u0406\u043d\u0434\u044b\u044f",alpha2Code:"IN",alpha3Code:"IND",numericCode:"356",callingCode:"+91"},{name:"\u0406\u043d\u0434\u0430\u043d\u0435\u0437\u0456\u044f",alpha2Code:"ID",alpha3Code:"IDN",numericCode:"360",callingCode:"+62"},{name:"\u041a\u043e\u0442-\u0434\u2019\u0406\u0432\u0443\u0430\u0440",alpha2Code:"CI",alpha3Code:"CIV",numericCode:"384",callingCode:"+225"},{name:"\u0406\u0440\u0430\u043d",alpha2Code:"IR",alpha3Code:"IRN",numericCode:"364",callingCode:"+98"},{name:"\u0406\u0440\u0430\u043a",alpha2Code:"IQ",alpha3Code:"IRQ",numericCode:"368",callingCode:"+964"},{name:"\u0406\u0440\u043b\u0430\u043d\u0434\u044b\u044f",alpha2Code:"IE",alpha3Code:"IRL",numericCode:"372",callingCode:"+353"},{name:"\u0412\u043e\u0441\u0442\u0440\u0430\u045e \u041c\u044d\u043d",alpha2Code:"IM",alpha3Code:"IMN",numericCode:"833",callingCode:"+44"},{name:"\u0406\u0437\u0440\u0430\u0456\u043b\u044c",alpha2Code:"IL",alpha3Code:"ISR",numericCode:"376",callingCode:"+972"},{name:"\u0406\u0442\u0430\u043b\u0456\u044f",alpha2Code:"IT",alpha3Code:"ITA",numericCode:"380",callingCode:"+39"},{name:"\u042f\u043c\u0430\u0439\u043a\u0430",alpha2Code:"JM",alpha3Code:"JAM",numericCode:"388",callingCode:"+1876"},{name:"\u042f\u043f\u043e\u043d\u0456\u044f",alpha2Code:"JP",alpha3Code:"JPN",numericCode:"392",callingCode:"+81"},{name:"\u0414\u0436\u044d\u0440\u0441\u0456",alpha2Code:"JE",alpha3Code:"JEY",numericCode:"832",callingCode:"+44"},{name:"\u0406\u0430\u0440\u0434\u0430\u043d\u0456\u044f",alpha2Code:"JO",alpha3Code:"JOR",numericCode:"400",callingCode:"+962"},{name:"\u041a\u0430\u0437\u0430\u0445\u0441\u0442\u0430\u043d",alpha2Code:"KZ",alpha3Code:"KAZ",numericCode:"398",callingCode:"+7"},{name:"\u041a\u0435\u043d\u0456\u044f",alpha2Code:"KE",alpha3Code:"KEN",numericCode:"404",callingCode:"+254"},{name:"\u041a\u0456\u0440\u044b\u0431\u0430\u0446\u0456",alpha2Code:"KI",alpha3Code:"KIR",numericCode:"296",callingCode:"+686"},{name:"\u041a\u0443\u0432\u0435\u0439\u0442",alpha2Code:"KW",alpha3Code:"KWT",numericCode:"414",callingCode:"+965"},{name:"\u041a\u044b\u0440\u0433\u044b\u0437\u0441\u0442\u0430\u043d",alpha2Code:"KG",alpha3Code:"KGZ",numericCode:"417",callingCode:"+996"},{name:"\u041b\u0430\u043e\u0441",alpha2Code:"LA",alpha3Code:"LAO",numericCode:"418",callingCode:"+856"},{name:"\u041b\u0430\u0442\u0432\u0456\u044f",alpha2Code:"LV",alpha3Code:"LVA",numericCode:"428",callingCode:"+371"},{name:"\u041b\u0456\u0432\u0430\u043d",alpha2Code:"LB",alpha3Code:"LBN",numericCode:"422",callingCode:"+961"},{name:"\u041b\u0435\u0441\u043e\u0442\u0430",alpha2Code:"LS",alpha3Code:"LSO",numericCode:"426",callingCode:"+266"},{name:"\u041b\u0456\u0431\u0435\u0440\u044b\u044f",alpha2Code:"LR",alpha3Code:"LBR",numericCode:"430",callingCode:"+231"},{name:"\u041b\u0456\u0432\u0456\u044f",alpha2Code:"LY",alpha3Code:"LBY",numericCode:"434",callingCode:"+218"},{name:"\u041b\u0456\u0445\u0442\u044d\u043d\u0448\u0442\u044d\u0439\u043d",alpha2Code:"LI",alpha3Code:"LIE",numericCode:"438",callingCode:"+423"},{name:"\u041b\u0456\u0442\u0432\u0430",alpha2Code:"LT",alpha3Code:"LTU",numericCode:"440",callingCode:"+370"},{name:"\u041b\u044e\u043a\u0441\u0435\u043c\u0431\u0443\u0440\u0433",alpha2Code:"LU",alpha3Code:"LUX",numericCode:"442",callingCode:"+352"},{name:"\u041c\u0430\u043a\u0430\u0430",alpha2Code:"MO",alpha3Code:"MAC",numericCode:"446",callingCode:"+853"},{name:"\u041f\u0430\u045e\u043d\u043e\u0447\u043d\u0430\u044f \u041c\u0430\u043a\u0435\u0434\u043e\u043d\u0456\u044f",alpha2Code:"MK",alpha3Code:"MKD",numericCode:"807",callingCode:"+389"},{name:"\u041c\u0430\u0434\u0430\u0433\u0430\u0441\u043a\u0430\u0440",alpha2Code:"MG",alpha3Code:"MDG",numericCode:"450",callingCode:"+261"},{name:"\u041c\u0430\u043b\u0430\u0432\u0456",alpha2Code:"MW",alpha3Code:"MWI",numericCode:"454",callingCode:"+265"},{name:"\u041c\u0430\u043b\u0430\u0439\u0437\u0456\u044f",alpha2Code:"MY",alpha3Code:"MYS",numericCode:"458",callingCode:"+60"},{name:"\u041c\u0430\u043b\u044c\u0434\u044b\u0432\u044b",alpha2Code:"MV",alpha3Code:"MDV",numericCode:"462",callingCode:"+960"},{name:"\u041c\u0430\u043b\u0456",alpha2Code:"ML",alpha3Code:"MLI",numericCode:"466",callingCode:"+223"},{name:"\u041c\u0430\u043b\u044c\u0442\u0430",alpha2Code:"MT",alpha3Code:"MLT",numericCode:"470",callingCode:"+356"},{name:"\u041c\u0430\u0440\u0448\u0430\u043b\u0430\u0432\u044b \u0410\u0441\u0442\u0440\u0430\u0432\u044b",alpha2Code:"MH",alpha3Code:"MHL",numericCode:"584",callingCode:"+692"},{name:"\u041c\u0430\u0440\u0446\u0456\u043d\u0456\u043a\u0430",alpha2Code:"MQ",alpha3Code:"MTQ",numericCode:"474",callingCode:"+596"},{name:"\u041c\u0430\u045e\u0440\u044b\u0442\u0430\u043d\u0456\u044f",alpha2Code:"MR",alpha3Code:"MRT",numericCode:"478",callingCode:"+222"},{name:"\u041c\u0430\u045e\u0440\u044b\u043a\u0456\u0439",alpha2Code:"MU",alpha3Code:"MUS",numericCode:"480",callingCode:"+230"},{name:"\u041c\u0430\u0451\u0442\u0430",alpha2Code:"YT",alpha3Code:"MYT",numericCode:"175",callingCode:"+262"},{name:"\u041c\u0435\u043a\u0441\u0456\u043a\u0430",alpha2Code:"MX",alpha3Code:"MEX",numericCode:"484",callingCode:"+52"},{name:"\u041c\u0456\u043a\u0440\u0430\u043d\u0435\u0437\u0456\u044f",alpha2Code:"FM",alpha3Code:"FSM",numericCode:"583",callingCode:"+691"},{name:"\u041c\u0430\u043b\u0434\u043e\u0432\u0430",alpha2Code:"MD",alpha3Code:"MDA",numericCode:"498",callingCode:"+373"},{name:"\u041c\u0430\u043d\u0430\u043a\u0430",alpha2Code:"MC",alpha3Code:"MCO",numericCode:"492",callingCode:"+377"},{name:"\u041c\u0430\u043d\u0433\u043e\u043b\u0456\u044f",alpha2Code:"MN",alpha3Code:"MNG",numericCode:"496",callingCode:"+976"},{name:"\u0427\u0430\u0440\u043d\u0430\u0433\u043e\u0440\u044b\u044f",alpha2Code:"ME",alpha3Code:"MNE",numericCode:"499",callingCode:"+382"},{name:"\u041c\u0430\u043d\u0442\u0441\u0435\u0440\u0430\u0442",alpha2Code:"MS",alpha3Code:"MSR",numericCode:"500",callingCode:"+1664"},{name:"\u041c\u0430\u0440\u043e\u043a\u0430",alpha2Code:"MA",alpha3Code:"MAR",numericCode:"504",callingCode:"+212"},{name:"\u041c\u0430\u0437\u0430\u043c\u0431\u0456\u043a",alpha2Code:"MZ",alpha3Code:"MOZ",numericCode:"508",callingCode:"+258"},{name:"\u041c\u2019\u044f\u043d\u043c\u0430",alpha2Code:"MM",alpha3Code:"MMR",numericCode:"104",callingCode:"+95"},{name:"\u041d\u0430\u043c\u0456\u0431\u0456\u044f",alpha2Code:"NA",alpha3Code:"NAM",numericCode:"516",callingCode:"+264"},{name:"\u041d\u0430\u0443\u0440\u0443",alpha2Code:"NR",alpha3Code:"NRU",numericCode:"520",callingCode:"+674"},{name:"\u041d\u0435\u043f\u0430\u043b",alpha2Code:"NP",alpha3Code:"NPL",numericCode:"524",callingCode:"+977"},{name:"\u041d\u0456\u0434\u044d\u0440\u043b\u0430\u043d\u0434\u044b",alpha2Code:"NL",alpha3Code:"NLD",numericCode:"528",callingCode:"+31"},{name:"\u041d\u043e\u0432\u0430\u044f \u041a\u0430\u043b\u0435\u0434\u043e\u043d\u0456\u044f",alpha2Code:"NC",alpha3Code:"NCL",numericCode:"540",callingCode:"+687"},{name:"\u041d\u043e\u0432\u0430\u044f \u0417\u0435\u043b\u0430\u043d\u0434\u044b\u044f",alpha2Code:"NZ",alpha3Code:"NZL",numericCode:"554",callingCode:"+64"},{name:"\u041d\u0456\u043a\u0430\u0440\u0430\u0433\u0443\u0430",alpha2Code:"NI",alpha3Code:"NIC",numericCode:"558",callingCode:"+505"},{name:"\u041d\u0456\u0433\u0435\u0440",alpha2Code:"NE",alpha3Code:"NER",numericCode:"562",callingCode:"+227"},{name:"\u041d\u0456\u0433\u0435\u0440\u044b\u044f",alpha2Code:"NG",alpha3Code:"NGA",numericCode:"566",callingCode:"+234"},{name:"\u041d\u0456\u0443\u044d",alpha2Code:"NU",alpha3Code:"NIU",numericCode:"570",callingCode:"+683"},{name:"\u0412\u043e\u0441\u0442\u0440\u0430\u045e \u041d\u043e\u0440\u0444\u0430\u043b\u043a",alpha2Code:"NF",alpha3Code:"NFK",numericCode:"574",callingCode:"+672"},{name:"\u041f\u0430\u045e\u043d\u043e\u0447\u043d\u0430\u044f \u041a\u0430\u0440\u044d\u044f",alpha2Code:"KP",alpha3Code:"PRK",numericCode:"408",callingCode:"+850"},{name:"\u041f\u0430\u045e\u043d\u043e\u0447\u043d\u044b\u044f \u041c\u0430\u0440\u044b\u044f\u043d\u0441\u043a\u0456\u044f \u0430\u0441\u0442\u0440\u0430\u0432\u044b",alpha2Code:"MP",alpha3Code:"MNP",numericCode:"580",callingCode:"+1670"},{name:"\u041d\u0430\u0440\u0432\u0435\u0433\u0456\u044f",alpha2Code:"NO",alpha3Code:"NOR",numericCode:"578",callingCode:"+47"},{name:"\u0410\u043c\u0430\u043d",alpha2Code:"OM",alpha3Code:"OMN",numericCode:"512",callingCode:"+968"},{name:"\u041f\u0430\u043a\u0456\u0441\u0442\u0430\u043d",alpha2Code:"PK",alpha3Code:"PAK",numericCode:"586",callingCode:"+92"},{name:"\u041f\u0430\u043b\u0430\u0443",alpha2Code:"PW",alpha3Code:"PLW",numericCode:"585",callingCode:"+680"},{name:"\u041f\u0430\u043b\u0435\u0441\u0446\u0456\u043d\u0430",alpha2Code:"PS",alpha3Code:"PSE",numericCode:"275",callingCode:"+970"},{name:"\u041f\u0430\u043d\u0430\u043c\u0430",alpha2Code:"PA",alpha3Code:"PAN",numericCode:"591",callingCode:"+507"},{name:"\u041f\u0430\u043f\u0443\u0430 \u2014 \u041d\u043e\u0432\u0430\u044f \u0413\u0432\u0456\u043d\u0435\u044f",alpha2Code:"PG",alpha3Code:"PNG",numericCode:"598",callingCode:"+675"},{name:"\u041f\u0430\u0440\u0430\u0433\u0432\u0430\u0439",alpha2Code:"PY",alpha3Code:"PRY",numericCode:"600",callingCode:"+595"},{name:"\u041f\u0435\u0440\u0443",alpha2Code:"PE",alpha3Code:"PER",numericCode:"604",callingCode:"+51"},{name:"\u0424\u0456\u043b\u0456\u043f\u0456\u043d\u044b",alpha2Code:"PH",alpha3Code:"PHL",numericCode:"608",callingCode:"+63"},{name:"\u0410\u0441\u0442\u0440\u0430\u0432\u044b \u041f\u0456\u0442\u043a\u044d\u0440\u043d",alpha2Code:"PN",alpha3Code:"PCN",numericCode:"612",callingCode:"+64"},{name:"\u041f\u043e\u043b\u044c\u0448\u0447\u0430",alpha2Code:"PL",alpha3Code:"POL",numericCode:"616",callingCode:"+48"},{name:"\u041f\u0430\u0440\u0442\u0443\u0433\u0430\u043b\u0456\u044f",alpha2Code:"PT",alpha3Code:"PRT",numericCode:"620",callingCode:"+351"},{name:"\u041f\u0443\u044d\u0440\u0442\u0430-\u0420\u044b\u043a\u0430",alpha2Code:"PR",alpha3Code:"PRI",numericCode:"630",callingCode:"+1"},{name:"\u041a\u0430\u0442\u0430\u0440",alpha2Code:"QA",alpha3Code:"QAT",numericCode:"634",callingCode:"+974"},{name:"\u0420\u044d\u0441\u043f\u0443\u0431\u043b\u0456\u043a\u0430 \u041a\u043e\u0441\u0430\u0432\u0430",alpha2Code:"XK",alpha3Code:"KOS",numericCode:null,callingCode:"+383"},{name:"\u0420\u044d\u044e\u043d\u044c\u0451\u043d",alpha2Code:"RE",alpha3Code:"REU",numericCode:"638",callingCode:"+262"},{name:"\u0420\u0443\u043c\u044b\u043d\u0456\u044f",alpha2Code:"RO",alpha3Code:"ROU",numericCode:"642",callingCode:"+40"},{name:"\u0420\u0430\u0441\u0456\u044f",alpha2Code:"RU",alpha3Code:"RUS",numericCode:"643",callingCode:"+7"},{name:"\u0420\u0443\u0430\u043d\u0434\u0430",alpha2Code:"RW",alpha3Code:"RWA",numericCode:"646",callingCode:"+250"},{name:"\u0421\u0435\u043d-\u0411\u0430\u0440\u0442\u044d\u043b\u044c\u043c\u0456",alpha2Code:"BL",alpha3Code:"BLM",numericCode:"652",callingCode:"+590"},{name:"\u0410\u0441\u0442\u0440\u0430\u0432\u044b \u0421\u0432\u044f\u0442\u043e\u0439 \u0410\u043b\u0435\u043d\u044b, \u0423\u0437\u043d\u044f\u0441\u0435\u043d\u043d\u044f \u0456 \u0422\u0440\u044b\u0441\u0442\u0430\u043d-\u0434\u0430-\u041a\u0443\u043d\u044c\u044f",alpha2Code:"SH",alpha3Code:"SHN",numericCode:"654",callingCode:"+290"},{name:"\u0421\u0435\u043d\u0442-\u041a\u0456\u0442\u0441 \u0456 \u041d\u0435\u0432\u0456\u0441",alpha2Code:"KN",alpha3Code:"KNA",numericCode:"659",callingCode:"+1869"},{name:"\u0421\u0435\u043d\u0442-\u041b\u044e\u0441\u0456\u044f",alpha2Code:"LC",alpha3Code:"LCA",numericCode:"662",callingCode:"+1758"},{name:"\u0421\u0435\u043d-\u041c\u0430\u0440\u0442\u044d\u043d",alpha2Code:"MF",alpha3Code:"MAF",numericCode:"663",callingCode:"+590"},{name:"\u0421\u0435\u043d-\u041f'\u0435\u0440 \u0456 \u041c\u0456\u043a\u0435\u043b\u043e\u043d",alpha2Code:"PM",alpha3Code:"SPM",numericCode:"666",callingCode:"+508"},{name:"\u0421\u0435\u043d\u0442-\u0412\u0456\u043d\u0441\u0435\u043d\u0442 \u0456 \u0413\u0440\u044d\u043d\u0430\u0434\u0437\u0456\u043d\u044b",alpha2Code:"VC",alpha3Code:"VCT",numericCode:"670",callingCode:"+1784"},{name:"\u0421\u0430\u043c\u043e\u0430",alpha2Code:"WS",alpha3Code:"WSM",numericCode:"882",callingCode:"+685"},{name:"\u0421\u0430\u043d-\u041c\u0430\u0440\u044b\u043d\u0430",alpha2Code:"SM",alpha3Code:"SMR",numericCode:"674",callingCode:"+378"},{name:"\u0421\u0430\u043d-\u0422\u0430\u043c\u044d \u0456 \u041f\u0440\u044b\u043d\u0441\u0456\u043f\u0456",alpha2Code:"ST",alpha3Code:"STP",numericCode:"678",callingCode:"+239"},{name:"\u0421\u0430\u0443\u0434\u0430\u045e\u0441\u043a\u0430\u044f \u0410\u0440\u0430\u0432\u0456\u044f",alpha2Code:"SA",alpha3Code:"SAU",numericCode:"682",callingCode:"+966"},{name:"\u0421\u0435\u043d\u0435\u0433\u0430\u043b",alpha2Code:"SN",alpha3Code:"SEN",numericCode:"686",callingCode:"+221"},{name:"\u0421\u0435\u0440\u0431\u0456\u044f",alpha2Code:"RS",alpha3Code:"SRB",numericCode:"688",callingCode:"+381"},{name:"\u0421\u0435\u0439\u0448\u044d\u043b\u044c\u0441\u043a\u0456\u044f \u0410\u0441\u0442\u0440\u0430\u0432\u044b",alpha2Code:"SC",alpha3Code:"SYC",numericCode:"690",callingCode:"+248"},{name:"\u0421\u044c\u0435\u0440\u0430-\u041b\u0435\u043e\u043d\u044d",alpha2Code:"SL",alpha3Code:"SLE",numericCode:"694",callingCode:"+232"},{name:"\u0421\u0456\u043d\u0433\u0430\u043f\u0443\u0440",alpha2Code:"SG",alpha3Code:"SGP",numericCode:"702",callingCode:"+65"},{name:"\u0421\u0456\u043d\u0442-\u041c\u0430\u0440\u0442\u044d\u043d",alpha2Code:"SX",alpha3Code:"SXM",numericCode:"534",callingCode:"+1721"},{name:"\u0421\u043b\u0430\u0432\u0430\u043a\u0456\u044f",alpha2Code:"SK",alpha3Code:"SVK",numericCode:"703",callingCode:"+421"},{name:"\u0421\u043b\u0430\u0432\u0435\u043d\u0456\u044f",alpha2Code:"SI",alpha3Code:"SVN",numericCode:"705",callingCode:"+386"},{name:"\u0421\u0430\u043b\u0430\u043c\u043e\u043d\u0430\u0432\u044b \u0410\u0441\u0442\u0440\u0430\u0432\u044b",alpha2Code:"SB",alpha3Code:"SLB",numericCode:"090",callingCode:"+677"},{name:"\u0421\u0430\u043c\u0430\u043b\u0456",alpha2Code:"SO",alpha3Code:"SOM",numericCode:"706",callingCode:"+252"},{name:"\u041f\u0410\u0420",alpha2Code:"ZA",alpha3Code:"ZAF",numericCode:"710",callingCode:"+27"},{name:"\u041f\u0430\u045e\u0434\u043d\u0451\u0432\u0430\u044f \u0414\u0436\u043e\u0440\u0434\u0436\u044b\u044f \u0456 \u041f\u0430\u045e\u0434\u043d\u0451\u0432\u044b\u044f \u0421\u0430\u043d\u0434\u0432\u0456\u0447\u0430\u0432\u044b \u0430\u0441\u0442\u0440\u0430\u0432\u044b",alpha2Code:"GS",alpha3Code:"SGS",numericCode:"239",callingCode:"+500"},{name:"\u0420\u044d\u0441\u043f\u0443\u0431\u043b\u0456\u043a\u0430 \u041a\u0430\u0440\u044d\u044f",alpha2Code:"KR",alpha3Code:"KOR",numericCode:"410",callingCode:"+82"},{name:"\u041f\u0430\u045e\u0434\u043d\u0451\u0432\u044b \u0421\u0443\u0434\u0430\u043d",alpha2Code:"SS",alpha3Code:"SSD",numericCode:"728",callingCode:"+211"},{name:"\u0406\u0441\u043f\u0430\u043d\u0456\u044f",alpha2Code:"ES",alpha3Code:"ESP",numericCode:"724",callingCode:"+34"},{name:"\u0428\u0440\u044b-\u041b\u0430\u043d\u043a\u0430",alpha2Code:"LK",alpha3Code:"LKA",numericCode:"144",callingCode:"+94"},{name:"\u0421\u0443\u0434\u0430\u043d",alpha2Code:"SD",alpha3Code:"SDN",numericCode:"729",callingCode:"+249"},{name:"\u0421\u0443\u0440\u044b\u043d\u0430\u043c",alpha2Code:"SR",alpha3Code:"SUR",numericCode:"740",callingCode:"+597"},{name:"\u0428\u043f\u0456\u0446\u0431\u0435\u0440\u0433\u0435\u043d \u0456 \u042f\u043d-\u041c\u0430\u0435\u043d",alpha2Code:"SJ",alpha3Code:"SJM",numericCode:"744",callingCode:"+4779"},{name:"\u0421\u0432\u0430\u0437\u0456\u043b\u0435\u043d\u0434",alpha2Code:"SZ",alpha3Code:"SWZ",numericCode:"748",callingCode:"+268"},{name:"\u0428\u0432\u0435\u0446\u044b\u044f",alpha2Code:"SE",alpha3Code:"SWE",numericCode:"752",callingCode:"+46"},{name:"\u0428\u0432\u0435\u0439\u0446\u0430\u0440\u044b\u044f",alpha2Code:"CH",alpha3Code:"CHE",numericCode:"756",callingCode:"+41"},{name:"\u0421\u0456\u0440\u044b\u044f",alpha2Code:"SY",alpha3Code:"SYR",numericCode:"760",callingCode:"+963"},{name:"\u041a\u0456\u0442\u0430\u0439\u0441\u043a\u0430\u044f \u0420\u044d\u0441\u043f\u0443\u0431\u043b\u0456\u043a\u0430",alpha2Code:"TW",alpha3Code:"TWN",numericCode:"158",callingCode:"+886"},{name:"\u0422\u0430\u0434\u0436\u044b\u043a\u0456\u0441\u0442\u0430\u043d",alpha2Code:"TJ",alpha3Code:"TJK",numericCode:"762",callingCode:"+992"},{name:"\u0422\u0430\u043d\u0437\u0430\u043d\u0456\u044f",alpha2Code:"TZ",alpha3Code:"TZA",numericCode:"834",callingCode:"+255"},{name:"\u0422\u0430\u0439\u043b\u0430\u043d\u0434",alpha2Code:"TH",alpha3Code:"THA",numericCode:"764",callingCode:"+66"},{name:"\u0423\u0441\u0445\u043e\u0434\u043d\u0456 \u0422\u044b\u043c\u043e\u0440",alpha2Code:"TL",alpha3Code:"TLS",numericCode:"626",callingCode:"+670"},{name:"\u0422\u043e\u0433\u0430",alpha2Code:"TG",alpha3Code:"TGO",numericCode:"768",callingCode:"+228"},{name:"\u0422\u0430\u043a\u0435\u043b\u0430\u0443",alpha2Code:"TK",alpha3Code:"TKL",numericCode:"772",callingCode:"+690"},{name:"\u0422\u043e\u043d\u0433\u0430",alpha2Code:"TO",alpha3Code:"TON",numericCode:"776",callingCode:"+676"},{name:"\u0422\u0440\u044b\u043d\u0456\u0434\u0430\u0434 \u0456 \u0422\u0430\u0431\u0430\u0433\u0430",alpha2Code:"TT",alpha3Code:"TTO",numericCode:"780",callingCode:"+1868"},{name:"\u0422\u0443\u043d\u0456\u0441",alpha2Code:"TN",alpha3Code:"TUN",numericCode:"788",callingCode:"+216"},{name:"\u0422\u0443\u0440\u0446\u044b\u044f",alpha2Code:"TR",alpha3Code:"TUR",numericCode:"792",callingCode:"+90"},{name:"\u0422\u0443\u0440\u043a\u043c\u0435\u043d\u0456\u0441\u0442\u0430\u043d",alpha2Code:"TM",alpha3Code:"TKM",numericCode:"795",callingCode:"+993"},{name:"\u0426\u0451\u0440\u043a\u0441 \u0456 \u041a\u0430\u0439\u043a\u0430\u0441",alpha2Code:"TC",alpha3Code:"TCA",numericCode:"796",callingCode:"+1649"},{name:"\u0422\u0443\u0432\u0430\u043b\u0443",alpha2Code:"TV",alpha3Code:"TUV",numericCode:"798",callingCode:"+688"},{name:"\u0423\u0433\u0430\u043d\u0434\u0430",alpha2Code:"UG",alpha3Code:"UGA",numericCode:"800",callingCode:"+256"},{name:"\u0423\u043a\u0440\u0430\u0456\u043d\u0430",alpha2Code:"UA",alpha3Code:"UKR",numericCode:"804",callingCode:"+380"},{name:"\u0410\u0431\u2019\u044f\u0434\u043d\u0430\u043d\u044b\u044f \u0410\u0440\u0430\u0431\u0441\u043a\u0456\u044f \u042d\u043c\u0456\u0440\u0430\u0442\u044b",alpha2Code:"AE",alpha3Code:"ARE",numericCode:"784",callingCode:"+971"},{name:"\u0412\u044f\u043b\u0456\u043a\u0430\u0431\u0440\u044b\u0442\u0430\u043d\u0456\u044f",alpha2Code:"GB",alpha3Code:"GBR",numericCode:"826",callingCode:"+44"},{name:"\u0417\u0428\u0410",alpha2Code:"US",alpha3Code:"USA",numericCode:"840",callingCode:"+1"},{name:"\u0423\u0440\u0443\u0433\u0432\u0430\u0439",alpha2Code:"UY",alpha3Code:"URY",numericCode:"858",callingCode:"+598"},{name:"\u0423\u0437\u0431\u0435\u043a\u0456\u0441\u0442\u0430\u043d",alpha2Code:"UZ",alpha3Code:"UZB",numericCode:"860",callingCode:"+998"},{name:"\u0412\u0430\u043d\u0443\u0430\u0442\u0443",alpha2Code:"VU",alpha3Code:"VUT",numericCode:"548",callingCode:"+678"},{name:"\u0412\u0435\u043d\u0435\u0441\u0443\u044d\u043b\u0430",alpha2Code:"VE",alpha3Code:"VEN",numericCode:"862",callingCode:"+58"},{name:"\u0412\u2019\u0435\u0442\u043d\u0430\u043c",alpha2Code:"VN",alpha3Code:"VNM",numericCode:"704",callingCode:"+84"},{name:"\u0423\u043e\u043b\u0456\u0441 \u0456 \u0424\u0443\u0442\u0443\u043d\u0430",alpha2Code:"WF",alpha3Code:"WLF",numericCode:"876",callingCode:"+681"},{name:"\u0417\u0430\u0445\u043e\u0434\u043d\u044f\u044f \u0421\u0430\u0445\u0430\u0440\u0430",alpha2Code:"EH",alpha3Code:"ESH",numericCode:"732",callingCode:"+212"},{name:"\u0415\u043c\u0435\u043d",alpha2Code:"YE",alpha3Code:"YEM",numericCode:"887",callingCode:"+967"},{name:"\u0417\u0430\u043c\u0431\u0456\u044f",alpha2Code:"ZM",alpha3Code:"ZMB",numericCode:"894",callingCode:"+260"},{name:"\u0417\u0456\u043c\u0431\u0430\u0431\u0432\u044d",alpha2Code:"ZW",alpha3Code:"ZWE",numericCode:"716",callingCode:"+263"}]}),Oy=Object.freeze({__proto__:null,COUNTRIES_DB_DE:[{name:"Afghanistan",alpha2Code:"AF",alpha3Code:"AFG",numericCode:"004",callingCode:"+93"},{name:"\xc5land",alpha2Code:"AX",alpha3Code:"ALA",numericCode:"248",callingCode:"+358"},{name:"Albanien",alpha2Code:"AL",alpha3Code:"ALB",numericCode:"008",callingCode:"+355"},{name:"Algerien",alpha2Code:"DZ",alpha3Code:"DZA",numericCode:"012",callingCode:"+213"},{name:"Amerikanisch-Samoa",alpha2Code:"AS",alpha3Code:"ASM",numericCode:"016",callingCode:"+1684"},{name:"Andorra",alpha2Code:"AD",alpha3Code:"AND",numericCode:"020",callingCode:"+376"},{name:"Angola",alpha2Code:"AO",alpha3Code:"AGO",numericCode:"024",callingCode:"+244"},{name:"Anguilla",alpha2Code:"AI",alpha3Code:"AIA",numericCode:"660",callingCode:"+1264"},{name:"Antarktika",alpha2Code:"AQ",alpha3Code:"ATA",numericCode:"010",callingCode:"+672"},{name:"Antigua und Barbuda",alpha2Code:"AG",alpha3Code:"ATG",numericCode:"028",callingCode:"+1268"},{name:"Argentinien",alpha2Code:"AR",alpha3Code:"ARG",numericCode:"032",callingCode:"+54"},{name:"Armenien",alpha2Code:"AM",alpha3Code:"ARM",numericCode:"051",callingCode:"+374"},{name:"Aruba",alpha2Code:"AW",alpha3Code:"ABW",numericCode:"533",callingCode:"+297"},{name:"Australien",alpha2Code:"AU",alpha3Code:"AUS",numericCode:"036",callingCode:"+61"},{name:"\xd6sterreich",alpha2Code:"AT",alpha3Code:"AUT",numericCode:"040",callingCode:"+43"},{name:"Aserbaidschan",alpha2Code:"AZ",alpha3Code:"AZE",numericCode:"031",callingCode:"+994"},{name:"Bahamas",alpha2Code:"BS",alpha3Code:"BHS",numericCode:"044",callingCode:"+1242"},{name:"Bahrain",alpha2Code:"BH",alpha3Code:"BHR",numericCode:"048",callingCode:"+973"},{name:"Bangladesch",alpha2Code:"BD",alpha3Code:"BGD",numericCode:"050",callingCode:"+880"},{name:"Barbados",alpha2Code:"BB",alpha3Code:"BRB",numericCode:"052",callingCode:"+1246"},{name:"Wei\xdfrussland",alpha2Code:"BY",alpha3Code:"BLR",numericCode:"112",callingCode:"+375"},{name:"Belgien",alpha2Code:"BE",alpha3Code:"BEL",numericCode:"056",callingCode:"+32"},{name:"Belize",alpha2Code:"BZ",alpha3Code:"BLZ",numericCode:"084",callingCode:"+501"},{name:"Benin",alpha2Code:"BJ",alpha3Code:"BEN",numericCode:"204",callingCode:"+229"},{name:"Bermuda",alpha2Code:"BM",alpha3Code:"BMU",numericCode:"060",callingCode:"+1441"},{name:"Bhutan",alpha2Code:"BT",alpha3Code:"BTN",numericCode:"064",callingCode:"+975"},{name:"Bolivien",alpha2Code:"BO",alpha3Code:"BOL",numericCode:"068",callingCode:"+591"},{name:"Bonaire, Sint Eustatius und Saba",alpha2Code:"BQ",alpha3Code:"BES",numericCode:"535",callingCode:"+5997"},{name:"Bosnien und Herzegowina",alpha2Code:"BA",alpha3Code:"BIH",numericCode:"070",callingCode:"+387"},{name:"Botswana",alpha2Code:"BW",alpha3Code:"BWA",numericCode:"072",callingCode:"+267"},{name:"Bouvetinsel",alpha2Code:"BV",alpha3Code:"BVT",numericCode:"074",callingCode:"+"},{name:"Brasilien",alpha2Code:"BR",alpha3Code:"BRA",numericCode:"076",callingCode:"+55"},{name:"Britisches Territorium im Indischen Ozean",alpha2Code:"IO",alpha3Code:"IOT",numericCode:"086",callingCode:"+246"},{name:"Kleinere Inselbesitzungen der Vereinigten Staaten",alpha2Code:"UM",alpha3Code:"UMI",numericCode:"581",callingCode:"+"},{name:"Britische Jungferninseln",alpha2Code:"VG",alpha3Code:"VGB",numericCode:"092",callingCode:"+1284"},{name:"Amerikanische Jungferninseln",alpha2Code:"VI",alpha3Code:"VIR",numericCode:"850",callingCode:"+1 340"},{name:"Brunei",alpha2Code:"BN",alpha3Code:"BRN",numericCode:"096",callingCode:"+673"},{name:"Bulgarien",alpha2Code:"BG",alpha3Code:"BGR",numericCode:"100",callingCode:"+359"},{name:"Burkina Faso",alpha2Code:"BF",alpha3Code:"BFA",numericCode:"854",callingCode:"+226"},{name:"Burundi",alpha2Code:"BI",alpha3Code:"BDI",numericCode:"108",callingCode:"+257"},{name:"Kambodscha",alpha2Code:"KH",alpha3Code:"KHM",numericCode:"116",callingCode:"+855"},{name:"Kamerun",alpha2Code:"CM",alpha3Code:"CMR",numericCode:"120",callingCode:"+237"},{name:"Kanada",alpha2Code:"CA",alpha3Code:"CAN",numericCode:"124",callingCode:"+1"},{name:"Kap Verde",alpha2Code:"CV",alpha3Code:"CPV",numericCode:"132",callingCode:"+238"},{name:"Kaimaninseln",alpha2Code:"KY",alpha3Code:"CYM",numericCode:"136",callingCode:"+1345"},{name:"Zentralafrikanische Republik",alpha2Code:"CF",alpha3Code:"CAF",numericCode:"140",callingCode:"+236"},{name:"Tschad",alpha2Code:"TD",alpha3Code:"TCD",numericCode:"148",callingCode:"+235"},{name:"Chile",alpha2Code:"CL",alpha3Code:"CHL",numericCode:"152",callingCode:"+56"},{name:"China",alpha2Code:"CN",alpha3Code:"CHN",numericCode:"156",callingCode:"+86"},{name:"Weihnachtsinsel",alpha2Code:"CX",alpha3Code:"CXR",numericCode:"162",callingCode:"+61"},{name:"Kokosinseln",alpha2Code:"CC",alpha3Code:"CCK",numericCode:"166",callingCode:"+61"},{name:"Kolumbien",alpha2Code:"CO",alpha3Code:"COL",numericCode:"170",callingCode:"+57"},{name:"Union der Komoren",alpha2Code:"KM",alpha3Code:"COM",numericCode:"174",callingCode:"+269"},{name:"Kongo",alpha2Code:"CG",alpha3Code:"COG",numericCode:"178",callingCode:"+242"},{name:"Kongo (Dem. Rep.)",alpha2Code:"CD",alpha3Code:"COD",numericCode:"180",callingCode:"+243"},{name:"Cookinseln",alpha2Code:"CK",alpha3Code:"COK",numericCode:"184",callingCode:"+682"},{name:"Costa Rica",alpha2Code:"CR",alpha3Code:"CRI",numericCode:"188",callingCode:"+506"},{name:"Kroatien",alpha2Code:"HR",alpha3Code:"HRV",numericCode:"191",callingCode:"+385"},{name:"Kuba",alpha2Code:"CU",alpha3Code:"CUB",numericCode:"192",callingCode:"+53"},{name:"Cura\xe7ao",alpha2Code:"CW",alpha3Code:"CUW",numericCode:"531",callingCode:"+599"},{name:"Zypern",alpha2Code:"CY",alpha3Code:"CYP",numericCode:"196",callingCode:"+357"},{name:"Tschechische Republik",alpha2Code:"CZ",alpha3Code:"CZE",numericCode:"203",callingCode:"+420"},{name:"D\xe4nemark",alpha2Code:"DK",alpha3Code:"DNK",numericCode:"208",callingCode:"+45"},{name:"Dschibuti",alpha2Code:"DJ",alpha3Code:"DJI",numericCode:"262",callingCode:"+253"},{name:"Dominica",alpha2Code:"DM",alpha3Code:"DMA",numericCode:"212",callingCode:"+1767"},{name:"Dominikanische Republik",alpha2Code:"DO",alpha3Code:"DOM",numericCode:"214",callingCode:"+1809"},{name:"Ecuador",alpha2Code:"EC",alpha3Code:"ECU",numericCode:"218",callingCode:"+593"},{name:"\xc4gypten",alpha2Code:"EG",alpha3Code:"EGY",numericCode:"818",callingCode:"+20"},{name:"El Salvador",alpha2Code:"SV",alpha3Code:"SLV",numericCode:"222",callingCode:"+503"},{name:"\xc4quatorial-Guinea",alpha2Code:"GQ",alpha3Code:"GNQ",numericCode:"226",callingCode:"+240"},{name:"Eritrea",alpha2Code:"ER",alpha3Code:"ERI",numericCode:"232",callingCode:"+291"},{name:"Estland",alpha2Code:"EE",alpha3Code:"EST",numericCode:"233",callingCode:"+372"},{name:"\xc4thiopien",alpha2Code:"ET",alpha3Code:"ETH",numericCode:"231",callingCode:"+251"},{name:"Falklandinseln",alpha2Code:"FK",alpha3Code:"FLK",numericCode:"238",callingCode:"+500"},{name:"F\xe4r\xf6er-Inseln",alpha2Code:"FO",alpha3Code:"FRO",numericCode:"234",callingCode:"+298"},{name:"Fidschi",alpha2Code:"FJ",alpha3Code:"FJI",numericCode:"242",callingCode:"+679"},{name:"Finnland",alpha2Code:"FI",alpha3Code:"FIN",numericCode:"246",callingCode:"+358"},{name:"Frankreich",alpha2Code:"FR",alpha3Code:"FRA",numericCode:"250",callingCode:"+33"},{name:"Franz\xf6sisch Guyana",alpha2Code:"GF",alpha3Code:"GUF",numericCode:"254",callingCode:"+594"},{name:"Franz\xf6sisch-Polynesien",alpha2Code:"PF",alpha3Code:"PYF",numericCode:"258",callingCode:"+689"},{name:"Franz\xf6sische S\xfcd- und Antarktisgebiete",alpha2Code:"TF",alpha3Code:"ATF",numericCode:"260",callingCode:"+"},{name:"Gabun",alpha2Code:"GA",alpha3Code:"GAB",numericCode:"266",callingCode:"+241"},{name:"Gambia",alpha2Code:"GM",alpha3Code:"GMB",numericCode:"270",callingCode:"+220"},{name:"Georgien",alpha2Code:"GE",alpha3Code:"GEO",numericCode:"268",callingCode:"+995"},{name:"Deutschland",alpha2Code:"DE",alpha3Code:"DEU",numericCode:"276",callingCode:"+49"},{name:"Ghana",alpha2Code:"GH",alpha3Code:"GHA",numericCode:"288",callingCode:"+233"},{name:"Gibraltar",alpha2Code:"GI",alpha3Code:"GIB",numericCode:"292",callingCode:"+350"},{name:"Griechenland",alpha2Code:"GR",alpha3Code:"GRC",numericCode:"300",callingCode:"+30"},{name:"Gr\xf6nland",alpha2Code:"GL",alpha3Code:"GRL",numericCode:"304",callingCode:"+299"},{name:"Grenada",alpha2Code:"GD",alpha3Code:"GRD",numericCode:"308",callingCode:"+1473"},{name:"Guadeloupe",alpha2Code:"GP",alpha3Code:"GLP",numericCode:"312",callingCode:"+590"},{name:"Guam",alpha2Code:"GU",alpha3Code:"GUM",numericCode:"316",callingCode:"+1671"},{name:"Guatemala",alpha2Code:"GT",alpha3Code:"GTM",numericCode:"320",callingCode:"+502"},{name:"Guernsey",alpha2Code:"GG",alpha3Code:"GGY",numericCode:"831",callingCode:"+44"},{name:"Guinea",alpha2Code:"GN",alpha3Code:"GIN",numericCode:"324",callingCode:"+224"},{name:"Guinea-Bissau",alpha2Code:"GW",alpha3Code:"GNB",numericCode:"624",callingCode:"+245"},{name:"Guyana",alpha2Code:"GY",alpha3Code:"GUY",numericCode:"328",callingCode:"+592"},{name:"Haiti",alpha2Code:"HT",alpha3Code:"HTI",numericCode:"332",callingCode:"+509"},{name:"Heard und die McDonaldinseln",alpha2Code:"HM",alpha3Code:"HMD",numericCode:"334",callingCode:"+"},{name:"Heiliger Stuhl",alpha2Code:"VA",alpha3Code:"VAT",numericCode:"336",callingCode:"+379"},{name:"Honduras",alpha2Code:"HN",alpha3Code:"HND",numericCode:"340",callingCode:"+504"},{name:"Hong Kong",alpha2Code:"HK",alpha3Code:"HKG",numericCode:"344",callingCode:"+852"},{name:"Ungarn",alpha2Code:"HU",alpha3Code:"HUN",numericCode:"348",callingCode:"+36"},{name:"Island",alpha2Code:"IS",alpha3Code:"ISL",numericCode:"352",callingCode:"+354"},{name:"Indien",alpha2Code:"IN",alpha3Code:"IND",numericCode:"356",callingCode:"+91"},{name:"Indonesien",alpha2Code:"ID",alpha3Code:"IDN",numericCode:"360",callingCode:"+62"},{name:"Elfenbeink\xfcste",alpha2Code:"CI",alpha3Code:"CIV",numericCode:"384",callingCode:"+225"},{name:"Iran",alpha2Code:"IR",alpha3Code:"IRN",numericCode:"364",callingCode:"+98"},{name:"Irak",alpha2Code:"IQ",alpha3Code:"IRQ",numericCode:"368",callingCode:"+964"},{name:"Irland",alpha2Code:"IE",alpha3Code:"IRL",numericCode:"372",callingCode:"+353"},{name:"Insel Man",alpha2Code:"IM",alpha3Code:"IMN",numericCode:"833",callingCode:"+44"},{name:"Israel",alpha2Code:"IL",alpha3Code:"ISR",numericCode:"376",callingCode:"+972"},{name:"Italien",alpha2Code:"IT",alpha3Code:"ITA",numericCode:"380",callingCode:"+39"},{name:"Jamaika",alpha2Code:"JM",alpha3Code:"JAM",numericCode:"388",callingCode:"+1876"},{name:"Japan",alpha2Code:"JP",alpha3Code:"JPN",numericCode:"392",callingCode:"+81"},{name:"Jersey",alpha2Code:"JE",alpha3Code:"JEY",numericCode:"832",callingCode:"+44"},{name:"Jordanien",alpha2Code:"JO",alpha3Code:"JOR",numericCode:"400",callingCode:"+962"},{name:"Kasachstan",alpha2Code:"KZ",alpha3Code:"KAZ",numericCode:"398",callingCode:"+7"},{name:"Kenia",alpha2Code:"KE",alpha3Code:"KEN",numericCode:"404",callingCode:"+254"},{name:"Kiribati",alpha2Code:"KI",alpha3Code:"KIR",numericCode:"296",callingCode:"+686"},{name:"Kuwait",alpha2Code:"KW",alpha3Code:"KWT",numericCode:"414",callingCode:"+965"},{name:"Kirgisistan",alpha2Code:"KG",alpha3Code:"KGZ",numericCode:"417",callingCode:"+996"},{name:"Laos",alpha2Code:"LA",alpha3Code:"LAO",numericCode:"418",callingCode:"+856"},{name:"Lettland",alpha2Code:"LV",alpha3Code:"LVA",numericCode:"428",callingCode:"+371"},{name:"Libanon",alpha2Code:"LB",alpha3Code:"LBN",numericCode:"422",callingCode:"+961"},{name:"Lesotho",alpha2Code:"LS",alpha3Code:"LSO",numericCode:"426",callingCode:"+266"},{name:"Liberia",alpha2Code:"LR",alpha3Code:"LBR",numericCode:"430",callingCode:"+231"},{name:"Libyen",alpha2Code:"LY",alpha3Code:"LBY",numericCode:"434",callingCode:"+218"},{name:"Liechtenstein",alpha2Code:"LI",alpha3Code:"LIE",numericCode:"438",callingCode:"+423"},{name:"Litauen",alpha2Code:"LT",alpha3Code:"LTU",numericCode:"440",callingCode:"+370"},{name:"Luxemburg",alpha2Code:"LU",alpha3Code:"LUX",numericCode:"442",callingCode:"+352"},{name:"Macao",alpha2Code:"MO",alpha3Code:"MAC",numericCode:"446",callingCode:"+853"},{name:"Mazedonien",alpha2Code:"MK",alpha3Code:"MKD",numericCode:"807",callingCode:"+389"},{name:"Madagaskar",alpha2Code:"MG",alpha3Code:"MDG",numericCode:"450",callingCode:"+261"},{name:"Malawi",alpha2Code:"MW",alpha3Code:"MWI",numericCode:"454",callingCode:"+265"},{name:"Malaysia",alpha2Code:"MY",alpha3Code:"MYS",numericCode:"458",callingCode:"+60"},{name:"Malediven",alpha2Code:"MV",alpha3Code:"MDV",numericCode:"462",callingCode:"+960"},{name:"Mali",alpha2Code:"ML",alpha3Code:"MLI",numericCode:"466",callingCode:"+223"},{name:"Malta",alpha2Code:"MT",alpha3Code:"MLT",numericCode:"470",callingCode:"+356"},{name:"Marshallinseln",alpha2Code:"MH",alpha3Code:"MHL",numericCode:"584",callingCode:"+692"},{name:"Martinique",alpha2Code:"MQ",alpha3Code:"MTQ",numericCode:"474",callingCode:"+596"},{name:"Mauretanien",alpha2Code:"MR",alpha3Code:"MRT",numericCode:"478",callingCode:"+222"},{name:"Mauritius",alpha2Code:"MU",alpha3Code:"MUS",numericCode:"480",callingCode:"+230"},{name:"Mayotte",alpha2Code:"YT",alpha3Code:"MYT",numericCode:"175",callingCode:"+262"},{name:"Mexiko",alpha2Code:"MX",alpha3Code:"MEX",numericCode:"484",callingCode:"+52"},{name:"Mikronesien",alpha2Code:"FM",alpha3Code:"FSM",numericCode:"583",callingCode:"+691"},{name:"Moldawie",alpha2Code:"MD",alpha3Code:"MDA",numericCode:"498",callingCode:"+373"},{name:"Monaco",alpha2Code:"MC",alpha3Code:"MCO",numericCode:"492",callingCode:"+377"},{name:"Mongolei",alpha2Code:"MN",alpha3Code:"MNG",numericCode:"496",callingCode:"+976"},{name:"Montenegro",alpha2Code:"ME",alpha3Code:"MNE",numericCode:"499",callingCode:"+382"},{name:"Montserrat",alpha2Code:"MS",alpha3Code:"MSR",numericCode:"500",callingCode:"+1664"},{name:"Marokko",alpha2Code:"MA",alpha3Code:"MAR",numericCode:"504",callingCode:"+212"},{name:"Mosambik",alpha2Code:"MZ",alpha3Code:"MOZ",numericCode:"508",callingCode:"+258"},{name:"Myanmar",alpha2Code:"MM",alpha3Code:"MMR",numericCode:"104",callingCode:"+95"},{name:"Namibia",alpha2Code:"NA",alpha3Code:"NAM",numericCode:"516",callingCode:"+264"},{name:"Nauru",alpha2Code:"NR",alpha3Code:"NRU",numericCode:"520",callingCode:"+674"},{name:"N\xe9pal",alpha2Code:"NP",alpha3Code:"NPL",numericCode:"524",callingCode:"+977"},{name:"Niederlande",alpha2Code:"NL",alpha3Code:"NLD",numericCode:"528",callingCode:"+31"},{name:"Neukaledonien",alpha2Code:"NC",alpha3Code:"NCL",numericCode:"540",callingCode:"+687"},{name:"Neuseeland",alpha2Code:"NZ",alpha3Code:"NZL",numericCode:"554",callingCode:"+64"},{name:"Nicaragua",alpha2Code:"NI",alpha3Code:"NIC",numericCode:"558",callingCode:"+505"},{name:"Niger",alpha2Code:"NE",alpha3Code:"NER",numericCode:"562",callingCode:"+227"},{name:"Nigeria",alpha2Code:"NG",alpha3Code:"NGA",numericCode:"566",callingCode:"+234"},{name:"Niue",alpha2Code:"NU",alpha3Code:"NIU",numericCode:"570",callingCode:"+683"},{name:"Norfolkinsel",alpha2Code:"NF",alpha3Code:"NFK",numericCode:"574",callingCode:"+672"},{name:"Nordkorea",alpha2Code:"KP",alpha3Code:"PRK",numericCode:"408",callingCode:"+850"},{name:"N\xf6rdliche Marianen",alpha2Code:"MP",alpha3Code:"MNP",numericCode:"580",callingCode:"+1670"},{name:"Norwegen",alpha2Code:"NO",alpha3Code:"NOR",numericCode:"578",callingCode:"+47"},{name:"Oman",alpha2Code:"OM",alpha3Code:"OMN",numericCode:"512",callingCode:"+968"},{name:"Pakistan",alpha2Code:"PK",alpha3Code:"PAK",numericCode:"586",callingCode:"+92"},{name:"Palau",alpha2Code:"PW",alpha3Code:"PLW",numericCode:"585",callingCode:"+680"},{name:"Pal\xe4stina",alpha2Code:"PS",alpha3Code:"PSE",numericCode:"275",callingCode:"+970"},{name:"Panama",alpha2Code:"PA",alpha3Code:"PAN",numericCode:"591",callingCode:"+507"},{name:"Papua-Neuguinea",alpha2Code:"PG",alpha3Code:"PNG",numericCode:"598",callingCode:"+675"},{name:"Paraguay",alpha2Code:"PY",alpha3Code:"PRY",numericCode:"600",callingCode:"+595"},{name:"Peru",alpha2Code:"PE",alpha3Code:"PER",numericCode:"604",callingCode:"+51"},{name:"Philippinen",alpha2Code:"PH",alpha3Code:"PHL",numericCode:"608",callingCode:"+63"},{name:"Pitcairn",alpha2Code:"PN",alpha3Code:"PCN",numericCode:"612",callingCode:"+64"},{name:"Polen",alpha2Code:"PL",alpha3Code:"POL",numericCode:"616",callingCode:"+48"},{name:"Portugal",alpha2Code:"PT",alpha3Code:"PRT",numericCode:"620",callingCode:"+351"},{name:"Puerto Rico",alpha2Code:"PR",alpha3Code:"PRI",numericCode:"630",callingCode:"+1"},{name:"Katar",alpha2Code:"QA",alpha3Code:"QAT",numericCode:"634",callingCode:"+974"},{name:"Republik Kosovo",alpha2Code:"XK",alpha3Code:"KOS",numericCode:null,callingCode:"+383"},{name:"R\xe9union",alpha2Code:"RE",alpha3Code:"REU",numericCode:"638",callingCode:"+262"},{name:"Rum\xe4nien",alpha2Code:"RO",alpha3Code:"ROU",numericCode:"642",callingCode:"+40"},{name:"Russland",alpha2Code:"RU",alpha3Code:"RUS",numericCode:"643",callingCode:"+7"},{name:"Ruanda",alpha2Code:"RW",alpha3Code:"RWA",numericCode:"646",callingCode:"+250"},{name:"Saint-Barth\xe9lemy",alpha2Code:"BL",alpha3Code:"BLM",numericCode:"652",callingCode:"+590"},{name:"Sankt Helena",alpha2Code:"SH",alpha3Code:"SHN",numericCode:"654",callingCode:"+290"},{name:"St. Kitts und Nevis",alpha2Code:"KN",alpha3Code:"KNA",numericCode:"659",callingCode:"+1869"},{name:"Saint Lucia",alpha2Code:"LC",alpha3Code:"LCA",numericCode:"662",callingCode:"+1758"},{name:"Saint Martin",alpha2Code:"MF",alpha3Code:"MAF",numericCode:"663",callingCode:"+590"},{name:"Saint-Pierre und Miquelon",alpha2Code:"PM",alpha3Code:"SPM",numericCode:"666",callingCode:"+508"},{name:"Saint Vincent und die Grenadinen",alpha2Code:"VC",alpha3Code:"VCT",numericCode:"670",callingCode:"+1784"},{name:"Samoa",alpha2Code:"WS",alpha3Code:"WSM",numericCode:"882",callingCode:"+685"},{name:"San Marino",alpha2Code:"SM",alpha3Code:"SMR",numericCode:"674",callingCode:"+378"},{name:"S\xe3o Tom\xe9 und Pr\xedncipe",alpha2Code:"ST",alpha3Code:"STP",numericCode:"678",callingCode:"+239"},{name:"Saudi-Arabien",alpha2Code:"SA",alpha3Code:"SAU",numericCode:"682",callingCode:"+966"},{name:"Senegal",alpha2Code:"SN",alpha3Code:"SEN",numericCode:"686",callingCode:"+221"},{name:"Serbien",alpha2Code:"RS",alpha3Code:"SRB",numericCode:"688",callingCode:"+381"},{name:"Seychellen",alpha2Code:"SC",alpha3Code:"SYC",numericCode:"690",callingCode:"+248"},{name:"Sierra Leone",alpha2Code:"SL",alpha3Code:"SLE",numericCode:"694",callingCode:"+232"},{name:"Singapur",alpha2Code:"SG",alpha3Code:"SGP",numericCode:"702",callingCode:"+65"},{name:"Sint Maarten (niederl. Teil)",alpha2Code:"SX",alpha3Code:"SXM",numericCode:"534",callingCode:"+1721"},{name:"Slowakei",alpha2Code:"SK",alpha3Code:"SVK",numericCode:"703",callingCode:"+421"},{name:"Slowenien",alpha2Code:"SI",alpha3Code:"SVN",numericCode:"705",callingCode:"+386"},{name:"Salomonen",alpha2Code:"SB",alpha3Code:"SLB",numericCode:"090",callingCode:"+677"},{name:"Somalia",alpha2Code:"SO",alpha3Code:"SOM",numericCode:"706",callingCode:"+252"},{name:"Republik S\xfcdafrika",alpha2Code:"ZA",alpha3Code:"ZAF",numericCode:"710",callingCode:"+27"},{name:"S\xfcdgeorgien und die S\xfcdlichen Sandwichinseln",alpha2Code:"GS",alpha3Code:"SGS",numericCode:"239",callingCode:"+500"},{name:"S\xfcdkorea",alpha2Code:"KR",alpha3Code:"KOR",numericCode:"410",callingCode:"+82"},{name:"S\xfcdsudan",alpha2Code:"SS",alpha3Code:"SSD",numericCode:"728",callingCode:"+211"},{name:"Spanien",alpha2Code:"ES",alpha3Code:"ESP",numericCode:"724",callingCode:"+34"},{name:"Sri Lanka",alpha2Code:"LK",alpha3Code:"LKA",numericCode:"144",callingCode:"+94"},{name:"Sudan",alpha2Code:"SD",alpha3Code:"SDN",numericCode:"729",callingCode:"+249"},{name:"Suriname",alpha2Code:"SR",alpha3Code:"SUR",numericCode:"740",callingCode:"+597"},{name:"Svalbard und Jan Mayen",alpha2Code:"SJ",alpha3Code:"SJM",numericCode:"744",callingCode:"+4779"},{name:"Swasiland",alpha2Code:"SZ",alpha3Code:"SWZ",numericCode:"748",callingCode:"+268"},{name:"Schweden",alpha2Code:"SE",alpha3Code:"SWE",numericCode:"752",callingCode:"+46"},{name:"Schweiz",alpha2Code:"CH",alpha3Code:"CHE",numericCode:"756",callingCode:"+41"},{name:"Syrien",alpha2Code:"SY",alpha3Code:"SYR",numericCode:"760",callingCode:"+963"},{name:"Taiwan, China",alpha2Code:"TW",alpha3Code:"TWN",numericCode:"158",callingCode:"+886"},{name:"Tadschikistan",alpha2Code:"TJ",alpha3Code:"TJK",numericCode:"762",callingCode:"+992"},{name:"Tansania",alpha2Code:"TZ",alpha3Code:"TZA",numericCode:"834",callingCode:"+255"},{name:"Thailand",alpha2Code:"TH",alpha3Code:"THA",numericCode:"764",callingCode:"+66"},{name:"Timor-Leste",alpha2Code:"TL",alpha3Code:"TLS",numericCode:"626",callingCode:"+670"},{name:"Togo",alpha2Code:"TG",alpha3Code:"TGO",numericCode:"768",callingCode:"+228"},{name:"Tokelau",alpha2Code:"TK",alpha3Code:"TKL",numericCode:"772",callingCode:"+690"},{name:"Tonga",alpha2Code:"TO",alpha3Code:"TON",numericCode:"776",callingCode:"+676"},{name:"Trinidad und Tobago",alpha2Code:"TT",alpha3Code:"TTO",numericCode:"780",callingCode:"+1868"},{name:"Tunesien",alpha2Code:"TN",alpha3Code:"TUN",numericCode:"788",callingCode:"+216"},{name:"T\xfcrkei",alpha2Code:"TR",alpha3Code:"TUR",numericCode:"792",callingCode:"+90"},{name:"Turkmenistan",alpha2Code:"TM",alpha3Code:"TKM",numericCode:"795",callingCode:"+993"},{name:"Turks- und Caicosinseln",alpha2Code:"TC",alpha3Code:"TCA",numericCode:"796",callingCode:"+1649"},{name:"Tuvalu",alpha2Code:"TV",alpha3Code:"TUV",numericCode:"798",callingCode:"+688"},{name:"Uganda",alpha2Code:"UG",alpha3Code:"UGA",numericCode:"800",callingCode:"+256"},{name:"Ukraine",alpha2Code:"UA",alpha3Code:"UKR",numericCode:"804",callingCode:"+380"},{name:"Vereinigte Arabische Emirate",alpha2Code:"AE",alpha3Code:"ARE",numericCode:"784",callingCode:"+971"},{name:"Vereinigtes K\xf6nigreich",alpha2Code:"GB",alpha3Code:"GBR",numericCode:"826",callingCode:"+44"},{name:"Vereinigte Staaten von Amerika",alpha2Code:"US",alpha3Code:"USA",numericCode:"840",callingCode:"+1"},{name:"Uruguay",alpha2Code:"UY",alpha3Code:"URY",numericCode:"858",callingCode:"+598"},{name:"Usbekistan",alpha2Code:"UZ",alpha3Code:"UZB",numericCode:"860",callingCode:"+998"},{name:"Vanuatu",alpha2Code:"VU",alpha3Code:"VUT",numericCode:"548",callingCode:"+678"},{name:"Venezuela",alpha2Code:"VE",alpha3Code:"VEN",numericCode:"862",callingCode:"+58"},{name:"Vietnam",alpha2Code:"VN",alpha3Code:"VNM",numericCode:"704",callingCode:"+84"},{name:"Wallis und Futuna",alpha2Code:"WF",alpha3Code:"WLF",numericCode:"876",callingCode:"+681"},{name:"Westsahara",alpha2Code:"EH",alpha3Code:"ESH",numericCode:"732",callingCode:"+212"},{name:"Jemen",alpha2Code:"YE",alpha3Code:"YEM",numericCode:"887",callingCode:"+967"},{name:"Sambia",alpha2Code:"ZM",alpha3Code:"ZMB",numericCode:"894",callingCode:"+260"},{name:"Simbabwe",alpha2Code:"ZW",alpha3Code:"ZWE",numericCode:"716",callingCode:"+263"}]});const Fv=[{name:"Afghanistan",alpha2Code:"AF",alpha3Code:"AFG",numericCode:"004",callingCode:"+93"},{name:"\xc5land Islands",alpha2Code:"AX",alpha3Code:"ALA",numericCode:"248",callingCode:"+358"},{name:"Albania",alpha2Code:"AL",alpha3Code:"ALB",numericCode:"008",callingCode:"+355"},{name:"Algeria",alpha2Code:"DZ",alpha3Code:"DZA",numericCode:"012",callingCode:"+213"},{name:"American Samoa",alpha2Code:"AS",alpha3Code:"ASM",numericCode:"016",callingCode:"+1684"},{name:"Andorra",alpha2Code:"AD",alpha3Code:"AND",numericCode:"020",callingCode:"+376"},{name:"Angola",alpha2Code:"AO",alpha3Code:"AGO",numericCode:"024",callingCode:"+244"},{name:"Anguilla",alpha2Code:"AI",alpha3Code:"AIA",numericCode:"660",callingCode:"+1264"},{name:"Antarctica",alpha2Code:"AQ",alpha3Code:"ATA",numericCode:"010",callingCode:"+672"},{name:"Antigua and Barbuda",alpha2Code:"AG",alpha3Code:"ATG",numericCode:"028",callingCode:"+1268"},{name:"Argentina",alpha2Code:"AR",alpha3Code:"ARG",numericCode:"032",callingCode:"+54"},{name:"Armenia",alpha2Code:"AM",alpha3Code:"ARM",numericCode:"051",callingCode:"+374"},{name:"Aruba",alpha2Code:"AW",alpha3Code:"ABW",numericCode:"533",callingCode:"+297"},{name:"Australia",alpha2Code:"AU",alpha3Code:"AUS",numericCode:"036",callingCode:"+61"},{name:"Austria",alpha2Code:"AT",alpha3Code:"AUT",numericCode:"040",callingCode:"+43"},{name:"Azerbaijan",alpha2Code:"AZ",alpha3Code:"AZE",numericCode:"031",callingCode:"+994"},{name:"Bahamas",alpha2Code:"BS",alpha3Code:"BHS",numericCode:"044",callingCode:"+1242"},{name:"Bahrain",alpha2Code:"BH",alpha3Code:"BHR",numericCode:"048",callingCode:"+973"},{name:"Bangladesh",alpha2Code:"BD",alpha3Code:"BGD",numericCode:"050",callingCode:"+880"},{name:"Barbados",alpha2Code:"BB",alpha3Code:"BRB",numericCode:"052",callingCode:"+1246"},{name:"Belarus",alpha2Code:"BY",alpha3Code:"BLR",numericCode:"112",callingCode:"+375"},{name:"Belgium",alpha2Code:"BE",alpha3Code:"BEL",numericCode:"056",callingCode:"+32"},{name:"Belize",alpha2Code:"BZ",alpha3Code:"BLZ",numericCode:"084",callingCode:"+501"},{name:"Benin",alpha2Code:"BJ",alpha3Code:"BEN",numericCode:"204",callingCode:"+229"},{name:"Bermuda",alpha2Code:"BM",alpha3Code:"BMU",numericCode:"060",callingCode:"+1441"},{name:"Bhutan",alpha2Code:"BT",alpha3Code:"BTN",numericCode:"064",callingCode:"+975"},{name:"Bolivia (Plurinational State of)",alpha2Code:"BO",alpha3Code:"BOL",numericCode:"068",callingCode:"+591"},{name:"Bonaire, Sint Eustatius and Saba",alpha2Code:"BQ",alpha3Code:"BES",numericCode:"535",callingCode:"+5997"},{name:"Bosnia and Herzegovina",alpha2Code:"BA",alpha3Code:"BIH",numericCode:"070",callingCode:"+387"},{name:"Botswana",alpha2Code:"BW",alpha3Code:"BWA",numericCode:"072",callingCode:"+267"},{name:"Bouvet Island",alpha2Code:"BV",alpha3Code:"BVT",numericCode:"074",callingCode:"+"},{name:"Brazil",alpha2Code:"BR",alpha3Code:"BRA",numericCode:"076",callingCode:"+55"},{name:"British Indian Ocean Territory",alpha2Code:"IO",alpha3Code:"IOT",numericCode:"086",callingCode:"+246"},{name:"United States Minor Outlying Islands",alpha2Code:"UM",alpha3Code:"UMI",numericCode:"581",callingCode:"+"},{name:"Virgin Islands (British)",alpha2Code:"VG",alpha3Code:"VGB",numericCode:"092",callingCode:"+1284"},{name:"Virgin Islands (U.S.)",alpha2Code:"VI",alpha3Code:"VIR",numericCode:"850",callingCode:"+1 340"},{name:"Brunei Darussalam",alpha2Code:"BN",alpha3Code:"BRN",numericCode:"096",callingCode:"+673"},{name:"Bulgaria",alpha2Code:"BG",alpha3Code:"BGR",numericCode:"100",callingCode:"+359"},{name:"Burkina Faso",alpha2Code:"BF",alpha3Code:"BFA",numericCode:"854",callingCode:"+226"},{name:"Burundi",alpha2Code:"BI",alpha3Code:"BDI",numericCode:"108",callingCode:"+257"},{name:"Cambodia",alpha2Code:"KH",alpha3Code:"KHM",numericCode:"116",callingCode:"+855"},{name:"Cameroon",alpha2Code:"CM",alpha3Code:"CMR",numericCode:"120",callingCode:"+237"},{name:"Canada",alpha2Code:"CA",alpha3Code:"CAN",numericCode:"124",callingCode:"+1"},{name:"Cabo Verde",alpha2Code:"CV",alpha3Code:"CPV",numericCode:"132",callingCode:"+238"},{name:"Cayman Islands",alpha2Code:"KY",alpha3Code:"CYM",numericCode:"136",callingCode:"+1345"},{name:"Central African Republic",alpha2Code:"CF",alpha3Code:"CAF",numericCode:"140",callingCode:"+236"},{name:"Chad",alpha2Code:"TD",alpha3Code:"TCD",numericCode:"148",callingCode:"+235"},{name:"Chile",alpha2Code:"CL",alpha3Code:"CHL",numericCode:"152",callingCode:"+56"},{name:"China",alpha2Code:"CN",alpha3Code:"CHN",numericCode:"156",callingCode:"+86"},{name:"Christmas Island",alpha2Code:"CX",alpha3Code:"CXR",numericCode:"162",callingCode:"+61"},{name:"Cocos (Keeling) Islands",alpha2Code:"CC",alpha3Code:"CCK",numericCode:"166",callingCode:"+61"},{name:"Colombia",alpha2Code:"CO",alpha3Code:"COL",numericCode:"170",callingCode:"+57"},{name:"Comoros",alpha2Code:"KM",alpha3Code:"COM",numericCode:"174",callingCode:"+269"},{name:"Congo",alpha2Code:"CG",alpha3Code:"COG",numericCode:"178",callingCode:"+242"},{name:"Congo (Democratic Republic of the)",alpha2Code:"CD",alpha3Code:"COD",numericCode:"180",callingCode:"+243"},{name:"Cook Islands",alpha2Code:"CK",alpha3Code:"COK",numericCode:"184",callingCode:"+682"},{name:"Costa Rica",alpha2Code:"CR",alpha3Code:"CRI",numericCode:"188",callingCode:"+506"},{name:"Croatia",alpha2Code:"HR",alpha3Code:"HRV",numericCode:"191",callingCode:"+385"},{name:"Cuba",alpha2Code:"CU",alpha3Code:"CUB",numericCode:"192",callingCode:"+53"},{name:"Cura\xe7ao",alpha2Code:"CW",alpha3Code:"CUW",numericCode:"531",callingCode:"+599"},{name:"Cyprus",alpha2Code:"CY",alpha3Code:"CYP",numericCode:"196",callingCode:"+357"},{name:"Czech Republic",alpha2Code:"CZ",alpha3Code:"CZE",numericCode:"203",callingCode:"+420"},{name:"Denmark",alpha2Code:"DK",alpha3Code:"DNK",numericCode:"208",callingCode:"+45"},{name:"Djibouti",alpha2Code:"DJ",alpha3Code:"DJI",numericCode:"262",callingCode:"+253"},{name:"Dominica",alpha2Code:"DM",alpha3Code:"DMA",numericCode:"212",callingCode:"+1767"},{name:"Dominican Republic",alpha2Code:"DO",alpha3Code:"DOM",numericCode:"214",callingCode:"+1809"},{name:"Ecuador",alpha2Code:"EC",alpha3Code:"ECU",numericCode:"218",callingCode:"+593"},{name:"Egypt",alpha2Code:"EG",alpha3Code:"EGY",numericCode:"818",callingCode:"+20"},{name:"El Salvador",alpha2Code:"SV",alpha3Code:"SLV",numericCode:"222",callingCode:"+503"},{name:"Equatorial Guinea",alpha2Code:"GQ",alpha3Code:"GNQ",numericCode:"226",callingCode:"+240"},{name:"Eritrea",alpha2Code:"ER",alpha3Code:"ERI",numericCode:"232",callingCode:"+291"},{name:"Estonia",alpha2Code:"EE",alpha3Code:"EST",numericCode:"233",callingCode:"+372"},{name:"Ethiopia",alpha2Code:"ET",alpha3Code:"ETH",numericCode:"231",callingCode:"+251"},{name:"Falkland Islands (Malvinas)",alpha2Code:"FK",alpha3Code:"FLK",numericCode:"238",callingCode:"+500"},{name:"Faroe Islands",alpha2Code:"FO",alpha3Code:"FRO",numericCode:"234",callingCode:"+298"},{name:"Fiji",alpha2Code:"FJ",alpha3Code:"FJI",numericCode:"242",callingCode:"+679"},{name:"Finland",alpha2Code:"FI",alpha3Code:"FIN",numericCode:"246",callingCode:"+358"},{name:"France",alpha2Code:"FR",alpha3Code:"FRA",numericCode:"250",callingCode:"+33"},{name:"French Guiana",alpha2Code:"GF",alpha3Code:"GUF",numericCode:"254",callingCode:"+594"},{name:"French Polynesia",alpha2Code:"PF",alpha3Code:"PYF",numericCode:"258",callingCode:"+689"},{name:"French Southern Territories",alpha2Code:"TF",alpha3Code:"ATF",numericCode:"260",callingCode:"+"},{name:"Gabon",alpha2Code:"GA",alpha3Code:"GAB",numericCode:"266",callingCode:"+241"},{name:"Gambia",alpha2Code:"GM",alpha3Code:"GMB",numericCode:"270",callingCode:"+220"},{name:"Georgia",alpha2Code:"GE",alpha3Code:"GEO",numericCode:"268",callingCode:"+995"},{name:"Germany",alpha2Code:"DE",alpha3Code:"DEU",numericCode:"276",callingCode:"+49"},{name:"Ghana",alpha2Code:"GH",alpha3Code:"GHA",numericCode:"288",callingCode:"+233"},{name:"Gibraltar",alpha2Code:"GI",alpha3Code:"GIB",numericCode:"292",callingCode:"+350"},{name:"Greece",alpha2Code:"GR",alpha3Code:"GRC",numericCode:"300",callingCode:"+30"},{name:"Greenland",alpha2Code:"GL",alpha3Code:"GRL",numericCode:"304",callingCode:"+299"},{name:"Grenada",alpha2Code:"GD",alpha3Code:"GRD",numericCode:"308",callingCode:"+1473"},{name:"Guadeloupe",alpha2Code:"GP",alpha3Code:"GLP",numericCode:"312",callingCode:"+590"},{name:"Guam",alpha2Code:"GU",alpha3Code:"GUM",numericCode:"316",callingCode:"+1671"},{name:"Guatemala",alpha2Code:"GT",alpha3Code:"GTM",numericCode:"320",callingCode:"+502"},{name:"Guernsey",alpha2Code:"GG",alpha3Code:"GGY",numericCode:"831",callingCode:"+44"},{name:"Guinea",alpha2Code:"GN",alpha3Code:"GIN",numericCode:"324",callingCode:"+224"},{name:"Guinea-Bissau",alpha2Code:"GW",alpha3Code:"GNB",numericCode:"624",callingCode:"+245"},{name:"Guyana",alpha2Code:"GY",alpha3Code:"GUY",numericCode:"328",callingCode:"+592"},{name:"Haiti",alpha2Code:"HT",alpha3Code:"HTI",numericCode:"332",callingCode:"+509"},{name:"Heard Island and McDonald Islands",alpha2Code:"HM",alpha3Code:"HMD",numericCode:"334",callingCode:"+"},{name:"Holy See",alpha2Code:"VA",alpha3Code:"VAT",numericCode:"336",callingCode:"+379"},{name:"Honduras",alpha2Code:"HN",alpha3Code:"HND",numericCode:"340",callingCode:"+504"},{name:"Hong Kong",alpha2Code:"HK",alpha3Code:"HKG",numericCode:"344",callingCode:"+852"},{name:"Hungary",alpha2Code:"HU",alpha3Code:"HUN",numericCode:"348",callingCode:"+36"},{name:"Iceland",alpha2Code:"IS",alpha3Code:"ISL",numericCode:"352",callingCode:"+354"},{name:"India",alpha2Code:"IN",alpha3Code:"IND",numericCode:"356",callingCode:"+91"},{name:"Indonesia",alpha2Code:"ID",alpha3Code:"IDN",numericCode:"360",callingCode:"+62"},{name:"C\xf4te d'Ivoire",alpha2Code:"CI",alpha3Code:"CIV",numericCode:"384",callingCode:"+225"},{name:"Iran (Islamic Republic of)",alpha2Code:"IR",alpha3Code:"IRN",numericCode:"364",callingCode:"+98"},{name:"Iraq",alpha2Code:"IQ",alpha3Code:"IRQ",numericCode:"368",callingCode:"+964"},{name:"Ireland",alpha2Code:"IE",alpha3Code:"IRL",numericCode:"372",callingCode:"+353"},{name:"Isle of Man",alpha2Code:"IM",alpha3Code:"IMN",numericCode:"833",callingCode:"+44"},{name:"Israel",alpha2Code:"IL",alpha3Code:"ISR",numericCode:"376",callingCode:"+972"},{name:"Italy",alpha2Code:"IT",alpha3Code:"ITA",numericCode:"380",callingCode:"+39"},{name:"Jamaica",alpha2Code:"JM",alpha3Code:"JAM",numericCode:"388",callingCode:"+1876"},{name:"Japan",alpha2Code:"JP",alpha3Code:"JPN",numericCode:"392",callingCode:"+81"},{name:"Jersey",alpha2Code:"JE",alpha3Code:"JEY",numericCode:"832",callingCode:"+44"},{name:"Jordan",alpha2Code:"JO",alpha3Code:"JOR",numericCode:"400",callingCode:"+962"},{name:"Kazakhstan",alpha2Code:"KZ",alpha3Code:"KAZ",numericCode:"398",callingCode:"+7"},{name:"Kenya",alpha2Code:"KE",alpha3Code:"KEN",numericCode:"404",callingCode:"+254"},{name:"Kiribati",alpha2Code:"KI",alpha3Code:"KIR",numericCode:"296",callingCode:"+686"},{name:"Kuwait",alpha2Code:"KW",alpha3Code:"KWT",numericCode:"414",callingCode:"+965"},{name:"Kyrgyzstan",alpha2Code:"KG",alpha3Code:"KGZ",numericCode:"417",callingCode:"+996"},{name:"Lao People's Democratic Republic",alpha2Code:"LA",alpha3Code:"LAO",numericCode:"418",callingCode:"+856"},{name:"Latvia",alpha2Code:"LV",alpha3Code:"LVA",numericCode:"428",callingCode:"+371"},{name:"Lebanon",alpha2Code:"LB",alpha3Code:"LBN",numericCode:"422",callingCode:"+961"},{name:"Lesotho",alpha2Code:"LS",alpha3Code:"LSO",numericCode:"426",callingCode:"+266"},{name:"Liberia",alpha2Code:"LR",alpha3Code:"LBR",numericCode:"430",callingCode:"+231"},{name:"Libya",alpha2Code:"LY",alpha3Code:"LBY",numericCode:"434",callingCode:"+218"},{name:"Liechtenstein",alpha2Code:"LI",alpha3Code:"LIE",numericCode:"438",callingCode:"+423"},{name:"Lithuania",alpha2Code:"LT",alpha3Code:"LTU",numericCode:"440",callingCode:"+370"},{name:"Luxembourg",alpha2Code:"LU",alpha3Code:"LUX",numericCode:"442",callingCode:"+352"},{name:"Macao",alpha2Code:"MO",alpha3Code:"MAC",numericCode:"446",callingCode:"+853"},{name:"Macedonia (the former Yugoslav Republic of)",alpha2Code:"MK",alpha3Code:"MKD",numericCode:"807",callingCode:"+389"},{name:"Madagascar",alpha2Code:"MG",alpha3Code:"MDG",numericCode:"450",callingCode:"+261"},{name:"Malawi",alpha2Code:"MW",alpha3Code:"MWI",numericCode:"454",callingCode:"+265"},{name:"Malaysia",alpha2Code:"MY",alpha3Code:"MYS",numericCode:"458",callingCode:"+60"},{name:"Maldives",alpha2Code:"MV",alpha3Code:"MDV",numericCode:"462",callingCode:"+960"},{name:"Mali",alpha2Code:"ML",alpha3Code:"MLI",numericCode:"466",callingCode:"+223"},{name:"Malta",alpha2Code:"MT",alpha3Code:"MLT",numericCode:"470",callingCode:"+356"},{name:"Marshall Islands",alpha2Code:"MH",alpha3Code:"MHL",numericCode:"584",callingCode:"+692"},{name:"Martinique",alpha2Code:"MQ",alpha3Code:"MTQ",numericCode:"474",callingCode:"+596"},{name:"Mauritania",alpha2Code:"MR",alpha3Code:"MRT",numericCode:"478",callingCode:"+222"},{name:"Mauritius",alpha2Code:"MU",alpha3Code:"MUS",numericCode:"480",callingCode:"+230"},{name:"Mayotte",alpha2Code:"YT",alpha3Code:"MYT",numericCode:"175",callingCode:"+262"},{name:"Mexico",alpha2Code:"MX",alpha3Code:"MEX",numericCode:"484",callingCode:"+52"},{name:"Micronesia (Federated States of)",alpha2Code:"FM",alpha3Code:"FSM",numericCode:"583",callingCode:"+691"},{name:"Moldova (Republic of)",alpha2Code:"MD",alpha3Code:"MDA",numericCode:"498",callingCode:"+373"},{name:"Monaco",alpha2Code:"MC",alpha3Code:"MCO",numericCode:"492",callingCode:"+377"},{name:"Mongolia",alpha2Code:"MN",alpha3Code:"MNG",numericCode:"496",callingCode:"+976"},{name:"Montenegro",alpha2Code:"ME",alpha3Code:"MNE",numericCode:"499",callingCode:"+382"},{name:"Montserrat",alpha2Code:"MS",alpha3Code:"MSR",numericCode:"500",callingCode:"+1664"},{name:"Morocco",alpha2Code:"MA",alpha3Code:"MAR",numericCode:"504",callingCode:"+212"},{name:"Mozambique",alpha2Code:"MZ",alpha3Code:"MOZ",numericCode:"508",callingCode:"+258"},{name:"Myanmar",alpha2Code:"MM",alpha3Code:"MMR",numericCode:"104",callingCode:"+95"},{name:"Namibia",alpha2Code:"NA",alpha3Code:"NAM",numericCode:"516",callingCode:"+264"},{name:"Nauru",alpha2Code:"NR",alpha3Code:"NRU",numericCode:"520",callingCode:"+674"},{name:"Nepal",alpha2Code:"NP",alpha3Code:"NPL",numericCode:"524",callingCode:"+977"},{name:"Netherlands",alpha2Code:"NL",alpha3Code:"NLD",numericCode:"528",callingCode:"+31"},{name:"New Caledonia",alpha2Code:"NC",alpha3Code:"NCL",numericCode:"540",callingCode:"+687"},{name:"New Zealand",alpha2Code:"NZ",alpha3Code:"NZL",numericCode:"554",callingCode:"+64"},{name:"Nicaragua",alpha2Code:"NI",alpha3Code:"NIC",numericCode:"558",callingCode:"+505"},{name:"Niger",alpha2Code:"NE",alpha3Code:"NER",numericCode:"562",callingCode:"+227"},{name:"Nigeria",alpha2Code:"NG",alpha3Code:"NGA",numericCode:"566",callingCode:"+234"},{name:"Niue",alpha2Code:"NU",alpha3Code:"NIU",numericCode:"570",callingCode:"+683"},{name:"Norfolk Island",alpha2Code:"NF",alpha3Code:"NFK",numericCode:"574",callingCode:"+672"},{name:"Korea (Democratic People's Republic of)",alpha2Code:"KP",alpha3Code:"PRK",numericCode:"408",callingCode:"+850"},{name:"Northern Mariana Islands",alpha2Code:"MP",alpha3Code:"MNP",numericCode:"580",callingCode:"+1670"},{name:"Norway",alpha2Code:"NO",alpha3Code:"NOR",numericCode:"578",callingCode:"+47"},{name:"Oman",alpha2Code:"OM",alpha3Code:"OMN",numericCode:"512",callingCode:"+968"},{name:"Pakistan",alpha2Code:"PK",alpha3Code:"PAK",numericCode:"586",callingCode:"+92"},{name:"Palau",alpha2Code:"PW",alpha3Code:"PLW",numericCode:"585",callingCode:"+680"},{name:"Palestine, State of",alpha2Code:"PS",alpha3Code:"PSE",numericCode:"275",callingCode:"+970"},{name:"Panama",alpha2Code:"PA",alpha3Code:"PAN",numericCode:"591",callingCode:"+507"},{name:"Papua New Guinea",alpha2Code:"PG",alpha3Code:"PNG",numericCode:"598",callingCode:"+675"},{name:"Paraguay",alpha2Code:"PY",alpha3Code:"PRY",numericCode:"600",callingCode:"+595"},{name:"Peru",alpha2Code:"PE",alpha3Code:"PER",numericCode:"604",callingCode:"+51"},{name:"Philippines",alpha2Code:"PH",alpha3Code:"PHL",numericCode:"608",callingCode:"+63"},{name:"Pitcairn",alpha2Code:"PN",alpha3Code:"PCN",numericCode:"612",callingCode:"+64"},{name:"Poland",alpha2Code:"PL",alpha3Code:"POL",numericCode:"616",callingCode:"+48"},{name:"Portugal",alpha2Code:"PT",alpha3Code:"PRT",numericCode:"620",callingCode:"+351"},{name:"Puerto Rico",alpha2Code:"PR",alpha3Code:"PRI",numericCode:"630",callingCode:"+1"},{name:"Qatar",alpha2Code:"QA",alpha3Code:"QAT",numericCode:"634",callingCode:"+974"},{name:"Republic of Kosovo",alpha2Code:"XK",alpha3Code:"KOS",numericCode:null,callingCode:"+383"},{name:"R\xe9union",alpha2Code:"RE",alpha3Code:"REU",numericCode:"638",callingCode:"+262"},{name:"Romania",alpha2Code:"RO",alpha3Code:"ROU",numericCode:"642",callingCode:"+40"},{name:"Russian Federation",alpha2Code:"RU",alpha3Code:"RUS",numericCode:"643",callingCode:"+7"},{name:"Rwanda",alpha2Code:"RW",alpha3Code:"RWA",numericCode:"646",callingCode:"+250"},{name:"Saint Barth\xe9lemy",alpha2Code:"BL",alpha3Code:"BLM",numericCode:"652",callingCode:"+590"},{name:"Saint Helena, Ascension and Tristan da Cunha",alpha2Code:"SH",alpha3Code:"SHN",numericCode:"654",callingCode:"+290"},{name:"Saint Kitts and Nevis",alpha2Code:"KN",alpha3Code:"KNA",numericCode:"659",callingCode:"+1869"},{name:"Saint Lucia",alpha2Code:"LC",alpha3Code:"LCA",numericCode:"662",callingCode:"+1758"},{name:"Saint Martin (French part)",alpha2Code:"MF",alpha3Code:"MAF",numericCode:"663",callingCode:"+590"},{name:"Saint Pierre and Miquelon",alpha2Code:"PM",alpha3Code:"SPM",numericCode:"666",callingCode:"+508"},{name:"Saint Vincent and the Grenadines",alpha2Code:"VC",alpha3Code:"VCT",numericCode:"670",callingCode:"+1784"},{name:"Samoa",alpha2Code:"WS",alpha3Code:"WSM",numericCode:"882",callingCode:"+685"},{name:"San Marino",alpha2Code:"SM",alpha3Code:"SMR",numericCode:"674",callingCode:"+378"},{name:"Sao Tome and Principe",alpha2Code:"ST",alpha3Code:"STP",numericCode:"678",callingCode:"+239"},{name:"Saudi Arabia",alpha2Code:"SA",alpha3Code:"SAU",numericCode:"682",callingCode:"+966"},{name:"Senegal",alpha2Code:"SN",alpha3Code:"SEN",numericCode:"686",callingCode:"+221"},{name:"Serbia",alpha2Code:"RS",alpha3Code:"SRB",numericCode:"688",callingCode:"+381"},{name:"Seychelles",alpha2Code:"SC",alpha3Code:"SYC",numericCode:"690",callingCode:"+248"},{name:"Sierra Leone",alpha2Code:"SL",alpha3Code:"SLE",numericCode:"694",callingCode:"+232"},{name:"Singapore",alpha2Code:"SG",alpha3Code:"SGP",numericCode:"702",callingCode:"+65"},{name:"Sint Maarten (Dutch part)",alpha2Code:"SX",alpha3Code:"SXM",numericCode:"534",callingCode:"+1721"},{name:"Slovakia",alpha2Code:"SK",alpha3Code:"SVK",numericCode:"703",callingCode:"+421"},{name:"Slovenia",alpha2Code:"SI",alpha3Code:"SVN",numericCode:"705",callingCode:"+386"},{name:"Solomon Islands",alpha2Code:"SB",alpha3Code:"SLB",numericCode:"090",callingCode:"+677"},{name:"Somalia",alpha2Code:"SO",alpha3Code:"SOM",numericCode:"706",callingCode:"+252"},{name:"South Africa",alpha2Code:"ZA",alpha3Code:"ZAF",numericCode:"710",callingCode:"+27"},{name:"South Georgia and the South Sandwich Islands",alpha2Code:"GS",alpha3Code:"SGS",numericCode:"239",callingCode:"+500"},{name:"Korea (Republic of)",alpha2Code:"KR",alpha3Code:"KOR",numericCode:"410",callingCode:"+82"},{name:"South Sudan",alpha2Code:"SS",alpha3Code:"SSD",numericCode:"728",callingCode:"+211"},{name:"Spain",alpha2Code:"ES",alpha3Code:"ESP",numericCode:"724",callingCode:"+34"},{name:"Sri Lanka",alpha2Code:"LK",alpha3Code:"LKA",numericCode:"144",callingCode:"+94"},{name:"Sudan",alpha2Code:"SD",alpha3Code:"SDN",numericCode:"729",callingCode:"+249"},{name:"Suriname",alpha2Code:"SR",alpha3Code:"SUR",numericCode:"740",callingCode:"+597"},{name:"Svalbard and Jan Mayen",alpha2Code:"SJ",alpha3Code:"SJM",numericCode:"744",callingCode:"+4779"},{name:"Swaziland",alpha2Code:"SZ",alpha3Code:"SWZ",numericCode:"748",callingCode:"+268"},{name:"Sweden",alpha2Code:"SE",alpha3Code:"SWE",numericCode:"752",callingCode:"+46"},{name:"Switzerland",alpha2Code:"CH",alpha3Code:"CHE",numericCode:"756",callingCode:"+41"},{name:"Syrian Arab Republic",alpha2Code:"SY",alpha3Code:"SYR",numericCode:"760",callingCode:"+963"},{name:"Taiwan, China",alpha2Code:"TW",alpha3Code:"TWN",numericCode:"158",callingCode:"+886"},{name:"Tajikistan",alpha2Code:"TJ",alpha3Code:"TJK",numericCode:"762",callingCode:"+992"},{name:"Tanzania, United Republic of",alpha2Code:"TZ",alpha3Code:"TZA",numericCode:"834",callingCode:"+255"},{name:"Thailand",alpha2Code:"TH",alpha3Code:"THA",numericCode:"764",callingCode:"+66"},{name:"Timor-Leste",alpha2Code:"TL",alpha3Code:"TLS",numericCode:"626",callingCode:"+670"},{name:"Togo",alpha2Code:"TG",alpha3Code:"TGO",numericCode:"768",callingCode:"+228"},{name:"Tokelau",alpha2Code:"TK",alpha3Code:"TKL",numericCode:"772",callingCode:"+690"},{name:"Tonga",alpha2Code:"TO",alpha3Code:"TON",numericCode:"776",callingCode:"+676"},{name:"Trinidad and Tobago",alpha2Code:"TT",alpha3Code:"TTO",numericCode:"780",callingCode:"+1868"},{name:"Tunisia",alpha2Code:"TN",alpha3Code:"TUN",numericCode:"788",callingCode:"+216"},{name:"Turkey",alpha2Code:"TR",alpha3Code:"TUR",numericCode:"792",callingCode:"+90"},{name:"Turkmenistan",alpha2Code:"TM",alpha3Code:"TKM",numericCode:"795",callingCode:"+993"},{name:"Turks and Caicos Islands",alpha2Code:"TC",alpha3Code:"TCA",numericCode:"796",callingCode:"+1649"},{name:"Tuvalu",alpha2Code:"TV",alpha3Code:"TUV",numericCode:"798",callingCode:"+688"},{name:"Uganda",alpha2Code:"UG",alpha3Code:"UGA",numericCode:"800",callingCode:"+256"},{name:"Ukraine",alpha2Code:"UA",alpha3Code:"UKR",numericCode:"804",callingCode:"+380"},{name:"United Arab Emirates",alpha2Code:"AE",alpha3Code:"ARE",numericCode:"784",callingCode:"+971"},{name:"United Kingdom of Great Britain and Northern Ireland",alpha2Code:"GB",alpha3Code:"GBR",numericCode:"826",callingCode:"+44"},{name:"United States of America",alpha2Code:"US",alpha3Code:"USA",numericCode:"840",callingCode:"+1"},{name:"Uruguay",alpha2Code:"UY",alpha3Code:"URY",numericCode:"858",callingCode:"+598"},{name:"Uzbekistan",alpha2Code:"UZ",alpha3Code:"UZB",numericCode:"860",callingCode:"+998"},{name:"Vanuatu",alpha2Code:"VU",alpha3Code:"VUT",numericCode:"548",callingCode:"+678"},{name:"Venezuela (Bolivarian Republic of)",alpha2Code:"VE",alpha3Code:"VEN",numericCode:"862",callingCode:"+58"},{name:"Viet Nam",alpha2Code:"VN",alpha3Code:"VNM",numericCode:"704",callingCode:"+84"},{name:"Wallis and Futuna",alpha2Code:"WF",alpha3Code:"WLF",numericCode:"876",callingCode:"+681"},{name:"Western Sahara",alpha2Code:"EH",alpha3Code:"ESH",numericCode:"732",callingCode:"+212"},{name:"Yemen",alpha2Code:"YE",alpha3Code:"YEM",numericCode:"887",callingCode:"+967"},{name:"Zambia",alpha2Code:"ZM",alpha3Code:"ZMB",numericCode:"894",callingCode:"+260"},{name:"Zimbabwe",alpha2Code:"ZW",alpha3Code:"ZWE",numericCode:"716",callingCode:"+263"}];var ky=Object.freeze({__proto__:null,COUNTRIES_DB:Fv}),d1=Object.freeze({__proto__:null,COUNTRIES_DB_ES:[{name:"Afganist\xe1n",alpha2Code:"AF",alpha3Code:"AFG",numericCode:"004",callingCode:"+93"},{name:"Alandia",alpha2Code:"AX",alpha3Code:"ALA",numericCode:"248",callingCode:"+358"},{name:"Albania",alpha2Code:"AL",alpha3Code:"ALB",numericCode:"008",callingCode:"+355"},{name:"Argelia",alpha2Code:"DZ",alpha3Code:"DZA",numericCode:"012",callingCode:"+213"},{name:"Samoa Americana",alpha2Code:"AS",alpha3Code:"ASM",numericCode:"016",callingCode:"+1684"},{name:"Andorra",alpha2Code:"AD",alpha3Code:"AND",numericCode:"020",callingCode:"+376"},{name:"Angola",alpha2Code:"AO",alpha3Code:"AGO",numericCode:"024",callingCode:"+244"},{name:"Anguilla",alpha2Code:"AI",alpha3Code:"AIA",numericCode:"660",callingCode:"+1264"},{name:"Ant\xe1rtida",alpha2Code:"AQ",alpha3Code:"ATA",numericCode:"010",callingCode:"+672"},{name:"Antigua y Barbuda",alpha2Code:"AG",alpha3Code:"ATG",numericCode:"028",callingCode:"+1268"},{name:"Argentina",alpha2Code:"AR",alpha3Code:"ARG",numericCode:"032",callingCode:"+54"},{name:"Armenia",alpha2Code:"AM",alpha3Code:"ARM",numericCode:"051",callingCode:"+374"},{name:"Aruba",alpha2Code:"AW",alpha3Code:"ABW",numericCode:"533",callingCode:"+297"},{name:"Australia",alpha2Code:"AU",alpha3Code:"AUS",numericCode:"036",callingCode:"+61"},{name:"Austria",alpha2Code:"AT",alpha3Code:"AUT",numericCode:"040",callingCode:"+43"},{name:"Azerbaiy\xe1n",alpha2Code:"AZ",alpha3Code:"AZE",numericCode:"031",callingCode:"+994"},{name:"Bahamas",alpha2Code:"BS",alpha3Code:"BHS",numericCode:"044",callingCode:"+1242"},{name:"Bahrein",alpha2Code:"BH",alpha3Code:"BHR",numericCode:"048",callingCode:"+973"},{name:"Bangladesh",alpha2Code:"BD",alpha3Code:"BGD",numericCode:"050",callingCode:"+880"},{name:"Barbados",alpha2Code:"BB",alpha3Code:"BRB",numericCode:"052",callingCode:"+1246"},{name:"Bielorrusia",alpha2Code:"BY",alpha3Code:"BLR",numericCode:"112",callingCode:"+375"},{name:"B\xe9lgica",alpha2Code:"BE",alpha3Code:"BEL",numericCode:"056",callingCode:"+32"},{name:"Belice",alpha2Code:"BZ",alpha3Code:"BLZ",numericCode:"084",callingCode:"+501"},{name:"Ben\xedn",alpha2Code:"BJ",alpha3Code:"BEN",numericCode:"204",callingCode:"+229"},{name:"Bermudas",alpha2Code:"BM",alpha3Code:"BMU",numericCode:"060",callingCode:"+1441"},{name:"But\xe1n",alpha2Code:"BT",alpha3Code:"BTN",numericCode:"064",callingCode:"+975"},{name:"Bolivia",alpha2Code:"BO",alpha3Code:"BOL",numericCode:"068",callingCode:"+591"},{name:"Bonaire, Saint-Eustache y Saba",alpha2Code:"BQ",alpha3Code:"BES",numericCode:"535",callingCode:"+5997"},{name:"Bosnia y Herzegovina",alpha2Code:"BA",alpha3Code:"BIH",numericCode:"070",callingCode:"+387"},{name:"Botswana",alpha2Code:"BW",alpha3Code:"BWA",numericCode:"072",callingCode:"+267"},{name:"Isla Bouvet",alpha2Code:"BV",alpha3Code:"BVT",numericCode:"074",callingCode:"+"},{name:"Brasil",alpha2Code:"BR",alpha3Code:"BRA",numericCode:"076",callingCode:"+55"},{name:"Territorio Brit\xe1nico del Oc\xe9ano \xcdndico",alpha2Code:"IO",alpha3Code:"IOT",numericCode:"086",callingCode:"+246"},{name:"Islas Ultramarinas Menores de Estados Unidos",alpha2Code:"UM",alpha3Code:"UMI",numericCode:"581",callingCode:"+"},{name:"Islas V\xedrgenes del Reino Unido",alpha2Code:"VG",alpha3Code:"VGB",numericCode:"092",callingCode:"+1284"},{name:"Islas V\xedrgenes de los Estados Unidos",alpha2Code:"VI",alpha3Code:"VIR",numericCode:"850",callingCode:"+1 340"},{name:"Brunei",alpha2Code:"BN",alpha3Code:"BRN",numericCode:"096",callingCode:"+673"},{name:"Bulgaria",alpha2Code:"BG",alpha3Code:"BGR",numericCode:"100",callingCode:"+359"},{name:"Burkina Faso",alpha2Code:"BF",alpha3Code:"BFA",numericCode:"854",callingCode:"+226"},{name:"Burundi",alpha2Code:"BI",alpha3Code:"BDI",numericCode:"108",callingCode:"+257"},{name:"Camboya",alpha2Code:"KH",alpha3Code:"KHM",numericCode:"116",callingCode:"+855"},{name:"Camer\xfan",alpha2Code:"CM",alpha3Code:"CMR",numericCode:"120",callingCode:"+237"},{name:"Canad\xe1",alpha2Code:"CA",alpha3Code:"CAN",numericCode:"124",callingCode:"+1"},{name:"Cabo Verde",alpha2Code:"CV",alpha3Code:"CPV",numericCode:"132",callingCode:"+238"},{name:"Islas Caim\xe1n",alpha2Code:"KY",alpha3Code:"CYM",numericCode:"136",callingCode:"+1345"},{name:"Rep\xfablica Centroafricana",alpha2Code:"CF",alpha3Code:"CAF",numericCode:"140",callingCode:"+236"},{name:"Chad",alpha2Code:"TD",alpha3Code:"TCD",numericCode:"148",callingCode:"+235"},{name:"Chile",alpha2Code:"CL",alpha3Code:"CHL",numericCode:"152",callingCode:"+56"},{name:"China",alpha2Code:"CN",alpha3Code:"CHN",numericCode:"156",callingCode:"+86"},{name:"Isla de Navidad",alpha2Code:"CX",alpha3Code:"CXR",numericCode:"162",callingCode:"+61"},{name:"Islas Cocos o Islas Keeling",alpha2Code:"CC",alpha3Code:"CCK",numericCode:"166",callingCode:"+61"},{name:"Colombia",alpha2Code:"CO",alpha3Code:"COL",numericCode:"170",callingCode:"+57"},{name:"Comoras",alpha2Code:"KM",alpha3Code:"COM",numericCode:"174",callingCode:"+269"},{name:"Congo",alpha2Code:"CG",alpha3Code:"COG",numericCode:"178",callingCode:"+242"},{name:"Congo (Rep. Dem.)",alpha2Code:"CD",alpha3Code:"COD",numericCode:"180",callingCode:"+243"},{name:"Islas Cook",alpha2Code:"CK",alpha3Code:"COK",numericCode:"184",callingCode:"+682"},{name:"Costa Rica",alpha2Code:"CR",alpha3Code:"CRI",numericCode:"188",callingCode:"+506"},{name:"Croacia",alpha2Code:"HR",alpha3Code:"HRV",numericCode:"191",callingCode:"+385"},{name:"Cuba",alpha2Code:"CU",alpha3Code:"CUB",numericCode:"192",callingCode:"+53"},{name:"Cura\xe7ao",alpha2Code:"CW",alpha3Code:"CUW",numericCode:"531",callingCode:"+599"},{name:"Chipre",alpha2Code:"CY",alpha3Code:"CYP",numericCode:"196",callingCode:"+357"},{name:"Rep\xfablica Checa",alpha2Code:"CZ",alpha3Code:"CZE",numericCode:"203",callingCode:"+420"},{name:"Dinamarca",alpha2Code:"DK",alpha3Code:"DNK",numericCode:"208",callingCode:"+45"},{name:"Yibuti",alpha2Code:"DJ",alpha3Code:"DJI",numericCode:"262",callingCode:"+253"},{name:"Dominica",alpha2Code:"DM",alpha3Code:"DMA",numericCode:"212",callingCode:"+1767"},{name:"Rep\xfablica Dominicana",alpha2Code:"DO",alpha3Code:"DOM",numericCode:"214",callingCode:"+1809"},{name:"Ecuador",alpha2Code:"EC",alpha3Code:"ECU",numericCode:"218",callingCode:"+593"},{name:"Egipto",alpha2Code:"EG",alpha3Code:"EGY",numericCode:"818",callingCode:"+20"},{name:"El Salvador",alpha2Code:"SV",alpha3Code:"SLV",numericCode:"222",callingCode:"+503"},{name:"Guinea Ecuatorial",alpha2Code:"GQ",alpha3Code:"GNQ",numericCode:"226",callingCode:"+240"},{name:"Eritrea",alpha2Code:"ER",alpha3Code:"ERI",numericCode:"232",callingCode:"+291"},{name:"Estonia",alpha2Code:"EE",alpha3Code:"EST",numericCode:"233",callingCode:"+372"},{name:"Etiop\xeda",alpha2Code:"ET",alpha3Code:"ETH",numericCode:"231",callingCode:"+251"},{name:"Islas Malvinas",alpha2Code:"FK",alpha3Code:"FLK",numericCode:"238",callingCode:"+500"},{name:"Islas Faroe",alpha2Code:"FO",alpha3Code:"FRO",numericCode:"234",callingCode:"+298"},{name:"Fiyi",alpha2Code:"FJ",alpha3Code:"FJI",numericCode:"242",callingCode:"+679"},{name:"Finlandia",alpha2Code:"FI",alpha3Code:"FIN",numericCode:"246",callingCode:"+358"},{name:"Francia",alpha2Code:"FR",alpha3Code:"FRA",numericCode:"250",callingCode:"+33"},{name:"Guayana Francesa",alpha2Code:"GF",alpha3Code:"GUF",numericCode:"254",callingCode:"+594"},{name:"Polinesia Francesa",alpha2Code:"PF",alpha3Code:"PYF",numericCode:"258",callingCode:"+689"},{name:"Tierras Australes y Ant\xe1rticas Francesas",alpha2Code:"TF",alpha3Code:"ATF",numericCode:"260",callingCode:"+"},{name:"Gab\xf3n",alpha2Code:"GA",alpha3Code:"GAB",numericCode:"266",callingCode:"+241"},{name:"Gambia",alpha2Code:"GM",alpha3Code:"GMB",numericCode:"270",callingCode:"+220"},{name:"Georgia",alpha2Code:"GE",alpha3Code:"GEO",numericCode:"268",callingCode:"+995"},{name:"Alemania",alpha2Code:"DE",alpha3Code:"DEU",numericCode:"276",callingCode:"+49"},{name:"Ghana",alpha2Code:"GH",alpha3Code:"GHA",numericCode:"288",callingCode:"+233"},{name:"Gibraltar",alpha2Code:"GI",alpha3Code:"GIB",numericCode:"292",callingCode:"+350"},{name:"Grecia",alpha2Code:"GR",alpha3Code:"GRC",numericCode:"300",callingCode:"+30"},{name:"Groenlandia",alpha2Code:"GL",alpha3Code:"GRL",numericCode:"304",callingCode:"+299"},{name:"Grenada",alpha2Code:"GD",alpha3Code:"GRD",numericCode:"308",callingCode:"+1473"},{name:"Guadalupe",alpha2Code:"GP",alpha3Code:"GLP",numericCode:"312",callingCode:"+590"},{name:"Guam",alpha2Code:"GU",alpha3Code:"GUM",numericCode:"316",callingCode:"+1671"},{name:"Guatemala",alpha2Code:"GT",alpha3Code:"GTM",numericCode:"320",callingCode:"+502"},{name:"Guernsey",alpha2Code:"GG",alpha3Code:"GGY",numericCode:"831",callingCode:"+44"},{name:"Guinea",alpha2Code:"GN",alpha3Code:"GIN",numericCode:"324",callingCode:"+224"},{name:"Guinea-Bis\xe1u",alpha2Code:"GW",alpha3Code:"GNB",numericCode:"624",callingCode:"+245"},{name:"Guyana",alpha2Code:"GY",alpha3Code:"GUY",numericCode:"328",callingCode:"+592"},{name:"Haiti",alpha2Code:"HT",alpha3Code:"HTI",numericCode:"332",callingCode:"+509"},{name:"Islas Heard y McDonald",alpha2Code:"HM",alpha3Code:"HMD",numericCode:"334",callingCode:"+"},{name:"Santa Sede",alpha2Code:"VA",alpha3Code:"VAT",numericCode:"336",callingCode:"+379"},{name:"Honduras",alpha2Code:"HN",alpha3Code:"HND",numericCode:"340",callingCode:"+504"},{name:"Hong Kong",alpha2Code:"HK",alpha3Code:"HKG",numericCode:"344",callingCode:"+852"},{name:"Hungr\xeda",alpha2Code:"HU",alpha3Code:"HUN",numericCode:"348",callingCode:"+36"},{name:"Islandia",alpha2Code:"IS",alpha3Code:"ISL",numericCode:"352",callingCode:"+354"},{name:"India",alpha2Code:"IN",alpha3Code:"IND",numericCode:"356",callingCode:"+91"},{name:"Indonesia",alpha2Code:"ID",alpha3Code:"IDN",numericCode:"360",callingCode:"+62"},{name:"Costa de Marfil",alpha2Code:"CI",alpha3Code:"CIV",numericCode:"384",callingCode:"+225"},{name:"Iran",alpha2Code:"IR",alpha3Code:"IRN",numericCode:"364",callingCode:"+98"},{name:"Irak",alpha2Code:"IQ",alpha3Code:"IRQ",numericCode:"368",callingCode:"+964"},{name:"Irlanda",alpha2Code:"IE",alpha3Code:"IRL",numericCode:"372",callingCode:"+353"},{name:"Isla de Man",alpha2Code:"IM",alpha3Code:"IMN",numericCode:"833",callingCode:"+44"},{name:"Israel",alpha2Code:"IL",alpha3Code:"ISR",numericCode:"376",callingCode:"+972"},{name:"Italia",alpha2Code:"IT",alpha3Code:"ITA",numericCode:"380",callingCode:"+39"},{name:"Jamaica",alpha2Code:"JM",alpha3Code:"JAM",numericCode:"388",callingCode:"+1876"},{name:"Jap\xf3n",alpha2Code:"JP",alpha3Code:"JPN",numericCode:"392",callingCode:"+81"},{name:"Jersey",alpha2Code:"JE",alpha3Code:"JEY",numericCode:"832",callingCode:"+44"},{name:"Jordania",alpha2Code:"JO",alpha3Code:"JOR",numericCode:"400",callingCode:"+962"},{name:"Kazajist\xe1n",alpha2Code:"KZ",alpha3Code:"KAZ",numericCode:"398",callingCode:"+7"},{name:"Kenia",alpha2Code:"KE",alpha3Code:"KEN",numericCode:"404",callingCode:"+254"},{name:"Kiribati",alpha2Code:"KI",alpha3Code:"KIR",numericCode:"296",callingCode:"+686"},{name:"Kuwait",alpha2Code:"KW",alpha3Code:"KWT",numericCode:"414",callingCode:"+965"},{name:"Kirguizist\xe1n",alpha2Code:"KG",alpha3Code:"KGZ",numericCode:"417",callingCode:"+996"},{name:"Laos",alpha2Code:"LA",alpha3Code:"LAO",numericCode:"418",callingCode:"+856"},{name:"Letonia",alpha2Code:"LV",alpha3Code:"LVA",numericCode:"428",callingCode:"+371"},{name:"L\xedbano",alpha2Code:"LB",alpha3Code:"LBN",numericCode:"422",callingCode:"+961"},{name:"Lesotho",alpha2Code:"LS",alpha3Code:"LSO",numericCode:"426",callingCode:"+266"},{name:"Liberia",alpha2Code:"LR",alpha3Code:"LBR",numericCode:"430",callingCode:"+231"},{name:"Libia",alpha2Code:"LY",alpha3Code:"LBY",numericCode:"434",callingCode:"+218"},{name:"Liechtenstein",alpha2Code:"LI",alpha3Code:"LIE",numericCode:"438",callingCode:"+423"},{name:"Lituania",alpha2Code:"LT",alpha3Code:"LTU",numericCode:"440",callingCode:"+370"},{name:"Luxemburgo",alpha2Code:"LU",alpha3Code:"LUX",numericCode:"442",callingCode:"+352"},{name:"Macao",alpha2Code:"MO",alpha3Code:"MAC",numericCode:"446",callingCode:"+853"},{name:"Macedonia",alpha2Code:"MK",alpha3Code:"MKD",numericCode:"807",callingCode:"+389"},{name:"Madagascar",alpha2Code:"MG",alpha3Code:"MDG",numericCode:"450",callingCode:"+261"},{name:"Malawi",alpha2Code:"MW",alpha3Code:"MWI",numericCode:"454",callingCode:"+265"},{name:"Malasia",alpha2Code:"MY",alpha3Code:"MYS",numericCode:"458",callingCode:"+60"},{name:"Maldivas",alpha2Code:"MV",alpha3Code:"MDV",numericCode:"462",callingCode:"+960"},{name:"Mali",alpha2Code:"ML",alpha3Code:"MLI",numericCode:"466",callingCode:"+223"},{name:"Malta",alpha2Code:"MT",alpha3Code:"MLT",numericCode:"470",callingCode:"+356"},{name:"Islas Marshall",alpha2Code:"MH",alpha3Code:"MHL",numericCode:"584",callingCode:"+692"},{name:"Martinica",alpha2Code:"MQ",alpha3Code:"MTQ",numericCode:"474",callingCode:"+596"},{name:"Mauritania",alpha2Code:"MR",alpha3Code:"MRT",numericCode:"478",callingCode:"+222"},{name:"Mauricio",alpha2Code:"MU",alpha3Code:"MUS",numericCode:"480",callingCode:"+230"},{name:"Mayotte",alpha2Code:"YT",alpha3Code:"MYT",numericCode:"175",callingCode:"+262"},{name:"M\xe9xico",alpha2Code:"MX",alpha3Code:"MEX",numericCode:"484",callingCode:"+52"},{name:"Micronesia",alpha2Code:"FM",alpha3Code:"FSM",numericCode:"583",callingCode:"+691"},{name:"Moldavia",alpha2Code:"MD",alpha3Code:"MDA",numericCode:"498",callingCode:"+373"},{name:"M\xf3naco",alpha2Code:"MC",alpha3Code:"MCO",numericCode:"492",callingCode:"+377"},{name:"Mongolia",alpha2Code:"MN",alpha3Code:"MNG",numericCode:"496",callingCode:"+976"},{name:"Montenegro",alpha2Code:"ME",alpha3Code:"MNE",numericCode:"499",callingCode:"+382"},{name:"Montserrat",alpha2Code:"MS",alpha3Code:"MSR",numericCode:"500",callingCode:"+1664"},{name:"Marruecos",alpha2Code:"MA",alpha3Code:"MAR",numericCode:"504",callingCode:"+212"},{name:"Mozambique",alpha2Code:"MZ",alpha3Code:"MOZ",numericCode:"508",callingCode:"+258"},{name:"Myanmar",alpha2Code:"MM",alpha3Code:"MMR",numericCode:"104",callingCode:"+95"},{name:"Namibia",alpha2Code:"NA",alpha3Code:"NAM",numericCode:"516",callingCode:"+264"},{name:"Nauru",alpha2Code:"NR",alpha3Code:"NRU",numericCode:"520",callingCode:"+674"},{name:"Nepal",alpha2Code:"NP",alpha3Code:"NPL",numericCode:"524",callingCode:"+977"},{name:"Pa\xedses Bajos",alpha2Code:"NL",alpha3Code:"NLD",numericCode:"528",callingCode:"+31"},{name:"Nueva Caledonia",alpha2Code:"NC",alpha3Code:"NCL",numericCode:"540",callingCode:"+687"},{name:"Nueva Zelanda",alpha2Code:"NZ",alpha3Code:"NZL",numericCode:"554",callingCode:"+64"},{name:"Nicaragua",alpha2Code:"NI",alpha3Code:"NIC",numericCode:"558",callingCode:"+505"},{name:"N\xedger",alpha2Code:"NE",alpha3Code:"NER",numericCode:"562",callingCode:"+227"},{name:"Nigeria",alpha2Code:"NG",alpha3Code:"NGA",numericCode:"566",callingCode:"+234"},{name:"Niue",alpha2Code:"NU",alpha3Code:"NIU",numericCode:"570",callingCode:"+683"},{name:"Isla de Norfolk",alpha2Code:"NF",alpha3Code:"NFK",numericCode:"574",callingCode:"+672"},{name:"Corea del Norte",alpha2Code:"KP",alpha3Code:"PRK",numericCode:"408",callingCode:"+850"},{name:"Islas Marianas del Norte",alpha2Code:"MP",alpha3Code:"MNP",numericCode:"580",callingCode:"+1670"},{name:"Noruega",alpha2Code:"NO",alpha3Code:"NOR",numericCode:"578",callingCode:"+47"},{name:"Om\xe1n",alpha2Code:"OM",alpha3Code:"OMN",numericCode:"512",callingCode:"+968"},{name:"Pakist\xe1n",alpha2Code:"PK",alpha3Code:"PAK",numericCode:"586",callingCode:"+92"},{name:"Palau",alpha2Code:"PW",alpha3Code:"PLW",numericCode:"585",callingCode:"+680"},{name:"Palestina",alpha2Code:"PS",alpha3Code:"PSE",numericCode:"275",callingCode:"+970"},{name:"Panam\xe1",alpha2Code:"PA",alpha3Code:"PAN",numericCode:"591",callingCode:"+507"},{name:"Pap\xfaa Nueva Guinea",alpha2Code:"PG",alpha3Code:"PNG",numericCode:"598",callingCode:"+675"},{name:"Paraguay",alpha2Code:"PY",alpha3Code:"PRY",numericCode:"600",callingCode:"+595"},{name:"Per\xfa",alpha2Code:"PE",alpha3Code:"PER",numericCode:"604",callingCode:"+51"},{name:"Filipinas",alpha2Code:"PH",alpha3Code:"PHL",numericCode:"608",callingCode:"+63"},{name:"Islas Pitcairn",alpha2Code:"PN",alpha3Code:"PCN",numericCode:"612",callingCode:"+64"},{name:"Polonia",alpha2Code:"PL",alpha3Code:"POL",numericCode:"616",callingCode:"+48"},{name:"Portugal",alpha2Code:"PT",alpha3Code:"PRT",numericCode:"620",callingCode:"+351"},{name:"Puerto Rico",alpha2Code:"PR",alpha3Code:"PRI",numericCode:"630",callingCode:"+1"},{name:"Catar",alpha2Code:"QA",alpha3Code:"QAT",numericCode:"634",callingCode:"+974"},{name:"Kosovo",alpha2Code:"XK",alpha3Code:"KOS",numericCode:null,callingCode:"+383"},{name:"Reuni\xf3n",alpha2Code:"RE",alpha3Code:"REU",numericCode:"638",callingCode:"+262"},{name:"Rumania",alpha2Code:"RO",alpha3Code:"ROU",numericCode:"642",callingCode:"+40"},{name:"Rusia",alpha2Code:"RU",alpha3Code:"RUS",numericCode:"643",callingCode:"+7"},{name:"Ruanda",alpha2Code:"RW",alpha3Code:"RWA",numericCode:"646",callingCode:"+250"},{name:"San Bartolom\xe9",alpha2Code:"BL",alpha3Code:"BLM",numericCode:"652",callingCode:"+590"},{name:"Santa Helena",alpha2Code:"SH",alpha3Code:"SHN",numericCode:"654",callingCode:"+290"},{name:"San Crist\xf3bal y Nieves",alpha2Code:"KN",alpha3Code:"KNA",numericCode:"659",callingCode:"+1869"},{name:"Santa Luc\xeda",alpha2Code:"LC",alpha3Code:"LCA",numericCode:"662",callingCode:"+1758"},{name:"Saint Martin",alpha2Code:"MF",alpha3Code:"MAF",numericCode:"663",callingCode:"+590"},{name:"San Pedro y Miquel\xf3n",alpha2Code:"PM",alpha3Code:"SPM",numericCode:"666",callingCode:"+508"},{name:"San Vicente y Granadinas",alpha2Code:"VC",alpha3Code:"VCT",numericCode:"670",callingCode:"+1784"},{name:"Samoa",alpha2Code:"WS",alpha3Code:"WSM",numericCode:"882",callingCode:"+685"},{name:"San Marino",alpha2Code:"SM",alpha3Code:"SMR",numericCode:"674",callingCode:"+378"},{name:"Santo Tom\xe9 y Pr\xedncipe",alpha2Code:"ST",alpha3Code:"STP",numericCode:"678",callingCode:"+239"},{name:"Arabia Saud\xed",alpha2Code:"SA",alpha3Code:"SAU",numericCode:"682",callingCode:"+966"},{name:"Senegal",alpha2Code:"SN",alpha3Code:"SEN",numericCode:"686",callingCode:"+221"},{name:"Serbia",alpha2Code:"RS",alpha3Code:"SRB",numericCode:"688",callingCode:"+381"},{name:"Seychelles",alpha2Code:"SC",alpha3Code:"SYC",numericCode:"690",callingCode:"+248"},{name:"Sierra Leone",alpha2Code:"SL",alpha3Code:"SLE",numericCode:"694",callingCode:"+232"},{name:"Singapur",alpha2Code:"SG",alpha3Code:"SGP",numericCode:"702",callingCode:"+65"},{name:"San Mart\xedn (parte holandesa)",alpha2Code:"SX",alpha3Code:"SXM",numericCode:"534",callingCode:"+1721"},{name:"Rep\xfablica Eslovaca",alpha2Code:"SK",alpha3Code:"SVK",numericCode:"703",callingCode:"+421"},{name:"Eslovenia",alpha2Code:"SI",alpha3Code:"SVN",numericCode:"705",callingCode:"+386"},{name:"Islas Salom\xf3n",alpha2Code:"SB",alpha3Code:"SLB",numericCode:"090",callingCode:"+677"},{name:"Somalia",alpha2Code:"SO",alpha3Code:"SOM",numericCode:"706",callingCode:"+252"},{name:"Rep\xfablica de Sud\xe1frica",alpha2Code:"ZA",alpha3Code:"ZAF",numericCode:"710",callingCode:"+27"},{name:"Islas Georgias del Sur y Sandwich del Sur",alpha2Code:"GS",alpha3Code:"SGS",numericCode:"239",callingCode:"+500"},{name:"Corea del Sur",alpha2Code:"KR",alpha3Code:"KOR",numericCode:"410",callingCode:"+82"},{name:"Sud\xe1n del Sur",alpha2Code:"SS",alpha3Code:"SSD",numericCode:"728",callingCode:"+211"},{name:"Espa\xf1a",alpha2Code:"ES",alpha3Code:"ESP",numericCode:"724",callingCode:"+34"},{name:"Sri Lanka",alpha2Code:"LK",alpha3Code:"LKA",numericCode:"144",callingCode:"+94"},{name:"Sud\xe1n",alpha2Code:"SD",alpha3Code:"SDN",numericCode:"729",callingCode:"+249"},{name:"Surinam",alpha2Code:"SR",alpha3Code:"SUR",numericCode:"740",callingCode:"+597"},{name:"Islas Svalbard y Jan Mayen",alpha2Code:"SJ",alpha3Code:"SJM",numericCode:"744",callingCode:"+4779"},{name:"Suazilandia",alpha2Code:"SZ",alpha3Code:"SWZ",numericCode:"748",callingCode:"+268"},{name:"Suecia",alpha2Code:"SE",alpha3Code:"SWE",numericCode:"752",callingCode:"+46"},{name:"Suiza",alpha2Code:"CH",alpha3Code:"CHE",numericCode:"756",callingCode:"+41"},{name:"Siria",alpha2Code:"SY",alpha3Code:"SYR",numericCode:"760",callingCode:"+963"},{name:"Taiw\xe1n",alpha2Code:"TW",alpha3Code:"TWN",numericCode:"158",callingCode:"+886"},{name:"Tayikist\xe1n",alpha2Code:"TJ",alpha3Code:"TJK",numericCode:"762",callingCode:"+992"},{name:"Tanzania",alpha2Code:"TZ",alpha3Code:"TZA",numericCode:"834",callingCode:"+255"},{name:"Tailandia",alpha2Code:"TH",alpha3Code:"THA",numericCode:"764",callingCode:"+66"},{name:"Timor Oriental",alpha2Code:"TL",alpha3Code:"TLS",numericCode:"626",callingCode:"+670"},{name:"Togo",alpha2Code:"TG",alpha3Code:"TGO",numericCode:"768",callingCode:"+228"},{name:"Islas Tokelau",alpha2Code:"TK",alpha3Code:"TKL",numericCode:"772",callingCode:"+690"},{name:"Tonga",alpha2Code:"TO",alpha3Code:"TON",numericCode:"776",callingCode:"+676"},{name:"Trinidad y Tobago",alpha2Code:"TT",alpha3Code:"TTO",numericCode:"780",callingCode:"+1868"},{name:"T\xfanez",alpha2Code:"TN",alpha3Code:"TUN",numericCode:"788",callingCode:"+216"},{name:"Turqu\xeda",alpha2Code:"TR",alpha3Code:"TUR",numericCode:"792",callingCode:"+90"},{name:"Turkmenist\xe1n",alpha2Code:"TM",alpha3Code:"TKM",numericCode:"795",callingCode:"+993"},{name:"Islas Turks y Caicos",alpha2Code:"TC",alpha3Code:"TCA",numericCode:"796",callingCode:"+1649"},{name:"Tuvalu",alpha2Code:"TV",alpha3Code:"TUV",numericCode:"798",callingCode:"+688"},{name:"Uganda",alpha2Code:"UG",alpha3Code:"UGA",numericCode:"800",callingCode:"+256"},{name:"Ucrania",alpha2Code:"UA",alpha3Code:"UKR",numericCode:"804",callingCode:"+380"},{name:"Emiratos \xc1rabes Unidos",alpha2Code:"AE",alpha3Code:"ARE",numericCode:"784",callingCode:"+971"},{name:"Reino Unido",alpha2Code:"GB",alpha3Code:"GBR",numericCode:"826",callingCode:"+44"},{name:"Estados Unidos",alpha2Code:"US",alpha3Code:"USA",numericCode:"840",callingCode:"+1"},{name:"Uruguay",alpha2Code:"UY",alpha3Code:"URY",numericCode:"858",callingCode:"+598"},{name:"Uzbekist\xe1n",alpha2Code:"UZ",alpha3Code:"UZB",numericCode:"860",callingCode:"+998"},{name:"Vanuatu",alpha2Code:"VU",alpha3Code:"VUT",numericCode:"548",callingCode:"+678"},{name:"Venezuela",alpha2Code:"VE",alpha3Code:"VEN",numericCode:"862",callingCode:"+58"},{name:"Vietnam",alpha2Code:"VN",alpha3Code:"VNM",numericCode:"704",callingCode:"+84"},{name:"Wallis y Futuna",alpha2Code:"WF",alpha3Code:"WLF",numericCode:"876",callingCode:"+681"},{name:"Sahara Occidental",alpha2Code:"EH",alpha3Code:"ESH",numericCode:"732",callingCode:"+212"},{name:"Yemen",alpha2Code:"YE",alpha3Code:"YEM",numericCode:"887",callingCode:"+967"},{name:"Zambia",alpha2Code:"ZM",alpha3Code:"ZMB",numericCode:"894",callingCode:"+260"},{name:"Zimbabue",alpha2Code:"ZW",alpha3Code:"ZWE",numericCode:"716",callingCode:"+263"}]}),u1=Object.freeze({__proto__:null,COUNTRIES_DB_FR:[{name:"Afghanistan",alpha2Code:"AF",alpha3Code:"AFG",numericCode:"004",callingCode:"+93"},{name:"\xc5land",alpha2Code:"AX",alpha3Code:"ALA",numericCode:"248",callingCode:"+358"},{name:"Albanie",alpha2Code:"AL",alpha3Code:"ALB",numericCode:"008",callingCode:"+355"},{name:"Alg\xe9rie",alpha2Code:"DZ",alpha3Code:"DZA",numericCode:"012",callingCode:"+213"},{name:"Samoa am\xe9ricaines",alpha2Code:"AS",alpha3Code:"ASM",numericCode:"016",callingCode:"+1684"},{name:"Andorre",alpha2Code:"AD",alpha3Code:"AND",numericCode:"020",callingCode:"+376"},{name:"Angola",alpha2Code:"AO",alpha3Code:"AGO",numericCode:"024",callingCode:"+244"},{name:"Anguilla",alpha2Code:"AI",alpha3Code:"AIA",numericCode:"660",callingCode:"+1264"},{name:"Antarctique",alpha2Code:"AQ",alpha3Code:"ATA",numericCode:"010",callingCode:"+672"},{name:"Antigua-et-Barbuda",alpha2Code:"AG",alpha3Code:"ATG",numericCode:"028",callingCode:"+1268"},{name:"Argentine",alpha2Code:"AR",alpha3Code:"ARG",numericCode:"032",callingCode:"+54"},{name:"Arm\xe9nie",alpha2Code:"AM",alpha3Code:"ARM",numericCode:"051",callingCode:"+374"},{name:"Aruba",alpha2Code:"AW",alpha3Code:"ABW",numericCode:"533",callingCode:"+297"},{name:"Australie",alpha2Code:"AU",alpha3Code:"AUS",numericCode:"036",callingCode:"+61"},{name:"Autriche",alpha2Code:"AT",alpha3Code:"AUT",numericCode:"040",callingCode:"+43"},{name:"Azerba\xefdjan",alpha2Code:"AZ",alpha3Code:"AZE",numericCode:"031",callingCode:"+994"},{name:"Bahamas",alpha2Code:"BS",alpha3Code:"BHS",numericCode:"044",callingCode:"+1242"},{name:"Bahre\xefn",alpha2Code:"BH",alpha3Code:"BHR",numericCode:"048",callingCode:"+973"},{name:"Bangladesh",alpha2Code:"BD",alpha3Code:"BGD",numericCode:"050",callingCode:"+880"},{name:"Barbade",alpha2Code:"BB",alpha3Code:"BRB",numericCode:"052",callingCode:"+1246"},{name:"Bi\xe9lorussie",alpha2Code:"BY",alpha3Code:"BLR",numericCode:"112",callingCode:"+375"},{name:"Belgique",alpha2Code:"BE",alpha3Code:"BEL",numericCode:"056",callingCode:"+32"},{name:"Belize",alpha2Code:"BZ",alpha3Code:"BLZ",numericCode:"084",callingCode:"+501"},{name:"B\xe9nin",alpha2Code:"BJ",alpha3Code:"BEN",numericCode:"204",callingCode:"+229"},{name:"Bermudes",alpha2Code:"BM",alpha3Code:"BMU",numericCode:"060",callingCode:"+1441"},{name:"Bhoutan",alpha2Code:"BT",alpha3Code:"BTN",numericCode:"064",callingCode:"+975"},{name:"Bolivie",alpha2Code:"BO",alpha3Code:"BOL",numericCode:"068",callingCode:"+591"},{name:"Bonaire, Saint-Eustache et Saba",alpha2Code:"BQ",alpha3Code:"BES",numericCode:"535",callingCode:"+5997"},{name:"Bosnie-Herz\xe9govine",alpha2Code:"BA",alpha3Code:"BIH",numericCode:"070",callingCode:"+387"},{name:"Botswana",alpha2Code:"BW",alpha3Code:"BWA",numericCode:"072",callingCode:"+267"},{name:"\xcele Bouvet",alpha2Code:"BV",alpha3Code:"BVT",numericCode:"074",callingCode:"+"},{name:"Br\xe9sil",alpha2Code:"BR",alpha3Code:"BRA",numericCode:"076",callingCode:"+55"},{name:"Territoire britannique de l'oc\xe9an Indien",alpha2Code:"IO",alpha3Code:"IOT",numericCode:"086",callingCode:"+246"},{name:"\xceles mineures \xe9loign\xe9es des \xc9tats-Unis",alpha2Code:"UM",alpha3Code:"UMI",numericCode:"581",callingCode:"+"},{name:"\xceles Vierges britanniques",alpha2Code:"VG",alpha3Code:"VGB",numericCode:"092",callingCode:"+1284"},{name:"\xceles Vierges des \xc9tats-Unis",alpha2Code:"VI",alpha3Code:"VIR",numericCode:"850",callingCode:"+1 340"},{name:"Brunei",alpha2Code:"BN",alpha3Code:"BRN",numericCode:"096",callingCode:"+673"},{name:"Bulgarie",alpha2Code:"BG",alpha3Code:"BGR",numericCode:"100",callingCode:"+359"},{name:"Burkina Faso",alpha2Code:"BF",alpha3Code:"BFA",numericCode:"854",callingCode:"+226"},{name:"Burundi",alpha2Code:"BI",alpha3Code:"BDI",numericCode:"108",callingCode:"+257"},{name:"Cambodge",alpha2Code:"KH",alpha3Code:"KHM",numericCode:"116",callingCode:"+855"},{name:"Cameroun",alpha2Code:"CM",alpha3Code:"CMR",numericCode:"120",callingCode:"+237"},{name:"Canada",alpha2Code:"CA",alpha3Code:"CAN",numericCode:"124",callingCode:"+1"},{name:"Cap Vert",alpha2Code:"CV",alpha3Code:"CPV",numericCode:"132",callingCode:"+238"},{name:"\xceles Ca\xefmans",alpha2Code:"KY",alpha3Code:"CYM",numericCode:"136",callingCode:"+1345"},{name:"R\xe9publique centrafricaine",alpha2Code:"CF",alpha3Code:"CAF",numericCode:"140",callingCode:"+236"},{name:"Tchad",alpha2Code:"TD",alpha3Code:"TCD",numericCode:"148",callingCode:"+235"},{name:"Chili",alpha2Code:"CL",alpha3Code:"CHL",numericCode:"152",callingCode:"+56"},{name:"Chine",alpha2Code:"CN",alpha3Code:"CHN",numericCode:"156",callingCode:"+86"},{name:"\xcele Christmas",alpha2Code:"CX",alpha3Code:"CXR",numericCode:"162",callingCode:"+61"},{name:"\xceles Cocos",alpha2Code:"CC",alpha3Code:"CCK",numericCode:"166",callingCode:"+61"},{name:"Colombie",alpha2Code:"CO",alpha3Code:"COL",numericCode:"170",callingCode:"+57"},{name:"Comores",alpha2Code:"KM",alpha3Code:"COM",numericCode:"174",callingCode:"+269"},{name:"Congo",alpha2Code:"CG",alpha3Code:"COG",numericCode:"178",callingCode:"+242"},{name:"Congo (R\xe9p. d\xe9m.)",alpha2Code:"CD",alpha3Code:"COD",numericCode:"180",callingCode:"+243"},{name:"\xceles Cook",alpha2Code:"CK",alpha3Code:"COK",numericCode:"184",callingCode:"+682"},{name:"Costa Rica",alpha2Code:"CR",alpha3Code:"CRI",numericCode:"188",callingCode:"+506"},{name:"Croatie",alpha2Code:"HR",alpha3Code:"HRV",numericCode:"191",callingCode:"+385"},{name:"Cuba",alpha2Code:"CU",alpha3Code:"CUB",numericCode:"192",callingCode:"+53"},{name:"Cura\xe7ao",alpha2Code:"CW",alpha3Code:"CUW",numericCode:"531",callingCode:"+599"},{name:"Chypre",alpha2Code:"CY",alpha3Code:"CYP",numericCode:"196",callingCode:"+357"},{name:"R\xe9publique tch\xe8que",alpha2Code:"CZ",alpha3Code:"CZE",numericCode:"203",callingCode:"+420"},{name:"Danemark",alpha2Code:"DK",alpha3Code:"DNK",numericCode:"208",callingCode:"+45"},{name:"Djibouti",alpha2Code:"DJ",alpha3Code:"DJI",numericCode:"262",callingCode:"+253"},{name:"Dominique",alpha2Code:"DM",alpha3Code:"DMA",numericCode:"212",callingCode:"+1767"},{name:"R\xe9publique dominicaine",alpha2Code:"DO",alpha3Code:"DOM",numericCode:"214",callingCode:"+1809"},{name:"\xc9quateur",alpha2Code:"EC",alpha3Code:"ECU",numericCode:"218",callingCode:"+593"},{name:"\xc9gypte",alpha2Code:"EG",alpha3Code:"EGY",numericCode:"818",callingCode:"+20"},{name:"Salvador",alpha2Code:"SV",alpha3Code:"SLV",numericCode:"222",callingCode:"+503"},{name:"Guin\xe9e-\xc9quatoriale",alpha2Code:"GQ",alpha3Code:"GNQ",numericCode:"226",callingCode:"+240"},{name:"\xc9rythr\xe9e",alpha2Code:"ER",alpha3Code:"ERI",numericCode:"232",callingCode:"+291"},{name:"Estonie",alpha2Code:"EE",alpha3Code:"EST",numericCode:"233",callingCode:"+372"},{name:"\xc9thiopie",alpha2Code:"ET",alpha3Code:"ETH",numericCode:"231",callingCode:"+251"},{name:"\xceles Malouines",alpha2Code:"FK",alpha3Code:"FLK",numericCode:"238",callingCode:"+500"},{name:"\xceles F\xe9ro\xe9",alpha2Code:"FO",alpha3Code:"FRO",numericCode:"234",callingCode:"+298"},{name:"Fidji",alpha2Code:"FJ",alpha3Code:"FJI",numericCode:"242",callingCode:"+679"},{name:"Finlande",alpha2Code:"FI",alpha3Code:"FIN",numericCode:"246",callingCode:"+358"},{name:"France",alpha2Code:"FR",alpha3Code:"FRA",numericCode:"250",callingCode:"+33"},{name:"Guayane",alpha2Code:"GF",alpha3Code:"GUF",numericCode:"254",callingCode:"+594"},{name:"Polyn\xe9sie fran\xe7aise",alpha2Code:"PF",alpha3Code:"PYF",numericCode:"258",callingCode:"+689"},{name:"Terres australes et antarctiques fran\xe7aises",alpha2Code:"TF",alpha3Code:"ATF",numericCode:"260",callingCode:"+"},{name:"Gabon",alpha2Code:"GA",alpha3Code:"GAB",numericCode:"266",callingCode:"+241"},{name:"Gambie",alpha2Code:"GM",alpha3Code:"GMB",numericCode:"270",callingCode:"+220"},{name:"G\xe9orgie",alpha2Code:"GE",alpha3Code:"GEO",numericCode:"268",callingCode:"+995"},{name:"Allemagne",alpha2Code:"DE",alpha3Code:"DEU",numericCode:"276",callingCode:"+49"},{name:"Ghana",alpha2Code:"GH",alpha3Code:"GHA",numericCode:"288",callingCode:"+233"},{name:"Gibraltar",alpha2Code:"GI",alpha3Code:"GIB",numericCode:"292",callingCode:"+350"},{name:"Gr\xe8ce",alpha2Code:"GR",alpha3Code:"GRC",numericCode:"300",callingCode:"+30"},{name:"Groenland",alpha2Code:"GL",alpha3Code:"GRL",numericCode:"304",callingCode:"+299"},{name:"Grenade",alpha2Code:"GD",alpha3Code:"GRD",numericCode:"308",callingCode:"+1473"},{name:"Guadeloupe",alpha2Code:"GP",alpha3Code:"GLP",numericCode:"312",callingCode:"+590"},{name:"Guam",alpha2Code:"GU",alpha3Code:"GUM",numericCode:"316",callingCode:"+1671"},{name:"Guatemala",alpha2Code:"GT",alpha3Code:"GTM",numericCode:"320",callingCode:"+502"},{name:"Guernesey",alpha2Code:"GG",alpha3Code:"GGY",numericCode:"831",callingCode:"+44"},{name:"Guin\xe9e",alpha2Code:"GN",alpha3Code:"GIN",numericCode:"324",callingCode:"+224"},{name:"Guin\xe9e-Bissau",alpha2Code:"GW",alpha3Code:"GNB",numericCode:"624",callingCode:"+245"},{name:"Guyane",alpha2Code:"GY",alpha3Code:"GUY",numericCode:"328",callingCode:"+592"},{name:"Ha\xefti",alpha2Code:"HT",alpha3Code:"HTI",numericCode:"332",callingCode:"+509"},{name:"\xceles Heard-et-MacDonald",alpha2Code:"HM",alpha3Code:"HMD",numericCode:"334",callingCode:"+"},{name:"voir Saint",alpha2Code:"VA",alpha3Code:"VAT",numericCode:"336",callingCode:"+379"},{name:"Honduras",alpha2Code:"HN",alpha3Code:"HND",numericCode:"340",callingCode:"+504"},{name:"Hong Kong",alpha2Code:"HK",alpha3Code:"HKG",numericCode:"344",callingCode:"+852"},{name:"Hongrie",alpha2Code:"HU",alpha3Code:"HUN",numericCode:"348",callingCode:"+36"},{name:"Islande",alpha2Code:"IS",alpha3Code:"ISL",numericCode:"352",callingCode:"+354"},{name:"Inde",alpha2Code:"IN",alpha3Code:"IND",numericCode:"356",callingCode:"+91"},{name:"Indon\xe9sie",alpha2Code:"ID",alpha3Code:"IDN",numericCode:"360",callingCode:"+62"},{name:"C\xf4te d'Ivoire",alpha2Code:"CI",alpha3Code:"CIV",numericCode:"384",callingCode:"+225"},{name:"Iran",alpha2Code:"IR",alpha3Code:"IRN",numericCode:"364",callingCode:"+98"},{name:"Irak",alpha2Code:"IQ",alpha3Code:"IRQ",numericCode:"368",callingCode:"+964"},{name:"Irlande",alpha2Code:"IE",alpha3Code:"IRL",numericCode:"372",callingCode:"+353"},{name:"\xcele de Man",alpha2Code:"IM",alpha3Code:"IMN",numericCode:"833",callingCode:"+44"},{name:"Isra\xebl",alpha2Code:"IL",alpha3Code:"ISR",numericCode:"376",callingCode:"+972"},{name:"Italie",alpha2Code:"IT",alpha3Code:"ITA",numericCode:"380",callingCode:"+39"},{name:"Jama\xefque",alpha2Code:"JM",alpha3Code:"JAM",numericCode:"388",callingCode:"+1876"},{name:"Japon",alpha2Code:"JP",alpha3Code:"JPN",numericCode:"392",callingCode:"+81"},{name:"Jersey",alpha2Code:"JE",alpha3Code:"JEY",numericCode:"832",callingCode:"+44"},{name:"Jordanie",alpha2Code:"JO",alpha3Code:"JOR",numericCode:"400",callingCode:"+962"},{name:"Kazakhstan",alpha2Code:"KZ",alpha3Code:"KAZ",numericCode:"398",callingCode:"+7"},{name:"Kenya",alpha2Code:"KE",alpha3Code:"KEN",numericCode:"404",callingCode:"+254"},{name:"Kiribati",alpha2Code:"KI",alpha3Code:"KIR",numericCode:"296",callingCode:"+686"},{name:"Kowe\xeft",alpha2Code:"KW",alpha3Code:"KWT",numericCode:"414",callingCode:"+965"},{name:"Kirghizistan",alpha2Code:"KG",alpha3Code:"KGZ",numericCode:"417",callingCode:"+996"},{name:"Laos",alpha2Code:"LA",alpha3Code:"LAO",numericCode:"418",callingCode:"+856"},{name:"Lettonie",alpha2Code:"LV",alpha3Code:"LVA",numericCode:"428",callingCode:"+371"},{name:"Liban",alpha2Code:"LB",alpha3Code:"LBN",numericCode:"422",callingCode:"+961"},{name:"Lesotho",alpha2Code:"LS",alpha3Code:"LSO",numericCode:"426",callingCode:"+266"},{name:"Liberia",alpha2Code:"LR",alpha3Code:"LBR",numericCode:"430",callingCode:"+231"},{name:"Libye",alpha2Code:"LY",alpha3Code:"LBY",numericCode:"434",callingCode:"+218"},{name:"Liechtenstein",alpha2Code:"LI",alpha3Code:"LIE",numericCode:"438",callingCode:"+423"},{name:"Lituanie",alpha2Code:"LT",alpha3Code:"LTU",numericCode:"440",callingCode:"+370"},{name:"Luxembourg",alpha2Code:"LU",alpha3Code:"LUX",numericCode:"442",callingCode:"+352"},{name:"Macao",alpha2Code:"MO",alpha3Code:"MAC",numericCode:"446",callingCode:"+853"},{name:"Mac\xe9doine",alpha2Code:"MK",alpha3Code:"MKD",numericCode:"807",callingCode:"+389"},{name:"Madagascar",alpha2Code:"MG",alpha3Code:"MDG",numericCode:"450",callingCode:"+261"},{name:"Malawi",alpha2Code:"MW",alpha3Code:"MWI",numericCode:"454",callingCode:"+265"},{name:"Malaisie",alpha2Code:"MY",alpha3Code:"MYS",numericCode:"458",callingCode:"+60"},{name:"Maldives",alpha2Code:"MV",alpha3Code:"MDV",numericCode:"462",callingCode:"+960"},{name:"Mali",alpha2Code:"ML",alpha3Code:"MLI",numericCode:"466",callingCode:"+223"},{name:"Malte",alpha2Code:"MT",alpha3Code:"MLT",numericCode:"470",callingCode:"+356"},{name:"\xceles Marshall",alpha2Code:"MH",alpha3Code:"MHL",numericCode:"584",callingCode:"+692"},{name:"Martinique",alpha2Code:"MQ",alpha3Code:"MTQ",numericCode:"474",callingCode:"+596"},{name:"Mauritanie",alpha2Code:"MR",alpha3Code:"MRT",numericCode:"478",callingCode:"+222"},{name:"\xcele Maurice",alpha2Code:"MU",alpha3Code:"MUS",numericCode:"480",callingCode:"+230"},{name:"Mayotte",alpha2Code:"YT",alpha3Code:"MYT",numericCode:"175",callingCode:"+262"},{name:"Mexique",alpha2Code:"MX",alpha3Code:"MEX",numericCode:"484",callingCode:"+52"},{name:"Micron\xe9sie",alpha2Code:"FM",alpha3Code:"FSM",numericCode:"583",callingCode:"+691"},{name:"Moldavie",alpha2Code:"MD",alpha3Code:"MDA",numericCode:"498",callingCode:"+373"},{name:"Monaco",alpha2Code:"MC",alpha3Code:"MCO",numericCode:"492",callingCode:"+377"},{name:"Mongolie",alpha2Code:"MN",alpha3Code:"MNG",numericCode:"496",callingCode:"+976"},{name:"Mont\xe9n\xe9gro",alpha2Code:"ME",alpha3Code:"MNE",numericCode:"499",callingCode:"+382"},{name:"Montserrat",alpha2Code:"MS",alpha3Code:"MSR",numericCode:"500",callingCode:"+1664"},{name:"Maroc",alpha2Code:"MA",alpha3Code:"MAR",numericCode:"504",callingCode:"+212"},{name:"Mozambique",alpha2Code:"MZ",alpha3Code:"MOZ",numericCode:"508",callingCode:"+258"},{name:"Myanmar",alpha2Code:"MM",alpha3Code:"MMR",numericCode:"104",callingCode:"+95"},{name:"Namibie",alpha2Code:"NA",alpha3Code:"NAM",numericCode:"516",callingCode:"+264"},{name:"Nauru",alpha2Code:"NR",alpha3Code:"NRU",numericCode:"520",callingCode:"+674"},{name:"N\xe9pal",alpha2Code:"NP",alpha3Code:"NPL",numericCode:"524",callingCode:"+977"},{name:"Pays-Bas",alpha2Code:"NL",alpha3Code:"NLD",numericCode:"528",callingCode:"+31"},{name:"Nouvelle-Cal\xe9donie",alpha2Code:"NC",alpha3Code:"NCL",numericCode:"540",callingCode:"+687"},{name:"Nouvelle-Z\xe9lande",alpha2Code:"NZ",alpha3Code:"NZL",numericCode:"554",callingCode:"+64"},{name:"Nicaragua",alpha2Code:"NI",alpha3Code:"NIC",numericCode:"558",callingCode:"+505"},{name:"Niger",alpha2Code:"NE",alpha3Code:"NER",numericCode:"562",callingCode:"+227"},{name:"Nig\xe9ria",alpha2Code:"NG",alpha3Code:"NGA",numericCode:"566",callingCode:"+234"},{name:"Niue",alpha2Code:"NU",alpha3Code:"NIU",numericCode:"570",callingCode:"+683"},{name:"\xcele de Norfolk",alpha2Code:"NF",alpha3Code:"NFK",numericCode:"574",callingCode:"+672"},{name:"Cor\xe9e du Nord",alpha2Code:"KP",alpha3Code:"PRK",numericCode:"408",callingCode:"+850"},{name:"\xceles Mariannes du Nord",alpha2Code:"MP",alpha3Code:"MNP",numericCode:"580",callingCode:"+1670"},{name:"Norv\xe8ge",alpha2Code:"NO",alpha3Code:"NOR",numericCode:"578",callingCode:"+47"},{name:"Oman",alpha2Code:"OM",alpha3Code:"OMN",numericCode:"512",callingCode:"+968"},{name:"Pakistan",alpha2Code:"PK",alpha3Code:"PAK",numericCode:"586",callingCode:"+92"},{name:"Palaos",alpha2Code:"PW",alpha3Code:"PLW",numericCode:"585",callingCode:"+680"},{name:"Palestine",alpha2Code:"PS",alpha3Code:"PSE",numericCode:"275",callingCode:"+970"},{name:"Panama",alpha2Code:"PA",alpha3Code:"PAN",numericCode:"591",callingCode:"+507"},{name:"Papouasie-Nouvelle-Guin\xe9e",alpha2Code:"PG",alpha3Code:"PNG",numericCode:"598",callingCode:"+675"},{name:"Paraguay",alpha2Code:"PY",alpha3Code:"PRY",numericCode:"600",callingCode:"+595"},{name:"P\xe9rou",alpha2Code:"PE",alpha3Code:"PER",numericCode:"604",callingCode:"+51"},{name:"Philippines",alpha2Code:"PH",alpha3Code:"PHL",numericCode:"608",callingCode:"+63"},{name:"\xceles Pitcairn",alpha2Code:"PN",alpha3Code:"PCN",numericCode:"612",callingCode:"+64"},{name:"Pologne",alpha2Code:"PL",alpha3Code:"POL",numericCode:"616",callingCode:"+48"},{name:"Portugal",alpha2Code:"PT",alpha3Code:"PRT",numericCode:"620",callingCode:"+351"},{name:"Porto Rico",alpha2Code:"PR",alpha3Code:"PRI",numericCode:"630",callingCode:"+1"},{name:"Qatar",alpha2Code:"QA",alpha3Code:"QAT",numericCode:"634",callingCode:"+974"},{name:"Kosovo",alpha2Code:"XK",alpha3Code:"KOS",numericCode:null,callingCode:"+383"},{name:"R\xe9union",alpha2Code:"RE",alpha3Code:"REU",numericCode:"638",callingCode:"+262"},{name:"Roumanie",alpha2Code:"RO",alpha3Code:"ROU",numericCode:"642",callingCode:"+40"},{name:"Russie",alpha2Code:"RU",alpha3Code:"RUS",numericCode:"643",callingCode:"+7"},{name:"Rwanda",alpha2Code:"RW",alpha3Code:"RWA",numericCode:"646",callingCode:"+250"},{name:"Saint-Barth\xe9lemy",alpha2Code:"BL",alpha3Code:"BLM",numericCode:"652",callingCode:"+590"},{name:"Sainte-H\xe9l\xe8ne",alpha2Code:"SH",alpha3Code:"SHN",numericCode:"654",callingCode:"+290"},{name:"Saint-Christophe-et-Ni\xe9v\xe8s",alpha2Code:"KN",alpha3Code:"KNA",numericCode:"659",callingCode:"+1869"},{name:"Saint-Lucie",alpha2Code:"LC",alpha3Code:"LCA",numericCode:"662",callingCode:"+1758"},{name:"Saint-Martin",alpha2Code:"MF",alpha3Code:"MAF",numericCode:"663",callingCode:"+590"},{name:"Saint-Pierre-et-Miquelon",alpha2Code:"PM",alpha3Code:"SPM",numericCode:"666",callingCode:"+508"},{name:"Saint-Vincent-et-les-Grenadines",alpha2Code:"VC",alpha3Code:"VCT",numericCode:"670",callingCode:"+1784"},{name:"Samoa",alpha2Code:"WS",alpha3Code:"WSM",numericCode:"882",callingCode:"+685"},{name:"Saint-Marin",alpha2Code:"SM",alpha3Code:"SMR",numericCode:"674",callingCode:"+378"},{name:"Sao Tom\xe9-et-Principe",alpha2Code:"ST",alpha3Code:"STP",numericCode:"678",callingCode:"+239"},{name:"Arabie Saoudite",alpha2Code:"SA",alpha3Code:"SAU",numericCode:"682",callingCode:"+966"},{name:"S\xe9n\xe9gal",alpha2Code:"SN",alpha3Code:"SEN",numericCode:"686",callingCode:"+221"},{name:"Serbie",alpha2Code:"RS",alpha3Code:"SRB",numericCode:"688",callingCode:"+381"},{name:"Seychelles",alpha2Code:"SC",alpha3Code:"SYC",numericCode:"690",callingCode:"+248"},{name:"Sierra Leone",alpha2Code:"SL",alpha3Code:"SLE",numericCode:"694",callingCode:"+232"},{name:"Singapour",alpha2Code:"SG",alpha3Code:"SGP",numericCode:"702",callingCode:"+65"},{name:"Saint Martin (partie n\xe9erlandaise)",alpha2Code:"SX",alpha3Code:"SXM",numericCode:"534",callingCode:"+1721"},{name:"Slovaquie",alpha2Code:"SK",alpha3Code:"SVK",numericCode:"703",callingCode:"+421"},{name:"Slov\xe9nie",alpha2Code:"SI",alpha3Code:"SVN",numericCode:"705",callingCode:"+386"},{name:"\xceles Salomon",alpha2Code:"SB",alpha3Code:"SLB",numericCode:"090",callingCode:"+677"},{name:"Somalie",alpha2Code:"SO",alpha3Code:"SOM",numericCode:"706",callingCode:"+252"},{name:"Afrique du Sud",alpha2Code:"ZA",alpha3Code:"ZAF",numericCode:"710",callingCode:"+27"},{name:"G\xe9orgie du Sud-et-les \xceles Sandwich du Sud",alpha2Code:"GS",alpha3Code:"SGS",numericCode:"239",callingCode:"+500"},{name:"Cor\xe9e du Sud",alpha2Code:"KR",alpha3Code:"KOR",numericCode:"410",callingCode:"+82"},{name:"Soudan du Sud",alpha2Code:"SS",alpha3Code:"SSD",numericCode:"728",callingCode:"+211"},{name:"Espagne",alpha2Code:"ES",alpha3Code:"ESP",numericCode:"724",callingCode:"+34"},{name:"Sri Lanka",alpha2Code:"LK",alpha3Code:"LKA",numericCode:"144",callingCode:"+94"},{name:"Soudan",alpha2Code:"SD",alpha3Code:"SDN",numericCode:"729",callingCode:"+249"},{name:"Surinam",alpha2Code:"SR",alpha3Code:"SUR",numericCode:"740",callingCode:"+597"},{name:"Svalbard et Jan Mayen",alpha2Code:"SJ",alpha3Code:"SJM",numericCode:"744",callingCode:"+4779"},{name:"Swaziland",alpha2Code:"SZ",alpha3Code:"SWZ",numericCode:"748",callingCode:"+268"},{name:"Su\xe8de",alpha2Code:"SE",alpha3Code:"SWE",numericCode:"752",callingCode:"+46"},{name:"Suisse",alpha2Code:"CH",alpha3Code:"CHE",numericCode:"756",callingCode:"+41"},{name:"Syrie",alpha2Code:"SY",alpha3Code:"SYR",numericCode:"760",callingCode:"+963"},{name:"Ta\xefwan",alpha2Code:"TW",alpha3Code:"TWN",numericCode:"158",callingCode:"+886"},{name:"Tadjikistan",alpha2Code:"TJ",alpha3Code:"TJK",numericCode:"762",callingCode:"+992"},{name:"Tanzanie",alpha2Code:"TZ",alpha3Code:"TZA",numericCode:"834",callingCode:"+255"},{name:"Tha\xeflande",alpha2Code:"TH",alpha3Code:"THA",numericCode:"764",callingCode:"+66"},{name:"Timor oriental",alpha2Code:"TL",alpha3Code:"TLS",numericCode:"626",callingCode:"+670"},{name:"Togo",alpha2Code:"TG",alpha3Code:"TGO",numericCode:"768",callingCode:"+228"},{name:"Tokelau",alpha2Code:"TK",alpha3Code:"TKL",numericCode:"772",callingCode:"+690"},{name:"Tonga",alpha2Code:"TO",alpha3Code:"TON",numericCode:"776",callingCode:"+676"},{name:"Trinit\xe9 et Tobago",alpha2Code:"TT",alpha3Code:"TTO",numericCode:"780",callingCode:"+1868"},{name:"Tunisie",alpha2Code:"TN",alpha3Code:"TUN",numericCode:"788",callingCode:"+216"},{name:"Turquie",alpha2Code:"TR",alpha3Code:"TUR",numericCode:"792",callingCode:"+90"},{name:"Turkm\xe9nistan",alpha2Code:"TM",alpha3Code:"TKM",numericCode:"795",callingCode:"+993"},{name:"\xceles Turques-et-Ca\xefques",alpha2Code:"TC",alpha3Code:"TCA",numericCode:"796",callingCode:"+1649"},{name:"Tuvalu",alpha2Code:"TV",alpha3Code:"TUV",numericCode:"798",callingCode:"+688"},{name:"Uganda",alpha2Code:"UG",alpha3Code:"UGA",numericCode:"800",callingCode:"+256"},{name:"Ukraine",alpha2Code:"UA",alpha3Code:"UKR",numericCode:"804",callingCode:"+380"},{name:"\xc9mirats arabes unis",alpha2Code:"AE",alpha3Code:"ARE",numericCode:"784",callingCode:"+971"},{name:"Royaume-Uni",alpha2Code:"GB",alpha3Code:"GBR",numericCode:"826",callingCode:"+44"},{name:"\xc9tats-Unis",alpha2Code:"US",alpha3Code:"USA",numericCode:"840",callingCode:"+1"},{name:"Uruguay",alpha2Code:"UY",alpha3Code:"URY",numericCode:"858",callingCode:"+598"},{name:"Ouzb\xe9kistan",alpha2Code:"UZ",alpha3Code:"UZB",numericCode:"860",callingCode:"+998"},{name:"Vanuatu",alpha2Code:"VU",alpha3Code:"VUT",numericCode:"548",callingCode:"+678"},{name:"Venezuela",alpha2Code:"VE",alpha3Code:"VEN",numericCode:"862",callingCode:"+58"},{name:"Vi\xeat Nam",alpha2Code:"VN",alpha3Code:"VNM",numericCode:"704",callingCode:"+84"},{name:"Wallis-et-Futuna",alpha2Code:"WF",alpha3Code:"WLF",numericCode:"876",callingCode:"+681"},{name:"Sahara Occidental",alpha2Code:"EH",alpha3Code:"ESH",numericCode:"732",callingCode:"+212"},{name:"Y\xe9men",alpha2Code:"YE",alpha3Code:"YEM",numericCode:"887",callingCode:"+967"},{name:"Zambie",alpha2Code:"ZM",alpha3Code:"ZMB",numericCode:"894",callingCode:"+260"},{name:"Zimbabwe",alpha2Code:"ZW",alpha3Code:"ZWE",numericCode:"716",callingCode:"+263"}]}),Ry=Object.freeze({__proto__:null,COUNTRIES_DB_HR:[{name:"Afganistan",alpha2Code:"AF",alpha3Code:"AFG",numericCode:"004",callingCode:"+93"},{name:"\xc5landski otoci",alpha2Code:"AX",alpha3Code:"ALA",numericCode:"248",callingCode:"+358"},{name:"Albanija",alpha2Code:"AL",alpha3Code:"ALB",numericCode:"008",callingCode:"+355"},{name:"Al\u017eir",alpha2Code:"DZ",alpha3Code:"DZA",numericCode:"012",callingCode:"+213"},{name:"Ameri\u010dka Samoa",alpha2Code:"AS",alpha3Code:"ASM",numericCode:"016",callingCode:"+1684"},{name:"Andora",alpha2Code:"AD",alpha3Code:"AND",numericCode:"020",callingCode:"+376"},{name:"Angola",alpha2Code:"AO",alpha3Code:"AGO",numericCode:"024",callingCode:"+244"},{name:"Angvila",alpha2Code:"AI",alpha3Code:"AIA",numericCode:"660",callingCode:"+1264"},{name:"Antarktika",alpha2Code:"AQ",alpha3Code:"ATA",numericCode:"010",callingCode:"+672"},{name:"Antigva i Barbuda",alpha2Code:"AG",alpha3Code:"ATG",numericCode:"028",callingCode:"+1268"},{name:"Argentina",alpha2Code:"AR",alpha3Code:"ARG",numericCode:"032",callingCode:"+54"},{name:"Armenija",alpha2Code:"AM",alpha3Code:"ARM",numericCode:"051",callingCode:"+374"},{name:"Aruba",alpha2Code:"AW",alpha3Code:"ABW",numericCode:"533",callingCode:"+297"},{name:"Australija",alpha2Code:"AU",alpha3Code:"AUS",numericCode:"036",callingCode:"+61"},{name:"Austrija",alpha2Code:"AT",alpha3Code:"AUT",numericCode:"040",callingCode:"+43"},{name:"Azerbajd\u017ean",alpha2Code:"AZ",alpha3Code:"AZE",numericCode:"031",callingCode:"+994"},{name:"Bahami",alpha2Code:"BS",alpha3Code:"BHS",numericCode:"044",callingCode:"+1242"},{name:"Bahrein",alpha2Code:"BH",alpha3Code:"BHR",numericCode:"048",callingCode:"+973"},{name:"Banglade\u0161",alpha2Code:"BD",alpha3Code:"BGD",numericCode:"050",callingCode:"+880"},{name:"Barbados",alpha2Code:"BB",alpha3Code:"BRB",numericCode:"052",callingCode:"+1246"},{name:"Bjelorusija",alpha2Code:"BY",alpha3Code:"BLR",numericCode:"112",callingCode:"+375"},{name:"Belgija",alpha2Code:"BE",alpha3Code:"BEL",numericCode:"056",callingCode:"+32"},{name:"Belize",alpha2Code:"BZ",alpha3Code:"BLZ",numericCode:"084",callingCode:"+501"},{name:"Benin",alpha2Code:"BJ",alpha3Code:"BEN",numericCode:"204",callingCode:"+229"},{name:"Bermudi",alpha2Code:"BM",alpha3Code:"BMU",numericCode:"060",callingCode:"+1441"},{name:"Butan",alpha2Code:"BT",alpha3Code:"BTN",numericCode:"064",callingCode:"+975"},{name:"Bolivija",alpha2Code:"BO",alpha3Code:"BOL",numericCode:"068",callingCode:"+591"},{name:"Bonaire, Sint Eustacije i Saba",alpha2Code:"BQ",alpha3Code:"BES",numericCode:"535",callingCode:"+5997"},{name:"Bosna i Hercegovina",alpha2Code:"BA",alpha3Code:"BIH",numericCode:"070",callingCode:"+387"},{name:"Bocvana",alpha2Code:"BW",alpha3Code:"BWA",numericCode:"072",callingCode:"+267"},{name:"Otok Bouvet",alpha2Code:"BV",alpha3Code:"BVT",numericCode:"074",callingCode:"+"},{name:"Brazil",alpha2Code:"BR",alpha3Code:"BRA",numericCode:"076",callingCode:"+55"},{name:"Britanski Indijskooceanski teritorij",alpha2Code:"IO",alpha3Code:"IOT",numericCode:"086",callingCode:"+246"},{name:"Mali udaljeni otoci SAD-a",alpha2Code:"UM",alpha3Code:"UMI",numericCode:"581",callingCode:"+"},{name:"Britanski Djevi\u010danski Otoci",alpha2Code:"VG",alpha3Code:"VGB",numericCode:"092",callingCode:"+1284"},{name:"Djevi\u010danski Otoci (Britanski)",alpha2Code:"VI",alpha3Code:"VIR",numericCode:"850",callingCode:"+1 340"},{name:"Brunej",alpha2Code:"BN",alpha3Code:"BRN",numericCode:"096",callingCode:"+673"},{name:"Bugarska",alpha2Code:"BG",alpha3Code:"BGR",numericCode:"100",callingCode:"+359"},{name:"Burkina Faso",alpha2Code:"BF",alpha3Code:"BFA",numericCode:"854",callingCode:"+226"},{name:"Burundi",alpha2Code:"BI",alpha3Code:"BDI",numericCode:"108",callingCode:"+257"},{name:"Kambod\u017ea",alpha2Code:"KH",alpha3Code:"KHM",numericCode:"116",callingCode:"+855"},{name:"Kamerun",alpha2Code:"CM",alpha3Code:"CMR",numericCode:"120",callingCode:"+237"},{name:"Kanada",alpha2Code:"CA",alpha3Code:"CAN",numericCode:"124",callingCode:"+1"},{name:"Zelenortska Republika",alpha2Code:"CV",alpha3Code:"CPV",numericCode:"132",callingCode:"+238"},{name:"Kajmanski otoci",alpha2Code:"KY",alpha3Code:"CYM",numericCode:"136",callingCode:"+1345"},{name:"Srednjoafri\u010dka Republika",alpha2Code:"CF",alpha3Code:"CAF",numericCode:"140",callingCode:"+236"},{name:"\u010cad",alpha2Code:"TD",alpha3Code:"TCD",numericCode:"148",callingCode:"+235"},{name:"\u010cile",alpha2Code:"CL",alpha3Code:"CHL",numericCode:"152",callingCode:"+56"},{name:"Kina",alpha2Code:"CN",alpha3Code:"CHN",numericCode:"156",callingCode:"+86"},{name:"Bo\u017ei\u0107ni otok",alpha2Code:"CX",alpha3Code:"CXR",numericCode:"162",callingCode:"+61"},{name:"Kokosovi Otoci",alpha2Code:"CC",alpha3Code:"CCK",numericCode:"166",callingCode:"+61"},{name:"Kolumbija",alpha2Code:"CO",alpha3Code:"COL",numericCode:"170",callingCode:"+57"},{name:"Komori",alpha2Code:"KM",alpha3Code:"COM",numericCode:"174",callingCode:"+269"},{name:"Kongo",alpha2Code:"CG",alpha3Code:"COG",numericCode:"178",callingCode:"+242"},{name:"Kongo, Demokratska Republika",alpha2Code:"CD",alpha3Code:"COD",numericCode:"180",callingCode:"+243"},{name:"Cookovo Oto\u010dje",alpha2Code:"CK",alpha3Code:"COK",numericCode:"184",callingCode:"+682"},{name:"Kostarika",alpha2Code:"CR",alpha3Code:"CRI",numericCode:"188",callingCode:"+506"},{name:"Hrvatska",alpha2Code:"HR",alpha3Code:"HRV",numericCode:"191",callingCode:"+385"},{name:"Kuba",alpha2Code:"CU",alpha3Code:"CUB",numericCode:"192",callingCode:"+53"},{name:"Cura\xe7ao",alpha2Code:"CW",alpha3Code:"CUW",numericCode:"531",callingCode:"+599"},{name:"Cipar",alpha2Code:"CY",alpha3Code:"CYP",numericCode:"196",callingCode:"+357"},{name:"\u010ce\u0161ka",alpha2Code:"CZ",alpha3Code:"CZE",numericCode:"203",callingCode:"+420"},{name:"Danska",alpha2Code:"DK",alpha3Code:"DNK",numericCode:"208",callingCode:"+45"},{name:"D\u017eibuti",alpha2Code:"DJ",alpha3Code:"DJI",numericCode:"262",callingCode:"+253"},{name:"Dominika",alpha2Code:"DM",alpha3Code:"DMA",numericCode:"212",callingCode:"+1767"},{name:"Dominikanska Republika",alpha2Code:"DO",alpha3Code:"DOM",numericCode:"214",callingCode:"+1809"},{name:"Ekvador",alpha2Code:"EC",alpha3Code:"ECU",numericCode:"218",callingCode:"+593"},{name:"Egipat",alpha2Code:"EG",alpha3Code:"EGY",numericCode:"818",callingCode:"+20"},{name:"Salvador",alpha2Code:"SV",alpha3Code:"SLV",numericCode:"222",callingCode:"+503"},{name:"Ekvatorijalna Gvineja",alpha2Code:"GQ",alpha3Code:"GNQ",numericCode:"226",callingCode:"+240"},{name:"Eritreja",alpha2Code:"ER",alpha3Code:"ERI",numericCode:"232",callingCode:"+291"},{name:"Estonija",alpha2Code:"EE",alpha3Code:"EST",numericCode:"233",callingCode:"+372"},{name:"Etiopija",alpha2Code:"ET",alpha3Code:"ETH",numericCode:"231",callingCode:"+251"},{name:"Falklandski Otoci",alpha2Code:"FK",alpha3Code:"FLK",numericCode:"238",callingCode:"+500"},{name:"Farski Otoci",alpha2Code:"FO",alpha3Code:"FRO",numericCode:"234",callingCode:"+298"},{name:"Fi\u0111i",alpha2Code:"FJ",alpha3Code:"FJI",numericCode:"242",callingCode:"+679"},{name:"Finska",alpha2Code:"FI",alpha3Code:"FIN",numericCode:"246",callingCode:"+358"},{name:"Francuska",alpha2Code:"FR",alpha3Code:"FRA",numericCode:"250",callingCode:"+33"},{name:"Francuska Gvajana",alpha2Code:"GF",alpha3Code:"GUF",numericCode:"254",callingCode:"+594"},{name:"Francuska Polinezija",alpha2Code:"PF",alpha3Code:"PYF",numericCode:"258",callingCode:"+689"},{name:"Francuski ju\u017eni i antarkti\u010dki teritoriji",alpha2Code:"TF",alpha3Code:"ATF",numericCode:"260",callingCode:"+"},{name:"Gabon",alpha2Code:"GA",alpha3Code:"GAB",numericCode:"266",callingCode:"+241"},{name:"Gambija",alpha2Code:"GM",alpha3Code:"GMB",numericCode:"270",callingCode:"+220"},{name:"Gruzija",alpha2Code:"GE",alpha3Code:"GEO",numericCode:"268",callingCode:"+995"},{name:"Njema\u010dka",alpha2Code:"DE",alpha3Code:"DEU",numericCode:"276",callingCode:"+49"},{name:"Gana",alpha2Code:"GH",alpha3Code:"GHA",numericCode:"288",callingCode:"+233"},{name:"Gibraltar",alpha2Code:"GI",alpha3Code:"GIB",numericCode:"292",callingCode:"+350"},{name:"Gr\u010dka",alpha2Code:"GR",alpha3Code:"GRC",numericCode:"300",callingCode:"+30"},{name:"Grenland",alpha2Code:"GL",alpha3Code:"GRL",numericCode:"304",callingCode:"+299"},{name:"Grenada",alpha2Code:"GD",alpha3Code:"GRD",numericCode:"308",callingCode:"+1473"},{name:"Gvadalupa",alpha2Code:"GP",alpha3Code:"GLP",numericCode:"312",callingCode:"+590"},{name:"Guam",alpha2Code:"GU",alpha3Code:"GUM",numericCode:"316",callingCode:"+1671"},{name:"Gvatemala",alpha2Code:"GT",alpha3Code:"GTM",numericCode:"320",callingCode:"+502"},{name:"Guernsey",alpha2Code:"GG",alpha3Code:"GGY",numericCode:"831",callingCode:"+44"},{name:"Gvineja",alpha2Code:"GN",alpha3Code:"GIN",numericCode:"324",callingCode:"+224"},{name:"Gvineja Bisau",alpha2Code:"GW",alpha3Code:"GNB",numericCode:"624",callingCode:"+245"},{name:"Gvajana",alpha2Code:"GY",alpha3Code:"GUY",numericCode:"328",callingCode:"+592"},{name:"Haiti",alpha2Code:"HT",alpha3Code:"HTI",numericCode:"332",callingCode:"+509"},{name:"Otok Heard i oto\u010dje McDonald",alpha2Code:"HM",alpha3Code:"HMD",numericCode:"334",callingCode:"+"},{name:"Sveta Stolica",alpha2Code:"VA",alpha3Code:"VAT",numericCode:"336",callingCode:"+379"},{name:"Honduras",alpha2Code:"HN",alpha3Code:"HND",numericCode:"340",callingCode:"+504"},{name:"Hong Kong",alpha2Code:"HK",alpha3Code:"HKG",numericCode:"344",callingCode:"+852"},{name:"Ma\u0111arska",alpha2Code:"HU",alpha3Code:"HUN",numericCode:"348",callingCode:"+36"},{name:"Island",alpha2Code:"IS",alpha3Code:"ISL",numericCode:"352",callingCode:"+354"},{name:"Indija",alpha2Code:"IN",alpha3Code:"IND",numericCode:"356",callingCode:"+91"},{name:"Indonezija",alpha2Code:"ID",alpha3Code:"IDN",numericCode:"360",callingCode:"+62"},{name:"Obala Bjelokosti",alpha2Code:"CI",alpha3Code:"CIV",numericCode:"384",callingCode:"+225"},{name:"Iran",alpha2Code:"IR",alpha3Code:"IRN",numericCode:"364",callingCode:"+98"},{name:"Irak",alpha2Code:"IQ",alpha3Code:"IRQ",numericCode:"368",callingCode:"+964"},{name:"Irska",alpha2Code:"IE",alpha3Code:"IRL",numericCode:"372",callingCode:"+353"},{name:"Otok Man",alpha2Code:"IM",alpha3Code:"IMN",numericCode:"833",callingCode:"+44"},{name:"Izrael",alpha2Code:"IL",alpha3Code:"ISR",numericCode:"376",callingCode:"+972"},{name:"Italija",alpha2Code:"IT",alpha3Code:"ITA",numericCode:"380",callingCode:"+39"},{name:"Jamajka",alpha2Code:"JM",alpha3Code:"JAM",numericCode:"388",callingCode:"+1876"},{name:"Japan",alpha2Code:"JP",alpha3Code:"JPN",numericCode:"392",callingCode:"+81"},{name:"Jersey",alpha2Code:"JE",alpha3Code:"JEY",numericCode:"832",callingCode:"+44"},{name:"Jordan",alpha2Code:"JO",alpha3Code:"JOR",numericCode:"400",callingCode:"+962"},{name:"Kazahstan",alpha2Code:"KZ",alpha3Code:"KAZ",numericCode:"398",callingCode:"+76"},{name:"Kenija",alpha2Code:"KE",alpha3Code:"KEN",numericCode:"404",callingCode:"+254"},{name:"Kiribati",alpha2Code:"KI",alpha3Code:"KIR",numericCode:"296",callingCode:"+686"},{name:"Kuvajt",alpha2Code:"KW",alpha3Code:"KWT",numericCode:"414",callingCode:"+965"},{name:"Kirgistan",alpha2Code:"KG",alpha3Code:"KGZ",numericCode:"417",callingCode:"+996"},{name:"Laos",alpha2Code:"LA",alpha3Code:"LAO",numericCode:"418",callingCode:"+856"},{name:"Latvija",alpha2Code:"LV",alpha3Code:"LVA",numericCode:"428",callingCode:"+371"},{name:"Libanon",alpha2Code:"LB",alpha3Code:"LBN",numericCode:"422",callingCode:"+961"},{name:"Lesoto",alpha2Code:"LS",alpha3Code:"LSO",numericCode:"426",callingCode:"+266"},{name:"Liberija",alpha2Code:"LR",alpha3Code:"LBR",numericCode:"430",callingCode:"+231"},{name:"Libija",alpha2Code:"LY",alpha3Code:"LBY",numericCode:"434",callingCode:"+218"},{name:"Lihten\u0161tajn",alpha2Code:"LI",alpha3Code:"LIE",numericCode:"438",callingCode:"+423"},{name:"Litva",alpha2Code:"LT",alpha3Code:"LTU",numericCode:"440",callingCode:"+370"},{name:"Luksemburg",alpha2Code:"LU",alpha3Code:"LUX",numericCode:"442",callingCode:"+352"},{name:"Makao",alpha2Code:"MO",alpha3Code:"MAC",numericCode:"446",callingCode:"+853"},{name:"Makedonija",alpha2Code:"MK",alpha3Code:"MKD",numericCode:"807",callingCode:"+389"},{name:"Madagaskar",alpha2Code:"MG",alpha3Code:"MDG",numericCode:"450",callingCode:"+261"},{name:"Malavi",alpha2Code:"MW",alpha3Code:"MWI",numericCode:"454",callingCode:"+265"},{name:"Malezija",alpha2Code:"MY",alpha3Code:"MYS",numericCode:"458",callingCode:"+60"},{name:"Maldivi",alpha2Code:"MV",alpha3Code:"MDV",numericCode:"462",callingCode:"+960"},{name:"Mali",alpha2Code:"ML",alpha3Code:"MLI",numericCode:"466",callingCode:"+223"},{name:"Malta",alpha2Code:"MT",alpha3Code:"MLT",numericCode:"470",callingCode:"+356"},{name:"Mar\u0161alovi Otoci",alpha2Code:"MH",alpha3Code:"MHL",numericCode:"584",callingCode:"+692"},{name:"Martinique",alpha2Code:"MQ",alpha3Code:"MTQ",numericCode:"474",callingCode:"+596"},{name:"Mauritanija",alpha2Code:"MR",alpha3Code:"MRT",numericCode:"478",callingCode:"+222"},{name:"Mauricijus",alpha2Code:"MU",alpha3Code:"MUS",numericCode:"480",callingCode:"+230"},{name:"Mayotte",alpha2Code:"YT",alpha3Code:"MYT",numericCode:"175",callingCode:"+262"},{name:"Meksiko",alpha2Code:"MX",alpha3Code:"MEX",numericCode:"484",callingCode:"+52"},{name:"Mikronezija",alpha2Code:"FM",alpha3Code:"FSM",numericCode:"583",callingCode:"+691"},{name:"Moldova",alpha2Code:"MD",alpha3Code:"MDA",numericCode:"498",callingCode:"+373"},{name:"Monako",alpha2Code:"MC",alpha3Code:"MCO",numericCode:"492",callingCode:"+377"},{name:"Mongolija",alpha2Code:"MN",alpha3Code:"MNG",numericCode:"496",callingCode:"+976"},{name:"Crna Gora",alpha2Code:"ME",alpha3Code:"MNE",numericCode:"499",callingCode:"+382"},{name:"Montserrat",alpha2Code:"MS",alpha3Code:"MSR",numericCode:"500",callingCode:"+1664"},{name:"Maroko",alpha2Code:"MA",alpha3Code:"MAR",numericCode:"504",callingCode:"+212"},{name:"Mozambik",alpha2Code:"MZ",alpha3Code:"MOZ",numericCode:"508",callingCode:"+258"},{name:"Mijanmar",alpha2Code:"MM",alpha3Code:"MMR",numericCode:"104",callingCode:"+95"},{name:"Namibija",alpha2Code:"NA",alpha3Code:"NAM",numericCode:"516",callingCode:"+264"},{name:"Nauru",alpha2Code:"NR",alpha3Code:"NRU",numericCode:"520",callingCode:"+674"},{name:"Nepal",alpha2Code:"NP",alpha3Code:"NPL",numericCode:"524",callingCode:"+977"},{name:"Nizozemska",alpha2Code:"NL",alpha3Code:"NLD",numericCode:"528",callingCode:"+31"},{name:"Nova Kaledonija",alpha2Code:"NC",alpha3Code:"NCL",numericCode:"540",callingCode:"+687"},{name:"Novi Zeland",alpha2Code:"NZ",alpha3Code:"NZL",numericCode:"554",callingCode:"+64"},{name:"Nikaragva",alpha2Code:"NI",alpha3Code:"NIC",numericCode:"558",callingCode:"+505"},{name:"Niger",alpha2Code:"NE",alpha3Code:"NER",numericCode:"562",callingCode:"+227"},{name:"Nigerija",alpha2Code:"NG",alpha3Code:"NGA",numericCode:"566",callingCode:"+234"},{name:"Niue",alpha2Code:"NU",alpha3Code:"NIU",numericCode:"570",callingCode:"+683"},{name:"Otok Norfolk",alpha2Code:"NF",alpha3Code:"NFK",numericCode:"574",callingCode:"+672"},{name:"Sjeverna Koreja",alpha2Code:"KP",alpha3Code:"PRK",numericCode:"408",callingCode:"+850"},{name:"Sjevernomarijanski otoci",alpha2Code:"MP",alpha3Code:"MNP",numericCode:"580",callingCode:"+1670"},{name:"Norve\u0161ka",alpha2Code:"NO",alpha3Code:"NOR",numericCode:"578",callingCode:"+47"},{name:"Oman",alpha2Code:"OM",alpha3Code:"OMN",numericCode:"512",callingCode:"+968"},{name:"Pakistan",alpha2Code:"PK",alpha3Code:"PAK",numericCode:"586",callingCode:"+92"},{name:"Palau",alpha2Code:"PW",alpha3Code:"PLW",numericCode:"585",callingCode:"+680"},{name:"Palestina",alpha2Code:"PS",alpha3Code:"PSE",numericCode:"275",callingCode:"+970"},{name:"Panama",alpha2Code:"PA",alpha3Code:"PAN",numericCode:"591",callingCode:"+507"},{name:"Papua Nova Gvineja",alpha2Code:"PG",alpha3Code:"PNG",numericCode:"598",callingCode:"+675"},{name:"Paragvaj",alpha2Code:"PY",alpha3Code:"PRY",numericCode:"600",callingCode:"+595"},{name:"Peru",alpha2Code:"PE",alpha3Code:"PER",numericCode:"604",callingCode:"+51"},{name:"Filipini",alpha2Code:"PH",alpha3Code:"PHL",numericCode:"608",callingCode:"+63"},{name:"Pitcairnovo oto\u010dje",alpha2Code:"PN",alpha3Code:"PCN",numericCode:"612",callingCode:"+64"},{name:"Poljska",alpha2Code:"PL",alpha3Code:"POL",numericCode:"616",callingCode:"+48"},{name:"Portugal",alpha2Code:"PT",alpha3Code:"PRT",numericCode:"620",callingCode:"+351"},{name:"Portoriko",alpha2Code:"PR",alpha3Code:"PRI",numericCode:"630",callingCode:"+1787"},{name:"Katar",alpha2Code:"QA",alpha3Code:"QAT",numericCode:"634",callingCode:"+974"},{name:"Kosovo",alpha2Code:"XK",alpha3Code:"KOS",numericCode:null,callingCode:"+383"},{name:"R\xe9union",alpha2Code:"RE",alpha3Code:"REU",numericCode:"638",callingCode:"+262"},{name:"Rumunjska",alpha2Code:"RO",alpha3Code:"ROU",numericCode:"642",callingCode:"+40"},{name:"Rusija",alpha2Code:"RU",alpha3Code:"RUS",numericCode:"643",callingCode:"+7"},{name:"Ruanda",alpha2Code:"RW",alpha3Code:"RWA",numericCode:"646",callingCode:"+250"},{name:"Saint Barth\xe9lemy",alpha2Code:"BL",alpha3Code:"BLM",numericCode:"652",callingCode:"+590"},{name:"Sveta Helena",alpha2Code:"SH",alpha3Code:"SHN",numericCode:"654",callingCode:"+290"},{name:"Sveti Kristof i Nevis",alpha2Code:"KN",alpha3Code:"KNA",numericCode:"659",callingCode:"+1869"},{name:"Sveta Lucija",alpha2Code:"LC",alpha3Code:"LCA",numericCode:"662",callingCode:"+1758"},{name:"Sveti Martin",alpha2Code:"MF",alpha3Code:"MAF",numericCode:"663",callingCode:"+590"},{name:"Sveti Petar i Mikelon",alpha2Code:"PM",alpha3Code:"SPM",numericCode:"666",callingCode:"+508"},{name:"Sveti Vincent i Grenadini",alpha2Code:"VC",alpha3Code:"VCT",numericCode:"670",callingCode:"+1784"},{name:"Samoa",alpha2Code:"WS",alpha3Code:"WSM",numericCode:"882",callingCode:"+685"},{name:"San Marino",alpha2Code:"SM",alpha3Code:"SMR",numericCode:"674",callingCode:"+378"},{name:"Sveti Toma i Princip",alpha2Code:"ST",alpha3Code:"STP",numericCode:"678",callingCode:"+239"},{name:"Saudijska Arabija",alpha2Code:"SA",alpha3Code:"SAU",numericCode:"682",callingCode:"+966"},{name:"Senegal",alpha2Code:"SN",alpha3Code:"SEN",numericCode:"686",callingCode:"+221"},{name:"Srbija",alpha2Code:"RS",alpha3Code:"SRB",numericCode:"688",callingCode:"+381"},{name:"Sej\u0161eli",alpha2Code:"SC",alpha3Code:"SYC",numericCode:"690",callingCode:"+248"},{name:"Sijera Leone",alpha2Code:"SL",alpha3Code:"SLE",numericCode:"694",callingCode:"+232"},{name:"Singapur",alpha2Code:"SG",alpha3Code:"SGP",numericCode:"702",callingCode:"+65"},{name:"Sveti Martin (nizozemski dio)",alpha2Code:"SX",alpha3Code:"SXM",numericCode:"534",callingCode:"+1721"},{name:"Slova\u010dka",alpha2Code:"SK",alpha3Code:"SVK",numericCode:"703",callingCode:"+421"},{name:"Slovenija",alpha2Code:"SI",alpha3Code:"SVN",numericCode:"705",callingCode:"+386"},{name:"Solomonski Otoci",alpha2Code:"SB",alpha3Code:"SLB",numericCode:"090",callingCode:"+677"},{name:"Somalija",alpha2Code:"SO",alpha3Code:"SOM",numericCode:"706",callingCode:"+252"},{name:"Ju\u017enoafri\u010dka Republika",alpha2Code:"ZA",alpha3Code:"ZAF",numericCode:"710",callingCode:"+27"},{name:"Ju\u017ena Georgija i oto\u010dje Ju\u017eni Sandwich",alpha2Code:"GS",alpha3Code:"SGS",numericCode:"239",callingCode:"+500"},{name:"Ju\u017ena Koreja",alpha2Code:"KR",alpha3Code:"KOR",numericCode:"410",callingCode:"+82"},{name:"Ju\u017eni Sudan",alpha2Code:"SS",alpha3Code:"SSD",numericCode:"728",callingCode:"+211"},{name:"\u0160panjolska",alpha2Code:"ES",alpha3Code:"ESP",numericCode:"724",callingCode:"+34"},{name:"\u0160ri Lanka",alpha2Code:"LK",alpha3Code:"LKA",numericCode:"144",callingCode:"+94"},{name:"Sudan",alpha2Code:"SD",alpha3Code:"SDN",numericCode:"729",callingCode:"+249"},{name:"Surinam",alpha2Code:"SR",alpha3Code:"SUR",numericCode:"740",callingCode:"+597"},{name:"Svalbard i Jan Mayen",alpha2Code:"SJ",alpha3Code:"SJM",numericCode:"744",callingCode:"+4779"},{name:"Svazi",alpha2Code:"SZ",alpha3Code:"SWZ",numericCode:"748",callingCode:"+268"},{name:"\u0160vedska",alpha2Code:"SE",alpha3Code:"SWE",numericCode:"752",callingCode:"+46"},{name:"\u0160vicarska",alpha2Code:"CH",alpha3Code:"CHE",numericCode:"756",callingCode:"+41"},{name:"Sirija",alpha2Code:"SY",alpha3Code:"SYR",numericCode:"760",callingCode:"+963"},{name:"Tajvan",alpha2Code:"TW",alpha3Code:"TWN",numericCode:"158",callingCode:"+886"},{name:"Ta\u0111ikistan",alpha2Code:"TJ",alpha3Code:"TJK",numericCode:"762",callingCode:"+992"},{name:"Tanzanija",alpha2Code:"TZ",alpha3Code:"TZA",numericCode:"834",callingCode:"+255"},{name:"Tajland",alpha2Code:"TH",alpha3Code:"THA",numericCode:"764",callingCode:"+66"},{name:"Isto\u010dni Timor",alpha2Code:"TL",alpha3Code:"TLS",numericCode:"626",callingCode:"+670"},{name:"Togo",alpha2Code:"TG",alpha3Code:"TGO",numericCode:"768",callingCode:"+228"},{name:"Tokelau",alpha2Code:"TK",alpha3Code:"TKL",numericCode:"772",callingCode:"+690"},{name:"Tonga",alpha2Code:"TO",alpha3Code:"TON",numericCode:"776",callingCode:"+676"},{name:"Trinidad i Tobago",alpha2Code:"TT",alpha3Code:"TTO",numericCode:"780",callingCode:"+1868"},{name:"Tunis",alpha2Code:"TN",alpha3Code:"TUN",numericCode:"788",callingCode:"+216"},{name:"Turska",alpha2Code:"TR",alpha3Code:"TUR",numericCode:"792",callingCode:"+90"},{name:"Turkmenistan",alpha2Code:"TM",alpha3Code:"TKM",numericCode:"795",callingCode:"+993"},{name:"Otoci Turks i Caicos",alpha2Code:"TC",alpha3Code:"TCA",numericCode:"796",callingCode:"+1649"},{name:"Tuvalu",alpha2Code:"TV",alpha3Code:"TUV",numericCode:"798",callingCode:"+688"},{name:"Uganda",alpha2Code:"UG",alpha3Code:"UGA",numericCode:"800",callingCode:"+256"},{name:"Ukrajina",alpha2Code:"UA",alpha3Code:"UKR",numericCode:"804",callingCode:"+380"},{name:"Ujedinjeni Arapski Emirati",alpha2Code:"AE",alpha3Code:"ARE",numericCode:"784",callingCode:"+971"},{name:"Ujedinjeno Kraljevstvo",alpha2Code:"GB",alpha3Code:"GBR",numericCode:"826",callingCode:"+44"},{name:"Sjedinjene Ameri\u010dke Dr\u017eave",alpha2Code:"US",alpha3Code:"USA",numericCode:"840",callingCode:"+1"},{name:"Urugvaj",alpha2Code:"UY",alpha3Code:"URY",numericCode:"858",callingCode:"+598"},{name:"Uzbekistan",alpha2Code:"UZ",alpha3Code:"UZB",numericCode:"860",callingCode:"+998"},{name:"Vanuatu",alpha2Code:"VU",alpha3Code:"VUT",numericCode:"548",callingCode:"+678"},{name:"Venezuela",alpha2Code:"VE",alpha3Code:"VEN",numericCode:"862",callingCode:"+58"},{name:"Vijetnam",alpha2Code:"VN",alpha3Code:"VNM",numericCode:"704",callingCode:"+84"},{name:"Wallis i Fortuna",alpha2Code:"WF",alpha3Code:"WLF",numericCode:"876",callingCode:"+681"},{name:"Zapadna Sahara",alpha2Code:"EH",alpha3Code:"ESH",numericCode:"732",callingCode:"+212"},{name:"Jemen",alpha2Code:"YE",alpha3Code:"YEM",numericCode:"887",callingCode:"+967"},{name:"Zambija",alpha2Code:"ZM",alpha3Code:"ZMB",numericCode:"894",callingCode:"+260"},{name:"Zimbabve",alpha2Code:"ZW",alpha3Code:"ZWE",numericCode:"716",callingCode:"+263"}]}),_1=Object.freeze({__proto__:null,COUNTRIES_DB_HU:[{name:"Afganiszt\xe1n",alpha2Code:"AF",alpha3Code:"AFG",numericCode:"004",callingCode:"+93"},{name:"\xc5land-szigetek",alpha2Code:"AX",alpha3Code:"ALA",numericCode:"248",callingCode:"+358"},{name:"Alb\xe1nia",alpha2Code:"AL",alpha3Code:"ALB",numericCode:"008",callingCode:"+355"},{name:"Alg\xe9ria",alpha2Code:"DZ",alpha3Code:"DZA",numericCode:"012",callingCode:"+213"},{name:"Amerikai Szamoa",alpha2Code:"AS",alpha3Code:"ASM",numericCode:"016",callingCode:"+1684"},{name:"Andorra",alpha2Code:"AD",alpha3Code:"AND",numericCode:"020",callingCode:"+376"},{name:"Angola",alpha2Code:"AO",alpha3Code:"AGO",numericCode:"024",callingCode:"+244"},{name:"Anguilla",alpha2Code:"AI",alpha3Code:"AIA",numericCode:"660",callingCode:"+1264"},{name:"Antarktisz",alpha2Code:"AQ",alpha3Code:"ATA",numericCode:"010",callingCode:"+672"},{name:"Antigua \xe9s Barbuda",alpha2Code:"AG",alpha3Code:"ATG",numericCode:"028",callingCode:"+1268"},{name:"Argent\xedna",alpha2Code:"AR",alpha3Code:"ARG",numericCode:"032",callingCode:"+54"},{name:"\xd6rm\xe9nyorsz\xe1g",alpha2Code:"AM",alpha3Code:"ARM",numericCode:"051",callingCode:"+374"},{name:"Aruba",alpha2Code:"AW",alpha3Code:"ABW",numericCode:"533",callingCode:"+297"},{name:"Ausztr\xe1lia",alpha2Code:"AU",alpha3Code:"AUS",numericCode:"036",callingCode:"+61"},{name:"Ausztria",alpha2Code:"AT",alpha3Code:"AUT",numericCode:"040",callingCode:"+43"},{name:"Azerbajdzs\xe1n",alpha2Code:"AZ",alpha3Code:"AZE",numericCode:"031",callingCode:"+994"},{name:"Bahama-szigetek",alpha2Code:"BS",alpha3Code:"BHS",numericCode:"044",callingCode:"+1242"},{name:"Bahrein",alpha2Code:"BH",alpha3Code:"BHR",numericCode:"048",callingCode:"+973"},{name:"Banglades",alpha2Code:"BD",alpha3Code:"BGD",numericCode:"050",callingCode:"+880"},{name:"Barbados",alpha2Code:"BB",alpha3Code:"BRB",numericCode:"052",callingCode:"+1246"},{name:"Feh\xe9roroszorsz\xe1g",alpha2Code:"BY",alpha3Code:"BLR",numericCode:"112",callingCode:"+375"},{name:"Belgium",alpha2Code:"BE",alpha3Code:"BEL",numericCode:"056",callingCode:"+32"},{name:"Belize",alpha2Code:"BZ",alpha3Code:"BLZ",numericCode:"084",callingCode:"+501"},{name:"Benin",alpha2Code:"BJ",alpha3Code:"BEN",numericCode:"204",callingCode:"+229"},{name:"Bermuda",alpha2Code:"BM",alpha3Code:"BMU",numericCode:"060",callingCode:"+1441"},{name:"Bhut\xe1n",alpha2Code:"BT",alpha3Code:"BTN",numericCode:"064",callingCode:"+975"},{name:"Bol\xedvia (t\xf6bbnemzetis\xe9g\u0171 \xe1llam)",alpha2Code:"BO",alpha3Code:"BOL",numericCode:"068",callingCode:"+591"},{name:"Bonaire, Sint Eustatius \xe9s Saba",alpha2Code:"BQ",alpha3Code:"BES",numericCode:"535",callingCode:"+5997"},{name:"Bosznia \xe9s Hercegovina",alpha2Code:"BA",alpha3Code:"BIH",numericCode:"070",callingCode:"+387"},{name:"Botswana",alpha2Code:"BW",alpha3Code:"BWA",numericCode:"072",callingCode:"+267"},{name:"Bouvet-sziget",alpha2Code:"BV",alpha3Code:"BVT",numericCode:"074",callingCode:"+"},{name:"Braz\xedlia",alpha2Code:"BR",alpha3Code:"BRA",numericCode:"076",callingCode:"+55"},{name:"Brit Indiai-\xf3ce\xe1ni ter\xfclet",alpha2Code:"IO",alpha3Code:"IOT",numericCode:"086",callingCode:"+246"},{name:"Egyes\xfclt \xc1llamok Kisebb peremszigetek",alpha2Code:"UM",alpha3Code:"UMI",numericCode:"581",callingCode:"+"},{name:"Virgin-szigetek (brit)",alpha2Code:"VG",alpha3Code:"VGB",numericCode:"092",callingCode:"+1284"},{name:"Virgin-szigetek (Egyes\xfclt \xc1llamok)",alpha2Code:"VI",alpha3Code:"VIR",numericCode:"850",callingCode:"+1 340"},{name:"Brunei Darussalam",alpha2Code:"BN",alpha3Code:"BRN",numericCode:"096",callingCode:"+673"},{name:"Bulg\xe1ria",alpha2Code:"BG",alpha3Code:"BGR",numericCode:"100",callingCode:"+359"},{name:"Burkina Faso",alpha2Code:"BF",alpha3Code:"BFA",numericCode:"854",callingCode:"+226"},{name:"Burundi",alpha2Code:"BI",alpha3Code:"BDI",numericCode:"108",callingCode:"+257"},{name:"Kambodzsa",alpha2Code:"KH",alpha3Code:"KHM",numericCode:"116",callingCode:"+855"},{name:"Kamerun",alpha2Code:"CM",alpha3Code:"CMR",numericCode:"120",callingCode:"+237"},{name:"Kanada",alpha2Code:"CA",alpha3Code:"CAN",numericCode:"124",callingCode:"+1"},{name:"Cabo Verde",alpha2Code:"CV",alpha3Code:"CPV",numericCode:"132",callingCode:"+238"},{name:"Kajm\xe1n-szigetek",alpha2Code:"KY",alpha3Code:"CYM",numericCode:"136",callingCode:"+1345"},{name:"K\xf6z\xe9p-afrikai K\xf6zt\xe1rsas\xe1g",alpha2Code:"CF",alpha3Code:"CAF",numericCode:"140",callingCode:"+236"},{name:"Cs\xe1d",alpha2Code:"TD",alpha3Code:"TCD",numericCode:"148",callingCode:"+235"},{name:"Chile",alpha2Code:"CL",alpha3Code:"CHL",numericCode:"152",callingCode:"+56"},{name:"K\xedna",alpha2Code:"CN",alpha3Code:"CHN",numericCode:"156",callingCode:"+86"},{name:"Kar\xe1csony-sziget",alpha2Code:"CX",alpha3Code:"CXR",numericCode:"162",callingCode:"+61"},{name:"K\xf3kusz-szigetek",alpha2Code:"CC",alpha3Code:"CCK",numericCode:"166",callingCode:"+61"},{name:"Kolumbia",alpha2Code:"CO",alpha3Code:"COL",numericCode:"170",callingCode:"+57"},{name:"Comore-szigetek",alpha2Code:"KM",alpha3Code:"COM",numericCode:"174",callingCode:"+269"},{name:"Kong\xf3",alpha2Code:"CG",alpha3Code:"COG",numericCode:"178",callingCode:"+242"},{name:"Kong\xf3 (Demokratikus K\xf6zt\xe1rsas\xe1g)",alpha2Code:"CD",alpha3Code:"COD",numericCode:"180",callingCode:"+243"},{name:"Cook-szigetek",alpha2Code:"CK",alpha3Code:"COK",numericCode:"184",callingCode:"+682"},{name:"Costa Rica",alpha2Code:"CR",alpha3Code:"CRI",numericCode:"188",callingCode:"+506"},{name:"Horv\xe1torsz\xe1g",alpha2Code:"HR",alpha3Code:"HRV",numericCode:"191",callingCode:"+385"},{name:"Kuba",alpha2Code:"CU",alpha3Code:"CUB",numericCode:"192",callingCode:"+53"},{name:"Cura\xe7ao",alpha2Code:"CW",alpha3Code:"CUW",numericCode:"531",callingCode:"+599"},{name:"Ciprus",alpha2Code:"CY",alpha3Code:"CYP",numericCode:"196",callingCode:"+357"},{name:"Csehorsz\xe1g",alpha2Code:"CZ",alpha3Code:"CZE",numericCode:"203",callingCode:"+420"},{name:"D\xe1nia",alpha2Code:"DK",alpha3Code:"DNK",numericCode:"208",callingCode:"+45"},{name:"Dzsibuti",alpha2Code:"DJ",alpha3Code:"DJI",numericCode:"262",callingCode:"+253"},{name:"Dominika",alpha2Code:"DM",alpha3Code:"DMA",numericCode:"212",callingCode:"+1767"},{name:"Dominikai K\xf6zt\xe1rsas\xe1g",alpha2Code:"DO",alpha3Code:"DOM",numericCode:"214",callingCode:"+1809"},{name:"Ecuador",alpha2Code:"EC",alpha3Code:"ECU",numericCode:"218",callingCode:"+593"},{name:"Egyiptom",alpha2Code:"EG",alpha3Code:"EGY",numericCode:"818",callingCode:"+20"},{name:"El Salvador",alpha2Code:"SV",alpha3Code:"SLV",numericCode:"222",callingCode:"+503"},{name:"Egyenl\xedt\u0151i-Guinea",alpha2Code:"GQ",alpha3Code:"GNQ",numericCode:"226",callingCode:"+240"},{name:"Eritrea",alpha2Code:"ER",alpha3Code:"ERI",numericCode:"232",callingCode:"+291"},{name:"\xc9sztorsz\xe1g",alpha2Code:"EE",alpha3Code:"EST",numericCode:"233",callingCode:"+372"},{name:"Eti\xf3pia",alpha2Code:"ET",alpha3Code:"ETH",numericCode:"231",callingCode:"+251"},{name:"Falkland-szigetek (Malvin-szigetek)",alpha2Code:"FK",alpha3Code:"FLK",numericCode:"238",callingCode:"+500"},{name:"Fer\xf6er-szigetek",alpha2Code:"FO",alpha3Code:"FRO",numericCode:"234",callingCode:"+298"},{name:"Fidzsi-szigetek",alpha2Code:"FJ",alpha3Code:"FJI",numericCode:"242",callingCode:"+679"},{name:"Finnorsz\xe1g",alpha2Code:"FI",alpha3Code:"FIN",numericCode:"246",callingCode:"+358"},{name:"Franciaorsz\xe1g",alpha2Code:"FR",alpha3Code:"FRA",numericCode:"250",callingCode:"+33"},{name:"Francia Guyana",alpha2Code:"GF",alpha3Code:"GUF",numericCode:"254",callingCode:"+594"},{name:"Francia Polin\xe9zia",alpha2Code:"PF",alpha3Code:"PYF",numericCode:"258",callingCode:"+689"},{name:"Francia d\xe9li ter\xfcletek",alpha2Code:"TF",alpha3Code:"ATF",numericCode:"260",callingCode:"+"},{name:"Gabon",alpha2Code:"GA",alpha3Code:"GAB",numericCode:"266",callingCode:"+241"},{name:"Gambia",alpha2Code:"GM",alpha3Code:"GMB",numericCode:"270",callingCode:"+220"},{name:"Gr\xfazia",alpha2Code:"GE",alpha3Code:"GEO",numericCode:"268",callingCode:"+995"},{name:"N\xe9metorsz\xe1g",alpha2Code:"DE",alpha3Code:"DEU",numericCode:"276",callingCode:"+49"},{name:"Gh\xe1na",alpha2Code:"GH",alpha3Code:"GHA",numericCode:"288",callingCode:"+233"},{name:"Gibralt\xe1r",alpha2Code:"GI",alpha3Code:"GIB",numericCode:"292",callingCode:"+350"},{name:"G\xf6r\xf6gorsz\xe1g",alpha2Code:"GR",alpha3Code:"GRC",numericCode:"300",callingCode:"+30"},{name:"Gr\xf6nland",alpha2Code:"GL",alpha3Code:"GRL",numericCode:"304",callingCode:"+299"},{name:"Grenada",alpha2Code:"GD",alpha3Code:"GRD",numericCode:"308",callingCode:"+1473"},{name:"Guadeloupe",alpha2Code:"GP",alpha3Code:"GLP",numericCode:"312",callingCode:"+590"},{name:"Guam",alpha2Code:"GU",alpha3Code:"GUM",numericCode:"316",callingCode:"+1671"},{name:"Guatemala",alpha2Code:"GT",alpha3Code:"GTM",numericCode:"320",callingCode:"+502"},{name:"Guernsey",alpha2Code:"GG",alpha3Code:"GGY",numericCode:"831",callingCode:"+44"},{name:"Guinea",alpha2Code:"GN",alpha3Code:"GIN",numericCode:"324",callingCode:"+224"},{name:"Bissau-Guinea",alpha2Code:"GW",alpha3Code:"GNB",numericCode:"624",callingCode:"+245"},{name:"Guyana",alpha2Code:"GY",alpha3Code:"GUY",numericCode:"328",callingCode:"+592"},{name:"Haiti",alpha2Code:"HT",alpha3Code:"HTI",numericCode:"332",callingCode:"+509"},{name:"Heard-sziget \xe9s McDonald-szigetek",alpha2Code:"HM",alpha3Code:"HMD",numericCode:"334",callingCode:"+"},{name:"Szentsz\xe9k",alpha2Code:"VA",alpha3Code:"VAT",numericCode:"336",callingCode:"+379"},{name:"Honduras",alpha2Code:"HN",alpha3Code:"HND",numericCode:"340",callingCode:"+504"},{name:"Hong Kong",alpha2Code:"HK",alpha3Code:"HKG",numericCode:"344",callingCode:"+852"},{name:"Magyarorsz\xe1g",alpha2Code:"HU",alpha3Code:"HUN",numericCode:"348",callingCode:"+36"},{name:"Izland",alpha2Code:"IS",alpha3Code:"ISL",numericCode:"352",callingCode:"+354"},{name:"India",alpha2Code:"IN",alpha3Code:"IND",numericCode:"356",callingCode:"+91"},{name:"Indon\xe9zia",alpha2Code:"ID",alpha3Code:"IDN",numericCode:"360",callingCode:"+62"},{name:"Elef\xe1ntcsontpart",alpha2Code:"CI",alpha3Code:"CIV",numericCode:"384",callingCode:"+225"},{name:"Ir\xe1n (Iszl\xe1m K\xf6zt\xe1rsas\xe1g)",alpha2Code:"IR",alpha3Code:"IRN",numericCode:"364",callingCode:"+98"},{name:"Irak",alpha2Code:"IQ",alpha3Code:"IRQ",numericCode:"368",callingCode:"+964"},{name:"\xcdrorsz\xe1g",alpha2Code:"IE",alpha3Code:"IRL",numericCode:"372",callingCode:"+353"},{name:"Man-sziget",alpha2Code:"IM",alpha3Code:"IMN",numericCode:"833",callingCode:"+44"},{name:"Izrael",alpha2Code:"IL",alpha3Code:"ISR",numericCode:"376",callingCode:"+972"},{name:"Olaszorsz\xe1g",alpha2Code:"IT",alpha3Code:"ITA",numericCode:"380",callingCode:"+39"},{name:"Jamaica",alpha2Code:"JM",alpha3Code:"JAM",numericCode:"388",callingCode:"+1876"},{name:"Jap\xe1n",alpha2Code:"JP",alpha3Code:"JPN",numericCode:"392",callingCode:"+81"},{name:"Jersey",alpha2Code:"JE",alpha3Code:"JEY",numericCode:"832",callingCode:"+44"},{name:"Jord\xe1nia",alpha2Code:"JO",alpha3Code:"JOR",numericCode:"400",callingCode:"+962"},{name:"Kazahszt\xe1n",alpha2Code:"KZ",alpha3Code:"KAZ",numericCode:"398",callingCode:"+7"},{name:"Kenya",alpha2Code:"KE",alpha3Code:"KEN",numericCode:"404",callingCode:"+254"},{name:"Kiribati",alpha2Code:"KI",alpha3Code:"KIR",numericCode:"296",callingCode:"+686"},{name:"Kuvait",alpha2Code:"KW",alpha3Code:"KWT",numericCode:"414",callingCode:"+965"},{name:"Kirgiziszt\xe1n",alpha2Code:"KG",alpha3Code:"KGZ",numericCode:"417",callingCode:"+996"},{name:"Laoszi N\xe9pi Demokratikus K\xf6zt\xe1rsas\xe1g",alpha2Code:"LA",alpha3Code:"LAO",numericCode:"418",callingCode:"+856"},{name:"Lettorsz\xe1g",alpha2Code:"LV",alpha3Code:"LVA",numericCode:"428",callingCode:"+371"},{name:"Libanon",alpha2Code:"LB",alpha3Code:"LBN",numericCode:"422",callingCode:"+961"},{name:"Lesotho",alpha2Code:"LS",alpha3Code:"LSO",numericCode:"426",callingCode:"+266"},{name:"Lib\xe9ria",alpha2Code:"LR",alpha3Code:"LBR",numericCode:"430",callingCode:"+231"},{name:"L\xedbia",alpha2Code:"LY",alpha3Code:"LBY",numericCode:"434",callingCode:"+218"},{name:"Liechtenstein",alpha2Code:"LI",alpha3Code:"LIE",numericCode:"438",callingCode:"+423"},{name:"Litv\xe1nia",alpha2Code:"LT",alpha3Code:"LTU",numericCode:"440",callingCode:"+370"},{name:"Luxemburg",alpha2Code:"LU",alpha3Code:"LUX",numericCode:"442",callingCode:"+352"},{name:"Maka\xf3",alpha2Code:"MO",alpha3Code:"MAC",numericCode:"446",callingCode:"+853"},{name:"Maced\xf3nia (volt Jugoszl\xe1v K\xf6zt\xe1rsas\xe1g)",alpha2Code:"MK",alpha3Code:"MKD",numericCode:"807",callingCode:"+389"},{name:"Madagaszk\xe1r",alpha2Code:"MG",alpha3Code:"MDG",numericCode:"450",callingCode:"+261"},{name:"Malawi",alpha2Code:"MW",alpha3Code:"MWI",numericCode:"454",callingCode:"+265"},{name:"Malajzia",alpha2Code:"MY",alpha3Code:"MYS",numericCode:"458",callingCode:"+60"},{name:"Mald\xedv-szigetek",alpha2Code:"MV",alpha3Code:"MDV",numericCode:"462",callingCode:"+960"},{name:"Mali",alpha2Code:"ML",alpha3Code:"MLI",numericCode:"466",callingCode:"+223"},{name:"M\xe1lta",alpha2Code:"MT",alpha3Code:"MLT",numericCode:"470",callingCode:"+356"},{name:"Marshall-szigetek",alpha2Code:"MH",alpha3Code:"MHL",numericCode:"584",callingCode:"+692"},{name:"Martinique",alpha2Code:"MQ",alpha3Code:"MTQ",numericCode:"474",callingCode:"+596"},{name:"Maurit\xe1nia",alpha2Code:"MR",alpha3Code:"MRT",numericCode:"478",callingCode:"+222"},{name:"Mauritius",alpha2Code:"MU",alpha3Code:"MUS",numericCode:"480",callingCode:"+230"},{name:"Mayotte",alpha2Code:"YT",alpha3Code:"MYT",numericCode:"175",callingCode:"+262"},{name:"Mexik\xf3",alpha2Code:"MX",alpha3Code:"MEX",numericCode:"484",callingCode:"+52"},{name:"Mikron\xe9zia (Sz\xf6vets\xe9gi \xc1llamok)",alpha2Code:"FM",alpha3Code:"FSM",numericCode:"583",callingCode:"+691"},{name:"Moldova (K\xf6zt\xe1rsas\xe1g)",alpha2Code:"MD",alpha3Code:"MDA",numericCode:"498",callingCode:"+373"},{name:"Monaco",alpha2Code:"MC",alpha3Code:"MCO",numericCode:"492",callingCode:"+377"},{name:"Mong\xf3lia",alpha2Code:"MN",alpha3Code:"MNG",numericCode:"496",callingCode:"+976"},{name:"Montenegr\xf3",alpha2Code:"ME",alpha3Code:"MNE",numericCode:"499",callingCode:"+382"},{name:"Montserrat",alpha2Code:"MS",alpha3Code:"MSR",numericCode:"500",callingCode:"+1664"},{name:"Marokk\xf3",alpha2Code:"MA",alpha3Code:"MAR",numericCode:"504",callingCode:"+212"},{name:"Mozambik",alpha2Code:"MZ",alpha3Code:"MOZ",numericCode:"508",callingCode:"+258"},{name:"Mianmar",alpha2Code:"MM",alpha3Code:"MMR",numericCode:"104",callingCode:"+95"},{name:"Nam\xedbia",alpha2Code:"NA",alpha3Code:"NAM",numericCode:"516",callingCode:"+264"},{name:"Nauru",alpha2Code:"NR",alpha3Code:"NRU",numericCode:"520",callingCode:"+674"},{name:"Nep\xe1l",alpha2Code:"NP",alpha3Code:"NPL",numericCode:"524",callingCode:"+977"},{name:"Hollandia",alpha2Code:"NL",alpha3Code:"NLD",numericCode:"528",callingCode:"+31"},{name:"\xdaj-Kaled\xf3nia",alpha2Code:"NC",alpha3Code:"NCL",numericCode:"540",callingCode:"+687"},{name:"\xdaj-Z\xe9land",alpha2Code:"NZ",alpha3Code:"NZL",numericCode:"554",callingCode:"+64"},{name:"Nicaragua",alpha2Code:"NI",alpha3Code:"NIC",numericCode:"558",callingCode:"+505"},{name:"Niger",alpha2Code:"NE",alpha3Code:"NER",numericCode:"562",callingCode:"+227"},{name:"Nig\xe9ria",alpha2Code:"NG",alpha3Code:"NGA",numericCode:"566",callingCode:"+234"},{name:"Niue",alpha2Code:"NU",alpha3Code:"NIU",numericCode:"570",callingCode:"+683"},{name:"Norfolk-sziget",alpha2Code:"NF",alpha3Code:"NFK",numericCode:"574",callingCode:"+672"},{name:"Korea (N\xe9pi Demokratikus K\xf6zt\xe1rsas\xe1g)",alpha2Code:"KP",alpha3Code:"PRK",numericCode:"408",callingCode:"+850"},{name:"\xc9szaki-Mariana-szigetek",alpha2Code:"MP",alpha3Code:"MNP",numericCode:"580",callingCode:"+1670"},{name:"Norv\xe9gia",alpha2Code:"NO",alpha3Code:"NOR",numericCode:"578",callingCode:"+47"},{name:"Om\xe1n",alpha2Code:"OM",alpha3Code:"OMN",numericCode:"512",callingCode:"+968"},{name:"Pakiszt\xe1n",alpha2Code:"PK",alpha3Code:"PAK",numericCode:"586",callingCode:"+92"},{name:"Palau",alpha2Code:"PW",alpha3Code:"PLW",numericCode:"585",callingCode:"+680"},{name:"Palesztina, Palesztin \xc1llam",alpha2Code:"PS",alpha3Code:"PSE",numericCode:"275",callingCode:"+970"},{name:"Panama",alpha2Code:"PA",alpha3Code:"PAN",numericCode:"591",callingCode:"+507"},{name:"P\xe1pua \xdaj-Guinea",alpha2Code:"PG",alpha3Code:"PNG",numericCode:"598",callingCode:"+675"},{name:"Paraguay",alpha2Code:"PY",alpha3Code:"PRY",numericCode:"600",callingCode:"+595"},{name:"Peru",alpha2Code:"PE",alpha3Code:"PER",numericCode:"604",callingCode:"+51"},{name:"F\xfcl\xf6p-szigetek",alpha2Code:"PH",alpha3Code:"PHL",numericCode:"608",callingCode:"+63"},{name:"Pitcairn",alpha2Code:"PN",alpha3Code:"PCN",numericCode:"612",callingCode:"+64"},{name:"Lengyelorsz\xe1g",alpha2Code:"PL",alpha3Code:"POL",numericCode:"616",callingCode:"+48"},{name:"Portug\xe1lia",alpha2Code:"PT",alpha3Code:"PRT",numericCode:"620",callingCode:"+351"},{name:"Puerto Rico",alpha2Code:"PR",alpha3Code:"PRI",numericCode:"630",callingCode:"+1"},{name:"Katar",alpha2Code:"QA",alpha3Code:"QAT",numericCode:"634",callingCode:"+974"},{name:"Koszov\xf3i K\xf6zt\xe1rsas\xe1g",alpha2Code:"XK",alpha3Code:"KOS",numericCode:null,callingCode:"+383"},{name:"R\xe9union",alpha2Code:"RE",alpha3Code:"REU",numericCode:"638",callingCode:"+262"},{name:"Rom\xe1nia",alpha2Code:"RO",alpha3Code:"ROU",numericCode:"642",callingCode:"+40"},{name:"Orosz F\xf6der\xe1ci\xf3",alpha2Code:"RU",alpha3Code:"RUS",numericCode:"643",callingCode:"+7"},{name:"Ruanda",alpha2Code:"RW",alpha3Code:"RWA",numericCode:"646",callingCode:"+250"},{name:"Saint Barth\xe9lemy",alpha2Code:"BL",alpha3Code:"BLM",numericCode:"652",callingCode:"+590"},{name:"Szent Hel\xe9na, Ascension \xe9s Tristan da Cunha",alpha2Code:"SH",alpha3Code:"SHN",numericCode:"654",callingCode:"+290"},{name:"Saint Kitts \xe9s Nevis",alpha2Code:"KN",alpha3Code:"KNA",numericCode:"659",callingCode:"+1869"},{name:"Saint Lucia",alpha2Code:"LC",alpha3Code:"LCA",numericCode:"662",callingCode:"+1758"},{name:"Saint Martin (francia r\xe9sz)",alpha2Code:"MF",alpha3Code:"MAF",numericCode:"663",callingCode:"+590"},{name:"Saint Pierre \xe9s Miquelon",alpha2Code:"PM",alpha3Code:"SPM",numericCode:"666",callingCode:"+508"},{name:"Saint Vincent \xe9s a Grenadine-szigetek",alpha2Code:"VC",alpha3Code:"VCT",numericCode:"670",callingCode:"+1784"},{name:"Szamoa",alpha2Code:"WS",alpha3Code:"WSM",numericCode:"882",callingCode:"+685"},{name:"San Marino",alpha2Code:"SM",alpha3Code:"SMR",numericCode:"674",callingCode:"+378"},{name:"S\xe3o Tom\xe9 \xe9s Pr\xedncipe",alpha2Code:"ST",alpha3Code:"STP",numericCode:"678",callingCode:"+239"},{name:"Sza\xfad-Ar\xe1bia",alpha2Code:"SA",alpha3Code:"SAU",numericCode:"682",callingCode:"+966"},{name:"Szeneg\xe1l",alpha2Code:"SN",alpha3Code:"SEN",numericCode:"686",callingCode:"+221"},{name:"Szerbia",alpha2Code:"RS",alpha3Code:"SRB",numericCode:"688",callingCode:"+381"},{name:"Seychelle-szigetek",alpha2Code:"SC",alpha3Code:"SYC",numericCode:"690",callingCode:"+248"},{name:"Sierra Leone",alpha2Code:"SL",alpha3Code:"SLE",numericCode:"694",callingCode:"+232"},{name:"Szingap\xfar",alpha2Code:"SG",alpha3Code:"SGP",numericCode:"702",callingCode:"+65"},{name:"Sint Maarten (holland r\xe9sz)",alpha2Code:"SX",alpha3Code:"SXM",numericCode:"534",callingCode:"+1721"},{name:"Szlov\xe1kia",alpha2Code:"SK",alpha3Code:"SVK",numericCode:"703",callingCode:"+421"},{name:"Szlov\xe9nia",alpha2Code:"SI",alpha3Code:"SVN",numericCode:"705",callingCode:"+386"},{name:"Salamon-szigetek",alpha2Code:"SB",alpha3Code:"SLB",numericCode:"090",callingCode:"+677"},{name:"Szom\xe1lia",alpha2Code:"SO",alpha3Code:"SOM",numericCode:"706",callingCode:"+252"},{name:"D\xe9l-Afrika",alpha2Code:"ZA",alpha3Code:"ZAF",numericCode:"710",callingCode:"+27"},{name:"D\xe9l-Georgia \xe9s a D\xe9li-Sandwich-szigetek",alpha2Code:"GS",alpha3Code:"SGS",numericCode:"239",callingCode:"+500"},{name:"Korea (K\xf6zt\xe1rsas\xe1g)",alpha2Code:"KR",alpha3Code:"KOR",numericCode:"410",callingCode:"+82"},{name:"D\xe9l-Szud\xe1n",alpha2Code:"SS",alpha3Code:"SSD",numericCode:"728",callingCode:"+211"},{name:"Spanyolorsz\xe1g",alpha2Code:"ES",alpha3Code:"ESP",numericCode:"724",callingCode:"+34"},{name:"Sr\xed Lanka",alpha2Code:"LK",alpha3Code:"LKA",numericCode:"144",callingCode:"+94"},{name:"Szud\xe1n",alpha2Code:"SD",alpha3Code:"SDN",numericCode:"729",callingCode:"+249"},{name:"Suriname",alpha2Code:"SR",alpha3Code:"SUR",numericCode:"740",callingCode:"+597"},{name:"Svalbard \xe9s Jan Mayen",alpha2Code:"SJ",alpha3Code:"SJM",numericCode:"744",callingCode:"+4779"},{name:"Szv\xe1zif\xf6ld",alpha2Code:"SZ",alpha3Code:"SWZ",numericCode:"748",callingCode:"+268"},{name:"Sv\xe9dorsz\xe1g",alpha2Code:"SE",alpha3Code:"SWE",numericCode:"752",callingCode:"+46"},{name:"Sv\xe1jc",alpha2Code:"CH",alpha3Code:"CHE",numericCode:"756",callingCode:"+41"},{name:"Sz\xedriai Arab K\xf6zt\xe1rsas\xe1g",alpha2Code:"SY",alpha3Code:"SYR",numericCode:"760",callingCode:"+963"},{name:"Tajvan, K\xedna",alpha2Code:"TW",alpha3Code:"TWN",numericCode:"158",callingCode:"+886"},{name:"T\xe1dzsikiszt\xe1n",alpha2Code:"TJ",alpha3Code:"TJK",numericCode:"762",callingCode:"+992"},{name:"Tanz\xe1nia, Egyes\xfclt K\xf6zt\xe1rsas\xe1g",alpha2Code:"TZ",alpha3Code:"TZA",numericCode:"834",callingCode:"+255"},{name:"Thaif\xf6ld",alpha2Code:"TH",alpha3Code:"THA",numericCode:"764",callingCode:"+66"},{name:"Kelet-Timor",alpha2Code:"TL",alpha3Code:"TLS",numericCode:"626",callingCode:"+670"},{name:"Togo",alpha2Code:"TG",alpha3Code:"TGO",numericCode:"768",callingCode:"+228"},{name:"Tokelau",alpha2Code:"TK",alpha3Code:"TKL",numericCode:"772",callingCode:"+690"},{name:"Tonga",alpha2Code:"TO",alpha3Code:"TON",numericCode:"776",callingCode:"+676"},{name:"Trinidad \xe9s Tobago",alpha2Code:"TT",alpha3Code:"TTO",numericCode:"780",callingCode:"+1868"},{name:"Tun\xe9zia",alpha2Code:"TN",alpha3Code:"TUN",numericCode:"788",callingCode:"+216"},{name:"T\xf6r\xf6korsz\xe1g",alpha2Code:"TR",alpha3Code:"TUR",numericCode:"792",callingCode:"+90"},{name:"T\xfcrkmeniszt\xe1n",alpha2Code:"TM",alpha3Code:"TKM",numericCode:"795",callingCode:"+993"},{name:"Turks \xe9s Caicos-szigetek",alpha2Code:"TC",alpha3Code:"TCA",numericCode:"796",callingCode:"+1649"},{name:"Tuvalu",alpha2Code:"TV",alpha3Code:"TUV",numericCode:"798",callingCode:"+688"},{name:"Uganda",alpha2Code:"UG",alpha3Code:"UGA",numericCode:"800",callingCode:"+256"},{name:"Ukrajna",alpha2Code:"UA",alpha3Code:"UKR",numericCode:"804",callingCode:"+380"},{name:"Egyes\xfclt Arab Em\xedrs\xe9gek",alpha2Code:"AE",alpha3Code:"ARE",numericCode:"784",callingCode:"+971"},{name:"Nagy-Britannia \xe9s \xc9szak-\xcdrorsz\xe1g Egyes\xfclt Kir\xe1lys\xe1ga",alpha2Code:"GB",alpha3Code:"GBR",numericCode:"826",callingCode:"+44"},{name:"Amerikai Egyes\xfclt \xc1llamok",alpha2Code:"US",alpha3Code:"USA",numericCode:"840",callingCode:"+1"},{name:"Uruguay",alpha2Code:"UY",alpha3Code:"URY",numericCode:"858",callingCode:"+598"},{name:"\xdczbegiszt\xe1n",alpha2Code:"UZ",alpha3Code:"UZB",numericCode:"860",callingCode:"+998"},{name:"Vanuatu",alpha2Code:"VU",alpha3Code:"VUT",numericCode:"548",callingCode:"+678"},{name:"Venezuela (Boliv\xe1ri K\xf6zt\xe1rsas\xe1g)",alpha2Code:"VE",alpha3Code:"VEN",numericCode:"862",callingCode:"+58"},{name:"Vietn\xe1m",alpha2Code:"VN",alpha3Code:"VNM",numericCode:"704",callingCode:"+84"},{name:"Wallis \xe9s Futuna",alpha2Code:"WF",alpha3Code:"WLF",numericCode:"876",callingCode:"+681"},{name:"Nyugat-Szahara",alpha2Code:"EH",alpha3Code:"ESH",numericCode:"732",callingCode:"+212"},{name:"Jemen",alpha2Code:"YE",alpha3Code:"YEM",numericCode:"887",callingCode:"+967"},{name:"Zambia",alpha2Code:"ZM",alpha3Code:"ZMB",numericCode:"894",callingCode:"+260"},{name:"Zimbabwe",alpha2Code:"ZW",alpha3Code:"ZWE",numericCode:"716",callingCode:"+263"}]}),K2=Object.freeze({__proto__:null,COUNTRIES_DB_IT:[{name:"Afghanistan",alpha2Code:"AF",alpha3Code:"AFG",numericCode:"004",callingCode:"+93"},{name:"Isole Aland",alpha2Code:"AX",alpha3Code:"ALA",numericCode:"248",callingCode:"+358"},{name:"Albania",alpha2Code:"AL",alpha3Code:"ALB",numericCode:"008",callingCode:"+355"},{name:"Algeria",alpha2Code:"DZ",alpha3Code:"DZA",numericCode:"012",callingCode:"+213"},{name:"Samoa Americane",alpha2Code:"AS",alpha3Code:"ASM",numericCode:"016",callingCode:"+1684"},{name:"Andorra",alpha2Code:"AD",alpha3Code:"AND",numericCode:"020",callingCode:"+376"},{name:"Angola",alpha2Code:"AO",alpha3Code:"AGO",numericCode:"024",callingCode:"+244"},{name:"Anguilla",alpha2Code:"AI",alpha3Code:"AIA",numericCode:"660",callingCode:"+1264"},{name:"Antartide",alpha2Code:"AQ",alpha3Code:"ATA",numericCode:"010",callingCode:"+672"},{name:"Antigua e Barbuda",alpha2Code:"AG",alpha3Code:"ATG",numericCode:"028",callingCode:"+1268"},{name:"Argentina",alpha2Code:"AR",alpha3Code:"ARG",numericCode:"032",callingCode:"+54"},{name:"Armenia",alpha2Code:"AM",alpha3Code:"ARM",numericCode:"051",callingCode:"+374"},{name:"Aruba",alpha2Code:"AW",alpha3Code:"ABW",numericCode:"533",callingCode:"+297"},{name:"Australia",alpha2Code:"AU",alpha3Code:"AUS",numericCode:"036",callingCode:"+61"},{name:"Austria",alpha2Code:"AT",alpha3Code:"AUT",numericCode:"040",callingCode:"+43"},{name:"Azerbaijan",alpha2Code:"AZ",alpha3Code:"AZE",numericCode:"031",callingCode:"+994"},{name:"Bahamas",alpha2Code:"BS",alpha3Code:"BHS",numericCode:"044",callingCode:"+1242"},{name:"Bahrein",alpha2Code:"BH",alpha3Code:"BHR",numericCode:"048",callingCode:"+973"},{name:"Bangladesh",alpha2Code:"BD",alpha3Code:"BGD",numericCode:"050",callingCode:"+880"},{name:"Barbados",alpha2Code:"BB",alpha3Code:"BRB",numericCode:"052",callingCode:"+1246"},{name:"Bielorussia",alpha2Code:"BY",alpha3Code:"BLR",numericCode:"112",callingCode:"+375"},{name:"Belgio",alpha2Code:"BE",alpha3Code:"BEL",numericCode:"056",callingCode:"+32"},{name:"Belize",alpha2Code:"BZ",alpha3Code:"BLZ",numericCode:"084",callingCode:"+501"},{name:"Benin",alpha2Code:"BJ",alpha3Code:"BEN",numericCode:"204",callingCode:"+229"},{name:"Bermuda",alpha2Code:"BM",alpha3Code:"BMU",numericCode:"060",callingCode:"+1441"},{name:"Bhutan",alpha2Code:"BT",alpha3Code:"BTN",numericCode:"064",callingCode:"+975"},{name:"Bolivia",alpha2Code:"BO",alpha3Code:"BOL",numericCode:"068",callingCode:"+591"},{name:"Bonaire, Saint-Eustache e Saba",alpha2Code:"BQ",alpha3Code:"BES",numericCode:"535",callingCode:"+5997"},{name:"Bosnia ed Erzegovina",alpha2Code:"BA",alpha3Code:"BIH",numericCode:"070",callingCode:"+387"},{name:"Botswana",alpha2Code:"BW",alpha3Code:"BWA",numericCode:"072",callingCode:"+267"},{name:"Isola Bouvet",alpha2Code:"BV",alpha3Code:"BVT",numericCode:"074",callingCode:"+"},{name:"Brasile",alpha2Code:"BR",alpha3Code:"BRA",numericCode:"076",callingCode:"+55"},{name:"Territorio britannico dell'oceano indiano",alpha2Code:"IO",alpha3Code:"IOT",numericCode:"086",callingCode:"+246"},{name:"Isole minori esterne degli Stati Uniti d'America",alpha2Code:"UM",alpha3Code:"UMI",numericCode:"581",callingCode:"+"},{name:"Isole Vergini Britanniche",alpha2Code:"VG",alpha3Code:"VGB",numericCode:"092",callingCode:"+1284"},{name:"Isole Vergini americane",alpha2Code:"VI",alpha3Code:"VIR",numericCode:"850",callingCode:"+1 340"},{name:"Brunei",alpha2Code:"BN",alpha3Code:"BRN",numericCode:"096",callingCode:"+673"},{name:"Bulgaria",alpha2Code:"BG",alpha3Code:"BGR",numericCode:"100",callingCode:"+359"},{name:"Burkina Faso",alpha2Code:"BF",alpha3Code:"BFA",numericCode:"854",callingCode:"+226"},{name:"Burundi",alpha2Code:"BI",alpha3Code:"BDI",numericCode:"108",callingCode:"+257"},{name:"Cambogia",alpha2Code:"KH",alpha3Code:"KHM",numericCode:"116",callingCode:"+855"},{name:"Camerun",alpha2Code:"CM",alpha3Code:"CMR",numericCode:"120",callingCode:"+237"},{name:"Canada",alpha2Code:"CA",alpha3Code:"CAN",numericCode:"124",callingCode:"+1"},{name:"Capo Verde",alpha2Code:"CV",alpha3Code:"CPV",numericCode:"132",callingCode:"+238"},{name:"Isole Cayman",alpha2Code:"KY",alpha3Code:"CYM",numericCode:"136",callingCode:"+1345"},{name:"Repubblica Centrafricana",alpha2Code:"CF",alpha3Code:"CAF",numericCode:"140",callingCode:"+236"},{name:"Ciad",alpha2Code:"TD",alpha3Code:"TCD",numericCode:"148",callingCode:"+235"},{name:"Cile",alpha2Code:"CL",alpha3Code:"CHL",numericCode:"152",callingCode:"+56"},{name:"Cina",alpha2Code:"CN",alpha3Code:"CHN",numericCode:"156",callingCode:"+86"},{name:"Isola di Natale",alpha2Code:"CX",alpha3Code:"CXR",numericCode:"162",callingCode:"+61"},{name:"Isole Cocos e Keeling",alpha2Code:"CC",alpha3Code:"CCK",numericCode:"166",callingCode:"+61"},{name:"Colombia",alpha2Code:"CO",alpha3Code:"COL",numericCode:"170",callingCode:"+57"},{name:"Comore",alpha2Code:"KM",alpha3Code:"COM",numericCode:"174",callingCode:"+269"},{name:"Congo",alpha2Code:"CG",alpha3Code:"COG",numericCode:"178",callingCode:"+242"},{name:"Congo (Rep. Dem.)",alpha2Code:"CD",alpha3Code:"COD",numericCode:"180",callingCode:"+243"},{name:"Isole Cook",alpha2Code:"CK",alpha3Code:"COK",numericCode:"184",callingCode:"+682"},{name:"Costa Rica",alpha2Code:"CR",alpha3Code:"CRI",numericCode:"188",callingCode:"+506"},{name:"Croazia",alpha2Code:"HR",alpha3Code:"HRV",numericCode:"191",callingCode:"+385"},{name:"Cuba",alpha2Code:"CU",alpha3Code:"CUB",numericCode:"192",callingCode:"+53"},{name:"Cura\xe7ao",alpha2Code:"CW",alpha3Code:"CUW",numericCode:"531",callingCode:"+599"},{name:"Cipro",alpha2Code:"CY",alpha3Code:"CYP",numericCode:"196",callingCode:"+357"},{name:"Repubblica Ceca",alpha2Code:"CZ",alpha3Code:"CZE",numericCode:"203",callingCode:"+420"},{name:"Danimarca",alpha2Code:"DK",alpha3Code:"DNK",numericCode:"208",callingCode:"+45"},{name:"Gibuti",alpha2Code:"DJ",alpha3Code:"DJI",numericCode:"262",callingCode:"+253"},{name:"Dominica",alpha2Code:"DM",alpha3Code:"DMA",numericCode:"212",callingCode:"+1767"},{name:"Repubblica Dominicana",alpha2Code:"DO",alpha3Code:"DOM",numericCode:"214",callingCode:"+1809"},{name:"Ecuador",alpha2Code:"EC",alpha3Code:"ECU",numericCode:"218",callingCode:"+593"},{name:"Egitto",alpha2Code:"EG",alpha3Code:"EGY",numericCode:"818",callingCode:"+20"},{name:"El Salvador",alpha2Code:"SV",alpha3Code:"SLV",numericCode:"222",callingCode:"+503"},{name:"Guinea Equatoriale",alpha2Code:"GQ",alpha3Code:"GNQ",numericCode:"226",callingCode:"+240"},{name:"Eritrea",alpha2Code:"ER",alpha3Code:"ERI",numericCode:"232",callingCode:"+291"},{name:"Estonia",alpha2Code:"EE",alpha3Code:"EST",numericCode:"233",callingCode:"+372"},{name:"Etiopia",alpha2Code:"ET",alpha3Code:"ETH",numericCode:"231",callingCode:"+251"},{name:"Isole Falkland o Isole Malvine",alpha2Code:"FK",alpha3Code:"FLK",numericCode:"238",callingCode:"+500"},{name:"Isole Far Oer",alpha2Code:"FO",alpha3Code:"FRO",numericCode:"234",callingCode:"+298"},{name:"Figi",alpha2Code:"FJ",alpha3Code:"FJI",numericCode:"242",callingCode:"+679"},{name:"Finlandia",alpha2Code:"FI",alpha3Code:"FIN",numericCode:"246",callingCode:"+358"},{name:"Francia",alpha2Code:"FR",alpha3Code:"FRA",numericCode:"250",callingCode:"+33"},{name:"Guyana francese",alpha2Code:"GF",alpha3Code:"GUF",numericCode:"254",callingCode:"+594"},{name:"Polinesia Francese",alpha2Code:"PF",alpha3Code:"PYF",numericCode:"258",callingCode:"+689"},{name:"Territori Francesi del Sud",alpha2Code:"TF",alpha3Code:"ATF",numericCode:"260",callingCode:"+"},{name:"Gabon",alpha2Code:"GA",alpha3Code:"GAB",numericCode:"266",callingCode:"+241"},{name:"Gambia",alpha2Code:"GM",alpha3Code:"GMB",numericCode:"270",callingCode:"+220"},{name:"Georgia",alpha2Code:"GE",alpha3Code:"GEO",numericCode:"268",callingCode:"+995"},{name:"Germania",alpha2Code:"DE",alpha3Code:"DEU",numericCode:"276",callingCode:"+49"},{name:"Ghana",alpha2Code:"GH",alpha3Code:"GHA",numericCode:"288",callingCode:"+233"},{name:"Gibilterra",alpha2Code:"GI",alpha3Code:"GIB",numericCode:"292",callingCode:"+350"},{name:"Grecia",alpha2Code:"GR",alpha3Code:"GRC",numericCode:"300",callingCode:"+30"},{name:"Groenlandia",alpha2Code:"GL",alpha3Code:"GRL",numericCode:"304",callingCode:"+299"},{name:"Grenada",alpha2Code:"GD",alpha3Code:"GRD",numericCode:"308",callingCode:"+1473"},{name:"Guadeloupa",alpha2Code:"GP",alpha3Code:"GLP",numericCode:"312",callingCode:"+590"},{name:"Guam",alpha2Code:"GU",alpha3Code:"GUM",numericCode:"316",callingCode:"+1671"},{name:"Guatemala",alpha2Code:"GT",alpha3Code:"GTM",numericCode:"320",callingCode:"+502"},{name:"Guernsey",alpha2Code:"GG",alpha3Code:"GGY",numericCode:"831",callingCode:"+44"},{name:"Guinea",alpha2Code:"GN",alpha3Code:"GIN",numericCode:"324",callingCode:"+224"},{name:"Guinea-Bissau",alpha2Code:"GW",alpha3Code:"GNB",numericCode:"624",callingCode:"+245"},{name:"Guyana",alpha2Code:"GY",alpha3Code:"GUY",numericCode:"328",callingCode:"+592"},{name:"Haiti",alpha2Code:"HT",alpha3Code:"HTI",numericCode:"332",callingCode:"+509"},{name:"Isole Heard e McDonald",alpha2Code:"HM",alpha3Code:"HMD",numericCode:"334",callingCode:"+"},{name:"Santa Sede",alpha2Code:"VA",alpha3Code:"VAT",numericCode:"336",callingCode:"+379"},{name:"Honduras",alpha2Code:"HN",alpha3Code:"HND",numericCode:"340",callingCode:"+504"},{name:"Hong Kong",alpha2Code:"HK",alpha3Code:"HKG",numericCode:"344",callingCode:"+852"},{name:"Ungheria",alpha2Code:"HU",alpha3Code:"HUN",numericCode:"348",callingCode:"+36"},{name:"Islanda",alpha2Code:"IS",alpha3Code:"ISL",numericCode:"352",callingCode:"+354"},{name:"India",alpha2Code:"IN",alpha3Code:"IND",numericCode:"356",callingCode:"+91"},{name:"Indonesia",alpha2Code:"ID",alpha3Code:"IDN",numericCode:"360",callingCode:"+62"},{name:"Costa D'Avorio",alpha2Code:"CI",alpha3Code:"CIV",numericCode:"384",callingCode:"+225"},{name:"Iran",alpha2Code:"IR",alpha3Code:"IRN",numericCode:"364",callingCode:"+98"},{name:"Iraq",alpha2Code:"IQ",alpha3Code:"IRQ",numericCode:"368",callingCode:"+964"},{name:"Irlanda",alpha2Code:"IE",alpha3Code:"IRL",numericCode:"372",callingCode:"+353"},{name:"Isola di Man",alpha2Code:"IM",alpha3Code:"IMN",numericCode:"833",callingCode:"+44"},{name:"Israele",alpha2Code:"IL",alpha3Code:"ISR",numericCode:"376",callingCode:"+972"},{name:"Italia",alpha2Code:"IT",alpha3Code:"ITA",numericCode:"380",callingCode:"+39"},{name:"Giamaica",alpha2Code:"JM",alpha3Code:"JAM",numericCode:"388",callingCode:"+1876"},{name:"Giappone",alpha2Code:"JP",alpha3Code:"JPN",numericCode:"392",callingCode:"+81"},{name:"Isola di Jersey",alpha2Code:"JE",alpha3Code:"JEY",numericCode:"832",callingCode:"+44"},{name:"Giordania",alpha2Code:"JO",alpha3Code:"JOR",numericCode:"400",callingCode:"+962"},{name:"Kazakistan",alpha2Code:"KZ",alpha3Code:"KAZ",numericCode:"398",callingCode:"+7"},{name:"Kenya",alpha2Code:"KE",alpha3Code:"KEN",numericCode:"404",callingCode:"+254"},{name:"Kiribati",alpha2Code:"KI",alpha3Code:"KIR",numericCode:"296",callingCode:"+686"},{name:"Kuwait",alpha2Code:"KW",alpha3Code:"KWT",numericCode:"414",callingCode:"+965"},{name:"Kirghizistan",alpha2Code:"KG",alpha3Code:"KGZ",numericCode:"417",callingCode:"+996"},{name:"Laos",alpha2Code:"LA",alpha3Code:"LAO",numericCode:"418",callingCode:"+856"},{name:"Lettonia",alpha2Code:"LV",alpha3Code:"LVA",numericCode:"428",callingCode:"+371"},{name:"Libano",alpha2Code:"LB",alpha3Code:"LBN",numericCode:"422",callingCode:"+961"},{name:"Lesotho",alpha2Code:"LS",alpha3Code:"LSO",numericCode:"426",callingCode:"+266"},{name:"Liberia",alpha2Code:"LR",alpha3Code:"LBR",numericCode:"430",callingCode:"+231"},{name:"Libia",alpha2Code:"LY",alpha3Code:"LBY",numericCode:"434",callingCode:"+218"},{name:"Liechtenstein",alpha2Code:"LI",alpha3Code:"LIE",numericCode:"438",callingCode:"+423"},{name:"Lituania",alpha2Code:"LT",alpha3Code:"LTU",numericCode:"440",callingCode:"+370"},{name:"Lussemburgo",alpha2Code:"LU",alpha3Code:"LUX",numericCode:"442",callingCode:"+352"},{name:"Macao",alpha2Code:"MO",alpha3Code:"MAC",numericCode:"446",callingCode:"+853"},{name:"Macedonia",alpha2Code:"MK",alpha3Code:"MKD",numericCode:"807",callingCode:"+389"},{name:"Madagascar",alpha2Code:"MG",alpha3Code:"MDG",numericCode:"450",callingCode:"+261"},{name:"Malawi",alpha2Code:"MW",alpha3Code:"MWI",numericCode:"454",callingCode:"+265"},{name:"Malesia",alpha2Code:"MY",alpha3Code:"MYS",numericCode:"458",callingCode:"+60"},{name:"Maldive",alpha2Code:"MV",alpha3Code:"MDV",numericCode:"462",callingCode:"+960"},{name:"Mali",alpha2Code:"ML",alpha3Code:"MLI",numericCode:"466",callingCode:"+223"},{name:"Malta",alpha2Code:"MT",alpha3Code:"MLT",numericCode:"470",callingCode:"+356"},{name:"Isole Marshall",alpha2Code:"MH",alpha3Code:"MHL",numericCode:"584",callingCode:"+692"},{name:"Martinica",alpha2Code:"MQ",alpha3Code:"MTQ",numericCode:"474",callingCode:"+596"},{name:"Mauritania",alpha2Code:"MR",alpha3Code:"MRT",numericCode:"478",callingCode:"+222"},{name:"Mauritius",alpha2Code:"MU",alpha3Code:"MUS",numericCode:"480",callingCode:"+230"},{name:"Mayotte",alpha2Code:"YT",alpha3Code:"MYT",numericCode:"175",callingCode:"+262"},{name:"Messico",alpha2Code:"MX",alpha3Code:"MEX",numericCode:"484",callingCode:"+52"},{name:"Micronesia",alpha2Code:"FM",alpha3Code:"FSM",numericCode:"583",callingCode:"+691"},{name:"Moldavia",alpha2Code:"MD",alpha3Code:"MDA",numericCode:"498",callingCode:"+373"},{name:"Principato di Monaco",alpha2Code:"MC",alpha3Code:"MCO",numericCode:"492",callingCode:"+377"},{name:"Mongolia",alpha2Code:"MN",alpha3Code:"MNG",numericCode:"496",callingCode:"+976"},{name:"Montenegro",alpha2Code:"ME",alpha3Code:"MNE",numericCode:"499",callingCode:"+382"},{name:"Montserrat",alpha2Code:"MS",alpha3Code:"MSR",numericCode:"500",callingCode:"+1664"},{name:"Marocco",alpha2Code:"MA",alpha3Code:"MAR",numericCode:"504",callingCode:"+212"},{name:"Mozambico",alpha2Code:"MZ",alpha3Code:"MOZ",numericCode:"508",callingCode:"+258"},{name:"Birmania",alpha2Code:"MM",alpha3Code:"MMR",numericCode:"104",callingCode:"+95"},{name:"Namibia",alpha2Code:"NA",alpha3Code:"NAM",numericCode:"516",callingCode:"+264"},{name:"Nauru",alpha2Code:"NR",alpha3Code:"NRU",numericCode:"520",callingCode:"+674"},{name:"Nepal",alpha2Code:"NP",alpha3Code:"NPL",numericCode:"524",callingCode:"+977"},{name:"Paesi Bassi",alpha2Code:"NL",alpha3Code:"NLD",numericCode:"528",callingCode:"+31"},{name:"Nuova Caledonia",alpha2Code:"NC",alpha3Code:"NCL",numericCode:"540",callingCode:"+687"},{name:"Nuova Zelanda",alpha2Code:"NZ",alpha3Code:"NZL",numericCode:"554",callingCode:"+64"},{name:"Nicaragua",alpha2Code:"NI",alpha3Code:"NIC",numericCode:"558",callingCode:"+505"},{name:"Niger",alpha2Code:"NE",alpha3Code:"NER",numericCode:"562",callingCode:"+227"},{name:"Nigeria",alpha2Code:"NG",alpha3Code:"NGA",numericCode:"566",callingCode:"+234"},{name:"Niue",alpha2Code:"NU",alpha3Code:"NIU",numericCode:"570",callingCode:"+683"},{name:"Isola Norfolk",alpha2Code:"NF",alpha3Code:"NFK",numericCode:"574",callingCode:"+672"},{name:"Corea del Nord",alpha2Code:"KP",alpha3Code:"PRK",numericCode:"408",callingCode:"+850"},{name:"Isole Marianne Settentrionali",alpha2Code:"MP",alpha3Code:"MNP",numericCode:"580",callingCode:"+1670"},{name:"Norvegia",alpha2Code:"NO",alpha3Code:"NOR",numericCode:"578",callingCode:"+47"},{name:"oman",alpha2Code:"OM",alpha3Code:"OMN",numericCode:"512",callingCode:"+968"},{name:"Pakistan",alpha2Code:"PK",alpha3Code:"PAK",numericCode:"586",callingCode:"+92"},{name:"Palau",alpha2Code:"PW",alpha3Code:"PLW",numericCode:"585",callingCode:"+680"},{name:"Palestina",alpha2Code:"PS",alpha3Code:"PSE",numericCode:"275",callingCode:"+970"},{name:"Panama",alpha2Code:"PA",alpha3Code:"PAN",numericCode:"591",callingCode:"+507"},{name:"Papua Nuova Guinea",alpha2Code:"PG",alpha3Code:"PNG",numericCode:"598",callingCode:"+675"},{name:"Paraguay",alpha2Code:"PY",alpha3Code:"PRY",numericCode:"600",callingCode:"+595"},{name:"Per\xf9",alpha2Code:"PE",alpha3Code:"PER",numericCode:"604",callingCode:"+51"},{name:"Filippine",alpha2Code:"PH",alpha3Code:"PHL",numericCode:"608",callingCode:"+63"},{name:"Isole Pitcairn",alpha2Code:"PN",alpha3Code:"PCN",numericCode:"612",callingCode:"+64"},{name:"Polonia",alpha2Code:"PL",alpha3Code:"POL",numericCode:"616",callingCode:"+48"},{name:"Portogallo",alpha2Code:"PT",alpha3Code:"PRT",numericCode:"620",callingCode:"+351"},{name:"Porto Rico",alpha2Code:"PR",alpha3Code:"PRI",numericCode:"630",callingCode:"+1"},{name:"Qatar",alpha2Code:"QA",alpha3Code:"QAT",numericCode:"634",callingCode:"+974"},{name:"Kosovo",alpha2Code:"XK",alpha3Code:"KOS",numericCode:null,callingCode:"+383"},{name:"Riunione",alpha2Code:"RE",alpha3Code:"REU",numericCode:"638",callingCode:"+262"},{name:"Romania",alpha2Code:"RO",alpha3Code:"ROU",numericCode:"642",callingCode:"+40"},{name:"Russia",alpha2Code:"RU",alpha3Code:"RUS",numericCode:"643",callingCode:"+7"},{name:"Ruanda",alpha2Code:"RW",alpha3Code:"RWA",numericCode:"646",callingCode:"+250"},{name:"Antille Francesi",alpha2Code:"BL",alpha3Code:"BLM",numericCode:"652",callingCode:"+590"},{name:"Sant'Elena",alpha2Code:"SH",alpha3Code:"SHN",numericCode:"654",callingCode:"+290"},{name:"Saint Kitts e Nevis",alpha2Code:"KN",alpha3Code:"KNA",numericCode:"659",callingCode:"+1869"},{name:"Santa Lucia",alpha2Code:"LC",alpha3Code:"LCA",numericCode:"662",callingCode:"+1758"},{name:"Saint Martin",alpha2Code:"MF",alpha3Code:"MAF",numericCode:"663",callingCode:"+590"},{name:"Saint-Pierre e Miquelon",alpha2Code:"PM",alpha3Code:"SPM",numericCode:"666",callingCode:"+508"},{name:"Saint Vincent e Grenadine",alpha2Code:"VC",alpha3Code:"VCT",numericCode:"670",callingCode:"+1784"},{name:"Samoa",alpha2Code:"WS",alpha3Code:"WSM",numericCode:"882",callingCode:"+685"},{name:"San Marino",alpha2Code:"SM",alpha3Code:"SMR",numericCode:"674",callingCode:"+378"},{name:"S\xe3o Tom\xe9 e Pr\xedncipe",alpha2Code:"ST",alpha3Code:"STP",numericCode:"678",callingCode:"+239"},{name:"Arabia Saudita",alpha2Code:"SA",alpha3Code:"SAU",numericCode:"682",callingCode:"+966"},{name:"Senegal",alpha2Code:"SN",alpha3Code:"SEN",numericCode:"686",callingCode:"+221"},{name:"Serbia",alpha2Code:"RS",alpha3Code:"SRB",numericCode:"688",callingCode:"+381"},{name:"Seychelles",alpha2Code:"SC",alpha3Code:"SYC",numericCode:"690",callingCode:"+248"},{name:"Sierra Leone",alpha2Code:"SL",alpha3Code:"SLE",numericCode:"694",callingCode:"+232"},{name:"Singapore",alpha2Code:"SG",alpha3Code:"SGP",numericCode:"702",callingCode:"+65"},{name:"Saint Martin (parte olandese)",alpha2Code:"SX",alpha3Code:"SXM",numericCode:"534",callingCode:"+1721"},{name:"Slovacchia",alpha2Code:"SK",alpha3Code:"SVK",numericCode:"703",callingCode:"+421"},{name:"Slovenia",alpha2Code:"SI",alpha3Code:"SVN",numericCode:"705",callingCode:"+386"},{name:"Isole Salomone",alpha2Code:"SB",alpha3Code:"SLB",numericCode:"090",callingCode:"+677"},{name:"Somalia",alpha2Code:"SO",alpha3Code:"SOM",numericCode:"706",callingCode:"+252"},{name:"Sud Africa",alpha2Code:"ZA",alpha3Code:"ZAF",numericCode:"710",callingCode:"+27"},{name:"Georgia del Sud e Isole Sandwich Meridionali",alpha2Code:"GS",alpha3Code:"SGS",numericCode:"239",callingCode:"+500"},{name:"Corea del Sud",alpha2Code:"KR",alpha3Code:"KOR",numericCode:"410",callingCode:"+82"},{name:"Sudan del sud",alpha2Code:"SS",alpha3Code:"SSD",numericCode:"728",callingCode:"+211"},{name:"Spagna",alpha2Code:"ES",alpha3Code:"ESP",numericCode:"724",callingCode:"+34"},{name:"Sri Lanka",alpha2Code:"LK",alpha3Code:"LKA",numericCode:"144",callingCode:"+94"},{name:"Sudan",alpha2Code:"SD",alpha3Code:"SDN",numericCode:"729",callingCode:"+249"},{name:"Suriname",alpha2Code:"SR",alpha3Code:"SUR",numericCode:"740",callingCode:"+597"},{name:"Svalbard e Jan Mayen",alpha2Code:"SJ",alpha3Code:"SJM",numericCode:"744",callingCode:"+4779"},{name:"Swaziland",alpha2Code:"SZ",alpha3Code:"SWZ",numericCode:"748",callingCode:"+268"},{name:"Svezia",alpha2Code:"SE",alpha3Code:"SWE",numericCode:"752",callingCode:"+46"},{name:"Svizzera",alpha2Code:"CH",alpha3Code:"CHE",numericCode:"756",callingCode:"+41"},{name:"Siria",alpha2Code:"SY",alpha3Code:"SYR",numericCode:"760",callingCode:"+963"},{name:"Taiwan, China",alpha2Code:"TW",alpha3Code:"TWN",numericCode:"158",callingCode:"+886"},{name:"Tagikistan",alpha2Code:"TJ",alpha3Code:"TJK",numericCode:"762",callingCode:"+992"},{name:"Tanzania",alpha2Code:"TZ",alpha3Code:"TZA",numericCode:"834",callingCode:"+255"},{name:"Tailandia",alpha2Code:"TH",alpha3Code:"THA",numericCode:"764",callingCode:"+66"},{name:"Timor Est",alpha2Code:"TL",alpha3Code:"TLS",numericCode:"626",callingCode:"+670"},{name:"Togo",alpha2Code:"TG",alpha3Code:"TGO",numericCode:"768",callingCode:"+228"},{name:"Isole Tokelau",alpha2Code:"TK",alpha3Code:"TKL",numericCode:"772",callingCode:"+690"},{name:"Tonga",alpha2Code:"TO",alpha3Code:"TON",numericCode:"776",callingCode:"+676"},{name:"Trinidad e Tobago",alpha2Code:"TT",alpha3Code:"TTO",numericCode:"780",callingCode:"+1868"},{name:"Tunisia",alpha2Code:"TN",alpha3Code:"TUN",numericCode:"788",callingCode:"+216"},{name:"Turchia",alpha2Code:"TR",alpha3Code:"TUR",numericCode:"792",callingCode:"+90"},{name:"Turkmenistan",alpha2Code:"TM",alpha3Code:"TKM",numericCode:"795",callingCode:"+993"},{name:"Isole Turks e Caicos",alpha2Code:"TC",alpha3Code:"TCA",numericCode:"796",callingCode:"+1649"},{name:"Tuvalu",alpha2Code:"TV",alpha3Code:"TUV",numericCode:"798",callingCode:"+688"},{name:"Uganda",alpha2Code:"UG",alpha3Code:"UGA",numericCode:"800",callingCode:"+256"},{name:"Ucraina",alpha2Code:"UA",alpha3Code:"UKR",numericCode:"804",callingCode:"+380"},{name:"Emirati Arabi Uniti",alpha2Code:"AE",alpha3Code:"ARE",numericCode:"784",callingCode:"+971"},{name:"Regno Unito",alpha2Code:"GB",alpha3Code:"GBR",numericCode:"826",callingCode:"+44"},{name:"Stati Uniti D'America",alpha2Code:"US",alpha3Code:"USA",numericCode:"840",callingCode:"+1"},{name:"Uruguay",alpha2Code:"UY",alpha3Code:"URY",numericCode:"858",callingCode:"+598"},{name:"Uzbekistan",alpha2Code:"UZ",alpha3Code:"UZB",numericCode:"860",callingCode:"+998"},{name:"Vanuatu",alpha2Code:"VU",alpha3Code:"VUT",numericCode:"548",callingCode:"+678"},{name:"Venezuela",alpha2Code:"VE",alpha3Code:"VEN",numericCode:"862",callingCode:"+58"},{name:"Vietnam",alpha2Code:"VN",alpha3Code:"VNM",numericCode:"704",callingCode:"+84"},{name:"Wallis e Futuna",alpha2Code:"WF",alpha3Code:"WLF",numericCode:"876",callingCode:"+681"},{name:"Sahara Occidentale",alpha2Code:"EH",alpha3Code:"ESH",numericCode:"732",callingCode:"+212"},{name:"Yemen",alpha2Code:"YE",alpha3Code:"YEM",numericCode:"887",callingCode:"+967"},{name:"Zambia",alpha2Code:"ZM",alpha3Code:"ZMB",numericCode:"894",callingCode:"+260"},{name:"Zimbabwe",alpha2Code:"ZW",alpha3Code:"ZWE",numericCode:"716",callingCode:"+263"}]}),j2=Object.freeze({__proto__:null,COUNTRIES_DB_GL:[{name:"Afganist\xe1n",alpha2Code:"AF",alpha3Code:"AFG",numericCode:"004",callingCode:"+93"},{name:"Alandia",alpha2Code:"AX",alpha3Code:"ALA",numericCode:"248",callingCode:"+358"},{name:"Albania",alpha2Code:"AL",alpha3Code:"ALB",numericCode:"008",callingCode:"+355"},{name:"Alxeria",alpha2Code:"DZ",alpha3Code:"DZA",numericCode:"012",callingCode:"+213"},{name:"Samoa Americana",alpha2Code:"AS",alpha3Code:"ASM",numericCode:"016",callingCode:"+1684"},{name:"Andorra",alpha2Code:"AD",alpha3Code:"AND",numericCode:"020",callingCode:"+376"},{name:"Angola",alpha2Code:"AO",alpha3Code:"AGO",numericCode:"024",callingCode:"+244"},{name:"Anguilla",alpha2Code:"AI",alpha3Code:"AIA",numericCode:"660",callingCode:"+1264"},{name:"Ant\xe1rtida",alpha2Code:"AQ",alpha3Code:"ATA",numericCode:"010",callingCode:"+672"},{name:"Antigua e Barbuda",alpha2Code:"AG",alpha3Code:"ATG",numericCode:"028",callingCode:"+1268"},{name:"Arxentina",alpha2Code:"AR",alpha3Code:"ARG",numericCode:"032",callingCode:"+54"},{name:"Armenia",alpha2Code:"AM",alpha3Code:"ARM",numericCode:"051",callingCode:"+374"},{name:"Aruba",alpha2Code:"AW",alpha3Code:"ABW",numericCode:"533",callingCode:"+297"},{name:"Australia",alpha2Code:"AU",alpha3Code:"AUS",numericCode:"036",callingCode:"+61"},{name:"Austria",alpha2Code:"AT",alpha3Code:"AUT",numericCode:"040",callingCode:"+43"},{name:"Acerbaix\xe1n",alpha2Code:"AZ",alpha3Code:"AZE",numericCode:"031",callingCode:"+994"},{name:"Bahamas",alpha2Code:"BS",alpha3Code:"BHS",numericCode:"044",callingCode:"+1242"},{name:"Bahrein",alpha2Code:"BH",alpha3Code:"BHR",numericCode:"048",callingCode:"+973"},{name:"Bangladesh",alpha2Code:"BD",alpha3Code:"BGD",numericCode:"050",callingCode:"+880"},{name:"Barbados",alpha2Code:"BB",alpha3Code:"BRB",numericCode:"052",callingCode:"+1246"},{name:"Bielorrusia",alpha2Code:"BY",alpha3Code:"BLR",numericCode:"112",callingCode:"+375"},{name:"B\xe9lxica",alpha2Code:"BE",alpha3Code:"BEL",numericCode:"056",callingCode:"+32"},{name:"Belice",alpha2Code:"BZ",alpha3Code:"BLZ",numericCode:"084",callingCode:"+501"},{name:"Ben\xedn",alpha2Code:"BJ",alpha3Code:"BEN",numericCode:"204",callingCode:"+229"},{name:"Bermudas",alpha2Code:"BM",alpha3Code:"BMU",numericCode:"060",callingCode:"+1441"},{name:"But\xe1n",alpha2Code:"BT",alpha3Code:"BTN",numericCode:"064",callingCode:"+975"},{name:"Bolivia",alpha2Code:"BO",alpha3Code:"BOL",numericCode:"068",callingCode:"+591"},{name:"Bonaire, Saint-Eustache e Saba",alpha2Code:"BQ",alpha3Code:"BES",numericCode:"535",callingCode:"+5997"},{name:"Bosnia e Hercegovina",alpha2Code:"BA",alpha3Code:"BIH",numericCode:"070",callingCode:"+387"},{name:"Botswana",alpha2Code:"BW",alpha3Code:"BWA",numericCode:"072",callingCode:"+267"},{name:"Isla Bouvet",alpha2Code:"BV",alpha3Code:"BVT",numericCode:"074",callingCode:"+"},{name:"Brasil",alpha2Code:"BR",alpha3Code:"BRA",numericCode:"076",callingCode:"+55"},{name:"Territorio Brit\xe1nico do Oc\xe9ano \xcdndico",alpha2Code:"IO",alpha3Code:"IOT",numericCode:"086",callingCode:"+246"},{name:"Illas Ultramarinas Menores de Estados Unidos",alpha2Code:"UM",alpha3Code:"UMI",numericCode:"581",callingCode:"+"},{name:"Illas Virxes do Reino Unido",alpha2Code:"VG",alpha3Code:"VGB",numericCode:"092",callingCode:"+1284"},{name:"Illas Virxes dos Estados Unidos",alpha2Code:"VI",alpha3Code:"VIR",numericCode:"850",callingCode:"+1 340"},{name:"Brunei",alpha2Code:"BN",alpha3Code:"BRN",numericCode:"096",callingCode:"+673"},{name:"Bulgaria",alpha2Code:"BG",alpha3Code:"BGR",numericCode:"100",callingCode:"+359"},{name:"Burkina Faso",alpha2Code:"BF",alpha3Code:"BFA",numericCode:"854",callingCode:"+226"},{name:"Burundi",alpha2Code:"BI",alpha3Code:"BDI",numericCode:"108",callingCode:"+257"},{name:"Cambodia",alpha2Code:"KH",alpha3Code:"KHM",numericCode:"116",callingCode:"+855"},{name:"Camer\xfan",alpha2Code:"CM",alpha3Code:"CMR",numericCode:"120",callingCode:"+237"},{name:"Canad\xe1",alpha2Code:"CA",alpha3Code:"CAN",numericCode:"124",callingCode:"+1"},{name:"Cabo Verde",alpha2Code:"CV",alpha3Code:"CPV",numericCode:"132",callingCode:"+238"},{name:"Illas Caim\xe1n",alpha2Code:"KY",alpha3Code:"CYM",numericCode:"136",callingCode:"+1345"},{name:"Rep\xfablica Centroafricana",alpha2Code:"CF",alpha3Code:"CAF",numericCode:"140",callingCode:"+236"},{name:"Chad",alpha2Code:"TD",alpha3Code:"TCD",numericCode:"148",callingCode:"+235"},{name:"Chile",alpha2Code:"CL",alpha3Code:"CHL",numericCode:"152",callingCode:"+56"},{name:"China",alpha2Code:"CN",alpha3Code:"CHN",numericCode:"156",callingCode:"+86"},{name:"Isla de Nadal",alpha2Code:"CX",alpha3Code:"CXR",numericCode:"162",callingCode:"+61"},{name:"Illas Cocos ou Illas Keeling",alpha2Code:"CC",alpha3Code:"CCK",numericCode:"166",callingCode:"+61"},{name:"Colombia",alpha2Code:"CO",alpha3Code:"COL",numericCode:"170",callingCode:"+57"},{name:"Comoras",alpha2Code:"KM",alpha3Code:"COM",numericCode:"174",callingCode:"+269"},{name:"Congo",alpha2Code:"CG",alpha3Code:"COG",numericCode:"178",callingCode:"+242"},{name:"Congo (Rep. Dem.)",alpha2Code:"CD",alpha3Code:"COD",numericCode:"180",callingCode:"+243"},{name:"Illas Cook",alpha2Code:"CK",alpha3Code:"COK",numericCode:"184",callingCode:"+682"},{name:"Costa Rica",alpha2Code:"CR",alpha3Code:"CRI",numericCode:"188",callingCode:"+506"},{name:"Croacia",alpha2Code:"HR",alpha3Code:"HRV",numericCode:"191",callingCode:"+385"},{name:"Cuba",alpha2Code:"CU",alpha3Code:"CUB",numericCode:"192",callingCode:"+53"},{name:"Cura\xe7ao",alpha2Code:"CW",alpha3Code:"CUW",numericCode:"531",callingCode:"+599"},{name:"Chipre",alpha2Code:"CY",alpha3Code:"CYP",numericCode:"196",callingCode:"+357"},{name:"Rep\xfablica Checa",alpha2Code:"CZ",alpha3Code:"CZE",numericCode:"203",callingCode:"+420"},{name:"Dinamarca",alpha2Code:"DK",alpha3Code:"DNK",numericCode:"208",callingCode:"+45"},{name:"Xibut\xed",alpha2Code:"DJ",alpha3Code:"DJI",numericCode:"262",callingCode:"+253"},{name:"Dominica",alpha2Code:"DM",alpha3Code:"DMA",numericCode:"212",callingCode:"+1767"},{name:"Rep\xfablica Dominicana",alpha2Code:"DO",alpha3Code:"DOM",numericCode:"214",callingCode:"+1809"},{name:"Ecuador",alpha2Code:"EC",alpha3Code:"ECU",numericCode:"218",callingCode:"+593"},{name:"Exipto",alpha2Code:"EG",alpha3Code:"EGY",numericCode:"818",callingCode:"+20"},{name:"O Salvador",alpha2Code:"SV",alpha3Code:"SLV",numericCode:"222",callingCode:"+503"},{name:"Guinea Ecuatorial",alpha2Code:"GQ",alpha3Code:"GNQ",numericCode:"226",callingCode:"+240"},{name:"Eritrea",alpha2Code:"ER",alpha3Code:"ERI",numericCode:"232",callingCode:"+291"},{name:"Estonia",alpha2Code:"EE",alpha3Code:"EST",numericCode:"233",callingCode:"+372"},{name:"Etiop\xeda",alpha2Code:"ET",alpha3Code:"ETH",numericCode:"231",callingCode:"+251"},{name:"Illas Malvinas",alpha2Code:"FK",alpha3Code:"FLK",numericCode:"238",callingCode:"+500"},{name:"Illas Faroe",alpha2Code:"FO",alpha3Code:"FRO",numericCode:"234",callingCode:"+298"},{name:"Fiyi",alpha2Code:"FJ",alpha3Code:"FJI",numericCode:"242",callingCode:"+679"},{name:"Finlandia",alpha2Code:"FI",alpha3Code:"FIN",numericCode:"246",callingCode:"+358"},{name:"Francia",alpha2Code:"FR",alpha3Code:"FRA",numericCode:"250",callingCode:"+33"},{name:"Guayana Francesa",alpha2Code:"GF",alpha3Code:"GUF",numericCode:"254",callingCode:"+594"},{name:"Polinesia Francesa",alpha2Code:"PF",alpha3Code:"PYF",numericCode:"258",callingCode:"+689"},{name:"Terras Austrais e Ant\xe1rticas Francesas",alpha2Code:"TF",alpha3Code:"ATF",numericCode:"260",callingCode:"+"},{name:"Gab\xf3n",alpha2Code:"GA",alpha3Code:"GAB",numericCode:"266",callingCode:"+241"},{name:"Gambia",alpha2Code:"GM",alpha3Code:"GMB",numericCode:"270",callingCode:"+220"},{name:"Xeorxia",alpha2Code:"GE",alpha3Code:"GEO",numericCode:"268",callingCode:"+995"},{name:"Alema\xf1a",alpha2Code:"DE",alpha3Code:"DEU",numericCode:"276",callingCode:"+49"},{name:"Ghana",alpha2Code:"GH",alpha3Code:"GHA",numericCode:"288",callingCode:"+233"},{name:"Xibraltar",alpha2Code:"GI",alpha3Code:"GIB",numericCode:"292",callingCode:"+350"},{name:"Grecia",alpha2Code:"GR",alpha3Code:"GRC",numericCode:"300",callingCode:"+30"},{name:"Groenlandia",alpha2Code:"GL",alpha3Code:"GRL",numericCode:"304",callingCode:"+299"},{name:"Grenada",alpha2Code:"GD",alpha3Code:"GRD",numericCode:"308",callingCode:"+1473"},{name:"Guadalupe",alpha2Code:"GP",alpha3Code:"GLP",numericCode:"312",callingCode:"+590"},{name:"Guam",alpha2Code:"GU",alpha3Code:"GUM",numericCode:"316",callingCode:"+1671"},{name:"Guatemala",alpha2Code:"GT",alpha3Code:"GTM",numericCode:"320",callingCode:"+502"},{name:"Guernsey",alpha2Code:"GG",alpha3Code:"GGY",numericCode:"831",callingCode:"+44"},{name:"Guinea",alpha2Code:"GN",alpha3Code:"GIN",numericCode:"324",callingCode:"+224"},{name:"Guinea-Bis\xe1u",alpha2Code:"GW",alpha3Code:"GNB",numericCode:"624",callingCode:"+245"},{name:"G\xfciana",alpha2Code:"GY",alpha3Code:"GUY",numericCode:"328",callingCode:"+592"},{name:"Haiti",alpha2Code:"HT",alpha3Code:"HTI",numericCode:"332",callingCode:"+509"},{name:"Illas Heard e McDonald",alpha2Code:"HM",alpha3Code:"HMD",numericCode:"334",callingCode:"+"},{name:"Santa S\xe9",alpha2Code:"VA",alpha3Code:"VAT",numericCode:"336",callingCode:"+379"},{name:"Honduras",alpha2Code:"HN",alpha3Code:"HND",numericCode:"340",callingCode:"+504"},{name:"Hong Kong",alpha2Code:"HK",alpha3Code:"HKG",numericCode:"344",callingCode:"+852"},{name:"Hungr\xeda",alpha2Code:"HU",alpha3Code:"HUN",numericCode:"348",callingCode:"+36"},{name:"Islandia",alpha2Code:"IS",alpha3Code:"ISL",numericCode:"352",callingCode:"+354"},{name:"India",alpha2Code:"IN",alpha3Code:"IND",numericCode:"356",callingCode:"+91"},{name:"Indonesia",alpha2Code:"ID",alpha3Code:"IDN",numericCode:"360",callingCode:"+62"},{name:"Costa do Marfil",alpha2Code:"CI",alpha3Code:"CIV",numericCode:"384",callingCode:"+225"},{name:"Iran",alpha2Code:"IR",alpha3Code:"IRN",numericCode:"364",callingCode:"+98"},{name:"Iraq",alpha2Code:"IQ",alpha3Code:"IRQ",numericCode:"368",callingCode:"+964"},{name:"Irlanda",alpha2Code:"IE",alpha3Code:"IRL",numericCode:"372",callingCode:"+353"},{name:"Isla de Man",alpha2Code:"IM",alpha3Code:"IMN",numericCode:"833",callingCode:"+44"},{name:"Israel",alpha2Code:"IL",alpha3Code:"ISR",numericCode:"376",callingCode:"+972"},{name:"Italia",alpha2Code:"IT",alpha3Code:"ITA",numericCode:"380",callingCode:"+39"},{name:"Xamaica",alpha2Code:"JM",alpha3Code:"JAM",numericCode:"388",callingCode:"+1876"},{name:"Xap\xf3n",alpha2Code:"JP",alpha3Code:"JPN",numericCode:"392",callingCode:"+81"},{name:"Xersei",alpha2Code:"JE",alpha3Code:"JEY",numericCode:"832",callingCode:"+44"},{name:"Xordania",alpha2Code:"JO",alpha3Code:"JOR",numericCode:"400",callingCode:"+962"},{name:"Casaquist\xe1n",alpha2Code:"KZ",alpha3Code:"KAZ",numericCode:"398",callingCode:"+7"},{name:"Quenia",alpha2Code:"KE",alpha3Code:"KEN",numericCode:"404",callingCode:"+254"},{name:"Kiribati",alpha2Code:"KI",alpha3Code:"KIR",numericCode:"296",callingCode:"+686"},{name:"Kuwait",alpha2Code:"KW",alpha3Code:"KWT",numericCode:"414",callingCode:"+965"},{name:"Kirguizist\xe1n",alpha2Code:"KG",alpha3Code:"KGZ",numericCode:"417",callingCode:"+996"},{name:"Laos",alpha2Code:"LA",alpha3Code:"LAO",numericCode:"418",callingCode:"+856"},{name:"Letonia",alpha2Code:"LV",alpha3Code:"LVA",numericCode:"428",callingCode:"+371"},{name:"L\xedbano",alpha2Code:"LB",alpha3Code:"LBN",numericCode:"422",callingCode:"+961"},{name:"Lesotho",alpha2Code:"LS",alpha3Code:"LSO",numericCode:"426",callingCode:"+266"},{name:"Liberia",alpha2Code:"LR",alpha3Code:"LBR",numericCode:"430",callingCode:"+231"},{name:"Libia",alpha2Code:"LY",alpha3Code:"LBY",numericCode:"434",callingCode:"+218"},{name:"Liechtenstein",alpha2Code:"LI",alpha3Code:"LIE",numericCode:"438",callingCode:"+423"},{name:"Lituania",alpha2Code:"LT",alpha3Code:"LTU",numericCode:"440",callingCode:"+370"},{name:"Luxemburgo",alpha2Code:"LU",alpha3Code:"LUX",numericCode:"442",callingCode:"+352"},{name:"Macao",alpha2Code:"MO",alpha3Code:"MAC",numericCode:"446",callingCode:"+853"},{name:"Macedonia",alpha2Code:"MK",alpha3Code:"MKD",numericCode:"807",callingCode:"+389"},{name:"Madagascar",alpha2Code:"MG",alpha3Code:"MDG",numericCode:"450",callingCode:"+261"},{name:"Malawi",alpha2Code:"MW",alpha3Code:"MWI",numericCode:"454",callingCode:"+265"},{name:"Malaisia",alpha2Code:"MY",alpha3Code:"MYS",numericCode:"458",callingCode:"+60"},{name:"Maldivas",alpha2Code:"MV",alpha3Code:"MDV",numericCode:"462",callingCode:"+960"},{name:"Mali",alpha2Code:"ML",alpha3Code:"MLI",numericCode:"466",callingCode:"+223"},{name:"Malta",alpha2Code:"MT",alpha3Code:"MLT",numericCode:"470",callingCode:"+356"},{name:"Illas Marshall",alpha2Code:"MH",alpha3Code:"MHL",numericCode:"584",callingCode:"+692"},{name:"Martinica",alpha2Code:"MQ",alpha3Code:"MTQ",numericCode:"474",callingCode:"+596"},{name:"Mauritania",alpha2Code:"MR",alpha3Code:"MRT",numericCode:"478",callingCode:"+222"},{name:"Mauricio",alpha2Code:"MU",alpha3Code:"MUS",numericCode:"480",callingCode:"+230"},{name:"Mayotte",alpha2Code:"YT",alpha3Code:"MYT",numericCode:"175",callingCode:"+262"},{name:"M\xe9xico",alpha2Code:"MX",alpha3Code:"MEX",numericCode:"484",callingCode:"+52"},{name:"Micronesia",alpha2Code:"FM",alpha3Code:"FSM",numericCode:"583",callingCode:"+691"},{name:"Moldavia",alpha2Code:"MD",alpha3Code:"MDA",numericCode:"498",callingCode:"+373"},{name:"M\xf3naco",alpha2Code:"MC",alpha3Code:"MCO",numericCode:"492",callingCode:"+377"},{name:"Mongolia",alpha2Code:"MN",alpha3Code:"MNG",numericCode:"496",callingCode:"+976"},{name:"Montenegro",alpha2Code:"ME",alpha3Code:"MNE",numericCode:"499",callingCode:"+382"},{name:"Montserrat",alpha2Code:"MS",alpha3Code:"MSR",numericCode:"500",callingCode:"+1664"},{name:"Marrocos",alpha2Code:"MA",alpha3Code:"MAR",numericCode:"504",callingCode:"+212"},{name:"Mozambique",alpha2Code:"MZ",alpha3Code:"MOZ",numericCode:"508",callingCode:"+258"},{name:"Myanmar",alpha2Code:"MM",alpha3Code:"MMR",numericCode:"104",callingCode:"+95"},{name:"Namibia",alpha2Code:"NA",alpha3Code:"NAM",numericCode:"516",callingCode:"+264"},{name:"Nauru",alpha2Code:"NR",alpha3Code:"NRU",numericCode:"520",callingCode:"+674"},{name:"Nepal",alpha2Code:"NP",alpha3Code:"NPL",numericCode:"524",callingCode:"+977"},{name:"Pa\xedses Baixos",alpha2Code:"NL",alpha3Code:"NLD",numericCode:"528",callingCode:"+31"},{name:"Nova Caledonia",alpha2Code:"NC",alpha3Code:"NCL",numericCode:"540",callingCode:"+687"},{name:"Nova Zelandia",alpha2Code:"NZ",alpha3Code:"NZL",numericCode:"554",callingCode:"+64"},{name:"Nicaragua",alpha2Code:"NI",alpha3Code:"NIC",numericCode:"558",callingCode:"+505"},{name:"N\xedxer",alpha2Code:"NE",alpha3Code:"NER",numericCode:"562",callingCode:"+227"},{name:"Nixeria",alpha2Code:"NG",alpha3Code:"NGA",numericCode:"566",callingCode:"+234"},{name:"Niue",alpha2Code:"NU",alpha3Code:"NIU",numericCode:"570",callingCode:"+683"},{name:"Isla de Norfolk",alpha2Code:"NF",alpha3Code:"NFK",numericCode:"574",callingCode:"+672"},{name:"Corea do Norte",alpha2Code:"KP",alpha3Code:"PRK",numericCode:"408",callingCode:"+850"},{name:"Illas Marianas do Norte",alpha2Code:"MP",alpha3Code:"MNP",numericCode:"580",callingCode:"+1670"},{name:"Noruega",alpha2Code:"NO",alpha3Code:"NOR",numericCode:"578",callingCode:"+47"},{name:"Om\xe1n",alpha2Code:"OM",alpha3Code:"OMN",numericCode:"512",callingCode:"+968"},{name:"Paquist\xe1n",alpha2Code:"PK",alpha3Code:"PAK",numericCode:"586",callingCode:"+92"},{name:"Palau",alpha2Code:"PW",alpha3Code:"PLW",numericCode:"585",callingCode:"+680"},{name:"Palestina",alpha2Code:"PS",alpha3Code:"PSE",numericCode:"275",callingCode:"+970"},{name:"Panam\xe1",alpha2Code:"PA",alpha3Code:"PAN",numericCode:"591",callingCode:"+507"},{name:"Pap\xfaa Nova Guinea",alpha2Code:"PG",alpha3Code:"PNG",numericCode:"598",callingCode:"+675"},{name:"Paraguai",alpha2Code:"PY",alpha3Code:"PRY",numericCode:"600",callingCode:"+595"},{name:"Per\xfa",alpha2Code:"PE",alpha3Code:"PER",numericCode:"604",callingCode:"+51"},{name:"Filipinas",alpha2Code:"PH",alpha3Code:"PHL",numericCode:"608",callingCode:"+63"},{name:"Illas Pitcairn",alpha2Code:"PN",alpha3Code:"PCN",numericCode:"612",callingCode:"+64"},{name:"Polonia",alpha2Code:"PL",alpha3Code:"POL",numericCode:"616",callingCode:"+48"},{name:"Portugal",alpha2Code:"PT",alpha3Code:"PRT",numericCode:"620",callingCode:"+351"},{name:"Porto Rico",alpha2Code:"PR",alpha3Code:"PRI",numericCode:"630",callingCode:"+1"},{name:"Catar",alpha2Code:"QA",alpha3Code:"QAT",numericCode:"634",callingCode:"+974"},{name:"K\xf3sovo",alpha2Code:"XK",alpha3Code:"KOS",numericCode:null,callingCode:"+383"},{name:"Reuni\xf3n",alpha2Code:"RE",alpha3Code:"REU",numericCode:"638",callingCode:"+262"},{name:"Rumania",alpha2Code:"RO",alpha3Code:"ROU",numericCode:"642",callingCode:"+40"},{name:"Rusia",alpha2Code:"RU",alpha3Code:"RUS",numericCode:"643",callingCode:"+7"},{name:"Ruanda",alpha2Code:"RW",alpha3Code:"RWA",numericCode:"646",callingCode:"+250"},{name:"San Bartolom\xe9",alpha2Code:"BL",alpha3Code:"BLM",numericCode:"652",callingCode:"+590"},{name:"Santa Helena",alpha2Code:"SH",alpha3Code:"SHN",numericCode:"654",callingCode:"+290"},{name:"San Crist\xf3bal e Nieves",alpha2Code:"KN",alpha3Code:"KNA",numericCode:"659",callingCode:"+1869"},{name:"Santa Luc\xeda",alpha2Code:"LC",alpha3Code:"LCA",numericCode:"662",callingCode:"+1758"},{name:"Saint Martin",alpha2Code:"MF",alpha3Code:"MAF",numericCode:"663",callingCode:"+590"},{name:"San Pedro e Miquel\xf3n",alpha2Code:"PM",alpha3Code:"SPM",numericCode:"666",callingCode:"+508"},{name:"San Vicente e Granadinas",alpha2Code:"VC",alpha3Code:"VCT",numericCode:"670",callingCode:"+1784"},{name:"Samoa",alpha2Code:"WS",alpha3Code:"WSM",numericCode:"882",callingCode:"+685"},{name:"San Mari\xf1o",alpha2Code:"SM",alpha3Code:"SMR",numericCode:"674",callingCode:"+378"},{name:"San Tom\xe9 e Pr\xedncipe",alpha2Code:"ST",alpha3Code:"STP",numericCode:"678",callingCode:"+239"},{name:"Arabia Saudita",alpha2Code:"SA",alpha3Code:"SAU",numericCode:"682",callingCode:"+966"},{name:"Senegal",alpha2Code:"SN",alpha3Code:"SEN",numericCode:"686",callingCode:"+221"},{name:"Serbia",alpha2Code:"RS",alpha3Code:"SRB",numericCode:"688",callingCode:"+381"},{name:"Seychelles",alpha2Code:"SC",alpha3Code:"SYC",numericCode:"690",callingCode:"+248"},{name:"Sierra Leone",alpha2Code:"SL",alpha3Code:"SLE",numericCode:"694",callingCode:"+232"},{name:"Singapura",alpha2Code:"SG",alpha3Code:"SGP",numericCode:"702",callingCode:"+65"},{name:"San Mart\xedn (parte holandesa)",alpha2Code:"SX",alpha3Code:"SXM",numericCode:"534",callingCode:"+1721"},{name:"Rep\xfablica Eslovaca",alpha2Code:"SK",alpha3Code:"SVK",numericCode:"703",callingCode:"+421"},{name:"Eslovenia",alpha2Code:"SI",alpha3Code:"SVN",numericCode:"705",callingCode:"+386"},{name:"Illas Salom\xf3n",alpha2Code:"SB",alpha3Code:"SLB",numericCode:"090",callingCode:"+677"},{name:"Somalia",alpha2Code:"SO",alpha3Code:"SOM",numericCode:"706",callingCode:"+252"},{name:"Rep\xfablica de Sud\xe1frica",alpha2Code:"ZA",alpha3Code:"ZAF",numericCode:"710",callingCode:"+27"},{name:"Illas Georgias do Sur e Sandwich do Sur",alpha2Code:"GS",alpha3Code:"SGS",numericCode:"239",callingCode:"+500"},{name:"Corea do Sur",alpha2Code:"KR",alpha3Code:"KOR",numericCode:"410",callingCode:"+82"},{name:"Sud\xe1n do Sur",alpha2Code:"SS",alpha3Code:"SSD",numericCode:"728",callingCode:"+211"},{name:"Espa\xf1a",alpha2Code:"ES",alpha3Code:"ESP",numericCode:"724",callingCode:"+34"},{name:"Sri Lanka",alpha2Code:"LK",alpha3Code:"LKA",numericCode:"144",callingCode:"+94"},{name:"Sud\xe1n",alpha2Code:"SD",alpha3Code:"SDN",numericCode:"729",callingCode:"+249"},{name:"Suriname",alpha2Code:"SR",alpha3Code:"SUR",numericCode:"740",callingCode:"+597"},{name:"Illas Svalbard e Jan Mayen",alpha2Code:"SJ",alpha3Code:"SJM",numericCode:"744",callingCode:"+4779"},{name:"Suazilandia",alpha2Code:"SZ",alpha3Code:"SWZ",numericCode:"748",callingCode:"+268"},{name:"Suecia",alpha2Code:"SE",alpha3Code:"SWE",numericCode:"752",callingCode:"+46"},{name:"Su\xedza",alpha2Code:"CH",alpha3Code:"CHE",numericCode:"756",callingCode:"+41"},{name:"Siria",alpha2Code:"SY",alpha3Code:"SYR",numericCode:"760",callingCode:"+963"},{name:"Taiwan",alpha2Code:"TW",alpha3Code:"TWN",numericCode:"158",callingCode:"+886"},{name:"Tadxiquist\xe1n",alpha2Code:"TJ",alpha3Code:"TJK",numericCode:"762",callingCode:"+992"},{name:"Tanzania",alpha2Code:"TZ",alpha3Code:"TZA",numericCode:"834",callingCode:"+255"},{name:"Tailandia",alpha2Code:"TH",alpha3Code:"THA",numericCode:"764",callingCode:"+66"},{name:"Timor Oriental",alpha2Code:"TL",alpha3Code:"TLS",numericCode:"626",callingCode:"+670"},{name:"Togo",alpha2Code:"TG",alpha3Code:"TGO",numericCode:"768",callingCode:"+228"},{name:"Illas Tokelau",alpha2Code:"TK",alpha3Code:"TKL",numericCode:"772",callingCode:"+690"},{name:"Tonga",alpha2Code:"TO",alpha3Code:"TON",numericCode:"776",callingCode:"+676"},{name:"Trinidade e Tobago",alpha2Code:"TT",alpha3Code:"TTO",numericCode:"780",callingCode:"+1868"},{name:"Tunes",alpha2Code:"TN",alpha3Code:"TUN",numericCode:"788",callingCode:"+216"},{name:"Turqu\xeda",alpha2Code:"TR",alpha3Code:"TUR",numericCode:"792",callingCode:"+90"},{name:"Turcomenist\xe1n",alpha2Code:"TM",alpha3Code:"TKM",numericCode:"795",callingCode:"+993"},{name:"Illas Turks e Caicos",alpha2Code:"TC",alpha3Code:"TCA",numericCode:"796",callingCode:"+1649"},{name:"Tuvalu",alpha2Code:"TV",alpha3Code:"TUV",numericCode:"798",callingCode:"+688"},{name:"Uganda",alpha2Code:"UG",alpha3Code:"UGA",numericCode:"800",callingCode:"+256"},{name:"Ucra\xedna",alpha2Code:"UA",alpha3Code:"UKR",numericCode:"804",callingCode:"+380"},{name:"Emiratos \xc1rabes Unidos",alpha2Code:"AE",alpha3Code:"ARE",numericCode:"784",callingCode:"+971"},{name:"Reino Unido",alpha2Code:"GB",alpha3Code:"GBR",numericCode:"826",callingCode:"+44"},{name:"Estados Unidos",alpha2Code:"US",alpha3Code:"USA",numericCode:"840",callingCode:"+1"},{name:"Uruguai",alpha2Code:"UY",alpha3Code:"URY",numericCode:"858",callingCode:"+598"},{name:"Usbequist\xe1n",alpha2Code:"UZ",alpha3Code:"UZB",numericCode:"860",callingCode:"+998"},{name:"Vanuatu",alpha2Code:"VU",alpha3Code:"VUT",numericCode:"548",callingCode:"+678"},{name:"Venezuela",alpha2Code:"VE",alpha3Code:"VEN",numericCode:"862",callingCode:"+58"},{name:"Vietnam",alpha2Code:"VN",alpha3Code:"VNM",numericCode:"704",callingCode:"+84"},{name:"Wallis e Futuna",alpha2Code:"WF",alpha3Code:"WLF",numericCode:"876",callingCode:"+681"},{name:"Sahara Occidental",alpha2Code:"EH",alpha3Code:"ESH",numericCode:"732",callingCode:"+212"},{name:"Iemen",alpha2Code:"YE",alpha3Code:"YEM",numericCode:"887",callingCode:"+967"},{name:"Zambia",alpha2Code:"ZM",alpha3Code:"ZMB",numericCode:"894",callingCode:"+260"},{name:"Zimbabue",alpha2Code:"ZW",alpha3Code:"ZWE",numericCode:"716",callingCode:"+263"}]}),W2=Object.freeze({__proto__:null,COUNTRIES_DB_CA:[{name:"l'Afganistan",alpha2Code:"AF",alpha3Code:"AFG",numericCode:"004",callingCode:"+93"},{name:"Alandia",alpha2Code:"AX",alpha3Code:"ALA",numericCode:"248",callingCode:"+358"},{name:"Alb\xe0nia",alpha2Code:"AL",alpha3Code:"ALB",numericCode:"008",callingCode:"+355"},{name:"Alg\xe8ria",alpha2Code:"DZ",alpha3Code:"DZA",numericCode:"012",callingCode:"+213"},{name:"Samoa Americana",alpha2Code:"AS",alpha3Code:"ASM",numericCode:"016",callingCode:"+1684"},{name:"Andorra",alpha2Code:"AD",alpha3Code:"AND",numericCode:"020",callingCode:"+376"},{name:"Angola",alpha2Code:"AO",alpha3Code:"AGO",numericCode:"024",callingCode:"+244"},{name:"Anguilla",alpha2Code:"AI",alpha3Code:"AIA",numericCode:"660",callingCode:"+1264"},{name:"Ant\xe0rtida",alpha2Code:"AQ",alpha3Code:"ATA",numericCode:"010",callingCode:"+672"},{name:"Antigua i Barbuda",alpha2Code:"AG",alpha3Code:"ATG",numericCode:"028",callingCode:"+1268"},{name:"Argentina",alpha2Code:"AR",alpha3Code:"ARG",numericCode:"032",callingCode:"+54"},{name:"Arm\xe8nia",alpha2Code:"AM",alpha3Code:"ARM",numericCode:"051",callingCode:"+374"},{name:"Aruba",alpha2Code:"AW",alpha3Code:"ABW",numericCode:"533",callingCode:"+297"},{name:"Austr\xe0lia",alpha2Code:"AU",alpha3Code:"AUS",numericCode:"036",callingCode:"+61"},{name:"\xc0ustria",alpha2Code:"AT",alpha3Code:"AUT",numericCode:"040",callingCode:"+43"},{name:"Azerbaidjan",alpha2Code:"AZ",alpha3Code:"AZE",numericCode:"031",callingCode:"+994"},{name:"Bahames",alpha2Code:"BS",alpha3Code:"BHS",numericCode:"044",callingCode:"+1242"},{name:"Bahrain",alpha2Code:"BH",alpha3Code:"BHR",numericCode:"048",callingCode:"+973"},{name:"Bangladesh",alpha2Code:"BD",alpha3Code:"BGD",numericCode:"050",callingCode:"+880"},{name:"Barbados",alpha2Code:"BB",alpha3Code:"BRB",numericCode:"052",callingCode:"+1246"},{name:"Bielor\xfassia",alpha2Code:"BY",alpha3Code:"BLR",numericCode:"112",callingCode:"+375"},{name:"B\xe8lgica",alpha2Code:"BE",alpha3Code:"BEL",numericCode:"056",callingCode:"+32"},{name:"Belize",alpha2Code:"BZ",alpha3Code:"BLZ",numericCode:"084",callingCode:"+501"},{name:"Ben\xedn",alpha2Code:"BJ",alpha3Code:"BEN",numericCode:"204",callingCode:"+229"},{name:"Bermudes",alpha2Code:"BM",alpha3Code:"BMU",numericCode:"060",callingCode:"+1441"},{name:"Bhutan",alpha2Code:"BT",alpha3Code:"BTN",numericCode:"064",callingCode:"+975"},{name:"Bol\xedvia",alpha2Code:"BO",alpha3Code:"BOL",numericCode:"068",callingCode:"+591"},{name:"Bonaire, Saint-Eustache i Saba",alpha2Code:"BQ",alpha3Code:"BES",numericCode:"535",callingCode:"+5997"},{name:"B\xf2snia i Hercegovina",alpha2Code:"BA",alpha3Code:"BIH",numericCode:"070",callingCode:"+387"},{name:"Botswana",alpha2Code:"BW",alpha3Code:"BWA",numericCode:"072",callingCode:"+267"},{name:"Bouvet",alpha2Code:"BV",alpha3Code:"BVT",numericCode:"074",callingCode:"+"},{name:"Brasil",alpha2Code:"BR",alpha3Code:"BRA",numericCode:"076",callingCode:"+55"},{name:"Territori Brit\xe0nic de l'Oce\xe0 \xcdndic",alpha2Code:"IO",alpha3Code:"IOT",numericCode:"086",callingCode:"+246"},{name:"Illes Ultramarines Menors dels Estats Units",alpha2Code:"UM",alpha3Code:"UMI",numericCode:"581",callingCode:"+"},{name:"Illes Verges del Regne Unit",alpha2Code:"VG",alpha3Code:"VGB",numericCode:"092",callingCode:"+1284"},{name:"Illes Verges dels Estats Units",alpha2Code:"VI",alpha3Code:"VIR",numericCode:"850",callingCode:"+1 340"},{name:"Brunei",alpha2Code:"BN",alpha3Code:"BRN",numericCode:"096",callingCode:"+673"},{name:"Bulg\xe0ria",alpha2Code:"BG",alpha3Code:"BGR",numericCode:"100",callingCode:"+359"},{name:"Burkina Faso",alpha2Code:"BF",alpha3Code:"BFA",numericCode:"854",callingCode:"+226"},{name:"Burundi",alpha2Code:"BI",alpha3Code:"BDI",numericCode:"108",callingCode:"+257"},{name:"Cambodja",alpha2Code:"KH",alpha3Code:"KHM",numericCode:"116",callingCode:"+855"},{name:"Camerun",alpha2Code:"CM",alpha3Code:"CMR",numericCode:"120",callingCode:"+237"},{name:"Canad\xe0",alpha2Code:"CA",alpha3Code:"CAN",numericCode:"124",callingCode:"+1"},{name:"Cap Verd",alpha2Code:"CV",alpha3Code:"CPV",numericCode:"132",callingCode:"+238"},{name:"Illes Caiman",alpha2Code:"KY",alpha3Code:"CYM",numericCode:"136",callingCode:"+1345"},{name:"Rep\xfablica Centreafricana",alpha2Code:"CF",alpha3Code:"CAF",numericCode:"140",callingCode:"+236"},{name:"Txad",alpha2Code:"TD",alpha3Code:"TCD",numericCode:"148",callingCode:"+235"},{name:"Xile",alpha2Code:"CL",alpha3Code:"CHL",numericCode:"152",callingCode:"+56"},{name:"Xina",alpha2Code:"CN",alpha3Code:"CHN",numericCode:"156",callingCode:"+86"},{name:"Illa Christmas",alpha2Code:"CX",alpha3Code:"CXR",numericCode:"162",callingCode:"+61"},{name:"Illes Cocos o Illes Keeling",alpha2Code:"CC",alpha3Code:"CCK",numericCode:"166",callingCode:"+61"},{name:"Col\xf2mbia",alpha2Code:"CO",alpha3Code:"COL",numericCode:"170",callingCode:"+57"},{name:"Comores",alpha2Code:"KM",alpha3Code:"COM",numericCode:"174",callingCode:"+269"},{name:"Congo",alpha2Code:"CG",alpha3Code:"COG",numericCode:"178",callingCode:"+242"},{name:"Congo (Rep. Dem.)",alpha2Code:"CD",alpha3Code:"COD",numericCode:"180",callingCode:"+243"},{name:"Illes Cook",alpha2Code:"CK",alpha3Code:"COK",numericCode:"184",callingCode:"+682"},{name:"Costa Rica",alpha2Code:"CR",alpha3Code:"CRI",numericCode:"188",callingCode:"+506"},{name:"Cro\xe0cia",alpha2Code:"HR",alpha3Code:"HRV",numericCode:"191",callingCode:"+385"},{name:"Cuba",alpha2Code:"CU",alpha3Code:"CUB",numericCode:"192",callingCode:"+53"},{name:"Cura\xe7ao",alpha2Code:"CW",alpha3Code:"CUW",numericCode:"531",callingCode:"+599"},{name:"Xipre",alpha2Code:"CY",alpha3Code:"CYP",numericCode:"196",callingCode:"+357"},{name:"Rep\xfablica Txeca",alpha2Code:"CZ",alpha3Code:"CZE",numericCode:"203",callingCode:"+420"},{name:"Dinamarca",alpha2Code:"DK",alpha3Code:"DNK",numericCode:"208",callingCode:"+45"},{name:"Djibouti",alpha2Code:"DJ",alpha3Code:"DJI",numericCode:"262",callingCode:"+253"},{name:"Dominica",alpha2Code:"DM",alpha3Code:"DMA",numericCode:"212",callingCode:"+1767"},{name:"Rep\xfablica Dominicana",alpha2Code:"DO",alpha3Code:"DOM",numericCode:"214",callingCode:"+1809"},{name:"Equador",alpha2Code:"EC",alpha3Code:"ECU",numericCode:"218",callingCode:"+593"},{name:"Egipte",alpha2Code:"EG",alpha3Code:"EGY",numericCode:"818",callingCode:"+20"},{name:"El Salvador",alpha2Code:"SV",alpha3Code:"SLV",numericCode:"222",callingCode:"+503"},{name:"Guinea Equatorial",alpha2Code:"GQ",alpha3Code:"GNQ",numericCode:"226",callingCode:"+240"},{name:"Eritrea",alpha2Code:"ER",alpha3Code:"ERI",numericCode:"232",callingCode:"+291"},{name:"Est\xf2nia",alpha2Code:"EE",alpha3Code:"EST",numericCode:"233",callingCode:"+372"},{name:"Eti\xf2pia",alpha2Code:"ET",alpha3Code:"ETH",numericCode:"231",callingCode:"+251"},{name:"Illes Malvines",alpha2Code:"FK",alpha3Code:"FLK",numericCode:"238",callingCode:"+500"},{name:"Illes Faroe",alpha2Code:"FO",alpha3Code:"FRO",numericCode:"234",callingCode:"+298"},{name:"Fiji",alpha2Code:"FJ",alpha3Code:"FJI",numericCode:"242",callingCode:"+679"},{name:"Finl\xe0ndia",alpha2Code:"FI",alpha3Code:"FIN",numericCode:"246",callingCode:"+358"},{name:"Fran\xe7a",alpha2Code:"FR",alpha3Code:"FRA",numericCode:"250",callingCode:"+33"},{name:"Guaiana Francesa",alpha2Code:"GF",alpha3Code:"GUF",numericCode:"254",callingCode:"+594"},{name:"Polin\xe8sia Francesa",alpha2Code:"PF",alpha3Code:"PYF",numericCode:"258",callingCode:"+689"},{name:"Terres Australs i Ant\xe0rtiques Franceses",alpha2Code:"TF",alpha3Code:"ATF",numericCode:"260",callingCode:"+"},{name:"Gabon",alpha2Code:"GA",alpha3Code:"GAB",numericCode:"266",callingCode:"+241"},{name:"G\xe0mbia",alpha2Code:"GM",alpha3Code:"GMB",numericCode:"270",callingCode:"+220"},{name:"Ge\xf2rgia",alpha2Code:"GE",alpha3Code:"GEO",numericCode:"268",callingCode:"+995"},{name:"Alemanya",alpha2Code:"DE",alpha3Code:"DEU",numericCode:"276",callingCode:"+49"},{name:"Ghana",alpha2Code:"GH",alpha3Code:"GHA",numericCode:"288",callingCode:"+233"},{name:"Gibraltar",alpha2Code:"GI",alpha3Code:"GIB",numericCode:"292",callingCode:"+350"},{name:"Gr\xe8cia",alpha2Code:"GR",alpha3Code:"GRC",numericCode:"300",callingCode:"+30"},{name:"Groenl\xe0ndia",alpha2Code:"GL",alpha3Code:"GRL",numericCode:"304",callingCode:"+299"},{name:"Grenada",alpha2Code:"GD",alpha3Code:"GRD",numericCode:"308",callingCode:"+1473"},{name:"Guadalupe",alpha2Code:"GP",alpha3Code:"GLP",numericCode:"312",callingCode:"+590"},{name:"Guam",alpha2Code:"GU",alpha3Code:"GUM",numericCode:"316",callingCode:"+1671"},{name:"Guatemala",alpha2Code:"GT",alpha3Code:"GTM",numericCode:"320",callingCode:"+502"},{name:"Guernsey",alpha2Code:"GG",alpha3Code:"GGY",numericCode:"831",callingCode:"+44"},{name:"Guinea",alpha2Code:"GN",alpha3Code:"GIN",numericCode:"324",callingCode:"+224"},{name:"Guinea Bissau",alpha2Code:"GW",alpha3Code:"GNB",numericCode:"624",callingCode:"+245"},{name:"Guyana",alpha2Code:"GY",alpha3Code:"GUY",numericCode:"328",callingCode:"+592"},{name:"Haiti",alpha2Code:"HT",alpha3Code:"HTI",numericCode:"332",callingCode:"+509"},{name:"Illes Heard i McDonald",alpha2Code:"HM",alpha3Code:"HMD",numericCode:"334",callingCode:"+"},{name:"Santa Seu",alpha2Code:"VA",alpha3Code:"VAT",numericCode:"336",callingCode:"+379"},{name:"Hondures",alpha2Code:"HN",alpha3Code:"HND",numericCode:"340",callingCode:"+504"},{name:"Hong Kong",alpha2Code:"HK",alpha3Code:"HKG",numericCode:"344",callingCode:"+852"},{name:"Hongria",alpha2Code:"HU",alpha3Code:"HUN",numericCode:"348",callingCode:"+36"},{name:"Isl\xe0ndia",alpha2Code:"IS",alpha3Code:"ISL",numericCode:"352",callingCode:"+354"},{name:"\xcdndia",alpha2Code:"IN",alpha3Code:"IND",numericCode:"356",callingCode:"+91"},{name:"Indon\xe8sia",alpha2Code:"ID",alpha3Code:"IDN",numericCode:"360",callingCode:"+62"},{name:"Costa d'Ivori",alpha2Code:"CI",alpha3Code:"CIV",numericCode:"384",callingCode:"+225"},{name:"Iran",alpha2Code:"IR",alpha3Code:"IRN",numericCode:"364",callingCode:"+98"},{name:"l'Iraq",alpha2Code:"IQ",alpha3Code:"IRQ",numericCode:"368",callingCode:"+964"},{name:"Irlanda",alpha2Code:"IE",alpha3Code:"IRL",numericCode:"372",callingCode:"+353"},{name:"Illa de Man",alpha2Code:"IM",alpha3Code:"IMN",numericCode:"833",callingCode:"+44"},{name:"Israel",alpha2Code:"IL",alpha3Code:"ISR",numericCode:"376",callingCode:"+972"},{name:"It\xe0lia",alpha2Code:"IT",alpha3Code:"ITA",numericCode:"380",callingCode:"+39"},{name:"Jamaica",alpha2Code:"JM",alpha3Code:"JAM",numericCode:"388",callingCode:"+1876"},{name:"Jap\xf3",alpha2Code:"JP",alpha3Code:"JPN",numericCode:"392",callingCode:"+81"},{name:"Jersey",alpha2Code:"JE",alpha3Code:"JEY",numericCode:"832",callingCode:"+44"},{name:"Jord\xe0nia",alpha2Code:"JO",alpha3Code:"JOR",numericCode:"400",callingCode:"+962"},{name:"Kazakhstan",alpha2Code:"KZ",alpha3Code:"KAZ",numericCode:"398",callingCode:"+7"},{name:"Kenya",alpha2Code:"KE",alpha3Code:"KEN",numericCode:"404",callingCode:"+254"},{name:"Kiribati",alpha2Code:"KI",alpha3Code:"KIR",numericCode:"296",callingCode:"+686"},{name:"Kuwait",alpha2Code:"KW",alpha3Code:"KWT",numericCode:"414",callingCode:"+965"},{name:"Kirguizistan",alpha2Code:"KG",alpha3Code:"KGZ",numericCode:"417",callingCode:"+996"},{name:"Laos",alpha2Code:"LA",alpha3Code:"LAO",numericCode:"418",callingCode:"+856"},{name:"Let\xf2nia",alpha2Code:"LV",alpha3Code:"LVA",numericCode:"428",callingCode:"+371"},{name:"L\xedban",alpha2Code:"LB",alpha3Code:"LBN",numericCode:"422",callingCode:"+961"},{name:"Lesotho",alpha2Code:"LS",alpha3Code:"LSO",numericCode:"426",callingCode:"+266"},{name:"Lib\xe8ria",alpha2Code:"LR",alpha3Code:"LBR",numericCode:"430",callingCode:"+231"},{name:"L\xedbia",alpha2Code:"LY",alpha3Code:"LBY",numericCode:"434",callingCode:"+218"},{name:"Liechtenstein",alpha2Code:"LI",alpha3Code:"LIE",numericCode:"438",callingCode:"+423"},{name:"Litu\xe0nia",alpha2Code:"LT",alpha3Code:"LTU",numericCode:"440",callingCode:"+370"},{name:"Luxemburg",alpha2Code:"LU",alpha3Code:"LUX",numericCode:"442",callingCode:"+352"},{name:"Macau",alpha2Code:"MO",alpha3Code:"MAC",numericCode:"446",callingCode:"+853"},{name:"Maced\xf2nia",alpha2Code:"MK",alpha3Code:"MKD",numericCode:"807",callingCode:"+389"},{name:"Madagascar",alpha2Code:"MG",alpha3Code:"MDG",numericCode:"450",callingCode:"+261"},{name:"Malawi",alpha2Code:"MW",alpha3Code:"MWI",numericCode:"454",callingCode:"+265"},{name:"Mal\xe0isia",alpha2Code:"MY",alpha3Code:"MYS",numericCode:"458",callingCode:"+60"},{name:"Maldives",alpha2Code:"MV",alpha3Code:"MDV",numericCode:"462",callingCode:"+960"},{name:"Mali",alpha2Code:"ML",alpha3Code:"MLI",numericCode:"466",callingCode:"+223"},{name:"Malta",alpha2Code:"MT",alpha3Code:"MLT",numericCode:"470",callingCode:"+356"},{name:"Illes Marshall",alpha2Code:"MH",alpha3Code:"MHL",numericCode:"584",callingCode:"+692"},{name:"Martinica",alpha2Code:"MQ",alpha3Code:"MTQ",numericCode:"474",callingCode:"+596"},{name:"Maurit\xe0nia",alpha2Code:"MR",alpha3Code:"MRT",numericCode:"478",callingCode:"+222"},{name:"Maurici",alpha2Code:"MU",alpha3Code:"MUS",numericCode:"480",callingCode:"+230"},{name:"Mayotte",alpha2Code:"YT",alpha3Code:"MYT",numericCode:"175",callingCode:"+262"},{name:"M\xe8xic",alpha2Code:"MX",alpha3Code:"MEX",numericCode:"484",callingCode:"+52"},{name:"Micron\xe8sia",alpha2Code:"FM",alpha3Code:"FSM",numericCode:"583",callingCode:"+691"},{name:"Mold\xe0via",alpha2Code:"MD",alpha3Code:"MDA",numericCode:"498",callingCode:"+373"},{name:"M\xf2naco",alpha2Code:"MC",alpha3Code:"MCO",numericCode:"492",callingCode:"+377"},{name:"Mong\xf2lia",alpha2Code:"MN",alpha3Code:"MNG",numericCode:"496",callingCode:"+976"},{name:"Montenegro",alpha2Code:"ME",alpha3Code:"MNE",numericCode:"499",callingCode:"+382"},{name:"Montserrat",alpha2Code:"MS",alpha3Code:"MSR",numericCode:"500",callingCode:"+1664"},{name:"Marroc",alpha2Code:"MA",alpha3Code:"MAR",numericCode:"504",callingCode:"+212"},{name:"Mo\xe7ambic",alpha2Code:"MZ",alpha3Code:"MOZ",numericCode:"508",callingCode:"+258"},{name:"Myanmar",alpha2Code:"MM",alpha3Code:"MMR",numericCode:"104",callingCode:"+95"},{name:"Nam\xedbia",alpha2Code:"NA",alpha3Code:"NAM",numericCode:"516",callingCode:"+264"},{name:"Nauru",alpha2Code:"NR",alpha3Code:"NRU",numericCode:"520",callingCode:"+674"},{name:"Nepal",alpha2Code:"NP",alpha3Code:"NPL",numericCode:"524",callingCode:"+977"},{name:"Pa\xefsos Baixos",alpha2Code:"NL",alpha3Code:"NLD",numericCode:"528",callingCode:"+31"},{name:"Nova Caled\xf2nia",alpha2Code:"NC",alpha3Code:"NCL",numericCode:"540",callingCode:"+687"},{name:"Nova Zelanda",alpha2Code:"NZ",alpha3Code:"NZL",numericCode:"554",callingCode:"+64"},{name:"Nicaragua",alpha2Code:"NI",alpha3Code:"NIC",numericCode:"558",callingCode:"+505"},{name:"N\xedger",alpha2Code:"NE",alpha3Code:"NER",numericCode:"562",callingCode:"+227"},{name:"Nig\xe8ria",alpha2Code:"NG",alpha3Code:"NGA",numericCode:"566",callingCode:"+234"},{name:"Niue",alpha2Code:"NU",alpha3Code:"NIU",numericCode:"570",callingCode:"+683"},{name:"Illa de Norfolk",alpha2Code:"NF",alpha3Code:"NFK",numericCode:"574",callingCode:"+672"},{name:"Corea del Nord",alpha2Code:"KP",alpha3Code:"PRK",numericCode:"408",callingCode:"+850"},{name:"illes Mariannes del Nord",alpha2Code:"MP",alpha3Code:"MNP",numericCode:"580",callingCode:"+1670"},{name:"Noruega",alpha2Code:"NO",alpha3Code:"NOR",numericCode:"578",callingCode:"+47"},{name:"Oman",alpha2Code:"OM",alpha3Code:"OMN",numericCode:"512",callingCode:"+968"},{name:"Pakistan",alpha2Code:"PK",alpha3Code:"PAK",numericCode:"586",callingCode:"+92"},{name:"Palau",alpha2Code:"PW",alpha3Code:"PLW",numericCode:"585",callingCode:"+680"},{name:"Palestina",alpha2Code:"PS",alpha3Code:"PSE",numericCode:"275",callingCode:"+970"},{name:"Panam\xe0",alpha2Code:"PA",alpha3Code:"PAN",numericCode:"591",callingCode:"+507"},{name:"Papua Nova Guinea",alpha2Code:"PG",alpha3Code:"PNG",numericCode:"598",callingCode:"+675"},{name:"Paraguai",alpha2Code:"PY",alpha3Code:"PRY",numericCode:"600",callingCode:"+595"},{name:"Per\xfa",alpha2Code:"PE",alpha3Code:"PER",numericCode:"604",callingCode:"+51"},{name:"Filipines",alpha2Code:"PH",alpha3Code:"PHL",numericCode:"608",callingCode:"+63"},{name:"Illes Pitcairn",alpha2Code:"PN",alpha3Code:"PCN",numericCode:"612",callingCode:"+64"},{name:"Pol\xf2nia",alpha2Code:"PL",alpha3Code:"POL",numericCode:"616",callingCode:"+48"},{name:"Portugal",alpha2Code:"PT",alpha3Code:"PRT",numericCode:"620",callingCode:"+351"},{name:"Puerto Rico",alpha2Code:"PR",alpha3Code:"PRI",numericCode:"630",callingCode:"+1"},{name:"Catar",alpha2Code:"QA",alpha3Code:"QAT",numericCode:"634",callingCode:"+974"},{name:"Kosovo",alpha2Code:"XK",alpha3Code:"KOS",numericCode:null,callingCode:"+383"},{name:"Reuni\xf3",alpha2Code:"RE",alpha3Code:"REU",numericCode:"638",callingCode:"+262"},{name:"Romania",alpha2Code:"RO",alpha3Code:"ROU",numericCode:"642",callingCode:"+40"},{name:"R\xfassia",alpha2Code:"RU",alpha3Code:"RUS",numericCode:"643",callingCode:"+7"},{name:"Ruanda",alpha2Code:"RW",alpha3Code:"RWA",numericCode:"646",callingCode:"+250"},{name:"Sant Bartolom\xe9",alpha2Code:"BL",alpha3Code:"BLM",numericCode:"652",callingCode:"+590"},{name:"Santa Helena",alpha2Code:"SH",alpha3Code:"SHN",numericCode:"654",callingCode:"+290"},{name:"Saint Kitts i Nevis",alpha2Code:"KN",alpha3Code:"KNA",numericCode:"659",callingCode:"+1869"},{name:"Saint Lucia",alpha2Code:"LC",alpha3Code:"LCA",numericCode:"662",callingCode:"+1758"},{name:"Saint Martin",alpha2Code:"MF",alpha3Code:"MAF",numericCode:"663",callingCode:"+590"},{name:"Sant Pierre i Miquelon",alpha2Code:"PM",alpha3Code:"SPM",numericCode:"666",callingCode:"+508"},{name:"Sant Vicent i Grenadines",alpha2Code:"VC",alpha3Code:"VCT",numericCode:"670",callingCode:"+1784"},{name:"Samoa",alpha2Code:"WS",alpha3Code:"WSM",numericCode:"882",callingCode:"+685"},{name:"San Marino",alpha2Code:"SM",alpha3Code:"SMR",numericCode:"674",callingCode:"+378"},{name:"Sao Tom\xe9 i Pr\xedncipe",alpha2Code:"ST",alpha3Code:"STP",numericCode:"678",callingCode:"+239"},{name:"Ar\xe0bia Saudita",alpha2Code:"SA",alpha3Code:"SAU",numericCode:"682",callingCode:"+966"},{name:"Senegal",alpha2Code:"SN",alpha3Code:"SEN",numericCode:"686",callingCode:"+221"},{name:"S\xe8rbia",alpha2Code:"RS",alpha3Code:"SRB",numericCode:"688",callingCode:"+381"},{name:"Seychelles",alpha2Code:"SC",alpha3Code:"SYC",numericCode:"690",callingCode:"+248"},{name:"Sierra Leone",alpha2Code:"SL",alpha3Code:"SLE",numericCode:"694",callingCode:"+232"},{name:"Singapur",alpha2Code:"SG",alpha3Code:"SGP",numericCode:"702",callingCode:"+65"},{name:"Sant Mart\xed (part holandesa)",alpha2Code:"SX",alpha3Code:"SXM",numericCode:"534",callingCode:"+1721"},{name:"Rep\xfablica Eslovaca",alpha2Code:"SK",alpha3Code:"SVK",numericCode:"703",callingCode:"+421"},{name:"Eslov\xe8nia",alpha2Code:"SI",alpha3Code:"SVN",numericCode:"705",callingCode:"+386"},{name:"Illes Salom\xf3",alpha2Code:"SB",alpha3Code:"SLB",numericCode:"090",callingCode:"+677"},{name:"Som\xe0lia",alpha2Code:"SO",alpha3Code:"SOM",numericCode:"706",callingCode:"+252"},{name:"Rep\xfablica de Sud-\xe0frica",alpha2Code:"ZA",alpha3Code:"ZAF",numericCode:"710",callingCode:"+27"},{name:"Illes G\xf2rgies del Sud i Sandvitx del Sud",alpha2Code:"GS",alpha3Code:"SGS",numericCode:"239",callingCode:"+500"},{name:"Corea del Sud",alpha2Code:"KR",alpha3Code:"KOR",numericCode:"410",callingCode:"+82"},{name:"Sudan del Sud",alpha2Code:"SS",alpha3Code:"SSD",numericCode:"728",callingCode:"+211"},{name:"Espanya",alpha2Code:"ES",alpha3Code:"ESP",numericCode:"724",callingCode:"+34"},{name:"Sri Lanka",alpha2Code:"LK",alpha3Code:"LKA",numericCode:"144",callingCode:"+94"},{name:"Sudan",alpha2Code:"SD",alpha3Code:"SDN",numericCode:"729",callingCode:"+249"},{name:"Surinam",alpha2Code:"SR",alpha3Code:"SUR",numericCode:"740",callingCode:"+597"},{name:"Illes Svalbard i Jan Mayen",alpha2Code:"SJ",alpha3Code:"SJM",numericCode:"744",callingCode:"+4779"},{name:"Swazil\xe0ndia",alpha2Code:"SZ",alpha3Code:"SWZ",numericCode:"748",callingCode:"+268"},{name:"Su\xe8cia",alpha2Code:"SE",alpha3Code:"SWE",numericCode:"752",callingCode:"+46"},{name:"Su\xefssa",alpha2Code:"CH",alpha3Code:"CHE",numericCode:"756",callingCode:"+41"},{name:"S\xedria",alpha2Code:"SY",alpha3Code:"SYR",numericCode:"760",callingCode:"+963"},{name:"Taiwan",alpha2Code:"TW",alpha3Code:"TWN",numericCode:"158",callingCode:"+886"},{name:"Tadjikistan",alpha2Code:"TJ",alpha3Code:"TJK",numericCode:"762",callingCode:"+992"},{name:"Tanz\xe0nia",alpha2Code:"TZ",alpha3Code:"TZA",numericCode:"834",callingCode:"+255"},{name:"Tail\xe0ndia",alpha2Code:"TH",alpha3Code:"THA",numericCode:"764",callingCode:"+66"},{name:"Timor-Leste",alpha2Code:"TL",alpha3Code:"TLS",numericCode:"626",callingCode:"+670"},{name:"Togo",alpha2Code:"TG",alpha3Code:"TGO",numericCode:"768",callingCode:"+228"},{name:"Illes Tokelau",alpha2Code:"TK",alpha3Code:"TKL",numericCode:"772",callingCode:"+690"},{name:"Tonga",alpha2Code:"TO",alpha3Code:"TON",numericCode:"776",callingCode:"+676"},{name:"Trinitat i Tobago",alpha2Code:"TT",alpha3Code:"TTO",numericCode:"780",callingCode:"+1868"},{name:"Tun\xedsia",alpha2Code:"TN",alpha3Code:"TUN",numericCode:"788",callingCode:"+216"},{name:"Turquia",alpha2Code:"TR",alpha3Code:"TUR",numericCode:"792",callingCode:"+90"},{name:"Turkmenistan",alpha2Code:"TM",alpha3Code:"TKM",numericCode:"795",callingCode:"+993"},{name:"Illes Turks i Caicos",alpha2Code:"TC",alpha3Code:"TCA",numericCode:"796",callingCode:"+1649"},{name:"Tuvalu",alpha2Code:"TV",alpha3Code:"TUV",numericCode:"798",callingCode:"+688"},{name:"Uganda",alpha2Code:"UG",alpha3Code:"UGA",numericCode:"800",callingCode:"+256"},{name:"Ucra\xefna",alpha2Code:"UA",alpha3Code:"UKR",numericCode:"804",callingCode:"+380"},{name:"Uni\xf3 dels Emirats \xc0rabs",alpha2Code:"AE",alpha3Code:"ARE",numericCode:"784",callingCode:"+971"},{name:"Regne Unit",alpha2Code:"GB",alpha3Code:"GBR",numericCode:"826",callingCode:"+44"},{name:"Estats Units",alpha2Code:"US",alpha3Code:"USA",numericCode:"840",callingCode:"+1"},{name:"Uruguai",alpha2Code:"UY",alpha3Code:"URY",numericCode:"858",callingCode:"+598"},{name:"Uzbekistan",alpha2Code:"UZ",alpha3Code:"UZB",numericCode:"860",callingCode:"+998"},{name:"Vanuatu",alpha2Code:"VU",alpha3Code:"VUT",numericCode:"548",callingCode:"+678"},{name:"Vene\xe7uela",alpha2Code:"VE",alpha3Code:"VEN",numericCode:"862",callingCode:"+58"},{name:"Vietnam",alpha2Code:"VN",alpha3Code:"VNM",numericCode:"704",callingCode:"+84"},{name:"Wallis i Futuna",alpha2Code:"WF",alpha3Code:"WLF",numericCode:"876",callingCode:"+681"},{name:"S\xe0hara Occidental",alpha2Code:"EH",alpha3Code:"ESH",numericCode:"732",callingCode:"+212"},{name:"Iemen",alpha2Code:"YE",alpha3Code:"YEM",numericCode:"887",callingCode:"+967"},{name:"Z\xe0mbia",alpha2Code:"ZM",alpha3Code:"ZMB",numericCode:"894",callingCode:"+260"},{name:"Zimb\xe0bue",alpha2Code:"ZW",alpha3Code:"ZWE",numericCode:"716",callingCode:"+263"}]}),q2=Object.freeze({__proto__:null,COUNTRIES_DB_EU:[{name:"Afganistan",alpha2Code:"AF",alpha3Code:"AFG",numericCode:"004",callingCode:"+93"},{name:"Alandia",alpha2Code:"AX",alpha3Code:"ALA",numericCode:"248",callingCode:"+358"},{name:"Albania",alpha2Code:"AL",alpha3Code:"ALB",numericCode:"008",callingCode:"+355"},{name:"Aljeria",alpha2Code:"DZ",alpha3Code:"DZA",numericCode:"012",callingCode:"+213"},{name:"Samoa Americana",alpha2Code:"AS",alpha3Code:"ASM",numericCode:"016",callingCode:"+1684"},{name:"Andorra",alpha2Code:"AD",alpha3Code:"AND",numericCode:"020",callingCode:"+376"},{name:"Angola",alpha2Code:"AO",alpha3Code:"AGO",numericCode:"024",callingCode:"+244"},{name:"Anguilla",alpha2Code:"AI",alpha3Code:"AIA",numericCode:"660",callingCode:"+1264"},{name:"Antartika",alpha2Code:"AQ",alpha3Code:"ATA",numericCode:"010",callingCode:"+672"},{name:"Antigua eta Barbuda",alpha2Code:"AG",alpha3Code:"ATG",numericCode:"028",callingCode:"+1268"},{name:"Argentina",alpha2Code:"AR",alpha3Code:"ARG",numericCode:"032",callingCode:"+54"},{name:"Armenia",alpha2Code:"AM",alpha3Code:"ARM",numericCode:"051",callingCode:"+374"},{name:"Aruba",alpha2Code:"AW",alpha3Code:"ABW",numericCode:"533",callingCode:"+297"},{name:"Australia",alpha2Code:"AU",alpha3Code:"AUS",numericCode:"036",callingCode:"+61"},{name:"Austria",alpha2Code:"AT",alpha3Code:"AUT",numericCode:"040",callingCode:"+43"},{name:"Azerbaijan",alpha2Code:"AZ",alpha3Code:"AZE",numericCode:"031",callingCode:"+994"},{name:"Bahamak",alpha2Code:"BS",alpha3Code:"BHS",numericCode:"044",callingCode:"+1242"},{name:"Bahrein",alpha2Code:"BH",alpha3Code:"BHR",numericCode:"048",callingCode:"+973"},{name:"Bangladesh",alpha2Code:"BD",alpha3Code:"BGD",numericCode:"050",callingCode:"+880"},{name:"Barbados",alpha2Code:"BB",alpha3Code:"BRB",numericCode:"052",callingCode:"+1246"},{name:"Bielorrusia",alpha2Code:"BY",alpha3Code:"BLR",numericCode:"112",callingCode:"+375"},{name:"Belgika",alpha2Code:"BE",alpha3Code:"BEL",numericCode:"056",callingCode:"+32"},{name:"Belice",alpha2Code:"BZ",alpha3Code:"BLZ",numericCode:"084",callingCode:"+501"},{name:"Benin",alpha2Code:"BJ",alpha3Code:"BEN",numericCode:"204",callingCode:"+229"},{name:"Bermudak",alpha2Code:"BM",alpha3Code:"BMU",numericCode:"060",callingCode:"+1441"},{name:"But\xe1n",alpha2Code:"BT",alpha3Code:"BTN",numericCode:"064",callingCode:"+975"},{name:"Bolivia",alpha2Code:"BO",alpha3Code:"BOL",numericCode:"068",callingCode:"+591"},{name:"Bonaire, Saint-Eustache eta Saba",alpha2Code:"BQ",alpha3Code:"BES",numericCode:"535",callingCode:"+5997"},{name:"Bosnia eta Herzegovina",alpha2Code:"BA",alpha3Code:"BIH",numericCode:"070",callingCode:"+387"},{name:"Botswana",alpha2Code:"BW",alpha3Code:"BWA",numericCode:"072",callingCode:"+267"},{name:"Bouvet uhartea",alpha2Code:"BV",alpha3Code:"BVT",numericCode:"074",callingCode:"+"},{name:"Brasil",alpha2Code:"BR",alpha3Code:"BRA",numericCode:"076",callingCode:"+55"},{name:"Indiako Ozeanoko Britainiar Lurraldea",alpha2Code:"IO",alpha3Code:"IOT",numericCode:"086",callingCode:"+246"},{name:"Itsasoz Haraindiko Uharte Txikiak",alpha2Code:"UM",alpha3Code:"UMI",numericCode:"581",callingCode:"+"},{name:"Erresuma Batuko Birjina Uharteak",alpha2Code:"VG",alpha3Code:"VGB",numericCode:"092",callingCode:"+1284"},{name:"Estatu Batuetako Birjina Uharteak",alpha2Code:"VI",alpha3Code:"VIR",numericCode:"850",callingCode:"+1 340"},{name:"Brunei",alpha2Code:"BN",alpha3Code:"BRN",numericCode:"096",callingCode:"+673"},{name:"Bulgaria",alpha2Code:"BG",alpha3Code:"BGR",numericCode:"100",callingCode:"+359"},{name:"Burkina Faso",alpha2Code:"BF",alpha3Code:"BFA",numericCode:"854",callingCode:"+226"},{name:"Burundi",alpha2Code:"BI",alpha3Code:"BDI",numericCode:"108",callingCode:"+257"},{name:"Kanputxea",alpha2Code:"KH",alpha3Code:"KHM",numericCode:"116",callingCode:"+855"},{name:"Kamerun",alpha2Code:"CM",alpha3Code:"CMR",numericCode:"120",callingCode:"+237"},{name:"Kanada",alpha2Code:"CA",alpha3Code:"CAN",numericCode:"124",callingCode:"+1"},{name:"Cabo Verde",alpha2Code:"CV",alpha3Code:"CPV",numericCode:"132",callingCode:"+238"},{name:"Kaiman uharteak",alpha2Code:"KY",alpha3Code:"CYM",numericCode:"136",callingCode:"+1345"},{name:"Afrika Erdiko Errepublika",alpha2Code:"CF",alpha3Code:"CAF",numericCode:"140",callingCode:"+236"},{name:"Txad",alpha2Code:"TD",alpha3Code:"TCD",numericCode:"148",callingCode:"+235"},{name:"Txile",alpha2Code:"CL",alpha3Code:"CHL",numericCode:"152",callingCode:"+56"},{name:"Txina",alpha2Code:"CN",alpha3Code:"CHN",numericCode:"156",callingCode:"+86"},{name:"Gabonetako uhartea",alpha2Code:"CX",alpha3Code:"CXR",numericCode:"162",callingCode:"+61"},{name:"Cocos uharteak edo Keeling uharteak",alpha2Code:"CC",alpha3Code:"CCK",numericCode:"166",callingCode:"+61"},{name:"Kolonbia",alpha2Code:"CO",alpha3Code:"COL",numericCode:"170",callingCode:"+57"},{name:"Komorak",alpha2Code:"KM",alpha3Code:"COM",numericCode:"174",callingCode:"+269"},{name:"Kongo",alpha2Code:"CG",alpha3Code:"COG",numericCode:"178",callingCode:"+242"},{name:"Kongo (Rep. Dem.)",alpha2Code:"CD",alpha3Code:"COD",numericCode:"180",callingCode:"+243"},{name:"Cook uharteak",alpha2Code:"CK",alpha3Code:"COK",numericCode:"184",callingCode:"+682"},{name:"Costa Rica",alpha2Code:"CR",alpha3Code:"CRI",numericCode:"188",callingCode:"+506"},{name:"Kroazia",alpha2Code:"HR",alpha3Code:"HRV",numericCode:"191",callingCode:"+385"},{name:"Kuba",alpha2Code:"CU",alpha3Code:"CUB",numericCode:"192",callingCode:"+53"},{name:"Cura\xe7ao",alpha2Code:"CW",alpha3Code:"CUW",numericCode:"531",callingCode:"+599"},{name:"Zipre",alpha2Code:"CY",alpha3Code:"CYP",numericCode:"196",callingCode:"+357"},{name:"Txekiar Errepublika",alpha2Code:"CZ",alpha3Code:"CZE",numericCode:"203",callingCode:"+420"},{name:"Danimarka",alpha2Code:"DK",alpha3Code:"DNK",numericCode:"208",callingCode:"+45"},{name:"Yibuti",alpha2Code:"DJ",alpha3Code:"DJI",numericCode:"262",callingCode:"+253"},{name:"Dominika",alpha2Code:"DM",alpha3Code:"DMA",numericCode:"212",callingCode:"+1767"},{name:"Dominikar Errepublika",alpha2Code:"DO",alpha3Code:"DOM",numericCode:"214",callingCode:"+1809"},{name:"Ekuador",alpha2Code:"EC",alpha3Code:"ECU",numericCode:"218",callingCode:"+593"},{name:"Egipto",alpha2Code:"EG",alpha3Code:"EGY",numericCode:"818",callingCode:"+20"},{name:"El Salvador",alpha2Code:"SV",alpha3Code:"SLV",numericCode:"222",callingCode:"+503"},{name:"Ekuatore Ginea",alpha2Code:"GQ",alpha3Code:"GNQ",numericCode:"226",callingCode:"+240"},{name:"Eritrea",alpha2Code:"ER",alpha3Code:"ERI",numericCode:"232",callingCode:"+291"},{name:"Estonia",alpha2Code:"EE",alpha3Code:"EST",numericCode:"233",callingCode:"+372"},{name:"Etiopia",alpha2Code:"ET",alpha3Code:"ETH",numericCode:"231",callingCode:"+251"},{name:"Malvinas Uharteak",alpha2Code:"FK",alpha3Code:"FLK",numericCode:"238",callingCode:"+500"},{name:"Faroe uharteak",alpha2Code:"FO",alpha3Code:"FRO",numericCode:"234",callingCode:"+298"},{name:"Fiyi",alpha2Code:"FJ",alpha3Code:"FJI",numericCode:"242",callingCode:"+679"},{name:"Finlandia",alpha2Code:"FI",alpha3Code:"FIN",numericCode:"246",callingCode:"+358"},{name:"Frantzia",alpha2Code:"FR",alpha3Code:"FRA",numericCode:"250",callingCode:"+33"},{name:"Guyana Frantsesa",alpha2Code:"GF",alpha3Code:"GUF",numericCode:"254",callingCode:"+594"},{name:"Polinesia Frantsesa",alpha2Code:"PF",alpha3Code:"PYF",numericCode:"258",callingCode:"+689"},{name:"Frantziako Lurralde Australak eta Antartikoak",alpha2Code:"TF",alpha3Code:"ATF",numericCode:"260",callingCode:"+"},{name:"Gabon",alpha2Code:"GA",alpha3Code:"GAB",numericCode:"266",callingCode:"+241"},{name:"Gambia",alpha2Code:"GM",alpha3Code:"GMB",numericCode:"270",callingCode:"+220"},{name:"Georgia",alpha2Code:"GE",alpha3Code:"GEO",numericCode:"268",callingCode:"+995"},{name:"Alemania",alpha2Code:"DE",alpha3Code:"DEU",numericCode:"276",callingCode:"+49"},{name:"Ghana",alpha2Code:"GH",alpha3Code:"GHA",numericCode:"288",callingCode:"+233"},{name:"Gibraltar",alpha2Code:"GI",alpha3Code:"GIB",numericCode:"292",callingCode:"+350"},{name:"Grezia",alpha2Code:"GR",alpha3Code:"GRC",numericCode:"300",callingCode:"+30"},{name:"Groenlandia",alpha2Code:"GL",alpha3Code:"GRL",numericCode:"304",callingCode:"+299"},{name:"Grenada",alpha2Code:"GD",alpha3Code:"GRD",numericCode:"308",callingCode:"+1473"},{name:"Guadalupe",alpha2Code:"GP",alpha3Code:"GLP",numericCode:"312",callingCode:"+590"},{name:"Guam",alpha2Code:"GU",alpha3Code:"GUM",numericCode:"316",callingCode:"+1671"},{name:"Guatemala",alpha2Code:"GT",alpha3Code:"GTM",numericCode:"320",callingCode:"+502"},{name:"Guernsey",alpha2Code:"GG",alpha3Code:"GGY",numericCode:"831",callingCode:"+44"},{name:"Ginea",alpha2Code:"GN",alpha3Code:"GIN",numericCode:"324",callingCode:"+224"},{name:"Ginea-Bisau",alpha2Code:"GW",alpha3Code:"GNB",numericCode:"624",callingCode:"+245"},{name:"Guyana",alpha2Code:"GY",alpha3Code:"GUY",numericCode:"328",callingCode:"+592"},{name:"Haiti",alpha2Code:"HT",alpha3Code:"HTI",numericCode:"332",callingCode:"+509"},{name:"Heard eta McDonald uharteak",alpha2Code:"HM",alpha3Code:"HMD",numericCode:"334",callingCode:"+"},{name:"Egoitza Santua",alpha2Code:"VA",alpha3Code:"VAT",numericCode:"336",callingCode:"+379"},{name:"Honduras",alpha2Code:"HN",alpha3Code:"HND",numericCode:"340",callingCode:"+504"},{name:"Hong Kong",alpha2Code:"HK",alpha3Code:"HKG",numericCode:"344",callingCode:"+852"},{name:"Hungaria",alpha2Code:"HU",alpha3Code:"HUN",numericCode:"348",callingCode:"+36"},{name:"Islandia",alpha2Code:"IS",alpha3Code:"ISL",numericCode:"352",callingCode:"+354"},{name:"India",alpha2Code:"IN",alpha3Code:"IND",numericCode:"356",callingCode:"+91"},{name:"Indonesia",alpha2Code:"ID",alpha3Code:"IDN",numericCode:"360",callingCode:"+62"},{name:"Boli Kosta",alpha2Code:"CI",alpha3Code:"CIV",numericCode:"384",callingCode:"+225"},{name:"Iran",alpha2Code:"IR",alpha3Code:"IRN",numericCode:"364",callingCode:"+98"},{name:"Irak",alpha2Code:"IQ",alpha3Code:"IRQ",numericCode:"368",callingCode:"+964"},{name:"Irlanda",alpha2Code:"IE",alpha3Code:"IRL",numericCode:"372",callingCode:"+353"},{name:"Man uhartea",alpha2Code:"IM",alpha3Code:"IMN",numericCode:"833",callingCode:"+44"},{name:"Israel",alpha2Code:"IL",alpha3Code:"ISR",numericCode:"376",callingCode:"+972"},{name:"Italia",alpha2Code:"IT",alpha3Code:"ITA",numericCode:"380",callingCode:"+39"},{name:"Jamaika",alpha2Code:"JM",alpha3Code:"JAM",numericCode:"388",callingCode:"+1876"},{name:"Japonia",alpha2Code:"JP",alpha3Code:"JPN",numericCode:"392",callingCode:"+81"},{name:"Jersey",alpha2Code:"JE",alpha3Code:"JEY",numericCode:"832",callingCode:"+44"},{name:"Jordania",alpha2Code:"JO",alpha3Code:"JOR",numericCode:"400",callingCode:"+962"},{name:"Kazakhstan",alpha2Code:"KZ",alpha3Code:"KAZ",numericCode:"398",callingCode:"+7"},{name:"Kenya",alpha2Code:"KE",alpha3Code:"KEN",numericCode:"404",callingCode:"+254"},{name:"Kiribati",alpha2Code:"KI",alpha3Code:"KIR",numericCode:"296",callingCode:"+686"},{name:"Kuwait",alpha2Code:"KW",alpha3Code:"KWT",numericCode:"414",callingCode:"+965"},{name:"Kirgizistan",alpha2Code:"KG",alpha3Code:"KGZ",numericCode:"417",callingCode:"+996"},{name:"Laos",alpha2Code:"LA",alpha3Code:"LAO",numericCode:"418",callingCode:"+856"},{name:"Letonia",alpha2Code:"LV",alpha3Code:"LVA",numericCode:"428",callingCode:"+371"},{name:"Libano",alpha2Code:"LB",alpha3Code:"LBN",numericCode:"422",callingCode:"+961"},{name:"Lesotho",alpha2Code:"LS",alpha3Code:"LSO",numericCode:"426",callingCode:"+266"},{name:"Liberia",alpha2Code:"LR",alpha3Code:"LBR",numericCode:"430",callingCode:"+231"},{name:"Libia",alpha2Code:"LY",alpha3Code:"LBY",numericCode:"434",callingCode:"+218"},{name:"Liechtenstein",alpha2Code:"LI",alpha3Code:"LIE",numericCode:"438",callingCode:"+423"},{name:"Lituania",alpha2Code:"LT",alpha3Code:"LTU",numericCode:"440",callingCode:"+370"},{name:"Luxenburgo",alpha2Code:"LU",alpha3Code:"LUX",numericCode:"442",callingCode:"+352"},{name:"Macao",alpha2Code:"MO",alpha3Code:"MAC",numericCode:"446",callingCode:"+853"},{name:"Mazedonia",alpha2Code:"MK",alpha3Code:"MKD",numericCode:"807",callingCode:"+389"},{name:"Madagaskar",alpha2Code:"MG",alpha3Code:"MDG",numericCode:"450",callingCode:"+261"},{name:"Malawi",alpha2Code:"MW",alpha3Code:"MWI",numericCode:"454",callingCode:"+265"},{name:"Malaysia",alpha2Code:"MY",alpha3Code:"MYS",numericCode:"458",callingCode:"+60"},{name:"Maldivak",alpha2Code:"MV",alpha3Code:"MDV",numericCode:"462",callingCode:"+960"},{name:"Mali",alpha2Code:"ML",alpha3Code:"MLI",numericCode:"466",callingCode:"+223"},{name:"Malta",alpha2Code:"MT",alpha3Code:"MLT",numericCode:"470",callingCode:"+356"},{name:"Marshall uharteak",alpha2Code:"MH",alpha3Code:"MHL",numericCode:"584",callingCode:"+692"},{name:"Martinika",alpha2Code:"MQ",alpha3Code:"MTQ",numericCode:"474",callingCode:"+596"},{name:"Mauritania",alpha2Code:"MR",alpha3Code:"MRT",numericCode:"478",callingCode:"+222"},{name:"Maurizio",alpha2Code:"MU",alpha3Code:"MUS",numericCode:"480",callingCode:"+230"},{name:"Mayotte",alpha2Code:"YT",alpha3Code:"MYT",numericCode:"175",callingCode:"+262"},{name:"Mexiko",alpha2Code:"MX",alpha3Code:"MEX",numericCode:"484",callingCode:"+52"},{name:"Mikronesia",alpha2Code:"FM",alpha3Code:"FSM",numericCode:"583",callingCode:"+691"},{name:"Moldavia",alpha2Code:"MD",alpha3Code:"MDA",numericCode:"498",callingCode:"+373"},{name:"Monako",alpha2Code:"MC",alpha3Code:"MCO",numericCode:"492",callingCode:"+377"},{name:"Mongolia",alpha2Code:"MN",alpha3Code:"MNG",numericCode:"496",callingCode:"+976"},{name:"Montenegro",alpha2Code:"ME",alpha3Code:"MNE",numericCode:"499",callingCode:"+382"},{name:"Montserrat",alpha2Code:"MS",alpha3Code:"MSR",numericCode:"500",callingCode:"+1664"},{name:"Maroko",alpha2Code:"MA",alpha3Code:"MAR",numericCode:"504",callingCode:"+212"},{name:"Mozambike",alpha2Code:"MZ",alpha3Code:"MOZ",numericCode:"508",callingCode:"+258"},{name:"Myanmar",alpha2Code:"MM",alpha3Code:"MMR",numericCode:"104",callingCode:"+95"},{name:"Namibia",alpha2Code:"NA",alpha3Code:"NAM",numericCode:"516",callingCode:"+264"},{name:"Nauru",alpha2Code:"NR",alpha3Code:"NRU",numericCode:"520",callingCode:"+674"},{name:"Nepal",alpha2Code:"NP",alpha3Code:"NPL",numericCode:"524",callingCode:"+977"},{name:"Herbehereak",alpha2Code:"NL",alpha3Code:"NLD",numericCode:"528",callingCode:"+31"},{name:"Kaledonia Berria",alpha2Code:"NC",alpha3Code:"NCL",numericCode:"540",callingCode:"+687"},{name:"Zeelanda Berria",alpha2Code:"NZ",alpha3Code:"NZL",numericCode:"554",callingCode:"+64"},{name:"Nikaragua",alpha2Code:"NI",alpha3Code:"NIC",numericCode:"558",callingCode:"+505"},{name:"Niger",alpha2Code:"NE",alpha3Code:"NER",numericCode:"562",callingCode:"+227"},{name:"Nigeria",alpha2Code:"NG",alpha3Code:"NGA",numericCode:"566",callingCode:"+234"},{name:"Niue",alpha2Code:"NU",alpha3Code:"NIU",numericCode:"570",callingCode:"+683"},{name:"Norfolk uhartea",alpha2Code:"NF",alpha3Code:"NFK",numericCode:"574",callingCode:"+672"},{name:"Ipar Korea",alpha2Code:"KP",alpha3Code:"PRK",numericCode:"408",callingCode:"+850"},{name:"Iparraldeko Mariana Uharteak",alpha2Code:"MP",alpha3Code:"MNP",numericCode:"580",callingCode:"+1670"},{name:"Norvegia",alpha2Code:"NO",alpha3Code:"NOR",numericCode:"578",callingCode:"+47"},{name:"Oman",alpha2Code:"OM",alpha3Code:"OMN",numericCode:"512",callingCode:"+968"},{name:"Pakistan",alpha2Code:"PK",alpha3Code:"PAK",numericCode:"586",callingCode:"+92"},{name:"Palau",alpha2Code:"PW",alpha3Code:"PLW",numericCode:"585",callingCode:"+680"},{name:"Palestina",alpha2Code:"PS",alpha3Code:"PSE",numericCode:"275",callingCode:"+970"},{name:"Panama",alpha2Code:"PA",alpha3Code:"PAN",numericCode:"591",callingCode:"+507"},{name:"Papua Ginea Berria",alpha2Code:"PG",alpha3Code:"PNG",numericCode:"598",callingCode:"+675"},{name:"Paraguai",alpha2Code:"PY",alpha3Code:"PRY",numericCode:"600",callingCode:"+595"},{name:"Peru",alpha2Code:"PE",alpha3Code:"PER",numericCode:"604",callingCode:"+51"},{name:"Filipinak",alpha2Code:"PH",alpha3Code:"PHL",numericCode:"608",callingCode:"+63"},{name:"Pitcairn uharteak",alpha2Code:"PN",alpha3Code:"PCN",numericCode:"612",callingCode:"+64"},{name:"Polonia",alpha2Code:"PL",alpha3Code:"POL",numericCode:"616",callingCode:"+48"},{name:"Portugal",alpha2Code:"PT",alpha3Code:"PRT",numericCode:"620",callingCode:"+351"},{name:"Puerto Rico",alpha2Code:"PR",alpha3Code:"PRI",numericCode:"630",callingCode:"+1"},{name:"Qatar",alpha2Code:"QA",alpha3Code:"QAT",numericCode:"634",callingCode:"+974"},{name:"Kosovo",alpha2Code:"XK",alpha3Code:"KOS",numericCode:null,callingCode:"+383"},{name:"Bilera",alpha2Code:"RE",alpha3Code:"REU",numericCode:"638",callingCode:"+262"},{name:"Errumania",alpha2Code:"RO",alpha3Code:"ROU",numericCode:"642",callingCode:"+40"},{name:"Errusia",alpha2Code:"RU",alpha3Code:"RUS",numericCode:"643",callingCode:"+7"},{name:"Ruanda",alpha2Code:"RW",alpha3Code:"RWA",numericCode:"646",callingCode:"+250"},{name:"San Bartolome",alpha2Code:"BL",alpha3Code:"BLM",numericCode:"652",callingCode:"+590"},{name:"Santa Helena",alpha2Code:"SH",alpha3Code:"SHN",numericCode:"654",callingCode:"+290"},{name:"San Kristobal eta Nieves",alpha2Code:"KN",alpha3Code:"KNA",numericCode:"659",callingCode:"+1869"},{name:"Santa Luzia",alpha2Code:"LC",alpha3Code:"LCA",numericCode:"662",callingCode:"+1758"},{name:"Saint Martin",alpha2Code:"MF",alpha3Code:"MAF",numericCode:"663",callingCode:"+590"},{name:"San Pedro eta Miquelon",alpha2Code:"PM",alpha3Code:"SPM",numericCode:"666",callingCode:"+508"},{name:"San Bizente eta Granadinak",alpha2Code:"VC",alpha3Code:"VCT",numericCode:"670",callingCode:"+1784"},{name:"Samoa",alpha2Code:"WS",alpha3Code:"WSM",numericCode:"882",callingCode:"+685"},{name:"San Marino",alpha2Code:"SM",alpha3Code:"SMR",numericCode:"674",callingCode:"+378"},{name:"Santo Tomas eta Printzea",alpha2Code:"ST",alpha3Code:"STP",numericCode:"678",callingCode:"+239"},{name:"Saudi Arabia",alpha2Code:"SA",alpha3Code:"SAU",numericCode:"682",callingCode:"+966"},{name:"Senegal",alpha2Code:"SN",alpha3Code:"SEN",numericCode:"686",callingCode:"+221"},{name:"Serbia",alpha2Code:"RS",alpha3Code:"SRB",numericCode:"688",callingCode:"+381"},{name:"Seychelleak",alpha2Code:"SC",alpha3Code:"SYC",numericCode:"690",callingCode:"+248"},{name:"Sierra Leone",alpha2Code:"SL",alpha3Code:"SLE",numericCode:"694",callingCode:"+232"},{name:"Singapur",alpha2Code:"SG",alpha3Code:"SGP",numericCode:"702",callingCode:"+65"},{name:"San Martin (Holandako zatia)",alpha2Code:"SX",alpha3Code:"SXM",numericCode:"534",callingCode:"+1721"},{name:"Eslovakiar Errepublika",alpha2Code:"SK",alpha3Code:"SVK",numericCode:"703",callingCode:"+421"},{name:"Eslovenia",alpha2Code:"SI",alpha3Code:"SVN",numericCode:"705",callingCode:"+386"},{name:"Salomon uharteak",alpha2Code:"SB",alpha3Code:"SLB",numericCode:"090",callingCode:"+677"},{name:"Somalia",alpha2Code:"SO",alpha3Code:"SOM",numericCode:"706",callingCode:"+252"},{name:"Hegoafrikako Errepublika",alpha2Code:"ZA",alpha3Code:"ZAF",numericCode:"710",callingCode:"+27"},{name:"Hego Georgia eta Hego Sandwich uharteak",alpha2Code:"GS",alpha3Code:"SGS",numericCode:"239",callingCode:"+500"},{name:"Hego Korea",alpha2Code:"KR",alpha3Code:"KOR",numericCode:"410",callingCode:"+82"},{name:"Hego Sudan",alpha2Code:"SS",alpha3Code:"SSD",numericCode:"728",callingCode:"+211"},{name:"Espainia",alpha2Code:"ES",alpha3Code:"ESP",numericCode:"724",callingCode:"+34"},{name:"Sri Lanka",alpha2Code:"LK",alpha3Code:"LKA",numericCode:"144",callingCode:"+94"},{name:"Sudan",alpha2Code:"SD",alpha3Code:"SDN",numericCode:"729",callingCode:"+249"},{name:"Surinam",alpha2Code:"SR",alpha3Code:"SUR",numericCode:"740",callingCode:"+597"},{name:"Svalbard eta Jan Mayen uharteak",alpha2Code:"SJ",alpha3Code:"SJM",numericCode:"744",callingCode:"+4779"},{name:"Suazilandia",alpha2Code:"SZ",alpha3Code:"SWZ",numericCode:"748",callingCode:"+268"},{name:"Suedia",alpha2Code:"SE",alpha3Code:"SWE",numericCode:"752",callingCode:"+46"},{name:"Suitza",alpha2Code:"CH",alpha3Code:"CHE",numericCode:"756",callingCode:"+41"},{name:"Siria",alpha2Code:"SY",alpha3Code:"SYR",numericCode:"760",callingCode:"+963"},{name:"Taiwan",alpha2Code:"TW",alpha3Code:"TWN",numericCode:"158",callingCode:"+886"},{name:"Tajikistan",alpha2Code:"TJ",alpha3Code:"TJK",numericCode:"762",callingCode:"+992"},{name:"Tanzania",alpha2Code:"TZ",alpha3Code:"TZA",numericCode:"834",callingCode:"+255"},{name:"Thailandia",alpha2Code:"TH",alpha3Code:"THA",numericCode:"764",callingCode:"+66"},{name:"Ekialdeko Timor",alpha2Code:"TL",alpha3Code:"TLS",numericCode:"626",callingCode:"+670"},{name:"Togo",alpha2Code:"TG",alpha3Code:"TGO",numericCode:"768",callingCode:"+228"},{name:"Tokelau uharteak",alpha2Code:"TK",alpha3Code:"TKL",numericCode:"772",callingCode:"+690"},{name:"Tonga",alpha2Code:"TO",alpha3Code:"TON",numericCode:"776",callingCode:"+676"},{name:"Trinidad eta Tobago",alpha2Code:"TT",alpha3Code:"TTO",numericCode:"780",callingCode:"+1868"},{name:"Tunisia",alpha2Code:"TN",alpha3Code:"TUN",numericCode:"788",callingCode:"+216"},{name:"Turkia",alpha2Code:"TR",alpha3Code:"TUR",numericCode:"792",callingCode:"+90"},{name:"Turkmenistan",alpha2Code:"TM",alpha3Code:"TKM",numericCode:"795",callingCode:"+993"},{name:"Turks eta Caicos uharteak",alpha2Code:"TC",alpha3Code:"TCA",numericCode:"796",callingCode:"+1649"},{name:"Tuvalu",alpha2Code:"TV",alpha3Code:"TUV",numericCode:"798",callingCode:"+688"},{name:"Uganda",alpha2Code:"UG",alpha3Code:"UGA",numericCode:"800",callingCode:"+256"},{name:"Ukraina",alpha2Code:"UA",alpha3Code:"UKR",numericCode:"804",callingCode:"+380"},{name:"Arabiar Emirerri Batuak",alpha2Code:"AE",alpha3Code:"ARE",numericCode:"784",callingCode:"+971"},{name:"Erresuma Batua",alpha2Code:"GB",alpha3Code:"GBR",numericCode:"826",callingCode:"+44"},{name:"Estatu Batuak",alpha2Code:"US",alpha3Code:"USA",numericCode:"840",callingCode:"+1"},{name:"Uruguai",alpha2Code:"UY",alpha3Code:"URY",numericCode:"858",callingCode:"+598"},{name:"Uzbekistan",alpha2Code:"UZ",alpha3Code:"UZB",numericCode:"860",callingCode:"+998"},{name:"Vanuatu",alpha2Code:"VU",alpha3Code:"VUT",numericCode:"548",callingCode:"+678"},{name:"Venezuela",alpha2Code:"VE",alpha3Code:"VEN",numericCode:"862",callingCode:"+58"},{name:"Vietnam",alpha2Code:"VN",alpha3Code:"VNM",numericCode:"704",callingCode:"+84"},{name:"Wallis eta Futuna",alpha2Code:"WF",alpha3Code:"WLF",numericCode:"876",callingCode:"+681"},{name:"Mendebaldeko Sahara",alpha2Code:"EH",alpha3Code:"ESH",numericCode:"732",callingCode:"+212"},{name:"Yemen",alpha2Code:"YE",alpha3Code:"YEM",numericCode:"887",callingCode:"+967"},{name:"Zambia",alpha2Code:"ZM",alpha3Code:"ZMB",numericCode:"894",callingCode:"+260"},{name:"Zimbabwe",alpha2Code:"ZW",alpha3Code:"ZWE",numericCode:"716",callingCode:"+263"}]}),J2=Object.freeze({__proto__:null,COUNTRIES_DB_NL:[{name:"Afghanistan",alpha2Code:"AF",alpha3Code:"AFG",numericCode:"004",callingCode:"+93"},{name:"\xc5landeilanden",alpha2Code:"AX",alpha3Code:"ALA",numericCode:"248",callingCode:"+358"},{name:"Albani\xeb",alpha2Code:"AL",alpha3Code:"ALB",numericCode:"008",callingCode:"+355"},{name:"Algerije",alpha2Code:"DZ",alpha3Code:"DZA",numericCode:"012",callingCode:"+213"},{name:"Amerikaans Samoa",alpha2Code:"AS",alpha3Code:"ASM",numericCode:"016",callingCode:"+1684"},{name:"Andorra",alpha2Code:"AD",alpha3Code:"AND",numericCode:"020",callingCode:"+376"},{name:"Angola",alpha2Code:"AO",alpha3Code:"AGO",numericCode:"024",callingCode:"+244"},{name:"Anguilla",alpha2Code:"AI",alpha3Code:"AIA",numericCode:"660",callingCode:"+1264"},{name:"Antarctica",alpha2Code:"AQ",alpha3Code:"ATA",numericCode:"010",callingCode:"+672"},{name:"Antigua en Barbuda",alpha2Code:"AG",alpha3Code:"ATG",numericCode:"028",callingCode:"+1268"},{name:"Argentini\xeb",alpha2Code:"AR",alpha3Code:"ARG",numericCode:"032",callingCode:"+54"},{name:"Armeni\xeb",alpha2Code:"AM",alpha3Code:"ARM",numericCode:"051",callingCode:"+374"},{name:"Aruba",alpha2Code:"AW",alpha3Code:"ABW",numericCode:"533",callingCode:"+297"},{name:"Australi\xeb",alpha2Code:"AU",alpha3Code:"AUS",numericCode:"036",callingCode:"+61"},{name:"Oostenrijk",alpha2Code:"AT",alpha3Code:"AUT",numericCode:"040",callingCode:"+43"},{name:"Azerbeidzjan",alpha2Code:"AZ",alpha3Code:"AZE",numericCode:"031",callingCode:"+994"},{name:"Bahama\u2019s",alpha2Code:"BS",alpha3Code:"BHS",numericCode:"044",callingCode:"+1242"},{name:"Bahrein",alpha2Code:"BH",alpha3Code:"BHR",numericCode:"048",callingCode:"+973"},{name:"Bangladesh",alpha2Code:"BD",alpha3Code:"BGD",numericCode:"050",callingCode:"+880"},{name:"Barbados",alpha2Code:"BB",alpha3Code:"BRB",numericCode:"052",callingCode:"+1246"},{name:"Wit-Rusland",alpha2Code:"BY",alpha3Code:"BLR",numericCode:"112",callingCode:"+375"},{name:"Belgi\xeb",alpha2Code:"BE",alpha3Code:"BEL",numericCode:"056",callingCode:"+32"},{name:"Belize",alpha2Code:"BZ",alpha3Code:"BLZ",numericCode:"084",callingCode:"+501"},{name:"Benin",alpha2Code:"BJ",alpha3Code:"BEN",numericCode:"204",callingCode:"+229"},{name:"Bermuda",alpha2Code:"BM",alpha3Code:"BMU",numericCode:"060",callingCode:"+1441"},{name:"Bhutan",alpha2Code:"BT",alpha3Code:"BTN",numericCode:"064",callingCode:"+975"},{name:"Bolivia",alpha2Code:"BO",alpha3Code:"BOL",numericCode:"068",callingCode:"+591"},{name:"Bonaire, Sint Eustatius en Saba",alpha2Code:"BQ",alpha3Code:"BES",numericCode:"535",callingCode:"+5997"},{name:"Bosni\xeb en Herzegovina",alpha2Code:"BA",alpha3Code:"BIH",numericCode:"070",callingCode:"+387"},{name:"Botswana",alpha2Code:"BW",alpha3Code:"BWA",numericCode:"072",callingCode:"+267"},{name:"Bouveteiland",alpha2Code:"BV",alpha3Code:"BVT",numericCode:"074",callingCode:"+"},{name:"Brazili\xeb",alpha2Code:"BR",alpha3Code:"BRA",numericCode:"076",callingCode:"+55"},{name:"Britse Gebieden in de Indische Oceaan",alpha2Code:"IO",alpha3Code:"IOT",numericCode:"086",callingCode:"+246"},{name:"Kleine afgelegen eilanden van de Verenigde Staten",alpha2Code:"UM",alpha3Code:"UMI",numericCode:"581",callingCode:"+"},{name:"Britse Maagdeneilanden",alpha2Code:"VG",alpha3Code:"VGB",numericCode:"092",callingCode:"+1284"},{name:"Verenigde Staten Maagdeneilanden",alpha2Code:"VI",alpha3Code:"VIR",numericCode:"850",callingCode:"+1 340"},{name:"Brunei",alpha2Code:"BN",alpha3Code:"BRN",numericCode:"096",callingCode:"+673"},{name:"Bulgarije",alpha2Code:"BG",alpha3Code:"BGR",numericCode:"100",callingCode:"+359"},{name:"Burkina Faso",alpha2Code:"BF",alpha3Code:"BFA",numericCode:"854",callingCode:"+226"},{name:"Burundi",alpha2Code:"BI",alpha3Code:"BDI",numericCode:"108",callingCode:"+257"},{name:"Cambodja",alpha2Code:"KH",alpha3Code:"KHM",numericCode:"116",callingCode:"+855"},{name:"Kameroen",alpha2Code:"CM",alpha3Code:"CMR",numericCode:"120",callingCode:"+237"},{name:"Canada",alpha2Code:"CA",alpha3Code:"CAN",numericCode:"124",callingCode:"+1"},{name:"Kaapverdi\xeb",alpha2Code:"CV",alpha3Code:"CPV",numericCode:"132",callingCode:"+238"},{name:"Caymaneilanden",alpha2Code:"KY",alpha3Code:"CYM",numericCode:"136",callingCode:"+1345"},{name:"Centraal-Afrikaanse Republiek",alpha2Code:"CF",alpha3Code:"CAF",numericCode:"140",callingCode:"+236"},{name:"Tsjaad",alpha2Code:"TD",alpha3Code:"TCD",numericCode:"148",callingCode:"+235"},{name:"Chili",alpha2Code:"CL",alpha3Code:"CHL",numericCode:"152",callingCode:"+56"},{name:"China",alpha2Code:"CN",alpha3Code:"CHN",numericCode:"156",callingCode:"+86"},{name:"Christmaseiland",alpha2Code:"CX",alpha3Code:"CXR",numericCode:"162",callingCode:"+61"},{name:"Cocoseilanden",alpha2Code:"CC",alpha3Code:"CCK",numericCode:"166",callingCode:"+61"},{name:"Colombia",alpha2Code:"CO",alpha3Code:"COL",numericCode:"170",callingCode:"+57"},{name:"Comoren",alpha2Code:"KM",alpha3Code:"COM",numericCode:"174",callingCode:"+269"},{name:"Congo [Republiek]",alpha2Code:"CG",alpha3Code:"COG",numericCode:"178",callingCode:"+242"},{name:"Congo [DRC]",alpha2Code:"CD",alpha3Code:"COD",numericCode:"180",callingCode:"+243"},{name:"Cookeilanden",alpha2Code:"CK",alpha3Code:"COK",numericCode:"184",callingCode:"+682"},{name:"Costa Rica",alpha2Code:"CR",alpha3Code:"CRI",numericCode:"188",callingCode:"+506"},{name:"Kroati\xeb",alpha2Code:"HR",alpha3Code:"HRV",numericCode:"191",callingCode:"+385"},{name:"Cuba",alpha2Code:"CU",alpha3Code:"CUB",numericCode:"192",callingCode:"+53"},{name:"Cura\xe7ao",alpha2Code:"CW",alpha3Code:"CUW",numericCode:"531",callingCode:"+599"},{name:"Cyprus",alpha2Code:"CY",alpha3Code:"CYP",numericCode:"196",callingCode:"+357"},{name:"Tsjechi\xeb",alpha2Code:"CZ",alpha3Code:"CZE",numericCode:"203",callingCode:"+420"},{name:"Denemarken",alpha2Code:"DK",alpha3Code:"DNK",numericCode:"208",callingCode:"+45"},{name:"Djibouti",alpha2Code:"DJ",alpha3Code:"DJI",numericCode:"262",callingCode:"+253"},{name:"Dominica",alpha2Code:"DM",alpha3Code:"DMA",numericCode:"212",callingCode:"+1767"},{name:"Dominicaanse Republiek",alpha2Code:"DO",alpha3Code:"DOM",numericCode:"214",callingCode:"+1809"},{name:"Ecuador",alpha2Code:"EC",alpha3Code:"ECU",numericCode:"218",callingCode:"+593"},{name:"Egypte",alpha2Code:"EG",alpha3Code:"EGY",numericCode:"818",callingCode:"+20"},{name:"El Salvador",alpha2Code:"SV",alpha3Code:"SLV",numericCode:"222",callingCode:"+503"},{name:"Equatoriaal-Guinea",alpha2Code:"GQ",alpha3Code:"GNQ",numericCode:"226",callingCode:"+240"},{name:"Eritrea",alpha2Code:"ER",alpha3Code:"ERI",numericCode:"232",callingCode:"+291"},{name:"Estland",alpha2Code:"EE",alpha3Code:"EST",numericCode:"233",callingCode:"+372"},{name:"Ethiopi\xeb",alpha2Code:"ET",alpha3Code:"ETH",numericCode:"231",callingCode:"+251"},{name:"Falklandeilanden [Islas Malvinas]",alpha2Code:"FK",alpha3Code:"FLK",numericCode:"238",callingCode:"+500"},{name:"Faer\xf6er",alpha2Code:"FO",alpha3Code:"FRO",numericCode:"234",callingCode:"+298"},{name:"Fiji",alpha2Code:"FJ",alpha3Code:"FJI",numericCode:"242",callingCode:"+679"},{name:"Finland",alpha2Code:"FI",alpha3Code:"FIN",numericCode:"246",callingCode:"+358"},{name:"Frankrijk",alpha2Code:"FR",alpha3Code:"FRA",numericCode:"250",callingCode:"+33"},{name:"Frans-Guyana",alpha2Code:"GF",alpha3Code:"GUF",numericCode:"254",callingCode:"+594"},{name:"Frans-Polynesi\xeb",alpha2Code:"PF",alpha3Code:"PYF",numericCode:"258",callingCode:"+689"},{name:"Franse Gebieden in de zuidelijke Indische Oceaan",alpha2Code:"TF",alpha3Code:"ATF",numericCode:"260",callingCode:"+"},{name:"Gabon",alpha2Code:"GA",alpha3Code:"GAB",numericCode:"266",callingCode:"+241"},{name:"Gambia",alpha2Code:"GM",alpha3Code:"GMB",numericCode:"270",callingCode:"+220"},{name:"Georgi\xeb",alpha2Code:"GE",alpha3Code:"GEO",numericCode:"268",callingCode:"+995"},{name:"Duitsland",alpha2Code:"DE",alpha3Code:"DEU",numericCode:"276",callingCode:"+49"},{name:"Ghana",alpha2Code:"GH",alpha3Code:"GHA",numericCode:"288",callingCode:"+233"},{name:"Gibraltar",alpha2Code:"GI",alpha3Code:"GIB",numericCode:"292",callingCode:"+350"},{name:"Griekenland",alpha2Code:"GR",alpha3Code:"GRC",numericCode:"300",callingCode:"+30"},{name:"Groenland",alpha2Code:"GL",alpha3Code:"GRL",numericCode:"304",callingCode:"+299"},{name:"Grenada",alpha2Code:"GD",alpha3Code:"GRD",numericCode:"308",callingCode:"+1473"},{name:"Guadeloupe",alpha2Code:"GP",alpha3Code:"GLP",numericCode:"312",callingCode:"+590"},{name:"Guam",alpha2Code:"GU",alpha3Code:"GUM",numericCode:"316",callingCode:"+1671"},{name:"Guatemala",alpha2Code:"GT",alpha3Code:"GTM",numericCode:"320",callingCode:"+502"},{name:"Guernsey",alpha2Code:"GG",alpha3Code:"GGY",numericCode:"831",callingCode:"+44"},{name:"Guinee",alpha2Code:"GN",alpha3Code:"GIN",numericCode:"324",callingCode:"+224"},{name:"Guinee-Bissau",alpha2Code:"GW",alpha3Code:"GNB",numericCode:"624",callingCode:"+245"},{name:"Guyana",alpha2Code:"GY",alpha3Code:"GUY",numericCode:"328",callingCode:"+592"},{name:"Ha\xefti",alpha2Code:"HT",alpha3Code:"HTI",numericCode:"332",callingCode:"+509"},{name:"Heard- en McDonaldeilanden",alpha2Code:"HM",alpha3Code:"HMD",numericCode:"334",callingCode:"+"},{name:"Heilige Stoel",alpha2Code:"VA",alpha3Code:"VAT",numericCode:"336",callingCode:"+379"},{name:"Honduras",alpha2Code:"HN",alpha3Code:"HND",numericCode:"340",callingCode:"+504"},{name:"Hongkong",alpha2Code:"HK",alpha3Code:"HKG",numericCode:"344",callingCode:"+852"},{name:"Hongarije",alpha2Code:"HU",alpha3Code:"HUN",numericCode:"348",callingCode:"+36"},{name:"IJsland",alpha2Code:"IS",alpha3Code:"ISL",numericCode:"352",callingCode:"+354"},{name:"India",alpha2Code:"IN",alpha3Code:"IND",numericCode:"356",callingCode:"+91"},{name:"Indonesi\xeb",alpha2Code:"ID",alpha3Code:"IDN",numericCode:"360",callingCode:"+62"},{name:"Ivoorkust",alpha2Code:"CI",alpha3Code:"CIV",numericCode:"384",callingCode:"+225"},{name:"Iran",alpha2Code:"IR",alpha3Code:"IRN",numericCode:"364",callingCode:"+98"},{name:"Irak",alpha2Code:"IQ",alpha3Code:"IRQ",numericCode:"368",callingCode:"+964"},{name:"Ierland",alpha2Code:"IE",alpha3Code:"IRL",numericCode:"372",callingCode:"+353"},{name:"Isle of Man",alpha2Code:"IM",alpha3Code:"IMN",numericCode:"833",callingCode:"+44"},{name:"Isra\xebl",alpha2Code:"IL",alpha3Code:"ISR",numericCode:"376",callingCode:"+972"},{name:"Itali\xeb",alpha2Code:"IT",alpha3Code:"ITA",numericCode:"380",callingCode:"+39"},{name:"Jamaica",alpha2Code:"JM",alpha3Code:"JAM",numericCode:"388",callingCode:"+1876"},{name:"Japan",alpha2Code:"JP",alpha3Code:"JPN",numericCode:"392",callingCode:"+81"},{name:"Jersey",alpha2Code:"JE",alpha3Code:"JEY",numericCode:"832",callingCode:"+44"},{name:"Jordani\xeb",alpha2Code:"JO",alpha3Code:"JOR",numericCode:"400",callingCode:"+962"},{name:"Kazachstan",alpha2Code:"KZ",alpha3Code:"KAZ",numericCode:"398",callingCode:"+7"},{name:"Kenia",alpha2Code:"KE",alpha3Code:"KEN",numericCode:"404",callingCode:"+254"},{name:"Kiribati",alpha2Code:"KI",alpha3Code:"KIR",numericCode:"296",callingCode:"+686"},{name:"Koeweit",alpha2Code:"KW",alpha3Code:"KWT",numericCode:"414",callingCode:"+965"},{name:"Kirgizi\xeb",alpha2Code:"KG",alpha3Code:"KGZ",numericCode:"417",callingCode:"+996"},{name:"Laos",alpha2Code:"LA",alpha3Code:"LAO",numericCode:"418",callingCode:"+856"},{name:"Letland",alpha2Code:"LV",alpha3Code:"LVA",numericCode:"428",callingCode:"+371"},{name:"Libanon",alpha2Code:"LB",alpha3Code:"LBN",numericCode:"422",callingCode:"+961"},{name:"Lesotho",alpha2Code:"LS",alpha3Code:"LSO",numericCode:"426",callingCode:"+266"},{name:"Liberia",alpha2Code:"LR",alpha3Code:"LBR",numericCode:"430",callingCode:"+231"},{name:"Libi\xeb",alpha2Code:"LY",alpha3Code:"LBY",numericCode:"434",callingCode:"+218"},{name:"Liechtenstein",alpha2Code:"LI",alpha3Code:"LIE",numericCode:"438",callingCode:"+423"},{name:"Litouwen",alpha2Code:"LT",alpha3Code:"LTU",numericCode:"440",callingCode:"+370"},{name:"Luxemburg",alpha2Code:"LU",alpha3Code:"LUX",numericCode:"442",callingCode:"+352"},{name:"Macao",alpha2Code:"MO",alpha3Code:"MAC",numericCode:"446",callingCode:"+853"},{name:"Macedoni\xeb",alpha2Code:"MK",alpha3Code:"MKD",numericCode:"807",callingCode:"+389"},{name:"Madagaskar",alpha2Code:"MG",alpha3Code:"MDG",numericCode:"450",callingCode:"+261"},{name:"Malawi",alpha2Code:"MW",alpha3Code:"MWI",numericCode:"454",callingCode:"+265"},{name:"Maleisi\xeb",alpha2Code:"MY",alpha3Code:"MYS",numericCode:"458",callingCode:"+60"},{name:"Maldiven",alpha2Code:"MV",alpha3Code:"MDV",numericCode:"462",callingCode:"+960"},{name:"Mali",alpha2Code:"ML",alpha3Code:"MLI",numericCode:"466",callingCode:"+223"},{name:"Malta",alpha2Code:"MT",alpha3Code:"MLT",numericCode:"470",callingCode:"+356"},{name:"Marshalleilanden",alpha2Code:"MH",alpha3Code:"MHL",numericCode:"584",callingCode:"+692"},{name:"Martinique",alpha2Code:"MQ",alpha3Code:"MTQ",numericCode:"474",callingCode:"+596"},{name:"Mauritani\xeb",alpha2Code:"MR",alpha3Code:"MRT",numericCode:"478",callingCode:"+222"},{name:"Mauritius",alpha2Code:"MU",alpha3Code:"MUS",numericCode:"480",callingCode:"+230"},{name:"Mayotte",alpha2Code:"YT",alpha3Code:"MYT",numericCode:"175",callingCode:"+262"},{name:"Mexico",alpha2Code:"MX",alpha3Code:"MEX",numericCode:"484",callingCode:"+52"},{name:"Micronesi\xeb",alpha2Code:"FM",alpha3Code:"FSM",numericCode:"583",callingCode:"+691"},{name:"Moldavi\xeb",alpha2Code:"MD",alpha3Code:"MDA",numericCode:"498",callingCode:"+373"},{name:"Monaco",alpha2Code:"MC",alpha3Code:"MCO",numericCode:"492",callingCode:"+377"},{name:"Mongoli\xeb",alpha2Code:"MN",alpha3Code:"MNG",numericCode:"496",callingCode:"+976"},{name:"Montenegro",alpha2Code:"ME",alpha3Code:"MNE",numericCode:"499",callingCode:"+382"},{name:"Montserrat",alpha2Code:"MS",alpha3Code:"MSR",numericCode:"500",callingCode:"+1664"},{name:"Marokko",alpha2Code:"MA",alpha3Code:"MAR",numericCode:"504",callingCode:"+212"},{name:"Mozambique",alpha2Code:"MZ",alpha3Code:"MOZ",numericCode:"508",callingCode:"+258"},{name:"Myanmar",alpha2Code:"MM",alpha3Code:"MMR",numericCode:"104",callingCode:"+95"},{name:"Namibi\xeb",alpha2Code:"NA",alpha3Code:"NAM",numericCode:"516",callingCode:"+264"},{name:"Nauru",alpha2Code:"NR",alpha3Code:"NRU",numericCode:"520",callingCode:"+674"},{name:"Nepal",alpha2Code:"NP",alpha3Code:"NPL",numericCode:"524",callingCode:"+977"},{name:"Nederland",alpha2Code:"NL",alpha3Code:"NLD",numericCode:"528",callingCode:"+31"},{name:"Nieuw-Caledoni\xeb",alpha2Code:"NC",alpha3Code:"NCL",numericCode:"540",callingCode:"+687"},{name:"Nieuw-Zeeland",alpha2Code:"NZ",alpha3Code:"NZL",numericCode:"554",callingCode:"+64"},{name:"Nicaragua",alpha2Code:"NI",alpha3Code:"NIC",numericCode:"558",callingCode:"+505"},{name:"Niger",alpha2Code:"NE",alpha3Code:"NER",numericCode:"562",callingCode:"+227"},{name:"Nigeria",alpha2Code:"NG",alpha3Code:"NGA",numericCode:"566",callingCode:"+234"},{name:"Niue",alpha2Code:"NU",alpha3Code:"NIU",numericCode:"570",callingCode:"+683"},{name:"Norfolkeiland",alpha2Code:"NF",alpha3Code:"NFK",numericCode:"574",callingCode:"+672"},{name:"Noord-Korea",alpha2Code:"KP",alpha3Code:"PRK",numericCode:"408",callingCode:"+850"},{name:"Noordelijke Marianeneilanden",alpha2Code:"MP",alpha3Code:"MNP",numericCode:"580",callingCode:"+1670"},{name:"Noorwegen",alpha2Code:"NO",alpha3Code:"NOR",numericCode:"578",callingCode:"+47"},{name:"Oman",alpha2Code:"OM",alpha3Code:"OMN",numericCode:"512",callingCode:"+968"},{name:"Pakistan",alpha2Code:"PK",alpha3Code:"PAK",numericCode:"586",callingCode:"+92"},{name:"Palau",alpha2Code:"PW",alpha3Code:"PLW",numericCode:"585",callingCode:"+680"},{name:"Palestijnse gebieden",alpha2Code:"PS",alpha3Code:"PSE",numericCode:"275",callingCode:"+970"},{name:"Panama",alpha2Code:"PA",alpha3Code:"PAN",numericCode:"591",callingCode:"+507"},{name:"Papoea-Nieuw-Guinea",alpha2Code:"PG",alpha3Code:"PNG",numericCode:"598",callingCode:"+675"},{name:"Paraguay",alpha2Code:"PY",alpha3Code:"PRY",numericCode:"600",callingCode:"+595"},{name:"Peru",alpha2Code:"PE",alpha3Code:"PER",numericCode:"604",callingCode:"+51"},{name:"Filipijnen",alpha2Code:"PH",alpha3Code:"PHL",numericCode:"608",callingCode:"+63"},{name:"Pitcairneilanden",alpha2Code:"PN",alpha3Code:"PCN",numericCode:"612",callingCode:"+64"},{name:"Polen",alpha2Code:"PL",alpha3Code:"POL",numericCode:"616",callingCode:"+48"},{name:"Portugal",alpha2Code:"PT",alpha3Code:"PRT",numericCode:"620",callingCode:"+351"},{name:"Puerto Rico",alpha2Code:"PR",alpha3Code:"PRI",numericCode:"630",callingCode:"+1"},{name:"Qatar",alpha2Code:"QA",alpha3Code:"QAT",numericCode:"634",callingCode:"+974"},{name:"Kosovo",alpha2Code:"XK",alpha3Code:"KOS",numericCode:null,callingCode:"+383"},{name:"R\xe9union",alpha2Code:"RE",alpha3Code:"REU",numericCode:"638",callingCode:"+262"},{name:"Roemeni\xeb",alpha2Code:"RO",alpha3Code:"ROU",numericCode:"642",callingCode:"+40"},{name:"Rusland",alpha2Code:"RU",alpha3Code:"RUS",numericCode:"643",callingCode:"+7"},{name:"Rwanda",alpha2Code:"RW",alpha3Code:"RWA",numericCode:"646",callingCode:"+250"},{name:"Saint Barth\xe9lemy",alpha2Code:"BL",alpha3Code:"BLM",numericCode:"652",callingCode:"+590"},{name:"Sint-Helena",alpha2Code:"SH",alpha3Code:"SHN",numericCode:"654",callingCode:"+290"},{name:"Saint Kitts en Nevis",alpha2Code:"KN",alpha3Code:"KNA",numericCode:"659",callingCode:"+1869"},{name:"Saint Lucia",alpha2Code:"LC",alpha3Code:"LCA",numericCode:"662",callingCode:"+1758"},{name:"Saint-Martin",alpha2Code:"MF",alpha3Code:"MAF",numericCode:"663",callingCode:"+590"},{name:"Saint Pierre en Miquelon",alpha2Code:"PM",alpha3Code:"SPM",numericCode:"666",callingCode:"+508"},{name:"Saint Vincent en de Grenadines",alpha2Code:"VC",alpha3Code:"VCT",numericCode:"670",callingCode:"+1784"},{name:"Samoa",alpha2Code:"WS",alpha3Code:"WSM",numericCode:"882",callingCode:"+685"},{name:"San Marino",alpha2Code:"SM",alpha3Code:"SMR",numericCode:"674",callingCode:"+378"},{name:"Sao Tom\xe9 en Principe",alpha2Code:"ST",alpha3Code:"STP",numericCode:"678",callingCode:"+239"},{name:"Saoedi-Arabi\xeb",alpha2Code:"SA",alpha3Code:"SAU",numericCode:"682",callingCode:"+966"},{name:"Senegal",alpha2Code:"SN",alpha3Code:"SEN",numericCode:"686",callingCode:"+221"},{name:"Servi\xeb",alpha2Code:"RS",alpha3Code:"SRB",numericCode:"688",callingCode:"+381"},{name:"Seychellen",alpha2Code:"SC",alpha3Code:"SYC",numericCode:"690",callingCode:"+248"},{name:"Sierra Leone",alpha2Code:"SL",alpha3Code:"SLE",numericCode:"694",callingCode:"+232"},{name:"Singapore",alpha2Code:"SG",alpha3Code:"SGP",numericCode:"702",callingCode:"+65"},{name:"Sint Maarten",alpha2Code:"SX",alpha3Code:"SXM",numericCode:"534",callingCode:"+1721"},{name:"Slowakije",alpha2Code:"SK",alpha3Code:"SVK",numericCode:"703",callingCode:"+421"},{name:"Sloveni\xeb",alpha2Code:"SI",alpha3Code:"SVN",numericCode:"705",callingCode:"+386"},{name:"Salomonseilanden",alpha2Code:"SB",alpha3Code:"SLB",numericCode:"090",callingCode:"+677"},{name:"Somali\xeb",alpha2Code:"SO",alpha3Code:"SOM",numericCode:"706",callingCode:"+252"},{name:"Zuid-Afrika",alpha2Code:"ZA",alpha3Code:"ZAF",numericCode:"710",callingCode:"+27"},{name:"Zuid-Georgia en Zuidelijke Sandwicheilanden",alpha2Code:"GS",alpha3Code:"SGS",numericCode:"239",callingCode:"+500"},{name:"Zuid-Korea",alpha2Code:"KR",alpha3Code:"KOR",numericCode:"410",callingCode:"+82"},{name:"Zuid-Soedan",alpha2Code:"SS",alpha3Code:"SSD",numericCode:"728",callingCode:"+211"},{name:"Spanje",alpha2Code:"ES",alpha3Code:"ESP",numericCode:"724",callingCode:"+34"},{name:"Sri Lanka",alpha2Code:"LK",alpha3Code:"LKA",numericCode:"144",callingCode:"+94"},{name:"Soedan",alpha2Code:"SD",alpha3Code:"SDN",numericCode:"729",callingCode:"+249"},{name:"Suriname",alpha2Code:"SR",alpha3Code:"SUR",numericCode:"740",callingCode:"+597"},{name:"Svalbard en Jan Mayen",alpha2Code:"SJ",alpha3Code:"SJM",numericCode:"744",callingCode:"+4779"},{name:"Swaziland",alpha2Code:"SZ",alpha3Code:"SWZ",numericCode:"748",callingCode:"+268"},{name:"Zweden",alpha2Code:"SE",alpha3Code:"SWE",numericCode:"752",callingCode:"+46"},{name:"Zwitserland",alpha2Code:"CH",alpha3Code:"CHE",numericCode:"756",callingCode:"+41"},{name:"Syri\xeb",alpha2Code:"SY",alpha3Code:"SYR",numericCode:"760",callingCode:"+963"},{name:"Taiwan, China",alpha2Code:"TW",alpha3Code:"TWN",numericCode:"158",callingCode:"+886"},{name:"Tadzjikistan",alpha2Code:"TJ",alpha3Code:"TJK",numericCode:"762",callingCode:"+992"},{name:"Tanzania",alpha2Code:"TZ",alpha3Code:"TZA",numericCode:"834",callingCode:"+255"},{name:"Thailand",alpha2Code:"TH",alpha3Code:"THA",numericCode:"764",callingCode:"+66"},{name:"Oost-Timor",alpha2Code:"TL",alpha3Code:"TLS",numericCode:"626",callingCode:"+670"},{name:"Togo",alpha2Code:"TG",alpha3Code:"TGO",numericCode:"768",callingCode:"+228"},{name:"Tokelau",alpha2Code:"TK",alpha3Code:"TKL",numericCode:"772",callingCode:"+690"},{name:"Tonga",alpha2Code:"TO",alpha3Code:"TON",numericCode:"776",callingCode:"+676"},{name:"Trinidad en Tobago",alpha2Code:"TT",alpha3Code:"TTO",numericCode:"780",callingCode:"+1868"},{name:"Tunesi\xeb",alpha2Code:"TN",alpha3Code:"TUN",numericCode:"788",callingCode:"+216"},{name:"Turkije",alpha2Code:"TR",alpha3Code:"TUR",numericCode:"792",callingCode:"+90"},{name:"Turkmenistan",alpha2Code:"TM",alpha3Code:"TKM",numericCode:"795",callingCode:"+993"},{name:"Turks- en Caicoseilanden",alpha2Code:"TC",alpha3Code:"TCA",numericCode:"796",callingCode:"+1649"},{name:"Tuvalu",alpha2Code:"TV",alpha3Code:"TUV",numericCode:"798",callingCode:"+688"},{name:"Oeganda",alpha2Code:"UG",alpha3Code:"UGA",numericCode:"800",callingCode:"+256"},{name:"Oekra\xefne",alpha2Code:"UA",alpha3Code:"UKR",numericCode:"804",callingCode:"+380"},{name:"Verenigde Arabische Emiraten",alpha2Code:"AE",alpha3Code:"ARE",numericCode:"784",callingCode:"+971"},{name:"Verenigd Koninkrijk",alpha2Code:"GB",alpha3Code:"GBR",numericCode:"826",callingCode:"+44"},{name:"Verenigde Staten",alpha2Code:"US",alpha3Code:"USA",numericCode:"840",callingCode:"+1"},{name:"Uruguay",alpha2Code:"UY",alpha3Code:"URY",numericCode:"858",callingCode:"+598"},{name:"Oezbekistan",alpha2Code:"UZ",alpha3Code:"UZB",numericCode:"860",callingCode:"+998"},{name:"Vanuatu",alpha2Code:"VU",alpha3Code:"VUT",numericCode:"548",callingCode:"+678"},{name:"Venezuela",alpha2Code:"VE",alpha3Code:"VEN",numericCode:"862",callingCode:"+58"},{name:"Vietnam",alpha2Code:"VN",alpha3Code:"VNM",numericCode:"704",callingCode:"+84"},{name:"Wallis en Futuna",alpha2Code:"WF",alpha3Code:"WLF",numericCode:"876",callingCode:"+681"},{name:"Westelijke Sahara",alpha2Code:"EH",alpha3Code:"ESH",numericCode:"732",callingCode:"+212"},{name:"Jemen",alpha2Code:"YE",alpha3Code:"YEM",numericCode:"887",callingCode:"+967"},{name:"Zambia",alpha2Code:"ZM",alpha3Code:"ZMB",numericCode:"894",callingCode:"+260"},{name:"Zimbabwe",alpha2Code:"ZW",alpha3Code:"ZWE",numericCode:"716",callingCode:"+263"}]}),Df=Object.freeze({__proto__:null,COUNTRIES_DB_PT:[{name:"Afeganist\xe3o",alpha2Code:"AF",alpha3Code:"AFG",numericCode:"004",callingCode:"+93"},{name:"Ilhas de Aland",alpha2Code:"AX",alpha3Code:"ALA",numericCode:"248",callingCode:"+358"},{name:"Alb\xe2nia",alpha2Code:"AL",alpha3Code:"ALB",numericCode:"008",callingCode:"+355"},{name:"Arg\xe9lia",alpha2Code:"DZ",alpha3Code:"DZA",numericCode:"012",callingCode:"+213"},{name:"Samoa Americana",alpha2Code:"AS",alpha3Code:"ASM",numericCode:"016",callingCode:"+1684"},{name:"Andorra",alpha2Code:"AD",alpha3Code:"AND",numericCode:"020",callingCode:"+376"},{name:"Angola",alpha2Code:"AO",alpha3Code:"AGO",numericCode:"024",callingCode:"+244"},{name:"Anguila",alpha2Code:"AI",alpha3Code:"AIA",numericCode:"660",callingCode:"+1264"},{name:"Ant\xe1rctida",alpha2Code:"AQ",alpha3Code:"ATA",numericCode:"010",callingCode:"+672"},{name:"Ant\xedgua e Barbuda",alpha2Code:"AG",alpha3Code:"ATG",numericCode:"028",callingCode:"+1268"},{name:"Argentina",alpha2Code:"AR",alpha3Code:"ARG",numericCode:"032",callingCode:"+54"},{name:"Arm\xe9nia",alpha2Code:"AM",alpha3Code:"ARM",numericCode:"051",callingCode:"+374"},{name:"Aruba",alpha2Code:"AW",alpha3Code:"ABW",numericCode:"533",callingCode:"+297"},{name:"Austr\xe1lia",alpha2Code:"AU",alpha3Code:"AUS",numericCode:"036",callingCode:"+61"},{name:"\xe1ustria",alpha2Code:"AT",alpha3Code:"AUT",numericCode:"040",callingCode:"+43"},{name:"Azerbaij\xe3o",alpha2Code:"AZ",alpha3Code:"AZE",numericCode:"031",callingCode:"+994"},{name:"Baamas",alpha2Code:"BS",alpha3Code:"BHS",numericCode:"044",callingCode:"+1242"},{name:"Bar\xe9m",alpha2Code:"BH",alpha3Code:"BHR",numericCode:"048",callingCode:"+973"},{name:"Bangladeche",alpha2Code:"BD",alpha3Code:"BGD",numericCode:"050",callingCode:"+880"},{name:"Barbados",alpha2Code:"BB",alpha3Code:"BRB",numericCode:"052",callingCode:"+1246"},{name:"Bielorr\xfassia",alpha2Code:"BY",alpha3Code:"BLR",numericCode:"112",callingCode:"+375"},{name:"B\xe9lgica",alpha2Code:"BE",alpha3Code:"BEL",numericCode:"056",callingCode:"+32"},{name:"Belize",alpha2Code:"BZ",alpha3Code:"BLZ",numericCode:"084",callingCode:"+501"},{name:"Benim",alpha2Code:"BJ",alpha3Code:"BEN",numericCode:"204",callingCode:"+229"},{name:"Bermudas",alpha2Code:"BM",alpha3Code:"BMU",numericCode:"060",callingCode:"+1441"},{name:"But\xe3o",alpha2Code:"BT",alpha3Code:"BTN",numericCode:"064",callingCode:"+975"},{name:"Bol\xedvia",alpha2Code:"BO",alpha3Code:"BOL",numericCode:"068",callingCode:"+591"},{name:"Bonaire",alpha2Code:"BQ",alpha3Code:"BES",numericCode:"535",callingCode:"+5997"},{name:"B\xf3snia e Herzegovina",alpha2Code:"BA",alpha3Code:"BIH",numericCode:"070",callingCode:"+387"},{name:"Botsuana",alpha2Code:"BW",alpha3Code:"BWA",numericCode:"072",callingCode:"+267"},{name:"Ilha Bouvet",alpha2Code:"BV",alpha3Code:"BVT",numericCode:"074",callingCode:"+"},{name:"Brasil",alpha2Code:"BR",alpha3Code:"BRA",numericCode:"076",callingCode:"+55"},{name:"Territ\xf3rio Brit\xe2nico do Oceano \xcdndico",alpha2Code:"IO",alpha3Code:"IOT",numericCode:"086",callingCode:"+246"},{name:"Ilhas Menores Distantes dos Estados Unidos",alpha2Code:"UM",alpha3Code:"UMI",numericCode:"581",callingCode:"+"},{name:"Ilhas Virgens Brit\xe2nicas",alpha2Code:"VG",alpha3Code:"VGB",numericCode:"092",callingCode:"+1284"},{name:"Ilhas Virgens Americanas",alpha2Code:"VI",alpha3Code:"VIR",numericCode:"850",callingCode:"+1 340"},{name:"Brunei",alpha2Code:"BN",alpha3Code:"BRN",numericCode:"096",callingCode:"+673"},{name:"Bulg\xe1ria",alpha2Code:"BG",alpha3Code:"BGR",numericCode:"100",callingCode:"+359"},{name:"Burquina Faso",alpha2Code:"BF",alpha3Code:"BFA",numericCode:"854",callingCode:"+226"},{name:"Bur\xfandi",alpha2Code:"BI",alpha3Code:"BDI",numericCode:"108",callingCode:"+257"},{name:"Camboja",alpha2Code:"KH",alpha3Code:"KHM",numericCode:"116",callingCode:"+855"},{name:"Camar\xf5es",alpha2Code:"CM",alpha3Code:"CMR",numericCode:"120",callingCode:"+237"},{name:"Canad\xe1",alpha2Code:"CA",alpha3Code:"CAN",numericCode:"124",callingCode:"+1"},{name:"Cabo Verde",alpha2Code:"CV",alpha3Code:"CPV",numericCode:"132",callingCode:"+238"},{name:"Ilhas Caim\xe3o",alpha2Code:"KY",alpha3Code:"CYM",numericCode:"136",callingCode:"+1345"},{name:"Rep\xfablica Centro-Africana",alpha2Code:"CF",alpha3Code:"CAF",numericCode:"140",callingCode:"+236"},{name:"Chade",alpha2Code:"TD",alpha3Code:"TCD",numericCode:"148",callingCode:"+235"},{name:"Chile",alpha2Code:"CL",alpha3Code:"CHL",numericCode:"152",callingCode:"+56"},{name:"China",alpha2Code:"CN",alpha3Code:"CHN",numericCode:"156",callingCode:"+86"},{name:"Ilha do Natal",alpha2Code:"CX",alpha3Code:"CXR",numericCode:"162",callingCode:"+61"},{name:"Ilhas dos Cocos",alpha2Code:"CC",alpha3Code:"CCK",numericCode:"166",callingCode:"+61"},{name:"Col\xf4mbia",alpha2Code:"CO",alpha3Code:"COL",numericCode:"170",callingCode:"+57"},{name:"Comores",alpha2Code:"KM",alpha3Code:"COM",numericCode:"174",callingCode:"+269"},{name:"Congo",alpha2Code:"CG",alpha3Code:"COG",numericCode:"178",callingCode:"+242"},{name:"RD Congo",alpha2Code:"CD",alpha3Code:"COD",numericCode:"180",callingCode:"+243"},{name:"Ilhas Cook",alpha2Code:"CK",alpha3Code:"COK",numericCode:"184",callingCode:"+682"},{name:"Costa Rica",alpha2Code:"CR",alpha3Code:"CRI",numericCode:"188",callingCode:"+506"},{name:"Cro\xe1cia",alpha2Code:"HR",alpha3Code:"HRV",numericCode:"191",callingCode:"+385"},{name:"Cuba",alpha2Code:"CU",alpha3Code:"CUB",numericCode:"192",callingCode:"+53"},{name:"Cura\xe7ao",alpha2Code:"CW",alpha3Code:"CUW",numericCode:"531",callingCode:"+599"},{name:"Chipre",alpha2Code:"CY",alpha3Code:"CYP",numericCode:"196",callingCode:"+357"},{name:"Rep\xfablica Checa",alpha2Code:"CZ",alpha3Code:"CZE",numericCode:"203",callingCode:"+420"},{name:"Dinamarca",alpha2Code:"DK",alpha3Code:"DNK",numericCode:"208",callingCode:"+45"},{name:"Djibuti",alpha2Code:"DJ",alpha3Code:"DJI",numericCode:"262",callingCode:"+253"},{name:"Dominica",alpha2Code:"DM",alpha3Code:"DMA",numericCode:"212",callingCode:"+1767"},{name:"Rep\xfablica Dominicana",alpha2Code:"DO",alpha3Code:"DOM",numericCode:"214",callingCode:"+1809"},{name:"Equador",alpha2Code:"EC",alpha3Code:"ECU",numericCode:"218",callingCode:"+593"},{name:"Egipto",alpha2Code:"EG",alpha3Code:"EGY",numericCode:"818",callingCode:"+20"},{name:"El Salvador",alpha2Code:"SV",alpha3Code:"SLV",numericCode:"222",callingCode:"+503"},{name:"Guin\xe9 Equatorial",alpha2Code:"GQ",alpha3Code:"GNQ",numericCode:"226",callingCode:"+240"},{name:"Eritreia",alpha2Code:"ER",alpha3Code:"ERI",numericCode:"232",callingCode:"+291"},{name:"Est\xf3nia",alpha2Code:"EE",alpha3Code:"EST",numericCode:"233",callingCode:"+372"},{name:"Eti\xf3pia",alpha2Code:"ET",alpha3Code:"ETH",numericCode:"231",callingCode:"+251"},{name:"Ilhas Falkland",alpha2Code:"FK",alpha3Code:"FLK",numericCode:"238",callingCode:"+500"},{name:"Ilhas Faro\xe9",alpha2Code:"FO",alpha3Code:"FRO",numericCode:"234",callingCode:"+298"},{name:"Fiji",alpha2Code:"FJ",alpha3Code:"FJI",numericCode:"242",callingCode:"+679"},{name:"Finl\xe2ndia",alpha2Code:"FI",alpha3Code:"FIN",numericCode:"246",callingCode:"+358"},{name:"Fran\xe7a",alpha2Code:"FR",alpha3Code:"FRA",numericCode:"250",callingCode:"+33"},{name:"Guiana Francesa",alpha2Code:"GF",alpha3Code:"GUF",numericCode:"254",callingCode:"+594"},{name:"Polin\xe9sia Francesa",alpha2Code:"PF",alpha3Code:"PYF",numericCode:"258",callingCode:"+689"},{name:"Terras Austrais e Ant\xe1rticas Francesas",alpha2Code:"TF",alpha3Code:"ATF",numericCode:"260",callingCode:"+"},{name:"Gab\xe3o",alpha2Code:"GA",alpha3Code:"GAB",numericCode:"266",callingCode:"+241"},{name:"G\xe2mbia",alpha2Code:"GM",alpha3Code:"GMB",numericCode:"270",callingCode:"+220"},{name:"Ge\xf3rgia",alpha2Code:"GE",alpha3Code:"GEO",numericCode:"268",callingCode:"+995"},{name:"Alemanha",alpha2Code:"DE",alpha3Code:"DEU",numericCode:"276",callingCode:"+49"},{name:"Gana",alpha2Code:"GH",alpha3Code:"GHA",numericCode:"288",callingCode:"+233"},{name:"Gibraltar",alpha2Code:"GI",alpha3Code:"GIB",numericCode:"292",callingCode:"+350"},{name:"Gr\xe9cia",alpha2Code:"GR",alpha3Code:"GRC",numericCode:"300",callingCode:"+30"},{name:"Gronel\xe2ndia",alpha2Code:"GL",alpha3Code:"GRL",numericCode:"304",callingCode:"+299"},{name:"Granada",alpha2Code:"GD",alpha3Code:"GRD",numericCode:"308",callingCode:"+1473"},{name:"Guadalupe",alpha2Code:"GP",alpha3Code:"GLP",numericCode:"312",callingCode:"+590"},{name:"Guame",alpha2Code:"GU",alpha3Code:"GUM",numericCode:"316",callingCode:"+1671"},{name:"Guatemala",alpha2Code:"GT",alpha3Code:"GTM",numericCode:"320",callingCode:"+502"},{name:"Guernsey",alpha2Code:"GG",alpha3Code:"GGY",numericCode:"831",callingCode:"+44"},{name:"Guin\xe9",alpha2Code:"GN",alpha3Code:"GIN",numericCode:"324",callingCode:"+224"},{name:"Guin\xe9-Bissau",alpha2Code:"GW",alpha3Code:"GNB",numericCode:"624",callingCode:"+245"},{name:"Guiana",alpha2Code:"GY",alpha3Code:"GUY",numericCode:"328",callingCode:"+592"},{name:"Haiti",alpha2Code:"HT",alpha3Code:"HTI",numericCode:"332",callingCode:"+509"},{name:"Ilha Heard e Ilhas McDonald",alpha2Code:"HM",alpha3Code:"HMD",numericCode:"334",callingCode:"+"},{name:"Vaticano",alpha2Code:"VA",alpha3Code:"VAT",numericCode:"336",callingCode:"+379"},{name:"Honduras",alpha2Code:"HN",alpha3Code:"HND",numericCode:"340",callingCode:"+504"},{name:"Hong Kong",alpha2Code:"HK",alpha3Code:"HKG",numericCode:"344",callingCode:"+852"},{name:"Hungria",alpha2Code:"HU",alpha3Code:"HUN",numericCode:"348",callingCode:"+36"},{name:"Isl\xe2ndia",alpha2Code:"IS",alpha3Code:"ISL",numericCode:"352",callingCode:"+354"},{name:"\xcdndia",alpha2Code:"IN",alpha3Code:"IND",numericCode:"356",callingCode:"+91"},{name:"Indon\xe9sia",alpha2Code:"ID",alpha3Code:"IDN",numericCode:"360",callingCode:"+62"},{name:"Costa do Marfim",alpha2Code:"CI",alpha3Code:"CIV",numericCode:"384",callingCode:"+225"},{name:"Ir\xe3o",alpha2Code:"IR",alpha3Code:"IRN",numericCode:"364",callingCode:"+98"},{name:"Iraque",alpha2Code:"IQ",alpha3Code:"IRQ",numericCode:"368",callingCode:"+964"},{name:"Irlanda",alpha2Code:"IE",alpha3Code:"IRL",numericCode:"372",callingCode:"+353"},{name:"Ilha de Man",alpha2Code:"IM",alpha3Code:"IMN",numericCode:"833",callingCode:"+44"},{name:"Israel",alpha2Code:"IL",alpha3Code:"ISR",numericCode:"376",callingCode:"+972"},{name:"It\xe1lia",alpha2Code:"IT",alpha3Code:"ITA",numericCode:"380",callingCode:"+39"},{name:"Jamaica",alpha2Code:"JM",alpha3Code:"JAM",numericCode:"388",callingCode:"+1876"},{name:"Jap\xe3o",alpha2Code:"JP",alpha3Code:"JPN",numericCode:"392",callingCode:"+81"},{name:"Jersey",alpha2Code:"JE",alpha3Code:"JEY",numericCode:"832",callingCode:"+44"},{name:"Jord\xe2nia",alpha2Code:"JO",alpha3Code:"JOR",numericCode:"400",callingCode:"+962"},{name:"Cazaquist\xe3o",alpha2Code:"KZ",alpha3Code:"KAZ",numericCode:"398",callingCode:"+7"},{name:"Qu\xe9nia",alpha2Code:"KE",alpha3Code:"KEN",numericCode:"404",callingCode:"+254"},{name:"Quirib\xe1ti",alpha2Code:"KI",alpha3Code:"KIR",numericCode:"296",callingCode:"+686"},{name:"Kuwait",alpha2Code:"KW",alpha3Code:"KWT",numericCode:"414",callingCode:"+965"},{name:"Quirguizist\xe3o",alpha2Code:"KG",alpha3Code:"KGZ",numericCode:"417",callingCode:"+996"},{name:"Laos",alpha2Code:"LA",alpha3Code:"LAO",numericCode:"418",callingCode:"+856"},{name:"Let\xf3nia",alpha2Code:"LV",alpha3Code:"LVA",numericCode:"428",callingCode:"+371"},{name:"L\xedbano",alpha2Code:"LB",alpha3Code:"LBN",numericCode:"422",callingCode:"+961"},{name:"Lesoto",alpha2Code:"LS",alpha3Code:"LSO",numericCode:"426",callingCode:"+266"},{name:"Lib\xe9ria",alpha2Code:"LR",alpha3Code:"LBR",numericCode:"430",callingCode:"+231"},{name:"L\xedbia",alpha2Code:"LY",alpha3Code:"LBY",numericCode:"434",callingCode:"+218"},{name:"Listenstaine",alpha2Code:"LI",alpha3Code:"LIE",numericCode:"438",callingCode:"+423"},{name:"Litu\xe2nia",alpha2Code:"LT",alpha3Code:"LTU",numericCode:"440",callingCode:"+370"},{name:"Luxemburgo",alpha2Code:"LU",alpha3Code:"LUX",numericCode:"442",callingCode:"+352"},{name:"Macau",alpha2Code:"MO",alpha3Code:"MAC",numericCode:"446",callingCode:"+853"},{name:"Maced\xf3nia",alpha2Code:"MK",alpha3Code:"MKD",numericCode:"807",callingCode:"+389"},{name:"Madag\xe1scar",alpha2Code:"MG",alpha3Code:"MDG",numericCode:"450",callingCode:"+261"},{name:"Mal\xe1vi",alpha2Code:"MW",alpha3Code:"MWI",numericCode:"454",callingCode:"+265"},{name:"Mal\xe1sia",alpha2Code:"MY",alpha3Code:"MYS",numericCode:"458",callingCode:"+60"},{name:"Maldivas",alpha2Code:"MV",alpha3Code:"MDV",numericCode:"462",callingCode:"+960"},{name:"Mali",alpha2Code:"ML",alpha3Code:"MLI",numericCode:"466",callingCode:"+223"},{name:"Malta",alpha2Code:"MT",alpha3Code:"MLT",numericCode:"470",callingCode:"+356"},{name:"Ilhas Marshall",alpha2Code:"MH",alpha3Code:"MHL",numericCode:"584",callingCode:"+692"},{name:"Martinica",alpha2Code:"MQ",alpha3Code:"MTQ",numericCode:"474",callingCode:"+596"},{name:"Maurit\xe2nia",alpha2Code:"MR",alpha3Code:"MRT",numericCode:"478",callingCode:"+222"},{name:"Maur\xedcia",alpha2Code:"MU",alpha3Code:"MUS",numericCode:"480",callingCode:"+230"},{name:"Mayotte",alpha2Code:"YT",alpha3Code:"MYT",numericCode:"175",callingCode:"+262"},{name:"M\xe9xico",alpha2Code:"MX",alpha3Code:"MEX",numericCode:"484",callingCode:"+52"},{name:"Micron\xe9sia",alpha2Code:"FM",alpha3Code:"FSM",numericCode:"583",callingCode:"+691"},{name:"Mold\xe1via",alpha2Code:"MD",alpha3Code:"MDA",numericCode:"498",callingCode:"+373"},{name:"M\xf3naco",alpha2Code:"MC",alpha3Code:"MCO",numericCode:"492",callingCode:"+377"},{name:"Mong\xf3lia",alpha2Code:"MN",alpha3Code:"MNG",numericCode:"496",callingCode:"+976"},{name:"Montenegro",alpha2Code:"ME",alpha3Code:"MNE",numericCode:"499",callingCode:"+382"},{name:"Monserrate",alpha2Code:"MS",alpha3Code:"MSR",numericCode:"500",callingCode:"+1664"},{name:"Marrocos",alpha2Code:"MA",alpha3Code:"MAR",numericCode:"504",callingCode:"+212"},{name:"Mo\xe7ambique",alpha2Code:"MZ",alpha3Code:"MOZ",numericCode:"508",callingCode:"+258"},{name:"Myanmar",alpha2Code:"MM",alpha3Code:"MMR",numericCode:"104",callingCode:"+95"},{name:"Nam\xedbia",alpha2Code:"NA",alpha3Code:"NAM",numericCode:"516",callingCode:"+264"},{name:"Nauru",alpha2Code:"NR",alpha3Code:"NRU",numericCode:"520",callingCode:"+674"},{name:"Nepal",alpha2Code:"NP",alpha3Code:"NPL",numericCode:"524",callingCode:"+977"},{name:"Pa\xedses Baixos",alpha2Code:"NL",alpha3Code:"NLD",numericCode:"528",callingCode:"+31"},{name:"Nova Caled\xf3nia",alpha2Code:"NC",alpha3Code:"NCL",numericCode:"540",callingCode:"+687"},{name:"Nova Zel\xe2ndia",alpha2Code:"NZ",alpha3Code:"NZL",numericCode:"554",callingCode:"+64"},{name:"Nicar\xe1gua",alpha2Code:"NI",alpha3Code:"NIC",numericCode:"558",callingCode:"+505"},{name:"N\xedger",alpha2Code:"NE",alpha3Code:"NER",numericCode:"562",callingCode:"+227"},{name:"Nig\xe9ria",alpha2Code:"NG",alpha3Code:"NGA",numericCode:"566",callingCode:"+234"},{name:"Niue",alpha2Code:"NU",alpha3Code:"NIU",numericCode:"570",callingCode:"+683"},{name:"Ilha Norfolk",alpha2Code:"NF",alpha3Code:"NFK",numericCode:"574",callingCode:"+672"},{name:"Coreia do Norte",alpha2Code:"KP",alpha3Code:"PRK",numericCode:"408",callingCode:"+850"},{name:"Ilhas Marianas",alpha2Code:"MP",alpha3Code:"MNP",numericCode:"580",callingCode:"+1670"},{name:"Noruega",alpha2Code:"NO",alpha3Code:"NOR",numericCode:"578",callingCode:"+47"},{name:"Om\xe3",alpha2Code:"OM",alpha3Code:"OMN",numericCode:"512",callingCode:"+968"},{name:"Paquist\xe3o",alpha2Code:"PK",alpha3Code:"PAK",numericCode:"586",callingCode:"+92"},{name:"Palau",alpha2Code:"PW",alpha3Code:"PLW",numericCode:"585",callingCode:"+680"},{name:"Palestina",alpha2Code:"PS",alpha3Code:"PSE",numericCode:"275",callingCode:"+970"},{name:"Panam\xe1",alpha2Code:"PA",alpha3Code:"PAN",numericCode:"591",callingCode:"+507"},{name:"Papua Nova Guin\xe9",alpha2Code:"PG",alpha3Code:"PNG",numericCode:"598",callingCode:"+675"},{name:"Paraguai",alpha2Code:"PY",alpha3Code:"PRY",numericCode:"600",callingCode:"+595"},{name:"Peru",alpha2Code:"PE",alpha3Code:"PER",numericCode:"604",callingCode:"+51"},{name:"Filipinas",alpha2Code:"PH",alpha3Code:"PHL",numericCode:"608",callingCode:"+63"},{name:"Ilhas Pic\xe1rnia",alpha2Code:"PN",alpha3Code:"PCN",numericCode:"612",callingCode:"+64"},{name:"Pol\xf3nia",alpha2Code:"PL",alpha3Code:"POL",numericCode:"616",callingCode:"+48"},{name:"Portugal",alpha2Code:"PT",alpha3Code:"PRT",numericCode:"620",callingCode:"+351"},{name:"Porto Rico",alpha2Code:"PR",alpha3Code:"PRI",numericCode:"630",callingCode:"+1"},{name:"Catar",alpha2Code:"QA",alpha3Code:"QAT",numericCode:"634",callingCode:"+974"},{name:"Kosovo",alpha2Code:"XK",alpha3Code:"KOS",numericCode:null,callingCode:"+383"},{name:"Reuni\xe3o",alpha2Code:"RE",alpha3Code:"REU",numericCode:"638",callingCode:"+262"},{name:"Rom\xe9nia",alpha2Code:"RO",alpha3Code:"ROU",numericCode:"642",callingCode:"+40"},{name:"R\xfassia",alpha2Code:"RU",alpha3Code:"RUS",numericCode:"643",callingCode:"+7"},{name:"Ruanda",alpha2Code:"RW",alpha3Code:"RWA",numericCode:"646",callingCode:"+250"},{name:"S\xe3o Bartolomeu",alpha2Code:"BL",alpha3Code:"BLM",numericCode:"652",callingCode:"+590"},{name:"Santa Helena",alpha2Code:"SH",alpha3Code:"SHN",numericCode:"654",callingCode:"+290"},{name:"S\xe3o Crist\xf3v\xe3o e Neves",alpha2Code:"KN",alpha3Code:"KNA",numericCode:"659",callingCode:"+1869"},{name:"Santa L\xfacia",alpha2Code:"LC",alpha3Code:"LCA",numericCode:"662",callingCode:"+1758"},{name:"Ilha S\xe3o Martinho",alpha2Code:"MF",alpha3Code:"MAF",numericCode:"663",callingCode:"+590"},{name:"S\xe3o Pedro e Miquelon",alpha2Code:"PM",alpha3Code:"SPM",numericCode:"666",callingCode:"+508"},{name:"S\xe3o Vicente e Granadinas",alpha2Code:"VC",alpha3Code:"VCT",numericCode:"670",callingCode:"+1784"},{name:"Samoa",alpha2Code:"WS",alpha3Code:"WSM",numericCode:"882",callingCode:"+685"},{name:"S\xe3o Marinho",alpha2Code:"SM",alpha3Code:"SMR",numericCode:"674",callingCode:"+378"},{name:"S\xe3o Tom\xe9 e Pr\xedncipe",alpha2Code:"ST",alpha3Code:"STP",numericCode:"678",callingCode:"+239"},{name:"Ar\xe1bia Saudita",alpha2Code:"SA",alpha3Code:"SAU",numericCode:"682",callingCode:"+966"},{name:"Senegal",alpha2Code:"SN",alpha3Code:"SEN",numericCode:"686",callingCode:"+221"},{name:"S\xe9rvia",alpha2Code:"RS",alpha3Code:"SRB",numericCode:"688",callingCode:"+381"},{name:"Seicheles",alpha2Code:"SC",alpha3Code:"SYC",numericCode:"690",callingCode:"+248"},{name:"Serra Leoa",alpha2Code:"SL",alpha3Code:"SLE",numericCode:"694",callingCode:"+232"},{name:"Singapura",alpha2Code:"SG",alpha3Code:"SGP",numericCode:"702",callingCode:"+65"},{name:"S\xe3o Martinho",alpha2Code:"SX",alpha3Code:"SXM",numericCode:"534",callingCode:"+1721"},{name:"Eslov\xe1quia",alpha2Code:"SK",alpha3Code:"SVK",numericCode:"703",callingCode:"+421"},{name:"Eslov\xe9nia",alpha2Code:"SI",alpha3Code:"SVN",numericCode:"705",callingCode:"+386"},{name:"Ilhas Salom\xe3o",alpha2Code:"SB",alpha3Code:"SLB",numericCode:"090",callingCode:"+677"},{name:"Som\xe1lia",alpha2Code:"SO",alpha3Code:"SOM",numericCode:"706",callingCode:"+252"},{name:"Rep\xfablica Sul-Africana",alpha2Code:"ZA",alpha3Code:"ZAF",numericCode:"710",callingCode:"+27"},{name:"Ilhas Ge\xf3rgia do Sul e Sandu\xedche do Sul",alpha2Code:"GS",alpha3Code:"SGS",numericCode:"239",callingCode:"+500"},{name:"Coreia do Sul",alpha2Code:"KR",alpha3Code:"KOR",numericCode:"410",callingCode:"+82"},{name:"Sud\xe3o do Sul",alpha2Code:"SS",alpha3Code:"SSD",numericCode:"728",callingCode:"+211"},{name:"Espanha",alpha2Code:"ES",alpha3Code:"ESP",numericCode:"724",callingCode:"+34"},{name:"Sri Lanka",alpha2Code:"LK",alpha3Code:"LKA",numericCode:"144",callingCode:"+94"},{name:"Sud\xe3o",alpha2Code:"SD",alpha3Code:"SDN",numericCode:"729",callingCode:"+249"},{name:"Suriname",alpha2Code:"SR",alpha3Code:"SUR",numericCode:"740",callingCode:"+597"},{name:"Svalbard",alpha2Code:"SJ",alpha3Code:"SJM",numericCode:"744",callingCode:"+4779"},{name:"Suazil\xe2ndia",alpha2Code:"SZ",alpha3Code:"SWZ",numericCode:"748",callingCode:"+268"},{name:"Su\xe9cia",alpha2Code:"SE",alpha3Code:"SWE",numericCode:"752",callingCode:"+46"},{name:"Su\xed\xe7a",alpha2Code:"CH",alpha3Code:"CHE",numericCode:"756",callingCode:"+41"},{name:"S\xedria",alpha2Code:"SY",alpha3Code:"SYR",numericCode:"760",callingCode:"+963"},{name:"Taiwan, China",alpha2Code:"TW",alpha3Code:"TWN",numericCode:"158",callingCode:"+886"},{name:"Tajiquist\xe3o",alpha2Code:"TJ",alpha3Code:"TJK",numericCode:"762",callingCode:"+992"},{name:"Tanz\xe2nia",alpha2Code:"TZ",alpha3Code:"TZA",numericCode:"834",callingCode:"+255"},{name:"Tail\xe2ndia",alpha2Code:"TH",alpha3Code:"THA",numericCode:"764",callingCode:"+66"},{name:"Timor Leste",alpha2Code:"TL",alpha3Code:"TLS",numericCode:"626",callingCode:"+670"},{name:"Togo",alpha2Code:"TG",alpha3Code:"TGO",numericCode:"768",callingCode:"+228"},{name:"Toquelau",alpha2Code:"TK",alpha3Code:"TKL",numericCode:"772",callingCode:"+690"},{name:"Tonga",alpha2Code:"TO",alpha3Code:"TON",numericCode:"776",callingCode:"+676"},{name:"Trindade e Tobago",alpha2Code:"TT",alpha3Code:"TTO",numericCode:"780",callingCode:"+1868"},{name:"Tun\xedsia",alpha2Code:"TN",alpha3Code:"TUN",numericCode:"788",callingCode:"+216"},{name:"Turquia",alpha2Code:"TR",alpha3Code:"TUR",numericCode:"792",callingCode:"+90"},{name:"Turquemenist\xe3o",alpha2Code:"TM",alpha3Code:"TKM",numericCode:"795",callingCode:"+993"},{name:"Ilhas Turcas e Caicos",alpha2Code:"TC",alpha3Code:"TCA",numericCode:"796",callingCode:"+1649"},{name:"Tuvalu",alpha2Code:"TV",alpha3Code:"TUV",numericCode:"798",callingCode:"+688"},{name:"Uganda",alpha2Code:"UG",alpha3Code:"UGA",numericCode:"800",callingCode:"+256"},{name:"Ucr\xe2nia",alpha2Code:"UA",alpha3Code:"UKR",numericCode:"804",callingCode:"+380"},{name:"Emirados \xe1rabes Unidos",alpha2Code:"AE",alpha3Code:"ARE",numericCode:"784",callingCode:"+971"},{name:"Reino Unido",alpha2Code:"GB",alpha3Code:"GBR",numericCode:"826",callingCode:"+44"},{name:"Estados Unidos",alpha2Code:"US",alpha3Code:"USA",numericCode:"840",callingCode:"+1"},{name:"Uruguai",alpha2Code:"UY",alpha3Code:"URY",numericCode:"858",callingCode:"+598"},{name:"Usbequist\xe3o",alpha2Code:"UZ",alpha3Code:"UZB",numericCode:"860",callingCode:"+998"},{name:"Vanuatu",alpha2Code:"VU",alpha3Code:"VUT",numericCode:"548",callingCode:"+678"},{name:"Venezuela",alpha2Code:"VE",alpha3Code:"VEN",numericCode:"862",callingCode:"+58"},{name:"Vietname",alpha2Code:"VN",alpha3Code:"VNM",numericCode:"704",callingCode:"+84"},{name:"Wallis e Futuna",alpha2Code:"WF",alpha3Code:"WLF",numericCode:"876",callingCode:"+681"},{name:"Saara Ocidental",alpha2Code:"EH",alpha3Code:"ESH",numericCode:"732",callingCode:"+212"},{name:"I\xe9men",alpha2Code:"YE",alpha3Code:"YEM",numericCode:"887",callingCode:"+967"},{name:"Z\xe2mbia",alpha2Code:"ZM",alpha3Code:"ZMB",numericCode:"894",callingCode:"+260"},{name:"Zimbabu\xe9",alpha2Code:"ZW",alpha3Code:"ZWE",numericCode:"716",callingCode:"+263"}]}),p1=Object.freeze({__proto__:null,COUNTRIES_DB_RU:[{name:"\u0410\u0444\u0433\u0430\u043d\u0438\u0441\u0442\u0430\u043d",alpha2Code:"AF",alpha3Code:"AFG",numericCode:"004",callingCode:"+93"},{name:"\u0410\u043b\u0430\u043d\u0434\u0441\u043a\u0438\u0435 \u043e\u0441\u0442\u0440\u043e\u0432\u0430",alpha2Code:"AX",alpha3Code:"ALA",numericCode:"248",callingCode:"+358"},{name:"\u0410\u043b\u0431\u0430\u043d\u0438\u044f",alpha2Code:"AL",alpha3Code:"ALB",numericCode:"008",callingCode:"+355"},{name:"\u0410\u043b\u0436\u0438\u0440",alpha2Code:"DZ",alpha3Code:"DZA",numericCode:"012",callingCode:"+213"},{name:"\u0410\u043c\u0435\u0440\u0438\u043a\u0430\u043d\u0441\u043a\u043e\u0435 \u0421\u0430\u043c\u043e\u0430",alpha2Code:"AS",alpha3Code:"ASM",numericCode:"016",callingCode:"+1684"},{name:"\u0410\u043d\u0434\u043e\u0440\u0440\u0430",alpha2Code:"AD",alpha3Code:"AND",numericCode:"020",callingCode:"+376"},{name:"\u0410\u043d\u0433\u043e\u043b\u0430",alpha2Code:"AO",alpha3Code:"AGO",numericCode:"024",callingCode:"+244"},{name:"\u0410\u043d\u0433\u0438\u043b\u044c\u044f",alpha2Code:"AI",alpha3Code:"AIA",numericCode:"660",callingCode:"+1264"},{name:"\u0410\u043d\u0442\u0430\u0440\u043a\u0442\u0438\u043a\u0430",alpha2Code:"AQ",alpha3Code:"ATA",numericCode:"010",callingCode:"+672"},{name:"\u0410\u043d\u0442\u0438\u0433\u0443\u0430 \u0438 \u0411\u0430\u0440\u0431\u0443\u0434\u0430",alpha2Code:"AG",alpha3Code:"ATG",numericCode:"028",callingCode:"+1268"},{name:"\u0410\u0440\u0433\u0435\u043d\u0442\u0438\u043d\u0430",alpha2Code:"AR",alpha3Code:"ARG",numericCode:"032",callingCode:"+54"},{name:"\u0410\u0440\u043c\u0435\u043d\u0438\u044f",alpha2Code:"AM",alpha3Code:"ARM",numericCode:"051",callingCode:"+374"},{name:"\u0410\u0440\u0443\u0431\u0430",alpha2Code:"AW",alpha3Code:"ABW",numericCode:"533",callingCode:"+297"},{name:"\u0410\u0432\u0441\u0442\u0440\u0430\u043b\u0438\u044f",alpha2Code:"AU",alpha3Code:"AUS",numericCode:"036",callingCode:"+61"},{name:"\u0410\u0432\u0441\u0442\u0440\u0438\u044f",alpha2Code:"AT",alpha3Code:"AUT",numericCode:"040",callingCode:"+43"},{name:"\u0410\u0437\u0435\u0440\u0431\u0430\u0439\u0434\u0436\u0430\u043d",alpha2Code:"AZ",alpha3Code:"AZE",numericCode:"031",callingCode:"+994"},{name:"\u0411\u0430\u0433\u0430\u043c\u0441\u043a\u0438\u0435 \u041e\u0441\u0442\u0440\u043e\u0432\u0430",alpha2Code:"BS",alpha3Code:"BHS",numericCode:"044",callingCode:"+1242"},{name:"\u0411\u0430\u0445\u0440\u0435\u0439\u043d",alpha2Code:"BH",alpha3Code:"BHR",numericCode:"048",callingCode:"+973"},{name:"\u0411\u0430\u043d\u0433\u043b\u0430\u0434\u0435\u0448",alpha2Code:"BD",alpha3Code:"BGD",numericCode:"050",callingCode:"+880"},{name:"\u0411\u0430\u0440\u0431\u0430\u0434\u043e\u0441",alpha2Code:"BB",alpha3Code:"BRB",numericCode:"052",callingCode:"+1246"},{name:"\u0411\u0435\u043b\u0430\u0440\u0443\u0441\u044c",alpha2Code:"BY",alpha3Code:"BLR",numericCode:"112",callingCode:"+375"},{name:"\u0411\u0435\u043b\u044c\u0433\u0438\u044f",alpha2Code:"BE",alpha3Code:"BEL",numericCode:"056",callingCode:"+32"},{name:"\u0411\u0435\u043b\u0438\u0437",alpha2Code:"BZ",alpha3Code:"BLZ",numericCode:"084",callingCode:"+501"},{name:"\u0411\u0435\u043d\u0438\u043d",alpha2Code:"BJ",alpha3Code:"BEN",numericCode:"204",callingCode:"+229"},{name:"\u0411\u0435\u0440\u043c\u0443\u0434\u044b",alpha2Code:"BM",alpha3Code:"BMU",numericCode:"060",callingCode:"+1441"},{name:"\u0411\u0443\u0442\u0430\u043d",alpha2Code:"BT",alpha3Code:"BTN",numericCode:"064",callingCode:"+975"},{name:"\u0411\u043e\u043b\u0438\u0432\u0438\u044f",alpha2Code:"BO",alpha3Code:"BOL",numericCode:"068",callingCode:"+591"},{name:"\u0411\u043e\u043d\u044d\u0439\u0440, \u0421\u0438\u043d\u0442-\u042d\u0441\u0442\u0430\u0442\u0438\u0443\u0441 \u0438 \u0421\u0430\u0431\u0430",alpha2Code:"BQ",alpha3Code:"BES",numericCode:"535",callingCode:"+5997"},{name:"\u0411\u043e\u0441\u043d\u0438\u044f \u0438 \u0413\u0435\u0440\u0446\u0435\u0433\u043e\u0432\u0438\u043d\u0430",alpha2Code:"BA",alpha3Code:"BIH",numericCode:"070",callingCode:"+387"},{name:"\u0411\u043e\u0442\u0441\u0432\u0430\u043d\u0430",alpha2Code:"BW",alpha3Code:"BWA",numericCode:"072",callingCode:"+267"},{name:"\u041e\u0441\u0442\u0440\u043e\u0432 \u0411\u0443\u0432\u0435",alpha2Code:"BV",alpha3Code:"BVT",numericCode:"074",callingCode:"+"},{name:"\u0411\u0440\u0430\u0437\u0438\u043b\u0438\u044f",alpha2Code:"BR",alpha3Code:"BRA",numericCode:"076",callingCode:"+55"},{name:"\u0411\u0440\u0438\u0442\u0430\u043d\u0441\u043a\u0430\u044f \u0442\u0435\u0440\u0440\u0438\u0442\u043e\u0440\u0438\u044f \u0432 \u0418\u043d\u0434\u0438\u0439\u0441\u043a\u043e\u043c \u043e\u043a\u0435\u0430\u043d\u0435",alpha2Code:"IO",alpha3Code:"IOT",numericCode:"086",callingCode:"+246"},{name:"\u0412\u043d\u0435\u0448\u043d\u0438\u0435 \u043c\u0430\u043b\u044b\u0435 \u043e\u0441\u0442\u0440\u043e\u0432\u0430 \u0421\u0428\u0410",alpha2Code:"UM",alpha3Code:"UMI",numericCode:"581",callingCode:"+"},{name:"\u0412\u0438\u0440\u0433\u0438\u043d\u0441\u043a\u0438\u0435 \u041e\u0441\u0442\u0440\u043e\u0432\u0430 (\u0412\u0435\u043b\u0438\u043a\u043e\u0431\u0440\u0438\u0442\u0430\u043d\u0438\u044f)",alpha2Code:"VG",alpha3Code:"VGB",numericCode:"092",callingCode:"+1284"},{name:"\u0412\u0438\u0440\u0433\u0438\u043d\u0441\u043a\u0438\u0435 \u041e\u0441\u0442\u0440\u043e\u0432\u0430 (\u0421\u0428\u0410)",alpha2Code:"VI",alpha3Code:"VIR",numericCode:"850",callingCode:"+1 340"},{name:"\u0411\u0440\u0443\u043d\u0435\u0439",alpha2Code:"BN",alpha3Code:"BRN",numericCode:"096",callingCode:"+673"},{name:"\u0411\u043e\u043b\u0433\u0430\u0440\u0438\u044f",alpha2Code:"BG",alpha3Code:"BGR",numericCode:"100",callingCode:"+359"},{name:"\u0411\u0443\u0440\u043a\u0438\u043d\u0430-\u0424\u0430\u0441\u043e",alpha2Code:"BF",alpha3Code:"BFA",numericCode:"854",callingCode:"+226"},{name:"\u0411\u0443\u0440\u0443\u043d\u0434\u0438",alpha2Code:"BI",alpha3Code:"BDI",numericCode:"108",callingCode:"+257"},{name:"\u041a\u0430\u043c\u0431\u043e\u0434\u0436\u0430",alpha2Code:"KH",alpha3Code:"KHM",numericCode:"116",callingCode:"+855"},{name:"\u041a\u0430\u043c\u0435\u0440\u0443\u043d",alpha2Code:"CM",alpha3Code:"CMR",numericCode:"120",callingCode:"+237"},{name:"\u041a\u0430\u043d\u0430\u0434\u0430",alpha2Code:"CA",alpha3Code:"CAN",numericCode:"124",callingCode:"+1"},{name:"\u041a\u0430\u0431\u043e-\u0412\u0435\u0440\u0434\u0435",alpha2Code:"CV",alpha3Code:"CPV",numericCode:"132",callingCode:"+238"},{name:"\u041e\u0441\u0442\u0440\u043e\u0432\u0430 \u041a\u0430\u0439\u043c\u0430\u043d",alpha2Code:"KY",alpha3Code:"CYM",numericCode:"136",callingCode:"+1345"},{name:"\u0426\u0410\u0420",alpha2Code:"CF",alpha3Code:"CAF",numericCode:"140",callingCode:"+236"},{name:"\u0427\u0430\u0434",alpha2Code:"TD",alpha3Code:"TCD",numericCode:"148",callingCode:"+235"},{name:"\u0427\u0438\u043b\u0438",alpha2Code:"CL",alpha3Code:"CHL",numericCode:"152",callingCode:"+56"},{name:"\u041a\u0438\u0442\u0430\u0439 (\u041a\u0438\u0442\u0430\u0439\u0441\u043a\u0430\u044f \u041d\u0430\u0440\u043e\u0434\u043d\u0430\u044f \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430)",alpha2Code:"CN",alpha3Code:"CHN",numericCode:"156",callingCode:"+86"},{name:"\u041e\u0441\u0442\u0440\u043e\u0432 \u0420\u043e\u0436\u0434\u0435\u0441\u0442\u0432\u0430",alpha2Code:"CX",alpha3Code:"CXR",numericCode:"162",callingCode:"+61"},{name:"\u041a\u043e\u043a\u043e\u0441\u043e\u0432\u044b\u0435 \u043e\u0441\u0442\u0440\u043e\u0432\u0430",alpha2Code:"CC",alpha3Code:"CCK",numericCode:"166",callingCode:"+61"},{name:"\u041a\u043e\u043b\u0443\u043c\u0431\u0438\u044f",alpha2Code:"CO",alpha3Code:"COL",numericCode:"170",callingCode:"+57"},{name:"\u041a\u043e\u043c\u043e\u0440\u044b",alpha2Code:"KM",alpha3Code:"COM",numericCode:"174",callingCode:"+269"},{name:"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u041a\u043e\u043d\u0433\u043e",alpha2Code:"CG",alpha3Code:"COG",numericCode:"178",callingCode:"+242"},{name:"\u0414\u0420 \u041a\u043e\u043d\u0433\u043e",alpha2Code:"CD",alpha3Code:"COD",numericCode:"180",callingCode:"+243"},{name:"\u041e\u0441\u0442\u0440\u043e\u0432\u0430 \u041a\u0443\u043a\u0430",alpha2Code:"CK",alpha3Code:"COK",numericCode:"184",callingCode:"+682"},{name:"\u041a\u043e\u0441\u0442\u0430-\u0420\u0438\u043a\u0430",alpha2Code:"CR",alpha3Code:"CRI",numericCode:"188",callingCode:"+506"},{name:"\u0425\u043e\u0440\u0432\u0430\u0442\u0438\u044f",alpha2Code:"HR",alpha3Code:"HRV",numericCode:"191",callingCode:"+385"},{name:"\u041a\u0443\u0431\u0430",alpha2Code:"CU",alpha3Code:"CUB",numericCode:"192",callingCode:"+53"},{name:"\u041a\u044e\u0440\u0430\u0441\u0430\u043e",alpha2Code:"CW",alpha3Code:"CUW",numericCode:"531",callingCode:"+599"},{name:"\u041a\u0438\u043f\u0440",alpha2Code:"CY",alpha3Code:"CYP",numericCode:"196",callingCode:"+357"},{name:"\u0427\u0435\u0445\u0438\u044f",alpha2Code:"CZ",alpha3Code:"CZE",numericCode:"203",callingCode:"+420"},{name:"\u0414\u0430\u043d\u0438\u044f",alpha2Code:"DK",alpha3Code:"DNK",numericCode:"208",callingCode:"+45"},{name:"\u0414\u0436\u0438\u0431\u0443\u0442\u0438",alpha2Code:"DJ",alpha3Code:"DJI",numericCode:"262",callingCode:"+253"},{name:"\u0414\u043e\u043c\u0438\u043d\u0438\u043a\u0430",alpha2Code:"DM",alpha3Code:"DMA",numericCode:"212",callingCode:"+1767"},{name:"\u0414\u043e\u043c\u0438\u043d\u0438\u043a\u0430\u043d\u0441\u043a\u0430\u044f \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430",alpha2Code:"DO",alpha3Code:"DOM",numericCode:"214",callingCode:"+1809"},{name:"\u042d\u043a\u0432\u0430\u0434\u043e\u0440",alpha2Code:"EC",alpha3Code:"ECU",numericCode:"218",callingCode:"+593"},{name:"\u0415\u0433\u0438\u043f\u0435\u0442",alpha2Code:"EG",alpha3Code:"EGY",numericCode:"818",callingCode:"+20"},{name:"\u0421\u0430\u043b\u044c\u0432\u0430\u0434\u043e\u0440",alpha2Code:"SV",alpha3Code:"SLV",numericCode:"222",callingCode:"+503"},{name:"\u042d\u043a\u0432\u0430\u0442\u043e\u0440\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0413\u0432\u0438\u043d\u0435\u044f",alpha2Code:"GQ",alpha3Code:"GNQ",numericCode:"226",callingCode:"+240"},{name:"\u042d\u0440\u0438\u0442\u0440\u0435\u044f",alpha2Code:"ER",alpha3Code:"ERI",numericCode:"232",callingCode:"+291"},{name:"\u042d\u0441\u0442\u043e\u043d\u0438\u044f",alpha2Code:"EE",alpha3Code:"EST",numericCode:"233",callingCode:"+372"},{name:"\u042d\u0444\u0438\u043e\u043f\u0438\u044f",alpha2Code:"ET",alpha3Code:"ETH",numericCode:"231",callingCode:"+251"},{name:"\u0424\u043e\u043b\u043a\u043b\u0435\u043d\u0434\u0441\u043a\u0438\u0435 \u043e\u0441\u0442\u0440\u043e\u0432\u0430",alpha2Code:"FK",alpha3Code:"FLK",numericCode:"238",callingCode:"+500"},{name:"\u0424\u0430\u0440\u0435\u0440\u0441\u043a\u0438\u0435 \u043e\u0441\u0442\u0440\u043e\u0432\u0430",alpha2Code:"FO",alpha3Code:"FRO",numericCode:"234",callingCode:"+298"},{name:"\u0424\u0438\u0434\u0436\u0438",alpha2Code:"FJ",alpha3Code:"FJI",numericCode:"242",callingCode:"+679"},{name:"\u0424\u0438\u043d\u043b\u044f\u043d\u0434\u0438\u044f",alpha2Code:"FI",alpha3Code:"FIN",numericCode:"246",callingCode:"+358"},{name:"\u0424\u0440\u0430\u043d\u0446\u0438\u044f",alpha2Code:"FR",alpha3Code:"FRA",numericCode:"250",callingCode:"+33"},{name:"\u0413\u0432\u0438\u0430\u043d\u0430",alpha2Code:"GF",alpha3Code:"GUF",numericCode:"254",callingCode:"+594"},{name:"\u0424\u0440\u0430\u043d\u0446\u0443\u0437\u0441\u043a\u0430\u044f \u041f\u043e\u043b\u0438\u043d\u0435\u0437\u0438\u044f",alpha2Code:"PF",alpha3Code:"PYF",numericCode:"258",callingCode:"+689"},{name:"\u0424\u0440\u0430\u043d\u0446\u0443\u0437\u0441\u043a\u0438\u0435 \u042e\u0436\u043d\u044b\u0435 \u0438 \u0410\u043d\u0442\u0430\u0440\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0442\u0435\u0440\u0440\u0438\u0442\u043e\u0440\u0438\u0438",alpha2Code:"TF",alpha3Code:"ATF",numericCode:"260",callingCode:"+"},{name:"\u0413\u0430\u0431\u043e\u043d",alpha2Code:"GA",alpha3Code:"GAB",numericCode:"266",callingCode:"+241"},{name:"\u0413\u0430\u043c\u0431\u0438\u044f",alpha2Code:"GM",alpha3Code:"GMB",numericCode:"270",callingCode:"+220"},{name:"\u0413\u0440\u0443\u0437\u0438\u044f",alpha2Code:"GE",alpha3Code:"GEO",numericCode:"268",callingCode:"+995"},{name:"\u0413\u0435\u0440\u043c\u0430\u043d\u0438\u044f",alpha2Code:"DE",alpha3Code:"DEU",numericCode:"276",callingCode:"+49"},{name:"\u0413\u0430\u043d\u0430",alpha2Code:"GH",alpha3Code:"GHA",numericCode:"288",callingCode:"+233"},{name:"\u0413\u0438\u0431\u0440\u0430\u043b\u0442\u0430\u0440",alpha2Code:"GI",alpha3Code:"GIB",numericCode:"292",callingCode:"+350"},{name:"\u0413\u0440\u0435\u0446\u0438\u044f",alpha2Code:"GR",alpha3Code:"GRC",numericCode:"300",callingCode:"+30"},{name:"\u0413\u0440\u0435\u043d\u043b\u0430\u043d\u0434\u0438\u044f",alpha2Code:"GL",alpha3Code:"GRL",numericCode:"304",callingCode:"+299"},{name:"\u0413\u0440\u0435\u043d\u0430\u0434\u0430",alpha2Code:"GD",alpha3Code:"GRD",numericCode:"308",callingCode:"+1473"},{name:"\u0413\u0432\u0430\u0434\u0435\u043b\u0443\u043f\u0430",alpha2Code:"GP",alpha3Code:"GLP",numericCode:"312",callingCode:"+590"},{name:"\u0413\u0443\u0430\u043c",alpha2Code:"GU",alpha3Code:"GUM",numericCode:"316",callingCode:"+1671"},{name:"\u0413\u0432\u0430\u0442\u0435\u043c\u0430\u043b\u0430",alpha2Code:"GT",alpha3Code:"GTM",numericCode:"320",callingCode:"+502"},{name:"\u0413\u0435\u0440\u043d\u0441\u0438",alpha2Code:"GG",alpha3Code:"GGY",numericCode:"831",callingCode:"+44"},{name:"\u0413\u0432\u0438\u043d\u0435\u044f",alpha2Code:"GN",alpha3Code:"GIN",numericCode:"324",callingCode:"+224"},{name:"\u0413\u0432\u0438\u043d\u0435\u044f-\u0411\u0438\u0441\u0430\u0443",alpha2Code:"GW",alpha3Code:"GNB",numericCode:"624",callingCode:"+245"},{name:"\u0413\u0430\u0439\u0430\u043d\u0430",alpha2Code:"GY",alpha3Code:"GUY",numericCode:"328",callingCode:"+592"},{name:"\u0413\u0430\u0438\u0442\u0438",alpha2Code:"HT",alpha3Code:"HTI",numericCode:"332",callingCode:"+509"},{name:"\u0425\u0435\u0440\u0434 \u0438 \u041c\u0430\u043a\u0434\u043e\u043d\u0430\u043b\u044c\u0434",alpha2Code:"HM",alpha3Code:"HMD",numericCode:"334",callingCode:"+"},{name:"\u0412\u0430\u0442\u0438\u043a\u0430\u043d",alpha2Code:"VA",alpha3Code:"VAT",numericCode:"336",callingCode:"+379"},{name:"\u0413\u043e\u043d\u0434\u0443\u0440\u0430\u0441",alpha2Code:"HN",alpha3Code:"HND",numericCode:"340",callingCode:"+504"},{name:"\u0413\u043e\u043d\u043a\u043e\u043d\u0433",alpha2Code:"HK",alpha3Code:"HKG",numericCode:"344",callingCode:"+852"},{name:"\u0412\u0435\u043d\u0433\u0440\u0438\u044f",alpha2Code:"HU",alpha3Code:"HUN",numericCode:"348",callingCode:"+36"},{name:"\u0418\u0441\u043b\u0430\u043d\u0434\u0438\u044f",alpha2Code:"IS",alpha3Code:"ISL",numericCode:"352",callingCode:"+354"},{name:"\u0418\u043d\u0434\u0438\u044f",alpha2Code:"IN",alpha3Code:"IND",numericCode:"356",callingCode:"+91"},{name:"\u0418\u043d\u0434\u043e\u043d\u0435\u0437\u0438\u044f",alpha2Code:"ID",alpha3Code:"IDN",numericCode:"360",callingCode:"+62"},{name:"\u041a\u043e\u0442-\u0434'\u0418\u0432\u0443\u0430\u0440",alpha2Code:"CI",alpha3Code:"CIV",numericCode:"384",callingCode:"+225"},{name:"\u0418\u0440\u0430\u043d",alpha2Code:"IR",alpha3Code:"IRN",numericCode:"364",callingCode:"+98"},{name:"\u0418\u0440\u0430\u043a",alpha2Code:"IQ",alpha3Code:"IRQ",numericCode:"368",callingCode:"+964"},{name:"\u0418\u0440\u043b\u0430\u043d\u0434\u0438\u044f",alpha2Code:"IE",alpha3Code:"IRL",numericCode:"372",callingCode:"+353"},{name:"\u041e\u0441\u0442\u0440\u043e\u0432 \u041c\u044d\u043d",alpha2Code:"IM",alpha3Code:"IMN",numericCode:"833",callingCode:"+44"},{name:"\u0418\u0437\u0440\u0430\u0438\u043b\u044c",alpha2Code:"IL",alpha3Code:"ISR",numericCode:"376",callingCode:"+972"},{name:"\u0418\u0442\u0430\u043b\u0438\u044f",alpha2Code:"IT",alpha3Code:"ITA",numericCode:"380",callingCode:"+39"},{name:"\u042f\u043c\u0430\u0439\u043a\u0430",alpha2Code:"JM",alpha3Code:"JAM",numericCode:"388",callingCode:"+1876"},{name:"\u042f\u043f\u043e\u043d\u0438\u044f",alpha2Code:"JP",alpha3Code:"JPN",numericCode:"392",callingCode:"+81"},{name:"\u0414\u0436\u0435\u0440\u0441\u0438",alpha2Code:"JE",alpha3Code:"JEY",numericCode:"832",callingCode:"+44"},{name:"\u0418\u043e\u0440\u0434\u0430\u043d\u0438\u044f",alpha2Code:"JO",alpha3Code:"JOR",numericCode:"400",callingCode:"+962"},{name:"\u041a\u0430\u0437\u0430\u0445\u0441\u0442\u0430\u043d",alpha2Code:"KZ",alpha3Code:"KAZ",numericCode:"398",callingCode:"+7"},{name:"\u041a\u0435\u043d\u0438\u044f",alpha2Code:"KE",alpha3Code:"KEN",numericCode:"404",callingCode:"+254"},{name:"\u041a\u0438\u0440\u0438\u0431\u0430\u0442\u0438",alpha2Code:"KI",alpha3Code:"KIR",numericCode:"296",callingCode:"+686"},{name:"\u041a\u0443\u0432\u0435\u0439\u0442",alpha2Code:"KW",alpha3Code:"KWT",numericCode:"414",callingCode:"+965"},{name:"\u041a\u0438\u0440\u0433\u0438\u0437\u0438\u044f",alpha2Code:"KG",alpha3Code:"KGZ",numericCode:"417",callingCode:"+996"},{name:"\u041b\u0430\u043e\u0441",alpha2Code:"LA",alpha3Code:"LAO",numericCode:"418",callingCode:"+856"},{name:"\u041b\u0430\u0442\u0432\u0438\u044f",alpha2Code:"LV",alpha3Code:"LVA",numericCode:"428",callingCode:"+371"},{name:"\u041b\u0438\u0432\u0430\u043d",alpha2Code:"LB",alpha3Code:"LBN",numericCode:"422",callingCode:"+961"},{name:"\u041b\u0435\u0441\u043e\u0442\u043e",alpha2Code:"LS",alpha3Code:"LSO",numericCode:"426",callingCode:"+266"},{name:"\u041b\u0438\u0431\u0435\u0440\u0438\u044f",alpha2Code:"LR",alpha3Code:"LBR",numericCode:"430",callingCode:"+231"},{name:"\u041b\u0438\u0432\u0438\u044f",alpha2Code:"LY",alpha3Code:"LBY",numericCode:"434",callingCode:"+218"},{name:"\u041b\u0438\u0445\u0442\u0435\u043d\u0448\u0442\u0435\u0439\u043d",alpha2Code:"LI",alpha3Code:"LIE",numericCode:"438",callingCode:"+423"},{name:"\u041b\u0438\u0442\u0432\u0430",alpha2Code:"LT",alpha3Code:"LTU",numericCode:"440",callingCode:"+370"},{name:"\u041b\u044e\u043a\u0441\u0435\u043c\u0431\u0443\u0440\u0433",alpha2Code:"LU",alpha3Code:"LUX",numericCode:"442",callingCode:"+352"},{name:"\u041c\u0430\u043a\u0430\u043e",alpha2Code:"MO",alpha3Code:"MAC",numericCode:"446",callingCode:"+853"},{name:"\u0421\u0435\u0432\u0435\u0440\u043d\u0430\u044f \u041c\u0430\u043a\u0435\u0434\u043e\u043d\u0438\u044f",alpha2Code:"MK",alpha3Code:"MKD",numericCode:"807",callingCode:"+389"},{name:"\u041c\u0430\u0434\u0430\u0433\u0430\u0441\u043a\u0430\u0440",alpha2Code:"MG",alpha3Code:"MDG",numericCode:"450",callingCode:"+261"},{name:"\u041c\u0430\u043b\u0430\u0432\u0438",alpha2Code:"MW",alpha3Code:"MWI",numericCode:"454",callingCode:"+265"},{name:"\u041c\u0430\u043b\u0430\u0439\u0437\u0438\u044f",alpha2Code:"MY",alpha3Code:"MYS",numericCode:"458",callingCode:"+60"},{name:"\u041c\u0430\u043b\u044c\u0434\u0438\u0432\u044b",alpha2Code:"MV",alpha3Code:"MDV",numericCode:"462",callingCode:"+960"},{name:"\u041c\u0430\u043b\u0438",alpha2Code:"ML",alpha3Code:"MLI",numericCode:"466",callingCode:"+223"},{name:"\u041c\u0430\u043b\u044c\u0442\u0430",alpha2Code:"MT",alpha3Code:"MLT",numericCode:"470",callingCode:"+356"},{name:"\u041c\u0430\u0440\u0448\u0430\u043b\u043b\u043e\u0432\u044b \u041e\u0441\u0442\u0440\u043e\u0432\u0430",alpha2Code:"MH",alpha3Code:"MHL",numericCode:"584",callingCode:"+692"},{name:"\u041c\u0430\u0440\u0442\u0438\u043d\u0438\u043a\u0430",alpha2Code:"MQ",alpha3Code:"MTQ",numericCode:"474",callingCode:"+596"},{name:"\u041c\u0430\u0432\u0440\u0438\u0442\u0430\u043d\u0438\u044f",alpha2Code:"MR",alpha3Code:"MRT",numericCode:"478",callingCode:"+222"},{name:"\u041c\u0430\u0432\u0440\u0438\u043a\u0438\u0439",alpha2Code:"MU",alpha3Code:"MUS",numericCode:"480",callingCode:"+230"},{name:"\u041c\u0430\u0439\u043e\u0442\u0442\u0430",alpha2Code:"YT",alpha3Code:"MYT",numericCode:"175",callingCode:"+262"},{name:"\u041c\u0435\u043a\u0441\u0438\u043a\u0430",alpha2Code:"MX",alpha3Code:"MEX",numericCode:"484",callingCode:"+52"},{name:"\u041c\u0438\u043a\u0440\u043e\u043d\u0435\u0437\u0438\u044f",alpha2Code:"FM",alpha3Code:"FSM",numericCode:"583",callingCode:"+691"},{name:"\u041c\u043e\u043b\u0434\u043e\u0432\u0430",alpha2Code:"MD",alpha3Code:"MDA",numericCode:"498",callingCode:"+373"},{name:"\u041c\u043e\u043d\u0430\u043a\u043e",alpha2Code:"MC",alpha3Code:"MCO",numericCode:"492",callingCode:"+377"},{name:"\u041c\u043e\u043d\u0433\u043e\u043b\u0438\u044f",alpha2Code:"MN",alpha3Code:"MNG",numericCode:"496",callingCode:"+976"},{name:"\u0427\u0435\u0440\u043d\u043e\u0433\u043e\u0440\u0438\u044f",alpha2Code:"ME",alpha3Code:"MNE",numericCode:"499",callingCode:"+382"},{name:"\u041c\u043e\u043d\u0442\u0441\u0435\u0440\u0440\u0430\u0442",alpha2Code:"MS",alpha3Code:"MSR",numericCode:"500",callingCode:"+1664"},{name:"\u041c\u0430\u0440\u043e\u043a\u043a\u043e",alpha2Code:"MA",alpha3Code:"MAR",numericCode:"504",callingCode:"+212"},{name:"\u041c\u043e\u0437\u0430\u043c\u0431\u0438\u043a",alpha2Code:"MZ",alpha3Code:"MOZ",numericCode:"508",callingCode:"+258"},{name:"\u041c\u044c\u044f\u043d\u043c\u0430",alpha2Code:"MM",alpha3Code:"MMR",numericCode:"104",callingCode:"+95"},{name:"\u041d\u0430\u043c\u0438\u0431\u0438\u044f",alpha2Code:"NA",alpha3Code:"NAM",numericCode:"516",callingCode:"+264"},{name:"\u041d\u0430\u0443\u0440\u0443",alpha2Code:"NR",alpha3Code:"NRU",numericCode:"520",callingCode:"+674"},{name:"\u041d\u0435\u043f\u0430\u043b",alpha2Code:"NP",alpha3Code:"NPL",numericCode:"524",callingCode:"+977"},{name:"\u041d\u0438\u0434\u0435\u0440\u043b\u0430\u043d\u0434\u044b",alpha2Code:"NL",alpha3Code:"NLD",numericCode:"528",callingCode:"+31"},{name:"\u041d\u043e\u0432\u0430\u044f \u041a\u0430\u043b\u0435\u0434\u043e\u043d\u0438\u044f",alpha2Code:"NC",alpha3Code:"NCL",numericCode:"540",callingCode:"+687"},{name:"\u041d\u043e\u0432\u0430\u044f \u0417\u0435\u043b\u0430\u043d\u0434\u0438\u044f",alpha2Code:"NZ",alpha3Code:"NZL",numericCode:"554",callingCode:"+64"},{name:"\u041d\u0438\u043a\u0430\u0440\u0430\u0433\u0443\u0430",alpha2Code:"NI",alpha3Code:"NIC",numericCode:"558",callingCode:"+505"},{name:"\u041d\u0438\u0433\u0435\u0440",alpha2Code:"NE",alpha3Code:"NER",numericCode:"562",callingCode:"+227"},{name:"\u041d\u0438\u0433\u0435\u0440\u0438\u044f",alpha2Code:"NG",alpha3Code:"NGA",numericCode:"566",callingCode:"+234"},{name:"\u041d\u0438\u0443\u044d",alpha2Code:"NU",alpha3Code:"NIU",numericCode:"570",callingCode:"+683"},{name:"\u041e\u0441\u0442\u0440\u043e\u0432 \u041d\u043e\u0440\u0444\u043e\u043b\u043a",alpha2Code:"NF",alpha3Code:"NFK",numericCode:"574",callingCode:"+672"},{name:"\u041a\u041d\u0414\u0420 (\u041a\u043e\u0440\u0435\u0439\u0441\u043a\u0430\u044f \u041d\u0430\u0440\u043e\u0434\u043d\u043e-\u0414\u0435\u043c\u043e\u043a\u0440\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430)",alpha2Code:"KP",alpha3Code:"PRK",numericCode:"408",callingCode:"+850"},{name:"\u0421\u0435\u0432\u0435\u0440\u043d\u044b\u0435 \u041c\u0430\u0440\u0438\u0430\u043d\u0441\u043a\u0438\u0435 \u041e\u0441\u0442\u0440\u043e\u0432\u0430",alpha2Code:"MP",alpha3Code:"MNP",numericCode:"580",callingCode:"+1670"},{name:"\u041d\u043e\u0440\u0432\u0435\u0433\u0438\u044f",alpha2Code:"NO",alpha3Code:"NOR",numericCode:"578",callingCode:"+47"},{name:"\u041e\u043c\u0430\u043d",alpha2Code:"OM",alpha3Code:"OMN",numericCode:"512",callingCode:"+968"},{name:"\u041f\u0430\u043a\u0438\u0441\u0442\u0430\u043d",alpha2Code:"PK",alpha3Code:"PAK",numericCode:"586",callingCode:"+92"},{name:"\u041f\u0430\u043b\u0430\u0443",alpha2Code:"PW",alpha3Code:"PLW",numericCode:"585",callingCode:"+680"},{name:"\u0413\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u043e \u041f\u0430\u043b\u0435\u0441\u0442\u0438\u043d\u0430",alpha2Code:"PS",alpha3Code:"PSE",numericCode:"275",callingCode:"+970"},{name:"\u041f\u0430\u043d\u0430\u043c\u0430",alpha2Code:"PA",alpha3Code:"PAN",numericCode:"591",callingCode:"+507"},{name:"\u041f\u0430\u043f\u0443\u0430 \u2014 \u041d\u043e\u0432\u0430\u044f \u0413\u0432\u0438\u043d\u0435\u044f",alpha2Code:"PG",alpha3Code:"PNG",numericCode:"598",callingCode:"+675"},{name:"\u041f\u0430\u0440\u0430\u0433\u0432\u0430\u0439",alpha2Code:"PY",alpha3Code:"PRY",numericCode:"600",callingCode:"+595"},{name:"\u041f\u0435\u0440\u0443",alpha2Code:"PE",alpha3Code:"PER",numericCode:"604",callingCode:"+51"},{name:"\u0424\u0438\u043b\u0438\u043f\u043f\u0438\u043d\u044b",alpha2Code:"PH",alpha3Code:"PHL",numericCode:"608",callingCode:"+63"},{name:"\u041e\u0441\u0442\u0440\u043e\u0432\u0430 \u041f\u0438\u0442\u043a\u044d\u0440\u043d",alpha2Code:"PN",alpha3Code:"PCN",numericCode:"612",callingCode:"+64"},{name:"\u041f\u043e\u043b\u044c\u0448\u0430",alpha2Code:"PL",alpha3Code:"POL",numericCode:"616",callingCode:"+48"},{name:"\u041f\u043e\u0440\u0442\u0443\u0433\u0430\u043b\u0438\u044f",alpha2Code:"PT",alpha3Code:"PRT",numericCode:"620",callingCode:"+351"},{name:"\u041f\u0443\u044d\u0440\u0442\u043e-\u0420\u0438\u043a\u043e",alpha2Code:"PR",alpha3Code:"PRI",numericCode:"630",callingCode:"+1"},{name:"\u041a\u0430\u0442\u0430\u0440",alpha2Code:"QA",alpha3Code:"QAT",numericCode:"634",callingCode:"+974"},{name:"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u041a\u043e\u0441\u043e\u0432\u043e",alpha2Code:"XK",alpha3Code:"KOS",numericCode:null,callingCode:"+383"},{name:"\u0420\u0435\u044e\u043d\u044c\u043e\u043d",alpha2Code:"RE",alpha3Code:"REU",numericCode:"638",callingCode:"+262"},{name:"\u0420\u0443\u043c\u044b\u043d\u0438\u044f",alpha2Code:"RO",alpha3Code:"ROU",numericCode:"642",callingCode:"+40"},{name:"\u0420\u043e\u0441\u0441\u0438\u044f",alpha2Code:"RU",alpha3Code:"RUS",numericCode:"643",callingCode:"+7"},{name:"\u0420\u0443\u0430\u043d\u0434\u0430",alpha2Code:"RW",alpha3Code:"RWA",numericCode:"646",callingCode:"+250"},{name:"\u0421\u0435\u043d-\u0411\u0430\u0440\u0442\u0435\u043b\u0435\u043c\u0438 (\u041a\u0430\u0440\u0438\u0431\u044b)",alpha2Code:"BL",alpha3Code:"BLM",numericCode:"652",callingCode:"+590"},{name:"\u041e\u0441\u0442\u0440\u043e\u0432\u0430 \u0421\u0432\u044f\u0442\u043e\u0439 \u0415\u043b\u0435\u043d\u044b, \u0412\u043e\u0437\u043d\u0435\u0441\u0435\u043d\u0438\u044f \u0438 \u0422\u0440\u0438\u0441\u0442\u0430\u043d-\u0434\u0430-\u041a\u0443\u043d\u044c\u044f",alpha2Code:"SH",alpha3Code:"SHN",numericCode:"654",callingCode:"+290"},{name:"\u0421\u0435\u043d\u0442-\u041a\u0438\u0442\u0441 \u0438 \u041d\u0435\u0432\u0438\u0441",alpha2Code:"KN",alpha3Code:"KNA",numericCode:"659",callingCode:"+1869"},{name:"\u0421\u0435\u043d\u0442-\u041b\u044e\u0441\u0438\u044f",alpha2Code:"LC",alpha3Code:"LCA",numericCode:"662",callingCode:"+1758"},{name:"\u0421\u0435\u043d-\u041c\u0430\u0440\u0442\u0435\u043d",alpha2Code:"MF",alpha3Code:"MAF",numericCode:"663",callingCode:"+590"},{name:"\u0421\u0435\u043d-\u041f\u044c\u0435\u0440 \u0438 \u041c\u0438\u043a\u0435\u043b\u043e\u043d",alpha2Code:"PM",alpha3Code:"SPM",numericCode:"666",callingCode:"+508"},{name:"\u0421\u0435\u043d\u0442-\u0412\u0438\u043d\u0441\u0435\u043d\u0442 \u0438 \u0413\u0440\u0435\u043d\u0430\u0434\u0438\u043d\u044b",alpha2Code:"VC",alpha3Code:"VCT",numericCode:"670",callingCode:"+1784"},{name:"\u0421\u0430\u043c\u043e\u0430",alpha2Code:"WS",alpha3Code:"WSM",numericCode:"882",callingCode:"+685"},{name:"\u0421\u0430\u043d-\u041c\u0430\u0440\u0438\u043d\u043e",alpha2Code:"SM",alpha3Code:"SMR",numericCode:"674",callingCode:"+378"},{name:"\u0421\u0430\u043d-\u0422\u043e\u043c\u0435 \u0438 \u041f\u0440\u0438\u043d\u0441\u0438\u043f\u0438",alpha2Code:"ST",alpha3Code:"STP",numericCode:"678",callingCode:"+239"},{name:"\u0421\u0430\u0443\u0434\u043e\u0432\u0441\u043a\u0430\u044f \u0410\u0440\u0430\u0432\u0438\u044f",alpha2Code:"SA",alpha3Code:"SAU",numericCode:"682",callingCode:"+966"},{name:"\u0421\u0435\u043d\u0435\u0433\u0430\u043b",alpha2Code:"SN",alpha3Code:"SEN",numericCode:"686",callingCode:"+221"},{name:"\u0421\u0435\u0440\u0431\u0438\u044f",alpha2Code:"RS",alpha3Code:"SRB",numericCode:"688",callingCode:"+381"},{name:"\u0421\u0435\u0439\u0448\u0435\u043b\u044c\u0441\u043a\u0438\u0435 \u041e\u0441\u0442\u0440\u043e\u0432\u0430",alpha2Code:"SC",alpha3Code:"SYC",numericCode:"690",callingCode:"+248"},{name:"\u0421\u044c\u0435\u0440\u0440\u0430-\u041b\u0435\u043e\u043d\u0435",alpha2Code:"SL",alpha3Code:"SLE",numericCode:"694",callingCode:"+232"},{name:"\u0421\u0438\u043d\u0433\u0430\u043f\u0443\u0440",alpha2Code:"SG",alpha3Code:"SGP",numericCode:"702",callingCode:"+65"},{name:"\u0421\u0438\u043d\u0442-\u041c\u0430\u0440\u0442\u0435\u043d",alpha2Code:"SX",alpha3Code:"SXM",numericCode:"534",callingCode:"+1721"},{name:"\u0421\u043b\u043e\u0432\u0430\u043a\u0438\u044f",alpha2Code:"SK",alpha3Code:"SVK",numericCode:"703",callingCode:"+421"},{name:"\u0421\u043b\u043e\u0432\u0435\u043d\u0438\u044f",alpha2Code:"SI",alpha3Code:"SVN",numericCode:"705",callingCode:"+386"},{name:"\u0421\u043e\u043b\u043e\u043c\u043e\u043d\u043e\u0432\u044b \u041e\u0441\u0442\u0440\u043e\u0432\u0430",alpha2Code:"SB",alpha3Code:"SLB",numericCode:"090",callingCode:"+677"},{name:"\u0421\u043e\u043c\u0430\u043b\u0438",alpha2Code:"SO",alpha3Code:"SOM",numericCode:"706",callingCode:"+252"},{name:"\u042e\u0410\u0420",alpha2Code:"ZA",alpha3Code:"ZAF",numericCode:"710",callingCode:"+27"},{name:"\u042e\u0436\u043d\u0430\u044f \u0413\u0435\u043e\u0440\u0433\u0438\u044f \u0438 \u042e\u0436\u043d\u044b\u0435 \u0421\u0430\u043d\u0434\u0432\u0438\u0447\u0435\u0432\u044b \u041e\u0441\u0442\u0440\u043e\u0432\u0430",alpha2Code:"GS",alpha3Code:"SGS",numericCode:"239",callingCode:"+500"},{name:"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u041a\u043e\u0440\u0435\u044f",alpha2Code:"KR",alpha3Code:"KOR",numericCode:"410",callingCode:"+82"},{name:"\u042e\u0436\u043d\u044b\u0439 \u0421\u0443\u0434\u0430\u043d",alpha2Code:"SS",alpha3Code:"SSD",numericCode:"728",callingCode:"+211"},{name:"\u0418\u0441\u043f\u0430\u043d\u0438\u044f",alpha2Code:"ES",alpha3Code:"ESP",numericCode:"724",callingCode:"+34"},{name:"\u0428\u0440\u0438-\u041b\u0430\u043d\u043a\u0430",alpha2Code:"LK",alpha3Code:"LKA",numericCode:"144",callingCode:"+94"},{name:"\u0421\u0443\u0434\u0430\u043d",alpha2Code:"SD",alpha3Code:"SDN",numericCode:"729",callingCode:"+249"},{name:"\u0421\u0443\u0440\u0438\u043d\u0430\u043c",alpha2Code:"SR",alpha3Code:"SUR",numericCode:"740",callingCode:"+597"},{name:"\u0428\u043f\u0438\u0446\u0431\u0435\u0440\u0433\u0435\u043d \u0438 \u042f\u043d-\u041c\u0430\u0439\u0435\u043d",alpha2Code:"SJ",alpha3Code:"SJM",numericCode:"744",callingCode:"+4779"},{name:"\u042d\u0441\u0432\u0430\u0442\u0438\u043d\u0438",alpha2Code:"SZ",alpha3Code:"SWZ",numericCode:"748",callingCode:"+268"},{name:"\u0428\u0432\u0435\u0446\u0438\u044f",alpha2Code:"SE",alpha3Code:"SWE",numericCode:"752",callingCode:"+46"},{name:"\u0428\u0432\u0435\u0439\u0446\u0430\u0440\u0438\u044f",alpha2Code:"CH",alpha3Code:"CHE",numericCode:"756",callingCode:"+41"},{name:"\u0421\u0438\u0440\u0438\u044f",alpha2Code:"SY",alpha3Code:"SYR",numericCode:"760",callingCode:"+963"},{name:"\u041a\u0438\u0442\u0430\u0439\u0441\u043a\u0430\u044f \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430",alpha2Code:"TW",alpha3Code:"TWN",numericCode:"158",callingCode:"+886"},{name:"\u0422\u0430\u0434\u0436\u0438\u043a\u0438\u0441\u0442\u0430\u043d",alpha2Code:"TJ",alpha3Code:"TJK",numericCode:"762",callingCode:"+992"},{name:"\u0422\u0430\u043d\u0437\u0430\u043d\u0438\u044f",alpha2Code:"TZ",alpha3Code:"TZA",numericCode:"834",callingCode:"+255"},{name:"\u0422\u0430\u0438\u043b\u0430\u043d\u0434",alpha2Code:"TH",alpha3Code:"THA",numericCode:"764",callingCode:"+66"},{name:"\u0412\u043e\u0441\u0442\u043e\u0447\u043d\u044b\u0439 \u0422\u0438\u043c\u043e\u0440",alpha2Code:"TL",alpha3Code:"TLS",numericCode:"626",callingCode:"+670"},{name:"\u0422\u043e\u0433\u043e",alpha2Code:"TG",alpha3Code:"TGO",numericCode:"768",callingCode:"+228"},{name:"\u0422\u043e\u043a\u0435\u043b\u0430\u0443",alpha2Code:"TK",alpha3Code:"TKL",numericCode:"772",callingCode:"+690"},{name:"\u0422\u043e\u043d\u0433\u0430",alpha2Code:"TO",alpha3Code:"TON",numericCode:"776",callingCode:"+676"},{name:"\u0422\u0440\u0438\u043d\u0438\u0434\u0430\u0434 \u0438 \u0422\u043e\u0431\u0430\u0433\u043e",alpha2Code:"TT",alpha3Code:"TTO",numericCode:"780",callingCode:"+1868"},{name:"\u0422\u0443\u043d\u0438\u0441",alpha2Code:"TN",alpha3Code:"TUN",numericCode:"788",callingCode:"+216"},{name:"\u0422\u0443\u0440\u0446\u0438\u044f",alpha2Code:"TR",alpha3Code:"TUR",numericCode:"792",callingCode:"+90"},{name:"\u0422\u0443\u0440\u043a\u043c\u0435\u043d\u0438\u044f",alpha2Code:"TM",alpha3Code:"TKM",numericCode:"795",callingCode:"+993"},{name:"\u0422\u0435\u0440\u043a\u0441 \u0438 \u041a\u0430\u0439\u043a\u043e\u0441",alpha2Code:"TC",alpha3Code:"TCA",numericCode:"796",callingCode:"+1649"},{name:"\u0422\u0443\u0432\u0430\u043b\u0443",alpha2Code:"TV",alpha3Code:"TUV",numericCode:"798",callingCode:"+688"},{name:"\u0423\u0433\u0430\u043d\u0434\u0430",alpha2Code:"UG",alpha3Code:"UGA",numericCode:"800",callingCode:"+256"},{name:"\u0423\u043a\u0440\u0430\u0438\u043d\u0430",alpha2Code:"UA",alpha3Code:"UKR",numericCode:"804",callingCode:"+380"},{name:"\u041e\u0410\u042d",alpha2Code:"AE",alpha3Code:"ARE",numericCode:"784",callingCode:"+971"},{name:"\u0412\u0435\u043b\u0438\u043a\u043e\u0431\u0440\u0438\u0442\u0430\u043d\u0438\u044f",alpha2Code:"GB",alpha3Code:"GBR",numericCode:"826",callingCode:"+44"},{name:"\u0421\u0428\u0410",alpha2Code:"US",alpha3Code:"USA",numericCode:"840",callingCode:"+1"},{name:"\u0423\u0440\u0443\u0433\u0432\u0430\u0439",alpha2Code:"UY",alpha3Code:"URY",numericCode:"858",callingCode:"+598"},{name:"\u0423\u0437\u0431\u0435\u043a\u0438\u0441\u0442\u0430\u043d",alpha2Code:"UZ",alpha3Code:"UZB",numericCode:"860",callingCode:"+998"},{name:"\u0412\u0430\u043d\u0443\u0430\u0442\u0443",alpha2Code:"VU",alpha3Code:"VUT",numericCode:"548",callingCode:"+678"},{name:"\u0412\u0435\u043d\u0435\u0441\u0443\u044d\u043b\u0430",alpha2Code:"VE",alpha3Code:"VEN",numericCode:"862",callingCode:"+58"},{name:"\u0412\u044c\u0435\u0442\u043d\u0430\u043c",alpha2Code:"VN",alpha3Code:"VNM",numericCode:"704",callingCode:"+84"},{name:"\u0423\u043e\u043b\u043b\u0438\u0441 \u0438 \u0424\u0443\u0442\u0443\u043d\u0430",alpha2Code:"WF",alpha3Code:"WLF",numericCode:"876",callingCode:"+681"},{name:"\u0421\u0410\u0414\u0420",alpha2Code:"EH",alpha3Code:"ESH",numericCode:"732",callingCode:"+212"},{name:"\u0419\u0435\u043c\u0435\u043d",alpha2Code:"YE",alpha3Code:"YEM",numericCode:"887",callingCode:"+967"},{name:"\u0417\u0430\u043c\u0431\u0438\u044f",alpha2Code:"ZM",alpha3Code:"ZMB",numericCode:"894",callingCode:"+260"},{name:"\u0417\u0438\u043c\u0431\u0430\u0431\u0432\u0435",alpha2Code:"ZW",alpha3Code:"ZWE",numericCode:"716",callingCode:"+263"}]}),Bv=Object.freeze({__proto__:null,COUNTRIES_DB_UA:[{name:"\u0410\u0444\u0433\u0430\u043d\u0456\u0441\u0442\u0430\u043d",alpha2Code:"AF",alpha3Code:"AFG",numericCode:"004",callingCode:"+93"},{name:"\u0410\u043b\u0430\u043d\u0434\u0441\u044c\u043a\u0456 \u043e\u0441\u0442\u0440\u043e\u0432\u0438",alpha2Code:"AX",alpha3Code:"ALA",numericCode:"248",callingCode:"+358"},{name:"\u0410\u043b\u0431\u0430\u043d\u0456\u044f",alpha2Code:"AL",alpha3Code:"ALB",numericCode:"008",callingCode:"+355"},{name:"\u0410\u043b\u0436\u0438\u0440",alpha2Code:"DZ",alpha3Code:"DZA",numericCode:"012",callingCode:"+213"},{name:"\u0410\u043c\u0435\u0440\u0438\u043a\u0430\u043d\u0441\u044c\u043a\u0435 \u0421\u0430\u043c\u043e\u0430",alpha2Code:"AS",alpha3Code:"ASM",numericCode:"016",callingCode:"+1684"},{name:"\u0410\u043d\u0434\u043e\u0440\u0440\u0430",alpha2Code:"AD",alpha3Code:"AND",numericCode:"020",callingCode:"+376"},{name:"\u0410\u043d\u0433\u043e\u043b\u0430",alpha2Code:"AO",alpha3Code:"AGO",numericCode:"024",callingCode:"+244"},{name:"\u0410\u043d\u0433\u0456\u043b\u044c\u044f",alpha2Code:"AI",alpha3Code:"AIA",numericCode:"660",callingCode:"+1264"},{name:"\u0410\u043d\u0442\u0430\u0440\u043a\u0442\u0438\u0434\u0430",alpha2Code:"AQ",alpha3Code:"ATA",numericCode:"010",callingCode:"+672"},{name:"\u0410\u043d\u0442\u0438\u0433\u0443\u0430 \u0456 \u0411\u0430\u0440\u0431\u0443\u0434\u0430",alpha2Code:"AG",alpha3Code:"ATG",numericCode:"028",callingCode:"+1268"},{name:"\u0410\u0440\u0433\u0435\u043d\u0442\u0438\u043d\u0430",alpha2Code:"AR",alpha3Code:"ARG",numericCode:"032",callingCode:"+54"},{name:"\u0412\u0456\u0440\u043c\u0435\u043d\u0456\u044f",alpha2Code:"AM",alpha3Code:"ARM",numericCode:"051",callingCode:"+374"},{name:"\u0410\u0440\u0443\u0431\u0430",alpha2Code:"AW",alpha3Code:"ABW",numericCode:"533",callingCode:"+297"},{name:"\u0410\u0432\u0441\u0442\u0440\u0430\u043b\u0456\u044f",alpha2Code:"AU",alpha3Code:"AUS",numericCode:"036",callingCode:"+61"},{name:"\u0410\u0432\u0441\u0442\u0440\u0456\u044f",alpha2Code:"AT",alpha3Code:"AUT",numericCode:"040",callingCode:"+43"},{name:"\u0410\u0437\u0435\u0440\u0431\u0430\u0439\u0434\u0436\u0430\u043d",alpha2Code:"AZ",alpha3Code:"AZE",numericCode:"031",callingCode:"+994"},{name:"\u0411\u0430\u0433\u0430\u043c\u0441\u044c\u043a\u0456 \u041e\u0441\u0442\u0440\u043e\u0432\u0438",alpha2Code:"BS",alpha3Code:"BHS",numericCode:"044",callingCode:"+1242"},{name:"\u0411\u0430\u0445\u0440\u0435\u0439\u043d",alpha2Code:"BH",alpha3Code:"BHR",numericCode:"048",callingCode:"+973"},{name:"\u0411\u0430\u043d\u0433\u043b\u0430\u0434\u0435\u0448",alpha2Code:"BD",alpha3Code:"BGD",numericCode:"050",callingCode:"+880"},{name:"\u0411\u0430\u0440\u0431\u0430\u0434\u043e\u0441",alpha2Code:"BB",alpha3Code:"BRB",numericCode:"052",callingCode:"+1246"},{name:"\u0411\u0456\u043b\u043e\u0440\u0443\u0441\u044c",alpha2Code:"BY",alpha3Code:"BLR",numericCode:"112",callingCode:"+375"},{name:"\u0411\u0435\u043b\u044c\u0433\u0456\u044f",alpha2Code:"BE",alpha3Code:"BEL",numericCode:"056",callingCode:"+32"},{name:"\u0411\u0435\u043b\u0456\u0437",alpha2Code:"BZ",alpha3Code:"BLZ",numericCode:"084",callingCode:"+501"},{name:"\u0411\u0435\u043d\u0456\u043d",alpha2Code:"BJ",alpha3Code:"BEN",numericCode:"204",callingCode:"+229"},{name:"\u0411\u0435\u0440\u043c\u0443\u0434\u0441\u044c\u043a\u0456 \u041e\u0441\u0442\u0440\u043e\u0432\u0438",alpha2Code:"BM",alpha3Code:"BMU",numericCode:"060",callingCode:"+1441"},{name:"\u0411\u0443\u0442\u0430\u043d",alpha2Code:"BT",alpha3Code:"BTN",numericCode:"064",callingCode:"+975"},{name:"\u0411\u043e\u043b\u0456\u0432\u0456\u044f",alpha2Code:"BO",alpha3Code:"BOL",numericCode:"068",callingCode:"+591"},{name:"\u041a\u0430\u0440\u0438\u0431\u0441\u044c\u043a\u0456 \u041d\u0456\u0434\u0435\u0440\u043b\u0430\u043d\u0434\u0438",alpha2Code:"BQ",alpha3Code:"BES",numericCode:"535",callingCode:"+5997"},{name:"\u0411\u043e\u0441\u043d\u0456\u044f \u0456 \u0413\u0435\u0440\u0446\u0435\u0433\u043e\u0432\u0438\u043d\u0430",alpha2Code:"BA",alpha3Code:"BIH",numericCode:"070",callingCode:"+387"},{name:"\u0411\u043e\u0442\u0441\u0432\u0430\u043d\u0430",alpha2Code:"BW",alpha3Code:"BWA",numericCode:"072",callingCode:"+267"},{name:"\u041e\u0441\u0442\u0440\u0456\u0432 \u0411\u0443\u0432\u0435",alpha2Code:"BV",alpha3Code:"BVT",numericCode:"074",callingCode:"+"},{name:"\u0411\u0440\u0430\u0437\u0438\u043b\u0456\u044f",alpha2Code:"BR",alpha3Code:"BRA",numericCode:"076",callingCode:"+55"},{name:"\u0411\u0440\u0438\u0442\u0430\u043d\u0441\u044c\u043a\u0430 \u0422\u0435\u0440\u0438\u0442\u043e\u0440\u0456\u044f \u0432 \u0406\u043d\u0434\u0456\u0439\u0441\u044c\u043a\u043e\u043c\u0443 \u041e\u043a\u0435\u0430\u043d\u0456",alpha2Code:"IO",alpha3Code:"IOT",numericCode:"086",callingCode:"+246"},{name:"\u0417\u043e\u0432\u043d\u0456\u0448\u043d\u0456 \u043c\u0430\u043b\u0456 \u043e\u0441\u0442\u0440\u043e\u0432\u0438 \u0421\u0428\u0410",alpha2Code:"UM",alpha3Code:"UMI",numericCode:"581",callingCode:"+"},{name:"\u0411\u0440\u0438\u0442\u0430\u043d\u0441\u044c\u043a\u0456 \u0412\u0456\u0440\u0433\u0456\u043d\u0441\u044c\u043a\u0456 \u041e\u0441\u0442\u0440\u043e\u0432\u0438",alpha2Code:"VG",alpha3Code:"VGB",numericCode:"092",callingCode:"+1284"},{name:"\u0410\u043c\u0435\u0440\u0438\u043a\u0430\u043d\u0441\u044c\u043a\u0456 \u0412\u0456\u0440\u0433\u0456\u043d\u0441\u044c\u043a\u0456 \u041e\u0441\u0442\u0440\u043e\u0432\u0438",alpha2Code:"VI",alpha3Code:"VIR",numericCode:"850",callingCode:"+1 340"},{name:"\u0411\u0440\u0443\u043d\u0435\u0439",alpha2Code:"BN",alpha3Code:"BRN",numericCode:"096",callingCode:"+673"},{name:"\u0411\u043e\u043b\u0433\u0430\u0440\u0456\u044f",alpha2Code:"BG",alpha3Code:"BGR",numericCode:"100",callingCode:"+359"},{name:"\u0411\u0443\u0440\u043a\u0456\u043d\u0430-\u0424\u0430\u0441\u043e",alpha2Code:"BF",alpha3Code:"BFA",numericCode:"854",callingCode:"+226"},{name:"\u0411\u0443\u0440\u0443\u043d\u0434\u0456",alpha2Code:"BI",alpha3Code:"BDI",numericCode:"108",callingCode:"+257"},{name:"\u041a\u0430\u043c\u0431\u043e\u0434\u0436\u0430",alpha2Code:"KH",alpha3Code:"KHM",numericCode:"116",callingCode:"+855"},{name:"\u041a\u0430\u043c\u0435\u0440\u0443\u043d",alpha2Code:"CM",alpha3Code:"CMR",numericCode:"120",callingCode:"+237"},{name:"\u041a\u0430\u043d\u0430\u0434\u0430",alpha2Code:"CA",alpha3Code:"CAN",numericCode:"124",callingCode:"+1"},{name:"\u041a\u0430\u0431\u043e-\u0412\u0435\u0440\u0434\u0435",alpha2Code:"CV",alpha3Code:"CPV",numericCode:"132",callingCode:"+238"},{name:"\u041a\u0430\u0439\u043c\u0430\u043d\u043e\u0432\u0456 \u041e\u0441\u0442\u0440\u043e\u0432\u0438",alpha2Code:"KY",alpha3Code:"CYM",numericCode:"136",callingCode:"+1345"},{name:"\u0426\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u043e\u0430\u0444\u0440\u0438\u043a\u0430\u043d\u0441\u044c\u043a\u0430 \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0456\u043a\u0430",alpha2Code:"CF",alpha3Code:"CAF",numericCode:"140",callingCode:"+236"},{name:"\u0427\u0430\u0434",alpha2Code:"TD",alpha3Code:"TCD",numericCode:"148",callingCode:"+235"},{name:"\u0427\u0438\u043b\u0456",alpha2Code:"CL",alpha3Code:"CHL",numericCode:"152",callingCode:"+56"},{name:"\u041a\u0438\u0442\u0430\u0439\u0441\u044c\u043a\u0430 \u041d\u0430\u0440\u043e\u0434\u043d\u0430 \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0456\u043a\u0430",alpha2Code:"CN",alpha3Code:"CHN",numericCode:"156",callingCode:"+86"},{name:"\u041e\u0441\u0442\u0440\u0456\u0432 \u0420\u0456\u0437\u0434\u0432\u0430",alpha2Code:"CX",alpha3Code:"CXR",numericCode:"162",callingCode:"+61"},{name:"\u041a\u043e\u043a\u043e\u0441\u043e\u0432\u0456 \u043e\u0441\u0442\u0440\u043e\u0432\u0438",alpha2Code:"CC",alpha3Code:"CCK",numericCode:"166",callingCode:"+61"},{name:"\u041a\u043e\u043b\u0443\u043c\u0431\u0456\u044f",alpha2Code:"CO",alpha3Code:"COL",numericCode:"170",callingCode:"+57"},{name:"\u041a\u043e\u043c\u043e\u0440\u0441\u044c\u043a\u0456 \u041e\u0441\u0442\u0440\u043e\u0432\u0438",alpha2Code:"KM",alpha3Code:"COM",numericCode:"174",callingCode:"+269"},{name:"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0456\u043a\u0430 \u041a\u043e\u043d\u0433\u043e",alpha2Code:"CG",alpha3Code:"COG",numericCode:"178",callingCode:"+242"},{name:"\u0414\u0420 \u041a\u043e\u043d\u0433\u043e",alpha2Code:"CD",alpha3Code:"COD",numericCode:"180",callingCode:"+243"},{name:"\u041e\u0441\u0442\u0440\u043e\u0432\u0438 \u041a\u0443\u043a\u0430",alpha2Code:"CK",alpha3Code:"COK",numericCode:"184",callingCode:"+682"},{name:"\u041a\u043e\u0441\u0442\u0430-\u0420\u0438\u043a\u0430",alpha2Code:"CR",alpha3Code:"CRI",numericCode:"188",callingCode:"+506"},{name:"\u0425\u043e\u0440\u0432\u0430\u0442\u0456\u044f",alpha2Code:"HR",alpha3Code:"HRV",numericCode:"191",callingCode:"+385"},{name:"\u041a\u0443\u0431\u0430",alpha2Code:"CU",alpha3Code:"CUB",numericCode:"192",callingCode:"+53"},{name:"\u041a\u044e\u0440\u0430\u0441\u0430\u043e",alpha2Code:"CW",alpha3Code:"CUW",numericCode:"531",callingCode:"+599"},{name:"\u041a\u0456\u043f\u0440",alpha2Code:"CY",alpha3Code:"CYP",numericCode:"196",callingCode:"+357"},{name:"\u0427\u0435\u0445\u0456\u044f",alpha2Code:"CZ",alpha3Code:"CZE",numericCode:"203",callingCode:"+420"},{name:"\u0414\u0430\u043d\u0456\u044f",alpha2Code:"DK",alpha3Code:"DNK",numericCode:"208",callingCode:"+45"},{name:"\u0414\u0436\u0438\u0431\u0443\u0442\u0456",alpha2Code:"DJ",alpha3Code:"DJI",numericCode:"262",callingCode:"+253"},{name:"\u0414\u043e\u043c\u0456\u043d\u0456\u043a\u0430",alpha2Code:"DM",alpha3Code:"DMA",numericCode:"212",callingCode:"+1767"},{name:"\u0414\u043e\u043c\u0456\u043d\u0456\u043a\u0430\u043d\u0441\u044c\u043a\u0430 \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0456\u043a\u0430",alpha2Code:"DO",alpha3Code:"DOM",numericCode:"214",callingCode:"+1809"},{name:"\u0415\u043a\u0432\u0430\u0434\u043e\u0440",alpha2Code:"EC",alpha3Code:"ECU",numericCode:"218",callingCode:"+593"},{name:"\u0404\u0433\u0438\u043f\u0435\u0442",alpha2Code:"EG",alpha3Code:"EGY",numericCode:"818",callingCode:"+20"},{name:"\u0421\u0430\u043b\u044c\u0432\u0430\u0434\u043e\u0440",alpha2Code:"SV",alpha3Code:"SLV",numericCode:"222",callingCode:"+503"},{name:"\u0415\u043a\u0432\u0430\u0442\u043e\u0440\u0456\u0430\u043b\u044c\u043d\u0430 \u0413\u0432\u0456\u043d\u0435\u044f",alpha2Code:"GQ",alpha3Code:"GNQ",numericCode:"226",callingCode:"+240"},{name:"\u0415\u0440\u0438\u0442\u0440\u0435\u044f",alpha2Code:"ER",alpha3Code:"ERI",numericCode:"232",callingCode:"+291"},{name:"\u0415\u0441\u0442\u043e\u043d\u0456\u044f",alpha2Code:"EE",alpha3Code:"EST",numericCode:"233",callingCode:"+372"},{name:"\u0415\u0444\u0456\u043e\u043f\u0456\u044f",alpha2Code:"ET",alpha3Code:"ETH",numericCode:"231",callingCode:"+251"},{name:"\u0424\u043e\u043b\u043a\u043b\u0435\u043d\u0434\u0441\u044c\u043a\u0456 \u041e\u0441\u0442\u0440\u043e\u0432\u0438",alpha2Code:"FK",alpha3Code:"FLK",numericCode:"238",callingCode:"+500"},{name:"\u0424\u0430\u0440\u0435\u0440\u0441\u044c\u043a\u0456 \u043e\u0441\u0442\u0440\u043e\u0432\u0438",alpha2Code:"FO",alpha3Code:"FRO",numericCode:"234",callingCode:"+298"},{name:"\u0424\u0456\u0434\u0436\u0456",alpha2Code:"FJ",alpha3Code:"FJI",numericCode:"242",callingCode:"+679"},{name:"\u0424\u0456\u043d\u043b\u044f\u043d\u0434\u0456\u044f",alpha2Code:"FI",alpha3Code:"FIN",numericCode:"246",callingCode:"+358"},{name:"\u0424\u0440\u0430\u043d\u0446\u0456\u044f",alpha2Code:"FR",alpha3Code:"FRA",numericCode:"250",callingCode:"+33"},{name:"\u0424\u0440\u0430\u043d\u0446\u0443\u0437\u044c\u043a\u0430 \u0413\u0432\u0456\u0430\u043d\u0430",alpha2Code:"GF",alpha3Code:"GUF",numericCode:"254",callingCode:"+594"},{name:"\u0424\u0440\u0430\u043d\u0446\u0443\u0437\u044c\u043a\u0430 \u041f\u043e\u043b\u0456\u043d\u0435\u0437\u0456\u044f",alpha2Code:"PF",alpha3Code:"PYF",numericCode:"258",callingCode:"+689"},{name:"\u0424\u0440\u0430\u043d\u0446\u0443\u0437\u044c\u043a\u0456 \u041f\u0456\u0432\u0434\u0435\u043d\u043d\u0456 \u0456 \u0410\u043d\u0442\u0430\u0440\u043a\u0442\u0438\u0447\u043d\u0456 \u0422\u0435\u0440\u0438\u0442\u043e\u0440\u0456\u0457",alpha2Code:"TF",alpha3Code:"ATF",numericCode:"260",callingCode:"+"},{name:"\u0413\u0430\u0431\u043e\u043d",alpha2Code:"GA",alpha3Code:"GAB",numericCode:"266",callingCode:"+241"},{name:"\u0413\u0430\u043c\u0431\u0456\u044f",alpha2Code:"GM",alpha3Code:"GMB",numericCode:"270",callingCode:"+220"},{name:"\u0413\u0440\u0443\u0437\u0456\u044f",alpha2Code:"GE",alpha3Code:"GEO",numericCode:"268",callingCode:"+995"},{name:"\u041d\u0456\u043c\u0435\u0447\u0447\u0438\u043d\u0430",alpha2Code:"DE",alpha3Code:"DEU",numericCode:"276",callingCode:"+49"},{name:"\u0413\u0430\u043d\u0430",alpha2Code:"GH",alpha3Code:"GHA",numericCode:"288",callingCode:"+233"},{name:"\u0413\u0456\u0431\u0440\u0430\u043b\u0442\u0430\u0440",alpha2Code:"GI",alpha3Code:"GIB",numericCode:"292",callingCode:"+350"},{name:"\u0413\u0440\u0435\u0446\u0456\u044f",alpha2Code:"GR",alpha3Code:"GRC",numericCode:"300",callingCode:"+30"},{name:"\u0413\u0440\u0435\u043d\u043b\u0430\u043d\u0434\u0456\u044f",alpha2Code:"GL",alpha3Code:"GRL",numericCode:"304",callingCode:"+299"},{name:"\u0413\u0440\u0435\u043d\u0430\u0434\u0430",alpha2Code:"GD",alpha3Code:"GRD",numericCode:"308",callingCode:"+1473"},{name:"\u0413\u0432\u0430\u0434\u0435\u043b\u0443\u043f\u0430",alpha2Code:"GP",alpha3Code:"GLP",numericCode:"312",callingCode:"+590"},{name:"\u0413\u0443\u0430\u043c",alpha2Code:"GU",alpha3Code:"GUM",numericCode:"316",callingCode:"+1671"},{name:"\u0413\u0432\u0430\u0442\u0435\u043c\u0430\u043b\u0430",alpha2Code:"GT",alpha3Code:"GTM",numericCode:"320",callingCode:"+502"},{name:"\u0413\u0435\u0440\u043d\u0441\u0456",alpha2Code:"GG",alpha3Code:"GGY",numericCode:"831",callingCode:"+44"},{name:"\u0413\u0432\u0456\u043d\u0435\u044f",alpha2Code:"GN",alpha3Code:"GIN",numericCode:"324",callingCode:"+224"},{name:"\u0413\u0432\u0456\u043d\u0435\u044f-\u0411\u0456\u0441\u0430\u0443",alpha2Code:"GW",alpha3Code:"GNB",numericCode:"624",callingCode:"+245"},{name:"\u0413\u0430\u044f\u043d\u0430",alpha2Code:"GY",alpha3Code:"GUY",numericCode:"328",callingCode:"+592"},{name:"\u0413\u0430\u0457\u0442\u0456",alpha2Code:"HT",alpha3Code:"HTI",numericCode:"332",callingCode:"+509"},{name:"\u041e\u0441\u0442\u0440\u0456\u0432 \u0425\u0435\u0440\u0434 \u0456 \u043e\u0441\u0442\u0440\u043e\u0432\u0438 \u041c\u0430\u043a\u0434\u043e\u043d\u0430\u043b\u044c\u0434",alpha2Code:"HM",alpha3Code:"HMD",numericCode:"334",callingCode:"+"},{name:"\u0412\u0430\u0442\u0438\u043a\u0430\u043d",alpha2Code:"VA",alpha3Code:"VAT",numericCode:"336",callingCode:"+379"},{name:"\u0413\u043e\u043d\u0434\u0443\u0440\u0430\u0441",alpha2Code:"HN",alpha3Code:"HND",numericCode:"340",callingCode:"+504"},{name:"\u0413\u043e\u043d\u043a\u043e\u043d\u0433",alpha2Code:"HK",alpha3Code:"HKG",numericCode:"344",callingCode:"+852"},{name:"\u0423\u0433\u043e\u0440\u0449\u0438\u043d\u0430",alpha2Code:"HU",alpha3Code:"HUN",numericCode:"348",callingCode:"+36"},{name:"\u0406\u0441\u043b\u0430\u043d\u0434\u0456\u044f",alpha2Code:"IS",alpha3Code:"ISL",numericCode:"352",callingCode:"+354"},{name:"\u0406\u043d\u0434\u0456\u044f",alpha2Code:"IN",alpha3Code:"IND",numericCode:"356",callingCode:"+91"},{name:"\u0406\u043d\u0434\u043e\u043d\u0435\u0437\u0456\u044f",alpha2Code:"ID",alpha3Code:"IDN",numericCode:"360",callingCode:"+62"},{name:"\u041a\u043e\u0442-\u0434'\u0406\u0432\u0443\u0430\u0440",alpha2Code:"CI",alpha3Code:"CIV",numericCode:"384",callingCode:"+225"},{name:"\u0406\u0440\u0430\u043d",alpha2Code:"IR",alpha3Code:"IRN",numericCode:"364",callingCode:"+98"},{name:"\u0406\u0440\u0430\u043a",alpha2Code:"IQ",alpha3Code:"IRQ",numericCode:"368",callingCode:"+964"},{name:"\u0406\u0440\u043b\u0430\u043d\u0434\u0456\u044f",alpha2Code:"IE",alpha3Code:"IRL",numericCode:"372",callingCode:"+353"},{name:"\u041e\u0441\u0442\u0440\u0456\u0432 \u041c\u0435\u043d",alpha2Code:"IM",alpha3Code:"IMN",numericCode:"833",callingCode:"+44"},{name:"\u0406\u0437\u0440\u0430\u0457\u043b\u044c",alpha2Code:"IL",alpha3Code:"ISR",numericCode:"376",callingCode:"+972"},{name:"\u0406\u0442\u0430\u043b\u0456\u044f",alpha2Code:"IT",alpha3Code:"ITA",numericCode:"380",callingCode:"+39"},{name:"\u042f\u043c\u0430\u0439\u043a\u0430",alpha2Code:"JM",alpha3Code:"JAM",numericCode:"388",callingCode:"+1876"},{name:"\u042f\u043f\u043e\u043d\u0456\u044f",alpha2Code:"JP",alpha3Code:"JPN",numericCode:"392",callingCode:"+81"},{name:"\u0414\u0436\u0435\u0440\u0441\u0456",alpha2Code:"JE",alpha3Code:"JEY",numericCode:"832",callingCode:"+44"},{name:"\u0419\u043e\u0440\u0434\u0430\u043d\u0456\u044f",alpha2Code:"JO",alpha3Code:"JOR",numericCode:"400",callingCode:"+962"},{name:"\u041a\u0430\u0437\u0430\u0445\u0441\u0442\u0430\u043d",alpha2Code:"KZ",alpha3Code:"KAZ",numericCode:"398",callingCode:"+7"},{name:"\u041a\u0435\u043d\u0456\u044f",alpha2Code:"KE",alpha3Code:"KEN",numericCode:"404",callingCode:"+254"},{name:"\u041a\u0456\u0440\u0438\u0431\u0430\u0442\u0456",alpha2Code:"KI",alpha3Code:"KIR",numericCode:"296",callingCode:"+686"},{name:"\u041a\u0443\u0432\u0435\u0439\u0442",alpha2Code:"KW",alpha3Code:"KWT",numericCode:"414",callingCode:"+965"},{name:"\u041a\u0438\u0440\u0433\u0438\u0437\u0441\u0442\u0430\u043d",alpha2Code:"KG",alpha3Code:"KGZ",numericCode:"417",callingCode:"+996"},{name:"\u041b\u0430\u043e\u0441",alpha2Code:"LA",alpha3Code:"LAO",numericCode:"418",callingCode:"+856"},{name:"\u041b\u0430\u0442\u0432\u0456\u044f",alpha2Code:"LV",alpha3Code:"LVA",numericCode:"428",callingCode:"+371"},{name:"\u041b\u0456\u0432\u0430\u043d",alpha2Code:"LB",alpha3Code:"LBN",numericCode:"422",callingCode:"+961"},{name:"\u041b\u0435\u0441\u043e\u0442\u043e",alpha2Code:"LS",alpha3Code:"LSO",numericCode:"426",callingCode:"+266"},{name:"\u041b\u0456\u0431\u0435\u0440\u0456\u044f",alpha2Code:"LR",alpha3Code:"LBR",numericCode:"430",callingCode:"+231"},{name:"\u041b\u0456\u0432\u0456\u044f",alpha2Code:"LY",alpha3Code:"LBY",numericCode:"434",callingCode:"+218"},{name:"\u041b\u0456\u0445\u0442\u0435\u043d\u0448\u0442\u0435\u0439\u043d",alpha2Code:"LI",alpha3Code:"LIE",numericCode:"438",callingCode:"+423"},{name:"\u041b\u0438\u0442\u0432\u0430",alpha2Code:"LT",alpha3Code:"LTU",numericCode:"440",callingCode:"+370"},{name:"\u041b\u044e\u043a\u0441\u0435\u043c\u0431\u0443\u0440\u0433",alpha2Code:"LU",alpha3Code:"LUX",numericCode:"442",callingCode:"+352"},{name:"\u041c\u0430\u043a\u0430\u043e",alpha2Code:"MO",alpha3Code:"MAC",numericCode:"446",callingCode:"+853"},{name:"\u041f\u0456\u0432\u043d\u0456\u0447\u043d\u0430 \u041c\u0430\u043a\u0435\u0434\u043e\u043d\u0456\u044f",alpha2Code:"MK",alpha3Code:"MKD",numericCode:"807",callingCode:"+389"},{name:"\u041c\u0430\u0434\u0430\u0433\u0430\u0441\u043a\u0430\u0440",alpha2Code:"MG",alpha3Code:"MDG",numericCode:"450",callingCode:"+261"},{name:"\u041c\u0430\u043b\u0430\u0432\u0456",alpha2Code:"MW",alpha3Code:"MWI",numericCode:"454",callingCode:"+265"},{name:"\u041c\u0430\u043b\u0430\u0439\u0437\u0456\u044f",alpha2Code:"MY",alpha3Code:"MYS",numericCode:"458",callingCode:"+60"},{name:"\u041c\u0430\u043b\u044c\u0434\u0456\u0432\u0438",alpha2Code:"MV",alpha3Code:"MDV",numericCode:"462",callingCode:"+960"},{name:"\u041c\u0430\u043b\u0456",alpha2Code:"ML",alpha3Code:"MLI",numericCode:"466",callingCode:"+223"},{name:"\u041c\u0430\u043b\u044c\u0442\u0430",alpha2Code:"MT",alpha3Code:"MLT",numericCode:"470",callingCode:"+356"},{name:"\u041c\u0430\u0440\u0448\u0430\u043b\u043b\u043e\u0432\u0456 \u041e\u0441\u0442\u0440\u043e\u0432\u0438",alpha2Code:"MH",alpha3Code:"MHL",numericCode:"584",callingCode:"+692"},{name:"\u041c\u0430\u0440\u0442\u0438\u043d\u0456\u043a\u0430",alpha2Code:"MQ",alpha3Code:"MTQ",numericCode:"474",callingCode:"+596"},{name:"\u041c\u0430\u0432\u0440\u0438\u0442\u0430\u043d\u0456\u044f",alpha2Code:"MR",alpha3Code:"MRT",numericCode:"478",callingCode:"+222"},{name:"\u041c\u0430\u0432\u0440\u0438\u043a\u0456\u0439",alpha2Code:"MU",alpha3Code:"MUS",numericCode:"480",callingCode:"+230"},{name:"\u041c\u0430\u0439\u043e\u0442\u0442\u0430",alpha2Code:"YT",alpha3Code:"MYT",numericCode:"175",callingCode:"+262"},{name:"\u041c\u0435\u043a\u0441\u0438\u043a\u0430",alpha2Code:"MX",alpha3Code:"MEX",numericCode:"484",callingCode:"+52"},{name:"\u0424\u0435\u0434\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u0456 \u0428\u0442\u0430\u0442\u0438 \u041c\u0456\u043a\u0440\u043e\u043d\u0435\u0437\u0456\u0457",alpha2Code:"FM",alpha3Code:"FSM",numericCode:"583",callingCode:"+691"},{name:"\u041c\u043e\u043b\u0434\u043e\u0432\u0430",alpha2Code:"MD",alpha3Code:"MDA",numericCode:"498",callingCode:"+373"},{name:"\u041c\u043e\u043d\u0430\u043a\u043e",alpha2Code:"MC",alpha3Code:"MCO",numericCode:"492",callingCode:"+377"},{name:"\u041c\u043e\u043d\u0433\u043e\u043b\u0456\u044f",alpha2Code:"MN",alpha3Code:"MNG",numericCode:"496",callingCode:"+976"},{name:"\u0427\u043e\u0440\u043d\u043e\u0433\u043e\u0440\u0456\u044f",alpha2Code:"ME",alpha3Code:"MNE",numericCode:"499",callingCode:"+382"},{name:"\u041c\u043e\u043d\u0442\u0441\u0435\u0440\u0440\u0430\u0442",alpha2Code:"MS",alpha3Code:"MSR",numericCode:"500",callingCode:"+1664"},{name:"\u041c\u0430\u0440\u043e\u043a\u043a\u043e",alpha2Code:"MA",alpha3Code:"MAR",numericCode:"504",callingCode:"+212"},{name:"\u041c\u043e\u0437\u0430\u043c\u0431\u0456\u043a",alpha2Code:"MZ",alpha3Code:"MOZ",numericCode:"508",callingCode:"+258"},{name:"\u041c'\u044f\u043d\u043c\u0430",alpha2Code:"MM",alpha3Code:"MMR",numericCode:"104",callingCode:"+95"},{name:"\u041d\u0430\u043c\u0456\u0431\u0456\u044f",alpha2Code:"NA",alpha3Code:"NAM",numericCode:"516",callingCode:"+264"},{name:"\u041d\u0430\u0443\u0440\u0443",alpha2Code:"NR",alpha3Code:"NRU",numericCode:"520",callingCode:"+674"},{name:"\u041d\u0435\u043f\u0430\u043b",alpha2Code:"NP",alpha3Code:"NPL",numericCode:"524",callingCode:"+977"},{name:"\u041d\u0456\u0434\u0435\u0440\u043b\u0430\u043d\u0434\u0438",alpha2Code:"NL",alpha3Code:"NLD",numericCode:"528",callingCode:"+31"},{name:"\u041d\u043e\u0432\u0430 \u041a\u0430\u043b\u0435\u0434\u043e\u043d\u0456\u044f",alpha2Code:"NC",alpha3Code:"NCL",numericCode:"540",callingCode:"+687"},{name:"\u041d\u043e\u0432\u0430 \u0417\u0435\u043b\u0430\u043d\u0434\u0456\u044f",alpha2Code:"NZ",alpha3Code:"NZL",numericCode:"554",callingCode:"+64"},{name:"\u041d\u0456\u043a\u0430\u0440\u0430\u0433\u0443\u0430",alpha2Code:"NI",alpha3Code:"NIC",numericCode:"558",callingCode:"+505"},{name:"\u041d\u0456\u0433\u0435\u0440",alpha2Code:"NE",alpha3Code:"NER",numericCode:"562",callingCode:"+227"},{name:"\u041d\u0456\u0433\u0435\u0440\u0456\u044f",alpha2Code:"NG",alpha3Code:"NGA",numericCode:"566",callingCode:"+234"},{name:"\u041d\u0456\u0443\u0435",alpha2Code:"NU",alpha3Code:"NIU",numericCode:"570",callingCode:"+683"},{name:"\u041e\u0441\u0442\u0440\u0456\u0432 \u041d\u043e\u0440\u0444\u043e\u043b\u043a",alpha2Code:"NF",alpha3Code:"NFK",numericCode:"574",callingCode:"+672"},{name:"\u041f\u0456\u0432\u043d\u0456\u0447\u043d\u0430 \u041a\u043e\u0440\u0435\u044f",alpha2Code:"KP",alpha3Code:"PRK",numericCode:"408",callingCode:"+850"},{name:"\u041f\u0456\u0432\u043d\u0456\u0447\u043d\u0456 \u041c\u0430\u0440\u0456\u0430\u043d\u0441\u044c\u043a\u0456 \u041e\u0441\u0442\u0440\u043e\u0432\u0438",alpha2Code:"MP",alpha3Code:"MNP",numericCode:"580",callingCode:"+1670"},{name:"\u041d\u043e\u0440\u0432\u0435\u0433\u0456\u044f",alpha2Code:"NO",alpha3Code:"NOR",numericCode:"578",callingCode:"+47"},{name:"\u041e\u043c\u0430\u043d",alpha2Code:"OM",alpha3Code:"OMN",numericCode:"512",callingCode:"+968"},{name:"\u041f\u0430\u043a\u0438\u0441\u0442\u0430\u043d",alpha2Code:"PK",alpha3Code:"PAK",numericCode:"586",callingCode:"+92"},{name:"\u041f\u0430\u043b\u0430\u0443",alpha2Code:"PW",alpha3Code:"PLW",numericCode:"585",callingCode:"+680"},{name:"\u041f\u0430\u043b\u0435\u0441\u0442\u0438\u043d\u0430",alpha2Code:"PS",alpha3Code:"PSE",numericCode:"275",callingCode:"+970"},{name:"\u041f\u0430\u043d\u0430\u043c\u0430",alpha2Code:"PA",alpha3Code:"PAN",numericCode:"591",callingCode:"+507"},{name:"\u041f\u0430\u043f\u0443\u0430 \u041d\u043e\u0432\u0430 \u0413\u0432\u0456\u043d\u0435\u044f",alpha2Code:"PG",alpha3Code:"PNG",numericCode:"598",callingCode:"+675"},{name:"\u041f\u0430\u0440\u0430\u0433\u0432\u0430\u0439",alpha2Code:"PY",alpha3Code:"PRY",numericCode:"600",callingCode:"+595"},{name:"\u041f\u0435\u0440\u0443",alpha2Code:"PE",alpha3Code:"PER",numericCode:"604",callingCode:"+51"},{name:"\u0424\u0456\u043b\u0456\u043f\u043f\u0456\u043d\u0438",alpha2Code:"PH",alpha3Code:"PHL",numericCode:"608",callingCode:"+63"},{name:"\u041f\u0456\u0442\u043a\u0435\u0440\u043d",alpha2Code:"PN",alpha3Code:"PCN",numericCode:"612",callingCode:"+64"},{name:"\u041f\u043e\u043b\u044c\u0449\u0430",alpha2Code:"PL",alpha3Code:"POL",numericCode:"616",callingCode:"+48"},{name:"\u041f\u043e\u0440\u0442\u0443\u0433\u0430\u043b\u0456\u044f",alpha2Code:"PT",alpha3Code:"PRT",numericCode:"620",callingCode:"+351"},{name:"\u041f\u0443\u0435\u0440\u0442\u043e-\u0420\u0438\u043a\u043e",alpha2Code:"PR",alpha3Code:"PRI",numericCode:"630",callingCode:"+1"},{name:"\u041a\u0430\u0442\u0430\u0440",alpha2Code:"QA",alpha3Code:"QAT",numericCode:"634",callingCode:"+974"},{name:"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0456\u043a\u0430 \u041a\u043e\u0441\u043e\u0432\u043e",alpha2Code:"XK",alpha3Code:"KOS",numericCode:null,callingCode:"+383"},{name:"\u0420\u0435\u044e\u043d\u044c\u0439\u043e\u043d",alpha2Code:"RE",alpha3Code:"REU",numericCode:"638",callingCode:"+262"},{name:"\u0420\u0443\u043c\u0443\u043d\u0456\u044f",alpha2Code:"RO",alpha3Code:"ROU",numericCode:"642",callingCode:"+40"},{name:"\u0420\u043e\u0441\u0456\u044f",alpha2Code:"RU",alpha3Code:"RUS",numericCode:"643",callingCode:"+7"},{name:"\u0420\u0443\u0430\u043d\u0434\u0430",alpha2Code:"RW",alpha3Code:"RWA",numericCode:"646",callingCode:"+250"},{name:"\u0421\u0435\u043d-\u0411\u0430\u0440\u0442\u0435\u043b\u044c\u043c\u0456",alpha2Code:"BL",alpha3Code:"BLM",numericCode:"652",callingCode:"+590"},{name:"\u041e\u0441\u0442\u0440\u043e\u0432\u0438 \u0421\u0432\u044f\u0442\u043e\u0457 \u0404\u043b\u0435\u043d\u0438, \u0412\u043e\u0437\u043d\u0435\u0441\u0456\u043d\u043d\u044f \u0456 \u0422\u0440\u0438\u0441\u0442\u0430\u043d-\u0434\u0430-\u041a\u0443\u043d\u044c\u044f",alpha2Code:"SH",alpha3Code:"SHN",numericCode:"654",callingCode:"+290"},{name:"\u0421\u0435\u043d\u0442-\u041a\u0456\u0442\u0442\u0441 \u0456 \u041d\u0435\u0432\u0456\u0441",alpha2Code:"KN",alpha3Code:"KNA",numericCode:"659",callingCode:"+1869"},{name:"\u0421\u0435\u043d\u0442-\u041b\u044e\u0441\u0456\u044f",alpha2Code:"LC",alpha3Code:"LCA",numericCode:"662",callingCode:"+1758"},{name:"\u0421\u0435\u043d-\u041c\u0430\u0440\u0442\u0435\u043d",alpha2Code:"MF",alpha3Code:"MAF",numericCode:"663",callingCode:"+590"},{name:"\u0421\u0435\u043d-\u041f'\u0454\u0440 \u0456 \u041c\u0456\u043a\u0435\u043b\u043e\u043d",alpha2Code:"PM",alpha3Code:"SPM",numericCode:"666",callingCode:"+508"},{name:"\u0421\u0435\u043d\u0442-\u0412\u0456\u043d\u0441\u0435\u043d\u0442 \u0456 \u0413\u0440\u0435\u043d\u0430\u0434\u0438\u043d\u0438",alpha2Code:"VC",alpha3Code:"VCT",numericCode:"670",callingCode:"+1784"},{name:"\u0421\u0430\u043c\u043e\u0430",alpha2Code:"WS",alpha3Code:"WSM",numericCode:"882",callingCode:"+685"},{name:"\u0421\u0430\u043d-\u041c\u0430\u0440\u0438\u043d\u043e",alpha2Code:"SM",alpha3Code:"SMR",numericCode:"674",callingCode:"+378"},{name:"\u0421\u0430\u043d-\u0422\u043e\u043c\u0435 \u0456 \u041f\u0440\u0438\u043d\u0441\u0456\u043f\u0456",alpha2Code:"ST",alpha3Code:"STP",numericCode:"678",callingCode:"+239"},{name:"\u0421\u0430\u0443\u0434\u0456\u0432\u0441\u044c\u043a\u0430 \u0410\u0440\u0430\u0432\u0456\u044f",alpha2Code:"SA",alpha3Code:"SAU",numericCode:"682",callingCode:"+966"},{name:"\u0421\u0435\u043d\u0435\u0433\u0430\u043b",alpha2Code:"SN",alpha3Code:"SEN",numericCode:"686",callingCode:"+221"},{name:"\u0421\u0435\u0440\u0431\u0456\u044f",alpha2Code:"RS",alpha3Code:"SRB",numericCode:"688",callingCode:"+381"},{name:"\u0421\u0435\u0439\u0448\u0435\u043b\u044c\u0441\u044c\u043a\u0456 \u041e\u0441\u0442\u0440\u043e\u0432\u0438",alpha2Code:"SC",alpha3Code:"SYC",numericCode:"690",callingCode:"+248"},{name:"\u0421\u044c\u0454\u0440\u0440\u0430-\u041b\u0435\u043e\u043d\u0435",alpha2Code:"SL",alpha3Code:"SLE",numericCode:"694",callingCode:"+232"},{name:"\u0421\u0456\u043d\u0433\u0430\u043f\u0443\u0440",alpha2Code:"SG",alpha3Code:"SGP",numericCode:"702",callingCode:"+65"},{name:"\u0421\u0456\u043d\u0442-\u041c\u0430\u0440\u0442\u0435\u043d",alpha2Code:"SX",alpha3Code:"SXM",numericCode:"534",callingCode:"+1721"},{name:"\u0421\u043b\u043e\u0432\u0430\u0447\u0447\u0438\u043d\u0430",alpha2Code:"SK",alpha3Code:"SVK",numericCode:"703",callingCode:"+421"},{name:"\u0421\u043b\u043e\u0432\u0435\u043d\u0456\u044f",alpha2Code:"SI",alpha3Code:"SVN",numericCode:"705",callingCode:"+386"},{name:"\u0421\u043e\u043b\u043e\u043c\u043e\u043d\u043e\u0432\u0456 \u041e\u0441\u0442\u0440\u043e\u0432\u0438",alpha2Code:"SB",alpha3Code:"SLB",numericCode:"090",callingCode:"+677"},{name:"\u0421\u043e\u043c\u0430\u043b\u0456",alpha2Code:"SO",alpha3Code:"SOM",numericCode:"706",callingCode:"+252"},{name:"\u041f\u0410\u0420",alpha2Code:"ZA",alpha3Code:"ZAF",numericCode:"710",callingCode:"+27"},{name:"\u041f\u0456\u0432\u0434\u0435\u043d\u043d\u0430 \u0414\u0436\u043e\u0440\u0434\u0436\u0456\u044f \u0442\u0430 \u041f\u0456\u0432\u0434\u0435\u043d\u043d\u0456 \u0421\u0430\u043d\u0434\u0432\u0456\u0447\u0435\u0432\u0456 \u041e\u0441\u0442\u0440\u043e\u0432\u0438",alpha2Code:"GS",alpha3Code:"SGS",numericCode:"239",callingCode:"+500"},{name:"\u041f\u0456\u0432\u0434\u0435\u043d\u043d\u0430 \u041a\u043e\u0440\u0435\u044f",alpha2Code:"KR",alpha3Code:"KOR",numericCode:"410",callingCode:"+82"},{name:"\u041f\u0456\u0432\u0434\u0435\u043d\u043d\u0438\u0439 \u0421\u0443\u0434\u0430\u043d",alpha2Code:"SS",alpha3Code:"SSD",numericCode:"728",callingCode:"+211"},{name:"\u0406\u0441\u043f\u0430\u043d\u0456\u044f",alpha2Code:"ES",alpha3Code:"ESP",numericCode:"724",callingCode:"+34"},{name:"\u0428\u0440\u0456-\u041b\u0430\u043d\u043a\u0430",alpha2Code:"LK",alpha3Code:"LKA",numericCode:"144",callingCode:"+94"},{name:"\u0421\u0443\u0434\u0430\u043d",alpha2Code:"SD",alpha3Code:"SDN",numericCode:"729",callingCode:"+249"},{name:"\u0421\u0443\u0440\u0438\u043d\u0430\u043c",alpha2Code:"SR",alpha3Code:"SUR",numericCode:"740",callingCode:"+597"},{name:"\u0421\u0432\u0430\u043b\u044c\u0431\u0430\u0440\u0434 \u0456 \u042f\u043d-\u041c\u0430\u0454\u043d",alpha2Code:"SJ",alpha3Code:"SJM",numericCode:"744",callingCode:"+4779"},{name:"\u0415\u0441\u0432\u0430\u0442\u0456\u043d\u0456",alpha2Code:"SZ",alpha3Code:"SWZ",numericCode:"748",callingCode:"+268"},{name:"\u0428\u0432\u0435\u0446\u0456\u044f",alpha2Code:"SE",alpha3Code:"SWE",numericCode:"752",callingCode:"+46"},{name:"\u0428\u0432\u0435\u0439\u0446\u0430\u0440\u0456\u044f",alpha2Code:"CH",alpha3Code:"CHE",numericCode:"756",callingCode:"+41"},{name:"\u0421\u0438\u0440\u0456\u044f",alpha2Code:"SY",alpha3Code:"SYR",numericCode:"760",callingCode:"+963"},{name:"\u0422\u0430\u0439\u0432\u0430\u043d\u044c",alpha2Code:"TW",alpha3Code:"TWN",numericCode:"158",callingCode:"+886"},{name:"\u0422\u0430\u0434\u0436\u0438\u043a\u0438\u0441\u0442\u0430\u043d",alpha2Code:"TJ",alpha3Code:"TJK",numericCode:"762",callingCode:"+992"},{name:"\u0422\u0430\u043d\u0437\u0430\u043d\u0456\u044f",alpha2Code:"TZ",alpha3Code:"TZA",numericCode:"834",callingCode:"+255"},{name:"\u0422\u0430\u0457\u043b\u0430\u043d\u0434",alpha2Code:"TH",alpha3Code:"THA",numericCode:"764",callingCode:"+66"},{name:"\u0421\u0445\u0456\u0434\u043d\u0438\u0439 \u0422\u0438\u043c\u043e\u0440",alpha2Code:"TL",alpha3Code:"TLS",numericCode:"626",callingCode:"+670"},{name:"\u0422\u043e\u0433\u043e",alpha2Code:"TG",alpha3Code:"TGO",numericCode:"768",callingCode:"+228"},{name:"\u0422\u043e\u043a\u0435\u043b\u0430\u0443",alpha2Code:"TK",alpha3Code:"TKL",numericCode:"772",callingCode:"+690"},{name:"\u0422\u043e\u043d\u0433\u0430",alpha2Code:"TO",alpha3Code:"TON",numericCode:"776",callingCode:"+676"},{name:"\u0422\u0440\u0438\u043d\u0456\u0434\u0430\u0434 \u0456 \u0422\u043e\u0431\u0430\u0433\u043e",alpha2Code:"TT",alpha3Code:"TTO",numericCode:"780",callingCode:"+1868"},{name:"\u0422\u0443\u043d\u0456\u0441",alpha2Code:"TN",alpha3Code:"TUN",numericCode:"788",callingCode:"+216"},{name:"\u0422\u0443\u0440\u0435\u0447\u0447\u0438\u043d\u0430",alpha2Code:"TR",alpha3Code:"TUR",numericCode:"792",callingCode:"+90"},{name:"\u0422\u0443\u0440\u043a\u043c\u0435\u043d\u0456\u0441\u0442\u0430\u043d",alpha2Code:"TM",alpha3Code:"TKM",numericCode:"795",callingCode:"+993"},{name:"\u041e\u0441\u0442\u0440\u043e\u0432\u0438 \u0422\u0435\u0440\u043a\u0441 \u0456 \u041a\u0430\u0439\u043a\u043e\u0441",alpha2Code:"TC",alpha3Code:"TCA",numericCode:"796",callingCode:"+1649"},{name:"\u0422\u0443\u0432\u0430\u043b\u0443",alpha2Code:"TV",alpha3Code:"TUV",numericCode:"798",callingCode:"+688"},{name:"\u0423\u0433\u0430\u043d\u0434\u0430",alpha2Code:"UG",alpha3Code:"UGA",numericCode:"800",callingCode:"+256"},{name:"\u0423\u043a\u0440\u0430\u0457\u043d\u0430",alpha2Code:"UA",alpha3Code:"UKR",numericCode:"804",callingCode:"+380"},{name:"\u041e\u0410\u0415",alpha2Code:"AE",alpha3Code:"ARE",numericCode:"784",callingCode:"+971"},{name:"\u0412\u0435\u043b\u0438\u043a\u0430 \u0411\u0440\u0438\u0442\u0430\u043d\u0456\u044f",alpha2Code:"GB",alpha3Code:"GBR",numericCode:"826",callingCode:"+44"},{name:"\u0421\u0428\u0410",alpha2Code:"US",alpha3Code:"USA",numericCode:"840",callingCode:"+1"},{name:"\u0423\u0440\u0443\u0433\u0432\u0430\u0439",alpha2Code:"UY",alpha3Code:"URY",numericCode:"858",callingCode:"+598"},{name:"\u0423\u0437\u0431\u0435\u043a\u0438\u0441\u0442\u0430\u043d",alpha2Code:"UZ",alpha3Code:"UZB",numericCode:"860",callingCode:"+998"},{name:"\u0412\u0430\u043d\u0443\u0430\u0442\u0443",alpha2Code:"VU",alpha3Code:"VUT",numericCode:"548",callingCode:"+678"},{name:"\u0412\u0435\u043d\u0435\u0441\u0443\u0435\u043b\u0430",alpha2Code:"VE",alpha3Code:"VEN",numericCode:"862",callingCode:"+58"},{name:"\u0412'\u0454\u0442\u043d\u0430\u043c",alpha2Code:"VN",alpha3Code:"VNM",numericCode:"704",callingCode:"+84"},{name:"\u0412\u043e\u043b\u043b\u0456\u0441 \u0456 \u0424\u0443\u0442\u0443\u043d\u0430",alpha2Code:"WF",alpha3Code:"WLF",numericCode:"876",callingCode:"+681"},{name:"\u0417\u0430\u0445\u0456\u0434\u043d\u0430 \u0421\u0430\u0445\u0430\u0440\u0430",alpha2Code:"EH",alpha3Code:"ESH",numericCode:"732",callingCode:"+212"},{name:"\u0404\u043c\u0435\u043d",alpha2Code:"YE",alpha3Code:"YEM",numericCode:"887",callingCode:"+967"},{name:"\u0417\u0430\u043c\u0431\u0456\u044f",alpha2Code:"ZM",alpha3Code:"ZMB",numericCode:"894",callingCode:"+260"},{name:"\u0417\u0456\u043c\u0431\u0430\u0431\u0432\u0435",alpha2Code:"ZW",alpha3Code:"ZWE",numericCode:"716",callingCode:"+263"}]});let h1=(()=>{class n{constructor(t,i){this.iconRegistry=t,this.sanitizer=i,this.registerCountries()}static forRoot(t){return{ngModule:n,providers:[{provide:l1,useValue:t}]}}registerCountries(){for(const t of Fv){const i=t.alpha2Code.toLowerCase();try{this.iconRegistry.addSvgIcon(i,this.sanitizer.bypassSecurityTrustResourceUrl(`assets/svg-country-flags/svg/${i}.svg`))}catch(a){console.error("Error: icon not found for "+i,a)}}}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(es),e.LFG(c.H7))},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[_e.ez,A.u5,A.UX,Y.ot,ve,an.c,de.Bb,Ps,lo]}),n})();function By(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function m1(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.hij(" ",t.supplier.name," ")}}function $2(n,o){if(1&n&&(e.TgZ(0,"mat-slide-toggle",13),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=e.oxw().$implicit;e.Q6J("formControl",t.control),e.xp6(1),e.hij(" ",e.lcZ(2,2,t.label)," ")}}function Uy(n,o){if(1&n&&(e.ynx(0),e.YNc(1,$2,3,4,"mat-slide-toggle",12),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","mat-slide-toggle"===t.type)}}function Zy(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessageSupplier(t.id))}}function Yy(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",15)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",16),e.ALo(5,"translate"),e.YNc(6,Zy,2,1,"mat-error",2),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,6,t.label)),e.xp6(2),e.s9C("placeholder",e.lcZ(5,8,t.label)),e.Q6J("formControl",t.control)("type",t.type)("required",t.required),e.xp6(2),e.Q6J("ngIf",t.control.invalid)}}function Ef(n,o){if(1&n&&(e.TgZ(0,"mat-option",19),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.Oqu(t.label)}}function Hy(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessageSupplier(t.id))}}function z2(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field",15)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",17),e.NdJ("valueChange",function(a){e.CHM(t);const l=e.oxw().$implicit;return e.KtG(l.control.value=a)}),e.YNc(5,Ef,2,2,"mat-option",18),e.qZA(),e.YNc(6,Hy,2,1,"mat-error",2),e.qZA()}if(2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,6,t.label)),e.xp6(2),e.Q6J("formControl",t.control)("value",t.control.value)("required",t.required),e.xp6(1),e.Q6J("ngForOf",t.values),e.xp6(1),e.Q6J("ngIf",t.control.invalid)}}function Q2(n,o){if(1&n&&(e.ynx(0),e.YNc(1,Yy,7,10,"mat-form-field",14),e.YNc(2,z2,7,8,"mat-form-field",14),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","text"===t.type),e.xp6(1),e.Q6J("ngIf","select"===t.type)}}function X2(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessageAddress(t.id))}}function Vy(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",15)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",16),e.ALo(5,"translate"),e.YNc(6,X2,2,1,"mat-error",2),e.qZA()),2&n){const t=e.oxw().$implicit;e.ekj("col-span-2","address1"===t.id),e.xp6(2),e.Oqu(e.lcZ(3,8,t.label)),e.xp6(2),e.s9C("placeholder",e.lcZ(5,10,t.label)),e.Q6J("formControl",t.control)("type",t.type)("required",t.required),e.xp6(2),e.Q6J("ngIf",t.control.invalid)}}function Gy(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-select-country",22),e.NdJ("onCountrySelected",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.onCountrySelected(a))}),e.ALo(1,"translate"),e.qZA()}if(2&n){const t=e.oxw().$implicit,i=e.oxw();e.Q6J("label",e.lcZ(1,2,t.label))("value",i.defaultValue)}}function Ky(n,o){if(1&n&&(e.ynx(0),e.YNc(1,Vy,7,12,"mat-form-field",20),e.YNc(2,Gy,2,4,"mat-select-country",21),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","country"!==t.type),e.xp6(1),e.Q6J("ngIf","country"===t.type)}}let eT=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt,Ft,ii){this.router=t,this.http=i,this.dialog=a,this.route=l,this.userService=h,this.formBuilder=E,this.authService=N,this.translate=oe,this.notify=xe,this.localeService=Ve,this.historyService=lt,this.serviceSettings=Ft,this.privilegesService=ii,this.headers=this.authService.headers,this.loading=!0,this.supplierForm=[{id:"get_only_raw_footer",label:(0,He.J)("ACCOUNTS.get_only_raw_footer"),type:"mat-slide-toggle",control:new A.NI,required:!0},{id:"name",label:(0,He.J)("ACCOUNTS.supplier_name"),type:"text",control:new A.NI,required:!0},{id:"vat_number",label:(0,He.J)("ACCOUNTS.vat_number"),type:"text",control:new A.NI,required:!0},{id:"siret",label:(0,He.J)("ACCOUNTS.siret"),type:"text",control:new A.NI,required:!1},{id:"siren",label:(0,He.J)("ACCOUNTS.siren"),type:"text",control:new A.NI,required:!1},{id:"iban",label:(0,He.J)("ACCOUNTS.iban"),type:"text",control:new A.NI,required:!1},{id:"email",label:(0,He.J)("FORMATS.email"),type:"text",control:new A.NI("",A.kI.email),required:!1},{id:"form_id",label:(0,He.J)("ACCOUNTS.form"),type:"select",control:new A.NI,required:!1,values:[]},{id:"document_lang",label:(0,He.J)("ADDRESSES.document_lang"),type:"select",control:new A.NI,required:!0,values:[]}],this.addressForm=[{id:"address1",label:(0,He.J)("ADDRESSES.address_1"),type:"text",control:new A.NI,required:!0},{id:"address2",label:(0,He.J)("ADDRESSES.address_2"),type:"text",control:new A.NI,required:!1},{id:"postal_code",label:(0,He.J)("ADDRESSES.postal_code"),type:"text",control:new A.NI,required:!0},{id:"city",label:(0,He.J)("ADDRESSES.city"),type:"text",control:new A.NI,required:!0},{id:"country",label:(0,He.J)("ADDRESSES.country"),type:"country",control:new A.NI("France"),required:!0}],this.defaultValue={name:"France",alpha2Code:"",alpha3Code:"",numericCode:"",callingCode:""}}ngOnInit(){this.authService.headersExists||this.authService.generateHeaders(),this.supplierId=this.route.snapshot.params.id,this.supplierForm.forEach(t=>{("vat_number"===t.id||"siret"===t.id||"siren"===t.id||"iban"===t.id)&&t.control.valueChanges.subscribe(i=>{i&&i.includes(" ")&&t.control.setValue(i.replace(" ",""))}),"document_lang"===t.id&&(0===this.localeService.langs.length?this.http.get(m.N.url+"/ws/i18n/getAllLang",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{i.langs.forEach(a=>{t.control.setValue("fra"),t.values.push({id:a[0],label:a[1]})})}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe():this.localeService.langs.forEach(i=>{t.control.setValue("fra"),t.values.push({id:i[0],label:i[1]})}))}),this.http.get(m.N.url+"/ws/forms/list?module=verifier",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.http.get(m.N.url+"/ws/accounts/suppliers/getById/"+this.supplierId,{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.supplier=i;for(const a in this.supplier)i.hasOwnProperty(a)&&this.supplierForm.forEach(l=>{l.id===a?(l.control.setValue("get_only_raw_footer"===l.id?!this.supplier[a]:this.supplier[a]),"form_id"===l.id&&(l.values=t.forms)):"address_id"===a&&(this.addressId=this.supplier[a],this.addressId?this.http.get(m.N.url+"/ws/accounts/getAdressById/"+this.addressId,{headers:this.authService.headers}).pipe((0,$e.b)(h=>{for(const E in h)h.hasOwnProperty(E)&&this.addressForm.forEach(N=>{N.id===E&&("country"===E&&(this.defaultValue.name=h[E]),N.control.setValue(h[E]))})}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(h=>(console.debug(h),this.notify.handleErrors(h),(0,ie.of)(!1)))).subscribe():this.http.post(m.N.url+"/ws/accounts/addresses/create",{args:{address1:"",address2:"",postal_code:"",city:"",country:""}},{headers:this.authService.headers}).pipe((0,$e.b)(h=>{this.addressId=h.id,this.http.put(m.N.url+"/ws/accounts/suppliers/update/"+this.supplierId,{args:{address_id:this.addressId}},{headers:this.authService.headers}).pipe((0,Di.x)(()=>this.loading=!1),(0,Ke.K)(E=>(console.debug(E),this.notify.handleErrors(E,"/accounts/suppliers/list"),(0,ie.of)(!1)))).subscribe()}),(0,Ke.K)(h=>(console.debug(h),this.notify.handleErrors(h,"/accounts/customers/list"),(0,ie.of)(!1)))).subscribe())})}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}onCountrySelected(t){this.addressForm.forEach(i=>{"country"===i.id&&i.control.setValue(t.name)})}isValidForm(){let t=!0;return this.supplierForm.forEach(i=>{"DISABLED"!==i.control.status&&"VALID"!==i.control.status&&(t=!1),i.control.markAsTouched()}),this.addressForm.forEach(i=>{"DISABLED"!==i.control.status&&"VALID"!==i.control.status&&(t=!1),i.control.markAsTouched()}),t}onSubmit(){if(this.isValidForm()){const t={},i={};this.supplierForm.forEach(a=>{t[a.id]=a.control.value,"get_only_raw_footer"===a.id&&(t[a.id]=!a.control.value)}),this.addressForm.forEach(a=>{i[a.id]=a.control.value}),this.http.put(m.N.url+"/ws/accounts/suppliers/update/"+this.supplierId,{args:t},{headers:this.authService.headers}).pipe((0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a,"/accounts/suppliers/list"),(0,ie.of)(!1)))).subscribe(),this.http.put(m.N.url+"/ws/accounts/addresses/update/"+this.addressId,{args:i},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.historyService.addHistory("accounts","update_supplier",this.translate.instant("HISTORY-DESC.update-supplier",{supplier:t.name})),this.notify.success(this.translate.instant("ACCOUNTS.supplier_updated")),this.router.navigate(["/accounts/suppliers/list"]).then()}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a,"/accounts/suppliers/list"),(0,ie.of)(!1)))).subscribe()}}getErrorMessageSupplier(t){let i;return this.supplierForm.forEach(a=>{a.id===t&&(a.required&&!(a.value||a.control.value)&&(i=this.translate.instant("AUTH.field_required")),a.control.errors&&a.control.errors.email&&(i=this.translate.instant("ACCOUNTS.email_format_error")))}),i}getErrorMessageAddress(t){let i;return this.addressForm.forEach(a=>{a.id===t&&a.required&&!a.value&&!a.control.value&&(i=this.translate.instant("AUTH.field_required"))}),i}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Ui),e.Y36(Nt.gz),e.Y36(zi.K),e.Y36(A.qu),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(jr),e.Y36(kn.q),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-update"]],decls:19,vars:9,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],[1,"settings_title","text-center"],[1,"border-green-400"],[1,"flex","justify-center","m-10"],[4,"ngFor","ngForOf"],[1,"flex","justify-center","items-center"],[1,"grid","grid-cols-7","gap-2","w-full","m-5","text-center",3,"ngSubmit"],[1,"button","col-span-7"],["type","submit","mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300"],[3,"formControl",4,"ngIf"],[3,"formControl"],["class","block",4,"ngIf"],[1,"block"],["matInput","",3,"formControl","type","placeholder","required"],[3,"formControl","value","required","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["class","block",3,"col-span-2",4,"ngIf"],["class","w-full",3,"label","value","onCountrySelected",4,"ngIf"],[1,"w-full",3,"label","value","onCountrySelected"]],template:function(t,i){1&t&&(e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav-content",1),e.YNc(2,By,2,0,"div",2),e.TgZ(3,"div",3)(4,"div",4)(5,"h3"),e._uU(6),e.YNc(7,m1,2,1,"span",2),e.qZA(),e._UZ(8,"hr",5),e.qZA()(),e.TgZ(9,"div",6),e.YNc(10,Uy,2,1,"ng-container",7),e.qZA(),e.TgZ(11,"div",8)(12,"form",9),e.NdJ("ngSubmit",function(){return i.onSubmit()}),e.YNc(13,Q2,3,2,"ng-container",7),e.YNc(14,Ky,3,2,"ng-container",7),e.TgZ(15,"div",10)(16,"button",11),e._uU(17),e.ALo(18,"translate"),e.qZA()()()()()()),2&t&&(e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(4),e.hij("",i.serviceSettings.getTitle()," : "),e.xp6(1),e.Q6J("ngIf",i.supplier),e.xp6(3),e.Q6J("ngForOf",i.supplierForm),e.xp6(3),e.Q6J("ngForOf",i.supplierForm),e.xp6(1),e.Q6J("ngForOf",i.addressForm),e.xp6(3),e.hij(" ",e.lcZ(18,7,"ACCOUNTS.update_supplier")," "))},dependencies:[_e.sg,_e.O5,Rt.TO,Rt.KE,Rt.hX,Be.gD,b.ey,Va.Rr,an.Nt,Vt.TM,Vt.Rh,Y.lW,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.oH,A.F,Cm,Cn.R,$t.X$],styles:["mat-select-country mat-form-field{width:100%}"]}),n})();function jy(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function g1(n,o){if(1&n&&(e.TgZ(0,"mat-slide-toggle",13),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=e.oxw().$implicit;e.Q6J("formControl",t.control),e.xp6(1),e.hij(" ",e.lcZ(2,2,t.label)," ")}}function f1(n,o){if(1&n&&(e.ynx(0),e.YNc(1,g1,3,4,"mat-slide-toggle",12),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","mat-slide-toggle"===t.type)}}function tT(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessageSupplier(t.id))}}function oc(n,o){if(1&n&&(e.TgZ(0,"mat-hint"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=e.oxw(2).$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,t.hint))}}function Wy(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",15)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",16),e.ALo(5,"translate"),e.YNc(6,tT,2,1,"mat-error",2),e.YNc(7,oc,3,3,"mat-hint",2),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,7,t.label)),e.xp6(2),e.s9C("placeholder",e.lcZ(5,9,t.label)),e.Q6J("formControl",t.control)("type",t.type)("required",t.required),e.xp6(2),e.Q6J("ngIf",t.control.invalid),e.xp6(1),e.Q6J("ngIf",t.hint)}}function Uv(n,o){if(1&n&&(e.TgZ(0,"mat-option",19),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.Oqu(t.label)}}function qy(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessageSupplier(t.id))}}function Pl(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",15)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",17),e.YNc(5,Uv,2,2,"mat-option",18),e.qZA(),e.YNc(6,qy,2,1,"mat-error",2),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,5,t.label)),e.xp6(2),e.Q6J("formControl",t.control)("required",t.required),e.xp6(1),e.Q6J("ngForOf",t.values),e.xp6(1),e.Q6J("ngIf",t.control.invalid)}}function Jy(n,o){if(1&n&&(e.ynx(0),e.YNc(1,Wy,8,11,"mat-form-field",14),e.YNc(2,Pl,7,7,"mat-form-field",14),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","text"===t.type),e.xp6(1),e.Q6J("ngIf","select"===t.type)}}function Zv(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessageAddress(t.id))}}function $y(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",15)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",16),e.ALo(5,"translate"),e.YNc(6,Zv,2,1,"mat-error",2),e.qZA()),2&n){const t=e.oxw().$implicit;e.ekj("col-span-2","address1"===t.id),e.xp6(2),e.Oqu(e.lcZ(3,8,t.label)),e.xp6(2),e.s9C("placeholder",e.lcZ(5,10,t.label)),e.Q6J("formControl",t.control)("type",t.type)("required",t.required),e.xp6(2),e.Q6J("ngIf",t.control.invalid)}}function zy(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-select-country",22),e.NdJ("onCountrySelected",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.onCountrySelected(a))}),e.ALo(1,"translate"),e.qZA()}if(2&n){const t=e.oxw().$implicit,i=e.oxw();e.Q6J("label",e.lcZ(1,2,t.label))("value",i.defaultValue)}}function Yv(n,o){if(1&n&&(e.ynx(0),e.YNc(1,$y,7,12,"mat-form-field",20),e.YNc(2,zy,2,4,"mat-select-country",21),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","country"!==t.type),e.xp6(1),e.Q6J("ngIf","country"===t.type)}}let C1=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt,Ft,ii){this.router=t,this.http=i,this.dialog=a,this.route=l,this.userService=h,this.formBuilder=E,this.authService=N,this.translate=oe,this.notify=xe,this.localeService=Ve,this.historyService=lt,this.serviceSettings=Ft,this.privilegesService=ii,this.headers=this.authService.headers,this.loading=!0,this.supplierForm=[{id:"get_only_raw_footer",label:(0,He.J)("ACCOUNTS.get_only_raw_footer"),type:"mat-slide-toggle",control:new A.NI(!0),required:!0},{id:"name",label:(0,He.J)("ACCOUNTS.supplier_name"),type:"text",control:new A.NI,required:!0},{id:"vat_number",label:(0,He.J)("ACCOUNTS.vat_number"),type:"text",control:new A.NI,required:!0},{id:"siret",label:(0,He.J)("ACCOUNTS.siret"),type:"text",control:new A.NI,required:!1},{id:"siren",label:(0,He.J)("ACCOUNTS.siren"),type:"text",control:new A.NI,required:!1},{id:"iban",label:(0,He.J)("ACCOUNTS.iban"),type:"text",control:new A.NI,required:!1},{id:"email",label:(0,He.J)("FORMATS.email"),type:"text",hint:(0,He.J)("ACCOUNTS.only_one_email"),control:new A.NI("",A.kI.email),required:!1},{id:"form_id",label:(0,He.J)("ACCOUNTS.form"),type:"select",control:new A.NI,required:!1,values:[]},{id:"document_lang",label:(0,He.J)("ADDRESSES.document_lang"),type:"select",control:new A.NI,required:!0,values:[]}],this.addressForm=[{id:"address1",label:(0,He.J)("ADDRESSES.address_1"),type:"text",control:new A.NI,required:!0},{id:"address2",label:(0,He.J)("ADDRESSES.address_2"),type:"text",control:new A.NI,required:!1},{id:"postal_code",label:(0,He.J)("ADDRESSES.postal_code"),type:"text",control:new A.NI,required:!0},{id:"city",label:(0,He.J)("ADDRESSES.city"),type:"text",control:new A.NI,required:!0},{id:"country",label:(0,He.J)("ADDRESSES.country"),type:"country",control:new A.NI("France"),required:!0}],this.defaultValue={name:"France",alpha2Code:"FR",alpha3Code:"FRA",numericCode:"250",callingCode:"+33"}}ngOnInit(){this.authService.headersExists||this.authService.generateHeaders(),this.http.get(m.N.url+"/ws/forms/list?module=verifier",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{const i=t.forms;for(const a in i)i.hasOwnProperty(a)&&this.supplierForm.forEach(l=>{"form_id"===l.id&&(l.values=i)})}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.supplierForm.forEach(t=>{("vat_number"===t.id||"siret"===t.id||"siren"===t.id||"iban"===t.id)&&t.control.valueChanges.subscribe(i=>{i&&i.includes(" ")&&t.control.setValue(i.replace(" ",""))}),"document_lang"===t.id&&(0===this.localeService.langs.length?this.http.get(m.N.url+"/ws/i18n/getAllLang",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{i.langs.forEach(a=>{t.control.setValue("fra"),t.values.push({id:a[0],label:a[1]})})}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe():(this.localeService.langs.forEach(i=>{t.control.setValue("fra"),t.values.push({id:i[0],label:i[1]})}),this.loading=!1))})}onCountrySelected(t){this.addressForm.forEach(i=>{"country"===i.id&&i.control.setValue(t.name)})}isValidForm(){let t=!0;return this.supplierForm.forEach(i=>{"DISABLED"!==i.control.status&&"VALID"!==i.control.status&&(t=!1),i.control.markAsTouched()}),this.addressForm.forEach(i=>{"DISABLED"!==i.control.status&&"VALID"!==i.control.status&&(t=!1),i.control.markAsTouched()}),t}onSubmit(){if(this.isValidForm()){const t={},i={};this.supplierForm.forEach(a=>{t[a.id]=a.control.value,"get_only_raw_footer"===a.id&&(t[a.id]=!a.control.value)}),this.addressForm.forEach(a=>{i[a.id]=a.control.value}),this.http.post(m.N.url+"/ws/accounts/addresses/create",{args:i},{headers:this.authService.headers}).pipe((0,$e.b)(a=>{t.address_id=a.id,this.http.post(m.N.url+"/ws/accounts/suppliers/create",{args:t},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.historyService.addHistory("accounts","create_supplier",this.translate.instant("HISTORY-DESC.create-supplier",{supplier:t.name})),this.notify.success(this.translate.instant("ACCOUNTS.supplier_created")),this.router.navigate(["/accounts/suppliers/list"]).then()}),(0,Ke.K)(l=>(console.debug(l),this.notify.handleErrors(l,"/accounts/suppliers/list"),(0,ie.of)(!1)))).subscribe()}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a,"/accounts/suppliers/list"),(0,ie.of)(!1)))).subscribe()}}getErrorMessageSupplier(t){let i;return this.supplierForm.forEach(a=>{a.id===t&&a.required&&!(a.value||a.control.value)&&(i=this.translate.instant("AUTH.field_required")),a.control.errors&&a.control.errors.email&&(i=this.translate.instant("ACCOUNTS.email_format_error"))}),i}getErrorMessageAddress(t){let i;return this.addressForm.forEach(a=>{a.id===t&&a.required&&!a.value&&!a.control.value&&(i=this.translate.instant("AUTH.field_required"))}),i}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Ui),e.Y36(Nt.gz),e.Y36(zi.K),e.Y36(A.qu),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(jr),e.Y36(kn.q),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-create"]],decls:18,vars:8,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],[1,"settings_title","text-center"],[1,"border-green-400"],[1,"flex","justify-center","m-10"],[4,"ngFor","ngForOf"],[1,"flex","justify-center","items-center","align-middle"],[1,"grid","grid-cols-7","gap-2","w-full","m-10","text-center",3,"ngSubmit"],[1,"button","col-span-7"],["type","submit","mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300"],[3,"formControl",4,"ngIf"],[3,"formControl"],["class","block",4,"ngIf"],[1,"block"],["matInput","",3,"formControl","type","placeholder","required"],[3,"formControl","required"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["class","block",3,"col-span-2",4,"ngIf"],["class","w-full",3,"label","value","onCountrySelected",4,"ngIf"],[1,"w-full",3,"label","value","onCountrySelected"]],template:function(t,i){1&t&&(e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav-content",1),e.YNc(2,jy,2,0,"div",2),e.TgZ(3,"div",3)(4,"div",4)(5,"h3"),e._uU(6),e.qZA(),e._UZ(7,"hr",5),e.qZA()(),e.TgZ(8,"div",6),e.YNc(9,f1,2,1,"ng-container",7),e.qZA(),e.TgZ(10,"div",8)(11,"form",9),e.NdJ("ngSubmit",function(){return i.onSubmit()}),e.YNc(12,Jy,3,2,"ng-container",7),e.YNc(13,Yv,3,2,"ng-container",7),e.TgZ(14,"div",10)(15,"button",11),e._uU(16),e.ALo(17,"translate"),e.qZA()()()()()()),2&t&&(e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(4),e.Oqu(i.serviceSettings.getTitle()),e.xp6(3),e.Q6J("ngForOf",i.supplierForm),e.xp6(3),e.Q6J("ngForOf",i.supplierForm),e.xp6(1),e.Q6J("ngForOf",i.addressForm),e.xp6(3),e.hij(" ",e.lcZ(17,6,"ACCOUNTS.create_supplier")," "))},dependencies:[_e.sg,_e.O5,Rt.TO,Rt.KE,Rt.bx,Rt.hX,Be.gD,b.ey,Va.Rr,an.Nt,Vt.TM,Vt.Rh,Y.lW,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.oH,A.F,Cm,Cn.R,$t.X$],styles:["mat-select-country mat-form-field{width:100%}"]}),n})();function v1(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function Qy(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.hij(" ",t.customer.name," ")}}function x1(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessageCustomer(t.id))}}function b1(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",12)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",13),e.ALo(5,"translate"),e.YNc(6,x1,2,1,"mat-error",2),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,6,t.label)),e.xp6(2),e.s9C("placeholder",e.lcZ(5,8,t.label)),e.Q6J("formControl",t.control)("type",t.type)("required",t.required),e.xp6(2),e.Q6J("ngIf",t.control.invalid)}}function Xy(n,o){if(1&n&&(e.TgZ(0,"mat-option",16),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.Oqu(t.label)}}function y1(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessageCustomer(t.id))}}function e2(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field",12)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",14),e.NdJ("valueChange",function(a){e.CHM(t);const l=e.oxw().$implicit;return e.KtG(l.control.value=a)}),e.YNc(5,Xy,2,2,"mat-option",15),e.qZA(),e.YNc(6,y1,2,1,"mat-error",2),e.qZA()}if(2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,6,t.label)),e.xp6(2),e.Q6J("formControl",t.control)("value",t.control.value)("required",t.required),e.xp6(1),e.Q6J("ngForOf",t.values),e.xp6(1),e.Q6J("ngIf",t.control.invalid)}}function vm(n,o){if(1&n&&(e.ynx(0),e.YNc(1,b1,7,10,"mat-form-field",11),e.YNc(2,e2,7,8,"mat-form-field",11),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","select"!==t.type),e.xp6(1),e.Q6J("ngIf","select"===t.type)}}function Nc(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessageAddress(t.id))}}function T1(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",12)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",13),e.ALo(5,"translate"),e.YNc(6,Nc,2,1,"mat-error",2),e.qZA()),2&n){const t=e.oxw().$implicit;e.ekj("col-span-2","address1"===t.id),e.xp6(2),e.Oqu(e.lcZ(3,8,t.label)),e.xp6(2),e.s9C("placeholder",e.lcZ(5,10,t.label)),e.Q6J("formControl",t.control)("type",t.type)("required",t.required),e.xp6(2),e.Q6J("ngIf",t.control.invalid)}}function Hv(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-select-country",19),e.NdJ("onCountrySelected",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.onCountrySelected(a))}),e.ALo(1,"translate"),e.qZA()}if(2&n){const t=e.oxw().$implicit,i=e.oxw();e.Q6J("label",e.lcZ(1,2,t.label))("value",i.defaultValue)}}function Md(n,o){if(1&n&&(e.ynx(0),e.YNc(1,T1,7,12,"mat-form-field",17),e.YNc(2,Hv,2,4,"mat-select-country",18),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","country"!==t.type),e.xp6(1),e.Q6J("ngIf","country"===t.type)}}let t2=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt,Ft){this.router=t,this.http=i,this.dialog=a,this.route=l,this.userService=h,this.formBuilder=E,this.authService=N,this.translate=oe,this.notify=xe,this.historyService=Ve,this.serviceSettings=lt,this.privilegesService=Ft,this.headers=this.authService.headers,this.loading=!0,this.customerForm=[{id:"name",label:(0,He.J)("ACCOUNTS.supplier_name"),type:"text",control:new A.NI,required:!0},{id:"vat_number",label:(0,He.J)("ACCOUNTS.vat_number"),type:"text",control:new A.NI,required:!0},{id:"siret",label:(0,He.J)("ACCOUNTS.siret"),type:"text",control:new A.NI,required:!0},{id:"siren",label:(0,He.J)("ACCOUNTS.siren"),type:"text",control:new A.NI,required:!1},{id:"company_number",label:(0,He.J)("ACCOUNTS.company_number"),type:"text",control:new A.NI,required:!1}],this.addressForm=[{id:"address1",label:(0,He.J)("ADDRESSES.address_1"),type:"text",control:new A.NI,required:!0},{id:"address2",label:(0,He.J)("ADDRESSES.address_2"),type:"text",control:new A.NI,required:!1},{id:"postal_code",label:(0,He.J)("ADDRESSES.postal_code"),type:"text",control:new A.NI,required:!0},{id:"city",label:(0,He.J)("ADDRESSES.city"),type:"text",control:new A.NI,required:!0},{id:"country",label:(0,He.J)("ADDRESSES.country"),type:"country",control:new A.NI,required:!0}],this.defaultValue={name:"France",alpha2Code:"",alpha3Code:"",numericCode:"",callingCode:""}}ngOnInit(){this.authService.headersExists||this.authService.generateHeaders(),this.customerId=this.route.snapshot.params.id,this.http.get(m.N.url+"/ws/accounts/customers/getById/"+this.customerId,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.customer=t;for(const i in this.customer)t.hasOwnProperty(i)&&this.customerForm.forEach(a=>{a.id===i?a.control.setValue(this.customer[i]):"address_id"===i&&(this.addressId=this.customer[i],this.addressId?this.http.get(m.N.url+"/ws/accounts/getAdressById/"+this.addressId,{headers:this.authService.headers}).pipe((0,$e.b)(l=>{for(const h in l)l.hasOwnProperty(h)&&this.addressForm.forEach(E=>{E.id===h&&("country"===h&&(this.defaultValue.name=l[h]),E.control.setValue(l[h]))})}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(l=>(console.debug(l),this.notify.handleErrors(l),(0,ie.of)(!1)))).subscribe():this.http.post(m.N.url+"/ws/accounts/addresses/create",{args:{address1:"",address2:"",postal_code:"",city:"",country:""}},{headers:this.authService.headers}).pipe((0,$e.b)(l=>{this.addressId=l.id,this.http.put(m.N.url+"/ws/accounts/customers/update/"+this.customerId,{args:{address_id:this.addressId}},{headers:this.authService.headers}).pipe((0,Di.x)(()=>this.loading=!1),(0,Ke.K)(h=>(console.debug(h),this.notify.handleErrors(h,"/accounts/customers/list"),(0,ie.of)(!1)))).subscribe()}),(0,Ke.K)(l=>(console.debug(l),this.notify.handleErrors(l,"/accounts/customers/list"),(0,ie.of)(!1)))).subscribe())})}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}onCountrySelected(t){this.addressForm.forEach(i=>{"country"===i.id&&i.control.setValue(t.name)})}isValidForm(){let t=!0;return this.customerForm.forEach(i=>{"DISABLED"!==i.control.status&&"VALID"!==i.control.status&&(t=!1),i.control.markAsTouched()}),t}onSubmit(){if(this.isValidForm()){const t={},i={};this.customerForm.forEach(a=>{t[a.id]=a.control.value}),this.addressForm.forEach(a=>{i[a.id]=a.control.value}),this.http.put(m.N.url+"/ws/accounts/customers/update/"+this.customerId,{args:t},{headers:this.authService.headers}).pipe((0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a,"/accounts/customers/list"),(0,ie.of)(!1)))).subscribe(),this.http.put(m.N.url+"/ws/accounts/addresses/update/"+this.addressId,{args:i},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.historyService.addHistory("accounts","update_customer",this.translate.instant("HISTORY-DESC.update-customer",{customer:t.name})),this.notify.success(this.translate.instant("ACCOUNTS.customer_updated")),this.router.navigate(["/accounts/customers/list"]).then()}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a,"/accounts/customers/list"),(0,ie.of)(!1)))).subscribe()}}getErrorMessageCustomer(t){let i;return this.customerForm.forEach(a=>{a.id===t&&a.required&&!a.value&&!a.control.value&&(i=this.translate.instant("AUTH.field_required"))}),i}getErrorMessageAddress(t){let i;return this.addressForm.forEach(a=>{a.id===t&&a.required&&!a.value&&!a.control.value&&(i=this.translate.instant("AUTH.field_required"))}),i}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Ui),e.Y36(Nt.gz),e.Y36(zi.K),e.Y36(A.qu),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-update"]],decls:17,vars:8,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],[1,"settings_title","text-center"],[1,"border-green-400"],[1,"flex","justify-center","items-center","align-middle"],[1,"grid","grid-cols-6","gap-2","w-full","m-10","text-center",3,"ngSubmit"],[4,"ngFor","ngForOf"],[1,"button","col-span-6"],["type","submit","mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300"],["class","block",4,"ngIf"],[1,"block"],["matInput","",3,"formControl","type","placeholder","required"],[3,"formControl","value","required","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["class","block",3,"col-span-2",4,"ngIf"],["class","w-full",3,"label","value","onCountrySelected",4,"ngIf"],[1,"w-full",3,"label","value","onCountrySelected"]],template:function(t,i){1&t&&(e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav-content",1),e.YNc(2,v1,2,0,"div",2),e.TgZ(3,"div",3)(4,"div",4)(5,"h3"),e._uU(6),e.YNc(7,Qy,2,1,"span",2),e.qZA(),e._UZ(8,"hr",5),e.qZA()(),e.TgZ(9,"div",6)(10,"form",7),e.NdJ("ngSubmit",function(){return i.onSubmit()}),e.YNc(11,vm,3,2,"ng-container",8),e.YNc(12,Md,3,2,"ng-container",8),e.TgZ(13,"div",9)(14,"button",10),e._uU(15),e.ALo(16,"translate"),e.qZA()()()()()()),2&t&&(e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(4),e.hij("",i.serviceSettings.getTitle()," : "),e.xp6(1),e.Q6J("ngIf",i.customer),e.xp6(4),e.Q6J("ngForOf",i.customerForm),e.xp6(1),e.Q6J("ngForOf",i.addressForm),e.xp6(3),e.hij(" ",e.lcZ(16,6,"ACCOUNTS.update_customer")," "))},dependencies:[_e.sg,_e.O5,Rt.TO,Rt.KE,Rt.hX,Be.gD,b.ey,an.Nt,Vt.TM,Vt.Rh,Y.lW,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.oH,A.F,Cm,Cn.R,$t.X$],styles:["mat-select-country mat-form-field{width:100%}"]}),n})();function iT(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function n2(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessageCustomer(t.id))}}function a2(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",12)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",13),e.ALo(5,"translate"),e.YNc(6,n2,2,1,"mat-error",2),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,6,t.label)),e.xp6(2),e.s9C("placeholder",e.lcZ(5,8,t.label)),e.Q6J("formControl",t.control)("type",t.type)("required",t.required),e.xp6(2),e.Q6J("ngIf",t.control.invalid)}}function o2(n,o){if(1&n&&(e.TgZ(0,"mat-option",16),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.Oqu(t.label)}}function r2(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessageCustomer(t.id))}}function M1(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field",12)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",14),e.NdJ("valueChange",function(a){e.CHM(t);const l=e.oxw().$implicit;return e.KtG(l.control.value=a)}),e.YNc(5,o2,2,2,"mat-option",15),e.qZA(),e.YNc(6,r2,2,1,"mat-error",2),e.qZA()}if(2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,6,t.label)),e.xp6(2),e.Q6J("formControl",t.control)("value",t.control.value)("required",t.required),e.xp6(1),e.Q6J("ngForOf",t.values),e.xp6(1),e.Q6J("ngIf",t.control.invalid)}}function nT(n,o){if(1&n&&(e.ynx(0),e.YNc(1,a2,7,10,"mat-form-field",11),e.YNc(2,M1,7,8,"mat-form-field",11),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","select"!==t.type),e.xp6(1),e.Q6J("ngIf","select"===t.type)}}function D1(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessageAddress(t.id))}}function s2(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",12)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",13),e.ALo(5,"translate"),e.YNc(6,D1,2,1,"mat-error",2),e.qZA()),2&n){const t=e.oxw().$implicit;e.ekj("col-span-2","address1"===t.id),e.xp6(2),e.Oqu(e.lcZ(3,8,t.label)),e.xp6(2),e.s9C("placeholder",e.lcZ(5,10,t.label)),e.Q6J("formControl",t.control)("type",t.type)("required",t.required),e.xp6(2),e.Q6J("ngIf",t.control.invalid)}}function E1(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-select-country",19),e.NdJ("onCountrySelected",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.onCountrySelected(a))}),e.ALo(1,"translate"),e.qZA()}if(2&n){const t=e.oxw().$implicit,i=e.oxw();e.Q6J("label",e.lcZ(1,2,t.label))("value",i.defaultValue)}}function aT(n,o){if(1&n&&(e.ynx(0),e.YNc(1,s2,7,12,"mat-form-field",17),e.YNc(2,E1,2,4,"mat-select-country",18),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","country"!==t.type),e.xp6(1),e.Q6J("ngIf","country"===t.type)}}let Vv=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt,Ft){this.router=t,this.http=i,this.dialog=a,this.route=l,this.userService=h,this.formBuilder=E,this.authService=N,this.translate=oe,this.notify=xe,this.historyService=Ve,this.serviceSettings=lt,this.privilegesService=Ft,this.headers=this.authService.headers,this.loading=!0,this.customerForm=[{id:"name",label:(0,He.J)("ACCOUNTS.customer_name"),type:"text",control:new A.NI,required:!0},{id:"vat_number",label:(0,He.J)("ACCOUNTS.vat_number"),type:"text",control:new A.NI,required:!0},{id:"siret",label:(0,He.J)("ACCOUNTS.siret"),type:"text",control:new A.NI,required:!0},{id:"siren",label:(0,He.J)("ACCOUNTS.siren"),type:"text",control:new A.NI,required:!1},{id:"company_number",label:(0,He.J)("ACCOUNTS.company_number"),type:"text",control:new A.NI,required:!1}],this.addressForm=[{id:"address1",label:(0,He.J)("ADDRESSES.address_1"),type:"text",control:new A.NI,required:!0},{id:"address2",label:(0,He.J)("ADDRESSES.address_2"),type:"text",control:new A.NI,required:!1},{id:"postal_code",label:(0,He.J)("ADDRESSES.postal_code"),type:"text",control:new A.NI,required:!0},{id:"city",label:(0,He.J)("ADDRESSES.city"),type:"text",control:new A.NI,required:!0},{id:"country",label:(0,He.J)("ADDRESSES.country"),type:"country",control:new A.NI,required:!0}],this.defaultValue={name:"France",alpha2Code:"FR",alpha3Code:"FRA",numericCode:"250",callingCode:"+33"}}ngOnInit(){this.authService.headersExists||this.authService.generateHeaders(),this.loading=!1}onCountrySelected(t){this.addressForm.forEach(i=>{"country"===i.id&&i.control.setValue(t.name)})}isValidForm(){let t=!0;return this.customerForm.forEach(i=>{"DISABLED"!==i.control.status&&"VALID"!==i.control.status&&(t=!1),i.control.markAsTouched()}),t}onSubmit(){if(this.isValidForm()){const t={},i={};this.customerForm.forEach(a=>{t[a.id]=a.control.value}),this.addressForm.forEach(a=>{i[a.id]=a.control.value}),this.http.post(m.N.url+"/ws/accounts/addresses/create",{args:i},{headers:this.authService.headers}).pipe((0,$e.b)(a=>{t.address_id=a.id,this.http.post(m.N.url+"/ws/accounts/customers/create",{args:t},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.historyService.addHistory("accounts","create_customer",this.translate.instant("HISTORY-DESC.create-customer",{customer:t.name})),this.notify.success(this.translate.instant("ACCOUNTS.customer_created")),this.router.navigate(["/accounts/customers/list"]).then()}),(0,Ke.K)(l=>(console.debug(l),this.notify.handleErrors(l,"/accounts/customers/list"),(0,ie.of)(!1)))).subscribe()}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a,"/accounts/customers/list"),(0,ie.of)(!1)))).subscribe()}}getErrorMessageCustomer(t){let i;return this.customerForm.forEach(a=>{a.id===t&&a.required&&!a.value&&!a.control.value&&(i=this.translate.instant("AUTH.field_required"))}),i}getErrorMessageAddress(t){let i;return this.addressForm.forEach(a=>{a.id===t&&a.required&&!a.value&&!a.control.value&&(i=this.translate.instant("AUTH.field_required"))}),i}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Ui),e.Y36(Nt.gz),e.Y36(zi.K),e.Y36(A.qu),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-create"]],decls:16,vars:7,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],[1,"settings_title","text-center"],[1,"border-green-400"],[1,"flex","justify-center","items-center","align-middle"],[1,"grid","grid-cols-6","gap-2","w-full","m-10","text-center",3,"ngSubmit"],[4,"ngFor","ngForOf"],[1,"button","col-span-6"],["type","submit","mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300"],["class","block",4,"ngIf"],[1,"block"],["matInput","",3,"formControl","type","placeholder","required"],[3,"formControl","value","required","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["class","block",3,"col-span-2",4,"ngIf"],["class","w-full",3,"label","value","onCountrySelected",4,"ngIf"],[1,"w-full",3,"label","value","onCountrySelected"]],template:function(t,i){1&t&&(e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav-content",1),e.YNc(2,iT,2,0,"div",2),e.TgZ(3,"div",3)(4,"div",4)(5,"h3"),e._uU(6),e.qZA(),e._UZ(7,"hr",5),e.qZA()(),e.TgZ(8,"div",6)(9,"form",7),e.NdJ("ngSubmit",function(){return i.onSubmit()}),e.YNc(10,nT,3,2,"ng-container",8),e.YNc(11,aT,3,2,"ng-container",8),e.TgZ(12,"div",9)(13,"button",10),e._uU(14),e.ALo(15,"translate"),e.qZA()()()()()()),2&t&&(e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(4),e.Oqu(i.serviceSettings.getTitle()),e.xp6(4),e.Q6J("ngForOf",i.customerForm),e.xp6(1),e.Q6J("ngForOf",i.addressForm),e.xp6(3),e.hij(" ",e.lcZ(15,5,"ACCOUNTS.create_customer")," "))},dependencies:[_e.sg,_e.O5,Rt.TO,Rt.KE,Rt.hX,Be.gD,b.ey,an.Nt,Vt.TM,Vt.Rh,Y.lW,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.oH,A.F,Cm,Cn.R,$t.X$],styles:["mat-select-country mat-form-field{width:100%}"]}),n})();const w1=[{path:"500",component:cm},{path:"",redirectTo:"login",pathMatch:"full"},{path:"home",component:kc,data:{title:"GLOBAL.home"},canActivate:[en]},{path:"login",component:JC,data:{title:"GLOBAL.login"},canActivate:[cv]},{path:"logout",component:wp,canActivate:[en]},{path:"profile/:id",component:sv,canActivate:[en]},{path:"splitter/viewer/:currentTime/:id",component:Zb,data:{title:(0,He.J)("SPLITTER.viewer"),privileges:["access_splitter"]},canActivate:[en,sn]},{path:"splitter/list",component:me,data:{title:(0,He.J)("SPLITTER.list"),privileges:["access_splitter"]},canActivate:[en,sn]},{path:"splitter",redirectTo:"splitter/list",pathMatch:"full"},{path:"verifier/viewer/:id",component:Av,data:{title:(0,He.J)("VERIFIER.viewer"),privileges:["access_verifier"]},canActivate:[en,sn]},{path:"verifier/list",component:vf,data:{title:(0,He.J)("VERIFIER.list"),privileges:["access_verifier"]},canActivate:[en,sn]},{path:"verifier",redirectTo:"verifier/list",pathMatch:"full"},{path:"upload",component:J0,data:{title:(0,He.J)("GLOBAL.upload"),privileges:["upload"]},canActivate:[en,sn]},{path:"history",component:nx,data:{title:(0,He.J)("GLOBAL.history"),privileges:["history"]},canActivate:[en,sn]},{path:"statistics",component:lv.B,data:{title:(0,He.J)("GLOBAL.statistics"),privileges:["statistics"]},canActivate:[en,sn]},{path:"accounts/suppliers",redirectTo:"accounts/suppliers/list",pathMatch:"full"},{path:"accounts/suppliers/list",component:r1,data:{title:(0,He.J)("ACCOUNTS.suppliers_list"),privileges:["suppliers_list"]},canActivate:[en,sn]},{path:"accounts/suppliers/update/:id",component:eT,data:{title:(0,He.J)("ACCOUNTS.update_supplier"),privileges:["update_supplier"]},canActivate:[en,sn]},{path:"accounts/suppliers/create",component:C1,data:{title:(0,He.J)("ACCOUNTS.create_supplier"),privileges:["create_supplier"]},canActivate:[en,sn]},{path:"accounts/customers",redirectTo:"accounts/customers/list",pathMatch:"full"},{path:"accounts/customers/list",component:kp,data:{title:(0,He.J)("ACCOUNTS.customers_list"),privileges:["customers_list"]},canActivate:[en,sn]},{path:"accounts/customers/update/:id",component:t2,data:{title:(0,He.J)("ACCOUNTS.update_customer"),privileges:["update_customer"]},canActivate:[en,sn]},{path:"accounts/customers/create",component:Vv,data:{title:(0,He.J)("ACCOUNTS.create_customer"),privileges:["create_customer"]},canActivate:[en,sn]},{path:"404",component:lm},{path:"**",redirectTo:"404"}];let S1=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[Nt.Bz.forRoot(w1,{useHash:!0}),Nt.Bz]}),n})(),A1=(()=>{class n{constructor(t,i,a,l){this.router=t,this.userService=i,this.serviceSettings=a,this.privilegesService=l,this.selectedSetting=this.serviceSettings.getSelectedSetting(),this.selectedParentSetting=this.serviceSettings.getSelectedParentSetting(),this.settings=this.serviceSettings.getSettings()}ngOnInit(){this.serviceSettings.init(),this.selectedSetting=this.serviceSettings.getSelectedSetting(),this.selectedParentSetting=this.serviceSettings.getSelectedParentSetting(),this.settings=this.serviceSettings.getSettings();let t=!1;this.settings[this.selectedParentSetting].forEach(i=>{if(i.id===this.selectedSetting){t=!0;const a=i.route;a&&this.privilegesService.hasPrivilege(i.privilege)&&this.router.navigateByUrl(a).then()}}),t||this.router.navigateByUrl("/settings/general/configurations").then()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(zi.K),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-panel"]],decls:0,vars:0,template:function(t,i){},encapsulation:2}),n})();function L1(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",64)(1,"button",65),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",66),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function O1(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,L1,6,11,"div",63),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function wf(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",57)(1,"mat-expansion-panel-header",58)(2,"mat-panel-title",59),e._UZ(3,"i"),e.TgZ(4,"button",60),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",61),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,O1,2,7,"div",62),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function Sf(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,wf,9,15,"mat-expansion-panel",56),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function k1(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",60),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",61),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function l2(n,o){if(1&n&&e.YNc(0,k1,5,11,"button",67),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function I1(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,Sf,2,1,"div",54),e.YNc(2,l2,1,1,"ng-template",null,55,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function P1(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",50),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",51)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",52),e.YNc(6,I1,4,6,"div",53),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function oT(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function c2(n,o){if(1&n&&(e.TgZ(0,"span")(1,"strong"),e._uU(2),e.qZA()()),2&n){const t=e.oxw();e.xp6(2),e.hij("version ",t.currentVersion,"")}}function rT(n,o){1&n&&(e.TgZ(0,"span"),e._uU(1," | "),e.TgZ(2,"span",68),e._uU(3),e.ALo(4,"translate"),e.qZA()()),2&n&&(e.xp6(3),e.Oqu(e.lcZ(4,1,"ERROR.git_connection")))}function sT(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.TgZ(3,"strong")(4,"a",69),e._uU(5),e.qZA()(),e._uU(6,") "),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.hij(" | ",e.lcZ(2,3,"ABOUT-US.new_version_available")," ("),e.xp6(3),e.Q6J("href","https://github.com/edissyum/opencapture/releases/tag/"+t.lastVersion,e.LSH),e.xp6(1),e.Oqu(t.lastVersion)}}function R1(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.ALo(3,"translate"),e.TgZ(4,"strong")(5,"a",69),e._uU(6),e.qZA()(),e._uU(7,") "),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.AsE(" | ",e.lcZ(2,4,"ABOUT-US.are_you_in_future")," (",e.lcZ(3,6,"ABOUT-US.last_official_version")," : "),e.xp6(4),e.Q6J("href","https://github.com/edissyum/opencapture/releases/tag/"+t.lastVersion,e.LSH),e.xp6(1),e.Oqu(t.lastVersion)}}let d2=(()=>{class n{constructor(t,i,a,l,h,E){this.router=t,this.http=i,this.authService=a,this.notify=l,this.serviceSettings=h,this.privilegesService=E,this.loading=!0,this.isProd=!1,this.currentVersion="dev",this.lastVersion=""}ngOnInit(){this.serviceSettings.init(),this.isProd=m.N.production,this.currentVersion=m.N.version,this.http.get(m.N.url+"/ws/config/gitInfo",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.lastVersion=t.git_latest?t.git_latest:void 0}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(pi.e),e.Y36(Gi.g),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-about-us"]],decls:137,vars:43,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white","overflow-hidden"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],[1,"overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 64px)"],["id","license",1,"text-center","mt-10"],["href","https://www.gnu.org/licenses/gpl-3.0.html",1,"text-green-400"],[1,"m-auto","mt-10","w-1/2","border-green-400","border-opacity-60"],[1,"edissyum","text-center","mt-10","text-lg",2,"line-height","35px !important"],[1,"grid","grid-cols-2","gap-10","w-1/2","m-auto"],[1,"text-right"],[1,"text-left",2,"width","200%"],["href","https://kutt.it/OpenCaptureWebSite",1,"text-green-400"],["href","https://kutt.it/DocumentationV2",1,"text-green-400"],["href","https://kutt.it/OCForInvoices_ISSUES",1,"text-green-400"],[1,"flex","justify-center","items-center","mt-10","mb-5"],["src","assets/imgs/login_image.png","alt","Open-Capture"],[1,"m-auto","mt-10","w-1/2","border-green-400"],[1,"mt-6","text-center"],[1,"logo","grid","grid-cols-7"],["id","verifier",1,"m-auto","col-start-2","col-span-2"],["src","assets/imgs/logo_verifier.png","alt","Open-Capture Verifier"],["id","splitter",1,"m-auto","col-start-5","col-span-2"],["src","assets/imgs/logo_splitter.png","alt","Open-Capture Splitter"],["id","dependency",1,"text-center","mt-10","mb-10"],["target","_blank","href","https://angular.io/",1,"text-green-400"],["target","_blank","href","https://material.angular.io/",1,"text-green-400"],["target","_blank","href","https://jquery.com/download/",1,"text-green-400"],["target","_blank","href","https://github.com/kreuzerk/ng-sortgrid",1,"text-green-400"],["target","_blank","href","https://github.com/bleenco/ng2-datepicker",1,"text-green-400"],["target","_blank","href","https://github.com/telebroad/ngx-file-drag-drop",1,"text-green-400"],["target","_blank","href","https://github.com/ngx-translate/core",1,"text-green-400"],["target","_blank","href","https://github.com/swimlane/ngx-charts",1,"text-green-400"],["target","_blank","href","https://github.com/ngx-translate/",1,"text-green-400"],["target","_blank","href","https://github.com/Kr0san89/ng-click-outside",1,"text-green-400"],["target","_blank","href","https://github.com/tyxla/remove-accents",1,"text-green-400"],["target","_blank","href","https://github.com/hjnilsson/country-flags",1,"text-green-400"],["target","_blank","href","https://github.com/angular-material-extensions/select-country",1,"text-green-400"],["target","_blank","href","https://tailwindcss.com/",1,"text-green-400"],["target","_blank","href","https://fontawesome.com/",1,"text-green-400"],["target","_blank","href","https://www.npmjs.com/package/moment",1,"text-green-400"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","truncate","w-7/12","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],[1,"text-red-600"],["target","_blank",3,"href"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,P1,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,oT,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16," Open-Capture "),e.YNc(17,c2,3,1,"span",8),e.YNc(18,rT,5,3,"span",8),e.YNc(19,sT,7,5,"span",8),e.YNc(20,R1,8,8,"span",8),e.qZA(),e._UZ(21,"hr",4),e.qZA()(),e.TgZ(22,"div",13)(23,"div",14)(24,"h2"),e._uU(25),e.ALo(26,"translate"),e.qZA(),e._uU(27),e.ALo(28,"translate"),e.TgZ(29,"a",15),e._uU(30),e.ALo(31,"translate"),e.qZA()(),e._UZ(32,"hr",16),e.TgZ(33,"div",17)(34,"h2"),e._uU(35),e.ALo(36,"translate"),e.qZA(),e.TgZ(37,"div",18)(38,"div",19),e._uU(39," Edissyum Consulting "),e._UZ(40,"br"),e._uU(41," 98 Avenue Pierre Semard "),e._UZ(42,"br"),e._uU(43," 84200 Carpentras "),e.qZA(),e.TgZ(44,"div",20),e._uU(45),e.ALo(46,"translate"),e.TgZ(47,"a",21),e._uU(48,"open-capture.com"),e.qZA(),e._UZ(49,"br"),e._uU(50," Documentation : "),e.TgZ(51,"a",22),e._uU(52,"edissyum.gitbook.io/open-capture-for-invoices-v2"),e.qZA(),e._UZ(53,"br"),e._uU(54," Support : "),e.TgZ(55,"a",23),e._uU(56,"github.com/edissyum/opencapture"),e.qZA()()()(),e._UZ(57,"hr",16),e.TgZ(58,"div",24)(59,"div"),e._UZ(60,"img",25)(61,"hr",26),e.TgZ(62,"h3",27),e._uU(63),e.ALo(64,"translate"),e.qZA()()(),e.TgZ(65,"div",28)(66,"div",29),e._UZ(67,"img",30)(68,"hr",26),e.TgZ(69,"h3",27),e._uU(70),e.ALo(71,"translate"),e.qZA()(),e.TgZ(72,"div",31),e._UZ(73,"img",32)(74,"hr",26),e.TgZ(75,"h3",27),e._uU(76),e.ALo(77,"translate"),e.qZA()()(),e._UZ(78,"hr",16),e.TgZ(79,"div",33)(80,"h2"),e._uU(81),e.ALo(82,"translate"),e.qZA(),e.TgZ(83,"h4")(84,"i"),e._uU(85),e.ALo(86,"translate"),e.qZA()(),e.TgZ(87,"div")(88,"ul")(89,"li")(90,"a",34),e._uU(91,"Angular"),e.qZA()(),e.TgZ(92,"li")(93,"a",35),e._uU(94,"Angular Material"),e.qZA()(),e.TgZ(95,"li")(96,"a",36),e._uU(97,"jQuery"),e.qZA()(),e.TgZ(98,"li")(99,"a",37),e._uU(100,"NgSortGridModule"),e.qZA()(),e.TgZ(101,"li")(102,"a",38),e._uU(103,"DatePickerModule"),e.qZA()(),e.TgZ(104,"li")(105,"a",39),e._uU(106,"NgxFileDragDropModule"),e.qZA()(),e.TgZ(107,"li")(108,"a",40),e._uU(109,"NgxTranslateModule"),e.qZA()(),e.TgZ(110,"li")(111,"a",41),e._uU(112,"NgxCharts"),e.qZA()(),e.TgZ(113,"li")(114,"a",42),e._uU(115,"NgxTranslate"),e.qZA()(),e.TgZ(116,"li")(117,"a",43),e._uU(118,"Click Outside 2"),e.qZA()(),e.TgZ(119,"li")(120,"a",44),e._uU(121,"Remove-accent"),e.qZA()(),e.TgZ(122,"li")(123,"a",45),e._uU(124,"SVG Country Flags"),e.qZA()(),e.TgZ(125,"li")(126,"a",46),e._uU(127,"Select Country"),e.qZA()(),e.TgZ(128,"li")(129,"a",47),e._uU(130,"Tailwind CSS"),e.qZA()(),e.TgZ(131,"li")(132,"a",48),e._uU(133,"FontAwesome"),e.qZA()(),e.TgZ(134,"li")(135,"a",49),e._uU(136,"moment"),e.qZA()()()()()()()()}if(2&t){const a=e.MAs(2);e.xp6(4),e.Oqu(e.lcZ(5,21,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(4),e.Q6J("ngIf",!i.loading),e.xp6(1),e.Q6J("ngIf",void 0===i.lastVersion),e.xp6(1),e.Q6J("ngIf",!i.loading&&i.lastVersion>i.currentVersion&&i.isProd),e.xp6(1),e.Q6J("ngIf",!i.loading&&i.lastVersion{class n{constructor(t,i,a,l,h,E,N,oe){this.router=t,this.userService=i,this.translate=a,this.serviceSettings=l,this.privilegesService=h,this.http=E,this.authService=N,this.notify=oe,this.separator={fileUrl:"",thumbnailUrl:""},this.loading=!1,this.loadingSeparator=!1,this.selectedSeparator="bundleSeparator",this.separators=[{id:"bundleSeparator",name:this.translate.instant("SPLITTER.bundle_separator"),disabled:!1},{id:"documentSeparator",name:this.translate.instant("SPLITTER.document_separator"),disabled:!1},{id:"docTypeSeparator",name:this.translate.instant("SPLITTER.doc_type_separator"),disabled:!0}]}ngOnInit(){this.serviceSettings.init(),this.generateSeparator({type:"bundleSeparator",key:"",label:""})}onChangeType(){let t;t="bundleSeparator"===this.selectedSeparator?{type:"bundleSeparator",key:"",label:""}:"documentSeparator"===this.selectedSeparator?{type:"documentSeparator",key:"",label:""}:{type:"docTypeSeparator",key:this.selectedDocType?this.selectedDocType.key:"",label:this.selectedDocType?this.selectedDocType.label:""},this.generateSeparator(t)}getOutPut(t){this.selectedSeparator="docTypeSeparator",this.selectedDocType=t,this.generateSeparator({type:"docTypeSeparator",key:this.selectedDocType.key,label:this.selectedDocType.label})}generateSeparator(t){this.loadingSeparator=!0,this.http.post(m.N.url+"/ws/doctypes/generateSeparator",t,{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.separator.fileUrl="data:application/pdf;base64,"+i.encoded_file,this.separator.thumbnailUrl="data:image/jpeg;base64,"+i.encoded_thumbnail,this.loadingSeparator=!1}),(0,Ke.K)(i=>(console.debug(i),this.loadingSeparator=!1,this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}downloadSeparator(){this.downloadPdf(this.separator.fileUrl,this.selectedSeparator+(this.selectedDocType?"_"+this.selectedDocType.key:""))}downloadPdf(t,i){const a=document.createElement("a");a.href=t,a.download=`${i}.pdf`,a.click()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(zi.K),e.Y36($t.sK),e.Y36(xn.g),e.Y36(nn.y),e.Y36(Ri.eN),e.Y36(pi.e),e.Y36(Gi.g))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-separator"]],decls:36,vars:23,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.2rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white","overflow-hidden"],[1,"settings_header","z-50"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],[3,"data","selectedDoctypeOutput"],["mode","side","opened","","position","end",1,"overflow-hidden","w-1/4","flex","flex-col","h-full","border-r","border-green-400"],["sidenav2",""],[1,"w-full","grid","grid-cols-2","m-2","mt-4"],["appearance","outline"],[3,"disabled","ngModel","ngModelChange"],[3,"id","value","disabled",4,"ngFor","ngForOf"],[1,"text-right"],["mat-button","",1,"w-10","h-12",3,"disabled","click"],[1,"fa-solid","fa-file-arrow-down","fa-2x"],["class","flex text-gray-400 object-contain","style","height: calc(100% - 230px)",4,"ngIf"],["class","text-center text-gray-400 object-contain",4,"ngIf"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],[3,"id","value","disabled"],[1,"flex","text-gray-400","object-contain",2,"height","calc(100% - 230px)"],[1,"m-auto","text-center"],[1,"fa-solid","fa-qrcode","fa-4x","fa-beat-fade","w-full","mb-1",2,"--fa-animation-duration","1.5s"],[1,"w-full"],[1,"text-center","text-gray-400","object-contain"],["alt","Separator thumbnail",3,"src"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,p2,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7)(10,"div",8)(11,"button",9),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(12,"i",10),e.qZA(),e.TgZ(13,"div",11)(14,"h3"),e._uU(15),e.qZA(),e._UZ(16,"hr",4),e.qZA()(),e.TgZ(17,"app-document-type-factory",12),e.NdJ("selectedDoctypeOutput",function(h){return i.getOutPut(h)}),e.qZA()(),e.TgZ(18,"mat-sidenav",13,14)(20,"h3",3),e._uU(21),e.ALo(22,"translate"),e.qZA(),e._UZ(23,"mat-divider",4),e.TgZ(24,"div",15)(25,"mat-form-field",16)(26,"mat-label"),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.TgZ(29,"mat-select",17),e.NdJ("ngModelChange",function(h){return i.selectedSeparator=h})("ngModelChange",function(){return i.onChangeType()}),e.YNc(30,Af,3,6,"mat-option",18),e.qZA()(),e.TgZ(31,"div",19)(32,"button",20),e.NdJ("click",function(){return i.downloadSeparator()}),e._UZ(33,"i",21),e.qZA()()(),e.YNc(34,h2,6,3,"div",22),e.YNc(35,m2,2,1,"div",23),e.qZA()()}if(2&t){const a=e.MAs(2);e.xp6(4),e.Oqu(e.lcZ(5,16,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(4),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(2),e.Q6J("data",e.DdM(22,F1)),e.xp6(4),e.hij(" ",e.lcZ(22,18,"DOCTYPE.download_separator")," "),e.xp6(6),e.Oqu(e.lcZ(28,20,"DOCTYPE.separator_choice ")),e.xp6(2),e.Q6J("disabled",i.loadingSeparator)("ngModel",i.selectedSeparator),e.xp6(1),e.Q6J("ngForOf",i.separators),e.xp6(2),e.Q6J("disabled",i.loadingSeparator),e.xp6(2),e.Q6J("ngIf",i.loadingSeparator),e.xp6(1),e.Q6J("ngIf",!i.loadingSeparator)}},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.KE,Rt.hX,Be.gD,b.ey,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.ib,Zt.yz,Zt.yK,rn.Hk,Rn.d,A.JJ,A.On,Ei,$t.X$],styles:[".mat-drawer-inner-container{overflow:hidden!important}"]}),n})();function N1(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",39)(1,"button",40),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",41),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function Gv(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,N1,6,11,"div",38),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function Kv(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",32)(1,"mat-expansion-panel-header",33)(2,"mat-panel-title",34),e._UZ(3,"i"),e.TgZ(4,"button",35),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",36),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,Gv,2,7,"div",37),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function g2(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,Kv,9,15,"mat-expansion-panel",31),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function jv(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",35),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",36),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function Wv(n,o){if(1&n&&e.YNc(0,jv,5,11,"button",42),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function Lf(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,g2,2,1,"div",29),e.YNc(2,Wv,1,1,"ng-template",null,30,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function pT(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",25),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",26)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",27),e.YNc(6,Lf,4,6,"div",28),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function hT(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function mT(n,o){1&n&&(e.TgZ(0,"mat-header-cell",43),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.id")," "))}function gT(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.id," ")}}function B1(n,o){1&n&&(e.TgZ(0,"mat-header-cell",43),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.label")," "))}function f2(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.label," ")}}function C2(n,o){1&n&&(e.TgZ(0,"mat-header-cell",43),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"FORMS.default")," "))}function v2(n,o){1&n&&(e.TgZ(0,"span")(1,"span",44),e._uU(2,"\u2022"),e.qZA()())}function x2(n,o){1&n&&(e.TgZ(0,"span")(1,"span",45),e._uU(2,"\u2022"),e.qZA()())}function U1(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e.YNc(1,v2,3,0,"span",8),e.YNc(2,x2,3,0,"span",8),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf",t.default_form),e.xp6(1),e.Q6J("ngIf",!t.default_form)}}function Z1(n,o){1&n&&(e.TgZ(0,"mat-header-cell",43),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.status")," "))}function Y1(n,o){1&n&&(e.TgZ(0,"span")(1,"span",46),e._uU(2,"\u2022"),e.qZA(),e._uU(3),e.ALo(4,"translate"),e.qZA()),2&n&&(e.xp6(3),e.hij(" ",e.lcZ(4,1,"HEADER.active"),""))}function b2(n,o){1&n&&(e.TgZ(0,"span")(1,"span",47),e._uU(2,"\u2022"),e.qZA(),e._uU(3),e.ALo(4,"translate"),e.qZA()),2&n&&(e.xp6(3),e.hij(" ",e.lcZ(4,1,"HEADER.inactive"),""))}function y2(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e.YNc(1,Y1,5,3,"span",8),e.YNc(2,b2,5,3,"span",8),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf",t.enabled),e.xp6(1),e.Q6J("ngIf",!t.enabled)}}function H1(n,o){1&n&&e._UZ(0,"mat-header-cell")}function qv(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",49),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw();return a.stopPropagation(),e.KtG(h.disableConfirmDialog(l.id,l.label))}),e.ALo(1,"translate"),e._UZ(2,"i",51),e.qZA()}2&n&&e.s9C("matTooltip",e.lcZ(1,1,"FORMS.disable"))}function fT(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",49),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw();return a.stopPropagation(),e.KtG(h.enableConfirmDialog(l.id,l.label))}),e.ALo(1,"translate"),e._UZ(2,"i",52),e.qZA()}2&n&&e.s9C("matTooltip",e.lcZ(1,1,"FORMS.enable"))}function V1(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",49),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw();return a.stopPropagation(),e.KtG(h.deleteConfirmDialog(l.id,l.label))}),e.ALo(1,"translate"),e._UZ(2,"i",53),e.qZA()}2&n&&e.s9C("matTooltip",e.lcZ(1,1,"FORMS.delete"))}function Jv(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-cell"),e.YNc(1,qv,3,3,"button",48),e.YNc(2,fT,3,3,"button",48),e.TgZ(3,"button",49),e.NdJ("click",function(a){const h=e.CHM(t).$implicit,E=e.oxw();return a.stopPropagation(),e.KtG(E.duplicateConfirmDialog(h.id,h.label))}),e.ALo(4,"translate"),e._UZ(5,"i",50),e.qZA(),e.YNc(6,V1,3,3,"button",48),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw();e.xp6(1),e.Q6J("ngIf",t.enabled),e.xp6(1),e.Q6J("ngIf",!t.enabled),e.xp6(1),e.s9C("matTooltip",e.lcZ(4,4,"FORMS.duplicate")),e.xp6(3),e.Q6J("ngIf",i.forms.length>1)}}function T2(n,o){1&n&&e._UZ(0,"mat-header-row")}function M2(n,o){1&n&&e._UZ(0,"mat-row",54),2&n&&e.MGl("routerLink","/settings/verifier/forms/builder/edit/",o.$implicit.id,"")}const CT=function(){return[5,10,15,20,50]};let vT=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt,Ft,ii,fi){this.router=t,this.http=i,this.dialog=a,this.route=l,this.userService=h,this.formBuilder=E,this.authService=N,this.translate=oe,this.notify=xe,this.historyService=Ve,this.serviceSettings=lt,this.routerExtService=Ft,this.privilegesService=ii,this.localStorageService=fi,this.columnsToDisplay=["id","label","default_form","enabled","actions"],this.loading=!0,this.pageSize=10,this.pageIndex=0,this.total=0,this.offset=0,this.forms=[]}ngOnInit(){this.serviceSettings.init();const t=this.routerExtService.getPreviousUrl();t.includes("settings/verifier/forms")||"/"===t?(this.localStorageService.get("formsPageIndex")&&(this.pageIndex=parseInt(this.localStorageService.get("formsPageIndex"))),this.offset=this.pageSize*this.pageIndex):this.localStorageService.remove("formsPageIndex"),this.loadForms()}onPageChange(t){this.pageSize=t.pageSize,this.offset=this.pageSize*t.pageIndex,this.pageIndex=t.pageIndex,this.localStorageService.save("formsPageIndex",t.pageIndex),this.loadForms()}loadForms(){this.loading=!0,this.http.get(m.N.url+"/ws/forms/list?module=verifier&limit="+this.pageSize+"&offset="+this.offset,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.forms[0]?this.total=t.forms[0].total:0!==this.pageIndex&&(this.pageIndex=this.pageIndex-1,this.offset=this.pageSize*this.pageIndex,this.loadForms()),this.forms=t.forms}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}getInputs(t){var i=this;return xa(function*(){return yield i.http.get(m.N.url+"/ws/inputs/getByFormId/"+t,{headers:i.authService.headers}).toPromise()})()}deleteConfirmDialog(t,i){var a=this;return xa(function*(){const l=yield a.getInputs(t);if(0!==l.length){const h=a.forms;h.forEach((xe,Ve)=>{xe.id===t&&h.splice(Ve,1)});const E=[],N=[];l.forEach(xe=>{E.push({id:xe.id,label:xe.input_label}),N.push(xe.input_label)}),a.dialog.open(gn,{data:{confirmTitle:a.translate.instant("GLOBAL.new_input_link"),confirmText:a.translate.instant("FORMS.inputs_list_already_linked",{inputsList:N.join("
")}),selectValues:h,selectLabel:a.translate.instant("FORMS.choose_form"),confirmButton:a.translate.instant("GLOBAL.delete_form_and_reassign_input"),confirmButtonColor:"warn",cancelButton:a.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(xe=>{xe&&(a.updateInputsDefaultForm(xe,E),a.deleteForm(t),a.historyService.addHistory("verifier","delete_form",a.translate.instant("HISTORY-DESC.delete-form",{form:i})))})}else a.dialog.open(gn,{data:{confirmTitle:a.translate.instant("GLOBAL.confirm"),confirmText:a.translate.instant("FORMS.confirm_delete",{form:i}),confirmButton:a.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:a.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(E=>{E&&(a.deleteForm(t),a.historyService.addHistory("verifier","delete_form",a.translate.instant("HISTORY-DESC.delete-form",{form:i})))})})()}duplicateConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("FORMS.confirm_duplicate",{form:i}),confirmButton:this.translate.instant("GLOBAL.duplicate"),confirmButtonColor:"green",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.duplicateForm(t),this.historyService.addHistory("verifier","duplicate_form",this.translate.instant("HISTORY-DESC.duplicate-form",{form:i})))})}disableConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("FORMS.confirm_disable",{form:i}),confirmButton:this.translate.instant("GLOBAL.disable"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.disableForm(t),this.historyService.addHistory("verifier","disable_form",this.translate.instant("HISTORY-DESC.disable-form",{form:i})))})}enableConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("FORMS.confirm_enable",{form:i}),confirmButton:this.translate.instant("GLOBAL.enable"),confirmButtonColor:"green",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.enableForm(t),this.historyService.addHistory("verifier","enable_form",this.translate.instant("HISTORY-DESC.enable-form",{form:i})))})}deleteForm(t){void 0!==t&&this.http.delete(m.N.url+"/ws/forms/delete/"+t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadForms(),this.notify.success(this.translate.instant("FORMS.form_deleted"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}updateInputsDefaultForm(t,i){if(void 0!==t)for(const a in i)this.http.put(m.N.url+"/ws/inputs/update/"+i[a].id,{args:{default_form_id:t}},{headers:this.authService.headers}).pipe((0,Ke.K)(h=>(console.debug(h),this.notify.handleErrors(h),(0,ie.of)(!1)))).subscribe()}duplicateForm(t){this.loading=!0,void 0!==t&&this.http.post(m.N.url+"/ws/forms/duplicate/"+t,{},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadForms(),this.notify.success(this.translate.instant("FORMS.form_duplicated"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}disableForm(t){void 0!==t&&this.http.put(m.N.url+"/ws/forms/disable/"+t,null,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadForms(),this.notify.success(this.translate.instant("FORMS.form_disabled"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}enableForm(t){void 0!==t&&this.http.put(m.N.url+"/ws/forms/enable/"+t,null,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadForms(),this.notify.success(this.translate.instant("FORMS.form_enabled"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}sortData(t){const i=this.forms.slice();this.forms=t.active&&""!==t.direction?i.sort((a,l)=>{const h="asc"===t.direction;switch(t.active){case"id":return this.compare(a.id,l.id,h);case"label":return this.compare(a.label,l.label,h);case"default":return this.compare(a.default,l.default,h);case"enabled":return this.compare(a.enabled,l.enabled,h);default:return 0}}):i}compare(t,i,a){return(tt.userQuotaConfig.quota)("text-orange-400",t.activeUser===t.userQuotaConfig.quota),e.xp6(3),e.AsE(" ",e.lcZ(9,13,"USER-QUOTA.quota_number")," : ",t.userQuotaConfig.quota," "),e.xp6(3),e.AsE(" ",e.lcZ(12,15,"USER.enabled")," : ",t.activeUser," ")}}const Ci=function(){return[5,10,15,20,50]};let Si=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt,Ft,ii,fi){this.router=t,this.http=i,this.dialog=a,this.route=l,this.userService=h,this.formBuilder=E,this.authService=N,this.translate=oe,this.notify=xe,this.historyService=Ve,this.serviceSettings=lt,this.routerExtService=Ft,this.privilegesService=ii,this.localStorageService=fi,this.columnsToDisplay=["id","username","firstname","lastname","role","status","actions"],this.headers=this.authService.headers,this.loading=!0,this.users=[],this.allUsers=[],this.roles=[],this.pageSize=10,this.pageIndex=0,this.activeUser=0,this.total=0,this.offset=0,this.search="",this.userQuotaConfig={}}ngOnInit(){this.serviceSettings.init();const t=this.routerExtService.getPreviousUrl();t.includes("settings/general/users")||"/"===t?(this.localStorageService.get("usersPageIndex")&&(this.pageIndex=parseInt(this.localStorageService.get("usersPageIndex"))),this.offset=this.pageSize*this.pageIndex):this.localStorageService.remove("usersPageIndex"),this.http.get(m.N.url+"/ws/users/list",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.allUsers=i.users,this.http.get(m.N.url+"/ws/roles/list",{headers:this.authService.headers}).pipe((0,$e.b)(a=>{this.roles=a.roles,this.roles&&this.allUsers.forEach(l=>{this.roles.forEach(h=>{l.role===h.id&&(l.role_label=h.label)})}),this.loadUsers()}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/config/getConfiguration/userQuota",{headers:this.authService.headers}).pipe((0,$e.b)(a=>{this.userQuotaConfig=a.configuration[0].data.value,this.activeUser=this.allUsers.length,this.getUserQuotaFiltered()}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe()}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}searchUser(t){this.search=t.target.value,this.loadUsers()}getUserQuotaFiltered(){this.allUsers.forEach(t=>{this.userQuotaConfig.users_filtered.includes(t.username)&&(this.activeUser-=1)})}onPageChange(t){this.pageSize=t.pageSize,this.offset=this.pageSize*t.pageIndex,this.pageIndex=t.pageIndex,this.localStorageService.save("usersPageIndex",t.pageIndex),this.loadUsers()}loadUsers(){this.http.get(m.N.url+"/ws/users/list?limit="+this.pageSize+"&offset="+this.offset+"&search="+this.search,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.users[0]?this.total=t.users[0].total:0!==this.pageIndex&&(this.pageIndex=this.pageIndex-1,this.offset=this.pageSize*this.pageIndex,this.loadUsers()),this.users=t.users,this.roles&&this.users.forEach(i=>{this.roles.forEach(a=>{i.role===a.id&&(i.role_label=a.label)})})}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}deleteConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("USER.confirm_delete",{user:i}),confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.deleteUser(t),this.historyService.addHistory("general","delete_user",this.translate.instant("HISTORY-DESC.delete-user",{user:i})))})}disableConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("USER.confirm_disable",{user:i}),confirmButton:this.translate.instant("GLOBAL.disable"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.disableUser(t),this.historyService.addHistory("general","disable_user",this.translate.instant("HISTORY-DESC.disable-user",{user:i})))})}enableConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("USER.confirm_enable",{user:i}),confirmButton:this.translate.instant("GLOBAL.enable"),confirmButtonColor:"green",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.enableUser(t),this.historyService.addHistory("general","enable_user",this.translate.instant("HISTORY-DESC.enable-user",{user:i})))})}deleteUser(t){void 0!==t&&this.http.delete(m.N.url+"/ws/users/delete/"+t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadUsers(),this.notify.success(this.translate.instant("USER.user_deleted"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}disableUser(t){void 0!==t&&this.http.put(m.N.url+"/ws/users/disable/"+t,null,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadUsers()}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}enableUser(t){void 0!==t&&this.http.put(m.N.url+"/ws/users/enable/"+t,null,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadUsers()}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}sortData(t){const i=this.allUsers.slice();t.active&&""!==t.direction?(this.users=i.sort((a,l)=>{const h="asc"===t.direction;switch(t.active){case"id":return this.compare(a.id,l.id,h);case"username":return this.compare(a.username,l.username,h);case"firstname":return this.compare(a.firstname,l.firstname,h);case"lastname":return this.compare(a.lastname,l.lastname,h);case"role":return this.compare(a.role_label,l.role_label,h);case"status":return this.compare(a.enabled,l.enabled,h);default:return 0}}),this.users=this.users.splice(0,this.pageSize)):this.users=i.splice(0,this.pageSize)}compare(t,i,a){return(t{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt,Ft,ii,fi){this.router=t,this.http=i,this.dialog=a,this.route=l,this.userService=h,this.formBuilder=E,this.authService=N,this.translate=oe,this.notify=xe,this.historyService=Ve,this.serviceSettings=lt,this.routerExtService=Ft,this.privilegesService=ii,this.localStorageService=fi,this.columnsToDisplay=["id","label_short","label","status","actions"],this.headers=this.authService.headers,this.loading=!0,this.roles=[],this.pageSize=10,this.pageIndex=0,this.total=0,this.offset=0}ngOnInit(){this.serviceSettings.init();const t=this.routerExtService.getPreviousUrl();t.includes("settings/general/roles")||"/"===t?(this.localStorageService.get("rolesPageIndex")&&(this.pageIndex=parseInt(this.localStorageService.get("rolesPageIndex"))),this.offset=this.pageSize*this.pageIndex):this.localStorageService.remove("rolesPageIndex"),this.loadRoles()}loadRoles(){this.http.get(m.N.url+"/ws/roles/list?limit="+this.pageSize+"&offset="+this.offset,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.roles[0]?this.total=t.roles[0].total:0!==this.pageIndex&&(this.pageIndex=this.pageIndex-1,this.offset=this.pageSize*this.pageIndex,this.loadRoles()),this.roles=t.roles}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}onPageChange(t){this.pageSize=t.pageSize,this.offset=this.pageSize*t.pageIndex,this.pageIndex=t.pageIndex,this.localStorageService.save("rolesPageIndex",t.pageIndex),this.loadRoles()}deleteConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("ROLE.confirm_delete",{role:i}),confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.deleteRole(t),this.historyService.addHistory("verifier","delete_role",this.translate.instant("HISTORY-DESC.delete-role",{role:i})))})}disableConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("ROLE.confirm_disable",{role:i}),confirmButton:this.translate.instant("GLOBAL.disable"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&this.disableRole(t)})}enableConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("ROLE.confirm_enable",{role:i}),confirmButton:this.translate.instant("GLOBAL.enable"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&this.enableRole(t)})}deleteRole(t){void 0!==t&&this.http.delete(m.N.url+"/ws/roles/delete/"+t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadRoles(),this.notify.success(this.translate.instant("ROLE.role_deleted"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}disableRole(t){void 0!==t&&this.http.put(m.N.url+"/ws/roles/disable/"+t,null,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadRoles()}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}enableRole(t){void 0!==t&&this.http.put(m.N.url+"/ws/roles/enable/"+t,null,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadRoles()}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}sortData(t){const i=this.roles.slice();this.roles=t.active&&""!==t.direction?i.sort((a,l)=>{const h="asc"===t.direction;switch(t.active){case"id":return this.compare(a.id,l.id,h);case"label_short":return this.compare(a.label_short,l.label_short,h);case"label":return this.compare(a.label,l.label,h);default:return 0}}):i}compare(t,i,a){return(t{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt,Ft,ii,fi){this.router=t,this.http=i,this.dialog=a,this.route=l,this.userService=h,this.formBuilder=E,this.authService=N,this.translate=oe,this.notify=xe,this.historyService=Ve,this.serviceSettings=lt,this.routerExtService=Ft,this.privilegesService=ii,this.localStorageService=fi,this.loading=!0,this.columnsToDisplay=["id","label","default_form","enabled","actions"],this.pageSize=10,this.pageIndex=0,this.total=0,this.offset=0,this.forms=[]}ngOnInit(){this.serviceSettings.init();const t=this.routerExtService.getPreviousUrl();t.includes("settings/splitter/forms")||"/"===t?(this.localStorageService.get("formsPageIndex")&&(this.pageIndex=parseInt(this.localStorageService.get("formsPageIndex"))),this.offset=this.pageSize*this.pageIndex):this.localStorageService.remove("formsPageIndex"),this.loadForms()}onPageChange(t){this.pageSize=t.pageSize,this.offset=this.pageSize*t.pageIndex,this.localStorageService.save("formsPageIndex",t.pageIndex),this.loadForms()}loadForms(){this.loading=!0,this.http.get(m.N.url+"/ws/forms/list?module=splitter&limit="+this.pageSize+"&offset="+this.offset,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.forms[0]&&(this.total=t.forms[0].total),this.forms=t.forms}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}deleteConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("FORMS.confirm_delete",{form:i}),confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.deleteForm(t),this.historyService.addHistory("splitter","delete_form",this.translate.instant("HISTORY-DESC.delete-form",{form:i})))})}duplicateConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("FORMS.confirm_duplicate",{form:i}),confirmButton:this.translate.instant("GLOBAL.duplicate"),confirmButtonColor:"green",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.duplicateForm(t),this.historyService.addHistory("splitter","duplicate_form",this.translate.instant("HISTORY-DESC.duplicate-form",{form:i})))})}disableConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("FORMS.confirm_disable",{form:i}),confirmButton:this.translate.instant("GLOBAL.disable"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.disableForm(t),this.historyService.addHistory("splitter","disable_form",this.translate.instant("HISTORY-DESC.disable-form",{form:i})))})}enableConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("FORMS.confirm_enable",{form:i}),confirmButton:this.translate.instant("GLOBAL.enable"),confirmButtonColor:"green",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.enableForm(t),this.historyService.addHistory("splitter","enable_form",this.translate.instant("HISTORY-DESC.enable-form",{form:i})))})}deleteForm(t){void 0!==t&&this.http.delete(m.N.url+"/ws/forms/delete/"+t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadForms(),this.notify.success(this.translate.instant("FORMS.form_deleted"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}duplicateForm(t){void 0!==t&&this.http.post(m.N.url+"/ws/forms/duplicate/"+t,{},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadForms(),this.notify.success(this.translate.instant("FORMS.form_duplicated"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}disableForm(t){void 0!==t&&this.http.put(m.N.url+"/ws/forms/disable/"+t,null,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadForms(),this.notify.success(this.translate.instant("FORMS.form_disabled"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}enableForm(t){void 0!==t&&this.http.put(m.N.url+"/ws/forms/enable/"+t,null,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadForms(),this.notify.success(this.translate.instant("FORMS.form_enabled"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}sortData(t){const i=this.forms.slice();this.forms=t.active&&""!==t.direction?i.sort((a,l)=>{const h="asc"===t.direction;switch(t.active){case"id":return this.compare(a.id,l.id,h);case"label":return this.compare(a.label,l.label,h);case"default":return this.compare(a.default,l.default,h);case"enabled":return this.compare(a.enabled,l.enabled,h);default:return 0}}):i}compare(t,i,a){return(t{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt){this.router=t,this.http=i,this.route=a,this.userService=l,this.formBuilder=h,this.authService=E,this.notify=N,this.translate=oe,this.historyService=xe,this.serviceSettings=Ve,this.privilegesService=lt,this.loading=!0,this.loadingCustomers=!0,this.roles=[],this.userForm=[{id:"username",label:this.translate.instant("USER.username"),type:"text",control:new A.NI("",A.kI.maxLength(50)),required:!0},{id:"firstname",label:this.translate.instant("USER.firstname"),type:"text",control:new A.NI,required:!0},{id:"lastname",label:this.translate.instant("USER.lastname"),type:"text",control:new A.NI,required:!0},{id:"email",label:this.translate.instant("USER.email"),type:"text",control:new A.NI("",A.kI.pattern("^[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$")),required:!1},{id:"password",label:this.translate.instant("USER.password"),type:"password",control:new A.NI,required:!0},{id:"password_check",label:this.translate.instant("USER.password_check"),type:"password",control:new A.NI,required:!0},{id:"role",label:this.translate.instant("HEADER.role"),type:"select",values:[],control:new A.NI,required:!0}],this.customers=[],this.usersCustomers=[]}ngOnInit(){this.serviceSettings.init(),this.http.get(m.N.url+"/ws/accounts/customers/list",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.customers=t.customers,this.loadingCustomers=!1}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/roles/list",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.roles.forEach(i=>{i.editable&&this.roles.push(i)}),this.userForm.forEach(i=>{"role"===i.id&&(i.values=this.roles)})}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}hasCustomer(t){for(const i of this.usersCustomers)if(i===t)return!0;return!1}updateUsersCustomers(t){let i=!1,a=0;for(const l of this.usersCustomers){if(l===t){i=!0;break}a+=1}i?this.usersCustomers.splice(a,1):this.usersCustomers.push(t)}isValidForm(){let t=!0;return this.userForm.forEach(i=>{"DISABLED"!==i.control.status&&"VALID"!==i.control.status&&(t=!1),i.control.markAsTouched()}),t}onSubmit(){if(this.isValidForm()){const t={};if(this.userForm.forEach(i=>{t[i.id]=i.control.value}),t.password!==t.password_check)return this.notify.handleErrors("USER.password_mismatch"),(0,ie.of)(!1);t.customers=this.usersCustomers,this.http.post(m.N.url+"/ws/users/new",t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.historyService.addHistory("general","create_user",this.translate.instant("HISTORY-DESC.create-user",{user:t.lastname+" "+t.firstname})),this.notify.success(this.translate.instant("USER.created")),this.router.navigate(["/settings/general/users/"]).then()}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}}getErrorMessage(t){let i;return this.userForm.forEach(a=>{a.id===t&&a.required&&(i=this.translate.instant("AUTH.field_required"))}),i}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Nt.gz),e.Y36(zi.K),e.Y36(A.qu),e.Y36(pi.e),e.Y36(Gi.g),e.Y36($t.sK),e.Y36(kn.q),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-create-user"]],decls:33,vars:19,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],[1,"flex","justify-center","items-center","align-middle"],[1,"grid","grid-cols-3","gap-6","w-full","m-10","text-center",3,"ngSubmit"],[4,"ngFor","ngForOf"],[1,"button","col-span-3"],["type","submit","mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300"],["mode","side","opened","","position","end",1,"customers","w-1/4","flex","flex-col","h-full","border-r","border-green-400"],["sidenav2",""],["class","relative","style","top: 40%",4,"ngIf"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],["class","block",4,"ngIf"],[1,"block"],["matInput","",3,"formControl","type","placeholder","required"],[3,"formControl","value","required","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"relative",2,"top","40%"],[1,"text-center","overflow-hidden"],[1,"fa-solid","fa-circle-notch","fa-spin","fa-4x","w-full","text-gray-900",2,"--fa-animation-duration","1.5s"],["class","hover:bg-green-400 cursor-pointer m-2 w-auto",3,"bg-green-400","click",4,"ngFor","ngForOf"],[1,"hover:bg-green-400","cursor-pointer","m-2","w-auto",3,"click"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,UM,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,ZM,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16),e.qZA(),e._UZ(17,"hr",4),e.qZA()(),e.TgZ(18,"div",13)(19,"form",14),e.NdJ("ngSubmit",function(){return i.onSubmit()}),e.YNc(20,jM,3,2,"ng-container",15),e.TgZ(21,"div",16)(22,"button",17),e._uU(23),e.ALo(24,"translate"),e.qZA()()()()(),e.TgZ(25,"mat-sidenav",18,19)(27,"h3",3),e._uU(28),e.ALo(29,"translate"),e.qZA(),e._UZ(30,"mat-divider",4),e.YNc(31,WM,3,0,"div",20),e.YNc(32,JM,2,1,"mat-list",8),e.qZA()()}if(2&t){const a=e.MAs(2);e.xp6(4),e.Oqu(e.lcZ(5,13,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(4),e.Q6J("ngForOf",i.userForm),e.xp6(3),e.hij(" ",e.lcZ(24,15,"USER.create_user")," "),e.xp6(5),e.Oqu(e.lcZ(29,17,"ACCOUNTS.customers_list")),e.xp6(3),e.Q6J("ngIf",i.loadingCustomers),e.xp6(1),e.Q6J("ngIf",!i.loadingCustomers)}},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.TO,Rt.KE,Rt.hX,Be.gD,b.ey,an.Nt,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.ib,Zt.yz,Zt.yK,rn.i$,rn.Hk,rn.Tg,Rn.d,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.oH,A.F,Cn.R,$t.X$]}),n})();function zM(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",36)(1,"button",37),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",38),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function QM(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,zM,6,11,"div",35),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function XM(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",29)(1,"mat-expansion-panel-header",30)(2,"mat-panel-title",31),e._UZ(3,"i"),e.TgZ(4,"button",32),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",33),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,QM,2,7,"div",34),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function eD(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,XM,9,15,"mat-expansion-panel",28),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function tD(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",32),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",33),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function iD(n,o){if(1&n&&e.YNc(0,tD,5,11,"button",39),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function nD(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,eD,2,1,"div",26),e.YNc(2,iD,1,1,"ng-template",null,27,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function aD(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",22),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",23)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",24),e.YNc(6,nD,4,6,"div",25),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function oD(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function rD(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.TgZ(2,"strong"),e._uU(3),e.qZA()()),2&n){const t=e.oxw();e.xp6(1),e.AsE(" ",t.user.firstname," ",t.user.lastname," "),e.xp6(2),e.hij("(",t.user.username,")")}}function sD(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessage(t.id))}}function lD(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",42)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",43),e.ALo(5,"translate"),e.YNc(6,sD,2,1,"mat-error",8),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw();e.ekj("pointer-events-none","password"===t.type&&i.disablePasswordModification),e.xp6(1),e.ekj("text-gray-400","password"===t.type&&i.disablePasswordModification),e.xp6(1),e.hij(" ",e.lcZ(3,11,t.label)," "),e.xp6(2),e.s9C("placeholder",e.lcZ(5,13,t.label)),e.Q6J("readonly","username"===t.id||"password"===t.type&&i.disablePasswordModification)("formControl",t.control)("type",t.type)("required",t.required),e.xp6(2),e.Q6J("ngIf",t.control.invalid)}}function cD(n,o){if(1&n&&(e.TgZ(0,"mat-option",46),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.Oqu(t.label)}}function dD(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessage(t.id))}}function uD(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field",42)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",44),e.NdJ("valueChange",function(a){e.CHM(t);const l=e.oxw().$implicit;return e.KtG(l.control.value=a)}),e.YNc(5,cD,2,2,"mat-option",45),e.qZA(),e.YNc(6,dD,2,1,"mat-error",8),e.qZA()}if(2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,6,t.label)),e.xp6(2),e.Q6J("formControl",t.control)("value",t.control.value)("required",t.required),e.xp6(1),e.Q6J("ngForOf",t.values),e.xp6(1),e.Q6J("ngIf",t.control.invalid)}}function _D(n,o){if(1&n&&(e.ynx(0),e.YNc(1,lD,7,15,"mat-form-field",40),e.YNc(2,uD,7,8,"mat-form-field",41),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","select"!==t.type),e.xp6(1),e.Q6J("ngIf","select"===t.type)}}function pD(n,o){1&n&&(e.TgZ(0,"div",47)(1,"span",48),e._UZ(2,"i",49),e.qZA()())}function hD(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-list-item",51),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw(2);return e.KtG(h.updateUsersCustomers(l.id))}),e._uU(1),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw(2);e.ekj("bg-green-400",i.hasCustomer(t.id)),e.xp6(1),e.hij(" ",t.name," ")}}function mD(n,o){if(1&n&&(e.TgZ(0,"mat-list"),e.YNc(1,hD,2,3,"mat-list-item",50),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.customers)}}let gD=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt){this.router=t,this.http=i,this.route=a,this.userService=l,this.formBuilder=h,this.authService=E,this.translate=N,this.notify=oe,this.historyService=xe,this.serviceSettings=Ve,this.privilegesService=lt,this.headers=this.authService.headers,this.loading=!0,this.loadingCustomers=!0,this.roles=[],this.userForm=[{id:"username",label:this.translate.instant("USER.username"),type:"text",control:new A.NI,required:!0},{id:"firstname",label:this.translate.instant("USER.firstname"),type:"text",control:new A.NI,required:!0},{id:"lastname",label:this.translate.instant("USER.lastname"),type:"text",control:new A.NI,required:!0},{id:"email",label:this.translate.instant("USER.email"),type:"text",control:new A.NI("",A.kI.pattern("^[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$")),required:!1},{id:"password",label:this.translate.instant("USER.password"),type:"password",control:new A.NI,required:!1},{id:"password_check",label:this.translate.instant("USER.password_check"),type:"password",control:new A.NI,required:!1},{id:"role",label:this.translate.instant("HEADER.role"),type:"select",values:[],control:new A.NI,required:!0}],this.customers=[],this.usersCustomers=[],this.disablePasswordModification=!1}ngOnInit(){this.serviceSettings.init(),this.userId=this.route.snapshot.params.id,this.http.get(m.N.url+"/ws/auth/retrieveLoginMethodName").pipe((0,$e.b)(t=>{t.login_methods.forEach(i=>{i.enabled&&"default"!==i.method_name&&(this.disablePasswordModification=!0)})}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/accounts/customers/list",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.customers=t.customers,this.http.get(m.N.url+"/ws/users/getCustomersByUserId/"+this.userId,{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.usersCustomers=i,this.loadingCustomers=!1}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/roles/list",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.roles.forEach(i=>{(i.editable||"*"===this.userService.getUser().privileges)&&this.roles.push(i)})}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/users/getById/"+this.userId,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.user=t;for(const i in t)t.hasOwnProperty(i)&&this.userForm.forEach(a=>{a.id===i&&(a.control.setValue(t[i]),"role"===a.id&&(a.values=this.roles))})}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}isValidForm(){let t=!0;return this.userForm.forEach(i=>{"DISABLED"!==i.control.status&&"VALID"!==i.control.status&&(t=!1),i.control.markAsTouched()}),t}onSubmit(){if(this.isValidForm()){const t={};this.userForm.forEach(i=>{t[i.id]=i.control.value}),this.http.put(m.N.url+"/ws/users/update/"+this.userId,{args:t},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("USER.updated")),this.historyService.addHistory("general","update_user",this.translate.instant("HISTORY-DESC.update-user",{user:t.lastname+" "+t.firstname})),this.router.navigate(["/settings/general/users/"]).then()}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}}getErrorMessage(t){let i;return this.userForm.forEach(a=>{a.id===t&&a.required&&!a.value&&!a.control.value&&(i=this.translate.instant("AUTH.field_required"))}),i}hasCustomer(t){for(const i of this.usersCustomers)if(i===t)return!0;return!1}updateUsersCustomers(t){let i=!1,a=0;for(const l of this.usersCustomers){if(l===t){i=!0;break}a+=1}i?this.usersCustomers.splice(a,1):this.usersCustomers.push(t),this.http.put(m.N.url+"/ws/users/customers/update/"+this.userId,{customers:this.usersCustomers},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("USER.customers_updated"))}),(0,Ke.K)(l=>(console.debug(l),this.notify.handleErrors(l,"/settings/general/users/"),(0,ie.of)(!1)))).subscribe()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Nt.gz),e.Y36(zi.K),e.Y36(A.qu),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-update"]],decls:36,vars:24,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],["mat-icon-button","",1,"absolute","right-2","top-2",3,"click"],[1,"flex","justify-center","items-center","align-middle"],[1,"grid","grid-cols-3","gap-6","w-full","m-10","text-center",3,"ngSubmit"],[4,"ngFor","ngForOf"],[1,"button","col-span-3"],["type","submit","mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300"],["mode","side","opened","","position","end",1,"customers","w-1/4","flex","flex-col","h-full","border-r","border-green-400"],["sidenav2",""],["class","relative","style","top: 40%",4,"ngIf"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],["class","block",3,"pointer-events-none",4,"ngIf"],["class","block",4,"ngIf"],[1,"block"],["matInput","",3,"readonly","formControl","type","placeholder","required"],[3,"formControl","value","required","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"relative",2,"top","40%"],[1,"text-center","overflow-hidden"],[1,"fa-solid","fa-circle-notch","fa-spin","fa-4x","w-full","text-gray-900",2,"--fa-animation-duration","1.5s"],["class","hover:bg-green-400 cursor-pointer m-2 w-auto",3,"bg-green-400","click",4,"ngFor","ngForOf"],[1,"hover:bg-green-400","cursor-pointer","m-2","w-auto",3,"click"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,aD,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,oD,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16),e.YNc(17,rD,4,3,"span",8),e.qZA(),e._UZ(18,"hr",4),e.qZA(),e.TgZ(19,"button",13),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(29);return e.KtG(h.toggle())}),e._UZ(20,"i",11),e.qZA()(),e.TgZ(21,"div",14)(22,"form",15),e.NdJ("ngSubmit",function(){return i.onSubmit()}),e.YNc(23,_D,3,2,"ng-container",16),e.TgZ(24,"div",17)(25,"button",18),e._uU(26),e.ALo(27,"translate"),e.qZA()()()()(),e.TgZ(28,"mat-sidenav",19,20)(30,"h3",3),e._uU(31),e.ALo(32,"translate"),e.qZA(),e._UZ(33,"mat-divider",4),e.YNc(34,pD,3,0,"div",21),e.YNc(35,mD,2,1,"mat-list",8),e.qZA()()}if(2&t){const a=e.MAs(2),l=e.MAs(29);e.xp6(4),e.Oqu(e.lcZ(5,18,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.hij(" ",i.serviceSettings.getTitle()," : "),e.xp6(1),e.Q6J("ngIf",i.user),e.xp6(3),e.ekj("transform",!l.opened)("rotate-180",!l.opened),e.xp6(3),e.Q6J("ngForOf",i.userForm),e.xp6(3),e.hij(" ",e.lcZ(27,20,"USER.update")," "),e.xp6(5),e.Oqu(e.lcZ(32,22,"ACCOUNTS.customers_list")),e.xp6(3),e.Q6J("ngIf",i.loadingCustomers),e.xp6(1),e.Q6J("ngIf",!i.loadingCustomers)}},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.TO,Rt.KE,Rt.hX,Be.gD,b.ey,an.Nt,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.ib,Zt.yz,Zt.yK,rn.i$,rn.Hk,rn.Tg,Rn.d,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.oH,A.F,Cn.R,$t.X$],styles:[".mat-drawer-inner-container{overflow-x:hidden!important}"]}),n})();function fD(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",36)(1,"button",37),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",38),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function CD(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,fD,6,11,"div",35),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function vD(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",29)(1,"mat-expansion-panel-header",30)(2,"mat-panel-title",31),e._UZ(3,"i"),e.TgZ(4,"button",32),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",33),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,CD,2,7,"div",34),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function xD(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,vD,9,15,"mat-expansion-panel",28),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function bD(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",32),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",33),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function yD(n,o){if(1&n&&e.YNc(0,bD,5,11,"button",39),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function TD(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,xD,2,1,"div",26),e.YNc(2,yD,1,1,"ng-template",null,27,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function MD(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",22),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",23)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",24),e.YNc(6,TD,4,6,"div",25),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function DD(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function ED(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessage(t.id))}}function wD(n,o){if(1&n&&(e.TgZ(0,"mat-form-field")(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",40),e.ALo(5,"translate"),e.YNc(6,ED,2,1,"mat-error",8),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,7,t.label)),e.xp6(2),e.s9C("placeholder",e.lcZ(5,9,t.label)),e.Q6J("value",t.control.value)("formControl",t.control)("type",t.type)("required",t.required),e.xp6(2),e.Q6J("ngIf",t.control.invalid)}}function SD(n,o){if(1&n&&(e.ynx(0),e.YNc(1,wD,7,11,"mat-form-field",8),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","text"===t.type)}}function AD(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-slide-toggle",46),e.NdJ("change",function(a){e.CHM(t);const l=e.oxw(3);return e.KtG(l.changePrivilege(a))}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw(3);e.Q6J("name",t)("checked",i.hasPrivilege(t)),e.xp6(1),e.hij(" ",e.lcZ(2,3,"PRIVILEGES."+t)," ")}}function LD(n,o){if(1&n&&(e.TgZ(0,"mat-tab",43)(1,"div",44),e.YNc(2,AD,3,5,"mat-slide-toggle",45),e.qZA()()),2&n){const t=o.$implicit,i=e.oxw(2);e.Q6J("label",i.translate.instant("PRIVILEGES."+t)),e.xp6(2),e.Q6J("ngForOf",i.getChildsByParent(t))}}function OD(n,o){if(1&n&&(e.TgZ(0,"mat-tab-group",41),e.YNc(1,LD,3,2,"mat-tab",42),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.privileges.parent)}}let kD=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt){this.http=t,this.router=i,this.route=a,this.formBuilder=l,this.authService=h,this.userService=E,this.translate=N,this.notify=oe,this.historyService=xe,this.serviceSettings=Ve,this.privilegesService=lt,this.loading=!0,this.rolePrivileges=[],this.roleForm=[{id:"label",label:this.translate.instant("HEADER.label"),type:"text",control:new A.NI,required:!0},{id:"label_short",label:this.translate.instant("HEADER.label_short"),type:"text",control:new A.NI,required:!0}]}ngOnInit(){this.serviceSettings.init(),this.http.get(m.N.url+"/ws/privileges/list",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.privileges=t}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t,"/settings/general/roles"),(0,ie.of)(!1)))).subscribe()}isValidForm(){let t=!0;return this.roleForm.forEach(i=>{"DISABLED"!==i.control.status&&"VALID"!==i.control.status&&(t=!1),i.control.markAsTouched()}),t}onSubmit(){if(this.isValidForm()){const t={};this.roleForm.forEach(a=>{t[a.id]=a.control.value});const i=[];this.privileges.privileges.forEach(a=>{this.rolePrivileges.forEach(l=>{a.label===l&&i.push(a.id)})}),this.http.post(m.N.url+"/ws/roles/create",{args:t},{headers:this.authService.headers}).pipe((0,$e.b)(a=>{this.http.put(m.N.url+"/ws/roles/updatePrivilege/"+a.id,{privileges:i},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.historyService.addHistory("general","create_role",this.translate.instant("HISTORY-DESC.create-role",{role:t.label})),this.notify.success(this.translate.instant("ROLE.created")),this.router.navigate(["/settings/general/roles/"]).then()}),(0,Ke.K)(h=>(console.debug(h),this.notify.handleErrors(h,"/settings/general/roles/"),(0,ie.of)(!1)))).subscribe()}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a,"/settings/general/roles/"),(0,ie.of)(!1)))).subscribe()}}getErrorMessage(t){let i;return this.roleForm.forEach(a=>{a.id===t&&a.required&&(i=this.translate.instant("AUTH.field_required"))}),i}hasPrivilege(t){let i=!1;return this.rolePrivileges&&this.rolePrivileges.forEach(a=>{t===a&&(i=!0)}),i}getChildsByParent(t){const i=[];return this.privileges.privileges.forEach(a=>{t===a.parent&&i.push(a.label)}),i}changePrivilege(t){const i=t.source.name;t.checked?this.rolePrivileges.push(i):this.rolePrivileges.forEach(l=>{if(i===l){const h=this.rolePrivileges.indexOf(i,0);this.rolePrivileges.splice(h,1)}})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Ri.eN),e.Y36(Nt.F0),e.Y36(Nt.gz),e.Y36(A.qu),e.Y36(pi.e),e.Y36(zi.K),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-create"]],decls:31,vars:18,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],[1,"flex","justify-center","items-center"],[1,"grid","grid-cols-2","gap-6","w-full","m-10","text-center",3,"ngSubmit"],[4,"ngFor","ngForOf"],[1,"w-1/2","m-auto","border-green-400"],[1,"text-center","mt-10","mb-10"],[1,"flex","justify-center","items-center","ml-10","mr-5"],["dynamicHeight","",4,"ngIf"],[1,"flex","justify-center","items-center","mt-10"],["mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300",3,"click"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],["matInput","",3,"value","formControl","type","placeholder","required"],["dynamicHeight",""],[3,"label",4,"ngFor","ngForOf"],[3,"label"],[1,"grid","grid-cols-4","gap-x-60","gap-y-10","mt-10"],[3,"name","checked","change",4,"ngFor","ngForOf"],[3,"name","checked","change"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,MD,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,DD,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16),e.qZA(),e._UZ(17,"hr",4),e.qZA()(),e.TgZ(18,"div",13)(19,"form",14),e.NdJ("ngSubmit",function(){return i.onSubmit()}),e.YNc(20,SD,2,1,"ng-container",15),e.qZA()(),e._UZ(21,"mat-divider",16),e.TgZ(22,"h4",17),e._uU(23),e.ALo(24,"translate"),e.qZA(),e.TgZ(25,"div",18),e.YNc(26,OD,2,1,"mat-tab-group",19),e.qZA(),e.TgZ(27,"div",20)(28,"button",21),e.NdJ("click",function(){return i.onSubmit()}),e._uU(29),e.ALo(30,"translate"),e.qZA()()()()}if(2&t){const a=e.MAs(2);e.xp6(4),e.Oqu(e.lcZ(5,12,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(4),e.Q6J("ngForOf",i.roleForm),e.xp6(3),e.Oqu(e.lcZ(24,14,"PRIVILEGES.list")),e.xp6(3),e.Q6J("ngIf",i.privileges),e.xp6(3),e.hij(" ",e.lcZ(30,16,"ROLE.create_role")," ")}},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.TO,Rt.KE,Rt.hX,Va.Rr,an.Nt,va.SP,va.uX,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.ib,Zt.yz,Zt.yK,rn.Hk,Rn.d,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.oH,A.F,Cn.R,$t.X$]}),n})();function ID(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",36)(1,"button",37),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",38),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function PD(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,ID,6,11,"div",35),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function RD(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",29)(1,"mat-expansion-panel-header",30)(2,"mat-panel-title",31),e._UZ(3,"i"),e.TgZ(4,"button",32),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",33),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,PD,2,7,"div",34),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function FD(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,RD,9,15,"mat-expansion-panel",28),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function ND(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",32),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",33),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function BD(n,o){if(1&n&&e.YNc(0,ND,5,11,"button",39),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function UD(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,FD,2,1,"div",26),e.YNc(2,BD,1,1,"ng-template",null,27,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function ZD(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",22),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",23)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",24),e.YNc(6,UD,4,6,"div",25),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function YD(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function HD(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Oqu(t.role.label)}}function VD(n,o){if(1&n&&(e.TgZ(0,"strong"),e._uU(1),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.hij(" (",t.role.label_short,")")}}function GD(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessage(t.id))}}function KD(n,o){if(1&n&&(e.TgZ(0,"mat-form-field")(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",41),e.ALo(5,"translate"),e.YNc(6,GD,2,1,"mat-error",8),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,7,t.label)),e.xp6(2),e.s9C("placeholder",e.lcZ(5,9,t.label)),e.Q6J("value",t.control.value)("formControl",t.control)("type",t.type)("required",t.required),e.xp6(2),e.Q6J("ngIf",t.control.invalid)}}function jD(n,o){if(1&n&&(e.TgZ(0,"mat-checkbox",42),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=e.oxw().$implicit;e.Q6J("formControl",t.control),e.xp6(1),e.hij(" ",e.lcZ(2,2,t.label)," ")}}function WD(n,o){if(1&n&&(e.ynx(0),e.YNc(1,KD,7,11,"mat-form-field",8),e.YNc(2,jD,3,4,"mat-checkbox",40),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","text"===t.type),e.xp6(1),e.Q6J("ngIf","checkbox"===t.type)}}function qD(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-slide-toggle",48),e.NdJ("change",function(a){e.CHM(t);const l=e.oxw(3);return e.KtG(l.changePrivilege(a))}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw(3);e.Q6J("name",t)("checked",i.hasPrivilege(t)),e.xp6(1),e.hij(" ",e.lcZ(2,3,"PRIVILEGES."+t)," ")}}function JD(n,o){if(1&n&&(e.TgZ(0,"mat-tab",45)(1,"div",46),e.YNc(2,qD,3,5,"mat-slide-toggle",47),e.qZA()()),2&n){const t=o.$implicit,i=e.oxw(2);e.Q6J("label",i.translate.instant("PRIVILEGES."+t)),e.xp6(2),e.Q6J("ngForOf",i.getChildsByParent(t))}}function $D(n,o){if(1&n&&(e.TgZ(0,"mat-tab-group",43),e.YNc(1,JD,3,2,"mat-tab",44),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.privileges.parent)}}let zD=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt){this.http=t,this.router=i,this.route=a,this.formBuilder=l,this.authService=h,this.userService=E,this.translate=N,this.notify=oe,this.historyService=xe,this.serviceSettings=Ve,this.privilegesService=lt,this.headers=this.authService.headers,this.loading=!0,this.roles=[],this.roleForm=[{id:"label",label:this.translate.instant("HEADER.label"),type:"text",control:new A.NI,required:!0},{id:"label_short",label:this.translate.instant("HEADER.label_short"),type:"text",control:new A.NI,required:!0},{id:"enabled",label:this.translate.instant("ROLE.enable"),type:"checkbox",control:new A.NI,required:!0}],this.parentLabel=[(0,He.J)("PRIVILEGES.general"),(0,He.J)("PRIVILEGES.administration"),(0,He.J)("PRIVILEGES.verifier"),(0,He.J)("PRIVILEGES.splitter"),(0,He.J)("PRIVILEGES.accounts")],this.privilegesLabel=[(0,He.J)("PRIVILEGES.access_verifier"),(0,He.J)("PRIVILEGES.access_splitter"),(0,He.J)("PRIVILEGES.settings"),(0,He.J)("PRIVILEGES.upload"),(0,He.J)("PRIVILEGES.users_list"),(0,He.J)("PRIVILEGES.add_user"),(0,He.J)("PRIVILEGES.update_user"),(0,He.J)("PRIVILEGES.roles_list"),(0,He.J)("PRIVILEGES.add_role"),(0,He.J)("PRIVILEGES.update_role"),(0,He.J)("PRIVILEGES.version_update"),(0,He.J)("PRIVILEGES.custom_fields"),(0,He.J)("PRIVILEGES.forms_list"),(0,He.J)("PRIVILEGES.customers_list"),(0,He.J)("PRIVILEGES.suppliers_list"),(0,He.J)("PRIVILEGES.create_supplier"),(0,He.J)("PRIVILEGES.update_supplier"),(0,He.J)("PRIVILEGES.change_language"),(0,He.J)("PRIVILEGES.form_builder"),(0,He.J)("PRIVILEGES.export_suppliers"),(0,He.J)("PRIVILEGES.import_suppliers"),(0,He.J)("PRIVILEGES.history"),(0,He.J)("PRIVILEGES.add_output"),(0,He.J)("PRIVILEGES.add_input"),(0,He.J)("PRIVILEGES.add_form"),(0,He.J)("PRIVILEGES.update_output"),(0,He.J)("PRIVILEGES.update_input"),(0,He.J)("PRIVILEGES.position_mask_list"),(0,He.J)("PRIVILEGES.update_form"),(0,He.J)("PRIVILEGES.inputs_list"),(0,He.J)("PRIVILEGES.outputs_list"),(0,He.J)("PRIVILEGES.add_position_mask"),(0,He.J)("PRIVILEGES.update_position_mask"),(0,He.J)("PRIVILEGES.create_customer"),(0,He.J)("PRIVILEGES.update_customer"),(0,He.J)("PRIVILEGES.document_type_splitter"),(0,He.J)("PRIVILEGES.separator_splitter"),(0,He.J)("PRIVILEGES.add_input_splitter"),(0,He.J)("PRIVILEGES.update_input_splitter"),(0,He.J)("PRIVILEGES.inputs_list_splitter"),(0,He.J)("PRIVILEGES.update_output_splitter"),(0,He.J)("PRIVILEGES.add_output_splitter"),(0,He.J)("PRIVILEGES.outputs_list_splitter"),(0,He.J)("PRIVILEGES.update_form_splitter"),(0,He.J)("PRIVILEGES.add_form_splitter"),(0,He.J)("PRIVILEGES.forms_list_splitter"),(0,He.J)("PRIVILEGES.statistics"),(0,He.J)("PRIVILEGES.configurations"),(0,He.J)("PRIVILEGES.docservers"),(0,He.J)("PRIVILEGES.regex"),(0,He.J)("PRIVILEGES.update_document_type"),(0,He.J)("PRIVILEGES.add_document_type"),(0,He.J)("PRIVILEGES.login_methods"),(0,He.J)("PRIVILEGES.verifier_display"),(0,He.J)("PRIVILEGES.mailcollect"),(0,He.J)("PRIVILEGES.user_quota")]}ngOnInit(){this.serviceSettings.init(),this.roleId=this.route.snapshot.params.id,this.http.get(m.N.url+"/ws/roles/getById/"+this.roleId,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.role=t;for(const i in t)t.hasOwnProperty(i)&&this.roleForm.forEach(a=>{a.id===i&&a.control.setValue(t[i])})}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),this.router.navigate(["/settings/general/roles"]).then(),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/privileges/getbyRoleId/"+this.roleId,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.rolePrivileges=t}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t,"/settings/general/roles"),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/privileges/list",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.privileges=t}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t,"/settings/general/roles"),(0,ie.of)(!1)))).subscribe()}isValidForm(){let t=!0;return this.roleForm.forEach(i=>{"DISABLED"!==i.control.status&&"VALID"!==i.control.status&&(t=!1),i.control.markAsTouched()}),t}onSubmit(){if(this.isValidForm()){const t={};this.roleForm.forEach(a=>{t[a.id]=a.control.value});const i=[];this.privileges.privileges.forEach(a=>{this.rolePrivileges.forEach(l=>{a.label===l&&i.push(a.id)})}),this.http.put(m.N.url+"/ws/roles/update/"+this.roleId,{args:t},{headers:this.authService.headers}).pipe((0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a,"/settings/general/roles/"),(0,ie.of)(!1)))).subscribe(),this.http.put(m.N.url+"/ws/roles/updatePrivilege/"+this.roleId,{privileges:i},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.historyService.addHistory("general","update_role",this.translate.instant("HISTORY-DESC.update-role",{role:t.label})),this.notify.success(this.translate.instant("ROLE.updated")),this.router.navigate(["/settings/general/roles/"]).then()}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a,"/settings/general/roles/"),(0,ie.of)(!1)))).subscribe()}}getErrorMessage(t){let i;return this.roleForm.forEach(a=>{a.id===t&&a.required&&(i=this.translate.instant("AUTH.field_required"))}),i}hasPrivilege(t){let i=!1;return this.rolePrivileges.forEach(a=>{t===a&&(i=!0)}),i}getChildsByParent(t){const i=[];return this.privileges.privileges.forEach(a=>{t===a.parent&&i.push(a.label)}),i}changePrivilege(t){const i=t.source.name;t.checked?this.rolePrivileges.push(i):this.rolePrivileges.forEach(l=>{if(i===l){const h=this.rolePrivileges.indexOf(i,0);this.rolePrivileges.splice(h,1)}})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Ri.eN),e.Y36(Nt.F0),e.Y36(Nt.gz),e.Y36(A.qu),e.Y36(pi.e),e.Y36(zi.K),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-update"]],decls:33,vars:20,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],[1,"flex","justify-center","items-center"],[1,"grid","grid-cols-3","gap-6","w-full","m-10","text-center",3,"ngSubmit"],[4,"ngFor","ngForOf"],[1,"w-1/2","m-auto","border-green-400"],[1,"text-center","mt-10","mb-10"],[1,"flex","justify-center","items-center","ml-10","mr-5"],["dynamicHeight","",4,"ngIf"],[1,"flex","justify-center","items-center","mt-10"],["mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300",3,"click"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],["class","mt-4 -ml-72",3,"formControl",4,"ngIf"],["matInput","",3,"value","formControl","type","placeholder","required"],[1,"mt-4","-ml-72",3,"formControl"],["dynamicHeight",""],[3,"label",4,"ngFor","ngForOf"],[3,"label"],[1,"grid","grid-cols-4","gap-x-40","gap-y-10","mt-10"],[3,"name","checked","change",4,"ngFor","ngForOf"],[3,"name","checked","change"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,ZD,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,YD,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16),e.YNc(17,HD,2,1,"span",8),e.YNc(18,VD,2,1,"strong",8),e.qZA(),e._UZ(19,"hr",4),e.qZA()(),e.TgZ(20,"div",13)(21,"form",14),e.NdJ("ngSubmit",function(){return i.onSubmit()}),e.YNc(22,WD,3,2,"ng-container",15),e.qZA()(),e._UZ(23,"mat-divider",16),e.TgZ(24,"h4",17),e._uU(25),e.ALo(26,"translate"),e.qZA(),e.TgZ(27,"div",18),e.YNc(28,$D,2,1,"mat-tab-group",19),e.qZA(),e.TgZ(29,"div",20)(30,"button",21),e.NdJ("click",function(){return i.onSubmit()}),e._uU(31),e.ALo(32,"translate"),e.qZA()()()()}if(2&t){const a=e.MAs(2);e.xp6(4),e.Oqu(e.lcZ(5,14,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.hij(" ",i.serviceSettings.getTitle()," : "),e.xp6(1),e.Q6J("ngIf",i.role),e.xp6(1),e.Q6J("ngIf",i.role),e.xp6(4),e.Q6J("ngForOf",i.roleForm),e.xp6(3),e.Oqu(e.lcZ(26,16,"PRIVILEGES.list")),e.xp6(3),e.Q6J("ngIf",i.privileges&&i.rolePrivileges),e.xp6(3),e.hij(" ",e.lcZ(32,18,"ROLE.update")," ")}},dependencies:[_e.sg,_e.O5,Nt.rH,Sa,Rt.TO,Rt.KE,Rt.hX,Va.Rr,an.Nt,va.SP,va.uX,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.ib,Zt.yz,Zt.yK,rn.Hk,Rn.d,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.oH,A.F,Cn.R,$t.X$],styles:[".mat-slide-toggle-content{overflow:inherit!important}"]}),n})();function QD(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",39)(1,"button",40),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",41),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function XD(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,QD,6,11,"div",38),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function eE(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",32)(1,"mat-expansion-panel-header",33)(2,"mat-panel-title",34),e._UZ(3,"i"),e.TgZ(4,"button",35),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",36),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,XD,2,7,"div",37),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function tE(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,eE,9,15,"mat-expansion-panel",31),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function iE(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",35),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",36),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function nE(n,o){if(1&n&&e.YNc(0,iE,5,11,"button",42),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function aE(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,tE,2,1,"div",29),e.YNc(2,nE,1,1,"ng-template",null,30,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function oE(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",25),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",26)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",27),e.YNc(6,aE,4,6,"div",28),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function rE(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function sE(n,o){1&n&&(e.TgZ(0,"mat-header-cell",43),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.id")," "))}function lE(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.id," ")}}function cE(n,o){1&n&&(e.TgZ(0,"mat-header-cell",43),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.label_short")," "))}function dE(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.input_id," ")}}function uE(n,o){1&n&&(e.TgZ(0,"mat-header-cell",43),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.label")," "))}function _E(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.input_label," ")}}function pE(n,o){1&n&&(e.TgZ(0,"mat-header-cell",43),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"INPUT.input_folder_header")," "))}function hE(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.input_folder," ")}}function mE(n,o){1&n&&e._UZ(0,"mat-header-cell")}function gE(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-cell")(1,"button",44),e.NdJ("click",function(a){const h=e.CHM(t).$implicit,E=e.oxw();return a.stopPropagation(),e.KtG(E.duplicateConfirmDialog(h.id,h.input_label))}),e.ALo(2,"translate"),e._UZ(3,"i",45),e.qZA(),e.TgZ(4,"button",44),e.NdJ("click",function(a){const h=e.CHM(t).$implicit,E=e.oxw();return a.stopPropagation(),e.KtG(E.deleteConfirmDialog(h.id,h.input_label))}),e.ALo(5,"translate"),e._UZ(6,"i",46),e.qZA()()}2&n&&(e.xp6(1),e.s9C("matTooltip",e.lcZ(2,2,"INPUT.duplicate")),e.xp6(3),e.s9C("matTooltip",e.lcZ(5,4,"GLOBAL.delete")))}function fE(n,o){1&n&&e._UZ(0,"mat-header-row")}function CE(n,o){1&n&&e._UZ(0,"mat-row",47),2&n&&e.MGl("routerLink","/settings/verifier/inputs/update/",o.$implicit.id,"")}const vE=function(){return[5,10,15,20,50]};let xE=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt,Ft){this.router=t,this.http=i,this.dialog=a,this.userService=l,this.authService=h,this.translate=E,this.notify=N,this.historyService=oe,this.serviceSettings=xe,this.routerExtService=Ve,this.privilegesService=lt,this.localStorageService=Ft,this.headers=this.authService.headers,this.columnsToDisplay=["id","input_id","input_label","input_folder","actions"],this.loading=!0,this.inputs=[],this.allInputs=[],this.pageSize=10,this.pageIndex=0,this.total=0,this.offset=0}ngOnInit(){this.serviceSettings.init();const t=this.routerExtService.getPreviousUrl();t.includes("settings/verifier/inputs")||"/"===t?(this.localStorageService.get("inputsPageIndex")&&(this.pageIndex=parseInt(this.localStorageService.get("inputsPageIndex"))),this.offset=this.pageSize*this.pageIndex):this.localStorageService.remove("inputsPageIndex"),this.http.get(m.N.url+"/ws/inputs/list?module=verifier",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.allInputs=i.inputs}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe(),this.loadInputs()}loadInputs(){this.http.get(m.N.url+"/ws/inputs/list?module=verifier&limit="+this.pageSize+"&offset="+this.offset,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.inputs[0]?this.total=t.inputs[0].total:0!==this.pageIndex&&(this.pageIndex=this.pageIndex-1,this.offset=this.pageSize*this.pageIndex,this.loadInputs()),this.inputs=t.inputs}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}onPageChange(t){this.pageSize=t.pageSize,this.offset=this.pageSize*t.pageIndex,this.pageIndex=t.pageIndex,this.localStorageService.save("inputsPageIndex",t.pageIndex),this.loadInputs()}deleteConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("INPUT.confirm_delete",{input:i}),confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.deleteInput(t),this.historyService.addHistory("verifier","delete_input",this.translate.instant("HISTORY-DESC.delete-input",{input:i})))})}deleteInput(t){void 0!==t&&this.http.delete(m.N.url+"/ws/inputs/delete/"+t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadInputs(),this.notify.success(this.translate.instant("INPUT.input_deleted"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}duplicateConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("INPUT.confirm_duplicate",{input:i}),confirmButton:this.translate.instant("GLOBAL.duplicate"),confirmButtonColor:"green",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.duplicateInput(t),this.historyService.addHistory("verifier","duplicate_input",this.translate.instant("HISTORY-DESC.duplicate-input",{input:i})))})}duplicateInput(t){void 0!==t&&this.http.post(m.N.url+"/ws/inputs/duplicate/"+t,{},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadInputs(),this.notify.success(this.translate.instant("INPUT.input_duplicated"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}sortData(t){const i=this.allInputs.slice();t.active&&""!==t.direction?(this.inputs=i.sort((a,l)=>{const h="asc"===t.direction;switch(t.active){case"id":return this.compare(a.id,l.id,h);case"label_short":return this.compare(a.label_short,l.label_short,h);case"label":return this.compare(a.label,l.label,h);default:return 0}}),this.inputs=this.inputs.splice(0,this.pageSize)):this.inputs=i.splice(0,this.pageSize)}compare(t,i,a){return(t{class n{constructor(t){this.el=t}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq))},n.\u0275dir=e.lG2({type:n,selectors:[["","ngSortgridDragHandle",""]]}),n})(),A2=(()=>{class n{constructor(){this.SELECTED_DEFAULT_CLASS="ng-sg-selected",this.PLACEHOLDER_DEFAULT_CLASS="ng-sg-placeholder",this.DROPPED_DEFAULT_CLASS="ng-sg-dropped",this.ACTIVE_DEFAULT_CLASS="ng-sg-active"}addPlaceHolderClass(t){t.classList.add(this.PLACEHOLDER_DEFAULT_CLASS)}removePlaceHolderClass(t){t.classList.remove(this.PLACEHOLDER_DEFAULT_CLASS)}addDroppedClass(t){t.classList.add(this.DROPPED_DEFAULT_CLASS)}removeDroppedClass(t){t.classList.remove(this.DROPPED_DEFAULT_CLASS)}addSelectedClass(t){t.classList.add(this.SELECTED_DEFAULT_CLASS)}removeSelectedClass(t){t.classList.remove(this.SELECTED_DEFAULT_CLASS)}addActiveClass(t){t.classList.add(this.ACTIVE_DEFAULT_CLASS)}removeActiveClass(t){t.classList.remove(this.ACTIVE_DEFAULT_CLASS)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),K1=(()=>{class n{constructor(){this.state=new Map}initState(t,i=[],a={}){this.state.set(t,{items:[...i],classes:a,selectedItems:[]})}addSelectedItem(t,i){this.state.get(t).selectedItems.push(i)}removeSelectedItem(t,i){const a=this.state.get(t).selectedItems.filter(l=>l.node!==i);this.setSelectedItems(t,a)}setItems(t,i){this.state.get(t).items=[...i]}getItems(t){return this.state.get(t).items}hasItems(t){return this.getItems(t).length>0}hasGroup(t){return this.state.has(t)}getSelectedItems(t){return this.state.get(t).selectedItems}setSelectedItems(t,i){this.state.get(t).selectedItems=[...i]}getFirstSelectItem(t){return this.state.get(t).selectedItems[0]}hasSelectedItems(t){return this.getSelectedItems(t).length>0}resetSelectedItems(t){this.setSelectedItems(t,[])}getClasses(t){return this.state.get(t).classes}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),AE=(()=>{class n{constructor(t,i){this.classService=t,this.ngsgStore=i}initSort(t){this.dragIndex=this.ngsgStore.getFirstSelectItem(t).originalIndex,this.dragElements=this.ngsgStore.getSelectedItems(t)}sort(t){const i=xm.findIndex(t),a=this.getSibling(t,this.dragIndex,i);this.isDropInSelection(a)||(this.dragElements.forEach(l=>{const h=t.parentNode.insertBefore(l.node,a.node);this.classService.addPlaceHolderClass(h)}),this.dragIndex=xm.findIndex(this.dragElements[0].node))}endSort(){this.dragElements.forEach(t=>{this.updateDropedItem(t.node)})}getSibling(t,i,a){return ii.node===t.node)}updateDropedItem(t){this.classService.removePlaceHolderClass(t),this.classService.addDroppedClass(t),this.classService.removeSelectedClass(t),this.classService.removeActiveClass(t),(0,tp.H)(500).subscribe(()=>this.classService.removeDroppedClass(t))}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(A2),e.LFG(K1))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var bm=(()=>{return(n=bm||(bm={}))[n.ADD=0]="ADD",n[n.REMOVE=1]="REMOVE",bm;var n})();let LE=(()=>{class n{constructor(t,i){this.classService=t,this.ngsgStore=i,this.COMMAND_KEY="Meta",this.CONTROL_KEY="Control",this.selectionChange$=new Ye.x;const a=this.selectionKeyPressed();this.selectionChange$.pipe(function ME(...n){const o=(0,TE.jO)(n);return(0,OT.e)((t,i)=>{const a=n.length,l=new Array(a);let h=n.map(()=>!1),E=!1;for(let N=0;N{l[N]=oe,!E&&!h[N]&&(h[N]=!0,(E=h.every(bE.y))&&(h=null))},yE.Z));t.subscribe((0,G1.x)(i,N=>{if(E){const oe=[N,...l];i.next(o?o(...oe):oe)}}))})}(a)).subscribe(([l,h])=>{h?this.handleSelectionChange(l):this.resetSelectedItems(l.key)})}resetSelectedItems(t){this.ngsgStore.getSelectedItems(t).forEach(i=>this.classService.removeSelectedClass(i.node)),this.ngsgStore.resetSelectedItems(t)}handleSelectionChange(t){t.action===bm.ADD&&(this.classService.addSelectedClass(t.item),this.ngsgStore.addSelectedItem(t.key,{node:t.item,originalIndex:xm.findIndex(t.item)})),t.action===bm.REMOVE&&(this.classService.removeSelectedClass(t.item),this.ngsgStore.removeSelectedItem(t.key,t.item))}selectionKeyPressed(){const t=(0,is.R)(window,"keydown").pipe((0,Mo.h)(a=>a.key===this.COMMAND_KEY||a.key===this.CONTROL_KEY),(0,IT.h)(!0)),i=(0,is.R)(window,"keyup").pipe((0,IT.h)(!1));return(0,ma.T)(t,i)}selectElementIfNoSelection(t,i){this.ngsgStore.hasSelectedItems(t)||this.ngsgStore.addSelectedItem(t,{node:i,originalIndex:xm.findIndex(i)})}updateSelectedDragItem(t,i,a){this.selectionChange$.next({key:t,item:i,action:a?bm.ADD:bm.REMOVE})}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(A2),e.LFG(K1))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),OE=(()=>{class n{constructor(t){this.ngsgStore=t}reflectChanges(t,i){const a=this.ngsgStore.getItems(t),l=this.ngsgStore.getSelectedItems(t),h=this.getSelectedElementsIndices(l),E=this.getSelectedItems(a,h),N=h.sort((Ve,lt)=>Ve-lt),oe=this.findDropIndex(l,i);for(;N.length>0;)a.splice(N.pop(),1);const xe=this.getReflectedItems(a,E,oe);return this.ngsgStore.setItems(t,xe),xe}getReflectedItems(t,i,a){return[...t.slice(0,a),...i,...t.slice(a,t.length)]}getSelectedItems(t,i){const a=[];return i.forEach(l=>{a.push(t[l])}),a}getSelectedElementsIndices(t){return t.map(i=>i.originalIndex)}findDropIndex(t,i){return this.isDropInSelection(t,i)?xm.findIndex(t[0].node):xm.findIndex(i)}isDropInSelection(t,i){return!!t.find(a=>a.node===i)}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(K1))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),kE=(()=>{class n{constructor(){this.dropped$=new Ye.x}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),IE=(()=>{class n{constructor(t){this.document=t,this.DEFAULT_SCROLLSPEED=50,this.SCROLL_BUFFER=50,this.window=t.defaultView}scrollIfNecessary(t,i={},a){const l=t.pageY-this.window.scrollY;this.isTopScrollNeeded(l,i.top)?this.window.scrollBy({top:-a||-this.DEFAULT_SCROLLSPEED,behavior:"smooth"}):this.isBottomScrollNeeded(l,i.bottom)&&this.window.scrollBy({top:a||this.DEFAULT_SCROLLSPEED,behavior:"smooth"})}isTopScrollNeeded(t,i){return i?ti:t>this.window.innerHeight-this.SCROLL_BUFFER}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(_e.K0))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),RT=(()=>{class n{constructor(t,i,a,l,h,E,N,oe){this.el=t,this.sortService=i,this.selectionService=a,this.reflectService=l,this.ngsgStore=h,this.ngsgEventService=E,this.scrollHelperService=N,this.classService=oe,this.ngSortGridGroup="defaultGroup",this.autoScroll=!1,this.sorted=new e.vpe,this.selected=!1,this.destroy$=new Ye.x}ngOnInit(){this.ngsgEventService.dropped$.pipe((0,$i.R)(this.destroy$)).subscribe(()=>this.selected=!1),(0,is.R)(this.el.nativeElement,"drag").pipe(function EE(n,o=nC.z,t=PT){const i=(0,tp.H)(n,o);return function DE(n,o=PT){return(0,OT.e)((t,i)=>{const{leading:a,trailing:l}=o;let h=!1,E=null,N=null,oe=!1;const xe=()=>{null==N||N.unsubscribe(),N=null,l&&(Ft(),oe&&i.complete())},Ve=()=>{N=null,oe&&i.complete()},lt=ii=>N=(0,kT.Xf)(n(ii)).subscribe((0,G1.x)(i,xe,Ve)),Ft=()=>{if(h){h=!1;const ii=E;E=null,i.next(ii),!oe&<(ii)}};t.subscribe((0,G1.x)(i,ii=>{h=!0,E=ii,(!N||N.closed)&&(a?Ft():lt(ii))},()=>{oe=!0,(!(l&&h&&N)||N.closed)&&i.complete()}))})}(()=>i,t)}(20),(0,$i.R)(this.destroy$),(0,wE.o)(()=>this.autoScroll)).subscribe(()=>{this.scrollHelperService.scrollIfNecessary(event,{top:this.scrollPointTop,bottom:this.scrollPointBottom},this.scrollSpeed)})}ngOnChanges(t){const i=t.ngSortGridItems,a=i.currentValue?i.currentValue:[];this.ngsgStore.hasGroup(this.ngSortGridGroup)?this.ngsgStore.setItems(this.ngSortGridGroup,a):this.ngsgStore.initState(this.ngSortGridGroup,a)}ngAfterViewInit(){var t,i;this.handleElement=(null===(i=null===(t=this.handle)||void 0===t?void 0:t.el)||void 0===i?void 0:i.nativeElement)||this.el.nativeElement,(0,is.R)(this.handleElement,"mousedown").pipe((0,$i.R)(this.destroy$)).subscribe(()=>{this.el.nativeElement.draggable=!0})}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}dragStart(t){!this.occuredOnHost(t)||(this.selectionService.selectElementIfNoSelection(this.ngSortGridGroup,t.target),this.classService.addActiveClass(t.target),this.sortService.initSort(this.ngSortGridGroup))}dragEnter(){!this.ngsgStore.hasSelectedItems(this.ngSortGridGroup)||this.sortService.sort(this.el.nativeElement)}dragOver(t){return t.preventDefault&&t.preventDefault(),!1}drop(){if(this.el.nativeElement.draggable=!1,!this.ngsgStore.hasSelectedItems(this.ngSortGridGroup))return;if(!this.ngsgStore.hasItems(this.ngSortGridGroup))return void console.warn("Ng-sortgrid: No items provided - please use [sortGridItems] to pass in an array of items -\n otherwhise the ordered items can not be emitted in the (sorted) event");const t=[...this.ngsgStore.getItems(this.ngSortGridGroup)];this.sortService.endSort();const i=this.reflectService.reflectChanges(this.ngSortGridGroup,this.el.nativeElement);this.sorted.next({previousOrder:t,currentOrder:i}),this.ngsgStore.resetSelectedItems(this.ngSortGridGroup),this.ngsgEventService.dropped$.next(!0)}clicked(){this.selected=!this.isItemCurrentlySelected(),this.selectionService.updateSelectedDragItem(this.ngSortGridGroup,this.el.nativeElement,this.selected)}isItemCurrentlySelected(){const t=xm.findIndex(this.el.nativeElement);return!!this.ngsgStore.getSelectedItems(this.ngSortGridGroup).find(i=>i.originalIndex===t)}occuredOnHost(t){return t.target.matches("[ngSortgridItem]")}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(AE),e.Y36(LE),e.Y36(OE),e.Y36(K1),e.Y36(kE),e.Y36(IE),e.Y36(A2))},n.\u0275dir=e.lG2({type:n,selectors:[["","ngSortgridItem",""]],contentQueries:function(t,i,a){if(1&t&&e.Suo(a,SE,5),2&t){let l;e.iGM(l=e.CRH())&&(i.handle=l.first)}},hostBindings:function(t,i){1&t&&e.NdJ("dragstart",function(l){return i.dragStart(l)})("dragenter",function(){return i.dragEnter()})("dragover",function(l){return i.dragOver(l)})("dragend",function(){return i.drop()})("click",function(){return i.clicked()})},inputs:{ngSortGridGroup:"ngSortGridGroup",ngSortGridItems:"ngSortGridItems",scrollPointTop:"scrollPointTop",scrollPointBottom:"scrollPointBottom",scrollSpeed:"scrollSpeed",autoScroll:"autoScroll"},outputs:{sorted:"sorted"},features:[e.TTD]}),n})(),RE=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({}),n})();function FE(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",34)(1,"button",35),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",36),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function NE(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,FE,6,11,"div",33),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function BE(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",27)(1,"mat-expansion-panel-header",28)(2,"mat-panel-title",29),e._UZ(3,"i"),e.TgZ(4,"button",30),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",31),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,NE,2,7,"div",32),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function UE(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,BE,9,15,"mat-expansion-panel",26),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function ZE(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",30),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",31),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function YE(n,o){if(1&n&&e.YNc(0,ZE,5,11,"button",37),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function HE(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,UE,2,1,"div",24),e.YNc(2,YE,1,1,"ng-template",null,25,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function VE(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",20),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",21)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",22),e.YNc(6,HE,4,6,"div",23),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function GE(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function KE(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field")(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",54),e.TgZ(5,"mat-hint",55),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.modalOpen=!0)}),e._uU(6),e.ALo(7,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2);e.ekj("z-50",t.modalOpen),e.xp6(2),e.Oqu(e.lcZ(3,5,"FORMS.automatic_validation_data")),e.xp6(2),e.Q6J("formControl",t.formSettings.automatic_validation_data.control),e.xp6(2),e.hij(" ",e.lcZ(7,7,"FORMS.automatic_validation_data_hint")," ")}}function jE(n,o){if(1&n&&(e.TgZ(0,"mat-option",60),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.s9C("value",t.id),e.xp6(1),e.hij(" ",t.output_label," ")}}function WE(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",61),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw(3);return a.stopPropagation(),e.KtG(l.addOutput())}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon",62),e._uU(3,"add_circle"),e.qZA()()}2&n&&e.s9C("matTooltip",e.lcZ(1,1,"OUTPUT.add"))}function qE(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",63),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw().index,h=e.oxw(2);return a.stopPropagation(),e.KtG(h.removeOutput(l))}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon",64),e._uU(3,"delete_forever"),e.qZA()()}2&n&&e.s9C("matTooltip",e.lcZ(1,1,"OUTPUT.remove"))}function JE(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field")(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",56),e.NdJ("ngModelChange",function(a){const h=e.CHM(t).$implicit;return e.KtG(h.control.value=a)}),e.YNc(5,jE,2,2,"mat-option",57),e.qZA(),e.YNc(6,WE,4,3,"span",58),e.YNc(7,qE,4,3,"span",59),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw(2);e.xp6(2),e.Oqu(e.lcZ(3,5,"HEADER.choose_output")),e.xp6(2),e.Q6J("ngModel",t.control.value),e.xp6(1),e.Q6J("ngForOf",i.outputs),e.xp6(1),e.Q6J("ngIf",!t.canRemove),e.xp6(1),e.Q6J("ngIf",t.canRemove)}}function $E(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"i",77),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(),l=a.index,h=a.$implicit,E=e.oxw().$implicit,N=e.oxw(2);return e.KtG(N.deleteField(l,E.id,h.unit))}),e.qZA()}if(2&n){const t=e.oxw(4);e.Q6J("matTooltip",t.translate.instant("FORMS.delete_field"))}}function zE(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"i",78),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().$implicit;return e.KtG(a.edit_name=!0)}),e.qZA()}if(2&n){const t=e.oxw(4);e.Q6J("matTooltip",t.translate.instant("FORMS.update_label"))}}function QE(n,o){1&n&&(e.TgZ(0,"span",81),e._uU(1,"*"),e.qZA())}function XE(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=e.oxw(2).$implicit;e.xp6(1),e.hij(" (",e.lcZ(2,1,"FORMATS."+t.format),")")}}function ew(n,o){1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" (",e.lcZ(2,1,"FORMATS.select"),")"))}function tw(n,o){1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" (",e.lcZ(2,1,"FORMATS.textarea"),")"))}function iw(n,o){if(1&n&&(e.TgZ(0,"span",79),e.YNc(1,QE,2,0,"span",80),e.TgZ(2,"strong"),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.YNc(5,XE,3,3,"span",8),e.YNc(6,ew,3,3,"span",8),e.YNc(7,tw,3,3,"span",8),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.Q6J("ngIf",t.required),e.xp6(2),e.Oqu(e.lcZ(4,5,t.label)),e.xp6(2),e.Q6J("ngIf","select"!==t.type&&"textarea"!==t.type),e.xp6(1),e.Q6J("ngIf","select"===t.type),e.xp6(1),e.Q6J("ngIf","textarea"===t.type)}}function nw(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",82)(1,"mat-form-field",83)(2,"input",84),e.NdJ("keyup.enter",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw(3);return e.KtG(h.updateValue(a,l))})("focusout",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw(3);return e.KtG(h.updateValue(a,l))}),e.ALo(3,"translate"),e.qZA()(),e.TgZ(4,"button",85),e.ALo(5,"translate"),e._UZ(6,"i",86),e.qZA()()}if(2&n){const t=e.oxw().$implicit;e.xp6(2),e.Q6J("value",e.lcZ(3,2,t.label)),e.xp6(2),e.s9C("matTooltip",e.lcZ(5,4,"CONFIGURATIONS.validate"))}}function aw(n,o){if(1&n&&(e.TgZ(0,"button",92),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){e.oxw();const t=e.MAs(23),i=e.oxw().$implicit;e.Akn("background-color:"+i.color),e.ekj("text-white","black"===i.color||"navy"===i.color),e.Q6J("matMenuTriggerFor",t),e.xp6(1),e.hij(" ",e.lcZ(2,6,"VERIFIER.colors")," ")}}function ow(n,o){if(1&n&&(e.TgZ(0,"button",92),e._uU(1),e.ALo(2,"translate"),e.TgZ(3,"small",93),e._UZ(4,"i"),e.qZA()()),2&n){e.oxw();const t=e.MAs(26),i=e.oxw().$implicit;e.Q6J("matMenuTriggerFor",t),e.xp6(1),e.hij(" ",e.lcZ(2,5,"VERIFIER.format")," "),e.xp6(3),e.Gre("text-base text-green-400 ",i.format_icon,"")}}function rw(n,o){if(1&n&&(e.TgZ(0,"button",92),e._uU(1),e.ALo(2,"translate"),e.TgZ(3,"small",93),e._UZ(4,"i"),e.qZA()()),2&n){e.oxw();const t=e.MAs(29),i=e.oxw().$implicit;e.Q6J("matMenuTriggerFor",t),e.xp6(1),e.hij(" ",e.lcZ(2,5,"VERIFIER.display")," "),e.xp6(3),e.Gre("text-base text-green-400 ",i.display_icon,"")}}function sw(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",102),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw(2).$implicit,E=e.oxw().$implicit,N=e.oxw(2);return e.KtG(N.changeClass(h.id,l.id,l.label,E.id))}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw(2).$implicit;e.ekj("bg-green-400",t.id===i.class),e.Q6J("id",i.id),e.xp6(1),e.hij(" ",e.lcZ(2,4,t.label)," ")}}function lw(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",102),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw(2).$implicit,E=e.oxw().$implicit,N=e.oxw(2);return e.KtG(N.changeColor(h.id,l.id,E.id))}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw(2).$implicit;e.Akn("background-color:"+t.id),e.ekj("text-white","black"===t.id||"navy"===t.id),e.Q6J("id",i.id),e.xp6(1),e.hij(" ",e.lcZ(2,6,t.label)," ")}}function cw(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",102),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw(2).$implicit,E=e.oxw().$implicit,N=e.oxw(2);return e.KtG(N.changeFormat(h.id,l.id,l.icon,E.id))}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw(2).$implicit;e.ekj("bg-green-400",t.id===i.format),e.Q6J("id",i.id),e.xp6(1),e.hij(" ",e.lcZ(2,4,t.label)," ")}}function dw(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",102),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw(2).$implicit,E=e.oxw().$implicit,N=e.oxw(2);return e.KtG(N.changeDisplay(h.id,l.id,l.icon,E.id))}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw(2).$implicit;e.ekj("bg-green-400",t.id===i.display),e.Q6J("id",i.id),e.xp6(1),e.hij(" ",e.lcZ(2,4,t.label)," ")}}function uw(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",102),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw(2).$implicit,E=e.oxw().$implicit,N=e.oxw(2);return e.KtG(N.changeRequired(h.id,l.id,l.icon,E.id))}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw(2).$implicit;e.ekj("bg-green-400",t.id===i.required),e.Q6J("id",i.id),e.xp6(1),e.hij(" ",e.lcZ(2,4,t.label)," ")}}function _w(n,o){if(1&n&&(e.TgZ(0,"div",87)(1,"button",88)(2,"mat-icon",89),e._uU(3,"more_vert"),e.qZA()(),e.TgZ(4,"mat-menu",null,90),e.YNc(6,aw,3,8,"button",91),e.TgZ(7,"button",92),e._uU(8),e.ALo(9,"translate"),e.TgZ(10,"small",93),e._uU(11),e.qZA()(),e.YNc(12,ow,5,7,"button",94),e.YNc(13,rw,5,7,"button",94),e.TgZ(14,"button",92),e._uU(15),e.ALo(16,"translate"),e.TgZ(17,"small",93),e._UZ(18,"i"),e.qZA()()(),e.TgZ(19,"mat-menu",null,95),e.YNc(21,sw,3,6,"button",96),e.qZA(),e.TgZ(22,"mat-menu",null,97),e.YNc(24,lw,3,8,"button",98),e.qZA(),e.TgZ(25,"mat-menu",null,99),e.YNc(27,cw,3,6,"button",96),e.qZA(),e.TgZ(28,"mat-menu",null,100),e.YNc(30,dw,3,6,"button",96),e.qZA(),e.TgZ(31,"mat-menu",null,101),e.YNc(33,uw,3,6,"button",96),e.qZA()()),2&n){const t=e.MAs(5),i=e.MAs(20),a=e.MAs(32),l=e.oxw().$implicit,h=e.oxw(3);e.xp6(1),e.Q6J("matMenuTriggerFor",t)("matTooltip",h.translate.instant("VERIFIER.field_settings")),e.xp6(5),e.Q6J("ngIf","select"!==l.type),e.xp6(1),e.Q6J("matMenuTriggerFor",i),e.xp6(1),e.hij(" ",e.lcZ(9,18,"VERIFIER.size")," "),e.xp6(3),e.Oqu(l.class_label),e.xp6(1),e.Q6J("ngIf","select"!==l.type),e.xp6(1),e.Q6J("ngIf","select"!==l.type),e.xp6(1),e.Q6J("matMenuTriggerFor",a),e.xp6(1),e.hij(" ",e.lcZ(16,20,"VERIFIER.required")," "),e.xp6(3),e.Gre("text-base text-green-400 ",l.required_icon,""),e.xp6(3),e.Q6J("ngForOf",h.classList),e.xp6(3),e.Q6J("ngForOf",h.colorsList),e.xp6(3),e.Q6J("ngForOf",h.formatList),e.xp6(3),e.Q6J("ngForOf",h.displayList),e.xp6(3),e.Q6J("ngForOf",h.mandatoryList)}}function pw(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div")(1,"i",103),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().$implicit;return e.KtG(a.fullSizeSelected=!a.fullSizeSelected)}),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()()}if(2&n){const t=e.oxw().$implicit;e.xp6(1),e.ekj("text-green-400",t.fullSizeSelected),e.Q6J("matTooltip",t.fullSizeSelected?e.lcZ(2,3,"VERIFIER.full_line"):e.lcZ(3,5,"VERIFIER.make_line"))}}const hw=function(n,o){return{"w-full":n,"w-11/12":o}};function mw(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",69),e.NdJ("sorted",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw(2);return e.KtG(h.storeNewOrder(a,l.id))}),e.TgZ(1,"mat-form-field",70),e.NdJ("click",function(a){const h=e.CHM(t).index,E=e.oxw().$implicit,N=e.oxw(2);return e.KtG(N.selectForLine(a,N.fields[E.id][h]))}),e.YNc(2,$E,1,1,"i",71),e.YNc(3,zE,1,1,"i",72),e.YNc(4,iw,8,7,"span",73),e.YNc(5,nw,7,6,"span",74),e._UZ(6,"input",75),e.YNc(7,_w,34,22,"div",76),e.qZA(),e.YNc(8,pw,4,7,"div",8),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw().$implicit,a=e.oxw(2);e.Tol(t.class),e.Q6J("ngSortGridItems",a.fields[i.id])("ngSortGridGroup",i.id),e.xp6(1),e.ekj("bg-opacity-30",t.lineSelected)("px-3",!t.lineSelected)("px-6",t.lineSelected)("bg-gray-900",t.lineSelected),e.Q6J("ngClass",e.WLB(19,hw,!t.lineSelected,t.lineSelected)),e.xp6(1),e.Q6J("ngIf",!t.edit_name),e.xp6(1),e.Q6J("ngIf",!t.edit_name),e.xp6(1),e.Q6J("ngIf",!t.edit_name),e.xp6(1),e.Q6J("ngIf",t.edit_name),e.xp6(2),e.Q6J("ngIf",!t.edit_name),e.xp6(1),e.Q6J("ngIf",t.fullSize)}}function gw(n,o){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"div",65),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"div",66)(5,"div",67),e.NdJ("cdkDropListDropped",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.dropFromForm(a))}),e.YNc(6,mw,9,22,"div",68),e.qZA()(),e.BQk()}if(2&n){const t=o.$implicit,i=e.oxw(2);e.xp6(1),e.Akn("width:calc(3% + "+i.translate.instant(t.label).length+"%)"),e.xp6(1),e.hij(" ",e.lcZ(3,5,t.label)," "),e.xp6(3),e.Q6J("id",t.id),e.xp6(1),e.Q6J("ngForOf",i.fields[t.id])}}function fw(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",104),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.createForm())}),e._uU(1),e.ALo(2,"translate"),e.qZA()}2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"FORMS.create")," "))}function Cw(n,o){1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"FORMS.modify")))}function vw(n,o){1&n&&e._UZ(0,"i",107)}function xw(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",105),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.updateForm())}),e.YNc(1,Cw,3,3,"span",8),e.YNc(2,vw,1,0,"i",106),e.qZA()}if(2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",!t.updateFormLoading),e.xp6(1),e.Q6J("ngIf",t.updateFormLoading)}}function bw(n,o){1&n&&e._UZ(0,"mat-divider",120)}function yw(n,o){if(1&n&&(e.TgZ(0,"div",117)(1,"span"),e._uU(2),e.ALo(3,"translate"),e.TgZ(4,"span",118),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.YNc(7,bw,1,0,"mat-divider",119),e.qZA()()),2&n){const t=o.$implicit,i=o.index;e.xp6(2),e.hij(" ",e.lcZ(3,3,t.label)," "),e.xp6(3),e.Oqu(e.lcZ(6,5,t.id)),e.xp6(2),e.Q6J("ngIf",0===i)}}function Tw(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",108)(1,"div",109)(2,"div",110)(3,"div",111)(4,"h3",3),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.TgZ(7,"button",112),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.modalOpen=!1)}),e._UZ(8,"i",113),e.qZA()(),e.TgZ(9,"div",114)(10,"div",115),e.YNc(11,yw,8,7,"div",116),e.qZA()()()()()}if(2&n){const t=e.oxw(2);e.xp6(5),e.hij(" ",e.lcZ(6,2,"FORMS.available_fields")," "),e.xp6(6),e.Q6J("ngForOf",t.availableFields)}}function Mw(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",38)(1,"div",39)(2,"mat-form-field")(3,"mat-label"),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"input",40),e.qZA(),e.TgZ(7,"div",41)(8,"mat-slide-toggle",42),e._uU(9),e.ALo(10,"translate"),e.qZA()(),e.TgZ(11,"div",43)(12,"mat-slide-toggle",42),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.TgZ(15,"mat-hint",44),e._uU(16),e.ALo(17,"translate"),e.qZA()(),e.TgZ(18,"div",41)(19,"mat-slide-toggle",45),e.NdJ("change",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.openAvailableField=!a.openAvailableField)}),e._uU(20),e.ALo(21,"translate"),e.qZA()(),e.YNc(22,KE,8,9,"mat-form-field",46),e.TgZ(23,"div",43)(24,"mat-slide-toggle",42),e._uU(25),e.ALo(26,"translate"),e.qZA(),e.TgZ(27,"mat-hint",44),e._uU(28),e.ALo(29,"translate"),e.qZA()(),e.YNc(30,JE,8,7,"mat-form-field",47),e.qZA(),e.TgZ(31,"div",48),e.YNc(32,gw,7,7,"ng-container",47),e.qZA(),e.TgZ(33,"div",49)(34,"button",50),e.YNc(35,fw,3,3,"span",51),e.YNc(36,xw,3,2,"span",52),e.qZA()(),e.YNc(37,Tw,12,4,"div",53),e.qZA()}if(2&n){const t=e.oxw();e.xp6(4),e.Oqu(e.lcZ(5,18,"FORMS.label")),e.xp6(2),e.Q6J("formControl",t.form.label.control),e.xp6(2),e.Q6J("formControl",t.form.default_form.control),e.xp6(1),e.hij(" ",e.lcZ(10,20,"FORMS.is_default")," "),e.xp6(3),e.Q6J("formControl",t.formSettings.delete_documents_after_outputs.control),e.xp6(1),e.hij(" ",e.lcZ(14,22,"FORMS.delete_documents_after_outputs")," "),e.xp6(3),e.Oqu(e.lcZ(17,24,"FORMS.delete_documents_after_outputs_hint")),e.xp6(3),e.Q6J("formControl",t.formSettings.allow_automatic_validation.control),e.xp6(1),e.hij(" ",e.lcZ(21,26,"FORMS.allow_automatic_validation")," "),e.xp6(2),e.Q6J("ngIf",t.openAvailableField),e.xp6(2),e.Q6J("formControl",t.formSettings.supplier_verif.control),e.xp6(1),e.hij(" ",e.lcZ(26,28,"FORMS.supplier_verif")," "),e.xp6(3),e.Oqu(e.lcZ(29,30,"FORMS.supplier_verif_hint")),e.xp6(2),e.Q6J("ngForOf",t.outputForm),e.xp6(2),e.Q6J("ngForOf",t.fieldCategories),e.xp6(3),e.Q6J("ngIf",t.creationMode),e.xp6(1),e.Q6J("ngIf",!t.creationMode),e.xp6(1),e.Q6J("ngIf",t.modalOpen)}}function Dw(n,o){1&n&&(e.TgZ(0,"div",121)(1,"span",122),e._UZ(2,"i",123),e.qZA()())}function Ew(n,o){if(1&n&&(e.ynx(0),e.TgZ(1,"div",129),e._UZ(2,"i",130),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"mat-form-field",131)(6,"mat-label"),e._uU(7),e.ALo(8,"translate"),e.qZA(),e._UZ(9,"input",132),e.qZA(),e.BQk()),2&n){const t=e.oxw().$implicit;e.xp6(3),e.hij(" ",e.lcZ(4,2,t.label)," "),e.xp6(4),e.hij("",e.lcZ(8,4,"TYPES."+t.type)," ")}}function ww(n,o){if(1&n&&(e.ynx(0),e.TgZ(1,"div",129),e._UZ(2,"i",130),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"mat-form-field",131)(6,"mat-label"),e._uU(7),e.ALo(8,"translate"),e.qZA(),e._UZ(9,"input",75),e.qZA(),e.BQk()),2&n){const t=e.oxw().$implicit;e.xp6(3),e.hij(" ",e.lcZ(4,2,t.label)," "),e.xp6(4),e.Oqu(e.lcZ(8,4,"TYPES."+t.type))}}function Sw(n,o){if(1&n&&(e.ynx(0),e.TgZ(1,"div",129),e._UZ(2,"i",130),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"mat-form-field",131)(6,"mat-label"),e._uU(7),e.ALo(8,"translate"),e.qZA(),e._UZ(9,"input",133)(10,"mat-datepicker-toggle",134),e.qZA(),e.BQk()),2&n){const t=e.oxw().$implicit;e.xp6(3),e.hij(" ",e.lcZ(4,2,t.label)," "),e.xp6(4),e.Oqu(e.lcZ(8,4,"TYPES."+t.type))}}function Aw(n,o){if(1&n&&(e.ynx(0),e.TgZ(1,"div",129),e._UZ(2,"i",130),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"mat-form-field",131)(6,"mat-label"),e._uU(7),e.ALo(8,"translate"),e.qZA(),e._UZ(9,"mat-select"),e.qZA(),e.BQk()),2&n){const t=e.oxw().$implicit;e.xp6(3),e.hij(" ",e.lcZ(4,2,t.label)," "),e.xp6(4),e.Oqu(e.lcZ(8,4,"TYPES."+t.type))}}function Lw(n,o){if(1&n&&(e.TgZ(0,"div")(1,"div",128),e.YNc(2,Ew,10,6,"ng-container",8),e.YNc(3,ww,10,6,"ng-container",8),e.YNc(4,Sw,11,6,"ng-container",8),e.YNc(5,Aw,10,6,"ng-container",8),e.qZA()()),2&n){const t=o.$implicit;e.xp6(2),e.Q6J("ngIf","text"===t.type),e.xp6(1),e.Q6J("ngIf","textarea"===t.type),e.xp6(1),e.Q6J("ngIf","date"===t.type),e.xp6(1),e.Q6J("ngIf","select"===t.type)}}function Ow(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-tab",126),e.ALo(1,"translate"),e.TgZ(2,"div",127),e.NdJ("cdkDropListDropped",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.dropFromAvailableFields(a))}),e.YNc(3,Lw,6,4,"div",47),e.qZA()()}if(2&n){const t=o.$implicit;e.s9C("label",e.lcZ(1,4,t.label)),e.xp6(2),e.s9C("id",t.id),e.Q6J("cdkDropListData",t.values),e.xp6(1),e.Q6J("ngForOf",t.values)}}function kw(n,o){if(1&n&&(e.TgZ(0,"mat-tab-group",124),e.YNc(1,Ow,4,6,"mat-tab",125),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.availableFieldsParent)}}let FT=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt){this.router=t,this.http=i,this.route=a,this.userService=l,this.formBuilder=h,this.authService=E,this.translate=N,this.notify=oe,this.historyService=xe,this.serviceSettings=Ve,this.privilegesService=lt,this.loading=!0,this.loadingCustomFields=!0,this.updateFormLoading=!1,this.creationMode=!0,this.openAvailableField=!1,this.modalOpen=!1,this.selectedFields=[],this.outputs=[],this.form={label:{control:new A.NI},default_form:{control:new A.NI}},this.formSettings={allow_automatic_validation:{control:new A.NI},supplier_verif:{control:new A.NI},automatic_validation_data:{control:new A.NI},delete_documents_after_outputs:{control:new A.NI}},this.outputForm=[{control:new A.NI,cpt:0}],this.fields={supplier:[],facturation:[],other:[]},this.fieldCategories=[{id:"supplier",label:(0,He.J)("FORMS.supplier")},{id:"facturation",label:(0,He.J)("FACTURATION.facturation")},{id:"other",label:(0,He.J)("FORMS.other")}],this.availableFieldsParent=[{id:"accounts_fields",label:(0,He.J)("ACCOUNTS.supplier"),values:[{id:"name",label:(0,He.J)("ACCOUNTS.supplier_name"),unit:"supplier",type:"text",required:!0,required_icon:"fa-solid fa-star",class:"w-1/3",class_label:"1/33",color:"white",format:"alphanum",format_icon:"fa-solid fa-hashtag",display:"simple",display_icon:"fa-solid file-alt"},{id:"siret",label:(0,He.J)("ACCOUNTS.siret"),unit:"supplier",type:"text",required:!1,required_icon:"far fa-star",class:"w-1/3",class_label:"1/33",color:"green",format:"number_int",format_icon:"fa-solid fa-calculator",display:"simple",display_icon:"fa-solid file-alt"},{id:"siren",label:(0,He.J)("ACCOUNTS.siren"),unit:"supplier",type:"text",required:!1,required_icon:"far fa-star",class:"w-1/3",class_label:"1/33",color:"lime",format:"number_int",format_icon:"fa-solid fa-calculator",display:"simple",display_icon:"fa-solid file-alt"},{id:"vat_number",label:(0,He.J)("ACCOUNTS.vat_number"),unit:"supplier",type:"text",required:!0,required_icon:"fa-solid fa-star",class:"w-1/3",class_label:"1/33",color:"olive",format:"alphanum",format_icon:"fa-solid fa-hashtag",display:"simple",display_icon:"fa-solid file-alt"},{id:"iban",label:(0,He.J)("ACCOUNTS.iban"),unit:"supplier",type:"text",required:!1,required_icon:"far fa-star",class:"w-1/3",class_label:"1/33",color:"green",format:"alphanum",format_icon:"fa-solid fa-hashtag",display:"simple",display_icon:"fa-solid file-alt"},{id:"email",label:(0,He.J)("FORMATS.email"),unit:"supplier",type:"text",required:!1,required_icon:"far fa-star",class:"w-1/3",class_label:"1/33",color:"green",format:"email",format_icon:"fa-solid fa-at",display:"simple",display_icon:"fa-solid file-alt"},{id:"address1",label:(0,He.J)("ADDRESSES.address_1"),unit:"addresses",type:"text",required:!0,required_icon:"fa-solid fa-star",class:"w-1/3",class_label:"1/33",format:"alphanum_extended_with_accent",format_icon:"fa-solid fa-hashtag",display:"simple",display_icon:"fa-solid file-alt"},{id:"address2",label:(0,He.J)("ADDRESSES.address_2"),unit:"addresses",type:"text",required:!1,required_icon:"fa-solid fa-star",class:"w-1/3",class_label:"1/33",format:"alphanum_extended_with_accent",format_icon:"fa-solid fa-hashtag",display:"simple",display_icon:"fa-solid file-alt"},{id:"postal_code",label:(0,He.J)("ADDRESSES.postal_code"),unit:"addresses",type:"text",required:!0,required_icon:"fa-solid fa-star",class:"w-1/3",class_label:"1/33",format:"number_int",format_icon:"fa-solid fa-calculator",display:"simple",display_icon:"fa-solid file-alt"},{id:"city",label:(0,He.J)("ADDRESSES.city"),unit:"addresses",type:"text",required:!0,required_icon:"fa-solid fa-star",class:"w-1/3",class_label:"1/33",format:"char",format_icon:"fa-solid fa-font",display:"simple",display_icon:"fa-solid file-alt"},{id:"country",label:(0,He.J)("ADDRESSES.country"),unit:"addresses",type:"text",required:!0,required_icon:"fa-solid fa-star",class:"w-1/3",class_label:"1/33",format:"char",format_icon:"fa-solid fa-font",display:"simple",display_icon:"fa-solid file-alt"}]},{id:"facturation_fields",label:this.translate.instant("FACTURATION.facturation"),values:[{id:"delivery_number",label:(0,He.J)("FACTURATION.delivery_number"),unit:"facturation",type:"text",required:!1,required_icon:"far fa-star",class:"w-1/3",class_label:"1/33",color:"silver",format:"alphanum_extended",format_icon:"fa-solid fa-hashtag",display:"multi",display_icon:"fa-solid fa-layer-group"},{id:"invoice_number",label:(0,He.J)("FACTURATION.invoice_number"),unit:"facturation",type:"text",required:!0,required_icon:"fa-solid fa-star",class:"w-1/3",class_label:"1/33",color:"red",format:"alphanum_extended",format_icon:"fa-solid fa-hashtag",display:"simple",display_icon:"fa-solid file-alt"},{id:"quotation_number",label:(0,He.J)("FACTURATION.quotation_number"),unit:"facturation",type:"text",required:!1,required_icon:"fa-solid fa-star",class:"w-1/3",class_label:"1/33",color:"orange",format:"alphanum_extended",format_icon:"fa-solid fa-hashtag",display:"simple",display_icon:"fa-solid fa-print"},{id:"document_date",label:(0,He.J)("FACTURATION.document_date"),unit:"facturation",type:"date",required:!0,required_icon:"fa-solid fa-star",class:"w-1/3",class_label:"1/33",color:"yellow",format:"date",format_icon:"fa-solid fa-calendar-day",display:"simple",display_icon:"fa-solid file-alt"},{id:"document_due_date",label:(0,He.J)("FACTURATION.document_due_date"),unit:"facturation",type:"date",required:!1,required_icon:"far fa-star",class:"w-1/3",class_label:"1/33",color:"blue",format:"date",format_icon:"fa-solid fa-calendar-day",display:"simple",display_icon:"fa-solid file-alt"},{id:"vat_rate",label:(0,He.J)("FACTURATION.vat_rate"),unit:"facturation",type:"text",required:!0,required_icon:"fa-solid fa-star",class:"w-1/3",class_label:"1/33",color:"pink",format:"number_float",format_icon:"fa-solid fa-calculator",display:"multi",display_icon:"fa-solid fa-layer-group"},{id:"no_rate_amount",label:(0,He.J)("FACTURATION.no_rate_amount"),unit:"facturation",type:"text",required:!0,required_icon:"fa-solid fa-star",class:"w-1/3",class_label:"1/33",color:"fuschia",format:"number_float",format_icon:"fa-solid fa-calculator",display:"multi",display_icon:"fa-solid fa-layer-group"},{id:"vat_amount",label:(0,He.J)("FACTURATION.vat_amount"),unit:"facturation",type:"text",required:!0,required_icon:"fa-solid fa-star",class:"w-1/3",class_label:"1/33",color:"purple",format:"number_float",format_icon:"fa-solid fa-calculator",display:"multi",display_icon:"fa-solid fa-layer-group"},{id:"accounting_plan",label:(0,He.J)("FACTURATION.accounting_plan"),unit:"facturation",type:"select",required:!1,format:"select",required_icon:"fa-solid fa-star",class:"w-1/3",class_label:"1/33",display:"multi",display_icon:"fa-solid fa-layer-group"},{id:"total_ttc",label:(0,He.J)("FACTURATION.total_ttc"),unit:"facturation",type:"text",required:!0,required_icon:"fa-solid fa-star",class:"w-1/3",class_label:"1/33",format:"number_float",format_icon:"fa-solid fa-calculator",display:"simple",display_icon:"fa-solid file-alt"},{id:"total_ht",label:this.translate.instant("FACTURATION.total_ht"),unit:"facturation",type:"text",required:!0,required_icon:"fa-solid fa-star",class:"w-1/3",class_label:"1/33",format:"number_float",format_icon:"fa-solid fa-calculator",display:"simple",display_icon:"fa-solid file-alt"},{id:"total_vat",label:this.translate.instant("FACTURATION.total_vat"),unit:"facturation",type:"text",required:!0,required_icon:"fa-solid fa-star",class:"w-1/3",class_label:"1/33",color:"",format:"number_float",format_icon:"fa-solid fa-calculator",display:"simple",display_icon:"fa-solid file-alt"}]},{id:"custom_fields",label:(0,He.J)("FORMS.custom_fields"),values:[]}],this.classList=[{id:"w-full",label:"1"},{id:"w-1/2",label:"1/2"},{id:"w-30",label:"1/3"},{id:"w-1/3",label:"1/33"},{id:"w-1/4",label:"1/4"},{id:"w-1/5",label:"1/5"},{id:"w-1/6",label:"1/6"}],this.colorsList=[{id:"yellow",label:(0,He.J)("COLORS.yellow")},{id:"pink",label:(0,He.J)("COLORS.pink")},{id:"red",label:(0,He.J)("COLORS.red")},{id:"blue",label:(0,He.J)("COLORS.blue")},{id:"orange",label:(0,He.J)("COLORS.orange")},{id:"purple",label:(0,He.J)("COLORS.purple")},{id:"black",label:(0,He.J)("COLORS.black")},{id:"white",label:(0,He.J)("COLORS.white")},{id:"aqua",label:(0,He.J)("COLORS.aqua")},{id:"maroon",label:(0,He.J)("COLORS.maroon")},{id:"teal",label:(0,He.J)("COLORS.teal")},{id:"navy",label:(0,He.J)("COLORS.navy")},{id:"fuchsia",label:(0,He.J)("COLORS.fuchsia")},{id:"silver",label:(0,He.J)("COLORS.silver")},{id:"gray",label:(0,He.J)("COLORS.gray")},{id:"lime",label:(0,He.J)("COLORS.lime")},{id:"green",label:(0,He.J)("COLORS.green")}],this.formatList=[{id:"date",label:(0,He.J)("FORMATS.date"),icon:"fa-solid fa-calendar-day"},{id:"number_float",label:(0,He.J)("FORMATS.number_float"),icon:"fa-solid fa-calculator"},{id:"number_int",label:(0,He.J)("FORMATS.number_int"),icon:"fa-solid fa-calculator"},{id:"char",label:(0,He.J)("FORMATS.char"),icon:"fa-solid fa-font"},{id:"alphanum",label:(0,He.J)("FORMATS.alphanum"),icon:"fa-solid fa-hashtag"},{id:"alphanum_extended",label:(0,He.J)("FORMATS.alphanum_extended"),icon:"fa-solid fa-level-up-alt"},{id:"alphanum_extended_with_accent",label:(0,He.J)("FORMATS.alphanum_extended_with_accent"),icon:"fa-solid fa-level-up-alt"},{id:"email",label:(0,He.J)("FORMATS.email"),icon:"fa-solid fa-alt"}],this.displayList=[{id:"simple",label:(0,He.J)("DISPLAY.simple"),icon:"fa-solid fa-file-alt"},{id:"multi",label:(0,He.J)("DISPLAY.multi"),icon:"fa-solid fa-layer-group"}],this.mandatoryList=[{id:!0,label:(0,He.J)("MANDATORY.required"),icon:"fa-solid fa-star"},{id:!1,label:(0,He.J)("MANDATORY.not_required"),icon:"far fa-star"}],this.availableFields=[{id:"HEADER.id",label:"HEADER.label"},{id:"only_ocr",label:(0,He.J)("FORMS.only_ocr")},{id:"supplier",label:"ACCOUNTS.supplier"},{id:"invoice_number",label:"FACTURATION.invoice_number"},{id:"quotation_number",label:"FACTURATION.quotation_number"},{id:"document_date",label:(0,He.J)("FACTURATION.document_date")},{id:"footer",label:(0,He.J)("FACTURATION.footer")},{id:"delivery_number",label:"FACTURATION.delivery_number"}]}ngOnInit(){this.serviceSettings.init(),this.formId=this.route.snapshot.params.id,this.http.get(m.N.url+"/ws/outputs/list?module=verifier",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.outputs=t.outputs,this.formId&&(this.creationMode=!1,this.http.get(m.N.url+"/ws/forms/getById/"+this.formId,{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.formSettingId=i.module_settings_id;for(const a in this.form)for(const l in i)l===a&&this.form[a].control.setValue(i[a]);for(const a in this.formSettings)for(const l in i.settings)"allow_automatic_validation"===l&&(this.openAvailableField=i.settings[l]),l===a&&this.formSettings[l].control.setValue(i.settings[l]);if(i.outputs){const a=i.outputs.length;if(1===a&&this.outputForm[0].control.setValue(i.outputs[0]),a>1)for(const l in i.outputs)0!==parseInt(l)&&this.addOutput(),this.outputForm[l].control.setValue(i.outputs[l])}}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe())}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/customFields/list?module=verifier",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{if(t.customFields)for(const i in t.customFields)if(t.customFields.hasOwnProperty(i)){this.availableFields.push({id:"custom_"+t.customFields[i].id,label:t.customFields[i].label});for(const a in this.availableFieldsParent)if("custom_fields"===this.availableFieldsParent[a].id){this.availableFieldsParent[a].values.push({id:"custom_"+t.customFields[i].id,label:t.customFields[i].label,unit:"custom",type:t.customFields[i].type,required:t.customFields[i].required,autocomplete:t.customFields[i].autocomplete,class:"w-1/3",class_label:"1/33"});let l="";l="text"===t.customFields[i].type?"char":"select"===t.customFields[i].type?"select":"textarea"===t.customFields[i].type?"char":t.customFields[i].type,this.availableFieldsParent[a].values[this.availableFieldsParent[a].values.length-1].format=l}}this.loadingCustomFields=!1}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.formId?this.http.get(m.N.url+"/ws/forms/getFields/"+this.formId,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{if(t.form_fields.fields){void 0!==t.form_fields.fields.facturation&&(this.fields.facturation=t.form_fields.fields.facturation),t.form_fields.fields.supplier&&(this.fields.supplier=t.form_fields.fields.supplier),t.form_fields.fields.other&&(this.fields.other=t.form_fields.fields.other);for(const i in this.fields)this.fields.hasOwnProperty(i)&&this.fields[i].forEach(a=>{this.availableFieldsParent.forEach(l=>{let h=0;l.values.forEach(E=>{a.id===E.id&&l.values.splice(h,1),h+=1})})})}}),(0,Di.x)(()=>setTimeout(()=>{this.loading=!1},500)),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe():this.loading=!1}dropFromAvailableFields(t){const i=t.previousContainer.id;t.previousContainer===t.container?Hs(t.container.data,t.previousIndex,t.currentIndex):vr(t.previousContainer.data?t.previousContainer.data:this.fields[i],t.container.data,t.previousIndex,t.currentIndex)}changeClass(t,i,a,l){const h=t;this.fields[l].forEach(E=>{E.id===h&&(E.class=i,E.class_label=a)})}changeFormat(t,i,a,l){const h=t;this.fields[l].forEach(E=>{E.id===h&&(E.format=i,E.format_icon=a)})}changeDisplay(t,i,a,l){const h=t;this.fields[l].forEach(E=>{E.id===h&&(E.display=i,E.display_icon=a)})}changeRequired(t,i,a,l){const h=t;this.fields[l].forEach(E=>{E.id===h&&(E.required=i,E.required_icon=a)})}changeColor(t,i,a){const l=t;this.fields[a].forEach(h=>{h.id===l&&(h.color=i)})}dropFromForm(t){const i=t.container.id,a=t.previousContainer.id;t.previousContainer===t.container?t.container.data&&Hs(t.container.data,t.previousIndex,t.currentIndex):vr(t.previousContainer.data?t.previousContainer.data:this.fields[a],t.container.data?t.container.data:this.fields[i],t.previousIndex,t.currentIndex)}deleteField(t,i,a){("addresses"===a||"supplier"===a)&&(a="accounts");for(const l in this.availableFieldsParent)this.availableFieldsParent[l].id.split("_fields")[0]===a&&vr(this.fields[i],this.availableFieldsParent[l].values,t,this.availableFieldsParent[l].values.length)}updateValue(t,i){const a=t.target?t.target.value:t.value;a&&(i.label=a),i.edit_name=!1}storeNewOrder(t,i){const a=[];t.currentOrder.forEach(l=>{this.fields[i].forEach(h=>{l.id===h.id&&a.push(l)})}),this.fields[i]=a}addOutput(){this.outputForm[0].cpt=this.outputForm[0].cpt+1,this.outputForm.push({control:new A.NI,canRemove:!0})}removeOutput(t){this.outputForm.splice(t,1)}updateForm(){this.updateFormLoading=!0;const t=this.form.label.control.value,i=this.form.default_form.control.value,a=[];this.outputForm.forEach(h=>{h.control.value&&a.push(h.control.value)});const l={};Object.keys(this.formSettings).forEach(h=>{l[h]=this.formSettings[h].control.value}),""!==t&&a.length>=1?this.http.put(m.N.url+"/ws/forms/update/"+this.formId,{args:{label:t,default_form:i,outputs:a,settings:l}},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.http.post(m.N.url+"/ws/forms/updateFields/"+this.formId,this.fields,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.historyService.addHistory("verifier","update_form",this.translate.instant("HISTORY-DESC.update-form",{form:t})),this.notify.success(this.translate.instant("FORMS.updated"))}),(0,Ke.K)(h=>(console.debug(h),this.notify.handleErrors(h),(0,ie.of)(!1)))).subscribe()}),(0,Di.x)(()=>this.updateFormLoading=!1),(0,Ke.K)(h=>(console.debug(h),this.notify.handleErrors(h),(0,ie.of)(!1)))).subscribe():t||0!==a.length?t?0===a.length&&this.notify.error(this.translate.instant("FORMS.output_type_mandatory")):this.notify.error(this.translate.instant("FORMS.label_mandatory")):this.notify.error(this.translate.instant("FORMS.label_and_output_mandatory"))}selectForLine(t,i){if(t.ctrlKey){i.lineSelected=!i.lineSelected,i.lineSelected?this.selectedFields.push({id:i.id,class:i.class}):this.selectedFields.forEach((l,h)=>{l.id===i.id&&(this.selectedFields.splice(h,1),i.fullSize=!1)});let a=0;this.selectedFields.forEach(l=>{"full"!==l.class.replace("w-","")?a+=new Function("return "+l.class.replace("w-",""))():a=1}),Math.round(10*a)/10%1==0&&i.lineSelected&&(i.fullSize=!0)}}createForm(){const t=this.form.label.control.value,i=this.form.default_form.control.value;let a=this.formSettings.supplier_verif.control.value;const l=this.formSettings.automatic_validation_data.control.value,h=this.formSettings.allow_automatic_validation.control.value,E=this.formSettings.delete_documents_after_outputs.control.value;a||(a=!1);const N=[];this.outputForm.forEach(oe=>{oe.control.value&&N.push(oe.control.value)}),t?this.http.post(m.N.url+"/ws/forms/add",{args:{module:"verifier",label:t,outputs:N,default_form:i,settings:{supplier_verif:a,automatic_validation_data:l,allow_automatic_validation:h,delete_documents_after_outputs:E}}},{headers:this.authService.headers}).pipe((0,$e.b)(oe=>{this.http.post(m.N.url+"/ws/forms/updateFields/"+oe.id,this.fields,{headers:this.authService.headers}).pipe((0,Ke.K)(xe=>(console.debug(xe),this.notify.handleErrors(xe),(0,ie.of)(!1)))).subscribe(),this.historyService.addHistory("verifier","create_form",this.translate.instant("HISTORY-DESC.create-form",{form:t})),this.notify.success(this.translate.instant("FORMS.created")),this.router.navigateByUrl("settings/verifier/forms").then()}),(0,Ke.K)(oe=>(console.debug(oe),this.notify.handleErrors(oe),(0,ie.of)(!1)))).subscribe():this.notify.error(this.translate.instant("FORMS.label_mandatory"))}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Nt.gz),e.Y36(zi.K),e.Y36(A.qu),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["form-builder"]],decls:29,vars:20,consts:[["cdkDropListGroup","",1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white","overflow-hidden"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],["mat-icon-button","",1,"absolute","right-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-xl","text-gray-900"],["class","overflow-x-hidden overflow-y-auto","style","height: calc(100% - 64px)",4,"ngIf"],["mode","side","opened","","position","end",1,"available-fields","w-1/4","flex","flex-col","h-full","border-r","border-green-400"],["sidenav2",""],["class","relative","style","top: 40%",4,"ngIf"],["style","height: calc(100% - 64px)",4,"ngIf"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],[1,"overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 64px)"],[1,"grid","grid-cols-4","gap-4","mt-6","ml-6","mr-6"],["matInput","","required","",3,"formControl"],[1,"flex","justify-center","mt-4"],[3,"formControl"],[1,"flex","justify-center","flex-col","mt-4"],[1,"mt-4"],[3,"formControl","change"],[3,"z-50",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"form-container"],[1,"flex","justify-center","items-center"],["mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300"],["class","block",3,"click",4,"ngIf"],["class","w-48 block",3,"click",4,"ngIf"],["class","absolute overflow-y-auto overflow-x-hidden z-40 w-full md:inset-0 grid\n place-items-center h-screen",4,"ngIf"],["matInput","","required","","placeholder","supplier,footer,invoice_number,document_date",3,"formControl"],[1,"cursor-pointer",3,"click"],[3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["class","absolute top-1 right-4 cursor-pointer text-gray-900 z-40","style","right: -2.2rem",3,"matTooltip","click",4,"ngIf"],["class","absolute top-1 right-4 cursor-pointer text-red-500","style","right: -2.2rem",3,"matTooltip","click",4,"ngIf"],[3,"value"],[1,"absolute","top-1","right-4","cursor-pointer","text-gray-900","z-40",2,"right","-2.2rem",3,"matTooltip","click"],[1,"text-lg"],[1,"absolute","top-1","right-4","cursor-pointer","text-red-500",2,"right","-2.2rem",3,"matTooltip","click"],[1,"text-xl"],[1,"relative","text-xl","tracking-wider","pl-1.5","pr-1.5","bg-white",2,"top","2.5rem","left","2.5rem"],[1,"border-green-400","border","rounded-lg","mx-6","my-7"],["cdkDropList","",1,"flex","flex-wrap","cursor-pointer","w-full","my-3","px-2",2,"min-height","50px",3,"id","cdkDropListDropped"],["class","flex items-center overflow-hidden","ngSortgridItem","",3,"class","ngSortGridItems","ngSortGridGroup","sorted",4,"ngFor","ngForOf"],["ngSortgridItem","",1,"flex","items-center","overflow-hidden",3,"ngSortGridItems","ngSortGridGroup","sorted"],[1,"right-0","form-builder","mt-1","rounded-md",3,"ngClass","click"],["cdkDrag","","class","fa-solid fa-trash z-10 text-red-500",3,"matTooltip","click",4,"ngIf"],["cdkDrag","","class","fa-solid fa-edit z-10 ml-6 text-green-400",3,"matTooltip","click",4,"ngIf"],["class","input-label relative -top-1 border-r-2 border-green-400 inline-block\n overflow-ellipsis overflow-hidden whitespace-nowrap w-10/12",4,"ngIf"],["class","relative flex w-full","style","top: -1.325rem",4,"ngIf"],["matInput","","type","text","readonly","",1,"cursor-pointer"],["class","absolute top-0 -right-4 z-10",4,"ngIf"],["cdkDrag","",1,"fa-solid","fa-trash","z-10","text-red-500",3,"matTooltip","click"],["cdkDrag","",1,"fa-solid","fa-edit","z-10","ml-6","text-green-400",3,"matTooltip","click"],[1,"input-label","relative","-top-1","border-r-2","border-green-400","inline-block","overflow-ellipsis","overflow-hidden","whitespace-nowrap","w-10/12"],["class","text-red-500 mr-2 relative top-0.5",4,"ngIf"],[1,"text-red-500","mr-2","relative","top-0.5"],[1,"relative","flex","w-full",2,"top","-1.325rem"],["appearance","outline",1,"w-full","input-label-builder"],["matInput","",1,"relative","top-1",3,"value","keyup.enter","focusout"],["mat-icon-button","",1,"top-1.5",3,"matTooltip"],[1,"fa-solid","fa-check","visible","opacity-100","fa-lg"],[1,"absolute","top-0","-right-4","z-10"],["mat-button","","matTooltipPosition","above",3,"matMenuTriggerFor","matTooltip"],[1,"field_settings","text-md"],["menu","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor","style","text-white",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor"],[1,"ml-2"],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["size","matMenu"],["mat-menu-item","",3,"id","bg-green-400","click",4,"ngFor","ngForOf"],["colors","matMenu"],["mat-menu-item","",3,"id","style","text-white","click",4,"ngFor","ngForOf"],["format","matMenu"],["display","matMenu"],["required","matMenu"],["mat-menu-item","",3,"id","click"],["matTooltipPosition","above",1,"fa-solid","fa-layer-group","-m-2","-right-4","relative",3,"matTooltip","click"],[1,"block",3,"click"],[1,"w-48","block",3,"click"],["class","fa-solid text-2xl fa-circle-notch fa-spin\n text-gray-900 relative top-1","style","--fa-animation-duration: 1.5s;",4,"ngIf"],[1,"fa-solid","text-2xl","fa-circle-notch","fa-spin","text-gray-900","relative","top-1",2,"--fa-animation-duration","1.5s"],[1,"absolute","overflow-y-auto","overflow-x-hidden","z-40","w-full","md:inset-0","grid","place-items-center","h-screen"],[1,"relative","w-full","max-w-2xl","h-full","md:h-auto","border","border-green-400"],[1,"relative","bg-white","shadow"],[1,"flex","justify-between","items-start","p-4","border-b","bg-green-400"],["type","button",1,"text-gray-900","bg-transparent","ml-auto","inline-flex","items-center",2,"padding-top","0.9rem",3,"click"],[1,"fa-solid","fa-xmark","fa-2x"],[1,"p-6","space-y-6"],[1,"overflow-x-hidden","overflow-y-auto","h-96"],["class","my-8 ml-2 text-base",4,"ngFor","ngForOf"],[1,"my-8","ml-2","text-base"],[1,"text-green-400","ml-3",2,"font-size","12px"],["class","border-green-400 mt-4",4,"ngIf"],[1,"border-green-400","mt-4"],[1,"relative",2,"top","40%"],[1,"text-center","overflow-hidden"],[1,"fa-solid","fa-circle-notch","fa-spin","fa-4x","w-full","text-gray-900",2,"--fa-animation-duration","1.5s"],[2,"height","calc(100% - 64px)"],[3,"label",4,"ngFor","ngForOf"],[3,"label"],["cdkDropList","",1,"min-w-full",2,"min-height","500px",3,"id","cdkDropListData","cdkDropListDropped"],["cdkDrag","",1,"flex","flex-row","items-center","justify-between","m-5","cursor-pointer"],[1,"relative","-top-3"],[1,"relative","fa-solid","fa-arrows-alt","text-xl","top-0.5","mr-2","text-green-400"],[1,"right-0","w-5/12"],["matInput","","type","text","disabled","",1,"cursor-pointer"],["matInput","","disabled",""],["matSuffix",""]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,VE,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,GE,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16),e.qZA(),e._UZ(17,"hr",4),e.qZA(),e.TgZ(18,"button",13),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(22);return e.KtG(h.toggle())}),e._UZ(19,"i",14),e.qZA()(),e.YNc(20,Mw,38,32,"div",15),e.qZA(),e.TgZ(21,"mat-sidenav",16,17)(23,"h3",3),e._uU(24),e.ALo(25,"translate"),e.qZA(),e._UZ(26,"mat-divider",4),e.YNc(27,Dw,3,0,"div",18),e.YNc(28,kw,2,1,"mat-tab-group",19),e.qZA()()}if(2&t){const a=e.MAs(2),l=e.MAs(22);e.xp6(4),e.Oqu(e.lcZ(5,16,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(3),e.ekj("transform",l.opened)("rotate-180",l.opened),e.xp6(1),e.Q6J("ngIf",!i.loading),e.xp6(4),e.hij(" ",e.lcZ(25,18,"FORMS.available_fields")," "),e.xp6(3),e.Q6J("ngIf",i.loadingCustomFields),e.xp6(1),e.Q6J("ngIf",!i.loadingCustomFields)}},dependencies:[_e.mk,_e.sg,_e.O5,Nt.rH,Rt.KE,Rt.bx,Rt.hX,Rt.R9,Be.gD,b.ey,Va.Rr,an.Nt,Xn,va.SP,va.uX,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Ho,xl,pe,mo,Zt.ib,Zt.yz,Zt.yK,So,rn.Hk,Rn.d,RT,A.Fj,A.JJ,A.Q7,A.oH,A.On,e_,Xu,ld,Cn.R,$t.X$],styles:["i.cdk-drag[_ngcontent-%COMP%]{position:absolute;font-size:.875rem;line-height:1.25rem;margin-right:.5rem;margin-bottom:.25rem} .input-label-builder .mat-form-field-wrapper .mat-form-field-flex{height:2.5rem!important;top:.32rem} .input-label-builder .mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix{padding:0}.ng-sg-placeholder[_ngcontent-%COMP%], .cdk-drag-placeholder[_ngcontent-%COMP%]{border-width:1px;--tw-border-opacity: 1;border-color:rgb(151 191 61 / var(--tw-border-opacity));border-radius:.125rem;--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity));box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f} .form-container .mat-focused .mat-form-field-label-wrapper label{transform:none!important;width:100%!important} .form-builder>.mat-form-field-wrapper{padding-bottom:.75rem;padding-top:.75rem} .form-builder>.mat-form-field-wrapper:hover>.mat-form-field-flex>.mat-form-field-infix>i{visibility:visible;opacity:1} .form-builder>.mat-form-field-wrapper:hover>.mat-form-field-flex>.mat-form-field-infix>div>button{visibility:visible;opacity:1;left:0} .form-builder>.mat-form-field-wrapper:hover>.mat-form-field-flex>.mat-form-field-infix>.input-label{padding-left:3rem} .form-builder>.mat-form-field-wrapper .mat-form-field-flex{height:3.5rem} .form-builder>.mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix{width:100%} .form-builder>.mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix div>button{visibility:hidden;opacity:0;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s;left:2rem} .form-builder>.mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix div>button .mat-button-focus-overlay{background-color:transparent} .form-builder>.mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix i{visibility:hidden;opacity:0;left:.125rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s;top:.25rem;top:7px} .form-builder>.mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix .input-label{margin-left:0;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s}"]}),n})();function Iw(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",38)(1,"button",39),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",40),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function Pw(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,Iw,6,11,"div",37),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function Rw(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",31)(1,"mat-expansion-panel-header",32)(2,"mat-panel-title",33),e._UZ(3,"i"),e.TgZ(4,"button",34),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",35),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,Pw,2,7,"div",36),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function Fw(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,Rw,9,15,"mat-expansion-panel",30),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function Nw(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",34),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",35),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function Bw(n,o){if(1&n&&e.YNc(0,Nw,5,11,"button",41),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function Uw(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,Fw,2,1,"div",28),e.YNc(2,Bw,1,1,"ng-template",null,29,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function Zw(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",24),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",25)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",26),e.YNc(6,Uw,4,6,"div",27),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function Yw(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function Hw(n,o){1&n&&(e.TgZ(0,"mat-header-cell",42),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.id")," "))}function Vw(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.id," ")}}function Gw(n,o){1&n&&(e.TgZ(0,"mat-header-cell",42),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.output_type")," "))}function Kw(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.output_type_id," ")}}function jw(n,o){1&n&&(e.TgZ(0,"mat-header-cell",42),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.label")," "))}function Ww(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.output_label," ")}}function qw(n,o){1&n&&e._UZ(0,"mat-header-cell")}function Jw(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-cell")(1,"button",43),e.NdJ("click",function(a){const h=e.CHM(t).$implicit,E=e.oxw();return a.stopPropagation(),e.KtG(E.deleteConfirmDialog(h.id,h.output_label))}),e.ALo(2,"translate"),e._UZ(3,"i",44),e.qZA(),e.TgZ(4,"button",43),e.NdJ("click",function(a){const h=e.CHM(t).$implicit,E=e.oxw();return a.stopPropagation(),e.KtG(E.duplicateConfirmDialog(h.id,h.output_label))}),e.ALo(5,"translate"),e._UZ(6,"i",45),e.qZA()()}2&n&&(e.xp6(1),e.s9C("matTooltip",e.lcZ(2,2,"GLOBAL.delete")),e.xp6(3),e.s9C("matTooltip",e.lcZ(5,4,"OUTPUT.duplicate")))}function $w(n,o){1&n&&e._UZ(0,"mat-header-row")}function zw(n,o){1&n&&e._UZ(0,"mat-row",46),2&n&&e.MGl("routerLink","/settings/verifier/outputs/update/",o.$implicit.id,"")}const Qw=function(){return[5,10,15,20,50]};let Xw=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt,Ft){this.router=t,this.http=i,this.dialog=a,this.userService=l,this.authService=h,this.translate=E,this.notify=N,this.historyService=oe,this.serviceSettings=xe,this.routerExtService=Ve,this.privilegesService=lt,this.localStorageService=Ft,this.headers=this.authService.headers,this.columnsToDisplay=["id","output_label","output_type_id","actions"],this.loading=!0,this.outputs=[],this.pageSize=10,this.pageIndex=0,this.total=0,this.offset=0}ngOnInit(){this.serviceSettings.init();const t=this.routerExtService.getPreviousUrl();t.includes("settings/verifier/outputs")||"/"===t?(this.localStorageService.get("outputsPageIndex")&&(this.pageIndex=parseInt(this.localStorageService.get("outputsPageIndex"))),this.offset=this.pageSize*this.pageIndex):this.localStorageService.remove("outputsPageIndex"),this.loadOutputs()}loadOutputs(){this.http.get(m.N.url+"/ws/outputs/list?module=verifier&limit="+this.pageSize+"&offset="+this.offset,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.outputs[0]?this.total=t.outputs[0].total:0!==this.pageIndex&&(this.pageIndex=this.pageIndex-1,this.offset=this.pageSize*this.pageIndex,this.loadOutputs()),this.outputs=t.outputs}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}onPageChange(t){this.pageSize=t.pageSize,this.offset=this.pageSize*t.pageIndex,this.pageIndex=t.pageIndex,this.localStorageService.save("outputsPageIndex",t.pageIndex),this.loadOutputs()}deleteConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("OUTPUT.confirm_delete",{output:i}),confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.deleteOutput(t),this.historyService.addHistory("verifier","delete_output",this.translate.instant("HISTORY-DESC.delete-output",{output:i})))})}deleteOutput(t){void 0!==t&&this.http.delete(m.N.url+"/ws/outputs/delete/"+t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadOutputs(),this.notify.success(this.translate.instant("OUTPUT.output_deleted"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}duplicateConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("OUTPUT.confirm_duplicate",{output:i}),confirmButton:this.translate.instant("GLOBAL.duplicate"),confirmButtonColor:"green",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.duplicateOutput(t),this.historyService.addHistory("verifier","duplicate_output",this.translate.instant("HISTORY-DESC.duplicate-output",{output:i})))})}duplicateOutput(t){void 0!==t&&this.http.post(m.N.url+"/ws/outputs/duplicate/"+t,{},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadOutputs(),this.notify.success(this.translate.instant("OUTPUT.output_duplicated"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}sortData(t){const i=this.outputs.slice();this.outputs=t.active&&""!==t.direction?i.sort((a,l)=>{const h="asc"===t.direction;switch(t.active){case"id":return this.compare(a.id,l.id,h);case"label_short":return this.compare(a.label_short,l.label_short,h);case"label":return this.compare(a.label,l.label,h);default:return 0}}):i}compare(t,i,a){return(t{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt){this.router=t,this.http=i,this.dialog=a,this.route=l,this.userService=h,this.authService=E,this.translate=N,this.notify=oe,this.historyService=xe,this.serviceSettings=Ve,this.privilegesService=lt,this.headers=this.authService.headers,this.loading=!0,this.loadingCustomFields=!0,this.inputForm=[{id:"input_id",label:this.translate.instant("HEADER.label_short"),type:"text",control:new A.NI,disabled:!0,required:!0},{id:"input_label",label:this.translate.instant("HEADER.label"),type:"text",control:new A.NI,required:!0},{id:"input_folder",label:this.translate.instant("INPUT.input_folder"),type:"text",control:new A.NI,placeholder:"/var/share/sortant",required:!0},{id:"default_form_id",label:this.translate.instant("INPUT.default_form_id"),type:"select",control:new A.NI,required:!0},{id:"customer_id",label:this.translate.instant("INPUT.associated_customer"),type:"select",control:new A.NI,required:!1},{id:"purchase_or_sale",label:this.translate.instant("INPUT.purchase_or_sale"),type:"select",control:new A.NI,values:[{id:"purchase",label:"UPLOAD.purchase_invoice"},{id:"sale",label:"UPLOAD.sale_invoice"}],required:!0},{id:"splitter_method_id",label:this.translate.instant("INPUT.splitter_method"),type:"select",control:new A.NI,required:!1,values:[{id:"no_sep",label:this.translate.instant("INPUT.no_separation")},{id:"qr_code_OC",label:this.translate.instant("INPUT.qr_code_separation")},{id:"separate_by_document",label:this.translate.instant("INPUT.separate_by_document")}]},{id:"override_supplier_form",label:this.translate.instant("INPUT.override_supplier_form"),type:"boolean",control:new A.NI},{id:"remove_blank_pages",label:this.translate.instant("INPUT.remove_blank_pages"),type:"boolean",control:new A.NI}]}ngOnInit(){this.serviceSettings.init(),this.inputId=this.route.snapshot.params.id,this.http.get(m.N.url+"/ws/inputs/getById/"+this.inputId,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.input=t;for(const i in this.input)this.inputForm.forEach(a=>{a.id===i&&(a.control.setValue(t[i]),"default_form_id"===a.id?this.http.get(m.N.url+"/ws/forms/list?module=verifier",{headers:this.authService.headers}).pipe((0,$e.b)(l=>{a.values=l.forms}),(0,Ke.K)(l=>(console.debug(l),this.notify.handleErrors(l),(0,ie.of)(!1)))).subscribe():"customer_id"===a.id?this.http.get(m.N.url+"/ws/accounts/customers/list",{headers:this.authService.headers}).pipe((0,$e.b)(l=>{a.values=l.customers}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(l=>(console.debug(l),this.notify.handleErrors(l),(0,ie.of)(!1)))).subscribe():"splitter_method_id"===a.id&&(null===a.control.value||""===a.control.value||void 0===a.control.value)&&a.control.setValue("no_sep"))})}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),this.router.navigate(["/settings/verifier/outputs"]).then(),(0,ie.of)(!1)))).subscribe()}isValidForm(){let t=!0;return this.inputForm.forEach(i=>{"DISABLED"!==i.control.status&&"VALID"!==i.control.status&&(t=!1),i.control.markAsTouched()}),t}onSubmit(){if(this.isValidForm()){const t={module:"verifier"};this.inputForm.forEach(i=>{t[i.id]=i.control.value}),this.http.put(m.N.url+"/ws/inputs/update/"+this.inputId,{args:t},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.historyService.addHistory("verifier","update_input",this.translate.instant("HISTORY-DESC.update-input",{input:t.input_label})),this.notify.success(this.translate.instant("INPUT.updated"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i,"/verifier/inputs"),(0,ie.of)(!1)))).subscribe()}}createScriptAndIncron(){if(this.isValidForm()){const t={module:"verifier"};this.inputForm.forEach(i=>{t[i.id]=i.control.value}),this.http.post(m.N.url+"/ws/inputs/createScriptAndIncron",{args:t},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("INPUT.watcher_and_script_updated")),this.onSubmit()}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}}getErrorMessage(t){let i;return this.inputForm.forEach(a=>{a.id===t&&a.required&&!a.value&&!a.control.value&&(i=this.translate.instant("AUTH.field_required"))}),i}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Ui),e.Y36(Nt.gz),e.Y36(zi.K),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["input-update"]],decls:32,vars:18,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],[1,"grid","grid-cols-2","gap-4","w-auto","m-5","text-center"],[4,"ngFor","ngForOf"],[1,"grid","grid-cols-3","gap-4","w-auto","m-5","text-center"],[1,"flex","justify-center","items-center"],["mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300",3,"click"],["mat-button","",1,"ml-4","border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300",3,"click"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],["class","block",4,"ngIf"],[1,"block"],["matInput","",3,"formControl","readonly","type","placeholder","required"],[3,"formControl","value","required","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"relative","top-4","mb-10","col-span-2",3,"formControl"],[1,"justify-center"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,sS,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,lS,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16),e.qZA(),e._UZ(17,"hr",4),e.qZA()(),e.TgZ(18,"form")(19,"div",13),e.YNc(20,gS,3,2,"ng-container",14),e.qZA(),e.TgZ(21,"div",15),e.YNc(22,CS,2,1,"ng-container",14),e.qZA()(),e.TgZ(23,"div",16)(24,"button",17),e.NdJ("click",function(){return i.onSubmit()}),e.TgZ(25,"span"),e._uU(26),e.ALo(27,"translate"),e.qZA()(),e.TgZ(28,"button",18),e.NdJ("click",function(){return i.createScriptAndIncron()}),e.TgZ(29,"span"),e._uU(30),e.ALo(31,"translate"),e.qZA()()()()()}if(2&t){const a=e.MAs(2);e.xp6(4),e.Oqu(e.lcZ(5,12,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(4),e.Q6J("ngForOf",i.inputForm),e.xp6(2),e.Q6J("ngForOf",i.inputForm),e.xp6(4),e.Oqu(e.lcZ(27,14,"INPUT.update")),e.xp6(4),e.Oqu(e.lcZ(31,16,"INPUT.update_script_and_watcher"))}},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.TO,Rt.KE,Rt.hX,Be.gD,b.ey,Va.Rr,an.Nt,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.ib,Zt.yz,Zt.yK,rn.Hk,Rn.d,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.oH,A.F,Cn.R,$t.X$],styles:[".mat-slide-toggle label{justify-content:center}"]}),n})();function xS(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",39)(1,"button",40),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",41),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function bS(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,xS,6,11,"div",38),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function yS(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",32)(1,"mat-expansion-panel-header",33)(2,"mat-panel-title",34),e._UZ(3,"i"),e.TgZ(4,"button",35),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",36),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,bS,2,7,"div",37),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function TS(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,yS,9,15,"mat-expansion-panel",31),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function MS(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",35),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",36),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function DS(n,o){if(1&n&&e.YNc(0,MS,5,11,"button",42),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function ES(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,TS,2,1,"div",29),e.YNc(2,DS,1,1,"ng-template",null,30,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function wS(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",25),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",26)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",27),e.YNc(6,ES,4,6,"div",28),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function SS(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function AS(n,o){1&n&&(e.TgZ(0,"mat-header-cell",43),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.id")," "))}function LS(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.id," ")}}function OS(n,o){1&n&&(e.TgZ(0,"mat-header-cell",43),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.label_short")," "))}function kS(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.input_id," ")}}function IS(n,o){1&n&&(e.TgZ(0,"mat-header-cell",43),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.label")," "))}function PS(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.input_label," ")}}function RS(n,o){1&n&&(e.TgZ(0,"mat-header-cell",43),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"INPUT.input_folder_header")," "))}function FS(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.input_folder," ")}}function NS(n,o){1&n&&e._UZ(0,"mat-header-cell")}function BS(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-cell")(1,"button",44),e.NdJ("click",function(a){const h=e.CHM(t).$implicit,E=e.oxw();return a.stopPropagation(),e.KtG(E.deleteConfirmDialog(h.id,h.input_label))}),e.ALo(2,"translate"),e._UZ(3,"i",45),e.qZA(),e.TgZ(4,"button",44),e.NdJ("click",function(a){const h=e.CHM(t).$implicit,E=e.oxw();return a.stopPropagation(),e.KtG(E.duplicateConfirmDialog(h.id,h.input_label))}),e.ALo(5,"translate"),e._UZ(6,"i",46),e.qZA()()}2&n&&(e.xp6(1),e.s9C("matTooltip",e.lcZ(2,2,"GLOBAL.delete")),e.xp6(3),e.s9C("matTooltip",e.lcZ(5,4,"INPUT.duplicate")))}function US(n,o){1&n&&e._UZ(0,"mat-header-row")}function ZS(n,o){1&n&&e._UZ(0,"mat-row",47),2&n&&e.MGl("routerLink","/settings/splitter/inputs/update/",o.$implicit.id,"")}const YS=function(){return[5,10,15,20,50]};let HS=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt,Ft){this.router=t,this.http=i,this.dialog=a,this.userService=l,this.authService=h,this.translate=E,this.notify=N,this.historyService=oe,this.serviceSettings=xe,this.routerExtService=Ve,this.privilegesService=lt,this.localStorageService=Ft,this.headers=this.authService.headers,this.columnsToDisplay=["id","input_id","input_label","input_folder","actions"],this.loading=!0,this.inputs=[],this.pageSize=10,this.pageIndex=0,this.total=0,this.offset=0}ngOnInit(){this.serviceSettings.init();const t=this.routerExtService.getPreviousUrl();t.includes("inputs/")||"/"===t?(this.localStorageService.get("inputsPageIndex")&&(this.pageIndex=parseInt(this.localStorageService.get("inputsPageIndex"))),this.offset=this.pageSize*this.pageIndex):this.localStorageService.remove("inputsPageIndex"),this.loadInputs()}loadInputs(){this.http.get(m.N.url+"/ws/inputs/list?module=splitter&limit="+this.pageSize+"&offset="+this.offset,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.inputs[0]&&(this.total=t.inputs[0].total),this.inputs=t.inputs}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}onPageChange(t){this.pageSize=t.pageSize,this.offset=this.pageSize*t.pageIndex,this.localStorageService.save("inputsPageIndex",t.pageIndex),this.loadInputs()}deleteConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("INPUT.confirm_delete",{input:i}),confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.deleteInput(t),this.historyService.addHistory("splitter","delete_input",this.translate.instant("HISTORY-DESC.delete-input",{input:i})))})}deleteInput(t){void 0!==t&&this.http.delete(m.N.url+"/ws/inputs/delete/"+t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadInputs(),this.notify.success(this.translate.instant("INPUT.input_deleted"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}duplicateConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("INPUT.confirm_duplicate",{input:i}),confirmButton:this.translate.instant("GLOBAL.duplicate"),confirmButtonColor:"green",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.duplicateInput(t),this.historyService.addHistory("splitter","duplicate_input",this.translate.instant("HISTORY-DESC.duplicate-input",{input:i})))})}duplicateInput(t){void 0!==t&&this.http.post(m.N.url+"/ws/inputs/duplicate/"+t,{},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadInputs(),this.notify.success(this.translate.instant("INPUT.input_duplicated"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}sortData(t){const i=this.inputs.slice();this.inputs=t.active&&""!==t.direction?i.sort((a,l)=>{const h="asc"===t.direction;switch(t.active){case"id":return this.compare(a.id,l.id,h);case"label_short":return this.compare(a.label_short,l.label_short,h);case"label":return this.compare(a.label,l.label,h);default:return 0}}):i}compare(t,i,a){return(t{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve){this.router=t,this.http=i,this.dialog=a,this.userService=l,this.authService=h,this.translate=E,this.notify=N,this.historyService=oe,this.serviceSettings=xe,this.privilegesService=Ve,this.loading=!0,this.loadingCustomFields=!0,this.headers=this.authService.headers,this.inputForm=[{id:"input_id",label:this.translate.instant("HEADER.label_short"),type:"text",control:new A.NI,placeholder:"default_input",required:!0},{id:"input_label",label:this.translate.instant("HEADER.label"),type:"text",control:new A.NI,required:!0},{id:"input_folder",label:this.translate.instant("INPUT.input_folder"),type:"text",control:new A.NI,placeholder:"/var/share/sortant",required:!0},{id:"default_form_id",label:this.translate.instant("INPUT.default_form_id"),type:"select",control:new A.NI,required:!0},{id:"customer_id",label:this.translate.instant("INPUT.associated_customer"),type:"select",control:new A.NI,required:!0},{id:"purchase_or_sale",label:this.translate.instant("INPUT.purchase_or_sale"),type:"select",control:new A.NI,values:[{id:"purchase",label:"UPLOAD.purchase_invoice"},{id:"sale",label:"UPLOAD.sale_invoice"}],required:!0},{id:"splitter_method_id",label:this.translate.instant("INPUT.splitter_method"),type:"select",control:new A.NI,required:!1,values:[{id:"no_sep",label:this.translate.instant("INPUT.no_separation")},{id:"qr_code_OC",label:this.translate.instant("INPUT.qr_code_separation")},{id:"separate_by_document",label:this.translate.instant("INPUT.separate_by_document")}]},{id:"override_supplier_form",label:this.translate.instant("INPUT.override_supplier_form"),type:"boolean",control:new A.NI},{id:"remove_blank_pages",label:this.translate.instant("INPUT.remove_blank_pages"),type:"boolean",control:new A.NI}]}ngOnInit(){this.serviceSettings.init(),this.http.get(m.N.url+"/ws/accounts/customers/list",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.inputForm.forEach(i=>{"customer_id"===i.id&&(i.values=t.customers,1===t.customers.length&&i.control.setValue(t.customers[0].id)),"splitter_method_id"===i.id&&i.control.setValue("no_sep")})}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/forms/list?module=verifier",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.inputForm.forEach(i=>{"default_form_id"===i.id&&(i.values=t.forms,1===t.forms.length&&i.control.setValue(t.forms[0].id))})}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}isValidForm(){let t=!0;return this.inputForm.forEach(i=>{"DISABLED"!==i.control.status&&"VALID"!==i.control.status&&(t=!1),i.control.markAsTouched()}),t}onSubmit(){if(this.isValidForm()){const t={module:"verifier"};this.inputForm.forEach(i=>{t[i.id]=i.control.value}),this.createInputAndScriptAndIncron()}}createInputAndScriptAndIncron(){if(this.isValidForm()){const t={module:"verifier"};this.inputForm.forEach(i=>{t[i.id]=i.control.value}),t.module="verifier",this.http.post(m.N.url+"/ws/inputs/createScriptAndIncron",{args:t},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.http.post(m.N.url+"/ws/inputs/create",{args:t},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.historyService.addHistory("verifier","create_input",this.translate.instant("HISTORY-DESC.create-input",{input:t.input_label})),this.router.navigate(["/settings/verifier/inputs"]).then(),this.notify.success(this.translate.instant("INPUT.created"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}}getErrorMessage(t){let i;return this.inputForm.forEach(a=>{a.id===t&&a.required&&!a.value&&!a.control.value&&(i=this.translate.instant("AUTH.field_required"))}),i}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Ui),e.Y36(zi.K),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["create-input"]],decls:31,vars:18,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],[1,"grid","grid-cols-2","gap-4","w-auto","m-5","text-center"],[4,"ngFor","ngForOf"],[1,"grid","grid-cols-3","gap-4","w-auto","m-5","text-center"],[1,"flex","justify-center","items-center"],["mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300",3,"click"],[1,"text-gray-400","text-sm","mt-4","flex","justify-center","items-center"],[1,"w-1/3",3,"innerHTML"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],["class","block",4,"ngIf"],[1,"block"],["matInput","",3,"formControl","readonly","type","placeholder","required"],[3,"formControl","value","required","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"relative","top-4","mb-10","col-span-2",3,"formControl"],[1,"justify-center"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,$S,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,zS,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16),e.qZA(),e._UZ(17,"hr",4),e.qZA()(),e.TgZ(18,"form")(19,"div",13),e.YNc(20,oA,3,2,"ng-container",14),e.qZA(),e.TgZ(21,"div",15),e.YNc(22,sA,2,1,"ng-container",14),e.qZA()(),e.TgZ(23,"div",16)(24,"button",17),e.NdJ("click",function(){return i.onSubmit()}),e.TgZ(25,"span"),e._uU(26),e.ALo(27,"translate"),e.qZA()()(),e.TgZ(28,"div",18),e._UZ(29,"span",19),e.ALo(30,"translate"),e.qZA()()()}if(2&t){const a=e.MAs(2);e.xp6(4),e.Oqu(e.lcZ(5,12,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(4),e.Q6J("ngForOf",i.inputForm),e.xp6(2),e.Q6J("ngForOf",i.inputForm),e.xp6(4),e.Oqu(e.lcZ(27,14,"INPUT.create")),e.xp6(3),e.Q6J("innerHTML",e.lcZ(30,16,"INPUT.create_hint"),e.oJD)}},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.TO,Rt.KE,Rt.hX,Be.gD,b.ey,Va.Rr,an.Nt,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.ib,Zt.yz,Zt.yK,rn.Hk,Rn.d,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.oH,A.F,Cn.R,$t.X$],styles:[".mat-slide-toggle label{justify-content:center}"]}),n})();function cA(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",38)(1,"button",39),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"em"),e.TgZ(3,"p",40),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function dA(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,cA,6,11,"div",37),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function uA(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",31)(1,"mat-expansion-panel-header",32)(2,"mat-panel-title",33),e._UZ(3,"em"),e.TgZ(4,"button",34),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",35),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,dA,2,7,"div",36),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function _A(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,uA,9,15,"mat-expansion-panel",30),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function pA(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",34),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"em"),e.TgZ(2,"p",35),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function hA(n,o){if(1&n&&e.YNc(0,pA,5,11,"button",41),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function mA(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,_A,2,1,"div",28),e.YNc(2,hA,1,1,"ng-template",null,29,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function gA(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",24),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",25)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",26),e.YNc(6,mA,4,6,"div",27),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function fA(n,o){if(1&n&&(e.TgZ(0,"mat-option",43),e._uU(1),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw();e.Q6J("disabled",!i.selectedDocType.key||t.code.startsWith(i.selectedDocType.code+".")||t.key===i.selectedDocType.key)("value",t.code),e.xp6(1),e.hij(" ",t.label," ")}}function CA(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,fA,2,3,"mat-option",42),e.qZA()),2&n){const t=o.$implicit,i=e.oxw();e.xp6(1),e.Q6J("ngIf","folder"===t.type&&t.formId===i.selectedFormId)}}function vA(n,o){if(1&n&&(e.TgZ(0,"mat-form-field")(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",46),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw();e.xp6(2),e.Oqu(e.lcZ(3,6,t.label)),e.xp6(2),e.Q6J("formControlName",t.id)("type",t.type)("readonly",!i.selectedDocType.key)("placeholder",t.placeholder)("required",t.required)}}function xA(n,o){if(1&n&&(e.TgZ(0,"div",47)(1,"mat-slide-toggle",48),e._uU(2),e.ALo(3,"translate"),e.qZA()()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.Q6J("formControlName",t.id),e.xp6(1),e.hij(" ",e.lcZ(3,2,t.label)," ")}}function bA(n,o){if(1&n&&(e.ynx(0),e.YNc(1,vA,5,8,"mat-form-field",44),e.YNc(2,xA,4,4,"div",45),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","text"===t.type),e.xp6(1),e.Q6J("ngIf","slide"===t.type)}}const yA=function(){return{canFolderBeSelected:!0}};let TA=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt){this.http=t,this.dialog=i,this.router=a,this.route=l,this.formBuilder=h,this.authService=E,this.userService=N,this.translate=oe,this.notify=xe,this.serviceSettings=Ve,this.privilegesService=lt,this.loading=!1,this.noMasterFolder="_NO_MASTER",this.fields=[{id:"key",type:"text",label:this.translate.instant("HEADER.id"),required:!0,disabled:!0},{id:"label",type:"text",label:this.translate.instant("HEADER.label"),required:!0,disabled:!1},{id:"isDefault",type:"slide",label:this.translate.instant("DOCTYPE.default_doctype"),required:!1,disabled:!1}],this.selectedDocType={label:"",key:"",code:""}}ngOnInit(){this.serviceSettings.init(),this.form=this.toFormGroup()}toFormGroup(){const t={};return this.fields.forEach(i=>{t[i.id]=i.required?new A.NI({value:"",disabled:i.disabled},[A.kI.required]):new A.NI({value:"",disabled:i.disabled})}),t.folder=new A.NI(this.noMasterFolder,A.kI.required),new A.cw(t)}update(){let t=this.form.getRawValue();const i=this.getLastFolderIndex(t.folder);"_NO_MASTER"===t.folder&&(t.folder="0"),t={key:t.key,code:t.folder+"."+i.toString(),label:t.label,is_default:t.isDefault,form_id:this.selectedFormId,status:"OK"},this.updateDoctype(t)}getOutPut(t){this.selectedDocType=t;const i=this.selectedDocType.code.split(".");i.pop(),this.form.controls.folder.setValue(i.join(".")),this.form.controls.key.setValue(this.selectedDocType.key),this.form.controls.label.setValue(this.selectedDocType.label),this.form.controls.isDefault.setValue(this.selectedDocType.isDefault),"document"===this.selectedDocType.type?this.form.controls.isDefault.enable():this.form.controls.isDefault.disable()}deleteDoctype(){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("DOCTYPE.confirm_delete",{doctypeLabel:this.selectedDocType.label}),confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(i=>{i&&(this.updateDoctype({key:this.form.controls.key.value,code:this.form.controls.folder.value,label:this.form.controls.label.value,is_default:this.form.controls.isDefault.value,form_id:this.selectedFormId,status:"DEL"}),this.form.reset(),Object.keys(this.form.controls).forEach(l=>{this.form.controls[l].setErrors(null)}))})}getSelectedForm(t){this.selectedFormId=t.formId}getLastFolderIndex(t){let i=0;return this.documentTypeFactoryComponent.treeDataObj.doctypeData.forEach(t!==this.noMasterFolder?a=>{if(a.code.startsWith(t)&&a.code.split(".").length===t.split(".").length+1){const l=Number(a.code.split(".").pop());i=l>i?l:i}}:a=>{if(2===a.code.split(".").length){const l=Number(a.code.split(".").pop());i=l>i?l:i}}),i+1}updateDoctype(t){this.http.post(m.N.url+"/ws/doctypes/update",t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("DOCTYPE.doctype_edited")),this.selectedFormId&&this.documentTypeFactoryComponent.treeDataObj.loadTree(this.selectedFormId),this.selectedDocType.code=t.code}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Ri.eN),e.Y36(Ui),e.Y36(Nt.F0),e.Y36(Nt.gz),e.Y36(A.qu),e.Y36(pi.e),e.Y36(zi.K),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-list-doc-type"]],viewQuery:function(t,i){if(1&t&&e.Gf(Ei,7),2&t){let a;e.iGM(a=e.CRH())&&(i.documentTypeFactoryComponent=a.first)}},decls:44,vars:37,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[1,"settings_header","z-50"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],["mat-icon-button","",1,"absolute","right-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-xl","text-gray-900"],[3,"data","selectedFormOutput","selectedDoctypeOutput"],["mode","side","opened","","position","end",1,"available-fields","w-1/4","flex","flex-col","h-full","border-r","border-green-400"],["sidenav2",""],[3,"formGroup","ngSubmit"],[1,"grid","grid-cols-1","gap-x-2","gap-y-2","m-4"],["id","folder",3,"formControlName"],[3,"value"],[4,"ngFor","ngForOf"],["type","submit","mat-button","",1,"m-auto","w-7/12","border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300",3,"disabled"],["type","button","mat-button","",1,"m-auto","w-7/12","border-solid","border-red-400","border","bg-red-400","text-white",3,"disabled","click"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-8","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],[3,"disabled","value",4,"ngIf"],[3,"disabled","value"],[4,"ngIf"],["class","text-center p-4",4,"ngIf"],["matInput","",3,"formControlName","type","readonly","placeholder","required"],[1,"text-center","p-4"],[3,"formControlName"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,gA,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7)(10,"div",8)(11,"button",9),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(12,"em",10),e.qZA(),e.TgZ(13,"div",11)(14,"h3"),e._uU(15),e.qZA(),e._UZ(16,"hr",4),e.qZA()(),e.TgZ(17,"button",12),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(21);return e.KtG(h.toggle())}),e._UZ(18,"em",13),e.qZA(),e.TgZ(19,"app-document-type-factory",14),e.NdJ("selectedFormOutput",function(h){return i.getSelectedForm(h)})("selectedDoctypeOutput",function(h){return i.getOutPut(h)}),e.qZA()(),e.TgZ(20,"mat-sidenav",15,16)(22,"h3",3),e._uU(23),e.ALo(24,"translate"),e.qZA(),e._UZ(25,"mat-divider",4),e.TgZ(26,"form",17),e.NdJ("ngSubmit",function(){return i.update()}),e.TgZ(27,"div",18)(28,"mat-form-field")(29,"mat-label"),e._uU(30),e.ALo(31,"translate"),e.qZA(),e.TgZ(32,"mat-select",19)(33,"mat-option",20),e._uU(34),e.ALo(35,"translate"),e.qZA(),e.YNc(36,CA,2,1,"div",21),e.qZA()(),e.YNc(37,bA,3,2,"ng-container",21),e.TgZ(38,"button",22),e._uU(39),e.ALo(40,"translate"),e.qZA(),e.TgZ(41,"button",23),e.NdJ("click",function(){return i.deleteDoctype()}),e._uU(42),e.ALo(43,"translate"),e.qZA()()()()()}if(2&t){const a=e.MAs(2),l=e.MAs(21);e.xp6(4),e.Oqu(e.lcZ(5,24,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(4),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(3),e.ekj("transform",l.opened)("rotate-180",l.opened),e.xp6(1),e.Q6J("data",e.DdM(36,yA)),e.xp6(4),e.Oqu(e.lcZ(24,26,"DOCTYPE.edit_doctype")),e.xp6(3),e.Q6J("formGroup",i.form),e.xp6(4),e.Oqu(e.lcZ(31,28,"DOCTYPE.folder")),e.xp6(2),e.Q6J("formControlName","folder"),e.xp6(1),e.Q6J("value",i.noMasterFolder),e.xp6(1),e.hij(" ",e.lcZ(35,30,"DOCTYPE.no_master")," "),e.xp6(2),e.Q6J("ngForOf",i.documentTypeFactoryComponent.treeDataObj.doctypeData),e.xp6(1),e.Q6J("ngForOf",i.fields),e.xp6(1),e.Q6J("disabled",!i.selectedDocType.key),e.xp6(1),e.hij(" ",e.lcZ(40,32,"GLOBAL.edit")," "),e.xp6(2),e.Q6J("disabled",!i.selectedDocType.key),e.xp6(1),e.hij(" ",e.lcZ(43,34,"GLOBAL.delete")," ")}},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.KE,Rt.hX,Be.gD,b.ey,Va.Rr,an.Nt,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.ib,Zt.yz,Zt.yK,rn.Hk,Rn.d,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.sg,A.u,Ei,$t.X$],styles:[".document-type-card[_ngcontent-%COMP%]{height:800px}.mat-tree-node[_ngcontent-%COMP%]{min-height:unset}"]}),n})();function MA(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",37)(1,"button",38),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",39),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function DA(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,MA,6,11,"div",36),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function EA(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",13)(1,"mat-expansion-panel-header",31)(2,"mat-panel-title",32),e._UZ(3,"i"),e.TgZ(4,"button",33),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",34),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,DA,2,7,"div",35),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function wA(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,EA,9,15,"mat-expansion-panel",30),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function SA(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",33),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",34),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function AA(n,o){if(1&n&&e.YNc(0,SA,5,11,"button",40),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function LA(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,wA,2,1,"div",28),e.YNc(2,AA,1,1,"ng-template",null,29,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function OA(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",24),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",25)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",26),e.YNc(6,LA,4,6,"div",27),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function kA(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function IA(n,o){if(1&n&&(e.TgZ(0,"mat-option",48),e._UZ(1,"span",49),e.TgZ(2,"span",50),e._uU(3),e.qZA()()),2&n){const t=o.$implicit;e.Q6J("value",t.key),e.xp6(1),e.Q6J("innerHTML",t.value,e.oJD),e.xp6(2),e.Oqu(t.key)}}function PA(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,IA,4,3,"mat-option",47),e.qZA()),2&n){const t=e.oxw(3).$implicit;e.xp6(1),e.Q6J("ngForOf",t.autoComplete)}}function RA(n,o){if(1&n&&(e.TgZ(0,"div"),e._UZ(1,"input",45),e.TgZ(2,"mat-autocomplete",null,46),e.YNc(4,PA,2,1,"div",8),e.qZA()()),2&n){const t=e.MAs(3),i=e.oxw(2).$implicit;e.xp6(1),e.Q6J("formControl",i.control)("id",i.field_id)("type",i.type)("matAutocomplete",t),e.xp6(3),e.Q6J("ngIf",null===i.control.value||""===i.control.value||void 0===i.control.value)}}function FA(n,o){if(1&n&&(e.TgZ(0,"mat-option",48),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.key),e.xp6(1),e.hij(" ",e.lcZ(2,2,t.value)," ")}}function NA(n,o){if(1&n&&(e.TgZ(0,"div")(1,"mat-select",51),e.YNc(2,FA,3,4,"mat-option",47),e.qZA()()),2&n){const t=e.oxw(2).$implicit;e.xp6(1),e.Q6J("id",t.field_id)("formControl",t.control),e.xp6(1),e.Q6J("ngForOf",t.options)}}function BA(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",42)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"div",43),e.YNc(5,RA,5,5,"div",44),e.YNc(6,NA,3,3,"div",44),e.qZA()()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.uIk("for",t.field_id),e.xp6(1),e.Oqu(e.lcZ(3,5,t.label)),e.xp6(2),e.Q6J("ngSwitch",t.controlType),e.xp6(1),e.Q6J("ngSwitchCase","text"),e.xp6(1),e.Q6J("ngSwitchCase","dropdown")}}function UA(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,BA,7,7,"mat-form-field",41),e.qZA()),2&n){const t=o.$implicit,i=e.oxw();e.xp6(1),e.Q6J("ngIf",!t.limit||t.limit&&i.displayInput(t))}}function ZA(n,o){1&n&&(e.TgZ(0,"div",60),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"CUSTOM-FIELDS.no_option_added")))}function YA(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",61)(1,"mat-form-field",62)(2,"mat-label"),e._uU(3),e.ALo(4,"translate"),e.qZA(),e._UZ(5,"input",63),e.qZA(),e.TgZ(6,"mat-form-field",64)(7,"mat-label"),e._uU(8),e.ALo(9,"translate"),e.qZA(),e._UZ(10,"input",63),e.qZA(),e.TgZ(11,"div",65),e.NdJ("click",function(){const l=e.CHM(t).index,h=e.oxw(2);return e.KtG(h.deleteSelectOption(l))}),e.ALo(12,"translate"),e._UZ(13,"i",66),e.qZA()()}if(2&n){const t=o.$implicit;e.xp6(3),e.Oqu(e.lcZ(4,5,"HEADER.id")),e.xp6(2),e.Q6J("formControl",t.idControl),e.xp6(3),e.Oqu(e.lcZ(9,7,"HEADER.label")),e.xp6(2),e.Q6J("formControl",t.labelControl),e.xp6(1),e.s9C("matTooltip",e.lcZ(12,9,"CUSTOM-FIELDS.delete_choice"))}}function HA(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",52)(1,"div")(2,"span",53),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"div",54)(6,"div",55),e.NdJ("cdkDropListDropped",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.dropSelectOption(a))}),e.YNc(7,ZA,3,3,"div",56),e.YNc(8,YA,14,11,"div",57),e.qZA(),e.TgZ(9,"div",58),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.addSelectOption())}),e.ALo(10,"translate"),e._UZ(11,"i",59),e.qZA()()()()}if(2&n){const t=e.oxw();e.xp6(3),e.Oqu(e.lcZ(4,4,"CUSTOM-FIELDS.select_options")),e.xp6(4),e.Q6J("ngIf",0===t.selectOptions.length),e.xp6(1),e.Q6J("ngForOf",t.selectOptions),e.xp6(1),e.s9C("matTooltip",e.lcZ(10,6,"CUSTOM-FIELDS.add_choice"))}}function VA(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",67),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.addCustomField())}),e._uU(1),e.ALo(2,"translate"),e.qZA()}2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"CUSTOM-FIELDS.add")," "))}function GA(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",67),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw();return a.stopPropagation(),e.KtG(l.updateCustomOnSubmit())}),e._uU(1),e.ALo(2,"translate"),e.qZA()}2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"CUSTOM-FIELDS.update")," "))}function KA(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",73)(1,"div",74)(2,"div"),e._uU(3),e.qZA(),e.TgZ(4,"div",75),e._uU(5),e.ALo(6,"translate"),e.qZA()(),e.TgZ(7,"div",76)(8,"button",77),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().index,l=e.oxw(2);return e.KtG(l.moveToActive(a))}),e.ALo(9,"translate"),e._UZ(10,"i",78),e.qZA(),e.TgZ(11,"button",77),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().$implicit,l=e.oxw(2);return e.KtG(l.updateCustomField(a,"inactive"))}),e.ALo(12,"translate"),e._UZ(13,"i",79),e.qZA(),e.TgZ(14,"button",77),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().$implicit,l=e.oxw(2);return e.KtG(l.deleteCustomField(a.id,"inactive"))}),e.ALo(15,"translate"),e._UZ(16,"i",80),e.qZA()()()}if(2&n){const t=e.oxw().$implicit;e.xp6(3),e.Oqu(t.label),e.xp6(2),e.hij(" (",e.lcZ(6,5,"TYPES."+t.type),") "),e.xp6(3),e.s9C("matTooltip",e.lcZ(9,7,"GLOBAL.move_to_active")),e.xp6(3),e.s9C("matTooltip",e.lcZ(12,9,"GLOBAL.edit")),e.xp6(3),e.s9C("matTooltip",e.lcZ(15,11,"GLOBAL.delete"))}}function jA(n,o){if(1&n&&(e.TgZ(0,"span"),e.YNc(1,KA,17,13,"div",72),e.qZA()),2&n){const t=o.$implicit,i=e.oxw().$implicit;e.xp6(1),e.Q6J("ngIf",t.module===i.id)}}function WA(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",73)(1,"div",74)(2,"div"),e._uU(3),e.qZA(),e.TgZ(4,"div",75),e._uU(5),e.ALo(6,"translate"),e.qZA()(),e.TgZ(7,"div",76)(8,"button",77),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().index,l=e.oxw(2);return e.KtG(l.moveToInactive(a))}),e.ALo(9,"translate"),e._UZ(10,"i",81),e.qZA(),e.TgZ(11,"button",77),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().$implicit,l=e.oxw(2);return e.KtG(l.updateCustomField(a,"active"))}),e.ALo(12,"translate"),e._UZ(13,"i",79),e.qZA(),e.TgZ(14,"button",77),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().$implicit,l=e.oxw(2);return e.KtG(l.deleteCustomField(a.id,"active"))}),e.ALo(15,"translate"),e._UZ(16,"i",80),e.qZA()()()}if(2&n){const t=e.oxw().$implicit;e.xp6(3),e.Oqu(t.label),e.xp6(2),e.hij(" (",e.lcZ(6,5,"TYPES."+t.type),") "),e.xp6(3),e.s9C("matTooltip",e.lcZ(9,7,"GLOBAL.move_to_inactive")),e.xp6(3),e.s9C("matTooltip",e.lcZ(12,9,"GLOBAL.edit")),e.xp6(3),e.s9C("matTooltip",e.lcZ(15,11,"GLOBAL.delete"))}}function qA(n,o){if(1&n&&(e.TgZ(0,"span"),e.YNc(1,WA,17,13,"div",72),e.qZA()),2&n){const t=o.$implicit,i=e.oxw().$implicit;e.xp6(1),e.Q6J("ngIf",t.module===i.id)}}function JA(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-tab",68)(1,"div",69)(2,"div",70)(3,"h2"),e._uU(4),e.ALo(5,"translate"),e.qZA(),e.TgZ(6,"div",71),e.NdJ("cdkDropListDropped",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.dropCustomField(a))}),e.YNc(7,jA,2,1,"span",18),e.qZA()(),e.TgZ(8,"div",70)(9,"h2"),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.TgZ(12,"div",71),e.NdJ("cdkDropListDropped",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.dropCustomField(a))}),e.YNc(13,qA,2,1,"span",18),e.qZA()()()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("label",i.translate.instant(t.label)),e.xp6(4),e.Oqu(e.lcZ(5,7,"HEADER.inactive")),e.xp6(2),e.Q6J("cdkDropListData",i.inactiveFields),e.xp6(1),e.Q6J("ngForOf",i.inactiveFields),e.xp6(3),e.Oqu(e.lcZ(11,9,"HEADER.active")),e.xp6(2),e.Q6J("cdkDropListData",i.activeFields),e.xp6(1),e.Q6J("ngForOf",i.activeFields)}}let $A=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt){this.router=t,this.http=i,this.dialog=a,this.route=l,this.userService=h,this.formBuilder=E,this.authService=N,this.translate=oe,this.notify=xe,this.serviceSettings=Ve,this.privilegesService=lt,this.update=!1,this.loading=!0,this.inactiveFields=[],this.activeFields=[],this.selectOptions=[],this.inactiveOrActive="",this.parent=[{id:"verifier",label:this.translate.instant("HOME.verifier")},{id:"splitter",label:this.translate.instant("HOME.splitter")}],this.addFieldInputs=[{field_id:"label_short",controlType:"text",control:new A.NI,label:this.translate.instant("HEADER.label_short"),autoComplete:[],required:!0},{field_id:"label",controlType:"text",control:new A.NI,label:this.translate.instant("HEADER.label"),autoComplete:[],required:!0},{field_id:"module",controlType:"dropdown",control:new A.NI,label:this.translate.instant("CUSTOM-FIELDS.module"),options:[{key:"verifier",value:this.translate.instant("HOME.verifier")},{key:"splitter",value:this.translate.instant("HOME.splitter")}],required:!0,autoComplete:[]},{field_id:"type",controlType:"dropdown",control:new A.NI,label:this.translate.instant("CUSTOM-FIELDS.type"),options:[{key:"text",value:this.translate.instant("FORMATS.text")},{key:"date",value:this.translate.instant("FORMATS.date")},{key:"textarea",value:this.translate.instant("FORMATS.textarea")},{key:"select",value:this.translate.instant("FORMATS.select")},{key:"checkbox",value:this.translate.instant("CUSTOM-FIELDS.checkbox")}],autoComplete:[],required:!0},{field_id:"metadata_key",controlType:"text",control:new A.NI,label:this.translate.instant("SETTINGS.autocomplete"),limit:"splitter",autoComplete:[{key:"",value:this.translate.instant("SPLITTER.Other")},{key:"SEPARATOR_MAARCH",value:this.translate.instant("SPLITTER.separator_maarch")},{key:"SEPARATOR_META1",value:this.translate.instant("SPLITTER.separator_meta1")},{key:"SEPARATOR_META2",value:this.translate.instant("SPLITTER.separator_meta2")},{key:"SEPARATOR_META3",value:this.translate.instant("SPLITTER.separator_meta3")}],required:!1,class:""}]}ngOnInit(){this.serviceSettings.init(),this.retrieveCustomFields(),this.form=this.toFormGroup(),this.addFieldInputs.forEach(t=>{"label_short"===t.field_id&&t.control.valueChanges.subscribe(i=>{null!==i.match(/[\u00C0-\u017F]/g)&&t.control.setValue((0,wa.remove)(i)),null!==i.match(/[^\u00C0-\u017Fa-zA-Z]/g)&&t.control.setValue(i.replace(/[^\u00C0-\u017Fa-zA-Z]/g,""))})})}dropCustomField(t){t.previousContainer===t.container?Hs(t.container.data,t.previousIndex,t.currentIndex):this.enableCustomField(t.previousContainer.data,t.container.data,t.previousIndex,t.currentIndex)}toFormGroup(){const t={};return this.addFieldInputs.forEach(i=>{t[i.field_id]=i.required?new A.NI(i.value||"",A.kI.required):new A.NI(i.value||"")}),new A.cw(t)}moveToActive(t){this.enableCustomField(this.inactiveFields,this.activeFields,t,this.activeFields.length)}moveToInactive(t){this.enableCustomField(this.activeFields,this.inactiveFields,t,this.inactiveFields.length)}displayInput(t){let i=!1;return t.limit&&this.addFieldInputs.forEach(a=>{"module"===a.field_id&&a.control.value===t.limit&&(i=!0)}),i}retrieveCustomFields(){let t;this.loading=!0,this.activeFields=[],this.inactiveFields=[],this.http.get(m.N.url+"/ws/customFields/list",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{i.customFields.forEach(a=>{t={id:a.id,label_short:a.label_short,module:a.module,label:a.label,type:a.type,enabled:a.enabled,settings:a.settings,metadata_key:a.metadata_key},a.enabled?this.activeFields.push(t):this.inactiveFields.push(t)})}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}addSelectOption(){this.selectOptions.push({idControl:new A.NI,labelControl:new A.NI})}displayChoicesList(){let t=!1;return this.addFieldInputs.forEach(i=>{"type"===i.field_id&&i.control.value&&("checkbox"===i.control.value||"select"===i.control.value)&&(t=!0)}),t}dropSelectOption(t){Hs(this.selectOptions,t.previousIndex,t.currentIndex)}deleteSelectOption(t){this.selectOptions.splice(t,1)}addSelectOptionsToArgs(t){t.options=[];for(const i of this.selectOptions)t.options.push({id:i.idControl.value,label:i.labelControl.value});return t}addCustomField(){this.loading=!0;let t={};t=this.addSelectOptionsToArgs(t),this.addFieldInputs.forEach(i=>{t[i.field_id]=i.control.value}),this.http.post(m.N.url+"/ws/customFields/add",t,{headers:this.authService.headers}).pipe((0,$e.b)(i=>{t.id=i.id,this.retrieveCustomFields(),this.notify.success(this.translate.instant("CUSTOM-FIELDS.field_added")),this.resetForm()}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}deleteCustom(t,i){this.http.delete(m.N.url+"/ws/customFields/delete/"+t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("CUSTOM-FIELDS.deleted")),"active"===i?this.activeFields.forEach((a,l,h)=>{a.id===t&&h.splice(l,1)}):this.inactiveFields.forEach((a,l,h)=>{a.id===t&&h.splice(l,1)})}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe()}deleteCustomField(t,i){t&&this.http.get(m.N.url+"/ws/customFields/customPresentsInForm/"+t,{headers:this.authService.headers}).pipe((0,$e.b)(a=>{a?this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("CUSTOM-FIELDS.custom_exists"),confirmText:this.translate.instant("CUSTOM-FIELDS.confirm_delete"),confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(h=>{h&&this.deleteCustom(t,i)}):this.deleteCustom(t,i)}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe()}enableCustomField(t,i,a,l){let h=t[a];h={id:h.id,label_short:h.label_short,module:h.module,label:h.label,type:h.type,enabled:!h.enabled,metadata_key:h.metadata_key},this.http.put(m.N.url+"/ws/customFields/update",h,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{vr(t,i,a,l),this.notify.success(this.translate.instant("CUSTOM-FIELDS.field_updated"))}),(0,Ke.K)(E=>(console.debug(E),this.notify.handleErrors(E),(0,ie.of)(!1)))).subscribe()}updateCustomOnSubmit(){let t={};t=this.addSelectOptionsToArgs(t),t.id=this.updateCustomId,"active"===this.inactiveOrActive?(this.addFieldInputs.forEach(i=>{this.activeFields.forEach(a=>{this.updateCustomId===a.id&&(a[i.field_id]=t[i.field_id]=i.control.value)})}),t.enabled=!0):(this.addFieldInputs.forEach(i=>{this.inactiveFields.forEach(a=>{this.updateCustomId===a.id&&(a[i.field_id]=t[i.field_id]=i.control.value)})}),t.enabled=!1),this.http.put(m.N.url+"/ws/customFields/update",t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("CUSTOM-FIELDS.field_updated")),this.resetForm(),this.retrieveCustomFields()}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}updateCustomField(t,i){if(this.update=!0,this.selectOptions=[],t&&(this.updateCustomId=t.id,this.inactiveOrActive=i,this.addFieldInputs.forEach(a=>{a.control.setValue(t[a.field_id])}),t.settings.hasOwnProperty("options")))for(const a of t.settings.options)this.selectOptions.push({idControl:new A.NI(a.id),labelControl:new A.NI(a.label)})}resetForm(){this.addFieldInputs.forEach(t=>{t.control.setValue("")}),this.selectOptions=[],this.inactiveOrActive="",this.updateCustomId="",this.update=!1}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Ui),e.Y36(Nt.gz),e.Y36(zi.K),e.Y36(A.qu),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-custom-fields"]],decls:37,vars:23,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],[3,"expanded"],[3,"formGroup"],[1,"cursor-pointer","relative","top-9","ml-4","w-1/12",3,"matTooltip","click"],[1,"self-center","fa-solid","fa-sync","fa-lg","hover:text-green-400"],[1,"mx-12","grid","grid-cols-6","gap-4"],[4,"ngFor","ngForOf"],["class","flex justify-center",4,"ngIf"],[1,"flex","justify-center","m-5"],["class","border-solid border-green-400 border hover:bg-green-400 hover:text-white transition duration-300","mat-button","",3,"click",4,"ngIf"],[1,"custom-fields-control","w-full"],[3,"label",4,"ngFor","ngForOf"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],["class","w-full",4,"ngIf"],[1,"w-full"],[3,"ngSwitch"],[4,"ngSwitchCase"],["matInput","",3,"formControl","id","type","matAutocomplete"],["autocomplete","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[2,"font-size","12px",3,"innerHTML"],[1,"text-green-400","ml-3",2,"font-size","10px"],[3,"id","formControl"],[1,"flex","justify-center"],[1,"text-center"],[1,"flex"],["cdkDropList","",1,"select-options-list","w-96",3,"cdkDropListDropped"],["class","my-14 text-center text-gray-400",4,"ngIf"],["class","drop-box-option p-4","cdkDrag","",4,"ngFor","ngForOf"],[1,"top-0","mx-2","h-8","inline-block",3,"matTooltip","click"],[1,"fa-solid","fa-plus","fa-lg","hover:text-green-400"],[1,"my-14","text-center","text-gray-400"],["cdkDrag","",1,"drop-box-option","p-4"],[1,"w-40","mr-2"],["matInput","","type","text",3,"formControl"],[1,"w-40"],[1,"top-0","mx-2","h-8","cursor-pointer",3,"matTooltip","click"],[1,"fa-solid","fa-trash","fa-lg","hover:text-green-400"],["mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300",3,"click"],[3,"label"],["cdkDropListGroup","",1,"w-max","mx-auto"],[1,"list-container"],["cdkDropList","",1,"custom-fields-list",2,"max-height","47vh","overflow","auto",3,"cdkDropListData","cdkDropListDropped"],["cdkDrag","","class","drop-box-custom-field",4,"ngIf"],["cdkDrag","",1,"drop-box-custom-field"],[1,"text-left"],[1,"text-gray-400"],[1,"actions"],["mat-icon-button","",1,"hover:text-green-400",3,"matTooltip","click"],[1,"fa","fa-plus"],[1,"fa-solid","fa-edit"],[1,"fa-solid","fa-trash"],[1,"fa","fa-minus"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,OA,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,kA,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16),e.qZA(),e._UZ(17,"hr",4),e.qZA()(),e.TgZ(18,"mat-accordion")(19,"mat-expansion-panel",13)(20,"mat-expansion-panel-header")(21,"mat-panel-title"),e._uU(22),e.ALo(23,"translate"),e.qZA()(),e.TgZ(24,"form",14)(25,"div",15),e.NdJ("click",function(){return i.resetForm()}),e.ALo(26,"translate"),e._UZ(27,"i",16),e.qZA(),e.TgZ(28,"div",17),e.YNc(29,UA,2,1,"div",18),e.qZA(),e.YNc(30,HA,12,8,"div",19),e.TgZ(31,"div",20),e.YNc(32,VA,3,3,"button",21),e.YNc(33,GA,3,3,"button",21),e.qZA()()()(),e.TgZ(34,"div",22)(35,"mat-tab-group"),e.YNc(36,JA,14,11,"mat-tab",23),e.qZA()()()()}if(2&t){const a=e.MAs(2);e.xp6(4),e.Oqu(e.lcZ(5,17,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(3),e.Q6J("expanded",!0),e.xp6(3),e.hij(" ",e.lcZ(23,19,"SETTINGS.add_custom_fields")," "),e.xp6(2),e.Q6J("formGroup",i.form),e.xp6(1),e.s9C("matTooltip",e.lcZ(26,21,"CUSTOM-FIELDS.reset")),e.xp6(4),e.Q6J("ngForOf",i.addFieldInputs),e.xp6(1),e.Q6J("ngIf",i.displayChoicesList()),e.xp6(2),e.Q6J("ngIf",!i.update),e.xp6(1),e.Q6J("ngIf",i.update),e.xp6(3),e.Q6J("ngForOf",i.parent)}},dependencies:[_e.sg,_e.O5,_e.RF,_e.n9,Nt.rH,Rt.KE,Rt.hX,Be.gD,b.ey,an.Nt,Xn,va.SP,va.uX,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.pp,Zt.ib,Zt.yz,Zt.yK,de.XC,de.ZL,rn.Hk,Rn.d,A._Y,A.Fj,A.JJ,A.JL,A.oH,A.sg,e_,Xu,ld,Cn.R,$t.X$],styles:[".list-container[_ngcontent-%COMP%]{width:400px;max-width:100%;margin:25px;display:inline-block;vertical-align:top}.list-container[_ngcontent-%COMP%] > h2[_ngcontent-%COMP%]{margin:0}.custom-fields-control[_ngcontent-%COMP%]{margin-top:25px;border:solid 1px #ccc;border-radius:4px}.custom-fields-list[_ngcontent-%COMP%]{border:solid 1px #ccc;min-height:200px;background:white;border-radius:4px;overflow:auto;display:block;max-height:47vh}.select-options-list[_ngcontent-%COMP%]{border:solid 1px #ccc;height:150px;width:300px;background:white;border-radius:4px;overflow:auto;display:block}.drop-box-option[_ngcontent-%COMP%]{border-bottom:solid 1px #ccc;color:#000000de;display:flex;flex-direction:row;align-items:center;box-sizing:border-box;cursor:move;background:white;font-size:10px}.drop-box-custom-field[_ngcontent-%COMP%]{padding:20px 10px;border-bottom:solid 1px #ccc;color:#000000de;display:flex;flex-direction:row;align-items:center;justify-content:space-between;box-sizing:border-box;cursor:move;background:white;font-size:14px}.cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1)}.custom-fields-list.cdk-drop-list-dragging[_ngcontent-%COMP%] .drop-box-custom-field[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}"]}),n})();function zA(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",38)(1,"button",39),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",40),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function QA(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,zA,6,11,"div",37),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function XA(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",31)(1,"mat-expansion-panel-header",32)(2,"mat-panel-title",33),e._UZ(3,"i"),e.TgZ(4,"button",34),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",35),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,QA,2,7,"div",36),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function e3(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,XA,9,15,"mat-expansion-panel",30),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function t3(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",34),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",35),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function n3(n,o){if(1&n&&e.YNc(0,t3,5,11,"button",41),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function a3(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,e3,2,1,"div",28),e.YNc(2,n3,1,1,"ng-template",null,29,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function o3(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",24),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",25)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",26),e.YNc(6,a3,4,6,"div",27),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function r3(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function s3(n,o){1&n&&(e.TgZ(0,"mat-header-cell",42),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.id")," "))}function l3(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.id," ")}}function c3(n,o){1&n&&(e.TgZ(0,"mat-header-cell",42),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.output_type")," "))}function d3(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.output_type_id," ")}}function u3(n,o){1&n&&(e.TgZ(0,"mat-header-cell",42),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.label")," "))}function _3(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.output_label," ")}}function p3(n,o){1&n&&e._UZ(0,"mat-header-cell")}function h3(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-cell")(1,"button",43),e.NdJ("click",function(a){const h=e.CHM(t).$implicit,E=e.oxw();return a.stopPropagation(),e.KtG(E.deleteConfirmDialog(h.id,h.output_label))}),e.ALo(2,"translate"),e._UZ(3,"i",44),e.qZA(),e.TgZ(4,"button",43),e.NdJ("click",function(a){const h=e.CHM(t).$implicit,E=e.oxw();return a.stopPropagation(),e.KtG(E.duplicateConfirmDialog(h.id,h.output_label))}),e.ALo(5,"translate"),e._UZ(6,"i",45),e.qZA()()}2&n&&(e.xp6(1),e.s9C("matTooltip",e.lcZ(2,2,"GLOBAL.delete")),e.xp6(3),e.s9C("matTooltip",e.lcZ(5,4,"OUTPUT.duplicate")))}function m3(n,o){1&n&&e._UZ(0,"mat-header-row")}function g3(n,o){1&n&&e._UZ(0,"mat-row",46),2&n&&e.MGl("routerLink","/settings/splitter/outputs/update/",o.$implicit.id,"")}const f3=function(){return[5,10,15,20,50]};let C3=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt,Ft){this.router=t,this.http=i,this.dialog=a,this.userService=l,this.authService=h,this.translate=E,this.notify=N,this.historyService=oe,this.serviceSettings=xe,this.routerExtService=Ve,this.privilegesService=lt,this.localStorageService=Ft,this.headers=this.authService.headers,this.columnsToDisplay=["id","output_label","output_type_id","actions"],this.loading=!0,this.outputs=[],this.pageSize=10,this.pageIndex=0,this.total=0,this.offset=0}ngOnInit(){this.serviceSettings.init();const t=this.routerExtService.getPreviousUrl();t.includes("outputs/")||"/"===t?(this.localStorageService.get("outputsPageIndex")&&(this.pageIndex=parseInt(this.localStorageService.get("outputsPageIndex"))),this.offset=this.pageSize*this.pageIndex):this.localStorageService.remove("outputsPageIndex"),this.loadOutputs()}loadOutputs(){this.http.get(m.N.url+"/ws/outputs/list?module=splitter&limit="+this.pageSize+"&offset="+this.offset,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.outputs[0]&&(this.total=t.outputs[0].total),this.outputs=t.outputs}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}onPageChange(t){this.pageSize=t.pageSize,this.offset=this.pageSize*t.pageIndex,this.localStorageService.save("outputsPageIndex",t.pageIndex),this.loadOutputs()}deleteConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("OUTPUT.confirm_delete",{output:i}),confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.deleteOutput(t),this.historyService.addHistory("splitter","delete_output",this.translate.instant("HISTORY-DESC.delete-output",{output:i})))})}deleteOutput(t){void 0!==t&&this.http.delete(m.N.url+"/ws/outputs/delete/"+t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadOutputs(),this.notify.success(this.translate.instant("OUTPUT.output_deleted"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}duplicateConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("OUTPUT.confirm_duplicate",{output:i}),confirmButton:this.translate.instant("GLOBAL.duplicate"),confirmButtonColor:"green",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.duplicateOutput(t),this.historyService.addHistory("splitter","duplicate_output",this.translate.instant("HISTORY-DESC.duplicate-output",{output:i})))})}duplicateOutput(t){void 0!==t&&this.http.post(m.N.url+"/ws/outputs/duplicate/"+t,{},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadOutputs(),this.notify.success(this.translate.instant("OUTPUT.output_duplicated"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}sortData(t){const i=this.outputs.slice();this.outputs=t.active&&""!==t.direction?i.sort((a,l)=>{const h="asc"===t.direction;switch(t.active){case"id":return this.compare(a.id,l.id,h);case"label_short":return this.compare(a.label_short,l.label_short,h);case"label":return this.compare(a.label,l.label,h);default:return 0}}):i}compare(t,i,a){return(t0)}}let eL=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt,Ft){this.router=t,this.http=i,this.route=a,this.sanitizer=l,this.authService=h,this.translate=E,this.notify=N,this.historyService=oe,this.serviceSettings=xe,this.routerExtService=Ve,this.privilegesService=lt,this.localStorageService=Ft,this.columnsToDisplay=["id","label","description","type","value","actions"],this.headers=this.authService.headers,this.loading=!0,this.updateLoading=!1,this.configurations=[],this.allConfigurations=[],this.pageSize=10,this.pageIndex=0,this.total=0,this.offset=0,this.search="",this.loginImage=""}ngOnInit(){this.serviceSettings.init();const t=this.routerExtService.getPreviousUrl();t.includes("settings/general/configurations")||"/"===t?(this.localStorageService.get("configurationsPageIndex")&&(this.pageIndex=parseInt(this.localStorageService.get("configurationsPageIndex"))),this.offset=this.pageSize*this.pageIndex):this.localStorageService.remove("configurationsPageIndex"),this.http.get(m.N.url+"/ws/config/getConfigurations",{headers:this.authService.headers}).pipe((0,$e.b)(a=>{this.allConfigurations=a.configurations}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe();const i=this.localStorageService.get("login_image_b64");i?this.loginImage=this.sanitizer.bypassSecurityTrustUrl("data:image/png;base64, "+i):this.http.get(m.N.url+"/ws/config/getLoginImage").pipe((0,$e.b)(a=>{this.loginImage=this.sanitizer.bypassSecurityTrustUrl("data:image/png;base64, "+a)}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe(),this.loadConfigurations()}onClick(t){t.click()}upload(t){if(t.target.files&&t.target.files[0]){this.loading=!0;const i=new FileReader;i.readAsDataURL(t.target.files[0]),i.onload=a=>{const l={image_content:a.target.result};this.http.put(m.N.url+"/ws/config/updateLoginImage",{args:l},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loginImage=this.sanitizer.bypassSecurityTrustUrl(l.image_content),this.localStorageService.save("login_image_b64",l.image_content.replace("data:image/png;base64,",""));const h=this.router.url;this.router.navigateByUrl("/",{skipLocationChange:!0}).then(()=>{this.router.navigate([h]).then()}),this.historyService.addHistory("general","update_login_image",this.translate.instant("HISTORY-DESC.update_login_image")),this.notify.success(this.translate.instant("CONFIGURATIONS.login_image_changed"))}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(h=>(console.debug(h),this.notify.handleErrors(h),(0,ie.of)(!1)))).subscribe()}}}loadConfigurations(){this.http.get(m.N.url+"/ws/config/getConfigurations?limit="+this.pageSize+"&offset="+this.offset+"&search="+this.search,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.configurations[0]?this.total=t.configurations[0].total:0!==this.pageIndex&&(this.pageIndex=this.pageIndex-1,this.offset=this.pageSize*this.pageIndex,this.loadConfigurations()),this.configurations=t.configurations,this.configurations.forEach(i=>{switch(i.data.type){case"int":i.data.label_type=(0,He.J)("CONFIGURATIONS.int");break;case"float":i.data.label_type=(0,He.J)("CONFIGURATIONS.float");break;case"string":i.data.label_type=(0,He.J)("CONFIGURATIONS.string");break;case"bool":i.data.label_type=(0,He.J)("CONFIGURATIONS.bool")}})}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}updateValue(t,i,a){this.updateLoading=!0;const l=t.target?t.target.value:t.value;this.configurations.forEach(h=>{h.id===i&&(h.data.value=l,this.http.put(m.N.url+"/ws/config/updateConfiguration/"+h.id,h,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{h.updateMode=!1,this.updateLoading=!1,this.notify.success(this.translate.instant("CONFIGURATIONS.configuration_updated")),this.historyService.addHistory("general","update_configuration",this.translate.instant("HISTORY-DESC.update_configuration",{configuration:a}))}),(0,Ke.K)(E=>(console.debug(E),this.notify.handleErrors(E),(0,ie.of)(!1)))).subscribe())})}searchConfiguration(t){this.search=t.target.value,this.loadConfigurations()}onPageChange(t){this.pageSize=t.pageSize,this.offset=this.pageSize*t.pageIndex,this.pageIndex=t.pageIndex,this.localStorageService.save("configurationsPageIndex",t.pageIndex),this.loadConfigurations()}sortData(t){const i=this.allConfigurations.slice();t.active&&""!==t.direction?(this.configurations=i.sort((a,l)=>{const h="asc"===t.direction;switch(t.active){case"id":return this.compare(a.id,l.id,h);case"label":return this.compare(a.label,l.label,h);case"description":return this.compare(a.data.description,l.data.description,h);default:return 0}}),this.configurations=this.configurations.splice(0,this.pageSize)):this.configurations=i.splice(0,this.pageSize)}compare(t,i,a){return(t0)}}let OL=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt){this.router=t,this.http=i,this.route=a,this.authService=l,this.translate=h,this.notify=E,this.historyService=N,this.serviceSettings=oe,this.routerExtService=xe,this.privilegesService=Ve,this.localStorageService=lt,this.columnsToDisplay=["id","docserver_id","description","path","actions"],this.headers=this.authService.headers,this.loading=!0,this.updateLoading=!1,this.docservers=[],this.allDocservers=[],this.pageSize=10,this.pageIndex=0,this.total=0,this.offset=0,this.search=""}ngOnInit(){this.serviceSettings.init();const t=this.routerExtService.getPreviousUrl();t.includes("settings/general/docservers")||"/"===t?(this.localStorageService.get("docserversPageIndex")&&(this.pageIndex=parseInt(this.localStorageService.get("docserversPageIndex"))),this.offset=this.pageSize*this.pageIndex):this.localStorageService.remove("docserversPageIndex"),this.http.get(m.N.url+"/ws/config/getDocservers",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.allDocservers=i.docservers}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe(),this.loadDocservers()}loadDocservers(){this.http.get(m.N.url+"/ws/config/getDocservers?limit="+this.pageSize+"&offset="+this.offset+"&search="+this.search,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.docservers[0]?this.total=t.docservers[0].total:0!==this.pageIndex&&(this.pageIndex=this.pageIndex-1,this.offset=this.pageSize*this.pageIndex,this.loadDocservers()),this.docservers=t.docservers}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}updateValue(t,i,a){this.updateLoading=!0;const l=t.target.value;this.docservers.forEach(h=>{h.id===i&&(h.path=l,this.http.put(m.N.url+"/ws/config/updateDocserver/"+h.id,{data:h},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{h.updateMode=!1,this.updateLoading=!1,this.notify.success(this.translate.instant("DOCSERVERS.docserver_updated")),this.historyService.addHistory("general","update_docserver",this.translate.instant("HISTORY-DESC.update_docserver",{docserver:a}))}),(0,Ke.K)(E=>(console.debug(E),this.notify.handleErrors(E),(0,ie.of)(!1)))).subscribe())})}searchDocservers(t){this.search=t.target.value,this.loadDocservers()}onPageChange(t){this.pageSize=t.pageSize,this.offset=this.pageSize*t.pageIndex,this.pageIndex=t.pageIndex,this.localStorageService.save("docserversPageIndex",t.pageIndex),this.loadDocservers()}sortData(t){const i=this.allDocservers.slice();t.active&&""!==t.direction?(this.docservers=i.sort((a,l)=>{const h="asc"===t.direction;switch(t.active){case"id":return this.compare(a.id,l.id,h);case"docserver_id":return this.compare(a.docserver_id,l.docserver_id,h);case"description":return this.compare(a.description,l.description,h);default:return 0}}),this.docservers=this.docservers.splice(0,this.pageSize)):this.docservers=i.splice(0,this.pageSize)}compare(t,i,a){return(t0)}}let rO=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt){this.router=t,this.http=i,this.route=a,this.authService=l,this.translate=h,this.notify=E,this.historyService=N,this.serviceSettings=oe,this.routerExtService=xe,this.privilegesService=Ve,this.localStorageService=lt,this.columnsToDisplay=["regex_id","label","content","actions"],this.headers=this.authService.headers,this.loading=!0,this.updateLoading=!1,this.regex=[],this.allRegex=[],this.pageSize=10,this.pageIndex=0,this.total=0,this.offset=0,this.search=""}ngOnInit(){this.serviceSettings.init();const t=this.routerExtService.getPreviousUrl();t.includes("settings/general/regex")||"/"===t?(this.localStorageService.get("regexPageIndex")&&(this.pageIndex=parseInt(this.localStorageService.get("regexPageIndex"))),this.offset=this.pageSize*this.pageIndex):this.localStorageService.remove("regexPageIndex"),this.http.get(m.N.url+"/ws/config/getRegex",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.allRegex=i.regex}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe(),this.loadRegex()}loadRegex(){this.http.get(m.N.url+"/ws/config/getRegex?limit="+this.pageSize+"&offset="+this.offset+"&search="+this.search,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.regex[0]?this.total=t.regex[0].total:0!==this.pageIndex&&(this.pageIndex=this.pageIndex-1,this.offset=this.pageSize*this.pageIndex,this.loadRegex()),this.regex=t.regex}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}updateValue(t,i,a){this.updateLoading=!0;const l=t.target.value;this.regex.forEach(h=>{h.id===i&&(h.content=l,this.http.put(m.N.url+"/ws/config/updateRegex/"+h.id,{data:h},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{h.updateMode=!1,this.updateLoading=!1,this.notify.success(this.translate.instant("REGEX.regex_updated")),this.historyService.addHistory("general","update_regex",this.translate.instant("HISTORY-DESC.update_regex",{regex:a}))}),(0,Ke.K)(E=>(console.debug(E),this.notify.handleErrors(E),(0,ie.of)(!1)))).subscribe())})}searchRegex(t){this.search=t.target.value,this.loadRegex()}onPageChange(t){this.pageSize=t.pageSize,this.offset=this.pageSize*t.pageIndex,this.pageIndex=t.pageIndex,this.localStorageService.save("regexPageIndex",t.pageIndex),this.loadRegex()}sortData(t){const i=this.allRegex.slice();t.active&&""!==t.direction?(this.regex=i.sort((a,l)=>{const h="asc"===t.direction;switch(t.active){case"regex_id":return this.compare(a.regex_id,l.regex_id,h);case"label":return this.compare(a.label,l.label,h);default:return 0}}),this.regex=this.regex.splice(0,this.pageSize)):this.regex=i.splice(0,this.pageSize)}compare(t,i,a){return(t{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve){this.router=t,this.http=i,this.dialog=a,this.route=l,this.authService=h,this.translate=E,this.notify=N,this.historyService=oe,this.serviceSettings=xe,this.privilegesService=Ve,this.headers=this.authService.headers,this.loading=!0,this.folderLoading=!1,this.processLoading=!1,this.loadingProcessName=!1,this.allCustomers=[],this.allForms=[],this.allSplitterInputs=[],this.processesMail=[],this.allprocessesMail=[],this.pageSize=10,this.pageIndex=0,this.total=0,this.offset=0,this.selectedIndex=0,this.mailCollectConfigId=0,this.search="",this.globalForm=[{id:"batchPath",control:new A.NI,label:(0,He.J)("MAILCOLLECT.batch_path"),type:"text",required:!0},{id:"smtpDelay",control:new A.NI,label:(0,He.J)("MAILCOLLECT.smtp_delay"),type:"number",required:!1},{id:"smtpNotifOnError",control:new A.NI,label:(0,He.J)("MAILCOLLECT.smtp_notif_on_error"),type:"boolean",required:!1},{id:"smtpSSL",control:new A.NI,label:(0,He.J)("MAILCOLLECT.smtp_ssl"),type:"boolean",required:!1},{id:"smtpStartTLS",control:new A.NI,label:(0,He.J)("MAILCOLLECT.smtp_starttls"),type:"boolean",required:!1},{id:"smtpAuth",control:new A.NI,label:(0,He.J)("MAILCOLLECT.smtp_auth"),type:"boolean",required:!1},{id:"smtpHost",control:new A.NI,label:(0,He.J)("MAILCOLLECT.smtp_host"),type:"text",required:!1},{id:"smtpPort",control:new A.NI,label:(0,He.J)("MAILCOLLECT.smtp_port"),type:"text",required:!1},{id:"smtpLogin",control:new A.NI,label:(0,He.J)("MAILCOLLECT.smtp_login"),type:"text",required:!1},{id:"smtpPwd",control:new A.NI,label:(0,He.J)("MAILCOLLECT.smtp_pwd"),type:"password",required:!1},{id:"smtpFromMail",control:new A.NI,label:(0,He.J)("MAILCOLLECT.smtp_from_mail"),type:"text",required:!1},{id:"smtpDestAdminMail",control:new A.NI,label:(0,He.J)("MAILCOLLECT.smtp_dest_admin_mail"),type:"text",required:!1}],this.processes=[],this.defaultProcessData=[{id:"name",control:new A.NI},{id:"hostname",class:"w-1/4",control:new A.NI,label:(0,He.J)("MAILCOLLECT.hostname"),type:"text",required:!0},{id:"enabled",class:"w-1/4",control:new A.NI,disabled:!0,type:"boolean",required:!1},{id:"port",class:"w-1/4",control:new A.NI,label:(0,He.J)("MAILCOLLECT.port"),type:"number",required:!0},{id:"login",class:"w-1/4",control:new A.NI,label:(0,He.J)("FORMATS.email"),type:"text",required:!0},{id:"password",class:"w-1/4",control:new A.NI,label:(0,He.J)("USER.password"),type:"password",required:!0},{id:"secured_connection",class:"w-1/5",control:new A.NI(!0),label:(0,He.J)("MAILCOLLECT.secured_connection"),type:"boolean",required:!0},{id:"is_splitter",class:"w-1/5",control:new A.NI(!1),label:(0,He.J)("MAILCOLLECT.is_splitter"),type:"boolean",required:!1},{id:"splitter_technical_input_id",class:"w-30",control:new A.NI(""),label:(0,He.J)("MAILCOLLECT.splitter_technical_input_id"),type:"autocomplete",required:!1},{id:"folder_to_crawl",class:"w-30",hint:(0,He.J)("MAILCOLLECT.load_folders_first"),control:new A.NI,label:(0,He.J)("MAILCOLLECT.folder_to_crawl"),type:"autocomplete",required:!0},{id:"folder_destination",class:"w-1/5",hint:(0,He.J)("MAILCOLLECT.load_folders_first"),control:new A.NI,label:(0,He.J)("MAILCOLLECT.folder_destination"),type:"autocomplete",required:!0},{id:"folder_trash",class:"w-1/5",hint:(0,He.J)("MAILCOLLECT.load_folders_first"),control:new A.NI,label:(0,He.J)("MAILCOLLECT.folder_trash"),type:"autocomplete",required:!1},{id:"action_after_process",class:"w-1/5",control:new A.NI(""),label:(0,He.J)("MAILCOLLECT.action_after_process"),type:"select",values:["move","delete","none"],required:!0},{id:"verifier_customer_id",class:"w-1/5",control:new A.NI,label:(0,He.J)("INPUT.associated_customer"),type:"autocomplete",required:!1},{id:"verifier_form_id",class:"w-1/5",control:new A.NI,label:(0,He.J)("POSITIONS-MASKS.form_associated"),type:"autocomplete",required:!1}],this.toHighlight="",this.folders=[]}ngOnInit(){this.serviceSettings.init(),this.http.get(m.N.url+"/ws/config/getConfiguration/mailCollectGeneral",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{1===t.configuration.length&&(this.mailCollectConfigId=t.configuration[0].id,Object.keys(t.configuration[0].data.value).forEach(i=>{this.globalForm.forEach(a=>{a.id===i&&t.configuration[0].data.value[i]&&a.control.setValue(t.configuration[0].data.value[i])})}))}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/accounts/customers/list",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.allCustomers=t.customers,this.defaultProcessData.forEach(i=>{"verifier_customer_id"===i.id&&(i.values=i.control.valueChanges.pipe((0,mt.O)(""),(0,Mn.U)(a=>a?this._filter(a,this.allCustomers):this.allCustomers)))})}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/forms/list?module=verifier",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.allForms=t.forms,this.defaultProcessData.forEach(i=>{"verifier_form_id"===i.id&&(i.values=i.control.valueChanges.pipe((0,mt.O)(""),(0,Mn.U)(a=>a?this._filter(a,this.allForms):this.allForms)))})}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/inputs/list?module=splitter",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.allSplitterInputs=t.inputs,this.defaultProcessData.forEach(i=>{"splitter_technical_input_id"===i.id&&(i.values=i.control.valueChanges.pipe((0,mt.O)(""),(0,Mn.U)(a=>a?this._filter(a,this.allSplitterInputs):this.allSplitterInputs)))})}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),setTimeout(()=>{this.loadProcess()})}processIsEnabled(t){let i=!1;return t.forEach(a=>{"enabled"===a.id&&(i=a.control.value)}),i}updateGlobal(){const t={value:{}};this.globalForm.forEach(i=>{t.value[i.id]=i.control.value}),this.http.put(m.N.url+"/ws/config/updateConfiguration/"+this.mailCollectConfigId,{data:t},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("MAILCOLLECT.general_settings_updated")),this.historyService.addHistory("general","mailcollect",this.translate.instant("HISTORY-DESC.mailcollect_general_settings_updated"))}),(0,Di.x)(()=>this.processLoading=!1),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}updateProcessName(t,i,a=!0){if(i){this.loadingProcessName=!0;let l="";t.forEach(h=>{"name"===h.id&&(l=h.control.value,h.control.setValue(i))}),a&&l&&this.http.post(m.N.url+"/ws/mailcollect/updateProcess/"+l,{name:i},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("MAILCOLLECT.process_name_updated")),this.historyService.addHistory("general","update_mailcollect_name",this.translate.instant("HISTORY-DESC.update_mailcollect_name",{process:l}))}),(0,Di.x)(()=>{this.loadingProcessName=!1,t.edit_name=!1}),(0,Ke.K)(h=>(console.debug(h),this.notify.handleErrors(h),(0,ie.of)(!1)))).subscribe()}}displayFn(t){return t?t.name?t.name:t.label?t.label:t.input_label:""}addProcess(){const t=[];this.defaultProcessData.forEach(i=>{t.push(i)}),this.processes.push(t)}loadProcess(){this.processes=[],this.http.get(m.N.url+"/ws/mailcollect/getProcesses",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.processes.forEach(i=>{const a=[];this.defaultProcessData.forEach(l=>{Object.keys(i).forEach(h=>{if(h===l.id){let E=i[h];if("verifier_customer_id"===h)for(let N=0;Nthis.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}resetDefaultData(){this.defaultProcessData=[{id:"name",control:new A.NI},{id:"enabled",class:"w-1/4",control:new A.NI,disabled:!0,type:"boolean",required:!1},{id:"hostname",class:"w-1/4",control:new A.NI,label:(0,He.J)("MAILCOLLECT.hostname"),type:"text",required:!0},{id:"port",class:"w-1/4",control:new A.NI,label:(0,He.J)("MAILCOLLECT.port"),type:"number",required:!0},{id:"login",class:"w-1/4",control:new A.NI,label:(0,He.J)("FORMATS.email"),type:"text",required:!0},{id:"password",class:"w-1/4",control:new A.NI,label:(0,He.J)("USER.password"),type:"password",required:!0},{id:"secured_connection",class:"w-1/5",control:new A.NI(!0),label:(0,He.J)("MAILCOLLECT.secured_connection"),type:"boolean",required:!0},{id:"is_splitter",class:"w-1/5",control:new A.NI(!1),label:(0,He.J)("MAILCOLLECT.is_splitter"),type:"boolean",required:!1},{id:"splitter_technical_input_id",class:"w-30",control:new A.NI(""),label:(0,He.J)("MAILCOLLECT.splitter_technical_input_id"),type:"autocomplete",required:!1},{id:"folder_to_crawl",class:"w-30",hint:(0,He.J)("MAILCOLLECT.load_folders_first"),control:new A.NI,label:(0,He.J)("MAILCOLLECT.folder_to_crawl"),type:"autocomplete",required:!0},{id:"folder_destination",class:"w-1/5",hint:(0,He.J)("MAILCOLLECT.load_folders_first"),control:new A.NI,label:(0,He.J)("MAILCOLLECT.folder_destination"),type:"autocomplete",required:!0},{id:"folder_trash",class:"w-1/5",hint:(0,He.J)("MAILCOLLECT.load_folders_first"),control:new A.NI,label:(0,He.J)("MAILCOLLECT.folder_trash"),type:"autocomplete",required:!1},{id:"action_after_process",class:"w-1/5",control:new A.NI(""),label:(0,He.J)("MAILCOLLECT.action_after_process"),type:"select",values:["move","delete","none"],required:!0},{id:"verifier_customer_id",class:"w-1/5",control:new A.NI,label:(0,He.J)("INPUT.associated_customer"),type:"autocomplete",required:!1},{id:"verifier_form_id",class:"w-1/5",control:new A.NI,label:(0,He.J)("POSITIONS-MASKS.form_associated"),type:"autocomplete",required:!1}],this.defaultProcessData.forEach(t=>{"splitter_technical_input_id"===t.id&&(t.values=t.control.valueChanges.pipe((0,mt.O)(""),(0,Mn.U)(i=>i?this._filter(i,this.allSplitterInputs):this.allSplitterInputs)))}),this.defaultProcessData.forEach(t=>{"verifier_customer_id"===t.id&&(t.values=t.control.valueChanges.pipe((0,mt.O)(""),(0,Mn.U)(i=>i?this._filter(i,this.allCustomers):this.allCustomers)))}),this.defaultProcessData.forEach(t=>{"verifier_form_id"===t.id&&(t.values=t.control.valueChanges.pipe((0,mt.O)(""),(0,Mn.U)(i=>i?this._filter(i,this.allForms):this.allForms)))})}getNameOfProcess(t){let i="";return t.forEach(a=>{"name"===a.id&&(i=a.control.value)}),i}createProcess(t){if(this.getNameOfProcess(t)){if(this.isValidForm(t)){const i={};t.forEach(a=>{i[a.id]="verifier_customer_id"!==a.id&&"verifier_form_id"!==a.id&&"splitter_technical_input_id"!==a.id?a.control.value:a.control.value?a.control.value.id:null}),this.http.post(m.N.url+"/ws/mailcollect/createProcess",i,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("MAILCOLLECT.process_created"))}),(0,Di.x)(()=>this.processLoading=!1),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe()}}else this.notify.error(this.translate.instant("MAILCOLLECT.process_name_mandatory"))}duplicateConfirmDialog(t){const i=this.getNameOfProcess(t);this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("MAILCOLLECT.confirm_duplicate_process",{process:i}),confirmButton:this.translate.instant("GLOBAL.disable"),confirmButtonColor:"green",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.duplicateProcess(t),this.historyService.addHistory("general","duplicate_mailcollect_process",this.translate.instant("HISTORY-DESC.duplicate-mailcollect-process",{process:i})))})}duplicateProcess(t){this.addProcess(),this.processes[this.processes.length-1].forEach(i=>{t.forEach(a=>{i.id===a.id&&"name"!==i.id&&i.control.setValue(a.control.value)})})}disableConfirmDialog(t){const i=this.getNameOfProcess(t);this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("MAILCOLLECT.confirm_disable_process",{process:i}),confirmButton:this.translate.instant("GLOBAL.disable"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.disableProcess(i),this.historyService.addHistory("general","disable_mailcollect_process",this.translate.instant("HISTORY-DESC.disable-mailcollect-process",{process:i})))})}disableProcess(t){this.http.delete(m.N.url+"/ws/mailcollect/disableProcess/"+t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.selectedIndex=1,this.loadProcess(),setTimeout(()=>{this.selectedIndex=0},200),this.notify.success(this.translate.instant("MAILCOLLECT.process_disabled"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}enableConfirmDialog(t){const i=this.getNameOfProcess(t);this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("MAILCOLLECT.confirm_enable_process",{process:i}),confirmButton:this.translate.instant("GLOBAL.enable"),confirmButtonColor:"green",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.enableProcess(i),this.historyService.addHistory("general","enable_mailcollect_process",this.translate.instant("HISTORY-DESC.enable-mailcollect-process",{process:i})))})}enableProcess(t){this.http.delete(m.N.url+"/ws/mailcollect/enableProcess/"+t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.selectedIndex=1,this.loadProcess(),setTimeout(()=>{this.selectedIndex=0},200),this.notify.success(this.translate.instant("MAILCOLLECT.process_enabled"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}deleteConfirmDialog(t){const i=this.getNameOfProcess(t);this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("MAILCOLLECT.confirm_delete_process",{process:i}),confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.deleteProcess(i),this.historyService.addHistory("general","delete_mailcollect_process",this.translate.instant("HISTORY-DESC.delete-mailcollect-process",{process:i})))})}deleteProcess(t){this.http.delete(m.N.url+"/ws/mailcollect/deleteProcess/"+t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.selectedIndex=1,this.loadProcess(),setTimeout(()=>{this.selectedIndex=0},300),this.notify.success(this.translate.instant("MAILCOLLECT.process_deleted"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}updateProcess(t){if(this.isValidForm(t)){this.processLoading=!0;const i={};t.forEach(a=>{i[a.id]="verifier_customer_id"!==a.id&&"verifier_form_id"!==a.id&&"splitter_technical_input_id"!==a.id?a.control.value:a.control.value?a.control.value.id:null}),this.http.post(m.N.url+"/ws/mailcollect/updateProcess/"+i.name,i,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("MAILCOLLECT.process_updated")),this.historyService.addHistory("general","update_mailcollect",this.translate.instant("HISTORY-DESC.update_mailcollect",{process:i.name}))}),(0,Di.x)(()=>this.processLoading=!1),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe()}}retrieveFolders(t){this.folderLoading=!0;let i="",a="",l="",h="",E="";t.forEach(N=>{"hostname"===N.id&&(l=N.control.value),"port"===N.id&&(i=N.control.value),"secured_connection"===N.id&&(E=N.control.value),"login"===N.id&&(a=N.control.value),"password"===N.id&&(h=N.control.value)}),l&&a&&h?this.http.post(m.N.url+"/ws/mailcollect/retrieveFolders",{port:i,login:a,hostname:l,password:h,secured_connection:E},{headers:this.authService.headers}).pipe((0,$e.b)(oe=>{this.folders=oe,t.forEach(xe=>{("folder_trash"===xe.id||"folder_to_crawl"===xe.id||"folder_destination"===xe.id)&&(xe.values=xe.control.valueChanges.pipe((0,mt.O)(""),(0,Mn.U)(Ve=>Ve?this._filter(Ve,this.folders):this.folders)))}),this.notify.success(this.translate.instant("MAILCOLLECT.folders_updated"))}),(0,Di.x)(()=>this.folderLoading=!1),(0,Ke.K)(oe=>(console.debug(oe),this.notify.handleErrors(oe),(0,ie.of)(!1)))).subscribe():this.folderLoading=!1}_filter(t,i){if("string"==typeof t){this.toHighlight=t;const a=t.toLowerCase();return i.filter(l=>-1!==l.toLowerCase().indexOf(a))}return i}sortData(t){const i=this.allprocessesMail.slice();t.active&&""!==t.direction?(this.processesMail=i.sort((a,l)=>{const h="asc"===t.direction;switch(t.active){case"id":return this.compare(a.id,l.id,h);case"docserver_id":return this.compare(a.docserver_id,l.docserver_id,h);case"description":return this.compare(a.description,l.description,h);default:return 0}}),this.processesMail=this.processesMail.splice(0,this.pageSize)):this.processesMail=i.splice(0,this.pageSize)}compare(t,i,a){return(t{"DISABLED"!==a.control.status&&"VALID"!==a.control.status&&(i=!1),a.control.markAsTouched()}),i||this.notify.error(this.translate.instant("ERROR.form_not_valid")),i}getErrorMessage(t){let i;return this.globalForm.forEach(a=>{a.id===t&&a.required&&!a.value&&!a.control.value&&(i=this.translate.instant("AUTH.field_required"))}),i}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Ui),e.Y36(Nt.gz),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-mailcollect"]],decls:19,vars:11,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],["class","w-full overflow-auto","style","height: calc(100% - 64px)",4,"ngIf"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],[1,"w-full","overflow-auto",2,"height","calc(100% - 64px)"],[1,"m-4"],["mep","matExpansionPanel"],[1,"justify-center"],["class","border-green-400 w-1/2 m-auto",4,"ngIf"],[1,"flex","flex-wrap","m-10","mb-0","text-center"],[4,"ngFor","ngForOf"],[1,"w-full","text-center","mb-4"],["type","submit","mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300",3,"click"],[1,"text-center","text-gray-900","mx-4"],[1,"border-green-400","w-1/2","m-auto","mb-4"],[1,"mx-5",3,"selectedIndex"],["disabled","",1,"opacity-100"],["mat-tab-label",""],[1,"border-green-400","w-1/2","m-auto"],["class","w-1/3",3,"ngClass",4,"ngIf"],[3,"ngClass",4,"ngIf"],[1,"w-1/3",3,"ngClass"],[1,"block","m-1"],["matInput","",3,"formControl","type","placeholder","required"],["matSuffix","","class","text-green-400 relative cursor-pointer -top-1.5 text-base",3,"click",4,"ngIf"],["matSuffix","",1,"text-green-400","relative","cursor-pointer","-top-1.5","text-base",3,"click"],[1,"fa","fa-1x"],[3,"ngClass"],[1,"relative","m-auto","top-4",3,"formControl"],[1,"mb-6","grid","grid-cols-6","gap-4","h-10","mt-8"],["mat-button","",1,"border-solid","border-gray-900","border","hover:bg-gray-900","hover:text-white","transition","duration-300","col-start-3",3,"click"],["class","fa-solid text-2xl fa-circle-notch fa-spin\n text-green-400","style","--fa-animation-duration: 1.5s;margin-top: -0.2rem;",4,"ngIf"],["class","border-solid border-green-400 border hover:bg-green-400 hover:text-white\n transition duration-300","mat-button","",3,"click",4,"ngIf"],["class","actions",4,"ngIf","ngIfElse"],["input",""],[1,"actions"],["class","fas fa-edit ml-5 hover:scale-125 transition-all duration-75",3,"title","click",4,"ngIf"],["class","fas fa-trash text-red-600 ml-5 hover:scale-125 transition-all duration-75",3,"title","click",4,"ngIf"],["class","fas fa-pause ml-5 text-gray-900 hover:scale-125 transition-all duration-75",3,"title","click",4,"ngIf"],["class","fas fa-play ml-5 text-gray-900 hover:scale-125 transition-all duration-75",3,"title","click",4,"ngIf"],["class","fas fa-clone ml-5 text-green-400 hover:scale-125 transition-all duration-75",3,"title","click",4,"ngIf"],["class","grid grid-cols-5",4,"ngIf"],[1,"fas","fa-edit","ml-5","hover:scale-125","transition-all","duration-75",3,"title","click"],[1,"fas","fa-trash","text-red-600","ml-5","hover:scale-125","transition-all","duration-75",3,"title","click"],[1,"fas","fa-pause","ml-5","text-gray-900","hover:scale-125","transition-all","duration-75",3,"title","click"],[1,"fas","fa-play","ml-5","text-gray-900","hover:scale-125","transition-all","duration-75",3,"title","click"],[1,"fas","fa-clone","ml-5","text-green-400","hover:scale-125","transition-all","duration-75",3,"title","click"],[1,"grid","grid-cols-5"],[1,"change_process_name","col-span-4"],[1,"block"],["matInput","","type","text",3,"value","placeholder","focusout"],["new_process_name",""],[1,"relative","top-5"],["class","fas fa-check ml-2",3,"click",4,"ngIf"],["class","fa-solid fa-circle-notcha f-spin","style","--fa-animation-duration: 1.5s;margin-top: -0.2rem;",4,"ngIf"],[1,"fas","fa-check","ml-2",3,"click"],[1,"fa-solid","fa-circle-notcha","f-spin",2,"--fa-animation-duration","1.5s","margin-top","-0.2rem"],["matInput","","type","text",3,"placeholder","focusout"],["new_process_name_input",""],[1,"fas","fa-check","ml-1",3,"click"],[3,"class",4,"ngIf"],[1,"block","m-2"],["matInput","",3,"formControl","required","type","matAutocomplete"],["autocomplete","matAutocomplete"],[3,"value","id",4,"ngFor","ngForOf"],[3,"value","id"],[3,"innerHTML"],[3,"displayWith"],[3,"formControl","required"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"fa-solid","text-2xl","fa-circle-notch","fa-spin","text-green-400",2,"--fa-animation-duration","1.5s","margin-top","-0.2rem"],["mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300",3,"click"],["class","fa-solid text-2xl fa-circle-notch fa-spin\n text-gray-900","style","--fa-animation-duration: 1.5s;margin-top: -0.2rem;",4,"ngIf"],[1,"fa-solid","text-2xl","fa-circle-notch","fa-spin","text-gray-900",2,"--fa-animation-duration","1.5s","margin-top","-0.2rem"],["mat-icon-button","",1,"relative","-left-14",3,"click"],[1,"fas","fa-plus","text-gray-900"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,hO,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,mO,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16),e.qZA(),e._UZ(17,"hr",4),e.qZA()(),e.YNc(18,_6,23,13,"div",13),e.qZA()()}if(2&t){const a=e.MAs(2);e.xp6(4),e.Oqu(e.lcZ(5,9,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(2),e.Q6J("ngIf",!i.loading)}},dependencies:[_e.mk,_e.sg,_e.O5,Nt.rH,Rt.TO,Rt.KE,Rt.bx,Rt.hX,Rt.R9,Be.gD,b.ey,Va.Rr,an.Nt,va.SP,va.uD,va.uX,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.pp,Zt.ib,Zt.yz,Zt.yK,de.XC,de.ZL,So,rn.Hk,Rn.d,A.Fj,A.JJ,A.Q7,A.oH,Cn.R,_e.Ov,$t.X$,Ic.S],styles:[".mat-column-id[_ngcontent-%COMP%]{flex:0 0 10%}.mat-column-actions[_ngcontent-%COMP%]{flex:0 0 5%} .mat-tab-labels .mat-tab-disabled{opacity:1!important} .mat-tab-labels :not(.mat-tab-label-active) .actions{pointer-events:none} .mat-tab-labels .mat-tab-label-active{opacity:1!important} .mat-tab-labels .mat-tab-label-active .actions{pointer-events:auto} .change_process_name .mat-form-field-wrapper{top:.875rem} .change_process_name .mat-form-field-wrapper .mat-form-field-flex{height:2rem!important} .change_process_name .mat-form-field-wrapper .mat-form-field-infix{top:-.875rem}"]}),n})();function h6(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",31)(1,"button",32),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",33),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function m6(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,h6,6,11,"div",30),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function g6(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",24)(1,"mat-expansion-panel-header",25)(2,"mat-panel-title",26),e._UZ(3,"i"),e.TgZ(4,"button",27),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",28),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,m6,2,7,"div",29),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function f6(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,g6,9,15,"mat-expansion-panel",23),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function C6(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",27),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",28),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function v6(n,o){if(1&n&&e.YNc(0,C6,5,11,"button",34),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function x6(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,f6,2,1,"div",21),e.YNc(2,v6,1,1,"ng-template",null,22,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function b6(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",17),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",18)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",19),e.YNc(6,x6,4,6,"div",20),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function y6(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function T6(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.xp6(1),e.Oqu(i.getErrorMessage(t.id,i.outputForm))}}function M6(n,o){if(1&n&&(e.TgZ(0,"mat-form-field")(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",38),e.ALo(5,"translate"),e.YNc(6,T6,2,1,"mat-error",8),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,7,t.label)),e.xp6(2),e.s9C("placeholder",e.lcZ(5,9,t.label)),e.Q6J("value",t.control.value)("formControl",t.control)("type",t.type)("required",t.required),e.xp6(2),e.Q6J("ngIf",t.control.invalid)}}function D6(n,o){if(1&n&&(e.TgZ(0,"mat-option",41),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.output_type_id),e.xp6(1),e.hij(" ",t.output_type_label," ")}}function E6(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.xp6(1),e.Oqu(i.getErrorMessage(t.id,i.outputForm))}}function w6(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field")(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",39),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw().$implicit;return e.KtG(l.control.value=a)})("selectionChange",function(a){e.CHM(t);const l=e.oxw(3);return e.KtG(l.changeOutputType(a))}),e.YNc(5,D6,2,2,"mat-option",40),e.qZA(),e.YNc(6,E6,2,1,"mat-error",8),e.qZA()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(2),e.Oqu(e.lcZ(3,7,t.label)),e.xp6(2),e.Q6J("id",t.id)("name",t.id)("ngModel",t.control.value)("required",t.required),e.xp6(1),e.Q6J("ngForOf",i.outputsTypes),e.xp6(1),e.Q6J("ngIf",t.control.invalid)}}function S6(n,o){if(1&n&&(e.TgZ(0,"mat-option",41),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.hij(" ",e.lcZ(2,2,t.label)," ")}}function A6(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.xp6(1),e.Oqu(i.getErrorMessage(t.id,i.outputForm))}}function L6(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field")(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",42),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw().$implicit;return e.KtG(l.control.value=a)}),e.YNc(5,S6,3,4,"mat-option",40),e.qZA(),e.YNc(6,A6,2,1,"mat-error",8),e.qZA()}if(2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,6,t.label)),e.xp6(2),e.Q6J("name",t.id)("id",t.id)("ngModel",t.control.value),e.xp6(1),e.Q6J("ngForOf",t.values),e.xp6(1),e.Q6J("ngIf",t.control.invalid)}}function O6(n,o){if(1&n&&(e.ynx(0),e.YNc(1,M6,7,11,"mat-form-field",8),e.YNc(2,w6,7,9,"mat-form-field",8),e.YNc(3,L6,7,8,"mat-form-field",8),e.BQk()),2&n){const t=o.$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf","text"===t.type),e.xp6(1),e.Q6J("ngIf","select"===t.type&&"output_type_id"===t.id),e.xp6(1),e.Q6J("ngIf","select"===t.type&&("compress_type"===t.id||"ocrise"===t.id)&&"export_pdf"===i.selectedOutputType)}}function k6(n,o){if(1&n&&(e.TgZ(0,"div",35)(1,"form",36),e.YNc(2,O6,4,3,"ng-container",37),e.qZA()()),2&n){const t=e.oxw();e.xp6(2),e.Q6J("ngForOf",t.outputForm)}}let I6=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe){this.router=t,this.http=i,this.userService=a,this.authService=l,this.translate=h,this.notify=E,this.historyService=N,this.serviceSettings=oe,this.privilegesService=xe,this.loading=!0,this.outputsTypes=[],this.outputForm=[{id:"output_type_id",label:this.translate.instant("HEADER.output_type"),type:"select",control:new A.NI,required:!0,values:this.outputsTypes},{id:"output_label",label:this.translate.instant("HEADER.label"),type:"text",control:new A.NI,required:!0},{id:"compress_type",label:this.translate.instant("OUTPUT.compress_type"),type:"select",control:new A.NI,values:[{id:"",label:(0,He.J)("OUTPUT.no_compress")},{id:"screen",label:(0,He.J)("OUTPUT.compress_screen")},{id:"ebook",label:(0,He.J)("OUTPUT.compress_ebook")},{id:"prepress",label:(0,He.J)("OUTPUT.compress_prepress")},{id:"printer",label:(0,He.J)("OUTPUT.compress_printer")},{id:"default",label:(0,He.J)("OUTPUT.compress_default")}],required:!1},{id:"ocrise",label:this.translate.instant("OUTPUT.enable_ocr"),type:"select",control:new A.NI,values:[{id:!0,label:(0,He.J)("OUTPUT.ocr_enabled")},{id:!1,label:(0,He.J)("OUTPUT.ocr_disabled")}],required:!1}]}ngOnInit(){this.serviceSettings.init(),this.outputForm.forEach(t=>{"compress_type"===t.id&&t.control.setValue("")}),this.http.get(m.N.url+"/ws/outputs/getOutputsTypes?module=verifier",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.outputsTypes=t.outputs_types}),(0,Di.x)(()=>{this.loading=!1}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),this.router.navigate(["/settings/verifier/outputs"]).then(),(0,ie.of)(!1)))).subscribe()}isValidForm(t){let i=!0;return t.forEach(a=>{("DISABLED"!==a.control.status&&"VALID"!==a.control.status||null==a.control.value)&&(i=!1),a.control.markAsTouched()}),i}createOutput(){if(this.isValidForm(this.outputForm)){const t=this.getValueFromForm(this.outputForm,"output_type_id"),i=this.getValueFromForm(this.outputForm,"output_label"),a=this.getValueFromForm(this.outputForm,"compress_type"),l=this.getValueFromForm(this.outputForm,"ocrise");this.http.post(m.N.url+"/ws/outputs/create",{args:{output_type_id:t,output_label:i,compress_type:a,ocrise:l,module:"verifier"}},{headers:this.authService.headers}).pipe((0,$e.b)(h=>{this.notify.success(this.translate.instant("OUTPUT.created")),this.historyService.addHistory("verifier","create_output",this.translate.instant("HISTORY-DESC.create-output",{output:i})),this.router.navigate(["/settings/verifier/outputs/update/"+h.id]).then()}),(0,Ke.K)(h=>(console.debug(h),this.notify.handleErrors(h,"/settings/verifier/outputs"),(0,ie.of)(!1)))).subscribe()}}getValueFromForm(t,i){let a="";return t.forEach(l=>{i===l.id&&(a=l.control.value)}),a}getErrorMessage(t,i){let a;return i.forEach(l=>{l.id===t&&l.required&&(a=this.translate.instant("AUTH.field_required"))}),a}changeOutputType(t){this.selectedOutputType=t.value}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(zi.K),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-output-create"]],decls:24,vars:14,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],["class","flex justify-center items-center",4,"ngIf"],[1,"flex","justify-center","items-center","mb-2"],["mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300"],[1,"block",3,"click"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],[1,"flex","justify-center","items-center"],[1,"grid","grid-cols-2","gap-12","w-full","m-10","text-center"],[4,"ngFor","ngForOf"],["matInput","",3,"value","formControl","type","placeholder","required"],[3,"id","name","ngModel","required","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[3,"name","id","ngModel","ngModelChange"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,b6,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,y6,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16),e.qZA(),e._UZ(17,"hr",4),e.qZA()(),e.YNc(18,k6,3,1,"div",13),e.TgZ(19,"div",14)(20,"button",15)(21,"span",16),e.NdJ("click",function(){return i.createOutput()}),e._uU(22),e.ALo(23,"translate"),e.qZA()()()()()}if(2&t){const a=e.MAs(2);e.xp6(4),e.Oqu(e.lcZ(5,10,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(2),e.Q6J("ngIf",!i.loading),e.xp6(4),e.Oqu(e.lcZ(23,12,"OUTPUT.create"))}},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.TO,Rt.KE,Rt.hX,Be.gD,b.ey,an.Nt,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.ib,Zt.yz,Zt.yK,rn.Hk,Rn.d,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.oH,A.On,A.F,Cn.R,$t.X$]}),n})();function P6(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",34)(1,"button",35),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",36),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function R6(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,P6,6,11,"div",33),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function F6(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",27)(1,"mat-expansion-panel-header",28)(2,"mat-panel-title",29),e._UZ(3,"i"),e.TgZ(4,"button",30),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",31),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,R6,2,7,"div",32),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function N6(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,F6,9,15,"mat-expansion-panel",26),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function B6(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",30),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",31),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function U6(n,o){if(1&n&&e.YNc(0,B6,5,11,"button",37),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function Z6(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,N6,2,1,"div",24),e.YNc(2,U6,1,1,"ng-template",null,25,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function Y6(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",20),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",21)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",22),e.YNc(6,Z6,4,6,"div",23),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function H6(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function V6(n,o){if(1&n&&(e.TgZ(0,"mat-option",49),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.s9C("value",t.id),e.xp6(1),e.hij(" ",t.label," ")}}function G6(n,o){if(1&n&&(e.TgZ(0,"mat-option",49),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.s9C("value",t.id),e.xp6(1),e.hij(" ",t.output_label," ")}}function K6(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",53),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw(3);return a.stopPropagation(),e.KtG(l.addOutput())}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon",54),e._uU(3,"add_circle"),e.qZA()()}2&n&&e.s9C("matTooltip",e.lcZ(1,1,"OUTPUT.add"))}function j6(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",55),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw().index,h=e.oxw(2);return a.stopPropagation(),e.KtG(h.removeOutput(l))}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon",56),e._uU(3,"delete_forever"),e.qZA()()}2&n&&e.s9C("matTooltip",e.lcZ(1,1,"OUTPUT.remove"))}function W6(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field")(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",50),e.NdJ("ngModelChange",function(a){const h=e.CHM(t).$implicit;return e.KtG(h.control.value=a)}),e.YNc(5,G6,2,2,"mat-option",43),e.qZA(),e.YNc(6,K6,4,3,"span",51),e.YNc(7,j6,4,3,"span",52),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw(2);e.xp6(2),e.Oqu(e.lcZ(3,5,"HEADER.choose_output")),e.xp6(2),e.Q6J("ngModel",t.control.value),e.xp6(1),e.Q6J("ngForOf",i.outputs),e.xp6(1),e.Q6J("ngIf",!t.canRemove),e.xp6(1),e.Q6J("ngIf",t.canRemove)}}function q6(n,o){1&n&&(e.TgZ(0,"span",80),e._uU(1,"*"),e.qZA())}function J6(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.hij(" (",e.lcZ(2,1,"FORMATS."+t.format),")")}}function $6(n,o){1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" (",e.lcZ(2,1,"FORMATS.select"),")"))}function z6(n,o){1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" (",e.lcZ(2,1,"FORMATS.textarea"),")"))}function Q6(n,o){if(1&n&&(e.TgZ(0,"button",71),e._uU(1),e.ALo(2,"translate"),e.TgZ(3,"small",72),e._UZ(4,"i"),e.qZA()()),2&n){const t=e.oxw().$implicit,i=e.MAs(41);e.Q6J("matMenuTriggerFor",i),e.xp6(1),e.hij(" ",e.lcZ(2,5,"VERIFIER.display")," "),e.xp6(3),e.Gre("text-base ",t.display_icon,"")}}function X6(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",81),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw().$implicit,E=e.oxw().$implicit,N=e.oxw(2);return e.KtG(N.changeClass(h.id,l.id,l.label,E.id))}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw().$implicit;e.ekj("bg-green-400",t.id===i.class),e.Q6J("id",i.id),e.xp6(1),e.hij(" ",e.lcZ(2,4,t.label)," ")}}function ek(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",81),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw().$implicit,E=e.oxw().$implicit,N=e.oxw(2);return e.KtG(N.changeDisplay(h.id,l.id,l.icon,E.id))}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw().$implicit;e.ekj("bg-green-400",t.id===i.display),e.Q6J("id",i.id),e.xp6(1),e.hij(" ",e.lcZ(2,4,t.label)," ")}}function tk(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",81),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw().$implicit,E=e.oxw().$implicit,N=e.oxw(2);return e.KtG(N.changeRequired(h.id,l.id,l.icon,E.id))}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw().$implicit;e.ekj("bg-green-400",t.id===i.required),e.Q6J("id",i.id),e.xp6(1),e.hij(" ",e.lcZ(2,4,t.label)," ")}}function ik(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",81),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw().$implicit,E=e.oxw().$implicit,N=e.oxw(2);return e.KtG(N.changeRequired(h.id,l.id,l.icon,E.id))}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&n){const t=o.$implicit,i=e.oxw().$implicit;e.ekj("bg-green-400",t.id===i.required),e.Q6J("id",i.id),e.xp6(1),e.hij(" ",e.lcZ(2,4,t.label)," ")}}function nk(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div")(1,"mat-form-field",82),e.NdJ("click",function(a){return a.stopPropagation()}),e.TgZ(2,"mat-label"),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"input",83),e.NdJ("ngModelChange",function(a){const h=e.CHM(t).$implicit,E=e.oxw().$implicit;return e.KtG(E[h.id]=a)}),e.qZA()()()}if(2&n){const t=o.$implicit,i=e.oxw().$implicit;e.xp6(3),e.Oqu(e.lcZ(4,2,t.placeholder)),e.xp6(2),e.Q6J("ngModel",i[t.id])}}function ak(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",61),e.NdJ("sorted",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw(2);return e.KtG(h.storeNewOrder(a,l.id))}),e.TgZ(1,"mat-form-field",62)(2,"i",63),e.NdJ("click",function(a){const l=e.CHM(t),h=l.index,E=l.$implicit,N=e.oxw().$implicit,oe=e.oxw(2);return e.KtG(oe.deleteField(a,h,N.id,E.unit))}),e.qZA(),e.TgZ(3,"span",64),e.YNc(4,q6,2,0,"span",65),e.TgZ(5,"strong"),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,J6,3,3,"span",8),e.YNc(9,$6,3,3,"span",8),e.YNc(10,z6,3,3,"span",8),e.qZA(),e._UZ(11,"input",66),e.TgZ(12,"div",67)(13,"button",68)(14,"mat-icon",69),e._uU(15,"more_vert"),e.qZA()(),e.TgZ(16,"mat-menu",null,70)(18,"button",71),e._uU(19),e.ALo(20,"translate"),e.TgZ(21,"small",72),e._uU(22),e.qZA()(),e.YNc(23,Q6,5,7,"button",73),e.TgZ(24,"button",71),e._uU(25),e.ALo(26,"translate"),e.TgZ(27,"small",72),e._UZ(28,"i"),e.qZA()(),e.TgZ(29,"button",71),e._uU(30),e.ALo(31,"translate"),e.TgZ(32,"small",72),e._UZ(33,"i"),e.qZA()(),e.TgZ(34,"button",71),e._uU(35),e.ALo(36,"translate"),e.qZA()(),e.TgZ(37,"mat-menu",null,74),e.YNc(39,X6,3,6,"button",75),e.qZA(),e.TgZ(40,"mat-menu",null,76),e.YNc(42,ek,3,6,"button",75),e.qZA(),e.TgZ(43,"mat-menu",null,77),e.YNc(45,tk,3,6,"button",75),e.qZA(),e.TgZ(46,"mat-menu",null,78),e.YNc(48,ik,3,6,"button",75),e.qZA(),e.TgZ(49,"mat-menu",null,79),e.YNc(51,nk,6,4,"div",44),e.qZA()()()()}if(2&n){const t=o.$implicit,i=e.MAs(17),a=e.MAs(38),l=e.MAs(44),h=e.MAs(47),E=e.MAs(50),N=e.oxw().$implicit,oe=e.oxw(2);e.Tol(t.class),e.s9C("ngSortGridGroup",N.id),e.Q6J("ngSortGridItems",oe.fields[N.id]),e.xp6(2),e.Q6J("matTooltip",oe.translate.instant("FORMS.delete_field")),e.xp6(2),e.Q6J("ngIf",t.required),e.xp6(2),e.Oqu(e.lcZ(7,33,t.label)),e.xp6(2),e.Q6J("ngIf","select"!==t.type&&"textarea"!==t.type),e.xp6(1),e.Q6J("ngIf","select"===t.type),e.xp6(1),e.Q6J("ngIf","textarea"===t.type),e.xp6(3),e.Q6J("matMenuTriggerFor",i)("matTooltip",oe.translate.instant("VERIFIER.field_settings")),e.xp6(5),e.Q6J("matMenuTriggerFor",a),e.xp6(1),e.hij(" ",e.lcZ(20,35,"VERIFIER.size")," "),e.xp6(3),e.Oqu(t.class_label),e.xp6(1),e.Q6J("ngIf","select"===t.type),e.xp6(1),e.Q6J("matMenuTriggerFor",l),e.xp6(1),e.hij(" ",e.lcZ(26,37,"VERIFIER.required")," "),e.xp6(3),e.Gre("text-base ",t.required_icon,""),e.xp6(1),e.Q6J("matMenuTriggerFor",h),e.xp6(1),e.hij(" ",e.lcZ(31,39,"FORMS.disable")," "),e.xp6(3),e.Gre("text-base ",t.required_icon,""),e.xp6(1),e.Q6J("matMenuTriggerFor",E),e.xp6(1),e.hij(" ",e.lcZ(36,41,"FORMS.input_metadata")," "),e.xp6(4),e.Q6J("ngForOf",oe.classList),e.xp6(3),e.Q6J("ngForOf",oe.displayList),e.xp6(3),e.Q6J("ngForOf",oe.mandatoryList),e.xp6(3),e.Q6J("ngForOf",oe.disabledList),e.xp6(3),e.Q6J("ngForOf",oe.fieldMetadata)}}function ok(n,o){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"div",57),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"div",58)(5,"div",59),e.NdJ("cdkDropListDropped",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.dropFromForm(a))}),e.YNc(6,ak,52,43,"div",60),e.qZA()(),e.BQk()}if(2&n){const t=o.$implicit,i=e.oxw(2);e.xp6(1),e.Akn("width:calc(3% + "+i.translate.instant(t.label).length+"%)"),e.xp6(1),e.hij(" ",e.lcZ(3,5,t.label)," "),e.xp6(3),e.s9C("id",t.id),e.xp6(1),e.Q6J("ngForOf",i.fields[t.id])}}function rk(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",84),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.createForm())}),e._uU(1),e.ALo(2,"translate"),e.qZA()}2&n&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"FORMS.create")))}function sk(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",84),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.updateForm())}),e._uU(1),e.ALo(2,"translate"),e.qZA()}2&n&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"FORMS.modify")))}function lk(n,o){if(1&n&&(e.TgZ(0,"div",38)(1,"div",39)(2,"mat-form-field")(3,"mat-label"),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"input",40),e.qZA(),e.TgZ(7,"div",41)(8,"mat-slide-toggle",42),e._uU(9),e.ALo(10,"translate"),e.qZA()(),e.TgZ(11,"mat-form-field")(12,"mat-label"),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.TgZ(15,"mat-select",42),e.YNc(16,V6,2,2,"mat-option",43),e.qZA()(),e.YNc(17,W6,8,7,"mat-form-field",44),e.TgZ(18,"mat-form-field")(19,"mat-label"),e._uU(20),e.ALo(21,"translate"),e.qZA(),e._UZ(22,"input",45),e.TgZ(23,"mat-hint"),e._uU(24),e.ALo(25,"translate"),e.qZA()()(),e.YNc(26,ok,7,7,"ng-container",44),e.TgZ(27,"div",46)(28,"button",47),e.YNc(29,rk,3,3,"span",48),e.YNc(30,sk,3,3,"span",48),e.qZA()()()),2&n){const t=e.oxw();e.xp6(4),e.Oqu(e.lcZ(5,14,"FORMS.label")),e.xp6(2),e.Q6J("formControl",t.form.label.control),e.xp6(2),e.Q6J("formControl",t.form.default_form.control),e.xp6(1),e.hij(" ",e.lcZ(10,16,"FORMS.is_default")," "),e.xp6(4),e.Oqu(e.lcZ(14,18,"HEADER.choose_metadata_method")),e.xp6(2),e.Q6J("formControl",t.formSettings.metadata_method.control),e.xp6(1),e.Q6J("ngForOf",t.metadataMethods),e.xp6(1),e.Q6J("ngForOf",t.outputForm),e.xp6(3),e.Oqu(e.lcZ(21,20,"FORMS.export_zip_file")),e.xp6(2),e.Q6J("formControl",t.formSettings.export_zip_file.control),e.xp6(2),e.Oqu(e.lcZ(25,22,"FORMS.export_zip_file_hint")),e.xp6(2),e.Q6J("ngForOf",t.fieldCategories),e.xp6(3),e.Q6J("ngIf",t.creationMode),e.xp6(1),e.Q6J("ngIf",!t.creationMode)}}function ck(n,o){1&n&&(e.TgZ(0,"div",85)(1,"span",86),e._UZ(2,"i",87),e.qZA()())}function dk(n,o){if(1&n&&(e.ynx(0),e.TgZ(1,"div",93),e._UZ(2,"i",94),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"mat-form-field",95)(6,"mat-label"),e._uU(7),e.ALo(8,"translate"),e.qZA(),e._UZ(9,"input",66),e.qZA(),e.BQk()),2&n){const t=e.oxw().$implicit;e.xp6(3),e.hij(" ",e.lcZ(4,2,t.label)," "),e.xp6(4),e.Oqu(e.lcZ(8,4,"TYPES."+t.type))}}function uk(n,o){if(1&n&&(e.ynx(0),e.TgZ(1,"div",93),e._UZ(2,"i",94),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"mat-form-field",95)(6,"mat-label"),e._uU(7),e.ALo(8,"translate"),e.qZA(),e._UZ(9,"input",66),e.qZA(),e.BQk()),2&n){const t=e.oxw().$implicit;e.xp6(3),e.hij(" ",e.lcZ(4,2,t.label)," "),e.xp6(4),e.Oqu(e.lcZ(8,4,"TYPES."+t.type))}}function _k(n,o){if(1&n&&(e.ynx(0),e.TgZ(1,"div",93),e._UZ(2,"i",94),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"mat-form-field",95)(6,"mat-label"),e._uU(7),e.ALo(8,"translate"),e.qZA(),e._UZ(9,"input",96)(10,"mat-datepicker-toggle",97),e.qZA(),e.BQk()),2&n){const t=e.oxw().$implicit;e.xp6(3),e.hij(" ",e.lcZ(4,2,t.label)," "),e.xp6(4),e.Oqu(e.lcZ(8,4,"TYPES."+t.type))}}function pk(n,o){if(1&n&&(e.ynx(0),e.TgZ(1,"div",93),e._UZ(2,"i",94),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"mat-form-field",95)(6,"mat-label"),e._uU(7),e.ALo(8,"translate"),e.qZA(),e._UZ(9,"mat-select"),e.qZA(),e.BQk()),2&n){const t=e.oxw().$implicit;e.xp6(3),e.hij(" ",e.lcZ(4,2,t.label)," "),e.xp6(4),e.Oqu(e.lcZ(8,4,"TYPES."+t.type))}}function hk(n,o){if(1&n&&(e.ynx(0),e.TgZ(1,"div"),e._UZ(2,"i",94),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"mat-checkbox",98),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.BQk()),2&n){const t=e.oxw().$implicit;e.xp6(3),e.hij(" ",e.lcZ(4,2,t.label)," "),e.xp6(3),e.Oqu(e.lcZ(7,4,"TYPES."+t.type))}}function mk(n,o){if(1&n&&(e.TgZ(0,"div")(1,"div",92),e.YNc(2,dk,10,6,"ng-container",8),e.YNc(3,uk,10,6,"ng-container",8),e.YNc(4,_k,11,6,"ng-container",8),e.YNc(5,pk,10,6,"ng-container",8),e.YNc(6,hk,8,6,"ng-container",8),e.qZA()()),2&n){const t=o.$implicit;e.xp6(2),e.Q6J("ngIf","text"===t.type),e.xp6(1),e.Q6J("ngIf","textarea"===t.type),e.xp6(1),e.Q6J("ngIf","date"===t.type),e.xp6(1),e.Q6J("ngIf","select"===t.type),e.xp6(1),e.Q6J("ngIf","checkbox"===t.type)}}function gk(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-tab",90),e.ALo(1,"translate"),e.TgZ(2,"div",91),e.NdJ("cdkDropListDropped",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.dropFromAvailableFields(a))}),e.YNc(3,mk,7,5,"div",44),e.qZA()()}if(2&n){const t=o.$implicit;e.s9C("label",e.lcZ(1,4,t.label)),e.xp6(2),e.s9C("id",t.id),e.Q6J("cdkDropListData",t.values),e.xp6(1),e.Q6J("ngForOf",t.values)}}function fk(n,o){if(1&n&&(e.TgZ(0,"mat-tab-group",88),e.YNc(1,gk,4,6,"mat-tab",89),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.availableFieldsParent)}}let NT=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve){this.router=t,this.http=i,this.route=a,this.userService=l,this.formBuilder=h,this.authService=E,this.translate=N,this.notify=oe,this.serviceSettings=xe,this.privilegesService=Ve,this.loading=!0,this.loadingCustomFields=!0,this.outputs=[],this.metadataMethods=[],this.form={label:{control:new A.NI},default_form:{control:new A.NI}},this.formSettings={metadata_method:{control:new A.NI},export_zip_file:{control:new A.NI}},this.outputForm=[{control:new A.NI,cpt:0}],this.creationMode=!0,this.labelType=[(0,He.J)("FORMATS.text"),(0,He.J)("TYPES.text"),(0,He.J)("TYPES.textarea"),(0,He.J)("TYPES.date"),(0,He.J)("TYPES.select"),(0,He.J)("VERIFIER.field_settings"),(0,He.J)("FORMS.delete_field"),(0,He.J)("FORMS.update_label")],this.fieldCategories=[{id:"batch_metadata",label:(0,He.J)("SPLITTER.batch_metadata")},{id:"document_metadata",label:(0,He.J)("SPLITTER.document_metadata")}],this.availableFieldsParent=[{id:"custom_fields",label:(0,He.J)("FORMS.custom_fields"),values:[]}],this.fields={batch_metadata:[],document_metadata:[]},this.classList=[{id:"w-full",label:"1"},{id:"w-1/2",label:"1/2"},{id:"w-30",label:"1/3"},{id:"w-1/3",label:"1/33"},{id:"w-1/4",label:"1/4"},{id:"w-1/5",label:"1/5"}],this.displayList=[{id:"simple",label:(0,He.J)("DISPLAY.simple"),icon:"fa-solid fa-file-alt"},{id:"multi",label:(0,He.J)("DISPLAY.multi"),icon:"fa-solid fa-layer-group"}],this.mandatoryList=[{id:!0,label:(0,He.J)("MANDATORY.required"),icon:"fa-solid fa-star"},{id:!1,label:(0,He.J)("MANDATORY.not_required"),icon:"far fa-star"}],this.disabledList=[{id:!0,label:(0,He.J)("DISABLED.disabled"),icon:"fa-solid fa-ban"},{id:!1,label:(0,He.J)("DISABLED.not_disabled"),icon:""}],this.fieldMetadata=[{id:"searchMask",placeholder:(0,He.J)("FIELD_METADATA.search_mask"),control:new A.NI},{id:"resultMask",placeholder:(0,He.J)("FIELD_METADATA.result_mask"),control:new A.NI},{id:"validationMask",placeholder:(0,He.J)("FIELD_METADATA.validation_mask"),control:new A.NI}]}ngOnInit(){this.serviceSettings.init(),this.formId=this.route.snapshot.params.id,this.http.get(m.N.url+"/ws/outputs/list?module=splitter",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.outputs=t.outputs,this.formId&&(this.creationMode=!1,this.http.get(m.N.url+"/ws/forms/getById/"+this.formId,{headers:this.authService.headers}).pipe((0,$e.b)(i=>{for(const a in this.form)for(const l in i)l===a&&this.form[a].control.setValue(i[a]);for(const a in this.formSettings)for(const l in i.settings)l===a&&this.formSettings[l].control.setValue(i.settings[l]);if(i.outputs){const a=i.outputs.length;if(1===a&&this.outputForm[0].control.setValue(i.outputs[0]),a>1)for(const l in i.outputs)0!==parseInt(l)&&this.addOutput(),this.outputForm[l].control.setValue(i.outputs[l])}}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe())}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/splitter/metadataMethods",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.metadataMethods.forEach(i=>{this.metadataMethods.push({id:i.id,label:i.label})})}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/customFields/list",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{if(t.customFields)for(const i in t.customFields)if(t.customFields.hasOwnProperty(i)&&"splitter"===t.customFields[i].module&&t.customFields[i].enabled)for(const a in this.availableFieldsParent)"custom_fields"===this.availableFieldsParent[a].id&&this.availableFieldsParent[a].values.push({id:"custom_"+t.customFields[i].id,metadata_key:t.customFields[i].metadata_key,label_short:t.customFields[i].label_short,settings:t.customFields[i].settings,required:t.customFields[i].required,label:t.customFields[i].label,type:t.customFields[i].type,format:t.customFields[i].type,unit:"custom",class:"w-1/3",class_label:"1/33"});this.loadingCustomFields=!1}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.formId?this.http.get(m.N.url+"/ws/forms/getFields/"+this.formId,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{if(t.form_fields.fields){t.form_fields.fields.batch_metadata&&(this.fields.batch_metadata=t.form_fields.fields.batch_metadata),t.form_fields.fields.document_metadata&&(this.fields.document_metadata=t.form_fields.fields.document_metadata);for(const i in this.fields)this.fields.hasOwnProperty(i)&&this.fields[i].forEach(a=>{this.availableFieldsParent.forEach(l=>{let h=0;l.values.forEach(E=>{a.id===E.id&&l.values.splice(h,1),h+=1})})})}}),(0,Di.x)(()=>setTimeout(()=>{this.loading=!1},500)),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe():this.loading=!1}dropFromAvailableFields(t){const i=t.previousContainer.id;t.previousContainer===t.container?Hs(t.container.data,t.previousIndex,t.currentIndex):vr(t.previousContainer.data?t.previousContainer.data:this.fields[i],t.container.data,t.previousIndex,t.currentIndex)}changeClass(t,i,a,l){const h=t;this.fields[l].forEach(E=>{E.id===h&&(E.class=i,E.class_label=a)})}changeDisplay(t,i,a,l){const h=t;this.fields[l].forEach(E=>{E.id===h&&(E.display=i,E.display_icon=a)})}changeRequired(t,i,a,l){const h=t;this.fields[l].forEach(E=>{E.id===h&&(E.required=i,E.required_icon=a)})}dropFromForm(t){const i=t.container.id,a=t.previousContainer.id;t.previousContainer===t.container?Hs(t.container.data,t.previousIndex,t.currentIndex):vr(t.previousContainer.data?t.previousContainer.data:this.fields[a],t.container.data?t.container.data:this.fields[i],t.previousIndex,t.currentIndex)}deleteField(t,i,a,l){"addresses"===l&&(l="supplier");for(const h in this.availableFieldsParent)this.availableFieldsParent[h].id.split("_fields")[0]===l&&vr(this.fields[a],this.availableFieldsParent[h].values,i,this.availableFieldsParent[h].values.length)}storeNewOrder(t,i){const a=[];t.currentOrder.forEach(l=>{this.fields[i].forEach(h=>{l.id===h.id&&a.push(l)})}),this.fields[i]=a}addOutput(){this.outputForm[0].cpt=this.outputForm[0].cpt+1,this.outputForm.push({control:new A.NI,canRemove:!0})}removeOutput(t){this.outputForm.splice(t,1)}updateForm(){const t=this.form.label.control.value,i=this.form.default_form.control.value,a=this.formSettings.metadata_method.control.value,l=this.formSettings.export_zip_file.control.value,h=[];this.outputForm.forEach(E=>{E.control.value&&h.push(E.control.value)}),""!==t&&h.length>=1?this.http.put(m.N.url+"/ws/forms/update/"+this.formId,{args:{label:t,default_form:i,outputs:h,settings:{metadata_method:a,export_zip_file:l}}},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.http.post(m.N.url+"/ws/forms/updateFields/"+this.formId,this.fields,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("FORMS.updated"))}),(0,Ke.K)(E=>(console.debug(E),this.notify.handleErrors(E),(0,ie.of)(!1)))).subscribe()}),(0,Ke.K)(E=>(console.debug(E),this.notify.handleErrors(E),(0,ie.of)(!1)))).subscribe():t||0!==h.length?t?0===h.length&&this.notify.error(this.translate.instant("FORMS.output_type_mandatory")):this.notify.error(this.translate.instant("FORMS.label_mandatory")):this.notify.error(this.translate.instant("FORMS.label_and_output_mandatory"))}createForm(){const t=this.form.label.control.value;t?this.http.post(m.N.url+"/ws/forms/add",{args:{label:t,default_form:this.form.default_form.control.value,module:"splitter",settings:{metadata_method:this.formSettings.metadata_method.control.value,export_zip_file:this.formSettings.export_zip_file.control.value}}},{headers:this.authService.headers}).pipe((0,$e.b)(h=>{this.http.post(m.N.url+"/ws/forms/updateFields/"+h.id,this.fields,{headers:this.authService.headers}).pipe((0,Ke.K)(E=>(console.debug(E),this.notify.handleErrors(E),(0,ie.of)(!1)))).subscribe(),this.notify.success(this.translate.instant("FORMS.created")),this.router.navigateByUrl("settings/splitter/forms").then()}),(0,Ke.K)(h=>(console.debug(h),this.notify.handleErrors(h),(0,ie.of)(!1)))).subscribe():this.notify.error(this.translate.instant("FORMS.label_mandatory"))}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Nt.gz),e.Y36(zi.K),e.Y36(A.qu),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["form-builder"]],decls:29,vars:20,consts:[["cdkDropListGroup","",1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white","overflow-hidden"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],["mat-icon-button","",1,"absolute","right-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-xl","text-gray-900"],["class","overflow-auto","style","height: calc(100% - 64px)",4,"ngIf"],["mode","side","opened","","position","end",1,"available-fields","w-1/4","flex","flex-col","h-full","border-r","border-green-400"],["sidenav2",""],["class","relative","style","top: 40%",4,"ngIf"],["style","height: calc(100% - 64px)",4,"ngIf"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],[1,"overflow-auto",2,"height","calc(100% - 64px)"],[1,"grid","grid-cols-3","gap-4","mt-6","ml-6","mr-6"],["matInput","","required","",3,"formControl"],[1,"flex","justify-center","mt-4"],[3,"formControl"],[3,"value",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],["matInput","",3,"formControl"],[1,"flex","justify-center","items-center"],["mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300"],["class","block",3,"click",4,"ngIf"],[3,"value"],[3,"ngModel","ngModelChange"],["class","absolute top-1 right-4 cursor-pointer text-gray-900 z-50","style","right: -2.2rem",3,"matTooltip","click",4,"ngIf"],["class","absolute top-1 right-4 cursor-pointer text-red-500","style","right: -2.2rem",3,"matTooltip","click",4,"ngIf"],[1,"absolute","top-1","right-4","cursor-pointer","text-gray-900","z-50",2,"right","-2.2rem",3,"matTooltip","click"],[1,"text-lg"],[1,"absolute","top-1","right-4","cursor-pointer","text-red-500",2,"right","-2.2rem",3,"matTooltip","click"],[1,"text-xl"],[1,"relative","text-xl","tracking-wider","pl-1.5","pr-1.5","bg-white",2,"top","2.5rem","left","2.5rem"],[1,"border-green-400","border","rounded-lg","mx-6","m-7"],["cdkDropList","",1,"flex","flex-wrap","cursor-pointer","w-full","my-3",2,"min-height","50px",3,"id","cdkDropListDropped"],["class","flex items-center px-3 overflow-hidden","ngSortgridItem","",3,"class","ngSortGridGroup","ngSortGridItems","sorted",4,"ngFor","ngForOf"],["ngSortgridItem","",1,"flex","items-center","px-3","overflow-hidden",3,"ngSortGridGroup","ngSortGridItems","sorted"],[1,"right-0","w-full","form-builder"],["cdkDrag","",1,"fa-solid","fa-trash","z-10",3,"matTooltip","click"],[1,"input-label","relative","-top-1","border-r-2","border-green-400","inline-block","overflow-ellipsis","overflow-hidden","whitespace-nowrap","w-10/12"],["class","text-red-500 mr-2 relative top-0.5",4,"ngIf"],["matInput","","type","text","readonly","",1,"cursor-pointer"],[1,"absolute","top-0","-right-4"],["mat-button","","matTooltipPosition","above",3,"matMenuTriggerFor","matTooltip"],[1,"field_settings","text-md"],["menu","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor"],[1,"ml-2"],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["size","matMenu"],["mat-menu-item","",3,"id","bg-green-400","click",4,"ngFor","ngForOf"],["display","matMenu"],["required","matMenu"],["disabled","matMenu"],["autoCompleteMasksMenu","matMenu"],[1,"text-red-500","mr-2","relative","top-0.5"],["mat-menu-item","",3,"id","click"],[1,"w-64","mx-2",2,"font-size","12px",3,"click"],["matInput","","type","text",3,"ngModel","ngModelChange"],[1,"block",3,"click"],[1,"relative",2,"top","40%"],[1,"text-center","overflow-hidden"],[1,"fa-solid","fa-circle-notch","fa-spin","fa-4x","w-full","text-gray-900",2,"--fa-animation-duration","1.5s"],[2,"height","calc(100% - 64px)"],[3,"label",4,"ngFor","ngForOf"],[3,"label"],["cdkDropList","",1,"min-w-full",2,"min-height","500px",3,"id","cdkDropListData","cdkDropListDropped"],["cdkDrag","",1,"flex","flex-row","items-center","justify-between","m-5","cursor-pointer"],[1,"relative","-top-3"],[1,"relative","fa-solid","fa-arrows-alt","text-xl","top-0.5","mr-2","text-green-400"],[1,"right-0","w-5/12"],["matInput","","disabled",""],["matSuffix",""],["formControlName","test"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,Y6,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,H6,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16),e.qZA(),e._UZ(17,"hr",4),e.qZA(),e.TgZ(18,"button",13),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(22);return e.KtG(h.toggle())}),e._UZ(19,"i",14),e.qZA()(),e.YNc(20,lk,31,24,"div",15),e.qZA(),e.TgZ(21,"mat-sidenav",16,17)(23,"h3",3),e._uU(24),e.ALo(25,"translate"),e.qZA(),e._UZ(26,"mat-divider",4),e.YNc(27,ck,3,0,"div",18),e.YNc(28,fk,2,1,"mat-tab-group",19),e.qZA()()}if(2&t){const a=e.MAs(2),l=e.MAs(22);e.xp6(4),e.Oqu(e.lcZ(5,16,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(3),e.ekj("transform",l.opened)("rotate-180",l.opened),e.xp6(1),e.Q6J("ngIf",!i.loading),e.xp6(4),e.hij(" ",e.lcZ(25,18,"FORMS.available_fields")," "),e.xp6(3),e.Q6J("ngIf",i.loadingCustomFields),e.xp6(1),e.Q6J("ngIf",!i.loadingCustomFields)}},dependencies:[_e.sg,_e.O5,Nt.rH,Sa,Rt.KE,Rt.bx,Rt.hX,Rt.R9,Be.gD,b.ey,Va.Rr,an.Nt,Xn,va.SP,va.uX,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Ho,xl,pe,mo,Zt.ib,Zt.yz,Zt.yK,So,rn.Hk,Rn.d,RT,A.Fj,A.JJ,A.Q7,A.oH,A.u,A.On,e_,Xu,ld,Cn.R,$t.X$],styles:["i.cdk-drag[_ngcontent-%COMP%]{position:absolute;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity));margin-right:.5rem;margin-bottom:.25rem} .form-builder>.mat-form-field-wrapper{padding-bottom:.75rem;padding-top:.75rem} .form-builder>.mat-form-field-wrapper:hover>.mat-form-field-flex>.mat-form-field-infix>i{visibility:visible;opacity:1} .form-builder>.mat-form-field-wrapper:hover>.mat-form-field-flex>.mat-form-field-infix>div>button{visibility:visible;opacity:1;left:0} .form-builder>.mat-form-field-wrapper:hover>.mat-form-field-flex>.mat-form-field-infix>.input-label{padding-left:1.5rem} .form-builder>.mat-form-field-wrapper .mat-form-field-flex{height:3.5rem} .form-builder>.mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix{width:100%} .form-builder>.mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix div>button{visibility:hidden;opacity:0;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s;left:2rem} .form-builder>.mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix div>button .mat-button-focus-overlay{background-color:transparent} .form-builder>.mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix i{visibility:hidden;opacity:0;left:.125rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s;top:.125rem;top:7px} .form-builder>.mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix .input-label{margin-left:0;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s}"]}),n})();function Ck(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",33)(1,"button",34),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",35),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function vk(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,Ck,6,11,"div",32),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function xk(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",26)(1,"mat-expansion-panel-header",27)(2,"mat-panel-title",28),e._UZ(3,"i"),e.TgZ(4,"button",29),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",30),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,vk,2,7,"div",31),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function bk(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,xk,9,15,"mat-expansion-panel",25),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function yk(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",29),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",30),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function Tk(n,o){if(1&n&&e.YNc(0,yk,5,11,"button",36),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function Mk(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,bk,2,1,"div",23),e.YNc(2,Tk,1,1,"ng-template",null,24,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function Dk(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",19),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",20)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",21),e.YNc(6,Mk,4,6,"div",22),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function Ek(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function wk(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessage(t.id))}}function Sk(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",39)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",40),e.ALo(5,"translate"),e.YNc(6,wk,2,1,"mat-error",8),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,7,t.label)),e.xp6(2),e.s9C("placeholder",e.lcZ(5,9,t.placeholder)),e.Q6J("formControl",t.control)("readonly",t.disabled)("type",t.type)("required",t.required),e.xp6(2),e.Q6J("ngIf",t.control.invalid)}}function Ak(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.hij(" ",e.lcZ(2,1,t.label)," ")}}function Lk(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.hij(" ",e.lcZ(2,1,t.name)," ")}}function Ok(n,o){if(1&n&&(e.TgZ(0,"mat-option",43),e.YNc(1,Ak,3,3,"span",8),e.YNc(2,Lk,3,3,"span",8),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.Q6J("ngIf",t.label),e.xp6(1),e.Q6J("ngIf",t.name)}}function kk(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessage(t.id))}}function Ik(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field",39)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",41),e.NdJ("valueChange",function(a){e.CHM(t);const l=e.oxw().$implicit;return e.KtG(l.control.value=a)}),e.YNc(5,Ok,3,3,"mat-option",42),e.qZA(),e.YNc(6,kk,2,1,"mat-error",8),e.qZA()}if(2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,6,t.label)),e.xp6(2),e.Q6J("formControl",t.control)("value",t.control.value)("required",t.required),e.xp6(1),e.Q6J("ngForOf",t.values),e.xp6(1),e.Q6J("ngIf",t.control.invalid)}}function Pk(n,o){if(1&n&&(e.TgZ(0,"mat-slide-toggle",44)(1,"span",45),e._uU(2),e.ALo(3,"translate"),e.qZA()()),2&n){const t=e.oxw().$implicit;e.Q6J("formControl",t.control),e.xp6(2),e.Oqu(e.lcZ(3,2,t.label))}}function Rk(n,o){if(1&n&&(e.ynx(0),e.YNc(1,Sk,7,11,"mat-form-field",37),e.YNc(2,Ik,7,8,"mat-form-field",37),e.YNc(3,Pk,4,4,"mat-slide-toggle",38),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","text"===t.type),e.xp6(1),e.Q6J("ngIf","select"===t.type),e.xp6(1),e.Q6J("ngIf","boolean"===t.type)}}let Fk=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve){this.router=t,this.http=i,this.dialog=a,this.userService=l,this.authService=h,this.translate=E,this.notify=N,this.historyService=oe,this.serviceSettings=xe,this.privilegesService=Ve,this.headers=this.authService.headers,this.loading=!0,this.inputForm=[{id:"input_id",label:this.translate.instant("HEADER.label_short"),type:"text",control:new A.NI,placeholder:"default_input",required:!0},{id:"input_label",label:this.translate.instant("HEADER.label"),type:"text",control:new A.NI,required:!0},{id:"input_folder",label:this.translate.instant("INPUT.input_folder"),type:"text",control:new A.NI,placeholder:"/var/share/sortant",required:!0},{id:"default_form_id",label:this.translate.instant("INPUT.default_form_id"),type:"select",control:new A.NI,required:!0},{id:"splitter_method_id",label:this.translate.instant("INPUT.splitter_method"),type:"select",control:new A.NI,required:!0,values:[]},{id:"remove_blank_pages",label:this.translate.instant("INPUT.remove_blank_pages"),type:"boolean",control:new A.NI}]}ngOnInit(){this.serviceSettings.init(),this.http.get(m.N.url+"/ws/accounts/customers/list",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.inputForm.forEach(i=>{"customer_id"===i.id&&(i.values=t.customers,1===t.customers.length&&i.control.setValue(t.customers[0].id))})}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/forms/list?module=splitter",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.inputForm.forEach(i=>{"default_form_id"===i.id&&(i.values=t.forms,1===t.forms.length&&i.control.setValue(t.forms[0].id))})}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.inputForm.forEach(t=>{"splitter_method_id"===t.id&&this.http.get(m.N.url+"/ws/splitter/splitMethods",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{i.splitMethods.forEach(a=>{t.values.push({id:a.id,label:a.label})})}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()})}isValidForm(){let t=!0;return this.inputForm.forEach(i=>{"DISABLED"!==i.control.status&&"VALID"!==i.control.status&&(t=!1),i.control.markAsTouched()}),t}onSubmit(){if(this.isValidForm()){const t={module:"splitter"};this.inputForm.forEach(i=>{t[i.id]=i.control.value}),this.createInputAndScriptAndIncron()}}createInputAndScriptAndIncron(){if(this.isValidForm()){const t={module:"splitter"};this.inputForm.forEach(i=>{t[i.id]=i.control.value}),this.http.post(m.N.url+"/ws/inputs/createScriptAndIncron",{args:t},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.http.post(m.N.url+"/ws/inputs/create",{args:t},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.historyService.addHistory("splitter","create_input",this.translate.instant("HISTORY-DESC.create-input",{input:t.input_label})),this.router.navigate(["/settings/splitter/inputs"]).then(),this.notify.success(this.translate.instant("INPUT.created"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}}getErrorMessage(t){let i;return this.inputForm.forEach(a=>{a.id===t&&a.required&&!a.value&&!a.control.value&&(i=this.translate.instant("AUTH.field_required"))}),i}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Ui),e.Y36(zi.K),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-splitter-create-input"]],decls:29,vars:17,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],[1,"grid","grid-cols-2","gap-4","w-auto","m-5","text-center"],[4,"ngFor","ngForOf"],[1,"flex","justify-center","items-center"],["mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300",3,"click"],[1,"text-gray-400","text-sm","mt-4","flex","justify-center","items-center"],[1,"w-1/3",3,"innerHTML"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],["class","block",4,"ngIf"],["class","relative top-4 mb-10 col-span-2",3,"formControl",4,"ngIf"],[1,"block"],["matInput","",3,"formControl","readonly","type","placeholder","required"],[3,"formControl","value","required","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"relative","top-4","mb-10","col-span-2",3,"formControl"],[1,"justify-center"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,Dk,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,Ek,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16),e.qZA(),e._UZ(17,"hr",4),e.qZA()(),e.TgZ(18,"form")(19,"div",13),e.YNc(20,Rk,4,3,"ng-container",14),e.qZA()(),e.TgZ(21,"div",15)(22,"button",16),e.NdJ("click",function(){return i.onSubmit()}),e.TgZ(23,"span"),e._uU(24),e.ALo(25,"translate"),e.qZA()()(),e.TgZ(26,"div",17),e._UZ(27,"span",18),e.ALo(28,"translate"),e.qZA()()()}if(2&t){const a=e.MAs(2);e.xp6(4),e.Oqu(e.lcZ(5,11,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(4),e.Q6J("ngForOf",i.inputForm),e.xp6(4),e.Oqu(e.lcZ(25,13,"INPUT.create")),e.xp6(3),e.Q6J("innerHTML",e.lcZ(28,15,"INPUT.create_hint"),e.oJD)}},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.TO,Rt.KE,Rt.hX,Be.gD,b.ey,Va.Rr,an.Nt,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.ib,Zt.yz,Zt.yK,rn.Hk,Rn.d,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.oH,A.F,Cn.R,$t.X$],styles:[".mat-slide-toggle label{justify-content:center}"]}),n})();function Nk(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",32)(1,"button",33),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",34),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function Bk(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,Nk,6,11,"div",31),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function Uk(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",25)(1,"mat-expansion-panel-header",26)(2,"mat-panel-title",27),e._UZ(3,"i"),e.TgZ(4,"button",28),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",29),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,Bk,2,7,"div",30),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function Zk(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,Uk,9,15,"mat-expansion-panel",24),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function Yk(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",28),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",29),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function Hk(n,o){if(1&n&&e.YNc(0,Yk,5,11,"button",35),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function Vk(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,Zk,2,1,"div",22),e.YNc(2,Hk,1,1,"ng-template",null,23,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function Gk(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",18),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",19)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",20),e.YNc(6,Vk,4,6,"div",21),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function Kk(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function jk(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessage(t.id))}}function Wk(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",38)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",39),e.ALo(5,"translate"),e.YNc(6,jk,2,1,"mat-error",8),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,7,t.label)),e.xp6(2),e.s9C("placeholder",e.lcZ(5,9,t.placeholder)),e.Q6J("formControl",t.control)("readonly",t.disabled)("type",t.type)("required",t.required),e.xp6(2),e.Q6J("ngIf",t.control.invalid)}}function qk(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.hij(" ",e.lcZ(2,1,t.label)," ")}}function Jk(n,o){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.hij(" ",e.lcZ(2,1,t.name)," ")}}function $k(n,o){if(1&n&&(e.TgZ(0,"mat-option",42),e.YNc(1,qk,3,3,"span",8),e.YNc(2,Jk,3,3,"span",8),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.Q6J("ngIf",t.label),e.xp6(1),e.Q6J("ngIf",t.name)}}function zk(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw();e.xp6(1),e.Oqu(i.getErrorMessage(t.id))}}function Qk(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field",38)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",40),e.NdJ("valueChange",function(a){e.CHM(t);const l=e.oxw().$implicit;return e.KtG(l.control.value=a)}),e.YNc(5,$k,3,3,"mat-option",41),e.qZA(),e.YNc(6,zk,2,1,"mat-error",8),e.qZA()}if(2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,6,t.label)),e.xp6(2),e.Q6J("formControl",t.control)("value",t.control.value)("required",t.required),e.xp6(1),e.Q6J("ngForOf",t.values),e.xp6(1),e.Q6J("ngIf",t.control.invalid)}}function Xk(n,o){if(1&n&&(e.TgZ(0,"mat-slide-toggle",43)(1,"span",44),e._uU(2),e.ALo(3,"translate"),e.qZA()()),2&n){const t=e.oxw().$implicit;e.Q6J("formControl",t.control),e.xp6(2),e.Oqu(e.lcZ(3,2,t.label))}}function eI(n,o){if(1&n&&(e.ynx(0),e.YNc(1,Wk,7,11,"mat-form-field",36),e.YNc(2,Qk,7,8,"mat-form-field",36),e.YNc(3,Xk,4,4,"mat-slide-toggle",37),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","text"===t.type),e.xp6(1),e.Q6J("ngIf","select"===t.type),e.xp6(1),e.Q6J("ngIf","boolean"===t.type)}}let tI=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve){this.router=t,this.http=i,this.dialog=a,this.route=l,this.userService=h,this.authService=E,this.translate=N,this.notify=oe,this.serviceSettings=xe,this.privilegesService=Ve,this.headers=this.authService.headers,this.loading=!0,this.inputForm=[{id:"input_id",label:this.translate.instant("HEADER.label_short"),type:"text",control:new A.NI,disabled:!0,required:!0},{id:"input_label",label:this.translate.instant("HEADER.label"),type:"text",control:new A.NI,required:!0},{id:"input_folder",label:this.translate.instant("INPUT.input_folder"),type:"text",control:new A.NI,placeholder:"/var/share/sortant",required:!0},{id:"default_form_id",label:this.translate.instant("INPUT.default_form_id"),type:"select",control:new A.NI,required:!0},{id:"splitter_method_id",label:this.translate.instant("INPUT.splitter_method"),type:"select",control:new A.NI,required:!0,values:[]},{id:"remove_blank_pages",label:this.translate.instant("INPUT.remove_blank_pages"),type:"boolean",control:new A.NI}]}ngOnInit(){this.serviceSettings.init(),this.inputId=this.route.snapshot.params.id,this.http.get(m.N.url+"/ws/inputs/getById/"+this.inputId,{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.input=t;for(const i in this.input)this.inputForm.forEach(a=>{a.id===i&&(a.control.setValue(t[i]),"default_form_id"===a.id&&this.http.get(m.N.url+"/ws/forms/list?module=splitter",{headers:this.authService.headers}).pipe((0,$e.b)(l=>{a.values=l.forms}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(l=>(console.debug(l),this.notify.handleErrors(l),(0,ie.of)(!1)))).subscribe())})}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),this.router.navigate(["/settings/splitter/outputs"]).then(),(0,ie.of)(!1)))).subscribe(),this.inputForm.forEach(t=>{"splitter_method_id"===t.id&&this.http.get(m.N.url+"/ws/splitter/splitMethods",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{i.splitMethods.forEach(a=>{t.values.push({id:a.id,label:a.label})})}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()})}isValidForm(){let t=!0;return this.inputForm.forEach(i=>{"DISABLED"!==i.control.status&&"VALID"!==i.control.status&&(t=!1),i.control.markAsTouched()}),t}onSubmit(){if(this.isValidForm()){const t={module:"splitter"};this.inputForm.forEach(i=>{t[i.id]=i.control.value}),this.http.put(m.N.url+"/ws/inputs/update/"+this.inputId,{args:t},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("INPUT.updated"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i,"/splitter/inputs"),(0,ie.of)(!1)))).subscribe()}}createScriptAndIncron(){if(this.isValidForm()){const t={module:"splitter"};this.inputForm.forEach(i=>{t[i.id]=i.control.value}),this.http.post(m.N.url+"/ws/inputs/createScriptAndIncron",{args:t},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("INPUT.watcher_and_script_updated")),this.onSubmit()}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}}getErrorMessage(t){let i;return this.inputForm.forEach(a=>{a.id===t&&a.required&&!a.value&&!a.control.value&&(i=this.translate.instant("AUTH.field_required"))}),i}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Ui),e.Y36(Nt.gz),e.Y36(zi.K),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-splitter-update-input"]],decls:30,vars:17,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],[1,"grid","grid-cols-2","gap-4","w-auto","m-5","text-center"],[4,"ngFor","ngForOf"],[1,"flex","justify-center","items-center"],["mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300",3,"click"],["mat-button","",1,"ml-4","border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300",3,"click"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],["class","block",4,"ngIf"],["class","relative top-4 mb-10 col-span-2",3,"formControl",4,"ngIf"],[1,"block"],["matInput","",3,"formControl","readonly","type","placeholder","required"],[3,"formControl","value","required","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"relative","top-4","mb-10","col-span-2",3,"formControl"],[1,"justify-center"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,Gk,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,Kk,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16),e.qZA(),e._UZ(17,"hr",4),e.qZA()(),e.TgZ(18,"form")(19,"div",13),e.YNc(20,eI,4,3,"ng-container",14),e.qZA()(),e.TgZ(21,"div",15)(22,"button",16),e.NdJ("click",function(){return i.onSubmit()}),e.TgZ(23,"span"),e._uU(24),e.ALo(25,"translate"),e.qZA()(),e.TgZ(26,"button",17),e.NdJ("click",function(){return i.createScriptAndIncron()}),e.TgZ(27,"span"),e._uU(28),e.ALo(29,"translate"),e.qZA()()()()()}if(2&t){const a=e.MAs(2);e.xp6(4),e.Oqu(e.lcZ(5,11,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(4),e.Q6J("ngForOf",i.inputForm),e.xp6(4),e.Oqu(e.lcZ(25,13,"INPUT.update")),e.xp6(4),e.Oqu(e.lcZ(29,15,"INPUT.update_script_and_watcher"))}},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.TO,Rt.KE,Rt.hX,Be.gD,b.ey,Va.Rr,an.Nt,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.ib,Zt.yz,Zt.yK,rn.Hk,Rn.d,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.oH,A.F,Cn.R,$t.X$],styles:[".mat-slide-toggle label{justify-content:center}"]}),n})();function iI(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",37)(1,"button",38),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",39),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function nI(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,iI,6,11,"div",36),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function aI(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",30)(1,"mat-expansion-panel-header",31)(2,"mat-panel-title",32),e._UZ(3,"i"),e.TgZ(4,"button",33),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",34),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,nI,2,7,"div",35),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function oI(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,aI,9,15,"mat-expansion-panel",29),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function rI(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",33),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",34),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function sI(n,o){if(1&n&&e.YNc(0,rI,5,11,"button",40),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function lI(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,oI,2,1,"div",27),e.YNc(2,sI,1,1,"ng-template",null,28,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function cI(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",23),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",24)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",25),e.YNc(6,lI,4,6,"div",26),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function dI(n,o){if(1&n&&(e.TgZ(0,"mat-option",42),e._uU(1),e.qZA()),2&n){const t=e.oxw().$implicit;e.Q6J("value",t.code),e.xp6(1),e.hij(" ",t.label," ")}}function uI(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,dI,2,2,"mat-option",41),e.qZA()),2&n){const t=o.$implicit,i=e.oxw();e.xp6(1),e.Q6J("ngIf","folder"===t.type&&t.formId===i.selectedFormId)}}function _I(n,o){1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"AUTH.field_required")))}function pI(n,o){if(1&n&&(e.TgZ(0,"mat-hint"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit;e.xp6(1),e.Oqu(t.hint)}}function hI(n,o){1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"AUTH.field_required")))}function mI(n,o){if(1&n&&(e.TgZ(0,"mat-form-field")(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",44),e.YNc(5,pI,2,1,"mat-hint",21),e.YNc(6,hI,3,3,"mat-error",21),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw();e.xp6(2),e.Oqu(e.lcZ(3,7,t.label)),e.xp6(2),e.Q6J("formControlName",t.id)("type",t.type)("placeholder",t.placeholder)("required",t.required),e.xp6(1),e.Q6J("ngIf",t.hint),e.xp6(1),e.Q6J("ngIf",i.form.get(t.id).hasError("required"))}}function gI(n,o){if(1&n&&(e.TgZ(0,"div",45)(1,"mat-slide-toggle",46),e._uU(2),e.ALo(3,"translate"),e.qZA()()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.Q6J("formControlName",t.id),e.xp6(1),e.hij(" ",e.lcZ(3,2,t.label)," ")}}function fI(n,o){if(1&n&&(e.ynx(0),e.YNc(1,mI,7,9,"mat-form-field",21),e.YNc(2,gI,4,4,"div",43),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","text"===t.type),e.xp6(1),e.Q6J("ngIf","slide"===t.type)}}const CI=function(){return{canFolderBeSelected:!1}};let vI=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve){this.http=t,this.router=i,this.route=a,this.formBuilder=l,this.authService=h,this.userService=E,this.translate=N,this.notify=oe,this.serviceSettings=xe,this.privilegesService=Ve,this.loading=!1,this.forms=[],this.fields=[{id:"key",type:"text",value:"",label:this.translate.instant("HEADER.id"),required:!0},{id:"label",type:"text",value:"",label:this.translate.instant("HEADER.label"),required:!0},{id:"isDefault",type:"slide",value:!1,label:this.translate.instant("DOCTYPE.default_doctype"),required:!1}]}ngOnInit(){this.serviceSettings.init(),this.form=this.toFormGroup()}getSelectedForm(t){this.selectedFormId=t.formId}toFormGroup(){const t={};return this.fields.forEach(i=>{t[i.id]=i.required?new A.NI({value:"",disabled:i.disabled},[A.kI.required]):new A.NI({value:i.value,disabled:i.disabled})}),t.folder=new A.NI({value:"",disabled:!1},A.kI.required),new A.cw(t)}getLastFolderIndex(t){let i=0;return this.documentTypeFactoryComponent.treeDataObj.doctypeData.forEach(a=>{if(a.code.startsWith(t)&&a.code.split(".").length===t.split(".").length+1){const l=Number(a.code.split(".").pop());i=l>i?l:i}}),i+1}addDocType(){let t=this.form.getRawValue();const i=this.getLastFolderIndex(t.folder);t={key:t.key,code:t.folder+"."+i.toString(),label:t.label,is_default:t.isDefault,type:"document",form_id:this.selectedFormId},this.http.post(m.N.url+"/ws/doctypes/add",t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("DOCTYPE.doctype_added")),this.selectedFormId&&this.documentTypeFactoryComponent.treeDataObj.loadTree(this.selectedFormId),this.form.reset(),Object.keys(this.form.controls).forEach(a=>{this.form.controls[a].setErrors(null)})}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Ri.eN),e.Y36(Nt.F0),e.Y36(Nt.gz),e.Y36(A.qu),e.Y36(pi.e),e.Y36(zi.K),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-create-doc-type"]],viewQuery:function(t,i){if(1&t&&e.Gf(Ei,7),2&t){let a;e.iGM(a=e.CRH())&&(i.documentTypeFactoryComponent=a.first)}},decls:39,vars:30,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[1,"settings_header","z-50"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],["mat-icon-button","",1,"absolute","right-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-xl","text-gray-900"],[3,"data","selectedFormOutput"],["mode","side","opened","","position","end",1,"available-fields","w-1/4","flex","flex-col","h-full","border-r","border-green-400"],["sidenav2",""],[3,"formGroup","ngSubmit"],[1,"grid","grid-cols-1","gap-x-2","gap-y-2","m-2"],["id","folder",3,"formControlName","required"],[4,"ngFor","ngForOf"],[4,"ngIf"],["type","submit","mat-button","",1,"m-auto","w-7/12","border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-8","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],[3,"value",4,"ngIf"],[3,"value"],["class","text-center p-4",4,"ngIf"],["matInput","",3,"formControlName","type","placeholder","required"],[1,"text-center","p-4"],[3,"formControlName"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,cI,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7)(10,"div",8)(11,"button",9),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(12,"i",10),e.qZA(),e.TgZ(13,"div",11)(14,"h3"),e._uU(15),e.qZA(),e._UZ(16,"hr",4),e.qZA(),e.TgZ(17,"button",12),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(21);return e.KtG(h.toggle())}),e._UZ(18,"i",13),e.qZA()(),e.TgZ(19,"app-document-type-factory",14),e.NdJ("selectedFormOutput",function(h){return i.getSelectedForm(h)}),e.qZA()(),e.TgZ(20,"mat-sidenav",15,16)(22,"h3",3),e._uU(23),e.ALo(24,"translate"),e.qZA(),e._UZ(25,"mat-divider",4),e.TgZ(26,"form",17),e.NdJ("ngSubmit",function(){return i.form.valid&&i.addDocType()}),e.TgZ(27,"div",18)(28,"mat-form-field")(29,"mat-label"),e._uU(30),e.ALo(31,"translate"),e.qZA(),e.TgZ(32,"mat-select",19),e.YNc(33,uI,2,1,"div",20),e.qZA(),e.YNc(34,_I,3,3,"mat-error",21),e.qZA(),e.YNc(35,fI,3,2,"ng-container",20),e.TgZ(36,"button",22),e._uU(37),e.ALo(38,"translate"),e.qZA()()()()()}if(2&t){const a=e.MAs(2),l=e.MAs(21);e.xp6(4),e.Oqu(e.lcZ(5,21,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(4),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(3),e.ekj("transform",l.opened)("rotate-180",l.opened),e.xp6(1),e.Q6J("data",e.DdM(29,CI)),e.xp6(4),e.Oqu(e.lcZ(24,23,"DOCTYPE.add_doctype")),e.xp6(3),e.Q6J("formGroup",i.form),e.xp6(4),e.Oqu(e.lcZ(31,25,"DOCTYPE.folder")),e.xp6(2),e.Q6J("formControlName","folder")("required",!0),e.xp6(1),e.Q6J("ngForOf",i.documentTypeFactoryComponent.treeDataObj.doctypeData),e.xp6(1),e.Q6J("ngIf",i.form.get("folder").hasError("required")),e.xp6(1),e.Q6J("ngForOf",i.fields),e.xp6(2),e.hij(" ",e.lcZ(38,27,"DOCTYPE.add")," ")}},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.TO,Rt.KE,Rt.bx,Rt.hX,Be.gD,b.ey,Va.Rr,an.Nt,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.ib,Zt.yz,Zt.yK,rn.Hk,Rn.d,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.sg,A.u,Ei,$t.X$]}),n})();var xI=C(2595);function bI(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",31)(1,"button",32),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",33),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function yI(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,bI,6,11,"div",30),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function TI(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",24)(1,"mat-expansion-panel-header",25)(2,"mat-panel-title",26),e._UZ(3,"i"),e.TgZ(4,"button",27),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",28),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,yI,2,7,"div",29),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function MI(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,TI,9,15,"mat-expansion-panel",23),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function DI(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",27),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",28),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function EI(n,o){if(1&n&&e.YNc(0,DI,5,11,"button",34),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function wI(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,MI,2,1,"div",21),e.YNc(2,EI,1,1,"ng-template",null,22,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function SI(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",17),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",18)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",19),e.YNc(6,wI,4,6,"div",20),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function AI(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function LI(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.xp6(1),e.Oqu(i.getErrorMessage(t.id,i.outputForm))}}function OI(n,o){if(1&n&&(e.TgZ(0,"mat-form-field")(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",38),e.ALo(5,"translate"),e.YNc(6,LI,2,1,"mat-error",8),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,7,t.label)),e.xp6(2),e.s9C("placeholder",e.lcZ(5,9,t.label)),e.Q6J("value",t.control.value)("formControl",t.control)("type",t.type)("required",t.required),e.xp6(2),e.Q6J("ngIf",t.control.invalid)}}function kI(n,o){if(1&n&&(e.TgZ(0,"mat-option",41),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.output_type_id),e.xp6(1),e.hij(" ",t.output_type_label," ")}}function II(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.xp6(1),e.Oqu(i.getErrorMessage(t.id,i.outputForm))}}function PI(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field")(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",39),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw().$implicit;return e.KtG(l.control.value=a)})("selectionChange",function(a){e.CHM(t);const l=e.oxw(3);return e.KtG(l.changeOutputType(a))}),e.YNc(5,kI,2,2,"mat-option",40),e.qZA(),e.YNc(6,II,2,1,"mat-error",8),e.qZA()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(2),e.Oqu(e.lcZ(3,7,t.label)),e.xp6(2),e.Q6J("name",t.id)("id",t.id)("ngModel",t.control.value)("required",t.required),e.xp6(1),e.Q6J("ngForOf",i.outputsTypes),e.xp6(1),e.Q6J("ngIf",t.control.invalid)}}function RI(n,o){if(1&n&&(e.TgZ(0,"mat-option",41),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.hij(" ",e.lcZ(2,2,t.label)," ")}}function FI(n,o){if(1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.xp6(1),e.Oqu(i.getErrorMessage(t.id,i.outputForm))}}function NI(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field")(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",42),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw().$implicit;return e.KtG(l.control.value=a)}),e.YNc(5,RI,3,4,"mat-option",40),e.qZA(),e.YNc(6,FI,2,1,"mat-error",8),e.qZA()}if(2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,6,t.label)),e.xp6(2),e.Q6J("name",t.id)("id",t.id)("ngModel",t.control.value),e.xp6(1),e.Q6J("ngForOf",t.values),e.xp6(1),e.Q6J("ngIf",t.control.invalid)}}function BI(n,o){if(1&n&&(e.ynx(0),e.YNc(1,OI,7,11,"mat-form-field",8),e.YNc(2,PI,7,9,"mat-form-field",8),e.YNc(3,NI,7,8,"mat-form-field",8),e.BQk()),2&n){const t=o.$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf","text"===t.type),e.xp6(1),e.Q6J("ngIf","select"===t.type&&"output_type_id"===t.id),e.xp6(1),e.Q6J("ngIf","select"===t.type&&"compress_type"===t.id&&"export_pdf"===i.selectedOutputType)}}function UI(n,o){if(1&n&&(e.TgZ(0,"div",35)(1,"form",36),e.YNc(2,BI,4,3,"ng-container",37),e.qZA()()),2&n){const t=e.oxw();e.xp6(2),e.Q6J("ngForOf",t.outputForm)}}let ZI=(()=>{class n{constructor(t,i,a,l,h,E,N,oe){this.router=t,this.http=i,this.userService=a,this.authService=l,this.translate=h,this.notify=E,this.serviceSettings=N,this.privilegesService=oe,this.loading=!0,this.outputsTypes=[],this.outputForm=[{id:"output_type_id",label:this.translate.instant("HEADER.output_type"),type:"select",control:new A.NI,required:!0,values:this.outputsTypes},{id:"output_label",label:this.translate.instant("HEADER.label"),type:"text",control:new A.NI,required:!0},{id:"compress_type",label:this.translate.instant("OUTPUT.compress_type"),type:"select",control:new A.NI,values:[{id:"",label:(0,He.J)("OUTPUT.no_compress")},{id:"screen",label:(0,He.J)("OUTPUT.compress_screen")},{id:"ebook",label:(0,He.J)("OUTPUT.compress_ebook")},{id:"prepress",label:(0,He.J)("OUTPUT.compress_prepress")},{id:"printer",label:(0,He.J)("OUTPUT.compress_printer")},{id:"default",label:(0,He.J)("OUTPUT.compress_default")}],required:!1}]}ngOnInit(){this.serviceSettings.init(),this.outputForm.forEach(t=>{"compress_type"===t.id&&t.control.setValue("")}),this.http.get(m.N.url+"/ws/outputs/getOutputsTypes?module=splitter",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.outputsTypes=t.outputs_types}),(0,Di.x)(()=>{this.loading=!1}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),this.router.navigate(["/settings/verifier/outputs"]).then(),(0,ie.of)(!1)))).subscribe()}isValidForm(t){let i=!0;return t.forEach(a=>{("DISABLED"!==a.control.status&&"VALID"!==a.control.status||null==a.control.value)&&(i=!1),a.control.markAsTouched()}),i}createOutput(){if(this.isValidForm(this.outputForm)){const t=this.getValueFromForm(this.outputForm,"output_type_id"),i=this.getValueFromForm(this.outputForm,"output_label"),a=this.getValueFromForm(this.outputForm,"compress_type");this.http.post(m.N.url+"/ws/outputs/create",{args:{output_type_id:t,output_label:i,compress_type:a,module:"splitter"}},{headers:this.authService.headers}).pipe((0,$e.b)(l=>{this.notify.success(this.translate.instant("OUTPUT.created")),this.router.navigate(["/settings/splitter/outputs/update/"+l.id]).then()}),(0,Ke.K)(l=>(console.debug(l),this.notify.handleErrors(l,"/settings/splitter/outputs"),(0,ie.of)(!1)))).subscribe()}}getValueFromForm(t,i){let a="";return t.forEach(l=>{i===l.id&&(a=l.control.value)}),a}getErrorMessage(t,i){let a;return i.forEach(l=>{l.id===t&&l.required&&(a=this.translate.instant("AUTH.field_required"))}),a}changeOutputType(t){this.selectedOutputType=t.value}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(zi.K),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-splitter-create-output"]],decls:24,vars:14,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],["class","flex justify-center items-center",4,"ngIf"],[1,"flex","justify-center","items-center","mb-2"],["mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300"],[1,"block",3,"click"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],[1,"flex","justify-center","items-center"],[1,"grid","grid-cols-2","gap-12","w-full","m-10","text-center"],[4,"ngFor","ngForOf"],["matInput","",3,"value","formControl","type","placeholder","required"],[3,"name","id","ngModel","required","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[3,"name","id","ngModel","ngModelChange"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,SI,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,AI,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16),e.qZA(),e._UZ(17,"hr",4),e.qZA()(),e.YNc(18,UI,3,1,"div",13),e.TgZ(19,"div",14)(20,"button",15)(21,"span",16),e.NdJ("click",function(){return i.createOutput()}),e._uU(22),e.ALo(23,"translate"),e.qZA()()()()()}if(2&t){const a=e.MAs(2);e.xp6(4),e.Oqu(e.lcZ(5,10,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(2),e.Q6J("ngIf",!i.loading),e.xp6(4),e.Oqu(e.lcZ(23,12,"OUTPUT.create"))}},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.TO,Rt.KE,Rt.hX,Be.gD,b.ey,an.Nt,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.ib,Zt.yz,Zt.yK,rn.Hk,Rn.d,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.oH,A.On,A.F,Cn.R,$t.X$]}),n})();function YI(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",40)(1,"button",41),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",42),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function HI(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,YI,6,11,"div",39),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function VI(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",33)(1,"mat-expansion-panel-header",34)(2,"mat-panel-title",35),e._UZ(3,"i"),e.TgZ(4,"button",36),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",37),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,HI,2,7,"div",38),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function GI(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,VI,9,15,"mat-expansion-panel",32),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function KI(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",36),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",37),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function jI(n,o){if(1&n&&e.YNc(0,KI,5,11,"button",43),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function WI(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,GI,2,1,"div",30),e.YNc(2,jI,1,1,"ng-template",null,31,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function qI(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",26),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",27)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",28),e.YNc(6,WI,4,6,"div",29),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function JI(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function $I(n,o){1&n&&(e.TgZ(0,"mat-header-cell",44),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.id")," "))}function zI(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.id," ")}}function QI(n,o){1&n&&(e.TgZ(0,"mat-header-cell",44),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.label")," "))}function XI(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.label," ")}}function eP(n,o){1&n&&(e.TgZ(0,"mat-header-cell",44),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ACCOUNTS.form")," "))}function tP(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.form_label," ")}}function iP(n,o){1&n&&(e.TgZ(0,"mat-header-cell",44),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"ACCOUNTS.supplier_name")," "))}function nP(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.hij(" ",t.supplier_name,"")}}function aP(n,o){1&n&&(e.TgZ(0,"mat-header-cell",44),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"HEADER.status")," "))}function oP(n,o){1&n&&(e.TgZ(0,"span")(1,"span",45),e._uU(2,"\u2022"),e.qZA(),e._uU(3),e.ALo(4,"translate"),e.qZA()),2&n&&(e.xp6(3),e.hij(" ",e.lcZ(4,1,"HEADER.active"),""))}function rP(n,o){1&n&&(e.TgZ(0,"span")(1,"span",46),e._uU(2,"\u2022"),e.qZA(),e._uU(3),e.ALo(4,"translate"),e.qZA()),2&n&&(e.xp6(3),e.hij(" ",e.lcZ(4,1,"HEADER.inactive"),""))}function sP(n,o){if(1&n&&(e.TgZ(0,"mat-cell"),e.YNc(1,oP,5,3,"span",8),e.YNc(2,rP,5,3,"span",8),e.qZA()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf",t.enabled),e.xp6(1),e.Q6J("ngIf",!t.enabled)}}function lP(n,o){1&n&&e._UZ(0,"mat-header-cell")}function cP(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",48),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw();return a.stopPropagation(),e.KtG(h.disableConfirmDialog(l.id,l.label))}),e.ALo(1,"translate"),e._UZ(2,"i",51),e.qZA()}2&n&&e.s9C("matTooltip",e.lcZ(1,1,"POSITIONS-MASKS.disable"))}function dP(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",48),e.NdJ("click",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw();return a.stopPropagation(),e.KtG(h.enableConfirmDialog(l.id,l.label))}),e.ALo(1,"translate"),e._UZ(2,"i",52),e.qZA()}2&n&&e.s9C("matTooltip",e.lcZ(1,1,"POSITIONS-MASKS.enable"))}function uP(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-cell"),e.YNc(1,cP,3,3,"button",47),e.YNc(2,dP,3,3,"button",47),e.TgZ(3,"button",48),e.NdJ("click",function(a){const h=e.CHM(t).$implicit,E=e.oxw();return a.stopPropagation(),e.KtG(E.duplicateConfirmDialog(h.id,h.label))}),e.ALo(4,"translate"),e._UZ(5,"i",49),e.qZA(),e.TgZ(6,"button",48),e.NdJ("click",function(a){const h=e.CHM(t).$implicit,E=e.oxw();return a.stopPropagation(),e.KtG(E.deleteConfirmDialog(h.id,h.label))}),e.ALo(7,"translate"),e._UZ(8,"i",50),e.qZA()()}if(2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf",t.enabled),e.xp6(1),e.Q6J("ngIf",!t.enabled),e.xp6(1),e.s9C("matTooltip",e.lcZ(4,4,"POSITIONS-MASKS.duplicate")),e.xp6(3),e.s9C("matTooltip",e.lcZ(7,6,"POSITIONS-MASKS.delete"))}}function _P(n,o){1&n&&e._UZ(0,"mat-header-row")}function pP(n,o){1&n&&e._UZ(0,"mat-row",53),2&n&&e.MGl("routerLink","/settings/verifier/positions-mask/update/",o.$implicit.id,"")}const hP=function(){return[5,10,15,20,50]};let mP=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt,Ft,ii){this.router=t,this.http=i,this.dialog=a,this.route=l,this.userService=h,this.authService=E,this.translate=N,this.notify=oe,this.historyService=xe,this.serviceSettings=Ve,this.routerExtService=lt,this.privilegesService=Ft,this.localStorageService=ii,this.columnsToDisplay=["id","label","supplier_name","form_label","enabled","actions"],this.loading=!0,this.pageSize=10,this.pageIndex=0,this.total=0,this.offset=0,this.positionsMasks=[]}ngOnInit(){this.serviceSettings.init();const t=this.routerExtService.getPreviousUrl();t.includes("settings/verifier/positions-mask")||"/"===t?(this.localStorageService.get("positionMaskPageIndex")&&(this.pageIndex=parseInt(this.localStorageService.get("positionMaskPageIndex"))),this.offset=this.pageSize*this.pageIndex):this.localStorageService.remove("positionMaskPageIndex"),this.loadPositionMask().then()}loadPositionMask(){var t=this;return xa(function*(){t.loading=!0;const i=yield t.retrieveSuppliers();t.http.get(m.N.url+"/ws/positions_masks/list?limit="+t.pageSize+"&offset="+t.offset,{headers:t.authService.headers}).pipe((0,$e.b)(a=>{a.total?t.total=a.total:0!==t.pageIndex&&(t.pageIndex=t.pageIndex-1,t.offset=t.pageSize*t.pageIndex,t.loadPositionMask()),t.positionsMasks=a.positions_masks,i.suppliers.forEach(l=>{t.positionsMasks.forEach(h=>{l.id===h.supplier_id&&(h.supplier_name=l.name)})})}),(0,Di.x)(()=>t.loading=!1),(0,Ke.K)(a=>(console.debug(a),t.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe()})()}retrieveSuppliers(){var t=this;return xa(function*(){return yield t.http.get(m.N.url+"/ws/accounts/suppliers/list?order=name ASC",{headers:t.authService.headers}).toPromise()})()}onPageChange(t){this.pageSize=t.pageSize,this.offset=this.pageSize*t.pageIndex,this.pageIndex=t.pageIndex,this.localStorageService.save("positionMaskPageIndex",t.pageIndex),this.loadPositionMask().then()}deleteConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("POSITIONS-MASKS.confirm_delete",{positions_mask:i}),confirmButton:this.translate.instant("GLOBAL.delete"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.deletePositionMask(t),this.historyService.addHistory("verifier","delete_positions_masks",this.translate.instant("HISTORY-DESC.delete-positions-masks",{positions_masks:i})))})}duplicateConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("POSITIONS-MASKS.confirm_duplicate",{positions_mask:i}),confirmButton:this.translate.instant("GLOBAL.duplicate"),confirmButtonColor:"green",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&(this.duplicatePositionMask(t),this.historyService.addHistory("verifier","duplicate_positions_masks",this.translate.instant("HISTORY-DESC.duplicate-positions-masks",{positions_masks:i})))})}disableConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("POSITIONS-MASKS.confirm_disable",{positions_mask:i}),confirmButton:this.translate.instant("GLOBAL.disable"),confirmButtonColor:"warn",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&this.disablePositionMask(t)})}enableConfirmDialog(t,i){this.dialog.open(gn,{data:{confirmTitle:this.translate.instant("GLOBAL.confirm"),confirmText:this.translate.instant("POSITIONS-MASKS.confirm_enable",{positions_mask:i}),confirmButton:this.translate.instant("GLOBAL.enable"),confirmButtonColor:"green",cancelButton:this.translate.instant("GLOBAL.cancel")},width:"600px"}).afterClosed().subscribe(l=>{l&&this.enablePositionMask(t)})}deletePositionMask(t){void 0!==t&&this.http.delete(m.N.url+"/ws/positions_masks/delete/"+t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadPositionMask().then(),this.notify.success(this.translate.instant("POSITIONS-MASKS.positions_mask_deleted"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}duplicatePositionMask(t){void 0!==t&&this.http.post(m.N.url+"/ws/positions_masks/duplicate/"+t,{},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadPositionMask().then()}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}disablePositionMask(t){void 0!==t&&this.http.put(m.N.url+"/ws/positions_masks/disable/"+t,null,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadPositionMask().then()}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}enablePositionMask(t){void 0!==t&&this.http.put(m.N.url+"/ws/positions_masks/enable/"+t,null,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.loadPositionMask().then()}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}sortData(t){const i=this.positionsMasks.slice();this.positionsMasks=t.active&&""!==t.direction?i.sort((a,l)=>{const h="asc"===t.direction;switch(t.active){case"id":return this.compare(a.id,l.id,h);case"label":return this.compare(a.label,l.label,h);case"default":return this.compare(a.default,l.default,h);case"enabled":return this.compare(a.enabled,l.enabled,h);default:return 0}}):i}compare(t,i,a){return(t{class n{constructor(t,i,a,l,h,E,N,oe,xe){this.router=t,this.http=i,this.userService=a,this.authService=l,this.translate=h,this.notify=E,this.historyService=N,this.serviceSettings=oe,this.privilegesService=xe,this.loading=!0,this.suppliers=[],this.forms=[],this.form={label:{control:new A.NI},supplier_id:{control:new A.NI},form_id:{control:new A.NI}},this.toHighlight=""}ngOnInit(){this.serviceSettings.init(),this.http.get(m.N.url+"/ws/accounts/suppliers/list",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.suppliers=this.sortArrayAlphab(t.suppliers),this.filteredOptions=this.form.supplier_id.control.valueChanges.pipe((0,mt.O)(""),(0,Mn.U)(i=>i?this._filter(i):this.suppliers.slice())),this.http.get(m.N.url+"/ws/forms/list?module=verifier",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.forms=i.forms}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}isValidForm(t){let i=!0;for(const a in t)("DISABLED"!==t[a].control.status&&"VALID"!==t[a].control.status||null==t[a].control.value)&&(i=!1),t[a].control.markAsTouched();return i}createPositionsMask(){if(this.isValidForm(this.form)){const t=this.form.label.control.value,i=this.form.supplier_id.control.value,a=this.form.form_id.control.value;let l="";this.suppliers.forEach(h=>{h.name===i&&(l=h.id)}),this.http.post(m.N.url+"/ws/positions_masks/add",{args:{label:t,supplier_id:l,form_id:a}},{headers:this.authService.headers}).pipe((0,$e.b)(h=>{this.notify.success(this.translate.instant("POSITIONS-MASKS.created")),this.historyService.addHistory("verifier","create_positions_masks",this.translate.instant("HISTORY-DESC.create-positions-masks",{positions_masks:t})),this.router.navigate(["/settings/verifier/positions-mask/update/"+h.id]).then()}),(0,Ke.K)(h=>(console.debug(h),this.notify.handleErrors(h,"/settings/verifier/positions-mask"),(0,ie.of)(!1)))).subscribe()}}getErrorMessage(t,i){let a;return i.forEach(l=>{l.id===t&&l.required&&(a=this.translate.instant("AUTH.field_required"))}),a}sortArrayAlphab(t){return t.sort((i,a)=>{const l=i.name.toUpperCase(),h=a.name.toUpperCase();return l===h?0:l>h?1:-1})}_filter(t){if("string"==typeof t){this.toHighlight=t;const i=t.toLowerCase();return this.suppliers.filter(a=>-1!==a.name.toLowerCase().indexOf(i))}return this.suppliers}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(zi.K),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["create-positions-mask"]],decls:24,vars:14,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],["class","overflow-auto",4,"ngIf"],[1,"flex","justify-center","items-center","mb-2"],["mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300"],[1,"block",3,"click"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],[1,"overflow-auto"],[1,"grid","grid-cols-3","gap-8","mt-6","ml-6","mr-6"],["matInput","","required","",3,"formControl"],[1,"right-0","w-full"],[1,"overflow-ellipsis","overflow-hidden","whitespace-nowrap","w-8/12"],["matInput","","type","text",3,"required","formControl","matAutocomplete"],["auto","matAutocomplete"],[3,"value","id",4,"ngFor","ngForOf"],[1,"block"],[3,"formControl","required"],[3,"value",4,"ngFor","ngForOf"],[3,"value","id"],[3,"innerHTML"],[3,"value"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,TP,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,MP,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16),e.qZA(),e._UZ(17,"hr",4),e.qZA()(),e.YNc(18,wP,22,19,"div",13),e.TgZ(19,"div",14)(20,"button",15)(21,"span",16),e.NdJ("click",function(){return i.createPositionsMask()}),e._uU(22),e.ALo(23,"translate"),e.qZA()()()()()}if(2&t){const a=e.MAs(2);e.xp6(4),e.Oqu(e.lcZ(5,10,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(2),e.Q6J("ngIf",!i.loading),e.xp6(4),e.Oqu(e.lcZ(23,12,"POSITIONS-MASKS.create"))}},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.KE,Rt.hX,Be.gD,b.ey,an.Nt,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.ib,Zt.yz,Zt.yK,de.XC,de.ZL,rn.Hk,Rn.d,A.Fj,A.JJ,A.Q7,A.oH,Cn.R,_e.Ov,$t.X$,Ic.S]}),n})();function AP(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",52)(1,"button",53),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",54),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function LP(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,AP,6,11,"div",51),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function OP(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",45)(1,"mat-expansion-panel-header",46)(2,"mat-panel-title",47),e._UZ(3,"i"),e.TgZ(4,"button",48),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",49),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,LP,2,7,"div",50),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function kP(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,OP,9,15,"mat-expansion-panel",44),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function IP(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",48),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",49),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function PP(n,o){if(1&n&&e.YNc(0,IP,5,11,"button",55),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function RP(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,kP,2,1,"div",42),e.YNc(2,PP,1,1,"ng-template",null,43,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function FP(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",38),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",39)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",40),e.YNc(6,RP,4,6,"div",41),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function NP(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function BP(n,o){if(1&n&&(e.TgZ(0,"mat-option",56),e._UZ(1,"span",57),e.ALo(2,"highlight"),e.qZA()),2&n){const t=o.$implicit,i=e.oxw();e.Q6J("value",t.name)("id",t.id),e.xp6(1),e.Q6J("innerHTML",e.xi3(2,3,t.name,i.toHighlight),e.oJD)}}function UP(n,o){if(1&n&&(e.TgZ(0,"mat-option",58),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.Oqu(t.label)}}function ZP(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"span",59),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.deleteImage())}),e._uU(1),e.ALo(2,"translate"),e.qZA()}2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"POSITIONS-MASKS.reset_image")," "))}function YP(n,o){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"i",60),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.previousPage())}),e.qZA(),e._uU(2),e.ALo(3,"translate"),e.ALo(4,"translate"),e.TgZ(5,"i",61),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.nextPage())}),e.qZA(),e.BQk()}if(2&n){const t=e.oxw();e.xp6(2),e.HOy(" ",e.lcZ(3,4,"VERIFIER.page")," ",t.currentPage," ",e.lcZ(4,6,"VERIFIER.on")," ",t.documentImageNbPages," ")}}function HP(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div")(1,"ngx-file-drag-drop",62),e.NdJ("valueChanged",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.checkFile(a))}),e.ALo(2,"translate"),e.qZA()()}if(2&n){const t=e.oxw();e.xp6(1),e.Tol("max-w-3xl h-56 mt-10 mb-10"),e.Q6J("formControl",t.fileControl)("activeBorderColor","#97BF3D")("multiple",!1)("accept","pdf")("displayFileSize",!0)("emptyPlaceholder",e.lcZ(2,8,"POSITIONS-MASKS.placeholder"))}}function VP(n,o){1&n&&(e.TgZ(0,"div",63)(1,"span",64),e._UZ(2,"i",65),e.qZA()())}function GP(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div")(1,"div",71),e.ynx(2),e.TgZ(3,"div",72),e._uU(4),e.ALo(5,"translate"),e.qZA(),e.TgZ(6,"mat-form-field",73)(7,"mat-label"),e._uU(8),e.ALo(9,"translate"),e.qZA(),e.TgZ(10,"input",74),e.NdJ("focusin",function(a){const h=e.CHM(t).$implicit,E=e.oxw(3);return e.KtG(E.ocr(a,!0,h.color))})("click",function(){e.CHM(t);const a=e.oxw(3);return e.KtG(a.ocrFromUser=!0)})("ngModelChange",function(a){const h=e.CHM(t).$implicit;return e.KtG(h.regex=a)})("focusout",function(a){e.CHM(t);const l=e.oxw(3);return e.KtG(l.ocr(a,!1))}),e.qZA()(),e.BQk(),e.qZA()()}if(2&n){const t=o.$implicit;e.xp6(3),e.Q6J("id","label_"+t.id),e.xp6(1),e.hij(" ",e.lcZ(5,5,t.label)," "),e.xp6(4),e.Oqu(e.lcZ(9,7,"POSITIONS-MASKS.regex_associated")),e.xp6(2),e.Q6J("id",t.id)("ngModel",t.regex)}}function KP(n,o){if(1&n&&(e.TgZ(0,"mat-tab",68),e.ALo(1,"translate"),e.TgZ(2,"div",69),e.YNc(3,GP,11,9,"div",70),e.qZA()()),2&n){const t=o.$implicit;e.s9C("label",e.lcZ(1,2,t.label)),e.xp6(3),e.Q6J("ngForOf",t.values)}}function jP(n,o){if(1&n&&(e.TgZ(0,"mat-tab-group",66),e.YNc(1,KP,4,4,"mat-tab",67),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.availableFieldsParent)}}let WP=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt,Ft){this.router=t,this.http=i,this.route=a,this.sanitizer=l,this.userService=h,this.authService=E,this.translate=N,this.notify=oe,this.configService=xe,this.historyService=Ve,this.serviceSettings=lt,this.privilegesService=Ft,this.loading=!0,this.loadingFields=!0,this.ocrFromUser=!1,this.launchOnInit=!1,this.currentPage=1,this.suppliers=[],this.forms=[],this.form={label:{control:new A.NI},supplier_id:{control:new A.NI},form_id:{control:new A.NI}},this.toHighlight="",this.availableFieldsParent=[{id:"facturation_fields",label:this.translate.instant("FACTURATION.facturation"),values:[{id:"delivery_number",label:(0,He.J)("FACTURATION.delivery_number"),unit:"facturation",type:"text",color:"silver",regex:""},{id:"invoice_number",label:(0,He.J)("FACTURATION.invoice_number"),unit:"facturation",type:"text",color:"red",regex:""},{id:"quotation_number",label:(0,He.J)("FACTURATION.quotation_number"),unit:"facturation",type:"text",color:"orange",regex:""},{id:"document_date",label:(0,He.J)("FACTURATION.document_date"),unit:"facturation",type:"date",color:"yellow",regex:""},{id:"document_due_date",label:(0,He.J)("FACTURATION.document_due_date"),unit:"facturation",type:"date",color:"blue",regex:""},{id:"vat_rate",label:(0,He.J)("FACTURATION.vat_rate"),unit:"facturation",type:"text",color:"pink",regex:""},{id:"no_rate_amount",label:(0,He.J)("FACTURATION.no_rate_amount"),unit:"facturation",type:"text",color:"fuschia",regex:""},{id:"vat_amount",label:(0,He.J)("FACTURATION.vat_amount"),unit:"facturation",type:"text",color:"purple",regex:""},{id:"total_ttc",label:(0,He.J)("FACTURATION.total_ttc"),unit:"facturation",type:"text",color:"white",regex:""},{id:"total_ht",label:this.translate.instant("FACTURATION.total_ht"),unit:"facturation",type:"text",color:"green",regex:""},{id:"total_vat",label:this.translate.instant("FACTURATION.total_vat"),unit:"facturation",type:"text",color:"lime",regex:""}]},{id:"custom_fields",label:(0,He.J)("FORMS.custom_fields"),values:[]}],this.lastColor="",this.lastLabel="",this.fileControl=new A.NI([],[xr.required,xr.fileExtension(["pdf"])])}ngOnInit(){var t=this;return xa(function*(){t.serviceSettings.init(),t.http.get(m.N.url+"/ws/forms/list?module=verifier",{headers:t.authService.headers}).pipe((0,$e.b)(a=>{t.forms=a.forms}),(0,Ke.K)(a=>(console.debug(a),t.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe(),t.serviceSettings.init(),t.launchOnInit=!0,t.positionMaskId=t.route.snapshot.params.id,t.config=t.configService.getConfig(),t.positionsMask=yield t.getPositionMask();for(const a in t.availableFieldsParent)t.availableFieldsParent[a].values.forEach(l=>{for(const h in t.positionsMask.regex)h===l.id&&(l.regex=t.positionsMask.regex[h])});if(t.positionsMask.filename){t.documentImageName=t.positionsMask.filename,t.documentImageNbPages=t.positionsMask.nb_pages,t.documentImageWidth=t.positionsMask.width,t.imageDocument=$("#document_image_src");const a=yield t.getThumb(t.positionsMask.filename);t.documentImageSrc=t.sanitizer.bypassSecurityTrustUrl("data:image/jpeg;base64, "+a.file)}t.suppliers=yield t.retrieveSuppliers(),t.suppliers=t.suppliers.suppliers,t.imageDocument&&(t.ratio=t.documentImageWidth/t.imageDocument.width(),t.ocr({target:{id:""}},!0,"",!1)),t.form.label.control.setValue(t.positionsMask.label),t.form.form_id.control.setValue(t.positionsMask.form_id),t.filteredOptions=t.form.supplier_id.control.valueChanges.pipe((0,mt.O)(""),(0,Mn.U)(a=>a?t._filter(a):t.suppliers.slice())),t.suppliers.forEach(a=>{a.id===t.positionsMask.supplier_id&&t.form.supplier_id.control.setValue(a.name)}),t.http.get(m.N.url+"/ws/customFields/list",{headers:t.authService.headers}).pipe((0,$e.b)(a=>{if(a.customFields)for(const l in a.customFields)if(a.customFields.hasOwnProperty(l)&&"verifier"===a.customFields[l].module)for(const h in t.availableFieldsParent)"custom_fields"===t.availableFieldsParent[h].id&&t.availableFieldsParent[h].values.push({id:"custom_"+a.customFields[l].id,label:a.customFields[l].label,type:a.customFields[l].type,color:a.customFields[l].color,regex:""});t.loadingFields=!1}),(0,Ke.K)(a=>(console.debug(a),t.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe(),setTimeout(()=>{t.drawPositions(),t.loading=!1,t.launchOnInit=!1},500),$(".trigger").hide()})()}_filter(t){if("string"==typeof t){this.toHighlight=t;const i=t.toLowerCase();return this.suppliers.filter(a=>-1!==a.name.toLowerCase().indexOf(i))}return this.suppliers}getPositionMask(){var t=this;return xa(function*(){return yield t.http.get(m.N.url+"/ws/positions_masks/getById/"+t.positionMaskId,{headers:t.authService.headers}).toPromise()})()}retrieveSuppliers(){var t=this;return xa(function*(){return yield t.http.get(m.N.url+"/ws/accounts/suppliers/list?order=name ASC",{headers:t.authService.headers}).toPromise()})()}drawPositions(){if(this.positionsMask)for(const t in this.positionsMask.positions){const i=this.positionsMask.positions[t],a=this.getPage(t);if(i&&parseInt(String(a))===parseInt(String(this.currentPage))){this.lastId=t;for(const E in this.availableFieldsParent)this.availableFieldsParent[E].values.forEach(N=>{t===N.id&&(this.lastLabel=this.translate.instant(N.label),this.lastColor=N.color)});$("#"+t).focus(),this.ratio===1/0&&(this.ratio=this.documentImageWidth/this.imageDocument.width());const l={x:i.x/this.ratio,y:i.y/this.ratio,width:i.width/this.ratio,height:i.height/this.ratio},h=$(".trigger");h.hide(),h.trigger("mousedown"),h.trigger("mouseup",[l])}}}drawPositionByField(t,i){this.lastId=t.id,this.lastLabel=this.translate.instant(t.label).trim(),this.lastColor=t.color,$("#"+t.id).focus();const a={x:i.x/this.ratio,y:i.y/this.ratio,width:i.width/this.ratio,height:i.height/this.ratio},l=$(".trigger");l.hide(),l.trigger("mousedown"),l.trigger("mouseup",[a])}updatePositionsMask(){const t={label:this.form.label.control.value,form_id:this.form.form_id.control.value,regex:{}};if(t.label&&t.form_id){const i=this.form.supplier_id.control.value;this.suppliers.forEach(a=>{a.name===i&&Object.assign(t,{supplier_id:a.id})});for(const a in this.availableFieldsParent)this.availableFieldsParent[a].values.forEach(l=>{l.regex&&Object.assign(t.regex,{[l.id]:l.regex})});t.regex&&(t.regex=JSON.stringify(t.regex)),this.http.put(m.N.url+"/ws/positions_masks/update/"+this.positionMaskId,{args:t},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.historyService.addHistory("verifier","update_positions_masks",this.translate.instant("HISTORY-DESC.update-positions-masks",{positions_masks:t.label})),this.notify.success(this.translate.instant("POSITIONS-MASKS.updated"))}),(0,Ke.K)(a=>(console.debug(a),this.notify.handleErrors(a),this.router.navigate(["/settings/verifier/positions-mask"]).then(),(0,ie.of)(!1)))).subscribe()}}checkFile(t){if(t&&0!==t.length){this.loading=!0;for(let i=0;i{this.documentImageSrc=this.sanitizer.bypassSecurityTrustUrl("data:image/jpeg;base64, "+E.file),this.documentImageName=E.filename,this.documentImageWidth=E.width,this.imageDocument=$("#document_image_src"),setTimeout(()=>{this.ratio=this.documentImageWidth/this.imageDocument.width()},500),this.documentImageNbPages=E.nb_pages,this.fileControl.setValue([]),this.ocr({target:{id:""}},!0,"",!1)}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(E=>(this.notify.handleErrors(E),(0,ie.of)(!1)))).subscribe()}}}}deleteImage(){this.documentImageSrc="",this.imageDocument=void 0,this.positionsMask.positions={},this.positionsMask.pages={};for(const i in this.availableFieldsParent)this.availableFieldsParent[i].values.forEach(a=>{a.value="";const l=$(".input_"+a.id),h=$(".background_"+a.id),E=$(".outline_"+a.id);l.remove(),h.remove(),E.remove()});const t=$(".image-container");t.addClass("pointer-events-none"),t.addClass("cursor-auto"),this.http.put(m.N.url+"/ws/positions_masks/update/"+this.positionMaskId,{args:{filename:"",positions:"{}",pages:"{}"}},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("POSITIONS-MASKS.updated"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),this.router.navigate(["/settings/verifier/outputs"]).then(),(0,ie.of)(!1)))).subscribe()}ocr(t,i,a="green",l=!0){$(".trigger").show();const h=this;this.lastId=t.target.id;const E=$("#label_"+this.lastId);this.lastLabel=0!==E.length?E[0].innerText:"",this.lastColor=a;const N=$(".image-container"),oe=$(".delete-area"),xe=$(".select-areas-background-area"),Ve=$(".select-areas-resize-handler");if(oe.addClass("pointer-events-auto"),xe.addClass("pointer-events-auto"),Ve.addClass("pointer-events-auto"),N.addClass("pointer-events-none"),N.addClass("cursor-auto"),i&&this.imageDocument)$(".outline_"+h.lastId).toggleClass("animate"),l&&(N.removeClass("pointer-events-none"),N.removeClass("cursor-auto")),this.imageDocument.selectAreas({allowNudge:!1,minSize:[20,20],maxSize:[this.imageDocument.width(),this.imageDocument.height()/8],onChanged(lt,Ft,ii){0!==ii.length&&0!==ii.width&&0!==ii.height&&h.ocr_process(lt,Ft,ii)},onDeleted(lt,Ft){const ii=$("#select-area-label_"+Ft).attr("class").replace("input_","").replace("select-none","");h.deletePosition(ii),h.deletePage(ii)}});else{let lt=!1;$(".select-areas-delete-area").click(()=>{lt=!0}),setTimeout(()=>{lt||(Ve.hide(),oe.hide())},200),$(".outline_"+h.lastId).removeClass("animate")}}ocr_process(t,i,a){const l=this.getPage(this.lastId);if(this.ocrFromUser||l===this.currentPage||0===l){if(0===$("#select-area-label_"+i).length){const oe=$("#select-areas-outline_"+i),xe=$("#select-areas-background-area_"+i),Ve=$("#select-areas-label-container_"+i);Ve.append('
'+this.lastLabel+"
"),xe.css("background-color",this.lastColor),oe.addClass("outline_"+this.lastId),xe.addClass("background_"+this.lastId),xe.data("page",l),Ve.data("page",l),oe.data("page",l)}const h=$("#select-area-label_"+i).attr("class").replace("input_","").replace("select-none","");$("#"+h).focus();const E=$("div[id*=select-area-label_]:contains("+this.lastLabel+")"),N=E.length;if(N>1){const oe=E[N-1].id.split("_")[1];$("#select-areas-label-container_"+oe).remove(),$("#select-areas-background-area_"+oe).remove(),$("#select-areas-outline_"+oe).remove(),$("#select-areas-delete_"+oe).remove(),$(".select-areas-resize-handler_"+oe).remove()}if(this.imageDocument&&!this.launchOnInit){const oe=this.getSelectionByCpt(a,i);this.savePosition(oe),this.savePage(this.currentPage)}}else{const h=$(".input_"+this.lastId),E=$(".background_"+this.lastId),N=$(".outline_"+this.lastId);h.remove(),E.remove(),N.remove()}}getSelectionByCpt(t,i){for(const a in t)if(t[a].id===i)return t[a]}getPage(t){let i=this.currentPage;return this.positionsMask.pages&&Object.keys(this.positionsMask.pages).forEach(a=>{a===t&&(i=this.positionsMask.pages[t])}),i}checkIfObjectIsEqual(t,i){if(!t||!i)return!1;const a=Object.getOwnPropertyNames(t),l=Object.getOwnPropertyNames(i);if(a.length!==l.length)return!1;for(let h=0;h{this.positionsMask.positions[this.lastId]=t,this.notify.success(this.translate.instant("POSITIONS-MASKS.position_and_page_updated",{input:this.lastLabel}))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}savePage(t){t!==this.positionsMask.pages[this.lastId]&&this.http.put(m.N.url+"/ws/positions_masks/updatePages/"+this.positionMaskId,{args:{[this.lastId]:t}},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.positionsMask.pages[this.lastId]=t}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}deletePosition(t){this.http.put(m.N.url+"/ws/positions_masks/"+this.positionMaskId+"/deletePosition",{args:t.trim()},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.positionsMask.positions[this.lastId]="",this.notify.success(this.translate.instant("POSITIONS-MASKS.position_and_page_updated",{input:this.lastLabel}))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}deletePage(t){this.http.put(m.N.url+"/ws/positions_masks/"+this.positionMaskId+"/deletePage",{args:t.trim()},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.positionsMask.pages[this.lastId]=""}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}nextPage(){var t=this;return xa(function*(){t.currentPage1?(t.currentPage=t.currentPage-1,yield t.changeImage(t.currentPage,t.currentPage+1)):yield t.changeImage(t.documentImageNbPages,t.currentPage)})()}changeImage(t,i){var a=this;return xa(function*(){if(t){const l=a.documentImageName.split(".").pop(),h=("000"+i).substr(-3),E=("000"+t).substr(-3),N=a.documentImageName.replace(h+"."+l,E+"."+l);a.documentImageName=N;const oe=yield a.getThumb(N);a.documentImageSrc=a.sanitizer.bypassSecurityTrustUrl("data:image/jpeg;base64, "+oe.file),a.currentPage=t;for(const xe in a.availableFieldsParent)for(const Ve in a.availableFieldsParent[xe].values){const lt=a.availableFieldsParent[xe].values[Ve],Ft=a.positionsMask.positions[lt.id],ii=a.positionsMask.pages[lt.id];if(Ft){const fi=$(".input_"+lt.id),Wi=$(".background_"+lt.id),Fn=$(".outline_"+lt.id);fi.remove(),Wi.remove(),Fn.remove(),ii===a.currentPage&&a.drawPositionByField(lt,Ft)}}}})()}getThumb(t){var i=this;return xa(function*(){return yield i.http.post(m.N.url+"/ws/verifier/getThumb",{args:{type:"positions_masks",filename:t}},{headers:i.authService.headers}).toPromise()})()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Nt.gz),e.Y36(c.H7),e.Y36(zi.K),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(Al),e.Y36(kn.q),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["update-positions-mask"]],decls:62,vars:47,consts:[["cdkDropListGroup","",1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white","overflow-hidden"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],["mat-icon-button","",1,"absolute","right-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-xl","text-gray-900"],[1,"overflow-auto",2,"height","calc(100% - 64px)"],[1,"flex","justify-center","items-center","mt-5"],["mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300"],[1,"block",3,"click"],[1,"grid","grid-cols-3","gap-8","mt-6","ml-6","mr-6"],["matInput","","required","",3,"formControl"],[1,"right-0","w-full"],[1,"overflow-ellipsis","overflow-hidden","whitespace-nowrap","w-8/12"],["matInput","","type","text",3,"required","formControl","matAutocomplete"],["auto","matAutocomplete"],[3,"value","id",4,"ngFor","ngForOf"],[1,"block"],[3,"formControl","required"],[3,"value",4,"ngFor","ngForOf"],["class","cursor-pointer text-sm col-span-3 flex justify-center m-auto w-1/6 -mt-8",3,"click",4,"ngIf"],["id","document_image"],[1,"absolute","text-xl","left-6",2,"top","13.5rem"],[1,"image-container","px-4"],["id","document_image_src","alt","Open-Capture Verifier image",3,"src"],["mode","side","opened","","position","end",1,"available-fields","w-1/4","flex","flex-col","h-full","border-r","border-green-400"],["sidenav2",""],["class","relative","style","top: 40%",4,"ngIf"],["style","height: calc(100% - 64px)",4,"ngIf"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],[3,"value","id"],[3,"innerHTML"],[3,"value"],[1,"cursor-pointer","text-sm","col-span-3","flex","justify-center","m-auto","w-1/6","-mt-8",3,"click"],[1,"fa","fa-arrow-left","cursor-pointer",3,"click"],[1,"fa","fa-arrow-right","cursor-pointer",3,"click"],[3,"formControl","activeBorderColor","multiple","accept","displayFileSize","emptyPlaceholder","valueChanged"],[1,"relative",2,"top","40%"],[1,"text-center","overflow-hidden"],[1,"fa-solid","fa-circle-notch","fa-spin","fa-4x","w-full","text-gray-900",2,"--fa-animation-duration","1.5s"],[2,"height","calc(100% - 64px)"],[3,"label",4,"ngFor","ngForOf"],[3,"label"],[1,"min-w-full",2,"min-height","500px"],[4,"ngFor","ngForOf"],[1,"flex","flex-row","items-center","justify-between","m-5"],[1,"relative","-top-3",3,"id"],[1,"right-0","w-6/12"],["matInput","","type","text",3,"id","ngModel","focusin","click","ngModelChange","focusout"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,FP,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,NP,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16),e.qZA(),e._UZ(17,"hr",4),e.qZA(),e.TgZ(18,"button",13),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(55);return e.KtG(h.toggle())}),e._UZ(19,"i",14),e.qZA()(),e.TgZ(20,"div",15)(21,"div",16)(22,"button",17)(23,"span",18),e.NdJ("click",function(){return i.updatePositionsMask()}),e._uU(24),e.ALo(25,"translate"),e.qZA()()(),e.TgZ(26,"div",19)(27,"mat-form-field")(28,"mat-label"),e._uU(29),e.ALo(30,"translate"),e.qZA(),e._UZ(31,"input",20),e.qZA(),e.TgZ(32,"mat-form-field",21)(33,"mat-label",22),e._uU(34),e.ALo(35,"translate"),e.qZA(),e._UZ(36,"input",23),e.TgZ(37,"mat-autocomplete",null,24),e.YNc(39,BP,3,6,"mat-option",25),e.ALo(40,"async"),e.qZA()(),e.TgZ(41,"mat-form-field",26)(42,"mat-label"),e._uU(43),e.ALo(44,"translate"),e.qZA(),e.TgZ(45,"mat-select",27),e.YNc(46,UP,2,2,"mat-option",28),e.qZA()(),e.YNc(47,ZP,3,3,"span",29),e.qZA(),e.TgZ(48,"div",30)(49,"div",31),e.YNc(50,YP,6,8,"ng-container",8),e.qZA(),e.YNc(51,HP,3,10,"div",8),e.TgZ(52,"div",32),e._UZ(53,"img",33),e.qZA()()()(),e.TgZ(54,"mat-sidenav",34,35)(56,"h3",3),e._uU(57),e.ALo(58,"translate"),e.qZA(),e._UZ(59,"mat-divider",4),e.YNc(60,VP,3,0,"div",36),e.YNc(61,jP,2,1,"mat-tab-group",37),e.qZA()()}if(2&t){const a=e.MAs(2),l=e.MAs(38),h=e.MAs(55);e.xp6(4),e.Oqu(e.lcZ(5,33,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(3),e.ekj("transform",h.opened)("rotate-180",h.opened),e.xp6(5),e.Oqu(e.lcZ(25,35,"POSITIONS-MASKS.modify")),e.xp6(5),e.Oqu(e.lcZ(30,37,"POSITIONS-MASKS.label")),e.xp6(2),e.Q6J("formControl",i.form.label.control),e.xp6(3),e.hij(" ",e.lcZ(35,39,"POSITIONS-MASKS.supplier_name_associated")," "),e.xp6(2),e.Q6J("required",!0)("formControl",i.form.supplier_id.control)("matAutocomplete",l),e.xp6(3),e.Q6J("ngForOf",e.lcZ(40,41,i.filteredOptions)),e.xp6(4),e.hij(" ",e.lcZ(44,43,"POSITIONS-MASKS.form_associated")," "),e.xp6(2),e.Q6J("formControl",i.form.form_id.control)("required",!0),e.xp6(1),e.Q6J("ngForOf",i.forms),e.xp6(1),e.Q6J("ngIf",i.documentImageSrc),e.xp6(3),e.Q6J("ngIf",!i.loading&&i.documentImageSrc&&i.documentImageNbPages>1),e.xp6(1),e.Q6J("ngIf",!i.documentImageSrc),e.xp6(1),e.ekj("hidden",!i.imageDocument),e.xp6(1),e.Q6J("src",i.documentImageSrc,e.LSH),e.xp6(4),e.Oqu(e.lcZ(58,45,"FORMS.available_fields")),e.xp6(3),e.Q6J("ngIf",i.loadingFields),e.xp6(1),e.Q6J("ngIf",!i.loadingFields)}},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.KE,Rt.hX,Be.gD,b.ey,an.Nt,va.SP,va.uX,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.ib,Zt.yz,Zt.yK,de.XC,de.ZL,rn.Hk,Rn.d,A.Fj,A.JJ,A.Q7,A.oH,A.On,Ll,Xu,Cn.R,_e.Ov,$t.X$,Ic.S]}),n})();function qP(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",38)(1,"button",39),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",40),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function JP(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,qP,6,11,"div",37),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function $P(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",31)(1,"mat-expansion-panel-header",32)(2,"mat-panel-title",33),e._UZ(3,"i"),e.TgZ(4,"button",34),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",35),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,JP,2,7,"div",36),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function zP(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,$P,9,15,"mat-expansion-panel",30),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function QP(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",34),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",35),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function XP(n,o){if(1&n&&e.YNc(0,QP,5,11,"button",41),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function eR(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,zP,2,1,"div",28),e.YNc(2,XP,1,1,"ng-template",null,29,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function tR(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",24),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",25)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",26),e.YNc(6,eR,4,6,"div",27),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function iR(n,o){if(1&n&&(e.TgZ(0,"mat-option",20),e._uU(1),e.qZA()),2&n){const t=e.oxw().$implicit;e.Q6J("value",t.code),e.xp6(1),e.hij(" ",t.label," ")}}function nR(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,iR,2,2,"mat-option",42),e.qZA()),2&n){const t=o.$implicit,i=e.oxw();e.xp6(1),e.Q6J("ngIf","folder"===t.type&&t.formId===i.selectedFormId)}}function aR(n,o){1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"AUTH.field_required")))}function oR(n,o){if(1&n&&(e.TgZ(0,"mat-hint"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit;e.xp6(1),e.Oqu(t.hint)}}function rR(n,o){1&n&&(e.TgZ(0,"mat-error"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"AUTH.field_required")))}function sR(n,o){if(1&n&&(e.TgZ(0,"mat-form-field")(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",44),e.YNc(5,oR,2,1,"mat-hint",22),e.YNc(6,rR,3,3,"mat-error",22),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw();e.xp6(2),e.Oqu(e.lcZ(3,7,t.label)),e.xp6(2),e.Q6J("formControlName",t.id)("type",t.type)("placeholder",t.placeholder)("required",t.required),e.xp6(1),e.Q6J("ngIf",t.hint),e.xp6(1),e.Q6J("ngIf",i.form.get(t.id).hasError("required"))}}function lR(n,o){if(1&n&&(e.TgZ(0,"div",45)(1,"mat-slide-toggle",46),e._uU(2),e.ALo(3,"translate"),e.qZA()()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.Q6J("formControlName",t.id),e.xp6(1),e.hij(" ",e.lcZ(3,2,t.label)," ")}}function cR(n,o){if(1&n&&(e.ynx(0),e.YNc(1,sR,7,9,"mat-form-field",22),e.YNc(2,lR,4,4,"div",43),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","text"===t.type),e.xp6(1),e.Q6J("ngIf","slide"===t.type)}}const dR=function(){return{canFolderBeSelected:!1}};let uR=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve){this.http=t,this.router=i,this.route=a,this.formBuilder=l,this.authService=h,this.userService=E,this.translate=N,this.notify=oe,this.serviceSettings=xe,this.privilegesService=Ve,this.loading=!1,this.noMasterFolder="_NO_MASTER",this.fields=[{id:"key",type:"text",label:this.translate.instant("HEADER.id"),control:new A.NI,required:!0,disabled:!1},{id:"label",type:"text",label:this.translate.instant("HEADER.label"),control:new A.NI,required:!0,disabled:!1},{id:"isDefault",type:"slide",label:this.translate.instant("DOCTYPE.default_doctype"),control:new A.NI,required:!1,disabled:!0}]}ngOnInit(){this.serviceSettings.init(),this.form=this.toFormGroup()}toFormGroup(){const t={};return this.fields.forEach(i=>{t[i.id]=i.required?new A.NI({value:"",disabled:i.disabled},[A.kI.required]):new A.NI({value:"",disabled:i.disabled})}),t.folder=new A.NI(this.noMasterFolder,A.kI.required),new A.cw(t)}getLastFolderIndex(t){let i=0;return this.documentTypeFactoryComponent.treeDataObj.doctypeData.forEach(t!==this.noMasterFolder?a=>{if(a.code.startsWith(t)&&a.code.split(".").length===t.split(".").length+1){const l=Number(a.code.split(".").pop());i=l>i?l:i}}:a=>{if(2===a.code.split(".").length){const l=Number(a.code.split(".").pop());i=l>i?l:i}}),i+1}getSelectedForm(t){this.selectedFormId=t.formId}addFolder(){let t=this.form.getRawValue();const i=this.getLastFolderIndex(t.folder);t={key:t.key,code:t.folder!==this.noMasterFolder?t.folder+"."+i:"0."+i,label:t.label,is_default:!1,type:"folder",form_id:this.selectedFormId},this.loading=!0,this.http.post(m.N.url+"/ws/doctypes/add",t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("DOCTYPE.folder_added")),this.form.reset(),this.form.controls.folder.setValue(this.noMasterFolder),Object.keys(this.form.controls).forEach(a=>{this.form.controls[a].setErrors(null)}),this.selectedFormId&&this.documentTypeFactoryComponent.treeDataObj.loadTree(this.selectedFormId)}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(a=>(this.loading=!1,console.debug(a),this.notify.handleErrors(a),(0,ie.of)(!1)))).subscribe()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Ri.eN),e.Y36(Nt.F0),e.Y36(Nt.gz),e.Y36(A.qu),e.Y36(pi.e),e.Y36(zi.K),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-create-folder-doc-type"]],viewQuery:function(t,i){if(1&t&&e.Gf(Ei,7),2&t){let a;e.iGM(a=e.CRH())&&(i.documentTypeFactoryComponent=a.first)}},decls:42,vars:33,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[1,"settings_header","z-50"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],["mat-icon-button","",1,"absolute","right-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-xl","text-gray-900"],[3,"data","selectedFormOutput"],["mode","side","opened","","position","end",1,"available-fields","w-1/4","flex","flex-col","h-full","border-r","border-green-400"],["sidenav2",""],[3,"formGroup","ngSubmit"],[1,"grid","grid-cols-1","gap-x-2","gap-y-2","m-2"],["id","folder",3,"formControlName"],[3,"value"],[4,"ngFor","ngForOf"],[4,"ngIf"],["type","submit","mat-button","",1,"m-auto","w-7/12","border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-8","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],[3,"value",4,"ngIf"],["class","text-center p-4",4,"ngIf"],["matInput","",3,"formControlName","type","placeholder","required"],[1,"text-center","p-4"],[3,"formControlName"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,tR,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7)(10,"div",8)(11,"button",9),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(12,"i",10),e.qZA(),e.TgZ(13,"div",11)(14,"h3"),e._uU(15),e.qZA(),e._UZ(16,"hr",4),e.qZA(),e.TgZ(17,"button",12),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(21);return e.KtG(h.toggle())}),e._UZ(18,"i",13),e.qZA()(),e.TgZ(19,"app-document-type-factory",14),e.NdJ("selectedFormOutput",function(h){return i.getSelectedForm(h)}),e.qZA()(),e.TgZ(20,"mat-sidenav",15,16)(22,"h3",3),e._uU(23),e.ALo(24,"translate"),e.qZA(),e._UZ(25,"mat-divider",4),e.TgZ(26,"form",17),e.NdJ("ngSubmit",function(){return i.form.valid&&i.addFolder()}),e.TgZ(27,"div",18)(28,"mat-form-field")(29,"mat-label"),e._uU(30),e.ALo(31,"translate"),e.qZA(),e.TgZ(32,"mat-select",19)(33,"mat-option",20),e._uU(34),e.ALo(35,"translate"),e.qZA(),e.YNc(36,nR,2,1,"div",21),e.qZA(),e.YNc(37,aR,3,3,"mat-error",22),e.qZA(),e.YNc(38,cR,3,2,"ng-container",21),e.TgZ(39,"button",23),e._uU(40),e.ALo(41,"translate"),e.qZA()()()()()}if(2&t){const a=e.MAs(2),l=e.MAs(21);e.xp6(4),e.Oqu(e.lcZ(5,22,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(4),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(3),e.ekj("transform",l.opened)("rotate-180",l.opened),e.xp6(1),e.Q6J("data",e.DdM(32,dR)),e.xp6(4),e.Oqu(e.lcZ(24,24,"DOCTYPE.add_folder")),e.xp6(3),e.Q6J("formGroup",i.form),e.xp6(4),e.Oqu(e.lcZ(31,26,"DOCTYPE.folder")),e.xp6(2),e.Q6J("formControlName","folder"),e.xp6(1),e.Q6J("value",i.noMasterFolder),e.xp6(1),e.hij(" ",e.lcZ(35,28,"DOCTYPE.no_master")," "),e.xp6(2),e.Q6J("ngForOf",i.documentTypeFactoryComponent.treeDataObj.doctypeData),e.xp6(1),e.Q6J("ngIf",i.form.get("folder").hasError("required")),e.xp6(1),e.Q6J("ngForOf",i.fields),e.xp6(2),e.hij(" ",e.lcZ(41,30,"DOCTYPE.add")," ")}},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.TO,Rt.KE,Rt.bx,Rt.hX,Be.gD,b.ey,Va.Rr,an.Nt,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.ib,Zt.yz,Zt.yK,rn.Hk,Rn.d,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.sg,A.u,Ei,$t.X$]}),n})();function _R(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",30)(1,"button",31),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",32),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function pR(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,_R,6,11,"div",29),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function hR(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",23)(1,"mat-expansion-panel-header",24)(2,"mat-panel-title",25),e._UZ(3,"i"),e.TgZ(4,"button",26),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",27),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,pR,2,7,"div",28),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function mR(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,hR,9,15,"mat-expansion-panel",22),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function gR(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",26),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",27),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function fR(n,o){if(1&n&&e.YNc(0,gR,5,11,"button",33),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function CR(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,mR,2,1,"div",20),e.YNc(2,fR,1,1,"ng-template",null,21,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function vR(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",16),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",17)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",18),e.YNc(6,CR,4,6,"div",19),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function xR(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function bR(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",37)(1,"mat-slide-toggle",38),e.NdJ("change",function(){e.CHM(t);const a=e.oxw().$implicit,l=e.oxw();return e.KtG(l.changedDefaultMethod(a))}),e.TgZ(2,"span",39),e._uU(3),e.ALo(4,"translate"),e.qZA()()()}if(2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("checked",t.isDefaultChecked),e.xp6(2),e.hij(" ",e.lcZ(4,2,"LOGIN-METHODS.enable_method")," ")}}function yR(n,o){1&n&&(e._uU(0),e.ALo(1,"translate")),2&n&&e.hij(" ",e.lcZ(1,1,"LOGIN-METHODS.connection")," ")}function TR(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-option",60),e.NdJ("onSelectionChange",function(a){e.CHM(t);const l=e.oxw(2).$implicit,h=e.oxw(3);return e.KtG(h.updateTypeAd(a,l.id))}),e._uU(1),e.qZA()}if(2&n){const t=o.$implicit;e.Q6J("value",t),e.xp6(1),e.Oqu(t)}}function MR(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field",57)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",58),e.NdJ("valueChange",function(a){e.CHM(t);const l=e.oxw().$implicit;return e.KtG(l.control.value=a)}),e.YNc(5,TR,2,2,"mat-option",59),e.qZA()()}if(2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,4,t.label)),e.xp6(2),e.Q6J("value",t.control.value)("required",t.required),e.xp6(1),e.Q6J("ngForOf",t.values)}}function DR(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field",61)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",62),e.ALo(5,"translate"),e.TgZ(6,"mat-icon",63),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4);return e.KtG(a.showPassword=!a.showPassword)}),e._UZ(7,"i",64),e.qZA(),e.TgZ(8,"mat-hint"),e._uU(9),e.qZA()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(3);e.xp6(2),e.Oqu(e.lcZ(3,10,t.label)),e.xp6(2),e.s9C("placeholder",e.lcZ(5,12,t.label)),e.Q6J("formControl",t.control)("required",t.required)("type",i.showPassword?"text":"password"),e.xp6(3),e.ekj("fa-eye-slash",!i.showPassword)("fa-eye",i.showPassword),e.xp6(2),e.Oqu(t.hint)}}function ER(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",61)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",65),e.ALo(5,"translate"),e.TgZ(6,"mat-hint"),e._uU(7),e.qZA()()),2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,6,t.label)),e.xp6(2),e.s9C("placeholder",e.lcZ(5,8,t.label)),e.Q6J("formControl",t.control)("type",t.type)("required",t.required),e.xp6(3),e.Oqu(t.hint)}}function wR(n,o){if(1&n&&(e.ynx(0),e.YNc(1,MR,6,6,"mat-form-field",55),e.YNc(2,DR,10,14,"mat-form-field",56),e.YNc(3,ER,8,10,"mat-form-field",56),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","select"===t.type),e.xp6(1),e.Q6J("ngIf","password"===t.type),e.xp6(1),e.Q6J("ngIf","text"===t.type)}}function SR(n,o){1&n&&(e._uU(0),e.ALo(1,"translate")),2&n&&e.hij(" ",e.lcZ(1,1,"LOGIN-METHODS.synchronization")," ")}function AR(n,o){if(1&n&&(e.TgZ(0,"mat-option",67),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.Oqu(t.label)}}function LR(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field",57)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"mat-select",58),e.NdJ("valueChange",function(a){e.CHM(t);const l=e.oxw().$implicit;return e.KtG(l.control.value=a)}),e.YNc(5,AR,2,2,"mat-option",66),e.qZA(),e.TgZ(6,"mat-hint"),e._uU(7),e.qZA()()}if(2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,5,t.label)),e.xp6(2),e.Q6J("value",t.control.value)("required",t.required),e.xp6(1),e.Q6J("ngForOf",t.values),e.xp6(2),e.Oqu(t.hint)}}function OR(n,o){if(1&n&&(e.TgZ(0,"mat-form-field",61)(1,"mat-label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",68),e.ALo(5,"translate"),e.TgZ(6,"mat-hint"),e._uU(7),e.qZA()()),2&n){const t=e.oxw().$implicit;e.xp6(2),e.Oqu(e.lcZ(3,6,t.label)),e.xp6(2),e.s9C("placeholder",e.lcZ(5,8,t.label)),e.Q6J("formControl",t.control)("required",t.required)("type",t.type),e.xp6(3),e.Oqu(t.hint)}}function kR(n,o){if(1&n&&(e.ynx(0),e.YNc(1,LR,8,7,"mat-form-field",55),e.YNc(2,OR,8,10,"mat-form-field",56),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf","select"===t.type),e.xp6(1),e.Q6J("ngIf","text"===t.type)}}function IR(n,o){1&n&&(e._uU(0),e.ALo(1,"translate")),2&n&&e.hij(" ",e.lcZ(1,1,"LOGIN-METHODS.launching")," ")}function PR(n,o){1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"LOGIN-METHODS.launch")," "))}function RR(n,o){1&n&&e._UZ(0,"i",69)}function FR(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",37)(1,"mat-slide-toggle",38),e.NdJ("change",function(){e.CHM(t);const a=e.oxw().$implicit,l=e.oxw();return e.KtG(l.changedLdapMethod(a))}),e.TgZ(2,"span",39),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div")(6,"mat-stepper",40,41)(8,"mat-step")(9,"form",42),e.YNc(10,yR,2,3,"ng-template",43),e.YNc(11,wR,4,3,"ng-container",44),e.qZA(),e.TgZ(12,"div",45)(13,"button",46),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.checkLdapConnexion())}),e._uU(14),e.ALo(15,"translate"),e.qZA(),e.TgZ(16,"button",47),e._uU(17),e.ALo(18,"translate"),e.qZA()()(),e.TgZ(19,"mat-step"),e.YNc(20,SR,2,3,"ng-template",43),e.TgZ(21,"div",48),e.YNc(22,kR,3,2,"ng-container",44),e.qZA(),e.TgZ(23,"div",49)(24,"button",50),e._uU(25),e.ALo(26,"translate"),e.qZA(),e.TgZ(27,"button",51),e._uU(28),e.ALo(29,"translate"),e.qZA()()(),e.TgZ(30,"mat-step"),e.YNc(31,IR,2,3,"ng-template",43),e.TgZ(32,"p"),e._uU(33),e.ALo(34,"translate"),e.qZA(),e.TgZ(35,"div",52)(36,"button",50),e._uU(37),e.ALo(38,"translate"),e.qZA(),e.TgZ(39,"button",46),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.ldapSynchronization())}),e.YNc(40,PR,3,3,"span",8),e.YNc(41,RR,1,0,"i",53),e.qZA(),e.TgZ(42,"button",54),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.saveLoginMethodConfigs())}),e._uU(43),e.ALo(44,"translate"),e.qZA()()()()()()}if(2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("checked",t.isLdapChecked),e.xp6(2),e.hij(" ",e.lcZ(4,21,"LOGIN-METHODS.enable_method")," "),e.xp6(2),e.ekj("pointer-events-none",!t.isLdapChecked)("opacity-30",!t.isLdapChecked),e.xp6(1),e.Q6J("linear",t.isLinear),e.xp6(5),e.Q6J("ngForOf",t.connectionFormGroup),e.xp6(3),e.hij(" ",e.lcZ(15,23,"LOGIN-METHODS.test_connection")," "),e.xp6(3),e.hij(" ",e.lcZ(18,25,"LOGIN-METHODS.next")," "),e.xp6(5),e.Q6J("ngForOf",t.synchroparamsFormGroup),e.xp6(3),e.hij(" ",e.lcZ(26,27,"LOGIN-METHODS.return")," "),e.xp6(3),e.hij(" ",e.lcZ(29,29,"LOGIN-METHODS.next")," "),e.xp6(5),e.Oqu(e.lcZ(34,31,"LOGIN-METHODS.end_ldap_setup")),e.xp6(4),e.hij(" ",e.lcZ(38,33,"LOGIN-METHODS.return")," "),e.xp6(3),e.Q6J("ngIf",!t.isLaunchBtnDisabled),e.xp6(1),e.Q6J("ngIf",t.isLaunchBtnDisabled),e.xp6(1),e.ekj("cursor-not-allowed",t.isSaveBtnDisabled),e.Q6J("disabled",t.isSaveBtnDisabled),e.xp6(1),e.hij(" ",e.lcZ(44,35,"LOGIN-METHODS.register")," ")}}function NR(n,o){if(1&n&&(e.TgZ(0,"mat-tab",34),e.ALo(1,"translate"),e.TgZ(2,"div",35),e.YNc(3,bR,5,4,"div",36),e.YNc(4,FR,45,37,"div",36),e.qZA()()),2&n){const t=o.$implicit;e.Q6J("label",e.lcZ(1,3,"LOGIN-METHODS."+t.method_name)),e.xp6(3),e.Q6J("ngIf","default"===t.method_name),e.xp6(1),e.Q6J("ngIf","ldap"===t.method_name)}}let BR=(()=>{class n{constructor(t,i,a,l,h,E,N,oe){this.router=t,this.http=i,this.authService=a,this._formBuilder=l,this.translate=h,this.notify=E,this.serviceSettings=N,this.privilegesService=oe,this.loading=!0,this.isSaveBtnDisabled=!0,this.isLaunchBtnDisabled=!1,this.isLinear=!1,this.showPassword=!1,this.isLdapChecked=!1,this.isDefaultChecked=!1,this.connexionServerStatus=!1,this.synchroUsersStatus=!1,this.label=[(0,He.J)("LOGIN-METHODS.ldap"),(0,He.J)("LOGIN-METHODS.default")],this.loginMethods=[{login_method_name:"",enabled:""}],this.connectionFormGroup=[{id:"typeAD",label:this.translate.instant("LOGIN-METHODS.typeAD"),type:"select",control:new A.NI,values:["openLDAP","adLDAP"],required:!0},{id:"host",label:this.translate.instant("LOGIN-METHODS.host"),type:"text",control:new A.NI,required:!0,hint:"Ex : ldap://192.168.10.180"},{id:"port",label:this.translate.instant("LOGIN-METHODS.port"),type:"text",control:new A.NI,required:!0,hint:"Ex : 389"},{id:"loginAdmin",label:this.translate.instant("LOGIN-METHODS.login_admin"),type:"text",control:new A.NI,required:!0,hint:"Ex : admin"},{id:"passwordAdmin",label:this.translate.instant("LOGIN-METHODS.password_admin"),type:"password",control:new A.NI,required:!0},{id:"baseDN",label:this.translate.instant("LOGIN-METHODS.base_dn"),type:"text",control:new A.NI,required:!0,hint:"Ex : dc=edissyum,dc=com"},{id:"prefix",label:this.translate.instant("LOGIN-METHODS.prefix"),type:"text",values:[],control:new A.NI,required:!1,hint:"Ex : edissyum"},{id:"suffix",label:this.translate.instant("LOGIN-METHODS.suffix"),type:"text",values:[],control:new A.NI,required:!1,hint:"Ex : @domaine-edisslab.com"}],this.synchroparamsFormGroup=[{id:"attributSourceUser",label:this.translate.instant("LOGIN-METHODS.source_user_attribute"),type:"text",values:[],control:new A.NI,required:!0,hint:"Ex : uid"},{id:"classObject",label:this.translate.instant("LOGIN-METHODS.class_Object"),type:"text",control:new A.NI,required:!0,hint:"Ex : posixAccount"},{id:"classUser",label:this.translate.instant("LOGIN-METHODS.class_user"),type:"text",values:[],control:new A.NI,required:!0,hint:"Ex : objectClass"},{id:"attributFirstName",label:this.translate.instant("LOGIN-METHODS.first_name_attribute"),type:"text",control:new A.NI,required:!0,hint:"Ex : givenname"},{id:"attributLastName",label:this.translate.instant("LOGIN-METHODS.last_name_attribute"),type:"text",values:[],control:new A.NI,required:!0,hint:"Ex : sn"},{id:"usersDN",label:this.translate.instant("LOGIN-METHODS.usersDN"),type:"text",values:[],control:new A.NI,required:!0,hint:"Ex : cn=employes,ou=utilisateurs,dc=edissyum,dc=com"},{id:"attributRoleDefault",label:this.translate.instant("LOGIN-METHODS.role_default"),type:"select",values:[],control:new A.NI,required:!0,hint:"Ex : Utilisateur"}]}ngOnInit(){this.serviceSettings.init(),this.http.get(m.N.url+"/ws/auth/retrieveLoginMethodName").pipe((0,$e.b)(t=>{this.loginMethods=t.login_methods;for(const i of this.loginMethods)"default"===i.method_name&&(this.isDefaultChecked=!!i.enabled),"ldap"===i.method_name&&(this.isLdapChecked=!!i.enabled)}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/roles/list",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.synchroparamsFormGroup.forEach(i=>{"attributRoleDefault"===i.id&&(i.values=t.roles)}),this.http.get(m.N.url+"/ws/auth/retrieveLdapConfigurations",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{const a=i.ldap_configurations;this.connectionFormGroup.forEach(l=>{for(const h of a)"password"!==l.type&&l.control.setValue(h.data[l.id])}),this.synchroparamsFormGroup.forEach(l=>{for(const h of a)l.control.setValue(h.data[l.id])})}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}updateTypeAd(t,i){if(t.isUserInput){let a=!0;"typeAD"===i&&"adLDAP"===t.source.value&&(a=!1),this.connectionFormGroup.forEach(l=>{"baseDN"===l.id&&(l.required=a)})}}changedDefaultMethod(t){this.isDefaultChecked?this.isDefaultChecked&&this.disableLoginMethod(t):this.enableLoginMethod(t)}changedLdapMethod(t){this.isLdapChecked?this.isLdapChecked&&this.disableLoginMethod(t):this.isLdapChecked=!0}isValidConnexionForm(){let t=!0;return this.connectionFormGroup.forEach(i=>{"DISABLED"!==i.control.status&&"VALID"!==i.control.status&&(t=!1),i.control.markAsTouched()}),t}isValidSynchronizationForm(){let t=!0;return this.connectionFormGroup.forEach(i=>{"DISABLED"!==i.control.status&&"VALID"!==i.control.status&&(t=!1),i.control.markAsTouched()}),t}disableLoginMethod(t){this.http.post(m.N.url+"/ws/auth/disableLoginMethodName",t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{"default"===t.method_name&&(this.isDefaultChecked=!1),"ldap"===t.method_name&&(this.isLdapChecked=!1),this.notify.success(this.translate.instant("LOGIN-METHODS.login_method_disabled"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}enableLoginMethod(t){this.http.post(m.N.url+"/ws/auth/enableLoginMethodName",t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{"default"===t.method_name&&(this.isDefaultChecked=!0),this.notify.success(this.translate.instant("LOGIN-METHODS.login_method_enabled"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}checkLdapConnexion(){if(this.isValidConnexionForm()){const t={};this.connectionFormGroup.forEach(i=>{t[i.id]=i.control.value}),this.http.post(m.N.url+"/ws/auth/connectionLdap",t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.connexionServerStatus=!0,this.notify.success(this.translate.instant("LOGIN-METHODS.server_ldap_connection"))}),(0,Ke.K)(i=>(this.isSaveBtnDisabled=!0,this.connexionServerStatus=!1,console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}}ldapSynchronization(){if(this.isLaunchBtnDisabled=!0,this.isValidSynchronizationForm()&&this.isValidConnexionForm()){const t={};this.connectionFormGroup.forEach(i=>{t[i.id]=i.control.value}),this.synchroparamsFormGroup.forEach(i=>{t[i.id]=i.control.value}),this.http.post(m.N.url+"/ws/auth/ldapSynchronization",t,{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.isSaveBtnDisabled=!1,this.isLaunchBtnDisabled=!1,this.synchroUsersStatus=!0,this.notify.success(this.translate.instant("LOGIN-METHODS.result_synchronization_operation",{users_added:i.create_users,users_updated:i.update_users,users_disabled:i.disabled_users}))}),(0,Ke.K)(i=>(this.isSaveBtnDisabled=!0,this.isLaunchBtnDisabled=!1,this.synchroUsersStatus=!1,console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}}saveLoginMethodConfigs(){if(this.isValidSynchronizationForm()&&this.isValidConnexionForm()){if(this.connexionServerStatus&&this.synchroUsersStatus){const t={};this.connectionFormGroup.forEach(i=>{t[i.id]=i.control.value}),this.synchroparamsFormGroup.forEach(i=>{t[i.id]=i.control.value}),this.http.post(m.N.url+"/ws/auth/saveLoginMethodConfigs",t,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.isLdapChecked=!0,this.notify.success(this.translate.instant("LOGIN-METHODS.save_ldap_infos_success"))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}}else this.isSaveBtnDisabled=!0}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(pi.e),e.Y36(A.qu),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-login-methods"]],decls:22,vars:14,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],[3,"message"],[1,"login-methods-tab"],[3,"label",4,"ngFor","ngForOf"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],[3,"label"],[1,"list-container"],["class","text-center text-base mt-8",4,"ngIf"],[1,"text-center","text-base","mt-8"],[3,"checked","change"],[1,"justify-center"],["orientation","horizontal",3,"linear"],["stepper",""],[1,"grid","gap-x-8","gap-y-2","grid-cols-3","text-center"],["matStepLabel",""],[4,"ngFor","ngForOf"],[1,"mb-6","mt-4","grid","grid-cols-2","gap-4","h-12","text-gray-900"],["type","submit","mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300",3,"click"],["matStepperNext","","mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300"],[1,"grid","grid-cols-4","gap-x-4","gap-y-10","m-5"],[1,"mb-6","grid","grid-cols-2","gap-4","h-12","text-gray-900"],["matStepperPrevious","","mat-button","",1,"border-solid","border-red-400","border","hover:bg-red-400","hover:text-white","transition","duration-300"],["matStepperNext","","mat-button","",1,"border-solid","border-green-400","border","border-opacity-70","hover:bg-green-400","hover:bg-opacity-70","hover:text-white","transition","duration-300"],[1,"mb-6","grid","grid-cols-3","gap-4","h-12","text-gray-900"],["class","fa-solid text-2xl fa-circle-notch fa-spin text-gray-900","style","--fa-animation-duration: 1.5s;margin-top: -0.2rem;",4,"ngIf"],["mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","shover:text-white","transition","duration-300",3,"disabled","click"],["class","block",4,"ngIf"],["appearance","outline",4,"ngIf"],[1,"block"],[3,"value","required","valueChange"],[3,"value","onSelectionChange",4,"ngFor","ngForOf"],[3,"value","onSelectionChange"],["appearance","outline"],["matInput","",3,"formControl","placeholder","required","type"],["matSuffix","",1,"text-green-400","relative","cursor-pointer","-top-1.5","text-base",3,"click"],[1,"fa","fa-1x"],["matInput","",3,"formControl","type","required","placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["matInput","",3,"formControl","required","type","placeholder"],[1,"fa-solid","text-2xl","fa-circle-notch","fa-spin","text-gray-900",2,"--fa-animation-duration","1.5s","margin-top","-0.2rem"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,vR,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,xR,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16),e.qZA(),e._UZ(17,"hr",4),e.qZA()(),e._UZ(18,"app-hint",13),e.ALo(19,"translate"),e.TgZ(20,"mat-tab-group",14),e.YNc(21,NR,5,5,"mat-tab",15),e.qZA()()()}if(2&t){const a=e.MAs(2);e.xp6(4),e.Oqu(e.lcZ(5,10,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(2),e.Q6J("message",e.lcZ(19,12,"LOGIN-METHODS.limit_enabled_methods")),e.xp6(3),e.Q6J("ngForOf",i.loginMethods)}},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.KE,Rt.bx,Rt.hX,Rt.R9,Be.gD,b.ey,Va.Rr,an.Nt,va.SP,va.uX,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.ib,Zt.yz,Zt.yK,So,rn.Hk,Rn.d,Iu,Ou,H_,yc,Vf,A._Y,A.Fj,A.JJ,A.JL,A.Q7,A.oH,A.F,Cn.R,od.J,$t.X$],styles:[".mat-form-field[_ngcontent-%COMP%]{margin-top:16px} .mat-step-header .mat-step-icon-selected{--tw-bg-opacity: 1;background-color:rgb(151 191 61 / var(--tw-bg-opacity))} .login-methods-tab .mat-tab-header .mat-tab-label-container>.mat-tab-list>.mat-tab-labels>.mat-tab-label{width:50%}"]}),n})();function UR(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",43)(1,"button",44),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",45),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function ZR(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,UR,6,11,"div",42),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function YR(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",36)(1,"mat-expansion-panel-header",37)(2,"mat-panel-title",38),e._UZ(3,"i"),e.TgZ(4,"button",39),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",40),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,ZR,2,7,"div",41),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function HR(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,YR,9,15,"mat-expansion-panel",35),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function VR(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",39),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",40),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function GR(n,o){if(1&n&&e.YNc(0,VR,5,11,"button",46),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function KR(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,HR,2,1,"div",33),e.YNc(2,GR,1,1,"ng-template",null,34,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function jR(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",29),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",30)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",31),e.YNc(6,KR,4,6,"div",32),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function WR(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function qR(n,o){if(1&n&&(e.TgZ(0,"mat-option",47),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.Oqu(t.label)}}function JR(n,o){if(1&n&&(e.TgZ(0,"strong"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,t.label))}}function $R(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-form-field",69)(1,"input",70),e.NdJ("focusout",function(a){e.CHM(t);const l=e.oxw().$implicit,h=e.oxw(2);return e.KtG(h.updateLabel(a,l))}),e.ALo(2,"translate"),e.qZA()()}if(2&n){const t=e.oxw().$implicit;e.xp6(1),e.Q6J("value",e.lcZ(2,1,t.label))}}function zR(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"i",71),e.NdJ("click",function(){e.CHM(t);const a=e.oxw().$implicit;return e.KtG(a.updateMode=!0)}),e.qZA()}}function QR(n,o){1&n&&e._UZ(0,"i",72)}function XR(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",63),e.YNc(1,JR,3,3,"strong",8),e.YNc(2,$R,3,3,"mat-form-field",64),e._uU(3," \xa0: "),e._UZ(4,"span",65),e.YNc(5,zR,1,0,"i",66),e.YNc(6,QR,1,0,"i",67),e.TgZ(7,"i",68),e.NdJ("click",function(){const a=e.CHM(t),l=a.$implicit,h=a.index,E=e.oxw(2);return e.KtG(E.removeLine(l.id,h))}),e.qZA()()}if(2&n){const t=o.$implicit;e.xp6(1),e.Q6J("ngIf",!t.updateMode),e.xp6(1),e.Q6J("ngIf",t.updateMode),e.xp6(3),e.Q6J("ngIf",!t.updateMode),e.xp6(1),e.Q6J("ngIf",t.updateMode)}}function e4(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",48)(1,"mat-card",49)(2,"label",50),e._UZ(3,"input",51),e.qZA(),e.TgZ(4,"div",52)(5,"mat-icon",53),e._uU(6,"more_vert"),e.qZA()(),e._UZ(7,"div",54),e.TgZ(8,"mat-card-header",55)(9,"mat-card-title",56)(10,"span",57),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.TgZ(13,"span",58),e._uU(14," 0 "),e._UZ(15,"i",59),e.qZA()(),e.TgZ(16,"mat-card-subtitle",60)(17,"div",61),e.NdJ("cdkDropListDropped",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.drop_card(a))}),e.YNc(18,XR,8,4,"div",62),e.qZA()()()()()}if(2&n){const t=e.oxw();e.xp6(3),e.Q6J("disabled",!0),e.xp6(8),e.hij(" ",e.lcZ(12,5,"ACCOUNTS.supplier_name")," "),e.xp6(2),e.Q6J("matTooltip",t.translate.instant("VERIFIER.nb_pages")+" : "),e.xp6(4),e.Q6J("cdkDropListData",t.currentForm.settings.display.subtitles),e.xp6(1),e.Q6J("ngForOf",t.currentForm.settings.display.subtitles)}}function t4(n,o){1&n&&(e.TgZ(0,"div",73)(1,"div",74),e._UZ(2,"i",75),e.TgZ(3,"span",76),e._uU(4),e.ALo(5,"translate"),e.qZA()()()),2&n&&(e.xp6(4),e.hij(" ",e.lcZ(5,1,"OUTPUT.loading_custom_fields")," "))}function n4(n,o){if(1&n&&(e.TgZ(0,"div",79)(1,"span",80),e._uU(2),e.ALo(3,"translate"),e.qZA()()),2&n){const t=o.$implicit;e.xp6(2),e.hij(" ",e.lcZ(3,1,t.label)," ")}}function a4(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",77),e.NdJ("cdkDropListDropped",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.drop(a))}),e.YNc(1,n4,4,3,"div",78),e.qZA()}if(2&n){const t=e.oxw();e.Q6J("cdkDropListData",t.availableFieldsTmp),e.xp6(1),e.Q6J("ngForOf",t.availableFieldsTmp)}}let o4=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt){this.router=t,this.http=i,this.route=a,this.userService=l,this.formBuilder=h,this.authService=E,this.translate=N,this.notify=oe,this.historyService=xe,this.serviceSettings=Ve,this.privilegesService=lt,this.loading=!0,this.loadingCustomFields=!0,this.formLoaded=!1,this.forms=[],this.availableFieldsTmp=[],this.currentForm={},this.formInput={control:new A.NI,values:[]},this.availableFields=[{id:"invoice_id",label:(0,He.J)("VERIFIER.document_id")},{id:"invoice_number",label:"FACTURATION.invoice_number"},{id:"quotation_number",label:"FACTURATION.quotation_number"},{id:"document_date",label:(0,He.J)("FACTURATION.document_date")},{id:"date",label:(0,He.J)("VERIFIER.register_date")},{id:"delivery_number",label:"FACTURATION.delivery_number"},{id:"form_label",label:(0,He.J)("VERIFIER.form")},{id:"original_filename",label:(0,He.J)("VERIFIER.original_file")}]}ngOnInit(){this.serviceSettings.init(),this.http.get(m.N.url+"/ws/customFields/list?module=verifier",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{t.customFields.forEach(i=>{this.availableFields.push({id:"custom_"+i.id,label:i.label})}),this.availableFields.forEach(i=>{this.availableFieldsTmp.push(i)})}),(0,Di.x)(()=>this.loadingCustomFields=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe(),this.http.get(m.N.url+"/ws/forms/list?module=verifier",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.forms=t.forms,this.formInput.values=t.forms}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}loadDisplay(t){this.loading=!0,this.availableFieldsTmp=[],this.availableFields.forEach(a=>{this.availableFieldsTmp.push(a)});const i=t.value;this.forms.forEach(a=>{a.id===i&&(this.formLoaded=!0,this.currentForm=a,this.currentForm.settings.display&&this.currentForm.settings.display.subtitles.forEach(l=>{this.availableFieldsTmp.forEach((h,E,N)=>{l.id===h.id&&N.splice(E,1)})}))}),this.loading=!1}updateLabel(t,i){i.label=t.target.value,i.updateMode=!1}updateDisplay(){this.currentForm.settings.display.subtitles.forEach(t=>{delete t.updateMode}),this.http.put(m.N.url+"/ws/forms/updateDisplay/"+this.currentForm.id,this.currentForm.settings.display,{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.historyService.addHistory("verifier","update_form_display",this.translate.instant("HISTORY-DESC.update_form_display",{form:this.currentForm.label})),this.notify.success(this.translate.instant("FORMS.display_updated_success"))}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}removeLine(t,i){this.currentForm.settings.display.subtitles.forEach(a=>{t===a.id&&(this.currentForm.settings.display.subtitles.splice(i,1),this.loadDisplay({value:this.currentForm.id}))})}drop_card(t){t.previousContainer===t.container?Hs(t.container.data,t.previousIndex,t.currentIndex):vr(t.previousContainer.data,t.container.data,t.previousIndex,t.currentIndex)}drop(t){t.previousContainer===t.container?Hs(t.container.data,t.previousIndex,t.currentIndex):vr(t.previousContainer.data,t.container.data,t.previousIndex,t.currentIndex)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Nt.gz),e.Y36(zi.K),e.Y36(A.qu),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-display-list"]],decls:44,vars:32,consts:[["cdkDropListGroup","",1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white","overflow-hidden"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"settings_title","text-center"],["mat-icon-button","",1,"absolute","right-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-xl","text-gray-900"],[1,"overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 64px)"],[3,"message"],[1,"w-1/3","m-auto","mt-4"],[1,"block"],[3,"formControl","selectionChange"],[3,"value",4,"ngFor","ngForOf"],["class","m-auto mt-8 w-1/2 xl:w-1/3",4,"ngIf"],[1,"flex","justify-center","items-center","mt-8"],["mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300",3,"disabled"],[1,"block",3,"click"],["mode","side","opened","","position","end",1,"available-fields","w-1/4","flex","flex-col","h-full","border-r","border-green-400"],["sidenav2",""],["class","flex text-gray-400 object-contain","style","height: calc(100% - 8rem)",4,"ngIf"],["class","overflow-x-hidden overflow-y-auto","style","height: calc(100% - 64px)","cdkDropList","",3,"cdkDropListData","cdkDropListDropped",4,"ngIf"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],[3,"value"],[1,"m-auto","mt-8","w-1/2","xl:w-1/3"],[1,"p-0","mb-0"],[1,"p-5","absolute"],["type","checkbox",1,"accent-green-400","checkBox_list",3,"disabled"],[1,"absolute","right-0","p-5"],[1,"field_settings","text-md"],[1,"h-64","bg-gradient-to-br","from-green-400","to-gray-600"],[1,"leading-6","relative","z-10","bg-white","pt-4","pl-4","pr-4"],[1,"break-all"],[1,"leading-5","text-lg"],[1,"absolute","right-6","text-green-400","text-base","badge","badge-secondary","badge-pill",3,"matTooltip"],[1,"far","fa-file-alt","ml-1"],[1,"subtitles","mt-2","mb-2"],["cdkDropList","",3,"cdkDropListData","cdkDropListDropped"],["cdkDrag","","class","cursor-move mt-1 flex align-center items-center",4,"ngFor","ngForOf"],["cdkDrag","",1,"cursor-move","mt-1","flex","align-center","items-center"],["appearance","outline",4,"ngIf"],[1,"ml-2","w-4/12","h-3","bg-gradient-to-br","from-green-400","to-gray-600"],["class","fa-solid fa-edit cursor-pointer absolute right-6 mt-0.5",3,"click",4,"ngIf"],["class","fa-solid fa-check cursor-pointer absolute right-6 mt-0.5",4,"ngIf"],[1,"fa-solid","fa-trash","text-red-500","cursor-pointer","absolute","right-2","mt-1",3,"click"],["appearance","outline"],["matInput","",1,"relative","-top-2.5",3,"value","focusout"],[1,"fa-solid","fa-edit","cursor-pointer","absolute","right-6","mt-0.5",3,"click"],[1,"fa-solid","fa-check","cursor-pointer","absolute","right-6","mt-0.5"],[1,"flex","text-gray-400","object-contain",2,"height","calc(100% - 8rem)"],[1,"m-auto","text-center"],[1,"fa-solid","fa-code","fa-4x","fa-beat-fade","w-full","mb-2",2,"--fa-animation-duration","1.5s"],[1,"w-full"],["cdkDropList","",1,"overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 64px)",3,"cdkDropListData","cdkDropListDropped"],["class","my-8 ml-2 text-base","cdkDrag","",4,"ngFor","ngForOf"],["cdkDrag","",1,"my-8","ml-2","text-base"],[1,"cursor-move"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,jR,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,WR,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",12)(15,"h3"),e._uU(16),e.qZA(),e._UZ(17,"hr",4),e.qZA(),e.TgZ(18,"button",13),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(37);return e.KtG(h.toggle())}),e._UZ(19,"i",14),e.qZA()(),e.TgZ(20,"div",15),e._UZ(21,"app-hint",16),e.ALo(22,"translate"),e.TgZ(23,"div",17)(24,"mat-form-field",18)(25,"mat-label"),e._uU(26),e.ALo(27,"translate"),e.qZA(),e.TgZ(28,"mat-select",19),e.NdJ("selectionChange",function(h){return i.loadDisplay(h)}),e.YNc(29,qR,2,2,"mat-option",20),e.qZA()()(),e.YNc(30,e4,19,7,"div",21),e.TgZ(31,"div",22)(32,"button",23)(33,"span",24),e.NdJ("click",function(){return i.updateDisplay()}),e._uU(34),e.ALo(35,"translate"),e.qZA()()()()(),e.TgZ(36,"mat-sidenav",25,26)(38,"h3",3),e._uU(39),e.ALo(40,"translate"),e.qZA(),e._UZ(41,"mat-divider",4),e.YNc(42,t4,6,3,"div",27),e.YNc(43,a4,2,2,"div",28),e.qZA()()}if(2&t){const a=e.MAs(2),l=e.MAs(37);e.xp6(4),e.Oqu(e.lcZ(5,22,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(3),e.Oqu(i.serviceSettings.getTitle()),e.xp6(3),e.ekj("transform",l.opened)("rotate-180",l.opened),e.xp6(2),e.Q6J("message",e.lcZ(22,24,"FORMS.display_hint")),e.xp6(5),e.Oqu(e.lcZ(27,26,"FORMS.choose_form")),e.xp6(2),e.Q6J("formControl",i.formInput.control),e.xp6(1),e.Q6J("ngForOf",i.formInput.values),e.xp6(1),e.Q6J("ngIf",i.formLoaded),e.xp6(2),e.Q6J("disabled",!i.formLoaded),e.xp6(2),e.Oqu(e.lcZ(35,28,"FORMS.modify_display")),e.xp6(5),e.hij(" ",e.lcZ(40,30,"FORMS.available_fields")," "),e.xp6(3),e.Q6J("ngIf",i.loadingCustomFields),e.xp6(1),e.Q6J("ngIf",!i.loadingCustomFields)}},dependencies:[_e.sg,_e.O5,Nt.rH,Rt.KE,Rt.hX,Be.gD,b.ey,an.Nt,Xn,Vt.JX,Vt.TM,Vt.Rh,Y.lW,ot,qt,We,Ie,Zt.ib,Zt.yz,Zt.yK,So,rn.Hk,Rn.d,A.JJ,A.oH,e_,Xu,ld,Cn.R,od.J,$t.X$],styles:[".cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-preview[_ngcontent-%COMP%] > i[_ngcontent-%COMP%], .cdk-drop-list-dragging[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{display:none}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1)} .mat-card-header-text{width:100%} .subtitles .mat-form-field-wrapper{padding-top:.5rem;padding-bottom:.5rem} .subtitles .mat-form-field-wrapper .mat-form-field-infix{max-height:1vh!important} .subtitles .mat-form-field-wrapper .mat-form-field-infix .mat-select-value{position:relative;top:-.125rem}"]}),n})();function r4(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",28)(1,"button",29),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(4).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(2,"i"),e.TgZ(3,"p",30),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,i=e.oxw(5);e.xp6(1),e.ekj("text-green-400",i.router.url.includes(t.route))("disable_link",t.showOnlyIfActive),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 text-lg w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.xp6(2),e.hij(" ",e.lcZ(5,9,t.label)," ")}}function s4(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,r4,6,11,"div",27),e.qZA()),2&n){const t=o.$implicit,i=e.oxw(3).$implicit,a=e.oxw(2);e.ekj("border-gray-600",!t.showOnlyIfActive)("border-t",!t.showOnlyIfActive)("w-full",!t.showOnlyIfActive),e.xp6(1),e.Q6J("ngIf",(a.privilegesService.hasPrivilege(t.privilege)||"*"===i.privilege)&&(!t.showOnlyIfActive||t.showOnlyIfActive&&a.router.url.includes(t.route)))}}function l4(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",21)(1,"mat-expansion-panel-header",22)(2,"mat-panel-title",23),e._UZ(3,"i"),e.TgZ(4,"button",24),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e.TgZ(5,"p",25),e._uU(6),e.ALo(7,"translate"),e.qZA()()()(),e.YNc(8,s4,2,7,"div",26),e.qZA()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw().$implicit,a=e.oxw();e.Q6J("expanded",a.router.url.includes(t.route)),e.xp6(3),e.Gre("absolute text-lg left-4 w-10 h-10 rounded-full flex items-center justify-center ",t.icon,""),e.ekj("text-green-400",a.router.url===t.route),e.xp6(1),e.ekj("text-green-400",a.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.ekj("font-medium",a.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(7,13,t.label)," "),e.xp6(2),e.Q6J("ngForOf",a.serviceSettings.getSettingsAction(i.id,t.id))}}function c4(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,l4,9,15,"mat-expansion-panel",20),e.qZA()),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function d4(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",24),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2).$implicit,l=e.oxw().$implicit,h=e.oxw();return e.KtG(h.serviceSettings.changeSetting(a.id,l.id))}),e._UZ(1,"i"),e.TgZ(2,"p",25),e._uU(3),e.ALo(4,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2).$implicit,i=e.oxw(2);e.ekj("text-green-400",i.router.url===t.route),e.Q6J("routerLink",t.route),e.xp6(1),e.Gre("absolute -mt-2.5 2xl:-mt-2 left-4 w-10 h-10 rounded-full flex items-center justify-center fa-lg ",t.icon,""),e.xp6(1),e.ekj("font-medium",i.router.url===t.route),e.xp6(1),e.hij(" ",e.lcZ(4,9,t.label)," ")}}function u4(n,o){if(1&n&&e.YNc(0,d4,5,11,"button",31),2&n){const t=e.oxw().$implicit,i=e.oxw(2);e.Q6J("ngIf",i.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)}}function _4(n,o){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,c4,2,1,"div",18),e.YNc(2,u4,1,1,"ng-template",null,19,e.W1O),e.qZA()),2&n){const t=o.$implicit,i=e.MAs(3),a=e.oxw().$implicit,l=e.oxw();e.ekj("border-b",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege)("border-gray-400",l.privilegesService.hasPrivilege(t.privilege)||"*"===t.privilege),e.xp6(1),e.Q6J("ngIf",l.serviceSettings.getSettingsAction(a.id,t.id))("ngIfElse",i)}}function p4(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-expansion-panel",14),e.NdJ("opened",function(){const l=e.CHM(t).$implicit,h=e.oxw();return e.KtG(h.serviceSettings.closeOtherParent(h.router.url,l.id))}),e.TgZ(1,"mat-expansion-panel-header",15)(2,"mat-panel-title"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"div",16),e.YNc(6,_4,4,6,"div",17),e.qZA()()}if(2&n){const t=o.$implicit,i=e.oxw();e.Q6J("expanded",t.opened),e.xp6(3),e.hij(" ",e.lcZ(4,3,t.label)," "),e.xp6(3),e.Q6J("ngForOf",i.serviceSettings.getSettings()[t.id])}}function h4(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"app-loader"),e.qZA())}function m4(n,o){if(1&n&&(e.TgZ(0,"mat-option",45),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t.id),e.xp6(1),e.Oqu(t.lastname+" "+t.firstname)}}function g4(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",32),e._UZ(1,"app-hint",33),e.ALo(2,"translate"),e._UZ(3,"hr",34),e.TgZ(4,"div",35)(5,"mat-checkbox",36),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.quotaEnabled=a)}),e.ALo(6,"translate"),e._uU(7),e.ALo(8,"translate"),e.qZA()(),e.TgZ(9,"div",37)(10,"mat-form-field",38)(11,"mat-label"),e._uU(12),e.ALo(13,"translate"),e.qZA(),e.TgZ(14,"input",39),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.quotaNumber=a)}),e.qZA()(),e.TgZ(15,"mat-form-field",38)(16,"mat-label"),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.TgZ(19,"mat-select",40),e.YNc(20,m4,2,2,"mat-option",41),e.qZA()(),e.TgZ(21,"mat-form-field",38)(22,"mat-label"),e._uU(23),e.ALo(24,"translate"),e.qZA(),e._UZ(25,"input",42),e.qZA()(),e.TgZ(26,"div",43)(27,"button",44),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.updateQuotaNumber())}),e._uU(28),e.ALo(29,"translate"),e.qZA()()()}if(2&n){const t=e.oxw();e.xp6(1),e.Q6J("message",e.lcZ(2,14,"USER-QUOTA.description")),e.xp6(4),e.s9C("matTooltip",e.lcZ(6,16,"USER-QUOTA.enabled")),e.Q6J("ngModel",t.quotaEnabled),e.xp6(2),e.hij(" ",e.lcZ(8,18,"USER-QUOTA.enabled")," "),e.xp6(5),e.Oqu(e.lcZ(13,20,"USER-QUOTA.quota_number")),e.xp6(2),e.Q6J("ngModel",t.quotaNumber),e.xp6(3),e.Oqu(e.lcZ(18,22,"USER-QUOTA.filtered_users")),e.xp6(2),e.Q6J("formControl",t.usersControlSelect)("multiple",!0)("value",t.quotaUsersfiltered),e.xp6(1),e.Q6J("ngForOf",t.usersList),e.xp6(3),e.Oqu(e.lcZ(24,24,"USER-QUOTA.email_dest")),e.xp6(2),e.Q6J("formControl",t.quotaEmailDestControl),e.xp6(3),e.hij(" ",e.lcZ(29,26,"USER-QUOTA.update")," ")}}const f4=[{path:"settings",component:A1,data:{title:"GLOBAL.settings",privileges:["settings"]},canActivate:[en,sn]},{path:"settings/general/configurations",component:eL,data:{title:"SETTINGS.configurations",privileges:["settings","configurations"]},canActivate:[en,sn]},{path:"settings/general/docservers",component:OL,data:{title:"SETTINGS.docservers",privileges:["settings","docservers"]},canActivate:[en,sn]},{path:"settings/general/regex",component:rO,data:{title:"SETTINGS.regex",privileges:["settings","regex"]},canActivate:[en,sn]},{path:"settings/general/mailcollect",component:p6,data:{title:"SETTINGS.mailcollect",privileges:["settings","mailcollect"]},canActivate:[en,sn]},{path:"settings/general/user-quota",component:(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt,Ft){this.router=t,this.http=i,this.dialog=a,this.route=l,this.userService=h,this.formBuilder=E,this.authService=N,this.translate=oe,this.notify=xe,this.historyService=Ve,this.serviceSettings=lt,this.privilegesService=Ft,this.headers=this.authService.headers,this.loading=!0,this.quotaNumber=0,this.quotaEnabled=!1,this.quotaUsersfiltered=[],this.usersControlSelect=new A.NI,this.quotaEmailDestControl=new A.NI("",A.kI.pattern("^[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$")),this.usersList=[],this.userQuotaConfigId=0}ngOnInit(){this.serviceSettings.init(),this.http.get(m.N.url+"/ws/users/list",{headers:this.authService.headers}).pipe((0,$e.b)(t=>{this.usersList=t.users,this.http.get(m.N.url+"/ws/config/getConfiguration/userQuota",{headers:this.authService.headers}).pipe((0,$e.b)(i=>{this.userQuotaConfigId=i.configuration[0].id,1===i.configuration.length&&(this.quotaEnabled=i.configuration[0].data.value.enabled,this.quotaNumber=i.configuration[0].data.value.quota,this.quotaEmailDestControl.setValue(i.configuration[0].data.value.email_dest),i.configuration[0].data.value.users_filtered.forEach(a=>{this.usersList.forEach(l=>{l.username===a.trim()&&this.quotaUsersfiltered.push(l.id)}),this.usersControlSelect.setValue(this.quotaUsersfiltered)}))}),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}),(0,Di.x)(()=>{this.loading=!1}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe()}updateQuotaNumber(){this.loading=!0;const t={value:{enabled:this.quotaEnabled,quota:this.quotaNumber,users_filtered:[],email_dest:this.quotaEmailDestControl.value}};this.usersControlSelect.value.forEach(i=>{this.usersList.forEach(a=>{a.id===i&&t.value.users_filtered.push(a.username)})}),this.http.put(m.N.url+"/ws/config/updateConfiguration/"+this.userQuotaConfigId,{data:t},{headers:this.authService.headers}).pipe((0,$e.b)(()=>{this.notify.success(this.translate.instant("USER-QUOTA.updated")),this.historyService.addHistory("general","mailcollect",this.translate.instant("HISTORY-DESC.user_quota_updated"))}),(0,Di.x)(()=>this.loading=!1),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(Ui),e.Y36(Nt.gz),e.Y36(zi.K),e.Y36(A.qu),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(kn.q),e.Y36(xn.g),e.Y36(nn.y))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-user-quota"]],decls:18,vars:11,consts:[[1,"absolute","left-0","right-0","bottom-0",2,"top","4.1rem"],["mode","side","opened","",1,"w-1/6","flex","flex-col","h-full","border-r","border-green-400",2,"top","0.1rem"],["sidenav",""],[1,"bg-green-400","bg-opacity-60","text-center","text-gray-900","m-0","pb-4",2,"padding-top","0.9rem"],[1,"border-green-400"],[1,"pt-0","overflow-x-hidden","overflow-y-auto",2,"height","calc(100% - 60px)"],[3,"expanded","opened",4,"ngFor","ngForOf"],[1,"bg-white"],[4,"ngIf"],[1,"settings_header"],["mat-icon-button","",1,"absolute","left-2","top-2",3,"click"],[1,"fa-solid","fa-stream","text-2xl","text-gray-900"],[1,"text-center"],["class","w-full overflow-auto","style","height: calc(100% - 64px)",4,"ngIf"],[3,"expanded","opened"],[1,"settings_expansion"],[1,"w-full","border-t-2","border-gray-600"],[3,"border-b","border-gray-400",4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["noActions",""],[3,"expanded",4,"ngIf"],[3,"expanded"],[1,"font-normal","w-full","h-20"],[1,"font-normal","justify-center","items-center","text-center"],["mat-button","",1,"pr-0","ml-2","font-normal","w-full","h-20","flex","justify-center","items-center","text-center",3,"routerLink","click"],[1,"m-0","truncate","w-11/12","text-xs","2xl:text-sm"],[3,"border-gray-600","border-t","w-full",4,"ngFor","ngForOf"],["class","border-b border-gray-400",4,"ngIf"],[1,"border-b","border-gray-400"],["mat-button","",1,"font-normal","w-full","h-12","ml-2","2xl:ml-12","flex","items-center","text-center",3,"routerLink","click"],[1,"m-0","ml-10","2xl:ml-12","text-xs","2xl:text-sm",2,"margin-top","2.5px!important"],["mat-button","","class","pr-0 ml-2 font-normal w-full h-20 flex justify-center items-center text-center",3,"text-green-400","routerLink","click",4,"ngIf"],[1,"w-full","overflow-auto",2,"height","calc(100% - 64px)"],[3,"message"],[1,"border-green-400","w-1/3","mx-auto","my-4"],[1,"w-1/3","mx-auto","my-10","text-center"],[3,"ngModel","matTooltip","ngModelChange"],[1,"flex","justify-center","items-center","align-middle"],[1,"block","p-4","w-1/3"],["matInput","","type","number",3,"ngModel","ngModelChange"],[3,"formControl","multiple","value"],[3,"value",4,"ngFor","ngForOf"],["matInput","","type","text",3,"formControl"],[1,"flex","justify-center","m-6"],["type","submit","mat-button","",1,"border-solid","border-green-400","border","hover:bg-green-400","hover:text-white","transition","duration-300",3,"click"],[3,"value"]],template:function(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2)(3,"h3",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e._UZ(6,"mat-divider",4),e.TgZ(7,"mat-nav-list",5),e.YNc(8,p4,7,5,"mat-expansion-panel",6),e.qZA()(),e.TgZ(9,"mat-sidenav-content",7),e.YNc(10,h4,2,0,"div",8),e.TgZ(11,"div",9)(12,"button",10),e.NdJ("click",function(){e.CHM(a);const h=e.MAs(2);return e.KtG(h.toggle())}),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"h3",12),e._uU(15),e.qZA(),e._UZ(16,"hr",4),e.qZA(),e.YNc(17,g4,30,28,"div",13),e.qZA()()}if(2&t){const a=e.MAs(2);e.xp6(4),e.Oqu(e.lcZ(5,9,"SETTINGS.administration")),e.xp6(4),e.Q6J("ngForOf",i.serviceSettings.getSettingsParent()),e.xp6(2),e.Q6J("ngIf",i.loading),e.xp6(3),e.ekj("transform",!a.opened)("rotate-180",!a.opened),e.xp6(2),e.Oqu(i.serviceSettings.getTitle()),e.xp6(2),e.Q6J("ngIf",!i.loading)}},dependencies:[_e.sg,_e.O5,Nt.rH,Sa,Rt.KE,Rt.hX,Be.gD,b.ey,an.Nt,Xn,Vt.JX,Vt.TM,Vt.Rh,Y.lW,Zt.ib,Zt.yz,Zt.yK,rn.Hk,Rn.d,A.Fj,A.wV,A.JJ,A.oH,A.On,Cn.R,od.J,$t.X$],styles:[".mat-option[_ngcontent-%COMP%]{background:transparent!important} .mat-pseudo-checkbox-checked{--tw-bg-opacity: 1 !important;background-color:rgb(151 191 61 / var(--tw-bg-opacity))!important}"]}),n})(),data:{title:"SETTINGS.user_quota",privileges:["settings","user_quota"]},canActivate:[en,sn]},{path:"settings/general/users",component:Si,data:{title:"SETTINGS.users_list",privileges:["settings","users_list"]},canActivate:[en,sn]},{path:"settings/general/users/new",component:$M,data:{title:"USER.create_user",privileges:["settings","add_user"]},canActivate:[en,sn]},{path:"settings/general/users/update/:id",component:gD,data:{title:"USER.update",privileges:["settings","update_user"]},canActivate:[en,sn]},{path:"settings/general/roles",component:iM,data:{title:"SETTINGS.roles_list",privileges:["settings","roles_list"]},canActivate:[en,sn]},{path:"settings/general/roles/new",component:kD,data:{title:"ROLE.create_role",privileges:["settings","add_role"]},canActivate:[en,sn]},{path:"settings/general/roles/update/:id",component:zD,data:{title:"ROLE.update",privileges:["settings","update_role"]},canActivate:[en,sn]},{path:"settings/general/login-methods",component:BR,data:{title:"SETTINGS.login_methods",privileges:["settings","login_methods"]},canActivate:[en,sn]},{path:"settings/general/about-us",component:d2,data:{title:"SETTINGS.abouts_us",privileges:["settings"]},canActivate:[en,sn]},{path:"settings/general/custom-fields",component:$A,data:{title:"SETTINGS.custom_fields",privileges:["settings","custom_fields"]},canActivate:[en,sn]},{path:"settings/verifier/display",component:o4,data:{title:"SETTINGS.verifier_display",privileges:["settings","verifier_display"]},canActivate:[en,sn]},{path:"settings/verifier/forms",component:vT,data:{title:"SETTINGS.list_forms",privileges:["settings","forms_list"]},canActivate:[en,sn]},{path:"settings/verifier/forms/builder/new",component:FT,data:{title:"SETTINGS.form_builder",privileges:["settings","add_form"]},canActivate:[en,sn]},{path:"settings/verifier/forms/builder/edit/:id",component:FT,data:{title:"SETTINGS.form_update",privileges:["settings","update_form"]},canActivate:[en,sn]},{path:"settings/verifier/outputs",component:Xw,data:{title:"FORMS.output_settings",privileges:["settings","outputs_list"]},canActivate:[en,sn]},{path:"settings/verifier/outputs/new",component:I6,data:{title:"SETTINGS.add_output",privileges:["settings","add_output"]},canActivate:[en,sn]},{path:"settings/verifier/outputs/update/:id",component:Ic.v,data:{title:"SETTINGS.update_output",privileges:["settings","update_output"]},canActivate:[en,sn]},{path:"settings/verifier/inputs",component:xE,data:{title:"FORMS.input_settings",privileges:["settings","inputs_list"]},canActivate:[en,sn]},{path:"settings/verifier/inputs/new",component:lA,data:{title:"SETTINGS.add_input",privileges:["settings","add_input"]},canActivate:[en,sn]},{path:"settings/verifier/inputs/update/:id",component:vS,data:{title:"SETTINGS.update_input",privileges:["settings","update_input"]},canActivate:[en,sn]},{path:"settings/verifier/positions-mask",component:mP,data:{title:"SETTINGS.list_positions_mask",privileges:["settings","positions_mask_list"]},canActivate:[en,sn]},{path:"settings/verifier/positions-mask/create",component:SP,data:{title:"SETTINGS.positions_mask_builder",privileges:["settings","add_positions_mask"]},canActivate:[en,sn]},{path:"settings/verifier/positions-mask/update/:id",component:WP,data:{title:"SETTINGS.positions_mask_update",privileges:["settings","update_positions_mask"]},canActivate:[en,sn]},{path:"settings/splitter/forms",component:OM,data:{title:"SETTINGS.list_forms",privileges:["settings","forms_list_splitter"]},canActivate:[en,sn]},{path:"settings/splitter/forms/builder/new",component:NT,data:{title:"SETTINGS.form_builder",privileges:["settings","add_form_splitter"]},canActivate:[en,sn]},{path:"settings/splitter/forms/builder/edit/:id",component:NT,data:{title:"SETTINGS.form_update",privileges:["settings","update_form_splitter"]},canActivate:[en,sn]},{path:"settings/splitter/separator",component:M_,data:{title:"SETTINGS.document_separator",privileges:["settings","separator_splitter"]},canActivate:[en,sn]},{path:"settings/splitter/document-type",component:TA,data:{title:"SETTINGS.document_type",privileges:["settings","document_type_splitter"]},canActivate:[en,sn]},{path:"settings/splitter/document-type/new",component:vI,data:{title:"SETTINGS.document_type",privileges:["settings","add_document_type"]},canActivate:[en,sn]},{path:"settings/splitter/document-type/create-folder",component:uR,data:{title:"SETTINGS.document_type",privileges:["settings","add_document_type"]},canActivate:[en,sn]},{path:"settings/splitter/outputs",component:C3,data:{title:"FORMS.output_settings",privileges:["settings","outputs_list_splitter"]},canActivate:[en,sn]},{path:"settings/splitter/outputs/new",component:ZI,data:{title:"SETTINGS.add_output",privileges:["settings","add_output_splitter"]},canActivate:[en,sn]},{path:"settings/splitter/outputs/update/:id",component:xI.D,data:{title:"SETTINGS.update_output",privileges:["settings","update_output_splitter"]},canActivate:[en,sn]},{path:"settings/splitter/inputs",component:HS,data:{title:"FORMS.input_settings",privileges:["settings","inputs_list_splitter"]},canActivate:[en,sn]},{path:"settings/splitter/inputs/new",component:Fk,data:{title:"SETTINGS.add_input",privileges:["settings","add_input_splitter"]},canActivate:[en,sn]},{path:"settings/splitter/inputs/update/:id",component:tI,data:{title:"SETTINGS.update_input",privileges:["settings","update_input_splitter"]},canActivate:[en,sn]}];let C4=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[Nt.Bz.forRoot(f4,{useHash:!0}),Nt.Bz]}),n})();function v4(n,o){1&n&&(e.TgZ(0,"div",10),e._UZ(1,"i",11),e.TgZ(2,"span",12),e._uU(3),e.ALo(4,"translate"),e.qZA()()),2&n&&(e.xp6(3),e.Oqu(e.lcZ(4,1,"GLOBAL.loading")))}function x4(n,o){1&n&&(e.TgZ(0,"div",13),e._UZ(1,"i",14),e.TgZ(2,"span",12),e._uU(3),e.ALo(4,"translate"),e.qZA()()),2&n&&(e.xp6(3),e.Oqu(e.lcZ(4,1,"GLOBAL.no_task_to_show")))}function b4(n,o){1&n&&e._UZ(0,"i",23)}function y4(n,o){if(1&n&&(e._UZ(0,"i",24),e.ALo(1,"translate")),2&n){const t=e.oxw().$implicit;e.hYB("matTooltip","",e.lcZ(1,2,"GLOBAL.task_error")," : ",t.error,"")}}function T4(n,o){if(1&n&&(e._UZ(0,"i",25),e.ALo(1,"translate")),2&n){const t=e.oxw().$implicit;e.hYB("matTooltip","",e.lcZ(1,2,"GLOBAL.end_time")," ",t.endTime,"")}}function M4(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",15),e.NdJ("click",function(){const l=e.CHM(t).$implicit,h=e.oxw(2);return e.KtG(h.showError(l.error))}),e.TgZ(1,"span",16),e._uU(2),e.qZA(),e.TgZ(3,"span",17),e._uU(4),e.qZA(),e.TgZ(5,"span",18),e.ALo(6,"translate"),e._uU(7),e.qZA(),e.TgZ(8,"span",19),e.YNc(9,b4,1,0,"i",20),e.YNc(10,y4,2,4,"i",21),e.YNc(11,T4,2,4,"i",22),e.qZA()()}if(2&n){const t=o.$implicit;e.ekj("cursor-pointer",t.error),e.xp6(2),e.hij(" ",t.id," "),e.xp6(2),e.hij(" ",t.fileName," "),e.xp6(1),e.hYB("matTooltip","",e.lcZ(6,10,"GLOBAL.add_time")," ",t.beginTime,""),e.xp6(2),e.hij(" ",t.age," "),e.xp6(2),e.Q6J("ngIf","in_progress"===t.status),e.xp6(1),e.Q6J("ngIf","error"===t.status),e.xp6(1),e.Q6J("ngIf","done"===t.status)}}function D4(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"mat-card",2)(1,"mat-card-title",3),e._uU(2),e.ALo(3,"translate"),e.TgZ(4,"span",4),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.changeDisplayMode(!a.minimizeDisplay))}),e.ALo(5,"translate"),e._UZ(6,"i",5),e.qZA()(),e.TgZ(7,"div",6),e.YNc(8,v4,5,3,"div",7),e.YNc(9,x4,5,3,"div",8),e.YNc(10,M4,12,12,"div",9),e.qZA()()}if(2&n){const t=e.oxw();e.xp6(2),e.hij(" ",e.lcZ(3,5,"GLOBAL.current_tasks")," "),e.xp6(2),e.s9C("matTooltip",e.lcZ(5,7,"GLOBAL.minimize")),e.xp6(4),e.Q6J("ngIf",0===t.tasks.length&&!t.isFirstCallDone),e.xp6(1),e.Q6J("ngIf",0===t.tasks.length&&!t.getTaskRunning&&t.isFirstCallDone),e.xp6(1),e.Q6J("ngForOf",t.tasks)}}function E4(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",26),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.changeDisplayMode(!a.minimizeDisplay))}),e.TgZ(1,"span",27),e._UZ(2,"i",28),e.qZA()()}}let w4=(()=>{class n{constructor(t,i,a,l,h,E){this.router=t,this.http=i,this.authService=a,this.translate=l,this.notify=h,this.localStorageService=E,this.minimizeDisplay=!1,this.isFirstCallDone=!1,this.getTaskRunning=!1,this.tasks=[],this.displayedTasksData=[],this.authorizedUrl=["/verifier/list","/splitter/list","/upload"]}ngOnInit(){this.minimizeDisplay="true"===this.localStorageService.get("task_watcher_minimize_display"),aC(4e3).subscribe(()=>{this.authorizedUrl.includes(this.router.url)&&!this.getTaskRunning&&!this.minimizeDisplay&&this.getLastTasks()})}changeDisplayMode(t){this.minimizeDisplay=t,this.minimizeDisplay||this.getLastTasks(),this.localStorageService.save("task_watcher_minimize_display",t?"true":"false")}getLastTasks(){this.isFirstCallDone=!0,this.getTaskRunning=!0;const t=this.localStorageService.get("splitter_or_verifier");t&&this.http.get(m.N.url+"/ws/tasks/progress?module="+t,{headers:this.authService.headers}).pipe((0,$e.b)(i=>{if(this.displayedTasksData!==i.tasks){this.tasks=[];let a=1;for(const l of i.tasks)this.tasks.push({id:a,type:l.type,fileName:l.title,module:l.module,beginTime:l.begin_time,endTime:l.end_time,error:!!l.error_description&&l.error_description,status:l.status?l.status:"in_progress",age:0!==l.age?this.translate.instant("GLOBAL.n_minutes_ago",{minutes:l.age}):this.translate.instant("GLOBAL.few_seconds_ago")}),a++}this.displayedTasksData=i.tasks}),(0,Di.x)(()=>this.getTaskRunning=!1),(0,Ke.K)(i=>(console.debug(i),this.notify.handleErrors(i),(0,ie.of)(!1)))).subscribe()}showError(t){t&&this.notify.handleErrors({error:{errors:this.translate.instant("GLOBAL.task_error_informations"),message:t}})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(pi.e),e.Y36($t.sK),e.Y36(Gi.g),e.Y36(ua.n))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-tasks-watcher"]],decls:2,vars:2,consts:[["class","w-1/3 h-36 absolute bottom-2 right-2 z-10 bg-slate-50","style","padding: 0 !important;",4,"ngIf"],["class","w-12 h-12 absolute bottom-6 right-6 rounded-full z-10 bg-slate-100 hover:text-green-400 hover:cursor-pointer\n grid justify-items-center drop-shadow-md",3,"click",4,"ngIf"],[1,"w-1/3","h-36","absolute","bottom-2","right-2","z-10","bg-slate-50",2,"padding","0 !important"],["cdkDragHandle","",1,"text-sm","m-4"],[1,"text-lg","absolute","right-4","top-2","hover:text-green-400","inline-block","align-bottom","hover:cursor-pointer",3,"matTooltip","click"],[1,"fa-solid","fa-window-minimize","align-top"],[1,"mx-4","h-20","overflow-y-auto","bg-slate-100"],["class","text-gray-400 my-4 text-center w-full overflow-hidden",4,"ngIf"],["class","text-gray-400 my-4 text-center w-full",4,"ngIf"],["class","h-8 w-full px-4 border-t-2 grid grid-cols-10",3,"cursor-pointer","click",4,"ngFor","ngForOf"],[1,"text-gray-400","my-4","text-center","w-full","overflow-hidden"],[1,"fa-solid","fa-circle-notch","fa-spin","fa-2x","w-full","text-gray-900",2,"--fa-animation-duration","1.5s"],[1,"block"],[1,"text-gray-400","my-4","text-center","w-full"],[1,"block","fa-solid","fa-check","fa-2x"],[1,"h-8","w-full","px-4","border-t-2","grid","grid-cols-10",3,"click"],[1,"col-span-1","pt-1"],[1,"col-span-5","pt-1","w-full","truncate","..."],[1,"col-span-3","text-sm","text-slate-400","pt-1","truncate","...",3,"matTooltip"],[1,"col-span-1","text-right"],["class","fas fa-circle-notch fa-spin fa-lg my-4",4,"ngIf"],["class","fas fa-triangle-exclamation fa-lg my-4 text-amber-500 cursor-pointer",3,"matTooltip",4,"ngIf"],["class","fa-solid fa-check fa-lg my-4",3,"matTooltip",4,"ngIf"],[1,"fas","fa-circle-notch","fa-spin","fa-lg","my-4"],[1,"fas","fa-triangle-exclamation","fa-lg","my-4","text-amber-500","cursor-pointer",3,"matTooltip"],[1,"fa-solid","fa-check","fa-lg","my-4",3,"matTooltip"],[1,"w-12","h-12","absolute","bottom-6","right-6","rounded-full","z-10","bg-slate-100","hover:text-green-400","hover:cursor-pointer","grid","justify-items-center","drop-shadow-md",3,"click"],[1,"text-lg","pt-2"],[1,"fa-solid","fa-list-check","fa-align-center"]],template:function(t,i){1&t&&(e.YNc(0,D4,11,9,"mat-card",0),e.YNc(1,E4,3,0,"div",1)),2&t&&(e.Q6J("ngIf",!i.minimizeDisplay&&i.authorizedUrl.includes(i.router.url)),e.xp6(1),e.Q6J("ngIf",i.minimizeDisplay&&i.authorizedUrl.includes(i.router.url)))},dependencies:[Xn,ot,We,_e.sg,_e.O5,Sh,$t.X$]}),n})();function S4(n,o){1&n&&(e.O4$(),e.TgZ(0,"svg",26),e._UZ(1,"path",27),e.qZA())}function A4(n,o){1&n&&(e.O4$(),e.TgZ(0,"svg",26),e._UZ(1,"path",28),e.qZA())}function L4(n,o){if(1&n&&(e.TgZ(0,"button",29),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=e.oxw();e.ekj("text-gray-500",!t.location.path().includes("/verifier")||t.location.path().includes("/settings"))("bg-transparent",!t.location.path().includes("/verifier")||t.location.path().includes("/settings")),e.Q6J("routerLinkActive","bg-gray-900 text-green-400"),e.xp6(1),e.hij(" ",e.lcZ(2,6,"GLOBAL.batches")," ")}}function O4(n,o){if(1&n&&(e.TgZ(0,"button",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=e.oxw();e.ekj("text-gray-500",!t.location.path().includes("/splitter")||t.location.path().includes("/settings"))("bg-transparent",!t.location.path().includes("/splitter")||t.location.path().includes("/settings")),e.Q6J("routerLinkActive","bg-gray-900 text-green-400"),e.xp6(1),e.hij(" ",e.lcZ(2,6,"GLOBAL.batches")," ")}}function k4(n,o){if(1&n&&(e.TgZ(0,"button",31),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=e.oxw();e.ekj("cursor-not-allowed",!t.privilegesService.hasPrivilege("upload"))("hover:bg-gray-500",t.privilegesService.hasPrivilege("upload"))("hover:text-white",t.privilegesService.hasPrivilege("upload"))("text-gray-500",!t.location.path().includes("/upload"))("bg-transparent",!t.location.path().includes("/upload")),e.Q6J("routerLinkActive","bg-gray-900 text-green-400")("disabled",!t.privilegesService.hasPrivilege("upload")),e.xp6(1),e.hij(" ",e.lcZ(2,13,"GLOBAL.upload")," ")}}function I4(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div")(1,"button",32),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.toggleProfileDropdown())})("clickOutside",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.closeprofileDropDown())}),e._UZ(2,"i",33),e.qZA()()}if(2&n){const t=e.oxw();e.xp6(1),e.ekj("settings_active",t.location.path().includes("profile/"+t.userService.user.id)),e.Q6J("matTooltip",t.translate.instant("USER.my_profile"))}}function P4(n,o){if(1&n&&(e.TgZ(0,"i"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Oqu(t.userService.user.role.label)}}function R4(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",34)(1,"span",35)(2,"strong"),e._uU(3),e.qZA(),e._uU(4),e.YNc(5,P4,2,1,"i",18),e._UZ(6,"hr"),e.qZA(),e.TgZ(7,"a",36),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.closeprofileDropDown())}),e._uU(8),e.ALo(9,"translate"),e.qZA(),e.TgZ(10,"a",37),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.closeprofileDropDown())}),e._uU(11),e.ALo(12,"translate"),e.qZA()()}if(2&n){const t=e.oxw();e.ekj("hidden",!t.profileDropdownCurrentState),e.xp6(3),e.Oqu(t.userService.user.lastname),e.xp6(1),e.AsE(" ",t.userService.user.firstname," (",t.userService.user.username,") "),e.xp6(1),e.Q6J("ngIf",t.userService.user.role),e.xp6(2),e.MGl("routerLink","/profile/",t.userService.user.id,""),e.xp6(1),e.hij(" ",e.lcZ(9,9,"USER.my_profile")," "),e.xp6(3),e.hij(" ",e.lcZ(12,11,"GLOBAL.log_out")," ")}}function F4(n,o){if(1&n&&(e.TgZ(0,"div",17)(1,"button",38),e._UZ(2,"i",39),e.qZA()()),2&n){const t=e.oxw();e.xp6(1),e.ekj("settings_active",t.location.path().includes("settings")),e.Q6J("matTooltip",t.translate.instant("GLOBAL.settings"))}}function N4(n,o){if(1&n&&(e.TgZ(0,"div",40)(1,"button",41),e.ALo(2,"translate"),e._UZ(3,"i",42),e.qZA()()),2&n){const t=e.oxw();e.xp6(1),e.ekj("settings_active",t.location.path().includes("history")),e.Q6J("matTooltip",e.lcZ(2,3,"GLOBAL.history"))}}function B4(n,o){if(1&n&&(e.TgZ(0,"div",40)(1,"button",43),e.ALo(2,"translate"),e._UZ(3,"i",44),e.qZA()()),2&n){const t=e.oxw();e.xp6(1),e.ekj("settings_active",t.location.path().includes("statistics")),e.Q6J("matTooltip",e.lcZ(2,3,"GLOBAL.statistics"))}}function U4(n,o){if(1&n&&(e.TgZ(0,"div",45)(1,"button",46),e.ALo(2,"translate"),e._UZ(3,"i",47),e.qZA()()),2&n){const t=e.oxw();e.xp6(1),e.ekj("settings_active",t.location.path().includes("accounts/suppliers")),e.Q6J("matTooltip",e.lcZ(2,3,"ACCOUNTS.suppliers_list"))}}function Z4(n,o){if(1&n&&(e.TgZ(0,"div",48)(1,"button",49),e.ALo(2,"translate"),e._UZ(3,"i",50),e.qZA()()),2&n){const t=e.oxw();e.xp6(1),e.ekj("settings_active",t.location.path().includes("accounts/customers")),e.Q6J("matTooltip",e.lcZ(2,3,"ACCOUNTS.customers_list"))}}function Y4(n,o){if(1&n&&(e.TgZ(0,"mat-option",55),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("value",t[0]),e.xp6(1),e.hij(" ",t[1]," ")}}function H4(n,o){1&n&&e._UZ(0,"i",56)}function V4(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"div",48)(1,"mat-form-field",51)(2,"mat-label"),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"mat-select",52),e.NdJ("selectionChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.localeService.changeLocale(a))})("valueChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.localeService.currentLang=a)}),e.YNc(6,Y4,2,2,"mat-option",53),e.qZA()(),e.YNc(7,H4,1,0,"i",54),e.qZA()}if(2&n){const t=e.oxw();e.xp6(3),e.Oqu(e.lcZ(4,5,"GLOBAL.language")),e.xp6(2),e.Q6J("disabled",t.localeService.localeLoading)("value",t.localeService.currentLang),e.xp6(1),e.Q6J("ngForOf",t.localeService.langs),e.xp6(1),e.Q6J("ngIf",t.localeService.localeLoading)}}function G4(n,o){if(1&n&&(e.TgZ(0,"span",57)(1,"strong"),e._uU(2),e.qZA(),e._uU(3),e.qZA()),2&n){const t=e.oxw();e.xp6(2),e.Oqu(t.userService.user.lastname),e.xp6(1),e.AsE(" ",t.userService.user.firstname," (",t.userService.user.username,") ")}}let K4=(()=>{class n{constructor(t,i,a,l,h,E,N,oe){this.router=t,this.location=i,this.authService=a,this.userService=l,this.translate=h,this.localeService=E,this.privilegesService=N,this.localStorageService=oe,this.profileDropdownCurrentState=!1,this.mobileMenuState=!1}ngOnInit(){setTimeout(()=>{this.userService.user=this.userService.getUserFromLocal()},100),this.userService.user&&(this.localeService.getLocales(),this.localeService.getCurrentLocale());const t=[38,38,40,40,37,39,37,39,66,65];let i=0;document.addEventListener("keydown",a=>{if(a.keyCode===t[i++]){if(i===t.length){const l=new Audio("assets/imgs/konami.mp3"),h=document.getElementById("konami");h.style.display="block",h.style.transition="opacity .5s",h.style.opacity="1",setTimeout(()=>{h.style.transition="opacity 1s",h.style.opacity="0",setTimeout(()=>{h.style.display="none"},1e3)},3e3),l.play().then(),i=0}}else i=0})}getSplitterOrVerifier(){return this.localStorageService.get("splitter_or_verifier")}toggleProfileDropdown(){this.profileDropdownCurrentState=!this.profileDropdownCurrentState}closeprofileDropDown(){this.profileDropdownCurrentState=!1}toggleMobileMenu(){this.mobileMenuState=!this.mobileMenuState}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(_e.Ye),e.Y36(pi.e),e.Y36(zi.K),e.Y36($t.sK),e.Y36(jr),e.Y36(nn.y),e.Y36(ua.n))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-menu"]],inputs:{image:"image",imageMobile:"imageMobile"},decls:33,vars:24,consts:[[1,"shadow-md","relative","z-40",2,"background","#f8f9fa"],[1,"mx-auto","px-2","sm:px-6","lg:px-8",2,"max-width","100rem"],[1,"relative","flex","items-center","justify-between","h-16","z-50"],[1,"absolute","inset-y-0","left-0","flex","items-center","md:hidden"],["aria-expanded","false",1,"inline-flex","items-center","justify-center","p-2","rounded-md","text-gray-600","hover:text-white","hover:bg-gray-900","focus:ring-2","focus:ring-inset","focus:ring-gray-900",3,"click"],["class","block h-6 w-6","xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke","currentColor","aria-hidden","true",4,"ngIf"],[1,"flex-1","flex","items-center","justify-center","sm:items-stretch","sm:justify-start"],[1,"flex-shrink-0","items-center","sm:hidden","xl:flex"],["alt","Open-Capture logo",1,"hidden","lg:block","h-10","w-auto",3,"src"],[1,"flex-shrink-0","items-center","sm:flex","xl:hidden"],[1,"hidden","md:block","sm:ml-3"],[1,"flex","space-x-4"],["mat-flat-button","","routerLink","/home",1,"hover:bg-gray-500","hover:text-white","px-3","py-2","text-sm","font-medium","transition","duration-300",3,"routerLinkActive"],["mat-flat-button","","routerLink","/verifier","class","hover:bg-gray-500 hover:text-white px-3 py-2 text-sm font-medium transition duration-300",3,"routerLinkActive","text-gray-500","bg-transparent",4,"ngIf"],["mat-flat-button","","routerLink","/splitter","class","hover:bg-gray-500 hover:text-white px-3 py-2 text-sm font-medium transition duration-300",3,"routerLinkActive","text-gray-500","bg-transparent",4,"ngIf"],["mat-flat-button","","routerLink","/upload","class","px-3 py-2 text-sm font-medium transition duration-300",3,"routerLinkActive","disabled","cursor-not-allowed","hover:bg-gray-500","hover:text-white","text-gray-500","bg-transparent",4,"ngIf"],[1,"flex","absolute","inset-y-0","right-0","items-center","pr-2","sm:static","sm:inset-auto","sm:ml-6","sm:pr-0"],[1,"ml-3","mr-0","md:mr-2","relative"],[4,"ngIf"],["class","origin-top-right absolute md:right-0 mt-2 w-56 rounded-md shadow-lg py-1 bg-white ring-1 ring-black ring-opacity-5 z-50","role","menu","aria-orientation","vertical","aria-labelledby","user-menu",3,"hidden",4,"ngIf"],["class","ml-3 mr-0 md:mr-2 relative",4,"ngIf"],["class","ml-3 mr-2 relative hidden md:block",4,"ngIf"],["class","ml-3 mr-2 relative border-l border-green-400 pl-5 hidden md:block",4,"ngIf"],["class","ml-3 relative hidden md:block",4,"ngIf"],[1,"ml-6","relative"],["class","text-gray-600",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke","currentColor","aria-hidden","true",1,"block","h-6","w-6"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M4 6h16M4 12h16M4 18h16"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M6 18L18 6M6 6l12 12"],["mat-flat-button","","routerLink","/verifier",1,"hover:bg-gray-500","hover:text-white","px-3","py-2","text-sm","font-medium","transition","duration-300",3,"routerLinkActive"],["mat-flat-button","","routerLink","/splitter",1,"hover:bg-gray-500","hover:text-white","px-3","py-2","text-sm","font-medium","transition","duration-300",3,"routerLinkActive"],["mat-flat-button","","routerLink","/upload",1,"px-3","py-2","text-sm","font-medium","transition","duration-300",3,"routerLinkActive","disabled"],["mat-mini-fab","","id","user-menu","aria-haspopup","true",1,"bg-green-400","hover:ring-4","hover:ring-offset-4","hover:ring-green-400","hover:ring-opacity-60",3,"matTooltip","click","clickOutside"],[1,"fa-solid","fa-users-cog"],["role","menu","aria-orientation","vertical","aria-labelledby","user-menu",1,"origin-top-right","absolute","md:right-0","mt-2","w-56","rounded-md","shadow-lg","py-1","bg-white","ring-1","ring-black","ring-opacity-5","z-50"],[1,"block","text-center","mb-2","text-gray-900"],["role","menuitem",1,"block","px-4","py-2","text-sm","text-gray-700","hover:bg-gray-100","relative",3,"routerLink","click"],["routerLink","/logout","role","menuitem",1,"block","px-4","py-2","text-sm","text-gray-700","hover:bg-gray-100","relative",3,"click"],["id","settings-menu","aria-haspopup","true","mat-mini-fab","","routerLink","/settings",1,"bg-green-400","hover:ring-4","hover:ring-offset-4","hover:ring-green-400","hover:ring-opacity-60",3,"matTooltip"],[1,"fa-solid","fa-cog"],[1,"ml-3","mr-2","relative","hidden","md:block"],["id","history-menu","aria-haspopup","true","mat-mini-fab","","routerLink","/history",1,"bg-green-400","hover:ring-4","hover:ring-offset-4","hover:ring-green-400","hover:ring-opacity-60",3,"matTooltip"],[1,"fa-solid","fa-history"],["id","statistics-menu","aria-haspopup","true","mat-mini-fab","","routerLink","/statistics",1,"bg-green-400","hover:ring-4","hover:ring-offset-4","hover:ring-green-400","hover:ring-opacity-60",3,"matTooltip"],[1,"fa-solid","fa-chart-bar"],[1,"ml-3","mr-2","relative","border-l","border-green-400","pl-5","hidden","md:block"],["id","supplier-menu","aria-haspopup","true","mat-mini-fab","","routerLink","/accounts/suppliers",1,"bg-green-400","hover:ring-4","hover:ring-offset-4","hover:ring-green-400","hover:ring-opacity-60",3,"matTooltip"],[1,"fa-solid","fa-city"],[1,"ml-3","relative","hidden","md:block"],["id","customer-menu","aria-haspopup","true","mat-mini-fab","","routerLink","/accounts/customers",1,"bg-green-400","hover:ring-4","hover:ring-offset-4","hover:ring-green-400","hover:ring-opacity-60",3,"matTooltip"],[1,"fa-solid","fa-users"],[1,"origin-top-right","right-0","mt-4","w-32"],[3,"disabled","value","selectionChange","valueChange"],[3,"value",4,"ngFor","ngForOf"],["class","fa-solid fa-earth-europe fa-beat fa-lg text-gray-900 ml-4",4,"ngIf"],[3,"value"],[1,"fa-solid","fa-earth-europe","fa-beat","fa-lg","text-gray-900","ml-4"],[1,"text-gray-600"]],template:function(t,i){1&t&&(e._UZ(0,"app-tasks-watcher"),e.TgZ(1,"nav",0)(2,"div",1)(3,"div",2)(4,"div",3)(5,"button",4),e.NdJ("click",function(){return i.toggleMobileMenu()}),e.YNc(6,S4,2,0,"svg",5),e.YNc(7,A4,2,0,"svg",5),e.qZA()(),e.TgZ(8,"div",6)(9,"div",7),e._UZ(10,"img",8),e.qZA(),e.TgZ(11,"div",9),e._UZ(12,"img",8),e.qZA(),e.TgZ(13,"div",10)(14,"div",11)(15,"button",12),e._uU(16),e.ALo(17,"translate"),e.qZA(),e.YNc(18,L4,3,8,"button",13),e.YNc(19,O4,3,8,"button",14),e.YNc(20,k4,3,15,"button",15),e.qZA()()(),e.TgZ(21,"div",16)(22,"div",17),e.YNc(23,I4,3,3,"div",18),e.YNc(24,R4,13,13,"div",19),e.qZA(),e.YNc(25,F4,3,3,"div",20),e.YNc(26,N4,4,5,"div",21),e.YNc(27,B4,4,5,"div",21),e.YNc(28,U4,4,5,"div",22),e.YNc(29,Z4,4,5,"div",23),e.YNc(30,V4,8,7,"div",23),e.TgZ(31,"div",24),e.YNc(32,G4,4,3,"span",25),e.qZA()()()()()),2&t&&(e.xp6(6),e.Q6J("ngIf",!i.mobileMenuState),e.xp6(1),e.Q6J("ngIf",i.mobileMenuState),e.xp6(3),e.Q6J("src",i.image,e.LSH),e.xp6(2),e.Q6J("src",i.imageMobile,e.LSH),e.xp6(3),e.ekj("text-gray-500",!i.location.path().includes("/home"))("bg-transparent",!i.location.path().includes("/home")),e.Q6J("routerLinkActive","bg-gray-900 text-green-400"),e.xp6(1),e.hij(" ",e.lcZ(17,22,"GLOBAL.home")," "),e.xp6(2),e.Q6J("ngIf","/home"!==i.location.path()&&"verifier"===i.getSplitterOrVerifier()),e.xp6(1),e.Q6J("ngIf","/home"!==i.location.path()&&"splitter"===i.getSplitterOrVerifier()),e.xp6(1),e.Q6J("ngIf","/home"!==i.location.path()&&void 0!==i.getSplitterOrVerifier()&&""!==i.getSplitterOrVerifier()&&null!==i.getSplitterOrVerifier()),e.xp6(3),e.Q6J("ngIf",i.userService.user),e.xp6(1),e.Q6J("ngIf",i.userService.user),e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege("settings")),e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege("history")),e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege("statistics")),e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege("suppliers_list")),e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege("customers_list")),e.xp6(1),e.Q6J("ngIf",i.privilegesService.hasPrivilege("change_language")),e.xp6(2),e.Q6J("ngIf",i.userService.user))},dependencies:[_e.sg,_e.O5,Nt.rH,Nt.yS,Nt.Od,Rt.KE,Rt.hX,Be.gD,b.ey,Xn,Y.lW,w4,ea,$t.X$],styles:[".settings_active[_ngcontent-%COMP%]{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-offset-width: 2px;--tw-ring-color: rgb(151 191 61 / var(--tw-ring-opacity));--tw-ring-opacity: .6 }"]}),n})();function j4(n,o){if(1&n&&e._UZ(0,"app-menu",1),2&n){const t=e.oxw();e.Q6J("image",t.image)("imageMobile",t.imageMobile)}}let W4=(()=>{class n{constructor(t,i,a,l,h,E,N,oe,xe,Ve,lt){this.router=t,this.http=i,this.location=a,this.titleService=l,this.sanitizer=h,this.notify=E,this.translate=N,this.localeService=oe,this.activatedRoute=xe,this.changeDetector=Ve,this.localStorageService=lt,this.title="Open-Capture",this.image="",this.imageMobile="",this.loading=!0}ngOnInit(){const t=this.titleService.getTitle();this.router.events.pipe((0,Mo.h)(i=>i instanceof Nt.m2),(0,Mn.U)(()=>{let h,i=this.activatedRoute.firstChild,a="assets/imgs/login_image.png",l="assets/imgs/Open-Capture_Verifier.svg";if(i){for(;i.firstChild;)i=i.firstChild;if("/home"!==this.router.url&&!this.router.url.includes("settings")&&(h=this.localStorageService.get("splitter_or_verifier"),void 0!==h&&("splitter"===h?(a="assets/imgs/logo_splitter.png",l="assets/imgs/Open-Capture_Splitter.png"):a="assets/imgs/logo_verifier.png")),i.snapshot.data.title)return[i.snapshot.data.title,a,l,h]}return[t,a,l,h]})).subscribe(i=>{const a=i[0];if(this.image=i[1],this.imageMobile=i[2],!i[3]){const h=this.localStorageService.get("login_image_b64");h?this.image=this.sanitizer.bypassSecurityTrustUrl("data:image/png;base64, "+h):this.http.get(m.N.url+"/ws/config/getLoginImage").pipe((0,$e.b)(E=>{this.localStorageService.save("login_image_b64",E),this.image=this.sanitizer.bypassSecurityTrustUrl("data:image/png;base64, "+E)}),(0,Ke.K)(E=>(console.debug(E),this.notify.handleErrors(E),(0,ie.of)(!1)))).subscribe()}void 0===this.localeService.currentLang?this.http.get(m.N.url+"/ws/i18n/getCurrentLang").pipe((0,$e.b)(h=>{this.translate.use(h.lang),this.translate.get(a).subscribe(E=>{this.titleService.setTitle(E+" - "+this.title)}),this.loading=!1}),(0,Ke.K)(h=>(console.debug(h),this.notify.handleErrors(h),(0,ie.of)(!1)))).subscribe():(this.translate.get(a).subscribe(h=>{this.titleService.setTitle(h+" - "+this.title)}),this.loading=!1)})}ngAfterContentChecked(){this.changeDetector.detectChanges()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nt.F0),e.Y36(Ri.eN),e.Y36(_e.Ye),e.Y36(c.Dx),e.Y36(c.H7),e.Y36(Gi.g),e.Y36($t.sK),e.Y36(jr),e.Y36(Nt.gz),e.Y36(e.sBO),e.Y36(ua.n))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-root"]],decls:2,vars:1,consts:[[3,"image","imageMobile",4,"ngIf"],[3,"image","imageMobile"]],template:function(t,i){1&t&&(e.YNc(0,j4,1,2,"app-menu",0),e._UZ(1,"router-outlet")),2&t&&e.Q6J("ngIf","/login"!==i.location.path()&&"/404"!==i.location.path()&&i.loading==i.loading)},dependencies:[_e.O5,Nt.lC,K4]}),n})();var q4=C(5902);let J4=(()=>{class n extends Fs{constructor(t,i,a,l){super(),this.http=t,this.notify=i,this.translate=a,this.localeService=l,this.getRangeLabel=(h,E,N)=>{if(0===N||0===E)return"0 "+this.translate.instant("PAGINATOR.of")+` ${N}`;const oe=h*E,xe=oe<(N=Math.max(N,0))?Math.min(oe+E,N):oe+E,Ve=Math.ceil(N/E);return` ${oe+1} - ${xe} `+this.translate.instant("PAGINATOR.on")+` ${N} | `+this.translate.instant("PAGINATOR.page")+` ${h+1} / ${Ve}`},this.getAndInitTranslations()}getAndInitTranslations(){void 0===this.localeService.currentLang?this.http.get(m.N.url+"/ws/i18n/getCurrentLang").pipe((0,$e.b)(t=>{this.translate.use(t.lang),this.translate.get("PAGINATOR.items_per_page").subscribe(i=>{this.itemsPerPageLabel=i}),this.translate.get("PAGINATOR.next_page").subscribe(i=>{this.nextPageLabel=i}),this.translate.get("PAGINATOR.first_page").subscribe(i=>{this.firstPageLabel=i}),this.translate.get("PAGINATOR.last_page").subscribe(i=>{this.lastPageLabel=i}),this.translate.get("PAGINATOR.previous_page").subscribe(i=>{this.previousPageLabel=i}),this.changes.next()}),(0,Ke.K)(t=>(console.debug(t),this.notify.handleErrors(t),(0,ie.of)(!1)))).subscribe():(this.translate.get("PAGINATOR.items_per_page").subscribe(t=>{this.itemsPerPageLabel=t}),this.translate.get("PAGINATOR.next_page").subscribe(t=>{this.nextPageLabel=t}),this.translate.get("PAGINATOR.first_page").subscribe(t=>{this.firstPageLabel=t}),this.translate.get("PAGINATOR.last_page").subscribe(t=>{this.lastPageLabel=t}),this.translate.get("PAGINATOR.previous_page").subscribe(t=>{this.previousPageLabel=t}),this.changes.next())}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(Ri.eN),e.LFG(Gi.g),e.LFG($t.sK),e.LFG(jr))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})(),$4=(()=>{class n{constructor(t,i){this.router=t,this.localStorage=i}isValidIP(t){return 4===t.split(".").filter(a=>!/^0.|\D/g.test(a)).filter(a=>a.length&&a>=0&&a<=255).length}isValidFQDN(t){return/(?=^.{4,253}$)(^((?!-)[a-zA-Z0-9-]{0,62}[a-zA-Z0-9]\.)+[a-zA-Z]{2,63}$)/g.test(t)}intercept(t,i){if(!m.N.customId&&/http(s)?:\/\/|backend_oc\//.test(t.url)){let a=window.location.href;a=a.replace("http://","").replace("https://",""),a=a.replace(new RegExp("//"),"/");const l=a.split("/");this.isValidFQDN(l[0])&&(m.N.fqdn=l[0]);for(let h=0;h<=l.length;h++)if("dist"===l[h]){let E="";const N=this.isValidIP(l[h-1]),oe=this.isValidFQDN(l[h-1]),xe=m.N.customId;if(E=l[h-1],!(oe||N||"localhost"===l[h-1]||l[h-1].includes("opencapture")||l[h-1].includes("opencaptureforinvoices")||l[h-1].includes("backend_oc"))){E=l[h-1];const Ve=m.N.url;m.N.customId=E,m.N.url+="/"+E,m.N.production&&(m.N.url="../"+m.N.url);const lt=this.localStorage.getCookie("OpenCaptureToken_"+E);xe&&E!==xe&&this.router.navigate(["/logout"]).then();const Ft=(new Ri.WM).set("Authorization","Bearer "+lt),ii=new Ri.aW(t.method,t.url.replace(Ve,m.N.url),{headers:Ft});return t=Object.assign(t,ii),i.handle(t)}}}return i.handle(t)}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(Nt.F0),e.LFG(ua.n))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})();function z4(n){return new am(n,"assets/i18n/frontend/",".json")}let Q4=(()=>{class n{constructor(){}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n,bootstrap:[W4]}),n.\u0275inj=e.cJS({providers:[c.Dx,$t.sK,$a.e,od.J,{provide:Rt.o2,useValue:{appearance:"outline"}},{provide:Fs,useClass:J4},{provide:Ri.TP,useClass:$4,multi:!0}],imports:[c.b2,C4,S1,Ju,nm,Ri.JF,O0,RE,q4.a4,$t.aw.forRoot({defaultLanguage:"fra",loader:{provide:$t.Zw,useFactory:z4,deps:[Ri.eN]}}),A.UX,A.u5,uo,ji,Cg,Wr,h1.forRoot("fr")]}),n})();m.N.production&&(0,e.G48)(),c.q6().bootstrapModule(Q4).then()},2560:(B,U,C)=>{"use strict";C.d(U,{e:()=>X});var c=C(520),m=C(9958),e=C(262),b=C(9646),T=C(5e3),k=C(6696),F=C(230),V=C(8543);let X=(()=>{class J{constructor(ce,Oe,Pe,de){this.router=ce,this.http=Oe,this.userService=Pe,this.localStorage=de,this.headersExists=!1,this.getToken()||(this.headersExists=!1),this.headers=(new c.WM).set("Authorization","Bearer "+this.getToken())}generateHeaders(){this.getToken()&&(this.headersExists=!0),this.headers=(new c.WM).set("Authorization","Bearer "+this.getToken())}setCachedUrl(ce){const Oe=this.getTokenName();this.localStorage.save(Oe.cachedUrlName,ce)}getCachedUrl(){const ce=this.getTokenName();return this.localStorage.get(ce.cachedUrlName)}cleanCachedUrl(){const ce=this.getTokenName();return this.localStorage.remove(ce.cachedUrlName)}setTokenCustom(ce,Oe){this.localStorage.save(ce,Oe)}getTokenCustom(ce){return this.localStorage.get(ce)}getTokenName(){let ce="OpenCaptureToken",Oe="OpenCaptureToken_user",Pe="OpenCaptureCachedUrl";return m.N.customId?(ce+="_"+m.N.customId,Oe+="_"+m.N.customId,Pe+="_"+m.N.customId):m.N.fqdn&&(ce+="_"+m.N.fqdn,Oe+="_"+m.N.fqdn,Pe+="_"+m.N.fqdn),{tokenJwt:ce,userToken:Oe,cachedUrlName:Pe}}setTokens(ce,Oe,Pe){const de=this.getTokenName();this.localStorage.setCookie(de.tokenJwt,ce,Pe),this.localStorage.setCookie(de.userToken,Oe,Pe)}setTokenUser(ce,Oe){const Pe=this.getTokenName();this.localStorage.setCookie(Pe.userToken,ce,Oe)}getToken(){const ce=this.getTokenName();return this.localStorage.getCookie(ce.tokenJwt)}logout(){const ce=this.getTokenName();this.userService.setUser({}),this.localStorage.remove("login_image_b64"),this.localStorage.remove("selectedSettings"),this.localStorage.remove("splitter_or_verifier"),this.localStorage.remove("selectedParentSettings"),this.localStorage.remove("selectedParentSettings"),this.localStorage.remove("task_watcher_minimize_display"),this.localStorage.deleteCookie(ce.tokenJwt),this.localStorage.deleteCookie(ce.userToken),this.http.get(m.N.url+"/ws/auth/logout").pipe((0,e.K)(Oe=>(console.debug(Oe),(0,b.of)(!1)))).subscribe(),this.router.navigateByUrl("/login").then()}}return J.\u0275fac=function(ce){return new(ce||J)(T.LFG(k.F0),T.LFG(c.eN),T.LFG(F.K),T.LFG(V.n))},J.\u0275prov=T.Yz7({token:J,factory:J.\u0275fac,providedIn:"root"}),J})()},7009:(B,U,C)=>{"use strict";C.d(U,{J:()=>m});var c=C(5e3);let m=(()=>{class e{constructor(){this.specificClass="w-1/2"}}return e.\u0275fac=function(T){return new(T||e)},e.\u0275cmp=c.Xpm({type:e,selectors:[["app-hint"]],inputs:{message:"message",specificClass:"specificClass"},decls:3,vars:4,consts:[[1,"fa-solid","fa-circle-exclamation","fa-2x"],[1,"message",3,"innerHTML"]],template:function(T,k){1&T&&(c.TgZ(0,"div"),c._UZ(1,"i",0)(2,"div",1),c.qZA()),2&T&&(c.Gre("hint ",k.specificClass,""),c.xp6(2),c.Q6J("innerHTML",k.message,c.oJD))},styles:[".hint[_ngcontent-%COMP%]{margin-top:.75rem;margin-bottom:.75rem;display:flex;margin-left:auto;margin-right:auto;border-left-width:8px;border-radius:.125rem;--tw-text-opacity: 1;color:rgb(76 76 78 / var(--tw-text-opacity));justify-content:center;background-color:#97bf3d66;border-left-color:#4c4c4e80}.hint[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{display:flex;align-items:center;--tw-text-opacity: 1;color:rgb(151 191 61 / var(--tw-text-opacity))}.hint[_ngcontent-%COMP%] .message[_ngcontent-%COMP%]{margin:1.5rem}"]}),e})()},69:(B,U,C)=>{"use strict";C.d(U,{q:()=>X});var c=C(9958),m=C(262),e=C(9646),b=C(5e3),T=C(520),k=C(2560),F=C(230),V=C(7862);let X=(()=>{class J{constructor(ce,Oe,Pe,de){this.http=ce,this.authService=Oe,this.userService=Pe,this.notify=de}addHistory(ce,Oe,Pe){(!this.userService.user||!this.userService.user.id)&&(this.userService.user=this.userService.getUserFromLocal()),this.http.post(c.N.url+"/ws/history/add",{module:ce,submodule:Oe,desc:Pe,user_info:this.userService.user.lastname+" "+this.userService.user.firstname+" ("+this.userService.user.username+")",user_id:this.userService.user.id},{headers:this.authService.headers}).pipe((0,m.K)(le=>(console.debug(le),this.notify.handleErrors(le),(0,e.of)(!1)))).subscribe()}}return J.\u0275fac=function(ce){return new(ce||J)(b.LFG(T.eN),b.LFG(k.e),b.LFG(F.K),b.LFG(V.g))},J.\u0275prov=b.Yz7({token:J,factory:J.\u0275fac,providedIn:"root"}),J})()},3925:(B,U,C)=>{"use strict";C.d(U,{e:()=>e});var c=C(6696),m=C(5e3);let e=(()=>{class b{constructor(k){this.router=k,this.previousUrl="",this.currentUrl="",this.currentUrl=this.router.url,k.events.subscribe(F=>{F instanceof c.m2&&(this.previousUrl=this.currentUrl,this.currentUrl=F.url)})}getCurrentUrl(){return this.currentUrl}getPreviousUrl(){return this.previousUrl}}return b.\u0275fac=function(k){return new(k||b)(m.LFG(c.F0))},b.\u0275prov=m.Yz7({token:b,factory:b.\u0275fac}),b})()},8543:(B,U,C)=>{"use strict";C.d(U,{n:()=>m});var c=C(5e3);let m=(()=>{class e{constructor(){this.browser="",""===this.browser&&(this.browser=this.detectBrowserVersion())}detectBrowserVersion(){let T;const k=navigator.userAgent;let F=k.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[];return/trident/i.test(F[1])?(T=/\brv[ :]+(\d+)/g.exec(k)||[],"IE "+(T[1]||"")):"Chrome"===F[1]&&(T=k.match(/\b(OPR|Edge)\/(\d+)/),null!=T)?T.slice(1).join(" ").replace("OPR","Opera"):(F=F[2]?[F[1]]:[navigator.appName],null!=(T=k.match(/version\/(\d+)/i))&&F.splice(1,1,T[1]),F.join(" "))}save(T,k){localStorage.setItem(T,k)}get(T){return localStorage.getItem(T)}remove(T){localStorage.removeItem(T)}getCookie(T){const k=T+"=",V=decodeURIComponent(document.cookie).split(";");for(let X=0;X{"use strict";C.d(U,{g:()=>F});var c=C(7261),m=C(9958),e=C(5e3),b=C(6696),T=C(4894);let k=(()=>{class V{constructor(J){this.data=J}dismiss(){this.data.close()}}return V.\u0275fac=function(J){return new(J||V)(e.Y36(c.qD))},V.\u0275cmp=e.Xpm({type:V,selectors:[["custom-snackbar"]],decls:7,vars:5,consts:[[1,"notif-container",3,"click"],[1,"notif-container-icon"],[1,"notif-container-content"],[1,"notif-container-content-msg"],[3,"innerHTML"]],template:function(J,ue){1&J&&(e.TgZ(0,"div",0),e.NdJ("click",function(){return ue.dismiss()}),e.TgZ(1,"div",1),e._UZ(2,"i"),e.qZA(),e.TgZ(3,"div",2)(4,"div",3),e._UZ(5,"div",4)(6,"div",4),e.qZA()()()),2&J&&(e.xp6(2),e.Gre("fa fa-",ue.data.icon," fa-2x"),e.xp6(3),e.Q6J("innerHTML",ue.data.url,e.oJD),e.xp6(1),e.Q6J("innerHTML",ue.data.message,e.oJD))},styles:[".notif-container[_ngcontent-%COMP%]{display:flex;align-items:center;padding-top:25px;padding-bottom:25px;cursor:pointer}.notif-container-icon[_ngcontent-%COMP%]{display:flex;width:50px;justify-content:center}.notif-container-content[_ngcontent-%COMP%]{display:flex;flex:1;justify-content:center}.notif-container-content-msg[_ngcontent-%COMP%]{display:flex;flex-direction:column} .mat-snack-bar-container{background:white} .mat-snack-bar-container.error-snackbar{color:red;border:solid 1px red} .mat-snack-bar-container.success-snackbar{color:green;border:solid 1px green}"]}),V})(),F=(()=>{class V{constructor(J,ue,ce){this.router=J,this.snackBar=ue,this.translate=ce}success(J,ue){const ce=this.getMessageDuration(J,ue||2e3);if(this.snackBar._openedSnackBarRef)this.snackBar._openedSnackBarRef.instance.data.message.includes(this.translate.instant("USER.already_logged_in"))||setTimeout(()=>{const Oe=this.snackBar.openFromComponent(k,{duration:ce,panelClass:["success-snackbar","mt-20","mr-3"],verticalPosition:"top",horizontalPosition:"right",data:{message:J,icon:"info-circle",close:()=>{Oe.dismiss()}}})},ce);else{const Oe=this.snackBar.openFromComponent(k,{duration:ce,panelClass:["success-snackbar","mt-20","mr-3"],verticalPosition:"top",horizontalPosition:"right",data:{message:J,icon:"info-circle",close:()=>{Oe.dismiss()}}})}}error(J,ue=null){const ce=this.getMessageDuration(J,6e3);if(this.snackBar._openedSnackBarRef)this.snackBar._openedSnackBarRef.instance.data.message.includes(this.translate.instant("USER.already_logged_in"))||setTimeout(()=>{const Oe=this.snackBar.openFromComponent(k,{duration:ce,panelClass:["error-snackbar","mt-20","mr-3"],verticalPosition:"top",horizontalPosition:"right",data:{url:ue,message:J,icon:"exclamation-triangle",close:()=>{Oe.dismiss()}}})},ce/3.5);else{const Oe=this.snackBar.openFromComponent(k,{duration:ce,panelClass:["error-snackbar","mt-20","mr-3"],verticalPosition:"top",horizontalPosition:"right",data:{url:ue,message:J,icon:"exclamation-triangle",close:()=>{Oe.dismiss()}}})}}handleErrors(J,ue=""){if(0===J.status&&"Unknown Error"===J.statusText){const ce=""+this.translate.instant("ERROR.connection_failed")+" : "+this.translate.instant("ERROR.is_server_up",{server:m.N.url});"/login"!==this.router.url?this.router.navigate(["/500"]).then(()=>{this.error(ce)}):this.error(ce)}else void 0!==J.error?void 0!==J.error.errors?("missing_custom_or_file_doesnt_exists"===J.error.message?this.error(""+this.translate.instant("ERROR.configuration_error")+" : "+this.translate.instant("ERROR.is_custom_present_and_file_exists")):"bad_or_missing_database_informations"===J.error.message?this.error(""+this.translate.instant("ERROR.database_error")+" : "+this.translate.instant("ERROR.bad_or_missing_database_informations")):"missing_secret_key"===J.error.message?this.error(""+this.translate.instant("ERROR.configuration_error")+" : "+this.translate.instant("ERROR.missing_secret_key")):this.error(""+J.error.errors+" : "+J.error.message,J.url),403===J.status||404===J.status?this.router.navigate(["/login"]).then():J.error.errors===this.translate.instant("ERROR.jwt_error")&&this.router.navigate(["/logout"]).then()):this.error(void 0!==J.error.exception?J.error.exception[0].message:void 0!==J.error.error?void 0!==J.error.error[0]?J.error.error[0].message:J.error.error.message:`${J.status} : ${J.statusText}`,J.url):this.error(J);ue&&this.router.navigate([ue]).then()}getMessageDuration(J,ue){const ce=J.length/25*1e3;return ce1e4?1e4:ce}}return V.\u0275fac=function(J){return new(J||V)(e.LFG(b.F0),e.LFG(c.ux),e.LFG(T.sK))},V.\u0275prov=e.Yz7({token:V,factory:V.\u0275fac}),V})()},897:(B,U,C)=>{"use strict";C.d(U,{y:()=>e});var c=C(5e3),m=C(230);let e=(()=>{class b{constructor(k){this.userService=k}hasPrivilege(k){let F=!1;const V=this.userService.getUserFromLocal();if(V){const X=V.privileges;if(X)return void 0===k||"*"===X||(X.forEach(J=>{k===J&&(F=!0)}),F)}return!1}}return b.\u0275fac=function(k){return new(k||b)(c.LFG(m.K))},b.\u0275prov=c.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"}),b})()},3208:(B,U,C)=>{"use strict";C.d(U,{g:()=>V});var c=C(5e3),m=C(6696),e=C(2313),b=C(2560),T=C(4894),k=C(3925),F=C(8543);let V=(()=>{class X{constructor(ue,ce,Oe,Pe,de,Ge){this.router=ue,this.titleService=ce,this.authService=Oe,this.translate=Pe,this.routerExtService=de,this.localStorage=Ge,this.selectedSetting="configurations",this.selectedParentSetting="general",this.settingsParent=[{id:"general",label:this.translate.instant("SETTINGS.general"),opened:!1},{id:"verifier",label:this.translate.instant("SETTINGS.verifier"),opened:!1},{id:"splitter",label:this.translate.instant("SETTINGS.splitter"),opened:!1}],this.settings={general:[{id:"configurations",label:this.translate.instant("SETTINGS.configurations"),icon:"fa-solid fa-sliders",route:"/settings/general/configurations",privilege:"configurations"},{id:"docservers",label:this.translate.instant("SETTINGS.docservers"),icon:"fa-solid fa-hard-drive",route:"/settings/general/docservers",privilege:"docservers"},{id:"regex",label:this.translate.instant("SETTINGS.regex"),icon:"fa-solid fa-star-of-life",route:"/settings/general/regex",privilege:"regex"},{id:"mailcollect",label:this.translate.instant("SETTINGS.mailcollect"),icon:"fa-solid fa-inbox",route:"/settings/general/mailcollect",privilege:"mailcollect"},{id:"users",label:this.translate.instant("SETTINGS.users_list"),icon:"fa-solid fa-user",route:"/settings/general/users",privilege:"users_list",actions:[{id:"add_user",label:this.translate.instant("USER.create_user"),route:"/settings/general/users/new",privilege:"add_user",icon:"fa-solid fa-plus"},{id:"update_user",label:this.translate.instant("USER.update"),route:"/settings/general/users/update/",icon:"fa-solid fa-edit",privilege:"update_user",showOnlyIfActive:!0}]},{id:"user-quota",label:this.translate.instant("SETTINGS.user_quota"),icon:"fa-solid fa-user-gear",route:"/settings/general/user-quota",privilege:"user_quota"},{id:"roles",label:this.translate.instant("SETTINGS.roles_list"),icon:"fa-solid fa-users",route:"/settings/general/roles",privilege:"roles_list",actions:[{id:"add_role",label:this.translate.instant("ROLE.create_role"),route:"/settings/general/roles/new",privilege:"add_role",icon:"fa-solid fa-plus"},{id:"update_role",label:this.translate.instant("ROLE.update"),route:"/settings/general/roles/update/",icon:"fa-solid fa-edit",privilege:"update_role",showOnlyIfActive:!0}]},{id:"custom-fields",label:this.translate.instant("SETTINGS.custom_fields"),route:"/settings/general/custom-fields",icon:"fa-solid fa-code",privilege:"custom_fields"},{id:"login-methods",label:this.translate.instant("SETTINGS.login_methods"),icon:"fa-solid fa-right-to-bracket",route:"/settings/general/login-methods"},{id:"about-us",label:this.translate.instant("SETTINGS.abouts_us"),icon:"fa-solid fa-address-card",route:"/settings/general/about-us"}],verifier:[{id:"verifier_display",label:this.translate.instant("SETTINGS.verifier_display"),icon:"fa-solid fa-display",route:"/settings/verifier/display",privilege:"verifier_display"},{id:"form_builder",label:this.translate.instant("SETTINGS.list_forms"),icon:"fa-brands fa-wpforms",route:"/settings/verifier/forms",privilege:"forms_list",actions:[{id:"add_form",label:this.translate.instant("SETTINGS.form_builder"),route:"/settings/verifier/forms/builder/new",privilege:"add_form",icon:"fa-solid fa-tools"},{id:"update_form",label:this.translate.instant("SETTINGS.form_update"),route:"/settings/verifier/forms/builder/edit/",privilege:"update_form",icon:"fa-solid fa-hammer",showOnlyIfActive:!0}]},{id:"input_settings",label:this.translate.instant("FORMS.input_settings"),icon:"fa-solid fa-sign-in-alt",route:"/settings/verifier/inputs",privilege:"inputs_list",actions:[{id:"add_form",label:this.translate.instant("SETTINGS.add_input"),route:"/settings/verifier/inputs/new",privilege:"add_input",icon:"fa-solid fa-plus"},{id:"update_form",label:this.translate.instant("SETTINGS.update_input"),route:"/settings/verifier/inputs/update/",privilege:"update_input",icon:"fa-solid fa-edit",showOnlyIfActive:!0}]},{id:"output_settings",label:this.translate.instant("FORMS.output_settings"),icon:"fa-solid fa-sign-out-alt",route:"/settings/verifier/outputs",privilege:"outputs_list",actions:[{id:"add_form",label:this.translate.instant("SETTINGS.add_output"),route:"/settings/verifier/outputs/new",privilege:"add_output",icon:"fa-solid fa-plus"},{id:"update_form",label:this.translate.instant("SETTINGS.update_output"),route:"/settings/verifier/outputs/update/",privilege:"update_output",icon:"fa-solid fa-edit",showOnlyIfActive:!0}]},{id:"position_mask_builder",label:this.translate.instant("SETTINGS.list_positions_mask"),icon:"fa-solid fa-map-marker-alt",route:"/settings/verifier/positions-mask",privilege:"position_mask_list",actions:[{id:"add_position_mask",label:this.translate.instant("SETTINGS.positions_mask_builder"),route:"/settings/verifier/positions-mask/create",privilege:"add_position_mask",icon:"fa-solid fa-tools"},{id:"update_position_mask",label:this.translate.instant("SETTINGS.positions_mask_update"),route:"/settings/verifier/positions-mask/update/",privilege:"update_position_mask",icon:"fa-solid fa-hammer",showOnlyIfActive:!0}]}],splitter:[{id:"splitter_form_builder",label:this.translate.instant("SETTINGS.list_forms"),icon:"fa-brands fa-wpforms",route:"/settings/splitter/forms",privilege:"forms_list_splitter",actions:[{id:"splitter_add_form",label:this.translate.instant("SETTINGS.form_builder"),route:"/settings/splitter/forms/builder/new",privilege:"add_form",icon:"fa-solid fa-tools"},{id:"splitter_update_form",label:this.translate.instant("SETTINGS.form_update"),route:"/settings/splitter/forms/builder/edit/",privilege:"update_form",icon:"fa-solid fa-hammer",showOnlyIfActive:!0}]},{id:"splitter_input_settings",label:this.translate.instant("FORMS.input_settings"),icon:"fa-solid fa-sign-in-alt",route:"/settings/splitter/inputs",privilege:"inputs_list_splitter",actions:[{id:"splitter_add_input",label:this.translate.instant("SETTINGS.add_input"),route:"/settings/splitter/inputs/new",privilege:"splitter_add_input",icon:"fa-solid fa-plus"},{id:"splitter_update_input",label:this.translate.instant("SETTINGS.update_input"),route:"/settings/splitter/inputs/update/",privilege:"update_input",icon:"fa-solid fa-edit",showOnlyIfActive:!0}]},{id:"splitter_output_settings",label:this.translate.instant("FORMS.output_settings"),icon:"fa-solid fa-sign-out-alt",route:"/settings/splitter/outputs",privilege:"outputs_list_splitter",actions:[{id:"splitter_add_output",label:this.translate.instant("SETTINGS.add_output"),route:"/settings/splitter/outputs/new",privilege:"add_output_splitter",icon:"fa-solid fa-plus"},{id:"splitter_update_output",label:this.translate.instant("SETTINGS.update_output"),route:"/settings/splitter/outputs/update/",privilege:"update_output_splitter",icon:"fa-solid fa-edit",showOnlyIfActive:!0}]},{id:"separator",label:this.translate.instant("SETTINGS.document_separator"),icon:"fa-solid fa-qrcode",route:"/settings/splitter/separator",privilege:"separator_splitter"},{id:"document-type",label:this.translate.instant("SETTINGS.document_type"),icon:"fa-solid fa-file",route:"/settings/splitter/document-type",privilege:"document_type_splitter",actions:[{id:"splitter_add_doc_type",label:this.translate.instant("SETTINGS.add_doc_type"),route:"/settings/splitter/document-type/new",privilege:"add_document_type",icon:"fa-solid fa-plus"},{id:"splitter_add_folder_doc_type",label:this.translate.instant("SETTINGS.add_doc_type_folder"),route:"/settings/splitter/document-type/create-folder",privilege:"add_document_type",icon:"fa-solid fa-folder-plus"},{id:"splitter_update_doc_type",label:this.translate.instant("SETTINGS.update_doc_type"),route:"/settings/splitter/document-type/update/",privilege:"update_document_type",icon:"fa-solid fa-edit",showOnlyIfActive:!0}]}]}}init(){this.authService.headersExists||this.authService.generateHeaders();const ue=this.localStorage.get("selectedParentSettings"),ce=this.localStorage.get("selectedSettings");if(ce&&this.setSelectedSettings(ce),ue&&this.setSelectedParentSettings(ue),null==ue&&null==ce){let Oe=!1;this.settingsParent.forEach(Pe=>{this.router.url.includes(Pe.id)&&(Oe=!0,this.setSelectedParentSettings(Pe.id))}),Oe||(this.setSelectedParentSettings("general"),this.setSelectedSettings("about-us"))}this.closeOtherParent("",this.selectedParentSetting)}getTitle(){let ue=this.titleService.getTitle();return ue=ue.split(" - ")[0],ue}changeSetting(ue,ce){this.setSelectedSettings(ue),this.setSelectedParentSettings(ce)}getSelectedSetting(){return this.selectedSetting}getSelectedParentSetting(){return this.selectedParentSetting}getSettingsParent(){return this.settingsParent}closeOtherParent(ue,ce){this.settingsParent.forEach(Oe=>{Oe.opened=ce===Oe.id})}getSettings(){return this.settings}getSettingsAction(ue,ce){let Oe;return this.settings[ue].forEach(Pe=>{Pe.id===ce&&Pe.actions&&(Oe=Pe.actions)}),Oe}setSelectedSettings(ue){this.selectedSetting=ue,this.localStorage.save("selectedSettings",ue)}setSelectedParentSettings(ue){this.selectedParentSetting=ue,this.localStorage.save("selectedParentSettings",ue)}}return X.\u0275fac=function(ue){return new(ue||X)(c.LFG(m.F0),c.LFG(e.Dx),c.LFG(b.e),c.LFG(T.sK),c.LFG(k.e),c.LFG(F.n))},X.\u0275prov=c.Yz7({token:X,factory:X.\u0275fac,providedIn:"root"}),X})()},230:(B,U,C)=>{"use strict";C.d(U,{K:()=>k});var c=C(9958),m=C(5e3),e=C(6696),b=C(520),T=C(8543);let k=(()=>{class F{constructor(X,J,ue){this.router=X,this.http=J,this.localStorage=ue,this.user={}}setUser(X){this.user=X}getUser(){return this.user}getUserFromLocal(){const X=this.getTokenUser();if(X)return JSON.parse(atob(X));"/"!==this.router.url&&"/login"!==this.router.url&&"/logout"!==this.router.url&&this.router.navigate(["/logout"]).then()}getTokenUser(){let X="OpenCaptureToken_user";return c.N.customId?X+="_"+c.N.customId:c.N.fqdn&&(X+="_"+c.N.fqdn),this.localStorage.getCookie(X)}}return F.\u0275fac=function(X){return new(X||F)(m.LFG(e.F0),m.LFG(b.eN),m.LFG(T.n))},F.\u0275prov=m.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})()},7088:function(B,U,C){!function(c){"use strict";c.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,b,T){return e<12?T?"vm":"VM":T?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(C(5439))},2502:function(B,U,C){!function(c){"use strict";var m=function(F){return 0===F?0:1===F?1:2===F?2:F%100>=3&&F%100<=10?3:F%100>=11?4:5},e={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},b=function(F){return function(V,X,J,ue){var ce=m(V),Oe=e[F][m(V)];return 2===ce&&(Oe=Oe[X?0:1]),Oe.replace(/%d/i,V)}},T=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];c.defineLocale("ar-dz",{months:T,monthsShort:T,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(F){return"\u0645"===F},meridiem:function(F,V,X){return F<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:b("s"),ss:b("s"),m:b("m"),mm:b("m"),h:b("h"),hh:b("h"),d:b("d"),dd:b("d"),M:b("M"),MM:b("M"),y:b("y"),yy:b("y")},postformat:function(F){return F.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(C(5439))},128:function(B,U,C){!function(c){"use strict";c.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(C(5439))},4519:function(B,U,C){!function(c){"use strict";var m={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},e=function(V){return 0===V?0:1===V?1:2===V?2:V%100>=3&&V%100<=10?3:V%100>=11?4:5},b={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},T=function(V){return function(X,J,ue,ce){var Oe=e(X),Pe=b[V][e(X)];return 2===Oe&&(Pe=Pe[J?0:1]),Pe.replace(/%d/i,X)}},k=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];c.defineLocale("ar-ly",{months:k,monthsShort:k,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(V){return"\u0645"===V},meridiem:function(V,X,J){return V<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:T("s"),ss:T("s"),m:T("m"),mm:T("m"),h:T("h"),hh:T("h"),d:T("d"),dd:T("d"),M:T("M"),MM:T("M"),y:T("y"),yy:T("y")},preparse:function(V){return V.replace(/\u060c/g,",")},postformat:function(V){return V.replace(/\d/g,function(X){return m[X]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(C(5439))},5443:function(B,U,C){!function(c){"use strict";c.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(C(5439))},7642:function(B,U,C){!function(c){"use strict";var m={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},e={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};c.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(T){return"\u0645"===T},meridiem:function(T,k,F){return T<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(T){return T.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(k){return e[k]}).replace(/\u060c/g,",")},postformat:function(T){return T.replace(/\d/g,function(k){return m[k]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(C(5439))},8592:function(B,U,C){!function(c){"use strict";c.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(C(5439))},7038:function(B,U,C){!function(c){"use strict";var m={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},e={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},b=function(X){return 0===X?0:1===X?1:2===X?2:X%100>=3&&X%100<=10?3:X%100>=11?4:5},T={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},k=function(X){return function(J,ue,ce,Oe){var Pe=b(J),de=T[X][b(J)];return 2===Pe&&(de=de[ue?0:1]),de.replace(/%d/i,J)}},F=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];c.defineLocale("ar",{months:F,monthsShort:F,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(X){return"\u0645"===X},meridiem:function(X,J,ue){return X<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:k("s"),ss:k("s"),m:k("m"),mm:k("m"),h:k("h"),hh:k("h"),d:k("d"),dd:k("d"),M:k("M"),MM:k("M"),y:k("y"),yy:k("y")},preparse:function(X){return X.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(J){return e[J]}).replace(/\u060c/g,",")},postformat:function(X){return X.replace(/\d/g,function(J){return m[J]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(C(5439))},1213:function(B,U,C){!function(c){"use strict";var m={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};c.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(b){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(b)},meridiem:function(b,T,k){return b<4?"gec\u0259":b<12?"s\u0259h\u0259r":b<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(b){if(0===b)return b+"-\u0131nc\u0131";var T=b%10;return b+(m[T]||m[b%100-T]||m[b>=100?100:null])},week:{dow:1,doy:7}})}(C(5439))},9191:function(B,U,C){!function(c){"use strict";function e(T,k,F){return"m"===F?k?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===F?k?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":T+" "+function m(T,k){var F=T.split("_");return k%10==1&&k%100!=11?F[0]:k%10>=2&&k%10<=4&&(k%100<10||k%100>=20)?F[1]:F[2]}({ss:k?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:k?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:k?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[F],+T)}c.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:e,mm:e,h:e,hh:e,d:"\u0434\u0437\u0435\u043d\u044c",dd:e,M:"\u043c\u0435\u0441\u044f\u0446",MM:e,y:"\u0433\u043e\u0434",yy:e},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(T){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(T)},meridiem:function(T,k,F){return T<4?"\u043d\u043e\u0447\u044b":T<12?"\u0440\u0430\u043d\u0456\u0446\u044b":T<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(T,k){switch(k){case"M":case"d":case"DDD":case"w":case"W":return T%10!=2&&T%10!=3||T%100==12||T%100==13?T+"-\u044b":T+"-\u0456";case"D":return T+"-\u0433\u0430";default:return T}},week:{dow:1,doy:7}})}(C(5439))},322:function(B,U,C){!function(c){"use strict";c.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var b=e%10,T=e%100;return 0===e?e+"-\u0435\u0432":0===T?e+"-\u0435\u043d":T>10&&T<20?e+"-\u0442\u0438":1===b?e+"-\u0432\u0438":2===b?e+"-\u0440\u0438":7===b||8===b?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(C(5439))},8042:function(B,U,C){!function(c){"use strict";c.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(C(5439))},5903:function(B,U,C){!function(c){"use strict";var m={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},e={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};c.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(T){return T.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(k){return e[k]})},postformat:function(T){return T.replace(/\d/g,function(k){return m[k]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(T,k){return 12===T&&(T=0),"\u09b0\u09be\u09a4"===k?T<4?T:T+12:"\u09ad\u09cb\u09b0"===k||"\u09b8\u0995\u09be\u09b2"===k?T:"\u09a6\u09c1\u09aa\u09c1\u09b0"===k?T>=3?T:T+12:"\u09ac\u09bf\u0995\u09be\u09b2"===k||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===k?T+12:void 0},meridiem:function(T,k,F){return T<4?"\u09b0\u09be\u09a4":T<6?"\u09ad\u09cb\u09b0":T<12?"\u09b8\u0995\u09be\u09b2":T<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":T<18?"\u09ac\u09bf\u0995\u09be\u09b2":T<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(C(5439))},9620:function(B,U,C){!function(c){"use strict";var m={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},e={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};c.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(T){return T.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(k){return e[k]})},postformat:function(T){return T.replace(/\d/g,function(k){return m[k]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(T,k){return 12===T&&(T=0),"\u09b0\u09be\u09a4"===k&&T>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===k&&T<5||"\u09ac\u09bf\u0995\u09be\u09b2"===k?T+12:T},meridiem:function(T,k,F){return T<4?"\u09b0\u09be\u09a4":T<10?"\u09b8\u0995\u09be\u09b2":T<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":T<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(C(5439))},9645:function(B,U,C){!function(c){"use strict";var m={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},e={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};c.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(T){return T.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(k){return e[k]})},postformat:function(T){return T.replace(/\d/g,function(k){return m[k]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(T,k){return 12===T&&(T=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===k&&T>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===k&&T<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===k?T+12:T},meridiem:function(T,k,F){return T<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":T<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":T<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":T<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(C(5439))},5020:function(B,U,C){!function(c){"use strict";function m(de,Ge,le){return de+" "+function T(de,Ge){return 2===Ge?function k(de){var Ge={m:"v",b:"v",d:"z"};return void 0===Ge[de.charAt(0)]?de:Ge[de.charAt(0)]+de.substring(1)}(de):de}({mm:"munutenn",MM:"miz",dd:"devezh"}[le],de)}function b(de){return de>9?b(de%10):de}var F=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],V=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,Oe=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];c.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:Oe,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:Oe,monthsRegex:V,monthsShortRegex:V,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:F,longMonthsParse:F,shortMonthsParse:F,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:m,h:"un eur",hh:"%d eur",d:"un devezh",dd:m,M:"ur miz",MM:m,y:"ur bloaz",yy:function e(de){switch(b(de)){case 1:case 3:case 4:case 5:case 9:return de+" bloaz";default:return de+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(de){return de+(1===de?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(de){return"g.m."===de},meridiem:function(de,Ge,le){return de<12?"a.m.":"g.m."}})}(C(5439))},4792:function(B,U,C){!function(c){"use strict";function m(b,T,k){var F=b+" ";switch(k){case"ss":return F+(1===b?"sekunda":2===b||3===b||4===b?"sekunde":"sekundi");case"m":return T?"jedna minuta":"jedne minute";case"mm":return F+(1===b?"minuta":2===b||3===b||4===b?"minute":"minuta");case"h":return T?"jedan sat":"jednog sata";case"hh":return F+(1===b?"sat":2===b||3===b||4===b?"sata":"sati");case"dd":return F+(1===b?"dan":"dana");case"MM":return F+(1===b?"mjesec":2===b||3===b||4===b?"mjeseca":"mjeseci");case"yy":return F+(1===b?"godina":2===b||3===b||4===b?"godine":"godina")}}c.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:m,m,mm:m,h:m,hh:m,d:"dan",dd:m,M:"mjesec",MM:m,y:"godinu",yy:m},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(C(5439))},7980:function(B,U,C){!function(c){"use strict";c.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(e,b){var T=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8";return("w"===b||"W"===b)&&(T="a"),e+T},week:{dow:1,doy:4}})}(C(5439))},7322:function(B,U,C){!function(c){"use strict";var m={format:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),standalone:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_")},e="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),b=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],T=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function k(X){return X>1&&X<5&&1!=~~(X/10)}function F(X,J,ue,ce){var Oe=X+" ";switch(ue){case"s":return J||ce?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return J||ce?Oe+(k(X)?"sekundy":"sekund"):Oe+"sekundami";case"m":return J?"minuta":ce?"minutu":"minutou";case"mm":return J||ce?Oe+(k(X)?"minuty":"minut"):Oe+"minutami";case"h":return J?"hodina":ce?"hodinu":"hodinou";case"hh":return J||ce?Oe+(k(X)?"hodiny":"hodin"):Oe+"hodinami";case"d":return J||ce?"den":"dnem";case"dd":return J||ce?Oe+(k(X)?"dny":"dn\xed"):Oe+"dny";case"M":return J||ce?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return J||ce?Oe+(k(X)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):Oe+"m\u011bs\xedci";case"y":return J||ce?"rok":"rokem";case"yy":return J||ce?Oe+(k(X)?"roky":"let"):Oe+"lety"}}c.defineLocale("cs",{months:m,monthsShort:e,monthsRegex:T,monthsShortRegex:T,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:b,longMonthsParse:b,shortMonthsParse:b,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:F,ss:F,m:F,mm:F,h:F,hh:F,d:F,dd:F,M:F,MM:F,y:F,yy:F},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},365:function(B,U,C){!function(c){"use strict";c.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(e){return e+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(e)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(e)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(C(5439))},2092:function(B,U,C){!function(c){"use strict";c.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var T="";return e>20?T=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(T=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+T},week:{dow:1,doy:4}})}(C(5439))},7387:function(B,U,C){!function(c){"use strict";c.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},9459:function(B,U,C){!function(c){"use strict";function m(b,T,k,F){var V={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[b+" Tage",b+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[b+" Monate",b+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[b+" Jahre",b+" Jahren"]};return T?V[k][0]:V[k][1]}c.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m,mm:"%d Minuten",h:m,hh:"%d Stunden",d:m,dd:m,w:m,ww:"%d Wochen",M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},3694:function(B,U,C){!function(c){"use strict";function m(b,T,k,F){var V={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[b+" Tage",b+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[b+" Monate",b+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[b+" Jahre",b+" Jahren"]};return T?V[k][0]:V[k][1]}c.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m,mm:"%d Minuten",h:m,hh:"%d Stunden",d:m,dd:m,w:m,ww:"%d Wochen",M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},4307:function(B,U,C){!function(c){"use strict";function m(b,T,k,F){var V={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[b+" Tage",b+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[b+" Monate",b+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[b+" Jahre",b+" Jahren"]};return T?V[k][0]:V[k][1]}c.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m,mm:"%d Minuten",h:m,hh:"%d Stunden",d:m,dd:m,w:m,ww:"%d Wochen",M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},9659:function(B,U,C){!function(c){"use strict";var m=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],e=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];c.defineLocale("dv",{months:m,monthsShort:m,weekdays:e,weekdaysShort:e,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(T){return"\u0789\u078a"===T},meridiem:function(T,k,F){return T<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(T){return T.replace(/\u060c/g,",")},postformat:function(T){return T.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(C(5439))},3460:function(B,U,C){!function(c){"use strict";c.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(b,T){return b?"string"==typeof T&&/D/.test(T.substring(0,T.indexOf("MMMM")))?this._monthsGenitiveEl[b.month()]:this._monthsNominativeEl[b.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(b,T,k){return b>11?k?"\u03bc\u03bc":"\u039c\u039c":k?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(b){return"\u03bc"===(b+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(b,T){var k=this._calendarEl[b],F=T&&T.hours();return function m(b){return"undefined"!=typeof Function&&b instanceof Function||"[object Function]"===Object.prototype.toString.call(b)}(k)&&(k=k.apply(T)),k.replace("{}",F%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(C(5439))},4369:function(B,U,C){!function(c){"use strict";c.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var b=e%10;return e+(1==~~(e%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:0,doy:4}})}(C(5439))},530:function(B,U,C){!function(c){"use strict";c.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var b=e%10;return e+(1==~~(e%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")}})}(C(5439))},9998:function(B,U,C){!function(c){"use strict";c.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var b=e%10;return e+(1==~~(e%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(C(5439))},3391:function(B,U,C){!function(c){"use strict";c.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var b=e%10;return e+(1==~~(e%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(C(5439))},5414:function(B,U,C){!function(c){"use strict";c.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var b=e%10;return e+(1==~~(e%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")}})}(C(5439))},9615:function(B,U,C){!function(c){"use strict";c.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var b=e%10;return e+(1==~~(e%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:0,doy:6}})}(C(5439))},1248:function(B,U,C){!function(c){"use strict";c.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var b=e%10;return e+(1==~~(e%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(C(5439))},3767:function(B,U,C){!function(c){"use strict";c.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var b=e%10;return e+(1==~~(e%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(C(5439))},4530:function(B,U,C){!function(c){"use strict";c.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,b,T){return e>11?T?"p.t.m.":"P.T.M.":T?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(C(5439))},8944:function(B,U,C){!function(c){"use strict";var m="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),e="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),b=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],T=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;c.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(F,V){return F?/-MMM-/.test(V)?e[F.month()]:m[F.month()]:m},monthsRegex:T,monthsShortRegex:T,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:b,longMonthsParse:b,shortMonthsParse:b,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(C(5439))},9116:function(B,U,C){!function(c){"use strict";var m="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),e="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),b=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],T=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;c.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(F,V){return F?/-MMM-/.test(V)?e[F.month()]:m[F.month()]:m},monthsRegex:T,monthsShortRegex:T,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:b,longMonthsParse:b,shortMonthsParse:b,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(C(5439))},3609:function(B,U,C){!function(c){"use strict";var m="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),e="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),b=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],T=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;c.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(F,V){return F?/-MMM-/.test(V)?e[F.month()]:m[F.month()]:m},monthsRegex:T,monthsShortRegex:T,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:b,longMonthsParse:b,shortMonthsParse:b,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(C(5439))},6866:function(B,U,C){!function(c){"use strict";var m="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),e="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),b=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],T=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;c.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(F,V){return F?/-MMM-/.test(V)?e[F.month()]:m[F.month()]:m},monthsRegex:T,monthsShortRegex:T,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:b,longMonthsParse:b,shortMonthsParse:b,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(C(5439))},6725:function(B,U,C){!function(c){"use strict";function m(b,T,k,F){var V={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[b+"sekundi",b+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[b+" minuti",b+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[b+" tunni",b+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[b+" kuu",b+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[b+" aasta",b+" aastat"]};return T?V[k][2]?V[k][2]:V[k][1]:F?V[k][0]:V[k][1]}c.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:m,ss:m,m,mm:m,h:m,hh:m,d:m,dd:"%d p\xe4eva",M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},7931:function(B,U,C){!function(c){"use strict";c.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(C(5439))},6417:function(B,U,C){!function(c){"use strict";var m={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},e={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};c.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(T){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(T)},meridiem:function(T,k,F){return T<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(T){return T.replace(/[\u06f0-\u06f9]/g,function(k){return e[k]}).replace(/\u060c/g,",")},postformat:function(T){return T.replace(/\d/g,function(k){return m[k]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(C(5439))},944:function(B,U,C){!function(c){"use strict";var m="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),e=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",m[7],m[8],m[9]];function b(F,V,X,J){var ue="";switch(X){case"s":return J?"muutaman sekunnin":"muutama sekunti";case"ss":ue=J?"sekunnin":"sekuntia";break;case"m":return J?"minuutin":"minuutti";case"mm":ue=J?"minuutin":"minuuttia";break;case"h":return J?"tunnin":"tunti";case"hh":ue=J?"tunnin":"tuntia";break;case"d":return J?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":ue=J?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return J?"kuukauden":"kuukausi";case"MM":ue=J?"kuukauden":"kuukautta";break;case"y":return J?"vuoden":"vuosi";case"yy":ue=J?"vuoden":"vuotta"}return function T(F,V){return F<10?V?e[F]:m[F]:F}(F,J)+" "+ue}c.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:b,ss:b,m:b,mm:b,h:b,hh:b,d:b,dd:b,M:b,MM:b,y:b,yy:b},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},1766:function(B,U,C){!function(c){"use strict";c.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(C(5439))},5867:function(B,U,C){!function(c){"use strict";c.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},6848:function(B,U,C){!function(c){"use strict";c.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,b){switch(b){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(C(5439))},7773:function(B,U,C){!function(c){"use strict";c.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,b){switch(b){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(C(5439))},1636:function(B,U,C){!function(c){"use strict";var b=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,T=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];c.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:b,monthsShortRegex:b,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:T,longMonthsParse:T,shortMonthsParse:T,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(F,V){switch(V){case"D":return F+(1===F?"er":"");default:case"M":case"Q":case"DDD":case"d":return F+(1===F?"er":"e");case"w":case"W":return F+(1===F?"re":"e")}},week:{dow:1,doy:4}})}(C(5439))},4940:function(B,U,C){!function(c){"use strict";var m="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),e="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");c.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(T,k){return T?/-MMM-/.test(k)?e[T.month()]:m[T.month()]:m},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(T){return T+(1===T||8===T||T>=20?"ste":"de")},week:{dow:1,doy:4}})}(C(5439))},1402:function(B,U,C){!function(c){"use strict";c.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(V){return V+(1===V?"d":V%10==2?"na":"mh")},week:{dow:1,doy:4}})}(C(5439))},6924:function(B,U,C){!function(c){"use strict";c.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(V){return V+(1===V?"d":V%10==2?"na":"mh")},week:{dow:1,doy:4}})}(C(5439))},6398:function(B,U,C){!function(c){"use strict";c.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(C(5439))},2457:function(B,U,C){!function(c){"use strict";function m(b,T,k,F){var V={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[b+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",b+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[b+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",b+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[b+" \u0935\u0930\u093e\u0902\u0928\u0940",b+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[b+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",b+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[b+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",b+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[b+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",b+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return F?V[k][0]:V[k][1]}c.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:m,ss:m,m,mm:m,h:m,hh:m,d:m,dd:m,M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(b,T){return"D"===T?b+"\u0935\u0947\u0930":b},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(b,T){return 12===b&&(b=0),"\u0930\u093e\u0924\u0940"===T?b<4?b:b+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===T?b:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===T?b>12?b:b+12:"\u0938\u093e\u0902\u091c\u0947"===T?b+12:void 0},meridiem:function(b,T,k){return b<4?"\u0930\u093e\u0924\u0940":b<12?"\u0938\u0915\u093e\u0933\u0940\u0902":b<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":b<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(C(5439))},2545:function(B,U,C){!function(c){"use strict";function m(b,T,k,F){var V={s:["thoddea sekondamni","thodde sekond"],ss:[b+" sekondamni",b+" sekond"],m:["eka mintan","ek minut"],mm:[b+" mintamni",b+" mintam"],h:["eka voran","ek vor"],hh:[b+" voramni",b+" voram"],d:["eka disan","ek dis"],dd:[b+" disamni",b+" dis"],M:["eka mhoinean","ek mhoino"],MM:[b+" mhoineamni",b+" mhoine"],y:["eka vorsan","ek voros"],yy:[b+" vorsamni",b+" vorsam"]};return F?V[k][0]:V[k][1]}c.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:m,ss:m,m,mm:m,h:m,hh:m,d:m,dd:m,M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(b,T){return"D"===T?b+"er":b},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(b,T){return 12===b&&(b=0),"rati"===T?b<4?b:b+12:"sokallim"===T?b:"donparam"===T?b>12?b:b+12:"sanje"===T?b+12:void 0},meridiem:function(b,T,k){return b<4?"rati":b<12?"sokallim":b<16?"donparam":b<20?"sanje":"rati"}})}(C(5439))},2641:function(B,U,C){!function(c){"use strict";var m={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},e={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};c.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(T){return T.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(k){return e[k]})},postformat:function(T){return T.replace(/\d/g,function(k){return m[k]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(T,k){return 12===T&&(T=0),"\u0ab0\u0abe\u0aa4"===k?T<4?T:T+12:"\u0ab8\u0ab5\u0abe\u0ab0"===k?T:"\u0aac\u0aaa\u0acb\u0ab0"===k?T>=10?T:T+12:"\u0ab8\u0abe\u0a82\u0a9c"===k?T+12:void 0},meridiem:function(T,k,F){return T<4?"\u0ab0\u0abe\u0aa4":T<10?"\u0ab8\u0ab5\u0abe\u0ab0":T<17?"\u0aac\u0aaa\u0acb\u0ab0":T<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(C(5439))},7536:function(B,U,C){!function(c){"use strict";c.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(e){return 2===e?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":e+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(e){return 2===e?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":e+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(e){return 2===e?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":e+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(e){return 2===e?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":e%10==0&&10!==e?e+" \u05e9\u05e0\u05d4":e+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(e){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(e)},meridiem:function(e,b,T){return e<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":e<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":e<12?T?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":e<18?T?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(C(5439))},6335:function(B,U,C){!function(c){"use strict";var m={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},e={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},b=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];c.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:b,longMonthsParse:b,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(F){return F.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(V){return e[V]})},postformat:function(F){return F.replace(/\d/g,function(V){return m[V]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(F,V){return 12===F&&(F=0),"\u0930\u093e\u0924"===V?F<4?F:F+12:"\u0938\u0941\u092c\u0939"===V?F:"\u0926\u094b\u092a\u0939\u0930"===V?F>=10?F:F+12:"\u0936\u093e\u092e"===V?F+12:void 0},meridiem:function(F,V,X){return F<4?"\u0930\u093e\u0924":F<10?"\u0938\u0941\u092c\u0939":F<17?"\u0926\u094b\u092a\u0939\u0930":F<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(C(5439))},7458:function(B,U,C){!function(c){"use strict";function m(b,T,k){var F=b+" ";switch(k){case"ss":return F+(1===b?"sekunda":2===b||3===b||4===b?"sekunde":"sekundi");case"m":return T?"jedna minuta":"jedne minute";case"mm":return F+(1===b?"minuta":2===b||3===b||4===b?"minute":"minuta");case"h":return T?"jedan sat":"jednog sata";case"hh":return F+(1===b?"sat":2===b||3===b||4===b?"sata":"sati");case"dd":return F+(1===b?"dan":"dana");case"MM":return F+(1===b?"mjesec":2===b||3===b||4===b?"mjeseca":"mjeseci");case"yy":return F+(1===b?"godina":2===b||3===b||4===b?"godine":"godina")}}c.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:m,m,mm:m,h:m,hh:m,d:"dan",dd:m,M:"mjesec",MM:m,y:"godinu",yy:m},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(C(5439))},6540:function(B,U,C){!function(c){"use strict";var m="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function e(k,F,V,X){var J=k;switch(V){case"s":return X||F?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return J+(X||F)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(X||F?" perc":" perce");case"mm":return J+(X||F?" perc":" perce");case"h":return"egy"+(X||F?" \xf3ra":" \xf3r\xe1ja");case"hh":return J+(X||F?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(X||F?" nap":" napja");case"dd":return J+(X||F?" nap":" napja");case"M":return"egy"+(X||F?" h\xf3nap":" h\xf3napja");case"MM":return J+(X||F?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(X||F?" \xe9v":" \xe9ve");case"yy":return J+(X||F?" \xe9v":" \xe9ve")}return""}function b(k){return(k?"":"[m\xfalt] ")+"["+m[this.day()]+"] LT[-kor]"}c.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(k){return"u"===k.charAt(1).toLowerCase()},meridiem:function(k,F,V){return k<12?!0===V?"de":"DE":!0===V?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return b.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return b.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},5283:function(B,U,C){!function(c){"use strict";c.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(e){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(e)},meridiem:function(e){return e<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":e<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":e<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(e,b){switch(b){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-\u056b\u0576":e+"-\u0580\u0564";default:return e}},week:{dow:1,doy:7}})}(C(5439))},8780:function(B,U,C){!function(c){"use strict";c.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,b){return 12===e&&(e=0),"pagi"===b?e:"siang"===b?e>=11?e:e+12:"sore"===b||"malam"===b?e+12:void 0},meridiem:function(e,b,T){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(C(5439))},4205:function(B,U,C){!function(c){"use strict";function m(T){return T%100==11||T%10!=1}function e(T,k,F,V){var X=T+" ";switch(F){case"s":return k||V?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return m(T)?X+(k||V?"sek\xfandur":"sek\xfandum"):X+"sek\xfanda";case"m":return k?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return m(T)?X+(k||V?"m\xedn\xfatur":"m\xedn\xfatum"):k?X+"m\xedn\xfata":X+"m\xedn\xfatu";case"hh":return m(T)?X+(k||V?"klukkustundir":"klukkustundum"):X+"klukkustund";case"d":return k?"dagur":V?"dag":"degi";case"dd":return m(T)?k?X+"dagar":X+(V?"daga":"d\xf6gum"):k?X+"dagur":X+(V?"dag":"degi");case"M":return k?"m\xe1nu\xf0ur":V?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return m(T)?k?X+"m\xe1nu\xf0ir":X+(V?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):k?X+"m\xe1nu\xf0ur":X+(V?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return k||V?"\xe1r":"\xe1ri";case"yy":return m(T)?X+(k||V?"\xe1r":"\xe1rum"):X+(k||V?"\xe1r":"\xe1ri")}}c.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:e,ss:e,m:e,mm:e,h:"klukkustund",hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},9985:function(B,U,C){!function(c){"use strict";c.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(C(5439))},4211:function(B,U,C){!function(c){"use strict";c.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(C(5439))},1003:function(B,U,C){!function(c){"use strict";c.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(e,b){return"\u5143"===b[1]?1:parseInt(b[1]||e,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(e){return"\u5348\u5f8c"===e},meridiem:function(e,b,T){return e<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(e){return e.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(e){return this.week()!==e.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(e,b){switch(b){case"y":return 1===e?"\u5143\u5e74":e+"\u5e74";case"d":case"D":case"DDD":return e+"\u65e5";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(C(5439))},420:function(B,U,C){!function(c){"use strict";c.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,b){return 12===e&&(e=0),"enjing"===b?e:"siyang"===b?e>=11?e:e+12:"sonten"===b||"ndalu"===b?e+12:void 0},meridiem:function(e,b,T){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(C(5439))},851:function(B,U,C){!function(c){"use strict";c.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(b,T,k){return"\u10d8"===k?T+"\u10e8\u10d8":T+k+"\u10e8\u10d8"})},past:function(e){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(e)?e.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(e)?e.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):e},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(e){return 0===e?e:1===e?e+"-\u10da\u10d8":e<20||e<=100&&e%20==0||e%100==0?"\u10db\u10d4-"+e:e+"-\u10d4"},week:{dow:1,doy:7}})}(C(5439))},6074:function(B,U,C){!function(c){"use strict";var m={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};c.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(b){return b+(m[b]||m[b%10]||m[b>=100?100:null])},week:{dow:1,doy:7}})}(C(5439))},3343:function(B,U,C){!function(c){"use strict";var m={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},e={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};c.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(T){return"\u179b\u17d2\u1784\u17b6\u1785"===T},meridiem:function(T,k,F){return T<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(T){return T.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(k){return e[k]})},postformat:function(T){return T.replace(/\d/g,function(k){return m[k]})},week:{dow:1,doy:4}})}(C(5439))},4799:function(B,U,C){!function(c){"use strict";var m={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},e={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};c.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(T){return T.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(k){return e[k]})},postformat:function(T){return T.replace(/\d/g,function(k){return m[k]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(T,k){return 12===T&&(T=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===k?T<4?T:T+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===k?T:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===k?T>=10?T:T+12:"\u0cb8\u0c82\u0c9c\u0cc6"===k?T+12:void 0},meridiem:function(T,k,F){return T<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":T<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":T<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":T<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(T){return T+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(C(5439))},3549:function(B,U,C){!function(c){"use strict";c.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(e,b){switch(b){case"d":case"D":case"DDD":return e+"\uc77c";case"M":return e+"\uc6d4";case"w":case"W":return e+"\uc8fc";default:return e}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(e){return"\uc624\ud6c4"===e},meridiem:function(e,b,T){return e<12?"\uc624\uc804":"\uc624\ud6c4"}})}(C(5439))},1037:function(B,U,C){!function(c){"use strict";var m={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},e={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},b=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];c.defineLocale("ku",{months:b,monthsShort:b,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(k){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(k)},meridiem:function(k,F,V){return k<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(k){return k.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(F){return e[F]}).replace(/\u060c/g,",")},postformat:function(k){return k.replace(/\d/g,function(F){return m[F]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(C(5439))},3125:function(B,U,C){!function(c){"use strict";var m={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};c.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(b){return b+(m[b]||m[b%10]||m[b>=100?100:null])},week:{dow:1,doy:7}})}(C(5439))},9586:function(B,U,C){!function(c){"use strict";function m(F,V,X,J){var ue={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return V?ue[X][0]:ue[X][1]}function T(F){if(F=parseInt(F,10),isNaN(F))return!1;if(F<0)return!0;if(F<10)return 4<=F&&F<=7;if(F<100){var V=F%10;return T(0===V?F/10:V)}if(F<1e4){for(;F>=10;)F/=10;return T(F)}return T(F/=1e3)}c.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function e(F){return T(F.substr(0,F.indexOf(" ")))?"a "+F:"an "+F},past:function b(F){return T(F.substr(0,F.indexOf(" ")))?"viru "+F:"virun "+F},s:"e puer Sekonnen",ss:"%d Sekonnen",m,mm:"%d Minutten",h:m,hh:"%d Stonnen",d:m,dd:"%d Deeg",M:m,MM:"%d M\xe9int",y:m,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},2349:function(B,U,C){!function(c){"use strict";c.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(e){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===e},meridiem:function(e,b,T){return e<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(e){return"\u0e97\u0eb5\u0ec8"+e}})}(C(5439))},2400:function(B,U,C){!function(c){"use strict";var m={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function b(X,J,ue,ce){return J?k(ue)[0]:ce?k(ue)[1]:k(ue)[2]}function T(X){return X%10==0||X>10&&X<20}function k(X){return m[X].split("_")}function F(X,J,ue,ce){var Oe=X+" ";return 1===X?Oe+b(0,J,ue[0],ce):J?Oe+(T(X)?k(ue)[1]:k(ue)[0]):ce?Oe+k(ue)[1]:Oe+(T(X)?k(ue)[1]:k(ue)[2])}c.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function e(X,J,ue,ce){return J?"kelios sekund\u0117s":ce?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:F,m:b,mm:F,h:b,hh:F,d:b,dd:F,M:b,MM:F,y:b,yy:F},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(X){return X+"-oji"},week:{dow:1,doy:4}})}(C(5439))},9991:function(B,U,C){!function(c){"use strict";var m={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function e(V,X,J){return J?X%10==1&&X%100!=11?V[2]:V[3]:X%10==1&&X%100!=11?V[0]:V[1]}function b(V,X,J){return V+" "+e(m[J],V,X)}function T(V,X,J){return e(m[J],V,X)}c.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function k(V,X){return X?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:b,m:T,mm:b,h:T,hh:b,d:T,dd:b,M:T,MM:b,y:T,yy:b},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},8477:function(B,U,C){!function(c){"use strict";var m={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(b,T){return 1===b?T[0]:b>=2&&b<=4?T[1]:T[2]},translate:function(b,T,k){var F=m.words[k];return 1===k.length?T?F[0]:F[1]:b+" "+m.correctGrammaticalCase(b,F)}};c.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:m.translate,m:m.translate,mm:m.translate,h:m.translate,hh:m.translate,d:"dan",dd:m.translate,M:"mjesec",MM:m.translate,y:"godinu",yy:m.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(C(5439))},5118:function(B,U,C){!function(c){"use strict";c.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(C(5439))},5943:function(B,U,C){!function(c){"use strict";c.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var b=e%10,T=e%100;return 0===e?e+"-\u0435\u0432":0===T?e+"-\u0435\u043d":T>10&&T<20?e+"-\u0442\u0438":1===b?e+"-\u0432\u0438":2===b?e+"-\u0440\u0438":7===b||8===b?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(C(5439))},3849:function(B,U,C){!function(c){"use strict";c.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(e,b){return 12===e&&(e=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===b&&e>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===b||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===b?e+12:e},meridiem:function(e,b,T){return e<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":e<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":e<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":e<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(C(5439))},1977:function(B,U,C){!function(c){"use strict";function m(b,T,k,F){switch(k){case"s":return T?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return b+(T?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return b+(T?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return b+(T?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return b+(T?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return b+(T?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return b+(T?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return b}}c.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(b){return"\u04ae\u0425"===b},meridiem:function(b,T,k){return b<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:m,ss:m,m,mm:m,h:m,hh:m,d:m,dd:m,M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(b,T){switch(T){case"d":case"D":case"DDD":return b+" \u04e9\u0434\u04e9\u0440";default:return b}}})}(C(5439))},6184:function(B,U,C){!function(c){"use strict";var m={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},e={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function b(k,F,V,X){var J="";if(F)switch(V){case"s":J="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":J="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":J="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":J="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":J="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":J="%d \u0924\u093e\u0938";break;case"d":J="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":J="%d \u0926\u093f\u0935\u0938";break;case"M":J="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":J="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":J="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":J="%d \u0935\u0930\u094d\u0937\u0947"}else switch(V){case"s":J="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":J="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":J="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":J="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":J="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":J="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":J="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":J="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":J="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":J="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":J="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":J="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return J.replace(/%d/i,k)}c.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:b,ss:b,m:b,mm:b,h:b,hh:b,d:b,dd:b,M:b,MM:b,y:b,yy:b},preparse:function(k){return k.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(F){return e[F]})},postformat:function(k){return k.replace(/\d/g,function(F){return m[F]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(k,F){return 12===k&&(k=0),"\u092a\u0939\u093e\u091f\u0947"===F||"\u0938\u0915\u093e\u0933\u0940"===F?k:"\u0926\u0941\u092a\u093e\u0930\u0940"===F||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===F||"\u0930\u093e\u0924\u094d\u0930\u0940"===F?k>=12?k:k+12:void 0},meridiem:function(k,F,V){return k>=0&&k<6?"\u092a\u0939\u093e\u091f\u0947":k<12?"\u0938\u0915\u093e\u0933\u0940":k<17?"\u0926\u0941\u092a\u093e\u0930\u0940":k<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(C(5439))},4524:function(B,U,C){!function(c){"use strict";c.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,b){return 12===e&&(e=0),"pagi"===b?e:"tengahari"===b?e>=11?e:e+12:"petang"===b||"malam"===b?e+12:void 0},meridiem:function(e,b,T){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(C(5439))},485:function(B,U,C){!function(c){"use strict";c.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,b){return 12===e&&(e=0),"pagi"===b?e:"tengahari"===b?e>=11?e:e+12:"petang"===b||"malam"===b?e+12:void 0},meridiem:function(e,b,T){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(C(5439))},6681:function(B,U,C){!function(c){"use strict";c.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(C(5439))},2024:function(B,U,C){!function(c){"use strict";var m={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},e={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};c.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(T){return T.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(k){return e[k]})},postformat:function(T){return T.replace(/\d/g,function(k){return m[k]})},week:{dow:1,doy:4}})}(C(5439))},2688:function(B,U,C){!function(c){"use strict";c.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},8914:function(B,U,C){!function(c){"use strict";var m={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},e={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};c.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(T){return T.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(k){return e[k]})},postformat:function(T){return T.replace(/\d/g,function(k){return m[k]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(T,k){return 12===T&&(T=0),"\u0930\u093e\u0924\u093f"===k?T<4?T:T+12:"\u092c\u093f\u0939\u093e\u0928"===k?T:"\u0926\u093f\u0909\u0901\u0938\u094b"===k?T>=10?T:T+12:"\u0938\u093e\u0901\u091d"===k?T+12:void 0},meridiem:function(T,k,F){return T<3?"\u0930\u093e\u0924\u093f":T<12?"\u092c\u093f\u0939\u093e\u0928":T<16?"\u0926\u093f\u0909\u0901\u0938\u094b":T<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(C(5439))},2272:function(B,U,C){!function(c){"use strict";var m="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),e="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),b=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],T=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;c.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(F,V){return F?/-MMM-/.test(V)?e[F.month()]:m[F.month()]:m},monthsRegex:T,monthsShortRegex:T,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:b,longMonthsParse:b,shortMonthsParse:b,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(F){return F+(1===F||8===F||F>=20?"ste":"de")},week:{dow:1,doy:4}})}(C(5439))},1758:function(B,U,C){!function(c){"use strict";var m="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),e="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),b=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],T=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;c.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(F,V){return F?/-MMM-/.test(V)?e[F.month()]:m[F.month()]:m},monthsRegex:T,monthsShortRegex:T,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:b,longMonthsParse:b,shortMonthsParse:b,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(F){return F+(1===F||8===F||F>=20?"ste":"de")},week:{dow:1,doy:4}})}(C(5439))},1510:function(B,U,C){!function(c){"use strict";c.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},2797:function(B,U,C){!function(c){"use strict";c.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(e,b){var T=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8";return("w"===b||"W"===b)&&(T="a"),e+T},week:{dow:1,doy:4}})}(C(5439))},7944:function(B,U,C){!function(c){"use strict";var m={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},e={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};c.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(T){return T.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(k){return e[k]})},postformat:function(T){return T.replace(/\d/g,function(k){return m[k]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(T,k){return 12===T&&(T=0),"\u0a30\u0a3e\u0a24"===k?T<4?T:T+12:"\u0a38\u0a35\u0a47\u0a30"===k?T:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===k?T>=10?T:T+12:"\u0a38\u0a3c\u0a3e\u0a2e"===k?T+12:void 0},meridiem:function(T,k,F){return T<4?"\u0a30\u0a3e\u0a24":T<10?"\u0a38\u0a35\u0a47\u0a30":T<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":T<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(C(5439))},1605:function(B,U,C){!function(c){"use strict";var m="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),e="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),b=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function T(V){return V%10<5&&V%10>1&&~~(V/10)%10!=1}function k(V,X,J){var ue=V+" ";switch(J){case"ss":return ue+(T(V)?"sekundy":"sekund");case"m":return X?"minuta":"minut\u0119";case"mm":return ue+(T(V)?"minuty":"minut");case"h":return X?"godzina":"godzin\u0119";case"hh":return ue+(T(V)?"godziny":"godzin");case"ww":return ue+(T(V)?"tygodnie":"tygodni");case"MM":return ue+(T(V)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return ue+(T(V)?"lata":"lat")}}c.defineLocale("pl",{months:function(V,X){return V?/D MMMM/.test(X)?e[V.month()]:m[V.month()]:m},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:b,longMonthsParse:b,shortMonthsParse:b,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:k,m:k,mm:k,h:k,hh:k,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:k,M:"miesi\u0105c",MM:k,y:"rok",yy:k},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},3840:function(B,U,C){!function(c){"use strict";c.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(C(5439))},4225:function(B,U,C){!function(c){"use strict";c.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(C(5439))},5128:function(B,U,C){!function(c){"use strict";function m(b,T,k){var V=" ";return(b%100>=20||b>=100&&b%100==0)&&(V=" de "),b+V+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[k]}c.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:m,m:"un minut",mm:m,h:"o or\u0103",hh:m,d:"o zi",dd:m,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:m,M:"o lun\u0103",MM:m,y:"un an",yy:m},week:{dow:1,doy:7}})}(C(5439))},5127:function(B,U,C){!function(c){"use strict";function e(k,F,V){return"m"===V?F?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":k+" "+function m(k,F){var V=k.split("_");return F%10==1&&F%100!=11?V[0]:F%10>=2&&F%10<=4&&(F%100<10||F%100>=20)?V[1]:V[2]}({ss:F?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:F?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[V],+k)}var b=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];c.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:b,longMonthsParse:b,shortMonthsParse:b,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(k){if(k.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(k){if(k.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:e,m:e,mm:e,h:"\u0447\u0430\u0441",hh:e,d:"\u0434\u0435\u043d\u044c",dd:e,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:e,M:"\u043c\u0435\u0441\u044f\u0446",MM:e,y:"\u0433\u043e\u0434",yy:e},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(k){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(k)},meridiem:function(k,F,V){return k<4?"\u043d\u043e\u0447\u0438":k<12?"\u0443\u0442\u0440\u0430":k<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(k,F){switch(F){case"M":case"d":case"DDD":return k+"-\u0439";case"D":return k+"-\u0433\u043e";case"w":case"W":return k+"-\u044f";default:return k}},week:{dow:1,doy:4}})}(C(5439))},2525:function(B,U,C){!function(c){"use strict";var m=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],e=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];c.defineLocale("sd",{months:m,monthsShort:m,weekdays:e,weekdaysShort:e,weekdaysMin:e,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(T){return"\u0634\u0627\u0645"===T},meridiem:function(T,k,F){return T<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(T){return T.replace(/\u060c/g,",")},postformat:function(T){return T.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(C(5439))},9893:function(B,U,C){!function(c){"use strict";c.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},3123:function(B,U,C){!function(c){"use strict";c.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(e){return e+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(e){return"\u0db4.\u0dc0."===e||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===e},meridiem:function(e,b,T){return e>11?T?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":T?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(C(5439))},3027:function(B,U,C){!function(c){"use strict";var m="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),e="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function b(F){return F>1&&F<5}function T(F,V,X,J){var ue=F+" ";switch(X){case"s":return V||J?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return V||J?ue+(b(F)?"sekundy":"sek\xfand"):ue+"sekundami";case"m":return V?"min\xfata":J?"min\xfatu":"min\xfatou";case"mm":return V||J?ue+(b(F)?"min\xfaty":"min\xfat"):ue+"min\xfatami";case"h":return V?"hodina":J?"hodinu":"hodinou";case"hh":return V||J?ue+(b(F)?"hodiny":"hod\xedn"):ue+"hodinami";case"d":return V||J?"de\u0148":"d\u0148om";case"dd":return V||J?ue+(b(F)?"dni":"dn\xed"):ue+"d\u0148ami";case"M":return V||J?"mesiac":"mesiacom";case"MM":return V||J?ue+(b(F)?"mesiace":"mesiacov"):ue+"mesiacmi";case"y":return V||J?"rok":"rokom";case"yy":return V||J?ue+(b(F)?"roky":"rokov"):ue+"rokmi"}}c.defineLocale("sk",{months:m,monthsShort:e,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:T,ss:T,m:T,mm:T,h:T,hh:T,d:T,dd:T,M:T,MM:T,y:T,yy:T},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},8106:function(B,U,C){!function(c){"use strict";function m(b,T,k,F){var V=b+" ";switch(k){case"s":return T||F?"nekaj sekund":"nekaj sekundami";case"ss":return V+(1===b?T?"sekundo":"sekundi":2===b?T||F?"sekundi":"sekundah":b<5?T||F?"sekunde":"sekundah":"sekund");case"m":return T?"ena minuta":"eno minuto";case"mm":return V+(1===b?T?"minuta":"minuto":2===b?T||F?"minuti":"minutama":b<5?T||F?"minute":"minutami":T||F?"minut":"minutami");case"h":return T?"ena ura":"eno uro";case"hh":return V+(1===b?T?"ura":"uro":2===b?T||F?"uri":"urama":b<5?T||F?"ure":"urami":T||F?"ur":"urami");case"d":return T||F?"en dan":"enim dnem";case"dd":return V+(1===b?T||F?"dan":"dnem":2===b?T||F?"dni":"dnevoma":T||F?"dni":"dnevi");case"M":return T||F?"en mesec":"enim mesecem";case"MM":return V+(1===b?T||F?"mesec":"mesecem":2===b?T||F?"meseca":"mesecema":b<5?T||F?"mesece":"meseci":T||F?"mesecev":"meseci");case"y":return T||F?"eno leto":"enim letom";case"yy":return V+(1===b?T||F?"leto":"letom":2===b?T||F?"leti":"letoma":b<5?T||F?"leta":"leti":T||F?"let":"leti")}}c.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:m,ss:m,m,mm:m,h:m,hh:m,d:m,dd:m,M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(C(5439))},8799:function(B,U,C){!function(c){"use strict";c.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,b,T){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},2872:function(B,U,C){!function(c){"use strict";var m={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(b,T){return b%10>=1&&b%10<=4&&(b%100<10||b%100>=20)?b%10==1?T[0]:T[1]:T[2]},translate:function(b,T,k,F){var X,V=m.words[k];return 1===k.length?"y"===k&&T?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":F||T?V[0]:V[1]:(X=m.correctGrammaticalCase(b,V),"yy"===k&&T&&"\u0433\u043e\u0434\u0438\u043d\u0443"===X?b+" \u0433\u043e\u0434\u0438\u043d\u0430":b+" "+X)}};c.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:m.translate,m:m.translate,mm:m.translate,h:m.translate,hh:m.translate,d:m.translate,dd:m.translate,M:m.translate,MM:m.translate,y:m.translate,yy:m.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(C(5439))},7949:function(B,U,C){!function(c){"use strict";var m={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(b,T){return b%10>=1&&b%10<=4&&(b%100<10||b%100>=20)?b%10==1?T[0]:T[1]:T[2]},translate:function(b,T,k,F){var X,V=m.words[k];return 1===k.length?"y"===k&&T?"jedna godina":F||T?V[0]:V[1]:(X=m.correctGrammaticalCase(b,V),"yy"===k&&T&&"godinu"===X?b+" godina":b+" "+X)}};c.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:m.translate,m:m.translate,mm:m.translate,h:m.translate,hh:m.translate,d:m.translate,dd:m.translate,M:m.translate,MM:m.translate,y:m.translate,yy:m.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(C(5439))},6167:function(B,U,C){!function(c){"use strict";c.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,b,T){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,b){return 12===e&&(e=0),"ekuseni"===b?e:"emini"===b?e>=11?e:e+12:"entsambama"===b||"ebusuku"===b?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(C(5439))},9713:function(B,U,C){!function(c){"use strict";c.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var b=e%10;return e+(1==~~(e%100/10)?":e":1===b||2===b?":a":":e")},week:{dow:1,doy:4}})}(C(5439))},1982:function(B,U,C){!function(c){"use strict";c.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(C(5439))},2732:function(B,U,C){!function(c){"use strict";var m={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},e={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};c.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(T){return T+"\u0bb5\u0ba4\u0bc1"},preparse:function(T){return T.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(k){return e[k]})},postformat:function(T){return T.replace(/\d/g,function(k){return m[k]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(T,k,F){return T<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":T<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":T<10?" \u0b95\u0bbe\u0bb2\u0bc8":T<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":T<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":T<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(T,k){return 12===T&&(T=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===k?T<2?T:T+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===k||"\u0b95\u0bbe\u0bb2\u0bc8"===k||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===k&&T>=10?T:T+12},week:{dow:0,doy:6}})}(C(5439))},3636:function(B,U,C){!function(c){"use strict";c.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(e,b){return 12===e&&(e=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===b?e<4?e:e+12:"\u0c09\u0c26\u0c2f\u0c02"===b?e:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===b?e>=10?e:e+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===b?e+12:void 0},meridiem:function(e,b,T){return e<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":e<10?"\u0c09\u0c26\u0c2f\u0c02":e<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":e<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(C(5439))},2115:function(B,U,C){!function(c){"use strict";c.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var b=e%10;return e+(1==~~(e%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(C(5439))},9801:function(B,U,C){!function(c){"use strict";var m={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};c.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(b,T){return 12===b&&(b=0),"\u0448\u0430\u0431"===T?b<4?b:b+12:"\u0441\u0443\u0431\u04b3"===T?b:"\u0440\u04ef\u0437"===T?b>=11?b:b+12:"\u0431\u0435\u0433\u043e\u04b3"===T?b+12:void 0},meridiem:function(b,T,k){return b<4?"\u0448\u0430\u0431":b<11?"\u0441\u0443\u0431\u04b3":b<16?"\u0440\u04ef\u0437":b<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(b){return b+(m[b]||m[b%10]||m[b>=100?100:null])},week:{dow:1,doy:7}})}(C(5439))},2868:function(B,U,C){!function(c){"use strict";c.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(e){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===e},meridiem:function(e,b,T){return e<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(C(5439))},1310:function(B,U,C){!function(c){"use strict";var m={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};c.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(b,T){switch(T){case"d":case"D":case"Do":case"DD":return b;default:if(0===b)return b+"'unjy";var k=b%10;return b+(m[k]||m[b%100-k]||m[b>=100?100:null])}},week:{dow:1,doy:7}})}(C(5439))},2360:function(B,U,C){!function(c){"use strict";c.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(C(5439))},6645:function(B,U,C){!function(c){"use strict";var m="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function T(V,X,J,ue){var ce=function k(V){var X=Math.floor(V%1e3/100),J=Math.floor(V%100/10),ue=V%10,ce="";return X>0&&(ce+=m[X]+"vatlh"),J>0&&(ce+=(""!==ce?" ":"")+m[J]+"maH"),ue>0&&(ce+=(""!==ce?" ":"")+m[ue]),""===ce?"pagh":ce}(V);switch(J){case"ss":return ce+" lup";case"mm":return ce+" tup";case"hh":return ce+" rep";case"dd":return ce+" jaj";case"MM":return ce+" jar";case"yy":return ce+" DIS"}}c.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function e(V){var X=V;return-1!==V.indexOf("jaj")?X.slice(0,-3)+"leS":-1!==V.indexOf("jar")?X.slice(0,-3)+"waQ":-1!==V.indexOf("DIS")?X.slice(0,-3)+"nem":X+" pIq"},past:function b(V){var X=V;return-1!==V.indexOf("jaj")?X.slice(0,-3)+"Hu\u2019":-1!==V.indexOf("jar")?X.slice(0,-3)+"wen":-1!==V.indexOf("DIS")?X.slice(0,-3)+"ben":X+" ret"},s:"puS lup",ss:T,m:"wa\u2019 tup",mm:T,h:"wa\u2019 rep",hh:T,d:"wa\u2019 jaj",dd:T,M:"wa\u2019 jar",MM:T,y:"wa\u2019 DIS",yy:T},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},8374:function(B,U,C){!function(c){"use strict";var m={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};c.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(b,T,k){return b<12?k?"\xf6\xf6":"\xd6\xd6":k?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(b){return"\xf6s"===b||"\xd6S"===b},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(b,T){switch(T){case"d":case"D":case"Do":case"DD":return b;default:if(0===b)return b+"'\u0131nc\u0131";var k=b%10;return b+(m[k]||m[b%100-k]||m[b>=100?100:null])}},week:{dow:1,doy:7}})}(C(5439))},256:function(B,U,C){!function(c){"use strict";function e(b,T,k,F){var V={s:["viensas secunds","'iensas secunds"],ss:[b+" secunds",b+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[b+" m\xeduts",b+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[b+" \xfeoras",b+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[b+" ziuas",b+" ziuas"],M:["'n mes","'iens mes"],MM:[b+" mesen",b+" mesen"],y:["'n ar","'iens ar"],yy:[b+" ars",b+" ars"]};return F||T?V[k][0]:V[k][1]}c.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(b){return"d'o"===b.toLowerCase()},meridiem:function(b,T,k){return b>11?k?"d'o":"D'O":k?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(C(5439))},1631:function(B,U,C){!function(c){"use strict";c.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(C(5439))},1595:function(B,U,C){!function(c){"use strict";c.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(C(5439))},6050:function(B,U,C){!function(c){"use strict";c.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(e,b){return 12===e&&(e=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===b||"\u0633\u06d5\u06be\u06d5\u0631"===b||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===b?e:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===b||"\u0643\u06d5\u0686"===b?e+12:e>=11?e:e+12},meridiem:function(e,b,T){var k=100*e+b;return k<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":k<900?"\u0633\u06d5\u06be\u06d5\u0631":k<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":k<1230?"\u0686\u06c8\u0634":k<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(e,b){switch(b){case"d":case"D":case"DDD":return e+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return e+"-\u06be\u06d5\u067e\u062a\u06d5";default:return e}},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(C(5439))},5610:function(B,U,C){!function(c){"use strict";function e(F,V,X){return"m"===X?V?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===X?V?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":F+" "+function m(F,V){var X=F.split("_");return V%10==1&&V%100!=11?X[0]:V%10>=2&&V%10<=4&&(V%100<10||V%100>=20)?X[1]:X[2]}({ss:V?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:V?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:V?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[X],+F)}function T(F){return function(){return F+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}c.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function b(F,V){var X={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===F?X.nominative.slice(1,7).concat(X.nominative.slice(0,1)):F?X[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(V)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(V)?"genitive":"nominative"][F.day()]:X.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:T("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:T("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:T("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:T("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return T("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return T("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:e,m:e,mm:e,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:e,d:"\u0434\u0435\u043d\u044c",dd:e,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:e,y:"\u0440\u0456\u043a",yy:e},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(F){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(F)},meridiem:function(F,V,X){return F<4?"\u043d\u043e\u0447\u0456":F<12?"\u0440\u0430\u043d\u043a\u0443":F<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(F,V){switch(V){case"M":case"d":case"DDD":case"w":case"W":return F+"-\u0439";case"D":return F+"-\u0433\u043e";default:return F}},week:{dow:1,doy:7}})}(C(5439))},6077:function(B,U,C){!function(c){"use strict";var m=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],e=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];c.defineLocale("ur",{months:m,monthsShort:m,weekdays:e,weekdaysShort:e,weekdaysMin:e,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(T){return"\u0634\u0627\u0645"===T},meridiem:function(T,k,F){return T<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(T){return T.replace(/\u060c/g,",")},postformat:function(T){return T.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(C(5439))},2207:function(B,U,C){!function(c){"use strict";c.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(C(5439))},2862:function(B,U,C){!function(c){"use strict";c.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(C(5439))},8093:function(B,U,C){!function(c){"use strict";c.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,b,T){return e<12?T?"sa":"SA":T?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(C(5439))},5590:function(B,U,C){!function(c){"use strict";c.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var b=e%10;return e+(1==~~(e%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(C(5439))},9058:function(B,U,C){!function(c){"use strict";c.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(C(5439))},7908:function(B,U,C){!function(c){"use strict";c.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,b){return 12===e&&(e=0),"\u51cc\u6668"===b||"\u65e9\u4e0a"===b||"\u4e0a\u5348"===b?e:"\u4e0b\u5348"===b||"\u665a\u4e0a"===b?e+12:e>=11?e:e+12},meridiem:function(e,b,T){var k=100*e+b;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1130?"\u4e0a\u5348":k<1230?"\u4e2d\u5348":k<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(e){return e.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(e){return this.week()!==e.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(e,b){switch(b){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u5468";default:return e}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(C(5439))},8867:function(B,U,C){!function(c){"use strict";c.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,b){return 12===e&&(e=0),"\u51cc\u6668"===b||"\u65e9\u4e0a"===b||"\u4e0a\u5348"===b?e:"\u4e2d\u5348"===b?e>=11?e:e+12:"\u4e0b\u5348"===b||"\u665a\u4e0a"===b?e+12:void 0},meridiem:function(e,b,T){var k=100*e+b;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1200?"\u4e0a\u5348":1200===k?"\u4e2d\u5348":k<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,b){switch(b){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(C(5439))},1133:function(B,U,C){!function(c){"use strict";c.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,b){return 12===e&&(e=0),"\u51cc\u6668"===b||"\u65e9\u4e0a"===b||"\u4e0a\u5348"===b?e:"\u4e2d\u5348"===b?e>=11?e:e+12:"\u4e0b\u5348"===b||"\u665a\u4e0a"===b?e+12:void 0},meridiem:function(e,b,T){var k=100*e+b;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1130?"\u4e0a\u5348":k<1230?"\u4e2d\u5348":k<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,b){switch(b){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(C(5439))},3291:function(B,U,C){!function(c){"use strict";c.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,b){return 12===e&&(e=0),"\u51cc\u6668"===b||"\u65e9\u4e0a"===b||"\u4e0a\u5348"===b?e:"\u4e2d\u5348"===b?e>=11?e:e+12:"\u4e0b\u5348"===b||"\u665a\u4e0a"===b?e+12:void 0},meridiem:function(e,b,T){var k=100*e+b;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1130?"\u4e0a\u5348":k<1230?"\u4e2d\u5348":k<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,b){switch(b){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(C(5439))},5439:function(B,U,C){(B=C.nmd(B)).exports=function(){"use strict";var c,Ge;function m(){return c.apply(null,arguments)}function b(M){return M instanceof Array||"[object Array]"===Object.prototype.toString.call(M)}function T(M){return null!=M&&"[object Object]"===Object.prototype.toString.call(M)}function k(M,L){return Object.prototype.hasOwnProperty.call(M,L)}function F(M){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(M).length;var L;for(L in M)if(k(M,L))return!1;return!0}function V(M){return void 0===M}function X(M){return"number"==typeof M||"[object Number]"===Object.prototype.toString.call(M)}function J(M){return M instanceof Date||"[object Date]"===Object.prototype.toString.call(M)}function ue(M,L){var re,z=[],Me=M.length;for(re=0;re>>0;for(re=0;re0)for(z=0;z=0?z?"+":"":"-")+Math.pow(10,Math.max(0,L-re.length)).toString().substr(1)+re}var Wt=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ye=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Xe={},Ae={};function he(M,L,z,re){var Me=re;"string"==typeof re&&(Me=function(){return this[re]()}),M&&(Ae[M]=Me),L&&(Ae[L[0]]=function(){return bt(Me.apply(this,arguments),L[1],L[2])}),z&&(Ae[z]=function(){return this.localeData().ordinal(Me.apply(this,arguments),M)})}function nt(M){return M.match(/\[[\s\S]/)?M.replace(/^\[|\]$/g,""):M.replace(/\\/g,"")}function Lt(M,L){return M.isValid()?(L=Ai(L,M.localeData()),Xe[L]=Xe[L]||function Yt(M){var z,re,L=M.match(Wt);for(z=0,re=L.length;z=0&&ye.test(M);)M=M.replace(ye,re),ye.lastIndex=0,z-=1;return M}var ti={};function Je(M,L){var z=M.toLowerCase();ti[z]=ti[z+"s"]=ti[L]=M}function Y(M){return"string"==typeof M?ti[M]||ti[M.toLowerCase()]:void 0}function ee(M){var z,re,L={};for(re in M)k(M,re)&&(z=Y(re))&&(L[z]=M[re]);return L}var A={};function et(M,L){A[M]=L}function we(M){return M%4==0&&M%100!=0||M%400==0}function De(M){return M<0?Math.ceil(M)||0:Math.floor(M)}function ct(M){var L=+M,z=0;return 0!==L&&isFinite(L)&&(z=De(L)),z}function Et(M,L){return function(z){return null!=z?(_i(this,M,z),m.updateOffset(this,L),this):Gt(this,M)}}function Gt(M,L){return M.isValid()?M._d["get"+(M._isUTC?"UTC":"")+L]():NaN}function _i(M,L,z){M.isValid()&&!isNaN(z)&&("FullYear"===L&&we(M.year())&&1===M.month()&&29===M.date()?(z=ct(z),M._d["set"+(M._isUTC?"UTC":"")+L](z,M.month(),Fo(z,M.month()))):M._d["set"+(M._isUTC?"UTC":"")+L](z))}var pt,Bi=/\d/,xi=/\d\d/,$n=/\d{3}/,Hi=/\d{4}/,ht=/[+-]?\d{6}/,it=/\d\d?/,Qe=/\d\d\d\d?/,Re=/\d\d\d\d\d\d?/,We=/\d{1,3}/,Ie=/\d{1,4}/,_t=/[+-]?\d{1,6}/,Dt=/\d+/,si=/[+-]?\d+/,Vi=/Z|[+-]\d\d:?\d\d/gi,It=/Z|[+-]\d\d(?::?\d\d)?/gi,Ee=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function ot(M,L,z){pt[M]=Ye(L)?L:function(re,Me){return re&&z?z:L}}function qt(M,L){return k(pt,M)?pt[M](L._strict,L._locale):new RegExp(function un(M){return ln(M.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(L,z,re,Me,gt){return z||re||Me||gt}))}(M))}function ln(M){return M.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}pt={};var vt={};function rt(M,L){var z,Me,re=L;for("string"==typeof M&&(M=[M]),X(L)&&(re=function(gt,Kt){Kt[L]=ct(gt)}),Me=M.length,z=0;z68?1900:2e3)};var Aa=Et("FullYear",!0);function Ts(M,L,z,re,Me,gt,Kt){var tn;return M<100&&M>=0?(tn=new Date(M+400,L,z,re,Me,gt,Kt),isFinite(tn.getFullYear())&&tn.setFullYear(M)):tn=new Date(M,L,z,re,Me,gt,Kt),tn}function Bo(M){var L,z;return M<100&&M>=0?((z=Array.prototype.slice.call(arguments))[0]=M+400,L=new Date(Date.UTC.apply(null,z)),isFinite(L.getUTCFullYear())&&L.setUTCFullYear(M)):L=new Date(Date.UTC.apply(null,arguments)),L}function Ka(M,L,z){var re=7+L-z;return-(7+Bo(M,0,re).getUTCDay()-L)%7+re-1}function Nr(M,L,z,re,Me){var Dn,Ca,tn=1+7*(L-1)+(7+z-re)%7+Ka(M,re,Me);return tn<=0?Ca=Un(Dn=M-1)+tn:tn>Un(M)?(Dn=M+1,Ca=tn-Un(M)):(Dn=M,Ca=tn),{year:Dn,dayOfYear:Ca}}function lr(M,L,z){var gt,Kt,re=Ka(M.year(),L,z),Me=Math.floor((M.dayOfYear()-re-1)/7)+1;return Me<1?gt=Me+Ya(Kt=M.year()-1,L,z):Me>Ya(M.year(),L,z)?(gt=Me-Ya(M.year(),L,z),Kt=M.year()+1):(Kt=M.year(),gt=Me),{week:gt,year:Kt}}function Ya(M,L,z){var re=Ka(M,L,z),Me=Ka(M+1,L,z);return(Un(M)-re+Me)/7}he("w",["ww",2],"wo","week"),he("W",["WW",2],"Wo","isoWeek"),Je("week","w"),Je("isoWeek","W"),et("week",5),et("isoWeek",5),ot("w",it),ot("ww",it,xi),ot("W",it),ot("WW",it,xi),je(["w","ww","W","WW"],function(M,L,z,re){L[re.substr(0,1)]=ct(M)});function Ms(M,L){return M.slice(L,7).concat(M.slice(0,L))}he("d",0,"do","day"),he("dd",0,0,function(M){return this.localeData().weekdaysMin(this,M)}),he("ddd",0,0,function(M){return this.localeData().weekdaysShort(this,M)}),he("dddd",0,0,function(M){return this.localeData().weekdays(this,M)}),he("e",0,0,"weekday"),he("E",0,0,"isoWeekday"),Je("day","d"),Je("weekday","e"),Je("isoWeekday","E"),et("day",11),et("weekday",11),et("isoWeekday",11),ot("d",it),ot("e",it),ot("E",it),ot("dd",function(M,L){return L.weekdaysMinRegex(M)}),ot("ddd",function(M,L){return L.weekdaysShortRegex(M)}),ot("dddd",function(M,L){return L.weekdaysRegex(M)}),je(["dd","ddd","dddd"],function(M,L,z,re){var Me=z._locale.weekdaysParse(M,re,z._strict);null!=Me?L.d=Me:de(z).invalidWeekday=M}),je(["d","e","E"],function(M,L,z,re){L[re]=ct(M)});var js="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Do="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ur="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ws=Ee,qs=Ee,Zr=Ee;function Tr(M,L,z){var re,Me,gt,Kt=M.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],re=0;re<7;++re)gt=Oe([2e3,1]).day(re),this._minWeekdaysParse[re]=this.weekdaysMin(gt,"").toLocaleLowerCase(),this._shortWeekdaysParse[re]=this.weekdaysShort(gt,"").toLocaleLowerCase(),this._weekdaysParse[re]=this.weekdays(gt,"").toLocaleLowerCase();return z?"dddd"===L?-1!==(Me=cn.call(this._weekdaysParse,Kt))?Me:null:"ddd"===L?-1!==(Me=cn.call(this._shortWeekdaysParse,Kt))?Me:null:-1!==(Me=cn.call(this._minWeekdaysParse,Kt))?Me:null:"dddd"===L?-1!==(Me=cn.call(this._weekdaysParse,Kt))||-1!==(Me=cn.call(this._shortWeekdaysParse,Kt))||-1!==(Me=cn.call(this._minWeekdaysParse,Kt))?Me:null:"ddd"===L?-1!==(Me=cn.call(this._shortWeekdaysParse,Kt))||-1!==(Me=cn.call(this._weekdaysParse,Kt))||-1!==(Me=cn.call(this._minWeekdaysParse,Kt))?Me:null:-1!==(Me=cn.call(this._minWeekdaysParse,Kt))||-1!==(Me=cn.call(this._weekdaysParse,Kt))||-1!==(Me=cn.call(this._shortWeekdaysParse,Kt))?Me:null}function Ha(){function M(Or,rl){return rl.length-Or.length}var gt,Kt,tn,Dn,Ca,L=[],z=[],re=[],Me=[];for(gt=0;gt<7;gt++)Kt=Oe([2e3,1]).day(gt),tn=ln(this.weekdaysMin(Kt,"")),Dn=ln(this.weekdaysShort(Kt,"")),Ca=ln(this.weekdays(Kt,"")),L.push(tn),z.push(Dn),re.push(Ca),Me.push(tn),Me.push(Dn),Me.push(Ca);L.sort(M),z.sort(M),re.sort(M),Me.sort(M),this._weekdaysRegex=new RegExp("^("+Me.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+re.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+z.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+L.join("|")+")","i")}function zo(){return this.hours()%12||12}function Dr(M,L){he(M,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),L)})}function Ds(M,L){return L._meridiemParse}he("H",["HH",2],0,"hour"),he("h",["hh",2],0,zo),he("k",["kk",2],0,function Jr(){return this.hours()||24}),he("hmm",0,0,function(){return""+zo.apply(this)+bt(this.minutes(),2)}),he("hmmss",0,0,function(){return""+zo.apply(this)+bt(this.minutes(),2)+bt(this.seconds(),2)}),he("Hmm",0,0,function(){return""+this.hours()+bt(this.minutes(),2)}),he("Hmmss",0,0,function(){return""+this.hours()+bt(this.minutes(),2)+bt(this.seconds(),2)}),Dr("a",!0),Dr("A",!1),Je("hour","h"),et("hour",13),ot("a",Ds),ot("A",Ds),ot("H",it),ot("h",it),ot("k",it),ot("HH",it,xi),ot("hh",it,xi),ot("kk",it,xi),ot("hmm",Qe),ot("hmmss",Re),ot("Hmm",Qe),ot("Hmmss",Re),rt(["H","HH"],3),rt(["k","kk"],function(M,L,z){var re=ct(M);L[3]=24===re?0:re}),rt(["a","A"],function(M,L,z){z._isPm=z._locale.isPM(M),z._meridiem=M}),rt(["h","hh"],function(M,L,z){L[3]=ct(M),de(z).bigHour=!0}),rt("hmm",function(M,L,z){var re=M.length-2;L[3]=ct(M.substr(0,re)),L[4]=ct(M.substr(re)),de(z).bigHour=!0}),rt("hmmss",function(M,L,z){var re=M.length-4,Me=M.length-2;L[3]=ct(M.substr(0,re)),L[4]=ct(M.substr(re,2)),L[5]=ct(M.substr(Me)),de(z).bigHour=!0}),rt("Hmm",function(M,L,z){var re=M.length-2;L[3]=ct(M.substr(0,re)),L[4]=ct(M.substr(re))}),rt("Hmmss",function(M,L,z){var re=M.length-4,Me=M.length-2;L[3]=ct(M.substr(0,re)),L[4]=ct(M.substr(re,2)),L[5]=ct(M.substr(Me))});var dr=Et("Hours",!0);var $r,Qo={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:yo,monthsShort:Qi,week:{dow:0,doy:6},weekdays:js,weekdaysMin:Ur,weekdaysShort:Do,meridiemParse:/[ap]\.?m?\.?/i},na={},Hn={};function Fl(M,L){var z,re=Math.min(M.length,L.length);for(z=0;z0;){if(Me=zr(gt.slice(0,z).join("-")))return Me;if(re&&re.length>=z&&Fl(gt,re)>=z-1)break;z--}L++}return $r}(M)}function to(M){var L,z=M._a;return z&&-2===de(M).overflow&&(L=z[1]<0||z[1]>11?1:z[2]<1||z[2]>Fo(z[0],z[1])?2:z[3]<0||z[3]>24||24===z[3]&&(0!==z[4]||0!==z[5]||0!==z[6])?3:z[4]<0||z[4]>59?4:z[5]<0||z[5]>59?5:z[6]<0||z[6]>999?6:-1,de(M)._overflowDayOfYear&&(L<0||L>2)&&(L=2),de(M)._overflowWeeks&&-1===L&&(L=7),de(M)._overflowWeekday&&-1===L&&(L=8),de(M).overflow=L),M}var Ra=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Hr=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,on=/Z|[+-]\d\d(?::?\d\d)?/,Xo=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Es=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ws=/^\/?Date\((-?\d+)/i,_r=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Er={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Eo(M){var L,z,gt,Kt,tn,Dn,re=M._i,Me=Ra.exec(re)||Hr.exec(re),Ca=Xo.length,Or=Es.length;if(Me){for(de(M).iso=!0,L=0,z=Ca;L7)&&(Dn=!0)):(gt=M._locale._week.dow,Kt=M._locale._week.doy,Ca=lr(zn(),gt,Kt),z=te(L.gg,M._a[0],Ca.year),re=te(L.w,Ca.week),null!=L.d?((Me=L.d)<0||Me>6)&&(Dn=!0):null!=L.e?(Me=L.e+gt,(L.e<0||L.e>6)&&(Dn=!0)):Me=gt),re<1||re>Ya(z,gt,Kt)?de(M)._overflowWeeks=!0:null!=Dn?de(M)._overflowWeekday=!0:(tn=Nr(z,re,Me,gt,Kt),M._a[0]=tn.year,M._dayOfYear=tn.dayOfYear)}(M),null!=M._dayOfYear&&(Kt=te(M._a[0],Me[0]),(M._dayOfYear>Un(Kt)||0===M._dayOfYear)&&(de(M)._overflowDayOfYear=!0),z=Bo(Kt,0,M._dayOfYear),M._a[1]=z.getUTCMonth(),M._a[2]=z.getUTCDate()),L=0;L<3&&null==M._a[L];++L)M._a[L]=re[L]=Me[L];for(;L<7;L++)M._a[L]=re[L]=null==M._a[L]?2===L?1:0:M._a[L];24===M._a[3]&&0===M._a[4]&&0===M._a[5]&&0===M._a[6]&&(M._nextDay=!0,M._a[3]=0),M._d=(M._useUTC?Bo:Ts).apply(null,re),gt=M._useUTC?M._d.getUTCDay():M._d.getDay(),null!=M._tzm&&M._d.setUTCMinutes(M._d.getUTCMinutes()-M._tzm),M._nextDay&&(M._a[3]=24),M._w&&void 0!==M._w.d&&M._w.d!==gt&&(de(M).weekdayMismatch=!0)}}function Bt(M){if(M._f!==m.ISO_8601)if(M._f!==m.RFC_2822){M._a=[],de(M).empty=!0;var z,re,Me,gt,Kt,Ca,Or,L=""+M._i,tn=L.length,Dn=0;for(Or=(Me=Ai(M._f,M._locale).match(Wt)||[]).length,z=0;z0&&de(M).unusedInput.push(Kt),L=L.slice(L.indexOf(re)+re.length),Dn+=re.length),Ae[gt]?(re?de(M).empty=!1:de(M).unusedTokens.push(gt),Mt(gt,re,M)):M._strict&&!re&&de(M).unusedTokens.push(gt);de(M).charsLeftOver=tn-Dn,L.length>0&&de(M).unusedInput.push(L),M._a[3]<=12&&!0===de(M).bigHour&&M._a[3]>0&&(de(M).bigHour=void 0),de(M).parsedDateParts=M._a.slice(0),de(M).meridiem=M._meridiem,M._a[3]=function Ii(M,L,z){var re;return null==z?L:null!=M.meridiemHour?M.meridiemHour(L,z):(null!=M.isPM&&((re=M.isPM(z))&&L<12&&(L+=12),!re&&12===L&&(L=0)),L)}(M._locale,M._a[3],M._meridiem),null!==(Ca=de(M).era)&&(M._a[0]=M._locale.erasConvertYear(Ca,M._a[0])),H(M),to(M)}else pr(M);else Eo(M)}function Vn(M){var L=M._i,z=M._f;return M._locale=M._locale||Oa(M._l),null===L||void 0===z&&""===L?Ne({nullInput:!0}):("string"==typeof L&&(M._i=L=M._locale.preparse(L)),Le(L)?new Te(to(L)):(J(L)?M._d=L:b(z)?function Ea(M){var L,z,re,Me,gt,Kt,tn=!1,Dn=M._f.length;if(0===Dn)return de(M).invalidFormat=!0,void(M._d=new Date(NaN));for(Me=0;Methis?this:M:Ne()});function Ul(M,L){var z,re;if(1===L.length&&b(L[0])&&(L=L[0]),!L.length)return zn();for(z=L[0],re=1;re=0?new Date(M+400,L,z)-hc:new Date(M,L,z).valueOf()}function es(M,L,z){return M<100&&M>=0?Date.UTC(M+400,L,z)-hc:Date.UTC(M,L,z)}function Wl(M,L){return L.erasAbbrRegex(M)}function ps(){var Me,gt,M=[],L=[],z=[],re=[],Kt=this.eras();for(Me=0,gt=Kt.length;Me(gt=Ya(M,re,Me))&&(L=gt),hs.call(this,M,L,z,re,Me))}function hs(M,L,z,re,Me){var gt=Nr(M,L,z,re,Me),Kt=Bo(gt.year,0,gt.dayOfYear);return this.year(Kt.getUTCFullYear()),this.month(Kt.getUTCMonth()),this.date(Kt.getUTCDate()),this}he("N",0,0,"eraAbbr"),he("NN",0,0,"eraAbbr"),he("NNN",0,0,"eraAbbr"),he("NNNN",0,0,"eraName"),he("NNNNN",0,0,"eraNarrow"),he("y",["y",1],"yo","eraYear"),he("y",["yy",2],0,"eraYear"),he("y",["yyy",3],0,"eraYear"),he("y",["yyyy",4],0,"eraYear"),ot("N",Wl),ot("NN",Wl),ot("NNN",Wl),ot("NNNN",function w_(M,L){return L.erasNameRegex(M)}),ot("NNNNN",function Fp(M,L){return L.erasNarrowRegex(M)}),rt(["N","NN","NNN","NNNN","NNNNN"],function(M,L,z,re){var Me=z._locale.erasParse(M,re,z._strict);Me?de(z).era=Me:de(z).invalidEra=M}),ot("y",Dt),ot("yy",Dt),ot("yyy",Dt),ot("yyyy",Dt),ot("yo",function Np(M,L){return L._eraYearOrdinalRegex||Dt}),rt(["y","yy","yyy","yyyy"],0),rt(["yo"],function(M,L,z,re){var Me;z._locale._eraYearOrdinalRegex&&(Me=M.match(z._locale._eraYearOrdinalRegex)),L[0]=z._locale.eraYearOrdinalParse?z._locale.eraYearOrdinalParse(M,Me):parseInt(M,10)}),he(0,["gg",2],0,function(){return this.weekYear()%100}),he(0,["GG",2],0,function(){return this.isoWeekYear()%100}),xu("gggg","weekYear"),xu("ggggg","weekYear"),xu("GGGG","isoWeekYear"),xu("GGGGG","isoWeekYear"),Je("weekYear","gg"),Je("isoWeekYear","GG"),et("weekYear",1),et("isoWeekYear",1),ot("G",si),ot("g",si),ot("GG",it,xi),ot("gg",it,xi),ot("GGGG",Ie,Hi),ot("gggg",Ie,Hi),ot("GGGGG",_t,ht),ot("ggggg",_t,ht),je(["gggg","ggggg","GGGG","GGGGG"],function(M,L,z,re){L[re.substr(0,2)]=ct(M)}),je(["gg","GG"],function(M,L,z,re){L[re]=m.parseTwoDigitYear(M)}),he("Q",0,"Qo","quarter"),Je("quarter","Q"),et("quarter",7),ot("Q",Bi),rt("Q",function(M,L){L[1]=3*(ct(M)-1)}),he("D",["DD",2],"Do","date"),Je("date","D"),et("date",9),ot("D",it),ot("DD",it,xi),ot("Do",function(M,L){return M?L._dayOfMonthOrdinalParse||L._ordinalParse:L._dayOfMonthOrdinalParseLenient}),rt(["D","DD"],2),rt("Do",function(M,L){L[2]=ct(M.match(it)[0])});var ts=Et("Date",!0);he("DDD",["DDDD",3],"DDDo","dayOfYear"),Je("dayOfYear","DDD"),et("dayOfYear",4),ot("DDD",We),ot("DDDD",$n),rt(["DDD","DDDD"],function(M,L,z){z._dayOfYear=ct(M)}),he("m",["mm",2],0,"minute"),Je("minute","m"),et("minute",14),ot("m",it),ot("mm",it,xi),rt(["m","mm"],4);var Bd=Et("Minutes",!1);he("s",["ss",2],0,"second"),Je("second","s"),et("second",15),ot("s",it),ot("ss",it,xi),rt(["s","ss"],5);var P,S,O=Et("Seconds",!1);for(he("S",0,0,function(){return~~(this.millisecond()/100)}),he(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),he(0,["SSS",3],0,"millisecond"),he(0,["SSSS",4],0,function(){return 10*this.millisecond()}),he(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),he(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),he(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),he(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),he(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Je("millisecond","ms"),et("millisecond",16),ot("S",We,Bi),ot("SS",We,xi),ot("SSS",We,$n),P="SSSS";P.length<=9;P+="S")ot(P,Dt);function Z(M,L){L[6]=ct(1e3*("0."+M))}for(P="S";P.length<=9;P+="S")rt(P,Z);S=Et("Milliseconds",!1),he("z",0,0,"zoneAbbr"),he("zz",0,0,"zoneName");var ve=Te.prototype;function gi(M){return M}ve.add=Yl,ve.calendar=function Hl(M,L){1===arguments.length&&(arguments[0]?pu(arguments[0])?(M=arguments[0],L=void 0):Hc(arguments[0])&&(L=arguments[0],M=void 0):(M=void 0,L=void 0));var z=M||zn(),re=W(z,this).startOf("day"),Me=m.calendarFormat(this,re)||"sameElse",gt=L&&(Ye(L[Me])?L[Me].call(this,z):L[Me]);return this.format(gt||this.localeData().calendar(Me,this,zn(z)))},ve.clone=function uc(){return new Te(this)},ve.diff=function Cl(M,L,z){var re,Me,gt;if(!this.isValid())return NaN;if(!(re=W(M,this)).isValid())return NaN;switch(Me=6e4*(re.utcOffset()-this.utcOffset()),L=Y(L)){case"year":gt=Gc(this,re)/12;break;case"month":gt=Gc(this,re);break;case"quarter":gt=Gc(this,re)/3;break;case"second":gt=(this-re)/1e3;break;case"minute":gt=(this-re)/6e4;break;case"hour":gt=(this-re)/36e5;break;case"day":gt=(this-re-Me)/864e5;break;case"week":gt=(this-re-Me)/6048e5;break;default:gt=this-re}return z?gt:De(gt)},ve.endOf=function mc(M){var L,z;if(void 0===(M=Y(M))||"millisecond"===M||!this.isValid())return this;switch(z=this._isUTC?es:la,M){case"year":L=z(this.year()+1,0,1)-1;break;case"quarter":L=z(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":L=z(this.year(),this.month()+1,1)-1;break;case"week":L=z(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":L=z(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":L=z(this.year(),this.month(),this.date()+1)-1;break;case"hour":L=this._d.valueOf(),L+=Kl-Os(L+(this._isUTC?0:this.utcOffset()*Ls),Kl)-1;break;case"minute":L=this._d.valueOf(),L+=Ls-Os(L,Ls)-1;break;case"second":L=this._d.valueOf(),L+=1e3-Os(L,1e3)-1}return this._d.setTime(L),m.updateOffset(this,!0),this},ve.format=function Mn(M){M||(M=this.isUtc()?m.defaultFormatUtc:m.defaultFormat);var L=Lt(this,M);return this.localeData().postformat(L)},ve.from=function Ke(M,L){return this.isValid()&&(Le(M)&&M.isValid()||zn(M).isValid())?Zt({to:this,from:M}).locale(this.locale()).humanize(!L):this.localeData().invalidDate()},ve.fromNow=function Di(M){return this.from(zn(),M)},ve.to=function Vl(M,L){return this.isValid()&&(Le(M)&&M.isValid()||zn(M).isValid())?Zt({from:this,to:M}).locale(this.locale()).humanize(!L):this.localeData().invalidDate()},ve.toNow=function Ri(M){return this.to(zn(),M)},ve.get=function di(M){return Ye(this[M=Y(M)])?this[M]():this},ve.invalidAt=function el(){return de(this).overflow},ve.isAfter=function _c(M,L){var z=Le(M)?M:zn(M);return!(!this.isValid()||!z.isValid())&&("millisecond"===(L=Y(L)||"millisecond")?this.valueOf()>z.valueOf():z.valueOf()9999?Lt(z,L?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Ye(Date.prototype.toISOString)?L?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Lt(z,"Z")):Lt(z,L?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ve.inspect=function $e(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var z,re,M="moment",L="";return this.isLocal()||(M=0===this.utcOffset()?"moment.utc":"moment.parseZone",L="Z"),z="["+M+'("]',re=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(z+re+"-MM-DD[T]HH:mm:ss.SSS"+L+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(ve[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ve.toJSON=function E_(){return this.isValid()?this.toISOString():null},ve.toString=function Kc(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ve.unix=function Is(){return Math.floor(this.valueOf()/1e3)},ve.valueOf=function ks(){return this._d.valueOf()-6e4*(this._offset||0)},ve.creationData=function us(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ve.eraName=function _s(){var M,L,z,re=this.localeData().eras();for(M=0,L=re.length;Mthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ve.isLocal=function ka(){return!!this.isValid()&&!this._isUTC},ve.isUtcOffset=function Gn(){return!!this.isValid()&&this._isUTC},ve.isUtc=Qn,ve.isUTC=Qn,ve.zoneAbbr=function Q(){return this._isUTC?"UTC":""},ve.zoneName=function pe(){return this._isUTC?"Coordinated Universal Time":""},ve.dates=_e("dates accessor is deprecated. Use date instead.",ts),ve.months=_e("months accessor is deprecated. Use month instead",Qa),ve.years=_e("years accessor is deprecated. Use year instead",Aa),ve.zone=_e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function Pt(M,L){return null!=M?("string"!=typeof M&&(M=-M),this.utcOffset(M,L),this):-this.utcOffset()}),ve.isDSTShifted=_e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function An(){if(!V(this._isDSTShifted))return this._isDSTShifted;var L,M={};return st(M,this),(M=Vn(M))._a?(L=M._isUTC?Oe(M._a):zn(M._a),this._isDSTShifted=this.isValid()&&function Zc(M,L,z){var Kt,re=Math.min(M.length,L.length),Me=Math.abs(M.length-L.length),gt=0;for(Kt=0;Kt0):this._isDSTShifted=!1,this._isDSTShifted});var ui=ke.prototype;function Ti(M,L,z,re){var Me=Oa(),gt=Oe().set(re,L);return Me[z](gt,M)}function mn(M,L,z){if(X(M)&&(L=M,M=void 0),M=M||"",null!=L)return Ti(M,L,z,"month");var re,Me=[];for(re=0;re<12;re++)Me[re]=Ti(M,re,z,"month");return Me}function Pn(M,L,z,re){"boolean"==typeof M?(X(L)&&(z=L,L=void 0),L=L||""):(z=L=M,M=!1,X(L)&&(z=L,L=void 0),L=L||"");var Kt,Me=Oa(),gt=M?Me._week.dow:0,tn=[];if(null!=z)return Ti(L,(z+gt)%7,re,"day");for(Kt=0;Kt<7;Kt++)tn[Kt]=Ti(L,(Kt+gt)%7,re,"day");return tn}ui.calendar=function ri(M,L,z){var re=this._calendar[M]||this._calendar.sameElse;return Ye(re)?re.call(L,z):re},ui.longDateFormat=function hi(M){var L=this._longDateFormat[M],z=this._longDateFormat[M.toUpperCase()];return L||!z?L:(this._longDateFormat[M]=z.match(Wt).map(function(re){return"MMMM"===re||"MM"===re||"DD"===re||"dddd"===re?re.slice(1):re}).join(""),this._longDateFormat[M])},ui.invalidDate=function Tt(){return this._invalidDate},ui.ordinal=function ni(M){return this._ordinal.replace("%d",M)},ui.preparse=gi,ui.postformat=gi,ui.relativeTime=function dn(M,L,z,re){var Me=this._relativeTime[z];return Ye(Me)?Me(M,L,z,re):Me.replace(/%d/i,M)},ui.pastFuture=function ai(M,L){var z=this._relativeTime[M>0?"future":"past"];return Ye(z)?z(L):z.replace(/%s/i,L)},ui.set=function qe(M){var L,z;for(z in M)k(M,z)&&(Ye(L=M[z])?this[z]=L:this["_"+z]=L);this._config=M,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},ui.eras=function So(M,L){var z,re,Me,gt=this._eras||Oa("en")._eras;for(z=0,re=gt.length;z=0)return gt[re]},ui.erasConvertYear=function rn(M,L){var z=M.since<=M.until?1:-1;return void 0===L?m(M.since).year():m(M.since).year()+(L-M.offset)*z},ui.erasAbbrRegex=function Cu(M){return k(this,"_erasAbbrRegex")||ps.call(this),M?this._erasAbbrRegex:this._erasRegex},ui.erasNameRegex=function Rd(M){return k(this,"_erasNameRegex")||ps.call(this),M?this._erasNameRegex:this._erasRegex},ui.erasNarrowRegex=function vu(M){return k(this,"_erasNarrowRegex")||ps.call(this),M?this._erasNarrowRegex:this._erasRegex},ui.months=function Rt(M,L){return M?b(this._months)?this._months[M.month()]:this._months[(this._months.isFormat||ma).test(L)?"format":"standalone"][M.month()]:b(this._months)?this._months:this._months.standalone},ui.monthsShort=function ga(M,L){return M?b(this._monthsShort)?this._monthsShort[M.month()]:this._monthsShort[ma.test(L)?"format":"standalone"][M.month()]:b(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},ui.monthsParse=function To(M,L,z){var re,Me,gt;if(this._monthsParseExact)return Zn.call(this,M,L,z);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),re=0;re<12;re++){if(Me=Oe([2e3,re]),z&&!this._longMonthsParse[re]&&(this._longMonthsParse[re]=new RegExp("^"+this.months(Me,"").replace(".","")+"$","i"),this._shortMonthsParse[re]=new RegExp("^"+this.monthsShort(Me,"").replace(".","")+"$","i")),!z&&!this._monthsParse[re]&&(gt="^"+this.months(Me,"")+"|^"+this.monthsShort(Me,""),this._monthsParse[re]=new RegExp(gt.replace(".",""),"i")),z&&"MMMM"===L&&this._longMonthsParse[re].test(M))return re;if(z&&"MMM"===L&&this._shortMonthsParse[re].test(M))return re;if(!z&&this._monthsParse[re].test(M))return re}},ui.monthsRegex=function Ba(M){return this._monthsParseExact?(k(this,"_monthsRegex")||sr.call(this),M?this._monthsStrictRegex:this._monthsRegex):(k(this,"_monthsRegex")||(this._monthsRegex=$i),this._monthsStrictRegex&&M?this._monthsStrictRegex:this._monthsRegex)},ui.monthsShortRegex=function Yn(M){return this._monthsParseExact?(k(this,"_monthsRegex")||sr.call(this),M?this._monthsShortStrictRegex:this._monthsShortRegex):(k(this,"_monthsShortRegex")||(this._monthsShortRegex=yn),this._monthsShortStrictRegex&&M?this._monthsShortStrictRegex:this._monthsShortRegex)},ui.week=function Br(M){return lr(M,this._week.dow,this._week.doy).week},ui.firstDayOfYear=function Ta(){return this._week.doy},ui.firstDayOfWeek=function Nn(){return this._week.dow},ui.weekdays=function $o(M,L){var z=b(this._weekdays)?this._weekdays:this._weekdays[M&&!0!==M&&this._weekdays.isFormat.test(L)?"format":"standalone"];return!0===M?Ms(z,this._week.dow):M?z[M.day()]:z},ui.weekdaysMin=function lc(M){return!0===M?Ms(this._weekdaysMin,this._week.dow):M?this._weekdaysMin[M.day()]:this._weekdaysMin},ui.weekdaysShort=function cr(M){return!0===M?Ms(this._weekdaysShort,this._week.dow):M?this._weekdaysShort[M.day()]:this._weekdaysShort},ui.weekdaysParse=function Xa(M,L,z){var re,Me,gt;if(this._weekdaysParseExact)return Tr.call(this,M,L,z);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),re=0;re<7;re++){if(Me=Oe([2e3,1]).day(re),z&&!this._fullWeekdaysParse[re]&&(this._fullWeekdaysParse[re]=new RegExp("^"+this.weekdays(Me,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[re]=new RegExp("^"+this.weekdaysShort(Me,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[re]=new RegExp("^"+this.weekdaysMin(Me,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[re]||(gt="^"+this.weekdays(Me,"")+"|^"+this.weekdaysShort(Me,"")+"|^"+this.weekdaysMin(Me,""),this._weekdaysParse[re]=new RegExp(gt.replace(".",""),"i")),z&&"dddd"===L&&this._fullWeekdaysParse[re].test(M))return re;if(z&&"ddd"===L&&this._shortWeekdaysParse[re].test(M))return re;if(z&&"dd"===L&&this._minWeekdaysParse[re].test(M))return re;if(!z&&this._weekdaysParse[re].test(M))return re}},ui.weekdaysRegex=function ls(M){return this._weekdaysParseExact?(k(this,"_weekdaysRegex")||Ha.call(this),M?this._weekdaysStrictRegex:this._weekdaysRegex):(k(this,"_weekdaysRegex")||(this._weekdaysRegex=Ws),this._weekdaysStrictRegex&&M?this._weekdaysStrictRegex:this._weekdaysRegex)},ui.weekdaysShortRegex=function Js(M){return this._weekdaysParseExact?(k(this,"_weekdaysRegex")||Ha.call(this),M?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(k(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=qs),this._weekdaysShortStrictRegex&&M?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},ui.weekdaysMinRegex=function Mr(M){return this._weekdaysParseExact?(k(this,"_weekdaysRegex")||Ha.call(this),M?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(k(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Zr),this._weekdaysMinStrictRegex&&M?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},ui.isPM=function La(M){return"p"===(M+"").toLowerCase().charAt(0)},ui.meridiem=function Yr(M,L,z){return M>11?z?"pm":"PM":z?"am":"AM"},fa("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(M){var L=M%10;return M+(1===ct(M%100/10)?"th":1===L?"st":2===L?"nd":3===L?"rd":"th")}}),m.lang=_e("moment.lang is deprecated. Use moment.locale instead.",fa),m.langData=_e("moment.langData is deprecated. Use moment.localeData instead.",Oa);var aa=Math.abs;function bl(M,L,z,re){var Me=Zt(L,z);return M._milliseconds+=re*Me._milliseconds,M._days+=re*Me._days,M._months+=re*Me._months,M._bubble()}function qc(M){return M<0?Math.floor(M):Math.ceil(M)}function Gr(M){return 4800*M/146097}function nl(M){return 146097*M/4800}function Rs(M){return function(){return this.as(M)}}var fc=Rs("ms"),bu=Rs("s"),Fs=Rs("m"),Bp=Rs("h"),yu=Rs("d"),Up=Rs("w"),Zp=Rs("M"),Jc=Rs("Q"),Yp=Rs("y");function ms(M){return function(){return this.isValid()?this._data[M]:NaN}}var is=ms("milliseconds"),Yd=ms("seconds"),Hd=ms("minutes"),Tu=ms("hours"),Mu=ms("days"),Cc=ms("months"),vc=ms("years");var Vo=Math.round,lo={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function al(M,L,z,re,Me){return Me.relativeTime(L||1,!!z,M,re)}var yl=Math.abs;function ol(M){return(M>0)-(M<0)||+M}function qa(){if(!this.isValid())return this.localeData().invalidDate();var re,Me,gt,Kt,Dn,Ca,Or,rl,M=yl(this._milliseconds)/1e3,L=yl(this._days),z=yl(this._months),tn=this.asSeconds();return tn?(re=De(M/60),Me=De(re/60),M%=60,re%=60,gt=De(z/12),z%=12,Kt=M?M.toFixed(3).replace(/\.?0+$/,""):"",Dn=tn<0?"-":"",Ca=ol(this._months)!==ol(tn)?"-":"",Or=ol(this._days)!==ol(tn)?"-":"",rl=ol(this._milliseconds)!==ol(tn)?"-":"",Dn+"P"+(gt?Ca+gt+"Y":"")+(z?Ca+z+"M":"")+(L?Or+L+"D":"")+(Me||re||M?"T":"")+(Me?rl+Me+"H":"")+(re?rl+re+"M":"")+(M?rl+Kt+"S":"")):"P0D"}var fn=no.prototype;return fn.isValid=function cs(){return this._isValid},fn.abs=function da(){var M=this._data;return this._milliseconds=aa(this._milliseconds),this._days=aa(this._days),this._months=aa(this._months),M.milliseconds=aa(M.milliseconds),M.seconds=aa(M.seconds),M.minutes=aa(M.minutes),M.hours=aa(M.hours),M.months=aa(M.months),M.years=aa(M.years),this},fn.add=function Xn(M,L){return bl(this,M,L,1)},fn.subtract=function Ud(M,L){return bl(this,M,L,-1)},fn.as=function L_(M){if(!this.isValid())return NaN;var L,z,re=this._milliseconds;if("month"===(M=Y(M))||"quarter"===M||"year"===M)switch(L=this._days+re/864e5,z=this._months+Gr(L),M){case"month":return z;case"quarter":return z/3;case"year":return z/12}else switch(L=this._days+Math.round(nl(this._months)),M){case"week":return L/7+re/6048e5;case"day":return L+re/864e5;case"hour":return 24*L+re/36e5;case"minute":return 1440*L+re/6e4;case"second":return 86400*L+re/1e3;case"millisecond":return Math.floor(864e5*L)+re;default:throw new Error("Unknown unit "+M)}},fn.asMilliseconds=fc,fn.asSeconds=bu,fn.asMinutes=Fs,fn.asHours=Bp,fn.asDays=yu,fn.asWeeks=Up,fn.asMonths=Zp,fn.asQuarters=Jc,fn.asYears=Yp,fn.valueOf=function so(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ct(this._months/12):NaN},fn._bubble=function gc(){var Me,gt,Kt,tn,Dn,M=this._milliseconds,L=this._days,z=this._months,re=this._data;return M>=0&&L>=0&&z>=0||M<=0&&L<=0&&z<=0||(M+=864e5*qc(nl(z)+L),L=0,z=0),re.milliseconds=M%1e3,Me=De(M/1e3),re.seconds=Me%60,gt=De(Me/60),re.minutes=gt%60,Kt=De(gt/60),re.hours=Kt%24,L+=De(Kt/24),z+=Dn=De(Gr(L)),L-=qc(nl(Dn)),tn=De(z/12),z%=12,re.days=L,re.months=z,re.years=tn,this},fn.clone=function Zd(){return Zt(this)},fn.get=function Co(M){return M=Y(M),this.isValid()?this[M+"s"]():NaN},fn.milliseconds=is,fn.seconds=Yd,fn.minutes=Hd,fn.hours=Tu,fn.days=Mu,fn.weeks=function Du(){return De(this.days()/7)},fn.months=Cc,fn.years=vc,fn.humanize=function Eu(M,L){if(!this.isValid())return this.localeData().invalidDate();var Me,gt,z=!1,re=lo;return"object"==typeof M&&(L=M,M=!1),"boolean"==typeof M&&(z=M),"object"==typeof L&&(re=Object.assign({},lo,L),null!=L.s&&null==L.ss&&(re.ss=L.s-1)),gt=function xc(M,L,z,re){var Me=Zt(M).abs(),gt=Vo(Me.as("s")),Kt=Vo(Me.as("m")),tn=Vo(Me.as("h")),Dn=Vo(Me.as("d")),Ca=Vo(Me.as("M")),Or=Vo(Me.as("w")),rl=Vo(Me.as("y")),Ns=gt<=z.ss&&["s",gt]||gt0,Ns[4]=re,al.apply(null,Ns)}(this,!z,re,Me=this.localeData()),z&&(gt=Me.pastFuture(+this,gt)),Me.postformat(gt)},fn.toISOString=qa,fn.toString=qa,fn.toJSON=qa,fn.locale=Gl,fn.localeData=Od,fn.toIsoString=_e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",qa),fn.lang=Vr,he("X",0,0,"unix"),he("x",0,0,"valueOf"),ot("x",si),ot("X",/[+-]?\d+(\.\d{1,3})?/),rt("X",function(M,L,z){z._d=new Date(1e3*parseFloat(M))}),rt("x",function(M,L,z){z._d=new Date(ct(M))}),m.version="2.29.4",function e(M){c=M}(zn),m.fn=ve,m.min=function cc(){return Ul("isBefore",[].slice.call(arguments,0))},m.max=function wd(){return Ul("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=Oe,m.unix=function Be(M){return zn(1e3*M)},m.months=function ro(M,L){return mn(M,L,"months")},m.isDate=J,m.locale=fa,m.invalid=Ne,m.duration=Zt,m.isMoment=Le,m.weekdays=function Wa(M,L,z){return Pn(M,L,z,"weekdays")},m.parseZone=function At(){return zn.apply(null,arguments).parseZone()},m.localeData=Oa,m.isDuration=hr,m.monthsShort=function gr(M,L){return mn(M,L,"monthsShort")},m.weekdaysMin=function il(M,L,z){return Pn(M,L,z,"weekdaysMin")},m.defineLocale=In,m.updateLocale=function eo(M,L){if(null!=L){var z,re,Me=Qo;null!=na[M]&&null!=na[M].parentLocale?na[M].set(ie(na[M]._config,L)):(null!=(re=zr(M))&&(Me=re._config),L=ie(Me,L),null==re&&(L.abbr=M),(z=new ke(L)).parentLocale=na[M],na[M]=z),fa(M)}else null!=na[M]&&(null!=na[M].parentLocale?(na[M]=na[M].parentLocale,M===fa()&&fa(M)):null!=na[M]&&delete na[M]);return na[M]},m.locales=function Nl(){return mt(na)},m.weekdaysShort=function fo(M,L,z){return Pn(M,L,z,"weekdaysShort")},m.normalizeUnits=Y,m.relativeTimeRounding=function $c(M){return void 0===M?Vo:"function"==typeof M&&(Vo=M,!0)},m.relativeTimeThreshold=function O_(M,L){return void 0!==lo[M]&&(void 0===L?lo[M]:(lo[M]=L,"s"===M&&(lo.ss=L-1),!0))},m.calendarFormat=function Vc(M,L){var z=M.diff(L,"days",!0);return z<-6?"sameElse":z<-1?"lastWeek":z<0?"lastDay":z<1?"sameDay":z<2?"nextDay":z<7?"nextWeek":"sameElse"},m.prototype=ve,m.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},m}()},9209:B=>{var U={\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u1ea4:"A",\u1eae:"A",\u1eb2:"A",\u1eb4:"A",\u1eb6:"A",\u00c6:"AE",\u1ea6:"A",\u1eb0:"A",\u0202:"A",\u00c7:"C",\u1e08:"C",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u1ebe:"E",\u1e16:"E",\u1ec0:"E",\u1e14:"E",\u1e1c:"E",\u0206:"E",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u1e2e:"I",\u020a:"I",\u00d0:"D",\u00d1:"N",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u1ed0:"O",\u1e4c:"O",\u1e52:"O",\u020e:"O",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00dd:"Y",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u1ea5:"a",\u1eaf:"a",\u1eb3:"a",\u1eb5:"a",\u1eb7:"a",\u00e6:"ae",\u1ea7:"a",\u1eb1:"a",\u0203:"a",\u00e7:"c",\u1e09:"c",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u1ebf:"e",\u1e17:"e",\u1ec1:"e",\u1e15:"e",\u1e1d:"e",\u0207:"e",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u1e2f:"i",\u020b:"i",\u00f0:"d",\u00f1:"n",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u1ed1:"o",\u1e4d:"o",\u1e53:"o",\u020f:"o",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00fd:"y",\u00ff:"y",\u0100:"A",\u0101:"a",\u0102:"A",\u0103:"a",\u0104:"A",\u0105:"a",\u0106:"C",\u0107:"c",\u0108:"C",\u0109:"c",\u010a:"C",\u010b:"c",\u010c:"C",\u010d:"c",C\u0306:"C",c\u0306:"c",\u010e:"D",\u010f:"d",\u0110:"D",\u0111:"d",\u0112:"E",\u0113:"e",\u0114:"E",\u0115:"e",\u0116:"E",\u0117:"e",\u0118:"E",\u0119:"e",\u011a:"E",\u011b:"e",\u011c:"G",\u01f4:"G",\u011d:"g",\u01f5:"g",\u011e:"G",\u011f:"g",\u0120:"G",\u0121:"g",\u0122:"G",\u0123:"g",\u0124:"H",\u0125:"h",\u0126:"H",\u0127:"h",\u1e2a:"H",\u1e2b:"h",\u0128:"I",\u0129:"i",\u012a:"I",\u012b:"i",\u012c:"I",\u012d:"i",\u012e:"I",\u012f:"i",\u0130:"I",\u0131:"i",\u0132:"IJ",\u0133:"ij",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u1e30:"K",\u1e31:"k",K\u0306:"K",k\u0306:"k",\u0139:"L",\u013a:"l",\u013b:"L",\u013c:"l",\u013d:"L",\u013e:"l",\u013f:"L",\u0140:"l",\u0141:"l",\u0142:"l",\u1e3e:"M",\u1e3f:"m",M\u0306:"M",m\u0306:"m",\u0143:"N",\u0144:"n",\u0145:"N",\u0146:"n",\u0147:"N",\u0148:"n",\u0149:"n",N\u0306:"N",n\u0306:"n",\u014c:"O",\u014d:"o",\u014e:"O",\u014f:"o",\u0150:"O",\u0151:"o",\u0152:"OE",\u0153:"oe",P\u0306:"P",p\u0306:"p",\u0154:"R",\u0155:"r",\u0156:"R",\u0157:"r",\u0158:"R",\u0159:"r",R\u0306:"R",r\u0306:"r",\u0212:"R",\u0213:"r",\u015a:"S",\u015b:"s",\u015c:"S",\u015d:"s",\u015e:"S",\u0218:"S",\u0219:"s",\u015f:"s",\u0160:"S",\u0161:"s",\u00df:"ss",\u0162:"T",\u0163:"t",\u021b:"t",\u021a:"T",\u0164:"T",\u0165:"t",\u0166:"T",\u0167:"t",T\u0306:"T",t\u0306:"t",\u0168:"U",\u0169:"u",\u016a:"U",\u016b:"u",\u016c:"U",\u016d:"u",\u016e:"U",\u016f:"u",\u0170:"U",\u0171:"u",\u0172:"U",\u0173:"u",\u0216:"U",\u0217:"u",V\u0306:"V",v\u0306:"v",\u0174:"W",\u0175:"w",\u1e82:"W",\u1e83:"w",X\u0306:"X",x\u0306:"x",\u0176:"Y",\u0177:"y",\u0178:"Y",Y\u0306:"Y",y\u0306:"y",\u0179:"Z",\u017a:"z",\u017b:"Z",\u017c:"z",\u017d:"Z",\u017e:"z",\u017f:"s",\u0192:"f",\u01a0:"O",\u01a1:"o",\u01af:"U",\u01b0:"u",\u01cd:"A",\u01ce:"a",\u01cf:"I",\u01d0:"i",\u01d1:"O",\u01d2:"o",\u01d3:"U",\u01d4:"u",\u01d5:"U",\u01d6:"u",\u01d7:"U",\u01d8:"u",\u01d9:"U",\u01da:"u",\u01db:"U",\u01dc:"u",\u1ee8:"U",\u1ee9:"u",\u1e78:"U",\u1e79:"u",\u01fa:"A",\u01fb:"a",\u01fc:"AE",\u01fd:"ae",\u01fe:"O",\u01ff:"o",\u00de:"TH",\u00fe:"th",\u1e54:"P",\u1e55:"p",\u1e64:"S",\u1e65:"s",X\u0301:"X",x\u0301:"x",\u0403:"\u0413",\u0453:"\u0433",\u040c:"\u041a",\u045c:"\u043a",A\u030b:"A",a\u030b:"a",E\u030b:"E",e\u030b:"e",I\u030b:"I",i\u030b:"i",\u01f8:"N",\u01f9:"n",\u1ed2:"O",\u1ed3:"o",\u1e50:"O",\u1e51:"o",\u1eea:"U",\u1eeb:"u",\u1e80:"W",\u1e81:"w",\u1ef2:"Y",\u1ef3:"y",\u0200:"A",\u0201:"a",\u0204:"E",\u0205:"e",\u0208:"I",\u0209:"i",\u020c:"O",\u020d:"o",\u0210:"R",\u0211:"r",\u0214:"U",\u0215:"u",B\u030c:"B",b\u030c:"b",\u010c\u0323:"C",\u010d\u0323:"c",\u00ca\u030c:"E",\u00ea\u030c:"e",F\u030c:"F",f\u030c:"f",\u01e6:"G",\u01e7:"g",\u021e:"H",\u021f:"h",J\u030c:"J",\u01f0:"j",\u01e8:"K",\u01e9:"k",M\u030c:"M",m\u030c:"m",P\u030c:"P",p\u030c:"p",Q\u030c:"Q",q\u030c:"q",\u0158\u0329:"R",\u0159\u0329:"r",\u1e66:"S",\u1e67:"s",V\u030c:"V",v\u030c:"v",W\u030c:"W",w\u030c:"w",X\u030c:"X",x\u030c:"x",Y\u030c:"Y",y\u030c:"y",A\u0327:"A",a\u0327:"a",B\u0327:"B",b\u0327:"b",\u1e10:"D",\u1e11:"d",\u0228:"E",\u0229:"e",\u0190\u0327:"E",\u025b\u0327:"e",\u1e28:"H",\u1e29:"h",I\u0327:"I",i\u0327:"i",\u0197\u0327:"I",\u0268\u0327:"i",M\u0327:"M",m\u0327:"m",O\u0327:"O",o\u0327:"o",Q\u0327:"Q",q\u0327:"q",U\u0327:"U",u\u0327:"u",X\u0327:"X",x\u0327:"x",Z\u0327:"Z",z\u0327:"z",\u0439:"\u0438",\u0419:"\u0418",\u0451:"\u0435",\u0401:"\u0415"},C=Object.keys(U).join("|"),c=new RegExp(C,"g"),m=new RegExp(C,"");function e(k){return U[k]}var b=function(k){return k.replace(c,e)};B.exports=b,B.exports.has=function(k){return!!k.match(m)},B.exports.remove=b},5126:B=>{"use strict";function U(m){return m instanceof Buffer?Buffer.from(m):new m.constructor(m.buffer.slice(),m.byteOffset,m.length)}B.exports=function C(m){return(m=m||{}).circles?function c(m){var e=[],b=[];return m.proto?function F(V){if("object"!=typeof V||null===V)return V;if(V instanceof Date)return new Date(V);if(Array.isArray(V))return T(V,F);if(V instanceof Map)return new Map(T(Array.from(V),F));if(V instanceof Set)return new Set(T(Array.from(V),F));var X={};for(var J in e.push(V),b.push(X),V){var ue=V[J];if("object"!=typeof ue||null===ue)X[J]=ue;else if(ue instanceof Date)X[J]=new Date(ue);else if(ue instanceof Map)X[J]=new Map(T(Array.from(ue),F));else if(ue instanceof Set)X[J]=new Set(T(Array.from(ue),F));else if(ArrayBuffer.isView(ue))X[J]=U(ue);else{var ce=e.indexOf(ue);X[J]=-1!==ce?b[ce]:F(ue)}}return e.pop(),b.pop(),X}:function k(V){if("object"!=typeof V||null===V)return V;if(V instanceof Date)return new Date(V);if(Array.isArray(V))return T(V,k);if(V instanceof Map)return new Map(T(Array.from(V),k));if(V instanceof Set)return new Set(T(Array.from(V),k));var X={};for(var J in e.push(V),b.push(X),V)if(!1!==Object.hasOwnProperty.call(V,J)){var ue=V[J];if("object"!=typeof ue||null===ue)X[J]=ue;else if(ue instanceof Date)X[J]=new Date(ue);else if(ue instanceof Map)X[J]=new Map(T(Array.from(ue),k));else if(ue instanceof Set)X[J]=new Set(T(Array.from(ue),k));else if(ArrayBuffer.isView(ue))X[J]=U(ue);else{var ce=e.indexOf(ue);X[J]=-1!==ce?b[ce]:k(ue)}}return e.pop(),b.pop(),X};function T(V,X){for(var J=Object.keys(V),ue=new Array(J.length),ce=0;ce{"use strict";C.d(U,{X:()=>m});var c=C(7579);class m extends c.x{constructor(b){super(),this._value=b}get value(){return this.getValue()}_subscribe(b){const T=super._subscribe(b);return!T.closed&&b.next(this._value),T}getValue(){const{hasError:b,thrownError:T,_value:k}=this;if(b)throw T;return this._throwIfClosed(),k}next(b){super.next(this._value=b)}}},9751:(B,U,C)=>{"use strict";C.d(U,{y:()=>V});var c=C(930),m=C(727),e=C(8822),b=C(9635),T=C(2416),k=C(576),F=C(2806);let V=(()=>{class ce{constructor(Pe){Pe&&(this._subscribe=Pe)}lift(Pe){const de=new ce;return de.source=this,de.operator=Pe,de}subscribe(Pe,de,Ge){const le=function ue(ce){return ce&&ce instanceof c.Lv||function J(ce){return ce&&(0,k.m)(ce.next)&&(0,k.m)(ce.error)&&(0,k.m)(ce.complete)}(ce)&&(0,m.Nn)(ce)}(Pe)?Pe:new c.Hp(Pe,de,Ge);return(0,F.x)(()=>{const{operator:Ne,source:yt}=this;le.add(Ne?Ne.call(le,yt):yt?this._subscribe(le):this._trySubscribe(le))}),le}_trySubscribe(Pe){try{return this._subscribe(Pe)}catch(de){Pe.error(de)}}forEach(Pe,de){return new(de=X(de))((Ge,le)=>{const Ne=new c.Hp({next:yt=>{try{Pe(yt)}catch(jt){le(jt),Ne.unsubscribe()}},error:le,complete:Ge});this.subscribe(Ne)})}_subscribe(Pe){var de;return null===(de=this.source)||void 0===de?void 0:de.subscribe(Pe)}[e.L](){return this}pipe(...Pe){return(0,b.U)(Pe)(this)}toPromise(Pe){return new(Pe=X(Pe))((de,Ge)=>{let le;this.subscribe(Ne=>le=Ne,Ne=>Ge(Ne),()=>de(le))})}}return ce.create=Oe=>new ce(Oe),ce})();function X(ce){var Oe;return null!==(Oe=null!=ce?ce:T.v.Promise)&&void 0!==Oe?Oe:Promise}},4707:(B,U,C)=>{"use strict";C.d(U,{t:()=>e});var c=C(7579),m=C(6063);class e extends c.x{constructor(T=1/0,k=1/0,F=m.l){super(),this._bufferSize=T,this._windowTime=k,this._timestampProvider=F,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=k===1/0,this._bufferSize=Math.max(1,T),this._windowTime=Math.max(1,k)}next(T){const{isStopped:k,_buffer:F,_infiniteTimeWindow:V,_timestampProvider:X,_windowTime:J}=this;k||(F.push(T),!V&&F.push(X.now()+J)),this._trimBuffer(),super.next(T)}_subscribe(T){this._throwIfClosed(),this._trimBuffer();const k=this._innerSubscribe(T),{_infiniteTimeWindow:F,_buffer:V}=this,X=V.slice();for(let J=0;J{"use strict";C.d(U,{x:()=>F});var c=C(9751),m=C(727);const b=(0,C(3888).d)(X=>function(){X(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var T=C(8737),k=C(2806);let F=(()=>{class X extends c.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(ue){const ce=new V(this,this);return ce.operator=ue,ce}_throwIfClosed(){if(this.closed)throw new b}next(ue){(0,k.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const ce of this.currentObservers)ce.next(ue)}})}error(ue){(0,k.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=ue;const{observers:ce}=this;for(;ce.length;)ce.shift().error(ue)}})}complete(){(0,k.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:ue}=this;for(;ue.length;)ue.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var ue;return(null===(ue=this.observers)||void 0===ue?void 0:ue.length)>0}_trySubscribe(ue){return this._throwIfClosed(),super._trySubscribe(ue)}_subscribe(ue){return this._throwIfClosed(),this._checkFinalizedStatuses(ue),this._innerSubscribe(ue)}_innerSubscribe(ue){const{hasError:ce,isStopped:Oe,observers:Pe}=this;return ce||Oe?m.Lc:(this.currentObservers=null,Pe.push(ue),new m.w0(()=>{this.currentObservers=null,(0,T.P)(Pe,ue)}))}_checkFinalizedStatuses(ue){const{hasError:ce,thrownError:Oe,isStopped:Pe}=this;ce?ue.error(Oe):Pe&&ue.complete()}asObservable(){const ue=new c.y;return ue.source=this,ue}}return X.create=(J,ue)=>new V(J,ue),X})();class V extends F{constructor(J,ue){super(),this.destination=J,this.source=ue}next(J){var ue,ce;null===(ce=null===(ue=this.destination)||void 0===ue?void 0:ue.next)||void 0===ce||ce.call(ue,J)}error(J){var ue,ce;null===(ce=null===(ue=this.destination)||void 0===ue?void 0:ue.error)||void 0===ce||ce.call(ue,J)}complete(){var J,ue;null===(ue=null===(J=this.destination)||void 0===J?void 0:J.complete)||void 0===ue||ue.call(J)}_subscribe(J){var ue,ce;return null!==(ce=null===(ue=this.source)||void 0===ue?void 0:ue.subscribe(J))&&void 0!==ce?ce:m.Lc}}},930:(B,U,C)=>{"use strict";C.d(U,{Hp:()=>Ge,Lv:()=>ce});var c=C(576),m=C(727),e=C(2416),b=C(7849),T=C(5032);const k=X("C",void 0,void 0);function X(st,Te,Le){return{kind:st,value:Te,error:Le}}var J=C(3410),ue=C(2806);class ce extends m.w0{constructor(Te){super(),this.isStopped=!1,Te?(this.destination=Te,(0,m.Nn)(Te)&&Te.add(this)):this.destination=jt}static create(Te,Le,at){return new Ge(Te,Le,at)}next(Te){this.isStopped?yt(function V(st){return X("N",st,void 0)}(Te),this):this._next(Te)}error(Te){this.isStopped?yt(function F(st){return X("E",void 0,st)}(Te),this):(this.isStopped=!0,this._error(Te))}complete(){this.isStopped?yt(k,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Te){this.destination.next(Te)}_error(Te){try{this.destination.error(Te)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Oe=Function.prototype.bind;function Pe(st,Te){return Oe.call(st,Te)}class de{constructor(Te){this.partialObserver=Te}next(Te){const{partialObserver:Le}=this;if(Le.next)try{Le.next(Te)}catch(at){le(at)}}error(Te){const{partialObserver:Le}=this;if(Le.error)try{Le.error(Te)}catch(at){le(at)}else le(Te)}complete(){const{partialObserver:Te}=this;if(Te.complete)try{Te.complete()}catch(Le){le(Le)}}}class Ge extends ce{constructor(Te,Le,at){let _e;if(super(),(0,c.m)(Te)||!Te)_e={next:null!=Te?Te:void 0,error:null!=Le?Le:void 0,complete:null!=at?at:void 0};else{let xt;this&&e.v.useDeprecatedNextContext?(xt=Object.create(Te),xt.unsubscribe=()=>this.unsubscribe(),_e={next:Te.next&&Pe(Te.next,xt),error:Te.error&&Pe(Te.error,xt),complete:Te.complete&&Pe(Te.complete,xt)}):_e=Te}this.destination=new de(_e)}}function le(st){e.v.useDeprecatedSynchronousErrorHandling?(0,ue.O)(st):(0,b.h)(st)}function yt(st,Te){const{onStoppedNotification:Le}=e.v;Le&&J.z.setTimeout(()=>Le(st,Te))}const jt={closed:!0,next:T.Z,error:function Ne(st){throw st},complete:T.Z}},727:(B,U,C)=>{"use strict";C.d(U,{Lc:()=>k,w0:()=>T,Nn:()=>F});var c=C(576);const e=(0,C(3888).d)(X=>function(ue){X(this),this.message=ue?`${ue.length} errors occurred during unsubscription:\n${ue.map((ce,Oe)=>`${Oe+1}) ${ce.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=ue});var b=C(8737);class T{constructor(J){this.initialTeardown=J,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let J;if(!this.closed){this.closed=!0;const{_parentage:ue}=this;if(ue)if(this._parentage=null,Array.isArray(ue))for(const Pe of ue)Pe.remove(this);else ue.remove(this);const{initialTeardown:ce}=this;if((0,c.m)(ce))try{ce()}catch(Pe){J=Pe instanceof e?Pe.errors:[Pe]}const{_finalizers:Oe}=this;if(Oe){this._finalizers=null;for(const Pe of Oe)try{V(Pe)}catch(de){J=null!=J?J:[],de instanceof e?J=[...J,...de.errors]:J.push(de)}}if(J)throw new e(J)}}add(J){var ue;if(J&&J!==this)if(this.closed)V(J);else{if(J instanceof T){if(J.closed||J._hasParent(this))return;J._addParent(this)}(this._finalizers=null!==(ue=this._finalizers)&&void 0!==ue?ue:[]).push(J)}}_hasParent(J){const{_parentage:ue}=this;return ue===J||Array.isArray(ue)&&ue.includes(J)}_addParent(J){const{_parentage:ue}=this;this._parentage=Array.isArray(ue)?(ue.push(J),ue):ue?[ue,J]:J}_removeParent(J){const{_parentage:ue}=this;ue===J?this._parentage=null:Array.isArray(ue)&&(0,b.P)(ue,J)}remove(J){const{_finalizers:ue}=this;ue&&(0,b.P)(ue,J),J instanceof T&&J._removeParent(this)}}T.EMPTY=(()=>{const X=new T;return X.closed=!0,X})();const k=T.EMPTY;function F(X){return X instanceof T||X&&"closed"in X&&(0,c.m)(X.remove)&&(0,c.m)(X.add)&&(0,c.m)(X.unsubscribe)}function V(X){(0,c.m)(X)?X():X.unsubscribe()}},2416:(B,U,C)=>{"use strict";C.d(U,{v:()=>c});const c={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},4033:(B,U,C)=>{"use strict";C.d(U,{c:()=>k});var c=C(9751),m=C(727),e=C(8343),b=C(5403),T=C(4482);class k extends c.y{constructor(V,X){super(),this.source=V,this.subjectFactory=X,this._subject=null,this._refCount=0,this._connection=null,(0,T.A)(V)&&(this.lift=V.lift)}_subscribe(V){return this.getSubject().subscribe(V)}getSubject(){const V=this._subject;return(!V||V.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:V}=this;this._subject=this._connection=null,null==V||V.unsubscribe()}connect(){let V=this._connection;if(!V){V=this._connection=new m.w0;const X=this.getSubject();V.add(this.source.subscribe((0,b.x)(X,void 0,()=>{this._teardown(),X.complete()},J=>{this._teardown(),X.error(J)},()=>this._teardown()))),V.closed&&(this._connection=null,V=m.w0.EMPTY)}return V}refCount(){return(0,e.x)()(this)}}},9841:(B,U,C)=>{"use strict";C.d(U,{a:()=>J});var c=C(9751),m=C(4742),e=C(2076),b=C(4671),T=C(3268),k=C(3269),F=C(1810),V=C(5403),X=C(9672);function J(...Oe){const Pe=(0,k.yG)(Oe),de=(0,k.jO)(Oe),{args:Ge,keys:le}=(0,m.D)(Oe);if(0===Ge.length)return(0,e.D)([],Pe);const Ne=new c.y(function ue(Oe,Pe,de=b.y){return Ge=>{ce(Pe,()=>{const{length:le}=Oe,Ne=new Array(le);let yt=le,jt=le;for(let st=0;st{const Te=(0,e.D)(Oe[st],Pe);let Le=!1;Te.subscribe((0,V.x)(Ge,at=>{Ne[st]=at,Le||(Le=!0,jt--),jt||Ge.next(de(Ne.slice()))},()=>{--yt||Ge.complete()}))},Ge)},Ge)}}(Ge,Pe,le?yt=>(0,F.n)(le,yt):b.y));return de?Ne.pipe((0,T.Z)(de)):Ne}function ce(Oe,Pe,de){Oe?(0,X.f)(de,Oe,Pe):Pe()}},7272:(B,U,C)=>{"use strict";C.d(U,{z:()=>T});var c=C(8189),e=C(3269),b=C(2076);function T(...k){return function m(){return(0,c.J)(1)}()((0,b.D)(k,(0,e.yG)(k)))}},9770:(B,U,C)=>{"use strict";C.d(U,{P:()=>e});var c=C(9751),m=C(8421);function e(b){return new c.y(T=>{(0,m.Xf)(b()).subscribe(T)})}},515:(B,U,C)=>{"use strict";C.d(U,{E:()=>m});const m=new(C(9751).y)(T=>T.complete())},4128:(B,U,C)=>{"use strict";C.d(U,{D:()=>V});var c=C(9751),m=C(4742),e=C(8421),b=C(3269),T=C(5403),k=C(3268),F=C(1810);function V(...X){const J=(0,b.jO)(X),{args:ue,keys:ce}=(0,m.D)(X),Oe=new c.y(Pe=>{const{length:de}=ue;if(!de)return void Pe.complete();const Ge=new Array(de);let le=de,Ne=de;for(let yt=0;yt{jt||(jt=!0,Ne--),Ge[yt]=st},()=>le--,void 0,()=>{(!le||!jt)&&(Ne||Pe.next(ce?(0,F.n)(ce,Ge):Ge),Pe.complete())}))}});return J?Oe.pipe((0,k.Z)(J)):Oe}},2076:(B,U,C)=>{"use strict";C.d(U,{D:()=>at});var c=C(8421),m=C(9672),e=C(4482),b=C(5403);function T(_e,xt=0){return(0,e.e)((tt,Ye)=>{tt.subscribe((0,b.x)(Ye,qe=>(0,m.f)(Ye,_e,()=>Ye.next(qe),xt),()=>(0,m.f)(Ye,_e,()=>Ye.complete(),xt),qe=>(0,m.f)(Ye,_e,()=>Ye.error(qe),xt)))})}function k(_e,xt=0){return(0,e.e)((tt,Ye)=>{Ye.add(_e.schedule(()=>tt.subscribe(Ye),xt))})}var X=C(9751),ue=C(2202),ce=C(576);function Pe(_e,xt){if(!_e)throw new Error("Iterable cannot be null");return new X.y(tt=>{(0,m.f)(tt,xt,()=>{const Ye=_e[Symbol.asyncIterator]();(0,m.f)(tt,xt,()=>{Ye.next().then(qe=>{qe.done?tt.complete():tt.next(qe.value)})},0,!0)})})}var de=C(3670),Ge=C(8239),le=C(1144),Ne=C(6495),yt=C(2206),jt=C(4532),st=C(3260);function at(_e,xt){return xt?function Le(_e,xt){if(null!=_e){if((0,de.c)(_e))return function F(_e,xt){return(0,c.Xf)(_e).pipe(k(xt),T(xt))}(_e,xt);if((0,le.z)(_e))return function J(_e,xt){return new X.y(tt=>{let Ye=0;return xt.schedule(function(){Ye===_e.length?tt.complete():(tt.next(_e[Ye++]),tt.closed||this.schedule())})})}(_e,xt);if((0,Ge.t)(_e))return function V(_e,xt){return(0,c.Xf)(_e).pipe(k(xt),T(xt))}(_e,xt);if((0,yt.D)(_e))return Pe(_e,xt);if((0,Ne.T)(_e))return function Oe(_e,xt){return new X.y(tt=>{let Ye;return(0,m.f)(tt,xt,()=>{Ye=_e[ue.h](),(0,m.f)(tt,xt,()=>{let qe,ie;try{({value:qe,done:ie}=Ye.next())}catch(ke){return void tt.error(ke)}ie?tt.complete():tt.next(qe)},0,!0)}),()=>(0,ce.m)(null==Ye?void 0:Ye.return)&&Ye.return()})}(_e,xt);if((0,st.L)(_e))return function Te(_e,xt){return Pe((0,st.Q)(_e),xt)}(_e,xt)}throw(0,jt.z)(_e)}(_e,xt):(0,c.Xf)(_e)}},4968:(B,U,C)=>{"use strict";C.d(U,{R:()=>J});var c=C(8421),m=C(9751),e=C(5577),b=C(1144),T=C(576),k=C(3268);const F=["addListener","removeListener"],V=["addEventListener","removeEventListener"],X=["on","off"];function J(de,Ge,le,Ne){if((0,T.m)(le)&&(Ne=le,le=void 0),Ne)return J(de,Ge,le).pipe((0,k.Z)(Ne));const[yt,jt]=function Pe(de){return(0,T.m)(de.addEventListener)&&(0,T.m)(de.removeEventListener)}(de)?V.map(st=>Te=>de[st](Ge,Te,le)):function ce(de){return(0,T.m)(de.addListener)&&(0,T.m)(de.removeListener)}(de)?F.map(ue(de,Ge)):function Oe(de){return(0,T.m)(de.on)&&(0,T.m)(de.off)}(de)?X.map(ue(de,Ge)):[];if(!yt&&(0,b.z)(de))return(0,e.z)(st=>J(st,Ge,le))((0,c.Xf)(de));if(!yt)throw new TypeError("Invalid event target");return new m.y(st=>{const Te=(...Le)=>st.next(1jt(Te)})}function ue(de,Ge){return le=>Ne=>de[le](Ge,Ne)}},8421:(B,U,C)=>{"use strict";C.d(U,{Xf:()=>Oe});var c=C(655),m=C(1144),e=C(8239),b=C(9751),T=C(3670),k=C(2206),F=C(4532),V=C(6495),X=C(3260),J=C(576),ue=C(7849),ce=C(8822);function Oe(st){if(st instanceof b.y)return st;if(null!=st){if((0,T.c)(st))return function Pe(st){return new b.y(Te=>{const Le=st[ce.L]();if((0,J.m)(Le.subscribe))return Le.subscribe(Te);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(st);if((0,m.z)(st))return function de(st){return new b.y(Te=>{for(let Le=0;Le{st.then(Le=>{Te.closed||(Te.next(Le),Te.complete())},Le=>Te.error(Le)).then(null,ue.h)})}(st);if((0,k.D)(st))return Ne(st);if((0,V.T)(st))return function le(st){return new b.y(Te=>{for(const Le of st)if(Te.next(Le),Te.closed)return;Te.complete()})}(st);if((0,X.L)(st))return function yt(st){return Ne((0,X.Q)(st))}(st)}throw(0,F.z)(st)}function Ne(st){return new b.y(Te=>{(function jt(st,Te){var Le,at,_e,xt;return(0,c.mG)(this,void 0,void 0,function*(){try{for(Le=(0,c.KL)(st);!(at=yield Le.next()).done;)if(Te.next(at.value),Te.closed)return}catch(tt){_e={error:tt}}finally{try{at&&!at.done&&(xt=Le.return)&&(yield xt.call(Le))}finally{if(_e)throw _e.error}}Te.complete()})})(st,Te).catch(Le=>Te.error(Le))})}},6451:(B,U,C)=>{"use strict";C.d(U,{T:()=>k});var c=C(8189),m=C(8421),e=C(515),b=C(3269),T=C(2076);function k(...F){const V=(0,b.yG)(F),X=(0,b._6)(F,1/0),J=F;return J.length?1===J.length?(0,m.Xf)(J[0]):(0,c.J)(X)((0,T.D)(J,V)):e.E}},9646:(B,U,C)=>{"use strict";C.d(U,{of:()=>e});var c=C(3269),m=C(2076);function e(...b){const T=(0,c.yG)(b);return(0,m.D)(b,T)}},2843:(B,U,C)=>{"use strict";C.d(U,{_:()=>e});var c=C(9751),m=C(576);function e(b,T){const k=(0,m.m)(b)?b:()=>b,F=V=>V.error(k());return new c.y(T?V=>T.schedule(F,0,V):F)}},5963:(B,U,C)=>{"use strict";C.d(U,{H:()=>T});var c=C(9751),m=C(4986),e=C(3532);function T(k=0,F,V=m.P){let X=-1;return null!=F&&((0,e.K)(F)?V=F:X=F),new c.y(J=>{let ue=function b(k){return k instanceof Date&&!isNaN(k)}(k)?+k-V.now():k;ue<0&&(ue=0);let ce=0;return V.schedule(function(){J.closed||(J.next(ce++),0<=X?this.schedule(void 0,X):J.complete())},ue)})}},5403:(B,U,C)=>{"use strict";C.d(U,{x:()=>m});var c=C(930);function m(b,T,k,F,V){return new e(b,T,k,F,V)}class e extends c.Lv{constructor(T,k,F,V,X,J){super(T),this.onFinalize=X,this.shouldUnsubscribe=J,this._next=k?function(ue){try{k(ue)}catch(ce){T.error(ce)}}:super._next,this._error=V?function(ue){try{V(ue)}catch(ce){T.error(ce)}finally{this.unsubscribe()}}:super._error,this._complete=F?function(){try{F()}catch(ue){T.error(ue)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var T;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:k}=this;super.unsubscribe(),!k&&(null===(T=this.onFinalize)||void 0===T||T.call(this))}}}},3601:(B,U,C)=>{"use strict";C.d(U,{e:()=>F});var c=C(4986),m=C(4482),e=C(8421),b=C(5403),k=C(5963);function F(V,X=c.z){return function T(V){return(0,m.e)((X,J)=>{let ue=!1,ce=null,Oe=null,Pe=!1;const de=()=>{if(null==Oe||Oe.unsubscribe(),Oe=null,ue){ue=!1;const le=ce;ce=null,J.next(le)}Pe&&J.complete()},Ge=()=>{Oe=null,Pe&&J.complete()};X.subscribe((0,b.x)(J,le=>{ue=!0,ce=le,Oe||(0,e.Xf)(V(le)).subscribe(Oe=(0,b.x)(J,de,Ge))},()=>{Pe=!0,(!ue||!Oe||Oe.closed)&&J.complete()}))})}(()=>(0,k.H)(V,X))}},262:(B,U,C)=>{"use strict";C.d(U,{K:()=>b});var c=C(8421),m=C(5403),e=C(4482);function b(T){return(0,e.e)((k,F)=>{let J,V=null,X=!1;V=k.subscribe((0,m.x)(F,void 0,void 0,ue=>{J=(0,c.Xf)(T(ue,b(T)(k))),V?(V.unsubscribe(),V=null,J.subscribe(F)):X=!0})),X&&(V.unsubscribe(),V=null,J.subscribe(F))})}},4351:(B,U,C)=>{"use strict";C.d(U,{b:()=>e});var c=C(5577),m=C(576);function e(b,T){return(0,m.m)(T)?(0,c.z)(b,T,1):(0,c.z)(b,1)}},8372:(B,U,C)=>{"use strict";C.d(U,{b:()=>b});var c=C(4986),m=C(4482),e=C(5403);function b(T,k=c.z){return(0,m.e)((F,V)=>{let X=null,J=null,ue=null;const ce=()=>{if(X){X.unsubscribe(),X=null;const Pe=J;J=null,V.next(Pe)}};function Oe(){const Pe=ue+T,de=k.now();if(de{J=Pe,ue=k.now(),X||(X=k.schedule(Oe,T),V.add(X))},()=>{ce(),V.complete()},void 0,()=>{J=X=null}))})}},1005:(B,U,C)=>{"use strict";C.d(U,{g:()=>ce});var c=C(4986),m=C(7272),e=C(5698),b=C(4482),T=C(5403),k=C(5032),V=C(9718),X=C(5577);function J(Oe,Pe){return Pe?de=>(0,m.z)(Pe.pipe((0,e.q)(1),function F(){return(0,b.e)((Oe,Pe)=>{Oe.subscribe((0,T.x)(Pe,k.Z))})}()),de.pipe(J(Oe))):(0,X.z)((de,Ge)=>Oe(de,Ge).pipe((0,e.q)(1),(0,V.h)(de)))}var ue=C(5963);function ce(Oe,Pe=c.z){const de=(0,ue.H)(Oe,Pe);return J(()=>de)}},1884:(B,U,C)=>{"use strict";C.d(U,{x:()=>b});var c=C(4671),m=C(4482),e=C(5403);function b(k,F=c.y){return k=null!=k?k:T,(0,m.e)((V,X)=>{let J,ue=!0;V.subscribe((0,e.x)(X,ce=>{const Oe=F(ce);(ue||!k(J,Oe))&&(ue=!1,J=Oe,X.next(ce))}))})}function T(k,F){return k===F}},9300:(B,U,C)=>{"use strict";C.d(U,{h:()=>e});var c=C(4482),m=C(5403);function e(b,T){return(0,c.e)((k,F)=>{let V=0;k.subscribe((0,m.x)(F,X=>b.call(T,X,V++)&&F.next(X)))})}},8746:(B,U,C)=>{"use strict";C.d(U,{x:()=>m});var c=C(4482);function m(e){return(0,c.e)((b,T)=>{try{b.subscribe(T)}finally{T.add(e)}})}},4004:(B,U,C)=>{"use strict";C.d(U,{U:()=>e});var c=C(4482),m=C(5403);function e(b,T){return(0,c.e)((k,F)=>{let V=0;k.subscribe((0,m.x)(F,X=>{F.next(b.call(T,X,V++))}))})}},9718:(B,U,C)=>{"use strict";C.d(U,{h:()=>m});var c=C(4004);function m(e){return(0,c.U)(()=>e)}},8189:(B,U,C)=>{"use strict";C.d(U,{J:()=>e});var c=C(5577),m=C(4671);function e(b=1/0){return(0,c.z)(m.y,b)}},5577:(B,U,C)=>{"use strict";C.d(U,{z:()=>V});var c=C(4004),m=C(8421),e=C(4482),b=C(9672),T=C(5403),F=C(576);function V(X,J,ue=1/0){return(0,F.m)(J)?V((ce,Oe)=>(0,c.U)((Pe,de)=>J(ce,Pe,Oe,de))((0,m.Xf)(X(ce,Oe))),ue):("number"==typeof J&&(ue=J),(0,e.e)((ce,Oe)=>function k(X,J,ue,ce,Oe,Pe,de,Ge){const le=[];let Ne=0,yt=0,jt=!1;const st=()=>{jt&&!le.length&&!Ne&&J.complete()},Te=at=>Ne{Pe&&J.next(at),Ne++;let _e=!1;(0,m.Xf)(ue(at,yt++)).subscribe((0,T.x)(J,xt=>{null==Oe||Oe(xt),Pe?Te(xt):J.next(xt)},()=>{_e=!0},void 0,()=>{if(_e)try{for(Ne--;le.length&&NeLe(xt)):Le(xt)}st()}catch(xt){J.error(xt)}}))};return X.subscribe((0,T.x)(J,Te,()=>{jt=!0,st()})),()=>{null==Ge||Ge()}}(ce,Oe,X,ue)))}},8343:(B,U,C)=>{"use strict";C.d(U,{x:()=>e});var c=C(4482),m=C(5403);function e(){return(0,c.e)((b,T)=>{let k=null;b._refCount++;const F=(0,m.x)(T,void 0,void 0,void 0,()=>{if(!b||b._refCount<=0||0<--b._refCount)return void(k=null);const V=b._connection,X=k;k=null,V&&(!X||V===X)&&V.unsubscribe(),T.unsubscribe()});b.subscribe(F),F.closed||(k=b.connect())})}},3099:(B,U,C)=>{"use strict";C.d(U,{B:()=>T});var c=C(8421),m=C(7579),e=C(930),b=C(4482);function T(F={}){const{connector:V=(()=>new m.x),resetOnError:X=!0,resetOnComplete:J=!0,resetOnRefCountZero:ue=!0}=F;return ce=>{let Oe,Pe,de,Ge=0,le=!1,Ne=!1;const yt=()=>{null==Pe||Pe.unsubscribe(),Pe=void 0},jt=()=>{yt(),Oe=de=void 0,le=Ne=!1},st=()=>{const Te=Oe;jt(),null==Te||Te.unsubscribe()};return(0,b.e)((Te,Le)=>{Ge++,!Ne&&!le&&yt();const at=de=null!=de?de:V();Le.add(()=>{Ge--,0===Ge&&!Ne&&!le&&(Pe=k(st,ue))}),at.subscribe(Le),!Oe&&Ge>0&&(Oe=new e.Hp({next:_e=>at.next(_e),error:_e=>{Ne=!0,yt(),Pe=k(jt,X,_e),at.error(_e)},complete:()=>{le=!0,yt(),Pe=k(jt,J),at.complete()}}),(0,c.Xf)(Te).subscribe(Oe))})(ce)}}function k(F,V,...X){if(!0===V)return void F();if(!1===V)return;const J=new e.Hp({next:()=>{J.unsubscribe(),F()}});return V(...X).subscribe(J)}},5684:(B,U,C)=>{"use strict";C.d(U,{T:()=>m});var c=C(9300);function m(e){return(0,c.h)((b,T)=>e<=T)}},8675:(B,U,C)=>{"use strict";C.d(U,{O:()=>b});var c=C(7272),m=C(3269),e=C(4482);function b(...T){const k=(0,m.yG)(T);return(0,e.e)((F,V)=>{(k?(0,c.z)(T,F,k):(0,c.z)(T,F)).subscribe(V)})}},3900:(B,U,C)=>{"use strict";C.d(U,{w:()=>b});var c=C(8421),m=C(4482),e=C(5403);function b(T,k){return(0,m.e)((F,V)=>{let X=null,J=0,ue=!1;const ce=()=>ue&&!X&&V.complete();F.subscribe((0,e.x)(V,Oe=>{null==X||X.unsubscribe();let Pe=0;const de=J++;(0,c.Xf)(T(Oe,de)).subscribe(X=(0,e.x)(V,Ge=>V.next(k?k(Oe,Ge,de,Pe++):Ge),()=>{X=null,ce()}))},()=>{ue=!0,ce()}))})}},5698:(B,U,C)=>{"use strict";C.d(U,{q:()=>b});var c=C(515),m=C(4482),e=C(5403);function b(T){return T<=0?()=>c.E:(0,m.e)((k,F)=>{let V=0;k.subscribe((0,e.x)(F,X=>{++V<=T&&(F.next(X),T<=V&&F.complete())}))})}},2722:(B,U,C)=>{"use strict";C.d(U,{R:()=>T});var c=C(4482),m=C(5403),e=C(8421),b=C(5032);function T(k){return(0,c.e)((F,V)=>{(0,e.Xf)(k).subscribe((0,m.x)(V,()=>V.complete(),b.Z)),!V.closed&&F.subscribe(V)})}},2529:(B,U,C)=>{"use strict";C.d(U,{o:()=>e});var c=C(4482),m=C(5403);function e(b,T=!1){return(0,c.e)((k,F)=>{let V=0;k.subscribe((0,m.x)(F,X=>{const J=b(X,V++);(J||T)&&F.next(X),!J&&F.complete()}))})}},8505:(B,U,C)=>{"use strict";C.d(U,{b:()=>T});var c=C(576),m=C(4482),e=C(5403),b=C(4671);function T(k,F,V){const X=(0,c.m)(k)||F||V?{next:k,error:F,complete:V}:k;return X?(0,m.e)((J,ue)=>{var ce;null===(ce=X.subscribe)||void 0===ce||ce.call(X);let Oe=!0;J.subscribe((0,e.x)(ue,Pe=>{var de;null===(de=X.next)||void 0===de||de.call(X,Pe),ue.next(Pe)},()=>{var Pe;Oe=!1,null===(Pe=X.complete)||void 0===Pe||Pe.call(X),ue.complete()},Pe=>{var de;Oe=!1,null===(de=X.error)||void 0===de||de.call(X,Pe),ue.error(Pe)},()=>{var Pe,de;Oe&&(null===(Pe=X.unsubscribe)||void 0===Pe||Pe.call(X)),null===(de=X.finalize)||void 0===de||de.call(X)}))}):b.y}},4408:(B,U,C)=>{"use strict";C.d(U,{o:()=>T});var c=C(727);class m extends c.w0{constructor(F,V){super()}schedule(F,V=0){return this}}const e={setInterval(k,F,...V){const{delegate:X}=e;return null!=X&&X.setInterval?X.setInterval(k,F,...V):setInterval(k,F,...V)},clearInterval(k){const{delegate:F}=e;return((null==F?void 0:F.clearInterval)||clearInterval)(k)},delegate:void 0};var b=C(8737);class T extends m{constructor(F,V){super(F,V),this.scheduler=F,this.work=V,this.pending=!1}schedule(F,V=0){var X;if(this.closed)return this;this.state=F;const J=this.id,ue=this.scheduler;return null!=J&&(this.id=this.recycleAsyncId(ue,J,V)),this.pending=!0,this.delay=V,this.id=null!==(X=this.id)&&void 0!==X?X:this.requestAsyncId(ue,this.id,V),this}requestAsyncId(F,V,X=0){return e.setInterval(F.flush.bind(F,this),X)}recycleAsyncId(F,V,X=0){if(null!=X&&this.delay===X&&!1===this.pending)return V;null!=V&&e.clearInterval(V)}execute(F,V){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const X=this._execute(F,V);if(X)return X;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(F,V){let J,X=!1;try{this.work(F)}catch(ue){X=!0,J=ue||new Error("Scheduled action threw falsy error")}if(X)return this.unsubscribe(),J}unsubscribe(){if(!this.closed){const{id:F,scheduler:V}=this,{actions:X}=V;this.work=this.state=this.scheduler=null,this.pending=!1,(0,b.P)(X,this),null!=F&&(this.id=this.recycleAsyncId(V,F,null)),this.delay=null,super.unsubscribe()}}}},7565:(B,U,C)=>{"use strict";C.d(U,{v:()=>e});var c=C(6063);class m{constructor(T,k=m.now){this.schedulerActionCtor=T,this.now=k}schedule(T,k=0,F){return new this.schedulerActionCtor(this,T).schedule(F,k)}}m.now=c.l.now;class e extends m{constructor(T,k=m.now){super(T,k),this.actions=[],this._active=!1}flush(T){const{actions:k}=this;if(this._active)return void k.push(T);let F;this._active=!0;do{if(F=T.execute(T.state,T.delay))break}while(T=k.shift());if(this._active=!1,F){for(;T=k.shift();)T.unsubscribe();throw F}}}},6406:(B,U,C)=>{"use strict";C.d(U,{Z:()=>F});var c=C(4408),m=C(727);const e={schedule(X){let J=requestAnimationFrame,ue=cancelAnimationFrame;const{delegate:ce}=e;ce&&(J=ce.requestAnimationFrame,ue=ce.cancelAnimationFrame);const Oe=J(Pe=>{ue=void 0,X(Pe)});return new m.w0(()=>null==ue?void 0:ue(Oe))},requestAnimationFrame(...X){const{delegate:J}=e;return((null==J?void 0:J.requestAnimationFrame)||requestAnimationFrame)(...X)},cancelAnimationFrame(...X){const{delegate:J}=e;return((null==J?void 0:J.cancelAnimationFrame)||cancelAnimationFrame)(...X)},delegate:void 0};var T=C(7565);const F=new class k extends T.v{flush(J){this._active=!0;const ue=this._scheduled;this._scheduled=void 0;const{actions:ce}=this;let Oe;J=J||ce.shift();do{if(Oe=J.execute(J.state,J.delay))break}while((J=ce[0])&&J.id===ue&&ce.shift());if(this._active=!1,Oe){for(;(J=ce[0])&&J.id===ue&&ce.shift();)J.unsubscribe();throw Oe}}}(class b extends c.o{constructor(J,ue){super(J,ue),this.scheduler=J,this.work=ue}requestAsyncId(J,ue,ce=0){return null!==ce&&ce>0?super.requestAsyncId(J,ue,ce):(J.actions.push(this),J._scheduled||(J._scheduled=e.requestAnimationFrame(()=>J.flush(void 0))))}recycleAsyncId(J,ue,ce=0){var Oe;if(null!=ce?ce>0:this.delay>0)return super.recycleAsyncId(J,ue,ce);const{actions:Pe}=J;null!=ue&&(null===(Oe=Pe[Pe.length-1])||void 0===Oe?void 0:Oe.id)!==ue&&(e.cancelAnimationFrame(ue),J._scheduled=void 0)}})},3101:(B,U,C)=>{"use strict";C.d(U,{E:()=>Pe});var c=C(4408);let e,m=1;const b={};function T(Ge){return Ge in b&&(delete b[Ge],!0)}const k={setImmediate(Ge){const le=m++;return b[le]=!0,e||(e=Promise.resolve()),e.then(()=>T(le)&&Ge()),le},clearImmediate(Ge){T(Ge)}},{setImmediate:V,clearImmediate:X}=k,J={setImmediate(...Ge){const{delegate:le}=J;return((null==le?void 0:le.setImmediate)||V)(...Ge)},clearImmediate(Ge){const{delegate:le}=J;return((null==le?void 0:le.clearImmediate)||X)(Ge)},delegate:void 0};var ce=C(7565);const Pe=new class Oe extends ce.v{flush(le){this._active=!0;const Ne=this._scheduled;this._scheduled=void 0;const{actions:yt}=this;let jt;le=le||yt.shift();do{if(jt=le.execute(le.state,le.delay))break}while((le=yt[0])&&le.id===Ne&&yt.shift());if(this._active=!1,jt){for(;(le=yt[0])&&le.id===Ne&&yt.shift();)le.unsubscribe();throw jt}}}(class ue extends c.o{constructor(le,Ne){super(le,Ne),this.scheduler=le,this.work=Ne}requestAsyncId(le,Ne,yt=0){return null!==yt&&yt>0?super.requestAsyncId(le,Ne,yt):(le.actions.push(this),le._scheduled||(le._scheduled=J.setImmediate(le.flush.bind(le,void 0))))}recycleAsyncId(le,Ne,yt=0){var jt;if(null!=yt?yt>0:this.delay>0)return super.recycleAsyncId(le,Ne,yt);const{actions:st}=le;null!=Ne&&(null===(jt=st[st.length-1])||void 0===jt?void 0:jt.id)!==Ne&&(J.clearImmediate(Ne),le._scheduled=void 0)}})},4986:(B,U,C)=>{"use strict";C.d(U,{P:()=>b,z:()=>e});var c=C(4408);const e=new(C(7565).v)(c.o),b=e},6063:(B,U,C)=>{"use strict";C.d(U,{l:()=>c});const c={now:()=>(c.delegate||Date).now(),delegate:void 0}},3410:(B,U,C)=>{"use strict";C.d(U,{z:()=>c});const c={setTimeout(m,e,...b){const{delegate:T}=c;return null!=T&&T.setTimeout?T.setTimeout(m,e,...b):setTimeout(m,e,...b)},clearTimeout(m){const{delegate:e}=c;return((null==e?void 0:e.clearTimeout)||clearTimeout)(m)},delegate:void 0}},2202:(B,U,C)=>{"use strict";C.d(U,{h:()=>m});const m=function c(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(B,U,C)=>{"use strict";C.d(U,{L:()=>c});const c="function"==typeof Symbol&&Symbol.observable||"@@observable"},3269:(B,U,C)=>{"use strict";C.d(U,{_6:()=>k,jO:()=>b,yG:()=>T});var c=C(576),m=C(3532);function e(F){return F[F.length-1]}function b(F){return(0,c.m)(e(F))?F.pop():void 0}function T(F){return(0,m.K)(e(F))?F.pop():void 0}function k(F,V){return"number"==typeof e(F)?F.pop():V}},4742:(B,U,C)=>{"use strict";C.d(U,{D:()=>T});const{isArray:c}=Array,{getPrototypeOf:m,prototype:e,keys:b}=Object;function T(F){if(1===F.length){const V=F[0];if(c(V))return{args:V,keys:null};if(function k(F){return F&&"object"==typeof F&&m(F)===e}(V)){const X=b(V);return{args:X.map(J=>V[J]),keys:X}}}return{args:F,keys:null}}},8737:(B,U,C)=>{"use strict";function c(m,e){if(m){const b=m.indexOf(e);0<=b&&m.splice(b,1)}}C.d(U,{P:()=>c})},3888:(B,U,C)=>{"use strict";function c(m){const b=m(T=>{Error.call(T),T.stack=(new Error).stack});return b.prototype=Object.create(Error.prototype),b.prototype.constructor=b,b}C.d(U,{d:()=>c})},1810:(B,U,C)=>{"use strict";function c(m,e){return m.reduce((b,T,k)=>(b[T]=e[k],b),{})}C.d(U,{n:()=>c})},2806:(B,U,C)=>{"use strict";C.d(U,{O:()=>b,x:()=>e});var c=C(2416);let m=null;function e(T){if(c.v.useDeprecatedSynchronousErrorHandling){const k=!m;if(k&&(m={errorThrown:!1,error:null}),T(),k){const{errorThrown:F,error:V}=m;if(m=null,F)throw V}}else T()}function b(T){c.v.useDeprecatedSynchronousErrorHandling&&m&&(m.errorThrown=!0,m.error=T)}},9672:(B,U,C)=>{"use strict";function c(m,e,b,T=0,k=!1){const F=e.schedule(function(){b(),k?m.add(this.schedule(null,T)):this.unsubscribe()},T);if(m.add(F),!k)return F}C.d(U,{f:()=>c})},4671:(B,U,C)=>{"use strict";function c(m){return m}C.d(U,{y:()=>c})},1144:(B,U,C)=>{"use strict";C.d(U,{z:()=>c});const c=m=>m&&"number"==typeof m.length&&"function"!=typeof m},2206:(B,U,C)=>{"use strict";C.d(U,{D:()=>m});var c=C(576);function m(e){return Symbol.asyncIterator&&(0,c.m)(null==e?void 0:e[Symbol.asyncIterator])}},576:(B,U,C)=>{"use strict";function c(m){return"function"==typeof m}C.d(U,{m:()=>c})},3670:(B,U,C)=>{"use strict";C.d(U,{c:()=>e});var c=C(8822),m=C(576);function e(b){return(0,m.m)(b[c.L])}},6495:(B,U,C)=>{"use strict";C.d(U,{T:()=>e});var c=C(2202),m=C(576);function e(b){return(0,m.m)(null==b?void 0:b[c.h])}},5191:(B,U,C)=>{"use strict";C.d(U,{b:()=>e});var c=C(9751),m=C(576);function e(b){return!!b&&(b instanceof c.y||(0,m.m)(b.lift)&&(0,m.m)(b.subscribe))}},8239:(B,U,C)=>{"use strict";C.d(U,{t:()=>m});var c=C(576);function m(e){return(0,c.m)(null==e?void 0:e.then)}},3260:(B,U,C)=>{"use strict";C.d(U,{L:()=>b,Q:()=>e});var c=C(655),m=C(576);function e(T){return(0,c.FC)(this,arguments,function*(){const F=T.getReader();try{for(;;){const{value:V,done:X}=yield(0,c.qq)(F.read());if(X)return yield(0,c.qq)(void 0);yield yield(0,c.qq)(V)}}finally{F.releaseLock()}})}function b(T){return(0,m.m)(null==T?void 0:T.getReader)}},3532:(B,U,C)=>{"use strict";C.d(U,{K:()=>m});var c=C(576);function m(e){return e&&(0,c.m)(e.schedule)}},4482:(B,U,C)=>{"use strict";C.d(U,{A:()=>m,e:()=>e});var c=C(576);function m(b){return(0,c.m)(null==b?void 0:b.lift)}function e(b){return T=>{if(m(T))return T.lift(function(k){try{return b(k,this)}catch(F){this.error(F)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(B,U,C)=>{"use strict";C.d(U,{Z:()=>b});var c=C(4004);const{isArray:m}=Array;function b(T){return(0,c.U)(k=>function e(T,k){return m(k)?T(...k):T(k)}(T,k))}},5032:(B,U,C)=>{"use strict";function c(){}C.d(U,{Z:()=>c})},9635:(B,U,C)=>{"use strict";C.d(U,{U:()=>e,z:()=>m});var c=C(4671);function m(...b){return e(b)}function e(b){return 0===b.length?c.y:1===b.length?b[0]:function(k){return b.reduce((F,V)=>V(F),k)}}},7849:(B,U,C)=>{"use strict";C.d(U,{h:()=>e});var c=C(2416),m=C(3410);function e(b){m.z.setTimeout(()=>{const{onUnhandledError:T}=c.v;if(!T)throw b;T(b)})}},4532:(B,U,C)=>{"use strict";function c(m){return new TypeError(`You provided ${null!==m&&"object"==typeof m?"an invalid object":`'${m}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}C.d(U,{z:()=>c})},6700:(B,U,C)=>{var c={"./af":7088,"./af.js":7088,"./ar":7038,"./ar-dz":2502,"./ar-dz.js":2502,"./ar-kw":128,"./ar-kw.js":128,"./ar-ly":4519,"./ar-ly.js":4519,"./ar-ma":5443,"./ar-ma.js":5443,"./ar-sa":7642,"./ar-sa.js":7642,"./ar-tn":8592,"./ar-tn.js":8592,"./ar.js":7038,"./az":1213,"./az.js":1213,"./be":9191,"./be.js":9191,"./bg":322,"./bg.js":322,"./bm":8042,"./bm.js":8042,"./bn":9620,"./bn-bd":5903,"./bn-bd.js":5903,"./bn.js":9620,"./bo":9645,"./bo.js":9645,"./br":5020,"./br.js":5020,"./bs":4792,"./bs.js":4792,"./ca":7980,"./ca.js":7980,"./cs":7322,"./cs.js":7322,"./cv":365,"./cv.js":365,"./cy":2092,"./cy.js":2092,"./da":7387,"./da.js":7387,"./de":4307,"./de-at":9459,"./de-at.js":9459,"./de-ch":3694,"./de-ch.js":3694,"./de.js":4307,"./dv":9659,"./dv.js":9659,"./el":3460,"./el.js":3460,"./en-au":4369,"./en-au.js":4369,"./en-ca":530,"./en-ca.js":530,"./en-gb":9998,"./en-gb.js":9998,"./en-ie":3391,"./en-ie.js":3391,"./en-il":5414,"./en-il.js":5414,"./en-in":9615,"./en-in.js":9615,"./en-nz":1248,"./en-nz.js":1248,"./en-sg":3767,"./en-sg.js":3767,"./eo":4530,"./eo.js":4530,"./es":6866,"./es-do":8944,"./es-do.js":8944,"./es-mx":9116,"./es-mx.js":9116,"./es-us":3609,"./es-us.js":3609,"./es.js":6866,"./et":6725,"./et.js":6725,"./eu":7931,"./eu.js":7931,"./fa":6417,"./fa.js":6417,"./fi":944,"./fi.js":944,"./fil":1766,"./fil.js":1766,"./fo":5867,"./fo.js":5867,"./fr":1636,"./fr-ca":6848,"./fr-ca.js":6848,"./fr-ch":7773,"./fr-ch.js":7773,"./fr.js":1636,"./fy":4940,"./fy.js":4940,"./ga":1402,"./ga.js":1402,"./gd":6924,"./gd.js":6924,"./gl":6398,"./gl.js":6398,"./gom-deva":2457,"./gom-deva.js":2457,"./gom-latn":2545,"./gom-latn.js":2545,"./gu":2641,"./gu.js":2641,"./he":7536,"./he.js":7536,"./hi":6335,"./hi.js":6335,"./hr":7458,"./hr.js":7458,"./hu":6540,"./hu.js":6540,"./hy-am":5283,"./hy-am.js":5283,"./id":8780,"./id.js":8780,"./is":4205,"./is.js":4205,"./it":4211,"./it-ch":9985,"./it-ch.js":9985,"./it.js":4211,"./ja":1003,"./ja.js":1003,"./jv":420,"./jv.js":420,"./ka":851,"./ka.js":851,"./kk":6074,"./kk.js":6074,"./km":3343,"./km.js":3343,"./kn":4799,"./kn.js":4799,"./ko":3549,"./ko.js":3549,"./ku":1037,"./ku.js":1037,"./ky":3125,"./ky.js":3125,"./lb":9586,"./lb.js":9586,"./lo":2349,"./lo.js":2349,"./lt":2400,"./lt.js":2400,"./lv":9991,"./lv.js":9991,"./me":8477,"./me.js":8477,"./mi":5118,"./mi.js":5118,"./mk":5943,"./mk.js":5943,"./ml":3849,"./ml.js":3849,"./mn":1977,"./mn.js":1977,"./mr":6184,"./mr.js":6184,"./ms":485,"./ms-my":4524,"./ms-my.js":4524,"./ms.js":485,"./mt":6681,"./mt.js":6681,"./my":2024,"./my.js":2024,"./nb":2688,"./nb.js":2688,"./ne":8914,"./ne.js":8914,"./nl":1758,"./nl-be":2272,"./nl-be.js":2272,"./nl.js":1758,"./nn":1510,"./nn.js":1510,"./oc-lnc":2797,"./oc-lnc.js":2797,"./pa-in":7944,"./pa-in.js":7944,"./pl":1605,"./pl.js":1605,"./pt":4225,"./pt-br":3840,"./pt-br.js":3840,"./pt.js":4225,"./ro":5128,"./ro.js":5128,"./ru":5127,"./ru.js":5127,"./sd":2525,"./sd.js":2525,"./se":9893,"./se.js":9893,"./si":3123,"./si.js":3123,"./sk":3027,"./sk.js":3027,"./sl":8106,"./sl.js":8106,"./sq":8799,"./sq.js":8799,"./sr":7949,"./sr-cyrl":2872,"./sr-cyrl.js":2872,"./sr.js":7949,"./ss":6167,"./ss.js":6167,"./sv":9713,"./sv.js":9713,"./sw":1982,"./sw.js":1982,"./ta":2732,"./ta.js":2732,"./te":3636,"./te.js":3636,"./tet":2115,"./tet.js":2115,"./tg":9801,"./tg.js":9801,"./th":2868,"./th.js":2868,"./tk":1310,"./tk.js":1310,"./tl-ph":2360,"./tl-ph.js":2360,"./tlh":6645,"./tlh.js":6645,"./tr":8374,"./tr.js":8374,"./tzl":256,"./tzl.js":256,"./tzm":1595,"./tzm-latn":1631,"./tzm-latn.js":1631,"./tzm.js":1595,"./ug-cn":6050,"./ug-cn.js":6050,"./uk":5610,"./uk.js":5610,"./ur":6077,"./ur.js":6077,"./uz":2862,"./uz-latn":2207,"./uz-latn.js":2207,"./uz.js":2862,"./vi":8093,"./vi.js":8093,"./x-pseudo":5590,"./x-pseudo.js":5590,"./yo":9058,"./yo.js":9058,"./zh-cn":7908,"./zh-cn.js":7908,"./zh-hk":8867,"./zh-hk.js":8867,"./zh-mo":1133,"./zh-mo.js":1133,"./zh-tw":3291,"./zh-tw.js":3291};function m(b){var T=e(b);return C(T)}function e(b){if(!C.o(c,b)){var T=new Error("Cannot find module '"+b+"'");throw T.code="MODULE_NOT_FOUND",T}return c[b]}m.keys=function(){return Object.keys(c)},m.resolve=e,B.exports=m,m.id=6700},655:(B,U,C)=>{"use strict";function T(Ye,qe,ie,ke){var ri,mt=arguments.length,kt=mt<3?qe:null===ke?ke=Object.getOwnPropertyDescriptor(qe,ie):ke;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)kt=Reflect.decorate(Ye,qe,ie,ke);else for(var bt=Ye.length-1;bt>=0;bt--)(ri=Ye[bt])&&(kt=(mt<3?ri(kt):mt>3?ri(qe,ie,kt):ri(qe,ie))||kt);return mt>3&&kt&&Object.defineProperty(qe,ie,kt),kt}function V(Ye,qe,ie,ke){return new(ie||(ie=Promise))(function(kt,ri){function bt(Xe){try{ye(ke.next(Xe))}catch(Ae){ri(Ae)}}function Wt(Xe){try{ye(ke.throw(Xe))}catch(Ae){ri(Ae)}}function ye(Xe){Xe.done?kt(Xe.value):function mt(kt){return kt instanceof ie?kt:new ie(function(ri){ri(kt)})}(Xe.value).then(bt,Wt)}ye((ke=ke.apply(Ye,qe||[])).next())})}function le(Ye){return this instanceof le?(this.v=Ye,this):new le(Ye)}function Ne(Ye,qe,ie){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var mt,ke=ie.apply(Ye,qe||[]),kt=[];return mt={},ri("next"),ri("throw"),ri("return"),mt[Symbol.asyncIterator]=function(){return this},mt;function ri(he){ke[he]&&(mt[he]=function(nt){return new Promise(function(Yt,Lt){kt.push([he,nt,Yt,Lt])>1||bt(he,nt)})})}function bt(he,nt){try{!function Wt(he){he.value instanceof le?Promise.resolve(he.value.v).then(ye,Xe):Ae(kt[0][2],he)}(ke[he](nt))}catch(Yt){Ae(kt[0][3],Yt)}}function ye(he){bt("next",he)}function Xe(he){bt("throw",he)}function Ae(he,nt){he(nt),kt.shift(),kt.length&&bt(kt[0][0],kt[0][1])}}function jt(Ye){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ie,qe=Ye[Symbol.asyncIterator];return qe?qe.call(Ye):(Ye=function ce(Ye){var qe="function"==typeof Symbol&&Symbol.iterator,ie=qe&&Ye[qe],ke=0;if(ie)return ie.call(Ye);if(Ye&&"number"==typeof Ye.length)return{next:function(){return Ye&&ke>=Ye.length&&(Ye=void 0),{value:Ye&&Ye[ke++],done:!Ye}}};throw new TypeError(qe?"Object is not iterable.":"Symbol.iterator is not defined.")}(Ye),ie={},ke("next"),ke("throw"),ke("return"),ie[Symbol.asyncIterator]=function(){return this},ie);function ke(kt){ie[kt]=Ye[kt]&&function(ri){return new Promise(function(bt,Wt){!function mt(kt,ri,bt,Wt){Promise.resolve(Wt).then(function(ye){kt({value:ye,done:bt})},ri)}(bt,Wt,(ri=Ye[kt](ri)).done,ri.value)})}}}C.d(U,{FC:()=>Ne,KL:()=>jt,gn:()=>T,mG:()=>V,qq:()=>le})},1777:(B,U,C)=>{"use strict";C.d(U,{F4:()=>J,IO:()=>de,LC:()=>m,SB:()=>X,X$:()=>b,ZE:()=>yt,ZN:()=>Ne,_j:()=>c,eR:()=>ue,jt:()=>T,k1:()=>jt,l3:()=>e,oB:()=>V,pV:()=>Oe,ru:()=>k,vP:()=>F});class c{}class m{}const e="*";function b(st,Te){return{type:7,name:st,definitions:Te,options:{}}}function T(st,Te=null){return{type:4,styles:Te,timings:st}}function k(st,Te=null){return{type:3,steps:st,options:Te}}function F(st,Te=null){return{type:2,steps:st,options:Te}}function V(st){return{type:6,styles:st,offset:null}}function X(st,Te,Le){return{type:0,name:st,styles:Te,options:Le}}function J(st){return{type:5,steps:st}}function ue(st,Te,Le=null){return{type:1,expr:st,animation:Te,options:Le}}function Oe(st=null){return{type:9,options:st}}function de(st,Te,Le=null){return{type:11,selector:st,animation:Te,options:Le}}function le(st){Promise.resolve().then(st)}class Ne{constructor(Te=0,Le=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=Te+Le}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Te=>Te()),this._onDoneFns=[])}onStart(Te){this._originalOnStartFns.push(Te),this._onStartFns.push(Te)}onDone(Te){this._originalOnDoneFns.push(Te),this._onDoneFns.push(Te)}onDestroy(Te){this._onDestroyFns.push(Te)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){le(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(Te=>Te()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(Te=>Te()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(Te){this._position=this.totalTime?Te*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(Te){const Le="start"==Te?this._onStartFns:this._onDoneFns;Le.forEach(at=>at()),Le.length=0}}class yt{constructor(Te){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=Te;let Le=0,at=0,_e=0;const xt=this.players.length;0==xt?le(()=>this._onFinish()):this.players.forEach(tt=>{tt.onDone(()=>{++Le==xt&&this._onFinish()}),tt.onDestroy(()=>{++at==xt&&this._onDestroy()}),tt.onStart(()=>{++_e==xt&&this._onStart()})}),this.totalTime=this.players.reduce((tt,Ye)=>Math.max(tt,Ye.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Te=>Te()),this._onDoneFns=[])}init(){this.players.forEach(Te=>Te.init())}onStart(Te){this._onStartFns.push(Te)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(Te=>Te()),this._onStartFns=[])}onDone(Te){this._onDoneFns.push(Te)}onDestroy(Te){this._onDestroyFns.push(Te)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(Te=>Te.play())}pause(){this.players.forEach(Te=>Te.pause())}restart(){this.players.forEach(Te=>Te.restart())}finish(){this._onFinish(),this.players.forEach(Te=>Te.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(Te=>Te.destroy()),this._onDestroyFns.forEach(Te=>Te()),this._onDestroyFns=[])}reset(){this.players.forEach(Te=>Te.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(Te){const Le=Te*this.totalTime;this.players.forEach(at=>{const _e=at.totalTime?Math.min(1,Le/at.totalTime):1;at.setPosition(_e)})}getPosition(){const Te=this.players.reduce((Le,at)=>null===Le||at.totalTime>Le.totalTime?at:Le,null);return null!=Te?Te.getPosition():0}beforeDestroy(){this.players.forEach(Te=>{Te.beforeDestroy&&Te.beforeDestroy()})}triggerCallback(Te){const Le="start"==Te?this._onStartFns:this._onDoneFns;Le.forEach(at=>at()),Le.length=0}}const jt="!"},5664:(B,U,C)=>{"use strict";C.d(U,{$s:()=>Ye,Em:()=>kt,Kd:()=>Gt,X6:()=>Je,ic:()=>bt,kH:()=>xi,mK:()=>ut,qV:()=>Se,qm:()=>it,rt:()=>Qe,s1:()=>mt,tE:()=>Bi,yG:()=>Y});var c=C(9808),m=C(5e3),e=C(925),b=C(7579),T=C(727),k=C(1135),F=C(9646),V=C(1159),X=C(8505),J=C(8372),ue=C(9300),ce=C(4004),Oe=C(5698),Pe=C(5684),de=C(1884),Ge=C(2722),le=C(3191),Ne=C(7144),yt=C(5113);function Le(Re,We){return(Re.getAttribute(We)||"").match(/\S+/g)||[]}const _e="cdk-describedby-message",xt="cdk-describedby-host";let tt=0,Ye=(()=>{class Re{constructor(Ie,_t){this._platform=_t,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+tt++,this._document=Ie,this._id=(0,m.f3M)(m.AFp)+"-"+tt++}describe(Ie,_t,Dt){if(!this._canBeDescribed(Ie,_t))return;const si=qe(_t,Dt);"string"!=typeof _t?(ie(_t,this._id),this._messageRegistry.set(si,{messageElement:_t,referenceCount:0})):this._messageRegistry.has(si)||this._createMessageElement(_t,Dt),this._isElementDescribedByMessage(Ie,si)||this._addMessageReference(Ie,si)}removeDescription(Ie,_t,Dt){var si;if(!_t||!this._isElementNode(Ie))return;const Vi=qe(_t,Dt);if(this._isElementDescribedByMessage(Ie,Vi)&&this._removeMessageReference(Ie,Vi),"string"==typeof _t){const It=this._messageRegistry.get(Vi);It&&0===It.referenceCount&&this._deleteMessageElement(Vi)}0===(null===(si=this._messagesContainer)||void 0===si?void 0:si.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var Ie;const _t=this._document.querySelectorAll(`[${xt}="${this._id}"]`);for(let Dt=0;Dt<_t.length;Dt++)this._removeCdkDescribedByReferenceIds(_t[Dt]),_t[Dt].removeAttribute(xt);null===(Ie=this._messagesContainer)||void 0===Ie||Ie.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(Ie,_t){const Dt=this._document.createElement("div");ie(Dt,this._id),Dt.textContent=Ie,_t&&Dt.setAttribute("role",_t),this._createMessagesContainer(),this._messagesContainer.appendChild(Dt),this._messageRegistry.set(qe(Ie,_t),{messageElement:Dt,referenceCount:0})}_deleteMessageElement(Ie){var _t,Dt;null===(Dt=null===(_t=this._messageRegistry.get(Ie))||void 0===_t?void 0:_t.messageElement)||void 0===Dt||Dt.remove(),this._messageRegistry.delete(Ie)}_createMessagesContainer(){if(this._messagesContainer)return;const Ie="cdk-describedby-message-container",_t=this._document.querySelectorAll(`.${Ie}[platform="server"]`);for(let si=0;si<_t.length;si++)_t[si].remove();const Dt=this._document.createElement("div");Dt.style.visibility="hidden",Dt.classList.add(Ie),Dt.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&Dt.setAttribute("platform","server"),this._document.body.appendChild(Dt),this._messagesContainer=Dt}_removeCdkDescribedByReferenceIds(Ie){const _t=Le(Ie,"aria-describedby").filter(Dt=>0!=Dt.indexOf(_e));Ie.setAttribute("aria-describedby",_t.join(" "))}_addMessageReference(Ie,_t){const Dt=this._messageRegistry.get(_t);(function st(Re,We,Ie){const _t=Le(Re,We);_t.some(Dt=>Dt.trim()==Ie.trim())||(_t.push(Ie.trim()),Re.setAttribute(We,_t.join(" ")))})(Ie,"aria-describedby",Dt.messageElement.id),Ie.setAttribute(xt,this._id),Dt.referenceCount++}_removeMessageReference(Ie,_t){const Dt=this._messageRegistry.get(_t);Dt.referenceCount--,function Te(Re,We,Ie){const Dt=Le(Re,We).filter(si=>si!=Ie.trim());Dt.length?Re.setAttribute(We,Dt.join(" ")):Re.removeAttribute(We)}(Ie,"aria-describedby",Dt.messageElement.id),Ie.removeAttribute(xt)}_isElementDescribedByMessage(Ie,_t){const Dt=Le(Ie,"aria-describedby"),si=this._messageRegistry.get(_t),Vi=si&&si.messageElement.id;return!!Vi&&-1!=Dt.indexOf(Vi)}_canBeDescribed(Ie,_t){if(!this._isElementNode(Ie))return!1;if(_t&&"object"==typeof _t)return!0;const Dt=null==_t?"":`${_t}`.trim(),si=Ie.getAttribute("aria-label");return!(!Dt||si&&si.trim()===Dt)}_isElementNode(Ie){return Ie.nodeType===this._document.ELEMENT_NODE}}return Re.\u0275fac=function(Ie){return new(Ie||Re)(m.LFG(c.K0),m.LFG(e.t4))},Re.\u0275prov=m.Yz7({token:Re,factory:Re.\u0275fac,providedIn:"root"}),Re})();function qe(Re,We){return"string"==typeof Re?`${We||""}/${Re}`:Re}function ie(Re,We){Re.id||(Re.id=`${_e}-${We}-${tt++}`)}class ke{constructor(We){this._items=We,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new b.x,this._typeaheadSubscription=T.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=Ie=>Ie.disabled,this._pressedLetters=[],this.tabOut=new b.x,this.change=new b.x,We instanceof m.n_E&&We.changes.subscribe(Ie=>{if(this._activeItem){const Dt=Ie.toArray().indexOf(this._activeItem);Dt>-1&&Dt!==this._activeItemIndex&&(this._activeItemIndex=Dt)}})}skipPredicate(We){return this._skipPredicateFn=We,this}withWrap(We=!0){return this._wrap=We,this}withVerticalOrientation(We=!0){return this._vertical=We,this}withHorizontalOrientation(We){return this._horizontal=We,this}withAllowedModifierKeys(We){return this._allowedModifierKeys=We,this}withTypeAhead(We=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,X.b)(Ie=>this._pressedLetters.push(Ie)),(0,J.b)(We),(0,ue.h)(()=>this._pressedLetters.length>0),(0,ce.U)(()=>this._pressedLetters.join(""))).subscribe(Ie=>{const _t=this._getItemsArray();for(let Dt=1;Dt<_t.length+1;Dt++){const si=(this._activeItemIndex+Dt)%_t.length,Vi=_t[si];if(!this._skipPredicateFn(Vi)&&0===Vi.getLabel().toUpperCase().trim().indexOf(Ie)){this.setActiveItem(si);break}}this._pressedLetters=[]}),this}withHomeAndEnd(We=!0){return this._homeAndEnd=We,this}setActiveItem(We){const Ie=this._activeItem;this.updateActiveItem(We),this._activeItem!==Ie&&this.change.next(this._activeItemIndex)}onKeydown(We){const Ie=We.keyCode,Dt=["altKey","ctrlKey","metaKey","shiftKey"].every(si=>!We[si]||this._allowedModifierKeys.indexOf(si)>-1);switch(Ie){case V.Mf:return void this.tabOut.next();case V.JH:if(this._vertical&&Dt){this.setNextItemActive();break}return;case V.LH:if(this._vertical&&Dt){this.setPreviousItemActive();break}return;case V.SV:if(this._horizontal&&Dt){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case V.oh:if(this._horizontal&&Dt){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case V.Sd:if(this._homeAndEnd&&Dt){this.setFirstItemActive();break}return;case V.uR:if(this._homeAndEnd&&Dt){this.setLastItemActive();break}return;default:return void((Dt||(0,V.Vb)(We,"shiftKey"))&&(We.key&&1===We.key.length?this._letterKeyStream.next(We.key.toLocaleUpperCase()):(Ie>=V.A&&Ie<=V.Z||Ie>=V.xE&&Ie<=V.aO)&&this._letterKeyStream.next(String.fromCharCode(Ie))))}this._pressedLetters=[],We.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(We){const Ie=this._getItemsArray(),_t="number"==typeof We?We:Ie.indexOf(We),Dt=Ie[_t];this._activeItem=null==Dt?null:Dt,this._activeItemIndex=_t}_setActiveItemByDelta(We){this._wrap?this._setActiveInWrapMode(We):this._setActiveInDefaultMode(We)}_setActiveInWrapMode(We){const Ie=this._getItemsArray();for(let _t=1;_t<=Ie.length;_t++){const Dt=(this._activeItemIndex+We*_t+Ie.length)%Ie.length;if(!this._skipPredicateFn(Ie[Dt]))return void this.setActiveItem(Dt)}}_setActiveInDefaultMode(We){this._setActiveItemByIndex(this._activeItemIndex+We,We)}_setActiveItemByIndex(We,Ie){const _t=this._getItemsArray();if(_t[We]){for(;this._skipPredicateFn(_t[We]);)if(!_t[We+=Ie])return;this.setActiveItem(We)}}_getItemsArray(){return this._items instanceof m.n_E?this._items.toArray():this._items}}class mt extends ke{setActiveItem(We){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(We),this.activeItem&&this.activeItem.setActiveStyles()}}class kt extends ke{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(We){return this._origin=We,this}setActiveItem(We){super.setActiveItem(We),this.activeItem&&this.activeItem.focus(this._origin)}}let bt=(()=>{class Re{constructor(Ie){this._platform=Ie}isDisabled(Ie){return Ie.hasAttribute("disabled")}isVisible(Ie){return function ye(Re){return!!(Re.offsetWidth||Re.offsetHeight||"function"==typeof Re.getClientRects&&Re.getClientRects().length)}(Ie)&&"visible"===getComputedStyle(Ie).visibility}isTabbable(Ie){if(!this._platform.isBrowser)return!1;const _t=function Wt(Re){try{return Re.frameElement}catch(We){return null}}(function ne(Re){return Re.ownerDocument&&Re.ownerDocument.defaultView||window}(Ie));if(_t&&(-1===Ai(_t)||!this.isVisible(_t)))return!1;let Dt=Ie.nodeName.toLowerCase(),si=Ai(Ie);return Ie.hasAttribute("contenteditable")?-1!==si:!("iframe"===Dt||"object"===Dt||this._platform.WEBKIT&&this._platform.IOS&&!function ei(Re){let We=Re.nodeName.toLowerCase(),Ie="input"===We&&Re.type;return"text"===Ie||"password"===Ie||"select"===We||"textarea"===We}(Ie))&&("audio"===Dt?!!Ie.hasAttribute("controls")&&-1!==si:"video"===Dt?-1!==si&&(null!==si||this._platform.FIREFOX||Ie.hasAttribute("controls")):Ie.tabIndex>=0)}isFocusable(Ie,_t){return function hi(Re){return!function Ae(Re){return function nt(Re){return"input"==Re.nodeName.toLowerCase()}(Re)&&"hidden"==Re.type}(Re)&&(function Xe(Re){let We=Re.nodeName.toLowerCase();return"input"===We||"select"===We||"button"===We||"textarea"===We}(Re)||function he(Re){return function Yt(Re){return"a"==Re.nodeName.toLowerCase()}(Re)&&Re.hasAttribute("href")}(Re)||Re.hasAttribute("contenteditable")||Lt(Re))}(Ie)&&!this.isDisabled(Ie)&&((null==_t?void 0:_t.ignoreVisibility)||this.isVisible(Ie))}}return Re.\u0275fac=function(Ie){return new(Ie||Re)(m.LFG(e.t4))},Re.\u0275prov=m.Yz7({token:Re,factory:Re.\u0275fac,providedIn:"root"}),Re})();function Lt(Re){if(!Re.hasAttribute("tabindex")||void 0===Re.tabIndex)return!1;let We=Re.getAttribute("tabindex");return!(!We||isNaN(parseInt(We,10)))}function Ai(Re){if(!Lt(Re))return null;const We=parseInt(Re.getAttribute("tabindex")||"",10);return isNaN(We)?-1:We}class Tt{constructor(We,Ie,_t,Dt,si=!1){this._element=We,this._checker=Ie,this._ngZone=_t,this._document=Dt,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,si||this.attachAnchors()}get enabled(){return this._enabled}set enabled(We){this._enabled=We,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(We,this._startAnchor),this._toggleAnchorTabIndex(We,this._endAnchor))}destroy(){const We=this._startAnchor,Ie=this._endAnchor;We&&(We.removeEventListener("focus",this.startAnchorListener),We.remove()),Ie&&(Ie.removeEventListener("focus",this.endAnchorListener),Ie.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(We){return new Promise(Ie=>{this._executeOnStable(()=>Ie(this.focusInitialElement(We)))})}focusFirstTabbableElementWhenReady(We){return new Promise(Ie=>{this._executeOnStable(()=>Ie(this.focusFirstTabbableElement(We)))})}focusLastTabbableElementWhenReady(We){return new Promise(Ie=>{this._executeOnStable(()=>Ie(this.focusLastTabbableElement(We)))})}_getRegionBoundary(We){const Ie=this._element.querySelectorAll(`[cdk-focus-region-${We}], [cdkFocusRegion${We}], [cdk-focus-${We}]`);return"start"==We?Ie.length?Ie[0]:this._getFirstTabbableElement(this._element):Ie.length?Ie[Ie.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(We){const Ie=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(Ie){if(!this._checker.isFocusable(Ie)){const _t=this._getFirstTabbableElement(Ie);return null==_t||_t.focus(We),!!_t}return Ie.focus(We),!0}return this.focusFirstTabbableElement(We)}focusFirstTabbableElement(We){const Ie=this._getRegionBoundary("start");return Ie&&Ie.focus(We),!!Ie}focusLastTabbableElement(We){const Ie=this._getRegionBoundary("end");return Ie&&Ie.focus(We),!!Ie}hasAttached(){return this._hasAttached}_getFirstTabbableElement(We){if(this._checker.isFocusable(We)&&this._checker.isTabbable(We))return We;const Ie=We.children;for(let _t=0;_t=0;_t--){const Dt=Ie[_t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(Ie[_t]):null;if(Dt)return Dt}return null}_createAnchor(){const We=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,We),We.classList.add("cdk-visually-hidden"),We.classList.add("cdk-focus-trap-anchor"),We.setAttribute("aria-hidden","true"),We}_toggleAnchorTabIndex(We,Ie){We?Ie.setAttribute("tabindex","0"):Ie.removeAttribute("tabindex")}toggleAnchors(We){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(We,this._startAnchor),this._toggleAnchorTabIndex(We,this._endAnchor))}_executeOnStable(We){this._ngZone.isStable?We():this._ngZone.onStable.pipe((0,Oe.q)(1)).subscribe(We)}}let Se=(()=>{class Re{constructor(Ie,_t,Dt){this._checker=Ie,this._ngZone=_t,this._document=Dt}create(Ie,_t=!1){return new Tt(Ie,this._checker,this._ngZone,this._document,_t)}}return Re.\u0275fac=function(Ie){return new(Ie||Re)(m.LFG(bt),m.LFG(m.R0b),m.LFG(c.K0))},Re.\u0275prov=m.Yz7({token:Re,factory:Re.\u0275fac,providedIn:"root"}),Re})(),ut=(()=>{class Re{constructor(Ie,_t,Dt){this._elementRef=Ie,this._focusTrapFactory=_t,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(Ie){this.focusTrap.enabled=(0,le.Ig)(Ie)}get autoCapture(){return this._autoCapture}set autoCapture(Ie){this._autoCapture=(0,le.Ig)(Ie)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(Ie){const _t=Ie.autoCapture;_t&&!_t.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,e.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return Re.\u0275fac=function(Ie){return new(Ie||Re)(m.Y36(m.SBq),m.Y36(Se),m.Y36(c.K0))},Re.\u0275dir=m.lG2({type:Re,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[m.TTD]}),Re})();function Je(Re){return 0===Re.buttons||0===Re.offsetX&&0===Re.offsetY}function Y(Re){const We=Re.touches&&Re.touches[0]||Re.changedTouches&&Re.changedTouches[0];return!(!We||-1!==We.identifier||null!=We.radiusX&&1!==We.radiusX||null!=We.radiusY&&1!==We.radiusY)}const ee=new m.OlP("cdk-input-modality-detector-options"),A={ignoreKeys:[V.zL,V.jx,V.b2,V.MW,V.JU]},Fe=(0,e.i$)({passive:!0,capture:!0});let we=(()=>{class Re{constructor(Ie,_t,Dt,si){this._platform=Ie,this._mostRecentTarget=null,this._modality=new k.X(null),this._lastTouchMs=0,this._onKeydown=Vi=>{var It,ci;null!==(ci=null===(It=this._options)||void 0===It?void 0:It.ignoreKeys)&&void 0!==ci&&ci.some(Ee=>Ee===Vi.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,e.sA)(Vi))},this._onMousedown=Vi=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Je(Vi)?"keyboard":"mouse"),this._mostRecentTarget=(0,e.sA)(Vi))},this._onTouchstart=Vi=>{Y(Vi)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,e.sA)(Vi))},this._options=Object.assign(Object.assign({},A),si),this.modalityDetected=this._modality.pipe((0,Pe.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,de.x)()),Ie.isBrowser&&_t.runOutsideAngular(()=>{Dt.addEventListener("keydown",this._onKeydown,Fe),Dt.addEventListener("mousedown",this._onMousedown,Fe),Dt.addEventListener("touchstart",this._onTouchstart,Fe)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Fe),document.removeEventListener("mousedown",this._onMousedown,Fe),document.removeEventListener("touchstart",this._onTouchstart,Fe))}}return Re.\u0275fac=function(Ie){return new(Ie||Re)(m.LFG(e.t4),m.LFG(m.R0b),m.LFG(c.K0),m.LFG(ee,8))},Re.\u0275prov=m.Yz7({token:Re,factory:Re.\u0275fac,providedIn:"root"}),Re})();const De=new m.OlP("liveAnnouncerElement",{providedIn:"root",factory:function ct(){return null}}),Et=new m.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Gt=(()=>{class Re{constructor(Ie,_t,Dt,si){this._ngZone=_t,this._defaultOptions=si,this._document=Dt,this._liveElement=Ie||this._createLiveElement()}announce(Ie,..._t){const Dt=this._defaultOptions;let si,Vi;return 1===_t.length&&"number"==typeof _t[0]?Vi=_t[0]:[si,Vi]=_t,this.clear(),clearTimeout(this._previousTimeout),si||(si=Dt&&Dt.politeness?Dt.politeness:"polite"),null==Vi&&Dt&&(Vi=Dt.duration),this._liveElement.setAttribute("aria-live",si),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(It=>this._currentResolve=It)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=Ie,"number"==typeof Vi&&(this._previousTimeout=setTimeout(()=>this.clear(),Vi)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var Ie,_t;clearTimeout(this._previousTimeout),null===(Ie=this._liveElement)||void 0===Ie||Ie.remove(),this._liveElement=null,null===(_t=this._currentResolve)||void 0===_t||_t.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const Ie="cdk-live-announcer-element",_t=this._document.getElementsByClassName(Ie),Dt=this._document.createElement("div");for(let si=0;si<_t.length;si++)_t[si].remove();return Dt.classList.add(Ie),Dt.classList.add("cdk-visually-hidden"),Dt.setAttribute("aria-atomic","true"),Dt.setAttribute("aria-live","polite"),this._document.body.appendChild(Dt),Dt}}return Re.\u0275fac=function(Ie){return new(Ie||Re)(m.LFG(De,8),m.LFG(m.R0b),m.LFG(c.K0),m.LFG(Et,8))},Re.\u0275prov=m.Yz7({token:Re,factory:Re.\u0275fac,providedIn:"root"}),Re})();const di=new m.OlP("cdk-focus-monitor-default-options"),zt=(0,e.i$)({passive:!0,capture:!0});let Bi=(()=>{class Re{constructor(Ie,_t,Dt,si,Vi){this._ngZone=Ie,this._platform=_t,this._inputModalityDetector=Dt,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new b.x,this._rootNodeFocusAndBlurListener=It=>{for(let Ee=(0,e.sA)(It);Ee;Ee=Ee.parentElement)"focus"===It.type?this._onFocus(It,Ee):this._onBlur(It,Ee)},this._document=si,this._detectionMode=(null==Vi?void 0:Vi.detectionMode)||0}monitor(Ie,_t=!1){const Dt=(0,le.fI)(Ie);if(!this._platform.isBrowser||1!==Dt.nodeType)return(0,F.of)(null);const si=(0,e.kV)(Dt)||this._getDocument(),Vi=this._elementInfo.get(Dt);if(Vi)return _t&&(Vi.checkChildren=!0),Vi.subject;const It={checkChildren:_t,subject:new b.x,rootNode:si};return this._elementInfo.set(Dt,It),this._registerGlobalListeners(It),It.subject}stopMonitoring(Ie){const _t=(0,le.fI)(Ie),Dt=this._elementInfo.get(_t);Dt&&(Dt.subject.complete(),this._setClasses(_t),this._elementInfo.delete(_t),this._removeGlobalListeners(Dt))}focusVia(Ie,_t,Dt){const si=(0,le.fI)(Ie);si===this._getDocument().activeElement?this._getClosestElementsInfo(si).forEach(([It,ci])=>this._originChanged(It,_t,ci)):(this._setOrigin(_t),"function"==typeof si.focus&&si.focus(Dt))}ngOnDestroy(){this._elementInfo.forEach((Ie,_t)=>this.stopMonitoring(_t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(Ie){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(Ie)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:Ie&&this._isLastInteractionFromInputLabel(Ie)?"mouse":"program"}_shouldBeAttributedToTouch(Ie){return 1===this._detectionMode||!(null==Ie||!Ie.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(Ie,_t){Ie.classList.toggle("cdk-focused",!!_t),Ie.classList.toggle("cdk-touch-focused","touch"===_t),Ie.classList.toggle("cdk-keyboard-focused","keyboard"===_t),Ie.classList.toggle("cdk-mouse-focused","mouse"===_t),Ie.classList.toggle("cdk-program-focused","program"===_t)}_setOrigin(Ie,_t=!1){this._ngZone.runOutsideAngular(()=>{this._origin=Ie,this._originFromTouchInteraction="touch"===Ie&&_t,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(Ie,_t){const Dt=this._elementInfo.get(_t),si=(0,e.sA)(Ie);!Dt||!Dt.checkChildren&&_t!==si||this._originChanged(_t,this._getFocusOrigin(si),Dt)}_onBlur(Ie,_t){const Dt=this._elementInfo.get(_t);!Dt||Dt.checkChildren&&Ie.relatedTarget instanceof Node&&_t.contains(Ie.relatedTarget)||(this._setClasses(_t),this._emitOrigin(Dt,null))}_emitOrigin(Ie,_t){Ie.subject.observers.length&&this._ngZone.run(()=>Ie.subject.next(_t))}_registerGlobalListeners(Ie){if(!this._platform.isBrowser)return;const _t=Ie.rootNode,Dt=this._rootNodeFocusListenerCount.get(_t)||0;Dt||this._ngZone.runOutsideAngular(()=>{_t.addEventListener("focus",this._rootNodeFocusAndBlurListener,zt),_t.addEventListener("blur",this._rootNodeFocusAndBlurListener,zt)}),this._rootNodeFocusListenerCount.set(_t,Dt+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,Ge.R)(this._stopInputModalityDetector)).subscribe(si=>{this._setOrigin(si,!0)}))}_removeGlobalListeners(Ie){const _t=Ie.rootNode;if(this._rootNodeFocusListenerCount.has(_t)){const Dt=this._rootNodeFocusListenerCount.get(_t);Dt>1?this._rootNodeFocusListenerCount.set(_t,Dt-1):(_t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,zt),_t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,zt),this._rootNodeFocusListenerCount.delete(_t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(Ie,_t,Dt){this._setClasses(Ie,_t),this._emitOrigin(Dt,_t),this._lastFocusOrigin=_t}_getClosestElementsInfo(Ie){const _t=[];return this._elementInfo.forEach((Dt,si)=>{(si===Ie||Dt.checkChildren&&si.contains(Ie))&&_t.push([si,Dt])}),_t}_isLastInteractionFromInputLabel(Ie){const{_mostRecentTarget:_t,mostRecentModality:Dt}=this._inputModalityDetector;if("mouse"!==Dt||!_t||_t===Ie||"INPUT"!==Ie.nodeName&&"TEXTAREA"!==Ie.nodeName||Ie.disabled)return!1;const si=Ie.labels;if(si)for(let Vi=0;Vi{class Re{constructor(Ie,_t){this._elementRef=Ie,this._focusMonitor=_t,this._focusOrigin=null,this.cdkFocusChange=new m.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const Ie=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(Ie,1===Ie.nodeType&&Ie.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(_t=>{this._focusOrigin=_t,this.cdkFocusChange.emit(_t)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return Re.\u0275fac=function(Ie){return new(Ie||Re)(m.Y36(m.SBq),m.Y36(Bi))},Re.\u0275dir=m.lG2({type:Re,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),Re})();const $n="cdk-high-contrast-black-on-white",Hi="cdk-high-contrast-white-on-black",ht="cdk-high-contrast-active";let it=(()=>{class Re{constructor(Ie,_t){this._platform=Ie,this._document=_t,this._breakpointSubscription=(0,m.f3M)(yt.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const Ie=this._document.createElement("div");Ie.style.backgroundColor="rgb(1,2,3)",Ie.style.position="absolute",this._document.body.appendChild(Ie);const _t=this._document.defaultView||window,Dt=_t&&_t.getComputedStyle?_t.getComputedStyle(Ie):null,si=(Dt&&Dt.backgroundColor||"").replace(/ /g,"");switch(Ie.remove(),si){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const Ie=this._document.body.classList;Ie.remove(ht,$n,Hi),this._hasCheckedHighContrastMode=!0;const _t=this.getHighContrastMode();1===_t?Ie.add(ht,$n):2===_t&&Ie.add(ht,Hi)}}}return Re.\u0275fac=function(Ie){return new(Ie||Re)(m.LFG(e.t4),m.LFG(c.K0))},Re.\u0275prov=m.Yz7({token:Re,factory:Re.\u0275fac,providedIn:"root"}),Re})(),Qe=(()=>{class Re{constructor(Ie){Ie._applyBodyHighContrastModeCssClasses()}}return Re.\u0275fac=function(Ie){return new(Ie||Re)(m.LFG(it))},Re.\u0275mod=m.oAB({type:Re}),Re.\u0275inj=m.cJS({imports:[Ne.Q8]}),Re})()},226:(B,U,C)=>{"use strict";C.d(U,{Is:()=>F,vT:()=>X});var c=C(5e3),m=C(9808);const e=new c.OlP("cdk-dir-doc",{providedIn:"root",factory:function b(){return(0,c.f3M)(m.K0)}}),T=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let F=(()=>{class J{constructor(ce){if(this.value="ltr",this.change=new c.vpe,ce){const Pe=ce.documentElement?ce.documentElement.dir:null;this.value=function k(J){const ue=(null==J?void 0:J.toLowerCase())||"";return"auto"===ue&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?T.test(navigator.language)?"rtl":"ltr":"rtl"===ue?"rtl":"ltr"}((ce.body?ce.body.dir:null)||Pe||"ltr")}}ngOnDestroy(){this.change.complete()}}return J.\u0275fac=function(ce){return new(ce||J)(c.LFG(e,8))},J.\u0275prov=c.Yz7({token:J,factory:J.\u0275fac,providedIn:"root"}),J})(),X=(()=>{class J{}return J.\u0275fac=function(ce){return new(ce||J)},J.\u0275mod=c.oAB({type:J}),J.\u0275inj=c.cJS({}),J})()},3191:(B,U,C)=>{"use strict";C.d(U,{Eq:()=>T,HM:()=>k,Ig:()=>m,du:()=>V,fI:()=>F,su:()=>e});var c=C(5e3);function m(X){return null!=X&&"false"!=`${X}`}function e(X,J=0){return function b(X){return!isNaN(parseFloat(X))&&!isNaN(Number(X))}(X)?Number(X):J}function T(X){return Array.isArray(X)?X:[X]}function k(X){return null==X?"":"string"==typeof X?X:`${X}px`}function F(X){return X instanceof c.SBq?X.nativeElement:X}function V(X,J=/\s+/){const ue=[];if(null!=X){const ce=Array.isArray(X)?X:`${X}`.split(J);for(const Oe of ce){const Pe=`${Oe}`.trim();Pe&&ue.push(Pe)}}return ue}},449:(B,U,C)=>{"use strict";C.d(U,{A8:()=>ue,Ov:()=>X,Z9:()=>T,eX:()=>V,k:()=>ce,o2:()=>b,yy:()=>F});var c=C(4033),m=C(7579),e=C(5e3);class b{}function T(Oe){return Oe&&"function"==typeof Oe.connect&&!(Oe instanceof c.c)}class F{applyChanges(Pe,de,Ge,le,Ne){Pe.forEachOperation((yt,jt,st)=>{let Te,Le;if(null==yt.previousIndex){const at=Ge(yt,jt,st);Te=de.createEmbeddedView(at.templateRef,at.context,at.index),Le=1}else null==st?(de.remove(jt),Le=3):(Te=de.get(jt),de.move(Te,st),Le=2);Ne&&Ne({context:null==Te?void 0:Te.context,operation:Le,record:yt})})}detach(){}}class V{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(Pe,de,Ge,le,Ne){Pe.forEachOperation((yt,jt,st)=>{let Te,Le;null==yt.previousIndex?(Te=this._insertView(()=>Ge(yt,jt,st),st,de,le(yt)),Le=Te?1:0):null==st?(this._detachAndCacheView(jt,de),Le=3):(Te=this._moveView(jt,st,de,le(yt)),Le=2),Ne&&Ne({context:null==Te?void 0:Te.context,operation:Le,record:yt})})}detach(){for(const Pe of this._viewCache)Pe.destroy();this._viewCache=[]}_insertView(Pe,de,Ge,le){const Ne=this._insertViewFromCache(de,Ge);if(Ne)return void(Ne.context.$implicit=le);const yt=Pe();return Ge.createEmbeddedView(yt.templateRef,yt.context,yt.index)}_detachAndCacheView(Pe,de){const Ge=de.detach(Pe);this._maybeCacheView(Ge,de)}_moveView(Pe,de,Ge,le){const Ne=Ge.get(Pe);return Ge.move(Ne,de),Ne.context.$implicit=le,Ne}_maybeCacheView(Pe,de){if(this._viewCache.lengththis._markSelected(Ne)):this._markSelected(de[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...Pe){this._verifyValueAssignment(Pe),Pe.forEach(Ge=>this._markSelected(Ge));const de=this._hasQueuedChanges();return this._emitChangeEvent(),de}deselect(...Pe){this._verifyValueAssignment(Pe),Pe.forEach(Ge=>this._unmarkSelected(Ge));const de=this._hasQueuedChanges();return this._emitChangeEvent(),de}setSelection(...Pe){this._verifyValueAssignment(Pe);const de=this.selected,Ge=new Set(Pe);Pe.forEach(Ne=>this._markSelected(Ne)),de.filter(Ne=>!Ge.has(Ne)).forEach(Ne=>this._unmarkSelected(Ne));const le=this._hasQueuedChanges();return this._emitChangeEvent(),le}toggle(Pe){return this.isSelected(Pe)?this.deselect(Pe):this.select(Pe)}clear(Pe=!0){this._unmarkAll();const de=this._hasQueuedChanges();return Pe&&this._emitChangeEvent(),de}isSelected(Pe){if(this.compareWith){for(const de of this._selection)if(this.compareWith(de,Pe))return!0;return!1}return this._selection.has(Pe)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(Pe){this._multiple&&this.selected&&this._selected.sort(Pe)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(Pe){this.isSelected(Pe)||(this._multiple||this._unmarkAll(),this.isSelected(Pe)||this._selection.add(Pe),this._emitChanges&&this._selectedToEmit.push(Pe))}_unmarkSelected(Pe){this.isSelected(Pe)&&(this._selection.delete(Pe),this._emitChanges&&this._deselectedToEmit.push(Pe))}_unmarkAll(){this.isEmpty()||this._selection.forEach(Pe=>this._unmarkSelected(Pe))}_verifyValueAssignment(Pe){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}}let ue=(()=>{class Oe{constructor(){this._listeners=[]}notify(de,Ge){for(let le of this._listeners)le(de,Ge)}listen(de){return this._listeners.push(de),()=>{this._listeners=this._listeners.filter(Ge=>de!==Ge)}}ngOnDestroy(){this._listeners=[]}}return Oe.\u0275fac=function(de){return new(de||Oe)},Oe.\u0275prov=e.Yz7({token:Oe,factory:Oe.\u0275fac,providedIn:"root"}),Oe})();const ce=new e.OlP("_ViewRepeater")},1159:(B,U,C)=>{"use strict";C.d(U,{A:()=>Ae,JH:()=>jt,JU:()=>k,K5:()=>T,Ku:()=>Oe,LH:()=>Ne,L_:()=>ce,MW:()=>Et,Mf:()=>e,SV:()=>yt,Sd:()=>Ge,VM:()=>Pe,Vb:()=>Yn,Z:()=>ct,ZH:()=>m,aO:()=>ri,b2:()=>No,hY:()=>ue,jx:()=>F,oh:()=>le,uR:()=>de,xE:()=>_e,yY:()=>at,zL:()=>V});const m=8,e=9,T=13,k=16,F=17,V=18,ue=27,ce=32,Oe=33,Pe=34,de=35,Ge=36,le=37,Ne=38,yt=39,jt=40,at=46,_e=48,ri=57,Ae=65,ct=90,Et=91,No=224;function Yn(Ba,...sr){return sr.length?sr.some(Un=>Ba[Un]):Ba.altKey||Ba.shiftKey||Ba.ctrlKey||Ba.metaKey}},5113:(B,U,C)=>{"use strict";C.d(U,{Yg:()=>jt,u3:()=>Te});var c=C(5e3),m=C(3191),e=C(7579),b=C(9841),T=C(7272),k=C(9751),F=C(5698),V=C(5684),X=C(8372),J=C(4004),ue=C(8675),ce=C(2722),Oe=C(925);const de=new Set;let Ge,le=(()=>{class Le{constructor(_e){this._platform=_e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):yt}matchMedia(_e){return(this._platform.WEBKIT||this._platform.BLINK)&&function Ne(Le){if(!de.has(Le))try{Ge||(Ge=document.createElement("style"),Ge.setAttribute("type","text/css"),document.head.appendChild(Ge)),Ge.sheet&&(Ge.sheet.insertRule(`@media ${Le} {body{ }}`,0),de.add(Le))}catch(at){console.error(at)}}(_e),this._matchMedia(_e)}}return Le.\u0275fac=function(_e){return new(_e||Le)(c.LFG(Oe.t4))},Le.\u0275prov=c.Yz7({token:Le,factory:Le.\u0275fac,providedIn:"root"}),Le})();function yt(Le){return{matches:"all"===Le||""===Le,media:Le,addListener:()=>{},removeListener:()=>{}}}let jt=(()=>{class Le{constructor(_e,xt){this._mediaMatcher=_e,this._zone=xt,this._queries=new Map,this._destroySubject=new e.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(_e){return st((0,m.Eq)(_e)).some(tt=>this._registerQuery(tt).mql.matches)}observe(_e){const tt=st((0,m.Eq)(_e)).map(qe=>this._registerQuery(qe).observable);let Ye=(0,b.a)(tt);return Ye=(0,T.z)(Ye.pipe((0,F.q)(1)),Ye.pipe((0,V.T)(1),(0,X.b)(0))),Ye.pipe((0,J.U)(qe=>{const ie={matches:!1,breakpoints:{}};return qe.forEach(({matches:ke,query:mt})=>{ie.matches=ie.matches||ke,ie.breakpoints[mt]=ke}),ie}))}_registerQuery(_e){if(this._queries.has(_e))return this._queries.get(_e);const xt=this._mediaMatcher.matchMedia(_e),Ye={observable:new k.y(qe=>{const ie=ke=>this._zone.run(()=>qe.next(ke));return xt.addListener(ie),()=>{xt.removeListener(ie)}}).pipe((0,ue.O)(xt),(0,J.U)(({matches:qe})=>({query:_e,matches:qe})),(0,ce.R)(this._destroySubject)),mql:xt};return this._queries.set(_e,Ye),Ye}}return Le.\u0275fac=function(_e){return new(_e||Le)(c.LFG(le),c.LFG(c.R0b))},Le.\u0275prov=c.Yz7({token:Le,factory:Le.\u0275fac,providedIn:"root"}),Le})();function st(Le){return Le.map(at=>at.split(",")).reduce((at,_e)=>at.concat(_e)).map(at=>at.trim())}const Te={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},7144:(B,U,C)=>{"use strict";C.d(U,{Q8:()=>X,wD:()=>V});var c=C(3191),m=C(5e3),e=C(9751),b=C(7579),T=C(8372);let k=(()=>{class J{create(ce){return"undefined"==typeof MutationObserver?null:new MutationObserver(ce)}}return J.\u0275fac=function(ce){return new(ce||J)},J.\u0275prov=m.Yz7({token:J,factory:J.\u0275fac,providedIn:"root"}),J})(),F=(()=>{class J{constructor(ce){this._mutationObserverFactory=ce,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((ce,Oe)=>this._cleanupObserver(Oe))}observe(ce){const Oe=(0,c.fI)(ce);return new e.y(Pe=>{const Ge=this._observeElement(Oe).subscribe(Pe);return()=>{Ge.unsubscribe(),this._unobserveElement(Oe)}})}_observeElement(ce){if(this._observedElements.has(ce))this._observedElements.get(ce).count++;else{const Oe=new b.x,Pe=this._mutationObserverFactory.create(de=>Oe.next(de));Pe&&Pe.observe(ce,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(ce,{observer:Pe,stream:Oe,count:1})}return this._observedElements.get(ce).stream}_unobserveElement(ce){this._observedElements.has(ce)&&(this._observedElements.get(ce).count--,this._observedElements.get(ce).count||this._cleanupObserver(ce))}_cleanupObserver(ce){if(this._observedElements.has(ce)){const{observer:Oe,stream:Pe}=this._observedElements.get(ce);Oe&&Oe.disconnect(),Pe.complete(),this._observedElements.delete(ce)}}}return J.\u0275fac=function(ce){return new(ce||J)(m.LFG(k))},J.\u0275prov=m.Yz7({token:J,factory:J.\u0275fac,providedIn:"root"}),J})(),V=(()=>{class J{constructor(ce,Oe,Pe){this._contentObserver=ce,this._elementRef=Oe,this._ngZone=Pe,this.event=new m.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(ce){this._disabled=(0,c.Ig)(ce),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(ce){this._debounce=(0,c.su)(ce),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const ce=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?ce.pipe((0,T.b)(this.debounce)):ce).subscribe(this.event)})}_unsubscribe(){var ce;null===(ce=this._currentSubscription)||void 0===ce||ce.unsubscribe()}}return J.\u0275fac=function(ce){return new(ce||J)(m.Y36(F),m.Y36(m.SBq),m.Y36(m.R0b))},J.\u0275dir=m.lG2({type:J,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),J})(),X=(()=>{class J{}return J.\u0275fac=function(ce){return new(ce||J)},J.\u0275mod=m.oAB({type:J}),J.\u0275inj=m.cJS({providers:[k]}),J})()},1314:(B,U,C)=>{"use strict";C.d(U,{Iu:()=>ie,U8:()=>ai,X_:()=>at,Xj:()=>ke,_G:()=>ri,aV:()=>ne,pI:()=>ni,xu:()=>ut});var c=C(9071),m=C(9808),e=C(5e3),b=C(3191),T=C(925),k=C(226),F=C(7429),V=C(7579),X=C(727),J=C(6451),ue=C(5698),ce=C(2722),Oe=C(2529),Pe=C(1159);const de=(0,T.Mq)();class Ge{constructor(Y,ee){this._viewportRuler=Y,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=ee}attach(){}enable(){if(this._canBeEnabled()){const Y=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=Y.style.left||"",this._previousHTMLStyles.top=Y.style.top||"",Y.style.left=(0,b.HM)(-this._previousScrollPosition.left),Y.style.top=(0,b.HM)(-this._previousScrollPosition.top),Y.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const Y=this._document.documentElement,A=Y.style,et=this._document.body.style,Fe=A.scrollBehavior||"",we=et.scrollBehavior||"";this._isEnabled=!1,A.left=this._previousHTMLStyles.left,A.top=this._previousHTMLStyles.top,Y.classList.remove("cdk-global-scrollblock"),de&&(A.scrollBehavior=et.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),de&&(A.scrollBehavior=Fe,et.scrollBehavior=we)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const ee=this._document.body,A=this._viewportRuler.getViewportSize();return ee.scrollHeight>A.height||ee.scrollWidth>A.width}}class Ne{constructor(Y,ee,A,et){this._scrollDispatcher=Y,this._ngZone=ee,this._viewportRuler=A,this._config=et,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(Y){this._overlayRef=Y}enable(){if(this._scrollSubscription)return;const Y=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=Y.subscribe(()=>{const ee=this._viewportRuler.getViewportScrollPosition().top;Math.abs(ee-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=Y.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class yt{enable(){}disable(){}attach(){}}function jt(Je,Y){return Y.some(ee=>Je.bottomee.bottom||Je.rightee.right)}function st(Je,Y){return Y.some(ee=>Je.topee.bottom||Je.leftee.right)}class Te{constructor(Y,ee,A,et){this._scrollDispatcher=Y,this._viewportRuler=ee,this._ngZone=A,this._config=et,this._scrollSubscription=null}attach(Y){this._overlayRef=Y}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const ee=this._overlayRef.overlayElement.getBoundingClientRect(),{width:A,height:et}=this._viewportRuler.getViewportSize();jt(ee,[{width:A,height:et,bottom:et,right:A,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let Le=(()=>{class Je{constructor(ee,A,et,Fe){this._scrollDispatcher=ee,this._viewportRuler=A,this._ngZone=et,this.noop=()=>new yt,this.close=we=>new Ne(this._scrollDispatcher,this._ngZone,this._viewportRuler,we),this.block=()=>new Ge(this._viewportRuler,this._document),this.reposition=we=>new Te(this._scrollDispatcher,this._viewportRuler,this._ngZone,we),this._document=Fe}}return Je.\u0275fac=function(ee){return new(ee||Je)(e.LFG(c.mF),e.LFG(c.rL),e.LFG(e.R0b),e.LFG(m.K0))},Je.\u0275prov=e.Yz7({token:Je,factory:Je.\u0275fac,providedIn:"root"}),Je})();class at{constructor(Y){if(this.scrollStrategy=new yt,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,Y){const ee=Object.keys(Y);for(const A of ee)void 0!==Y[A]&&(this[A]=Y[A])}}}class tt{constructor(Y,ee){this.connectionPair=Y,this.scrollableViewProperties=ee}}class ie{constructor(Y,ee,A,et,Fe,we,De,ct,Et,Gt=!1){this._portalOutlet=Y,this._host=ee,this._pane=A,this._config=et,this._ngZone=Fe,this._keyboardDispatcher=we,this._document=De,this._location=ct,this._outsideClickDispatcher=Et,this._animationsDisabled=Gt,this._backdropElement=null,this._backdropClick=new V.x,this._attachments=new V.x,this._detachments=new V.x,this._locationChanges=X.w0.EMPTY,this._backdropClickHandler=_i=>this._backdropClick.next(_i),this._backdropTransitionendHandler=_i=>{this._disposeBackdrop(_i.target)},this._keydownEvents=new V.x,this._outsidePointerEvents=new V.x,et.scrollStrategy&&(this._scrollStrategy=et.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=et.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(Y){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const ee=this._portalOutlet.attach(Y);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,ue.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof(null==ee?void 0:ee.onDestroy)&&ee.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),ee}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const Y=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),Y}dispose(){var Y;const ee=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(Y=this._host)||void 0===Y||Y.remove(),this._previousHostParent=this._pane=this._host=null,ee&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(Y){Y!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=Y,this.hasAttached()&&(Y.attach(this),this.updatePosition()))}updateSize(Y){this._config=Object.assign(Object.assign({},this._config),Y),this._updateElementSize()}setDirection(Y){this._config=Object.assign(Object.assign({},this._config),{direction:Y}),this._updateElementDirection()}addPanelClass(Y){this._pane&&this._toggleClasses(this._pane,Y,!0)}removePanelClass(Y){this._pane&&this._toggleClasses(this._pane,Y,!1)}getDirection(){const Y=this._config.direction;return Y?"string"==typeof Y?Y:Y.value:"ltr"}updateScrollStrategy(Y){Y!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=Y,this.hasAttached()&&(Y.attach(this),Y.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const Y=this._pane.style;Y.width=(0,b.HM)(this._config.width),Y.height=(0,b.HM)(this._config.height),Y.minWidth=(0,b.HM)(this._config.minWidth),Y.minHeight=(0,b.HM)(this._config.minHeight),Y.maxWidth=(0,b.HM)(this._config.maxWidth),Y.maxHeight=(0,b.HM)(this._config.maxHeight)}_togglePointerEvents(Y){this._pane.style.pointerEvents=Y?"":"none"}_attachBackdrop(){const Y="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),this._animationsDisabled||"undefined"==typeof requestAnimationFrame?this._backdropElement.classList.add(Y):this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(Y)})})}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const Y=this._backdropElement;if(Y){if(this._animationsDisabled)return void this._disposeBackdrop(Y);Y.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{Y.addEventListener("transitionend",this._backdropTransitionendHandler)}),Y.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(Y)},500))}}_toggleClasses(Y,ee,A){const et=(0,b.Eq)(ee||[]).filter(Fe=>!!Fe);et.length&&(A?Y.classList.add(...et):Y.classList.remove(...et))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const Y=this._ngZone.onStable.pipe((0,ce.R)((0,J.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),Y.unsubscribe())})})}_disposeScrollStrategy(){const Y=this._scrollStrategy;Y&&(Y.disable(),Y.detach&&Y.detach())}_disposeBackdrop(Y){Y&&(Y.removeEventListener("click",this._backdropClickHandler),Y.removeEventListener("transitionend",this._backdropTransitionendHandler),Y.remove(),this._backdropElement===Y&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}let ke=(()=>{class Je{constructor(ee,A){this._platform=A,this._document=ee}ngOnDestroy(){var ee;null===(ee=this._containerElement)||void 0===ee||ee.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const ee="cdk-overlay-container";if(this._platform.isBrowser||(0,T.Oy)()){const et=this._document.querySelectorAll(`.${ee}[platform="server"], .${ee}[platform="test"]`);for(let Fe=0;Fe{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Y=this._originRect,ee=this._overlayRect,A=this._viewportRect,et=this._containerRect,Fe=[];let we;for(let De of this._preferredPositions){let ct=this._getOriginPoint(Y,et,De),Et=this._getOverlayPoint(ct,ee,De),Gt=this._getOverlayFit(Et,ee,A,De);if(Gt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(De,ct);this._canFitWithFlexibleDimensions(Gt,Et,A)?Fe.push({position:De,origin:ct,overlayRect:ee,boundingBoxRect:this._calculateBoundingBoxRect(ct,De)}):(!we||we.overlayFit.visibleAreact&&(ct=Gt,De=Et)}return this._isPushed=!1,void this._applyPosition(De.position,De.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(we.position,we.originPoint);this._applyPosition(we.position,we.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&bt(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(mt),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const Y=this._lastPosition;if(Y){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const ee=this._getOriginPoint(this._originRect,this._containerRect,Y);this._applyPosition(Y,ee)}else this.apply()}withScrollableContainers(Y){return this._scrollables=Y,this}withPositions(Y){return this._preferredPositions=Y,-1===Y.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(Y){return this._viewportMargin=Y,this}withFlexibleDimensions(Y=!0){return this._hasFlexibleDimensions=Y,this}withGrowAfterOpen(Y=!0){return this._growAfterOpen=Y,this}withPush(Y=!0){return this._canPush=Y,this}withLockedPosition(Y=!0){return this._positionLocked=Y,this}setOrigin(Y){return this._origin=Y,this}withDefaultOffsetX(Y){return this._offsetX=Y,this}withDefaultOffsetY(Y){return this._offsetY=Y,this}withTransformOriginOn(Y){return this._transformOriginSelector=Y,this}_getOriginPoint(Y,ee,A){let et,Fe;if("center"==A.originX)et=Y.left+Y.width/2;else{const we=this._isRtl()?Y.right:Y.left,De=this._isRtl()?Y.left:Y.right;et="start"==A.originX?we:De}return ee.left<0&&(et-=ee.left),Fe="center"==A.originY?Y.top+Y.height/2:"top"==A.originY?Y.top:Y.bottom,ee.top<0&&(Fe-=ee.top),{x:et,y:Fe}}_getOverlayPoint(Y,ee,A){let et,Fe;return et="center"==A.overlayX?-ee.width/2:"start"===A.overlayX?this._isRtl()?-ee.width:0:this._isRtl()?0:-ee.width,Fe="center"==A.overlayY?-ee.height/2:"top"==A.overlayY?0:-ee.height,{x:Y.x+et,y:Y.y+Fe}}_getOverlayFit(Y,ee,A,et){const Fe=ye(ee);let{x:we,y:De}=Y,ct=this._getOffset(et,"x"),Et=this._getOffset(et,"y");ct&&(we+=ct),Et&&(De+=Et);let di=0-De,zt=De+Fe.height-A.height,Bi=this._subtractOverflows(Fe.width,0-we,we+Fe.width-A.width),xi=this._subtractOverflows(Fe.height,di,zt),$n=Bi*xi;return{visibleArea:$n,isCompletelyWithinViewport:Fe.width*Fe.height===$n,fitsInViewportVertically:xi===Fe.height,fitsInViewportHorizontally:Bi==Fe.width}}_canFitWithFlexibleDimensions(Y,ee,A){if(this._hasFlexibleDimensions){const et=A.bottom-ee.y,Fe=A.right-ee.x,we=Wt(this._overlayRef.getConfig().minHeight),De=Wt(this._overlayRef.getConfig().minWidth),Et=Y.fitsInViewportHorizontally||null!=De&&De<=Fe;return(Y.fitsInViewportVertically||null!=we&&we<=et)&&Et}return!1}_pushOverlayOnScreen(Y,ee,A){if(this._previousPushAmount&&this._positionLocked)return{x:Y.x+this._previousPushAmount.x,y:Y.y+this._previousPushAmount.y};const et=ye(ee),Fe=this._viewportRect,we=Math.max(Y.x+et.width-Fe.width,0),De=Math.max(Y.y+et.height-Fe.height,0),ct=Math.max(Fe.top-A.top-Y.y,0),Et=Math.max(Fe.left-A.left-Y.x,0);let Gt=0,_i=0;return Gt=et.width<=Fe.width?Et||-we:Y.xBi&&!this._isInitialRender&&!this._growAfterOpen&&(we=Y.y-Bi/2)}if("end"===ee.overlayX&&!et||"start"===ee.overlayX&&et)di=A.width-Y.x+this._viewportMargin,Gt=Y.x-this._viewportMargin;else if("start"===ee.overlayX&&!et||"end"===ee.overlayX&&et)_i=Y.x,Gt=A.right-Y.x;else{const zt=Math.min(A.right-Y.x+A.left,Y.x),Bi=this._lastBoundingBoxSize.width;Gt=2*zt,_i=Y.x-zt,Gt>Bi&&!this._isInitialRender&&!this._growAfterOpen&&(_i=Y.x-Bi/2)}return{top:we,left:_i,bottom:De,right:di,width:Gt,height:Fe}}_setBoundingBoxStyles(Y,ee){const A=this._calculateBoundingBoxRect(Y,ee);!this._isInitialRender&&!this._growAfterOpen&&(A.height=Math.min(A.height,this._lastBoundingBoxSize.height),A.width=Math.min(A.width,this._lastBoundingBoxSize.width));const et={};if(this._hasExactPosition())et.top=et.left="0",et.bottom=et.right=et.maxHeight=et.maxWidth="",et.width=et.height="100%";else{const Fe=this._overlayRef.getConfig().maxHeight,we=this._overlayRef.getConfig().maxWidth;et.height=(0,b.HM)(A.height),et.top=(0,b.HM)(A.top),et.bottom=(0,b.HM)(A.bottom),et.width=(0,b.HM)(A.width),et.left=(0,b.HM)(A.left),et.right=(0,b.HM)(A.right),et.alignItems="center"===ee.overlayX?"center":"end"===ee.overlayX?"flex-end":"flex-start",et.justifyContent="center"===ee.overlayY?"center":"bottom"===ee.overlayY?"flex-end":"flex-start",Fe&&(et.maxHeight=(0,b.HM)(Fe)),we&&(et.maxWidth=(0,b.HM)(we))}this._lastBoundingBoxSize=A,bt(this._boundingBox.style,et)}_resetBoundingBoxStyles(){bt(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){bt(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(Y,ee){const A={},et=this._hasExactPosition(),Fe=this._hasFlexibleDimensions,we=this._overlayRef.getConfig();if(et){const Gt=this._viewportRuler.getViewportScrollPosition();bt(A,this._getExactOverlayY(ee,Y,Gt)),bt(A,this._getExactOverlayX(ee,Y,Gt))}else A.position="static";let De="",ct=this._getOffset(ee,"x"),Et=this._getOffset(ee,"y");ct&&(De+=`translateX(${ct}px) `),Et&&(De+=`translateY(${Et}px)`),A.transform=De.trim(),we.maxHeight&&(et?A.maxHeight=(0,b.HM)(we.maxHeight):Fe&&(A.maxHeight="")),we.maxWidth&&(et?A.maxWidth=(0,b.HM)(we.maxWidth):Fe&&(A.maxWidth="")),bt(this._pane.style,A)}_getExactOverlayY(Y,ee,A){let et={top:"",bottom:""},Fe=this._getOverlayPoint(ee,this._overlayRect,Y);return this._isPushed&&(Fe=this._pushOverlayOnScreen(Fe,this._overlayRect,A)),"bottom"===Y.overlayY?et.bottom=this._document.documentElement.clientHeight-(Fe.y+this._overlayRect.height)+"px":et.top=(0,b.HM)(Fe.y),et}_getExactOverlayX(Y,ee,A){let we,et={left:"",right:""},Fe=this._getOverlayPoint(ee,this._overlayRect,Y);return this._isPushed&&(Fe=this._pushOverlayOnScreen(Fe,this._overlayRect,A)),we=this._isRtl()?"end"===Y.overlayX?"left":"right":"end"===Y.overlayX?"right":"left","right"===we?et.right=this._document.documentElement.clientWidth-(Fe.x+this._overlayRect.width)+"px":et.left=(0,b.HM)(Fe.x),et}_getScrollVisibility(){const Y=this._getOriginRect(),ee=this._pane.getBoundingClientRect(),A=this._scrollables.map(et=>et.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:st(Y,A),isOriginOutsideView:jt(Y,A),isOverlayClipped:st(ee,A),isOverlayOutsideView:jt(ee,A)}}_subtractOverflows(Y,...ee){return ee.reduce((A,et)=>A-Math.max(et,0),Y)}_getNarrowedViewportRect(){const Y=this._document.documentElement.clientWidth,ee=this._document.documentElement.clientHeight,A=this._viewportRuler.getViewportScrollPosition();return{top:A.top+this._viewportMargin,left:A.left+this._viewportMargin,right:A.left+Y-this._viewportMargin,bottom:A.top+ee-this._viewportMargin,width:Y-2*this._viewportMargin,height:ee-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(Y,ee){return"x"===ee?null==Y.offsetX?this._offsetX:Y.offsetX:null==Y.offsetY?this._offsetY:Y.offsetY}_validatePositions(){}_addPanelClasses(Y){this._pane&&(0,b.Eq)(Y).forEach(ee=>{""!==ee&&-1===this._appliedPanelClasses.indexOf(ee)&&(this._appliedPanelClasses.push(ee),this._pane.classList.add(ee))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(Y=>{this._pane.classList.remove(Y)}),this._appliedPanelClasses=[])}_getOriginRect(){const Y=this._origin;if(Y instanceof e.SBq)return Y.nativeElement.getBoundingClientRect();if(Y instanceof Element)return Y.getBoundingClientRect();const ee=Y.width||0,A=Y.height||0;return{top:Y.y,bottom:Y.y+A,left:Y.x,right:Y.x+ee,height:A,width:ee}}}function bt(Je,Y){for(let ee in Y)Y.hasOwnProperty(ee)&&(Je[ee]=Y[ee]);return Je}function Wt(Je){if("number"!=typeof Je&&null!=Je){const[Y,ee]=Je.split(kt);return ee&&"px"!==ee?null:parseFloat(Y)}return Je||null}function ye(Je){return{top:Math.floor(Je.top),right:Math.floor(Je.right),bottom:Math.floor(Je.bottom),left:Math.floor(Je.left),width:Math.floor(Je.width),height:Math.floor(Je.height)}}const he="cdk-global-overlay-wrapper";class nt{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(Y){const ee=Y.getConfig();this._overlayRef=Y,this._width&&!ee.width&&Y.updateSize({width:this._width}),this._height&&!ee.height&&Y.updateSize({height:this._height}),Y.hostElement.classList.add(he),this._isDisposed=!1}top(Y=""){return this._bottomOffset="",this._topOffset=Y,this._alignItems="flex-start",this}left(Y=""){return this._xOffset=Y,this._xPosition="left",this}bottom(Y=""){return this._topOffset="",this._bottomOffset=Y,this._alignItems="flex-end",this}right(Y=""){return this._xOffset=Y,this._xPosition="right",this}start(Y=""){return this._xOffset=Y,this._xPosition="start",this}end(Y=""){return this._xOffset=Y,this._xPosition="end",this}width(Y=""){return this._overlayRef?this._overlayRef.updateSize({width:Y}):this._width=Y,this}height(Y=""){return this._overlayRef?this._overlayRef.updateSize({height:Y}):this._height=Y,this}centerHorizontally(Y=""){return this.left(Y),this._xPosition="center",this}centerVertically(Y=""){return this.top(Y),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const Y=this._overlayRef.overlayElement.style,ee=this._overlayRef.hostElement.style,A=this._overlayRef.getConfig(),{width:et,height:Fe,maxWidth:we,maxHeight:De}=A,ct=!("100%"!==et&&"100vw"!==et||we&&"100%"!==we&&"100vw"!==we),Et=!("100%"!==Fe&&"100vh"!==Fe||De&&"100%"!==De&&"100vh"!==De),Gt=this._xPosition,_i=this._xOffset,di="rtl"===this._overlayRef.getConfig().direction;let zt="",Bi="",xi="";ct?xi="flex-start":"center"===Gt?(xi="center",di?Bi=_i:zt=_i):di?"left"===Gt||"end"===Gt?(xi="flex-end",zt=_i):("right"===Gt||"start"===Gt)&&(xi="flex-start",Bi=_i):"left"===Gt||"start"===Gt?(xi="flex-start",zt=_i):("right"===Gt||"end"===Gt)&&(xi="flex-end",Bi=_i),Y.position=this._cssPosition,Y.marginLeft=ct?"0":zt,Y.marginTop=Et?"0":this._topOffset,Y.marginBottom=this._bottomOffset,Y.marginRight=ct?"0":Bi,ee.justifyContent=xi,ee.alignItems=Et?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const Y=this._overlayRef.overlayElement.style,ee=this._overlayRef.hostElement,A=ee.style;ee.classList.remove(he),A.justifyContent=A.alignItems=Y.marginTop=Y.marginBottom=Y.marginLeft=Y.marginRight=Y.position="",this._overlayRef=null,this._isDisposed=!0}}let Yt=(()=>{class Je{constructor(ee,A,et,Fe){this._viewportRuler=ee,this._document=A,this._platform=et,this._overlayContainer=Fe}global(){return new nt}flexibleConnectedTo(ee){return new ri(ee,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return Je.\u0275fac=function(ee){return new(ee||Je)(e.LFG(c.rL),e.LFG(m.K0),e.LFG(T.t4),e.LFG(ke))},Je.\u0275prov=e.Yz7({token:Je,factory:Je.\u0275fac,providedIn:"root"}),Je})(),Lt=(()=>{class Je{constructor(ee){this._attachedOverlays=[],this._document=ee}ngOnDestroy(){this.detach()}add(ee){this.remove(ee),this._attachedOverlays.push(ee)}remove(ee){const A=this._attachedOverlays.indexOf(ee);A>-1&&this._attachedOverlays.splice(A,1),0===this._attachedOverlays.length&&this.detach()}}return Je.\u0275fac=function(ee){return new(ee||Je)(e.LFG(m.K0))},Je.\u0275prov=e.Yz7({token:Je,factory:Je.\u0275fac,providedIn:"root"}),Je})(),Ai=(()=>{class Je extends Lt{constructor(ee,A){super(ee),this._ngZone=A,this._keydownListener=et=>{const Fe=this._attachedOverlays;for(let we=Fe.length-1;we>-1;we--)if(Fe[we]._keydownEvents.observers.length>0){const De=Fe[we]._keydownEvents;this._ngZone?this._ngZone.run(()=>De.next(et)):De.next(et);break}}}add(ee){super.add(ee),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return Je.\u0275fac=function(ee){return new(ee||Je)(e.LFG(m.K0),e.LFG(e.R0b,8))},Je.\u0275prov=e.Yz7({token:Je,factory:Je.\u0275fac,providedIn:"root"}),Je})(),ei=(()=>{class Je extends Lt{constructor(ee,A,et){super(ee),this._platform=A,this._ngZone=et,this._cursorStyleIsSet=!1,this._pointerDownListener=Fe=>{this._pointerDownEventTarget=(0,T.sA)(Fe)},this._clickListener=Fe=>{const we=(0,T.sA)(Fe),De="click"===Fe.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:we;this._pointerDownEventTarget=null;const ct=this._attachedOverlays.slice();for(let Et=ct.length-1;Et>-1;Et--){const Gt=ct[Et];if(Gt._outsidePointerEvents.observers.length<1||!Gt.hasAttached())continue;if(Gt.overlayElement.contains(we)||Gt.overlayElement.contains(De))break;const _i=Gt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>_i.next(Fe)):_i.next(Fe)}}}add(ee){if(super.add(ee),!this._isAttached){const A=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(A)):this._addEventListeners(A),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=A.style.cursor,A.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const ee=this._document.body;ee.removeEventListener("pointerdown",this._pointerDownListener,!0),ee.removeEventListener("click",this._clickListener,!0),ee.removeEventListener("auxclick",this._clickListener,!0),ee.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(ee.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(ee){ee.addEventListener("pointerdown",this._pointerDownListener,!0),ee.addEventListener("click",this._clickListener,!0),ee.addEventListener("auxclick",this._clickListener,!0),ee.addEventListener("contextmenu",this._clickListener,!0)}}return Je.\u0275fac=function(ee){return new(ee||Je)(e.LFG(m.K0),e.LFG(T.t4),e.LFG(e.R0b,8))},Je.\u0275prov=e.Yz7({token:Je,factory:Je.\u0275fac,providedIn:"root"}),Je})(),hi=0,ne=(()=>{class Je{constructor(ee,A,et,Fe,we,De,ct,Et,Gt,_i,di,zt){this.scrollStrategies=ee,this._overlayContainer=A,this._componentFactoryResolver=et,this._positionBuilder=Fe,this._keyboardDispatcher=we,this._injector=De,this._ngZone=ct,this._document=Et,this._directionality=Gt,this._location=_i,this._outsideClickDispatcher=di,this._animationsModuleType=zt}create(ee){const A=this._createHostElement(),et=this._createPaneElement(A),Fe=this._createPortalOutlet(et),we=new at(ee);return we.direction=we.direction||this._directionality.value,new ie(Fe,A,et,we,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(ee){const A=this._document.createElement("div");return A.id="cdk-overlay-"+hi++,A.classList.add("cdk-overlay-pane"),ee.appendChild(A),A}_createHostElement(){const ee=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(ee),ee}_createPortalOutlet(ee){return this._appRef||(this._appRef=this._injector.get(e.z2F)),new F.u0(ee,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return Je.\u0275fac=function(ee){return new(ee||Je)(e.LFG(Le),e.LFG(ke),e.LFG(e._Vd),e.LFG(Yt),e.LFG(Ai),e.LFG(e.zs3),e.LFG(e.R0b),e.LFG(m.K0),e.LFG(k.Is),e.LFG(m.Ye),e.LFG(ei),e.LFG(e.QbO,8))},Je.\u0275prov=e.Yz7({token:Je,factory:Je.\u0275fac}),Je})();const Tt=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Se=new e.OlP("cdk-connected-overlay-scroll-strategy");let ut=(()=>{class Je{constructor(ee){this.elementRef=ee}}return Je.\u0275fac=function(ee){return new(ee||Je)(e.Y36(e.SBq))},Je.\u0275dir=e.lG2({type:Je,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),Je})(),ni=(()=>{class Je{constructor(ee,A,et,Fe,we){this._overlay=ee,this._dir=we,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=X.w0.EMPTY,this._attachSubscription=X.w0.EMPTY,this._detachSubscription=X.w0.EMPTY,this._positionSubscription=X.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new e.vpe,this.positionChange=new e.vpe,this.attach=new e.vpe,this.detach=new e.vpe,this.overlayKeydown=new e.vpe,this.overlayOutsideClick=new e.vpe,this._templatePortal=new F.UE(A,et),this._scrollStrategyFactory=Fe,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(ee){this._offsetX=ee,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(ee){this._offsetY=ee,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(ee){this._hasBackdrop=(0,b.Ig)(ee)}get lockPosition(){return this._lockPosition}set lockPosition(ee){this._lockPosition=(0,b.Ig)(ee)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(ee){this._flexibleDimensions=(0,b.Ig)(ee)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(ee){this._growAfterOpen=(0,b.Ig)(ee)}get push(){return this._push}set push(ee){this._push=(0,b.Ig)(ee)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(ee){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),ee.origin&&this.open&&this._position.apply()),ee.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Tt);const ee=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=ee.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=ee.detachments().subscribe(()=>this.detach.emit()),ee.keydownEvents().subscribe(A=>{this.overlayKeydown.next(A),A.keyCode===Pe.hY&&!this.disableClose&&!(0,Pe.Vb)(A)&&(A.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(A=>{this.overlayOutsideClick.next(A)})}_buildConfig(){const ee=this._position=this.positionStrategy||this._createPositionStrategy(),A=new at({direction:this._dir,positionStrategy:ee,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(A.width=this.width),(this.height||0===this.height)&&(A.height=this.height),(this.minWidth||0===this.minWidth)&&(A.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(A.minHeight=this.minHeight),this.backdropClass&&(A.backdropClass=this.backdropClass),this.panelClass&&(A.panelClass=this.panelClass),A}_updatePositionStrategy(ee){const A=this.positions.map(et=>({originX:et.originX,originY:et.originY,overlayX:et.overlayX,overlayY:et.overlayY,offsetX:et.offsetX||this.offsetX,offsetY:et.offsetY||this.offsetY,panelClass:et.panelClass||void 0}));return ee.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(A).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const ee=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(ee),ee}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof ut?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(ee=>{this.backdropClick.emit(ee)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,Oe.o)(()=>this.positionChange.observers.length>0)).subscribe(ee=>{this.positionChange.emit(ee),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return Je.\u0275fac=function(ee){return new(ee||Je)(e.Y36(ne),e.Y36(e.Rgc),e.Y36(e.s_b),e.Y36(Se),e.Y36(k.Is,8))},Je.\u0275dir=e.lG2({type:Je,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[e.TTD]}),Je})();const dn={provide:Se,deps:[ne],useFactory:function ki(Je){return()=>Je.scrollStrategies.reposition()}};let ai=(()=>{class Je{}return Je.\u0275fac=function(ee){return new(ee||Je)},Je.\u0275mod=e.oAB({type:Je}),Je.\u0275inj=e.cJS({providers:[ne,dn],imports:[k.vT,F.eL,c.Cl,c.Cl]}),Je})()},925:(B,U,C)=>{"use strict";C.d(U,{Mq:()=>Pe,Oy:()=>st,_i:()=>de,ht:()=>yt,i$:()=>ue,kV:()=>Ne,qK:()=>V,sA:()=>jt,t4:()=>b});var c=C(5e3),m=C(9808);let e;try{e="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(Te){e=!1}let k,b=(()=>{class Te{constructor(at){this._platformId=at,this.isBrowser=this._platformId?(0,m.NF)(this._platformId):"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&&!e)&&"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)&&!("MSStream"in window),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}}return Te.\u0275fac=function(at){return new(at||Te)(c.LFG(c.Lbi))},Te.\u0275prov=c.Yz7({token:Te,factory:Te.\u0275fac,providedIn:"root"}),Te})();const F=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function V(){if(k)return k;if("object"!=typeof document||!document)return k=new Set(F),k;let Te=document.createElement("input");return k=new Set(F.filter(Le=>(Te.setAttribute("type",Le),Te.type===Le))),k}let X,ce,Oe,Ge;function ue(Te){return function J(){if(null==X&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>X=!0}))}finally{X=X||!1}return X}()?Te:!!Te.capture}function Pe(){if(null==Oe){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Oe=!1,Oe;if("scrollBehavior"in document.documentElement.style)Oe=!0;else{const Te=Element.prototype.scrollTo;Oe=!!Te&&!/\{\s*\[native code\]\s*\}/.test(Te.toString())}}return Oe}function de(){if("object"!=typeof document||!document)return 0;if(null==ce){const Te=document.createElement("div"),Le=Te.style;Te.dir="rtl",Le.width="1px",Le.overflow="auto",Le.visibility="hidden",Le.pointerEvents="none",Le.position="absolute";const at=document.createElement("div"),_e=at.style;_e.width="2px",_e.height="1px",Te.appendChild(at),document.body.appendChild(Te),ce=0,0===Te.scrollLeft&&(Te.scrollLeft=1,ce=0===Te.scrollLeft?1:2),Te.remove()}return ce}function Ne(Te){if(function le(){if(null==Ge){const Te="undefined"!=typeof document?document.head:null;Ge=!(!Te||!Te.createShadowRoot&&!Te.attachShadow)}return Ge}()){const Le=Te.getRootNode?Te.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&Le instanceof ShadowRoot)return Le}return null}function yt(){let Te="undefined"!=typeof document&&document?document.activeElement:null;for(;Te&&Te.shadowRoot;){const Le=Te.shadowRoot.activeElement;if(Le===Te)break;Te=Le}return Te}function jt(Te){return Te.composedPath?Te.composedPath()[0]:Te.target}function st(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}},7429:(B,U,C)=>{"use strict";C.d(U,{C5:()=>J,Pl:()=>yt,UE:()=>ue,eL:()=>st,en:()=>Oe,ig:()=>le,u0:()=>de});var c=C(5e3),m=C(9808);class X{attach(at){return this._attachedHost=at,at.attach(this)}detach(){let at=this._attachedHost;null!=at&&(this._attachedHost=null,at.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(at){this._attachedHost=at}}class J extends X{constructor(at,_e,xt,tt){super(),this.component=at,this.viewContainerRef=_e,this.injector=xt,this.componentFactoryResolver=tt}}class ue extends X{constructor(at,_e,xt,tt){super(),this.templateRef=at,this.viewContainerRef=_e,this.context=xt,this.injector=tt}get origin(){return this.templateRef.elementRef}attach(at,_e=this.context){return this.context=_e,super.attach(at)}detach(){return this.context=void 0,super.detach()}}class ce extends X{constructor(at){super(),this.element=at instanceof c.SBq?at.nativeElement:at}}class Oe{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(at){return at instanceof J?(this._attachedPortal=at,this.attachComponentPortal(at)):at instanceof ue?(this._attachedPortal=at,this.attachTemplatePortal(at)):this.attachDomPortal&&at instanceof ce?(this._attachedPortal=at,this.attachDomPortal(at)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(at){this._disposeFn=at}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class de extends Oe{constructor(at,_e,xt,tt,Ye){super(),this.outletElement=at,this._componentFactoryResolver=_e,this._appRef=xt,this._defaultInjector=tt,this.attachDomPortal=qe=>{const ie=qe.element,ke=this._document.createComment("dom-portal");ie.parentNode.insertBefore(ke,ie),this.outletElement.appendChild(ie),this._attachedPortal=qe,super.setDisposeFn(()=>{ke.parentNode&&ke.parentNode.replaceChild(ie,ke)})},this._document=Ye}attachComponentPortal(at){const xt=(at.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(at.component);let tt;return at.viewContainerRef?(tt=at.viewContainerRef.createComponent(xt,at.viewContainerRef.length,at.injector||at.viewContainerRef.injector),this.setDisposeFn(()=>tt.destroy())):(tt=xt.create(at.injector||this._defaultInjector||c.zs3.NULL),this._appRef.attachView(tt.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(tt.hostView),tt.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(tt)),this._attachedPortal=at,tt}attachTemplatePortal(at){let _e=at.viewContainerRef,xt=_e.createEmbeddedView(at.templateRef,at.context,{injector:at.injector});return xt.rootNodes.forEach(tt=>this.outletElement.appendChild(tt)),xt.detectChanges(),this.setDisposeFn(()=>{let tt=_e.indexOf(xt);-1!==tt&&_e.remove(tt)}),this._attachedPortal=at,xt}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(at){return at.hostView.rootNodes[0]}}let le=(()=>{class Le extends ue{constructor(_e,xt){super(_e,xt)}}return Le.\u0275fac=function(_e){return new(_e||Le)(c.Y36(c.Rgc),c.Y36(c.s_b))},Le.\u0275dir=c.lG2({type:Le,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[c.qOj]}),Le})(),yt=(()=>{class Le extends Oe{constructor(_e,xt,tt){super(),this._componentFactoryResolver=_e,this._viewContainerRef=xt,this._isInitialized=!1,this.attached=new c.vpe,this.attachDomPortal=Ye=>{const qe=Ye.element,ie=this._document.createComment("dom-portal");Ye.setAttachedHost(this),qe.parentNode.insertBefore(ie,qe),this._getRootNode().appendChild(qe),this._attachedPortal=Ye,super.setDisposeFn(()=>{ie.parentNode&&ie.parentNode.replaceChild(qe,ie)})},this._document=tt}get portal(){return this._attachedPortal}set portal(_e){this.hasAttached()&&!_e&&!this._isInitialized||(this.hasAttached()&&super.detach(),_e&&super.attach(_e),this._attachedPortal=_e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(_e){_e.setAttachedHost(this);const xt=null!=_e.viewContainerRef?_e.viewContainerRef:this._viewContainerRef,Ye=(_e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(_e.component),qe=xt.createComponent(Ye,xt.length,_e.injector||xt.injector);return xt!==this._viewContainerRef&&this._getRootNode().appendChild(qe.hostView.rootNodes[0]),super.setDisposeFn(()=>qe.destroy()),this._attachedPortal=_e,this._attachedRef=qe,this.attached.emit(qe),qe}attachTemplatePortal(_e){_e.setAttachedHost(this);const xt=this._viewContainerRef.createEmbeddedView(_e.templateRef,_e.context,{injector:_e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=_e,this._attachedRef=xt,this.attached.emit(xt),xt}_getRootNode(){const _e=this._viewContainerRef.element.nativeElement;return _e.nodeType===_e.ELEMENT_NODE?_e:_e.parentNode}}return Le.\u0275fac=function(_e){return new(_e||Le)(c.Y36(c._Vd),c.Y36(c.s_b),c.Y36(m.K0))},Le.\u0275dir=c.lG2({type:Le,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[c.qOj]}),Le})(),st=(()=>{class Le{}return Le.\u0275fac=function(_e){return new(_e||Le)},Le.\u0275mod=c.oAB({type:Le}),Le.\u0275inj=c.cJS({}),Le})()},9071:(B,U,C)=>{"use strict";C.d(U,{Cl:()=>Wt,PQ:()=>Le,ZD:()=>bt,mF:()=>Te,rL:()=>tt});var c=C(3191),m=C(5e3),e=C(7579),b=C(9646),T=C(9751),k=C(4968),X=(C(6406),C(3101),C(3601)),J=C(9300),ue=C(2722),ce=C(9808),Oe=C(925),Pe=C(226);let Te=(()=>{class ye{constructor(Ae,he,nt){this._ngZone=Ae,this._platform=he,this._scrolled=new e.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=nt}register(Ae){this.scrollContainers.has(Ae)||this.scrollContainers.set(Ae,Ae.elementScrolled().subscribe(()=>this._scrolled.next(Ae)))}deregister(Ae){const he=this.scrollContainers.get(Ae);he&&(he.unsubscribe(),this.scrollContainers.delete(Ae))}scrolled(Ae=20){return this._platform.isBrowser?new T.y(he=>{this._globalSubscription||this._addGlobalListener();const nt=Ae>0?this._scrolled.pipe((0,X.e)(Ae)).subscribe(he):this._scrolled.subscribe(he);return this._scrolledCount++,()=>{nt.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,b.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((Ae,he)=>this.deregister(he)),this._scrolled.complete()}ancestorScrolled(Ae,he){const nt=this.getAncestorScrollContainers(Ae);return this.scrolled(he).pipe((0,J.h)(Yt=>!Yt||nt.indexOf(Yt)>-1))}getAncestorScrollContainers(Ae){const he=[];return this.scrollContainers.forEach((nt,Yt)=>{this._scrollableContainsElement(Yt,Ae)&&he.push(Yt)}),he}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(Ae,he){let nt=(0,c.fI)(he),Yt=Ae.getElementRef().nativeElement;do{if(nt==Yt)return!0}while(nt=nt.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const Ae=this._getWindow();return(0,k.R)(Ae.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return ye.\u0275fac=function(Ae){return new(Ae||ye)(m.LFG(m.R0b),m.LFG(Oe.t4),m.LFG(ce.K0,8))},ye.\u0275prov=m.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})(),Le=(()=>{class ye{constructor(Ae,he,nt,Yt){this.elementRef=Ae,this.scrollDispatcher=he,this.ngZone=nt,this.dir=Yt,this._destroyed=new e.x,this._elementScrolled=new T.y(Lt=>this.ngZone.runOutsideAngular(()=>(0,k.R)(this.elementRef.nativeElement,"scroll").pipe((0,ue.R)(this._destroyed)).subscribe(Lt)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(Ae){const he=this.elementRef.nativeElement,nt=this.dir&&"rtl"==this.dir.value;null==Ae.left&&(Ae.left=nt?Ae.end:Ae.start),null==Ae.right&&(Ae.right=nt?Ae.start:Ae.end),null!=Ae.bottom&&(Ae.top=he.scrollHeight-he.clientHeight-Ae.bottom),nt&&0!=(0,Oe._i)()?(null!=Ae.left&&(Ae.right=he.scrollWidth-he.clientWidth-Ae.left),2==(0,Oe._i)()?Ae.left=Ae.right:1==(0,Oe._i)()&&(Ae.left=Ae.right?-Ae.right:Ae.right)):null!=Ae.right&&(Ae.left=he.scrollWidth-he.clientWidth-Ae.right),this._applyScrollToOptions(Ae)}_applyScrollToOptions(Ae){const he=this.elementRef.nativeElement;(0,Oe.Mq)()?he.scrollTo(Ae):(null!=Ae.top&&(he.scrollTop=Ae.top),null!=Ae.left&&(he.scrollLeft=Ae.left))}measureScrollOffset(Ae){const he="left",Yt=this.elementRef.nativeElement;if("top"==Ae)return Yt.scrollTop;if("bottom"==Ae)return Yt.scrollHeight-Yt.clientHeight-Yt.scrollTop;const Lt=this.dir&&"rtl"==this.dir.value;return"start"==Ae?Ae=Lt?"right":he:"end"==Ae&&(Ae=Lt?he:"right"),Lt&&2==(0,Oe._i)()?Ae==he?Yt.scrollWidth-Yt.clientWidth-Yt.scrollLeft:Yt.scrollLeft:Lt&&1==(0,Oe._i)()?Ae==he?Yt.scrollLeft+Yt.scrollWidth-Yt.clientWidth:-Yt.scrollLeft:Ae==he?Yt.scrollLeft:Yt.scrollWidth-Yt.clientWidth-Yt.scrollLeft}}return ye.\u0275fac=function(Ae){return new(Ae||ye)(m.Y36(m.SBq),m.Y36(Te),m.Y36(m.R0b),m.Y36(Pe.Is,8))},ye.\u0275dir=m.lG2({type:ye,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),ye})(),tt=(()=>{class ye{constructor(Ae,he,nt){this._platform=Ae,this._change=new e.x,this._changeListener=Yt=>{this._change.next(Yt)},this._document=nt,he.runOutsideAngular(()=>{if(Ae.isBrowser){const Yt=this._getWindow();Yt.addEventListener("resize",this._changeListener),Yt.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const Ae=this._getWindow();Ae.removeEventListener("resize",this._changeListener),Ae.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const Ae={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),Ae}getViewportRect(){const Ae=this.getViewportScrollPosition(),{width:he,height:nt}=this.getViewportSize();return{top:Ae.top,left:Ae.left,bottom:Ae.top+nt,right:Ae.left+he,height:nt,width:he}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const Ae=this._document,he=this._getWindow(),nt=Ae.documentElement,Yt=nt.getBoundingClientRect();return{top:-Yt.top||Ae.body.scrollTop||he.scrollY||nt.scrollTop||0,left:-Yt.left||Ae.body.scrollLeft||he.scrollX||nt.scrollLeft||0}}change(Ae=20){return Ae>0?this._change.pipe((0,X.e)(Ae)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const Ae=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:Ae.innerWidth,height:Ae.innerHeight}:{width:0,height:0}}}return ye.\u0275fac=function(Ae){return new(Ae||ye)(m.LFG(Oe.t4),m.LFG(m.R0b),m.LFG(ce.K0,8))},ye.\u0275prov=m.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})(),bt=(()=>{class ye{}return ye.\u0275fac=function(Ae){return new(Ae||ye)},ye.\u0275mod=m.oAB({type:ye}),ye.\u0275inj=m.cJS({}),ye})(),Wt=(()=>{class ye{}return ye.\u0275fac=function(Ae){return new(Ae||ye)},ye.\u0275mod=m.oAB({type:ye}),ye.\u0275inj=m.cJS({imports:[Pe.vT,bt,Pe.vT,bt]}),ye})()},4533:(B,U,C)=>{"use strict";C.d(U,{IC:()=>Oe,Ky:()=>Pe,Lq:()=>ue});var c=C(925),m=C(5e3),e=C(3191),b=C(515),T=C(7579),k=C(4968),F=C(3601),V=C(2722),X=C(9808);const J=(0,c.i$)({passive:!0});let ue=(()=>{class de{constructor(le,Ne){this._platform=le,this._ngZone=Ne,this._monitoredElements=new Map}monitor(le){if(!this._platform.isBrowser)return b.E;const Ne=(0,e.fI)(le),yt=this._monitoredElements.get(Ne);if(yt)return yt.subject;const jt=new T.x,st="cdk-text-field-autofilled",Te=Le=>{"cdk-text-field-autofill-start"!==Le.animationName||Ne.classList.contains(st)?"cdk-text-field-autofill-end"===Le.animationName&&Ne.classList.contains(st)&&(Ne.classList.remove(st),this._ngZone.run(()=>jt.next({target:Le.target,isAutofilled:!1}))):(Ne.classList.add(st),this._ngZone.run(()=>jt.next({target:Le.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{Ne.addEventListener("animationstart",Te,J),Ne.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(Ne,{subject:jt,unlisten:()=>{Ne.removeEventListener("animationstart",Te,J)}}),jt}stopMonitoring(le){const Ne=(0,e.fI)(le),yt=this._monitoredElements.get(Ne);yt&&(yt.unlisten(),yt.subject.complete(),Ne.classList.remove("cdk-text-field-autofill-monitored"),Ne.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(Ne))}ngOnDestroy(){this._monitoredElements.forEach((le,Ne)=>this.stopMonitoring(Ne))}}return de.\u0275fac=function(le){return new(le||de)(m.LFG(c.t4),m.LFG(m.R0b))},de.\u0275prov=m.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"}),de})(),Oe=(()=>{class de{constructor(le,Ne,yt,jt){this._elementRef=le,this._platform=Ne,this._ngZone=yt,this._destroyed=new T.x,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=st=>{this._hasFocus="focus"===st.type},this._document=jt,this._textareaElement=this._elementRef.nativeElement}get minRows(){return this._minRows}set minRows(le){this._minRows=(0,e.su)(le),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(le){this._maxRows=(0,e.su)(le),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(le){le=(0,e.Ig)(le),this._enabled!==le&&((this._enabled=le)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(le){this._cachedPlaceholderHeight=void 0,le?this._textareaElement.setAttribute("placeholder",le):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}_setMinHeight(){const le=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;le&&(this._textareaElement.style.minHeight=le)}_setMaxHeight(){const le=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;le&&(this._textareaElement.style.maxHeight=le)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{const le=this._getWindow();(0,k.R)(le,"resize").pipe((0,F.e)(16),(0,V.R)(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let le=this._textareaElement.cloneNode(!1);le.rows=1,le.style.position="absolute",le.style.visibility="hidden",le.style.border="none",le.style.padding="0",le.style.height="",le.style.minHeight="",le.style.maxHeight="",le.style.overflow="hidden",this._textareaElement.parentNode.appendChild(le),this._cachedLineHeight=le.clientHeight,le.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const le=this._textareaElement,Ne=le.style.marginBottom||"",yt=this._platform.FIREFOX,jt=yt&&this._hasFocus,st=yt?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";jt&&(le.style.marginBottom=`${le.clientHeight}px`),le.classList.add(st);const Te=le.scrollHeight-4;return le.classList.remove(st),jt&&(le.style.marginBottom=Ne),Te}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const le=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=le}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(le=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const Ne=this._elementRef.nativeElement,yt=Ne.value;if(!le&&this._minRows===this._previousMinRows&&yt===this._previousValue)return;const jt=this._measureScrollHeight(),st=Math.max(jt,this._cachedPlaceholderHeight||0);Ne.style.height=`${st}px`,this._ngZone.runOutsideAngular(()=>{"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(()=>this._scrollToCaretPosition(Ne)):setTimeout(()=>this._scrollToCaretPosition(Ne))}),this._previousValue=yt,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(le){const{selectionStart:Ne,selectionEnd:yt}=le;!this._destroyed.isStopped&&this._hasFocus&&le.setSelectionRange(Ne,yt)}}return de.\u0275fac=function(le){return new(le||de)(m.Y36(m.SBq),m.Y36(c.t4),m.Y36(m.R0b),m.Y36(X.K0,8))},de.\u0275dir=m.lG2({type:de,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(le,Ne){1&le&&m.NdJ("input",function(){return Ne._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]}),de})(),Pe=(()=>{class de{}return de.\u0275fac=function(le){return new(le||de)},de.\u0275mod=m.oAB({type:de}),de.\u0275inj=m.cJS({}),de})()},9808:(B,U,C)=>{"use strict";C.d(U,{Do:()=>jt,ED:()=>Bo,EM:()=>$r,HT:()=>T,JF:()=>zr,K0:()=>F,Mx:()=>$i,NF:()=>dr,O5:()=>Ba,OU:()=>Ha,Ov:()=>Ks,PC:()=>Ya,PM:()=>Yr,RF:()=>Fr,S$:()=>le,V_:()=>J,Ye:()=>st,b0:()=>yt,bD:()=>Dr,ez:()=>Jr,gd:()=>Ur,mk:()=>Rt,n9:()=>Ts,q:()=>e,sg:()=>Qa,tP:()=>Br,uU:()=>qs,w_:()=>k});var c=C(5e3);let m=null;function e(){return m}function T(K){m||(m=K)}class k{}const F=new c.OlP("DocumentToken");let V=(()=>{class K{historyGo(W){throw new Error("Not implemented")}}return K.\u0275fac=function(W){return new(W||K)},K.\u0275prov=c.Yz7({token:K,factory:function(){return function X(){return(0,c.LFG)(ue)}()},providedIn:"platform"}),K})();const J=new c.OlP("Location Initialized");let ue=(()=>{class K extends V{constructor(W){super(),this._doc=W,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return e().getBaseHref(this._doc)}onPopState(W){const ge=e().getGlobalEventTarget(this._doc,"window");return ge.addEventListener("popstate",W,!1),()=>ge.removeEventListener("popstate",W)}onHashChange(W){const ge=e().getGlobalEventTarget(this._doc,"window");return ge.addEventListener("hashchange",W,!1),()=>ge.removeEventListener("hashchange",W)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(W){this.location.pathname=W}pushState(W,ge,ze){ce()?this._history.pushState(W,ge,ze):this.location.hash=ze}replaceState(W,ge,ze){ce()?this._history.replaceState(W,ge,ze):this.location.hash=ze}forward(){this._history.forward()}back(){this._history.back()}historyGo(W=0){this._history.go(W)}getState(){return this._history.state}}return K.\u0275fac=function(W){return new(W||K)(c.LFG(F))},K.\u0275prov=c.Yz7({token:K,factory:function(){return function Oe(){return new ue((0,c.LFG)(F))}()},providedIn:"platform"}),K})();function ce(){return!!window.history.pushState}function Pe(K,se){if(0==K.length)return se;if(0==se.length)return K;let W=0;return K.endsWith("/")&&W++,se.startsWith("/")&&W++,2==W?K+se.substring(1):1==W?K+se:K+"/"+se}function de(K){const se=K.match(/#|\?|$/),W=se&&se.index||K.length;return K.slice(0,W-("/"===K[W-1]?1:0))+K.slice(W)}function Ge(K){return K&&"?"!==K[0]?"?"+K:K}let le=(()=>{class K{historyGo(W){throw new Error("Not implemented")}}return K.\u0275fac=function(W){return new(W||K)},K.\u0275prov=c.Yz7({token:K,factory:function(){return(0,c.f3M)(yt)},providedIn:"root"}),K})();const Ne=new c.OlP("appBaseHref");let yt=(()=>{class K extends le{constructor(W,ge){var ze,Pt,Ht;super(),this._platformLocation=W,this._removeListenerFns=[],this._baseHref=null!==(Ht=null!==(ze=null!=ge?ge:this._platformLocation.getBaseHrefFromDOM())&&void 0!==ze?ze:null===(Pt=(0,c.f3M)(F).location)||void 0===Pt?void 0:Pt.origin)&&void 0!==Ht?Ht:""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(W){this._removeListenerFns.push(this._platformLocation.onPopState(W),this._platformLocation.onHashChange(W))}getBaseHref(){return this._baseHref}prepareExternalUrl(W){return Pe(this._baseHref,W)}path(W=!1){const ge=this._platformLocation.pathname+Ge(this._platformLocation.search),ze=this._platformLocation.hash;return ze&&W?`${ge}${ze}`:ge}pushState(W,ge,ze,Pt){const Ht=this.prepareExternalUrl(ze+Ge(Pt));this._platformLocation.pushState(W,ge,Ht)}replaceState(W,ge,ze,Pt){const Ht=this.prepareExternalUrl(ze+Ge(Pt));this._platformLocation.replaceState(W,ge,Ht)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(W=0){var ge,ze;null===(ze=(ge=this._platformLocation).historyGo)||void 0===ze||ze.call(ge,W)}}return K.\u0275fac=function(W){return new(W||K)(c.LFG(V),c.LFG(Ne,8))},K.\u0275prov=c.Yz7({token:K,factory:K.\u0275fac,providedIn:"root"}),K})(),jt=(()=>{class K extends le{constructor(W,ge){super(),this._platformLocation=W,this._baseHref="",this._removeListenerFns=[],null!=ge&&(this._baseHref=ge)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(W){this._removeListenerFns.push(this._platformLocation.onPopState(W),this._platformLocation.onHashChange(W))}getBaseHref(){return this._baseHref}path(W=!1){let ge=this._platformLocation.hash;return null==ge&&(ge="#"),ge.length>0?ge.substring(1):ge}prepareExternalUrl(W){const ge=Pe(this._baseHref,W);return ge.length>0?"#"+ge:ge}pushState(W,ge,ze,Pt){let Ht=this.prepareExternalUrl(ze+Ge(Pt));0==Ht.length&&(Ht=this._platformLocation.pathname),this._platformLocation.pushState(W,ge,Ht)}replaceState(W,ge,ze,Pt){let Ht=this.prepareExternalUrl(ze+Ge(Pt));0==Ht.length&&(Ht=this._platformLocation.pathname),this._platformLocation.replaceState(W,ge,Ht)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(W=0){var ge,ze;null===(ze=(ge=this._platformLocation).historyGo)||void 0===ze||ze.call(ge,W)}}return K.\u0275fac=function(W){return new(W||K)(c.LFG(V),c.LFG(Ne,8))},K.\u0275prov=c.Yz7({token:K,factory:K.\u0275fac}),K})(),st=(()=>{class K{constructor(W){this._subject=new c.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=W;const ge=this._locationStrategy.getBaseHref();this._baseHref=de(at(ge)),this._locationStrategy.onPopState(ze=>{this._subject.emit({url:this.path(!0),pop:!0,state:ze.state,type:ze.type})})}ngOnDestroy(){var W;null===(W=this._urlChangeSubscription)||void 0===W||W.unsubscribe(),this._urlChangeListeners=[]}path(W=!1){return this.normalize(this._locationStrategy.path(W))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(W,ge=""){return this.path()==this.normalize(W+Ge(ge))}normalize(W){return K.stripTrailingSlash(function Le(K,se){return K&&se.startsWith(K)?se.substring(K.length):se}(this._baseHref,at(W)))}prepareExternalUrl(W){return W&&"/"!==W[0]&&(W="/"+W),this._locationStrategy.prepareExternalUrl(W)}go(W,ge="",ze=null){this._locationStrategy.pushState(ze,"",W,ge),this._notifyUrlChangeListeners(this.prepareExternalUrl(W+Ge(ge)),ze)}replaceState(W,ge="",ze=null){this._locationStrategy.replaceState(ze,"",W,ge),this._notifyUrlChangeListeners(this.prepareExternalUrl(W+Ge(ge)),ze)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(W=0){var ge,ze;null===(ze=(ge=this._locationStrategy).historyGo)||void 0===ze||ze.call(ge,W)}onUrlChange(W){return this._urlChangeListeners.push(W),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(ge=>{this._notifyUrlChangeListeners(ge.url,ge.state)})),()=>{var ge;const ze=this._urlChangeListeners.indexOf(W);this._urlChangeListeners.splice(ze,1),0===this._urlChangeListeners.length&&(null===(ge=this._urlChangeSubscription)||void 0===ge||ge.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(W="",ge){this._urlChangeListeners.forEach(ze=>ze(W,ge))}subscribe(W,ge,ze){return this._subject.subscribe({next:W,error:ge,complete:ze})}}return K.normalizeQueryParams=Ge,K.joinWithSlash=Pe,K.stripTrailingSlash=de,K.\u0275fac=function(W){return new(W||K)(c.LFG(le))},K.\u0275prov=c.Yz7({token:K,factory:function(){return function Te(){return new st((0,c.LFG)(le))}()},providedIn:"root"}),K})();function at(K){return K.replace(/\/index.html$/,"")}var Ye=(()=>((Ye=Ye||{})[Ye.Format=0]="Format",Ye[Ye.Standalone=1]="Standalone",Ye))(),qe=(()=>((qe=qe||{})[qe.Narrow=0]="Narrow",qe[qe.Abbreviated=1]="Abbreviated",qe[qe.Wide=2]="Wide",qe[qe.Short=3]="Short",qe))(),ie=(()=>((ie=ie||{})[ie.Short=0]="Short",ie[ie.Medium=1]="Medium",ie[ie.Long=2]="Long",ie[ie.Full=3]="Full",ie))(),ke=(()=>((ke=ke||{})[ke.Decimal=0]="Decimal",ke[ke.Group=1]="Group",ke[ke.List=2]="List",ke[ke.PercentSign=3]="PercentSign",ke[ke.PlusSign=4]="PlusSign",ke[ke.MinusSign=5]="MinusSign",ke[ke.Exponential=6]="Exponential",ke[ke.SuperscriptingExponent=7]="SuperscriptingExponent",ke[ke.PerMille=8]="PerMille",ke[ke.Infinity=9]="Infinity",ke[ke.NaN=10]="NaN",ke[ke.TimeSeparator=11]="TimeSeparator",ke[ke.CurrencyDecimal=12]="CurrencyDecimal",ke[ke.CurrencyGroup=13]="CurrencyGroup",ke))();function he(K,se){return ai((0,c.cg1)(K)[c.wAp.DateFormat],se)}function nt(K,se){return ai((0,c.cg1)(K)[c.wAp.TimeFormat],se)}function Yt(K,se){return ai((0,c.cg1)(K)[c.wAp.DateTimeFormat],se)}function Lt(K,se){const W=(0,c.cg1)(K),ge=W[c.wAp.NumberSymbols][se];if(void 0===ge){if(se===ke.CurrencyDecimal)return W[c.wAp.NumberSymbols][ke.Decimal];if(se===ke.CurrencyGroup)return W[c.wAp.NumberSymbols][ke.Group]}return ge}function ut(K){if(!K[c.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${K[c.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function ai(K,se){for(let W=se;W>-1;W--)if(void 0!==K[W])return K[W];throw new Error("Locale data API: locale data undefined")}function ti(K){const[se,W]=K.split(":");return{hours:+se,minutes:+W}}const A=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,et={},Fe=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var we=(()=>((we=we||{})[we.Short=0]="Short",we[we.ShortGMT=1]="ShortGMT",we[we.Long=2]="Long",we[we.Extended=3]="Extended",we))(),De=(()=>((De=De||{})[De.FullYear=0]="FullYear",De[De.Month=1]="Month",De[De.Date=2]="Date",De[De.Hours=3]="Hours",De[De.Minutes=4]="Minutes",De[De.Seconds=5]="Seconds",De[De.FractionalSeconds=6]="FractionalSeconds",De[De.Day=7]="Day",De))(),ct=(()=>((ct=ct||{})[ct.DayPeriods=0]="DayPeriods",ct[ct.Days=1]="Days",ct[ct.Months=2]="Months",ct[ct.Eras=3]="Eras",ct))();function Et(K,se,W,ge){let ze=function pt(K){if(qt(K))return K;if("number"==typeof K&&!isNaN(K))return new Date(K);if("string"==typeof K){if(K=K.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(K)){const[ze,Pt=1,Ht=1]=K.split("-").map(wi=>+wi);return Gt(ze,Pt-1,Ht)}const W=parseFloat(K);if(!isNaN(K-W))return new Date(W);let ge;if(ge=K.match(A))return function ot(K){const se=new Date(0);let W=0,ge=0;const ze=K[8]?se.setUTCFullYear:se.setFullYear,Pt=K[8]?se.setUTCHours:se.setHours;K[9]&&(W=Number(K[9]+K[10]),ge=Number(K[9]+K[11])),ze.call(se,Number(K[1]),Number(K[2])-1,Number(K[3]));const Ht=Number(K[4]||0)-W,wi=Number(K[5]||0)-ge,Bn=Number(K[6]||0),Ui=Math.floor(1e3*parseFloat("0."+(K[7]||0)));return Pt.call(se,Ht,wi,Bn,Ui),se}(ge)}const se=new Date(K);if(!qt(se))throw new Error(`Unable to convert "${K}" into a date`);return se}(K);se=_i(W,se)||se;let wi,Ht=[];for(;se;){if(wi=Fe.exec(se),!wi){Ht.push(se);break}{Ht=Ht.concat(wi.slice(1));const Wn=Ht.pop();if(!Wn)break;se=Wn}}let Bn=ze.getTimezoneOffset();ge&&(Bn=It(ge,Bn),ze=function Ee(K,se,W){const ge=W?-1:1,ze=K.getTimezoneOffset();return function ci(K,se){return(K=new Date(K.getTime())).setMinutes(K.getMinutes()+se),K}(K,ge*(It(se,ze)-ze))}(ze,ge,!0));let Ui="";return Ht.forEach(Wn=>{const An=function Vi(K){if(si[K])return si[K];let se;switch(K){case"G":case"GG":case"GGG":se=Hi(ct.Eras,qe.Abbreviated);break;case"GGGG":se=Hi(ct.Eras,qe.Wide);break;case"GGGGG":se=Hi(ct.Eras,qe.Narrow);break;case"y":se=xi(De.FullYear,1,0,!1,!0);break;case"yy":se=xi(De.FullYear,2,0,!0,!0);break;case"yyy":se=xi(De.FullYear,3,0,!1,!0);break;case"yyyy":se=xi(De.FullYear,4,0,!1,!0);break;case"Y":se=Dt(1);break;case"YY":se=Dt(2,!0);break;case"YYY":se=Dt(3);break;case"YYYY":se=Dt(4);break;case"M":case"L":se=xi(De.Month,1,1);break;case"MM":case"LL":se=xi(De.Month,2,1);break;case"MMM":se=Hi(ct.Months,qe.Abbreviated);break;case"MMMM":se=Hi(ct.Months,qe.Wide);break;case"MMMMM":se=Hi(ct.Months,qe.Narrow);break;case"LLL":se=Hi(ct.Months,qe.Abbreviated,Ye.Standalone);break;case"LLLL":se=Hi(ct.Months,qe.Wide,Ye.Standalone);break;case"LLLLL":se=Hi(ct.Months,qe.Narrow,Ye.Standalone);break;case"w":se=_t(1);break;case"ww":se=_t(2);break;case"W":se=_t(1,!0);break;case"d":se=xi(De.Date,1);break;case"dd":se=xi(De.Date,2);break;case"c":case"cc":se=xi(De.Day,1);break;case"ccc":se=Hi(ct.Days,qe.Abbreviated,Ye.Standalone);break;case"cccc":se=Hi(ct.Days,qe.Wide,Ye.Standalone);break;case"ccccc":se=Hi(ct.Days,qe.Narrow,Ye.Standalone);break;case"cccccc":se=Hi(ct.Days,qe.Short,Ye.Standalone);break;case"E":case"EE":case"EEE":se=Hi(ct.Days,qe.Abbreviated);break;case"EEEE":se=Hi(ct.Days,qe.Wide);break;case"EEEEE":se=Hi(ct.Days,qe.Narrow);break;case"EEEEEE":se=Hi(ct.Days,qe.Short);break;case"a":case"aa":case"aaa":se=Hi(ct.DayPeriods,qe.Abbreviated);break;case"aaaa":se=Hi(ct.DayPeriods,qe.Wide);break;case"aaaaa":se=Hi(ct.DayPeriods,qe.Narrow);break;case"b":case"bb":case"bbb":se=Hi(ct.DayPeriods,qe.Abbreviated,Ye.Standalone,!0);break;case"bbbb":se=Hi(ct.DayPeriods,qe.Wide,Ye.Standalone,!0);break;case"bbbbb":se=Hi(ct.DayPeriods,qe.Narrow,Ye.Standalone,!0);break;case"B":case"BB":case"BBB":se=Hi(ct.DayPeriods,qe.Abbreviated,Ye.Format,!0);break;case"BBBB":se=Hi(ct.DayPeriods,qe.Wide,Ye.Format,!0);break;case"BBBBB":se=Hi(ct.DayPeriods,qe.Narrow,Ye.Format,!0);break;case"h":se=xi(De.Hours,1,-12);break;case"hh":se=xi(De.Hours,2,-12);break;case"H":se=xi(De.Hours,1);break;case"HH":se=xi(De.Hours,2);break;case"m":se=xi(De.Minutes,1);break;case"mm":se=xi(De.Minutes,2);break;case"s":se=xi(De.Seconds,1);break;case"ss":se=xi(De.Seconds,2);break;case"S":se=xi(De.FractionalSeconds,1);break;case"SS":se=xi(De.FractionalSeconds,2);break;case"SSS":se=xi(De.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":se=it(we.Short);break;case"ZZZZZ":se=it(we.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":se=it(we.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":se=it(we.Long);break;default:return null}return si[K]=se,se}(Wn);Ui+=An?An(ze,W,Bn):"''"===Wn?"'":Wn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Ui}function Gt(K,se,W){const ge=new Date(0);return ge.setFullYear(K,se,W),ge.setHours(0,0,0),ge}function _i(K,se){const W=function kt(K){return(0,c.cg1)(K)[c.wAp.LocaleId]}(K);if(et[W]=et[W]||{},et[W][se])return et[W][se];let ge="";switch(se){case"shortDate":ge=he(K,ie.Short);break;case"mediumDate":ge=he(K,ie.Medium);break;case"longDate":ge=he(K,ie.Long);break;case"fullDate":ge=he(K,ie.Full);break;case"shortTime":ge=nt(K,ie.Short);break;case"mediumTime":ge=nt(K,ie.Medium);break;case"longTime":ge=nt(K,ie.Long);break;case"fullTime":ge=nt(K,ie.Full);break;case"short":const ze=_i(K,"shortTime"),Pt=_i(K,"shortDate");ge=di(Yt(K,ie.Short),[ze,Pt]);break;case"medium":const Ht=_i(K,"mediumTime"),wi=_i(K,"mediumDate");ge=di(Yt(K,ie.Medium),[Ht,wi]);break;case"long":const Bn=_i(K,"longTime"),Ui=_i(K,"longDate");ge=di(Yt(K,ie.Long),[Bn,Ui]);break;case"full":const Wn=_i(K,"fullTime"),An=_i(K,"fullDate");ge=di(Yt(K,ie.Full),[Wn,An])}return ge&&(et[W][se]=ge),ge}function di(K,se){return se&&(K=K.replace(/\{([^}]+)}/g,function(W,ge){return null!=se&&ge in se?se[ge]:W})),K}function zt(K,se,W="-",ge,ze){let Pt="";(K<0||ze&&K<=0)&&(ze?K=1-K:(K=-K,Pt=W));let Ht=String(K);for(;Ht.length0||wi>-W)&&(wi+=W),K===De.Hours)0===wi&&-12===W&&(wi=12);else if(K===De.FractionalSeconds)return function Bi(K,se){return zt(K,3).substring(0,se)}(wi,se);const Bn=Lt(Ht,ke.MinusSign);return zt(wi,se,Bn,ge,ze)}}function Hi(K,se,W=Ye.Format,ge=!1){return function(ze,Pt){return function ht(K,se,W,ge,ze,Pt){switch(W){case ct.Months:return function Wt(K,se,W){const ge=(0,c.cg1)(K),Pt=ai([ge[c.wAp.MonthsFormat],ge[c.wAp.MonthsStandalone]],se);return ai(Pt,W)}(se,ze,ge)[K.getMonth()];case ct.Days:return function bt(K,se,W){const ge=(0,c.cg1)(K),Pt=ai([ge[c.wAp.DaysFormat],ge[c.wAp.DaysStandalone]],se);return ai(Pt,W)}(se,ze,ge)[K.getDay()];case ct.DayPeriods:const Ht=K.getHours(),wi=K.getMinutes();if(Pt){const Ui=function ni(K){const se=(0,c.cg1)(K);return ut(se),(se[c.wAp.ExtraData][2]||[]).map(ge=>"string"==typeof ge?ti(ge):[ti(ge[0]),ti(ge[1])])}(se),Wn=function ki(K,se,W){const ge=(0,c.cg1)(K);ut(ge);const Pt=ai([ge[c.wAp.ExtraData][0],ge[c.wAp.ExtraData][1]],se)||[];return ai(Pt,W)||[]}(se,ze,ge),An=Ui.findIndex(ka=>{if(Array.isArray(ka)){const[Gn,Qn]=ka,go=Ht>=Gn.hours&&wi>=Gn.minutes,ao=Ht0?Math.floor(ze/60):Math.ceil(ze/60);switch(K){case we.Short:return(ze>=0?"+":"")+zt(Ht,2,Pt)+zt(Math.abs(ze%60),2,Pt);case we.ShortGMT:return"GMT"+(ze>=0?"+":"")+zt(Ht,1,Pt);case we.Long:return"GMT"+(ze>=0?"+":"")+zt(Ht,2,Pt)+":"+zt(Math.abs(ze%60),2,Pt);case we.Extended:return 0===ge?"Z":(ze>=0?"+":"")+zt(Ht,2,Pt)+":"+zt(Math.abs(ze%60),2,Pt);default:throw new Error(`Unknown zone width "${K}"`)}}}function Ie(K){return Gt(K.getFullYear(),K.getMonth(),K.getDate()+(4-K.getDay()))}function _t(K,se=!1){return function(W,ge){let ze;if(se){const Pt=new Date(W.getFullYear(),W.getMonth(),1).getDay()-1,Ht=W.getDate();ze=1+Math.floor((Ht+Pt)/7)}else{const Pt=Ie(W),Ht=function We(K){const se=Gt(K,0,1).getDay();return Gt(K,0,1+(se<=4?4:11)-se)}(Pt.getFullYear()),wi=Pt.getTime()-Ht.getTime();ze=1+Math.round(wi/6048e5)}return zt(ze,K,Lt(ge,ke.MinusSign))}}function Dt(K,se=!1){return function(W,ge){return zt(Ie(W).getFullYear(),K,Lt(ge,ke.MinusSign),se)}}const si={};function It(K,se){K=K.replace(/:/g,"");const W=Date.parse("Jan 01, 1970 00:00:00 "+K)/6e4;return isNaN(W)?se:W}function qt(K){return K instanceof Date&&!isNaN(K.valueOf())}function $i(K,se){se=encodeURIComponent(se);for(const W of K.split(";")){const ge=W.indexOf("="),[ze,Pt]=-1==ge?[W,""]:[W.slice(0,ge),W.slice(ge+1)];if(ze.trim()===se)return decodeURIComponent(Pt)}return null}let Rt=(()=>{class K{constructor(W,ge,ze,Pt){this._iterableDiffers=W,this._keyValueDiffers=ge,this._ngEl=ze,this._renderer=Pt,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(W){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof W?W.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(W){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof W?W.split(/\s+/):W,this._rawClass&&((0,c.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const W=this._iterableDiffer.diff(this._rawClass);W&&this._applyIterableChanges(W)}else if(this._keyValueDiffer){const W=this._keyValueDiffer.diff(this._rawClass);W&&this._applyKeyValueChanges(W)}}_applyKeyValueChanges(W){W.forEachAddedItem(ge=>this._toggleClass(ge.key,ge.currentValue)),W.forEachChangedItem(ge=>this._toggleClass(ge.key,ge.currentValue)),W.forEachRemovedItem(ge=>{ge.previousValue&&this._toggleClass(ge.key,!1)})}_applyIterableChanges(W){W.forEachAddedItem(ge=>{if("string"!=typeof ge.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,c.AaK)(ge.item)}`);this._toggleClass(ge.item,!0)}),W.forEachRemovedItem(ge=>this._toggleClass(ge.item,!1))}_applyClasses(W){W&&(Array.isArray(W)||W instanceof Set?W.forEach(ge=>this._toggleClass(ge,!0)):Object.keys(W).forEach(ge=>this._toggleClass(ge,!!W[ge])))}_removeClasses(W){W&&(Array.isArray(W)||W instanceof Set?W.forEach(ge=>this._toggleClass(ge,!1)):Object.keys(W).forEach(ge=>this._toggleClass(ge,!1)))}_toggleClass(W,ge){(W=W.trim())&&W.split(/\s+/g).forEach(ze=>{ge?this._renderer.addClass(this._ngEl.nativeElement,ze):this._renderer.removeClass(this._ngEl.nativeElement,ze)})}}return K.\u0275fac=function(W){return new(W||K)(c.Y36(c.ZZ4),c.Y36(c.aQg),c.Y36(c.SBq),c.Y36(c.Qsj))},K.\u0275dir=c.lG2({type:K,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),K})();class Ia{constructor(se,W,ge,ze){this.$implicit=se,this.ngForOf=W,this.index=ge,this.count=ze}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Qa=(()=>{class K{constructor(W,ge,ze){this._viewContainer=W,this._template=ge,this._differs=ze,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(W){this._ngForOf=W,this._ngForOfDirty=!0}set ngForTrackBy(W){this._trackByFn=W}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(W){W&&(this._template=W)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const W=this._ngForOf;!this._differ&&W&&(this._differ=this._differs.find(W).create(this.ngForTrackBy))}if(this._differ){const W=this._differ.diff(this._ngForOf);W&&this._applyChanges(W)}}_applyChanges(W){const ge=this._viewContainer;W.forEachOperation((ze,Pt,Ht)=>{if(null==ze.previousIndex)ge.createEmbeddedView(this._template,new Ia(ze.item,this._ngForOf,-1,-1),null===Ht?void 0:Ht);else if(null==Ht)ge.remove(null===Pt?void 0:Pt);else if(null!==Pt){const wi=ge.get(Pt);ge.move(wi,Ht),No(wi,ze)}});for(let ze=0,Pt=ge.length;ze{No(ge.get(ze.currentIndex),ze)})}static ngTemplateContextGuard(W,ge){return!0}}return K.\u0275fac=function(W){return new(W||K)(c.Y36(c.s_b),c.Y36(c.Rgc),c.Y36(c.ZZ4))},K.\u0275dir=c.lG2({type:K,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),K})();function No(K,se){K.context.$implicit=se.item}let Ba=(()=>{class K{constructor(W,ge){this._viewContainer=W,this._context=new sr,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=ge}set ngIf(W){this._context.$implicit=this._context.ngIf=W,this._updateView()}set ngIfThen(W){Un("ngIfThen",W),this._thenTemplateRef=W,this._thenViewRef=null,this._updateView()}set ngIfElse(W){Un("ngIfElse",W),this._elseTemplateRef=W,this._elseViewRef=null,this._updateView()}_updateView(){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)))}static ngTemplateContextGuard(W,ge){return!0}}return K.\u0275fac=function(W){return new(W||K)(c.Y36(c.s_b),c.Y36(c.Rgc))},K.\u0275dir=c.lG2({type:K,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),K})();class sr{constructor(){this.$implicit=null,this.ngIf=null}}function Un(K,se){if(se&&!se.createEmbeddedView)throw new Error(`${K} must be a TemplateRef, but received '${(0,c.AaK)(se)}'.`)}class Aa{constructor(se,W){this._viewContainerRef=se,this._templateRef=W,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(se){se&&!this._created?this.create():!se&&this._created&&this.destroy()}}let Fr=(()=>{class K{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(W){this._ngSwitch=W,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(W){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(W)}_matchCase(W){const ge=W==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||ge,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),ge}_updateDefaultCases(W){if(this._defaultViews&&W!==this._defaultUsed){this._defaultUsed=W;for(let ge=0;ge{class K{constructor(W,ge,ze){this.ngSwitch=ze,ze._addCase(),this._view=new Aa(W,ge)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return K.\u0275fac=function(W){return new(W||K)(c.Y36(c.s_b),c.Y36(c.Rgc),c.Y36(Fr,9))},K.\u0275dir=c.lG2({type:K,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),K})(),Bo=(()=>{class K{constructor(W,ge,ze){ze._addDefault(new Aa(W,ge))}}return K.\u0275fac=function(W){return new(W||K)(c.Y36(c.s_b),c.Y36(c.Rgc),c.Y36(Fr,9))},K.\u0275dir=c.lG2({type:K,selectors:[["","ngSwitchDefault",""]],standalone:!0}),K})(),Ya=(()=>{class K{constructor(W,ge,ze){this._ngEl=W,this._differs=ge,this._renderer=ze,this._ngStyle=null,this._differ=null}set ngStyle(W){this._ngStyle=W,!this._differ&&W&&(this._differ=this._differs.find(W).create())}ngDoCheck(){if(this._differ){const W=this._differ.diff(this._ngStyle);W&&this._applyChanges(W)}}_setStyle(W,ge){const[ze,Pt]=W.split("."),Ht=-1===ze.indexOf("-")?void 0:c.JOm.DashCase;null!=ge?this._renderer.setStyle(this._ngEl.nativeElement,ze,Pt?`${ge}${Pt}`:ge,Ht):this._renderer.removeStyle(this._ngEl.nativeElement,ze,Ht)}_applyChanges(W){W.forEachRemovedItem(ge=>this._setStyle(ge.key,null)),W.forEachAddedItem(ge=>this._setStyle(ge.key,ge.currentValue)),W.forEachChangedItem(ge=>this._setStyle(ge.key,ge.currentValue))}}return K.\u0275fac=function(W){return new(W||K)(c.Y36(c.SBq),c.Y36(c.aQg),c.Y36(c.Qsj))},K.\u0275dir=c.lG2({type:K,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),K})(),Br=(()=>{class K{constructor(W){this._viewContainerRef=W,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(W){if(W.ngTemplateOutlet||W.ngTemplateOutletInjector){const ge=this._viewContainerRef;if(this._viewRef&&ge.remove(ge.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:ze,ngTemplateOutletContext:Pt,ngTemplateOutletInjector:Ht}=this;this._viewRef=ge.createEmbeddedView(ze,Pt,Ht?{injector:Ht}:void 0)}else this._viewRef=null}else this._viewRef&&W.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return K.\u0275fac=function(W){return new(W||K)(c.Y36(c.s_b))},K.\u0275dir=c.lG2({type:K,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[c.TTD]}),K})();function Nn(K,se){return new c.vHH(2100,!1)}class Ta{createSubscription(se,W){return se.subscribe({next:W,error:ge=>{throw ge}})}dispose(se){se.unsubscribe()}}class Mo{createSubscription(se,W){return se.then(W,ge=>{throw ge})}dispose(se){}}const an=new Mo,sc=new Ta;let Ks=(()=>{class K{constructor(W){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=W}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(W){return this._obj?W!==this._obj?(this._dispose(),this.transform(W)):this._latestValue:(W&&this._subscribe(W),this._latestValue)}_subscribe(W){this._obj=W,this._strategy=this._selectStrategy(W),this._subscription=this._strategy.createSubscription(W,ge=>this._updateLatestValue(W,ge))}_selectStrategy(W){if((0,c.QGY)(W))return an;if((0,c.F4k)(W))return sc;throw Nn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(W,ge){W===this._obj&&(this._latestValue=ge,this._ref.markForCheck())}}return K.\u0275fac=function(W){return new(W||K)(c.Y36(c.sBO,16))},K.\u0275pipe=c.Yjl({name:"async",type:K,pure:!1,standalone:!0}),K})(),Ur=(()=>{class K{transform(W){if(null==W)return null;if("string"!=typeof W)throw Nn();return W.toUpperCase()}}return K.\u0275fac=function(W){return new(W||K)},K.\u0275pipe=c.Yjl({name:"uppercase",type:K,pure:!0,standalone:!0}),K})();const Ws=new c.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let qs=(()=>{class K{constructor(W,ge){this.locale=W,this.defaultTimezone=ge}transform(W,ge="mediumDate",ze,Pt){var Ht;if(null==W||""===W||W!=W)return null;try{return Et(W,ge,Pt||this.locale,null!==(Ht=null!=ze?ze:this.defaultTimezone)&&void 0!==Ht?Ht:void 0)}catch(wi){throw Nn()}}}return K.\u0275fac=function(W){return new(W||K)(c.Y36(c.soG,16),c.Y36(Ws,24))},K.\u0275pipe=c.Yjl({name:"date",type:K,pure:!0,standalone:!0}),K})(),Ha=(()=>{class K{transform(W,ge,ze){if(null==W)return null;if(!this.supports(W))throw Nn();return W.slice(ge,ze)}supports(W){return"string"==typeof W||Array.isArray(W)}}return K.\u0275fac=function(W){return new(W||K)},K.\u0275pipe=c.Yjl({name:"slice",type:K,pure:!1,standalone:!0}),K})(),Jr=(()=>{class K{}return K.\u0275fac=function(W){return new(W||K)},K.\u0275mod=c.oAB({type:K}),K.\u0275inj=c.cJS({}),K})();const Dr="browser";function dr(K){return K===Dr}function Yr(K){return"server"===K}let $r=(()=>{class K{}return K.\u0275prov=(0,c.Yz7)({token:K,providedIn:"root",factory:()=>new Fl((0,c.LFG)(F),window)}),K})();class Fl{constructor(se,W){this.document=se,this.window=W,this.offset=()=>[0,0]}setOffset(se){this.offset=Array.isArray(se)?()=>se:se}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(se){this.supportsScrolling()&&this.window.scrollTo(se[0],se[1])}scrollToAnchor(se){if(!this.supportsScrolling())return;const W=function Zo(K,se){const W=K.getElementById(se)||K.getElementsByName(se)[0];if(W)return W;if("function"==typeof K.createTreeWalker&&K.body&&(K.body.createShadowRoot||K.body.attachShadow)){const ge=K.createTreeWalker(K.body,NodeFilter.SHOW_ELEMENT);let ze=ge.currentNode;for(;ze;){const Pt=ze.shadowRoot;if(Pt){const Ht=Pt.getElementById(se)||Pt.querySelector(`[name="${se}"]`);if(Ht)return Ht}ze=ge.nextNode()}}return null}(this.document,se);W&&(this.scrollToElement(W),W.focus())}setHistoryScrollRestoration(se){if(this.supportScrollRestoration()){const W=this.window.history;W&&W.scrollRestoration&&(W.scrollRestoration=se)}}scrollToElement(se){const W=se.getBoundingClientRect(),ge=W.left+this.window.pageXOffset,ze=W.top+this.window.pageYOffset,Pt=this.offset();this.window.scrollTo(ge-Pt[0],ze-Pt[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const se=ur(this.window.history)||ur(Object.getPrototypeOf(this.window.history));return!(!se||!se.writable&&!se.set)}catch(se){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(se){return!1}}}function ur(K){return Object.getOwnPropertyDescriptor(K,"scrollRestoration")}class zr{}},520:(B,U,C)=>{"use strict";C.d(U,{JF:()=>ee,TP:()=>bt,WM:()=>J,aW:()=>xt,eN:()=>kt});var c=C(9808),m=C(5e3),e=C(9646),b=C(9751),T=C(4351),k=C(9300),F=C(4004);class V{}class X{}class J{constructor(we){this.normalizedNames=new Map,this.lazyUpdate=null,we?this.lazyInit="string"==typeof we?()=>{this.headers=new Map,we.split("\n").forEach(De=>{const ct=De.indexOf(":");if(ct>0){const Et=De.slice(0,ct),Gt=Et.toLowerCase(),_i=De.slice(ct+1).trim();this.maybeSetNormalizedName(Et,Gt),this.headers.has(Gt)?this.headers.get(Gt).push(_i):this.headers.set(Gt,[_i])}})}:()=>{this.headers=new Map,Object.keys(we).forEach(De=>{let ct=we[De];const Et=De.toLowerCase();"string"==typeof ct&&(ct=[ct]),ct.length>0&&(this.headers.set(Et,ct),this.maybeSetNormalizedName(De,Et))})}:this.headers=new Map}has(we){return this.init(),this.headers.has(we.toLowerCase())}get(we){this.init();const De=this.headers.get(we.toLowerCase());return De&&De.length>0?De[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(we){return this.init(),this.headers.get(we.toLowerCase())||null}append(we,De){return this.clone({name:we,value:De,op:"a"})}set(we,De){return this.clone({name:we,value:De,op:"s"})}delete(we,De){return this.clone({name:we,value:De,op:"d"})}maybeSetNormalizedName(we,De){this.normalizedNames.has(De)||this.normalizedNames.set(De,we)}init(){this.lazyInit&&(this.lazyInit instanceof J?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(we=>this.applyUpdate(we)),this.lazyUpdate=null))}copyFrom(we){we.init(),Array.from(we.headers.keys()).forEach(De=>{this.headers.set(De,we.headers.get(De)),this.normalizedNames.set(De,we.normalizedNames.get(De))})}clone(we){const De=new J;return De.lazyInit=this.lazyInit&&this.lazyInit instanceof J?this.lazyInit:this,De.lazyUpdate=(this.lazyUpdate||[]).concat([we]),De}applyUpdate(we){const De=we.name.toLowerCase();switch(we.op){case"a":case"s":let ct=we.value;if("string"==typeof ct&&(ct=[ct]),0===ct.length)return;this.maybeSetNormalizedName(we.name,De);const Et=("a"===we.op?this.headers.get(De):void 0)||[];Et.push(...ct),this.headers.set(De,Et);break;case"d":const Gt=we.value;if(Gt){let _i=this.headers.get(De);if(!_i)return;_i=_i.filter(di=>-1===Gt.indexOf(di)),0===_i.length?(this.headers.delete(De),this.normalizedNames.delete(De)):this.headers.set(De,_i)}else this.headers.delete(De),this.normalizedNames.delete(De)}}forEach(we){this.init(),Array.from(this.normalizedNames.keys()).forEach(De=>we(this.normalizedNames.get(De),this.headers.get(De)))}}class ce{encodeKey(we){return Ge(we)}encodeValue(we){return Ge(we)}decodeKey(we){return decodeURIComponent(we)}decodeValue(we){return decodeURIComponent(we)}}const Pe=/%(\d[a-f0-9])/gi,de={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Ge(Fe){return encodeURIComponent(Fe).replace(Pe,(we,De)=>{var ct;return null!==(ct=de[De])&&void 0!==ct?ct:we})}function le(Fe){return`${Fe}`}class Ne{constructor(we={}){if(this.updates=null,this.cloneFrom=null,this.encoder=we.encoder||new ce,we.fromString){if(we.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Oe(Fe,we){const De=new Map;return Fe.length>0&&Fe.replace(/^\?/,"").split("&").forEach(Et=>{const Gt=Et.indexOf("="),[_i,di]=-1==Gt?[we.decodeKey(Et),""]:[we.decodeKey(Et.slice(0,Gt)),we.decodeValue(Et.slice(Gt+1))],zt=De.get(_i)||[];zt.push(di),De.set(_i,zt)}),De}(we.fromString,this.encoder)}else we.fromObject?(this.map=new Map,Object.keys(we.fromObject).forEach(De=>{const ct=we.fromObject[De],Et=Array.isArray(ct)?ct.map(le):[le(ct)];this.map.set(De,Et)})):this.map=null}has(we){return this.init(),this.map.has(we)}get(we){this.init();const De=this.map.get(we);return De?De[0]:null}getAll(we){return this.init(),this.map.get(we)||null}keys(){return this.init(),Array.from(this.map.keys())}append(we,De){return this.clone({param:we,value:De,op:"a"})}appendAll(we){const De=[];return Object.keys(we).forEach(ct=>{const Et=we[ct];Array.isArray(Et)?Et.forEach(Gt=>{De.push({param:ct,value:Gt,op:"a"})}):De.push({param:ct,value:Et,op:"a"})}),this.clone(De)}set(we,De){return this.clone({param:we,value:De,op:"s"})}delete(we,De){return this.clone({param:we,value:De,op:"d"})}toString(){return this.init(),this.keys().map(we=>{const De=this.encoder.encodeKey(we);return this.map.get(we).map(ct=>De+"="+this.encoder.encodeValue(ct)).join("&")}).filter(we=>""!==we).join("&")}clone(we){const De=new Ne({encoder:this.encoder});return De.cloneFrom=this.cloneFrom||this,De.updates=(this.updates||[]).concat(we),De}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(we=>this.map.set(we,this.cloneFrom.map.get(we))),this.updates.forEach(we=>{switch(we.op){case"a":case"s":const De=("a"===we.op?this.map.get(we.param):void 0)||[];De.push(le(we.value)),this.map.set(we.param,De);break;case"d":if(void 0===we.value){this.map.delete(we.param);break}{let ct=this.map.get(we.param)||[];const Et=ct.indexOf(le(we.value));-1!==Et&&ct.splice(Et,1),ct.length>0?this.map.set(we.param,ct):this.map.delete(we.param)}}}),this.cloneFrom=this.updates=null)}}class jt{constructor(){this.map=new Map}set(we,De){return this.map.set(we,De),this}get(we){return this.map.has(we)||this.map.set(we,we.defaultValue()),this.map.get(we)}delete(we){return this.map.delete(we),this}has(we){return this.map.has(we)}keys(){return this.map.keys()}}function Te(Fe){return"undefined"!=typeof ArrayBuffer&&Fe instanceof ArrayBuffer}function Le(Fe){return"undefined"!=typeof Blob&&Fe instanceof Blob}function at(Fe){return"undefined"!=typeof FormData&&Fe instanceof FormData}class xt{constructor(we,De,ct,Et){let Gt;if(this.url=De,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=we.toUpperCase(),function st(Fe){switch(Fe){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Et?(this.body=void 0!==ct?ct:null,Gt=Et):Gt=ct,Gt&&(this.reportProgress=!!Gt.reportProgress,this.withCredentials=!!Gt.withCredentials,Gt.responseType&&(this.responseType=Gt.responseType),Gt.headers&&(this.headers=Gt.headers),Gt.context&&(this.context=Gt.context),Gt.params&&(this.params=Gt.params)),this.headers||(this.headers=new J),this.context||(this.context=new jt),this.params){const _i=this.params.toString();if(0===_i.length)this.urlWithParams=De;else{const di=De.indexOf("?");this.urlWithParams=De+(-1===di?"?":diHi.set(ht,we.setHeaders[ht]),Bi)),we.setParams&&(xi=Object.keys(we.setParams).reduce((Hi,ht)=>Hi.set(ht,we.setParams[ht]),xi)),new xt(ct,Et,_i,{params:xi,headers:Bi,context:$n,reportProgress:zt,responseType:Gt,withCredentials:di})}}var tt=(()=>((tt=tt||{})[tt.Sent=0]="Sent",tt[tt.UploadProgress=1]="UploadProgress",tt[tt.ResponseHeader=2]="ResponseHeader",tt[tt.DownloadProgress=3]="DownloadProgress",tt[tt.Response=4]="Response",tt[tt.User=5]="User",tt))();class Ye{constructor(we,De=200,ct="OK"){this.headers=we.headers||new J,this.status=void 0!==we.status?we.status:De,this.statusText=we.statusText||ct,this.url=we.url||null,this.ok=this.status>=200&&this.status<300}}class qe extends Ye{constructor(we={}){super(we),this.type=tt.ResponseHeader}clone(we={}){return new qe({headers:we.headers||this.headers,status:void 0!==we.status?we.status:this.status,statusText:we.statusText||this.statusText,url:we.url||this.url||void 0})}}class ie extends Ye{constructor(we={}){super(we),this.type=tt.Response,this.body=void 0!==we.body?we.body:null}clone(we={}){return new ie({body:void 0!==we.body?we.body:this.body,headers:we.headers||this.headers,status:void 0!==we.status?we.status:this.status,statusText:we.statusText||this.statusText,url:we.url||this.url||void 0})}}class ke extends Ye{constructor(we){super(we,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${we.url||"(unknown url)"}`:`Http failure response for ${we.url||"(unknown url)"}: ${we.status} ${we.statusText}`,this.error=we.error||null}}function mt(Fe,we){return{body:we,headers:Fe.headers,context:Fe.context,observe:Fe.observe,params:Fe.params,reportProgress:Fe.reportProgress,responseType:Fe.responseType,withCredentials:Fe.withCredentials}}let kt=(()=>{class Fe{constructor(De){this.handler=De}request(De,ct,Et={}){let Gt;if(De instanceof xt)Gt=De;else{let zt,Bi;zt=Et.headers instanceof J?Et.headers:new J(Et.headers),Et.params&&(Bi=Et.params instanceof Ne?Et.params:new Ne({fromObject:Et.params})),Gt=new xt(De,ct,void 0!==Et.body?Et.body:null,{headers:zt,context:Et.context,params:Bi,reportProgress:Et.reportProgress,responseType:Et.responseType||"json",withCredentials:Et.withCredentials})}const _i=(0,e.of)(Gt).pipe((0,T.b)(zt=>this.handler.handle(zt)));if(De instanceof xt||"events"===Et.observe)return _i;const di=_i.pipe((0,k.h)(zt=>zt instanceof ie));switch(Et.observe||"body"){case"body":switch(Gt.responseType){case"arraybuffer":return di.pipe((0,F.U)(zt=>{if(null!==zt.body&&!(zt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return zt.body}));case"blob":return di.pipe((0,F.U)(zt=>{if(null!==zt.body&&!(zt.body instanceof Blob))throw new Error("Response is not a Blob.");return zt.body}));case"text":return di.pipe((0,F.U)(zt=>{if(null!==zt.body&&"string"!=typeof zt.body)throw new Error("Response is not a string.");return zt.body}));default:return di.pipe((0,F.U)(zt=>zt.body))}case"response":return di;default:throw new Error(`Unreachable: unhandled observe type ${Et.observe}}`)}}delete(De,ct={}){return this.request("DELETE",De,ct)}get(De,ct={}){return this.request("GET",De,ct)}head(De,ct={}){return this.request("HEAD",De,ct)}jsonp(De,ct){return this.request("JSONP",De,{params:(new Ne).append(ct,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(De,ct={}){return this.request("OPTIONS",De,ct)}patch(De,ct,Et={}){return this.request("PATCH",De,mt(Et,ct))}post(De,ct,Et={}){return this.request("POST",De,mt(Et,ct))}put(De,ct,Et={}){return this.request("PUT",De,mt(Et,ct))}}return Fe.\u0275fac=function(De){return new(De||Fe)(m.LFG(V))},Fe.\u0275prov=m.Yz7({token:Fe,factory:Fe.\u0275fac}),Fe})();class ri{constructor(we,De){this.next=we,this.interceptor=De}handle(we){return this.interceptor.intercept(we,this.next)}}const bt=new m.OlP("HTTP_INTERCEPTORS");let Wt=(()=>{class Fe{intercept(De,ct){return ct.handle(De)}}return Fe.\u0275fac=function(De){return new(De||Fe)},Fe.\u0275prov=m.Yz7({token:Fe,factory:Fe.\u0275fac}),Fe})();const hi=/^\)\]\}',?\n/;let Tt=(()=>{class Fe{constructor(De){this.xhrFactory=De}handle(De){if("JSONP"===De.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new b.y(ct=>{const Et=this.xhrFactory.build();if(Et.open(De.method,De.urlWithParams),De.withCredentials&&(Et.withCredentials=!0),De.headers.forEach((ht,it)=>Et.setRequestHeader(ht,it.join(","))),De.headers.has("Accept")||Et.setRequestHeader("Accept","application/json, text/plain, */*"),!De.headers.has("Content-Type")){const ht=De.detectContentTypeHeader();null!==ht&&Et.setRequestHeader("Content-Type",ht)}if(De.responseType){const ht=De.responseType.toLowerCase();Et.responseType="json"!==ht?ht:"text"}const Gt=De.serializeBody();let _i=null;const di=()=>{if(null!==_i)return _i;const ht=Et.statusText||"OK",it=new J(Et.getAllResponseHeaders()),Qe=function ne(Fe){return"responseURL"in Fe&&Fe.responseURL?Fe.responseURL:/^X-Request-URL:/m.test(Fe.getAllResponseHeaders())?Fe.getResponseHeader("X-Request-URL"):null}(Et)||De.url;return _i=new qe({headers:it,status:Et.status,statusText:ht,url:Qe}),_i},zt=()=>{let{headers:ht,status:it,statusText:Qe,url:Re}=di(),We=null;204!==it&&(We=void 0===Et.response?Et.responseText:Et.response),0===it&&(it=We?200:0);let Ie=it>=200&&it<300;if("json"===De.responseType&&"string"==typeof We){const _t=We;We=We.replace(hi,"");try{We=""!==We?JSON.parse(We):null}catch(Dt){We=_t,Ie&&(Ie=!1,We={error:Dt,text:We})}}Ie?(ct.next(new ie({body:We,headers:ht,status:it,statusText:Qe,url:Re||void 0})),ct.complete()):ct.error(new ke({error:We,headers:ht,status:it,statusText:Qe,url:Re||void 0}))},Bi=ht=>{const{url:it}=di(),Qe=new ke({error:ht,status:Et.status||0,statusText:Et.statusText||"Unknown Error",url:it||void 0});ct.error(Qe)};let xi=!1;const $n=ht=>{xi||(ct.next(di()),xi=!0);let it={type:tt.DownloadProgress,loaded:ht.loaded};ht.lengthComputable&&(it.total=ht.total),"text"===De.responseType&&!!Et.responseText&&(it.partialText=Et.responseText),ct.next(it)},Hi=ht=>{let it={type:tt.UploadProgress,loaded:ht.loaded};ht.lengthComputable&&(it.total=ht.total),ct.next(it)};return Et.addEventListener("load",zt),Et.addEventListener("error",Bi),Et.addEventListener("timeout",Bi),Et.addEventListener("abort",Bi),De.reportProgress&&(Et.addEventListener("progress",$n),null!==Gt&&Et.upload&&Et.upload.addEventListener("progress",Hi)),Et.send(Gt),ct.next({type:tt.Sent}),()=>{Et.removeEventListener("error",Bi),Et.removeEventListener("abort",Bi),Et.removeEventListener("load",zt),Et.removeEventListener("timeout",Bi),De.reportProgress&&(Et.removeEventListener("progress",$n),null!==Gt&&Et.upload&&Et.upload.removeEventListener("progress",Hi)),Et.readyState!==Et.DONE&&Et.abort()}})}}return Fe.\u0275fac=function(De){return new(De||Fe)(m.LFG(c.JF))},Fe.\u0275prov=m.Yz7({token:Fe,factory:Fe.\u0275fac}),Fe})();const Se=new m.OlP("XSRF_COOKIE_NAME"),ut=new m.OlP("XSRF_HEADER_NAME");class ni{}let ki=(()=>{class Fe{constructor(De,ct,Et){this.doc=De,this.platform=ct,this.cookieName=Et,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const De=this.doc.cookie||"";return De!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,c.Mx)(De,this.cookieName),this.lastCookieString=De),this.lastToken}}return Fe.\u0275fac=function(De){return new(De||Fe)(m.LFG(c.K0),m.LFG(m.Lbi),m.LFG(Se))},Fe.\u0275prov=m.Yz7({token:Fe,factory:Fe.\u0275fac}),Fe})(),dn=(()=>{class Fe{constructor(De,ct){this.tokenService=De,this.headerName=ct}intercept(De,ct){const Et=De.url.toLowerCase();if("GET"===De.method||"HEAD"===De.method||Et.startsWith("http://")||Et.startsWith("https://"))return ct.handle(De);const Gt=this.tokenService.getToken();return null!==Gt&&!De.headers.has(this.headerName)&&(De=De.clone({headers:De.headers.set(this.headerName,Gt)})),ct.handle(De)}}return Fe.\u0275fac=function(De){return new(De||Fe)(m.LFG(ni),m.LFG(ut))},Fe.\u0275prov=m.Yz7({token:Fe,factory:Fe.\u0275fac}),Fe})(),ai=(()=>{class Fe{constructor(De,ct){this.backend=De,this.injector=ct,this.chain=null}handle(De){if(null===this.chain){const ct=this.injector.get(bt,[]);this.chain=ct.reduceRight((Et,Gt)=>new ri(Et,Gt),this.backend)}return this.chain.handle(De)}}return Fe.\u0275fac=function(De){return new(De||Fe)(m.LFG(X),m.LFG(m.zs3))},Fe.\u0275prov=m.Yz7({token:Fe,factory:Fe.\u0275fac}),Fe})(),Y=(()=>{class Fe{static disable(){return{ngModule:Fe,providers:[{provide:dn,useClass:Wt}]}}static withOptions(De={}){return{ngModule:Fe,providers:[De.cookieName?{provide:Se,useValue:De.cookieName}:[],De.headerName?{provide:ut,useValue:De.headerName}:[]]}}}return Fe.\u0275fac=function(De){return new(De||Fe)},Fe.\u0275mod=m.oAB({type:Fe}),Fe.\u0275inj=m.cJS({providers:[dn,{provide:bt,useExisting:dn,multi:!0},{provide:ni,useClass:ki},{provide:Se,useValue:"XSRF-TOKEN"},{provide:ut,useValue:"X-XSRF-TOKEN"}]}),Fe})(),ee=(()=>{class Fe{}return Fe.\u0275fac=function(De){return new(De||Fe)},Fe.\u0275mod=m.oAB({type:Fe}),Fe.\u0275inj=m.cJS({providers:[kt,{provide:V,useClass:ai},Tt,{provide:X,useExisting:Tt}],imports:[Y.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),Fe})()},5e3:(B,U,C)=>{"use strict";C.d(U,{$8M:()=>vl,$Z:()=>Oh,AFp:()=>Ny,ALo:()=>Fx,AaK:()=>V,Akn:()=>Vs,AsE:()=>uf,BQk:()=>Cd,CHM:()=>er,CRH:()=>qx,CZH:()=>Df,CqO:()=>fl,D6c:()=>w2,DdM:()=>Sx,Dn7:()=>Ux,EJc:()=>Hy,EiD:()=>Zu,EpF:()=>Lc,F$t:()=>Io,F4k:()=>em,FYo:()=>uh,FiY:()=>Jc,G48:()=>c2,Gf:()=>jx,GfV:()=>Kn,GkF:()=>bs,Gpc:()=>ue,Gre:()=>sm,HOy:()=>pf,Hsn:()=>im,Ikx:()=>um,JOm:()=>Tl,JVY:()=>nh,Jf7:()=>hh,KtG:()=>pr,L6k:()=>Hm,LAX:()=>Vm,LFG:()=>so,LSH:()=>zd,Lbi:()=>By,Lck:()=>Ib,MAs:()=>On,MGl:()=>xd,MMx:()=>Tv,NdJ:()=>tc,O4$:()=>wi,OlP:()=>ca,Oqu:()=>df,PXZ:()=>a2,Q6J:()=>gl,QGY:()=>Pi,QP$:()=>qt,QbO:()=>Uy,Qsj:()=>ju,R0b:()=>Pl,RDi:()=>Gf,Rgc:()=>gm,SBq:()=>Wo,Sil:()=>Gy,Suo:()=>Wx,TTD:()=>qr,TgZ:()=>qo,Tol:()=>rf,Udp:()=>Sp,VKq:()=>Ax,W1O:()=>Qx,WFA:()=>f_,WLB:()=>Lx,XFs:()=>ai,Xpm:()=>Re,Xts:()=>nr,Y36:()=>t_,YKP:()=>vx,YNc:()=>fd,Yjl:()=>ci,Yz7:()=>nt,Z0I:()=>ei,ZZ4:()=>qv,_Bn:()=>Cx,_UZ:()=>Qh,_Vd:()=>Ku,_c5:()=>D2,_uU:()=>cf,aQg:()=>Jv,c2e:()=>Zy,cJS:()=>Lt,cg1:()=>ff,d8E:()=>_m,dDg:()=>Xy,dqk:()=>Et,eBb:()=>ah,eFA:()=>D1,ekj:()=>v_,eoX:()=>y1,f3M:()=>fc,g9A:()=>h1,h0i:()=>Op,hGG:()=>E2,hYB:()=>Ir,hij:()=>rm,iGM:()=>Kx,ifc:()=>ct,ip1:()=>Fy,jDz:()=>bx,kL8:()=>uv,kcU:()=>Ui,lG2:()=>It,lcZ:()=>Nx,lnq:()=>_f,lqb:()=>Qd,lri:()=>x1,mCW:()=>j_,n5z:()=>jc,n_E:()=>bf,oAB:()=>Dt,oJD:()=>$d,oxw:()=>qC,pB0:()=>x0,q3G:()=>Ua,qLn:()=>iu,qOj:()=>yp,qZA:()=>Ep,qzn:()=>Jl,rWj:()=>b1,s9C:()=>ic,sBO:()=>d2,sIi:()=>__,s_b:()=>Tf,soG:()=>Ef,tb:()=>m1,tp0:()=>Zd,uIk:()=>Vg,vHH:()=>de,vpe:()=>Fc,wAp:()=>_n,xi3:()=>Bx,xp6:()=>xh,ynx:()=>g_,z2F:()=>wf,z3N:()=>ll,zSh:()=>q_,zs3:()=>vr});var c=C(7579),m=C(727),e=C(9751),b=C(6451),T=C(3099);function k(s){for(let d in s)if(s[d]===k)return d;throw Error("Could not find renamed property on target object.")}function F(s,d){for(const _ in d)d.hasOwnProperty(_)&&!s.hasOwnProperty(_)&&(s[_]=d[_])}function V(s){if("string"==typeof s)return s;if(Array.isArray(s))return"["+s.map(V).join(", ")+"]";if(null==s)return""+s;if(s.overriddenName)return`${s.overriddenName}`;if(s.name)return`${s.name}`;const d=s.toString();if(null==d)return""+d;const _=d.indexOf("\n");return-1===_?d:d.substring(0,_)}function X(s,d){return null==s||""===s?null===d?"":d:null==d||""===d?s:s+" "+d}const J=k({__forward_ref__:k});function ue(s){return s.__forward_ref__=ue,s.toString=function(){return V(this())},s}function ce(s){return Oe(s)?s():s}function Oe(s){return"function"==typeof s&&s.hasOwnProperty(J)&&s.__forward_ref__===ue}class de extends Error{constructor(d,_){super(function Ge(s,d){return`NG0${Math.abs(s)}${d?": "+d.trim():""}`}(d,_)),this.code=d}}function le(s){return"string"==typeof s?s:null==s?"":String(s)}function Te(s,d){throw new de(-201,!1)}function Wt(s,d){null==s&&function ye(s,d,_,g){throw new Error(`ASSERTION ERROR: ${s}`+(null==g?"":` [Expected=> ${_} ${g} ${d} <=Actual]`))}(d,s,null,"!=")}function nt(s){return{token:s.token,providedIn:s.providedIn||null,factory:s.factory,value:void 0}}function Lt(s){return{providers:s.providers||[],imports:s.imports||[]}}function Ai(s){return hi(s,ut)||hi(s,ki)}function ei(s){return null!==Ai(s)}function hi(s,d){return s.hasOwnProperty(d)?s[d]:null}function Se(s){return s&&(s.hasOwnProperty(ni)||s.hasOwnProperty(dn))?s[ni]:null}const ut=k({\u0275prov:k}),ni=k({\u0275inj:k}),ki=k({ngInjectableDef:k}),dn=k({ngInjectorDef:k});var ai=(()=>((ai=ai||{})[ai.Default=0]="Default",ai[ai.Host=1]="Host",ai[ai.Self=2]="Self",ai[ai.SkipSelf=4]="SkipSelf",ai[ai.Optional=8]="Optional",ai))();let ti;function Y(s){const d=ti;return ti=s,d}function ee(s,d,_){const g=Ai(s);return g&&"root"==g.providedIn?void 0===g.value?g.value=g.factory():g.value:_&ai.Optional?null:void 0!==d?d:void Te(V(s))}function et(s){return{toString:s}.toString()}var Fe=(()=>((Fe=Fe||{})[Fe.OnPush=0]="OnPush",Fe[Fe.Default=1]="Default",Fe))(),ct=(()=>{return(s=ct||(ct={}))[s.Emulated=0]="Emulated",s[s.None=2]="None",s[s.ShadowDom=3]="ShadowDom",ct;var s})();const Et=(()=>"undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof global&&global||"undefined"!=typeof window&&window||"undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self)(),di={},zt=[],Bi=k({\u0275cmp:k}),xi=k({\u0275dir:k}),$n=k({\u0275pipe:k}),Hi=k({\u0275mod:k}),ht=k({\u0275fac:k}),it=k({__NG_ELEMENT_ID__:k});let Qe=0;function Re(s){return et(()=>{const _=!0===s.standalone,g={},v={type:s.type,providersResolver:null,decls:s.decls,vars:s.vars,factory:null,template:s.template||null,consts:s.consts||null,ngContentSelectors:s.ngContentSelectors,hostBindings:s.hostBindings||null,hostVars:s.hostVars||0,hostAttrs:s.hostAttrs||null,contentQueries:s.contentQueries||null,declaredInputs:g,inputs:null,outputs:null,exportAs:s.exportAs||null,onPush:s.changeDetection===Fe.OnPush,directiveDefs:null,pipeDefs:null,standalone:_,dependencies:_&&s.dependencies||null,getStandaloneInjector:null,selectors:s.selectors||zt,viewQuery:s.viewQuery||null,features:s.features||null,data:s.data||{},encapsulation:s.encapsulation||ct.Emulated,id:"c"+Qe++,styles:s.styles||zt,_:null,setInput:null,schemas:s.schemas||null,tView:null},y=s.dependencies,w=s.features;return v.inputs=Vi(s.inputs,g),v.outputs=Vi(s.outputs),w&&w.forEach(R=>R(v)),v.directiveDefs=y?()=>("function"==typeof y?y():y).map(Ie).filter(_t):null,v.pipeDefs=y?()=>("function"==typeof y?y():y).map(ot).filter(_t):null,v})}function Ie(s){return Ee(s)||pt(s)}function _t(s){return null!==s}function Dt(s){return et(()=>({type:s.type,bootstrap:s.bootstrap||zt,declarations:s.declarations||zt,imports:s.imports||zt,exports:s.exports||zt,transitiveCompileScopes:null,schemas:s.schemas||null,id:s.id||null}))}function Vi(s,d){if(null==s)return di;const _={};for(const g in s)if(s.hasOwnProperty(g)){let v=s[g],y=v;Array.isArray(v)&&(y=v[1],v=v[0]),_[v]=g,d&&(d[v]=y)}return _}const It=Re;function ci(s){return{type:s.type,name:s.name,factory:null,pure:!1!==s.pure,standalone:!0===s.standalone,onDestroy:s.type.prototype.ngOnDestroy||null}}function Ee(s){return s[Bi]||null}function pt(s){return s[xi]||null}function ot(s){return s[$n]||null}function qt(s){const d=Ee(s)||pt(s)||ot(s);return null!==d&&d.standalone}function un(s,d){const _=s[Hi]||null;if(!_&&!0===d)throw new Error(`Type ${V(s)} does not have '\u0275mod' property.`);return _}function Un(s){return Array.isArray(s)&&"object"==typeof s[1]}function Aa(s){return Array.isArray(s)&&!0===s[1]}function Fr(s){return 0!=(8&s.flags)}function Ts(s){return 2==(2&s.flags)}function Bo(s){return 1==(1&s.flags)}function Ka(s){return null!==s.template}function Nr(s){return 0!=(256&s[2])}function Uo(s,d){return s.hasOwnProperty(ht)?s[ht]:null}class ss{constructor(d,_,g){this.previousValue=d,this.currentValue=_,this.firstChange=g}isFirstChange(){return this.firstChange}}function qr(){return ls}function ls(s){return s.type.prototype.ngOnChanges&&(s.setInput=Mr),Js}function Js(){const s=zo(this),d=null==s?void 0:s.current;if(d){const _=s.previous;if(_===di)s.previous=d;else for(let g in d)_[g]=d[g];s.current=null,this.ngOnChanges(d)}}function Mr(s,d,_,g){const v=zo(s)||function Jr(s,d){return s[Ha]=d}(s,{previous:di,current:null}),y=v.current||(v.current={}),w=v.previous,R=this.declaredInputs[_],j=w[R];y[R]=new ss(j&&j.currentValue,d,w===di),s[g]=d}qr.ngInherit=!0;const Ha="__ngSimpleChanges__";function zo(s){return s[Ha]||null}function Hn(s){for(;Array.isArray(s);)s=s[0];return s}function ur(s,d){return Hn(d[s])}function Zo(s,d){return Hn(d[s.index])}function zr(s,d){return s.data[d]}function fa(s,d){return s[d]}function In(s,d){const _=d[s];return Un(_)?_:_[0]}function Oa(s){return 64==(64&s[2])}function to(s,d){return null==d?null:s[d]}function Ra(s){s[18]=0}function Hr(s,d){s[5]+=d;let _=s,g=s[3];for(;null!==g&&(1===d&&1===_[5]||-1===d&&0===_[5]);)g[5]+=d,_=g,g=g[3]}const on={lFrame:Zc(null),bindingsEnabled:!0};function Eo(){return on.bindingsEnabled}function Qt(){return on.lFrame.lView}function Tn(){return on.lFrame.tView}function er(s){return on.lFrame.contextLView=s,s[8]}function pr(s){return on.lFrame.contextLView=null,s}function Ma(){let s=te();for(;null!==s&&64===s.type;)s=s.parent;return s}function te(){return on.lFrame.currentTNode}function H(s,d){const _=on.lFrame;_.currentTNode=s,_.isParent=d}function Ce(){return on.lFrame.isParent}function Bt(){on.lFrame.isParent=!1}function Vn(){const s=on.lFrame;let d=s.bindingRootIndex;return-1===d&&(d=s.bindingRootIndex=s.tView.bindingStartIndex),d}function Ar(){return on.lFrame.bindingIndex}function zn(){return on.lFrame.bindingIndex++}function Xr(s){const d=on.lFrame,_=d.bindingIndex;return d.bindingIndex=d.bindingIndex+s,_}function cc(s,d){const _=on.lFrame;_.bindingIndex=_.bindingRootIndex=s,Zl(d)}function Zl(s){on.lFrame.currentDirectiveIndex=s}function Lr(s){const d=on.lFrame.currentDirectiveIndex;return-1===d?null:s[d]}function zs(){return on.lFrame.currentQueryIndex}function cs(s){on.lFrame.currentQueryIndex=s}function io(s){const d=s[1];return 2===d.type?d.declTNode:1===d.type?s[6]:null}function no(s,d,_){if(_&ai.SkipSelf){let v=d,y=s;for(;!(v=v.parent,null!==v||_&ai.Host||(v=io(y),null===v||(y=y[15],10&v.type))););if(null===v)return!1;d=v,s=y}const g=on.lFrame=Qs();return g.currentTNode=d,g.lView=s,!0}function hr(s){const d=Qs(),_=s[1];on.lFrame=d,d.currentTNode=_.firstChild,d.lView=s,d.tView=_,d.contextLView=s,d.bindingIndex=_.bindingStartIndex,d.inI18n=!1}function Qs(){const s=on.lFrame,d=null===s?null:s.child;return null===d?Zc(s):d}function Zc(s){const d={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:s,child:null,inI18n:!1};return null!==s&&(s.child=d),d}function Ss(){const s=on.lFrame;return on.lFrame=s.parent,s.currentTNode=null,s.lView=null,s}const K=Ss;function se(){const s=Ss();s.isParent=!0,s.tView=null,s.selectedIndex=-1,s.contextLView=null,s.elementDepthCount=0,s.currentDirectiveIndex=-1,s.currentNamespace=null,s.bindingRootIndex=-1,s.bindingIndex=-1,s.currentQueryIndex=0}function ze(){return on.lFrame.selectedIndex}function Pt(s){on.lFrame.selectedIndex=s}function Ht(){const s=on.lFrame;return zr(s.tView,s.selectedIndex)}function wi(){on.lFrame.currentNamespace="svg"}function Ui(){!function Wn(){on.lFrame.currentNamespace=null}()}function Gn(s,d){for(let _=d.directiveStart,g=d.directiveEnd;_=g)break}else d[j]<0&&(s[18]+=65536),(R>11>16&&(3&s[2])===d){s[2]+=2048;try{y.call(R)}finally{}}}else try{y.call(R)}finally{}}class As{constructor(d,_,g){this.factory=d,this.resolving=!1,this.canSeeViewProviders=_,this.injectImpl=g}}function Hc(s,d,_){let g=0;for(;g<_.length;){const v=_[g];if("number"==typeof v){if(0!==v)break;g++;const y=_[g++],w=_[g++],R=_[g++];s.setAttribute(d,w,R,y)}else{const y=v,w=_[++g];Hl(y)?s.setProperty(d,y,w):s.setAttribute(d,y,w),g++}}return g}function Vc(s){return 3===s||4===s||6===s}function Hl(s){return 64===s.charCodeAt(0)}function uc(s,d){if(null!==d&&0!==d.length)if(null===s||0===s.length)s=d.slice();else{let _=-1;for(let g=0;gd){w=y-1;break}}}for(;y>16}(s),g=d;for(;_>0;)g=g[15],_--;return g}let pc=!0;function Cl(s){const d=pc;return pc=s,d}let $e=0;const Mn={};function Di(s,d){const _=Ri(s,d);if(-1!==_)return _;const g=d[1];g.firstCreatePass&&(s.injectorIndex=d.length,Vl(g.data,s),Vl(d,null),Vl(g.blueprint,null));const v=Gl(s,d),y=s.injectorIndex;if(gu(v)){const w=mr(v),R=Xs(v,d),j=R[1].data;for(let ae=0;ae<8;ae++)d[y+ae]=R[w+ae]|j[w+ae]}return d[y+8]=v,y}function Vl(s,d){s.push(0,0,0,0,0,0,0,0,d)}function Ri(s,d){return-1===s.injectorIndex||s.parent&&s.parent.injectorIndex===s.injectorIndex||null===d[s.injectorIndex+8]?-1:s.injectorIndex}function Gl(s,d){if(s.parent&&-1!==s.parent.injectorIndex)return s.parent.injectorIndex;let _=0,g=null,v=d;for(;null!==v;){if(g=Pd(v),null===g)return-1;if(_++,v=v[15],-1!==g.injectorIndex)return g.injectorIndex|_<<16}return-1}function Vr(s,d,_){!function Ke(s,d,_){let g;"string"==typeof _?g=_.charCodeAt(0)||0:_.hasOwnProperty(it)&&(g=_[it]),null==g&&(g=_[it]=$e++);const v=255&g;d.data[s+(v>>5)]|=1<=0?255&d:fu:d}(_);if("function"==typeof y){if(!no(d,s,g))return g&ai.Host?ds(v,0,g):Ls(d,_,g,v);try{const w=y(g);if(null!=w||g&ai.Optional)return w;Te()}finally{K()}}else if("number"==typeof y){let w=null,R=Ri(s,d),j=-1,ae=g&ai.Host?d[16][6]:null;for((-1===R||g&ai.SkipSelf)&&(j=-1===R?Gl(s,d):d[R+8],-1!==j&&ks(g,!1)?(w=d[1],R=mr(j),d=Xs(j,d)):R=-1);-1!==R;){const be=d[1];if(mc(y,R,be.data)){const Ze=Os(R,d,_,w,g,ae);if(Ze!==Mn)return Ze}j=d[R+8],-1!==j&&ks(g,d[1].data[R+8]===ae)&&mc(y,R,d)?(w=be,R=mr(j),d=Xs(j,d)):R=-1}}return v}function Os(s,d,_,g,v,y){const w=d[1],R=w.data[s+8],be=la(R,w,_,null==g?Ts(R)&&pc:g!=w&&0!=(3&R.type),v&ai.Host&&y===R);return null!==be?es(d,w,be,R):Mn}function la(s,d,_,g,v){const y=s.providerIndexes,w=d.data,R=1048575&y,j=s.directiveStart,be=y>>20,Ct=v?R+be:s.directiveEnd;for(let Ot=g?R:R+be;Ot=j&&Jt.type===_)return Ot}if(v){const Ot=w[j];if(Ot&&Ka(Ot)&&Ot.type===_)return j}return null}function es(s,d,_,g){let v=s[_];const y=d.data;if(function dc(s){return s instanceof As}(v)){const w=v;w.resolving&&function yt(s,d){const _=d?`. Dependency path: ${d.join(" > ")} > ${s}`:"";throw new de(-200,`Circular dependency in DI detected for ${s}${_}`)}(function Ne(s){return"function"==typeof s?s.name||s.toString():"object"==typeof s&&null!=s&&"function"==typeof s.type?s.type.name||s.type.toString():le(s)}(y[_]));const R=Cl(w.canSeeViewProviders);w.resolving=!0;const j=w.injectImpl?Y(w.injectImpl):null;no(s,g,ai.Default);try{v=s[_]=w.factory(void 0,y,s,g),d.firstCreatePass&&_>=g.directiveStart&&function ka(s,d,_){const{ngOnChanges:g,ngOnInit:v,ngDoCheck:y}=d.type.prototype;if(g){const w=ls(d);(_.preOrderHooks||(_.preOrderHooks=[])).push(s,w),(_.preOrderCheckHooks||(_.preOrderCheckHooks=[])).push(s,w)}v&&(_.preOrderHooks||(_.preOrderHooks=[])).push(0-s,v),y&&((_.preOrderHooks||(_.preOrderHooks=[])).push(s,y),(_.preOrderCheckHooks||(_.preOrderCheckHooks=[])).push(s,y))}(_,y[_],d)}finally{null!==j&&Y(j),Cl(R),w.resolving=!1,K()}}return v}function mc(s,d,_){return!!(_[d+(s>>5)]&1<{const d=s.prototype.constructor,_=d[ht]||Id(d),g=Object.prototype;let v=Object.getPrototypeOf(s.prototype).constructor;for(;v&&v!==g;){const y=v[ht]||Id(v);if(y&&y!==_)return y;v=Object.getPrototypeOf(v)}return y=>new y})}function Id(s){return Oe(s)?()=>{const d=Id(ce(s));return d&&d()}:Uo(s)}function Pd(s){const d=s[1],_=d.type;return 2===_?d.declTNode:1===_?s[6]:null}function vl(s){return function Od(s,d){if("class"===d)return s.classes;if("style"===d)return s.styles;const _=s.attrs;if(_){const g=_.length;let v=0;for(;v{const g=function rn(s){return function(..._){if(s){const g=s(..._);for(const v in g)this[v]=g[v]}}}(d);function v(...y){if(this instanceof v)return g.apply(this,y),this;const w=new v(...y);return R.annotation=w,R;function R(j,ae,be){const Ze=j.hasOwnProperty(us)?j[us]:Object.defineProperty(j,us,{value:[]})[us];for(;Ze.length<=be;)Ze.push(null);return(Ze[be]=Ze[be]||[]).push(w),j}}return _&&(v.prototype=Object.create(_.prototype)),v.prototype.ngMetadataName=s,v.annotationCls=v,v})}class ca{constructor(d,_){this._desc=d,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof _?this.__NG_ELEMENT_ID__=_:void 0!==_&&(this.\u0275prov=nt({token:this,providedIn:_.providedIn||"root",factory:_.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Yo(s,d){void 0===d&&(d=s);for(let _=0;_Array.isArray(_)?hs(_,d):d(_))}function Nd(s,d,_){d>=s.length?s.push(_):s.splice(d,0,_)}function ts(s,d){return d>=s.length-1?s.pop():s.splice(d,1)[0]}function Ho(s,d){const _=[];for(let g=0;g=0?s[1|g]=_:(g=~g,function P(s,d,_,g){let v=s.length;if(v==d)s.push(_,g);else if(1===v)s.push(g,s[0]),s[0]=_;else{for(v--,s.push(s[v-1],s[v]);v>d;)s[v]=s[v-2],v--;s[d]=_,s[d+1]=g}}(s,g,d,_)),g}function ve(s,d){const _=Be(s,d);if(_>=0)return s[1|_]}function Be(s,d){return function gi(s,d,_){let g=0,v=s.length>>_;for(;v!==g;){const y=g+(v-g>>1),w=s[y<<_];if(d===w)return y<<_;w>d?v=y:g=y+1}return~(v<<_)}(s,d,1)}const aa={},da="__NG_DI_FLAG__",bl="ngTempTokenPath",Ud=/\n/gm,gc="__source";let Gr;function nl(s){const d=Gr;return Gr=s,d}function L_(s,d=ai.Default){if(void 0===Gr)throw new de(-203,!1);return null===Gr?ee(s,void 0,d):Gr.get(s,d&ai.Optional?null:void 0,d)}function so(s,d=ai.Default){return(function Je(){return ti}()||L_)(ce(s),d)}function fc(s,d=ai.Default){return"number"!=typeof d&&(d=0|(d.optional&&8)|(d.host&&1)|(d.self&&2)|(d.skipSelf&&4)),so(s,d)}function bu(s){const d=[];for(let _=0;_((Tl=Tl||{})[Tl.Important=1]="Important",Tl[Tl.DashCase=2]="DashCase",Tl))();const Mm=new Map;let u0=0;const Su="__ngContext__";function fr(s,d){Un(d)?(s[Su]=d[20],function p0(s){Mm.set(s[20],s)}(d)):s[Su]=d}function gs(s,d){return undefined(s,d)}function F_(s){const d=s[3];return Aa(d)?d[3]:d}function Sm(s){return Lm(s[13])}function Am(s){return Lm(s[4])}function Lm(s){for(;null!==s&&!Aa(s);)s=s[4];return s}function Gd(s,d,_,g,v){if(null!=g){let y,w=!1;Aa(g)?y=g:Un(g)&&(w=!0,g=g[0]);const R=Hn(g);0===s&&null!==_?null==v?jd(d,_,R):ed(d,_,R,v||null,!0):1===s&&null!==_?ed(d,_,R,v||null,!0):2===s?function $p(s,d,_){const g=Au(s,d);g&&function Yf(s,d,_,g){s.removeChild(d,_,g)}(s,g,d,_)}(d,R,w):3===s&&d.destroyNode(R),null!=y&&function Fm(s,d,_,g,v){const y=_[7];y!==Hn(_)&&Gd(d,s,g,y,v);for(let R=10;R<_.length;R++){const j=_[R];ku(j[1],j,s,d,g,y)}}(d,s,y,_,v)}}function N_(s,d,_){return s.createElement(d,_)}function B_(s,d){const _=s[9],g=_.indexOf(d),v=d[3];512&d[2]&&(d[2]&=-513,Hr(v,-1)),_.splice(g,1)}function Xc(s,d){if(s.length<=10)return;const _=10+d,g=s[_];if(g){const v=g[17];null!==v&&v!==s&&B_(v,g),d>0&&(s[_-1][4]=g[4]);const y=ts(s,10+d);!function Kd(s,d){ku(s,d,d[11],2,null,null),d[0]=null,d[6]=null}(g[1],g);const w=y[19];null!==w&&w.detachView(y[1]),g[3]=null,g[4]=null,g[2]&=-65}return g}function km(s,d){if(!(128&d[2])){const _=d[11];_.destroyNode&&ku(s,d,_,3,null,null),function Bf(s){let d=s[13];if(!d)return U_(s[1],s);for(;d;){let _=null;if(Un(d))_=d[13];else{const g=d[10];g&&(_=g)}if(!_){for(;d&&!d[4]&&d!==s;)Un(d)&&U_(d[1],d),d=d[3];null===d&&(d=s),Un(d)&&U_(d[1],d),_=d&&d[4]}d=_}}(d)}}function U_(s,d){if(!(128&d[2])){d[2]&=-65,d[2]|=128,function Zf(s,d){let _;if(null!=s&&null!=(_=s.destroyHooks))for(let g=0;g<_.length;g+=2){const v=d[_[g]];if(!(v instanceof As)){const y=_[g+1];if(Array.isArray(y))for(let w=0;w=0?g[v=ae]():g[v=-ae].unsubscribe(),y+=2}else{const w=g[v=_[y+1]];_[y].call(w)}if(null!==g){for(let y=v+1;ys,createScript:s=>s,createScriptURL:s=>s})}catch(s){}return Iu}())||void 0===d?void 0:d.createHTML(s))||s}function Gf(s){Pu=s}function G_(s){var d;return(null===(d=function ih(){if(void 0===V_&&(V_=null,Et.trustedTypes))try{V_=Et.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:s=>s,createScript:s=>s,createScriptURL:s=>s})}catch(s){}return V_}())||void 0===d?void 0:d.createHTML(s))||s}class Zs{constructor(d){this.changingThisBreaksApplicationSecurity=d}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class qd extends Zs{getTypeName(){return"HTML"}}class K_ extends Zs{getTypeName(){return"Style"}}class Zm extends Zs{getTypeName(){return"Script"}}class Kf extends Zs{getTypeName(){return"URL"}}class ql extends Zs{getTypeName(){return"ResourceURL"}}function ll(s){return s instanceof Zs?s.changingThisBreaksApplicationSecurity:s}function Jl(s,d){const _=function Ym(s){return s instanceof Zs&&s.getTypeName()||null}(s);if(null!=_&&_!==d){if("ResourceURL"===_&&"URL"===d)return!0;throw new Error(`Required a safe ${d}, got a ${_} (see https://g.co/ng/security#xss)`)}return _===d}function nh(s){return new qd(s)}function Hm(s){return new K_(s)}function ah(s){return new Zm(s)}function Vm(s){return new Kf(s)}function x0(s){return new ql(s)}class jf{constructor(d){this.inertDocumentHelper=d}getInertBodyElement(d){d=""+d;try{const _=(new window.DOMParser).parseFromString(yc(d),"text/html").body;return null===_?this.inertDocumentHelper.getInertBodyElement(d):(_.removeChild(_.firstChild),_)}catch(_){return null}}}class Wf{constructor(d){if(this.defaultDoc=d,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const _=this.inertDocument.createElement("html");this.inertDocument.appendChild(_);const g=this.inertDocument.createElement("body");_.appendChild(g)}}getInertBodyElement(d){const _=this.inertDocument.createElement("template");if("content"in _)return _.innerHTML=yc(d),_;const g=this.inertDocument.createElement("body");return g.innerHTML=yc(d),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(g),g}stripCustomNsAttrs(d){const _=d.attributes;for(let v=_.length-1;0"),!0}endElement(d){const _=d.nodeName.toLowerCase();rh.hasOwnProperty(_)&&!El.hasOwnProperty(_)&&(this.buf.push(""))}chars(d){this.buf.push(sh(d))}checkClobberedElement(d,_){if(_&&(d.compareDocumentPosition(_)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${d.outerHTML}`);return _}}const b0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,X1=/([^\#-~ |!])/g;function sh(s){return s.replace(/&/g,"&").replace(b0,function(d){return"&#"+(1024*(d.charCodeAt(0)-55296)+(d.charCodeAt(1)-56320)+65536)+";"}).replace(X1,function(d){return"&#"+d.charCodeAt(0)+";"}).replace(//g,">")}let Uu;function Zu(s,d){let _=null;try{Uu=Uu||function Ru(s){const d=new Wf(s);return function Fu(){try{return!!(new window.DOMParser).parseFromString(yc(""),"text/html")}catch(s){return!1}}()?new jf(d):d}(s);let g=d?String(d):"";_=Uu.getInertBodyElement(g);let v=5,y=g;do{if(0===v)throw new Error("Failed to sanitize html because the input is unstable");v--,g=y,y=_.innerHTML,_=Uu.getInertBodyElement(g)}while(g!==y);return yc((new Jf).sanitizeChildren(Jd(_)||_))}finally{if(_){const g=Jd(_)||_;for(;g.firstChild;)g.removeChild(g.firstChild)}}}function Jd(s){return"content"in s&&function W_(s){return s.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===s.nodeName}(s)?s.content:null}var Ua=(()=>((Ua=Ua||{})[Ua.NONE=0]="NONE",Ua[Ua.HTML=1]="HTML",Ua[Ua.STYLE=2]="STYLE",Ua[Ua.SCRIPT=3]="SCRIPT",Ua[Ua.URL=4]="URL",Ua[Ua.RESOURCE_URL=5]="RESOURCE_URL",Ua))();function $d(s){const d=Vu();return d?G_(d.sanitize(Ua.HTML,s)||""):Jl(s,"HTML")?G_(ll(s)):Zu(function th(){return void 0!==Pu?Pu:"undefined"!=typeof document?document:void 0}(),le(s))}function zd(s){const d=Vu();return d?d.sanitize(Ua.URL,s)||"":Jl(s,"URL")?ll(s):j_(le(s))}function Vu(){const s=Qt();return s&&s[12]}const nr=new ca("ENVIRONMENT_INITIALIZER"),Ko=new ca("INJECTOR",-1),jo=new ca("INJECTOR_DEF_TYPES");class $m{get(d,_=aa){if(_===aa){const g=new Error(`NullInjectorError: No provider for ${V(d)}!`);throw g.name="NullInjectorError",g}return _}}function Ao(...s){return{\u0275providers:Lo(0,s)}}function Lo(s,...d){const _=[],g=new Set;let v;return hs(d,y=>{const w=y;co(w,_,[],g)&&(v||(v=[]),v.push(w))}),void 0!==v&&zm(v,_),_}function zm(s,d){for(let _=0;_{d.push(y)})}}function co(s,d,_,g){if(!(s=ce(s)))return!1;let v=null,y=Se(s);const w=!y&&Ee(s);if(y||w){if(w&&!w.standalone)return!1;v=s}else{const j=s.ngModule;if(y=Se(j),!y)return!1;v=j}const R=g.has(v);if(w){if(R)return!1;if(g.add(v),w.dependencies){const j="function"==typeof w.dependencies?w.dependencies():w.dependencies;for(const ae of j)co(ae,d,_,g)}}else{if(!y)return!1;{if(null!=y.imports&&!R){let ae;g.add(v);try{hs(y.imports,be=>{co(be,d,_,g)&&(ae||(ae=[]),ae.push(be))})}finally{}void 0!==ae&&zm(ae,d)}if(!R){const ae=Uo(v)||(()=>new v);d.push({provide:v,useFactory:ae,deps:zt},{provide:jo,useValue:v,multi:!0},{provide:nr,useValue:()=>so(v),multi:!0})}const j=y.providers;null==j||R||hs(j,be=>{d.push(be)})}}return v!==s&&void 0!==s.providers}const Qf=k({provide:String,useValue:k});function ar(s){return null!==s&&"object"==typeof s&&Qf in s}function Ja(s){return"function"==typeof s}const q_=new ca("Set Injector scope."),J_={},lh={};let $_;function z_(){return void 0===$_&&($_=new $m),$_}class Qd{}class va extends Qd{constructor(d,_,g,v){super(),this.parent=_,this.source=g,this.scopes=v,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,dh(d,w=>this.processProvider(w)),this.records.set(Ko,Gu(void 0,this)),v.has("environment")&&this.records.set(Qd,Gu(void 0,this));const y=this.records.get(q_);null!=y&&"string"==typeof y.value&&this.scopes.add(y.value),this.injectorDefTypes=new Set(this.get(jo.multi,zt,ai.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const d of this._ngOnDestroyHooks)d.ngOnDestroy();for(const d of this._onDestroyHooks)d()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(d){this._onDestroyHooks.push(d)}runInContext(d){this.assertNotDestroyed();const _=nl(this),g=Y(void 0);try{return d()}finally{nl(_),Y(g)}}get(d,_=aa,g=ai.Default){this.assertNotDestroyed();const v=nl(this),y=Y(void 0);try{if(!(g&ai.SkipSelf)){let R=this.records.get(d);if(void 0===R){const j=function Dc(s){return"function"==typeof s||"object"==typeof s&&s instanceof ca}(d)&&Ai(d);R=j&&this.injectableDefInScope(j)?Gu(Q_(d),J_):null,this.records.set(d,R)}if(null!=R)return this.hydrate(d,R)}return(g&ai.Self?z_():this.parent).get(d,_=g&ai.Optional&&_===aa?null:_)}catch(w){if("NullInjectorError"===w.name){if((w[bl]=w[bl]||[]).unshift(V(d)),v)throw w;return function yu(s,d,_,g){const v=s[bl];throw d[gc]&&v.unshift(d[gc]),s.message=function Up(s,d,_,g=null){s=s&&"\n"===s.charAt(0)&&"\u0275"==s.charAt(1)?s.slice(2):s;let v=V(d);if(Array.isArray(d))v=d.map(V).join(" -> ");else if("object"==typeof d){let y=[];for(let w in d)if(d.hasOwnProperty(w)){let R=d[w];y.push(w+":"+("string"==typeof R?JSON.stringify(R):V(R)))}v=`{${y.join(", ")}}`}return`${_}${g?"("+g+")":""}[${v}]: ${s.replace(Ud,"\n ")}`}("\n"+s.message,v,_,g),s.ngTokenPath=v,s[bl]=null,s}(w,d,"R3InjectorError",this.source)}throw w}finally{Y(y),nl(v)}}resolveInjectorInitializers(){const d=nl(this),_=Y(void 0);try{const g=this.get(nr.multi,zt,ai.Self);for(const v of g)v()}finally{nl(d),Y(_)}}toString(){const d=[],_=this.records;for(const g of _.keys())d.push(V(g));return`R3Injector[${d.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new de(205,!1)}processProvider(d){let _=Ja(d=ce(d))?d:ce(d&&d.provide);const g=function T0(s){return ar(s)?Gu(void 0,s.useValue):Gu(tC(s),J_)}(d);if(Ja(d)||!0!==d.multi)this.records.get(_);else{let v=this.records.get(_);v||(v=Gu(void 0,J_,!0),v.factory=()=>bu(v.multi),this.records.set(_,v)),_=d,v.multi.push(d)}this.records.set(_,g)}hydrate(d,_){return _.value===J_&&(_.value=lh,_.value=_.factory()),"object"==typeof _.value&&_.value&&function Xm(s){return null!==s&&"object"==typeof s&&"function"==typeof s.ngOnDestroy}(_.value)&&this._ngOnDestroyHooks.add(_.value),_.value}injectableDefInScope(d){if(!d.providedIn)return!1;const _=ce(d.providedIn);return"string"==typeof _?"any"===_||this.scopes.has(_):this.injectorDefTypes.has(_)}}function Q_(s){const d=Ai(s),_=null!==d?d.factory:Uo(s);if(null!==_)return _;if(s instanceof ca)throw new de(204,!1);if(s instanceof Function)return function eC(s){const d=s.length;if(d>0)throw Ho(d,"?"),new de(204,!1);const _=function ne(s){const d=s&&(s[ut]||s[ki]);if(d){const _=function Tt(s){if(s.hasOwnProperty("name"))return s.name;const d=(""+s).match(/^function\s*([^\s(]+)/);return null===d?"":d[1]}(s);return console.warn(`DEPRECATED: DI is instantiating a token "${_}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${_}" class.`),d}return null}(s);return null!==_?()=>_.factory(s):()=>new s}(s);throw new de(204,!1)}function tC(s,d,_){let g;if(Ja(s)){const v=ce(s);return Uo(v)||Q_(v)}if(ar(s))g=()=>ce(s.useValue);else if(function Qm(s){return!(!s||!s.useFactory)}(s))g=()=>s.useFactory(...bu(s.deps||[]));else if(function Cr(s){return!(!s||!s.useExisting)}(s))g=()=>so(ce(s.useExisting));else{const v=ce(s&&(s.useClass||s.provide));if(!function M0(s){return!!s.deps}(s))return Uo(v)||Q_(v);g=()=>new v(...bu(s.deps))}return g}function Gu(s,d,_=!1){return{factory:s,value:d,multi:_?[]:void 0}}function ch(s){return!!s.\u0275providers}function dh(s,d){for(const _ of s)Array.isArray(_)?dh(_,d):ch(_)?dh(_.\u0275providers,d):d(_)}class cl{}class D0{resolveComponentFactory(d){throw function eg(s){const d=Error(`No component factory found for ${V(s)}. Did you add it to @NgModule.entryComponents?`);return d.ngComponent=s,d}(d)}}let Ku=(()=>{class s{}return s.NULL=new D0,s})();function tg(){return nd(Ma(),Qt())}function nd(s,d){return new Wo(Zo(s,d))}let Wo=(()=>{class s{constructor(_){this.nativeElement=_}}return s.__NG_ELEMENT_ID__=tg,s})();function wl(s){return s instanceof Wo?s.nativeElement:s}class uh{}let ju=(()=>{class s{}return s.__NG_ELEMENT_ID__=()=>function E0(){const s=Qt(),_=In(Ma().index,s);return(Un(_)?_:s)[11]}(),s})(),Wu=(()=>{class s{}return s.\u0275prov=nt({token:s,providedIn:"root",factory:()=>null}),s})();class Kn{constructor(d){this.full=d,this.major=d.split(".")[0],this.minor=d.split(".")[1],this.patch=d.split(".").slice(2).join(".")}}const iC=new Kn("14.2.12"),qu={};function tu(s){return s.ngOriginalError}class iu{constructor(){this._console=console}handleError(d){const _=this._findOriginalError(d);this._console.error("ERROR",d),_&&this._console.error("ORIGINAL ERROR",_)}_findOriginalError(d){let _=d&&tu(d);for(;_&&tu(_);)_=tu(_);return _||null}}function hh(s){return s.ownerDocument.defaultView}function Ys(s){return s instanceof Function?s():s}function tp(s,d,_){let g=s.length;for(;;){const v=s.indexOf(d,_);if(-1===v)return v;if(0===v||s.charCodeAt(v-1)<=32){const y=d.length;if(v+y===g||s.charCodeAt(v+y)<=32)return v}_=v+1}}const ng="ng-template";function ag(s,d,_){let g=0;for(;gy?"":v[Ze+1].toLowerCase();const Ot=8&g?Ct:null;if(Ot&&-1!==tp(Ot,ae,0)||2&g&&ae!==Ct){if(as(g))return!1;w=!0}}}}else{if(!w&&!as(g)&&!as(j))return!1;if(w&&as(j))continue;w=!1,g=j|1&g}}return as(g)||w}function as(s){return 0==(1&s)}function mh(s,d,_,g){if(null===d)return-1;let v=0;if(g||!_){let y=!1;for(;v-1)for(_++;_0?'="'+R+'"':"")+"]"}else 8&g?v+="."+w:4&g&&(v+=" "+w);else""!==v&&!as(w)&&(d+=vh(y,v),v=""),g=w,y=y||!as(g);_++}return""!==v&&(d+=vh(y,v)),d}const Ln={};function xh(s){bh(Tn(),Qt(),ze()+s,!1)}function bh(s,d,_,g){if(!g)if(3==(3&d[2])){const y=s.preOrderCheckHooks;null!==y&&Qn(d,y,_)}else{const y=s.preOrderHooks;null!==y&&go(d,y,0,_)}Pt(_)}function yh(s,d=null,_=null,g){const v=Hs(s,d,_,g);return v.resolveInjectorInitializers(),v}function Hs(s,d=null,_=null,g,v=new Set){const y=[_||zt,Ao(s)];return g=g||("object"==typeof s?void 0:V(s)),new va(y,d||z_(),g||null,v)}let vr=(()=>{class s{static create(_,g){var v;if(Array.isArray(_))return yh({name:""},g,_,"");{const y=null!==(v=_.name)&&void 0!==v?v:"";return yh({name:y},_.parent,_.providers,y)}}}return s.THROW_IF_NOT_FOUND=aa,s.NULL=new $m,s.\u0275prov=nt({token:s,providedIn:"any",factory:()=>so(Ko)}),s.__NG_ELEMENT_ID__=-1,s})();function t_(s,d=ai.Default){const _=Qt();return null===_?so(s,d):Kl(Ma(),_,ce(s),d)}function Oh(){throw new Error("invalid")}function rp(s,d){return s<<17|d<<2}function ul(s){return s>>17&32767}function kh(s){return 2|s}function wc(s){return(131068&s)>>2}function ou(s,d){return-131069&s|d<<2}function yg(s){return 1|s}function xC(s,d){const _=s.contentQueries;if(null!==_)for(let g=0;g<_.length;g+=2){const v=_[g],y=_[g+1];if(-1!==y){const w=s.data[y];cs(v),w.contentQueries(2,d[y],y)}}}function cp(s,d,_,g,v,y,w,R,j,ae,be){const Ze=d.blueprint.slice();return Ze[0]=v,Ze[2]=76|g,(null!==be||s&&1024&s[2])&&(Ze[2]|=1024),Ra(Ze),Ze[3]=Ze[15]=s,Ze[8]=_,Ze[10]=w||s&&s[10],Ze[11]=R||s&&s[11],Ze[12]=j||s&&s[12]||null,Ze[9]=ae||s&&s[9]||null,Ze[6]=y,Ze[20]=function _0(){return u0++}(),Ze[21]=be,Ze[16]=2==d.type?s[16]:Ze,Ze}function ud(s,d,_,g,v){let y=s.data[d];if(null===y)y=function yC(s,d,_,g,v){const y=te(),w=Ce(),j=s.data[d]=function up(s,d,_,g,v,y){return{type:_,index:g,insertBeforeIndex:null,injectorIndex:d?d.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:v,attrs:y,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:d,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,w?y:y&&y.parent,_,d,g,v);return null===s.firstChild&&(s.firstChild=j),null!==y&&(w?null==y.child&&null!==j.parent&&(y.child=j):null===y.next&&(y.next=j)),j}(s,d,_,g,v),function Ed(){return on.lFrame.inI18n}()&&(y.flags|=64);else if(64&y.type){y.type=_,y.value=g,y.attrs=v;const w=function q(){const s=on.lFrame,d=s.currentTNode;return s.isParent?d:d.parent}();y.injectorIndex=null===w?-1:w.injectorIndex}return H(y,!0),y}function _d(s,d,_,g){if(0===_)return-1;const v=d.length;for(let y=0;y<_;y++)d.push(g),s.blueprint.push(g),s.data.push(null);return v}function n_(s,d,_){hr(d);try{const g=s.viewQuery;null!==g&&gp(1,g,_);const v=s.template;null!==v&&Nh(s,d,v,1,_),s.firstCreatePass&&(s.firstCreatePass=!1),s.staticContentQueries&&xC(s,d),s.staticViewQueries&&gp(2,s.viewQuery,_);const y=s.components;null!==y&&function bC(s,d){for(let _=0;_22&&bh(s,d,22,!1),_(g,v)}finally{Pt(y)}}function Lg(s,d,_){if(Fr(d)){const v=d.directiveEnd;for(let y=d.directiveStart;y0;){const _=s[--d];if("number"==typeof _&&_<0)return _}return 0})(R)!=j&&R.push(j),R.push(g,v,w)}}function Ig(s,d){null!==s.hostBindings&&s.hostBindings(1,d)}function hp(s,d){d.flags|=2,(s.components||(s.components=[])).push(d.index)}function Pg(s,d,_){if(_){if(d.exportAs)for(let g=0;g0&&s_(_)}}function s_(s){for(let g=Sm(s);null!==g;g=Am(g))for(let v=10;v0&&s_(y)}const _=s[1].components;if(null!==_)for(let g=0;g<_.length;g++){const v=In(_[g],s);Oa(v)&&v[5]>0&&s_(v)}}function OC(s,d){const _=In(d,s),g=_[1];(function V0(s,d){for(let _=d.length;_-1&&(Xc(d,g),ts(_,g))}this._attachedToViewContainer=!1}km(this._lView[1],this._lView)}onDestroy(d){Bh(this._lView[1],this._lView,null,d)}markForCheck(){l_(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){cu(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new de(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function f0(s,d){ku(s,d,d[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(d){if(this._attachedToViewContainer)throw new de(902,!1);this._appRef=d}}class Gh extends pl{constructor(d){super(d),this._view=d}detectChanges(){const d=this._view;cu(d[1],d,d[8],!1)}checkNoChanges(){}get context(){return null}}class c_ extends Ku{constructor(d){super(),this.ngModule=d}resolveComponentFactory(d){const _=Ee(d);return new xp(_,this.ngModule)}}function d_(s){const d=[];for(let _ in s)s.hasOwnProperty(_)&&d.push({propName:s[_],templateName:_});return d}class PC{constructor(d,_){this.injector=d,this.parentInjector=_}get(d,_,g){const v=this.injector.get(d,qu,g);return v!==qu||_===qu?v:this.parentInjector.get(d,_,g)}}class xp extends cl{constructor(d,_){super(),this.componentDef=d,this.ngModule=_,this.componentType=d.type,this.selector=function lg(s){return s.map(sg).join(",")}(d.selectors),this.ngContentSelectors=d.ngContentSelectors?d.ngContentSelectors:[],this.isBoundToModule=!!_}get inputs(){return d_(this.componentDef.inputs)}get outputs(){return d_(this.componentDef.outputs)}create(d,_,g,v){let y=(v=v||this.ngModule)instanceof Qd?v:null==v?void 0:v.injector;y&&null!==this.componentDef.getStandaloneInjector&&(y=this.componentDef.getStandaloneInjector(y)||y);const w=y?new PC(d,y):d,R=w.get(uh,null);if(null===R)throw new de(407,!1);const j=w.get(Wu,null),ae=R.createRenderer(null,this.componentDef),be=this.componentDef.selectors[0][0]||"div",Ze=g?function Ql(s,d,_){return s.selectRootElement(d,_===ct.ShadowDom)}(ae,g,this.componentDef.encapsulation):N_(ae,be,function IC(s){const d=s.toLowerCase();return"svg"===d?"svg":"math"===d?"math":null}(be)),Ct=this.componentDef.onPush?288:272,Ot=lu(0,null,null,1,0,null,null,null,null,null),Jt=cp(null,Ot,null,Ct,null,null,R,ae,j,w,null);let Ci,Si;hr(Jt);try{const Ji=function bp(s,d,_,g,v,y){const w=_[1];_[22]=s;const j=ud(w,22,2,"#host",null),ae=j.mergedAttrs=d.hostAttrs;null!==ae&&(Cp(j,ae,!0),null!==s&&(Hc(v,s,ae),null!==j.classes&&eh(v,s,j.classes),null!==j.styles&&Xp(v,s,j.styles)));const be=g.createRenderer(s,d),Ze=cp(_,o_(d),null,d.onPush?32:16,_[22],j,g,be,y||null,null,null);return w.firstCreatePass&&(Vr(Di(j,_),w,d.type),hp(w,j),AC(j,_.length,1)),Yh(_,Ze),_[22]=Ze}(Ze,this.componentDef,Jt,R,ae);if(Ze)if(g)Hc(ae,Ze,["ng-version",iC.full]);else{const{attrs:pn,classes:li}=function cg(s){const d=[],_=[];let g=1,v=2;for(;g0&&eh(ae,Ze,li.join(" "))}if(Si=zr(Ot,22),void 0!==_){const pn=Si.projection=[];for(let li=0;li=0;g--){const v=s[g];v.hostVars=d+=v.hostVars,v.hostAttrs=uc(v.hostAttrs,_=uc(_,v.hostAttrs))}}(g)}function Zg(s){return s===di?{}:s===zt?[]:s}function Yg(s,d){const _=s.viewQuery;s.viewQuery=_?(g,v)=>{d(g,v),_(g,v)}:d}function W0(s,d){const _=s.contentQueries;s.contentQueries=_?(g,v,y)=>{d(g,v,y),_(g,v,y)}:d}function FC(s,d){const _=s.hostBindings;s.hostBindings=_?(g,v)=>{d(g,v),_(g,v)}:d}let u_=null;function du(){if(!u_){const s=Et.Symbol;if(s&&s.iterator)u_=s.iterator;else{const d=Object.getOwnPropertyNames(Map.prototype);for(let _=0;_R(Hn(ha[g.index])):g.index;let vn=null;if(!R&&j&&(vn=function jg(s,d,_,g){const v=s.cleanup;if(null!=v)for(let y=0;yj?R[j]:null}"string"==typeof w&&(y+=2)}return null}(s,d,v,g.index)),null!==vn)(vn.__ngLastListenerFn__||vn).__ngNextListenerFn__=y,vn.__ngLastListenerFn__=y,Ot=!1;else{y=tm(g,d,Ze,y,!1);const ha=_.listen(Ji,v,y);Ct.push(y,ha),be&&be.push(v,li,pn,pn+1)}}else y=tm(g,d,Ze,y,!1);const Jt=g.outputs;let Ci;if(Ot&&null!==Jt&&(Ci=Jt[v])){const Si=Ci.length;if(Si)for(let Ji=0;Ji0;)d=d[15],s--;return d}(s,on.lFrame.contextLView))[8]}(s)}function C_(s,d){let _=null;const g=function gh(s){const d=s.attrs;if(null!=d){const _=d.indexOf(5);if(0==(1&_))return d[_+1]}return null}(s);for(let v=0;v=0}const pi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Al(s){return s.substring(pi.key,pi.keyEnd)}function kn(s){return s.substring(pi.value,pi.valueEnd)}function Cn(s,d){const _=pi.textEnd;return _===d?-1:(d=pi.keyEnd=function Xg(s,d,_){for(;d<_&&s.charCodeAt(d)>32;)d++;return d}(s,pi.key=d,_),yd(s,d,_))}function bd(s,d){const _=pi.textEnd;let g=pi.key=yd(s,d,_);return _===g?-1:(g=pi.keyEnd=function ef(s,d,_){let g;for(;d<_&&(45===(g=s.charCodeAt(d))||95===g||(-33&g)>=65&&(-33&g)<=90||g>=48&&g<=57);)d++;return d}(s,g,_),g=tf(s,g,_),g=pi.value=yd(s,g,_),g=pi.valueEnd=function JC(s,d,_){let g=-1,v=-1,y=-1,w=d,R=w;for(;w<_;){const j=s.charCodeAt(w++);if(59===j)return R;34===j||39===j?R=w=wp(s,j,w,_):d===w-4&&85===y&&82===v&&76===g&&40===j?R=w=wp(s,41,w,_):j>32&&(R=w),y=v,v=g,g=-33&j}return R}(s,g,_),tf(s,g,_))}function Qg(s){pi.key=0,pi.keyEnd=0,pi.value=0,pi.valueEnd=0,pi.textEnd=s.length}function yd(s,d,_){for(;d<_&&s.charCodeAt(d)<=32;)d++;return d}function tf(s,d,_,g){return(d=yd(s,d,_))<_&&d++,d}function wp(s,d,_,g){let v=-1,y=_;for(;y=0;_=bd(d,_))zC(s,Al(d),kn(d))}function rf(s){xr(pe,Ll,s,!0)}function Ll(s,d){for(let _=function jr(s){return Qg(s),Cn(s,yd(s,0,pi.textEnd))}(d);_>=0;_=Cn(d,_))pe(s,Al(d),!0)}function uo(s,d,_,g){const v=Qt(),y=Tn(),w=Xr(2);y.firstUpdatePass&&x_(y,s,w,g),d!==Ln&&Kr(v,w,d)&&QC(y,y.data[ze()],v,v[11],s,v[w+1]=function Ol(s,d){return null==s||("string"==typeof d?s+=d:"object"==typeof s&&(s=V(ll(s)))),s}(d,_),g,w)}function xr(s,d,_,g){const v=Tn(),y=Xr(2);v.firstUpdatePass&&x_(v,null,y,g);const w=Qt();if(_!==Ln&&Kr(w,y,_)){const R=v.data[ze()];if(nc(R,g)&&!Rn(v,y)){let j=g?R.classesWithoutHost:R.stylesWithoutHost;null!==j&&(_=X(j,_||"")),Dp(v,R,w,_,g)}else!function z0(s,d,_,g,v,y,w,R){v===Ln&&(v=zt);let j=0,ae=0,be=0=s.expandoStartIndex}function x_(s,d,_,g){const v=s.data;if(null===v[_+1]){const y=v[ze()],w=Rn(s,_);nc(y,g)&&null===d&&!w&&(d=!1),d=function $C(s,d,_,g){const v=Lr(s);let y=g?d.residualClasses:d.residualStyles;if(null===v)0===(g?d.classBindings:d.styleBindings)&&(_=b_(_=Ic(null,s,d,_,g),d.attrs,g),y=null);else{const w=d.directiveStylingLast;if(-1===w||s[w]!==v)if(_=Ic(v,s,d,_,g),null===y){let j=function sf(s,d,_){const g=_?d.classBindings:d.styleBindings;if(0!==wc(g))return s[ul(g)]}(s,d,g);void 0!==j&&Array.isArray(j)&&(j=Ic(null,s,d,j[1],g),j=b_(j,d.attrs,g),function J0(s,d,_,g){s[ul(_?d.classBindings:d.styleBindings)]=g}(s,d,g,j))}else y=function xn(s,d,_){let g;const v=d.directiveEnd;for(let y=1+d.directiveStylingLast;y0)&&(ae=!0)}else be=_;if(v)if(0!==j){const Ct=ul(s[R+1]);s[g+1]=rp(Ct,R),0!==Ct&&(s[Ct+1]=ou(s[Ct+1],g)),s[R+1]=function uC(s,d){return 131071&s|d<<17}(s[R+1],g)}else s[g+1]=rp(R,0),0!==R&&(s[R+1]=ou(s[R+1],g)),R=g;else s[g+1]=rp(j,0),0===R?R=g:s[j+1]=ou(s[j+1],g),j=g;ae&&(s[g+1]=kh(s[g+1])),om(s,be,g,!0),om(s,be,g,!1),function $g(s,d,_,g,v){const y=v?s.residualClasses:s.residualStyles;null!=y&&"string"==typeof d&&Be(y,d)>=0&&(_[g+1]=yg(_[g+1]))}(d,be,s,g,y),w=rp(R,j),y?d.classBindings=w:d.styleBindings=w}(v,y,d,_,w,g)}}function Ic(s,d,_,g,v){let y=null;const w=_.directiveEnd;let R=_.directiveStylingLast;for(-1===R?R=_.directiveStart:R++;R0;){const j=s[v],ae=Array.isArray(j),be=ae?j[1]:j,Ze=null===be;let Ct=_[v+1];Ct===Ln&&(Ct=Ze?zt:void 0);let Ot=Ze?ve(Ct,g):be===g?Ct:void 0;if(ae&&!Ap(Ot)&&(Ot=ve(j,g)),Ap(Ot)&&(R=Ot,w))return R;const Jt=s[v+1];v=w?ul(Jt):wc(Jt)}if(null!==d){let j=y?d.residualClasses:d.residualStyles;null!=j&&(R=ve(j,g))}return R}function Ap(s){return void 0!==s}function nc(s,d){return 0!=(s.flags&(d?16:32))}function cf(s,d=""){const _=Qt(),g=Tn(),v=s+22,y=g.firstCreatePass?ud(g,v,1,d,null):g.data[v],w=_[v]=function Nf(s,d){return s.createText(d)}(_[11],d);Y_(g,_,w,y),H(y,!1)}function df(s){return rm("",s,""),df}function rm(s,d,_){const g=Qt(),v=h_(g,s,d,_);return v!==Ln&&Xl(g,ze(),v),rm}function uf(s,d,_,g,v){const y=Qt(),w=uu(y,s,d,_,g,v);return w!==Ln&&Xl(y,ze(),w),uf}function _f(s,d,_,g,v,y,w){const R=Qt(),j=function hd(s,d,_,g,v,y,w,R){const ae=Jh(s,Ar(),_,v,w);return Xr(3),ae?d+le(_)+g+le(v)+y+le(w)+R:Ln}(R,s,d,_,g,v,y,w);return j!==Ln&&Xl(R,ze(),j),_f}function pf(s,d,_,g,v,y,w,R,j){const ae=Qt(),be=m_(ae,s,d,_,g,v,y,w,R,j);return be!==Ln&&Xl(ae,ze(),be),pf}function sm(s,d,_){xr(pe,Ll,h_(Qt(),s,d,_),!0)}function um(s,d,_){const g=Qt();return Kr(g,zn(),d)&&vs(Tn(),Ht(),g,s,d,g[11],_,!0),um}function _m(s,d,_){const g=Qt();if(Kr(g,zn(),d)){const y=Tn(),w=Ht();vs(y,w,g,s,d,Ng(Lr(y.data),w,g),_,!0)}return _m}const Td=void 0;var dv=["en",[["a","p"],["AM","PM"],Td],[["AM","PM"],Td,Td],[["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"]],Td,[["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"]],Td,[["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}",Td,"{1} 'at' {0}",Td],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function gn(s){const _=Math.floor(Math.abs(s)),g=s.toString().replace(/^[^.]*\.?/,"").length;return 1===_&&0===g?1:5}];let Pc={};function ff(s){const d=function cx(s){return s.toLowerCase().replace(/_/g,"-")}(s);let _=_v(d);if(_)return _;const g=d.split("-")[0];if(_=_v(g),_)return _;if("en"===g)return dv;throw new de(701,!1)}function uv(s){return ff(s)[_n.PluralCase]}function _v(s){return s in Pc||(Pc[s]=Et.ng&&Et.ng.common&&Et.ng.common.locales&&Et.ng.common.locales[s]),Pc[s]}var _n=(()=>((_n=_n||{})[_n.LocaleId=0]="LocaleId",_n[_n.DayPeriodsFormat=1]="DayPeriodsFormat",_n[_n.DayPeriodsStandalone=2]="DayPeriodsStandalone",_n[_n.DaysFormat=3]="DaysFormat",_n[_n.DaysStandalone=4]="DaysStandalone",_n[_n.MonthsFormat=5]="MonthsFormat",_n[_n.MonthsStandalone=6]="MonthsStandalone",_n[_n.Eras=7]="Eras",_n[_n.FirstDayOfWeek=8]="FirstDayOfWeek",_n[_n.WeekendRange=9]="WeekendRange",_n[_n.DateFormat=10]="DateFormat",_n[_n.TimeFormat=11]="TimeFormat",_n[_n.DateTimeFormat=12]="DateTimeFormat",_n[_n.NumberSymbols=13]="NumberSymbols",_n[_n.NumberFormats=14]="NumberFormats",_n[_n.CurrencyCode=15]="CurrencyCode",_n[_n.CurrencySymbol=16]="CurrencySymbol",_n[_n.CurrencyName=17]="CurrencyName",_n[_n.Currencies=18]="Currencies",_n[_n.Directionality=19]="Directionality",_n[_n.PluralCase=20]="PluralCase",_n[_n.ExtraData=21]="ExtraData",_n))();const y_="en-US";let hv=y_;function Cv(s,d,_,g,v){if(s=ce(s),Array.isArray(s))for(let y=0;y>20;if(Ja(s)||!s.multi){const Ot=new As(j,v,t_),Jt=xv(R,d,v?be:be+Ct,Ze);-1===Jt?(Vr(Di(ae,w),y,R),vv(y,s,d.length),d.push(R),ae.directiveStart++,ae.directiveEnd++,v&&(ae.providerIndexes+=1048576),_.push(Ot),w.push(Ot)):(_[Jt]=Ot,w[Jt]=Ot)}else{const Ot=xv(R,d,be+Ct,Ze),Jt=xv(R,d,be,be+Ct),Ci=Ot>=0&&_[Ot],Si=Jt>=0&&_[Jt];if(v&&!Si||!v&&!Ci){Vr(Di(ae,w),y,R);const Ji=function kb(s,d,_,g,v){const y=new As(s,_,t_);return y.multi=[],y.index=d,y.componentProviders=0,fx(y,v,g&&!_),y}(v?Ob:Lb,_.length,v,g,j);!v&&Si&&(_[Jt].providerFactory=Ji),vv(y,s,d.length,0),d.push(R),ae.directiveStart++,ae.directiveEnd++,v&&(ae.providerIndexes+=1048576),_.push(Ji),w.push(Ji)}else vv(y,s,Ot>-1?Ot:Jt,fx(_[v?Jt:Ot],j,!v&&g));!v&&g&&Si&&_[Jt].componentProviders++}}}function vv(s,d,_,g){const v=Ja(d),y=function Xf(s){return!!s.useClass}(d);if(v||y){const j=(y?ce(d.useClass):d).prototype.ngOnDestroy;if(j){const ae=s.destroyHooks||(s.destroyHooks=[]);if(!v&&d.multi){const be=ae.indexOf(_);-1===be?ae.push(_,[g,j]):ae[be+1].push(g,j)}else ae.push(_,j)}}}function fx(s,d,_){return _&&s.componentProviders++,s.multi.push(d)-1}function xv(s,d,_,g){for(let v=_;v{_.providersResolver=(g,v)=>function Ab(s,d,_){const g=Tn();if(g.firstCreatePass){const v=Ka(s);Cv(_,g.data,g.blueprint,v,!0),Cv(d,g.data,g.blueprint,v,!1)}}(g,v?v(s):s,d)}}class Op{}class vx{}function Ib(s,d){return new xx(s,null!=d?d:null)}class xx extends Op{constructor(d,_){super(),this._parent=_,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new c_(this);const g=un(d);this._bootstrapComponents=Ys(g.bootstrap),this._r3Injector=Hs(d,_,[{provide:Op,useValue:this},{provide:Ku,useValue:this.componentFactoryResolver}],V(d),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(d)}get injector(){return this._r3Injector}destroy(){const d=this._r3Injector;!d.destroyed&&d.destroy(),this.destroyCbs.forEach(_=>_()),this.destroyCbs=null}onDestroy(d){this.destroyCbs.push(d)}}class yv extends vx{constructor(d){super(),this.moduleType=d}create(d){return new xx(this.moduleType,d)}}class Pb extends Op{constructor(d,_,g){super(),this.componentFactoryResolver=new c_(this),this.instance=null;const v=new va([...d,{provide:Op,useValue:this},{provide:Ku,useValue:this.componentFactoryResolver}],_||z_(),g,new Set(["environment"]));this.injector=v,v.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(d){this.injector.onDestroy(d)}}function Tv(s,d,_=null){return new Pb(s,d,_).injector}let Rb=(()=>{class s{constructor(_){this._injector=_,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(_){if(!_.standalone)return null;if(!this.cachedInjectors.has(_.id)){const g=Lo(0,_.type),v=g.length>0?Tv([g],this._injector,`Standalone[${_.type.name}]`):null;this.cachedInjectors.set(_.id,v)}return this.cachedInjectors.get(_.id)}ngOnDestroy(){try{for(const _ of this.cachedInjectors.values())null!==_&&_.destroy()}finally{this.cachedInjectors.clear()}}}return s.\u0275prov=nt({token:s,providedIn:"environment",factory:()=>new s(so(Qd))}),s})();function bx(s){s.getStandaloneInjector=d=>d.get(Rb).getOrCreateStandaloneInjector(s)}function Sx(s,d,_){const g=Vn()+s,v=Qt();return v[g]===Ln?hl(v,g,_?d.call(_):d()):function Tp(s,d){return s[d]}(v,g)}function Ax(s,d,_,g){return Ox(Qt(),Vn(),s,d,_,g)}function Lx(s,d,_,g,v){return kx(Qt(),Vn(),s,d,_,g,v)}function hm(s,d){const _=s[d];return _===Ln?void 0:_}function Ox(s,d,_,g,v,y){const w=d+_;return Kr(s,w,v)?hl(s,w+1,y?g.call(y,v):g(v)):hm(s,w+1)}function kx(s,d,_,g,v,y,w){const R=d+_;return pd(s,R,v,y)?hl(s,R+2,w?g.call(w,v,y):g(v,y)):hm(s,R+2)}function Fx(s,d){const _=Tn();let g;const v=s+22;_.firstCreatePass?(g=function zb(s,d){if(d)for(let _=d.length-1;_>=0;_--){const g=d[_];if(s===g.name)return g}}(d,_.pipeRegistry),_.data[v]=g,g.onDestroy&&(_.destroyHooks||(_.destroyHooks=[])).push(v,g.onDestroy)):g=_.data[v];const y=g.factory||(g.factory=Uo(g.type)),w=Y(t_);try{const R=Cl(!1),j=y();return Cl(R),function WC(s,d,_,g){_>=s.data.length&&(s.data[_]=null,s.blueprint[_]=null),d[_]=g}(_,Qt(),v,j),j}finally{Y(w)}}function Nx(s,d,_){const g=s+22,v=Qt(),y=fa(v,g);return mm(v,g)?Ox(v,Vn(),d,y.transform,_,y):y.transform(_)}function Bx(s,d,_,g){const v=s+22,y=Qt(),w=fa(y,v);return mm(y,v)?kx(y,Vn(),d,w.transform,_,g,w):w.transform(_,g)}function Ux(s,d,_,g,v){const y=s+22,w=Qt(),R=fa(w,y);return mm(w,y)?function Ix(s,d,_,g,v,y,w,R){const j=d+_;return Jh(s,j,v,y,w)?hl(s,j+3,R?g.call(R,v,y,w):g(v,y,w)):hm(s,j+3)}(w,Vn(),d,R.transform,_,g,v,R):R.transform(_,g,v)}function mm(s,d){return s[1].data[d].pure}function Dv(s){return d=>{setTimeout(s,void 0,d)}}const Fc=class ey extends c.x{constructor(d=!1){super(),this.__isAsync=d}emit(d){super.next(d)}subscribe(d,_,g){var v,y,w;let R=d,j=_||(()=>null),ae=g;if(d&&"object"==typeof d){const Ze=d;R=null===(v=Ze.next)||void 0===v?void 0:v.bind(Ze),j=null===(y=Ze.error)||void 0===y?void 0:y.bind(Ze),ae=null===(w=Ze.complete)||void 0===w?void 0:w.bind(Ze)}this.__isAsync&&(j=Dv(j),R&&(R=Dv(R)),ae&&(ae=Dv(ae)));const be=super.subscribe({next:R,error:j,complete:ae});return d instanceof m.w0&&d.add(be),be}};function ty(){return this._results[du()]()}class bf{constructor(d=!1){this._emitDistinctChangesOnly=d,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const _=du(),g=bf.prototype;g[_]||(g[_]=ty)}get changes(){return this._changes||(this._changes=new Fc)}get(d){return this._results[d]}map(d){return this._results.map(d)}filter(d){return this._results.filter(d)}find(d){return this._results.find(d)}reduce(d,_){return this._results.reduce(d,_)}forEach(d){this._results.forEach(d)}some(d){return this._results.some(d)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(d,_){const g=this;g.dirty=!1;const v=Yo(d);(this._changesDetected=!function xl(s,d,_){if(s.length!==d.length)return!1;for(let g=0;g{class s{}return s.__NG_ELEMENT_ID__=ay,s})();const iy=gm,ny=class extends iy{constructor(d,_,g){super(),this._declarationLView=d,this._declarationTContainer=_,this.elementRef=g}createEmbeddedView(d,_){const g=this._declarationTContainer.tViews,v=cp(this._declarationLView,g,d,16,null,g.declTNode,null,null,null,null,_||null);v[17]=this._declarationLView[this._declarationTContainer.index];const w=this._declarationLView[19];return null!==w&&(v[19]=w.createEmbeddedView(g)),n_(g,v,d),new pl(v)}};function ay(){return yf(Ma(),Qt())}function yf(s,d){return 4&s.type?new ny(d,s,nd(s,d)):null}let Tf=(()=>{class s{}return s.__NG_ELEMENT_ID__=oy,s})();function oy(){return Hx(Ma(),Qt())}const ry=Tf,Zx=class extends ry{constructor(d,_,g){super(),this._lContainer=d,this._hostTNode=_,this._hostLView=g}get element(){return nd(this._hostTNode,this._hostLView)}get injector(){return new Is(this._hostTNode,this._hostLView)}get parentInjector(){const d=Gl(this._hostTNode,this._hostLView);if(gu(d)){const _=Xs(d,this._hostLView),g=mr(d);return new Is(_[1].data[g+8],_)}return new Is(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(d){const _=Yx(this._lContainer);return null!==_&&_[d]||null}get length(){return this._lContainer.length-10}createEmbeddedView(d,_,g){let v,y;"number"==typeof g?v=g:null!=g&&(v=g.index,y=g.injector);const w=d.createEmbeddedView(_||{},y);return this.insert(w,v),w}createComponent(d,_,g,v,y){const w=d&&!function tl(s){return"function"==typeof s}(d);let R;if(w)R=_;else{const Ze=_||{};R=Ze.index,g=Ze.injector,v=Ze.projectableNodes,y=Ze.environmentInjector||Ze.ngModuleRef}const j=w?d:new xp(Ee(d)),ae=g||this.parentInjector;if(!y&&null==j.ngModule){const Ct=(w?ae:this.parentInjector).get(Qd,null);Ct&&(y=Ct)}const be=j.create(ae,v,void 0,y);return this.insert(be.hostView,R),be}insert(d,_){const g=d._lView,v=g[1];if(function Nl(s){return Aa(s[3])}(g)){const be=this.indexOf(d);if(-1!==be)this.detach(be);else{const Ze=g[3],Ct=new Zx(Ze,Ze[6],Ze[3]);Ct.detach(Ct.indexOf(d))}}const y=this._adjustIndex(_),w=this._lContainer;!function Uf(s,d,_,g){const v=10+g,y=_.length;g>0&&(_[v-1][4]=d),g0)g.push(w[R/2]);else{const ae=y[R+1],be=d[-j];for(let Ze=10;Ze{class s{constructor(_){this.appInits=_,this.resolve=Nv,this.reject=Nv,this.initialized=!1,this.done=!1,this.donePromise=new Promise((g,v)=>{this.resolve=g,this.reject=v})}runInitializers(){if(this.initialized)return;const _=[],g=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let v=0;v{y.subscribe({complete:R,error:j})});_.push(w)}}Promise.all(_).then(()=>{g()}).catch(v=>{this.reject(v)}),0===_.length&&g(),this.initialized=!0}}return s.\u0275fac=function(_){return new(_||s)(so(Fy,8))},s.\u0275prov=nt({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();const Ny=new ca("AppId",{providedIn:"root",factory:function p1(){return`${Bv()}${Bv()}${Bv()}`}});function Bv(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const h1=new ca("Platform Initializer"),By=new ca("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),m1=new ca("appBootstrapListener"),Uy=new ca("AnimationModuleType");let Zy=(()=>{class s{log(_){console.log(_)}warn(_){console.warn(_)}}return s.\u0275fac=function(_){return new(_||s)},s.\u0275prov=nt({token:s,factory:s.\u0275fac,providedIn:"platform"}),s})();const Ef=new ca("LocaleId",{providedIn:"root",factory:()=>fc(Ef,ai.Optional|ai.SkipSelf)||function Yy(){return"undefined"!=typeof $localize&&$localize.locale||y_}()}),Hy=new ca("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class Vy{constructor(d,_){this.ngModuleFactory=d,this.componentFactories=_}}let Gy=(()=>{class s{compileModuleSync(_){return new yv(_)}compileModuleAsync(_){return Promise.resolve(this.compileModuleSync(_))}compileModuleAndAllComponentsSync(_){const g=this.compileModuleSync(_),y=Ys(un(_).declarations).reduce((w,R)=>{const j=Ee(R);return j&&w.push(new xp(j)),w},[]);return new Vy(g,y)}compileModuleAndAllComponentsAsync(_){return Promise.resolve(this.compileModuleAndAllComponentsSync(_))}clearCache(){}clearCacheFor(_){}getModuleId(_){}}return s.\u0275fac=function(_){return new(_||s)},s.\u0275prov=nt({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();const Wy=(()=>Promise.resolve(0))();function Uv(s){"undefined"==typeof Zone?Wy.then(()=>{s&&s.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",s)}class Pl{constructor({enableLongStackTrace:d=!1,shouldCoalesceEventChangeDetection:_=!1,shouldCoalesceRunChangeDetection:g=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Fc(!1),this.onMicrotaskEmpty=new Fc(!1),this.onStable=new Fc(!1),this.onError=new Fc(!1),"undefined"==typeof Zone)throw new de(908,!1);Zone.assertZonePatched();const v=this;if(v._nesting=0,v._outer=v._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const y=Zone.AsyncStackTaggingZoneSpec;v._inner=v._inner.fork(new y("Angular"))}Zone.TaskTrackingZoneSpec&&(v._inner=v._inner.fork(new Zone.TaskTrackingZoneSpec)),d&&Zone.longStackTraceZoneSpec&&(v._inner=v._inner.fork(Zone.longStackTraceZoneSpec)),v.shouldCoalesceEventChangeDetection=!g&&_,v.shouldCoalesceRunChangeDetection=g,v.lastRequestAnimationFrameId=-1,v.nativeRequestAnimationFrame=function qy(){let s=Et.requestAnimationFrame,d=Et.cancelAnimationFrame;if("undefined"!=typeof Zone&&s&&d){const _=s[Zone.__symbol__("OriginalDelegate")];_&&(s=_);const g=d[Zone.__symbol__("OriginalDelegate")];g&&(d=g)}return{nativeRequestAnimationFrame:s,nativeCancelAnimationFrame:d}}().nativeRequestAnimationFrame,function zy(s){const d=()=>{!function $y(s){s.isCheckStableRunning||-1!==s.lastRequestAnimationFrameId||(s.lastRequestAnimationFrameId=s.nativeRequestAnimationFrame.call(Et,()=>{s.fakeTopEventTask||(s.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{s.lastRequestAnimationFrameId=-1,Yv(s),s.isCheckStableRunning=!0,Zv(s),s.isCheckStableRunning=!1},void 0,()=>{},()=>{})),s.fakeTopEventTask.invoke()}),Yv(s))}(s)};s._inner=s._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(_,g,v,y,w,R)=>{try{return C1(s),_.invokeTask(v,y,w,R)}finally{(s.shouldCoalesceEventChangeDetection&&"eventTask"===y.type||s.shouldCoalesceRunChangeDetection)&&d(),v1(s)}},onInvoke:(_,g,v,y,w,R,j)=>{try{return C1(s),_.invoke(v,y,w,R,j)}finally{s.shouldCoalesceRunChangeDetection&&d(),v1(s)}},onHasTask:(_,g,v,y)=>{_.hasTask(v,y),g===v&&("microTask"==y.change?(s._hasPendingMicrotasks=y.microTask,Yv(s),Zv(s)):"macroTask"==y.change&&(s.hasPendingMacrotasks=y.macroTask))},onHandleError:(_,g,v,y)=>(_.handleError(v,y),s.runOutsideAngular(()=>s.onError.emit(y)),!1)})}(v)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Pl.isInAngularZone())throw new de(909,!1)}static assertNotInAngularZone(){if(Pl.isInAngularZone())throw new de(909,!1)}run(d,_,g){return this._inner.run(d,_,g)}runTask(d,_,g,v){const y=this._inner,w=y.scheduleEventTask("NgZoneEvent: "+v,d,Jy,Nv,Nv);try{return y.runTask(w,_,g)}finally{y.cancelTask(w)}}runGuarded(d,_,g){return this._inner.runGuarded(d,_,g)}runOutsideAngular(d){return this._outer.run(d)}}const Jy={};function Zv(s){if(0==s._nesting&&!s.hasPendingMicrotasks&&!s.isStable)try{s._nesting++,s.onMicrotaskEmpty.emit(null)}finally{if(s._nesting--,!s.hasPendingMicrotasks)try{s.runOutsideAngular(()=>s.onStable.emit(null))}finally{s.isStable=!0}}}function Yv(s){s.hasPendingMicrotasks=!!(s._hasPendingMicrotasks||(s.shouldCoalesceEventChangeDetection||s.shouldCoalesceRunChangeDetection)&&-1!==s.lastRequestAnimationFrameId)}function C1(s){s._nesting++,s.isStable&&(s.isStable=!1,s.onUnstable.emit(null))}function v1(s){s._nesting--,Zv(s)}class Qy{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Fc,this.onMicrotaskEmpty=new Fc,this.onStable=new Fc,this.onError=new Fc}run(d,_,g){return d.apply(_,g)}runGuarded(d,_,g){return d.apply(_,g)}runOutsideAngular(d){return d()}runTask(d,_,g,v){return d.apply(_,g)}}const x1=new ca(""),b1=new ca("");let vm,Xy=(()=>{class s{constructor(_,g,v){this._ngZone=_,this.registry=g,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,vm||(function e2(s){vm=s}(v),v.addToWindow(g)),this._watchAngularEvents(),_.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Pl.assertNotInAngularZone(),Uv(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Uv(()=>{for(;0!==this._callbacks.length;){let _=this._callbacks.pop();clearTimeout(_.timeoutId),_.doneCb(this._didWork)}this._didWork=!1});else{let _=this.getPendingTasks();this._callbacks=this._callbacks.filter(g=>!g.updateCb||!g.updateCb(_)||(clearTimeout(g.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(_=>({source:_.source,creationLocation:_.creationLocation,data:_.data})):[]}addCallback(_,g,v){let y=-1;g&&g>0&&(y=setTimeout(()=>{this._callbacks=this._callbacks.filter(w=>w.timeoutId!==y),_(this._didWork,this.getPendingTasks())},g)),this._callbacks.push({doneCb:_,timeoutId:y,updateCb:v})}whenStable(_,g,v){if(v&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(_,g,v),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(_){this.registry.registerApplication(_,this)}unregisterApplication(_){this.registry.unregisterApplication(_)}findProviders(_,g,v){return[]}}return s.\u0275fac=function(_){return new(_||s)(so(Pl),so(y1),so(b1))},s.\u0275prov=nt({token:s,factory:s.\u0275fac}),s})(),y1=(()=>{class s{constructor(){this._applications=new Map}registerApplication(_,g){this._applications.set(_,g)}unregisterApplication(_){this._applications.delete(_)}unregisterAllApplications(){this._applications.clear()}getTestability(_){return this._applications.get(_)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(_,g=!0){var v;return null!==(v=null==vm?void 0:vm.findTestabilityInTree(this,_,g))&&void 0!==v?v:null}}return s.\u0275fac=function(_){return new(_||s)},s.\u0275prov=nt({token:s,factory:s.\u0275fac,providedIn:"platform"}),s})(),Nc=null;const T1=new ca("AllowMultipleToken"),Hv=new ca("PlatformDestroyListeners");class a2{constructor(d,_){this.name=d,this.token=_}}function D1(s,d,_=[]){const g=`Platform: ${d}`,v=new ca(g);return(y=[])=>{let w=Vv();if(!w||w.injector.get(T1,!1)){const R=[..._,...y,{provide:v,useValue:!0}];s?s(R):function o2(s){if(Nc&&!Nc.get(T1,!1))throw new de(400,!1);Nc=s;const d=s.get(w1);(function M1(s){const d=s.get(h1,null);d&&d.forEach(_=>_())})(s)}(function E1(s=[],d){return vr.create({name:d,providers:[{provide:q_,useValue:"platform"},{provide:Hv,useValue:new Set([()=>Nc=null])},...s]})}(R,g))}return function s2(s){const d=Vv();if(!d)throw new de(401,!1);return d}()}}function Vv(){var s;return null!==(s=null==Nc?void 0:Nc.get(w1))&&void 0!==s?s:null}let w1=(()=>{class s{constructor(_){this._injector=_,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(_,g){const v=function A1(s,d){let _;return _="noop"===s?new Qy:("zone.js"===s?void 0:s)||new Pl(d),_}(null==g?void 0:g.ngZone,function S1(s){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!s||!s.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!s||!s.ngZoneRunCoalescing)||!1}}(g)),y=[{provide:Pl,useValue:v}];return v.run(()=>{const w=vr.create({providers:y,parent:this.injector,name:_.moduleType.name}),R=_.create(w),j=R.injector.get(iu,null);if(!j)throw new de(402,!1);return v.runOutsideAngular(()=>{const ae=v.onError.subscribe({next:be=>{j.handleError(be)}});R.onDestroy(()=>{Sf(this._modules,R),ae.unsubscribe()})}),function L1(s,d,_){try{const g=_();return Pi(g)?g.catch(v=>{throw d.runOutsideAngular(()=>s.handleError(v)),v}):g}catch(g){throw d.runOutsideAngular(()=>s.handleError(g)),g}}(j,v,()=>{const ae=R.injector.get(Df);return ae.runInitializers(),ae.donePromise.then(()=>(function mv(s){Wt(s,"Expected localeId to be defined"),"string"==typeof s&&(hv=s.toLowerCase().replace(/_/g,"-"))}(R.injector.get(Ef,y_)||y_),this._moduleDoBootstrap(R),R))})})}bootstrapModule(_,g=[]){const v=O1({},g);return function t2(s,d,_){const g=new yv(_);return Promise.resolve(g)}(0,0,_).then(y=>this.bootstrapModuleFactory(y,v))}_moduleDoBootstrap(_){const g=_.injector.get(wf);if(_._bootstrapComponents.length>0)_._bootstrapComponents.forEach(v=>g.bootstrap(v));else{if(!_.instance.ngDoBootstrap)throw new de(403,!1);_.instance.ngDoBootstrap(g)}this._modules.push(_)}onDestroy(_){this._destroyListeners.push(_)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new de(404,!1);this._modules.slice().forEach(g=>g.destroy()),this._destroyListeners.forEach(g=>g());const _=this._injector.get(Hv,null);_&&(_.forEach(g=>g()),_.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return s.\u0275fac=function(_){return new(_||s)(so(vr))},s.\u0275prov=nt({token:s,factory:s.\u0275fac,providedIn:"platform"}),s})();function O1(s,d){return Array.isArray(d)?d.reduce(O1,s):Object.assign(Object.assign({},s),d)}let wf=(()=>{class s{constructor(_,g,v){this._zone=_,this._injector=g,this._exceptionHandler=v,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const y=new e.y(R=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{R.next(this._stable),R.complete()})}),w=new e.y(R=>{let j;this._zone.runOutsideAngular(()=>{j=this._zone.onStable.subscribe(()=>{Pl.assertNotInAngularZone(),Uv(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,R.next(!0))})})});const ae=this._zone.onUnstable.subscribe(()=>{Pl.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{R.next(!1)}))});return()=>{j.unsubscribe(),ae.unsubscribe()}});this.isStable=(0,b.T)(y,w.pipe((0,T.B)()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(_,g){const v=_ instanceof cl;if(!this._injector.get(Df).done)throw!v&&qt(_),new de(405,false);let w;w=v?_:this._injector.get(Ku).resolveComponentFactory(_),this.componentTypes.push(w.componentType);const R=function n2(s){return s.isBoundToModule}(w)?void 0:this._injector.get(Op),ae=w.create(vr.NULL,[],g||w.selector,R),be=ae.location.nativeElement,Ze=ae.injector.get(x1,null);return null==Ze||Ze.registerApplication(be),ae.onDestroy(()=>{this.detachView(ae.hostView),Sf(this.components,ae),null==Ze||Ze.unregisterApplication(be)}),this._loadComponent(ae),ae}tick(){if(this._runningTick)throw new de(101,!1);try{this._runningTick=!0;for(let _ of this._views)_.detectChanges()}catch(_){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(_))}finally{this._runningTick=!1}}attachView(_){const g=_;this._views.push(g),g.attachToAppRef(this)}detachView(_){const g=_;Sf(this._views,g),g.detachFromAppRef()}_loadComponent(_){this.attachView(_.hostView),this.tick(),this.components.push(_),this._injector.get(m1,[]).concat(this._bootstrapListeners).forEach(v=>v(_))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(_=>_()),this._views.slice().forEach(_=>_.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(_){return this._destroyListeners.push(_),()=>Sf(this._destroyListeners,_)}destroy(){if(this._destroyed)throw new de(406,!1);const _=this._injector;_.destroy&&!_.destroyed&&_.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return s.\u0275fac=function(_){return new(_||s)(so(Pl),so(Qd),so(iu))},s.\u0275prov=nt({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();function Sf(s,d){const _=s.indexOf(d);_>-1&&s.splice(_,1)}let I1=!0;function c2(){I1=!1}let d2=(()=>{class s{}return s.__NG_ELEMENT_ID__=u2,s})();function u2(s){return function _2(s,d,_){if(Ts(s)&&!_){const g=In(s.index,d);return new pl(g,g)}return 47&s.type?new pl(d[16],d):null}(Ma(),Qt(),16==(16&s))}class B1{constructor(){}supports(d){return __(d)}create(d){return new C2(d)}}const f2=(s,d)=>d;class C2{constructor(d){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=d||f2}forEachItem(d){let _;for(_=this._itHead;null!==_;_=_._next)d(_)}forEachOperation(d){let _=this._itHead,g=this._removalsHead,v=0,y=null;for(;_||g;){const w=!g||_&&_.currentIndex{w=this._trackByFn(v,R),null!==_&&Object.is(_.trackById,w)?(g&&(_=this._verifyReinsertion(_,R,w,v)),Object.is(_.item,R)||this._addIdentityChange(_,R)):(_=this._mismatch(_,R,w,v),g=!0),_=_._next,v++}),this.length=v;return this._truncate(_),this.collection=d,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let d;for(d=this._previousItHead=this._itHead;null!==d;d=d._next)d._nextPrevious=d._next;for(d=this._additionsHead;null!==d;d=d._nextAdded)d.previousIndex=d.currentIndex;for(this._additionsHead=this._additionsTail=null,d=this._movesHead;null!==d;d=d._nextMoved)d.previousIndex=d.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(d,_,g,v){let y;return null===d?y=this._itTail:(y=d._prev,this._remove(d)),null!==(d=null===this._unlinkedRecords?null:this._unlinkedRecords.get(g,null))?(Object.is(d.item,_)||this._addIdentityChange(d,_),this._reinsertAfter(d,y,v)):null!==(d=null===this._linkedRecords?null:this._linkedRecords.get(g,v))?(Object.is(d.item,_)||this._addIdentityChange(d,_),this._moveAfter(d,y,v)):d=this._addAfter(new v2(_,g),y,v),d}_verifyReinsertion(d,_,g,v){let y=null===this._unlinkedRecords?null:this._unlinkedRecords.get(g,null);return null!==y?d=this._reinsertAfter(y,d._prev,v):d.currentIndex!=v&&(d.currentIndex=v,this._addToMoves(d,v)),d}_truncate(d){for(;null!==d;){const _=d._next;this._addToRemovals(this._unlink(d)),d=_}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(d,_,g){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(d);const v=d._prevRemoved,y=d._nextRemoved;return null===v?this._removalsHead=y:v._nextRemoved=y,null===y?this._removalsTail=v:y._prevRemoved=v,this._insertAfter(d,_,g),this._addToMoves(d,g),d}_moveAfter(d,_,g){return this._unlink(d),this._insertAfter(d,_,g),this._addToMoves(d,g),d}_addAfter(d,_,g){return this._insertAfter(d,_,g),this._additionsTail=null===this._additionsTail?this._additionsHead=d:this._additionsTail._nextAdded=d,d}_insertAfter(d,_,g){const v=null===_?this._itHead:_._next;return d._next=v,d._prev=_,null===v?this._itTail=d:v._prev=d,null===_?this._itHead=d:_._next=d,null===this._linkedRecords&&(this._linkedRecords=new U1),this._linkedRecords.put(d),d.currentIndex=g,d}_remove(d){return this._addToRemovals(this._unlink(d))}_unlink(d){null!==this._linkedRecords&&this._linkedRecords.remove(d);const _=d._prev,g=d._next;return null===_?this._itHead=g:_._next=g,null===g?this._itTail=_:g._prev=_,d}_addToMoves(d,_){return d.previousIndex===_||(this._movesTail=null===this._movesTail?this._movesHead=d:this._movesTail._nextMoved=d),d}_addToRemovals(d){return null===this._unlinkedRecords&&(this._unlinkedRecords=new U1),this._unlinkedRecords.put(d),d.currentIndex=null,d._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=d,d._prevRemoved=null):(d._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=d),d}_addIdentityChange(d,_){return d.item=_,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=d:this._identityChangesTail._nextIdentityChange=d,d}}class v2{constructor(d,_){this.item=d,this.trackById=_,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class x2{constructor(){this._head=null,this._tail=null}add(d){null===this._head?(this._head=this._tail=d,d._nextDup=null,d._prevDup=null):(this._tail._nextDup=d,d._prevDup=this._tail,d._nextDup=null,this._tail=d)}get(d,_){let g;for(g=this._head;null!==g;g=g._nextDup)if((null===_||_<=g.currentIndex)&&Object.is(g.trackById,d))return g;return null}remove(d){const _=d._prevDup,g=d._nextDup;return null===_?this._head=g:_._nextDup=g,null===g?this._tail=_:g._prevDup=_,null===this._head}}class U1{constructor(){this.map=new Map}put(d){const _=d.trackById;let g=this.map.get(_);g||(g=new x2,this.map.set(_,g)),g.add(d)}get(d,_){const v=this.map.get(d);return v?v.get(d,_):null}remove(d){const _=d.trackById;return this.map.get(_).remove(d)&&this.map.delete(_),d}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Z1(s,d,_){const g=s.previousIndex;if(null===g)return g;let v=0;return _&&g<_.length&&(v=_[g]),g+d+v}class Y1{constructor(){}supports(d){return d instanceof Map||qh(d)}create(){return new b2}}class b2{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(d){let _;for(_=this._mapHead;null!==_;_=_._next)d(_)}forEachPreviousItem(d){let _;for(_=this._previousMapHead;null!==_;_=_._nextPrevious)d(_)}forEachChangedItem(d){let _;for(_=this._changesHead;null!==_;_=_._nextChanged)d(_)}forEachAddedItem(d){let _;for(_=this._additionsHead;null!==_;_=_._nextAdded)d(_)}forEachRemovedItem(d){let _;for(_=this._removalsHead;null!==_;_=_._nextRemoved)d(_)}diff(d){if(d){if(!(d instanceof Map||qh(d)))throw new de(900,!1)}else d=new Map;return this.check(d)?this:null}onDestroy(){}check(d){this._reset();let _=this._mapHead;if(this._appendAfter=null,this._forEach(d,(g,v)=>{if(_&&_.key===v)this._maybeAddToChanges(_,g),this._appendAfter=_,_=_._next;else{const y=this._getOrCreateRecordForKey(v,g);_=this._insertBeforeOrAppend(_,y)}}),_){_._prev&&(_._prev._next=null),this._removalsHead=_;for(let g=_;null!==g;g=g._nextRemoved)g===this._mapHead&&(this._mapHead=null),this._records.delete(g.key),g._nextRemoved=g._next,g.previousValue=g.currentValue,g.currentValue=null,g._prev=null,g._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(d,_){if(d){const g=d._prev;return _._next=d,_._prev=g,d._prev=_,g&&(g._next=_),d===this._mapHead&&(this._mapHead=_),this._appendAfter=d,d}return this._appendAfter?(this._appendAfter._next=_,_._prev=this._appendAfter):this._mapHead=_,this._appendAfter=_,null}_getOrCreateRecordForKey(d,_){if(this._records.has(d)){const v=this._records.get(d);this._maybeAddToChanges(v,_);const y=v._prev,w=v._next;return y&&(y._next=w),w&&(w._prev=y),v._next=null,v._prev=null,v}const g=new y2(d);return this._records.set(d,g),g.currentValue=_,this._addToAdditions(g),g}_reset(){if(this.isDirty){let d;for(this._previousMapHead=this._mapHead,d=this._previousMapHead;null!==d;d=d._next)d._nextPrevious=d._next;for(d=this._changesHead;null!==d;d=d._nextChanged)d.previousValue=d.currentValue;for(d=this._additionsHead;null!=d;d=d._nextAdded)d.previousValue=d.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(d,_){Object.is(_,d.currentValue)||(d.previousValue=d.currentValue,d.currentValue=_,this._addToChanges(d))}_addToAdditions(d){null===this._additionsHead?this._additionsHead=this._additionsTail=d:(this._additionsTail._nextAdded=d,this._additionsTail=d)}_addToChanges(d){null===this._changesHead?this._changesHead=this._changesTail=d:(this._changesTail._nextChanged=d,this._changesTail=d)}_forEach(d,_){d instanceof Map?d.forEach(_):Object.keys(d).forEach(g=>_(d[g],g))}}class y2{constructor(d){this.key=d,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function H1(){return new qv([new B1])}let qv=(()=>{class s{constructor(_){this.factories=_}static create(_,g){if(null!=g){const v=g.factories.slice();_=_.concat(v)}return new s(_)}static extend(_){return{provide:s,useFactory:g=>s.create(_,g||H1()),deps:[[s,new Zd,new Jc]]}}find(_){const g=this.factories.find(v=>v.supports(_));if(null!=g)return g;throw new de(901,!1)}}return s.\u0275prov=nt({token:s,providedIn:"root",factory:H1}),s})();function V1(){return new Jv([new Y1])}let Jv=(()=>{class s{constructor(_){this.factories=_}static create(_,g){if(g){const v=g.factories.slice();_=_.concat(v)}return new s(_)}static extend(_){return{provide:s,useFactory:g=>s.create(_,g||V1()),deps:[[s,new Zd,new Jc]]}}find(_){const g=this.factories.find(v=>v.supports(_));if(g)return g;throw new de(901,!1)}}return s.\u0275prov=nt({token:s,providedIn:"root",factory:V1}),s})();const D2=D1(null,"core",[]);let E2=(()=>{class s{constructor(_){}}return s.\u0275fac=function(_){return new(_||s)(so(wf))},s.\u0275mod=Dt({type:s}),s.\u0275inj=Lt({}),s})();function w2(s){return"boolean"==typeof s?s:null!=s&&"false"!==s}},3075:(B,U,C)=>{"use strict";C.d(U,{Cf:()=>Ne,F:()=>To,Fj:()=>Pe,JJ:()=>ai,JL:()=>ti,JU:()=>V,NI:()=>No,On:()=>Ya,Q7:()=>$s,UX:()=>Er,Zs:()=>zr,_Y:()=>Br,a5:()=>Se,c5:()=>Hr,cw:()=>Ee,kI:()=>st,oH:()=>Ws,qu:()=>Tn,sg:()=>Zr,u:()=>ss,u5:()=>_r,wV:()=>Nn});var c=C(5e3),m=C(9808),e=C(2076),b=C(4128),T=C(4004);let k=(()=>{class te{constructor(H,Ce){this._renderer=H,this._elementRef=Ce,this.onChange=Bt=>{},this.onTouched=()=>{}}setProperty(H,Ce){this._renderer.setProperty(this._elementRef.nativeElement,H,Ce)}registerOnTouched(H){this.onTouched=H}registerOnChange(H){this.onChange=H}setDisabledState(H){this.setProperty("disabled",H)}}return te.\u0275fac=function(H){return new(H||te)(c.Y36(c.Qsj),c.Y36(c.SBq))},te.\u0275dir=c.lG2({type:te}),te})(),F=(()=>{class te extends k{}return te.\u0275fac=function(){let q;return function(Ce){return(q||(q=c.n5z(te)))(Ce||te)}}(),te.\u0275dir=c.lG2({type:te,features:[c.qOj]}),te})();const V=new c.OlP("NgValueAccessor"),ue={provide:V,useExisting:(0,c.Gpc)(()=>Pe),multi:!0},Oe=new c.OlP("CompositionEventMode");let Pe=(()=>{class te extends k{constructor(H,Ce,Bt){super(H,Ce),this._compositionMode=Bt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function ce(){const te=(0,m.q)()?(0,m.q)().getUserAgent():"";return/android (\d+)/.test(te.toLowerCase())}())}writeValue(H){this.setProperty("value",null==H?"":H)}_handleInput(H){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(H)}_compositionStart(){this._composing=!0}_compositionEnd(H){this._composing=!1,this._compositionMode&&this.onChange(H)}}return te.\u0275fac=function(H){return new(H||te)(c.Y36(c.Qsj),c.Y36(c.SBq),c.Y36(Oe,8))},te.\u0275dir=c.lG2({type:te,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(H,Ce){1&H&&c.NdJ("input",function(Ii){return Ce._handleInput(Ii.target.value)})("blur",function(){return Ce.onTouched()})("compositionstart",function(){return Ce._compositionStart()})("compositionend",function(Ii){return Ce._compositionEnd(Ii.target.value)})},features:[c._Bn([ue]),c.qOj]}),te})();function Ge(te){return null==te||("string"==typeof te||Array.isArray(te))&&0===te.length}function le(te){return null!=te&&"number"==typeof te.length}const Ne=new c.OlP("NgValidators"),yt=new c.OlP("NgAsyncValidators"),jt=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class st{static min(q){return function Te(te){return q=>{if(Ge(q.value)||Ge(te))return null;const H=parseFloat(q.value);return!isNaN(H)&&H{if(Ge(q.value)||Ge(te))return null;const H=parseFloat(q.value);return!isNaN(H)&&H>te?{max:{max:te,actual:q.value}}:null}}(q)}static required(q){return at(q)}static requiredTrue(q){return _e(q)}static email(q){return function xt(te){return Ge(te.value)||jt.test(te.value)?null:{email:!0}}(q)}static minLength(q){return function tt(te){return q=>Ge(q.value)||!le(q.value)?null:q.value.lengthle(q.value)&&q.value.length>te?{maxlength:{requiredLength:te,actualLength:q.value.length}}:null}(q)}static pattern(q){return qe(q)}static nullValidator(q){return null}static compose(q){return ye(q)}static composeAsync(q){return Ae(q)}}function at(te){return Ge(te.value)?{required:!0}:null}function _e(te){return!0===te.value?null:{required:!0}}function qe(te){if(!te)return ie;let q,H;return"string"==typeof te?(H="","^"!==te.charAt(0)&&(H+="^"),H+=te,"$"!==te.charAt(te.length-1)&&(H+="$"),q=new RegExp(H)):(H=te.toString(),q=te),Ce=>{if(Ge(Ce.value))return null;const Bt=Ce.value;return q.test(Bt)?null:{pattern:{requiredPattern:H,actualValue:Bt}}}}function ie(te){return null}function ke(te){return null!=te}function mt(te){return(0,c.QGY)(te)?(0,e.D)(te):te}function kt(te){let q={};return te.forEach(H=>{q=null!=H?Object.assign(Object.assign({},q),H):q}),0===Object.keys(q).length?null:q}function ri(te,q){return q.map(H=>H(te))}function Wt(te){return te.map(q=>function bt(te){return!te.validate}(q)?q:H=>q.validate(H))}function ye(te){if(!te)return null;const q=te.filter(ke);return 0==q.length?null:function(H){return kt(ri(H,q))}}function Xe(te){return null!=te?ye(Wt(te)):null}function Ae(te){if(!te)return null;const q=te.filter(ke);return 0==q.length?null:function(H){const Ce=ri(H,q).map(mt);return(0,b.D)(Ce).pipe((0,T.U)(kt))}}function he(te){return null!=te?Ae(Wt(te)):null}function nt(te,q){return null===te?[q]:Array.isArray(te)?[...te,q]:[te,q]}function Yt(te){return te._rawValidators}function Lt(te){return te._rawAsyncValidators}function Ai(te){return te?Array.isArray(te)?te:[te]:[]}function ei(te,q){return Array.isArray(te)?te.includes(q):te===q}function hi(te,q){const H=Ai(q);return Ai(te).forEach(Bt=>{ei(H,Bt)||H.push(Bt)}),H}function ne(te,q){return Ai(q).filter(H=>!ei(te,H))}class Tt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(q){this._rawValidators=q||[],this._composedValidatorFn=Xe(this._rawValidators)}_setAsyncValidators(q){this._rawAsyncValidators=q||[],this._composedAsyncValidatorFn=he(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(q){this._onDestroyCallbacks.push(q)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(q=>q()),this._onDestroyCallbacks=[]}reset(q){this.control&&this.control.reset(q)}hasError(q,H){return!!this.control&&this.control.hasError(q,H)}getError(q,H){return this.control?this.control.getError(q,H):null}}class Se extends Tt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ut extends Tt{get formDirective(){return null}get path(){return null}}class ni{constructor(q){this._cd=q}get isTouched(){var q,H;return!(null===(H=null===(q=this._cd)||void 0===q?void 0:q.control)||void 0===H||!H.touched)}get isUntouched(){var q,H;return!(null===(H=null===(q=this._cd)||void 0===q?void 0:q.control)||void 0===H||!H.untouched)}get isPristine(){var q,H;return!(null===(H=null===(q=this._cd)||void 0===q?void 0:q.control)||void 0===H||!H.pristine)}get isDirty(){var q,H;return!(null===(H=null===(q=this._cd)||void 0===q?void 0:q.control)||void 0===H||!H.dirty)}get isValid(){var q,H;return!(null===(H=null===(q=this._cd)||void 0===q?void 0:q.control)||void 0===H||!H.valid)}get isInvalid(){var q,H;return!(null===(H=null===(q=this._cd)||void 0===q?void 0:q.control)||void 0===H||!H.invalid)}get isPending(){var q,H;return!(null===(H=null===(q=this._cd)||void 0===q?void 0:q.control)||void 0===H||!H.pending)}get isSubmitted(){var q;return!(null===(q=this._cd)||void 0===q||!q.submitted)}}let ai=(()=>{class te extends ni{constructor(H){super(H)}}return te.\u0275fac=function(H){return new(H||te)(c.Y36(Se,2))},te.\u0275dir=c.lG2({type:te,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(H,Ce){2&H&&c.ekj("ng-untouched",Ce.isUntouched)("ng-touched",Ce.isTouched)("ng-pristine",Ce.isPristine)("ng-dirty",Ce.isDirty)("ng-valid",Ce.isValid)("ng-invalid",Ce.isInvalid)("ng-pending",Ce.isPending)},features:[c.qOj]}),te})(),ti=(()=>{class te extends ni{constructor(H){super(H)}}return te.\u0275fac=function(H){return new(H||te)(c.Y36(ut,10))},te.\u0275dir=c.lG2({type:te,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(H,Ce){2&H&&c.ekj("ng-untouched",Ce.isUntouched)("ng-touched",Ce.isTouched)("ng-pristine",Ce.isPristine)("ng-dirty",Ce.isDirty)("ng-valid",Ce.isValid)("ng-invalid",Ce.isInvalid)("ng-pending",Ce.isPending)("ng-submitted",Ce.isSubmitted)},features:[c.qOj]}),te})();const ht="VALID",it="INVALID",Qe="PENDING",Re="DISABLED";function We(te){return(si(te)?te.validators:te)||null}function Ie(te){return Array.isArray(te)?Xe(te):te||null}function _t(te,q){return(si(q)?q.asyncValidators:te)||null}function Dt(te){return Array.isArray(te)?he(te):te||null}function si(te){return null!=te&&!Array.isArray(te)&&"object"==typeof te}function Vi(te,q,H){const Ce=te.controls;if(!(q?Object.keys(Ce):Ce).length)throw new c.vHH(1e3,"");if(!Ce[H])throw new c.vHH(1001,"")}function It(te,q,H){te._forEachChild((Ce,Bt)=>{if(void 0===H[Bt])throw new c.vHH(1002,"")})}class ci{constructor(q,H){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=q,this._rawAsyncValidators=H,this._composedValidatorFn=Ie(this._rawValidators),this._composedAsyncValidatorFn=Dt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(q){this._rawValidators=this._composedValidatorFn=q}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(q){this._rawAsyncValidators=this._composedAsyncValidatorFn=q}get parent(){return this._parent}get valid(){return this.status===ht}get invalid(){return this.status===it}get pending(){return this.status==Qe}get disabled(){return this.status===Re}get enabled(){return this.status!==Re}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(q){this._rawValidators=q,this._composedValidatorFn=Ie(q)}setAsyncValidators(q){this._rawAsyncValidators=q,this._composedAsyncValidatorFn=Dt(q)}addValidators(q){this.setValidators(hi(q,this._rawValidators))}addAsyncValidators(q){this.setAsyncValidators(hi(q,this._rawAsyncValidators))}removeValidators(q){this.setValidators(ne(q,this._rawValidators))}removeAsyncValidators(q){this.setAsyncValidators(ne(q,this._rawAsyncValidators))}hasValidator(q){return ei(this._rawValidators,q)}hasAsyncValidator(q){return ei(this._rawAsyncValidators,q)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(q={}){this.touched=!0,this._parent&&!q.onlySelf&&this._parent.markAsTouched(q)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(q=>q.markAllAsTouched())}markAsUntouched(q={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(H=>{H.markAsUntouched({onlySelf:!0})}),this._parent&&!q.onlySelf&&this._parent._updateTouched(q)}markAsDirty(q={}){this.pristine=!1,this._parent&&!q.onlySelf&&this._parent.markAsDirty(q)}markAsPristine(q={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(H=>{H.markAsPristine({onlySelf:!0})}),this._parent&&!q.onlySelf&&this._parent._updatePristine(q)}markAsPending(q={}){this.status=Qe,!1!==q.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!q.onlySelf&&this._parent.markAsPending(q)}disable(q={}){const H=this._parentMarkedDirty(q.onlySelf);this.status=Re,this.errors=null,this._forEachChild(Ce=>{Ce.disable(Object.assign(Object.assign({},q),{onlySelf:!0}))}),this._updateValue(),!1!==q.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},q),{skipPristineCheck:H})),this._onDisabledChange.forEach(Ce=>Ce(!0))}enable(q={}){const H=this._parentMarkedDirty(q.onlySelf);this.status=ht,this._forEachChild(Ce=>{Ce.enable(Object.assign(Object.assign({},q),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:q.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},q),{skipPristineCheck:H})),this._onDisabledChange.forEach(Ce=>Ce(!1))}_updateAncestors(q){this._parent&&!q.onlySelf&&(this._parent.updateValueAndValidity(q),q.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(q){this._parent=q}getRawValue(){return this.value}updateValueAndValidity(q={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ht||this.status===Qe)&&this._runAsyncValidator(q.emitEvent)),!1!==q.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!q.onlySelf&&this._parent.updateValueAndValidity(q)}_updateTreeValidity(q={emitEvent:!0}){this._forEachChild(H=>H._updateTreeValidity(q)),this.updateValueAndValidity({onlySelf:!0,emitEvent:q.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Re:ht}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(q){if(this.asyncValidator){this.status=Qe,this._hasOwnPendingAsyncValidator=!0;const H=mt(this.asyncValidator(this));this._asyncValidationSubscription=H.subscribe(Ce=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(Ce,{emitEvent:q})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(q,H={}){this.errors=q,this._updateControlsErrors(!1!==H.emitEvent)}get(q){let H=q;return null==H||(Array.isArray(H)||(H=H.split(".")),0===H.length)?null:H.reduce((Ce,Bt)=>Ce&&Ce._find(Bt),this)}getError(q,H){const Ce=H?this.get(H):this;return Ce&&Ce.errors?Ce.errors[q]:null}hasError(q,H){return!!this.getError(q,H)}get root(){let q=this;for(;q._parent;)q=q._parent;return q}_updateControlsErrors(q){this.status=this._calculateStatus(),q&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(q)}_initObservables(){this.valueChanges=new c.vpe,this.statusChanges=new c.vpe}_calculateStatus(){return this._allControlsDisabled()?Re:this.errors?it:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Qe)?Qe:this._anyControlsHaveStatus(it)?it:ht}_anyControlsHaveStatus(q){return this._anyControls(H=>H.status===q)}_anyControlsDirty(){return this._anyControls(q=>q.dirty)}_anyControlsTouched(){return this._anyControls(q=>q.touched)}_updatePristine(q={}){this.pristine=!this._anyControlsDirty(),this._parent&&!q.onlySelf&&this._parent._updatePristine(q)}_updateTouched(q={}){this.touched=this._anyControlsTouched(),this._parent&&!q.onlySelf&&this._parent._updateTouched(q)}_registerOnCollectionChange(q){this._onCollectionChange=q}_setUpdateStrategy(q){si(q)&&null!=q.updateOn&&(this._updateOn=q.updateOn)}_parentMarkedDirty(q){return!q&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(q){return null}}class Ee extends ci{constructor(q,H,Ce){super(We(H),_t(Ce,H)),this.controls=q,this._initObservables(),this._setUpdateStrategy(H),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(q,H){return this.controls[q]?this.controls[q]:(this.controls[q]=H,H.setParent(this),H._registerOnCollectionChange(this._onCollectionChange),H)}addControl(q,H,Ce={}){this.registerControl(q,H),this.updateValueAndValidity({emitEvent:Ce.emitEvent}),this._onCollectionChange()}removeControl(q,H={}){this.controls[q]&&this.controls[q]._registerOnCollectionChange(()=>{}),delete this.controls[q],this.updateValueAndValidity({emitEvent:H.emitEvent}),this._onCollectionChange()}setControl(q,H,Ce={}){this.controls[q]&&this.controls[q]._registerOnCollectionChange(()=>{}),delete this.controls[q],H&&this.registerControl(q,H),this.updateValueAndValidity({emitEvent:Ce.emitEvent}),this._onCollectionChange()}contains(q){return this.controls.hasOwnProperty(q)&&this.controls[q].enabled}setValue(q,H={}){It(this,0,q),Object.keys(q).forEach(Ce=>{Vi(this,!0,Ce),this.controls[Ce].setValue(q[Ce],{onlySelf:!0,emitEvent:H.emitEvent})}),this.updateValueAndValidity(H)}patchValue(q,H={}){null!=q&&(Object.keys(q).forEach(Ce=>{const Bt=this.controls[Ce];Bt&&Bt.patchValue(q[Ce],{onlySelf:!0,emitEvent:H.emitEvent})}),this.updateValueAndValidity(H))}reset(q={},H={}){this._forEachChild((Ce,Bt)=>{Ce.reset(q[Bt],{onlySelf:!0,emitEvent:H.emitEvent})}),this._updatePristine(H),this._updateTouched(H),this.updateValueAndValidity(H)}getRawValue(){return this._reduceChildren({},(q,H,Ce)=>(q[Ce]=H.getRawValue(),q))}_syncPendingControls(){let q=this._reduceChildren(!1,(H,Ce)=>!!Ce._syncPendingControls()||H);return q&&this.updateValueAndValidity({onlySelf:!0}),q}_forEachChild(q){Object.keys(this.controls).forEach(H=>{const Ce=this.controls[H];Ce&&q(Ce,H)})}_setUpControls(){this._forEachChild(q=>{q.setParent(this),q._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(q){for(const[H,Ce]of Object.entries(this.controls))if(this.contains(H)&&q(Ce))return!0;return!1}_reduceValue(){return this._reduceChildren({},(H,Ce,Bt)=>((Ce.enabled||this.disabled)&&(H[Bt]=Ce.value),H))}_reduceChildren(q,H){let Ce=q;return this._forEachChild((Bt,Ii)=>{Ce=H(Ce,Bt,Ii)}),Ce}_allControlsDisabled(){for(const q of Object.keys(this.controls))if(this.controls[q].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(q){return this.controls.hasOwnProperty(q)?this.controls[q]:null}}class qt extends Ee{}function ln(te,q){return[...q.path,te]}function vt(te,q){var H,Ce;Ut(te,q),q.valueAccessor.writeValue(te.value),te.disabled&&(null===(Ce=(H=q.valueAccessor).setDisabledState)||void 0===Ce||Ce.call(H,!0)),function Ni(te,q){q.valueAccessor.registerOnChange(H=>{te._pendingValue=H,te._pendingChange=!0,te._pendingDirty=!0,"change"===te.updateOn&&Li(te,q)})}(te,q),function Sn(te,q){const H=(Ce,Bt)=>{q.valueAccessor.writeValue(Ce),Bt&&q.viewToModelUpdate(Ce)};te.registerOnChange(H),q._registerOnDestroy(()=>{te._unregisterOnChange(H)})}(te,q),function Xt(te,q){q.valueAccessor.registerOnTouched(()=>{te._pendingTouched=!0,"blur"===te.updateOn&&te._pendingChange&&Li(te,q),"submit"!==te.updateOn&&te.markAsTouched()})}(te,q),function Mt(te,q){if(q.valueAccessor.setDisabledState){const H=Ce=>{q.valueAccessor.setDisabledState(Ce)};te.registerOnDisabledChange(H),q._registerOnDestroy(()=>{te._unregisterOnDisabledChange(H)})}}(te,q)}function rt(te,q,H=!0){const Ce=()=>{};q.valueAccessor&&(q.valueAccessor.registerOnChange(Ce),q.valueAccessor.registerOnTouched(Ce)),Oi(te,q),te&&(q._invokeOnDestroyCallbacks(),te._registerOnCollectionChange(()=>{}))}function je(te,q){te.forEach(H=>{H.registerOnValidatorChange&&H.registerOnValidatorChange(q)})}function Ut(te,q){const H=Yt(te);null!==q.validator?te.setValidators(nt(H,q.validator)):"function"==typeof H&&te.setValidators([H]);const Ce=Lt(te);null!==q.asyncValidator?te.setAsyncValidators(nt(Ce,q.asyncValidator)):"function"==typeof Ce&&te.setAsyncValidators([Ce]);const Bt=()=>te.updateValueAndValidity();je(q._rawValidators,Bt),je(q._rawAsyncValidators,Bt)}function Oi(te,q){let H=!1;if(null!==te){if(null!==q.validator){const Bt=Yt(te);if(Array.isArray(Bt)&&Bt.length>0){const Ii=Bt.filter(Ea=>Ea!==q.validator);Ii.length!==Bt.length&&(H=!0,te.setValidators(Ii))}}if(null!==q.asyncValidator){const Bt=Lt(te);if(Array.isArray(Bt)&&Bt.length>0){const Ii=Bt.filter(Ea=>Ea!==q.asyncValidator);Ii.length!==Bt.length&&(H=!0,te.setAsyncValidators(Ii))}}}const Ce=()=>{};return je(q._rawValidators,Ce),je(q._rawAsyncValidators,Ce),H}function Li(te,q){te._pendingDirty&&te.markAsDirty(),te.setValue(te._pendingValue,{emitModelToViewChange:!1}),q.viewToModelUpdate(te._pendingValue),te._pendingChange=!1}function sa(te,q){Ut(te,q)}function yo(te,q){if(!te.hasOwnProperty("model"))return!1;const H=te.model;return!!H.isFirstChange()||!Object.is(q,H.currentValue)}function ma(te,q){te._syncPendingControls(),q.forEach(H=>{const Ce=H.control;"submit"===Ce.updateOn&&Ce._pendingChange&&(H.viewToModelUpdate(Ce._pendingValue),Ce._pendingChange=!1)})}function yn(te,q){if(!q)return null;let H,Ce,Bt;return Array.isArray(q),q.forEach(Ii=>{Ii.constructor===Pe?H=Ii:function Qi(te){return Object.getPrototypeOf(te.constructor)===F}(Ii)?Ce=Ii:Bt=Ii}),Bt||Ce||H||null}const ga={provide:ut,useExisting:(0,c.Gpc)(()=>To)},Zn=(()=>Promise.resolve())();let To=(()=>{class te extends ut{constructor(H,Ce){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new c.vpe,this.form=new Ee({},Xe(H),he(Ce))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(H){Zn.then(()=>{const Ce=this._findContainer(H.path);H.control=Ce.registerControl(H.name,H.control),vt(H.control,H),H.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(H)})}getControl(H){return this.form.get(H.path)}removeControl(H){Zn.then(()=>{const Ce=this._findContainer(H.path);Ce&&Ce.removeControl(H.name),this._directives.delete(H)})}addFormGroup(H){Zn.then(()=>{const Ce=this._findContainer(H.path),Bt=new Ee({});sa(Bt,H),Ce.registerControl(H.name,Bt),Bt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(H){Zn.then(()=>{const Ce=this._findContainer(H.path);Ce&&Ce.removeControl(H.name)})}getFormGroup(H){return this.form.get(H.path)}updateModel(H,Ce){Zn.then(()=>{this.form.get(H.path).setValue(Ce)})}setValue(H){this.control.setValue(H)}onSubmit(H){var Ce;return this.submitted=!0,ma(this.form,this._directives),this.ngSubmit.emit(H),"dialog"===(null===(Ce=null==H?void 0:H.target)||void 0===Ce?void 0:Ce.method)}onReset(){this.resetForm()}resetForm(H){this.form.reset(H),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(H){return H.pop(),H.length?this.form.get(H):this.form}}return te.\u0275fac=function(H){return new(H||te)(c.Y36(Ne,10),c.Y36(yt,10))},te.\u0275dir=c.lG2({type:te,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(H,Ce){1&H&&c.NdJ("submit",function(Ii){return Ce.onSubmit(Ii)})("reset",function(){return Ce.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[c._Bn([ga]),c.qOj]}),te})();function Ia(te,q){const H=te.indexOf(q);H>-1&&te.splice(H,1)}function Qa(te){return"object"==typeof te&&null!==te&&2===Object.keys(te).length&&"value"in te&&"disabled"in te}const No=class extends ci{constructor(q=null,H,Ce){super(We(H),_t(Ce,H)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(q),this._setUpdateStrategy(H),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),si(H)&&(H.nonNullable||H.initialValueIsDefault)&&(this.defaultValue=Qa(q)?q.value:q)}setValue(q,H={}){this.value=this._pendingValue=q,this._onChange.length&&!1!==H.emitModelToViewChange&&this._onChange.forEach(Ce=>Ce(this.value,!1!==H.emitViewToModelChange)),this.updateValueAndValidity(H)}patchValue(q,H={}){this.setValue(q,H)}reset(q=this.defaultValue,H={}){this._applyFormState(q),this.markAsPristine(H),this.markAsUntouched(H),this.setValue(this.value,H),this._pendingChange=!1}_updateValue(){}_anyControls(q){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(q){this._onChange.push(q)}_unregisterOnChange(q){Ia(this._onChange,q)}registerOnDisabledChange(q){this._onDisabledChange.push(q)}_unregisterOnDisabledChange(q){Ia(this._onDisabledChange,q)}_forEachChild(q){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(q){Qa(q)?(this.value=this._pendingValue=q.value,q.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=q}},Nr={provide:Se,useExisting:(0,c.Gpc)(()=>Ya)},lr=(()=>Promise.resolve())();let Ya=(()=>{class te extends Se{constructor(H,Ce,Bt,Ii,Ea){super(),this._changeDetectorRef=Ea,this.control=new No,this._registered=!1,this.update=new c.vpe,this._parent=H,this._setValidators(Ce),this._setAsyncValidators(Bt),this.valueAccessor=yn(0,Ii)}ngOnChanges(H){if(this._checkForErrors(),!this._registered||"name"in H){if(this._registered&&(this._checkName(),this.formDirective)){const Ce=H.name.previousValue;this.formDirective.removeControl({name:Ce,path:this._getPath(Ce)})}this._setUpControl()}"isDisabled"in H&&this._updateDisabled(H),yo(H,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(H){this.viewModel=H,this.update.emit(H)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){vt(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(H){lr.then(()=>{var Ce;this.control.setValue(H,{emitViewToModelChange:!1}),null===(Ce=this._changeDetectorRef)||void 0===Ce||Ce.markForCheck()})}_updateDisabled(H){const Ce=H.isDisabled.currentValue,Bt=0!==Ce&&(0,c.D6c)(Ce);lr.then(()=>{var Ii;Bt&&!this.control.disabled?this.control.disable():!Bt&&this.control.disabled&&this.control.enable(),null===(Ii=this._changeDetectorRef)||void 0===Ii||Ii.markForCheck()})}_getPath(H){return this._parent?ln(H,this._parent):[H]}}return te.\u0275fac=function(H){return new(H||te)(c.Y36(ut,9),c.Y36(Ne,10),c.Y36(yt,10),c.Y36(V,10),c.Y36(c.sBO,8))},te.\u0275dir=c.lG2({type:te,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[c._Bn([Nr]),c.qOj,c.TTD]}),te})(),Br=(()=>{class te{}return te.\u0275fac=function(H){return new(H||te)},te.\u0275dir=c.lG2({type:te,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),te})();const rs={provide:V,useExisting:(0,c.Gpc)(()=>Nn),multi:!0};let Nn=(()=>{class te extends F{writeValue(H){this.setProperty("value",null==H?"":H)}registerOnChange(H){this.onChange=Ce=>{H(""==Ce?null:parseFloat(Ce))}}}return te.\u0275fac=function(){let q;return function(Ce){return(q||(q=c.n5z(te)))(Ce||te)}}(),te.\u0275dir=c.lG2({type:te,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(H,Ce){1&H&&c.NdJ("input",function(Ii){return Ce.onChange(Ii.target.value)})("blur",function(){return Ce.onTouched()})},features:[c._Bn([rs]),c.qOj]}),te})(),an=(()=>{class te{}return te.\u0275fac=function(H){return new(H||te)},te.\u0275mod=c.oAB({type:te}),te.\u0275inj=c.cJS({}),te})();const Do=new c.OlP("NgModelWithFormControlWarning"),Ur={provide:Se,useExisting:(0,c.Gpc)(()=>Ws)};let Ws=(()=>{class te extends Se{constructor(H,Ce,Bt,Ii){super(),this._ngModelWarningConfig=Ii,this.update=new c.vpe,this._ngModelWarningSent=!1,this._setValidators(H),this._setAsyncValidators(Ce),this.valueAccessor=yn(0,Bt)}set isDisabled(H){}ngOnChanges(H){if(this._isControlChanged(H)){const Ce=H.form.previousValue;Ce&&rt(Ce,this,!1),vt(this.form,this),this.form.updateValueAndValidity({emitEvent:!1})}yo(H,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&rt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(H){this.viewModel=H,this.update.emit(H)}_isControlChanged(H){return H.hasOwnProperty("form")}}return te._ngModelWarningSentOnce=!1,te.\u0275fac=function(H){return new(H||te)(c.Y36(Ne,10),c.Y36(yt,10),c.Y36(V,10),c.Y36(Do,8))},te.\u0275dir=c.lG2({type:te,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[c._Bn([Ur]),c.qOj,c.TTD]}),te})();const qs={provide:ut,useExisting:(0,c.Gpc)(()=>Zr)};let Zr=(()=>{class te extends ut{constructor(H,Ce){super(),this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new c.vpe,this._setValidators(H),this._setAsyncValidators(Ce)}ngOnChanges(H){this._checkFormPresent(),H.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Oi(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(H){const Ce=this.form.get(H.path);return vt(Ce,H),Ce.updateValueAndValidity({emitEvent:!1}),this.directives.push(H),Ce}getControl(H){return this.form.get(H.path)}removeControl(H){rt(H.control||null,H,!1),function $i(te,q){const H=te.indexOf(q);H>-1&&te.splice(H,1)}(this.directives,H)}addFormGroup(H){this._setUpFormContainer(H)}removeFormGroup(H){this._cleanUpFormContainer(H)}getFormGroup(H){return this.form.get(H.path)}addFormArray(H){this._setUpFormContainer(H)}removeFormArray(H){this._cleanUpFormContainer(H)}getFormArray(H){return this.form.get(H.path)}updateModel(H,Ce){this.form.get(H.path).setValue(Ce)}onSubmit(H){var Ce;return this.submitted=!0,ma(this.form,this.directives),this.ngSubmit.emit(H),"dialog"===(null===(Ce=null==H?void 0:H.target)||void 0===Ce?void 0:Ce.method)}onReset(){this.resetForm()}resetForm(H){this.form.reset(H),this.submitted=!1}_updateDomValue(){this.directives.forEach(H=>{const Ce=H.control,Bt=this.form.get(H.path);Ce!==Bt&&(rt(Ce||null,H),(te=>te instanceof No)(Bt)&&(vt(Bt,H),H.control=Bt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(H){const Ce=this.form.get(H.path);sa(Ce,H),Ce.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(H){if(this.form){const Ce=this.form.get(H.path);Ce&&function za(te,q){return Oi(te,q)}(Ce,H)&&Ce.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Ut(this.form,this),this._oldForm&&Oi(this._oldForm,this)}_checkFormPresent(){}}return te.\u0275fac=function(H){return new(H||te)(c.Y36(Ne,10),c.Y36(yt,10))},te.\u0275dir=c.lG2({type:te,selectors:[["","formGroup",""]],hostBindings:function(H,Ce){1&H&&c.NdJ("submit",function(Ii){return Ce.onSubmit(Ii)})("reset",function(){return Ce.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[c._Bn([qs]),c.qOj,c.TTD]}),te})();const Uo={provide:Se,useExisting:(0,c.Gpc)(()=>ss)};let ss=(()=>{class te extends Se{constructor(H,Ce,Bt,Ii,Ea){super(),this._ngModelWarningConfig=Ea,this._added=!1,this.update=new c.vpe,this._ngModelWarningSent=!1,this._parent=H,this._setValidators(Ce),this._setAsyncValidators(Bt),this.valueAccessor=yn(0,Ii)}set isDisabled(H){}ngOnChanges(H){this._added||this._setUpControl(),yo(H,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(H){this.viewModel=H,this.update.emit(H)}get path(){return ln(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return te._ngModelWarningSentOnce=!1,te.\u0275fac=function(H){return new(H||te)(c.Y36(ut,13),c.Y36(Ne,10),c.Y36(yt,10),c.Y36(V,10),c.Y36(Do,8))},te.\u0275dir=c.lG2({type:te,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[c._Bn([Uo]),c.qOj,c.TTD]}),te})(),Qo=(()=>{class te{constructor(){this._validator=ie}ngOnChanges(H){if(this.inputName in H){const Ce=this.normalizeInput(H[this.inputName].currentValue);this._enabled=this.enabled(Ce),this._validator=this._enabled?this.createValidator(Ce):ie,this._onChange&&this._onChange()}}validate(H){return this._validator(H)}registerOnValidatorChange(H){this._onChange=H}enabled(H){return null!=H}}return te.\u0275fac=function(H){return new(H||te)},te.\u0275dir=c.lG2({type:te,features:[c.TTD]}),te})();const ur={provide:Ne,useExisting:(0,c.Gpc)(()=>$s),multi:!0},Zo={provide:Ne,useExisting:(0,c.Gpc)(()=>zr),multi:!0};let $s=(()=>{class te extends Qo{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=c.D6c,this.createValidator=H=>at}enabled(H){return H}}return te.\u0275fac=function(){let q;return function(Ce){return(q||(q=c.n5z(te)))(Ce||te)}}(),te.\u0275dir=c.lG2({type:te,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(H,Ce){2&H&&c.uIk("required",Ce._enabled?"":null)},inputs:{required:"required"},features:[c._Bn([ur]),c.qOj]}),te})(),zr=(()=>{class te extends $s{constructor(){super(...arguments),this.createValidator=H=>_e}}return te.\u0275fac=function(){let q;return function(Ce){return(q||(q=c.n5z(te)))(Ce||te)}}(),te.\u0275dir=c.lG2({type:te,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(H,Ce){2&H&&c.uIk("required",Ce._enabled?"":null)},features:[c._Bn([Zo]),c.qOj]}),te})();const Ra={provide:Ne,useExisting:(0,c.Gpc)(()=>Hr),multi:!0};let Hr=(()=>{class te extends Qo{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=H=>H,this.createValidator=H=>qe(H)}}return te.\u0275fac=function(){let q;return function(Ce){return(q||(q=c.n5z(te)))(Ce||te)}}(),te.\u0275dir=c.lG2({type:te,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(H,Ce){2&H&&c.uIk("pattern",Ce._enabled?Ce.pattern:null)},inputs:{pattern:"pattern"},features:[c._Bn([Ra]),c.qOj]}),te})(),ws=(()=>{class te{}return te.\u0275fac=function(H){return new(H||te)},te.\u0275mod=c.oAB({type:te}),te.\u0275inj=c.cJS({imports:[an]}),te})(),_r=(()=>{class te{}return te.\u0275fac=function(H){return new(H||te)},te.\u0275mod=c.oAB({type:te}),te.\u0275inj=c.cJS({imports:[ws]}),te})(),Er=(()=>{class te{static withConfig(H){return{ngModule:te,providers:[{provide:Do,useValue:H.warnOnNgModelWithFormControl}]}}}return te.\u0275fac=function(H){return new(H||te)},te.\u0275mod=c.oAB({type:te}),te.\u0275inj=c.cJS({imports:[ws]}),te})();class Eo extends ci{constructor(q,H,Ce){super(We(H),_t(Ce,H)),this.controls=q,this._initObservables(),this._setUpdateStrategy(H),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(q){return this.controls[this._adjustIndex(q)]}push(q,H={}){this.controls.push(q),this._registerControl(q),this.updateValueAndValidity({emitEvent:H.emitEvent}),this._onCollectionChange()}insert(q,H,Ce={}){this.controls.splice(q,0,H),this._registerControl(H),this.updateValueAndValidity({emitEvent:Ce.emitEvent})}removeAt(q,H={}){let Ce=this._adjustIndex(q);Ce<0&&(Ce=0),this.controls[Ce]&&this.controls[Ce]._registerOnCollectionChange(()=>{}),this.controls.splice(Ce,1),this.updateValueAndValidity({emitEvent:H.emitEvent})}setControl(q,H,Ce={}){let Bt=this._adjustIndex(q);Bt<0&&(Bt=0),this.controls[Bt]&&this.controls[Bt]._registerOnCollectionChange(()=>{}),this.controls.splice(Bt,1),H&&(this.controls.splice(Bt,0,H),this._registerControl(H)),this.updateValueAndValidity({emitEvent:Ce.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(q,H={}){It(this,0,q),q.forEach((Ce,Bt)=>{Vi(this,!1,Bt),this.at(Bt).setValue(Ce,{onlySelf:!0,emitEvent:H.emitEvent})}),this.updateValueAndValidity(H)}patchValue(q,H={}){null!=q&&(q.forEach((Ce,Bt)=>{this.at(Bt)&&this.at(Bt).patchValue(Ce,{onlySelf:!0,emitEvent:H.emitEvent})}),this.updateValueAndValidity(H))}reset(q=[],H={}){this._forEachChild((Ce,Bt)=>{Ce.reset(q[Bt],{onlySelf:!0,emitEvent:H.emitEvent})}),this._updatePristine(H),this._updateTouched(H),this.updateValueAndValidity(H)}getRawValue(){return this.controls.map(q=>q.getRawValue())}clear(q={}){this.controls.length<1||(this._forEachChild(H=>H._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:q.emitEvent}))}_adjustIndex(q){return q<0?q+this.length:q}_syncPendingControls(){let q=this.controls.reduce((H,Ce)=>!!Ce._syncPendingControls()||H,!1);return q&&this.updateValueAndValidity({onlySelf:!0}),q}_forEachChild(q){this.controls.forEach((H,Ce)=>{q(H,Ce)})}_updateValue(){this.value=this.controls.filter(q=>q.enabled||this.disabled).map(q=>q.value)}_anyControls(q){return this.controls.some(H=>H.enabled&&q(H))}_setUpControls(){this._forEachChild(q=>this._registerControl(q))}_allControlsDisabled(){for(const q of this.controls)if(q.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(q){q.setParent(this),q._registerOnCollectionChange(this._onCollectionChange)}_find(q){var H;return null!==(H=this.at(q))&&void 0!==H?H:null}}function Qt(te){return!!te&&(void 0!==te.asyncValidators||void 0!==te.validators||void 0!==te.updateOn)}let Tn=(()=>{class te{constructor(){this.useNonNullable=!1}get nonNullable(){const H=new te;return H.useNonNullable=!0,H}group(H,Ce=null){const Bt=this._reduceControls(H);let Ii={};return Qt(Ce)?Ii=Ce:null!==Ce&&(Ii.validators=Ce.validator,Ii.asyncValidators=Ce.asyncValidator),new Ee(Bt,Ii)}record(H,Ce=null){const Bt=this._reduceControls(H);return new qt(Bt,Ce)}control(H,Ce,Bt){let Ii={};return this.useNonNullable?(Qt(Ce)?Ii=Ce:(Ii.validators=Ce,Ii.asyncValidators=Bt),new No(H,Object.assign(Object.assign({},Ii),{nonNullable:!0}))):new No(H,Ce,Bt)}array(H,Ce,Bt){const Ii=H.map(Ea=>this._createControl(Ea));return new Eo(Ii,Ce,Bt)}_reduceControls(H){const Ce={};return Object.keys(H).forEach(Bt=>{Ce[Bt]=this._createControl(H[Bt])}),Ce}_createControl(H){return H instanceof No||H instanceof ci?H:Array.isArray(H)?this.control(H[0],H.length>1?H[1]:null,H.length>2?H[2]:null):this.control(H)}}return te.\u0275fac=function(H){return new(H||te)},te.\u0275prov=c.Yz7({token:te,factory:te.\u0275fac,providedIn:Er}),te})()},1079:(B,U,C)=>{"use strict";C.d(U,{Bb:()=>hi,XC:()=>Wt,ZL:()=>Lt});var c=C(5664),m=C(3191),e=C(5e3),b=C(508),T=C(727),k=C(7579),F=C(9770),V=C(6451),X=C(9646),J=C(4968),ue=C(925),ce=C(9808),Oe=C(1314),Pe=C(9071),de=C(1159),Ge=C(7429),le=C(3075),Ne=C(3489),yt=C(8675),jt=C(3900),st=C(5698),Te=C(9300),Le=C(4004),at=C(8505),_e=C(1005),xt=C(226);const tt=["panel"];function Ye(ne,Tt){if(1&ne&&(e.TgZ(0,"div",0,1),e.Hsn(2),e.qZA()),2&ne){const Se=Tt.id,ut=e.oxw();e.Q6J("id",ut.id)("ngClass",ut._classList),e.uIk("aria-label",ut.ariaLabel||null)("aria-labelledby",ut._getPanelAriaLabelledby(Se))}}const qe=["*"];let ie=0;class ke{constructor(Tt,Se){this.source=Tt,this.option=Se}}const mt=(0,b.Kr)(class{}),kt=new e.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function ri(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1}}});let bt=(()=>{class ne extends mt{constructor(Se,ut,ni,ki){super(),this._changeDetectorRef=Se,this._elementRef=ut,this._activeOptionChanges=T.w0.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new e.vpe,this.opened=new e.vpe,this.closed=new e.vpe,this.optionActivated=new e.vpe,this._classList={},this.id="mat-autocomplete-"+ie++,this.inertGroups=(null==ki?void 0:ki.SAFARI)||!1,this._autoActiveFirstOption=!!ni.autoActiveFirstOption,this._autoSelectActiveOption=!!ni.autoSelectActiveOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(Se){this._autoActiveFirstOption=(0,m.Ig)(Se)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(Se){this._autoSelectActiveOption=(0,m.Ig)(Se)}set classList(Se){this._classList=Se&&Se.length?(0,m.du)(Se).reduce((ut,ni)=>(ut[ni]=!0,ut),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new c.s1(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(Se=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[Se]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(Se){this.panel&&(this.panel.nativeElement.scrollTop=Se)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(Se){const ut=new ke(this,Se);this.optionSelected.emit(ut)}_getPanelAriaLabelledby(Se){return this.ariaLabel?null:this.ariaLabelledby?(Se?Se+" ":"")+this.ariaLabelledby:Se}_setVisibilityClasses(Se){Se[this._visibleClass]=this.showPanel,Se[this._hiddenClass]=!this.showPanel}}return ne.\u0275fac=function(Se){return new(Se||ne)(e.Y36(e.sBO),e.Y36(e.SBq),e.Y36(kt),e.Y36(ue.t4))},ne.\u0275dir=e.lG2({type:ne,viewQuery:function(Se,ut){if(1&Se&&(e.Gf(e.Rgc,7),e.Gf(tt,5)),2&Se){let ni;e.iGM(ni=e.CRH())&&(ut.template=ni.first),e.iGM(ni=e.CRH())&&(ut.panel=ni.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[e.qOj]}),ne})(),Wt=(()=>{class ne extends bt{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return ne.\u0275fac=function(){let Tt;return function(ut){return(Tt||(Tt=e.n5z(ne)))(ut||ne)}}(),ne.\u0275cmp=e.Xpm({type:ne,selectors:[["mat-autocomplete"]],contentQueries:function(Se,ut,ni){if(1&Se&&(e.Suo(ni,b.K7,5),e.Suo(ni,b.ey,5)),2&Se){let ki;e.iGM(ki=e.CRH())&&(ut.optionGroups=ki),e.iGM(ki=e.CRH())&&(ut.options=ki)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[e._Bn([{provide:b.HF,useExisting:ne}]),e.qOj],ngContentSelectors:qe,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(Se,ut){1&Se&&(e.F$t(),e.YNc(0,Ye,3,4,"ng-template"))},dependencies:[ce.mk],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}"],encapsulation:2,changeDetection:0}),ne})();const ye=new e.OlP("mat-autocomplete-scroll-strategy"),Ae={provide:ye,deps:[Oe.aV],useFactory:function Xe(ne){return()=>ne.scrollStrategies.reposition()}},he={provide:le.JU,useExisting:(0,e.Gpc)(()=>Lt),multi:!0};let Yt=(()=>{class ne{constructor(Se,ut,ni,ki,dn,ai,ti,Je,Y,ee,A){this._element=Se,this._overlay=ut,this._viewContainerRef=ni,this._zone=ki,this._changeDetectorRef=dn,this._dir=ti,this._formField=Je,this._document=Y,this._viewportRuler=ee,this._defaults=A,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=T.w0.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new k.x,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=(0,F.P)(()=>{const et=this.autocomplete?this.autocomplete.options:null;return et?et.changes.pipe((0,yt.O)(et),(0,jt.w)(()=>(0,V.T)(...et.map(Fe=>Fe.onSelectionChange)))):this._zone.onStable.pipe((0,st.q)(1),(0,jt.w)(()=>this.optionSelections))}),this._scrollStrategy=ai}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(Se){this._autocompleteDisabled=(0,m.Ig)(Se)}ngAfterViewInit(){const Se=this._getWindow();void 0!==Se&&this._zone.runOutsideAngular(()=>Se.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(Se){Se.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const Se=this._getWindow();void 0!==Se&&Se.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,V.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,Te.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,Te.h)(()=>this._overlayAttached)):(0,X.of)()).pipe((0,Le.U)(Se=>Se instanceof b.rN?Se:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,V.T)((0,J.R)(this._document,"click"),(0,J.R)(this._document,"auxclick"),(0,J.R)(this._document,"touchend")).pipe((0,Te.h)(Se=>{const ut=(0,ue.sA)(Se),ni=this._formField?this._formField._elementRef.nativeElement:null,ki=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&ut!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!ni||!ni.contains(ut))&&(!ki||!ki.contains(ut))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(ut)}))}writeValue(Se){Promise.resolve(null).then(()=>this._assignOptionValue(Se))}registerOnChange(Se){this._onChange=Se}registerOnTouched(Se){this._onTouched=Se}setDisabledState(Se){this._element.nativeElement.disabled=Se}_handleKeydown(Se){const ut=Se.keyCode,ni=(0,de.Vb)(Se);if(ut===de.hY&&!ni&&Se.preventDefault(),this.activeOption&&ut===de.K5&&this.panelOpen&&!ni)this.activeOption._selectViaInteraction(),this._resetActiveItem(),Se.preventDefault();else if(this.autocomplete){const ki=this.autocomplete._keyManager.activeItem,dn=ut===de.LH||ut===de.JH;ut===de.Mf||dn&&!ni&&this.panelOpen?this.autocomplete._keyManager.onKeydown(Se):dn&&this._canOpen()&&this.openPanel(),(dn||this.autocomplete._keyManager.activeItem!==ki)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(Se){let ut=Se.target,ni=ut.value;"number"===ut.type&&(ni=""==ni?null:parseFloat(ni)),this._previousValue!==ni&&(this._previousValue=ni,this._pendingAutoselectedOption=null,this._onChange(ni),this._canOpen()&&this._document.activeElement===Se.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(Se=!1){this._formField&&"auto"===this._formField.floatLabel&&(Se?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const Se=this._zone.onStable.pipe((0,st.q)(1)),ut=this.autocomplete.options.changes.pipe((0,at.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,_e.g)(0));return(0,V.T)(Se,ut).pipe((0,jt.w)(()=>(this._zone.run(()=>{const ni=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),ni!==this.panelOpen&&(this.panelOpen?this.autocomplete.opened.emit():this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,st.q)(1)).subscribe(ni=>this._setValueAndClose(ni))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(Se){const ut=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(Se):Se;this._updateNativeInputValue(null!=ut?ut:"")}_updateNativeInputValue(Se){this._formField?this._formField._control.value=Se:this._element.nativeElement.value=Se,this._previousValue=Se}_setValueAndClose(Se){const ut=Se?Se.source:this._pendingAutoselectedOption;ut&&(this._clearPreviousSelectedOption(ut),this._assignOptionValue(ut.value),this._onChange(ut.value),this.autocomplete._emitSelectEvent(ut),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(Se){this.autocomplete.options.forEach(ut=>{ut!==Se&&ut.selected&&ut.deselect()})}_attachOverlay(){var Se;let ut=this._overlayRef;ut?(this._positionStrategy.setOrigin(this._getConnectedElement()),ut.updateSize({width:this._getPanelWidth()})):(this._portal=new Ge.UE(this.autocomplete.template,this._viewContainerRef,{id:null===(Se=this._formField)||void 0===Se?void 0:Se.getLabelId()}),ut=this._overlay.create(this._getOverlayConfig()),this._overlayRef=ut,this._handleOverlayEvents(ut),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&ut&&ut.updateSize({width:this._getPanelWidth()})})),ut&&!ut.hasAttached()&&(ut.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const ni=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&ni!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){var Se;return new Oe.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(Se=this._defaults)||void 0===Se?void 0:Se.overlayPanelClass})}_getOverlayPosition(){const Se=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(Se),this._positionStrategy=Se,Se}_setStrategyPositions(Se){const ut=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],ni=this._aboveClass,ki=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:ni},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:ni}];let dn;dn="above"===this.position?ki:"below"===this.position?ut:[...ut,...ki],Se.withPositions(dn)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const Se=this.autocomplete;Se.autoActiveFirstOption?Se._keyManager.setFirstItemActive():Se._keyManager.setActiveItem(-1)}_canOpen(){const Se=this._element.nativeElement;return!Se.readOnly&&!Se.disabled&&!this._autocompleteDisabled}_getWindow(){var Se;return(null===(Se=this._document)||void 0===Se?void 0:Se.defaultView)||window}_scrollToOption(Se){const ut=this.autocomplete,ni=(0,b.CB)(Se,ut.options,ut.optionGroups);if(0===Se&&1===ni)ut._setScrollTop(0);else if(ut.panel){const ki=ut.options.toArray()[Se];if(ki){const dn=ki._getHostElement(),ai=(0,b.jH)(dn.offsetTop,dn.offsetHeight,ut._getScrollTop(),ut.panel.nativeElement.offsetHeight);ut._setScrollTop(ai)}}}_handleOverlayEvents(Se){Se.keydownEvents().subscribe(ut=>{var ni;(ut.keyCode===de.hY&&!(0,de.Vb)(ut)||ut.keyCode===de.LH&&(0,de.Vb)(ut,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(null!==(ni=this._valueBeforeAutoSelection)&&void 0!==ni?ni:""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),ut.stopPropagation(),ut.preventDefault())}),Se.outsidePointerEvents().subscribe()}}return ne.\u0275fac=function(Se){return new(Se||ne)(e.Y36(e.SBq),e.Y36(Oe.aV),e.Y36(e.s_b),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(ye),e.Y36(xt.Is,8),e.Y36(Ne.G_,9),e.Y36(ce.K0,8),e.Y36(Pe.rL),e.Y36(kt,8))},ne.\u0275dir=e.lG2({type:ne,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[e.TTD]}),ne})(),Lt=(()=>{class ne extends Yt{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return ne.\u0275fac=function(){let Tt;return function(ut){return(Tt||(Tt=e.n5z(ne)))(ut||ne)}}(),ne.\u0275dir=e.lG2({type:ne,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(Se,ut){1&Se&&e.NdJ("focusin",function(){return ut._handleFocus()})("blur",function(){return ut._onTouched()})("input",function(ki){return ut._handleInput(ki)})("keydown",function(ki){return ut._handleKeydown(ki)})("click",function(){return ut._handleClick()}),2&Se&&e.uIk("autocomplete",ut.autocompleteAttribute)("role",ut.autocompleteDisabled?null:"combobox")("aria-autocomplete",ut.autocompleteDisabled?null:"list")("aria-activedescendant",ut.panelOpen&&ut.activeOption?ut.activeOption.id:null)("aria-expanded",ut.autocompleteDisabled?null:ut.panelOpen.toString())("aria-owns",ut.autocompleteDisabled||!ut.panelOpen||null==ut.autocomplete?null:ut.autocomplete.id)("aria-haspopup",ut.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[e._Bn([he]),e.qOj]}),ne})(),hi=(()=>{class ne{}return ne.\u0275fac=function(Se){return new(Se||ne)},ne.\u0275mod=e.oAB({type:ne}),ne.\u0275inj=e.cJS({providers:[Ae],imports:[Oe.U8,b.Ng,b.BQ,ce.ez,Pe.ZD,b.Ng,b.BQ]}),ne})()},7423:(B,U,C)=>{"use strict";C.d(U,{lW:()=>J,ot:()=>ce});var c=C(5e3),m=C(508),e=C(5664);const b=["mat-button",""],T=["*"],V=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],X=(0,m.pj)((0,m.Id)((0,m.Kr)(class{constructor(Oe){this._elementRef=Oe}})));let J=(()=>{class Oe extends X{constructor(de,Ge,le){super(de),this._focusMonitor=Ge,this._animationMode=le,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const Ne of V)this._hasHostAttributes(Ne)&&this._getHostElement().classList.add(Ne);de.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(de,Ge){de?this._focusMonitor.focusVia(this._getHostElement(),de,Ge):this._getHostElement().focus(Ge)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...de){return de.some(Ge=>this._getHostElement().hasAttribute(Ge))}}return Oe.\u0275fac=function(de){return new(de||Oe)(c.Y36(c.SBq),c.Y36(e.tE),c.Y36(c.QbO,8))},Oe.\u0275cmp=c.Xpm({type:Oe,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(de,Ge){if(1&de&&c.Gf(m.wG,5),2&de){let le;c.iGM(le=c.CRH())&&(Ge.ripple=le.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(de,Ge){2&de&&(c.uIk("disabled",Ge.disabled||null),c.ekj("_mat-animation-noopable","NoopAnimations"===Ge._animationMode)("mat-button-disabled",Ge.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[c.qOj],attrs:b,ngContentSelectors:T,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(de,Ge){1&de&&(c.F$t(),c.TgZ(0,"span",0),c.Hsn(1),c.qZA(),c._UZ(2,"span",1)(3,"span",2)),2&de&&(c.xp6(2),c.ekj("mat-button-ripple-round",Ge.isRoundButton||Ge.isIconButton),c.Q6J("matRippleDisabled",Ge._isRippleDisabled())("matRippleCentered",Ge.isIconButton)("matRippleTrigger",Ge._getHostElement()))},dependencies:[m.wG],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}"],encapsulation:2,changeDetection:0}),Oe})(),ce=(()=>{class Oe{}return Oe.\u0275fac=function(de){return new(de||Oe)},Oe.\u0275mod=c.oAB({type:Oe}),Oe.\u0275inj=c.cJS({imports:[m.si,m.BQ,m.BQ]}),Oe})()},508:(B,U,C)=>{"use strict";C.d(U,{yN:()=>Ne,mZ:()=>yt,_A:()=>ri,rD:()=>Lt,sG:()=>bt,Ad:()=>mt,K7:()=>Et,HF:()=>Fe,Y2:()=>Je,BQ:()=>Te,X2:()=>Ai,uc:()=>ne,XK:()=>nt,ey:()=>Bi,Ng:()=>Hi,rN:()=>di,nP:()=>A,us:()=>et,wG:()=>Y,si:()=>ee,IR:()=>ai,CB:()=>xi,jH:()=>$n,pj:()=>tt,Kr:()=>Ye,Id:()=>xt,FD:()=>ie,dB:()=>ke,sb:()=>qe,E0:()=>ei});var c=C(5e3),m=C(226),b=C(9808),T=C(925),k=C(5664),F=C(3191),V=C(9751),X=C(7579),J=C(8675),ue=C(1159);function Pe(ht,it){if(1&ht&&c._UZ(0,"mat-pseudo-checkbox",4),2&ht){const Qe=c.oxw();c.Q6J("state",Qe.selected?"checked":"unchecked")("disabled",Qe.disabled)}}function de(ht,it){if(1&ht&&(c.TgZ(0,"span",5),c._uU(1),c.qZA()),2&ht){const Qe=c.oxw();c.xp6(1),c.hij("(",Qe.group.label,")")}}const Ge=["*"];let Ne=(()=>{class ht{}return ht.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",ht.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",ht.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",ht.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",ht})(),yt=(()=>{class ht{}return ht.COMPLEX="375ms",ht.ENTERING="225ms",ht.EXITING="195ms",ht})();const st=new c.OlP("mat-sanity-checks",{providedIn:"root",factory:function jt(){return!0}});let Te=(()=>{class ht{constructor(Qe,Re,We){this._sanityChecks=Re,this._document=We,this._hasDoneGlobalChecks=!1,Qe._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(Qe){return!(0,T.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[Qe])}}return ht.\u0275fac=function(Qe){return new(Qe||ht)(c.LFG(k.qm),c.LFG(st,8),c.LFG(b.K0))},ht.\u0275mod=c.oAB({type:ht}),ht.\u0275inj=c.cJS({imports:[m.vT,m.vT]}),ht})();function xt(ht){return class extends ht{constructor(...it){super(...it),this._disabled=!1}get disabled(){return this._disabled}set disabled(it){this._disabled=(0,F.Ig)(it)}}}function tt(ht,it){return class extends ht{constructor(...Qe){super(...Qe),this.defaultColor=it,this.color=it}get color(){return this._color}set color(Qe){const Re=Qe||this.defaultColor;Re!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),Re&&this._elementRef.nativeElement.classList.add(`mat-${Re}`),this._color=Re)}}}function Ye(ht){return class extends ht{constructor(...it){super(...it),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(it){this._disableRipple=(0,F.Ig)(it)}}}function qe(ht,it=0){return class extends ht{constructor(...Qe){super(...Qe),this._tabIndex=it,this.defaultTabIndex=it}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(Qe){this._tabIndex=null!=Qe?(0,F.su)(Qe):this.defaultTabIndex}}}function ie(ht){return class extends ht{constructor(...it){super(...it),this.errorState=!1}updateErrorState(){const it=this.errorState,Ie=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);Ie!==it&&(this.errorState=Ie,this.stateChanges.next())}}}function ke(ht){return class extends ht{constructor(...it){super(...it),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new V.y(Qe=>{this._isInitialized?this._notifySubscriber(Qe):this._pendingSubscribers.push(Qe)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(it){it.next(),it.complete()}}}const mt=new c.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function kt(){return(0,c.f3M)(c.soG)}});class ri{constructor(){this._localeChanges=new X.x,this.localeChanges=this._localeChanges}getValidDateOrNull(it){return this.isDateInstance(it)&&this.isValid(it)?it:null}deserialize(it){return null==it||this.isDateInstance(it)&&this.isValid(it)?it:this.invalid()}setLocale(it){this.locale=it,this._localeChanges.next()}compareDate(it,Qe){return this.getYear(it)-this.getYear(Qe)||this.getMonth(it)-this.getMonth(Qe)||this.getDate(it)-this.getDate(Qe)}sameDate(it,Qe){if(it&&Qe){let Re=this.isValid(it),We=this.isValid(Qe);return Re&&We?!this.compareDate(it,Qe):Re==We}return it==Qe}clampDate(it,Qe,Re){return Qe&&this.compareDate(it,Qe)<0?Qe:Re&&this.compareDate(it,Re)>0?Re:it}}const bt=new c.OlP("mat-date-formats"),Wt=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function ye(ht,it){const Qe=Array(ht);for(let Re=0;Re{class ht extends ri{constructor(Qe,Re){super(),this.useUtcForDisplay=!1,super.setLocale(Qe)}getYear(Qe){return Qe.getFullYear()}getMonth(Qe){return Qe.getMonth()}getDate(Qe){return Qe.getDate()}getDayOfWeek(Qe){return Qe.getDay()}getMonthNames(Qe){const Re=new Intl.DateTimeFormat(this.locale,{month:Qe,timeZone:"utc"});return ye(12,We=>this._format(Re,new Date(2017,We,1)))}getDateNames(){const Qe=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return ye(31,Re=>this._format(Qe,new Date(2017,0,Re+1)))}getDayOfWeekNames(Qe){const Re=new Intl.DateTimeFormat(this.locale,{weekday:Qe,timeZone:"utc"});return ye(7,We=>this._format(Re,new Date(2017,0,We+1)))}getYearName(Qe){const Re=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(Re,Qe)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(Qe){return this.getDate(this._createDateWithOverflow(this.getYear(Qe),this.getMonth(Qe)+1,0))}clone(Qe){return new Date(Qe.getTime())}createDate(Qe,Re,We){let Ie=this._createDateWithOverflow(Qe,Re,We);return Ie.getMonth(),Ie}today(){return new Date}parse(Qe,Re){return"number"==typeof Qe?new Date(Qe):Qe?new Date(Date.parse(Qe)):null}format(Qe,Re){if(!this.isValid(Qe))throw Error("NativeDateAdapter: Cannot format invalid date.");const We=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},Re),{timeZone:"utc"}));return this._format(We,Qe)}addCalendarYears(Qe,Re){return this.addCalendarMonths(Qe,12*Re)}addCalendarMonths(Qe,Re){let We=this._createDateWithOverflow(this.getYear(Qe),this.getMonth(Qe)+Re,this.getDate(Qe));return this.getMonth(We)!=((this.getMonth(Qe)+Re)%12+12)%12&&(We=this._createDateWithOverflow(this.getYear(We),this.getMonth(We),0)),We}addCalendarDays(Qe,Re){return this._createDateWithOverflow(this.getYear(Qe),this.getMonth(Qe),this.getDate(Qe)+Re)}toIso8601(Qe){return[Qe.getUTCFullYear(),this._2digit(Qe.getUTCMonth()+1),this._2digit(Qe.getUTCDate())].join("-")}deserialize(Qe){if("string"==typeof Qe){if(!Qe)return null;if(Wt.test(Qe)){let Re=new Date(Qe);if(this.isValid(Re))return Re}}return super.deserialize(Qe)}isDateInstance(Qe){return Qe instanceof Date}isValid(Qe){return!isNaN(Qe.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(Qe,Re,We){const Ie=new Date;return Ie.setFullYear(Qe,Re,We),Ie.setHours(0,0,0,0),Ie}_2digit(Qe){return("00"+Qe).slice(-2)}_format(Qe,Re){const We=new Date;return We.setUTCFullYear(Re.getFullYear(),Re.getMonth(),Re.getDate()),We.setUTCHours(Re.getHours(),Re.getMinutes(),Re.getSeconds(),Re.getMilliseconds()),Qe.format(We)}}return ht.\u0275fac=function(Qe){return new(Qe||ht)(c.LFG(mt,8),c.LFG(T.t4))},ht.\u0275prov=c.Yz7({token:ht,factory:ht.\u0275fac}),ht})();const Ae={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let he=(()=>{class ht{}return ht.\u0275fac=function(Qe){return new(Qe||ht)},ht.\u0275mod=c.oAB({type:ht}),ht.\u0275inj=c.cJS({providers:[{provide:ri,useClass:Xe}]}),ht})(),nt=(()=>{class ht{}return ht.\u0275fac=function(Qe){return new(Qe||ht)},ht.\u0275mod=c.oAB({type:ht}),ht.\u0275inj=c.cJS({providers:[{provide:bt,useValue:Ae}],imports:[he]}),ht})(),Lt=(()=>{class ht{isErrorState(Qe,Re){return!!(Qe&&Qe.invalid&&(Qe.touched||Re&&Re.submitted))}}return ht.\u0275fac=function(Qe){return new(Qe||ht)},ht.\u0275prov=c.Yz7({token:ht,factory:ht.\u0275fac,providedIn:"root"}),ht})(),Ai=(()=>{class ht{}return ht.\u0275fac=function(Qe){return new(Qe||ht)},ht.\u0275dir=c.lG2({type:ht,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),ht})();function ei(ht,it,Qe="mat"){ht.changes.pipe((0,J.O)(ht)).subscribe(({length:Re})=>{hi(it,`${Qe}-2-line`,!1),hi(it,`${Qe}-3-line`,!1),hi(it,`${Qe}-multi-line`,!1),2===Re||3===Re?hi(it,`${Qe}-${Re}-line`,!0):Re>3&&hi(it,`${Qe}-multi-line`,!0)})}function hi(ht,it,Qe){ht.nativeElement.classList.toggle(it,Qe)}let ne=(()=>{class ht{}return ht.\u0275fac=function(Qe){return new(Qe||ht)},ht.\u0275mod=c.oAB({type:ht}),ht.\u0275inj=c.cJS({imports:[Te,Te]}),ht})();class Tt{constructor(it,Qe,Re,We=!1){this._renderer=it,this.element=Qe,this.config=Re,this._animationForciblyDisabledThroughCss=We,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Se={enterDuration:225,exitDuration:150},ni=(0,T.i$)({passive:!0}),ki=["mousedown","touchstart"],dn=["mouseup","mouseleave","touchend","touchcancel"];class ai{constructor(it,Qe,Re,We){this._target=it,this._ngZone=Qe,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,We.isBrowser&&(this._containerElement=(0,F.fI)(Re))}fadeInRipple(it,Qe,Re={}){const We=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Ie=Object.assign(Object.assign({},Se),Re.animation);Re.centered&&(it=We.left+We.width/2,Qe=We.top+We.height/2);const _t=Re.radius||function ti(ht,it,Qe){const Re=Math.max(Math.abs(ht-Qe.left),Math.abs(ht-Qe.right)),We=Math.max(Math.abs(it-Qe.top),Math.abs(it-Qe.bottom));return Math.sqrt(Re*Re+We*We)}(it,Qe,We),Dt=it-We.left,si=Qe-We.top,Vi=Ie.enterDuration,It=document.createElement("div");It.classList.add("mat-ripple-element"),It.style.left=Dt-_t+"px",It.style.top=si-_t+"px",It.style.height=2*_t+"px",It.style.width=2*_t+"px",null!=Re.color&&(It.style.backgroundColor=Re.color),It.style.transitionDuration=`${Vi}ms`,this._containerElement.appendChild(It);const ci=window.getComputedStyle(It),pt=ci.transitionDuration,ot="none"===ci.transitionProperty||"0s"===pt||"0s, 0s"===pt,qt=new Tt(this,It,Re,ot);It.style.transform="scale3d(1, 1, 1)",qt.state=0,Re.persistent||(this._mostRecentTransientRipple=qt);let un=null;return!ot&&(Vi||Ie.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const ln=()=>this._finishRippleTransition(qt),vt=()=>this._destroyRipple(qt);It.addEventListener("transitionend",ln),It.addEventListener("transitioncancel",vt),un={onTransitionEnd:ln,onTransitionCancel:vt}}),this._activeRipples.set(qt,un),(ot||!Vi)&&this._finishRippleTransition(qt),qt}fadeOutRipple(it){if(2===it.state||3===it.state)return;const Qe=it.element,Re=Object.assign(Object.assign({},Se),it.config.animation);Qe.style.transitionDuration=`${Re.exitDuration}ms`,Qe.style.opacity="0",it.state=2,(it._animationForciblyDisabledThroughCss||!Re.exitDuration)&&this._finishRippleTransition(it)}fadeOutAll(){this._getActiveRipples().forEach(it=>it.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(it=>{it.config.persistent||it.fadeOut()})}setupTriggerEvents(it){const Qe=(0,F.fI)(it);!Qe||Qe===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=Qe,this._registerEvents(ki))}handleEvent(it){"mousedown"===it.type?this._onMousedown(it):"touchstart"===it.type?this._onTouchStart(it):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(dn),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(it){0===it.state?this._startFadeOutTransition(it):2===it.state&&this._destroyRipple(it)}_startFadeOutTransition(it){const Qe=it===this._mostRecentTransientRipple,{persistent:Re}=it.config;it.state=1,!Re&&(!Qe||!this._isPointerDown)&&it.fadeOut()}_destroyRipple(it){var Qe;const Re=null!==(Qe=this._activeRipples.get(it))&&void 0!==Qe?Qe:null;this._activeRipples.delete(it),this._activeRipples.size||(this._containerRect=null),it===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),it.state=3,null!==Re&&(it.element.removeEventListener("transitionend",Re.onTransitionEnd),it.element.removeEventListener("transitioncancel",Re.onTransitionCancel)),it.element.remove()}_onMousedown(it){const Qe=(0,k.X6)(it),Re=this._lastTouchStartEvent&&Date.now(){!it.config.persistent&&(1===it.state||it.config.terminateOnPointerUp&&0===it.state)&&it.fadeOut()}))}_registerEvents(it){this._ngZone.runOutsideAngular(()=>{it.forEach(Qe=>{this._triggerElement.addEventListener(Qe,this,ni)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&(ki.forEach(it=>{this._triggerElement.removeEventListener(it,this,ni)}),this._pointerUpEventsRegistered&&dn.forEach(it=>{this._triggerElement.removeEventListener(it,this,ni)}))}}const Je=new c.OlP("mat-ripple-global-options");let Y=(()=>{class ht{constructor(Qe,Re,We,Ie,_t){this._elementRef=Qe,this._animationMode=_t,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Ie||{},this._rippleRenderer=new ai(this,Re,Qe,We)}get disabled(){return this._disabled}set disabled(Qe){Qe&&this.fadeOutAllNonPersistent(),this._disabled=Qe,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(Qe){this._trigger=Qe,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(Qe,Re=0,We){return"number"==typeof Qe?this._rippleRenderer.fadeInRipple(Qe,Re,Object.assign(Object.assign({},this.rippleConfig),We)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),Qe))}}return ht.\u0275fac=function(Qe){return new(Qe||ht)(c.Y36(c.SBq),c.Y36(c.R0b),c.Y36(T.t4),c.Y36(Je,8),c.Y36(c.QbO,8))},ht.\u0275dir=c.lG2({type:ht,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(Qe,Re){2&Qe&&c.ekj("mat-ripple-unbounded",Re.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),ht})(),ee=(()=>{class ht{}return ht.\u0275fac=function(Qe){return new(Qe||ht)},ht.\u0275mod=c.oAB({type:ht}),ht.\u0275inj=c.cJS({imports:[Te,Te]}),ht})(),A=(()=>{class ht{constructor(Qe){this._animationMode=Qe,this.state="unchecked",this.disabled=!1}}return ht.\u0275fac=function(Qe){return new(Qe||ht)(c.Y36(c.QbO,8))},ht.\u0275cmp=c.Xpm({type:ht,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(Qe,Re){2&Qe&&c.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===Re.state)("mat-pseudo-checkbox-checked","checked"===Re.state)("mat-pseudo-checkbox-disabled",Re.disabled)("_mat-animation-noopable","NoopAnimations"===Re._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(Qe,Re){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}'],encapsulation:2,changeDetection:0}),ht})(),et=(()=>{class ht{}return ht.\u0275fac=function(Qe){return new(Qe||ht)},ht.\u0275mod=c.oAB({type:ht}),ht.\u0275inj=c.cJS({imports:[Te]}),ht})();const Fe=new c.OlP("MAT_OPTION_PARENT_COMPONENT"),Et=new c.OlP("MatOptgroup");let _i=0;class di{constructor(it,Qe=!1){this.source=it,this.isUserInput=Qe}}let zt=(()=>{class ht{constructor(Qe,Re,We,Ie){this._element=Qe,this._changeDetectorRef=Re,this._parent=We,this.group=Ie,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+_i++,this.onSelectionChange=new c.vpe,this._stateChanges=new X.x}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(Qe){this._disabled=(0,F.Ig)(Qe)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(Qe,Re){const We=this._getHostElement();"function"==typeof We.focus&&We.focus(Re)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(Qe){(Qe.keyCode===ue.K5||Qe.keyCode===ue.L_)&&!(0,ue.Vb)(Qe)&&(this._selectViaInteraction(),Qe.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const Qe=this.viewValue;Qe!==this._mostRecentViewValue&&(this._mostRecentViewValue=Qe,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(Qe=!1){this.onSelectionChange.emit(new di(this,Qe))}}return ht.\u0275fac=function(Qe){c.$Z()},ht.\u0275dir=c.lG2({type:ht,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),ht})(),Bi=(()=>{class ht extends zt{constructor(Qe,Re,We,Ie){super(Qe,Re,We,Ie)}}return ht.\u0275fac=function(Qe){return new(Qe||ht)(c.Y36(c.SBq),c.Y36(c.sBO),c.Y36(Fe,8),c.Y36(Et,8))},ht.\u0275cmp=c.Xpm({type:ht,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(Qe,Re){1&Qe&&c.NdJ("click",function(){return Re._selectViaInteraction()})("keydown",function(Ie){return Re._handleKeydown(Ie)}),2&Qe&&(c.Ikx("id",Re.id),c.uIk("tabindex",Re._getTabIndex())("aria-selected",Re._getAriaSelected())("aria-disabled",Re.disabled.toString()),c.ekj("mat-selected",Re.selected)("mat-option-multiple",Re.multiple)("mat-active",Re.active)("mat-option-disabled",Re.disabled))},exportAs:["matOption"],features:[c.qOj],ngContentSelectors:Ge,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(Qe,Re){1&Qe&&(c.F$t(),c.YNc(0,Pe,1,2,"mat-pseudo-checkbox",0),c.TgZ(1,"span",1),c.Hsn(2),c.qZA(),c.YNc(3,de,2,1,"span",2),c._UZ(4,"div",3)),2&Qe&&(c.Q6J("ngIf",Re.multiple),c.xp6(3),c.Q6J("ngIf",Re.group&&Re.group._inert),c.xp6(1),c.Q6J("matRippleTrigger",Re._getHostElement())("matRippleDisabled",Re.disabled||Re.disableRipple))},dependencies:[Y,b.O5,A],styles:['.mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option.mat-active::before{content:""}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{right:auto;left:16px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}'],encapsulation:2,changeDetection:0}),ht})();function xi(ht,it,Qe){if(Qe.length){let Re=it.toArray(),We=Qe.toArray(),Ie=0;for(let _t=0;_tQe+Re?Math.max(0,ht-Re+it):Qe}let Hi=(()=>{class ht{}return ht.\u0275fac=function(Qe){return new(Qe||ht)},ht.\u0275mod=c.oAB({type:ht}),ht.\u0275inj=c.cJS({imports:[ee,b.ez,Te,et]}),ht})()},4834:(B,U,C)=>{"use strict";C.d(U,{d:()=>b,t:()=>T});var c=C(5e3),m=C(3191),e=C(508);let b=(()=>{class k{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(V){this._vertical=(0,m.Ig)(V)}get inset(){return this._inset}set inset(V){this._inset=(0,m.Ig)(V)}}return k.\u0275fac=function(V){return new(V||k)},k.\u0275cmp=c.Xpm({type:k,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(V,X){2&V&&(c.uIk("aria-orientation",X.vertical?"vertical":"horizontal"),c.ekj("mat-divider-vertical",X.vertical)("mat-divider-horizontal",!X.vertical)("mat-divider-inset",X.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(V,X){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0}),k})(),T=(()=>{class k{}return k.\u0275fac=function(V){return new(V||k)},k.\u0275mod=c.oAB({type:k}),k.\u0275inj=c.cJS({imports:[e.BQ,e.BQ]}),k})()},1125:(B,U,C)=>{"use strict";C.d(U,{pp:()=>ei,To:()=>hi,ib:()=>Xe,yz:()=>Yt,yK:()=>Ai});var c=C(5e3),m=C(3191),e=C(7579),b=C(727),T=C(449);let k=0;const F=new c.OlP("CdkAccordion");let V=(()=>{class ne{constructor(){this._stateChanges=new e.x,this._openCloseAllActions=new e.x,this.id="cdk-accordion-"+k++,this._multi=!1}get multi(){return this._multi}set multi(Se){this._multi=(0,m.Ig)(Se)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(Se){this._stateChanges.next(Se)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return ne.\u0275fac=function(Se){return new(Se||ne)},ne.\u0275dir=c.lG2({type:ne,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[c._Bn([{provide:F,useExisting:ne}]),c.TTD]}),ne})(),X=0,J=(()=>{class ne{constructor(Se,ut,ni){this.accordion=Se,this._changeDetectorRef=ut,this._expansionDispatcher=ni,this._openCloseAllSubscription=b.w0.EMPTY,this.closed=new c.vpe,this.opened=new c.vpe,this.destroyed=new c.vpe,this.expandedChange=new c.vpe,this.id="cdk-accordion-child-"+X++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=ni.listen((ki,dn)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===dn&&this.id!==ki&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(Se){Se=(0,m.Ig)(Se),this._expanded!==Se&&(this._expanded=Se,this.expandedChange.emit(Se),Se?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(Se){this._disabled=(0,m.Ig)(Se)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(Se=>{this.disabled||(this.expanded=Se)})}}return ne.\u0275fac=function(Se){return new(Se||ne)(c.Y36(F,12),c.Y36(c.sBO),c.Y36(T.A8))},ne.\u0275dir=c.lG2({type:ne,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[c._Bn([{provide:F,useValue:void 0}])]}),ne})(),ue=(()=>{class ne{}return ne.\u0275fac=function(Se){return new(Se||ne)},ne.\u0275mod=c.oAB({type:ne}),ne.\u0275inj=c.cJS({}),ne})();var ce=C(7429),Oe=C(9808),Pe=C(508),de=C(5664),Ge=C(1884),le=C(8675),Ne=C(9300),yt=C(5698),jt=C(1159),st=C(515),Te=C(6451),Le=C(1777);const at=["body"];function _e(ne,Tt){}const xt=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],tt=["mat-expansion-panel-header","*","mat-action-row"];function Ye(ne,Tt){if(1&ne&&c._UZ(0,"span",2),2&ne){const Se=c.oxw();c.Q6J("@indicatorRotate",Se._getExpandedState())}}const qe=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],ie=["mat-panel-title","mat-panel-description","*"],ke=new c.OlP("MAT_ACCORDION"),mt="225ms cubic-bezier(0.4,0.0,0.2,1)",kt={indicatorRotate:(0,Le.X$)("indicatorRotate",[(0,Le.SB)("collapsed, void",(0,Le.oB)({transform:"rotate(0deg)"})),(0,Le.SB)("expanded",(0,Le.oB)({transform:"rotate(180deg)"})),(0,Le.eR)("expanded <=> collapsed, void => collapsed",(0,Le.jt)(mt))]),bodyExpansion:(0,Le.X$)("bodyExpansion",[(0,Le.SB)("collapsed, void",(0,Le.oB)({height:"0px",visibility:"hidden"})),(0,Le.SB)("expanded",(0,Le.oB)({height:"*",visibility:"visible"})),(0,Le.eR)("expanded <=> collapsed, void => collapsed",(0,Le.jt)(mt))])},ri=new c.OlP("MAT_EXPANSION_PANEL");let bt=(()=>{class ne{constructor(Se,ut){this._template=Se,this._expansionPanel=ut}}return ne.\u0275fac=function(Se){return new(Se||ne)(c.Y36(c.Rgc),c.Y36(ri,8))},ne.\u0275dir=c.lG2({type:ne,selectors:[["ng-template","matExpansionPanelContent",""]]}),ne})(),Wt=0;const ye=new c.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let Xe=(()=>{class ne extends J{constructor(Se,ut,ni,ki,dn,ai,ti){super(Se,ut,ni),this._viewContainerRef=ki,this._animationMode=ai,this._hideToggle=!1,this.afterExpand=new c.vpe,this.afterCollapse=new c.vpe,this._inputChanges=new e.x,this._headerId="mat-expansion-panel-header-"+Wt++,this._bodyAnimationDone=new e.x,this.accordion=Se,this._document=dn,this._bodyAnimationDone.pipe((0,Ge.x)((Je,Y)=>Je.fromState===Y.fromState&&Je.toState===Y.toState)).subscribe(Je=>{"void"!==Je.fromState&&("expanded"===Je.toState?this.afterExpand.emit():"collapsed"===Je.toState&&this.afterCollapse.emit())}),ti&&(this.hideToggle=ti.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(Se){this._hideToggle=(0,m.Ig)(Se)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(Se){this._togglePosition=Se}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe((0,le.O)(null),(0,Ne.h)(()=>this.expanded&&!this._portal),(0,yt.q)(1)).subscribe(()=>{this._portal=new ce.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(Se){this._inputChanges.next(Se)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const Se=this._document.activeElement,ut=this._body.nativeElement;return Se===ut||ut.contains(Se)}return!1}}return ne.\u0275fac=function(Se){return new(Se||ne)(c.Y36(ke,12),c.Y36(c.sBO),c.Y36(T.A8),c.Y36(c.s_b),c.Y36(Oe.K0),c.Y36(c.QbO,8),c.Y36(ye,8))},ne.\u0275cmp=c.Xpm({type:ne,selectors:[["mat-expansion-panel"]],contentQueries:function(Se,ut,ni){if(1&Se&&c.Suo(ni,bt,5),2&Se){let ki;c.iGM(ki=c.CRH())&&(ut._lazyContent=ki.first)}},viewQuery:function(Se,ut){if(1&Se&&c.Gf(at,5),2&Se){let ni;c.iGM(ni=c.CRH())&&(ut._body=ni.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(Se,ut){2&Se&&c.ekj("mat-expanded",ut.expanded)("_mat-animation-noopable","NoopAnimations"===ut._animationMode)("mat-expansion-panel-spacing",ut._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[c._Bn([{provide:ke,useValue:void 0},{provide:ri,useExisting:ne}]),c.qOj,c.TTD],ngContentSelectors:tt,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(Se,ut){1&Se&&(c.F$t(xt),c.Hsn(0),c.TgZ(1,"div",0,1),c.NdJ("@bodyExpansion.done",function(ki){return ut._bodyAnimationDone.next(ki)}),c.TgZ(3,"div",2),c.Hsn(4,1),c.YNc(5,_e,0,0,"ng-template",3),c.qZA(),c.Hsn(6,2),c.qZA()),2&Se&&(c.xp6(1),c.Q6J("@bodyExpansion",ut._getExpandedState())("id",ut.id),c.uIk("aria-labelledby",ut._headerId),c.xp6(4),c.Q6J("cdkPortalOutlet",ut._portal))},dependencies:[ce.Pl],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[kt.bodyExpansion]},changeDetection:0}),ne})();class he{}const nt=(0,Pe.sb)(he);let Yt=(()=>{class ne extends nt{constructor(Se,ut,ni,ki,dn,ai,ti){super(),this.panel=Se,this._element=ut,this._focusMonitor=ni,this._changeDetectorRef=ki,this._animationMode=ai,this._parentChangeSubscription=b.w0.EMPTY;const Je=Se.accordion?Se.accordion._stateChanges.pipe((0,Ne.h)(Y=>!(!Y.hideToggle&&!Y.togglePosition))):st.E;this.tabIndex=parseInt(ti||"")||0,this._parentChangeSubscription=(0,Te.T)(Se.opened,Se.closed,Je,Se._inputChanges.pipe((0,Ne.h)(Y=>!!(Y.hideToggle||Y.disabled||Y.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),Se.closed.pipe((0,Ne.h)(()=>Se._containsFocus())).subscribe(()=>ni.focusVia(ut,"program")),dn&&(this.expandedHeight=dn.expandedHeight,this.collapsedHeight=dn.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const Se=this._isExpanded();return Se&&this.expandedHeight?this.expandedHeight:!Se&&this.collapsedHeight?this.collapsedHeight:null}_keydown(Se){switch(Se.keyCode){case jt.L_:case jt.K5:(0,jt.Vb)(Se)||(Se.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(Se))}}focus(Se,ut){Se?this._focusMonitor.focusVia(this._element,Se,ut):this._element.nativeElement.focus(ut)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(Se=>{Se&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return ne.\u0275fac=function(Se){return new(Se||ne)(c.Y36(Xe,1),c.Y36(c.SBq),c.Y36(de.tE),c.Y36(c.sBO),c.Y36(ye,8),c.Y36(c.QbO,8),c.$8M("tabindex"))},ne.\u0275cmp=c.Xpm({type:ne,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(Se,ut){1&Se&&c.NdJ("click",function(){return ut._toggle()})("keydown",function(ki){return ut._keydown(ki)}),2&Se&&(c.uIk("id",ut.panel._headerId)("tabindex",ut.tabIndex)("aria-controls",ut._getPanelId())("aria-expanded",ut._isExpanded())("aria-disabled",ut.panel.disabled),c.Udp("height",ut._getHeaderHeight()),c.ekj("mat-expanded",ut._isExpanded())("mat-expansion-toggle-indicator-after","after"===ut._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===ut._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===ut._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[c.qOj],ngContentSelectors:ie,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(Se,ut){1&Se&&(c.F$t(qe),c.TgZ(0,"span",0),c.Hsn(1),c.Hsn(2,1),c.Hsn(3,2),c.qZA(),c.YNc(4,Ye,1,1,"span",1)),2&Se&&(c.ekj("mat-content-hide-toggle",!ut._showToggle()),c.xp6(4),c.Q6J("ngIf",ut._showToggle()))},dependencies:[Oe.O5],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[kt.indicatorRotate]},changeDetection:0}),ne})(),Ai=(()=>{class ne{}return ne.\u0275fac=function(Se){return new(Se||ne)},ne.\u0275dir=c.lG2({type:ne,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),ne})(),ei=(()=>{class ne extends V{constructor(){super(...arguments),this._ownHeaders=new c.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(Se){this._hideToggle=(0,m.Ig)(Se)}ngAfterContentInit(){this._headers.changes.pipe((0,le.O)(this._headers)).subscribe(Se=>{this._ownHeaders.reset(Se.filter(ut=>ut.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new de.Em(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(Se){this._keyManager.onKeydown(Se)}_handleHeaderFocus(Se){this._keyManager.updateActiveItem(Se)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return ne.\u0275fac=function(){let Tt;return function(ut){return(Tt||(Tt=c.n5z(ne)))(ut||ne)}}(),ne.\u0275dir=c.lG2({type:ne,selectors:[["mat-accordion"]],contentQueries:function(Se,ut,ni){if(1&Se&&c.Suo(ni,Yt,5),2&Se){let ki;c.iGM(ki=c.CRH())&&(ut._headers=ki)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(Se,ut){2&Se&&c.ekj("mat-accordion-multi",ut.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[c._Bn([{provide:ke,useExisting:ne}]),c.qOj]}),ne})(),hi=(()=>{class ne{}return ne.\u0275fac=function(Se){return new(Se||ne)},ne.\u0275mod=c.oAB({type:ne}),ne.\u0275inj=c.cJS({imports:[Oe.ez,Pe.BQ,ue,ce.eL]}),ne})()},3489:(B,U,C)=>{"use strict";C.d(U,{Eo:()=>bt,G_:()=>dn,KE:()=>ai,R9:()=>ne,TO:()=>kt,bx:()=>nt,hX:()=>Yt,lN:()=>ti,o2:()=>ki});var c=C(7144),m=C(9808),e=C(5e3),b=C(508),T=C(3191),k=C(7579),F=C(6451),V=C(4968),X=C(8675),J=C(2722),ue=C(5698),ce=C(1777),Oe=C(226),Pe=C(925);const de=["connectionContainer"],Ge=["inputContainer"],le=["label"];function Ne(Je,Y){1&Je&&(e.ynx(0),e.TgZ(1,"div",14),e._UZ(2,"div",15)(3,"div",16)(4,"div",17),e.qZA(),e.TgZ(5,"div",18),e._UZ(6,"div",15)(7,"div",16)(8,"div",17),e.qZA(),e.BQk())}function yt(Je,Y){if(1&Je){const ee=e.EpF();e.TgZ(0,"div",19),e.NdJ("cdkObserveContent",function(){e.CHM(ee);const et=e.oxw();return e.KtG(et.updateOutlineGap())}),e.Hsn(1,1),e.qZA()}if(2&Je){const ee=e.oxw();e.Q6J("cdkObserveContentDisabled","outline"!=ee.appearance)}}function jt(Je,Y){if(1&Je&&(e.ynx(0),e.Hsn(1,2),e.TgZ(2,"span"),e._uU(3),e.qZA(),e.BQk()),2&Je){const ee=e.oxw(2);e.xp6(3),e.Oqu(ee._control.placeholder)}}function st(Je,Y){1&Je&&e.Hsn(0,3,["*ngSwitchCase","true"])}function Te(Je,Y){1&Je&&(e.TgZ(0,"span",23),e._uU(1," *"),e.qZA())}function Le(Je,Y){if(1&Je){const ee=e.EpF();e.TgZ(0,"label",20,21),e.NdJ("cdkObserveContent",function(){e.CHM(ee);const et=e.oxw();return e.KtG(et.updateOutlineGap())}),e.YNc(2,jt,4,1,"ng-container",12),e.YNc(3,st,1,0,"ng-content",12),e.YNc(4,Te,2,0,"span",22),e.qZA()}if(2&Je){const ee=e.oxw();e.ekj("mat-empty",ee._control.empty&&!ee._shouldAlwaysFloat())("mat-form-field-empty",ee._control.empty&&!ee._shouldAlwaysFloat())("mat-accent","accent"==ee.color)("mat-warn","warn"==ee.color),e.Q6J("cdkObserveContentDisabled","outline"!=ee.appearance)("id",ee._labelId)("ngSwitch",ee._hasLabel()),e.uIk("for",ee._control.id)("aria-owns",ee._control.id),e.xp6(2),e.Q6J("ngSwitchCase",!1),e.xp6(1),e.Q6J("ngSwitchCase",!0),e.xp6(1),e.Q6J("ngIf",!ee.hideRequiredMarker&&ee._control.required&&!ee._control.disabled)}}function at(Je,Y){1&Je&&(e.TgZ(0,"div",24),e.Hsn(1,4),e.qZA())}function _e(Je,Y){if(1&Je&&(e.TgZ(0,"div",25),e._UZ(1,"span",26),e.qZA()),2&Je){const ee=e.oxw();e.xp6(1),e.ekj("mat-accent","accent"==ee.color)("mat-warn","warn"==ee.color)}}function xt(Je,Y){if(1&Je&&(e.TgZ(0,"div"),e.Hsn(1,5),e.qZA()),2&Je){const ee=e.oxw();e.Q6J("@transitionMessages",ee._subscriptAnimationState)}}function tt(Je,Y){if(1&Je&&(e.TgZ(0,"div",30),e._uU(1),e.qZA()),2&Je){const ee=e.oxw(2);e.Q6J("id",ee._hintLabelId),e.xp6(1),e.Oqu(ee.hintLabel)}}function Ye(Je,Y){if(1&Je&&(e.TgZ(0,"div",27),e.YNc(1,tt,2,2,"div",28),e.Hsn(2,6),e._UZ(3,"div",29),e.Hsn(4,7),e.qZA()),2&Je){const ee=e.oxw();e.Q6J("@transitionMessages",ee._subscriptAnimationState),e.xp6(1),e.Q6J("ngIf",ee.hintLabel)}}const qe=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],ie=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let ke=0;const mt=new e.OlP("MatError");let kt=(()=>{class Je{constructor(ee,A){this.id="mat-error-"+ke++,ee||A.nativeElement.setAttribute("aria-live","polite")}}return Je.\u0275fac=function(ee){return new(ee||Je)(e.$8M("aria-live"),e.Y36(e.SBq))},Je.\u0275dir=e.lG2({type:Je,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(ee,A){2&ee&&e.uIk("id",A.id)},inputs:{id:"id"},features:[e._Bn([{provide:mt,useExisting:Je}])]}),Je})();const ri={transitionMessages:(0,ce.X$)("transitionMessages",[(0,ce.SB)("enter",(0,ce.oB)({opacity:1,transform:"translateY(0%)"})),(0,ce.eR)("void => enter",[(0,ce.oB)({opacity:0,transform:"translateY(-5px)"}),(0,ce.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let bt=(()=>{class Je{}return Je.\u0275fac=function(ee){return new(ee||Je)},Je.\u0275dir=e.lG2({type:Je}),Je})(),Ae=0;const he=new e.OlP("MatHint");let nt=(()=>{class Je{constructor(){this.align="start",this.id="mat-hint-"+Ae++}}return Je.\u0275fac=function(ee){return new(ee||Je)},Je.\u0275dir=e.lG2({type:Je,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(ee,A){2&ee&&(e.uIk("id",A.id)("align",null),e.ekj("mat-form-field-hint-end","end"===A.align))},inputs:{align:"align",id:"id"},features:[e._Bn([{provide:he,useExisting:Je}])]}),Je})(),Yt=(()=>{class Je{}return Je.\u0275fac=function(ee){return new(ee||Je)},Je.\u0275dir=e.lG2({type:Je,selectors:[["mat-label"]]}),Je})(),Lt=(()=>{class Je{}return Je.\u0275fac=function(ee){return new(ee||Je)},Je.\u0275dir=e.lG2({type:Je,selectors:[["mat-placeholder"]]}),Je})();const Ai=new e.OlP("MatPrefix"),hi=new e.OlP("MatSuffix");let ne=(()=>{class Je{}return Je.\u0275fac=function(ee){return new(ee||Je)},Je.\u0275dir=e.lG2({type:Je,selectors:[["","matSuffix",""]],features:[e._Bn([{provide:hi,useExisting:Je}])]}),Je})(),Tt=0;const ni=(0,b.pj)(class{constructor(Je){this._elementRef=Je}},"primary"),ki=new e.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),dn=new e.OlP("MatFormField");let ai=(()=>{class Je extends ni{constructor(ee,A,et,Fe,we,De,ct){super(ee),this._changeDetectorRef=A,this._dir=et,this._defaults=Fe,this._platform=we,this._ngZone=De,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new k.x,this._hideRequiredMarker=!1,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+Tt++,this._labelId="mat-form-field-label-"+Tt++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==ct,this.appearance=(null==Fe?void 0:Fe.appearance)||"legacy",Fe&&(this._hideRequiredMarker=Boolean(Fe.hideRequiredMarker),Fe.color&&(this.color=this.defaultColor=Fe.color))}get appearance(){return this._appearance}set appearance(ee){var A;const et=this._appearance;this._appearance=ee||(null===(A=this._defaults)||void 0===A?void 0:A.appearance)||"legacy","outline"===this._appearance&&et!==ee&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(ee){this._hideRequiredMarker=(0,T.Ig)(ee)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(ee){this._hintLabel=ee,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(ee){ee!==this._floatLabel&&(this._floatLabel=ee||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(ee){this._explicitFormFieldControl=ee}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const ee=this._control;ee.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${ee.controlType}`),ee.stateChanges.pipe((0,X.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),ee.ngControl&&ee.ngControl.valueChanges&&ee.ngControl.valueChanges.pipe((0,J.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,J.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,F.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,X.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,X.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,J.R)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(ee){const A=this._control?this._control.ngControl:null;return A&&A[ee]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,V.R)(this._label.nativeElement,"transitionend").pipe((0,ue.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let ee=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&ee.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const A=this._hintChildren?this._hintChildren.find(Fe=>"start"===Fe.align):null,et=this._hintChildren?this._hintChildren.find(Fe=>"end"===Fe.align):null;A?ee.push(A.id):this._hintLabel&&ee.push(this._hintLabelId),et&&ee.push(et.id)}else this._errorChildren&&ee.push(...this._errorChildren.map(A=>A.id));this._control.setDescribedByIds(ee)}}_validateControlChild(){}updateOutlineGap(){const ee=this._label?this._label.nativeElement:null,A=this._connectionContainerRef.nativeElement,et=".mat-form-field-outline-start",Fe=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!ee||!ee.children.length||!ee.textContent.trim()){const Gt=A.querySelectorAll(`${et}, ${Fe}`);for(let _i=0;_i0?.75*Bi+10:0}for(let Gt=0;Gt{class Je{}return Je.\u0275fac=function(ee){return new(ee||Je)},Je.\u0275mod=e.oAB({type:Je}),Je.\u0275inj=e.cJS({imports:[m.ez,b.BQ,c.Q8,b.BQ]}),Je})()},8833:(B,U,C)=>{"use strict";C.d(U,{Jk:()=>J,Nt:()=>Pe,c:()=>de});var c=C(3191),m=C(925),e=C(5e3),b=C(3075),T=C(508),k=C(3489),F=C(7579),V=C(4533);const J=new e.OlP("MAT_INPUT_VALUE_ACCESSOR"),ue=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let ce=0;const Oe=(0,T.FD)(class{constructor(Ge,le,Ne,yt){this._defaultErrorStateMatcher=Ge,this._parentForm=le,this._parentFormGroup=Ne,this.ngControl=yt,this.stateChanges=new F.x}});let Pe=(()=>{class Ge extends Oe{constructor(Ne,yt,jt,st,Te,Le,at,_e,xt,tt){super(Le,st,Te,jt),this._elementRef=Ne,this._platform=yt,this._autofillMonitor=_e,this._formField=tt,this._uid="mat-input-"+ce++,this.focused=!1,this.stateChanges=new F.x,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(ie=>(0,m.qK)().has(ie)),this._iOSKeyupListener=ie=>{const ke=ie.target;!ke.value&&0===ke.selectionStart&&0===ke.selectionEnd&&(ke.setSelectionRange(1,1),ke.setSelectionRange(0,0))};const Ye=this._elementRef.nativeElement,qe=Ye.nodeName.toLowerCase();this._inputValueAccessor=at||Ye,this._previousNativeValue=this.value,this.id=this.id,yt.IOS&&xt.runOutsideAngular(()=>{Ne.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===qe,this._isTextarea="textarea"===qe,this._isInFormField=!!tt,this._isNativeSelect&&(this.controlType=Ye.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(Ne){this._disabled=(0,c.Ig)(Ne),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(Ne){this._id=Ne||this._uid}get required(){var Ne,yt,jt,st;return null!==(st=null!==(Ne=this._required)&&void 0!==Ne?Ne:null===(jt=null===(yt=this.ngControl)||void 0===yt?void 0:yt.control)||void 0===jt?void 0:jt.hasValidator(b.kI.required))&&void 0!==st&&st}set required(Ne){this._required=(0,c.Ig)(Ne)}get type(){return this._type}set type(Ne){this._type=Ne||"text",this._validateType(),!this._isTextarea&&(0,m.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(Ne){Ne!==this.value&&(this._inputValueAccessor.value=Ne,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(Ne){this._readonly=(0,c.Ig)(Ne)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(Ne=>{this.autofilled=Ne.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(Ne){this._elementRef.nativeElement.focus(Ne)}_focusChanged(Ne){Ne!==this.focused&&(this.focused=Ne,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var Ne;const yt=this._formField,jt=!yt||"legacy"!==yt.appearance||null!==(Ne=yt._hasLabel)&&void 0!==Ne&&Ne.call(yt)?this.placeholder:null;if(jt!==this._previousPlaceholder){const st=this._elementRef.nativeElement;this._previousPlaceholder=jt,jt?st.setAttribute("placeholder",jt):st.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const Ne=this._elementRef.nativeElement.value;this._previousNativeValue!==Ne&&(this._previousNativeValue=Ne,this.stateChanges.next())}_validateType(){ue.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let Ne=this._elementRef.nativeElement.validity;return Ne&&Ne.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const Ne=this._elementRef.nativeElement,yt=Ne.options[0];return this.focused||Ne.multiple||!this.empty||!!(Ne.selectedIndex>-1&&yt&&yt.label)}return this.focused||!this.empty}setDescribedByIds(Ne){Ne.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Ne.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const Ne=this._elementRef.nativeElement;return this._isNativeSelect&&(Ne.multiple||Ne.size>1)}}return Ge.\u0275fac=function(Ne){return new(Ne||Ge)(e.Y36(e.SBq),e.Y36(m.t4),e.Y36(b.a5,10),e.Y36(b.F,8),e.Y36(b.sg,8),e.Y36(T.rD),e.Y36(J,10),e.Y36(V.Lq),e.Y36(e.R0b),e.Y36(k.G_,8))},Ge.\u0275dir=e.lG2({type:Ge,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(Ne,yt){1&Ne&&e.NdJ("focus",function(){return yt._focusChanged(!0)})("blur",function(){return yt._focusChanged(!1)})("input",function(){return yt._onInput()}),2&Ne&&(e.Ikx("disabled",yt.disabled)("required",yt.required),e.uIk("id",yt.id)("data-placeholder",yt.placeholder)("name",yt.name||null)("readonly",yt.readonly&&!yt._isNativeSelect||null)("aria-invalid",yt.empty&&yt.required?null:yt.errorState)("aria-required",yt.required),e.ekj("mat-input-server",yt._isServer)("mat-native-select-inline",yt._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[e._Bn([{provide:k.Eo,useExisting:Ge}]),e.qOj,e.TTD]}),Ge})(),de=(()=>{class Ge{}return Ge.\u0275fac=function(Ne){return new(Ne||Ge)},Ge.\u0275mod=e.oAB({type:Ge}),Ge.\u0275inj=e.cJS({providers:[T.rD],imports:[V.Ky,k.lN,T.BQ,V.Ky,k.lN]}),Ge})()},4623:(B,U,C)=>{"use strict";C.d(U,{Hk:()=>_e,Tg:()=>ie,i$:()=>xt,ie:()=>ye});var c=C(9808),m=C(5e3),e=C(508),b=C(3191),T=C(7579),k=C(2722),ce=(C(8675),C(5664),C(449),C(1159),C(3075),C(4834));const Oe=["*"],de=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],Ge=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],st=(0,e.Id)((0,e.Kr)(class{})),Te=(0,e.Kr)(class{}),Le=new m.OlP("MatList"),at=new m.OlP("MatNavList");let _e=(()=>{class Xe extends st{constructor(){super(...arguments),this._stateChanges=new T.x}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return Xe.\u0275fac=function(){let Ae;return function(nt){return(Ae||(Ae=m.n5z(Xe)))(nt||Xe)}}(),Xe.\u0275cmp=m.Xpm({type:Xe,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[m._Bn([{provide:at,useExisting:Xe}]),m.qOj,m.TTD],ngContentSelectors:Oe,decls:1,vars:0,template:function(he,nt){1&he&&(m.F$t(),m.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:hover{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}'],encapsulation:2,changeDetection:0}),Xe})(),xt=(()=>{class Xe extends st{constructor(he){super(),this._elementRef=he,this._stateChanges=new T.x,"action-list"===this._getListType()&&(he.nativeElement.classList.add("mat-action-list"),he.nativeElement.setAttribute("role","group"))}_getListType(){const he=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===he?"list":"mat-action-list"===he?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return Xe.\u0275fac=function(he){return new(he||Xe)(m.Y36(m.SBq))},Xe.\u0275cmp=m.Xpm({type:Xe,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[m._Bn([{provide:Le,useExisting:Xe}]),m.qOj,m.TTD],ngContentSelectors:Oe,decls:1,vars:0,template:function(he,nt){1&he&&(m.F$t(),m.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:hover{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}'],encapsulation:2,changeDetection:0}),Xe})(),tt=(()=>{class Xe{}return Xe.\u0275fac=function(he){return new(he||Xe)},Xe.\u0275dir=m.lG2({type:Xe,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),Xe})(),Ye=(()=>{class Xe{}return Xe.\u0275fac=function(he){return new(he||Xe)},Xe.\u0275dir=m.lG2({type:Xe,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),Xe})(),ie=(()=>{class Xe extends Te{constructor(he,nt,Yt,Lt){super(),this._element=he,this._isInteractiveList=!1,this._destroyed=new T.x,this._disabled=!1,this._isInteractiveList=!!(Yt||Lt&&"action-list"===Lt._getListType()),this._list=Yt||Lt;const Ai=this._getHostElement();"button"===Ai.nodeName.toLowerCase()&&!Ai.hasAttribute("type")&&Ai.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe((0,k.R)(this._destroyed)).subscribe(()=>{nt.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(he){this._disabled=(0,b.Ig)(he)}ngAfterContentInit(){(0,e.E0)(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return Xe.\u0275fac=function(he){return new(he||Xe)(m.Y36(m.SBq),m.Y36(m.sBO),m.Y36(at,8),m.Y36(Le,8))},Xe.\u0275cmp=m.Xpm({type:Xe,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(he,nt,Yt){if(1&he&&(m.Suo(Yt,tt,5),m.Suo(Yt,Ye,5),m.Suo(Yt,e.X2,5)),2&he){let Lt;m.iGM(Lt=m.CRH())&&(nt._avatar=Lt.first),m.iGM(Lt=m.CRH())&&(nt._icon=Lt.first),m.iGM(Lt=m.CRH())&&(nt._lines=Lt)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:4,hostBindings:function(he,nt){2&he&&m.ekj("mat-list-item-disabled",nt.disabled)("mat-list-item-with-avatar",nt._avatar||nt._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[m.qOj],ngContentSelectors:Ge,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(he,nt){1&he&&(m.F$t(de),m.TgZ(0,"span",0),m._UZ(1,"span",1),m.Hsn(2),m.TgZ(3,"span",2),m.Hsn(4,1),m.qZA(),m.Hsn(5,2),m.qZA()),2&he&&(m.xp6(1),m.Q6J("matRippleTrigger",nt._getHostElement())("matRippleDisabled",nt._isRippleDisabled()))},dependencies:[e.wG],encapsulation:2,changeDetection:0}),Xe})(),ye=(()=>{class Xe{}return Xe.\u0275fac=function(he){return new(he||Xe)},Xe.\u0275mod=m.oAB({type:Xe}),Xe.\u0275inj=m.cJS({imports:[e.uc,e.si,e.BQ,e.us,c.ez,e.uc,e.BQ,e.us,ce.t]}),Xe})()},4107:(B,U,C)=>{"use strict";C.d(U,{LD:()=>ai,gD:()=>dn});var c=C(1314),m=C(9808),e=C(5e3),b=C(508),T=C(3489),k=C(9071),F=C(5664),V=C(3191),X=C(449),J=C(1159),ue=C(3075),ce=C(7579),Oe=C(9770),Pe=C(6451),de=C(8675),Ge=C(3900),le=C(5698),Ne=C(9300),yt=C(4004),jt=C(1884),st=C(2722),Te=C(1777),Le=C(226);const at=["trigger"],_e=["panel"];function xt(ti,Je){if(1&ti&&(e.TgZ(0,"span",8),e._uU(1),e.qZA()),2&ti){const Y=e.oxw();e.xp6(1),e.Oqu(Y.placeholder)}}function tt(ti,Je){if(1&ti&&(e.TgZ(0,"span",12),e._uU(1),e.qZA()),2&ti){const Y=e.oxw(2);e.xp6(1),e.Oqu(Y.triggerValue)}}function Ye(ti,Je){1&ti&&e.Hsn(0,0,["*ngSwitchCase","true"])}function qe(ti,Je){if(1&ti&&(e.TgZ(0,"span",9),e.YNc(1,tt,2,1,"span",10),e.YNc(2,Ye,1,0,"ng-content",11),e.qZA()),2&ti){const Y=e.oxw();e.Q6J("ngSwitch",!!Y.customTrigger),e.xp6(2),e.Q6J("ngSwitchCase",!0)}}function ie(ti,Je){if(1&ti){const Y=e.EpF();e.TgZ(0,"div",13)(1,"div",14,15),e.NdJ("@transformPanel.done",function(A){e.CHM(Y);const et=e.oxw();return e.KtG(et._panelDoneAnimatingStream.next(A.toState))})("keydown",function(A){e.CHM(Y);const et=e.oxw();return e.KtG(et._handleKeydown(A))}),e.Hsn(3,1),e.qZA()()}if(2&ti){const Y=e.oxw();e.Q6J("@transformPanelWrap",void 0),e.xp6(1),e.Gre("mat-select-panel ",Y._getPanelTheme(),""),e.Udp("transform-origin",Y._transformOrigin)("font-size",Y._triggerFontSize,"px"),e.Q6J("ngClass",Y.panelClass)("@transformPanel",Y.multiple?"showing-multiple":"showing"),e.uIk("id",Y.id+"-panel")("aria-multiselectable",Y.multiple)("aria-label",Y.ariaLabel||null)("aria-labelledby",Y._getPanelAriaLabelledby())}}const ke=[[["mat-select-trigger"]],"*"],mt=["mat-select-trigger","*"],kt={transformPanelWrap:(0,Te.X$)("transformPanelWrap",[(0,Te.eR)("* => void",(0,Te.IO)("@transformPanel",[(0,Te.pV)()],{optional:!0}))]),transformPanel:(0,Te.X$)("transformPanel",[(0,Te.SB)("void",(0,Te.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,Te.SB)("showing",(0,Te.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,Te.SB)("showing-multiple",(0,Te.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,Te.eR)("void => *",(0,Te.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,Te.eR)("* => void",(0,Te.jt)("100ms 25ms linear",(0,Te.oB)({opacity:0})))])};let ye=0;const Ai=new e.OlP("mat-select-scroll-strategy"),hi=new e.OlP("MAT_SELECT_CONFIG"),ne={provide:Ai,deps:[c.aV],useFactory:function ei(ti){return()=>ti.scrollStrategies.reposition()}};class Tt{constructor(Je,Y){this.source=Je,this.value=Y}}const Se=(0,b.Kr)((0,b.sb)((0,b.Id)((0,b.FD)(class{constructor(ti,Je,Y,ee,A){this._elementRef=ti,this._defaultErrorStateMatcher=Je,this._parentForm=Y,this._parentFormGroup=ee,this.ngControl=A,this.stateChanges=new ce.x}})))),ut=new e.OlP("MatSelectTrigger");let ki=(()=>{class ti extends Se{constructor(Y,ee,A,et,Fe,we,De,ct,Et,Gt,_i,di,zt,Bi){var xi,$n,Hi;super(Fe,et,De,ct,Gt),this._viewportRuler=Y,this._changeDetectorRef=ee,this._ngZone=A,this._dir=we,this._parentFormField=Et,this._liveAnnouncer=zt,this._defaultOptions=Bi,this._panelOpen=!1,this._compareWith=(ht,it)=>ht===it,this._uid="mat-select-"+ye++,this._triggerAriaLabelledBy=null,this._destroy=new ce.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+ye++,this._panelDoneAnimatingStream=new ce.x,this._overlayPanelClass=(null===(xi=this._defaultOptions)||void 0===xi?void 0:xi.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(Hi=null===($n=this._defaultOptions)||void 0===$n?void 0:$n.disableOptionCentering)&&void 0!==Hi&&Hi,this.ariaLabel="",this.optionSelectionChanges=(0,Oe.P)(()=>{const ht=this.options;return ht?ht.changes.pipe((0,de.O)(ht),(0,Ge.w)(()=>(0,Pe.T)(...ht.map(it=>it.onSelectionChange)))):this._ngZone.onStable.pipe((0,le.q)(1),(0,Ge.w)(()=>this.optionSelectionChanges))}),this.openedChange=new e.vpe,this._openedStream=this.openedChange.pipe((0,Ne.h)(ht=>ht),(0,yt.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,Ne.h)(ht=>!ht),(0,yt.U)(()=>{})),this.selectionChange=new e.vpe,this.valueChange=new e.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==Bi?void 0:Bi.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=Bi.typeaheadDebounceInterval),this._scrollStrategyFactory=di,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(_i)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(Y){this._placeholder=Y,this.stateChanges.next()}get required(){var Y,ee,A,et;return null!==(et=null!==(Y=this._required)&&void 0!==Y?Y:null===(A=null===(ee=this.ngControl)||void 0===ee?void 0:ee.control)||void 0===A?void 0:A.hasValidator(ue.kI.required))&&void 0!==et&&et}set required(Y){this._required=(0,V.Ig)(Y),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(Y){this._multiple=(0,V.Ig)(Y)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(Y){this._disableOptionCentering=(0,V.Ig)(Y)}get compareWith(){return this._compareWith}set compareWith(Y){this._compareWith=Y,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(Y){this._assignValue(Y)&&this._onChange(Y)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(Y){this._typeaheadDebounceInterval=(0,V.su)(Y)}get id(){return this._id}set id(Y){this._id=Y||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new X.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,jt.x)(),(0,st.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,st.R)(this._destroy)).subscribe(Y=>{Y.added.forEach(ee=>ee.select()),Y.removed.forEach(ee=>ee.deselect())}),this.options.changes.pipe((0,de.O)(null),(0,st.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const Y=this._getTriggerAriaLabelledby(),ee=this.ngControl;if(Y!==this._triggerAriaLabelledBy){const A=this._elementRef.nativeElement;this._triggerAriaLabelledBy=Y,Y?A.setAttribute("aria-labelledby",Y):A.removeAttribute("aria-labelledby")}ee&&(this._previousControl!==ee.control&&(void 0!==this._previousControl&&null!==ee.disabled&&ee.disabled!==this.disabled&&(this.disabled=ee.disabled),this._previousControl=ee.control),this.updateErrorState())}ngOnChanges(Y){(Y.disabled||Y.userAriaDescribedBy)&&this.stateChanges.next(),Y.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(Y){this._assignValue(Y)}registerOnChange(Y){this._onChange=Y}registerOnTouched(Y){this._onTouched=Y}setDisabledState(Y){this.disabled=Y,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var Y,ee;return this.multiple?(null===(Y=this._selectionModel)||void 0===Y?void 0:Y.selected)||[]:null===(ee=this._selectionModel)||void 0===ee?void 0:ee.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const Y=this._selectionModel.selected.map(ee=>ee.viewValue);return this._isRtl()&&Y.reverse(),Y.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(Y){this.disabled||(this.panelOpen?this._handleOpenKeydown(Y):this._handleClosedKeydown(Y))}_handleClosedKeydown(Y){const ee=Y.keyCode,A=ee===J.JH||ee===J.LH||ee===J.oh||ee===J.SV,et=ee===J.K5||ee===J.L_,Fe=this._keyManager;if(!Fe.isTyping()&&et&&!(0,J.Vb)(Y)||(this.multiple||Y.altKey)&&A)Y.preventDefault(),this.open();else if(!this.multiple){const we=this.selected;Fe.onKeydown(Y);const De=this.selected;De&&we!==De&&this._liveAnnouncer.announce(De.viewValue,1e4)}}_handleOpenKeydown(Y){const ee=this._keyManager,A=Y.keyCode,et=A===J.JH||A===J.LH,Fe=ee.isTyping();if(et&&Y.altKey)Y.preventDefault(),this.close();else if(Fe||A!==J.K5&&A!==J.L_||!ee.activeItem||(0,J.Vb)(Y))if(!Fe&&this._multiple&&A===J.A&&Y.ctrlKey){Y.preventDefault();const we=this.options.some(De=>!De.disabled&&!De.selected);this.options.forEach(De=>{De.disabled||(we?De.select():De.deselect())})}else{const we=ee.activeItemIndex;ee.onKeydown(Y),this._multiple&&et&&Y.shiftKey&&ee.activeItem&&ee.activeItemIndex!==we&&ee.activeItem._selectViaInteraction()}else Y.preventDefault(),ee.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,le.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(Y){if(this._selectionModel.selected.forEach(ee=>ee.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&Y)Array.isArray(Y),Y.forEach(ee=>this._selectOptionByValue(ee)),this._sortValues();else{const ee=this._selectOptionByValue(Y);ee?this._keyManager.updateActiveItem(ee):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(Y){const ee=this.options.find(A=>{if(this._selectionModel.isSelected(A))return!1;try{return null!=A.value&&this._compareWith(A.value,Y)}catch(et){return!1}});return ee&&this._selectionModel.select(ee),ee}_assignValue(Y){return!!(Y!==this._value||this._multiple&&Array.isArray(Y))&&(this.options&&this._setSelectionByValue(Y),this._value=Y,!0)}_initKeyManager(){this._keyManager=new F.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,st.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe((0,st.R)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const Y=(0,Pe.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,st.R)(Y)).subscribe(ee=>{this._onSelect(ee.source,ee.isUserInput),ee.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,Pe.T)(...this.options.map(ee=>ee._stateChanges)).pipe((0,st.R)(Y)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(Y,ee){const A=this._selectionModel.isSelected(Y);null!=Y.value||this._multiple?(A!==Y.selected&&(Y.selected?this._selectionModel.select(Y):this._selectionModel.deselect(Y)),ee&&this._keyManager.setActiveItem(Y),this.multiple&&(this._sortValues(),ee&&this.focus())):(Y.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(Y.value)),A!==this._selectionModel.isSelected(Y)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const Y=this.options.toArray();this._selectionModel.sort((ee,A)=>this.sortComparator?this.sortComparator(ee,A,Y):Y.indexOf(ee)-Y.indexOf(A)),this.stateChanges.next()}}_propagateChanges(Y){let ee=null;ee=this.multiple?this.selected.map(A=>A.value):this.selected?this.selected.value:Y,this._value=ee,this.valueChange.emit(ee),this._onChange(ee),this.selectionChange.emit(this._getChangeEvent(ee)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var Y;return!this._panelOpen&&!this.disabled&&(null===(Y=this.options)||void 0===Y?void 0:Y.length)>0}focus(Y){this._elementRef.nativeElement.focus(Y)}_getPanelAriaLabelledby(){var Y;if(this.ariaLabel)return null;const ee=null===(Y=this._parentFormField)||void 0===Y?void 0:Y.getLabelId();return this.ariaLabelledby?(ee?ee+" ":"")+this.ariaLabelledby:ee}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var Y;if(this.ariaLabel)return null;const ee=null===(Y=this._parentFormField)||void 0===Y?void 0:Y.getLabelId();let A=(ee?ee+" ":"")+this._valueId;return this.ariaLabelledby&&(A+=" "+this.ariaLabelledby),A}_panelDoneAnimating(Y){this.openedChange.emit(Y)}setDescribedByIds(Y){Y.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Y.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return ti.\u0275fac=function(Y){return new(Y||ti)(e.Y36(k.rL),e.Y36(e.sBO),e.Y36(e.R0b),e.Y36(b.rD),e.Y36(e.SBq),e.Y36(Le.Is,8),e.Y36(ue.F,8),e.Y36(ue.sg,8),e.Y36(T.G_,8),e.Y36(ue.a5,10),e.$8M("tabindex"),e.Y36(Ai),e.Y36(F.Kd),e.Y36(hi,8))},ti.\u0275dir=e.lG2({type:ti,viewQuery:function(Y,ee){if(1&Y&&(e.Gf(at,5),e.Gf(_e,5),e.Gf(c.pI,5)),2&Y){let A;e.iGM(A=e.CRH())&&(ee.trigger=A.first),e.iGM(A=e.CRH())&&(ee.panel=A.first),e.iGM(A=e.CRH())&&(ee._overlayDir=A.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[e.qOj,e.TTD]}),ti})(),dn=(()=>{class ti extends ki{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(Y,ee,A){const et=this._getItemHeight();return Math.min(Math.max(0,et*Y-ee+et/2),A)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,st.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,le.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(Y){const ee=(0,b.CB)(Y,this.options,this.optionGroups),A=this._getItemHeight();this.panel.nativeElement.scrollTop=0===Y&&1===ee?0:(0,b.jH)((Y+ee)*A,A,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(Y){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(Y)}_getChangeEvent(Y){return new Tt(this,Y)}_calculateOverlayOffsetX(){const Y=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),ee=this._viewportRuler.getViewportSize(),A=this._isRtl(),et=this.multiple?56:32;let Fe;if(this.multiple)Fe=40;else if(this.disableOptionCentering)Fe=16;else{let ct=this._selectionModel.selected[0]||this.options.first;Fe=ct&&ct.group?32:16}A||(Fe*=-1);const we=0-(Y.left+Fe-(A?et:0)),De=Y.right+Fe-ee.width+(A?0:et);we>0?Fe+=we+8:De>0&&(Fe-=De+8),this._overlayDir.offsetX=Math.round(Fe),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(Y,ee,A){const et=this._getItemHeight(),Fe=(et-this._triggerRect.height)/2,we=Math.floor(256/et);let De;return this.disableOptionCentering?0:(De=0===this._scrollTop?Y*et:this._scrollTop===A?(Y-(this._getItemCount()-we))*et+(et-(this._getItemCount()*et-256)%et):ee-et/2,Math.round(-1*De-Fe))}_checkOverlayWithinViewport(Y){const ee=this._getItemHeight(),A=this._viewportRuler.getViewportSize(),et=this._triggerRect.top-8,Fe=A.height-this._triggerRect.bottom-8,we=Math.abs(this._offsetY),ct=Math.min(this._getItemCount()*ee,256)-we-this._triggerRect.height;ct>Fe?this._adjustPanelUp(ct,Fe):we>et?this._adjustPanelDown(we,et,Y):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(Y,ee){const A=Math.round(Y-ee);this._scrollTop-=A,this._offsetY-=A,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(Y,ee,A){const et=Math.round(Y-ee);if(this._scrollTop+=et,this._offsetY+=et,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=A)return this._scrollTop=A,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const Y=this._getItemHeight(),ee=this._getItemCount(),A=Math.min(ee*Y,256),Fe=ee*Y-A;let we;we=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),we+=(0,b.CB)(we,this.options,this.optionGroups);const De=A/2;this._scrollTop=this._calculateOverlayScroll(we,De,Fe),this._offsetY=this._calculateOverlayOffsetY(we,De,Fe),this._checkOverlayWithinViewport(Fe)}_getOriginBasedOnOption(){const Y=this._getItemHeight(),ee=(Y-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-ee+Y/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return ti.\u0275fac=function(){let Je;return function(ee){return(Je||(Je=e.n5z(ti)))(ee||ti)}}(),ti.\u0275cmp=e.Xpm({type:ti,selectors:[["mat-select"]],contentQueries:function(Y,ee,A){if(1&Y&&(e.Suo(A,ut,5),e.Suo(A,b.ey,5),e.Suo(A,b.K7,5)),2&Y){let et;e.iGM(et=e.CRH())&&(ee.customTrigger=et.first),e.iGM(et=e.CRH())&&(ee.options=et),e.iGM(et=e.CRH())&&(ee.optionGroups=et)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:19,hostBindings:function(Y,ee){1&Y&&e.NdJ("keydown",function(et){return ee._handleKeydown(et)})("focus",function(){return ee._onFocus()})("blur",function(){return ee._onBlur()}),2&Y&&(e.uIk("id",ee.id)("tabindex",ee.tabIndex)("aria-controls",ee.panelOpen?ee.id+"-panel":null)("aria-expanded",ee.panelOpen)("aria-label",ee.ariaLabel||null)("aria-required",ee.required.toString())("aria-disabled",ee.disabled.toString())("aria-invalid",ee.errorState)("aria-activedescendant",ee._getAriaActiveDescendant()),e.ekj("mat-select-disabled",ee.disabled)("mat-select-invalid",ee.errorState)("mat-select-required",ee.required)("mat-select-empty",ee.empty)("mat-select-multiple",ee.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[e._Bn([{provide:T.Eo,useExisting:ti},{provide:b.HF,useExisting:ti}]),e.qOj],ngContentSelectors:mt,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(Y,ee){if(1&Y&&(e.F$t(ke),e.TgZ(0,"div",0,1),e.NdJ("click",function(){return ee.toggle()}),e.TgZ(3,"div",2),e.YNc(4,xt,2,1,"span",3),e.YNc(5,qe,3,2,"span",4),e.qZA(),e.TgZ(6,"div",5),e._UZ(7,"div",6),e.qZA()(),e.YNc(8,ie,4,14,"ng-template",7),e.NdJ("backdropClick",function(){return ee.close()})("attach",function(){return ee._onAttached()})("detach",function(){return ee.close()})),2&Y){const A=e.MAs(1);e.uIk("aria-owns",ee.panelOpen?ee.id+"-panel":null),e.xp6(3),e.Q6J("ngSwitch",ee.empty),e.uIk("id",ee._valueId),e.xp6(1),e.Q6J("ngSwitchCase",!0),e.xp6(1),e.Q6J("ngSwitchCase",!1),e.xp6(3),e.Q6J("cdkConnectedOverlayPanelClass",ee._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",ee._scrollStrategy)("cdkConnectedOverlayOrigin",A)("cdkConnectedOverlayOpen",ee.panelOpen)("cdkConnectedOverlayPositions",ee._positions)("cdkConnectedOverlayMinWidth",null==ee._triggerRect?null:ee._triggerRect.width)("cdkConnectedOverlayOffsetY",ee._offsetY)}},dependencies:[m.mk,m.RF,m.n9,m.ED,c.pI,c.xu],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[kt.transformPanelWrap,kt.transformPanel]},changeDetection:0}),ti})(),ai=(()=>{class ti{}return ti.\u0275fac=function(Y){return new(Y||ti)},ti.\u0275mod=e.oAB({type:ti}),ti.\u0275inj=e.cJS({providers:[ne],imports:[m.ez,c.U8,b.Ng,b.BQ,k.ZD,T.lN,b.Ng,b.BQ]}),ti})()},2638:(B,U,C)=>{"use strict";C.d(U,{JX:()=>Yt,LW:()=>Xe,Rh:()=>nt,SJ:()=>Ai,TM:()=>Lt,jA:()=>Ae,kh:()=>he});var c=C(9071),m=C(9808),e=C(5e3),b=C(508),T=C(3191),k=C(1159),F=C(7579),V=C(4968),X=C(6451),J=C(9300),ue=C(4004),ce=C(9718),Oe=C(2722),Pe=C(1884),de=C(5698),Ge=C(8675),le=C(8372),Ne=C(1777),yt=C(5664),jt=C(925),st=C(226);const Te=["*"],Le=["content"];function at(ei,hi){if(1&ei){const ne=e.EpF();e.TgZ(0,"div",2),e.NdJ("click",function(){e.CHM(ne);const Se=e.oxw();return e.KtG(Se._onBackdropClicked())}),e.qZA()}if(2&ei){const ne=e.oxw();e.ekj("mat-drawer-shown",ne._isShowingBackdrop())}}function _e(ei,hi){1&ei&&(e.TgZ(0,"mat-drawer-content"),e.Hsn(1,2),e.qZA())}const xt=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],tt=["mat-drawer","mat-drawer-content","*"];function Ye(ei,hi){if(1&ei){const ne=e.EpF();e.TgZ(0,"div",2),e.NdJ("click",function(){e.CHM(ne);const Se=e.oxw();return e.KtG(Se._onBackdropClicked())}),e.qZA()}if(2&ei){const ne=e.oxw();e.ekj("mat-drawer-shown",ne._isShowingBackdrop())}}function qe(ei,hi){1&ei&&(e.TgZ(0,"mat-sidenav-content"),e.Hsn(1,2),e.qZA())}const ie=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],ke=["mat-sidenav","mat-sidenav-content","*"],kt={transformDrawer:(0,Ne.X$)("transform",[(0,Ne.SB)("open, open-instant",(0,Ne.oB)({transform:"none",visibility:"visible"})),(0,Ne.SB)("void",(0,Ne.oB)({"box-shadow":"none",visibility:"hidden"})),(0,Ne.eR)("void => open-instant",(0,Ne.jt)("0ms")),(0,Ne.eR)("void <=> open, open-instant => void",(0,Ne.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},bt=new e.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function ye(){return!1}}),Wt=new e.OlP("MAT_DRAWER_CONTAINER");let Xe=(()=>{class ei extends c.PQ{constructor(ne,Tt,Se,ut,ni){super(Se,ut,ni),this._changeDetectorRef=ne,this._container=Tt}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return ei.\u0275fac=function(ne){return new(ne||ei)(e.Y36(e.sBO),e.Y36((0,e.Gpc)(()=>he)),e.Y36(e.SBq),e.Y36(c.mF),e.Y36(e.R0b))},ei.\u0275cmp=e.Xpm({type:ei,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(ne,Tt){2&ne&&e.Udp("margin-left",Tt._container._contentMargins.left,"px")("margin-right",Tt._container._contentMargins.right,"px")},features:[e._Bn([{provide:c.PQ,useExisting:ei}]),e.qOj],ngContentSelectors:Te,decls:1,vars:0,template:function(ne,Tt){1&ne&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0}),ei})(),Ae=(()=>{class ei{constructor(ne,Tt,Se,ut,ni,ki,dn,ai){this._elementRef=ne,this._focusTrapFactory=Tt,this._focusMonitor=Se,this._platform=ut,this._ngZone=ni,this._interactivityChecker=ki,this._doc=dn,this._container=ai,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new F.x,this._animationEnd=new F.x,this._animationState="void",this.openedChange=new e.vpe(!0),this._openedStream=this.openedChange.pipe((0,J.h)(ti=>ti),(0,ue.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,J.h)(ti=>ti.fromState!==ti.toState&&0===ti.toState.indexOf("open")),(0,ce.h)(void 0)),this._closedStream=this.openedChange.pipe((0,J.h)(ti=>!ti),(0,ue.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,J.h)(ti=>ti.fromState!==ti.toState&&"void"===ti.toState),(0,ce.h)(void 0)),this._destroyed=new F.x,this.onPositionChanged=new e.vpe,this._modeChanged=new F.x,this.openedChange.subscribe(ti=>{ti?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,V.R)(this._elementRef.nativeElement,"keydown").pipe((0,J.h)(ti=>ti.keyCode===k.hY&&!this.disableClose&&!(0,k.Vb)(ti)),(0,Oe.R)(this._destroyed)).subscribe(ti=>this._ngZone.run(()=>{this.close(),ti.stopPropagation(),ti.preventDefault()}))}),this._animationEnd.pipe((0,Pe.x)((ti,Je)=>ti.fromState===Je.fromState&&ti.toState===Je.toState)).subscribe(ti=>{const{fromState:Je,toState:Y}=ti;(0===Y.indexOf("open")&&"void"===Je||"void"===Y&&0===Je.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(ne){(ne="end"===ne?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(ne),this._position=ne,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(ne){this._mode=ne,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(ne){this._disableClose=(0,T.Ig)(ne)}get autoFocus(){const ne=this._autoFocus;return null==ne?"side"===this.mode?"dialog":"first-tabbable":ne}set autoFocus(ne){("true"===ne||"false"===ne||null==ne)&&(ne=(0,T.Ig)(ne)),this._autoFocus=ne}get opened(){return this._opened}set opened(ne){this.toggle((0,T.Ig)(ne))}_forceFocus(ne,Tt){this._interactivityChecker.isFocusable(ne)||(ne.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Se=()=>{ne.removeEventListener("blur",Se),ne.removeEventListener("mousedown",Se),ne.removeAttribute("tabindex")};ne.addEventListener("blur",Se),ne.addEventListener("mousedown",Se)})),ne.focus(Tt)}_focusByCssSelector(ne,Tt){let Se=this._elementRef.nativeElement.querySelector(ne);Se&&this._forceFocus(Se,Tt)}_takeFocus(){if(!this._focusTrap)return;const ne=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(Tt=>{!Tt&&"function"==typeof this._elementRef.nativeElement.focus&&ne.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(ne){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,ne):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const ne=this._doc.activeElement;return!!ne&&this._elementRef.nativeElement.contains(ne)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){var ne;this._focusTrap&&this._focusTrap.destroy(),null===(ne=this._anchor)||void 0===ne||ne.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(ne){return this.toggle(!0,ne)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(ne=!this.opened,Tt){ne&&Tt&&(this._openedVia=Tt);const Se=this._setOpen(ne,!ne&&this._isFocusWithinDrawer(),this._openedVia||"program");return ne||(this._openedVia=null),Se}_setOpen(ne,Tt,Se){return this._opened=ne,ne?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",Tt&&this._restoreFocus(Se)),this._updateFocusTrapState(),new Promise(ut=>{this.openedChange.pipe((0,de.q)(1)).subscribe(ni=>ut(ni?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(ne){const Tt=this._elementRef.nativeElement,Se=Tt.parentNode;"end"===ne?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),Se.insertBefore(this._anchor,Tt)),Se.appendChild(Tt)):this._anchor&&this._anchor.parentNode.insertBefore(Tt,this._anchor)}}return ei.\u0275fac=function(ne){return new(ne||ei)(e.Y36(e.SBq),e.Y36(yt.qV),e.Y36(yt.tE),e.Y36(jt.t4),e.Y36(e.R0b),e.Y36(yt.ic),e.Y36(m.K0,8),e.Y36(Wt,8))},ei.\u0275cmp=e.Xpm({type:ei,selectors:[["mat-drawer"]],viewQuery:function(ne,Tt){if(1&ne&&e.Gf(Le,5),2&ne){let Se;e.iGM(Se=e.CRH())&&(Tt._content=Se.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(ne,Tt){1&ne&&e.WFA("@transform.start",function(ut){return Tt._animationStarted.next(ut)})("@transform.done",function(ut){return Tt._animationEnd.next(ut)}),2&ne&&(e.uIk("align",null),e.d8E("@transform",Tt._animationState),e.ekj("mat-drawer-end","end"===Tt.position)("mat-drawer-over","over"===Tt.mode)("mat-drawer-push","push"===Tt.mode)("mat-drawer-side","side"===Tt.mode)("mat-drawer-opened",Tt.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:Te,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(ne,Tt){1&ne&&(e.F$t(),e.TgZ(0,"div",0,1),e.Hsn(2),e.qZA())},dependencies:[c.PQ],encapsulation:2,data:{animation:[kt.transformDrawer]},changeDetection:0}),ei})(),he=(()=>{class ei{constructor(ne,Tt,Se,ut,ni,ki=!1,dn){this._dir=ne,this._element=Tt,this._ngZone=Se,this._changeDetectorRef=ut,this._animationMode=dn,this._drawers=new e.n_E,this.backdropClick=new e.vpe,this._destroyed=new F.x,this._doCheckSubject=new F.x,this._contentMargins={left:null,right:null},this._contentMarginChanges=new F.x,ne&&ne.change.pipe((0,Oe.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),ni.change().pipe((0,Oe.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=ki}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(ne){this._autosize=(0,T.Ig)(ne)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(ne){this._backdropOverride=null==ne?null:(0,T.Ig)(ne)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe((0,Ge.O)(this._allDrawers),(0,Oe.R)(this._destroyed)).subscribe(ne=>{this._drawers.reset(ne.filter(Tt=>!Tt._container||Tt._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,Ge.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(ne=>{this._watchDrawerToggle(ne),this._watchDrawerPosition(ne),this._watchDrawerMode(ne)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,le.b)(10),(0,Oe.R)(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(ne=>ne.open())}close(){this._drawers.forEach(ne=>ne.close())}updateContentMargins(){let ne=0,Tt=0;if(this._left&&this._left.opened)if("side"==this._left.mode)ne+=this._left._getWidth();else if("push"==this._left.mode){const Se=this._left._getWidth();ne+=Se,Tt-=Se}if(this._right&&this._right.opened)if("side"==this._right.mode)Tt+=this._right._getWidth();else if("push"==this._right.mode){const Se=this._right._getWidth();Tt+=Se,ne-=Se}ne=ne||null,Tt=Tt||null,(ne!==this._contentMargins.left||Tt!==this._contentMargins.right)&&(this._contentMargins={left:ne,right:Tt},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(ne){ne._animationStarted.pipe((0,J.h)(Tt=>Tt.fromState!==Tt.toState),(0,Oe.R)(this._drawers.changes)).subscribe(Tt=>{"open-instant"!==Tt.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==ne.mode&&ne.openedChange.pipe((0,Oe.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(ne.opened))}_watchDrawerPosition(ne){!ne||ne.onPositionChanged.pipe((0,Oe.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,de.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(ne){ne&&ne._modeChanged.pipe((0,Oe.R)((0,X.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(ne){const Tt=this._element.nativeElement.classList,Se="mat-drawer-container-has-open";ne?Tt.add(Se):Tt.remove(Se)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(ne=>{"end"==ne.position?this._end=ne:this._start=ne}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(ne=>ne&&!ne.disableClose&&this._canHaveBackdrop(ne)).forEach(ne=>ne._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(ne){return"side"!==ne.mode||!!this._backdropOverride}_isDrawerOpen(ne){return null!=ne&&ne.opened}}return ei.\u0275fac=function(ne){return new(ne||ei)(e.Y36(st.Is,8),e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(c.rL),e.Y36(bt),e.Y36(e.QbO,8))},ei.\u0275cmp=e.Xpm({type:ei,selectors:[["mat-drawer-container"]],contentQueries:function(ne,Tt,Se){if(1&ne&&(e.Suo(Se,Xe,5),e.Suo(Se,Ae,5)),2&ne){let ut;e.iGM(ut=e.CRH())&&(Tt._content=ut.first),e.iGM(ut=e.CRH())&&(Tt._allDrawers=ut)}},viewQuery:function(ne,Tt){if(1&ne&&e.Gf(Xe,5),2&ne){let Se;e.iGM(Se=e.CRH())&&(Tt._userContent=Se.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(ne,Tt){2&ne&&e.ekj("mat-drawer-container-explicit-backdrop",Tt._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[e._Bn([{provide:Wt,useExisting:ei}])],ngContentSelectors:tt,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(ne,Tt){1&ne&&(e.F$t(xt),e.YNc(0,at,1,2,"div",0),e.Hsn(1),e.Hsn(2,1),e.YNc(3,_e,2,0,"mat-drawer-content",1)),2&ne&&(e.Q6J("ngIf",Tt.hasBackdrop),e.xp6(3),e.Q6J("ngIf",!Tt._content))},dependencies:[m.O5,Xe],styles:['.mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0}),ei})(),nt=(()=>{class ei extends Xe{constructor(ne,Tt,Se,ut,ni){super(ne,Tt,Se,ut,ni)}}return ei.\u0275fac=function(ne){return new(ne||ei)(e.Y36(e.sBO),e.Y36((0,e.Gpc)(()=>Lt)),e.Y36(e.SBq),e.Y36(c.mF),e.Y36(e.R0b))},ei.\u0275cmp=e.Xpm({type:ei,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(ne,Tt){2&ne&&e.Udp("margin-left",Tt._container._contentMargins.left,"px")("margin-right",Tt._container._contentMargins.right,"px")},features:[e._Bn([{provide:c.PQ,useExisting:ei}]),e.qOj],ngContentSelectors:Te,decls:1,vars:0,template:function(ne,Tt){1&ne&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0}),ei})(),Yt=(()=>{class ei extends Ae{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(ne){this._fixedInViewport=(0,T.Ig)(ne)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(ne){this._fixedTopGap=(0,T.su)(ne)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(ne){this._fixedBottomGap=(0,T.su)(ne)}}return ei.\u0275fac=function(){let hi;return function(Tt){return(hi||(hi=e.n5z(ei)))(Tt||ei)}}(),ei.\u0275cmp=e.Xpm({type:ei,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(ne,Tt){2&ne&&(e.uIk("align",null),e.Udp("top",Tt.fixedInViewport?Tt.fixedTopGap:null,"px")("bottom",Tt.fixedInViewport?Tt.fixedBottomGap:null,"px"),e.ekj("mat-drawer-end","end"===Tt.position)("mat-drawer-over","over"===Tt.mode)("mat-drawer-push","push"===Tt.mode)("mat-drawer-side","side"===Tt.mode)("mat-drawer-opened",Tt.opened)("mat-sidenav-fixed",Tt.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[e.qOj],ngContentSelectors:Te,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(ne,Tt){1&ne&&(e.F$t(),e.TgZ(0,"div",0,1),e.Hsn(2),e.qZA())},dependencies:[c.PQ],encapsulation:2,data:{animation:[kt.transformDrawer]},changeDetection:0}),ei})(),Lt=(()=>{class ei extends he{}return ei.\u0275fac=function(){let hi;return function(Tt){return(hi||(hi=e.n5z(ei)))(Tt||ei)}}(),ei.\u0275cmp=e.Xpm({type:ei,selectors:[["mat-sidenav-container"]],contentQueries:function(ne,Tt,Se){if(1&ne&&(e.Suo(Se,nt,5),e.Suo(Se,Yt,5)),2&ne){let ut;e.iGM(ut=e.CRH())&&(Tt._content=ut.first),e.iGM(ut=e.CRH())&&(Tt._allDrawers=ut)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(ne,Tt){2&ne&&e.ekj("mat-drawer-container-explicit-backdrop",Tt._backdropOverride)},exportAs:["matSidenavContainer"],features:[e._Bn([{provide:Wt,useExisting:ei}]),e.qOj],ngContentSelectors:ke,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(ne,Tt){1&ne&&(e.F$t(ie),e.YNc(0,Ye,1,2,"div",0),e.Hsn(1),e.Hsn(2,1),e.YNc(3,qe,2,0,"mat-sidenav-content",1)),2&ne&&(e.Q6J("ngIf",Tt.hasBackdrop),e.xp6(3),e.Q6J("ngIf",!Tt._content))},dependencies:[m.O5,nt],styles:['.mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0}),ei})(),Ai=(()=>{class ei{}return ei.\u0275fac=function(ne){return new(ne||ei)},ei.\u0275mod=e.oAB({type:ei}),ei.\u0275inj=e.cJS({imports:[m.ez,b.BQ,c.ZD,c.ZD,b.BQ]}),ei})()},2368:(B,U,C)=>{"use strict";C.d(U,{Rr:()=>Ge,rP:()=>jt});var c=C(7144),m=C(5e3),e=C(508),b=C(3191),T=C(3075),k=C(5664);const F=["input"],V=function(st){return{enterDuration:st}},X=["*"],J=new m.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let ue=0;const ce={provide:T.JU,useExisting:(0,m.Gpc)(()=>Ge),multi:!0};class Oe{constructor(Te,Le){this.source=Te,this.checked=Le}}const Pe=(0,e.sb)((0,e.pj)((0,e.Kr)((0,e.Id)(class{constructor(st){this._elementRef=st}}))));let de=(()=>{class st extends Pe{constructor(Le,at,_e,xt,tt,Ye,qe){super(Le),this._focusMonitor=at,this._changeDetectorRef=_e,this.defaults=tt,this._onChange=ie=>{},this._onTouched=()=>{},this._required=!1,this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new m.vpe,this.toggleChange=new m.vpe,this.tabIndex=parseInt(xt)||0,this.color=this.defaultColor=tt.color||"accent",this._noopAnimations="NoopAnimations"===Ye,this.id=this._uniqueId=`${qe}${++ue}`}get required(){return this._required}set required(Le){this._required=(0,b.Ig)(Le)}get checked(){return this._checked}set checked(Le){this._checked=(0,b.Ig)(Le),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(Le=>{"keyboard"===Le||"program"===Le?this._focused=!0:Le||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(Le){this.checked=!!Le}registerOnChange(Le){this._onChange=Le}registerOnTouched(Le){this._onTouched=Le}setDisabledState(Le){this.disabled=Le,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}}return st.\u0275fac=function(Le){m.$Z()},st.\u0275dir=m.lG2({type:st,inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},features:[m.qOj]}),st})(),Ge=(()=>{class st extends de{constructor(Le,at,_e,xt,tt,Ye){super(Le,at,_e,xt,tt,Ye,"mat-slide-toggle-")}_createChangeEvent(Le){return new Oe(this,Le)}_onChangeEvent(Le){Le.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(Le){Le.stopPropagation()}focus(Le,at){at?this._focusMonitor.focusVia(this._inputElement,at,Le):this._inputElement.nativeElement.focus(Le)}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return st.\u0275fac=function(Le){return new(Le||st)(m.Y36(m.SBq),m.Y36(k.tE),m.Y36(m.sBO),m.$8M("tabindex"),m.Y36(J),m.Y36(m.QbO,8))},st.\u0275cmp=m.Xpm({type:st,selectors:[["mat-slide-toggle"]],viewQuery:function(Le,at){if(1&Le&&m.Gf(F,5),2&Le){let _e;m.iGM(_e=m.CRH())&&(at._inputElement=_e.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:13,hostBindings:function(Le,at){2&Le&&(m.Ikx("id",at.id),m.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null)("name",null),m.ekj("mat-checked",at.checked)("mat-disabled",at.disabled)("mat-slide-toggle-label-before","before"==at.labelPosition)("_mat-animation-noopable",at._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[m._Bn([ce]),m.qOj],ngContentSelectors:X,decls:14,vars:20,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(Le,at){if(1&Le&&(m.F$t(),m.TgZ(0,"label",0,1)(2,"span",2)(3,"input",3,4),m.NdJ("change",function(xt){return at._onChangeEvent(xt)})("click",function(xt){return at._onInputClick(xt)}),m.qZA(),m.TgZ(5,"span",5),m._UZ(6,"span",6),m.TgZ(7,"span",7),m._UZ(8,"span",8),m.qZA()()(),m.TgZ(9,"span",9,10),m.NdJ("cdkObserveContent",function(){return at._onLabelTextChange()}),m.TgZ(11,"span",11),m._uU(12,"\xa0"),m.qZA(),m.Hsn(13),m.qZA()()),2&Le){const _e=m.MAs(1),xt=m.MAs(10);m.uIk("for",at.inputId),m.xp6(2),m.ekj("mat-slide-toggle-bar-no-side-margin",!xt.textContent||!xt.textContent.trim()),m.xp6(1),m.Q6J("id",at.inputId)("required",at.required)("tabIndex",at.tabIndex)("checked",at.checked)("disabled",at.disabled),m.uIk("name",at.name)("aria-checked",at.checked)("aria-label",at.ariaLabel)("aria-labelledby",at.ariaLabelledby)("aria-describedby",at.ariaDescribedby),m.xp6(4),m.Q6J("matRippleTrigger",_e)("matRippleDisabled",at.disableRipple||at.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",m.VKq(18,V,at._noopAnimations?0:150))}},dependencies:[e.wG,c.wD],styles:['.mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{-webkit-user-select:none;user-select:none;display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%;display:block}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.mat-slide-toggle-input:focus~.mat-slide-toggle-thumb-container .mat-focus-indicator::before{content:""}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}'],encapsulation:2,changeDetection:0}),st})(),yt=(()=>{class st{}return st.\u0275fac=function(Le){return new(Le||st)},st.\u0275mod=m.oAB({type:st}),st.\u0275inj=m.cJS({}),st})(),jt=(()=>{class st{}return st.\u0275fac=function(Le){return new(Le||st)},st.\u0275mod=m.oAB({type:st}),st.\u0275inj=m.cJS({imports:[yt,e.si,e.BQ,c.Q8,yt,e.BQ]}),st})()},7261:(B,U,C)=>{"use strict";C.d(U,{ZX:()=>at,qD:()=>Ge,ux:()=>Ye});var c=C(1314),m=C(7429),e=C(9808),b=C(5e3),T=C(508),k=C(7423),F=C(7579),V=C(5698),X=C(2722),J=C(1777),ue=C(925),ce=C(5113),Oe=C(5664);function Pe(qe,ie){if(1&qe){const ke=b.EpF();b.TgZ(0,"div",2)(1,"button",3),b.NdJ("click",function(){b.CHM(ke);const kt=b.oxw();return b.KtG(kt.action())}),b._uU(2),b.qZA()()}if(2&qe){const ke=b.oxw();b.xp6(2),b.Oqu(ke.data.action)}}function de(qe,ie){}const Ge=new b.OlP("MatSnackBarData");class le{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}const Ne=Math.pow(2,31)-1;class yt{constructor(ie,ke){this._overlayRef=ke,this._afterDismissed=new F.x,this._afterOpened=new F.x,this._onAction=new F.x,this._dismissedByAction=!1,this.containerInstance=ie,ie._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(ie){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(ie,Ne))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}let jt=(()=>{class qe{constructor(ke,mt){this.snackBarRef=ke,this.data=mt}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return qe.\u0275fac=function(ke){return new(ke||qe)(b.Y36(yt),b.Y36(Ge))},qe.\u0275cmp=b.Xpm({type:qe,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[[1,"mat-simple-snack-bar-content"],["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(ke,mt){1&ke&&(b.TgZ(0,"span",0),b._uU(1),b.qZA(),b.YNc(2,Pe,3,1,"div",1)),2&ke&&(b.xp6(1),b.Oqu(mt.data.message),b.xp6(1),b.Q6J("ngIf",mt.hasAction))},dependencies:[e.O5,k.lW],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}.mat-simple-snack-bar-content{overflow:hidden;text-overflow:ellipsis}"],encapsulation:2,changeDetection:0}),qe})();const st={snackBarState:(0,J.X$)("state",[(0,J.SB)("void, hidden",(0,J.oB)({transform:"scale(0.8)",opacity:0})),(0,J.SB)("visible",(0,J.oB)({transform:"scale(1)",opacity:1})),(0,J.eR)("* => visible",(0,J.jt)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,J.eR)("* => void, * => hidden",(0,J.jt)("75ms cubic-bezier(0.4, 0.0, 1, 1)",(0,J.oB)({opacity:0})))])};let Te=(()=>{class qe extends m.en{constructor(ke,mt,kt,ri,bt){super(),this._ngZone=ke,this._elementRef=mt,this._changeDetectorRef=kt,this._platform=ri,this.snackBarConfig=bt,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new F.x,this._onExit=new F.x,this._onEnter=new F.x,this._animationState="void",this.attachDomPortal=Wt=>{this._assertNotAttached();const ye=this._portalOutlet.attachDomPortal(Wt);return this._afterPortalAttached(),ye},this._live="assertive"!==bt.politeness||bt.announcementMessage?"off"===bt.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(ke){this._assertNotAttached();const mt=this._portalOutlet.attachComponentPortal(ke);return this._afterPortalAttached(),mt}attachTemplatePortal(ke){this._assertNotAttached();const mt=this._portalOutlet.attachTemplatePortal(ke);return this._afterPortalAttached(),mt}onAnimationEnd(ke){const{fromState:mt,toState:kt}=ke;if(("void"===kt&&"void"!==mt||"hidden"===kt)&&this._completeExit(),"visible"===kt){const ri=this._onEnter;this._ngZone.run(()=>{ri.next(),ri.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe((0,V.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const ke=this._elementRef.nativeElement,mt=this.snackBarConfig.panelClass;mt&&(Array.isArray(mt)?mt.forEach(kt=>ke.classList.add(kt)):ke.classList.add(mt))}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const ke=this._elementRef.nativeElement.querySelector("[aria-hidden]"),mt=this._elementRef.nativeElement.querySelector("[aria-live]");if(ke&&mt){let kt=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&ke.contains(document.activeElement)&&(kt=document.activeElement),ke.removeAttribute("aria-hidden"),mt.appendChild(ke),null==kt||kt.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return qe.\u0275fac=function(ke){return new(ke||qe)(b.Y36(b.R0b),b.Y36(b.SBq),b.Y36(b.sBO),b.Y36(ue.t4),b.Y36(le))},qe.\u0275dir=b.lG2({type:qe,viewQuery:function(ke,mt){if(1&ke&&b.Gf(m.Pl,7),2&ke){let kt;b.iGM(kt=b.CRH())&&(mt._portalOutlet=kt.first)}},features:[b.qOj]}),qe})(),Le=(()=>{class qe extends Te{_afterPortalAttached(){super._afterPortalAttached(),"center"===this.snackBarConfig.horizontalPosition&&this._elementRef.nativeElement.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&this._elementRef.nativeElement.classList.add("mat-snack-bar-top")}}return qe.\u0275fac=function(){let ie;return function(mt){return(ie||(ie=b.n5z(qe)))(mt||qe)}}(),qe.\u0275cmp=b.Xpm({type:qe,selectors:[["snack-bar-container"]],hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(ke,mt){1&ke&&b.WFA("@state.done",function(ri){return mt.onAnimationEnd(ri)}),2&ke&&b.d8E("@state",mt._animationState)},features:[b.qOj],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(ke,mt){1&ke&&(b.TgZ(0,"div",0),b.YNc(1,de,0,0,"ng-template",1),b.qZA(),b._UZ(2,"div")),2&ke&&(b.xp6(2),b.uIk("aria-live",mt._live)("role",mt._role))},dependencies:[m.Pl],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}"],encapsulation:2,data:{animation:[st.snackBarState]}}),qe})(),at=(()=>{class qe{}return qe.\u0275fac=function(ke){return new(ke||qe)},qe.\u0275mod=b.oAB({type:qe}),qe.\u0275inj=b.cJS({imports:[c.U8,m.eL,e.ez,k.ot,T.BQ,T.BQ]}),qe})();const _e=new b.OlP("mat-snack-bar-default-options",{providedIn:"root",factory:function xt(){return new le}});let tt=(()=>{class qe{constructor(ke,mt,kt,ri,bt,Wt){this._overlay=ke,this._live=mt,this._injector=kt,this._breakpointObserver=ri,this._parentSnackBar=bt,this._defaultConfig=Wt,this._snackBarRefAtThisLevel=null}get _openedSnackBarRef(){const ke=this._parentSnackBar;return ke?ke._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(ke){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=ke:this._snackBarRefAtThisLevel=ke}openFromComponent(ke,mt){return this._attach(ke,mt)}openFromTemplate(ke,mt){return this._attach(ke,mt)}open(ke,mt="",kt){const ri=Object.assign(Object.assign({},this._defaultConfig),kt);return ri.data={message:ke,action:mt},ri.announcementMessage===ke&&(ri.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,ri)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(ke,mt){const ri=b.zs3.create({parent:mt&&mt.viewContainerRef&&mt.viewContainerRef.injector||this._injector,providers:[{provide:le,useValue:mt}]}),bt=new m.C5(this.snackBarContainerComponent,mt.viewContainerRef,ri),Wt=ke.attach(bt);return Wt.instance.snackBarConfig=mt,Wt.instance}_attach(ke,mt){const kt=Object.assign(Object.assign(Object.assign({},new le),this._defaultConfig),mt),ri=this._createOverlay(kt),bt=this._attachSnackBarContainer(ri,kt),Wt=new yt(bt,ri);if(ke instanceof b.Rgc){const ye=new m.UE(ke,null,{$implicit:kt.data,snackBarRef:Wt});Wt.instance=bt.attachTemplatePortal(ye)}else{const ye=this._createInjector(kt,Wt),Xe=new m.C5(ke,void 0,ye),Ae=bt.attachComponentPortal(Xe);Wt.instance=Ae.instance}return this._breakpointObserver.observe(ce.u3.HandsetPortrait).pipe((0,X.R)(ri.detachments())).subscribe(ye=>{ri.overlayElement.classList.toggle(this.handsetCssClass,ye.matches)}),kt.announcementMessage&&bt._onAnnounce.subscribe(()=>{this._live.announce(kt.announcementMessage,kt.politeness)}),this._animateSnackBar(Wt,kt),this._openedSnackBarRef=Wt,this._openedSnackBarRef}_animateSnackBar(ke,mt){ke.afterDismissed().subscribe(()=>{this._openedSnackBarRef==ke&&(this._openedSnackBarRef=null),mt.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{ke.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):ke.containerInstance.enter(),mt.duration&&mt.duration>0&&ke.afterOpened().subscribe(()=>ke._dismissAfter(mt.duration))}_createOverlay(ke){const mt=new c.X_;mt.direction=ke.direction;let kt=this._overlay.position().global();const ri="rtl"===ke.direction,bt="left"===ke.horizontalPosition||"start"===ke.horizontalPosition&&!ri||"end"===ke.horizontalPosition&&ri,Wt=!bt&&"center"!==ke.horizontalPosition;return bt?kt.left("0"):Wt?kt.right("0"):kt.centerHorizontally(),"top"===ke.verticalPosition?kt.top("0"):kt.bottom("0"),mt.positionStrategy=kt,this._overlay.create(mt)}_createInjector(ke,mt){return b.zs3.create({parent:ke&&ke.viewContainerRef&&ke.viewContainerRef.injector||this._injector,providers:[{provide:yt,useValue:mt},{provide:Ge,useValue:ke.data}]})}}return qe.\u0275fac=function(ke){return new(ke||qe)(b.LFG(c.aV),b.LFG(Oe.Kd),b.LFG(b.zs3),b.LFG(ce.Yg),b.LFG(qe,12),b.LFG(_e))},qe.\u0275prov=b.Yz7({token:qe,factory:qe.\u0275fac}),qe})(),Ye=(()=>{class qe extends tt{constructor(ke,mt,kt,ri,bt,Wt){super(ke,mt,kt,ri,bt,Wt),this.simpleSnackBarComponent=jt,this.snackBarContainerComponent=Le,this.handsetCssClass="mat-snack-bar-handset"}}return qe.\u0275fac=function(ke){return new(ke||qe)(b.LFG(c.aV),b.LFG(Oe.Kd),b.LFG(b.zs3),b.LFG(ce.Yg),b.LFG(qe,12),b.LFG(_e))},qe.\u0275prov=b.Yz7({token:qe,factory:qe.\u0275fac,providedIn:at}),qe})()},3251:(B,U,C)=>{"use strict";C.d(U,{Nh:()=>Vi,SP:()=>it,uD:()=>dn,uX:()=>Je});var c=C(5664),m=C(7144),e=C(7429),b=C(9808),T=C(5e3),k=C(508),F=C(5698),V=C(8675),X=C(1884),J=C(2722),ue=C(3900),ce=C(5684),Oe=C(9300),Pe=C(7579),de=C(727),Ge=C(4968),le=C(9646),Ne=C(6451),yt=C(515),jt=C(9751),st=C(5963),Te=C(1777),Le=C(226),at=C(3191),_e=C(1159),xt=C(925),tt=C(9071);function Ye(It,ci){1&It&&T.Hsn(0)}const qe=["*"];function ie(It,ci){}const ke=function(It){return{animationDuration:It}},mt=function(It,ci){return{value:It,params:ci}},kt=["tabListContainer"],ri=["tabList"],bt=["tabListInner"],Wt=["nextPaginator"],ye=["previousPaginator"],Xe=["tabBodyWrapper"],Ae=["tabHeader"];function he(It,ci){}function nt(It,ci){if(1&It&&T.YNc(0,he,0,0,"ng-template",10),2&It){const Ee=T.oxw().$implicit;T.Q6J("cdkPortalOutlet",Ee.templateLabel)}}function Yt(It,ci){if(1&It&&T._uU(0),2&It){const Ee=T.oxw().$implicit;T.Oqu(Ee.textLabel)}}function Lt(It,ci){if(1&It){const Ee=T.EpF();T.TgZ(0,"div",6),T.NdJ("click",function(){const ot=T.CHM(Ee),qt=ot.$implicit,un=ot.index,ln=T.oxw(),vt=T.MAs(1);return T.KtG(ln._handleClick(qt,vt,un))})("cdkFocusChange",function(ot){const un=T.CHM(Ee).index,ln=T.oxw();return T.KtG(ln._tabFocusChanged(ot,un))}),T.TgZ(1,"div",7),T.YNc(2,nt,1,1,"ng-template",8),T.YNc(3,Yt,1,1,"ng-template",null,9,T.W1O),T.qZA()()}if(2&It){const Ee=ci.$implicit,pt=ci.index,ot=T.MAs(4),qt=T.oxw();T.ekj("mat-tab-label-active",qt.selectedIndex===pt),T.Q6J("id",qt._getTabLabelId(pt))("ngClass",Ee.labelClass)("disabled",Ee.disabled)("matRippleDisabled",Ee.disabled||qt.disableRipple),T.uIk("tabIndex",qt._getTabIndex(Ee,pt))("aria-posinset",pt+1)("aria-setsize",qt._tabs.length)("aria-controls",qt._getTabContentId(pt))("aria-selected",qt.selectedIndex===pt)("aria-label",Ee.ariaLabel||null)("aria-labelledby",!Ee.ariaLabel&&Ee.ariaLabelledby?Ee.ariaLabelledby:null),T.xp6(2),T.Q6J("ngIf",Ee.templateLabel)("ngIfElse",ot)}}function Ai(It,ci){if(1&It){const Ee=T.EpF();T.TgZ(0,"mat-tab-body",11),T.NdJ("_onCentered",function(){T.CHM(Ee);const ot=T.oxw();return T.KtG(ot._removeTabBodyWrapperHeight())})("_onCentering",function(ot){T.CHM(Ee);const qt=T.oxw();return T.KtG(qt._setTabBodyWrapperHeight(ot))}),T.qZA()}if(2&It){const Ee=ci.$implicit,pt=ci.index,ot=T.oxw();T.ekj("mat-tab-body-active",ot.selectedIndex===pt),T.Q6J("id",ot._getTabContentId(pt))("ngClass",Ee.bodyClass)("content",Ee.content)("position",Ee.position)("origin",Ee.origin)("animationDuration",ot.animationDuration)("preserveContent",ot.preserveContent),T.uIk("tabindex",null!=ot.contentTabIndex&&ot.selectedIndex===pt?ot.contentTabIndex:null)("aria-labelledby",ot._getTabLabelId(pt))}}const hi=new T.OlP("MatInkBarPositioner",{providedIn:"root",factory:function ne(){return ci=>({left:ci?(ci.offsetLeft||0)+"px":"0",width:ci?(ci.offsetWidth||0)+"px":"0"})}});let Tt=(()=>{class It{constructor(Ee,pt,ot,qt){this._elementRef=Ee,this._ngZone=pt,this._inkBarPositioner=ot,this._animationMode=qt}alignToElement(Ee){this.show(),this._ngZone.run(()=>{this._ngZone.onStable.pipe((0,F.q)(1)).subscribe(()=>{const pt=this._inkBarPositioner(Ee),ot=this._elementRef.nativeElement;ot.style.left=pt.left,ot.style.width=pt.width})})}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}}return It.\u0275fac=function(Ee){return new(Ee||It)(T.Y36(T.SBq),T.Y36(T.R0b),T.Y36(hi),T.Y36(T.QbO,8))},It.\u0275dir=T.lG2({type:It,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(Ee,pt){2&Ee&&T.ekj("_mat-animation-noopable","NoopAnimations"===pt._animationMode)}}),It})();const Se=new T.OlP("MatTabContent"),ni=new T.OlP("MatTabLabel"),ki=new T.OlP("MAT_TAB");let dn=(()=>{class It extends e.ig{constructor(Ee,pt,ot){super(Ee,pt),this._closestTab=ot}}return It.\u0275fac=function(Ee){return new(Ee||It)(T.Y36(T.Rgc),T.Y36(T.s_b),T.Y36(ki,8))},It.\u0275dir=T.lG2({type:It,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[T._Bn([{provide:ni,useExisting:It}]),T.qOj]}),It})();const ai=(0,k.Id)(class{}),ti=new T.OlP("MAT_TAB_GROUP");let Je=(()=>{class It extends ai{constructor(Ee,pt){super(),this._viewContainerRef=Ee,this._closestTabGroup=pt,this.textLabel="",this._contentPortal=null,this._stateChanges=new Pe.x,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(Ee){this._setTemplateLabelInput(Ee)}get content(){return this._contentPortal}ngOnChanges(Ee){(Ee.hasOwnProperty("textLabel")||Ee.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new e.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(Ee){Ee&&Ee._closestTab===this&&(this._templateLabel=Ee)}}return It.\u0275fac=function(Ee){return new(Ee||It)(T.Y36(T.s_b),T.Y36(ti,8))},It.\u0275cmp=T.Xpm({type:It,selectors:[["mat-tab"]],contentQueries:function(Ee,pt,ot){if(1&Ee&&(T.Suo(ot,ni,5),T.Suo(ot,Se,7,T.Rgc)),2&Ee){let qt;T.iGM(qt=T.CRH())&&(pt.templateLabel=qt.first),T.iGM(qt=T.CRH())&&(pt._explicitContent=qt.first)}},viewQuery:function(Ee,pt){if(1&Ee&&T.Gf(T.Rgc,7),2&Ee){let ot;T.iGM(ot=T.CRH())&&(pt._implicitContent=ot.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[T._Bn([{provide:ki,useExisting:It}]),T.qOj,T.TTD],ngContentSelectors:qe,decls:1,vars:0,template:function(Ee,pt){1&Ee&&(T.F$t(),T.YNc(0,Ye,1,0,"ng-template"))},encapsulation:2}),It})();const Y={translateTab:(0,Te.X$)("translateTab",[(0,Te.SB)("center, void, left-origin-center, right-origin-center",(0,Te.oB)({transform:"none"})),(0,Te.SB)("left",(0,Te.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,Te.SB)("right",(0,Te.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,Te.eR)("* => left, * => right, left => center, right => center",(0,Te.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,Te.eR)("void => left-origin-center",[(0,Te.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,Te.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,Te.eR)("void => right-origin-center",[(0,Te.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,Te.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let ee=(()=>{class It extends e.Pl{constructor(Ee,pt,ot,qt){super(Ee,pt,qt),this._host=ot,this._centeringSub=de.w0.EMPTY,this._leavingSub=de.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,V.O)(this._host._isCenterPosition(this._host._position))).subscribe(Ee=>{Ee&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return It.\u0275fac=function(Ee){return new(Ee||It)(T.Y36(T._Vd),T.Y36(T.s_b),T.Y36((0,T.Gpc)(()=>et)),T.Y36(b.K0))},It.\u0275dir=T.lG2({type:It,selectors:[["","matTabBodyHost",""]],features:[T.qOj]}),It})(),A=(()=>{class It{constructor(Ee,pt,ot){this._elementRef=Ee,this._dir=pt,this._dirChangeSubscription=de.w0.EMPTY,this._translateTabComplete=new Pe.x,this._onCentering=new T.vpe,this._beforeCentering=new T.vpe,this._afterLeavingCenter=new T.vpe,this._onCentered=new T.vpe(!0),this.animationDuration="500ms",this.preserveContent=!1,pt&&(this._dirChangeSubscription=pt.change.subscribe(qt=>{this._computePositionAnimationState(qt),ot.markForCheck()})),this._translateTabComplete.pipe((0,X.x)((qt,un)=>qt.fromState===un.fromState&&qt.toState===un.toState)).subscribe(qt=>{this._isCenterPosition(qt.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(qt.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(Ee){this._positionIndex=Ee,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(Ee){const pt=this._isCenterPosition(Ee.toState);this._beforeCentering.emit(pt),pt&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(Ee){return"center"==Ee||"left-origin-center"==Ee||"right-origin-center"==Ee}_computePositionAnimationState(Ee=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==Ee?"left":"right":this._positionIndex>0?"ltr"==Ee?"right":"left":"center"}_computePositionFromOrigin(Ee){const pt=this._getLayoutDirection();return"ltr"==pt&&Ee<=0||"rtl"==pt&&Ee>0?"left-origin-center":"right-origin-center"}}return It.\u0275fac=function(Ee){return new(Ee||It)(T.Y36(T.SBq),T.Y36(Le.Is,8),T.Y36(T.sBO))},It.\u0275dir=T.lG2({type:It,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),It})(),et=(()=>{class It extends A{constructor(Ee,pt,ot){super(Ee,pt,ot)}}return It.\u0275fac=function(Ee){return new(Ee||It)(T.Y36(T.SBq),T.Y36(Le.Is,8),T.Y36(T.sBO))},It.\u0275cmp=T.Xpm({type:It,selectors:[["mat-tab-body"]],viewQuery:function(Ee,pt){if(1&Ee&&T.Gf(e.Pl,5),2&Ee){let ot;T.iGM(ot=T.CRH())&&(pt._portalHost=ot.first)}},hostAttrs:[1,"mat-tab-body"],features:[T.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(Ee,pt){1&Ee&&(T.TgZ(0,"div",0,1),T.NdJ("@translateTab.start",function(qt){return pt._onTranslateTabStarted(qt)})("@translateTab.done",function(qt){return pt._translateTabComplete.next(qt)}),T.YNc(2,ie,0,0,"ng-template",2),T.qZA()),2&Ee&&T.Q6J("@translateTab",T.WLB(3,mt,pt._position,T.VKq(1,ke,pt.animationDuration)))},dependencies:[ee],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[Y.translateTab]}}),It})();const Fe=new T.OlP("MAT_TABS_CONFIG"),we=(0,k.Id)(class{});let De=(()=>{class It extends we{constructor(Ee){super(),this.elementRef=Ee}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return It.\u0275fac=function(Ee){return new(Ee||It)(T.Y36(T.SBq))},It.\u0275dir=T.lG2({type:It,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(Ee,pt){2&Ee&&(T.uIk("aria-disabled",!!pt.disabled),T.ekj("mat-tab-disabled",pt.disabled))},inputs:{disabled:"disabled"},features:[T.qOj]}),It})();const ct=(0,xt.i$)({passive:!0});let di=(()=>{class It{constructor(Ee,pt,ot,qt,un,ln,vt){this._elementRef=Ee,this._changeDetectorRef=pt,this._viewportRuler=ot,this._dir=qt,this._ngZone=un,this._platform=ln,this._animationMode=vt,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new Pe.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new Pe.x,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new T.vpe,this.indexFocused=new T.vpe,un.runOutsideAngular(()=>{(0,Ge.R)(Ee.nativeElement,"mouseleave").pipe((0,J.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get disablePagination(){return this._disablePagination}set disablePagination(Ee){this._disablePagination=(0,at.Ig)(Ee)}get selectedIndex(){return this._selectedIndex}set selectedIndex(Ee){Ee=(0,at.su)(Ee),this._selectedIndex!=Ee&&(this._selectedIndexChanged=!0,this._selectedIndex=Ee,this._keyManager&&this._keyManager.updateActiveItem(Ee))}ngAfterViewInit(){(0,Ge.R)(this._previousPaginator.nativeElement,"touchstart",ct).pipe((0,J.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,Ge.R)(this._nextPaginator.nativeElement,"touchstart",ct).pipe((0,J.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const Ee=this._dir?this._dir.change:(0,le.of)("ltr"),pt=this._viewportRuler.change(150),ot=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new c.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,F.q)(1)).subscribe(ot),(0,Ne.T)(Ee,pt,this._items.changes,this._itemsResized()).pipe((0,J.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),ot()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe((0,J.R)(this._destroyed)).subscribe(qt=>{this.indexFocused.emit(qt),this._setTabFocus(qt)})}_itemsResized(){return"function"!=typeof ResizeObserver?yt.E:this._items.changes.pipe((0,V.O)(this._items),(0,ue.w)(Ee=>new jt.y(pt=>this._ngZone.runOutsideAngular(()=>{const ot=new ResizeObserver(qt=>pt.next(qt));return Ee.forEach(qt=>ot.observe(qt.elementRef.nativeElement)),()=>{ot.disconnect()}}))),(0,ce.T)(1),(0,Oe.h)(Ee=>Ee.some(pt=>pt.contentRect.width>0&&pt.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(Ee){if(!(0,_e.Vb)(Ee))switch(Ee.keyCode){case _e.K5:case _e.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(Ee));break;default:this._keyManager.onKeydown(Ee)}}_onContentChanges(){const Ee=this._elementRef.nativeElement.textContent;Ee!==this._currentTextContent&&(this._currentTextContent=Ee||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(Ee){!this._isValidIndex(Ee)||this.focusIndex===Ee||!this._keyManager||this._keyManager.setActiveItem(Ee)}_isValidIndex(Ee){if(!this._items)return!0;const pt=this._items?this._items.toArray()[Ee]:null;return!!pt&&!pt.disabled}_setTabFocus(Ee){if(this._showPaginationControls&&this._scrollToLabel(Ee),this._items&&this._items.length){this._items.toArray()[Ee].focus();const pt=this._tabListContainer.nativeElement;pt.scrollLeft="ltr"==this._getLayoutDirection()?0:pt.scrollWidth-pt.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const Ee=this.scrollDistance,pt="ltr"===this._getLayoutDirection()?-Ee:Ee;this._tabList.nativeElement.style.transform=`translateX(${Math.round(pt)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(Ee){this._scrollTo(Ee)}_scrollHeader(Ee){return this._scrollTo(this._scrollDistance+("before"==Ee?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(Ee){this._stopInterval(),this._scrollHeader(Ee)}_scrollToLabel(Ee){if(this.disablePagination)return;const pt=this._items?this._items.toArray()[Ee]:null;if(!pt)return;const ot=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:qt,offsetWidth:un}=pt.elementRef.nativeElement;let ln,vt;"ltr"==this._getLayoutDirection()?(ln=qt,vt=ln+un):(vt=this._tabListInner.nativeElement.offsetWidth-qt,ln=vt-un);const rt=this.scrollDistance,je=this.scrollDistance+ot;lnje&&(this.scrollDistance+=vt-je+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const Ee=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;Ee||(this.scrollDistance=0),Ee!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=Ee}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const Ee=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,pt=Ee?Ee.elementRef.nativeElement:null;pt?this._inkBar.alignToElement(pt):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(Ee,pt){pt&&null!=pt.button&&0!==pt.button||(this._stopInterval(),(0,st.H)(650,100).pipe((0,J.R)((0,Ne.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:ot,distance:qt}=this._scrollHeader(Ee);(0===qt||qt>=ot)&&this._stopInterval()}))}_scrollTo(Ee){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const pt=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(pt,Ee)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:pt,distance:this._scrollDistance}}}return It.\u0275fac=function(Ee){return new(Ee||It)(T.Y36(T.SBq),T.Y36(T.sBO),T.Y36(tt.rL),T.Y36(Le.Is,8),T.Y36(T.R0b),T.Y36(xt.t4),T.Y36(T.QbO,8))},It.\u0275dir=T.lG2({type:It,inputs:{disablePagination:"disablePagination"}}),It})(),zt=(()=>{class It extends di{constructor(Ee,pt,ot,qt,un,ln,vt){super(Ee,pt,ot,qt,un,ln,vt),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(Ee){this._disableRipple=(0,at.Ig)(Ee)}_itemSelected(Ee){Ee.preventDefault()}}return It.\u0275fac=function(Ee){return new(Ee||It)(T.Y36(T.SBq),T.Y36(T.sBO),T.Y36(tt.rL),T.Y36(Le.Is,8),T.Y36(T.R0b),T.Y36(xt.t4),T.Y36(T.QbO,8))},It.\u0275dir=T.lG2({type:It,inputs:{disableRipple:"disableRipple"},features:[T.qOj]}),It})(),Bi=(()=>{class It extends zt{constructor(Ee,pt,ot,qt,un,ln,vt){super(Ee,pt,ot,qt,un,ln,vt)}}return It.\u0275fac=function(Ee){return new(Ee||It)(T.Y36(T.SBq),T.Y36(T.sBO),T.Y36(tt.rL),T.Y36(Le.Is,8),T.Y36(T.R0b),T.Y36(xt.t4),T.Y36(T.QbO,8))},It.\u0275cmp=T.Xpm({type:It,selectors:[["mat-tab-header"]],contentQueries:function(Ee,pt,ot){if(1&Ee&&T.Suo(ot,De,4),2&Ee){let qt;T.iGM(qt=T.CRH())&&(pt._items=qt)}},viewQuery:function(Ee,pt){if(1&Ee&&(T.Gf(Tt,7),T.Gf(kt,7),T.Gf(ri,7),T.Gf(bt,7),T.Gf(Wt,5),T.Gf(ye,5)),2&Ee){let ot;T.iGM(ot=T.CRH())&&(pt._inkBar=ot.first),T.iGM(ot=T.CRH())&&(pt._tabListContainer=ot.first),T.iGM(ot=T.CRH())&&(pt._tabList=ot.first),T.iGM(ot=T.CRH())&&(pt._tabListInner=ot.first),T.iGM(ot=T.CRH())&&(pt._nextPaginator=ot.first),T.iGM(ot=T.CRH())&&(pt._previousPaginator=ot.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(Ee,pt){2&Ee&&T.ekj("mat-tab-header-pagination-controls-enabled",pt._showPaginationControls)("mat-tab-header-rtl","rtl"==pt._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[T.qOj],ngContentSelectors:qe,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(Ee,pt){1&Ee&&(T.F$t(),T.TgZ(0,"button",0,1),T.NdJ("click",function(){return pt._handlePaginatorClick("before")})("mousedown",function(qt){return pt._handlePaginatorPress("before",qt)})("touchend",function(){return pt._stopInterval()}),T._UZ(2,"div",2),T.qZA(),T.TgZ(3,"div",3,4),T.NdJ("keydown",function(qt){return pt._handleKeydown(qt)}),T.TgZ(5,"div",5,6),T.NdJ("cdkObserveContent",function(){return pt._onContentChanges()}),T.TgZ(7,"div",7,8),T.Hsn(9),T.qZA(),T._UZ(10,"mat-ink-bar"),T.qZA()(),T.TgZ(11,"button",9,10),T.NdJ("mousedown",function(qt){return pt._handlePaginatorPress("after",qt)})("click",function(){return pt._handlePaginatorClick("after")})("touchend",function(){return pt._stopInterval()}),T._UZ(13,"div",2),T.qZA()),2&Ee&&(T.ekj("mat-tab-header-pagination-disabled",pt._disableScrollBefore),T.Q6J("matRippleDisabled",pt._disableScrollBefore||pt.disableRipple)("disabled",pt._disableScrollBefore||null),T.xp6(5),T.ekj("_mat-animation-noopable","NoopAnimations"===pt._animationMode),T.xp6(6),T.ekj("mat-tab-header-pagination-disabled",pt._disableScrollAfter),T.Q6J("matRippleDisabled",pt._disableScrollAfter||pt.disableRipple)("disabled",pt._disableScrollAfter||null))},dependencies:[k.wG,m.wD,Tt],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-list._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}.mat-tab-label::before{margin:5px}@media(max-width: 599px){.mat-tab-label{min-width:72px}}"],encapsulation:2}),It})(),xi=0;class $n{}const Hi=(0,k.pj)((0,k.Kr)(class{constructor(It){this._elementRef=It}}),"primary");let ht=(()=>{class It extends Hi{constructor(Ee,pt,ot,qt){var un;super(Ee),this._changeDetectorRef=pt,this._animationMode=qt,this._tabs=new T.n_E,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=de.w0.EMPTY,this._tabLabelSubscription=de.w0.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new T.vpe,this.focusChange=new T.vpe,this.animationDone=new T.vpe,this.selectedTabChange=new T.vpe(!0),this._groupId=xi++,this.animationDuration=ot&&ot.animationDuration?ot.animationDuration:"500ms",this.disablePagination=!(!ot||null==ot.disablePagination)&&ot.disablePagination,this.dynamicHeight=!(!ot||null==ot.dynamicHeight)&&ot.dynamicHeight,this.contentTabIndex=null!==(un=null==ot?void 0:ot.contentTabIndex)&&void 0!==un?un:null,this.preserveContent=!(null==ot||!ot.preserveContent)}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(Ee){this._dynamicHeight=(0,at.Ig)(Ee)}get selectedIndex(){return this._selectedIndex}set selectedIndex(Ee){this._indexToSelect=(0,at.su)(Ee,null)}get animationDuration(){return this._animationDuration}set animationDuration(Ee){this._animationDuration=/^\d+$/.test(Ee+"")?Ee+"ms":Ee}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(Ee){this._contentTabIndex=(0,at.su)(Ee,null)}get disablePagination(){return this._disablePagination}set disablePagination(Ee){this._disablePagination=(0,at.Ig)(Ee)}get preserveContent(){return this._preserveContent}set preserveContent(Ee){this._preserveContent=(0,at.Ig)(Ee)}get backgroundColor(){return this._backgroundColor}set backgroundColor(Ee){const pt=this._elementRef.nativeElement;pt.classList.remove(`mat-background-${this.backgroundColor}`),Ee&&pt.classList.add(`mat-background-${Ee}`),this._backgroundColor=Ee}ngAfterContentChecked(){const Ee=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=Ee){const pt=null==this._selectedIndex;if(!pt){this.selectedTabChange.emit(this._createChangeEvent(Ee));const ot=this._tabBodyWrapper.nativeElement;ot.style.minHeight=ot.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((ot,qt)=>ot.isActive=qt===Ee),pt||(this.selectedIndexChange.emit(Ee),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((pt,ot)=>{pt.position=ot-Ee,null!=this._selectedIndex&&0==pt.position&&!pt.origin&&(pt.origin=Ee-this._selectedIndex)}),this._selectedIndex!==Ee&&(this._selectedIndex=Ee,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const Ee=this._clampTabIndex(this._indexToSelect);if(Ee===this._selectedIndex){const pt=this._tabs.toArray();let ot;for(let qt=0;qt{pt[Ee].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(Ee))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,V.O)(this._allTabs)).subscribe(Ee=>{this._tabs.reset(Ee.filter(pt=>pt._closestTabGroup===this||!pt._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(Ee){const pt=this._tabHeader;pt&&(pt.focusIndex=Ee)}_focusChanged(Ee){this._lastFocusedTabIndex=Ee,this.focusChange.emit(this._createChangeEvent(Ee))}_createChangeEvent(Ee){const pt=new $n;return pt.index=Ee,this._tabs&&this._tabs.length&&(pt.tab=this._tabs.toArray()[Ee]),pt}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,Ne.T)(...this._tabs.map(Ee=>Ee._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(Ee){return Math.min(this._tabs.length-1,Math.max(Ee||0,0))}_getTabLabelId(Ee){return`mat-tab-label-${this._groupId}-${Ee}`}_getTabContentId(Ee){return`mat-tab-content-${this._groupId}-${Ee}`}_setTabBodyWrapperHeight(Ee){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const pt=this._tabBodyWrapper.nativeElement;pt.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(pt.style.height=Ee+"px")}_removeTabBodyWrapperHeight(){const Ee=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=Ee.clientHeight,Ee.style.height="",this.animationDone.emit()}_handleClick(Ee,pt,ot){Ee.disabled||(this.selectedIndex=pt.focusIndex=ot)}_getTabIndex(Ee,pt){var ot;return Ee.disabled?null:pt===(null!==(ot=this._lastFocusedTabIndex)&&void 0!==ot?ot:this.selectedIndex)?0:-1}_tabFocusChanged(Ee,pt){Ee&&"mouse"!==Ee&&"touch"!==Ee&&(this._tabHeader.focusIndex=pt)}}return It.\u0275fac=function(Ee){return new(Ee||It)(T.Y36(T.SBq),T.Y36(T.sBO),T.Y36(Fe,8),T.Y36(T.QbO,8))},It.\u0275dir=T.lG2({type:It,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[T.qOj]}),It})(),it=(()=>{class It extends ht{constructor(Ee,pt,ot,qt){super(Ee,pt,ot,qt)}}return It.\u0275fac=function(Ee){return new(Ee||It)(T.Y36(T.SBq),T.Y36(T.sBO),T.Y36(Fe,8),T.Y36(T.QbO,8))},It.\u0275cmp=T.Xpm({type:It,selectors:[["mat-tab-group"]],contentQueries:function(Ee,pt,ot){if(1&Ee&&T.Suo(ot,Je,5),2&Ee){let qt;T.iGM(qt=T.CRH())&&(pt._allTabs=qt)}},viewQuery:function(Ee,pt){if(1&Ee&&(T.Gf(Xe,5),T.Gf(Ae,5)),2&Ee){let ot;T.iGM(ot=T.CRH())&&(pt._tabBodyWrapper=ot.first),T.iGM(ot=T.CRH())&&(pt._tabHeader=ot.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(Ee,pt){2&Ee&&T.ekj("mat-tab-group-dynamic-height",pt.dynamicHeight)("mat-tab-group-inverted-header","below"===pt.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[T._Bn([{provide:ti,useExisting:It}]),T.qOj],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(Ee,pt){1&Ee&&(T.TgZ(0,"mat-tab-header",0,1),T.NdJ("indexFocused",function(qt){return pt._focusChanged(qt)})("selectFocusedIndex",function(qt){return pt.selectedIndex=qt}),T.YNc(2,Lt,5,15,"div",2),T.qZA(),T.TgZ(3,"div",3,4),T.YNc(5,Ai,1,11,"mat-tab-body",5),T.qZA()),2&Ee&&(T.Q6J("selectedIndex",pt.selectedIndex||0)("disableRipple",pt.disableRipple)("disablePagination",pt.disablePagination),T.xp6(2),T.Q6J("ngForOf",pt._tabs),T.xp6(1),T.ekj("_mat-animation-noopable","NoopAnimations"===pt._animationMode),T.xp6(2),T.Q6J("ngForOf",pt._tabs))},dependencies:[b.mk,b.sg,b.O5,e.Pl,k.wG,c.kH,De,et,Bi],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}"],encapsulation:2}),It})(),Vi=(()=>{class It{}return It.\u0275fac=function(Ee){return new(Ee||It)},It.\u0275mod=T.oAB({type:It}),It.\u0275inj=T.cJS({imports:[b.ez,k.BQ,e.eL,k.si,m.Q8,c.rt,k.BQ]}),It})()},2313:(B,U,C)=>{"use strict";C.d(U,{Dx:()=>Fe,H7:()=>ot,b2:()=>Je,q6:()=>ki,se:()=>ke});var c=C(9808),m=C(5e3);class e extends c.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class b extends e{static makeCurrent(){(0,c.HT)(new b)}onAndCancel(rt,je,Mt){return rt.addEventListener(je,Mt,!1),()=>{rt.removeEventListener(je,Mt,!1)}}dispatchEvent(rt,je){rt.dispatchEvent(je)}remove(rt){rt.parentNode&&rt.parentNode.removeChild(rt)}createElement(rt,je){return(je=je||this.getDefaultDocument()).createElement(rt)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(rt){return rt.nodeType===Node.ELEMENT_NODE}isShadowRoot(rt){return rt instanceof DocumentFragment}getGlobalEventTarget(rt,je){return"window"===je?window:"document"===je?rt:"body"===je?rt.body:null}getBaseHref(rt){const je=function k(){return T=T||document.querySelector("base"),T?T.getAttribute("href"):null}();return null==je?null:function V(vt){F=F||document.createElement("a"),F.setAttribute("href",vt);const rt=F.pathname;return"/"===rt.charAt(0)?rt:`/${rt}`}(je)}resetBaseElement(){T=null}getUserAgent(){return window.navigator.userAgent}getCookie(rt){return(0,c.Mx)(document.cookie,rt)}}let F,T=null;const X=new m.OlP("TRANSITION_ID"),ue=[{provide:m.ip1,useFactory:function J(vt,rt,je){return()=>{je.get(m.CZH).donePromise.then(()=>{const Mt=(0,c.q)(),Ut=rt.querySelectorAll(`style[ng-transition="${vt}"]`);for(let Oi=0;Oi{class vt{build(){return new XMLHttpRequest}}return vt.\u0275fac=function(je){return new(je||vt)},vt.\u0275prov=m.Yz7({token:vt,factory:vt.\u0275fac}),vt})();const Pe=new m.OlP("EventManagerPlugins");let de=(()=>{class vt{constructor(je,Mt){this._zone=Mt,this._eventNameToPlugin=new Map,je.forEach(Ut=>Ut.manager=this),this._plugins=je.slice().reverse()}addEventListener(je,Mt,Ut){return this._findPluginFor(Mt).addEventListener(je,Mt,Ut)}addGlobalEventListener(je,Mt,Ut){return this._findPluginFor(Mt).addGlobalEventListener(je,Mt,Ut)}getZone(){return this._zone}_findPluginFor(je){const Mt=this._eventNameToPlugin.get(je);if(Mt)return Mt;const Ut=this._plugins;for(let Oi=0;Oi{class vt{constructor(){this._stylesSet=new Set}addStyles(je){const Mt=new Set;je.forEach(Ut=>{this._stylesSet.has(Ut)||(this._stylesSet.add(Ut),Mt.add(Ut))}),this.onStylesAdded(Mt)}onStylesAdded(je){}getAllStyles(){return Array.from(this._stylesSet)}}return vt.\u0275fac=function(je){return new(je||vt)},vt.\u0275prov=m.Yz7({token:vt,factory:vt.\u0275fac}),vt})(),Ne=(()=>{class vt extends le{constructor(je){super(),this._doc=je,this._hostNodes=new Map,this._hostNodes.set(je.head,[])}_addStylesToHost(je,Mt,Ut){je.forEach(Oi=>{const Ni=this._doc.createElement("style");Ni.textContent=Oi,Ut.push(Mt.appendChild(Ni))})}addHost(je){const Mt=[];this._addStylesToHost(this._stylesSet,je,Mt),this._hostNodes.set(je,Mt)}removeHost(je){const Mt=this._hostNodes.get(je);Mt&&Mt.forEach(yt),this._hostNodes.delete(je)}onStylesAdded(je){this._hostNodes.forEach((Mt,Ut)=>{this._addStylesToHost(je,Ut,Mt)})}ngOnDestroy(){this._hostNodes.forEach(je=>je.forEach(yt))}}return vt.\u0275fac=function(je){return new(je||vt)(m.LFG(c.K0))},vt.\u0275prov=m.Yz7({token:vt,factory:vt.\u0275fac}),vt})();function yt(vt){(0,c.q)().remove(vt)}const jt={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},st=/%COMP%/g;function Ye(vt,rt,je){for(let Mt=0;Mt{if("__ngUnwrap__"===rt)return vt;!1===vt(rt)&&(rt.preventDefault(),rt.returnValue=!1)}}let ke=(()=>{class vt{constructor(je,Mt,Ut){this.eventManager=je,this.sharedStylesHost=Mt,this.appId=Ut,this.rendererByCompId=new Map,this.defaultRenderer=new mt(je)}createRenderer(je,Mt){if(!je||!Mt)return this.defaultRenderer;switch(Mt.encapsulation){case m.ifc.Emulated:{let Ut=this.rendererByCompId.get(Mt.id);return Ut||(Ut=new Wt(this.eventManager,this.sharedStylesHost,Mt,this.appId),this.rendererByCompId.set(Mt.id,Ut)),Ut.applyToHost(je),Ut}case 1:case m.ifc.ShadowDom:return new ye(this.eventManager,this.sharedStylesHost,je,Mt);default:if(!this.rendererByCompId.has(Mt.id)){const Ut=Ye(Mt.id,Mt.styles,[]);this.sharedStylesHost.addStyles(Ut),this.rendererByCompId.set(Mt.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return vt.\u0275fac=function(je){return new(je||vt)(m.LFG(de),m.LFG(Ne),m.LFG(m.AFp))},vt.\u0275prov=m.Yz7({token:vt,factory:vt.\u0275fac}),vt})();class mt{constructor(rt){this.eventManager=rt,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(rt,je){return je?document.createElementNS(jt[je]||je,rt):document.createElement(rt)}createComment(rt){return document.createComment(rt)}createText(rt){return document.createTextNode(rt)}appendChild(rt,je){(bt(rt)?rt.content:rt).appendChild(je)}insertBefore(rt,je,Mt){rt&&(bt(rt)?rt.content:rt).insertBefore(je,Mt)}removeChild(rt,je){rt&&rt.removeChild(je)}selectRootElement(rt,je){let Mt="string"==typeof rt?document.querySelector(rt):rt;if(!Mt)throw new Error(`The selector "${rt}" did not match any elements`);return je||(Mt.textContent=""),Mt}parentNode(rt){return rt.parentNode}nextSibling(rt){return rt.nextSibling}setAttribute(rt,je,Mt,Ut){if(Ut){je=Ut+":"+je;const Oi=jt[Ut];Oi?rt.setAttributeNS(Oi,je,Mt):rt.setAttribute(je,Mt)}else rt.setAttribute(je,Mt)}removeAttribute(rt,je,Mt){if(Mt){const Ut=jt[Mt];Ut?rt.removeAttributeNS(Ut,je):rt.removeAttribute(`${Mt}:${je}`)}else rt.removeAttribute(je)}addClass(rt,je){rt.classList.add(je)}removeClass(rt,je){rt.classList.remove(je)}setStyle(rt,je,Mt,Ut){Ut&(m.JOm.DashCase|m.JOm.Important)?rt.style.setProperty(je,Mt,Ut&m.JOm.Important?"important":""):rt.style[je]=Mt}removeStyle(rt,je,Mt){Mt&m.JOm.DashCase?rt.style.removeProperty(je):rt.style[je]=""}setProperty(rt,je,Mt){rt[je]=Mt}setValue(rt,je){rt.nodeValue=je}listen(rt,je,Mt){return"string"==typeof rt?this.eventManager.addGlobalEventListener(rt,je,qe(Mt)):this.eventManager.addEventListener(rt,je,qe(Mt))}}function bt(vt){return"TEMPLATE"===vt.tagName&&void 0!==vt.content}class Wt extends mt{constructor(rt,je,Mt,Ut){super(rt),this.component=Mt;const Oi=Ye(Ut+"-"+Mt.id,Mt.styles,[]);je.addStyles(Oi),this.contentAttr=function xt(vt){return"_ngcontent-%COMP%".replace(st,vt)}(Ut+"-"+Mt.id),this.hostAttr=function tt(vt){return"_nghost-%COMP%".replace(st,vt)}(Ut+"-"+Mt.id)}applyToHost(rt){super.setAttribute(rt,this.hostAttr,"")}createElement(rt,je){const Mt=super.createElement(rt,je);return super.setAttribute(Mt,this.contentAttr,""),Mt}}class ye extends mt{constructor(rt,je,Mt,Ut){super(rt),this.sharedStylesHost=je,this.hostEl=Mt,this.shadowRoot=Mt.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Oi=Ye(Ut.id,Ut.styles,[]);for(let Ni=0;Ni{class vt extends Ge{constructor(je){super(je)}supports(je){return!0}addEventListener(je,Mt,Ut){return je.addEventListener(Mt,Ut,!1),()=>this.removeEventListener(je,Mt,Ut)}removeEventListener(je,Mt,Ut){return je.removeEventListener(Mt,Ut)}}return vt.\u0275fac=function(je){return new(je||vt)(m.LFG(c.K0))},vt.\u0275prov=m.Yz7({token:vt,factory:vt.\u0275fac}),vt})();const Ae=["alt","control","meta","shift"],he={"\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"},nt={alt:vt=>vt.altKey,control:vt=>vt.ctrlKey,meta:vt=>vt.metaKey,shift:vt=>vt.shiftKey};let Yt=(()=>{class vt extends Ge{constructor(je){super(je)}supports(je){return null!=vt.parseEventName(je)}addEventListener(je,Mt,Ut){const Oi=vt.parseEventName(Mt),Ni=vt.eventCallback(Oi.fullKey,Ut,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,c.q)().onAndCancel(je,Oi.domEventName,Ni))}static parseEventName(je){const Mt=je.toLowerCase().split("."),Ut=Mt.shift();if(0===Mt.length||"keydown"!==Ut&&"keyup"!==Ut)return null;const Oi=vt._normalizeKey(Mt.pop());let Ni="",Xt=Mt.indexOf("code");if(Xt>-1&&(Mt.splice(Xt,1),Ni="code."),Ae.forEach(Sn=>{const sa=Mt.indexOf(Sn);sa>-1&&(Mt.splice(sa,1),Ni+=Sn+".")}),Ni+=Oi,0!=Mt.length||0===Oi.length)return null;const Li={};return Li.domEventName=Ut,Li.fullKey=Ni,Li}static matchEventFullKeyCode(je,Mt){let Ut=he[je.key]||je.key,Oi="";return Mt.indexOf("code.")>-1&&(Ut=je.code,Oi="code."),!(null==Ut||!Ut)&&(Ut=Ut.toLowerCase()," "===Ut?Ut="space":"."===Ut&&(Ut="dot"),Ae.forEach(Ni=>{Ni!==Ut&&(0,nt[Ni])(je)&&(Oi+=Ni+".")}),Oi+=Ut,Oi===Mt)}static eventCallback(je,Mt,Ut){return Oi=>{vt.matchEventFullKeyCode(Oi,je)&&Ut.runGuarded(()=>Mt(Oi))}}static _normalizeKey(je){return"esc"===je?"escape":je}}return vt.\u0275fac=function(je){return new(je||vt)(m.LFG(c.K0))},vt.\u0275prov=m.Yz7({token:vt,factory:vt.\u0275fac}),vt})();const ki=(0,m.eFA)(m._c5,"browser",[{provide:m.Lbi,useValue:c.bD},{provide:m.g9A,useValue:function Tt(){b.makeCurrent()},multi:!0},{provide:c.K0,useFactory:function ut(){return(0,m.RDi)(document),document},deps:[]}]),dn=new m.OlP(""),ai=[{provide:m.rWj,useClass:class ce{addToWindow(rt){m.dqk.getAngularTestability=(Mt,Ut=!0)=>{const Oi=rt.findTestabilityInTree(Mt,Ut);if(null==Oi)throw new Error("Could not find testability for element.");return Oi},m.dqk.getAllAngularTestabilities=()=>rt.getAllTestabilities(),m.dqk.getAllAngularRootElements=()=>rt.getAllRootElements(),m.dqk.frameworkStabilizers||(m.dqk.frameworkStabilizers=[]),m.dqk.frameworkStabilizers.push(Mt=>{const Ut=m.dqk.getAllAngularTestabilities();let Oi=Ut.length,Ni=!1;const Xt=function(Li){Ni=Ni||Li,Oi--,0==Oi&&Mt(Ni)};Ut.forEach(function(Li){Li.whenStable(Xt)})})}findTestabilityInTree(rt,je,Mt){if(null==je)return null;const Ut=rt.getTestability(je);return null!=Ut?Ut:Mt?(0,c.q)().isShadowRoot(je)?this.findTestabilityInTree(rt,je.host,!0):this.findTestabilityInTree(rt,je.parentElement,!0):null}},deps:[]},{provide:m.lri,useClass:m.dDg,deps:[m.R0b,m.eoX,m.rWj]},{provide:m.dDg,useClass:m.dDg,deps:[m.R0b,m.eoX,m.rWj]}],ti=[{provide:m.zSh,useValue:"root"},{provide:m.qLn,useFactory:function Se(){return new m.qLn},deps:[]},{provide:Pe,useClass:Xe,multi:!0,deps:[c.K0,m.R0b,m.Lbi]},{provide:Pe,useClass:Yt,multi:!0,deps:[c.K0]},{provide:ke,useClass:ke,deps:[de,Ne,m.AFp]},{provide:m.FYo,useExisting:ke},{provide:le,useExisting:Ne},{provide:Ne,useClass:Ne,deps:[c.K0]},{provide:de,useClass:de,deps:[Pe,m.R0b]},{provide:c.JF,useClass:Oe,deps:[]},[]];let Je=(()=>{class vt{constructor(je){}static withServerTransition(je){return{ngModule:vt,providers:[{provide:m.AFp,useValue:je.appId},{provide:X,useExisting:m.AFp},ue]}}}return vt.\u0275fac=function(je){return new(je||vt)(m.LFG(dn,12))},vt.\u0275mod=m.oAB({type:vt}),vt.\u0275inj=m.cJS({providers:[...ti,...ai],imports:[c.ez,m.hGG]}),vt})(),Fe=(()=>{class vt{constructor(je){this._doc=je}getTitle(){return this._doc.title}setTitle(je){this._doc.title=je||""}}return vt.\u0275fac=function(je){return new(je||vt)(m.LFG(c.K0))},vt.\u0275prov=m.Yz7({token:vt,factory:function(je){let Mt=null;return Mt=je?new je:function et(){return new Fe((0,m.LFG)(c.K0))}(),Mt},providedIn:"root"}),vt})();"undefined"!=typeof window&&window;let ot=(()=>{class vt{}return vt.\u0275fac=function(je){return new(je||vt)},vt.\u0275prov=m.Yz7({token:vt,factory:function(je){let Mt=null;return Mt=je?new(je||vt):m.LFG(un),Mt},providedIn:"root"}),vt})(),un=(()=>{class vt extends ot{constructor(je){super(),this._doc=je}sanitize(je,Mt){if(null==Mt)return null;switch(je){case m.q3G.NONE:return Mt;case m.q3G.HTML:return(0,m.qzn)(Mt,"HTML")?(0,m.z3N)(Mt):(0,m.EiD)(this._doc,String(Mt)).toString();case m.q3G.STYLE:return(0,m.qzn)(Mt,"Style")?(0,m.z3N)(Mt):Mt;case m.q3G.SCRIPT:if((0,m.qzn)(Mt,"Script"))return(0,m.z3N)(Mt);throw new Error("unsafe value used in a script context");case m.q3G.URL:return(0,m.qzn)(Mt,"URL")?(0,m.z3N)(Mt):(0,m.mCW)(String(Mt));case m.q3G.RESOURCE_URL:if((0,m.qzn)(Mt,"ResourceURL"))return(0,m.z3N)(Mt);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${je} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(je){return(0,m.JVY)(je)}bypassSecurityTrustStyle(je){return(0,m.L6k)(je)}bypassSecurityTrustScript(je){return(0,m.eBb)(je)}bypassSecurityTrustUrl(je){return(0,m.LAX)(je)}bypassSecurityTrustResourceUrl(je){return(0,m.pB0)(je)}}return vt.\u0275fac=function(je){return new(je||vt)(m.LFG(c.K0))},vt.\u0275prov=m.Yz7({token:vt,factory:function(je){let Mt=null;return Mt=je?new je:function qt(vt){return new un(vt.get(c.K0))}(m.LFG(m.zs3)),Mt},providedIn:"root"}),vt})()},6696:(B,U,C)=>{"use strict";C.d(U,{gz:()=>$o,m2:()=>Un,F0:()=>la,rH:()=>mc,Od:()=>Is,yS:()=>ks,Bz:()=>tl,lC:()=>na});var c=C(5e3),m=C(2076),e=C(9646),b=C(1135);const k=(0,C(3888).d)(O=>function(){O(this),this.name="EmptyError",this.message="no elements in sequence"});var F=C(9841),V=C(7272),X=C(9770),J=C(9635),ue=C(2843),ce=C(9751),Oe=C(515),Pe=C(4033),de=C(7579),Ge=C(9808),le=C(4004),Ne=C(3900),yt=C(5698),jt=C(8675),st=C(9300),Te=C(5577),Le=C(4482),at=C(5403);function _e(O){return(0,Le.e)((P,S)=>{let Z=!1;P.subscribe((0,at.x)(S,Q=>{Z=!0,S.next(Q)},()=>{Z||S.next(O),S.complete()}))})}function xt(O=tt){return(0,Le.e)((P,S)=>{let Z=!1;P.subscribe((0,at.x)(S,Q=>{Z=!0,S.next(Q)},()=>Z?S.complete():S.error(O())))})}function tt(){return new k}var Ye=C(4671);function qe(O,P){const S=arguments.length>=2;return Z=>Z.pipe(O?(0,st.h)((Q,pe)=>O(Q,pe,Z)):Ye.y,(0,yt.q)(1),S?_e(P):xt(()=>new k))}var ie=C(4351),ke=C(8505),mt=C(262);function kt(O,P,S,Z,Q){return(pe,ve)=>{let Be=S,At=P,gi=0;pe.subscribe((0,at.x)(ve,ui=>{const Ti=gi++;At=Be?O(At,ui,Ti):(Be=!0,ui),Z&&ve.next(At)},Q&&(()=>{Be&&ve.next(At),ve.complete()})))}}function ri(O,P){return(0,Le.e)(kt(O,P,arguments.length>=2,!0))}function bt(O){return O<=0?()=>Oe.E:(0,Le.e)((P,S)=>{let Z=[];P.subscribe((0,at.x)(S,Q=>{Z.push(Q),O{for(const Q of Z)S.next(Q);S.complete()},void 0,()=>{Z=null}))})}function Wt(O,P){const S=arguments.length>=2;return Z=>Z.pipe(O?(0,st.h)((Q,pe)=>O(Q,pe,Z)):Ye.y,bt(1),S?_e(P):xt(()=>new k))}var ye=C(2529),Xe=C(9718),Ae=C(8746),he=C(8343),nt=C(8189),Yt=C(2313);const Lt="primary",Ai=Symbol("RouteTitle");class ei{constructor(P){this.params=P||{}}has(P){return Object.prototype.hasOwnProperty.call(this.params,P)}get(P){if(this.has(P)){const S=this.params[P];return Array.isArray(S)?S[0]:S}return null}getAll(P){if(this.has(P)){const S=this.params[P];return Array.isArray(S)?S:[S]}return[]}get keys(){return Object.keys(this.params)}}function hi(O){return new ei(O)}function ne(O,P,S){const Z=S.path.split("/");if(Z.length>O.length||"full"===S.pathMatch&&(P.hasChildren()||Z.lengthZ[pe]===Q)}return O===P}function ni(O){return Array.prototype.concat.apply([],O)}function ki(O){return O.length>0?O[O.length-1]:null}function ai(O,P){for(const S in O)O.hasOwnProperty(S)&&P(O[S],S)}function ti(O){return(0,c.CqO)(O)?O:(0,c.QGY)(O)?(0,m.D)(Promise.resolve(O)):(0,e.of)(O)}const ee={exact:function we(O,P,S){if(!xi(O.segments,P.segments)||!Gt(O.segments,P.segments,S)||O.numberOfChildren!==P.numberOfChildren)return!1;for(const Z in P.children)if(!O.children[Z]||!we(O.children[Z],P.children[Z],S))return!1;return!0},subset:ct},A={exact:function Fe(O,P){return Se(O,P)},subset:function De(O,P){return Object.keys(P).length<=Object.keys(O).length&&Object.keys(P).every(S=>ut(O[S],P[S]))},ignored:()=>!0};function et(O,P,S){return ee[S.paths](O.root,P.root,S.matrixParams)&&A[S.queryParams](O.queryParams,P.queryParams)&&!("exact"===S.fragment&&O.fragment!==P.fragment)}function ct(O,P,S){return Et(O,P,P.segments,S)}function Et(O,P,S,Z){if(O.segments.length>S.length){const Q=O.segments.slice(0,S.length);return!(!xi(Q,S)||P.hasChildren()||!Gt(Q,S,Z))}if(O.segments.length===S.length){if(!xi(O.segments,S)||!Gt(O.segments,S,Z))return!1;for(const Q in P.children)if(!O.children[Q]||!ct(O.children[Q],P.children[Q],Z))return!1;return!0}{const Q=S.slice(0,O.segments.length),pe=S.slice(O.segments.length);return!!(xi(O.segments,Q)&&Gt(O.segments,Q,Z)&&O.children[Lt])&&Et(O.children[Lt],P,pe,Z)}}function Gt(O,P,S){return P.every((Z,Q)=>A[S](O[Q].parameters,Z.parameters))}class _i{constructor(P,S,Z){this.root=P,this.queryParams=S,this.fragment=Z}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=hi(this.queryParams)),this._queryParamMap}toString(){return it.serialize(this)}}class di{constructor(P,S){this.segments=P,this.children=S,this.parent=null,ai(S,(Z,Q)=>Z.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Qe(this)}}class zt{constructor(P,S){this.path=P,this.parameters=S}get parameterMap(){return this._parameterMap||(this._parameterMap=hi(this.parameters)),this._parameterMap}toString(){return It(this)}}function xi(O,P){return O.length===P.length&&O.every((S,Z)=>S.path===P[Z].path)}let Hi=(()=>{class O{}return O.\u0275fac=function(S){return new(S||O)},O.\u0275prov=c.Yz7({token:O,factory:function(){return new ht},providedIn:"root"}),O})();class ht{parse(P){const S=new rt(P);return new _i(S.parseRootSegment(),S.parseQueryParams(),S.parseFragment())}serialize(P){const S=`/${Re(P.root,!0)}`,Z=function Ee(O){const P=Object.keys(O).map(S=>{const Z=O[S];return Array.isArray(Z)?Z.map(Q=>`${Ie(S)}=${Ie(Q)}`).join("&"):`${Ie(S)}=${Ie(Z)}`}).filter(S=>!!S);return P.length?`?${P.join("&")}`:""}(P.queryParams);return`${S}${Z}${"string"==typeof P.fragment?`#${function _t(O){return encodeURI(O)}(P.fragment)}`:""}`}}const it=new ht;function Qe(O){return O.segments.map(P=>It(P)).join("/")}function Re(O,P){if(!O.hasChildren())return Qe(O);if(P){const S=O.children[Lt]?Re(O.children[Lt],!1):"",Z=[];return ai(O.children,(Q,pe)=>{pe!==Lt&&Z.push(`${pe}:${Re(Q,!1)}`)}),Z.length>0?`${S}(${Z.join("//")})`:S}{const S=function $n(O,P){let S=[];return ai(O.children,(Z,Q)=>{Q===Lt&&(S=S.concat(P(Z,Q)))}),ai(O.children,(Z,Q)=>{Q!==Lt&&(S=S.concat(P(Z,Q)))}),S}(O,(Z,Q)=>Q===Lt?[Re(O.children[Lt],!1)]:[`${Q}:${Re(Z,!1)}`]);return 1===Object.keys(O.children).length&&null!=O.children[Lt]?`${Qe(O)}/${S[0]}`:`${Qe(O)}/(${S.join("//")})`}}function We(O){return encodeURIComponent(O).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ie(O){return We(O).replace(/%3B/gi,";")}function Dt(O){return We(O).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function si(O){return decodeURIComponent(O)}function Vi(O){return si(O.replace(/\+/g,"%20"))}function It(O){return`${Dt(O.path)}${function ci(O){return Object.keys(O).map(P=>`;${Dt(P)}=${Dt(O[P])}`).join("")}(O.parameters)}`}const pt=/^[^\/()?;=#]+/;function ot(O){const P=O.match(pt);return P?P[0]:""}const qt=/^[^=?&#]+/,ln=/^[^&#]+/;class rt{constructor(P){this.url=P,this.remaining=P}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new di([],{}):new di([],this.parseChildren())}parseQueryParams(){const P={};if(this.consumeOptional("?"))do{this.parseQueryParam(P)}while(this.consumeOptional("&"));return P}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const P=[];for(this.peekStartsWith("(")||P.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),P.push(this.parseSegment());let S={};this.peekStartsWith("/(")&&(this.capture("/"),S=this.parseParens(!0));let Z={};return this.peekStartsWith("(")&&(Z=this.parseParens(!1)),(P.length>0||Object.keys(S).length>0)&&(Z[Lt]=new di(P,S)),Z}parseSegment(){const P=ot(this.remaining);if(""===P&&this.peekStartsWith(";"))throw new c.vHH(4009,!1);return this.capture(P),new zt(si(P),this.parseMatrixParams())}parseMatrixParams(){const P={};for(;this.consumeOptional(";");)this.parseParam(P);return P}parseParam(P){const S=ot(this.remaining);if(!S)return;this.capture(S);let Z="";if(this.consumeOptional("=")){const Q=ot(this.remaining);Q&&(Z=Q,this.capture(Z))}P[si(S)]=si(Z)}parseQueryParam(P){const S=function un(O){const P=O.match(qt);return P?P[0]:""}(this.remaining);if(!S)return;this.capture(S);let Z="";if(this.consumeOptional("=")){const ve=function vt(O){const P=O.match(ln);return P?P[0]:""}(this.remaining);ve&&(Z=ve,this.capture(Z))}const Q=Vi(S),pe=Vi(Z);if(P.hasOwnProperty(Q)){let ve=P[Q];Array.isArray(ve)||(ve=[ve],P[Q]=ve),ve.push(pe)}else P[Q]=pe}parseParens(P){const S={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Z=ot(this.remaining),Q=this.remaining[Z.length];if("/"!==Q&&")"!==Q&&";"!==Q)throw new c.vHH(4010,!1);let pe;Z.indexOf(":")>-1?(pe=Z.slice(0,Z.indexOf(":")),this.capture(pe),this.capture(":")):P&&(pe=Lt);const ve=this.parseChildren();S[pe]=1===Object.keys(ve).length?ve[Lt]:new di([],ve),this.consumeOptional("//")}return S}peekStartsWith(P){return this.remaining.startsWith(P)}consumeOptional(P){return!!this.peekStartsWith(P)&&(this.remaining=this.remaining.substring(P.length),!0)}capture(P){if(!this.consumeOptional(P))throw new c.vHH(4011,!1)}}function je(O){return O.segments.length>0?new di([],{[Lt]:O}):O}function Mt(O){const P={};for(const Z of Object.keys(O.children)){const pe=Mt(O.children[Z]);(pe.segments.length>0||pe.hasChildren())&&(P[Z]=pe)}return function Ut(O){if(1===O.numberOfChildren&&O.children[Lt]){const P=O.children[Lt];return new di(O.segments.concat(P.segments),P.children)}return O}(new di(O.segments,P))}function Oi(O){return O instanceof _i}function sa(O,P,S,Z,Q){var pe;if(0===S.length)return Sa(P.root,P.root,P.root,Z,Q);const Be=function yo(O){if("string"==typeof O[0]&&1===O.length&&"/"===O[0])return new Fo(!0,0,O);let P=0,S=!1;const Z=O.reduce((Q,pe,ve)=>{if("object"==typeof pe&&null!=pe){if(pe.outlets){const Be={};return ai(pe.outlets,(At,gi)=>{Be[gi]="string"==typeof At?At.split("/"):At}),[...Q,{outlets:Be}]}if(pe.segmentPath)return[...Q,pe.segmentPath]}return"string"!=typeof pe?[...Q,pe]:0===ve?(pe.split("/").forEach((Be,At)=>{0==At&&"."===Be||(0==At&&""===Be?S=!0:".."===Be?P++:""!=Be&&Q.push(Be))}),Q):[...Q,pe]},[]);return new Fo(S,P,Z)}(S);return Be.toRoot()?Sa(P.root,P.root,new di([],{}),Z,Q):function At(ui){var Ti;const mn=function yn(O,P,S,Z){if(O.isAbsolute)return new Qi(P.root,!0,0);if(-1===Z)return new Qi(S,S===P.root,0);return function $i(O,P,S){let Z=O,Q=P,pe=S;for(;pe>Q;){if(pe-=Q,Z=Z.parent,!Z)throw new c.vHH(4005,!1);Q=Z.segments.length}return new Qi(Z,!1,Q-pe)}(S,Z+(za(O.commands[0])?0:1),O.numberOfDoubleDots)}(Be,P,null===(Ti=O.snapshot)||void 0===Ti?void 0:Ti._urlSegment,ui),Pn=mn.processChildren?Zn(mn.segmentGroup,mn.index,Be.commands):ga(mn.segmentGroup,mn.index,Be.commands);return Sa(P.root,mn.segmentGroup,Pn,Z,Q)}(null===(pe=O.snapshot)||void 0===pe?void 0:pe._lastPathIndex)}function za(O){return"object"==typeof O&&null!=O&&!O.outlets&&!O.segmentPath}function ya(O){return"object"==typeof O&&null!=O&&O.outlets}function Sa(O,P,S,Z,Q){let ve,pe={};Z&&ai(Z,(At,gi)=>{pe[gi]=Array.isArray(At)?At.map(ui=>`${ui}`):`${At}`}),ve=O===P?S:cn(O,P,S);const Be=je(Mt(ve));return new _i(Be,pe,Q)}function cn(O,P,S){const Z={};return ai(O.children,(Q,pe)=>{Z[pe]=Q===P?S:cn(Q,P,S)}),new di(O.segments,Z)}class Fo{constructor(P,S,Z){if(this.isAbsolute=P,this.numberOfDoubleDots=S,this.commands=Z,P&&Z.length>0&&za(Z[0]))throw new c.vHH(4003,!1);const Q=Z.find(ya);if(Q&&Q!==ki(Z))throw new c.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Qi{constructor(P,S,Z){this.segmentGroup=P,this.processChildren=S,this.index=Z}}function ga(O,P,S){if(O||(O=new di([],{})),0===O.segments.length&&O.hasChildren())return Zn(O,P,S);const Z=function To(O,P,S){let Z=0,Q=P;const pe={match:!1,pathIndex:0,commandIndex:0};for(;Q=S.length)return pe;const ve=O.segments[Q],Be=S[Z];if(ya(Be))break;const At=`${Be}`,gi=Z0&&void 0===At)break;if(At&&gi&&"object"==typeof gi&&void 0===gi.outlets){if(!Yn(At,gi,ve))return pe;Z+=2}else{if(!Yn(At,{},ve))return pe;Z++}Q++}return{match:!0,pathIndex:Q,commandIndex:Z}}(O,P,S),Q=S.slice(Z.commandIndex);if(Z.match&&Z.pathIndex{"string"==typeof pe&&(pe=[pe]),null!==pe&&(Q[ve]=ga(O.children[ve],P,pe))}),ai(O.children,(pe,ve)=>{void 0===Z[ve]&&(Q[ve]=pe)}),new di(O.segments,Q)}}function Ia(O,P,S){const Z=O.segments.slice(0,P);let Q=0;for(;Q{"string"==typeof S&&(S=[S]),null!==S&&(P[Z]=Ia(new di([],{}),0,S))}),P}function No(O){const P={};return ai(O,(S,Z)=>P[Z]=`${S}`),P}function Yn(O,P,S){return O==S.path&&Se(P,S.parameters)}class Ba{constructor(P,S){this.id=P,this.url=S}}class sr extends Ba{constructor(P,S,Z="imperative",Q=null){super(P,S),this.type=0,this.navigationTrigger=Z,this.restoredState=Q}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Un extends Ba{constructor(P,S,Z){super(P,S),this.urlAfterRedirects=Z,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Aa extends Ba{constructor(P,S,Z,Q){super(P,S),this.reason=Z,this.code=Q,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Fr extends Ba{constructor(P,S,Z,Q){super(P,S),this.error=Z,this.target=Q,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ts extends Ba{constructor(P,S,Z,Q){super(P,S),this.urlAfterRedirects=Z,this.state=Q,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Bo extends Ba{constructor(P,S,Z,Q){super(P,S),this.urlAfterRedirects=Z,this.state=Q,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ka extends Ba{constructor(P,S,Z,Q,pe){super(P,S),this.urlAfterRedirects=Z,this.state=Q,this.shouldActivate=pe,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Nr extends Ba{constructor(P,S,Z,Q){super(P,S),this.urlAfterRedirects=Z,this.state=Q,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class lr extends Ba{constructor(P,S,Z,Q){super(P,S),this.urlAfterRedirects=Z,this.state=Q,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ya{constructor(P){this.route=P,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Br{constructor(P){this.route=P,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class rs{constructor(P){this.snapshot=P,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Nn{constructor(P){this.snapshot=P,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ta{constructor(P){this.snapshot=P,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Mo{constructor(P){this.snapshot=P,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class an{constructor(P,S,Z){this.routerEvent=P,this.position=S,this.anchor=Z,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Ks{constructor(P){this._root=P}get root(){return this._root.value}parent(P){const S=this.pathFromRoot(P);return S.length>1?S[S.length-2]:null}children(P){const S=Ms(P,this._root);return S?S.children.map(Z=>Z.value):[]}firstChild(P){const S=Ms(P,this._root);return S&&S.children.length>0?S.children[0].value:null}siblings(P){const S=js(P,this._root);return S.length<2?[]:S[S.length-2].children.map(Q=>Q.value).filter(Q=>Q!==P)}pathFromRoot(P){return js(P,this._root).map(S=>S.value)}}function Ms(O,P){if(O===P.value)return P;for(const S of P.children){const Z=Ms(O,S);if(Z)return Z}return null}function js(O,P){if(O===P.value)return[P];for(const S of P.children){const Z=js(O,S);if(Z.length)return Z.unshift(P),Z}return[]}class Do{constructor(P,S){this.value=P,this.children=S}toString(){return`TreeNode(${this.value})`}}function Ur(O){const P={};return O&&O.children.forEach(S=>P[S.value.outlet]=S),P}class Ws extends Ks{constructor(P,S){super(P),this.snapshot=S,Uo(this,P)}toString(){return this.snapshot.toString()}}function qs(O,P){const S=function Zr(O,P){const ve=new Tr([],{},{},"",{},Lt,P,null,O.root,-1,{});return new Xa("",new Do(ve,[]))}(O,P),Z=new b.X([new zt("",{})]),Q=new b.X({}),pe=new b.X({}),ve=new b.X({}),Be=new b.X(""),At=new $o(Z,Q,ve,Be,pe,Lt,P,S.root);return At.snapshot=S.root,new Ws(new Do(At,[]),S)}class $o{constructor(P,S,Z,Q,pe,ve,Be,At){var gi,ui;this.url=P,this.params=S,this.queryParams=Z,this.fragment=Q,this.data=pe,this.outlet=ve,this.component=Be,this.title=null!==(ui=null===(gi=this.data)||void 0===gi?void 0:gi.pipe((0,le.U)(Ti=>Ti[Ai])))&&void 0!==ui?ui:(0,e.of)(void 0),this._futureSnapshot=At}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,le.U)(P=>hi(P)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,le.U)(P=>hi(P)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function cr(O,P="emptyOnly"){const S=O.pathFromRoot;let Z=0;if("always"!==P)for(Z=S.length-1;Z>=1;){const Q=S[Z],pe=S[Z-1];if(Q.routeConfig&&""===Q.routeConfig.path)Z--;else{if(pe.component)break;Z--}}return function lc(O){return O.reduce((P,S)=>{var Z;return{params:Object.assign(Object.assign({},P.params),S.params),data:Object.assign(Object.assign({},P.data),S.data),resolve:Object.assign(Object.assign(Object.assign(Object.assign({},S.data),P.resolve),null===(Z=S.routeConfig)||void 0===Z?void 0:Z.data),S._resolvedData)}},{params:{},data:{},resolve:{}})}(S.slice(Z))}class Tr{constructor(P,S,Z,Q,pe,ve,Be,At,gi,ui,Ti,mn){var Pn;this.url=P,this.params=S,this.queryParams=Z,this.fragment=Q,this.data=pe,this.outlet=ve,this.component=Be,this.title=null===(Pn=this.data)||void 0===Pn?void 0:Pn[Ai],this.routeConfig=At,this._urlSegment=gi,this._lastPathIndex=ui,this._correctedLastPathIndex=null!=mn?mn:ui,this._resolve=Ti}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=hi(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=hi(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Z=>Z.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Xa extends Ks{constructor(P,S){super(S),this.url=P,Uo(this,S)}toString(){return ss(this._root)}}function Uo(O,P){P.value._routerState=O,P.children.forEach(S=>Uo(O,S))}function ss(O){const P=O.children.length>0?` { ${O.children.map(ss).join(", ")} } `:"";return`${O.value}${P}`}function qr(O){if(O.snapshot){const P=O.snapshot,S=O._futureSnapshot;O.snapshot=S,Se(P.queryParams,S.queryParams)||O.queryParams.next(S.queryParams),P.fragment!==S.fragment&&O.fragment.next(S.fragment),Se(P.params,S.params)||O.params.next(S.params),function Tt(O,P){if(O.length!==P.length)return!1;for(let S=0;SSe(S.parameters,P[Z].parameters))}(O.url,P.url);return S&&!(!O.parent!=!P.parent)&&(!O.parent||ls(O.parent,P.parent))}function Mr(O,P,S){if(S&&O.shouldReuseRoute(P.value,S.value.snapshot)){const Z=S.value;Z._futureSnapshot=P.value;const Q=function Ha(O,P,S){return P.children.map(Z=>{for(const Q of S.children)if(O.shouldReuseRoute(Z.value,Q.value.snapshot))return Mr(O,Z,Q);return Mr(O,Z)})}(O,P,S);return new Do(Z,Q)}{if(O.shouldAttach(P.value)){const pe=O.retrieve(P.value);if(null!==pe){const ve=pe.route;return ve.value._futureSnapshot=P.value,ve.children=P.children.map(Be=>Mr(O,Be)),ve}}const Z=function zo(O){return new $o(new b.X(O.url),new b.X(O.params),new b.X(O.queryParams),new b.X(O.fragment),new b.X(O.data),O.outlet,O.component,O)}(P.value),Q=P.children.map(pe=>Mr(O,pe));return new Do(Z,Q)}}const Jr="ngNavigationCancelingError";function Dr(O,P){const{redirectTo:S,navigationBehaviorOptions:Z}=Oi(P)?{redirectTo:P,navigationBehaviorOptions:void 0}:P,Q=Ds(!1,0,P);return Q.url=S,Q.navigationBehaviorOptions=Z,Q}function Ds(O,P,S){const Z=new Error("NavigationCancelingError: "+(O||""));return Z[Jr]=!0,Z.cancellationCode=P,S&&(Z.url=S),Z}function La(O){return Pa(O)&&Oi(O.url)}function Pa(O){return O&&O[Jr]}class dr{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Yr,this.attachRef=null}}let Yr=(()=>{class O{constructor(){this.contexts=new Map}onChildOutletCreated(S,Z){const Q=this.getOrCreateContext(S);Q.outlet=Z,this.contexts.set(S,Q)}onChildOutletDestroyed(S){const Z=this.getContext(S);Z&&(Z.outlet=null,Z.attachRef=null)}onOutletDeactivated(){const S=this.contexts;return this.contexts=new Map,S}onOutletReAttached(S){this.contexts=S}getOrCreateContext(S){let Z=this.getContext(S);return Z||(Z=new dr,this.contexts.set(S,Z)),Z}getContext(S){return this.contexts.get(S)||null}}return O.\u0275fac=function(S){return new(S||O)},O.\u0275prov=c.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})();const Qo=!1;let na=(()=>{class O{constructor(S,Z,Q,pe,ve){this.parentContexts=S,this.location=Z,this.changeDetector=pe,this.environmentInjector=ve,this.activated=null,this._activatedRoute=null,this.activateEvents=new c.vpe,this.deactivateEvents=new c.vpe,this.attachEvents=new c.vpe,this.detachEvents=new c.vpe,this.name=Q||Lt,S.onChildOutletCreated(this.name,this)}ngOnDestroy(){var S;(null===(S=this.parentContexts.getContext(this.name))||void 0===S?void 0:S.outlet)===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const S=this.parentContexts.getContext(this.name);S&&S.route&&(S.attachRef?this.attach(S.attachRef,S.route):this.activateWith(S.route,S.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new c.vHH(4012,Qo);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new c.vHH(4012,Qo);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new c.vHH(4012,Qo);this.location.detach();const S=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(S.instance),S}attach(S,Z){this.activated=S,this._activatedRoute=Z,this.location.insert(S.hostView),this.attachEvents.emit(S.instance)}deactivate(){if(this.activated){const S=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(S)}}activateWith(S,Z){if(this.isActivated)throw new c.vHH(4013,Qo);this._activatedRoute=S;const Q=this.location,ve=S._futureSnapshot.component,Be=this.parentContexts.getOrCreateContext(this.name).children,At=new Hn(S,Be,Q.injector);if(Z&&function $r(O){return!!O.resolveComponentFactory}(Z)){const gi=Z.resolveComponentFactory(ve);this.activated=Q.createComponent(gi,Q.length,At)}else this.activated=Q.createComponent(ve,{index:Q.length,injector:At,environmentInjector:null!=Z?Z:this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return O.\u0275fac=function(S){return new(S||O)(c.Y36(Yr),c.Y36(c.s_b),c.$8M("name"),c.Y36(c.sBO),c.Y36(c.lqb))},O.\u0275dir=c.lG2({type:O,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),O})();class Hn{constructor(P,S,Z){this.route=P,this.childContexts=S,this.parent=Z}get(P,S){return P===$o?this.route:P===Yr?this.childContexts:this.parent.get(P,S)}}let Fl=(()=>{class O{}return O.\u0275fac=function(S){return new(S||O)},O.\u0275cmp=c.Xpm({type:O,selectors:[["ng-component"]],standalone:!0,features:[c.jDz],decls:1,vars:0,template:function(S,Z){1&S&&c._UZ(0,"router-outlet")},dependencies:[na],encapsulation:2}),O})();function ur(O,P){var S;return O.providers&&!O._injector&&(O._injector=(0,c.MMx)(O.providers,P,`Route: ${O.path}`)),null!==(S=O._injector)&&void 0!==S?S:P}function to(O){const P=O.children&&O.children.map(to),S=P?Object.assign(Object.assign({},O),{children:P}):Object.assign({},O);return!S.component&&!S.loadComponent&&(P||S.loadChildren)&&S.outlet&&S.outlet!==Lt&&(S.component=Fl),S}function Ra(O){return O.outlet||Lt}function Hr(O,P){const S=O.filter(Z=>Ra(Z)===P);return S.push(...O.filter(Z=>Ra(Z)!==P)),S}function on(O){var P;if(!O)return null;if(null!==(P=O.routeConfig)&&void 0!==P&&P._injector)return O.routeConfig._injector;for(let S=O.parent;S;S=S.parent){const Z=S.routeConfig;if(null!=Z&&Z._loadedInjector)return Z._loadedInjector;if(null!=Z&&Z._injector)return Z._injector}return null}class Es{constructor(P,S,Z,Q){this.routeReuseStrategy=P,this.futureState=S,this.currState=Z,this.forwardEvent=Q}activate(P){const S=this.futureState._root,Z=this.currState?this.currState._root:null;this.deactivateChildRoutes(S,Z,P),qr(this.futureState.root),this.activateChildRoutes(S,Z,P)}deactivateChildRoutes(P,S,Z){const Q=Ur(S);P.children.forEach(pe=>{const ve=pe.value.outlet;this.deactivateRoutes(pe,Q[ve],Z),delete Q[ve]}),ai(Q,(pe,ve)=>{this.deactivateRouteAndItsChildren(pe,Z)})}deactivateRoutes(P,S,Z){const Q=P.value,pe=S?S.value:null;if(Q===pe)if(Q.component){const ve=Z.getContext(Q.outlet);ve&&this.deactivateChildRoutes(P,S,ve.children)}else this.deactivateChildRoutes(P,S,Z);else pe&&this.deactivateRouteAndItsChildren(S,Z)}deactivateRouteAndItsChildren(P,S){P.value.component&&this.routeReuseStrategy.shouldDetach(P.value.snapshot)?this.detachAndStoreRouteSubtree(P,S):this.deactivateRouteAndOutlet(P,S)}detachAndStoreRouteSubtree(P,S){const Z=S.getContext(P.value.outlet),Q=Z&&P.value.component?Z.children:S,pe=Ur(P);for(const ve of Object.keys(pe))this.deactivateRouteAndItsChildren(pe[ve],Q);if(Z&&Z.outlet){const ve=Z.outlet.detach(),Be=Z.children.onOutletDeactivated();this.routeReuseStrategy.store(P.value.snapshot,{componentRef:ve,route:P,contexts:Be})}}deactivateRouteAndOutlet(P,S){const Z=S.getContext(P.value.outlet),Q=Z&&P.value.component?Z.children:S,pe=Ur(P);for(const ve of Object.keys(pe))this.deactivateRouteAndItsChildren(pe[ve],Q);Z&&Z.outlet&&(Z.outlet.deactivate(),Z.children.onOutletDeactivated(),Z.attachRef=null,Z.resolver=null,Z.route=null)}activateChildRoutes(P,S,Z){const Q=Ur(S);P.children.forEach(pe=>{this.activateRoutes(pe,Q[pe.value.outlet],Z),this.forwardEvent(new Mo(pe.value.snapshot))}),P.children.length&&this.forwardEvent(new Nn(P.value.snapshot))}activateRoutes(P,S,Z){var Q;const pe=P.value,ve=S?S.value:null;if(qr(pe),pe===ve)if(pe.component){const Be=Z.getOrCreateContext(pe.outlet);this.activateChildRoutes(P,S,Be.children)}else this.activateChildRoutes(P,S,Z);else if(pe.component){const Be=Z.getOrCreateContext(pe.outlet);if(this.routeReuseStrategy.shouldAttach(pe.snapshot)){const At=this.routeReuseStrategy.retrieve(pe.snapshot);this.routeReuseStrategy.store(pe.snapshot,null),Be.children.onOutletReAttached(At.contexts),Be.attachRef=At.componentRef,Be.route=At.route.value,Be.outlet&&Be.outlet.attach(At.componentRef,At.route.value),qr(At.route.value),this.activateChildRoutes(P,null,Be.children)}else{const At=on(pe.snapshot),gi=null!==(Q=null==At?void 0:At.get(c._Vd))&&void 0!==Q?Q:null;Be.attachRef=null,Be.route=pe,Be.resolver=gi,Be.injector=At,Be.outlet&&Be.outlet.activateWith(pe,Be.injector),this.activateChildRoutes(P,null,Be.children)}}else this.activateChildRoutes(P,null,Z)}}class ws{constructor(P){this.path=P,this.route=this.path[this.path.length-1]}}class _r{constructor(P,S){this.component=P,this.route=S}}function Er(O,P,S){const Z=O._root;return wr(Z,P?P._root:null,S,[Z.value])}function Qr(O,P){const S=Symbol(),Z=P.get(O,S);return Z===S?"function"!=typeof O||(0,c.Z0I)(O)?P.get(O):O:Z}function wr(O,P,S,Z,Q={canDeactivateChecks:[],canActivateChecks:[]}){const pe=Ur(P);return O.children.forEach(ve=>{(function Qt(O,P,S,Z,Q={canDeactivateChecks:[],canActivateChecks:[]}){const pe=O.value,ve=P?P.value:null,Be=S?S.getContext(O.value.outlet):null;if(ve&&pe.routeConfig===ve.routeConfig){const At=function Tn(O,P,S){if("function"==typeof S)return S(O,P);switch(S){case"pathParamsChange":return!xi(O.url,P.url);case"pathParamsOrQueryParamsChange":return!xi(O.url,P.url)||!Se(O.queryParams,P.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ls(O,P)||!Se(O.queryParams,P.queryParams);default:return!ls(O,P)}}(ve,pe,pe.routeConfig.runGuardsAndResolvers);At?Q.canActivateChecks.push(new ws(Z)):(pe.data=ve.data,pe._resolvedData=ve._resolvedData),wr(O,P,pe.component?Be?Be.children:null:S,Z,Q),At&&Be&&Be.outlet&&Be.outlet.isActivated&&Q.canDeactivateChecks.push(new _r(Be.outlet.component,ve))}else ve&&er(P,Be,Q),Q.canActivateChecks.push(new ws(Z)),wr(O,null,pe.component?Be?Be.children:null:S,Z,Q)})(ve,pe[ve.value.outlet],S,Z.concat([ve.value]),Q),delete pe[ve.value.outlet]}),ai(pe,(ve,Be)=>er(ve,S.getContext(Be),Q)),Q}function er(O,P,S){const Z=Ur(O),Q=O.value;ai(Z,(pe,ve)=>{er(pe,Q.component?P?P.children.getContext(ve):null:P,S)}),S.canDeactivateChecks.push(new _r(Q.component&&P&&P.outlet&&P.outlet.isActivated?P.outlet.component:null,Q))}function pr(O){return"function"==typeof O}function Sr(O){return O instanceof k||"EmptyError"===(null==O?void 0:O.name)}const mo=Symbol("INITIAL_VALUE");function Vn(){return(0,Ne.w)(O=>(0,F.a)(O.map(P=>P.pipe((0,yt.q)(1),(0,jt.O)(mo)))).pipe((0,le.U)(P=>{for(const S of P)if(!0!==S){if(S===mo)return mo;if(!1===S||S instanceof _i)return S}return!0}),(0,st.h)(P=>P!==mo),(0,yt.q)(1)))}function Lr(O){return(0,J.z)((0,ke.b)(P=>{if(Oi(P))throw Dr(0,P)}),(0,le.U)(P=>!0===P))}const cs={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function io(O,P,S,Z,Q){const pe=no(O,P,S);return pe.matched?function zs(O,P,S,Z){const Q=P.canMatch;if(!Q||0===Q.length)return(0,e.of)(!0);const pe=Q.map(ve=>{const Be=Qr(ve,O);return ti(function Bt(O){return O&&pr(O.canMatch)}(Be)?Be.canMatch(P,S):O.runInContext(()=>Be(P,S)))});return(0,e.of)(pe).pipe(Vn(),Lr())}(Z=ur(P,Z),P,S).pipe((0,le.U)(ve=>!0===ve?pe:Object.assign({},cs))):(0,e.of)(pe)}function no(O,P,S){var Z;if(""===P.path)return"full"===P.pathMatch&&(O.hasChildren()||S.length>0)?Object.assign({},cs):{matched:!0,consumedSegments:[],remainingSegments:S,parameters:{},positionalParamSegments:{}};const pe=(P.matcher||ne)(S,O,P);if(!pe)return Object.assign({},cs);const ve={};ai(pe.posParams,(At,gi)=>{ve[gi]=At.path});const Be=pe.consumed.length>0?Object.assign(Object.assign({},ve),pe.consumed[pe.consumed.length-1].parameters):ve;return{matched:!0,consumedSegments:pe.consumed,remainingSegments:S.slice(pe.consumed.length),parameters:Be,positionalParamSegments:null!==(Z=pe.posParams)&&void 0!==Z?Z:{}}}function hr(O,P,S,Z,Q="corrected"){if(S.length>0&&function Ss(O,P,S){return S.some(Z=>se(O,P,Z)&&Ra(Z)!==Lt)}(O,S,Z)){const ve=new di(P,function Zc(O,P,S,Z){const Q={};Q[Lt]=Z,Z._sourceSegment=O,Z._segmentIndexShift=P.length;for(const pe of S)if(""===pe.path&&Ra(pe)!==Lt){const ve=new di([],{});ve._sourceSegment=O,ve._segmentIndexShift=P.length,Q[Ra(pe)]=ve}return Q}(O,P,Z,new di(S,O.children)));return ve._sourceSegment=O,ve._segmentIndexShift=P.length,{segmentGroup:ve,slicedSegments:[]}}if(0===S.length&&function K(O,P,S){return S.some(Z=>se(O,P,Z))}(O,S,Z)){const ve=new di(O.segments,function Qs(O,P,S,Z,Q,pe){const ve={};for(const Be of Z)if(se(O,S,Be)&&!Q[Ra(Be)]){const At=new di([],{});At._sourceSegment=O,At._segmentIndexShift="legacy"===pe?O.segments.length:P.length,ve[Ra(Be)]=At}return Object.assign(Object.assign({},Q),ve)}(O,P,S,Z,O.children,Q));return ve._sourceSegment=O,ve._segmentIndexShift=P.length,{segmentGroup:ve,slicedSegments:S}}const pe=new di(O.segments,O.children);return pe._sourceSegment=O,pe._segmentIndexShift=P.length,{segmentGroup:pe,slicedSegments:S}}function se(O,P,S){return(!(O.hasChildren()||P.length>0)||"full"!==S.pathMatch)&&""===S.path}function W(O,P,S,Z){return!!(Ra(O)===Z||Z!==Lt&&se(P,S,O))&&("**"===O.path||no(P,O,S).matched)}function ge(O,P,S){return 0===P.length&&!O.children[S]}const ze=!1;class Pt{constructor(P){this.segmentGroup=P||null}}class Ht{constructor(P){this.urlTree=P}}function wi(O){return(0,ue._)(new Pt(O))}function Bn(O){return(0,ue._)(new Ht(O))}class ka{constructor(P,S,Z,Q,pe){this.injector=P,this.configLoader=S,this.urlSerializer=Z,this.urlTree=Q,this.config=pe,this.allowRedirects=!0}apply(){const P=hr(this.urlTree.root,[],[],this.config).segmentGroup,S=new di(P.segments,P.children);return this.expandSegmentGroup(this.injector,this.config,S,Lt).pipe((0,le.U)(pe=>this.createUrlTree(Mt(pe),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,mt.K)(pe=>{if(pe instanceof Ht)return this.allowRedirects=!1,this.match(pe.urlTree);throw pe instanceof Pt?this.noMatchError(pe):pe}))}match(P){return this.expandSegmentGroup(this.injector,this.config,P.root,Lt).pipe((0,le.U)(Q=>this.createUrlTree(Mt(Q),P.queryParams,P.fragment))).pipe((0,mt.K)(Q=>{throw Q instanceof Pt?this.noMatchError(Q):Q}))}noMatchError(P){return new c.vHH(4002,ze)}createUrlTree(P,S,Z){const Q=je(P);return new _i(Q,S,Z)}expandSegmentGroup(P,S,Z,Q){return 0===Z.segments.length&&Z.hasChildren()?this.expandChildren(P,S,Z).pipe((0,le.U)(pe=>new di([],pe))):this.expandSegment(P,Z,S,Z.segments,Q,!0)}expandChildren(P,S,Z){const Q=[];for(const pe of Object.keys(Z.children))"primary"===pe?Q.unshift(pe):Q.push(pe);return(0,m.D)(Q).pipe((0,ie.b)(pe=>{const ve=Z.children[pe],Be=Hr(S,pe);return this.expandSegmentGroup(P,Be,ve,pe).pipe((0,le.U)(At=>({segment:At,outlet:pe})))}),ri((pe,ve)=>(pe[ve.outlet]=ve.segment,pe),{}),Wt())}expandSegment(P,S,Z,Q,pe,ve){return(0,m.D)(Z).pipe((0,ie.b)(Be=>this.expandSegmentAgainstRoute(P,S,Z,Be,Q,pe,ve).pipe((0,mt.K)(gi=>{if(gi instanceof Pt)return(0,e.of)(null);throw gi}))),qe(Be=>!!Be),(0,mt.K)((Be,At)=>{if(Sr(Be))return ge(S,Q,pe)?(0,e.of)(new di([],{})):wi(S);throw Be}))}expandSegmentAgainstRoute(P,S,Z,Q,pe,ve,Be){return W(Q,S,pe,ve)?void 0===Q.redirectTo?this.matchSegmentAgainstRoute(P,S,Q,pe,ve):Be&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(P,S,Z,Q,pe,ve):wi(S):wi(S)}expandSegmentAgainstRouteUsingRedirect(P,S,Z,Q,pe,ve){return"**"===Q.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(P,Z,Q,ve):this.expandRegularSegmentAgainstRouteUsingRedirect(P,S,Z,Q,pe,ve)}expandWildCardWithParamsAgainstRouteUsingRedirect(P,S,Z,Q){const pe=this.applyRedirectCommands([],Z.redirectTo,{});return Z.redirectTo.startsWith("/")?Bn(pe):this.lineralizeSegments(Z,pe).pipe((0,Te.z)(ve=>{const Be=new di(ve,{});return this.expandSegment(P,Be,S,ve,Q,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(P,S,Z,Q,pe,ve){const{matched:Be,consumedSegments:At,remainingSegments:gi,positionalParamSegments:ui}=no(S,Q,pe);if(!Be)return wi(S);const Ti=this.applyRedirectCommands(At,Q.redirectTo,ui);return Q.redirectTo.startsWith("/")?Bn(Ti):this.lineralizeSegments(Q,Ti).pipe((0,Te.z)(mn=>this.expandSegment(P,S,Z,mn.concat(gi),ve,!1)))}matchSegmentAgainstRoute(P,S,Z,Q,pe){return"**"===Z.path?(P=ur(Z,P),Z.loadChildren?(Z._loadedRoutes?(0,e.of)({routes:Z._loadedRoutes,injector:Z._loadedInjector}):this.configLoader.loadChildren(P,Z)).pipe((0,le.U)(Be=>(Z._loadedRoutes=Be.routes,Z._loadedInjector=Be.injector,new di(Q,{})))):(0,e.of)(new di(Q,{}))):io(S,Z,Q,P).pipe((0,Ne.w)(({matched:ve,consumedSegments:Be,remainingSegments:At})=>{var gi;return ve?(P=null!==(gi=Z._injector)&&void 0!==gi?gi:P,this.getChildConfig(P,Z,Q).pipe((0,Te.z)(Ti=>{var mn;const Pn=null!==(mn=Ti.injector)&&void 0!==mn?mn:P,ro=Ti.routes,{segmentGroup:gr,slicedSegments:Wa}=hr(S,Be,At,ro),fo=new di(gr.segments,gr.children);if(0===Wa.length&&fo.hasChildren())return this.expandChildren(Pn,ro,fo).pipe((0,le.U)(bl=>new di(Be,bl)));if(0===ro.length&&0===Wa.length)return(0,e.of)(new di(Be,{}));const il=Ra(Z)===pe;return this.expandSegment(Pn,fo,ro,Wa,il?Lt:pe,!0).pipe((0,le.U)(da=>new di(Be.concat(da.segments),da.children)))}))):wi(S)}))}getChildConfig(P,S,Z){return S.children?(0,e.of)({routes:S.children,injector:P}):S.loadChildren?void 0!==S._loadedRoutes?(0,e.of)({routes:S._loadedRoutes,injector:S._loadedInjector}):function Zl(O,P,S,Z){const Q=P.canLoad;if(void 0===Q||0===Q.length)return(0,e.of)(!0);const pe=Q.map(ve=>{const Be=Qr(ve,O);return ti(function te(O){return O&&pr(O.canLoad)}(Be)?Be.canLoad(P,S):O.runInContext(()=>Be(P,S)))});return(0,e.of)(pe).pipe(Vn(),Lr())}(P,S,Z).pipe((0,Te.z)(Q=>Q?this.configLoader.loadChildren(P,S).pipe((0,ke.b)(pe=>{S._loadedRoutes=pe.routes,S._loadedInjector=pe.injector})):function Wn(O){return(0,ue._)(Ds(ze,3))}())):(0,e.of)({routes:[],injector:P})}lineralizeSegments(P,S){let Z=[],Q=S.root;for(;;){if(Z=Z.concat(Q.segments),0===Q.numberOfChildren)return(0,e.of)(Z);if(Q.numberOfChildren>1||!Q.children[Lt])return(0,ue._)(new c.vHH(4e3,ze));Q=Q.children[Lt]}}applyRedirectCommands(P,S,Z){return this.applyRedirectCreateUrlTree(S,this.urlSerializer.parse(S),P,Z)}applyRedirectCreateUrlTree(P,S,Z,Q){const pe=this.createSegmentGroup(P,S.root,Z,Q);return new _i(pe,this.createQueryParams(S.queryParams,this.urlTree.queryParams),S.fragment)}createQueryParams(P,S){const Z={};return ai(P,(Q,pe)=>{if("string"==typeof Q&&Q.startsWith(":")){const Be=Q.substring(1);Z[pe]=S[Be]}else Z[pe]=Q}),Z}createSegmentGroup(P,S,Z,Q){const pe=this.createSegments(P,S.segments,Z,Q);let ve={};return ai(S.children,(Be,At)=>{ve[At]=this.createSegmentGroup(P,Be,Z,Q)}),new di(pe,ve)}createSegments(P,S,Z,Q){return S.map(pe=>pe.path.startsWith(":")?this.findPosParam(P,pe,Q):this.findOrReturn(pe,Z))}findPosParam(P,S,Z){const Q=Z[S.path.substring(1)];if(!Q)throw new c.vHH(4001,ze);return Q}findOrReturn(P,S){let Z=0;for(const Q of S){if(Q.path===P.path)return S.splice(Z),Q;Z++}return P}}class go{}class ja{constructor(P,S,Z,Q,pe,ve,Be,At){this.injector=P,this.rootComponentType=S,this.config=Z,this.urlTree=Q,this.url=pe,this.paramsInheritanceStrategy=ve,this.relativeLinkResolution=Be,this.urlSerializer=At}recognize(){const P=hr(this.urlTree.root,[],[],this.config.filter(S=>void 0===S.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,P,Lt).pipe((0,le.U)(S=>{if(null===S)return null;const Z=new Tr([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Lt,this.rootComponentType,null,this.urlTree.root,-1,{}),Q=new Do(Z,S),pe=new Xa(this.url,Q);return this.inheritParamsAndData(pe._root),pe}))}inheritParamsAndData(P){const S=P.value,Z=cr(S,this.paramsInheritanceStrategy);S.params=Object.freeze(Z.params),S.data=Object.freeze(Z.data),P.children.forEach(Q=>this.inheritParamsAndData(Q))}processSegmentGroup(P,S,Z,Q){return 0===Z.segments.length&&Z.hasChildren()?this.processChildren(P,S,Z):this.processSegment(P,S,Z,Z.segments,Q)}processChildren(P,S,Z){return(0,m.D)(Object.keys(Z.children)).pipe((0,ie.b)(Q=>{const pe=Z.children[Q],ve=Hr(S,Q);return this.processSegmentGroup(P,ve,pe,Q)}),ri((Q,pe)=>Q&&pe?(Q.push(...pe),Q):null),(0,ye.o)(Q=>null!==Q),_e(null),Wt(),(0,le.U)(Q=>{if(null===Q)return null;const pe=Sd(Q);return function Fa(O){O.sort((P,S)=>P.value.outlet===Lt?-1:S.value.outlet===Lt?1:P.value.outlet.localeCompare(S.value.outlet))}(pe),pe}))}processSegment(P,S,Z,Q,pe){return(0,m.D)(S).pipe((0,ie.b)(ve=>{var Be;return this.processSegmentAgainstRoute(null!==(Be=ve._injector)&&void 0!==Be?Be:P,ve,Z,Q,pe)}),qe(ve=>!!ve),(0,mt.K)(ve=>{if(Sr(ve))return ge(Z,Q,pe)?(0,e.of)([]):(0,e.of)(null);throw ve}))}processSegmentAgainstRoute(P,S,Z,Q,pe){var ve,Be;if(S.redirectTo||!W(S,Z,Q,pe))return(0,e.of)(null);let At;if("**"===S.path){const gi=Q.length>0?ki(Q).parameters:{},ui=Ad(Z)+Q.length,Ti=new Tr(Q,gi,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,hu(S),Ra(S),null!==(Be=null!==(ve=S.component)&&void 0!==ve?ve:S._loadedComponent)&&void 0!==Be?Be:null,S,Yc(Z),ui,mu(S),ui);At=(0,e.of)({snapshot:Ti,consumedSegments:[],remainingSegments:[]})}else At=io(Z,S,Q,P).pipe((0,le.U)(({matched:gi,consumedSegments:ui,remainingSegments:Ti,parameters:mn})=>{var Pn,ro;if(!gi)return null;const gr=Ad(Z)+ui.length;return{snapshot:new Tr(ui,mn,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,hu(S),Ra(S),null!==(ro=null!==(Pn=S.component)&&void 0!==Pn?Pn:S._loadedComponent)&&void 0!==ro?ro:null,S,Yc(Z),gr,mu(S),gr),consumedSegments:ui,remainingSegments:Ti}}));return At.pipe((0,Ne.w)(gi=>{var ui,Ti;if(null===gi)return(0,e.of)(null);const{snapshot:mn,consumedSegments:Pn,remainingSegments:ro}=gi;P=null!==(ui=S._injector)&&void 0!==ui?ui:P;const gr=null!==(Ti=S._loadedInjector)&&void 0!==Ti?Ti:P,Wa=function As(O){return O.children?O.children:O.loadChildren?O._loadedRoutes:[]}(S),{segmentGroup:fo,slicedSegments:il}=hr(Z,Pn,ro,Wa.filter(da=>void 0===da.redirectTo),this.relativeLinkResolution);if(0===il.length&&fo.hasChildren())return this.processChildren(gr,Wa,fo).pipe((0,le.U)(da=>null===da?null:[new Do(mn,da)]));if(0===Wa.length&&0===il.length)return(0,e.of)([new Do(mn,[])]);const aa=Ra(S)===pe;return this.processSegment(gr,Wa,fo,il,aa?Lt:pe).pipe((0,le.U)(da=>null===da?null:[new Do(mn,da)]))}))}}function dc(O){const P=O.value.routeConfig;return P&&""===P.path&&void 0===P.redirectTo}function Sd(O){const P=[],S=new Set;for(const Z of O){if(!dc(Z)){P.push(Z);continue}const Q=P.find(pe=>Z.value.routeConfig===pe.value.routeConfig);void 0!==Q?(Q.children.push(...Z.children),S.add(Q)):P.push(Z)}for(const Z of S){const Q=Sd(Z.children);P.push(new Do(Z.value,Q))}return P.filter(Z=>!S.has(Z))}function Yc(O){let P=O;for(;P._sourceSegment;)P=P._sourceSegment;return P}function Ad(O){var P,S;let Z=O,Q=null!==(P=Z._segmentIndexShift)&&void 0!==P?P:0;for(;Z._sourceSegment;)Z=Z._sourceSegment,Q+=null!==(S=Z._segmentIndexShift)&&void 0!==S?S:0;return Q-1}function hu(O){return O.data||{}}function mu(O){return O.resolve||{}}function mr(O){return"string"==typeof O.title||null===O.title}function wo(O){return(0,Ne.w)(P=>{const S=O(P);return S?(0,m.D)(S).pipe((0,le.U)(()=>P)):(0,e.of)(P)})}let Xs=(()=>{class O{buildTitle(S){var Z;let Q,pe=S.root;for(;void 0!==pe;)Q=null!==(Z=this.getResolvedTitleForRoute(pe))&&void 0!==Z?Z:Q,pe=pe.children.find(ve=>ve.outlet===Lt);return Q}getResolvedTitleForRoute(S){return S.data[Ai]}}return O.\u0275fac=function(S){return new(S||O)},O.\u0275prov=c.Yz7({token:O,factory:function(){return(0,c.f3M)(pc)},providedIn:"root"}),O})(),pc=(()=>{class O extends Xs{constructor(S){super(),this.title=S}updateTitle(S){const Z=this.buildTitle(S);void 0!==Z&&this.title.setTitle(Z)}}return O.\u0275fac=function(S){return new(S||O)(c.LFG(Yt.Dx))},O.\u0275prov=c.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})();class Gc{}class Ld extends class Kc{shouldDetach(P){return!1}store(P,S){}shouldAttach(P){return!1}retrieve(P){return null}shouldReuseRoute(P,S){return P.routeConfig===S.routeConfig}}{}const Mn=new c.OlP("",{providedIn:"root",factory:()=>({})}),Di=new c.OlP("ROUTES");let Vl=(()=>{class O{constructor(S,Z){this.injector=S,this.compiler=Z,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(S){if(this.componentLoaders.get(S))return this.componentLoaders.get(S);if(S._loadedComponent)return(0,e.of)(S._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(S);const Z=ti(S.loadComponent()).pipe((0,ke.b)(pe=>{this.onLoadEndListener&&this.onLoadEndListener(S),S._loadedComponent=pe}),(0,Ae.x)(()=>{this.componentLoaders.delete(S)})),Q=new Pe.c(Z,()=>new de.x).pipe((0,he.x)());return this.componentLoaders.set(S,Q),Q}loadChildren(S,Z){if(this.childrenLoaders.get(Z))return this.childrenLoaders.get(Z);if(Z._loadedRoutes)return(0,e.of)({routes:Z._loadedRoutes,injector:Z._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(Z);const pe=this.loadModuleFactoryOrRoutes(Z.loadChildren).pipe((0,le.U)(Be=>{this.onLoadEndListener&&this.onLoadEndListener(Z);let At,gi,ui=!1;Array.isArray(Be)?gi=Be:(At=Be.create(S).injector,gi=ni(At.get(Di,[],c.XFs.Self|c.XFs.Optional)));return{routes:gi.map(to),injector:At}}),(0,Ae.x)(()=>{this.childrenLoaders.delete(Z)})),ve=new Pe.c(pe,()=>new de.x).pipe((0,he.x)());return this.childrenLoaders.set(Z,ve),ve}loadModuleFactoryOrRoutes(S){return ti(S()).pipe((0,Te.z)(Z=>Z instanceof c.YKP||Array.isArray(Z)?(0,e.of)(Z):(0,m.D)(this.compiler.compileModuleAsync(Z))))}}return O.\u0275fac=function(S){return new(S||O)(c.LFG(c.zs3),c.LFG(c.Sil))},O.\u0275prov=c.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})();class Ri{}class Gl{shouldProcessUrl(P){return!0}extract(P){return P}merge(P,S){return P}}function Od(O){throw O}function ds(O,P,S){return P.parse("/")}const Ls={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Kl={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function Os(){var O,P;const S=(0,c.f3M)(Hi),Z=(0,c.f3M)(Yr),Q=(0,c.f3M)(Ge.Ye),pe=(0,c.f3M)(c.zs3),ve=(0,c.f3M)(c.Sil),Be=null!==(O=(0,c.f3M)(Di,{optional:!0}))&&void 0!==O?O:[],At=null!==(P=(0,c.f3M)(Mn,{optional:!0}))&&void 0!==P?P:{},gi=(0,c.f3M)(pc),ui=(0,c.f3M)(Xs,{optional:!0}),Ti=(0,c.f3M)(Ri,{optional:!0}),mn=(0,c.f3M)(Gc,{optional:!0}),Pn=new la(null,S,Z,Q,pe,ve,ni(Be));return Ti&&(Pn.urlHandlingStrategy=Ti),mn&&(Pn.routeReuseStrategy=mn),Pn.titleStrategy=null!=ui?ui:gi,function hc(O,P){O.errorHandler&&(P.errorHandler=O.errorHandler),O.malformedUriErrorHandler&&(P.malformedUriErrorHandler=O.malformedUriErrorHandler),O.onSameUrlNavigation&&(P.onSameUrlNavigation=O.onSameUrlNavigation),O.paramsInheritanceStrategy&&(P.paramsInheritanceStrategy=O.paramsInheritanceStrategy),O.relativeLinkResolution&&(P.relativeLinkResolution=O.relativeLinkResolution),O.urlUpdateStrategy&&(P.urlUpdateStrategy=O.urlUpdateStrategy),O.canceledNavigationResolution&&(P.canceledNavigationResolution=O.canceledNavigationResolution)}(At,Pn),Pn}let la=(()=>{class O{constructor(S,Z,Q,pe,ve,Be,At){this.rootComponentType=S,this.urlSerializer=Z,this.rootContexts=Q,this.location=pe,this.config=At,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new de.x,this.errorHandler=Od,this.malformedUriErrorHandler=ds,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,e.of)(void 0),this.urlHandlingStrategy=new Gl,this.routeReuseStrategy=new Ld,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=ve.get(Vl),this.configLoader.onLoadEndListener=mn=>this.triggerEvent(new Br(mn)),this.configLoader.onLoadStartListener=mn=>this.triggerEvent(new Ya(mn)),this.ngModule=ve.get(c.h0i),this.console=ve.get(c.c2e);const Ti=ve.get(c.R0b);this.isNgZoneEnabled=Ti instanceof c.R0b&&c.R0b.isInAngularZone(),this.resetConfig(At),this.currentUrlTree=function Y(){return new _i(new di([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=qs(this.currentUrlTree,this.rootComponentType),this.transitions=new b.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var S;return null===(S=this.location.getState())||void 0===S?void 0:S.\u0275routerPageId}setupNavigations(S){const Z=this.events;return S.pipe((0,st.h)(Q=>0!==Q.id),(0,le.U)(Q=>Object.assign(Object.assign({},Q),{extractedUrl:this.urlHandlingStrategy.extract(Q.rawUrl)})),(0,Ne.w)(Q=>{let pe=!1,ve=!1;return(0,e.of)(Q).pipe((0,ke.b)(Be=>{this.currentNavigation={id:Be.id,initialUrl:Be.rawUrl,extractedUrl:Be.extractedUrl,trigger:Be.source,extras:Be.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,Ne.w)(Be=>{const At=this.browserUrlTree.toString(),gi=!this.navigated||Be.extractedUrl.toString()!==At||At!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||gi)&&this.urlHandlingStrategy.shouldProcessUrl(Be.rawUrl))return kd(Be.source)&&(this.browserUrlTree=Be.extractedUrl),(0,e.of)(Be).pipe((0,Ne.w)(Ti=>{const mn=this.transitions.getValue();return Z.next(new sr(Ti.id,this.serializeUrl(Ti.extractedUrl),Ti.source,Ti.restoredState)),mn!==this.transitions.getValue()?Oe.E:Promise.resolve(Ti)}),function Gn(O,P,S,Z){return(0,Ne.w)(Q=>function An(O,P,S,Z,Q){return new ka(O,P,S,Z,Q).apply()}(O,P,S,Q.extractedUrl,Z).pipe((0,le.U)(pe=>Object.assign(Object.assign({},Q),{urlAfterRedirects:pe}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,ke.b)(Ti=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:Ti.urlAfterRedirects}),Q.urlAfterRedirects=Ti.urlAfterRedirects}),function Hc(O,P,S,Z,Q,pe){return(0,Te.z)(ve=>function Zt(O,P,S,Z,Q,pe,ve="emptyOnly",Be="legacy"){return new ja(O,P,S,Z,Q,ve,Be,pe).recognize().pipe((0,Ne.w)(At=>null===At?function ao(O){return new ce.y(P=>P.error(O))}(new go):(0,e.of)(At)))}(O,P,S,ve.urlAfterRedirects,Z.serialize(ve.urlAfterRedirects),Z,Q,pe).pipe((0,le.U)(Be=>Object.assign(Object.assign({},ve),{targetSnapshot:Be}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,ke.b)(Ti=>{if(Q.targetSnapshot=Ti.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!Ti.extras.skipLocationChange){const Pn=this.urlHandlingStrategy.merge(Ti.urlAfterRedirects,Ti.rawUrl);this.setBrowserUrl(Pn,Ti)}this.browserUrlTree=Ti.urlAfterRedirects}const mn=new Ts(Ti.id,this.serializeUrl(Ti.extractedUrl),this.serializeUrl(Ti.urlAfterRedirects),Ti.targetSnapshot);Z.next(mn)}));if(gi&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:mn,extractedUrl:Pn,source:ro,restoredState:gr,extras:Wa}=Be,fo=new sr(mn,this.serializeUrl(Pn),ro,gr);Z.next(fo);const il=qs(Pn,this.rootComponentType).snapshot;return Q=Object.assign(Object.assign({},Be),{targetSnapshot:il,urlAfterRedirects:Pn,extras:Object.assign(Object.assign({},Wa),{skipLocationChange:!1,replaceUrl:!1})}),(0,e.of)(Q)}return this.rawUrlTree=Be.rawUrl,Be.resolve(null),Oe.E}),(0,ke.b)(Be=>{const At=new Bo(Be.id,this.serializeUrl(Be.extractedUrl),this.serializeUrl(Be.urlAfterRedirects),Be.targetSnapshot);this.triggerEvent(At)}),(0,le.U)(Be=>Q=Object.assign(Object.assign({},Be),{guards:Er(Be.targetSnapshot,Be.currentSnapshot,this.rootContexts)})),function Ar(O,P){return(0,Te.z)(S=>{const{targetSnapshot:Z,currentSnapshot:Q,guards:{canActivateChecks:pe,canDeactivateChecks:ve}}=S;return 0===ve.length&&0===pe.length?(0,e.of)(Object.assign(Object.assign({},S),{guardsResult:!0})):function Bl(O,P,S,Z){return(0,m.D)(O).pipe((0,Te.z)(Q=>function wd(O,P,S,Z,Q){const pe=P&&P.routeConfig?P.routeConfig.canDeactivate:null;if(!pe||0===pe.length)return(0,e.of)(!0);const ve=pe.map(Be=>{var At;const gi=null!==(At=on(P))&&void 0!==At?At:Q,ui=Qr(Be,gi);return ti(function Ce(O){return O&&pr(O.canDeactivate)}(ui)?ui.canDeactivate(O,P,S,Z):gi.runInContext(()=>ui(O,P,S,Z))).pipe(qe())});return(0,e.of)(ve).pipe(Vn())}(Q.component,Q.route,S,P,Z)),qe(Q=>!0!==Q,!0))}(ve,Z,Q,O).pipe((0,Te.z)(Be=>Be&&function Ma(O){return"boolean"==typeof O}(Be)?function zn(O,P,S,Z){return(0,m.D)(P).pipe((0,ie.b)(Q=>(0,V.z)(function Ed(O,P){return null!==O&&P&&P(new rs(O)),(0,e.of)(!0)}(Q.route.parent,Z),function Xr(O,P){return null!==O&&P&&P(new Ta(O)),(0,e.of)(!0)}(Q.route,Z),function cc(O,P,S){const Z=P[P.length-1],pe=P.slice(0,P.length-1).reverse().map(ve=>function Eo(O){const P=O.routeConfig?O.routeConfig.canActivateChild:null;return P&&0!==P.length?{node:O,guards:P}:null}(ve)).filter(ve=>null!==ve).map(ve=>(0,X.P)(()=>{const Be=ve.guards.map(At=>{var gi;const ui=null!==(gi=on(ve.node))&&void 0!==gi?gi:S,Ti=Qr(At,ui);return ti(function H(O){return O&&pr(O.canActivateChild)}(Ti)?Ti.canActivateChild(Z,O):ui.runInContext(()=>Ti(Z,O))).pipe(qe())});return(0,e.of)(Be).pipe(Vn())}));return(0,e.of)(pe).pipe(Vn())}(O,Q.path,S),function Ul(O,P,S){const Z=P.routeConfig?P.routeConfig.canActivate:null;if(!Z||0===Z.length)return(0,e.of)(!0);const Q=Z.map(pe=>(0,X.P)(()=>{var ve;const Be=null!==(ve=on(P))&&void 0!==ve?ve:S,At=Qr(pe,Be);return ti(function q(O){return O&&pr(O.canActivate)}(At)?At.canActivate(P,O):Be.runInContext(()=>At(P,O))).pipe(qe())}));return(0,e.of)(Q).pipe(Vn())}(O,Q.route,S))),qe(Q=>!0!==Q,!0))}(Z,pe,O,P):(0,e.of)(Be)),(0,le.U)(Be=>Object.assign(Object.assign({},S),{guardsResult:Be})))})}(this.ngModule.injector,Be=>this.triggerEvent(Be)),(0,ke.b)(Be=>{if(Q.guardsResult=Be.guardsResult,Oi(Be.guardsResult))throw Dr(0,Be.guardsResult);const At=new Ka(Be.id,this.serializeUrl(Be.extractedUrl),this.serializeUrl(Be.urlAfterRedirects),Be.targetSnapshot,!!Be.guardsResult);this.triggerEvent(At)}),(0,st.h)(Be=>!!Be.guardsResult||(this.restoreHistory(Be),this.cancelNavigationTransition(Be,"",3),!1)),wo(Be=>{if(Be.guards.canActivateChecks.length)return(0,e.of)(Be).pipe((0,ke.b)(At=>{const gi=new Nr(At.id,this.serializeUrl(At.extractedUrl),this.serializeUrl(At.urlAfterRedirects),At.targetSnapshot);this.triggerEvent(gi)}),(0,Ne.w)(At=>{let gi=!1;return(0,e.of)(At).pipe(function Vc(O,P){return(0,Te.z)(S=>{const{targetSnapshot:Z,guards:{canActivateChecks:Q}}=S;if(!Q.length)return(0,e.of)(S);let pe=0;return(0,m.D)(Q).pipe((0,ie.b)(ve=>function Hl(O,P,S,Z){const Q=O.routeConfig,pe=O._resolve;return void 0!==(null==Q?void 0:Q.title)&&!mr(Q)&&(pe[Ai]=Q.title),function uc(O,P,S,Z){const Q=function _c(O){return[...Object.keys(O),...Object.getOwnPropertySymbols(O)]}(O);if(0===Q.length)return(0,e.of)({});const pe={};return(0,m.D)(Q).pipe((0,Te.z)(ve=>function gu(O,P,S,Z){var Q;const pe=null!==(Q=on(P))&&void 0!==Q?Q:Z,ve=Qr(O,pe);return ti(ve.resolve?ve.resolve(P,S):pe.runInContext(()=>ve(P,S)))}(O[ve],P,S,Z).pipe(qe(),(0,ke.b)(Be=>{pe[ve]=Be}))),bt(1),(0,Xe.h)(pe),(0,mt.K)(ve=>Sr(ve)?Oe.E:(0,ue._)(ve)))}(pe,O,P,Z).pipe((0,le.U)(ve=>(O._resolvedData=ve,O.data=cr(O,S).resolve,Q&&mr(Q)&&(O.data[Ai]=Q.title),null)))}(ve.route,Z,O,P)),(0,ke.b)(()=>pe++),bt(1),(0,Te.z)(ve=>pe===Q.length?(0,e.of)(S):Oe.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,ke.b)({next:()=>gi=!0,complete:()=>{gi||(this.restoreHistory(At),this.cancelNavigationTransition(At,"",2))}}))}),(0,ke.b)(At=>{const gi=new lr(At.id,this.serializeUrl(At.extractedUrl),this.serializeUrl(At.urlAfterRedirects),At.targetSnapshot);this.triggerEvent(gi)}))}),wo(Be=>{const At=gi=>{var ui;const Ti=[];(null===(ui=gi.routeConfig)||void 0===ui?void 0:ui.loadComponent)&&!gi.routeConfig._loadedComponent&&Ti.push(this.configLoader.loadComponent(gi.routeConfig).pipe((0,ke.b)(mn=>{gi.component=mn}),(0,le.U)(()=>{})));for(const mn of gi.children)Ti.push(...At(mn));return Ti};return(0,F.a)(At(Be.targetSnapshot.root)).pipe(_e(),(0,yt.q)(1))}),wo(()=>this.afterPreactivation()),(0,le.U)(Be=>{const At=function Js(O,P,S){const Z=Mr(O,P._root,S?S._root:void 0);return new Ws(Z,P)}(this.routeReuseStrategy,Be.targetSnapshot,Be.currentRouterState);return Q=Object.assign(Object.assign({},Be),{targetRouterState:At})}),(0,ke.b)(Be=>{this.currentUrlTree=Be.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(Be.urlAfterRedirects,Be.rawUrl),this.routerState=Be.targetRouterState,"deferred"===this.urlUpdateStrategy&&(Be.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,Be),this.browserUrlTree=Be.urlAfterRedirects)}),((O,P,S)=>(0,le.U)(Z=>(new Es(P,Z.targetRouterState,Z.currentRouterState,S).activate(O),Z)))(this.rootContexts,this.routeReuseStrategy,Be=>this.triggerEvent(Be)),(0,ke.b)({next(){pe=!0},complete(){pe=!0}}),(0,Ae.x)(()=>{var Be;pe||ve||this.cancelNavigationTransition(Q,"",1),(null===(Be=this.currentNavigation)||void 0===Be?void 0:Be.id)===Q.id&&(this.currentNavigation=null)}),(0,mt.K)(Be=>{var At;if(ve=!0,Pa(Be)){La(Be)||(this.navigated=!0,this.restoreHistory(Q,!0));const gi=new Aa(Q.id,this.serializeUrl(Q.extractedUrl),Be.message,Be.cancellationCode);if(Z.next(gi),La(Be)){const ui=this.urlHandlingStrategy.merge(Be.url,this.rawUrlTree),Ti={skipLocationChange:Q.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||kd(Q.source)};this.scheduleNavigation(ui,"imperative",null,Ti,{resolve:Q.resolve,reject:Q.reject,promise:Q.promise})}else Q.resolve(!1)}else{this.restoreHistory(Q,!0);const gi=new Fr(Q.id,this.serializeUrl(Q.extractedUrl),Be,null!==(At=Q.targetSnapshot)&&void 0!==At?At:void 0);Z.next(gi);try{Q.resolve(this.errorHandler(Be))}catch(ui){Q.reject(ui)}}return Oe.E}))}))}resetRootComponentType(S){this.rootComponentType=S,this.routerState.root.component=this.rootComponentType}setTransition(S){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),S))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(S=>{const Z="popstate"===S.type?"popstate":"hashchange";"popstate"===Z&&setTimeout(()=>{var Q;const pe={replaceUrl:!0},ve=null!==(Q=S.state)&&void 0!==Q&&Q.navigationId?S.state:null;if(ve){const At=Object.assign({},ve);delete At.navigationId,delete At.\u0275routerPageId,0!==Object.keys(At).length&&(pe.state=At)}const Be=this.parseUrl(S.url);this.scheduleNavigation(Be,Z,ve,pe)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(S){this.events.next(S)}resetConfig(S){this.config=S.map(to),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(S,Z={}){const{relativeTo:Q,queryParams:pe,fragment:ve,queryParamsHandling:Be,preserveFragment:At}=Z,gi=Q||this.routerState.root,ui=At?this.currentUrlTree.fragment:ve;let Ti=null;switch(Be){case"merge":Ti=Object.assign(Object.assign({},this.currentUrlTree.queryParams),pe);break;case"preserve":Ti=this.currentUrlTree.queryParams;break;default:Ti=pe||null}return null!==Ti&&(Ti=this.removeEmptyProps(Ti)),sa(gi,this.currentUrlTree,S,Ti,null!=ui?ui:null)}navigateByUrl(S,Z={skipLocationChange:!1}){const Q=Oi(S)?S:this.parseUrl(S),pe=this.urlHandlingStrategy.merge(Q,this.rawUrlTree);return this.scheduleNavigation(pe,"imperative",null,Z)}navigate(S,Z={skipLocationChange:!1}){return function es(O){for(let P=0;P{const pe=S[Q];return null!=pe&&(Z[Q]=pe),Z},{})}processNavigations(){this.navigations.subscribe(S=>{var Z;this.navigated=!0,this.lastSuccessfulId=S.id,this.currentPageId=S.targetPageId,this.events.next(new Un(S.id,this.serializeUrl(S.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,null===(Z=this.titleStrategy)||void 0===Z||Z.updateTitle(this.routerState.snapshot),S.resolve(!0)},S=>{this.console.warn(`Unhandled Navigation Error: ${S}`)})}scheduleNavigation(S,Z,Q,pe,ve){var Be,At;if(this.disposed)return Promise.resolve(!1);let gi,ui,Ti;ve?(gi=ve.resolve,ui=ve.reject,Ti=ve.promise):Ti=new Promise((ro,gr)=>{gi=ro,ui=gr});const mn=++this.navigationId;let Pn;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(Q=this.location.getState()),Pn=Q&&Q.\u0275routerPageId?Q.\u0275routerPageId:pe.replaceUrl||pe.skipLocationChange?null!==(Be=this.browserPageId)&&void 0!==Be?Be:0:(null!==(At=this.browserPageId)&&void 0!==At?At:0)+1):Pn=0,this.setTransition({id:mn,targetPageId:Pn,source:Z,restoredState:Q,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:S,extras:pe,resolve:gi,reject:ui,promise:Ti,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ti.catch(ro=>Promise.reject(ro))}setBrowserUrl(S,Z){const Q=this.urlSerializer.serialize(S),pe=Object.assign(Object.assign({},Z.extras.state),this.generateNgRouterState(Z.id,Z.targetPageId));this.location.isCurrentPathEqualTo(Q)||Z.extras.replaceUrl?this.location.replaceState(Q,"",pe):this.location.go(Q,"",pe)}restoreHistory(S,Z=!1){var Q,pe;if("computed"===this.canceledNavigationResolution){const ve=this.currentPageId-S.targetPageId;"popstate"!==S.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(Q=this.currentNavigation)||void 0===Q?void 0:Q.finalUrl)||0===ve?this.currentUrlTree===(null===(pe=this.currentNavigation)||void 0===pe?void 0:pe.finalUrl)&&0===ve&&(this.resetState(S),this.browserUrlTree=S.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(ve)}else"replace"===this.canceledNavigationResolution&&(Z&&this.resetState(S),this.resetUrlToCurrentUrlTree())}resetState(S){this.routerState=S.currentRouterState,this.currentUrlTree=S.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,S.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(S,Z,Q){const pe=new Aa(S.id,this.serializeUrl(S.extractedUrl),Z,Q);this.triggerEvent(pe),S.resolve(!1)}generateNgRouterState(S,Z){return"computed"===this.canceledNavigationResolution?{navigationId:S,\u0275routerPageId:Z}:{navigationId:S}}}return O.\u0275fac=function(S){c.$Z()},O.\u0275prov=c.Yz7({token:O,factory:function(){return Os()},providedIn:"root"}),O})();function kd(O){return"imperative"!==O}let mc=(()=>{class O{constructor(S,Z,Q,pe,ve){this.router=S,this.route=Z,this.tabIndexAttribute=Q,this.renderer=pe,this.el=ve,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.onChanges=new de.x,this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(S){this._preserveFragment=(0,c.D6c)(S)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(S){this._skipLocationChange=(0,c.D6c)(S)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(S){this._replaceUrl=(0,c.D6c)(S)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(S){if(null!=this.tabIndexAttribute)return;const Z=this.renderer,Q=this.el.nativeElement;null!==S?Z.setAttribute(Q,"tabindex",S):Z.removeAttribute(Q,"tabindex")}ngOnChanges(S){this.onChanges.next(this)}set routerLink(S){null!=S?(this.commands=Array.isArray(S)?S:[S],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){return null===this.urlTree||this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return O.\u0275fac=function(S){return new(S||O)(c.Y36(la),c.Y36($o),c.$8M("tabindex"),c.Y36(c.Qsj),c.Y36(c.SBq))},O.\u0275dir=c.lG2({type:O,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(S,Z){1&S&&c.NdJ("click",function(){return Z.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[c.TTD]}),O})(),ks=(()=>{class O{constructor(S,Z,Q){this.router=S,this.route=Z,this.locationStrategy=Q,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.href=null,this.onChanges=new de.x,this.subscription=S.events.subscribe(pe=>{pe instanceof Un&&this.updateTargetUrlAndHref()})}set preserveFragment(S){this._preserveFragment=(0,c.D6c)(S)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(S){this._skipLocationChange=(0,c.D6c)(S)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(S){this._replaceUrl=(0,c.D6c)(S)}get replaceUrl(){return this._replaceUrl}set routerLink(S){this.commands=null!=S?Array.isArray(S)?S:[S]:null}ngOnChanges(S){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(S,Z,Q,pe,ve){return!!(0!==S||Z||Q||pe||ve||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!1)}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return O.\u0275fac=function(S){return new(S||O)(c.Y36(la),c.Y36($o),c.Y36(Ge.S$))},O.\u0275dir=c.lG2({type:O,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(S,Z){1&S&&c.NdJ("click",function(pe){return Z.onClick(pe.button,pe.ctrlKey,pe.shiftKey,pe.altKey,pe.metaKey)}),2&S&&c.uIk("target",Z.target)("href",Z.href,c.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[c.TTD]}),O})(),Is=(()=>{class O{constructor(S,Z,Q,pe,ve,Be){this.router=S,this.element=Z,this.renderer=Q,this.cdr=pe,this.link=ve,this.linkWithHref=Be,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new c.vpe,this.routerEventsSubscription=S.events.subscribe(At=>{At instanceof Un&&this.update()})}ngAfterContentInit(){(0,e.of)(this.links.changes,this.linksWithHrefs.changes,(0,e.of)(null)).pipe((0,nt.J)()).subscribe(S=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var S;null===(S=this.linkInputChangesSubscription)||void 0===S||S.unsubscribe();const Z=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(Q=>!!Q).map(Q=>Q.onChanges);this.linkInputChangesSubscription=(0,m.D)(Z).pipe((0,nt.J)()).subscribe(Q=>{this.isActive!==this.isLinkActive(this.router)(Q)&&this.update()})}set routerLinkActive(S){const Z=Array.isArray(S)?S:S.split(" ");this.classes=Z.filter(Q=>!!Q)}ngOnChanges(S){this.update()}ngOnDestroy(){var S;this.routerEventsSubscription.unsubscribe(),null===(S=this.linkInputChangesSubscription)||void 0===S||S.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const S=this.hasActiveLinks();this.isActive!==S&&(this.isActive=S,this.cdr.markForCheck(),this.classes.forEach(Z=>{S?this.renderer.addClass(this.element.nativeElement,Z):this.renderer.removeClass(this.element.nativeElement,Z)}),S&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(S))})}isLinkActive(S){const Z=function fu(O){return!!O.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return Q=>!!Q.urlTree&&S.isActive(Q.urlTree,Z)}hasActiveLinks(){const S=this.isLinkActive(this.router);return this.link&&S(this.link)||this.linkWithHref&&S(this.linkWithHref)||this.links.some(S)||this.linksWithHrefs.some(S)}}return O.\u0275fac=function(S){return new(S||O)(c.Y36(la),c.Y36(c.SBq),c.Y36(c.Qsj),c.Y36(c.sBO),c.Y36(mc,8),c.Y36(ks,8))},O.\u0275dir=c.lG2({type:O,selectors:[["","routerLinkActive",""]],contentQueries:function(S,Z,Q){if(1&S&&(c.Suo(Q,mc,5),c.Suo(Q,ks,5)),2&S){let pe;c.iGM(pe=c.CRH())&&(Z.links=pe),c.iGM(pe=c.CRH())&&(Z.linksWithHrefs=pe)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[c.TTD]}),O})();class jc{}let Pd=(()=>{class O{constructor(S,Z,Q,pe,ve){this.router=S,this.injector=Q,this.preloadingStrategy=pe,this.loader=ve}setUpPreloading(){this.subscription=this.router.events.pipe((0,st.h)(S=>S instanceof Un),(0,ie.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(S,Z){var Q,pe,ve;const Be=[];for(const At of Z){At.providers&&!At._injector&&(At._injector=(0,c.MMx)(At.providers,S,`Route: ${At.path}`));const gi=null!==(Q=At._injector)&&void 0!==Q?Q:S,ui=null!==(pe=At._loadedInjector)&&void 0!==pe?pe:gi;At.loadChildren&&!At._loadedRoutes&&void 0===At.canLoad||At.loadComponent&&!At._loadedComponent?Be.push(this.preloadConfig(gi,At)):(At.children||At._loadedRoutes)&&Be.push(this.processRoutes(ui,null!==(ve=At.children)&&void 0!==ve?ve:At._loadedRoutes))}return(0,m.D)(Be).pipe((0,nt.J)())}preloadConfig(S,Z){return this.preloadingStrategy.preload(Z,()=>{let Q;Q=Z.loadChildren&&void 0===Z.canLoad?this.loader.loadChildren(S,Z):(0,e.of)(null);const pe=Q.pipe((0,Te.z)(ve=>{var Be;return null===ve?(0,e.of)(void 0):(Z._loadedRoutes=ve.routes,Z._loadedInjector=ve.injector,this.processRoutes(null!==(Be=ve.injector)&&void 0!==Be?Be:S,ve.routes))}));if(Z.loadComponent&&!Z._loadedComponent){const ve=this.loader.loadComponent(Z);return(0,m.D)([pe,ve]).pipe((0,nt.J)())}return pe})}}return O.\u0275fac=function(S){return new(S||O)(c.LFG(la),c.LFG(c.Sil),c.LFG(c.lqb),c.LFG(jc),c.LFG(Vl))},O.\u0275prov=c.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})();const vl=new c.OlP("");let el=(()=>{class O{constructor(S,Z,Q={}){this.router=S,this.viewportScroller=Z,this.options=Q,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Q.scrollPositionRestoration=Q.scrollPositionRestoration||"disabled",Q.anchorScrolling=Q.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(S=>{S instanceof sr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=S.navigationTrigger,this.restoredId=S.restoredState?S.restoredState.navigationId:0):S instanceof Un&&(this.lastId=S.id,this.scheduleScrollEvent(S,this.router.parseUrl(S.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(S=>{S instanceof an&&(S.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(S.position):S.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(S.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(S,Z){this.router.triggerEvent(new an(S,"popstate"===this.lastSource?this.store[this.restoredId]:null,Z))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return O.\u0275fac=function(S){c.$Z()},O.\u0275prov=c.Yz7({token:O,factory:O.\u0275fac}),O})();function rn(O,P){return{\u0275kind:O,\u0275providers:P}}function _s(O){return[{provide:Di,multi:!0,useValue:O}]}function jl(){const O=(0,c.f3M)(c.zs3);return P=>{var S,Z;const Q=O.get(c.z2F);if(P!==Q.components[0])return;const pe=O.get(la),ve=O.get(ca);1===O.get(Rd)&&pe.initialNavigation(),null===(S=O.get(w_,null,c.XFs.Optional))||void 0===S||S.setUpPreloading(),null===(Z=O.get(vl,null,c.XFs.Optional))||void 0===Z||Z.init(),pe.resetRootComponentType(Q.componentTypes[0]),ve.closed||(ve.next(),ve.unsubscribe())}}const ca=new c.OlP("",{factory:()=>new de.x}),Rd=new c.OlP("",{providedIn:"root",factory:()=>1});const w_=new c.OlP("");function Fp(O){return rn(0,[{provide:w_,useExisting:Pd},{provide:jc,useExisting:O}])}const S_=new c.OlP("ROUTER_FORROOT_GUARD"),oo=[Ge.Ye,{provide:Hi,useClass:ht},{provide:la,useFactory:Os},Yr,{provide:$o,useFactory:function Ps(O){return O.routerState.root},deps:[la]},Vl];function Fd(){return new c.PXZ("Router",la)}let tl=(()=>{class O{constructor(S){}static forRoot(S,Z){return{ngModule:O,providers:[oo,[],_s(S),{provide:S_,useFactory:hs,deps:[[la,new c.FiY,new c.tp0]]},{provide:Mn,useValue:Z||{}},null!=Z&&Z.useHash?{provide:Ge.S$,useClass:Ge.Do}:{provide:Ge.S$,useClass:Ge.b0},{provide:vl,useFactory:()=>{const O=(0,c.f3M)(la),P=(0,c.f3M)(Ge.EM),S=(0,c.f3M)(Mn);return S.scrollOffset&&P.setOffset(S.scrollOffset),new el(O,P,S)}},null!=Z&&Z.preloadingStrategy?Fp(Z.preloadingStrategy).\u0275providers:[],{provide:c.PXZ,multi:!0,useFactory:Fd},null!=Z&&Z.initialNavigation?Nd(Z):[],[{provide:ts,useFactory:jl},{provide:c.tb,multi:!0,useExisting:ts}]]}}static forChild(S){return{ngModule:O,providers:[_s(S)]}}}return O.\u0275fac=function(S){return new(S||O)(c.LFG(S_,8))},O.\u0275mod=c.oAB({type:O}),O.\u0275inj=c.cJS({imports:[Fl]}),O})();function hs(O){return"guarded"}function Nd(O){return["disabled"===O.initialNavigation?rn(3,[{provide:c.ip1,multi:!0,useFactory:()=>{const P=(0,c.f3M)(la);return()=>{P.setUpLocationChangeListener()}}},{provide:Rd,useValue:2}]).\u0275providers:[],"enabledBlocking"===O.initialNavigation?rn(2,[{provide:Rd,useValue:0},{provide:c.ip1,multi:!0,deps:[c.zs3],useFactory:P=>{const S=P.get(Ge.V_,Promise.resolve());let Z=!1;return()=>S.then(()=>new Promise(pe=>{const ve=P.get(la),Be=P.get(ca);(function Q(pe){P.get(la).events.pipe((0,st.h)(Be=>Be instanceof Un||Be instanceof Aa||Be instanceof Fr),(0,le.U)(Be=>Be instanceof Un||Be instanceof Aa&&(0===Be.code||1===Be.code)&&null),(0,st.h)(Be=>null!==Be),(0,yt.q)(1)).subscribe(()=>{pe()})})(()=>{pe(!0),Z=!0}),ve.afterPreactivation=()=>(pe(!0),Z||Be.closed?(0,e.of)(void 0):Be),ve.initialNavigation()}))}}]).\u0275providers:[]]}const ts=new c.OlP("")},4894:(B,U,C)=>{"use strict";C.d(U,{Zw:()=>Pe,aw:()=>ri,X$:()=>kt,sK:()=>ke});var c=C(5e3),m=C(9646),e=C(5191),b=C(4128),T=C(7272),k=C(9770),F=C(5698),V=C(4707),X=C(3099);function J(bt,Wt,ye){let Xe,Ae=!1;return bt&&"object"==typeof bt?({bufferSize:Xe=1/0,windowTime:Wt=1/0,refCount:Ae=!1,scheduler:ye}=bt):Xe=null!=bt?bt:1/0,(0,X.B)({connector:()=>new V.t(Xe,Wt,ye),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:Ae})}var ue=C(4004),ce=C(4351),Oe=C(3900);class Pe{}let de=(()=>{class bt extends Pe{getTranslation(ye){return(0,m.of)({})}}return bt.\u0275fac=function(){let Wt;return function(Xe){return(Wt||(Wt=c.n5z(bt)))(Xe||bt)}}(),bt.\u0275prov=c.Yz7({token:bt,factory:bt.\u0275fac}),bt})();class Ge{}let le=(()=>{class bt{handle(ye){return ye.key}}return bt.\u0275fac=function(ye){return new(ye||bt)},bt.\u0275prov=c.Yz7({token:bt,factory:bt.\u0275fac}),bt})();function Ne(bt,Wt){if(bt===Wt)return!0;if(null===bt||null===Wt)return!1;if(bt!=bt&&Wt!=Wt)return!0;let Ae,he,nt,ye=typeof bt;if(ye==typeof Wt&&"object"==ye){if(!Array.isArray(bt)){if(Array.isArray(Wt))return!1;for(he in nt=Object.create(null),bt){if(!Ne(bt[he],Wt[he]))return!1;nt[he]=!0}for(he in Wt)if(!(he in nt)&&void 0!==Wt[he])return!1;return!0}if(!Array.isArray(Wt))return!1;if((Ae=bt.length)==Wt.length){for(he=0;he{jt(Wt[Xe])?Xe in bt?ye[Xe]=st(bt[Xe],Wt[Xe]):Object.assign(ye,{[Xe]:Wt[Xe]}):Object.assign(ye,{[Xe]:Wt[Xe]})}),ye}class Te{}let Le=(()=>{class bt extends Te{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(ye,Xe){let Ae;return Ae="string"==typeof ye?this.interpolateString(ye,Xe):"function"==typeof ye?this.interpolateFunction(ye,Xe):ye,Ae}getValue(ye,Xe){let Ae="string"==typeof Xe?Xe.split("."):[Xe];Xe="";do{Xe+=Ae.shift(),!yt(ye)||!yt(ye[Xe])||"object"!=typeof ye[Xe]&&Ae.length?Ae.length?Xe+=".":ye=void 0:(ye=ye[Xe],Xe="")}while(Ae.length);return ye}interpolateFunction(ye,Xe){return ye(Xe)}interpolateString(ye,Xe){return Xe?ye.replace(this.templateMatcher,(Ae,he)=>{let nt=this.getValue(Xe,he);return yt(nt)?nt:Ae}):ye}}return bt.\u0275fac=function(){let Wt;return function(Xe){return(Wt||(Wt=c.n5z(bt)))(Xe||bt)}}(),bt.\u0275prov=c.Yz7({token:bt,factory:bt.\u0275fac}),bt})();class at{}let _e=(()=>{class bt extends at{compile(ye,Xe){return ye}compileTranslations(ye,Xe){return ye}}return bt.\u0275fac=function(){let Wt;return function(Xe){return(Wt||(Wt=c.n5z(bt)))(Xe||bt)}}(),bt.\u0275prov=c.Yz7({token:bt,factory:bt.\u0275fac}),bt})();class xt{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new c.vpe,this.onLangChange=new c.vpe,this.onDefaultLangChange=new c.vpe}}const tt=new c.OlP("USE_STORE"),Ye=new c.OlP("USE_DEFAULT_LANG"),qe=new c.OlP("DEFAULT_LANGUAGE"),ie=new c.OlP("USE_EXTEND");let ke=(()=>{class bt{constructor(ye,Xe,Ae,he,nt,Yt=!0,Lt=!1,Ai=!1,ei){this.store=ye,this.currentLoader=Xe,this.compiler=Ae,this.parser=he,this.missingTranslationHandler=nt,this.useDefaultLang=Yt,this.isolate=Lt,this.extend=Ai,this.pending=!1,this._onTranslationChange=new c.vpe,this._onLangChange=new c.vpe,this._onDefaultLangChange=new c.vpe,this._langs=[],this._translations={},this._translationRequests={},ei&&this.setDefaultLang(ei)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(ye){this.isolate?this._defaultLang=ye:this.store.defaultLang=ye}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(ye){this.isolate?this._currentLang=ye:this.store.currentLang=ye}get langs(){return this.isolate?this._langs:this.store.langs}set langs(ye){this.isolate?this._langs=ye:this.store.langs=ye}get translations(){return this.isolate?this._translations:this.store.translations}set translations(ye){this.isolate?this._translations=ye:this.store.translations=ye}setDefaultLang(ye){if(ye===this.defaultLang)return;let Xe=this.retrieveTranslations(ye);void 0!==Xe?(null==this.defaultLang&&(this.defaultLang=ye),Xe.pipe((0,F.q)(1)).subscribe(Ae=>{this.changeDefaultLang(ye)})):this.changeDefaultLang(ye)}getDefaultLang(){return this.defaultLang}use(ye){if(ye===this.currentLang)return(0,m.of)(this.translations[ye]);let Xe=this.retrieveTranslations(ye);return void 0!==Xe?(this.currentLang||(this.currentLang=ye),Xe.pipe((0,F.q)(1)).subscribe(Ae=>{this.changeLang(ye)}),Xe):(this.changeLang(ye),(0,m.of)(this.translations[ye]))}retrieveTranslations(ye){let Xe;return(void 0===this.translations[ye]||this.extend)&&(this._translationRequests[ye]=this._translationRequests[ye]||this.getTranslation(ye),Xe=this._translationRequests[ye]),Xe}getTranslation(ye){this.pending=!0;const Xe=this.currentLoader.getTranslation(ye).pipe(J(1),(0,F.q)(1));return this.loadingTranslations=Xe.pipe((0,ue.U)(Ae=>this.compiler.compileTranslations(Ae,ye)),J(1),(0,F.q)(1)),this.loadingTranslations.subscribe({next:Ae=>{this.translations[ye]=this.extend&&this.translations[ye]?Object.assign(Object.assign({},Ae),this.translations[ye]):Ae,this.updateLangs(),this.pending=!1},error:Ae=>{this.pending=!1}}),Xe}setTranslation(ye,Xe,Ae=!1){Xe=this.compiler.compileTranslations(Xe,ye),this.translations[ye]=(Ae||this.extend)&&this.translations[ye]?st(this.translations[ye],Xe):Xe,this.updateLangs(),this.onTranslationChange.emit({lang:ye,translations:this.translations[ye]})}getLangs(){return this.langs}addLangs(ye){ye.forEach(Xe=>{-1===this.langs.indexOf(Xe)&&this.langs.push(Xe)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(ye,Xe,Ae){let he;if(Xe instanceof Array){let nt={},Yt=!1;for(let Lt of Xe)nt[Lt]=this.getParsedResult(ye,Lt,Ae),(0,e.b)(nt[Lt])&&(Yt=!0);if(Yt){const Lt=Xe.map(Ai=>(0,e.b)(nt[Ai])?nt[Ai]:(0,m.of)(nt[Ai]));return(0,b.D)(Lt).pipe((0,ue.U)(Ai=>{let ei={};return Ai.forEach((hi,ne)=>{ei[Xe[ne]]=hi}),ei}))}return nt}if(ye&&(he=this.parser.interpolate(this.parser.getValue(ye,Xe),Ae)),void 0===he&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(he=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],Xe),Ae)),void 0===he){let nt={key:Xe,translateService:this};void 0!==Ae&&(nt.interpolateParams=Ae),he=this.missingTranslationHandler.handle(nt)}return void 0!==he?he:Xe}get(ye,Xe){if(!yt(ye)||!ye.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,ce.b)(Ae=>(Ae=this.getParsedResult(Ae,ye,Xe),(0,e.b)(Ae)?Ae:(0,m.of)(Ae))));{let Ae=this.getParsedResult(this.translations[this.currentLang],ye,Xe);return(0,e.b)(Ae)?Ae:(0,m.of)(Ae)}}getStreamOnTranslationChange(ye,Xe){if(!yt(ye)||!ye.length)throw new Error('Parameter "key" required');return(0,T.z)((0,k.P)(()=>this.get(ye,Xe)),this.onTranslationChange.pipe((0,Oe.w)(Ae=>{const he=this.getParsedResult(Ae.translations,ye,Xe);return"function"==typeof he.subscribe?he:(0,m.of)(he)})))}stream(ye,Xe){if(!yt(ye)||!ye.length)throw new Error('Parameter "key" required');return(0,T.z)((0,k.P)(()=>this.get(ye,Xe)),this.onLangChange.pipe((0,Oe.w)(Ae=>{const he=this.getParsedResult(Ae.translations,ye,Xe);return(0,e.b)(he)?he:(0,m.of)(he)})))}instant(ye,Xe){if(!yt(ye)||!ye.length)throw new Error('Parameter "key" required');let Ae=this.getParsedResult(this.translations[this.currentLang],ye,Xe);if((0,e.b)(Ae)){if(ye instanceof Array){let he={};return ye.forEach((nt,Yt)=>{he[ye[Yt]]=ye[Yt]}),he}return ye}return Ae}set(ye,Xe,Ae=this.currentLang){this.translations[Ae][ye]=this.compiler.compile(Xe,Ae),this.updateLangs(),this.onTranslationChange.emit({lang:Ae,translations:this.translations[Ae]})}changeLang(ye){this.currentLang=ye,this.onLangChange.emit({lang:ye,translations:this.translations[ye]}),null==this.defaultLang&&this.changeDefaultLang(ye)}changeDefaultLang(ye){this.defaultLang=ye,this.onDefaultLangChange.emit({lang:ye,translations:this.translations[ye]})}reloadLang(ye){return this.resetLang(ye),this.getTranslation(ye)}resetLang(ye){this._translationRequests[ye]=void 0,this.translations[ye]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let ye=window.navigator.languages?window.navigator.languages[0]:null;return ye=ye||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==ye?(-1!==ye.indexOf("-")&&(ye=ye.split("-")[0]),-1!==ye.indexOf("_")&&(ye=ye.split("_")[0]),ye):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let ye=window.navigator.languages?window.navigator.languages[0]:null;return ye=ye||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,ye}}return bt.\u0275fac=function(ye){return new(ye||bt)(c.LFG(xt),c.LFG(Pe),c.LFG(at),c.LFG(Te),c.LFG(Ge),c.LFG(Ye),c.LFG(tt),c.LFG(ie),c.LFG(qe))},bt.\u0275prov=c.Yz7({token:bt,factory:bt.\u0275fac}),bt})(),kt=(()=>{class bt{constructor(ye,Xe){this.translate=ye,this._ref=Xe,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(ye,Xe,Ae){let he=nt=>{this.value=void 0!==nt?nt:ye,this.lastKey=ye,this._ref.markForCheck()};if(Ae){let nt=this.translate.getParsedResult(Ae,ye,Xe);(0,e.b)(nt.subscribe)?nt.subscribe(he):he(nt)}this.translate.get(ye,Xe).subscribe(he)}transform(ye,...Xe){if(!ye||!ye.length)return ye;if(Ne(ye,this.lastKey)&&Ne(Xe,this.lastParams))return this.value;let Ae;if(yt(Xe[0])&&Xe.length)if("string"==typeof Xe[0]&&Xe[0].length){let he=Xe[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{Ae=JSON.parse(he)}catch(nt){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${Xe[0]}`)}}else"object"==typeof Xe[0]&&!Array.isArray(Xe[0])&&(Ae=Xe[0]);return this.lastKey=ye,this.lastParams=Xe,this.updateValue(ye,Ae),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(he=>{this.lastKey&&he.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(ye,Ae,he.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(he=>{this.lastKey&&(this.lastKey=null,this.updateValue(ye,Ae,he.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(ye,Ae))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return bt.\u0275fac=function(ye){return new(ye||bt)(c.Y36(ke,16),c.Y36(c.sBO,16))},bt.\u0275pipe=c.Yjl({name:"translate",type:bt,pure:!1}),bt.\u0275prov=c.Yz7({token:bt,factory:bt.\u0275fac}),bt})(),ri=(()=>{class bt{static forRoot(ye={}){return{ngModule:bt,providers:[ye.loader||{provide:Pe,useClass:de},ye.compiler||{provide:at,useClass:_e},ye.parser||{provide:Te,useClass:Le},ye.missingTranslationHandler||{provide:Ge,useClass:le},xt,{provide:tt,useValue:ye.isolate},{provide:Ye,useValue:ye.useDefaultLang},{provide:ie,useValue:ye.extend},{provide:qe,useValue:ye.defaultLanguage},ke]}}static forChild(ye={}){return{ngModule:bt,providers:[ye.loader||{provide:Pe,useClass:de},ye.compiler||{provide:at,useClass:_e},ye.parser||{provide:Te,useClass:Le},ye.missingTranslationHandler||{provide:Ge,useClass:le},{provide:tt,useValue:ye.isolate},{provide:Ye,useValue:ye.useDefaultLang},{provide:ie,useValue:ye.extend},{provide:qe,useValue:ye.defaultLanguage},ke]}}}return bt.\u0275fac=function(ye){return new(ye||bt)},bt.\u0275mod=c.oAB({type:bt}),bt.\u0275inj=c.cJS({}),bt})()},5902:(B,U,C)=>{"use strict";C.d(U,{K$:()=>mf,Dw:()=>sv,a4:()=>xf,JU:()=>gf,Nm:()=>dv});var c=C(5e3),m=C(9808),e=C(655),b=C(7429),T=C(4968),k=C(8372),F=C(1777);function V(){}function X(u){return null==u?V:function(){return this.querySelector(u)}}function ue(u){return"object"==typeof u&&"length"in u?u:Array.from(u)}function ce(){return[]}function Oe(u){return null==u?ce:function(){return this.querySelectorAll(u)}}function Ge(u){return function(){return this.matches(u)}}function le(u){return function(f){return f.matches(u)}}var Ne=Array.prototype.find;function jt(){return this.firstElementChild}var Te=Array.prototype.filter;function Le(){return this.children}function tt(u){return new Array(u.length)}function qe(u,f){this.ownerDocument=u.ownerDocument,this.namespaceURI=u.namespaceURI,this._next=null,this._parent=u,this.__data__=f}function ie(u){return function(){return u}}function ke(u,f,r,p,x,D){for(var G,I=0,me=f.length,fe=D.length;If?1:u>=f?0:NaN}qe.prototype={constructor:qe,appendChild:function(u){return this._parent.insertBefore(u,this._next)},insertBefore:function(u,f){return this._parent.insertBefore(u,f)},querySelector:function(u){return this._parent.querySelector(u)},querySelectorAll:function(u){return this._parent.querySelectorAll(u)}};var ne="http://www.w3.org/1999/xhtml";const Tt={svg:"http://www.w3.org/2000/svg",xhtml:ne,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Se(u){var f=u+="",r=f.indexOf(":");return r>=0&&"xmlns"!==(f=u.slice(0,r))&&(u=u.slice(r+1)),Tt.hasOwnProperty(f)?{space:Tt[f],local:u}:u}function ut(u){return function(){this.removeAttribute(u)}}function ni(u){return function(){this.removeAttributeNS(u.space,u.local)}}function ki(u,f){return function(){this.setAttribute(u,f)}}function dn(u,f){return function(){this.setAttributeNS(u.space,u.local,f)}}function ai(u,f){return function(){var r=f.apply(this,arguments);null==r?this.removeAttribute(u):this.setAttribute(u,r)}}function ti(u,f){return function(){var r=f.apply(this,arguments);null==r?this.removeAttributeNS(u.space,u.local):this.setAttributeNS(u.space,u.local,r)}}function Y(u){return u.ownerDocument&&u.ownerDocument.defaultView||u.document&&u||u.defaultView}function ee(u){return function(){this.style.removeProperty(u)}}function A(u,f,r){return function(){this.style.setProperty(u,f,r)}}function et(u,f,r){return function(){var p=f.apply(this,arguments);null==p?this.style.removeProperty(u):this.style.setProperty(u,p,r)}}function we(u,f){return u.style.getPropertyValue(f)||Y(u).getComputedStyle(u,null).getPropertyValue(f)}function De(u){return function(){delete this[u]}}function ct(u,f){return function(){this[u]=f}}function Et(u,f){return function(){var r=f.apply(this,arguments);null==r?delete this[u]:this[u]=r}}function _i(u){return u.trim().split(/^|\s+/)}function di(u){return u.classList||new zt(u)}function zt(u){this._node=u,this._names=_i(u.getAttribute("class")||"")}function Bi(u,f){for(var r=di(u),p=-1,x=f.length;++p=0&&(r=f.slice(p+1),f=f.slice(0,p)),{type:f,name:r}})}function sa(u){return function(){var f=this.__on;if(f){for(var D,r=0,p=-1,x=f.length;r=0&&(this._names.splice(f,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(u){return this._names.indexOf(u)>=0}};var ma=[null];function yn(u,f){this._groups=u,this._parents=f}function $i(){return new yn([[document.documentElement]],ma)}yn.prototype=$i.prototype={constructor:yn,select:function J(u){"function"!=typeof u&&(u=X(u));for(var f=this._groups,r=f.length,p=new Array(r),x=0;x=vi&&(vi=bi+1);!(Ki=St[vi])&&++vi=0;)(I=p[x])&&(D&&4^I.compareDocumentPosition(D)&&D.parentNode.insertBefore(I,D),D=I);return this},sort:function Ae(u){function f(dt,ft){return dt&&ft?u(dt.__data__,ft.__data__):!dt-!ft}u||(u=he);for(var r=this._groups,p=r.length,x=new Array(p),D=0;D1?this.each((null==f?ee:"function"==typeof f?et:A)(u,f,null==r?"":r)):we(this.node(),u)},property:function Gt(u,f){return arguments.length>1?this.each((null==f?De:"function"==typeof f?Et:ct)(u,f)):this.node()[u]},classed:function it(u,f){var r=_i(u+"");if(arguments.length<2){for(var p=di(this.node()),x=-1,D=r.length;++x{}};function Ia(){for(var p,u=0,f=arguments.length,r={};u=0&&(p=r.slice(x+1),r=r.slice(0,x)),r&&!f.hasOwnProperty(r))throw new Error("unknown type: "+r);return{type:r,name:p}})}function Yn(u,f){for(var x,r=0,p=u.length;r0)for(var x,D,r=new Array(x),p=0;p>8&15|f>>4&240,f>>4&15|240&f,(15&f)<<4|15&f,1):8===r?cr(f>>24&255,f>>16&255,f>>8&255,(255&f)/255):4===r?cr(f>>12&15|f>>8&240,f>>8&15|f>>4&240,f>>4&15|240&f,((15&f)<<4|15&f)/255):null):(f=Mo.exec(u))?new Xa(f[1],f[2],f[3],1):(f=an.exec(u))?new Xa(255*f[1]/100,255*f[2]/100,255*f[3]/100,1):(f=sc.exec(u))?cr(f[1],f[2],f[3],f[4]):(f=Ks.exec(u))?cr(255*f[1]/100,255*f[2]/100,255*f[3]/100,f[4]):(f=Ms.exec(u))?ls(f[1],f[2]/100,f[3]/100,1):(f=js.exec(u))?ls(f[1],f[2]/100,f[3]/100,f[4]):Do.hasOwnProperty(u)?$o(Do[u]):"transparent"===u?new Xa(NaN,NaN,NaN,0):null}function $o(u){return new Xa(u>>16&255,u>>8&255,255&u,1)}function cr(u,f,r,p){return p<=0&&(u=f=r=NaN),new Xa(u,f,r,p)}function lc(u){return u instanceof Nr||(u=Zr(u)),u?new Xa((u=u.rgb()).r,u.g,u.b,u.opacity):new Xa}function Tr(u,f,r,p){return 1===arguments.length?lc(u):new Xa(u,f,r,null==p?1:p)}function Xa(u,f,r,p){this.r=+u,this.g=+f,this.b=+r,this.opacity=+p}function Uo(){return"#"+qr(this.r)+qr(this.g)+qr(this.b)}function ss(){var u=this.opacity;return(1===(u=isNaN(u)?1:Math.max(0,Math.min(1,u)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===u?")":", "+u+")")}function qr(u){return((u=Math.max(0,Math.min(255,Math.round(u)||0)))<16?"0":"")+u.toString(16)}function ls(u,f,r,p){return p<=0?u=f=r=NaN:r<=0||r>=1?u=f=NaN:f<=0&&(u=NaN),new Ha(u,f,r,p)}function Js(u){if(u instanceof Ha)return new Ha(u.h,u.s,u.l,u.opacity);if(u instanceof Nr||(u=Zr(u)),!u)return new Ha;if(u instanceof Ha)return u;var f=(u=u.rgb()).r/255,r=u.g/255,p=u.b/255,x=Math.min(f,r,p),D=Math.max(f,r,p),I=NaN,G=D-x,me=(D+x)/2;return G?(I=f===D?(r-p)/G+6*(r0&&me<1?0:I,new Ha(I,G,me,u.opacity)}function Ha(u,f,r,p){this.h=+u,this.s=+f,this.l=+r,this.opacity=+p}function zo(u,f,r){return 255*(u<60?f+(r-f)*u/60:u<180?r:u<240?f+(r-f)*(240-u)/60:f)}function Jr(u,f,r,p,x){var D=u*u,I=D*u;return((1-3*u+3*D-I)*f+(4-6*D+3*I)*r+(1+3*u+3*D-3*I)*p+I*x)/6}Bo(Nr,Zr,{copy:function(u){return Object.assign(new this.constructor,this,u)},displayable:function(){return this.rgb().displayable()},hex:Ur,formatHex:Ur,formatHsl:function Ws(){return Js(this).formatHsl()},formatRgb:qs,toString:qs}),Bo(Xa,Tr,Ka(Nr,{brighter:function(u){return u=null==u?Ya:Math.pow(Ya,u),new Xa(this.r*u,this.g*u,this.b*u,this.opacity)},darker:function(u){return u=null==u?.7:Math.pow(.7,u),new Xa(this.r*u,this.g*u,this.b*u,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Uo,formatHex:Uo,formatRgb:ss,toString:ss})),Bo(Ha,function Mr(u,f,r,p){return 1===arguments.length?Js(u):new Ha(u,f,r,null==p?1:p)},Ka(Nr,{brighter:function(u){return u=null==u?Ya:Math.pow(Ya,u),new Ha(this.h,this.s,this.l*u,this.opacity)},darker:function(u){return u=null==u?.7:Math.pow(.7,u),new Ha(this.h,this.s,this.l*u,this.opacity)},rgb:function(){var u=this.h%360+360*(this.h<0),f=isNaN(u)||isNaN(this.s)?0:this.s,r=this.l,p=r+(r<.5?r:1-r)*f,x=2*r-p;return new Xa(zo(u>=240?u-240:u+120,x,p),zo(u,x,p),zo(u<120?u+240:u-120,x,p),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var u=this.opacity;return(1===(u=isNaN(u)?1:Math.max(0,Math.min(1,u)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===u?")":", "+u+")")}}));const La=u=>()=>u;function na(u,f){var r=f-u;return r?function Pa(u,f){return function(r){return u+r*f}}(u,r):La(isNaN(u)?f:u)}const Hn=function u(f){var r=function Qo(u){return 1==(u=+u)?na:function(f,r){return r-f?function dr(u,f,r){return u=Math.pow(u,r),f=Math.pow(f,r)-u,r=1/r,function(p){return Math.pow(u+p*f,r)}}(f,r,u):La(isNaN(f)?r:f)}}(f);function p(x,D){var I=r((x=Tr(x)).r,(D=Tr(D)).r),G=r(x.g,D.g),me=r(x.b,D.b),fe=na(x.opacity,D.opacity);return function(Ue){return x.r=I(Ue),x.g=G(Ue),x.b=me(Ue),x.opacity=fe(Ue),x+""}}return p.gamma=u,p}(1);function $r(u){return function(f){var I,G,r=f.length,p=new Array(r),x=new Array(r),D=new Array(r);for(I=0;I=1?(r=1,f-1):Math.floor(r*f),x=u[p],D=u[p+1];return Jr((r-p/f)*f,p>0?u[p-1]:2*x-D,x,D,pr&&(D=f.slice(r,D),G[I]?G[I]+=D:G[++I]=D),(p=p[0])===(x=x[0])?G[I]?G[I]+=x:G[++I]=x:(G[++I]=null,me.push({i:I,x:fa(p,x)})),r=Oa.lastIndex;return r=0&&u._call.call(null,f),u=u._next;--_r}()}finally{_r=0,function mo(){for(var u,r,f=wr,p=1/0;f;)f._call?(p>f._time&&(p=f._time),u=f,f=f._next):(r=f._next,f._next=null,f=u?u._next=r:wr=r);Qt=u,Vn(p)}(),er=0}}function Sr(){var u=Ma.now(),f=u-Tn;f>1e3&&(pr-=f,Tn=u)}function Vn(u){_r||(Er&&(Er=clearTimeout(Er)),u-er>24?(u<1/0&&(Er=setTimeout(Ea,u-Ma.now()-pr)),Eo&&(Eo=clearInterval(Eo))):(Eo||(Tn=Ma.now(),Eo=setInterval(Sr,1e3)),_r=1,te(Ea)))}function Ar(u,f,r){var p=new Ce;return p.restart(x=>{p.stop(),u(x+f)},f=null==f?0:+f,r),p}Ce.prototype=Bt.prototype={constructor:Ce,restart:function(u,f,r){if("function"!=typeof u)throw new TypeError("callback is not a function");r=(null==r?q():+r)+(null==f?0:+f),!this._next&&Qt!==this&&(Qt?Qt._next=this:wr=this,Qt=this),this._call=u,this._time=r,Vn()},stop:function(){this._call&&(this._call=null,this._time=1/0,Vn())}};var Bl=sr("start","end","cancel","interrupt"),zn=[];function zs(u,f,r,p,x,D){var I=u.__transition;if(I){if(r in I)return}else u.__transition={};!function hr(u,f,r){var x,p=u.__transition;function I(fe){var Ue,dt,ft,wt;if(1!==r.state)return me();for(Ue in p)if((wt=p[Ue]).name===r.name){if(3===wt.state)return Ar(I);4===wt.state?(wt.state=6,wt.timer.stop(),wt.on.call("interrupt",u,u.__data__,wt.index,wt.group),delete p[Ue]):+Ue0)throw new Error("too late; already scheduled");return r}function io(u,f){var r=no(u,f);if(r.state>3)throw new Error("too late; already running");return r}function no(u,f){var r=u.__transition;if(!r||!(r=r[f]))throw new Error("transition not found");return r}function Qs(u,f){var p,x,I,r=u.__transition,D=!0;if(r){for(I in f=null==f?null:f+"",r)(p=r[I]).name===f?(x=p.state>2&&p.state<5,p.state=6,p.timer.stop(),p.on.call(x?"interrupt":"cancel",u,u.__data__,p.index,p.group),delete r[I]):D=!1;D&&delete u.__transition}}var W,Ss=180/Math.PI,K={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function se(u,f,r,p,x,D){var I,G,me;return(I=Math.sqrt(u*u+f*f))&&(u/=I,f/=I),(me=u*r+f*p)&&(r-=u*me,p-=f*me),(G=Math.sqrt(r*r+p*p))&&(r/=G,p/=G,me/=G),u*p180?Ue+=360:Ue-fe>180&&(fe+=360),ft.push({i:dt.push(x(dt)+"rotate(",null,p)-2,x:fa(fe,Ue)})):Ue&&dt.push(x(dt)+"rotate("+Ue+p)}(fe.rotate,Ue.rotate,dt,ft),function G(fe,Ue,dt,ft){fe!==Ue?ft.push({i:dt.push(x(dt)+"skewX(",null,p)-2,x:fa(fe,Ue)}):Ue&&dt.push(x(dt)+"skewX("+Ue+p)}(fe.skewX,Ue.skewX,dt,ft),function me(fe,Ue,dt,ft,wt,oi){if(fe!==dt||Ue!==ft){var Mi=wt.push(x(wt)+"scale(",null,",",null,")");oi.push({i:Mi-4,x:fa(fe,dt)},{i:Mi-2,x:fa(Ue,ft)})}else(1!==dt||1!==ft)&&wt.push(x(wt)+"scale("+dt+","+ft+")")}(fe.scaleX,fe.scaleY,Ue.scaleX,Ue.scaleY,dt,ft),fe=Ue=null,function(wt){for(var St,oi=-1,Mi=ft.length;++oi>8&15|f>>4&240,f>>4&15|240&f,(15&f)<<4|15&f,1):8===r?_c(f>>24&255,f>>16&255,f>>8&255,(255&f)/255):4===r?_c(f>>12&15|f>>8&240,f>>8&15|f>>4&240,f>>4&15|240&f,((15&f)<<4|15&f)/255):null):(f=dc.exec(u))?new wo(f[1],f[2],f[3],1):(f=Sd.exec(u))?new wo(255*f[1]/100,255*f[2]/100,255*f[3]/100,1):(f=Yl.exec(u))?_c(f[1],f[2],f[3],f[4]):(f=Yc.exec(u))?_c(255*f[1]/100,255*f[2]/100,255*f[3]/100,f[4]):(f=Ad.exec(u))?Gc(f[1],f[2]/100,f[3]/100,1):(f=pu.exec(u))?Gc(f[1],f[2]/100,f[3]/100,f[4]):hu.hasOwnProperty(u)?uc(hu[u]):"transparent"===u?new wo(NaN,NaN,NaN,0):null}function uc(u){return new wo(u>>16&255,u>>8&255,255&u,1)}function _c(u,f,r,p){return p<=0&&(u=f=r=NaN),new wo(u,f,r,p)}function gu(u){return u instanceof Qn||(u=Hl(u)),u?new wo((u=u.rgb()).r,u.g,u.b,u.opacity):new wo}function wo(u,f,r,p){this.r=+u,this.g=+f,this.b=+r,this.opacity=+p}function Xs(){return"#"+Cl(this.r)+Cl(this.g)+Cl(this.b)}function pc(){var u=this.opacity;return(1===(u=isNaN(u)?1:Math.max(0,Math.min(1,u)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===u?")":", "+u+")")}function Cl(u){return((u=Math.max(0,Math.min(255,Math.round(u)||0)))<16?"0":"")+u.toString(16)}function Gc(u,f,r,p){return p<=0?u=f=r=NaN:r<=0||r>=1?u=f=NaN:f<=0&&(u=NaN),new $e(u,f,r,p)}function Kc(u){if(u instanceof $e)return new $e(u.h,u.s,u.l,u.opacity);if(u instanceof Qn||(u=Hl(u)),!u)return new $e;if(u instanceof $e)return u;var f=(u=u.rgb()).r/255,r=u.g/255,p=u.b/255,x=Math.min(f,r,p),D=Math.max(f,r,p),I=NaN,G=D-x,me=(D+x)/2;return G?(I=f===D?(r-p)/G+6*(r0&&me<1?0:I,new $e(I,G,me,u.opacity)}function $e(u,f,r,p){this.h=+u,this.s=+f,this.l=+r,this.opacity=+p}function Mn(u,f,r){return 255*(u<60?f+(r-f)*u/60:u<180?r:u<240?f+(r-f)*(240-u)/60:f)}function Ke(u,f){var r;return("number"==typeof f?fa:f instanceof Hl?Hn:(r=Hl(f))?(f=r,Hn):Ra)(u,f)}function Di(u){return function(){this.removeAttribute(u)}}function Vl(u){return function(){this.removeAttributeNS(u.space,u.local)}}function Ri(u,f,r){var p,D,x=r+"";return function(){var I=this.getAttribute(u);return I===x?null:I===p?D:D=f(p=I,r)}}function Gl(u,f,r){var p,D,x=r+"";return function(){var I=this.getAttributeNS(u.space,u.local);return I===x?null:I===p?D:D=f(p=I,r)}}function Vr(u,f,r){var p,x,D;return function(){var I,me,G=r(this);return null==G?void this.removeAttribute(u):(I=this.getAttribute(u))===(me=G+"")?null:I===p&&me===x?D:(x=me,D=f(p=I,G))}}function Od(u,f,r){var p,x,D;return function(){var I,me,G=r(this);return null==G?void this.removeAttributeNS(u.space,u.local):(I=this.getAttributeNS(u.space,u.local))===(me=G+"")?null:I===p&&me===x?D:(x=me,D=f(p=I,G))}}function Ls(u,f){return function(r){this.setAttribute(u,f.call(this,r))}}function Kl(u,f){return function(r){this.setAttributeNS(u.space,u.local,f.call(this,r))}}function hc(u,f){var r,p;function x(){var D=f.apply(this,arguments);return D!==p&&(r=(p=D)&&Kl(u,D)),r}return x._value=f,x}function Os(u,f){var r,p;function x(){var D=f.apply(this,arguments);return D!==p&&(r=(p=D)&&Ls(u,D)),r}return x._value=f,x}function es(u,f){return function(){cs(this,u).delay=+f.apply(this,arguments)}}function kd(u,f){return f=+f,function(){cs(this,u).delay=f}}function ks(u,f){return function(){io(this,u).duration=+f.apply(this,arguments)}}function Is(u,f){return f=+f,function(){io(this,u).duration=f}}function jc(u,f){if("function"!=typeof f)throw new Error;return function(){io(this,u).ease=f}}function So(u,f,r){var p,x,D=function us(u){return(u+"").trim().split(/^|\s+/).every(function(f){var r=f.indexOf(".");return r>=0&&(f=f.slice(0,r)),!f||"start"===f})}(f)?cs:io;return function(){var I=D(this,u),G=I.on;G!==p&&(x=(p=G).copy()).on(f,r),I.on=x}}ka(Qn,Hl,{copy:function(u){return Object.assign(new this.constructor,this,u)},displayable:function(){return this.rgb().displayable()},hex:mu,formatHex:mu,formatHsl:function Hc(){return Kc(this).formatHsl()},formatRgb:Vc,toString:Vc}),ka(wo,function mr(u,f,r,p){return 1===arguments.length?gu(u):new wo(u,f,r,null==p?1:p)},Gn(Qn,{brighter:function(u){return u=null==u?ao:Math.pow(ao,u),new wo(this.r*u,this.g*u,this.b*u,this.opacity)},darker:function(u){return u=null==u?.7:Math.pow(.7,u),new wo(this.r*u,this.g*u,this.b*u,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Xs,formatHex:Xs,formatRgb:pc,toString:pc})),ka($e,function Ld(u,f,r,p){return 1===arguments.length?Kc(u):new $e(u,f,r,null==p?1:p)},Gn(Qn,{brighter:function(u){return u=null==u?ao:Math.pow(ao,u),new $e(this.h,this.s,this.l*u,this.opacity)},darker:function(u){return u=null==u?.7:Math.pow(.7,u),new $e(this.h,this.s,this.l*u,this.opacity)},rgb:function(){var u=this.h%360+360*(this.h<0),f=isNaN(u)||isNaN(this.s)?0:this.s,r=this.l,p=r+(r<.5?r:1-r)*f,x=2*r-p;return new wo(Mn(u>=240?u-240:u+120,x,p),Mn(u,x,p),Mn(u<120?u+240:u-120,x,p),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var u=this.opacity;return(1===(u=isNaN(u)?1:Math.max(0,Math.min(1,u)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===u?")":", "+u+")")}}));var ca=ga.prototype.constructor;function vu(u){return function(){this.style.removeProperty(u)}}function ps(u,f,r){return function(p){this.style.setProperty(u,f.call(this,p),r)}}function xu(u,f,r){var p,x;function D(){var I=f.apply(this,arguments);return I!==x&&(p=(x=I)&&ps(u,I,r)),p}return D._value=f,D}function A_(u){return function(f){this.textContent=u.call(this,f)}}function xl(u){var f,r;function p(){var x=u.apply(this,arguments);return x!==r&&(f=(r=x)&&A_(x)),f}return p._value=u,p}var ts=0;function Ho(u,f,r,p){this._groups=u,this._parents=f,this._name=r,this._id=p}function O(){return++ts}var P=ga.prototype;Ho.prototype=function Bd(u){return ga().transition(u)}.prototype={constructor:Ho,select:function Wc(u){var f=this._name,r=this._id;"function"!=typeof u&&(u=X(u));for(var p=this._groups,x=p.length,D=new Array(x),I=0;I()=>u;function Ti(u,{sourceEvent:f,target:r,selection:p,mode:x,dispatch:D}){Object.defineProperties(this,{type:{value:u,enumerable:!0,configurable:!0},sourceEvent:{value:f,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},selection:{value:p,enumerable:!0,configurable:!0},mode:{value:x,enumerable:!0,configurable:!0},_:{value:D}})}function mn(u){u.stopImmediatePropagation()}function Pn(u){u.preventDefault(),u.stopImmediatePropagation()}var ro={name:"drag"},gr={name:"space"},Wa={name:"handle"},fo={name:"center"};const{abs:il,max:aa,min:da}=Math;function bl(u){return[+u[0],+u[1]]}function Xn(u){return[bl(u[0]),bl(u[1])]}var Ud={name:"x",handles:["w","e"].map(fc),input:function(u,f){return null==u?null:[[+u[0],f[0][1]],[+u[1],f[1][1]]]},output:function(u){return u&&[u[0][0],u[1][0]]}},qc={name:"y",handles:["n","s"].map(fc),input:function(u,f){return null==u?null:[[f[0][0],+u[0]],[f[1][0],+u[1]]]},output:function(u){return u&&[u[0][1],u[1][1]]}},Gr=(["n","w","e","s","nw","ne","sw","se"].map(fc),{overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"}),nl={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},L_={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},so={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},Rs={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function fc(u){return{type:u}}function bu(u){return!u.ctrlKey&&!u.button}function Fs(){var u=this.ownerSVGElement||this;return u.hasAttribute("viewBox")?[[(u=u.viewBox.baseVal).x,u.y],[u.x+u.width,u.y+u.height]]:[[0,0],[u.width.baseVal.value,u.height.baseVal.value]]}function Bp(){return navigator.maxTouchPoints||"ontouchstart"in this}function yu(u){for(;!u.__brush;)if(!(u=u.parentNode))return;return u.__brush}function Up(u){return u[0][0]===u[1][0]||u[0][1]===u[1][1]}function ms(u,f){return uf?1:u>=f?0:NaN}function is(u){let f=u,r=u;function p(I,G,me,fe){for(null==me&&(me=0),null==fe&&(fe=I.length);me>>1;r(I[Ue],G)<0?me=Ue+1:fe=Ue}return me}return 1===u.length&&(f=(I,G)=>u(I)-G,r=function Yd(u){return(f,r)=>ms(u(f),r)}(u)),{left:p,center:function D(I,G,me,fe){null==me&&(me=0),null==fe&&(fe=I.length);const Ue=p(I,G,me,fe-1);return Ue>me&&f(I[Ue-1],G)>-f(I[Ue],G)?Ue-1:Ue},right:function x(I,G,me,fe){for(null==me&&(me=0),null==fe&&(fe=I.length);me>>1;r(I[Ue],G)>0?fe=Ue:me=Ue+1}return me}}}var Hd=Math.sqrt(50),Tu=Math.sqrt(10),Mu=Math.sqrt(2);function vc(u,f,r){var p=(f-u)/Math.max(0,r),x=Math.floor(Math.log(p)/Math.LN10),D=p/Math.pow(10,x);return x>=0?(D>=Hd?10:D>=Tu?5:D>=Mu?2:1)*Math.pow(10,x):-Math.pow(10,-x)/(D>=Hd?10:D>=Tu?5:D>=Mu?2:1)}function Du(u,f,r){var p=Math.abs(f-u)/Math.max(0,r),x=Math.pow(10,Math.floor(Math.log(p)/Math.LN10)),D=p/x;return D>=Hd?x*=10:D>=Tu?x*=5:D>=Mu&&(x*=2),f0))return me;do{me.push(fe=new Date(+D)),f(D,G),u(D)}while(fe=I)for(;u(I),!D(I);)I.setTime(I-1)},function(I,G){if(I>=I)if(G<0)for(;++G<=0;)for(;f(I,-1),!D(I););else for(;--G>=0;)for(;f(I,1),!D(I););})},r&&(x.count=function(D,I){return yl.setTime(+D),ol.setTime(+I),u(yl),u(ol),Math.floor(r(yl,ol))},x.every=function(D){return D=Math.floor(D),isFinite(D)&&D>0?D>1?x.filter(p?function(I){return p(I)%D==0}:function(I){return x.count(0,I)%D==0}):x:null}),x}var fn=qa(function(){},function(u,f){u.setTime(+u+f)},function(u,f){return f-u});fn.every=function(u){return u=Math.floor(u),isFinite(u)&&u>0?u>1?qa(function(f){f.setTime(Math.floor(f/u)*u)},function(f,r){f.setTime(+f+r*u)},function(f,r){return(r-f)/u}):fn:null};const M=fn;const re=qa(function(u){u.setTime(u-u.getMilliseconds())},function(u,f){u.setTime(+u+f*Vo)},function(u,f){return(f-u)/Vo},function(u){return u.getUTCSeconds()});const Kt=qa(function(u){u.setTime(u-u.getMilliseconds()-u.getSeconds()*Vo)},function(u,f){u.setTime(+u+f*lo)},function(u,f){return(f-u)/lo},function(u){return u.getMinutes()});const Ca=qa(function(u){u.setTime(u-u.getMilliseconds()-u.getSeconds()*Vo-u.getMinutes()*lo)},function(u,f){u.setTime(+u+f*al)},function(u,f){return(f-u)/al},function(u){return u.getHours()});const Ns=qa(u=>u.setHours(0,0,0,0),(u,f)=>u.setDate(u.getDate()+f),(u,f)=>(f-u-(f.getTimezoneOffset()-u.getTimezoneOffset())*lo)/xc,u=>u.getDate()-1);function zc(u){return qa(function(f){f.setDate(f.getDate()-(f.getDay()+7-u)%7),f.setHours(0,0,0,0)},function(f,r){f.setDate(f.getDate()+7*r)},function(f,r){return(r-f-(r.getTimezoneOffset()-f.getTimezoneOffset())*lo)/$c})}var wu=zc(0),Vd=zc(1),Va=(zc(2),zc(3),zc(4));const Gp=(zc(5),zc(6),qa(function(u){u.setDate(1),u.setHours(0,0,0,0)},function(u,f){u.setMonth(u.getMonth()+f)},function(u,f){return f.getMonth()-u.getMonth()+12*(f.getFullYear()-u.getFullYear())},function(u){return u.getMonth()}));var tr=qa(function(u){u.setMonth(0,1),u.setHours(0,0,0,0)},function(u,f){u.setFullYear(u.getFullYear()+f)},function(u,f){return f.getFullYear()-u.getFullYear()},function(u){return u.getFullYear()});tr.every=function(u){return isFinite(u=Math.floor(u))&&u>0?qa(function(f){f.setFullYear(Math.floor(f.getFullYear()/u)*u),f.setMonth(0,1),f.setHours(0,0,0,0)},function(f,r){f.setFullYear(f.getFullYear()+r*u)}):null};const sl=tr;const fr=qa(function(u){u.setUTCSeconds(0,0)},function(u,f){u.setTime(+u+f*lo)},function(u,f){return(f-u)/lo},function(u){return u.getUTCMinutes()});const Pf=qa(function(u){u.setUTCMinutes(0,0,0)},function(u,f){u.setTime(+u+f*al)},function(u,f){return(f-u)/al},function(u){return u.getUTCHours()});const Em=qa(function(u){u.setUTCHours(0,0,0,0)},function(u,f){u.setUTCDate(u.getUTCDate()+f)},function(u,f){return(f-u)/xc},function(u){return u.getUTCDate()-1});function bc(u){return qa(function(f){f.setUTCDate(f.getUTCDate()-(f.getUTCDay()+7-u)%7),f.setUTCHours(0,0,0,0)},function(f,r){f.setUTCDate(f.getUTCDate()+7*r)},function(f,r){return(r-f)/$c})}var P_=bc(0),Go=bc(1),gs=(bc(2),bc(3),bc(4));const Gd=(bc(5),bc(6),qa(function(u){u.setUTCDate(1),u.setUTCHours(0,0,0,0)},function(u,f){u.setUTCMonth(u.getUTCMonth()+f)},function(u,f){return f.getUTCMonth()-u.getUTCMonth()+12*(f.getUTCFullYear()-u.getUTCFullYear())},function(u){return u.getUTCMonth()}));var Us=qa(function(u){u.setUTCMonth(0,1),u.setUTCHours(0,0,0,0)},function(u,f){u.setUTCFullYear(u.getUTCFullYear()+f)},function(u,f){return f.getUTCFullYear()-u.getUTCFullYear()},function(u){return u.getUTCFullYear()});Us.every=function(u){return isFinite(u=Math.floor(u))&&u>0?qa(function(f){f.setUTCFullYear(Math.floor(f.getUTCFullYear()/u)*u),f.setUTCMonth(0,1),f.setUTCHours(0,0,0,0)},function(f,r){f.setUTCFullYear(f.getUTCFullYear()+r*u)}):null};const Qc=Us;function Kd(u,f,r,p,x,D){const I=[[re,1,Vo],[re,5,5e3],[re,15,15e3],[re,30,3e4],[D,1,lo],[D,5,5*lo],[D,15,15*lo],[D,30,30*lo],[x,1,al],[x,3,3*al],[x,6,6*al],[x,12,12*al],[p,1,xc],[p,2,2*xc],[r,1,$c],[f,1,O_],[f,3,3*O_],[u,1,Eu]];function me(fe,Ue,dt){const ft=Math.abs(Ue-fe)/dt,wt=is(([,,St])=>St).right(I,ft);if(wt===I.length)return u.every(Du(fe/Eu,Ue/Eu,dt));if(0===wt)return M.every(Math.max(Du(fe,Ue,dt),1));const[oi,Mi]=I[ft/I[wt-1][2][f.toLowerCase(),r]))}function Yf(u,f,r){var p=ir.exec(f.slice(r,r+1));return p?(u.w=+p[0],r+p[0].length):-1}function C0(u,f,r){var p=ir.exec(f.slice(r,r+1));return p?(u.u=+p[0],r+p[0].length):-1}function Au(u,f,r){var p=ir.exec(f.slice(r,r+2));return p?(u.U=+p[0],r+p[0].length):-1}function Hf(u,f,r){var p=ir.exec(f.slice(r,r+2));return p?(u.V=+p[0],r+p[0].length):-1}function Wp(u,f,r){var p=ir.exec(f.slice(r,r+2));return p?(u.W=+p[0],r+p[0].length):-1}function Z_(u,f,r){var p=ir.exec(f.slice(r,r+4));return p?(u.y=+p[0],r+p[0].length):-1}function qp(u,f,r){var p=ir.exec(f.slice(r,r+2));return p?(u.y=+p[0]+(+p[0]>68?1900:2e3),r+p[0].length):-1}function Jp(u,f,r){var p=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(f.slice(r,r+6));return p?(u.Z=p[1]?0:-(p[2]+(p[3]||"00")),r+p[0].length):-1}function Pm(u,f,r){var p=ir.exec(f.slice(r,r+1));return p?(u.q=3*p[0]-3,r+p[0].length):-1}function Y_(u,f,r){var p=ir.exec(f.slice(r,r+2));return p?(u.m=p[0]-1,r+p[0].length):-1}function Lu(u,f,r){var p=ir.exec(f.slice(r,r+2));return p?(u.d=+p[0],r+p[0].length):-1}function Ou(u,f,r){var p=ir.exec(f.slice(r,r+3));return p?(u.m=0,u.d=+p[0],r+p[0].length):-1}function td(u,f,r){var p=ir.exec(f.slice(r,r+2));return p?(u.H=+p[0],r+p[0].length):-1}function $p(u,f,r){var p=ir.exec(f.slice(r,r+2));return p?(u.M=+p[0],r+p[0].length):-1}function zp(u,f,r){var p=ir.exec(f.slice(r,r+2));return p?(u.S=+p[0],r+p[0].length):-1}function ku(u,f,r){var p=ir.exec(f.slice(r,r+3));return p?(u.L=+p[0],r+p[0].length):-1}function Rm(u,f,r){var p=ir.exec(f.slice(r,r+6));return p?(u.L=Math.floor(p[0]/1e3),r+p[0].length):-1}function Qp(u,f,r){var p=Zf.exec(f.slice(r,r+1));return p?r+p[0].length:-1}function Fm(u,f,r){var p=ir.exec(f.slice(r));return p?(u.Q=+p[0],r+p[0].length):-1}function Nm(u,f,r){var p=ir.exec(f.slice(r));return p?(u.s=+p[0],r+p[0].length):-1}function Xp(u,f){return oa(u.getDate(),f,2)}function eh(u,f){return oa(u.getHours(),f,2)}function Iu(u,f){return oa(u.getHours()%12||12,f,2)}function H_(u,f){return oa(1+Ns.count(sl(u),u),f,3)}function yc(u,f){return oa(u.getMilliseconds(),f,3)}function Vf(u,f){return yc(u,f)+"000"}function Bm(u,f){return oa(u.getMonth()+1,f,2)}function v0(u,f){return oa(u.getMinutes(),f,2)}function Dl(u,f){return oa(u.getSeconds(),f,2)}function Pu(u){var f=u.getDay();return 0===f?7:f}function Gf(u,f){return oa(wu.count(sl(u)-1,u),f,2)}function th(u){var f=u.getDay();return f>=4||0===f?Va(u):Va.ceil(u)}function V_(u,f){return u=th(u),oa(Va.count(sl(u),u)+(4===sl(u).getDay()),f,2)}function ih(u){return u.getDay()}function G_(u,f){return oa(Vd.count(sl(u)-1,u),f,2)}function id(u,f){return oa(u.getFullYear()%100,f,2)}function Um(u,f){return oa((u=th(u)).getFullYear()%100,f,2)}function Zs(u,f){return oa(u.getFullYear()%1e4,f,4)}function qd(u,f){var r=u.getDay();return oa((u=r>=4||0===r?Va(u):Va.ceil(u)).getFullYear()%1e4,f,4)}function K_(u){var f=u.getTimezoneOffset();return(f>0?"-":(f*=-1,"+"))+oa(f/60|0,"0",2)+oa(f%60,"0",2)}function Zm(u,f){return oa(u.getUTCDate(),f,2)}function Kf(u,f){return oa(u.getUTCHours(),f,2)}function ql(u,f){return oa(u.getUTCHours()%12||12,f,2)}function ll(u,f){return oa(1+Em.count(Qc(u),u),f,3)}function Jl(u,f){return oa(u.getUTCMilliseconds(),f,3)}function Ym(u,f){return Jl(u,f)+"000"}function nh(u,f){return oa(u.getUTCMonth()+1,f,2)}function Hm(u,f){return oa(u.getUTCMinutes(),f,2)}function ah(u,f){return oa(u.getUTCSeconds(),f,2)}function Vm(u){var f=u.getUTCDay();return 0===f?7:f}function x0(u,f){return oa(P_.count(Qc(u)-1,u),f,2)}function Ru(u){var f=u.getUTCDay();return f>=4||0===f?gs(u):gs.ceil(u)}function jf(u,f){return u=Ru(u),oa(gs.count(Qc(u),u)+(4===Qc(u).getUTCDay()),f,2)}function Wf(u){return u.getUTCDay()}function Fu(u,f){return oa(Go.count(Qc(u)-1,u),f,2)}function qf(u,f){return oa(u.getUTCFullYear()%100,f,2)}function j_(u,f){return oa((u=Ru(u)).getUTCFullYear()%100,f,2)}function fs(u,f){return oa(u.getUTCFullYear()%1e4,f,4)}function Tc(u,f){var r=u.getUTCDay();return oa((u=r>=4||0===r?gs(u):gs.ceil(u)).getUTCFullYear()%1e4,f,4)}function El(){return"+0000"}function Nu(){return"%"}function Bu(u){return+u}function oh(u){return Math.floor(+u/1e3)}function jm(u){return null===u?NaN:+u}!function z1(u){Mc=function km(u){var f=u.dateTime,r=u.date,p=u.time,x=u.periods,D=u.days,I=u.shortDays,G=u.months,me=u.shortMonths,fe=jd(x),Ue=Wd(x),dt=jd(D),ft=Wd(D),wt=jd(I),oi=Wd(I),Mi=jd(G),St=Wd(G),yi=jd(me),bi=Wd(me),vi={a:function qn(Fi){return I[Fi.getDay()]},A:function Po(Fi){return D[Fi.getDay()]},b:function ia(Fi){return me[Fi.getMonth()]},B:function Ga(Fi){return G[Fi.getMonth()]},c:null,d:Xp,e:Xp,f:Vf,g:Um,G:qd,H:eh,I:Iu,j:H_,L:yc,m:Bm,M:v0,p:function Na(Fi){return x[+(Fi.getHours()>=12)]},q:function Za(Fi){return 1+~~(Fi.getMonth()/3)},Q:Bu,s:oh,S:Dl,u:Pu,U:Gf,V:V_,w:ih,W:G_,x:null,X:null,y:id,Y:Zs,Z:K_,"%":Nu},Zi={a:function kl(Fi){return I[Fi.getUTCDay()]},A:function Pr(Fi){return D[Fi.getUTCDay()]},b:function Il(Fi){return me[Fi.getUTCMonth()]},B:function os(Fi){return G[Fi.getUTCMonth()]},c:null,d:Zm,e:Zm,f:Ym,g:j_,G:Tc,H:Kf,I:ql,j:ll,L:Jl,m:nh,M:Hm,p:function Ro(Fi){return x[+(Fi.getUTCHours()>=12)]},q:function ac(Fi){return 1+~~(Fi.getUTCMonth()/3)},Q:Bu,s:oh,S:ah,u:Vm,U:x0,V:jf,w:Wf,W:Fu,x:null,X:null,y:qf,Y:fs,Z:El,"%":Nu},Ki={a:function ea(Fi,En,Jn){var mi=wt.exec(En.slice(Jn));return mi?(Fi.w=oi.get(mi[0].toLowerCase()),Jn+mi[0].length):-1},A:function ji(Fi,En,Jn){var mi=dt.exec(En.slice(Jn));return mi?(Fi.w=ft.get(mi[0].toLowerCase()),Jn+mi[0].length):-1},b:function qi(Fi,En,Jn){var mi=yi.exec(En.slice(Jn));return mi?(Fi.m=bi.get(mi[0].toLowerCase()),Jn+mi[0].length):-1},B:function Yi(Fi,En,Jn){var mi=Mi.exec(En.slice(Jn));return mi?(Fi.m=St.get(mi[0].toLowerCase()),Jn+mi[0].length):-1},c:function ta(Fi,En,Jn){return jn(Fi,f,En,Jn)},d:Lu,e:Lu,f:Rm,g:qp,G:Z_,H:td,I:td,j:Ou,L:ku,m:Y_,M:$p,p:function wa(Fi,En,Jn){var mi=fe.exec(En.slice(Jn));return mi?(Fi.p=Ue.get(mi[0].toLowerCase()),Jn+mi[0].length):-1},q:Pm,Q:Fm,s:Nm,S:zp,u:C0,U:Au,V:Hf,w:Yf,W:Wp,x:function bo(Fi,En,Jn){return jn(Fi,r,En,Jn)},X:function pa(Fi,En,Jn){return jn(Fi,p,En,Jn)},y:qp,Y:Z_,Z:Jp,"%":Qp};function Ei(Fi,En){return function(Jn){var Rr,wn,po,mi=[],_o=-1,Da=0,Wr=Fi.length;for(Jn instanceof Date||(Jn=new Date(+Jn));++_o53)return null;"w"in mi||(mi.w=1),"Z"in mi?(Wr=(Da=B_(Xc(mi.y,0,1))).getUTCDay(),Da=Wr>4||0===Wr?Go.ceil(Da):Go(Da),Da=Em.offset(Da,7*(mi.V-1)),mi.y=Da.getUTCFullYear(),mi.m=Da.getUTCMonth(),mi.d=Da.getUTCDate()+(mi.w+6)%7):(Wr=(Da=jp(Xc(mi.y,0,1))).getDay(),Da=Wr>4||0===Wr?Vd.ceil(Da):Vd(Da),Da=Ns.offset(Da,7*(mi.V-1)),mi.y=Da.getFullYear(),mi.m=Da.getMonth(),mi.d=Da.getDate()+(mi.w+6)%7)}else("W"in mi||"U"in mi)&&("w"in mi||(mi.w="u"in mi?mi.u%7:"W"in mi?1:0),Wr="Z"in mi?B_(Xc(mi.y,0,1)).getUTCDay():jp(Xc(mi.y,0,1)).getDay(),mi.m=0,mi.d="W"in mi?(mi.w+6)%7+7*mi.W-(Wr+5)%7:mi.w+7*mi.U-(Wr+6)%7);return"Z"in mi?(mi.H+=mi.Z/100|0,mi.M+=mi.Z%100,B_(mi)):jp(mi)}}function jn(Fi,En,Jn,mi){for(var Rr,wn,_o=0,Da=En.length,Wr=Jn.length;_o=Wr)return-1;if(37===(Rr=En.charCodeAt(_o++))){if(Rr=En.charAt(_o++),!(wn=Ki[Rr in U_?En.charAt(_o++):Rr])||(mi=wn(Fi,Jn,mi))<0)return-1}else if(Rr!=Jn.charCodeAt(mi++))return-1}return mi}return vi.x=Ei(r,vi),vi.X=Ei(p,vi),vi.c=Ei(f,vi),Zi.x=Ei(r,Zi),Zi.X=Ei(p,Zi),Zi.c=Ei(f,Zi),{format:function(Fi){var En=Ei(Fi+="",vi);return En.toString=function(){return Fi},En},parse:function(Fi){var En=_a(Fi+="",!1);return En.toString=function(){return Fi},En},utcFormat:function(Fi){var En=Ei(Fi+="",Zi);return En.toString=function(){return Fi},En},utcParse:function(Fi){var En=_a(Fi+="",!0);return En.toString=function(){return Fi},En}}}(u),Gm=Mc.format}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});const b0=is(ms).right,Uu=(is(jm),b0);function Zu(u,f){return u=+u,f=+f,function(r){return Math.round(u*(1-r)+f*r)}}function W_(u){return+u}var Ua=[0,1];function $d(u){return u}function Wm(u,f){return(f-=u=+u)?function(r){return(r-u)/f}:function Jd(u){return function(){return u}}(isNaN(f)?NaN:.5)}function Yu(u,f,r){var p=u[0],x=u[1],D=f[0],I=f[1];return xf&&(r=u,u=f,f=r),function(p){return Math.max(u,Math.min(f,p))}}(u[0],u[ft-1])),G=ft>2?qm:Yu,me=fe=null,dt}function dt(ft){return null==ft||isNaN(ft=+ft)?D:(me||(me=G(u.map(p),f,r)))(p(I(ft)))}return dt.invert=function(ft){return I(x((fe||(fe=G(f,u.map(p),fa)))(ft)))},dt.domain=function(ft){return arguments.length?(u=Array.from(ft,W_),Ue()):u.slice()},dt.range=function(ft){return arguments.length?(f=Array.from(ft),Ue()):f.slice()},dt.rangeRound=function(ft){return f=Array.from(ft),r=Zu,Ue()},dt.clamp=function(ft){return arguments.length?(I=!!ft||$d,Ue()):I!==$d},dt.interpolate=function(ft){return arguments.length?(r=ft,Ue()):r},dt.unknown=function(ft){return arguments.length?(D=ft,dt):D},function(ft,wt){return p=ft,x=wt,Ue()}}()($d,$d)}function Hu(u,f){switch(arguments.length){case 0:break;case 1:this.range(u);break;default:this.range(f).domain(u)}return this}function Vu(u){return new Date(u)}function nr(u){return u instanceof Date?+u:+new Date(+u)}function Ko(u,f,r,p,x,D,I,G,me,fe){var Ue=Jm(),dt=Ue.invert,ft=Ue.domain,wt=fe(".%L"),oi=fe(":%S"),Mi=fe("%I:%M"),St=fe("%I %p"),yi=fe("%a %d"),bi=fe("%b %d"),vi=fe("%B"),Zi=fe("%Y");function Ki(Ei){return(me(Ei)=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Ao(u){if(!(f=$m.exec(u)))throw new Error("invalid format: "+u);var f;return new Lo({fill:f[1],align:f[2],sign:f[3],symbol:f[4],zero:f[5],width:f[6],comma:f[7],precision:f[8]&&f[8].slice(1),trim:f[9],type:f[10]})}function Lo(u){this.fill=void 0===u.fill?" ":u.fill+"",this.align=void 0===u.align?">":u.align+"",this.sign=void 0===u.sign?"-":u.sign+"",this.symbol=void 0===u.symbol?"":u.symbol+"",this.zero=!!u.zero,this.width=void 0===u.width?void 0:+u.width,this.comma=!!u.comma,this.precision=void 0===u.precision?void 0:+u.precision,this.trim=!!u.trim,this.type=void 0===u.type?"":u.type+""}function co(u,f){if((r=(u=f?u.toExponential(f-1):u.toExponential()).indexOf("e"))<0)return null;var r,p=u.slice(0,r);return[p.length>1?p[0]+p.slice(2):p,+u.slice(r+1)]}function Oo(u){return(u=co(Math.abs(u)))?u[1]:NaN}function q_(u,f){var r=co(u,f);if(!r)return u+"";var p=r[0],x=r[1];return x<0?"0."+new Array(-x).join("0")+p:p.length>x+1?p.slice(0,x+1)+"."+p.slice(x+1):p+new Array(x-p.length+2).join("0")}Ao.prototype=Lo.prototype,Lo.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const J_={"%":(u,f)=>(100*u).toFixed(f),b:u=>Math.round(u).toString(2),c:u=>u+"",d:function zm(u){return Math.abs(u=Math.round(u))>=1e21?u.toLocaleString("en").replace(/,/g,""):u.toString(10)},e:(u,f)=>u.toExponential(f),f:(u,f)=>u.toFixed(f),g:(u,f)=>u.toPrecision(f),o:u=>Math.round(u).toString(8),p:(u,f)=>q_(100*u,f),r:q_,s:function Xf(u,f){var r=co(u,f);if(!r)return u+"";var p=r[0],x=r[1],D=x-(Ja=3*Math.max(-8,Math.min(8,Math.floor(x/3))))+1,I=p.length;return D===I?p:D>I?p+new Array(D-I+1).join("0"):D>0?p.slice(0,D)+"."+p.slice(D):"0."+new Array(1-D).join("0")+co(u,Math.max(0,f+D-1))[0]},X:u=>Math.round(u).toString(16).toUpperCase(),x:u=>Math.round(u).toString(16)};function lh(u){return u}var va,Q_,eC,$_=Array.prototype.map,z_=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function Xm(u){var f=u.domain;return u.ticks=function(r){var p=f();return function Cc(u,f,r){var p,D,I,G,x=-1;if(r=+r,(u=+u)==(f=+f)&&r>0)return[u];if((p=f0){let me=Math.round(u/G),fe=Math.round(f/G);for(me*Gf&&--fe,I=new Array(D=fe-me+1);++xf&&--fe,I=new Array(D=fe-me+1);++x0;){if((fe=vc(I,G,r))===me)return p[x]=I,p[D]=G,f(p);if(fe>0)I=Math.floor(I/fe)*fe,G=Math.ceil(G/fe)*fe;else{if(!(fe<0))break;I=Math.ceil(I*fe)/fe,G=Math.floor(G*fe)/fe}me=fe}return u},u}function Dc(){var u=Jm();return u.copy=function(){return $f(u,Dc())},Hu.apply(u,arguments),Xm(u)}function ch(u,f,r){u=+u,f=+f,r=(x=arguments.length)<2?(f=u,u=0,1):x<3?1:+r;for(var p=-1,x=0|Math.max(0,Math.ceil((f-u)/r)),D=new Array(x);++p0&&G>0&&(me+G+1>p&&(G=Math.max(1,p-me)),D.push(r.substring(x-=G,x+G)),!((me+=G+1)>p));)G=u[I=(I+1)%u.length];return D.reverse().join(f)}}($_.call(u.grouping,Number),u.thousands+""),r=void 0===u.currency?"":u.currency[0]+"",p=void 0===u.currency?"":u.currency[1]+"",x=void 0===u.decimal?".":u.decimal+"",D=void 0===u.numerals?lh:function Cr(u){return function(f){return f.replace(/[0-9]/g,function(r){return u[+r]})}}($_.call(u.numerals,String)),I=void 0===u.percent?"%":u.percent+"",G=void 0===u.minus?"\u2212":u.minus+"",me=void 0===u.nan?"NaN":u.nan+"";function fe(dt){var ft=(dt=Ao(dt)).fill,wt=dt.align,oi=dt.sign,Mi=dt.symbol,St=dt.zero,yi=dt.width,bi=dt.comma,vi=dt.precision,Zi=dt.trim,Ki=dt.type;"n"===Ki?(bi=!0,Ki="g"):J_[Ki]||(void 0===vi&&(vi=12),Zi=!0,Ki="g"),(St||"0"===ft&&"="===wt)&&(St=!0,ft="0",wt="=");var Ei="$"===Mi?r:"#"===Mi&&/[boxX]/.test(Ki)?"0"+Ki.toLowerCase():"",_a="$"===Mi?p:/[%p]/.test(Ki)?I:"",jn=J_[Ki],wa=/[defgprs%]/.test(Ki);function ea(ji){var ta,bo,pa,qi=Ei,Yi=_a;if("c"===Ki)Yi=jn(ji)+Yi,ji="";else{var qn=(ji=+ji)<0||1/ji<0;if(ji=isNaN(ji)?me:jn(Math.abs(ji),vi),Zi&&(ji=function Qm(u){e:for(var x,f=u.length,r=1,p=-1;r0&&(p=0)}return p>0?u.slice(0,p)+u.slice(x+1):u}(ji)),qn&&0==+ji&&"+"!==oi&&(qn=!1),qi=(qn?"("===oi?oi:G:"-"===oi||"("===oi?"":oi)+qi,Yi=("s"===Ki?z_[8+Ja/3]:"")+Yi+(qn&&"("===oi?")":""),wa)for(ta=-1,bo=ji.length;++ta(pa=ji.charCodeAt(ta))||pa>57){Yi=(46===pa?x+ji.slice(ta+1):ji.slice(ta))+Yi,ji=ji.slice(0,ta);break}}bi&&!St&&(ji=f(ji,1/0));var Po=qi.length+ji.length+Yi.length,ia=Po>1)+qi+ji+Yi+ia.slice(Po);break;default:ji=ia+qi+ji+Yi}return D(ji)}return vi=void 0===vi?6:/[gprs]/.test(Ki)?Math.max(1,Math.min(21,vi)):Math.max(0,Math.min(20,vi)),ea.toString=function(){return dt+""},ea}return{format:fe,formatPrefix:function Ue(dt,ft){var wt=fe(((dt=Ao(dt)).type="f",dt)),oi=3*Math.max(-8,Math.min(8,Math.floor(Oo(ft)/3))),Mi=Math.pow(10,-oi),St=z_[8+oi/3];return function(yi){return wt(Mi*yi)+St}}}}(u),Q_=va.format,eC=va.formatPrefix}({thousands:",",grouping:[3],currency:["$",""]});const dh=Symbol("implicit");function Xd(){var u=new Map,f=[],r=[],p=dh;function x(D){var I=D+"",G=u.get(I);if(!G){if(p!==dh)return p;u.set(I,G=f.push(D))}return r[(G-1)%r.length]}return x.domain=function(D){if(!arguments.length)return f.slice();f=[],u=new Map;for(const I of D){const G=I+"";u.has(G)||u.set(G,f.push(I))}return x},x.range=function(D){return arguments.length?(r=Array.from(D),x):r.slice()},x.unknown=function(D){return arguments.length?(p=D,x):p},x.copy=function(){return Xd(f,r).unknown(p)},Hu.apply(x,arguments),x}function cl(){var D,I,u=Xd().unknown(void 0),f=u.domain,r=u.range,p=0,x=1,G=!1,me=0,fe=0,Ue=.5;function dt(){var ft=f().length,wt=x=1)return+r(u[p-1],p-1,u);var p,x=(p-1)*f,D=Math.floor(x),I=+r(u[D],D,u);return I+(+r(u[D+1],D+1,u)-I)*(x-D)}}function Ku(){var p,u=[],f=[],r=[];function x(){var I=0,G=Math.max(1,f.length);for(r=new Array(G-1);++I0?r[G-1]:u[0],GWo)if(Math.abs(Ue*G-me*fe)>Wo&&x){var ft=r-D,wt=p-I,oi=G*G+me*me,Mi=ft*ft+wt*wt,St=Math.sqrt(oi),yi=Math.sqrt(dt),bi=x*Math.tan((tg-Math.acos((oi+dt-Mi)/(2*St*yi)))/2),vi=bi/yi,Zi=bi/St;Math.abs(vi-1)>Wo&&(this._+="L"+(u+vi*fe)+","+(f+vi*Ue)),this._+="A"+x+","+x+",0,0,"+ +(Ue*ft>fe*wt)+","+(this._x1=u+Zi*G)+","+(this._y1=f+Zi*me)}else this._+="L"+(this._x1=u)+","+(this._y1=f)},arc:function(u,f,r,p,x,D){u=+u,f=+f,D=!!D;var I=(r=+r)*Math.cos(p),G=r*Math.sin(p),me=u+I,fe=f+G,Ue=1^D,dt=D?p-x:x-p;if(r<0)throw new Error("negative radius: "+r);null===this._x1?this._+="M"+me+","+fe:(Math.abs(this._x1-me)>Wo||Math.abs(this._y1-fe)>Wo)&&(this._+="L"+me+","+fe),r&&(dt<0&&(dt=dt%nd+nd),dt>wl?this._+="A"+r+","+r+",0,1,"+Ue+","+(u-I)+","+(f-G)+"A"+r+","+r+",0,1,"+Ue+","+(this._x1=me)+","+(this._y1=fe):dt>Wo&&(this._+="A"+r+","+r+",0,"+ +(dt>=tg)+","+Ue+","+(this._x1=u+r*Math.cos(x))+","+(this._y1=f+r*Math.sin(x))))},rect:function(u,f,r,p){this._+="M"+(this._x0=this._x1=+u)+","+(this._y0=this._y1=+f)+"h"+ +r+"v"+ +p+"h"+-r+"Z"},toString:function(){return this._}};const ju=uh;function Wu(u){return"object"==typeof u&&"length"in u?u:Array.from(u)}function Kn(u){return function(){return u}}function iC(u){this._context=u}function qu(u){return new iC(u)}function X_(u){return u[0]}function ep(u){return u[1]}function tu(u,f){var r=Kn(!0),p=null,x=qu,D=null;function I(G){var me,Ue,ft,fe=(G=Wu(G)).length,dt=!1;for(null==p&&(D=x(ft=ju())),me=0;me<=fe;++me)!(me=ft;--wt)G.point(bi[wt],vi[wt]);G.lineEnd(),G.areaEnd()}St&&(bi[dt]=+u(Mi,dt,Ue),vi[dt]=+f(Mi,dt,Ue),G.point(p?+p(Mi,dt,Ue):bi[dt],r?+r(Mi,dt,Ue):vi[dt]))}if(yi)return G=null,yi+""||null}function fe(){return tu().defined(x).curve(I).context(D)}return u="function"==typeof u?u:void 0===u?X_:Kn(+u),f="function"==typeof f?f:Kn(void 0===f?0:+f),r="function"==typeof r?r:void 0===r?ep:Kn(+r),me.x=function(Ue){return arguments.length?(u="function"==typeof Ue?Ue:Kn(+Ue),p=null,me):u},me.x0=function(Ue){return arguments.length?(u="function"==typeof Ue?Ue:Kn(+Ue),me):u},me.x1=function(Ue){return arguments.length?(p=null==Ue?null:"function"==typeof Ue?Ue:Kn(+Ue),me):p},me.y=function(Ue){return arguments.length?(f="function"==typeof Ue?Ue:Kn(+Ue),r=null,me):f},me.y0=function(Ue){return arguments.length?(f="function"==typeof Ue?Ue:Kn(+Ue),me):f},me.y1=function(Ue){return arguments.length?(r=null==Ue?null:"function"==typeof Ue?Ue:Kn(+Ue),me):r},me.lineX0=me.lineY0=function(){return fe().x(u).y(f)},me.lineY1=function(){return fe().x(u).y(r)},me.lineX1=function(){return fe().x(p).y(f)},me.defined=function(Ue){return arguments.length?(x="function"==typeof Ue?Ue:Kn(!!Ue),me):x},me.curve=function(Ue){return arguments.length?(I=Ue,null!=D&&(G=I(D)),me):I},me.context=function(Ue){return arguments.length?(null==Ue?D=G=null:G=I(D=Ue),me):D},me}iC.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(u,f){switch(u=+u,f=+f,this._point){case 0:this._point=1,this._line?this._context.lineTo(u,f):this._context.moveTo(u,f);break;case 1:this._point=2;default:this._context.lineTo(u,f)}}};var _h=Math.abs,or=Math.atan2,$l=Math.cos,ph=Math.max,hh=Math.min,dl=Math.sin,ad=Math.sqrt,ko=1e-12,Ys=Math.PI,Ju=Ys/2,$a=2*Ys;function od(u){return u>1?0:u<-1?Ys:Math.acos(u)}function $t(u){return u>=1?Ju:u<=-1?-Ju:Math.asin(u)}function Gi(u){return u.innerRadius}function nC(u){return u.outerRadius}function tp(u){return u.startAngle}function aC(u){return u.endAngle}function ng(u){return u&&u.padAngle}function ag(u,f,r,p,x,D,I,G){var me=r-u,fe=p-f,Ue=I-x,dt=G-D,ft=dt*me-Ue*fe;if(!(ft*ftta*ta+bo*bo&&(jn=ea,wa=ji),{cx:jn,cy:wa,x01:-Ue,y01:-dt,x11:jn*(x/Ki-1),y11:wa*(x/Ki-1)}}function Ec(){var u=Gi,f=nC,r=Kn(0),p=null,x=tp,D=aC,I=ng,G=null;function me(){var fe,Ue,dt=+u.apply(this,arguments),ft=+f.apply(this,arguments),wt=x.apply(this,arguments)-Ju,oi=D.apply(this,arguments)-Ju,Mi=_h(oi-wt),St=oi>wt;if(G||(G=fe=ju()),ftko)if(Mi>$a-ko)G.moveTo(ft*$l(wt),ft*dl(wt)),G.arc(0,0,ft,wt,oi,!St),dt>ko&&(G.moveTo(dt*$l(oi),dt*dl(oi)),G.arc(0,0,dt,oi,wt,St));else{var qi,Yi,yi=wt,bi=oi,vi=wt,Zi=oi,Ki=Mi,Ei=Mi,_a=I.apply(this,arguments)/2,jn=_a>ko&&(p?+p.apply(this,arguments):ad(dt*dt+ft*ft)),wa=hh(_h(ft-dt)/2,+r.apply(this,arguments)),ea=wa,ji=wa;if(jn>ko){var ta=$t(jn/dt*dl(_a)),bo=$t(jn/ft*dl(_a));(Ki-=2*ta)>ko?(vi+=ta*=St?1:-1,Zi-=ta):(Ki=0,vi=Zi=(wt+oi)/2),(Ei-=2*bo)>ko?(yi+=bo*=St?1:-1,bi-=bo):(Ei=0,yi=bi=(wt+oi)/2)}var pa=ft*$l(yi),qn=ft*dl(yi),Po=dt*$l(Zi),ia=dt*dl(Zi);if(wa>ko){var Pr,Ga=ft*$l(bi),Na=ft*dl(bi),Za=dt*$l(vi),kl=dt*dl(vi);if(Miko?ji>ko?(qi=rd(Za,kl,pa,qn,ft,ji,St),Yi=rd(Ga,Na,Po,ia,ft,ji,St),G.moveTo(qi.cx+qi.x01,qi.cy+qi.y01),jiko&&Ki>ko?ea>ko?(qi=rd(Po,ia,Ga,Na,dt,-ea,St),Yi=rd(pa,qn,Za,kl,dt,-ea,St),G.lineTo(qi.cx+qi.x01,qi.cy+qi.y01),eau?1:f>=u?0:NaN}function as(u){return u}function mh(){var u=as,f=og,r=null,p=Kn(0),x=Kn($a),D=Kn(0);function I(G){var me,Ue,dt,yi,Zi,fe=(G=Wu(G)).length,ft=0,wt=new Array(fe),oi=new Array(fe),Mi=+p.apply(this,arguments),St=Math.min($a,Math.max(-$a,x.apply(this,arguments)-Mi)),bi=Math.min(Math.abs(St)/fe,D.apply(this,arguments)),vi=bi*(St<0?-1:1);for(me=0;me0&&(ft+=Zi);for(null!=f?wt.sort(function(Ki,Ei){return f(oi[Ki],oi[Ei])}):null!=r&&wt.sort(function(Ki,Ei){return r(G[Ki],G[Ei])}),me=0,dt=ft?(St-fe*vi)/ft:0;me0?Zi*dt:0)+vi,padAngle:bi};return oi}return I.value=function(G){return arguments.length?(u="function"==typeof G?G:Kn(+G),I):u},I.sortValues=function(G){return arguments.length?(f=G,r=null,I):f},I.sort=function(G){return arguments.length?(r=G,f=null,I):r},I.startAngle=function(G){return arguments.length?(p="function"==typeof G?G:Kn(+G),I):p},I.endAngle=function(G){return arguments.length?(x="function"==typeof G?G:Kn(+G),I):x},I.padAngle=function(G){return arguments.length?(D="function"==typeof G?G:Kn(+G),I):D},I}var fh=C(5126);const Ch=["caretElm"];function $u(u,f){}const vh=function(u){return{model:u}};function sg(u,f){if(1&u&&(c.TgZ(0,"span"),c.YNc(1,$u,0,0,"ng-template",5),c.qZA()),2&u){const r=c.oxw();c.xp6(1),c.Q6J("ngTemplateOutlet",r.template)("ngTemplateOutletContext",c.VKq(2,vh,r.context))}}function lg(u,f){if(1&u&&c._UZ(0,"span",6),2&u){const r=c.oxw();c.Q6J("innerHTML",r.title,c.oJD)}}function cg(u,f){if(1&u&&(c.TgZ(0,"header",4)(1,"span",5),c._uU(2),c.qZA()()),2&u){const r=c.oxw();c.xp6(2),c.Oqu(r.title)}}function Ln(u,f){if(1&u){const r=c.EpF();c.TgZ(0,"li",6)(1,"ngx-charts-legend-entry",7),c.NdJ("select",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.labelClick.emit(x))})("activate",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.activate(x))})("deactivate",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.deactivate(x))}),c.qZA()()}if(2&u){const r=f.$implicit,p=c.oxw();c.xp6(1),c.Q6J("label",r.label)("formattedLabel",r.formattedLabel)("color",r.color)("isActive",p.isActive(r))}}function xh(u,f){if(1&u&&(c.O4$(),c.kcU(),c._UZ(0,"ngx-charts-scale-legend",4)),2&u){const r=c.oxw();c.Q6J("horizontal",r.legendOptions&&r.legendOptions.position===r.LegendPosition.Below)("valueRange",r.legendOptions.domain)("colors",r.legendOptions.colors)("height",r.view[1])("width",r.legendWidth)}}function bh(u,f){if(1&u){const r=c.EpF();c.O4$(),c.kcU(),c.TgZ(0,"ngx-charts-legend",5),c.NdJ("labelClick",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.legendLabelClick.emit(x))})("labelActivate",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.legendLabelActivate.emit(x))})("labelDeactivate",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.legendLabelDeactivate.emit(x))}),c.qZA()}if(2&u){const r=c.oxw();c.Q6J("horizontal",r.legendOptions&&r.legendOptions.position===r.LegendPosition.Below)("data",r.legendOptions.domain)("title",r.legendOptions.title)("colors",r.legendOptions.colors)("height",r.view[1])("width",r.legendWidth)("activeEntries",r.activeEntries)}}const ip=["*"],np=["ngx-charts-axis-label",""],dg=["ticksel"],ap=["ngx-charts-x-axis-ticks",""];function oC(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g",3)(1,"title"),c._uU(2),c.qZA(),c.TgZ(3,"text",4),c._uU(4),c.qZA()()),2&u){const r=f.$implicit,p=c.oxw();c.uIk("transform",p.tickTransform(r)),c.xp6(2),c.Oqu(p.tickFormat(r)),c.xp6(1),c.Udp("font-size","12px"),c.uIk("text-anchor",p.textAnchor)("transform",p.textTransform),c.xp6(1),c.hij(" ",p.tickTrim(p.tickFormat(r))," ")}}function zu(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g"),c._UZ(1,"line",6),c.qZA()),2&u){const r=c.oxw(2);c.uIk("transform",r.gridLineTransform()),c.xp6(1),c.uIk("y1",-r.gridLineHeight)}}function ug(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g"),c.YNc(1,zu,2,2,"g",5),c.qZA()),2&u){const r=f.$implicit,p=c.oxw();c.uIk("transform",p.tickTransform(r)),c.xp6(1),c.Q6J("ngIf",p.showGridLines)}}const Qu=["ngx-charts-x-axis",""];function rC(u,f){if(1&u){const r=c.EpF();c.O4$(),c.TgZ(0,"g",2),c.NdJ("dimensionsChanged",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.emitTicksHeight(x))}),c.qZA()}if(2&u){const r=c.oxw();c.Q6J("trimTicks",r.trimTicks)("rotateTicks",r.rotateTicks)("maxTickLength",r.maxTickLength)("tickFormatting",r.tickFormatting)("tickArguments",r.tickArguments)("tickStroke",r.tickStroke)("scale",r.xScale)("orient",r.xOrient)("showGridLines",r.showGridLines)("gridLineHeight",r.dims.height)("width",r.dims.width)("tickValues",r.ticks)}}function yh(u,f){if(1&u&&(c.O4$(),c._UZ(0,"g",3)),2&u){const r=c.oxw();c.Q6J("label",r.labelText)("offset",r.labelOffset)("orient",r.orientation.Bottom)("height",r.dims.height)("width",r.dims.width)}}const Hs=["ngx-charts-y-axis-ticks",""];function vr(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g",4)(1,"title"),c._uU(2),c.qZA(),c.TgZ(3,"text",5),c._uU(4),c.qZA()()),2&u){const r=f.$implicit,p=c.oxw();c.uIk("transform",p.transform(r)),c.xp6(2),c.Oqu(p.tickFormat(r)),c.xp6(1),c.Udp("font-size","12px"),c.uIk("dy",p.dy)("x",p.x1)("y",p.y1)("text-anchor",p.textAnchor),c.xp6(1),c.hij(" ",p.tickTrim(p.tickFormat(r))," ")}}function w0(u,f){if(1&u&&(c.O4$(),c._UZ(0,"path",6)),2&u){const r=c.oxw();c.uIk("d",r.referenceAreaPath)("transform",r.gridLineTransform())}}function sd(u,f){if(1&u&&(c.O4$(),c._UZ(0,"line",9)),2&u){const r=c.oxw(3);c.uIk("x2",r.gridLineWidth)}}function Th(u,f){if(1&u&&(c.O4$(),c._UZ(0,"line",9)),2&u){const r=c.oxw(3);c.uIk("x2",-r.gridLineWidth)}}function _g(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g"),c.YNc(1,sd,1,1,"line",8),c.YNc(2,Th,1,1,"line",8),c.qZA()),2&u){const r=c.oxw(2);c.uIk("transform",r.gridLineTransform()),c.xp6(1),c.Q6J("ngIf",r.orient===r.Orientation.Left),c.xp6(1),c.Q6J("ngIf",r.orient===r.Orientation.Right)}}function sC(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g"),c.YNc(1,_g,3,3,"g",7),c.qZA()),2&u){const r=f.$implicit,p=c.oxw();c.uIk("transform",p.transform(r)),c.xp6(1),c.Q6J("ngIf",p.showGridLines)}}function S0(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g")(1,"title"),c._uU(2),c.qZA(),c.TgZ(3,"text",11),c._uU(4),c.qZA()()),2&u){const r=c.oxw(2).$implicit,p=c.oxw();c.xp6(2),c.Oqu(p.tickTrim(p.tickFormat(r.value))),c.xp6(1),c.uIk("dy",p.dy)("y",-6)("x",p.gridLineWidth)("text-anchor",p.textAnchor),c.xp6(1),c.hij(" ",r.name," ")}}function lC(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g"),c._UZ(1,"line",10),c.YNc(2,S0,5,6,"g",7),c.qZA()),2&u){const r=c.oxw().$implicit,p=c.oxw();c.uIk("transform",p.transform(r.value)),c.xp6(1),c.uIk("x2",p.gridLineWidth)("transform",p.gridLineTransform()),c.xp6(1),c.Q6J("ngIf",p.showRefLabels)}}function pg(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g"),c.YNc(1,lC,3,4,"g",7),c.qZA()),2&u){const r=c.oxw();c.xp6(1),c.Q6J("ngIf",r.showRefLines)}}const hg=["ngx-charts-y-axis",""];function Mh(u,f){if(1&u){const r=c.EpF();c.O4$(),c.TgZ(0,"g",2),c.NdJ("dimensionsChanged",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.emitTicksWidth(x))}),c.qZA()}if(2&u){const r=c.oxw();c.Q6J("trimTicks",r.trimTicks)("maxTickLength",r.maxTickLength)("tickFormatting",r.tickFormatting)("tickArguments",r.tickArguments)("tickValues",r.ticks)("tickStroke",r.tickStroke)("scale",r.yScale)("orient",r.yOrient)("showGridLines",r.showGridLines)("gridLineWidth",r.dims.width)("referenceLines",r.referenceLines)("showRefLines",r.showRefLines)("showRefLabels",r.showRefLabels)("height",r.dims.height)}}function cC(u,f){if(1&u&&(c.O4$(),c._UZ(0,"g",3)),2&u){const r=c.oxw();c.Q6J("label",r.labelText)("offset",r.labelOffset)("orient",r.yOrient)("height",r.dims.height)("width",r.dims.width)}}const nu=["ngx-charts-svg-linear-gradient",""];function Dh(u,f){if(1&u&&(c.O4$(),c._UZ(0,"stop")),2&u){const r=f.$implicit;c.Udp("stop-color",r.color)("stop-opacity",r.opacity),c.uIk("offset",r.offset+"%")}}const op=["ngx-charts-circle",""],au=["ngx-charts-circle-series",""];function Xu(u,f){if(1&u&&(c.O4$(),c._UZ(0,"rect",4)),2&u){const r=c.oxw(2);c.Q6J("@animationState","active"),c.uIk("x",r.circle.cx-r.circle.radius)("y",r.circle.cy)("width",2*r.circle.radius)("height",r.circle.height)("fill",r.gradientFill)}}function Eh(u,f){if(1&u&&(c.O4$(),c._UZ(0,"rect",4)),2&u){const r=c.oxw(2);c.uIk("x",r.circle.cx-r.circle.radius)("y",r.circle.cy)("width",2*r.circle.radius)("height",r.circle.height)("fill",r.gradientFill)}}const A0=function(u){return{name:u}};function dC(u,f){if(1&u){const r=c.EpF();c.O4$(),c.TgZ(0,"g")(1,"defs"),c._UZ(2,"g",1),c.qZA(),c.YNc(3,Xu,1,6,"rect",2),c.YNc(4,Eh,1,5,"rect",2),c.TgZ(5,"g",3),c.NdJ("select",function(){c.CHM(r);const x=c.oxw();return c.KtG(x.onClick(x.circle.data))})("activate",function(){c.CHM(r);const x=c.oxw();return c.KtG(x.activateCircle())})("deactivate",function(){c.CHM(r);const x=c.oxw();return c.KtG(x.deactivateCircle())}),c.qZA()()}if(2&u){const r=c.oxw();c.xp6(2),c.Q6J("orientation",r.barOrientation.Vertical)("name",r.gradientId)("stops",r.circle.gradientStops),c.xp6(1),c.Q6J("ngIf",!r.isSSR&&r.barVisible&&"standard"===r.type),c.xp6(1),c.Q6J("ngIf",r.isSSR&&r.barVisible&&"standard"===r.type),c.xp6(1),c.ekj("active",r.isActive(c.VKq(20,A0,r.circle.seriesName))),c.Q6J("cx",r.circle.cx)("cy",r.circle.cy)("r",r.circle.radius)("fill",r.circle.color)("pointerEvents",0===r.circle.value?"none":"all")("data",r.circle.value)("classNames",r.circle.classNames)("tooltipDisabled",r.tooltipDisabled)("tooltipPlacement",r.placementTypes.Top)("tooltipType",r.styleTypes.tooltip)("tooltipTitle",r.tooltipTemplate?void 0:r.getTooltipText(r.circle))("tooltipTemplate",r.tooltipTemplate)("tooltipContext",r.circle.data)}}const Sh=["ngx-charts-svg-radial-gradient",""];function gg(u,f){if(1&u&&(c.O4$(),c._UZ(0,"stop")),2&u){const r=f.$implicit;c.Udp("stop-color",r.color)("stop-opacity",r.opacity),c.uIk("offset",r.offset+"%")}}const fg=["ngx-charts-area",""];function Ah(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"defs"),c._UZ(1,"g",2),c.qZA()),2&u){const r=c.oxw();c.xp6(1),c.Q6J("orientation",r.barOrientation.Vertical)("name",r.gradientId)("stops",r.gradientStops)}}const Lh=["ngx-charts-count-up",""],L0=["tooltipAnchor"],ld=["ngx-charts-tooltip-area",""];function Cg(u,f){if(1&u&&(c.TgZ(0,"div",6),c._UZ(1,"span",7),c._uU(2),c.qZA()),2&u){const r=f.$implicit,p=c.oxw(2);c.xp6(1),c.Udp("background-color",r.color),c.xp6(1),c.hij(" ",p.getToolTipText(r)," ")}}function O0(u,f){if(1&u&&(c.O4$(),c.kcU(),c.TgZ(0,"div",4),c.YNc(1,Cg,3,3,"div",5),c.qZA()),2&u){const r=f.model;c.xp6(1),c.Q6J("ngForOf",r)}}const t_=["ngx-charts-timeline",""],ou=["tooltipTemplate"],bg=["seriesTooltipTemplate"],Sl=function(u,f){return[u,f]},Ph=".ngx-charts-outer{-webkit-animation:chartFadeIn linear .6s;animation:chartFadeIn linear .6s}@-webkit-keyframes chartFadeIn{0%{opacity:0}20%{opacity:0}to{opacity:1}}@keyframes chartFadeIn{0%{opacity:0}20%{opacity:0}to{opacity:1}}.ngx-charts{float:left;overflow:visible}.ngx-charts .circle,.ngx-charts .cell,.ngx-charts .bar,.ngx-charts .arc{cursor:pointer}.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover,.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .card.active,.ngx-charts .card:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .bar:focus,.ngx-charts .cell:focus,.ngx-charts .arc:focus,.ngx-charts .card:focus{outline:none}.ngx-charts .bar.hidden,.ngx-charts .cell.hidden,.ngx-charts .arc.hidden,.ngx-charts .card.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .line-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .polar-series-path.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .area-series.inactive{transition:opacity .1s ease-in-out;opacity:.2}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{stroke:#ddd;stroke-width:1;fill:none}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-width:1;stroke-dasharray:5;stroke-dashoffset:5}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill-opacity:.05;fill:#000}.ngx-charts .gridline-path-dotted{stroke:#ddd;stroke-width:1;fill:none;stroke-dasharray:1,20;stroke-dashoffset:3}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:#0000000d}\n",N0=["ngx-charts-bar",""];function ab(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"defs"),c._UZ(1,"g",2),c.qZA()),2&u){const r=c.oxw();c.xp6(1),c.Q6J("orientation",r.orientation)("name",r.gradientId)("stops",r.gradientStops)}}const B0=["ngx-charts-bar-label",""],_d=["ngx-charts-series-vertical",""];function n_(u,f){if(1&u){const r=c.EpF();c.O4$(),c.TgZ(0,"g",2),c.NdJ("select",function(x){c.CHM(r);const D=c.oxw(2);return c.KtG(D.onClick(x))})("activate",function(x){c.CHM(r);const D=c.oxw(2);return c.KtG(D.activate.emit(x))})("deactivate",function(x){c.CHM(r);const D=c.oxw(2);return c.KtG(D.deactivate.emit(x))}),c.qZA()}if(2&u){const r=f.$implicit,p=c.oxw(2);c.Q6J("@animationState","active")("@.disabled",!p.animations)("width",r.width)("height",r.height)("x",r.x)("y",r.y)("fill",r.color)("stops",r.gradientStops)("data",r.data)("orientation",p.barOrientation.Vertical)("roundEdges",r.roundEdges)("gradient",p.gradient)("ariaLabel",r.ariaLabel)("isActive",p.isActive(r.data))("tooltipDisabled",p.tooltipDisabled)("tooltipPlacement",p.tooltipPlacement)("tooltipType",p.tooltipType)("tooltipTitle",p.tooltipTemplate?void 0:r.tooltipText)("tooltipTemplate",p.tooltipTemplate)("tooltipContext",r.data)("noBarWhenZero",p.noBarWhenZero)("animations",p.animations)}}function dp(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g"),c.YNc(1,n_,1,22,"g",1),c.qZA()),2&u){const r=c.oxw();c.xp6(1),c.Q6J("ngForOf",r.bars)("ngForTrackBy",r.trackBy)}}function Nh(u,f){if(1&u){const r=c.EpF();c.O4$(),c.TgZ(0,"g",2),c.NdJ("select",function(x){c.CHM(r);const D=c.oxw(2);return c.KtG(D.onClick(x))})("activate",function(x){c.CHM(r);const D=c.oxw(2);return c.KtG(D.activate.emit(x))})("deactivate",function(x){c.CHM(r);const D=c.oxw(2);return c.KtG(D.deactivate.emit(x))}),c.qZA()}if(2&u){const r=f.$implicit,p=c.oxw(2);c.Q6J("width",r.width)("height",r.height)("x",r.x)("y",r.y)("fill",r.color)("stops",r.gradientStops)("data",r.data)("orientation",p.barOrientation.Vertical)("roundEdges",r.roundEdges)("gradient",p.gradient)("ariaLabel",r.ariaLabel)("isActive",p.isActive(r.data))("tooltipDisabled",p.tooltipDisabled)("tooltipPlacement",p.tooltipPlacement)("tooltipType",p.tooltipType)("tooltipTitle",p.tooltipTemplate?void 0:r.tooltipText)("tooltipTemplate",p.tooltipTemplate)("tooltipContext",r.data)("noBarWhenZero",p.noBarWhenZero)("animations",p.animations)}}function Lg(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g"),c.YNc(1,Nh,1,20,"g",1),c.qZA()),2&u){const r=c.oxw();c.xp6(1),c.Q6J("ngForOf",r.bars)("ngForTrackBy",r.trackBy)}}function a_(u,f){if(1&u){const r=c.EpF();c.O4$(),c.TgZ(0,"g",4),c.NdJ("dimensionsChanged",function(x){const I=c.CHM(r).index,G=c.oxw(2);return c.KtG(G.dataLabelHeightChanged.emit({size:x,index:I}))}),c.qZA()}if(2&u){const r=f.$implicit,p=c.oxw(2);c.Q6J("barX",r.x)("barY",r.y)("barWidth",r.width)("barHeight",r.height)("value",r.total)("valueFormatting",p.dataLabelFormatting)("orientation",p.barOrientation.Vertical)}}function su(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g"),c.YNc(1,a_,1,7,"g",3),c.qZA()),2&u){const r=c.oxw();c.xp6(1),c.Q6J("ngForOf",r.barsForDataLabels)("ngForTrackBy",r.trackDataLabelBy)}}function o_(u,f){if(1&u){const r=c.EpF();c.O4$(),c.TgZ(0,"g",5),c.NdJ("dimensionsChanged",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.updateXAxisHeight(x))}),c.qZA()}if(2&u){const r=c.oxw();c.Q6J("xScale",r.xScale)("dims",r.dims)("showGridLines",r.showGridLines)("showLabel",r.showXAxisLabel)("labelText",r.xAxisLabel)("trimTicks",r.trimXAxisTicks)("rotateTicks",r.rotateXAxisTicks)("maxTickLength",r.maxXAxisTickLength)("tickFormatting",r.xAxisTickFormatting)("ticks",r.xAxisTicks)("xAxisOffset",r.dataLabelMaxHeight.negative)}}function lu(u,f){if(1&u){const r=c.EpF();c.O4$(),c.TgZ(0,"g",6),c.NdJ("dimensionsChanged",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.updateYAxisWidth(x))}),c.qZA()}if(2&u){const r=c.oxw();c.Q6J("yScale",r.yScale)("dims",r.dims)("showGridLines",r.showGridLines)("showLabel",r.showYAxisLabel)("labelText",r.yAxisLabel)("trimTicks",r.trimYAxisTicks)("maxTickLength",r.maxYAxisTickLength)("tickFormatting",r.yAxisTickFormatting)("ticks",r.yAxisTicks)}}const kC=["ngx-charts-line",""];function gp(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g"),c._UZ(1,"path",1),c.qZA()),2&u){const r=c.oxw();c.xp6(1),c.Q6J("@animationState","active"),c.uIk("d",r.initialPath)("fill",r.fill)("stroke",r.stroke)}}function G0(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g"),c._UZ(1,"path",1),c.qZA()),2&u){const r=c.oxw();c.xp6(1),c.uIk("d",r.initialPath)("fill",r.fill)("stroke",r.stroke)}}const fp=["ngx-charts-line-series",""];function Hh(u,f){if(1&u&&(c.O4$(),c._UZ(0,"g",4)),2&u){const r=c.oxw();c.Q6J("orientation",r.barOrientation.Vertical)("name",r.gradientId)("stops",r.gradientStops)}}function Ng(u,f){if(1&u&&(c.O4$(),c._UZ(0,"g",5)),2&u){const r=c.oxw();c.ekj("active",r.isActive(r.data))("inactive",r.isInactive(r.data)),c.Q6J("data",r.data)("path",r.outerPath)("fill",r.hasGradient?r.gradientUrl:r.colors.getColor(r.data.name))("opacity",r.rangeFillOpacity)("animations",r.animations)}}function Bg(u,f){if(1&u){const r=c.EpF();c.O4$(),c.TgZ(0,"g",7),c.NdJ("dimensionsChanged",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.updateXAxisHeight(x))}),c.qZA()}if(2&u){const r=c.oxw();c.Q6J("xScale",r.xScale)("dims",r.dims)("showGridLines",r.showGridLines)("showLabel",r.showXAxisLabel)("labelText",r.xAxisLabel)("trimTicks",r.trimXAxisTicks)("rotateTicks",r.rotateXAxisTicks)("maxTickLength",r.maxXAxisTickLength)("tickFormatting",r.xAxisTickFormatting)("ticks",r.xAxisTicks)}}function Vh(u,f){if(1&u){const r=c.EpF();c.O4$(),c.TgZ(0,"g",8),c.NdJ("dimensionsChanged",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.updateYAxisWidth(x))}),c.qZA()}if(2&u){const r=c.oxw();c.Q6J("yScale",r.yScale)("dims",r.dims)("showGridLines",r.showGridLines)("showLabel",r.showYAxisLabel)("labelText",r.yAxisLabel)("trimTicks",r.trimYAxisTicks)("maxTickLength",r.maxYAxisTickLength)("tickFormatting",r.yAxisTickFormatting)("ticks",r.yAxisTicks)("referenceLines",r.referenceLines)("showRefLines",r.showRefLines)("showRefLabels",r.showRefLabels)}}function Xl(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g"),c._UZ(1,"g",10),c.qZA()),2&u){const r=f.$implicit,p=c.oxw(2);c.Q6J("@animationState","active"),c.xp6(1),c.Q6J("xScale",p.xScale)("yScale",p.yScale)("colors",p.colors)("data",r)("activeEntries",p.activeEntries)("scaleType",p.scaleType)("curve",p.curve)("rangeFillOpacity",p.rangeFillOpacity)("hasRange",p.hasRange)("animations",p.animations)}}function Cp(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g"),c.YNc(1,Xl,2,11,"g",9),c.qZA()),2&u){const r=c.oxw();c.xp6(1),c.Q6J("ngForOf",r.results)("ngForTrackBy",r.trackBy)}}function vp(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g"),c._UZ(1,"g",10),c.qZA()),2&u){const r=f.$implicit,p=c.oxw(2);c.xp6(1),c.Q6J("xScale",p.xScale)("yScale",p.yScale)("colors",p.colors)("data",r)("activeEntries",p.activeEntries)("scaleType",p.scaleType)("curve",p.curve)("rangeFillOpacity",p.rangeFillOpacity)("hasRange",p.hasRange)("animations",p.animations)}}function pl(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g"),c.YNc(1,vp,2,10,"g",9),c.qZA()),2&u){const r=c.oxw();c.xp6(1),c.Q6J("ngForOf",r.results)("ngForTrackBy",r.trackBy)}}function Gh(u,f){if(1&u){const r=c.EpF();c.O4$(),c.TgZ(0,"g")(1,"g",14),c.NdJ("select",function(x){c.CHM(r);const D=c.oxw(2);return c.KtG(D.onClick(x))})("activate",function(x){c.CHM(r);const D=c.oxw(2);return c.KtG(D.onActivate(x))})("deactivate",function(x){c.CHM(r);const D=c.oxw(2);return c.KtG(D.onDeactivate(x))}),c.qZA()()}if(2&u){const r=f.$implicit,p=c.oxw(2);c.xp6(1),c.Q6J("xScale",p.xScale)("yScale",p.yScale)("colors",p.colors)("data",r)("scaleType",p.scaleType)("visibleValue",p.hoveredVertical)("activeEntries",p.activeEntries)("tooltipDisabled",p.tooltipDisabled)("tooltipTemplate",p.tooltipTemplate)}}function c_(u,f){if(1&u){const r=c.EpF();c.O4$(),c.TgZ(0,"g",11),c.NdJ("mouseleave",function(){c.CHM(r);const x=c.oxw();return c.KtG(x.hideCircles())}),c.TgZ(1,"g",12),c.NdJ("hover",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.updateHoveredVertical(x))}),c.qZA(),c.YNc(2,Gh,2,9,"g",13),c.qZA()}if(2&u){const r=c.oxw();c.xp6(1),c.Q6J("dims",r.dims)("xSet",r.xSet)("xScale",r.xScale)("yScale",r.yScale)("results",r.results)("colors",r.colors)("tooltipDisabled",r.tooltipDisabled)("tooltipTemplate",r.seriesTooltipTemplate),c.xp6(1),c.Q6J("ngForOf",r.results)}}function d_(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"g"),c._UZ(1,"g",16),c.qZA()),2&u){const r=f.$implicit,p=c.oxw(2);c.xp6(1),c.Q6J("xScale",p.timelineXScale)("yScale",p.timelineYScale)("colors",p.colors)("data",r)("scaleType",p.scaleType)("curve",p.curve)("hasRange",p.hasRange)("animations",p.animations)}}function IC(u,f){if(1&u){const r=c.EpF();c.O4$(),c.TgZ(0,"g",15),c.NdJ("onDomainChange",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.updateDomain(x))}),c.YNc(1,d_,2,8,"g",9),c.qZA()}if(2&u){const r=c.oxw();c.Q6J("results",r.results)("view",c.WLB(10,Sl,r.timelineWidth,r.height))("height",r.timelineHeight)("scheme",r.scheme)("customColors",r.customColors)("scaleType",r.scaleType)("legend",r.legend),c.uIk("transform",r.timelineTransform),c.xp6(1),c.Q6J("ngForOf",r.results)("ngForTrackBy",r.trackBy)}}const PC=["ngx-charts-pie-label",""],W0=["ngx-charts-pie-arc",""];function FC(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"defs"),c._UZ(1,"g",3),c.qZA()),2&u){const r=c.oxw();c.xp6(1),c.Q6J("color",r.fill)("name",r.radialGradientId)("startOpacity",r.startOpacity)}}const NC=["ngx-charts-pie-series",""];function Hg(u,f){if(1&u&&(c.O4$(),c._UZ(0,"g",3)),2&u){const r=c.oxw().$implicit,p=c.oxw();c.Q6J("data",r)("radius",p.outerRadius)("color",p.color(r))("label",p.labelText(r))("labelTrim",p.trimLabels)("labelTrimSize",p.maxLabelLength)("max",p.max)("value",r.value)("explodeSlices",p.explodeSlices)("animations",p.animations)}}function Wh(u,f){if(1&u){const r=c.EpF();c.O4$(),c.TgZ(0,"g"),c.YNc(1,Hg,1,10,"g",1),c.TgZ(2,"g",2),c.NdJ("select",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.onClick(x))})("activate",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.activate.emit(x))})("deactivate",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.deactivate.emit(x))})("dblclick",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.dblclick.emit(x))}),c.qZA()()}if(2&u){const r=f.$implicit,p=c.oxw();c.xp6(1),c.Q6J("ngIf",p.labelVisible(r)),c.xp6(1),c.Q6J("startAngle",r.startAngle)("endAngle",r.endAngle)("innerRadius",p.innerRadius)("outerRadius",p.outerRadius)("fill",p.color(r))("value",r.data.value)("gradient",p.gradient)("data",r.data)("max",p.max)("explodeSlices",p.explodeSlices)("isActive",p.isActive(r.data))("animate",p.animations)("tooltipDisabled",p.tooltipDisabled)("tooltipPlacement",p.placementTypes.Top)("tooltipType",p.styleTypes.tooltip)("tooltipTitle",p.getTooltipTitle(r))("tooltipTemplate",p.tooltipTemplate)("tooltipContext",r.data)}}const du=["ngx-charts-pie-grid-series",""];function q0(u,f){if(1&u){const r=c.EpF();c.O4$(),c.TgZ(0,"g",2),c.NdJ("select",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.onClick(x))})("activate",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.activate.emit(x))})("deactivate",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.deactivate.emit(x))}),c.qZA()}if(2&u){const r=f.$implicit,p=c.oxw();c.Q6J("startAngle",r.startAngle)("endAngle",r.endAngle)("innerRadius",p.innerRadius)("outerRadius",p.outerRadius)("fill",p.color(r))("value",r.data.value)("data",r.data)("gradient",!1)("pointerEvents",r.pointerEvents)("animate",r.animate),c.uIk("class",r.class)}}function __(u,f){if(1&u&&(c.O4$(),c._UZ(0,"text",10)),2&u){const r=c.oxw().$implicit;c.Q6J("countTo",r.percent)("countSuffix","%")}}function BC(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"text",11),c._uU(1),c.qZA()),2&u){const r=c.oxw().$implicit;c.xp6(1),c.hij(" ",r.percent.toLocaleString()," ")}}function UC(u,f){if(1&u&&(c.O4$(),c._UZ(0,"text",12)),2&u){const r=c.oxw().$implicit,p=c.oxw();c.Q6J("countTo",r.total)("countPrefix",p.label+": "),c.uIk("y",r.outerRadius)}}function qh(u,f){if(1&u&&(c.O4$(),c.TgZ(0,"text",13),c._uU(1),c.qZA()),2&u){const r=c.oxw().$implicit,p=c.oxw();c.uIk("y",r.outerRadius),c.xp6(1),c.AsE(" ",p.label,": ",r.total.toLocaleString()," ")}}const ZC=function(u){return{data:u}};function hl(u,f){if(1&u){const r=c.EpF();c.O4$(),c.TgZ(0,"g",3)(1,"g",4),c.NdJ("select",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.onClick(x))})("activate",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.onActivate(x))})("deactivate",function(x){c.CHM(r);const D=c.oxw();return c.KtG(D.onDeactivate(x))}),c.qZA(),c.YNc(2,__,1,2,"text",5),c.YNc(3,BC,2,1,"text",6),c.TgZ(4,"text",7),c._uU(5),c.qZA(),c.YNc(6,UC,1,3,"text",8),c.YNc(7,qh,2,3,"text",9),c.qZA()}if(2&u){const r=f.$implicit,p=c.oxw();c.uIk("transform",r.transform),c.xp6(1),c.Q6J("colors",r.colors)("data",r.data)("innerRadius",r.innerRadius)("outerRadius",r.outerRadius)("animations",p.animations)("tooltipDisabled",p.tooltipDisabled)("tooltipPlacement",p.placementTypes.Top)("tooltipType",p.styleTypes.tooltip)("tooltipTitle",p.tooltipTemplate?void 0:p.tooltipText(c.VKq(17,ZC,r)))("tooltipTemplate",p.tooltipTemplate)("tooltipContext",r.data[0].data),c.xp6(1),c.Q6J("ngIf",p.animations),c.xp6(1),c.Q6J("ngIf",!p.animations),c.xp6(2),c.hij(" ",r.label," "),c.xp6(1),c.Q6J("ngIf",p.animations),c.xp6(1),c.Q6J("ngIf",!p.animations)}}function fd(u,f,r){r=r||{};let p,x,D,I=null,G=0;function me(){G=!1===r.leading?0:+new Date,I=null,D=u.apply(p,x)}return function(){const fe=+new Date;!G&&!1===r.leading&&(G=fe);const Ue=f-(fe-G);return p=this,x=arguments,Ue<=0?(clearTimeout(I),I=null,G=fe,D=u.apply(p,x)):!I&&!1!==r.trailing&&(I=setTimeout(me,Ue)),D}}function WC(u,f){return function(p,x,D){return{configurable:!0,enumerable:D.enumerable,get:function(){return Object.defineProperty(this,x,{configurable:!0,enumerable:D.enumerable,value:fd(D.value,u,f)}),this[x]}}}}var On=(()=>{return(u=On||(On={})).Top="top",u.Bottom="bottom",u.Left="left",u.Right="right",u.Center="center",On;var u})();function Dp(u,f,r){return r===On.Top?u.top-7:r===On.Bottom?u.top+u.height-f.height+7:r===On.Center?u.top+u.height/2-f.height/2:void 0}function zh(u,f,r){return r===On.Left?u.left-7:r===On.Right?u.left+u.width-f.width+7:r===On.Center?u.left+u.width/2-f.width/2:void 0}class qo{static calculateVerticalAlignment(f,r,p){let x=Dp(f,r,p);return x+r.height>window.innerHeight&&(x=window.innerHeight-r.height),x}static calculateVerticalCaret(f,r,p,x){let D;x===On.Top&&(D=f.height/2-p.height/2+7),x===On.Bottom&&(D=r.height-f.height/2-p.height/2-7),x===On.Center&&(D=r.height/2-p.height/2);const I=Dp(f,r,x);return I+r.height>window.innerHeight&&(D+=I+r.height-window.innerHeight),D}static calculateHorizontalAlignment(f,r,p){let x=zh(f,r,p);return x+r.width>window.innerWidth&&(x=window.innerWidth-r.width),x}static calculateHorizontalCaret(f,r,p,x){let D;x===On.Left&&(D=f.width/2-p.width/2+7),x===On.Right&&(D=r.width-f.width/2-p.width/2-7),x===On.Center&&(D=r.width/2-p.width/2);const I=zh(f,r,x);return I+r.width>window.innerWidth&&(D+=I+r.width-window.innerWidth),D}static shouldFlip(f,r,p,x){let D=!1;return p===On.Right&&f.left+f.width+r.width+x>window.innerWidth&&(D=!0),p===On.Left&&f.left-r.width-x<0&&(D=!0),p===On.Top&&f.top-r.height-x<0&&(D=!0),p===On.Bottom&&f.top+f.height+r.height+x>window.innerHeight&&(D=!0),D}static positionCaret(f,r,p,x,D){let I=0,G=0;return f===On.Right?(G=-7,I=qo.calculateVerticalCaret(p,r,x,D)):f===On.Left?(G=r.width,I=qo.calculateVerticalCaret(p,r,x,D)):f===On.Top?(I=r.height,G=qo.calculateHorizontalCaret(p,r,x,D)):f===On.Bottom&&(I=-7,G=qo.calculateHorizontalCaret(p,r,x,D)),{top:I,left:G}}static positionContent(f,r,p,x,D){let I=0,G=0;return f===On.Right?(G=p.left+p.width+x,I=qo.calculateVerticalAlignment(p,r,D)):f===On.Left?(G=p.left-r.width-x,I=qo.calculateVerticalAlignment(p,r,D)):f===On.Top?(I=p.top-r.height-x,G=qo.calculateHorizontalAlignment(p,r,D)):f===On.Bottom&&(I=p.top+p.height+x,G=qo.calculateHorizontalAlignment(p,r,D)),{top:I,left:G}}static determinePlacement(f,r,p,x){if(qo.shouldFlip(p,r,f,x)){if(f===On.Right)return On.Left;if(f===On.Left)return On.Right;if(f===On.Top)return On.Bottom;if(f===On.Bottom)return On.Top}return f}}let Ep=(()=>{class u{constructor(r,p,x){this.element=r,this.renderer=p,this.platformId=x}get cssClasses(){let r="ngx-charts-tooltip-content";return r+=` position-${this.placement}`,r+=` type-${this.type}`,r+=` ${this.cssClass}`,r}ngAfterViewInit(){setTimeout(this.position.bind(this))}position(){if(!(0,m.NF)(this.platformId))return;const r=this.element.nativeElement,p=this.host.nativeElement.getBoundingClientRect();if(!p.height&&!p.width)return;const x=r.getBoundingClientRect();this.checkFlip(p,x),this.positionContent(r,p,x),this.showCaret&&this.positionCaret(p,x),setTimeout(()=>this.renderer.addClass(r,"animate"),1)}positionContent(r,p,x){const{top:D,left:I}=qo.positionContent(this.placement,x,p,this.spacing,this.alignment);this.renderer.setStyle(r,"top",`${D}px`),this.renderer.setStyle(r,"left",`${I}px`)}positionCaret(r,p){const x=this.caretElm.nativeElement,D=x.getBoundingClientRect(),{top:I,left:G}=qo.positionCaret(this.placement,p,r,D,this.alignment);this.renderer.setStyle(x,"top",`${I}px`),this.renderer.setStyle(x,"left",`${G}px`)}checkFlip(r,p){this.placement=qo.determinePlacement(this.placement,p,r,this.spacing)}onWindowResize(){this.position()}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(c.SBq),c.Y36(c.Qsj),c.Y36(c.Lbi))},u.\u0275cmp=c.Xpm({type:u,selectors:[["ngx-tooltip-content"]],viewQuery:function(r,p){if(1&r&&c.Gf(Ch,5),2&r){let x;c.iGM(x=c.CRH())&&(p.caretElm=x.first)}},hostVars:2,hostBindings:function(r,p){1&r&&c.NdJ("resize",function(){return p.onWindowResize()},!1,c.Jf7),2&r&&c.Tol(p.cssClasses)},inputs:{host:"host",showCaret:"showCaret",type:"type",placement:"placement",alignment:"alignment",spacing:"spacing",cssClass:"cssClass",title:"title",template:"template",context:"context"},decls:6,vars:6,consts:[[3,"hidden"],["caretElm",""],[1,"tooltip-content"],[4,"ngIf"],[3,"innerHTML",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"]],template:function(r,p){1&r&&(c.TgZ(0,"div"),c._UZ(1,"span",0,1),c.TgZ(3,"div",2),c.YNc(4,sg,2,4,"span",3),c.YNc(5,lg,1,1,"span",4),c.qZA()()),2&r&&(c.xp6(1),c.Gre("tooltip-caret position-",p.placement,""),c.Q6J("hidden",!p.showCaret),c.xp6(3),c.Q6J("ngIf",!p.title),c.xp6(1),c.Q6J("ngIf",p.title))},dependencies:[m.O5,m.tP],styles:[".ngx-charts-tooltip-content{position:fixed;border-radius:3px;z-index:5000;display:block;font-weight:400;opacity:0;pointer-events:none!important}.ngx-charts-tooltip-content.type-popover{background:#fff;color:#060709;border:1px solid #72809b;box-shadow:0 1px 3px #0003,0 1px 1px #00000024,0 2px 1px -1px #0000001f;font-size:13px;padding:4px}.ngx-charts-tooltip-content.type-popover .tooltip-caret{position:absolute;z-index:5001;width:0;height:0}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-left{border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-right{border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-bottom{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #fff}.ngx-charts-tooltip-content.type-tooltip{color:#fff;background:rgba(0,0,0,.75);font-size:12px;padding:0 10px;text-align:center;pointer-events:auto}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-left{border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-right{border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-bottom{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content .tooltip-label{display:block;line-height:1em;padding:8px 5px 5px;font-size:1em}.ngx-charts-tooltip-content .tooltip-val{display:block;font-size:1.3em;line-height:1em;padding:0 5px 8px}.ngx-charts-tooltip-content .tooltip-caret{position:absolute;z-index:5001;width:0;height:0}.ngx-charts-tooltip-content.position-right{transform:translate(10px)}.ngx-charts-tooltip-content.position-left{transform:translate(-10px)}.ngx-charts-tooltip-content.position-top{transform:translateY(-10px)}.ngx-charts-tooltip-content.position-bottom{transform:translateY(10px)}.ngx-charts-tooltip-content.animate{opacity:1;transition:opacity .3s,transform .3s;transform:translate(0);pointer-events:auto}.area-tooltip-container{padding:5px 0;pointer-events:none}.tooltip-item{text-align:left;line-height:1.2em;padding:5px 0}.tooltip-item .tooltip-item-color{display:inline-block;height:12px;width:12px;margin-right:5px;color:#5b646b;border-radius:3px}\n"],encapsulation:2}),(0,e.gn)([WC(100)],u.prototype,"onWindowResize",null),u})(),g_=(()=>{class u{constructor(r,p,x){this.applicationRef=r,this.componentFactoryResolver=p,this.injector=x}static setGlobalRootViewContainer(r){u.globalRootViewContainer=r}getRootViewContainer(){if(this._container)return this._container;if(u.globalRootViewContainer)return u.globalRootViewContainer;if(this.applicationRef.components.length)return this.applicationRef.components[0];throw new Error("View Container not found! ngUpgrade needs to manually set this via setRootViewContainer or setGlobalRootViewContainer.")}setRootViewContainer(r){this._container=r}getComponentRootNode(r){return function Xh(u){return u.element}(r)?r.element.nativeElement:r.hostView&&r.hostView.rootNodes.length>0?r.hostView.rootNodes[0]:r.location.nativeElement}getRootViewContainerNode(r){return this.getComponentRootNode(r)}projectComponentBindings(r,p){if(p){if(void 0!==p.inputs){const x=Object.getOwnPropertyNames(p.inputs);for(const D of x)r.instance[D]=p.inputs[D]}if(void 0!==p.outputs){const x=Object.getOwnPropertyNames(p.outputs);for(const D of x)r.instance[D]=p.outputs[D]}}return r}appendComponent(r,p={},x){x||(x=this.getRootViewContainer());const D=this.getComponentRootNode(x),I=new b.u0(D,this.componentFactoryResolver,this.applicationRef,this.injector),G=new b.C5(r),me=I.attach(G);return this.projectComponentBindings(me,p),me}}return u.globalRootViewContainer=null,u.\u0275fac=function(r){return new(r||u)(c.LFG(c.z2F),c.LFG(c._Vd),c.LFG(c.zs3))},u.\u0275prov=c.Yz7({token:u,factory:u.\u0275fac}),u})(),Cd=(()=>{class u extends class Qh{constructor(f){this.injectionService=f,this.defaults={},this.components=new Map}getByType(f=this.type){return this.components.get(f)}create(f){return this.createByType(this.type,f)}createByType(f,r){r=this.assignDefaults(r);const p=this.injectComponent(f,r);return this.register(f,p),p}destroy(f){const r=this.components.get(f.componentType);if(r&&r.length){const p=r.indexOf(f);p>-1&&(r[p].destroy(),r.splice(p,1))}}destroyAll(){this.destroyByType(this.type)}destroyByType(f){const r=this.components.get(f);if(r&&r.length){let p=r.length-1;for(;p>=0;)this.destroy(r[p--])}}injectComponent(f,r){return this.injectionService.appendComponent(f,r)}assignDefaults(f){const r=Object.assign({},this.defaults.inputs),p=Object.assign({},this.defaults.outputs);return!f.inputs&&!f.outputs&&(f={inputs:f}),r&&(f.inputs=Object.assign(Object.assign({},r),f.inputs)),p&&(f.outputs=Object.assign(Object.assign({},p),f.outputs)),f}register(f,r){this.components.has(f)||this.components.set(f,[]),this.components.get(f).push(r)}}{constructor(r){super(r),this.type=Ep}}return u.\u0275fac=function(r){return new(r||u)(c.LFG(g_))},u.\u0275prov=c.Yz7({token:u,factory:u.\u0275fac}),u})();var bs=(()=>{return(u=bs||(bs={})).Right="right",u.Below="below",bs;var u})(),Lc=(()=>{return(u=Lc||(Lc={})).ScaleLegend="scaleLegend",u.Legend="legend",Lc;var u})(),Pi=(()=>{return(u=Pi||(Pi={})).Time="time",u.Linear="linear",u.Ordinal="ordinal",u.Quantile="quantile",Pi;var u})();let em=(()=>{class u{constructor(){this.horizontal=!1}ngOnChanges(r){const p=this.gradientString(this.colors.range(),this.colors.domain());this.gradient=`linear-gradient(to ${this.horizontal?"right":"bottom"}, ${p})`}gradientString(r,p){p.push(1);const x=[];return r.reverse().forEach((D,I)=>{x.push(`${D} ${Math.round(100*p[I])}%`)}),x.join(", ")}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275cmp=c.Xpm({type:u,selectors:[["ngx-charts-scale-legend"]],inputs:{valueRange:"valueRange",colors:"colors",height:"height",width:"width",horizontal:"horizontal"},features:[c.TTD],decls:8,vars:10,consts:[[1,"scale-legend"],[1,"scale-legend-label"],[1,"scale-legend-wrap"]],template:function(r,p){1&r&&(c.TgZ(0,"div",0)(1,"div",1)(2,"span"),c._uU(3),c.qZA()(),c._UZ(4,"div",2),c.TgZ(5,"div",1)(6,"span"),c._uU(7),c.qZA()()()),2&r&&(c.Udp("height",p.horizontal?void 0:p.height,"px")("width",p.width,"px"),c.ekj("horizontal-legend",p.horizontal),c.xp6(3),c.Oqu(p.valueRange[1].toLocaleString()),c.xp6(1),c.Udp("background",p.gradient),c.xp6(3),c.Oqu(p.valueRange[0].toLocaleString()))},styles:[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .scale-legend{text-align:center;display:flex;flex-direction:column}.chart-legend .scale-legend-wrap{display:inline-block;flex:1;width:30px;border-radius:5px;margin:0 auto}.chart-legend .scale-legend-label{font-size:12px}.chart-legend .horizontal-legend.scale-legend{flex-direction:row}.chart-legend .horizontal-legend .scale-legend-wrap{width:auto;height:30px;margin:0 16px}\n"],encapsulation:2,changeDetection:0}),u})();function fl(u){return u instanceof Date?u.toLocaleDateString():u.toLocaleString()}function tc(u){return u.toLocaleString().replace(/[&'`"<>]/g,f=>({"&":"&","'":"'","`":"`",'"':""","<":"<",">":">"}[f]))}let f_=(()=>{class u{constructor(){this.isActive=!1,this.select=new c.vpe,this.activate=new c.vpe,this.deactivate=new c.vpe,this.toggle=new c.vpe}get trimmedLabel(){return this.formattedLabel||"(empty)"}onMouseEnter(){this.activate.emit({name:this.label})}onMouseLeave(){this.deactivate.emit({name:this.label})}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275cmp=c.Xpm({type:u,selectors:[["ngx-charts-legend-entry"]],hostBindings:function(r,p){1&r&&c.NdJ("mouseenter",function(){return p.onMouseEnter()})("mouseleave",function(){return p.onMouseLeave()})},inputs:{color:"color",label:"label",formattedLabel:"formattedLabel",isActive:"isActive"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",toggle:"toggle"},decls:4,vars:6,consts:[["tabindex","-1",3,"title","click"],[1,"legend-label-color",3,"click"],[1,"legend-label-text"]],template:function(r,p){1&r&&(c.TgZ(0,"span",0),c.NdJ("click",function(){return p.select.emit(p.formattedLabel)}),c.TgZ(1,"span",1),c.NdJ("click",function(){return p.toggle.emit(p.formattedLabel)}),c.qZA(),c.TgZ(2,"span",2),c._uU(3),c.qZA()()),2&r&&(c.ekj("active",p.isActive),c.Q6J("title",p.formattedLabel),c.xp6(1),c.Udp("background-color",p.color),c.xp6(2),c.hij(" ",p.trimmedLabel," "))},encapsulation:2,changeDetection:0}),u})(),jg=(()=>{class u{constructor(r){this.cd=r,this.horizontal=!1,this.labelClick=new c.vpe,this.labelActivate=new c.vpe,this.labelDeactivate=new c.vpe,this.legendEntries=[]}ngOnChanges(r){this.update()}update(){this.cd.markForCheck(),this.legendEntries=this.getLegendEntries()}getLegendEntries(){const r=[];for(const p of this.data){const x=fl(p);-1===r.findIndex(I=>I.label===x)&&r.push({label:p,formattedLabel:x,color:this.colors.getColor(p)})}return r}isActive(r){return!!this.activeEntries&&void 0!==this.activeEntries.find(x=>r.label===x.name)}activate(r){this.labelActivate.emit(r)}deactivate(r){this.labelDeactivate.emit(r)}trackBy(r,p){return p.label}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(c.sBO))},u.\u0275cmp=c.Xpm({type:u,selectors:[["ngx-charts-legend"]],inputs:{data:"data",title:"title",colors:"colors",height:"height",width:"width",activeEntries:"activeEntries",horizontal:"horizontal"},outputs:{labelClick:"labelClick",labelActivate:"labelActivate",labelDeactivate:"labelDeactivate"},features:[c.TTD],decls:5,vars:9,consts:[["class","legend-title",4,"ngIf"],[1,"legend-wrap"],[1,"legend-labels"],["class","legend-label",4,"ngFor","ngForOf","ngForTrackBy"],[1,"legend-title"],[1,"legend-title-text"],[1,"legend-label"],[3,"label","formattedLabel","color","isActive","select","activate","deactivate"]],template:function(r,p){1&r&&(c.TgZ(0,"div"),c.YNc(1,cg,3,1,"header",0),c.TgZ(2,"div",1)(3,"ul",2),c.YNc(4,Ln,2,4,"li",3),c.qZA()()()),2&r&&(c.Udp("width",p.width,"px"),c.xp6(1),c.Q6J("ngIf",(null==p.title?null:p.title.length)>0),c.xp6(2),c.Udp("max-height",p.height-45,"px"),c.ekj("horizontal-legend",p.horizontal),c.xp6(1),c.Q6J("ngForOf",p.legendEntries)("ngForTrackBy",p.trackBy))},dependencies:[f_,m.O5,m.sg],styles:[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .legend-title{white-space:nowrap;overflow:hidden;margin-left:10px;margin-bottom:5px;font-size:14px;font-weight:700}.chart-legend ul,.chart-legend li{padding:0;margin:0;list-style:none}.chart-legend .horizontal-legend li{display:inline-block}.chart-legend .legend-wrap{width:calc(100% - 10px)}.chart-legend .legend-labels{line-height:85%;list-style:none;text-align:left;float:left;width:100%;border-radius:3px;overflow-y:auto;overflow-x:hidden;white-space:nowrap;background:rgba(0,0,0,.05)}.chart-legend .legend-label{cursor:pointer;font-size:90%;margin:8px;color:#afb7c8}.chart-legend .legend-label:hover{color:#000;transition:.2s}.chart-legend .legend-label .active .legend-label-text{color:#000}.chart-legend .legend-label-color{display:inline-block;height:15px;width:15px;margin-right:5px;color:#5b646b;border-radius:3px}.chart-legend .legend-label-text{display:inline-block;vertical-align:top;line-height:15px;font-size:12px;width:calc(100% - 20px);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chart-legend .legend-title-text{vertical-align:bottom;display:inline-block;line-height:16px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}\n"],encapsulation:2,changeDetection:0}),u})(),vd=(()=>{class u{constructor(){this.showLegend=!1,this.animations=!0,this.legendLabelClick=new c.vpe,this.legendLabelActivate=new c.vpe,this.legendLabelDeactivate=new c.vpe,this.LegendPosition=bs,this.LegendType=Lc}ngOnChanges(r){this.update()}update(){let r=0;this.showLegend&&(this.legendType=this.getLegendType(),(!this.legendOptions||this.legendOptions.position===bs.Right)&&(r=this.legendType===Lc.ScaleLegend?1:2)),this.chartWidth=Math.floor(this.view[0]*(12-r)/12),this.legendWidth=this.legendOptions&&this.legendOptions.position!==bs.Right?this.chartWidth:Math.floor(this.view[0]*r/12)}getLegendType(){return this.legendOptions.scaleType===Pi.Linear?Lc.ScaleLegend:Lc.Legend}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275cmp=c.Xpm({type:u,selectors:[["ngx-charts-chart"]],inputs:{view:"view",showLegend:"showLegend",legendOptions:"legendOptions",legendType:"legendType",activeEntries:"activeEntries",animations:"animations"},outputs:{legendLabelClick:"legendLabelClick",legendLabelActivate:"legendLabelActivate",legendLabelDeactivate:"legendLabelDeactivate"},features:[c._Bn([Cd]),c.TTD],ngContentSelectors:ip,decls:5,vars:8,consts:[[1,"ngx-charts-outer"],[1,"ngx-charts"],["class","chart-legend",3,"horizontal","valueRange","colors","height","width",4,"ngIf"],["class","chart-legend",3,"horizontal","data","title","colors","height","width","activeEntries","labelClick","labelActivate","labelDeactivate",4,"ngIf"],[1,"chart-legend",3,"horizontal","valueRange","colors","height","width"],[1,"chart-legend",3,"horizontal","data","title","colors","height","width","activeEntries","labelClick","labelActivate","labelDeactivate"]],template:function(r,p){1&r&&(c.F$t(),c.TgZ(0,"div",0),c.O4$(),c.TgZ(1,"svg",1),c.Hsn(2),c.qZA(),c.YNc(3,xh,1,5,"ngx-charts-scale-legend",2),c.YNc(4,bh,1,7,"ngx-charts-legend",3),c.qZA()),2&r&&(c.Udp("width",p.view[0],"px")("height",p.view[1],"px"),c.xp6(1),c.uIk("width",p.chartWidth)("height",p.view[1]),c.xp6(2),c.Q6J("ngIf",p.showLegend&&p.legendType===p.LegendType.ScaleLegend),c.xp6(1),c.Q6J("ngIf",p.showLegend&&p.legendType===p.LegendType.Legend))},dependencies:[em,jg,m.O5],encapsulation:2,changeDetection:0}),u})(),Wg=(()=>{class u{constructor(r,p){this.element=r,this.zone=p,this.visible=new c.vpe,this.isVisible=!1,this.runCheck()}destroy(){clearTimeout(this.timeout)}onVisibilityChange(){this.zone.run(()=>{this.isVisible=!0,this.visible.emit(!0)})}runCheck(){const r=()=>{if(!this.element)return;const{offsetHeight:p,offsetWidth:x}=this.element.nativeElement;p&&x?(clearTimeout(this.timeout),this.onVisibilityChange()):(clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>r(),100)}))};this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>r())})}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(c.SBq),c.Y36(c.R0b))},u.\u0275dir=c.lG2({type:u,selectors:[["visibility-observer"]],outputs:{visible:"visible"}}),u})();function tm(u){return"[object Date]"===toString.call(u)}let C_=(()=>{class u{constructor(r,p,x,D){this.chartElement=r,this.zone=p,this.cd=x,this.platformId=D,this.scheme="cool",this.schemeType=Pi.Ordinal,this.animations=!0,this.select=new c.vpe}ngOnInit(){(0,m.PM)(this.platformId)&&(this.animations=!1)}ngAfterViewInit(){this.bindWindowResizeEvent(),this.visibilityObserver=new Wg(this.chartElement,this.zone),this.visibilityObserver.visible.subscribe(this.update.bind(this))}ngOnDestroy(){this.unbindEvents(),this.visibilityObserver&&(this.visibilityObserver.visible.unsubscribe(),this.visibilityObserver.destroy())}ngOnChanges(r){this.update()}update(){if(this.results=this.results?this.cloneData(this.results):[],this.view)this.width=this.view[0],this.height=this.view[1];else{const r=this.getContainerDims();r&&(this.width=r.width,this.height=r.height)}this.width||(this.width=600),this.height||(this.height=400),this.width=Math.floor(this.width),this.height=Math.floor(this.height),this.cd&&this.cd.markForCheck()}getContainerDims(){let r,p;const x=this.chartElement.nativeElement;if((0,m.NF)(this.platformId)&&null!==x.parentNode){const D=x.parentNode.getBoundingClientRect();r=D.width,p=D.height}return r&&p?{width:r,height:p}:null}formatDates(){for(let r=0;r{this.update(),this.cd&&this.cd.markForCheck()});this.resizeSubscription=p}cloneData(r){const p=[];for(const x of r){const D={name:x.name};if(void 0!==x.value&&(D.value=x.value),void 0!==x.series){D.series=[];for(const I of x.series){const G=Object.assign({},I);D.series.push(G)}}void 0!==x.extra&&(D.extra=JSON.parse(JSON.stringify(x.extra))),p.push(D)}return p}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(c.SBq),c.Y36(c.R0b),c.Y36(c.sBO),c.Y36(c.Lbi))},u.\u0275cmp=c.Xpm({type:u,selectors:[["base-chart"]],inputs:{results:"results",view:"view",scheme:"scheme",schemeType:"schemeType",customColors:"customColors",animations:"animations"},outputs:{select:"select"},features:[c.TTD],decls:1,vars:0,template:function(r,p){1&r&&c._UZ(0,"div")},encapsulation:2}),u})();var Io=(()=>{return(u=Io||(Io={})).Top="top",u.Bottom="bottom",u.Left="left",u.Right="right",Io;var u})();let im=(()=>{class u{constructor(r){this.textHeight=25,this.margin=5,this.element=r.nativeElement}ngOnChanges(r){this.update()}update(){switch(this.strokeWidth="0.01",this.textAnchor="middle",this.transform="",this.orient){case Io.Top:case Io.Bottom:this.y=this.offset,this.x=this.width/2;break;case Io.Left:this.y=-(this.offset+this.textHeight+this.margin),this.x=-this.height/2,this.transform="rotate(270)";break;case Io.Right:this.y=this.offset+this.margin,this.x=-this.height/2,this.transform="rotate(270)"}}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(c.SBq))},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-axis-label",""]],inputs:{orient:"orient",label:"label",offset:"offset",width:"width",height:"height"},features:[c.TTD],attrs:np,decls:2,vars:6,template:function(r,p){1&r&&(c.O4$(),c.TgZ(0,"text"),c._uU(1),c.qZA()),2&r&&(c.uIk("stroke-width",p.strokeWidth)("x",p.x)("y",p.y)("text-anchor",p.textAnchor)("transform",p.transform),c.xp6(1),c.hij(" ",p.label," "))},encapsulation:2,changeDetection:0}),u})();function ic(u,f=16){return"string"!=typeof u?"number"==typeof u?u+"":"":(u=u.trim()).length<=f?u:`${u.slice(0,f)}...`}function xd(u,f){if(u.length>f){const r=[],p=Math.floor(u.length/f);for(let x=0;x{return(u=Ir||(Ir={})).Start="start",u.Middle="middle",u.End="end",Ir;var u})();let nm=(()=>{class u{constructor(r){this.platformId=r,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.rotateTicks=!0,this.dimensionsChanged=new c.vpe,this.verticalSpacing=20,this.rotateLabels=!1,this.innerTickSize=6,this.outerTickSize=6,this.tickPadding=3,this.textAnchor=Ir.Middle,this.maxTicksLength=0,this.maxAllowedLength=16,this.height=0,this.approxHeight=10}ngOnChanges(r){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!(0,m.NF)(this.platformId))return void this.dimensionsChanged.emit({height:this.approxHeight});const r=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().height,10);r!==this.height&&(this.height=r,this.dimensionsChanged.emit({height:this.height}),setTimeout(()=>this.updateDims()))}update(){const r=this.scale;this.ticks=this.getTicks(),this.tickFormat=this.tickFormatting?this.tickFormatting:r.tickFormat?r.tickFormat.apply(r,this.tickArguments):function(x){return"Date"===x.constructor.name?x.toLocaleDateString():x.toLocaleString()};const p=this.rotateTicks?this.getRotationAngle(this.ticks):null;this.adjustedScale=this.scale.bandwidth?function(x){return this.scale(x)+.5*this.scale.bandwidth()}:this.scale,this.textTransform="",p&&0!==p?(this.textTransform=`rotate(${p})`,this.textAnchor=Ir.End,this.verticalSpacing=10):this.textAnchor=Ir.Middle,setTimeout(()=>this.updateDims())}getRotationAngle(r){let p=0;this.maxTicksLength=0;for(let fe=0;fethis.maxTicksLength&&(this.maxTicksLength=dt)}const I=7*Math.min(this.maxTicksLength,this.maxAllowedLength);let G=I;const me=Math.floor(this.width/r.length);for(;G>me&&p>-90;)p-=30,G=Math.cos(p*(Math.PI/180))*I;return this.approxHeight=Math.max(Math.abs(Math.sin(p*(Math.PI/180))*I),10),p}getTicks(){let r;const p=this.getMaxTicks(20),x=this.getMaxTicks(100);return this.tickValues?r=this.tickValues:this.scale.ticks?r=this.scale.ticks.apply(this.scale,[x]):(r=this.scale.domain(),r=xd(r,p)),r}getMaxTicks(r){return Math.floor(this.width/r)}tickTransform(r){return"translate("+this.adjustedScale(r)+","+this.verticalSpacing+")"}gridLineTransform(){return`translate(0,${-this.verticalSpacing-5})`}tickTrim(r){return this.trimTicks?ic(r,this.maxTickLength):r}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(c.Lbi))},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-x-axis-ticks",""]],viewQuery:function(r,p){if(1&r&&c.Gf(dg,5),2&r){let x;c.iGM(x=c.CRH())&&(p.ticksElement=x.first)}},inputs:{scale:"scale",orient:"orient",tickArguments:"tickArguments",tickValues:"tickValues",tickStroke:"tickStroke",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",gridLineHeight:"gridLineHeight",width:"width",rotateTicks:"rotateTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[c.TTD],attrs:ap,decls:4,vars:2,consts:[["ticksel",""],["class","tick",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[1,"tick"],["stroke-width","0.01"],[4,"ngIf"],["y2","0",1,"gridline-path","gridline-path-vertical"]],template:function(r,p){1&r&&(c.O4$(),c.TgZ(0,"g",null,0),c.YNc(2,oC,5,7,"g",1),c.qZA(),c.YNc(3,ug,2,2,"g",2)),2&r&&(c.xp6(2),c.Q6J("ngForOf",p.ticks),c.xp6(1),c.Q6J("ngForOf",p.ticks))},dependencies:[m.sg,m.O5],encapsulation:2,changeDetection:0}),u})(),qg=(()=>{class u{constructor(){this.rotateTicks=!0,this.showGridLines=!1,this.xOrient=Io.Bottom,this.xAxisOffset=0,this.dimensionsChanged=new c.vpe,this.xAxisClassName="x axis",this.labelOffset=0,this.fill="none",this.stroke="stroke",this.tickStroke="#ccc",this.strokeWidth="none",this.padding=5,this.orientation=Io}ngOnChanges(r){this.update()}update(){this.transform=`translate(0,${this.xAxisOffset+this.padding+this.dims.height})`,void 0!==this.xAxisTickCount&&(this.tickArguments=[this.xAxisTickCount])}emitTicksHeight({height:r}){const p=r+25+5;p!==this.labelOffset&&(this.labelOffset=p,setTimeout(()=>{this.dimensionsChanged.emit({height:r})},0))}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-x-axis",""]],viewQuery:function(r,p){if(1&r&&c.Gf(nm,5),2&r){let x;c.iGM(x=c.CRH())&&(p.ticksComponent=x.first)}},inputs:{xScale:"xScale",dims:"dims",trimTicks:"trimTicks",rotateTicks:"rotateTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",showLabel:"showLabel",labelText:"labelText",ticks:"ticks",xAxisTickCount:"xAxisTickCount",xOrient:"xOrient",xAxisOffset:"xAxisOffset"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[c.TTD],attrs:Qu,decls:3,vars:4,consts:[["ngx-charts-x-axis-ticks","",3,"trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","width","tickValues","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["ngx-charts-x-axis-ticks","",3,"trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","width","tickValues","dimensionsChanged"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(r,p){1&r&&(c.O4$(),c.TgZ(0,"g"),c.YNc(1,rC,1,12,"g",0),c.YNc(2,yh,1,5,"g",1),c.qZA()),2&r&&(c.uIk("class",p.xAxisClassName)("transform",p.transform),c.xp6(1),c.Q6J("ngIf",p.xScale),c.xp6(1),c.Q6J("ngIf",p.showLabel))},dependencies:[nm,im,m.O5],encapsulation:2,changeDetection:0}),u})();function Oc(u,f,r,p,x,[D,I,G,me]){let fe="";return fe=`M${[u+x,f]}`,fe+="h"+((r=0===(r=Math.floor(r))?1:r)-2*x),fe+=I?`a${[x,x]} 0 0 1 ${[x,x]}`:`h${x}v${x}`,fe+="v"+((p=0===(p=Math.floor(p))?1:p)-2*x),fe+=me?`a${[x,x]} 0 0 1 ${[-x,x]}`:`v${x}h${-x}`,fe+="h"+(2*x-r),fe+=G?`a${[x,x]} 0 0 1 ${[-x,-x]}`:`h${-x}v${-x}`,fe+="v"+(2*x-p),fe+=D?`a${[x,x]} 0 0 1 ${[x,-x]}`:`v${-x}h${x}`,fe+="z",fe}let Jg=(()=>{class u{constructor(r){this.platformId=r,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.showRefLabels=!1,this.showRefLines=!1,this.dimensionsChanged=new c.vpe,this.innerTickSize=6,this.tickPadding=3,this.verticalSpacing=20,this.textAnchor=Ir.Middle,this.width=0,this.outerTickSize=6,this.rotateLabels=!1,this.referenceLineLength=0,this.Orientation=Io}ngOnChanges(r){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!(0,m.NF)(this.platformId))return this.width=this.getApproximateAxisWidth(),void this.dimensionsChanged.emit({width:this.width});const r=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().width,10);r!==this.width&&(this.width=r,this.dimensionsChanged.emit({width:r}),setTimeout(()=>this.updateDims()))}update(){const r=this.scale,p=this.orient===Io.Top||this.orient===Io.Right?-1:1;switch(this.tickSpacing=Math.max(this.innerTickSize,0)+this.tickPadding,this.ticks=this.getTicks(),this.tickFormat=this.tickFormatting?this.tickFormatting:r.tickFormat?r.tickFormat.apply(r,this.tickArguments):function(x){return"Date"===x.constructor.name?x.toLocaleDateString():x.toLocaleString()},this.adjustedScale=r.bandwidth?function(x){return r(x)+.5*r.bandwidth()}:r,this.showRefLines&&this.referenceLines&&this.setReferencelines(),this.orient){case Io.Top:case Io.Bottom:this.transform=function(x){return"translate("+this.adjustedScale(x)+",0)"},this.textAnchor=Ir.Middle,this.y2=this.innerTickSize*p,this.y1=this.tickSpacing*p,this.dy=p<0?"0em":".71em";break;case Io.Left:this.transform=function(x){return"translate(0,"+this.adjustedScale(x)+")"},this.textAnchor=Ir.End,this.x2=this.innerTickSize*-p,this.x1=this.tickSpacing*-p,this.dy=".32em";break;case Io.Right:this.transform=function(x){return"translate(0,"+this.adjustedScale(x)+")"},this.textAnchor=Ir.Start,this.x2=this.innerTickSize*-p,this.x1=this.tickSpacing*-p,this.dy=".32em"}setTimeout(()=>this.updateDims())}setReferencelines(){this.refMin=this.adjustedScale(Math.min.apply(null,this.referenceLines.map(r=>r.value))),this.refMax=this.adjustedScale(Math.max.apply(null,this.referenceLines.map(r=>r.value))),this.referenceLineLength=this.referenceLines.length,this.referenceAreaPath=Oc(0,this.refMax,this.gridLineWidth,this.refMin-this.refMax,0,[!1,!1,!1,!1])}getTicks(){let r;const p=this.getMaxTicks(20),x=this.getMaxTicks(50);return this.tickValues?r=this.tickValues:this.scale.ticks?r=this.scale.ticks.apply(this.scale,[x]):(r=this.scale.domain(),r=xd(r,p)),r}getMaxTicks(r){return Math.floor(this.height/r)}tickTransform(r){return`translate(${this.adjustedScale(r)},${this.verticalSpacing})`}gridLineTransform(){return"translate(5,0)"}tickTrim(r){return this.trimTicks?ic(r,this.maxTickLength):r}getApproximateAxisWidth(){return 7*Math.max(...this.ticks.map(x=>this.tickTrim(this.tickFormat(x)).length))}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(c.Lbi))},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-y-axis-ticks",""]],viewQuery:function(r,p){if(1&r&&c.Gf(dg,5),2&r){let x;c.iGM(x=c.CRH())&&(p.ticksElement=x.first)}},inputs:{scale:"scale",orient:"orient",tickArguments:"tickArguments",tickValues:"tickValues",tickStroke:"tickStroke",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",gridLineWidth:"gridLineWidth",height:"height",referenceLines:"referenceLines",showRefLabels:"showRefLabels",showRefLines:"showRefLines"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[c.TTD],attrs:Hs,decls:6,vars:4,consts:[["ticksel",""],["class","tick",4,"ngFor","ngForOf"],["class","reference-area",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"tick"],["stroke-width","0.01"],[1,"reference-area"],[4,"ngIf"],["class","gridline-path gridline-path-horizontal","x1","0",4,"ngIf"],["x1","0",1,"gridline-path","gridline-path-horizontal"],["x1","0",1,"refline-path","gridline-path-horizontal"],[1,"refline-label"]],template:function(r,p){1&r&&(c.O4$(),c.TgZ(0,"g",null,0),c.YNc(2,vr,5,9,"g",1),c.qZA(),c.YNc(3,w0,1,2,"path",2),c.YNc(4,sC,2,2,"g",3),c.YNc(5,pg,2,1,"g",3)),2&r&&(c.xp6(2),c.Q6J("ngForOf",p.ticks),c.xp6(1),c.Q6J("ngIf",p.referenceLineLength>1&&p.refMax&&p.refMin&&p.showRefLines),c.xp6(1),c.Q6J("ngForOf",p.ticks),c.xp6(1),c.Q6J("ngForOf",p.referenceLines))},dependencies:[m.sg,m.O5],encapsulation:2,changeDetection:0}),u})(),am=(()=>{class u{constructor(){this.showGridLines=!1,this.yOrient=Io.Left,this.yAxisOffset=0,this.dimensionsChanged=new c.vpe,this.yAxisClassName="y axis",this.labelOffset=15,this.fill="none",this.stroke="#CCC",this.tickStroke="#CCC",this.strokeWidth=1,this.padding=5}ngOnChanges(r){this.update()}update(){this.offset=-(this.yAxisOffset+this.padding),this.yOrient===Io.Right?(this.labelOffset=65,this.transform=`translate(${this.offset+this.dims.width} , 0)`):this.transform=`translate(${this.offset} , 0)`,void 0!==this.yAxisTickCount&&(this.tickArguments=[this.yAxisTickCount])}emitTicksWidth({width:r}){r!==this.labelOffset&&this.yOrient===Io.Right?(this.labelOffset=r+this.labelOffset,setTimeout(()=>{this.dimensionsChanged.emit({width:r})},0)):r!==this.labelOffset&&(this.labelOffset=r,setTimeout(()=>{this.dimensionsChanged.emit({width:r})},0))}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-y-axis",""]],viewQuery:function(r,p){if(1&r&&c.Gf(Jg,5),2&r){let x;c.iGM(x=c.CRH())&&(p.ticksComponent=x.first)}},inputs:{yScale:"yScale",dims:"dims",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",ticks:"ticks",showGridLines:"showGridLines",showLabel:"showLabel",labelText:"labelText",yAxisTickCount:"yAxisTickCount",yOrient:"yOrient",referenceLines:"referenceLines",showRefLines:"showRefLines",showRefLabels:"showRefLabels",yAxisOffset:"yAxisOffset"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[c.TTD],attrs:hg,decls:3,vars:4,consts:[["ngx-charts-y-axis-ticks","",3,"trimTicks","maxTickLength","tickFormatting","tickArguments","tickValues","tickStroke","scale","orient","showGridLines","gridLineWidth","referenceLines","showRefLines","showRefLabels","height","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["ngx-charts-y-axis-ticks","",3,"trimTicks","maxTickLength","tickFormatting","tickArguments","tickValues","tickStroke","scale","orient","showGridLines","gridLineWidth","referenceLines","showRefLines","showRefLabels","height","dimensionsChanged"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(r,p){1&r&&(c.O4$(),c.TgZ(0,"g"),c.YNc(1,Mh,1,14,"g",0),c.YNc(2,cC,1,5,"g",1),c.qZA()),2&r&&(c.uIk("class",p.yAxisClassName)("transform",p.transform),c.xp6(1),c.Q6J("ngIf",p.yScale),c.xp6(1),c.Q6J("ngIf",p.showLabel))},dependencies:[Jg,im,m.O5],encapsulation:2,changeDetection:0}),u})(),Nt=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=c.oAB({type:u}),u.\u0275inj=c.cJS({imports:[[m.ez]]}),u})();var zi=(()=>{return(u=zi||(zi={})).popover="popover",u.tooltip="tooltip",zi;var u})(),nn=(()=>{return(u=nn||(nn={}))[u.all="all"]="all",u[u.focus="focus"]="focus",u[u.mouseover="mouseover"]="mouseover",nn;var u})();let ua=(()=>{class u{constructor(r,p,x){this.tooltipService=r,this.viewContainerRef=p,this.renderer=x,this.tooltipCssClass="",this.tooltipAppendToBody=!0,this.tooltipSpacing=10,this.tooltipDisabled=!1,this.tooltipShowCaret=!0,this.tooltipPlacement=On.Top,this.tooltipAlignment=On.Center,this.tooltipType=zi.popover,this.tooltipCloseOnClickOutside=!0,this.tooltipCloseOnMouseLeave=!0,this.tooltipHideTimeout=300,this.tooltipShowTimeout=100,this.tooltipShowEvent=nn.all,this.tooltipImmediateExit=!1,this.show=new c.vpe,this.hide=new c.vpe}get listensForFocus(){return this.tooltipShowEvent===nn.all||this.tooltipShowEvent===nn.focus}get listensForHover(){return this.tooltipShowEvent===nn.all||this.tooltipShowEvent===nn.mouseover}ngOnDestroy(){this.hideTooltip(!0)}onFocus(){this.listensForFocus&&this.showTooltip()}onBlur(){this.listensForFocus&&this.hideTooltip(!0)}onMouseEnter(){this.listensForHover&&this.showTooltip()}onMouseLeave(r){if(this.listensForHover&&this.tooltipCloseOnMouseLeave){if(clearTimeout(this.timeout),this.component&&this.component.instance.element.nativeElement.contains(r))return;this.hideTooltip(this.tooltipImmediateExit)}}onMouseClick(){this.listensForHover&&this.hideTooltip(!0)}showTooltip(r){if(this.component||this.tooltipDisabled)return;const p=r?0:this.tooltipShowTimeout+(navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)?400:0);clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.tooltipService.destroyAll();const x=this.createBoundOptions();this.component=this.tooltipService.create(x),setTimeout(()=>{this.component&&this.addHideListeners(this.component.instance.element.nativeElement)},10),this.show.emit(!0)},p)}addHideListeners(r){this.mouseEnterContentEvent=this.renderer.listen(r,"mouseenter",()=>{clearTimeout(this.timeout)}),this.tooltipCloseOnMouseLeave&&(this.mouseLeaveContentEvent=this.renderer.listen(r,"mouseleave",()=>{this.hideTooltip(this.tooltipImmediateExit)})),this.tooltipCloseOnClickOutside&&(this.documentClickEvent=this.renderer.listen("window","click",p=>{r.contains(p.target)||this.hideTooltip()}))}hideTooltip(r=!1){if(!this.component)return;const p=()=>{this.mouseLeaveContentEvent&&this.mouseLeaveContentEvent(),this.mouseEnterContentEvent&&this.mouseEnterContentEvent(),this.documentClickEvent&&this.documentClickEvent(),this.hide.emit(!0),this.tooltipService.destroy(this.component),this.component=void 0};clearTimeout(this.timeout),r?p():this.timeout=setTimeout(p,this.tooltipHideTimeout)}createBoundOptions(){return{title:this.tooltipTitle,template:this.tooltipTemplate,host:this.viewContainerRef.element,placement:this.tooltipPlacement,alignment:this.tooltipAlignment,type:this.tooltipType,showCaret:this.tooltipShowCaret,cssClass:this.tooltipCssClass,spacing:this.tooltipSpacing,context:this.tooltipContext}}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(Cd),c.Y36(c.s_b),c.Y36(c.Qsj))},u.\u0275dir=c.lG2({type:u,selectors:[["","ngx-tooltip",""]],hostBindings:function(r,p){1&r&&c.NdJ("focusin",function(){return p.onFocus()})("blur",function(){return p.onBlur()})("mouseenter",function(){return p.onMouseEnter()})("mouseleave",function(D){return p.onMouseLeave(D.target)})("click",function(){return p.onMouseClick()})},inputs:{tooltipCssClass:"tooltipCssClass",tooltipTitle:"tooltipTitle",tooltipAppendToBody:"tooltipAppendToBody",tooltipSpacing:"tooltipSpacing",tooltipDisabled:"tooltipDisabled",tooltipShowCaret:"tooltipShowCaret",tooltipPlacement:"tooltipPlacement",tooltipAlignment:"tooltipAlignment",tooltipType:"tooltipType",tooltipCloseOnClickOutside:"tooltipCloseOnClickOutside",tooltipCloseOnMouseLeave:"tooltipCloseOnMouseLeave",tooltipHideTimeout:"tooltipHideTimeout",tooltipShowTimeout:"tooltipShowTimeout",tooltipTemplate:"tooltipTemplate",tooltipShowEvent:"tooltipShowEvent",tooltipContext:"tooltipContext",tooltipImmediateExit:"tooltipImmediateExit"},outputs:{show:"show",hide:"hide"}}),u})(),$g=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=c.oAB({type:u}),u.\u0275inj=c.cJS({providers:[g_,Cd],imports:[[m.ez]]}),u})();const om={};function kc(){let u=("0000"+(Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4);return u=`a${u}`,om[u]?kc():(om[u]=!0,u)}var pi=(()=>{return(u=pi||(pi={})).Vertical="vertical",u.Horizontal="horizontal",pi;var u})();let Al=(()=>{class u{constructor(){this.orientation=pi.Vertical}ngOnChanges(r){this.x1="0%",this.x2="0%",this.y1="0%",this.y2="0%",this.orientation===pi.Horizontal?this.x2="100%":this.orientation===pi.Vertical&&(this.y1="100%")}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-svg-linear-gradient",""]],inputs:{orientation:"orientation",name:"name",stops:"stops"},features:[c.TTD],attrs:nu,decls:2,vars:6,consts:[[3,"id"],[3,"stop-color","stop-opacity",4,"ngFor","ngForOf"]],template:function(r,p){1&r&&(c.O4$(),c.TgZ(0,"linearGradient",0),c.YNc(1,Dh,1,5,"stop",1),c.qZA()),2&r&&(c.Q6J("id",p.name),c.uIk("x1",p.x1)("y1",p.y1)("x2",p.x2)("y2",p.y2),c.xp6(1),c.Q6J("ngForOf",p.stops))},dependencies:[m.sg],encapsulation:2,changeDetection:0}),u})(),kn=(()=>{class u{constructor(){this.select=new c.vpe,this.activate=new c.vpe,this.deactivate=new c.vpe}onClick(){this.select.emit(this.data)}onMouseEnter(){this.activate.emit(this.data)}onMouseLeave(){this.deactivate.emit(this.data)}ngOnChanges(r){this.classNames=Array.isArray(this.classNames)?this.classNames.join(" "):"",this.classNames+="circle"}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-circle",""]],hostBindings:function(r,p){1&r&&c.NdJ("click",function(){return p.onClick()})("mouseenter",function(){return p.onMouseEnter()})("mouseleave",function(){return p.onMouseLeave()})},inputs:{cx:"cx",cy:"cy",r:"r",fill:"fill",stroke:"stroke",data:"data",classNames:"classNames",circleOpacity:"circleOpacity",pointerEvents:"pointerEvents"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[c.TTD],attrs:op,decls:1,vars:8,template:function(r,p){1&r&&(c.O4$(),c._UZ(0,"circle")),2&r&&c.uIk("cx",p.cx)("cy",p.cy)("r",p.r)("fill",p.fill)("stroke",p.stroke)("opacity",p.circleOpacity)("class",p.classNames)("pointer-events",p.pointerEvents)},encapsulation:2,changeDetection:0}),u})();var jr=(()=>{return(u=jr||(jr={})).Standard="standard",u.Stacked="stacked",jr;var u})();let Cn=(()=>{class u{constructor(r){this.platformId=r,this.type=jr.Standard,this.tooltipDisabled=!1,this.select=new c.vpe,this.activate=new c.vpe,this.deactivate=new c.vpe,this.barVisible=!1,this.barOrientation=pi,this.placementTypes=On,this.styleTypes=zi,this.isSSR=!1}ngOnInit(){this.gradientId="grad"+kc().toString(),this.gradientFill=`url(#${this.gradientId})`,(0,m.PM)(this.platformId)&&(this.isSSR=!0)}ngOnChanges(){this.update()}update(){this.circle=this.getActiveCircle()}getActiveCircle(){const r=this.data.series.findIndex(p=>{const x=p.name;return x&&this.visibleValue&&x.toString()===this.visibleValue.toString()&&void 0!==p.value});if(-1!==r)return this.mapDataPointToCircle(this.data.series[r],r)}mapDataPointToCircle(r,p){const x=this.data.name,D=r.value,I=r.name,G=fl(I);let me;me=this.xScale(this.scaleType===Pi.Time?I:this.scaleType===Pi.Linear?Number(I):I);const fe=this.yScale(this.type===jr.Standard?D:r.d1),dt=this.yScale.range()[0]-fe;let wt;return wt=this.colors.getColor(this.colors.scaleType===Pi.Linear?this.type===jr.Standard?D:r.d1:x),{classNames:[`circle-data-${p}`],value:D,label:I,data:Object.assign({},r,{series:x,value:D,name:I}),cx:me,cy:fe,radius:5,height:dt,tooltipLabel:G,color:wt,opacity:1,seriesName:x,gradientStops:this.getGradientStops(wt),min:r.min,max:r.max}}getTooltipText({tooltipLabel:r,value:p,seriesName:x,min:D,max:I}){return`\n ${tc(x)} \u2022 ${tc(r)}\n ${p.toLocaleString()}${this.getTooltipMinMaxText(D,I)}\n `}getTooltipMinMaxText(r,p){if(void 0!==r||void 0!==p){let x=" (";return void 0!==r?(void 0===p&&(x+="\u2265"),x+=r.toLocaleString(),void 0!==p&&(x+=" - ")):void 0!==p&&(x+="\u2264"),void 0!==p&&(x+=p.toLocaleString()),x+=")",x}return""}getGradientStops(r){return[{offset:0,color:r,opacity:.2},{offset:100,color:r,opacity:1}]}onClick(r){this.select.emit(r)}isActive(r){return!!this.activeEntries&&void 0!==this.activeEntries.find(x=>r.name===x.name)}activateCircle(){this.barVisible=!0,this.activate.emit({name:this.data.name})}deactivateCircle(){this.barVisible=!1,this.circle.opacity=0,this.deactivate.emit({name:this.data.name})}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(c.Lbi))},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-circle-series",""]],inputs:{data:"data",type:"type",xScale:"xScale",yScale:"yScale",colors:"colors",scaleType:"scaleType",visibleValue:"visibleValue",activeEntries:"activeEntries",tooltipDisabled:"tooltipDisabled",tooltipTemplate:"tooltipTemplate"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[c.TTD],attrs:au,decls:1,vars:1,consts:[[4,"ngIf"],["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops"],["class","tooltip-bar",4,"ngIf"],["ngx-charts-circle","","ngx-tooltip","",1,"circle",3,"cx","cy","r","fill","pointerEvents","data","classNames","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate"],[1,"tooltip-bar"]],template:function(r,p){1&r&&c.YNc(0,dC,6,22,"g",0),2&r&&c.Q6J("ngIf",p.circle)},dependencies:[Al,kn,m.O5,ua],encapsulation:2,data:{animation:[(0,F.X$)("animationState",[(0,F.eR)(":enter",[(0,F.oB)({opacity:0}),(0,F.jt)(250,(0,F.oB)({opacity:1}))])])]},changeDetection:0}),u})(),yd=(()=>{class u{constructor(){this.endOpacity=1,this.cx=0,this.cy=0}get stops(){return this.stopsInput||this.stopsDefault}set stops(r){this.stopsInput=r}ngOnChanges(r){this.r="30%",("color"in r||"startOpacity"in r||"endOpacity"in r)&&(this.stopsDefault=[{offset:0,color:this.color,opacity:this.startOpacity},{offset:100,color:this.color,opacity:this.endOpacity}])}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-svg-radial-gradient",""]],inputs:{color:"color",name:"name",startOpacity:"startOpacity",endOpacity:"endOpacity",cx:"cx",cy:"cy",stops:"stops"},features:[c.TTD],attrs:Sh,decls:2,vars:5,consts:[["gradientUnits","userSpaceOnUse",3,"id"],[3,"stop-color","stop-opacity",4,"ngFor","ngForOf"]],template:function(r,p){1&r&&(c.O4$(),c.TgZ(0,"radialGradient",0),c.YNc(1,gg,1,5,"stop",1),c.qZA()),2&r&&(c.Q6J("id",p.name),c.uIk("cx",p.cx)("cy",p.cy)("r",p.r),c.xp6(1),c.Q6J("ngForOf",p.stops))},dependencies:[m.sg],encapsulation:2,changeDetection:0}),u})(),Xg=(()=>{class u{constructor(r){this.opacity=1,this.startOpacity=.5,this.endOpacity=1,this.gradient=!1,this.animations=!0,this.select=new c.vpe,this.animationsLoaded=!1,this.hasGradient=!1,this.barOrientation=pi,this.element=r.nativeElement}ngOnChanges(){this.update(),this.animationsLoaded||(this.loadAnimation(),this.animationsLoaded=!0)}update(){this.gradientId="grad"+kc().toString(),this.gradientFill=`url(#${this.gradientId})`,this.gradient||this.stops?(this.gradientStops=this.getGradient(),this.hasGradient=!0):this.hasGradient=!1,this.updatePathEl()}loadAnimation(){this.areaPath=this.startingPath,setTimeout(this.updatePathEl.bind(this),100)}updatePathEl(){const r=Zn(this.element).select(".area");this.animations?r.transition().duration(750).attr("d",this.path):r.attr("d",this.path)}getGradient(){return this.stops?this.stops:[{offset:0,color:this.fill,opacity:this.startOpacity},{offset:100,color:this.fill,opacity:this.endOpacity}]}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(c.SBq))},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-area",""]],inputs:{data:"data",path:"path",startingPath:"startingPath",fill:"fill",opacity:"opacity",startOpacity:"startOpacity",endOpacity:"endOpacity",gradient:"gradient",stops:"stops",animations:"animations"},outputs:{select:"select"},features:[c.TTD],attrs:fg,decls:2,vars:5,consts:[[4,"ngIf"],[1,"area"],["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops"]],template:function(r,p){1&r&&(c.YNc(0,Ah,2,3,"defs",0),c.O4$(),c._UZ(1,"path",1)),2&r&&(c.Q6J("ngIf",p.gradient),c.xp6(1),c.Udp("opacity",p.opacity),c.uIk("d",p.areaPath)("fill",p.gradient?p.gradientFill:p.fill))},dependencies:[Al,m.O5],encapsulation:2,changeDetection:0}),u})();function ef(u,f,r,p){return r*(1-Math.pow(2,-10*u/p))*1024/1023+f}function tf(u,f,r,p,x){const D=Number(u),I=Number(f),G=D>I,me=Math.max(0,r),fe=Math.pow(10,me),Ue=1e3*Number(p);let dt;function ft(wt){let oi;const Mi=wt-dt;oi=G?D-ef(Mi,0,D-I,Ue):ef(Mi,D,I-D,Ue),oi=G?oiI?I:oi,oi=Math.round(oi*fe)/fe;const St=Mift(yi))}return requestAnimationFrame(wt=>(dt=wt,ft(wt)))}let nf,wp=(()=>{class u{constructor(r,p){this.cd=r,this.countDuration=1,this.countPrefix="",this.countSuffix="",this.countChange=new c.vpe,this.countFinish=new c.vpe,this.value="",this._countDecimals=0,this._countTo=0,this._countFrom=0,this.nativeElement=p.nativeElement}set countDecimals(r){this._countDecimals=r}get countDecimals(){return this._countDecimals?this._countDecimals:function JC(u){const f=Number(u);return f%1!=0&&Math.abs(f)<=10?2:0}(this.countTo)}set countTo(r){this._countTo=parseFloat(r),this.start()}get countTo(){return this._countTo}set countFrom(r){this._countFrom=parseFloat(r),this.start()}get countFrom(){return this._countFrom}ngOnDestroy(){cancelAnimationFrame(this.animationReq)}start(){cancelAnimationFrame(this.animationReq);const r=this.valueFormatting||(x=>`${this.countPrefix}${x.toLocaleString()}${this.countSuffix}`);this.animationReq=tf(this.countFrom,this.countTo,this.countDecimals,this.countDuration,({value:x,progress:D,finished:I})=>{this.value=r(x),this.cd.markForCheck(),I||this.countChange.emit({value:this.value,progress:D}),I&&this.countFinish.emit({value:this.value,progress:D})})}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(c.sBO),c.Y36(c.SBq))},u.\u0275cmp=c.Xpm({type:u,selectors:[["","ngx-charts-count-up",""]],inputs:{countDuration:"countDuration",countPrefix:"countPrefix",countSuffix:"countSuffix",valueFormatting:"valueFormatting",countDecimals:"countDecimals",countTo:"countTo",countFrom:"countFrom"},outputs:{countChange:"countChange",countFinish:"countFinish"},attrs:Lh,decls:1,vars:1,template:function(r,p){1&r&&c._uU(0),2&r&&c.hij(" ",p.value," ")},encapsulation:2}),u})();"undefined"!=typeof window?nf=window:"undefined"!=typeof global&&(nf=global);const Sp=nf.MouseEvent;function v_(u,f=!1,r=!0){if("function"==typeof Sp)return new Sp(u,{bubbles:f,cancelable:r});{const p=document.createEvent("MouseEvent");return p.initEvent(u,f,r),p}}let Vs=(()=>{class u{constructor(r){this.platformId=r,this.anchorOpacity=0,this.anchorPos=-1,this.anchorValues=[],this.placementTypes=On,this.styleTypes=zi,this.showPercentage=!1,this.tooltipDisabled=!1,this.hover=new c.vpe}getValues(r){const p=[];for(const x of this.results){const D=x.series.find(G=>G.name.toString()===r.toString());let I=x.name;if(I instanceof Date&&(I=I.toLocaleDateString()),D){const G=D.name;let fe,me=D.value;if(this.showPercentage&&(me=(D.d1-D.d0).toFixed(2)+"%"),this.colors.scaleType===Pi.Linear){let dt=me;D.d1&&(dt=D.d1),fe=this.colors.getColor(dt)}else fe=this.colors.getColor(x.name);const Ue=Object.assign({},D,{value:me,name:G,series:I,min:D.min,max:D.max,color:fe});p.push(Ue)}}return p}mouseMove(r){if(!(0,m.NF)(this.platformId))return;const p=r.pageX-r.target.getBoundingClientRect().left,x=this.findClosestPointIndex(p),D=this.xSet[x];if(this.anchorPos=this.xScale(D),this.anchorPos=Math.max(0,this.anchorPos),this.anchorPos=Math.min(this.dims.width,this.anchorPos),this.anchorValues=this.getValues(D),this.anchorPos!==this.lastAnchorPos){const I=v_("mouseleave");this.tooltipAnchor.nativeElement.dispatchEvent(I),this.anchorOpacity=.7,this.hover.emit({value:D}),this.showTooltip(),this.lastAnchorPos=this.anchorPos}}findClosestPointIndex(r){let p=0,x=this.xSet.length-1,D=Number.MAX_VALUE,I=0;for(;p<=x;){const G=(p+x)/2|0,me=this.xScale(this.xSet[G]),fe=Math.abs(me-r);if(fer)){D=0,I=G;break}x=G-1}}return I}showTooltip(){const r=v_("mouseenter");this.tooltipAnchor.nativeElement.dispatchEvent(r)}hideTooltip(){const r=v_("mouseleave");this.tooltipAnchor.nativeElement.dispatchEvent(r),this.anchorOpacity=0,this.lastAnchorPos=-1}getToolTipText(r){let p="";return p+=void 0!==r.series?r.series:"???",p+=": ",void 0!==r.value&&(p+=r.value.toLocaleString()),(void 0!==r.min||void 0!==r.max)&&(p+=" (",void 0!==r.min?(void 0===r.max&&(p+="\u2265"),p+=r.min.toLocaleString(),void 0!==r.max&&(p+=" - ")):void 0!==r.max&&(p+="\u2264"),void 0!==r.max&&(p+=r.max.toLocaleString()),p+=")"),p}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(c.Lbi))},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-tooltip-area",""]],viewQuery:function(r,p){if(1&r&&c.Gf(L0,5),2&r){let x;c.iGM(x=c.CRH())&&(p.tooltipAnchor=x.first)}},inputs:{dims:"dims",xSet:"xSet",xScale:"xScale",yScale:"yScale",results:"results",colors:"colors",showPercentage:"showPercentage",tooltipDisabled:"tooltipDisabled",tooltipTemplate:"tooltipTemplate"},outputs:{hover:"hover"},attrs:ld,decls:6,vars:18,consts:[["y","0",1,"tooltip-area",2,"opacity","0","cursor","auto",3,"mousemove","mouseleave"],["defaultTooltipTemplate",""],["y","0","ngx-tooltip","",1,"tooltip-anchor",3,"tooltipDisabled","tooltipPlacement","tooltipType","tooltipSpacing","tooltipTemplate","tooltipContext","tooltipImmediateExit"],["tooltipAnchor",""],[1,"area-tooltip-container"],["class","tooltip-item",4,"ngFor","ngForOf"],[1,"tooltip-item"],[1,"tooltip-item-color"]],template:function(r,p){if(1&r&&(c.O4$(),c.TgZ(0,"g")(1,"rect",0),c.NdJ("mousemove",function(D){return p.mouseMove(D)})("mouseleave",function(){return p.hideTooltip()}),c.qZA(),c.YNc(2,O0,2,1,"ng-template",null,1,c.W1O),c._UZ(4,"rect",2,3),c.qZA()),2&r){const x=c.MAs(3);c.xp6(1),c.uIk("x",0)("width",p.dims.width)("height",p.dims.height),c.xp6(3),c.Udp("opacity",p.anchorOpacity)("pointer-events","none"),c.Q6J("@animationState",0!==p.anchorOpacity?"active":"inactive")("tooltipDisabled",p.tooltipDisabled)("tooltipPlacement",p.placementTypes.Right)("tooltipType",p.styleTypes.tooltip)("tooltipSpacing",15)("tooltipTemplate",p.tooltipTemplate?p.tooltipTemplate:x)("tooltipContext",p.anchorValues)("tooltipImmediateExit",!0),c.uIk("x",p.anchorPos)("width",1)("height",p.dims.height)}},dependencies:[m.sg,ua],encapsulation:2,data:{animation:[(0,F.X$)("animationState",[(0,F.eR)("inactive => active",[(0,F.oB)({opacity:0}),(0,F.jt)(250,(0,F.oB)({opacity:.7}))]),(0,F.eR)("active => inactive",[(0,F.oB)({opacity:.7}),(0,F.jt)(250,(0,F.oB)({opacity:0}))])])]},changeDetection:0}),u})(),af=(()=>{class u{constructor(r,p){this.cd=p,this.height=50,this.select=new c.vpe,this.onDomainChange=new c.vpe,this.initialized=!1,this.element=r.nativeElement}ngOnChanges(r){this.update(),this.initialized||(this.addBrush(),this.initialized=!0)}update(){this.dims=this.getDims(),this.height=this.dims.height;const r=this.view[1]-this.height;this.xDomain=this.getXDomain(),this.xScale=this.getXScale(),this.brush&&this.updateBrush(),this.transform=`translate(0 , ${r})`,this.filterId="filter"+kc().toString(),this.filter=`url(#${this.filterId})`,this.cd.markForCheck()}getXDomain(){let r=[];for(const x of this.results)for(const D of x.series)r.includes(D.name)||r.push(D.name);let p=[];return this.scaleType===Pi.Time?p=[Math.min(...r),Math.max(...r)]:this.scaleType===Pi.Linear?(r=r.map(I=>Number(I)),p=[Math.min(...r),Math.max(...r)]):p=r,p}getXScale(){let r;return this.scaleType===Pi.Time?r=jo().range([0,this.dims.width]).domain(this.xDomain):this.scaleType===Pi.Linear?r=Dc().range([0,this.dims.width]).domain(this.xDomain):this.scaleType===Pi.Ordinal&&(r=eu().range([0,this.dims.width]).padding(.1).domain(this.xDomain)),r}addBrush(){if(this.brush)return;const r=this.height,p=this.view[0];this.brush=function Jc(){return function Co(u){var G,f=Fs,r=bu,p=Bp,x=!0,D=sr("start","brush","end"),I=6;function me(St){var yi=St.property("__brush",Mi).selectAll(".overlay").data([fc("overlay")]);yi.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",Gr.overlay).merge(yi).each(function(){var vi=yu(this).extent;Zn(this).attr("x",vi[0][0]).attr("y",vi[0][1]).attr("width",vi[1][0]-vi[0][0]).attr("height",vi[1][1]-vi[0][1])}),St.selectAll(".selection").data([fc("selection")]).enter().append("rect").attr("class","selection").attr("cursor",Gr.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var bi=St.selectAll(".handle").data(u.handles,function(vi){return vi.type});bi.exit().remove(),bi.enter().append("rect").attr("class",function(vi){return"handle handle--"+vi.type}).attr("cursor",function(vi){return Gr[vi.type]}),St.each(fe).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",ft).filter(p).on("touchstart.brush",ft).on("touchmove.brush",wt).on("touchend.brush touchcancel.brush",oi).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function fe(){var St=Zn(this),yi=yu(this).selection;yi?(St.selectAll(".selection").style("display",null).attr("x",yi[0][0]).attr("y",yi[0][1]).attr("width",yi[1][0]-yi[0][0]).attr("height",yi[1][1]-yi[0][1]),St.selectAll(".handle").style("display",null).attr("x",function(bi){return"e"===bi.type[bi.type.length-1]?yi[1][0]-I/2:yi[0][0]-I/2}).attr("y",function(bi){return"s"===bi.type[0]?yi[1][1]-I/2:yi[0][1]-I/2}).attr("width",function(bi){return"n"===bi.type||"s"===bi.type?yi[1][0]-yi[0][0]+I:I}).attr("height",function(bi){return"e"===bi.type||"w"===bi.type?yi[1][1]-yi[0][1]+I:I})):St.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function Ue(St,yi,bi){var vi=St.__brush.emitter;return!vi||bi&&vi.clean?new dt(St,yi,bi):vi}function dt(St,yi,bi){this.that=St,this.args=yi,this.state=St.__brush,this.active=0,this.clean=bi}function ft(St){if((!G||St.touches)&&r.apply(this,arguments)){var ea,ji,Yi,ta,pa,qn,ia,Ga,kl,Il,os,yi=this,bi=St.target.__data__.type,vi="selection"===(x&&St.metaKey?bi="overlay":bi)?ro:x&&St.altKey?fo:Wa,Zi=u===qc?null:so[bi],Ki=u===Ud?null:Rs[bi],Ei=yu(yi),_a=Ei.extent,jn=Ei.selection,wa=_a[0][0],qi=_a[0][1],bo=_a[1][0],Po=_a[1][1],Na=0,Za=0,Pr=Zi&&Ki&&x&&St.shiftKey,Ro=Array.from(St.touches||[St],wn=>{const po=wn.identifier;return(wn=ws(wn,yi)).point0=wn.slice(),wn.identifier=po,wn});if("overlay"===bi){jn&&(kl=!0);const wn=[Ro[0],Ro[1]||Ro[0]];Ei.selection=jn=[[ea=u===qc?wa:da(wn[0][0],wn[1][0]),Yi=u===Ud?qi:da(wn[0][1],wn[1][1])],[pa=u===qc?bo:aa(wn[0][0],wn[1][0]),ia=u===Ud?Po:aa(wn[0][1],wn[1][1])]],Ro.length>1&&_o()}else ea=jn[0][0],Yi=jn[0][1],pa=jn[1][0],ia=jn[1][1];ji=ea,ta=Yi,qn=pa,Ga=ia;var ac=Zn(yi).attr("pointer-events","none"),Fi=ac.selectAll(".overlay").attr("cursor",Gr[bi]);Qs(yi);var En=Ue(yi,arguments,!0).beforestart();if(St.touches)En.moved=mi,En.ended=Da;else{var Jn=Zn(St.view).on("mousemove.brush",mi,!0).on("mouseup.brush",Da,!0);x&&Jn.on("keydown.brush",Wr,!0).on("keyup.brush",Rr,!0),Fr(St.view)}fe.call(yi),En.start(St,vi.name)}function mi(wn){for(const po of wn.changedTouches||[wn])for(const T_ of Ro)T_.identifier===po.identifier&&(T_.cur=ws(po,yi));if(Pr&&!Il&&!os&&1===Ro.length){const po=Ro[0];il(po.cur[0]-po[0])>il(po.cur[1]-po[1])?os=!0:Il=!0}for(const po of Ro)po.cur&&(po[0]=po.cur[0],po[1]=po.cur[1]);kl=!0,Pn(wn),_o(wn)}function _o(wn){const po=Ro[0],T_=po.point0;var Rc;switch(Na=po[0]-T_[0],Za=po[1]-T_[1],vi){case gr:case ro:Zi&&(Na=aa(wa-ea,da(bo-pa,Na)),ji=ea+Na,qn=pa+Na),Ki&&(Za=aa(qi-Yi,da(Po-ia,Za)),ta=Yi+Za,Ga=ia+Za);break;case Wa:Ro[1]?(Zi&&(ji=aa(wa,da(bo,Ro[0][0])),qn=aa(wa,da(bo,Ro[1][0])),Zi=1),Ki&&(ta=aa(qi,da(Po,Ro[0][1])),Ga=aa(qi,da(Po,Ro[1][1])),Ki=1)):(Zi<0?(Na=aa(wa-ea,da(bo-ea,Na)),ji=ea+Na,qn=pa):Zi>0&&(Na=aa(wa-pa,da(bo-pa,Na)),ji=ea,qn=pa+Na),Ki<0?(Za=aa(qi-Yi,da(Po-Yi,Za)),ta=Yi+Za,Ga=ia):Ki>0&&(Za=aa(qi-ia,da(Po-ia,Za)),ta=Yi,Ga=ia+Za));break;case fo:Zi&&(ji=aa(wa,da(bo,ea-Na*Zi)),qn=aa(wa,da(bo,pa+Na*Zi))),Ki&&(ta=aa(qi,da(Po,Yi-Za*Ki)),Ga=aa(qi,da(Po,ia+Za*Ki)))}qn0&&(ea=ji-Na),Ki<0?ia=Ga-Za:Ki>0&&(Yi=ta-Za),vi=gr,Fi.attr("cursor",Gr.selection),_o());break;default:return}Pn(wn)}function Rr(wn){switch(wn.keyCode){case 16:Pr&&(Il=os=Pr=!1,_o());break;case 18:vi===fo&&(Zi<0?pa=qn:Zi>0&&(ea=ji),Ki<0?ia=Ga:Ki>0&&(Yi=ta),vi=Wa,_o());break;case 32:vi===gr&&(wn.altKey?(Zi&&(pa=qn-Na*Zi,ea=ji+Na*Zi),Ki&&(ia=Ga-Za*Ki,Yi=ta+Za*Ki),vi=fo):(Zi<0?pa=qn:Zi>0&&(ea=ji),Ki<0?ia=Ga:Ki>0&&(Yi=ta),vi=Wa),Fi.attr("cursor",Gr[bi]),_o());break;default:return}Pn(wn)}}function wt(St){Ue(this,arguments).moved(St)}function oi(St){Ue(this,arguments).ended(St)}function Mi(){var St=this.__brush||{selection:null};return St.extent=Xn(f.apply(this,arguments)),St.dim=u,St}return me.move=function(St,yi){St.tween?St.on("start.brush",function(bi){Ue(this,arguments).beforestart().start(bi)}).on("interrupt.brush end.brush",function(bi){Ue(this,arguments).end(bi)}).tween("brush",function(){var bi=this,vi=bi.__brush,Zi=Ue(bi,arguments),Ki=vi.selection,Ei=u.input("function"==typeof yi?yi.apply(this,arguments):yi,vi.extent),_a=Xo(Ki,Ei);function jn(wa){vi.selection=1===wa&&null===Ei?null:_a(wa),fe.call(bi),Zi.brush()}return null!==Ki&&null!==Ei?jn:jn(1)}):St.each(function(){var bi=this,vi=arguments,Zi=bi.__brush,Ki=u.input("function"==typeof yi?yi.apply(bi,vi):yi,Zi.extent),Ei=Ue(bi,vi).beforestart();Qs(bi),Zi.selection=null===Ki?null:Ki,fe.call(bi),Ei.start().brush().end()})},me.clear=function(St){me.move(St,null)},dt.prototype={beforestart:function(){return 1==++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(St,yi){return this.starting?(this.starting=!1,this.emit("start",St,yi)):this.emit("brush",St),this},brush:function(St,yi){return this.emit("brush",St,yi),this},end:function(St,yi){return 0==--this.active&&(delete this.state.emitter,this.emit("end",St,yi)),this},emit:function(St,yi,bi){var vi=Zn(this.that).datum();D.call(St,this.that,new Ti(St,{sourceEvent:yi,target:me,selection:u.output(this.state.selection),mode:bi,dispatch:D}),vi)}},me.extent=function(St){return arguments.length?(f="function"==typeof St?St:ui(Xn(St)),me):f},me.filter=function(St){return arguments.length?(r="function"==typeof St?St:ui(!!St),me):r},me.touchable=function(St){return arguments.length?(p="function"==typeof St?St:ui(!!St),me):p},me.handleSize=function(St){return arguments.length?(I=+St,me):I},me.keyModifiers=function(St){return arguments.length?(x=!!St,me):x},me.on=function(){var St=D.on.apply(D,arguments);return St===D?me:St},me}(Ud)}().extent([[0,0],[p,r]]).on("brush end",({selection:x})=>{const I=(x||this.xScale.range()).map(this.xScale.invert);this.onDomainChange.emit(I),this.cd.markForCheck()}),Zn(this.element).select(".brush").call(this.brush)}updateBrush(){this.brush&&(this.brush.extent([[0,0],[this.view[0],this.height]]),Zn(this.element).select(".brush").call(this.brush),Zn(this.element).select(".selection").attr("fill",void 0).attr("stroke",void 0).attr("fill-opacity",void 0),this.cd.markForCheck())}getDims(){return{width:this.view[0],height:this.height}}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(c.SBq),c.Y36(c.sBO))},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-timeline",""]],inputs:{view:"view",results:"results",scheme:"scheme",customColors:"customColors",legend:"legend",autoScale:"autoScale",scaleType:"scaleType",height:"height"},outputs:{select:"select",onDomainChange:"onDomainChange"},features:[c.TTD],attrs:t_,ngContentSelectors:ip,decls:7,vars:4,consts:[[1,"timeline"],["in","SourceGraphic","type","matrix","values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"],[1,"embedded-chart"],["x","0","y","0",1,"brush-background"],[1,"brush"]],template:function(r,p){1&r&&(c.F$t(),c.O4$(),c.TgZ(0,"g",0)(1,"filter"),c._UZ(2,"feColorMatrix",1),c.qZA(),c.TgZ(3,"g",2),c.Hsn(4),c.qZA(),c._UZ(5,"rect",3)(6,"g",4),c.qZA()),2&r&&(c.uIk("transform",p.transform),c.xp6(1),c.uIk("id",p.filterId),c.xp6(4),c.uIk("width",p.view[0])("height",p.height))},styles:[".timeline .brush-background{fill:#0000000d}.timeline .brush .selection{fill:#0000001a;stroke-width:1px;stroke:#888}.timeline .brush .handle{fill-opacity:0}.timeline .embedded-chart{opacity:.6}\n"],encapsulation:2,changeDetection:0}),u})(),uo=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=c.oAB({type:u}),u.\u0275inj=c.cJS({imports:[[m.ez,Nt,$g],m.ez,Nt,$g]}),u})();function xr({width:u,height:f,margins:r,showXAxis:p=!1,showYAxis:x=!1,xAxisHeight:D=0,yAxisWidth:I=0,showXLabel:G=!1,showYLabel:me=!1,showLegend:fe=!1,legendType:Ue=Pi.Ordinal,legendPosition:dt=bs.Right,columns:ft=12}){let wt=r[3],oi=u,Mi=f-r[0]-r[2];return fe&&dt===bs.Right&&(ft-=Ue===Pi.Ordinal?2:1),oi=oi*ft/12,oi=oi-r[1]-r[3],p&&(Mi-=5,Mi-=D,G&&(Mi-=30)),x&&(oi-=5,oi-=I,wt+=I,wt+=10,me&&(oi-=30,wt+=30)),oi=Math.max(0,oi),Mi=Math.max(0,Mi),{width:Math.floor(oi),height:Math.floor(Mi),xOffset:Math.floor(wt)}}const Rn=[{name:"vivid",selectable:!0,group:Pi.Ordinal,domain:["#647c8a","#3f51b5","#2196f3","#00b862","#afdf0a","#a7b61a","#f3e562","#ff9800","#ff5722","#ff4514"]},{name:"natural",selectable:!0,group:Pi.Ordinal,domain:["#bf9d76","#e99450","#d89f59","#f2dfa7","#a5d7c6","#7794b1","#afafaf","#707160","#ba9383","#d9d5c3"]},{name:"cool",selectable:!0,group:Pi.Ordinal,domain:["#a8385d","#7aa3e5","#a27ea8","#aae3f5","#adcded","#a95963","#8796c0","#7ed3ed","#50abcc","#ad6886"]},{name:"fire",selectable:!0,group:Pi.Ordinal,domain:["#ff3d00","#bf360c","#ff8f00","#ff6f00","#ff5722","#e65100","#ffca28","#ffab00"]},{name:"solar",selectable:!0,group:Pi.Linear,domain:["#fff8e1","#ffecb3","#ffe082","#ffd54f","#ffca28","#ffc107","#ffb300","#ffa000","#ff8f00","#ff6f00"]},{name:"air",selectable:!0,group:Pi.Linear,domain:["#e1f5fe","#b3e5fc","#81d4fa","#4fc3f7","#29b6f6","#03a9f4","#039be5","#0288d1","#0277bd","#01579b"]},{name:"aqua",selectable:!0,group:Pi.Linear,domain:["#e0f7fa","#b2ebf2","#80deea","#4dd0e1","#26c6da","#00bcd4","#00acc1","#0097a7","#00838f","#006064"]},{name:"flame",selectable:!1,group:Pi.Ordinal,domain:["#A10A28","#D3342D","#EF6D49","#FAAD67","#FDDE90","#DBED91","#A9D770","#6CBA67","#2C9653","#146738"]},{name:"ocean",selectable:!1,group:Pi.Ordinal,domain:["#1D68FB","#33C0FC","#4AFFFE","#AFFFFF","#FFFC63","#FDBD2D","#FC8A25","#FA4F1E","#FA141B","#BA38D1"]},{name:"forest",selectable:!1,group:Pi.Ordinal,domain:["#55C22D","#C1F33D","#3CC099","#AFFFFF","#8CFC9D","#76CFFA","#BA60FB","#EE6490","#C42A1C","#FC9F32"]},{name:"horizon",selectable:!1,group:Pi.Ordinal,domain:["#2597FB","#65EBFD","#99FDD0","#FCEE4B","#FEFCFA","#FDD6E3","#FCB1A8","#EF6F7B","#CB96E8","#EFDEE0"]},{name:"neons",selectable:!1,group:Pi.Ordinal,domain:["#FF3333","#FF33FF","#CC33FF","#0000FF","#33CCFF","#33FFFF","#33FF66","#CCFF33","#FFCC00","#FF6600"]},{name:"picnic",selectable:!1,group:Pi.Ordinal,domain:["#FAC51D","#66BD6D","#FAA026","#29BB9C","#E96B56","#55ACD2","#B7332F","#2C83C9","#9166B8","#92E7E8"]},{name:"night",selectable:!1,group:Pi.Ordinal,domain:["#2B1B5A","#501356","#183356","#28203F","#391B3C","#1E2B3C","#120634","#2D0432","#051932","#453080","#75267D","#2C507D","#4B3880","#752F7D","#35547D"]},{name:"nightLights",selectable:!1,group:Pi.Ordinal,domain:["#4e31a5","#9c25a7","#3065ab","#57468b","#904497","#46648b","#32118d","#a00fb3","#1052a2","#6e51bd","#b63cc3","#6c97cb","#8671c1","#b455be","#7496c3"]}];class x_{constructor(f,r,p,x){"string"==typeof f&&(f=Rn.find(D=>D.name===f)),this.colorDomain=f.domain,this.scaleType=r,this.domain=p,this.customColors=x,this.scale=this.generateColorScheme(f,r,this.domain)}generateColorScheme(f,r,p){let x;switch("string"==typeof f&&(f=Rn.find(D=>D.name===f)),r){case Pi.Quantile:x=Ku().range(f.domain).domain(p);break;case Pi.Ordinal:x=Xd().range(f.domain).domain(p);break;case Pi.Linear:{const D=[...f.domain];1===D.length&&(D.push(D[0]),this.colorDomain=D);const I=ch(0,1,1/D.length);x=Dc().range(D).domain(I)}}return x}getColor(f){if(null==f)throw new Error("Value can not be null");if(this.scaleType===Pi.Linear){const r=Dc().domain(this.domain).range([0,1]);return this.scale(r(f))}{if("function"==typeof this.customColors)return this.customColors(f);const r=f.toString();let p;return this.customColors&&this.customColors.length>0&&(p=this.customColors.find(x=>x.name.toLowerCase()===r.toLowerCase())),p?p.value:this.scale(f)}}getLinearGradientStops(f,r){void 0===r&&(r=this.domain[0]);const p=Dc().domain(this.domain).range([0,1]),x=cl().domain(this.colorDomain).range([0,1]),D=this.getColor(f),I=p(r),G=this.getColor(r),me=p(f);let fe=1,Ue=I;const dt=[];for(dt.push({color:G,offset:I,originalOffset:I,opacity:1});Ue=(me-x.bandwidth()).toFixed(4))break;dt.push({color:ft,offset:wt,opacity:1}),Ue=wt,fe++}}if(dt[dt.length-1].offset<100&&dt.push({color:D,offset:me,opacity:1}),me===I)dt[0].offset=0,dt[1].offset=100;else if(100!==dt[dt.length-1].offset)for(const ft of dt)ft.offset=(ft.offset-I)/(me-I)*100;return dt}}let lf=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=c.oAB({type:u}),u.\u0275inj=c.cJS({imports:[[uo]]}),u})(),Ap=(()=>{class u{constructor(r){this.roundEdges=!0,this.gradient=!1,this.offset=0,this.isActive=!1,this.animations=!0,this.noBarWhenZero=!0,this.select=new c.vpe,this.activate=new c.vpe,this.deactivate=new c.vpe,this.hasGradient=!1,this.hideBar=!1,this.element=r.nativeElement}ngOnChanges(r){r.roundEdges&&this.loadAnimation(),this.update()}update(){this.gradientId="grad"+kc().toString(),this.gradientFill=`url(#${this.gradientId})`,this.gradient||this.stops?(this.gradientStops=this.getGradient(),this.hasGradient=!0):this.hasGradient=!1,this.updatePathEl(),this.checkToHideBar()}loadAnimation(){this.path=this.getStartingPath(),setTimeout(this.update.bind(this),100)}updatePathEl(){const r=Zn(this.element).select(".bar"),p=this.getPath();this.animations?r.transition().duration(500).attr("d",p):r.attr("d",p)}getGradient(){return this.stops?this.stops:[{offset:0,color:this.fill,opacity:this.getStartOpacity()},{offset:100,color:this.fill,opacity:1}]}getStartingPath(){if(!this.animations)return this.getPath();let p,r=this.getRadius();return this.roundEdges?this.orientation===pi.Vertical?(r=Math.min(this.height,r),p=Oc(this.x,this.y+this.height,this.width,1,0,this.edges)):this.orientation===pi.Horizontal&&(r=Math.min(this.width,r),p=Oc(this.x,this.y,1,this.height,0,this.edges)):this.orientation===pi.Vertical?p=Oc(this.x,this.y+this.height,this.width,1,0,this.edges):this.orientation===pi.Horizontal&&(p=Oc(this.x,this.y,1,this.height,0,this.edges)),p}getPath(){let p,r=this.getRadius();return this.roundEdges?this.orientation===pi.Vertical?(r=Math.min(this.height,r),p=Oc(this.x,this.y,this.width,this.height,r,this.edges)):this.orientation===pi.Horizontal&&(r=Math.min(this.width,r),p=Oc(this.x,this.y,this.width,this.height,r,this.edges)):p=Oc(this.x,this.y,this.width,this.height,r,this.edges),p}getRadius(){let r=0;return this.roundEdges&&this.height>5&&this.width>5&&(r=Math.floor(Math.min(5,this.height/2,this.width/2))),r}getStartOpacity(){return this.roundEdges?.2:.5}get edges(){let r=[!1,!1,!1,!1];return this.roundEdges&&(this.orientation===pi.Vertical?r=this.data.value>0?[!0,!0,!1,!1]:[!1,!1,!0,!0]:this.orientation===pi.Horizontal&&(r=this.data.value>0?[!1,!0,!1,!0]:[!0,!1,!0,!1])),r}onMouseEnter(){this.activate.emit(this.data)}onMouseLeave(){this.deactivate.emit(this.data)}checkToHideBar(){this.hideBar=this.noBarWhenZero&&(this.orientation===pi.Vertical&&0===this.height||this.orientation===pi.Horizontal&&0===this.width)}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(c.SBq))},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-bar",""]],hostBindings:function(r,p){1&r&&c.NdJ("mouseenter",function(){return p.onMouseEnter()})("mouseleave",function(){return p.onMouseLeave()})},inputs:{fill:"fill",data:"data",width:"width",height:"height",x:"x",y:"y",orientation:"orientation",roundEdges:"roundEdges",gradient:"gradient",offset:"offset",isActive:"isActive",stops:"stops",animations:"animations",ariaLabel:"ariaLabel",noBarWhenZero:"noBarWhenZero"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[c.TTD],attrs:N0,decls:2,vars:8,consts:[[4,"ngIf"],["stroke","none","role","img","tabIndex","-1",1,"bar",3,"click"],["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops"]],template:function(r,p){1&r&&(c.YNc(0,ab,2,3,"defs",0),c.O4$(),c.TgZ(1,"path",1),c.NdJ("click",function(){return p.select.emit(p.data)}),c.qZA()),2&r&&(c.Q6J("ngIf",p.hasGradient),c.xp6(1),c.ekj("active",p.isActive)("hidden",p.hideBar),c.uIk("d",p.path)("aria-label",p.ariaLabel)("fill",p.hasGradient?p.gradientFill:p.fill))},dependencies:[Al,m.O5],encapsulation:2,changeDetection:0}),u})();var Ol=(()=>{return(u=Ol||(Ol={})).Standard="standard",u.Normalized="normalized",u.Stacked="stacked",Ol;var u})(),nc=(()=>{return(u=nc||(nc={})).positive="positive",u.negative="negative",nc;var u})();let cf=(()=>{class u{constructor(r){this.dimensionsChanged=new c.vpe,this.horizontalPadding=2,this.verticalPadding=5,this.element=r.nativeElement}ngOnChanges(r){this.update()}getSize(){return{height:this.element.getBoundingClientRect().height,width:this.element.getBoundingClientRect().width,negative:this.value<0}}ngAfterViewInit(){this.dimensionsChanged.emit(this.getSize())}update(){this.formatedValue=this.valueFormatting?this.valueFormatting(this.value):fl(this.value),"horizontal"===this.orientation?(this.x=this.barX+this.barWidth,this.value<0?(this.x=this.x-this.horizontalPadding,this.textAnchor="end"):(this.x=this.x+this.horizontalPadding,this.textAnchor="start"),this.y=this.barY+this.barHeight/2):(this.x=this.barX+this.barWidth/2,this.y=this.barY+this.barHeight,this.value<0?(this.y=this.y+this.verticalPadding,this.textAnchor="end"):(this.y=this.y-this.verticalPadding,this.textAnchor="start"),this.transform=`rotate(-45, ${this.x} , ${this.y})`)}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(c.SBq))},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-bar-label",""]],inputs:{value:"value",valueFormatting:"valueFormatting",barX:"barX",barY:"barY",barWidth:"barWidth",barHeight:"barHeight",orientation:"orientation"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[c.TTD],attrs:B0,decls:2,vars:5,consts:[["alignment-baseline","middle",1,"textDataLabel"]],template:function(r,p){1&r&&(c.O4$(),c.TgZ(0,"text",0),c._uU(1),c.qZA()),2&r&&(c.uIk("text-anchor",p.textAnchor)("transform",p.transform)("x",p.x)("y",p.y),c.xp6(1),c.hij(" ",p.formatedValue," "))},styles:[".textDataLabel[_ngcontent-%COMP%]{font-size:11px}"],changeDetection:0}),u})(),hf=(()=>{class u{constructor(r){this.platformId=r,this.type=Ol.Standard,this.tooltipDisabled=!1,this.animations=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.select=new c.vpe,this.activate=new c.vpe,this.deactivate=new c.vpe,this.dataLabelHeightChanged=new c.vpe,this.barsForDataLabels=[],this.barOrientation=pi,this.isSSR=!1}ngOnInit(){(0,m.PM)(this.platformId)&&(this.isSSR=!0)}ngOnChanges(r){this.update()}update(){let r;this.updateTooltipSettings(),this.series.length&&(r=this.xScale.bandwidth()),r=Math.round(r);const p=Math.max(this.yScale.domain()[0],0),x={[nc.positive]:0,[nc.negative]:0};let I,D=nc.positive;this.type===Ol.Normalized&&(I=this.series.map(G=>G.value).reduce((G,me)=>G+me,0)),this.bars=this.series.map((G,me)=>{let fe=G.value;const Ue=this.getLabel(G),dt=fl(Ue);D=fe>0?nc.positive:nc.negative;const wt={value:fe,label:Ue,roundEdges:this.roundEdges,data:G,width:r,formattedLabel:dt,height:0,x:0,y:0};if(this.type===Ol.Standard)wt.height=Math.abs(this.yScale(fe)-this.yScale(p)),wt.x=this.xScale(Ue),wt.y=this.yScale(fe<0?0:fe);else if(this.type===Ol.Stacked){const Mi=x[D],St=Mi+fe;x[D]+=fe,wt.height=this.yScale(Mi)-this.yScale(St),wt.x=0,wt.y=this.yScale(St),wt.offset0=Mi,wt.offset1=St}else if(this.type===Ol.Normalized){let Mi=x[D],St=Mi+fe;x[D]+=fe,I>0?(Mi=100*Mi/I,St=100*St/I):(Mi=0,St=0),wt.height=this.yScale(Mi)-this.yScale(St),wt.x=0,wt.y=this.yScale(St),wt.offset0=Mi,wt.offset1=St,fe=(St-Mi).toFixed(2)+"%"}this.colors.scaleType===Pi.Ordinal?wt.color=this.colors.getColor(Ue):this.type===Ol.Standard?(wt.color=this.colors.getColor(fe),wt.gradientStops=this.colors.getLinearGradientStops(fe)):(wt.color=this.colors.getColor(wt.offset1),wt.gradientStops=this.colors.getLinearGradientStops(wt.offset1,wt.offset0));let oi=dt;return wt.ariaLabel=dt+" "+fe.toLocaleString(),null!=this.seriesName&&(oi=`${this.seriesName} \u2022 ${dt}`,wt.data.series=this.seriesName,wt.ariaLabel=this.seriesName+" "+wt.ariaLabel),wt.tooltipText=this.tooltipDisabled?void 0:`\n ${tc(oi)}\n ${this.dataLabelFormatting?this.dataLabelFormatting(fe):fe.toLocaleString()}\n `,wt}),this.updateDataLabels()}updateDataLabels(){if(this.type===Ol.Stacked){this.barsForDataLabels=[];const r={};r.series=this.seriesName;const p=this.series.map(D=>D.value).reduce((D,I)=>I>0?D+I:D,0),x=this.series.map(D=>D.value).reduce((D,I)=>I<0?D+I:D,0);r.total=p+x,r.x=0,r.y=0,r.height=this.yScale(r.total>0?p:x),r.width=this.xScale.bandwidth(),this.barsForDataLabels.push(r)}else this.barsForDataLabels=this.series.map(r=>{var p;const x={};return x.series=null!==(p=this.seriesName)&&void 0!==p?p:r.label,x.total=r.value,x.x=this.xScale(r.label),x.y=this.yScale(0),x.height=this.yScale(x.total)-this.yScale(0),x.width=this.xScale.bandwidth(),x})}updateTooltipSettings(){this.tooltipPlacement=this.tooltipDisabled?void 0:On.Top,this.tooltipType=this.tooltipDisabled?void 0:zi.tooltip}isActive(r){return!!this.activeEntries&&void 0!==this.activeEntries.find(x=>r.name===x.name&&r.value===x.value)}onClick(r){this.select.emit(r)}getLabel(r){return r.label?r.label:r.name}trackBy(r,p){return p.label}trackDataLabelBy(r,p){return r+"#"+p.series+"#"+p.total}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(c.Lbi))},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-series-vertical",""]],inputs:{dims:"dims",type:"type",series:"series",xScale:"xScale",yScale:"yScale",colors:"colors",gradient:"gradient",activeEntries:"activeEntries",seriesName:"seriesName",tooltipDisabled:"tooltipDisabled",tooltipTemplate:"tooltipTemplate",roundEdges:"roundEdges",animations:"animations",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",dataLabelHeightChanged:"dataLabelHeightChanged"},features:[c.TTD],attrs:_d,decls:3,vars:3,consts:[[4,"ngIf"],["ngx-charts-bar","","ngx-tooltip","",3,"width","height","x","y","fill","stops","data","orientation","roundEdges","gradient","ariaLabel","isActive","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","noBarWhenZero","animations","select","activate","deactivate",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-bar","","ngx-tooltip","",3,"width","height","x","y","fill","stops","data","orientation","roundEdges","gradient","ariaLabel","isActive","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","noBarWhenZero","animations","select","activate","deactivate"],["ngx-charts-bar-label","",3,"barX","barY","barWidth","barHeight","value","valueFormatting","orientation","dimensionsChanged",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-bar-label","",3,"barX","barY","barWidth","barHeight","value","valueFormatting","orientation","dimensionsChanged"]],template:function(r,p){1&r&&(c.YNc(0,dp,2,2,"g",0),c.YNc(1,Lg,2,2,"g",0),c.YNc(2,su,2,2,"g",0)),2&r&&(c.Q6J("ngIf",!p.isSSR),c.xp6(1),c.Q6J("ngIf",p.isSSR),c.xp6(1),c.Q6J("ngIf",p.showDataLabel))},dependencies:[Ap,cf,m.O5,m.sg,ua],encapsulation:2,data:{animation:[(0,F.X$)("animationState",[(0,F.eR)(":leave",[(0,F.oB)({opacity:1}),(0,F.jt)(500,(0,F.oB)({opacity:0}))])])]},changeDetection:0}),u})(),mf=(()=>{class u extends C_{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=bs.Right,this.tooltipDisabled=!1,this.showGridLines=!0,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.barPadding=8,this.roundDomains=!1,this.roundEdges=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.activate=new c.vpe,this.deactivate=new c.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxHeight={negative:0,positive:0}}update(){super.update(),this.showDataLabel||(this.dataLabelMaxHeight={negative:0,positive:0}),this.margin=[10+this.dataLabelMaxHeight.positive,20,10+this.dataLabelMaxHeight.negative,20],this.dims=xr({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.schemeType,legendPosition:this.legendPosition}),this.formatDates(),this.showDataLabel&&(this.dims.height-=this.dataLabelMaxHeight.negative),this.xScale=this.getXScale(),this.yScale=this.getYScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]+this.dataLabelMaxHeight.negative})`}getXScale(){this.xDomain=this.getXDomain();const r=this.xDomain.length/(this.dims.width/this.barPadding+1);return cl().range([0,this.dims.width]).paddingInner(r).domain(this.xDomain)}getYScale(){this.yDomain=this.getYDomain();const r=Dc().range([this.dims.height,0]).domain(this.yDomain);return this.roundDomains?r.nice():r}getXDomain(){return this.results.map(r=>r.label)}getYDomain(){const r=this.results.map(D=>D.value);let p=this.yScaleMin?Math.min(this.yScaleMin,...r):Math.min(0,...r);this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(p=Math.min(p,...this.yAxisTicks));let x=this.yScaleMax?Math.max(this.yScaleMax,...r):Math.max(0,...r);return this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(x=Math.max(x,...this.yAxisTicks)),[p,x]}onClick(r){this.select.emit(r)}setColors(){let r;r=this.schemeType===Pi.Ordinal?this.xDomain:this.yDomain,this.colors=new x_(this.scheme,this.schemeType,r,this.customColors)}getLegendOptions(){const r={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return r.scaleType===Pi.Ordinal?(r.domain=this.xDomain,r.colors=this.colors,r.title=this.legendTitle):(r.domain=this.yDomain,r.colors=this.colors.scale),r}updateYAxisWidth({width:r}){this.yAxisWidth=r,this.update()}updateXAxisHeight({height:r}){this.xAxisHeight=r,this.update()}onDataLabelMaxHeightChanged(r){r.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,r.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,r.size.height),r.index===this.results.length-1&&setTimeout(()=>this.update())}onActivate(r,p=!1){r=this.results.find(D=>p?D.label===r.name:D.name===r.name),!(this.activeEntries.findIndex(D=>D.name===r.name&&D.value===r.value&&D.series===r.series)>-1)&&(this.activeEntries=[r,...this.activeEntries],this.activate.emit({value:r,entries:this.activeEntries}))}onDeactivate(r,p=!1){r=this.results.find(D=>p?D.label===r.name:D.name===r.name);const x=this.activeEntries.findIndex(D=>D.name===r.name&&D.value===r.value&&D.series===r.series);this.activeEntries.splice(x,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:r,entries:this.activeEntries})}}return u.\u0275fac=function(){let f;return function(p){return(f||(f=c.n5z(u)))(p||u)}}(),u.\u0275cmp=c.Xpm({type:u,selectors:[["ngx-charts-bar-vertical"]],contentQueries:function(r,p,x){if(1&r&&c.Suo(x,ou,5),2&r){let D;c.iGM(D=c.CRH())&&(p.tooltipTemplate=D.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",tooltipDisabled:"tooltipDisabled",gradient:"gradient",showGridLines:"showGridLines",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",barPadding:"barPadding",roundDomains:"roundDomains",roundEdges:"roundEdges",yScaleMax:"yScaleMax",yScaleMin:"yScaleMin",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero"},outputs:{activate:"activate",deactivate:"deactivate"},features:[c.qOj],decls:5,vars:25,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"bar-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-series-vertical","",3,"xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","activeEntries","roundEdges","animations","noBarWhenZero","activate","deactivate","select","dataLabelHeightChanged"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"]],template:function(r,p){1&r&&(c.TgZ(0,"ngx-charts-chart",0),c.NdJ("legendLabelClick",function(D){return p.onClick(D)})("legendLabelActivate",function(D){return p.onActivate(D,!0)})("legendLabelDeactivate",function(D){return p.onDeactivate(D,!0)}),c.O4$(),c.TgZ(1,"g",1),c.YNc(2,o_,1,11,"g",2),c.YNc(3,lu,1,9,"g",3),c.TgZ(4,"g",4),c.NdJ("activate",function(D){return p.onActivate(D)})("deactivate",function(D){return p.onDeactivate(D)})("select",function(D){return p.onClick(D)})("dataLabelHeightChanged",function(D){return p.onDataLabelMaxHeightChanged(D)}),c.qZA()()()),2&r&&(c.Q6J("view",c.WLB(22,Sl,p.width,p.height))("showLegend",p.legend)("legendOptions",p.legendOptions)("activeEntries",p.activeEntries)("animations",p.animations),c.xp6(1),c.uIk("transform",p.transform),c.xp6(1),c.Q6J("ngIf",p.xAxis),c.xp6(1),c.Q6J("ngIf",p.yAxis),c.xp6(1),c.Q6J("xScale",p.xScale)("yScale",p.yScale)("colors",p.colors)("series",p.results)("dims",p.dims)("gradient",p.gradient)("tooltipDisabled",p.tooltipDisabled)("tooltipTemplate",p.tooltipTemplate)("showDataLabel",p.showDataLabel)("dataLabelFormatting",p.dataLabelFormatting)("activeEntries",p.activeEntries)("roundEdges",p.roundEdges)("animations",p.animations)("noBarWhenZero",p.noBarWhenZero))},dependencies:[vd,qg,am,hf,m.O5],styles:[Ph],encapsulation:2,changeDetection:0}),u})(),sm=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=c.oAB({type:u}),u.\u0275inj=c.cJS({imports:[[uo]]}),u})();fh();let iv=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=c.oAB({type:u}),u.\u0275inj=c.cJS({imports:[[uo]]}),u})(),nv=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=c.oAB({type:u}),u.\u0275inj=c.cJS({imports:[[uo]]}),u})(),av=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=c.oAB({type:u}),u.\u0275inj=c.cJS({imports:[[uo]]}),u})(),ov=(()=>{class u{constructor(r,p){this.element=r,this.platformId=p,this.fill="none",this.animations=!0,this.initialized=!1,this.isSSR=!1}ngOnInit(){(0,m.PM)(this.platformId)&&(this.isSSR=!0)}ngOnChanges(r){this.initialized?this.updatePathEl():(this.initialized=!0,this.initialPath=this.path)}updatePathEl(){const r=Zn(this.element.nativeElement).select(".line");this.animations?r.transition().duration(750).attr("d",this.path):r.attr("d",this.path)}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(c.SBq),c.Y36(c.Lbi))},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-line",""]],inputs:{path:"path",stroke:"stroke",data:"data",fill:"fill",animations:"animations"},features:[c.TTD],attrs:kC,decls:2,vars:2,consts:[[4,"ngIf"],["stroke-width","1.5px",1,"line"]],template:function(r,p){1&r&&(c.YNc(0,gp,2,4,"g",0),c.YNc(1,G0,2,3,"g",0)),2&r&&(c.Q6J("ngIf",!p.isSSR),c.xp6(1),c.Q6J("ngIf",p.isSSR))},dependencies:[m.O5],encapsulation:2,data:{animation:[(0,F.X$)("animationState",[(0,F.eR)(":enter",[(0,F.oB)({strokeDasharray:2e3,strokeDashoffset:2e3}),(0,F.jt)(1e3,(0,F.oB)({strokeDashoffset:0}))])])]},changeDetection:0}),u})(),rv=(()=>{class u{constructor(){this.animations=!0,this.barOrientation=pi}ngOnChanges(r){this.update()}update(){this.updateGradients();const r=this.sortData(this.data.series),p=this.getLineGenerator();this.path=p(r)||"";const x=this.getAreaGenerator();if(this.areaPath=x(r)||"",this.hasRange){const D=this.getRangeGenerator();this.outerPath=D(r)||""}if(this.hasGradient){this.stroke=this.gradientUrl;const D=this.data.series.map(me=>me.value),I=Math.max(...D);I===Math.min(...D)&&(this.stroke=this.colors.getColor(I))}else this.stroke=this.colors.getColor(this.data.name)}getLineGenerator(){return tu().x(r=>{const p=r.name;let x;return x=this.xScale(this.scaleType===Pi.Time?p:this.scaleType===Pi.Linear?Number(p):p),x}).y(r=>this.yScale(r.value)).curve(this.curve)}getRangeGenerator(){return iu().x(r=>{const p=r.name;let x;return x=this.xScale(this.scaleType===Pi.Time?p:this.scaleType===Pi.Linear?Number(p):p),x}).y0(r=>this.yScale("number"==typeof r.min?r.min:r.value)).y1(r=>this.yScale("number"==typeof r.max?r.max:r.value)).curve(this.curve)}getAreaGenerator(){return iu().x(p=>this.xScale(p.name)).y0(()=>this.yScale.range()[0]).y1(p=>this.yScale(p.value)).curve(this.curve)}sortData(r){return r=this.scaleType===Pi.Linear?function xn(u,f,r="asc"){return u.sort((p,x)=>"asc"===r?p[f]-x[f]:x[f]-p[f])}(r,"name"):this.scaleType===Pi.Time?function b_(u,f,r="asc"){return u.sort((p,x)=>{const D=p[f].getTime(),I=x[f].getTime();return"asc"===r?D>I?1:I>D?-1:0:D>I?-1:I>D?1:0})}(r,"name"):function Ic(u,f,r="asc",p){return u.sort((x,D)=>{const G=D[f],me=p.indexOf(x[f]),fe=p.indexOf(G);return"asc"===r?me-fe:fe-me})}(r,"name","asc",this.xScale.domain()),r}updateGradients(){if(this.colors.scaleType===Pi.Linear){this.hasGradient=!0,this.gradientId="grad"+kc().toString(),this.gradientUrl=`url(#${this.gradientId})`;const r=this.data.series.map(D=>D.value),p=Math.max(...r),x=Math.min(...r);this.gradientStops=this.colors.getLinearGradientStops(p,x),this.areaGradientStops=this.colors.getLinearGradientStops(p)}else this.hasGradient=!1,this.gradientStops=void 0,this.areaGradientStops=void 0}isActive(r){return!!this.activeEntries&&void 0!==this.activeEntries.find(x=>r.name===x.name)}isInactive(r){return!(!this.activeEntries||0===this.activeEntries.length)&&void 0===this.activeEntries.find(x=>r.name===x.name)}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-line-series",""]],inputs:{data:"data",xScale:"xScale",yScale:"yScale",colors:"colors",scaleType:"scaleType",curve:"curve",activeEntries:"activeEntries",rangeFillOpacity:"rangeFillOpacity",hasRange:"hasRange",animations:"animations"},features:[c.TTD],attrs:fp,decls:6,vars:22,consts:[["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops",4,"ngIf"],["ngx-charts-area","",1,"line-highlight",3,"data","path","fill","opacity","startOpacity","gradient","stops","animations"],["ngx-charts-line","",1,"line-series",3,"data","path","stroke","animations"],["ngx-charts-area","","class","line-series-range",3,"data","path","fill","active","inactive","opacity","animations",4,"ngIf"],["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops"],["ngx-charts-area","",1,"line-series-range",3,"data","path","fill","opacity","animations"]],template:function(r,p){1&r&&(c.O4$(),c.TgZ(0,"g")(1,"defs"),c.YNc(2,Hh,1,3,"g",0),c.qZA(),c._UZ(3,"g",1)(4,"g",2),c.YNc(5,Ng,1,9,"g",3),c.qZA()),2&r&&(c.xp6(2),c.Q6J("ngIf",p.hasGradient),c.xp6(1),c.ekj("active",p.isActive(p.data))("inactive",p.isInactive(p.data)),c.Q6J("data",p.data)("path",p.areaPath)("fill",p.hasGradient?p.gradientUrl:p.colors.getColor(p.data.name))("opacity",.25)("startOpacity",0)("gradient",!0)("stops",p.areaGradientStops)("animations",p.animations),c.xp6(1),c.ekj("active",p.isActive(p.data))("inactive",p.isInactive(p.data)),c.Q6J("data",p.data)("path",p.path)("stroke",p.stroke)("animations",p.animations),c.xp6(1),c.Q6J("ngIf",p.hasRange))},dependencies:[Al,Xg,ov,m.O5],encapsulation:2,changeDetection:0}),u})(),sv=(()=>{class u extends C_{constructor(){super(...arguments),this.legendTitle="Legend",this.legendPosition=bs.Right,this.showGridLines=!0,this.curve=qu,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.roundDomains=!1,this.tooltipDisabled=!1,this.showRefLines=!1,this.showRefLabels=!0,this.activate=new c.vpe,this.deactivate=new c.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.timelineHeight=50,this.timelinePadding=10,this.isSSR=!1}ngOnInit(){(0,m.PM)(this.platformId)&&(this.isSSR=!0)}update(){super.update(),this.dims=xr({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.schemeType,legendPosition:this.legendPosition}),this.timeline&&(this.dims.height-=this.timelineHeight+this.margin[2]+this.timelinePadding),this.xDomain=this.getXDomain(),this.filteredDomain&&(this.xDomain=this.filteredDomain),this.yDomain=this.getYDomain(),this.seriesDomain=this.getSeriesDomain(),this.xScale=this.getXScale(this.xDomain,this.dims.width),this.yScale=this.getYScale(this.yDomain,this.dims.height),this.updateTimeline(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`,this.clipPathId="clip"+kc().toString(),this.clipPath=`url(#${this.clipPathId})`}updateTimeline(){this.timeline&&(this.timelineWidth=this.dims.width,this.timelineXDomain=this.getXDomain(),this.timelineXScale=this.getXScale(this.timelineXDomain,this.timelineWidth),this.timelineYScale=this.getYScale(this.yDomain,this.timelineHeight),this.timelineTransform=`translate(${this.dims.xOffset}, ${-this.margin[2]})`)}getXDomain(){let r=function $C(u){const f=new Set;for(const r of u)for(const p of r.series)f.add(p.name);return Array.from(f)}(this.results);this.scaleType=function sf(u,f=!0){return f&&u.every(x=>x instanceof Date)?Pi.Time:u.every(p=>"number"==typeof p)?Pi.Linear:Pi.Ordinal}(r);let x,D,p=[];return this.scaleType===Pi.Linear&&(r=r.map(I=>Number(I))),(this.scaleType===Pi.Time||this.scaleType===Pi.Linear)&&(x=this.xScaleMin?this.xScaleMin:Math.min(...r),D=this.xScaleMax?this.xScaleMax:Math.max(...r)),this.scaleType===Pi.Time?(p=[new Date(x),new Date(D)],this.xSet=[...r].sort((I,G)=>{const me=I.getTime(),fe=G.getTime();return me>fe?1:fe>me?-1:0})):this.scaleType===Pi.Linear?(p=[x,D],this.xSet=[...r].sort((I,G)=>I-G)):(p=r,this.xSet=r),p}getYDomain(){const r=[];for(const I of this.results)for(const G of I.series)r.indexOf(G.value)<0&&r.push(G.value),void 0!==G.min&&(this.hasRange=!0,r.indexOf(G.min)<0&&r.push(G.min)),void 0!==G.max&&(this.hasRange=!0,r.indexOf(G.max)<0&&r.push(G.max));const p=[...r];return this.autoScale||p.push(0),[this.yScaleMin?this.yScaleMin:Math.min(...p),this.yScaleMax?this.yScaleMax:Math.max(...p)]}getSeriesDomain(){return this.results.map(r=>r.name)}getXScale(r,p){let x;return this.scaleType===Pi.Time?x=jo().range([0,p]).domain(r):this.scaleType===Pi.Linear?(x=Dc().range([0,p]).domain(r),this.roundDomains&&(x=x.nice())):this.scaleType===Pi.Ordinal&&(x=eu().range([0,p]).padding(.1).domain(r)),x}getYScale(r,p){const x=Dc().range([p,0]).domain(r);return this.roundDomains?x.nice():x}updateDomain(r){this.filteredDomain=r,this.xDomain=this.filteredDomain,this.xScale=this.getXScale(this.xDomain,this.dims.width)}updateHoveredVertical(r){this.hoveredVertical=r.value,this.deactivateAll()}hideCircles(){this.hoveredVertical=null,this.deactivateAll()}onClick(r){this.select.emit(r)}trackBy(r,p){return`${p.name}`}setColors(){let r;r=this.schemeType===Pi.Ordinal?this.seriesDomain:this.yDomain,this.colors=new x_(this.scheme,this.schemeType,r,this.customColors)}getLegendOptions(){const r={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return r.scaleType===Pi.Ordinal?(r.domain=this.seriesDomain,r.colors=this.colors,r.title=this.legendTitle):(r.domain=this.yDomain,r.colors=this.colors.scale),r}updateYAxisWidth({width:r}){this.yAxisWidth=r,this.update()}updateXAxisHeight({height:r}){this.xAxisHeight=r,this.update()}onActivate(r){this.deactivateAll(),!(this.activeEntries.findIndex(x=>x.name===r.name&&x.value===r.value)>-1)&&(this.activeEntries=[r],this.activate.emit({value:r,entries:this.activeEntries}))}onDeactivate(r){const p=this.activeEntries.findIndex(x=>x.name===r.name&&x.value===r.value);this.activeEntries.splice(p,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:r,entries:this.activeEntries})}deactivateAll(){this.activeEntries=[...this.activeEntries];for(const r of this.activeEntries)this.deactivate.emit({value:r,entries:[]});this.activeEntries=[]}}return u.\u0275fac=function(){let f;return function(p){return(f||(f=c.n5z(u)))(p||u)}}(),u.\u0275cmp=c.Xpm({type:u,selectors:[["ngx-charts-line-chart"]],contentQueries:function(r,p,x){if(1&r&&(c.Suo(x,ou,5),c.Suo(x,bg,5)),2&r){let D;c.iGM(D=c.CRH())&&(p.tooltipTemplate=D.first),c.iGM(D=c.CRH())&&(p.seriesTooltipTemplate=D.first)}},hostBindings:function(r,p){1&r&&c.NdJ("mouseleave",function(){return p.hideCircles()})},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",autoScale:"autoScale",timeline:"timeline",gradient:"gradient",showGridLines:"showGridLines",curve:"curve",activeEntries:"activeEntries",schemeType:"schemeType",rangeFillOpacity:"rangeFillOpacity",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",roundDomains:"roundDomains",tooltipDisabled:"tooltipDisabled",showRefLines:"showRefLines",referenceLines:"referenceLines",showRefLabels:"showRefLabels",xScaleMin:"xScaleMin",xScaleMax:"xScaleMax",yScaleMin:"yScaleMin",yScaleMax:"yScaleMax"},outputs:{activate:"activate",deactivate:"deactivate"},features:[c.qOj],decls:12,vars:20,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"line-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","referenceLines","showRefLines","showRefLabels","dimensionsChanged",4,"ngIf"],[4,"ngIf"],[3,"mouseleave",4,"ngIf"],["ngx-charts-timeline","",3,"results","view","height","scheme","customColors","scaleType","legend","onDomainChange",4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","referenceLines","showRefLines","showRefLabels","dimensionsChanged"],[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-line-series","",3,"xScale","yScale","colors","data","activeEntries","scaleType","curve","rangeFillOpacity","hasRange","animations"],[3,"mouseleave"],["ngx-charts-tooltip-area","",3,"dims","xSet","xScale","yScale","results","colors","tooltipDisabled","tooltipTemplate","hover"],[4,"ngFor","ngForOf"],["ngx-charts-circle-series","",3,"xScale","yScale","colors","data","scaleType","visibleValue","activeEntries","tooltipDisabled","tooltipTemplate","select","activate","deactivate"],["ngx-charts-timeline","",3,"results","view","height","scheme","customColors","scaleType","legend","onDomainChange"],["ngx-charts-line-series","",3,"xScale","yScale","colors","data","scaleType","curve","hasRange","animations"]],template:function(r,p){1&r&&(c.TgZ(0,"ngx-charts-chart",0),c.NdJ("legendLabelClick",function(D){return p.onClick(D)})("legendLabelActivate",function(D){return p.onActivate(D)})("legendLabelDeactivate",function(D){return p.onDeactivate(D)}),c.O4$(),c.TgZ(1,"defs")(2,"clipPath"),c._UZ(3,"rect"),c.qZA()(),c.TgZ(4,"g",1),c.YNc(5,Bg,1,10,"g",2),c.YNc(6,Vh,1,12,"g",3),c.TgZ(7,"g"),c.YNc(8,Cp,2,2,"g",4),c.YNc(9,pl,2,2,"g",4),c.YNc(10,c_,3,9,"g",5),c.qZA()(),c.YNc(11,IC,2,13,"g",6),c.qZA()),2&r&&(c.Q6J("view",c.WLB(17,Sl,p.width,p.height))("showLegend",p.legend)("legendOptions",p.legendOptions)("activeEntries",p.activeEntries)("animations",p.animations),c.xp6(2),c.uIk("id",p.clipPathId),c.xp6(1),c.uIk("width",p.dims.width+10)("height",p.dims.height+10)("transform","translate(-5, -5)"),c.xp6(1),c.uIk("transform",p.transform),c.xp6(1),c.Q6J("ngIf",p.xAxis),c.xp6(1),c.Q6J("ngIf",p.yAxis),c.xp6(1),c.uIk("clip-path",p.clipPath),c.xp6(1),c.Q6J("ngIf",!p.isSSR),c.xp6(1),c.Q6J("ngIf",p.isSSR),c.xp6(1),c.Q6J("ngIf",!p.tooltipDisabled),c.xp6(1),c.Q6J("ngIf",p.timeline&&"ordinal"!=p.scaleType))},dependencies:[vd,qg,am,rv,Vs,Cn,af,m.O5,m.sg],styles:[Ph],encapsulation:2,data:{animation:[(0,F.X$)("animationState",[(0,F.eR)(":leave",[(0,F.oB)({opacity:1}),(0,F.jt)(500,(0,F.oB)({opacity:0}))])])]},changeDetection:0}),u})(),lm=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=c.oAB({type:u}),u.\u0275inj=c.cJS({imports:[[uo]]}),u})(),sn=(()=>{class u{constructor(r){this.platformId=r,this.animations=!0,this.labelTrim=!0,this.labelTrimSize=10,this.trimLabel=ic}ngOnChanges(r){this.setTransforms(),this.update()}setTransforms(){if((0,m.PM)(this.platformId))this.styleTransform=`translate3d(${this.textX}px,${this.textY}px, 0)`,this.attrTransform=`translate(${this.textX},${this.textY})`,this.textTransition=this.animations?"transform 0.75s":null;else{const r=/(edge|msie|trident)/i.test(navigator.userAgent);this.styleTransform=r?null:`translate3d(${this.textX}px,${this.textY}px, 0)`,this.attrTransform=r?`translate(${this.textX},${this.textY})`:null,this.textTransition=r||!this.animations?null:"transform 0.75s"}}update(){let r=this.radius;this.explodeSlices&&(r=this.radius*this.value/this.max);const x=Ec().innerRadius(r).outerRadius(r).centroid(this.data);let D=this.data.pos[1]/x[1];(0===this.data.pos[1]||0===x[1])&&(D=1),this.line=`M${x}L${[D*x[0],D*x[1]]}L${this.data.pos}`}get textX(){return this.data.pos[0]}get textY(){return this.data.pos[1]}textAnchor(){return this.midAngle(this.data){class u{constructor(r){this.startAngle=0,this.endAngle=2*Math.PI,this.cornerRadius=0,this.explodeSlices=!1,this.gradient=!1,this.animate=!0,this.pointerEvents=!0,this.isActive=!1,this.select=new c.vpe,this.activate=new c.vpe,this.deactivate=new c.vpe,this.dblclick=new c.vpe,this.barOrientation=pi,this.initialized=!1,this.element=r.nativeElement}ngOnChanges(r){this.update()}getGradient(){return this.gradient?this.gradientFill:this.fill}getPointerEvents(){return this.pointerEvents?"auto":"none"}update(){const r=this.calculateArc();this.startOpacity=.5,this.radialGradientId="linearGrad"+kc().toString(),this.gradientFill=`url(#${this.radialGradientId})`,this.animate?this.initialized?this.updateAnimation():(this.loadAnimation(),this.initialized=!0):this.path=r.startAngle(this.startAngle).endAngle(this.endAngle)()}calculateArc(){let r=this.outerRadius;return this.explodeSlices&&0===this.innerRadius&&(r=this.outerRadius*this.value/this.max),Ec().innerRadius(this.innerRadius).outerRadius(r).cornerRadius(this.cornerRadius)}loadAnimation(){const r=Zn(this.element).selectAll(".arc").data([{startAngle:this.startAngle,endAngle:this.endAngle}]),p=this.calculateArc();r.transition().attrTween("d",function(x){this._current=this._current||x;const D=Object.assign({},x);D.endAngle=D.startAngle;const I=Xo(D,D);return this._current=I(0),function(G){return p(I(G))}}).transition().duration(750).attrTween("d",function(x){this._current=this._current||x;const D=Xo(this._current,x);return this._current=D(0),function(I){return p(D(I))}})}updateAnimation(){const r=Zn(this.element).selectAll(".arc").data([{startAngle:this.startAngle,endAngle:this.endAngle}]),p=this.calculateArc();r.transition().duration(750).attrTween("d",function(x){this._current=this._current||x;const D=Xo(this._current,x);return this._current=D(0),function(I){return p(D(I))}})}onClick(){clearTimeout(this._timeout),this._timeout=setTimeout(()=>this.select.emit(this.data),200)}onDblClick(r){r.preventDefault(),r.stopPropagation(),clearTimeout(this._timeout),this.dblclick.emit({data:this.data,nativeEvent:r})}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(c.SBq))},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-pie-arc",""]],inputs:{fill:"fill",startAngle:"startAngle",endAngle:"endAngle",innerRadius:"innerRadius",outerRadius:"outerRadius",cornerRadius:"cornerRadius",value:"value",max:"max",data:"data",explodeSlices:"explodeSlices",gradient:"gradient",animate:"animate",pointerEvents:"pointerEvents",isActive:"isActive"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",dblclick:"dblclick"},features:[c.TTD],attrs:W0,decls:3,vars:7,consts:[[1,"arc-group"],[4,"ngIf"],[1,"arc",3,"click","dblclick","mouseenter","mouseleave"],["ngx-charts-svg-radial-gradient","",3,"color","name","startOpacity"]],template:function(r,p){1&r&&(c.O4$(),c.TgZ(0,"g",0),c.YNc(1,FC,2,3,"defs",1),c.TgZ(2,"path",2),c.NdJ("click",function(){return p.onClick()})("dblclick",function(D){return p.onDblClick(D)})("mouseenter",function(){return p.activate.emit(p.data)})("mouseleave",function(){return p.deactivate.emit(p.data)}),c.qZA()()),2&r&&(c.xp6(1),c.Q6J("ngIf",p.gradient),c.xp6(1),c.Udp("pointer-events",p.getPointerEvents()),c.ekj("active",p.isActive),c.uIk("d",p.path)("fill",p.getGradient()))},dependencies:[yd,m.O5],encapsulation:2,changeDetection:0}),u})(),dm=(()=>{class u{constructor(){this.series=[],this.innerRadius=60,this.outerRadius=80,this.trimLabels=!0,this.maxLabelLength=10,this.tooltipDisabled=!1,this.animations=!0,this.select=new c.vpe,this.activate=new c.vpe,this.deactivate=new c.vpe,this.dblclick=new c.vpe,this.placementTypes=On,this.styleTypes=zi}ngOnChanges(r){this.update()}update(){const p=mh().value(x=>x.value).sort(null)(this.series);this.max=function rg(u,f){let r;if(void 0===f)for(const p of u)null!=p&&(r=p)&&(r=p);else{let p=-1;for(let x of u)null!=(x=f(x,++p,u))&&(r=x)&&(r=x)}return r}(p,x=>x.value),this.data=this.calculateLabelPositions(p),this.tooltipText=this.tooltipText||this.defaultTooltipText}midAngle(r){return r.startAngle+(r.endAngle-r.startAngle)/2}outerArc(){return Ec().innerRadius(1.5*this.outerRadius).outerRadius(1.5*this.outerRadius)}calculateLabelPositions(r){const D=r;D.forEach(I=>{I.pos=this.outerArc().centroid(I),I.pos[0]=1.5*this.outerRadius*(this.midAngle(I)0){const Ue=10-Math.abs(fe.pos[1]-G.pos[1]);Ue>0&&(fe.pos[1]+=Math.sign(fe.pos[0])*Ue)}}}return D}labelVisible(r){return this.showLabels&&r.endAngle-r.startAngle>Math.PI/30}getTooltipTitle(r){return this.tooltipTemplate?void 0:this.tooltipText(r)}labelText(r){return this.labelFormatting?this.labelFormatting(r.data.name):this.label(r)}label(r){return fl(r.data.name)}defaultTooltipText(r){const p=this.label(r),x=fl(r.data.value);return`\n ${tc(p)}\n ${x}\n `}color(r){return this.colors.getColor(this.label(r))}trackBy(r,p){return p.data.name}onClick(r){this.select.emit(r)}isActive(r){return!!this.activeEntries&&void 0!==this.activeEntries.find(x=>r.name===x.name&&r.series===x.series)}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-pie-series",""]],inputs:{colors:"colors",series:"series",dims:"dims",innerRadius:"innerRadius",outerRadius:"outerRadius",explodeSlices:"explodeSlices",showLabels:"showLabels",gradient:"gradient",activeEntries:"activeEntries",labelFormatting:"labelFormatting",trimLabels:"trimLabels",maxLabelLength:"maxLabelLength",tooltipText:"tooltipText",tooltipDisabled:"tooltipDisabled",tooltipTemplate:"tooltipTemplate",animations:"animations"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",dblclick:"dblclick"},features:[c.TTD],attrs:NC,decls:1,vars:2,consts:[[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-pie-label","",3,"data","radius","color","label","labelTrim","labelTrimSize","max","value","explodeSlices","animations",4,"ngIf"],["ngx-charts-pie-arc","","ngx-tooltip","",3,"startAngle","endAngle","innerRadius","outerRadius","fill","value","gradient","data","max","explodeSlices","isActive","animate","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate","dblclick"],["ngx-charts-pie-label","",3,"data","radius","color","label","labelTrim","labelTrimSize","max","value","explodeSlices","animations"]],template:function(r,p){1&r&&c.YNc(0,Wh,3,19,"g",0),2&r&&c.Q6J("ngForOf",p.data)("ngForTrackBy",p.trackBy)},dependencies:[sn,cm,m.sg,m.O5,ua],encapsulation:2,changeDetection:0}),u})(),gf=(()=>{class u extends C_{constructor(){super(...arguments),this.labels=!1,this.legend=!1,this.legendTitle="Legend",this.legendPosition=bs.Right,this.explodeSlices=!1,this.doughnut=!1,this.arcWidth=.25,this.activeEntries=[],this.tooltipDisabled=!1,this.trimLabels=!0,this.maxLabelLength=10,this.dblclick=new c.vpe,this.select=new c.vpe,this.activate=new c.vpe,this.deactivate=new c.vpe}update(){super.update(),this.labels&&this.hasNoOptionalMarginsSet()?this.margins=[30,80,30,80]:!this.labels&&this.hasNoOptionalMarginsSet()&&(this.margins=[20,20,20,20]),this.dims=xr({width:this.width,height:this.height,margins:this.margins,showLegend:this.legend,legendPosition:this.legendPosition}),this.formatDates(),this.translation=`translate(${this.margins[3]+this.dims.width/2}, ${this.margins[0]+this.dims.height/2})`,this.outerRadius=Math.min(this.dims.width,this.dims.height),this.outerRadius/=this.labels?3:2,this.innerRadius=0,this.doughnut&&(this.innerRadius=this.outerRadius*(1-this.arcWidth)),this.domain=this.getDomain(),this.data=this.results.sort((x,D)=>this.domain.indexOf(x.name)-this.domain.indexOf(D.name)),this.setColors(),this.legendOptions=this.getLegendOptions()}getDomain(){return this.results.map(r=>r.label)}onClick(r){this.select.emit(r)}setColors(){this.colors=new x_(this.scheme,Pi.Ordinal,this.domain,this.customColors)}getLegendOptions(){return{scaleType:Pi.Ordinal,domain:this.domain,colors:this.colors,title:this.legendTitle,position:this.legendPosition}}onActivate(r,p=!1){r=this.results.find(D=>p?D.label===r.name:D.name===r.name),!(this.activeEntries.findIndex(D=>D.name===r.name&&D.value===r.value&&D.series===r.series)>-1)&&(this.activeEntries=[r,...this.activeEntries],this.activate.emit({value:r,entries:this.activeEntries}))}onDeactivate(r,p=!1){r=this.results.find(D=>p?D.label===r.name:D.name===r.name);const x=this.activeEntries.findIndex(D=>D.name===r.name&&D.value===r.value&&D.series===r.series);this.activeEntries.splice(x,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:r,entries:this.activeEntries})}hasNoOptionalMarginsSet(){return!this.margins||this.margins.length<=0}}return u.\u0275fac=function(){let f;return function(p){return(f||(f=c.n5z(u)))(p||u)}}(),u.\u0275cmp=c.Xpm({type:u,selectors:[["ngx-charts-pie-chart"]],contentQueries:function(r,p,x){if(1&r&&c.Suo(x,ou,5),2&r){let D;c.iGM(D=c.CRH())&&(p.tooltipTemplate=D.first)}},inputs:{labels:"labels",legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",explodeSlices:"explodeSlices",doughnut:"doughnut",arcWidth:"arcWidth",gradient:"gradient",activeEntries:"activeEntries",tooltipDisabled:"tooltipDisabled",labelFormatting:"labelFormatting",trimLabels:"trimLabels",maxLabelLength:"maxLabelLength",tooltipText:"tooltipText",margins:"margins"},outputs:{dblclick:"dblclick",select:"select",activate:"activate",deactivate:"deactivate"},features:[c.qOj],decls:3,vars:24,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelActivate","legendLabelDeactivate","legendLabelClick"],[1,"pie-chart","chart"],["ngx-charts-pie-series","",3,"colors","series","showLabels","labelFormatting","trimLabels","maxLabelLength","activeEntries","innerRadius","outerRadius","explodeSlices","gradient","animations","tooltipDisabled","tooltipTemplate","tooltipText","dblclick","select","activate","deactivate"]],template:function(r,p){1&r&&(c.TgZ(0,"ngx-charts-chart",0),c.NdJ("legendLabelActivate",function(D){return p.onActivate(D,!0)})("legendLabelDeactivate",function(D){return p.onDeactivate(D,!0)})("legendLabelClick",function(D){return p.onClick(D)}),c.O4$(),c.TgZ(1,"g",1)(2,"g",2),c.NdJ("dblclick",function(D){return p.dblclick.emit(D)})("select",function(D){return p.onClick(D)})("activate",function(D){return p.onActivate(D)})("deactivate",function(D){return p.onDeactivate(D)}),c.qZA()()()),2&r&&(c.Q6J("view",c.WLB(21,Sl,p.width,p.height))("showLegend",p.legend)("legendOptions",p.legendOptions)("activeEntries",p.activeEntries)("animations",p.animations),c.xp6(1),c.uIk("transform",p.translation),c.xp6(1),c.Q6J("colors",p.colors)("series",p.data)("showLabels",p.labels)("labelFormatting",p.labelFormatting)("trimLabels",p.trimLabels)("maxLabelLength",p.maxLabelLength)("activeEntries",p.activeEntries)("innerRadius",p.innerRadius)("outerRadius",p.outerRadius)("explodeSlices",p.explodeSlices)("gradient",p.gradient)("animations",p.animations)("tooltipDisabled",p.tooltipDisabled)("tooltipTemplate",p.tooltipTemplate)("tooltipText",p.tooltipText))},dependencies:[vd,dm],styles:[Ph,".pie-label{font-size:11px}.pie-label.animation{-webkit-animation:.75s ease-in fadeIn;animation:.75s ease-in fadeIn}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.pie-label-line{stroke-dasharray:100%}.pie-label-line.animation{-webkit-animation:3s linear drawOut;animation:3s linear drawOut;transition:d .75s}@-webkit-keyframes drawOut{0%{stroke-dashoffset:100%}to{stroke-dashoffset:0}}@keyframes drawOut{0%{stroke-dashoffset:100%}to{stroke-dashoffset:0}}\n"],encapsulation:2,changeDetection:0}),u})();let gn=(()=>{class u{constructor(r){this.innerRadius=70,this.outerRadius=80,this.animations=!0,this.select=new c.vpe,this.activate=new c.vpe,this.deactivate=new c.vpe,this.element=r.nativeElement}ngOnChanges(r){this.update()}update(){this.layout=mh().value(r=>r.data.value).sort(null),this.arcs=this.getArcs()}getArcs(){return this.layout(this.data).map((r,p)=>{const x=r.data.data.name,D=r.data.data.other;0===p&&(r.startAngle=0);const I=this.colors(x);return{data:r.data.data,class:"arc arc"+p,fill:I,startAngle:D?0:r.startAngle,endAngle:r.endAngle,animate:this.animations&&!D,pointerEvents:!D}})}onClick(r){this.select.emit(this.data[0].data)}trackBy(r,p){return p.data.name}label(r){return r.data.name}color(r){return this.colors(this.label(r))}}return u.\u0275fac=function(r){return new(r||u)(c.Y36(c.SBq))},u.\u0275cmp=c.Xpm({type:u,selectors:[["g","ngx-charts-pie-grid-series",""]],inputs:{colors:"colors",data:"data",innerRadius:"innerRadius",outerRadius:"outerRadius",animations:"animations"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[c.TTD],attrs:du,decls:2,vars:2,consts:[[1,"pie-grid-arcs"],["ngx-charts-pie-arc","",3,"startAngle","endAngle","innerRadius","outerRadius","fill","value","data","gradient","pointerEvents","animate","select","activate","deactivate",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-pie-arc","",3,"startAngle","endAngle","innerRadius","outerRadius","fill","value","data","gradient","pointerEvents","animate","select","activate","deactivate"]],template:function(r,p){1&r&&(c.O4$(),c.TgZ(0,"g",0),c.YNc(1,q0,1,11,"g",1),c.qZA()),2&r&&(c.xp6(1),c.Q6J("ngForOf",p.arcs)("ngForTrackBy",p.trackBy))},dependencies:[cm,m.sg],encapsulation:2,changeDetection:0}),u})(),dv=(()=>{class u extends C_{constructor(){super(...arguments),this.tooltipDisabled=!1,this.label="Total",this.minWidth=150,this.activeEntries=[],this.activate=new c.vpe,this.deactivate=new c.vpe,this.margin=[20,20,20,20],this.placementTypes=On,this.styleTypes=zi}update(){super.update(),this.dims=xr({width:this.width,height:this.height,margins:this.margin}),this.formatDates(),this.domain=this.getDomain(),this.data=function _m(u,f,r,p){const x=cl(),D=cl(),I=u.width,G=u.height,[me,fe]=function um(u,f,r){let p=1,x=f;const D=u.width;if(D>r)for(;D/xf?f.value:0).reduce((f,r)=>f+r,0)}(f),oi=x.bandwidth(),Mi=D.bandwidth();for(let St=0;St0?ft[St].data.value/wt:0,ft[St].data.total=wt;return ft}(this.dims,this.results,this.minWidth,this.designatedTotal),this.transform=`translate(${this.margin[3]} , ${this.margin[0]})`,this.series=this.getSeries(),this.setColors(),this.tooltipText=this.tooltipText||this.defaultTooltipText}defaultTooltipText({data:r}){return`\n ${ic(fl(r.name))}\n ${r.value.toLocaleString()}\n `}getDomain(){return this.results.map(r=>r.label)}getSeries(){const r=this.designatedTotal?this.designatedTotal:this.getTotal();return this.data.map(p=>{const I=p.data.name,G=fl(I),me=p.data.value,fe=function gh(u,f){let r;if(void 0===f)for(const p of u)null!=p&&(r>p||void 0===r&&p>=p)&&(r=p);else{let p=-1;for(let x of u)null!=(x=f(x,++p,u))&&(r>x||void 0===r&&x>=x)&&(r=x)}return r}([p.width-10,p.height-20])/2-5;let dt=0;return{transform:`translate(${p.x+(p.width-10)/2}, ${p.y+(p.height-20)/2})`,colors:()=>(dt+=1,1===dt?"rgba(100,100,100,0.3)":this.colorScale.getColor(G)),innerRadius:.9*fe,outerRadius:fe,name:I,label:ic(G),total:me,value:me,percent:Q_(".1%")(p.data.percent),data:[p,{data:{other:!0,value:r-me,name:p.data.name}}]}})}getTotal(){return this.results.map(r=>r.value).reduce((r,p)=>r+p,0)}onClick(r){this.select.emit(r)}setColors(){this.colorScale=new x_(this.scheme,Pi.Ordinal,this.domain,this.customColors)}onActivate(r,p=!1){r=this.results.find(D=>p?D.label===r.name:D.name===r.name),!(this.activeEntries.findIndex(D=>D.name===r.name&&D.value===r.value&&D.series===r.series)>-1)&&(this.activeEntries=[r,...this.activeEntries],this.activate.emit({value:r,entries:this.activeEntries}))}onDeactivate(r,p=!1){r=this.results.find(D=>p?D.label===r.name:D.name===r.name);const x=this.activeEntries.findIndex(D=>D.name===r.name&&D.value===r.value&&D.series===r.series);this.activeEntries.splice(x,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:r,entries:this.activeEntries})}}return u.\u0275fac=function(){let f;return function(p){return(f||(f=c.n5z(u)))(p||u)}}(),u.\u0275cmp=c.Xpm({type:u,selectors:[["ngx-charts-pie-grid"]],contentQueries:function(r,p,x){if(1&r&&c.Suo(x,ou,5),2&r){let D;c.iGM(D=c.CRH())&&(p.tooltipTemplate=D.first)}},inputs:{designatedTotal:"designatedTotal",tooltipDisabled:"tooltipDisabled",tooltipText:"tooltipText",label:"label",minWidth:"minWidth",activeEntries:"activeEntries"},outputs:{activate:"activate",deactivate:"deactivate"},features:[c.qOj],decls:3,vars:8,consts:[[3,"view","showLegend","animations"],[1,"pie-grid","chart"],["class","pie-grid-item",4,"ngFor","ngForOf"],[1,"pie-grid-item"],["ngx-charts-pie-grid-series","","ngx-tooltip","",3,"colors","data","innerRadius","outerRadius","animations","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate"],["class","label percent-label","dy","-0.5em","x","0","y","5","ngx-charts-count-up","","text-anchor","middle",3,"countTo","countSuffix",4,"ngIf"],["class","label percent-label","dy","-0.5em","x","0","y","5","text-anchor","middle",4,"ngIf"],["dy","0.5em","x","0","y","5","text-anchor","middle",1,"label"],["class","label","dy","1.23em","x","0","text-anchor","middle","ngx-charts-count-up","",3,"countTo","countPrefix",4,"ngIf"],["class","label","dy","1.23em","x","0","text-anchor","middle",4,"ngIf"],["dy","-0.5em","x","0","y","5","ngx-charts-count-up","","text-anchor","middle",1,"label","percent-label",3,"countTo","countSuffix"],["dy","-0.5em","x","0","y","5","text-anchor","middle",1,"label","percent-label"],["dy","1.23em","x","0","text-anchor","middle","ngx-charts-count-up","",1,"label",3,"countTo","countPrefix"],["dy","1.23em","x","0","text-anchor","middle",1,"label"]],template:function(r,p){1&r&&(c.TgZ(0,"ngx-charts-chart",0),c.O4$(),c.TgZ(1,"g",1),c.YNc(2,hl,8,19,"g",2),c.qZA()()),2&r&&(c.Q6J("view",c.WLB(5,Sl,p.width,p.height))("showLegend",!1)("animations",p.animations),c.xp6(1),c.uIk("transform",p.transform),c.xp6(1),c.Q6J("ngForOf",p.series))},dependencies:[vd,gn,wp,m.sg,ua,m.O5],styles:[Ph,".pie-grid .arc1{opacity:.4}.pie-grid .percent-label{font-size:16px;font-weight:400}\n"],encapsulation:2,changeDetection:0}),u})(),Pc=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=c.oAB({type:u}),u.\u0275inj=c.cJS({imports:[[uo]]}),u})(),lx=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=c.oAB({type:u}),u.\u0275inj=c.cJS({imports:[[uo,Pc,lm]]}),u})(),pv=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=c.oAB({type:u}),u.\u0275inj=c.cJS({imports:[[uo]]}),u})(),Lp=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=c.oAB({type:u}),u.\u0275inj=c.cJS({imports:[[uo]]}),u})(),Cf=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=c.oAB({type:u}),u.\u0275inj=c.cJS({imports:[[uo,Pc,sm]]}),u})(),xf=(()=>{class u{constructor(){!function vf(){"undefined"!=typeof SVGElement&&void 0===SVGElement.prototype.contains&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains)}()}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=c.oAB({type:u}),u.\u0275inj=c.cJS({imports:[uo,lf,sm,iv,nv,av,lm,lx,pv,Pc,Lp,Cf]}),u})()},4147:B=>{"use strict";B.exports={i8:"2.6.0"}}},B=>{B(B.s=7867)}]); \ No newline at end of file diff --git a/package.json b/package.json index 906f4d3864..cf087cacc4 100755 --- a/package.json +++ b/package.json @@ -56,9 +56,9 @@ "@types/d3-scale": "^4.0.2", "@types/d3-selection": "^3.0.3", "@types/d3-shape": "^3.1.0", - "@types/node": "^18.11.11", - "@typescript-eslint/eslint-plugin": "5.45.1", - "@typescript-eslint/parser": "5.45.1", + "@types/node": "^18.11.12", + "@typescript-eslint/eslint-plugin": "5.46.0", + "@typescript-eslint/parser": "5.46.0", "autoprefixer": "^10.4.13", "eslint": "^8.29.0", "eslint-plugin-import": "latest", diff --git a/src/frontend/app/login/login.component.ts b/src/frontend/app/login/login.component.ts index 5e3665dc0c..e4f2c81ff3 100755 --- a/src/frontend/app/login/login.component.ts +++ b/src/frontend/app/login/login.component.ts @@ -131,7 +131,7 @@ export class LoginComponent implements OnInit { ).pipe( tap((data: any) => { this.userService.setUser(data.body.user); - this.authService.setTokens(data.body.auth_token, btoa(JSON.stringify(this.userService.getUser())), data.body.minutes_before_exp); + this.authService.setTokens(data.body.auth_token, btoa(JSON.stringify(this.userService.getUser()))); this.localStorageService.save('task_watcher_minimize_display', 'true'); this.authService.generateHeaders(); this.notify.success(this.translate.instant('AUTH.authenticated')); diff --git a/src/frontend/app/middleware.component.ts b/src/frontend/app/middleware.component.ts index 61828994aa..79e88cdb2b 100755 --- a/src/frontend/app/middleware.component.ts +++ b/src/frontend/app/middleware.component.ts @@ -63,7 +63,7 @@ export class MiddlewareComponent implements HttpInterceptor { if (environment.production) { environment['url'] = '../' + environment['url']; } - const token = this.localStorage.getCookie('OpenCaptureToken_' + customId); + const token = this.localStorage.get('OpenCaptureToken_' + customId); if (currentCustom && customId !== currentCustom) { this.router.navigate(['/logout']).then(); } diff --git a/src/frontend/services/auth.service.ts b/src/frontend/services/auth.service.ts index 68991fb083..ace5805bac 100755 --- a/src/frontend/services/auth.service.ts +++ b/src/frontend/services/auth.service.ts @@ -64,48 +64,50 @@ export class AuthService { return this.localStorage.remove(tokenNames['cachedUrlName']); } - setTokenCustom(name: string, token: string) { - this.localStorage.save(name, token); + setTokenConfig(config: any) { + const tokenNames = this.getTokenName(); + this.localStorage.save(tokenNames['configName'], config); } - getTokenCustom(name: string) { - return this.localStorage.get(name); + getTokenConfig() { + const tokenNames = this.getTokenName(); + return this.localStorage.get(tokenNames['configName']); } getTokenName() { let tokenName = 'OpenCaptureToken'; - let userTokenName = 'OpenCaptureToken_user'; + let userDataName = 'OpenCaptureUserData'; let cachedUrlName = 'OpenCaptureCachedUrl'; + let configName = 'OpenCaptureConfig'; if (environment['customId']) { tokenName += '_' + environment['customId']; - userTokenName += '_' + environment['customId']; + userDataName += '_' + environment['customId']; cachedUrlName += '_' + environment['customId']; + configName += '_' + environment['customId']; } else if (environment['fqdn']) { tokenName += '_' + environment['fqdn']; - userTokenName += '_' + environment['fqdn']; + userDataName += '_' + environment['fqdn']; cachedUrlName += '_' + environment['fqdn']; + configName += '_' + environment['fqdn']; } + return { 'tokenJwt': tokenName, - 'userToken': userTokenName, + 'configName': configName, + 'userData': userDataName, 'cachedUrlName': cachedUrlName }; } - setTokens(token: string, user_token: string, minutesBeforeExp: number) { + setTokens(token: string, user_token: string) { const tokenNames = this.getTokenName(); - this.localStorage.setCookie(tokenNames['tokenJwt'], token, minutesBeforeExp); - this.localStorage.setCookie(tokenNames['userToken'], user_token, minutesBeforeExp); - } - - setTokenUser(user_token: string, minutesBeforeExp: number) { - const tokenNames = this.getTokenName(); - this.localStorage.setCookie(tokenNames['userToken'], user_token, minutesBeforeExp); + this.localStorage.save(tokenNames['tokenJwt'], token); + this.localStorage.save(tokenNames['userData'], user_token); } getToken() { const tokenNames = this.getTokenName(); - return this.localStorage.getCookie(tokenNames['tokenJwt']); + return this.localStorage.get(tokenNames['tokenJwt']); } logout() { @@ -113,12 +115,11 @@ export class AuthService { this.userService.setUser({}); this.localStorage.remove('login_image_b64'); this.localStorage.remove('selectedSettings'); + this.localStorage.remove(tokenNames['tokenJwt']); + this.localStorage.remove(tokenNames['userData']); this.localStorage.remove('splitter_or_verifier'); this.localStorage.remove('selectedParentSettings'); - this.localStorage.remove('selectedParentSettings'); this.localStorage.remove('task_watcher_minimize_display'); - this.localStorage.deleteCookie(tokenNames['tokenJwt']); - this.localStorage.deleteCookie(tokenNames['userToken']); this.http.get(environment['url'] + '/ws/auth/logout').pipe( catchError((err: any) => { console.debug(err); diff --git a/src/frontend/services/config.service.ts b/src/frontend/services/config.service.ts index ee5a43db7f..95bea7d194 100755 --- a/src/frontend/services/config.service.ts +++ b/src/frontend/services/config.service.ts @@ -15,13 +15,13 @@ @dev : Nathan Cheval */ -import { Injectable } from '@angular/core'; +import { of } from "rxjs"; import { environment } from "../app/env"; -import { HttpClient } from "@angular/common/http"; -import { NotificationService } from "./notifications/notifications.service"; +import { Injectable } from '@angular/core'; import { AuthService } from "./auth.service"; import { catchError, tap } from "rxjs/operators"; -import { of } from "rxjs"; +import { HttpClient } from "@angular/common/http"; +import { NotificationService } from "./notifications/notifications.service"; @Injectable({ providedIn: 'root' @@ -55,10 +55,10 @@ export class ConfigService { } setConfig(config: any) { - this.authService.setTokenCustom('OpenCaptureConfig', btoa(JSON.stringify(config))); + this.authService.setTokenConfig(btoa(JSON.stringify(config))); } getConfig() { - return JSON.parse(atob(this.authService.getTokenCustom('OpenCaptureConfig') as string)); + return JSON.parse(atob(this.authService.getTokenConfig() as string)); } } diff --git a/src/frontend/services/local-storage.service.ts b/src/frontend/services/local-storage.service.ts index bf7763285a..0da36f25a3 100755 --- a/src/frontend/services/local-storage.service.ts +++ b/src/frontend/services/local-storage.service.ts @@ -21,34 +21,8 @@ import { Injectable } from '@angular/core'; providedIn: 'root' }) export class LocalStorageService { - browser: string = ''; - constructor() { - if (this.browser === '') { - this.browser = this.detectBrowserVersion(); - } - } - - detectBrowserVersion() { - let tem; - const userAgent = navigator.userAgent; - let matchTest = userAgent.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i) || []; - - if(/trident/i.test(matchTest[1])) { - tem = /\brv[ :]+(\d+)/g.exec(userAgent) || []; - return 'IE '+(tem[1] || ''); - } - - if(matchTest[1]=== 'Chrome') { - tem = userAgent.match(/\b(OPR|Edge)\/(\d+)/); - if(tem!= null) return tem.slice(1).join(' ').replace('OPR', 'Opera'); - } - matchTest= matchTest[2]? [matchTest[1]] : [navigator.appName]; - if ((tem = userAgent.match(/version\/(\d+)/i)) != null) { - matchTest.splice(1, 1, tem[1]); - } - return matchTest.join(' '); - } + constructor() {} save(id: string, content: any) { localStorage.setItem(id, content); @@ -61,43 +35,4 @@ export class LocalStorageService { remove(id: string) { localStorage.removeItem(id); } - - getCookie(cname: string) { - const name = cname + "="; - const decodedCookie = decodeURIComponent(document.cookie); - const ca = decodedCookie.split(';'); - for (let i = 0; i < ca.length; i++) { - let c = ca[i]; - while (c.charAt(0) === ' ') { - c = c.substring(1); - } - if (c.indexOf(name) === 0) { - return c.substring(name.length, c.length); - } - } - return ""; - } - - isValidFQDN(str: string) { - return /(?=^.{4,253}$)(^((?!-)[a-zA-Z0-9-]{0,62}[a-zA-Z0-9]\.)+[a-zA-Z]{2,63}$)/g.test(str); - } - - setCookie(cname: string, cvalue: string, expMinutes: number) { - let sameSitePolicy = ''; - if (this.browser.toLowerCase() === 'chrome' && this.isValidFQDN(window.location.host)) { - sameSitePolicy = 'SameSite=None;Secure'; - } - const d = new Date(); - if (expMinutes !== 0) { - d.setMinutes(d.getMinutes() + expMinutes); - const expires = "expires=" + d.toUTCString(); - document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/;" + sameSitePolicy; - } else { - document.cookie = cname + "=" + cvalue + ";path=/;" + sameSitePolicy; - } - } - - deleteCookie(cname: string) { - this.setCookie(cname, '', -1); - } } diff --git a/src/frontend/services/login-required.service.ts b/src/frontend/services/login-required.service.ts index f9e47fa84f..8175c1af99 100755 --- a/src/frontend/services/login-required.service.ts +++ b/src/frontend/services/login-required.service.ts @@ -64,7 +64,7 @@ export class LoginRequiredService implements CanActivate { ).pipe( tap((data: any) => { this.userService.setUser(data.body.user); - this.authService.setTokens(data.body.auth_token, btoa(JSON.stringify(this.userService.getUser())), data.body.minutes_before_exp); + this.authService.setTokens(data.body.auth_token, btoa(JSON.stringify(this.userService.getUser()))); if (!this.authService.headersExists) { this.authService.generateHeaders(); } @@ -91,7 +91,6 @@ export class LoginRequiredService implements CanActivate { canActivate(): boolean { const token = this.authService.getToken(); - const tokenRouteStatic = this.authService.getTokenCustom('tokenRouteStatic'); let route = ''; if (!token) { const params = new URLSearchParams(window.location.href); @@ -115,7 +114,7 @@ export class LoginRequiredService implements CanActivate { }); return false; } - this.login(token, tokenRouteStatic); + this.login(token, null); return true; } } diff --git a/src/frontend/services/tasks-watcher/tasks-watcher.component.html b/src/frontend/services/tasks-watcher/tasks-watcher.component.html index 7156934bdb..3099f75ac6 100755 --- a/src/frontend/services/tasks-watcher/tasks-watcher.component.html +++ b/src/frontend/services/tasks-watcher/tasks-watcher.component.html @@ -7,13 +7,14 @@ -
-
+
+
{{ 'GLOBAL.loading' | translate }}
- + {{ 'GLOBAL.no_task_to_show' | translate }}