@pepperi-addons/ngx-composite-lib-react 0.0.4 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/README.md +129 -0
  2. package/elements/971.js +1 -1
  3. package/elements/index.html +5 -5
  4. package/elements/main.js +1 -1
  5. package/elements/polyfills.js +1 -1
  6. package/elements/runtime.js +1 -1
  7. package/elements/styles.css +16 -1
  8. package/index.d.ts +16 -19
  9. package/index.js +16 -19
  10. package/package.json +24 -23
  11. package/pep-color-settings.d.ts +17 -4
  12. package/pep-color-settings.js +33 -2
  13. package/pep-data-view-builder.d.ts +28 -4
  14. package/pep-data-view-builder.js +41 -2
  15. package/pep-file-status-panel.d.ts +18 -4
  16. package/pep-file-status-panel.js +28 -2
  17. package/pep-flow-picker-button.d.ts +13 -4
  18. package/pep-flow-picker-button.js +29 -2
  19. package/pep-generic-fields-builder.d.ts +33 -0
  20. package/pep-generic-fields-builder.js +57 -0
  21. package/pep-generic-form.d.ts +52 -4
  22. package/pep-generic-form.js +46 -2
  23. package/pep-generic-list.d.ts +70 -4
  24. package/pep-generic-list.js +126 -2
  25. package/pep-group-buttons-settings.d.ts +25 -4
  26. package/pep-group-buttons-settings.js +72 -2
  27. package/pep-icon-picker.d.ts +18 -4
  28. package/pep-icon-picker.js +39 -2
  29. package/pep-manage-parameters.d.ts +31 -4
  30. package/pep-manage-parameters.js +39 -2
  31. package/pep-mapping-parameters.d.ts +17 -4
  32. package/pep-mapping-parameters.js +31 -2
  33. package/pep-menu-data-view.d.ts +18 -0
  34. package/pep-menu-data-view.js +36 -0
  35. package/pep-padding-settings.d.ts +12 -4
  36. package/pep-padding-settings.js +23 -2
  37. package/pep-rich-text.d.ts +47 -4
  38. package/pep-rich-text.js +76 -2
  39. package/pep-shadow-settings.d.ts +15 -4
  40. package/pep-shadow-settings.js +22 -2
  41. package/pep-show-if-badge.d.ts +10 -4
  42. package/pep-show-if-badge.js +16 -2
  43. package/components/PepGroupButtonsSettings.d.ts +0 -14
  44. package/components/PepGroupButtonsSettings.js +0 -19
  45. package/components/PepGroupButtonsSettingsReact.d.ts +0 -14
  46. package/components/PepGroupButtonsSettingsReact.js +0 -104
  47. package/elements/register.auto.d.ts +0 -1
  48. package/elements/register.auto.js +0 -1
  49. package/elements/register.d.ts +0 -1
  50. package/elements/register.js +0 -1
  51. package/elements/register.polyfills.js +0 -1
  52. package/elements/register.runtime.js +0 -1
  53. package/pep-field-container.d.ts +0 -4
  54. package/pep-field-container.js +0 -3
  55. package/pep-group-buttons-settings-react.d.ts +0 -14
  56. package/pep-group-buttons-settings-react.js +0 -62
  57. package/pep-layout-builder-editor.d.ts +0 -4
  58. package/pep-layout-builder-editor.js +0 -3
  59. package/pep-layout-builder.d.ts +0 -4
  60. package/pep-layout-builder.js +0 -3
  61. package/pep-layout.d.ts +0 -4
  62. package/pep-layout.js +0 -3
  63. package/utils/create-wrapper.d.ts +0 -7
  64. package/utils/create-wrapper.js +0 -46
@@ -1 +0,0 @@
1
- (self.webpackChunkngx_composite_register_fn=self.webpackChunkngx_composite_register_fn||[]).push([[179],{9496:(ge,I,_)=>{"use strict";_(2023),_(9400),_(3738),_(5316)},4228:(ge,I,_)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.DataViewConverter=void 0;const f=_(8842),T=_(4245);class C{static toDataView(M){return C.createDataView(M)}static createDataView(M){const S=T.UIControlConfigurationsService.configuration(M),x={InternalID:M.ObjectID,Type:S.Type,Title:M.DisplayName||"",Hidden:M.Hidden,CreationDateTime:M.CreationDate,ModificationDateTime:M.ModificationDate,Context:C.toDataViewContext(M.Type,M.PermissionRoleID),ListData:void 0,Fields:[]};switch(S.ListData&&(x.ListData={Sort:M.SortBy?[{FieldID:M.SortBy,Ascending:M.SortAsc}]:void 0,Section:M.GroupBy&&"-1"!==M.GroupBy?{FieldID:M.GroupBy,Ascending:!0}:void 0}),x.Type){case"Grid":C.populateGridDataView(x,M);break;case"Menu":C.populateMenuDataView(x,M);break;case"Configuration":C.populateConfigurationDataView(x,M);break;default:C.populateBaseFormDataView(x,M)}return x}static populateGridDataView(M,S){var x,F;M.Fields=S.ControlFields.map(C.createGridDataViewField),M.Columns=S.ControlFields.map(B=>({Width:B.ColumnWidth||10})),M.FrozenColumnsCount=(null===(x=S.Layout)||void 0===x?void 0:x.frozenColumnsCount)||0,M.MinimumColumnWidth=(null===(F=S.Layout)||void 0===F?void 0:F.MinimumWidth)||0}static createGridDataViewField(M){var S,x;return{FieldID:M.ApiName,Type:C.convertFromEnum(f.DataViewFieldTypes,M.FieldType,"None"),Title:M.Title||"",Mandatory:M.MandatoryField,ReadOnly:M.ReadOnlyField,Layout:{Origin:{X:M.Layout?M.Layout.X:0,Y:M.Layout?M.Layout.Y:0}},Style:{Alignment:{Vertical:C.convertFromEnum(f.VerticalAlignments,(null===(S=M.Layout)||void 0===S?void 0:S.yAlignment)||0,"Stretch"),Horizontal:C.convertFromEnum(f.HorizontalAlignments,(null===(x=M.Layout)||void 0===x?void 0:x.xAlignment)||0,"Stretch")}}}}static populateBaseFormDataView(M,S){var x,F;M.Fields=S.ControlFields.map(C.createBaseFormDataViewField),M.Rows=(null===(F=null===(x=S.Layout)||void 0===x?void 0:x.rowDefinitions)||void 0===F?void 0:F.map(B=>({Mode:C.convertFromEnum(f.DataViewRowModes,B.mode,"Fixed")})))||[],M.Columns=new Array(S.Columns).fill({})}static createBaseFormDataViewField(M){var S,x,F,B,$,H;return{FieldID:M.ApiName,Type:C.convertFromEnum(f.DataViewFieldTypes,M.FieldType,"None"),Title:M.Title||"",Mandatory:M.MandatoryField,ReadOnly:M.ReadOnlyField,Layout:{Origin:{X:(null===(S=M.Layout)||void 0===S?void 0:S.X)||0,Y:(null===(x=M.Layout)||void 0===x?void 0:x.Y)||0},Size:{Width:(null===(F=M.Layout)||void 0===F?void 0:F.Width)||0,Height:(null===(B=M.Layout)||void 0===B?void 0:B.Field_Height)||0}},Style:{Alignment:{Vertical:C.convertFromEnum(f.VerticalAlignments,(null===($=M.Layout)||void 0===$?void 0:$.yAlignment)||0,"Stretch"),Horizontal:C.convertFromEnum(f.HorizontalAlignments,(null===(H=M.Layout)||void 0===H?void 0:H.xAlignment)||0,"Stretch")}}}}static populateMenuDataView(M,S){M.Fields=S.ControlFields.map(C.createMenuDataViewField)}static createMenuDataViewField(M){return{FieldID:M.ApiName,Title:M.Title||""}}static populateConfigurationDataView(M,S){M.Fields=S.ControlFields.map(C.createConfigurationDataViewField)}static createConfigurationDataViewField(M){return{FieldID:M.ApiName,Type:C.convertFromEnum(f.DataViewFieldTypes,M.FieldType,"None"),Title:M.Title||"",Mandatory:M.MandatoryField,ReadOnly:M.ReadOnlyField}}static toUIControlData(M){var S,x,F;const B={ObjectID:M.InternalID,Hidden:M.Hidden||!1,Type:C.toType(M.Context),CreationDate:M.CreationDateTime||"",ModificationDate:M.ModificationDateTime||"",ControlFields:M.Fields.map(($,H)=>{var Z,Me,ae,se,ee,W;return{ParentField:"",Title:$.Title||"",WrntyFieldName:$.Title||"",MandatoryField:$.Mandatory||!1,ReadOnlyField:!("ReadOnly"in $)||$.ReadOnly,FieldConditions:null,CustomField:!1,ApiName:$.FieldID,FieldType:"Type"in $?f.DataViewFieldTypes[$.Type]:f.DataViewFieldTypes.TextBox,OptionalValues:void 0,MinValue:-1e9,MaxValue:1e9,MaxCharacters:0,MaxLines:0,Layout:{X:null!==(Z=$.Layout)&&void 0!==Z&&Z.Origin?$.Layout.Origin.X:0,Y:null!==(Me=$.Layout)&&void 0!==Me&&Me.Origin?$.Layout.Origin.Y:0,Width:null!==(ae=$.Layout)&&void 0!==ae&&ae.Size?$.Layout.Size.Width:1,Field_Height:null!==(se=$.Layout)&&void 0!==se&&se.Size?$.Layout.Size.Height:1,Line_Number:H,xAlignment:null!==(ee=$.Style)&&void 0!==ee&&ee.Alignment?f.HorizontalAlignments[$.Style.Alignment.Horizontal]:f.HorizontalAlignments.Stretch,yAlignment:null!==(W=$.Style)&&void 0!==W&&W.Alignment?f.VerticalAlignments[$.Style.Alignment.Vertical]:f.VerticalAlignments.Center},ColumnWidth:10,ObjectTypeReference:0,DefaultValue:"",Hidden:!1}}),ControlConditions:[],Family:"",Name:"",DisplayName:M.Title||"",HighlightFirst:!1,Columns:M.Columns?M.Columns.length:1,SortBy:(null===(S=M.ListData)||void 0===S?void 0:S.Sort)&&M.ListData.Sort.length?M.ListData.Sort[0].FieldID:"",SortAsc:!(!(null===(x=M.ListData)||void 0===x?void 0:x.Sort)||!M.ListData.Sort.length)&&M.ListData.Sort[0].Ascending,DefaultView:"",GroupBy:null!==(F=M.ListData)&&void 0!==F&&F.Section?M.ListData.Section.FieldID:"",Flat:!0,ActivityTypesID:null,Statuses:null,ControlName:null,ViewType:C.toUIControlType(M.Type),PermissionRoleID:M.Context.Profile.InternalID||0,PermissionRoleName:M.Context.Profile.Name||"",Version:1,Layout:{columnDefinitions:[],rowDefinitions:"Rows"in M?M.Rows.map($=>({mode:f.DataViewRowModes[$.Mode]})):[],frozenColumnsCount:0,Width:0,MinimumWidth:0,WidthType:0},RowsAs:null,ColumnsAs:null,ColumnsOrderBy:null,RowsOrderBy:null};if("Grid"===M.Type){const $=M;B.Layout.MinimumWidth=$.MinimumColumnWidth,B.Layout.frozenColumnsCount=$.FrozenColumnsCount,B.Columns=1,M.Fields.forEach((H,Z)=>{B.ControlFields[Z].ColumnWidth=$.Columns[Z].Width,B.ControlFields[Z].Layout.Width=1,B.ControlFields[Z].Layout.Field_Height=1})}return B}static convertFromEnum(M,S,x){return Object.keys(M).find(F=>M[F]==S)||x}static toDataViewType(M){const S=Object.keys(f.UIControlViewTypes).find(x=>f.UIControlViewTypes[x]===M);switch(S){case"None":return"Form";case"Grid":case"Line":case"CardsGrid":case"Map":case"Menu":case"Configuration":return S;case"Cards":return"Card";case"Detailed":return"Details"}}static toUIControlType(M){const S=f.UIControlViewTypes.None;switch(M){case"Grid":case"Line":case"CardsGrid":case"Map":return f.UIControlViewTypes[M];case"Card":return f.UIControlViewTypes.Cards;case"Details":return f.UIControlViewTypes.Detailed;case"Menu":return f.UIControlViewTypes.Menu;case"Configuration":return f.UIControlViewTypes.Configuration}return S}static toResource(M){switch(M){case"AT":return"accounts";case"GA":return"activities";case"CP":return"contacts";case"OA":return"transactions";case"GL":return"lists";case"CA":return"catalogs"}}static toResourcePrefix(M){switch(M){case"accounts":return"AT";case"contacts":return"CP";case"activities":return"GA";case"transactions":return"OA";case"lists":return"GL";case"catalogs":return"CA"}}static toDataViewContext(M,S){let x,F=M,B=M.match(/^\[(\w\w)#(\d+)\](\w+)$/);B&&4==B.length&&f.ResoursePrefixes.includes(B[1])?(x={InternalID:parseInt(B[2]),Resource:C.toResource(B[1])},F=B[3]):(B=M.match(/^\[GL#((\w|-)+)\](\w+)$/),B&&4==B.length&&(x={UUID:B[1],Resource:C.toResource("GL")},F=B[3]));let $="Tablet";return B=F.match(/^(\w+)(Landscape|Phablet)$/),B&&3==B.length&&($=B[2],F=B[1]),{Object:x,Name:F,ScreenSize:$,Profile:{InternalID:S}}}static toType(M){let S=M.Name;return"Tablet"!==M.ScreenSize&&(S+=M.ScreenSize),M.Object&&(S="lists"===M.Object.Resource?`[GL#${M.Object.UUID}]${S}`:`[${C.toResourcePrefix(M.Object.Resource)}#${M.Object.InternalID}]${S}`),S}}I.DataViewConverter=C},5316:function(ge,I,_){"use strict";var f=this&&this.__createBinding||(Object.create?function(C,K,M,S){void 0===S&&(S=M),Object.defineProperty(C,S,{enumerable:!0,get:function(){return K[M]}})}:function(C,K,M,S){void 0===S&&(S=M),C[S]=K[M]}),T=this&&this.__exportStar||function(C,K){for(var M in C)"default"!==M&&!Object.prototype.hasOwnProperty.call(K,M)&&f(K,C,M)};Object.defineProperty(I,"__esModule",{value:!0}),T(_(4228),I),T(_(4245),I)},4245:function(ge,I,_){"use strict";var f=this&&this.__importDefault||function(M){return M&&M.__esModule?M:{default:M}};Object.defineProperty(I,"__esModule",{value:!0}),I.UIControlConfigurationsService=void 0;const T=f(_(6316)),C=_(4228);I.UIControlConfigurationsService=class K{static configuration(S){const x=C.DataViewConverter.toDataViewContext(S.Type,0).Name;return T.default[x]||{Type:C.DataViewConverter.toDataViewType(S.ViewType)}}}},6023:function(ge,I,_){"use strict";var f=_(8926).default,T=this&&this.__asyncValues||function(M){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var x,S=M[Symbol.asyncIterator];return S?S.call(M):(M="function"==typeof __values?__values(M):M[Symbol.iterator](),x={},F("next"),F("throw"),F("return"),x[Symbol.asyncIterator]=function(){return this},x);function F($){x[$]=M[$]&&function(H){return new Promise(function(Z,Me){!function B($,H,Z,Me){Promise.resolve(Me).then(function(ae){$({value:ae,done:Z})},H)}(Z,Me,(H=M[$](H)).done,H.value)})}}};Object.defineProperty(I,"__esModule",{value:!0}),I.IterableEndpoint=void 0;class C{constructor(S,x){this.service=S,this.endpoint=x}find(S={}){var x=this;return f(function*(){let F=x.getEndpointURL();const B=K.encodeQueryParams(S);return F=B?F+"?"+B:F,x.service.get(F)})()}getEndpointURL(){return this.endpoint}iter(S={}){var x=this;const F=this;return{[Symbol.asyncIterator](){const B=S;B.include_count=!0;let $=1;const H=S.page_size||100;let Z={items:[],numOfPages:1};return{next:(Me=f(function*(){0==Z.items.length&&(1==$?(B.page=$++,Z=yield F.getFirstPage(B),Z.items=Z.items.reverse(),B.include_count=!1,0===Z.numOfPages&&Z.items.length<H&&(Z.numOfPages=1)):(0===Z.numOfPages||$<=Z.numOfPages)&&(B.page=$++,Z.items=(yield F.find(B)).reverse(),0===Z.numOfPages&&Z.items.length<H&&(Z.numOfPages=$-1)));const ae=Z.items.length>0?Z.items.pop():void 0;return ae?{value:ae,done:!1}:{value:{},done:!0}}),function(){return Me.apply(this,arguments)})};var Me},toArray:(B=f(function*(){var $,H;const Z=[];try{for(var ae,Me=T(x.iter(S));!(ae=yield Me.next()).done;)Z.push(ae.value)}catch(se){$={error:se}}finally{try{ae&&!ae.done&&(H=Me.return)&&(yield H.call(Me))}finally{if($)throw $.error}}return Z}),function(){return B.apply(this,arguments)})};var B}getFirstPage(S){var x=this;return f(function*(){let F=x.getEndpointURL();const B=K.encodeQueryParams(S);let $=[];F=B?F+"?"+B:F;const H=yield x.service.apiCall("GET",F),Z=Number(H.headers.get("X-Pepperi-Total-Pages"));return $=yield H.json(),{items:$,numOfPages:Z}})()}}I.IterableEndpoint=C;class K extends C{constructor(S,x){super(S,x),this.service=S,this.endpoint=x}count(S={}){var x=this;return f(function*(){let F="/totals";F+=x.getEndpointURL();const B=K.encodeQueryParams(Object.assign({select:"count(InternalID) as count"},S));F=B?F+"?"+B:F;const $=yield x.service.get(F);if(S.group_by){const H={};return $.forEach(Z=>{H[Z[S.group_by||""]]=Z.count}),H}return $&&1==$.length?$[0].count:0})()}get(S){var x=this;return f(function*(){let F=x.getEndpointURL();return F+="/"+S,x.service.get(F)})()}upsert(S){var x=this;return f(function*(){return x.service.post(x.getEndpointURL(),S)})()}batch(S){var x=this;return f(function*(){return x.service.post("/batch"+x.getEndpointURL(),S)})()}export(S){var x=this;return f(function*(){const F={fields:S.fields?S.fields.join(","):void 0,where:S.where,order_by:S.order_by,page:S.page,page_size:S.page_size,include_nested:S.include_nested,full_mode:S.full_mode,include_deleted:S.include_deleted,is_distinct:S.is_distinct};return x.service.post("/export"+x.getEndpointURL(),F)})()}delete(S){var x=this;return f(function*(){let F=x.getEndpointURL();return F+="/"+S,x.service.delete(F).then(B=>B.text()).then(B=>B?JSON.parse(B):"")})()}uuid(S){const x=this.service;let F=this.getEndpointURL();return F+="/uuid/"+S,{get:()=>x.get(F)}}static encodeQueryParams(S){const x=[];return Object.keys(S).forEach(F=>{x.push(F+"="+encodeURIComponent(S[F]))}),x.join("&")}}I.default=K},9212:function(ge,I,_){"use strict";var f=_(8926).default,T=this&&this.__importDefault||function(ae){return ae&&ae.__esModule?ae:{default:ae}};Object.defineProperty(I,"__esModule",{value:!0}),I.AddonEndpoint=void 0;const C=T(_(6023)),K=_(7744),M=_(2430);class S{constructor(se,ee){this.service=se,this.addonUUID=ee}install(se=""){var ee=this;return f(function*(){return se?yield ee.service.post(`/addons/installed_addons/${ee.addonUUID}/install/${se}`):yield ee.service.post(`/addons/installed_addons/${ee.addonUUID}/install`)})()}uninstall(){var se=this;return f(function*(){return yield se.service.post(`/addons/installed_addons/${se.addonUUID}/uninstall`)})()}upgrade(se=""){var ee=this;return f(function*(){return se?yield ee.service.post(`/addons/installed_addons/${ee.addonUUID}/upgrade/${se}`):yield ee.service.post(`/addons/installed_addons/${ee.addonUUID}/upgrade`)})()}downgrade(se){var ee=this;return f(function*(){return yield ee.service.post(`/addons/installed_addons/${ee.addonUUID}/downgrade/${se}`)})()}get(){var se=this;return f(function*(){return yield se.service.get(`/addons/installed_addons/${se.addonUUID}`)})()}}class x extends C.default{constructor(se){super(se,"/addons/installed_addons")}addonUUID(se){return new S(this.service,se)}}class F{constructor(se){this.service=se,this.options={uuid:"",file:"",func:"",version:"",sync:!0,queryString:""}}uuid(se){return this.options.uuid=se,this}file(se){return this.options.file=se,this}func(se){return this.options.func=se,this}sync(){return this.options.sync=!0,this}async(){return this.options.sync=!1,this}get(se={}){var ee=this;return f(function*(){const W=ee.GetAddonApiUrl(se);return yield ee.service.get(W)})()}post(se={},ee){var W=this;return f(function*(){const X=W.GetAddonApiUrl(se);return yield W.service.post(X,ee)})()}GetAddonApiUrl(se={}){let ee="";this.options.sync||(ee="/async");const W="/addons/api"+ee+`/${this.options.uuid}/${this.options.file}/${this.options.func}`,X=C.default.encodeQueryParams(se);return X?W+"?"+X:W}}class B extends C.default{constructor(se){super(se,"/addons/versions")}}class ${constructor(se,ee,W,X){this.service=se,this.baseURL=ee,this.body=W,this.headers=X}uuid(se){var W,ee=this;return{resource:(W=f(function*(X){return yield ee.service.post(`${ee.baseURL}/${se}/${X}`,ee.body,ee.headers)}),function(fe){return W.apply(this,arguments)})}}}class H{constructor(se,ee,W,X){this.service=se,this.baseURL=ee,this.body=W,this.headers=X}uuid(se){var W,ee=this;return{resource:(W=f(function*(X){return yield ee.service.post(`${ee.baseURL}/${se}/${X}`,ee.body,ee.headers)}),function(fe){return W.apply(this,arguments)})}}}class Z extends C.default{constructor(se,ee,W){super(se,`/addons/data/${ee}/${W}`),this.addonUUID=ee,this.tableName=W}upsert(se,ee=!1){var W=this;return f(function*(){let X;return ee&&(X={"x-pepperi-await-indexing":!0}),W.service.post(W.getEndpointURL(),se,X)})()}key(se){var W,ee=this;return{get:(W=f(function*(){return yield ee.service.get(`/addons/data/${ee.addonUUID}/${ee.tableName}/${se}`)}),function(){return W.apply(this,arguments)}),hardDelete:function(){var W=f(function*(X=!1){return yield ee.service.post(`/addons/data/${ee.addonUUID}/${ee.tableName}/${se}/hard_delete`,{Force:X})});return function(){return W.apply(this,arguments)}}()}}}I.AddonEndpoint=class Me extends C.default{constructor(se){var ee,W;super(se,"/addons"),ee=this,this.installedAddons=new x(this.service),this.versions=new B(this.service),this.api=new F(this.service),this.configurations=new K.ConfigurationsEndpoints(this.service,"/addons/configurations"),this.data={schemes:{get:(W=f(function*(X){let fe="/addons/data/schemes";const Ce=C.default.encodeQueryParams(X);return fe=Ce?fe+"?"+Ce:fe,yield ee.service.get(fe)}),function(fe){return W.apply(this,arguments)}),name:W=>{return{get:(X=f(function*(){return yield ee.service.get(`/addons/data/schemes/${W}`)}),function(){return X.apply(this,arguments)})};var X},post:function(){var W=f(function*(X){return yield ee.service.post("/addons/data/schemes",X)});return function(fe){return W.apply(this,arguments)}}()},uuid:W=>({table:X=>new Z(this.service,W,X)}),batch:(W,X)=>new $(this.service,"/addons/data/batch",W,X),distinct_values:(W,X)=>new H(this.service,"/addons/data/distinct_values",W,X),relations:new C.default(this.service,"/addons/data/relations"),import:{uuid:W=>({table:X=>{return{upsert:(fe=f(function*(Ce){return yield ee.service.post(`/addons/data/import/${W}/${X}`,Ce)}),function(me){return fe.apply(this,arguments)})};var fe}}),file:{uuid:W=>({table:X=>{return{upsert:(fe=f(function*(Ce){return yield ee.service.post(`/addons/data/import/file/${W}/${X}`,Ce)}),function(me){return fe.apply(this,arguments)})};var fe}}),recursive:{uuid:W=>({table:X=>{return{upsert:(fe=f(function*(Ce){return yield ee.service.post(`/addons/data/import/file/recursive/${W}/${X}`,Ce)}),function(me){return fe.apply(this,arguments)})};var fe}})}}},export:{file:{uuid:W=>({table:X=>{return{get:(fe=f(function*(Ce){return yield ee.service.post(`/addons/data/export/file/${W}/${X}`,Ce)}),function(me){return fe.apply(this,arguments)})};var fe}}),recursive:{uuid:W=>({table:X=>{return{get:(fe=f(function*(Ce){return yield ee.service.post(`/addons/data/export/file/recursive/${W}/${X}`,Ce)}),function(me){return fe.apply(this,arguments)})};var fe}})}}},mapping:{uuid:W=>({table:X=>{return{upsert:(fe=f(function*(Ce){return yield ee.service.post(`/addons/data/mapping/${W}/${X}`,Ce)}),function(me){return fe.apply(this,arguments)})};var fe}})},search:{uuid:W=>({table:X=>{return{post:(fe=f(function*(Ce){return yield ee.service.post(`/addons/data/search/${W}/${X}`,Ce)}),function(me){return fe.apply(this,arguments)})};var fe}})},multi_get:function(){var W=f(function*(X){return yield ee.service.post("/addons/data/multi_get",X)});return function(fe){return W.apply(this,arguments)}}()},this.index={schemes:{uuid:W=>{return{create:(X=f(function*(fe){return yield ee.service.post(`/addons/index/schemes/${W}/create`,fe)}),function(Ce){return X.apply(this,arguments)}),purge:function(){var X=f(function*(fe){return yield ee.service.post(`/addons/index/schemes/${W}/purge`,fe)});return function(Ce){return X.apply(this,arguments)}}()};var X}},uuid:W=>({resource:X=>{return{create:(fe=f(function*(Ce){return yield ee.service.post(`/addons/index/${W}/${X}`,Ce)}),function(me){return fe.apply(this,arguments)}),key:fe=>{return{get:(Ce=f(function*(){return yield ee.service.get(`/addons/index/${W}/${X}/${fe}`)}),function(){return Ce.apply(this,arguments)})};var Ce},find:function(){var fe=f(function*(Ce){let me=`/addons/index/${W}/${X}`;const _e=C.default.encodeQueryParams(Ce);return me=_e?me+"?"+_e:me,yield ee.service.get(me)});return function(me){return fe.apply(this,arguments)}}()};var fe}}),batch:(W,X)=>new $(this.service,"/addons/index/batch",W,X),distinct_values:(W,X)=>new H(this.service,"/addons/index/distinct_values",W,X),search:W=>({uuid:X=>{return{resource:(fe=f(function*(Ce){return yield ee.service.post(`/addons/index/search/${X}/${Ce}`,W)}),function(me){return fe.apply(this,arguments)})};var fe}}),delete:W=>({uuid:X=>{return{resource:(fe=f(function*(Ce){return yield ee.service.post(`/addons/index/delete/${X}/${Ce}`,W)}),function(me){return fe.apply(this,arguments)})};var fe}}),update:W=>({uuid:X=>{return{resource:(fe=f(function*(Ce){return yield ee.service.post(`/addons/index/update/${X}/${Ce}`,W)}),function(me){return fe.apply(this,arguments)})};var fe}})},this.shared_index={schemes:{uuid:W=>{return{create:(X=f(function*(fe){return yield ee.service.post(`/addons/shared_index/schemes/${W}/create`,fe)}),function(Ce){return X.apply(this,arguments)}),purge:function(){var X=f(function*(fe){return yield ee.service.post(`/addons/shared_index/schemes/${W}/purge`,fe)});return function(Ce){return X.apply(this,arguments)}}()};var X}},index:{index_name:W=>({uuid:X=>({resource:fe=>{return{create:(Ce=f(function*(me){return yield ee.service.post(`/addons/shared_index/index/${W}/${X}/${fe}`,me)}),function(_e){return Ce.apply(this,arguments)}),key:Ce=>{return{get:(me=f(function*(){return yield ee.service.get(`/addons/shared_index/index/${W}/${X}/${fe}/${Ce}`)}),function(){return me.apply(this,arguments)})};var me},find:function(){var Ce=f(function*(me){let _e=`/addons/shared_index/index/${W}/${X}/${fe}`;const Ae=C.default.encodeQueryParams(me);return _e=Ae?_e+"?"+Ae:_e,yield ee.service.get(_e)});return function(_e){return Ce.apply(this,arguments)}}()};var Ce}}),batch:(X,fe)=>new $(this.service,`/addons/shared_index/index/${W}/batch`,X,fe),distinct_values:(X,fe)=>new H(this.service,`/addons/shared_index/index/${W}/distinct_values`,X,fe),search:X=>({uuid:fe=>{return{resource:(Ce=f(function*(me){return yield ee.service.post(`/addons/shared_index/index/${W}/search/${fe}/${me}`,X)}),function(_e){return Ce.apply(this,arguments)})};var Ce}}),delete:X=>({uuid:fe=>{return{resource:(Ce=f(function*(me){return yield ee.service.post(`/addons/shared_index/index/${W}/delete/${fe}/${me}`,X)}),function(_e){return Ce.apply(this,arguments)})};var Ce}}),update:X=>({uuid:fe=>{return{resource:(Ce=f(function*(me){return yield ee.service.post(`/addons/shared_index/index/${W}/update/${fe}/${me}`,X)}),function(_e){return Ce.apply(this,arguments)})};var Ce}})})}},this.pfs={uuid:W=>({schema:X=>{return{key:fe=>{return{get:(Ce=f(function*(){return yield ee.service.get(`/addons/pfs/${W}/${X}/${fe}`)}),function(){return Ce.apply(this,arguments)})};var Ce},find:(fe=f(function*(Ce){let me=`/addons/pfs/${W}/${X}`;return me=`${me}?${C.default.encodeQueryParams(Ce)}`,yield ee.service.get(me)}),function(me){return fe.apply(this,arguments)}),post:function(){var fe=f(function*(Ce){return yield ee.service.post(`/addons/pfs/${W}/${X}`,Ce)});return function(me){return fe.apply(this,arguments)}}()};var fe}}),temporaryFile:function(){var W=f(function*(X){return yield ee.service.post("/addons/pfs/temporary_file",X??{})});return function(fe){return W.apply(this,arguments)}}()},this.jobs={uuid:W=>{return{get:(X=f(function*(){return yield ee.service.get(`/addons/jobs/${W}`)}),function(){return X.apply(this,arguments)})};var X},find:function(){var W=f(function*(X){let fe="/addons/jobs";const Ce=C.default.encodeQueryParams(X);return fe=Ce?fe+"?"+Ce:fe,yield ee.service.get(fe)});return function(fe){return W.apply(this,arguments)}}()},this.crawler={crawl:function(){var W=f(function*(X,fe=1){return yield new M.CrawlerEndpoint(ee.service,"/addons/crawler").crawl(X,fe)});return function(fe){return W.apply(this,arguments)}}(),multi_crawl:function(){var W=f(function*(X,fe=1){return yield new M.MultiCrawlerEndpoint(ee.service,"/addons/crawler").multi_crawl(X,fe)});return function(fe){return W.apply(this,arguments)}}()},this.febula={profile_filters:{find:function(){var W=f(function*(X){let fe="/addons/febula/profile_filters";const Ce=C.default.encodeQueryParams(X);return fe=Ce?fe+"?"+Ce:fe,yield ee.service.get(fe)});return function(fe){return W.apply(this,arguments)}}(),upsert:function(){var W=f(function*(X){return yield ee.service.post("/addons/febula/profile_filters",X)});return function(fe){return W.apply(this,arguments)}}()},filters:{find:function(){var W=f(function*(X){let fe="/addons/febula/filters";const Ce=C.default.encodeQueryParams(X);return fe=Ce?fe+"?"+Ce:fe,yield ee.service.get(fe)});return function(fe){return W.apply(this,arguments)}}(),upsert:function(){var W=f(function*(X){return yield ee.service.post("/addons/febula/filters",X)});return function(fe){return W.apply(this,arguments)}}()}},this.nebulus={rebuild:function(){var W=f(function*(X){return yield ee.service.post("/addons/nebulus/rebuild",X)});return function(fe){return W.apply(this,arguments)}}()}}}},5497:function(ge,I,_){"use strict";var f=_(8926).default,T=this&&this.__importDefault||function(S){return S&&S.__esModule?S:{default:S}};Object.defineProperty(I,"__esModule",{value:!0}),I.AuditLogsEndpoint=void 0;const C=T(_(6023));class K{constructor(x,F){this.service=x,this.uuid=F,this.lines=new C.default(this.service,`/audit_logs/${this.uuid}/lines`)}get(){var x=this;return f(function*(){return yield x.service.get(`/audit_logs/${x.uuid}`)})()}}I.AuditLogsEndpoint=class M extends C.default{constructor(x){super(x,"/audit_logs")}uuid(x){return new K(this.service,x)}}},2167:function(ge,I,_){"use strict";var f=_(8926).default,T=this&&this.__importDefault||function(S){return S&&S.__esModule?S:{default:S}};Object.defineProperty(I,"__esModule",{value:!0}),I.CodeJobsEndpoint=void 0;const C=T(_(6023));class K{constructor(x,F,B){this.service=x,this.uuid=F,this.async=B}find(x=!1){var F=this;return f(function*(){return yield F.get(x)})()}get(x=!1){var F=this;return f(function*(){return yield F.service.get(`/code_jobs/${F.uuid}?include_deleted=${x}`)})()}publish(x){var F=this;return f(function*(){return F.service.post(`/code_jobs/${F.uuid}/publish`,x)})()}execute(){var x=this;return f(function*(){return x.service.post(`/code_jobs/${x.async?"async/":""}${x.uuid}/execute`)})()}}I.CodeJobsEndpoint=class M extends C.default{constructor(x){super(x,"/code_jobs"),this.isAsync=!1}uuid(x){return new K(this.service,x,this.isAsync)}async(){return this.isAsync=!0,this}}},7744:function(ge,I,_){"use strict";var f=_(8926).default,T=this&&this.__importDefault||function(x){return x&&x.__esModule?x:{default:x}};Object.defineProperty(I,"__esModule",{value:!0}),I.ConfigurationsEndpoints=void 0;const C=T(_(6023));class K extends C.default{constructor(F,B){super(F,B),this.url=B}key(F){var $,B=this;return{get:($=f(function*(){return yield B.service.get(`${B.url}/key/${F}`)}),function(){return $.apply(this,arguments)})}}search(F){var B=this;return f(function*(){return yield B.service.post(`${B.url}/search`,F)})()}}I.ConfigurationsEndpoints=class M extends K{constructor(F,B){super(F,B),this.service=F,this.url=B,this.schemes=new K(this.service,this.url+"/schemes")}addonUUID(F){return{scheme:B=>({drafts:new S(this.service,this.url+`/${F}/${B}/drafts`),versions:new K(this.service,this.url+`/${F}/${B}/versions`)})}}};class S extends K{constructor(F,B){super(F,B),this.service=F,this.url=B}key(F){var $,B=this;return{publish:($=f(function*(H){return yield B.service.post(B.url+`/key/${F}/publish`,{Description:H})}),function(Z){return $.apply(this,arguments)}),restore:function(){var $=f(function*(H){return yield B.service.post(B.url+`/key/${F}/restore`,{VersionKey:H})});return function(Z){return $.apply(this,arguments)}}(),get:function(){var $=f(function*(){return yield B.service.get(`${B.url}/key/${F}`)});return function(){return $.apply(this,arguments)}}()}}}},2430:function(ge,I,_){"use strict";var f=_(8926).default,T=this&&this.__importDefault||function(S){return S&&S.__esModule?S:{default:S}};Object.defineProperty(I,"__esModule",{value:!0}),I.MultiCrawlerEndpoint=I.CrawlerEndpoint=void 0;const C=T(_(6023));I.CrawlerEndpoint=class K extends C.default{constructor(x,F){super(x,F),this.url=F}crawl(x,F=1){var B=this;return f(function*(){return yield B.service.post(`${B.url}/crawl?retry=${F}`,x)})()}},I.MultiCrawlerEndpoint=class M extends C.default{constructor(x,F){super(x,F),this.url=F}multi_crawl(x,F=1){var B=this;return f(function*(){return yield B.service.post(`${B.url}/multi_crawl?retry=${F}`,x)})()}}},5931:function(ge,I,_){"use strict";var f=_(8926).default,T=this&&this.__importDefault||function(M){return M&&M.__esModule?M:{default:M}};Object.defineProperty(I,"__esModule",{value:!0}),I.FileStorageEndpoint=void 0;const C=T(_(6023));I.FileStorageEndpoint=class K extends C.default{constructor(S){super(S,"/file_storage")}name(S){var x=this;return f(function*(){return yield x.service.get(`/file_storage/name/${S}`)})()}tmp(){var S=this;return f(function*(){return yield S.service.post("/file_storage/tmp")})()}}},5482:function(ge,I,_){"use strict";var f=_(8926).default,T=this&&this.__importDefault||function(M){return M&&M.__esModule?M:{default:M}};Object.defineProperty(I,"__esModule",{value:!0}),I.GenericResourceEndpoint=void 0;const C=T(_(6023));I.GenericResourceEndpoint=class K{constructor(S,x){var B,F=this;this.service=S,this.baseUrl=x,this.import={data:(B=f(function*($){return yield F.service.post(`${F.baseUrl}/import/data`,$)}),function(H){return B.apply(this,arguments)}),file:()=>({post:function(){var B=f(function*($){return yield F.service.post(`${F.baseUrl}/import/file`,$)});return function(H){return B.apply(this,arguments)}}()})},this.export={file:()=>({post:function(){var B=f(function*($){return yield F.service.post(`${F.baseUrl}/export/file`,$)});return function(H){return B.apply(this,arguments)}}()})}}get(S={}){var x=this;return f(function*(){const F=C.default.encodeQueryParams(S),B=F?x.baseUrl+"?"+F:x.baseUrl;return yield x.service.get(B)})()}post(S){var x=this;return f(function*(){return yield x.service.post(x.baseUrl,S)})()}key(S){var F,x=this;return{get:(F=f(function*(){return yield x.service.get(`${x.baseUrl}/key/${S}`)}),function(){return F.apply(this,arguments)})}}unique(S){var F,x=this;return{get:(F=f(function*(B){return yield x.service.get(`${x.baseUrl}/unique/${S}/${B}`)}),function($){return F.apply(this,arguments)})}}search(S){var x=this;return f(function*(){return yield x.service.post(`${x.baseUrl}/search`,S)})()}}},8728:function(ge,I,_){"use strict";var f=this&&this.__createBinding||(Object.create?function(C,K,M,S){void 0===S&&(S=M),Object.defineProperty(C,S,{enumerable:!0,get:function(){return K[M]}})}:function(C,K,M,S){void 0===S&&(S=M),C[S]=K[M]}),T=this&&this.__exportStar||function(C,K){for(var M in C)"default"!==M&&!K.hasOwnProperty(M)&&f(K,C,M)};Object.defineProperty(I,"__esModule",{value:!0}),T(_(9212),I),T(_(2167),I),T(_(2934),I),T(_(6088),I),T(_(5497),I),T(_(5653),I),T(_(5931),I),T(_(1175),I),T(_(9210),I),T(_(7710),I),T(_(5482),I),T(_(7744),I),T(_(2430),I)},6088:(ge,I,_)=>{"use strict";var f=_(8926).default;Object.defineProperty(I,"__esModule",{value:!0}),I.MaintenanceEndpoint=void 0,I.MaintenanceEndpoint=class T{constructor(K){this.service=K}archive(K){var M=this;return f(function*(){return yield M.service.post("/maintenance/archive",K)})()}}},2934:function(ge,I,_){"use strict";var f=_(8926).default,T=this&&this.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(I,"__esModule",{value:!0}),I.Settings=I.Fields=I.SubTypes=I.Types=I.TypeMetaData=I.DistributorFlagsEndpoint=void 0;const C=T(_(6023));I.DistributorFlagsEndpoint=class K{constructor(H){this.service=H,this.options={name:""}}name(H){return this.options.name=H,this}get(){var H=this;return f(function*(){return yield H.service.get(`/meta_data/flags/${H.options.name}`)})()}},I.TypeMetaData=class M{constructor(H,Z){this.service=H,this.typeObject=Z,this.types=new S(this.service,this.typeObject),this.fields=new F(this.service,this.typeObject)}};class S{constructor(H,Z){this.service=H,this.typeName=Z,this.fields=new F(this.service,this.typeName)}subtype(H){return new x(this.service,this.typeName,H)}get(){var H=this;return f(function*(){const Z=`/meta_data/${H.typeName}/types`;return yield H.service.get(Z)})()}}I.Types=S;class x{constructor(H,Z,Me){this.service=H,this.typeName=Z,this.subtype=Me,this.fields=new F(this.service,this.typeName,this.subtype),this.settings=new B(this.service,this.typeName,this.subtype)}get(){var H=this;return f(function*(){const Z=`/meta_data/${H.typeName}/types/${H.subtype}`;return yield H.service.get(Z)})()}addons(){var H=this;return f(function*(){const Z=`/meta_data/${H.typeName}/types/${H.subtype}/addons`;return yield H.service.get(Z)})()}}I.SubTypes=x;class F{constructor(H,Z,Me){this.service=H,this.type=Z,this.subtypeid=Me}get(H={include_owned:!0,include_internal:!1}){var Z=this;return f(function*(){let Me=Z.createUrl();if("string"==typeof H)H&&(Me=`${Me}/${H}`);else if("object"==typeof H){const ae=C.default.encodeQueryParams(H);Me=ae?Me+"?"+ae:Me}return yield Z.service.get(Me)})()}upsert(H){var Z=this;return f(function*(){const Me=Z.createUrl();return yield Z.service.post(Me,H)})()}delete(H){var Z=this;return f(function*(){let Me=Z.createUrl();return Me=`${Me}/${H}`,yield Z.service.delete(Me).then(ae=>ae.text()).then(ae=>ae?JSON.parse(ae):"")})()}createUrl(){let H=`/meta_data/${this.type}`;return this.subtypeid&&(H=`${H}/types/${this.subtypeid}`),`${H}/fields`}}I.Fields=F;class B{constructor(H,Z,Me){this.service=H,this.type=Z,this.subtypeid=Me}get(){var H=this;return f(function*(){const Z=`/meta_data/${H.type}/types/${H.subtypeid}/settings`;return yield H.service.get(Z)})()}update(H){var Z=this;return f(function*(){const Me=`/meta_data/${Z.type}/types/${Z.subtypeid}/settings`;return yield Z.service.post(Me,H)})()}}I.Settings=B},1175:function(ge,I,_){"use strict";var f=_(8926).default,T=this&&this.__importDefault||function(M){return M&&M.__esModule?M:{default:M}};Object.defineProperty(I,"__esModule",{value:!0}),I.NotificationEndpoint=void 0;const C=T(_(6023));I.NotificationEndpoint=class K{constructor(S){this.service=S,this.subscriptions=new C.default(this.service,"/notification/subscriptions")}publish(S){var x=this;return f(function*(){return yield x.service.post("/notification/publish",S)})()}}},5653:(ge,I,_)=>{"use strict";var f=_(8926).default;Object.defineProperty(I,"__esModule",{value:!0}),I.SyncEndpoint=void 0,I.SyncEndpoint=class T{constructor(K){this.service=K}post(K){var M=this;return f(function*(){return yield M.service.post("/application/sync",K)})()}jobInfo(K){var M=this;return f(function*(){const S=`/application/sync/jobinfo/${K}`;return yield M.service.get(S)})()}data(K){var M=this;return f(function*(){const S=`/application/sync/data/${K}`;return yield M.service.get(S)})()}}},9210:function(ge,I,_){"use strict";var f=_(8926).default,T=this&&this.__importDefault||function(M){return M&&M.__esModule?M:{default:M}};Object.defineProperty(I,"__esModule",{value:!0}),I.SchemesEndpoint=void 0;const C=T(_(6023));I.SchemesEndpoint=class K extends C.default{constructor(S){super(S,"/user_defined_collections/schemes"),this.service=S}name(S){var F,x=this;return{get:(F=f(function*(){return yield x.service.get(`/user_defined_collections/schemes/${S}`)}),function(){return F.apply(this,arguments)})}}}},7710:function(ge,I,_){"use strict";var f=_(8926).default,T=this&&this.__importDefault||function(S){return S&&S.__esModule?S:{default:S}};Object.defineProperty(I,"__esModule",{value:!0}),I.FlowsEndpoint=void 0;const C=T(_(6023)),K="/user_defined_flows";I.FlowsEndpoint=class M extends C.default{constructor(x){super(x,K),this.service=x}key(x){var B,F=this;return{get:(B=f(function*(){return yield F.service.get(`${K}/key/${x}`)}),function(){return B.apply(this,arguments)})}}search(x){var F=this;return f(function*(){return yield F.service.post(`${K}/search`,x)})()}}},4952:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},8881:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},7665:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.SchemeFieldTypes=void 0,I.SchemeFieldTypes=["String","MultipleStringValues","Bool","Integer","Double","Object","Array","DateTime","Resource","ContainedResource","DynamicResource","ContainedDynamicResource"]},5484:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},9008:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},9759:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},1095:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},1411:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},3533:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},5694:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},6274:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},4775:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},8757:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},2443:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},6692:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},4333:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},5460:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},6538:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},7822:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},9400:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.DataViewRowModes=I.HorizontalAlignments=I.VerticalAlignments=I.ResoursePrefixes=I.ResourceTypes=I.DataViewFieldTypes=I.DataViewScreenSizes=I.DataViewTypes=void 0,I.DataViewTypes=["Grid","Form","Card","Large","Line","Map","Menu","Configuration","CardsGrid","Details"],I.DataViewScreenSizes=["Tablet","Phablet","Landscape"],I.DataViewFieldTypes={None:0,TextBox:1,LimitedLengthTextBox:2,TextArea:3,TextHeader:4,Date:5,DateAndTime:6,NumberInteger:7,NumberReal:8,Currency:9,Boolean:10,ComboBox:11,MultiTickBox:12,Separator:13,Address:14,Percentage:15,EmptyComboBox:16,InternalLink:17,Email:18,LimitedDate:19,Image:20,MultiTickBoxToComboBox:21,EmptyMultiTickBox:22,Totals:23,Attachment:24,Signature:25,Link:26,ImageURL:27,NumberIntegerQuantitySelector:28,NumberRealQuantitySelector:29,NumberIntegerForMatrix:30,NumberRealForMatrix:31,Images:32,Indicators:33,CalculatedReal:34,CalculatedInt:35,CalculatedString:36,CalculatedDate:37,CalculatedBool:38,MapDataDropDown:39,MapDataReal:40,MapDataString:41,MapDataInt:42,Sum:43,Phone:44,UrlForApi:45,ManyToManyUrlForApi:46,ReferenceType:47,GuidReferenceType:48,Button:49,UIControlFieldType_InternalPage:50,Duration:51,ListOfObjects:52,Package:53,RelatedObjectsCards:54,BooleanText:55,RichTextHTML:56},I.ResourceTypes=["None","accounts","transactions","activities","all_activities","items","users","transaction_lines","contacts","lists","catalogs","types"],I.ResoursePrefixes=["GA","OA","CP","AT","GL","CA"],I.VerticalAlignments={Stretch:0,Top:1,Bottom:2,Center:3},I.HorizontalAlignments={Stretch:0,Left:1,Right:2,Center:3},I.DataViewRowModes={Fixed:0,MatchParent:1}},1170:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},4409:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},9278:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},2488:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},4668:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},9900:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},8768:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},8842:function(ge,I,_){"use strict";var f=this&&this.__createBinding||(Object.create?function(K,M,S,x){void 0===x&&(x=S),Object.defineProperty(K,x,{enumerable:!0,get:function(){return M[S]}})}:function(K,M,S,x){void 0===x&&(x=S),K[x]=M[S]}),T=this&&this.__exportStar||function(K,M){for(var S in K)"default"!==S&&!M.hasOwnProperty(S)&&f(M,K,S)};Object.defineProperty(I,"__esModule",{value:!0}),I.Entities=void 0,T(_(741),I),T(_(8679),I),T(_(5145),I),T(_(4666),I),T(_(541),I),T(_(8768),I),T(_(2488),I),T(_(7665),I),T(_(9278),I),T(_(6261),I),T(_(4952),I),T(_(1674),I),T(_(5694),I),T(_(8757),I),T(_(8478),I),T(_(6274),I),T(_(8881),I),T(_(4860),I),T(_(9400),I),T(_(2088),I),T(_(3242),I),T(_(1095),I),T(_(5614),I),T(_(1170),I),T(_(4668),I),T(_(9759),I),T(_(3685),I),T(_(9008),I),T(_(1411),I),T(_(7139),I),T(_(4775),I),T(_(6538),I),T(_(7822),I),T(_(4409),I),T(_(5484),I),T(_(9900),I),T(_(2725),I),T(_(3533),I),T(_(6927),I),T(_(9876),I),T(_(2443),I),T(_(6692),I),T(_(9247),I),T(_(5231),I),T(_(6745),I),T(_(4333),I),T(_(5460),I),I.Entities=class C{}},5145:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},5614:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},4860:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},8478:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},4666:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.SplitTypes=I.PageSizeTypes=void 0,I.PageSizeTypes=["none","sm","md","lg"],I.SplitTypes=["1/4 3/4","1/3 2/3","1/2 1/2","2/3 1/3","3/4 1/4","1/3 1/3 1/3","1/2 1/4 1/4","1/4 1/2 1/4","1/4 1/4 1/2","1/4 1/4 1/4 1/4"]},7139:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},5231:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},6745:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},1674:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},3685:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},6261:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},3242:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},8679:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},2725:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},541:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},2088:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.UIControlViewTypes=void 0,I.UIControlViewTypes={None:0,Grid:1,Cards:2,Detailed:3,Line:4,CardsGrid:5,Map:6,Menu:7,Configuration:8}},6927:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},9876:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},741:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0})},9247:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.DocumentKeyTypes=void 0,I.DocumentKeyTypes=["AutoGenerate","Composite","Key"]},5527:(ge,I)=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.Helper=void 0,I.Helper=class _{normalizeHeaders(T){const C={};for(const K in T)C[K.toLowerCase()]=T[K];return C}}},3738:function(ge,I,_){"use strict";var f=this&&this.__createBinding||(Object.create?function(C,K,M,S){void 0===S&&(S=M),Object.defineProperty(C,S,{enumerable:!0,get:function(){return K[M]}})}:function(C,K,M,S){void 0===S&&(S=M),C[S]=K[M]}),T=this&&this.__exportStar||function(C,K){for(var M in C)"default"!==M&&!K.hasOwnProperty(M)&&f(K,C,M)};Object.defineProperty(I,"__esModule",{value:!0}),T(_(8842),I),T(_(6786),I),T(_(5527),I)},6786:function(ge,I,_){"use strict";var f=_(8926).default,T=this&&this.__createBinding||(Object.create?function(B,$,H,Z){void 0===Z&&(Z=H),Object.defineProperty(B,Z,{enumerable:!0,get:function(){return $[H]}})}:function(B,$,H,Z){void 0===Z&&(Z=H),B[Z]=$[H]}),C=this&&this.__setModuleDefault||(Object.create?function(B,$){Object.defineProperty(B,"default",{enumerable:!0,value:$})}:function(B,$){B.default=$}),K=this&&this.__importStar||function(B){if(B&&B.__esModule)return B;var $={};if(null!=B)for(var H in B)Object.hasOwnProperty.call(B,H)&&T($,B,H);return C($,B),$};Object.defineProperty(I,"__esModule",{value:!0}),I.PapiClient=void 0;const M=K(_(6023)),S=_(8728),x=_(911);I.PapiClient=class F{constructor($){this.options=$,this.metaData={userDefinedTables:new M.default(this,"/meta_data/user_defined_tables"),flags:new S.DistributorFlagsEndpoint(this),type:H=>new S.TypeMetaData(this,H),dataViews:new M.default(this,"/meta_data/data_views"),pepperiObjects:new M.default(this,"/meta_data/pepperiObjects")},this.userDefinedTables=new M.default(this,"/user_defined_tables"),this.addons=new S.AddonEndpoint(this),this.codeJobs=new S.CodeJobsEndpoint(this),this.activities=new M.default(this,"/activities"),this.transactions=new M.default(this,"/transactions"),this.allActivities=new M.default(this,"/all_activities"),this.accounts=new M.default(this,"/accounts"),this.users=new M.default(this,"/users"),this.uiControls=new M.default(this,"/uicontrols"),this.profiles=new M.default(this,"/profiles"),this.fileStorage=new S.FileStorageEndpoint(this),this.maintenance=new S.MaintenanceEndpoint(this),this.auditLogs=new S.AuditLogsEndpoint(this),this.types=new M.IterableEndpoint(this,"/types"),this.catalogs=new M.default(this,"/catalogs"),this.application={sync:new S.SyncEndpoint(this)},this.items=new M.default(this,"/items"),this.transactionLines=new M.default(this,"/transaction_lines"),this.contacts=new M.default(this,"/contacts"),this.images=new M.default(this,"/images"),this.notification=new S.NotificationEndpoint(this),this.pages=new M.default(this,"/pages"),this.userDefinedCollections={schemes:new S.SchemesEndpoint(this),documents:H=>new M.default(this,`/user_defined_collections/${H}`)},this.resources={resource:H=>new S.GenericResourceEndpoint(this,`/resources/${H}`)},this.userDefinedFlows=new S.FlowsEndpoint(this),this.policies=new M.default(this,"/policies"),this.policyProfiles=new M.default(this,"/policy_profiles")}get($){var H=this;return f(function*(){return H.apiCall("GET",$).then(Z=>Z.text()).then(Z=>Z?JSON.parse(Z):"")})()}post($,H,Z){var Me=this;return f(function*(){return Me.apiCall("POST",$,H,Z).then(ae=>ae.text()).then(ae=>ae?JSON.parse(ae):"")})()}delete($){var H=this;return f(function*(){return H.apiCall("DELETE",$)})()}apiCall($,H,Z,Me){var ae=this;return f(function*(){const se=ae.options.baseURL+H,ee={method:$,headers:Object.assign({authorization:"Bearer "+ae.options.token},Me)};Z&&(ee.body=JSON.stringify(Z)),ae.options.addonUUID&&(ee.headers["X-Pepperi-OwnerID"]=ae.options.addonUUID),ae.options.addonSecretKey&&(ee.headers["X-Pepperi-SecretKey"]=ae.options.addonSecretKey),ae.options.actionUUID&&(ee.headers["X-Pepperi-ActionID"]=ae.options.actionUUID),ae.options.codeJobUUID&&(ee.headers["X-Pepperi-CodeJobID"]=ae.options.codeJobUUID);const W=x.getPerformance(),X=W?.now(),fe=yield x.papi_fetch(se,ee),Ce=W?.now();if(!ae.options.suppressLogging){const me=X&&Ce?(Ce-X).toFixed(2):0;console.log($,se,"took",me,"milliseconds")}if(!fe.ok){let me="";try{me=JSON.stringify(yield fe.json())}catch{}throw new Error(`${se} failed with status: ${fe.status} - ${fe.statusText} error: ${me}`)}return fe})()}}},911:function(ge,I,_){"use strict";var f=this&&this.__importDefault||function(K){return K&&K.__esModule?K:{default:K}};Object.defineProperty(I,"__esModule",{value:!0}),I.papi_fetch=I.getPerformance=void 0;const T=f(_(9637));I.getPerformance=function C(){var K;try{if(null!=global)return null===(K=_(Object(function(){var S=new Error("Cannot find module 'perf_hooks'");throw S.code="MODULE_NOT_FOUND",S}())))||void 0===K?void 0:K.performance}catch{}try{if(null!=window)return window?.performance}catch{}},I.papi_fetch=typeof window<"u"?window.fetch.bind(window):T.default},9637:(ge,I)=>{"use strict";var f=function(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}();ge.exports=I=f.fetch,f.fetch&&(I.default=f.fetch.bind(f)),I.Headers=f.Headers,I.Request=f.Request,I.Response=f.Response},1135:(ge,I,_)=>{"use strict";_.d(I,{X:()=>T});var f=_(7579);class T extends f.x{constructor(K){super(),this._value=K}get value(){return this.getValue()}_subscribe(K){const M=super._subscribe(K);return!M.closed&&K.next(this._value),M}getValue(){const{hasError:K,thrownError:M,_value:S}=this;if(K)throw M;return this._throwIfClosed(),S}next(K){super.next(this._value=K)}}},8306:(ge,I,_)=>{"use strict";_.d(I,{y:()=>$});var f=_(930),T=_(727),C=_(8822),K=_(4671);var x=_(2416),F=_(576),B=_(2806);let $=(()=>{class ae{constructor(ee){ee&&(this._subscribe=ee)}lift(ee){const W=new ae;return W.source=this,W.operator=ee,W}subscribe(ee,W,X){const fe=function Me(ae){return ae&&ae instanceof f.Lv||function Z(ae){return ae&&(0,F.m)(ae.next)&&(0,F.m)(ae.error)&&(0,F.m)(ae.complete)}(ae)&&(0,T.Nn)(ae)}(ee)?ee:new f.Hp(ee,W,X);return(0,B.x)(()=>{const{operator:Ce,source:me}=this;fe.add(Ce?Ce.call(fe,me):me?this._subscribe(fe):this._trySubscribe(fe))}),fe}_trySubscribe(ee){try{return this._subscribe(ee)}catch(W){ee.error(W)}}forEach(ee,W){return new(W=H(W))((X,fe)=>{const Ce=new f.Hp({next:me=>{try{ee(me)}catch(_e){fe(_e),Ce.unsubscribe()}},error:fe,complete:X});this.subscribe(Ce)})}_subscribe(ee){var W;return null===(W=this.source)||void 0===W?void 0:W.subscribe(ee)}[C.L](){return this}pipe(...ee){return function S(ae){return 0===ae.length?K.y:1===ae.length?ae[0]:function(ee){return ae.reduce((W,X)=>X(W),ee)}}(ee)(this)}toPromise(ee){return new(ee=H(ee))((W,X)=>{let fe;this.subscribe(Ce=>fe=Ce,Ce=>X(Ce),()=>W(fe))})}}return ae.create=se=>new ae(se),ae})();function H(ae){var se;return null!==(se=ae??x.v.Promise)&&void 0!==se?se:Promise}},4707:(ge,I,_)=>{"use strict";_.d(I,{t:()=>C});var f=_(7579),T=_(6063);class C extends f.x{constructor(M=1/0,S=1/0,x=T.l){super(),this._bufferSize=M,this._windowTime=S,this._timestampProvider=x,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=S===1/0,this._bufferSize=Math.max(1,M),this._windowTime=Math.max(1,S)}next(M){const{isStopped:S,_buffer:x,_infiniteTimeWindow:F,_timestampProvider:B,_windowTime:$}=this;S||(x.push(M),!F&&x.push(B.now()+$)),this._trimBuffer(),super.next(M)}_subscribe(M){this._throwIfClosed(),this._trimBuffer();const S=this._innerSubscribe(M),{_infiniteTimeWindow:x,_buffer:F}=this,B=F.slice();for(let $=0;$<B.length&&!M.closed;$+=x?1:2)M.next(B[$]);return this._checkFinalizedStatuses(M),S}_trimBuffer(){const{_bufferSize:M,_timestampProvider:S,_buffer:x,_infiniteTimeWindow:F}=this,B=(F?1:2)*M;if(M<1/0&&B<x.length&&x.splice(0,x.length-B),!F){const $=S.now();let H=0;for(let Z=1;Z<x.length&&x[Z]<=$;Z+=2)H=Z;H&&x.splice(0,H+1)}}}},7579:(ge,I,_)=>{"use strict";_.d(I,{x:()=>x});var f=_(8306),T=_(727);const K=(0,_(3888).d)(B=>function(){B(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var M=_(8737),S=_(2806);let x=(()=>{class B extends f.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(H){const Z=new F(this,this);return Z.operator=H,Z}_throwIfClosed(){if(this.closed)throw new K}next(H){(0,S.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const Z of this.currentObservers)Z.next(H)}})}error(H){(0,S.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=H;const{observers:Z}=this;for(;Z.length;)Z.shift().error(H)}})}complete(){(0,S.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:H}=this;for(;H.length;)H.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var H;return(null===(H=this.observers)||void 0===H?void 0:H.length)>0}_trySubscribe(H){return this._throwIfClosed(),super._trySubscribe(H)}_subscribe(H){return this._throwIfClosed(),this._checkFinalizedStatuses(H),this._innerSubscribe(H)}_innerSubscribe(H){const{hasError:Z,isStopped:Me,observers:ae}=this;return Z||Me?T.Lc:(this.currentObservers=null,ae.push(H),new T.w0(()=>{this.currentObservers=null,(0,M.P)(ae,H)}))}_checkFinalizedStatuses(H){const{hasError:Z,thrownError:Me,isStopped:ae}=this;Z?H.error(Me):ae&&H.complete()}asObservable(){const H=new f.y;return H.source=this,H}}return B.create=($,H)=>new F($,H),B})();class F extends x{constructor($,H){super(),this.destination=$,this.source=H}next($){var H,Z;null===(Z=null===(H=this.destination)||void 0===H?void 0:H.next)||void 0===Z||Z.call(H,$)}error($){var H,Z;null===(Z=null===(H=this.destination)||void 0===H?void 0:H.error)||void 0===Z||Z.call(H,$)}complete(){var $,H;null===(H=null===($=this.destination)||void 0===$?void 0:$.complete)||void 0===H||H.call($)}_subscribe($){var H,Z;return null!==(Z=null===(H=this.source)||void 0===H?void 0:H.subscribe($))&&void 0!==Z?Z:T.Lc}}},930:(ge,I,_)=>{"use strict";_.d(I,{Hp:()=>ee,Lv:()=>Z});var f=_(576),T=_(727),C=_(2416),K=_(7849),M=_(5032);const S=B("C",void 0,void 0);function B(me,_e,Ae){return{kind:me,value:_e,error:Ae}}var $=_(3410),H=_(2806);class Z extends T.w0{constructor(_e){super(),this.isStopped=!1,_e?(this.destination=_e,(0,T.Nn)(_e)&&_e.add(this)):this.destination=Ce}static create(_e,Ae,rt){return new ee(_e,Ae,rt)}next(_e){this.isStopped?fe(function F(me){return B("N",me,void 0)}(_e),this):this._next(_e)}error(_e){this.isStopped?fe(function x(me){return B("E",void 0,me)}(_e),this):(this.isStopped=!0,this._error(_e))}complete(){this.isStopped?fe(S,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(_e){this.destination.next(_e)}_error(_e){try{this.destination.error(_e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Me=Function.prototype.bind;function ae(me,_e){return Me.call(me,_e)}class se{constructor(_e){this.partialObserver=_e}next(_e){const{partialObserver:Ae}=this;if(Ae.next)try{Ae.next(_e)}catch(rt){W(rt)}}error(_e){const{partialObserver:Ae}=this;if(Ae.error)try{Ae.error(_e)}catch(rt){W(rt)}else W(_e)}complete(){const{partialObserver:_e}=this;if(_e.complete)try{_e.complete()}catch(Ae){W(Ae)}}}class ee extends Z{constructor(_e,Ae,rt){let je;if(super(),(0,f.m)(_e)||!_e)je={next:_e??void 0,error:Ae??void 0,complete:rt??void 0};else{let Ne;this&&C.v.useDeprecatedNextContext?(Ne=Object.create(_e),Ne.unsubscribe=()=>this.unsubscribe(),je={next:_e.next&&ae(_e.next,Ne),error:_e.error&&ae(_e.error,Ne),complete:_e.complete&&ae(_e.complete,Ne)}):je=_e}this.destination=new se(je)}}function W(me){C.v.useDeprecatedSynchronousErrorHandling?(0,H.O)(me):(0,K.h)(me)}function fe(me,_e){const{onStoppedNotification:Ae}=C.v;Ae&&$.z.setTimeout(()=>Ae(me,_e))}const Ce={closed:!0,next:M.Z,error:function X(me){throw me},complete:M.Z}},727:(ge,I,_)=>{"use strict";_.d(I,{Lc:()=>S,w0:()=>M,Nn:()=>x});var f=_(576);const C=(0,_(3888).d)(B=>function(H){B(this),this.message=H?`${H.length} errors occurred during unsubscription:\n${H.map((Z,Me)=>`${Me+1}) ${Z.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=H});var K=_(8737);class M{constructor($){this.initialTeardown=$,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let $;if(!this.closed){this.closed=!0;const{_parentage:H}=this;if(H)if(this._parentage=null,Array.isArray(H))for(const ae of H)ae.remove(this);else H.remove(this);const{initialTeardown:Z}=this;if((0,f.m)(Z))try{Z()}catch(ae){$=ae instanceof C?ae.errors:[ae]}const{_finalizers:Me}=this;if(Me){this._finalizers=null;for(const ae of Me)try{F(ae)}catch(se){$=$??[],se instanceof C?$=[...$,...se.errors]:$.push(se)}}if($)throw new C($)}}add($){var H;if($&&$!==this)if(this.closed)F($);else{if($ instanceof M){if($.closed||$._hasParent(this))return;$._addParent(this)}(this._finalizers=null!==(H=this._finalizers)&&void 0!==H?H:[]).push($)}}_hasParent($){const{_parentage:H}=this;return H===$||Array.isArray(H)&&H.includes($)}_addParent($){const{_parentage:H}=this;this._parentage=Array.isArray(H)?(H.push($),H):H?[H,$]:$}_removeParent($){const{_parentage:H}=this;H===$?this._parentage=null:Array.isArray(H)&&(0,K.P)(H,$)}remove($){const{_finalizers:H}=this;H&&(0,K.P)(H,$),$ instanceof M&&$._removeParent(this)}}M.EMPTY=(()=>{const B=new M;return B.closed=!0,B})();const S=M.EMPTY;function x(B){return B instanceof M||B&&"closed"in B&&(0,f.m)(B.remove)&&(0,f.m)(B.add)&&(0,f.m)(B.unsubscribe)}function F(B){(0,f.m)(B)?B():B.unsubscribe()}},2416:(ge,I,_)=>{"use strict";_.d(I,{v:()=>f});const f={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9841:(ge,I,_)=>{"use strict";_.d(I,{a:()=>$});var f=_(8306),T=_(4742),C=_(2076),K=_(4671),M=_(3268),S=_(3269),x=_(1810),F=_(5403),B=_(9672);function $(...Me){const ae=(0,S.yG)(Me),se=(0,S.jO)(Me),{args:ee,keys:W}=(0,T.D)(Me);if(0===ee.length)return(0,C.D)([],ae);const X=new f.y(function H(Me,ae,se=K.y){return ee=>{Z(ae,()=>{const{length:W}=Me,X=new Array(W);let fe=W,Ce=W;for(let me=0;me<W;me++)Z(ae,()=>{const _e=(0,C.D)(Me[me],ae);let Ae=!1;_e.subscribe((0,F.x)(ee,rt=>{X[me]=rt,Ae||(Ae=!0,Ce--),Ce||ee.next(se(X.slice()))},()=>{--fe||ee.complete()}))},ee)},ee)}}(ee,ae,W?fe=>(0,x.n)(W,fe):K.y));return se?X.pipe((0,M.Z)(se)):X}function Z(Me,ae,se){Me?(0,B.f)(se,Me,ae):ae()}},7272:(ge,I,_)=>{"use strict";_.d(I,{z:()=>M});var f=_(8189),C=_(3269),K=_(2076);function M(...S){return function T(){return(0,f.J)(1)}()((0,K.D)(S,(0,C.yG)(S)))}},9770:(ge,I,_)=>{"use strict";_.d(I,{P:()=>C});var f=_(8306),T=_(8421);function C(K){return new f.y(M=>{(0,T.Xf)(K()).subscribe(M)})}},515:(ge,I,_)=>{"use strict";_.d(I,{E:()=>T});const T=new(_(8306).y)(M=>M.complete())},4128:(ge,I,_)=>{"use strict";_.d(I,{D:()=>F});var f=_(8306),T=_(4742),C=_(8421),K=_(3269),M=_(5403),S=_(3268),x=_(1810);function F(...B){const $=(0,K.jO)(B),{args:H,keys:Z}=(0,T.D)(B),Me=new f.y(ae=>{const{length:se}=H;if(!se)return void ae.complete();const ee=new Array(se);let W=se,X=se;for(let fe=0;fe<se;fe++){let Ce=!1;(0,C.Xf)(H[fe]).subscribe((0,M.x)(ae,me=>{Ce||(Ce=!0,X--),ee[fe]=me},()=>W--,void 0,()=>{(!W||!Ce)&&(X||ae.next(Z?(0,x.n)(Z,ee):ee),ae.complete())}))}});return $?Me.pipe((0,S.Z)($)):Me}},2076:(ge,I,_)=>{"use strict";_.d(I,{D:()=>rt});var f=_(8421),T=_(9672),C=_(4482),K=_(5403);function M(je,Ne=0){return(0,C.e)((Ye,Ze)=>{Ye.subscribe((0,K.x)(Ze,et=>(0,T.f)(Ze,je,()=>Ze.next(et),Ne),()=>(0,T.f)(Ze,je,()=>Ze.complete(),Ne),et=>(0,T.f)(Ze,je,()=>Ze.error(et),Ne)))})}function S(je,Ne=0){return(0,C.e)((Ye,Ze)=>{Ze.add(je.schedule(()=>Ye.subscribe(Ze),Ne))})}var B=_(8306),H=_(2202),Z=_(576);function ae(je,Ne){if(!je)throw new Error("Iterable cannot be null");return new B.y(Ye=>{(0,T.f)(Ye,Ne,()=>{const Ze=je[Symbol.asyncIterator]();(0,T.f)(Ye,Ne,()=>{Ze.next().then(et=>{et.done?Ye.complete():Ye.next(et.value)})},0,!0)})})}var se=_(3670),ee=_(8239),W=_(1144),X=_(6495),fe=_(2206),Ce=_(4532),me=_(3260);function rt(je,Ne){return Ne?function Ae(je,Ne){if(null!=je){if((0,se.c)(je))return function x(je,Ne){return(0,f.Xf)(je).pipe(S(Ne),M(Ne))}(je,Ne);if((0,W.z)(je))return function $(je,Ne){return new B.y(Ye=>{let Ze=0;return Ne.schedule(function(){Ze===je.length?Ye.complete():(Ye.next(je[Ze++]),Ye.closed||this.schedule())})})}(je,Ne);if((0,ee.t)(je))return function F(je,Ne){return(0,f.Xf)(je).pipe(S(Ne),M(Ne))}(je,Ne);if((0,fe.D)(je))return ae(je,Ne);if((0,X.T)(je))return function Me(je,Ne){return new B.y(Ye=>{let Ze;return(0,T.f)(Ye,Ne,()=>{Ze=je[H.h](),(0,T.f)(Ye,Ne,()=>{let et,tt;try{({value:et,done:tt}=Ze.next())}catch(ut){return void Ye.error(ut)}tt?Ye.complete():Ye.next(et)},0,!0)}),()=>(0,Z.m)(Ze?.return)&&Ze.return()})}(je,Ne);if((0,me.L)(je))return function _e(je,Ne){return ae((0,me.Q)(je),Ne)}(je,Ne)}throw(0,Ce.z)(je)}(je,Ne):(0,f.Xf)(je)}},8421:(ge,I,_)=>{"use strict";_.d(I,{Xf:()=>Me});var f=_(7582),T=_(1144),C=_(8239),K=_(8306),M=_(3670),S=_(2206),x=_(4532),F=_(6495),B=_(3260),$=_(576),H=_(7849),Z=_(8822);function Me(me){if(me instanceof K.y)return me;if(null!=me){if((0,M.c)(me))return function ae(me){return new K.y(_e=>{const Ae=me[Z.L]();if((0,$.m)(Ae.subscribe))return Ae.subscribe(_e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(me);if((0,T.z)(me))return function se(me){return new K.y(_e=>{for(let Ae=0;Ae<me.length&&!_e.closed;Ae++)_e.next(me[Ae]);_e.complete()})}(me);if((0,C.t)(me))return function ee(me){return new K.y(_e=>{me.then(Ae=>{_e.closed||(_e.next(Ae),_e.complete())},Ae=>_e.error(Ae)).then(null,H.h)})}(me);if((0,S.D)(me))return X(me);if((0,F.T)(me))return function W(me){return new K.y(_e=>{for(const Ae of me)if(_e.next(Ae),_e.closed)return;_e.complete()})}(me);if((0,B.L)(me))return function fe(me){return X((0,B.Q)(me))}(me)}throw(0,x.z)(me)}function X(me){return new K.y(_e=>{(function Ce(me,_e){var Ae,rt,je,Ne;return(0,f.mG)(this,void 0,void 0,function*(){try{for(Ae=(0,f.KL)(me);!(rt=yield Ae.next()).done;)if(_e.next(rt.value),_e.closed)return}catch(Ye){je={error:Ye}}finally{try{rt&&!rt.done&&(Ne=Ae.return)&&(yield Ne.call(Ae))}finally{if(je)throw je.error}}_e.complete()})})(me,_e).catch(Ae=>_e.error(Ae))})}},6451:(ge,I,_)=>{"use strict";_.d(I,{T:()=>S});var f=_(8189),T=_(8421),C=_(515),K=_(3269),M=_(2076);function S(...x){const F=(0,K.yG)(x),B=(0,K._6)(x,1/0),$=x;return $.length?1===$.length?(0,T.Xf)($[0]):(0,f.J)(B)((0,M.D)($,F)):C.E}},9646:(ge,I,_)=>{"use strict";_.d(I,{of:()=>C});var f=_(3269),T=_(2076);function C(...K){const M=(0,f.yG)(K);return(0,T.D)(K,M)}},2843:(ge,I,_)=>{"use strict";_.d(I,{_:()=>C});var f=_(8306),T=_(576);function C(K,M){const S=(0,T.m)(K)?K:()=>K,x=F=>F.error(S());return new f.y(M?F=>M.schedule(x,0,F):x)}},5403:(ge,I,_)=>{"use strict";_.d(I,{x:()=>T});var f=_(930);function T(K,M,S,x,F){return new C(K,M,S,x,F)}class C extends f.Lv{constructor(M,S,x,F,B,$){super(M),this.onFinalize=B,this.shouldUnsubscribe=$,this._next=S?function(H){try{S(H)}catch(Z){M.error(Z)}}:super._next,this._error=F?function(H){try{F(H)}catch(Z){M.error(Z)}finally{this.unsubscribe()}}:super._error,this._complete=x?function(){try{x()}catch(H){M.error(H)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var M;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:S}=this;super.unsubscribe(),!S&&(null===(M=this.onFinalize)||void 0===M||M.call(this))}}}},262:(ge,I,_)=>{"use strict";_.d(I,{K:()=>K});var f=_(8421),T=_(5403),C=_(4482);function K(M){return(0,C.e)((S,x)=>{let $,F=null,B=!1;F=S.subscribe((0,T.x)(x,void 0,void 0,H=>{$=(0,f.Xf)(M(H,K(M)(S))),F?(F.unsubscribe(),F=null,$.subscribe(x)):B=!0})),B&&(F.unsubscribe(),F=null,$.subscribe(x))})}},4351:(ge,I,_)=>{"use strict";_.d(I,{b:()=>C});var f=_(5577),T=_(576);function C(K,M){return(0,T.m)(M)?(0,f.z)(K,M,1):(0,f.z)(K,1)}},8372:(ge,I,_)=>{"use strict";_.d(I,{b:()=>K});var f=_(4986),T=_(4482),C=_(5403);function K(M,S=f.z){return(0,T.e)((x,F)=>{let B=null,$=null,H=null;const Z=()=>{if(B){B.unsubscribe(),B=null;const ae=$;$=null,F.next(ae)}};function Me(){const ae=H+M,se=S.now();if(se<ae)return B=this.schedule(void 0,ae-se),void F.add(B);Z()}x.subscribe((0,C.x)(F,ae=>{$=ae,H=S.now(),B||(B=S.schedule(Me,M),F.add(B))},()=>{Z(),F.complete()},void 0,()=>{$=B=null}))})}},6590:(ge,I,_)=>{"use strict";_.d(I,{d:()=>C});var f=_(4482),T=_(5403);function C(K){return(0,f.e)((M,S)=>{let x=!1;M.subscribe((0,T.x)(S,F=>{x=!0,S.next(F)},()=>{x||S.next(K),S.complete()}))})}},1884:(ge,I,_)=>{"use strict";_.d(I,{x:()=>K});var f=_(4671),T=_(4482),C=_(5403);function K(S,x=f.y){return S=S??M,(0,T.e)((F,B)=>{let $,H=!0;F.subscribe((0,C.x)(B,Z=>{const Me=x(Z);(H||!S($,Me))&&(H=!1,$=Me,B.next(Z))}))})}function M(S,x){return S===x}},9300:(ge,I,_)=>{"use strict";_.d(I,{h:()=>C});var f=_(4482),T=_(5403);function C(K,M){return(0,f.e)((S,x)=>{let F=0;S.subscribe((0,T.x)(x,B=>K.call(M,B,F++)&&x.next(B)))})}},8746:(ge,I,_)=>{"use strict";_.d(I,{x:()=>T});var f=_(4482);function T(C){return(0,f.e)((K,M)=>{try{K.subscribe(M)}finally{M.add(C)}})}},590:(ge,I,_)=>{"use strict";_.d(I,{P:()=>x});var f=_(6805),T=_(9300),C=_(5698),K=_(6590),M=_(8068),S=_(4671);function x(F,B){const $=arguments.length>=2;return H=>H.pipe(F?(0,T.h)((Z,Me)=>F(Z,Me,H)):S.y,(0,C.q)(1),$?(0,K.d)(B):(0,M.T)(()=>new f.K))}},4004:(ge,I,_)=>{"use strict";_.d(I,{U:()=>C});var f=_(4482),T=_(5403);function C(K,M){return(0,f.e)((S,x)=>{let F=0;S.subscribe((0,T.x)(x,B=>{x.next(K.call(M,B,F++))}))})}},9718:(ge,I,_)=>{"use strict";_.d(I,{h:()=>T});var f=_(4004);function T(C){return(0,f.U)(()=>C)}},8189:(ge,I,_)=>{"use strict";_.d(I,{J:()=>C});var f=_(5577),T=_(4671);function C(K=1/0){return(0,f.z)(T.y,K)}},5577:(ge,I,_)=>{"use strict";_.d(I,{z:()=>F});var f=_(4004),T=_(8421),C=_(4482),K=_(9672),M=_(5403),x=_(576);function F(B,$,H=1/0){return(0,x.m)($)?F((Z,Me)=>(0,f.U)((ae,se)=>$(Z,ae,Me,se))((0,T.Xf)(B(Z,Me))),H):("number"==typeof $&&(H=$),(0,C.e)((Z,Me)=>function S(B,$,H,Z,Me,ae,se,ee){const W=[];let X=0,fe=0,Ce=!1;const me=()=>{Ce&&!W.length&&!X&&$.complete()},_e=rt=>X<Z?Ae(rt):W.push(rt),Ae=rt=>{ae&&$.next(rt),X++;let je=!1;(0,T.Xf)(H(rt,fe++)).subscribe((0,M.x)($,Ne=>{Me?.(Ne),ae?_e(Ne):$.next(Ne)},()=>{je=!0},void 0,()=>{if(je)try{for(X--;W.length&&X<Z;){const Ne=W.shift();se?(0,K.f)($,se,()=>Ae(Ne)):Ae(Ne)}me()}catch(Ne){$.error(Ne)}}))};return B.subscribe((0,M.x)($,_e,()=>{Ce=!0,me()})),()=>{ee?.()}}(Z,Me,B,H)))}},3099:(ge,I,_)=>{"use strict";_.d(I,{B:()=>M});var f=_(8421),T=_(7579),C=_(930),K=_(4482);function M(x={}){const{connector:F=(()=>new T.x),resetOnError:B=!0,resetOnComplete:$=!0,resetOnRefCountZero:H=!0}=x;return Z=>{let Me,ae,se,ee=0,W=!1,X=!1;const fe=()=>{ae?.unsubscribe(),ae=void 0},Ce=()=>{fe(),Me=se=void 0,W=X=!1},me=()=>{const _e=Me;Ce(),_e?.unsubscribe()};return(0,K.e)((_e,Ae)=>{ee++,!X&&!W&&fe();const rt=se=se??F();Ae.add(()=>{ee--,0===ee&&!X&&!W&&(ae=S(me,H))}),rt.subscribe(Ae),!Me&&ee>0&&(Me=new C.Hp({next:je=>rt.next(je),error:je=>{X=!0,fe(),ae=S(Ce,B,je),rt.error(je)},complete:()=>{W=!0,fe(),ae=S(Ce,$),rt.complete()}}),(0,f.Xf)(_e).subscribe(Me))})(Z)}}function S(x,F,...B){if(!0===F)return void x();if(!1===F)return;const $=new C.Hp({next:()=>{$.unsubscribe(),x()}});return F(...B).subscribe($)}},8675:(ge,I,_)=>{"use strict";_.d(I,{O:()=>K});var f=_(7272),T=_(3269),C=_(4482);function K(...M){const S=(0,T.yG)(M);return(0,C.e)((x,F)=>{(S?(0,f.z)(M,x,S):(0,f.z)(M,x)).subscribe(F)})}},3900:(ge,I,_)=>{"use strict";_.d(I,{w:()=>K});var f=_(8421),T=_(4482),C=_(5403);function K(M,S){return(0,T.e)((x,F)=>{let B=null,$=0,H=!1;const Z=()=>H&&!B&&F.complete();x.subscribe((0,C.x)(F,Me=>{B?.unsubscribe();let ae=0;const se=$++;(0,f.Xf)(M(Me,se)).subscribe(B=(0,C.x)(F,ee=>F.next(S?S(Me,ee,se,ae++):ee),()=>{B=null,Z()}))},()=>{H=!0,Z()}))})}},5698:(ge,I,_)=>{"use strict";_.d(I,{q:()=>K});var f=_(515),T=_(4482),C=_(5403);function K(M){return M<=0?()=>f.E:(0,T.e)((S,x)=>{let F=0;S.subscribe((0,C.x)(x,B=>{++F<=M&&(x.next(B),M<=F&&x.complete())}))})}},2722:(ge,I,_)=>{"use strict";_.d(I,{R:()=>M});var f=_(4482),T=_(5403),C=_(8421),K=_(5032);function M(S){return(0,f.e)((x,F)=>{(0,C.Xf)(S).subscribe((0,T.x)(F,()=>F.complete(),K.Z)),!F.closed&&x.subscribe(F)})}},8505:(ge,I,_)=>{"use strict";_.d(I,{b:()=>M});var f=_(576),T=_(4482),C=_(5403),K=_(4671);function M(S,x,F){const B=(0,f.m)(S)||x||F?{next:S,error:x,complete:F}:S;return B?(0,T.e)(($,H)=>{var Z;null===(Z=B.subscribe)||void 0===Z||Z.call(B);let Me=!0;$.subscribe((0,C.x)(H,ae=>{var se;null===(se=B.next)||void 0===se||se.call(B,ae),H.next(ae)},()=>{var ae;Me=!1,null===(ae=B.complete)||void 0===ae||ae.call(B),H.complete()},ae=>{var se;Me=!1,null===(se=B.error)||void 0===se||se.call(B,ae),H.error(ae)},()=>{var ae,se;Me&&(null===(ae=B.unsubscribe)||void 0===ae||ae.call(B)),null===(se=B.finalize)||void 0===se||se.call(B)}))}):K.y}},8068:(ge,I,_)=>{"use strict";_.d(I,{T:()=>K});var f=_(6805),T=_(4482),C=_(5403);function K(S=M){return(0,T.e)((x,F)=>{let B=!1;x.subscribe((0,C.x)(F,$=>{B=!0,F.next($)},()=>B?F.complete():F.error(S())))})}function M(){return new f.K}},4408:(ge,I,_)=>{"use strict";_.d(I,{o:()=>M});var f=_(727);class T extends f.w0{constructor(x,F){super()}schedule(x,F=0){return this}}const C={setInterval(S,x,...F){const{delegate:B}=C;return B?.setInterval?B.setInterval(S,x,...F):setInterval(S,x,...F)},clearInterval(S){const{delegate:x}=C;return(x?.clearInterval||clearInterval)(S)},delegate:void 0};var K=_(8737);class M extends T{constructor(x,F){super(x,F),this.scheduler=x,this.work=F,this.pending=!1}schedule(x,F=0){var B;if(this.closed)return this;this.state=x;const $=this.id,H=this.scheduler;return null!=$&&(this.id=this.recycleAsyncId(H,$,F)),this.pending=!0,this.delay=F,this.id=null!==(B=this.id)&&void 0!==B?B:this.requestAsyncId(H,this.id,F),this}requestAsyncId(x,F,B=0){return C.setInterval(x.flush.bind(x,this),B)}recycleAsyncId(x,F,B=0){if(null!=B&&this.delay===B&&!1===this.pending)return F;null!=F&&C.clearInterval(F)}execute(x,F){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const B=this._execute(x,F);if(B)return B;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(x,F){let $,B=!1;try{this.work(x)}catch(H){B=!0,$=H||new Error("Scheduled action threw falsy error")}if(B)return this.unsubscribe(),$}unsubscribe(){if(!this.closed){const{id:x,scheduler:F}=this,{actions:B}=F;this.work=this.state=this.scheduler=null,this.pending=!1,(0,K.P)(B,this),null!=x&&(this.id=this.recycleAsyncId(F,x,null)),this.delay=null,super.unsubscribe()}}}},7565:(ge,I,_)=>{"use strict";_.d(I,{v:()=>C});var f=_(6063);class T{constructor(M,S=T.now){this.schedulerActionCtor=M,this.now=S}schedule(M,S=0,x){return new this.schedulerActionCtor(this,M).schedule(x,S)}}T.now=f.l.now;class C extends T{constructor(M,S=T.now){super(M,S),this.actions=[],this._active=!1}flush(M){const{actions:S}=this;if(this._active)return void S.push(M);let x;this._active=!0;do{if(x=M.execute(M.state,M.delay))break}while(M=S.shift());if(this._active=!1,x){for(;M=S.shift();)M.unsubscribe();throw x}}}},4986:(ge,I,_)=>{"use strict";_.d(I,{P:()=>K,z:()=>C});var f=_(4408);const C=new(_(7565).v)(f.o),K=C},6063:(ge,I,_)=>{"use strict";_.d(I,{l:()=>f});const f={now:()=>(f.delegate||Date).now(),delegate:void 0}},3410:(ge,I,_)=>{"use strict";_.d(I,{z:()=>f});const f={setTimeout(T,C,...K){const{delegate:M}=f;return M?.setTimeout?M.setTimeout(T,C,...K):setTimeout(T,C,...K)},clearTimeout(T){const{delegate:C}=f;return(C?.clearTimeout||clearTimeout)(T)},delegate:void 0}},2202:(ge,I,_)=>{"use strict";_.d(I,{h:()=>T});const T=function f(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(ge,I,_)=>{"use strict";_.d(I,{L:()=>f});const f="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:(ge,I,_)=>{"use strict";_.d(I,{K:()=>T});const T=(0,_(3888).d)(C=>function(){C(this),this.name="EmptyError",this.message="no elements in sequence"})},3269:(ge,I,_)=>{"use strict";_.d(I,{_6:()=>S,jO:()=>K,yG:()=>M});var f=_(576),T=_(3532);function C(x){return x[x.length-1]}function K(x){return(0,f.m)(C(x))?x.pop():void 0}function M(x){return(0,T.K)(C(x))?x.pop():void 0}function S(x,F){return"number"==typeof C(x)?x.pop():F}},4742:(ge,I,_)=>{"use strict";_.d(I,{D:()=>M});const{isArray:f}=Array,{getPrototypeOf:T,prototype:C,keys:K}=Object;function M(x){if(1===x.length){const F=x[0];if(f(F))return{args:F,keys:null};if(function S(x){return x&&"object"==typeof x&&T(x)===C}(F)){const B=K(F);return{args:B.map($=>F[$]),keys:B}}}return{args:x,keys:null}}},8737:(ge,I,_)=>{"use strict";function f(T,C){if(T){const K=T.indexOf(C);0<=K&&T.splice(K,1)}}_.d(I,{P:()=>f})},3888:(ge,I,_)=>{"use strict";function f(T){const K=T(M=>{Error.call(M),M.stack=(new Error).stack});return K.prototype=Object.create(Error.prototype),K.prototype.constructor=K,K}_.d(I,{d:()=>f})},1810:(ge,I,_)=>{"use strict";function f(T,C){return T.reduce((K,M,S)=>(K[M]=C[S],K),{})}_.d(I,{n:()=>f})},2806:(ge,I,_)=>{"use strict";_.d(I,{O:()=>K,x:()=>C});var f=_(2416);let T=null;function C(M){if(f.v.useDeprecatedSynchronousErrorHandling){const S=!T;if(S&&(T={errorThrown:!1,error:null}),M(),S){const{errorThrown:x,error:F}=T;if(T=null,x)throw F}}else M()}function K(M){f.v.useDeprecatedSynchronousErrorHandling&&T&&(T.errorThrown=!0,T.error=M)}},9672:(ge,I,_)=>{"use strict";function f(T,C,K,M=0,S=!1){const x=C.schedule(function(){K(),S?T.add(this.schedule(null,M)):this.unsubscribe()},M);if(T.add(x),!S)return x}_.d(I,{f:()=>f})},4671:(ge,I,_)=>{"use strict";function f(T){return T}_.d(I,{y:()=>f})},1144:(ge,I,_)=>{"use strict";_.d(I,{z:()=>f});const f=T=>T&&"number"==typeof T.length&&"function"!=typeof T},2206:(ge,I,_)=>{"use strict";_.d(I,{D:()=>T});var f=_(576);function T(C){return Symbol.asyncIterator&&(0,f.m)(C?.[Symbol.asyncIterator])}},576:(ge,I,_)=>{"use strict";function f(T){return"function"==typeof T}_.d(I,{m:()=>f})},3670:(ge,I,_)=>{"use strict";_.d(I,{c:()=>C});var f=_(8822),T=_(576);function C(K){return(0,T.m)(K[f.L])}},6495:(ge,I,_)=>{"use strict";_.d(I,{T:()=>C});var f=_(2202),T=_(576);function C(K){return(0,T.m)(K?.[f.h])}},8239:(ge,I,_)=>{"use strict";_.d(I,{t:()=>T});var f=_(576);function T(C){return(0,f.m)(C?.then)}},3260:(ge,I,_)=>{"use strict";_.d(I,{L:()=>K,Q:()=>C});var f=_(7582),T=_(576);function C(M){return(0,f.FC)(this,arguments,function*(){const x=M.getReader();try{for(;;){const{value:F,done:B}=yield(0,f.qq)(x.read());if(B)return yield(0,f.qq)(void 0);yield yield(0,f.qq)(F)}}finally{x.releaseLock()}})}function K(M){return(0,T.m)(M?.getReader)}},3532:(ge,I,_)=>{"use strict";_.d(I,{K:()=>T});var f=_(576);function T(C){return C&&(0,f.m)(C.schedule)}},4482:(ge,I,_)=>{"use strict";_.d(I,{A:()=>T,e:()=>C});var f=_(576);function T(K){return(0,f.m)(K?.lift)}function C(K){return M=>{if(T(M))return M.lift(function(S){try{return K(S,this)}catch(x){this.error(x)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(ge,I,_)=>{"use strict";_.d(I,{Z:()=>K});var f=_(4004);const{isArray:T}=Array;function K(M){return(0,f.U)(S=>function C(M,S){return T(S)?M(...S):M(S)}(M,S))}},5032:(ge,I,_)=>{"use strict";function f(){}_.d(I,{Z:()=>f})},7849:(ge,I,_)=>{"use strict";_.d(I,{h:()=>C});var f=_(2416),T=_(3410);function C(K){T.z.setTimeout(()=>{const{onUnhandledError:M}=f.v;if(!M)throw K;M(K)})}},4532:(ge,I,_)=>{"use strict";function f(T){return new TypeError(`You provided ${null!==T&&"object"==typeof T?"an invalid object":`'${T}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}_.d(I,{z:()=>f})},8926:ge=>{function I(f,T,C,K,M,S,x){try{var F=f[S](x),B=F.value}catch($){return void C($)}F.done?T(B):Promise.resolve(B).then(K,M)}ge.exports=function _(f){return function(){var T=this,C=arguments;return new Promise(function(K,M){var S=f.apply(T,C);function x(B){I(S,K,M,x,F,"next",B)}function F(B){I(S,K,M,x,F,"throw",B)}x(void 0)})}},ge.exports.__esModule=!0,ge.exports.default=ge.exports},1281:(ge,I,_)=>{"use strict";_.d(I,{Eq:()=>M,HM:()=>S,Ig:()=>T,fI:()=>x,su:()=>C,t6:()=>K});var f=_(4650);function T(B){return null!=B&&"false"!=`${B}`}function C(B,$=0){return K(B)?Number(B):$}function K(B){return!isNaN(parseFloat(B))&&!isNaN(Number(B))}function M(B){return Array.isArray(B)?B:[B]}function S(B){return null==B?"":"string"==typeof B?B:`${B}px`}function x(B){return B instanceof f.ElementRef?B.nativeElement:B}},6895:(ge,I,_)=>{"use strict";_.d(I,{ED:()=>zt,HT:()=>M,JF:()=>Wt,K0:()=>x,Mx:()=>_t,NF:()=>Mr,O5:()=>nr,Ov:()=>wi,PC:()=>_i,PM:()=>cr,RF:()=>wt,S$:()=>W,Ye:()=>_e,bD:()=>$r,ez:()=>ai,i8:()=>Br,mk:()=>Pn,n9:()=>on,q:()=>C,sg:()=>Mn,tP:()=>Ui,w_:()=>S});var f=_(4650);let T=null;function C(){return T}function M(y){T||(T=y)}class S{}const x=new f.InjectionToken("DocumentToken");let F=(()=>{class y{historyGo(w){throw new Error("Not implemented")}}return y.\u0275fac=function(w){return new(w||y)},y.\u0275prov=f.\u0275\u0275defineInjectable({token:y,factory:function(){return function B(){return(0,f.\u0275\u0275inject)(H)}()},providedIn:"platform"}),y})(),H=(()=>{class y extends F{constructor(w){super(),this._doc=w,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return C().getBaseHref(this._doc)}onPopState(w){const N=C().getGlobalEventTarget(this._doc,"window");return N.addEventListener("popstate",w,!1),()=>N.removeEventListener("popstate",w)}onHashChange(w){const N=C().getGlobalEventTarget(this._doc,"window");return N.addEventListener("hashchange",w,!1),()=>N.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,N,te){Z()?this._history.pushState(w,N,te):this.location.hash=te}replaceState(w,N,te){Z()?this._history.replaceState(w,N,te):this.location.hash=te}forward(){this._history.forward()}back(){this._history.back()}historyGo(w=0){this._history.go(w)}getState(){return this._history.state}}return y.\u0275fac=function(w){return new(w||y)(f.\u0275\u0275inject(x))},y.\u0275prov=f.\u0275\u0275defineInjectable({token:y,factory:function(){return function Me(){return new H((0,f.\u0275\u0275inject)(x))}()},providedIn:"platform"}),y})();function Z(){return!!window.history.pushState}function ae(y,O){if(0==y.length)return O;if(0==O.length)return y;let w=0;return y.endsWith("/")&&w++,O.startsWith("/")&&w++,2==w?y+O.substring(1):1==w?y+O:y+"/"+O}function se(y){const O=y.match(/#|\?|$/),w=O&&O.index||y.length;return y.slice(0,w-("/"===y[w-1]?1:0))+y.slice(w)}function ee(y){return y&&"?"!==y[0]?"?"+y:y}let W=(()=>{class y{historyGo(w){throw new Error("Not implemented")}}return y.\u0275fac=function(w){return new(w||y)},y.\u0275prov=f.\u0275\u0275defineInjectable({token:y,factory:function(){return function X(){const y=(0,f.\u0275\u0275inject)(x).location;return new Ce((0,f.\u0275\u0275inject)(F),y&&y.origin||"")}()},providedIn:"root"}),y})();const fe=new f.InjectionToken("appBaseHref");let Ce=(()=>{class y extends W{constructor(w,N){if(super(),this._platformLocation=w,this._removeListenerFns=[],null==N&&(N=this._platformLocation.getBaseHrefFromDOM()),null==N)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=N}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 ae(this._baseHref,w)}path(w=!1){const N=this._platformLocation.pathname+ee(this._platformLocation.search),te=this._platformLocation.hash;return te&&w?`${N}${te}`:N}pushState(w,N,te,we){const xe=this.prepareExternalUrl(te+ee(we));this._platformLocation.pushState(w,N,xe)}replaceState(w,N,te,we){const xe=this.prepareExternalUrl(te+ee(we));this._platformLocation.replaceState(w,N,xe)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(w=0){this._platformLocation.historyGo?.(w)}}return y.\u0275fac=function(w){return new(w||y)(f.\u0275\u0275inject(F),f.\u0275\u0275inject(fe,8))},y.\u0275prov=f.\u0275\u0275defineInjectable({token:y,factory:y.\u0275fac}),y})(),_e=(()=>{class y{constructor(w){this._subject=new f.EventEmitter,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=w;const N=this._locationStrategy.getBaseHref();this._baseHref=se(je(N)),this._locationStrategy.onPopState(te=>{this._subject.emit({url:this.path(!0),pop:!0,state:te.state,type:te.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(w=!1){return this.normalize(this._locationStrategy.path(w))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(w,N=""){return this.path()==this.normalize(w+ee(N))}normalize(w){return y.stripTrailingSlash(function rt(y,O){return y&&O.startsWith(y)?O.substring(y.length):O}(this._baseHref,je(w)))}prepareExternalUrl(w){return w&&"/"!==w[0]&&(w="/"+w),this._locationStrategy.prepareExternalUrl(w)}go(w,N="",te=null){this._locationStrategy.pushState(te,"",w,N),this._notifyUrlChangeListeners(this.prepareExternalUrl(w+ee(N)),te)}replaceState(w,N="",te=null){this._locationStrategy.replaceState(te,"",w,N),this._notifyUrlChangeListeners(this.prepareExternalUrl(w+ee(N)),te)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(w=0){this._locationStrategy.historyGo?.(w)}onUrlChange(w){return this._urlChangeListeners.push(w),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(N=>{this._notifyUrlChangeListeners(N.url,N.state)})),()=>{const N=this._urlChangeListeners.indexOf(w);this._urlChangeListeners.splice(N,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(w="",N){this._urlChangeListeners.forEach(te=>te(w,N))}subscribe(w,N,te){return this._subject.subscribe({next:w,error:N,complete:te})}}return y.normalizeQueryParams=ee,y.joinWithSlash=ae,y.stripTrailingSlash=se,y.\u0275fac=function(w){return new(w||y)(f.\u0275\u0275inject(W))},y.\u0275prov=f.\u0275\u0275defineInjectable({token:y,factory:function(){return function Ae(){return new _e((0,f.\u0275\u0275inject)(W))}()},providedIn:"root"}),y})();function je(y){return y.replace(/\/index.html$/,"")}function _t(y,O){O=encodeURIComponent(O);for(const w of y.split(";")){const N=w.indexOf("="),[te,we]=-1==N?[w,""]:[w.slice(0,N),w.slice(N+1)];if(te.trim()===O)return decodeURIComponent(we)}return null}let Pn=(()=>{class y{constructor(w,N,te,we){this._iterableDiffers=w,this._keyValueDiffers=N,this._ngEl=te,this._renderer=we,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,f.\u0275isListLikeIterable)(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(N=>this._toggleClass(N.key,N.currentValue)),w.forEachChangedItem(N=>this._toggleClass(N.key,N.currentValue)),w.forEachRemovedItem(N=>{N.previousValue&&this._toggleClass(N.key,!1)})}_applyIterableChanges(w){w.forEachAddedItem(N=>{if("string"!=typeof N.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,f.\u0275stringify)(N.item)}`);this._toggleClass(N.item,!0)}),w.forEachRemovedItem(N=>this._toggleClass(N.item,!1))}_applyClasses(w){w&&(Array.isArray(w)||w instanceof Set?w.forEach(N=>this._toggleClass(N,!0)):Object.keys(w).forEach(N=>this._toggleClass(N,!!w[N])))}_removeClasses(w){w&&(Array.isArray(w)||w instanceof Set?w.forEach(N=>this._toggleClass(N,!1)):Object.keys(w).forEach(N=>this._toggleClass(N,!1)))}_toggleClass(w,N){(w=w.trim())&&w.split(/\s+/g).forEach(te=>{N?this._renderer.addClass(this._ngEl.nativeElement,te):this._renderer.removeClass(this._ngEl.nativeElement,te)})}}return y.\u0275fac=function(w){return new(w||y)(f.\u0275\u0275directiveInject(f.IterableDiffers),f.\u0275\u0275directiveInject(f.KeyValueDiffers),f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(f.Renderer2))},y.\u0275dir=f.\u0275\u0275defineDirective({type:y,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),y})();class lr{constructor(O,w,N,te){this.$implicit=O,this.ngForOf=w,this.index=N,this.count=te}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 Mn=(()=>{class y{constructor(w,N,te){this._viewContainer=w,this._template=N,this._differs=te,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 N=this._viewContainer;w.forEachOperation((te,we,xe)=>{if(null==te.previousIndex)N.createEmbeddedView(this._template,new lr(te.item,this._ngForOf,-1,-1),null===xe?void 0:xe);else if(null==xe)N.remove(null===we?void 0:we);else if(null!==we){const $e=N.get(we);N.move($e,xe),In($e,te)}});for(let te=0,we=N.length;te<we;te++){const $e=N.get(te).context;$e.index=te,$e.count=we,$e.ngForOf=this._ngForOf}w.forEachIdentityChange(te=>{In(N.get(te.currentIndex),te)})}static ngTemplateContextGuard(w,N){return!0}}return y.\u0275fac=function(w){return new(w||y)(f.\u0275\u0275directiveInject(f.ViewContainerRef),f.\u0275\u0275directiveInject(f.TemplateRef),f.\u0275\u0275directiveInject(f.IterableDiffers))},y.\u0275dir=f.\u0275\u0275defineDirective({type:y,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),y})();function In(y,O){y.context.$implicit=O.item}let nr=(()=>{class y{constructor(w,N){this._viewContainer=w,this._context=new Qt,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=N}set ngIf(w){this._context.$implicit=this._context.ngIf=w,this._updateView()}set ngIfThen(w){gt("ngIfThen",w),this._thenTemplateRef=w,this._thenViewRef=null,this._updateView()}set ngIfElse(w){gt("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,N){return!0}}return y.\u0275fac=function(w){return new(w||y)(f.\u0275\u0275directiveInject(f.ViewContainerRef),f.\u0275\u0275directiveInject(f.TemplateRef))},y.\u0275dir=f.\u0275\u0275defineDirective({type:y,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),y})();class Qt{constructor(){this.$implicit=null,this.ngIf=null}}function gt(y,O){if(O&&!O.createEmbeddedView)throw new Error(`${y} must be a TemplateRef, but received '${(0,f.\u0275stringify)(O)}'.`)}class cn{constructor(O,w){this._viewContainerRef=O,this._templateRef=w,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(O){O&&!this._created?this.create():!O&&this._created&&this.destroy()}}let wt=(()=>{class y{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 N=w==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||N,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),N}_updateDefaultCases(w){if(this._defaultViews&&w!==this._defaultUsed){this._defaultUsed=w;for(let N=0;N<this._defaultViews.length;N++)this._defaultViews[N].enforceState(w)}}}return y.\u0275fac=function(w){return new(w||y)},y.\u0275dir=f.\u0275\u0275defineDirective({type:y,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),y})(),on=(()=>{class y{constructor(w,N,te){this.ngSwitch=te,te._addCase(),this._view=new cn(w,N)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return y.\u0275fac=function(w){return new(w||y)(f.\u0275\u0275directiveInject(f.ViewContainerRef),f.\u0275\u0275directiveInject(f.TemplateRef),f.\u0275\u0275directiveInject(wt,9))},y.\u0275dir=f.\u0275\u0275defineDirective({type:y,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),y})(),zt=(()=>{class y{constructor(w,N,te){te._addDefault(new cn(w,N))}}return y.\u0275fac=function(w){return new(w||y)(f.\u0275\u0275directiveInject(f.ViewContainerRef),f.\u0275\u0275directiveInject(f.TemplateRef),f.\u0275\u0275directiveInject(wt,9))},y.\u0275dir=f.\u0275\u0275defineDirective({type:y,selectors:[["","ngSwitchDefault",""]]}),y})(),_i=(()=>{class y{constructor(w,N,te){this._ngEl=w,this._differs=N,this._renderer=te,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,N){const[te,we]=w.split(".");null!=(N=null!=N&&we?`${N}${we}`:N)?this._renderer.setStyle(this._ngEl.nativeElement,te,N):this._renderer.removeStyle(this._ngEl.nativeElement,te)}_applyChanges(w){w.forEachRemovedItem(N=>this._setStyle(N.key,null)),w.forEachAddedItem(N=>this._setStyle(N.key,N.currentValue)),w.forEachChangedItem(N=>this._setStyle(N.key,N.currentValue))}}return y.\u0275fac=function(w){return new(w||y)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(f.KeyValueDiffers),f.\u0275\u0275directiveInject(f.Renderer2))},y.\u0275dir=f.\u0275\u0275defineDirective({type:y,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),y})(),Ui=(()=>{class y{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 N=this._viewContainerRef;if(this._viewRef&&N.remove(N.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:te,ngTemplateOutletContext:we,ngTemplateOutletInjector:xe}=this;this._viewRef=N.createEmbeddedView(te,we,xe?{injector:xe}:void 0)}else this._viewRef=null}else this._viewRef&&w.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return y.\u0275fac=function(w){return new(w||y)(f.\u0275\u0275directiveInject(f.ViewContainerRef))},y.\u0275dir=f.\u0275\u0275defineDirective({type:y,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[f.\u0275\u0275NgOnChangesFeature]}),y})();function Vn(y,O){return new f.\u0275RuntimeError(2100,"")}class Lo{createSubscription(O,w){return O.subscribe({next:w,error:N=>{throw N}})}dispose(O){O.unsubscribe()}}class $i{createSubscription(O,w){return O.then(w,N=>{throw N})}dispose(O){}}const Is=new $i,zi=new Lo;let wi=(()=>{class y{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,N=>this._updateLatestValue(w,N))}_selectStrategy(w){if((0,f.\u0275isPromise)(w))return Is;if((0,f.\u0275isSubscribable)(w))return zi;throw Vn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(w,N){w===this._obj&&(this._latestValue=N,this._ref.markForCheck())}}return y.\u0275fac=function(w){return new(w||y)(f.\u0275\u0275directiveInject(f.ChangeDetectorRef,16))},y.\u0275pipe=f.\u0275\u0275definePipe({name:"async",type:y,pure:!1}),y})(),Br=(()=>{class y{transform(w){if(null==w)return null;if("string"!=typeof w)throw Vn();return w.toLowerCase()}}return y.\u0275fac=function(w){return new(w||y)},y.\u0275pipe=f.\u0275\u0275definePipe({name:"lowercase",type:y,pure:!0}),y})(),ai=(()=>{class y{}return y.\u0275fac=function(w){return new(w||y)},y.\u0275mod=f.\u0275\u0275defineNgModule({type:y}),y.\u0275inj=f.\u0275\u0275defineInjector({}),y})();const $r="browser";function Mr(y){return y===$r}function cr(y){return"server"===y}class Wt{}},529:(ge,I,_)=>{"use strict";_.d(I,{JF:()=>Xn,TP:()=>yn,WM:()=>$,Zn:()=>et,eN:()=>ze});var f=_(6895),T=_(4650),C=_(9646),K=_(8306),M=_(4351),S=_(9300),x=_(4004);class F{}class B{}class ${constructor(Q){this.normalizedNames=new Map,this.lazyUpdate=null,Q?this.lazyInit="string"==typeof Q?()=>{this.headers=new Map,Q.split("\n").forEach(ie=>{const Se=ie.indexOf(":");if(Se>0){const ue=ie.slice(0,Se),Oe=ue.toLowerCase(),dt=ie.slice(Se+1).trim();this.maybeSetNormalizedName(ue,Oe),this.headers.has(Oe)?this.headers.get(Oe).push(dt):this.headers.set(Oe,[dt])}})}:()=>{this.headers=new Map,Object.keys(Q).forEach(ie=>{let Se=Q[ie];const ue=ie.toLowerCase();"string"==typeof Se&&(Se=[Se]),Se.length>0&&(this.headers.set(ue,Se),this.maybeSetNormalizedName(ie,ue))})}:this.headers=new Map}has(Q){return this.init(),this.headers.has(Q.toLowerCase())}get(Q){this.init();const ie=this.headers.get(Q.toLowerCase());return ie&&ie.length>0?ie[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Q){return this.init(),this.headers.get(Q.toLowerCase())||null}append(Q,ie){return this.clone({name:Q,value:ie,op:"a"})}set(Q,ie){return this.clone({name:Q,value:ie,op:"s"})}delete(Q,ie){return this.clone({name:Q,value:ie,op:"d"})}maybeSetNormalizedName(Q,ie){this.normalizedNames.has(ie)||this.normalizedNames.set(ie,Q)}init(){this.lazyInit&&(this.lazyInit instanceof $?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Q=>this.applyUpdate(Q)),this.lazyUpdate=null))}copyFrom(Q){Q.init(),Array.from(Q.headers.keys()).forEach(ie=>{this.headers.set(ie,Q.headers.get(ie)),this.normalizedNames.set(ie,Q.normalizedNames.get(ie))})}clone(Q){const ie=new $;return ie.lazyInit=this.lazyInit&&this.lazyInit instanceof $?this.lazyInit:this,ie.lazyUpdate=(this.lazyUpdate||[]).concat([Q]),ie}applyUpdate(Q){const ie=Q.name.toLowerCase();switch(Q.op){case"a":case"s":let Se=Q.value;if("string"==typeof Se&&(Se=[Se]),0===Se.length)return;this.maybeSetNormalizedName(Q.name,ie);const ue=("a"===Q.op?this.headers.get(ie):void 0)||[];ue.push(...Se),this.headers.set(ie,ue);break;case"d":const Oe=Q.value;if(Oe){let dt=this.headers.get(ie);if(!dt)return;dt=dt.filter(Dt=>-1===Oe.indexOf(Dt)),0===dt.length?(this.headers.delete(ie),this.normalizedNames.delete(ie)):this.headers.set(ie,dt)}else this.headers.delete(ie),this.normalizedNames.delete(ie)}}forEach(Q){this.init(),Array.from(this.normalizedNames.keys()).forEach(ie=>Q(this.normalizedNames.get(ie),this.headers.get(ie)))}}class H{encodeKey(Q){return se(Q)}encodeValue(Q){return se(Q)}decodeKey(Q){return decodeURIComponent(Q)}decodeValue(Q){return decodeURIComponent(Q)}}const Me=/%(\d[a-f0-9])/gi,ae={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function se(Ee){return encodeURIComponent(Ee).replace(Me,(Q,ie)=>ae[ie]??Q)}function ee(Ee){return`${Ee}`}class W{constructor(Q={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Q.encoder||new H,Q.fromString){if(Q.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Z(Ee,Q){const ie=new Map;return Ee.length>0&&Ee.replace(/^\?/,"").split("&").forEach(ue=>{const Oe=ue.indexOf("="),[dt,Dt]=-1==Oe?[Q.decodeKey(ue),""]:[Q.decodeKey(ue.slice(0,Oe)),Q.decodeValue(ue.slice(Oe+1))],Le=ie.get(dt)||[];Le.push(Dt),ie.set(dt,Le)}),ie}(Q.fromString,this.encoder)}else Q.fromObject?(this.map=new Map,Object.keys(Q.fromObject).forEach(ie=>{const Se=Q.fromObject[ie],ue=Array.isArray(Se)?Se.map(ee):[ee(Se)];this.map.set(ie,ue)})):this.map=null}has(Q){return this.init(),this.map.has(Q)}get(Q){this.init();const ie=this.map.get(Q);return ie?ie[0]:null}getAll(Q){return this.init(),this.map.get(Q)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Q,ie){return this.clone({param:Q,value:ie,op:"a"})}appendAll(Q){const ie=[];return Object.keys(Q).forEach(Se=>{const ue=Q[Se];Array.isArray(ue)?ue.forEach(Oe=>{ie.push({param:Se,value:Oe,op:"a"})}):ie.push({param:Se,value:ue,op:"a"})}),this.clone(ie)}set(Q,ie){return this.clone({param:Q,value:ie,op:"s"})}delete(Q,ie){return this.clone({param:Q,value:ie,op:"d"})}toString(){return this.init(),this.keys().map(Q=>{const ie=this.encoder.encodeKey(Q);return this.map.get(Q).map(Se=>ie+"="+this.encoder.encodeValue(Se)).join("&")}).filter(Q=>""!==Q).join("&")}clone(Q){const ie=new W({encoder:this.encoder});return ie.cloneFrom=this.cloneFrom||this,ie.updates=(this.updates||[]).concat(Q),ie}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Q=>this.map.set(Q,this.cloneFrom.map.get(Q))),this.updates.forEach(Q=>{switch(Q.op){case"a":case"s":const ie=("a"===Q.op?this.map.get(Q.param):void 0)||[];ie.push(ee(Q.value)),this.map.set(Q.param,ie);break;case"d":if(void 0===Q.value){this.map.delete(Q.param);break}{let Se=this.map.get(Q.param)||[];const ue=Se.indexOf(ee(Q.value));-1!==ue&&Se.splice(ue,1),Se.length>0?this.map.set(Q.param,Se):this.map.delete(Q.param)}}}),this.cloneFrom=this.updates=null)}}class fe{constructor(){this.map=new Map}set(Q,ie){return this.map.set(Q,ie),this}get(Q){return this.map.has(Q)||this.map.set(Q,Q.defaultValue()),this.map.get(Q)}delete(Q){return this.map.delete(Q),this}has(Q){return this.map.has(Q)}keys(){return this.map.keys()}}function me(Ee){return typeof ArrayBuffer<"u"&&Ee instanceof ArrayBuffer}function _e(Ee){return typeof Blob<"u"&&Ee instanceof Blob}function Ae(Ee){return typeof FormData<"u"&&Ee instanceof FormData}class je{constructor(Q,ie,Se,ue){let Oe;if(this.url=ie,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Q.toUpperCase(),function Ce(Ee){switch(Ee){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ue?(this.body=void 0!==Se?Se:null,Oe=ue):Oe=Se,Oe&&(this.reportProgress=!!Oe.reportProgress,this.withCredentials=!!Oe.withCredentials,Oe.responseType&&(this.responseType=Oe.responseType),Oe.headers&&(this.headers=Oe.headers),Oe.context&&(this.context=Oe.context),Oe.params&&(this.params=Oe.params)),this.headers||(this.headers=new $),this.context||(this.context=new fe),this.params){const dt=this.params.toString();if(0===dt.length)this.urlWithParams=ie;else{const Dt=ie.indexOf("?");this.urlWithParams=ie+(-1===Dt?"?":Dt<ie.length-1?"&":"")+dt}}else this.params=new W,this.urlWithParams=ie}serializeBody(){return null===this.body?null:me(this.body)||_e(this.body)||Ae(this.body)||function rt(Ee){return typeof URLSearchParams<"u"&&Ee instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof W?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||Ae(this.body)?null:_e(this.body)?this.body.type||null:me(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof W?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(Q={}){const ie=Q.method||this.method,Se=Q.url||this.url,ue=Q.responseType||this.responseType,Oe=void 0!==Q.body?Q.body:this.body,dt=void 0!==Q.withCredentials?Q.withCredentials:this.withCredentials,Dt=void 0!==Q.reportProgress?Q.reportProgress:this.reportProgress;let Le=Q.headers||this.headers,vt=Q.params||this.params;const At=Q.context??this.context;return void 0!==Q.setHeaders&&(Le=Object.keys(Q.setHeaders).reduce((jt,ct)=>jt.set(ct,Q.setHeaders[ct]),Le)),Q.setParams&&(vt=Object.keys(Q.setParams).reduce((jt,ct)=>jt.set(ct,Q.setParams[ct]),vt)),new je(ie,Se,Oe,{params:vt,headers:Le,context:At,reportProgress:Dt,responseType:ue,withCredentials:dt})}}var Ne=(()=>((Ne=Ne||{})[Ne.Sent=0]="Sent",Ne[Ne.UploadProgress=1]="UploadProgress",Ne[Ne.ResponseHeader=2]="ResponseHeader",Ne[Ne.DownloadProgress=3]="DownloadProgress",Ne[Ne.Response=4]="Response",Ne[Ne.User=5]="User",Ne))();class Ye{constructor(Q,ie=200,Se="OK"){this.headers=Q.headers||new $,this.status=void 0!==Q.status?Q.status:ie,this.statusText=Q.statusText||Se,this.url=Q.url||null,this.ok=this.status>=200&&this.status<300}}class Ze extends Ye{constructor(Q={}){super(Q),this.type=Ne.ResponseHeader}clone(Q={}){return new Ze({headers:Q.headers||this.headers,status:void 0!==Q.status?Q.status:this.status,statusText:Q.statusText||this.statusText,url:Q.url||this.url||void 0})}}class et extends Ye{constructor(Q={}){super(Q),this.type=Ne.Response,this.body=void 0!==Q.body?Q.body:null}clone(Q={}){return new et({body:void 0!==Q.body?Q.body:this.body,headers:Q.headers||this.headers,status:void 0!==Q.status?Q.status:this.status,statusText:Q.statusText||this.statusText,url:Q.url||this.url||void 0})}}class tt extends Ye{constructor(Q){super(Q,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Q.url||"(unknown url)"}`:`Http failure response for ${Q.url||"(unknown url)"}: ${Q.status} ${Q.statusText}`,this.error=Q.error||null}}function ut(Ee,Q){return{body:Q,headers:Ee.headers,context:Ee.context,observe:Ee.observe,params:Ee.params,reportProgress:Ee.reportProgress,responseType:Ee.responseType,withCredentials:Ee.withCredentials}}let ze=(()=>{class Ee{constructor(ie){this.handler=ie}request(ie,Se,ue={}){let Oe;if(ie instanceof je)Oe=ie;else{let Le,vt;Le=ue.headers instanceof $?ue.headers:new $(ue.headers),ue.params&&(vt=ue.params instanceof W?ue.params:new W({fromObject:ue.params})),Oe=new je(ie,Se,void 0!==ue.body?ue.body:null,{headers:Le,context:ue.context,params:vt,reportProgress:ue.reportProgress,responseType:ue.responseType||"json",withCredentials:ue.withCredentials})}const dt=(0,C.of)(Oe).pipe((0,M.b)(Le=>this.handler.handle(Le)));if(ie instanceof je||"events"===ue.observe)return dt;const Dt=dt.pipe((0,S.h)(Le=>Le instanceof et));switch(ue.observe||"body"){case"body":switch(Oe.responseType){case"arraybuffer":return Dt.pipe((0,x.U)(Le=>{if(null!==Le.body&&!(Le.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Le.body}));case"blob":return Dt.pipe((0,x.U)(Le=>{if(null!==Le.body&&!(Le.body instanceof Blob))throw new Error("Response is not a Blob.");return Le.body}));case"text":return Dt.pipe((0,x.U)(Le=>{if(null!==Le.body&&"string"!=typeof Le.body)throw new Error("Response is not a string.");return Le.body}));default:return Dt.pipe((0,x.U)(Le=>Le.body))}case"response":return Dt;default:throw new Error(`Unreachable: unhandled observe type ${ue.observe}}`)}}delete(ie,Se={}){return this.request("DELETE",ie,Se)}get(ie,Se={}){return this.request("GET",ie,Se)}head(ie,Se={}){return this.request("HEAD",ie,Se)}jsonp(ie,Se){return this.request("JSONP",ie,{params:(new W).append(Se,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ie,Se={}){return this.request("OPTIONS",ie,Se)}patch(ie,Se,ue={}){return this.request("PATCH",ie,ut(ue,Se))}post(ie,Se,ue={}){return this.request("POST",ie,ut(ue,Se))}put(ie,Se,ue={}){return this.request("PUT",ie,ut(ue,Se))}}return Ee.\u0275fac=function(ie){return new(ie||Ee)(T.\u0275\u0275inject(F))},Ee.\u0275prov=T.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac}),Ee})();class hn{constructor(Q,ie){this.next=Q,this.interceptor=ie}handle(Q){return this.interceptor.intercept(Q,this.next)}}const yn=new T.InjectionToken("HTTP_INTERCEPTORS");let Tn=(()=>{class Ee{intercept(ie,Se){return Se.handle(ie)}}return Ee.\u0275fac=function(ie){return new(ie||Ee)},Ee.\u0275prov=T.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac}),Ee})();const Ge=/^\)\]\}',?\n/;let Et=(()=>{class Ee{constructor(ie){this.xhrFactory=ie}handle(ie){if("JSONP"===ie.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new K.y(Se=>{const ue=this.xhrFactory.build();if(ue.open(ie.method,ie.urlWithParams),ie.withCredentials&&(ue.withCredentials=!0),ie.headers.forEach((pt,Xe)=>ue.setRequestHeader(pt,Xe.join(","))),ie.headers.has("Accept")||ue.setRequestHeader("Accept","application/json, text/plain, */*"),!ie.headers.has("Content-Type")){const pt=ie.detectContentTypeHeader();null!==pt&&ue.setRequestHeader("Content-Type",pt)}if(ie.responseType){const pt=ie.responseType.toLowerCase();ue.responseType="json"!==pt?pt:"text"}const Oe=ie.serializeBody();let dt=null;const Dt=()=>{if(null!==dt)return dt;const pt=ue.statusText||"OK",Xe=new $(ue.getAllResponseHeaders()),nn=function ft(Ee){return"responseURL"in Ee&&Ee.responseURL?Ee.responseURL:/^X-Request-URL:/m.test(Ee.getAllResponseHeaders())?Ee.getResponseHeader("X-Request-URL"):null}(ue)||ie.url;return dt=new Ze({headers:Xe,status:ue.status,statusText:pt,url:nn}),dt},Le=()=>{let{headers:pt,status:Xe,statusText:nn,url:Zt}=Dt(),Ht=null;204!==Xe&&(Ht=typeof ue.response>"u"?ue.responseText:ue.response),0===Xe&&(Xe=Ht?200:0);let _n=Xe>=200&&Xe<300;if("json"===ie.responseType&&"string"==typeof Ht){const Hn=Ht;Ht=Ht.replace(Ge,"");try{Ht=""!==Ht?JSON.parse(Ht):null}catch(Qn){Ht=Hn,_n&&(_n=!1,Ht={error:Qn,text:Ht})}}_n?(Se.next(new et({body:Ht,headers:pt,status:Xe,statusText:nn,url:Zt||void 0})),Se.complete()):Se.error(new tt({error:Ht,headers:pt,status:Xe,statusText:nn,url:Zt||void 0}))},vt=pt=>{const{url:Xe}=Dt(),nn=new tt({error:pt,status:ue.status||0,statusText:ue.statusText||"Unknown Error",url:Xe||void 0});Se.error(nn)};let At=!1;const jt=pt=>{At||(Se.next(Dt()),At=!0);let Xe={type:Ne.DownloadProgress,loaded:pt.loaded};pt.lengthComputable&&(Xe.total=pt.total),"text"===ie.responseType&&!!ue.responseText&&(Xe.partialText=ue.responseText),Se.next(Xe)},ct=pt=>{let Xe={type:Ne.UploadProgress,loaded:pt.loaded};pt.lengthComputable&&(Xe.total=pt.total),Se.next(Xe)};return ue.addEventListener("load",Le),ue.addEventListener("error",vt),ue.addEventListener("timeout",vt),ue.addEventListener("abort",vt),ie.reportProgress&&(ue.addEventListener("progress",jt),null!==Oe&&ue.upload&&ue.upload.addEventListener("progress",ct)),ue.send(Oe),Se.next({type:Ne.Sent}),()=>{ue.removeEventListener("error",vt),ue.removeEventListener("abort",vt),ue.removeEventListener("load",Le),ue.removeEventListener("timeout",vt),ie.reportProgress&&(ue.removeEventListener("progress",jt),null!==Oe&&ue.upload&&ue.upload.removeEventListener("progress",ct)),ue.readyState!==ue.DONE&&ue.abort()}})}}return Ee.\u0275fac=function(ie){return new(ie||Ee)(T.\u0275\u0275inject(f.JF))},Ee.\u0275prov=T.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac}),Ee})();const ot=new T.InjectionToken("XSRF_COOKIE_NAME"),ht=new T.InjectionToken("XSRF_HEADER_NAME");class Pt{}let $t=(()=>{class Ee{constructor(ie,Se,ue){this.doc=ie,this.platform=Se,this.cookieName=ue,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ie=this.doc.cookie||"";return ie!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,f.Mx)(ie,this.cookieName),this.lastCookieString=ie),this.lastToken}}return Ee.\u0275fac=function(ie){return new(ie||Ee)(T.\u0275\u0275inject(f.K0),T.\u0275\u0275inject(T.PLATFORM_ID),T.\u0275\u0275inject(ot))},Ee.\u0275prov=T.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac}),Ee})(),Gt=(()=>{class Ee{constructor(ie,Se){this.tokenService=ie,this.headerName=Se}intercept(ie,Se){const ue=ie.url.toLowerCase();if("GET"===ie.method||"HEAD"===ie.method||ue.startsWith("http://")||ue.startsWith("https://"))return Se.handle(ie);const Oe=this.tokenService.getToken();return null!==Oe&&!ie.headers.has(this.headerName)&&(ie=ie.clone({headers:ie.headers.set(this.headerName,Oe)})),Se.handle(ie)}}return Ee.\u0275fac=function(ie){return new(ie||Ee)(T.\u0275\u0275inject(Pt),T.\u0275\u0275inject(ht))},Ee.\u0275prov=T.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac}),Ee})(),Ke=(()=>{class Ee{constructor(ie,Se){this.backend=ie,this.injector=Se,this.chain=null}handle(ie){if(null===this.chain){const Se=this.injector.get(yn,[]);this.chain=Se.reduceRight((ue,Oe)=>new hn(ue,Oe),this.backend)}return this.chain.handle(ie)}}return Ee.\u0275fac=function(ie){return new(ie||Ee)(T.\u0275\u0275inject(B),T.\u0275\u0275inject(T.Injector))},Ee.\u0275prov=T.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac}),Ee})(),kt=(()=>{class Ee{static disable(){return{ngModule:Ee,providers:[{provide:Gt,useClass:Tn}]}}static withOptions(ie={}){return{ngModule:Ee,providers:[ie.cookieName?{provide:ot,useValue:ie.cookieName}:[],ie.headerName?{provide:ht,useValue:ie.headerName}:[]]}}}return Ee.\u0275fac=function(ie){return new(ie||Ee)},Ee.\u0275mod=T.\u0275\u0275defineNgModule({type:Ee}),Ee.\u0275inj=T.\u0275\u0275defineInjector({providers:[Gt,{provide:yn,useExisting:Gt,multi:!0},{provide:Pt,useClass:$t},{provide:ot,useValue:"XSRF-TOKEN"},{provide:ht,useValue:"X-XSRF-TOKEN"}]}),Ee})(),Xn=(()=>{class Ee{}return Ee.\u0275fac=function(ie){return new(ie||Ee)},Ee.\u0275mod=T.\u0275\u0275defineNgModule({type:Ee}),Ee.\u0275inj=T.\u0275\u0275defineInjector({providers:[ze,{provide:F,useClass:Ke},Et,{provide:B,useExisting:Et}],imports:[kt.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),Ee})()},4650:(ge,I,_)=>{"use strict";_.r(I),_.d(I,{ANALYZE_FOR_ENTRY_COMPONENTS:()=>Yo,ANIMATION_MODULE_TYPE:()=>J3,APP_BOOTSTRAP_LISTENER:()=>am,APP_ID:()=>im,APP_INITIALIZER:()=>rm,ApplicationInitStatus:()=>ql,ApplicationModule:()=>H4,ApplicationRef:()=>nu,Attribute:()=>Qa,COMPILER_OPTIONS:()=>um,CUSTOM_ELEMENTS_SCHEMA:()=>b1,ChangeDetectionStrategy:()=>Ee,ChangeDetectorRef:()=>Om,Compiler:()=>s4,CompilerFactory:()=>o4,Component:()=>U3,ComponentFactory:()=>$l,ComponentFactoryResolver:()=>Ca,ComponentRef:()=>Gp,ContentChild:()=>Z0,ContentChildren:()=>qa,DEFAULT_CURRENCY_CODE:()=>t4,DebugElement:()=>Ta,DebugEventListener:()=>I4,DebugNode:()=>x0,DefaultIterableDiffer:()=>Bm,Directive:()=>nm,ENVIRONMENT_INITIALIZER:()=>hc,ElementRef:()=>Ea,EmbeddedViewRef:()=>M4,EnvironmentInjector:()=>uo,ErrorHandler:()=>la,EventEmitter:()=>ei,Host:()=>ro,HostBinding:()=>K3,HostListener:()=>W3,INJECTOR:()=>Dl,Inject:()=>eo,InjectFlags:()=>Ke,Injectable:()=>Y2,InjectionToken:()=>Nt,Injector:()=>Pr,Input:()=>z3,IterableDiffers:()=>N0,KeyValueDiffers:()=>V0,LOCALE_ID:()=>eu,MissingTranslationStrategy:()=>ti,ModuleWithComponentFactories:()=>lm,NO_ERRORS_SCHEMA:()=>S1,NgModule:()=>Y3,NgModuleFactory:()=>zp,NgModuleRef:()=>Ds,NgProbeToken:()=>h4,NgZone:()=>hr,Optional:()=>to,Output:()=>G3,PACKAGE_ROOT_URL:()=>Q3,PLATFORM_ID:()=>X3,PLATFORM_INITIALIZER:()=>om,Pipe:()=>$3,PlatformRef:()=>R0,Query:()=>os,QueryList:()=>Yl,ReflectiveInjector:()=>fo,ReflectiveKey:()=>mi,Renderer2:()=>J_,RendererFactory2:()=>Kp,RendererStyleFlags2:()=>Xr,ResolvedReflectiveFactory:()=>D1,Sanitizer:()=>Wp,SecurityContext:()=>vn,Self:()=>no,SimpleChange:()=>ur,SkipSelf:()=>ds,TRANSLATIONS:()=>n4,TRANSLATIONS_FORMAT:()=>r4,TemplateRef:()=>ba,Testability:()=>f4,TestabilityRegistry:()=>gm,Type:()=>Zs,VERSION:()=>Zp,Version:()=>Yp,ViewChild:()=>yu,ViewChildren:()=>X0,ViewContainerRef:()=>Xl,ViewEncapsulation:()=>Se,ViewRef:()=>Lm,asNativeElements:()=>b4,assertPlatform:()=>Em,createEnvironmentInjector:()=>c0,createNgModuleRef:()=>o3,createPlatform:()=>wm,createPlatformFactory:()=>Cm,defineInjectable:()=>Ie,destroyPlatform:()=>m4,enableProdMode:()=>w4,forwardRef:()=>H,getDebugNode:()=>Po,getModuleFactory:()=>D4,getNgModuleById:()=>C4,getPlatform:()=>tu,importProvidersFrom:()=>u1,inject:()=>Pi,isDevMode:()=>_4,platformCore:()=>j4,resolveForwardRef:()=>Z,setTestabilityGetter:()=>mm,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>A0,\u0275APP_ID_RANDOM_PROVIDER:()=>Z3,\u0275ChangeDetectorStatus:()=>Q,\u0275ComponentFactory:()=>$l,\u0275Console:()=>q3,\u0275DEFAULT_LOCALE_ID:()=>ws,\u0275INJECTOR_SCOPE:()=>mc,\u0275LContext:()=>Cf,\u0275LifecycleHooksFeature:()=>wh,\u0275LocaleDataIndex:()=>at,\u0275NG_COMP_DEF:()=>vt,\u0275NG_DIR_DEF:()=>At,\u0275NG_ELEMENT_ID:()=>Xe,\u0275NG_INJ_DEF:()=>Pt,\u0275NG_MOD_DEF:()=>ct,\u0275NG_PIPE_DEF:()=>jt,\u0275NG_PROV_DEF:()=>ht,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>zl,\u0275NO_CHANGE:()=>mt,\u0275NgModuleFactory:()=>Wl,\u0275NoopNgZone:()=>fm,\u0275ReflectionCapabilities:()=>rl,\u0275Render3ComponentFactory:()=>Kl,\u0275Render3ComponentRef:()=>Qp,\u0275Render3NgModuleRef:()=>u0,\u0275RuntimeError:()=>se,\u0275TESTABILITY:()=>hm,\u0275TESTABILITY_GETTER:()=>pm,\u0275ViewRef:()=>Ro,\u0275_sanitizeHtml:()=>hf,\u0275_sanitizeUrl:()=>i,\u0275allowSanitizationBypassAndThrow:()=>Vi,\u0275bypassSanitizationTrustHtml:()=>ku,\u0275bypassSanitizationTrustResourceUrl:()=>lf,\u0275bypassSanitizationTrustScript:()=>Hu,\u0275bypassSanitizationTrustStyle:()=>ju,\u0275bypassSanitizationTrustUrl:()=>Uu,\u0275clearResolutionOfComponentResourcesQueue:()=>Ru,\u0275coerceToBoolean:()=>U4,\u0275compileComponent:()=>zg,\u0275compileDirective:()=>E0,\u0275compileNgModule:()=>Bg,\u0275compileNgModuleDefs:()=>kg,\u0275compileNgModuleFactory:()=>ym,\u0275compilePipe:()=>em,\u0275createInjector:()=>Dc,\u0275defaultIterableDiffers:()=>B4,\u0275defaultKeyValueDiffers:()=>k4,\u0275detectChanges:()=>ah,\u0275devModeEqual:()=>Eh,\u0275findLocaleData:()=>Xd,\u0275flushModuleScopingQueueAsMuchAsPossible:()=>Ng,\u0275getDebugNode:()=>Po,\u0275getDebugNodeR2:()=>R4,\u0275getDirectives:()=>hh,\u0275getHostElement:()=>Xc,\u0275getInjectableDef:()=>st,\u0275getLContext:()=>Bn,\u0275getLocaleCurrencyCode:()=>Jy,\u0275getLocalePluralCase:()=>pp,\u0275getSanitizationBypassType:()=>gl,\u0275getUnknownElementStrictMode:()=>Cv,\u0275getUnknownPropertyStrictMode:()=>Mv,\u0275global:()=>ue,\u0275injectChangeDetectorRef:()=>Pm,\u0275internalBootstrapApplication:()=>g4,\u0275isBoundToModule:()=>_m,\u0275isDefaultChangeDetectionStrategy:()=>ie,\u0275isListLikeIterable:()=>ga,\u0275isObservable:()=>Ah,\u0275isPromise:()=>pd,\u0275isStandalone:()=>Oo,\u0275isSubscribable:()=>Th,\u0275ivyEnabled:()=>$4,\u0275makeDecorator:()=>is,\u0275markDirty:()=>lh,\u0275noSideEffects:()=>Kt,\u0275patchComponentDefWithScope:()=>D0,\u0275publishDefaultGlobalUtils:()=>my,\u0275publishGlobalUtil:()=>wr,\u0275registerLocaleData:()=>Qy,\u0275renderComponent:()=>vy,\u0275resetCompiledComponents:()=>R3,\u0275resetJitOptions:()=>S3,\u0275resolveComponentResources:()=>al,\u0275setAllowDuplicateNgModuleIdsForTest:()=>xu,\u0275setClassMetadata:()=>qp,\u0275setCurrentInjector:()=>Oi,\u0275setDocument:()=>bs,\u0275setLocaleId:()=>Qd,\u0275setUnknownElementStrictMode:()=>Dv,\u0275setUnknownPropertyStrictMode:()=>Ev,\u0275store:()=>Ih,\u0275stringify:()=>F,\u0275transitiveScopesFor:()=>Cs,\u0275unregisterLocaleData:()=>qy,\u0275unwrapSafeValue:()=>xr,\u0275whenRendered:()=>yy,\u0275\u0275CopyDefinitionFeature:()=>Ch,\u0275\u0275FactoryTarget:()=>gn,\u0275\u0275InheritDefinitionFeature:()=>Qc,\u0275\u0275NgOnChangesFeature:()=>Ur,\u0275\u0275ProvidersFeature:()=>Up,\u0275\u0275StandaloneFeature:()=>Jp,\u0275\u0275advance:()=>n1,\u0275\u0275attribute:()=>ed,\u0275\u0275attributeInterpolate1:()=>td,\u0275\u0275attributeInterpolate2:()=>nd,\u0275\u0275attributeInterpolate3:()=>rd,\u0275\u0275attributeInterpolate4:()=>id,\u0275\u0275attributeInterpolate5:()=>sd,\u0275\u0275attributeInterpolate6:()=>od,\u0275\u0275attributeInterpolate7:()=>ad,\u0275\u0275attributeInterpolate8:()=>ld,\u0275\u0275attributeInterpolateV:()=>ud,\u0275\u0275classMap:()=>Uh,\u0275\u0275classMapInterpolate1:()=>Xh,\u0275\u0275classMapInterpolate2:()=>Qh,\u0275\u0275classMapInterpolate3:()=>Jh,\u0275\u0275classMapInterpolate4:()=>qh,\u0275\u0275classMapInterpolate5:()=>ep,\u0275\u0275classMapInterpolate6:()=>tp,\u0275\u0275classMapInterpolate7:()=>np,\u0275\u0275classMapInterpolate8:()=>rp,\u0275\u0275classMapInterpolateV:()=>ip,\u0275\u0275classProp:()=>Td,\u0275\u0275contentQuery:()=>Tg,\u0275\u0275defineComponent:()=>Zt,\u0275\u0275defineDirective:()=>Nn,\u0275\u0275defineInjectable:()=>oe,\u0275\u0275defineInjector:()=>be,\u0275\u0275defineNgModule:()=>Rn,\u0275\u0275definePipe:()=>qn,\u0275\u0275directiveInject:()=>ho,\u0275\u0275disableBindings:()=>D,\u0275\u0275element:()=>fd,\u0275\u0275elementContainer:()=>hd,\u0275\u0275elementContainerEnd:()=>Fl,\u0275\u0275elementContainerStart:()=>Ll,\u0275\u0275elementEnd:()=>Pl,\u0275\u0275elementStart:()=>Ol,\u0275\u0275enableBindings:()=>bi,\u0275\u0275getCurrentView:()=>Sh,\u0275\u0275getInheritedFactory:()=>Ka,\u0275\u0275hostProperty:()=>Yd,\u0275\u0275i18n:()=>Vp,\u0275\u0275i18nApply:()=>kp,\u0275\u0275i18nAttributes:()=>Bp,\u0275\u0275i18nEnd:()=>t0,\u0275\u0275i18nExp:()=>n0,\u0275\u0275i18nPostprocess:()=>jp,\u0275\u0275i18nStart:()=>e0,\u0275\u0275inject:()=>un,\u0275\u0275injectAttribute:()=>Za,\u0275\u0275invalidFactory:()=>I1,\u0275\u0275invalidFactoryDep:()=>qs,\u0275\u0275listener:()=>gd,\u0275\u0275loadQuery:()=>Ag,\u0275\u0275namespaceHTML:()=>Fa,\u0275\u0275namespaceMathML:()=>La,\u0275\u0275namespaceSVG:()=>Pa,\u0275\u0275nextContext:()=>Oh,\u0275\u0275ngDeclareClassMetadata:()=>G4,\u0275\u0275ngDeclareComponent:()=>K4,\u0275\u0275ngDeclareDirective:()=>z4,\u0275\u0275ngDeclareFactory:()=>W4,\u0275\u0275ngDeclareInjectable:()=>Z4,\u0275\u0275ngDeclareInjector:()=>X4,\u0275\u0275ngDeclareNgModule:()=>Q4,\u0275\u0275ngDeclarePipe:()=>J4,\u0275\u0275pipe:()=>gg,\u0275\u0275pipeBind1:()=>mg,\u0275\u0275pipeBind2:()=>vg,\u0275\u0275pipeBind3:()=>yg,\u0275\u0275pipeBind4:()=>_g,\u0275\u0275pipeBindV:()=>wg,\u0275\u0275projection:()=>Lh,\u0275\u0275projectionDef:()=>Ph,\u0275\u0275property:()=>cd,\u0275\u0275propertyInterpolate:()=>yd,\u0275\u0275propertyInterpolate1:()=>Nl,\u0275\u0275propertyInterpolate2:()=>_d,\u0275\u0275propertyInterpolate3:()=>wd,\u0275\u0275propertyInterpolate4:()=>Dd,\u0275\u0275propertyInterpolate5:()=>Cd,\u0275\u0275propertyInterpolate6:()=>Ed,\u0275\u0275propertyInterpolate7:()=>Md,\u0275\u0275propertyInterpolate8:()=>Id,\u0275\u0275propertyInterpolateV:()=>bd,\u0275\u0275pureFunction0:()=>eg,\u0275\u0275pureFunction1:()=>tg,\u0275\u0275pureFunction2:()=>ng,\u0275\u0275pureFunction3:()=>rg,\u0275\u0275pureFunction4:()=>ig,\u0275\u0275pureFunction5:()=>sg,\u0275\u0275pureFunction6:()=>og,\u0275\u0275pureFunction7:()=>ag,\u0275\u0275pureFunction8:()=>lg,\u0275\u0275pureFunctionV:()=>ug,\u0275\u0275queryRefresh:()=>bg,\u0275\u0275reference:()=>bh,\u0275\u0275registerNgModuleType:()=>dl,\u0275\u0275resetView:()=>ve,\u0275\u0275resolveBody:()=>Af,\u0275\u0275resolveDocument:()=>Tf,\u0275\u0275resolveWindow:()=>Sf,\u0275\u0275restoreView:()=>R,\u0275\u0275sanitizeHtml:()=>pf,\u0275\u0275sanitizeResourceUrl:()=>Yu,\u0275\u0275sanitizeScript:()=>mf,\u0275\u0275sanitizeStyle:()=>gf,\u0275\u0275sanitizeUrl:()=>Wu,\u0275\u0275sanitizeUrlOrResourceUrl:()=>_f,\u0275\u0275setComponentScope:()=>Ht,\u0275\u0275setNgModuleScope:()=>xn,\u0275\u0275styleMap:()=>Fr,\u0275\u0275styleMapInterpolate1:()=>sp,\u0275\u0275styleMapInterpolate2:()=>op,\u0275\u0275styleMapInterpolate3:()=>ap,\u0275\u0275styleMapInterpolate4:()=>lp,\u0275\u0275styleMapInterpolate5:()=>up,\u0275\u0275styleMapInterpolate6:()=>cp,\u0275\u0275styleMapInterpolate7:()=>dp,\u0275\u0275styleMapInterpolate8:()=>fp,\u0275\u0275styleMapInterpolateV:()=>hp,\u0275\u0275styleProp:()=>Sd,\u0275\u0275stylePropInterpolate1:()=>kd,\u0275\u0275stylePropInterpolate2:()=>jd,\u0275\u0275stylePropInterpolate3:()=>Hd,\u0275\u0275stylePropInterpolate4:()=>Ud,\u0275\u0275stylePropInterpolate5:()=>$d,\u0275\u0275stylePropInterpolate6:()=>zd,\u0275\u0275stylePropInterpolate7:()=>Gd,\u0275\u0275stylePropInterpolate8:()=>Kd,\u0275\u0275stylePropInterpolateV:()=>Wd,\u0275\u0275syntheticHostListener:()=>md,\u0275\u0275syntheticHostProperty:()=>Zd,\u0275\u0275template:()=>Mh,\u0275\u0275templateRefExtractor:()=>Pg,\u0275\u0275text:()=>Zh,\u0275\u0275textInterpolate:()=>Rd,\u0275\u0275textInterpolate1:()=>Bl,\u0275\u0275textInterpolate2:()=>xd,\u0275\u0275textInterpolate3:()=>Od,\u0275\u0275textInterpolate4:()=>Pd,\u0275\u0275textInterpolate5:()=>Ld,\u0275\u0275textInterpolate6:()=>Fd,\u0275\u0275textInterpolate7:()=>Nd,\u0275\u0275textInterpolate8:()=>Vd,\u0275\u0275textInterpolateV:()=>Bd,\u0275\u0275trustConstantHtml:()=>vf,\u0275\u0275trustConstantResourceUrl:()=>yf,\u0275\u0275viewQuery:()=>Sg});var f=_(7579),T=_(727),C=_(8306),K=_(6451),M=_(3099);function S(e){for(let t in e)if(e[t]===S)return t;throw Error("Could not find renamed property on target object.")}function x(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function F(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(F).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function B(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const $=S({__forward_ref__:S});function H(e){return e.__forward_ref__=H,e.toString=function(){return F(this())},e}function Z(e){return Me(e)?e():e}function Me(e){return"function"==typeof e&&e.hasOwnProperty($)&&e.__forward_ref__===H}class se extends Error{constructor(t,n){super(function ee(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function W(e){return"string"==typeof e?e:null==e?"":String(e)}function X(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():W(e)}function _e(e,t){throw new se(-201,!1)}function G(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function oe(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const Ie=oe;function be(e){return{providers:e.providers||[],imports:e.imports||[]}}function st(e){return Ge(e,ht)||Ge(e,$t)}function Ge(e,t){return e.hasOwnProperty(t)?e[t]:null}function ot(e){return e&&(e.hasOwnProperty(Pt)||e.hasOwnProperty(Gt))?e[Pt]:null}const ht=S({\u0275prov:S}),Pt=S({\u0275inj:S}),$t=S({ngInjectableDef:S}),Gt=S({ngInjectorDef:S});var Ke=(()=>((Ke=Ke||{})[Ke.Default=0]="Default",Ke[Ke.Host=1]="Host",Ke[Ke.Self=2]="Self",Ke[Ke.SkipSelf=4]="SkipSelf",Ke[Ke.Optional=8]="Optional",Ke))();let An;function kt(e){const t=An;return An=e,t}function Xn(e,t,n){const r=st(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Ke.Optional?null:void 0!==t?t:void _e(F(e))}function Kt(e){return{toString:e}.toString()}var Ee=(()=>((Ee=Ee||{})[Ee.OnPush=0]="OnPush",Ee[Ee.Default=1]="Default",Ee))(),Q=(()=>((Q=Q||{})[Q.CheckOnce=0]="CheckOnce",Q[Q.Checked=1]="Checked",Q[Q.CheckAlways=2]="CheckAlways",Q[Q.Detached=3]="Detached",Q[Q.Errored=4]="Errored",Q[Q.Destroyed=5]="Destroyed",Q))();function ie(e){return null==e||e===Ee.Default}var Se=(()=>{return(e=Se||(Se={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Se;var e})();const ue=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Dt={},Le=[],vt=S({\u0275cmp:S}),At=S({\u0275dir:S}),jt=S({\u0275pipe:S}),ct=S({\u0275mod:S}),pt=S({\u0275fac:S}),Xe=S({__NG_ELEMENT_ID__:S});let nn=0;function Zt(e){return Kt(()=>{const n=!0===e.standalone,r={},s={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Ee.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||Le,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Se.Emulated,id:"c"+nn++,styles:e.styles||Le,_:null,setInput:null,schemas:e.schemas||null,tView:null},a=e.dependencies,c=e.features;return s.inputs=Jn(e.inputs,r),s.outputs=Jn(e.outputs),c&&c.forEach(h=>h(s)),s.directiveDefs=a?()=>("function"==typeof a?a():a).map(_n).filter(Hn):null,s.pipeDefs=a?()=>("function"==typeof a?a():a).map(Xt).filter(Hn):null,s})}function Ht(e,t,n){const r=e.\u0275cmp;r.directiveDefs=()=>("function"==typeof t?t():t).map(_n),r.pipeDefs=()=>("function"==typeof n?n():n).map(Xt)}function _n(e){return It(e)||Je(e)}function Hn(e){return null!==e}const Qn={};function Rn(e){return Kt(()=>{const t={type:e.type,bootstrap:e.bootstrap||Le,declarations:e.declarations||Le,imports:e.imports||Le,exports:e.exports||Le,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(Qn[e.id]=e.type),t})}function xn(e,t){return Kt(()=>{const n=xt(e,!0);n.declarations=t.declarations||Le,n.imports=t.imports||Le,n.exports=t.exports||Le})}function Jn(e,t){if(null==e)return Dt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let s=e[r],a=s;Array.isArray(s)&&(a=s[1],s=s[0]),n[s]=r,t&&(t[s]=a)}return n}const Nn=Zt;function qn(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function It(e){return e[vt]||null}function Je(e){return e[At]||null}function Xt(e){return e[jt]||null}function xt(e,t){const n=e[ct]||null;if(!n&&!0===t)throw new Error(`Type ${F(e)} does not have '\u0275mod' property.`);return n}function Qt(e){return Array.isArray(e)&&"object"==typeof e[1]}function gt(e){return Array.isArray(e)&&!0===e[1]}function cn(e){return 0!=(8&e.flags)}function wt(e){return 2==(2&e.flags)}function on(e){return 1==(1&e.flags)}function zt(e){return null!==e.template}function Hi(e){return 0!=(256&e[2])}function ir(e,t){return e.hasOwnProperty(pt)?e[pt]:null}class ur{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Ur(){return Cr}function Cr(e){return e.type.prototype.ngOnChanges&&(e.setInput=Er),oi}function oi(){const e=Ei(this),t=e?.current;if(t){const n=e.previous;if(n===Dt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Er(e,t,n,r){const s=Ei(e)||function Wi(e,t){return e[Gn]=t}(e,{previous:Dt,current:null}),a=s.current||(s.current={}),c=s.previous,h=this.declaredInputs[n],g=c[h];a[h]=new ur(g&&g.currentValue,t,c===Dt),e[r]=t}Ur.ngInherit=!0;const Gn="__ngSimpleChanges__";function Ei(e){return e[Gn]||null}let ai=null;const $r=e=>{ai=e},en=function(e,t,n){ai?.(e,t,n)},Mr="math";let ui;function bs(e){ui=e}function ci(){return void 0!==ui?ui:typeof document<"u"?document:void 0}function Rt(e){return!!e.listen}const Ir={createRenderer:(e,t)=>ci()};function Wt(e){for(;Array.isArray(e);)e=e[0];return e}function w(e,t){return Wt(t[e])}function N(e,t){return Wt(t[e.index])}function we(e,t){return e.data[t]}function xe(e,t){return e[t]}function $e(e,t){const n=t[e];return Qt(n)?n:n[0]}function Ot(e){return 4==(4&e[2])}function Lt(e){return 64==(64&e[2])}function yt(e,t){return null==t?null:e[t]}function an(e){e[18]=0}function bt(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const Qe={lFrame:Xi(null),bindingsEnabled:!0};function Gr(){return Qe.bindingsEnabled}function bi(){Qe.bindingsEnabled=!0}function D(){Qe.bindingsEnabled=!1}function p(){return Qe.lFrame.lView}function v(){return Qe.lFrame.tView}function R(e){return Qe.lFrame.contextLView=e,e[8]}function ve(e){return Qe.lFrame.contextLView=null,e}function Be(){let e=Yt();for(;null!==e&&64===e.type;)e=e.parent;return e}function Yt(){return Qe.lFrame.currentTNode}function Sn(){const e=Qe.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function pn(e,t){const n=Qe.lFrame;n.currentTNode=e,n.isParent=t}function dr(){return Qe.lFrame.isParent}function Ts(){Qe.lFrame.isParent=!1}function Ln(){const e=Qe.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Tr(){return Qe.lFrame.bindingIndex}function Yi(e){return Qe.lFrame.bindingIndex=e}function di(){return Qe.lFrame.bindingIndex++}function vr(e){const t=Qe.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function No(e){Qe.lFrame.inI18n=e}function Zi(e,t){const n=Qe.lFrame;n.bindingIndex=n.bindingRootIndex=e,Vo(t)}function Vo(e){Qe.lFrame.currentDirectiveIndex=e}function Bo(e){const t=Qe.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Ra(){return Qe.lFrame.currentQueryIndex}function ko(e){Qe.lFrame.currentQueryIndex=e}function iu(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Os(e,t,n){if(n&Ke.SkipSelf){let s=t,a=e;for(;!(s=s.parent,null!==s||n&Ke.Host||(s=iu(a),null===s||(a=a[15],10&s.type))););if(null===s)return!1;t=s,e=a}const r=Qe.lFrame=jo();return r.currentTNode=t,r.lView=e,!0}function Ps(e){const t=jo(),n=e[1];Qe.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function jo(){const e=Qe.lFrame,t=null===e?null:e.child;return null===t?Xi(e):t}function Xi(e){const t={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:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function xa(){const e=Qe.lFrame;return Qe.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Oa=xa;function fi(){const e=xa();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Fn(){return Qe.lFrame.selectedIndex}function or(e){Qe.lFrame.selectedIndex=e}function tn(){const e=Qe.lFrame;return we(e.tView,e.selectedIndex)}function Pa(){Qe.lFrame.currentNamespace="svg"}function La(){Qe.lFrame.currentNamespace=Mr}function Fa(){!function ou(){Qe.lFrame.currentNamespace=null}()}function Ls(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const a=e.data[n].type.prototype,{ngAfterContentInit:c,ngAfterContentChecked:h,ngAfterViewInit:g,ngAfterViewChecked:E,ngOnDestroy:A}=a;c&&(e.contentHooks||(e.contentHooks=[])).push(-n,c),h&&((e.contentHooks||(e.contentHooks=[])).push(n,h),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,h)),g&&(e.viewHooks||(e.viewHooks=[])).push(-n,g),E&&((e.viewHooks||(e.viewHooks=[])).push(n,E),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,E)),null!=A&&(e.destroyHooks||(e.destroyHooks=[])).push(n,A)}}function Ji(e,t,n){Na(e,t,3,n)}function Fs(e,t,n,r){(3&e[2])===n&&Na(e,t,n,r)}function Ns(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Na(e,t,n,r){const a=r??-1,c=t.length-1;let h=0;for(let g=void 0!==r?65535&e[18]:0;g<c;g++)if("number"==typeof t[g+1]){if(h=t[g],null!=r&&h>=r)break}else t[g]<0&&(e[18]+=65536),(h<a||-1==a)&&(uu(e,n,t,g),e[18]=(4294901760&e[18])+g+2),g++}function uu(e,t,n,r){const s=n[r]<0,a=n[r+1],h=e[s?-n[r]:n[r]];if(s){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048,en(4,h,a);try{a.call(h)}finally{en(5,h,a)}}}else{en(4,h,a);try{a.call(h)}finally{en(5,h,a)}}}class qi{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function ks(e,t,n){const r=Rt(e);let s=0;for(;s<n.length;){const a=n[s];if("number"==typeof a){if(0!==a)break;s++;const c=n[s++],h=n[s++],g=n[s++];r?e.setAttribute(t,h,g,c):t.setAttributeNS(c,h,g)}else{const c=a,h=n[++s];Ho(c)?r&&e.setProperty(t,c,h):r?e.setAttribute(t,c,h):t.setAttribute(c,h),s++}}return s}function js(e){return 3===e||4===e||6===e}function Ho(e){return 64===e.charCodeAt(0)}function Hs(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const s=t[r];"number"==typeof s?n=s:0===n||ja(e,n,s,null,-1===n||2===n?t[++r]:null)}}return e}function ja(e,t,n,r,s){let a=0,c=e.length;if(-1===t)c=-1;else for(;a<e.length;){const h=e[a++];if("number"==typeof h){if(h===t){c=-1;break}if(h>t){c=a-1;break}}}for(;a<e.length;){const h=e[a];if("number"==typeof h)break;if(h===n){if(null===r)return void(null!==s&&(e[a+1]=s));if(r===e[a+1])return void(e[a+2]=s)}a++,null!==r&&a++,null!==s&&a++}-1!==c&&(e.splice(c,0,t),a=c+1),e.splice(a++,0,n),null!==r&&e.splice(a++,0,r),null!==s&&e.splice(a++,0,s)}function Ha(e){return-1!==e}function Si(e){return 32767&e}function Wr(e,t){let n=function Ua(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let Uo=!0;function Us(e){const t=Uo;return Uo=e,t}let zo=0;const yr={};function es(e,t){const n=Ko(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Go(r.data,e),Go(t,null),Go(r.blueprint,null));const s=zs(e,t),a=e.injectorIndex;if(Ha(s)){const c=Si(s),h=Wr(s,t),g=h[1].data;for(let E=0;E<8;E++)t[a+E]=h[c+E]|g[c+E]}return t[a+8]=s,a}function Go(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ko(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function zs(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,s=t;for(;null!==s;){if(r=vu(s),null===r)return-1;if(n++,s=s[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Gs(e,t,n){!function hu(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Xe)&&(r=n[Xe]),null==r&&(r=n[Xe]=zo++);const s=255&r;t.data[e+(s>>5)]|=1<<s}(e,t,n)}function $a(e,t,n){if(n&Ke.Optional)return e;_e()}function Wo(e,t,n,r){if(n&Ke.Optional&&void 0===r&&(r=null),0==(n&(Ke.Self|Ke.Host))){const s=e[9],a=kt(void 0);try{return s?s.get(t,r,n&Ke.Optional):Xn(t,r,n&Ke.Optional)}finally{kt(a)}}return $a(r,0,n)}function Ks(e,t,n,r=Ke.Default,s){if(null!==e){if(1024&t[2]){const c=function Ya(e,t,n,r,s){let a=e,c=t;for(;null!==a&&null!==c&&1024&c[2]&&!(256&c[2]);){const h=Ws(a,c,n,r|Ke.Self,yr);if(h!==yr)return h;let g=a.parent;if(!g){const E=c[21];if(E){const A=E.get(n,yr,r);if(A!==yr)return A}g=vu(c),c=c[15]}a=g}return s}(e,t,n,r,yr);if(c!==yr)return c}const a=Ws(e,t,n,r,yr);if(a!==yr)return a}return Wo(t,n,r,s)}function Ws(e,t,n,r,s){const a=function gu(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Xe)?e[Xe]:void 0;return"number"==typeof t?t>=0?255&t:mu:t}(n);if("function"==typeof a){if(!Os(t,e,r))return r&Ke.Host?$a(s,0,r):Wo(t,n,r,s);try{const c=a(r);if(null!=c||r&Ke.Optional)return c;_e()}finally{Oa()}}else if("number"==typeof a){let c=null,h=Ko(e,t),g=-1,E=r&Ke.Host?t[16][6]:null;for((-1===h||r&Ke.SkipSelf)&&(g=-1===h?zs(e,t):t[h+8],-1!==g&&Ga(r,!1)?(c=t[1],h=Si(g),t=Wr(g,t)):h=-1);-1!==h;){const A=t[1];if(za(a,h,A.data)){const j=pu(h,t,n,c,r,E);if(j!==yr)return j}g=t[h+8],-1!==g&&Ga(r,t[1].data[h+8]===E)&&za(a,h,t)?(c=A,h=Si(g),t=Wr(g,t)):h=-1}}return s}function pu(e,t,n,r,s,a){const c=t[1],h=c.data[e+8],A=Ys(h,c,n,null==r?wt(h)&&Uo:r!=c&&0!=(3&h.type),s&Ke.Host&&a===h);return null!==A?Ti(t,c,A,h):yr}function Ys(e,t,n,r,s){const a=e.providerIndexes,c=t.data,h=1048575&a,g=e.directiveStart,A=a>>20,q=s?h+A:e.directiveEnd;for(let he=r?h:h+A;he<q;he++){const Te=c[he];if(he<g&&n===Te||he>=g&&Te.type===n)return he}if(s){const he=c[g];if(he&&zt(he)&&he.type===n)return g}return null}function Ti(e,t,n,r){let s=e[n];const a=t.data;if(function cu(e){return e instanceof qi}(s)){const c=s;c.resolving&&function fe(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new se(-200,`Circular dependency in DI detected for ${e}${n}`)}(X(a[n]));const h=Us(c.canSeeViewProviders);c.resolving=!0;const g=c.injectImpl?kt(c.injectImpl):null;Os(e,r,Ke.Default);try{s=e[n]=c.factory(void 0,a,e,r),t.firstCreatePass&&n>=r.directiveStart&&function lu(e,t,n){const{ngOnChanges:r,ngOnInit:s,ngDoCheck:a}=t.type.prototype;if(r){const c=Cr(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,c),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,c)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,s),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a))}(n,a[n],t)}finally{null!==g&&kt(g),Us(h),c.resolving=!1,Oa()}}return s}function za(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Ga(e,t){return!(e&Ke.Self||e&Ke.Host&&t)}class Ai{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Ks(this._tNode,this._lView,t,r,n)}}function mu(){return new Ai(Be(),p())}function Ka(e){return Kt(()=>{const t=e.prototype.constructor,n=t[pt]||Wa(t),r=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==r;){const a=s[pt]||Wa(s);if(a&&a!==n)return a;s=Object.getPrototypeOf(s)}return a=>new a})}function Wa(e){return Me(e)?()=>{const t=Wa(Z(e));return t&&t()}:ir(e)}function vu(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function Za(e){return function _r(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let s=0;for(;s<r;){const a=n[s];if(js(a))break;if(0===a)s+=2;else if("number"==typeof a)for(s++;s<r&&"string"==typeof n[s];)s++;else{if(a===t)return n[s+1];s+=2}}}return null}(Be(),e)}const ts="__annotations__",ns="__parameters__",rs="__prop__metadata__";function is(e,t,n,r,s){return Kt(()=>{const a=Xa(t);function c(...h){if(this instanceof c)return a.call(this,...h),this;const g=new c(...h);return function(A){return s&&s(A,...h),(A.hasOwnProperty(ts)?A[ts]:Object.defineProperty(A,ts,{value:[]})[ts]).push(g),r&&r(A),A}}return n&&(c.prototype=Object.create(n.prototype)),c.prototype.ngMetadataName=e,c.annotationCls=c,c})}function Xa(e){return function(...n){if(e){const r=e(...n);for(const s in r)this[s]=r[s]}}}function ss(e,t,n){return Kt(()=>{const r=Xa(t);function s(...a){if(this instanceof s)return r.apply(this,a),this;const c=new s(...a);return h.annotation=c,h;function h(g,E,A){const j=g.hasOwnProperty(ns)?g[ns]:Object.defineProperty(g,ns,{value:[]})[ns];for(;j.length<=A;)j.push(null);return(j[A]=j[A]||[]).push(c),g}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}function Yr(e,t,n,r){return Kt(()=>{const s=Xa(t);function a(...c){if(this instanceof a)return s.apply(this,c),this;const h=new a(...c);return function g(E,A){const j=E.constructor,q=j.hasOwnProperty(rs)?j[rs]:Object.defineProperty(j,rs,{value:{}})[rs];q[A]=q.hasOwnProperty(A)&&q[A]||[],q[A].unshift(h),r&&r(E,A,...c)}}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=e,a.annotationCls=a,a})}const Qa=ss("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>Za(e)}));class Nt{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=oe({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Yo=new Nt("AnalyzeForEntryComponents");class os{}const qa=Yr("ContentChildren",(e,t={})=>({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0,...t}),os),Z0=Yr("ContentChild",(e,t={})=>({selector:e,first:!0,isViewQuery:!1,descendants:!0,...t}),os),X0=Yr("ViewChildren",(e,t={})=>({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0,...t}),os),yu=Yr("ViewChild",(e,t)=>({selector:e,first:!0,isViewQuery:!0,descendants:!0,...t}),os);var gn=(()=>((gn=gn||{})[gn.Directive=0]="Directive",gn[gn.Component=1]="Component",gn[gn.Injectable=2]="Injectable",gn[gn.Pipe=3]="Pipe",gn[gn.NgModule=4]="NgModule",gn))();function mn(e){const t=ue.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const Zs=Function;function as(e){return"function"==typeof e}function Kn(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),Kn(r,t)):t!==e&&t.push(r)}return t}function Ar(e,t){e.forEach(n=>Array.isArray(n)?Ar(n,t):t(n))}function Ri(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Qs(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ls(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function Wn(e,t,n){let r=dn(e,t);return r>=0?e[1|r]=n:(r=~r,function Zo(e,t,n,r){let s=e.length;if(s==t)e.push(n,r);else if(1===s)e.push(r,e[0]),e[0]=n;else{for(s--,e.push(e[s-1],e[s]);s>t;)e[s]=e[s-2],s--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Xo(e,t){const n=dn(e,t);if(n>=0)return e[1|n]}function dn(e,t){return function Jo(e,t,n){let r=0,s=e.length>>n;for(;s!==r;){const a=r+(s-r>>1),c=e[a<<n];if(t===c)return a<<n;c>t?s=a:r=a+1}return~(s<<n)}(e,t,1)}const nl=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,us=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,wu=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Du=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class rl{constructor(t){this._reflect=t||ue.Reflect}factory(t){return(...n)=>new t(...n)}_zipTypesAndAnnotations(t,n){let r;r=ls(typeof t>"u"?n.length:t.length);for(let s=0;s<r.length;s++)r[s]=typeof t>"u"?[]:t[s]&&t[s]!=Object?[t[s]]:[],n&&null!=n[s]&&(r[s]=r[s].concat(n[s]));return r}_ownParameters(t,n){if(function Cu(e){return nl.test(e)||Du.test(e)||us.test(e)&&!wu.test(e)}(t.toString()))return null;if(t.parameters&&t.parameters!==n.parameters)return t.parameters;const s=t.ctorParameters;if(s&&s!==n.ctorParameters){const h="function"==typeof s?s():s,g=h.map(A=>A&&A.type),E=h.map(A=>A&&qo(A.decorators));return this._zipTypesAndAnnotations(g,E)}const a=t.hasOwnProperty(ns)&&t[ns],c=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return c||a?this._zipTypesAndAnnotations(c,a):ls(t.length)}parameters(t){if(!as(t))return[];const n=Js(t);let r=this._ownParameters(t,n);return!r&&n!==Object&&(r=this.parameters(n)),r||[]}_ownAnnotations(t,n){if(t.annotations&&t.annotations!==n.annotations){let r=t.annotations;return"function"==typeof r&&r.annotations&&(r=r.annotations),r}return t.decorators&&t.decorators!==n.decorators?qo(t.decorators):t.hasOwnProperty(ts)?t[ts]:null}annotations(t){if(!as(t))return[];const n=Js(t),r=this._ownAnnotations(t,n)||[];return(n!==Object?this.annotations(n):[]).concat(r)}_ownPropMetadata(t,n){if(t.propMetadata&&t.propMetadata!==n.propMetadata){let r=t.propMetadata;return"function"==typeof r&&r.propMetadata&&(r=r.propMetadata),r}if(t.propDecorators&&t.propDecorators!==n.propDecorators){const r=t.propDecorators,s={};return Object.keys(r).forEach(a=>{s[a]=qo(r[a])}),s}return t.hasOwnProperty(rs)?t[rs]:null}propMetadata(t){if(!as(t))return{};const n=Js(t),r={};if(n!==Object){const a=this.propMetadata(n);Object.keys(a).forEach(c=>{r[c]=a[c]})}const s=this._ownPropMetadata(t,n);return s&&Object.keys(s).forEach(a=>{const c=[];r.hasOwnProperty(a)&&c.push(...r[a]),c.push(...s[a]),r[a]=c}),r}ownPropMetadata(t){return as(t)&&this._ownPropMetadata(t,Js(t))||{}}hasLifecycleHook(t,n){return t instanceof Zs&&n in t.prototype}}function qo(e){return e?e.map(t=>new(0,t.type.annotationCls)(...t.args?t.args:[])):[]}function Js(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}const Zr={},ea="__NG_DI_FLAG__",cs="ngTempTokenPath",il=/\n/gm,ol="__source";let xi;function Oi(e){const t=xi;return xi=e,t}function Iu(e,t=Ke.Default){if(void 0===xi)throw new se(-203,"");return null===xi?Xn(e,void 0,t):xi.get(e,t&Ke.Optional?null:void 0,t)}function un(e,t=Ke.Default){return(function Bt(){return An}()||Iu)(Z(e),t)}function qs(e){throw new Error("invalid")}function Pi(e,t=Ke.Default){return un(e,t)}function Li(e){const t=[];for(let n=0;n<e.length;n++){const r=Z(e[n]);if(Array.isArray(r)){if(0===r.length)throw new se(900,"");let s,a=Ke.Default;for(let c=0;c<r.length;c++){const h=r[c],g=bu(h);"number"==typeof g?-1===g?s=h.token:a|=g:s=h}t.push(un(s,a))}else t.push(un(r))}return t}function L(e,t){return e[ea]=t,e.prototype[ea]=t,e}function bu(e){return e[ea]}const eo=L(ss("Inject",e=>({token:e})),-1),to=L(ss("Optional"),8),no=L(ss("Self"),2),ds=L(ss("SkipSelf"),4),ro=L(ss("Host"),1);let fs=null;function Rr(){return fs=fs||new rl}function hi(e){return na(Rr().parameters(e))}function na(e){return e.map(t=>function Tu(e){const t={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let n=0;n<e.length;n++){const r=e[n];if(void 0===r)continue;const s=Object.getPrototypeOf(r);if(r instanceof to||"Optional"===s.ngMetadataName)t.optional=!0;else if(r instanceof ds||"SkipSelf"===s.ngMetadataName)t.skipSelf=!0;else if(r instanceof no||"Self"===s.ngMetadataName)t.self=!0;else if(r instanceof ro||"Host"===s.ngMetadataName)t.host=!0;else if(r instanceof eo)t.token=r.token;else if(r instanceof Qa){if(void 0===r.attributeName)throw new Error("Attribute name must be defined.");t.attribute=r.attributeName}else t.token=r}else t.token=void 0===e||Array.isArray(e)&&0===e.length?null:e;return t}(t))}function al(e){const t=[],n=new Map;function r(s){let a=n.get(s);if(!a){const c=e(s);n.set(s,a=c.then(ra))}return a}return Fi.forEach((s,a)=>{const c=[];s.templateUrl&&c.push(r(s.templateUrl).then(j=>{s.template=j}));const h=s.styleUrls,g=s.styles||(s.styles=[]),E=s.styles.length;h&&h.forEach((j,q)=>{g.push(""),c.push(r(j).then(he=>{g[E+q]=he,h.splice(h.indexOf(j),1),0==h.length&&(s.styleUrls=void 0)}))});const A=Promise.all(c).then(()=>function ul(e){Ni.delete(e)}(a));t.push(A)}),Ru(),Promise.all(t).then(()=>{})}let Fi=new Map;const Ni=new Set;function Au(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function Ru(){const e=Fi;return Fi=new Map,e}function ra(e){return"string"==typeof e?e:e.text()}const Yn=new Map;let hs,so,cl=!0;function dl(e,t){(function rf(e,t,n){if(t&&t!==n&&cl)throw new Error(`Duplicate module registered for ${e} - ${F(t)} vs ${F(t.name)}`)})(t,Yn.get(t)||null,e),Yn.set(t,e)}function ia(e){return Yn.get(e)}function xu(e){cl=!e}function io(){if(void 0===hs&&(hs=null,ue.trustedTypes))try{hs=ue.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return hs}function Ut(e){return io()?.createHTML(e)||e}function sa(){if(void 0===so&&(so=null,ue.trustedTypes))try{so=ue.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return so}function fl(e){return sa()?.createHTML(e)||e}function hl(e){return sa()?.createScript(e)||e}function pl(e){return sa()?.createScriptURL(e)||e}class pi{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Lu extends pi{getTypeName(){return"HTML"}}class Fu extends pi{getTypeName(){return"Style"}}class Nu extends pi{getTypeName(){return"Script"}}class Vu extends pi{getTypeName(){return"URL"}}class Bu extends pi{getTypeName(){return"ResourceURL"}}function xr(e){return e instanceof pi?e.changingThisBreaksApplicationSecurity:e}function Vi(e,t){const n=gl(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function gl(e){return e instanceof pi&&e.getTypeName()||null}function ku(e){return new Lu(e)}function ju(e){return new Fu(e)}function Hu(e){return new Nu(e)}function Uu(e){return new Vu(e)}function lf(e){return new Bu(e)}function $u(e){const t=new cf(e);return function df(){try{return!!(new window.DOMParser).parseFromString(Ut(""),"text/html")}catch{return!1}}()?new uf(t):t}class uf{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Ut(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class cf{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=Ut(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=Ut(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let s=n.length-1;0<s;s--){const c=n.item(s).name;("xmlns:ns1"===c||0===c.indexOf("ns1:"))&&t.removeAttribute(c)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const zu=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,o=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function i(e){return(e=String(e)).match(zu)||e.match(o)?e:"unsafe:"+e}function u(e){return(e=String(e)).split(",").map(t=>i(t.trim())).join(", ")}function d(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function m(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const b=d("area,br,col,hr,img,wbr"),P=d("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ne=d("rp,rt"),Ct=m(b,m(P,d("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),m(ne,d("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),m(ne,P)),Tt=d("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Vt=d("srcset"),oa=m(Tt,Vt,d("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),d("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),ps=d("script,style,template");class Gu{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let s=this.checkClobberedElement(n,n.nextSibling);if(s){n=s;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Ct.hasOwnProperty(n))return this.sanitizedSomething=!0,!ps.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let s=0;s<r.length;s++){const a=r.item(s),c=a.name,h=c.toLowerCase();if(!oa.hasOwnProperty(h)){this.sanitizedSomething=!0;continue}let g=a.value;Tt[h]&&(g=i(g)),Vt[h]&&(g=u(g)),this.buf.push(" ",c,'="',ff(g),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Ct.hasOwnProperty(n)&&!b.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(ff(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const Km=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Wm=/([^\#-~ |!])/g;function ff(e){return e.replace(/&/g,"&amp;").replace(Km,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Wm,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let vl;function hf(e,t){let n=null;try{vl=vl||$u(e);let r=t?String(t):"";n=vl.getInertBodyElement(r);let s=5,a=r;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,r=a,a=n.innerHTML,n=vl.getInertBodyElement(r)}while(r!==a);return Ut((new Gu).sanitizeChildren(Ku(n)||n))}finally{if(n){const r=Ku(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Ku(e){return"content"in e&&function Ym(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var vn=(()=>((vn=vn||{})[vn.NONE=0]="NONE",vn[vn.HTML=1]="HTML",vn[vn.STYLE=2]="STYLE",vn[vn.SCRIPT=3]="SCRIPT",vn[vn.URL=4]="URL",vn[vn.RESOURCE_URL=5]="RESOURCE_URL",vn))();function pf(e){const t=aa();return t?fl(t.sanitize(vn.HTML,e)||""):Vi(e,"HTML")?fl(xr(e)):hf(ci(),W(e))}function gf(e){const t=aa();return t?t.sanitize(vn.STYLE,e)||"":Vi(e,"Style")?xr(e):W(e)}function Wu(e){const t=aa();return t?t.sanitize(vn.URL,e)||"":Vi(e,"URL")?xr(e):i(W(e))}function Yu(e){const t=aa();if(t)return pl(t.sanitize(vn.RESOURCE_URL,e)||"");if(Vi(e,"ResourceURL"))return pl(xr(e));throw new se(904,"")}function mf(e){const t=aa();if(t)return hl(t.sanitize(vn.SCRIPT,e)||"");if(Vi(e,"Script"))return hl(xr(e));throw new se(905,"")}function vf(e){return Ut(e[0])}function yf(e){return function Pu(e){return io()?.createScriptURL(e)||e}(e[0])}function _f(e,t,n){return function Zm(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Yu:Wu}(t,n)(e)}function aa(){const e=p();return e&&e[12]}const Zu="ngOriginalError";function Xu(e){return e[Zu]}class la{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Xu(t);for(;n&&Xu(n);)n=Xu(n);return n||null}}const Qm=/^>|^->|<!--|-->|--!>|<!-$/g,Jm=/(<|>)/;const Qu=new Map;let s2=0;function Df(e){return Qu.get(e)||null}class Cf{constructor(t,n,r){this.lViewId=t,this.nodeIndex=n,this.native=r}get lView(){return Df(this.lViewId)}}function Bn(e){let t=ua(e);if(t){if(Qt(t)){const n=t;let r,s,a;if(function u2(e){return e&&e.constructor&&e.constructor.\u0275cmp}(e)){if(r=If(n,e),-1==r)throw new Error("The provided component was not found in the application");s=e}else if(function c2(e){return e&&e.constructor&&e.constructor.\u0275dir}(e)){if(r=function f2(e,t){let n=e[1].firstChild;for(;n;){const s=n.directiveEnd;for(let a=n.directiveStart;a<s;a++)if(e[a]===t)return n.index;n=d2(n)}return-1}(n,e),-1==r)throw new Error("The provided directive was not found in the application");a=bf(r,n,!1)}else if(r=Mf(n,e),-1==r)return null;const c=Wt(n[r]),h=ua(c),g=h&&!Array.isArray(h)?h:Ju(n,r,c);if(s&&void 0===g.component&&(g.component=s,kn(g.component,g)),a&&void 0===g.directives){g.directives=a;for(let E=0;E<a.length;E++)kn(a[E],g)}kn(g.native,g),t=g}}else{const n=e;let r=n;for(;r=r.parentNode;){const s=ua(r);if(s){const a=Array.isArray(s)?s:s.lView;if(!a)return null;const c=Mf(a,n);if(c>=0){const h=Wt(a[c]),g=Ju(a,c,h);kn(h,g),t=g;break}}}}return t||null}function Ju(e,t,n){return new Cf(e[20],t,n)}function Ef(e){let n,t=ua(e);if(Qt(t)){const r=t,s=If(r,e);n=$e(s,r);const a=Ju(r,s,n[0]);a.component=e,kn(e,a),kn(a.native,a)}else n=$e(t.nodeIndex,t.lView);return n}const qu="__ngContext__";function kn(e,t){Qt(t)?(e[qu]=t[20],function a2(e){Qu.set(e[20],e)}(t)):e[qu]=t}function ua(e){const t=e[qu];return"number"==typeof t?Df(t):t||null}function ec(e){const t=ua(e);return t?Qt(t)?t:t.lView:null}function Mf(e,t){const n=e[1];for(let r=22;r<n.bindingStartIndex;r++)if(Wt(e[r])===t)return r;return-1}function d2(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function If(e,t){const n=e[1].components;if(n)for(let r=0;r<n.length;r++){const s=n[r];if($e(s,e)[8]===t)return s}else if($e(22,e)[8]===t)return 22;return-1}function bf(e,t,n){const r=t[1].data[e];let s=r.directiveStart;return 0==s?Le:(!n&&2&r.flags&&s++,t.slice(s,r.directiveEnd))}const g2=(()=>(typeof requestAnimationFrame<"u"&&requestAnimationFrame||setTimeout).bind(ue))();function Sf(e){return e.ownerDocument.defaultView}function Tf(e){return e.ownerDocument}function Af(e){return e.ownerDocument.body}function gi(e){return e instanceof Function?e():e}var Xr=(()=>((Xr=Xr||{})[Xr.Important=1]="Important",Xr[Xr.DashCase=2]="DashCase",Xr))();let tc;function nc(e,t){return tc(e,t)}function ca(e){const t=e[3];return gt(t)?t[3]:t}function Pf(e){return function Of(e){let t=Qt(e)?e:ec(e);for(;t&&!(256&t[2]);)t=ca(t);return t}(e)[8]}function rc(e){return Lf(e[13])}function ic(e){return Lf(e[4])}function Lf(e){for(;null!==e&&!gt(e);)e=e[4];return e}function lo(e,t,n,r,s){if(null!=r){let a,c=!1;gt(r)?a=r:Qt(r)&&(c=!0,r=r[0]);const h=Wt(r);0===e&&null!==n?null==s?jf(t,n,h):gs(t,n,h,s||null,!0):1===e&&null!==n?gs(t,n,h,s||null,!0):2===e?Yf(t,h,c):3===e&&t.destroyNode(h),null!=a&&function R2(e,t,n,r,s){const a=n[7];a!==Wt(n)&&lo(t,e,r,a,s);for(let h=10;h<n.length;h++){const g=n[h];da(g[1],g,e,t,r,a)}}(t,e,a,n,s)}}function sc(e,t){return Rt(e)?e.createText(t):e.createTextNode(t)}function Ff(e,t,n){Rt(e)?e.setValue(t,n):t.textContent=n}function y2(e,t){return e.createComment(function wf(e){return e.replace(Qm,t=>t.replace(Jm,"\u200b$1\u200b"))}(t))}function oc(e,t,n){if(Rt(e))return e.createElement(t,n);{const r=null!==n?function Mi(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":t===Mr?"http://www.w3.org/1998/MathML/":null}(n):null;return null===r?e.createElement(t):e.createElementNS(r,t)}}function Nf(e,t){const n=e[9],r=n.indexOf(t),s=t[3];512&t[2]&&(t[2]&=-513,bt(s,-1)),n.splice(r,1)}function ac(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const s=r[17];null!==s&&s!==e&&Nf(s,r),t>0&&(e[n-1][4]=r[4]);const a=Qs(e,10+t);!function _2(e,t){da(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const c=a[19];null!==c&&c.detachView(a[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function Vf(e,t){if(!(128&t[2])){const n=t[11];Rt(n)&&n.destroyNode&&da(e,t,n,3,null,null),function C2(e){let t=e[13];if(!t)return lc(e[1],e);for(;t;){let n=null;if(Qt(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Qt(t)&&lc(t[1],t),t=t[3];null===t&&(t=e),Qt(t)&&lc(t[1],t),n=t&&t[4]}t=n}}(t)}}function lc(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function b2(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const s=t[n[r]];if(!(s instanceof qi)){const a=n[r+1];if(Array.isArray(a))for(let c=0;c<a.length;c+=2){const h=s[a[c]],g=a[c+1];en(4,h,g);try{g.call(h)}finally{en(5,h,g)}}else{en(4,s,a);try{a.call(s)}finally{en(5,s,a)}}}}}(e,t),function I2(e,t){const n=e.cleanup,r=t[7];let s=-1;if(null!==n)for(let a=0;a<n.length-1;a+=2)if("string"==typeof n[a]){const c=n[a+1],h="function"==typeof c?c(t):Wt(t[c]),g=r[s=n[a+2]],E=n[a+3];"boolean"==typeof E?h.removeEventListener(n[a],g,E):E>=0?r[s=E]():r[s=-E].unsubscribe(),a+=2}else{const c=r[s=n[a+1]];n[a].call(c)}if(null!==r){for(let a=s+1;a<r.length;a++)r[a]();t[7]=null}}(e,t),1===t[1].type&&Rt(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&gt(t[3])){n!==t[3]&&Nf(n,t);const r=t[19];null!==r&&r.detachView(e)}!function l2(e){Qu.delete(e[20])}(t)}}function Bf(e,t,n){return kf(e,t.parent,n)}function kf(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const s=e.data[r.directiveStart].encapsulation;if(s===Se.None||s===Se.Emulated)return null}return N(r,n)}function gs(e,t,n,r,s){Rt(e)?e.insertBefore(t,n,r,s):(Uf(t)?t.content:t).insertBefore(n,r,s)}function jf(e,t,n){Rt(e)?e.appendChild(t,n):(Uf(t)?t.content:t).appendChild(n)}function Hf(e,t,n,r,s){null!==r?gs(e,t,n,r,s):jf(e,t,n)}function Uf(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}function yl(e,t){return Rt(e)?e.parentNode(t):t.parentNode}function $f(e,t,n){return Gf(e,t,n)}function zf(e,t,n){return 40&e.type?N(e,n):null}let uc,Gf=zf;function Kf(e,t){Gf=e,uc=t}function _l(e,t,n,r){const s=Bf(e,r,t),a=t[11],h=$f(r.parent||t[6],r,t);if(null!=s)if(Array.isArray(n))for(let g=0;g<n.length;g++)Hf(a,s,n[g],h,!1);else Hf(a,s,n,h,!1);void 0!==uc&&uc(a,r,t,n,s)}function wl(e,t){if(null!==t){const n=t.type;if(3&n)return N(t,e);if(4&n)return cc(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return wl(e,r);{const s=e[t.index];return gt(s)?cc(-1,s):Wt(s)}}if(32&n)return nc(t,e)()||Wt(e[t.index]);{const r=Wf(e,t);return null!==r?Array.isArray(r)?r[0]:wl(ca(e[16]),r):wl(e,t.next)}}return null}function Wf(e,t){return null!==t?e[16][6].projection[t.projection]:null}function cc(e,t){const n=10+e+1;if(n<t.length){const r=t[n],s=r[1].firstChild;if(null!==s)return wl(r,s)}return t[7]}function Yf(e,t,n){const r=yl(e,t);r&&function S2(e,t,n,r){Rt(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}function dc(e,t,n,r,s,a,c){for(;null!=n;){const h=r[n.index],g=n.type;if(c&&0===t&&(h&&kn(Wt(h),r),n.flags|=4),64!=(64&n.flags))if(8&g)dc(e,t,n.child,r,s,a,!1),lo(t,e,s,h,a);else if(32&g){const E=nc(n,r);let A;for(;A=E();)lo(t,e,s,A,a);lo(t,e,s,h,a)}else 16&g?Zf(e,t,r,n,s,a):lo(t,e,s,h,a);n=c?n.projectionNext:n.next}}function da(e,t,n,r,s,a){dc(n,r,e.firstChild,t,s,a,!1)}function Zf(e,t,n,r,s,a){const c=n[16],g=c[6].projection[r.projection];if(Array.isArray(g))for(let E=0;E<g.length;E++)lo(t,e,s,g[E],a);else dc(e,t,g,c[3],s,a,!0)}function Xf(e,t,n){Rt(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function fc(e,t,n){Rt(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function Qf(e,t,n){let r=e.length;for(;;){const s=e.indexOf(t,n);if(-1===s)return s;if(0===s||e.charCodeAt(s-1)<=32){const a=t.length;if(s+a===r||e.charCodeAt(s+a)<=32)return s}n=s+1}}const Jf="ng-template";function O2(e,t,n){let r=0;for(;r<e.length;){let s=e[r++];if(n&&"class"===s){if(s=e[r],-1!==Qf(s.toLowerCase(),t,0))return!0}else if(1===s){for(;r<e.length&&"string"==typeof(s=e[r++]);)if(s.toLowerCase()===t)return!0;return!1}}return!1}function qf(e){return 4===e.type&&e.value!==Jf}function P2(e,t,n){return t===(4!==e.type||n?e.value:Jf)}function L2(e,t,n){let r=4;const s=e.attrs||[],a=function V2(e){for(let t=0;t<e.length;t++)if(js(e[t]))return t;return e.length}(s);let c=!1;for(let h=0;h<t.length;h++){const g=t[h];if("number"!=typeof g){if(!c)if(4&r){if(r=2|1&r,""!==g&&!P2(e,g,n)||""===g&&1===t.length){if(Or(r))return!1;c=!0}}else{const E=8&r?g:t[++h];if(8&r&&null!==e.attrs){if(!O2(e.attrs,E,n)){if(Or(r))return!1;c=!0}continue}const j=F2(8&r?"class":g,s,qf(e),n);if(-1===j){if(Or(r))return!1;c=!0;continue}if(""!==E){let q;q=j>a?"":s[j+1].toLowerCase();const he=8&r?q:null;if(he&&-1!==Qf(he,E,0)||2&r&&E!==q){if(Or(r))return!1;c=!0}}}}else{if(!c&&!Or(r)&&!Or(g))return!1;if(c&&Or(g))continue;c=!1,r=g|1&r}}return Or(r)||c}function Or(e){return 0==(1&e)}function F2(e,t,n,r){if(null===t)return-1;let s=0;if(r||!n){let a=!1;for(;s<t.length;){const c=t[s];if(c===e)return s;if(3===c||6===c)a=!0;else{if(1===c||2===c){let h=t[++s];for(;"string"==typeof h;)h=t[++s];continue}if(4===c)break;if(0===c){s+=4;continue}}s+=a?1:2}return-1}return function B2(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function e1(e,t,n=!1){for(let r=0;r<t.length;r++)if(L2(e,t[r],n))return!0;return!1}function k2(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let s=0;s<e.length;s++)if(e[s]!==r[s])continue e;return!0}}return!1}function t1(e,t){return e?":not("+t.trim()+")":t}function j2(e){let t=e[0],n=1,r=2,s="",a=!1;for(;n<e.length;){let c=e[n];if("string"==typeof c)if(2&r){const h=e[++n];s+="["+c+(h.length>0?'="'+h+'"':"")+"]"}else 8&r?s+="."+c:4&r&&(s+=" "+c);else""!==s&&!Or(c)&&(t+=t1(a,s),s=""),r=c,a=a||!Or(r);n++}return""!==s&&(t+=t1(a,s)),t}const mt={};function n1(e){r1(v(),p(),Fn()+e,!1)}function r1(e,t,n,r){if(!r)if(3==(3&t[2])){const a=e.preOrderCheckHooks;null!==a&&Ji(t,a,n)}else{const a=e.preOrderHooks;null!==a&&Fs(t,a,0,n)}or(n)}const s1={\u0275\u0275defineInjectable:oe,\u0275\u0275defineInjector:be,\u0275\u0275inject:un,\u0275\u0275invalidFactoryDep:qs,resolveForwardRef:Z};const z2=S({provide:String,useValue:S});function o1(e){return void 0!==e.useClass}function a1(e){return void 0!==e.useFactory}const Y2=is("Injectable",void 0,void 0,void 0,(e,t)=>function $2(e,t){let n=null,r=null;e.hasOwnProperty(ht)||Object.defineProperty(e,ht,{get:()=>(null===n&&(n=mn().compileInjectable(s1,`ng:///${e.name}/\u0275prov.js`,function W2(e,t){const n=t||{providedIn:null},r={name:e.name,type:e,typeArgumentCount:0,providedIn:n.providedIn};return(o1(n)||a1(n))&&void 0!==n.deps&&(r.deps=na(n.deps)),o1(n)?r.useClass=n.useClass:function G2(e){return z2 in e}(n)?r.useValue=n.useValue:a1(n)?r.useFactory=n.useFactory:function K2(e){return void 0!==e.useExisting}(n)&&(r.useExisting=n.useExisting),r}(e,t))),n)}),e.hasOwnProperty(pt)||Object.defineProperty(e,pt,{get:()=>{if(null===r){const s=mn();r=s.compileFactory(s1,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:hi(e),target:s.FactoryTarget.Injectable})}return r},configurable:!0})}(e,t)),hc=new Nt("ENVIRONMENT_INITIALIZER"),l1=new Nt("INJECTOR_DEF_TYPES");function u1(...e){return{\u0275providers:c1(0,e)}}function c1(e,...t){const n=[],r=new Set;let s;return Ar(t,a=>{const c=a;pc(c,n,[],r)&&(s||(s=[]),s.push(c))}),void 0!==s&&d1(s,n),n}function d1(e,t){for(let n=0;n<e.length;n++){const{providers:s}=e[n];Ar(s,a=>{t.push(a)})}}function pc(e,t,n,r){if(!(e=Z(e)))return!1;let s=null,a=ot(e);const c=!a&&It(e);if(a||c){if(c&&!c.standalone)return!1;s=e}else{const g=e.ngModule;if(a=ot(g),!a)return!1;s=g}const h=r.has(s);if(c){if(h)return!1;if(r.add(s),c.dependencies){const g="function"==typeof c.dependencies?c.dependencies():c.dependencies;for(const E of g)pc(E,t,n,r)}}else{if(!a)return!1;{if(null!=a.imports&&!h){let E;r.add(s);try{Ar(a.imports,A=>{pc(A,t,n,r)&&(E||(E=[]),E.push(A))})}finally{}void 0!==E&&d1(E,t)}if(!h){const E=ir(s)||(()=>new s);t.push({provide:s,useFactory:E,deps:Le},{provide:l1,useValue:s,multi:!0},{provide:hc,useValue:()=>un(s),multi:!0})}const g=a.providers;null==g||h||Ar(g,A=>{t.push(A)})}}return s!==e&&void 0!==e.providers}const Z2=S({provide:String,useValue:S});function gc(e){return null!==e&&"object"==typeof e&&Z2 in e}function ms(e){return"function"==typeof e}const Dl=new Nt("INJECTOR",-1);class p1{get(t,n=Zr){if(n===Zr){const r=new Error(`NullInjectorError: No provider for ${F(t)}!`);throw r.name="NullInjectorError",r}return n}}const mc=new Nt("Set Injector scope."),Cl={},Q2={};let vc;function yc(){return void 0===vc&&(vc=new p1),vc}class uo{}class g1 extends uo{constructor(t,n,r,s){super(),this.parent=n,this.source=r,this.scopes=s,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,wc(t,c=>this.processProvider(c)),this.records.set(Dl,co(void 0,this)),s.has("environment")&&this.records.set(uo,co(void 0,this));const a=this.records.get(mc);null!=a&&"string"==typeof a.value&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(l1.multi,Le,Ke.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}get(t,n=Zr,r=Ke.Default){this.assertNotDestroyed();const s=Oi(this),a=kt(void 0);try{if(!(r&Ke.SkipSelf)){let h=this.records.get(t);if(void 0===h){const g=function nv(e){return"function"==typeof e||"object"==typeof e&&e instanceof Nt}(t)&&st(t);h=g&&this.injectableDefInScope(g)?co(_c(t),Cl):null,this.records.set(t,h)}if(null!=h)return this.hydrate(t,h)}return(r&Ke.Self?yc():this.parent).get(t,n=r&Ke.Optional&&n===Zr?null:n)}catch(c){if("NullInjectorError"===c.name){if((c[cs]=c[cs]||[]).unshift(F(t)),s)throw c;return function ta(e,t,n,r){const s=e[cs];throw t[ol]&&s.unshift(t[ol]),e.message=function Su(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let s=F(t);if(Array.isArray(t))s=t.map(F).join(" -> ");else if("object"==typeof t){let a=[];for(let c in t)if(t.hasOwnProperty(c)){let h=t[c];a.push(c+":"+("string"==typeof h?JSON.stringify(h):F(h)))}s=`{${a.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${e.replace(il,"\n ")}`}("\n"+e.message,s,n,r),e.ngTokenPath=s,e[cs]=null,e}(c,t,"R3InjectorError",this.source)}throw c}finally{kt(a),Oi(s)}}resolveInjectorInitializers(){const t=Oi(this),n=kt(void 0);try{const r=this.get(hc.multi,Le,Ke.Self);for(const s of r)s()}finally{Oi(t),kt(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(F(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new se(205,!1)}processProvider(t){let n=ms(t=Z(t))?t:Z(t&&t.provide);const r=function q2(e){return gc(e)?co(void 0,e.useValue):co(m1(e),Cl)}(t);if(ms(t)||!0!==t.multi)this.records.get(n);else{let s=this.records.get(n);s||(s=co(void 0,Cl,!0),s.factory=()=>Li(s.multi),this.records.set(n,s)),n=t,s.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Cl&&(n.value=Q2,n.value=n.factory()),"object"==typeof n.value&&n.value&&function tv(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=Z(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function _c(e){const t=st(e),n=null!==t?t.factory:ir(e);if(null!==n)return n;if(e instanceof Nt)throw new se(204,!1);if(e instanceof Function)return function J2(e){const t=e.length;if(t>0)throw ls(t,"?"),new se(204,!1);const n=function ft(e){const t=e&&(e[ht]||e[$t]);if(t){const n=function Et(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new se(204,!1)}function m1(e,t,n){let r;if(ms(e)){const s=Z(e);return ir(s)||_c(s)}if(gc(e))r=()=>Z(e.useValue);else if(function h1(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Li(e.deps||[]));else if(function f1(e){return!(!e||!e.useExisting)}(e))r=()=>un(Z(e.useExisting));else{const s=Z(e&&(e.useClass||e.provide));if(!function ev(e){return!!e.deps}(e))return ir(s)||_c(s);r=()=>new s(...Li(e.deps))}return r}function co(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function rv(e){return!!e.\u0275providers}function wc(e,t){for(const n of e)Array.isArray(n)?wc(n,t):rv(n)?wc(n.\u0275providers,t):t(n)}function Dc(e,t=null,n=null,r){const s=v1(e,t,n,r);return s.resolveInjectorInitializers(),s}function v1(e,t=null,n=null,r,s=new Set){const a=[n||Le,u1(e)];return r=r||("object"==typeof e?void 0:F(e)),new g1(a,t||yc(),r||null,s)}let Pr=(()=>{class e{static create(n,r){if(Array.isArray(n))return Dc({name:""},r,n,"");{const s=n.name??"";return Dc({name:s},n.parent,n.providers,s)}}}return e.THROW_IF_NOT_FOUND=Zr,e.NULL=new p1,e.\u0275prov=oe({token:e,providedIn:"any",factory:()=>un(Dl)}),e.__NG_ELEMENT_ID__=-1,e})();function Cc(e){return e.length>1?" ("+function iv(e){const t=[];for(let n=0;n<e.length;++n){if(t.indexOf(e[n])>-1)return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map(r=>F(r.token)).join(" -> ")+")":""}function Ec(e,t,n,r){const s=[t],a=n(s),c=r?function Xm(e,t){const n=`${e} caused by: ${t instanceof Error?t.message:t}`,r=Error(n);return r[Zu]=t,r}(a,r):Error(a);return c.addKey=sv,c.keys=s,c.injectors=[e],c.constructResolvingMessage=n,c[Zu]=r,c}function sv(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function y1(e,t){const n=[];for(let r=0,s=t.length;r<s;r++){const a=t[r];n.push(a&&0!=a.length?a.map(F).join(" "):"?")}return Error("Cannot resolve all parameters for '"+F(e)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+F(e)+"' is decorated with Injectable.")}function dv(e,t){return Error(`Cannot mix multi providers and regular providers, got: ${e} ${t}`)}class mi{constructor(t,n){if(this.token=t,this.id=n,!t)throw new Error("Token must be defined!");this.displayName=F(this.token)}static get(t){return _1.get(Z(t))}static get numberOfKeys(){return _1.numberOfKeys}}class fv{constructor(){this._allKeys=new Map}get(t){if(t instanceof mi)return t;if(this._allKeys.has(t))return this._allKeys.get(t);const n=new mi(t,mi.numberOfKeys);return this._allKeys.set(t,n),n}get numberOfKeys(){return this._allKeys.size}}const _1=new fv;class El{constructor(t,n,r){this.key=t,this.optional=n,this.visibility=r}static fromKey(t){return new El(t,!1,null)}}const hv=[];class w1{constructor(t,n,r){this.key=t,this.resolvedFactories=n,this.multiProvider=r,this.resolvedFactory=this.resolvedFactories[0]}}class D1{constructor(t,n){this.factory=t,this.dependencies=n}}function pv(e){let t,n;if(e.useClass){const r=Z(e.useClass);t=Rr().factory(r),n=E1(r)}else e.useExisting?(t=r=>r,n=[El.fromKey(mi.get(e.useExisting))]):e.useFactory?(t=e.useFactory,n=function yv(e,t){if(t){const n=t.map(r=>[r]);return t.map(r=>M1(e,r,n))}return E1(e)}(e.useFactory,e.deps)):(t=()=>e.useValue,n=hv);return new D1(t,n)}function gv(e){return new w1(mi.get(e.provide),[pv(e)],e.multi||!1)}function mv(e){const r=function vv(e,t){for(let n=0;n<e.length;n++){const r=e[n],s=t.get(r.key.id);if(s){if(r.multiProvider!==s.multiProvider)throw dv(s,r);if(r.multiProvider)for(let a=0;a<r.resolvedFactories.length;a++)s.resolvedFactories.push(r.resolvedFactories[a]);else t.set(r.key.id,r)}else{let a;a=r.multiProvider?new w1(r.key,r.resolvedFactories.slice(),r.multiProvider):r,t.set(r.key.id,a)}}return t}(C1(e,[]).map(gv),new Map);return Array.from(r.values())}function C1(e,t){return e.forEach(n=>{if(n instanceof Zs)t.push({provide:n,useClass:n});else if(n&&"object"==typeof n&&void 0!==n.provide)t.push(n);else{if(!Array.isArray(n))throw function uv(e){return Error(`Invalid provider - only instances of Provider and Type are allowed, got: ${e}`)}(n);C1(n,t)}}),t}function E1(e){const t=Rr().parameters(e);if(!t)return[];if(t.some(n=>null==n))throw y1(e,t);return t.map(n=>M1(e,n,t))}function M1(e,t,n){let r=null,s=!1;if(!Array.isArray(t))return Mc(t instanceof eo?t.token:t,s,null);let a=null;for(let c=0;c<t.length;++c){const h=t[c];h instanceof Zs?r=h:h instanceof eo?r=h.token:h instanceof to?s=!0:h instanceof no||h instanceof ds?a=h:h instanceof Nt&&(r=h)}if(r=Z(r),null!=r)return Mc(r,s,a);throw y1(e,n)}function Mc(e,t,n){return new El(mi.get(e),t,n)}const fa={};class fo{static resolve(t){return mv(t)}static resolveAndCreate(t,n){const r=fo.resolve(t);return fo.fromResolvedProviders(r,n)}static fromResolvedProviders(t,n){return new _v(t,n)}}let _v=(()=>{class e{constructor(n,r){this._constructionCounter=0,this._providers=n,this.parent=r||null;const s=n.length;this.keyIds=[],this.objs=[];for(let a=0;a<s;a++)this.keyIds[a]=n[a].key.id,this.objs[a]=fa}get(n,r=Zr){return this._getByKey(mi.get(n),null,r)}resolveAndCreateChild(n){const r=fo.resolve(n);return this.createChildFromResolved(r)}createChildFromResolved(n){const r=new e(n);return r.parent=this,r}resolveAndInstantiate(n){return this.instantiateResolved(fo.resolve([n])[0])}instantiateResolved(n){return this._instantiateProvider(n)}getProviderAtIndex(n){if(n<0||n>=this._providers.length)throw function cv(e){return Error(`Index ${e} is out-of-bounds.`)}(n);return this._providers[n]}_new(n){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw function av(e,t){return Ec(e,t,function(n){return`Cannot instantiate cyclic dependency!${Cc(n)}`})}(this,n.key);return this._instantiateProvider(n)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(n){if(n.multiProvider){const r=[];for(let s=0;s<n.resolvedFactories.length;++s)r[s]=this._instantiate(n,n.resolvedFactories[s]);return r}return this._instantiate(n,n.resolvedFactories[0])}_instantiate(n,r){const s=r.factory;let a,c;try{a=r.dependencies.map(h=>this._getByReflectiveDependency(h))}catch(h){throw h.addKey&&h.addKey(this,n.key),h}try{c=s(...a)}catch(h){throw function lv(e,t,n,r){return Ec(e,r,function(s){const a=F(s[0].token);return`${t.message}: Error during instantiation of ${a}!${Cc(s)}.`},t)}(this,h,0,n.key)}return c}_getByReflectiveDependency(n){return this._getByKey(n.key,n.visibility,n.optional?null:Zr)}_getByKey(n,r,s){return n===e.INJECTOR_KEY?this:r instanceof no?this._getByKeySelf(n,s):this._getByKeyDefault(n,s,r)}_getObjByKeyId(n){for(let r=0;r<this.keyIds.length;r++)if(this.keyIds[r]===n)return this.objs[r]===fa&&(this.objs[r]=this._new(this._providers[r])),this.objs[r];return fa}_throwOrNull(n,r){if(r!==Zr)return r;throw function ov(e,t){return Ec(e,t,function(n){return`No provider for ${F(n[0].token)}!${Cc(n)}`})}(this,n)}_getByKeySelf(n,r){const s=this._getObjByKeyId(n.id);return s!==fa?s:this._throwOrNull(n,r)}_getByKeyDefault(n,r,s){let a;for(a=s instanceof ds?this.parent:this;a instanceof e;){const c=a,h=c._getObjByKeyId(n.id);if(h!==fa)return h;a=c.parent}return null!==a?a.get(n.token,r):this._throwOrNull(n,r)}get displayName(){return`ReflectiveInjector(providers: [${function wv(e,t){const n=[];for(let r=0;r<e._providers.length;++r)n[r]=t(e.getProviderAtIndex(r));return n}(this,r=>' "'+r.key.displayName+'" ').join(", ")}])`}toString(){return this.displayName}}return e.INJECTOR_KEY=mi.get(Pr),e})();function ho(e,t=Ke.Default){const n=p();return null===n?un(e,t):Ks(Be(),n,Z(e),t)}function I1(){throw new Error("invalid")}const b1={name:"custom-elements"},S1={name:"no-errors-schema"};let Ic=!1;function Dv(e){Ic=e}function Cv(){return Ic}let bc=!1;function Ev(e){bc=e}function Mv(){return bc}function Ml(e,t){return e<<17|t<<2}function Lr(e){return e>>17&32767}function Tc(e){return 2|e}function vi(e){return(131068&e)>>2}function Ac(e,t){return-131069&e|t<<2}function Rc(e){return 1|e}const Bc=(()=>Promise.resolve(null))();function H1(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const s=n[r],a=n[r+1];if(-1!==a){const c=e.data[a];ko(s),c.contentQueries(2,t[a],a)}}}function ha(e,t,n,r,s,a,c,h,g,E,A){const j=t.blueprint.slice();return j[0]=s,j[2]=76|r,(null!==A||e&&1024&e[2])&&(j[2]|=1024),an(j),j[3]=j[15]=e,j[8]=n,j[10]=c||e&&e[10],j[11]=h||e&&e[11],j[12]=g||e&&e[12]||null,j[9]=E||e&&e[9]||null,j[6]=a,j[20]=function o2(){return s2++}(),j[21]=A,j[16]=2==t.type?e[16]:j,j}function po(e,t,n,r,s){let a=e.data[t];if(null===a)a=kc(e,t,n,r,s),function xs(){return Qe.lFrame.inI18n}()&&(a.flags|=64);else if(64&a.type){a.type=n,a.value=r,a.attrs=s;const c=Sn();a.injectorIndex=null===c?-1:c.injectorIndex}return pn(a,!0),a}function kc(e,t,n,r,s){const a=Yt(),c=dr(),g=e.data[t]=function Hv(e,t,n,r,s,a){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:s,attrs:a,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,c?a:a&&a.parent,n,t,r,s);return null===e.firstChild&&(e.firstChild=g),null!==a&&(c?null==a.child&&null!==g.parent&&(a.child=g):null===a.next&&(a.next=g)),g}function go(e,t,n,r){if(0===n)return-1;const s=t.length;for(let a=0;a<n;a++)t.push(r),e.blueprint.push(r),e.data.push(null);return s}function pa(e,t,n){Ps(t);try{const r=e.viewQuery;null!==r&&Yc(1,r,n);const s=e.template;null!==s&&U1(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&H1(e,t),e.staticViewQueries&&Yc(2,e.viewQuery,n);const a=e.components;null!==a&&function Bv(e,t){for(let n=0;n<t.length;n++)sy(e,t[n])}(t,a)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,fi()}}function mo(e,t,n,r){const s=t[2];if(128!=(128&s)){Ps(t);try{an(t),Yi(e.bindingStartIndex),null!==n&&U1(e,t,n,2,r);const c=3==(3&s);if(c){const E=e.preOrderCheckHooks;null!==E&&Ji(t,E,null)}else{const E=e.preOrderHooks;null!==E&&Fs(t,E,0,null),Ns(t,0)}if(function ry(e){for(let t=rc(e);null!==t;t=ic(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const s=n[r],a=s[3];0==(512&s[2])&&bt(a,1),s[2]|=512}}}(t),function ny(e){for(let t=rc(e);null!==t;t=ic(t))for(let n=10;n<t.length;n++){const r=t[n],s=r[1];Lt(r)&&mo(s,r,s.template,r[8])}}(t),null!==e.contentQueries&&H1(e,t),c){const E=e.contentCheckHooks;null!==E&&Ji(t,E)}else{const E=e.contentHooks;null!==E&&Fs(t,E,1),Ns(t,1)}!function Nv(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const s=n[r];if(s<0)or(~s);else{const a=s,c=n[++r],h=n[++r];Zi(c,a),h(2,t[a])}}}finally{or(-1)}}(e,t);const h=e.components;null!==h&&function Vv(e,t){for(let n=0;n<t.length;n++)iy(e,t[n])}(t,h);const g=e.viewQuery;if(null!==g&&Yc(2,g,r),c){const E=e.viewCheckHooks;null!==E&&Ji(t,E)}else{const E=e.viewHooks;null!==E&&Fs(t,E,2),Ns(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,bt(t[3],-1))}finally{fi()}}}function kv(e,t,n,r){const s=t[10],c=Ot(t);try{!c&&s.begin&&s.begin(),c&&pa(e,t,r),mo(e,t,n,r)}finally{!c&&s.end&&s.end()}}function U1(e,t,n,r,s){const a=Fn(),c=2&r;try{or(-1),c&&t.length>22&&r1(e,t,22,!1),en(c?2:0,s),n(r,s)}finally{or(a),en(c?3:1,s)}}function $1(e,t,n){if(cn(t)){const s=t.directiveEnd;for(let a=t.directiveStart;a<s;a++){const c=e.data[a];c.contentQueries&&c.contentQueries(1,n[a],a)}}}function jc(e,t,n){!Gr()||(function Yv(e,t,n,r){const s=n.directiveStart,a=n.directiveEnd;e.firstCreatePass||es(n,t),kn(r,t);const c=n.initialInputs;for(let h=s;h<a;h++){const g=e.data[h],E=zt(g);E&&qv(t,n,g);const A=Ti(t,e,h,n);kn(A,t),null!==c&&ey(0,h-s,A,g,0,c),E&&($e(n.index,t)[8]=A)}}(e,t,n,N(n,t)),128==(128&n.flags)&&function Zv(e,t,n){const r=n.directiveStart,s=n.directiveEnd,a=n.index,c=function Aa(){return Qe.lFrame.currentDirectiveIndex}();try{or(a);for(let h=r;h<s;h++){const g=e.data[h],E=t[h];Vo(h),(null!==g.hostBindings||0!==g.hostVars||null!==g.hostAttrs)&&X1(g,E)}}finally{or(-1),Vo(c)}}(e,t,n))}function Hc(e,t,n=N){const r=t.localNames;if(null!==r){let s=t.index+1;for(let a=0;a<r.length;a+=2){const c=r[a+1],h=-1===c?n(t,e):e[c];e[s++]=h}}}function z1(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Sl(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Sl(e,t,n,r,s,a,c,h,g,E){const A=22+r,j=A+s,q=function jv(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:mt);return n}(A,j),he="function"==typeof E?E():E;return q[1]={type:e,blueprint:q,template:n,queries:null,viewQuery:h,declTNode:t,data:q.slice().fill(null,A),bindingStartIndex:A,expandoStartIndex:j,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof a?a():a,pipeRegistry:"function"==typeof c?c():c,firstChild:null,schemas:g,consts:he,incompleteFirstPass:!1}}function K1(e,t,n){if(Rt(e))return e.selectRootElement(t,n===Se.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}function W1(e,t,n,r){const s=nh(t);null===n?s.push(r):(s.push(n),e.firstCreatePass&&rh(e).push(r,s.length-1))}function Y1(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const s=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,s):n[r]=[t,s]}return n}function fr(e,t,n,r,s,a,c,h){const g=N(t,n);let A,E=t.inputs;!h&&null!=E&&(A=E[r])?(oh(e,n,A,r,s),wt(t)&&function zv(e,t){const n=$e(t,e);16&n[2]||(n[2]|=32)}(n,t.index)):3&t.type&&(r=function $v(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),s=null!=c?c(s,t.value||"",r):s,Rt(a)?a.setProperty(g,r,s):Ho(r)||(g.setProperty?g.setProperty(r,s):g[r]=s))}function Uc(e,t,n,r){let s=!1;if(Gr()){const a=function Xv(e,t,n){const r=e.directiveRegistry;let s=null;if(r)for(let a=0;a<r.length;a++){const c=r[a];e1(n,c.selectors,!1)&&(s||(s=[]),Gs(es(n,t),e,c.type),zt(c)?(Q1(e,n),s.unshift(c)):s.push(c))}return s}(e,t,n),c=null===r?null:{"":-1};if(null!==a){s=!0,J1(n,e.data.length,a.length);for(let A=0;A<a.length;A++){const j=a[A];j.providersResolver&&j.providersResolver(j)}let h=!1,g=!1,E=go(e,t,a.length,null);for(let A=0;A<a.length;A++){const j=a[A];n.mergedAttrs=Hs(n.mergedAttrs,j.hostAttrs),q1(e,n,t,E,j),Jv(E,j,c),null!==j.contentQueries&&(n.flags|=8),(null!==j.hostBindings||null!==j.hostAttrs||0!==j.hostVars)&&(n.flags|=128);const q=j.type.prototype;!h&&(q.ngOnChanges||q.ngOnInit||q.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),h=!0),!g&&(q.ngOnChanges||q.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),g=!0),E++}!function Uv(e,t){const r=t.directiveEnd,s=e.data,a=t.attrs,c=[];let h=null,g=null;for(let E=t.directiveStart;E<r;E++){const A=s[E],j=A.inputs,q=null===a||qf(t)?null:ty(j,a);c.push(q),h=Y1(j,E,h),g=Y1(A.outputs,E,g)}null!==h&&(h.hasOwnProperty("class")&&(t.flags|=16),h.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=c,t.inputs=h,t.outputs=g}(e,n)}c&&function Qv(e,t,n){if(t){const r=e.localNames=[];for(let s=0;s<t.length;s+=2){const a=n[t[s+1]];if(null==a)throw new se(-301,!1);r.push(t[s],a)}}}(n,r,c)}return n.mergedAttrs=Hs(n.mergedAttrs,n.attrs),s}function Z1(e,t,n,r,s,a){const c=a.hostBindings;if(c){let h=e.hostBindingOpCodes;null===h&&(h=e.hostBindingOpCodes=[]);const g=~t.index;(function Wv(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(h)!=g&&h.push(g),h.push(r,s,c)}}function X1(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Q1(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Jv(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;zt(t)&&(n[""]=e)}}function J1(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function q1(e,t,n,r,s){e.data[r]=s;const a=s.factory||(s.factory=ir(s.type)),c=new qi(a,zt(s),ho);e.blueprint[r]=c,n[r]=c,Z1(e,t,0,r,go(e,n,s.hostVars,mt),s)}function qv(e,t,n){const r=N(t,e),s=z1(n),a=e[10],c=Tl(e,ha(e,s,null,n.onPush?32:16,r,t,a,a.createRenderer(r,n),null,null,null));e[t.index]=c}function Qr(e,t,n,r,s,a){const c=N(e,t);$c(t[11],c,a,e.value,n,r,s)}function $c(e,t,n,r,s,a,c){if(null==a)Rt(e)?e.removeAttribute(t,s,n):t.removeAttribute(s);else{const h=null==c?W(a):c(a,r||"",s);Rt(e)?e.setAttribute(t,s,h,n):n?t.setAttributeNS(n,s,h):t.setAttribute(s,h)}}function ey(e,t,n,r,s,a){const c=a[t];if(null!==c){const h=r.setInput;for(let g=0;g<c.length;){const E=c[g++],A=c[g++],j=c[g++];null!==h?r.setInput(n,j,E,A):n[A]=j}}}function ty(e,t){let n=null,r=0;for(;r<t.length;){const s=t[r];if(0!==s)if(5!==s){if("number"==typeof s)break;e.hasOwnProperty(s)&&(null===n&&(n=[]),n.push(s,e[s],t[r+1])),r+=2}else r+=2;else r+=4}return n}function eh(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function iy(e,t){const n=$e(t,e);if(Lt(n)){const r=n[1];48&n[2]?mo(r,n,r.template,n[8]):n[5]>0&&zc(n)}}function zc(e){for(let r=rc(e);null!==r;r=ic(r))for(let s=10;s<r.length;s++){const a=r[s];if(512&a[2]){const c=a[1];mo(c,a,c.template,a[8])}else a[5]>0&&zc(a)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const s=$e(n[r],e);Lt(s)&&s[5]>0&&zc(s)}}function sy(e,t){const n=$e(t,e),r=n[1];(function oy(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),pa(r,n,n[8])}function Tl(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Gc(e){for(;e;){e[2]|=32;const t=ca(e);if(Hi(e)&&!t)return e;e=t}return null}function Kc(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=ec(n);if(null!==r){const s=r[1];kv(s,r,s.template,n)}}}function Wc(e,t,n){const r=t[10];r.begin&&r.begin();try{mo(e,t,e.template,n)}catch(s){throw sh(t,s),s}finally{r.end&&r.end()}}function Yc(e,t,n){ko(0),t(e,n)}const ly=Bc;function nh(e){return e[7]||(e[7]=[])}function rh(e){return e.cleanup||(e.cleanup=[])}function ih(e,t,n){return(null===e||zt(e))&&(n=function y(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function sh(e,t){const n=e[9],r=n?n.get(la,null):null;r&&r.handleError(t)}function oh(e,t,n,r,s){for(let a=0;a<n.length;){const c=n[a++],h=n[a++],g=t[c],E=e.data[c];null!==E.setInput?E.setInput(g,s,r,h):g[h]=s}}function yi(e,t,n){const r=w(t,e);Ff(e[11],r,n)}function Al(e,t,n){let r=n?e.styles:null,s=n?e.classes:null,a=0;if(null!==t)for(let c=0;c<t.length;c++){const h=t[c];"number"==typeof h?a=h:1==a?s=B(s,h):2==a&&(r=B(r,h+": "+t[++c]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=s:e.classesWithoutHost=s}function ah(e){const t=Ef(e);Wc(t[1],t,e)}function lh(e){!function ay(e,t){if(0===e.flags&&e.clean==Bc){let r;e.flags|=t,e.clean=new Promise(s=>r=s),e.scheduler(()=>{if(1&e.flags&&(e.flags&=-2,Kc(e)),2&e.flags){e.flags&=-3;const s=e.playerHandler;s&&s.flushPlayers()}e.clean=Bc,r(null)})}}(Gc(Ef(e))[8],1)}function Zc(e){const t=Bn(e);if(null===t)return null;if(void 0===t.component){const n=t.lView;if(null===n)return null;t.component=function h2(e,t){const n=t[1].data[e];return 2&n.flags?t[n.directiveStart]:null}(t.nodeIndex,n)}return t.component}function uh(e){!function py(e){if(typeof Element<"u"&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}(e);const t=Bn(e),n=t?t.lView:null;return null===n?null:n[8]}function ch(e){const t=Bn(e);let r,n=t?t.lView:null;if(null===n)return null;for(;2===n[1].type&&(r=ca(n));)n=r;return 256&n[2]?null:n[8]}function dh(e){const t=ec(e);return null!==t?[...Pf(t).components]:[]}function fh(e){const t=Bn(e),n=t?t.lView:null;return null===n?Pr.NULL:new Ai(n[1].data[t.nodeIndex],n)}function hh(e){if(e instanceof Text)return[];const t=Bn(e),n=t?t.lView:null;if(null===n)return[];const s=t.nodeIndex;return n[1]?.data[s]?(void 0===t.directives&&(t.directives=bf(s,n,!1)),null===t.directives?[]:[...t.directives]):[]}function cy(e){const{constructor:t}=e;if(!t)throw new Error("Unable to find the instance constructor");const n=It(t);if(n)return{inputs:n.inputs,outputs:n.outputs,encapsulation:n.encapsulation,changeDetection:n.onPush?Ee.OnPush:Ee.Default};const r=Je(t);return r?{inputs:r.inputs,outputs:r.outputs}:null}function Xc(e){return Bn(e).native}function ph(e){const t=Bn(e),n=null===t?null:t.lView;if(null===n)return[];const s=n[7],a=n[1].cleanup,c=[];if(a&&s)for(let h=0;h<a.length;){const g=a[h++],E=a[h++];if("string"==typeof g){const A=g,j=Wt(n[E]),q=s[a[h++]],he=a[h++],Te="boolean"==typeof he||he>=0?"dom":"output",Pe="boolean"==typeof he&&he;e==j&&c.push({element:e,name:A,callback:q,useCapture:Pe,type:Te})}}return c.sort(fy),c}function fy(e,t){return e.name==t.name?0:e.name<t.name?-1:1}function hy(e){return void 0!==e.type&&void 0!==e.template&&void 0!==e.declaredInputs}function gy(e){lh(e),dh(e).forEach(t=>ah(t))}let mh=!1;function my(){mh||(mh=!0,wr("\u0275setProfiler",$r),wr("getDirectiveMetadata",cy),wr("getComponent",Zc),wr("getContext",uh),wr("getListeners",ph),wr("getOwningComponent",ch),wr("getHostElement",Xc),wr("getInjector",fh),wr("getRootComponents",dh),wr("getDirectives",hh),wr("applyChanges",gy))}function wr(e,t){if(typeof COMPILED>"u"||!COMPILED){const n=ue;if(n){let r=n.ng;r||(r=n.ng={}),r[e]=t}}}function vy(e,t={}){const n=t.rendererFactory||Ir,r=t.sanitizer||null,s=It(e);s.type!=e&&(s.type=e);const a=s.selectors[0][0],h=K1(n.createRenderer(null,null),t.host||a,s.encapsulation),g=s.onPush?288:272,E=_h(t.scheduler,t.playerHandler),A=n.createRenderer(h,s),j=Sl(0,null,null,1,0,null,null,null,null,null),q=ha(null,j,E,g,null,null,n,A,null,t.injector||null,null);let he;Ps(q);try{n.begin&&n.begin(),he=yh(vh(h,s,q,n,A,r),s,q,E,t.hostFeatures||null),pa(j,q,null),mo(j,q,null,null)}finally{fi(),n.end&&n.end()}return he}function vh(e,t,n,r,s,a){const c=n[1];n[22]=e;const g=po(c,22,2,"#host",null),E=g.mergedAttrs=t.hostAttrs;null!==E&&(Al(g,E,!0),null!==e&&(ks(s,e,E),null!==g.classes&&fc(s,e,g.classes),null!==g.styles&&Xf(s,e,g.styles)));const A=r.createRenderer(e,t),j=ha(n,z1(t),null,t.onPush?32:16,n[22],g,r,A,a||null,null,null);return c.firstCreatePass&&(Gs(es(g,n),c,t.type),Q1(c,g),J1(g,n.length,1)),Tl(n,j),n[22]=j}function yh(e,t,n,r,s){const a=n[1],c=function Kv(e,t,n){const r=Be();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),q1(e,r,t,go(e,t,1,null),n));const s=Ti(t,e,r.directiveStart,r);kn(s,t);const a=N(r,t);return a&&kn(a,t),s}(a,n,t);if(r.components.push(c),e[8]=c,null!==s)for(const g of s)g(c,t);if(t.contentQueries){const g=Be();t.contentQueries(1,c,g.directiveStart)}const h=Be();return!a.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(or(h.index),Z1(n[1],h,0,h.directiveStart,h.directiveEnd,t),X1(t,c)),c}function _h(e,t){return{components:[],scheduler:e||g2,clean:ly,playerHandler:t||null,flags:0}}function wh(){const e=Be();Ls(p()[1],e)}function yy(e){return Pf(e).clean}function Dh(e){return Object.getPrototypeOf(e.prototype).constructor}function Qc(e){let t=Dh(e.type),n=!0;const r=[e];for(;t;){let s;if(zt(e))s=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new se(903,"");s=t.\u0275dir}if(s){if(n){r.push(s);const c=e;c.inputs=Jc(e.inputs),c.declaredInputs=Jc(e.declaredInputs),c.outputs=Jc(e.outputs);const h=s.hostBindings;h&&Cy(e,h);const g=s.viewQuery,E=s.contentQueries;if(g&&wy(e,g),E&&Dy(e,E),x(e.inputs,s.inputs),x(e.declaredInputs,s.declaredInputs),x(e.outputs,s.outputs),zt(s)&&s.data.animation){const A=e.data;A.animation=(A.animation||[]).concat(s.data.animation)}}const a=s.features;if(a)for(let c=0;c<a.length;c++){const h=a[c];h&&h.ngInherit&&h(e),h===Qc&&(n=!1)}}t=Object.getPrototypeOf(t)}!function _y(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const s=e[r];s.hostVars=t+=s.hostVars,s.hostAttrs=Hs(s.hostAttrs,n=Hs(n,s.hostAttrs))}}(r)}function Jc(e){return e===Dt?{}:e===Le?[]:e}function wy(e,t){const n=e.viewQuery;e.viewQuery=n?(r,s)=>{t(r,s),n(r,s)}:t}function Dy(e,t){const n=e.contentQueries;e.contentQueries=n?(r,s,a)=>{t(r,s,a),n(r,s,a)}:t}function Cy(e,t){const n=e.hostBindings;e.hostBindings=n?(r,s)=>{t(r,s),n(r,s)}:t}const Ey=["providersResolver"],My=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function Ch(e){let n,t=Dh(e.type);n=zt(e)?t.\u0275cmp:t.\u0275dir;const r=e;for(const s of Ey)r[s]=n[s];if(zt(n))for(const s of My)r[s]=n[s]}let Rl=null;function vs(){if(!Rl){const e=ue.Symbol;if(e&&e.iterator)Rl=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Rl=r)}}}return Rl}function ga(e){return!!qc(e)&&(Array.isArray(e)||!(e instanceof Map)&&vs()in e)}function qc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Eh(e,t){const n=ga(e),r=ga(t);return n&&r?function Iy(e,t,n){const r=e[vs()](),s=t[vs()]();for(;;){const a=r.next(),c=s.next();if(a.done&&c.done)return!0;if(a.done||c.done||!n(a.value,c.value))return!1}}(e,t,Eh):!(n||!e||"object"!=typeof e&&"function"!=typeof e||r||!t||"object"!=typeof t&&"function"!=typeof t)||Object.is(e,t)}function Jr(e,t,n){return e[t]=n}function ma(e,t){return e[t]}function jn(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function ys(e,t,n,r){const s=jn(e,t,n);return jn(e,t+1,r)||s}function xl(e,t,n,r,s){const a=ys(e,t,n,r);return jn(e,t+2,s)||a}function Dr(e,t,n,r,s,a){const c=ys(e,t,n,r);return ys(e,t+2,s,a)||c}function ed(e,t,n,r){const s=p();return jn(s,di(),t)&&(v(),Qr(tn(),s,e,t,n,r)),ed}function vo(e,t){let n=!1,r=Tr();for(let a=1;a<t.length;a+=2)n=jn(e,r++,t[a])||n;if(Yi(r),!n)return mt;let s=t[0];for(let a=1;a<t.length;a+=2)s+=W(t[a])+t[a+1];return s}function yo(e,t,n,r){return jn(e,di(),n)?t+W(n)+r:mt}function _o(e,t,n,r,s,a){const h=ys(e,Tr(),n,s);return vr(2),h?t+W(n)+r+W(s)+a:mt}function wo(e,t,n,r,s,a,c,h){const E=xl(e,Tr(),n,s,c);return vr(3),E?t+W(n)+r+W(s)+a+W(c)+h:mt}function Do(e,t,n,r,s,a,c,h,g,E){const j=Dr(e,Tr(),n,s,c,g);return vr(4),j?t+W(n)+r+W(s)+a+W(c)+h+W(g)+E:mt}function Co(e,t,n,r,s,a,c,h,g,E,A,j){const q=Tr();let he=Dr(e,q,n,s,c,g);return he=jn(e,q+4,A)||he,vr(5),he?t+W(n)+r+W(s)+a+W(c)+h+W(g)+E+W(A)+j:mt}function Eo(e,t,n,r,s,a,c,h,g,E,A,j,q,he){const Te=Tr();let Pe=Dr(e,Te,n,s,c,g);return Pe=ys(e,Te+4,A,q)||Pe,vr(6),Pe?t+W(n)+r+W(s)+a+W(c)+h+W(g)+E+W(A)+j+W(q)+he:mt}function Mo(e,t,n,r,s,a,c,h,g,E,A,j,q,he,Te,Pe){const Ue=Tr();let We=Dr(e,Ue,n,s,c,g);return We=xl(e,Ue+4,A,q,Te)||We,vr(7),We?t+W(n)+r+W(s)+a+W(c)+h+W(g)+E+W(A)+j+W(q)+he+W(Te)+Pe:mt}function Io(e,t,n,r,s,a,c,h,g,E,A,j,q,he,Te,Pe,Ue,We){const lt=Tr();let Re=Dr(e,lt,n,s,c,g);return Re=Dr(e,lt+4,A,q,Te,Ue)||Re,vr(8),Re?t+W(n)+r+W(s)+a+W(c)+h+W(g)+E+W(A)+j+W(q)+he+W(Te)+Pe+W(Ue)+We:mt}function td(e,t,n,r,s,a){const c=p(),h=yo(c,t,n,r);return h!==mt&&Qr(tn(),c,e,h,s,a),td}function nd(e,t,n,r,s,a,c,h){const g=p(),E=_o(g,t,n,r,s,a);return E!==mt&&Qr(tn(),g,e,E,c,h),nd}function rd(e,t,n,r,s,a,c,h,g,E){const A=p(),j=wo(A,t,n,r,s,a,c,h);return j!==mt&&Qr(tn(),A,e,j,g,E),rd}function id(e,t,n,r,s,a,c,h,g,E,A,j){const q=p(),he=Do(q,t,n,r,s,a,c,h,g,E);return he!==mt&&Qr(tn(),q,e,he,A,j),id}function sd(e,t,n,r,s,a,c,h,g,E,A,j,q,he){const Te=p(),Pe=Co(Te,t,n,r,s,a,c,h,g,E,A,j);return Pe!==mt&&Qr(tn(),Te,e,Pe,q,he),sd}function od(e,t,n,r,s,a,c,h,g,E,A,j,q,he,Te,Pe){const Ue=p(),We=Eo(Ue,t,n,r,s,a,c,h,g,E,A,j,q,he);return We!==mt&&Qr(tn(),Ue,e,We,Te,Pe),od}function ad(e,t,n,r,s,a,c,h,g,E,A,j,q,he,Te,Pe,Ue,We){const lt=p(),Re=Mo(lt,t,n,r,s,a,c,h,g,E,A,j,q,he,Te,Pe);return Re!==mt&&Qr(tn(),lt,e,Re,Ue,We),ad}function ld(e,t,n,r,s,a,c,h,g,E,A,j,q,he,Te,Pe,Ue,We,lt,Re){const nt=p(),St=Io(nt,t,n,r,s,a,c,h,g,E,A,j,q,he,Te,Pe,Ue,We);return St!==mt&&Qr(tn(),nt,e,St,lt,Re),ld}function ud(e,t,n,r){const s=p(),a=vo(s,t);return a!==mt&&Qr(tn(),s,e,a,n,r),ud}function Mh(e,t,n,r,s,a,c,h){const g=p(),E=v(),A=e+22,j=E.firstCreatePass?function Sy(e,t,n,r,s,a,c,h,g){const E=t.consts,A=po(t,e,4,c||null,yt(E,h));Uc(t,n,A,yt(E,g)),Ls(t,A);const j=A.tViews=Sl(2,A,r,s,a,t.directiveRegistry,t.pipeRegistry,null,t.schemas,E);return null!==t.queries&&(t.queries.template(t,A),j.queries=t.queries.embeddedTView(A)),A}(A,E,g,t,n,r,s,a,c):E.data[A];pn(j,!1);const q=g[11].createComment("");_l(E,g,q,j),kn(q,g),Tl(g,g[A]=eh(q,g,q,j)),on(j)&&jc(E,g,j),null!=c&&Hc(g,j,h)}function Ih(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function bh(e){return xe(function As(){return Qe.lFrame.contextLView}(),22+e)}function cd(e,t,n){const r=p();return jn(r,di(),t)&&fr(v(),tn(),r,e,t,r[11],n,!1),cd}function dd(e,t,n,r,s){const c=s?"class":"style";oh(e,n,t.inputs[c],c,r)}function Ol(e,t,n,r){const s=p(),a=v(),c=22+e,h=s[11],g=s[c]=oc(h,t,function au(){return Qe.lFrame.currentNamespace}()),E=a.firstCreatePass?function Ty(e,t,n,r,s,a,c){const h=t.consts,E=po(t,e,2,s,yt(h,a));return Uc(t,n,E,yt(h,c)),null!==E.attrs&&Al(E,E.attrs,!1),null!==E.mergedAttrs&&Al(E,E.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,E),E}(c,a,s,0,t,n,r):a.data[c];pn(E,!0);const A=E.mergedAttrs;null!==A&&ks(h,g,A);const j=E.classes;null!==j&&fc(h,g,j);const q=E.styles;return null!==q&&Xf(h,g,q),64!=(64&E.flags)&&_l(a,s,g,E),0===function Sr(){return Qe.lFrame.elementDepthCount}()&&kn(g,s),function ln(){Qe.lFrame.elementDepthCount++}(),on(E)&&(jc(a,s,E),$1(a,E,s)),null!==r&&Hc(s,E),Ol}function Pl(){let e=Be();dr()?Ts():(e=e.parent,pn(e,!1));const t=e;!function Ii(){Qe.lFrame.elementDepthCount--}();const n=v();return n.firstCreatePass&&(Ls(n,e),cn(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Ba(e){return 0!=(16&e.flags)}(t)&&dd(n,t,p(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function ka(e){return 0!=(32&e.flags)}(t)&&dd(n,t,p(),t.stylesWithoutHost,!1),Pl}function fd(e,t,n,r){return Ol(e,t,n,r),Pl(),fd}function Ll(e,t,n){const r=p(),s=v(),a=e+22,c=s.firstCreatePass?function Ay(e,t,n,r,s){const a=t.consts,c=yt(a,r),h=po(t,e,8,"ng-container",c);return null!==c&&Al(h,c,!0),Uc(t,n,h,yt(a,s)),null!==t.queries&&t.queries.elementStart(t,h),h}(a,s,r,t,n):s.data[a];pn(c,!0);const h=r[a]=r[11].createComment("");return _l(s,r,h,c),kn(h,r),on(c)&&(jc(s,r,c),$1(s,c,r)),null!=n&&Hc(r,c),Ll}function Fl(){let e=Be();const t=v();return dr()?Ts():(e=e.parent,pn(e,!1)),t.firstCreatePass&&(Ls(t,e),cn(e)&&t.queries.elementEnd(e)),Fl}function hd(e,t,n){return Ll(e,t,n),Fl(),hd}function Sh(){return p()}function pd(e){return!!e&&"function"==typeof e.then}function Th(e){return!!e&&"function"==typeof e.subscribe}const Ah=Th;function gd(e,t,n,r){const s=p(),a=v(),c=Be();return Rh(a,s,s[11],c,e,t,!!n,r),gd}function md(e,t){const n=Be(),r=p(),s=v();return Rh(s,r,ih(Bo(s.data),n,r),n,e,t,!1),md}function Rh(e,t,n,r,s,a,c,h){const g=on(r),A=e.firstCreatePass&&rh(e),j=t[8],q=nh(t);let he=!0;if(3&r.type||h){const Ue=N(r,t),We=h?h(Ue):Ue,lt=q.length,Re=h?nt=>h(Wt(nt[r.index])):r.index;if(Rt(n)){let nt=null;if(!h&&g&&(nt=function Ry(e,t,n,r){const s=e.cleanup;if(null!=s)for(let a=0;a<s.length-1;a+=2){const c=s[a];if(c===n&&s[a+1]===r){const h=t[7],g=s[a+2];return h.length>g?h[g]:null}"string"==typeof c&&(a+=2)}return null}(e,t,s,r.index)),null!==nt)(nt.__ngLastListenerFn__||nt).__ngNextListenerFn__=a,nt.__ngLastListenerFn__=a,he=!1;else{a=vd(r,t,j,a,!1);const St=n.listen(We,s,a);q.push(a,St),A&&A.push(s,Re,lt,lt+1)}}else a=vd(r,t,j,a,!0),We.addEventListener(s,a,c),q.push(a),A&&A.push(s,Re,lt,c)}else a=vd(r,t,j,a,!1);const Te=r.outputs;let Pe;if(he&&null!==Te&&(Pe=Te[s])){const Ue=Pe.length;if(Ue)for(let We=0;We<Ue;We+=2){const Jt=t[Pe[We]][Pe[We+1]].subscribe(a),Ms=q.length;q.push(a,Jt),A&&A.push(s,r.index,Ms,-(Ms+1))}}}function xh(e,t,n,r){try{return en(6,t,n),!1!==n(r)}catch(s){return sh(e,s),!1}finally{en(7,t,n)}}function vd(e,t,n,r,s){return function a(c){if(c===Function)return r;Gc(2&e.flags?$e(e.index,t):t);let g=xh(t,n,r,c),E=a.__ngNextListenerFn__;for(;E;)g=xh(t,n,E,c)&&g,E=E.__ngNextListenerFn__;return s&&!1===g&&(c.preventDefault(),c.returnValue=!1),g}}function Oh(e=1){return function Qi(e){return(Qe.lFrame.contextLView=function su(e,t){for(;e>0;)t=t[15],e--;return t}(e,Qe.lFrame.contextLView))[8]}(e)}function xy(e,t){let n=null;const r=function N2(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let s=0;s<t.length;s++){const a=t[s];if("*"!==a){if(null===r?e1(e,a,!0):k2(r,a))return s}else n=s}return n}function Ph(e){const t=p()[16][6];if(!t.projection){const r=t.projection=ls(e?e.length:1,null),s=r.slice();let a=t.child;for(;null!==a;){const c=e?xy(a,e):0;null!==c&&(s[c]?s[c].projectionNext=a:r[c]=a,s[c]=a),a=a.next}}}function Lh(e,t=0,n){const r=p(),s=v(),a=po(s,22+e,16,null,n||null);null===a.projection&&(a.projection=t),Ts(),64!=(64&a.flags)&&function A2(e,t,n){Zf(t[11],0,t,n,Bf(e,n,t),$f(n.parent||t[6],n,t))}(s,r,a)}function yd(e,t,n){return Nl(e,"",t,"",n),yd}function Nl(e,t,n,r,s){const a=p(),c=yo(a,t,n,r);return c!==mt&&fr(v(),tn(),a,e,c,a[11],s,!1),Nl}function _d(e,t,n,r,s,a,c){const h=p(),g=_o(h,t,n,r,s,a);return g!==mt&&fr(v(),tn(),h,e,g,h[11],c,!1),_d}function wd(e,t,n,r,s,a,c,h,g){const E=p(),A=wo(E,t,n,r,s,a,c,h);return A!==mt&&fr(v(),tn(),E,e,A,E[11],g,!1),wd}function Dd(e,t,n,r,s,a,c,h,g,E,A){const j=p(),q=Do(j,t,n,r,s,a,c,h,g,E);return q!==mt&&fr(v(),tn(),j,e,q,j[11],A,!1),Dd}function Cd(e,t,n,r,s,a,c,h,g,E,A,j,q){const he=p(),Te=Co(he,t,n,r,s,a,c,h,g,E,A,j);return Te!==mt&&fr(v(),tn(),he,e,Te,he[11],q,!1),Cd}function Ed(e,t,n,r,s,a,c,h,g,E,A,j,q,he,Te){const Pe=p(),Ue=Eo(Pe,t,n,r,s,a,c,h,g,E,A,j,q,he);return Ue!==mt&&fr(v(),tn(),Pe,e,Ue,Pe[11],Te,!1),Ed}function Md(e,t,n,r,s,a,c,h,g,E,A,j,q,he,Te,Pe,Ue){const We=p(),lt=Mo(We,t,n,r,s,a,c,h,g,E,A,j,q,he,Te,Pe);return lt!==mt&&fr(v(),tn(),We,e,lt,We[11],Ue,!1),Md}function Id(e,t,n,r,s,a,c,h,g,E,A,j,q,he,Te,Pe,Ue,We,lt){const Re=p(),nt=Io(Re,t,n,r,s,a,c,h,g,E,A,j,q,he,Te,Pe,Ue,We);return nt!==mt&&fr(v(),tn(),Re,e,nt,Re[11],lt,!1),Id}function bd(e,t,n){const r=p(),s=vo(r,t);return s!==mt&&fr(v(),tn(),r,e,s,r[11],n,!1),bd}function Fh(e,t,n,r,s){const a=e[n+1],c=null===t;let h=r?Lr(a):vi(a),g=!1;for(;0!==h&&(!1===g||c);){const A=e[h+1];Ly(e[h],t)&&(g=!0,e[h+1]=r?Rc(A):Tc(A)),h=r?Lr(A):vi(A)}g&&(e[n+1]=r?Tc(a):Rc(a))}function Ly(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&dn(e,t)>=0}const Dn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Nh(e){return e.substring(Dn.key,Dn.keyEnd)}function Fy(e){return e.substring(Dn.value,Dn.valueEnd)}function Vh(e,t){const n=Dn.textEnd;return n===t?-1:(t=Dn.keyEnd=function By(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Dn.key=t,n),bo(e,t,n))}function Bh(e,t){const n=Dn.textEnd;let r=Dn.key=bo(e,t,n);return n===r?-1:(r=Dn.keyEnd=function ky(e,t,n){let r;for(;t<n&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=jh(e,r,n),r=Dn.value=bo(e,r,n),r=Dn.valueEnd=function jy(e,t,n){let r=-1,s=-1,a=-1,c=t,h=c;for(;c<n;){const g=e.charCodeAt(c++);if(59===g)return h;34===g||39===g?h=c=Hh(e,g,c,n):t===c-4&&85===a&&82===s&&76===r&&40===g?h=c=Hh(e,41,c,n):g>32&&(h=c),a=s,s=r,r=-33&g}return h}(e,r,n),jh(e,r,n))}function kh(e){Dn.key=0,Dn.keyEnd=0,Dn.value=0,Dn.valueEnd=0,Dn.textEnd=e.length}function bo(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function jh(e,t,n,r){return(t=bo(e,t,n))<n&&t++,t}function Hh(e,t,n,r){let s=-1,a=n;for(;a<r;){const c=e.charCodeAt(a++);if(c==t&&92!==s)return a;s=92==c&&92===s?0:c}throw new Error}function Sd(e,t,n){return Nr(e,t,n,!1),Sd}function Td(e,t){return Nr(e,t,null,!0),Td}function Fr(e){Vr(Gh,Hy,e,!1)}function Hy(e,t){for(let n=function Vy(e){return kh(e),Bh(e,bo(e,0,Dn.textEnd))}(t);n>=0;n=Bh(t,n))Gh(e,Nh(t),Fy(t))}function Uh(e){Vr(Wn,qr,e,!0)}function qr(e,t){for(let n=function Ny(e){return kh(e),Vh(e,bo(e,0,Dn.textEnd))}(t);n>=0;n=Vh(t,n))Wn(e,Nh(t),!0)}function Nr(e,t,n,r){const s=p(),a=v(),c=vr(2);a.firstUpdatePass&&zh(a,e,c,r),t!==mt&&jn(s,c,t)&&Kh(a,a.data[Fn()],s,s[11],e,s[c+1]=function Yy(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=F(xr(e)))),e}(t,n),r,c)}function Vr(e,t,n,r){const s=v(),a=vr(2);s.firstUpdatePass&&zh(s,null,a,r);const c=p();if(n!==mt&&jn(c,a,n)){const h=s.data[Fn()];if(Yh(h,r)&&!$h(s,a)){let g=r?h.classesWithoutHost:h.stylesWithoutHost;null!==g&&(n=B(g,n||"")),dd(s,h,c,n,r)}else!function Wy(e,t,n,r,s,a,c,h){s===mt&&(s=Le);let g=0,E=0,A=0<s.length?s[0]:null,j=0<a.length?a[0]:null;for(;null!==A||null!==j;){const q=g<s.length?s[g+1]:void 0,he=E<a.length?a[E+1]:void 0;let Pe,Te=null;A===j?(g+=2,E+=2,q!==he&&(Te=j,Pe=he)):null===j||null!==A&&A<j?(g+=2,Te=A):(E+=2,Te=j,Pe=he),null!==Te&&Kh(e,t,n,r,Te,Pe,c,h),A=g<s.length?s[g]:null,j=E<a.length?a[E]:null}}(s,h,c,c[11],c[a+1],c[a+1]=function Ky(e,t,n){if(null==n||""===n)return Le;const r=[],s=xr(n);if(Array.isArray(s))for(let a=0;a<s.length;a++)e(r,s[a],!0);else if("object"==typeof s)for(const a in s)s.hasOwnProperty(a)&&e(r,a,s[a]);else"string"==typeof s&&t(r,s);return r}(e,t,n),r,a)}}function $h(e,t){return t>=e.expandoStartIndex}function zh(e,t,n,r){const s=e.data;if(null===s[n+1]){const a=s[Fn()],c=$h(e,n);Yh(a,r)&&null===t&&!c&&(t=!1),t=function Uy(e,t,n,r){const s=Bo(e);let a=r?t.residualClasses:t.residualStyles;if(null===s)0===(r?t.classBindings:t.styleBindings)&&(n=va(n=Ad(null,e,t,n,r),t.attrs,r),a=null);else{const c=t.directiveStylingLast;if(-1===c||e[c]!==s)if(n=Ad(s,e,t,n,r),null===a){let g=function $y(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==vi(r))return e[Lr(r)]}(e,t,r);void 0!==g&&Array.isArray(g)&&(g=Ad(null,e,t,g[1],r),g=va(g,t.attrs,r),function zy(e,t,n,r){e[Lr(n?t.classBindings:t.styleBindings)]=r}(e,t,r,g))}else a=function Gy(e,t,n){let r;const s=t.directiveEnd;for(let a=1+t.directiveStylingLast;a<s;a++)r=va(r,e[a].hostAttrs,n);return va(r,t.attrs,n)}(e,t,r)}return void 0!==a&&(r?t.residualClasses=a:t.residualStyles=a),n}(s,a,t,r),function Oy(e,t,n,r,s,a){let c=a?t.classBindings:t.styleBindings,h=Lr(c),g=vi(c);e[r]=n;let A,E=!1;if(Array.isArray(n)){const j=n;A=j[1],(null===A||dn(j,A)>0)&&(E=!0)}else A=n;if(s)if(0!==g){const q=Lr(e[h+1]);e[r+1]=Ml(q,h),0!==q&&(e[q+1]=Ac(e[q+1],r)),e[h+1]=function bv(e,t){return 131071&e|t<<17}(e[h+1],r)}else e[r+1]=Ml(h,0),0!==h&&(e[h+1]=Ac(e[h+1],r)),h=r;else e[r+1]=Ml(g,0),0===h?h=r:e[g+1]=Ac(e[g+1],r),g=r;E&&(e[r+1]=Tc(e[r+1])),Fh(e,A,r,!0),Fh(e,A,r,!1),function Py(e,t,n,r,s){const a=s?e.residualClasses:e.residualStyles;null!=a&&"string"==typeof t&&dn(a,t)>=0&&(n[r+1]=Rc(n[r+1]))}(t,A,e,r,a),c=Ml(h,g),a?t.classBindings=c:t.styleBindings=c}(s,a,t,n,c,r)}}function Ad(e,t,n,r,s){let a=null;const c=n.directiveEnd;let h=n.directiveStylingLast;for(-1===h?h=n.directiveStart:h++;h<c&&(a=t[h],r=va(r,a.hostAttrs,s),a!==e);)h++;return null!==e&&(n.directiveStylingLast=h),r}function va(e,t,n){const r=n?1:2;let s=-1;if(null!==t)for(let a=0;a<t.length;a++){const c=t[a];"number"==typeof c?s=c:s===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Wn(e,c,!!n||t[++a]))}return void 0===e?null:e}function Gh(e,t,n){Wn(e,t,xr(n))}function Kh(e,t,n,r,s,a,c,h){if(!(3&t.type))return;const g=e.data,E=g[h+1];Vl(function P1(e){return 1==(1&e)}(E)?Wh(g,t,n,s,vi(E),c):void 0)||(Vl(a)||function O1(e){return 2==(2&e)}(E)&&(a=Wh(g,null,n,s,h,c)),function x2(e,t,n,r,s){const a=Rt(e);if(t)s?a?e.addClass(n,r):n.classList.add(r):a?e.removeClass(n,r):n.classList.remove(r);else{let c=-1===r.indexOf("-")?void 0:Xr.DashCase;if(null==s)a?e.removeStyle(n,r,c):n.style.removeProperty(r);else{const h="string"==typeof s&&s.endsWith("!important");h&&(s=s.slice(0,-10),c|=Xr.Important),a?e.setStyle(n,r,s,c):n.style.setProperty(r,s,h?"important":"")}}}(r,c,w(Fn(),n),s,a))}function Wh(e,t,n,r,s,a){const c=null===t;let h;for(;s>0;){const g=e[s],E=Array.isArray(g),A=E?g[1]:g,j=null===A;let q=n[s+1];q===mt&&(q=j?Le:void 0);let he=j?Xo(q,r):A===r?q:void 0;if(E&&!Vl(he)&&(he=Xo(g,r)),Vl(he)&&(h=he,c))return h;const Te=e[s+1];s=c?Lr(Te):vi(Te)}if(null!==t){let g=a?t.residualClasses:t.residualStyles;null!=g&&(h=Xo(g,r))}return h}function Vl(e){return void 0!==e}function Yh(e,t){return 0!=(e.flags&(t?16:32))}function Zh(e,t=""){const n=p(),r=v(),s=e+22,a=r.firstCreatePass?po(r,s,1,t,null):r.data[s],c=n[s]=sc(n[11],t);_l(r,n,c,a),pn(a,!1)}function Rd(e){return Bl("",e,""),Rd}function Bl(e,t,n){const r=p(),s=yo(r,e,t,n);return s!==mt&&yi(r,Fn(),s),Bl}function xd(e,t,n,r,s){const a=p(),c=_o(a,e,t,n,r,s);return c!==mt&&yi(a,Fn(),c),xd}function Od(e,t,n,r,s,a,c){const h=p(),g=wo(h,e,t,n,r,s,a,c);return g!==mt&&yi(h,Fn(),g),Od}function Pd(e,t,n,r,s,a,c,h,g){const E=p(),A=Do(E,e,t,n,r,s,a,c,h,g);return A!==mt&&yi(E,Fn(),A),Pd}function Ld(e,t,n,r,s,a,c,h,g,E,A){const j=p(),q=Co(j,e,t,n,r,s,a,c,h,g,E,A);return q!==mt&&yi(j,Fn(),q),Ld}function Fd(e,t,n,r,s,a,c,h,g,E,A,j,q){const he=p(),Te=Eo(he,e,t,n,r,s,a,c,h,g,E,A,j,q);return Te!==mt&&yi(he,Fn(),Te),Fd}function Nd(e,t,n,r,s,a,c,h,g,E,A,j,q,he,Te){const Pe=p(),Ue=Mo(Pe,e,t,n,r,s,a,c,h,g,E,A,j,q,he,Te);return Ue!==mt&&yi(Pe,Fn(),Ue),Nd}function Vd(e,t,n,r,s,a,c,h,g,E,A,j,q,he,Te,Pe,Ue){const We=p(),lt=Io(We,e,t,n,r,s,a,c,h,g,E,A,j,q,he,Te,Pe,Ue);return lt!==mt&&yi(We,Fn(),lt),Vd}function Bd(e){const t=p(),n=vo(t,e);return n!==mt&&yi(t,Fn(),n),Bd}function Xh(e,t,n){Vr(Wn,qr,yo(p(),e,t,n),!0)}function Qh(e,t,n,r,s){Vr(Wn,qr,_o(p(),e,t,n,r,s),!0)}function Jh(e,t,n,r,s,a,c){Vr(Wn,qr,wo(p(),e,t,n,r,s,a,c),!0)}function qh(e,t,n,r,s,a,c,h,g){Vr(Wn,qr,Do(p(),e,t,n,r,s,a,c,h,g),!0)}function ep(e,t,n,r,s,a,c,h,g,E,A){Vr(Wn,qr,Co(p(),e,t,n,r,s,a,c,h,g,E,A),!0)}function tp(e,t,n,r,s,a,c,h,g,E,A,j,q){Vr(Wn,qr,Eo(p(),e,t,n,r,s,a,c,h,g,E,A,j,q),!0)}function np(e,t,n,r,s,a,c,h,g,E,A,j,q,he,Te){Vr(Wn,qr,Mo(p(),e,t,n,r,s,a,c,h,g,E,A,j,q,he,Te),!0)}function rp(e,t,n,r,s,a,c,h,g,E,A,j,q,he,Te,Pe,Ue){Vr(Wn,qr,Io(p(),e,t,n,r,s,a,c,h,g,E,A,j,q,he,Te,Pe,Ue),!0)}function ip(e){Vr(Wn,qr,vo(p(),e),!0)}function sp(e,t,n){Fr(yo(p(),e,t,n))}function op(e,t,n,r,s){Fr(_o(p(),e,t,n,r,s))}function ap(e,t,n,r,s,a,c){Fr(wo(p(),e,t,n,r,s,a,c))}function lp(e,t,n,r,s,a,c,h,g){Fr(Do(p(),e,t,n,r,s,a,c,h,g))}function up(e,t,n,r,s,a,c,h,g,E,A){Fr(Co(p(),e,t,n,r,s,a,c,h,g,E,A))}function cp(e,t,n,r,s,a,c,h,g,E,A,j,q){Fr(Eo(p(),e,t,n,r,s,a,c,h,g,E,A,j,q))}function dp(e,t,n,r,s,a,c,h,g,E,A,j,q,he,Te){Fr(Mo(p(),e,t,n,r,s,a,c,h,g,E,A,j,q,he,Te))}function fp(e,t,n,r,s,a,c,h,g,E,A,j,q,he,Te,Pe,Ue){Fr(Io(p(),e,t,n,r,s,a,c,h,g,E,A,j,q,he,Te,Pe,Ue))}function hp(e){Fr(vo(p(),e))}function kd(e,t,n,r,s){return Nr(e,yo(p(),t,n,r),s,!1),kd}function jd(e,t,n,r,s,a,c){return Nr(e,_o(p(),t,n,r,s,a),c,!1),jd}function Hd(e,t,n,r,s,a,c,h,g){return Nr(e,wo(p(),t,n,r,s,a,c,h),g,!1),Hd}function Ud(e,t,n,r,s,a,c,h,g,E,A){return Nr(e,Do(p(),t,n,r,s,a,c,h,g,E),A,!1),Ud}function $d(e,t,n,r,s,a,c,h,g,E,A,j,q){return Nr(e,Co(p(),t,n,r,s,a,c,h,g,E,A,j),q,!1),$d}function zd(e,t,n,r,s,a,c,h,g,E,A,j,q,he,Te){return Nr(e,Eo(p(),t,n,r,s,a,c,h,g,E,A,j,q,he),Te,!1),zd}function Gd(e,t,n,r,s,a,c,h,g,E,A,j,q,he,Te,Pe,Ue){return Nr(e,Mo(p(),t,n,r,s,a,c,h,g,E,A,j,q,he,Te,Pe),Ue,!1),Gd}function Kd(e,t,n,r,s,a,c,h,g,E,A,j,q,he,Te,Pe,Ue,We,lt){return Nr(e,Io(p(),t,n,r,s,a,c,h,g,E,A,j,q,he,Te,Pe,Ue,We),lt,!1),Kd}function Wd(e,t,n){return Nr(e,vo(p(),t),n,!1),Wd}function Yd(e,t,n){const r=p();return jn(r,di(),t)&&fr(v(),tn(),r,e,t,r[11],n,!0),Yd}function Zd(e,t,n){const r=p();if(jn(r,di(),t)){const a=v(),c=tn();fr(a,c,r,e,t,ih(Bo(a.data),c,r),n,!0)}return Zd}const _s=void 0;var Xy=["en",[["a","p"],["AM","PM"],_s],[["AM","PM"],_s,_s],[["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"]],_s,[["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"]],_s,[["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}",_s,"{1} 'at' {0}",_s],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Zy(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let So={};function Qy(e,t,n){"string"!=typeof t&&(n=t,t=e[at.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),So[t]=e,n&&(So[t][at.ExtraData]=n)}function Xd(e){const t=function e_(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=gp(t);if(n)return n;const r=t.split("-")[0];if(n=gp(r),n)return n;if("en"===r)return Xy;throw new Error(`Missing locale data for the locale "${e}".`)}function Jy(e){return Xd(e)[at.CurrencyCode]||null}function pp(e){return Xd(e)[at.PluralCase]}function gp(e){return e in So||(So[e]=ue.ng&&ue.ng.common&&ue.ng.common.locales&&ue.ng.common.locales[e]),So[e]}function qy(){So={}}var at=(()=>((at=at||{})[at.LocaleId=0]="LocaleId",at[at.DayPeriodsFormat=1]="DayPeriodsFormat",at[at.DayPeriodsStandalone=2]="DayPeriodsStandalone",at[at.DaysFormat=3]="DaysFormat",at[at.DaysStandalone=4]="DaysStandalone",at[at.MonthsFormat=5]="MonthsFormat",at[at.MonthsStandalone=6]="MonthsStandalone",at[at.Eras=7]="Eras",at[at.FirstDayOfWeek=8]="FirstDayOfWeek",at[at.WeekendRange=9]="WeekendRange",at[at.DateFormat=10]="DateFormat",at[at.TimeFormat=11]="TimeFormat",at[at.DateTimeFormat=12]="DateTimeFormat",at[at.NumberSymbols=13]="NumberSymbols",at[at.NumberFormats=14]="NumberFormats",at[at.CurrencyCode=15]="CurrencyCode",at[at.CurrencySymbol=16]="CurrencySymbol",at[at.CurrencyName=17]="CurrencyName",at[at.Currencies=18]="Currencies",at[at.Directionality=19]="Directionality",at[at.PluralCase=20]="PluralCase",at[at.ExtraData=21]="ExtraData",at))();const t_=["zero","one","two","few","many"],ws="en-US",kl={marker:"element"},jl={marker:"ICU"};var fn=(()=>((fn=fn||{})[fn.SHIFT=2]="SHIFT",fn[fn.APPEND_EAGERLY=1]="APPEND_EAGERLY",fn[fn.COMMENT=2]="COMMENT",fn))();let mp=ws;function Qd(e){(function pe(e,t){null==e&&G(t,e,null,"!=")})(e,"Expected localeId to be defined"),"string"==typeof e&&(mp=e.toLowerCase().replace(/_/g,"-"))}function vp(e,t,n){const r=t.insertBeforeIndex,s=Array.isArray(r)?r[0]:r;return null===s?zf(e,0,n):Wt(n[s])}function yp(e,t,n,r,s){const a=t.insertBeforeIndex;if(Array.isArray(a)){let c=r,h=null;if(3&t.type||(h=c,c=s),null!==c&&0==(2&t.flags))for(let g=1;g<a.length;g++)gs(e,c,n[a[g]],h,!1)}}function _p(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){const r=e[n];wp(r)||s_(r,t)&&null===o_(r)&&a_(r,t.index)}}function wp(e){return!(64&e.type)}function s_(e,t){return wp(t)||e.index>t.index}function o_(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function a_(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(Kf(vp,yp),e.insertBeforeIndex=t)}function ya(e,t){const n=e.data[t];return null===n||"string"==typeof n?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function c_(e,t,n){const r=kc(e,n,64,null,null);return _p(t,r),r}function Hl(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function Dp(e){return e>>>17}function Cp(e){return(131070&e)>>>1}let _a=0,wa=0;function Mp(e,t,n,r){const s=n[11];let c,a=null;for(let h=0;h<t.length;h++){const g=t[h];if("string"==typeof g){const E=t[++h];null===n[E]&&(n[E]=sc(s,g))}else if("number"==typeof g)switch(1&g){case 0:const E=Dp(g);let A,j;if(null===a&&(a=E,c=yl(s,r)),E===a?(A=r,j=c):(A=null,j=Wt(n[E])),null!==j){const Pe=Cp(g);gs(s,j,n[Pe],A,!1);const We=ya(e,Pe);if(null!==We&&"object"==typeof We){const lt=Hl(We,n);null!==lt&&Mp(e,We.create[lt],n,n[We.anchorIdx])}}break;case 1:const he=t[++h],Te=t[++h];$c(s,w(g>>>1,n),null,null,he,Te,null)}else switch(g){case jl:const E=t[++h],A=t[++h];null===n[A]&&kn(n[A]=y2(s,E),n);break;case kl:const j=t[++h],q=t[++h];null===n[q]&&kn(n[q]=oc(s,j,null),n)}}}function Ip(e,t,n,r,s){for(let a=0;a<n.length;a++){const c=n[a],h=n[++a];if(c&s){let g="";for(let E=a+1;E<=a+h;E++){const A=n[E];if("string"==typeof A)g+=A;else if("number"==typeof A)if(A<0)g+=W(t[r-A]);else{const j=A>>>2;switch(3&A){case 1:const q=n[++E],he=n[++E],Te=e.data[j];"string"==typeof Te?$c(t[11],t[j],null,Te,q,g,he):fr(e,Te,t,q,g,t[11],he,!1);break;case 0:const Pe=t[j];null!==Pe&&Ff(t[11],Pe,g);break;case 2:g_(e,ya(e,j),t,g);break;case 3:bp(e,ya(e,j),r,t)}}}}else{const g=n[a+1];if(g>0&&3==(3&g)){const A=ya(e,g>>>2);t[A.currentCaseLViewIndex]<0&&bp(e,A,r,t)}}a+=h}}function bp(e,t,n,r){let s=r[t.currentCaseLViewIndex];if(null!==s){let a=_a;s<0&&(s=r[t.currentCaseLViewIndex]=~s,a=-1),Ip(e,r,t.update[s],n,a)}}function g_(e,t,n,r){const s=function m_(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const r=function n_(e,t){const n=pp(t)(parseInt(e,10)),r=t_[n];return void 0!==r?r:"other"}(t,function i_(){return mp}());n=e.cases.indexOf(r),-1===n&&"other"!==r&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return-1===n?null:n}(t,r);if(Hl(t,n)!==s&&(Sp(e,t,n),n[t.currentCaseLViewIndex]=null===s?null:~s,null!==s)){const c=n[t.anchorIdx];c&&Mp(e,t.create[s],n,c)}}function Sp(e,t,n){let r=Hl(t,n);if(null!==r){const s=t.remove[r];for(let a=0;a<s.length;a++){const c=s[a];if(c>0){const h=w(c,n);null!==h&&Yf(n[11],h)}else Sp(e,ya(e,~c),n)}}}function v_(){const e=[];let n,r,t=-1;function a(h,g){t=0;const E=Hl(h,g);r=null!==E?h.remove[E]:Le}function c(){if(t<r.length){const h=r[t++];return h>0?n[h]:(e.push(t,r),a(n[1].data[~h],n),c())}return 0===e.length?null:(r=e.pop(),t=e.pop(),c())}return function s(h,g){for(n=g;e.length;)e.pop();return a(h.value,g),c}}const Ul=/\ufffd(\d+):?\d*\ufffd/gi,y_=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,__=/\ufffd(\d+)\ufffd/,Ap=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,w_=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,D_=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,C_=/\uE500/g;function Rp(e,t,n,r,s,a,c){const h=go(e,r,1,null);let g=h<<fn.SHIFT,E=Sn();t===E&&(E=null),null===E&&(g|=fn.APPEND_EAGERLY),c&&(g|=fn.COMMENT,function v2(e){void 0===tc&&(tc=e())}(v_)),s.push(g,null===a?"":a);const A=kc(e,h,c?32:1,null===a?"":a,null);_p(n,A);const j=A.index;return pn(A,!1),null!==E&&t!==E&&function u_(e,t){let n=e.insertBeforeIndex;null===n?(Kf(vp,yp),n=e.insertBeforeIndex=[null,t]):(function Ye(e,t,n){e!=t&&G(n,e,t,"==")}(Array.isArray(n),!0,"Expecting array here"),n.push(t))}(E,j),A}function I_(e,t,n,r,s,a,c){const h=c.match(Ul),g=Rp(e,t,n,a,r,h?null:c,!1);h&&To(s,c,g.index,null,0,null)}function To(e,t,n,r,s,a){const c=e.length,h=c+1;e.push(null,null);const g=c+2,E=t.split(Ul);let A=0;for(let j=0;j<E.length;j++){const q=E[j];if(1&j){const he=s+parseInt(q,10);e.push(-1-he),A|=xp(he)}else""!==q&&e.push(q)}return e.push(n<<2|(r?1:0)),r&&e.push(r,a),e[c]=A,e[h]=e.length-g,A}function S_(e){let t=0;for(let n=0;n<e.length;n++){const r=e[n];"number"==typeof r&&r<0&&t++}return t}function xp(e){return 1<<Math.min(e,31)}function Op(e){let t,a,n="",r=0,s=!1;for(;null!==(t=w_.exec(e));)s?t[0]===`\ufffd/*${a}\ufffd`&&(r=t.index,s=!1):(n+=e.substring(r,t.index+t[0].length),a=t[1],s=!0);return n+=e.slice(r),n}function Pp(e,t,n,r,s,a){let c=0;const h={type:s.type,currentCaseLViewIndex:go(e,t,1,null),anchorIdx:a,cases:[],create:[],remove:[],update:[]};(function P_(e,t,n){e.push(xp(t.mainBinding),2,-1-t.mainBinding,n<<2|2)})(n,s,a),function l_(e,t,n){const r=e.data[t];null===r?e.data[t]=n:r.value=n}(e,a,h);const g=s.values;for(let E=0;E<g.length;E++){const A=g[E],j=[];for(let q=0;q<A.length;q++){const he=A[q];if("string"!=typeof he){const Te=j.push(he)-1;A[q]=`\x3c!--\ufffd${Te}\ufffd--\x3e`}}c=x_(e,h,t,n,r,s.cases[E],A.join(""),j)|c}c&&function L_(e,t,n){e.push(t,1,n<<2|3)}(n,c,a)}function R_(e){const t=[],n=[];let r=1,s=0;const a=Jd(e=e.replace(Ap,function(c,h,g){return r="select"===g?0:1,s=parseInt(h.slice(1),10),""}));for(let c=0;c<a.length;){let h=a[c++].trim();1===r&&(h=h.replace(/\s*(?:=)?(\w+)\s*/,"$1")),h.length&&t.push(h);const g=Jd(a[c++]);t.length>n.length&&n.push(g)}return{type:r,mainBinding:s,cases:t,values:n}}function Jd(e){if(!e)return[];let t=0;const n=[],r=[],s=/[{}]/g;let a;for(s.lastIndex=0;a=s.exec(e);){const h=a.index;if("}"==a[0]){if(n.pop(),0==n.length){const g=e.substring(t,h);Ap.test(g)?r.push(R_(g)):r.push(g),t=h+1}}else{if(0==n.length){const g=e.substring(t,h);r.push(g),t=h+1}n.push("{")}}const c=e.substring(t);return r.push(c),r}function x_(e,t,n,r,s,a,c,h){const g=[],E=[],A=[];t.cases.push(a),t.create.push(g),t.remove.push(E),t.update.push(A);const q=$u(ci()).getInertBodyElement(c),he=Ku(q)||q;return he?Lp(e,t,n,r,g,E,A,he,s,h,0):0}function Lp(e,t,n,r,s,a,c,h,g,E,A){let j=0,q=h.firstChild;for(;q;){const he=go(e,n,1,null);switch(q.nodeType){case Node.ELEMENT_NODE:const Te=q,Pe=Te.tagName.toLowerCase();if(Ct.hasOwnProperty(Pe)){qd(s,kl,Pe,g,he),e.data[he]=Pe;const Re=Te.attributes;for(let nt=0;nt<Re.length;nt++){const St=Re.item(nt),Jt=St.name.toLowerCase();St.value.match(Ul)?oa.hasOwnProperty(Jt)&&To(c,St.value,he,St.name,0,Tt[Jt]?i:Vt[Jt]?u:null):F_(s,he,St)}j=Lp(e,t,n,r,s,a,c,q,he,E,A+1)|j,Fp(a,he,A)}break;case Node.TEXT_NODE:const Ue=q.textContent||"",We=Ue.match(Ul);qd(s,null,We?"":Ue,g,he),Fp(a,he,A),We&&(j=To(c,Ue,he,null,0,null)|j);break;case Node.COMMENT_NODE:const lt=__.exec(q.textContent||"");if(lt){const nt=E[parseInt(lt[1],10)];qd(s,jl,"",g,he),Pp(e,n,r,g,nt,he),O_(a,he,A)}}q=q.nextSibling}return j}function Fp(e,t,n){0===n&&e.push(t)}function O_(e,t,n){0===n&&(e.push(~t),e.push(t))}function qd(e,t,n,r,s){null!==t&&e.push(t),e.push(n,s,function d_(e,t,n){return e|t<<17|n<<1}(0,r,s))}function F_(e,t,n){e.push(t<<1|1,n.name,n.value)}const N_=/\[(\ufffd.+?\ufffd?)\]/,V_=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,B_=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,k_=/{([A-Z0-9_]+)}/g,j_=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,H_=/\/\*/,U_=/\d+\:(\d+)/;function e0(e,t,n=-1){const r=v(),s=p(),a=22+e,c=yt(r.consts,t),h=Sn();r.firstCreatePass&&function M_(e,t,n,r,s,a){const c=Sn(),h=[],g=[],E=[[]];s=function A_(e,t){if(function T_(e){return-1===e}(t))return Op(e);{const n=e.indexOf(`:${t}\ufffd`)+2+t.toString().length,r=e.search(new RegExp(`\ufffd\\/\\*\\d+:${t}\ufffd`));return Op(e.substring(n,r))}}(s,a);const A=function E_(e){return e.replace(C_," ")}(s).split(D_);for(let j=0;j<A.length;j++){let q=A[j];if(0==(1&j)){const he=Jd(q);for(let Te=0;Te<he.length;Te++){let Pe=he[Te];if(0==(1&Te)){const Ue=Pe;""!==Ue&&I_(e,c,E[0],h,g,n,Ue)}else{const Ue=Pe;if("object"!=typeof Ue)throw new Error(`Unable to parse ICU expression in "${s}" message.`);Pp(e,n,g,t,Ue,Rp(e,c,E[0],n,h,"",!0).index)}}}else{const he=47===q.charCodeAt(0),Pe=(q.charCodeAt(he?1:0),22+Number.parseInt(q.substring(he?2:1)));if(he)E.shift(),pn(Sn(),!1);else{const Ue=c_(e,E[0],Pe);E.unshift([]),pn(Ue,!0)}}}e.data[r]={create:h,update:g}}(r,null===h?0:h.index,s,a,c,n);const g=r.data[a],A=kf(r,h===s[6]?null:h,s);(function p_(e,t,n,r){const s=e[11];for(let a=0;a<t.length;a++){const c=t[a++],h=t[a],g=(c&fn.COMMENT)===fn.COMMENT,E=(c&fn.APPEND_EAGERLY)===fn.APPEND_EAGERLY,A=c>>>fn.SHIFT;let j=e[A];null===j&&(j=e[A]=g?s.createComment(h):sc(s,h)),E&&null!==n&&gs(s,n,j,r,!1)}})(s,g.create,A,h&&8&h.type?s[h.index]:null),No(!0)}function t0(){No(!1)}function Vp(e,t,n){e0(e,t,n),t0()}function Bp(e,t){const n=v();!function b_(e,t,n){const s=Be().index,a=[];if(e.firstCreatePass&&null===e.data[t]){for(let c=0;c<n.length;c+=2){const h=n[c],g=n[c+1];if(""!==g){if(y_.test(g))throw new Error(`ICU expressions are not supported in attributes. Message: "${g}".`);To(a,g,s,h,S_(a),null)}}e.data[t]=a}}(n,e+22,yt(n.consts,t))}function n0(e){return function f_(e){e&&(_a|=1<<Math.min(wa,31)),wa++}(jn(p(),di(),e)),n0}function kp(e){!function h_(e,t,n){if(wa>0){const r=e.data[n];Ip(e,t,Array.isArray(r)?r:r.update,Tr()-wa-1,_a)}_a=0,wa=0}(v(),p(),e+22)}function jp(e,t={}){return function $_(e,t={}){let n=e;if(N_.test(e)){const r={},s=[0];n=n.replace(V_,(a,c,h)=>{const g=c||h,E=r[g]||[];if(E.length||(g.split("|").forEach(Pe=>{const Ue=Pe.match(U_),We=Ue?parseInt(Ue[1],10):0,lt=H_.test(Pe);E.push([We,lt,Pe])}),r[g]=E),!E.length)throw new Error(`i18n postprocess: unmatched placeholder - ${g}`);const A=s[s.length-1];let j=0;for(let Pe=0;Pe<E.length;Pe++)if(E[Pe][0]===A){j=Pe;break}const[q,he,Te]=E[j];return he?s.pop():A!==q&&s.push(q),E.splice(j,1),Te})}return Object.keys(t).length&&(n=n.replace(B_,(r,s,a,c,h,g)=>t.hasOwnProperty(a)?`${s}${t[a]}${g}`:r),n=n.replace(k_,(r,s)=>t.hasOwnProperty(s)?t[s]:r),n=n.replace(j_,(r,s)=>{if(t.hasOwnProperty(s)){const a=t[s];if(!a.length)throw new Error(`i18n postprocess: unmatched ICU - ${r} with key: ${s}`);return a.shift()}return r})),n}(e,t)}function r0(e,t,n,r,s){if(e=Z(e),Array.isArray(e))for(let a=0;a<e.length;a++)r0(e[a],t,n,r,s);else{const a=v(),c=p();let h=ms(e)?e:Z(e.provide),g=m1(e);const E=Be(),A=1048575&E.providerIndexes,j=E.directiveStart,q=E.providerIndexes>>20;if(ms(e)||!e.multi){const he=new qi(g,s,ho),Te=o0(h,t,s?A:A+q,j);-1===Te?(Gs(es(E,c),a,h),s0(a,e,t.length),t.push(h),E.directiveStart++,E.directiveEnd++,s&&(E.providerIndexes+=1048576),n.push(he),c.push(he)):(n[Te]=he,c[Te]=he)}else{const he=o0(h,t,A+q,j),Te=o0(h,t,A,A+q),Pe=he>=0&&n[he],Ue=Te>=0&&n[Te];if(s&&!Ue||!s&&!Pe){Gs(es(E,c),a,h);const We=function W_(e,t,n,r,s){const a=new qi(e,n,ho);return a.multi=[],a.index=t,a.componentProviders=0,Hp(a,s,r&&!n),a}(s?K_:G_,n.length,s,r,g);!s&&Ue&&(n[Te].providerFactory=We),s0(a,e,t.length,0),t.push(h),E.directiveStart++,E.directiveEnd++,s&&(E.providerIndexes+=1048576),n.push(We),c.push(We)}else s0(a,e,he>-1?he:Te,Hp(n[s?Te:he],g,!s&&r));!s&&r&&Ue&&n[Te].componentProviders++}}}function s0(e,t,n,r){const s=ms(t),a=function X2(e){return!!e.useClass}(t);if(s||a){const g=(a?Z(t.useClass):t).prototype.ngOnDestroy;if(g){const E=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const A=E.indexOf(n);-1===A?E.push(n,[r,g]):E[A+1].push(r,g)}else E.push(n,g)}}}function Hp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function o0(e,t,n,r){for(let s=n;s<r;s++)if(t[s]===e)return s;return-1}function G_(e,t,n,r){return a0(this.multi,[])}function K_(e,t,n,r){const s=this.multi;let a;if(this.providerFactory){const c=this.providerFactory.componentProviders,h=Ti(n,n[1],this.providerFactory.index,r);a=h.slice(0,c),a0(s,a);for(let g=c;g<h.length;g++)a.push(h[g])}else a=[],a0(s,a);return a}function a0(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Up(e,t=[]){return n=>{n.providersResolver=(r,s)=>function z_(e,t,n){const r=v();if(r.firstCreatePass){const s=zt(e);r0(n,r.data,r.blueprint,s,!0),r0(t,r.data,r.blueprint,s,!1)}}(r,s?s(e):e,t)}}class Z_{resolveComponentFactory(t){throw function Y_(e){const t=Error(`No component factory found for ${F(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Ca=(()=>{class e{}return e.NULL=new Z_,e})();class Ds{}class zp{}class Gp{}class $l{}function X_(){return Ao(Be(),p())}function Ao(e,t){return new Ea(N(e,t))}let Ea=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=X_,e})();function Q_(e){return e instanceof Ea?e.nativeElement:e}class Kp{}let J_=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function e3(){const e=p(),n=$e(Be().index,e);return function q_(e){return e[11]}(Qt(n)?n:e)}(),e})(),Wp=(()=>{class e{}return e.\u0275prov=oe({token:e,providedIn:"root",factory:()=>null}),e})();class Yp{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Zp=new Yp("14.0.2"),zl={};function Gl(e,t,n,r,s=!1){for(;null!==n;){const a=t[n.index];if(null!==a&&r.push(Wt(a)),gt(a))for(let h=10;h<a.length;h++){const g=a[h],E=g[1].firstChild;null!==E&&Gl(g[1],g,E,r)}const c=n.type;if(8&c)Gl(e,t,n.child,r);else if(32&c){const h=nc(n,t);let g;for(;g=h();)r.push(g)}else if(16&c){const h=Wf(t,n);if(Array.isArray(h))r.push(...h);else{const g=ca(t[16]);Gl(g[1],g,h,r,!0)}}n=s?n.projectionNext:n.next}return r}class Ro{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return Gl(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(gt(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(ac(t,r),Qs(n,r))}this._attachedToViewContainer=!1}Vf(this._lView[1],this._lView)}onDestroy(t){W1(this._lView[1],this._lView,null,t)}markForCheck(){Gc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Wc(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new se(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function D2(e,t){da(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new se(902,"");this._appRef=t}}class t3 extends Ro{constructor(t){super(t),this._view=t}detectChanges(){!function th(e){Kc(e[8])}(this._view)}checkNoChanges(){}get context(){return null}}class l0 extends Ca{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=It(t);return new Kl(n,this.ngModule)}}function Xp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class r3{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const s=this.injector.get(t,zl,r);return s!==zl||n===zl?s:this.parentInjector.get(t,n,r)}}class Kl extends $l{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function H2(e){return e.map(j2).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Xp(this.componentDef.inputs)}get outputs(){return Xp(this.componentDef.outputs)}create(t,n,r,s){let a=(s=s||this.ngModule)instanceof uo?s:s?.injector;a&&null!==this.componentDef.getStandaloneInjector&&(a=this.componentDef.getStandaloneInjector(a)||a);const c=a?new r3(t,a):t,h=c.get(Kp,Ir),g=c.get(Wp,null),E=h.createRenderer(null,this.componentDef),A=this.componentDef.selectors[0][0]||"div",j=r?K1(E,r,this.componentDef.encapsulation):oc(h.createRenderer(null,this.componentDef),A,function n3(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?Mr:null}(A)),q=this.componentDef.onPush?288:272,he=_h(),Te=Sl(0,null,null,1,0,null,null,null,null,null),Pe=ha(null,Te,he,q,null,null,h,E,g,c,null);let Ue,We;Ps(Pe);try{const lt=vh(j,this.componentDef,Pe,h,E);if(j)if(r)ks(E,j,["ng-version",Zp.full]);else{const{attrs:Re,classes:nt}=function U2(e){const t=[],n=[];let r=1,s=2;for(;r<e.length;){let a=e[r];if("string"==typeof a)2===s?""!==a&&t.push(a,e[++r]):8===s&&n.push(a);else{if(!Or(s))break;s=a}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);Re&&ks(E,j,Re),nt&&nt.length>0&&fc(E,j,nt.join(" "))}if(We=we(Te,22),void 0!==n){const Re=We.projection=[];for(let nt=0;nt<this.ngContentSelectors.length;nt++){const St=n[nt];Re.push(null!=St?Array.from(St):null)}}Ue=yh(lt,this.componentDef,Pe,he,[wh]),pa(Te,Pe,null)}finally{fi()}return new Qp(this.componentType,Ue,Ao(We,Pe),Pe,We)}}class Qp extends Gp{constructor(t,n,r,s,a){super(),this.location=r,this._rootLView=s,this._tNode=a,this.instance=n,this.hostView=this.changeDetectorRef=new t3(s),this.componentType=t}get injector(){return new Ai(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function o3(e,t){return new u0(e,t??null)}class u0 extends Ds{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new l0(this);const r=xt(t);this._bootstrapComponents=gi(r.bootstrap),this._r3Injector=v1(t,n,[{provide:Ds,useValue:this},{provide:Ca,useValue:this.componentFactoryResolver}],F(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this.get(t)}get(t,n=Pr.THROW_IF_NOT_FOUND,r=Ke.Default){return t===Pr||t===Ds||t===Dl?this:this._r3Injector.get(t,n,r)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Wl extends zp{constructor(t){super(),this.moduleType=t}create(t){return new u0(this.moduleType,t)}}class a3 extends Ds{constructor(t,n,r){super(),this.componentFactoryResolver=new l0(this),this.instance=null;const s=new g1([...t,{provide:Ds,useValue:this},{provide:Ca,useValue:this.componentFactoryResolver}],n||yc(),r,new Set(["environment"]));this.injector=s,s.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function c0(e,t=null,n=null){return new a3(e,t,n).injector}let l3=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const r=c1(0,n.type),s=r.length>0?c0([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,s)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=oe({token:e,providedIn:"environment",factory:()=>new e(un(uo))}),e})();function Jp(e){e.getStandaloneInjector=t=>t.get(l3).getOrCreateStandaloneInjector(e)}function qp(e,t,n,r){return Kt(()=>{const s=e;null!==t&&(s.hasOwnProperty("decorators")&&void 0!==s.decorators?s.decorators.push(...t):s.decorators=t),null!==n&&(s.ctorParameters=n),null!==r&&(s.propDecorators=s.hasOwnProperty("propDecorators")&&void 0!==s.propDecorators?{...s.propDecorators,...r}:r)})}function eg(e,t,n){const r=Ln()+e,s=p();return s[r]===mt?Jr(s,r,n?t.call(n):t()):ma(s,r)}function tg(e,t,n,r){return cg(p(),Ln(),e,t,n,r)}function ng(e,t,n,r,s){return dg(p(),Ln(),e,t,n,r,s)}function rg(e,t,n,r,s,a){return fg(p(),Ln(),e,t,n,r,s,a)}function ig(e,t,n,r,s,a,c){return hg(p(),Ln(),e,t,n,r,s,a,c)}function sg(e,t,n,r,s,a,c,h){const g=Ln()+e,E=p(),A=Dr(E,g,n,r,s,a);return jn(E,g+4,c)||A?Jr(E,g+5,h?t.call(h,n,r,s,a,c):t(n,r,s,a,c)):ma(E,g+5)}function og(e,t,n,r,s,a,c,h,g){const E=Ln()+e,A=p(),j=Dr(A,E,n,r,s,a);return ys(A,E+4,c,h)||j?Jr(A,E+6,g?t.call(g,n,r,s,a,c,h):t(n,r,s,a,c,h)):ma(A,E+6)}function ag(e,t,n,r,s,a,c,h,g,E){const A=Ln()+e,j=p();let q=Dr(j,A,n,r,s,a);return xl(j,A+4,c,h,g)||q?Jr(j,A+7,E?t.call(E,n,r,s,a,c,h,g):t(n,r,s,a,c,h,g)):ma(j,A+7)}function lg(e,t,n,r,s,a,c,h,g,E,A){const j=Ln()+e,q=p(),he=Dr(q,j,n,r,s,a);return Dr(q,j+4,c,h,g,E)||he?Jr(q,j+8,A?t.call(A,n,r,s,a,c,h,g,E):t(n,r,s,a,c,h,g,E)):ma(q,j+8)}function ug(e,t,n,r){return pg(p(),Ln(),e,t,n,r)}function Ma(e,t){const n=e[t];return n===mt?void 0:n}function cg(e,t,n,r,s,a){const c=t+n;return jn(e,c,s)?Jr(e,c+1,a?r.call(a,s):r(s)):Ma(e,c+1)}function dg(e,t,n,r,s,a,c){const h=t+n;return ys(e,h,s,a)?Jr(e,h+2,c?r.call(c,s,a):r(s,a)):Ma(e,h+2)}function fg(e,t,n,r,s,a,c,h){const g=t+n;return xl(e,g,s,a,c)?Jr(e,g+3,h?r.call(h,s,a,c):r(s,a,c)):Ma(e,g+3)}function hg(e,t,n,r,s,a,c,h,g){const E=t+n;return Dr(e,E,s,a,c,h)?Jr(e,E+4,g?r.call(g,s,a,c,h):r(s,a,c,h)):Ma(e,E+4)}function pg(e,t,n,r,s,a){let c=t+n,h=!1;for(let g=0;g<s.length;g++)jn(e,c++,s[g])&&(h=!0);return h?Jr(e,c,r.apply(a,s)):Ma(e,c)}function gg(e,t){const n=v();let r;const s=e+22;n.firstCreatePass?(r=function u3(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[s]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(s,r.onDestroy)):r=n.data[s];const a=r.factory||(r.factory=ir(r.type)),c=kt(ho);try{const h=Us(!1),g=a();return Us(h),Ih(n,p(),s,g),g}finally{kt(c)}}function mg(e,t,n){const r=e+22,s=p(),a=xe(s,r);return Ia(s,r)?cg(s,Ln(),t,a.transform,n,a):a.transform(n)}function vg(e,t,n,r){const s=e+22,a=p(),c=xe(a,s);return Ia(a,s)?dg(a,Ln(),t,c.transform,n,r,c):c.transform(n,r)}function yg(e,t,n,r,s){const a=e+22,c=p(),h=xe(c,a);return Ia(c,a)?fg(c,Ln(),t,h.transform,n,r,s,h):h.transform(n,r,s)}function _g(e,t,n,r,s,a){const c=e+22,h=p(),g=xe(h,c);return Ia(h,c)?hg(h,Ln(),t,g.transform,n,r,s,a,g):g.transform(n,r,s,a)}function wg(e,t,n){const r=e+22,s=p(),a=xe(s,r);return Ia(s,r)?pg(s,Ln(),t,a.transform,n,a):a.transform.apply(a,n)}function Ia(e,t){return e[1].data[t].pure}function d0(e){return t=>{setTimeout(e,void 0,t)}}const ei=class c3 extends f.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let s=t,a=n||(()=>null),c=r;if(t&&"object"==typeof t){const g=t;s=g.next?.bind(g),a=g.error?.bind(g),c=g.complete?.bind(g)}this.__isAsync&&(a=d0(a),s&&(s=d0(s)),c&&(c=d0(c)));const h=super.subscribe({next:s,error:a,complete:c});return t instanceof T.w0&&t.add(h),h}};function d3(){return this._results[vs()]()}class Yl{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=vs(),r=Yl.prototype;r[n]||(r[n]=d3)}get changes(){return this._changes||(this._changes=new ei)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const s=Kn(t);(this._changesDetected=!function Xs(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let s=e[r],a=t[r];if(n&&(s=n(s),a=n(a)),a!==s)return!1}return!0}(r._results,s,n))&&(r._results=s,r.length=s.length,r.last=s[this.length-1],r.first=s[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let ba=(()=>{class e{}return e.__NG_ELEMENT_ID__=p3,e})();const f3=ba,h3=class extends f3{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,s=ha(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);s[17]=this._declarationLView[this._declarationTContainer.index];const c=this._declarationLView[19];return null!==c&&(s[19]=c.createEmbeddedView(r)),pa(r,s,t),new Ro(s)}};function p3(){return Zl(Be(),p())}function Zl(e,t){return 4&e.type?new h3(t,e,Ao(e,t)):null}let Xl=(()=>{class e{}return e.__NG_ELEMENT_ID__=g3,e})();function g3(){return Eg(Be(),p())}const m3=Xl,Dg=class extends m3{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Ao(this._hostTNode,this._hostLView)}get injector(){return new Ai(this._hostTNode,this._hostLView)}get parentInjector(){const t=zs(this._hostTNode,this._hostLView);if(Ha(t)){const n=Wr(t,this._hostLView),r=Si(t);return new Ai(n[1].data[r+8],n)}return new Ai(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Cg(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let s,a;"number"==typeof r?s=r:null!=r&&(s=r.index,a=r.injector);const c=t.createEmbeddedView(n||{},a);return this.insert(c,s),c}createComponent(t,n,r,s,a){const c=t&&!as(t);let h;if(c)h=n;else{const j=n||{};h=j.index,r=j.injector,s=j.projectableNodes,a=j.environmentInjector||j.ngModuleRef}const g=c?t:new Kl(It(t)),E=r||this.parentInjector;if(!a&&null==g.ngModule){const q=(c?E:this.parentInjector).get(uo,null);q&&(a=q)}const A=g.create(E,s,void 0,a);return this.insert(A.hostView,h),A}insert(t,n){const r=t._lView,s=r[1];if(function Ft(e){return gt(e[3])}(r)){const A=this.indexOf(t);if(-1!==A)this.detach(A);else{const j=r[3],q=new Dg(j,j[6],j[3]);q.detach(q.indexOf(t))}}const a=this._adjustIndex(n),c=this._lContainer;!function E2(e,t,n,r){const s=10+r,a=n.length;r>0&&(n[s-1][4]=t),r<a-10?(t[4]=n[s],Ri(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const c=t[17];null!==c&&n!==c&&function M2(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(c,t);const h=t[19];null!==h&&h.insertView(e),t[2]|=64}(s,r,c,a);const h=cc(a,c),g=r[11],E=yl(g,c[7]);return null!==E&&function w2(e,t,n,r,s,a){r[0]=s,r[6]=t,da(e,r,n,1,s,a)}(s,c[6],g,r,E,h),t.attachToViewContainerRef(),Ri(f0(c),a,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Cg(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=ac(this._lContainer,n);r&&(Qs(f0(this._lContainer),n),Vf(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=ac(this._lContainer,n);return r&&null!=Qs(f0(this._lContainer),n)?new Ro(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Cg(e){return e[8]}function f0(e){return e[8]||(e[8]=[])}function Eg(e,t){let n;const r=t[e.index];if(gt(r))n=r;else{let s;if(8&e.type)s=Wt(r);else{const a=t[11];s=a.createComment("");const c=N(e,t);gs(a,yl(a,c),s,function T2(e,t){return Rt(e)?e.nextSibling(t):t.nextSibling}(a,c),!1)}t[e.index]=n=eh(r,t,s,e),Tl(t,n)}return new Dg(n,e,t)}class h0{constructor(t){this.queryList=t,this.matches=null}clone(){return new h0(this.queryList)}setDirty(){this.queryList.setDirty()}}class p0{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,s=[];for(let a=0;a<r;a++){const c=n.getByIndex(a);s.push(this.queries[c.indexInDeclarationView].clone())}return new p0(s)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==Og(t,n).matches&&this.queries[n].setDirty()}}class Mg{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class g0{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const s=null!==n?n.length:0,a=this.getByIndex(r).embeddedTView(t,s);a&&(a.indexInDeclarationView=r,null!==n?n.push(a):n=[a])}return null!==n?new g0(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class m0{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new m0(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let s=0;s<r.length;s++){const a=r[s];this.matchTNodeWithReadOption(t,n,_3(n,a)),this.matchTNodeWithReadOption(t,n,Ys(n,t,a,!1,!1))}else r===ba?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Ys(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const s=this.metadata.read;if(null!==s)if(s===Ea||s===Xl||s===ba&&4&n.type)this.addMatch(n.index,-2);else{const a=Ys(n,t,s,!1,!1);null!==a&&this.addMatch(n.index,a)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function _3(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function D3(e,t,n,r){return-1===n?function w3(e,t){return 11&e.type?Ao(e,t):4&e.type?Zl(e,t):null}(t,e):-2===n?function C3(e,t,n){return n===Ea?Ao(t,e):n===ba?Zl(t,e):n===Xl?Eg(t,e):void 0}(e,t,r):Ti(e,e[1],n,t)}function Ig(e,t,n,r){const s=t[19].queries[r];if(null===s.matches){const a=e.data,c=n.matches,h=[];for(let g=0;g<c.length;g+=2){const E=c[g];h.push(E<0?null:D3(t,a[E],c[g+1],n.metadata.read))}s.matches=h}return s.matches}function v0(e,t,n,r){const s=e.queries.getByIndex(n),a=s.matches;if(null!==a){const c=Ig(e,t,s,n);for(let h=0;h<a.length;h+=2){const g=a[h];if(g>0)r.push(c[h/2]);else{const E=a[h+1],A=t[-g];for(let j=10;j<A.length;j++){const q=A[j];q[17]===q[3]&&v0(q[1],q,E,r)}if(null!==A[9]){const j=A[9];for(let q=0;q<j.length;q++){const he=j[q];v0(he[1],he,E,r)}}}}}return r}function bg(e){const t=p(),n=v(),r=Ra();ko(r+1);const s=Og(n,r);if(e.dirty&&Ot(t)===(2==(2&s.metadata.flags))){if(null===s.matches)e.reset([]);else{const a=s.crossesNgTemplate?v0(n,t,r,[]):Ig(n,t,s,r);e.reset(a,Q_),e.notifyOnChanges()}return!0}return!1}function Sg(e,t,n){const r=v();r.firstCreatePass&&(xg(r,new Mg(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),Rg(r,p(),t)}function Tg(e,t,n,r){const s=v();if(s.firstCreatePass){const a=Be();xg(s,new Mg(t,n,r),a.index),function M3(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(s,e),2==(2&n)&&(s.staticContentQueries=!0)}Rg(s,p(),n)}function Ag(){return function E3(e,t){return e[19].queries[t].queryList}(p(),Ra())}function Rg(e,t,n){const r=new Yl(4==(4&n));W1(e,t,r,r.destroy),null===t[19]&&(t[19]=new p0),t[19].queries.push(new h0(r))}function xg(e,t,n){null===e.queries&&(e.queries=new g0),e.queries.track(new m0(t,n))}function Og(e,t){return e.queries.getByIndex(t)}function Pg(e,t){return Zl(e,t)}const Zn=(()=>({\u0275\u0275attribute:ed,\u0275\u0275attributeInterpolate1:td,\u0275\u0275attributeInterpolate2:nd,\u0275\u0275attributeInterpolate3:rd,\u0275\u0275attributeInterpolate4:id,\u0275\u0275attributeInterpolate5:sd,\u0275\u0275attributeInterpolate6:od,\u0275\u0275attributeInterpolate7:ad,\u0275\u0275attributeInterpolate8:ld,\u0275\u0275attributeInterpolateV:ud,\u0275\u0275defineComponent:Zt,\u0275\u0275defineDirective:Nn,\u0275\u0275defineInjectable:oe,\u0275\u0275defineInjector:be,\u0275\u0275defineNgModule:Rn,\u0275\u0275definePipe:qn,\u0275\u0275directiveInject:ho,\u0275\u0275getInheritedFactory:Ka,\u0275\u0275inject:un,\u0275\u0275injectAttribute:Za,\u0275\u0275invalidFactory:I1,\u0275\u0275invalidFactoryDep:qs,\u0275\u0275templateRefExtractor:Pg,\u0275\u0275resetView:ve,\u0275\u0275NgOnChangesFeature:Ur,\u0275\u0275ProvidersFeature:Up,\u0275\u0275CopyDefinitionFeature:Ch,\u0275\u0275InheritDefinitionFeature:Qc,\u0275\u0275StandaloneFeature:Jp,\u0275\u0275nextContext:Oh,\u0275\u0275namespaceHTML:Fa,\u0275\u0275namespaceMathML:La,\u0275\u0275namespaceSVG:Pa,\u0275\u0275enableBindings:bi,\u0275\u0275disableBindings:D,\u0275\u0275elementStart:Ol,\u0275\u0275elementEnd:Pl,\u0275\u0275element:fd,\u0275\u0275elementContainerStart:Ll,\u0275\u0275elementContainerEnd:Fl,\u0275\u0275elementContainer:hd,\u0275\u0275pureFunction0:eg,\u0275\u0275pureFunction1:tg,\u0275\u0275pureFunction2:ng,\u0275\u0275pureFunction3:rg,\u0275\u0275pureFunction4:ig,\u0275\u0275pureFunction5:sg,\u0275\u0275pureFunction6:og,\u0275\u0275pureFunction7:ag,\u0275\u0275pureFunction8:lg,\u0275\u0275pureFunctionV:ug,\u0275\u0275getCurrentView:Sh,\u0275\u0275restoreView:R,\u0275\u0275listener:gd,\u0275\u0275projection:Lh,\u0275\u0275syntheticHostProperty:Zd,\u0275\u0275syntheticHostListener:md,\u0275\u0275pipeBind1:mg,\u0275\u0275pipeBind2:vg,\u0275\u0275pipeBind3:yg,\u0275\u0275pipeBind4:_g,\u0275\u0275pipeBindV:wg,\u0275\u0275projectionDef:Ph,\u0275\u0275hostProperty:Yd,\u0275\u0275property:cd,\u0275\u0275propertyInterpolate:yd,\u0275\u0275propertyInterpolate1:Nl,\u0275\u0275propertyInterpolate2:_d,\u0275\u0275propertyInterpolate3:wd,\u0275\u0275propertyInterpolate4:Dd,\u0275\u0275propertyInterpolate5:Cd,\u0275\u0275propertyInterpolate6:Ed,\u0275\u0275propertyInterpolate7:Md,\u0275\u0275propertyInterpolate8:Id,\u0275\u0275propertyInterpolateV:bd,\u0275\u0275pipe:gg,\u0275\u0275queryRefresh:bg,\u0275\u0275viewQuery:Sg,\u0275\u0275loadQuery:Ag,\u0275\u0275contentQuery:Tg,\u0275\u0275reference:bh,\u0275\u0275classMap:Uh,\u0275\u0275classMapInterpolate1:Xh,\u0275\u0275classMapInterpolate2:Qh,\u0275\u0275classMapInterpolate3:Jh,\u0275\u0275classMapInterpolate4:qh,\u0275\u0275classMapInterpolate5:ep,\u0275\u0275classMapInterpolate6:tp,\u0275\u0275classMapInterpolate7:np,\u0275\u0275classMapInterpolate8:rp,\u0275\u0275classMapInterpolateV:ip,\u0275\u0275styleMap:Fr,\u0275\u0275styleMapInterpolate1:sp,\u0275\u0275styleMapInterpolate2:op,\u0275\u0275styleMapInterpolate3:ap,\u0275\u0275styleMapInterpolate4:lp,\u0275\u0275styleMapInterpolate5:up,\u0275\u0275styleMapInterpolate6:cp,\u0275\u0275styleMapInterpolate7:dp,\u0275\u0275styleMapInterpolate8:fp,\u0275\u0275styleMapInterpolateV:hp,\u0275\u0275styleProp:Sd,\u0275\u0275stylePropInterpolate1:kd,\u0275\u0275stylePropInterpolate2:jd,\u0275\u0275stylePropInterpolate3:Hd,\u0275\u0275stylePropInterpolate4:Ud,\u0275\u0275stylePropInterpolate5:$d,\u0275\u0275stylePropInterpolate6:zd,\u0275\u0275stylePropInterpolate7:Gd,\u0275\u0275stylePropInterpolate8:Kd,\u0275\u0275stylePropInterpolateV:Wd,\u0275\u0275classProp:Td,\u0275\u0275advance:n1,\u0275\u0275template:Mh,\u0275\u0275text:Zh,\u0275\u0275textInterpolate:Rd,\u0275\u0275textInterpolate1:Bl,\u0275\u0275textInterpolate2:xd,\u0275\u0275textInterpolate3:Od,\u0275\u0275textInterpolate4:Pd,\u0275\u0275textInterpolate5:Ld,\u0275\u0275textInterpolate6:Fd,\u0275\u0275textInterpolate7:Nd,\u0275\u0275textInterpolate8:Vd,\u0275\u0275textInterpolateV:Bd,\u0275\u0275i18n:Vp,\u0275\u0275i18nAttributes:Bp,\u0275\u0275i18nExp:n0,\u0275\u0275i18nStart:e0,\u0275\u0275i18nEnd:t0,\u0275\u0275i18nApply:kp,\u0275\u0275i18nPostprocess:jp,\u0275\u0275resolveWindow:Sf,\u0275\u0275resolveDocument:Tf,\u0275\u0275resolveBody:Af,\u0275\u0275setComponentScope:Ht,\u0275\u0275setNgModuleScope:xn,\u0275\u0275registerNgModuleType:dl,\u0275\u0275sanitizeHtml:pf,\u0275\u0275sanitizeStyle:gf,\u0275\u0275sanitizeResourceUrl:Yu,\u0275\u0275sanitizeScript:mf,\u0275\u0275sanitizeUrl:Wu,\u0275\u0275sanitizeUrlOrResourceUrl:_f,\u0275\u0275trustConstantHtml:vf,\u0275\u0275trustConstantResourceUrl:yf,forwardRef:H,resolveForwardRef:Z}))();let xo=null;function S3(){xo=null}function Fg(e){return!!xt(e)}const Sa=[];let y0=!1;function Ng(){if(!y0){y0=!0;try{for(let e=Sa.length-1;e>=0;e--){const{moduleType:t,ngModule:n}=Sa[e];n.declarations&&n.declarations.every(Vg)&&(Sa.splice(e,1),x3(t,n))}}finally{y0=!1}}}function Vg(e){return Array.isArray(e)?e.every(Vg):!!Z(e)}function Bg(e,t={}){kg(e,t),void 0!==t.id&&dl(e,t.id),function T3(e,t){Sa.push({moduleType:e,ngModule:t})}(e,t)}function kg(e,t,n=!1){const r=Kn(t.declarations||Le);let s=null;Object.defineProperty(e,ct,{configurable:!0,get:()=>(null===s&&(s=mn().compileNgModule(Zn,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:Kn(t.bootstrap||Le).map(Z),declarations:r.map(Z),imports:Kn(t.imports||Le).map(Z).map($g),exports:Kn(t.exports||Le).map(Z).map($g),schemas:t.schemas?Kn(t.schemas):null,id:t.id||null}),s.schemas||(s.schemas=[])),s)});let a=null;Object.defineProperty(e,pt,{get:()=>{if(null===a){const h=mn();a=h.compileFactory(Zn,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,deps:hi(e),target:h.FactoryTarget.NgModule,typeArgumentCount:0})}return a},configurable:!1});let c=null;Object.defineProperty(e,Pt,{get:()=>{if(null===c){const h={name:e.name,type:e,providers:t.providers||Le,imports:[(t.imports||Le).map(Z),(t.exports||Le).map(Z)]};c=mn().compileInjector(Zn,`ng:///${e.name}/\u0275inj.js`,h)}return c},configurable:!1})}function Oo(e){const t=It(e)||Je(e)||Xt(e);return null!==t&&t.standalone}let Ql=new WeakMap,w0=new WeakMap;function R3(){Ql=new WeakMap,w0=new WeakMap,Sa.length=0}function x3(e,t){const n=Kn(t.declarations||Le),r=Cs(e);n.forEach(s=>{(s=Z(s)).hasOwnProperty(vt)?D0(It(s),r):!s.hasOwnProperty(At)&&!s.hasOwnProperty(jt)&&(s.ngSelectorScope=e)})}function D0(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(n=>n.hasOwnProperty(vt)?It(n):Je(n)).filter(n=>!!n),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(n=>Xt(n)),e.schemas=t.schemas,e.tView=null}function Cs(e){if(Fg(e))return function O3(e){const t=xt(e,!0);if(null!==t.transitiveCompileScopes)return t.transitiveCompileScopes;const n={schemas:t.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return gi(t.imports).forEach(r=>{const s=Cs(r);s.exported.directives.forEach(a=>n.compilation.directives.add(a)),s.exported.pipes.forEach(a=>n.compilation.pipes.add(a))}),gi(t.declarations).forEach(r=>{Xt(r)?n.compilation.pipes.add(r):n.compilation.directives.add(r)}),gi(t.exports).forEach(r=>{const s=r;if(Fg(s)){const a=Cs(s);a.exported.directives.forEach(c=>{n.compilation.directives.add(c),n.exported.directives.add(c)}),a.exported.pipes.forEach(c=>{n.compilation.pipes.add(c),n.exported.pipes.add(c)})}else Xt(s)?n.exported.pipes.add(s):n.exported.directives.add(s)}),t.transitiveCompileScopes=n,n}(e);if(Oo(e)){if(null!==(It(e)||Je(e)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([e]),pipes:new Set}};if(null!==Xt(e))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set([e])}}}throw new Error(`${e.name} does not have a module def (\u0275mod property)`)}function $g(e){return function Lg(e){return void 0!==e.ngModule}(e)?e.ngModule:e}let C0=0;function zg(e,t){let n=null;(function nf(e,t){Au(t)&&(Fi.set(e,t),Ni.add(e))})(e,t),Kg(e,t),Object.defineProperty(e,vt,{get:()=>{if(null===n){const r=mn();if(Au(t)){const E=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&E.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&E.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),E.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(E.join("\n"))}const s=function b3(){return xo}();let a=t.preserveWhitespaces;void 0===a&&(a=null!==s&&void 0!==s.preserveWhitespaces&&s.preserveWhitespaces);let c=t.encapsulation;void 0===c&&(c=null!==s&&void 0!==s.defaultEncapsulation?s.defaultEncapsulation:Se.Emulated);const h=t.templateUrl||`ng:///${e.name}/template.html`,g={...Wg(e,t),typeSourceSpan:r.createParseSourceSpan("Component",e.name,h),template:t.template||"",preserveWhitespaces:a,styles:t.styles||Le,animations:t.animations,declarations:[],changeDetection:t.changeDetection,encapsulation:c,interpolation:t.interpolation,viewProviders:t.viewProviders||null,isStandalone:!!t.standalone};C0++;try{if(g.usesInheritance&&Yg(e),n=r.compileComponent(Zn,h,g),t.standalone){const E=Kn(t.imports||Le),{directiveDefs:A,pipeDefs:j}=function L3(e,t){let n=null,r=null;return{directiveDefs:()=>{if(null===n){n=[It(e)];for(const c of t){const h=Z(c);if(xt(h)){const g=Cs(h);for(const E of g.exported.directives){const A=It(E)||Je(E);A&&n.push(A)}}else{const g=It(h)||Je(h);g&&n.push(g)}}}return n},pipeDefs:()=>{if(null===r){r=[];for(const c of t){const h=Z(c);if(xt(h)){const g=Cs(h);r.push(...Array.from(g.exported.pipes).map(E=>Xt(E)))}else{const g=Xt(h);g&&r.push(g)}}}return r}}}(e,E);n.directiveDefs=A,n.pipeDefs=j,n.dependencies=()=>E.map(Z)}}finally{C0--}if(0===C0&&Ng(),function F3(e){return void 0!==e.ngSelectorScope}(e)){const E=Cs(e.ngSelectorScope);D0(n,E)}if(t.schemas){if(!t.standalone)throw new Error(`The 'schemas' was specified for the ${X(e)} but is only valid on a component that is standalone.`);n.schemas=t.schemas}else t.standalone&&(n.schemas=[])}return n},configurable:!1})}function E0(e,t){let n=null;Kg(e,t||{}),Object.defineProperty(e,At,{get:()=>{if(null===n){const r=Gg(e,t||{});n=mn().compileDirective(Zn,r.sourceMapUrl,r.metadata)}return n},configurable:!1})}function Gg(e,t){const n=e&&e.name,r=`ng:///${n}/\u0275dir.js`,s=mn(),a=Wg(e,t);return a.typeSourceSpan=s.createParseSourceSpan("Directive",n,r),a.usesInheritance&&Yg(e),{metadata:a,sourceMapUrl:r}}function Kg(e,t){let n=null;Object.defineProperty(e,pt,{get:()=>{if(null===n){const r=Gg(e,t),s=mn();n=s.compileFactory(Zn,`ng:///${e.name}/\u0275fac.js`,{name:r.metadata.name,type:r.metadata.type,typeArgumentCount:0,deps:hi(e),target:s.FactoryTarget.Directive})}return n},configurable:!1})}function N3(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function Wg(e,t){const n=Rr(),r=n.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==t.selector?t.selector:null,host:t.host||Dt,propMetadata:r,inputs:t.inputs||Le,outputs:t.outputs||Le,queries:Zg(e,r,Xg),lifecycle:{usesOnChanges:n.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!N3(e),exportAs:k3(t.exportAs),providers:t.providers||null,viewQueries:Zg(e,r,Qg),isStandalone:!!t.standalone}}function Yg(e){const t=Object.prototype;let n=Object.getPrototypeOf(e.prototype).constructor;for(;n&&n!==t;)!Je(n)&&!It(n)&&H3(n)&&E0(n,null),n=Object.getPrototypeOf(n)}function V3(e){return"string"==typeof e?qg(e):Z(e)}function B3(e,t){return{propertyName:e,predicate:V3(t.selector),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly}}function Zg(e,t,n){const r=[];for(const s in t)if(t.hasOwnProperty(s)){const a=t[s];a.forEach(c=>{if(n(c)){if(!c.selector)throw new Error(`Can't construct a query for the property "${s}" of "${X(e)}" since the query selector wasn't defined.`);if(a.some(Jg))throw new Error("Cannot combine @Input decorators with query decorators");r.push(B3(s,c))}})}return r}function k3(e){return void 0===e?null:qg(e)}function Xg(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function Qg(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function Jg(e){return"Input"===e.ngMetadataName}function qg(e){return e.split(",").map(t=>t.trim())}const j3=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function H3(e){const t=Rr();if(j3.some(r=>t.hasLifecycleHook(e,r)))return!0;const n=t.propMetadata(e);for(const r in n){const s=n[r];for(let a=0;a<s.length;a++){const c=s[a],h=c.ngMetadataName;if(Jg(c)||Xg(c)||Qg(c)||"Output"===h||"HostBinding"===h||"HostListener"===h)return!0}}return!1}function em(e,t){let n=null,r=null;Object.defineProperty(e,pt,{get:()=>{if(null===r){const s=tm(e,t),a=mn();r=a.compileFactory(Zn,`ng:///${s.name}/\u0275fac.js`,{name:s.name,type:s.type,typeArgumentCount:0,deps:hi(e),target:a.FactoryTarget.Pipe})}return r},configurable:!1}),Object.defineProperty(e,jt,{get:()=>{if(null===n){const s=tm(e,t);n=mn().compilePipe(Zn,`ng:///${s.name}/\u0275pipe.js`,s)}return n},configurable:!1})}function tm(e,t){return{type:e,name:e.name,pipeName:t.name,pure:void 0===t.pure||t.pure,isStandalone:!!t.standalone}}const nm=is("Directive",(e={})=>e,void 0,void 0,(e,t)=>E0(e,t)),U3=is("Component",(e={})=>({changeDetection:Ee.Default,...e}),nm,void 0,(e,t)=>zg(e,t)),$3=is("Pipe",e=>({pure:!0,...e}),void 0,void 0,(e,t)=>em(e,t)),z3=Yr("Input",e=>({bindingPropertyName:e})),G3=Yr("Output",e=>({bindingPropertyName:e})),K3=Yr("HostBinding",e=>({hostPropertyName:e})),W3=Yr("HostListener",(e,t)=>({eventName:e,args:t})),Y3=is("NgModule",e=>e,void 0,void 0,(e,t)=>Bg(e,t));function Jl(...e){}const rm=new Nt("Application Initializer");let ql=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Jl,this.reject=Jl,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,s)=>{this.resolve=r,this.reject=s})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let s=0;s<this.appInits.length;s++){const a=this.appInits[s]();if(pd(a))n.push(a);else if(Ah(a)){const c=new Promise((h,g)=>{a.subscribe({complete:h,error:g})});n.push(c)}}Promise.all(n).then(()=>{r()}).catch(s=>{this.reject(s)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(un(rm,8))},e.\u0275prov=oe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const im=new Nt("AppId",{providedIn:"root",factory:sm});function sm(){return`${M0()}${M0()}${M0()}`}const Z3={provide:im,useFactory:sm,deps:[]};function M0(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const om=new Nt("Platform Initializer"),X3=new Nt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),am=new Nt("appBootstrapListener"),Q3=new Nt("Application Packages Root URL"),J3=new Nt("AnimationModuleType");let q3=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=oe({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const eu=new Nt("LocaleId",{providedIn:"root",factory:()=>Pi(eu,Ke.Optional|Ke.SkipSelf)||function e4(){return typeof $localize<"u"&&$localize.locale||ws}()}),t4=new Nt("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"}),n4=new Nt("Translations"),r4=new Nt("TranslationsFormat");var ti=(()=>((ti=ti||{})[ti.Error=0]="Error",ti[ti.Warning=1]="Warning",ti[ti.Ignore=2]="Ignore",ti))();class lm{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let s4=(()=>{class e{compileModuleSync(n){return new Wl(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),a=gi(xt(n).declarations).reduce((c,h)=>{const g=It(h);return g&&c.push(new Kl(g)),c},[]);return new lm(r,a)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=oe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const um=new Nt("compilerOptions");class o4{}const a4=(()=>Promise.resolve(0))();function I0(e){typeof Zone>"u"?a4.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class hr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ei(!1),this.onMicrotaskEmpty=new ei(!1),this.onStable=new ei(!1),this.onError=new ei(!1),typeof Zone>"u")throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&n,s.shouldCoalesceRunChangeDetection=r,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function l4(){let e=ue.requestAnimationFrame,t=ue.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function d4(e){const t=()=>{!function c4(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ue,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,S0(e),e.isCheckStableRunning=!0,b0(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),S0(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,s,a,c,h)=>{try{return cm(e),n.invokeTask(s,a,c,h)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||e.shouldCoalesceRunChangeDetection)&&t(),dm(e)}},onInvoke:(n,r,s,a,c,h,g)=>{try{return cm(e),n.invoke(s,a,c,h,g)}finally{e.shouldCoalesceRunChangeDetection&&t(),dm(e)}},onHasTask:(n,r,s,a)=>{n.hasTask(s,a),r===s&&("microTask"==a.change?(e._hasPendingMicrotasks=a.microTask,S0(e),b0(e)):"macroTask"==a.change&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(n,r,s,a)=>(n.handleError(s,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!hr.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(hr.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,s){const a=this._inner,c=a.scheduleEventTask("NgZoneEvent: "+s,t,u4,Jl,Jl);try{return a.runTask(c,n,r)}finally{a.cancelTask(c)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const u4={};function b0(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function S0(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function cm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function dm(e){e._nesting--,b0(e)}class fm{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ei,this.onMicrotaskEmpty=new ei,this.onStable=new ei,this.onError=new ei}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,s){return t.apply(n,r)}}const hm=new Nt(""),pm=new Nt("");let T0,f4=(()=>{class e{constructor(n,r,s){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,T0||(mm(s),s.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?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:()=>{hr.assertNotInAngularZone(),I0(()=>{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())I0(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,s){let a=-1;r&&r>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(c=>c.timeoutId!==a),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:a,updateCb:s})}whenStable(n,r,s){if(s&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,s){return[]}}return e.\u0275fac=function(n){return new(n||e)(un(hr),un(gm),un(pm))},e.\u0275prov=oe({token:e,factory:e.\u0275fac}),e})(),gm=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return T0?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=oe({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function mm(e){T0=e}let ji=null;const A0=new Nt("AllowMultipleToken"),vm=new Nt("PlatformOnDestroy");function ym(e,t,n){const r=new Wl(n);return Promise.resolve(r)}function _m(e){return e.isBoundToModule}class h4{constructor(t,n){this.name=t,this.token=n}}function wm(e){if(ji&&!ji.get(A0,!1))throw new se(400,"");ji=e;const t=e.get(R0);return Dm(e),t}function Dm(e){const t=e.get(om,null);t&&t.forEach(n=>n())}function g4(e){const{rootComponent:t,appProviders:n,platformProviders:r}=e,s=function p4(e=[]){if(ji)return ji;const t=Mm(e);return ji=t,Dm(t),t}(r),a=new hr(Im());return a.run(()=>{const h=c0([{provide:hr,useValue:a},...n||[]],s,"Environment Injector"),g=h.get(la,null);let E;return a.runOutsideAngular(()=>{E=a.onError.subscribe({next:A=>{g.handleError(A)}})}),bm(g,a,()=>{const A=h.get(ql);return A.runInitializers(),A.donePromise.then(()=>{Qd(h.get(eu,ws)||ws);const q=h.get(nu);return q.onDestroy(()=>E.unsubscribe()),q.bootstrap(t),q})})})}function Cm(e,t,n=[]){const r=`Platform: ${t}`,s=new Nt(r);return(a=[])=>{let c=tu();if(!c||c.injector.get(A0,!1)){const h=[...n,...a,{provide:s,useValue:!0}];e?e(h):wm(Mm(h,r))}return Em()}}function Em(e){const t=tu();if(!t)throw new se(401,"");return t}function Mm(e=[],t){return Pr.create({name:t,providers:[{provide:mc,useValue:"platform"},{provide:vm,useValue:()=>ji=null},...e]})}function m4(){tu()?.destroy()}function tu(){return ji?.get(R0)??null}let R0=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const s=function v4(e,t){let n;return n="noop"===e?new fm:("zone.js"===e?void 0:e)||new hr(t),n}(r?.ngZone,Im(r)),a=[{provide:hr,useValue:s}];return s.run(()=>{const c=Pr.create({providers:a,parent:this.injector,name:n.moduleType.name}),h=n.create(c),g=h.injector.get(la,null);if(!g)throw new se(402,"");return s.runOutsideAngular(()=>{const E=s.onError.subscribe({next:A=>{g.handleError(A)}});h.onDestroy(()=>{ru(this._modules,h),E.unsubscribe()})}),bm(g,s,()=>{const E=h.injector.get(ql);return E.runInitializers(),E.donePromise.then(()=>(Qd(h.injector.get(eu,ws)||ws),this._moduleDoBootstrap(h),h))})})}bootstrapModule(n,r=[]){const s=Sm({},r);return ym(0,0,n).then(a=>this.bootstrapModuleFactory(a,s))}_moduleDoBootstrap(n){const r=n.injector.get(nu);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(s=>r.bootstrap(s));else{if(!n.instance.ngDoBootstrap)throw new se(403,"");n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new se(404,"");this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r()),this._injector.get(vm,null)?.(),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(un(Pr))},e.\u0275prov=oe({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Im(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}function bm(e,t,n){try{const r=n();return pd(r)?r.catch(s=>{throw t.runOutsideAngular(()=>e.handleError(s)),s}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}function Sm(e,t){return Array.isArray(t)?t.reduce(Sm,e):{...e,...t}}let nu=(()=>{class e{constructor(n,r,s,a){this._zone=n,this._injector=r,this._exceptionHandler=s,this._initStatus=a,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 c=new C.y(g=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{g.next(this._stable),g.complete()})}),h=new C.y(g=>{let E;this._zone.runOutsideAngular(()=>{E=this._zone.onStable.subscribe(()=>{hr.assertNotInAngularZone(),I0(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,g.next(!0))})})});const A=this._zone.onUnstable.subscribe(()=>{hr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{g.next(!1)}))});return()=>{E.unsubscribe(),A.unsubscribe()}});this.isStable=(0,K.T)(c,h.pipe((0,M.B)()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const s=n instanceof $l;if(!this._initStatus.done)throw!s&&Oo(n),new se(405,false);let a;a=s?n:this._injector.get(Ca).resolveComponentFactory(n),this.componentTypes.push(a.componentType);const c=_m(a)?void 0:this._injector.get(Ds),g=a.create(Pr.NULL,[],r||a.selector,c),E=g.location.nativeElement,A=g.injector.get(hm,null);return A?.registerApplication(E),g.onDestroy(()=>{this.detachView(g.hostView),ru(this.components,g),A?.unregisterApplication(E)}),this._loadComponent(g),g}tick(){if(this._runningTick)throw new se(101,"");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;ru(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(am,[]).concat(this._bootstrapListeners).forEach(s=>s(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ru(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new se(406,false);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(un(hr),un(Pr),un(la),un(ql))},e.\u0275prov=oe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function ru(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let Am=!0,Rm=!1;function _4(){return Rm=!0,Am}function w4(){if(Rm)throw new Error("Cannot enable prod mode after platform setup.");Am=!1}function D4(e){const t=ia(e);if(!t)throw xm(e);return new Wl(t)}function C4(e){const t=ia(e);if(!t)throw xm(e);return t}function xm(e){return new Error(`No module with ID ${e} loaded`)}let Om=(()=>{class e{}return e.__NG_ELEMENT_ID__=Pm,e})();function Pm(e){return function E4(e,t,n){if(wt(e)&&!n){const r=$e(e.index,t);return new Ro(r,r)}return 47&e.type?new Ro(t[16],t):null}(Be(),p(),16==(16&e))}class Lm extends Om{}class M4 extends Lm{}class I4{constructor(t,n){this.name=t,this.callback=n}}function b4(e){return e.map(t=>t.nativeElement)}class x0{constructor(t){this.nativeNode=t}get parent(){const t=this.nativeNode.parentNode;return t?new Ta(t):null}get injector(){return fh(this.nativeNode)}get componentInstance(){const t=this.nativeNode;return t&&(Zc(t)||ch(t))}get context(){return Zc(this.nativeNode)||uh(this.nativeNode)}get listeners(){return ph(this.nativeNode).filter(t=>"dom"===t.type)}get references(){return function dy(e){const t=Bn(e);if(null===t)return{};if(void 0===t.localRefs){const n=t.lView;if(null===n)return{};t.localRefs=function p2(e,t){const n=e[1].data[t];if(n&&n.localNames){const r={};let s=n.index+1;for(let a=0;a<n.localNames.length;a+=2)r[n.localNames[a]]=e[s],s++;return r}return null}(n,t.nodeIndex)}return t.localRefs||{}}(this.nativeNode)}get providerTokens(){return function uy(e){const t=Bn(e),n=t?t.lView:null;if(null===n)return[];const r=n[1],s=r.data[t.nodeIndex],a=[],h=s.directiveEnd;for(let g=1048575&s.providerIndexes;g<h;g++){let E=r.data[g];hy(E)&&(E=E.type),a.push(E)}return a}(this.nativeNode)}}class Ta extends x0{constructor(t){super(t)}get nativeElement(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null}get name(){const t=Bn(this.nativeNode),n=t?t.lView:null;return null!==n?n[1].data[t.nodeIndex].value:this.nativeNode.nodeName}get properties(){const t=Bn(this.nativeNode),n=t?t.lView:null;if(null===n)return{};const r=n[1].data,s=r[t.nodeIndex],a={};return function S4(e,t){if(e){let n=Object.getPrototypeOf(e);const r=Node.prototype;for(;null!==n&&n!==r;){const s=Object.getOwnPropertyDescriptors(n);for(let a in s)if(!a.startsWith("__")&&!a.startsWith("on")){const c=e[a];T4(c)&&(t[a]=c)}n=Object.getPrototypeOf(n)}}}(this.nativeElement,a),function A4(e,t,n,r){let s=t.propertyBindings;if(null!==s)for(let a=0;a<s.length;a++){const c=s[a],g=r[c].split("\ufffd"),E=g[0];if(g.length>1){let A=g[1];for(let j=1;j<g.length-1;j++)A+=W(n[c+j-1])+g[j+1];e[E]=A}else e[E]=n[c]}}(a,s,n,r),a}get attributes(){const t={},n=this.nativeElement;if(!n)return t;const r=Bn(n),s=r?r.lView:null;if(null===s)return{};const a=s[1].data[r.nodeIndex].attrs,c=[];if(a){let g=0;for(;g<a.length;){const E=a[g];if("string"!=typeof E)break;t[E]=a[g+1],c.push(E.toLowerCase()),g+=2}}const h=n.attributes;for(let g=0;g<h.length;g++){const E=h[g],A=E.name.toLowerCase();-1===c.indexOf(A)&&(t[A]=E.value)}return t}get styles(){return this.nativeElement&&this.nativeElement.style?this.nativeElement.style:{}}get classes(){const t={},r=this.nativeElement.className;return("string"!=typeof r?r.baseVal.split(" "):r.split(" ")).forEach(a=>t[a]=!0),t}get childNodes(){const t=this.nativeNode.childNodes,n=[];for(let r=0;r<t.length;r++)n.push(Po(t[r]));return n}get children(){const t=this.nativeElement;if(!t)return[];const n=t.children,r=[];for(let s=0;s<n.length;s++)r.push(Po(n[s]));return r}query(t){return this.queryAll(t)[0]||null}queryAll(t){const n=[];return Fm(this,t,n,!0),n}queryAllNodes(t){const n=[];return Fm(this,t,n,!1),n}triggerEventHandler(t,n){const r=this.nativeNode,s=[];this.listeners.forEach(a=>{if(a.name===t){const c=a.callback;c.call(r,n),s.push(c)}}),"function"==typeof r.eventListeners&&r.eventListeners(t).forEach(a=>{if(-1!==a.toString().indexOf("__ngUnwrap__")){const c=a("__ngUnwrap__");return-1===s.indexOf(c)&&c.call(r,n)}})}}function T4(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function Fm(e,t,n,r){const s=Bn(e.nativeNode),a=s?s.lView:null;null!==a?Es(a[1].data[s.nodeIndex],a,t,n,r,e.nativeNode):P0(e.nativeNode,t,n,r)}function Es(e,t,n,r,s,a){const c=function te(e,t){const n=null===e?-1:e.index;return-1!==n?Wt(t[n]):null}(e,t);if(11&e.type){if(O0(c,n,r,s,a),wt(e)){const g=$e(e.index,t);g&&g[1].firstChild&&Es(g[1].firstChild,g,n,r,s,a)}else e.child&&Es(e.child,t,n,r,s,a),c&&P0(c,n,r,s);const h=t[e.index];gt(h)&&Nm(h,n,r,s,a)}else if(4&e.type){const h=t[e.index];O0(h[7],n,r,s,a),Nm(h,n,r,s,a)}else if(16&e.type){const h=t[16],E=h[6].projection[e.projection];if(Array.isArray(E))for(let A of E)O0(A,n,r,s,a);else if(E){const A=h[3];Es(A[1].data[E.index],A,n,r,s,a)}}else e.child&&Es(e.child,t,n,r,s,a);if(a!==c){const h=4&e.flags?e.projectionNext:e.next;h&&Es(h,t,n,r,s,a)}}function Nm(e,t,n,r,s){for(let a=10;a<e.length;a++){const c=e[a],h=c[1].firstChild;h&&Es(h,c,t,n,r,s)}}function O0(e,t,n,r,s){if(s!==e){const a=Po(e);if(!a)return;(r&&a instanceof Ta&&t(a)&&-1===n.indexOf(a)||!r&&t(a)&&-1===n.indexOf(a))&&n.push(a)}}function P0(e,t,n,r){const s=e.childNodes,a=s.length;for(let c=0;c<a;c++){const h=s[c],g=Po(h);g&&((r&&g instanceof Ta&&t(g)&&-1===n.indexOf(g)||!r&&t(g)&&-1===n.indexOf(g))&&n.push(g),P0(h,t,n,r))}}const F0="__ng_debug__";function Po(e){return e instanceof Node?(e.hasOwnProperty(F0)||(e[F0]=e.nodeType==Node.ELEMENT_NODE?new Ta(e):new x0(e)),e[F0]):null}function R4(e){return null}class Vm{constructor(){}supports(t){return ga(t)}create(t){return new Bm(t)}}const x4=(e,t)=>t;class Bm{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||x4}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,s=0,a=null;for(;n||r;){const c=!r||n&&n.currentIndex<jm(r,s,a)?n:r,h=jm(c,s,a),g=c.currentIndex;if(c===r)s--,r=r._nextRemoved;else if(n=n._next,null==c.previousIndex)s++;else{a||(a=[]);const E=h-s,A=g-s;if(E!=A){for(let q=0;q<E;q++){const he=q<a.length?a[q]:a[q]=0,Te=he+q;A<=Te&&Te<E&&(a[q]=he+1)}a[c.previousIndex]=A-E}}h!==g&&t(c,h,g)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!ga(t))throw new se(900,"");return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let s,a,c,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let h=0;h<this.length;h++)a=t[h],c=this._trackByFn(h,a),null!==n&&Object.is(n.trackById,c)?(r&&(n=this._verifyReinsertion(n,a,c,h)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,c,h),r=!0),n=n._next}else s=0,function by(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[vs()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,h=>{c=this._trackByFn(s,h),null!==n&&Object.is(n.trackById,c)?(r&&(n=this._verifyReinsertion(n,h,c,s)),Object.is(n.item,h)||this._addIdentityChange(n,h)):(n=this._mismatch(n,h,c,s),r=!0),n=n._next,s++}),this.length=s;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,s){let a;return null===t?a=this._itTail:(a=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,a,s)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,s))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,a,s)):t=this._addAfter(new O4(n,r),a,s),t}_verifyReinsertion(t,n,r,s){let a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==a?t=this._reinsertAfter(a,t._prev,s):t.currentIndex!=s&&(t.currentIndex=s,this._addToMoves(t,s)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const s=t._prevRemoved,a=t._nextRemoved;return null===s?this._removalsHead=a:s._nextRemoved=a,null===a?this._removalsTail=s:a._prevRemoved=s,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const s=null===n?this._itHead:n._next;return t._next=s,t._prev=n,null===s?this._itTail=t:s._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new km),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new km),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class O4{constructor(t,n){this.item=t,this.trackById=n,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 P4{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class km{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new P4,this.map.set(n,r)),r.add(t)}get(t,n){const s=this.map.get(t);return s?s.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function jm(e,t,n){const r=e.previousIndex;if(null===r)return r;let s=0;return n&&r<n.length&&(s=n[r]),r+t+s}class Hm{constructor(){}supports(t){return t instanceof Map||qc(t)}create(){return new L4}}class L4{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||qc(t)))throw new se(900,"")}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,s)=>{if(n&&n.key===s)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const a=this._getOrCreateRecordForKey(s,r);n=this._insertBeforeOrAppend(n,a)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const s=this._records.get(t);this._maybeAddToChanges(s,n);const a=s._prev,c=s._next;return a&&(a._next=c),c&&(c._prev=a),s._next=null,s._prev=null,s}const r=new F4(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class F4{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Um(){return new N0([new Vm])}let N0=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const s=r.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Um()),deps:[[e,new ds,new to]]}}find(n){const r=this.factories.find(s=>s.supports(n));if(null!=r)return r;throw new se(901,"")}}return e.\u0275prov=oe({token:e,providedIn:"root",factory:Um}),e})();function $m(){return new V0([new Hm])}let V0=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const s=r.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||$m()),deps:[[e,new ds,new to]]}}find(n){const r=this.factories.find(a=>a.supports(n));if(r)return r;throw new se(901,"")}}return e.\u0275prov=oe({token:e,providedIn:"root",factory:$m}),e})();const N4=[new Hm],B4=new N0([new Vm]),k4=new V0(N4),j4=Cm(null,"core",[]);let H4=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(un(nu))},e.\u0275mod=Rn({type:e}),e.\u0275inj=be({}),e})();function U4(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}const $4=!0;function z4(e){return mn().compileDirectiveDeclaration(Zn,`ng:///${e.type.name}/\u0275fac.js`,e)}function G4(e){qp(e.type,e.decorators,e.ctorParameters??null,e.propDecorators??null)}function K4(e){return mn().compileComponentDeclaration(Zn,`ng:///${e.type.name}/\u0275cmp.js`,e)}function W4(e){return mn(function Y4(e){switch(e){case gn.Directive:return"directive";case gn.Component:return"component";case gn.Injectable:return"injectable";case gn.Pipe:return"pipe";case gn.NgModule:return"NgModule"}}(e.target)).compileFactoryDeclaration(Zn,`ng:///${e.type.name}/\u0275fac.js`,e)}function Z4(e){return mn().compileInjectableDeclaration(Zn,`ng:///${e.type.name}/\u0275prov.js`,e)}function X4(e){return mn().compileInjectorDeclaration(Zn,`ng:///${e.type.name}/\u0275inj.js`,e)}function Q4(e){return mn().compileNgModuleDeclaration(Zn,`ng:///${e.type.name}/\u0275mod.js`,e)}function J4(e){return mn().compilePipeDeclaration(Zn,`ng:///${e.type.name}/\u0275pipe.js`,e)}},4006:(ge,I,_)=>{"use strict";_.d(I,{Cf:()=>W,F:()=>tr,Fj:()=>ae,JJ:()=>Ke,JL:()=>An,JU:()=>F,Kr:()=>mr,NI:()=>Mn,On:()=>ii,Q7:()=>Ir,UX:()=>an,YN:()=>Gn,Zs:()=>zr,a5:()=>ht,kI:()=>Ce,nD:()=>te,qu:()=>ln,sg:()=>jr,u:()=>ur,u5:()=>yt,x0:()=>bn});var f=_(4650),T=_(6895),C=_(2076),K=_(4128),M=_(4004);let S=(()=>{class D{constructor(v,R){this._renderer=v,this._elementRef=R,this.onChange=ve=>{},this.onTouched=()=>{}}setProperty(v,R){this._renderer.setProperty(this._elementRef.nativeElement,v,R)}registerOnTouched(v){this.onTouched=v}registerOnChange(v){this.onChange=v}setDisabledState(v){this.setProperty("disabled",v)}}return D.\u0275fac=function(v){return new(v||D)(f.\u0275\u0275directiveInject(f.Renderer2),f.\u0275\u0275directiveInject(f.ElementRef))},D.\u0275dir=f.\u0275\u0275defineDirective({type:D}),D})(),x=(()=>{class D extends S{}return D.\u0275fac=function(){let p;return function(R){return(p||(p=f.\u0275\u0275getInheritedFactory(D)))(R||D)}}(),D.\u0275dir=f.\u0275\u0275defineDirective({type:D,features:[f.\u0275\u0275InheritDefinitionFeature]}),D})();const F=new f.InjectionToken("NgValueAccessor"),H={provide:F,useExisting:(0,f.forwardRef)(()=>ae),multi:!0},Me=new f.InjectionToken("CompositionEventMode");let ae=(()=>{class D extends S{constructor(v,R,ve){super(v,R),this._compositionMode=ve,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Z(){const D=(0,T.q)()?(0,T.q)().getUserAgent():"";return/android (\d+)/.test(D.toLowerCase())}())}writeValue(v){this.setProperty("value",v??"")}_handleInput(v){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(v)}_compositionStart(){this._composing=!0}_compositionEnd(v){this._composing=!1,this._compositionMode&&this.onChange(v)}}return D.\u0275fac=function(v){return new(v||D)(f.\u0275\u0275directiveInject(f.Renderer2),f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(Me,8))},D.\u0275dir=f.\u0275\u0275defineDirective({type:D,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(v,R){1&v&&f.\u0275\u0275listener("input",function(Be){return R._handleInput(Be.target.value)})("blur",function(){return R.onTouched()})("compositionstart",function(){return R._compositionStart()})("compositionend",function(Be){return R._compositionEnd(Be.target.value)})},features:[f.\u0275\u0275ProvidersFeature([H]),f.\u0275\u0275InheritDefinitionFeature]}),D})();function se(D){return null==D||("string"==typeof D||Array.isArray(D))&&0===D.length}function ee(D){return null!=D&&"number"==typeof D.length}const W=new f.InjectionToken("NgValidators"),X=new f.InjectionToken("NgAsyncValidators"),fe=/^(?=.{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 Ce{static min(p){return function me(D){return p=>{if(se(p.value)||se(D))return null;const v=parseFloat(p.value);return!isNaN(v)&&v<D?{min:{min:D,actual:p.value}}:null}}(p)}static max(p){return function _e(D){return p=>{if(se(p.value)||se(D))return null;const v=parseFloat(p.value);return!isNaN(v)&&v>D?{max:{max:D,actual:p.value}}:null}}(p)}static required(p){return Ae(p)}static requiredTrue(p){return rt(p)}static email(p){return function je(D){return se(D.value)||fe.test(D.value)?null:{email:!0}}(p)}static minLength(p){return function Ne(D){return p=>se(p.value)||!ee(p.value)?null:p.value.length<D?{minlength:{requiredLength:D,actualLength:p.value.length}}:null}(p)}static maxLength(p){return Ye(p)}static pattern(p){return function Ze(D){if(!D)return et;let p,v;return"string"==typeof D?(v="","^"!==D.charAt(0)&&(v+="^"),v+=D,"$"!==D.charAt(D.length-1)&&(v+="$"),p=new RegExp(v)):(v=D.toString(),p=D),R=>{if(se(R.value))return null;const ve=R.value;return p.test(ve)?null:{pattern:{requiredPattern:v,actualValue:ve}}}}(p)}static nullValidator(p){return null}static compose(p){return pe(p)}static composeAsync(p){return de(p)}}function Ae(D){return se(D.value)?{required:!0}:null}function rt(D){return!0===D.value?null:{required:!0}}function Ye(D){return p=>ee(p.value)&&p.value.length>D?{maxlength:{requiredLength:D,actualLength:p.value.length}}:null}function et(D){return null}function tt(D){return null!=D}function ut(D){const p=(0,f.\u0275isPromise)(D)?(0,C.D)(D):D;return(0,f.\u0275isObservable)(p),p}function ze(D){let p={};return D.forEach(v=>{p=null!=v?{...p,...v}:p}),0===Object.keys(p).length?null:p}function hn(D,p){return p.map(v=>v(D))}function Tn(D){return D.map(p=>function yn(D){return!D.validate}(p)?p:v=>p.validate(v))}function pe(D){if(!D)return null;const p=D.filter(tt);return 0==p.length?null:function(v){return ze(hn(v,p))}}function G(D){return null!=D?pe(Tn(D)):null}function de(D){if(!D)return null;const p=D.filter(tt);return 0==p.length?null:function(v){const R=hn(v,p).map(ut);return(0,K.D)(R).pipe((0,M.U)(ze))}}function V(D){return null!=D?de(Tn(D)):null}function re(D,p){return null===D?[p]:Array.isArray(D)?[...D,p]:[D,p]}function oe(D){return D._rawValidators}function Ie(D){return D._rawAsyncValidators}function be(D){return D?Array.isArray(D)?D:[D]:[]}function st(D,p){return Array.isArray(D)?D.includes(p):D===p}function Ge(D,p){const v=be(p);return be(D).forEach(ve=>{st(v,ve)||v.push(ve)}),v}function ft(D,p){return be(p).filter(v=>!st(D,v))}class Et{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(p){this._rawValidators=p||[],this._composedValidatorFn=G(this._rawValidators)}_setAsyncValidators(p){this._rawAsyncValidators=p||[],this._composedAsyncValidatorFn=V(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(p){this._onDestroyCallbacks.push(p)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(p=>p()),this._onDestroyCallbacks=[]}reset(p){this.control&&this.control.reset(p)}hasError(p,v){return!!this.control&&this.control.hasError(p,v)}getError(p,v){return this.control?this.control.getError(p,v):null}}class ot extends Et{get formDirective(){return null}get path(){return null}}class ht extends Et{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Pt{constructor(p){this._cd=p}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Ke=(()=>{class D extends Pt{constructor(v){super(v)}}return D.\u0275fac=function(v){return new(v||D)(f.\u0275\u0275directiveInject(ht,2))},D.\u0275dir=f.\u0275\u0275defineDirective({type:D,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(v,R){2&v&&f.\u0275\u0275classProp("ng-untouched",R.isUntouched)("ng-touched",R.isTouched)("ng-pristine",R.isPristine)("ng-dirty",R.isDirty)("ng-valid",R.isValid)("ng-invalid",R.isInvalid)("ng-pending",R.isPending)},features:[f.\u0275\u0275InheritDefinitionFeature]}),D})(),An=(()=>{class D extends Pt{constructor(v){super(v)}}return D.\u0275fac=function(v){return new(v||D)(f.\u0275\u0275directiveInject(ot,10))},D.\u0275dir=f.\u0275\u0275defineDirective({type:D,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(v,R){2&v&&f.\u0275\u0275classProp("ng-untouched",R.isUntouched)("ng-touched",R.isTouched)("ng-pristine",R.isPristine)("ng-dirty",R.isDirty)("ng-valid",R.isValid)("ng-invalid",R.isInvalid)("ng-pending",R.isPending)("ng-submitted",R.isSubmitted)},features:[f.\u0275\u0275InheritDefinitionFeature]}),D})();const pt="VALID",Xe="INVALID",nn="PENDING",Zt="DISABLED";function Ht(D){return(Rn(D)?D.validators:D)||null}function _n(D){return Array.isArray(D)?G(D):D||null}function Hn(D,p){return(Rn(p)?p.asyncValidators:D)||null}function Qn(D){return Array.isArray(D)?V(D):D||null}function Rn(D){return null!=D&&!Array.isArray(D)&&"object"==typeof D}function xn(D,p,v){const R=D.controls;if(!(p?Object.keys(R):R).length)throw new f.\u0275RuntimeError(1e3,"");if(!R[v])throw new f.\u0275RuntimeError(1001,"")}function Jn(D,p,v){D._forEachChild((R,ve)=>{if(void 0===v[ve])throw new f.\u0275RuntimeError(1002,"")})}class Nn{constructor(p,v){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=p,this._rawAsyncValidators=v,this._composedValidatorFn=_n(this._rawValidators),this._composedAsyncValidatorFn=Qn(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(p){this._rawValidators=this._composedValidatorFn=p}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(p){this._rawAsyncValidators=this._composedAsyncValidatorFn=p}get parent(){return this._parent}get valid(){return this.status===pt}get invalid(){return this.status===Xe}get pending(){return this.status==nn}get disabled(){return this.status===Zt}get enabled(){return this.status!==Zt}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(p){this._rawValidators=p,this._composedValidatorFn=_n(p)}setAsyncValidators(p){this._rawAsyncValidators=p,this._composedAsyncValidatorFn=Qn(p)}addValidators(p){this.setValidators(Ge(p,this._rawValidators))}addAsyncValidators(p){this.setAsyncValidators(Ge(p,this._rawAsyncValidators))}removeValidators(p){this.setValidators(ft(p,this._rawValidators))}removeAsyncValidators(p){this.setAsyncValidators(ft(p,this._rawAsyncValidators))}hasValidator(p){return st(this._rawValidators,p)}hasAsyncValidator(p){return st(this._rawAsyncValidators,p)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(p={}){this.touched=!0,this._parent&&!p.onlySelf&&this._parent.markAsTouched(p)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(p=>p.markAllAsTouched())}markAsUntouched(p={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(v=>{v.markAsUntouched({onlySelf:!0})}),this._parent&&!p.onlySelf&&this._parent._updateTouched(p)}markAsDirty(p={}){this.pristine=!1,this._parent&&!p.onlySelf&&this._parent.markAsDirty(p)}markAsPristine(p={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(v=>{v.markAsPristine({onlySelf:!0})}),this._parent&&!p.onlySelf&&this._parent._updatePristine(p)}markAsPending(p={}){this.status=nn,!1!==p.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!p.onlySelf&&this._parent.markAsPending(p)}disable(p={}){const v=this._parentMarkedDirty(p.onlySelf);this.status=Zt,this.errors=null,this._forEachChild(R=>{R.disable({...p,onlySelf:!0})}),this._updateValue(),!1!==p.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...p,skipPristineCheck:v}),this._onDisabledChange.forEach(R=>R(!0))}enable(p={}){const v=this._parentMarkedDirty(p.onlySelf);this.status=pt,this._forEachChild(R=>{R.enable({...p,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:p.emitEvent}),this._updateAncestors({...p,skipPristineCheck:v}),this._onDisabledChange.forEach(R=>R(!1))}_updateAncestors(p){this._parent&&!p.onlySelf&&(this._parent.updateValueAndValidity(p),p.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(p){this._parent=p}getRawValue(){return this.value}updateValueAndValidity(p={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===pt||this.status===nn)&&this._runAsyncValidator(p.emitEvent)),!1!==p.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!p.onlySelf&&this._parent.updateValueAndValidity(p)}_updateTreeValidity(p={emitEvent:!0}){this._forEachChild(v=>v._updateTreeValidity(p)),this.updateValueAndValidity({onlySelf:!0,emitEvent:p.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Zt:pt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(p){if(this.asyncValidator){this.status=nn,this._hasOwnPendingAsyncValidator=!0;const v=ut(this.asyncValidator(this));this._asyncValidationSubscription=v.subscribe(R=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(R,{emitEvent:p})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(p,v={}){this.errors=p,this._updateControlsErrors(!1!==v.emitEvent)}get(p){let v=p;return null==v||(Array.isArray(v)||(v=v.split(".")),0===v.length)?null:v.reduce((R,ve)=>R&&R._find(ve),this)}getError(p,v){const R=v?this.get(v):this;return R&&R.errors?R.errors[p]:null}hasError(p,v){return!!this.getError(p,v)}get root(){let p=this;for(;p._parent;)p=p._parent;return p}_updateControlsErrors(p){this.status=this._calculateStatus(),p&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(p)}_initObservables(){this.valueChanges=new f.EventEmitter,this.statusChanges=new f.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?Zt:this.errors?Xe:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(nn)?nn:this._anyControlsHaveStatus(Xe)?Xe:pt}_anyControlsHaveStatus(p){return this._anyControls(v=>v.status===p)}_anyControlsDirty(){return this._anyControls(p=>p.dirty)}_anyControlsTouched(){return this._anyControls(p=>p.touched)}_updatePristine(p={}){this.pristine=!this._anyControlsDirty(),this._parent&&!p.onlySelf&&this._parent._updatePristine(p)}_updateTouched(p={}){this.touched=this._anyControlsTouched(),this._parent&&!p.onlySelf&&this._parent._updateTouched(p)}_registerOnCollectionChange(p){this._onCollectionChange=p}_setUpdateStrategy(p){Rn(p)&&null!=p.updateOn&&(this._updateOn=p.updateOn)}_parentMarkedDirty(p){return!p&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(p){return null}}class qn extends Nn{constructor(p,v,R){super(Ht(v),Hn(R,v)),this.controls=p,this._initObservables(),this._setUpdateStrategy(v),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(p,v){return this.controls[p]?this.controls[p]:(this.controls[p]=v,v.setParent(this),v._registerOnCollectionChange(this._onCollectionChange),v)}addControl(p,v,R={}){this.registerControl(p,v),this.updateValueAndValidity({emitEvent:R.emitEvent}),this._onCollectionChange()}removeControl(p,v={}){this.controls[p]&&this.controls[p]._registerOnCollectionChange(()=>{}),delete this.controls[p],this.updateValueAndValidity({emitEvent:v.emitEvent}),this._onCollectionChange()}setControl(p,v,R={}){this.controls[p]&&this.controls[p]._registerOnCollectionChange(()=>{}),delete this.controls[p],v&&this.registerControl(p,v),this.updateValueAndValidity({emitEvent:R.emitEvent}),this._onCollectionChange()}contains(p){return this.controls.hasOwnProperty(p)&&this.controls[p].enabled}setValue(p,v={}){Jn(this,0,p),Object.keys(p).forEach(R=>{xn(this,!0,R),this.controls[R].setValue(p[R],{onlySelf:!0,emitEvent:v.emitEvent})}),this.updateValueAndValidity(v)}patchValue(p,v={}){null!=p&&(Object.keys(p).forEach(R=>{const ve=this.controls[R];ve&&ve.patchValue(p[R],{onlySelf:!0,emitEvent:v.emitEvent})}),this.updateValueAndValidity(v))}reset(p={},v={}){this._forEachChild((R,ve)=>{R.reset(p[ve],{onlySelf:!0,emitEvent:v.emitEvent})}),this._updatePristine(v),this._updateTouched(v),this.updateValueAndValidity(v)}getRawValue(){return this._reduceChildren({},(p,v,R)=>(p[R]=v.getRawValue(),p))}_syncPendingControls(){let p=this._reduceChildren(!1,(v,R)=>!!R._syncPendingControls()||v);return p&&this.updateValueAndValidity({onlySelf:!0}),p}_forEachChild(p){Object.keys(this.controls).forEach(v=>{const R=this.controls[v];R&&p(R,v)})}_setUpControls(){this._forEachChild(p=>{p.setParent(this),p._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(p){for(const[v,R]of Object.entries(this.controls))if(this.contains(v)&&p(R))return!0;return!1}_reduceValue(){return this._reduceChildren({},(v,R,ve)=>((R.enabled||this.disabled)&&(v[ve]=R.value),v))}_reduceChildren(p,v){let R=p;return this._forEachChild((ve,Be)=>{R=v(R,ve,Be)}),R}_allControlsDisabled(){for(const p of Object.keys(this.controls))if(this.controls[p].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(p){return this.controls.hasOwnProperty(p)?this.controls[p]:null}}function ce(D,p){return[...p.path,D]}function le(D,p){k(D,p),p.valueAccessor.writeValue(D.value),D.disabled&&p.valueAccessor.setDisabledState?.(!0),function ye(D,p){p.valueAccessor.registerOnChange(v=>{D._pendingValue=v,D._pendingChange=!0,D._pendingDirty=!0,"change"===D.updateOn&&qe(D,p)})}(D,p),function it(D,p){const v=(R,ve)=>{p.valueAccessor.writeValue(R),ve&&p.viewToModelUpdate(R)};D.registerOnChange(v),p._registerOnDestroy(()=>{D._unregisterOnChange(v)})}(D,p),function Fe(D,p){p.valueAccessor.registerOnTouched(()=>{D._pendingTouched=!0,"blur"===D.updateOn&&D._pendingChange&&qe(D,p),"submit"!==D.updateOn&&D.markAsTouched()})}(D,p),function U(D,p){if(p.valueAccessor.setDisabledState){const v=R=>{p.valueAccessor.setDisabledState(R)};D.registerOnDisabledChange(v),p._registerOnDestroy(()=>{D._unregisterOnDisabledChange(v)})}}(D,p)}function z(D,p,v=!0){const R=()=>{};p.valueAccessor&&(p.valueAccessor.registerOnChange(R),p.valueAccessor.registerOnTouched(R)),J(D,p),D&&(p._invokeOnDestroyCallbacks(),D._registerOnCollectionChange(()=>{}))}function Y(D,p){D.forEach(v=>{v.registerOnValidatorChange&&v.registerOnValidatorChange(p)})}function k(D,p){const v=oe(D);null!==p.validator?D.setValidators(re(v,p.validator)):"function"==typeof v&&D.setValidators([v]);const R=Ie(D);null!==p.asyncValidator?D.setAsyncValidators(re(R,p.asyncValidator)):"function"==typeof R&&D.setAsyncValidators([R]);const ve=()=>D.updateValueAndValidity();Y(p._rawValidators,ve),Y(p._rawAsyncValidators,ve)}function J(D,p){let v=!1;if(null!==D){if(null!==p.validator){const ve=oe(D);if(Array.isArray(ve)&&ve.length>0){const Be=ve.filter(Yt=>Yt!==p.validator);Be.length!==ve.length&&(v=!0,D.setValidators(Be))}}if(null!==p.asyncValidator){const ve=Ie(D);if(Array.isArray(ve)&&ve.length>0){const Be=ve.filter(Yt=>Yt!==p.asyncValidator);Be.length!==ve.length&&(v=!0,D.setAsyncValidators(Be))}}}const R=()=>{};return Y(p._rawValidators,R),Y(p._rawAsyncValidators,R),v}function qe(D,p){D._pendingDirty&&D.markAsDirty(),D.setValue(D._pendingValue,{emitModelToViewChange:!1}),p.viewToModelUpdate(D._pendingValue),D._pendingChange=!1}function He(D,p){k(D,p)}function $n(D,p){if(!D.hasOwnProperty("model"))return!1;const v=D.model;return!!v.isFirstChange()||!Object.is(p,v.currentValue)}function sn(D,p){D._syncPendingControls(),p.forEach(v=>{const R=v.control;"submit"===R.updateOn&&R._pendingChange&&(v.viewToModelUpdate(R._pendingValue),R._pendingChange=!1)})}function Cn(D,p){if(!p)return null;let v,R,ve;return Array.isArray(p),p.forEach(Be=>{Be.constructor===ae?v=Be:function zn(D){return Object.getPrototypeOf(D.constructor)===x}(Be)?R=Be:ve=Be}),ve||R||v||null}const _t={provide:ot,useExisting:(0,f.forwardRef)(()=>tr)},Pn=(()=>Promise.resolve(null))();let tr=(()=>{class D extends ot{constructor(v,R){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new f.EventEmitter,this.form=new qn({},G(v),V(R))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(v){Pn.then(()=>{const R=this._findContainer(v.path);v.control=R.registerControl(v.name,v.control),le(v.control,v),v.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(v)})}getControl(v){return this.form.get(v.path)}removeControl(v){Pn.then(()=>{const R=this._findContainer(v.path);R&&R.removeControl(v.name),this._directives.delete(v)})}addFormGroup(v){Pn.then(()=>{const R=this._findContainer(v.path),ve=new qn({});He(ve,v),R.registerControl(v.name,ve),ve.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(v){Pn.then(()=>{const R=this._findContainer(v.path);R&&R.removeControl(v.name)})}getFormGroup(v){return this.form.get(v.path)}updateModel(v,R){Pn.then(()=>{this.form.get(v.path).setValue(R)})}setValue(v){this.control.setValue(v)}onSubmit(v){return this.submitted=!0,sn(this.form,this._directives),this.ngSubmit.emit(v),!1}onReset(){this.resetForm()}resetForm(v){this.form.reset(v),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(v){return v.pop(),v.length?this.form.get(v):this.form}}return D.\u0275fac=function(v){return new(v||D)(f.\u0275\u0275directiveInject(W,10),f.\u0275\u0275directiveInject(X,10))},D.\u0275dir=f.\u0275\u0275defineDirective({type:D,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(v,R){1&v&&f.\u0275\u0275listener("submit",function(Be){return R.onSubmit(Be)})("reset",function(){return R.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[f.\u0275\u0275ProvidersFeature([_t]),f.\u0275\u0275InheritDefinitionFeature]}),D})();function En(D,p){const v=D.indexOf(p);v>-1&&D.splice(v,1)}function lr(D){return"object"==typeof D&&null!==D&&2===Object.keys(D).length&&"value"in D&&"disabled"in D}const Mn=class extends Nn{constructor(p=null,v,R){super(Ht(v),Hn(R,v)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(p),this._setUpdateStrategy(v),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Rn(v)&&(v.nonNullable||v.initialValueIsDefault)&&(this.defaultValue=lr(p)?p.value:p)}setValue(p,v={}){this.value=this._pendingValue=p,this._onChange.length&&!1!==v.emitModelToViewChange&&this._onChange.forEach(R=>R(this.value,!1!==v.emitViewToModelChange)),this.updateValueAndValidity(v)}patchValue(p,v={}){this.setValue(p,v)}reset(p=this.defaultValue,v={}){this._applyFormState(p),this.markAsPristine(v),this.markAsUntouched(v),this.setValue(this.value,v),this._pendingChange=!1}_updateValue(){}_anyControls(p){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(p){this._onChange.push(p)}_unregisterOnChange(p){En(this._onChange,p)}registerOnDisabledChange(p){this._onDisabledChange.push(p)}_unregisterOnDisabledChange(p){En(this._onDisabledChange,p)}_forEachChild(p){}_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(p){lr(p)?(this.value=this._pendingValue=p.value,p.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=p}};let nr=(()=>{class D extends ot{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return ce(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return D.\u0275fac=function(){let p;return function(R){return(p||(p=f.\u0275\u0275getInheritedFactory(D)))(R||D)}}(),D.\u0275dir=f.\u0275\u0275defineDirective({type:D,features:[f.\u0275\u0275InheritDefinitionFeature]}),D})();const Hi={provide:ht,useExisting:(0,f.forwardRef)(()=>ii)},ri=(()=>Promise.resolve(null))();let ii=(()=>{class D extends ht{constructor(v,R,ve,Be,Yt){super(),this._changeDetectorRef=Yt,this.control=new Mn,this._registered=!1,this.update=new f.EventEmitter,this._parent=v,this._setValidators(R),this._setAsyncValidators(ve),this.valueAccessor=Cn(0,Be)}ngOnChanges(v){if(this._checkForErrors(),!this._registered||"name"in v){if(this._registered&&(this._checkName(),this.formDirective)){const R=v.name.previousValue;this.formDirective.removeControl({name:R,path:this._getPath(R)})}this._setUpControl()}"isDisabled"in v&&this._updateDisabled(v),$n(v,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(v){this.viewModel=v,this.update.emit(v)}_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(){le(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(v){ri.then(()=>{this.control.setValue(v,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(v){const R=v.isDisabled.currentValue,ve=0!==R&&(0,f.\u0275coerceToBoolean)(R);ri.then(()=>{ve&&!this.control.disabled?this.control.disable():!ve&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(v){return this._parent?ce(v,this._parent):[v]}}return D.\u0275fac=function(v){return new(v||D)(f.\u0275\u0275directiveInject(ot,9),f.\u0275\u0275directiveInject(W,10),f.\u0275\u0275directiveInject(X,10),f.\u0275\u0275directiveInject(F,10),f.\u0275\u0275directiveInject(f.ChangeDetectorRef,8))},D.\u0275dir=f.\u0275\u0275defineDirective({type:D,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[f.\u0275\u0275ProvidersFeature([Hi]),f.\u0275\u0275InheritDefinitionFeature,f.\u0275\u0275NgOnChangesFeature]}),D})(),$i=(()=>{class D{}return D.\u0275fac=function(v){return new(v||D)},D.\u0275mod=f.\u0275\u0275defineNgModule({type:D}),D.\u0275inj=f.\u0275\u0275defineInjector({}),D})();const kr=new f.InjectionToken("NgModelWithFormControlWarning"),Gi={provide:ot,useExisting:(0,f.forwardRef)(()=>jr)};let jr=(()=>{class D extends ot{constructor(v,R){super(),this.validators=v,this.asyncValidators=R,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new f.EventEmitter,this._setValidators(v),this._setAsyncValidators(R)}ngOnChanges(v){this._checkFormPresent(),v.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(J(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(v){const R=this.form.get(v.path);return le(R,v),R.updateValueAndValidity({emitEvent:!1}),this.directives.push(v),R}getControl(v){return this.form.get(v.path)}removeControl(v){z(v.control||null,v,!1),function pr(D,p){const v=D.indexOf(p);v>-1&&D.splice(v,1)}(this.directives,v)}addFormGroup(v){this._setUpFormContainer(v)}removeFormGroup(v){this._cleanUpFormContainer(v)}getFormGroup(v){return this.form.get(v.path)}addFormArray(v){this._setUpFormContainer(v)}removeFormArray(v){this._cleanUpFormContainer(v)}getFormArray(v){return this.form.get(v.path)}updateModel(v,R){this.form.get(v.path).setValue(R)}onSubmit(v){return this.submitted=!0,sn(this.form,this.directives),this.ngSubmit.emit(v),!1}onReset(){this.resetForm()}resetForm(v){this.form.reset(v),this.submitted=!1}_updateDomValue(){this.directives.forEach(v=>{const R=v.control,ve=this.form.get(v.path);R!==ve&&(z(R||null,v),(D=>D instanceof Mn)(ve)&&(le(ve,v),v.control=ve))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(v){const R=this.form.get(v.path);He(R,v),R.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(v){if(this.form){const R=this.form.get(v.path);R&&function wn(D,p){return J(D,p)}(R,v)&&R.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){k(this.form,this),this._oldForm&&J(this._oldForm,this)}_checkFormPresent(){}}return D.\u0275fac=function(v){return new(v||D)(f.\u0275\u0275directiveInject(W,10),f.\u0275\u0275directiveInject(X,10))},D.\u0275dir=f.\u0275\u0275defineDirective({type:D,selectors:[["","formGroup",""]],hostBindings:function(v,R){1&v&&f.\u0275\u0275listener("submit",function(Be){return R.onSubmit(Be)})("reset",function(){return R.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[f.\u0275\u0275ProvidersFeature([Gi]),f.\u0275\u0275InheritDefinitionFeature,f.\u0275\u0275NgOnChangesFeature]}),D})();const Di={provide:ot,useExisting:(0,f.forwardRef)(()=>bn)};let bn=(()=>{class D extends nr{constructor(v,R,ve){super(),this._parent=v,this._setValidators(R),this._setAsyncValidators(ve)}_checkParentType(){Hr(this._parent)}}return D.\u0275fac=function(v){return new(v||D)(f.\u0275\u0275directiveInject(ot,13),f.\u0275\u0275directiveInject(W,10),f.\u0275\u0275directiveInject(X,10))},D.\u0275dir=f.\u0275\u0275defineDirective({type:D,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[f.\u0275\u0275ProvidersFeature([Di]),f.\u0275\u0275InheritDefinitionFeature]}),D})();const Ki={provide:ot,useExisting:(0,f.forwardRef)(()=>Ci)};let Ci=(()=>{class D extends ot{constructor(v,R,ve){super(),this._parent=v,this._setValidators(R),this._setAsyncValidators(ve)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return ce(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Hr(this._parent)}}return D.\u0275fac=function(v){return new(v||D)(f.\u0275\u0275directiveInject(ot,13),f.\u0275\u0275directiveInject(W,10),f.\u0275\u0275directiveInject(X,10))},D.\u0275dir=f.\u0275\u0275defineDirective({type:D,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[f.\u0275\u0275ProvidersFeature([Ki]),f.\u0275\u0275InheritDefinitionFeature]}),D})();function Hr(D){return!(D instanceof bn||D instanceof jr||D instanceof Ci)}const ir={provide:ht,useExisting:(0,f.forwardRef)(()=>ur)};let ur=(()=>{class D extends ht{constructor(v,R,ve,Be,Yt){super(),this._ngModelWarningConfig=Yt,this._added=!1,this.update=new f.EventEmitter,this._ngModelWarningSent=!1,this._parent=v,this._setValidators(R),this._setAsyncValidators(ve),this.valueAccessor=Cn(0,Be)}set isDisabled(v){}ngOnChanges(v){this._added||this._setUpControl(),$n(v,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(v){this.viewModel=v,this.update.emit(v)}get path(){return ce(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 D._ngModelWarningSentOnce=!1,D.\u0275fac=function(v){return new(v||D)(f.\u0275\u0275directiveInject(ot,13),f.\u0275\u0275directiveInject(W,10),f.\u0275\u0275directiveInject(X,10),f.\u0275\u0275directiveInject(F,10),f.\u0275\u0275directiveInject(kr,8))},D.\u0275dir=f.\u0275\u0275defineDirective({type:D,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[f.\u0275\u0275ProvidersFeature([ir]),f.\u0275\u0275InheritDefinitionFeature,f.\u0275\u0275NgOnChangesFeature]}),D})();const Ur={provide:F,useExisting:(0,f.forwardRef)(()=>Er),multi:!0};function Cr(D,p){return null==D?`${p}`:(p&&"object"==typeof p&&(p="Object"),`${D}: ${p}`.slice(0,50))}let Er=(()=>{class D extends x{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(v){this._compareWith=v}writeValue(v){this.value=v;const ve=Cr(this._getOptionId(v),v);this.setProperty("value",ve)}registerOnChange(v){this.onChange=R=>{this.value=this._getOptionValue(R),v(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(v){for(const R of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(R),v))return R;return null}_getOptionValue(v){const R=function oi(D){return D.split(":")[0]}(v);return this._optionMap.has(R)?this._optionMap.get(R):v}}return D.\u0275fac=function(){let p;return function(R){return(p||(p=f.\u0275\u0275getInheritedFactory(D)))(R||D)}}(),D.\u0275dir=f.\u0275\u0275defineDirective({type:D,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(v,R){1&v&&f.\u0275\u0275listener("change",function(Be){return R.onChange(Be.target.value)})("blur",function(){return R.onTouched()})},inputs:{compareWith:"compareWith"},features:[f.\u0275\u0275ProvidersFeature([Ur]),f.\u0275\u0275InheritDefinitionFeature]}),D})(),Gn=(()=>{class D{constructor(v,R,ve){this._element=v,this._renderer=R,this._select=ve,this._select&&(this.id=this._select._registerOption())}set ngValue(v){null!=this._select&&(this._select._optionMap.set(this.id,v),this._setElementValue(Cr(this.id,v)),this._select.writeValue(this._select.value))}set value(v){this._setElementValue(v),this._select&&this._select.writeValue(this._select.value)}_setElementValue(v){this._renderer.setProperty(this._element.nativeElement,"value",v)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return D.\u0275fac=function(v){return new(v||D)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(f.Renderer2),f.\u0275\u0275directiveInject(Er,9))},D.\u0275dir=f.\u0275\u0275defineDirective({type:D,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),D})();const Ei={provide:F,useExisting:(0,f.forwardRef)(()=>en),multi:!0};function Wi(D,p){return null==D?`${p}`:("string"==typeof p&&(p=`'${p}'`),p&&"object"==typeof p&&(p="Object"),`${D}: ${p}`.slice(0,50))}let en=(()=>{class D extends x{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(v){this._compareWith=v}writeValue(v){let R;if(this.value=v,Array.isArray(v)){const ve=v.map(Be=>this._getOptionId(Be));R=(Be,Yt)=>{Be._setSelected(ve.indexOf(Yt.toString())>-1)}}else R=(ve,Be)=>{ve._setSelected(!1)};this._optionMap.forEach(R)}registerOnChange(v){this.onChange=R=>{const ve=[],Be=R.selectedOptions;if(void 0!==Be){const Yt=Be;for(let Sn=0;Sn<Yt.length;Sn++){const dr=this._getOptionValue(Yt[Sn].value);ve.push(dr)}}else{const Yt=R.options;for(let Sn=0;Sn<Yt.length;Sn++){const pn=Yt[Sn];if(pn.selected){const dr=this._getOptionValue(pn.value);ve.push(dr)}}}this.value=ve,v(ve)}}_registerOption(v){const R=(this._idCounter++).toString();return this._optionMap.set(R,v),R}_getOptionId(v){for(const R of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(R)._value,v))return R;return null}_getOptionValue(v){const R=function ai(D){return D.split(":")[0]}(v);return this._optionMap.has(R)?this._optionMap.get(R)._value:v}}return D.\u0275fac=function(){let p;return function(R){return(p||(p=f.\u0275\u0275getInheritedFactory(D)))(R||D)}}(),D.\u0275dir=f.\u0275\u0275defineDirective({type:D,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(v,R){1&v&&f.\u0275\u0275listener("change",function(Be){return R.onChange(Be.target)})("blur",function(){return R.onTouched()})},inputs:{compareWith:"compareWith"},features:[f.\u0275\u0275ProvidersFeature([Ei]),f.\u0275\u0275InheritDefinitionFeature]}),D})(),mr=(()=>{class D{constructor(v,R,ve){this._element=v,this._renderer=R,this._select=ve,this._select&&(this.id=this._select._registerOption(this))}set ngValue(v){null!=this._select&&(this._value=v,this._setElementValue(Wi(this.id,v)),this._select.writeValue(this._select.value))}set value(v){this._select?(this._value=v,this._setElementValue(Wi(this.id,v)),this._select.writeValue(this._select.value)):this._setElementValue(v)}_setElementValue(v){this._renderer.setProperty(this._element.nativeElement,"value",v)}_setSelected(v){this._renderer.setProperty(this._element.nativeElement,"selected",v)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return D.\u0275fac=function(v){return new(v||D)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(f.Renderer2),f.\u0275\u0275directiveInject(en,9))},D.\u0275dir=f.\u0275\u0275defineDirective({type:D,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),D})();let cr=(()=>{class D{constructor(){this._validator=et}ngOnChanges(v){if(this.inputName in v){const R=this.normalizeInput(v[this.inputName].currentValue);this._enabled=this.enabled(R),this._validator=this._enabled?this.createValidator(R):et,this._onChange&&this._onChange()}}validate(v){return this._validator(v)}registerOnValidatorChange(v){this._onChange=v}enabled(v){return null!=v}}return D.\u0275fac=function(v){return new(v||D)},D.\u0275dir=f.\u0275\u0275defineDirective({type:D,features:[f.\u0275\u0275NgOnChangesFeature]}),D})();const Ss={provide:W,useExisting:(0,f.forwardRef)(()=>Ir),multi:!0},Rt={provide:W,useExisting:(0,f.forwardRef)(()=>zr),multi:!0};let Ir=(()=>{class D extends cr{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=f.\u0275coerceToBoolean,this.createValidator=v=>Ae}enabled(v){return v}}return D.\u0275fac=function(){let p;return function(R){return(p||(p=f.\u0275\u0275getInheritedFactory(D)))(R||D)}}(),D.\u0275dir=f.\u0275\u0275defineDirective({type:D,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(v,R){2&v&&f.\u0275\u0275attribute("required",R._enabled?"":null)},inputs:{required:"required"},features:[f.\u0275\u0275ProvidersFeature([Ss]),f.\u0275\u0275InheritDefinitionFeature]}),D})(),zr=(()=>{class D extends Ir{constructor(){super(...arguments),this.createValidator=v=>rt}}return D.\u0275fac=function(){let p;return function(R){return(p||(p=f.\u0275\u0275getInheritedFactory(D)))(R||D)}}(),D.\u0275dir=f.\u0275\u0275defineDirective({type:D,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(v,R){2&v&&f.\u0275\u0275attribute("required",R._enabled?"":null)},features:[f.\u0275\u0275ProvidersFeature([Rt]),f.\u0275\u0275InheritDefinitionFeature]}),D})();const N={provide:W,useExisting:(0,f.forwardRef)(()=>te),multi:!0};let te=(()=>{class D extends cr{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=v=>function li(D){return"number"==typeof D?D:parseInt(D,10)}(v),this.createValidator=v=>Ye(v)}}return D.\u0275fac=function(){let p;return function(R){return(p||(p=f.\u0275\u0275getInheritedFactory(D)))(R||D)}}(),D.\u0275dir=f.\u0275\u0275defineDirective({type:D,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(v,R){2&v&&f.\u0275\u0275attribute("maxlength",R._enabled?R.maxlength:null)},inputs:{maxlength:"maxlength"},features:[f.\u0275\u0275ProvidersFeature([N]),f.\u0275\u0275InheritDefinitionFeature]}),D})(),Ft=(()=>{class D{}return D.\u0275fac=function(v){return new(v||D)},D.\u0275mod=f.\u0275\u0275defineNgModule({type:D}),D.\u0275inj=f.\u0275\u0275defineInjector({imports:[$i]}),D})(),yt=(()=>{class D{}return D.\u0275fac=function(v){return new(v||D)},D.\u0275mod=f.\u0275\u0275defineNgModule({type:D}),D.\u0275inj=f.\u0275\u0275defineInjector({imports:[Ft]}),D})(),an=(()=>{class D{static withConfig(v){return{ngModule:D,providers:[{provide:kr,useValue:v.warnOnNgModelWithFormControl}]}}}return D.\u0275fac=function(v){return new(v||D)},D.\u0275mod=f.\u0275\u0275defineNgModule({type:D}),D.\u0275inj=f.\u0275\u0275defineInjector({imports:[Ft]}),D})();class bt extends Nn{constructor(p,v,R){super(Ht(v),Hn(R,v)),this.controls=p,this._initObservables(),this._setUpdateStrategy(v),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(p){return this.controls[this._adjustIndex(p)]}push(p,v={}){this.controls.push(p),this._registerControl(p),this.updateValueAndValidity({emitEvent:v.emitEvent}),this._onCollectionChange()}insert(p,v,R={}){this.controls.splice(p,0,v),this._registerControl(v),this.updateValueAndValidity({emitEvent:R.emitEvent})}removeAt(p,v={}){let R=this._adjustIndex(p);R<0&&(R=0),this.controls[R]&&this.controls[R]._registerOnCollectionChange(()=>{}),this.controls.splice(R,1),this.updateValueAndValidity({emitEvent:v.emitEvent})}setControl(p,v,R={}){let ve=this._adjustIndex(p);ve<0&&(ve=0),this.controls[ve]&&this.controls[ve]._registerOnCollectionChange(()=>{}),this.controls.splice(ve,1),v&&(this.controls.splice(ve,0,v),this._registerControl(v)),this.updateValueAndValidity({emitEvent:R.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(p,v={}){Jn(this,0,p),p.forEach((R,ve)=>{xn(this,!1,ve),this.at(ve).setValue(R,{onlySelf:!0,emitEvent:v.emitEvent})}),this.updateValueAndValidity(v)}patchValue(p,v={}){null!=p&&(p.forEach((R,ve)=>{this.at(ve)&&this.at(ve).patchValue(R,{onlySelf:!0,emitEvent:v.emitEvent})}),this.updateValueAndValidity(v))}reset(p=[],v={}){this._forEachChild((R,ve)=>{R.reset(p[ve],{onlySelf:!0,emitEvent:v.emitEvent})}),this._updatePristine(v),this._updateTouched(v),this.updateValueAndValidity(v)}getRawValue(){return this.controls.map(p=>p.getRawValue())}clear(p={}){this.controls.length<1||(this._forEachChild(v=>v._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:p.emitEvent}))}_adjustIndex(p){return p<0?p+this.length:p}_syncPendingControls(){let p=this.controls.reduce((v,R)=>!!R._syncPendingControls()||v,!1);return p&&this.updateValueAndValidity({onlySelf:!0}),p}_forEachChild(p){this.controls.forEach((v,R)=>{p(v,R)})}_updateValue(){this.value=this.controls.filter(p=>p.enabled||this.disabled).map(p=>p.value)}_anyControls(p){return this.controls.some(v=>v.enabled&&p(v))}_setUpControls(){this._forEachChild(p=>this._registerControl(p))}_allControlsDisabled(){for(const p of this.controls)if(p.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(p){p.setParent(this),p._registerOnCollectionChange(this._onCollectionChange)}_find(p){return this.at(p)??null}}function sr(D){return!!D&&(void 0!==D.asyncValidators||void 0!==D.validators||void 0!==D.updateOn)}let ln=(()=>{class D{constructor(){this.useNonNullable=!1}get nonNullable(){const v=new D;return v.useNonNullable=!0,v}group(v,R=null){const ve=this._reduceControls(v);let Sn,Be=null,Yt=null;return null!==R&&(sr(R)?(Be=null!=R.validators?R.validators:null,Yt=null!=R.asyncValidators?R.asyncValidators:null,Sn=null!=R.updateOn?R.updateOn:void 0):(Be=null!=R.validator?R.validator:null,Yt=null!=R.asyncValidator?R.asyncValidator:null)),new qn(ve,{asyncValidators:Yt,updateOn:Sn,validators:Be})}control(v,R,ve){let Be={};return this.useNonNullable?(sr(R)?Be=R:(Be.validators=R,Be.asyncValidators=ve),new Mn(v,{...Be,nonNullable:!0})):new Mn(v,R,ve)}array(v,R,ve){const Be=v.map(Yt=>this._createControl(Yt));return new bt(Be,R,ve)}_reduceControls(v){const R={};return Object.keys(v).forEach(ve=>{R[ve]=this._createControl(v[ve])}),R}_createControl(v){return v instanceof Mn||v instanceof Nn?v:Array.isArray(v)?this.control(v[0],v.length>1?v[1]:null,v.length>2?v[2]:null):this.control(v)}}return D.\u0275fac=function(v){return new(v||D)},D.\u0275prov=f.\u0275\u0275defineInjectable({token:D,factory:D.\u0275fac,providedIn:an}),D})()},1481:(ge,I,_)=>{"use strict";_.d(I,{Dx:()=>ie,H7:()=>xt});var f=_(6895),T=_(4650);let ie=(()=>{class Y{constructor(k){this._doc=k}getTitle(){return this._doc.title}setTitle(k){this._doc.title=k||""}}return Y.\u0275fac=function(k){return new(k||Y)(T.\u0275\u0275inject(f.K0))},Y.\u0275prov=T.\u0275\u0275defineInjectable({token:Y,factory:function(k){let J=null;return J=k?new k:function Q(){return new ie((0,T.\u0275\u0275inject)(f.K0))}(),J},providedIn:"root"}),Y})();typeof window<"u"&&window;let xt=(()=>{class Y{}return Y.\u0275fac=function(k){return new(k||Y)},Y.\u0275prov=T.\u0275\u0275defineInjectable({token:Y,factory:function(k){let J=null;return J=k?new(k||Y):T.\u0275\u0275inject(le),J},providedIn:"root"}),Y})(),le=(()=>{class Y extends xt{constructor(k){super(),this._doc=k}sanitize(k,J){if(null==J)return null;switch(k){case T.SecurityContext.NONE:return J;case T.SecurityContext.HTML:return(0,T.\u0275allowSanitizationBypassAndThrow)(J,"HTML")?(0,T.\u0275unwrapSafeValue)(J):(0,T.\u0275_sanitizeHtml)(this._doc,String(J)).toString();case T.SecurityContext.STYLE:return(0,T.\u0275allowSanitizationBypassAndThrow)(J,"Style")?(0,T.\u0275unwrapSafeValue)(J):J;case T.SecurityContext.SCRIPT:if((0,T.\u0275allowSanitizationBypassAndThrow)(J,"Script"))return(0,T.\u0275unwrapSafeValue)(J);throw new Error("unsafe value used in a script context");case T.SecurityContext.URL:return(0,T.\u0275getSanitizationBypassType)(J),(0,T.\u0275allowSanitizationBypassAndThrow)(J,"URL")?(0,T.\u0275unwrapSafeValue)(J):(0,T.\u0275_sanitizeUrl)(String(J));case T.SecurityContext.RESOURCE_URL:if((0,T.\u0275allowSanitizationBypassAndThrow)(J,"ResourceURL"))return(0,T.\u0275unwrapSafeValue)(J);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${k} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(k){return(0,T.\u0275bypassSanitizationTrustHtml)(k)}bypassSecurityTrustStyle(k){return(0,T.\u0275bypassSanitizationTrustStyle)(k)}bypassSecurityTrustScript(k){return(0,T.\u0275bypassSanitizationTrustScript)(k)}bypassSecurityTrustUrl(k){return(0,T.\u0275bypassSanitizationTrustUrl)(k)}bypassSecurityTrustResourceUrl(k){return(0,T.\u0275bypassSanitizationTrustResourceUrl)(k)}}return Y.\u0275fac=function(k){return new(k||Y)(T.\u0275\u0275inject(f.K0))},Y.\u0275prov=T.\u0275\u0275defineInjectable({token:Y,factory:function(k){let J=null;return J=k?new k:function ce(Y){return new le(Y.get(f.K0))}(T.\u0275\u0275inject(T.Injector)),J},providedIn:"root"}),Y})()},3416:(ge,I,_)=>{"use strict";_.d(I,{aw:()=>pe,X$:()=>Tn,sK:()=>hn});var f=_(4650),T=_(8306),C=_(576);function K(G){return!!G&&(G instanceof T.y||(0,C.m)(G.lift)&&(0,C.m)(G.subscribe))}var M=_(9646),S=_(4128),x=_(7272),F=_(9770),B=_(4707),$=_(3099);function H(G,de,V){let re,oe=!1;return G&&"object"==typeof G?({bufferSize:re=1/0,windowTime:de=1/0,refCount:oe=!1,scheduler:V}=G):re=G??1/0,(0,$.B)({connector:()=>new B.t(re,de,V),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:oe})}var Z=_(5698),Me=_(4004),ae=_(4351),se=_(3900);class ee{}let W=(()=>{class G extends ee{getTranslation(V){return(0,M.of)({})}}return G.\u0275fac=function(){let de;return function(re){return(de||(de=f.\u0275\u0275getInheritedFactory(G)))(re||G)}}(),G.\u0275prov=f.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac}),G})();class X{}let fe=(()=>{class G{handle(V){return V.key}}return G.\u0275fac=function(V){return new(V||G)},G.\u0275prov=f.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac}),G})();function Ce(G,de){if(G===de)return!0;if(null===G||null===de)return!1;if(G!=G&&de!=de)return!0;let oe,Ie,be,V=typeof G;if(V==typeof de&&"object"==V){if(!Array.isArray(G)){if(Array.isArray(de))return!1;for(Ie in be=Object.create(null),G){if(!Ce(G[Ie],de[Ie]))return!1;be[Ie]=!0}for(Ie in de)if(!(Ie in be)&&typeof de[Ie]<"u")return!1;return!0}if(!Array.isArray(de))return!1;if((oe=G.length)==de.length){for(Ie=0;Ie<oe;Ie++)if(!Ce(G[Ie],de[Ie]))return!1;return!0}}return!1}function me(G){return typeof G<"u"&&null!==G}function _e(G){return G&&"object"==typeof G&&!Array.isArray(G)}function Ae(G,de){let V=Object.assign({},G);return _e(G)&&_e(de)&&Object.keys(de).forEach(re=>{_e(de[re])?re in G?V[re]=Ae(G[re],de[re]):Object.assign(V,{[re]:de[re]}):Object.assign(V,{[re]:de[re]})}),V}class rt{}let je=(()=>{class G extends rt{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(V,re){let oe;return oe="string"==typeof V?this.interpolateString(V,re):"function"==typeof V?this.interpolateFunction(V,re):V,oe}getValue(V,re){let oe="string"==typeof re?re.split("."):[re];re="";do{re+=oe.shift(),!me(V)||!me(V[re])||"object"!=typeof V[re]&&oe.length?oe.length?re+=".":V=void 0:(V=V[re],re="")}while(oe.length);return V}interpolateFunction(V,re){return V(re)}interpolateString(V,re){return re?V.replace(this.templateMatcher,(oe,Ie)=>{let be=this.getValue(re,Ie);return me(be)?be:oe}):V}}return G.\u0275fac=function(){let de;return function(re){return(de||(de=f.\u0275\u0275getInheritedFactory(G)))(re||G)}}(),G.\u0275prov=f.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac}),G})();class Ne{}let Ye=(()=>{class G extends Ne{compile(V,re){return V}compileTranslations(V,re){return V}}return G.\u0275fac=function(){let de;return function(re){return(de||(de=f.\u0275\u0275getInheritedFactory(G)))(re||G)}}(),G.\u0275prov=f.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac}),G})();class Ze{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new f.EventEmitter,this.onLangChange=new f.EventEmitter,this.onDefaultLangChange=new f.EventEmitter}}const et=new f.InjectionToken("USE_STORE"),tt=new f.InjectionToken("USE_DEFAULT_LANG"),ut=new f.InjectionToken("DEFAULT_LANGUAGE"),ze=new f.InjectionToken("USE_EXTEND");let hn=(()=>{class G{constructor(V,re,oe,Ie,be,st=!0,Ge=!1,ft=!1,Et){this.store=V,this.currentLoader=re,this.compiler=oe,this.parser=Ie,this.missingTranslationHandler=be,this.useDefaultLang=st,this.isolate=Ge,this.extend=ft,this.pending=!1,this._onTranslationChange=new f.EventEmitter,this._onLangChange=new f.EventEmitter,this._onDefaultLangChange=new f.EventEmitter,this._langs=[],this._translations={},this._translationRequests={},Et&&this.setDefaultLang(Et)}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(V){this.isolate?this._defaultLang=V:this.store.defaultLang=V}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(V){this.isolate?this._currentLang=V:this.store.currentLang=V}get langs(){return this.isolate?this._langs:this.store.langs}set langs(V){this.isolate?this._langs=V:this.store.langs=V}get translations(){return this.isolate?this._translations:this.store.translations}set translations(V){this.isolate?this._translations=V:this.store.translations=V}setDefaultLang(V){if(V===this.defaultLang)return;let re=this.retrieveTranslations(V);typeof re<"u"?(null==this.defaultLang&&(this.defaultLang=V),re.pipe((0,Z.q)(1)).subscribe(oe=>{this.changeDefaultLang(V)})):this.changeDefaultLang(V)}getDefaultLang(){return this.defaultLang}use(V){if(V===this.currentLang)return(0,M.of)(this.translations[V]);let re=this.retrieveTranslations(V);return typeof re<"u"?(this.currentLang||(this.currentLang=V),re.pipe((0,Z.q)(1)).subscribe(oe=>{this.changeLang(V)}),re):(this.changeLang(V),(0,M.of)(this.translations[V]))}retrieveTranslations(V){let re;return(typeof this.translations[V]>"u"||this.extend)&&(this._translationRequests[V]=this._translationRequests[V]||this.getTranslation(V),re=this._translationRequests[V]),re}getTranslation(V){this.pending=!0;const re=this.currentLoader.getTranslation(V).pipe(H(1),(0,Z.q)(1));return this.loadingTranslations=re.pipe((0,Me.U)(oe=>this.compiler.compileTranslations(oe,V)),H(1),(0,Z.q)(1)),this.loadingTranslations.subscribe({next:oe=>{this.translations[V]=this.extend&&this.translations[V]?{...oe,...this.translations[V]}:oe,this.updateLangs(),this.pending=!1},error:oe=>{this.pending=!1}}),re}setTranslation(V,re,oe=!1){re=this.compiler.compileTranslations(re,V),this.translations[V]=(oe||this.extend)&&this.translations[V]?Ae(this.translations[V],re):re,this.updateLangs(),this.onTranslationChange.emit({lang:V,translations:this.translations[V]})}getLangs(){return this.langs}addLangs(V){V.forEach(re=>{-1===this.langs.indexOf(re)&&this.langs.push(re)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(V,re,oe){let Ie;if(re instanceof Array){let be={},st=!1;for(let Ge of re)be[Ge]=this.getParsedResult(V,Ge,oe),K(be[Ge])&&(st=!0);if(st){const Ge=re.map(ft=>K(be[ft])?be[ft]:(0,M.of)(be[ft]));return(0,S.D)(Ge).pipe((0,Me.U)(ft=>{let Et={};return ft.forEach((ot,ht)=>{Et[re[ht]]=ot}),Et}))}return be}if(V&&(Ie=this.parser.interpolate(this.parser.getValue(V,re),oe)),typeof Ie>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(Ie=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],re),oe)),typeof Ie>"u"){let be={key:re,translateService:this};typeof oe<"u"&&(be.interpolateParams=oe),Ie=this.missingTranslationHandler.handle(be)}return typeof Ie<"u"?Ie:re}get(V,re){if(!me(V)||!V.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,ae.b)(oe=>K(oe=this.getParsedResult(oe,V,re))?oe:(0,M.of)(oe)));{let oe=this.getParsedResult(this.translations[this.currentLang],V,re);return K(oe)?oe:(0,M.of)(oe)}}getStreamOnTranslationChange(V,re){if(!me(V)||!V.length)throw new Error('Parameter "key" required');return(0,x.z)((0,F.P)(()=>this.get(V,re)),this.onTranslationChange.pipe((0,se.w)(oe=>{const Ie=this.getParsedResult(oe.translations,V,re);return"function"==typeof Ie.subscribe?Ie:(0,M.of)(Ie)})))}stream(V,re){if(!me(V)||!V.length)throw new Error('Parameter "key" required');return(0,x.z)((0,F.P)(()=>this.get(V,re)),this.onLangChange.pipe((0,se.w)(oe=>{const Ie=this.getParsedResult(oe.translations,V,re);return K(Ie)?Ie:(0,M.of)(Ie)})))}instant(V,re){if(!me(V)||!V.length)throw new Error('Parameter "key" required');let oe=this.getParsedResult(this.translations[this.currentLang],V,re);if(K(oe)){if(V instanceof Array){let Ie={};return V.forEach((be,st)=>{Ie[V[st]]=V[st]}),Ie}return V}return oe}set(V,re,oe=this.currentLang){this.translations[oe][V]=this.compiler.compile(re,oe),this.updateLangs(),this.onTranslationChange.emit({lang:oe,translations:this.translations[oe]})}changeLang(V){this.currentLang=V,this.onLangChange.emit({lang:V,translations:this.translations[V]}),null==this.defaultLang&&this.changeDefaultLang(V)}changeDefaultLang(V){this.defaultLang=V,this.onDefaultLangChange.emit({lang:V,translations:this.translations[V]})}reloadLang(V){return this.resetLang(V),this.getTranslation(V)}resetLang(V){this._translationRequests[V]=void 0,this.translations[V]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let V=window.navigator.languages?window.navigator.languages[0]:null;return V=V||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof V>"u"?void 0:(-1!==V.indexOf("-")&&(V=V.split("-")[0]),-1!==V.indexOf("_")&&(V=V.split("_")[0]),V)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let V=window.navigator.languages?window.navigator.languages[0]:null;return V=V||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,V}}return G.\u0275fac=function(V){return new(V||G)(f.\u0275\u0275inject(Ze),f.\u0275\u0275inject(ee),f.\u0275\u0275inject(Ne),f.\u0275\u0275inject(rt),f.\u0275\u0275inject(X),f.\u0275\u0275inject(tt),f.\u0275\u0275inject(et),f.\u0275\u0275inject(ze),f.\u0275\u0275inject(ut))},G.\u0275prov=f.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac}),G})(),Tn=(()=>{class G{constructor(V,re){this.translate=V,this._ref=re,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(V,re,oe){let Ie=be=>{this.value=void 0!==be?be:V,this.lastKey=V,this._ref.markForCheck()};if(oe){let be=this.translate.getParsedResult(oe,V,re);K(be.subscribe)?be.subscribe(Ie):Ie(be)}this.translate.get(V,re).subscribe(Ie)}transform(V,...re){if(!V||!V.length)return V;if(Ce(V,this.lastKey)&&Ce(re,this.lastParams))return this.value;let oe;if(me(re[0])&&re.length)if("string"==typeof re[0]&&re[0].length){let Ie=re[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{oe=JSON.parse(Ie)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${re[0]}`)}}else"object"==typeof re[0]&&!Array.isArray(re[0])&&(oe=re[0]);return this.lastKey=V,this.lastParams=re,this.updateValue(V,oe),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(Ie=>{this.lastKey&&Ie.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(V,oe,Ie.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(Ie=>{this.lastKey&&(this.lastKey=null,this.updateValue(V,oe,Ie.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(V,oe))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return G.\u0275fac=function(V){return new(V||G)(f.\u0275\u0275directiveInject(hn,16),f.\u0275\u0275directiveInject(f.ChangeDetectorRef,16))},G.\u0275pipe=f.\u0275\u0275definePipe({name:"translate",type:G,pure:!1}),G.\u0275prov=f.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac}),G})(),pe=(()=>{class G{static forRoot(V={}){return{ngModule:G,providers:[V.loader||{provide:ee,useClass:W},V.compiler||{provide:Ne,useClass:Ye},V.parser||{provide:rt,useClass:je},V.missingTranslationHandler||{provide:X,useClass:fe},Ze,{provide:et,useValue:V.isolate},{provide:tt,useValue:V.useDefaultLang},{provide:ze,useValue:V.extend},{provide:ut,useValue:V.defaultLanguage},hn]}}static forChild(V={}){return{ngModule:G,providers:[V.loader||{provide:ee,useClass:W},V.compiler||{provide:Ne,useClass:Ye},V.parser||{provide:rt,useClass:je},V.missingTranslationHandler||{provide:X,useClass:fe},{provide:et,useValue:V.isolate},{provide:tt,useValue:V.useDefaultLang},{provide:ze,useValue:V.extend},{provide:ut,useValue:V.defaultLanguage},hn]}}}return G.\u0275fac=function(V){return new(V||G)},G.\u0275mod=f.\u0275\u0275defineNgModule({type:G}),G.\u0275inj=f.\u0275\u0275defineInjector({}),G})()},2023:(ge,I,_)=>{"use strict";_.d(I,{Em:()=>me,Fb:()=>Ye,GQ:()=>Fe,Hx:()=>pt,MH:()=>Me,Mc:()=>Pt,Nj:()=>Se,PB:()=>de,QQ:()=>An,RU:()=>Ge,Wo:()=>se,Wz:()=>G,Xm:()=>ut,Xy:()=>Zt,YV:()=>er,ZR:()=>Nn,Zb:()=>nr,Zw:()=>hn,_9:()=>Cn,_O:()=>H,dU:()=>In,dl:()=>ht,dy:()=>yn,eZ:()=>Kt,fd:()=>dt,ip:()=>et,iu:()=>Xt,jR:()=>$,ku:()=>Xe,lq:()=>le,mB:()=>rn,pD:()=>V,pe:()=>sn,q0:()=>Ze,qX:()=>xn,ro:()=>ae,sO:()=>Qt,sV:()=>On,uv:()=>Q,vb:()=>B,ww:()=>Z,xG:()=>Un,xo:()=>re,y3:()=>vt});var f=_(4650),T=_(6895),C=_(6096);const K=["*"],B={name:"arrow_down_alt",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M11.933 20a2 2 0 01-.059-.004L12 20a2.026 2.026 0 01-.527-.07l-.029-.009a1.476 1.476 0 01-.121-.039l-.01-.004a2.006 2.006 0 01-.405-.202l-.017-.012-6-4a2 2 0 012.218-3.328L10 14.263 10 6a2 2 0 114 0v8.263l2.89-1.927a2 2 0 012.22 3.328l-6 4-.012.008c-.124.081-.257.15-.398.202l-.012.004-.11.037a1.984 1.984 0 01-.025.008l-.011.002a1.315 1.315 0 01-.124.031l-.026.005a1.194 1.194 0 01-.131.022c-.007 0-.014.002-.02.003l-.02.002a1.995 1.995 0 01-.053.005l-.044.003a1.789 1.789 0 01-.057.003z"/></svg>'},$={name:"arrow_down",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M5.8 9.287l5.454 3.916c.412.382 1.08.382 1.492 0L18.2 9.287a1.113 1.113 0 011.491 0 .93.93 0 010 1.384l-6.2 5.756c-.823.764-2.159.764-2.982 0l-6.2-5.756a.93.93 0 010-1.384 1.113 1.113 0 011.491 0z"/></svg>'},H={name:"arrow_either",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M7.35 14.215l4.09 2.937a.835.835 0 001.12 0l4.09-2.937a.835.835 0 011.118 0 .698.698 0 010 1.038l-4.65 4.317a1.67 1.67 0 01-2.237 0l-4.65-4.317a.698.698 0 010-1.038.835.835 0 011.12 0zM13.12 4.43l4.65 4.317a.698.698 0 010 1.038.835.835 0 01-1.12 0l-4.09-2.937a.835.835 0 00-1.118 0L7.35 9.785a.835.835 0 01-1.12 0 .698.698 0 010-1.038l4.65-4.317a1.67 1.67 0 012.238 0z"/></svg>'},Z={name:"arrow_left_alt",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M4 11.933a2 2 0 01.004-.059L4 12a2.026 2.026 0 01.07-.527l.009-.029a1.476 1.476 0 01.039-.121l.004-.01a2.006 2.006 0 01.202-.405l.012-.017 4-6a2 2 0 013.328 2.218L9.737 10 18 10a2 2 0 110 4H9.737l1.927 2.89a2 2 0 01-3.328 2.22l-4-6-.008-.012a1.993 1.993 0 01-.202-.398l-.004-.012-.037-.11a1.984 1.984 0 01-.008-.025l-.002-.011a1.315 1.315 0 01-.031-.124l-.005-.026a1.194 1.194 0 01-.022-.131c0-.007-.002-.014-.003-.02l-.002-.02a1.995 1.995 0 01-.005-.053l-.003-.044A1.789 1.789 0 014 12.067z"/></svg>'},Me={name:"arrow_left",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M14.713 5.8l-3.916 5.454a1.113 1.113 0 000 1.492l3.916 5.454c.383.412.383 1.08 0 1.491a.93.93 0 01-1.384 0l-5.756-6.2c-.764-.823-.764-2.159 0-2.982l5.756-6.2a.93.93 0 011.384 0c.383.412.383 1.08 0 1.491z"/></svg>'},ae={name:"arrow_right_alt",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M20 11.933a2 2 0 00-.004-.059L20 12a2.026 2.026 0 00-.07-.527l-.009-.029a1.476 1.476 0 00-.039-.121l-.004-.01a2.006 2.006 0 00-.202-.405l-.012-.017-4-6a2 2 0 00-3.328 2.218L14.263 10 6 10a2 2 0 100 4h8.263l-1.927 2.89a2 2 0 003.328 2.22l4-6 .008-.012c.081-.124.15-.257.202-.398l.004-.012.037-.11.008-.025.002-.011a1.315 1.315 0 00.031-.124l.005-.026a1.194 1.194 0 00.022-.131c0-.007.002-.014.003-.02l.002-.02.005-.053.003-.044a1.789 1.789 0 00.003-.057z"/></svg>'},se={name:"arrow_right",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M9.287 4.309a.93.93 0 011.384 0l5.756 6.2c.764.823.764 2.159 0 2.982l-5.756 6.2a.93.93 0 01-1.384 0 1.113 1.113 0 010-1.491l3.916-5.454a1.113 1.113 0 000-1.492L9.287 5.8a1.113 1.113 0 010-1.491z"/></svg>'},me={name:"arrow_up",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M18.2 14.713l-5.454-3.916a1.113 1.113 0 00-1.492 0L5.8 14.713a1.113 1.113 0 01-1.491 0 .93.93 0 010-1.384l6.2-5.756c.823-.764 2.159-.764 2.982 0l6.2 5.756a.93.93 0 010 1.384 1.113 1.113 0 01-1.491 0z"/></svg>'},Ye={name:"indicator_dot_placeholder",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8 8"><circle cx="4" cy="4" r="3.5" fill-rule="evenodd"/></svg>'},Ze={name:"leaf_round",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 466 459"><path fill-rule="evenodd" d="M198.095 103.635C139.577 12.1 270.51-23 291.195 16.772c-44.394 13.326-53.632 46.654-33.741 44.372 27.124-3.112 17.159-31.046 59.167-44.372 28.64-9.086 48.213 16.138 68.368 41.526l1.423 1.792c3.088 3.88 6.194 7.747 9.354 11.476-136.172-7.64-123.84 27.488-103.446 27.488 20.395 0 79.081-27.488 119.624-18.297 28.27 14.589 4.478 46.95 34.973 70.465l-.003-.003-.515-.36c-17.36-11.885-78.607-28.778-121.474-24.031l-1.307.152c-43.353 5.297-35.209 24.242-11.272 24.242 23.937 0 118.262-6.68 137.926 14.596 14.157 15.319 14.437 31.844 14.656 48.894l.018 1.422.02 1.424.023 1.426.029 1.43c.104 4.765.322 9.565.95 14.386-14.462-26-82.286-46.088-131.257-50.37-48.97-4.281-50.737 13.583 9.31 13.583 60.05 0 113.4 43.945 119.69 52.828 6.29 8.882-6.614 38.542-6.29 63.81-7.604-16.243-64.531-58.897-113.4-77.105-48.867-18.208-37.79 23.507-3.307 18.208 34.483-5.299 111.49 58.898 116.706 75.142 5.218 16.244-5.217 35.146-17.206 43.87-3.057-30.145-93.122-89.248-105.503-70.726-12.38 18.521 87.274 35.047 93.952 81.08 2.315 15.957-13.044 20.545-16.719 27.336-6.926 12.8 0 30.484-7.602 30.484-3.825-7.337-15.46-4.911-27.02-2.173l-1.89.45c-8.805 2.095-17.315 4.072-22.02 1.723-11.202-5.594-26.323-86.128-41.066-76.507-14.743 9.62.922 46.81 28.368 89.847-8.712.264-22.648 3.987-28.368 0-47.334-32.988-34.082-118.699-41.836-141.628-9.76-28.86-21.51 87.034 21.81 141.628-9.316-3.58-42.588 2.739-61.32-13.34-23.165-19.885-25.13-79.698-19.51-120.615 5.228-38.063 17.925-58.568 2.83-46.47-31.32 25.105-20.8 109.792-2.83 153.885-8.826 0-67.232-4.184-79.889-39.583-12.657-35.398 22.343-114.038 37.833-129.104 15.49-15.066 6.472-26.65-7.777-19.095-14.25 7.555-62.382 99.566-41.113 143.161-14.794-10.116-65.696-54.224-65.696-76.817 0-22.592 106.81-113.607 84.73-113.607-12.525 0-29.656 19.177-50.966 43.543-16.258 18.589-38.218 38.359-43.098 65.802-12.578-5.932-56.526-51.234-32.626-82.933 23.9-31.698 98.796-44.805 98.796-64.107s-83.72 8.818-106.495 52.5c-15.175-45.313 7.419-80.888 22.775-90.214 15.356-9.325 83.72 9.326 83.72-4.166 0-13.491-48.911-19.347-80.926-8.914 0-23.758 65.81-38.013 89.786-38.013s48.269 9.378 55.362 38.013c7.094 28.635 40.541 26.135 22.189-2.571zm25.568 134.603c-2.455 6.746.182 13.9 5.89 15.978 5.71 2.078 12.328-1.707 14.784-8.454 2.455-6.746-.182-13.9-5.89-15.978-5.71-2.078-12.328 1.707-14.784 8.454zm-25.162-55.963c-9.52 7.988-13.207 19.265-8.237 25.188 4.97 5.923 16.716 4.25 26.235-3.738 9.52-7.988 13.207-19.265 8.237-25.188-4.97-5.923-16.716-4.25-26.235 3.738zm-31.237-34.123c-9.247 1.63-15.965 7.361-15.006 12.8.96 5.439 9.232 8.526 18.478 6.896 9.247-1.63 15.965-7.361 15.006-12.8-.96-5.439-9.232-8.526-18.478-6.896zM244 140.34c-6.218 3.59-9.02 10.377-6.258 15.16 2.761 4.783 10.04 5.75 16.258 2.16s9.02-10.377 6.258-15.16c-2.761-4.783-10.04-5.75-16.258-2.16z"/></svg>'},et={name:"leaf_skiny",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 557 770"><path fill-rule="evenodd" d="M173.394.755l27.16 42.07 37.655 75.305 13.674 58.53 4.188 98.075.503.516 25.25-88.44 25.725-65.502 25.797-43.64 42.518-46.103 3.11-1.919 1.357 1.07-6.34 11.525-9.78 21.702-18.082 30.69-.462 1.106-33.692 101.956-20.022 47.921-30.29 60.244-2.003 21.362 124.449-212.99 31.47-33.313 6.291-2.088.506 6.37-47.711 95.573-56.892 91.638-43.84 50.331-12.947 24.68 3.046 20.655 4.493-4.972 14.503-22.354L459.965 133.23l2.834-.896-1.531 4.418-57.503 99.913-59.749 77.522-74.101 59.863-3.185 3.807 4.363 25.371L436.748 249.22l64.075-50.698-1.954 5.615-40.924 59.563-23.644 26.788-35.809 34.35-73.42 57.219-44.7 27.628-5.763 8.007 2.166 11.656 4.998 1.416 168.307-121.86 78.99-46.118 6.12-2.836-21.308 30.996-90.629 76.568-87.272 55.29-46.546 18.456-8.42 11.693-.08 8.962 2.28 14.846 21.926-19.59 104.535-69.384 120.9-58.7 17.915-6.8 6.13.466-2.232 5.6-19.074 17.311-47.982 35.499-63.134 36.336-125.1 58.846-9.632 20.744 6.885-2.512 126.473-58.068 77.356-28.409 50.78-13.001 7.223.527.542 1.615-12.781 11.282-114.6 64.003-91.965 25.479-43.587 6.366-4.85 2.854 2.918 7.298 5.375 2.292 195.766-20.007 36.756 4.356 4.458 3.182-3.518 4.373-60.307 14.834-69.463 6.781-56.15.608-52.545-4.491-.874 1.518 3.254 3.465 66.13 20.726 85.305 42.51 4.643 3.588-.835 1.607-82.646-16.673-75.063-41.751-.048 6.767 6.183 88.497-1.138 9.37 1.95 94.203-1.587 24.395-2.169 3.772-12.77 1.31-2.673-23.147 5.51-106.937-2.545-87.617-2.62-20.025.041-9.699-6.907 2.795-65.287 47.015-43.661 26.988-41.504 11.88-11.7 1.357-1.606-1.782 58.975-45.36 44.049-27.22 57.782-22.12 2.969-.337 5.962-4.595-5.306-9.17-12.817.972-49.549 15.662-70.319 12.178-78.937 1.322-26.648-3.292-.803-.892 18.448-10.452 61.038-15.993 74.759-11.811 87.896 1.738-2.212-15.104-67.791-3.231-64.541-8.512-58.142-12.115-76.578-9.508-6.941-1.431-.184-2.205 18.787-6.271 83.907-4.878 44.65 2.527 66.344 15.138 60.62 20.894-8.174-32.117-5.894-4.413-44.103-3.45-54.54-9.611-132.008-35.398-28.42-10.07.295-1.852 4.26-1.527 88.89.7 51.106 8.966 54.672 17.085 62.792 27.542-2.708-19.71-3.91-14.87-5.138-3.484-15.215-1.457-79.586-33.233L27.36 312.614l-3.791-3.212 4.011-2.987 11.878-1.066 91.496 10.888 76.83 25.618 48.837 30.881-2.86-26.613-7.325-12.115-81.068-44.27-119.194-50.23-16.6-10.231.622-1.658 5.082-.61 53.503 5.948 87.132 35.574 69.113 51.1 4.605 2.7 2.002-2.3L66.361 140.89l.612-1.65 6.456.52 25.434 13.168 40.912 25.874 48.918 45.563 26.17 29.38 12.223 16.101.338-.387L112 70.516l10.603 5.252 37.525 41.618 37.967 56.436 39.104 81.812 7.017 21.54-.26-7.815-70.839-257.662-1.857-10.026z"/></svg>'},ut={name:"no_image_2",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 200"><style>.placeholder{stroke:#999;stroke-width:4;stroke-linecap:round}</style><g fill="none" fill-rule="evenodd"><circle class="placeholder" cx="128" cy="60" r="32"/><path class="placeholder" d="M263 6H14a8 8 0 00-8 8v74M195.05 182.887L65.443 97.913a8 8 0 00-8.851.053L9.535 129.622A8 8 0 006 136.26V186a8 8 0 008 8h272a8 8 0 008-8v-84.869a8 8 0 00-3.368-6.523l-41.31-29.33a8 8 0 00-9.713.344l-90.374 74.339M294 85V63M294 45v-7.997M294 55.003v-2M294 29V14a8 8 0 00-8-8h-5M273 6h-2M6 122v-15.997m0-8v-2"/></g></svg>'},hn={name:"number_coins",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M5.5 14.244c.355.562.885 1.04 1.547 1.432-.659.27-1.047.576-1.047.824 0 .589 2.186 1.5 5 1.5 2.44 0 4.409-.685 4.888-1.251.754-.14 1.457-.338 2.085-.592.018.112.027.226.027.343 0 2.172-3.186 3.5-7 3.5s-7-1.328-7-3.5c0-.914.563-1.678 1.5-2.256zm13.64-3.523c.547.5.86 1.098.86 1.779 0 2.172-3.186 3.5-7 3.5s-7-1.328-7-3.5c0-.27.049-.526.142-.769.543.309 1.17.562 1.858.759v.01c0 .589 2.186 1.5 5 1.5s5-.911 5-1.5c0-.172-.187-.372-.522-.568.672-.33 1.238-.733 1.662-1.21zM12 5c3.814 0 7 1.328 7 3.5 0 2.172-3.186 3.5-7 3.5s-7-1.328-7-3.5C5 6.328 8.186 5 12 5zm0 2c-2.814 0-5 .911-5 1.5S9.186 10 12 10s5-.911 5-1.5S14.814 7 12 7z"/></svg>'},yn={name:"number_decimal",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M16.141 4.01a1 1 0 01.849 1.132L16.55 8h2.583c.48 0 .867.448.867 1s-.387 1-.867 1h-2.891l-.308 2h2.2c.479 0 .866.447.866 1 0 .553-.387 1-.867 1h-2.506l-.637 4.142a.999.999 0 01-.989.858l-.143-.01a1 1 0 01-.849-1.132L13.603 14h-1.976l-.637 4.142a1 1 0 01-.989.858l-.143-.01a1 1 0 01-.848-1.132L9.604 14H6.867C6.388 14 6 13.553 6 13c0-.553.388-1 .867-1H9.91l.308-2H7.867C7.388 10 7 9.552 7 9s.388-1 .867-1h2.66l.483-3.142a1 1 0 011.98.284L12.55 8h1.976l.483-3.142a1.002 1.002 0 011.132-.848zM5.5 16a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm8.718-6h-1.975l-.308 2h1.975l.308-2z"/></svg>'},G={name:"number_minus",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect width="16" height="4" x="4" y="10" fill-rule="evenodd" rx="2"/></svg>'},de={name:"number_number",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M16.141 4.01a1 1 0 01.849 1.132L16.582 8H19a1 1 0 110 2h-2.704l-.571 4H18a.999.999 0 110 2h-2.561l-.449 3.142a.999.999 0 01-.989.858l-.143-.01a1 1 0 01-.849-1.132L13.417 16H9.439l-.449 3.142a1 1 0 01-.989.858l-.143-.01a1 1 0 01-.848-1.132L7.418 16H5a1 1 0 110-2h2.704l.571-4H6a1 1 0 010-2h2.561l.449-3.142a1 1 0 011.98.284L10.582 8h3.978l.45-3.142a1.002 1.002 0 011.131-.848zM14.274 10h-3.978l-.571 4h3.978l.571-4z"/></svg>'},V={name:"number_percent",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M17 13a4 4 0 110 8 4 4 0 010-8zm0 2a2 2 0 100 4 2 2 0 000-4zm1.364-9.364a1 1 0 010 1.414L7.05 18.364a1 1 0 01-1.414-1.414L16.95 5.636a1 1 0 011.414 0zM7 3a4 4 0 110 8 4 4 0 010-8zm0 2a2 2 0 100 4 2 2 0 000-4z"/></svg>'},re={name:"number_plus",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M12 4a2 2 0 012 2v4h4a2 2 0 110 4h-4v4a2 2 0 11-4 0v-4H6a2 2 0 110-4h4V6a2 2 0 012-2z"/></svg>'},Ge={name:"system_attach",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M10.86 14.378l2.787-2.786a.985.985 0 00-1.393-1.393l-2.786 2.786a2.955 2.955 0 104.179 4.18l2.786-2.787a4.925 4.925 0 00-6.965-6.965L6.68 10.199a.985.985 0 01-1.393-1.393L8.075 6.02a6.896 6.896 0 019.75 9.751l-2.785 2.786a4.925 4.925 0 01-6.965-6.965l2.786-2.786a2.955 2.955 0 114.179 4.18l-2.786 2.785a.985.985 0 01-1.393-1.393z"/></svg>'},ht={name:"system_bin",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M9 7V6a1 1 0 011-1h4a1 1 0 011 1v.999l.913.001H17a1 1 0 010 2h-.167l-.757 9.083a1 1 0 01-.996.917H8.92a1 1 0 01-.996-.917L7.166 9H7a1 1 0 110-2h2zm5.76 2l-5.525.005L9.79 17h4.42l.55-8z"/></svg>'},Pt={name:"system_bolt",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M10.612 19.84a.33.33 0 01-.279.16.332.332 0 01-.128-.026.362.362 0 01-.199-.402l1.25-6.568H7.333c-.103 0-.2-.05-.263-.137a.374.374 0 01-.06-.305l2-8.293A.336.336 0 019.333 4h6c.122 0 .235.07.294.185a.377.377 0 01-.012.362L12.943 9h3.723c.122 0 .235.064.294.18a.387.387 0 01-.015.37l-6.333 10.29z"/></svg>'},An={name:"system_close",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M18.39 5.61a2.085 2.085 0 010 2.95L14.948 12l3.44 3.44c.774.774.813 2.004.116 2.823l-.116.126a2.085 2.085 0 01-2.949 0L12 14.95l-3.44 3.44a2.085 2.085 0 11-2.95-2.949L9.052 12l-3.44-3.44a2.085 2.085 0 01-.116-2.823l.116-.126a2.085 2.085 0 012.949 0L12 9.05l3.44-3.44a2.085 2.085 0 012.95 0z"/></svg>'},Kt={name:"system_edit",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M18.435 4.879l1.414 1.414a3 3 0 010 4.243l-9.9 9.899a1 1 0 01-.706.293H5a1 1 0 01-1-1v-4.243a1 1 0 01.293-.707l9.9-9.9a3 3 0 014.242 0zM7.191 14.707L6 15.898v2.83h2.828l1.191-1.193-2.828-2.828zm6.364-6.364l-4.95 4.95 2.828 2.828 4.951-4.949-2.829-2.829zm2.052-2.05l-.638.636 2.829 2.829.637-.637a1 1 0 00.078-1.327l-.078-.087-1.414-1.414a1 1 0 00-1.414 0z"/></svg>'},Q={name:"system_email",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M12 4c4.411 0 8 3.589 8 8 0 .543-.055 1.086-.163 1.612-.344 1.64-1.939 2.685-3.555 2.345a2.973 2.973 0 01-1.64-.955A3.984 3.984 0 0112 16c-2.206 0-4-1.794-4-4s1.794-4 4-4a4.004 4.004 0 013.923 4.782l-.008.033a.994.994 0 00.143.752.998.998 0 00.632.432 1.008 1.008 0 001.184-.775A6.006 6.006 0 0012 6C8.691 6 6 8.69 6 12a6.006 6.006 0 008.064 5.636 1 1 0 11.685 1.88 7.983 7.983 0 01-2.75.484L12 20c-4.411 0-8-3.589-8-8s3.589-8 8-8zm0 6c-1.103 0-2 .897-2 2s.897 2 2 2 2-.897 2-2-.897-2-2-2z"/></svg>'},Se={name:"system_file_upload_cloud",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M10 6a4 4 0 013.6 2.253 4 4 0 015.397 3.917A3 3 0 0118 18h-5.001L13 14h2.575a.5.5 0 00.312-.89l-3.575-2.86a.5.5 0 00-.624 0l-3.575 2.86a.5.5 0 00.312.89H11l-.001 4H7a4 4 0 01-.997-7.875L6 10a4 4 0 014-4z"/></svg>'},dt={name:"system_filter",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M13.5 15a.5.5 0 01.5.5v2.86a.5.5 0 01-.621.485l-3-.75A.5.5 0 0110 17.61V15.5a.5.5 0 01.5-.5h3zm2.5-5a1 1 0 010 2H8a1 1 0 010-2h8zm3-5a1 1 0 010 2H5a1 1 0 110-2h14z"/></svg>'},vt={name:"system_full_screen",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M10.597 13.403a.961.961 0 010 1.36L7.36 18H9a1 1 0 010 2H5a1 1 0 01-1-1v-4a1 1 0 012 0v1.64l3.238-3.237a.961.961 0 011.36 0zM19 4a1 1 0 011 1v4a1 1 0 01-2 0V7.36l-3.238 3.237a.961.961 0 11-1.36-1.36L16.642 6H15a1 1 0 010-2h4z"/></svg>'},pt={name:"system_image",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M17.617 10.213l.09.08 3 3a1 1 0 01-1.32 1.497l-.094-.083-2.334-2.333-8.295 7.373a1 1 0 01-1.28.04l-.091-.08-4-4a1 1 0 011.32-1.497l.094.083 3.333 3.332 8.296-7.372a1 1 0 011.28-.04zM8 5a3 3 0 110 6 3 3 0 010-6z"/></svg>'},Xe={name:"system_info",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M12 3a9 9 0 110 18 9 9 0 010-18zm0 2a7 7 0 100 14 7 7 0 000-14zm.32 6a1 1 0 01.986 1.164l-.667 4a1 1 0 01-.986.836h-.473a1 1 0 01-.986-1.164l.667-4a1 1 0 01.986-.836h.473zm.18-4a1.5 1.5 0 110 3 1.5 1.5 0 010-3z"/></svg>'},Zt={name:"system_link",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M9.254 10.627a.97.97 0 010 1.373L6.51 14.745a1.941 1.941 0 002.744 2.745L12 14.745a.97.97 0 111.373 1.372l-2.746 2.746a3.882 3.882 0 01-5.49-5.49l2.745-2.746a.97.97 0 011.372 0zm5.491-1.373a.972.972 0 010 1.373l-4.117 4.118a.97.97 0 01-1.373-1.373l4.118-4.118a.97.97 0 011.372 0zm4.118-4.117a3.882 3.882 0 010 5.49l-2.746 2.745A.97.97 0 1114.745 12l2.745-2.746a1.942 1.942 0 00-2.745-2.744L12 9.255a.97.97 0 01-1.373-1.373l2.746-2.745a3.883 3.883 0 015.49 0z"/></svg>'},xn={name:"system_menu",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M19 16a1 1 0 010 2H5a1 1 0 010-2h14zm0-5a1 1 0 010 2H5a1 1 0 010-2h14zm0-5a1 1 0 010 2H5a1 1 0 110-2h14z"/></svg>'},Nn={name:"system_must",data:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><defs><filter id="a" width="187.5%" height="187.5%" x="-43.7%" y="-31.2%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"/><feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1" stdDeviation="2"/><feColorMatrix in="shadowBlurOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.12 0"/></filter><path id="b" d="M13.487 4l-.403 6.767 5.997-2.493.919 2.973-6.246 1.689 4.11 5.226L15.457 20 12 14.276 8.542 20l-2.405-1.838 4.109-5.226L4 11.247l.919-2.973 5.996 2.493L10.513 4h2.974z"/></defs><g fill="none" fill-rule="evenodd"><use fill="#000" filter="url(#a)" xlink:href="#b"/><use fill="#FE0000" xlink:href="#b"/></g></svg>'},Xt={name:"system_phone",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M4.814 8.88c1.362-1.39 2.043-1.022 2.98.328.85 1.228.595 2.046 0 2.578-.384.327-1.363.9-.852 1.76.724 1.227 2.129 2.7 3.363 3.478.851.531 1.532-.369 1.915-.696.596-.573 1.447-.736 2.64.164 1.32.982 1.66 1.677.127 2.905C9.88 22.384 1.323 13.546 4.814 8.88zM11 4a9 9 0 019 9 1 1 0 01-2 0 7 7 0 00-7-7 1 1 0 010-2zm0 4a5 5 0 015 5 1 1 0 01-2 0 3 3 0 00-3-3 1 1 0 010-2z"/></svg>'},le={name:"system_processing",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18 12a1 1 0 012 0 8 8 0 01-11.955 6.955l-1.338 1.338A1 1 0 015 19.586V16a1 1 0 011-1h3.586a1 1 0 01.707 1.707l-.763.763A6 6 0 0018 12zM4 12a8 8 0 0111.955-6.955l1.338-1.338A1 1 0 0119 4.414V8a1 1 0 01-1 1h-3.586a1 1 0 01-.707-1.707l.763-.763A6 6 0 006 12a1 1 0 01-2 0z" fill-rule="evenodd"/></svg>'},Fe={name:"system_signature",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M14.016 4.598l.235.002c1.196.047.94 1.048.557 1.43-1.459 1.387-3.133 2.392-4.927 3.205-.286.288-.573.574-.837.861-.365.385-1.198 1.591-2.065 2.904H20a1 1 0 010 2l-14.321.001c-.72 1.126-1.285 2.036-1.366 2.19-.383.669-1.62-.169-1.238-.838.038-.069.361-.616.807-1.359A1.002 1.002 0 014 13h1.095c.724-1.173 1.44-2.291 1.758-2.67-1.172.407-1.922.676-3.117 1.01-.742.215-1.137-1.291-.395-1.506 1.937-.55 3.922-1.125 5.764-1.938.717-.67 1.393-1.499 2.158-2.072.884-.694 1.793-1.272 2.988-1.224zm-1.648 4.278c.478-.192.933.478.67.885-.12.143-.192.31-.241.479.814-.096 1.507-.359 2.224-.862.263-.191.669-.048.813.215.12.215 1.507-.358 1.698-.43.336-.12.647.12.742.406.023.095.048.167.048.24.67.023 1.482-.192 2.104-.264.765-.096.762 1.453-.003 1.549-.886.096-1.89.335-2.775.191-.191-.048-.334-.215-.406-.406-.693.239-1.458.478-2.008.12-.981.574-2.057.836-3.229.789-.43-.024-.621-.382-.573-.765 0-.048.024-.072.024-.12-.598.262-1.173.574-1.746.885-.67.382-1.265-.999-.595-1.382a23.77 23.77 0 013.253-1.53z"/></svg>'},Un={name:"system_view",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M12 5c5.15 0 7.987 4.15 8.942 6.83L21 12c-.893 2.672-3.74 7-9 7-5.15 0-7.987-4.15-8.942-6.83L3 12c.893-2.672 3.74-7 9-7zm0 2c-4.09 0-6.305 3.092-7 5l.056.15C5.81 14.064 8.014 17 12 17c4.09 0 6.305-3.092 7-5l-.056-.15C18.19 9.936 15.986 7 12 7zm0 8.5A3.51 3.51 0 018.5 12 3.51 3.51 0 0112 8.5a3.51 3.51 0 013.5 3.5 3.51 3.51 0 01-3.5 3.5zm0-5c-.825 0-1.5.675-1.5 1.5s.675 1.5 1.5 1.5 1.5-.675 1.5-1.5-.675-1.5-1.5-1.5z"/></svg>'},er={name:"text_align_center",data:'<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M15 17a1 1 0 010 2H9a1 1 0 010-2zm6-4a1 1 0 010 2H3a1 1 0 010-2zm-2-4a1 1 0 010 2H5a1 1 0 010-2zm3-4a1 1 0 010 2H2a1 1 0 110-2z" fill-rule="evenodd"/></svg>'},On={name:"text_align_left",data:'<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M22 17a1 1 0 010 2h-6a1 1 0 010-2zm0-4a1 1 0 010 2H4a1 1 0 010-2zm0-4a1 1 0 010 2H8a1 1 0 010-2zm0-4a1 1 0 010 2H2a1 1 0 110-2z" fill-rule="evenodd"/></svg>'},rn={name:"text_align_right",data:'<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M8 17a1 1 0 010 2H2a1 1 0 010-2zm12-4a1 1 0 010 2H2a1 1 0 010-2zm-4-4a1 1 0 010 2H2a1 1 0 010-2zm6-4a1 1 0 010 2H2a1 1 0 110-2z" fill-rule="evenodd"/></svg>'},sn={name:"time_cal",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M16 3a1 1 0 011 1v1h1a2 2 0 012 2v11a2 2 0 01-2 2H6a2 2 0 01-2-2V7a2 2 0 012-2h1V4a1 1 0 01.883-.993L8 3a1 1 0 011 1v1h2V4a1 1 0 01.883-.993L12 3a1 1 0 011 1v1h2V4a1 1 0 01.883-.993zm2 8H6v6a1 1 0 001 1h10a1 1 0 001-1v-6zM7.983 7H7a1 1 0 00-1 1v1h12V8a1 1 0 00-1-1l-.983-.001L16 7h-.017l-3.966-.001L12 7h-.017l-3.966-.001L8 7h-.017z"/></svg>'},Cn={name:"time_datetime",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M16 3a1 1 0 011 1v1h1a2 2 0 012 2v11a2 2 0 01-2 2H6a2 2 0 01-2-2V7a2 2 0 012-2h1V4a1 1 0 01.883-.993L8 3a1 1 0 011 1v1h2V4a1 1 0 01.883-.993L12 3a1 1 0 011 1v1h2V4a1 1 0 01.883-.993zm1 4H7a1 1 0 00-1 1v9a1 1 0 001 1h10a1 1 0 001-1V8a1 1 0 00-1-1zm-5 1a1 1 0 011 1v3.585l1.828 1.83a1 1 0 11-1.414 1.413l-2.121-2.12-.073-.083a1.003 1.003 0 01-.007-.008l.08.09A1.008 1.008 0 0111 13.02 1 1 0 0111 13V9a1 1 0 011-1z"/></svg>'};let In=(()=>{class gt{constructor(){this.registry=new Map}registerIcons(wt){wt.forEach(on=>this.registry.set(on.name,on.data))}getIcon(wt){return this.registry.has(wt)||console.warn(`We could not find the Icon with the name ${wt},\n did you add it to the Icon registry?`),this.registry.get(wt)}}return gt.\u0275fac=function(wt){return new(wt||gt)},gt.\u0275prov=f.\u0275\u0275defineInjectable({token:gt,factory:gt.\u0275fac,providedIn:"root"}),gt})(),qt=(()=>{class gt{constructor(wt,on,zt){this.utilitiesService=wt,this.iconRegistry=on,this.document=zt}getSvgIcon(wt){const on=this.iconRegistry.getIcon(wt);return this.utilitiesService.getSvgElementFromString(this.document,on)}}return gt.\u0275fac=function(wt){return new(wt||gt)(f.\u0275\u0275inject(C.fW),f.\u0275\u0275inject(In),f.\u0275\u0275inject(T.K0,8))},gt.\u0275prov=f.\u0275\u0275defineInjectable({token:gt,factory:gt.\u0275fac,providedIn:"root"}),gt})(),nr=(()=>{class gt{constructor(wt,on,zt){this.renderer=wt,this.element=on,this.pepIconService=zt,this._spin=!1,this._fill=null}set spin(wt){this._spin=wt,this.setSpin()}set name(wt){this.svgIcon&&this.element.nativeElement.removeChild(this.svgIcon),this.svgIcon=this.pepIconService.getSvgIcon(wt),this.svgIcon&&(this.element.nativeElement.appendChild(this.svgIcon),this.setFill(),this.setSpin())}set fill(wt){this._fill=wt,this.setFill()}setFill(){if(this.svgIcon&&this._fill){const wt=this.svgIcon.classList.contains("stroke")?"stroke":"fill";this.renderer.setStyle(this.svgIcon,wt,this._fill)}}setSpin(){this.svgIcon&&(this._spin?this.renderer.addClass(this.svgIcon,"spin"):this.renderer.removeClass(this.svgIcon,"spin"))}}return gt.\u0275fac=function(wt){return new(wt||gt)(f.\u0275\u0275directiveInject(f.Renderer2),f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(qt))},gt.\u0275cmp=f.\u0275\u0275defineComponent({type:gt,selectors:[["pep-icon"]],inputs:{spin:"spin",name:"name",fill:"fill"},ngContentSelectors:K,decls:1,vars:0,template:function(wt,on){1&wt&&(f.\u0275\u0275projectionDef(),f.\u0275\u0275projection(0))},styles:["[_nghost-%COMP%]{display:flex;align-items:center;justify-items:center;width:inherit;height:inherit;align-content:center;justify-content:center}[_nghost-%COMP%] svg{width:inherit;height:inherit}[_nghost-%COMP%] svg.spin{animation:rotation 2s infinite linear}@keyframes rotation{0%{transform:rotate(0)}to{transform:rotate(359deg)}}"],changeDetection:0}),gt})(),Qt=(()=>{class gt{}return gt.\u0275fac=function(wt){return new(wt||gt)},gt.\u0275mod=f.\u0275\u0275defineNgModule({type:gt}),gt.\u0275inj=f.\u0275\u0275defineInjector({providers:[In,qt]}),gt})()},6096:(ge,I,_)=>{"use strict";function f(l,o,i,u,d,m,b){try{var P=l[m](b),ne=P.value}catch(De){return void i(De)}P.done?o(ne):Promise.resolve(ne).then(u,d)}function T(l){return function(){var o=this,i=arguments;return new Promise(function(u,d){var m=l.apply(o,i);function b(ne){f(m,u,d,b,P,"next",ne)}function P(ne){f(m,u,d,b,P,"throw",ne)}b(void 0)})}}_.d(I,{KS:()=>no,zz:()=>hs,Nx:()=>io,t9:()=>fs,S4:()=>Vi,t8:()=>af,lR:()=>sl,El:()=>Bu,qH:()=>L,gx:()=>Oi,MF:()=>Vu,um:()=>Ut,iM:()=>Li,Or:()=>ro,Td:()=>ra,Od:()=>Lu,Mb:()=>Fu,qJ:()=>so,O3:()=>il,ZI:()=>gl,ui:()=>ju,mO:()=>Hu,In:()=>ku,cd:()=>Qo,xB:()=>fl,L:()=>xi,ZF:()=>zu,Jn:()=>Ou,GN:()=>Nu,t3:()=>pl,gz:()=>Jo,fT:()=>nl,cO:()=>Eu,_F:()=>dn,Sj:()=>xr,Rc:()=>Pu,WF:()=>Pi,Vr:()=>pi,z:()=>hl,Cj:()=>sa,lY:()=>cs,fW:()=>us,Cb:()=>ia,Mk:()=>Rr,tp:()=>hi});var C=_(4650),K=_(6895),M=_(529),S=_(4006),x=_(2843),F=_(1135),B=_(7579),$=_(2722),H=_(262),Z=_(8372),Me=_(9300),ae=_(1884),se=_(8746),ee=_(8505),W=_(3416),X=_(1281),fe=_(1481),Ce=_(4707),me=_(6451),_e=_(3900),Ae=_(4004);const rt={schedule(l,o){const i=setTimeout(l,o);return()=>clearTimeout(i)},scheduleBeforeRender(l){if(typeof window>"u")return rt.schedule(l,0);if(typeof window.requestAnimationFrame>"u")return rt.schedule(l,16);const o=window.requestAnimationFrame(l);return()=>window.cancelAnimationFrame(o)}};let et;function Tn(l,o,i){let u=i;return function Ne(l){return!!l&&l.nodeType===Node.ELEMENT_NODE}(l)&&o.some((d,m)=>!("*"===d||!function tt(l,o){if(!et){const i=Element.prototype;et=i.matches||i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}return l.nodeType===Node.ELEMENT_NODE&&et.call(l,o)}(l,d)||(u=m,0))),u}class G{constructor(o,i){this.componentFactory=i.get(C.ComponentFactoryResolver).resolveComponentFactory(o)}create(o){return new de(this.componentFactory,o)}}class de{constructor(o,i){this.componentFactory=o,this.injector=i,this.eventEmitters=new Ce.t(1),this.events=this.eventEmitters.pipe((0,_e.w)(u=>(0,me.T)(...u))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:u})=>u)),this.ngZone=this.injector.get(C.NgZone),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(o){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(o)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=rt.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(o){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(o):this.componentRef.instance[o])}setInputValue(o,i){this.runInZone(()=>{null!==this.componentRef?function ut(l,o){return l===o||l!=l&&o!=o}(i,this.getInputValue(o))&&(void 0!==i||!this.unchangedInputs.has(o))||(this.recordInputChange(o,i),this.unchangedInputs.delete(o),this.hasInputChanges=!0,this.componentRef.instance[o]=i,this.scheduleDetectChanges()):this.initialInputValues.set(o,i)})}initializeComponent(o){const i=C.Injector.create({providers:[],parent:this.injector}),u=function yn(l,o){const i=l.childNodes,u=o.map(()=>[]);let d=-1;o.some((m,b)=>"*"===m&&(d=b,!0));for(let m=0,b=i.length;m<b;++m){const P=i[m],ne=Tn(P,o,d);-1!==ne&&u[ne].push(P)}return u}(o,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(i,u,o),this.viewChangeDetectorRef=this.componentRef.injector.get(C.ChangeDetectorRef),this.implementsOnChanges=function Ye(l){return"function"==typeof l}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(C.ApplicationRef).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:o})=>{this.initialInputValues.has(o)&&this.setInputValue(o,this.initialInputValues.get(o))}),this.initialInputValues.clear()}initializeOutputs(o){const i=this.componentFactory.outputs.map(({propName:u,templateName:d})=>o.instance[u].pipe((0,Ae.U)(b=>({name:d,value:b}))));this.eventEmitters.next(i)}callNgOnChanges(o){if(!this.implementsOnChanges||null===this.inputChanges)return;const i=this.inputChanges;this.inputChanges=null,o.instance.ngOnChanges(i)}markViewForCheck(o){this.hasInputChanges&&(this.hasInputChanges=!1,o.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=rt.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(o,i){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const u=this.inputChanges[o];if(u)return void(u.currentValue=i);const d=this.unchangedInputs.has(o),m=d?void 0:this.getInputValue(o);this.inputChanges[o]=new C.SimpleChange(m,i,d)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(o){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(o):o()}}class V extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}var Ie=_(2076),be=_(9646),st=_(9841),Ge=_(6805),ft=_(7272),Et=_(9770),ot=_(8306),ht=_(515),Pt=_(727),$t=_(4482),Gt=_(5403);function Ke(){return(0,$t.e)((l,o)=>{let i=null;l._refCount++;const u=(0,Gt.x)(o,void 0,void 0,void 0,()=>{if(!l||l._refCount<=0||0<--l._refCount)return void(i=null);const d=l._connection,m=i;i=null,d&&(!m||d===m)&&d.unsubscribe(),o.unsubscribe()});l.subscribe(u),u.closed||(i=l.connect())})}class An extends ot.y{constructor(o,i){super(),this.source=o,this.subjectFactory=i,this._subject=null,this._refCount=0,this._connection=null,(0,$t.A)(o)&&(this.lift=o.lift)}_subscribe(o){return this.getSubject().subscribe(o)}getSubject(){const o=this._subject;return(!o||o.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:o}=this;this._subject=this._connection=null,o?.unsubscribe()}connect(){let o=this._connection;if(!o){o=this._connection=new Pt.w0;const i=this.getSubject();o.add(this.source.subscribe((0,Gt.x)(i,void 0,()=>{this._teardown(),i.complete()},u=>{this._teardown(),i.error(u)},()=>this._teardown()))),o.closed&&(this._connection=null,o=Pt.w0.EMPTY)}return o}refCount(){return Ke()(this)}}var Bt=_(5698),kt=_(8675);function Xn(l,o,i,u,d){return(m,b)=>{let P=i,ne=o,De=0;m.subscribe((0,Gt.x)(b,ke=>{const Ve=De++;ne=P?l(ne,ke,Ve):(P=!0,ke),u&&b.next(ne)},d&&(()=>{P&&b.next(ne),b.complete()})))}}function ar(l,o){return(0,$t.e)(Xn(l,o,arguments.length>=2,!0))}var Kt=_(4351);function Ee(l){return l<=0?()=>ht.E:(0,$t.e)((o,i)=>{let u=[];o.subscribe((0,Gt.x)(i,d=>{u.push(d),l<u.length&&u.shift()},()=>{for(const d of u)i.next(d);i.complete()},void 0,()=>{u=null}))})}var Q=_(8068),ie=_(6590),Se=_(4671),Oe=_(590),dt=_(5577),Dt=_(9718);_(8189);class vt{constructor(o,i){this.id=o,this.url=i}}class At extends vt{constructor(o,i,u="imperative",d=null){super(o,i),this.type=0,this.navigationTrigger=u,this.restoredState=d}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class jt extends vt{constructor(o,i,u){super(o,i),this.urlAfterRedirects=u,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class ct extends vt{constructor(o,i,u){super(o,i),this.reason=u,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class pt extends vt{constructor(o,i,u){super(o,i),this.error=u,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Xe extends vt{constructor(o,i,u,d){super(o,i),this.urlAfterRedirects=u,this.state=d,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class nn extends vt{constructor(o,i,u,d){super(o,i),this.urlAfterRedirects=u,this.state=d,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Zt extends vt{constructor(o,i,u,d,m){super(o,i),this.urlAfterRedirects=u,this.state=d,this.shouldActivate=m,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Ht extends vt{constructor(o,i,u,d){super(o,i),this.urlAfterRedirects=u,this.state=d,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class _n extends vt{constructor(o,i,u,d){super(o,i),this.urlAfterRedirects=u,this.state=d,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Hn{constructor(o){this.route=o,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Qn{constructor(o){this.route=o,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Rn{constructor(o){this.snapshot=o,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class xn{constructor(o){this.snapshot=o,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Jn{constructor(o){this.snapshot=o,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Nn{constructor(o){this.snapshot=o,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}const Je="primary";class Xt{constructor(o){this.params=o||{}}has(o){return Object.prototype.hasOwnProperty.call(this.params,o)}get(o){if(this.has(o)){const i=this.params[o];return Array.isArray(i)?i[0]:i}return null}getAll(o){if(this.has(o)){const i=this.params[o];return Array.isArray(i)?i:[i]}return[]}get keys(){return Object.keys(this.params)}}function xt(l){return new Xt(l)}const ce="ngNavigationCancelingError";function le(l){const o=Error("NavigationCancelingError: "+l);return o[ce]=!0,o}function Y(l,o,i){const u=i.path.split("/");if(u.length>l.length||"full"===i.pathMatch&&(o.hasChildren()||u.length<l.length))return null;const d={};for(let m=0;m<u.length;m++){const b=u[m],P=l[m];if(b.startsWith(":"))d[b.substring(1)]=P;else if(b!==P.path)return null}return{consumed:l.slice(0,u.length),posParams:d}}function k(l,o){const i=l?Object.keys(l):void 0,u=o?Object.keys(o):void 0;if(!i||!u||i.length!=u.length)return!1;let d;for(let m=0;m<i.length;m++)if(d=i[m],!J(l[d],o[d]))return!1;return!0}function J(l,o){if(Array.isArray(l)&&Array.isArray(o)){if(l.length!==o.length)return!1;const i=[...l].sort(),u=[...o].sort();return i.every((d,m)=>u[m]===d)}return l===o}function Fe(l){return l.length>0?l[l.length-1]:null}function it(l,o){for(const i in l)l.hasOwnProperty(i)&&o(l[i],i)}function He(l){return(0,C.\u0275isObservable)(l)?l:(0,C.\u0275isPromise)(l)?(0,Ie.D)(Promise.resolve(l)):(0,be.of)(l)}const Un={exact:function $n(l,o,i){if(!En(l.segments,o.segments)||!pr(l.segments,o.segments,i)||l.numberOfChildren!==o.numberOfChildren)return!1;for(const u in o.children)if(!l.children[u]||!$n(l.children[u],o.children[u],i))return!1;return!0},subset:sn},er={exact:function rn(l,o){return k(l,o)},subset:function zn(l,o){return Object.keys(o).length<=Object.keys(l).length&&Object.keys(o).every(i=>J(l[i],o[i]))},ignored:()=>!0};function On(l,o,i){return Un[i.paths](l.root,o.root,i.matrixParams)&&er[i.queryParams](l.queryParams,o.queryParams)&&!("exact"===i.fragment&&l.fragment!==o.fragment)}function sn(l,o,i){return Cn(l,o,o.segments,i)}function Cn(l,o,i,u){if(l.segments.length>i.length){const d=l.segments.slice(0,i.length);return!(!En(d,i)||o.hasChildren()||!pr(d,i,u))}if(l.segments.length===i.length){if(!En(l.segments,i)||!pr(l.segments,i,u))return!1;for(const d in o.children)if(!l.children[d]||!sn(l.children[d],o.children[d],u))return!1;return!0}{const d=i.slice(0,l.segments.length),m=i.slice(l.segments.length);return!!(En(l.segments,d)&&pr(l.segments,d,u)&&l.children[Je])&&Cn(l.children[Je],o,m,u)}}function pr(l,o,i){return o.every((u,d)=>er[i](l[d].parameters,u.parameters))}class Mt{constructor(o,i,u){this.root=o,this.queryParams=i,this.fragment=u}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=xt(this.queryParams)),this._queryParamMap}toString(){return qt.serialize(this)}}class _t{constructor(o,i){this.segments=o,this.children=i,this.parent=null,it(i,(u,d)=>u.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return nr(this)}}class Pn{constructor(o,i){this.path=o,this.parameters=i}get parameterMap(){return this._parameterMap||(this._parameterMap=xt(this.parameters)),this._parameterMap}toString(){return ri(this)}}function En(l,o){return l.length===o.length&&l.every((i,u)=>i.path===o[u].path)}class In{parse(o){const i=new zi(o);return new Mt(i.parseRootSegment(),i.parseQueryParams(),i.parseFragment())}serialize(o){const i=`/${Qt(o.root,!0)}`,u=function _i(l){const o=Object.keys(l).map(i=>{const u=l[i];return Array.isArray(u)?u.map(d=>`${cn(i)}=${cn(d)}`).join("&"):`${cn(i)}=${cn(u)}`}).filter(i=>!!i);return o.length?`?${o.join("&")}`:""}(o.queryParams);return`${i}${u}${"string"==typeof o.fragment?`#${function wt(l){return encodeURI(l)}(o.fragment)}`:""}`}}const qt=new In;function nr(l){return l.segments.map(o=>ri(o)).join("/")}function Qt(l,o){if(!l.hasChildren())return nr(l);if(o){const i=l.children[Je]?Qt(l.children[Je],!1):"",u=[];return it(l.children,(d,m)=>{m!==Je&&u.push(`${m}:${Qt(d,!1)}`)}),u.length>0?`${i}(${u.join("//")})`:i}{const i=function lr(l,o){let i=[];return it(l.children,(u,d)=>{d===Je&&(i=i.concat(o(u,d)))}),it(l.children,(u,d)=>{d!==Je&&(i=i.concat(o(u,d)))}),i}(l,(u,d)=>d===Je?[Qt(l.children[Je],!1)]:[`${d}:${Qt(u,!1)}`]);return 1===Object.keys(l.children).length&&null!=l.children[Je]?`${nr(l)}/${i[0]}`:`${nr(l)}/(${i.join("//")})`}}function gt(l){return encodeURIComponent(l).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function cn(l){return gt(l).replace(/%3B/gi,";")}function on(l){return gt(l).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function zt(l){return decodeURIComponent(l)}function Hi(l){return zt(l.replace(/\+/g,"%20"))}function ri(l){return`${on(l.path)}${function ii(l){return Object.keys(l).map(o=>`;${on(o)}=${on(l[o])}`).join("")}(l.parameters)}`}const Ui=/^[^\/()?;=#]+/;function si(l){const o=l.match(Ui);return o?o[0]:""}const Vn=/^[^=?&#]+/,$i=/^[^&#]+/;class zi{constructor(o){this.url=o,this.remaining=o}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new _t([],{}):new _t([],this.parseChildren())}parseQueryParams(){const o={};if(this.consumeOptional("?"))do{this.parseQueryParam(o)}while(this.consumeOptional("&"));return o}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const o=[];for(this.peekStartsWith("(")||o.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),o.push(this.parseSegment());let i={};this.peekStartsWith("/(")&&(this.capture("/"),i=this.parseParens(!0));let u={};return this.peekStartsWith("(")&&(u=this.parseParens(!1)),(o.length>0||Object.keys(i).length>0)&&(u[Je]=new _t(o,i)),u}parseSegment(){const o=si(this.remaining);if(""===o&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(o),new Pn(zt(o),this.parseMatrixParams())}parseMatrixParams(){const o={};for(;this.consumeOptional(";");)this.parseParam(o);return o}parseParam(o){const i=si(this.remaining);if(!i)return;this.capture(i);let u="";if(this.consumeOptional("=")){const d=si(this.remaining);d&&(u=d,this.capture(u))}o[zt(i)]=zt(u)}parseQueryParam(o){const i=function Lo(l){const o=l.match(Vn);return o?o[0]:""}(this.remaining);if(!i)return;this.capture(i);let u="";if(this.consumeOptional("=")){const b=function Is(l){const o=l.match($i);return o?o[0]:""}(this.remaining);b&&(u=b,this.capture(u))}const d=Hi(i),m=Hi(u);if(o.hasOwnProperty(d)){let b=o[d];Array.isArray(b)||(b=[b],o[d]=b),b.push(m)}else o[d]=m}parseParens(o){const i={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const u=si(this.remaining),d=this.remaining[u.length];if("/"!==d&&")"!==d&&";"!==d)throw new Error(`Cannot parse url '${this.url}'`);let m;u.indexOf(":")>-1?(m=u.slice(0,u.indexOf(":")),this.capture(m),this.capture(":")):o&&(m=Je);const b=this.parseChildren();i[m]=1===Object.keys(b).length?b[Je]:new _t([],b),this.consumeOptional("//")}return i}peekStartsWith(o){return this.remaining.startsWith(o)}consumeOptional(o){return!!this.peekStartsWith(o)&&(this.remaining=this.remaining.substring(o.length),!0)}capture(o){if(!this.consumeOptional(o))throw new Error(`Expected "${o}".`)}}class wi{constructor(o){this._root=o}get root(){return this._root.value}parent(o){const i=this.pathFromRoot(o);return i.length>1?i[i.length-2]:null}children(o){const i=Br(o,this._root);return i?i.children.map(u=>u.value):[]}firstChild(o){const i=Br(o,this._root);return i&&i.children.length>0?i.children[0].value:null}siblings(o){const i=kr(o,this._root);return i.length<2?[]:i[i.length-2].children.map(d=>d.value).filter(d=>d!==o)}pathFromRoot(o){return kr(o,this._root).map(i=>i.value)}}function Br(l,o){if(l===o.value)return o;for(const i of o.children){const u=Br(l,i);if(u)return u}return null}function kr(l,o){if(l===o.value)return[o];for(const i of o.children){const u=kr(l,i);if(u.length)return u.unshift(o),u}return[]}class rr{constructor(o,i){this.value=o,this.children=i}toString(){return`TreeNode(${this.value})`}}function gr(l){const o={};return l&&l.children.forEach(i=>o[i.value.outlet]=i),o}class Gi extends wi{constructor(o,i){super(o),this.snapshot=i,ur(this,o)}toString(){return this.snapshot.toString()}}function jr(l,o){const i=function Di(l,o){const b=new Hr([],{},{},"",{},Je,o,null,l.root,-1,{});return new ir("",new rr(b,[]))}(l,o),u=new F.X([new Pn("",{})]),d=new F.X({}),m=new F.X({}),b=new F.X({}),P=new F.X(""),ne=new bn(u,d,b,P,m,Je,o,i.root);return ne.snapshot=i.root,new Gi(new rr(ne,[]),i)}class bn{constructor(o,i,u,d,m,b,P,ne){this.url=o,this.params=i,this.queryParams=u,this.fragment=d,this.data=m,this.outlet=b,this.component=P,this._futureSnapshot=ne}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,Ae.U)(o=>xt(o)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Ae.U)(o=>xt(o)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ki(l,o="emptyOnly"){const i=l.pathFromRoot;let u=0;if("always"!==o)for(u=i.length-1;u>=1;){const d=i[u],m=i[u-1];if(d.routeConfig&&""===d.routeConfig.path)u--;else{if(m.component)break;u--}}return function Ci(l){return l.reduce((o,i)=>({params:{...o.params,...i.params},data:{...o.data,...i.data},resolve:{...i.data,...o.resolve,...i.routeConfig?.data,...i._resolvedData}}),{params:{},data:{},resolve:{}})}(i.slice(u))}class Hr{constructor(o,i,u,d,m,b,P,ne,De,ke,Ve,Ct){this.url=o,this.params=i,this.queryParams=u,this.fragment=d,this.data=m,this.outlet=b,this.component=P,this.routeConfig=ne,this._urlSegment=De,this._lastPathIndex=ke,this._correctedLastPathIndex=Ct??ke,this._resolve=Ve}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=xt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=xt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(u=>u.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ir extends wi{constructor(o,i){super(i),this.url=o,ur(this,i)}toString(){return Ur(this._root)}}function ur(l,o){o.value._routerState=l,o.children.forEach(i=>ur(l,i))}function Ur(l){const o=l.children.length>0?` { ${l.children.map(Ur).join(", ")} } `:"";return`${l.value}${o}`}function Cr(l){if(l.snapshot){const o=l.snapshot,i=l._futureSnapshot;l.snapshot=i,k(o.queryParams,i.queryParams)||l.queryParams.next(i.queryParams),o.fragment!==i.fragment&&l.fragment.next(i.fragment),k(o.params,i.params)||l.params.next(i.params),function U(l,o){if(l.length!==o.length)return!1;for(let i=0;i<l.length;++i)if(!k(l[i],o[i]))return!1;return!0}(o.url,i.url)||l.url.next(i.url),k(o.data,i.data)||l.data.next(i.data)}else l.snapshot=l._futureSnapshot,l.data.next(l._futureSnapshot.data)}function oi(l,o){const i=k(l.params,o.params)&&function tr(l,o){return En(l,o)&&l.every((i,u)=>k(i.parameters,o[u].parameters))}(l.url,o.url);return i&&!(!l.parent!=!o.parent)&&(!l.parent||oi(l.parent,o.parent))}function Gn(l,o,i){if(i&&l.shouldReuseRoute(o.value,i.value.snapshot)){const u=i.value;u._futureSnapshot=o.value;const d=function Ei(l,o,i){return o.children.map(u=>{for(const d of i.children)if(l.shouldReuseRoute(u.value,d.value.snapshot))return Gn(l,u,d);return Gn(l,u)})}(l,o,i);return new rr(u,d)}{if(l.shouldAttach(o.value)){const m=l.retrieve(o.value);if(null!==m){const b=m.route;return b.value._futureSnapshot=o.value,b.children=o.children.map(P=>Gn(l,P)),b}}const u=function Wi(l){return new bn(new F.X(l.url),new F.X(l.params),new F.X(l.queryParams),new F.X(l.fragment),new F.X(l.data),l.outlet,l.component,l)}(o.value),d=o.children.map(m=>Gn(l,m));return new rr(u,d)}}function $r(l){return"object"==typeof l&&null!=l&&!l.outlets&&!l.segmentPath}function en(l){return"object"==typeof l&&null!=l&&l.outlets}function mr(l,o,i,u,d){let m={};if(u&&it(u,(P,ne)=>{m[ne]=Array.isArray(P)?P.map(De=>`${De}`):`${P}`}),l===o)return new Mt(i,m,d);const b=li(l,o,i);return new Mt(b,m,d)}function li(l,o,i){const u={};return it(l.children,(d,m)=>{u[m]=d===o?i:li(d,o,i)}),new _t(l.segments,u)}class Mr{constructor(o,i,u){if(this.isAbsolute=o,this.numberOfDoubleDots=i,this.commands=u,o&&u.length>0&&$r(u[0]))throw new Error("Root segment cannot have matrix parameters");const d=u.find(en);if(d&&d!==Fe(u))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Mi{constructor(o,i,u){this.segmentGroup=o,this.processChildren=i,this.index=u}}function Ss(l,o,i){if(l||(l=new _t([],{})),0===l.segments.length&&l.hasChildren())return Rt(l,o,i);const u=function Ir(l,o,i){let u=0,d=o;const m={match:!1,pathIndex:0,commandIndex:0};for(;d<l.segments.length;){if(u>=i.length)return m;const b=l.segments[d],P=i[u];if(en(P))break;const ne=`${P}`,De=u<i.length-1?i[u+1]:null;if(d>0&&void 0===ne)break;if(ne&&De&&"object"==typeof De&&void 0===De.outlets){if(!O(ne,De,b))return m;u+=2}else{if(!O(ne,{},b))return m;u++}d++}return{match:!0,pathIndex:d,commandIndex:u}}(l,o,i),d=i.slice(u.commandIndex);if(u.match&&u.pathIndex<l.segments.length){const m=new _t(l.segments.slice(0,u.pathIndex),{});return m.children[Je]=new _t(l.segments.slice(u.pathIndex),l.children),Rt(m,0,d)}return u.match&&0===d.length?new _t(l.segments,{}):u.match&&!l.hasChildren()?zr(l,o,i):u.match?Rt(l,0,d):zr(l,o,i)}function Rt(l,o,i){if(0===i.length)return new _t(l.segments,{});{const u=function ci(l){return en(l[0])?l[0].outlets:{[Je]:l}}(i),d={};return it(u,(m,b)=>{"string"==typeof m&&(m=[m]),null!==m&&(d[b]=Ss(l.children[b],o,m))}),it(l.children,(m,b)=>{void 0===u[b]&&(d[b]=m)}),new _t(l.segments,d)}}function zr(l,o,i){const u=l.segments.slice(0,o);let d=0;for(;d<i.length;){const m=i[d];if(en(m)){const ne=Wt(m.outlets);return new _t(u,ne)}if(0===d&&$r(i[0])){u.push(new Pn(l.segments[o].path,y(i[0]))),d++;continue}const b=en(m)?m.outlets[Je]:`${m}`,P=d<i.length-1?i[d+1]:null;b&&P&&$r(P)?(u.push(new Pn(b,y(P))),d+=2):(u.push(new Pn(b,{})),d++)}return new _t(u,{})}function Wt(l){const o={};return it(l,(i,u)=>{"string"==typeof i&&(i=[i]),null!==i&&(o[u]=zr(new _t([],{}),0,i))}),o}function y(l){const o={};return it(l,(i,u)=>o[u]=`${i}`),o}function O(l,o,i){return l==i.path&&k(o,i.parameters)}class w{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new N,this.attachRef=null}}class N{constructor(){this.contexts=new Map}onChildOutletCreated(o,i){const u=this.getOrCreateContext(o);u.outlet=i,this.contexts.set(o,u)}onChildOutletDestroyed(o){const i=this.getContext(o);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const o=this.contexts;return this.contexts=new Map,o}onOutletReAttached(o){this.contexts=o}getOrCreateContext(o){let i=this.getContext(o);return i||(i=new w,this.contexts.set(o,i)),i}getContext(o){return this.contexts.get(o)||null}}let te=(()=>{class l{constructor(i,u,d,m,b){this.parentContexts=i,this.location=u,this.changeDetector=m,this.environmentInjector=b,this.activated=null,this._activatedRoute=null,this.activateEvents=new C.EventEmitter,this.deactivateEvents=new C.EventEmitter,this.attachEvents=new C.EventEmitter,this.detachEvents=new C.EventEmitter,this.name=d||Je,i.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const i=this.parentContexts.getContext(this.name);i&&i.route&&(i.attachRef?this.attach(i.attachRef,i.route):this.activateWith(i.route,i.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const i=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(i.instance),i}attach(i,u){this.activated=i,this._activatedRoute=u,this.location.insert(i.hostView),this.attachEvents.emit(i.instance)}deactivate(){if(this.activated){const i=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(i)}}activateWith(i,u){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=i;const d=this.location,b=i._futureSnapshot.component,P=this.parentContexts.getOrCreateContext(this.name).children,ne=new we(i,P,d.injector);if(u&&function xe(l){return!!l.resolveComponentFactory}(u)){const De=u.resolveComponentFactory(b);this.activated=d.createComponent(De,d.length,ne)}else this.activated=d.createComponent(b,{index:d.length,injector:ne,environmentInjector:u??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return l.\u0275fac=function(i){return new(i||l)(C.\u0275\u0275directiveInject(N),C.\u0275\u0275directiveInject(C.ViewContainerRef),C.\u0275\u0275injectAttribute("name"),C.\u0275\u0275directiveInject(C.ChangeDetectorRef),C.\u0275\u0275directiveInject(C.EnvironmentInjector))},l.\u0275dir=C.\u0275\u0275defineDirective({type:l,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),l})();class we{constructor(o,i,u){this.route=o,this.childContexts=i,this.parent=u}get(o,i){return o===bn?this.route:o===N?this.childContexts:this.parent.get(o,i)}}let $e=(()=>{class l{}return l.\u0275fac=function(i){return new(i||l)},l.\u0275cmp=C.\u0275\u0275defineComponent({type:l,selectors:[["ng-component"]],decls:1,vars:0,template:function(i,u){1&i&&C.\u0275\u0275element(0,"router-outlet")},dependencies:[te],encapsulation:2}),l})();function Ot(l,o){return l.providers&&!l._injector&&(l._injector=(0,C.createEnvironmentInjector)(l.providers,o,`Route: ${l.path}`)),l._injector??o}function Sr(l){const o=l.children&&l.children.map(Sr),i=o?{...l,children:o}:{...l};return!i.component&&!i.loadComponent&&(o||i.loadChildren)&&i.outlet&&i.outlet!==Je&&(i.component=$e),i}function ln(l){return l.outlet||Je}function Ii(l,o){const i=l.filter(u=>ln(u)===o);return i.push(...l.filter(u=>ln(u)!==o)),i}function Gr(l){if(!l)return null;if(l.routeConfig?._injector)return l.routeConfig._injector;for(let o=l.parent;o;o=o.parent){const i=o.routeConfig;if(i?._loadedInjector)return i._loadedInjector;if(i?._injector)return i._injector}return null}class D{constructor(o,i,u,d){this.routeReuseStrategy=o,this.futureState=i,this.currState=u,this.forwardEvent=d}activate(o){const i=this.futureState._root,u=this.currState?this.currState._root:null;this.deactivateChildRoutes(i,u,o),Cr(this.futureState.root),this.activateChildRoutes(i,u,o)}deactivateChildRoutes(o,i,u){const d=gr(i);o.children.forEach(m=>{const b=m.value.outlet;this.deactivateRoutes(m,d[b],u),delete d[b]}),it(d,(m,b)=>{this.deactivateRouteAndItsChildren(m,u)})}deactivateRoutes(o,i,u){const d=o.value,m=i?i.value:null;if(d===m)if(d.component){const b=u.getContext(d.outlet);b&&this.deactivateChildRoutes(o,i,b.children)}else this.deactivateChildRoutes(o,i,u);else m&&this.deactivateRouteAndItsChildren(i,u)}deactivateRouteAndItsChildren(o,i){o.value.component&&this.routeReuseStrategy.shouldDetach(o.value.snapshot)?this.detachAndStoreRouteSubtree(o,i):this.deactivateRouteAndOutlet(o,i)}detachAndStoreRouteSubtree(o,i){const u=i.getContext(o.value.outlet),d=u&&o.value.component?u.children:i,m=gr(o);for(const b of Object.keys(m))this.deactivateRouteAndItsChildren(m[b],d);if(u&&u.outlet){const b=u.outlet.detach(),P=u.children.onOutletDeactivated();this.routeReuseStrategy.store(o.value.snapshot,{componentRef:b,route:o,contexts:P})}}deactivateRouteAndOutlet(o,i){const u=i.getContext(o.value.outlet),d=u&&o.value.component?u.children:i,m=gr(o);for(const b of Object.keys(m))this.deactivateRouteAndItsChildren(m[b],d);u&&u.outlet&&(u.outlet.deactivate(),u.children.onOutletDeactivated(),u.attachRef=null,u.resolver=null,u.route=null)}activateChildRoutes(o,i,u){const d=gr(i);o.children.forEach(m=>{this.activateRoutes(m,d[m.value.outlet],u),this.forwardEvent(new Nn(m.value.snapshot))}),o.children.length&&this.forwardEvent(new xn(o.value.snapshot))}activateRoutes(o,i,u){const d=o.value,m=i?i.value:null;if(Cr(d),d===m)if(d.component){const b=u.getOrCreateContext(d.outlet);this.activateChildRoutes(o,i,b.children)}else this.activateChildRoutes(o,i,u);else if(d.component){const b=u.getOrCreateContext(d.outlet);if(this.routeReuseStrategy.shouldAttach(d.snapshot)){const P=this.routeReuseStrategy.retrieve(d.snapshot);this.routeReuseStrategy.store(d.snapshot,null),b.children.onOutletReAttached(P.contexts),b.attachRef=P.componentRef,b.route=P.route.value,b.outlet&&b.outlet.attach(P.componentRef,P.route.value),Cr(P.route.value),this.activateChildRoutes(o,null,b.children)}else{const P=Gr(d.snapshot),ne=P?.get(C.ComponentFactoryResolver)??null;b.attachRef=null,b.route=d,b.resolver=ne,b.injector=P,b.outlet&&b.outlet.activateWith(d,b.injector),this.activateChildRoutes(o,null,b.children)}}else this.activateChildRoutes(o,null,u)}}function p(l){return"function"==typeof l}function R(l){return l instanceof Mt}const pn=Symbol("INITIAL_VALUE");function dr(){return(0,_e.w)(l=>(0,st.a)(l.map(o=>o.pipe((0,Bt.q)(1),(0,kt.O)(pn)))).pipe(ar((o,i)=>{let u=!1;return i.reduce((d,m,b)=>d!==pn?d:(m===pn&&(u=!0),u||!1!==m&&b!==i.length-1&&!R(m)?d:m),o)},pn),(0,Me.h)(o=>o!==pn),(0,Ae.U)(o=>R(o)?o:!0===o),(0,Bt.q)(1)))}const Ts={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Fo(l,o,i){if(""===o.path)return"full"===o.pathMatch&&(l.hasChildren()||i.length>0)?{...Ts}:{matched:!0,consumedSegments:[],remainingSegments:i,parameters:{},positionalParamSegments:{}};const d=(o.matcher||Y)(i,l,o);if(!d)return{...Ts};const m={};it(d.posParams,(P,ne)=>{m[ne]=P.path});const b=d.consumed.length>0?{...m,...d.consumed[d.consumed.length-1].parameters}:m;return{matched:!0,consumedSegments:d.consumed,remainingSegments:i.slice(d.consumed.length),parameters:b,positionalParamSegments:d.posParams??{}}}function As(l,o,i,u,d="corrected"){if(i.length>0&&function Ln(l,o,i){return i.some(u=>Yi(l,o,u)&&ln(u)!==Je)}(l,i,u)){const b=new _t(o,function Rs(l,o,i,u){const d={};d[Je]=u,u._sourceSegment=l,u._segmentIndexShift=o.length;for(const m of i)if(""===m.path&&ln(m)!==Je){const b=new _t([],{});b._sourceSegment=l,b._segmentIndexShift=o.length,d[ln(m)]=b}return d}(l,o,u,new _t(i,l.children)));return b._sourceSegment=l,b._segmentIndexShift=o.length,{segmentGroup:b,slicedSegments:[]}}if(0===i.length&&function Tr(l,o,i){return i.some(u=>Yi(l,o,u))}(l,i,u)){const b=new _t(l.segments,function W0(l,o,i,u,d,m){const b={};for(const P of u)if(Yi(l,i,P)&&!d[ln(P)]){const ne=new _t([],{});ne._sourceSegment=l,ne._segmentIndexShift="legacy"===m?l.segments.length:o.length,b[ln(P)]=ne}return{...d,...b}}(l,o,i,u,l.children,d));return b._sourceSegment=l,b._segmentIndexShift=o.length,{segmentGroup:b,slicedSegments:i}}const m=new _t(l.segments,l.children);return m._sourceSegment=l,m._segmentIndexShift=o.length,{segmentGroup:m,slicedSegments:i}}function Yi(l,o,i){return(!(l.hasChildren()||o.length>0)||"full"!==i.pathMatch)&&""===i.path}function di(l,o,i,u){return!!(ln(l)===u||u!==Je&&Yi(o,i,l))&&("**"===l.path||Fo(o,l,i).matched)}function vr(l,o,i){return 0===o.length&&!l.children[i]}class xs{constructor(o){this.segmentGroup=o||null}}class No{constructor(o){this.urlTree=o}}function Zi(l){return(0,x._)(new xs(l))}function Aa(l){return(0,x._)(new No(l))}class ko{constructor(o,i,u,d,m){this.injector=o,this.configLoader=i,this.urlSerializer=u,this.urlTree=d,this.config=m,this.allowRedirects=!0}apply(){const o=As(this.urlTree.root,[],[],this.config).segmentGroup,i=new _t(o.segments,o.children);return this.expandSegmentGroup(this.injector,this.config,i,Je).pipe((0,Ae.U)(m=>this.createUrlTree(Os(m),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,H.K)(m=>{if(m instanceof No)return this.allowRedirects=!1,this.match(m.urlTree);throw m instanceof xs?this.noMatchError(m):m}))}match(o){return this.expandSegmentGroup(this.injector,this.config,o.root,Je).pipe((0,Ae.U)(d=>this.createUrlTree(Os(d),o.queryParams,o.fragment))).pipe((0,H.K)(d=>{throw d instanceof xs?this.noMatchError(d):d}))}noMatchError(o){return new Error(`Cannot match any routes. URL Segment: '${o.segmentGroup}'`)}createUrlTree(o,i,u){const d=o.segments.length>0?new _t([],{[Je]:o}):o;return new Mt(d,i,u)}expandSegmentGroup(o,i,u,d){return 0===u.segments.length&&u.hasChildren()?this.expandChildren(o,i,u).pipe((0,Ae.U)(m=>new _t([],m))):this.expandSegment(o,u,i,u.segments,d,!0)}expandChildren(o,i,u){const d=[];for(const m of Object.keys(u.children))"primary"===m?d.unshift(m):d.push(m);return(0,Ie.D)(d).pipe((0,Kt.b)(m=>{const b=u.children[m],P=Ii(i,m);return this.expandSegmentGroup(o,P,b,m).pipe((0,Ae.U)(ne=>({segment:ne,outlet:m})))}),ar((m,b)=>(m[b.outlet]=b.segment,m),{}),function ue(l,o){const i=arguments.length>=2;return u=>u.pipe(l?(0,Me.h)((d,m)=>l(d,m,u)):Se.y,Ee(1),i?(0,ie.d)(o):(0,Q.T)(()=>new Ge.K))}())}expandSegment(o,i,u,d,m,b){return(0,Ie.D)(u).pipe((0,Kt.b)(P=>this.expandSegmentAgainstRoute(o,i,u,P,d,m,b).pipe((0,H.K)(De=>{if(De instanceof xs)return(0,be.of)(null);throw De}))),(0,Oe.P)(P=>!!P),(0,H.K)((P,ne)=>{if(P instanceof Ge.K||"EmptyError"===P.name)return vr(i,d,m)?(0,be.of)(new _t([],{})):Zi(i);throw P}))}expandSegmentAgainstRoute(o,i,u,d,m,b,P){return di(d,i,m,b)?void 0===d.redirectTo?this.matchSegmentAgainstRoute(o,i,d,m,b):P&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(o,i,u,d,m,b):Zi(i):Zi(i)}expandSegmentAgainstRouteUsingRedirect(o,i,u,d,m,b){return"**"===d.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(o,u,d,b):this.expandRegularSegmentAgainstRouteUsingRedirect(o,i,u,d,m,b)}expandWildCardWithParamsAgainstRouteUsingRedirect(o,i,u,d){const m=this.applyRedirectCommands([],u.redirectTo,{});return u.redirectTo.startsWith("/")?Aa(m):this.lineralizeSegments(u,m).pipe((0,dt.z)(b=>{const P=new _t(b,{});return this.expandSegment(o,P,i,b,d,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(o,i,u,d,m,b){const{matched:P,consumedSegments:ne,remainingSegments:De,positionalParamSegments:ke}=Fo(i,d,m);if(!P)return Zi(i);const Ve=this.applyRedirectCommands(ne,d.redirectTo,ke);return d.redirectTo.startsWith("/")?Aa(Ve):this.lineralizeSegments(d,Ve).pipe((0,dt.z)(Ct=>this.expandSegment(o,i,u,Ct.concat(De),b,!1)))}matchSegmentAgainstRoute(o,i,u,d,m){if("**"===u.path)return o=Ot(u,o),u.loadChildren?(u._loadedRoutes?(0,be.of)({routes:u._loadedRoutes,injector:u._loadedInjector}):this.configLoader.loadChildren(o,u)).pipe((0,Ae.U)(Ve=>(u._loadedRoutes=Ve.routes,u._loadedInjector=Ve.injector,new _t(d,{})))):(0,be.of)(new _t(d,{}));const{matched:b,consumedSegments:P,remainingSegments:ne}=Fo(i,u,d);return b?(o=Ot(u,o),this.getChildConfig(o,u,d).pipe((0,dt.z)(ke=>{const Ve=ke.injector??o,Ct=ke.routes,{segmentGroup:Tt,slicedSegments:Vt}=As(i,P,ne,Ct),oo=new _t(Tt.segments,Tt.children);if(0===Vt.length&&oo.hasChildren())return this.expandChildren(Ve,Ct,oo).pipe((0,Ae.U)(Gu=>new _t(P,Gu)));if(0===Ct.length&&0===Vt.length)return(0,be.of)(new _t(P,{}));const ml=ln(u)===m;return this.expandSegment(Ve,oo,Ct,Vt,ml?Je:m,!0).pipe((0,Ae.U)(ps=>new _t(P.concat(ps.segments),ps.children)))}))):Zi(i)}getChildConfig(o,i,u){return i.children?(0,be.of)({routes:i.children,injector:o}):i.loadChildren?void 0!==i._loadedRoutes?(0,be.of)({routes:i._loadedRoutes,injector:i._loadedInjector}):this.runCanLoadGuards(o,i,u).pipe((0,dt.z)(d=>d?this.configLoader.loadChildren(o,i).pipe((0,ee.b)(m=>{i._loadedRoutes=m.routes,i._loadedInjector=m.injector})):function Bo(l){return(0,x._)(le(`Cannot load children because the guard of the route "path: '${l.path}'" returned false`))}(i))):(0,be.of)({routes:[],injector:o})}runCanLoadGuards(o,i,u){const d=i.canLoad;if(!d||0===d.length)return(0,be.of)(!0);const m=d.map(b=>{const P=o.get(b);let ne;if(function ve(l){return l&&p(l.canLoad)}(P))ne=P.canLoad(i,u);else{if(!p(P))throw new Error("Invalid CanLoad guard");ne=P(i,u)}return He(ne)});return(0,be.of)(m).pipe(dr(),(0,ee.b)(b=>{if(!R(b))return;const P=le(`Redirecting to "${this.urlSerializer.serialize(b)}"`);throw P.url=b,P}),(0,Ae.U)(b=>!0===b))}lineralizeSegments(o,i){let u=[],d=i.root;for(;;){if(u=u.concat(d.segments),0===d.numberOfChildren)return(0,be.of)(u);if(d.numberOfChildren>1||!d.children[Je])return(0,x._)(new Error(`Only absolute redirects can have named outlets. redirectTo: '${o.redirectTo}'`));d=d.children[Je]}}applyRedirectCommands(o,i,u){return this.applyRedirectCreatreUrlTree(i,this.urlSerializer.parse(i),o,u)}applyRedirectCreatreUrlTree(o,i,u,d){const m=this.createSegmentGroup(o,i.root,u,d);return new Mt(m,this.createQueryParams(i.queryParams,this.urlTree.queryParams),i.fragment)}createQueryParams(o,i){const u={};return it(o,(d,m)=>{if("string"==typeof d&&d.startsWith(":")){const P=d.substring(1);u[m]=i[P]}else u[m]=d}),u}createSegmentGroup(o,i,u,d){const m=this.createSegments(o,i.segments,u,d);let b={};return it(i.children,(P,ne)=>{b[ne]=this.createSegmentGroup(o,P,u,d)}),new _t(m,b)}createSegments(o,i,u,d){return i.map(m=>m.path.startsWith(":")?this.findPosParam(o,m,d):this.findOrReturn(m,u))}findPosParam(o,i,u){const d=u[i.path.substring(1)];if(!d)throw new Error(`Cannot redirect to '${o}'. Cannot find '${i.path}'.`);return d}findOrReturn(o,i){let u=0;for(const d of i){if(d.path===o.path)return i.splice(u),d;u++}return o}}function Os(l){const o={};for(const u of Object.keys(l.children)){const m=Os(l.children[u]);(m.segments.length>0||m.hasChildren())&&(o[u]=m)}return function iu(l){if(1===l.numberOfChildren&&l.children[Je]){const o=l.children[Je];return new _t(l.segments.concat(o.segments),o.children)}return l}(new _t(l.segments,o))}class jo{constructor(o){this.path=o,this.route=this.path[this.path.length-1]}}class Xi{constructor(o,i){this.component=o,this.route=i}}function xa(l,o,i){const u=l._root;return Qi(u,o?o._root:null,i,[u.value])}function fi(l,o,i){return(Gr(o)??i).get(l)}function Qi(l,o,i,u,d={canDeactivateChecks:[],canActivateChecks:[]}){const m=gr(o);return l.children.forEach(b=>{(function su(l,o,i,u,d={canDeactivateChecks:[],canActivateChecks:[]}){const m=l.value,b=o?o.value:null,P=i?i.getContext(l.value.outlet):null;if(b&&m.routeConfig===b.routeConfig){const ne=function Fn(l,o,i){if("function"==typeof i)return i(l,o);switch(i){case"pathParamsChange":return!En(l.url,o.url);case"pathParamsOrQueryParamsChange":return!En(l.url,o.url)||!k(l.queryParams,o.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!oi(l,o)||!k(l.queryParams,o.queryParams);default:return!oi(l,o)}}(b,m,m.routeConfig.runGuardsAndResolvers);ne?d.canActivateChecks.push(new jo(u)):(m.data=b.data,m._resolvedData=b._resolvedData),Qi(l,o,m.component?P?P.children:null:i,u,d),ne&&P&&P.outlet&&P.outlet.isActivated&&d.canDeactivateChecks.push(new Xi(P.outlet.component,b))}else b&&or(o,P,d),d.canActivateChecks.push(new jo(u)),Qi(l,null,m.component?P?P.children:null:i,u,d)})(b,m[b.value.outlet],i,u.concat([b.value]),d),delete m[b.value.outlet]}),it(m,(b,P)=>or(b,i.getContext(P),d)),d}function or(l,o,i){const u=gr(l),d=l.value;it(u,(m,b)=>{or(m,d.component?o?o.children.getContext(b):null:o,i)}),i.canDeactivateChecks.push(new Xi(d.component&&o&&o.outlet&&o.outlet.isActivated?o.outlet.component:null,d))}class Fs{}function Ns(l){return new ot.y(o=>o.error(l))}class uu{constructor(o,i,u,d,m,b){this.rootComponentType=o,this.config=i,this.urlTree=u,this.url=d,this.paramsInheritanceStrategy=m,this.relativeLinkResolution=b}recognize(){const o=As(this.urlTree.root,[],[],this.config.filter(b=>void 0===b.redirectTo),this.relativeLinkResolution).segmentGroup,i=this.processSegmentGroup(this.config,o,Je);if(null===i)return null;const u=new Hr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Je,this.rootComponentType,null,this.urlTree.root,-1,{}),d=new rr(u,i),m=new ir(this.url,d);return this.inheritParamsAndData(m._root),m}inheritParamsAndData(o){const i=o.value,u=Ki(i,this.paramsInheritanceStrategy);i.params=Object.freeze(u.params),i.data=Object.freeze(u.data),o.children.forEach(d=>this.inheritParamsAndData(d))}processSegmentGroup(o,i,u){return 0===i.segments.length&&i.hasChildren()?this.processChildren(o,i):this.processSegment(o,i,i.segments,u)}processChildren(o,i){const u=[];for(const m of Object.keys(i.children)){const b=i.children[m],P=Ii(o,m),ne=this.processSegmentGroup(P,b,m);if(null===ne)return null;u.push(...ne)}const d=Va(u);return function Kr(l){l.sort((o,i)=>o.value.outlet===Je?-1:i.value.outlet===Je?1:o.value.outlet.localeCompare(i.value.outlet))}(d),d}processSegment(o,i,u,d){for(const m of o){const b=this.processSegmentAgainstRoute(m,i,u,d);if(null!==b)return b}return vr(i,u,d)?[]:null}processSegmentAgainstRoute(o,i,u,d){if(o.redirectTo||!di(o,i,u,d))return null;let m,b=[],P=[];if("**"===o.path){const Tt=u.length>0?Fe(u).parameters:{},Vt=Ba(i)+u.length;m=new Hr(u,Tt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,du(o),ln(o),o.component??o._loadedComponent??null,o,Bs(i),Vt,fu(o),Vt)}else{const Tt=Fo(i,o,u);if(!Tt.matched)return null;b=Tt.consumedSegments,P=Tt.remainingSegments;const Vt=Ba(i)+b.length;m=new Hr(b,Tt.parameters,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,du(o),ln(o),o.component??o._loadedComponent??null,o,Bs(i),Vt,fu(o),Vt)}const ne=function qi(l){return l.children?l.children:l.loadChildren?l._loadedRoutes:[]}(o),{segmentGroup:De,slicedSegments:ke}=As(i,b,P,ne.filter(Tt=>void 0===Tt.redirectTo),this.relativeLinkResolution);if(0===ke.length&&De.hasChildren()){const Tt=this.processChildren(ne,De);return null===Tt?null:[new rr(m,Tt)]}if(0===ne.length&&0===ke.length)return[new rr(m,[])];const Ve=ln(o)===d,Ct=this.processSegment(ne,De,ke,Ve?Je:d);return null===Ct?null:[new rr(m,Ct)]}}function cu(l){const o=l.value.routeConfig;return o&&""===o.path&&void 0===o.redirectTo}function Va(l){const o=[],i=new Set;for(const u of l){if(!cu(u)){o.push(u);continue}const d=o.find(m=>u.value.routeConfig===m.value.routeConfig);void 0!==d?(d.children.push(...u.children),i.add(d)):o.push(u)}for(const u of i){const d=Va(u.children);o.push(new rr(u.value,d))}return o.filter(u=>!i.has(u))}function Bs(l){let o=l;for(;o._sourceSegment;)o=o._sourceSegment;return o}function Ba(l){let o=l,i=o._segmentIndexShift??0;for(;o._sourceSegment;)o=o._sourceSegment,i+=o._segmentIndexShift??0;return i-1}function du(l){return l.data||{}}function fu(l){return l.resolve||{}}const js=Symbol("RouteTitle");function Ua(l){return"string"==typeof l.title||null===l.title}function Wr(l){return(0,_e.w)(o=>{const i=l(o);return i?(0,Ie.D)(i).pipe((0,Ae.U)(()=>o)):(0,be.of)(o)})}class Y0 extends class Us{shouldDetach(o){return!1}store(o,i){}shouldAttach(o){return!1}retrieve(o){return null}shouldReuseRoute(o,i){return o.routeConfig===i.routeConfig}}{}const $s=new C.InjectionToken("ROUTES");let zo=(()=>{class l{constructor(i,u){this.injector=i,this.compiler=u,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(i){if(this.componentLoaders.get(i))return this.componentLoaders.get(i);if(i._loadedComponent)return(0,be.of)(i._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(i);const u=He(i.loadComponent()).pipe((0,ee.b)(m=>{this.onLoadEndListener&&this.onLoadEndListener(i),i._loadedComponent=m}),(0,se.x)(()=>{this.componentLoaders.delete(i)})),d=new An(u,()=>new B.x).pipe(Ke());return this.componentLoaders.set(i,d),d}loadChildren(i,u){if(this.childrenLoaders.get(u))return this.childrenLoaders.get(u);if(u._loadedRoutes)return(0,be.of)({routes:u._loadedRoutes,injector:u._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(u);const m=this.loadModuleFactoryOrRoutes(u.loadChildren).pipe((0,Ae.U)(P=>{this.onLoadEndListener&&this.onLoadEndListener(u);let ne,De,ke=!1;Array.isArray(P)?De=P:(ne=P.create(i).injector,De=function ye(l){return Array.prototype.concat.apply([],l)}(ne.get($s,[],C.InjectFlags.Self|C.InjectFlags.Optional)));return{routes:De.map(Sr),injector:ne}}),(0,se.x)(()=>{this.childrenLoaders.delete(u)})),b=new An(m,()=>new B.x).pipe(Ke());return this.childrenLoaders.set(u,b),b}loadModuleFactoryOrRoutes(i){return He(i()).pipe((0,dt.z)(u=>u instanceof C.NgModuleFactory||Array.isArray(u)?(0,be.of)(u):(0,Ie.D)(this.compiler.compileModuleAsync(u))))}}return l.\u0275fac=function(i){return new(i||l)(C.\u0275\u0275inject(C.Injector),C.\u0275\u0275inject(C.Compiler))},l.\u0275prov=C.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac}),l})();class hu{shouldProcessUrl(o){return!0}extract(o){return o}merge(o,i){return o}}function Go(l){throw l}function Ko(l,o,i){return o.parse("/")}const zs={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Gs={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let _r=(()=>{class l{constructor(i,u,d,m,b,P,ne){this.rootComponentType=i,this.urlSerializer=u,this.rootContexts=d,this.location=m,this.config=ne,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new B.x,this.errorHandler=Go,this.malformedUriErrorHandler=Ko,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,be.of)(void 0),this.urlHandlingStrategy=new hu,this.routeReuseStrategy=new Y0,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=b.get(zo),this.configLoader.onLoadEndListener=Ct=>this.triggerEvent(new Qn(Ct)),this.configLoader.onLoadStartListener=Ct=>this.triggerEvent(new Hn(Ct)),this.ngModule=b.get(C.NgModuleRef),this.console=b.get(C.\u0275Console);const Ve=b.get(C.NgZone);this.isNgZoneEnabled=Ve instanceof C.NgZone&&C.NgZone.isInAngularZone(),this.resetConfig(ne),this.currentUrlTree=function wn(){return new Mt(new _t([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=jr(this.currentUrlTree,this.rootComponentType),this.transitions=new F.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(){return this.location.getState()?.\u0275routerPageId}setupNavigations(i){const u=this.events;return i.pipe((0,Me.h)(d=>0!==d.id),(0,Ae.U)(d=>({...d,extractedUrl:this.urlHandlingStrategy.extract(d.rawUrl)})),(0,_e.w)(d=>{let m=!1,b=!1;return(0,be.of)(d).pipe((0,ee.b)(P=>{this.currentNavigation={id:P.id,initialUrl:P.rawUrl,extractedUrl:P.extractedUrl,trigger:P.source,extras:P.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,_e.w)(P=>{const ne=this.browserUrlTree.toString(),De=!this.navigated||P.extractedUrl.toString()!==ne||ne!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||De)&&this.urlHandlingStrategy.shouldProcessUrl(P.rawUrl))return Wo(P.source)&&(this.browserUrlTree=P.extractedUrl),(0,be.of)(P).pipe((0,_e.w)(Ve=>{const Ct=this.transitions.getValue();return u.next(new At(Ve.id,this.serializeUrl(Ve.extractedUrl),Ve.source,Ve.restoredState)),Ct!==this.transitions.getValue()?ht.E:Promise.resolve(Ve)}),function Ps(l,o,i,u){return(0,_e.w)(d=>function Ra(l,o,i,u,d){return new ko(l,o,i,u,d).apply()}(l,o,i,d.extractedUrl,u).pipe((0,Ae.U)(m=>({...d,urlAfterRedirects:m}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,ee.b)(Ve=>{this.currentNavigation={...this.currentNavigation,finalUrl:Ve.urlAfterRedirects}}),function ks(l,o,i,u,d){return(0,dt.z)(m=>function Na(l,o,i,u,d="emptyOnly",m="legacy"){try{const b=new uu(l,o,i,u,d,m).recognize();return null===b?Ns(new Fs):(0,be.of)(b)}catch(b){return Ns(b)}}(l,o,m.urlAfterRedirects,i(m.urlAfterRedirects),u,d).pipe((0,Ae.U)(b=>({...m,targetSnapshot:b}))))}(this.rootComponentType,this.config,Ve=>this.serializeUrl(Ve),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,ee.b)(Ve=>{if("eager"===this.urlUpdateStrategy){if(!Ve.extras.skipLocationChange){const Tt=this.urlHandlingStrategy.merge(Ve.urlAfterRedirects,Ve.rawUrl);this.setBrowserUrl(Tt,Ve)}this.browserUrlTree=Ve.urlAfterRedirects}const Ct=new Xe(Ve.id,this.serializeUrl(Ve.extractedUrl),this.serializeUrl(Ve.urlAfterRedirects),Ve.targetSnapshot);u.next(Ct)}));if(De&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:Ct,extractedUrl:Tt,source:Vt,restoredState:oo,extras:ml}=P,oa=new At(Ct,this.serializeUrl(Tt),Vt,oo);u.next(oa);const ps=jr(Tt,this.rootComponentType).snapshot;return(0,be.of)({...P,targetSnapshot:ps,urlAfterRedirects:Tt,extras:{...ml,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=P.rawUrl,P.resolve(null),ht.E}),(0,ee.b)(P=>{const ne=new nn(P.id,this.serializeUrl(P.extractedUrl),this.serializeUrl(P.urlAfterRedirects),P.targetSnapshot);this.triggerEvent(ne)}),(0,Ae.U)(P=>({...P,guards:xa(P.targetSnapshot,P.currentSnapshot,this.rootContexts)})),function tn(l,o){return(0,dt.z)(i=>{const{targetSnapshot:u,currentSnapshot:d,guards:{canActivateChecks:m,canDeactivateChecks:b}}=i;return 0===b.length&&0===m.length?(0,be.of)({...i,guardsResult:!0}):function Pa(l,o,i,u){return(0,Ie.D)(l).pipe((0,dt.z)(d=>function Ls(l,o,i,u,d){const m=o&&o.routeConfig?o.routeConfig.canDeactivate:null;if(!m||0===m.length)return(0,be.of)(!0);const b=m.map(P=>{const ne=fi(P,o,d);let De;if(function Sn(l){return l&&p(l.canDeactivate)}(ne))De=He(ne.canDeactivate(l,o,i,u));else{if(!p(ne))throw new Error("Invalid CanDeactivate guard");De=He(ne(l,o,i,u))}return De.pipe((0,Oe.P)())});return(0,be.of)(b).pipe(dr())}(d.component,d.route,i,o,u)),(0,Oe.P)(d=>!0!==d,!0))}(b,u,d,l).pipe((0,dt.z)(P=>P&&function v(l){return"boolean"==typeof l}(P)?function La(l,o,i,u){return(0,Ie.D)(o).pipe((0,Kt.b)(d=>(0,ft.z)(function ou(l,o){return null!==l&&o&&o(new Rn(l)),(0,be.of)(!0)}(d.route.parent,u),function Fa(l,o){return null!==l&&o&&o(new Jn(l)),(0,be.of)(!0)}(d.route,u),function lu(l,o,i){const u=o[o.length-1],m=o.slice(0,o.length-1).reverse().map(b=>function Oa(l){const o=l.routeConfig?l.routeConfig.canActivateChild:null;return o&&0!==o.length?{node:l,guards:o}:null}(b)).filter(b=>null!==b).map(b=>(0,Et.P)(()=>{const P=b.guards.map(ne=>{const De=fi(ne,b.node,i);let ke;if(function Yt(l){return l&&p(l.canActivateChild)}(De))ke=He(De.canActivateChild(u,l));else{if(!p(De))throw new Error("Invalid CanActivateChild guard");ke=He(De(u,l))}return ke.pipe((0,Oe.P)())});return(0,be.of)(P).pipe(dr())}));return(0,be.of)(m).pipe(dr())}(l,d.path,i),function au(l,o,i){const u=o.routeConfig?o.routeConfig.canActivate:null;if(!u||0===u.length)return(0,be.of)(!0);const d=u.map(m=>(0,Et.P)(()=>{const b=fi(m,o,i);let P;if(function Be(l){return l&&p(l.canActivate)}(b))P=He(b.canActivate(o,l));else{if(!p(b))throw new Error("Invalid CanActivate guard");P=He(b(o,l))}return P.pipe((0,Oe.P)())}));return(0,be.of)(d).pipe(dr())}(l,d.route,i))),(0,Oe.P)(d=>!0!==d,!0))}(u,m,l,o):(0,be.of)(P)),(0,Ae.U)(P=>({...i,guardsResult:P})))})}(this.ngModule.injector,P=>this.triggerEvent(P)),(0,ee.b)(P=>{if(R(P.guardsResult)){const De=le(`Redirecting to "${this.serializeUrl(P.guardsResult)}"`);throw De.url=P.guardsResult,De}const ne=new Zt(P.id,this.serializeUrl(P.extractedUrl),this.serializeUrl(P.urlAfterRedirects),P.targetSnapshot,!!P.guardsResult);this.triggerEvent(ne)}),(0,Me.h)(P=>!!P.guardsResult||(this.restoreHistory(P),this.cancelNavigationTransition(P,""),!1)),Wr(P=>{if(P.guards.canActivateChecks.length)return(0,be.of)(P).pipe((0,ee.b)(ne=>{const De=new Ht(ne.id,this.serializeUrl(ne.extractedUrl),this.serializeUrl(ne.urlAfterRedirects),ne.targetSnapshot);this.triggerEvent(De)}),(0,_e.w)(ne=>{let De=!1;return(0,be.of)(ne).pipe(function Ho(l,o){return(0,dt.z)(i=>{const{targetSnapshot:u,guards:{canActivateChecks:d}}=i;if(!d.length)return(0,be.of)(i);let m=0;return(0,Ie.D)(d).pipe((0,Kt.b)(b=>function Hs(l,o,i,u){const d=l.routeConfig,m=l._resolve;return void 0!==d?.title&&!Ua(d)&&(m[js]=d.title),function ja(l,o,i,u){const d=function Ha(l){return[...Object.keys(l),...Object.getOwnPropertySymbols(l)]}(l);if(0===d.length)return(0,be.of)({});const m={};return(0,Ie.D)(d).pipe((0,dt.z)(b=>function Si(l,o,i,u){const d=fi(l,o,u);return He(d.resolve?d.resolve(o,i):d(o,i))}(l[b],o,i,u).pipe((0,Oe.P)(),(0,ee.b)(P=>{m[b]=P}))),Ee(1),(0,Dt.h)(m),(0,H.K)(b=>b instanceof Ge.K?ht.E:(0,x._)(b)))}(m,l,o,u).pipe((0,Ae.U)(b=>(l._resolvedData=b,l.data=Ki(l,i).resolve,d&&Ua(d)&&(l.data[js]=d.title),null)))}(b.route,u,l,o)),(0,ee.b)(()=>m++),Ee(1),(0,dt.z)(b=>m===d.length?(0,be.of)(i):ht.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,ee.b)({next:()=>De=!0,complete:()=>{De||(this.restoreHistory(ne),this.cancelNavigationTransition(ne,"At least one route resolver didn't emit any value."))}}))}),(0,ee.b)(ne=>{const De=new _n(ne.id,this.serializeUrl(ne.extractedUrl),this.serializeUrl(ne.urlAfterRedirects),ne.targetSnapshot);this.triggerEvent(De)}))}),Wr(()=>this.afterPreactivation()),Wr(P=>{const ne=De=>{const ke=[];De.routeConfig?.loadComponent&&!De.routeConfig._loadedComponent&&ke.push(this.configLoader.loadComponent(De.routeConfig).pipe((0,ee.b)(Ve=>{De.component=Ve}),(0,Ae.U)(()=>{})));for(const Ve of De.children)ke.push(...ne(Ve));return ke};return(0,st.a)(ne(P.targetSnapshot.root)).pipe((0,ie.d)(),(0,Bt.q)(1))}),(0,Ae.U)(P=>{const ne=function Er(l,o,i){const u=Gn(l,o._root,i?i._root:void 0);return new Gi(u,o)}(this.routeReuseStrategy,P.targetSnapshot,P.currentRouterState);return{...P,targetRouterState:ne}}),(0,ee.b)(P=>{this.currentUrlTree=P.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(P.urlAfterRedirects,P.rawUrl),this.routerState=P.targetRouterState,"deferred"===this.urlUpdateStrategy&&(P.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,P),this.browserUrlTree=P.urlAfterRedirects)}),((l,o,i)=>(0,Ae.U)(u=>(new D(o,u.targetRouterState,u.currentRouterState,i).activate(l),u)))(this.rootContexts,this.routeReuseStrategy,P=>this.triggerEvent(P)),(0,ee.b)({next(){m=!0},complete(){m=!0}}),(0,se.x)(()=>{m||b||this.cancelNavigationTransition(d,`Navigation ID ${d.id} is not equal to the current navigation id ${this.navigationId}`),this.currentNavigation?.id===d.id&&(this.currentNavigation=null)}),(0,H.K)(P=>{if(b=!0,function z(l){return l&&l[ce]}(P)){const ne=R(P.url);ne||(this.navigated=!0,this.restoreHistory(d,!0));const De=new ct(d.id,this.serializeUrl(d.extractedUrl),P.message);if(u.next(De),ne){const ke=this.urlHandlingStrategy.merge(P.url,this.rawUrlTree),Ve={skipLocationChange:d.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Wo(d.source)};this.scheduleNavigation(ke,"imperative",null,Ve,{resolve:d.resolve,reject:d.reject,promise:d.promise})}else d.resolve(!1)}else{this.restoreHistory(d,!0);const ne=new pt(d.id,this.serializeUrl(d.extractedUrl),P);u.next(ne);try{d.resolve(this.errorHandler(P))}catch(De){d.reject(De)}}return ht.E}))}))}resetRootComponentType(i){this.rootComponentType=i,this.routerState.root.component=this.rootComponentType}setTransition(i){this.transitions.next({...this.transitions.value,...i})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(i=>{const u="popstate"===i.type?"popstate":"hashchange";"popstate"===u&&setTimeout(()=>{const d={replaceUrl:!0},m=i.state?.navigationId?i.state:null;if(m){const P={...m};delete P.navigationId,delete P.\u0275routerPageId,0!==Object.keys(P).length&&(d.state=P)}const b=this.parseUrl(i.url);this.scheduleNavigation(b,u,m,d)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(i){this.events.next(i)}resetConfig(i){this.config=i.map(Sr),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(i,u={}){const{relativeTo:d,queryParams:m,fragment:b,queryParamsHandling:P,preserveFragment:ne}=u,De=d||this.routerState.root,ke=ne?this.currentUrlTree.fragment:b;let Ve=null;switch(P){case"merge":Ve={...this.currentUrlTree.queryParams,...m};break;case"preserve":Ve=this.currentUrlTree.queryParams;break;default:Ve=m||null}return null!==Ve&&(Ve=this.removeEmptyProps(Ve)),function ai(l,o,i,u,d){if(0===i.length)return mr(o.root,o.root,o.root,u,d);const m=function cr(l){if("string"==typeof l[0]&&1===l.length&&"/"===l[0])return new Mr(!0,0,l);let o=0,i=!1;const u=l.reduce((d,m,b)=>{if("object"==typeof m&&null!=m){if(m.outlets){const P={};return it(m.outlets,(ne,De)=>{P[De]="string"==typeof ne?ne.split("/"):ne}),[...d,{outlets:P}]}if(m.segmentPath)return[...d,m.segmentPath]}return"string"!=typeof m?[...d,m]:0===b?(m.split("/").forEach((P,ne)=>{0==ne&&"."===P||(0==ne&&""===P?i=!0:".."===P?o++:""!=P&&d.push(P))}),d):[...d,m]},[]);return new Mr(i,o,u)}(i);return m.toRoot()?mr(o.root,o.root,new _t([],{}),u,d):function b(ne){const De=function ui(l,o,i,u){return l.isAbsolute?new Mi(o.root,!0,0):-1===u?new Mi(i,i===o.root,0):function bs(l,o,i){let u=l,d=o,m=i;for(;m>d;){if(m-=d,u=u.parent,!u)throw new Error("Invalid number of '../'");d=u.segments.length}return new Mi(u,!1,d-m)}(i,u+($r(l.commands[0])?0:1),l.numberOfDoubleDots)}(m,o,l.snapshot?._urlSegment,ne),ke=De.processChildren?Rt(De.segmentGroup,De.index,m.commands):Ss(De.segmentGroup,De.index,m.commands);return mr(o.root,De.segmentGroup,ke,u,d)}(l.snapshot?._lastPathIndex)}(De,this.currentUrlTree,i,Ve,ke??null)}navigateByUrl(i,u={skipLocationChange:!1}){const d=R(i)?i:this.parseUrl(i),m=this.urlHandlingStrategy.merge(d,this.rawUrlTree);return this.scheduleNavigation(m,"imperative",null,u)}navigate(i,u={skipLocationChange:!1}){return function $a(l){for(let o=0;o<l.length;o++){const i=l[o];if(null==i)throw new Error(`The requested path contains ${i} segment at index ${o}`)}}(i),this.navigateByUrl(this.createUrlTree(i,u),u)}serializeUrl(i){return this.urlSerializer.serialize(i)}parseUrl(i){let u;try{u=this.urlSerializer.parse(i)}catch(d){u=this.malformedUriErrorHandler(d,this.urlSerializer,i)}return u}isActive(i,u){let d;if(d=!0===u?{...zs}:!1===u?{...Gs}:u,R(i))return On(this.currentUrlTree,i,d);const m=this.parseUrl(i);return On(this.currentUrlTree,m,d)}removeEmptyProps(i){return Object.keys(i).reduce((u,d)=>{const m=i[d];return null!=m&&(u[d]=m),u},{})}processNavigations(){this.navigations.subscribe(i=>{this.navigated=!0,this.lastSuccessfulId=i.id,this.currentPageId=i.targetPageId,this.events.next(new jt(i.id,this.serializeUrl(i.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),i.resolve(!0)},i=>{this.console.warn(`Unhandled Navigation Error: ${i}`)})}scheduleNavigation(i,u,d,m,b){if(this.disposed)return Promise.resolve(!1);let P,ne,De;b?(P=b.resolve,ne=b.reject,De=b.promise):De=new Promise((Ct,Tt)=>{P=Ct,ne=Tt});const ke=++this.navigationId;let Ve;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(d=this.location.getState()),Ve=d&&d.\u0275routerPageId?d.\u0275routerPageId:m.replaceUrl||m.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):Ve=0,this.setTransition({id:ke,targetPageId:Ve,source:u,restoredState:d,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:i,extras:m,resolve:P,reject:ne,promise:De,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),De.catch(Ct=>Promise.reject(Ct))}setBrowserUrl(i,u){const d=this.urlSerializer.serialize(i),m={...u.extras.state,...this.generateNgRouterState(u.id,u.targetPageId)};this.location.isCurrentPathEqualTo(d)||u.extras.replaceUrl?this.location.replaceState(d,"",m):this.location.go(d,"",m)}restoreHistory(i,u=!1){if("computed"===this.canceledNavigationResolution){const d=this.currentPageId-i.targetPageId;"popstate"!==i.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===d?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===d&&(this.resetState(i),this.browserUrlTree=i.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(d)}else"replace"===this.canceledNavigationResolution&&(u&&this.resetState(i),this.resetUrlToCurrentUrlTree())}resetState(i){this.routerState=i.currentRouterState,this.currentUrlTree=i.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,i.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(i,u){const d=new ct(i.id,this.serializeUrl(i.extractedUrl),u);this.triggerEvent(d),i.resolve(!1)}generateNgRouterState(i,u){return"computed"===this.canceledNavigationResolution?{navigationId:i,\u0275routerPageId:u}:{navigationId:i}}}return l.\u0275fac=function(i){C.\u0275\u0275invalidFactory()},l.\u0275prov=C.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac}),l})();function Wo(l){return"imperative"!==l}var yu=_(4128),gn=function(o){return function Q0(l){return!!l&&"object"==typeof l}(o)&&!function J0(l){var o=Object.prototype.toString.call(l);return"[object RegExp]"===o||"[object Date]"===o||function as(l){return l.$$typeof===Zs}(l)}(o)},Zs="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Xs(l,o){return!1!==o.clone&&o.isMergeableObject(l)?Ri(function q0(l){return Array.isArray(l)?[]:{}}(l),l,o):l}function Kn(l,o,i){return l.concat(o).map(function(u){return Xs(u,i)})}function Ri(l,o,i){(i=i||{}).arrayMerge=i.arrayMerge||Kn,i.isMergeableObject=i.isMergeableObject||gn;var u=Array.isArray(o);return u===Array.isArray(l)?u?i.arrayMerge(l,o,i):function Ar(l,o,i){var u={};return i.isMergeableObject(l)&&Object.keys(l).forEach(function(d){u[d]=Xs(l[d],i)}),Object.keys(o).forEach(function(d){u[d]=i.isMergeableObject(o[d])&&l[d]?Ri(l[d],o[d],i):Xs(o[d],i)}),u}(l,o,i):Xs(o,i)}Ri.all=function(o,i){if(!Array.isArray(o))throw new Error("first argument should be an array");return o.reduce(function(u,d){return Ri(u,d,i)},{})};const ls=Ri;class el{constructor(o,i){this.http=o,this.resources=i}getTranslation(o){const i=this.resources.map(u=>{const d=u.prefix+o+u.suffix;return this.http.get(d).pipe((0,H.K)(m=>(console.error("Could not find translation file:",d),(0,be.of)({}))))});return(0,yu.D)(i).pipe((0,Ae.U)(u=>ls.all(u)))}}let _u=(()=>{class l{intercept(i,u){return u.handle(i).pipe((0,H.K)(d=>(0,x._)(d)))}}return l.\u0275fac=function(i){return new(i||l)},l.\u0275prov=C.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac}),l})(),Zo=(()=>{class l{constructor(){this.counter=0,this.showLoaderSubject=new F.X(void 0),this.onChanged$.subscribe(i=>{this.showLoaderChanged(i)})}get onChanged$(){return this.showLoaderSubject.asObservable().pipe((0,Z.b)(500),(0,Me.h)(i=>void 0!==i),(0,ae.x)())}showLoaderChanged(i){const d=new CustomEvent("toggleLoader",{detail:{showLoader:i}});window.dispatchEvent(d)}show(){this.counter++,this.showLoaderSubject.next(!0)}hide(){this.counter--,this.counter<0&&(this.counter=0),0===this.counter&&this.showLoaderSubject.next(!1)}}return l.\u0275fac=function(i){return new(i||l)},l.\u0275prov=C.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"}),l})();const tl=[{provide:M.TP,useClass:_u,multi:!0},{provide:M.TP,useClass:(()=>{class l{constructor(i){this.injector=i}intercept(i,u){const m=this.injector.get(Zo);return m.show(),u.handle(i).pipe((0,H.K)(b=>(0,x._)(b)),(0,se.x)(()=>m.hide()))}}return l.\u0275fac=function(i){return new(i||l)(C.\u0275\u0275inject(C.Injector))},l.\u0275prov=C.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac}),l})(),multi:!0},{provide:M.TP,useClass:(()=>{class l{intercept(i,u){const d=Date.now();let m;return u.handle(i).pipe((0,ee.b)(b=>{b instanceof M.Zn&&(m="succeeded")},b=>m="failed"),(0,se.x)(()=>{const b=Date.now()-d;console.log(`${i.method} "${i.urlWithParams}" ${m} in ${b} ms.`)}))}}return l.\u0275fac=function(i){return new(i||l)},l.\u0275prov=C.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac}),l})(),multi:!0}],Xo=["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"];var dn=(()=>{return(l=dn||(dn={}))[l.XL=0]="XL",l[l.LG=1]="LG",l[l.MD=2]="MD",l[l.SM=3]="SM",l[l.XS=4]="XS",dn;var l})();let Qo=(()=>{class l{constructor(i=null){this.translate=i,this.documentMouseoverListener=u=>{this.deviceHasMouseSubject.next(!0),this.deviceHasMouseSubject.complete(),document.removeEventListener("mouseover",this.documentMouseoverListener,!1)},this.resizeSubject=new F.X(dn.LG),this.deviceHasMouseSubject=new F.X(!1),document.addEventListener("mouseover",this.documentMouseoverListener,!1)}get onResize$(){return this.resizeSubject.asObservable().pipe((0,ae.x)())}get onMouseOver$(){return this.deviceHasMouseSubject.asObservable().pipe((0,ae.x)())}onResize(i){this.resizeSubject.next(i)}getDeviceHasMouse(){return this.deviceHasMouseSubject.getValue()}getOrintation(){return window.innerHeight>window.innerWidth?"portrait":"landscape"}getScreenWidth(){let i=250;switch(this.resizeSubject.getValue()){case dn.XS:i="landscape"===this.getOrintation()?130:65;break;case dn.SM:case dn.MD:i="landscape"===this.getOrintation()?220:140;break;case dn.LG:case dn.XL:i="landscape"===this.getOrintation()?400:250}return i}getScreenHeight(){let i=250;switch(this.resizeSubject.getValue()){case dn.XS:i="landscape"===this.getOrintation()?65:130;break;case dn.SM:case dn.MD:i="landscape"===this.getOrintation()?140:220;break;case dn.LG:case dn.XL:i="landscape"===this.getOrintation()?250:400}return i}getScreenHeightPx(){return window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight}getScreenWidthPx(){return window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth}getScrollbarWidth(){const i=document.createElement("div");i.style.visibility="hidden",i.style.overflow="scroll",document.body.appendChild(i);const u=document.createElement("div");i.appendChild(u);const d=i.offsetWidth-u.offsetWidth;return i.parentNode.removeChild(i),d}getCurrentLanguage(){return this.translate?.getBrowserCultureLang()||navigator.language}isRtl(){const i=this.getCurrentLanguage();return Xo.indexOf(i)>=0}}return l.\u0275fac=function(i){return new(i||l)(C.\u0275\u0275inject(W.sK,8))},l.\u0275prov=C.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"}),l})(),Jo=(()=>{class l{constructor(i,u,d){this.layoutService=i,this.renderer=u,this.element=d}ngOnInit(){this.layoutService.isRtl()&&this.renderer.addClass(this.element.nativeElement,"rtl")}}return l.\u0275fac=function(i){return new(i||l)(C.\u0275\u0275directiveInject(Qo),C.\u0275\u0275directiveInject(C.Renderer2),C.\u0275\u0275directiveInject(C.ElementRef))},l.\u0275dir=C.\u0275\u0275defineDirective({type:l,selectors:[["","pepRtlClass",""]]}),l})(),nl=(()=>{class l{constructor(i,u,d){this.layoutService=i,this.renderer=u,this.element=d}ngOnInit(){const i=this.layoutService.isRtl();this.renderer.setAttribute(this.element.nativeElement,"dir",i?"rtl":"ltr")}}return l.\u0275fac=function(i){return new(i||l)(C.\u0275\u0275directiveInject(Qo),C.\u0275\u0275directiveInject(C.Renderer2),C.\u0275\u0275directiveInject(C.ElementRef))},l.\u0275dir=C.\u0275\u0275defineDirective({type:l,selectors:[["","pepRtlDirection",""]]}),l})(),us=(()=>{class l{constructor(i=null){this.translate=i,this.culture="en-US",this.culture=this.translate?.getBrowserCultureLang()||"en-US"}prepareNumberToFormat(i,u=0){return i?.length>0&&(i=this.changeDecimalSeparatorWhenItsComma(i)),(0,X.su)(i,u)}parseMs(i){if("number"!=typeof i)throw new TypeError("Expected a number");return{days:Math.trunc(i/864e5),hours:Math.trunc(i/36e5)%24,minutes:Math.trunc(i/6e4)%60,seconds:Math.trunc(i/1e3)%60,milliseconds:Math.trunc(i)%1e3}}addZero(i,u=2){u=u||2;let d=i.toString(),m=0;return m=u-d.length+1,d=new Array(m).join("0").concat(d),d}isCurrencyShouldBeOnRight(i){let u=!1;return("\u20ac"==i||"\u20aa"==i||"Ft"==i||"K\u010d"==i||"\u0440\u0443\u0431"==i||"z\u0142"==i||"kr."==i)&&(u=!0),u}cutValueByFractionDigits(i,u){let d=i;u=u||2;const m=this.getDecimalSeparator();if(i.includes(m)){const b=i.split(m);b[1]=b[1].padEnd(u,"0"),d=`${b[0]}${m}${b[1].slice(0,u)}`}return d}parseDate(i,u=!1){let d=null;if(""!==i)if(d=new Date(i),u)d=new Date(d.getFullYear(),d.getMonth(),d.getDate(),d.getHours(),d.getMinutes()+-1*d.getTimezoneOffset(),d.getSeconds());else{const m=i.indexOf("T");m>0&&(i=i.substring(0,m));const b=i.split("-");if(3===b.length){const P=Number(b[0]),ne=Number(b[1])-1,De=Number(b[2]);d=new Date(P,ne,De,0,-1*d.getTimezoneOffset())}}return d&&isNaN(d.getTime())&&(d=null),d}stringifyDate(i,u=!1){if(i){if(u)return i.toISOString();{const d=[];return d.push(i.getFullYear(),"-",i.getMonth()+1,"-",i.getDate()),d.join("")}}return""}isValueHtml(i){let u=!1;return u=/<\/?[a-z][\s\S]*>/i.test(i),u}isJsonString(i){try{JSON.parse(i)}catch{return!1}return!0}getSvgElementFromString(i,u){const d=i.createElement("DIV");return u?.length>0&&(d.innerHTML=u.replace("<svg ",'<svg class="svg-icon" ')),d.querySelector("svg")||i.createElementNS("http://www.w3.org/2000/svg","path")}formatPercent(i,u=0,d=2){u=(0,X.su)(u,null),d=(0,X.su)(d,null),i=this.cutValueByFractionDigits(i?.toString(),Math.max(u,d));const m=this.prepareNumberToFormat(i);return 0===m?"0%":new Intl.NumberFormat(this.culture,{style:"percent",minimumFractionDigits:u||0,maximumFractionDigits:d||Math.max(2,u)}).format(m/100)}formatCurrency(i,u="",d=2,m=2,b=!0){d=(0,X.su)(d,null),m=(0,X.su)(m,null);let P="";i=this.cutValueByFractionDigits(i?.toString(),Math.max(d,m));const ne=this.prepareNumberToFormat(i),De={useGrouping:b,minimumFractionDigits:d||Math.min(2,m||2),maximumFractionDigits:m||Math.max(2,d)};return P=0===ne?new Intl.NumberFormat(this.culture,De).format(0):new Intl.NumberFormat(this.culture,De).format(ne),u.length>0&&(P=this.isCurrencyShouldBeOnRight(u)?`${P} ${u}`:`${u} ${P}`),P}formatDecimal(i,u=2,d=2,m=!0){u=(0,X.su)(u,null),d=(0,X.su)(d,null),i=this.cutValueByFractionDigits(i?.toString(),Math.max(u,d));const b=this.prepareNumberToFormat(i);return 0===b?"0":new Intl.NumberFormat(this.culture,{useGrouping:m,minimumFractionDigits:u||Math.min(2,d||2),maximumFractionDigits:d||Math.max(2,u)}).format(b)}formatNumber(i,u=!0){const d=this.prepareNumberToFormat(i);return 0===d?"0":new Intl.NumberFormat(this.culture,{useGrouping:u,minimumFractionDigits:0,maximumFractionDigits:0}).format(d)}formatDuration(i,u={}){if((0,X.t6)(i)){let m=this.prepareNumberToFormat(i);const b=u?.leading||!0;"seconds"===(u?.duration||"milliseconds")&&(m*=1e3);const De=m<=-1e3?"-":"",ke=this.parseMs(m<0?-m:m),Ve=this.addZero(ke.seconds);return ke.days?De+ke.days+":"+this.addZero(ke.hours)+":"+this.addZero(ke.minutes)+":"+Ve:ke.hours?De+(b?this.addZero(ke.hours):ke.hours)+":"+this.addZero(ke.minutes)+":"+Ve:De+(b?this.addZero(ke.minutes):ke.minutes)+":"+Ve}return i}incrementNumber(i){let u=(0,X.su)(i,0);return(++u).toString()}decrementNumber(i){let u=(0,X.su)(i,0);return(--u).toString()}getDecimalSeparator(){return 1.1.toLocaleString(this.culture).substring(1,2)}changeDecimalSeparatorWhenItsComma(i,u=!1){return","===this.getDecimalSeparator()&&(i=i?.toString()||"",i=u?i.replace(".",","):i.replace(",",".")),i}isEqualNumber(i,u){return this.prepareNumberToFormat(i)===this.prepareNumberToFormat(u)}}return l.\u0275fac=function(i){return new(i||l)(C.\u0275\u0275inject(W.sK,8))},l.\u0275prov=C.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"}),l})(),Eu=(()=>{class l{constructor(i){this.sanitizer=i}transform(i){return this.sanitizer.bypassSecurityTrustHtml(i)}}return l.\u0275fac=function(i){return new(i||l)(C.\u0275\u0275directiveInject(fe.H7,16))},l.\u0275pipe=C.\u0275\u0275definePipe({name:"pepSafeHtml",type:l,pure:!0}),l})(),cs=(()=>{class l{constructor(i){this.utilitiesService=i}transform(i){return i="."===this.utilitiesService.getDecimalSeparator()?i.replace(/,/g,""):i.replace(/./g,""),(0,X.su)(i)}}return l.\u0275fac=function(i){return new(i||l)(C.\u0275\u0275directiveInject(us,16))},l.\u0275pipe=C.\u0275\u0275definePipe({name:"pepToNumber",type:l,pure:!0}),l})(),il=(()=>{class l{constructor(i,u){this.renderer=i,this.el=u,this.includePadding=!0,this.input=null}ngAfterViewInit(){if("input"===this.el.nativeElement.tagName.toLowerCase())this.input=this.el;else{const i=this.el.nativeElement.querySelectorAll("input");this.input=i.length>0?i[0]:null}this.input&&(this.input.addEventListener("blur",this.setWidthUsingText.bind(this)),this.input.addEventListener("keyup",this.setWidthUsingText.bind(this))),this.setWidthUsingText()}ngOnDestroy(){this.input.removeEventListener("blur",this.setWidthUsingText.bind(this)),this.input.removeEventListener("keyup",this.setWidthUsingText.bind(this))}get paddingWidth(){return this.includePadding?this._sumPropertyValues(["padding-left","padding-right"]):0}get style(){return getComputedStyle(this.input,"")}setWidth(i){this.renderer.setStyle(this.input,"width",i+"px")}setWidthUsingText(){this.input&&this.setWidth(this.textWidth(this.input.value)+this.paddingWidth)}_sumPropertyValues(i){return i.map(u=>parseInt(this.style.getPropertyValue(u),10)).reduce((u,d)=>u+d,0)}textWidth(i){const u=this.renderer.createElement("canvas").getContext("2d"),{fontStyle:d,fontVariant:m,fontWeight:b,fontSize:P,fontFamily:ne}=this.style;return u.font=d+" "+m+" "+b+" "+P+" "+ne,u?u.measureText(i).width:0}}return l.\u0275fac=function(i){return new(i||l)(C.\u0275\u0275directiveInject(C.Renderer2),C.\u0275\u0275directiveInject(C.ElementRef))},l.\u0275dir=C.\u0275\u0275defineDirective({type:l,selectors:[["","pepAutoWidth",""]],inputs:{includePadding:"includePadding"}}),l})(),sl=(()=>{class l{constructor(i){this.element=i}onClick(){setTimeout(()=>{this.element.nativeElement.blur()},0)}}return l.\u0275fac=function(i){return new(i||l)(C.\u0275\u0275directiveInject(C.ElementRef))},l.\u0275dir=C.\u0275\u0275defineDirective({type:l,selectors:[["","pepButtonBlur",""]],hostBindings:function(i,u){1&i&&C.\u0275\u0275listener("click",function(){return u.onClick()})}}),l})(),xi=(()=>{class l{constructor(i){this.element=i}menuClosedEvent(){setTimeout(()=>{this.element.nativeElement.blur()},0)}menuOpenedEvent(){setTimeout(()=>{this.element.nativeElement.blur()},0)}}return l.\u0275fac=function(i){return new(i||l)(C.\u0275\u0275directiveInject(C.ElementRef))},l.\u0275dir=C.\u0275\u0275defineDirective({type:l,selectors:[["","pepMenuBlur",""]],hostBindings:function(i,u){1&i&&C.\u0275\u0275listener("menuClosed",function(){return u.menuClosedEvent()})("menuOpened",function(){return u.menuOpenedEvent()})}}),l})(),Oi=(()=>{class l{constructor(i,u){this.renderer=i,this.element=u}ngOnInit(){this.renderer.setAttribute(this.element.nativeElement,"data-qa",this.dataQa)}}return l.\u0275fac=function(i){return new(i||l)(C.\u0275\u0275directiveInject(C.Renderer2),C.\u0275\u0275directiveInject(C.ElementRef))},l.\u0275dir=C.\u0275\u0275defineDirective({type:l,selectors:[["","pepDataQa",""]],inputs:{dataQa:["pepDataQa","dataQa"]}}),l})(),qs=(()=>{class l{urlBase64Decode(i){let u=i.replace(/-/g,"+").replace(/_/g,"/");switch(u.length%4){case 0:break;case 2:u+="==";break;case 3:u+="=";break;default:throw new Error("Illegal base64url string!")}return this.b64DecodeUnicode(u)}b64decode(i){let d="";if((i=String(i).replace(/=+$/,"")).length%4==1)throw new Error("'atob' failed: The string to be decoded is not correctly encoded.");for(let b,P,m=0,ne=0;P=i.charAt(ne++);~P&&(b=m%4?64*b+P:P,m++%4)?d+=String.fromCharCode(255&b>>(-2*m&6)):0)P="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(P);return d}b64DecodeUnicode(i){return decodeURIComponent(Array.prototype.map.call(this.b64decode(i),u=>"%"+("00"+u.charCodeAt(0).toString(16)).slice(-2)).join(""))}decodeToken(i){if(!i||""===i)return null;const u=i.split(".");if(3!==u.length)throw new Error("The inspected token doesn't appear to be a JWT. Check to make sure it has three parts and see https://jwt.io for more.");const d=this.urlBase64Decode(u[1]);if(!d)throw new Error("Cannot decode the token.");return JSON.parse(d)}getTokenExpirationDate(i){const u=this.decodeToken(i);if(!u||!u.hasOwnProperty("exp"))return null;const d=new Date(0);return d.setUTCSeconds(u.exp),d}isTokenExpired(i,u){if(!i||""===i)return!0;const d=this.getTokenExpirationDate(i);return u=u||0,null!==d&&!(d.valueOf()>(new Date).valueOf()+1e3*u)}getAuthScheme(i,u){return"function"==typeof i?i(u):i}}return l.\u0275fac=function(i){return new(i||l)},l.\u0275prov=C.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"}),l})(),Pi=(()=>{class l{constructor(i){this.jwtHelper=i,this.IDP_TOKEN_KEY="idp_token",this.PAPI_BASE_URL_KEY="pepperi.baseurl",this.WAPI_BASE_URL_KEY="serverHostURL"}getParseToken(){const i=this.getIdpToken();return this.jwtHelper.decodeToken(i)}setObject(i,u){const d="string"==typeof u||u instanceof String?u:JSON.stringify(u);sessionStorage.setItem(i,d.toString())}getObject(i){let u=null;const d=sessionStorage.getItem(i);try{u=d&&JSON.parse(d)}catch{u=d}return u}removeObject(i){sessionStorage.removeItem(i)}getWapiBaseUrl(){return this.getObject(this.WAPI_BASE_URL_KEY)}getIdpToken(){return this.getObject(this.IDP_TOKEN_KEY)}getPapiBaseUrl(){const i=this.getParseToken();return i?i[this.PAPI_BASE_URL_KEY]:null}}return l.\u0275fac=function(i){return new(i||l)(C.\u0275\u0275inject(qs))},l.\u0275prov=C.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"}),l})(),Li=(()=>{class l{constructor(){this.scripts=new Map,this.styles=new Map}loadFiles(i){const u=[];return i.forEach(d=>{"style"===d.type?u.push(this.loadStyle(d.path)):"script"===d.type&&u.push(this.loadScript(d.path))}),Promise.all(u)}removeFiles(i){for(let u=0;u<i.length&&i[u].path&&""!==i[u].path.trim();u++){const d=this.getFileName(i[u].path,!0),m=document.getElementById(d);m.parentNode.removeChild(m),"script"===i[u].type&&this.scripts.has(d)?this.scripts.delete(d):"style"===i[u].type&&this.styles.has(d)&&this.styles.delete(d)}}loadScript(i){return new Promise((u,d)=>{const m=this.getFileName(i,!0);this.scripts.has(m)||this.scripts.set(m,{loaded:!1,src:i});const b=this.scripts.get(m);if(b.loaded)u({script:m,loaded:!0,status:"Already Loaded"});else{const P=document.createElement("script");P.type="text/javascript",P.src=b.src,P.setAttribute("id",m),P.async=!1,P.readyState?P.onreadystatechange=()=>{("loaded"===P.readyState||"complete"===P.readyState)&&(P.onreadystatechange=null,b.loaded=!0,u({path:i,type:"script",loaded:!0,status:"Loaded"}))}:P.onload=()=>{b.loaded=!0,u({path:i,type:"script",loaded:!0,status:"Loaded"})},P.onerror=ne=>u({path:i,type:"script",loaded:!1,status:"Loaded"}),document.getElementsByTagName("head")[0].appendChild(P)}})}loadStyle(i){return new Promise((u,d)=>{const m=this.getFileName(i,!0);this.styles.has(m)||this.styles.set(m,{loaded:!1,src:i});const b=this.styles.get(m);if(b.loaded)u({path:i,type:"style",loaded:!0,status:"Already Loaded"});else{const P=document.createElement("link");P.type="text/css",P.rel="stylesheet",P.href=b.src,P.media="all",P.setAttribute("id",m),b.loaded=!0,u({path:i,type:"style",loaded:!0,status:"Loaded"}),document.getElementsByTagName("head")[0].appendChild(P)}})}loadFontStyle(i,u){const d=document.getElementsByTagName("head")[0],m=document.getElementById(i);if(m)m.href=u;else{const b=document.createElement("link");b.id=i,b.rel="stylesheet",b.href=`${u}`,d.appendChild(b)}}getFileName(i,u=!1){const d=u?i.length-1:i.lastIndexOf(".");return i.substr(i.lastIndexOf("/")+1,d)}getFileExtension(i){return i.substring(i.lastIndexOf(".")+1,i.length)}isValidUrl(i){try{return new URL(i),!0}catch{return!1}}convertFromb64toArrayBuffer(i){const u=i.slice(i.indexOf(",")+1),d=window.atob(u),m=d.length,b=new Uint8Array(m);for(let P=0;P<m;P++)b[P]=d.charCodeAt(P);return b.buffer}convertFromb64toBlob(i){const u=this.convertFromb64toArrayBuffer(i),m=i.split(";")[0].split(":")[1];return new Blob([u],{type:m})}getBase64FileSize(i){let u;try{i=i.slice(i.indexOf(",")+1),u=window.atob(i).length}catch{u=-1}return u}fileToBase64(i){return new Promise((u,d)=>{const m=new FileReader;m.readAsDataURL(i),m.onload=()=>u(m.result),m.onerror=b=>d(b)})}isValidFileExtension(i,u){return""===u||-1!==u.indexOf(i.toLowerCase())}isValidFileSize(i,u=5){const d=i;let m=0;return m="string"==typeof i&&i.indexOf("data:")>-1?this.getBase64FileSize(i):d.size,-1!==m&&null!=d&&m<1048576*u}getAssetsPath(i="",u="ngx-lib"){const d=""===i||i.endsWith("/")?"":"/";return`${i}${d}assets/${u}/`}getAssetsTranslationsSuffix(i="ngx-lib"){return`.${i}.json`}getAssetsTranslationsPath(i="",u="ngx-lib"){return`${this.getAssetsPath(i,u)}i18n/`}getAssetsImagesPath(i="",u="",d="ngx-lib"){return`${this.getAssetsPath(i,d)}images/${u}`}getSvgAsImageSrc(i){const u=new Blob([i],{type:"image/svg+xml"});return URL.createObjectURL(u)}}return l.\u0275fac=function(i){return new(i||l)},l.\u0275prov=C.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"}),l})();class L{constructor(o,i,u){this.sessionService=o,this.fileService=i,this.fb=u,this.hasCustomHomepage=null,this.hasCustomHeader=null,this.customHeaderHeight=L.DEFAULT_HEADER_HEIGHT,this.mainContHeight=0,this.footerHeight=new F.X(0),this.settingsWidth=new F.X(0),this.hideFooter()}getDefaultFromGroup(o,i=!0){const u=i?o.getValidators():[],d={};return d[o.key]=[{value:o.value,disabled:o.disabled},u],this.fb.group(d)}getFormControl(o,i,u=null){let d=null;return o&&o.controls&&(d=null===u?o.controls[i]:o.controls[u]?.get(i)),d}updateFormFieldValue(o,i,u="",d=null){const m=this.getFormControl(o,i,d);m&&m.setValue(u)}updateFormField(o,i,u="",d=null){const m=this.getFormControl(o,i.key,d?.key);if(m&&(m.setValue(u),m.disabled!==i.disabled)){i.disabled?m.disable():m.enable();const b=i.getValidators();m.setValidators(b),m.updateValueAndValidity()}}calculateFormFieldHeight(o=!0,i=1,u=!1){const d=this.getThemeVariables(),m=this.getNumberThemeVariable(d,L.FORM_FIELD_HEIGHT_KEY),b=this.getNumberThemeVariable(d,L.FORM_FIELD_TITLE_HEIGHT_KEY),P=this.getNumberThemeVariable(d,L.FORM_SPACEING_KEY);let ne=0;if(1===i)ne=(o?b:0)+m;else{const De=o?i:i-1;ne=i*m+De*b+(u?0:De*P)}return ne}calculateCardRowsHeight(o=1,i=!0){const u=this.getThemeVariables(),d=this.getNumberThemeVariable(u,L.CARD_FIELD_HEIGHT_KEY),m=this.getNumberThemeVariable(u,L.CARD_SPACEING_KEY);return o*d+(o-1)*(i?m:0)}calculateTableRowsHeight(o=1,i=!0){const u=this.getThemeVariables(),d=this.getNumberThemeVariable(u,L.TABLE_FIELD_HEIGHT_KEY),m=this.getNumberThemeVariable(u,L.TABLE_SPACEING_KEY);return o*(d+(i?2*m:0))}calculateFieldHeight(o="form",i,u){let d="inherit";return d="table"===o?this.getThemeVariable(L.TABLE_FIELD_HEIGHT_KEY):"card"===o?this.calculateCardRowsHeight(i,!u)+L.REM_STRING:this.calculateFormFieldHeight(!1,i,u)+L.REM_STRING,d}getBrandingTheme(){const o=this.sessionService.getObject(L.USER_THEME);return o&&o.Theme||"default-theme"}getDefaultThemeLayoutVariables(o){o["--pep-screen-max-size-2xs"]="460"+L.PX_STRING,o["--pep-screen-max-size-xs"]="767"+L.PX_STRING,o["--pep-screen-max-size-sm"]="991"+L.PX_STRING,o["--pep-screen-max-size-md"]="1199"+L.PX_STRING,o["--pep-screen-max-size-lg"]="1366"+L.PX_STRING,o["--pep-screen-max-size-xl"]="1920"+L.PX_STRING,o[L.SIDE_BAR_WIDTH_KEY]="16"+L.REM_STRING,o[L.TOP_BAR_SPACING_TOP_KEY]="1.5"+L.REM_STRING,o[L.TOP_BAR_SPACING_BOTTOM_KEY]="0.5"+L.REM_STRING,o[L.TOP_BAR_FIELD_HEIGHT_KEY]="2.5"+L.REM_STRING,o[L.FOOTER_BAR_SPACING_TOP_KEY]="0.75"+L.REM_STRING,o[L.FOOTER_BAR_SPACING_BOTTOM_KEY]="1.25"+L.REM_STRING}getDefaultThemeBorderRadiusVariables(o){o[L.BORDER_RADIUS_SM_KEY]="0.125"+L.REM_STRING,o[L.BORDER_RADIUS_MD_KEY]="0.25"+L.REM_STRING,o[L.BORDER_RADIUS_LG_KEY]="0.5"+L.REM_STRING,o[L.BORDER_RADIUS_XL_KEY]="1"+L.REM_STRING}getDefaultThemeSpacingVariables(o){o[L.SPACING_SIZE_2XS_KEY]="0.125"+L.REM_STRING,o[L.SPACING_SIZE_XS_KEY]="0.25"+L.REM_STRING,o[L.SPACING_SIZE_SM_KEY]="0.5"+L.REM_STRING,o[L.SPACING_SIZE_MD_KEY]="0.75"+L.REM_STRING,o[L.SPACING_SIZE_LG_KEY]="1"+L.REM_STRING,o[L.SPACING_SIZE_XL_KEY]="1.5"+L.REM_STRING,o[L.SPACING_SIZE_2XL_KEY]="2"+L.REM_STRING,o[L.SPACING_SIZE_3XL_KEY]="2.5"+L.REM_STRING,o[L.SPACING_SIZE_4XL_KEY]="3"+L.REM_STRING,o[L.SPACING_SIZE_5XL_KEY]="3.5"+L.REM_STRING,o[L.SPACING_SIZE_6XL_KEY]="5"+L.REM_STRING,o[L.SPACING_SIZE_7XL_KEY]="6"+L.REM_STRING,o[L.SPACING_SIZE_8XL_KEY]="8"+L.REM_STRING,o[L.SPACING_SIZE_9XL_KEY]="16"+L.REM_STRING}getDefaultThemeFontsVariables(o){o[L.FONT_FAMILY_TITLE_KEY]="Nexa",o[L.FONT_FAMILY_BODY_KEY]="Inter",o[L.FONT_SIZE_2XS_KEY]="0.625"+L.REM_STRING,o[L.FONT_SIZE_XS_KEY]="0.75"+L.REM_STRING,o[L.FONT_SIZE_SM_KEY]="0.875"+L.REM_STRING,o[L.FONT_SIZE_MD_KEY]="1"+L.REM_STRING,o[L.FONT_SIZE_LG_KEY]="1.125"+L.REM_STRING,o[L.FONT_SIZE_XL_KEY]="1.25"+L.REM_STRING,o[L.FONT_SIZE_2XL_KEY]="1.5"+L.REM_STRING,o[L.LINE_HEIGHT_2XS_KEY]="0.75"+L.REM_STRING,o[L.LINE_HEIGHT_XS_KEY]="1"+L.REM_STRING,o[L.LINE_HEIGHT_SM_KEY]="1.25"+L.REM_STRING,o[L.LINE_HEIGHT_MD_KEY]="1.5"+L.REM_STRING,o[L.LINE_HEIGHT_LG_KEY]="1.75"+L.REM_STRING,o[L.LINE_HEIGHT_XL_KEY]="2"+L.REM_STRING,o[L.LINE_HEIGHT_2XL_KEY]="2.25"+L.REM_STRING,o["--pep-font-weight-normal"]=400,o["--pep-font-weight-bold"]=600,o["--pep-font-weight-bolder"]=800}getDefaultThemeButtonsVariables(o){o["--pep-button-2xs-horizontal-spacing"]="0.25"+L.REM_STRING,o["--pep-button-2xs-min-width"]="1"+L.REM_STRING,o["--pep-button-2xs-height"]="1"+L.REM_STRING,o["--pep-button-2xs-font-size"]="var("+L.FONT_SIZE_2XS_KEY+")",o["--pep-button-xs-horizontal-spacing"]="0.5"+L.REM_STRING,o["--pep-button-xs-min-width"]="1.5"+L.REM_STRING,o["--pep-button-xs-height"]="1.5"+L.REM_STRING,o["--pep-button-xs-font-size"]="var("+L.FONT_SIZE_XS_KEY+")",o["--pep-button-sm-horizontal-spacing"]="0.75"+L.REM_STRING,o["--pep-button-sm-min-width"]="2"+L.REM_STRING,o["--pep-button-sm-height"]="2"+L.REM_STRING,o["--pep-button-sm-font-size"]="var("+L.FONT_SIZE_SM_KEY+")",o["--pep-button-md-horizontal-spacing"]="1"+L.REM_STRING,o["--pep-button-md-min-width"]="2.5"+L.REM_STRING,o["--pep-button-md-height"]="2.5"+L.REM_STRING,o["--pep-button-md-font-size"]="var("+L.FONT_SIZE_MD_KEY+")",o["--pep-button-lg-horizontal-spacing"]="1"+L.REM_STRING,o["--pep-button-lg-min-width"]="3"+L.REM_STRING,o["--pep-button-lg-height"]="3"+L.REM_STRING,o["--pep-button-lg-font-size"]="var("+L.FONT_SIZE_LG_KEY+")",o["--pep-button-xl-horizontal-spacing"]="1.5"+L.REM_STRING,o["--pep-button-xl-min-width"]="4"+L.REM_STRING,o["--pep-button-xl-height"]="4"+L.REM_STRING,o["--pep-button-xl-font-size"]="var("+L.FONT_SIZE_XL_KEY+")"}getSystemPrimaryInvertColorsVariables(o){o[L.COLOR_SYSTEM_PRIMARY_INVERT_KEY+"-h"]="255",o[L.COLOR_SYSTEM_PRIMARY_INVERT_KEY+"-s"]="100%",o[L.COLOR_SYSTEM_PRIMARY_INVERT_KEY+"-l"]="100%"}getSystemPrimaryColorsVariables(o){o[L.COLOR_SYSTEM_PRIMARY_KEY+"-h"]="0",o[L.COLOR_SYSTEM_PRIMARY_KEY+"-s"]="0%",o[L.COLOR_SYSTEM_PRIMARY_KEY+"-l"]="10%"}getSystemSuccessColorsVariables(o){o[L.COLOR_SYSTEM_SUCCESS_KEY+"-h"]="100",o[L.COLOR_SYSTEM_SUCCESS_KEY+"-s"]="100%",o[L.COLOR_SYSTEM_SUCCESS_KEY+"-l"]="25%"}getSystemCautionColorsVariables(o){o[L.COLOR_SYSTEM_CAUTION_KEY+"-h"]="360",o[L.COLOR_SYSTEM_CAUTION_KEY+"-s"]="100%",o[L.COLOR_SYSTEM_CAUTION_KEY+"-l"]="40%"}getUserPrimaryColorsVariables(o){o[L.COLOR_USER_PRIMARY_KEY+"-h"]="78",o[L.COLOR_USER_PRIMARY_KEY+"-s"]="87%",o[L.COLOR_USER_PRIMARY_KEY+"-l"]="27%"}getUserSecondaryColorsVariables(o){o[L.COLOR_USER_SECONDARY_KEY+"-h"]="36",o[L.COLOR_USER_SECONDARY_KEY+"-s"]="100%",o[L.COLOR_USER_SECONDARY_KEY+"-l"]="50%"}getWeakColorsVariables(o){o[L.COLOR_WEAK_KEY+"-h"]="var("+L.COLOR_SYSTEM_PRIMARY_KEY+"-h)",o[L.COLOR_WEAK_KEY+"-s"]="var("+L.COLOR_SYSTEM_PRIMARY_KEY+"-s)",o[L.COLOR_WEAK_KEY+"-l"]="var("+L.COLOR_SYSTEM_PRIMARY_KEY+"-l)"}getRegularColorsVariables(o){o[L.COLOR_REGULAR_KEY+"-h"]="var("+L.COLOR_SYSTEM_PRIMARY_KEY+"-h)",o[L.COLOR_REGULAR_KEY+"-s"]="var("+L.COLOR_SYSTEM_PRIMARY_KEY+"-s)",o[L.COLOR_REGULAR_KEY+"-l"]="var("+L.COLOR_SYSTEM_PRIMARY_KEY+"-l)"}getStrongColorsVariables(o){o[L.COLOR_STRONG_KEY+"-h"]="var("+L.COLOR_USER_PRIMARY_KEY+"-h)",o[L.COLOR_STRONG_KEY+"-s"]="var("+L.COLOR_USER_PRIMARY_KEY+"-s)",o[L.COLOR_STRONG_KEY+"-l"]="var("+L.COLOR_USER_PRIMARY_KEY+"-l)"}getTextColorsVariables(o){o[L.COLOR_TEXT_LINK_KEY+"-h"]="207",o[L.COLOR_TEXT_LINK_KEY+"-s"]="76%",o[L.COLOR_TEXT_LINK_KEY+"-l"]="37%"}getDefaultThemeColorsVariables(o){this.getSystemPrimaryInvertColorsVariables(o),this.getSystemPrimaryColorsVariables(o),this.getSystemSuccessColorsVariables(o),this.getSystemCautionColorsVariables(o),this.getUserPrimaryColorsVariables(o),this.getUserSecondaryColorsVariables(o),this.getWeakColorsVariables(o),this.getRegularColorsVariables(o),this.getStrongColorsVariables(o),this.getTextColorsVariables(o)}getDefaultThemeShadowsVariables(o){o[L.SHADOW_NONE_OFFSET_KEY]="0",o[L.SHADOW_XS_OFFSET_KEY]="0 0.125rem 0.25rem 0",o[L.SHADOW_SM_OFFSET_KEY]="0 0.25rem 0.5rem 0",o[L.SHADOW_MD_OFFSET_KEY]="0 0.5rem 1rem 0",o[L.SHADOW_LG_OFFSET_KEY]="0 1rem 2rem 0",o[L.SHADOW_XL_OFFSET_KEY]="0 2rem 4rem 0"}getDefaultThemeFormCustomizationVariables(o){o[L.FORM_FIELD_HEIGHT_KEY]="2.5"+L.REM_STRING,o[L.FORM_FIELD_TITLE_HEIGHT_KEY]="1.5"+L.REM_STRING,o[L.FORM_SPACEING_KEY]=1+L.REM_STRING,o[L.FORM_FIELD_SPACEING_KEY]=1+L.REM_STRING}getDefaultThemeCardCustomizationVariables(o){o[L.CARD_FIELD_HEIGHT_KEY]="1.5"+L.REM_STRING,o[L.CARD_SPACEING_KEY]="var("+L.SPACING_SIZE_XS_KEY+")",o[L.CARD_BORDER_RADIUS_KEY]="var("+L.BORDER_RADIUS_MD_KEY+")",o[L.CARD_SHADOW_OFFSET_KEY]="var("+L.SHADOW_MD_OFFSET_KEY+")"}getDefaultThemeTableCustomizationVariables(o){o[L.TABLE_FIELD_HEIGHT_KEY]="2"+L.REM_STRING,o[L.TABLE_SPACEING_KEY]="0.5"+L.REM_STRING,o[L.TABLE_BORDER_RADIUS_KEY]="var("+L.BORDER_RADIUS_MD_KEY+")"}getDefaultThemeQSCustomizationVariables(o){o[L.STYLE_QS_KEY]="regular",o[L.COLOR_QS_KEY+"-h"]="var("+L.COLOR_SYSTEM_PRIMARY_KEY+"-h)",o[L.COLOR_QS_KEY+"-s"]="var("+L.COLOR_SYSTEM_PRIMARY_KEY+"-s)",o[L.COLOR_QS_KEY+"-l"]="var("+L.COLOR_SYSTEM_PRIMARY_KEY+"-l)"}getDefaultThemeLoaderCustomizationVariables(o){o[L.COLOR_LOADER_KEY+"-h"]="var("+L.COLOR_SYSTEM_CAUTION_KEY+"-h)",o[L.COLOR_LOADER_KEY+"-s"]="var("+L.COLOR_SYSTEM_CAUTION_KEY+"-s)",o[L.COLOR_LOADER_KEY+"-l"]="var("+L.COLOR_SYSTEM_CAUTION_KEY+"-l)"}getDefaultThemeTopHeaderCustomizationVariables(o){o[L.STYLE_TOP_HEADER_KEY]="strong",o[L.COLOR_TOP_HEADER_KEY+"-h"]="",o[L.COLOR_TOP_HEADER_KEY+"-s"]="",o[L.COLOR_TOP_HEADER_KEY+"-l"]=""}getDefaultThemeTopLegacyCustomizationVariables(o){o[L.COLOR_TOP_LEGACY_KEY+"-h"]="",o[L.COLOR_TOP_LEGACY_KEY+"-s"]="",o[L.COLOR_TOP_LEGACY_KEY+"-l"]=""}getDefaultThemeVariables(){const o={};return this.getDefaultThemeLayoutVariables(o),this.getDefaultThemeBorderRadiusVariables(o),this.getDefaultThemeSpacingVariables(o),this.getDefaultThemeFontsVariables(o),this.getDefaultThemeButtonsVariables(o),this.getDefaultThemeColorsVariables(o),this.getDefaultThemeShadowsVariables(o),this.getDefaultThemeFormCustomizationVariables(o),this.getDefaultThemeCardCustomizationVariables(o),this.getDefaultThemeTableCustomizationVariables(o),this.getDefaultThemeQSCustomizationVariables(o),this.getDefaultThemeTopHeaderCustomizationVariables(o),this.getDefaultThemeTopLegacyCustomizationVariables(o),o}getThemeVariables(){const o=this.getDefaultThemeVariables(),i=this.sessionService.getObject(L.USER_THEME_VARIABLES);if(i)for(const u in i)o[u]=i[u];return o}setThemeVariables(o=null){const i=this.getThemeVariables();if(o)for(const u in o)i[u]=o[u];this.sessionService.setObject(L.USER_THEME_VARIABLES,JSON.stringify(i));for(const u in i)this.isFontUrlKey(u)?this.fileService.loadFontStyle(u,i[u]):document.documentElement.style.setProperty(u,i[u])}isFontUrlKey(o){let i=!1;return(o===L.FONT_FAMILY_TITLE_NORMAL_URL_KEY||o===L.FONT_FAMILY_TITLE_BOLD_URL_KEY||o===L.FONT_FAMILY_BODY_NORMAL_URL_KEY||o===L.FONT_FAMILY_BODY_BOLD_URL_KEY)&&(i=!0),i}getThemeVariable(o){const i=this.getThemeVariables();return i.hasOwnProperty(o)?i[o]:""}getNumberThemeVariable(o,i){return o&&o.hasOwnProperty(i)?(0===o[i].indexOf("var(")&&(i=o[i].substr(4).split(")")[0]),Number(o[i].replace(L.REM_STRING,""))):0}setFooterHeight(o){this.footerHeight.getValue()!==o&&setTimeout(()=>{this.footerHeight.next(o)},0),document.documentElement.style.setProperty(L.FOOTER_HEIGHT_KEY,o+L.REM_STRING)}hideFooter(){this.setFooterHeight(0)}showFooter(){const o=this.getThemeVariables(),i=this.getNumberThemeVariable(o,L.FOOTER_BAR_SPACING_TOP_KEY)+this.getNumberThemeVariable(o,L.FOOTER_BAR_SPACING_BOTTOM_KEY)+this.getNumberThemeVariable(o,L.TOP_BAR_FIELD_HEIGHT_KEY);this.setFooterHeight(i)}setSettingsWidth(o){this.settingsWidth.getValue()!==o&&setTimeout(()=>{this.settingsWidth.next(o)},0),document.documentElement.style.setProperty(L.SETTINGS_WIDTH_KEY,o+L.REM_STRING)}hideSettings(){this.setSettingsWidth(0)}showSettings(){const o=this.getThemeVariables(),i=this.getNumberThemeVariable(o,L.SIDE_BAR_WIDTH_KEY);this.setSettingsWidth(i)}getTopBarHeight(){const o=this.getThemeVariables();return this.getNumberThemeVariable(o,L.TOP_BAR_SPACING_TOP_KEY)+this.getNumberThemeVariable(o,L.TOP_BAR_SPACING_BOTTOM_KEY)+this.getNumberThemeVariable(o,L.TOP_BAR_FIELD_HEIGHT_KEY)}setOldUserTheme(o){let u,d;this.sessionService.setObject(L.USER_THEME,JSON.stringify({Theme:o.Theme||"default-theme"})),this.isLightColor(o.BrandingMainColor)?(u=L.DEFAULT_SPINNER_COLOR,d="#222"):(u=o.BrandingMainColor,d=L.DEFAULT_BRANDING_COLOR),this.sessionService.setObject(L.USER_COLOR,JSON.stringify({BrandingSecondaryColor:o.BrandingSecondaryColor,BrandingMainColor:o.BrandingMainColor,BrandingFontColor:d,SpinnerColor:u})),this.hasCustomHeader=!!(o.TopHeaderFiles&&o.TopHeaderFiles.length>0&&""!==o.TopHeaderFiles[0]),this.hasCustomHomepage="Buyer"===o.UserRole&&o.TopHeaderFiles&&o.TopHeaderFiles.length>1&&""!==o.TopHeaderFiles[1]}isLegacyColor(){const o=document.documentElement.style.getPropertyValue(L.COLOR_TOP_HEADER_KEY+"-h"),i=document.documentElement.style.getPropertyValue(L.COLOR_TOP_HEADER_KEY+"-s"),u=document.documentElement.style.getPropertyValue(L.COLOR_TOP_HEADER_KEY+"-l");return!(o&&i&&u)}getLoadingSpinnerColor(){let o="";if(this.isLegacyColor()){const i=this.sessionService.getObject(L.USER_COLOR);o=i&&i.SpinnerColor?i.SpinnerColor:L.DEFAULT_SPINNER_COLOR}return o}getBrandingMainColor(){let o="";if(this.isLegacyColor()){const i=this.sessionService.getObject(L.USER_COLOR);o=i&&i.BrandingMainColor?i.BrandingMainColor:L.DEFAULT_BRANDING_COLOR}return o}isLightColor(o){if(!o)return;let i=!1,u=0;const d=o.replace(/^#/,"");return u=parseInt(d[0]+d[1],16),u+=parseInt(d[2]+d[3],16),u+=parseInt(d[4]+d[5],16),u>382.6&&(i=!0),i}}L.STAND_ALONE_FIELD_CLASS_NAME="pep-field",L.STAND_ALONE_FIELD_NO_SPACING_CLASS_NAME="pep-field-no-spacing",L.REM_STRING="rem",L.PX_STRING="px",L.USER_THEME="user_theme",L.USER_COLOR="user_color",L.USER_THEME_VARIABLES="user_theme_variables",L.HEADER_HEIGHT_KEY="--pep-header-height",L.SIDE_BAR_WIDTH_KEY="--pep-side-bar-width",L.SETTINGS_WIDTH_KEY="--pep-settings-bar-width",L.TOP_BAR_SPACING_TOP_KEY="--pep-top-bar-spacing-top",L.TOP_BAR_SPACING_BOTTOM_KEY="--pep-top-bar-spacing-bottom",L.TOP_BAR_FIELD_HEIGHT_KEY="--pep-top-bar-field-height",L.FOOTER_HEIGHT_KEY="--pep-footer-bar-height",L.FOOTER_BAR_SPACING_TOP_KEY="--pep-footer-bar-spacing-top",L.FOOTER_BAR_SPACING_BOTTOM_KEY="--pep-footer-bar-spacing-bottom",L.MAIN_HEIGHT_KEY="--pep-main-height",L.COLOR_USER_PRIMARY_KEY="--pep-color-user-primary",L.COLOR_USER_SECONDARY_KEY="--pep-color-user-secondary",L.COLOR_SYSTEM_PRIMARY_INVERT_KEY="--pep-color-system-primary-invert",L.COLOR_SYSTEM_PRIMARY_KEY="--pep-color-system-primary",L.COLOR_TEXT_LINK_KEY="--pep-color-text-link",L.COLOR_SYSTEM_CAUTION_KEY="--pep-color-system-caution",L.COLOR_SYSTEM_SUCCESS_KEY="--pep-color-system-success",L.COLOR_STRONG_KEY="--pep-color-strong",L.COLOR_REGULAR_KEY="--pep-color-regular",L.COLOR_WEAK_KEY="--pep-color-weak",L.COLOR_TOP_LEGACY_KEY="--pep-color-legacy",L.COLOR_TOP_HEADER_KEY="--pep-color-top-header",L.STYLE_TOP_HEADER_KEY="--pep-style-top-header",L.COLOR_LOADER_KEY="--pep-color-loader",L.COLOR_QS_KEY="--pep-color-qs",L.STYLE_QS_KEY="--pep-style-qs",L.FONT_FAMILY_TITLE_KEY="--pep-font-family-title",L.FONT_FAMILY_TITLE_NORMAL_URL_KEY="--pep-font-family-title-normal-url",L.FONT_FAMILY_TITLE_BOLD_URL_KEY="--pep-font-family-title-bold-url",L.FONT_FAMILY_BODY_KEY="--pep-font-family-body",L.FONT_FAMILY_BODY_NORMAL_URL_KEY="--pep-font-family-body-normal-url",L.FONT_FAMILY_BODY_BOLD_URL_KEY="--pep-font-family-body-bold-url",L.BORDER_RADIUS_KEY="--pep-border-radius",L.BORDER_RADIUS_SM_KEY=L.BORDER_RADIUS_KEY+"-sm",L.BORDER_RADIUS_MD_KEY=L.BORDER_RADIUS_KEY+"-md",L.BORDER_RADIUS_LG_KEY=L.BORDER_RADIUS_KEY+"-lg",L.BORDER_RADIUS_XL_KEY=L.BORDER_RADIUS_KEY+"-xl",L.FONT_SIZE_2XS_KEY="--pep-font-size-2xs",L.FONT_SIZE_XS_KEY="--pep-font-size-xs",L.FONT_SIZE_SM_KEY="--pep-font-size-sm",L.FONT_SIZE_MD_KEY="--pep-font-size-md",L.FONT_SIZE_LG_KEY="--pep-font-size-lg",L.FONT_SIZE_XL_KEY="--pep-font-size-xl",L.FONT_SIZE_2XL_KEY="--pep-font-size-2xl",L.LINE_HEIGHT_2XS_KEY="--pep-line-height-2xs",L.LINE_HEIGHT_XS_KEY="--pep-line-height-xs",L.LINE_HEIGHT_SM_KEY="--pep-line-height-sm",L.LINE_HEIGHT_MD_KEY="--pep-line-height-md",L.LINE_HEIGHT_LG_KEY="--pep-line-height-lg",L.LINE_HEIGHT_XL_KEY="--pep-line-height-xl",L.LINE_HEIGHT_2XL_KEY="--pep-line-height-2xl",L.SHADOW_NONE_OFFSET_KEY="--pep-shadow-none-offset",L.SHADOW_XS_OFFSET_KEY="--pep-shadow-xs-offset",L.SHADOW_SM_OFFSET_KEY="--pep-shadow-sm-offset",L.SHADOW_MD_OFFSET_KEY="--pep-shadow-md-offset",L.SHADOW_LG_OFFSET_KEY="--pep-shadow-lg-offset",L.SHADOW_XL_OFFSET_KEY="--pep-shadow-xl-offset",L.SPACING_SIZE_2XS_KEY="--pep-spacing-2xs",L.SPACING_SIZE_XS_KEY="--pep-spacing-xs",L.SPACING_SIZE_SM_KEY="--pep-spacing-sm",L.SPACING_SIZE_MD_KEY="--pep-spacing-md",L.SPACING_SIZE_LG_KEY="--pep-spacing-lg",L.SPACING_SIZE_XL_KEY="--pep-spacing-xl",L.SPACING_SIZE_2XL_KEY="--pep-spacing-2xl",L.SPACING_SIZE_3XL_KEY="--pep-spacing-3xl",L.SPACING_SIZE_4XL_KEY="--pep-spacing-4xl",L.SPACING_SIZE_5XL_KEY="--pep-spacing-5xl",L.SPACING_SIZE_6XL_KEY="--pep-spacing-6xl",L.SPACING_SIZE_7XL_KEY="--pep-spacing-7xl",L.SPACING_SIZE_8XL_KEY="--pep-spacing-8xl",L.SPACING_SIZE_9XL_KEY="--pep-spacing-9xl",L.FORM_FIELD_HEIGHT_KEY="--pep-form-field-height",L.FORM_FIELD_TITLE_HEIGHT_KEY="--pep-form-field-title-height",L.FORM_FIELD_SPACEING_KEY="--pep-form-field-spacing",L.FORM_SPACEING_KEY="--pep-form-spacing",L.CARD_FIELD_HEIGHT_KEY="--pep-card-field-height",L.CARD_SPACEING_KEY="--pep-card-spacing",L.CARD_SHADOW_OFFSET_KEY="--pep-shadow-card-offset",L.CARD_BORDER_RADIUS_KEY="--pep-card-border-radius",L.TABLE_FIELD_HEIGHT_KEY="--pep-table-field-height",L.TABLE_SPACEING_KEY="--pep-table-spacing",L.TABLE_BORDER_RADIUS_KEY="--pep-table-border-radius",L.DEFAULT_HEADER_HEIGHT=64,L.DEFAULT_SPINNER_COLOR="#78aa00",L.DEFAULT_BRANDING_COLOR="#fff",L.\u0275fac=function(o){return new(o||L)(C.\u0275\u0275inject(Pi),C.\u0275\u0275inject(Li),C.\u0275\u0275inject(S.qu))},L.\u0275prov=C.\u0275\u0275defineInjectable({token:L,factory:L.\u0275fac,providedIn:"root"});let ta=(()=>{class l{constructor(){this.targets=new Map}addTarget(i,u){this.targets.set(i,u)}attach(i,u){const d=this.getTarget(i);d&&d.createEmbeddedView(u)}clear(i){const u=this.getTarget(i);u&&u.clear()}getTarget(i){return this.targets.has(i)?this.targets.get(i):null}}return l.\u0275fac=function(i){return new(i||l)},l.\u0275prov=C.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"}),l})(),no=(()=>{class l{constructor(){this._destroyed=new B.x}getDestroyer(){return(0,$.R)(this._destroyed)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}}return l.\u0275fac=function(i){return new(i||l)},l.\u0275dir=C.\u0275\u0275defineDirective({type:l}),l})();class ro{static pad4(o){let i=o.toString(16);for(;i.length<4;)i="0"+i;return i}static random4(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}static newGuid(){if(typeof window<"u"&&typeof window.crypto<"u"&&typeof window.crypto.getRandomValues<"u"){const o=new Uint16Array(8);return window.crypto.getRandomValues(o),this.pad4(o[0])+this.pad4(o[1])+"-"+this.pad4(o[2])+"-"+this.pad4(o[3])+"-"+this.pad4(o[4])+"-"+this.pad4(o[5])+this.pad4(o[6])+this.pad4(o[7])}return this.random4()+this.random4()+"-"+this.random4()+"-"+this.random4()+"-"+this.random4()+"-"+this.random4()+this.random4()+this.random4()}}var fs=(()=>{return(l=fs||(fs={}))[l.Default=0]="Default",l[l.TextBox=1]="TextBox",l[l.LimitedLengthTextBox=2]="LimitedLengthTextBox",l[l.TextArea=3]="TextArea",l[l.TextHeader=4]="TextHeader",l[l.Date=5]="Date",l[l.DateAndTime=6]="DateAndTime",l[l.NumberInteger=7]="NumberInteger",l[l.NumberReal=8]="NumberReal",l[l.Currency=9]="Currency",l[l.Boolean=10]="Boolean",l[l.ComboBox=11]="ComboBox",l[l.MultiTickBox=12]="MultiTickBox",l[l.Separator=13]="Separator",l[l.Address=14]="Address",l[l.Percentage=15]="Percentage",l[l.EmptyComboBox=16]="EmptyComboBox",l[l.InternalLink=17]="InternalLink",l[l.Email=18]="Email",l[l.LimitedDate=19]="LimitedDate",l[l.Image=20]="Image",l[l.MultiTickBoxToComboBox=21]="MultiTickBoxToComboBox",l[l.EmptyMultiTickBox=22]="EmptyMultiTickBox",l[l.Totals=23]="Totals",l[l.Attachment=24]="Attachment",l[l.Signature=25]="Signature",l[l.Link=26]="Link",l[l.ImageURL=27]="ImageURL",l[l.NumberIntegerQuantitySelector=28]="NumberIntegerQuantitySelector",l[l.NumberRealQuantitySelector=29]="NumberRealQuantitySelector",l[l.NumberIntegerForMatrix=30]="NumberIntegerForMatrix",l[l.NumberRealForMatrix=31]="NumberRealForMatrix",l[l.Images=32]="Images",l[l.Indicators=33]="Indicators",l[l.CalculatedReal=34]="CalculatedReal",l[l.CalculatedInt=35]="CalculatedInt",l[l.CalculatedString=36]="CalculatedString",l[l.CalculatedDate=37]="CalculatedDate",l[l.CalculatedBool=38]="CalculatedBool",l[l.MapDataDropDown=39]="MapDataDropDown",l[l.MapDataReal=40]="MapDataReal",l[l.MapDataString=41]="MapDataString",l[l.MapDataInt=42]="MapDataInt",l[l.Sum=43]="Sum",l[l.Phone=44]="Phone",l[l.UrlForApi=45]="UrlForApi",l[l.ManyToManyUrlForApi=46]="ManyToManyUrlForApi",l[l.ReferenceType=47]="ReferenceType",l[l.GuidReferenceType=48]="GuidReferenceType",l[l.Button=49]="Button",l[l.InternalPage=50]="InternalPage",l[l.Duration=51]="Duration",l[l.ListOfObjects=52]="ListOfObjects",l[l.Package=53]="Package",l[l.RelatedObjectsCards=54]="RelatedObjectsCards",l[l.BooleanText=55]="BooleanText",l[l.RichTextHTML=56]="RichTextHTML",fs;var l})(),Rr=(()=>{return(l=Rr||(Rr={}))[l.None=0]="None",l[l.Left=1]="Left",l[l.Right=2]="Right",l[l.Center=3]="Center",Rr;var l})(),hi=(()=>{return(l=hi||(hi={}))[l.None=0]="None",l[l.Top=1]="Top",l[l.Bottom=2]="Bottom",l[l.Center=3]="Center",hi;var l})();class na{constructor(o){Object.assign(this,o)}}class Tu{constructor(){this.MandatoryField=!1,this.Mandatory=!1,this.minFieldWidth=45,this.calcColumnWidth=10,this.calcTitleColumnWidthString="100%",this.calcColumnWidthString="100%"}}class al{}class Fi{}class Ni{constructor(){this.IsEditable=!0,this.IsSelected=!1,this.IsSelectableForActions=!0}}let ll=(()=>{class l{constructor(i,u){this.document=i,this.platformId=u,this.documentIsAccessible=(0,K.NF)(this.platformId)}check(i){return!!this.documentIsAccessible&&(i=encodeURIComponent(i),this.getCookieRegExp(i).test(this.document.cookie))}get(i){if(this.documentIsAccessible&&this.check(i)){i=encodeURIComponent(i);const d=this.getCookieRegExp(i).exec(this.document.cookie);return this.safeDecodeURIComponent(d[1])}return""}getAll(){if(!this.documentIsAccessible)return{};const i={},u=this.document;return u.cookie&&""!==u.cookie&&u.cookie.split(";").forEach(d=>{const[m,b]=d.split("=");i[this.safeDecodeURIComponent(m.replace(/^ /,""))]=this.safeDecodeURIComponent(b)}),i}set(i,u,d,m,b,P,ne="Lax"){if(!this.documentIsAccessible)return;let De=encodeURIComponent(i)+"="+encodeURIComponent(u)+";";d&&(De+="number"==typeof d?"expires="+new Date((new Date).getTime()+1e3*d*60*60*24).toUTCString()+";":"expires="+d.toUTCString()+";"),m&&(De+="path="+m+";"),b&&(De+="domain="+b+";"),!1===P&&"None"===ne&&(P=!0),P&&(De+="secure;"),De+="sameSite="+ne+";",this.document.cookie=De}delete(i,u,d,m,b="Lax"){!this.documentIsAccessible||this.set(i,"",new Date("Thu, 01 Jan 1970 00:00:01 GMT"),u,d,m,b)}deleteAll(i,u,d,m="Lax"){if(!this.documentIsAccessible)return;const b=this.getAll();for(const P in b)b.hasOwnProperty(P)&&this.delete(P,i,u,d,m)}getCookieRegExp(i){const u=i.replace(/([\[\]\{\}\(\)\|\=\;\+\?\,\.\*\^\$])/gi,"\\$1");return new RegExp("(?:^"+u+"|;\\s*"+u+")=(.*?)(?:;|$)","g")}safeDecodeURIComponent(i){try{return decodeURIComponent(i)}catch{return i}}}return l.\u0275fac=function(i){return new(i||l)(C.\u0275\u0275inject(K.K0,8),C.\u0275\u0275inject(C.PLATFORM_ID))},l.\u0275prov=C.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"}),l})(),ra=(()=>{class l{constructor(i,u,d){this.sessionService=i,this.cookieService=u,this.http=d,this.AUTH_HEADER="Authorization",this.PEPPERI_TOKEN_HEADER="PepperiSessionToken",this.WAPI_TOKEN_KEY="auth_token",this.PEPPERI_TOKEN_COOKIE="PepperiUserSettings"}handleError(i){let u="Unknown error!";return u=i.error instanceof ErrorEvent?`Error: ${i.error.message}`:this.getServerErrorMessage(i),(0,x._)(u)}getServerErrorMessage(i){if(i?.error?.fault?.faultstring)return`${i.error.fault.faultstring}`;switch(i.status){case 404:return`Not Found: ${i.message}`;case 403:return`Access Denied: ${i.message}`;case 500:return`Internal Server Error: ${i.message}`;default:return`Unknown Server Error\nError Code: ${i.status}\nMessage: ${i.message}`}}addAuthorizationToken(i={}){if(!i.headers.has(this.AUTH_HEADER)){const u=this.sessionService.getIdpToken();u&&(i.headers=i.headers.set(this.AUTH_HEADER,`Bearer ${u}`))}return i}addWebApiToken(i,u={}){if(!u.headers.has(this.PEPPERI_TOKEN_HEADER)){const d=this.sessionService.getWapiBaseUrl();if(d&&i.match(new RegExp(d,"g")))try{const m=this.cookieService.get(this.PEPPERI_TOKEN_COOKIE),b=JSON.parse(m).values.items[this.WAPI_TOKEN_KEY];b&&(u.headers=u.headers.set(this.PEPPERI_TOKEN_HEADER,b))}catch{}}return u}setDefaultHeaderOptions(i,u={}){return u.headers||(u.headers=new M.WM),u.headers.has("Content-Type")||(u.headers=u.headers.set("Content-Type","application/json")),u=this.addAuthorizationToken(u),this.addWebApiToken(i,u)}getHttpCall(i,u={}){return u=this.setDefaultHeaderOptions(i,u),this.http.get(i,u).pipe((0,H.K)(this.handleError.bind(this)))}postHttpCall(i,u,d={}){return d=this.setDefaultHeaderOptions(i,d),this.http.post(i,u,d).pipe((0,H.K)(this.handleError.bind(this)))}getWapiApiCall(i,u={}){const d=this.sessionService.getWapiBaseUrl();return this.getHttpCall(`${d}${i}`,u)}postWapiApiCall(i,u,d={}){const m=this.sessionService.getWapiBaseUrl();return this.postHttpCall(`${m}${i}`,u,d)}getPapiApiCall(i,u={}){const d=this.sessionService.getPapiBaseUrl();return this.getHttpCall(`${d}${i}`,u)}postPapiApiCall(i,u,d={}){const m=this.sessionService.getPapiBaseUrl();return this.postHttpCall(`${m}${i}`,u,d)}}return l.\u0275fac=function(i){return new(i||l)(C.\u0275\u0275inject(Pi),C.\u0275\u0275inject(ll),C.\u0275\u0275inject(M.eN))},l.\u0275prov=C.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"}),l})(),ul=(()=>{class l{constructor(i){this.http=i}createMultiTranslateLoader(i){return new el(this.http,i)}setDefaultTranslateLang(i,u="userLang"){let d="en";if(i.setDefaultLang(d),d=i.getBrowserLang().split("-")[0],u.length>0){const m=location.href.indexOf(u);if(m>-1){const b=m+u.length+1;d=location.href.substring(b,b+2)}}i.use(d).subscribe(m=>{})}}return l.\u0275fac=function(i){return new(i||l)(C.\u0275\u0275inject(M.eN))},l.\u0275prov=C.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"}),l})();class Yn{constructor(o,i,u,d,m,b,P){this.sessionService=o,this.httpService=i,this.loaderService=u,this.translateService=d,this.fileService=m,this.router=b,this.route=P,this.PAGES_ADDON_UUID="50062e0c-9967-4ed4-9102-f2bc50602d41",this.ADDONS_DICTIONARY_ASSETS_PATH_KEY="AddonsDictionaryAssetsPath",this.ADDON_API_RELATIVE_PATH="/addons/api",this.ADDON_API_ASYNC_RELATIVE_PATH=`${this.ADDON_API_RELATIVE_PATH}/async`}get devServer(){return!!this.route&&"true"===this.route.snapshot.queryParamMap.get("devServer")}getAddonBaseRelativePath(o=!1){return o?this.ADDON_API_ASYNC_RELATIVE_PATH:this.ADDON_API_RELATIVE_PATH}getAddonStaticFolder(o){const i=this.sessionService.getObject(this.ADDONS_DICTIONARY_ASSETS_PATH_KEY);return i&&i[o]?i[o]:""}setAddonStaticFolder(o,i){const u=this.sessionService.getObject(this.ADDONS_DICTIONARY_ASSETS_PATH_KEY)??{};u[i]=o,this.sessionService.setObject(this.ADDONS_DICTIONARY_ASSETS_PATH_KEY,u)}getServerBaseUrl(o,i="",u=!1,d=4500){const m=i.length>0?`/${i}`:"";return this.devServer?`http://localhost:${d}${m}`:`${this.sessionService.getPapiBaseUrl()}${this.getAddonBaseRelativePath(u)}/${o}${m}`}getAddonApiCall(o,i,u,d={},m=!1){const b=this.getServerBaseUrl(o,i,m);return this.httpService.getHttpCall(`${b}/${u}`,d)}postAddonApiCall(o,i,u,d={},m={},b=!1){const P=this.getServerBaseUrl(o,i,b);return this.httpService.postHttpCall(`${P}/${u}`,d,m)}getAddonCPICall(o,i){var u=this;return T(function*(){const d=yield u.emitEvent("AddonAPI",{AddonUUID:o,RelativeURL:i});if(d.Success)return JSON.parse(d.Value);throw new Error(d.Value)})()}postAddonCPICall(o,i,u){var d=this;return T(function*(){const m=yield d.emitEvent("AddonAPI",{AddonUUID:o,RelativeURL:i,Method:"POST",Body:u});if(m.Success)return JSON.parse(m.Value);throw new Error(m.Value)})()}emitEvent(o,i){return new Promise(u=>{window.dispatchEvent(new CustomEvent("emit-event",{detail:{eventKey:o,eventData:i,completion:u}}))})}fetch(o,i){return this.loaderService.show(),window.fetch(o,i).finally(()=>{this.loaderService.hide()})}getNgxLibTranslationResource(o,i="ngx-lib"){const u=this.getAddonStaticFolder(o);return{prefix:this.fileService.getAssetsTranslationsPath(u,i),suffix:this.fileService.getAssetsTranslationsSuffix(i)}}getAddonTranslationResource(o){const i=this.getAddonStaticFolder(o),u="assets/i18n/";return{prefix:i.length>0?`${i}${u}`:`/${u}`,suffix:".json"}}setDefaultTranslateLang(o,i="userLang"){this.translateService.setDefaultTranslateLang(o,i)}getPagesAddonUUID(){return this.PAGES_ADDON_UUID}setShellRouterData(o){const u=new CustomEvent("set-router-data",{detail:o});window.dispatchEvent(u)}defineCustomElement(o,i,u){customElements.get(o)||(customElements.define(o,function re(l,o){const i=function hn(l,o){return o.get(C.ComponentFactoryResolver).resolveComponentFactory(l).inputs}(l,o.injector),u=o.strategyFactory||new G(l,o.injector),d=function ze(l){const o={};return l.forEach(({propName:i,templateName:u})=>{o[function je(l){return l.replace(/[A-Z]/g,o=>`-${o.toLowerCase()}`)}(u)]=i}),o}(i);class m extends V{constructor(P){super(),this.injector=P}get ngElementStrategy(){if(!this._ngElementStrategy){const P=this._ngElementStrategy=u.create(this.injector||o.injector);i.forEach(({propName:ne})=>{if(!this.hasOwnProperty(ne))return;const De=this[ne];delete this[ne],P.setInputValue(ne,De)})}return this._ngElementStrategy}attributeChangedCallback(P,ne,De,ke){this.ngElementStrategy.setInputValue(d[P],De)}connectedCallback(){let P=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),P=!0),this.ngElementStrategy.connect(this),P||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(P=>{const ne=new CustomEvent(P.name,{detail:P.value});this.dispatchEvent(ne)})}}return m.observedAttributes=Object.keys(d),i.forEach(({propName:b})=>{Object.defineProperty(m.prototype,b,{get(){return this.ngElementStrategy.getInputValue(b)},set(P){this.ngElementStrategy.setInputValue(b,P)},configurable:!0,enumerable:!0})}),m}(i,{injector:u})),Yn._customElementsMap.set(o,{injector:u}))}connectInternalRouter(o){let u=Yn._customElementsMap.get(o)?.injector.get(_r);if(u||(u=this.router),u){const d=location.href.includes("#");this.connectRouter(u,d)}}connectRouter(o,i=!1){let u;i?(u=`${location.hash.substr(1)}${location.search}`,o.navigateByUrl(u),window.addEventListener("hashchange",()=>{o.navigateByUrl(u)})):(u=`${location.pathname.substr(1)}${location.search}`,o.navigateByUrl(u),window.addEventListener("popstate",()=>{o.navigateByUrl(u)}))}static createMultiTranslateLoader(o,i,u=["ngx-lib"]){const d=[];if(u?.length>0)for(let b=0;b<u.length;b++)d.push(i.getNgxLibTranslationResource(o,u[b]));const m=i.getAddonTranslationResource(o);return i.translateService.createMultiTranslateLoader([...d,m])}}Yn._customElementsMap=new Map,Yn.\u0275fac=function(o){return new(o||Yn)(C.\u0275\u0275inject(Pi),C.\u0275\u0275inject(ra),C.\u0275\u0275inject(Zo),C.\u0275\u0275inject(ul),C.\u0275\u0275inject(Li),C.\u0275\u0275inject(_r,8),C.\u0275\u0275inject(bn,8))},Yn.\u0275prov=C.\u0275\u0275defineInjectable({token:Yn,factory:Yn.\u0275fac,providedIn:"root"});let cl=(()=>{class l{constructor(){this.FLOAT_REGEX=/^\d+(\.\d+)?$/,this.THREE_DIGIT_HEX_COLOR_REGEX=/^[0-9a-fA-F]{3}$/,this.THREE_DIGIT_HEX_COLOR_WITH_HASH_REGEX=/^#[0-9a-fA-F]{3}$/,this.SIX_DIGIT_HEX_COLOR_REGEX=/^[0-9a-fA-F]{6}$/,this.SIX_DIGIT_HEX_COLOR_WITH_HASH_REGEX=/^#[0-9a-fA-F]{6}$/}contrast(i,u){const d=this.relativeLuminance(this.hex2rgb(i)),m=this.relativeLuminance(this.hex2rgb(u));return d<m?(m+.05)/(d+.05):(d+.05)/(m+.05)}findClosestAccessibleDarkerColor(i,u,d){const{h:m,s:b,l:P}=this.hex2hsl(i);if(this.contrast(i,u)>=d)return{color:i,lightness:P};let ne=this.hsl2hex({h:m,s:b,l:0});if(this.contrast(ne,u)<d)return null;let Ct,Tt,Vt,De=0,ke=P,Ve=this.hsl2hex({h:m,s:b,l:P});for(;ne!==Ct||Ve!==Tt;)Ct=ne,Tt=Ve,Vt=(De+ke)/2,i=this.hsl2hex({h:m,s:b,l:Vt}),this.contrast(i,u)<d?(ke=Vt,Ve=this.hsl2hex({h:m,s:b,l:Vt})):(De=Vt,ne=this.hsl2hex({h:m,s:b,l:Vt}));return{color:ne,lightness:De}}findClosestAccessibleLighterColor(i,u,d){const{h:m,s:b,l:P}=this.hex2hsl(i);if(this.contrast(i,u)>=d)return{color:i,lightness:P};let ne=this.hsl2hex({h:m,s:b,l:100});if(this.contrast(ne,u)<d)return null;let Ct,Tt,Vt,De=P,ke=100,Ve=this.hsl2hex({h:m,s:b,l:P});for(;Ve!==Ct||ne!==Tt;)Ct=Ve,Tt=ne,Vt=(De+ke)/2,i=this.hsl2hex({h:m,s:b,l:Vt}),this.contrast(i,u)<d?(De=Vt,Ve=this.hsl2hex({h:m,s:b,l:Vt})):(ke=Vt,ne=this.hsl2hex({h:m,s:b,l:Vt}));return{color:ne,lightness:ke}}hex2sixDigitHex(i){return i?(i=i.trim(),this.SIX_DIGIT_HEX_COLOR_WITH_HASH_REGEX.test(i)?i:this.SIX_DIGIT_HEX_COLOR_REGEX.test(i)?"#"+i:this.THREE_DIGIT_HEX_COLOR_WITH_HASH_REGEX.test(i)?"#"+i[1]+i[1]+i[2]+i[2]+i[3]+i[3]:this.THREE_DIGIT_HEX_COLOR_REGEX.test(i)?"#"+i[0]+i[0]+i[1]+i[1]+i[2]+i[2]:null):null}rgb2sixDigitHex(i){return i?(i.r=i.r.toString(16),i.g=i.g.toString(16),i.b=i.b.toString(16),1===i.r.length&&(i.r="0"+i.r),1===i.g.length&&(i.g="0"+i.g),1===i.b.length&&(i.b="0"+i.b),"#"+i.r+i.g+i.b):null}hex2rgb(i){if(!i)return null;const u=this.hex2sixDigitHex(i);return null===u?null:{r:parseInt(u.slice(1,3),16),g:parseInt(u.slice(3,5),16),b:parseInt(u.slice(5,7),16)}}rgbString2hsl(i){if(!i)return null;const u=i.indexOf(",")>-1?",":" ",d=i.substr(4).split(")")[0].split(u),m=d[0],b=d[1].substr(0,d[1].length).trim(),P=d[2].substr(0,d[2].length).trim();return this.rgb2hsl({r:m,g:b,b:P})}rgb2hsl({r:i,g:u,b:d}){i/=255,u/=255,d/=255;const m=Math.min(i,u,d),b=Math.max(i,u,d),P=b-m;let ne=0,De=0,ke=0;return ne=0===P?0:b===i?(u-d)/P%6:b===u?(d-i)/P+2:(i-u)/P+4,ne=Math.round(60*ne),ne<0&&(ne+=360),ke=(b+m)/2,De=0===P?0:P/(1-Math.abs(2*ke-1)),De=+(100*De).toFixed(1),ke=+(100*ke).toFixed(1),{h:ne,s:De,l:ke}}hslString2hsl(i){if(!i)return null;const u=i.indexOf(",")>-1?",":" ",d=i.substr(4).split(")")[0].split(u);let m=d[0],b=d[1].substr(0,d[1].length).trim(),P=d[2].substr(0,d[2].length).trim();return m.indexOf("deg")>-1?m=m.substr(0,m.length-3):m.indexOf("rad")>-1?m=Math.round(m.substr(0,m.length-3)*(180/Math.PI)):m.indexOf("turn")>-1&&(m=Math.round(360*m.substr(0,m.length-4))),m>=360&&(m%=360),b.indexOf("%")>-1&&(b=b.replace(/%/g,"")),P.indexOf("%")>-1&&(P=P.replace(/%/g,"")),{h:m,s:b,l:P}}hsl2rgb({h:i,s:u,l:d}){let m,b,P;isFinite(i)||(i=0),isFinite(u)||(u=0),isFinite(d)||(d=0),(i/=60)<0&&(i=6- -i%6),i%=6,u=Math.max(0,Math.min(1,u/100)),d=Math.max(0,Math.min(1,d/100));const ne=(1-Math.abs(2*d-1))*u,De=ne*(1-Math.abs(i%2-1));i<1?(m=ne,b=De,P=0):i<2?(m=De,b=ne,P=0):i<3?(m=0,b=ne,P=De):i<4?(m=0,b=De,P=ne):i<5?(m=De,b=0,P=ne):(m=ne,b=0,P=De);const ke=d-ne/2;return m=Math.round(255*(m+ke)),b=Math.round(255*(b+ke)),P=Math.round(255*(P+ke)),{r:m,g:b,b:P}}hex2hsl(i){if(!i)return null;const u=this.hex2sixDigitHex(i);if(null===u)return null;const d=this.hex2rgb(u);return null===d?null:this.rgb2hsl(d)}hsl2hex(i){if(!i)return null;const u=this.hsl2rgb(i);return this.rgb2sixDigitHex(u)}relativeLuminance({r:i,g:u,b:d}){return[i,u,d]=[i,u,d].map(m=>(m/=255)<=.03928?m/12.92:Math.pow((m+.055)/1.055,2.4)),.2126*i+.7152*u+.0722*d}findClosestAccessibleColor(i,u,d){const m=this.findClosestAccessibleDarkerColor(i,u,d),b=this.findClosestAccessibleLighterColor(i,u,d);if(null===m)return null===b?null:b.color;if(null===b)return m.color;const{l:P}=this.hex2hsl(i);return b.lightness-P<P-m.lightness?b.color:m.color}convertHslToStringHsl(i){return"hsl("+(i.h<0?i.h+360:i.h)+", "+i.s+"%, "+i.l+"%)"}lightOrDark(i){let u,d,m;return i.match(/^rgb/)?(u=(i=i.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/))[1],d=i[2],m=i[3]):(u=(i=+("0x"+i.slice(1).replace(i.length<5&&/./g,"$&$&")))>>16,d=i>>8&255,m=255&i),Math.sqrt(u*u*.299+d*d*.587+m*m*.114)>127.5?"light":"dark"}}return l.\u0275fac=function(i){return new(i||l)},l.\u0275prov=C.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"}),l})(),sf=(()=>{class l{getUiControl(i){const u=new al;if(i?.Fields?.length>0){const d=i.Fields;u.ControlFields=[],d.forEach(m=>u.ControlFields.push(this.setUIControlField(m)))}return u}convertFormData(i){const u=new Ni;return u.Fields=[],u.Type=0,u.UID=ro.newGuid(),i.Fields.forEach(d=>u.Fields.push(this.setDataField(d))),u}convertListData(i,u=""){const d=new Array;return i.length>0&&i.forEach(m=>{const b=new Ni;b.Fields=[],b.Type=0,b.UID=u||(m.UUID?m.UUID:ro.newGuid()),!1===m.IsEditable&&(b.IsEditable=!1),!1===m.IsSelectableForActions&&(b.IsSelectableForActions=!1),m.IsSelected&&(b.IsSelected=!0),m.Fields.forEach(P=>b.Fields.push(this.setDataField(P))),d.push(b)}),d}setUIControlField(i){const u=new Tu;return u.ApiName=i.ApiName,u.FieldType=i.FieldType,u.Layout=new na({X:1,Width:1,XAlignment:i.XAlignment,Y:1,Height:1,YAlignment:1}),u.Title=i.Title,u.ReadOnly=!0===i.ReadOnly,u.ColumnWidth=i.ColumnWidth,u.ColumnWidthType=i.ColumnWidthType||1,u}setDataField(i){const u=new Fi;return u.AdditionalValue=i.AdditionalValue,u.ApiName=i.ApiName,u.Enabled=!1!==i.Enabled,u.FieldType=i.FieldType,u.FormattedValue=i.FormattedValue||i.Value.toString(),u.GroupFields=null,u.NotificationInfo="",u.OptionalValues=i.OptionalValues,u.ReferenceObjectSubType="",u.TextColor="",u.Value=i.Value.toString(),u.Visible=!0,u}setFieldLayout(i,u,d,m,b,P,ne){return new na({X:i,Width:u,XAlignment:d,Y:m,Height:b,YAlignment:P,LineNumber:ne})}}return l.\u0275fac=function(i){return new(i||l)},l.\u0275prov=C.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"}),l})(),ia=(()=>{class l{constructor(i=null){this.translate=i,this.integerUnsigned="^[0-9]*$",this.integerSigned="^-?[0-9]+$",this.decimalUnsigned="^[0-9]+(.[0-9]+)?$",this.decimalSigned="^-?[0-9]+(.[0-9]+)?$",this.phone="^[+]*[(]{0,1}[0-9]{1,4}[)]{0,1}[-s./0-9]*$",this.decimalSeparator=".";const u=this.translate?.currentLang||navigator.language,d=new Intl.NumberFormat(u,{maximumSignificantDigits:2}).format(1e3);this.decimalSeparator=1===d.indexOf(",")?".":",",this.decimalUnsigned=`^[0-9]+(${this.decimalSeparator}[0-9]+)?$`,this.decimalSigned=`^-?[0-9]+(${this.decimalSeparator}[0-9]+)?$`}isEqual(i){return u=>u.value&&i.value!==u.value?{equal:{value:!0}}:null}isGreaterThan(i){return u=>{if(u.value&&"number"==typeof i.value)return i.value>u.value?{greater:{value:!0}}:null;if(u.value&&"string"==typeof i.value){const d=(0,X.su)(u.value);return(0,X.su)(i.value)>d?{greater:{value:!0}}:null}return null}}isLessThan(i){return u=>{if(u.value&&"number"==typeof i.value)return i.value<u.value?{less:{value:!0}}:null;if(u.value&&"string"==typeof i.value){const d=(0,X.su)(u.value);return(0,X.su)(i.value)<d?{less:{value:!0}}:null}return null}}checkEmails(i){return u=>{if(u.value){const d=u.value.split(i||","),m=new S.NI("",[S.kI.required,S.kI.email]);return d.every(P=>(m.setValue(P),m.valid))?null:{emails:{value:!0}}}return null}}zipCodeValidator(){return S.kI.pattern(/^(\d{5}(-\d{4})?|[A-Z]\d[A-Z] *\d[A-Z]\d)$/)}allowableCharactersValidator(){return S.kI.pattern(/^[a-zA-Z0-9`~!@#$%^&*()_+}{|":?><,./;'\\\]\[=\- ]+$/)}allowableCharactersWithoutNumberValidator(){return S.kI.pattern(/^[a-zA-Z`~!@#$%^&*()_+}{|":?><,./;'\\\]\[=\- ]+$/)}allowableCharactersWithoutSpecialValidator(){return S.kI.pattern(/^[a-zA-Z0-9 ]+$/)}dateValidator(){return S.kI.pattern(/^(?:(0[1-9]|1[012])[\/.](0[1-9]|[12][0-9]|3[01])[\/.](19|20)[0-9]{2})$/)}numberValidator(){return S.kI.pattern(/^[0-9]*$/)}validateNumber(i,u){let d;return d=u?this.decimalSigned:this.integerSigned,i.charAt(0)==this.decimalSeparator&&(i=0+i),i.charAt(i.length-1)==this.decimalSeparator&&(i+=0),new RegExp(d).test(i)?i:null}validatePhone(i){return new RegExp(this.phone).test(i)}getName(i){if(i.key)return i.key;if(i.keyCode&&String.fromCharCode)switch(i.keyCode){case 8:return"Backspace";case 9:return"Tab";case 27:return"Escape";case 37:return"ArrowLeft";case 39:return"ArrowRight";case 188:return",";case 190:return".";case 109:case 173:case 189:return"-";default:return String.fromCharCode(i.keyCode)}}allowKeyboardNonNumericCharacters(i,u,d){return!!(-1!=["Backspace","ArrowLeft","ArrowRight","Escape","Tab","Home","End","Delete"].indexOf(u)||-1!=i.indexOf(u)||"a"==u&&d||"c"==u&&d||"v"==u&&d||"x"==u&&d||u.startsWith("F"))}isPhone(i){const u=this.getName(i);return!!this.allowKeyboardNonNumericCharacters([".","-","+","(",")","*","#"],u,!0===i.ctrlKey||!0===i.metaKey)||new RegExp(this.phone).test(u)}isNumber(i,u){const d=i.target.selectionStart,m=i.target.value,b=this.getName(i),P=!0===i.ctrlKey||!0===i.metaKey,ne=m.includes("-"),De=m.includes(this.decimalSeparator),ke=[];u&&!(ne&&d<=1)&&!De&&ke.push("."==this.decimalSeparator?".":",");const Ct=m.charAt(0)!=this.decimalSeparator;return!ne&&Ct&&0==d&&ke.push("-"),!!this.allowKeyboardNonNumericCharacters(ke,b,P)||new RegExp(this.integerUnsigned).test(b)}}return l.\u0275fac=function(i){return new(i||l)(C.\u0275\u0275inject(W.sK,8))},l.\u0275prov=C.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"}),l})(),xu=(()=>{class l{constructor(){this.styleTag=this.buildStyleElement()}disable(){document.body.appendChild(this.styleTag)}enable(){document.body.removeChild(this.styleTag)}buildStyleElement(){const i=document.createElement("style");return i.type="text/css",i.setAttribute("data-debug","Injected by WindowScrolling service."),i.textContent="\n body {\n overflow: hidden !important ;\n }\n ",i}}return l.\u0275fac=function(i){return new(i||l)},l.\u0275prov=C.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"}),l})();const hs="left",io="top";class Ut{constructor(o={}){this.key=o.key||"",this.label=o.label||"",this.accessory=o.accessory||"",this.mandatory=!!o.mandatory,this.order=o.order??1,this.controlType=o.controlType||"",this.placeholder=o.placeholder||"",this.hidden=!!o.hidden,this.row=o.row??1,this.rowSpan=o.rowSpan??1,this.col=o.col??1,this.colSpan=o.colSpan??1,this.xAlignment=o.xAlignment??hs,this.yAlignment=o.yAlignment??io,this.maxFieldCharacters=o.maxFieldCharacters??0,this.minValue=o.minValue??0,this.maxValue=o.maxValue??0,this.update(o)}getBaseValidators(o=!1){const i=[];return i.push(!this.mandatory||this.readonly||this.disabled?S.kI.nullValidator:o?S.kI.requiredTrue:S.kI.required),this.maxFieldCharacters>0&&i.push(S.kI.maxLength(this.maxFieldCharacters)),i}getValidators(){return this.getBaseValidators()}update(o){this.value=o.value,this.formattedValue=o.formattedValue,this.additionalValue=o.additionalValue,this.readonly=!!o.readonly,this.disabled=!!o.disabled,this.visible=!!o.visible,this.textColor=o.textColor||""}}class Ou extends Ut{constructor(o={}){super(o),this.controlType="placeholder"}}class Pu extends Ut{constructor(o={}){super(o),this.controlType="separator"}}class af extends Ut{constructor(o={}){super(o),this.controlType="attachment"}}class so extends Ut{constructor(o={}){super(o),this.controlType="indicators"}}class sa extends Ut{constructor(o={}){super(o),this.controlType="textbox",this.type="text",this.digitsNumberAfterDecimalPoint=NaN,this.type=o.type||"text",this.regex=o.regex??null,this.update(o)}update(o){super.update(o),this.digitsNumberAfterDecimalPoint=o.digitsNumberAfterDecimalPoint??NaN,"link"===this.type&&(this.formattedValue=this.disabled&&this.formattedValue&&this.value?this.formattedValue:this.value)}getValidators(){const o=super.getBaseValidators();return"email"===this.type?o.push(S.kI.pattern(/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/)):"phone"===this.type?o.push(S.kI.pattern(/^[\d\.\-\+\(\)\*\#]+$/)):"int"===this.type||"real"===this.type?(o.push(S.kI.pattern(/^[\.,\-\+\d]+$/)),isNaN(this.minValue)||o.push(S.kI.min(this.minValue)),isNaN(this.maxValue)||o.push(S.kI.max(this.maxValue))):("currency"===this.type||"percentage"===this.type)&&(isNaN(this.minValue)||o.push(S.kI.min(this.minValue)),isNaN(this.maxValue)||o.push(S.kI.max(this.maxValue))),"text"===this.type&&this.regex&&o.push(S.kI.pattern(this.regex)),o}}class fl extends Ut{constructor(o={}){super(o),this.controlType="link",this.type="link",this.update(o)}update(o){super.update(o)}}class hl extends Ut{constructor(o={}){super(o),this.controlType="textarea"}}class pl extends Ut{constructor(o={}){super(o),this.controlType="richhtmltextarea",this.renderTitle=void 0===o.renderTitle||o.renderTitle,this.renderEnlargeButton=void 0===o.renderEnlargeButton||o.renderEnlargeButton}}class pi extends Ut{constructor(o={}){super(o),this.controlType="signature",this.options=[],this.options=o.options||[]}}class Lu extends Ut{constructor(o={}){super(o),this.controlType="image",this.hasCampaignField=null,this.indicatorsField=null,this.menuField=null,this.options=[],this.sizeLimitMB=5,this.hasCampaignField=o.hasCampaignField||null,this.indicatorsField=o.indicatorsField||null,this.menuField=o.menuField||null,this.options=o.options||[],this.sizeLimitMB=o.sizeLimitMB||5}}class Fu extends Ut{constructor(o={}){super(o),this.controlType="images",this.options=[],this.options=o.options||[]}}class Nu extends Ut{constructor(o={}){super(o),this.controlType="qs",this.notificationInfo={},this.digitsNumberAfterDecimalPoint=NaN,this.updatedDataCount=0,this.type=o.type||"qs",this.update(o)}update(o){super.update(o),this.digitsNumberAfterDecimalPoint=o.digitsNumberAfterDecimalPoint??NaN,this.allowDecimal=o.allowDecimal||!1,this.notificationInfo=o.notificationInfo,this.updatedDataCount+=1}}class Vu extends Ut{constructor(o={}){super(o),this.controlType="date",this.type=o.type||"date"}getValidators(){const o=super.getBaseValidators();return isNaN(this.minValue)||o.push(S.kI.min(this.minValue)),isNaN(this.maxValue)||o.push(S.kI.max(this.maxValue)),o}}class Bu extends Ut{constructor(o={}){super(o),this.controlType="checkbox",this.type=o.type||"checkbox"}getValidators(){return super.getBaseValidators(!0)}}class xr extends Ut{constructor(o={}){super(o),this.controlType="select",this.options=[],this.type=o.type||"select",this.emptyOption=o.emptyOption,this.update(o)}update(o){super.update(o),this.options=o.options||[]}}class Vi extends Ut{constructor(o={}){super(o),this.controlType="address",this.groupFields=null,this.groupFields=o.groupFields||null}}class gl extends Ut{constructor(o={}){super(o),this.controlType="button",this.referenceObjectSubType="",this.referenceObjectInternalType="",this.referenceObjectType=o.referenceObjectType||null,this.referenceObjectSubType=o.referenceObjectSubType||null,this.referenceObjectInternalType=o.referenceObjectInternalType||null,this.type=o.type||"button"}}class ku extends Ut{constructor(o={}){super(o),this.controlType="internalPage",this.objectId="",this.parentId="",this.searchCode="",this.objectId=o.objectId||"",this.parentId=o.parentId||"",this.searchCode=o.searchCode||""}}class ju extends Ut{constructor(o={}){super(o),this.controlType="internalCarusel",this.searchCode="",this.searchCode=o.searchCode||"",this.update(o)}update(o){super.update(o),this.pageInfo=o.pageInfo}}class Hu extends Ut{constructor(o={}){super(o),this.controlType="menu",this.options=[],this.options=o.options||[]}}let Uu=(()=>{class l{scrollElementTo(i,u=500,d=0){const m=new B.x;return i instanceof Element||i instanceof Window?this._scrollElementTo(i,u,d,m):m.error("I don't find element"),m}_scrollElementTo(i,u,d,m){if(i){let b;b=i instanceof Window?window.pageYOffset:i.getBoundingClientRect().top,this.doScrolling(i,b,d,u,m)}else m.error("I don't find element");return m}scrollWindowToElement(i,u=500,d=0){const m=new B.x;if("string"==typeof i){const b=document.querySelector(i);this._scrollWindowToElement(b,u,d,m)}else i instanceof HTMLElement?this._scrollWindowToElement(i,u,d,m):m.error("I don't find element");return m}_scrollWindowToElement(i,u,d,m){if(i){const b=i.getBoundingClientRect(),P=window.pageYOffset;this.doScrolling(window,P,b.top+P+d,u,m)}else m.error("I don't find element");return m}doScrolling(i,u,d,m,b){const P=d-u;let ne;requestAnimationFrame(function De(ke){ne=ne||ke;const Ve=ke-ne,Ct=Math.min(Ve/m,1);i.scrollTo(0,u+P*Ct),Ve<m?(requestAnimationFrame(De),b.next({})):b.complete()})}}return l.\u0275fac=function(i){return new(i||l)},l.\u0275prov=C.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"}),l})(),zu=(()=>{class l{}return l.\u0275fac=function(i){return new(i||l)},l.\u0275mod=C.\u0275\u0275defineNgModule({type:l}),l.\u0275inj=C.\u0275\u0275defineInjector({providers:[tl,Yn,cl,ll,sf,Li,qs,Pi,ul,us,ia,xu,L,ra,Zo,Qo,ta,Uu,S.qu],imports:[K.ez,M.JF,S.UX,W.aw]}),l})()},7582:(ge,I,_)=>{"use strict";function Z(pe,G,de,V){return new(de||(de=Promise))(function(oe,Ie){function be(ft){try{Ge(V.next(ft))}catch(Et){Ie(Et)}}function st(ft){try{Ge(V.throw(ft))}catch(Et){Ie(Et)}}function Ge(ft){ft.done?oe(ft.value):function re(oe){return oe instanceof de?oe:new de(function(Ie){Ie(oe)})}(ft.value).then(be,st)}Ge((V=V.apply(pe,G||[])).next())})}function me(pe){return this instanceof me?(this.v=pe,this):new me(pe)}function _e(pe,G,de){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var re,V=de.apply(pe,G||[]),oe=[];return re={},Ie("next"),Ie("throw"),Ie("return"),re[Symbol.asyncIterator]=function(){return this},re;function Ie(ot){V[ot]&&(re[ot]=function(ht){return new Promise(function(Pt,$t){oe.push([ot,ht,Pt,$t])>1||be(ot,ht)})})}function be(ot,ht){try{!function st(ot){ot.value instanceof me?Promise.resolve(ot.value.v).then(Ge,ft):Et(oe[0][2],ot)}(V[ot](ht))}catch(Pt){Et(oe[0][3],Pt)}}function Ge(ot){be("next",ot)}function ft(ot){be("throw",ot)}function Et(ot,ht){ot(ht),oe.shift(),oe.length&&be(oe[0][0],oe[0][1])}}function rt(pe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var de,G=pe[Symbol.asyncIterator];return G?G.call(pe):(pe=function ee(pe){var G="function"==typeof Symbol&&Symbol.iterator,de=G&&pe[G],V=0;if(de)return de.call(pe);if(pe&&"number"==typeof pe.length)return{next:function(){return pe&&V>=pe.length&&(pe=void 0),{value:pe&&pe[V++],done:!pe}}};throw new TypeError(G?"Object is not iterable.":"Symbol.iterator is not defined.")}(pe),de={},V("next"),V("throw"),V("return"),de[Symbol.asyncIterator]=function(){return this},de);function V(oe){de[oe]=pe[oe]&&function(Ie){return new Promise(function(be,st){!function re(oe,Ie,be,st){Promise.resolve(st).then(function(Ge){oe({value:Ge,done:be})},Ie)}(be,st,(Ie=pe[oe](Ie)).done,Ie.value)})}}}_.d(I,{FC:()=>_e,KL:()=>rt,mG:()=>Z,qq:()=>me}),"function"==typeof SuppressedError&&SuppressedError},6316:ge=>{"use strict";ge.exports=JSON.parse('{"UserHomePage":{"Type":"Menu"},"UserHomePageQuickAction":{"Type":"Menu"},"WebAppMainBar":{"Type":"Configuration"},"OrderMenu":{"Type":"Menu","Object":{"Resource":"transactions"}},"OrderVariantViewsMenu":{"Type":"Menu","Object":{"Resource":"transactions"}},"OrderViewsMenu":{"Type":"Menu","Object":{"Resource":"transactions"}},"OrderCenterUserSort":{"Type":"Menu","Object":{"Resource":"transactions"}},"OrderCenterMenu":{"Type":"Menu","Object":{"Resource":"transactions"}},"OrderDetailsMenu":{"Type":"Menu","Object":{"Resource":"transactions"}},"OrderDynamicViewsMenu":{"Type":"Menu","Object":{"Resource":"transactions"}},"SmartSearch":{"Type":"Configuration","Object":{}},"OrderCenterSearch":{"Type":"Menu","Object":{"Resource":"transactions"}},"OrderCartSmartSearch":{"Type":"Configuration","Object":{"Resource":"transactions"}},"OrderTopLevelFilters":{"Type":"Menu","Object":{"Resource":"transactions"}},"OrderLineMenu":{"Type":"Menu","Object":{"Resource":"transactions"}},"CartLineMenu":{"Type":"Menu","Object":{"Resource":"transactions"}},"CartBulkMenu":{"Type":"Menu","Object":{"Resource":"transactions"}},"OrderCenterMatrixAdditionalValues":{"Type":"Menu","Object":{"Resource":"transactions"}},"OrderCenterView1":{"Type":"Card","ListData":true,"Object":{"Resource":"transactions"}},"OrderCenterView2":{"Type":"Card","ListData":true,"Object":{"Resource":"transactions"}},"OrderCenterView3":{"Type":"Card","ListData":true,"Object":{"Resource":"transactions"}},"OrderCenterItemFullPage":{"Type":"Large","ListData":true,"Object":{"Resource":"transactions"}},"OrderCenterMatrix":{"Type":"Grid","ListData":true,"Object":{"Resource":"transactions"}},"OrderCenterVariant":{"Type":"Large","ListData":true,"Object":{"Resource":"transactions"}},"OrderCenterVariantCard":{"Type":"Card","Object":{"Resource":"transactions"}},"OrderCenterFlatMatrixLine":{"Type":"Line","ListData":true,"Object":{"Resource":"transactions"}},"OrderCenterGrid":{"Type":"Grid","ListData":true,"Object":{"Resource":"transactions"}},"OrderCenterFlatMatrixGrid":{"Type":"Grid","ListData":true,"Object":{"Resource":"transactions"}},"OrderCenterBarcodeGridline":{"Type":"Grid","ListData":true,"Object":{"Resource":"transactions"}},"OrderCenterBarcodeLinesView":{"Type":"Card","ListData":true,"Object":{"Resource":"transactions"}},"OrderCenterSplitFlatGrid":{"Type":"Grid","ListData":true,"Object":{"Resource":"transactions"}},"OrderCenterItemDetails":{"Type":"Form","Object":{"Resource":"transactions"}},"OrderCartGrid":{"Type":"Grid","ListData":true,"Object":{"Resource":"transactions"}},"OrderCartView1":{"Type":"Card","ListData":true,"Object":{"Resource":"transactions"}},"OrderCartItemForm":{"Type":"Form","Object":{"Resource":"transactions"}},"OrderHeaderPDF":{"Type":"Form","Object":{"Resource":"transactions"}},"OrderFooterPDF":{"Type":"Form","Object":{"Resource":"transactions"}},"OrderCartPDF":{"Type":"Form","ListData":true,"Object":{"Resource":"transactions"}},"CartTitle":{"Type":"Card","Object":{"Resource":"transactions"}},"OrderCartClosedFooter":{"Type":"Card","Object":{"Resource":"transactions"}},"OrderCenterClosedFooter":{"Type":"Card","Object":{"Resource":"transactions"}},"OrderForm":{"Type":"Form","Object":{"Resource":"transactions"}},"OrderSummary":{"Type":"Form","Object":{"Resource":"transactions"}},"OrderCartOpenedFooter":{"Type":"Card","Object":{"Resource":"transactions"}},"OrderBanner":{"Type":"Card","Object":{"Resource":"transactions"}},"OrderCenterItemDetailsFooter":{"Type":"Card","Object":{"Resource":"transactions"}},"OnlineAction":{"Type":"Configuration","Object":{"Resource":"transactions"}},"OrderCopy":{"Type":"Configuration","Object":{"Resource":"transactions"}},"OrderItemCopy":{"Type":"Configuration","Object":{"Resource":"transactions"}},"OrderCopyToAccount":{"Type":"Configuration","Object":{"Resource":"transactions"}},"OrderItemCopyToAccount":{"Type":"Configuration","Object":{"Resource":"transactions"}},"OrderCreationRule":{"Type":"Configuration","Object":{"Resource":"transactions"}},"OrderSubmissionRule":{"Type":"Configuration","Object":{"Resource":"transactions"}},"OrderAwaitingApprovalRule":{"Type":"Configuration","Object":{"Resource":"transactions"}},"OrderRevisingRule":{"Type":"Configuration","Object":{"Resource":"transactions"}},"OrderPaidRule":{"Type":"Configuration","Object":{"Resource":"transactions"}},"WorkflowProfilePermission":{"Type":"Menu","Object":{}},"Workflow":{"Type":"Configuration","Object":{}},"ActivityCreationRule":{"Type":"Configuration","Object":{"Resource":"activities"}},"ActivityForm":{"Type":"Form","Object":{"Resource":"activities"}},"ActivityMenu":{"Type":"Menu","Object":{"Resource":"activities"}},"ActivityPDF":{"Type":"Form","Object":{"Resource":"activities"}},"ActivityPlanningForm":{"Type":"Form","Object":{"Resource":"activities"}},"ActivitySubmissionRule":{"Type":"Configuration","Object":{"Resource":"activities"}},"ActivityProfilePermission":{"Type":"Configuration","Object":{"Resource":"activities"}}}')}},ge=>{ge(ge.s=9496)}]);