@duplicati/ngclient 0.0.1 → 0.0.5

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 (197) hide show
  1. package/chunk-2DCEAXBG.js +1 -0
  2. package/chunk-2WYEYW3N.js +1 -0
  3. package/chunk-43IMNGQL.js +1 -0
  4. package/chunk-63RKHEAK.js +1 -0
  5. package/chunk-6HCEXB2Z.js +1 -0
  6. package/chunk-7POJIDMZ.js +1 -0
  7. package/chunk-7PZ2UDVE.js +1 -0
  8. package/chunk-AYLGFKRR.js +1 -0
  9. package/chunk-BFEHLVAY.js +1 -0
  10. package/chunk-BHHWIMLQ.js +1 -0
  11. package/chunk-BOT7P6RM.js +1 -0
  12. package/chunk-BRNQESTL.js +1 -0
  13. package/chunk-EIZWLO2R.js +2 -0
  14. package/chunk-EJZT4TGZ.js +1 -0
  15. package/chunk-F3A4UEZK.js +1 -0
  16. package/chunk-GAT3R5MA.js +2 -0
  17. package/chunk-GBVLF3BS.js +1 -0
  18. package/chunk-GY2VPOAT.js +1 -0
  19. package/chunk-HHIFLECY.js +1 -0
  20. package/chunk-IMLDBH2T.js +1 -0
  21. package/chunk-IOM7KF2W.js +1 -0
  22. package/chunk-J6KTHSHX.js +1 -0
  23. package/chunk-JRXXG6O7.js +1 -0
  24. package/chunk-LD5EWOQM.js +1 -0
  25. package/chunk-LT6J7X37.js +1 -0
  26. package/chunk-OP5BV4PG.js +1 -0
  27. package/chunk-OX435KV6.js +1 -0
  28. package/chunk-PJNE2N54.js +1 -0
  29. package/chunk-QTQWYR6H.js +1 -0
  30. package/chunk-RCES7NCR.js +1 -0
  31. package/chunk-RL2VWNJG.js +8 -0
  32. package/chunk-RZUDMW24.js +1 -0
  33. package/chunk-S2HNK7TK.js +1 -0
  34. package/chunk-S2YPSAFD.js +1 -0
  35. package/chunk-TGC6GY4N.js +1 -0
  36. package/chunk-UJYJZACJ.js +1 -0
  37. package/chunk-VAAR5GXC.js +1 -0
  38. package/chunk-VF6HT3GY.js +1 -0
  39. package/chunk-XBN37RRV.js +1 -0
  40. package/chunk-YC5LTBFM.js +1 -0
  41. package/index.html +15 -0
  42. package/main-TLCKWB2W.js +1 -0
  43. package/package.json +3 -40
  44. package/sparkle-ui-assets/fonts/InterTight-VariableFont_wght.ttf +0 -0
  45. package/sparkle-ui-assets/fonts/InterTight-VariableFont_wght.woff2 +0 -0
  46. package/styles-6W7ZCKNM.css +1 -0
  47. package/.dockerignore +0 -13
  48. package/.github/workflows/npm-publish.yml +0 -59
  49. package/.prettierignore +0 -13
  50. package/.prettierrc +0 -12
  51. package/.vscode/extensions.json +0 -4
  52. package/.vscode/launch.json +0 -13
  53. package/.vscode/settings.json +0 -8
  54. package/.vscode/tasks.json +0 -24
  55. package/Dockerfile +0 -38
  56. package/LICENSE +0 -21
  57. package/README.md +0 -27
  58. package/angular.json +0 -98
  59. package/bun.lockb +0 -0
  60. package/openapi-ts.config.ts +0 -13
  61. package/scripts/generate-package-json.ts +0 -15
  62. package/src/app/about/about.component.html +0 -15
  63. package/src/app/about/about.component.scss +0 -19
  64. package/src/app/about/about.component.ts +0 -13
  65. package/src/app/about/changelog/changelog.component.html +0 -3
  66. package/src/app/about/changelog/changelog.component.scss +0 -7
  67. package/src/app/about/changelog/changelog.component.ts +0 -18
  68. package/src/app/about/general/general.component.html +0 -9
  69. package/src/app/about/general/general.component.scss +0 -23
  70. package/src/app/about/general/general.component.ts +0 -30
  71. package/src/app/about/libraries/libraries.component.html +0 -3
  72. package/src/app/about/libraries/libraries.component.scss +0 -7
  73. package/src/app/about/libraries/libraries.component.ts +0 -18
  74. package/src/app/about/logs/logs.component.html +0 -5
  75. package/src/app/about/logs/logs.component.scss +0 -7
  76. package/src/app/about/logs/logs.component.ts +0 -18
  77. package/src/app/about/system-info/system-info.component.html +0 -3
  78. package/src/app/about/system-info/system-info.component.scss +0 -7
  79. package/src/app/about/system-info/system-info.component.ts +0 -17
  80. package/src/app/add-backup/add-backup.component.html +0 -29
  81. package/src/app/add-backup/add-backup.component.scss +0 -38
  82. package/src/app/add-backup/add-backup.component.ts +0 -14
  83. package/src/app/app.component.ts +0 -35
  84. package/src/app/app.config.ts +0 -23
  85. package/src/app/app.routes.ts +0 -121
  86. package/src/app/core/components/file-tree/file-tree.component.html +0 -87
  87. package/src/app/core/components/file-tree/file-tree.component.scss +0 -80
  88. package/src/app/core/components/file-tree/file-tree.component.ts +0 -485
  89. package/src/app/core/components/logo/logo.component.html +0 -22
  90. package/src/app/core/components/logo/logo.component.scss +0 -12
  91. package/src/app/core/components/logo/logo.component.ts +0 -11
  92. package/src/app/core/components/status-bar/status-bar.component.html +0 -38
  93. package/src/app/core/components/status-bar/status-bar.component.scss +0 -27
  94. package/src/app/core/components/status-bar/status-bar.component.ts +0 -33
  95. package/src/app/core/components/status-bar/status-bar.state.ts +0 -182
  96. package/src/app/core/components/toggle-card/toggle-card.component.html +0 -11
  97. package/src/app/core/components/toggle-card/toggle-card.component.scss +0 -49
  98. package/src/app/core/components/toggle-card/toggle-card.component.ts +0 -28
  99. package/src/app/core/interceptors/http.interceptor.ts +0 -69
  100. package/src/app/core/interceptors/websocket.interceptor.ts +0 -66
  101. package/src/app/core/openapi/core/ApiError.ts +0 -21
  102. package/src/app/core/openapi/core/ApiRequestOptions.ts +0 -21
  103. package/src/app/core/openapi/core/ApiResult.ts +0 -7
  104. package/src/app/core/openapi/core/OpenAPI.ts +0 -55
  105. package/src/app/core/openapi/core/request.ts +0 -337
  106. package/src/app/core/openapi/index.ts +0 -6
  107. package/src/app/core/openapi/schemas.gen.ts +0 -3611
  108. package/src/app/core/openapi/services.gen.ts +0 -1460
  109. package/src/app/core/openapi/types.gen.ts +0 -1510
  110. package/src/app/core/pipes/duration.pipe.ts +0 -27
  111. package/src/app/core/pipes/relative-time.pipe.ts +0 -14
  112. package/src/app/core/providers/dayjs.ts +0 -16
  113. package/src/app/core/services/dict.en.ts +0 -0
  114. package/src/app/core/services/dictionary.service.ts +0 -12
  115. package/src/app/core/services/localstorage.token.ts +0 -82
  116. package/src/app/core/services/password-generator.service.ts +0 -39
  117. package/src/app/core/services/relay-websocket.service.ts +0 -268
  118. package/src/app/core/services/timespan-literals.service.ts +0 -25
  119. package/src/app/core/states/app-auth.state.ts +0 -87
  120. package/src/app/core/states/backups.state.ts +0 -71
  121. package/src/app/core/states/relayconfig.state.ts +0 -23
  122. package/src/app/core/states/sysinfo.state.ts +0 -31
  123. package/src/app/core/states/tasks.state.ts +0 -34
  124. package/src/app/core/types/subscribed.ts +0 -7
  125. package/src/app/core/validators/custom.validators.ts +0 -120
  126. package/src/app/create-edit-backup/create-edit-backup.component.html +0 -28
  127. package/src/app/create-edit-backup/create-edit-backup.component.scss +0 -15
  128. package/src/app/create-edit-backup/create-edit-backup.component.ts +0 -33
  129. package/src/app/create-edit-backup/create-edit-backup.state.ts +0 -582
  130. package/src/app/create-edit-backup/destination/destination.component.html +0 -367
  131. package/src/app/create-edit-backup/destination/destination.component.scss +0 -85
  132. package/src/app/create-edit-backup/destination/destination.component.ts +0 -249
  133. package/src/app/create-edit-backup/destination/destination.config.ts +0 -103
  134. package/src/app/create-edit-backup/destination/destination.mapper.ts +0 -177
  135. package/src/app/create-edit-backup/general/general.component.html +0 -108
  136. package/src/app/create-edit-backup/general/general.component.scss +0 -34
  137. package/src/app/create-edit-backup/general/general.component.ts +0 -136
  138. package/src/app/create-edit-backup/options/options.component.html +0 -95
  139. package/src/app/create-edit-backup/options/options.component.scss +0 -42
  140. package/src/app/create-edit-backup/options/options.component.ts +0 -113
  141. package/src/app/create-edit-backup/schedule/schedule.component.html +0 -102
  142. package/src/app/create-edit-backup/schedule/schedule.component.scss +0 -38
  143. package/src/app/create-edit-backup/schedule/schedule.component.ts +0 -137
  144. package/src/app/create-edit-backup/source-data/source-data.component.html +0 -93
  145. package/src/app/create-edit-backup/source-data/source-data.component.scss +0 -41
  146. package/src/app/create-edit-backup/source-data/source-data.component.ts +0 -114
  147. package/src/app/home/backup.const.ts +0 -167
  148. package/src/app/home/home.component.html +0 -98
  149. package/src/app/home/home.component.scss +0 -88
  150. package/src/app/home/home.component.ts +0 -54
  151. package/src/app/layout/layout.component.html +0 -64
  152. package/src/app/layout/layout.component.scss +0 -24
  153. package/src/app/layout/layout.component.ts +0 -51
  154. package/src/app/layout/layout.state.ts +0 -70
  155. package/src/app/login/login.component.html +0 -12
  156. package/src/app/login/login.component.scss +0 -25
  157. package/src/app/login/login.component.ts +0 -34
  158. package/src/app/logout/logout.component.html +0 -1
  159. package/src/app/logout/logout.component.scss +0 -3
  160. package/src/app/logout/logout.component.ts +0 -18
  161. package/src/app/restore/restore.component.html +0 -56
  162. package/src/app/restore/restore.component.scss +0 -37
  163. package/src/app/restore/restore.component.ts +0 -55
  164. package/src/app/restore-flow/options/options.component.html +0 -57
  165. package/src/app/restore-flow/options/options.component.scss +0 -16
  166. package/src/app/restore-flow/options/options.component.ts +0 -58
  167. package/src/app/restore-flow/restore-flow.component.html +0 -14
  168. package/src/app/restore-flow/restore-flow.component.scss +0 -15
  169. package/src/app/restore-flow/restore-flow.component.ts +0 -23
  170. package/src/app/restore-flow/restore-flow.state.ts +0 -120
  171. package/src/app/restore-flow/select-files/select-files.component.html +0 -42
  172. package/src/app/restore-flow/select-files/select-files.component.scss +0 -16
  173. package/src/app/restore-flow/select-files/select-files.component.ts +0 -129
  174. package/src/app/settings/settings.component.html +0 -256
  175. package/src/app/settings/settings.component.scss +0 -106
  176. package/src/app/settings/settings.component.ts +0 -475
  177. package/src/environments/environment-token.ts +0 -4
  178. package/src/environments/environment.prod.ts +0 -6
  179. package/src/environments/environment.ts +0 -6
  180. package/src/index.html +0 -15
  181. package/src/main.ts +0 -6
  182. package/src/proxy.conf.mjs +0 -6
  183. package/src/styles.scss +0 -41
  184. package/tsconfig.app.json +0 -15
  185. package/tsconfig.json +0 -30
  186. /package/{src/assets → assets}/duplicati-logo.png +0 -0
  187. /package/{src/assets → assets}/duplicati-logo.svg +0 -0
  188. /package/{src/assets → assets}/favicon.ico +0 -0
  189. /package/{src/assets → assets}/images/backup.png +0 -0
  190. /package/{src/assets → assets}/images/dark-theme.png +0 -0
  191. /package/{src/assets → assets}/images/folder.png +0 -0
  192. /package/{src/assets → assets}/images/light-theme.png +0 -0
  193. /package/{src/assets → assets}/images/new-backup.png +0 -0
  194. /package/{src/assets → assets}/images/restore.png +0 -0
  195. /package/{src/assets → assets}/images/system-theme.png +0 -0
  196. /package/{src/assets → assets}/spk.css +0 -0
  197. /package/{src/assets → assets}/spk.woff2 +0 -0
@@ -0,0 +1 @@
1
+ import{a as me}from"./chunk-J6KTHSHX.js";import{a as le}from"./chunk-F3A4UEZK.js";import"./chunk-RZUDMW24.js";import{a as ae}from"./chunk-S2YPSAFD.js";import"./chunk-QTQWYR6H.js";import"./chunk-VF6HT3GY.js";import{b as se}from"./chunk-7PZ2UDVE.js";import{b as L,d as $,e as W,f as q,h as z,i as j,j as H,l as J,m as K,n as Q,o as X,p as Y,q as Z}from"./chunk-IOM7KF2W.js";import{a as re}from"./chunk-63RKHEAK.js";import{d as ee,h as te,l as ne,n as ie}from"./chunk-LT6J7X37.js";import{a as oe}from"./chunk-GBVLF3BS.js";import{$ as I,Fb as r,Gb as E,Hb as b,Kb as A,N as v,Na as D,Qa as s,Wa as h,Z as y,ac as G,bb as O,cc as B,db as S,fb as M,h as F,hb as C,ib as x,ja as u,jb as T,ka as d,kb as k,lb as n,mb as o,nb as p,ob as R,pb as w,rb as _,sb as m,tb as c,u as U,wb as N}from"./chunk-RL2VWNJG.js";function ue(a,e){if(a&1){let t=_();n(0,"spk-form-field",28),p(1,"input",29),o(),n(2,"button",30),m("click",function(){u(t);let l=c(2);return d(l.beginRemoteRegistration())}),r(3," Register for remote control "),o()}}function de(a,e){if(a&1&&(n(0,"div",26)(1,"label"),r(2,"Machine is now registered, open this link to add it to your account:"),o(),n(3,"a",31),r(4),o()()),a&2){let t=c(2);s(3),N("href",t.remoteControlClaimUrl(),D),s(),E(t.remoteControlClaimUrl())}}function ge(a,e){a&1&&(n(0,"div",26)(1,"label"),r(2,"Registering, please wait..."),o()())}function Ce(a,e){if(a&1){let t=_();n(0,"button",30),m("click",function(){u(t);let l=c(2);return d(l.cancelRemoteRegistration())}),r(1," Cancel registration "),o()}}function _e(a,e){if(a&1){let t=_();n(0,"button",30),m("click",function(){u(t);let l=c(2);return d(l.disableRemoteControl())}),r(1," Disable remote control "),o()}}function fe(a,e){if(a&1){let t=_();n(0,"button",30),m("click",function(){u(t);let l=c(2);return d(l.enableRemoteControl())}),r(1," Enable remote control "),o(),n(2,"button",32),m("click",function(){u(t);let l=c(2);return d(l.deleteRemoteControl())}),r(3," Delete remote control setup "),o()}}function Se(a,e){if(a&1&&(n(0,"div",5),O(1,ue,4,0)(2,de,5,2,"div",26)(3,ge,3,0,"div",26)(4,Ce,2,0,"button",27)(5,_e,2,0,"button",27)(6,fe,4,0),o()),a&2){let t=c();s(),C(t.remoteControlState()==="inactive"?1:-1),s(),C(t.remoteControlState()==="registered"?2:-1),s(),C(t.remoteControlState()==="registering"?3:-1),s(),C(t.remoteControlState()==="registering"||t.remoteControlState()==="registeringfaulted"||t.remoteControlState()==="registered"?4:-1),s(),C(t.remoteControlState()==="connected"||t.remoteControlState()==="enabled"?5:-1),s(),C(t.remoteControlState()==="disabled"?6:-1)}}function he(a,e){if(a&1){let t=_();n(0,"option",33),m("click",function(){let l=u(t).$implicit,g=c();return d(g.pauseSettings.controls.timeType.setValue(l.value))}),r(1),o()}if(a&2){let t=e.$implicit;S("value",t.value),s(),b(" ",t.label," ")}}function be(a,e){if(a&1){let t=_();n(0,"option",33),m("click",function(){let l=u(t).$implicit,g=c();return d(g.pauseSettings.controls.time.setValue(l))}),r(1),o()}if(a&2){let t=e.$implicit;S("value",t),s(),E(t)}}function ve(a,e){if(a&1){let t=_();n(0,"option",33),m("click",function(){let l=u(t).$implicit,g=c();return d(g.settingsForm.controls.usageStatistics.setValue(l.value))}),r(1),o()}if(a&2){let t=e.$implicit;S("value",t.value),s(),b(" ",t.label," ")}}var f=new X,pe=[{value:"s",label:"Seconds"},{value:"m",label:"Minutes"},{value:"h",label:"Hours"}],V=[{value:"en",label:"English"},{value:"fr",label:"French"},{value:"de",label:"German"},{value:"es",label:"Spanish"},{value:"it",label:"Italian"}],ce=[{value:"",label:"System default (information)"},{value:"information",label:"Usage statistics, warnings, errors, and crashes"},{value:"warning",label:"Warnings, errors and crashes"},{value:"error",label:"Errors and crashes"},{value:"crash",label:"Crashes only"},{value:"none",label:"None / disabled"}],P=class a{#i=y(le);#o=y(re);#e=y(oe);sysinfo=this.#o.systemInfo;isDarkMode=this.#i.isDarkMode;editAs=h("list");settingsForm=f.group({pauseSettings:f.group({time:f.control(0),timeType:f.control("s")}),language:f.control("en"),usageStatistics:f.control(""),updateChannel:f.control(""),remoteControlRegisterUrl:f.control("")});remoteControlState=h("unknown");remoteControlClaimUrl=h(null);sysInfoEffect=B(()=>{this.settingsForm.controls.remoteControlRegisterUrl.patchValue(this.sysinfo()?.RemoteControlRegistrationUrl??"")},{allowSignalWrites:!0});get pauseSettings(){return this.settingsForm.controls.pauseSettings}langSignal=se(this.settingsForm.controls.language.valueChanges);timeTypeOptions=h(pe);timeOptions=me([this.pauseSettings.controls.timeType.valueChanges.pipe(v("s")),this.pauseSettings.controls.time.valueChanges.pipe(v(null))],F(U(([e,t])=>{let i=this.#r(e);return t!==null?i.filter(l=>l.toString().includes(t.toString())):i}),v([])));languageOptions=G(()=>this.langSignal()?V.filter(e=>e.value===this.langSignal()):V);usageStatisticsOptions=h(ce);ngOnInit(){this.refreshRemoteControlStatus(),this.getServerSettings()}submit(){let e=`${this.pauseSettings.controls.time.value}${this.pauseSettings.controls.timeType.value}`;this.#e.patchApiV1Serversettings({requestBody:{"usage-reporter-level":this.settingsForm.controls.usageStatistics.value,"startup-delay":e==="0s"?"":e,"update-channel":this.settingsForm.controls.updateChannel.value}}).subscribe({next:t=>{console.log("res",t)},error:t=>{console.error("err",t)}})}getServerSettings(){return this.#e.getApiV1Serversettings().subscribe({next:e=>{let t=e["startup-delay"];this.settingsForm.patchValue({pauseSettings:{time:parseInt(t.substring(0,t.length-1)==""?"0":t.substring(0,t.length-1)),timeType:t.substring(-1)===""?"s":t.substring(-1)},usageStatistics:e["usage-reporter-level"],updateChannel:e["update-channel"]})}})}languageDisplay(e){return e?V.find(t=>t.value===e)?.label??null:null}typeDisplay(e){return e==null?null:pe.find(t=>t.value===e)?.label??null}usageDisplay(e){return typeof e!="string"?null:ce.find(t=>t.value===e)?.label??null}setDarkMode(){this.#i.setDarkMode()}setLightMode(){this.#i.setLightMode()}#r(e){let t=e==="h"?25:61;return new Array(t).fill(0).map((i,l)=>l)}repeatRegisterTimer=null;#t(e){e.RegistrationUrl&&this.remoteControlClaimUrl.set(e.RegistrationUrl),console.log(e),e.IsConnected?this.remoteControlState.set("connected"):e.IsEnabled?this.remoteControlState.set("enabled"):e.CanEnable?this.remoteControlState.set("disabled"):e.IsRegisteringFaulted?this.remoteControlState.set("registeringfaulted"):e.IsRegistering?e.RegistrationUrl!=null&&e.RegistrationUrl.trim().length>0?this.remoteControlState.set("registered"):this.remoteControlState.set("registering"):this.remoteControlState.set("inactive");let t=this.remoteControlState();console.log(t),this.repeatRegisterTimer!==null&&(clearTimeout(this.repeatRegisterTimer),this.repeatRegisterTimer=null),t==="registering"&&(this.repeatRegisterTimer=setTimeout(()=>{this.#e.postApiV1RemotecontrolRegister({requestBody:{RegistrationUrl:""}}).subscribe({next:i=>{this.#t(i)},error:i=>{this.#n(i)}})},5e3)),(t==="enabled"||t==="registered")&&(this.repeatRegisterTimer=setTimeout(()=>{this.#e.getApiV1RemotecontrolStatus().subscribe({next:i=>{this.#t(i)},error:i=>{this.#n(i)}})},5e3)),e.IsRegistering&&e.CanEnable&&this.#e.deleteApiV1RemotecontrolRegister().subscribe({next:i=>{this.#t(i)}})}#n(e){this.#e.getApiV1RemotecontrolStatus().subscribe({next:t=>{this.#t(t)}})}refreshRemoteControlStatus(){this.#e.getApiV1RemotecontrolStatus().subscribe({next:e=>{this.#t(e)},error:e=>{this.#n(e)}})}beginRemoteRegistration(){this.remoteControlState.set("registering");let e=this.settingsForm.controls.remoteControlRegisterUrl.value;this.#e.postApiV1RemotecontrolRegister({requestBody:{RegistrationUrl:e}}).subscribe({next:t=>{this.#t(t)},error:t=>{this.#n(t)}})}cancelRemoteRegistration(){this.#e.deleteApiV1RemotecontrolRegister().subscribe({next:e=>{this.#t(e)},error:e=>{this.#n(e)}})}enableRemoteControl(){this.#e.postApiV1RemotecontrolEnable().subscribe({next:e=>{this.#t(e)},error:e=>{this.#n(e)}})}disableRemoteControl(){this.#e.postApiV1RemotecontrolDisable().subscribe({next:e=>{this.#t(e)},error:e=>{this.#n(e)}})}deleteRemoteControl(){let e=this;confirm("Are you sure you want to delete the remote control registration?")&&e.#e.deleteApiV1RemotecontrolRegistration().subscribe({next:t=>{e.#t(t)},error:t=>{e.#n(t)}})}getRemoteControlStatusText(){let e=this.remoteControlState();return e==="enabled"?"Remote control is enabled but not connected":e==="connected"?"Remote control is connected":e==="registering"?"Registering machine...":e==="registeringfaulted"?"Registration failed":e==="registered"?"Registered, waiting for accept":e==="disabled"?"Remote control is configured but not enabled":e==="unknown"?"...loading...":"Remote control is not set up"}static \u0275fac=function(t){return new(t||a)};static \u0275cmp=I({type:a,selectors:[["app-settings"]],standalone:!0,features:[A],decls:100,vars:11,consts:[[1,"content",3,"submit","formGroup"],[1,"title"],["type","submit","spk-button","",1,"raised","primary"],[1,"left"],[1,"right","remote-control"],[1,"field-row"],[1,"right"],["formGroupName","pauseSettings",1,"field-row"],[3,"displayValue"],["type","text","formControlName","timeType"],["options",""],[3,"value"],["type","search","formControlName","time"],[1,"themes"],["src","/assets/images/light-theme.png","alt","light theme",3,"click"],["src","/assets/images/dark-theme.png","alt","dark theme",3,"click"],[1,"right","radios"],[1,"radio-option",3,"click"],[1,"outlined","primary"],["type","radio","name","updateChannel","value","","formControlName","updateChannel"],["type","radio","name","updateChannel","value","stable","formControlName","updateChannel"],["type","radio","name","updateChannel","value","beta","formControlName","updateChannel"],["type","radio","name","updateChannel","value","experimental","formControlName","updateChannel"],["type","radio","name","updateChannel","value","canary","formControlName","updateChannel"],["href","#"],["type","text","formControlName","usageStatistics"],[1,"field-col"],["type","button","spk-button","",1,"raised"],["label","Registration URL","for","remoteControlRegisterUrl"],["type","text","spk-input","","id","remoteControlRegisterUrl","name","remoteControlRegisterUrl","formControlName","remoteControlRegisterUrl"],["type","button","spk-button","",1,"raised",3,"click"],["target","_blank",3,"href"],["type","button","spk-button","",1,"raised","warn",3,"click"],[3,"click","value"]],template:function(t,i){if(t&1&&(p(0,"app-status-bar"),n(1,"form",0),m("submit",function(){return i.submit()}),n(2,"header")(3,"div",1)(4,"h2"),r(5,"Settings"),o(),n(6,"p"),r(7,"Configure your backup settings."),o()(),n(8,"button",2),r(9,"Save changes"),o()(),n(10,"section")(11,"div",3)(12,"h3"),r(13,"Remote access control"),o(),n(14,"p"),r(15),o()(),n(16,"div",4),O(17,Se,7,6,"div",5),o()(),n(18,"section")(19,"div",3)(20,"h3"),r(21,"Pause after startup or hibernation"),o(),n(22,"p"),r(23," Duplicati will run when started, but will remain in paused state for the duration. Duplicati will occupy minimal system resources and no backups will be run. "),o()(),n(24,"div",6)(25,"div",7)(26,"spk-select",8),p(27,"input",9),R(28,10),T(29,he,2,2,"option",11,x),w(),o(),n(31,"spk-select"),p(32,"input",12),R(33,10),T(34,be,2,2,"option",11,x),w(),o()()()(),n(36,"section")(37,"div",3)(38,"h3"),r(39,"Color theme"),o(),n(40,"p"),r(41,"Customize your application theme"),o()(),n(42,"div",6)(43,"div",13)(44,"img",14),m("click",function(){return i.setLightMode()}),o(),n(45,"img",15),m("click",function(){return i.setDarkMode()}),o()()()(),n(46,"section")(47,"div",3)(48,"h3"),r(49,"Update channel"),o(),n(50,"p"),r(51,"Lorem ipsum dolor sit amet, consectetur adipiscing elit."),o()(),n(52,"div",16)(53,"div",17),m("click",function(){return i.settingsForm.controls.updateChannel.setValue("")}),n(54,"spk-radio",18),r(55),p(56,"input",19),o(),n(57,"p"),r(58),o()(),n(59,"div",17),m("click",function(){return i.settingsForm.controls.updateChannel.setValue("stable")}),n(60,"spk-radio",18),r(61," Stable "),p(62,"input",20),o(),n(63,"p"),r(64,"Official releases"),o()(),n(65,"div",17),m("click",function(){return i.settingsForm.controls.updateChannel.setValue("beta")}),n(66,"spk-radio",18),r(67," Beta "),p(68,"input",21),o(),n(69,"p"),r(70," Try out the new features that we are working on. Currently the most stable version available. Test Restore data before using this in production environments. "),o()(),n(71,"div",17),m("click",function(){return i.settingsForm.controls.updateChannel.setValue("experimental")}),n(72,"spk-radio",18),r(73," Experimental "),p(74,"input",22),o(),n(75,"p"),r(76,"Specific builds for developers only. Not for use with important data."),o()(),n(77,"div",17),m("click",function(){return i.settingsForm.controls.updateChannel.setValue("canary")}),n(78,"spk-radio",18),r(79," Canary "),p(80,"input",23),o(),n(81,"p"),r(82,"Individual builds for developers only. Not for use with important data."),o()()()(),n(83,"section")(84,"div",3)(85,"h3"),r(86,"Usage statistics"),o(),n(87,"p"),r(88," Usage reports help us improve the user experience and evaluate impact of new features. We use them to generate "),n(89,"a",24),r(90,"public usage statistics."),o(),p(91,"br")(92,"br"),r(93," All usage reports are sent anonymously and do not contain any personal information. They contain information about hardware and operating system, the type of backend, backup duration, overall size of source data and similar data. They do not contain paths, filenames, usernames, passwords or similar sensitive information. "),o()(),n(94,"div",6)(95,"spk-select",8),p(96,"input",25),R(97,10),T(98,ve,2,2,"option",11,x),w(),o()()()()),t&2){let l,g;s(),S("formGroup",i.settingsForm),s(14),E(i.getRemoteControlStatusText()),s(2),C(i.remoteControlState()!=="unknown"?17:-1),s(9),S("displayValue",i.typeDisplay(i.settingsForm.value.pauseSettings==null?null:i.settingsForm.value.pauseSettings.timeType)),s(3),k(i.timeTypeOptions()),s(5),k(i.timeOptions()),s(10),M("active",!i.isDarkMode()),s(),M("active",i.isDarkMode()),s(10),b(" Default (",(l=i.sysinfo())==null?null:l.DefaultUpdateChannel,") "),s(3),b("Same as the base install version: ",(g=i.sysinfo())==null?null:g.ServerVersionType,""),s(37),S("displayValue",i.usageDisplay(i.settingsForm.controls.usageStatistics.value)),s(3),k(i.usageStatisticsOptions())}},dependencies:[Y,q,K,Q,L,z,$,W,Z,j,J,H,ae,ee,ne,te,ie],styles:["[_nghost-%COMP%]{display:block}.content[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:0 2rem 2rem}header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:2rem 0}header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem}section[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;gap:1rem;padding:2rem 0;border-top:1px solid var(--base-level-40)}section[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem;align-items:flex-start}section[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] spk-button-group[_ngcontent-%COMP%]{margin-top:.25rem}section[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-wrap:balance;width:50%}.themes[_ngcontent-%COMP%]{display:flex;gap:.5rem}.themes[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:240px;border-radius:var(--shape-3);cursor:pointer}.themes[_ngcontent-%COMP%] img.active[_ngcontent-%COMP%]{border:2px solid var(--primary-500)}.radios[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem}.radio-option[_ngcontent-%COMP%]{cursor:pointer}.radio-option[_ngcontent-%COMP%] spk-radio[_ngcontent-%COMP%]{color:var(--base-level-60);margin-bottom:.25rem}.radio-option[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-wrap:balance;color:var(--base-level-60R)}.field-col[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem}.field-row[_ngcontent-%COMP%]{display:flex;gap:.5rem;width:100%}.field-row[_ngcontent-%COMP%] spk-form-field[_ngcontent-%COMP%], .field-row[_ngcontent-%COMP%] spk-select[_ngcontent-%COMP%]{flex:1 0}.remote-control[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{white-space:nowrap}"],changeDetection:0})};export{P as default};
@@ -0,0 +1,8 @@
1
+ var qf=Object.create;var ti=Object.defineProperty,Zf=Object.defineProperties,Yf=Object.getOwnPropertyDescriptor,Qf=Object.getOwnPropertyDescriptors,Jf=Object.getOwnPropertyNames,$n=Object.getOwnPropertySymbols,Kf=Object.getPrototypeOf,ni=Object.prototype.hasOwnProperty,Qa=Object.prototype.propertyIsEnumerable;var Ya=(e,t,n)=>t in e?ti(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,pe=(e,t)=>{for(var n in t||={})ni.call(t,n)&&Ya(e,n,t[n]);if($n)for(var n of $n(t))Qa.call(t,n)&&Ya(e,n,t[n]);return e},Ie=(e,t)=>Zf(e,Qf(t));var Xf=(e,t)=>{var n={};for(var r in e)ni.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&$n)for(var r of $n(e))t.indexOf(r)<0&&Qa.call(e,r)&&(n[r]=e[r]);return n};var oI=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var eh=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Jf(t))!ni.call(e,o)&&o!==n&&ti(e,o,{get:()=>t[o],enumerable:!(r=Yf(t,o))||r.enumerable});return e};var iI=(e,t,n)=>(n=e!=null?qf(Kf(e)):{},eh(t||!e||!e.__esModule?ti(n,"default",{value:e,enumerable:!0}):n,e));function J(e){return e}function th(...e){return ri(e)}function ri(e){return e.length===0?J:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}function I(e){return typeof e=="function"}function Ja(e){return e&&I(e.schedule)}function Ka(e){return e[e.length-1]}function Un(e){return I(Ka(e))?e.pop():void 0}function Ze(e){return Ja(Ka(e))?e.pop():void 0}function ec(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function Xa(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function dt(e){return this instanceof dt?(this.v=e,this):new dt(e)}function tc(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(p){return Promise.resolve(p).then(f,d)}}function a(f,p){r[f]&&(o[f]=function(g){return new Promise(function(m,C){i.push([f,g,m,C])>1||c(f,g)})},p&&(o[f]=p(o[f])))}function c(f,p){try{u(r[f](p))}catch(g){h(i[0][3],g)}}function u(f){f.value instanceof dt?Promise.resolve(f.value.v).then(l,d):h(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function h(f,p){f(p),i.shift(),i.length&&c(i[0][0],i[0][1])}}function nc(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Xa=="function"?Xa(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var Hn=e=>e&&typeof e.length=="number"&&typeof e!="function";function zn(e){return I(e?.then)}function Pt(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Gn=Pt(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
2
+ ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=n});function an(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var q=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(I(r))try{r()}catch(i){t=i instanceof Gn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{rc(i)}catch(s){t=t??[],s instanceof Gn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Gn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)rc(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&an(n,t)}remove(t){let{_finalizers:n}=this;n&&an(n,t),t instanceof e&&t._removeParent(this)}};q.EMPTY=(()=>{let e=new q;return e.closed=!0,e})();var oi=q.EMPTY;function Wn(e){return e instanceof q||e&&"closed"in e&&I(e.remove)&&I(e.add)&&I(e.unsubscribe)}function rc(e){I(e)?e():e.unsubscribe()}var Ee={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ft={setTimeout(e,t,...n){let{delegate:r}=Ft;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Ft;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function qn(e){Ft.setTimeout(()=>{let{onUnhandledError:t}=Ee;if(t)t(e);else throw e})}function cn(){}var oc=ii("C",void 0,void 0);function ic(e){return ii("E",void 0,e)}function sc(e){return ii("N",e,void 0)}function ii(e,t,n){return{kind:e,value:t,error:n}}var ft=null;function kt(e){if(Ee.useDeprecatedSynchronousErrorHandling){let t=!ft;if(t&&(ft={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=ft;if(ft=null,n)throw r}}else e()}function ac(e){Ee.useDeprecatedSynchronousErrorHandling&&ft&&(ft.errorThrown=!0,ft.error=e)}var ht=class extends q{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Wn(t)&&t.add(this)):this.destination=oh}static create(t,n,r){return new Lt(t,n,r)}next(t){this.isStopped?ai(sc(t),this):this._next(t)}error(t){this.isStopped?ai(ic(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ai(oc,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},nh=Function.prototype.bind;function si(e,t){return nh.call(e,t)}var ci=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Zn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Zn(r)}else Zn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Zn(n)}}},Lt=class extends ht{constructor(t,n,r){super();let o;if(I(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Ee.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&si(t.next,i),error:t.error&&si(t.error,i),complete:t.complete&&si(t.complete,i)}):o=t}this.destination=new ci(o)}};function Zn(e){Ee.useDeprecatedSynchronousErrorHandling?ac(e):qn(e)}function rh(e){throw e}function ai(e,t){let{onStoppedNotification:n}=Ee;n&&Ft.setTimeout(()=>n(e,t))}var oh={closed:!0,next:cn,error:rh,complete:cn};var jt=typeof Symbol=="function"&&Symbol.observable||"@@observable";var S=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=sh(n)?n:new Lt(n,r,o);return kt(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=cc(r),new r((o,i)=>{let s=new Lt({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[jt](){return this}pipe(...n){return ri(n)(this)}toPromise(n){return n=cc(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function cc(e){var t;return(t=e??Ee.Promise)!==null&&t!==void 0?t:Promise}function ih(e){return e&&I(e.next)&&I(e.error)&&I(e.complete)}function sh(e){return e&&e instanceof ht||ih(e)&&Wn(e)}function Yn(e){return I(e[jt])}function Qn(e){return Symbol.asyncIterator&&I(e?.[Symbol.asyncIterator])}function Jn(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function ah(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Kn=ah();function Xn(e){return I(e?.[Kn])}function er(e){return tc(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield dt(n.read());if(o)return yield dt(void 0);yield yield dt(r)}}finally{n.releaseLock()}})}function tr(e){return I(e?.getReader)}function H(e){if(e instanceof S)return e;if(e!=null){if(Yn(e))return ch(e);if(Hn(e))return uh(e);if(zn(e))return lh(e);if(Qn(e))return uc(e);if(Xn(e))return dh(e);if(tr(e))return fh(e)}throw Jn(e)}function ch(e){return new S(t=>{let n=e[jt]();if(I(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function uh(e){return new S(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function lh(e){return new S(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,qn)})}function dh(e){return new S(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function uc(e){return new S(t=>{hh(e,t).catch(n=>t.error(n))})}function fh(e){return uc(er(e))}function hh(e,t){var n,r,o,i;return ec(this,void 0,void 0,function*(){try{for(n=nc(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function ue(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function ui(e){return I(e?.lift)}function T(e){return t=>{if(ui(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function _(e,t,n,r,o){return new li(e,t,n,r,o)}var li=class extends ht{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function nr(e,t=0){return T((n,r)=>{n.subscribe(_(r,o=>ue(r,e,()=>r.next(o),t),()=>ue(r,e,()=>r.complete(),t),o=>ue(r,e,()=>r.error(o),t)))})}function rr(e,t=0){return T((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function lc(e,t){return H(e).pipe(rr(t),nr(t))}function dc(e,t){return H(e).pipe(rr(t),nr(t))}function fc(e,t){return new S(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function hc(e,t){return new S(n=>{let r;return ue(n,t,()=>{r=e[Kn](),ue(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>I(r?.return)&&r.return()})}function or(e,t){if(!e)throw new Error("Iterable cannot be null");return new S(n=>{ue(n,t,()=>{let r=e[Symbol.asyncIterator]();ue(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function pc(e,t){return or(er(e),t)}function gc(e,t){if(e!=null){if(Yn(e))return lc(e,t);if(Hn(e))return fc(e,t);if(zn(e))return dc(e,t);if(Qn(e))return or(e,t);if(Xn(e))return hc(e,t);if(tr(e))return pc(e,t)}throw Jn(e)}function Ne(e,t){return t?gc(e,t):H(e)}function ir(...e){let t=Ze(e);return Ne(e,t)}function re(e,t){return T((n,r)=>{let o=0;n.subscribe(_(r,i=>{r.next(e.call(t,i,o++))}))})}function sr(e){return T((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function mc(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&t.complete()},f=g=>u<r?p(g):c.push(g),p=g=>{i&&t.next(g),u++;let m=!1;H(n(g,l++)).subscribe(_(t,C=>{o?.(C),i?f(C):t.next(C)},()=>{m=!0},void 0,()=>{if(m)try{for(u--;c.length&&u<r;){let C=c.shift();s?ue(t,s,()=>p(C)):p(C)}h()}catch(C){t.error(C)}}))};return e.subscribe(_(t,f,()=>{d=!0,h()})),()=>{a?.()}}function pt(e,t,n=1/0){return I(t)?pt((r,o)=>re((i,s)=>t(r,i,o,s))(H(e(r,o))),n):(typeof t=="number"&&(n=t),T((r,o)=>mc(r,o,e,n)))}function di(e=1/0){return pt(J,e)}function yc(){return di(1)}function ar(...e){return yc()(Ne(e,Ze(e)))}function vc(...e){let t=Ze(e);return T((n,r)=>{(t?ar(e,n,t):ar(e,n)).subscribe(r)})}function cr(e,t){return T((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(_(r,c=>{o?.unsubscribe();let u=0,l=i++;H(e(c,l)).subscribe(o=_(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function fi(){return T((e,t)=>{let n=null;e._refCount++;let r=_(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var hi=class extends S{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,ui(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new q;let n=this.getSubject();t.add(this.source.subscribe(_(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=q.EMPTY)}return t}refCount(){return fi()(this)}};var Dc=Pt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Se=(()=>{class e extends S{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new ur(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Dc}next(n){kt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){kt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){kt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?oi:(this.currentObservers=null,i.push(n),new q(()=>{this.currentObservers=null,an(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new S;return n.source=this,n}}return e.create=(t,n)=>new ur(t,n),e})(),ur=class extends Se{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:oi}};var un=class extends Se{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var pi={now(){return(pi.delegate||Date).now()},delegate:void 0};var gi=class extends Se{constructor(t=1/0,n=1/0,r=pi){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var ln=new S(e=>e.complete());function ph(e,t){let n=I(e)?e:()=>e,r=o=>o.error(n());return new S(t?o=>t.schedule(r,0,o):r)}function gh(e){return!!e&&(e instanceof S||I(e.lift)&&I(e.subscribe))}var gt=Pt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});var{isArray:mh}=Array;function yh(e,t){return mh(t)?e(...t):e(t)}function lr(e){return re(t=>yh(e,t))}var{isArray:vh}=Array,{getPrototypeOf:Dh,prototype:wh,keys:Ih}=Object;function dr(e){if(e.length===1){let t=e[0];if(vh(t))return{args:t,keys:null};if(Eh(t)){let n=Ih(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Eh(e){return e&&typeof e=="object"&&Dh(e)===wh}function fr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Ch(...e){let t=Ze(e),n=Un(e),{args:r,keys:o}=dr(e);if(r.length===0)return Ne([],t);let i=new S(bh(r,t,o?s=>fr(o,s):J));return n?i.pipe(lr(n)):i}function bh(e,t,n=J){return r=>{wc(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)wc(t,()=>{let u=Ne(e[c],t),l=!1;u.subscribe(_(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function wc(e,t,n){e?ue(n,e,t):t()}function Mh(e){return new S(t=>{H(e()).subscribe(t)})}function _h(...e){let t=Un(e),{args:n,keys:r}=dr(e),o=new S(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;H(n[l]).subscribe(_(i,h=>{d||(d=!0,u--),a[l]=h},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?fr(r,a):a),i.complete())}))}});return t?o.pipe(lr(t)):o}function mt(e,t){return T((n,r)=>{let o=0;n.subscribe(_(r,i=>e.call(t,i,o++)&&r.next(i)))})}function mi(e){return T((t,n)=>{let r=null,o=!1,i;r=t.subscribe(_(n,void 0,void 0,s=>{i=H(e(s,mi(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Ic(e,t,n,r,o){return(i,s)=>{let a=n,c=t,u=0;i.subscribe(_(s,l=>{let d=u++;c=a?e(c,l,d):(a=!0,l),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function yi(e,t){return I(t)?pt(e,t,1):pt(e,1)}function dn(e){return T((t,n)=>{let r=!1;t.subscribe(_(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function hr(e){return e<=0?()=>ln:T((t,n)=>{let r=0;t.subscribe(_(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Th(e){return re(()=>e)}function xh(e,t=J){return e=e??Nh,T((n,r)=>{let o,i=!0;n.subscribe(_(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Nh(e,t){return e===t}function pr(e=Sh){return T((t,n)=>{let r=!1;t.subscribe(_(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Sh(){return new gt}function Ec(e,t){let n=arguments.length>=2;return r=>r.pipe(e?mt((o,i)=>e(o,i,r)):J,hr(1),n?dn(t):pr(()=>new gt))}function vi(e){return e<=0?()=>ln:T((t,n)=>{let r=[];t.subscribe(_(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Ah(e,t){let n=arguments.length>=2;return r=>r.pipe(e?mt((o,i)=>e(o,i,r)):J,vi(1),n?dn(t):pr(()=>new gt))}function Oh(e,t){return T(Ic(e,t,arguments.length>=2,!0))}function Rh(e){return T((t,n)=>{H(e).subscribe(_(n,()=>n.complete(),cn)),!n.closed&&t.subscribe(n)})}function Di(e,t,n){let r=I(e)||t||n?{next:e,error:t,complete:n}:e;return r?T((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(_(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):J}function Cc(e,t){return Object.is(e,t)}var W=null,fn=!1,gr=1,le=Symbol("SIGNAL");function M(e){let t=W;return W=e,t}function bc(){return W}function Ph(){return fn}var Vt={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function pn(e){if(fn)throw new Error("");if(W===null)return;W.consumerOnSignalRead(e);let t=W.nextProducerIndex++;if(Ir(W),t<W.producerNode.length&&W.producerNode[t]!==e&&hn(W)){let n=W.producerNode[t];wr(n,W.producerIndexOfThis[t])}W.producerNode[t]!==e&&(W.producerNode[t]=e,W.producerIndexOfThis[t]=hn(W)?Nc(e,W,t):0),W.producerLastReadVersion[t]=e.version}function Fh(){gr++}function Mc(e){if(!(hn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===gr)){if(!e.producerMustRecompute(e)&&!vr(e)){e.dirty=!1,e.lastCleanEpoch=gr;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=gr}}function _c(e){if(e.liveConsumerNode===void 0)return;let t=fn;fn=!0;try{for(let n of e.liveConsumerNode)n.dirty||xc(n)}finally{fn=t}}function Tc(){return W?.consumerAllowSignalWrites!==!1}function xc(e){e.dirty=!0,_c(e),e.consumerMarkedDirty?.(e)}function gn(e){return e&&(e.nextProducerIndex=0),M(e)}function yr(e,t){if(M(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(hn(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)wr(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function vr(e){Ir(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Mc(n),r!==n.version))return!0}return!1}function Dr(e){if(Ir(e),hn(e))for(let t=0;t<e.producerNode.length;t++)wr(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Nc(e,t,n){if(Sc(e),e.liveConsumerNode.length===0&&Ac(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=Nc(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function wr(e,t){if(Sc(e),e.liveConsumerNode.length===1&&Ac(e))for(let r=0;r<e.producerNode.length;r++)wr(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];Ir(o),o.producerIndexOfThis[r]=t}}function hn(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Ir(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Sc(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Ac(e){return e.producerNode!==void 0}function Ci(e){let t=Object.create(kh);t.computation=e;let n=()=>{if(Mc(t),pn(t),t.value===mr)throw t.error;return t.value};return n[le]=t,n}var wi=Symbol("UNSET"),Ii=Symbol("COMPUTING"),mr=Symbol("ERRORED"),kh=Ie(pe({},Vt),{value:wi,dirty:!0,error:null,equal:Cc,producerMustRecompute(e){return e.value===wi||e.value===Ii},producerRecomputeValue(e){if(e.value===Ii)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Ii;let n=gn(e),r;try{r=e.computation()}catch(o){r=mr,e.error=o}finally{yr(e,n)}if(t!==wi&&t!==mr&&r!==mr&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function Lh(){throw new Error}var Oc=Lh;function Rc(){Oc()}function Pc(e){Oc=e}var jh=null;function Fc(e){let t=Object.create(bi);t.value=e;let n=()=>(pn(t),t.value);return n[le]=t,n}function mn(e,t){Tc()||Rc(),e.equal(e.value,t)||(e.value=t,Vh(e))}function kc(e,t){Tc()||Rc(),mn(e,t(e.value))}var bi=Ie(pe({},Vt),{equal:Cc,value:void 0});function Vh(e){e.version++,Fh(),_c(e),jh?.()}function Lc(e,t,n){let r=Object.create(Bh);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=c=>{r.cleanupFn=c};function i(c){return c.fn===null&&c.schedule===null}function s(c){i(c)||(Dr(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=Ei)}let a=()=>{if(r.fn===null)return;if(Ph())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!vr(r))return;r.hasRun=!0;let c=gn(r);try{r.cleanupFn(),r.cleanupFn=Ei,r.fn(o)}finally{yr(r,c)}};return r.ref={notify:()=>xc(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[le]:r},r.ref}var Ei=()=>{},Bh=Ie(pe({},Vt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Ei});var Au="https://g.co/ng/security#xss",b=class extends Error{constructor(t,n){super(Hs(t,n)),this.code=t}};function Hs(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var ho=Symbol("InputSignalNode#UNSET"),Ou=Ie(pe({},bi),{transformFn:void 0,applyValueToInputSignal(e,t){mn(e,t)}});function Ru(e,t){let n=Object.create(Ou);n.value=e,n.transformFn=t?.transform;function r(){if(pn(n),n.value===ho)throw new b(-950,!1);return n.value}return r[le]=n,r}function po(e){return{toString:e}.toString()}var Qe=globalThis;function F(e){for(let t in e)if(e[t]===F)return t;throw Error("Could not find renamed property on target object.")}function $h(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function fe(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(fe).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(`
4
+ `);return n===-1?t:t.substring(0,n)}function Vi(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Uh=F({__forward_ref__:F});function Pu(e){return e.__forward_ref__=Pu,e.toString=function(){return fe(this())},e}function ie(e){return Fu(e)?e():e}function Fu(e){return typeof e=="function"&&e.hasOwnProperty(Uh)&&e.__forward_ref__===Pu}function R(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ku(e){return{providers:e.providers||[],imports:e.imports||[]}}function go(e){return jc(e,Lu)||jc(e,ju)}function f0(e){return go(e)!==null}function jc(e,t){return e.hasOwnProperty(t)?e[t]:null}function Hh(e){let t=e&&(e[Lu]||e[ju]);return t||null}function Vc(e){return e&&(e.hasOwnProperty(Bc)||e.hasOwnProperty(zh))?e[Bc]:null}var Lu=F({\u0275prov:F}),Bc=F({\u0275inj:F}),ju=F({ngInjectableDef:F}),zh=F({ngInjectorDef:F}),N=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=R({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Vu(e){return e&&!!e.\u0275providers}var Gh=F({\u0275cmp:F}),Wh=F({\u0275dir:F}),qh=F({\u0275pipe:F}),Zh=F({\u0275mod:F}),Fr=F({\u0275fac:F}),Dn=F({__NG_ELEMENT_ID__:F}),$c=F({__NG_ENV_ID__:F});function Re(e){return typeof e=="string"?e:e==null?"":String(e)}function Yh(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Re(e)}function Qh(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new b(-200,e)}function zs(e,t){throw new b(-201,!1)}var x=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(x||{}),Bi;function Bu(){return Bi}function de(e){let t=Bi;return Bi=e,t}function $u(e,t,n){let r=go(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&x.Optional)return null;if(t!==void 0)return t;zs(e,"Injector")}var Jh={},wn=Jh,Kh="__NG_DI_FLAG__",kr="ngTempTokenPath",Xh="ngTokenPath",ep=/\n/gm,tp="\u0275",Uc="__source",Ht;function np(){return Ht}function Ye(e){let t=Ht;return Ht=e,t}function rp(e,t=x.Default){if(Ht===void 0)throw new b(-203,!1);return Ht===null?$u(e,void 0,t):Ht.get(e,t&x.Optional?null:void 0,t)}function $(e,t=x.Default){return(Bu()||rp)(ie(e),t)}function v(e,t=x.Default){return $(e,mo(t))}function mo(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function $i(e){let t=[];for(let n=0;n<e.length;n++){let r=ie(e[n]);if(Array.isArray(r)){if(r.length===0)throw new b(900,!1);let o,i=x.Default;for(let s=0;s<r.length;s++){let a=r[s],c=op(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push($(o,i))}else t.push($(r))}return t}function op(e){return e[Kh]}function ip(e,t,n,r){let o=e[kr];throw t[Uc]&&o.unshift(t[Uc]),e.message=sp(`
5
+ `+e.message,o,n,r),e[Xh]=o,e[kr]=null,e}function sp(e,t,n,r=null){e=e&&e.charAt(0)===`
6
+ `&&e.charAt(1)==tp?e.slice(2):e;let o=fe(t);if(Array.isArray(t))o=t.map(fe).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):fe(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(ep,`
7
+ `)}`}function Dt(e,t){let n=e.hasOwnProperty(Fr);return n?e[Fr]:null}function ap(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function cp(e){return e.flat(Number.POSITIVE_INFINITY)}function Gs(e,t){e.forEach(n=>Array.isArray(n)?Gs(n,t):t(n))}function Uu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Lr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function up(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function lp(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Hu(e,t,n){let r=xn(e,t);return r>=0?e[r|1]=n:(r=~r,lp(e,r,t,n)),r}function Mi(e,t){let n=xn(e,t);if(n>=0)return e[n|1]}function xn(e,t){return dp(e,t,1)}function dp(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var Gt={},se=[],jr=new N(""),zu=new N("",-1),Gu=new N(""),Vr=class{get(t,n=wn){if(n===wn){let r=new Error(`NullInjectorError: No provider for ${fe(t)}!`);throw r.name="NullInjectorError",r}return n}},Wu=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Wu||{}),In=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(In||{}),Xe=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Xe||{});function fp(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function Ui(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];hp(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function qu(e){return e===3||e===4||e===6}function hp(e){return e.charCodeAt(0)===64}function En(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?Hc(e,n,o,null,t[++r]):Hc(e,n,o,null,null))}}return e}function Hc(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){if(r===null){o!==null&&(e[i+1]=o);return}else if(r===e[i+1]){e[i+2]=o;return}}i++,r!==null&&i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),r!==null&&e.splice(i++,0,r),o!==null&&e.splice(i++,0,o)}var Zu="ng-template";function pp(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&fp(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Ws(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function Ws(e){return e.type===4&&e.value!==Zu}function gp(e,t,n){let r=e.type===4&&!n?Zu:e.value;return t===r}function mp(e,t,n){let r=4,o=e.attrs,i=o!==null?Dp(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Ce(r)&&!Ce(c))return!1;if(s&&Ce(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!gp(e,c,n)||c===""&&t.length===1){if(Ce(r))return!1;s=!0}}else if(r&8){if(o===null||!pp(e,o,c,n)){if(Ce(r))return!1;s=!0}}else{let u=t[++a],l=yp(c,o,Ws(e),n);if(l===-1){if(Ce(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(Ce(r))return!1;s=!0}}}}return Ce(r)||s}function Ce(e){return(e&1)===0}function yp(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return wp(t,e)}function Yu(e,t,n=!1){for(let r=0;r<t.length;r++)if(mp(e,t[r],n))return!0;return!1}function vp(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function Dp(e){for(let t=0;t<e.length;t++){let n=e[t];if(qu(n))return t}return e.length}function wp(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function Ip(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function zc(e,t){return e?":not("+t.trim()+")":t}function Ep(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Ce(s)&&(t+=zc(i,o),o=""),r=s,i=i||!Ce(r);n++}return o!==""&&(t+=zc(i,o)),t}function Cp(e){return e.map(Ep).join(",")}function bp(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!Ce(o))break;o=i}r++}return{attrs:t,classes:n}}function h0(e){return po(()=>{let t=el(e),n=Ie(pe({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Wu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||In.Emulated,styles:e.styles||se,_:null,schemas:e.schemas||null,tView:null,id:""});tl(n);let r=e.dependencies;return n.directiveDefs=Wc(r,!1),n.pipeDefs=Wc(r,!0),n.id=xp(n),n})}function Mp(e){return et(e)||Ju(e)}function _p(e){return e!==null}function Qu(e){return po(()=>({type:e.type,bootstrap:e.bootstrap||se,declarations:e.declarations||se,imports:e.imports||se,exports:e.exports||se,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Gc(e,t){if(e==null)return Gt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Xe.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==Xe.None?[r,a]:r,t[i]=s):n[i]=r}return n}function qs(e){return po(()=>{let t=el(e);return tl(t),t})}function Zs(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone===!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function et(e){return e[Gh]||null}function Ju(e){return e[Wh]||null}function Ku(e){return e[qh]||null}function Tp(e){let t=et(e)||Ju(e)||Ku(e);return t!==null?t.standalone:!1}function Xu(e,t){let n=e[Zh]||null;if(!n&&t===!0)throw new Error(`Type ${fe(e)} does not have '\u0275mod' property.`);return n}function el(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Gt,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||se,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Gc(e.inputs,t),outputs:Gc(e.outputs),debugInfo:null}}function tl(e){e.features?.forEach(t=>t(e))}function Wc(e,t){if(!e)return null;let n=t?Ku:Mp;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(_p)}function xp(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function Ys(e){return{\u0275providers:e}}function Np(...e){return{\u0275providers:nl(!0,e),\u0275fromNgModule:!0}}function nl(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Gs(t,s=>{let a=s;Hi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&rl(o,i),n}function rl(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Qs(o,i=>{t(i,r)})}}function Hi(e,t,n,r){if(e=ie(e),!e)return!1;let o=null,i=Vc(e),s=!i&&et(e);if(!i&&!s){let c=e.ngModule;if(i=Vc(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)Hi(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{Gs(i.imports,l=>{Hi(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&rl(u,t)}if(!a){let u=Dt(o)||(()=>new o);t({provide:o,useFactory:u,deps:se},o),t({provide:Gu,useValue:o,multi:!0},o),t({provide:jr,useValue:()=>$(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Qs(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Qs(e,t){for(let n of e)Vu(n)&&(n=n.\u0275providers),Array.isArray(n)?Qs(n,t):t(n)}var Sp=F({provide:String,useValue:F});function ol(e){return e!==null&&typeof e=="object"&&Sp in e}function Ap(e){return!!(e&&e.useExisting)}function Op(e){return!!(e&&e.useFactory)}function Wt(e){return typeof e=="function"}function Rp(e){return!!e.useClass}var il=new N(""),xr={},Pp={},_i;function Js(){return _i===void 0&&(_i=new Vr),_i}var Pe=class{},Cn=class extends Pe{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Gi(t,s=>this.processProvider(s)),this.records.set(zu,Bt(void 0,this)),o.has("environment")&&this.records.set(Pe,Bt(void 0,this));let i=this.records.get(il);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Gu,se,x.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=M(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),M(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=Ye(this),r=de(void 0),o;try{return t()}finally{Ye(n),de(r)}}get(t,n=wn,r=x.Default){if(this.assertNotDestroyed(),t.hasOwnProperty($c))return t[$c](this);r=mo(r);let o,i=Ye(this),s=de(void 0);try{if(!(r&x.SkipSelf)){let c=this.records.get(t);if(c===void 0){let u=Vp(t)&&go(t);u&&this.injectableDefInScope(u)?c=Bt(zi(t),xr):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&x.Self?Js():this.parent;return n=r&x.Optional&&n===wn?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[kr]=a[kr]||[]).unshift(fe(t)),i)throw a;return ip(a,t,"R3InjectorError",this.source)}else throw a}finally{de(s),Ye(i)}}resolveInjectorInitializers(){let t=M(null),n=Ye(this),r=de(void 0),o;try{let i=this.get(jr,se,x.Self);for(let s of i)s()}finally{Ye(n),de(r),M(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(fe(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new b(205,!1)}processProvider(t){t=ie(t);let n=Wt(t)?t:ie(t&&t.provide),r=kp(t);if(!Wt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Bt(void 0,xr,!0),o.factory=()=>$i(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=M(null);try{return n.value===xr&&(n.value=Pp,n.value=n.factory()),typeof n.value=="object"&&n.value&&jp(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{M(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ie(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function zi(e){let t=go(e),n=t!==null?t.factory:Dt(e);if(n!==null)return n;if(e instanceof N)throw new b(204,!1);if(e instanceof Function)return Fp(e);throw new b(204,!1)}function Fp(e){if(e.length>0)throw new b(204,!1);let n=Hh(e);return n!==null?()=>n.factory(e):()=>new e}function kp(e){if(ol(e))return Bt(void 0,e.useValue);{let t=sl(e);return Bt(t,xr)}}function sl(e,t,n){let r;if(Wt(e)){let o=ie(e);return Dt(o)||zi(o)}else if(ol(e))r=()=>ie(e.useValue);else if(Op(e))r=()=>e.useFactory(...$i(e.deps||[]));else if(Ap(e))r=()=>$(ie(e.useExisting));else{let o=ie(e&&(e.useClass||e.provide));if(Lp(e))r=()=>new o(...$i(e.deps));else return Dt(o)||zi(o)}return r}function Bt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Lp(e){return!!e.deps}function jp(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Vp(e){return typeof e=="function"||typeof e=="object"&&e instanceof N}function Gi(e,t){for(let n of e)Array.isArray(n)?Gi(n,t):n&&Vu(n)?Gi(n.\u0275providers,t):t(n)}function al(e,t){e instanceof Cn&&e.assertNotDestroyed();let n,r=Ye(e),o=de(void 0);try{return t()}finally{Ye(r),de(o)}}function cl(){return Bu()!==void 0||np()!=null}function Bp(e){if(!cl())throw new b(-203,!1)}function $p(e){return typeof e=="function"}var Be=0,w=1,y=2,te=3,Me=4,he=5,qt=6,Br=7,K=8,Zt=9,Fe=10,V=11,bn=12,qc=13,nn=14,ge=15,wt=16,$t=17,je=18,yo=19,ul=20,Je=21,Nr=22,ye=23,Z=25,ll=1;var It=7,$r=8,Yt=9,X=10,Ur=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Ur||{});function Ke(e){return Array.isArray(e)&&typeof e[ll]=="object"}function $e(e){return Array.isArray(e)&&e[ll]===!0}function Ks(e){return(e.flags&4)!==0}function vo(e){return e.componentOffset>-1}function Do(e){return(e.flags&1)===1}function tt(e){return!!e.template}function Wi(e){return(e[y]&512)!==0}var qi=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function dl(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function Xs(){return fl}function fl(e){return e.type.prototype.ngOnChanges&&(e.setInput=Hp),Up}Xs.ngInherit=!0;function Up(){let e=pl(this),t=e?.current;if(t){let n=e.previous;if(n===Gt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Hp(e,t,n,r,o){let i=this.declaredInputs[r],s=pl(e)||zp(e,{previous:Gt,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new qi(u&&u.currentValue,n,c===Gt),dl(e,t,o,n)}var hl="__ngSimpleChanges__";function pl(e){return e[hl]||null}function zp(e,t){return e[hl]=t}var Zc=null;var Ae=function(e,t,n){Zc?.(e,t,n)},gl="svg",Gp="math";function ke(e){for(;Array.isArray(e);)e=e[Be];return e}function ml(e,t){return ke(t[e])}function ve(e,t){return ke(t[e.index])}function ea(e,t){return e.data[t]}function ta(e,t){return e[t]}function st(e,t){let n=t[e];return Ke(n)?n:n[Be]}function Wp(e){return(e[y]&4)===4}function na(e){return(e[y]&128)===128}function qp(e){return $e(e[te])}function nt(e,t){return t==null?null:e[t]}function yl(e){e[$t]=0}function vl(e){e[y]&1024||(e[y]|=1024,na(e)&&Io(e))}function Zp(e,t){for(;e>0;)t=t[nn],e--;return t}function wo(e){return!!(e[y]&9216||e[ye]?.dirty)}function Zi(e){e[Fe].changeDetectionScheduler?.notify(8),e[y]&64&&(e[y]|=1024),wo(e)&&Io(e)}function Io(e){e[Fe].changeDetectionScheduler?.notify(0);let t=Et(e);for(;t!==null&&!(t[y]&8192||(t[y]|=8192,!na(t)));)t=Et(t)}function Dl(e,t){if((e[y]&256)===256)throw new b(911,!1);e[Je]===null&&(e[Je]=[]),e[Je].push(t)}function Yp(e,t){if(e[Je]===null)return;let n=e[Je].indexOf(t);n!==-1&&e[Je].splice(n,1)}function Et(e){let t=e[te];return $e(t)?t[te]:t}var E={lFrame:xl(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var wl=!1;function Qp(){return E.lFrame.elementDepthCount}function Jp(){E.lFrame.elementDepthCount++}function Kp(){E.lFrame.elementDepthCount--}function Il(){return E.bindingsEnabled}function El(){return E.skipHydrationRootTNode!==null}function Xp(e){return E.skipHydrationRootTNode===e}function eg(){E.skipHydrationRootTNode=null}function D(){return E.lFrame.lView}function B(){return E.lFrame.tView}function p0(e){return E.lFrame.contextLView=e,e[K]}function g0(e){return E.lFrame.contextLView=null,e}function ne(){let e=Cl();for(;e!==null&&e.type===64;)e=e.parent;return e}function Cl(){return E.lFrame.currentTNode}function tg(){let e=E.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Nt(e,t){let n=E.lFrame;n.currentTNode=e,n.isParent=t}function ra(){return E.lFrame.isParent}function oa(){E.lFrame.isParent=!1}function ng(){return E.lFrame.contextLView}function bl(){return wl}function Yc(e){wl=e}function rn(){let e=E.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ml(){return E.lFrame.bindingIndex}function rg(e){return E.lFrame.bindingIndex=e}function Nn(){return E.lFrame.bindingIndex++}function Eo(e){let t=E.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function og(){return E.lFrame.inI18n}function ig(e,t){let n=E.lFrame;n.bindingIndex=n.bindingRootIndex=e,Yi(t)}function sg(){return E.lFrame.currentDirectiveIndex}function Yi(e){E.lFrame.currentDirectiveIndex=e}function ag(e){let t=E.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function ia(){return E.lFrame.currentQueryIndex}function Co(e){E.lFrame.currentQueryIndex=e}function cg(e){let t=e[w];return t.type===2?t.declTNode:t.type===1?e[he]:null}function _l(e,t,n){if(n&x.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&x.Host);)if(o=cg(i),o===null||(i=i[nn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=E.lFrame=Tl();return r.currentTNode=t,r.lView=e,!0}function sa(e){let t=Tl(),n=e[w];E.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Tl(){let e=E.lFrame,t=e===null?null:e.child;return t===null?xl(e):t}function xl(e){let 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 e!==null&&(e.child=t),t}function Nl(){let e=E.lFrame;return E.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Sl=Nl;function aa(){let e=Nl();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 ug(e){return(E.lFrame.contextLView=Zp(e,E.lFrame.contextLView))[K]}function Ue(){return E.lFrame.selectedIndex}function Ct(e){E.lFrame.selectedIndex=e}function Sn(){let e=E.lFrame;return ea(e.tView,e.selectedIndex)}function m0(){E.lFrame.currentNamespace=gl}function lg(){return E.lFrame.currentNamespace}var Al=!0;function bo(){return Al}function Mo(e){Al=e}function dg(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=fl(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function _o(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function Sr(e,t,n){Ol(e,t,3,n)}function Ar(e,t,n,r){(e[y]&3)===n&&Ol(e,t,n,r)}function Ti(e,t){let n=e[y];(n&3)===t&&(n&=16383,n+=1,e[y]=n)}function Ol(e,t,n,r){let o=r!==void 0?e[$t]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[$t]+=65536),(a<i||i==-1)&&(fg(e,n,t,c),e[$t]=(e[$t]&4294901760)+c+2),c++}function Qc(e,t){Ae(4,e,t);let n=M(null);try{t.call(e)}finally{M(n),Ae(5,e,t)}}function fg(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[y]>>14<e[$t]>>16&&(e[y]&3)===t&&(e[y]+=16384,Qc(a,i)):Qc(a,i)}var zt=-1,bt=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function hg(e){return e instanceof bt}function pg(e){return(e.flags&8)!==0}function gg(e){return(e.flags&16)!==0}var xi={},Qi=class{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=mo(r);let o=this.injector.get(t,xi,r);return o!==xi||n===xi?o:this.parentInjector.get(t,n,r)}};function Rl(e){return e!==zt}function Hr(e){return e&32767}function mg(e){return e>>16}function zr(e,t){let n=mg(e),r=t;for(;n>0;)r=r[nn],n--;return r}var Ji=!0;function Gr(e){let t=Ji;return Ji=e,t}var yg=256,Pl=yg-1,Fl=5,vg=0,Oe={};function Dg(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Dn)&&(r=n[Dn]),r==null&&(r=n[Dn]=vg++);let o=r&Pl,i=1<<o;t.data[e+(o>>Fl)]|=i}function Wr(e,t){let n=kl(e,t);if(n!==-1)return n;let r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,Ni(r.data,e),Ni(t,null),Ni(r.blueprint,null));let o=ca(e,t),i=e.injectorIndex;if(Rl(o)){let s=Hr(o),a=zr(o,t),c=a[w].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function Ni(e,t){e.push(0,0,0,0,0,0,0,0,t)}function kl(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function ca(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=$l(o),r===null)return zt;if(n++,o=o[nn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return zt}function Ki(e,t,n){Dg(e,t,n)}function wg(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(qu(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function Ll(e,t,n){if(n&x.Optional||e!==void 0)return e;zs(t,"NodeInjector")}function jl(e,t,n,r){if(n&x.Optional&&r===void 0&&(r=null),!(n&(x.Self|x.Host))){let o=e[Zt],i=de(void 0);try{return o?o.get(t,r,n&x.Optional):$u(t,r,n&x.Optional)}finally{de(i)}}return Ll(r,t,n)}function Vl(e,t,n,r=x.Default,o){if(e!==null){if(t[y]&2048&&!(r&x.Self)){let s=bg(e,t,n,r,Oe);if(s!==Oe)return s}let i=Bl(e,t,n,r,Oe);if(i!==Oe)return i}return jl(t,n,r,o)}function Bl(e,t,n,r,o){let i=Eg(n);if(typeof i=="function"){if(!_l(t,e,r))return r&x.Host?Ll(o,n,r):jl(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&x.Optional))zs(n);else return s}finally{Sl()}}else if(typeof i=="number"){let s=null,a=kl(e,t),c=zt,u=r&x.Host?t[ge][he]:null;for((a===-1||r&x.SkipSelf)&&(c=a===-1?ca(e,t):t[a+8],c===zt||!Kc(r,!1)?a=-1:(s=t[w],a=Hr(c),t=zr(c,t)));a!==-1;){let l=t[w];if(Jc(i,a,l.data)){let d=Ig(a,t,n,s,r,u);if(d!==Oe)return d}c=t[a+8],c!==zt&&Kc(r,t[w].data[a+8]===u)&&Jc(i,a,t)?(s=l,a=Hr(c),t=zr(c,t)):a=-1}}return o}function Ig(e,t,n,r,o,i){let s=t[w],a=s.data[e+8],c=r==null?vo(a)&&Ji:r!=s&&(a.type&3)!==0,u=o&x.Host&&i===a,l=Or(a,s,n,c,u);return l!==null?Mt(t,s,l,a):Oe}function Or(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,h=o?a+l:u;for(let f=d;f<h;f++){let p=s[f];if(f<c&&n===p||f>=c&&p.type===n)return f}if(o){let f=s[c];if(f&&tt(f)&&f.type===n)return c}return null}function Mt(e,t,n,r){let o=e[n],i=t.data;if(hg(o)){let s=o;s.resolving&&Qh(Yh(i[n]));let a=Gr(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?de(s.injectImpl):null,l=_l(e,r,x.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&dg(n,i[n],t)}finally{u!==null&&de(u),Gr(a),s.resolving=!1,Sl()}}return o}function Eg(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Dn)?e[Dn]:void 0;return typeof t=="number"?t>=0?t&Pl:Cg:t}function Jc(e,t,n){let r=1<<e;return!!(n[t+(e>>Fl)]&r)}function Kc(e,t){return!(e&x.Self)&&!(e&x.Host&&t)}var vt=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Vl(this._tNode,this._lView,t,mo(r),n)}};function Cg(){return new vt(ne(),D())}function y0(e){return po(()=>{let t=e.prototype.constructor,n=t[Fr]||Xi(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Fr]||Xi(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Xi(e){return Fu(e)?()=>{let t=Xi(ie(e));return t&&t()}:Dt(e)}function bg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[y]&2048&&!(s[y]&512);){let a=Bl(i,s,n,r|x.Self,Oe);if(a!==Oe)return a;let c=i.parent;if(!c){let u=s[ul];if(u){let l=u.get(n,Oe,r);if(l!==Oe)return l}c=$l(s),s=s[nn]}i=c}return o}function $l(e){let t=e[w],n=t.type;return n===2?t.declTNode:n===1?e[he]:null}function Mg(e){return wg(ne(),e)}function Xc(e,t=null,n=null,r){let o=Ul(e,t,n,r);return o.resolveInjectorInitializers(),o}function Ul(e,t=null,n=null,r,o=new Set){let i=[n||se,Np(e)];return r=r||(typeof e=="object"?void 0:fe(e)),new Cn(i,t||Js(),r||null,o)}var Qt=class e{static{this.THROW_IF_NOT_FOUND=wn}static{this.NULL=new Vr}static create(t,n){if(Array.isArray(t))return Xc({name:""},n,t,"");{let r=t.name??"";return Xc({name:r},t.parent,t.providers,r)}}static{this.\u0275prov=R({token:e,providedIn:"any",factory:()=>$(zu)})}static{this.__NG_ELEMENT_ID__=-1}};var _g=new N("");_g.__NG_ELEMENT_ID__=e=>{let t=ne();if(t===null)throw new b(204,!1);if(t.type&2)return t.value;if(e&x.Optional)return null;throw new b(204,!1)};var Tg="ngOriginalError";function Si(e){return e[Tg]}var Hl=!0,To=(()=>{class e{static{this.__NG_ELEMENT_ID__=xg}static{this.__NG_ENV_ID__=n=>n}}return e})(),es=class extends To{constructor(t){super(),this._lView=t}onDestroy(t){return Dl(this._lView,t),()=>Yp(this._lView,t)}};function xg(){return new es(D())}var St=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new un(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=R({token:e,providedIn:"root",factory:()=>new e})}}return e})();var ts=class extends Se{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,cl()&&(this.destroyRef=v(To,{optional:!0})??void 0,this.pendingTasks=v(St,{optional:!0})??void 0)}emit(t){let n=M(null);try{super.next(t)}finally{M(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof q&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},be=ts;function qr(...e){}function zl(e){let t,n;function r(){e=qr;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function eu(e){return queueMicrotask(()=>e()),()=>{e=qr}}var ua="isAngularZone",Zr=ua+"_ID",Ng=0,ee=class e{constructor(t){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new be(!1),this.onMicrotaskEmpty=new be(!1),this.onStable=new be(!1),this.onError=new be(!1);let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Hl}=t;if(typeof Zone>"u")throw new b(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,Og(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(ua)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new b(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Sg,qr,qr);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},Sg={};function la(e){if(e._nesting==0&&!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 Ag(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){zl(()=>{e.callbackScheduled=!1,ns(e),e.isCheckStableRunning=!0,la(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),ns(e)}function Og(e){let t=()=>{Ag(e)},n=Ng++;e._inner=e._inner.fork({name:"angular",properties:{[ua]:!0,[Zr]:n,[Zr+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Rg(c))return r.invokeTask(i,s,a,c);try{return tu(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),nu(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return tu(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Pg(c)&&t(),nu(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,ns(e),la(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function ns(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function tu(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function nu(e){e._nesting--,la(e)}var Yr=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new be,this.onMicrotaskEmpty=new be,this.onStable=new be,this.onError=new be}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,o){return t.apply(n,r)}};function Rg(e){return Gl(e,"__ignore_ng_zone__")}function Pg(e){return Gl(e,"__scheduler_tick__")}function Gl(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var rt=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Si(t);for(;n&&Si(n);)n=Si(n);return n||null}},Fg=new N("",{providedIn:"root",factory:()=>{let e=v(ee),t=v(rt);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),Qr=class{constructor(){this.destroyed=!1,this.listeners=null,this.errorHandler=v(rt,{optional:!0}),this.destroyRef=v(To),this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new b(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed)throw new b(953,!1);if(this.listeners===null)return;let n=M(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{M(n)}}};function v0(e){return new Qr}function ru(e,t){return Ru(e,t)}function kg(e){return Ru(ho,e)}var D0=(ru.required=kg,ru);function Lg(){return on(ne(),D())}function on(e,t){return new At(ve(e,t))}var At=(()=>{class e{constructor(n){this.nativeElement=n}static{this.__NG_ELEMENT_ID__=Lg}}return e})();function Wl(e){return e instanceof At?e.nativeElement:e}function jg(){return this._results[Symbol.iterator]()}var rs=class e{get changes(){return this._changes??=new be}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let n=e.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=jg)}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){this.dirty=!1;let r=cp(t);(this._changesDetected=!ap(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function ql(e){return(e.flags&128)===128}var Zl=new Map,Vg=0;function Bg(){return Vg++}function $g(e){Zl.set(e[yo],e)}function os(e){Zl.delete(e[yo])}var ou="__ngContext__";function ot(e,t){Ke(t)?(e[ou]=t[yo],$g(t)):e[ou]=t}function Yl(e){return Jl(e[bn])}function Ql(e){return Jl(e[Me])}function Jl(e){for(;e!==null&&!$e(e);)e=e[Me];return e}var is;function w0(e){is=e}function Kl(){if(is!==void 0)return is;if(typeof document<"u")return document;throw new b(210,!1)}var I0=new N("",{providedIn:"root",factory:()=>Ug}),Ug="ng",Hg=new N(""),da=new N("",{providedIn:"platform",factory:()=>"unknown"});var E0=new N("",{providedIn:"root",factory:()=>Kl().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var zg="h",Gg="b";var Wg=()=>null;function fa(e,t,n=!1){return Wg(e,t,n)}var Xl=!1,qg=new N("",{providedIn:"root",factory:()=>Xl});var Er;function Zg(){if(Er===void 0&&(Er=null,Qe.trustedTypes))try{Er=Qe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Er}function xo(e){return Zg()?.createHTML(e)||e}var Cr;function ed(){if(Cr===void 0&&(Cr=null,Qe.trustedTypes))try{Cr=Qe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Cr}function iu(e){return ed()?.createHTML(e)||e}function su(e){return ed()?.createScriptURL(e)||e}var Ve=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Au})`}},ss=class extends Ve{getTypeName(){return"HTML"}},as=class extends Ve{getTypeName(){return"Style"}},cs=class extends Ve{getTypeName(){return"Script"}},us=class extends Ve{getTypeName(){return"URL"}},ls=class extends Ve{getTypeName(){return"ResourceURL"}};function Ot(e){return e instanceof Ve?e.changingThisBreaksApplicationSecurity:e}function ha(e,t){let n=Yg(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Au})`)}return n===t}function Yg(e){return e instanceof Ve&&e.getTypeName()||null}function C0(e){return new ss(e)}function b0(e){return new as(e)}function M0(e){return new cs(e)}function _0(e){return new us(e)}function T0(e){return new ls(e)}function Qg(e){let t=new fs(e);return Jg()?new ds(t):t}var ds=class{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(xo(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},fs=class{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=xo(t),n}};function Jg(){try{return!!new window.DOMParser().parseFromString(xo(""),"text/html")}catch{return!1}}var Kg=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function td(e){return e=String(e),e.match(Kg)?e:"unsafe:"+e}function He(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function An(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var nd=He("area,br,col,hr,img,wbr"),rd=He("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),od=He("rp,rt"),Xg=An(od,rd),em=An(rd,He("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")),tm=An(od,He("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")),au=An(nd,em,tm,Xg),id=He("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),nm=He("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,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),rm=He("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"),om=An(id,nm,rm),im=He("script,style,template"),hs=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];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){o.push(n),n=cm(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=am(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=cu(t).toLowerCase();if(!au.hasOwnProperty(n))return this.sanitizedSomething=!0,!im.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!om.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;id[a]&&(c=td(c)),this.buf.push(" ",s,'="',uu(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=cu(t).toLowerCase();au.hasOwnProperty(n)&&!nd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(uu(t))}};function sm(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function am(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw sd(t);return t}function cm(e){let t=e.firstChild;if(t&&sm(e,t))throw sd(t);return t}function cu(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function sd(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var um=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,lm=/([^\#-~ |!])/g;function uu(e){return e.replace(/&/g,"&amp;").replace(um,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(lm,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var br;function dm(e,t){let n=null;try{br=br||Qg(e);let r=t?String(t):"";n=br.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=br.getInertBodyElement(r)}while(r!==i);let a=new hs().sanitizeChildren(lu(n)||n);return xo(a)}finally{if(n){let r=lu(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function lu(e){return"content"in e&&fm(e)?e.content:null}function fm(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var No=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(No||{});function x0(e){let t=pa();return t?iu(t.sanitize(No.HTML,e)||""):ha(e,"HTML")?iu(Ot(e)):dm(Kl(),Re(e))}function hm(e){let t=pa();return t?t.sanitize(No.URL,e)||"":ha(e,"URL")?Ot(e):td(Re(e))}function pm(e){let t=pa();if(t)return su(t.sanitize(No.RESOURCE_URL,e)||"");if(ha(e,"ResourceURL"))return su(Ot(e));throw new b(904,!1)}function gm(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?pm:hm}function N0(e,t,n){return gm(t,n)(e)}function pa(){let e=D();return e&&e[Fe].sanitizer}var mm=/^>|^->|<!--|-->|--!>|<!-$/g,ym=/(<|>)/g,vm="\u200B$1\u200B";function Dm(e){return e.replace(mm,t=>t.replace(ym,vm))}function ad(e){return e instanceof Function?e():e}var Jr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Jr||{}),wm;function ga(e,t){return wm(e,t)}function Ut(e,t,n,r,o){if(r!=null){let i,s=!1;$e(r)?i=r:Ke(r)&&(s=!0,r=r[Be]);let a=ke(r);e===0&&n!==null?o==null?fd(t,n,a):Kr(t,n,a,o||null,!0):e===1&&n!==null?Kr(t,n,a,o||null,!0):e===2?Pm(t,a,s):e===3&&t.destroyNode(a),i!=null&&km(t,e,i,n,o)}}function Im(e,t){return e.createText(t)}function Em(e,t,n){e.setValue(t,n)}function Cm(e,t){return e.createComment(Dm(t))}function cd(e,t,n){return e.createElement(t,n)}function bm(e,t){ud(e,t),t[Be]=null,t[he]=null}function Mm(e,t,n,r,o,i){r[Be]=o,r[he]=t,Oo(e,r,n,1,o,i)}function ud(e,t){t[Fe].changeDetectionScheduler?.notify(9),Oo(e,t,t[V],2,null,null)}function _m(e){let t=e[bn];if(!t)return Ai(e[w],e);for(;t;){let n=null;if(Ke(t))n=t[bn];else{let r=t[X];r&&(n=r)}if(!n){for(;t&&!t[Me]&&t!==e;)Ke(t)&&Ai(t[w],t),t=t[te];t===null&&(t=e),Ke(t)&&Ai(t[w],t),n=t&&t[Me]}t=n}}function Tm(e,t,n,r){let o=X+r,i=n.length;r>0&&(n[o-1][Me]=t),r<i-X?(t[Me]=n[o],Uu(n,X+r,t)):(n.push(t),t[Me]=null),t[te]=n;let s=t[wt];s!==null&&n!==s&&ld(s,t);let a=t[je];a!==null&&a.insertView(e),Zi(t),t[y]|=128}function ld(e,t){let n=e[Yt],r=t[te];if(Ke(r))e[y]|=Ur.HasTransplantedViews;else{let o=r[te][ge];t[ge]!==o&&(e[y]|=Ur.HasTransplantedViews)}n===null?e[Yt]=[t]:n.push(t)}function ma(e,t){let n=e[Yt],r=n.indexOf(t);n.splice(r,1)}function Mn(e,t){if(e.length<=X)return;let n=X+t,r=e[n];if(r){let o=r[wt];o!==null&&o!==e&&ma(o,r),t>0&&(e[n-1][Me]=r[Me]);let i=Lr(e,X+t);bm(r[w],r);let s=i[je];s!==null&&s.detachView(i[w]),r[te]=null,r[Me]=null,r[y]&=-129}return r}function So(e,t){if(!(t[y]&256)){let n=t[V];n.destroyNode&&Oo(e,t,n,3,null,null),_m(t)}}function Ai(e,t){if(t[y]&256)return;let n=M(null);try{t[y]&=-129,t[y]|=256,t[ye]&&Dr(t[ye]),Nm(e,t),xm(e,t),t[w].type===1&&t[V].destroy();let r=t[wt];if(r!==null&&$e(t[te])){r!==t[te]&&ma(r,t);let o=t[je];o!==null&&o.detachView(e)}os(t)}finally{M(n)}}function xm(e,t){let n=e.cleanup,r=t[Br];if(n!==null)for(let i=0;i<n.length-1;i+=2)if(typeof n[i]=="string"){let s=n[i+3];s>=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[Br]=null);let o=t[Je];if(o!==null){t[Je]=null;for(let i=0;i<o.length;i++){let s=o[i];s()}}}function Nm(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof bt)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];Ae(4,a,c);try{c.call(a)}finally{Ae(5,a,c)}}else{Ae(4,o,i);try{i.call(o)}finally{Ae(5,o,i)}}}}}function dd(e,t,n){return Sm(e,t.parent,n)}function Sm(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Be];{let{componentOffset:o}=r;if(o>-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===In.None||i===In.Emulated)return null}return ve(r,n)}}function Kr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function fd(e,t,n){e.appendChild(t,n)}function du(e,t,n,r,o){r!==null?Kr(e,t,n,r,o):fd(e,t,n)}function hd(e,t){return e.parentNode(t)}function Am(e,t){return e.nextSibling(t)}function pd(e,t,n){return Rm(e,t,n)}function Om(e,t,n){return e.type&40?ve(e,n):null}var Rm=Om,fu;function Ao(e,t,n,r){let o=dd(e,r,t),i=t[V],s=r.parent||t[he],a=pd(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)du(i,o,n[c],a,!1);else du(i,o,n,a,!1);fu!==void 0&&fu(i,r,t,n,o)}function yn(e,t){if(t!==null){let n=t.type;if(n&3)return ve(t,e);if(n&4)return ps(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return yn(e,r);{let o=e[t.index];return $e(o)?ps(-1,o):ke(o)}}else{if(n&128)return yn(e,t.next);if(n&32)return ga(t,e)()||ke(e[t.index]);{let r=gd(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Et(e[ge]);return yn(o,r)}else return yn(e,t.next)}}}return null}function gd(e,t){if(t!==null){let r=e[ge][he],o=t.projection;return r.projection[o]}return null}function ps(e,t){let n=X+e+1;if(n<t.length){let r=t[n],o=r[w].firstChild;if(o!==null)return yn(r,o)}return t[It]}function Pm(e,t,n){e.removeChild(null,t,n)}function ya(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],c=n.type;if(s&&t===0&&(a&&ot(ke(a),r),n.flags|=2),(n.flags&32)!==32)if(c&8)ya(e,t,n.child,r,o,i,!1),Ut(t,e,o,a,i);else if(c&32){let u=ga(n,r),l;for(;l=u();)Ut(t,e,o,l,i);Ut(t,e,o,a,i)}else c&16?md(e,t,r,n,o,i):Ut(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Oo(e,t,n,r,o,i){ya(n,r,e.firstChild,t,o,i,!1)}function Fm(e,t,n){let r=t[V],o=dd(e,n,t),i=n.parent||t[he],s=pd(i,n,t);md(r,0,t,n,o,s)}function md(e,t,n,r,o,i){let s=n[ge],c=s[he].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];Ut(t,e,o,l,i)}else{let u=c,l=s[te];ql(r)&&(u.flags|=128),ya(e,t,u,l,o,i,!0)}}function km(e,t,n,r,o){let i=n[It],s=ke(n);i!==s&&Ut(t,e,r,i,o);for(let a=X;a<n.length;a++){let c=n[a];Oo(c[w],c,e,t,r,i)}}function Lm(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Jr.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Jr.Important),e.setStyle(n,r,o,i))}}function jm(e,t,n){e.setAttribute(t,"style",n)}function yd(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function vd(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Ui(e,t,r),o!==null&&yd(e,t,o),i!==null&&jm(e,t,i)}var Q={};function S0(e=1){Dd(B(),D(),Ue()+e,!1)}function Dd(e,t,n,r){if(!r)if((t[y]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Sr(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Ar(t,i,0,n)}Ct(n)}function Te(e,t=x.Default){let n=D();if(n===null)return $(e,t);let r=ne();return Vl(r,n,ie(e),t)}function wd(e,t,n,r,o,i){let s=M(null);try{let a=null;o&Xe.SignalBased&&(a=t[r][le]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&Xe.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(t,i)),e.setInput!==null?e.setInput(t,a,i,n,r):dl(t,a,r,i)}finally{M(s)}}function Vm(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)Ct(~o);else{let i=o,s=n[++r],a=n[++r];ig(s,i);let c=t[i];a(2,c)}}}finally{Ct(-1)}}function Ro(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[Be]=o,d[y]=r|4|128|8|64,(u!==null||e&&e[y]&2048)&&(d[y]|=2048),yl(d),d[te]=d[nn]=e,d[K]=n,d[Fe]=s||e&&e[Fe],d[V]=a||e&&e[V],d[Zt]=c||e&&e[Zt]||null,d[he]=i,d[yo]=Bg(),d[qt]=l,d[ul]=u,d[ge]=t.type==2?e[ge]:d,d}function sn(e,t,n,r,o){let i=e.data[t];if(i===null)i=Bm(e,t,n,r,o),og()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=tg();i.injectorIndex=s===null?-1:s.injectorIndex}return Nt(i,!0),i}function Bm(e,t,n,r,o){let i=Cl(),s=ra(),a=s?i:i&&i.parent,c=e.data[t]=Wm(e,a,n,t,r,o);return e.firstChild===null&&(e.firstChild=c),i!==null&&(s?i.child==null&&c.parent!==null&&(i.child=c):i.next===null&&(i.next=c,c.prev=i)),c}function Id(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Ed(e,t,n,r,o){let i=Ue(),s=r&2;try{Ct(-1),s&&t.length>Z&&Dd(e,t,Z,!1),Ae(s?2:0,o),n(r,o)}finally{Ct(i),Ae(s?3:1,o)}}function va(e,t,n){if(Ks(t)){let r=M(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{M(r)}}}function Da(e,t,n){Il()&&(Km(e,t,n,ve(n,t)),(n.flags&64)===64&&Md(e,t,n))}function wa(e,t,n=ve){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function Cd(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Ia(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Ia(e,t,n,r,o,i,s,a,c,u,l){let d=Z+r,h=d+o,f=$m(d,h),p=typeof u=="function"?u():u;return f[w]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,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:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:p,incompleteFirstPass:!1,ssrId:l}}function $m(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Q);return n}function Um(e,t,n,r){let i=r.get(qg,Xl)||n===In.ShadowDom,s=e.selectRootElement(t,i);return Hm(s),s}function Hm(e){zm(e)}var zm=()=>null;function Gm(e,t,n,r){let o=xd(t);o.push(n),e.firstCreatePass&&Nd(e).push(r,o.length-1)}function Wm(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return El()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev: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}}function hu(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,c=Xe.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=i;if(o!==null){if(!o.hasOwnProperty(i))continue;u=o[i]}e===0?pu(r,n,u,a,c):pu(r,n,u,a)}return r}function pu(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function qm(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,u=null;for(let l=r;l<o;l++){let d=i[l],h=n?n.get(d):null,f=h?h.inputs:null,p=h?h.outputs:null;c=hu(0,d.inputs,l,c,f),u=hu(1,d.outputs,l,u,p);let g=c!==null&&s!==null&&!Ws(t)?uy(c,l,s):null;a.push(g)}c!==null&&(c.hasOwnProperty("class")&&(t.flags|=8),c.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=c,t.outputs=u}function Zm(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Po(e,t,n,r,o,i,s,a){let c=ve(t,n),u=t.inputs,l;!a&&u!=null&&(l=u[r])?(Ca(e,n,l,r,o),vo(t)&&Ym(n,t.index)):t.type&3?(r=Zm(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)):t.type&12}function Ym(e,t){let n=st(t,e);n[y]&16||(n[y]|=64)}function Ea(e,t,n,r){if(Il()){let o=r===null?null:{"":-1},i=ey(e,n),s,a;i===null?s=a=null:[s,a]=i,s!==null&&bd(e,t,n,s,o,a),o&&ty(n,r,o)}n.mergedAttrs=En(n.mergedAttrs,n.attrs)}function bd(e,t,n,r,o,i){for(let u=0;u<r.length;u++)Ki(Wr(n,t),e,r[u].type);ry(n,e.data.length,r.length);for(let u=0;u<r.length;u++){let l=r[u];l.providersResolver&&l.providersResolver(l)}let s=!1,a=!1,c=Id(e,t,r.length,null);for(let u=0;u<r.length;u++){let l=r[u];n.mergedAttrs=En(n.mergedAttrs,l.hostAttrs),oy(e,n,t,c,l),ny(c,l,o),l.contentQueries!==null&&(n.flags|=4),(l.hostBindings!==null||l.hostAttrs!==null||l.hostVars!==0)&&(n.flags|=64);let d=l.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),c++}qm(e,n,i)}function Qm(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Jm(s)!=a&&s.push(a),s.push(n,r,i)}}function Jm(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Km(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;vo(n)&&iy(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Wr(n,t),ot(r,t);let s=n.initialInputs;for(let a=o;a<i;a++){let c=e.data[a],u=Mt(t,e,a,n);if(ot(u,t),s!==null&&cy(t,a-o,u,c,n,s),tt(c)){let l=st(n.index,t);l[K]=Mt(t,e,a,n)}}}function Md(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=sg();try{Ct(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];Yi(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Xm(c,u)}}finally{Ct(-1),Yi(s)}}function Xm(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function ey(e,t){let n=e.directiveRegistry,r=null,o=null;if(n)for(let i=0;i<n.length;i++){let s=n[i];if(Yu(t,s.selectors,!1))if(r||(r=[]),tt(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s);let c=a.length;gs(e,t,c)}else r.unshift(s),gs(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return r===null?null:[r,o]}function gs(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function ty(e,t,n){if(t){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new b(-301,!1);r.push(t[o],i)}}}function ny(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;tt(t)&&(n[""]=e)}}function ry(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function oy(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Dt(o.type,!0)),s=new bt(i,tt(o),Te);e.blueprint[r]=s,n[r]=s,Qm(e,t,r,Id(e,n,o.hostVars,Q),o)}function iy(e,t,n){let r=ve(t,e),o=Cd(n),i=e[Fe].rendererFactory,s=16;n.signals?s=4096:n.onPush&&(s=64);let a=Fo(e,Ro(e,o,null,s,r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=a}function sy(e,t,n,r,o,i){let s=ve(e,t);ay(t[V],s,i,e.value,n,r,o)}function ay(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?Re(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function cy(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;){let c=s[a++],u=s[a++],l=s[a++],d=s[a++];wd(r,n,c,u,l,d)}}function uy(e,t,n){let r=null,o=0;for(;o<n.length;){let i=n[o];if(i===0){o+=4;continue}else if(i===5){o+=2;continue}if(typeof i=="number")break;if(e.hasOwnProperty(i)){r===null&&(r=[]);let s=e[i];for(let a=0;a<s.length;a+=3)if(s[a]===t){r.push(i,s[a+1],s[a+2],n[o+1]);break}}o+=2}return r}function _d(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Td(e,t){let n=e.contentQueries;if(n!==null){let r=M(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];Co(i),a.contentQueries(2,t[s],s)}}}finally{M(r)}}}function Fo(e,t){return e[bn]?e[qc][Me]=t:e[bn]=t,e[qc]=t,t}function ms(e,t,n){Co(0);let r=M(null);try{t(e,n)}finally{M(r)}}function xd(e){return e[Br]??=[]}function Nd(e){return e.cleanup??=[]}function Sd(e,t){let n=e[Zt],r=n?n.get(rt,null):null;r&&r.handleError(t)}function Ca(e,t,n,r,o){for(let i=0;i<n.length;){let s=n[i++],a=n[i++],c=n[i++],u=t[s],l=e.data[s];wd(l,u,r,a,c,o)}}function Ad(e,t,n){let r=ml(t,e);Em(e[V],r,n)}function ly(e,t){let n=st(t,e),r=n[w];dy(r,n);let o=n[Be];o!==null&&n[qt]===null&&(n[qt]=fa(o,n[Zt])),ba(r,n,n[K])}function dy(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function ba(e,t,n){sa(t);try{let r=e.viewQuery;r!==null&&ms(1,r,n);let o=e.template;o!==null&&Ed(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[je]?.finishViewCreation(e),e.staticContentQueries&&Td(e,t),e.staticViewQueries&&ms(2,e.viewQuery,n);let i=e.components;i!==null&&fy(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[y]&=-5,aa()}}function fy(e,t){for(let n=0;n<t.length;n++)ly(e,t[n])}function On(e,t,n,r){let o=M(null);try{let i=t.tView,a=e[y]&4096?4096:16,c=Ro(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[wt]=u;let l=e[je];return l!==null&&(c[je]=l.createEmbeddedView(i)),ba(i,c,n),c}finally{M(o)}}function Od(e,t){let n=X+t;if(n<e.length)return e[n]}function Jt(e,t){return!t||t.firstChild===null||ql(e)}function Rn(e,t,n,r=!0){let o=t[w];if(Tm(o,t,e,n),r){let s=ps(n,e),a=t[V],c=hd(a,e[It]);c!==null&&Mm(o,e[he],a,t,c,s)}let i=t[qt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Rd(e,t){let n=Mn(e,t);return n!==void 0&&So(n[w],n),n}function Xr(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(ke(i)),$e(i)&&hy(i,r);let s=n.type;if(s&8)Xr(e,t,n.child,r);else if(s&32){let a=ga(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=gd(t,n);if(Array.isArray(a))r.push(...a);else{let c=Et(t[ge]);Xr(c[w],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function hy(e,t){for(let n=X;n<e.length;n++){let r=e[n],o=r[w].firstChild;o!==null&&Xr(r[w],r,o,t)}e[It]!==e[Be]&&t.push(e[It])}var Pd=[];function py(e){return e[ye]??gy(e)}function gy(e){let t=Pd.pop()??Object.create(yy);return t.lView=e,t}function my(e){e.lView[ye]!==e&&(e.lView=null,Pd.push(e))}var yy=Ie(pe({},Vt),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Io(e.lView)},consumerOnSignalRead(){this.lView[ye]=this}});function vy(e){let t=e[ye]??Object.create(Dy);return t.lView=e,t}var Dy=Ie(pe({},Vt),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=Et(e.lView);for(;t&&!Fd(t[w]);)t=Et(t);t&&vl(t)},consumerOnSignalRead(){this.lView[ye]=this}});function Fd(e){return e.type!==2}var wy=100;function kd(e,t=!0,n=0){let r=e[Fe],o=r.rendererFactory,i=!1;i||o.begin?.();try{Iy(e,n)}catch(s){throw t&&Sd(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function Iy(e,t){let n=bl();try{Yc(!0),ys(e,t);let r=0;for(;wo(e);){if(r===wy)throw new b(103,!1);r++,ys(e,1)}}finally{Yc(n)}}function Ey(e,t,n,r){let o=t[y];if((o&256)===256)return;let i=!1,s=!1;!i&&t[Fe].inlineEffectRunner?.flush(),sa(t);let a=!0,c=null,u=null;i||(Fd(e)?(u=py(t),c=gn(u)):bc()===null?(a=!1,u=vy(t),c=gn(u)):t[ye]&&(Dr(t[ye]),t[ye]=null));try{yl(t),rg(e.bindingStartIndex),n!==null&&Ed(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Sr(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Ar(t,f,0,null),Ti(t,0)}if(s||Cy(t),Ld(t,0),e.contentQueries!==null&&Td(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Sr(t,f)}else{let f=e.contentHooks;f!==null&&Ar(t,f,1),Ti(t,1)}Vm(e,t);let d=e.components;d!==null&&Vd(t,d,0);let h=e.viewQuery;if(h!==null&&ms(2,h,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Sr(t,f)}else{let f=e.viewHooks;f!==null&&Ar(t,f,2),Ti(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Nr]){for(let f of t[Nr])f();t[Nr]=null}i||(t[y]&=-73)}catch(l){throw i||Io(t),l}finally{u!==null&&(yr(u,c),a&&my(u)),aa()}}function Ld(e,t){for(let n=Yl(e);n!==null;n=Ql(n))for(let r=X;r<n.length;r++){let o=n[r];jd(o,t)}}function Cy(e){for(let t=Yl(e);t!==null;t=Ql(t)){if(!(t[y]&Ur.HasTransplantedViews))continue;let n=t[Yt];for(let r=0;r<n.length;r++){let o=n[r];vl(o)}}}function by(e,t,n){let r=st(t,e);jd(r,n)}function jd(e,t){na(e)&&ys(e,t)}function ys(e,t){let r=e[w],o=e[y],i=e[ye],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&vr(i)),s||=!1,i&&(i.dirty=!1),e[y]&=-9217,s)Ey(r,e,r.template,e[K]);else if(o&8192){Ld(e,1);let a=r.components;a!==null&&Vd(e,a,1)}}function Vd(e,t,n){for(let r=0;r<t.length;r++)by(e,t[r],n)}function Ma(e,t){let n=bl()?64:1088;for(e[Fe].changeDetectionScheduler?.notify(t);e;){e[y]|=n;let r=Et(e);if(Wi(e)&&!r)return e;e=r}return null}var _t=class{get rootNodes(){let t=this._lView,n=t[w];return Xr(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[K]}set context(t){this._lView[K]=t}get destroyed(){return(this._lView[y]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[te];if($e(t)){let n=t[$r],r=n?n.indexOf(this):-1;r>-1&&(Mn(t,r),Lr(n,r))}this._attachedToViewContainer=!1}So(this._lView[w],this._lView)}onDestroy(t){Dl(this._lView,t)}markForCheck(){Ma(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[y]&=-129}reattach(){Zi(this._lView),this._lView[y]|=128}detectChanges(){this._lView[y]|=1024,kd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Wi(this._lView),n=this._lView[wt];n!==null&&!t&&ma(n,this._lView),ud(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=t;let n=Wi(this._lView),r=this._lView[wt];r!==null&&!n&&ld(r,this._lView),Zi(this._lView)}},_n=(()=>{class e{static{this.__NG_ELEMENT_ID__=Ty}}return e})(),My=_n,_y=class extends My{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=On(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new _t(o)}};function Ty(){return ko(ne(),D())}function ko(e,t){return e.type&4?new _y(t,e,on(e,t)):null}var O0=new RegExp(`^(\\d+)*(${Gg}|${zg})*(.*)`);var xy=()=>null;function Kt(e,t){return xy(e,t)}var Tt=class{},_a=new N("",{providedIn:"root",factory:()=>!1});var Bd=new N(""),Ta=new N(""),vs=class{},eo=class{};function Ny(e){let t=Error(`No component factory found for ${fe(e)}.`);return t[Sy]=e,t}var Sy="ngComponent";var Ds=class{resolveComponentFactory(t){throw Ny(t)}},Xt=class{static{this.NULL=new Ds}},to=class{},xa=(()=>{class e{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>Ay()}}return e})();function Ay(){let e=D(),t=ne(),n=st(t.index,e);return(Ke(n)?n:e)[V]}var Oy=(()=>{class e{static{this.\u0275prov=R({token:e,providedIn:"root",factory:()=>null})}}return e})();function no(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=Vi(o,a);else if(i==2){let c=a,u=t[++s];r=Vi(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}var ro=class extends Xt{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=et(t);return new en(n,this.ngModule)}};function gu(e,t){let n=[];for(let r in e){if(!e.hasOwnProperty(r))continue;let o=e[r];if(o===void 0)continue;let i=Array.isArray(o),s=i?o[0]:o,a=i?o[1]:Xe.None;t?n.push({propName:s,templateName:r,isSignal:(a&Xe.SignalBased)!==0}):n.push({propName:s,templateName:r})}return n}function Ry(e){let t=e.toLowerCase();return t==="svg"?gl:t==="math"?Gp:null}var en=class extends eo{get inputs(){let t=this.componentDef,n=t.inputTransforms,r=gu(t.inputs,!0);if(n!==null)for(let o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return gu(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Cp(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=M(null);try{o=o||this.ngModule;let s=o instanceof Pe?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new Qi(t,s):t,c=a.get(to,null);if(c===null)throw new b(407,!1);let u=a.get(Oy,null),l=a.get(Tt,null),d={rendererFactory:c,sanitizer:u,inlineEffectRunner:null,changeDetectionScheduler:l},h=c.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",p=r?Um(h,r,this.componentDef.encapsulation,a):cd(h,f,Ry(f)),g=512;this.componentDef.signals?g|=4096:this.componentDef.onPush||(g|=16);let m=null;p!==null&&(m=fa(p,a,!0));let C=Ia(0,null,null,1,0,null,null,null,null,null,null),j=Ro(null,C,null,g,null,null,d,h,a,null,m);sa(j);let P,Y,ce=null;try{let G=this.componentDef,Le,ei=null;G.findHostDirectiveDefs?(Le=[],ei=new Map,G.findHostDirectiveDefs(G,Le,ei),Le.push(G)):Le=[G];let Wf=Py(j,p);ce=Fy(Wf,p,G,Le,j,d,h),Y=ea(C,Z),p&&jy(h,G,p,r),n!==void 0&&Vy(Y,this.ngContentSelectors,n),P=Ly(ce,G,Le,ei,j,[By]),ba(C,j,null)}catch(G){throw ce!==null&&os(ce),os(j),G}finally{aa()}return new ws(this.componentType,P,on(Y,j),j,Y)}finally{M(i)}}},ws=class extends vs{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new _t(o,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode.inputs,o;if(r!==null&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let i=this._rootLView;Ca(i[w],i,o,t,n),this.previousInputValues.set(t,n);let s=st(this._tNode.index,i);Ma(s,1)}}get injector(){return new vt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Py(e,t){let n=e[w],r=Z;return e[r]=t,sn(n,r,2,"#host",null)}function Fy(e,t,n,r,o,i,s){let a=o[w];ky(r,e,t,s);let c=null;t!==null&&(c=fa(t,o[Zt]));let u=i.rendererFactory.createRenderer(t,n),l=16;n.signals?l=4096:n.onPush&&(l=64);let d=Ro(o,Cd(n),null,l,o[e.index],e,i,u,null,null,c);return a.firstCreatePass&&gs(a,e,r.length-1),Fo(o,d),o[e.index]=d}function ky(e,t,n,r){for(let o of e)t.mergedAttrs=En(t.mergedAttrs,o.hostAttrs);t.mergedAttrs!==null&&(no(t,t.mergedAttrs,!0),n!==null&&vd(r,n,t))}function Ly(e,t,n,r,o,i){let s=ne(),a=o[w],c=ve(s,o);bd(a,o,s,n,null,r);for(let l=0;l<n.length;l++){let d=s.directiveStart+l,h=Mt(o,a,d,s);ot(h,o)}Md(a,o,s),c&&ot(c,o);let u=Mt(o,a,s.directiveStart+s.componentOffset,s);if(e[K]=o[K]=u,i!==null)for(let l of i)l(u,t);return va(a,s,o),u}function jy(e,t,n,r){if(r)Ui(e,n,["ng-version","18.2.7"]);else{let{attrs:o,classes:i}=bp(t.selectors[0]);o&&Ui(e,n,o),i&&i.length>0&&yd(e,n,i.join(" "))}}function Vy(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null?Array.from(i):null)}}function By(){let e=ne();_o(D()[w],e)}var Pn=(()=>{class e{static{this.__NG_ELEMENT_ID__=$y}}return e})();function $y(){let e=ne();return Ud(e,D())}var Uy=Pn,$d=class extends Uy{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return on(this._hostTNode,this._hostLView)}get injector(){return new vt(this._hostTNode,this._hostLView)}get parentInjector(){let t=ca(this._hostTNode,this._hostLView);if(Rl(t)){let n=zr(t,this._hostLView),r=Hr(t),o=n[w].data[r+8];return new vt(o,n)}else return new vt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=mu(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-X}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Kt(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Jt(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!$p(t),a;if(s)a=n;else{let p=n||{};a=p.index,r=p.injector,o=p.projectableNodes,i=p.environmentInjector||p.ngModuleRef}let c=s?t:new en(et(t)),u=r||this.parentInjector;if(!i&&c.ngModule==null){let g=(s?u:this.parentInjector).get(Pe,null);g&&(i=g)}let l=et(c.componentType??{}),d=Kt(this._lContainer,l?.id??null),h=d?.firstChild??null,f=c.create(u,o,h,i);return this.insertImpl(f.hostView,a,Jt(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(qp(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[te],u=new $d(c,c[he],c[te]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Rn(s,o,i,r),t.attachToViewContainerRef(),Uu(Oi(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=mu(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Mn(this._lContainer,n);r&&(Lr(Oi(this._lContainer),n),So(r[w],r))}detach(t){let n=this._adjustIndex(t,-1),r=Mn(this._lContainer,n);return r&&Lr(Oi(this._lContainer),n)!=null?new _t(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function mu(e){return e[$r]}function Oi(e){return e[$r]||(e[$r]=[])}function Ud(e,t){let n,r=t[e.index];return $e(r)?n=r:(n=_d(r,t,null,e),t[e.index]=n,Fo(t,n)),zy(n,t,e,r),new $d(n,e,t)}function Hy(e,t){let n=e[V],r=n.createComment(""),o=ve(t,e),i=hd(n,o);return Kr(n,i,r,Am(n,o),!1),r}var zy=qy,Gy=()=>!1;function Wy(e,t,n){return Gy(e,t,n)}function qy(e,t,n,r){if(e[It])return;let o;n.type&8?o=ke(r):o=Hy(t,n),e[It]=o}var Is=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Es=class e{constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)Sa(t,n).matches!==null&&this.queries[n].setDirty()}},oo=class{constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=ev(t):this.predicate=t}},Cs=class e{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++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(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)}},bs=class e{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 e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,Zy(n,i)),this.matchTNodeWithReadOption(t,n,Or(n,t,i,!1,!1))}else r===_n?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Or(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===At||o===Pn||o===_n&&n.type&4)this.addMatch(n.index,-2);else{let i=Or(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function Zy(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function Yy(e,t){return e.type&11?on(e,t):e.type&4?ko(e,t):null}function Qy(e,t,n,r){return n===-1?Yy(t,e):n===-2?Jy(e,t,r):Mt(e,e[w],n,t)}function Jy(e,t,n){if(n===At)return on(t,e);if(n===_n)return ko(t,e);if(n===Pn)return Ud(t,e)}function Hd(e,t,n,r){let o=t[je].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push(Qy(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Ms(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Hd(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let u=i[a+1],l=t[-c];for(let d=X;d<l.length;d++){let h=l[d];h[wt]===h[te]&&Ms(h[w],h,u,r)}if(l[Yt]!==null){let d=l[Yt];for(let h=0;h<d.length;h++){let f=d[h];Ms(f[w],f,u,r)}}}}}return r}function Na(e,t){return e[je].queries[t].queryList}function zd(e,t,n){let r=new rs((n&4)===4);return Gm(e,t,r,r.destroy),(t[je]??=new Es).queries.push(new Is(r))-1}function Ky(e,t,n){let r=B();return r.firstCreatePass&&(Gd(r,new oo(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),zd(r,D(),t)}function Xy(e,t,n,r){let o=B();if(o.firstCreatePass){let i=ne();Gd(o,new oo(t,n,r),i.index),tv(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return zd(o,D(),n)}function ev(e){return e.split(",").map(t=>t.trim())}function Gd(e,t,n){e.queries===null&&(e.queries=new Cs),e.queries.track(new bs(t,n))}function tv(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function Sa(e,t){return e.queries.getByIndex(t)}function Wd(e,t){let n=e[w],r=Sa(n,t);return r.crossesNgTemplate?Ms(n,e,t,[]):Hd(n,e,r,t)}var yu=new Set;function ze(e){yu.has(e)||(yu.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function P0(e){return typeof e=="function"&&e[le]!==void 0}function nv(e,t){ze("NgSignals");let n=Fc(e),r=n[le];return t?.equal&&(r.equal=t.equal),n.set=o=>mn(r,o),n.update=o=>kc(r,o),n.asReadonly=qd.bind(n),n}function qd(){let e=this[le];if(e.readonlyFn===void 0){let t=()=>this();t[le]=e,e.readonlyFn=t}return e.readonlyFn}function Zd(e,t){let n,r=Ci(()=>{n._dirtyCounter();let o=sv(n,e);if(t&&o===void 0)throw new b(-951,!1);return o});return n=r[le],n._dirtyCounter=nv(0),n._flatValue=void 0,r}function rv(){return Zd(!0,!1)}function ov(){return Zd(!0,!0)}function iv(e,t){let n=e[le];n._lView=D(),n._queryIndex=t,n._queryList=Na(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function sv(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[y]&4)return t?void 0:se;let o=Na(n,r),i=Wd(n,r);return o.reset(i,Wl),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function vu(e,t){return rv()}function av(e,t){return ov()}var F0=(vu.required=av,vu);function Yd(e){let t=Object.create(Ou),n=new Qr;t.value=e;function r(){return pn(t),Du(t.value),t.value}return r[le]=t,r.asReadonly=qd.bind(r),r.set=o=>{t.equal(t.value,o)||(mn(t,o),n.emit(o))},r.update=o=>{Du(t.value),r.set(o(t.value))},r.subscribe=n.subscribe.bind(n),r.destroyRef=n.destroyRef,r}function Du(e){if(e===ho)throw new b(952,!1)}function wu(e){return Yd(e)}function cv(){return Yd(ho)}var k0=(wu.required=cv,wu);function uv(e){return Object.getPrototypeOf(e.prototype).constructor}function lv(e){let t=uv(e.type),n=!0,r=[e];for(;t;){let o;if(tt(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new b(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Mr(e.inputs),s.inputTransforms=Mr(e.inputTransforms),s.declaredInputs=Mr(e.declaredInputs),s.outputs=Mr(e.outputs);let a=o.hostBindings;a&&gv(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&hv(e,c),u&&pv(e,u),dv(e,o),$h(e.outputs,o.outputs),tt(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===lv&&(n=!1)}}t=Object.getPrototypeOf(t)}fv(r)}function dv(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];if(r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],t.inputTransforms!==null)){let o=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=t.inputTransforms[o]}}}function fv(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=En(o.hostAttrs,n=En(n,o.hostAttrs))}}function Mr(e){return e===Gt?{}:e===se?[]:e}function hv(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function pv(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function gv(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function mv(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}var it=class{},_s=class{};var Ts=class extends it{constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new ro(this);let i=Xu(t);this._bootstrapComponents=ad(i.bootstrap),this._r3Injector=Ul(t,n,[{provide:it,useValue:this},{provide:Xt,useValue:this.componentFactoryResolver},...r],fe(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},xs=class extends _s{constructor(t){super(),this.moduleType=t}create(t){return new Ts(this.moduleType,t,[])}};var io=class extends it{constructor(t){super(),this.componentFactoryResolver=new ro(this),this.instance=null;let n=new Cn([...t.providers,{provide:it,useValue:this},{provide:Xt,useValue:this.componentFactoryResolver}],t.parent||Js(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function yv(e,t,n=null){return new io({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function Lo(e,t,n){return e[t]=n}function vv(e,t){return e[t]}function _e(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Aa(e,t,n,r){let o=_e(e,t,n);return _e(e,t+1,r)||o}function Qd(e,t,n,r,o){let i=Aa(e,t,n,r);return _e(e,t+2,o)||i}function Dv(e){return(e.flags&32)===32}function wv(e,t,n,r,o,i,s,a,c){let u=t.consts,l=sn(t,e,4,s||null,a||null);Ea(t,n,l,nt(u,c)),_o(t,l);let d=l.tView=Ia(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function so(e,t,n,r,o,i,s,a,c,u){let l=n+Z,d=t.firstCreatePass?wv(l,t,e,r,o,i,s,a,c):t.data[l];Nt(d,!1);let h=Ev(t,e,d,n);bo()&&Ao(t,e,h,d),ot(h,e);let f=_d(h,e,h,d);return e[l]=f,Fo(e,f),Wy(f,d,e),Do(d)&&Da(t,e,d),c!=null&&wa(e,d,u),d}function Iv(e,t,n,r,o,i,s,a){let c=D(),u=B(),l=nt(u.consts,i);return so(c,u,e,t,n,r,o,l,s,a),Iv}var Ev=Cv;function Cv(e,t,n,r){return Mo(!0),t[V].createComment("")}var vn=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(vn||{}),bv=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=R({token:e,providedIn:"root",factory:()=>new e})}}return e})(),Iu=class e{constructor(){this.ngZone=v(ee),this.scheduler=v(Tt),this.errorHandler=v(rt,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[vn.EarlyRead,vn.Write,vn.MixedReadWrite,vn.Read]}execute(){this.executing=!0;for(let t of e.PHASES)for(let n of this.sequences)if(!(n.erroredOrDestroyed||!n.hooks[t]))try{n.pipelinedValue=this.ngZone.runOutsideAngular(()=>n.hooks[t](n.pipelinedValue))}catch(r){n.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(let t of this.sequences)t.afterRun(),t.once&&this.sequences.delete(t);for(let t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(t){this.executing?this.deferredRegistrations.add(t):(this.sequences.add(t),this.scheduler.notify(6))}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}static{this.\u0275prov=R({token:e,providedIn:"root",factory:()=>new e})}};function Mv(e,t,n,r){let o=D(),i=Nn();if(_e(o,i,t)){let s=B(),a=Sn();sy(a,o,e,t,n,r)}return Mv}function Jd(e,t,n,r){return _e(e,Nn(),n)?t+Re(n)+r:Q}function Kd(e,t,n,r,o,i){let s=Ml(),a=Aa(e,s,n,o);return Eo(2),a?t+Re(n)+r+Re(o)+i:Q}function _v(e,t,n,r,o,i,s,a){let c=Ml(),u=Qd(e,c,n,o,s);return Eo(3),u?t+Re(n)+r+Re(o)+i+Re(s)+a:Q}function _r(e,t){return e<<17|t<<2}function xt(e){return e>>17&32767}function Tv(e){return(e&2)==2}function xv(e,t){return e&131071|t<<17}function Ns(e){return e|2}function tn(e){return(e&131068)>>2}function Ri(e,t){return e&-131069|t<<2}function Nv(e){return(e&1)===1}function Ss(e){return e|1}function Sv(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=xt(s),c=tn(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||xn(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let h=xt(e[a+1]);e[r+1]=_r(h,a),h!==0&&(e[h+1]=Ri(e[h+1],r)),e[a+1]=xv(e[a+1],r)}else e[r+1]=_r(a,0),a!==0&&(e[a+1]=Ri(e[a+1],r)),a=r;else e[r+1]=_r(c,0),a===0?a=r:e[c+1]=Ri(e[c+1],r),c=r;u&&(e[r+1]=Ns(e[r+1])),Eu(e,l,r,!0),Eu(e,l,r,!1),Av(t,l,e,r,i),s=_r(a,c),i?t.classBindings=s:t.styleBindings=s}function Av(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&xn(i,t)>=0&&(n[r+1]=Ss(n[r+1]))}function Eu(e,t,n,r){let o=e[n+1],i=t===null,s=r?xt(o):tn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];Ov(c,t)&&(a=!0,e[s+1]=r?Ss(u):Ns(u)),s=r?xt(u):tn(u)}a&&(e[n+1]=r?Ns(o):Ss(o))}function Ov(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?xn(e,t)>=0:!1}var oe={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Rv(e){return e.substring(oe.key,oe.keyEnd)}function Pv(e){return e.substring(oe.value,oe.valueEnd)}function Fv(e){return kv(e),Xd(e,ao(e,0,oe.textEnd))}function Xd(e,t){let n=oe.textEnd,r=oe.key=ao(e,t,n);return n===r?-1:(r=oe.keyEnd=Lv(e,r,n),r=Cu(e,r,n,58),r=oe.value=ao(e,r,n),r=oe.valueEnd=jv(e,r,n),Cu(e,r,n,59))}function kv(e){oe.key=0,oe.keyEnd=0,oe.value=0,oe.valueEnd=0,oe.textEnd=e.length}function ao(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Lv(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function Cu(e,t,n,r){return t=ao(e,t,n),t<n&&t++,t}function jv(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=bu(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=bu(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function bu(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function Vv(e,t,n){let r=D(),o=Nn();if(_e(r,o,t)){let i=B(),s=Sn();Po(i,s,r,e,t,r[V],n,!1)}return Vv}function As(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Ca(e,n,i[s],s,r)}function ef(e,t,n){return tf(e,t,n,!1),ef}function Bv(e,t){return tf(e,t,null,!0),Bv}function L0(e){Uv(of,$v,e,!1)}function $v(e,t){for(let n=Fv(t);n>=0;n=Xd(t,n))of(e,Rv(t),Pv(t))}function tf(e,t,n,r){let o=D(),i=B(),s=Eo(2);if(i.firstUpdatePass&&rf(i,e,s,r),t!==Q&&_e(o,s,t)){let a=i.data[Ue()];sf(i,a,o,o[V],e,o[s+1]=Yv(t,n),r,s)}}function Uv(e,t,n,r){let o=B(),i=Eo(2);o.firstUpdatePass&&rf(o,null,i,r);let s=D();if(n!==Q&&_e(s,i,n)){let a=o.data[Ue()];if(af(a,r)&&!nf(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Vi(c,n||"")),As(o,a,s,n,r)}else Zv(o,a,s,s[V],s[i+1],s[i+1]=qv(e,t,n),r,i)}}function nf(e,t){return t>=e.expandoStartIndex}function rf(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Ue()],s=nf(e,n);af(i,r)&&t===null&&!s&&(t=!1),t=Hv(o,i,t,r),Sv(o,i,t,n,s,r)}}function Hv(e,t,n,r){let o=ag(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Pi(null,e,t,n,r),n=Tn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Pi(o,e,t,n,r),i===null){let c=zv(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Pi(null,e,t,c[1],r),c=Tn(c,t.attrs,r),Gv(e,t,r,c))}else i=Wv(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function zv(e,t,n){let r=n?t.classBindings:t.styleBindings;if(tn(r)!==0)return e[xt(r)]}function Gv(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[xt(o)]=r}function Wv(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Tn(r,s,n)}return Tn(r,t.attrs,n)}function Pi(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=Tn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Tn(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Hu(e,s,n?!0:t[++i]))}return e===void 0?null:e}function qv(e,t,n){if(n==null||n==="")return se;let r=[],o=Ot(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function of(e,t,n){Hu(e,t,Ot(n))}function Zv(e,t,n,r,o,i,s,a){o===Q&&(o=se);let c=0,u=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let h=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,p=null,g;l===d?(c+=2,u+=2,h!==f&&(p=d,g=f)):d===null||l!==null&&l<d?(c+=2,p=l):(u+=2,p=d,g=f),p!==null&&sf(e,t,n,r,p,g,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function sf(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=Nv(u)?Mu(c,t,n,o,tn(u),s):void 0;if(!co(l)){co(i)||Tv(u)&&(i=Mu(c,null,n,o,a,s));let d=ml(Ue(),n);Lm(r,s,d,o,i)}}function Mu(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,h=n[o+1];h===Q&&(h=d?se:void 0);let f=d?Mi(h,r):l===r?h:void 0;if(u&&!co(f)&&(f=Mi(c,r)),co(f)&&(a=f,s))return a;let p=e[o+1];o=s?xt(p):tn(p)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Mi(c,r))}return a}function co(e){return e!==void 0}function Yv(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=fe(Ot(e)))),e}function af(e,t){return(e.flags&(t?8:16))!==0}var Os=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Fi(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function Qv(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let u=e.at(i),l=t[i],d=Fi(i,u,i,l,n);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let h=e.at(s),f=t[c],p=Fi(s,h,c,f,n);if(p!==0){p<0&&e.updateValue(s,f),s--,c--;continue}let g=n(i,u),m=n(s,h),C=n(i,l);if(Object.is(C,m)){let j=n(c,f);Object.is(j,g)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new uo,o??=Tu(e,i,s,n),Rs(e,r,i,C))e.updateValue(i,l),i++,s++;else if(o.has(C))r.set(g,e.detach(i)),s--;else{let j=e.create(i,t[i]);e.attach(i,j),i++,s++}}for(;i<=c;)_u(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),u=c.next();for(;!u.done&&i<=s;){let l=e.at(i),d=u.value,h=Fi(i,l,i,d,n);if(h!==0)h<0&&e.updateValue(i,d),i++,u=c.next();else{r??=new uo,o??=Tu(e,i,s,n);let f=n(i,d);if(Rs(e,r,i,f))e.updateValue(i,d),i++,s++,u=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,u=c.next();else{let p=n(i,l);r.set(p,e.detach(i)),s--}}}for(;!u.done;)_u(e,r,n,e.length,u.value),u=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function Rs(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function _u(e,t,n,r,o){if(Rs(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Tu(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var uo=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function j0(e,t){ze("NgControlFlow");let n=D(),r=Nn(),o=n[r]!==Q?n[r]:-1,i=o!==-1?lo(n,Z+o):void 0,s=0;if(_e(n,r,e)){let a=M(null);try{if(i!==void 0&&Rd(i,s),e!==-1){let c=Z+e,u=lo(n,c),l=Ls(n[w],c),d=Kt(u,l.tView.ssrId),h=On(n,l,t,{dehydratedView:d});Rn(u,h,s,Jt(l,d))}}finally{M(a)}}else if(i!==void 0){let a=Od(i,s);a!==void 0&&(a[K]=t)}}var Ps=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-X}};function V0(e){return e}var Fs=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function B0(e,t,n,r,o,i,s,a,c,u,l,d,h){ze("NgControlFlow");let f=D(),p=B(),g=c!==void 0,m=D(),C=a?s.bind(m[ge][K]):s,j=new Fs(g,C);m[Z+e]=j,so(f,p,e+1,t,n,r,o,nt(p.consts,i)),g&&so(f,p,e+2,c,u,l,d,nt(p.consts,h))}var ks=class extends Os{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-X}at(t){return this.getLView(t)[K].$implicit}attach(t,n){let r=n[qt];this.needsIndexUpdate||=t!==this.length,Rn(this.lContainer,n,t,Jt(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,Jv(this.lContainer,t)}create(t,n){let r=Kt(this.lContainer,this.templateTNode.tView.ssrId),o=On(this.hostLView,this.templateTNode,new Ps(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){So(t[w],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[K].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[K].$index=t}getLView(t){return Kv(this.lContainer,t)}};function $0(e){let t=M(null),n=Ue();try{let r=D(),o=r[w],i=r[n],s=n+1,a=lo(r,s);if(i.liveCollection===void 0){let u=Ls(o,s);i.liveCollection=new ks(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(Qv(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let u=Nn(),l=c.length===0;if(_e(r,u,l)){let d=n+2,h=lo(r,d);if(l){let f=Ls(o,d),p=Kt(h,f.tView.ssrId),g=On(r,f,void 0,{dehydratedView:p});Rn(h,g,0,Jt(f,p))}else Rd(h,0)}}}finally{M(t)}}function lo(e,t){return e[t]}function Jv(e,t){return Mn(e,t)}function Kv(e,t){return Od(e,t)}function Ls(e,t){return ea(e,t)}function Xv(e,t,n,r,o,i){let s=t.consts,a=nt(s,o),c=sn(t,e,2,r,a);return Ea(t,n,c,nt(s,i)),c.attrs!==null&&no(c,c.attrs,!1),c.mergedAttrs!==null&&no(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function cf(e,t,n,r){let o=D(),i=B(),s=Z+e,a=o[V],c=i.firstCreatePass?Xv(s,i,o,t,n,r):i.data[s],u=tD(i,o,c,a,t,e);o[s]=u;let l=Do(c);return Nt(c,!0),vd(a,u,c),!Dv(c)&&bo()&&Ao(i,o,u,c),Qp()===0&&ot(u,o),Jp(),l&&(Da(i,o,c),va(i,c,o)),r!==null&&wa(o,c),cf}function uf(){let e=ne();ra()?oa():(e=e.parent,Nt(e,!1));let t=e;Xp(t)&&eg(),Kp();let n=B();return n.firstCreatePass&&(_o(n,e),Ks(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&pg(t)&&As(n,t,D(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&gg(t)&&As(n,t,D(),t.stylesWithoutHost,!1),uf}function eD(e,t,n,r){return cf(e,t,n,r),uf(),eD}var tD=(e,t,n,r,o,i)=>(Mo(!0),cd(r,o,lg()));function nD(e,t,n,r,o){let i=t.consts,s=nt(i,r),a=sn(t,e,8,"ng-container",s);s!==null&&no(a,s,!0);let c=nt(i,o);return Ea(t,n,a,c),t.queries!==null&&t.queries.elementStart(t,a),a}function lf(e,t,n){let r=D(),o=B(),i=e+Z,s=o.firstCreatePass?nD(i,o,r,t,n):o.data[i];Nt(s,!0);let a=oD(o,r,s,e);return r[i]=a,bo()&&Ao(o,r,a,s),ot(a,r),Do(s)&&(Da(o,r,s),va(o,s,r)),n!=null&&wa(r,s),lf}function df(){let e=ne(),t=B();return ra()?oa():(e=e.parent,Nt(e,!1)),t.firstCreatePass&&(_o(t,e),Ks(e)&&t.queries.elementEnd(e)),df}function rD(e,t,n){return lf(e,t,n),df(),rD}var oD=(e,t,n,r)=>(Mo(!0),Cm(t[V],""));function U0(){return D()}var yt=void 0;function iD(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var sD=["en",[["a","p"],["AM","PM"],yt],[["AM","PM"],yt,yt],[["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"]],yt,[["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"]],yt,[["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}",yt,"{1} 'at' {0}",yt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",iD],ki={};function De(e){let t=aD(e),n=xu(t);if(n)return n;let r=t.split("-")[0];if(n=xu(r),n)return n;if(r==="en")return sD;throw new b(701,!1)}function xu(e){return e in ki||(ki[e]=Qe.ng&&Qe.ng.common&&Qe.ng.common.locales&&Qe.ng.common.locales[e]),ki[e]}var U=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(U||{});function aD(e){return e.toLowerCase().replace(/_/g,"-")}var fo="en-US";var cD=fo;function uD(e){typeof e=="string"&&(cD=e.toLowerCase().replace(/_/g,"-"))}var lD=(e,t,n)=>{};function dD(e,t,n,r){let o=D(),i=B(),s=ne();return hD(i,o,o[V],s,e,t,r),dD}function fD(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[Br],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function hD(e,t,n,r,o,i,s){let a=Do(r),u=e.firstCreatePass&&Nd(e),l=t[K],d=xd(t),h=!0;if(r.type&3||s){let g=ve(r,t),m=s?s(g):g,C=d.length,j=s?Y=>s(ke(Y[r.index])):r.index,P=null;if(!s&&a&&(P=fD(e,t,o,r.index)),P!==null){let Y=P.__ngLastListenerFn__||P;Y.__ngNextListenerFn__=i,P.__ngLastListenerFn__=i,h=!1}else{i=Su(r,t,l,i),lD(g,o,i);let Y=n.listen(m,o,i);d.push(i,Y),u&&u.push(o,j,C,C+1)}}else i=Su(r,t,l,i);let f=r.outputs,p;if(h&&f!==null&&(p=f[o])){let g=p.length;if(g)for(let m=0;m<g;m+=2){let C=p[m],j=p[m+1],ce=t[C][j].subscribe(i),G=d.length;d.push(i,ce),u&&u.push(o,r.index,G,-(G+1))}}}function Nu(e,t,n,r){let o=M(null);try{return Ae(6,t,n),n(r)!==!1}catch(i){return Sd(e,i),!1}finally{Ae(7,t,n),M(o)}}function Su(e,t,n,r){return function o(i){if(i===Function)return r;let s=e.componentOffset>-1?st(e.index,t):t;Ma(s,5);let a=Nu(t,n,r,i),c=o.__ngNextListenerFn__;for(;c;)a=Nu(t,n,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function H0(e=1){return ug(e)}function pD(e,t){let n=null,r=vp(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Yu(e,i,!0):Ip(r,i))return o}return n}function z0(e){let t=D()[ge][he];if(!t.projection){let n=e?e.length:1,r=t.projection=up(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?pD(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function G0(e,t=0,n,r,o,i){let s=D(),a=B(),c=r?e+1:null;c!==null&&so(s,a,c,r,o,i,null,n);let u=sn(a,Z+e,16,null,n||null);u.projection===null&&(u.projection=t),oa();let d=!s[qt]||El();s[ge][he].projection[u.projection]===null&&c!==null?gD(s,a,c):d&&(u.flags&32)!==32&&Fm(a,s,u)}function gD(e,t,n){let r=Z+n,o=t.data[r],i=e[r],s=Kt(i,o.tView.ssrId),a=On(e,o,void 0,{dehydratedView:s});Rn(i,a,0,Jt(o,s))}function mD(e,t,n){return ff(e,"",t,"",n),mD}function ff(e,t,n,r,o){let i=D(),s=Jd(i,t,n,r);if(s!==Q){let a=B(),c=Sn();Po(a,c,i,e,s,i[V],o,!1)}return ff}function yD(e,t,n,r,o,i,s){let a=D(),c=Kd(a,t,n,r,o,i);if(c!==Q){let u=B(),l=Sn();Po(u,l,a,e,c,a[V],s,!1)}return yD}function vD(e,t,n,r,o,i,s,a,c){let u=D(),l=_v(u,t,n,r,o,i,s,a);if(l!==Q){let d=B(),h=Sn();Po(d,h,u,e,l,u[V],c,!1)}return vD}function W0(e,t,n,r){Xy(e,t,n,r)}function q0(e){let t=D(),n=B(),r=ia();Co(r+1);let o=Sa(n,r);if(e.dirty&&Wp(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Wd(t,r);e.reset(i,Wl),e.notifyOnChanges()}return!0}return!1}function Z0(){return Na(D(),ia())}function Y0(e,t,n,r){iv(e,Ky(t,n,r))}function Q0(e=1){Co(ia()+e)}function DD(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function J0(e){let t=ng();return ta(t,Z+e)}function K0(e,t=""){let n=D(),r=B(),o=e+Z,i=r.firstCreatePass?sn(r,o,1,t,null):r.data[o],s=wD(r,n,i,t,e);n[o]=s,bo()&&Ao(r,n,s,i),Nt(i,!1)}var wD=(e,t,n,r,o)=>(Mo(!0),Im(t[V],r));function ID(e){return hf("",e,""),ID}function hf(e,t,n){let r=D(),o=Jd(r,e,t,n);return o!==Q&&Ad(r,Ue(),o),hf}function ED(e,t,n,r,o){let i=D(),s=Kd(i,e,t,n,r,o);return s!==Q&&Ad(i,Ue(),s),ED}function CD(e,t,n){let r=B();if(r.firstCreatePass){let o=tt(e);js(n,r.data,r.blueprint,o,!0),js(t,r.data,r.blueprint,o,!1)}}function js(e,t,n,r,o){if(e=ie(e),Array.isArray(e))for(let i=0;i<e.length;i++)js(e[i],t,n,r,o);else{let i=B(),s=D(),a=ne(),c=Wt(e)?e:ie(e.provide),u=sl(e),l=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(Wt(e)||!e.multi){let f=new bt(u,o,Te),p=ji(c,t,o?l:l+h,d);p===-1?(Ki(Wr(a,s),i,c),Li(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[p]=f,s[p]=f)}else{let f=ji(c,t,l+h,d),p=ji(c,t,l,l+h),g=f>=0&&n[f],m=p>=0&&n[p];if(o&&!m||!o&&!g){Ki(Wr(a,s),i,c);let C=_D(o?MD:bD,n.length,o,r,u);!o&&m&&(n[p].providerFactory=C),Li(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(C),s.push(C)}else{let C=pf(n[o?p:f],u,!o&&r);Li(i,e,f>-1?f:p,C)}!o&&r&&m&&n[p].componentProviders++}}}function Li(e,t,n,r){let o=Wt(t),i=Rp(t);if(o||i){let c=(i?ie(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function pf(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ji(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function bD(e,t,n,r){return Vs(this.multi,[])}function MD(e,t,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Mt(n,n[w],this.providerFactory.index,r);i=a.slice(0,s),Vs(o,i);for(let c=s;c<a.length;c++)i.push(a[c])}else i=[],Vs(o,i);return i}function Vs(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function _D(e,t,n,r,o){let i=new bt(e,n,Te);return i.multi=[],i.index=t,i.componentProviders=0,pf(i,o,r&&!n),i}function X0(e,t=[]){return n=>{n.providersResolver=(r,o)=>CD(r,o?o(e):e,t)}}var TD=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=nl(!1,n.type),o=r.length>0?yv([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=R({token:e,providedIn:"environment",factory:()=>new e($(Pe))})}}return e})();function eT(e){ze("NgStandalone"),e.getStandaloneInjector=t=>t.get(TD).getOrCreateStandaloneInjector(e)}function tT(e,t,n){let r=rn()+e,o=D();return o[r]===Q?Lo(o,r,n?t.call(n):t()):vv(o,r)}function nT(e,t,n,r){return gf(D(),rn(),e,t,n,r)}function rT(e,t,n,r,o){return mf(D(),rn(),e,t,n,r,o)}function oT(e,t,n,r,o,i){return xD(D(),rn(),e,t,n,r,o,i)}function Oa(e,t){let n=e[t];return n===Q?void 0:n}function gf(e,t,n,r,o,i){let s=t+n;return _e(e,s,o)?Lo(e,s+1,i?r.call(i,o):r(o)):Oa(e,s+1)}function mf(e,t,n,r,o,i,s){let a=t+n;return Aa(e,a,o,i)?Lo(e,a+2,s?r.call(s,o,i):r(o,i)):Oa(e,a+2)}function xD(e,t,n,r,o,i,s,a){let c=t+n;return Qd(e,c,o,i,s)?Lo(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Oa(e,c+3)}function iT(e,t){let n=B(),r,o=e+Z;n.firstCreatePass?(r=ND(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=Dt(r.type,!0)),s,a=de(Te);try{let c=Gr(!1),u=i();return Gr(c),DD(n,D(),o,u),u}finally{de(a)}}function ND(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function sT(e,t,n){let r=e+Z,o=D(),i=ta(o,r);return yf(o,r)?gf(o,rn(),t,i.transform,n,i):i.transform(n)}function aT(e,t,n,r){let o=e+Z,i=D(),s=ta(i,o);return yf(i,o)?mf(i,rn(),t,s.transform,n,r,s):s.transform(n,r)}function yf(e,t){return e[w].data[t].pure}function cT(e,t){return ko(e,t)}var uT=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();var SD=new N("");function Ra(e){return!!e&&typeof e.then=="function"}function vf(e){return!!e&&typeof e.subscribe=="function"}var AD=new N(""),Df=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=v(AD,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=o();if(Ra(i))n.push(i);else if(vf(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),wf=new N("");function OD(){Pc(()=>{throw new b(600,!1)})}function RD(e){return e.isBoundToModule}var PD=10;function FD(e,t,n){try{let r=n();return Ra(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Fn=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=v(Fg),this.afterRenderManager=v(bv),this.zonelessEnabled=v(_a),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new Se,this.afterTick=new Se,this.componentTypes=[],this.components=[],this.isStable=v(St).hasPendingTasks.pipe(re(n=>!n)),this._injector=v(Pe)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,r){let o=n instanceof eo;if(!this._injector.get(Df).done){let h=!o&&Tp(n),f=!1;throw new b(405,f)}let s;o?s=n:s=this._injector.get(Xt).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=RD(s)?void 0:this._injector.get(it),c=r||s.selector,u=s.create(Qt.NULL,[],c,a),l=u.location.nativeElement,d=u.injector.get(SD,null);return d?.registerApplication(l),u.onDestroy(()=>{this.detachView(u.hostView),Rr(this.components,u),d?.unregisterApplication(l)}),this._loadComponent(u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new b(101,!1);let n=M(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,M(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(to,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;this.dirtyFlags!==0&&r++<PD;)this.synchronizeOnce(n)}synchronizeOnce(n){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(r);for(let{_lView:o,notifyErrorHandler:i}of this._views)kD(o,i,r,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&7)return}else n?.begin?.(),n?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>wo(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Rr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let r=this._injector.get(wf,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Rr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new b(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Rr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function kD(e,t,n,r){if(!n&&!wo(e))return;kd(e,t,n&&!r?0:1)}var Bs=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},lT=(()=>{class e{compileModuleSync(n){return new xs(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Xu(n),i=ad(o.declarations).reduce((s,a)=>{let c=et(a);return c&&s.push(new en(c)),s},[]);return new Bs(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var LD=(()=>{class e{constructor(){this.zone=v(ee),this.changeDetectionScheduler=v(Tt),this.applicationRef=v(Fn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function jD({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new ee(Ie(pe({},VD()),{scheduleInRootZone:n})),[{provide:ee,useFactory:e},{provide:jr,multi:!0,useFactory:()=>{let r=v(LD,{optional:!0});return()=>r.initialize()}},{provide:jr,multi:!0,useFactory:()=>{let r=v(BD);return()=>{r.initialize()}}},t===!0?{provide:Bd,useValue:!0}:[],{provide:Ta,useValue:n??Hl}]}function VD(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var BD=(()=>{class e{constructor(){this.subscription=new q,this.initialized=!1,this.zone=v(ee),this.pendingTasks=v(St)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ee.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ee.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var If=(()=>{class e{constructor(){this.appRef=v(Fn),this.taskService=v(St),this.ngZone=v(ee),this.zonelessEnabled=v(_a),this.disableScheduling=v(Bd,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new q,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Zr):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(v(Ta,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Yr||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?eu:zl;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Zr+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,eu(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function dT(){return ze("NgZoneless"),Ys([{provide:Tt,useExisting:If},{provide:ee,useClass:Yr},{provide:_a,useValue:!0},{provide:Ta,useValue:!1},[]])}function $D(){return typeof $localize<"u"&&$localize.locale||fo}var jo=new N("",{providedIn:"root",factory:()=>v(jo,x.Optional|x.SkipSelf)||$D()});var Ef=new N("");function Tr(e){return!!e.platformInjector}function UD(e){let t=Tr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(ee);return n.run(()=>{Tr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(rt,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),Tr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Ef);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else e.moduleRef.onDestroy(()=>{Rr(e.allPlatformModules,e.moduleRef),o.unsubscribe()});return FD(r,n,()=>{let i=t.get(Df);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(jo,fo);if(uD(s||fo),Tr(e)){let a=t.get(Fn);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return HD(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function HD(e,t){let n=e.injector.get(Fn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new b(-403,!1);t.push(e)}var Pr=null;function zD(e=[],t){return Qt.create({name:t,providers:[{provide:il,useValue:"platform"},{provide:Ef,useValue:new Set([()=>Pr=null])},...e]})}function GD(e=[]){if(Pr)return Pr;let t=zD(e);return Pr=t,OD(),WD(t),t}function WD(e){e.get(Hg,null)?.forEach(n=>n())}var Pa=(()=>{class e{static{this.__NG_ELEMENT_ID__=qD}}return e})();function qD(e){return ZD(ne(),D(),(e&16)===16)}function ZD(e,t,n){if(vo(e)&&!n){let r=st(e.index,t);return new _t(r,r)}else if(e.type&175){let r=t[ge];return new _t(r,t)}return null}function fT(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=GD(r),i=[jD({}),{provide:Tt,useExisting:If},...n||[]],s=new io({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return UD({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}}function YD(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function hT(e,t){ze("NgSignals");let n=Ci(e);return t?.equal&&(n[le].equal=t.equal),n}function QD(e){let t=M(null);try{return e()}finally{M(t)}}var JD=new N("",{providedIn:"root",factory:()=>v(KD)}),KD=(()=>{class e{static{this.\u0275prov=R({token:e,providedIn:"root",factory:()=>new $s})}}return e})(),$s=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=v(St),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),this.taskId===null){let n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(t){let n=t.creationZone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},Us=class{constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.creationZone=r,this.injector=i,this.watcher=Lc(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(rt,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function XD(e,t){ze("NgSignals"),!t?.injector&&Bp(XD);let n=t?.injector??v(Qt),r=t?.manualCleanup!==!0?n.get(To):null,o=new Us(n.get(JD),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(Pa,null,{optional:!0});return!i||!(i._lView[y]&8)?o.watcher.notify():(i._lView[Nr]??=[]).push(o.watcher.notify),o}function pT(e){let t=et(e);if(!t)return null;let n=new en(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var Nf=null;function Fa(){return Nf}function jT(e){Nf??=e}var bf=class{};var Yo=new N(""),Sf=(()=>{class e{historyGo(n){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:()=>v(tw),providedIn:"platform"})}}return e})();var tw=(()=>{class e extends Sf{constructor(){super(),this._doc=v(Yo),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Fa().getBaseHref(this._doc)}onPopState(n){let r=Fa().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Fa().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}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(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:()=>new e,providedIn:"platform"})}}return e})();function Af(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function Mf(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function Rt(e){return e&&e[0]!=="?"?"?"+e:e}var Ba=(()=>{class e{historyGo(n){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:()=>v(rw),providedIn:"root"})}}return e})(),nw=new N(""),rw=(()=>{class e extends Ba{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??v(Yo).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Af(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Rt(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Rt(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Rt(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static{this.\u0275fac=function(r){return new(r||e)($(Sf),$(nw,8))}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var ow=(()=>{class e{constructor(n){this._subject=new be,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=aw(Mf(_f(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Rt(r))}normalize(n){return e.stripTrailingSlash(sw(this._basePath,_f(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Rt(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Rt(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}static{this.normalizeQueryParams=Rt}static{this.joinWithSlash=Af}static{this.stripTrailingSlash=Mf}static{this.\u0275fac=function(r){return new(r||e)($(Ba))}}static{this.\u0275prov=R({token:e,factory:()=>iw(),providedIn:"root"})}}return e})();function iw(){return new ow($(Ba))}function sw(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function _f(e){return e.replace(/\/index.html$/,"")}function aw(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var ae=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(ae||{}),k=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(k||{}),me=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(me||{}),at={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function cw(e){return De(e)[U.LocaleId]}function uw(e,t,n){let r=De(e),o=[r[U.DayPeriodsFormat],r[U.DayPeriodsStandalone]],i=we(o,t);return we(i,n)}function lw(e,t,n){let r=De(e),o=[r[U.DaysFormat],r[U.DaysStandalone]],i=we(o,t);return we(i,n)}function dw(e,t,n){let r=De(e),o=[r[U.MonthsFormat],r[U.MonthsStandalone]],i=we(o,t);return we(i,n)}function fw(e,t){let r=De(e)[U.Eras];return we(r,t)}function Vo(e,t){let n=De(e);return we(n[U.DateFormat],t)}function Bo(e,t){let n=De(e);return we(n[U.TimeFormat],t)}function $o(e,t){let r=De(e)[U.DateTimeFormat];return we(r,t)}function Qo(e,t){let n=De(e),r=n[U.NumberSymbols][t];if(typeof r>"u"){if(t===at.CurrencyDecimal)return n[U.NumberSymbols][at.Decimal];if(t===at.CurrencyGroup)return n[U.NumberSymbols][at.Group]}return r}function Of(e){if(!e[U.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[U.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function hw(e){let t=De(e);return Of(t),(t[U.ExtraData][2]||[]).map(r=>typeof r=="string"?ka(r):[ka(r[0]),ka(r[1])])}function pw(e,t,n){let r=De(e);Of(r);let o=[r[U.ExtraData][0],r[U.ExtraData][1]],i=we(o,t)||[];return we(i,n)||[]}function we(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new Error("Locale data API: locale data undefined")}function ka(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var gw=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Uo={},mw=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,We=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}(We||{}),O=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}(O||{}),A=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}(A||{});function yw(e,t,n,r){let o=_w(e);t=Ge(n,t)||t;let s=[],a;for(;t;)if(a=mw.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let c=o.getTimezoneOffset();r&&(c=Pf(r,c),o=Mw(o,r,!0));let u="";return s.forEach(l=>{let d=Cw(l);u+=d?d(o,n,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function qo(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function Ge(e,t){let n=cw(e);if(Uo[n]??={},Uo[n][t])return Uo[n][t];let r="";switch(t){case"shortDate":r=Vo(e,me.Short);break;case"mediumDate":r=Vo(e,me.Medium);break;case"longDate":r=Vo(e,me.Long);break;case"fullDate":r=Vo(e,me.Full);break;case"shortTime":r=Bo(e,me.Short);break;case"mediumTime":r=Bo(e,me.Medium);break;case"longTime":r=Bo(e,me.Long);break;case"fullTime":r=Bo(e,me.Full);break;case"short":let o=Ge(e,"shortTime"),i=Ge(e,"shortDate");r=Ho($o(e,me.Short),[o,i]);break;case"medium":let s=Ge(e,"mediumTime"),a=Ge(e,"mediumDate");r=Ho($o(e,me.Medium),[s,a]);break;case"long":let c=Ge(e,"longTime"),u=Ge(e,"longDate");r=Ho($o(e,me.Long),[c,u]);break;case"full":let l=Ge(e,"fullTime"),d=Ge(e,"fullDate");r=Ho($o(e,me.Full),[l,d]);break}return r&&(Uo[n][t]=r),r}function Ho(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function xe(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length<t;)s="0"+s;return r&&(s=s.slice(s.length-t)),i+s}function vw(e,t){return xe(e,3).substring(0,t)}function z(e,t,n=0,r=!1,o=!1){return function(i,s){let a=Dw(e,i);if((n>0||a>-n)&&(a+=n),e===O.Hours)a===0&&n===-12&&(a=12);else if(e===O.FractionalSeconds)return vw(a,t);let c=Qo(s,at.MinusSign);return xe(a,t,c,r,o)}}function Dw(e,t){switch(e){case O.FullYear:return t.getFullYear();case O.Month:return t.getMonth();case O.Date:return t.getDate();case O.Hours:return t.getHours();case O.Minutes:return t.getMinutes();case O.Seconds:return t.getSeconds();case O.FractionalSeconds:return t.getMilliseconds();case O.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function L(e,t,n=ae.Format,r=!1){return function(o,i){return ww(o,i,e,t,n,r)}}function ww(e,t,n,r,o,i){switch(n){case A.Months:return dw(t,o,r)[e.getMonth()];case A.Days:return lw(t,o,r)[e.getDay()];case A.DayPeriods:let s=e.getHours(),a=e.getMinutes();if(i){let u=hw(t),l=pw(t,o,r),d=u.findIndex(h=>{if(Array.isArray(h)){let[f,p]=h,g=s>=f.hours&&a>=f.minutes,m=s<p.hours||s===p.hours&&a<p.minutes;if(f.hours<p.hours){if(g&&m)return!0}else if(g||m)return!0}else if(h.hours===s&&h.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return uw(t,o,r)[s<12?0:1];case A.Eras:return fw(t,r)[e.getFullYear()<=0?0:1];default:let c=n;throw new Error(`unexpected translation type ${c}`)}}function zo(e){return function(t,n,r){let o=-1*r,i=Qo(n,at.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case We.Short:return(o>=0?"+":"")+xe(s,2,i)+xe(Math.abs(o%60),2,i);case We.ShortGMT:return"GMT"+(o>=0?"+":"")+xe(s,1,i);case We.Long:return"GMT"+(o>=0?"+":"")+xe(s,2,i)+":"+xe(Math.abs(o%60),2,i);case We.Extended:return r===0?"Z":(o>=0?"+":"")+xe(s,2,i)+":"+xe(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var Iw=0,Wo=4;function Ew(e){let t=qo(e,Iw,1).getDay();return qo(e,0,1+(t<=Wo?Wo:Wo+7)-t)}function Rf(e){let t=e.getDay(),n=t===0?-3:Wo-t;return qo(e.getFullYear(),e.getMonth(),e.getDate()+n)}function La(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=Rf(n),s=Ew(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return xe(o,e,Qo(r,at.MinusSign))}}function Go(e,t=!1){return function(n,r){let i=Rf(n).getFullYear();return xe(i,e,Qo(r,at.MinusSign),t)}}var ja={};function Cw(e){if(ja[e])return ja[e];let t;switch(e){case"G":case"GG":case"GGG":t=L(A.Eras,k.Abbreviated);break;case"GGGG":t=L(A.Eras,k.Wide);break;case"GGGGG":t=L(A.Eras,k.Narrow);break;case"y":t=z(O.FullYear,1,0,!1,!0);break;case"yy":t=z(O.FullYear,2,0,!0,!0);break;case"yyy":t=z(O.FullYear,3,0,!1,!0);break;case"yyyy":t=z(O.FullYear,4,0,!1,!0);break;case"Y":t=Go(1);break;case"YY":t=Go(2,!0);break;case"YYY":t=Go(3);break;case"YYYY":t=Go(4);break;case"M":case"L":t=z(O.Month,1,1);break;case"MM":case"LL":t=z(O.Month,2,1);break;case"MMM":t=L(A.Months,k.Abbreviated);break;case"MMMM":t=L(A.Months,k.Wide);break;case"MMMMM":t=L(A.Months,k.Narrow);break;case"LLL":t=L(A.Months,k.Abbreviated,ae.Standalone);break;case"LLLL":t=L(A.Months,k.Wide,ae.Standalone);break;case"LLLLL":t=L(A.Months,k.Narrow,ae.Standalone);break;case"w":t=La(1);break;case"ww":t=La(2);break;case"W":t=La(1,!0);break;case"d":t=z(O.Date,1);break;case"dd":t=z(O.Date,2);break;case"c":case"cc":t=z(O.Day,1);break;case"ccc":t=L(A.Days,k.Abbreviated,ae.Standalone);break;case"cccc":t=L(A.Days,k.Wide,ae.Standalone);break;case"ccccc":t=L(A.Days,k.Narrow,ae.Standalone);break;case"cccccc":t=L(A.Days,k.Short,ae.Standalone);break;case"E":case"EE":case"EEE":t=L(A.Days,k.Abbreviated);break;case"EEEE":t=L(A.Days,k.Wide);break;case"EEEEE":t=L(A.Days,k.Narrow);break;case"EEEEEE":t=L(A.Days,k.Short);break;case"a":case"aa":case"aaa":t=L(A.DayPeriods,k.Abbreviated);break;case"aaaa":t=L(A.DayPeriods,k.Wide);break;case"aaaaa":t=L(A.DayPeriods,k.Narrow);break;case"b":case"bb":case"bbb":t=L(A.DayPeriods,k.Abbreviated,ae.Standalone,!0);break;case"bbbb":t=L(A.DayPeriods,k.Wide,ae.Standalone,!0);break;case"bbbbb":t=L(A.DayPeriods,k.Narrow,ae.Standalone,!0);break;case"B":case"BB":case"BBB":t=L(A.DayPeriods,k.Abbreviated,ae.Format,!0);break;case"BBBB":t=L(A.DayPeriods,k.Wide,ae.Format,!0);break;case"BBBBB":t=L(A.DayPeriods,k.Narrow,ae.Format,!0);break;case"h":t=z(O.Hours,1,-12);break;case"hh":t=z(O.Hours,2,-12);break;case"H":t=z(O.Hours,1);break;case"HH":t=z(O.Hours,2);break;case"m":t=z(O.Minutes,1);break;case"mm":t=z(O.Minutes,2);break;case"s":t=z(O.Seconds,1);break;case"ss":t=z(O.Seconds,2);break;case"S":t=z(O.FractionalSeconds,1);break;case"SS":t=z(O.FractionalSeconds,2);break;case"SSS":t=z(O.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=zo(We.Short);break;case"ZZZZZ":t=zo(We.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=zo(We.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=zo(We.Long);break;default:return null}return ja[e]=t,t}function Pf(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function bw(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Mw(e,t,n){let r=n?-1:1,o=e.getTimezoneOffset(),i=Pf(t,o);return bw(e,r*(i-o))}function _w(e){if(Tf(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return qo(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(gw))return Tw(r)}let t=new Date(e);if(!Tf(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function Tw(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,c=Number(e[6]||0),u=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,c,u),t}function Tf(e){return e instanceof Date&&!isNaN(e.valueOf())}function Ff(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var Va=/\s+/,xf=[],VT=(()=>{class e{constructor(n,r){this._ngEl=n,this._renderer=r,this.initialClasses=xf,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(Va):xf}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Va):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(Va).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static{this.\u0275fac=function(r){return new(r||e)(Te(At),Te(xa))}}static{this.\u0275dir=qs({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return e})();var BT=(()=>{class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static{this.\u0275fac=function(r){return new(r||e)(Te(Pn))}}static{this.\u0275dir=qs({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Xs]})}}return e})();function xw(e,t){return new b(2100,!1)}var Nw="mediumDate",Sw=new N(""),Aw=new N(""),$T=(()=>{class e{constructor(n,r,o){this.locale=n,this.defaultTimezone=r,this.defaultOptions=o}transform(n,r,o,i){if(n==null||n===""||n!==n)return null;try{let s=r??this.defaultOptions?.dateFormat??Nw,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return yw(n,s,i||this.locale,a)}catch(s){throw xw(e,s.message)}}static{this.\u0275fac=function(r){return new(r||e)(Te(jo,16),Te(Sw,24),Te(Aw,24))}}static{this.\u0275pipe=Zs({name:"date",type:e,pure:!0,standalone:!0})}}return e})();var UT=(()=>{class e{transform(n){return JSON.stringify(n,null,2)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275pipe=Zs({name:"json",type:e,pure:!1,standalone:!0})}}return e})();var Ow="browser",Rw="server";function HT(e){return e===Ow}function Pw(e){return e===Rw}var Zo=class{};var Ln=class{},jn=class{},qe=class e{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
8
+ `).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var Ua=class{encodeKey(t){return kf(t)}encodeValue(t){return kf(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function kw(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var Lw=/%(\d[a-f0-9])/gi,jw={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function kf(e){return encodeURIComponent(e).replace(Lw,(t,n)=>jw[n]??t)}function Jo(e){return`${e}`}var ut=class e{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Ua,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=kw(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(Jo):[Jo(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(Jo(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],o=r.indexOf(Jo(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var Ha=class{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function Vw(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Lf(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function jf(e){return typeof Blob<"u"&&e instanceof Blob}function Vf(e){return typeof FormData<"u"&&e instanceof FormData}function Bw(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var kn=class e{constructor(t,n,r,o){this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase();let i;if(Vw(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??=new qe,this.context??=new Ha,!this.params)this.params=new ut,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":a<n.length-1?"&":"";this.urlWithParams=n+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Lf(this.body)||jf(this.body)||Vf(this.body)||Bw(this.body)?this.body:this.body instanceof ut?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Vf(this.body)?null:jf(this.body)?this.body.type||null:Lf(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof ut?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(t={}){let n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.transferCache??this.transferCache,s=t.body!==void 0?t.body:this.body,a=t.withCredentials??this.withCredentials,c=t.reportProgress??this.reportProgress,u=t.headers||this.headers,l=t.params||this.params,d=t.context??this.context;return t.setHeaders!==void 0&&(u=Object.keys(t.setHeaders).reduce((h,f)=>h.set(f,t.setHeaders[f]),u)),t.setParams&&(l=Object.keys(t.setParams).reduce((h,f)=>h.set(f,t.setParams[f]),l)),new e(n,r,s,{params:l,headers:u,context:d,reportProgress:c,responseType:o,withCredentials:a,transferCache:i})}},lt=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(lt||{}),Vn=class{constructor(t,n=200,r="OK"){this.headers=t.headers||new qe,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}},Ko=class e extends Vn{constructor(t={}){super(t),this.type=lt.ResponseHeader}clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Bn=class e extends Vn{constructor(t={}){super(t),this.type=lt.Response,this.body=t.body!==void 0?t.body:null}clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},ct=class extends Vn{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},Hf=200,$w=204;function $a(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}var Uw=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof kn)i=n;else{let c;o.headers instanceof qe?c=o.headers:c=new qe(o.headers);let u;o.params&&(o.params instanceof ut?u=o.params:u=new ut({fromObject:o.params})),i=new kn(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let s=ir(i).pipe(yi(c=>this.handler.handle(c)));if(n instanceof kn||o.observe==="events")return s;let a=s.pipe(mt(c=>c instanceof Bn));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(re(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return a.pipe(re(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return a.pipe(re(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return a.pipe(re(c=>c.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new ut().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,$a(o,r))}post(n,r,o={}){return this.request("POST",n,$a(o,r))}put(n,r,o={}){return this.request("PUT",n,$a(o,r))}static{this.\u0275fac=function(r){return new(r||e)($(Ln))}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac})}}return e})(),Hw=/^\)\]\}',?\n/,zw="X-Request-URL";function Bf(e){if(e.url)return e.url;let t=zw.toLocaleLowerCase();return e.headers.get(t)}var za=(()=>{class e{constructor(){this.fetchImpl=v(Ga,{optional:!0})?.fetch??((...n)=>globalThis.fetch(...n)),this.ngZone=v(ee)}handle(n){return new S(r=>{let o=new AbortController;return this.doRequest(n,o.signal,r).then(Wa,i=>r.error(new ct({error:i}))),()=>o.abort()})}async doRequest(n,r,o){let i=this.createRequestInit(n),s;try{let f=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,pe({signal:r},i)));Gw(f),o.next({type:lt.Sent}),s=await f}catch(f){o.error(new ct({error:f,status:f.status??0,statusText:f.statusText,url:n.urlWithParams,headers:f.headers}));return}let a=new qe(s.headers),c=s.statusText,u=Bf(s)??n.urlWithParams,l=s.status,d=null;if(n.reportProgress&&o.next(new Ko({headers:a,status:l,statusText:c,url:u})),s.body){let f=s.headers.get("content-length"),p=[],g=s.body.getReader(),m=0,C,j,P=typeof Zone<"u"&&Zone.current;await this.ngZone.runOutsideAngular(async()=>{for(;;){let{done:ce,value:G}=await g.read();if(ce)break;if(p.push(G),m+=G.length,n.reportProgress){j=n.responseType==="text"?(j??"")+(C??=new TextDecoder).decode(G,{stream:!0}):void 0;let Le=()=>o.next({type:lt.DownloadProgress,total:f?+f:void 0,loaded:m,partialText:j});P?P.run(Le):Le()}}});let Y=this.concatChunks(p,m);try{let ce=s.headers.get("Content-Type")??"";d=this.parseBody(n,Y,ce)}catch(ce){o.error(new ct({error:ce,headers:new qe(s.headers),status:s.status,statusText:s.statusText,url:Bf(s)??n.urlWithParams}));return}}l===0&&(l=d?Hf:0),l>=200&&l<300?(o.next(new Bn({body:d,headers:a,status:l,statusText:c,url:u})),o.complete()):o.error(new ct({error:d,headers:a,status:l,statusText:c,url:u}))}parseBody(n,r,o){switch(n.responseType){case"json":let i=new TextDecoder().decode(r).replace(Hw,"");return i===""?null:JSON.parse(i);case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:o});case"arraybuffer":return r.buffer}}createRequestInit(n){let r={},o=n.withCredentials?"include":void 0;if(n.headers.forEach((i,s)=>r[i]=s.join(",")),n.headers.has("Accept")||(r.Accept="application/json, text/plain, */*"),!n.headers.has("Content-Type")){let i=n.detectContentTypeHeader();i!==null&&(r["Content-Type"]=i)}return{body:n.serializeBody(),method:n.method,headers:r,credentials:o}}concatChunks(n,r){let o=new Uint8Array(r),i=0;for(let s of n)o.set(s,i),i+=s.length;return o}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac})}}return e})(),Ga=class{};function Wa(){}function Gw(e){e.then(Wa,Wa)}function Ww(e,t){return t(e)}function qw(e,t,n){return(r,o)=>al(n,()=>t(r,i=>e(i,o)))}var qa=new N(""),Zw=new N(""),Yw=new N("",{providedIn:"root",factory:()=>!0});var $f=(()=>{class e extends Ln{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=v(St),this.contributeToStability=v(Yw)}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(qa),...this.injector.get(Zw,[])]));this.chain=r.reduceRight((o,i)=>qw(o,i,this.injector),Ww)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(sr(()=>this.pendingTasks.remove(r)))}else return this.chain(n,r=>this.backend.handle(r))}static{this.\u0275fac=function(r){return new(r||e)($(jn),$(Pe))}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac})}}return e})();var Qw=/^\)\]\}',?\n/;function Jw(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}var Uf=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new b(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?Ne(r.\u0275loadImpl()):ir(null)).pipe(cr(()=>new S(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((g,m)=>s.setRequestHeader(g,m.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let g=n.detectContentTypeHeader();g!==null&&s.setRequestHeader("Content-Type",g)}if(n.responseType){let g=n.responseType.toLowerCase();s.responseType=g!=="json"?g:"text"}let a=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let g=s.statusText||"OK",m=new qe(s.getAllResponseHeaders()),C=Jw(s)||n.url;return c=new Ko({headers:m,status:s.status,statusText:g,url:C}),c},l=()=>{let{headers:g,status:m,statusText:C,url:j}=u(),P=null;m!==$w&&(P=typeof s.response>"u"?s.responseText:s.response),m===0&&(m=P?Hf:0);let Y=m>=200&&m<300;if(n.responseType==="json"&&typeof P=="string"){let ce=P;P=P.replace(Qw,"");try{P=P!==""?JSON.parse(P):null}catch(G){P=ce,Y&&(Y=!1,P={error:G,text:P})}}Y?(i.next(new Bn({body:P,headers:g,status:m,statusText:C,url:j||void 0})),i.complete()):i.error(new ct({error:P,headers:g,status:m,statusText:C,url:j||void 0}))},d=g=>{let{url:m}=u(),C=new ct({error:g,status:s.status||0,statusText:s.statusText||"Unknown Error",url:m||void 0});i.error(C)},h=!1,f=g=>{h||(i.next(u()),h=!0);let m={type:lt.DownloadProgress,loaded:g.loaded};g.lengthComputable&&(m.total=g.total),n.responseType==="text"&&s.responseText&&(m.partialText=s.responseText),i.next(m)},p=g=>{let m={type:lt.UploadProgress,loaded:g.loaded};g.lengthComputable&&(m.total=g.total),i.next(m)};return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",f),a!==null&&s.upload&&s.upload.addEventListener("progress",p)),s.send(a),i.next({type:lt.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",d),n.reportProgress&&(s.removeEventListener("progress",f),a!==null&&s.upload&&s.upload.removeEventListener("progress",p)),s.readyState!==s.DONE&&s.abort()}})))}static{this.\u0275fac=function(r){return new(r||e)($(Zo))}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac})}}return e})(),zf=new N(""),Kw="XSRF-TOKEN",Xw=new N("",{providedIn:"root",factory:()=>Kw}),eI="X-XSRF-TOKEN",tI=new N("",{providedIn:"root",factory:()=>eI}),Xo=class{},nI=(()=>{class e{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Ff(n,this.cookieName),this.lastCookieString=n),this.lastToken}static{this.\u0275fac=function(r){return new(r||e)($(Yo),$(da),$(Xw))}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac})}}return e})();function rI(e,t){let n=e.url.toLowerCase();if(!v(zf)||e.method==="GET"||e.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return t(e);let r=v(Xo).getToken(),o=v(tI);return r!=null&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}var Za=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(Za||{});function Gf(e,t){return{\u0275kind:e,\u0275providers:t}}function nx(...e){let t=[Uw,Uf,$f,{provide:Ln,useExisting:$f},{provide:jn,useFactory:()=>v(za,{optional:!0})??v(Uf)},{provide:qa,useValue:rI,multi:!0},{provide:zf,useValue:!0},{provide:Xo,useClass:nI}];for(let n of e)t.push(...n.\u0275providers);return Ys(t)}function rx(e){return Gf(Za.Interceptors,e.map(t=>({provide:qa,useValue:t,multi:!0})))}function ox(){return Gf(Za.Fetch,[za,{provide:jn,useExisting:za}])}export{pe as a,Ie as b,Xf as c,oI as d,iI as e,q as f,J as g,th as h,S as i,fi as j,hi as k,Se as l,un as m,gi as n,ln as o,Ne as p,ir as q,ph as r,gh as s,gt as t,re as u,Ch as v,pt as w,di as x,ar as y,Mh as z,_h as A,mt as B,mi as C,yi as D,dn as E,hr as F,Th as G,xh as H,sr as I,Ec as J,vi as K,Ah as L,Oh as M,vc as N,cr as O,Rh as P,Di as Q,b as R,Pu as S,R as T,ku as U,f0 as V,N as W,x as X,$ as Y,v as Z,In as _,h0 as $,Qu as aa,qs as ba,Zs as ca,Ys as da,il as ea,Pe as fa,al as ga,Bp as ha,Xs as ia,p0 as ja,g0 as ka,m0 as la,y0 as ma,Mg as na,Qt as oa,To as pa,St as qa,be as ra,ee as sa,rt as ta,v0 as ua,D0 as va,At as wa,w0 as xa,I0 as ya,Hg as za,da as Aa,E0 as Ba,Ot as Ca,ha as Da,C0 as Ea,b0 as Fa,M0 as Ga,_0 as Ha,T0 as Ia,td as Ja,dm as Ka,No as La,x0 as Ma,hm as Na,N0 as Oa,Jr as Pa,S0 as Qa,Te as Ra,to as Sa,xa as Ta,Pn as Ua,P0 as Va,nv as Wa,F0 as Xa,k0 as Ya,lv as Za,mv as _a,_s as $a,yv as ab,Iv as bb,Mv as cb,Vv as db,ef as eb,Bv as fb,L0 as gb,j0 as hb,V0 as ib,B0 as jb,$0 as kb,cf as lb,uf as mb,eD as nb,lf as ob,df as pb,rD as qb,U0 as rb,dD as sb,H0 as tb,z0 as ub,G0 as vb,mD as wb,yD as xb,vD as yb,W0 as zb,q0 as Ab,Z0 as Bb,Y0 as Cb,Q0 as Db,J0 as Eb,K0 as Fb,ID as Gb,hf as Hb,ED as Ib,X0 as Jb,eT as Kb,tT as Lb,nT as Mb,rT as Nb,oT as Ob,iT as Pb,sT as Qb,aT as Rb,cT as Sb,uT as Tb,Ra as Ub,wf as Vb,Fn as Wb,lT as Xb,dT as Yb,Pa as Zb,fT as _b,YD as $b,hT as ac,QD as bc,XD as cc,pT as dc,Fa as ec,jT as fc,bf as gc,Yo as hc,Ba as ic,ow as jc,Ff as kc,VT as lc,BT as mc,$T as nc,UT as oc,Ow as pc,HT as qc,Pw as rc,Zo as sc,qe as tc,Bn as uc,Uw as vc,nx as wc,rx as xc,ox as yc};
@@ -0,0 +1 @@
1
+ import{Aa as o,T as l,Z as a,qc as s,rc as r}from"./chunk-RL2VWNJG.js";var n=class i{platformId=a(o);STORAGE_VERSION="v1";APP_NAME="duplicati";getItemParsed(t,e=!1){return r(this.platformId)?null:JSON.parse(localStorage.getItem(`${this.STORAGE_VERSION}:${e?"presist-duplicati":this.APP_NAME}:${t}`)??"null")}setItemParsed(t,e,m=!1){if(!r(this.platformId))return localStorage.setItem(`${this.STORAGE_VERSION}:${m?"presist-duplicati":this.APP_NAME}:${t}`,JSON.stringify(e))}get length(){return s(this.platformId)?localStorage.length:0}getItem(t){return r(this.platformId)?null:localStorage.getItem(`${this.STORAGE_VERSION}:${this.APP_NAME}:${t}`)??null}setItem(t,e){if(!r(this.platformId))return localStorage.setItem(`${this.STORAGE_VERSION}:${this.APP_NAME}:${t}`,e)}removeItem(t){r(this.platformId)||localStorage.removeItem(`${this.STORAGE_VERSION}:${this.APP_NAME}:${t}`)}clearAllNotCurrentVersion(){if(!r(this.platformId))for(var t in localStorage)t.startsWith(this.STORAGE_VERSION)||localStorage.removeItem(t)}clearAll(){r(this.platformId)||localStorage.clear()}clear(){if(!r(this.platformId))for(var t in localStorage)t.includes(this.APP_NAME)&&!t.includes(`presist-${this.APP_NAME}`)&&localStorage.removeItem(t)}key(t){return r(this.platformId)?null:localStorage.key(t)}static \u0275fac=function(e){return new(e||i)};static \u0275prov=l({token:i,factory:i.\u0275fac})};export{n as a};
@@ -0,0 +1 @@
1
+ import{b}from"./chunk-7PZ2UDVE.js";import{a as u}from"./chunk-GBVLF3BS.js";import{$ as s,Fb as n,Gb as l,Kb as c,Pb as m,Qa as p,Qb as d,Z as a,lb as t,mb as i,oc as f}from"./chunk-RL2VWNJG.js";var r=class o{#e=a(u);licenses=b(this.#e.getApiV1Licenses());static \u0275fac=function(e){return new(e||o)};static \u0275cmp=s({type:o,selectors:[["app-libraries"]],standalone:!0,features:[c],decls:5,vars:3,template:function(e,C){e&1&&(t(0,"h3"),n(1,"Libraries"),i(),t(2,"pre"),n(3),m(4,"json"),i()),e&2&&(p(3),l(d(4,1,C.licenses())))},dependencies:[f],styles:["[_nghost-%COMP%]{display:block}h3[_ngcontent-%COMP%]{font:var(--title-30)}"],changeDetection:0})};export{r as default};
@@ -0,0 +1 @@
1
+ import{a as N}from"./chunk-QTQWYR6H.js";import{a as M}from"./chunk-VF6HT3GY.js";import{k as V}from"./chunk-LT6J7X37.js";import{a as O,b as L}from"./chunk-GBVLF3BS.js";import{$ as _,Fb as m,I as v,Ib as b,Kb as A,O as I,Pb as E,Qa as l,Qb as R,T as C,Wa as i,Z as r,a as k,ac as d,b as h,bb as T,ca as x,cc as P,db as u,hb as w,lb as o,mb as p,nb as c,q as B,tb as S,u as D}from"./chunk-RL2VWNJG.js";var f=class s{#t=r(N);transform(e,...t){return this.#t(e).fromNow()}static \u0275fac=function(t){return new(t||s)};static \u0275pipe=x({name:"appRelativeTime",type:s,pure:!0,standalone:!0})};var g=class s{#t=1e3;#d=r(L);#o=r(O);#s=r(M);#n=i(!1);#i=i(!1);#p=i(this.#t);#u=i(null);#r=i(!1);#e=i(!1);#a=i(null);#f=i(!1);statusData=this.#u.asReadonly();serverState=d(()=>{let e=this.#a();return e?(e.ProposedSchedule=e?.ProposedSchedule?.map(t=>{let a=t.Item1?this.#s.getBackupById(t.Item1):null;return h(k({},t),{backup:a})}),e):null});isFetching=this.#i.asReadonly();#l=null;#g=P(()=>{let e=this.#n(),t=this.#p();if(!e||!t||t<this.#t){this.#l&&window.clearInterval(this.#l);return}this.#l=window.setInterval(()=>{this.#m()},t)});start(){this.#r.set(!0),this.#c()}stop(){this.#r.set(!1)}startPollingProgress(){this.#m(),this.#n.set(!0)}stopPollingProgress(){this.#n.set(!1)}setPollingInterval(e){if(e<this.#t){console.error(`Polling interval must be at least ${this.#t}ms`);return}this.#p.set(e)}serverStateEffect=P(()=>{if(this.#f()){this.stopPollingProgress();return}!this.#e()&&this.#r()?setTimeout(()=>{this.startPollingProgress(),this.#c()},1e3):this.stopPollingProgress()},{allowSignalWrites:!0});#c(){if(this.#e())return;this.#e.set(!0);let e=this.#a()?.LastEventID,t=e==null?{}:{lastEventId:e,longpoll:!0,duration:"299s"};this.#o.getApiV1Serverstate(t).pipe(v(()=>this.#e.set(!1))).subscribe({next:a=>{this.#a()?.LastDataUpdateID!==a.LastDataUpdateID&&this.#s.getBackups(),this.#a.set(a)}})}#m(){this.#i.set(!0),this.#d.getApiV1Progressstate().pipe(I(e=>{let t=e.TaskID??null;return t===null?B(e):this.#o.getApiV1TaskByTaskid({taskid:t}).pipe(D(a=>h(k({},e),{task:a??null})))}),v(()=>this.#i.set(!1))).subscribe({next:e=>{let t=e.TaskID??null,a=e.BackupID??null;if(t!==null&&a!==null){let n=this.#s.getBackupById(a);e.backup=n}this.#u.set(e)}})}static \u0275fac=function(t){return new(t||s)};static \u0275prov=C({token:s,factory:s.\u0275fac,providedIn:"root"})};function G(s,e){if(s&1&&(o(0,"div",2),m(1),p(),c(2,"spk-progress-bar",3)),s&2){let t,a,n=S();l(),b("",(t=n.statusData())==null||t.task==null?null:t.task.Status," - ",(t=n.statusData())==null||t.backup==null||t.backup.Backup==null?null:t.backup.Backup.Name,""),l(),u("value",(a=n.statusData())!=null&&a.OverallProgress?((a=n.statusData())==null?null:a.OverallProgress)*100:3)}}function F(s,e){if(s&1&&(o(0,"div",2),m(1),E(2,"appRelativeTime"),p(),c(3,"spk-progress-bar",4)),s&2){let t,a=S();l(),b("",(t=a.nextBackup().backup)==null||t.Backup==null?null:t.Backup.Name," - ",R(2,3,a.nextBackup().time),""),l(2),u("value",3)}}function J(s,e){s&1&&(o(0,"div",2),m(1,"No scheduled tasks"),p(),c(2,"spk-progress-bar",4)),s&2&&(l(2),u("value",3))}function U(s,e){s&1&&(o(0,"div",2),m(1,"Loading..."),p(),c(2,"spk-progress-bar",4)),s&2&&(l(2),u("value",3))}var y=class s{#t=r(g);statusData=this.#t.statusData;serverState=this.#t.serverState;nextBackup=d(()=>({backup:this.serverState()?.ProposedSchedule?.[0]?.backup,time:this.serverState()?.ProposedSchedule?.[0]?.Item2}));ngOnInit(){this.#t.start()}ngOnDestroy(){this.#t.stop()}static \u0275fac=function(t){return new(t||s)};static \u0275cmp=_({type:s,selectors:[["app-status-bar"]],standalone:!0,features:[A],decls:6,vars:1,consts:[[1,"current-backup"],[1,"current-backup-progress"],[1,"label"],[1,"raised","primary",3,"value"],[1,"raised",3,"value"]],template:function(t,a){if(t&1&&(o(0,"div",0)(1,"div",1),T(2,G,3,3)(3,F,4,5)(4,J,3,1)(5,U,3,1),p()()),t&2){let n;l(2),w(!((n=a.statusData())==null||n.task==null)&&n.task.Status&&((n=a.statusData())==null||n.task==null?null:n.task.Status)!=="Completed"?2:a.nextBackup()?3:!a.statusData()||((n=a.statusData())==null||n.task==null?null:n.task.Status)==="Completed"?4:5)}},dependencies:[V,f],styles:["[_nghost-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:1rem;border-bottom:1px solid var(--base-level-40)}.current-backup[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem}.current-backup-progress[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem;min-width:18.75rem}.current-backup-actions[_ngcontent-%COMP%]{display:flex;gap:.5rem}"],changeDetection:0})};export{y as a};
@@ -0,0 +1 @@
1
+ import{a as j}from"./chunk-S2YPSAFD.js";import{a as A}from"./chunk-QTQWYR6H.js";import{a as z}from"./chunk-VF6HT3GY.js";import{a as L,d as N,e as $,g as V}from"./chunk-LT6J7X37.js";import{d as I}from"./chunk-JRXXG6O7.js";import"./chunk-BOT7P6RM.js";import"./chunk-GBVLF3BS.js";import{$ as h,Fb as n,Hb as u,Kb as F,Lb as b,Mb as T,Pb as M,Qa as p,Qb as w,Rb as D,Z as _,bb as s,ca as v,db as k,hb as m,ib as P,ja as f,jb as y,ka as g,kb as O,lb as a,mb as o,nb as x,nc as H,rb as E,sb as B,tb as c}from"./chunk-RL2VWNJG.js";var C=class t{#t=_(A);transform(l,...e){if(!l)return"";let i=l.split(".")[0],r=parseInt(i.split(":")[0])??0,d=parseInt(i.split(":")[1])??0,R=parseInt(i.split(":")[2])??0;return this.#t.duration({hours:r,minutes:d,seconds:R}).humanize()}static \u0275fac=function(e){return new(e||t)};static \u0275pipe=v({name:"durationFormat",type:t,pure:!0,standalone:!0})};var Y=()=>["/add-backup"],q=()=>["/restore"],G=t=>["/backup",t];function K(t,l){if(t&1&&(n(0),M(1,"durationFormat")),t&2){let e=c().$implicit;u(" - (took ",w(1,1,e.Backup==null||e.Backup.Metadata==null?null:e.Backup.Metadata.LastBackupDuration),") ")}}function Q(t,l){t&1&&n(0," N/A ")}function U(t,l){if(t&1&&n(0),t&2){let e=c().$implicit;u(" ",e.Backup==null||e.Backup.Metadata==null?null:e.Backup.Metadata.SourceSizeString," ")}}function W(t,l){t&1&&n(0," N/A ")}function X(t,l){if(t&1&&n(0),t&2){let e=c().$implicit;u(" ",e.Backup==null||e.Backup.Metadata==null?null:e.Backup.Metadata.TargetSizeString," ")}}function Z(t,l){t&1&&n(0," N/A ")}function tt(t,l){if(t&1&&(a(0,"spk-chip",8),n(1),o()),t&2){let e=c().$implicit;p(),u("",e.Backup==null||e.Backup.Metadata==null?null:e.Backup.Metadata.BackupListCount," Version")}}function et(t,l){t&1&&(a(0,"spk-chip",9),n(1,"No version yet"),o())}function nt(t,l){if(t&1){let e=E();a(0,"div",7)(1,"div",2)(2,"h3"),n(3),a(4,"spk-icon"),n(5,"database"),o()(),a(6,"p")(7,"span"),n(8,"Last successful backup:"),o(),n(9),M(10,"date"),s(11,K,2,3)(12,Q,1,0),o(),a(13,"p")(14,"span"),n(15,"Source:"),o(),s(16,U,1,1)(17,W,1,0),o(),a(18,"p")(19,"span"),n(20,"Destination:"),o(),s(21,X,1,1)(22,Z,1,0),o()(),s(23,tt,2,1,"spk-chip",8)(24,et,2,0,"spk-chip",9),a(25,"div",10)(26,"button",11),B("click",function(){let r=f(e).$implicit,d=c(2);return g(d.startBackup(r.Backup==null?null:r.Backup.ID))}),a(27,"spk-icon"),n(28,"play-circle"),o(),n(29," Start "),o(),a(30,"button",12)(31,"spk-icon"),n(32,"pencil-circle"),o(),n(33," Edit "),o(),a(34,"button",11),B("click",function(){let r=f(e).$implicit,d=c(2);return g(d.deleteBackup(r.Backup==null?null:r.Backup.ID))}),a(35,"spk-icon"),n(36,"x-circle"),o(),n(37," Delete "),o()()()}if(t&2){let e,i=l.$implicit;p(3),u(" ",(e=i.Backup==null?null:i.Backup.Name)!==null&&e!==void 0?e:"Backup name missing"," "),p(6),u(" ",D(10,7,i.Backup==null||i.Backup.Metadata==null?null:i.Backup.Metadata.LastBackupDate,"short")," "),p(2),m(!(i.Backup==null||i.Backup.Metadata==null)&&i.Backup.Metadata.LastBackupDuration?11:12),p(5),m(!(i.Backup==null||i.Backup.Metadata==null)&&i.Backup.Metadata.SourceSizeString?16:17),p(5),m(!(i.Backup==null||i.Backup.Metadata==null)&&i.Backup.Metadata.TargetSizeString?21:22),p(2),m(!(i.Backup==null||i.Backup.Metadata==null)&&i.Backup.Metadata.BackupListCount?23:24),p(7),k("routerLink",T(10,G,i.Backup==null?null:i.Backup.ID))}}function it(t,l){if(t&1&&y(0,nt,38,12,"div",7,P),t&2){let e=c();O(e.backups())}}function at(t,l){t&1&&n(0," No backups founds ")}var S=class t{#t=_(z);backups=this.#t.backups;backupsLoading=this.#t.backupsLoading;ngOnInit(){this.#t.getBackups(!0)}startBackup(l){this.#t.startBackup(l)}deleteBackup(l){l&&this.#t.deleteBackup(l)}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=h({type:t,selectors:[["app-home"]],standalone:!0,features:[F],decls:31,vars:5,consts:[[1,"type-a",3,"routerLink"],["src","/assets/images/backup.png","alt","","width","48px"],[1,"text"],["spk-button",""],["src","/assets/images/restore.png","alt","","width","48px"],[1,"content"],[1,"backups"],[1,"backup"],[1,"simple","success"],[1,"simple"],[1,"actions"],["spk-button","",3,"click"],["spk-button","",3,"routerLink"]],template:function(e,i){e&1&&(x(0,"app-status-bar"),a(1,"section")(2,"header")(3,"spk-card",0),x(4,"img",1),a(5,"div",2)(6,"h3"),n(7,"Backups"),o(),a(8,"p"),n(9,"Backups are stored in the cloud and can be restored at any time."),o()(),a(10,"button",3),n(11," Add "),a(12,"spk-icon"),n(13,"plus"),o()()(),a(14,"spk-card",0),x(15,"img",4),a(16,"div",2)(17,"h3"),n(18,"Restores"),o(),a(19,"p"),n(20,"Restores are stored in the cloud and can be restored at any time."),o()(),a(21,"button",3),n(22," Start "),a(23,"spk-icon"),n(24,"arrow-right"),o()()()(),a(25,"div",5)(26,"h2"),n(27,"My backups"),o(),a(28,"div",6),s(29,it,2,0)(30,at,1,0),o()()()),e&2&&(p(3),k("routerLink",b(3,Y)),p(11),k("routerLink",b(4,q)),p(15),m(i.backups().length?29:30))},dependencies:[I,j,$,N,L,V,H,C],styles:["[_nghost-%COMP%]{display:block}section[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:2rem;padding:2rem 0}header[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;padding:0 2rem;gap:1rem}spk-card[_ngcontent-%COMP%]{display:flex;align-items:center;gap:1rem}spk-card[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{flex:1 0;display:flex;flex-direction:column;gap:.25rem}.content[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:0 2rem;gap:1rem}.backups[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem}.backup[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:2rem;gap:1rem;border:1px solid var(--base-level-40);border-radius:var(--shape-3);box-shadow:var(--shadow-1)}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem;width:100%;max-width:40%}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] spk-icon[_ngcontent-%COMP%]{color:var(--base-level-60)}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font:var(--paragraph-30);color:var(--base-level-60)}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] p[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--base-level-70)}.actions[_ngcontent-%COMP%]{display:flex;gap:.5rem}"],changeDetection:0})};export{S as default};
@@ -0,0 +1 @@
1
+ import{a,b,c}from"./chunk-GY2VPOAT.js";import"./chunk-LD5EWOQM.js";import"./chunk-7PZ2UDVE.js";import"./chunk-IOM7KF2W.js";import"./chunk-63RKHEAK.js";import"./chunk-LT6J7X37.js";import"./chunk-JRXXG6O7.js";import"./chunk-BOT7P6RM.js";import"./chunk-GBVLF3BS.js";import"./chunk-RL2VWNJG.js";export{a as createDestinationForm,b as createDestinationFormGroup,c as default};
@@ -0,0 +1 @@
1
+ import{a as y}from"./chunk-S2YPSAFD.js";import"./chunk-QTQWYR6H.js";import"./chunk-VF6HT3GY.js";import{n as d}from"./chunk-GY2VPOAT.js";import"./chunk-LD5EWOQM.js";import"./chunk-7PZ2UDVE.js";import"./chunk-IOM7KF2W.js";import"./chunk-63RKHEAK.js";import{l as g,p as h}from"./chunk-LT6J7X37.js";import{a as v,b as C,d as f,e as S}from"./chunk-JRXXG6O7.js";import"./chunk-BOT7P6RM.js";import"./chunk-GBVLF3BS.js";import{$ as l,Fb as r,Jb as k,Kb as b,Mb as p,Qa as a,Z as s,db as o,lb as n,mb as i,nb as t}from"./chunk-RL2VWNJG.js";var I=e=>["/backup",e,"general"],L=e=>["/backup",e,"destination"],F=e=>["/backup",e,"source-data"],_=e=>["/backup",e,"schedule"],D=e=>["/backup",e,"options"],m=class e{#t=s(v);#e=s(d);backupId=this.#e.backupId;ngOnInit(){this.#e.init(this.#t.snapshot.params.id)}static \u0275fac=function(u){return new(u||e)};static \u0275cmp=l({type:e,selectors:[["app-create-edit-backup"]],standalone:!0,features:[k([d]),b],decls:19,vars:15,consts:[["spk-step","","routerLinkActive","active",3,"routerLink"]],template:function(u,c){u&1&&(t(0,"app-status-bar"),n(1,"spk-stepper")(2,"div",0),t(3,"spk-radio"),r(4," General "),i(),n(5,"div",0),t(6,"spk-radio"),r(7," Destination "),i(),n(8,"div",0),t(9,"spk-radio"),r(10," Source Data "),i(),n(11,"div",0),t(12,"spk-radio"),r(13," Schedule "),i(),n(14,"div",0),t(15,"spk-radio"),r(16," Options "),i()(),n(17,"section"),t(18,"router-outlet"),i()),u&2&&(a(2),o("routerLink",p(5,I,c.backupId())),a(3),o("routerLink",p(7,L,c.backupId())),a(3),o("routerLink",p(9,F,c.backupId())),a(3),o("routerLink",p(11,_,c.backupId())),a(3),o("routerLink",p(13,D,c.backupId())))},dependencies:[C,f,S,y,g,h],styles:["[_nghost-%COMP%]{display:block}spk-stepper[_ngcontent-%COMP%]{max-width:31.25rem;margin:2.5rem auto}section[_ngcontent-%COMP%]{max-width:31.25rem;margin:0 auto 2.5rem}"],changeDetection:0})};export{m as default};
@@ -0,0 +1 @@
1
+ import{a as u}from"./chunk-GBVLF3BS.js";import{F as r,I as a,T as p,Wa as i,Z as c}from"./chunk-RL2VWNJG.js";var n=class s{#e=c(u);#t=null;backups=i([]);backupsLoading=i(!1);getBackupById(e){return this.backups().find(t=>t.Backup?.ID===e)??null}getBackups(e=!1){this.#t&&Date.now()-this.#t<100||(this.#t=Date.now(),this.backupsLoading.set(!0),this.#e.getApiV1Backups().pipe(r(1),a(()=>this.backupsLoading.set(!1))).subscribe({next:t=>{this.backups.set(t)},error:t=>{console.error(t)}}))}startBackup(e){this.#e.postApiV1BackupByIdStart({id:e}).subscribe({next:()=>{this.getBackups()}})}deleteBackup(e){this.#e.deleteApiV1BackupById({id:e}).subscribe({next:()=>{this.getBackups()}})}static \u0275fac=function(t){return new(t||s)};static \u0275prov=p({token:s,factory:s.\u0275fac,providedIn:"root"})};export{n as a};